- commit
- 1c77f0c7423d9b3faccd41e035b584568c230376
- parent
- a8900878a918226c0e254f77bf9480482be278c4
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2020-09-10 09:50
build
Diffstat
| M | babel.js | 40808 | ++++++++++++++++++++++++++++++++++++++++--------------------- |
| M | fuzz.js | 129 | ++++++++++++++++++++++++++++++++++--------------------------- |
2 files changed, 26647 insertions, 14290 deletions
diff --git a/babel.js b/babel.js
@@ -4690,6 +4690,7 @@ axs.properties.getNativelySupportedAttributes = function(element) {
4690 4690 },{}],7:[function(require,module,exports){
4691 4691 var query = require('./lib/query.js');
4692 4692 var name = require('./lib/name.js');
-1 4693 var atree = require('./lib/atree.js');
4693 4694
4694 4695 module.exports = {
4695 4696 getRole: query.getRole,
@@ -4701,9 +4702,12 @@ module.exports = {
4701 4702 querySelector: query.querySelector,
4702 4703 querySelectorAll: query.querySelectorAll,
4703 4704 closest: query.closest,
-1 4705
-1 4706 getParentNode: atree.getParentNode,
-1 4707 getChildNodes: atree.getChildNodes,
4704 4708 };
4705 4709
4706 -1 },{"./lib/name.js":11,"./lib/query.js":12}],8:[function(require,module,exports){
-1 4710 },{"./lib/atree.js":8,"./lib/name.js":11,"./lib/query.js":12}],8:[function(require,module,exports){
4707 4711 var attrs = require('./attrs');
4708 4712
4709 4713 var _getOwner = function(node) {
@@ -4805,21 +4809,21 @@ var getRole = function(el, candidates) {
4805 4809 }
4806 4810 for (var role in constants.roles) {
4807 4811 var selector = (constants.roles[role].selectors || []).join(',');
4808 -1 if (selector && (!candidates || candidates.indexOf(role) !== -1) && el.matches(selector)) {
-1 4812 if (selector && (!candidates || candidates.includes(role)) && el.matches(selector)) {
4809 4813 return role;
4810 4814 }
4811 4815 }
4812 4816
4813 4817 if (!candidates ||
4814 -1 candidates.indexOf('banner') !== -1 ||
4815 -1 candidates.indexOf('contentinfo') !== -1) {
4816 -1 var scoped = el.matches(constants.scoped);
4817 -1
4818 -1 if (el.matches('header') && !scoped) {
4819 -1 return 'banner';
4820 -1 }
4821 -1 if (el.matches('footer') && !scoped) {
4822 -1 return 'contentinfo';
-1 4818 candidates.includes('banner') ||
-1 4819 candidates.includes('contentinfo')) {
-1 4820 if (!el.matches(constants.scoped)) {
-1 4821 if (el.matches('header')) {
-1 4822 return 'banner';
-1 4823 }
-1 4824 if (el.matches('footer')) {
-1 4825 return 'contentinfo';
-1 4826 }
4823 4827 }
4824 4828 }
4825 4829 };
@@ -4828,8 +4832,8 @@ var hasRole = function(el, roles) {
4828 4832 var candidates = [].concat.apply([], roles.map(function(role) {
4829 4833 return (constants.roles[role] || {}).subRoles || [role];
4830 4834 }));
4831 -1 actual = getRole(el, candidates);
4832 -1 return candidates.indexOf(actual) !== -1;
-1 4835 var actual = getRole(el, candidates);
-1 4836 return candidates.includes(actual);
4833 4837 };
4834 4838
4835 4839 var getAttribute = function(el, key) {
@@ -4863,7 +4867,7 @@ var getAttribute = function(el, key) {
4863 4867 } else if (type === 'id-list') {
4864 4868 return raw.split(/\s+/);
4865 4869 } else if (type === 'integer') {
4866 -1 return parseInt(raw);
-1 4870 return parseInt(raw, 10);
4867 4871 } else if (type === 'number') {
4868 4872 return parseFloat(raw);
4869 4873 } else if (type === 'token-list') {
@@ -4889,10 +4893,12 @@ var getAttribute = function(el, key) {
4889 4893 return el[constants.attributeWeakMapping[key]];
4890 4894 }
4891 4895
4892 -1 var role = getRole(el);
4893 -1 var defaults = (constants.roles[role] || {}).defaults;
4894 -1 if (defaults && defaults.hasOwnProperty(key)) {
4895 -1 return defaults[key];
-1 4896 if (key in constants.attrsWithDefaults) {
-1 4897 var role = getRole(el);
-1 4898 var defaults = (constants.roles[role] || {}).defaults;
-1 4899 if (defaults && defaults.hasOwnProperty(key)) {
-1 4900 return defaults[key];
-1 4901 }
4896 4902 }
4897 4903
4898 4904 if (type === 'bool' || type === 'tristate') {
@@ -5428,7 +5434,7 @@ var getSubRoles = function(role) {
5428 5434
5429 5435 descendents.forEach(function(list) {
5430 5436 list.forEach(function(r) {
5431 -1 if (result.indexOf(r) === -1) {
-1 5437 if (!result.includes(r)) {
5432 5438 result.push(r);
5433 5439 }
5434 5440 });
@@ -5437,8 +5443,15 @@ var getSubRoles = function(role) {
5437 5443 return result;
5438 5444 };
5439 5445
-1 5446 exports.attrsWithDefaults = [];
-1 5447
5440 5448 for (var role in exports.roles) {
5441 5449 exports.roles[role].subRoles = getSubRoles(role);
-1 5450 for (var key in exports.roles[role].defaults) {
-1 5451 if (!exports.attrsWithDefaults.includes(key)) {
-1 5452 exports.attrsWithDefaults.push(key);
-1 5453 }
-1 5454 }
5442 5455 }
5443 5456 exports.roles['none'] = exports.roles['none'] || {};
5444 5457 exports.roles['none'].subRoles = ['none', 'presentation'];
@@ -5525,26 +5538,9 @@ var isLabelable = function(el) {
5525 5538 return el.matches(selector);
5526 5539 };
5527 5540
5528 -1 // Control.labels is part of the standard, but not supported in most browsers
5529 -1 var getLabelNodes = function(element) {
5530 -1 var labels = [];
5531 -1 var labelable = constants.labelable.join(',');
5532 -1 document.querySelectorAll('label').forEach(function(node) {
5533 -1 if (node.getAttribute('for')) {
5534 -1 if (element.id && node.getAttribute('for') === element.id) {
5535 -1 labels.push(node);
5536 -1 }
5537 -1 } else if (node.querySelector(labelable) === element) {
5538 -1 labels.push(node);
5539 -1 }
5540 -1 });
5541 -1 return labels;
5542 -1 };
5543 -1
5544 5541 var isInLabelForOtherWidget = function(el) {
5545 5542 var label = el.parentElement.closest('label');
5546 -1 var ownLabels = getLabelNodes(el);
5547 -1 return label && ownLabels.indexOf(label) === -1;
-1 5543 return label && !Array.prototype.includes.call(el.labels, label);
5548 5544 };
5549 5545
5550 5546 var getName = function(el, recursive, visited, directReference) {
@@ -5580,7 +5576,7 @@ var getName = function(el, recursive, visited, directReference) {
5580 5576
5581 5577 // D
5582 5578 if (!ret.trim() && !recursive && isLabelable(el)) {
5583 -1 var strings = getLabelNodes(el).map(function(label) {
-1 5579 var strings = Array.prototype.map.call(el.labels, function(label) {
5584 5580 return getName(label, true, visited);
5585 5581 });
5586 5582 ret = strings.join(' ');
@@ -5700,7 +5696,7 @@ var matches = function(el, selector) {
5700 5696 var match = /\[([a-z]+)="(.*)"\]/.exec(selector);
5701 5697 actual = attrs.getAttribute(el, match[1]);
5702 5698 var rawValue = match[2];
5703 -1 return actual.toString() == rawValue;
-1 5699 return actual.toString() === rawValue;
5704 5700 } else {
5705 5701 return attrs.hasRole(el, selector.split(','));
5706 5702 }
@@ -5709,17 +5705,23 @@ var matches = function(el, selector) {
5709 5705 var _querySelector = function(all) {
5710 5706 return function(root, role) {
5711 5707 var results = [];
5712 -1 atree.walk(root, function(node) {
5713 -1 if (node.nodeType === node.ELEMENT_NODE) {
5714 -1 // FIXME: skip hidden elements
5715 -1 if (matches(node, role)) {
5716 -1 results.push(node);
5717 -1 if (!all) {
5718 -1 return false;
-1 5708 try {
-1 5709 atree.walk(root, function(node) {
-1 5710 if (node.nodeType === node.ELEMENT_NODE) {
-1 5711 // FIXME: skip hidden elements
-1 5712 if (matches(node, role)) {
-1 5713 results.push(node);
-1 5714 if (!all) {
-1 5715 throw 'StopIteration';
-1 5716 }
5719 5717 }
5720 5718 }
-1 5719 });
-1 5720 } catch (e) {
-1 5721 if (e !== 'StopIteration') {
-1 5722 throw e;
5721 5723 }
5722 -1 });
-1 5724 }
5723 5725 return all ? results : results[0];
5724 5726 };
5725 5727 };
@@ -5744,8 +5746,8 @@ module.exports = {
5744 5746 };
5745 5747
5746 5748 },{"./atree.js":8,"./attrs.js":9}],13:[function(require,module,exports){
5747 -1 /*! aXe v3.2.2
5748 -1 * Copyright (c) 2019 Deque Systems, Inc.
-1 5749 /*! axe v4.0.2
-1 5750 * Copyright (c) 2020 Deque Systems, Inc.
5749 5751 *
5750 5752 * Your use of this Source Code Form is subject to the terms of the Mozilla Public
5751 5753 * License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -5759,13 +5761,21 @@ module.exports = {
5759 5761 var global = window;
5760 5762 var document = window.document;
5761 5763 'use strict';
5762 -1 var _typeof = typeof Symbol === 'function' && typeof Symbol.iterator === 'symbol' ? function(obj) {
5763 -1 return typeof obj;
5764 -1 } : function(obj) {
5765 -1 return obj && typeof Symbol === 'function' && obj.constructor === Symbol && obj !== Symbol.prototype ? 'symbol' : typeof obj;
5766 -1 };
-1 5764 function _typeof(obj) {
-1 5765 '@babel/helpers - typeof';
-1 5766 if (typeof Symbol === 'function' && typeof Symbol.iterator === 'symbol') {
-1 5767 _typeof = function _typeof(obj) {
-1 5768 return typeof obj;
-1 5769 };
-1 5770 } else {
-1 5771 _typeof = function _typeof(obj) {
-1 5772 return obj && typeof Symbol === 'function' && obj.constructor === Symbol && obj !== Symbol.prototype ? 'symbol' : typeof obj;
-1 5773 };
-1 5774 }
-1 5775 return _typeof(obj);
-1 5776 }
5767 5777 var axe = axe || {};
5768 -1 axe.version = '3.2.2';
-1 5778 axe.version = '4.0.2';
5769 5779 if (typeof define === 'function' && define.amd) {
5770 5780 define('axe-core', [], function() {
5771 5781 'use strict';
@@ -5783,15263 +5793,27597 @@ module.exports = {
5783 5793 function SupportError(error) {
5784 5794 this.name = 'SupportError';
5785 5795 this.cause = error.cause;
5786 -1 this.message = '`' + error.cause + '` - feature unsupported in your environment.';
-1 5796 this.message = '`'.concat(error.cause, '` - feature unsupported in your environment.');
5787 5797 if (error.ruleId) {
5788 5798 this.ruleId = error.ruleId;
5789 -1 this.message += ' Skipping ' + this.ruleId + ' rule.';
-1 5799 this.message += ' Skipping '.concat(this.ruleId, ' rule.');
5790 5800 }
5791 5801 this.stack = new Error().stack;
5792 5802 }
5793 5803 SupportError.prototype = Object.create(Error.prototype);
5794 5804 SupportError.prototype.constructor = SupportError;
5795 -1 (function() {
5796 -1 function r(e, n, t) {
5797 -1 function o(i, f) {
5798 -1 if (!n[i]) {
5799 -1 if (!e[i]) {
5800 -1 var c = 'function' == typeof require && require;
5801 -1 if (!f && c) {
5802 -1 return c(i, !0);
5803 -1 }
5804 -1 if (u) {
5805 -1 return u(i, !0);
5806 -1 }
5807 -1 var a = new Error('Cannot find module \'' + i + '\'');
5808 -1 throw a.code = 'MODULE_NOT_FOUND', a;
5809 -1 }
5810 -1 var p = n[i] = {
5811 -1 exports: {}
5812 -1 };
5813 -1 e[i][0].call(p.exports, function(r) {
5814 -1 var n = e[i][1][r];
5815 -1 return o(n || r);
5816 -1 }, p, p.exports, r, e, n, t);
5817 -1 }
5818 -1 return n[i].exports;
5819 -1 }
5820 -1 for (var u = 'function' == typeof require && require, i = 0; i < t.length; i++) {
5821 -1 o(t[i]);
-1 5805 'use strict';
-1 5806 function _defineProperty(obj, key, value) {
-1 5807 if (key in obj) {
-1 5808 Object.defineProperty(obj, key, {
-1 5809 value: value,
-1 5810 enumerable: true,
-1 5811 configurable: true,
-1 5812 writable: true
-1 5813 });
-1 5814 } else {
-1 5815 obj[key] = value;
-1 5816 }
-1 5817 return obj;
-1 5818 }
-1 5819 function _inherits(subClass, superClass) {
-1 5820 if (typeof superClass !== 'function' && superClass !== null) {
-1 5821 throw new TypeError('Super expression must either be null or a function');
-1 5822 }
-1 5823 subClass.prototype = Object.create(superClass && superClass.prototype, {
-1 5824 constructor: {
-1 5825 value: subClass,
-1 5826 writable: true,
-1 5827 configurable: true
5822 5828 }
5823 -1 return o;
-1 5829 });
-1 5830 if (superClass) {
-1 5831 _setPrototypeOf(subClass, superClass);
5824 5832 }
5825 -1 return r;
5826 -1 })()({
5827 -1 1: [ function(_dereq_, module, exports) {
5828 -1 _dereq_('es6-promise').polyfill();
5829 -1 axe.imports = {
5830 -1 axios: _dereq_('axios'),
5831 -1 CssSelectorParser: _dereq_('css-selector-parser').CssSelectorParser,
5832 -1 doT: _dereq_('dot'),
5833 -1 emojiRegexText: _dereq_('emoji-regex')
5834 -1 };
5835 -1 }, {
5836 -1 axios: 2,
5837 -1 'css-selector-parser': 27,
5838 -1 dot: 29,
5839 -1 'emoji-regex': 30,
5840 -1 'es6-promise': 31
5841 -1 } ],
5842 -1 2: [ function(_dereq_, module, exports) {
5843 -1 module.exports = _dereq_('./lib/axios');
5844 -1 }, {
5845 -1 './lib/axios': 4
5846 -1 } ],
5847 -1 3: [ function(_dereq_, module, exports) {
5848 -1 (function(process) {
5849 -1 'use strict';
5850 -1 var utils = _dereq_('./../utils');
5851 -1 var settle = _dereq_('./../core/settle');
5852 -1 var buildURL = _dereq_('./../helpers/buildURL');
5853 -1 var parseHeaders = _dereq_('./../helpers/parseHeaders');
5854 -1 var isURLSameOrigin = _dereq_('./../helpers/isURLSameOrigin');
5855 -1 var createError = _dereq_('../core/createError');
5856 -1 var btoa = typeof window !== 'undefined' && window.btoa && window.btoa.bind(window) || _dereq_('./../helpers/btoa');
5857 -1 module.exports = function xhrAdapter(config) {
5858 -1 return new Promise(function dispatchXhrRequest(resolve, reject) {
5859 -1 var requestData = config.data;
5860 -1 var requestHeaders = config.headers;
5861 -1 if (utils.isFormData(requestData)) {
5862 -1 delete requestHeaders['Content-Type'];
5863 -1 }
5864 -1 var request = new XMLHttpRequest();
5865 -1 var loadEvent = 'onreadystatechange';
5866 -1 var xDomain = false;
5867 -1 if (process.env.NODE_ENV !== 'test' && typeof window !== 'undefined' && window.XDomainRequest && !('withCredentials' in request) && !isURLSameOrigin(config.url)) {
5868 -1 request = new window.XDomainRequest();
5869 -1 loadEvent = 'onload';
5870 -1 xDomain = true;
5871 -1 request.onprogress = function handleProgress() {};
5872 -1 request.ontimeout = function handleTimeout() {};
5873 -1 }
5874 -1 if (config.auth) {
5875 -1 var username = config.auth.username || '';
5876 -1 var password = config.auth.password || '';
5877 -1 requestHeaders.Authorization = 'Basic ' + btoa(username + ':' + password);
5878 -1 }
5879 -1 request.open(config.method.toUpperCase(), buildURL(config.url, config.params, config.paramsSerializer), true);
5880 -1 request.timeout = config.timeout;
5881 -1 request[loadEvent] = function handleLoad() {
5882 -1 if (!request || request.readyState !== 4 && !xDomain) {
5883 -1 return;
5884 -1 }
5885 -1 if (request.status === 0 && !(request.responseURL && request.responseURL.indexOf('file:') === 0)) {
5886 -1 return;
5887 -1 }
5888 -1 var responseHeaders = 'getAllResponseHeaders' in request ? parseHeaders(request.getAllResponseHeaders()) : null;
5889 -1 var responseData = !config.responseType || config.responseType === 'text' ? request.responseText : request.response;
5890 -1 var response = {
5891 -1 data: responseData,
5892 -1 status: request.status === 1223 ? 204 : request.status,
5893 -1 statusText: request.status === 1223 ? 'No Content' : request.statusText,
5894 -1 headers: responseHeaders,
5895 -1 config: config,
5896 -1 request: request
5897 -1 };
5898 -1 settle(resolve, reject, response);
5899 -1 request = null;
5900 -1 };
5901 -1 request.onerror = function handleError() {
5902 -1 reject(createError('Network Error', config, null, request));
5903 -1 request = null;
5904 -1 };
5905 -1 request.ontimeout = function handleTimeout() {
5906 -1 reject(createError('timeout of ' + config.timeout + 'ms exceeded', config, 'ECONNABORTED', request));
5907 -1 request = null;
5908 -1 };
5909 -1 if (utils.isStandardBrowserEnv()) {
5910 -1 var cookies = _dereq_('./../helpers/cookies');
5911 -1 var xsrfValue = (config.withCredentials || isURLSameOrigin(config.url)) && config.xsrfCookieName ? cookies.read(config.xsrfCookieName) : undefined;
5912 -1 if (xsrfValue) {
5913 -1 requestHeaders[config.xsrfHeaderName] = xsrfValue;
5914 -1 }
5915 -1 }
5916 -1 if ('setRequestHeader' in request) {
5917 -1 utils.forEach(requestHeaders, function setRequestHeader(val, key) {
5918 -1 if (typeof requestData === 'undefined' && key.toLowerCase() === 'content-type') {
5919 -1 delete requestHeaders[key];
5920 -1 } else {
5921 -1 request.setRequestHeader(key, val);
5922 -1 }
5923 -1 });
5924 -1 }
5925 -1 if (config.withCredentials) {
5926 -1 request.withCredentials = true;
5927 -1 }
5928 -1 if (config.responseType) {
5929 -1 try {
5930 -1 request.responseType = config.responseType;
5931 -1 } catch (e) {
5932 -1 if (config.responseType !== 'json') {
5933 -1 throw e;
5934 -1 }
5935 -1 }
5936 -1 }
5937 -1 if (typeof config.onDownloadProgress === 'function') {
5938 -1 request.addEventListener('progress', config.onDownloadProgress);
5939 -1 }
5940 -1 if (typeof config.onUploadProgress === 'function' && request.upload) {
5941 -1 request.upload.addEventListener('progress', config.onUploadProgress);
5942 -1 }
5943 -1 if (config.cancelToken) {
5944 -1 config.cancelToken.promise.then(function onCanceled(cancel) {
5945 -1 if (!request) {
5946 -1 return;
5947 -1 }
5948 -1 request.abort();
5949 -1 reject(cancel);
5950 -1 request = null;
5951 -1 });
5952 -1 }
5953 -1 if (requestData === undefined) {
5954 -1 requestData = null;
5955 -1 }
5956 -1 request.send(requestData);
5957 -1 });
5958 -1 };
5959 -1 }).call(this, _dereq_('_process'));
5960 -1 }, {
5961 -1 '../core/createError': 10,
5962 -1 './../core/settle': 13,
5963 -1 './../helpers/btoa': 17,
5964 -1 './../helpers/buildURL': 18,
5965 -1 './../helpers/cookies': 20,
5966 -1 './../helpers/isURLSameOrigin': 22,
5967 -1 './../helpers/parseHeaders': 24,
5968 -1 './../utils': 26,
5969 -1 _process: 33
5970 -1 } ],
5971 -1 4: [ function(_dereq_, module, exports) {
5972 -1 'use strict';
5973 -1 var utils = _dereq_('./utils');
5974 -1 var bind = _dereq_('./helpers/bind');
5975 -1 var Axios = _dereq_('./core/Axios');
5976 -1 var defaults = _dereq_('./defaults');
5977 -1 function createInstance(defaultConfig) {
5978 -1 var context = new Axios(defaultConfig);
5979 -1 var instance = bind(Axios.prototype.request, context);
5980 -1 utils.extend(instance, Axios.prototype, context);
5981 -1 utils.extend(instance, context);
5982 -1 return instance;
-1 5833 }
-1 5834 function _setPrototypeOf(o, p) {
-1 5835 _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
-1 5836 o.__proto__ = p;
-1 5837 return o;
-1 5838 };
-1 5839 return _setPrototypeOf(o, p);
-1 5840 }
-1 5841 function _createSuper(Derived) {
-1 5842 var hasNativeReflectConstruct = _isNativeReflectConstruct();
-1 5843 return function _createSuperInternal() {
-1 5844 var Super = _getPrototypeOf(Derived), result;
-1 5845 if (hasNativeReflectConstruct) {
-1 5846 var NewTarget = _getPrototypeOf(this).constructor;
-1 5847 result = Reflect.construct(Super, arguments, NewTarget);
-1 5848 } else {
-1 5849 result = Super.apply(this, arguments);
5983 5850 }
5984 -1 var axios = createInstance(defaults);
5985 -1 axios.Axios = Axios;
5986 -1 axios.create = function create(instanceConfig) {
5987 -1 return createInstance(utils.merge(defaults, instanceConfig));
5988 -1 };
5989 -1 axios.Cancel = _dereq_('./cancel/Cancel');
5990 -1 axios.CancelToken = _dereq_('./cancel/CancelToken');
5991 -1 axios.isCancel = _dereq_('./cancel/isCancel');
5992 -1 axios.all = function all(promises) {
5993 -1 return Promise.all(promises);
5994 -1 };
5995 -1 axios.spread = _dereq_('./helpers/spread');
5996 -1 module.exports = axios;
5997 -1 module.exports.default = axios;
5998 -1 }, {
5999 -1 './cancel/Cancel': 5,
6000 -1 './cancel/CancelToken': 6,
6001 -1 './cancel/isCancel': 7,
6002 -1 './core/Axios': 8,
6003 -1 './defaults': 15,
6004 -1 './helpers/bind': 16,
6005 -1 './helpers/spread': 25,
6006 -1 './utils': 26
6007 -1 } ],
6008 -1 5: [ function(_dereq_, module, exports) {
6009 -1 'use strict';
6010 -1 function Cancel(message) {
6011 -1 this.message = message;
-1 5851 return _possibleConstructorReturn(this, result);
-1 5852 };
-1 5853 }
-1 5854 function _possibleConstructorReturn(self, call) {
-1 5855 if (call && (_typeof(call) === 'object' || typeof call === 'function')) {
-1 5856 return call;
-1 5857 }
-1 5858 return _assertThisInitialized(self);
-1 5859 }
-1 5860 function _assertThisInitialized(self) {
-1 5861 if (self === void 0) {
-1 5862 throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');
-1 5863 }
-1 5864 return self;
-1 5865 }
-1 5866 function _isNativeReflectConstruct() {
-1 5867 if (typeof Reflect === 'undefined' || !Reflect.construct) {
-1 5868 return false;
-1 5869 }
-1 5870 if (Reflect.construct.sham) {
-1 5871 return false;
-1 5872 }
-1 5873 if (typeof Proxy === 'function') {
-1 5874 return true;
-1 5875 }
-1 5876 try {
-1 5877 Date.prototype.toString.call(Reflect.construct(Date, [], function() {}));
-1 5878 return true;
-1 5879 } catch (e) {
-1 5880 return false;
-1 5881 }
-1 5882 }
-1 5883 function _getPrototypeOf(o) {
-1 5884 _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
-1 5885 return o.__proto__ || Object.getPrototypeOf(o);
-1 5886 };
-1 5887 return _getPrototypeOf(o);
-1 5888 }
-1 5889 function _classCallCheck(instance, Constructor) {
-1 5890 if (!(instance instanceof Constructor)) {
-1 5891 throw new TypeError('Cannot call a class as a function');
-1 5892 }
-1 5893 }
-1 5894 function _defineProperties(target, props) {
-1 5895 for (var i = 0; i < props.length; i++) {
-1 5896 var descriptor = props[i];
-1 5897 descriptor.enumerable = descriptor.enumerable || false;
-1 5898 descriptor.configurable = true;
-1 5899 if ('value' in descriptor) {
-1 5900 descriptor.writable = true;
6012 5901 }
6013 -1 Cancel.prototype.toString = function toString() {
6014 -1 return 'Cancel' + (this.message ? ': ' + this.message : '');
6015 -1 };
6016 -1 Cancel.prototype.__CANCEL__ = true;
6017 -1 module.exports = Cancel;
6018 -1 }, {} ],
6019 -1 6: [ function(_dereq_, module, exports) {
6020 -1 'use strict';
6021 -1 var Cancel = _dereq_('./Cancel');
6022 -1 function CancelToken(executor) {
6023 -1 if (typeof executor !== 'function') {
6024 -1 throw new TypeError('executor must be a function.');
-1 5902 Object.defineProperty(target, descriptor.key, descriptor);
-1 5903 }
-1 5904 }
-1 5905 function _createClass(Constructor, protoProps, staticProps) {
-1 5906 if (protoProps) {
-1 5907 _defineProperties(Constructor.prototype, protoProps);
-1 5908 }
-1 5909 if (staticProps) {
-1 5910 _defineProperties(Constructor, staticProps);
-1 5911 }
-1 5912 return Constructor;
-1 5913 }
-1 5914 function _objectWithoutProperties(source, excluded) {
-1 5915 if (source == null) {
-1 5916 return {};
-1 5917 }
-1 5918 var target = _objectWithoutPropertiesLoose(source, excluded);
-1 5919 var key, i;
-1 5920 if (Object.getOwnPropertySymbols) {
-1 5921 var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
-1 5922 for (i = 0; i < sourceSymbolKeys.length; i++) {
-1 5923 key = sourceSymbolKeys[i];
-1 5924 if (excluded.indexOf(key) >= 0) {
-1 5925 continue;
6025 5926 }
6026 -1 var resolvePromise;
6027 -1 this.promise = new Promise(function promiseExecutor(resolve) {
6028 -1 resolvePromise = resolve;
6029 -1 });
6030 -1 var token = this;
6031 -1 executor(function cancel(message) {
6032 -1 if (token.reason) {
6033 -1 return;
-1 5927 if (!Object.prototype.propertyIsEnumerable.call(source, key)) {
-1 5928 continue;
-1 5929 }
-1 5930 target[key] = source[key];
-1 5931 }
-1 5932 }
-1 5933 return target;
-1 5934 }
-1 5935 function _objectWithoutPropertiesLoose(source, excluded) {
-1 5936 if (source == null) {
-1 5937 return {};
-1 5938 }
-1 5939 var target = {};
-1 5940 var sourceKeys = Object.keys(source);
-1 5941 var key, i;
-1 5942 for (i = 0; i < sourceKeys.length; i++) {
-1 5943 key = sourceKeys[i];
-1 5944 if (excluded.indexOf(key) >= 0) {
-1 5945 continue;
-1 5946 }
-1 5947 target[key] = source[key];
-1 5948 }
-1 5949 return target;
-1 5950 }
-1 5951 function _extends() {
-1 5952 _extends = Object.assign || function(target) {
-1 5953 for (var i = 1; i < arguments.length; i++) {
-1 5954 var source = arguments[i];
-1 5955 for (var key in source) {
-1 5956 if (Object.prototype.hasOwnProperty.call(source, key)) {
-1 5957 target[key] = source[key];
6034 5958 }
6035 -1 token.reason = new Cancel(message);
6036 -1 resolvePromise(token.reason);
6037 -1 });
-1 5959 }
6038 5960 }
6039 -1 CancelToken.prototype.throwIfRequested = function throwIfRequested() {
6040 -1 if (this.reason) {
6041 -1 throw this.reason;
-1 5961 return target;
-1 5962 };
-1 5963 return _extends.apply(this, arguments);
-1 5964 }
-1 5965 function _slicedToArray(arr, i) {
-1 5966 return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
-1 5967 }
-1 5968 function _nonIterableRest() {
-1 5969 throw new TypeError('Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.');
-1 5970 }
-1 5971 function _iterableToArrayLimit(arr, i) {
-1 5972 if (typeof Symbol === 'undefined' || !(Symbol.iterator in Object(arr))) {
-1 5973 return;
-1 5974 }
-1 5975 var _arr = [];
-1 5976 var _n = true;
-1 5977 var _d = false;
-1 5978 var _e = undefined;
-1 5979 try {
-1 5980 for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {
-1 5981 _arr.push(_s.value);
-1 5982 if (i && _arr.length === i) {
-1 5983 break;
-1 5984 }
-1 5985 }
-1 5986 } catch (err) {
-1 5987 _d = true;
-1 5988 _e = err;
-1 5989 } finally {
-1 5990 try {
-1 5991 if (!_n && _i['return'] != null) {
-1 5992 _i['return']();
-1 5993 }
-1 5994 } finally {
-1 5995 if (_d) {
-1 5996 throw _e;
6042 5997 }
-1 5998 }
-1 5999 }
-1 6000 return _arr;
-1 6001 }
-1 6002 function _arrayWithHoles(arr) {
-1 6003 if (Array.isArray(arr)) {
-1 6004 return arr;
-1 6005 }
-1 6006 }
-1 6007 function _toConsumableArray(arr) {
-1 6008 return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
-1 6009 }
-1 6010 function _nonIterableSpread() {
-1 6011 throw new TypeError('Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.');
-1 6012 }
-1 6013 function _unsupportedIterableToArray(o, minLen) {
-1 6014 if (!o) {
-1 6015 return;
-1 6016 }
-1 6017 if (typeof o === 'string') {
-1 6018 return _arrayLikeToArray(o, minLen);
-1 6019 }
-1 6020 var n = Object.prototype.toString.call(o).slice(8, -1);
-1 6021 if (n === 'Object' && o.constructor) {
-1 6022 n = o.constructor.name;
-1 6023 }
-1 6024 if (n === 'Map' || n === 'Set') {
-1 6025 return Array.from(o);
-1 6026 }
-1 6027 if (n === 'Arguments' || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) {
-1 6028 return _arrayLikeToArray(o, minLen);
-1 6029 }
-1 6030 }
-1 6031 function _iterableToArray(iter) {
-1 6032 if (typeof Symbol !== 'undefined' && Symbol.iterator in Object(iter)) {
-1 6033 return Array.from(iter);
-1 6034 }
-1 6035 }
-1 6036 function _arrayWithoutHoles(arr) {
-1 6037 if (Array.isArray(arr)) {
-1 6038 return _arrayLikeToArray(arr);
-1 6039 }
-1 6040 }
-1 6041 function _arrayLikeToArray(arr, len) {
-1 6042 if (len == null || len > arr.length) {
-1 6043 len = arr.length;
-1 6044 }
-1 6045 for (var i = 0, arr2 = new Array(len); i < len; i++) {
-1 6046 arr2[i] = arr[i];
-1 6047 }
-1 6048 return arr2;
-1 6049 }
-1 6050 function _typeof(obj) {
-1 6051 '@babel/helpers - typeof';
-1 6052 if (typeof Symbol === 'function' && typeof Symbol.iterator === 'symbol') {
-1 6053 _typeof = function _typeof(obj) {
-1 6054 return typeof obj;
6043 6055 };
6044 -1 CancelToken.source = function source() {
6045 -1 var cancel;
6046 -1 var token = new CancelToken(function executor(c) {
6047 -1 cancel = c;
6048 -1 });
6049 -1 return {
6050 -1 token: token,
6051 -1 cancel: cancel
6052 -1 };
-1 6056 } else {
-1 6057 _typeof = function _typeof(obj) {
-1 6058 return obj && typeof Symbol === 'function' && obj.constructor === Symbol && obj !== Symbol.prototype ? 'symbol' : typeof obj;
6053 6059 };
6054 -1 module.exports = CancelToken;
6055 -1 }, {
6056 -1 './Cancel': 5
6057 -1 } ],
6058 -1 7: [ function(_dereq_, module, exports) {
6059 -1 'use strict';
6060 -1 module.exports = function isCancel(value) {
6061 -1 return !!(value && value.__CANCEL__);
-1 6060 }
-1 6061 return _typeof(obj);
-1 6062 }
-1 6063 (function(modules) {
-1 6064 var installedModules = {};
-1 6065 function __webpack_require__(moduleId) {
-1 6066 if (installedModules[moduleId]) {
-1 6067 return installedModules[moduleId].exports;
-1 6068 }
-1 6069 var module = installedModules[moduleId] = {
-1 6070 i: moduleId,
-1 6071 l: false,
-1 6072 exports: {}
6062 6073 };
6063 -1 }, {} ],
6064 -1 8: [ function(_dereq_, module, exports) {
6065 -1 'use strict';
6066 -1 var defaults = _dereq_('./../defaults');
6067 -1 var utils = _dereq_('./../utils');
6068 -1 var InterceptorManager = _dereq_('./InterceptorManager');
6069 -1 var dispatchRequest = _dereq_('./dispatchRequest');
6070 -1 function Axios(instanceConfig) {
6071 -1 this.defaults = instanceConfig;
6072 -1 this.interceptors = {
6073 -1 request: new InterceptorManager(),
6074 -1 response: new InterceptorManager()
6075 -1 };
6076 -1 }
6077 -1 Axios.prototype.request = function request(config) {
6078 -1 if (typeof config === 'string') {
6079 -1 config = utils.merge({
6080 -1 url: arguments[0]
6081 -1 }, arguments[1]);
6082 -1 }
6083 -1 config = utils.merge(defaults, {
6084 -1 method: 'get'
6085 -1 }, this.defaults, config);
6086 -1 config.method = config.method.toLowerCase();
6087 -1 var chain = [ dispatchRequest, undefined ];
6088 -1 var promise = Promise.resolve(config);
6089 -1 this.interceptors.request.forEach(function unshiftRequestInterceptors(interceptor) {
6090 -1 chain.unshift(interceptor.fulfilled, interceptor.rejected);
-1 6074 modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
-1 6075 module.l = true;
-1 6076 return module.exports;
-1 6077 }
-1 6078 __webpack_require__.m = modules;
-1 6079 __webpack_require__.c = installedModules;
-1 6080 __webpack_require__.d = function(exports, name, getter) {
-1 6081 if (!__webpack_require__.o(exports, name)) {
-1 6082 Object.defineProperty(exports, name, {
-1 6083 enumerable: true,
-1 6084 get: getter
6091 6085 });
6092 -1 this.interceptors.response.forEach(function pushResponseInterceptors(interceptor) {
6093 -1 chain.push(interceptor.fulfilled, interceptor.rejected);
-1 6086 }
-1 6087 };
-1 6088 __webpack_require__.r = function(exports) {
-1 6089 if (typeof Symbol !== 'undefined' && Symbol.toStringTag) {
-1 6090 Object.defineProperty(exports, Symbol.toStringTag, {
-1 6091 value: 'Module'
6094 6092 });
6095 -1 while (chain.length) {
6096 -1 promise = promise.then(chain.shift(), chain.shift());
-1 6093 }
-1 6094 Object.defineProperty(exports, '__esModule', {
-1 6095 value: true
-1 6096 });
-1 6097 };
-1 6098 __webpack_require__.t = function(value, mode) {
-1 6099 if (mode & 1) {
-1 6100 value = __webpack_require__(value);
-1 6101 }
-1 6102 if (mode & 8) {
-1 6103 return value;
-1 6104 }
-1 6105 if (mode & 4 && _typeof(value) === 'object' && value && value.__esModule) {
-1 6106 return value;
-1 6107 }
-1 6108 var ns = Object.create(null);
-1 6109 __webpack_require__.r(ns);
-1 6110 Object.defineProperty(ns, 'default', {
-1 6111 enumerable: true,
-1 6112 value: value
-1 6113 });
-1 6114 if (mode & 2 && typeof value != 'string') {
-1 6115 for (var key in value) {
-1 6116 __webpack_require__.d(ns, key, function(key) {
-1 6117 return value[key];
-1 6118 }.bind(null, key));
6097 6119 }
6098 -1 return promise;
-1 6120 }
-1 6121 return ns;
-1 6122 };
-1 6123 __webpack_require__.n = function(module) {
-1 6124 var getter = module && module.__esModule ? function getDefault() {
-1 6125 return module['default'];
-1 6126 } : function getModuleExports() {
-1 6127 return module;
6099 6128 };
6100 -1 utils.forEach([ 'delete', 'get', 'head', 'options' ], function forEachMethodNoData(method) {
6101 -1 Axios.prototype[method] = function(url, config) {
6102 -1 return this.request(utils.merge(config || {}, {
6103 -1 method: method,
6104 -1 url: url
6105 -1 }));
6106 -1 };
6107 -1 });
6108 -1 utils.forEach([ 'post', 'put', 'patch' ], function forEachMethodWithData(method) {
6109 -1 Axios.prototype[method] = function(url, data, config) {
6110 -1 return this.request(utils.merge(config || {}, {
6111 -1 method: method,
6112 -1 url: url,
6113 -1 data: data
6114 -1 }));
6115 -1 };
6116 -1 });
6117 -1 module.exports = Axios;
6118 -1 }, {
6119 -1 './../defaults': 15,
6120 -1 './../utils': 26,
6121 -1 './InterceptorManager': 9,
6122 -1 './dispatchRequest': 11
6123 -1 } ],
6124 -1 9: [ function(_dereq_, module, exports) {
-1 6129 __webpack_require__.d(getter, 'a', getter);
-1 6130 return getter;
-1 6131 };
-1 6132 __webpack_require__.o = function(object, property) {
-1 6133 return Object.prototype.hasOwnProperty.call(object, property);
-1 6134 };
-1 6135 __webpack_require__.p = '';
-1 6136 return __webpack_require__(__webpack_require__.s = './lib/core/core.js');
-1 6137 })({
-1 6138 './lib/checks/aria/abstractrole-evaluate.js': function libChecksAriaAbstractroleEvaluateJs(module, __webpack_exports__, __webpack_require__) {
6125 6139 'use strict';
6126 -1 var utils = _dereq_('./../utils');
6127 -1 function InterceptorManager() {
6128 -1 this.handlers = [];
6129 -1 }
6130 -1 InterceptorManager.prototype.use = function use(fulfilled, rejected) {
6131 -1 this.handlers.push({
6132 -1 fulfilled: fulfilled,
6133 -1 rejected: rejected
6134 -1 });
6135 -1 return this.handlers.length - 1;
6136 -1 };
6137 -1 InterceptorManager.prototype.eject = function eject(id) {
6138 -1 if (this.handlers[id]) {
6139 -1 this.handlers[id] = null;
6140 -1 }
6141 -1 };
6142 -1 InterceptorManager.prototype.forEach = function forEach(fn) {
6143 -1 utils.forEach(this.handlers, function forEachHandler(h) {
6144 -1 if (h !== null) {
6145 -1 fn(h);
6146 -1 }
-1 6140 __webpack_require__.r(__webpack_exports__);
-1 6141 var _core_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/core/utils/index.js');
-1 6142 var _commons_aria__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/commons/aria/index.js');
-1 6143 function abstractroleEvaluate(node, options, virtualNode) {
-1 6144 var abstractRoles = Object(_core_utils__WEBPACK_IMPORTED_MODULE_0__['tokenList'])(virtualNode.attr('role')).filter(function(role) {
-1 6145 return Object(_commons_aria__WEBPACK_IMPORTED_MODULE_1__['getRoleType'])(role) === 'abstract';
6147 6146 });
6148 -1 };
6149 -1 module.exports = InterceptorManager;
6150 -1 }, {
6151 -1 './../utils': 26
6152 -1 } ],
6153 -1 10: [ function(_dereq_, module, exports) {
6154 -1 'use strict';
6155 -1 var enhanceError = _dereq_('./enhanceError');
6156 -1 module.exports = function createError(message, config, code, request, response) {
6157 -1 var error = new Error(message);
6158 -1 return enhanceError(error, config, code, request, response);
6159 -1 };
6160 -1 }, {
6161 -1 './enhanceError': 12
6162 -1 } ],
6163 -1 11: [ function(_dereq_, module, exports) {
6164 -1 'use strict';
6165 -1 var utils = _dereq_('./../utils');
6166 -1 var transformData = _dereq_('./transformData');
6167 -1 var isCancel = _dereq_('../cancel/isCancel');
6168 -1 var defaults = _dereq_('../defaults');
6169 -1 var isAbsoluteURL = _dereq_('./../helpers/isAbsoluteURL');
6170 -1 var combineURLs = _dereq_('./../helpers/combineURLs');
6171 -1 function throwIfCancellationRequested(config) {
6172 -1 if (config.cancelToken) {
6173 -1 config.cancelToken.throwIfRequested();
-1 6147 if (abstractRoles.length > 0) {
-1 6148 this.data(abstractRoles);
-1 6149 return true;
6174 6150 }
-1 6151 return false;
6175 6152 }
6176 -1 module.exports = function dispatchRequest(config) {
6177 -1 throwIfCancellationRequested(config);
6178 -1 if (config.baseURL && !isAbsoluteURL(config.url)) {
6179 -1 config.url = combineURLs(config.baseURL, config.url);
-1 6153 __webpack_exports__['default'] = abstractroleEvaluate;
-1 6154 },
-1 6155 './lib/checks/aria/aria-allowed-attr-evaluate.js': function libChecksAriaAriaAllowedAttrEvaluateJs(module, __webpack_exports__, __webpack_require__) {
-1 6156 'use strict';
-1 6157 __webpack_require__.r(__webpack_exports__);
-1 6158 var _core_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/core/utils/index.js');
-1 6159 var _commons_aria__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/commons/aria/index.js');
-1 6160 function ariaAllowedAttrEvaluate(node, options) {
-1 6161 var invalid = [];
-1 6162 var role = Object(_commons_aria__WEBPACK_IMPORTED_MODULE_1__['getRole'])(node);
-1 6163 var attrs = Object(_core_utils__WEBPACK_IMPORTED_MODULE_0__['getNodeAttributes'])(node);
-1 6164 var allowed = Object(_commons_aria__WEBPACK_IMPORTED_MODULE_1__['allowedAttr'])(role);
-1 6165 if (Array.isArray(options[role])) {
-1 6166 allowed = Object(_core_utils__WEBPACK_IMPORTED_MODULE_0__['uniqueArray'])(options[role].concat(allowed));
6180 6167 }
6181 -1 config.headers = config.headers || {};
6182 -1 config.data = transformData(config.data, config.headers, config.transformRequest);
6183 -1 config.headers = utils.merge(config.headers.common || {}, config.headers[config.method] || {}, config.headers || {});
6184 -1 utils.forEach([ 'delete', 'get', 'head', 'post', 'put', 'patch', 'common' ], function cleanHeaderConfig(method) {
6185 -1 delete config.headers[method];
6186 -1 });
6187 -1 var adapter = config.adapter || defaults.adapter;
6188 -1 return adapter(config).then(function onAdapterResolution(response) {
6189 -1 throwIfCancellationRequested(config);
6190 -1 response.data = transformData(response.data, response.headers, config.transformResponse);
6191 -1 return response;
6192 -1 }, function onAdapterRejection(reason) {
6193 -1 if (!isCancel(reason)) {
6194 -1 throwIfCancellationRequested(config);
6195 -1 if (reason && reason.response) {
6196 -1 reason.response.data = transformData(reason.response.data, reason.response.headers, config.transformResponse);
-1 6168 if (role && allowed) {
-1 6169 for (var i = 0; i < attrs.length; i++) {
-1 6170 var attr = attrs[i];
-1 6171 var attrName = attr.name;
-1 6172 if (Object(_commons_aria__WEBPACK_IMPORTED_MODULE_1__['validateAttr'])(attrName) && !allowed.includes(attrName)) {
-1 6173 invalid.push(attrName + '="' + attr.nodeValue + '"');
6197 6174 }
6198 6175 }
6199 -1 return Promise.reject(reason);
6200 -1 });
6201 -1 };
6202 -1 }, {
6203 -1 '../cancel/isCancel': 7,
6204 -1 '../defaults': 15,
6205 -1 './../helpers/combineURLs': 19,
6206 -1 './../helpers/isAbsoluteURL': 21,
6207 -1 './../utils': 26,
6208 -1 './transformData': 14
6209 -1 } ],
6210 -1 12: [ function(_dereq_, module, exports) {
6211 -1 'use strict';
6212 -1 module.exports = function enhanceError(error, config, code, request, response) {
6213 -1 error.config = config;
6214 -1 if (code) {
6215 -1 error.code = code;
6216 6176 }
6217 -1 error.request = request;
6218 -1 error.response = response;
6219 -1 return error;
6220 -1 };
6221 -1 }, {} ],
6222 -1 13: [ function(_dereq_, module, exports) {
6223 -1 'use strict';
6224 -1 var createError = _dereq_('./createError');
6225 -1 module.exports = function settle(resolve, reject, response) {
6226 -1 var validateStatus = response.config.validateStatus;
6227 -1 if (!response.status || !validateStatus || validateStatus(response.status)) {
6228 -1 resolve(response);
6229 -1 } else {
6230 -1 reject(createError('Request failed with status code ' + response.status, response.config, null, response.request, response));
-1 6177 if (invalid.length) {
-1 6178 this.data(invalid);
-1 6179 return false;
6231 6180 }
6232 -1 };
6233 -1 }, {
6234 -1 './createError': 10
6235 -1 } ],
6236 -1 14: [ function(_dereq_, module, exports) {
-1 6181 return true;
-1 6182 }
-1 6183 __webpack_exports__['default'] = ariaAllowedAttrEvaluate;
-1 6184 },
-1 6185 './lib/checks/aria/aria-allowed-role-evaluate.js': function libChecksAriaAriaAllowedRoleEvaluateJs(module, __webpack_exports__, __webpack_require__) {
6237 6186 'use strict';
6238 -1 var utils = _dereq_('./../utils');
6239 -1 module.exports = function transformData(data, headers, fns) {
6240 -1 utils.forEach(fns, function transform(fn) {
6241 -1 data = fn(data, headers);
6242 -1 });
6243 -1 return data;
6244 -1 };
6245 -1 }, {
6246 -1 './../utils': 26
6247 -1 } ],
6248 -1 15: [ function(_dereq_, module, exports) {
6249 -1 (function(process) {
6250 -1 'use strict';
6251 -1 var utils = _dereq_('./utils');
6252 -1 var normalizeHeaderName = _dereq_('./helpers/normalizeHeaderName');
6253 -1 var DEFAULT_CONTENT_TYPE = {
6254 -1 'Content-Type': 'application/x-www-form-urlencoded'
6255 -1 };
6256 -1 function setContentTypeIfUnset(headers, value) {
6257 -1 if (!utils.isUndefined(headers) && utils.isUndefined(headers['Content-Type'])) {
6258 -1 headers['Content-Type'] = value;
6259 -1 }
-1 6187 __webpack_require__.r(__webpack_exports__);
-1 6188 var _commons_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/dom/index.js');
-1 6189 var _commons_aria__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/commons/aria/index.js');
-1 6190 function ariaAllowedRoledEvaluate(node) {
-1 6191 var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
-1 6192 var _options$allowImplici = options.allowImplicit, allowImplicit = _options$allowImplici === void 0 ? true : _options$allowImplici, _options$ignoredTags = options.ignoredTags, ignoredTags = _options$ignoredTags === void 0 ? [] : _options$ignoredTags;
-1 6193 var tagName = node.nodeName.toUpperCase();
-1 6194 if (ignoredTags.map(function(t) {
-1 6195 return t.toUpperCase();
-1 6196 }).includes(tagName)) {
-1 6197 return true;
6260 6198 }
6261 -1 function getDefaultAdapter() {
6262 -1 var adapter;
6263 -1 if (typeof XMLHttpRequest !== 'undefined') {
6264 -1 adapter = _dereq_('./adapters/xhr');
6265 -1 } else if (typeof process !== 'undefined') {
6266 -1 adapter = _dereq_('./adapters/http');
-1 6199 var unallowedRoles = Object(_commons_aria__WEBPACK_IMPORTED_MODULE_1__['getElementUnallowedRoles'])(node, allowImplicit);
-1 6200 if (unallowedRoles.length) {
-1 6201 this.data(unallowedRoles);
-1 6202 if (!Object(_commons_dom__WEBPACK_IMPORTED_MODULE_0__['isVisible'])(node, true)) {
-1 6203 return undefined;
6267 6204 }
6268 -1 return adapter;
-1 6205 return false;
6269 6206 }
6270 -1 var defaults = {
6271 -1 adapter: getDefaultAdapter(),
6272 -1 transformRequest: [ function transformRequest(data, headers) {
6273 -1 normalizeHeaderName(headers, 'Content-Type');
6274 -1 if (utils.isFormData(data) || utils.isArrayBuffer(data) || utils.isBuffer(data) || utils.isStream(data) || utils.isFile(data) || utils.isBlob(data)) {
6275 -1 return data;
6276 -1 }
6277 -1 if (utils.isArrayBufferView(data)) {
6278 -1 return data.buffer;
6279 -1 }
6280 -1 if (utils.isURLSearchParams(data)) {
6281 -1 setContentTypeIfUnset(headers, 'application/x-www-form-urlencoded;charset=utf-8');
6282 -1 return data.toString();
6283 -1 }
6284 -1 if (utils.isObject(data)) {
6285 -1 setContentTypeIfUnset(headers, 'application/json;charset=utf-8');
6286 -1 return JSON.stringify(data);
6287 -1 }
6288 -1 return data;
6289 -1 } ],
6290 -1 transformResponse: [ function transformResponse(data) {
6291 -1 if (typeof data === 'string') {
6292 -1 try {
6293 -1 data = JSON.parse(data);
6294 -1 } catch (e) {}
6295 -1 }
6296 -1 return data;
6297 -1 } ],
6298 -1 timeout: 0,
6299 -1 xsrfCookieName: 'XSRF-TOKEN',
6300 -1 xsrfHeaderName: 'X-XSRF-TOKEN',
6301 -1 maxContentLength: -1,
6302 -1 validateStatus: function validateStatus(status) {
6303 -1 return status >= 200 && status < 300;
-1 6207 return true;
-1 6208 }
-1 6209 __webpack_exports__['default'] = ariaAllowedRoledEvaluate;
-1 6210 },
-1 6211 './lib/checks/aria/aria-errormessage-evaluate.js': function libChecksAriaAriaErrormessageEvaluateJs(module, __webpack_exports__, __webpack_require__) {
-1 6212 'use strict';
-1 6213 __webpack_require__.r(__webpack_exports__);
-1 6214 var _standards__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/standards/index.js');
-1 6215 var _commons_dom__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/commons/dom/index.js');
-1 6216 var _core_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__('./lib/core/utils/index.js');
-1 6217 function ariaErrormessageEvaluate(node, options) {
-1 6218 options = Array.isArray(options) ? options : [];
-1 6219 var attr = node.getAttribute('aria-errormessage');
-1 6220 var hasAttr = node.hasAttribute('aria-errormessage');
-1 6221 var doc = Object(_commons_dom__WEBPACK_IMPORTED_MODULE_1__['getRootNode'])(node);
-1 6222 function validateAttrValue(attr) {
-1 6223 if (attr.trim() === '') {
-1 6224 return _standards__WEBPACK_IMPORTED_MODULE_0__['default'].ariaAttrs['aria-errormessage'].allowEmpty;
6304 6225 }
6305 -1 };
6306 -1 defaults.headers = {
6307 -1 common: {
6308 -1 Accept: 'application/json, text/plain, */*'
-1 6226 var idref = attr && doc.getElementById(attr);
-1 6227 if (idref) {
-1 6228 return idref.getAttribute('role') === 'alert' || idref.getAttribute('aria-live') === 'assertive' || Object(_core_utils__WEBPACK_IMPORTED_MODULE_2__['tokenList'])(node.getAttribute('aria-describedby') || '').indexOf(attr) > -1;
6309 6229 }
6310 -1 };
6311 -1 utils.forEach([ 'delete', 'get', 'head' ], function forEachMethodNoData(method) {
6312 -1 defaults.headers[method] = {};
6313 -1 });
6314 -1 utils.forEach([ 'post', 'put', 'patch' ], function forEachMethodWithData(method) {
6315 -1 defaults.headers[method] = utils.merge(DEFAULT_CONTENT_TYPE);
6316 -1 });
6317 -1 module.exports = defaults;
6318 -1 }).call(this, _dereq_('_process'));
6319 -1 }, {
6320 -1 './adapters/http': 3,
6321 -1 './adapters/xhr': 3,
6322 -1 './helpers/normalizeHeaderName': 23,
6323 -1 './utils': 26,
6324 -1 _process: 33
6325 -1 } ],
6326 -1 16: [ function(_dereq_, module, exports) {
6327 -1 'use strict';
6328 -1 module.exports = function bind(fn, thisArg) {
6329 -1 return function wrap() {
6330 -1 var args = new Array(arguments.length);
6331 -1 for (var i = 0; i < args.length; i++) {
6332 -1 args[i] = arguments[i];
-1 6230 }
-1 6231 if (options.indexOf(attr) === -1 && hasAttr) {
-1 6232 if (!validateAttrValue(attr)) {
-1 6233 this.data(Object(_core_utils__WEBPACK_IMPORTED_MODULE_2__['tokenList'])(attr));
-1 6234 return false;
6333 6235 }
6334 -1 return fn.apply(thisArg, args);
6335 -1 };
6336 -1 };
6337 -1 }, {} ],
6338 -1 17: [ function(_dereq_, module, exports) {
-1 6236 }
-1 6237 return true;
-1 6238 }
-1 6239 __webpack_exports__['default'] = ariaErrormessageEvaluate;
-1 6240 },
-1 6241 './lib/checks/aria/aria-hidden-body-evaluate.js': function libChecksAriaAriaHiddenBodyEvaluateJs(module, __webpack_exports__, __webpack_require__) {
6339 6242 'use strict';
6340 -1 var chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';
6341 -1 function E() {
6342 -1 this.message = 'String contains an invalid character';
-1 6243 __webpack_require__.r(__webpack_exports__);
-1 6244 function ariaHiddenBodyEvaluate(node, options, virtualNode) {
-1 6245 return virtualNode.attr('aria-hidden') !== 'true';
6343 6246 }
6344 -1 E.prototype = new Error();
6345 -1 E.prototype.code = 5;
6346 -1 E.prototype.name = 'InvalidCharacterError';
6347 -1 function btoa(input) {
6348 -1 var str = String(input);
6349 -1 var output = '';
6350 -1 for (var block, charCode, idx = 0, map = chars; str.charAt(idx | 0) || (map = '=',
6351 -1 idx % 1); output += map.charAt(63 & block >> 8 - idx % 1 * 8)) {
6352 -1 charCode = str.charCodeAt(idx += 3 / 4);
6353 -1 if (charCode > 255) {
6354 -1 throw new E();
-1 6247 __webpack_exports__['default'] = ariaHiddenBodyEvaluate;
-1 6248 },
-1 6249 './lib/checks/aria/aria-required-attr-evaluate.js': function libChecksAriaAriaRequiredAttrEvaluateJs(module, __webpack_exports__, __webpack_require__) {
-1 6250 'use strict';
-1 6251 __webpack_require__.r(__webpack_exports__);
-1 6252 var _commons_aria__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/aria/index.js');
-1 6253 var _commons_standards__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/commons/standards/index.js');
-1 6254 var _core_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__('./lib/core/utils/index.js');
-1 6255 function ariaRequiredAttrEvaluate(node) {
-1 6256 var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
-1 6257 var vNode = Object(_core_utils__WEBPACK_IMPORTED_MODULE_2__['getNodeFromTree'])(node);
-1 6258 var missing = [];
-1 6259 if (node.hasAttributes()) {
-1 6260 var role = node.getAttribute('role');
-1 6261 var required = Object(_commons_aria__WEBPACK_IMPORTED_MODULE_0__['requiredAttr'])(role);
-1 6262 var elmSpec = Object(_commons_standards__WEBPACK_IMPORTED_MODULE_1__['getElementSpec'])(vNode);
-1 6263 if (Array.isArray(options[role])) {
-1 6264 required = Object(_core_utils__WEBPACK_IMPORTED_MODULE_2__['uniqueArray'])(options[role], required);
-1 6265 }
-1 6266 if (role && required) {
-1 6267 for (var i = 0, l = required.length; i < l; i++) {
-1 6268 var attr = required[i];
-1 6269 if (!node.getAttribute(attr) && !(elmSpec.implicitAttrs && typeof elmSpec.implicitAttrs[attr] !== 'undefined')) {
-1 6270 missing.push(attr);
-1 6271 }
-1 6272 }
6355 6273 }
6356 -1 block = block << 8 | charCode;
6357 6274 }
6358 -1 return output;
-1 6275 if (missing.length) {
-1 6276 this.data(missing);
-1 6277 return false;
-1 6278 }
-1 6279 return true;
6359 6280 }
6360 -1 module.exports = btoa;
6361 -1 }, {} ],
6362 -1 18: [ function(_dereq_, module, exports) {
-1 6281 __webpack_exports__['default'] = ariaRequiredAttrEvaluate;
-1 6282 },
-1 6283 './lib/checks/aria/aria-required-children-evaluate.js': function libChecksAriaAriaRequiredChildrenEvaluateJs(module, __webpack_exports__, __webpack_require__) {
6363 6284 'use strict';
6364 -1 var utils = _dereq_('./../utils');
6365 -1 function encode(val) {
6366 -1 return encodeURIComponent(val).replace(/%40/gi, '@').replace(/%3A/gi, ':').replace(/%24/g, '$').replace(/%2C/gi, ',').replace(/%20/g, '+').replace(/%5B/gi, '[').replace(/%5D/gi, ']');
6367 -1 }
6368 -1 module.exports = function buildURL(url, params, paramsSerializer) {
6369 -1 if (!params) {
6370 -1 return url;
-1 6285 __webpack_require__.r(__webpack_exports__);
-1 6286 var _commons_aria__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/aria/index.js');
-1 6287 var _commons_dom__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/commons/dom/index.js');
-1 6288 function getOwnedRoles(virtualNode) {
-1 6289 var ownedRoles = [];
-1 6290 var ownedElements = Object(_commons_aria__WEBPACK_IMPORTED_MODULE_0__['getOwnedVirtual'])(virtualNode);
-1 6291 for (var i = 0; i < ownedElements.length; i++) {
-1 6292 var ownedElement = ownedElements[i];
-1 6293 var role = Object(_commons_aria__WEBPACK_IMPORTED_MODULE_0__['getRole'])(ownedElement);
-1 6294 if ([ 'presentation', 'none', null ].includes(role)) {
-1 6295 ownedElements.push.apply(ownedElements, _toConsumableArray(ownedElement.children));
-1 6296 } else if (role) {
-1 6297 ownedRoles.push(role);
-1 6298 }
-1 6299 }
-1 6300 return ownedRoles;
-1 6301 }
-1 6302 function missingRequiredChildren(virtualNode, role, required, ownedRoles) {
-1 6303 var isCombobox = role === 'combobox';
-1 6304 if (isCombobox) {
-1 6305 var textTypeInputs = [ 'text', 'search', 'email', 'url', 'tel' ];
-1 6306 if (virtualNode.props.nodeName === 'input' && textTypeInputs.includes(virtualNode.props.type) || ownedRoles.includes('searchbox')) {
-1 6307 required = required.filter(function(requiredRole) {
-1 6308 return requiredRole !== 'textbox';
-1 6309 });
-1 6310 }
-1 6311 var expandedChildRoles = [ 'listbox', 'tree', 'grid', 'dialog' ];
-1 6312 var expandedValue = virtualNode.attr('aria-expanded');
-1 6313 var expanded = expandedValue && expandedValue.toLowerCase() !== 'false';
-1 6314 var popupRole = (virtualNode.attr('aria-haspopup') || 'listbox').toLowerCase();
-1 6315 required = required.filter(function(requiredRole) {
-1 6316 return !expandedChildRoles.includes(requiredRole) || expanded && requiredRole === popupRole;
-1 6317 });
6371 6318 }
6372 -1 var serializedParams;
6373 -1 if (paramsSerializer) {
6374 -1 serializedParams = paramsSerializer(params);
6375 -1 } else if (utils.isURLSearchParams(params)) {
6376 -1 serializedParams = params.toString();
6377 -1 } else {
6378 -1 var parts = [];
6379 -1 utils.forEach(params, function serialize(val, key) {
6380 -1 if (val === null || typeof val === 'undefined') {
6381 -1 return;
-1 6319 for (var i = 0; i < ownedRoles.length; i++) {
-1 6320 var ownedRole = ownedRoles[i];
-1 6321 if (required.includes(ownedRole)) {
-1 6322 required = required.filter(function(requiredRole) {
-1 6323 return requiredRole !== ownedRole;
-1 6324 });
-1 6325 if (!isCombobox) {
-1 6326 return null;
6382 6327 }
6383 -1 if (utils.isArray(val)) {
6384 -1 key = key + '[]';
6385 -1 } else {
6386 -1 val = [ val ];
6387 -1 }
6388 -1 utils.forEach(val, function parseValue(v) {
6389 -1 if (utils.isDate(v)) {
6390 -1 v = v.toISOString();
6391 -1 } else if (utils.isObject(v)) {
6392 -1 v = JSON.stringify(v);
6393 -1 }
6394 -1 parts.push(encode(key) + '=' + encode(v));
6395 -1 });
6396 -1 });
6397 -1 serializedParams = parts.join('&');
-1 6328 }
6398 6329 }
6399 -1 if (serializedParams) {
6400 -1 url += (url.indexOf('?') === -1 ? '?' : '&') + serializedParams;
-1 6330 if (required.length) {
-1 6331 return required;
6401 6332 }
6402 -1 return url;
6403 -1 };
6404 -1 }, {
6405 -1 './../utils': 26
6406 -1 } ],
6407 -1 19: [ function(_dereq_, module, exports) {
6408 -1 'use strict';
6409 -1 module.exports = function combineURLs(baseURL, relativeURL) {
6410 -1 return relativeURL ? baseURL.replace(/\/+$/, '') + '/' + relativeURL.replace(/^\/+/, '') : baseURL;
6411 -1 };
6412 -1 }, {} ],
6413 -1 20: [ function(_dereq_, module, exports) {
-1 6333 return null;
-1 6334 }
-1 6335 function ariaRequiredChildrenEvaluate(node, options, virtualNode) {
-1 6336 var reviewEmpty = options && Array.isArray(options.reviewEmpty) ? options.reviewEmpty : [];
-1 6337 var role = Object(_commons_aria__WEBPACK_IMPORTED_MODULE_0__['getExplicitRole'])(virtualNode, {
-1 6338 dpub: true
-1 6339 });
-1 6340 var required = Object(_commons_aria__WEBPACK_IMPORTED_MODULE_0__['requiredOwned'])(role);
-1 6341 if (!required) {
-1 6342 return true;
-1 6343 }
-1 6344 var ownedRoles = getOwnedRoles(virtualNode);
-1 6345 var missing = missingRequiredChildren(virtualNode, role, required, ownedRoles);
-1 6346 if (!missing) {
-1 6347 return true;
-1 6348 }
-1 6349 this.data(missing);
-1 6350 if (reviewEmpty.includes(role) && !Object(_commons_dom__WEBPACK_IMPORTED_MODULE_1__['hasContentVirtual'])(virtualNode, false, true) && !ownedRoles.length && (!virtualNode.hasAttr('aria-owns') || !Object(_commons_dom__WEBPACK_IMPORTED_MODULE_1__['idrefs'])(node, 'aria-owns').length)) {
-1 6351 return undefined;
-1 6352 }
-1 6353 return false;
-1 6354 }
-1 6355 __webpack_exports__['default'] = ariaRequiredChildrenEvaluate;
-1 6356 },
-1 6357 './lib/checks/aria/aria-required-parent-evaluate.js': function libChecksAriaAriaRequiredParentEvaluateJs(module, __webpack_exports__, __webpack_require__) {
6414 6358 'use strict';
6415 -1 var utils = _dereq_('./../utils');
6416 -1 module.exports = utils.isStandardBrowserEnv() ? function standardBrowserEnv() {
6417 -1 return {
6418 -1 write: function write(name, value, expires, path, domain, secure) {
6419 -1 var cookie = [];
6420 -1 cookie.push(name + '=' + encodeURIComponent(value));
6421 -1 if (utils.isNumber(expires)) {
6422 -1 cookie.push('expires=' + new Date(expires).toGMTString());
6423 -1 }
6424 -1 if (utils.isString(path)) {
6425 -1 cookie.push('path=' + path);
6426 -1 }
6427 -1 if (utils.isString(domain)) {
6428 -1 cookie.push('domain=' + domain);
6429 -1 }
6430 -1 if (secure === true) {
6431 -1 cookie.push('secure');
-1 6359 __webpack_require__.r(__webpack_exports__);
-1 6360 var _commons_aria__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/aria/index.js');
-1 6361 var _commons_dom__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/commons/dom/index.js');
-1 6362 var _core_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__('./lib/core/utils/index.js');
-1 6363 function getMissingContext(virtualNode, reqContext, includeElement) {
-1 6364 var explicitRole = Object(_commons_aria__WEBPACK_IMPORTED_MODULE_0__['getExplicitRole'])(virtualNode);
-1 6365 if (!reqContext) {
-1 6366 reqContext = Object(_commons_aria__WEBPACK_IMPORTED_MODULE_0__['requiredContext'])(explicitRole);
-1 6367 }
-1 6368 if (!reqContext) {
-1 6369 return null;
-1 6370 }
-1 6371 var vNode = includeElement ? virtualNode : virtualNode.parent;
-1 6372 while (vNode) {
-1 6373 var parentRole = Object(_commons_aria__WEBPACK_IMPORTED_MODULE_0__['getRole'])(vNode);
-1 6374 if (reqContext.includes(parentRole)) {
-1 6375 return null;
-1 6376 } else if (parentRole && ![ 'presentation', 'none' ].includes(parentRole)) {
-1 6377 return reqContext;
-1 6378 }
-1 6379 vNode = vNode.parent;
-1 6380 }
-1 6381 return reqContext;
-1 6382 }
-1 6383 function getAriaOwners(element) {
-1 6384 var owners = [], o = null;
-1 6385 while (element) {
-1 6386 if (element.getAttribute('id')) {
-1 6387 var id = Object(_core_utils__WEBPACK_IMPORTED_MODULE_2__['escapeSelector'])(element.getAttribute('id'));
-1 6388 var doc = Object(_commons_dom__WEBPACK_IMPORTED_MODULE_1__['getRootNode'])(element);
-1 6389 o = doc.querySelector('[aria-owns~='.concat(id, ']'));
-1 6390 if (o) {
-1 6391 owners.push(o);
6432 6392 }
6433 -1 document.cookie = cookie.join('; ');
6434 -1 },
6435 -1 read: function read(name) {
6436 -1 var match = document.cookie.match(new RegExp('(^|;\\s*)(' + name + ')=([^;]*)'));
6437 -1 return match ? decodeURIComponent(match[3]) : null;
6438 -1 },
6439 -1 remove: function remove(name) {
6440 -1 this.write(name, '', Date.now() - 864e5);
6441 6393 }
6442 -1 };
6443 -1 }() : function nonStandardBrowserEnv() {
6444 -1 return {
6445 -1 write: function write() {},
6446 -1 read: function read() {
6447 -1 return null;
6448 -1 },
6449 -1 remove: function remove() {}
6450 -1 };
6451 -1 }();
6452 -1 }, {
6453 -1 './../utils': 26
6454 -1 } ],
6455 -1 21: [ function(_dereq_, module, exports) {
6456 -1 'use strict';
6457 -1 module.exports = function isAbsoluteURL(url) {
6458 -1 return /^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(url);
6459 -1 };
6460 -1 }, {} ],
6461 -1 22: [ function(_dereq_, module, exports) {
6462 -1 'use strict';
6463 -1 var utils = _dereq_('./../utils');
6464 -1 module.exports = utils.isStandardBrowserEnv() ? function standardBrowserEnv() {
6465 -1 var msie = /(msie|trident)/i.test(navigator.userAgent);
6466 -1 var urlParsingNode = document.createElement('a');
6467 -1 var originURL;
6468 -1 function resolveURL(url) {
6469 -1 var href = url;
6470 -1 if (msie) {
6471 -1 urlParsingNode.setAttribute('href', href);
6472 -1 href = urlParsingNode.href;
-1 6394 element = element.parentElement;
-1 6395 }
-1 6396 return owners.length ? owners : null;
-1 6397 }
-1 6398 function ariaRequiredParentEvaluate(node, options, virtualNode) {
-1 6399 var missingParents = getMissingContext(virtualNode);
-1 6400 if (!missingParents) {
-1 6401 return true;
-1 6402 }
-1 6403 var owners = getAriaOwners(node);
-1 6404 if (owners) {
-1 6405 for (var i = 0, l = owners.length; i < l; i++) {
-1 6406 missingParents = getMissingContext(Object(_core_utils__WEBPACK_IMPORTED_MODULE_2__['getNodeFromTree'])(owners[i]), missingParents, true);
-1 6407 if (!missingParents) {
-1 6408 return true;
-1 6409 }
6473 6410 }
6474 -1 urlParsingNode.setAttribute('href', href);
6475 -1 return {
6476 -1 href: urlParsingNode.href,
6477 -1 protocol: urlParsingNode.protocol ? urlParsingNode.protocol.replace(/:$/, '') : '',
6478 -1 host: urlParsingNode.host,
6479 -1 search: urlParsingNode.search ? urlParsingNode.search.replace(/^\?/, '') : '',
6480 -1 hash: urlParsingNode.hash ? urlParsingNode.hash.replace(/^#/, '') : '',
6481 -1 hostname: urlParsingNode.hostname,
6482 -1 port: urlParsingNode.port,
6483 -1 pathname: urlParsingNode.pathname.charAt(0) === '/' ? urlParsingNode.pathname : '/' + urlParsingNode.pathname
6484 -1 };
6485 6411 }
6486 -1 originURL = resolveURL(window.location.href);
6487 -1 return function isURLSameOrigin(requestURL) {
6488 -1 var parsed = utils.isString(requestURL) ? resolveURL(requestURL) : requestURL;
6489 -1 return parsed.protocol === originURL.protocol && parsed.host === originURL.host;
6490 -1 };
6491 -1 }() : function nonStandardBrowserEnv() {
6492 -1 return function isURLSameOrigin() {
-1 6412 this.data(missingParents);
-1 6413 return false;
-1 6414 }
-1 6415 __webpack_exports__['default'] = ariaRequiredParentEvaluate;
-1 6416 },
-1 6417 './lib/checks/aria/aria-roledescription-evaluate.js': function libChecksAriaAriaRoledescriptionEvaluateJs(module, __webpack_exports__, __webpack_require__) {
-1 6418 'use strict';
-1 6419 __webpack_require__.r(__webpack_exports__);
-1 6420 var _commons_aria__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/aria/index.js');
-1 6421 function ariaRoledescriptionEvaluate(node) {
-1 6422 var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
-1 6423 var role = Object(_commons_aria__WEBPACK_IMPORTED_MODULE_0__['getRole'])(node);
-1 6424 var supportedRoles = options.supportedRoles || [];
-1 6425 if (supportedRoles.includes(role)) {
6493 6426 return true;
6494 -1 };
6495 -1 }();
6496 -1 }, {
6497 -1 './../utils': 26
6498 -1 } ],
6499 -1 23: [ function(_dereq_, module, exports) {
-1 6427 }
-1 6428 if (role && role !== 'presentation' && role !== 'none') {
-1 6429 return undefined;
-1 6430 }
-1 6431 return false;
-1 6432 }
-1 6433 __webpack_exports__['default'] = ariaRoledescriptionEvaluate;
-1 6434 },
-1 6435 './lib/checks/aria/aria-unsupported-attr-evaluate.js': function libChecksAriaAriaUnsupportedAttrEvaluateJs(module, __webpack_exports__, __webpack_require__) {
6500 6436 'use strict';
6501 -1 var utils = _dereq_('../utils');
6502 -1 module.exports = function normalizeHeaderName(headers, normalizedName) {
6503 -1 utils.forEach(headers, function processHeader(value, name) {
6504 -1 if (name !== normalizedName && name.toUpperCase() === normalizedName.toUpperCase()) {
6505 -1 headers[normalizedName] = value;
6506 -1 delete headers[name];
-1 6437 __webpack_require__.r(__webpack_exports__);
-1 6438 var _commons_aria__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/aria/index.js');
-1 6439 var _standards__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/standards/index.js');
-1 6440 var _commons_matches__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__('./lib/commons/matches/index.js');
-1 6441 var _core_utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__('./lib/core/utils/index.js');
-1 6442 function ariaUnsupportedAttrEvaluate(node) {
-1 6443 var unsupportedAttrs = Array.from(Object(_core_utils__WEBPACK_IMPORTED_MODULE_3__['getNodeAttributes'])(node)).filter(function(_ref) {
-1 6444 var name = _ref.name;
-1 6445 var attribute = _standards__WEBPACK_IMPORTED_MODULE_1__['default'].ariaAttrs[name];
-1 6446 if (!Object(_commons_aria__WEBPACK_IMPORTED_MODULE_0__['validateAttr'])(name)) {
-1 6447 return false;
6507 6448 }
-1 6449 var unsupported = attribute.unsupported;
-1 6450 if (_typeof(unsupported) !== 'object') {
-1 6451 return !!unsupported;
-1 6452 }
-1 6453 return !Object(_commons_matches__WEBPACK_IMPORTED_MODULE_2__['default'])(node, unsupported.exceptions);
-1 6454 }).map(function(candidate) {
-1 6455 return candidate.name.toString();
6508 6456 });
6509 -1 };
6510 -1 }, {
6511 -1 '../utils': 26
6512 -1 } ],
6513 -1 24: [ function(_dereq_, module, exports) {
-1 6457 if (unsupportedAttrs.length) {
-1 6458 this.data(unsupportedAttrs);
-1 6459 return true;
-1 6460 }
-1 6461 return false;
-1 6462 }
-1 6463 __webpack_exports__['default'] = ariaUnsupportedAttrEvaluate;
-1 6464 },
-1 6465 './lib/checks/aria/aria-valid-attr-evaluate.js': function libChecksAriaAriaValidAttrEvaluateJs(module, __webpack_exports__, __webpack_require__) {
6514 6466 'use strict';
6515 -1 var utils = _dereq_('./../utils');
6516 -1 var ignoreDuplicateOf = [ 'age', 'authorization', 'content-length', 'content-type', 'etag', 'expires', 'from', 'host', 'if-modified-since', 'if-unmodified-since', 'last-modified', 'location', 'max-forwards', 'proxy-authorization', 'referer', 'retry-after', 'user-agent' ];
6517 -1 module.exports = function parseHeaders(headers) {
6518 -1 var parsed = {};
6519 -1 var key;
6520 -1 var val;
6521 -1 var i;
6522 -1 if (!headers) {
6523 -1 return parsed;
-1 6467 __webpack_require__.r(__webpack_exports__);
-1 6468 var _commons_aria__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/aria/index.js');
-1 6469 var _core_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/core/utils/index.js');
-1 6470 function ariaValidAttrEvaluate(node, options) {
-1 6471 options = Array.isArray(options.value) ? options.value : [];
-1 6472 var invalid = [], aria = /^aria-/;
-1 6473 var attr, attrs = Object(_core_utils__WEBPACK_IMPORTED_MODULE_1__['getNodeAttributes'])(node);
-1 6474 for (var i = 0, l = attrs.length; i < l; i++) {
-1 6475 attr = attrs[i].name;
-1 6476 if (options.indexOf(attr) === -1 && aria.test(attr) && !Object(_commons_aria__WEBPACK_IMPORTED_MODULE_0__['validateAttr'])(attr)) {
-1 6477 invalid.push(attr);
-1 6478 }
6524 6479 }
6525 -1 utils.forEach(headers.split('\n'), function parser(line) {
6526 -1 i = line.indexOf(':');
6527 -1 key = utils.trim(line.substr(0, i)).toLowerCase();
6528 -1 val = utils.trim(line.substr(i + 1));
6529 -1 if (key) {
6530 -1 if (parsed[key] && ignoreDuplicateOf.indexOf(key) >= 0) {
6531 -1 return;
-1 6480 if (invalid.length) {
-1 6481 this.data(invalid);
-1 6482 return false;
-1 6483 }
-1 6484 return true;
-1 6485 }
-1 6486 __webpack_exports__['default'] = ariaValidAttrEvaluate;
-1 6487 },
-1 6488 './lib/checks/aria/aria-valid-attr-value-evaluate.js': function libChecksAriaAriaValidAttrValueEvaluateJs(module, __webpack_exports__, __webpack_require__) {
-1 6489 'use strict';
-1 6490 __webpack_require__.r(__webpack_exports__);
-1 6491 var _commons_aria__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/aria/index.js');
-1 6492 var _core_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/core/utils/index.js');
-1 6493 function ariaValidAttrValueEvaluate(node, options) {
-1 6494 options = Array.isArray(options.value) ? options.value : [];
-1 6495 var needsReview = '';
-1 6496 var messageKey = '';
-1 6497 var invalid = [];
-1 6498 var aria = /^aria-/;
-1 6499 var attrs = Object(_core_utils__WEBPACK_IMPORTED_MODULE_1__['getNodeAttributes'])(node);
-1 6500 var skipAttrs = [ 'aria-errormessage' ];
-1 6501 var preChecks = {
-1 6502 'aria-controls': function ariaControls() {
-1 6503 return node.getAttribute('aria-expanded') !== 'false' && node.getAttribute('aria-selected') !== 'false';
-1 6504 },
-1 6505 'aria-current': function ariaCurrent() {
-1 6506 if (!Object(_commons_aria__WEBPACK_IMPORTED_MODULE_0__['validateAttrValue'])(node, 'aria-current')) {
-1 6507 needsReview = 'aria-current="'.concat(node.getAttribute('aria-current'), '"');
-1 6508 messageKey = 'ariaCurrent';
6532 6509 }
6533 -1 if (key === 'set-cookie') {
6534 -1 parsed[key] = (parsed[key] ? parsed[key] : []).concat([ val ]);
6535 -1 } else {
6536 -1 parsed[key] = parsed[key] ? parsed[key] + ', ' + val : val;
-1 6510 return;
-1 6511 },
-1 6512 'aria-owns': function ariaOwns() {
-1 6513 return node.getAttribute('aria-expanded') !== 'false';
-1 6514 },
-1 6515 'aria-describedby': function ariaDescribedby() {
-1 6516 if (!Object(_commons_aria__WEBPACK_IMPORTED_MODULE_0__['validateAttrValue'])(node, 'aria-describedby')) {
-1 6517 needsReview = 'aria-describedby="'.concat(node.getAttribute('aria-describedby'), '"');
-1 6518 messageKey = 'noId';
6537 6519 }
-1 6520 return;
6538 6521 }
6539 -1 });
6540 -1 return parsed;
6541 -1 };
6542 -1 }, {
6543 -1 './../utils': 26
6544 -1 } ],
6545 -1 25: [ function(_dereq_, module, exports) {
6546 -1 'use strict';
6547 -1 module.exports = function spread(callback) {
6548 -1 return function wrap(arr) {
6549 -1 return callback.apply(null, arr);
6550 6522 };
6551 -1 };
6552 -1 }, {} ],
6553 -1 26: [ function(_dereq_, module, exports) {
6554 -1 'use strict';
6555 -1 var bind = _dereq_('./helpers/bind');
6556 -1 var isBuffer = _dereq_('is-buffer');
6557 -1 var toString = Object.prototype.toString;
6558 -1 function isArray(val) {
6559 -1 return toString.call(val) === '[object Array]';
-1 6523 for (var i = 0, l = attrs.length; i < l; i++) {
-1 6524 var attr = attrs[i];
-1 6525 var attrName = attr.name;
-1 6526 if (!skipAttrs.includes(attrName) && options.indexOf(attrName) === -1 && aria.test(attrName) && (preChecks[attrName] ? preChecks[attrName]() : true) && !Object(_commons_aria__WEBPACK_IMPORTED_MODULE_0__['validateAttrValue'])(node, attrName)) {
-1 6527 invalid.push(''.concat(attrName, '="').concat(attr.nodeValue, '"'));
-1 6528 }
-1 6529 }
-1 6530 if (needsReview) {
-1 6531 this.data({
-1 6532 messageKey: messageKey,
-1 6533 needsReview: needsReview
-1 6534 });
-1 6535 return undefined;
-1 6536 }
-1 6537 if (invalid.length) {
-1 6538 this.data(invalid);
-1 6539 return false;
-1 6540 }
-1 6541 return true;
6560 6542 }
6561 -1 function isArrayBuffer(val) {
6562 -1 return toString.call(val) === '[object ArrayBuffer]';
-1 6543 __webpack_exports__['default'] = ariaValidAttrValueEvaluate;
-1 6544 },
-1 6545 './lib/checks/aria/fallbackrole-evaluate.js': function libChecksAriaFallbackroleEvaluateJs(module, __webpack_exports__, __webpack_require__) {
-1 6546 'use strict';
-1 6547 __webpack_require__.r(__webpack_exports__);
-1 6548 var _core_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/core/utils/index.js');
-1 6549 function fallbackroleEvaluate(node, options, virtualNode) {
-1 6550 return Object(_core_utils__WEBPACK_IMPORTED_MODULE_0__['tokenList'])(virtualNode.attr('role')).length > 1;
6563 6551 }
6564 -1 function isFormData(val) {
6565 -1 return typeof FormData !== 'undefined' && val instanceof FormData;
-1 6552 __webpack_exports__['default'] = fallbackroleEvaluate;
-1 6553 },
-1 6554 './lib/checks/aria/has-widget-role-evaluate.js': function libChecksAriaHasWidgetRoleEvaluateJs(module, __webpack_exports__, __webpack_require__) {
-1 6555 'use strict';
-1 6556 __webpack_require__.r(__webpack_exports__);
-1 6557 var _commons_aria__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/aria/index.js');
-1 6558 function hasWidgetRoleEvaluate(node) {
-1 6559 var role = node.getAttribute('role');
-1 6560 if (role === null) {
-1 6561 return false;
-1 6562 }
-1 6563 var roleType = Object(_commons_aria__WEBPACK_IMPORTED_MODULE_0__['getRoleType'])(role);
-1 6564 return roleType === 'widget' || roleType === 'composite';
6566 6565 }
6567 -1 function isArrayBufferView(val) {
6568 -1 var result;
6569 -1 if (typeof ArrayBuffer !== 'undefined' && ArrayBuffer.isView) {
6570 -1 result = ArrayBuffer.isView(val);
6571 -1 } else {
6572 -1 result = val && val.buffer && val.buffer instanceof ArrayBuffer;
-1 6566 __webpack_exports__['default'] = hasWidgetRoleEvaluate;
-1 6567 },
-1 6568 './lib/checks/aria/invalidrole-evaluate.js': function libChecksAriaInvalidroleEvaluateJs(module, __webpack_exports__, __webpack_require__) {
-1 6569 'use strict';
-1 6570 __webpack_require__.r(__webpack_exports__);
-1 6571 var _commons_aria__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/aria/index.js');
-1 6572 var _core_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/core/utils/index.js');
-1 6573 function invalidroleEvaluate(node, options, virtualNode) {
-1 6574 var allRoles = Object(_core_utils__WEBPACK_IMPORTED_MODULE_1__['tokenList'])(virtualNode.attr('role'));
-1 6575 var allInvalid = allRoles.every(function(role) {
-1 6576 return !Object(_commons_aria__WEBPACK_IMPORTED_MODULE_0__['isValidRole'])(role, {
-1 6577 allowAbstract: true
-1 6578 });
-1 6579 });
-1 6580 if (allInvalid) {
-1 6581 this.data(allRoles);
-1 6582 return true;
6573 6583 }
6574 -1 return result;
-1 6584 return false;
6575 6585 }
6576 -1 function isString(val) {
6577 -1 return typeof val === 'string';
6578 -1 }
6579 -1 function isNumber(val) {
6580 -1 return typeof val === 'number';
6581 -1 }
6582 -1 function isUndefined(val) {
6583 -1 return typeof val === 'undefined';
6584 -1 }
6585 -1 function isObject(val) {
6586 -1 return val !== null && typeof val === 'object';
-1 6586 __webpack_exports__['default'] = invalidroleEvaluate;
-1 6587 },
-1 6588 './lib/checks/aria/no-implicit-explicit-label-evaluate.js': function libChecksAriaNoImplicitExplicitLabelEvaluateJs(module, __webpack_exports__, __webpack_require__) {
-1 6589 'use strict';
-1 6590 __webpack_require__.r(__webpack_exports__);
-1 6591 var _commons_aria__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/aria/index.js');
-1 6592 var _commons_text__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/commons/text/index.js');
-1 6593 function noImplicitExplicitLabelEvaluate(node, options, virtualNode) {
-1 6594 var role = Object(_commons_aria__WEBPACK_IMPORTED_MODULE_0__['getRole'])(virtualNode, {
-1 6595 noImplicit: true
-1 6596 });
-1 6597 this.data(role);
-1 6598 try {
-1 6599 var label = Object(_commons_text__WEBPACK_IMPORTED_MODULE_1__['sanitize'])(Object(_commons_text__WEBPACK_IMPORTED_MODULE_1__['labelText'])(virtualNode)).toLowerCase();
-1 6600 var accText = Object(_commons_text__WEBPACK_IMPORTED_MODULE_1__['sanitize'])(Object(_commons_text__WEBPACK_IMPORTED_MODULE_1__['accessibleTextVirtual'])(virtualNode)).toLowerCase();
-1 6601 if (!accText && !label) {
-1 6602 return false;
-1 6603 }
-1 6604 if (!accText && label) {
-1 6605 return undefined;
-1 6606 }
-1 6607 if (!accText.includes(label)) {
-1 6608 return undefined;
-1 6609 }
-1 6610 return false;
-1 6611 } catch (e) {
-1 6612 return undefined;
-1 6613 }
6587 6614 }
6588 -1 function isDate(val) {
6589 -1 return toString.call(val) === '[object Date]';
-1 6615 __webpack_exports__['default'] = noImplicitExplicitLabelEvaluate;
-1 6616 },
-1 6617 './lib/checks/aria/unsupportedrole-evaluate.js': function libChecksAriaUnsupportedroleEvaluateJs(module, __webpack_exports__, __webpack_require__) {
-1 6618 'use strict';
-1 6619 __webpack_require__.r(__webpack_exports__);
-1 6620 var _commons_aria__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/aria/index.js');
-1 6621 function unsupportedroleEvaluate(node) {
-1 6622 return Object(_commons_aria__WEBPACK_IMPORTED_MODULE_0__['isUnsupportedRole'])(Object(_commons_aria__WEBPACK_IMPORTED_MODULE_0__['getRole'])(node));
6590 6623 }
6591 -1 function isFile(val) {
6592 -1 return toString.call(val) === '[object File]';
-1 6624 __webpack_exports__['default'] = unsupportedroleEvaluate;
-1 6625 },
-1 6626 './lib/checks/aria/valid-scrollable-semantics-evaluate.js': function libChecksAriaValidScrollableSemanticsEvaluateJs(module, __webpack_exports__, __webpack_require__) {
-1 6627 'use strict';
-1 6628 __webpack_require__.r(__webpack_exports__);
-1 6629 var VALID_TAG_NAMES_FOR_SCROLLABLE_REGIONS = {
-1 6630 ARTICLE: true,
-1 6631 ASIDE: true,
-1 6632 NAV: true,
-1 6633 SECTION: true
-1 6634 };
-1 6635 var VALID_ROLES_FOR_SCROLLABLE_REGIONS = {
-1 6636 application: true,
-1 6637 banner: false,
-1 6638 complementary: true,
-1 6639 contentinfo: true,
-1 6640 form: true,
-1 6641 main: true,
-1 6642 navigation: true,
-1 6643 region: true,
-1 6644 search: false
-1 6645 };
-1 6646 function validScrollableTagName(node) {
-1 6647 var nodeName = node.nodeName.toUpperCase();
-1 6648 return VALID_TAG_NAMES_FOR_SCROLLABLE_REGIONS[nodeName] || false;
6593 6649 }
6594 -1 function isBlob(val) {
6595 -1 return toString.call(val) === '[object Blob]';
-1 6650 function validScrollableRole(node) {
-1 6651 var role = node.getAttribute('role');
-1 6652 if (!role) {
-1 6653 return false;
-1 6654 }
-1 6655 return VALID_ROLES_FOR_SCROLLABLE_REGIONS[role.toLowerCase()] || false;
6596 6656 }
6597 -1 function isFunction(val) {
6598 -1 return toString.call(val) === '[object Function]';
-1 6657 function validScrollableSemanticsEvaluate(node) {
-1 6658 return validScrollableRole(node) || validScrollableTagName(node);
6599 6659 }
6600 -1 function isStream(val) {
6601 -1 return isObject(val) && isFunction(val.pipe);
-1 6660 __webpack_exports__['default'] = validScrollableSemanticsEvaluate;
-1 6661 },
-1 6662 './lib/checks/color/color-contrast-evaluate.js': function libChecksColorColorContrastEvaluateJs(module, __webpack_exports__, __webpack_require__) {
-1 6663 'use strict';
-1 6664 __webpack_require__.r(__webpack_exports__);
-1 6665 var _commons_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/dom/index.js');
-1 6666 var _commons_text__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/commons/text/index.js');
-1 6667 var _commons_color__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__('./lib/commons/color/index.js');
-1 6668 function colorContrastEvaluate(node, options, virtualNode) {
-1 6669 if (!Object(_commons_dom__WEBPACK_IMPORTED_MODULE_0__['isVisible'])(node, false)) {
-1 6670 return true;
-1 6671 }
-1 6672 var ignoreUnicode = options.ignoreUnicode, ignoreLength = options.ignoreLength, boldValue = options.boldValue, boldTextPt = options.boldTextPt, largeTextPt = options.largeTextPt, contrastRatio = options.contrastRatio;
-1 6673 var visibleText = Object(_commons_text__WEBPACK_IMPORTED_MODULE_1__['visibleVirtual'])(virtualNode, false, true);
-1 6674 var textContainsOnlyUnicode = Object(_commons_text__WEBPACK_IMPORTED_MODULE_1__['hasUnicode'])(visibleText, {
-1 6675 nonBmp: true
-1 6676 }) && Object(_commons_text__WEBPACK_IMPORTED_MODULE_1__['sanitize'])(Object(_commons_text__WEBPACK_IMPORTED_MODULE_1__['removeUnicode'])(visibleText, {
-1 6677 nonBmp: true
-1 6678 })) === '';
-1 6679 if (textContainsOnlyUnicode && ignoreUnicode) {
-1 6680 this.data({
-1 6681 messageKey: 'nonBmp'
-1 6682 });
-1 6683 return undefined;
-1 6684 }
-1 6685 var bgNodes = [];
-1 6686 var bgColor = Object(_commons_color__WEBPACK_IMPORTED_MODULE_2__['getBackgroundColor'])(node, bgNodes);
-1 6687 var fgColor = Object(_commons_color__WEBPACK_IMPORTED_MODULE_2__['getForegroundColor'])(node, false, bgColor);
-1 6688 var nodeStyle = window.getComputedStyle(node);
-1 6689 var fontSize = parseFloat(nodeStyle.getPropertyValue('font-size'));
-1 6690 var fontWeight = nodeStyle.getPropertyValue('font-weight');
-1 6691 var bold = parseFloat(fontWeight) >= boldValue || fontWeight === 'bold';
-1 6692 var contrast = Object(_commons_color__WEBPACK_IMPORTED_MODULE_2__['getContrast'])(bgColor, fgColor);
-1 6693 var ptSize = Math.ceil(fontSize * 72) / 96;
-1 6694 var isSmallFont = bold && ptSize < boldTextPt || !bold && ptSize < largeTextPt;
-1 6695 var _ref2 = isSmallFont ? contrastRatio.normal : contrastRatio.large, expected = _ref2.expected, minThreshold = _ref2.minThreshold, maxThreshold = _ref2.maxThreshold;
-1 6696 var isValid = contrast > expected;
-1 6697 if (typeof minThreshold === 'number' && contrast < minThreshold || typeof maxThreshold === 'number' && contrast > maxThreshold) {
-1 6698 return true;
-1 6699 }
-1 6700 var truncatedResult = Math.floor(contrast * 100) / 100;
-1 6701 var missing;
-1 6702 if (bgColor === null) {
-1 6703 missing = _commons_color__WEBPACK_IMPORTED_MODULE_2__['incompleteData'].get('bgColor');
-1 6704 }
-1 6705 var equalRatio = truncatedResult === 1;
-1 6706 var shortTextContent = visibleText.length === 1;
-1 6707 if (equalRatio) {
-1 6708 missing = _commons_color__WEBPACK_IMPORTED_MODULE_2__['incompleteData'].set('bgColor', 'equalRatio');
-1 6709 } else if (shortTextContent && !ignoreLength) {
-1 6710 missing = 'shortTextContent';
-1 6711 }
-1 6712 var data = {
-1 6713 fgColor: fgColor ? fgColor.toHexString() : undefined,
-1 6714 bgColor: bgColor ? bgColor.toHexString() : undefined,
-1 6715 contrastRatio: truncatedResult,
-1 6716 fontSize: ''.concat((fontSize * 72 / 96).toFixed(1), 'pt (').concat(fontSize, 'px)'),
-1 6717 fontWeight: bold ? 'bold' : 'normal',
-1 6718 messageKey: missing,
-1 6719 expectedContrastRatio: expected + ':1'
-1 6720 };
-1 6721 this.data(data);
-1 6722 if (fgColor === null || bgColor === null || equalRatio || shortTextContent && !ignoreLength && !isValid) {
-1 6723 missing = null;
-1 6724 _commons_color__WEBPACK_IMPORTED_MODULE_2__['incompleteData'].clear();
-1 6725 this.relatedNodes(bgNodes);
-1 6726 return undefined;
-1 6727 }
-1 6728 if (!isValid) {
-1 6729 this.relatedNodes(bgNodes);
-1 6730 }
-1 6731 return isValid;
6602 6732 }
6603 -1 function isURLSearchParams(val) {
6604 -1 return typeof URLSearchParams !== 'undefined' && val instanceof URLSearchParams;
-1 6733 __webpack_exports__['default'] = colorContrastEvaluate;
-1 6734 },
-1 6735 './lib/checks/color/link-in-text-block-evaluate.js': function libChecksColorLinkInTextBlockEvaluateJs(module, __webpack_exports__, __webpack_require__) {
-1 6736 'use strict';
-1 6737 __webpack_require__.r(__webpack_exports__);
-1 6738 var _commons_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/dom/index.js');
-1 6739 var _commons_color__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/commons/color/index.js');
-1 6740 function getContrast(color1, color2) {
-1 6741 var c1lum = color1.getRelativeLuminance();
-1 6742 var c2lum = color2.getRelativeLuminance();
-1 6743 return (Math.max(c1lum, c2lum) + .05) / (Math.min(c1lum, c2lum) + .05);
6605 6744 }
6606 -1 function trim(str) {
6607 -1 return str.replace(/^\s*/, '').replace(/\s*$/, '');
-1 6745 var blockLike = [ 'block', 'list-item', 'table', 'flex', 'grid', 'inline-block' ];
-1 6746 function isBlock(elm) {
-1 6747 var display = window.getComputedStyle(elm).getPropertyValue('display');
-1 6748 return blockLike.indexOf(display) !== -1 || display.substr(0, 6) === 'table-';
6608 6749 }
6609 -1 function isStandardBrowserEnv() {
6610 -1 if (typeof navigator !== 'undefined' && navigator.product === 'ReactNative') {
-1 6750 function linkInTextBlockEvaluate(node) {
-1 6751 if (isBlock(node)) {
6611 6752 return false;
6612 6753 }
6613 -1 return typeof window !== 'undefined' && typeof document !== 'undefined';
6614 -1 }
6615 -1 function forEach(obj, fn) {
6616 -1 if (obj === null || typeof obj === 'undefined') {
6617 -1 return;
6618 -1 }
6619 -1 if (typeof obj !== 'object') {
6620 -1 obj = [ obj ];
-1 6754 var parentBlock = Object(_commons_dom__WEBPACK_IMPORTED_MODULE_0__['getComposedParent'])(node);
-1 6755 while (parentBlock.nodeType === 1 && !isBlock(parentBlock)) {
-1 6756 parentBlock = Object(_commons_dom__WEBPACK_IMPORTED_MODULE_0__['getComposedParent'])(parentBlock);
6621 6757 }
6622 -1 if (isArray(obj)) {
6623 -1 for (var i = 0, l = obj.length; i < l; i++) {
6624 -1 fn.call(null, obj[i], i, obj);
6625 -1 }
-1 6758 this.relatedNodes([ parentBlock ]);
-1 6759 if (Object(_commons_color__WEBPACK_IMPORTED_MODULE_1__['elementIsDistinct'])(node, parentBlock)) {
-1 6760 return true;
6626 6761 } else {
6627 -1 for (var key in obj) {
6628 -1 if (Object.prototype.hasOwnProperty.call(obj, key)) {
6629 -1 fn.call(null, obj[key], key, obj);
-1 6762 var nodeColor, parentColor;
-1 6763 nodeColor = Object(_commons_color__WEBPACK_IMPORTED_MODULE_1__['getForegroundColor'])(node);
-1 6764 parentColor = Object(_commons_color__WEBPACK_IMPORTED_MODULE_1__['getForegroundColor'])(parentBlock);
-1 6765 if (!nodeColor || !parentColor) {
-1 6766 return undefined;
-1 6767 }
-1 6768 var contrast = getContrast(nodeColor, parentColor);
-1 6769 if (contrast === 1) {
-1 6770 return true;
-1 6771 } else if (contrast >= 3) {
-1 6772 _commons_color__WEBPACK_IMPORTED_MODULE_1__['incompleteData'].set('fgColor', 'bgContrast');
-1 6773 this.data({
-1 6774 messageKey: _commons_color__WEBPACK_IMPORTED_MODULE_1__['incompleteData'].get('fgColor')
-1 6775 });
-1 6776 _commons_color__WEBPACK_IMPORTED_MODULE_1__['incompleteData'].clear();
-1 6777 return undefined;
-1 6778 }
-1 6779 nodeColor = Object(_commons_color__WEBPACK_IMPORTED_MODULE_1__['getBackgroundColor'])(node);
-1 6780 parentColor = Object(_commons_color__WEBPACK_IMPORTED_MODULE_1__['getBackgroundColor'])(parentBlock);
-1 6781 if (!nodeColor || !parentColor || getContrast(nodeColor, parentColor) >= 3) {
-1 6782 var reason;
-1 6783 if (!nodeColor || !parentColor) {
-1 6784 reason = _commons_color__WEBPACK_IMPORTED_MODULE_1__['incompleteData'].get('bgColor');
-1 6785 } else {
-1 6786 reason = 'bgContrast';
6630 6787 }
-1 6788 _commons_color__WEBPACK_IMPORTED_MODULE_1__['incompleteData'].set('fgColor', reason);
-1 6789 this.data({
-1 6790 messageKey: _commons_color__WEBPACK_IMPORTED_MODULE_1__['incompleteData'].get('fgColor')
-1 6791 });
-1 6792 _commons_color__WEBPACK_IMPORTED_MODULE_1__['incompleteData'].clear();
-1 6793 return undefined;
6631 6794 }
6632 6795 }
-1 6796 return false;
6633 6797 }
6634 -1 function merge() {
6635 -1 var result = {};
6636 -1 function assignValue(val, key) {
6637 -1 if (typeof result[key] === 'object' && typeof val === 'object') {
6638 -1 result[key] = merge(result[key], val);
6639 -1 } else {
6640 -1 result[key] = val;
6641 -1 }
-1 6798 __webpack_exports__['default'] = linkInTextBlockEvaluate;
-1 6799 },
-1 6800 './lib/checks/forms/autocomplete-appropriate-evaluate.js': function libChecksFormsAutocompleteAppropriateEvaluateJs(module, __webpack_exports__, __webpack_require__) {
-1 6801 'use strict';
-1 6802 __webpack_require__.r(__webpack_exports__);
-1 6803 var _commons_text__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/text/index.js');
-1 6804 var _core_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/core/utils/index.js');
-1 6805 function autocompleteAppropriateEvaluate(node, options, virtualNode) {
-1 6806 if (virtualNode.props.nodeName !== 'input') {
-1 6807 return true;
6642 6808 }
6643 -1 for (var i = 0, l = arguments.length; i < l; i++) {
6644 -1 forEach(arguments[i], assignValue);
-1 6809 var number = [ 'text', 'search', 'number' ];
-1 6810 var url = [ 'text', 'search', 'url' ];
-1 6811 var allowedTypesMap = {
-1 6812 bday: [ 'text', 'search', 'date' ],
-1 6813 email: [ 'text', 'search', 'email' ],
-1 6814 'cc-exp': [ 'text', 'search', 'month' ],
-1 6815 'street-address': [ 'text' ],
-1 6816 tel: [ 'text', 'search', 'tel' ],
-1 6817 'tel-country-code': [ 'text', 'search', 'tel' ],
-1 6818 'tel-national': [ 'text', 'search', 'tel' ],
-1 6819 'tel-area-code': [ 'text', 'search', 'tel' ],
-1 6820 'tel-local': [ 'text', 'search', 'tel' ],
-1 6821 'tel-local-prefix': [ 'text', 'search', 'tel' ],
-1 6822 'tel-local-suffix': [ 'text', 'search', 'tel' ],
-1 6823 'tel-extension': [ 'text', 'search', 'tel' ],
-1 6824 'cc-exp-month': number,
-1 6825 'cc-exp-year': number,
-1 6826 'transaction-amount': number,
-1 6827 'bday-day': number,
-1 6828 'bday-month': number,
-1 6829 'bday-year': number,
-1 6830 'new-password': [ 'text', 'search', 'password' ],
-1 6831 'current-password': [ 'text', 'search', 'password' ],
-1 6832 url: url,
-1 6833 photo: url,
-1 6834 impp: url
-1 6835 };
-1 6836 if (_typeof(options) === 'object') {
-1 6837 Object.keys(options).forEach(function(key) {
-1 6838 if (!allowedTypesMap[key]) {
-1 6839 allowedTypesMap[key] = [];
-1 6840 }
-1 6841 allowedTypesMap[key] = allowedTypesMap[key].concat(options[key]);
-1 6842 });
6645 6843 }
6646 -1 return result;
-1 6844 var autocompleteAttr = virtualNode.attr('autocomplete');
-1 6845 var autocompleteTerms = autocompleteAttr.split(/\s+/g).map(function(term) {
-1 6846 return term.toLowerCase();
-1 6847 });
-1 6848 var purposeTerm = autocompleteTerms[autocompleteTerms.length - 1];
-1 6849 if (_commons_text__WEBPACK_IMPORTED_MODULE_0__['autocomplete'].stateTerms.includes(purposeTerm)) {
-1 6850 return true;
-1 6851 }
-1 6852 var allowedTypes = allowedTypesMap[purposeTerm];
-1 6853 var type = virtualNode.hasAttr('type') ? Object(_commons_text__WEBPACK_IMPORTED_MODULE_0__['sanitize'])(virtualNode.attr('type')).toLowerCase() : 'text';
-1 6854 type = Object(_core_utils__WEBPACK_IMPORTED_MODULE_1__['validInputTypes'])().includes(type) ? type : 'text';
-1 6855 if (typeof allowedTypes === 'undefined') {
-1 6856 return type === 'text';
-1 6857 }
-1 6858 return allowedTypes.includes(type);
6647 6859 }
6648 -1 function extend(a, b, thisArg) {
6649 -1 forEach(b, function assignValue(val, key) {
6650 -1 if (thisArg && typeof val === 'function') {
6651 -1 a[key] = bind(val, thisArg);
6652 -1 } else {
6653 -1 a[key] = val;
6654 -1 }
-1 6860 __webpack_exports__['default'] = autocompleteAppropriateEvaluate;
-1 6861 },
-1 6862 './lib/checks/forms/autocomplete-valid-evaluate.js': function libChecksFormsAutocompleteValidEvaluateJs(module, __webpack_exports__, __webpack_require__) {
-1 6863 'use strict';
-1 6864 __webpack_require__.r(__webpack_exports__);
-1 6865 var _commons_text__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/text/index.js');
-1 6866 function autocompleteValidEvaluate(node, options, virtualNode) {
-1 6867 var autocomplete = virtualNode.attr('autocomplete') || '';
-1 6868 return Object(_commons_text__WEBPACK_IMPORTED_MODULE_0__['isValidAutocomplete'])(autocomplete, options);
-1 6869 }
-1 6870 __webpack_exports__['default'] = autocompleteValidEvaluate;
-1 6871 },
-1 6872 './lib/checks/generic/attr-non-space-content-evaluate.js': function libChecksGenericAttrNonSpaceContentEvaluateJs(module, __webpack_exports__, __webpack_require__) {
-1 6873 'use strict';
-1 6874 __webpack_require__.r(__webpack_exports__);
-1 6875 var _commons_text__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/text/index.js');
-1 6876 function attrNonSpaceContentEvaluate(node) {
-1 6877 var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
-1 6878 var vNode = arguments.length > 2 ? arguments[2] : undefined;
-1 6879 if (!options.attribute || typeof options.attribute !== 'string') {
-1 6880 throw new TypeError('attr-non-space-content requires options.attribute to be a string');
-1 6881 }
-1 6882 var attribute = vNode.attr(options.attribute) || '';
-1 6883 return !!Object(_commons_text__WEBPACK_IMPORTED_MODULE_0__['sanitize'])(attribute.trim());
-1 6884 }
-1 6885 __webpack_exports__['default'] = attrNonSpaceContentEvaluate;
-1 6886 },
-1 6887 './lib/checks/generic/has-descendant-after.js': function libChecksGenericHasDescendantAfterJs(module, __webpack_exports__, __webpack_require__) {
-1 6888 'use strict';
-1 6889 __webpack_require__.r(__webpack_exports__);
-1 6890 function pageHasElmAfter(results) {
-1 6891 var elmUsedAnywhere = results.some(function(frameResult) {
-1 6892 return frameResult.result === true;
6655 6893 });
6656 -1 return a;
-1 6894 if (elmUsedAnywhere) {
-1 6895 results.forEach(function(result) {
-1 6896 result.result = true;
-1 6897 });
-1 6898 }
-1 6899 return results;
6657 6900 }
6658 -1 module.exports = {
6659 -1 isArray: isArray,
6660 -1 isArrayBuffer: isArrayBuffer,
6661 -1 isBuffer: isBuffer,
6662 -1 isFormData: isFormData,
6663 -1 isArrayBufferView: isArrayBufferView,
6664 -1 isString: isString,
6665 -1 isNumber: isNumber,
6666 -1 isObject: isObject,
6667 -1 isUndefined: isUndefined,
6668 -1 isDate: isDate,
6669 -1 isFile: isFile,
6670 -1 isBlob: isBlob,
6671 -1 isFunction: isFunction,
6672 -1 isStream: isStream,
6673 -1 isURLSearchParams: isURLSearchParams,
6674 -1 isStandardBrowserEnv: isStandardBrowserEnv,
6675 -1 forEach: forEach,
6676 -1 merge: merge,
6677 -1 extend: extend,
6678 -1 trim: trim
6679 -1 };
6680 -1 }, {
6681 -1 './helpers/bind': 16,
6682 -1 'is-buffer': 32
6683 -1 } ],
6684 -1 27: [ function(_dereq_, module, exports) {
6685 -1 module.exports = {
6686 -1 CssSelectorParser: _dereq_('./lib/css-selector-parser.js').CssSelectorParser
6687 -1 };
6688 -1 }, {
6689 -1 './lib/css-selector-parser.js': 28
6690 -1 } ],
6691 -1 28: [ function(_dereq_, module, exports) {
6692 -1 function CssSelectorParser() {
6693 -1 this.pseudos = {};
6694 -1 this.attrEqualityMods = {};
6695 -1 this.ruleNestingOperators = {};
6696 -1 this.substitutesEnabled = false;
6697 -1 }
6698 -1 CssSelectorParser.prototype.registerSelectorPseudos = function(name) {
6699 -1 for (var j = 0, len = arguments.length; j < len; j++) {
6700 -1 name = arguments[j];
6701 -1 this.pseudos[name] = 'selector';
-1 6901 __webpack_exports__['default'] = pageHasElmAfter;
-1 6902 },
-1 6903 './lib/checks/generic/has-descendant-evaluate.js': function libChecksGenericHasDescendantEvaluateJs(module, __webpack_exports__, __webpack_require__) {
-1 6904 'use strict';
-1 6905 __webpack_require__.r(__webpack_exports__);
-1 6906 var _core_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/core/utils/index.js');
-1 6907 var _commons_dom__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/commons/dom/index.js');
-1 6908 function hasDescendant(node, options, virtualNode) {
-1 6909 if (!options || !options.selector || typeof options.selector !== 'string') {
-1 6910 throw new TypeError('has-descendant requires options.selector to be a string');
6702 6911 }
6703 -1 return this;
6704 -1 };
6705 -1 CssSelectorParser.prototype.unregisterSelectorPseudos = function(name) {
6706 -1 for (var j = 0, len = arguments.length; j < len; j++) {
6707 -1 name = arguments[j];
6708 -1 delete this.pseudos[name];
-1 6912 var matchingElms = Object(_core_utils__WEBPACK_IMPORTED_MODULE_0__['querySelectorAllFilter'])(virtualNode, options.selector, function(vNode) {
-1 6913 return Object(_commons_dom__WEBPACK_IMPORTED_MODULE_1__['isVisible'])(vNode.actualNode, true);
-1 6914 });
-1 6915 this.relatedNodes(matchingElms.map(function(vNode) {
-1 6916 return vNode.actualNode;
-1 6917 }));
-1 6918 return matchingElms.length > 0;
-1 6919 }
-1 6920 __webpack_exports__['default'] = hasDescendant;
-1 6921 },
-1 6922 './lib/checks/generic/has-text-content-evaluate.js': function libChecksGenericHasTextContentEvaluateJs(module, __webpack_exports__, __webpack_require__) {
-1 6923 'use strict';
-1 6924 __webpack_require__.r(__webpack_exports__);
-1 6925 var _commons_text__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/text/index.js');
-1 6926 function hasTextContentEvaluate(node, options, virtualNode) {
-1 6927 try {
-1 6928 return Object(_commons_text__WEBPACK_IMPORTED_MODULE_0__['sanitize'])(Object(_commons_text__WEBPACK_IMPORTED_MODULE_0__['subtreeText'])(virtualNode)) !== '';
-1 6929 } catch (e) {
-1 6930 return undefined;
6709 6931 }
6710 -1 return this;
6711 -1 };
6712 -1 CssSelectorParser.prototype.registerNumericPseudos = function(name) {
6713 -1 for (var j = 0, len = arguments.length; j < len; j++) {
6714 -1 name = arguments[j];
6715 -1 this.pseudos[name] = 'numeric';
-1 6932 }
-1 6933 __webpack_exports__['default'] = hasTextContentEvaluate;
-1 6934 },
-1 6935 './lib/checks/generic/matches-definition-evaluate.js': function libChecksGenericMatchesDefinitionEvaluateJs(module, __webpack_exports__, __webpack_require__) {
-1 6936 'use strict';
-1 6937 __webpack_require__.r(__webpack_exports__);
-1 6938 var _commons_matches__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/matches/index.js');
-1 6939 function matchesDefinitionEvaluate(_, options, virtualNode) {
-1 6940 return Object(_commons_matches__WEBPACK_IMPORTED_MODULE_0__['default'])(virtualNode, options.matcher);
-1 6941 }
-1 6942 __webpack_exports__['default'] = matchesDefinitionEvaluate;
-1 6943 },
-1 6944 './lib/checks/generic/page-no-duplicate-after.js': function libChecksGenericPageNoDuplicateAfterJs(module, __webpack_exports__, __webpack_require__) {
-1 6945 'use strict';
-1 6946 __webpack_require__.r(__webpack_exports__);
-1 6947 function pageNoDuplicateAfter(results) {
-1 6948 return results.filter(function(checkResult) {
-1 6949 return checkResult.data !== 'ignored';
-1 6950 });
-1 6951 }
-1 6952 __webpack_exports__['default'] = pageNoDuplicateAfter;
-1 6953 },
-1 6954 './lib/checks/generic/page-no-duplicate-evaluate.js': function libChecksGenericPageNoDuplicateEvaluateJs(module, __webpack_exports__, __webpack_require__) {
-1 6955 'use strict';
-1 6956 __webpack_require__.r(__webpack_exports__);
-1 6957 var _core_base_cache__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/core/base/cache.js');
-1 6958 var _core_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/core/utils/index.js');
-1 6959 var _commons_dom__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__('./lib/commons/dom/index.js');
-1 6960 function pageNoDuplicateEvaluate(node, options, virtualNode) {
-1 6961 if (!options || !options.selector || typeof options.selector !== 'string') {
-1 6962 throw new TypeError('page-no-duplicate requires options.selector to be a string');
6716 6963 }
6717 -1 return this;
6718 -1 };
6719 -1 CssSelectorParser.prototype.unregisterNumericPseudos = function(name) {
6720 -1 for (var j = 0, len = arguments.length; j < len; j++) {
6721 -1 name = arguments[j];
6722 -1 delete this.pseudos[name];
-1 6964 var key = 'page-no-duplicate;' + options.selector;
-1 6965 if (_core_base_cache__WEBPACK_IMPORTED_MODULE_0__['default'].get(key)) {
-1 6966 this.data('ignored');
-1 6967 return;
6723 6968 }
6724 -1 return this;
6725 -1 };
6726 -1 CssSelectorParser.prototype.registerNestingOperators = function(operator) {
6727 -1 for (var j = 0, len = arguments.length; j < len; j++) {
6728 -1 operator = arguments[j];
6729 -1 this.ruleNestingOperators[operator] = true;
-1 6969 _core_base_cache__WEBPACK_IMPORTED_MODULE_0__['default'].set(key, true);
-1 6970 var elms = Object(_core_utils__WEBPACK_IMPORTED_MODULE_1__['querySelectorAllFilter'])(axe._tree[0], options.selector, function(elm) {
-1 6971 return Object(_commons_dom__WEBPACK_IMPORTED_MODULE_2__['isVisible'])(elm.actualNode);
-1 6972 });
-1 6973 if (typeof options.nativeScopeFilter === 'string') {
-1 6974 elms = elms.filter(function(elm) {
-1 6975 return elm.actualNode.hasAttribute('role') || !Object(_commons_dom__WEBPACK_IMPORTED_MODULE_2__['findUpVirtual'])(elm, options.nativeScopeFilter);
-1 6976 });
6730 6977 }
6731 -1 return this;
6732 -1 };
6733 -1 CssSelectorParser.prototype.unregisterNestingOperators = function(operator) {
6734 -1 for (var j = 0, len = arguments.length; j < len; j++) {
6735 -1 operator = arguments[j];
6736 -1 delete this.ruleNestingOperators[operator];
-1 6978 this.relatedNodes(elms.filter(function(elm) {
-1 6979 return elm !== virtualNode;
-1 6980 }).map(function(elm) {
-1 6981 return elm.actualNode;
-1 6982 }));
-1 6983 return elms.length <= 1;
-1 6984 }
-1 6985 __webpack_exports__['default'] = pageNoDuplicateEvaluate;
-1 6986 },
-1 6987 './lib/checks/keyboard/accesskeys-after.js': function libChecksKeyboardAccesskeysAfterJs(module, __webpack_exports__, __webpack_require__) {
-1 6988 'use strict';
-1 6989 __webpack_require__.r(__webpack_exports__);
-1 6990 function accesskeysAfter(results) {
-1 6991 var seen = {};
-1 6992 return results.filter(function(r) {
-1 6993 if (!r.data) {
-1 6994 return false;
-1 6995 }
-1 6996 var key = r.data.toUpperCase();
-1 6997 if (!seen[key]) {
-1 6998 seen[key] = r;
-1 6999 r.relatedNodes = [];
-1 7000 return true;
-1 7001 }
-1 7002 seen[key].relatedNodes.push(r.relatedNodes[0]);
-1 7003 return false;
-1 7004 }).map(function(r) {
-1 7005 r.result = !!r.relatedNodes.length;
-1 7006 return r;
-1 7007 });
-1 7008 }
-1 7009 __webpack_exports__['default'] = accesskeysAfter;
-1 7010 },
-1 7011 './lib/checks/keyboard/accesskeys-evaluate.js': function libChecksKeyboardAccesskeysEvaluateJs(module, __webpack_exports__, __webpack_require__) {
-1 7012 'use strict';
-1 7013 __webpack_require__.r(__webpack_exports__);
-1 7014 var _commons_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/dom/index.js');
-1 7015 function accesskeysEvaluate(node) {
-1 7016 if (Object(_commons_dom__WEBPACK_IMPORTED_MODULE_0__['isVisible'])(node, false)) {
-1 7017 this.data(node.getAttribute('accesskey'));
-1 7018 this.relatedNodes([ node ]);
6737 7019 }
6738 -1 return this;
6739 -1 };
6740 -1 CssSelectorParser.prototype.registerAttrEqualityMods = function(mod) {
6741 -1 for (var j = 0, len = arguments.length; j < len; j++) {
6742 -1 mod = arguments[j];
6743 -1 this.attrEqualityMods[mod] = true;
-1 7020 return true;
-1 7021 }
-1 7022 __webpack_exports__['default'] = accesskeysEvaluate;
-1 7023 },
-1 7024 './lib/checks/keyboard/focusable-content-evaluate.js': function libChecksKeyboardFocusableContentEvaluateJs(module, __webpack_exports__, __webpack_require__) {
-1 7025 'use strict';
-1 7026 __webpack_require__.r(__webpack_exports__);
-1 7027 function focusableContentEvaluate(node, options, virtualNode) {
-1 7028 var tabbableElements = virtualNode.tabbableElements;
-1 7029 if (!tabbableElements) {
-1 7030 return false;
6744 7031 }
6745 -1 return this;
6746 -1 };
6747 -1 CssSelectorParser.prototype.unregisterAttrEqualityMods = function(mod) {
6748 -1 for (var j = 0, len = arguments.length; j < len; j++) {
6749 -1 mod = arguments[j];
6750 -1 delete this.attrEqualityMods[mod];
-1 7032 var tabbableContentElements = tabbableElements.filter(function(el) {
-1 7033 return el !== virtualNode;
-1 7034 });
-1 7035 return tabbableContentElements.length > 0;
-1 7036 }
-1 7037 __webpack_exports__['default'] = focusableContentEvaluate;
-1 7038 },
-1 7039 './lib/checks/keyboard/focusable-disabled-evaluate.js': function libChecksKeyboardFocusableDisabledEvaluateJs(module, __webpack_exports__, __webpack_require__) {
-1 7040 'use strict';
-1 7041 __webpack_require__.r(__webpack_exports__);
-1 7042 var _commons_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/dom/index.js');
-1 7043 function focusableDisabledEvaluate(node, options, virtualNode) {
-1 7044 var elementsThatCanBeDisabled = [ 'BUTTON', 'FIELDSET', 'INPUT', 'SELECT', 'TEXTAREA' ];
-1 7045 var tabbableElements = virtualNode.tabbableElements;
-1 7046 if (!tabbableElements || !tabbableElements.length) {
-1 7047 return true;
6751 7048 }
6752 -1 return this;
6753 -1 };
6754 -1 CssSelectorParser.prototype.enableSubstitutes = function() {
6755 -1 this.substitutesEnabled = true;
6756 -1 return this;
6757 -1 };
6758 -1 CssSelectorParser.prototype.disableSubstitutes = function() {
6759 -1 this.substitutesEnabled = false;
6760 -1 return this;
6761 -1 };
6762 -1 function isIdentStart(c) {
6763 -1 return c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z' || c === '-' || c === '_';
-1 7049 var relatedNodes = tabbableElements.reduce(function(out, _ref3) {
-1 7050 var el = _ref3.actualNode;
-1 7051 var nodeName = el.nodeName.toUpperCase();
-1 7052 if (elementsThatCanBeDisabled.includes(nodeName)) {
-1 7053 out.push(el);
-1 7054 }
-1 7055 return out;
-1 7056 }, []);
-1 7057 this.relatedNodes(relatedNodes);
-1 7058 if (relatedNodes.length && Object(_commons_dom__WEBPACK_IMPORTED_MODULE_0__['isModalOpen'])()) {
-1 7059 return true;
-1 7060 }
-1 7061 return relatedNodes.length === 0;
6764 7062 }
6765 -1 function isIdent(c) {
6766 -1 return c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z' || c >= '0' && c <= '9' || c === '-' || c === '_';
-1 7063 __webpack_exports__['default'] = focusableDisabledEvaluate;
-1 7064 },
-1 7065 './lib/checks/keyboard/focusable-element-evaluate.js': function libChecksKeyboardFocusableElementEvaluateJs(module, __webpack_exports__, __webpack_require__) {
-1 7066 'use strict';
-1 7067 __webpack_require__.r(__webpack_exports__);
-1 7068 var _core_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/core/utils/index.js');
-1 7069 function focusableElementEvaluate(node, options, virtualNode) {
-1 7070 if (virtualNode.hasAttr('contenteditable') && isContenteditable(virtualNode)) {
-1 7071 return true;
-1 7072 }
-1 7073 var isFocusable = virtualNode.isFocusable;
-1 7074 var tabIndex = parseInt(virtualNode.attr('tabindex'), 10);
-1 7075 tabIndex = !isNaN(tabIndex) ? tabIndex : null;
-1 7076 return tabIndex ? isFocusable && tabIndex >= 0 : isFocusable;
-1 7077 function isContenteditable(vNode) {
-1 7078 var contenteditable = vNode.attr('contenteditable');
-1 7079 if (contenteditable === 'true' || contenteditable === '') {
-1 7080 return true;
-1 7081 }
-1 7082 if (contenteditable === 'false') {
-1 7083 return false;
-1 7084 }
-1 7085 var ancestor = Object(_core_utils__WEBPACK_IMPORTED_MODULE_0__['closest'])(virtualNode.parent, '[contenteditable]');
-1 7086 if (!ancestor) {
-1 7087 return false;
-1 7088 }
-1 7089 return isContenteditable(ancestor);
-1 7090 }
6767 7091 }
6768 -1 function isHex(c) {
6769 -1 return c >= 'a' && c <= 'f' || c >= 'A' && c <= 'F' || c >= '0' && c <= '9';
-1 7092 __webpack_exports__['default'] = focusableElementEvaluate;
-1 7093 },
-1 7094 './lib/checks/keyboard/focusable-modal-open-evaluate.js': function libChecksKeyboardFocusableModalOpenEvaluateJs(module, __webpack_exports__, __webpack_require__) {
-1 7095 'use strict';
-1 7096 __webpack_require__.r(__webpack_exports__);
-1 7097 var _commons_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/dom/index.js');
-1 7098 function focusableModalOpenEvaluate(node, options, virtualNode) {
-1 7099 var tabbableElements = virtualNode.tabbableElements.map(function(_ref4) {
-1 7100 var actualNode = _ref4.actualNode;
-1 7101 return actualNode;
-1 7102 });
-1 7103 if (!tabbableElements || !tabbableElements.length) {
-1 7104 return true;
-1 7105 }
-1 7106 if (Object(_commons_dom__WEBPACK_IMPORTED_MODULE_0__['isModalOpen'])()) {
-1 7107 this.relatedNodes(tabbableElements);
-1 7108 return undefined;
-1 7109 }
-1 7110 return true;
6770 7111 }
6771 -1 function isDecimal(c) {
6772 -1 return c >= '0' && c <= '9';
-1 7112 __webpack_exports__['default'] = focusableModalOpenEvaluate;
-1 7113 },
-1 7114 './lib/checks/keyboard/focusable-no-name-evaluate.js': function libChecksKeyboardFocusableNoNameEvaluateJs(module, __webpack_exports__, __webpack_require__) {
-1 7115 'use strict';
-1 7116 __webpack_require__.r(__webpack_exports__);
-1 7117 var _commons_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/dom/index.js');
-1 7118 var _commons_text__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/commons/text/index.js');
-1 7119 function focusableNoNameEvaluate(node, options, virtualNode) {
-1 7120 var tabIndex = virtualNode.attr('tabindex');
-1 7121 var inFocusOrder = Object(_commons_dom__WEBPACK_IMPORTED_MODULE_0__['isFocusable'])(virtualNode) && tabIndex > -1;
-1 7122 if (!inFocusOrder) {
-1 7123 return false;
-1 7124 }
-1 7125 try {
-1 7126 return !Object(_commons_text__WEBPACK_IMPORTED_MODULE_1__['accessibleTextVirtual'])(virtualNode);
-1 7127 } catch (e) {
-1 7128 return undefined;
-1 7129 }
6773 7130 }
6774 -1 function isAttrMatchOperator(chr) {
6775 -1 return chr === '=' || chr === '^' || chr === '$' || chr === '*' || chr === '~';
-1 7131 __webpack_exports__['default'] = focusableNoNameEvaluate;
-1 7132 },
-1 7133 './lib/checks/keyboard/focusable-not-tabbable-evaluate.js': function libChecksKeyboardFocusableNotTabbableEvaluateJs(module, __webpack_exports__, __webpack_require__) {
-1 7134 'use strict';
-1 7135 __webpack_require__.r(__webpack_exports__);
-1 7136 var _commons_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/dom/index.js');
-1 7137 function focusableNotTabbableEvaluate(node, options, virtualNode) {
-1 7138 var elementsThatCanBeDisabled = [ 'BUTTON', 'FIELDSET', 'INPUT', 'SELECT', 'TEXTAREA' ];
-1 7139 var tabbableElements = virtualNode.tabbableElements;
-1 7140 if (!tabbableElements || !tabbableElements.length) {
-1 7141 return true;
-1 7142 }
-1 7143 var relatedNodes = tabbableElements.reduce(function(out, _ref5) {
-1 7144 var el = _ref5.actualNode;
-1 7145 var nodeName = el.nodeName.toUpperCase();
-1 7146 if (!elementsThatCanBeDisabled.includes(nodeName)) {
-1 7147 out.push(el);
-1 7148 }
-1 7149 return out;
-1 7150 }, []);
-1 7151 this.relatedNodes(relatedNodes);
-1 7152 if (relatedNodes.length > 0 && Object(_commons_dom__WEBPACK_IMPORTED_MODULE_0__['isModalOpen'])()) {
-1 7153 return true;
-1 7154 }
-1 7155 return relatedNodes.length === 0;
6776 7156 }
6777 -1 var identSpecialChars = {
6778 -1 '!': true,
6779 -1 '"': true,
6780 -1 '#': true,
6781 -1 $: true,
6782 -1 '%': true,
6783 -1 '&': true,
6784 -1 '\'': true,
6785 -1 '(': true,
6786 -1 ')': true,
6787 -1 '*': true,
6788 -1 '+': true,
6789 -1 ',': true,
6790 -1 '.': true,
6791 -1 '/': true,
6792 -1 ';': true,
6793 -1 '<': true,
6794 -1 '=': true,
6795 -1 '>': true,
6796 -1 '?': true,
6797 -1 '@': true,
6798 -1 '[': true,
6799 -1 '\\': true,
6800 -1 ']': true,
6801 -1 '^': true,
6802 -1 '`': true,
6803 -1 '{': true,
6804 -1 '|': true,
6805 -1 '}': true,
6806 -1 '~': true
6807 -1 };
6808 -1 var strReplacementsRev = {
6809 -1 '\n': '\\n',
6810 -1 '\r': '\\r',
6811 -1 '\t': '\\t',
6812 -1 '\f': '\\f',
6813 -1 '\v': '\\v'
6814 -1 };
6815 -1 var singleQuoteEscapeChars = {
6816 -1 n: '\n',
6817 -1 r: '\r',
6818 -1 t: '\t',
6819 -1 f: '\f',
6820 -1 '\\': '\\',
6821 -1 '\'': '\''
6822 -1 };
6823 -1 var doubleQuotesEscapeChars = {
6824 -1 n: '\n',
6825 -1 r: '\r',
6826 -1 t: '\t',
6827 -1 f: '\f',
6828 -1 '\\': '\\',
6829 -1 '"': '"'
6830 -1 };
6831 -1 function ParseContext(str, pos, pseudos, attrEqualityMods, ruleNestingOperators, substitutesEnabled) {
6832 -1 var chr, getIdent, getStr, l, skipWhitespace;
6833 -1 l = str.length;
6834 -1 chr = null;
6835 -1 getStr = function(quote, escapeTable) {
6836 -1 var esc, hex, result;
6837 -1 result = '';
6838 -1 pos++;
6839 -1 chr = str.charAt(pos);
6840 -1 while (pos < l) {
6841 -1 if (chr === quote) {
6842 -1 pos++;
6843 -1 return result;
6844 -1 } else if (chr === '\\') {
6845 -1 pos++;
6846 -1 chr = str.charAt(pos);
6847 -1 if (chr === quote) {
6848 -1 result += quote;
6849 -1 } else if (esc = escapeTable[chr]) {
6850 -1 result += esc;
6851 -1 } else if (isHex(chr)) {
6852 -1 hex = chr;
6853 -1 pos++;
6854 -1 chr = str.charAt(pos);
6855 -1 while (isHex(chr)) {
6856 -1 hex += chr;
6857 -1 pos++;
6858 -1 chr = str.charAt(pos);
6859 -1 }
6860 -1 if (chr === ' ') {
6861 -1 pos++;
6862 -1 chr = str.charAt(pos);
6863 -1 }
6864 -1 result += String.fromCharCode(parseInt(hex, 16));
6865 -1 continue;
-1 7157 __webpack_exports__['default'] = focusableNotTabbableEvaluate;
-1 7158 },
-1 7159 './lib/checks/keyboard/landmark-is-top-level-evaluate.js': function libChecksKeyboardLandmarkIsTopLevelEvaluateJs(module, __webpack_exports__, __webpack_require__) {
-1 7160 'use strict';
-1 7161 __webpack_require__.r(__webpack_exports__);
-1 7162 var _commons_aria__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/aria/index.js');
-1 7163 var _commons_standards__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/commons/standards/index.js');
-1 7164 var _commons_dom__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__('./lib/commons/dom/index.js');
-1 7165 function landmarkIsTopLevelEvaluate(node) {
-1 7166 var landmarks = Object(_commons_standards__WEBPACK_IMPORTED_MODULE_1__['getAriaRolesByType'])('landmark');
-1 7167 var parent = Object(_commons_dom__WEBPACK_IMPORTED_MODULE_2__['getComposedParent'])(node);
-1 7168 this.data({
-1 7169 role: node.getAttribute('role') || Object(_commons_aria__WEBPACK_IMPORTED_MODULE_0__['implicitRole'])(node)
-1 7170 });
-1 7171 while (parent) {
-1 7172 var role = parent.getAttribute('role');
-1 7173 if (!role && parent.nodeName.toUpperCase() !== 'FORM') {
-1 7174 role = Object(_commons_aria__WEBPACK_IMPORTED_MODULE_0__['implicitRole'])(parent);
-1 7175 }
-1 7176 if (role && landmarks.includes(role)) {
-1 7177 return false;
-1 7178 }
-1 7179 parent = Object(_commons_dom__WEBPACK_IMPORTED_MODULE_2__['getComposedParent'])(parent);
-1 7180 }
-1 7181 return true;
-1 7182 }
-1 7183 __webpack_exports__['default'] = landmarkIsTopLevelEvaluate;
-1 7184 },
-1 7185 './lib/checks/keyboard/tabindex-evaluate.js': function libChecksKeyboardTabindexEvaluateJs(module, __webpack_exports__, __webpack_require__) {
-1 7186 'use strict';
-1 7187 __webpack_require__.r(__webpack_exports__);
-1 7188 function tabindexEvaluate(node, options, virtualNode) {
-1 7189 var tabIndex = parseInt(virtualNode.attr('tabindex'), 10);
-1 7190 return isNaN(tabIndex) ? true : tabIndex <= 0;
-1 7191 }
-1 7192 __webpack_exports__['default'] = tabindexEvaluate;
-1 7193 },
-1 7194 './lib/checks/label/alt-space-value-evaluate.js': function libChecksLabelAltSpaceValueEvaluateJs(module, __webpack_exports__, __webpack_require__) {
-1 7195 'use strict';
-1 7196 __webpack_require__.r(__webpack_exports__);
-1 7197 function altSpaceValueEvaluate(node, options, virtualNode) {
-1 7198 var alt = virtualNode.attr('alt');
-1 7199 var isOnlySpace = /^\s+$/;
-1 7200 return typeof alt === 'string' && isOnlySpace.test(alt);
-1 7201 }
-1 7202 __webpack_exports__['default'] = altSpaceValueEvaluate;
-1 7203 },
-1 7204 './lib/checks/label/duplicate-img-label-evaluate.js': function libChecksLabelDuplicateImgLabelEvaluateJs(module, __webpack_exports__, __webpack_require__) {
-1 7205 'use strict';
-1 7206 __webpack_require__.r(__webpack_exports__);
-1 7207 var _commons_aria__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/aria/index.js');
-1 7208 var _commons_text__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/commons/text/index.js');
-1 7209 var _core_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__('./lib/core/utils/index.js');
-1 7210 function duplicateImgLabelEvaluate(node, options, virtualNode) {
-1 7211 if ([ 'none', 'presentation' ].includes(Object(_commons_aria__WEBPACK_IMPORTED_MODULE_0__['getRole'])(virtualNode))) {
-1 7212 return false;
-1 7213 }
-1 7214 var parentVNode = Object(_core_utils__WEBPACK_IMPORTED_MODULE_2__['closest'])(virtualNode, options.parentSelector);
-1 7215 if (!parentVNode) {
-1 7216 return false;
-1 7217 }
-1 7218 var visibleText = Object(_commons_text__WEBPACK_IMPORTED_MODULE_1__['visibleVirtual'])(parentVNode, true).toLowerCase();
-1 7219 if (visibleText === '') {
-1 7220 return false;
-1 7221 }
-1 7222 return visibleText === Object(_commons_text__WEBPACK_IMPORTED_MODULE_1__['accessibleTextVirtual'])(virtualNode).toLowerCase();
-1 7223 }
-1 7224 __webpack_exports__['default'] = duplicateImgLabelEvaluate;
-1 7225 },
-1 7226 './lib/checks/label/explicit-evaluate.js': function libChecksLabelExplicitEvaluateJs(module, __webpack_exports__, __webpack_require__) {
-1 7227 'use strict';
-1 7228 __webpack_require__.r(__webpack_exports__);
-1 7229 var _commons_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/dom/index.js');
-1 7230 var _commons_text__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/commons/text/index.js');
-1 7231 var _core_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__('./lib/core/utils/index.js');
-1 7232 function explicitEvaluate(node, options, virtualNode) {
-1 7233 try {
-1 7234 if (virtualNode.attr('id')) {
-1 7235 var root = Object(_commons_dom__WEBPACK_IMPORTED_MODULE_0__['getRootNode'])(virtualNode.actualNode);
-1 7236 var id = Object(_core_utils__WEBPACK_IMPORTED_MODULE_2__['escapeSelector'])(virtualNode.attr('id'));
-1 7237 var label = root.querySelector('label[for="'.concat(id, '"]'));
-1 7238 if (label) {
-1 7239 if (!Object(_commons_dom__WEBPACK_IMPORTED_MODULE_0__['isVisible'])(label)) {
-1 7240 return true;
6866 7241 } else {
6867 -1 result += chr;
-1 7242 return !!Object(_commons_text__WEBPACK_IMPORTED_MODULE_1__['accessibleText'])(label);
6868 7243 }
6869 -1 } else {
6870 -1 result += chr;
6871 7244 }
6872 -1 pos++;
6873 -1 chr = str.charAt(pos);
6874 7245 }
6875 -1 return result;
6876 -1 };
6877 -1 getIdent = function() {
6878 -1 var result = '';
6879 -1 chr = str.charAt(pos);
6880 -1 while (pos < l) {
6881 -1 if (isIdent(chr)) {
6882 -1 result += chr;
6883 -1 } else if (chr === '\\') {
6884 -1 pos++;
6885 -1 if (pos >= l) {
6886 -1 throw Error('Expected symbol but end of file reached.');
6887 -1 }
6888 -1 chr = str.charAt(pos);
6889 -1 if (identSpecialChars[chr]) {
6890 -1 result += chr;
6891 -1 } else if (isHex(chr)) {
6892 -1 var hex = chr;
6893 -1 pos++;
6894 -1 chr = str.charAt(pos);
6895 -1 while (isHex(chr)) {
6896 -1 hex += chr;
6897 -1 pos++;
6898 -1 chr = str.charAt(pos);
6899 -1 }
6900 -1 if (chr === ' ') {
6901 -1 pos++;
6902 -1 chr = str.charAt(pos);
6903 -1 }
6904 -1 result += String.fromCharCode(parseInt(hex, 16));
6905 -1 continue;
6906 -1 } else {
6907 -1 result += chr;
6908 -1 }
6909 -1 } else {
6910 -1 return result;
-1 7246 return false;
-1 7247 } catch (e) {
-1 7248 return undefined;
-1 7249 }
-1 7250 }
-1 7251 __webpack_exports__['default'] = explicitEvaluate;
-1 7252 },
-1 7253 './lib/checks/label/help-same-as-label-evaluate.js': function libChecksLabelHelpSameAsLabelEvaluateJs(module, __webpack_exports__, __webpack_require__) {
-1 7254 'use strict';
-1 7255 __webpack_require__.r(__webpack_exports__);
-1 7256 var _commons_text__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/text/index.js');
-1 7257 var _commons_dom__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/commons/dom/index.js');
-1 7258 function helpSameAsLabelEvaluate(node, options, virtualNode) {
-1 7259 var labelText = Object(_commons_text__WEBPACK_IMPORTED_MODULE_0__['labelVirtual'])(virtualNode), check = node.getAttribute('title');
-1 7260 if (!labelText) {
-1 7261 return false;
-1 7262 }
-1 7263 if (!check) {
-1 7264 check = '';
-1 7265 if (node.getAttribute('aria-describedby')) {
-1 7266 var ref = Object(_commons_dom__WEBPACK_IMPORTED_MODULE_1__['idrefs'])(node, 'aria-describedby');
-1 7267 check = ref.map(function(thing) {
-1 7268 return thing ? Object(_commons_text__WEBPACK_IMPORTED_MODULE_0__['accessibleText'])(thing) : '';
-1 7269 }).join('');
-1 7270 }
-1 7271 }
-1 7272 return Object(_commons_text__WEBPACK_IMPORTED_MODULE_0__['sanitize'])(check) === Object(_commons_text__WEBPACK_IMPORTED_MODULE_0__['sanitize'])(labelText);
-1 7273 }
-1 7274 __webpack_exports__['default'] = helpSameAsLabelEvaluate;
-1 7275 },
-1 7276 './lib/checks/label/hidden-explicit-label-evaluate.js': function libChecksLabelHiddenExplicitLabelEvaluateJs(module, __webpack_exports__, __webpack_require__) {
-1 7277 'use strict';
-1 7278 __webpack_require__.r(__webpack_exports__);
-1 7279 var _commons_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/dom/index.js');
-1 7280 var _commons_text__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/commons/text/index.js');
-1 7281 var _core_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__('./lib/core/utils/index.js');
-1 7282 function hiddenExplicitLabelEvaluate(node, options, virtualNode) {
-1 7283 try {
-1 7284 if (virtualNode.hasAttr('id')) {
-1 7285 var root = Object(_commons_dom__WEBPACK_IMPORTED_MODULE_0__['getRootNode'])(node);
-1 7286 var id = Object(_core_utils__WEBPACK_IMPORTED_MODULE_2__['escapeSelector'])(node.getAttribute('id'));
-1 7287 var label = root.querySelector('label[for="'.concat(id, '"]'));
-1 7288 if (label && !Object(_commons_dom__WEBPACK_IMPORTED_MODULE_0__['isVisible'])(label, true)) {
-1 7289 var name = Object(_commons_text__WEBPACK_IMPORTED_MODULE_1__['accessibleTextVirtual'])(virtualNode).trim();
-1 7290 var isNameEmpty = name === '';
-1 7291 return isNameEmpty;
6911 7292 }
6912 -1 pos++;
6913 -1 chr = str.charAt(pos);
6914 7293 }
6915 -1 return result;
6916 -1 };
6917 -1 skipWhitespace = function() {
6918 -1 chr = str.charAt(pos);
6919 -1 var result = false;
6920 -1 while (chr === ' ' || chr === '\t' || chr === '\n' || chr === '\r' || chr === '\f') {
6921 -1 result = true;
6922 -1 pos++;
6923 -1 chr = str.charAt(pos);
-1 7294 return false;
-1 7295 } catch (e) {
-1 7296 return undefined;
-1 7297 }
-1 7298 }
-1 7299 __webpack_exports__['default'] = hiddenExplicitLabelEvaluate;
-1 7300 },
-1 7301 './lib/checks/label/implicit-evaluate.js': function libChecksLabelImplicitEvaluateJs(module, __webpack_exports__, __webpack_require__) {
-1 7302 'use strict';
-1 7303 __webpack_require__.r(__webpack_exports__);
-1 7304 var _core_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/core/utils/index.js');
-1 7305 var _commons_text__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/commons/text/index.js');
-1 7306 function implicitEvaluate(node, options, virtualNode) {
-1 7307 try {
-1 7308 var label = Object(_core_utils__WEBPACK_IMPORTED_MODULE_0__['closest'])(virtualNode, 'label');
-1 7309 if (label) {
-1 7310 return !!Object(_commons_text__WEBPACK_IMPORTED_MODULE_1__['accessibleTextVirtual'])(label, {
-1 7311 inControlContext: true
-1 7312 });
6924 7313 }
6925 -1 return result;
6926 -1 };
6927 -1 this.parse = function() {
6928 -1 var res = this.parseSelector();
6929 -1 if (pos < l) {
6930 -1 throw Error('Rule expected but "' + str.charAt(pos) + '" found.');
-1 7314 return false;
-1 7315 } catch (e) {
-1 7316 return undefined;
-1 7317 }
-1 7318 }
-1 7319 __webpack_exports__['default'] = implicitEvaluate;
-1 7320 },
-1 7321 './lib/checks/label/label-content-name-mismatch-evaluate.js': function libChecksLabelLabelContentNameMismatchEvaluateJs(module, __webpack_exports__, __webpack_require__) {
-1 7322 'use strict';
-1 7323 __webpack_require__.r(__webpack_exports__);
-1 7324 var _commons_text__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/text/index.js');
-1 7325 function isStringContained(compare, compareWith) {
-1 7326 var curatedCompareWith = curateString(compareWith);
-1 7327 var curatedCompare = curateString(compare);
-1 7328 if (!curatedCompareWith || !curatedCompare) {
-1 7329 return false;
-1 7330 }
-1 7331 return curatedCompareWith.includes(curatedCompare);
-1 7332 }
-1 7333 function curateString(str) {
-1 7334 var noUnicodeStr = Object(_commons_text__WEBPACK_IMPORTED_MODULE_0__['removeUnicode'])(str, {
-1 7335 emoji: true,
-1 7336 nonBmp: true,
-1 7337 punctuations: true
-1 7338 });
-1 7339 return Object(_commons_text__WEBPACK_IMPORTED_MODULE_0__['sanitize'])(noUnicodeStr);
-1 7340 }
-1 7341 function labelContentNameMismatchEvaluate(node, options, virtualNode) {
-1 7342 var _ref6 = options || {}, pixelThreshold = _ref6.pixelThreshold, occuranceThreshold = _ref6.occuranceThreshold;
-1 7343 var accText = Object(_commons_text__WEBPACK_IMPORTED_MODULE_0__['accessibleText'])(node).toLowerCase();
-1 7344 if (Object(_commons_text__WEBPACK_IMPORTED_MODULE_0__['isHumanInterpretable'])(accText) < 1) {
-1 7345 return undefined;
-1 7346 }
-1 7347 var textVNodes = Object(_commons_text__WEBPACK_IMPORTED_MODULE_0__['visibleTextNodes'])(virtualNode);
-1 7348 var nonLigatureText = textVNodes.filter(function(textVNode) {
-1 7349 return !Object(_commons_text__WEBPACK_IMPORTED_MODULE_0__['isIconLigature'])(textVNode, pixelThreshold, occuranceThreshold);
-1 7350 }).map(function(textVNode) {
-1 7351 return textVNode.actualNode.nodeValue;
-1 7352 }).join('');
-1 7353 var visibleText = Object(_commons_text__WEBPACK_IMPORTED_MODULE_0__['sanitize'])(nonLigatureText).toLowerCase();
-1 7354 if (!visibleText) {
-1 7355 return true;
-1 7356 }
-1 7357 if (Object(_commons_text__WEBPACK_IMPORTED_MODULE_0__['isHumanInterpretable'])(visibleText) < 1) {
-1 7358 if (isStringContained(visibleText, accText)) {
-1 7359 return true;
6931 7360 }
6932 -1 return res;
6933 -1 };
6934 -1 this.parseSelector = function() {
6935 -1 var res;
6936 -1 var selector = res = this.parseSingleSelector();
6937 -1 chr = str.charAt(pos);
6938 -1 while (chr === ',') {
6939 -1 pos++;
6940 -1 skipWhitespace();
6941 -1 if (res.type !== 'selectors') {
6942 -1 res = {
6943 -1 type: 'selectors',
6944 -1 selectors: [ selector ]
6945 -1 };
6946 -1 }
6947 -1 selector = this.parseSingleSelector();
6948 -1 if (!selector) {
6949 -1 throw Error('Rule expected after ",".');
6950 -1 }
6951 -1 res.selectors.push(selector);
-1 7361 return undefined;
-1 7362 }
-1 7363 return isStringContained(visibleText, accText);
-1 7364 }
-1 7365 __webpack_exports__['default'] = labelContentNameMismatchEvaluate;
-1 7366 },
-1 7367 './lib/checks/label/multiple-label-evaluate.js': function libChecksLabelMultipleLabelEvaluateJs(module, __webpack_exports__, __webpack_require__) {
-1 7368 'use strict';
-1 7369 __webpack_require__.r(__webpack_exports__);
-1 7370 var _commons_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/dom/index.js');
-1 7371 var _core_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/core/utils/index.js');
-1 7372 function multipleLabelEvaluate(node) {
-1 7373 var id = Object(_core_utils__WEBPACK_IMPORTED_MODULE_1__['escapeSelector'])(node.getAttribute('id'));
-1 7374 var parent = node.parentNode;
-1 7375 var root = Object(_commons_dom__WEBPACK_IMPORTED_MODULE_0__['getRootNode'])(node);
-1 7376 root = root.documentElement || root;
-1 7377 var labels = Array.from(root.querySelectorAll('label[for="'.concat(id, '"]')));
-1 7378 if (labels.length) {
-1 7379 labels = labels.filter(function(label) {
-1 7380 return Object(_commons_dom__WEBPACK_IMPORTED_MODULE_0__['isVisible'])(label);
-1 7381 });
-1 7382 }
-1 7383 while (parent) {
-1 7384 if (parent.nodeName.toUpperCase() === 'LABEL' && labels.indexOf(parent) === -1) {
-1 7385 labels.push(parent);
6952 7386 }
6953 -1 return res;
6954 -1 };
6955 -1 this.parseSingleSelector = function() {
6956 -1 skipWhitespace();
6957 -1 var selector = {
6958 -1 type: 'ruleSet'
-1 7387 parent = parent.parentNode;
-1 7388 }
-1 7389 this.relatedNodes(labels);
-1 7390 if (labels.length > 1) {
-1 7391 var ATVisibleLabels = labels.filter(function(label) {
-1 7392 return Object(_commons_dom__WEBPACK_IMPORTED_MODULE_0__['isVisible'])(label, true);
-1 7393 });
-1 7394 if (ATVisibleLabels.length > 1) {
-1 7395 return undefined;
-1 7396 }
-1 7397 var labelledby = Object(_commons_dom__WEBPACK_IMPORTED_MODULE_0__['idrefs'])(node, 'aria-labelledby');
-1 7398 return !labelledby.includes(ATVisibleLabels[0]) ? undefined : false;
-1 7399 }
-1 7400 return false;
-1 7401 }
-1 7402 __webpack_exports__['default'] = multipleLabelEvaluate;
-1 7403 },
-1 7404 './lib/checks/label/title-only-evaluate.js': function libChecksLabelTitleOnlyEvaluateJs(module, __webpack_exports__, __webpack_require__) {
-1 7405 'use strict';
-1 7406 __webpack_require__.r(__webpack_exports__);
-1 7407 var _commons_text__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/text/index.js');
-1 7408 function titleOnlyEvaluate(node, options, virtualNode) {
-1 7409 var labelText = Object(_commons_text__WEBPACK_IMPORTED_MODULE_0__['labelVirtual'])(virtualNode);
-1 7410 var title = Object(_commons_text__WEBPACK_IMPORTED_MODULE_0__['titleText'])(virtualNode);
-1 7411 var ariaDescribedBy = virtualNode.attr('aria-describedby');
-1 7412 return !labelText && !!(title || ariaDescribedBy);
-1 7413 }
-1 7414 __webpack_exports__['default'] = titleOnlyEvaluate;
-1 7415 },
-1 7416 './lib/checks/landmarks/landmark-is-unique-after.js': function libChecksLandmarksLandmarkIsUniqueAfterJs(module, __webpack_exports__, __webpack_require__) {
-1 7417 'use strict';
-1 7418 __webpack_require__.r(__webpack_exports__);
-1 7419 function landmarkIsUniqueAfter(results) {
-1 7420 var uniqueLandmarks = [];
-1 7421 return results.filter(function(currentResult) {
-1 7422 var findMatch = function findMatch(someResult) {
-1 7423 return currentResult.data.role === someResult.data.role && currentResult.data.accessibleText === someResult.data.accessibleText;
6959 7424 };
6960 -1 var rule = this.parseRule();
6961 -1 if (!rule) {
6962 -1 return null;
-1 7425 var matchedResult = uniqueLandmarks.find(findMatch);
-1 7426 if (matchedResult) {
-1 7427 matchedResult.result = false;
-1 7428 matchedResult.relatedNodes.push(currentResult.relatedNodes[0]);
-1 7429 return false;
6963 7430 }
6964 -1 var currentRule = selector;
6965 -1 while (rule) {
6966 -1 rule.type = 'rule';
6967 -1 currentRule.rule = rule;
6968 -1 currentRule = rule;
6969 -1 skipWhitespace();
6970 -1 chr = str.charAt(pos);
6971 -1 if (pos >= l || chr === ',' || chr === ')') {
6972 -1 break;
6973 -1 }
6974 -1 if (ruleNestingOperators[chr]) {
6975 -1 var op = chr;
6976 -1 pos++;
6977 -1 skipWhitespace();
6978 -1 rule = this.parseRule();
6979 -1 if (!rule) {
6980 -1 throw Error('Rule expected after "' + op + '".');
6981 -1 }
6982 -1 rule.nestingOperator = op;
6983 -1 } else {
6984 -1 rule = this.parseRule();
6985 -1 if (rule) {
6986 -1 rule.nestingOperator = null;
-1 7431 uniqueLandmarks.push(currentResult);
-1 7432 currentResult.relatedNodes = [];
-1 7433 return true;
-1 7434 });
-1 7435 }
-1 7436 __webpack_exports__['default'] = landmarkIsUniqueAfter;
-1 7437 },
-1 7438 './lib/checks/landmarks/landmark-is-unique-evaluate.js': function libChecksLandmarksLandmarkIsUniqueEvaluateJs(module, __webpack_exports__, __webpack_require__) {
-1 7439 'use strict';
-1 7440 __webpack_require__.r(__webpack_exports__);
-1 7441 var _commons_aria__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/aria/index.js');
-1 7442 var _commons_text__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/commons/text/index.js');
-1 7443 function landmarkIsUniqueEvaluate(node, options, virtualNode) {
-1 7444 var role = Object(_commons_aria__WEBPACK_IMPORTED_MODULE_0__['getRole'])(node);
-1 7445 var accessibleText = Object(_commons_text__WEBPACK_IMPORTED_MODULE_1__['accessibleTextVirtual'])(virtualNode);
-1 7446 accessibleText = accessibleText ? accessibleText.toLowerCase() : null;
-1 7447 this.data({
-1 7448 role: role,
-1 7449 accessibleText: accessibleText
-1 7450 });
-1 7451 this.relatedNodes([ node ]);
-1 7452 return true;
-1 7453 }
-1 7454 __webpack_exports__['default'] = landmarkIsUniqueEvaluate;
-1 7455 },
-1 7456 './lib/checks/language/has-lang-evaluate.js': function libChecksLanguageHasLangEvaluateJs(module, __webpack_exports__, __webpack_require__) {
-1 7457 'use strict';
-1 7458 __webpack_require__.r(__webpack_exports__);
-1 7459 var _core_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/core/utils/index.js');
-1 7460 function hasValue(value) {
-1 7461 return (value || '').trim() !== '';
-1 7462 }
-1 7463 function hasLangEvaluate(node, options, virtualNode) {
-1 7464 if (options.attributes.includes('xml:lang') && options.attributes.includes('lang') && hasValue(virtualNode.attr('xml:lang')) && !hasValue(virtualNode.attr('lang')) && !Object(_core_utils__WEBPACK_IMPORTED_MODULE_0__['isXHTML'])(document)) {
-1 7465 this.data({
-1 7466 messageKey: 'noXHTML'
-1 7467 });
-1 7468 return false;
-1 7469 }
-1 7470 var hasLang = options.attributes.some(function(name) {
-1 7471 return hasValue(virtualNode.attr(name));
-1 7472 });
-1 7473 if (!hasLang) {
-1 7474 this.data({
-1 7475 messageKey: 'noLang'
-1 7476 });
-1 7477 return false;
-1 7478 }
-1 7479 return true;
-1 7480 }
-1 7481 __webpack_exports__['default'] = hasLangEvaluate;
-1 7482 },
-1 7483 './lib/checks/language/valid-lang-evaluate.js': function libChecksLanguageValidLangEvaluateJs(module, __webpack_exports__, __webpack_require__) {
-1 7484 'use strict';
-1 7485 __webpack_require__.r(__webpack_exports__);
-1 7486 var _core_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/core/utils/index.js');
-1 7487 var _commons_text__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/commons/text/index.js');
-1 7488 function validLangEvaluate(node, options, virtualNode) {
-1 7489 var langs = (options.value ? options.value : Object(_core_utils__WEBPACK_IMPORTED_MODULE_0__['validLangs'])()).map(_core_utils__WEBPACK_IMPORTED_MODULE_0__['getBaseLang']);
-1 7490 var invalid = [];
-1 7491 options.attributes.forEach(function(langAttr) {
-1 7492 var langVal = virtualNode.attr(langAttr);
-1 7493 if (typeof langVal !== 'string') {
-1 7494 return;
-1 7495 }
-1 7496 var baselangVal = Object(_core_utils__WEBPACK_IMPORTED_MODULE_0__['getBaseLang'])(langVal);
-1 7497 if (baselangVal !== '' && langs.indexOf(baselangVal) === -1 || langVal !== '' && !Object(_commons_text__WEBPACK_IMPORTED_MODULE_1__['sanitize'])(langVal)) {
-1 7498 invalid.push(langAttr + '="' + virtualNode.attr(langAttr) + '"');
-1 7499 }
-1 7500 });
-1 7501 if (invalid.length) {
-1 7502 this.data(invalid);
-1 7503 return true;
-1 7504 }
-1 7505 return false;
-1 7506 }
-1 7507 __webpack_exports__['default'] = validLangEvaluate;
-1 7508 },
-1 7509 './lib/checks/language/xml-lang-mismatch-evaluate.js': function libChecksLanguageXmlLangMismatchEvaluateJs(module, __webpack_exports__, __webpack_require__) {
-1 7510 'use strict';
-1 7511 __webpack_require__.r(__webpack_exports__);
-1 7512 var _core_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/core/utils/index.js');
-1 7513 function xmlLangMismatchEvaluate(node, options, vNode) {
-1 7514 var primaryLangValue = Object(_core_utils__WEBPACK_IMPORTED_MODULE_0__['getBaseLang'])(vNode.attr('lang'));
-1 7515 var primaryXmlLangValue = Object(_core_utils__WEBPACK_IMPORTED_MODULE_0__['getBaseLang'])(vNode.attr('xml:lang'));
-1 7516 return primaryLangValue === primaryXmlLangValue;
-1 7517 }
-1 7518 __webpack_exports__['default'] = xmlLangMismatchEvaluate;
-1 7519 },
-1 7520 './lib/checks/lists/dlitem-evaluate.js': function libChecksListsDlitemEvaluateJs(module, __webpack_exports__, __webpack_require__) {
-1 7521 'use strict';
-1 7522 __webpack_require__.r(__webpack_exports__);
-1 7523 var _commons_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/dom/index.js');
-1 7524 var _commons_aria__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/commons/aria/index.js');
-1 7525 function dlitemEvaluate(node) {
-1 7526 var parent = Object(_commons_dom__WEBPACK_IMPORTED_MODULE_0__['getComposedParent'])(node);
-1 7527 var parentTagName = parent.nodeName.toUpperCase();
-1 7528 var parentRole = Object(_commons_aria__WEBPACK_IMPORTED_MODULE_1__['getExplicitRole'])(parent);
-1 7529 if (parentTagName === 'DIV' && [ 'presentation', 'none', null ].includes(parentRole)) {
-1 7530 parent = Object(_commons_dom__WEBPACK_IMPORTED_MODULE_0__['getComposedParent'])(parent);
-1 7531 parentTagName = parent.nodeName.toUpperCase();
-1 7532 parentRole = Object(_commons_aria__WEBPACK_IMPORTED_MODULE_1__['getExplicitRole'])(parent);
-1 7533 }
-1 7534 if (parentTagName !== 'DL') {
-1 7535 return false;
-1 7536 }
-1 7537 if (!parentRole || [ 'presentation', 'none', 'list' ].includes(parentRole)) {
-1 7538 return true;
-1 7539 }
-1 7540 return false;
-1 7541 }
-1 7542 __webpack_exports__['default'] = dlitemEvaluate;
-1 7543 },
-1 7544 './lib/checks/lists/listitem-evaluate.js': function libChecksListsListitemEvaluateJs(module, __webpack_exports__, __webpack_require__) {
-1 7545 'use strict';
-1 7546 __webpack_require__.r(__webpack_exports__);
-1 7547 var _commons_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/dom/index.js');
-1 7548 var _commons_aria__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/commons/aria/index.js');
-1 7549 function listitemEvaluate(node) {
-1 7550 var parent = Object(_commons_dom__WEBPACK_IMPORTED_MODULE_0__['getComposedParent'])(node);
-1 7551 if (!parent) {
-1 7552 return undefined;
-1 7553 }
-1 7554 var parentTagName = parent.nodeName.toUpperCase();
-1 7555 var parentRole = (parent.getAttribute('role') || '').toLowerCase();
-1 7556 if ([ 'presentation', 'none', 'list' ].includes(parentRole)) {
-1 7557 return true;
-1 7558 }
-1 7559 if (parentRole && Object(_commons_aria__WEBPACK_IMPORTED_MODULE_1__['isValidRole'])(parentRole)) {
-1 7560 this.data({
-1 7561 messageKey: 'roleNotValid'
-1 7562 });
-1 7563 return false;
-1 7564 }
-1 7565 return [ 'UL', 'OL' ].includes(parentTagName);
-1 7566 }
-1 7567 __webpack_exports__['default'] = listitemEvaluate;
-1 7568 },
-1 7569 './lib/checks/lists/only-dlitems-evaluate.js': function libChecksListsOnlyDlitemsEvaluateJs(module, __webpack_exports__, __webpack_require__) {
-1 7570 'use strict';
-1 7571 __webpack_require__.r(__webpack_exports__);
-1 7572 var _commons_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/dom/index.js');
-1 7573 var _commons_aria__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/commons/aria/index.js');
-1 7574 function onlyDlitemsEvaluate(node, options, virtualNode) {
-1 7575 var ALLOWED_ROLES = [ 'definition', 'term', 'list' ];
-1 7576 var base = {
-1 7577 badNodes: [],
-1 7578 hasNonEmptyTextNode: false
-1 7579 };
-1 7580 var content = virtualNode.children.reduce(function(content, child) {
-1 7581 var actualNode = child.actualNode;
-1 7582 if (actualNode.nodeName.toUpperCase() === 'DIV' && Object(_commons_aria__WEBPACK_IMPORTED_MODULE_1__['getRole'])(actualNode) === null) {
-1 7583 return content.concat(child.children);
-1 7584 }
-1 7585 return content.concat(child);
-1 7586 }, []);
-1 7587 var result = content.reduce(function(out, childNode) {
-1 7588 var actualNode = childNode.actualNode;
-1 7589 var tagName = actualNode.nodeName.toUpperCase();
-1 7590 if (actualNode.nodeType === 1 && Object(_commons_dom__WEBPACK_IMPORTED_MODULE_0__['isVisible'])(actualNode, true, false)) {
-1 7591 var explicitRole = Object(_commons_aria__WEBPACK_IMPORTED_MODULE_1__['getExplicitRole'])(actualNode);
-1 7592 if (tagName !== 'DT' && tagName !== 'DD' || explicitRole) {
-1 7593 if (!ALLOWED_ROLES.includes(explicitRole)) {
-1 7594 out.badNodes.push(actualNode);
6987 7595 }
6988 7596 }
-1 7597 } else if (actualNode.nodeType === 3 && actualNode.nodeValue.trim() !== '') {
-1 7598 out.hasNonEmptyTextNode = true;
6989 7599 }
6990 -1 return selector;
6991 -1 };
6992 -1 this.parseRule = function() {
6993 -1 var rule = null;
6994 -1 while (pos < l) {
6995 -1 chr = str.charAt(pos);
6996 -1 if (chr === '*') {
6997 -1 pos++;
6998 -1 (rule = rule || {}).tagName = '*';
6999 -1 } else if (isIdentStart(chr) || chr === '\\') {
7000 -1 (rule = rule || {}).tagName = getIdent();
7001 -1 } else if (chr === '.') {
7002 -1 pos++;
7003 -1 rule = rule || {};
7004 -1 (rule.classNames = rule.classNames || []).push(getIdent());
7005 -1 } else if (chr === '#') {
7006 -1 pos++;
7007 -1 (rule = rule || {}).id = getIdent();
7008 -1 } else if (chr === '[') {
7009 -1 pos++;
7010 -1 skipWhitespace();
7011 -1 var attr = {
7012 -1 name: getIdent()
7013 -1 };
7014 -1 skipWhitespace();
7015 -1 if (chr === ']') {
7016 -1 pos++;
7017 -1 } else {
7018 -1 var operator = '';
7019 -1 if (attrEqualityMods[chr]) {
7020 -1 operator = chr;
7021 -1 pos++;
7022 -1 chr = str.charAt(pos);
7023 -1 }
7024 -1 if (pos >= l) {
7025 -1 throw Error('Expected "=" but end of file reached.');
7026 -1 }
7027 -1 if (chr !== '=') {
7028 -1 throw Error('Expected "=" but "' + chr + '" found.');
7029 -1 }
7030 -1 attr.operator = operator + '=';
7031 -1 pos++;
7032 -1 skipWhitespace();
7033 -1 var attrValue = '';
7034 -1 attr.valueType = 'string';
7035 -1 if (chr === '"') {
7036 -1 attrValue = getStr('"', doubleQuotesEscapeChars);
7037 -1 } else if (chr === '\'') {
7038 -1 attrValue = getStr('\'', singleQuoteEscapeChars);
7039 -1 } else if (substitutesEnabled && chr === '$') {
7040 -1 pos++;
7041 -1 attrValue = getIdent();
7042 -1 attr.valueType = 'substitute';
7043 -1 } else {
7044 -1 while (pos < l) {
7045 -1 if (chr === ']') {
7046 -1 break;
7047 -1 }
7048 -1 attrValue += chr;
7049 -1 pos++;
7050 -1 chr = str.charAt(pos);
7051 -1 }
7052 -1 attrValue = attrValue.trim();
7053 -1 }
7054 -1 skipWhitespace();
7055 -1 if (pos >= l) {
7056 -1 throw Error('Expected "]" but end of file reached.');
7057 -1 }
7058 -1 if (chr !== ']') {
7059 -1 throw Error('Expected "]" but "' + chr + '" found.');
7060 -1 }
7061 -1 pos++;
7062 -1 attr.value = attrValue;
7063 -1 }
7064 -1 rule = rule || {};
7065 -1 (rule.attrs = rule.attrs || []).push(attr);
7066 -1 } else if (chr === ':') {
7067 -1 pos++;
7068 -1 var pseudoName = getIdent();
7069 -1 var pseudo = {
7070 -1 name: pseudoName
7071 -1 };
7072 -1 if (chr === '(') {
7073 -1 pos++;
7074 -1 var value = '';
7075 -1 skipWhitespace();
7076 -1 if (pseudos[pseudoName] === 'selector') {
7077 -1 pseudo.valueType = 'selector';
7078 -1 value = this.parseSelector();
7079 -1 } else {
7080 -1 pseudo.valueType = pseudos[pseudoName] || 'string';
7081 -1 if (chr === '"') {
7082 -1 value = getStr('"', doubleQuotesEscapeChars);
7083 -1 } else if (chr === '\'') {
7084 -1 value = getStr('\'', singleQuoteEscapeChars);
7085 -1 } else if (substitutesEnabled && chr === '$') {
7086 -1 pos++;
7087 -1 value = getIdent();
7088 -1 pseudo.valueType = 'substitute';
7089 -1 } else {
7090 -1 while (pos < l) {
7091 -1 if (chr === ')') {
7092 -1 break;
7093 -1 }
7094 -1 value += chr;
7095 -1 pos++;
7096 -1 chr = str.charAt(pos);
7097 -1 }
7098 -1 value = value.trim();
7099 -1 }
7100 -1 skipWhitespace();
7101 -1 }
7102 -1 if (pos >= l) {
7103 -1 throw Error('Expected ")" but end of file reached.');
7104 -1 }
7105 -1 if (chr !== ')') {
7106 -1 throw Error('Expected ")" but "' + chr + '" found.');
7107 -1 }
7108 -1 pos++;
7109 -1 pseudo.value = value;
7110 -1 }
7111 -1 rule = rule || {};
7112 -1 (rule.pseudos = rule.pseudos || []).push(pseudo);
7113 -1 } else {
7114 -1 break;
7115 -1 }
7116 -1 }
7117 -1 return rule;
7118 -1 };
7119 -1 return this;
-1 7600 return out;
-1 7601 }, base);
-1 7602 if (result.badNodes.length) {
-1 7603 this.relatedNodes(result.badNodes);
-1 7604 }
-1 7605 return !!result.badNodes.length || result.hasNonEmptyTextNode;
7120 7606 }
7121 -1 CssSelectorParser.prototype.parse = function(str) {
7122 -1 var context = new ParseContext(str, 0, this.pseudos, this.attrEqualityMods, this.ruleNestingOperators, this.substitutesEnabled);
7123 -1 return context.parse();
7124 -1 };
7125 -1 CssSelectorParser.prototype.escapeIdentifier = function(s) {
7126 -1 var result = '';
7127 -1 var i = 0;
7128 -1 var len = s.length;
7129 -1 while (i < len) {
7130 -1 var chr = s.charAt(i);
7131 -1 if (identSpecialChars[chr]) {
7132 -1 result += '\\' + chr;
7133 -1 } else {
7134 -1 if (!(chr === '_' || chr === '-' || chr >= 'A' && chr <= 'Z' || chr >= 'a' && chr <= 'z' || i !== 0 && chr >= '0' && chr <= '9')) {
7135 -1 var charCode = chr.charCodeAt(0);
7136 -1 if ((charCode & 63488) === 55296) {
7137 -1 var extraCharCode = s.charCodeAt(i++);
7138 -1 if ((charCode & 64512) !== 55296 || (extraCharCode & 64512) !== 56320) {
7139 -1 throw Error('UCS-2(decode): illegal sequence');
7140 -1 }
7141 -1 charCode = ((charCode & 1023) << 10) + (extraCharCode & 1023) + 65536;
7142 -1 }
7143 -1 result += '\\' + charCode.toString(16) + ' ';
7144 -1 } else {
7145 -1 result += chr;
7146 -1 }
-1 7607 __webpack_exports__['default'] = onlyDlitemsEvaluate;
-1 7608 },
-1 7609 './lib/checks/lists/only-listitems-evaluate.js': function libChecksListsOnlyListitemsEvaluateJs(module, __webpack_exports__, __webpack_require__) {
-1 7610 'use strict';
-1 7611 __webpack_require__.r(__webpack_exports__);
-1 7612 var _commons_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/dom/index.js');
-1 7613 var _commons_aria__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/commons/aria/index.js');
-1 7614 function onlyListitemsEvaluate(node, options, virtualNode) {
-1 7615 var hasNonEmptyTextNode = false;
-1 7616 var atLeastOneListitem = false;
-1 7617 var isEmpty = true;
-1 7618 var badNodes = [];
-1 7619 var badRoleNodes = [];
-1 7620 var badRoles = [];
-1 7621 virtualNode.children.forEach(function(vNode) {
-1 7622 var actualNode = vNode.actualNode;
-1 7623 if (actualNode.nodeType === 3 && actualNode.nodeValue.trim() !== '') {
-1 7624 hasNonEmptyTextNode = true;
-1 7625 return;
7147 7626 }
7148 -1 i++;
7149 -1 }
7150 -1 return result;
7151 -1 };
7152 -1 CssSelectorParser.prototype.escapeStr = function(s) {
7153 -1 var result = '';
7154 -1 var i = 0;
7155 -1 var len = s.length;
7156 -1 var chr, replacement;
7157 -1 while (i < len) {
7158 -1 chr = s.charAt(i);
7159 -1 if (chr === '"') {
7160 -1 chr = '\\"';
7161 -1 } else if (chr === '\\') {
7162 -1 chr = '\\\\';
7163 -1 } else if (replacement = strReplacementsRev[chr]) {
7164 -1 chr = replacement;
-1 7627 if (actualNode.nodeType !== 1 || !Object(_commons_dom__WEBPACK_IMPORTED_MODULE_0__['isVisible'])(actualNode, true, false)) {
-1 7628 return;
7165 7629 }
7166 -1 result += chr;
7167 -1 i++;
7168 -1 }
7169 -1 return '"' + result + '"';
7170 -1 };
7171 -1 CssSelectorParser.prototype.render = function(path) {
7172 -1 return this._renderEntity(path).trim();
7173 -1 };
7174 -1 CssSelectorParser.prototype._renderEntity = function(entity) {
7175 -1 var currentEntity, parts, res;
7176 -1 res = '';
7177 -1 switch (entity.type) {
7178 -1 case 'ruleSet':
7179 -1 currentEntity = entity.rule;
7180 -1 parts = [];
7181 -1 while (currentEntity) {
7182 -1 if (currentEntity.nestingOperator) {
7183 -1 parts.push(currentEntity.nestingOperator);
7184 -1 }
7185 -1 parts.push(this._renderEntity(currentEntity));
7186 -1 currentEntity = currentEntity.rule;
-1 7630 isEmpty = false;
-1 7631 var isLi = actualNode.nodeName.toUpperCase() === 'LI';
-1 7632 var role = Object(_commons_aria__WEBPACK_IMPORTED_MODULE_1__['getRole'])(vNode);
-1 7633 var isListItemRole = role === 'listitem';
-1 7634 if (!isLi && !isListItemRole) {
-1 7635 badNodes.push(actualNode);
7187 7636 }
7188 -1 res = parts.join(' ');
7189 -1 break;
7190 -1
7191 -1 case 'selectors':
7192 -1 res = entity.selectors.map(this._renderEntity, this).join(', ');
7193 -1 break;
7194 -1
7195 -1 case 'rule':
7196 -1 if (entity.tagName) {
7197 -1 if (entity.tagName === '*') {
7198 -1 res = '*';
7199 -1 } else {
7200 -1 res = this.escapeIdentifier(entity.tagName);
-1 7637 if (isLi && !isListItemRole) {
-1 7638 badRoleNodes.push(actualNode);
-1 7639 if (!badRoles.includes(role)) {
-1 7640 badRoles.push(role);
7201 7641 }
7202 7642 }
7203 -1 if (entity.id) {
7204 -1 res += '#' + this.escapeIdentifier(entity.id);
7205 -1 }
7206 -1 if (entity.classNames) {
7207 -1 res += entity.classNames.map(function(cn) {
7208 -1 return '.' + this.escapeIdentifier(cn);
7209 -1 }, this).join('');
7210 -1 }
7211 -1 if (entity.attrs) {
7212 -1 res += entity.attrs.map(function(attr) {
7213 -1 if (attr.operator) {
7214 -1 if (attr.valueType === 'substitute') {
7215 -1 return '[' + this.escapeIdentifier(attr.name) + attr.operator + '$' + attr.value + ']';
7216 -1 } else {
7217 -1 return '[' + this.escapeIdentifier(attr.name) + attr.operator + this.escapeStr(attr.value) + ']';
7218 -1 }
7219 -1 } else {
7220 -1 return '[' + this.escapeIdentifier(attr.name) + ']';
7221 -1 }
7222 -1 }, this).join('');
7223 -1 }
7224 -1 if (entity.pseudos) {
7225 -1 res += entity.pseudos.map(function(pseudo) {
7226 -1 if (pseudo.valueType) {
7227 -1 if (pseudo.valueType === 'selector') {
7228 -1 return ':' + this.escapeIdentifier(pseudo.name) + '(' + this._renderEntity(pseudo.value) + ')';
7229 -1 } else if (pseudo.valueType === 'substitute') {
7230 -1 return ':' + this.escapeIdentifier(pseudo.name) + '($' + pseudo.value + ')';
7231 -1 } else if (pseudo.valueType === 'numeric') {
7232 -1 return ':' + this.escapeIdentifier(pseudo.name) + '(' + pseudo.value + ')';
7233 -1 } else {
7234 -1 return ':' + this.escapeIdentifier(pseudo.name) + '(' + this.escapeIdentifier(pseudo.value) + ')';
7235 -1 }
7236 -1 } else {
7237 -1 return ':' + this.escapeIdentifier(pseudo.name);
7238 -1 }
7239 -1 }, this).join('');
-1 7643 if (isListItemRole) {
-1 7644 atLeastOneListitem = true;
7240 7645 }
7241 -1 break;
7242 -1
7243 -1 default:
7244 -1 throw Error('Unknown entity type: "' + entity.type(+'".'));
7245 -1 }
7246 -1 return res;
7247 -1 };
7248 -1 exports.CssSelectorParser = CssSelectorParser;
7249 -1 }, {} ],
7250 -1 29: [ function(_dereq_, module, exports) {
7251 -1 (function() {
7252 -1 'use strict';
7253 -1 var doT = {
7254 -1 name: 'doT',
7255 -1 version: '1.1.1',
7256 -1 templateSettings: {
7257 -1 evaluate: /\{\{([\s\S]+?(\}?)+)\}\}/g,
7258 -1 interpolate: /\{\{=([\s\S]+?)\}\}/g,
7259 -1 encode: /\{\{!([\s\S]+?)\}\}/g,
7260 -1 use: /\{\{#([\s\S]+?)\}\}/g,
7261 -1 useParams: /(^|[^\w$])def(?:\.|\[[\'\"])([\w$\.]+)(?:[\'\"]\])?\s*\:\s*([\w$\.]+|\"[^\"]+\"|\'[^\']+\'|\{[^\}]+\})/g,
7262 -1 define: /\{\{##\s*([\w\.$]+)\s*(\:|=)([\s\S]+?)#\}\}/g,
7263 -1 defineParams: /^\s*([\w$]+):([\s\S]+)/,
7264 -1 conditional: /\{\{\?(\?)?\s*([\s\S]*?)\s*\}\}/g,
7265 -1 iterate: /\{\{~\s*(?:\}\}|([\s\S]+?)\s*\:\s*([\w$]+)\s*(?:\:\s*([\w$]+))?\s*\}\})/g,
7266 -1 varname: 'it',
7267 -1 strip: true,
7268 -1 append: true,
7269 -1 selfcontained: false,
7270 -1 doNotSkipEncoded: false
7271 -1 },
7272 -1 template: undefined,
7273 -1 compile: undefined,
7274 -1 log: true
7275 -1 }, _globals;
7276 -1 doT.encodeHTMLSource = function(doNotSkipEncoded) {
7277 -1 var encodeHTMLRules = {
7278 -1 '&': '&',
7279 -1 '<': '<',
7280 -1 '>': '>',
7281 -1 '"': '"',
7282 -1 '\'': ''',
7283 -1 '/': '/'
7284 -1 }, matchHTML = doNotSkipEncoded ? /[&<>"'\/]/g : /&(?!#?\w+;)|<|>|"|'|\//g;
7285 -1 return function(code) {
7286 -1 return code ? code.toString().replace(matchHTML, function(m) {
7287 -1 return encodeHTMLRules[m] || m;
7288 -1 }) : '';
7289 -1 };
7290 -1 };
7291 -1 _globals = function() {
7292 -1 return this || (0, eval)('this');
7293 -1 }();
7294 -1 if (typeof module !== 'undefined' && module.exports) {
7295 -1 module.exports = doT;
7296 -1 } else if (typeof define === 'function' && define.amd) {
7297 -1 define(function() {
7298 -1 return doT;
7299 -1 });
7300 -1 } else {
7301 -1 _globals.doT = doT;
-1 7646 });
-1 7647 if (hasNonEmptyTextNode || badNodes.length) {
-1 7648 this.relatedNodes(badNodes);
-1 7649 return true;
7302 7650 }
7303 -1 var startend = {
7304 -1 append: {
7305 -1 start: '\'+(',
7306 -1 end: ')+\'',
7307 -1 startencode: '\'+encodeHTML('
7308 -1 },
7309 -1 split: {
7310 -1 start: '\';out+=(',
7311 -1 end: ');out+=\'',
7312 -1 startencode: '\';out+=encodeHTML('
7313 -1 }
7314 -1 }, skip = /$^/;
7315 -1 function resolveDefs(c, block, def) {
7316 -1 return (typeof block === 'string' ? block : block.toString()).replace(c.define || skip, function(m, code, assign, value) {
7317 -1 if (code.indexOf('def.') === 0) {
7318 -1 code = code.substring(4);
7319 -1 }
7320 -1 if (!(code in def)) {
7321 -1 if (assign === ':') {
7322 -1 if (c.defineParams) {
7323 -1 value.replace(c.defineParams, function(m, param, v) {
7324 -1 def[code] = {
7325 -1 arg: param,
7326 -1 text: v
7327 -1 };
7328 -1 });
7329 -1 }
7330 -1 if (!(code in def)) {
7331 -1 def[code] = value;
7332 -1 }
7333 -1 } else {
7334 -1 new Function('def', 'def[\'' + code + '\']=' + value)(def);
7335 -1 }
7336 -1 }
7337 -1 return '';
7338 -1 }).replace(c.use || skip, function(m, code) {
7339 -1 if (c.useParams) {
7340 -1 code = code.replace(c.useParams, function(m, s, d, param) {
7341 -1 if (def[d] && def[d].arg && param) {
7342 -1 var rw = (d + ':' + param).replace(/'|\\/g, '_');
7343 -1 def.__exp = def.__exp || {};
7344 -1 def.__exp[rw] = def[d].text.replace(new RegExp('(^|[^\\w$])' + def[d].arg + '([^\\w$])', 'g'), '$1' + param + '$2');
7345 -1 return s + 'def.__exp[\'' + rw + '\']';
7346 -1 }
7347 -1 });
7348 -1 }
7349 -1 var v = new Function('def', 'return ' + code)(def);
7350 -1 return v ? resolveDefs(c, v, def) : v;
7351 -1 });
-1 7651 if (isEmpty || atLeastOneListitem) {
-1 7652 return false;
7352 7653 }
7353 -1 function unescape(code) {
7354 -1 return code.replace(/\\('|\\)/g, '$1').replace(/[\r\t\n]/g, ' ');
7355 -1 }
7356 -1 doT.template = function(tmpl, c, def) {
7357 -1 c = c || doT.templateSettings;
7358 -1 var cse = c.append ? startend.append : startend.split, needhtmlencode, sid = 0, indv, str = c.use || c.define ? resolveDefs(c, tmpl, def || {}) : tmpl;
7359 -1 str = ('var out=\'' + (c.strip ? str.replace(/(^|\r|\n)\t* +| +\t*(\r|\n|$)/g, ' ').replace(/\r|\n|\t|\/\*[\s\S]*?\*\//g, '') : str).replace(/'|\\/g, '\\$&').replace(c.interpolate || skip, function(m, code) {
7360 -1 return cse.start + unescape(code) + cse.end;
7361 -1 }).replace(c.encode || skip, function(m, code) {
7362 -1 needhtmlencode = true;
7363 -1 return cse.startencode + unescape(code) + cse.end;
7364 -1 }).replace(c.conditional || skip, function(m, elsecase, code) {
7365 -1 return elsecase ? code ? '\';}else if(' + unescape(code) + '){out+=\'' : '\';}else{out+=\'' : code ? '\';if(' + unescape(code) + '){out+=\'' : '\';}out+=\'';
7366 -1 }).replace(c.iterate || skip, function(m, iterate, vname, iname) {
7367 -1 if (!iterate) {
7368 -1 return '\';} } out+=\'';
7369 -1 }
7370 -1 sid += 1;
7371 -1 indv = iname || 'i' + sid;
7372 -1 iterate = unescape(iterate);
7373 -1 return '\';var arr' + sid + '=' + iterate + ';if(arr' + sid + '){var ' + vname + ',' + indv + '=-1,l' + sid + '=arr' + sid + '.length-1;while(' + indv + '<l' + sid + '){' + vname + '=arr' + sid + '[' + indv + '+=1];out+=\'';
7374 -1 }).replace(c.evaluate || skip, function(m, code) {
7375 -1 return '\';' + unescape(code) + 'out+=\'';
7376 -1 }) + '\';return out;').replace(/\n/g, '\\n').replace(/\t/g, '\\t').replace(/\r/g, '\\r').replace(/(\s|;|\}|^|\{)out\+='';/g, '$1').replace(/\+''/g, '');
7377 -1 if (needhtmlencode) {
7378 -1 if (!c.selfcontained && _globals && !_globals._encodeHTML) {
7379 -1 _globals._encodeHTML = doT.encodeHTMLSource(c.doNotSkipEncoded);
7380 -1 }
7381 -1 str = 'var encodeHTML = typeof _encodeHTML !== \'undefined\' ? _encodeHTML : (' + doT.encodeHTMLSource.toString() + '(' + (c.doNotSkipEncoded || '') + '));' + str;
7382 -1 }
7383 -1 try {
7384 -1 return new Function(c.varname, str);
7385 -1 } catch (e) {
7386 -1 if (typeof console !== 'undefined') {
7387 -1 console.log('Could not create a template function: ' + str);
7388 -1 }
7389 -1 throw e;
7390 -1 }
7391 -1 };
7392 -1 doT.compile = function(tmpl, def) {
7393 -1 return doT.template(tmpl, null, def);
7394 -1 };
7395 -1 })();
7396 -1 }, {} ],
7397 -1 30: [ function(_dereq_, module, exports) {
-1 7654 this.relatedNodes(badRoleNodes);
-1 7655 this.data({
-1 7656 messageKey: 'roleNotValid',
-1 7657 roles: badRoles.join(', ')
-1 7658 });
-1 7659 return true;
-1 7660 }
-1 7661 __webpack_exports__['default'] = onlyListitemsEvaluate;
-1 7662 },
-1 7663 './lib/checks/lists/structured-dlitems-evaluate.js': function libChecksListsStructuredDlitemsEvaluateJs(module, __webpack_exports__, __webpack_require__) {
7398 7664 'use strict';
7399 -1 module.exports = function() {
7400 -1 return /\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F|\uD83D\uDC68(?:\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68\uD83C\uDFFB|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|[\u2695\u2696\u2708]\uFE0F|\uD83D[\uDC66\uDC67]|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708])\uFE0F|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C[\uDFFB-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)\uD83C\uDFFB|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB\uDFFC])|\uD83D\uDC69(?:\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB-\uDFFD])|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|(?:(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)\uFE0F|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\u200D[\u2640\u2642])|\uD83C\uDFF4\u200D\u2620)\uFE0F|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF4\uD83C\uDDF2|\uD83C\uDDF6\uD83C\uDDE6|[#\*0-9]\uFE0F\u20E3|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270A-\u270D]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC70\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDCAA\uDD74\uDD7A\uDD90\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD36\uDDB5\uDDB6\uDDBB\uDDD2-\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5\uDEEB\uDEEC\uDEF4-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g;
7401 -1 };
7402 -1 }, {} ],
7403 -1 31: [ function(_dereq_, module, exports) {
7404 -1 (function(process, global) {
7405 -1 (function(global, factory) {
7406 -1 typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : typeof define === 'function' && define.amd ? define(factory) : global.ES6Promise = factory();
7407 -1 })(this, function() {
7408 -1 'use strict';
7409 -1 function objectOrFunction(x) {
7410 -1 var type = typeof x;
7411 -1 return x !== null && (type === 'object' || type === 'function');
-1 7665 __webpack_require__.r(__webpack_exports__);
-1 7666 function structuredDlitemsEvaluate(node, options, virtualNode) {
-1 7667 var children = virtualNode.children;
-1 7668 if (!children || !children.length) {
-1 7669 return false;
-1 7670 }
-1 7671 var hasDt = false, hasDd = false, nodeName;
-1 7672 for (var i = 0; i < children.length; i++) {
-1 7673 nodeName = children[i].props.nodeName.toUpperCase();
-1 7674 if (nodeName === 'DT') {
-1 7675 hasDt = true;
7412 7676 }
7413 -1 function isFunction(x) {
7414 -1 return typeof x === 'function';
-1 7677 if (hasDt && nodeName === 'DD') {
-1 7678 return false;
7415 7679 }
7416 -1 var _isArray = void 0;
7417 -1 if (Array.isArray) {
7418 -1 _isArray = Array.isArray;
7419 -1 } else {
7420 -1 _isArray = function(x) {
7421 -1 return Object.prototype.toString.call(x) === '[object Array]';
7422 -1 };
-1 7680 if (nodeName === 'DD') {
-1 7681 hasDd = true;
7423 7682 }
7424 -1 var isArray = _isArray;
7425 -1 var len = 0;
7426 -1 var vertxNext = void 0;
7427 -1 var customSchedulerFn = void 0;
7428 -1 var asap = function asap(callback, arg) {
7429 -1 queue[len] = callback;
7430 -1 queue[len + 1] = arg;
7431 -1 len += 2;
7432 -1 if (len === 2) {
7433 -1 if (customSchedulerFn) {
7434 -1 customSchedulerFn(flush);
7435 -1 } else {
7436 -1 scheduleFlush();
7437 -1 }
7438 -1 }
7439 -1 };
7440 -1 function setScheduler(scheduleFn) {
7441 -1 customSchedulerFn = scheduleFn;
7442 -1 }
7443 -1 function setAsap(asapFn) {
7444 -1 asap = asapFn;
7445 -1 }
7446 -1 var browserWindow = typeof window !== 'undefined' ? window : undefined;
7447 -1 var browserGlobal = browserWindow || {};
7448 -1 var BrowserMutationObserver = browserGlobal.MutationObserver || browserGlobal.WebKitMutationObserver;
7449 -1 var isNode = typeof self === 'undefined' && typeof process !== 'undefined' && {}.toString.call(process) === '[object process]';
7450 -1 var isWorker = typeof Uint8ClampedArray !== 'undefined' && typeof importScripts !== 'undefined' && typeof MessageChannel !== 'undefined';
7451 -1 function useNextTick() {
7452 -1 return function() {
7453 -1 return process.nextTick(flush);
7454 -1 };
-1 7683 }
-1 7684 return hasDt || hasDd;
-1 7685 }
-1 7686 __webpack_exports__['default'] = structuredDlitemsEvaluate;
-1 7687 },
-1 7688 './lib/checks/media/caption-evaluate.js': function libChecksMediaCaptionEvaluateJs(module, __webpack_exports__, __webpack_require__) {
-1 7689 'use strict';
-1 7690 __webpack_require__.r(__webpack_exports__);
-1 7691 var _core_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/core/utils/index.js');
-1 7692 function captionEvaluate(node, options, virtualNode) {
-1 7693 var tracks = Object(_core_utils__WEBPACK_IMPORTED_MODULE_0__['querySelectorAll'])(virtualNode, 'track');
-1 7694 var hasCaptions = tracks.some(function(vNode) {
-1 7695 return (vNode.attr('kind') || '').toLowerCase() === 'captions';
-1 7696 });
-1 7697 return hasCaptions ? false : undefined;
-1 7698 }
-1 7699 __webpack_exports__['default'] = captionEvaluate;
-1 7700 },
-1 7701 './lib/checks/media/frame-tested-evaluate.js': function libChecksMediaFrameTestedEvaluateJs(module, __webpack_exports__, __webpack_require__) {
-1 7702 'use strict';
-1 7703 __webpack_require__.r(__webpack_exports__);
-1 7704 var _core_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/core/utils/index.js');
-1 7705 function frameTestedEvaluate(node, options) {
-1 7706 var resolve = this.async();
-1 7707 var _Object$assign = Object.assign({
-1 7708 isViolation: false,
-1 7709 timeout: 500
-1 7710 }, options), isViolation = _Object$assign.isViolation, timeout = _Object$assign.timeout;
-1 7711 var timer = setTimeout(function() {
-1 7712 timer = setTimeout(function() {
-1 7713 timer = null;
-1 7714 resolve(isViolation ? false : undefined);
-1 7715 }, 0);
-1 7716 }, timeout);
-1 7717 Object(_core_utils__WEBPACK_IMPORTED_MODULE_0__['respondable'])(node.contentWindow, 'axe.ping', null, undefined, function() {
-1 7718 if (timer !== null) {
-1 7719 clearTimeout(timer);
-1 7720 resolve(true);
7455 7721 }
7456 -1 function useVertxTimer() {
7457 -1 if (typeof vertxNext !== 'undefined') {
7458 -1 return function() {
7459 -1 vertxNext(flush);
7460 -1 };
7461 -1 }
7462 -1 return useSetTimeout();
-1 7722 });
-1 7723 }
-1 7724 __webpack_exports__['default'] = frameTestedEvaluate;
-1 7725 },
-1 7726 './lib/checks/media/no-autoplay-audio-evaluate.js': function libChecksMediaNoAutoplayAudioEvaluateJs(module, __webpack_exports__, __webpack_require__) {
-1 7727 'use strict';
-1 7728 __webpack_require__.r(__webpack_exports__);
-1 7729 function noAutoplayAudioEvaluate(node, options) {
-1 7730 if (!node.duration) {
-1 7731 console.warn('axe.utils.preloadMedia did not load metadata');
-1 7732 return undefined;
-1 7733 }
-1 7734 var _options$allowedDurat = options.allowedDuration, allowedDuration = _options$allowedDurat === void 0 ? 3 : _options$allowedDurat;
-1 7735 var playableDuration = getPlayableDuration(node);
-1 7736 if (playableDuration <= allowedDuration && !node.hasAttribute('loop')) {
-1 7737 return true;
-1 7738 }
-1 7739 if (!node.hasAttribute('controls')) {
-1 7740 return false;
-1 7741 }
-1 7742 return true;
-1 7743 function getPlayableDuration(elm) {
-1 7744 if (!elm.currentSrc) {
-1 7745 return 0;
7463 7746 }
7464 -1 function useMutationObserver() {
7465 -1 var iterations = 0;
7466 -1 var observer = new BrowserMutationObserver(flush);
7467 -1 var node = document.createTextNode('');
7468 -1 observer.observe(node, {
7469 -1 characterData: true
7470 -1 });
7471 -1 return function() {
7472 -1 node.data = iterations = ++iterations % 2;
7473 -1 };
-1 7747 var playbackRange = getPlaybackRange(elm.currentSrc);
-1 7748 if (!playbackRange) {
-1 7749 return Math.abs(elm.duration - (elm.currentTime || 0));
7474 7750 }
7475 -1 function useMessageChannel() {
7476 -1 var channel = new MessageChannel();
7477 -1 channel.port1.onmessage = flush;
7478 -1 return function() {
7479 -1 return channel.port2.postMessage(0);
7480 -1 };
-1 7751 if (playbackRange.length === 1) {
-1 7752 return Math.abs(elm.duration - playbackRange[0]);
7481 7753 }
7482 -1 function useSetTimeout() {
7483 -1 var globalSetTimeout = setTimeout;
7484 -1 return function() {
7485 -1 return globalSetTimeout(flush, 1);
7486 -1 };
-1 7754 return Math.abs(playbackRange[1] - playbackRange[0]);
-1 7755 }
-1 7756 function getPlaybackRange(src) {
-1 7757 var match = src.match(/#t=(.*)/);
-1 7758 if (!match) {
-1 7759 return;
7487 7760 }
7488 -1 var queue = new Array(1e3);
7489 -1 function flush() {
7490 -1 for (var i = 0; i < len; i += 2) {
7491 -1 var callback = queue[i];
7492 -1 var arg = queue[i + 1];
7493 -1 callback(arg);
7494 -1 queue[i] = undefined;
7495 -1 queue[i + 1] = undefined;
-1 7761 var _match = _slicedToArray(match, 2), value = _match[1];
-1 7762 var ranges = value.split(',');
-1 7763 return ranges.map(function(range) {
-1 7764 if (/:/.test(range)) {
-1 7765 return convertHourMinSecToSeconds(range);
7496 7766 }
7497 -1 len = 0;
7498 -1 }
7499 -1 function attemptVertx() {
7500 -1 try {
7501 -1 var vertx = Function('return this')().require('vertx');
7502 -1 vertxNext = vertx.runOnLoop || vertx.runOnContext;
7503 -1 return useVertxTimer();
7504 -1 } catch (e) {
7505 -1 return useSetTimeout();
7506 -1 }
7507 -1 }
7508 -1 var scheduleFlush = void 0;
7509 -1 if (isNode) {
7510 -1 scheduleFlush = useNextTick();
7511 -1 } else if (BrowserMutationObserver) {
7512 -1 scheduleFlush = useMutationObserver();
7513 -1 } else if (isWorker) {
7514 -1 scheduleFlush = useMessageChannel();
7515 -1 } else if (browserWindow === undefined && typeof _dereq_ === 'function') {
7516 -1 scheduleFlush = attemptVertx();
7517 -1 } else {
7518 -1 scheduleFlush = useSetTimeout();
7519 -1 }
7520 -1 function then(onFulfillment, onRejection) {
7521 -1 var parent = this;
7522 -1 var child = new this.constructor(noop);
7523 -1 if (child[PROMISE_ID] === undefined) {
7524 -1 makePromise(child);
7525 -1 }
7526 -1 var _state = parent._state;
7527 -1 if (_state) {
7528 -1 var callback = arguments[_state - 1];
7529 -1 asap(function() {
7530 -1 return invokeCallback(_state, child, callback, parent._result);
7531 -1 });
7532 -1 } else {
7533 -1 subscribe(parent, child, onFulfillment, onRejection);
7534 -1 }
7535 -1 return child;
7536 -1 }
7537 -1 function resolve$1(object) {
7538 -1 var Constructor = this;
7539 -1 if (object && typeof object === 'object' && object.constructor === Constructor) {
7540 -1 return object;
7541 -1 }
7542 -1 var promise = new Constructor(noop);
7543 -1 resolve(promise, object);
7544 -1 return promise;
7545 -1 }
7546 -1 var PROMISE_ID = Math.random().toString(36).substring(2);
7547 -1 function noop() {}
7548 -1 var PENDING = void 0;
7549 -1 var FULFILLED = 1;
7550 -1 var REJECTED = 2;
7551 -1 var TRY_CATCH_ERROR = {
7552 -1 error: null
7553 -1 };
7554 -1 function selfFulfillment() {
7555 -1 return new TypeError('You cannot resolve a promise with itself');
-1 7767 return parseFloat(range);
-1 7768 });
-1 7769 }
-1 7770 function convertHourMinSecToSeconds(hhMmSs) {
-1 7771 var parts = hhMmSs.split(':');
-1 7772 var secs = 0;
-1 7773 var mins = 1;
-1 7774 while (parts.length > 0) {
-1 7775 secs += mins * parseInt(parts.pop(), 10);
-1 7776 mins *= 60;
7556 7777 }
7557 -1 function cannotReturnOwn() {
7558 -1 return new TypeError('A promises callback cannot return that same promise.');
-1 7778 return parseFloat(secs);
-1 7779 }
-1 7780 }
-1 7781 __webpack_exports__['default'] = noAutoplayAudioEvaluate;
-1 7782 },
-1 7783 './lib/checks/mobile/css-orientation-lock-evaluate.js': function libChecksMobileCssOrientationLockEvaluateJs(module, __webpack_exports__, __webpack_require__) {
-1 7784 'use strict';
-1 7785 __webpack_require__.r(__webpack_exports__);
-1 7786 function cssOrientationLockEvaluate(node, options, virtualNode, context) {
-1 7787 var _ref7 = context || {}, _ref7$cssom = _ref7.cssom, cssom = _ref7$cssom === void 0 ? undefined : _ref7$cssom;
-1 7788 var _ref8 = options || {}, _ref8$degreeThreshold = _ref8.degreeThreshold, degreeThreshold = _ref8$degreeThreshold === void 0 ? 0 : _ref8$degreeThreshold;
-1 7789 if (!cssom || !cssom.length) {
-1 7790 return undefined;
-1 7791 }
-1 7792 var isLocked = false;
-1 7793 var relatedElements = [];
-1 7794 var rulesGroupByDocumentFragment = groupCssomByDocument(cssom);
-1 7795 var _loop = function _loop() {
-1 7796 var key = _Object$keys[_i2];
-1 7797 var _rulesGroupByDocument = rulesGroupByDocumentFragment[key], root = _rulesGroupByDocument.root, rules = _rulesGroupByDocument.rules;
-1 7798 var orientationRules = rules.filter(isMediaRuleWithOrientation);
-1 7799 if (!orientationRules.length) {
-1 7800 return 'continue';
-1 7801 }
-1 7802 orientationRules.forEach(function(_ref9) {
-1 7803 var cssRules = _ref9.cssRules;
-1 7804 Array.from(cssRules).forEach(function(cssRule) {
-1 7805 var locked = getIsOrientationLocked(cssRule);
-1 7806 if (locked && cssRule.selectorText.toUpperCase() !== 'HTML') {
-1 7807 var elms = Array.from(root.querySelectorAll(cssRule.selectorText)) || [];
-1 7808 relatedElements = relatedElements.concat(elms);
-1 7809 }
-1 7810 isLocked = isLocked || locked;
-1 7811 });
-1 7812 });
-1 7813 };
-1 7814 for (var _i2 = 0, _Object$keys = Object.keys(rulesGroupByDocumentFragment); _i2 < _Object$keys.length; _i2++) {
-1 7815 var _ret = _loop();
-1 7816 if (_ret === 'continue') {
-1 7817 continue;
7559 7818 }
7560 -1 function getThen(promise) {
7561 -1 try {
7562 -1 return promise.then;
7563 -1 } catch (error) {
7564 -1 TRY_CATCH_ERROR.error = error;
7565 -1 return TRY_CATCH_ERROR;
-1 7819 }
-1 7820 if (!isLocked) {
-1 7821 return true;
-1 7822 }
-1 7823 if (relatedElements.length) {
-1 7824 this.relatedNodes(relatedElements);
-1 7825 }
-1 7826 return false;
-1 7827 function groupCssomByDocument(cssObjectModel) {
-1 7828 return cssObjectModel.reduce(function(out, _ref10) {
-1 7829 var sheet = _ref10.sheet, root = _ref10.root, shadowId = _ref10.shadowId;
-1 7830 var key = shadowId ? shadowId : 'topDocument';
-1 7831 if (!out[key]) {
-1 7832 out[key] = {
-1 7833 root: root,
-1 7834 rules: []
-1 7835 };
7566 7836 }
7567 -1 }
7568 -1 function tryThen(then$$1, value, fulfillmentHandler, rejectionHandler) {
7569 -1 try {
7570 -1 then$$1.call(value, fulfillmentHandler, rejectionHandler);
7571 -1 } catch (e) {
7572 -1 return e;
-1 7837 if (!sheet || !sheet.cssRules) {
-1 7838 return out;
7573 7839 }
-1 7840 var rules = Array.from(sheet.cssRules);
-1 7841 out[key].rules = out[key].rules.concat(rules);
-1 7842 return out;
-1 7843 }, {});
-1 7844 }
-1 7845 function isMediaRuleWithOrientation(_ref11) {
-1 7846 var type = _ref11.type, cssText = _ref11.cssText;
-1 7847 if (type !== 4) {
-1 7848 return false;
7574 7849 }
7575 -1 function handleForeignThenable(promise, thenable, then$$1) {
7576 -1 asap(function(promise) {
7577 -1 var sealed = false;
7578 -1 var error = tryThen(then$$1, thenable, function(value) {
7579 -1 if (sealed) {
7580 -1 return;
7581 -1 }
7582 -1 sealed = true;
7583 -1 if (thenable !== value) {
7584 -1 resolve(promise, value);
7585 -1 } else {
7586 -1 fulfill(promise, value);
7587 -1 }
7588 -1 }, function(reason) {
7589 -1 if (sealed) {
7590 -1 return;
7591 -1 }
7592 -1 sealed = true;
7593 -1 reject(promise, reason);
7594 -1 }, 'Settle: ' + (promise._label || ' unknown promise'));
7595 -1 if (!sealed && error) {
7596 -1 sealed = true;
7597 -1 reject(promise, error);
7598 -1 }
7599 -1 }, promise);
-1 7850 return /orientation:\s*landscape/i.test(cssText) || /orientation:\s*portrait/i.test(cssText);
-1 7851 }
-1 7852 function getIsOrientationLocked(_ref12) {
-1 7853 var selectorText = _ref12.selectorText, style = _ref12.style;
-1 7854 if (!selectorText || style.length <= 0) {
-1 7855 return false;
7600 7856 }
7601 -1 function handleOwnThenable(promise, thenable) {
7602 -1 if (thenable._state === FULFILLED) {
7603 -1 fulfill(promise, thenable._result);
7604 -1 } else if (thenable._state === REJECTED) {
7605 -1 reject(promise, thenable._result);
7606 -1 } else {
7607 -1 subscribe(thenable, undefined, function(value) {
7608 -1 return resolve(promise, value);
7609 -1 }, function(reason) {
7610 -1 return reject(promise, reason);
7611 -1 });
7612 -1 }
-1 7857 var transformStyle = style.transform || style.webkitTransform || style.msTransform || false;
-1 7858 if (!transformStyle) {
-1 7859 return false;
7613 7860 }
7614 -1 function handleMaybeThenable(promise, maybeThenable, then$$1) {
7615 -1 if (maybeThenable.constructor === promise.constructor && then$$1 === then && maybeThenable.constructor.resolve === resolve$1) {
7616 -1 handleOwnThenable(promise, maybeThenable);
7617 -1 } else {
7618 -1 if (then$$1 === TRY_CATCH_ERROR) {
7619 -1 reject(promise, TRY_CATCH_ERROR.error);
7620 -1 TRY_CATCH_ERROR.error = null;
7621 -1 } else if (then$$1 === undefined) {
7622 -1 fulfill(promise, maybeThenable);
7623 -1 } else if (isFunction(then$$1)) {
7624 -1 handleForeignThenable(promise, maybeThenable, then$$1);
7625 -1 } else {
7626 -1 fulfill(promise, maybeThenable);
7627 -1 }
7628 -1 }
-1 7861 var matches = transformStyle.match(/(rotate|rotateZ|rotate3d|matrix|matrix3d)\(([^)]+)\)(?!.*(rotate|rotateZ|rotate3d|matrix|matrix3d))/);
-1 7862 if (!matches) {
-1 7863 return false;
7629 7864 }
7630 -1 function resolve(promise, value) {
7631 -1 if (promise === value) {
7632 -1 reject(promise, selfFulfillment());
7633 -1 } else if (objectOrFunction(value)) {
7634 -1 handleMaybeThenable(promise, value, getThen(value));
7635 -1 } else {
7636 -1 fulfill(promise, value);
7637 -1 }
-1 7865 var _matches = _slicedToArray(matches, 3), transformFn = _matches[1], transformFnValue = _matches[2];
-1 7866 var degrees = getRotationInDegrees(transformFn, transformFnValue);
-1 7867 if (!degrees) {
-1 7868 return false;
7638 7869 }
7639 -1 function publishRejection(promise) {
7640 -1 if (promise._onerror) {
7641 -1 promise._onerror(promise._result);
7642 -1 }
7643 -1 publish(promise);
-1 7870 degrees = Math.abs(degrees);
-1 7871 if (Math.abs(degrees - 180) % 180 <= degreeThreshold) {
-1 7872 return false;
7644 7873 }
7645 -1 function fulfill(promise, value) {
7646 -1 if (promise._state !== PENDING) {
-1 7874 return Math.abs(degrees - 90) % 90 <= degreeThreshold;
-1 7875 }
-1 7876 function getRotationInDegrees(transformFunction, transformFnValue) {
-1 7877 switch (transformFunction) {
-1 7878 case 'rotate':
-1 7879 case 'rotateZ':
-1 7880 return getAngleInDegrees(transformFnValue);
-1 7881
-1 7882 case 'rotate3d':
-1 7883 var _transformFnValue$spl = transformFnValue.split(',').map(function(value) {
-1 7884 return value.trim();
-1 7885 }), _transformFnValue$spl2 = _slicedToArray(_transformFnValue$spl, 4), z = _transformFnValue$spl2[2], angleWithUnit = _transformFnValue$spl2[3];
-1 7886 if (parseInt(z) === 0) {
7647 7887 return;
7648 7888 }
7649 -1 promise._result = value;
7650 -1 promise._state = FULFILLED;
7651 -1 if (promise._subscribers.length !== 0) {
7652 -1 asap(publish, promise);
7653 -1 }
-1 7889 return getAngleInDegrees(angleWithUnit);
-1 7890
-1 7891 case 'matrix':
-1 7892 case 'matrix3d':
-1 7893 return getAngleInDegreesFromMatrixTransform(transformFnValue);
-1 7894
-1 7895 default:
-1 7896 return;
7654 7897 }
7655 -1 function reject(promise, reason) {
7656 -1 if (promise._state !== PENDING) {
7657 -1 return;
7658 -1 }
7659 -1 promise._state = REJECTED;
7660 -1 promise._result = reason;
7661 -1 asap(publishRejection, promise);
7662 -1 }
7663 -1 function subscribe(parent, child, onFulfillment, onRejection) {
7664 -1 var _subscribers = parent._subscribers;
7665 -1 var length = _subscribers.length;
7666 -1 parent._onerror = null;
7667 -1 _subscribers[length] = child;
7668 -1 _subscribers[length + FULFILLED] = onFulfillment;
7669 -1 _subscribers[length + REJECTED] = onRejection;
7670 -1 if (length === 0 && parent._state) {
7671 -1 asap(publish, parent);
7672 -1 }
7673 -1 }
7674 -1 function publish(promise) {
7675 -1 var subscribers = promise._subscribers;
7676 -1 var settled = promise._state;
7677 -1 if (subscribers.length === 0) {
7678 -1 return;
7679 -1 }
7680 -1 var child = void 0, callback = void 0, detail = promise._result;
7681 -1 for (var i = 0; i < subscribers.length; i += 3) {
7682 -1 child = subscribers[i];
7683 -1 callback = subscribers[i + settled];
7684 -1 if (child) {
7685 -1 invokeCallback(settled, child, callback, detail);
7686 -1 } else {
7687 -1 callback(detail);
7688 -1 }
7689 -1 }
7690 -1 promise._subscribers.length = 0;
-1 7898 }
-1 7899 function getAngleInDegrees(angleWithUnit) {
-1 7900 var _ref13 = angleWithUnit.match(/(deg|grad|rad|turn)/) || [], _ref14 = _slicedToArray(_ref13, 1), unit = _ref14[0];
-1 7901 if (!unit) {
-1 7902 return;
7691 7903 }
7692 -1 function tryCatch(callback, detail) {
7693 -1 try {
7694 -1 return callback(detail);
7695 -1 } catch (e) {
7696 -1 TRY_CATCH_ERROR.error = e;
7697 -1 return TRY_CATCH_ERROR;
7698 -1 }
7699 -1 }
7700 -1 function invokeCallback(settled, promise, callback, detail) {
7701 -1 var hasCallback = isFunction(callback), value = void 0, error = void 0, succeeded = void 0, failed = void 0;
7702 -1 if (hasCallback) {
7703 -1 value = tryCatch(callback, detail);
7704 -1 if (value === TRY_CATCH_ERROR) {
7705 -1 failed = true;
7706 -1 error = value.error;
7707 -1 value.error = null;
7708 -1 } else {
7709 -1 succeeded = true;
7710 -1 }
7711 -1 if (promise === value) {
7712 -1 reject(promise, cannotReturnOwn());
7713 -1 return;
7714 -1 }
7715 -1 } else {
7716 -1 value = detail;
7717 -1 succeeded = true;
7718 -1 }
7719 -1 if (promise._state !== PENDING) {} else if (hasCallback && succeeded) {
7720 -1 resolve(promise, value);
7721 -1 } else if (failed) {
7722 -1 reject(promise, error);
7723 -1 } else if (settled === FULFILLED) {
7724 -1 fulfill(promise, value);
7725 -1 } else if (settled === REJECTED) {
7726 -1 reject(promise, value);
7727 -1 }
-1 7904 var angle = parseFloat(angleWithUnit.replace(unit, ''));
-1 7905 switch (unit) {
-1 7906 case 'rad':
-1 7907 return convertRadToDeg(angle);
-1 7908
-1 7909 case 'grad':
-1 7910 return convertGradToDeg(angle);
-1 7911
-1 7912 case 'turn':
-1 7913 return convertTurnToDeg(angle);
-1 7914
-1 7915 case 'deg':
-1 7916 default:
-1 7917 return parseInt(angle);
7728 7918 }
7729 -1 function initializePromise(promise, resolver) {
7730 -1 try {
7731 -1 resolver(function resolvePromise(value) {
7732 -1 resolve(promise, value);
7733 -1 }, function rejectPromise(reason) {
7734 -1 reject(promise, reason);
7735 -1 });
7736 -1 } catch (e) {
7737 -1 reject(promise, e);
7738 -1 }
-1 7919 }
-1 7920 function getAngleInDegreesFromMatrixTransform(transformFnValue) {
-1 7921 var values = transformFnValue.split(',');
-1 7922 if (values.length <= 6) {
-1 7923 var _values = _slicedToArray(values, 2), a = _values[0], _b = _values[1];
-1 7924 var radians = Math.atan2(parseFloat(_b), parseFloat(a));
-1 7925 return convertRadToDeg(radians);
7739 7926 }
7740 -1 var id = 0;
7741 -1 function nextId() {
7742 -1 return id++;
-1 7927 var sinB = parseFloat(values[8]);
-1 7928 var b = Math.asin(sinB);
-1 7929 var cosB = Math.cos(b);
-1 7930 var rotateZRadians = Math.acos(parseFloat(values[0]) / cosB);
-1 7931 return convertRadToDeg(rotateZRadians);
-1 7932 }
-1 7933 function convertRadToDeg(radians) {
-1 7934 return Math.round(radians * (180 / Math.PI));
-1 7935 }
-1 7936 function convertGradToDeg(grad) {
-1 7937 grad = grad % 400;
-1 7938 if (grad < 0) {
-1 7939 grad += 400;
7743 7940 }
7744 -1 function makePromise(promise) {
7745 -1 promise[PROMISE_ID] = id++;
7746 -1 promise._state = undefined;
7747 -1 promise._result = undefined;
7748 -1 promise._subscribers = [];
-1 7941 return Math.round(grad / 400 * 360);
-1 7942 }
-1 7943 function convertTurnToDeg(turn) {
-1 7944 return Math.round(360 / (1 / turn));
-1 7945 }
-1 7946 }
-1 7947 __webpack_exports__['default'] = cssOrientationLockEvaluate;
-1 7948 },
-1 7949 './lib/checks/mobile/meta-viewport-scale-evaluate.js': function libChecksMobileMetaViewportScaleEvaluateJs(module, __webpack_exports__, __webpack_require__) {
-1 7950 'use strict';
-1 7951 __webpack_require__.r(__webpack_exports__);
-1 7952 function metaViewportScaleEvaluate(node, options) {
-1 7953 var _ref15 = options || {}, _ref15$scaleMinimum = _ref15.scaleMinimum, scaleMinimum = _ref15$scaleMinimum === void 0 ? 2 : _ref15$scaleMinimum, _ref15$lowerBound = _ref15.lowerBound, lowerBound = _ref15$lowerBound === void 0 ? false : _ref15$lowerBound;
-1 7954 var content = node.getAttribute('content') || '';
-1 7955 if (!content) {
-1 7956 return true;
-1 7957 }
-1 7958 var result = content.split(/[;,]/).reduce(function(out, item) {
-1 7959 var contentValue = item.trim();
-1 7960 if (!contentValue) {
-1 7961 return out;
7749 7962 }
7750 -1 function validationError() {
7751 -1 return new Error('Array Methods must be provided an Array');
-1 7963 var _contentValue$split = contentValue.split('='), _contentValue$split2 = _slicedToArray(_contentValue$split, 2), key = _contentValue$split2[0], value = _contentValue$split2[1];
-1 7964 if (!key || !value) {
-1 7965 return out;
7752 7966 }
7753 -1 var Enumerator = function() {
7754 -1 function Enumerator(Constructor, input) {
7755 -1 this._instanceConstructor = Constructor;
7756 -1 this.promise = new Constructor(noop);
7757 -1 if (!this.promise[PROMISE_ID]) {
7758 -1 makePromise(this.promise);
7759 -1 }
7760 -1 if (isArray(input)) {
7761 -1 this.length = input.length;
7762 -1 this._remaining = input.length;
7763 -1 this._result = new Array(this.length);
7764 -1 if (this.length === 0) {
7765 -1 fulfill(this.promise, this._result);
7766 -1 } else {
7767 -1 this.length = this.length || 0;
7768 -1 this._enumerate(input);
7769 -1 if (this._remaining === 0) {
7770 -1 fulfill(this.promise, this._result);
7771 -1 }
7772 -1 }
7773 -1 } else {
7774 -1 reject(this.promise, validationError());
7775 -1 }
7776 -1 }
7777 -1 Enumerator.prototype._enumerate = function _enumerate(input) {
7778 -1 for (var i = 0; this._state === PENDING && i < input.length; i++) {
7779 -1 this._eachEntry(input[i], i);
7780 -1 }
7781 -1 };
7782 -1 Enumerator.prototype._eachEntry = function _eachEntry(entry, i) {
7783 -1 var c = this._instanceConstructor;
7784 -1 var resolve$$1 = c.resolve;
7785 -1 if (resolve$$1 === resolve$1) {
7786 -1 var _then = getThen(entry);
7787 -1 if (_then === then && entry._state !== PENDING) {
7788 -1 this._settledAt(entry._state, i, entry._result);
7789 -1 } else if (typeof _then !== 'function') {
7790 -1 this._remaining--;
7791 -1 this._result[i] = entry;
7792 -1 } else if (c === Promise$1) {
7793 -1 var promise = new c(noop);
7794 -1 handleMaybeThenable(promise, entry, _then);
7795 -1 this._willSettleAt(promise, i);
7796 -1 } else {
7797 -1 this._willSettleAt(new c(function(resolve$$1) {
7798 -1 return resolve$$1(entry);
7799 -1 }), i);
7800 -1 }
7801 -1 } else {
7802 -1 this._willSettleAt(resolve$$1(entry), i);
7803 -1 }
7804 -1 };
7805 -1 Enumerator.prototype._settledAt = function _settledAt(state, i, value) {
7806 -1 var promise = this.promise;
7807 -1 if (promise._state === PENDING) {
7808 -1 this._remaining--;
7809 -1 if (state === REJECTED) {
7810 -1 reject(promise, value);
7811 -1 } else {
7812 -1 this._result[i] = value;
7813 -1 }
7814 -1 }
7815 -1 if (this._remaining === 0) {
7816 -1 fulfill(promise, this._result);
7817 -1 }
7818 -1 };
7819 -1 Enumerator.prototype._willSettleAt = function _willSettleAt(promise, i) {
7820 -1 var enumerator = this;
7821 -1 subscribe(promise, undefined, function(value) {
7822 -1 return enumerator._settledAt(FULFILLED, i, value);
7823 -1 }, function(reason) {
7824 -1 return enumerator._settledAt(REJECTED, i, reason);
7825 -1 });
7826 -1 };
7827 -1 return Enumerator;
7828 -1 }();
7829 -1 function all(entries) {
7830 -1 return new Enumerator(this, entries).promise;
7831 -1 }
7832 -1 function race(entries) {
7833 -1 var Constructor = this;
7834 -1 if (!isArray(entries)) {
7835 -1 return new Constructor(function(_, reject) {
7836 -1 return reject(new TypeError('You must pass an array to race.'));
7837 -1 });
7838 -1 } else {
7839 -1 return new Constructor(function(resolve, reject) {
7840 -1 var length = entries.length;
7841 -1 for (var i = 0; i < length; i++) {
7842 -1 Constructor.resolve(entries[i]).then(resolve, reject);
7843 -1 }
7844 -1 });
7845 -1 }
-1 7967 var curatedKey = key.toLowerCase().trim();
-1 7968 var curatedValue = value.toLowerCase().trim();
-1 7969 if (curatedKey === 'maximum-scale' && curatedValue === 'yes') {
-1 7970 curatedValue = 1;
7846 7971 }
7847 -1 function reject$1(reason) {
7848 -1 var Constructor = this;
7849 -1 var promise = new Constructor(noop);
7850 -1 reject(promise, reason);
7851 -1 return promise;
-1 7972 if (curatedKey === 'maximum-scale' && parseFloat(curatedValue) < 0) {
-1 7973 return out;
7852 7974 }
7853 -1 function needsResolver() {
7854 -1 throw new TypeError('You must pass a resolver function as the first argument to the promise constructor');
-1 7975 out[curatedKey] = curatedValue;
-1 7976 return out;
-1 7977 }, {});
-1 7978 if (lowerBound && result['maximum-scale'] && parseFloat(result['maximum-scale']) < lowerBound) {
-1 7979 return true;
-1 7980 }
-1 7981 if (!lowerBound && result['user-scalable'] === 'no') {
-1 7982 this.data('user-scalable=no');
-1 7983 return false;
-1 7984 }
-1 7985 if (result['maximum-scale'] && parseFloat(result['maximum-scale']) < scaleMinimum) {
-1 7986 this.data('maximum-scale');
-1 7987 return false;
-1 7988 }
-1 7989 return true;
-1 7990 }
-1 7991 __webpack_exports__['default'] = metaViewportScaleEvaluate;
-1 7992 },
-1 7993 './lib/checks/navigation/heading-order-after.js': function libChecksNavigationHeadingOrderAfterJs(module, __webpack_exports__, __webpack_require__) {
-1 7994 'use strict';
-1 7995 __webpack_require__.r(__webpack_exports__);
-1 7996 function headingOrderAfter(results) {
-1 7997 if (results.length < 2) {
-1 7998 return results;
-1 7999 }
-1 8000 var prevLevel = results[0].data;
-1 8001 for (var i = 1; i < results.length; i++) {
-1 8002 if (results[i].result && results[i].data > prevLevel + 1) {
-1 8003 results[i].result = false;
7855 8004 }
7856 -1 function needsNew() {
7857 -1 throw new TypeError('Failed to construct \'Promise\': Please use the \'new\' operator, this object constructor cannot be called as a function.');
-1 8005 prevLevel = results[i].data;
-1 8006 }
-1 8007 return results;
-1 8008 }
-1 8009 __webpack_exports__['default'] = headingOrderAfter;
-1 8010 },
-1 8011 './lib/checks/navigation/heading-order-evaluate.js': function libChecksNavigationHeadingOrderEvaluateJs(module, __webpack_exports__, __webpack_require__) {
-1 8012 'use strict';
-1 8013 __webpack_require__.r(__webpack_exports__);
-1 8014 function headingOrderEvaluate(node, options, virtualNode) {
-1 8015 var ariaHeadingLevel = virtualNode.attr('aria-level');
-1 8016 var nodeName = virtualNode.props.nodeName;
-1 8017 if (ariaHeadingLevel !== null) {
-1 8018 this.data(parseInt(ariaHeadingLevel, 10));
-1 8019 return true;
-1 8020 }
-1 8021 var headingLevel = nodeName.toUpperCase().match(/H(\d)/);
-1 8022 if (headingLevel) {
-1 8023 this.data(parseInt(headingLevel[1], 10));
-1 8024 return true;
-1 8025 }
-1 8026 return true;
-1 8027 }
-1 8028 __webpack_exports__['default'] = headingOrderEvaluate;
-1 8029 },
-1 8030 './lib/checks/navigation/identical-links-same-purpose-after.js': function libChecksNavigationIdenticalLinksSamePurposeAfterJs(module, __webpack_exports__, __webpack_require__) {
-1 8031 'use strict';
-1 8032 __webpack_require__.r(__webpack_exports__);
-1 8033 function isIdenticalObject(a, b) {
-1 8034 if (!a || !b) {
-1 8035 return false;
-1 8036 }
-1 8037 var aProps = Object.getOwnPropertyNames(a);
-1 8038 var bProps = Object.getOwnPropertyNames(b);
-1 8039 if (aProps.length !== bProps.length) {
-1 8040 return false;
-1 8041 }
-1 8042 var result = aProps.every(function(propName) {
-1 8043 var aValue = a[propName];
-1 8044 var bValue = b[propName];
-1 8045 if (_typeof(aValue) !== _typeof(bValue)) {
-1 8046 return false;
7858 8047 }
7859 -1 var Promise$1 = function() {
7860 -1 function Promise(resolver) {
7861 -1 this[PROMISE_ID] = nextId();
7862 -1 this._result = this._state = undefined;
7863 -1 this._subscribers = [];
7864 -1 if (noop !== resolver) {
7865 -1 typeof resolver !== 'function' && needsResolver();
7866 -1 this instanceof Promise ? initializePromise(this, resolver) : needsNew();
7867 -1 }
7868 -1 }
7869 -1 Promise.prototype.catch = function _catch(onRejection) {
7870 -1 return this.then(null, onRejection);
7871 -1 };
7872 -1 Promise.prototype.finally = function _finally(callback) {
7873 -1 var promise = this;
7874 -1 var constructor = promise.constructor;
7875 -1 if (isFunction(callback)) {
7876 -1 return promise.then(function(value) {
7877 -1 return constructor.resolve(callback()).then(function() {
7878 -1 return value;
7879 -1 });
7880 -1 }, function(reason) {
7881 -1 return constructor.resolve(callback()).then(function() {
7882 -1 throw reason;
7883 -1 });
7884 -1 });
7885 -1 }
7886 -1 return promise.then(callback, callback);
7887 -1 };
7888 -1 return Promise;
7889 -1 }();
7890 -1 Promise$1.prototype.then = then;
7891 -1 Promise$1.all = all;
7892 -1 Promise$1.race = race;
7893 -1 Promise$1.resolve = resolve$1;
7894 -1 Promise$1.reject = reject$1;
7895 -1 Promise$1._setScheduler = setScheduler;
7896 -1 Promise$1._setAsap = setAsap;
7897 -1 Promise$1._asap = asap;
7898 -1 function polyfill() {
7899 -1 var local = void 0;
7900 -1 if (typeof global !== 'undefined') {
7901 -1 local = global;
7902 -1 } else if (typeof self !== 'undefined') {
7903 -1 local = self;
7904 -1 } else {
7905 -1 try {
7906 -1 local = Function('return this')();
7907 -1 } catch (e) {
7908 -1 throw new Error('polyfill failed because global object is unavailable in this environment');
7909 -1 }
7910 -1 }
7911 -1 var P = local.Promise;
7912 -1 if (P) {
7913 -1 var promiseToString = null;
7914 -1 try {
7915 -1 promiseToString = Object.prototype.toString.call(P.resolve());
7916 -1 } catch (e) {}
7917 -1 if (promiseToString === '[object Promise]' && !P.cast) {
7918 -1 return;
7919 -1 }
7920 -1 }
7921 -1 local.Promise = Promise$1;
-1 8048 if (typeof aValue === 'object' || typeof bValue === 'object') {
-1 8049 return isIdenticalObject(aValue, bValue);
7922 8050 }
7923 -1 Promise$1.polyfill = polyfill;
7924 -1 Promise$1.Promise = Promise$1;
7925 -1 return Promise$1;
-1 8051 return aValue === bValue;
7926 8052 });
7927 -1 }).call(this, _dereq_('_process'), typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : typeof window !== 'undefined' ? window : {});
7928 -1 }, {
7929 -1 _process: 33
7930 -1 } ],
7931 -1 32: [ function(_dereq_, module, exports) {
7932 -1 module.exports = function(obj) {
7933 -1 return obj != null && (isBuffer(obj) || isSlowBuffer(obj) || !!obj._isBuffer);
7934 -1 };
7935 -1 function isBuffer(obj) {
7936 -1 return !!obj.constructor && typeof obj.constructor.isBuffer === 'function' && obj.constructor.isBuffer(obj);
-1 8053 return result;
7937 8054 }
7938 -1 function isSlowBuffer(obj) {
7939 -1 return typeof obj.readFloatLE === 'function' && typeof obj.slice === 'function' && isBuffer(obj.slice(0, 0));
7940 -1 }
7941 -1 }, {} ],
7942 -1 33: [ function(_dereq_, module, exports) {
7943 -1 var process = module.exports = {};
7944 -1 var cachedSetTimeout;
7945 -1 var cachedClearTimeout;
7946 -1 function defaultSetTimout() {
7947 -1 throw new Error('setTimeout has not been defined');
7948 -1 }
7949 -1 function defaultClearTimeout() {
7950 -1 throw new Error('clearTimeout has not been defined');
7951 -1 }
7952 -1 (function() {
7953 -1 try {
7954 -1 if (typeof setTimeout === 'function') {
7955 -1 cachedSetTimeout = setTimeout;
7956 -1 } else {
7957 -1 cachedSetTimeout = defaultSetTimout;
7958 -1 }
7959 -1 } catch (e) {
7960 -1 cachedSetTimeout = defaultSetTimout;
-1 8055 function identicalLinksSamePurposeAfter(results) {
-1 8056 if (results.length < 2) {
-1 8057 return results;
7961 8058 }
7962 -1 try {
7963 -1 if (typeof clearTimeout === 'function') {
7964 -1 cachedClearTimeout = clearTimeout;
7965 -1 } else {
7966 -1 cachedClearTimeout = defaultClearTimeout;
-1 8059 var incompleteResults = results.filter(function(_ref16) {
-1 8060 var result = _ref16.result;
-1 8061 return result !== undefined;
-1 8062 });
-1 8063 var uniqueResults = [];
-1 8064 var nameMap = {};
-1 8065 var _loop2 = function _loop2(index) {
-1 8066 var _currentResult$relate;
-1 8067 var currentResult = incompleteResults[index];
-1 8068 var _currentResult$data = currentResult.data, name = _currentResult$data.name, urlProps = _currentResult$data.urlProps;
-1 8069 if (nameMap[name]) {
-1 8070 return 'continue';
-1 8071 }
-1 8072 var sameNameResults = incompleteResults.filter(function(_ref17, resultNum) {
-1 8073 var data = _ref17.data;
-1 8074 return data.name === name && resultNum !== index;
-1 8075 });
-1 8076 var isSameUrl = sameNameResults.every(function(_ref18) {
-1 8077 var data = _ref18.data;
-1 8078 return isIdenticalObject(data.urlProps, urlProps);
-1 8079 });
-1 8080 if (sameNameResults.length && !isSameUrl) {
-1 8081 currentResult.result = undefined;
-1 8082 }
-1 8083 currentResult.relatedNodes = [];
-1 8084 (_currentResult$relate = currentResult.relatedNodes).push.apply(_currentResult$relate, _toConsumableArray(sameNameResults.map(function(node) {
-1 8085 return node.relatedNodes[0];
-1 8086 })));
-1 8087 nameMap[name] = sameNameResults;
-1 8088 uniqueResults.push(currentResult);
-1 8089 };
-1 8090 for (var index = 0; index < incompleteResults.length; index++) {
-1 8091 var _ret2 = _loop2(index);
-1 8092 if (_ret2 === 'continue') {
-1 8093 continue;
7967 8094 }
7968 -1 } catch (e) {
7969 -1 cachedClearTimeout = defaultClearTimeout;
7970 8095 }
7971 -1 })();
7972 -1 function runTimeout(fun) {
7973 -1 if (cachedSetTimeout === setTimeout) {
7974 -1 return setTimeout(fun, 0);
-1 8096 return uniqueResults;
-1 8097 }
-1 8098 __webpack_exports__['default'] = identicalLinksSamePurposeAfter;
-1 8099 },
-1 8100 './lib/checks/navigation/identical-links-same-purpose-evaluate.js': function libChecksNavigationIdenticalLinksSamePurposeEvaluateJs(module, __webpack_exports__, __webpack_require__) {
-1 8101 'use strict';
-1 8102 __webpack_require__.r(__webpack_exports__);
-1 8103 var _commons__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/index.js');
-1 8104 function identicalLinksSamePurposeEvaluate(node, options, virtualNode) {
-1 8105 var accText = _commons__WEBPACK_IMPORTED_MODULE_0__['text'].accessibleTextVirtual(virtualNode);
-1 8106 var name = _commons__WEBPACK_IMPORTED_MODULE_0__['text'].sanitize(_commons__WEBPACK_IMPORTED_MODULE_0__['text'].removeUnicode(accText, {
-1 8107 emoji: true,
-1 8108 nonBmp: true,
-1 8109 punctuations: true
-1 8110 })).toLowerCase();
-1 8111 if (!name) {
-1 8112 return undefined;
7975 8113 }
7976 -1 if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {
7977 -1 cachedSetTimeout = setTimeout;
7978 -1 return setTimeout(fun, 0);
-1 8114 var afterData = {
-1 8115 name: name,
-1 8116 urlProps: _commons__WEBPACK_IMPORTED_MODULE_0__['dom'].urlPropsFromAttribute(node, 'href')
-1 8117 };
-1 8118 this.data(afterData);
-1 8119 this.relatedNodes([ node ]);
-1 8120 return true;
-1 8121 }
-1 8122 __webpack_exports__['default'] = identicalLinksSamePurposeEvaluate;
-1 8123 },
-1 8124 './lib/checks/navigation/internal-link-present-evaluate.js': function libChecksNavigationInternalLinkPresentEvaluateJs(module, __webpack_exports__, __webpack_require__) {
-1 8125 'use strict';
-1 8126 __webpack_require__.r(__webpack_exports__);
-1 8127 var _core_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/core/utils/index.js');
-1 8128 function internalLinkPresentEvaluate(node, options, virtualNode) {
-1 8129 var links = Object(_core_utils__WEBPACK_IMPORTED_MODULE_0__['querySelectorAll'])(virtualNode, 'a[href]');
-1 8130 return links.some(function(vLink) {
-1 8131 return /^#[^/!]/.test(vLink.actualNode.getAttribute('href'));
-1 8132 });
-1 8133 }
-1 8134 __webpack_exports__['default'] = internalLinkPresentEvaluate;
-1 8135 },
-1 8136 './lib/checks/navigation/meta-refresh-evaluate.js': function libChecksNavigationMetaRefreshEvaluateJs(module, __webpack_exports__, __webpack_require__) {
-1 8137 'use strict';
-1 8138 __webpack_require__.r(__webpack_exports__);
-1 8139 function metaRefreshEvaluate(node, options, virtualNode) {
-1 8140 var content = virtualNode.attr('content') || '', parsedParams = content.split(/[;,]/);
-1 8141 return content === '' || parsedParams[0] === '0';
-1 8142 }
-1 8143 __webpack_exports__['default'] = metaRefreshEvaluate;
-1 8144 },
-1 8145 './lib/checks/navigation/p-as-heading-evaluate.js': function libChecksNavigationPAsHeadingEvaluateJs(module, __webpack_exports__, __webpack_require__) {
-1 8146 'use strict';
-1 8147 __webpack_require__.r(__webpack_exports__);
-1 8148 var _commons_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/dom/index.js');
-1 8149 function normalizeFontWeight(weight) {
-1 8150 switch (weight) {
-1 8151 case 'lighter':
-1 8152 return 100;
-1 8153
-1 8154 case 'normal':
-1 8155 return 400;
-1 8156
-1 8157 case 'bold':
-1 8158 return 700;
-1 8159
-1 8160 case 'bolder':
-1 8161 return 900;
-1 8162 }
-1 8163 weight = parseInt(weight);
-1 8164 return !isNaN(weight) ? weight : 400;
-1 8165 }
-1 8166 function getTextContainer(elm) {
-1 8167 var nextNode = elm;
-1 8168 var outerText = elm.textContent.trim();
-1 8169 var innerText = outerText;
-1 8170 while (innerText === outerText && nextNode !== undefined) {
-1 8171 var i = -1;
-1 8172 elm = nextNode;
-1 8173 if (elm.children.length === 0) {
-1 8174 return elm;
-1 8175 }
-1 8176 do {
-1 8177 i++;
-1 8178 innerText = elm.children[i].textContent.trim();
-1 8179 } while (innerText === '' && i + 1 < elm.children.length);
-1 8180 nextNode = elm.children[i];
-1 8181 }
-1 8182 return elm;
-1 8183 }
-1 8184 function getStyleValues(node) {
-1 8185 var style = window.getComputedStyle(getTextContainer(node));
-1 8186 return {
-1 8187 fontWeight: normalizeFontWeight(style.getPropertyValue('font-weight')),
-1 8188 fontSize: parseInt(style.getPropertyValue('font-size')),
-1 8189 isItalic: style.getPropertyValue('font-style') === 'italic'
-1 8190 };
-1 8191 }
-1 8192 function isHeaderStyle(styleA, styleB, margins) {
-1 8193 return margins.reduce(function(out, margin) {
-1 8194 return out || (!margin.size || styleA.fontSize / margin.size > styleB.fontSize) && (!margin.weight || styleA.fontWeight - margin.weight > styleB.fontWeight) && (!margin.italic || styleA.isItalic && !styleB.isItalic);
-1 8195 }, false);
-1 8196 }
-1 8197 function pAsHeadingEvaluate(node, options, virtualNode) {
-1 8198 var siblings = Array.from(node.parentNode.children);
-1 8199 var currentIndex = siblings.indexOf(node);
-1 8200 options = options || {};
-1 8201 var margins = options.margins || [];
-1 8202 var nextSibling = siblings.slice(currentIndex + 1).find(function(elm) {
-1 8203 return elm.nodeName.toUpperCase() === 'P';
-1 8204 });
-1 8205 var prevSibling = siblings.slice(0, currentIndex).reverse().find(function(elm) {
-1 8206 return elm.nodeName.toUpperCase() === 'P';
-1 8207 });
-1 8208 var currStyle = getStyleValues(node);
-1 8209 var nextStyle = nextSibling ? getStyleValues(nextSibling) : null;
-1 8210 var prevStyle = prevSibling ? getStyleValues(prevSibling) : null;
-1 8211 if (!nextStyle || !isHeaderStyle(currStyle, nextStyle, margins)) {
-1 8212 return true;
7979 8213 }
7980 -1 try {
7981 -1 return cachedSetTimeout(fun, 0);
7982 -1 } catch (e) {
7983 -1 try {
7984 -1 return cachedSetTimeout.call(null, fun, 0);
7985 -1 } catch (e) {
7986 -1 return cachedSetTimeout.call(this, fun, 0);
7987 -1 }
-1 8214 var blockquote = Object(_commons_dom__WEBPACK_IMPORTED_MODULE_0__['findUpVirtual'])(virtualNode, 'blockquote');
-1 8215 if (blockquote && blockquote.nodeName.toUpperCase() === 'BLOCKQUOTE') {
-1 8216 return undefined;
7988 8217 }
-1 8218 if (prevStyle && !isHeaderStyle(currStyle, prevStyle, margins)) {
-1 8219 return undefined;
-1 8220 }
-1 8221 return false;
7989 8222 }
7990 -1 function runClearTimeout(marker) {
7991 -1 if (cachedClearTimeout === clearTimeout) {
7992 -1 return clearTimeout(marker);
-1 8223 __webpack_exports__['default'] = pAsHeadingEvaluate;
-1 8224 },
-1 8225 './lib/checks/navigation/region-evaluate.js': function libChecksNavigationRegionEvaluateJs(module, __webpack_exports__, __webpack_require__) {
-1 8226 'use strict';
-1 8227 __webpack_require__.r(__webpack_exports__);
-1 8228 var _commons_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/dom/index.js');
-1 8229 var _commons_aria__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/commons/aria/index.js');
-1 8230 var _commons_standards__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__('./lib/commons/standards/index.js');
-1 8231 var _commons_matches__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__('./lib/commons/matches/index.js');
-1 8232 var _core_base_cache__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__('./lib/core/base/cache.js');
-1 8233 var landmarkRoles = _commons_standards__WEBPACK_IMPORTED_MODULE_2__['getAriaRolesByType']('landmark');
-1 8234 var implicitAriaLiveRoles = [ 'alert', 'log', 'status' ];
-1 8235 function isRegion(virtualNode, options) {
-1 8236 var node = virtualNode.actualNode;
-1 8237 var role = _commons_aria__WEBPACK_IMPORTED_MODULE_1__['getRole'](virtualNode);
-1 8238 var ariaLive = (node.getAttribute('aria-live') || '').toLowerCase().trim();
-1 8239 if ([ 'assertive', 'polite' ].includes(ariaLive) || implicitAriaLiveRoles.includes(role)) {
-1 8240 return true;
7993 8241 }
7994 -1 if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {
7995 -1 cachedClearTimeout = clearTimeout;
7996 -1 return clearTimeout(marker);
-1 8242 if (landmarkRoles.includes(role)) {
-1 8243 return true;
7997 8244 }
7998 -1 try {
7999 -1 return cachedClearTimeout(marker);
8000 -1 } catch (e) {
8001 -1 try {
8002 -1 return cachedClearTimeout.call(null, marker);
8003 -1 } catch (e) {
8004 -1 return cachedClearTimeout.call(this, marker);
8005 -1 }
-1 8245 if (options.regionMatcher && Object(_commons_matches__WEBPACK_IMPORTED_MODULE_3__['default'])(virtualNode, options.regionMatcher)) {
-1 8246 return true;
8006 8247 }
-1 8248 return false;
8007 8249 }
8008 -1 var queue = [];
8009 -1 var draining = false;
8010 -1 var currentQueue;
8011 -1 var queueIndex = -1;
8012 -1 function cleanUpNextTick() {
8013 -1 if (!draining || !currentQueue) {
8014 -1 return;
8015 -1 }
8016 -1 draining = false;
8017 -1 if (currentQueue.length) {
8018 -1 queue = currentQueue.concat(queue);
-1 8250 function findRegionlessElms(virtualNode, options) {
-1 8251 var node = virtualNode.actualNode;
-1 8252 if (isRegion(virtualNode, options) || _commons_dom__WEBPACK_IMPORTED_MODULE_0__['isSkipLink'](virtualNode.actualNode) && _commons_dom__WEBPACK_IMPORTED_MODULE_0__['getElementByReference'](virtualNode.actualNode, 'href') || !_commons_dom__WEBPACK_IMPORTED_MODULE_0__['isVisible'](node, true)) {
-1 8253 var vNode = virtualNode;
-1 8254 while (vNode) {
-1 8255 vNode._hasRegionDescendant = true;
-1 8256 vNode = vNode.parent;
-1 8257 }
-1 8258 return [];
-1 8259 } else if (node !== document.body && _commons_dom__WEBPACK_IMPORTED_MODULE_0__['hasContent'](node, true)) {
-1 8260 return [ virtualNode ];
8019 8261 } else {
8020 -1 queueIndex = -1;
8021 -1 }
8022 -1 if (queue.length) {
8023 -1 drainQueue();
-1 8262 return virtualNode.children.filter(function(_ref19) {
-1 8263 var actualNode = _ref19.actualNode;
-1 8264 return actualNode.nodeType === 1;
-1 8265 }).map(function(vNode) {
-1 8266 return findRegionlessElms(vNode, options);
-1 8267 }).reduce(function(a, b) {
-1 8268 return a.concat(b);
-1 8269 }, []);
8024 8270 }
8025 8271 }
8026 -1 function drainQueue() {
8027 -1 if (draining) {
8028 -1 return;
-1 8272 function regionEvaluate(node, options, virtualNode) {
-1 8273 var regionlessNodes = _core_base_cache__WEBPACK_IMPORTED_MODULE_4__['default'].get('regionlessNodes');
-1 8274 if (regionlessNodes) {
-1 8275 return !regionlessNodes.includes(virtualNode);
8029 8276 }
8030 -1 var timeout = runTimeout(cleanUpNextTick);
8031 -1 draining = true;
8032 -1 var len = queue.length;
8033 -1 while (len) {
8034 -1 currentQueue = queue;
8035 -1 queue = [];
8036 -1 while (++queueIndex < len) {
8037 -1 if (currentQueue) {
8038 -1 currentQueue[queueIndex].run();
8039 -1 }
-1 8277 var tree = axe._tree;
-1 8278 regionlessNodes = findRegionlessElms(tree[0], options).map(function(vNode) {
-1 8279 while (vNode.parent && !vNode.parent._hasRegionDescendant && vNode.parent.actualNode !== document.body) {
-1 8280 vNode = vNode.parent;
8040 8281 }
8041 -1 queueIndex = -1;
8042 -1 len = queue.length;
-1 8282 return vNode;
-1 8283 }).filter(function(vNode, index, array) {
-1 8284 return array.indexOf(vNode) === index;
-1 8285 });
-1 8286 _core_base_cache__WEBPACK_IMPORTED_MODULE_4__['default'].set('regionlessNodes', regionlessNodes);
-1 8287 return !regionlessNodes.includes(virtualNode);
-1 8288 }
-1 8289 __webpack_exports__['default'] = regionEvaluate;
-1 8290 },
-1 8291 './lib/checks/navigation/skip-link-evaluate.js': function libChecksNavigationSkipLinkEvaluateJs(module, __webpack_exports__, __webpack_require__) {
-1 8292 'use strict';
-1 8293 __webpack_require__.r(__webpack_exports__);
-1 8294 var _commons_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/dom/index.js');
-1 8295 function skipLinkEvaluate(node) {
-1 8296 var target = Object(_commons_dom__WEBPACK_IMPORTED_MODULE_0__['getElementByReference'])(node, 'href');
-1 8297 if (target) {
-1 8298 return Object(_commons_dom__WEBPACK_IMPORTED_MODULE_0__['isVisible'])(target, true) || undefined;
8043 8299 }
8044 -1 currentQueue = null;
8045 -1 draining = false;
8046 -1 runClearTimeout(timeout);
-1 8300 return false;
8047 8301 }
8048 -1 process.nextTick = function(fun) {
8049 -1 var args = new Array(arguments.length - 1);
8050 -1 if (arguments.length > 1) {
8051 -1 for (var i = 1; i < arguments.length; i++) {
8052 -1 args[i - 1] = arguments[i];
-1 8302 __webpack_exports__['default'] = skipLinkEvaluate;
-1 8303 },
-1 8304 './lib/checks/navigation/unique-frame-title-after.js': function libChecksNavigationUniqueFrameTitleAfterJs(module, __webpack_exports__, __webpack_require__) {
-1 8305 'use strict';
-1 8306 __webpack_require__.r(__webpack_exports__);
-1 8307 function uniqueFrameTitleAfter(results) {
-1 8308 var titles = {};
-1 8309 results.forEach(function(r) {
-1 8310 titles[r.data] = titles[r.data] !== undefined ? ++titles[r.data] : 0;
-1 8311 });
-1 8312 results.forEach(function(r) {
-1 8313 r.result = !!titles[r.data];
-1 8314 });
-1 8315 return results;
-1 8316 }
-1 8317 __webpack_exports__['default'] = uniqueFrameTitleAfter;
-1 8318 },
-1 8319 './lib/checks/navigation/unique-frame-title-evaluate.js': function libChecksNavigationUniqueFrameTitleEvaluateJs(module, __webpack_exports__, __webpack_require__) {
-1 8320 'use strict';
-1 8321 __webpack_require__.r(__webpack_exports__);
-1 8322 var _commons_text__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/text/index.js');
-1 8323 function uniqueFrameTitleEvaluate(node, options, vNode) {
-1 8324 var title = Object(_commons_text__WEBPACK_IMPORTED_MODULE_0__['sanitize'])(vNode.attr('title') || '').trim().toLowerCase();
-1 8325 this.data(title);
-1 8326 return true;
-1 8327 }
-1 8328 __webpack_exports__['default'] = uniqueFrameTitleEvaluate;
-1 8329 },
-1 8330 './lib/checks/parsing/duplicate-id-after.js': function libChecksParsingDuplicateIdAfterJs(module, __webpack_exports__, __webpack_require__) {
-1 8331 'use strict';
-1 8332 __webpack_require__.r(__webpack_exports__);
-1 8333 function duplicateIdAfter(results) {
-1 8334 var uniqueIds = [];
-1 8335 return results.filter(function(r) {
-1 8336 if (uniqueIds.indexOf(r.data) === -1) {
-1 8337 uniqueIds.push(r.data);
-1 8338 return true;
8053 8339 }
-1 8340 return false;
-1 8341 });
-1 8342 }
-1 8343 __webpack_exports__['default'] = duplicateIdAfter;
-1 8344 },
-1 8345 './lib/checks/parsing/duplicate-id-evaluate.js': function libChecksParsingDuplicateIdEvaluateJs(module, __webpack_exports__, __webpack_require__) {
-1 8346 'use strict';
-1 8347 __webpack_require__.r(__webpack_exports__);
-1 8348 var _commons_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/dom/index.js');
-1 8349 var _core_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/core/utils/index.js');
-1 8350 function duplicateIdEvaluate(node) {
-1 8351 var id = node.getAttribute('id').trim();
-1 8352 if (!id) {
-1 8353 return true;
8054 8354 }
8055 -1 queue.push(new Item(fun, args));
8056 -1 if (queue.length === 1 && !draining) {
8057 -1 runTimeout(drainQueue);
-1 8355 var root = Object(_commons_dom__WEBPACK_IMPORTED_MODULE_0__['getRootNode'])(node);
-1 8356 var matchingNodes = Array.from(root.querySelectorAll('[id="'.concat(Object(_core_utils__WEBPACK_IMPORTED_MODULE_1__['escapeSelector'])(id), '"]'))).filter(function(foundNode) {
-1 8357 return foundNode !== node;
-1 8358 });
-1 8359 if (matchingNodes.length) {
-1 8360 this.relatedNodes(matchingNodes);
8058 8361 }
8059 -1 };
8060 -1 function Item(fun, array) {
8061 -1 this.fun = fun;
8062 -1 this.array = array;
-1 8362 this.data(id);
-1 8363 return matchingNodes.length === 0;
8063 8364 }
8064 -1 Item.prototype.run = function() {
8065 -1 this.fun.apply(null, this.array);
8066 -1 };
8067 -1 process.title = 'browser';
8068 -1 process.browser = true;
8069 -1 process.env = {};
8070 -1 process.argv = [];
8071 -1 process.version = '';
8072 -1 process.versions = {};
8073 -1 function noop() {}
8074 -1 process.on = noop;
8075 -1 process.addListener = noop;
8076 -1 process.once = noop;
8077 -1 process.off = noop;
8078 -1 process.removeListener = noop;
8079 -1 process.removeAllListeners = noop;
8080 -1 process.emit = noop;
8081 -1 process.prependListener = noop;
8082 -1 process.prependOnceListener = noop;
8083 -1 process.listeners = function(name) {
8084 -1 return [];
8085 -1 };
8086 -1 process.binding = function(name) {
8087 -1 throw new Error('process.binding is not supported');
8088 -1 };
8089 -1 process.cwd = function() {
8090 -1 return '/';
8091 -1 };
8092 -1 process.chdir = function(dir) {
8093 -1 throw new Error('process.chdir is not supported');
8094 -1 };
8095 -1 process.umask = function() {
8096 -1 return 0;
8097 -1 };
8098 -1 }, {} ]
8099 -1 }, {}, [ 1 ]);
8100 -1 'use strict';
8101 -1 var utils = axe.utils = {};
8102 -1 'use strict';
8103 -1 var helpers = {};
8104 -1 'use strict';
8105 -1 var _typeof = typeof Symbol === 'function' && typeof Symbol.iterator === 'symbol' ? function(obj) {
8106 -1 return typeof obj;
8107 -1 } : function(obj) {
8108 -1 return obj && typeof Symbol === 'function' && obj.constructor === Symbol && obj !== Symbol.prototype ? 'symbol' : typeof obj;
8109 -1 };
8110 -1 var _extends = Object.assign || function(target) {
8111 -1 for (var i = 1; i < arguments.length; i++) {
8112 -1 var source = arguments[i];
8113 -1 for (var key in source) {
8114 -1 if (Object.prototype.hasOwnProperty.call(source, key)) {
8115 -1 target[key] = source[key];
-1 8365 __webpack_exports__['default'] = duplicateIdEvaluate;
-1 8366 },
-1 8367 './lib/checks/shared/aria-label-evaluate.js': function libChecksSharedAriaLabelEvaluateJs(module, __webpack_exports__, __webpack_require__) {
-1 8368 'use strict';
-1 8369 __webpack_require__.r(__webpack_exports__);
-1 8370 var _commons_text__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/text/index.js');
-1 8371 var _commons_aria__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/commons/aria/index.js');
-1 8372 function ariaLabelEvaluate(node, options, virtualNode) {
-1 8373 return !!Object(_commons_text__WEBPACK_IMPORTED_MODULE_0__['sanitize'])(Object(_commons_aria__WEBPACK_IMPORTED_MODULE_1__['arialabelText'])(virtualNode));
-1 8374 }
-1 8375 __webpack_exports__['default'] = ariaLabelEvaluate;
-1 8376 },
-1 8377 './lib/checks/shared/aria-labelledby-evaluate.js': function libChecksSharedAriaLabelledbyEvaluateJs(module, __webpack_exports__, __webpack_require__) {
-1 8378 'use strict';
-1 8379 __webpack_require__.r(__webpack_exports__);
-1 8380 var _commons_text__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/text/index.js');
-1 8381 var _commons_aria__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/commons/aria/index.js');
-1 8382 function ariaLabelledbyEvaluate(node, options, virtualNode) {
-1 8383 try {
-1 8384 return !!Object(_commons_text__WEBPACK_IMPORTED_MODULE_0__['sanitize'])(Object(_commons_aria__WEBPACK_IMPORTED_MODULE_1__['arialabelledbyText'])(virtualNode));
-1 8385 } catch (e) {
-1 8386 return undefined;
8116 8387 }
8117 8388 }
8118 -1 }
8119 -1 return target;
8120 -1 };
8121 -1 function getDefaultConfiguration(audit) {
8122 -1 'use strict';
8123 -1 var config;
8124 -1 if (audit) {
8125 -1 config = axe.utils.clone(audit);
8126 -1 config.commons = audit.commons;
8127 -1 } else {
8128 -1 config = {};
8129 -1 }
8130 -1 config.reporter = config.reporter || null;
8131 -1 config.rules = config.rules || [];
8132 -1 config.checks = config.checks || [];
8133 -1 config.data = _extends({
8134 -1 checks: {},
8135 -1 rules: {}
8136 -1 }, config.data);
8137 -1 return config;
8138 -1 }
8139 -1 function unpackToObject(collection, audit, method) {
8140 -1 'use strict';
8141 -1 var i, l;
8142 -1 for (i = 0, l = collection.length; i < l; i++) {
8143 -1 audit[method](collection[i]);
8144 -1 }
8145 -1 }
8146 -1 function Audit(audit) {
8147 -1 this.brand = 'axe';
8148 -1 this.application = 'axeAPI';
8149 -1 this.tagExclude = [ 'experimental' ];
8150 -1 this.defaultConfig = audit;
8151 -1 this._init();
8152 -1 this._defaultLocale = null;
8153 -1 }
8154 -1 Audit.prototype._setDefaultLocale = function() {
8155 -1 if (this._defaultLocale) {
8156 -1 return;
8157 -1 }
8158 -1 var locale = {
8159 -1 checks: {},
8160 -1 rules: {}
8161 -1 };
8162 -1 var checkIDs = Object.keys(this.data.checks);
8163 -1 for (var i = 0; i < checkIDs.length; i++) {
8164 -1 var id = checkIDs[i];
8165 -1 var check = this.data.checks[id];
8166 -1 var _check$messages = check.messages, pass = _check$messages.pass, fail = _check$messages.fail, incomplete = _check$messages.incomplete;
8167 -1 locale.checks[id] = {
8168 -1 pass: pass,
8169 -1 fail: fail,
8170 -1 incomplete: incomplete
8171 -1 };
8172 -1 }
8173 -1 var ruleIDs = Object.keys(this.data.rules);
8174 -1 for (var _i = 0; _i < ruleIDs.length; _i++) {
8175 -1 var _id = ruleIDs[_i];
8176 -1 var rule = this.data.rules[_id];
8177 -1 var description = rule.description, help = rule.help;
8178 -1 locale.rules[_id] = {
8179 -1 description: description,
8180 -1 help: help
8181 -1 };
8182 -1 }
8183 -1 this._defaultLocale = locale;
8184 -1 };
8185 -1 Audit.prototype._resetLocale = function() {
8186 -1 var defaultLocale = this._defaultLocale;
8187 -1 if (!defaultLocale) {
8188 -1 return;
8189 -1 }
8190 -1 this.applyLocale(defaultLocale);
8191 -1 };
8192 -1 var mergeCheckLocale = function mergeCheckLocale(a, b) {
8193 -1 var pass = b.pass, fail = b.fail;
8194 -1 if (typeof pass === 'string') {
8195 -1 pass = axe.imports.doT.compile(pass);
8196 -1 }
8197 -1 if (typeof fail === 'string') {
8198 -1 fail = axe.imports.doT.compile(fail);
8199 -1 }
8200 -1 return _extends({}, a, {
8201 -1 messages: {
8202 -1 pass: pass || a.messages.pass,
8203 -1 fail: fail || a.messages.fail,
8204 -1 incomplete: _typeof(a.messages.incomplete) === 'object' ? _extends({}, a.messages.incomplete, b.incomplete) : b.incomplete
8205 -1 }
8206 -1 });
8207 -1 };
8208 -1 var mergeRuleLocale = function mergeRuleLocale(a, b) {
8209 -1 var help = b.help, description = b.description;
8210 -1 if (typeof help === 'string') {
8211 -1 help = axe.imports.doT.compile(help);
8212 -1 }
8213 -1 if (typeof description === 'string') {
8214 -1 description = axe.imports.doT.compile(description);
8215 -1 }
8216 -1 return _extends({}, a, {
8217 -1 help: help || a.help,
8218 -1 description: description || a.description
8219 -1 });
8220 -1 };
8221 -1 Audit.prototype._applyCheckLocale = function(checks) {
8222 -1 var keys = Object.keys(checks);
8223 -1 for (var i = 0; i < keys.length; i++) {
8224 -1 var id = keys[i];
8225 -1 if (!this.data.checks[id]) {
8226 -1 throw new Error('Locale provided for unknown check: "' + id + '"');
8227 -1 }
8228 -1 this.data.checks[id] = mergeCheckLocale(this.data.checks[id], checks[id]);
8229 -1 }
8230 -1 };
8231 -1 Audit.prototype._applyRuleLocale = function(rules) {
8232 -1 var keys = Object.keys(rules);
8233 -1 for (var i = 0; i < keys.length; i++) {
8234 -1 var id = keys[i];
8235 -1 if (!this.data.rules[id]) {
8236 -1 throw new Error('Locale provided for unknown rule: "' + id + '"');
8237 -1 }
8238 -1 this.data.rules[id] = mergeRuleLocale(this.data.rules[id], rules[id]);
8239 -1 }
8240 -1 };
8241 -1 Audit.prototype.applyLocale = function(locale) {
8242 -1 this._setDefaultLocale();
8243 -1 if (locale.checks) {
8244 -1 this._applyCheckLocale(locale.checks);
8245 -1 }
8246 -1 if (locale.rules) {
8247 -1 this._applyRuleLocale(locale.rules);
8248 -1 }
8249 -1 };
8250 -1 Audit.prototype._init = function() {
8251 -1 var audit = getDefaultConfiguration(this.defaultConfig);
8252 -1 axe.commons = commons = audit.commons;
8253 -1 this.reporter = audit.reporter;
8254 -1 this.commands = {};
8255 -1 this.rules = [];
8256 -1 this.checks = {};
8257 -1 unpackToObject(audit.rules, this, 'addRule');
8258 -1 unpackToObject(audit.checks, this, 'addCheck');
8259 -1 this.data = {};
8260 -1 this.data.checks = audit.data && audit.data.checks || {};
8261 -1 this.data.rules = audit.data && audit.data.rules || {};
8262 -1 this.data.failureSummaries = audit.data && audit.data.failureSummaries || {};
8263 -1 this.data.incompleteFallbackMessage = audit.data && audit.data.incompleteFallbackMessage || '';
8264 -1 this._constructHelpUrls();
8265 -1 };
8266 -1 Audit.prototype.registerCommand = function(command) {
8267 -1 'use strict';
8268 -1 this.commands[command.id] = command.callback;
8269 -1 };
8270 -1 Audit.prototype.addRule = function(spec) {
8271 -1 'use strict';
8272 -1 if (spec.metadata) {
8273 -1 this.data.rules[spec.id] = spec.metadata;
8274 -1 }
8275 -1 var rule = this.getRule(spec.id);
8276 -1 if (rule) {
8277 -1 rule.configure(spec);
8278 -1 } else {
8279 -1 this.rules.push(new Rule(spec, this));
8280 -1 }
8281 -1 };
8282 -1 Audit.prototype.addCheck = function(spec) {
8283 -1 'use strict';
8284 -1 var metadata = spec.metadata;
8285 -1 if ((typeof metadata === 'undefined' ? 'undefined' : _typeof(metadata)) === 'object') {
8286 -1 this.data.checks[spec.id] = metadata;
8287 -1 if (_typeof(metadata.messages) === 'object') {
8288 -1 Object.keys(metadata.messages).filter(function(prop) {
8289 -1 return metadata.messages.hasOwnProperty(prop) && typeof metadata.messages[prop] === 'string';
8290 -1 }).forEach(function(prop) {
8291 -1 if (metadata.messages[prop].indexOf('function') === 0) {
8292 -1 metadata.messages[prop] = new Function('return ' + metadata.messages[prop] + ';')();
-1 8389 __webpack_exports__['default'] = ariaLabelledbyEvaluate;
-1 8390 },
-1 8391 './lib/checks/shared/avoid-inline-spacing-evaluate.js': function libChecksSharedAvoidInlineSpacingEvaluateJs(module, __webpack_exports__, __webpack_require__) {
-1 8392 'use strict';
-1 8393 __webpack_require__.r(__webpack_exports__);
-1 8394 function avoidInlineSpacingEvaluate(node, options) {
-1 8395 var overriddenProperties = options.cssProperties.filter(function(property) {
-1 8396 if (node.style.getPropertyPriority(property) === 'important') {
-1 8397 return property;
8293 8398 }
8294 8399 });
-1 8400 if (overriddenProperties.length > 0) {
-1 8401 this.data(overriddenProperties);
-1 8402 return false;
-1 8403 }
-1 8404 return true;
8295 8405 }
8296 -1 }
8297 -1 if (this.checks[spec.id]) {
8298 -1 this.checks[spec.id].configure(spec);
8299 -1 } else {
8300 -1 this.checks[spec.id] = new Check(spec);
8301 -1 }
8302 -1 };
8303 -1 function getRulesToRun(rules, context, options) {
8304 -1 var base = {
8305 -1 now: [],
8306 -1 later: []
8307 -1 };
8308 -1 var splitRules = rules.reduce(function(out, rule) {
8309 -1 if (!axe.utils.ruleShouldRun(rule, context, options)) {
8310 -1 return out;
-1 8406 __webpack_exports__['default'] = avoidInlineSpacingEvaluate;
-1 8407 },
-1 8408 './lib/checks/shared/doc-has-title-evaluate.js': function libChecksSharedDocHasTitleEvaluateJs(module, __webpack_exports__, __webpack_require__) {
-1 8409 'use strict';
-1 8410 __webpack_require__.r(__webpack_exports__);
-1 8411 var _commons_text__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/text/index.js');
-1 8412 function docHasTitleEvaluate() {
-1 8413 var title = document.title;
-1 8414 return !!(title ? Object(_commons_text__WEBPACK_IMPORTED_MODULE_0__['sanitize'])(title).trim() : '');
8311 8415 }
8312 -1 if (rule.preload) {
8313 -1 out.later.push(rule);
8314 -1 return out;
-1 8416 __webpack_exports__['default'] = docHasTitleEvaluate;
-1 8417 },
-1 8418 './lib/checks/shared/exists-evaluate.js': function libChecksSharedExistsEvaluateJs(module, __webpack_exports__, __webpack_require__) {
-1 8419 'use strict';
-1 8420 __webpack_require__.r(__webpack_exports__);
-1 8421 function existsEvaluate() {
-1 8422 return undefined;
8315 8423 }
8316 -1 out.now.push(rule);
8317 -1 return out;
8318 -1 }, base);
8319 -1 return splitRules;
8320 -1 }
8321 -1 function getDefferedRule(rule, context, options) {
8322 -1 if (options.performanceTimer) {
8323 -1 axe.utils.performanceTimer.mark('mark_rule_start_' + rule.id);
8324 -1 }
8325 -1 return function(resolve, reject) {
8326 -1 rule.run(context, options, function(ruleResult) {
8327 -1 resolve(ruleResult);
8328 -1 }, function(err) {
8329 -1 if (!options.debug) {
8330 -1 var errResult = Object.assign(new RuleResult(rule), {
8331 -1 result: axe.constants.CANTTELL,
8332 -1 description: 'An error occured while running this rule',
8333 -1 message: err.message,
8334 -1 stack: err.stack,
8335 -1 error: err,
8336 -1 errorNode: err.errorNode
8337 -1 });
8338 -1 resolve(errResult);
8339 -1 } else {
8340 -1 reject(err);
-1 8424 __webpack_exports__['default'] = existsEvaluate;
-1 8425 },
-1 8426 './lib/checks/shared/has-alt-evaluate.js': function libChecksSharedHasAltEvaluateJs(module, __webpack_exports__, __webpack_require__) {
-1 8427 'use strict';
-1 8428 __webpack_require__.r(__webpack_exports__);
-1 8429 function hasAltEvaluate(node, options, virtualNode) {
-1 8430 var nodeName = virtualNode.props.nodeName;
-1 8431 if (![ 'img', 'input', 'area' ].includes(nodeName)) {
-1 8432 return false;
8341 8433 }
8342 -1 });
8343 -1 };
8344 -1 }
8345 -1 Audit.prototype.run = function(context, options, resolve, reject) {
8346 -1 'use strict';
8347 -1 this.normalizeOptions(options);
8348 -1 axe._selectCache = [];
8349 -1 var allRulesToRun = getRulesToRun(this.rules, context, options);
8350 -1 var runNowRules = allRulesToRun.now;
8351 -1 var runLaterRules = allRulesToRun.later;
8352 -1 var nowRulesQueue = axe.utils.queue();
8353 -1 runNowRules.forEach(function(rule) {
8354 -1 nowRulesQueue.defer(getDefferedRule(rule, context, options));
8355 -1 });
8356 -1 var preloaderQueue = axe.utils.queue();
8357 -1 if (runLaterRules.length) {
8358 -1 preloaderQueue.defer(function(res, rej) {
8359 -1 axe.utils.preload(options).then(function(preloadResults) {
8360 -1 var assets = preloadResults[0];
8361 -1 res(assets);
8362 -1 }).catch(function(err) {
8363 -1 console.warn('Couldn\'t load preload assets: ', err);
8364 -1 var assets = undefined;
8365 -1 res(assets);
8366 -1 });
8367 -1 });
8368 -1 }
8369 -1 var queueForNowRulesAndPreloader = axe.utils.queue();
8370 -1 queueForNowRulesAndPreloader.defer(nowRulesQueue);
8371 -1 queueForNowRulesAndPreloader.defer(preloaderQueue);
8372 -1 queueForNowRulesAndPreloader.then(function(nowRulesAndPreloaderResults) {
8373 -1 var assetsFromQueue = nowRulesAndPreloaderResults.pop();
8374 -1 if (assetsFromQueue && assetsFromQueue.length) {
8375 -1 var assets = assetsFromQueue[0];
8376 -1 if (assets) {
8377 -1 context = _extends({}, context, assets);
8378 -1 }
8379 -1 }
8380 -1 var nowRulesResults = nowRulesAndPreloaderResults[0];
8381 -1 if (!runLaterRules.length) {
8382 -1 axe._selectCache = undefined;
8383 -1 resolve(nowRulesResults.filter(function(result) {
8384 -1 return !!result;
8385 -1 }));
8386 -1 return;
8387 -1 }
8388 -1 var laterRulesQueue = axe.utils.queue();
8389 -1 runLaterRules.forEach(function(rule) {
8390 -1 var deferredRule = getDefferedRule(rule, context, options);
8391 -1 laterRulesQueue.defer(deferredRule);
8392 -1 });
8393 -1 laterRulesQueue.then(function(laterRuleResults) {
8394 -1 axe._selectCache = undefined;
8395 -1 resolve(nowRulesResults.concat(laterRuleResults).filter(function(result) {
8396 -1 return !!result;
8397 -1 }));
8398 -1 }).catch(reject);
8399 -1 }).catch(reject);
8400 -1 };
8401 -1 Audit.prototype.after = function(results, options) {
8402 -1 'use strict';
8403 -1 var rules = this.rules;
8404 -1 return results.map(function(ruleResult) {
8405 -1 var rule = axe.utils.findBy(rules, 'id', ruleResult.id);
8406 -1 if (!rule) {
8407 -1 throw new Error('Result for unknown rule. You may be running mismatch aXe-core versions');
8408 -1 }
8409 -1 return rule.after(ruleResult, options);
8410 -1 });
8411 -1 };
8412 -1 Audit.prototype.getRule = function(ruleId) {
8413 -1 return this.rules.find(function(rule) {
8414 -1 return rule.id === ruleId;
8415 -1 });
8416 -1 };
8417 -1 Audit.prototype.normalizeOptions = function(options) {
8418 -1 'use strict';
8419 -1 var audit = this;
8420 -1 if (_typeof(options.runOnly) === 'object') {
8421 -1 if (Array.isArray(options.runOnly)) {
8422 -1 options.runOnly = {
8423 -1 type: 'tag',
8424 -1 values: options.runOnly
8425 -1 };
8426 -1 }
8427 -1 var only = options.runOnly;
8428 -1 if (only.value && !only.values) {
8429 -1 only.values = only.value;
8430 -1 delete only.value;
-1 8434 return virtualNode.hasAttr('alt');
8431 8435 }
8432 -1 if (!Array.isArray(only.values) || only.values.length === 0) {
8433 -1 throw new Error('runOnly.values must be a non-empty array');
-1 8436 __webpack_exports__['default'] = hasAltEvaluate;
-1 8437 },
-1 8438 './lib/checks/shared/is-on-screen-evaluate.js': function libChecksSharedIsOnScreenEvaluateJs(module, __webpack_exports__, __webpack_require__) {
-1 8439 'use strict';
-1 8440 __webpack_require__.r(__webpack_exports__);
-1 8441 var _commons_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/dom/index.js');
-1 8442 function isOnScreenEvaluate(node) {
-1 8443 return Object(_commons_dom__WEBPACK_IMPORTED_MODULE_0__['isVisible'])(node, false) && !Object(_commons_dom__WEBPACK_IMPORTED_MODULE_0__['isOffscreen'])(node);
8434 8444 }
8435 -1 if ([ 'rule', 'rules' ].includes(only.type)) {
8436 -1 only.type = 'rule';
8437 -1 only.values.forEach(function(ruleId) {
8438 -1 if (!audit.getRule(ruleId)) {
8439 -1 throw new Error('unknown rule `' + ruleId + '` in options.runOnly');
8440 -1 }
8441 -1 });
8442 -1 } else if ([ 'tag', 'tags', undefined ].includes(only.type)) {
8443 -1 only.type = 'tag';
8444 -1 var unmatchedTags = audit.rules.reduce(function(unmatchedTags, rule) {
8445 -1 return unmatchedTags.length ? unmatchedTags.filter(function(tag) {
8446 -1 return !rule.tags.includes(tag);
8447 -1 }) : unmatchedTags;
8448 -1 }, only.values);
8449 -1 if (unmatchedTags.length !== 0) {
8450 -1 axe.log('Could not find tags `' + unmatchedTags.join('`, `') + '`');
-1 8445 __webpack_exports__['default'] = isOnScreenEvaluate;
-1 8446 },
-1 8447 './lib/checks/shared/non-empty-if-present-evaluate.js': function libChecksSharedNonEmptyIfPresentEvaluateJs(module, __webpack_exports__, __webpack_require__) {
-1 8448 'use strict';
-1 8449 __webpack_require__.r(__webpack_exports__);
-1 8450 function nonEmptyIfPresentEvaluate(node, options, virtualNode) {
-1 8451 var nodeName = virtualNode.props.nodeName;
-1 8452 var type = (virtualNode.attr('type') || '').toLowerCase();
-1 8453 var label = virtualNode.attr('value');
-1 8454 if (label) {
-1 8455 this.data({
-1 8456 messageKey: 'has-label'
-1 8457 });
8451 8458 }
8452 -1 } else {
8453 -1 throw new Error('Unknown runOnly type \'' + only.type + '\'');
8454 -1 }
8455 -1 }
8456 -1 if (_typeof(options.rules) === 'object') {
8457 -1 Object.keys(options.rules).forEach(function(ruleId) {
8458 -1 if (!audit.getRule(ruleId)) {
8459 -1 throw new Error('unknown rule `' + ruleId + '` in options.rules');
-1 8459 if (nodeName === 'input' && [ 'submit', 'reset' ].includes(type)) {
-1 8460 return label === null;
8460 8461 }
8461 -1 });
8462 -1 }
8463 -1 return options;
8464 -1 };
8465 -1 Audit.prototype.setBranding = function(branding) {
8466 -1 'use strict';
8467 -1 var previous = {
8468 -1 brand: this.brand,
8469 -1 application: this.application
8470 -1 };
8471 -1 if (branding && branding.hasOwnProperty('brand') && branding.brand && typeof branding.brand === 'string') {
8472 -1 this.brand = branding.brand;
8473 -1 }
8474 -1 if (branding && branding.hasOwnProperty('application') && branding.application && typeof branding.application === 'string') {
8475 -1 this.application = branding.application;
8476 -1 }
8477 -1 this._constructHelpUrls(previous);
8478 -1 };
8479 -1 function getHelpUrl(_ref, ruleId, version) {
8480 -1 var brand = _ref.brand, application = _ref.application;
8481 -1 return axe.constants.helpUrlBase + brand + '/' + (version || axe.version.substring(0, axe.version.lastIndexOf('.'))) + '/' + ruleId + '?application=' + application;
8482 -1 }
8483 -1 Audit.prototype._constructHelpUrls = function() {
8484 -1 var _this = this;
8485 -1 var previous = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
8486 -1 var version = (axe.version.match(/^[1-9][0-9]*\.[0-9]+/) || [ 'x.y' ])[0];
8487 -1 this.rules.forEach(function(rule) {
8488 -1 if (!_this.data.rules[rule.id]) {
8489 -1 _this.data.rules[rule.id] = {};
8490 -1 }
8491 -1 var metaData = _this.data.rules[rule.id];
8492 -1 if (typeof metaData.helpUrl !== 'string' || previous && metaData.helpUrl === getHelpUrl(previous, rule.id, version)) {
8493 -1 metaData.helpUrl = getHelpUrl(_this, rule.id, version);
-1 8462 return false;
8494 8463 }
8495 -1 });
8496 -1 };
8497 -1 Audit.prototype.resetRulesAndChecks = function() {
8498 -1 'use strict';
8499 -1 this._init();
8500 -1 this._resetLocale();
8501 -1 };
8502 -1 'use strict';
8503 -1 function CheckResult(check) {
8504 -1 'use strict';
8505 -1 this.id = check.id;
8506 -1 this.data = null;
8507 -1 this.relatedNodes = [];
8508 -1 this.result = null;
8509 -1 }
8510 -1 'use strict';
8511 -1 function createExecutionContext(spec) {
8512 -1 'use strict';
8513 -1 if (typeof spec === 'string') {
8514 -1 return new Function('return ' + spec + ';')();
8515 -1 }
8516 -1 return spec;
8517 -1 }
8518 -1 function Check(spec) {
8519 -1 if (spec) {
8520 -1 this.id = spec.id;
8521 -1 this.configure(spec);
8522 -1 }
8523 -1 }
8524 -1 Check.prototype.enabled = true;
8525 -1 Check.prototype.run = function(node, options, context, resolve, reject) {
8526 -1 'use strict';
8527 -1 options = options || {};
8528 -1 var enabled = options.hasOwnProperty('enabled') ? options.enabled : this.enabled, checkOptions = options.options || this.options;
8529 -1 if (enabled) {
8530 -1 var checkResult = new CheckResult(this);
8531 -1 var checkHelper = axe.utils.checkHelper(checkResult, options, resolve, reject);
8532 -1 var result;
8533 -1 try {
8534 -1 result = this.evaluate.call(checkHelper, node.actualNode, checkOptions, node, context);
8535 -1 } catch (e) {
8536 -1 if (node && node.actualNode) {
8537 -1 e.errorNode = new DqElement(node.actualNode).toJSON();
-1 8464 __webpack_exports__['default'] = nonEmptyIfPresentEvaluate;
-1 8465 },
-1 8466 './lib/checks/shared/svg-non-empty-title-evaluate.js': function libChecksSharedSvgNonEmptyTitleEvaluateJs(module, __webpack_exports__, __webpack_require__) {
-1 8467 'use strict';
-1 8468 __webpack_require__.r(__webpack_exports__);
-1 8469 var _commons_text_visible_virtual__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/text/visible-virtual.js');
-1 8470 function svgNonEmptyTitleEvaluate(node, options, virtualNode) {
-1 8471 try {
-1 8472 var titleNode = virtualNode.children.find(function(_ref20) {
-1 8473 var props = _ref20.props;
-1 8474 return props.nodeName === 'title';
-1 8475 });
-1 8476 if (!titleNode) {
-1 8477 this.data({
-1 8478 messageKey: 'noTitle'
-1 8479 });
-1 8480 return false;
-1 8481 }
-1 8482 if (Object(_commons_text_visible_virtual__WEBPACK_IMPORTED_MODULE_0__['default'])(titleNode) === '') {
-1 8483 this.data({
-1 8484 messageKey: 'emptyTitle'
-1 8485 });
-1 8486 return false;
-1 8487 }
-1 8488 return true;
-1 8489 } catch (e) {
-1 8490 return undefined;
8538 8491 }
8539 -1 reject(e);
8540 -1 return;
8541 -1 }
8542 -1 if (!checkHelper.isAsync) {
8543 -1 checkResult.result = result;
8544 -1 resolve(checkResult);
8545 -1 }
8546 -1 } else {
8547 -1 resolve(null);
8548 -1 }
8549 -1 };
8550 -1 Check.prototype.configure = function(spec) {
8551 -1 var _this = this;
8552 -1 [ 'options', 'enabled' ].filter(function(prop) {
8553 -1 return spec.hasOwnProperty(prop);
8554 -1 }).forEach(function(prop) {
8555 -1 return _this[prop] = spec[prop];
8556 -1 });
8557 -1 [ 'evaluate', 'after' ].filter(function(prop) {
8558 -1 return spec.hasOwnProperty(prop);
8559 -1 }).forEach(function(prop) {
8560 -1 return _this[prop] = createExecutionContext(spec[prop]);
8561 -1 });
8562 -1 };
8563 -1 'use strict';
8564 -1 var _typeof = typeof Symbol === 'function' && typeof Symbol.iterator === 'symbol' ? function(obj) {
8565 -1 return typeof obj;
8566 -1 } : function(obj) {
8567 -1 return obj && typeof Symbol === 'function' && obj.constructor === Symbol && obj !== Symbol.prototype ? 'symbol' : typeof obj;
8568 -1 };
8569 -1 function pushUniqueFrame(collection, frame) {
8570 -1 'use strict';
8571 -1 if (axe.utils.isHidden(frame)) {
8572 -1 return;
8573 -1 }
8574 -1 var fr = axe.utils.findBy(collection, 'node', frame);
8575 -1 if (!fr) {
8576 -1 collection.push({
8577 -1 node: frame,
8578 -1 include: [],
8579 -1 exclude: []
8580 -1 });
8581 -1 }
8582 -1 }
8583 -1 function pushUniqueFrameSelector(context, type, selectorArray) {
8584 -1 'use strict';
8585 -1 context.frames = context.frames || [];
8586 -1 var result, frame;
8587 -1 var frames = document.querySelectorAll(selectorArray.shift());
8588 -1 frameloop: for (var i = 0, l = frames.length; i < l; i++) {
8589 -1 frame = frames[i];
8590 -1 for (var j = 0, l2 = context.frames.length; j < l2; j++) {
8591 -1 if (context.frames[j].node === frame) {
8592 -1 context.frames[j][type].push(selectorArray);
8593 -1 break frameloop;
8594 -1 }
8595 -1 }
8596 -1 result = {
8597 -1 node: frame,
8598 -1 include: [],
8599 -1 exclude: []
8600 -1 };
8601 -1 if (selectorArray) {
8602 -1 result[type].push(selectorArray);
8603 -1 }
8604 -1 context.frames.push(result);
8605 -1 }
8606 -1 }
8607 -1 function normalizeContext(context) {
8608 -1 'use strict';
8609 -1 if (context && (typeof context === 'undefined' ? 'undefined' : _typeof(context)) === 'object' || context instanceof NodeList) {
8610 -1 if (context instanceof Node) {
8611 -1 return {
8612 -1 include: [ context ],
8613 -1 exclude: []
8614 -1 };
8615 -1 }
8616 -1 if (context.hasOwnProperty('include') || context.hasOwnProperty('exclude')) {
8617 -1 return {
8618 -1 include: context.include && +context.include.length ? context.include : [ document ],
8619 -1 exclude: context.exclude || []
8620 -1 };
8621 -1 }
8622 -1 if (context.length === +context.length) {
8623 -1 return {
8624 -1 include: context,
8625 -1 exclude: []
8626 -1 };
8627 8492 }
8628 -1 }
8629 -1 if (typeof context === 'string') {
8630 -1 return {
8631 -1 include: [ context ],
8632 -1 exclude: []
8633 -1 };
8634 -1 }
8635 -1 return {
8636 -1 include: [ document ],
8637 -1 exclude: []
8638 -1 };
8639 -1 }
8640 -1 function parseSelectorArray(context, type) {
8641 -1 'use strict';
8642 -1 var item, result = [], nodeList;
8643 -1 for (var i = 0, l = context[type].length; i < l; i++) {
8644 -1 item = context[type][i];
8645 -1 if (typeof item === 'string') {
8646 -1 nodeList = Array.from(document.querySelectorAll(item));
8647 -1 result = result.concat(nodeList.map(function(node) {
8648 -1 return axe.utils.getNodeFromTree(context.flatTree[0], node);
8649 -1 }));
8650 -1 break;
8651 -1 } else if (item && item.length && !(item instanceof Node)) {
8652 -1 if (item.length > 1) {
8653 -1 pushUniqueFrameSelector(context, type, item);
8654 -1 } else {
8655 -1 nodeList = Array.from(document.querySelectorAll(item[0]));
8656 -1 result = result.concat(nodeList.map(function(node) {
8657 -1 return axe.utils.getNodeFromTree(context.flatTree[0], node);
8658 -1 }));
8659 -1 }
8660 -1 } else if (item instanceof Node) {
8661 -1 if (item.documentElement instanceof Node) {
8662 -1 result.push(context.flatTree[0]);
8663 -1 } else {
8664 -1 result.push(axe.utils.getNodeFromTree(context.flatTree[0], item));
-1 8493 __webpack_exports__['default'] = svgNonEmptyTitleEvaluate;
-1 8494 },
-1 8495 './lib/checks/tables/caption-faked-evaluate.js': function libChecksTablesCaptionFakedEvaluateJs(module, __webpack_exports__, __webpack_require__) {
-1 8496 'use strict';
-1 8497 __webpack_require__.r(__webpack_exports__);
-1 8498 var _commons_table__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/table/index.js');
-1 8499 function captionFakedEvaluate(node) {
-1 8500 var table = Object(_commons_table__WEBPACK_IMPORTED_MODULE_0__['toGrid'])(node);
-1 8501 var firstRow = table[0];
-1 8502 if (table.length <= 1 || firstRow.length <= 1 || node.rows.length <= 1) {
-1 8503 return true;
8665 8504 }
-1 8505 return firstRow.reduce(function(out, curr, i) {
-1 8506 return out || curr !== firstRow[i + 1] && firstRow[i + 1] !== undefined;
-1 8507 }, false);
8666 8508 }
8667 -1 }
8668 -1 return result.filter(function(r) {
8669 -1 return r;
8670 -1 });
8671 -1 }
8672 -1 function validateContext(context) {
8673 -1 'use strict';
8674 -1 if (context.include.length === 0) {
8675 -1 if (context.frames.length === 0) {
8676 -1 var env = axe.utils.respondable.isInFrame() ? 'frame' : 'page';
8677 -1 return new Error('No elements found for include in ' + env + ' Context');
8678 -1 }
8679 -1 context.frames.forEach(function(frame, i) {
8680 -1 if (frame.include.length === 0) {
8681 -1 return new Error('No elements found for include in Context of frame ' + i);
-1 8509 __webpack_exports__['default'] = captionFakedEvaluate;
-1 8510 },
-1 8511 './lib/checks/tables/html5-scope-evaluate.js': function libChecksTablesHtml5ScopeEvaluateJs(module, __webpack_exports__, __webpack_require__) {
-1 8512 'use strict';
-1 8513 __webpack_require__.r(__webpack_exports__);
-1 8514 var _commons_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/dom/index.js');
-1 8515 function html5ScopeEvaluate(node) {
-1 8516 if (!Object(_commons_dom__WEBPACK_IMPORTED_MODULE_0__['isHTML5'])(document)) {
-1 8517 return true;
8682 8518 }
8683 -1 });
8684 -1 }
8685 -1 }
8686 -1 function getRootNode(_ref) {
8687 -1 var include = _ref.include, exclude = _ref.exclude;
8688 -1 var selectors = Array.from(include).concat(Array.from(exclude));
8689 -1 var localDocument = selectors.reduce(function(result, item) {
8690 -1 if (result) {
8691 -1 return result;
8692 -1 } else if (item instanceof Element) {
8693 -1 return item.ownerDocument;
8694 -1 } else if (item instanceof Document) {
8695 -1 return item;
-1 8519 return node.nodeName.toUpperCase() === 'TH';
8696 8520 }
8697 -1 }, null);
8698 -1 return (localDocument || document).documentElement;
8699 -1 }
8700 -1 function Context(spec) {
8701 -1 'use strict';
8702 -1 var _this = this;
8703 -1 this.frames = [];
8704 -1 this.initiator = spec && typeof spec.initiator === 'boolean' ? spec.initiator : true;
8705 -1 this.page = false;
8706 -1 spec = normalizeContext(spec);
8707 -1 this.flatTree = axe.utils.getFlattenedTree(getRootNode(spec));
8708 -1 this.exclude = spec.exclude;
8709 -1 this.include = spec.include;
8710 -1 this.include = parseSelectorArray(this, 'include');
8711 -1 this.exclude = parseSelectorArray(this, 'exclude');
8712 -1 axe.utils.select('frame, iframe', this).forEach(function(frame) {
8713 -1 if (isNodeInContext(frame, _this)) {
8714 -1 pushUniqueFrame(_this.frames, frame.actualNode);
-1 8521 __webpack_exports__['default'] = html5ScopeEvaluate;
-1 8522 },
-1 8523 './lib/checks/tables/same-caption-summary-evaluate.js': function libChecksTablesSameCaptionSummaryEvaluateJs(module, __webpack_exports__, __webpack_require__) {
-1 8524 'use strict';
-1 8525 __webpack_require__.r(__webpack_exports__);
-1 8526 var _commons_text__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/text/index.js');
-1 8527 function sameCaptionSummaryEvaluate(node) {
-1 8528 return !!(node.summary && node.caption) && node.summary.toLowerCase() === Object(_commons_text__WEBPACK_IMPORTED_MODULE_0__['accessibleText'])(node.caption).toLowerCase();
8715 8529 }
8716 -1 });
8717 -1 if (this.include.length === 1 && this.include[0].actualNode === document.documentElement) {
8718 -1 this.page = true;
8719 -1 }
8720 -1 var err = validateContext(this);
8721 -1 if (err instanceof Error) {
8722 -1 throw err;
8723 -1 }
8724 -1 if (!Array.isArray(this.include)) {
8725 -1 this.include = Array.from(this.include);
8726 -1 }
8727 -1 this.include.sort(axe.utils.nodeSorter);
8728 -1 }
8729 -1 'use strict';
8730 -1 function RuleResult(rule) {
8731 -1 'use strict';
8732 -1 this.id = rule.id;
8733 -1 this.result = axe.constants.NA;
8734 -1 this.pageLevel = rule.pageLevel;
8735 -1 this.impact = null;
8736 -1 this.nodes = [];
8737 -1 }
8738 -1 'use strict';
8739 -1 function Rule(spec, parentAudit) {
8740 -1 'use strict';
8741 -1 this._audit = parentAudit;
8742 -1 this.id = spec.id;
8743 -1 this.selector = spec.selector || '*';
8744 -1 this.excludeHidden = typeof spec.excludeHidden === 'boolean' ? spec.excludeHidden : true;
8745 -1 this.enabled = typeof spec.enabled === 'boolean' ? spec.enabled : true;
8746 -1 this.pageLevel = typeof spec.pageLevel === 'boolean' ? spec.pageLevel : false;
8747 -1 this.any = spec.any || [];
8748 -1 this.all = spec.all || [];
8749 -1 this.none = spec.none || [];
8750 -1 this.tags = spec.tags || [];
8751 -1 this.preload = spec.preload ? true : false;
8752 -1 if (spec.matches) {
8753 -1 this.matches = createExecutionContext(spec.matches);
8754 -1 }
8755 -1 }
8756 -1 Rule.prototype.matches = function() {
8757 -1 'use strict';
8758 -1 return true;
8759 -1 };
8760 -1 Rule.prototype.gather = function(context) {
8761 -1 'use strict';
8762 -1 var elements = axe.utils.select(this.selector, context);
8763 -1 if (this.excludeHidden) {
8764 -1 return elements.filter(function(element) {
8765 -1 return !axe.utils.isHidden(element.actualNode);
8766 -1 });
8767 -1 }
8768 -1 return elements;
8769 -1 };
8770 -1 Rule.prototype.runChecks = function(type, node, options, context, resolve, reject) {
8771 -1 'use strict';
8772 -1 var self = this;
8773 -1 var checkQueue = axe.utils.queue();
8774 -1 this[type].forEach(function(c) {
8775 -1 var check = self._audit.checks[c.id || c];
8776 -1 var option = axe.utils.getCheckOption(check, self.id, options);
8777 -1 checkQueue.defer(function(res, rej) {
8778 -1 check.run(node, option, context, res, rej);
8779 -1 });
8780 -1 });
8781 -1 checkQueue.then(function(results) {
8782 -1 results = results.filter(function(check) {
8783 -1 return check;
8784 -1 });
8785 -1 resolve({
8786 -1 type: type,
8787 -1 results: results
8788 -1 });
8789 -1 }).catch(reject);
8790 -1 };
8791 -1 Rule.prototype.run = function(context, options, resolve, reject) {
8792 -1 var _this = this;
8793 -1 var q = axe.utils.queue();
8794 -1 var ruleResult = new RuleResult(this);
8795 -1 var markStart = 'mark_rule_start_' + this.id;
8796 -1 var markEnd = 'mark_rule_end_' + this.id;
8797 -1 var markChecksStart = 'mark_runchecks_start_' + this.id;
8798 -1 var markChecksEnd = 'mark_runchecks_end_' + this.id;
8799 -1 var nodes = void 0;
8800 -1 try {
8801 -1 nodes = this.gather(context).filter(function(node) {
8802 -1 return _this.matches(node.actualNode, node, context);
8803 -1 });
8804 -1 } catch (error) {
8805 -1 reject(new SupportError({
8806 -1 cause: error,
8807 -1 ruleId: this.id
8808 -1 }));
8809 -1 return;
8810 -1 }
8811 -1 if (options.performanceTimer) {
8812 -1 axe.log('gather (', nodes.length, '):', axe.utils.performanceTimer.timeElapsed() + 'ms');
8813 -1 axe.utils.performanceTimer.mark(markChecksStart);
8814 -1 }
8815 -1 nodes.forEach(function(node) {
8816 -1 q.defer(function(resolveNode, rejectNode) {
8817 -1 var checkQueue = axe.utils.queue();
8818 -1 [ 'any', 'all', 'none' ].forEach(function(type) {
8819 -1 checkQueue.defer(function(res, rej) {
8820 -1 _this.runChecks(type, node, options, context, res, rej);
8821 -1 });
8822 -1 });
8823 -1 checkQueue.then(function(results) {
8824 -1 if (results.length) {
8825 -1 var hasResults = false, result = {};
8826 -1 results.forEach(function(r) {
8827 -1 var res = r.results.filter(function(result) {
8828 -1 return result;
8829 -1 });
8830 -1 result[r.type] = res;
8831 -1 if (res.length) {
8832 -1 hasResults = true;
8833 -1 }
-1 8530 __webpack_exports__['default'] = sameCaptionSummaryEvaluate;
-1 8531 },
-1 8532 './lib/checks/tables/scope-value-evaluate.js': function libChecksTablesScopeValueEvaluateJs(module, __webpack_exports__, __webpack_require__) {
-1 8533 'use strict';
-1 8534 __webpack_require__.r(__webpack_exports__);
-1 8535 function scopeValueEvaluate(node, options) {
-1 8536 var value = node.getAttribute('scope').toLowerCase();
-1 8537 return options.values.indexOf(value) !== -1;
-1 8538 }
-1 8539 __webpack_exports__['default'] = scopeValueEvaluate;
-1 8540 },
-1 8541 './lib/checks/tables/td-has-header-evaluate.js': function libChecksTablesTdHasHeaderEvaluateJs(module, __webpack_exports__, __webpack_require__) {
-1 8542 'use strict';
-1 8543 __webpack_require__.r(__webpack_exports__);
-1 8544 var _commons_table__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/table/index.js');
-1 8545 var _commons_dom__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/commons/dom/index.js');
-1 8546 var _commons_aria__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__('./lib/commons/aria/index.js');
-1 8547 function tdHasHeaderEvaluate(node) {
-1 8548 var badCells = [];
-1 8549 var cells = _commons_table__WEBPACK_IMPORTED_MODULE_0__['getAllCells'](node);
-1 8550 var tableGrid = _commons_table__WEBPACK_IMPORTED_MODULE_0__['toGrid'](node);
-1 8551 cells.forEach(function(cell) {
-1 8552 if (Object(_commons_dom__WEBPACK_IMPORTED_MODULE_1__['hasContent'])(cell) && _commons_table__WEBPACK_IMPORTED_MODULE_0__['isDataCell'](cell) && !Object(_commons_aria__WEBPACK_IMPORTED_MODULE_2__['label'])(cell)) {
-1 8553 var hasHeaders = _commons_table__WEBPACK_IMPORTED_MODULE_0__['getHeaders'](cell, tableGrid).some(function(header) {
-1 8554 return header !== null && !!Object(_commons_dom__WEBPACK_IMPORTED_MODULE_1__['hasContent'])(header);
8834 8555 });
8835 -1 if (hasResults) {
8836 -1 result.node = new axe.utils.DqElement(node.actualNode, options);
8837 -1 ruleResult.nodes.push(result);
-1 8556 if (!hasHeaders) {
-1 8557 badCells.push(cell);
8838 8558 }
8839 8559 }
8840 -1 resolveNode();
8841 -1 }).catch(function(err) {
8842 -1 return rejectNode(err);
8843 8560 });
8844 -1 });
8845 -1 });
8846 -1 q.defer(function(resolve) {
8847 -1 return setTimeout(resolve, 0);
8848 -1 });
8849 -1 if (options.performanceTimer) {
8850 -1 axe.utils.performanceTimer.mark(markChecksEnd);
8851 -1 axe.utils.performanceTimer.mark(markEnd);
8852 -1 axe.utils.performanceTimer.measure('runchecks_' + this.id, markChecksStart, markChecksEnd);
8853 -1 axe.utils.performanceTimer.measure('rule_' + this.id, markStart, markEnd);
8854 -1 }
8855 -1 q.then(function() {
8856 -1 return resolve(ruleResult);
8857 -1 }).catch(function(error) {
8858 -1 return reject(error);
8859 -1 });
8860 -1 };
8861 -1 function findAfterChecks(rule) {
8862 -1 'use strict';
8863 -1 return axe.utils.getAllChecks(rule).map(function(c) {
8864 -1 var check = rule._audit.checks[c.id || c];
8865 -1 return check && typeof check.after === 'function' ? check : null;
8866 -1 }).filter(Boolean);
8867 -1 }
8868 -1 function findCheckResults(nodes, checkID) {
8869 -1 'use strict';
8870 -1 var checkResults = [];
8871 -1 nodes.forEach(function(nodeResult) {
8872 -1 var checks = axe.utils.getAllChecks(nodeResult);
8873 -1 checks.forEach(function(checkResult) {
8874 -1 if (checkResult.id === checkID) {
8875 -1 checkResults.push(checkResult);
8876 -1 }
8877 -1 });
8878 -1 });
8879 -1 return checkResults;
8880 -1 }
8881 -1 function filterChecks(checks) {
8882 -1 'use strict';
8883 -1 return checks.filter(function(check) {
8884 -1 return check.filtered !== true;
8885 -1 });
8886 -1 }
8887 -1 function sanitizeNodes(result) {
8888 -1 'use strict';
8889 -1 var checkTypes = [ 'any', 'all', 'none' ];
8890 -1 var nodes = result.nodes.filter(function(detail) {
8891 -1 var length = 0;
8892 -1 checkTypes.forEach(function(type) {
8893 -1 detail[type] = filterChecks(detail[type]);
8894 -1 length += detail[type].length;
8895 -1 });
8896 -1 return length > 0;
8897 -1 });
8898 -1 if (result.pageLevel && nodes.length) {
8899 -1 nodes = [ nodes.reduce(function(a, b) {
8900 -1 if (a) {
8901 -1 checkTypes.forEach(function(type) {
8902 -1 a[type].push.apply(a[type], b[type]);
8903 -1 });
8904 -1 return a;
-1 8561 if (badCells.length) {
-1 8562 this.relatedNodes(badCells);
-1 8563 return false;
8905 8564 }
8906 -1 }) ];
8907 -1 }
8908 -1 return nodes;
8909 -1 }
8910 -1 Rule.prototype.after = function(result, options) {
8911 -1 'use strict';
8912 -1 var afterChecks = findAfterChecks(this);
8913 -1 var ruleID = this.id;
8914 -1 afterChecks.forEach(function(check) {
8915 -1 var beforeResults = findCheckResults(result.nodes, check.id);
8916 -1 var option = axe.utils.getCheckOption(check, ruleID, options);
8917 -1 var afterResults = check.after(beforeResults, option);
8918 -1 beforeResults.forEach(function(item) {
8919 -1 if (afterResults.indexOf(item) === -1) {
8920 -1 item.filtered = true;
8921 -1 }
8922 -1 });
8923 -1 });
8924 -1 result.nodes = sanitizeNodes(result);
8925 -1 return result;
8926 -1 };
8927 -1 Rule.prototype.configure = function(spec) {
8928 -1 'use strict';
8929 -1 if (spec.hasOwnProperty('selector')) {
8930 -1 this.selector = spec.selector;
8931 -1 }
8932 -1 if (spec.hasOwnProperty('excludeHidden')) {
8933 -1 this.excludeHidden = typeof spec.excludeHidden === 'boolean' ? spec.excludeHidden : true;
8934 -1 }
8935 -1 if (spec.hasOwnProperty('enabled')) {
8936 -1 this.enabled = typeof spec.enabled === 'boolean' ? spec.enabled : true;
8937 -1 }
8938 -1 if (spec.hasOwnProperty('pageLevel')) {
8939 -1 this.pageLevel = typeof spec.pageLevel === 'boolean' ? spec.pageLevel : false;
8940 -1 }
8941 -1 if (spec.hasOwnProperty('any')) {
8942 -1 this.any = spec.any;
8943 -1 }
8944 -1 if (spec.hasOwnProperty('all')) {
8945 -1 this.all = spec.all;
8946 -1 }
8947 -1 if (spec.hasOwnProperty('none')) {
8948 -1 this.none = spec.none;
8949 -1 }
8950 -1 if (spec.hasOwnProperty('tags')) {
8951 -1 this.tags = spec.tags;
8952 -1 }
8953 -1 if (spec.hasOwnProperty('matches')) {
8954 -1 if (typeof spec.matches === 'string') {
8955 -1 this.matches = new Function('return ' + spec.matches + ';')();
8956 -1 } else {
8957 -1 this.matches = spec.matches;
8958 -1 }
8959 -1 }
8960 -1 };
8961 -1 'use strict';
8962 -1 (function(axe) {
8963 -1 var definitions = [ {
8964 -1 name: 'NA',
8965 -1 value: 'inapplicable',
8966 -1 priority: 0,
8967 -1 group: 'inapplicable'
8968 -1 }, {
8969 -1 name: 'PASS',
8970 -1 value: 'passed',
8971 -1 priority: 1,
8972 -1 group: 'passes'
8973 -1 }, {
8974 -1 name: 'CANTTELL',
8975 -1 value: 'cantTell',
8976 -1 priority: 2,
8977 -1 group: 'incomplete'
8978 -1 }, {
8979 -1 name: 'FAIL',
8980 -1 value: 'failed',
8981 -1 priority: 3,
8982 -1 group: 'violations'
8983 -1 } ];
8984 -1 var constants = {
8985 -1 helpUrlBase: 'https://dequeuniversity.com/rules/',
8986 -1 results: [],
8987 -1 resultGroups: [],
8988 -1 resultGroupMap: {},
8989 -1 impact: Object.freeze([ 'minor', 'moderate', 'serious', 'critical' ]),
8990 -1 preloadAssets: Object.freeze([ 'cssom' ]),
8991 -1 preloadAssetsTimeout: 1e4
8992 -1 };
8993 -1 definitions.forEach(function(definition) {
8994 -1 var name = definition.name;
8995 -1 var value = definition.value;
8996 -1 var priority = definition.priority;
8997 -1 var group = definition.group;
8998 -1 constants[name] = value;
8999 -1 constants[name + '_PRIO'] = priority;
9000 -1 constants[name + '_GROUP'] = group;
9001 -1 constants.results[priority] = value;
9002 -1 constants.resultGroups[priority] = group;
9003 -1 constants.resultGroupMap[value] = group;
9004 -1 });
9005 -1 Object.freeze(constants.results);
9006 -1 Object.freeze(constants.resultGroups);
9007 -1 Object.freeze(constants.resultGroupMap);
9008 -1 Object.freeze(constants);
9009 -1 Object.defineProperty(axe, 'constants', {
9010 -1 value: constants,
9011 -1 enumerable: true,
9012 -1 configurable: false,
9013 -1 writable: false
9014 -1 });
9015 -1 })(axe);
9016 -1 'use strict';
9017 -1 var _typeof = typeof Symbol === 'function' && typeof Symbol.iterator === 'symbol' ? function(obj) {
9018 -1 return typeof obj;
9019 -1 } : function(obj) {
9020 -1 return obj && typeof Symbol === 'function' && obj.constructor === Symbol && obj !== Symbol.prototype ? 'symbol' : typeof obj;
9021 -1 };
9022 -1 axe.log = function() {
9023 -1 'use strict';
9024 -1 if ((typeof console === 'undefined' ? 'undefined' : _typeof(console)) === 'object' && console.log) {
9025 -1 Function.prototype.apply.call(console.log, console, arguments);
9026 -1 }
9027 -1 };
9028 -1 'use strict';
9029 -1 function cleanupPlugins(resolve, reject) {
9030 -1 'use strict';
9031 -1 resolve = resolve || function() {};
9032 -1 reject = reject || axe.log;
9033 -1 if (!axe._audit) {
9034 -1 throw new Error('No audit configured');
9035 -1 }
9036 -1 var q = axe.utils.queue();
9037 -1 var cleanupErrors = [];
9038 -1 Object.keys(axe.plugins).forEach(function(key) {
9039 -1 q.defer(function(res) {
9040 -1 var rej = function rej(err) {
9041 -1 cleanupErrors.push(err);
9042 -1 res();
9043 -1 };
9044 -1 try {
9045 -1 axe.plugins[key].cleanup(res, rej);
9046 -1 } catch (err) {
9047 -1 rej(err);
9048 -1 }
9049 -1 });
9050 -1 });
9051 -1 var flattenedTree = axe.utils.getFlattenedTree(document.body);
9052 -1 axe.utils.querySelectorAll(flattenedTree, 'iframe, frame').forEach(function(node) {
9053 -1 q.defer(function(res, rej) {
9054 -1 return axe.utils.sendCommandToFrame(node.actualNode, {
9055 -1 command: 'cleanup-plugin'
9056 -1 }, res, rej);
9057 -1 });
9058 -1 });
9059 -1 q.then(function(results) {
9060 -1 if (cleanupErrors.length === 0) {
9061 -1 resolve(results);
9062 -1 } else {
9063 -1 reject(cleanupErrors);
9064 -1 }
9065 -1 }).catch(reject);
9066 -1 }
9067 -1 axe.cleanup = cleanupPlugins;
9068 -1 'use strict';
9069 -1 function configureChecksRulesAndBranding(spec) {
9070 -1 'use strict';
9071 -1 var audit;
9072 -1 audit = axe._audit;
9073 -1 if (!audit) {
9074 -1 throw new Error('No audit configured');
9075 -1 }
9076 -1 if (spec.reporter && (typeof spec.reporter === 'function' || reporters[spec.reporter])) {
9077 -1 audit.reporter = spec.reporter;
9078 -1 }
9079 -1 if (spec.checks) {
9080 -1 spec.checks.forEach(function(check) {
9081 -1 audit.addCheck(check);
9082 -1 });
9083 -1 }
9084 -1 var modifiedRules = [];
9085 -1 if (spec.rules) {
9086 -1 spec.rules.forEach(function(rule) {
9087 -1 modifiedRules.push(rule.id);
9088 -1 audit.addRule(rule);
9089 -1 });
9090 -1 }
9091 -1 if (spec.disableOtherRules) {
9092 -1 audit.rules.forEach(function(rule) {
9093 -1 if (modifiedRules.includes(rule.id) === false) {
9094 -1 rule.enabled = false;
9095 -1 }
9096 -1 });
9097 -1 }
9098 -1 if (typeof spec.branding !== 'undefined') {
9099 -1 audit.setBranding(spec.branding);
9100 -1 } else {
9101 -1 audit._constructHelpUrls();
9102 -1 }
9103 -1 if (spec.tagExclude) {
9104 -1 audit.tagExclude = spec.tagExclude;
9105 -1 }
9106 -1 if (spec.locale) {
9107 -1 audit.applyLocale(spec.locale);
9108 -1 }
9109 -1 }
9110 -1 axe.configure = configureChecksRulesAndBranding;
9111 -1 'use strict';
9112 -1 axe.getRules = function(tags) {
9113 -1 'use strict';
9114 -1 tags = tags || [];
9115 -1 var matchingRules = !tags.length ? axe._audit.rules : axe._audit.rules.filter(function(item) {
9116 -1 return !!tags.filter(function(tag) {
9117 -1 return item.tags.indexOf(tag) !== -1;
9118 -1 }).length;
9119 -1 });
9120 -1 var ruleData = axe._audit.data.rules || {};
9121 -1 return matchingRules.map(function(matchingRule) {
9122 -1 var rd = ruleData[matchingRule.id] || {};
9123 -1 return {
9124 -1 ruleId: matchingRule.id,
9125 -1 description: rd.description,
9126 -1 help: rd.help,
9127 -1 helpUrl: rd.helpUrl,
9128 -1 tags: matchingRule.tags
9129 -1 };
9130 -1 });
9131 -1 };
9132 -1 'use strict';
9133 -1 function runCommand(data, keepalive, callback) {
9134 -1 'use strict';
9135 -1 var resolve = callback;
9136 -1 var reject = function reject(err) {
9137 -1 if (err instanceof Error === false) {
9138 -1 err = new Error(err);
9139 -1 }
9140 -1 callback(err);
9141 -1 };
9142 -1 var context = data && data.context || {};
9143 -1 if (context.hasOwnProperty('include') && !context.include.length) {
9144 -1 context.include = [ document ];
9145 -1 }
9146 -1 var options = data && data.options || {};
9147 -1 switch (data.command) {
9148 -1 case 'rules':
9149 -1 return runRules(context, options, function(results, cleanup) {
9150 -1 resolve(results);
9151 -1 cleanup();
9152 -1 }, reject);
9153 -1
9154 -1 case 'cleanup-plugin':
9155 -1 return cleanupPlugins(resolve, reject);
9156 -1
9157 -1 default:
9158 -1 if (axe._audit && axe._audit.commands && axe._audit.commands[data.command]) {
9159 -1 return axe._audit.commands[data.command](data, callback);
9160 -1 }
9161 -1 }
9162 -1 }
9163 -1 axe._load = function(audit) {
9164 -1 'use strict';
9165 -1 axe.utils.respondable.subscribe('axe.ping', function(data, keepalive, respond) {
9166 -1 respond({
9167 -1 axe: true
9168 -1 });
9169 -1 });
9170 -1 axe.utils.respondable.subscribe('axe.start', runCommand);
9171 -1 axe._audit = new Audit(audit);
9172 -1 };
9173 -1 'use strict';
9174 -1 var axe = axe || {};
9175 -1 axe.plugins = {};
9176 -1 function Plugin(spec) {
9177 -1 'use strict';
9178 -1 this._run = spec.run;
9179 -1 this._collect = spec.collect;
9180 -1 this._registry = {};
9181 -1 spec.commands.forEach(function(command) {
9182 -1 axe._audit.registerCommand(command);
9183 -1 });
9184 -1 }
9185 -1 Plugin.prototype.run = function() {
9186 -1 'use strict';
9187 -1 return this._run.apply(this, arguments);
9188 -1 };
9189 -1 Plugin.prototype.collect = function() {
9190 -1 'use strict';
9191 -1 return this._collect.apply(this, arguments);
9192 -1 };
9193 -1 Plugin.prototype.cleanup = function(done) {
9194 -1 'use strict';
9195 -1 var q = axe.utils.queue();
9196 -1 var that = this;
9197 -1 Object.keys(this._registry).forEach(function(key) {
9198 -1 q.defer(function(done) {
9199 -1 that._registry[key].cleanup(done);
9200 -1 });
9201 -1 });
9202 -1 q.then(function() {
9203 -1 done();
9204 -1 });
9205 -1 };
9206 -1 Plugin.prototype.add = function(impl) {
9207 -1 'use strict';
9208 -1 this._registry[impl.id] = impl;
9209 -1 };
9210 -1 axe.registerPlugin = function(plugin) {
9211 -1 'use strict';
9212 -1 axe.plugins[plugin.id] = new Plugin(plugin);
9213 -1 };
9214 -1 'use strict';
9215 -1 var reporters = {};
9216 -1 var defaultReporter;
9217 -1 axe.getReporter = function(reporter) {
9218 -1 'use strict';
9219 -1 if (typeof reporter === 'string' && reporters[reporter]) {
9220 -1 return reporters[reporter];
9221 -1 }
9222 -1 if (typeof reporter === 'function') {
9223 -1 return reporter;
9224 -1 }
9225 -1 return defaultReporter;
9226 -1 };
9227 -1 axe.addReporter = function registerReporter(name, cb, isDefault) {
9228 -1 'use strict';
9229 -1 reporters[name] = cb;
9230 -1 if (isDefault) {
9231 -1 defaultReporter = cb;
9232 -1 }
9233 -1 };
9234 -1 'use strict';
9235 -1 function resetConfiguration() {
9236 -1 'use strict';
9237 -1 var audit = axe._audit;
9238 -1 if (!audit) {
9239 -1 throw new Error('No audit configured');
9240 -1 }
9241 -1 audit.resetRulesAndChecks();
9242 -1 }
9243 -1 axe.reset = resetConfiguration;
9244 -1 'use strict';
9245 -1 function cleanup() {
9246 -1 axe._tree = undefined;
9247 -1 axe._selectorData = undefined;
9248 -1 }
9249 -1 function runRules(context, options, resolve, reject) {
9250 -1 'use strict';
9251 -1 try {
9252 -1 context = new Context(context);
9253 -1 axe._tree = context.flatTree;
9254 -1 axe._selectorData = axe.utils.getSelectorData(context.flatTree);
9255 -1 } catch (e) {
9256 -1 cleanup();
9257 -1 return reject(e);
9258 -1 }
9259 -1 var q = axe.utils.queue();
9260 -1 var audit = axe._audit;
9261 -1 if (options.performanceTimer) {
9262 -1 axe.utils.performanceTimer.auditStart();
9263 -1 }
9264 -1 if (context.frames.length && options.iframes !== false) {
9265 -1 q.defer(function(res, rej) {
9266 -1 axe.utils.collectResultsFromFrames(context, options, 'rules', null, res, rej);
9267 -1 });
9268 -1 }
9269 -1 var scrollState = void 0;
9270 -1 q.defer(function(res, rej) {
9271 -1 if (options.restoreScroll) {
9272 -1 scrollState = axe.utils.getScrollState();
-1 8565 return true;
9273 8566 }
9274 -1 audit.run(context, options, res, rej);
9275 -1 });
9276 -1 q.then(function(data) {
9277 -1 try {
9278 -1 if (scrollState) {
9279 -1 axe.utils.setScrollState(scrollState);
9280 -1 }
9281 -1 if (options.performanceTimer) {
9282 -1 axe.utils.performanceTimer.auditEnd();
9283 -1 }
9284 -1 var results = axe.utils.mergeResults(data.map(function(results) {
9285 -1 return {
9286 -1 results: results
9287 -1 };
9288 -1 }));
9289 -1 if (context.initiator) {
9290 -1 results = audit.after(results, options);
9291 -1 results.forEach(axe.utils.publishMetaData);
9292 -1 results = results.map(axe.utils.finalizeRuleResult);
-1 8567 __webpack_exports__['default'] = tdHasHeaderEvaluate;
-1 8568 },
-1 8569 './lib/checks/tables/td-headers-attr-evaluate.js': function libChecksTablesTdHeadersAttrEvaluateJs(module, __webpack_exports__, __webpack_require__) {
-1 8570 'use strict';
-1 8571 __webpack_require__.r(__webpack_exports__);
-1 8572 var _core_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/core/utils/index.js');
-1 8573 function tdHeadersAttrEvaluate(node) {
-1 8574 var cells = [];
-1 8575 var reviewCells = [];
-1 8576 var badCells = [];
-1 8577 for (var rowIndex = 0; rowIndex < node.rows.length; rowIndex++) {
-1 8578 var row = node.rows[rowIndex];
-1 8579 for (var cellIndex = 0; cellIndex < row.cells.length; cellIndex++) {
-1 8580 cells.push(row.cells[cellIndex]);
-1 8581 }
9293 8582 }
9294 -1 try {
9295 -1 resolve(results, cleanup);
9296 -1 } catch (e) {
9297 -1 cleanup();
9298 -1 axe.log(e);
-1 8583 var ids = cells.reduce(function(ids, cell) {
-1 8584 if (cell.getAttribute('id')) {
-1 8585 ids.push(cell.getAttribute('id'));
-1 8586 }
-1 8587 return ids;
-1 8588 }, []);
-1 8589 cells.forEach(function(cell) {
-1 8590 var isSelf = false;
-1 8591 var notOfTable = false;
-1 8592 if (!cell.hasAttribute('headers')) {
-1 8593 return;
-1 8594 }
-1 8595 var headersAttr = cell.getAttribute('headers').trim();
-1 8596 if (!headersAttr) {
-1 8597 return reviewCells.push(cell);
-1 8598 }
-1 8599 var headers = Object(_core_utils__WEBPACK_IMPORTED_MODULE_0__['tokenList'])(headersAttr);
-1 8600 if (headers.length !== 0) {
-1 8601 if (cell.getAttribute('id')) {
-1 8602 isSelf = headers.indexOf(cell.getAttribute('id').trim()) !== -1;
-1 8603 }
-1 8604 notOfTable = headers.some(function(header) {
-1 8605 return !ids.includes(header);
-1 8606 });
-1 8607 if (isSelf || notOfTable) {
-1 8608 badCells.push(cell);
-1 8609 }
-1 8610 }
-1 8611 });
-1 8612 if (badCells.length > 0) {
-1 8613 this.relatedNodes(badCells);
-1 8614 return false;
9299 8615 }
9300 -1 } catch (e) {
9301 -1 cleanup();
9302 -1 reject(e);
9303 -1 }
9304 -1 }).catch(function(e) {
9305 -1 cleanup();
9306 -1 reject(e);
9307 -1 });
9308 -1 }
9309 -1 axe._runRules = runRules;
9310 -1 'use strict';
9311 -1 var _typeof = typeof Symbol === 'function' && typeof Symbol.iterator === 'symbol' ? function(obj) {
9312 -1 return typeof obj;
9313 -1 } : function(obj) {
9314 -1 return obj && typeof Symbol === 'function' && obj.constructor === Symbol && obj !== Symbol.prototype ? 'symbol' : typeof obj;
9315 -1 };
9316 -1 function isContext(potential) {
9317 -1 'use strict';
9318 -1 switch (true) {
9319 -1 case typeof potential === 'string':
9320 -1 case Array.isArray(potential):
9321 -1 case Node && potential instanceof Node:
9322 -1 case NodeList && potential instanceof NodeList:
9323 -1 return true;
9324 -1
9325 -1 case (typeof potential === 'undefined' ? 'undefined' : _typeof(potential)) !== 'object':
9326 -1 return false;
9327 -1
9328 -1 case potential.include !== undefined:
9329 -1 case potential.exclude !== undefined:
9330 -1 case typeof potential.length === 'number':
9331 -1 return true;
9332 -1
9333 -1 default:
9334 -1 return false;
9335 -1 }
9336 -1 }
9337 -1 var noop = function noop() {};
9338 -1 function normalizeRunParams(context, options, callback) {
9339 -1 'use strict';
9340 -1 var typeErr = new TypeError('axe.run arguments are invalid');
9341 -1 if (!isContext(context)) {
9342 -1 if (callback !== undefined) {
9343 -1 throw typeErr;
9344 -1 }
9345 -1 callback = options;
9346 -1 options = context;
9347 -1 context = document;
9348 -1 }
9349 -1 if ((typeof options === 'undefined' ? 'undefined' : _typeof(options)) !== 'object') {
9350 -1 if (callback !== undefined) {
9351 -1 throw typeErr;
9352 -1 }
9353 -1 callback = options;
9354 -1 options = {};
9355 -1 }
9356 -1 if (typeof callback !== 'function' && callback !== undefined) {
9357 -1 throw typeErr;
9358 -1 }
9359 -1 return {
9360 -1 context: context,
9361 -1 options: options,
9362 -1 callback: callback || noop
9363 -1 };
9364 -1 }
9365 -1 axe.run = function(context, options, callback) {
9366 -1 'use strict';
9367 -1 if (!axe._audit) {
9368 -1 throw new Error('No audit configured');
9369 -1 }
9370 -1 var args = normalizeRunParams(context, options, callback);
9371 -1 context = args.context;
9372 -1 options = args.options;
9373 -1 callback = args.callback;
9374 -1 options.reporter = options.reporter || axe._audit.reporter || 'v1';
9375 -1 if (options.performanceTimer) {
9376 -1 axe.utils.performanceTimer.start();
9377 -1 }
9378 -1 var p = void 0;
9379 -1 var reject = noop;
9380 -1 var resolve = noop;
9381 -1 if (typeof Promise === 'function' && callback === noop) {
9382 -1 p = new Promise(function(_resolve, _reject) {
9383 -1 reject = _reject;
9384 -1 resolve = _resolve;
9385 -1 });
9386 -1 }
9387 -1 axe._runRules(context, options, function(rawResults, cleanup) {
9388 -1 var respond = function respond(results) {
9389 -1 cleanup();
9390 -1 try {
9391 -1 callback(null, results);
9392 -1 } catch (e) {
9393 -1 axe.log(e);
-1 8616 if (reviewCells.length) {
-1 8617 this.relatedNodes(reviewCells);
-1 8618 return undefined;
9394 8619 }
9395 -1 resolve(results);
9396 -1 };
9397 -1 if (options.performanceTimer) {
9398 -1 axe.utils.performanceTimer.end();
9399 -1 }
9400 -1 try {
9401 -1 var reporter = axe.getReporter(options.reporter);
9402 -1 var results = reporter(rawResults, options, respond);
9403 -1 if (results !== undefined) {
9404 -1 respond(results);
9405 -1 }
9406 -1 } catch (err) {
9407 -1 cleanup();
9408 -1 callback(err);
9409 -1 reject(err);
9410 -1 }
9411 -1 }, function(err) {
9412 -1 callback(err);
9413 -1 reject(err);
9414 -1 });
9415 -1 return p;
9416 -1 };
9417 -1 'use strict';
9418 -1 helpers.failureSummary = function failureSummary(nodeData) {
9419 -1 'use strict';
9420 -1 var failingChecks = {};
9421 -1 failingChecks.none = nodeData.none.concat(nodeData.all);
9422 -1 failingChecks.any = nodeData.any;
9423 -1 return Object.keys(failingChecks).map(function(key) {
9424 -1 if (!failingChecks[key].length) {
9425 -1 return;
9426 -1 }
9427 -1 var sum = axe._audit.data.failureSummaries[key];
9428 -1 if (sum && typeof sum.failureMessage === 'function') {
9429 -1 return sum.failureMessage(failingChecks[key].map(function(check) {
9430 -1 return check.message || '';
9431 -1 }));
-1 8620 return true;
9432 8621 }
9433 -1 }).filter(function(i) {
9434 -1 return i !== undefined;
9435 -1 }).join('\n\n');
9436 -1 };
9437 -1 'use strict';
9438 -1 helpers.getEnvironmentData = function getEnvironmentData() {
9439 -1 var win = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : window;
9440 -1 var _win$screen = win.screen, screen = _win$screen === undefined ? {} : _win$screen, _win$navigator = win.navigator, navigator = _win$navigator === undefined ? {} : _win$navigator, _win$location = win.location, location = _win$location === undefined ? {} : _win$location, innerHeight = win.innerHeight, innerWidth = win.innerWidth;
9441 -1 var orientation = screen.msOrientation || screen.orientation || screen.mozOrientation || {};
9442 -1 return {
9443 -1 testEngine: {
9444 -1 name: 'axe-core',
9445 -1 version: axe.version
9446 -1 },
9447 -1 testRunner: {
9448 -1 name: axe._audit.brand
9449 -1 },
9450 -1 testEnvironment: {
9451 -1 userAgent: navigator.userAgent,
9452 -1 windowWidth: innerWidth,
9453 -1 windowHeight: innerHeight,
9454 -1 orientationAngle: orientation.angle,
9455 -1 orientationType: orientation.type
9456 -1 },
9457 -1 timestamp: new Date().toISOString(),
9458 -1 url: location.href
9459 -1 };
9460 -1 };
9461 -1 'use strict';
9462 -1 helpers.incompleteFallbackMessage = function incompleteFallbackMessage() {
9463 -1 'use strict';
9464 -1 return axe._audit.data.incompleteFallbackMessage();
9465 -1 };
9466 -1 'use strict';
9467 -1 var _typeof = typeof Symbol === 'function' && typeof Symbol.iterator === 'symbol' ? function(obj) {
9468 -1 return typeof obj;
9469 -1 } : function(obj) {
9470 -1 return obj && typeof Symbol === 'function' && obj.constructor === Symbol && obj !== Symbol.prototype ? 'symbol' : typeof obj;
9471 -1 };
9472 -1 function normalizeRelatedNodes(node, options) {
9473 -1 'use strict';
9474 -1 [ 'any', 'all', 'none' ].forEach(function(type) {
9475 -1 if (!Array.isArray(node[type])) {
9476 -1 return;
9477 -1 }
9478 -1 node[type].filter(function(checkRes) {
9479 -1 return Array.isArray(checkRes.relatedNodes);
9480 -1 }).forEach(function(checkRes) {
9481 -1 checkRes.relatedNodes = checkRes.relatedNodes.map(function(relatedNode) {
9482 -1 var res = {
9483 -1 html: relatedNode.source
9484 -1 };
9485 -1 if (options.elementRef && !relatedNode.fromFrame) {
9486 -1 res.element = relatedNode.element;
-1 8622 __webpack_exports__['default'] = tdHeadersAttrEvaluate;
-1 8623 },
-1 8624 './lib/checks/tables/th-has-data-cells-evaluate.js': function libChecksTablesThHasDataCellsEvaluateJs(module, __webpack_exports__, __webpack_require__) {
-1 8625 'use strict';
-1 8626 __webpack_require__.r(__webpack_exports__);
-1 8627 var _commons_table__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/table/index.js');
-1 8628 var _commons_text__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/commons/text/index.js');
-1 8629 function thHasDataCellsEvaluate(node) {
-1 8630 var cells = _commons_table__WEBPACK_IMPORTED_MODULE_0__['getAllCells'](node);
-1 8631 var checkResult = this;
-1 8632 var reffedHeaders = [];
-1 8633 cells.forEach(function(cell) {
-1 8634 var headers = cell.getAttribute('headers');
-1 8635 if (headers) {
-1 8636 reffedHeaders = reffedHeaders.concat(headers.split(/\s+/));
9487 8637 }
9488 -1 if (options.selectors !== false || relatedNode.fromFrame) {
9489 -1 res.target = relatedNode.selector;
-1 8638 var ariaLabel = cell.getAttribute('aria-labelledby');
-1 8639 if (ariaLabel) {
-1 8640 reffedHeaders = reffedHeaders.concat(ariaLabel.split(/\s+/));
9490 8641 }
9491 -1 if (options.xpath) {
9492 -1 res.xpath = relatedNode.xpath;
-1 8642 });
-1 8643 var headers = cells.filter(function(cell) {
-1 8644 if (Object(_commons_text__WEBPACK_IMPORTED_MODULE_1__['sanitize'])(cell.textContent) === '') {
-1 8645 return false;
9493 8646 }
9494 -1 return res;
-1 8647 return cell.nodeName.toUpperCase() === 'TH' || [ 'rowheader', 'columnheader' ].indexOf(cell.getAttribute('role')) !== -1;
9495 8648 });
9496 -1 });
9497 -1 });
9498 -1 }
9499 -1 var resultKeys = axe.constants.resultGroups;
9500 -1 helpers.processAggregate = function(results, options) {
9501 -1 var resultObject = axe.utils.aggregateResult(results);
9502 -1 resultKeys.forEach(function(key) {
9503 -1 if (options.resultTypes && !options.resultTypes.includes(key)) {
9504 -1 (resultObject[key] || []).forEach(function(ruleResult) {
9505 -1 if (Array.isArray(ruleResult.nodes) && ruleResult.nodes.length > 0) {
9506 -1 ruleResult.nodes = [ ruleResult.nodes[0] ];
-1 8649 var tableGrid = _commons_table__WEBPACK_IMPORTED_MODULE_0__['toGrid'](node);
-1 8650 var out = true;
-1 8651 headers.forEach(function(header) {
-1 8652 if (header.getAttribute('id') && reffedHeaders.includes(header.getAttribute('id'))) {
-1 8653 return;
-1 8654 }
-1 8655 var pos = _commons_table__WEBPACK_IMPORTED_MODULE_0__['getCellPosition'](header, tableGrid);
-1 8656 var hasCell = false;
-1 8657 if (_commons_table__WEBPACK_IMPORTED_MODULE_0__['isColumnHeader'](header)) {
-1 8658 hasCell = _commons_table__WEBPACK_IMPORTED_MODULE_0__['traverse']('down', pos, tableGrid).find(function(cell) {
-1 8659 return !_commons_table__WEBPACK_IMPORTED_MODULE_0__['isColumnHeader'](cell) && _commons_table__WEBPACK_IMPORTED_MODULE_0__['getHeaders'](cell, tableGrid).includes(header);
-1 8660 });
-1 8661 }
-1 8662 if (!hasCell && _commons_table__WEBPACK_IMPORTED_MODULE_0__['isRowHeader'](header)) {
-1 8663 hasCell = _commons_table__WEBPACK_IMPORTED_MODULE_0__['traverse']('right', pos, tableGrid).find(function(cell) {
-1 8664 return !_commons_table__WEBPACK_IMPORTED_MODULE_0__['isRowHeader'](cell) && _commons_table__WEBPACK_IMPORTED_MODULE_0__['getHeaders'](cell, tableGrid).includes(header);
-1 8665 });
9507 8666 }
-1 8667 if (!hasCell) {
-1 8668 checkResult.relatedNodes(header);
-1 8669 }
-1 8670 out = out && hasCell;
9508 8671 });
-1 8672 return out ? true : undefined;
9509 8673 }
9510 -1 resultObject[key] = (resultObject[key] || []).map(function(ruleResult) {
9511 -1 ruleResult = Object.assign({}, ruleResult);
9512 -1 if (Array.isArray(ruleResult.nodes) && ruleResult.nodes.length > 0) {
9513 -1 ruleResult.nodes = ruleResult.nodes.map(function(subResult) {
9514 -1 if (_typeof(subResult.node) === 'object') {
9515 -1 subResult.html = subResult.node.source;
9516 -1 if (options.elementRef && !subResult.node.fromFrame) {
9517 -1 subResult.element = subResult.node.element;
9518 -1 }
9519 -1 if (options.selectors !== false || subResult.node.fromFrame) {
9520 -1 subResult.target = subResult.node.selector;
9521 -1 }
9522 -1 if (options.xpath) {
9523 -1 subResult.xpath = subResult.node.xpath;
9524 -1 }
-1 8674 __webpack_exports__['default'] = thHasDataCellsEvaluate;
-1 8675 },
-1 8676 './lib/checks/visibility/hidden-content-evaluate.js': function libChecksVisibilityHiddenContentEvaluateJs(module, __webpack_exports__, __webpack_require__) {
-1 8677 'use strict';
-1 8678 __webpack_require__.r(__webpack_exports__);
-1 8679 var _commons_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/dom/index.js');
-1 8680 function hiddenContentEvaluate(node, options, virtualNode) {
-1 8681 var whitelist = [ 'SCRIPT', 'HEAD', 'TITLE', 'NOSCRIPT', 'STYLE', 'TEMPLATE' ];
-1 8682 if (!whitelist.includes(node.nodeName.toUpperCase()) && Object(_commons_dom__WEBPACK_IMPORTED_MODULE_0__['hasContentVirtual'])(virtualNode)) {
-1 8683 var styles = window.getComputedStyle(node);
-1 8684 if (styles.getPropertyValue('display') === 'none') {
-1 8685 return undefined;
-1 8686 } else if (styles.getPropertyValue('visibility') === 'hidden') {
-1 8687 var parent = Object(_commons_dom__WEBPACK_IMPORTED_MODULE_0__['getComposedParent'])(node);
-1 8688 var parentStyle = parent && window.getComputedStyle(parent);
-1 8689 if (!parentStyle || parentStyle.getPropertyValue('visibility') !== 'hidden') {
-1 8690 return undefined;
9525 8691 }
9526 -1 delete subResult.result;
9527 -1 delete subResult.node;
9528 -1 normalizeRelatedNodes(subResult, options);
9529 -1 return subResult;
9530 -1 });
-1 8692 }
9531 8693 }
9532 -1 resultKeys.forEach(function(key) {
9533 -1 return delete ruleResult[key];
9534 -1 });
9535 -1 delete ruleResult.pageLevel;
9536 -1 delete ruleResult.result;
9537 -1 return ruleResult;
9538 -1 });
9539 -1 });
9540 -1 return resultObject;
9541 -1 };
9542 -1 'use strict';
9543 -1 var _extends = Object.assign || function(target) {
9544 -1 for (var i = 1; i < arguments.length; i++) {
9545 -1 var source = arguments[i];
9546 -1 for (var key in source) {
9547 -1 if (Object.prototype.hasOwnProperty.call(source, key)) {
9548 -1 target[key] = source[key];
-1 8694 return true;
-1 8695 }
-1 8696 __webpack_exports__['default'] = hiddenContentEvaluate;
-1 8697 },
-1 8698 './lib/commons/aria/allowed-attr.js': function libCommonsAriaAllowedAttrJs(module, __webpack_exports__, __webpack_require__) {
-1 8699 'use strict';
-1 8700 __webpack_require__.r(__webpack_exports__);
-1 8701 var _standards__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/standards/index.js');
-1 8702 var _standards_get_global_aria_attrs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/commons/standards/get-global-aria-attrs.js');
-1 8703 function allowedAttr(role) {
-1 8704 var roleDef = _standards__WEBPACK_IMPORTED_MODULE_0__['default'].ariaRoles[role];
-1 8705 var attrs = _toConsumableArray(Object(_standards_get_global_aria_attrs__WEBPACK_IMPORTED_MODULE_1__['default'])());
-1 8706 if (!roleDef) {
-1 8707 return attrs;
-1 8708 }
-1 8709 if (roleDef.allowedAttrs) {
-1 8710 attrs.push.apply(attrs, _toConsumableArray(roleDef.allowedAttrs));
9549 8711 }
-1 8712 if (roleDef.requiredAttrs) {
-1 8713 attrs.push.apply(attrs, _toConsumableArray(roleDef.requiredAttrs));
-1 8714 }
-1 8715 return attrs;
9550 8716 }
9551 -1 }
9552 -1 return target;
9553 -1 };
9554 -1 axe.addReporter('na', function(results, options, callback) {
9555 -1 'use strict';
9556 -1 if (typeof options === 'function') {
9557 -1 callback = options;
9558 -1 options = {};
9559 -1 }
9560 -1 var out = helpers.processAggregate(results, options);
9561 -1 callback(_extends({}, helpers.getEnvironmentData(), {
9562 -1 toolOptions: options,
9563 -1 violations: out.violations,
9564 -1 passes: out.passes,
9565 -1 incomplete: out.incomplete,
9566 -1 inapplicable: out.inapplicable
9567 -1 }));
9568 -1 });
9569 -1 'use strict';
9570 -1 var _extends = Object.assign || function(target) {
9571 -1 for (var i = 1; i < arguments.length; i++) {
9572 -1 var source = arguments[i];
9573 -1 for (var key in source) {
9574 -1 if (Object.prototype.hasOwnProperty.call(source, key)) {
9575 -1 target[key] = source[key];
-1 8717 __webpack_exports__['default'] = allowedAttr;
-1 8718 },
-1 8719 './lib/commons/aria/arialabel-text.js': function libCommonsAriaArialabelTextJs(module, __webpack_exports__, __webpack_require__) {
-1 8720 'use strict';
-1 8721 __webpack_require__.r(__webpack_exports__);
-1 8722 var _core_base_virtual_node_abstract_virtual_node__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/core/base/virtual-node/abstract-virtual-node.js');
-1 8723 var _core_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/core/utils/index.js');
-1 8724 function arialabelText(vNode) {
-1 8725 if (!(vNode instanceof _core_base_virtual_node_abstract_virtual_node__WEBPACK_IMPORTED_MODULE_0__['default'])) {
-1 8726 if (vNode.nodeType !== 1) {
-1 8727 return '';
-1 8728 }
-1 8729 vNode = Object(_core_utils__WEBPACK_IMPORTED_MODULE_1__['getNodeFromTree'])(vNode);
9576 8730 }
-1 8731 return vNode.attr('aria-label') || '';
9577 8732 }
9578 -1 }
9579 -1 return target;
9580 -1 };
9581 -1 axe.addReporter('no-passes', function(results, options, callback) {
9582 -1 'use strict';
9583 -1 if (typeof options === 'function') {
9584 -1 callback = options;
9585 -1 options = {};
9586 -1 }
9587 -1 options.resultTypes = [ 'violations' ];
9588 -1 var out = helpers.processAggregate(results, options);
9589 -1 callback(_extends({}, helpers.getEnvironmentData(), {
9590 -1 toolOptions: options,
9591 -1 violations: out.violations
9592 -1 }));
9593 -1 });
9594 -1 'use strict';
9595 -1 axe.addReporter('raw', function(results, options, callback) {
9596 -1 'use strict';
9597 -1 if (typeof options === 'function') {
9598 -1 callback = options;
9599 -1 options = {};
9600 -1 }
9601 -1 callback(results);
9602 -1 });
9603 -1 'use strict';
9604 -1 var _extends = Object.assign || function(target) {
9605 -1 for (var i = 1; i < arguments.length; i++) {
9606 -1 var source = arguments[i];
9607 -1 for (var key in source) {
9608 -1 if (Object.prototype.hasOwnProperty.call(source, key)) {
9609 -1 target[key] = source[key];
-1 8733 __webpack_exports__['default'] = arialabelText;
-1 8734 },
-1 8735 './lib/commons/aria/arialabelledby-text.js': function libCommonsAriaArialabelledbyTextJs(module, __webpack_exports__, __webpack_require__) {
-1 8736 'use strict';
-1 8737 __webpack_require__.r(__webpack_exports__);
-1 8738 var _dom_idrefs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/dom/idrefs.js');
-1 8739 var _text_accessible_text__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/commons/text/accessible-text.js');
-1 8740 var _core_base_virtual_node_abstract_virtual_node__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__('./lib/core/base/virtual-node/abstract-virtual-node.js');
-1 8741 var _core_utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__('./lib/core/utils/index.js');
-1 8742 function arialabelledbyText(vNode) {
-1 8743 var context = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
-1 8744 if (!(vNode instanceof _core_base_virtual_node_abstract_virtual_node__WEBPACK_IMPORTED_MODULE_2__['default'])) {
-1 8745 if (vNode.nodeType !== 1) {
-1 8746 return '';
-1 8747 }
-1 8748 vNode = Object(_core_utils__WEBPACK_IMPORTED_MODULE_3__['getNodeFromTree'])(vNode);
9610 8749 }
9611 -1 }
9612 -1 }
9613 -1 return target;
9614 -1 };
9615 -1 axe.addReporter('v1', function(results, options, callback) {
9616 -1 'use strict';
9617 -1 if (typeof options === 'function') {
9618 -1 callback = options;
9619 -1 options = {};
9620 -1 }
9621 -1 var out = helpers.processAggregate(results, options);
9622 -1 out.violations.forEach(function(result) {
9623 -1 return result.nodes.forEach(function(nodeResult) {
9624 -1 nodeResult.failureSummary = helpers.failureSummary(nodeResult);
9625 -1 });
9626 -1 });
9627 -1 callback(_extends({}, helpers.getEnvironmentData(), {
9628 -1 toolOptions: options,
9629 -1 violations: out.violations,
9630 -1 passes: out.passes,
9631 -1 incomplete: out.incomplete,
9632 -1 inapplicable: out.inapplicable
9633 -1 }));
9634 -1 });
9635 -1 'use strict';
9636 -1 var _extends = Object.assign || function(target) {
9637 -1 for (var i = 1; i < arguments.length; i++) {
9638 -1 var source = arguments[i];
9639 -1 for (var key in source) {
9640 -1 if (Object.prototype.hasOwnProperty.call(source, key)) {
9641 -1 target[key] = source[key];
-1 8750 if (vNode.props.nodeType !== 1 || context.inLabelledByContext || context.inControlContext || !vNode.attr('aria-labelledby')) {
-1 8751 return '';
9642 8752 }
-1 8753 var refs = Object(_dom_idrefs__WEBPACK_IMPORTED_MODULE_0__['default'])(vNode, 'aria-labelledby').filter(function(elm) {
-1 8754 return elm;
-1 8755 });
-1 8756 return refs.reduce(function(accessibleName, elm) {
-1 8757 var accessibleNameAdd = Object(_text_accessible_text__WEBPACK_IMPORTED_MODULE_1__['default'])(elm, _extends({
-1 8758 inLabelledByContext: true,
-1 8759 startNode: context.startNode || vNode
-1 8760 }, context));
-1 8761 if (!accessibleName) {
-1 8762 return accessibleNameAdd;
-1 8763 } else {
-1 8764 return ''.concat(accessibleName, ' ').concat(accessibleNameAdd);
-1 8765 }
-1 8766 }, '');
9643 8767 }
9644 -1 }
9645 -1 return target;
9646 -1 };
9647 -1 axe.addReporter('v2', function(results, options, callback) {
9648 -1 'use strict';
9649 -1 if (typeof options === 'function') {
9650 -1 callback = options;
9651 -1 options = {};
9652 -1 }
9653 -1 var out = helpers.processAggregate(results, options);
9654 -1 callback(_extends({}, helpers.getEnvironmentData(), {
9655 -1 toolOptions: options,
9656 -1 violations: out.violations,
9657 -1 passes: out.passes,
9658 -1 incomplete: out.incomplete,
9659 -1 inapplicable: out.inapplicable
9660 -1 }));
9661 -1 }, true);
9662 -1 'use strict';
9663 -1 axe.utils.aggregate = function(map, values, initial) {
9664 -1 values = values.slice();
9665 -1 if (initial) {
9666 -1 values.push(initial);
9667 -1 }
9668 -1 var sorting = values.map(function(val) {
9669 -1 return map.indexOf(val);
9670 -1 }).sort();
9671 -1 return map[sorting.pop()];
9672 -1 };
9673 -1 'use strict';
9674 -1 var _axe$constants = axe.constants, CANTTELL_PRIO = _axe$constants.CANTTELL_PRIO, FAIL_PRIO = _axe$constants.FAIL_PRIO;
9675 -1 var checkMap = [];
9676 -1 checkMap[axe.constants.PASS_PRIO] = true;
9677 -1 checkMap[axe.constants.CANTTELL_PRIO] = null;
9678 -1 checkMap[axe.constants.FAIL_PRIO] = false;
9679 -1 var checkTypes = [ 'any', 'all', 'none' ];
9680 -1 function anyAllNone(obj, functor) {
9681 -1 return checkTypes.reduce(function(out, type) {
9682 -1 out[type] = (obj[type] || []).map(function(val) {
9683 -1 return functor(val, type);
9684 -1 });
9685 -1 return out;
9686 -1 }, {});
9687 -1 }
9688 -1 axe.utils.aggregateChecks = function(nodeResOriginal) {
9689 -1 var nodeResult = Object.assign({}, nodeResOriginal);
9690 -1 anyAllNone(nodeResult, function(check, type) {
9691 -1 var i = typeof check.result === 'undefined' ? -1 : checkMap.indexOf(check.result);
9692 -1 check.priority = i !== -1 ? i : axe.constants.CANTTELL_PRIO;
9693 -1 if (type === 'none') {
9694 -1 if (check.priority === axe.constants.PASS_PRIO) {
9695 -1 check.priority = axe.constants.FAIL_PRIO;
9696 -1 } else if (check.priority === axe.constants.FAIL_PRIO) {
9697 -1 check.priority = axe.constants.PASS_PRIO;
-1 8768 __webpack_exports__['default'] = arialabelledbyText;
-1 8769 },
-1 8770 './lib/commons/aria/get-element-unallowed-roles.js': function libCommonsAriaGetElementUnallowedRolesJs(module, __webpack_exports__, __webpack_require__) {
-1 8771 'use strict';
-1 8772 __webpack_require__.r(__webpack_exports__);
-1 8773 var _is_valid_role__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/aria/is-valid-role.js');
-1 8774 var _implicit_role__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/commons/aria/implicit-role.js');
-1 8775 var _get_role_type__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__('./lib/commons/aria/get-role-type.js');
-1 8776 var _is_aria_role_allowed_on_element__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__('./lib/commons/aria/is-aria-role-allowed-on-element.js');
-1 8777 var _core_utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__('./lib/core/utils/index.js');
-1 8778 var dpubRoles = [ 'doc-backlink', 'doc-biblioentry', 'doc-biblioref', 'doc-cover', 'doc-endnote', 'doc-glossref', 'doc-noteref' ];
-1 8779 function getRoleSegments(node) {
-1 8780 var roles = [];
-1 8781 if (!node) {
-1 8782 return roles;
9698 8783 }
9699 -1 }
9700 -1 });
9701 -1 var priorities = {
9702 -1 all: nodeResult.all.reduce(function(a, b) {
9703 -1 return Math.max(a, b.priority);
9704 -1 }, 0),
9705 -1 none: nodeResult.none.reduce(function(a, b) {
9706 -1 return Math.max(a, b.priority);
9707 -1 }, 0),
9708 -1 any: nodeResult.any.reduce(function(a, b) {
9709 -1 return Math.min(a, b.priority);
9710 -1 }, 4) % 4
9711 -1 };
9712 -1 nodeResult.priority = Math.max(priorities.all, priorities.none, priorities.any);
9713 -1 var impacts = [];
9714 -1 checkTypes.forEach(function(type) {
9715 -1 nodeResult[type] = nodeResult[type].filter(function(check) {
9716 -1 return check.priority === nodeResult.priority && check.priority === priorities[type];
9717 -1 });
9718 -1 nodeResult[type].forEach(function(check) {
9719 -1 return impacts.push(check.impact);
9720 -1 });
9721 -1 });
9722 -1 if ([ CANTTELL_PRIO, FAIL_PRIO ].includes(nodeResult.priority)) {
9723 -1 nodeResult.impact = axe.utils.aggregate(axe.constants.impact, impacts);
9724 -1 } else {
9725 -1 nodeResult.impact = null;
9726 -1 }
9727 -1 anyAllNone(nodeResult, function(c) {
9728 -1 delete c.result;
9729 -1 delete c.priority;
9730 -1 });
9731 -1 nodeResult.result = axe.constants.results[nodeResult.priority];
9732 -1 delete nodeResult.priority;
9733 -1 return nodeResult;
9734 -1 };
9735 -1 'use strict';
9736 -1 (function() {
9737 -1 axe.utils.aggregateNodeResults = function(nodeResults) {
9738 -1 var ruleResult = {};
9739 -1 nodeResults = nodeResults.map(function(nodeResult) {
9740 -1 if (nodeResult.any && nodeResult.all && nodeResult.none) {
9741 -1 return axe.utils.aggregateChecks(nodeResult);
9742 -1 } else if (Array.isArray(nodeResult.node)) {
9743 -1 return axe.utils.finalizeRuleResult(nodeResult);
9744 -1 } else {
9745 -1 throw new TypeError('Invalid Result type');
-1 8784 if (node.hasAttribute('role')) {
-1 8785 var nodeRoles = Object(_core_utils__WEBPACK_IMPORTED_MODULE_4__['tokenList'])(node.getAttribute('role').toLowerCase());
-1 8786 roles = roles.concat(nodeRoles);
9746 8787 }
9747 -1 });
9748 -1 if (nodeResults && nodeResults.length) {
9749 -1 var resultList = nodeResults.map(function(node) {
9750 -1 return node.result;
9751 -1 });
9752 -1 ruleResult.result = axe.utils.aggregate(axe.constants.results, resultList, ruleResult.result);
9753 -1 } else {
9754 -1 ruleResult.result = 'inapplicable';
9755 -1 }
9756 -1 axe.constants.resultGroups.forEach(function(group) {
9757 -1 return ruleResult[group] = [];
9758 -1 });
9759 -1 nodeResults.forEach(function(nodeResult) {
9760 -1 var groupName = axe.constants.resultGroupMap[nodeResult.result];
9761 -1 ruleResult[groupName].push(nodeResult);
9762 -1 });
9763 -1 var impactGroup = axe.constants.FAIL_GROUP;
9764 -1 if (ruleResult[impactGroup].length === 0) {
9765 -1 impactGroup = axe.constants.CANTTELL_GROUP;
9766 -1 }
9767 -1 if (ruleResult[impactGroup].length > 0) {
9768 -1 var impactList = ruleResult[impactGroup].map(function(failure) {
9769 -1 return failure.impact;
-1 8788 if (node.hasAttributeNS('http://www.idpf.org/2007/ops', 'type')) {
-1 8789 var epubRoles = Object(_core_utils__WEBPACK_IMPORTED_MODULE_4__['tokenList'])(node.getAttributeNS('http://www.idpf.org/2007/ops', 'type').toLowerCase()).map(function(role) {
-1 8790 return 'doc-'.concat(role);
-1 8791 });
-1 8792 roles = roles.concat(epubRoles);
-1 8793 }
-1 8794 roles = roles.filter(function(role) {
-1 8795 return Object(_is_valid_role__WEBPACK_IMPORTED_MODULE_0__['default'])(role);
9770 8796 });
9771 -1 ruleResult.impact = axe.utils.aggregate(axe.constants.impact, impactList) || null;
9772 -1 } else {
9773 -1 ruleResult.impact = null;
-1 8797 return roles;
9774 8798 }
9775 -1 return ruleResult;
9776 -1 };
9777 -1 })();
9778 -1 'use strict';
9779 -1 function copyToGroup(resultObject, subResult, group) {
9780 -1 var resultCopy = Object.assign({}, subResult);
9781 -1 resultCopy.nodes = (resultCopy[group] || []).concat();
9782 -1 axe.constants.resultGroups.forEach(function(group) {
9783 -1 delete resultCopy[group];
9784 -1 });
9785 -1 resultObject[group].push(resultCopy);
9786 -1 }
9787 -1 axe.utils.aggregateResult = function(results) {
9788 -1 var resultObject = {};
9789 -1 axe.constants.resultGroups.forEach(function(groupName) {
9790 -1 return resultObject[groupName] = [];
9791 -1 });
9792 -1 results.forEach(function(subResult) {
9793 -1 if (subResult.error) {
9794 -1 copyToGroup(resultObject, subResult, axe.constants.CANTTELL_GROUP);
9795 -1 } else if (subResult.result === axe.constants.NA) {
9796 -1 copyToGroup(resultObject, subResult, axe.constants.NA_GROUP);
9797 -1 } else {
9798 -1 axe.constants.resultGroups.forEach(function(group) {
9799 -1 if (Array.isArray(subResult[group]) && subResult[group].length > 0) {
9800 -1 copyToGroup(resultObject, subResult, group);
-1 8799 function getElementUnallowedRoles(node) {
-1 8800 var allowImplicit = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
-1 8801 var tagName = node.nodeName.toUpperCase();
-1 8802 if (!Object(_core_utils__WEBPACK_IMPORTED_MODULE_4__['isHtmlElement'])(node)) {
-1 8803 return [];
-1 8804 }
-1 8805 var roleSegments = getRoleSegments(node);
-1 8806 var implicitRole = Object(_implicit_role__WEBPACK_IMPORTED_MODULE_1__['default'])(node);
-1 8807 var unallowedRoles = roleSegments.filter(function(role) {
-1 8808 if (allowImplicit && role === implicitRole) {
-1 8809 return false;
-1 8810 }
-1 8811 if (allowImplicit && dpubRoles.includes(role)) {
-1 8812 var roleType = Object(_get_role_type__WEBPACK_IMPORTED_MODULE_2__['default'])(role);
-1 8813 if (implicitRole !== roleType) {
-1 8814 return true;
-1 8815 }
-1 8816 }
-1 8817 if (!allowImplicit && !(role === 'row' && tagName === 'TR' && Object(_core_utils__WEBPACK_IMPORTED_MODULE_4__['matchesSelector'])(node, 'table[role="grid"] > tr'))) {
-1 8818 return true;
9801 8819 }
-1 8820 return !Object(_is_aria_role_allowed_on_element__WEBPACK_IMPORTED_MODULE_3__['default'])(node, role);
9802 8821 });
-1 8822 return unallowedRoles;
9803 8823 }
9804 -1 });
9805 -1 return resultObject;
9806 -1 };
9807 -1 'use strict';
9808 -1 function areStylesSet(el, styles, stopAt) {
9809 -1 'use strict';
9810 -1 var styl = window.getComputedStyle(el, null);
9811 -1 var set = false;
9812 -1 if (!styl) {
9813 -1 return false;
9814 -1 }
9815 -1 styles.forEach(function(att) {
9816 -1 if (styl.getPropertyValue(att.property) === att.value) {
9817 -1 set = true;
9818 -1 }
9819 -1 });
9820 -1 if (set) {
9821 -1 return true;
9822 -1 }
9823 -1 if (el.nodeName.toUpperCase() === stopAt.toUpperCase() || !el.parentNode) {
9824 -1 return false;
9825 -1 }
9826 -1 return areStylesSet(el.parentNode, styles, stopAt);
9827 -1 }
9828 -1 axe.utils.areStylesSet = areStylesSet;
9829 -1 'use strict';
9830 -1 axe.utils.checkHelper = function checkHelper(checkResult, options, resolve, reject) {
9831 -1 'use strict';
9832 -1 return {
9833 -1 isAsync: false,
9834 -1 async: function async() {
9835 -1 this.isAsync = true;
9836 -1 return function(result) {
9837 -1 if (result instanceof Error === false) {
9838 -1 checkResult.result = result;
9839 -1 resolve(checkResult);
9840 -1 } else {
9841 -1 reject(result);
-1 8824 __webpack_exports__['default'] = getElementUnallowedRoles;
-1 8825 },
-1 8826 './lib/commons/aria/get-explicit-role.js': function libCommonsAriaGetExplicitRoleJs(module, __webpack_exports__, __webpack_require__) {
-1 8827 'use strict';
-1 8828 __webpack_require__.r(__webpack_exports__);
-1 8829 var _is_valid_role__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/aria/is-valid-role.js');
-1 8830 var _core_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/core/utils/index.js');
-1 8831 var _core_base_virtual_node_abstract_virtual_node__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__('./lib/core/base/virtual-node/abstract-virtual-node.js');
-1 8832 function getExplicitRole(vNode) {
-1 8833 var _ref21 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}, fallback = _ref21.fallback, abstracts = _ref21.abstracts, dpub = _ref21.dpub;
-1 8834 vNode = vNode instanceof _core_base_virtual_node_abstract_virtual_node__WEBPACK_IMPORTED_MODULE_2__['default'] ? vNode : Object(_core_utils__WEBPACK_IMPORTED_MODULE_1__['getNodeFromTree'])(vNode);
-1 8835 if (vNode.props.nodeType !== 1) {
-1 8836 return null;
-1 8837 }
-1 8838 var roleAttr = (vNode.attr('role') || '').trim().toLowerCase();
-1 8839 var roleList = fallback ? Object(_core_utils__WEBPACK_IMPORTED_MODULE_1__['tokenList'])(roleAttr) : [ roleAttr ];
-1 8840 var firstValidRole = roleList.find(function(role) {
-1 8841 if (!dpub && role.substr(0, 4) === 'doc-') {
-1 8842 return false;
9842 8843 }
9843 -1 };
9844 -1 },
9845 -1 data: function data(_data) {
9846 -1 checkResult.data = _data;
9847 -1 },
9848 -1 relatedNodes: function relatedNodes(nodes) {
9849 -1 nodes = nodes instanceof Node ? [ nodes ] : axe.utils.toArray(nodes);
9850 -1 checkResult.relatedNodes = nodes.map(function(element) {
9851 -1 return new axe.utils.DqElement(element, options);
-1 8844 return Object(_is_valid_role__WEBPACK_IMPORTED_MODULE_0__['default'])(role, {
-1 8845 allowAbstract: abstracts
-1 8846 });
9852 8847 });
-1 8848 return firstValidRole || null;
9853 8849 }
9854 -1 };
9855 -1 };
9856 -1 'use strict';
9857 -1 var _typeof = typeof Symbol === 'function' && typeof Symbol.iterator === 'symbol' ? function(obj) {
9858 -1 return typeof obj;
9859 -1 } : function(obj) {
9860 -1 return obj && typeof Symbol === 'function' && obj.constructor === Symbol && obj !== Symbol.prototype ? 'symbol' : typeof obj;
9861 -1 };
9862 -1 axe.utils.clone = function(obj) {
9863 -1 'use strict';
9864 -1 var index, length, out = obj;
9865 -1 if (obj !== null && (typeof obj === 'undefined' ? 'undefined' : _typeof(obj)) === 'object') {
9866 -1 if (Array.isArray(obj)) {
9867 -1 out = [];
9868 -1 for (index = 0, length = obj.length; index < length; index++) {
9869 -1 out[index] = axe.utils.clone(obj[index]);
-1 8850 __webpack_exports__['default'] = getExplicitRole;
-1 8851 },
-1 8852 './lib/commons/aria/get-owned-virtual.js': function libCommonsAriaGetOwnedVirtualJs(module, __webpack_exports__, __webpack_require__) {
-1 8853 'use strict';
-1 8854 __webpack_require__.r(__webpack_exports__);
-1 8855 var _dom_idrefs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/dom/idrefs.js');
-1 8856 function getOwnedVirtual(virtualNode) {
-1 8857 var actualNode = virtualNode.actualNode, children = virtualNode.children;
-1 8858 if (!children) {
-1 8859 throw new Error('getOwnedVirtual requires a virtual node');
9870 8860 }
9871 -1 } else {
9872 -1 out = {};
9873 -1 for (index in obj) {
9874 -1 out[index] = axe.utils.clone(obj[index]);
-1 8861 if (virtualNode.hasAttr('aria-owns')) {
-1 8862 var owns = Object(_dom_idrefs__WEBPACK_IMPORTED_MODULE_0__['default'])(actualNode, 'aria-owns').filter(function(element) {
-1 8863 return !!element;
-1 8864 }).map(function(element) {
-1 8865 return axe.utils.getNodeFromTree(element);
-1 8866 });
-1 8867 return [].concat(_toConsumableArray(children), _toConsumableArray(owns));
9875 8868 }
-1 8869 return _toConsumableArray(children);
9876 8870 }
9877 -1 }
9878 -1 return out;
9879 -1 };
9880 -1 'use strict';
9881 -1 function err(message, node) {
9882 -1 'use strict';
9883 -1 var selector;
9884 -1 if (axe._tree) {
9885 -1 selector = axe.utils.getSelector(node);
9886 -1 }
9887 -1 return new Error(message + ': ' + (selector || node));
9888 -1 }
9889 -1 axe.utils.sendCommandToFrame = function(node, parameters, resolve, reject) {
9890 -1 'use strict';
9891 -1 var win = node.contentWindow;
9892 -1 if (!win) {
9893 -1 axe.log('Frame does not have a content window', node);
9894 -1 resolve(null);
9895 -1 return;
9896 -1 }
9897 -1 var timeout = setTimeout(function() {
9898 -1 timeout = setTimeout(function() {
9899 -1 if (!parameters.debug) {
9900 -1 resolve(null);
9901 -1 } else {
9902 -1 reject(err('No response from frame', node));
9903 -1 }
9904 -1 }, 0);
9905 -1 }, 500);
9906 -1 axe.utils.respondable(win, 'axe.ping', null, undefined, function() {
9907 -1 clearTimeout(timeout);
9908 -1 var frameWaitTime = parameters.options && parameters.options.frameWaitTime || 6e4;
9909 -1 timeout = setTimeout(function() {
9910 -1 reject(err('Axe in frame timed out', node));
9911 -1 }, frameWaitTime);
9912 -1 axe.utils.respondable(win, 'axe.start', parameters, undefined, function(data) {
9913 -1 clearTimeout(timeout);
9914 -1 if (data instanceof Error === false) {
9915 -1 resolve(data);
9916 -1 } else {
9917 -1 reject(data);
-1 8871 __webpack_exports__['default'] = getOwnedVirtual;
-1 8872 },
-1 8873 './lib/commons/aria/get-role-type.js': function libCommonsAriaGetRoleTypeJs(module, __webpack_exports__, __webpack_require__) {
-1 8874 'use strict';
-1 8875 __webpack_require__.r(__webpack_exports__);
-1 8876 var _standards__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/standards/index.js');
-1 8877 function getRoleType(role) {
-1 8878 var roleDef = _standards__WEBPACK_IMPORTED_MODULE_0__['default'].ariaRoles[role];
-1 8879 if (!roleDef) {
-1 8880 return null;
9918 8881 }
9919 -1 });
9920 -1 });
9921 -1 };
9922 -1 function collectResultsFromFrames(context, options, command, parameter, resolve, reject) {
9923 -1 'use strict';
9924 -1 var q = axe.utils.queue();
9925 -1 var frames = context.frames;
9926 -1 frames.forEach(function(frame) {
9927 -1 var params = {
9928 -1 options: options,
9929 -1 command: command,
9930 -1 parameter: parameter,
9931 -1 context: {
9932 -1 initiator: false,
9933 -1 page: context.page,
9934 -1 include: frame.include || [],
9935 -1 exclude: frame.exclude || []
9936 -1 }
9937 -1 };
9938 -1 q.defer(function(res, rej) {
9939 -1 var node = frame.node;
9940 -1 axe.utils.sendCommandToFrame(node, params, function(data) {
9941 -1 if (data) {
9942 -1 return res({
9943 -1 results: data,
9944 -1 frameElement: node,
9945 -1 frame: axe.utils.getSelector(node)
9946 -1 });
9947 -1 }
9948 -1 res(null);
9949 -1 }, rej);
9950 -1 });
9951 -1 });
9952 -1 q.then(function(data) {
9953 -1 resolve(axe.utils.mergeResults(data, options));
9954 -1 }).catch(reject);
9955 -1 }
9956 -1 axe.utils.collectResultsFromFrames = collectResultsFromFrames;
9957 -1 'use strict';
9958 -1 axe.utils.contains = function(node, otherNode) {
9959 -1 'use strict';
9960 -1 function containsShadowChild(node, otherNode) {
9961 -1 if (node.shadowId === otherNode.shadowId) {
9962 -1 return true;
-1 8882 return roleDef.type;
9963 8883 }
9964 -1 return !!node.children.find(function(child) {
9965 -1 return containsShadowChild(child, otherNode);
9966 -1 });
9967 -1 }
9968 -1 if (node.shadowId || otherNode.shadowId) {
9969 -1 return containsShadowChild(node, otherNode);
9970 -1 }
9971 -1 if (typeof node.actualNode.contains === 'function') {
9972 -1 return node.actualNode.contains(otherNode.actualNode);
9973 -1 }
9974 -1 return !!(node.actualNode.compareDocumentPosition(otherNode.actualNode) & 16);
9975 -1 };
9976 -1 'use strict';
9977 -1 (function(axe) {
9978 -1 var parser = new axe.imports.CssSelectorParser();
9979 -1 parser.registerNestingOperators('>');
9980 -1 axe.utils.cssParser = parser;
9981 -1 })(axe);
9982 -1 'use strict';
9983 -1 function truncate(str, maxLength) {
9984 -1 maxLength = maxLength || 300;
9985 -1 if (str.length > maxLength) {
9986 -1 var index = str.indexOf('>');
9987 -1 str = str.substring(0, index + 1);
9988 -1 }
9989 -1 return str;
9990 -1 }
9991 -1 function getSource(element) {
9992 -1 var source = element.outerHTML;
9993 -1 if (!source && typeof XMLSerializer === 'function') {
9994 -1 source = new XMLSerializer().serializeToString(element);
9995 -1 }
9996 -1 return truncate(source || '');
9997 -1 }
9998 -1 function DqElement(element, options, spec) {
9999 -1 this._fromFrame = !!spec;
10000 -1 this.spec = spec || {};
10001 -1 if (options && options.absolutePaths) {
10002 -1 this._options = {
10003 -1 toRoot: true
10004 -1 };
10005 -1 }
10006 -1 this.source = this.spec.source !== undefined ? this.spec.source : getSource(element);
10007 -1 this._element = element;
10008 -1 }
10009 -1 DqElement.prototype = {
10010 -1 get selector() {
10011 -1 return this.spec.selector || [ axe.utils.getSelector(this.element, this._options) ];
10012 -1 },
10013 -1 get xpath() {
10014 -1 return this.spec.xpath || [ axe.utils.getXpath(this.element) ];
10015 -1 },
10016 -1 get element() {
10017 -1 return this._element;
10018 -1 },
10019 -1 get fromFrame() {
10020 -1 return this._fromFrame;
-1 8884 __webpack_exports__['default'] = getRoleType;
10021 8885 },
10022 -1 toJSON: function toJSON() {
-1 8886 './lib/commons/aria/get-role.js': function libCommonsAriaGetRoleJs(module, __webpack_exports__, __webpack_require__) {
10023 8887 'use strict';
10024 -1 return {
10025 -1 selector: this.selector,
10026 -1 source: this.source,
10027 -1 xpath: this.xpath
-1 8888 __webpack_require__.r(__webpack_exports__);
-1 8889 var _get_explicit_role__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/aria/get-explicit-role.js');
-1 8890 var _implicit_role__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/commons/aria/implicit-role.js');
-1 8891 var _standards_get_global_aria_attrs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__('./lib/commons/standards/get-global-aria-attrs.js');
-1 8892 var _dom_is_focusable__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__('./lib/commons/dom/is-focusable.js');
-1 8893 var _core_utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__('./lib/core/utils/index.js');
-1 8894 var _core_base_virtual_node_abstract_virtual_node__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__('./lib/core/base/virtual-node/abstract-virtual-node.js');
-1 8895 var inheritsPresentationChain = {
-1 8896 td: [ 'tr' ],
-1 8897 th: [ 'tr' ],
-1 8898 tr: [ 'thead', 'tbody', 'tfoot', 'table' ],
-1 8899 thead: [ 'table' ],
-1 8900 tbody: [ 'table' ],
-1 8901 tfoot: [ 'table' ],
-1 8902 li: [ 'ol', 'ul' ],
-1 8903 dt: [ 'dl', 'div' ],
-1 8904 dd: [ 'dl', 'div' ],
-1 8905 div: [ 'dl' ]
10028 8906 };
10029 -1 }
10030 -1 };
10031 -1 DqElement.fromFrame = function(node, options, frame) {
10032 -1 node.selector.unshift(frame.selector);
10033 -1 node.xpath.unshift(frame.xpath);
10034 -1 return new axe.utils.DqElement(frame.element, options, node);
10035 -1 };
10036 -1 axe.utils.DqElement = DqElement;
10037 -1 'use strict';
10038 -1 axe.utils.matchesSelector = function() {
10039 -1 'use strict';
10040 -1 var method;
10041 -1 function getMethod(node) {
10042 -1 var index, candidate, candidates = [ 'matches', 'matchesSelector', 'mozMatchesSelector', 'webkitMatchesSelector', 'msMatchesSelector' ], length = candidates.length;
10043 -1 for (index = 0; index < length; index++) {
10044 -1 candidate = candidates[index];
10045 -1 if (node[candidate]) {
10046 -1 return candidate;
-1 8907 function getInheritedRole(vNode, explicitRoleOptions) {
-1 8908 var parentNodeNames = inheritsPresentationChain[vNode.props.nodeName];
-1 8909 if (!parentNodeNames) {
-1 8910 return null;
-1 8911 }
-1 8912 if (!vNode.parent) {
-1 8913 throw new ReferenceError('Cannot determine role presentational inheritance of a required parent outside the current scope.');
-1 8914 }
-1 8915 if (!parentNodeNames.includes(vNode.parent.props.nodeName)) {
-1 8916 return null;
-1 8917 }
-1 8918 var parentRole = Object(_get_explicit_role__WEBPACK_IMPORTED_MODULE_0__['default'])(vNode.parent, explicitRoleOptions);
-1 8919 if ([ 'none', 'presentation' ].includes(parentRole) && !hasConflictResolution(vNode.parent)) {
-1 8920 return parentRole;
-1 8921 }
-1 8922 if (parentRole) {
-1 8923 return null;
10047 8924 }
-1 8925 return getInheritedRole(vNode.parent, explicitRoleOptions);
10048 8926 }
10049 -1 }
10050 -1 return function(node, selector) {
10051 -1 if (!method || !node[method]) {
10052 -1 method = getMethod(node);
-1 8927 function resolveImplicitRole(vNode, explicitRoleOptions) {
-1 8928 var implicitRole = Object(_implicit_role__WEBPACK_IMPORTED_MODULE_1__['default'])(vNode);
-1 8929 if (!implicitRole) {
-1 8930 return null;
-1 8931 }
-1 8932 var presentationalRole = getInheritedRole(vNode, explicitRoleOptions);
-1 8933 if (presentationalRole) {
-1 8934 return presentationalRole;
-1 8935 }
-1 8936 return implicitRole;
10053 8937 }
10054 -1 return node[method](selector);
10055 -1 };
10056 -1 }();
10057 -1 'use strict';
10058 -1 axe.utils.escapeSelector = function(value) {
10059 -1 'use strict';
10060 -1 var string = String(value);
10061 -1 var length = string.length;
10062 -1 var index = -1;
10063 -1 var codeUnit;
10064 -1 var result = '';
10065 -1 var firstCodeUnit = string.charCodeAt(0);
10066 -1 while (++index < length) {
10067 -1 codeUnit = string.charCodeAt(index);
10068 -1 if (codeUnit == 0) {
10069 -1 result += '�';
10070 -1 continue;
-1 8938 function hasConflictResolution(vNode) {
-1 8939 var hasGlobalAria = Object(_standards_get_global_aria_attrs__WEBPACK_IMPORTED_MODULE_2__['default'])().some(function(attr) {
-1 8940 return vNode.hasAttr(attr);
-1 8941 });
-1 8942 return hasGlobalAria || Object(_dom_is_focusable__WEBPACK_IMPORTED_MODULE_3__['default'])(vNode);
10071 8943 }
10072 -1 if (codeUnit >= 1 && codeUnit <= 31 || codeUnit == 127 || index == 0 && codeUnit >= 48 && codeUnit <= 57 || index == 1 && codeUnit >= 48 && codeUnit <= 57 && firstCodeUnit == 45) {
10073 -1 result += '\\' + codeUnit.toString(16) + ' ';
10074 -1 continue;
-1 8944 function getRole(node) {
-1 8945 var _ref22 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
-1 8946 var noImplicit = _ref22.noImplicit, explicitRoleOptions = _objectWithoutProperties(_ref22, [ 'noImplicit' ]);
-1 8947 var vNode = node instanceof _core_base_virtual_node_abstract_virtual_node__WEBPACK_IMPORTED_MODULE_5__['default'] ? node : Object(_core_utils__WEBPACK_IMPORTED_MODULE_4__['getNodeFromTree'])(node);
-1 8948 if (vNode.props.nodeType !== 1) {
-1 8949 return null;
-1 8950 }
-1 8951 var explicitRole = Object(_get_explicit_role__WEBPACK_IMPORTED_MODULE_0__['default'])(vNode, explicitRoleOptions);
-1 8952 if (!explicitRole) {
-1 8953 return noImplicit ? null : resolveImplicitRole(vNode, explicitRoleOptions);
-1 8954 }
-1 8955 if (![ 'presentation', 'none' ].includes(explicitRole)) {
-1 8956 return explicitRole;
-1 8957 }
-1 8958 if (hasConflictResolution(vNode)) {
-1 8959 return noImplicit ? null : resolveImplicitRole(vNode, explicitRoleOptions);
-1 8960 }
-1 8961 return explicitRole;
10075 8962 }
10076 -1 if (index == 0 && length == 1 && codeUnit == 45) {
10077 -1 result += '\\' + string.charAt(index);
10078 -1 continue;
-1 8963 __webpack_exports__['default'] = getRole;
-1 8964 },
-1 8965 './lib/commons/aria/get-roles-by-type.js': function libCommonsAriaGetRolesByTypeJs(module, __webpack_exports__, __webpack_require__) {
-1 8966 'use strict';
-1 8967 __webpack_require__.r(__webpack_exports__);
-1 8968 var _standards_get_aria_roles_by_type__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/standards/get-aria-roles-by-type.js');
-1 8969 function getRolesByType(roleType) {
-1 8970 return Object(_standards_get_aria_roles_by_type__WEBPACK_IMPORTED_MODULE_0__['default'])(roleType);
10079 8971 }
10080 -1 if (codeUnit >= 128 || codeUnit == 45 || codeUnit == 95 || codeUnit >= 48 && codeUnit <= 57 || codeUnit >= 65 && codeUnit <= 90 || codeUnit >= 97 && codeUnit <= 122) {
10081 -1 result += string.charAt(index);
10082 -1 continue;
-1 8972 __webpack_exports__['default'] = getRolesByType;
-1 8973 },
-1 8974 './lib/commons/aria/get-roles-with-name-from-contents.js': function libCommonsAriaGetRolesWithNameFromContentsJs(module, __webpack_exports__, __webpack_require__) {
-1 8975 'use strict';
-1 8976 __webpack_require__.r(__webpack_exports__);
-1 8977 var _standards_get_aria_roles_supporting_name_from_content__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/standards/get-aria-roles-supporting-name-from-content.js');
-1 8978 function getRolesWithNameFromContents() {
-1 8979 return Object(_standards_get_aria_roles_supporting_name_from_content__WEBPACK_IMPORTED_MODULE_0__['default'])();
10083 8980 }
10084 -1 result += '\\' + string.charAt(index);
10085 -1 }
10086 -1 return result;
10087 -1 };
10088 -1 'use strict';
10089 -1 axe.utils.extendMetaData = function(to, from) {
10090 -1 Object.assign(to, from);
10091 -1 Object.keys(from).filter(function(prop) {
10092 -1 return typeof from[prop] === 'function';
10093 -1 }).forEach(function(prop) {
10094 -1 to[prop] = null;
10095 -1 try {
10096 -1 to[prop] = from[prop](to);
10097 -1 } catch (e) {}
10098 -1 });
10099 -1 };
10100 -1 'use strict';
10101 -1 axe.utils.finalizeRuleResult = function(ruleResult) {
10102 -1 Object.assign(ruleResult, axe.utils.aggregateNodeResults(ruleResult.nodes));
10103 -1 delete ruleResult.nodes;
10104 -1 return ruleResult;
10105 -1 };
10106 -1 'use strict';
10107 -1 var _typeof = typeof Symbol === 'function' && typeof Symbol.iterator === 'symbol' ? function(obj) {
10108 -1 return typeof obj;
10109 -1 } : function(obj) {
10110 -1 return obj && typeof Symbol === 'function' && obj.constructor === Symbol && obj !== Symbol.prototype ? 'symbol' : typeof obj;
10111 -1 };
10112 -1 axe.utils.findBy = function(array, key, value) {
10113 -1 if (Array.isArray(array)) {
10114 -1 return array.find(function(obj) {
10115 -1 return (typeof obj === 'undefined' ? 'undefined' : _typeof(obj)) === 'object' && obj[key] === value;
10116 -1 });
10117 -1 }
10118 -1 };
10119 -1 'use strict';
10120 -1 var axe = axe || {
10121 -1 utils: {}
10122 -1 };
10123 -1 function virtualDOMfromNode(node, shadowId) {
10124 -1 var vNodeCache = {};
10125 -1 return {
10126 -1 shadowId: shadowId,
10127 -1 children: [],
10128 -1 actualNode: node,
10129 -1 get isFocusable() {
10130 -1 if (!vNodeCache._isFocusable) {
10131 -1 vNodeCache._isFocusable = axe.commons.dom.isFocusable(node);
10132 -1 }
10133 -1 return vNodeCache._isFocusable;
10134 -1 },
10135 -1 get tabbableElements() {
10136 -1 if (!vNodeCache._tabbableElements) {
10137 -1 vNodeCache._tabbableElements = axe.commons.dom.getTabbableElements(this);
-1 8981 __webpack_exports__['default'] = getRolesWithNameFromContents;
-1 8982 },
-1 8983 './lib/commons/aria/implicit-nodes.js': function libCommonsAriaImplicitNodesJs(module, __webpack_exports__, __webpack_require__) {
-1 8984 'use strict';
-1 8985 __webpack_require__.r(__webpack_exports__);
-1 8986 var _core_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/core/utils/index.js');
-1 8987 var _lookup_table__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/commons/aria/lookup-table.js');
-1 8988 function implicitNodes(role) {
-1 8989 'use strict';
-1 8990 var implicit = null;
-1 8991 var roles = _lookup_table__WEBPACK_IMPORTED_MODULE_1__['default'].role[role];
-1 8992 if (roles && roles.implicit) {
-1 8993 implicit = Object(_core_utils__WEBPACK_IMPORTED_MODULE_0__['clone'])(roles.implicit);
10138 8994 }
10139 -1 return vNodeCache._tabbableElements;
-1 8995 return implicit;
10140 8996 }
10141 -1 };
10142 -1 }
10143 -1 function getSlotChildren(node) {
10144 -1 var retVal = [];
10145 -1 node = node.firstChild;
10146 -1 while (node) {
10147 -1 retVal.push(node);
10148 -1 node = node.nextSibling;
10149 -1 }
10150 -1 return retVal;
10151 -1 }
10152 -1 axe.utils.getFlattenedTree = function(node, shadowId) {
10153 -1 var retVal, realArray, nodeName;
10154 -1 function reduceShadowDOM(res, child) {
10155 -1 var replacements = axe.utils.getFlattenedTree(child, shadowId);
10156 -1 if (replacements) {
10157 -1 res = res.concat(replacements);
10158 -1 }
10159 -1 return res;
10160 -1 }
10161 -1 if (node.documentElement) {
10162 -1 node = node.documentElement;
10163 -1 }
10164 -1 nodeName = node.nodeName.toLowerCase();
10165 -1 if (axe.utils.isShadowRoot(node)) {
10166 -1 retVal = virtualDOMfromNode(node, shadowId);
10167 -1 shadowId = 'a' + Math.random().toString().substring(2);
10168 -1 realArray = Array.from(node.shadowRoot.childNodes);
10169 -1 retVal.children = realArray.reduce(reduceShadowDOM, []);
10170 -1 return [ retVal ];
10171 -1 } else {
10172 -1 if (nodeName === 'content') {
10173 -1 realArray = Array.from(node.getDistributedNodes());
10174 -1 return realArray.reduce(reduceShadowDOM, []);
10175 -1 } else if (nodeName === 'slot' && typeof node.assignedNodes === 'function') {
10176 -1 realArray = Array.from(node.assignedNodes());
10177 -1 if (!realArray.length) {
10178 -1 realArray = getSlotChildren(node);
10179 -1 }
10180 -1 var styl = window.getComputedStyle(node);
10181 -1 if (false && styl.display !== 'contents') {
10182 -1 retVal = virtualDOMfromNode(node, shadowId);
10183 -1 retVal.children = realArray.reduce(reduceShadowDOM, []);
10184 -1 return [ retVal ];
10185 -1 } else {
10186 -1 return realArray.reduce(reduceShadowDOM, []);
-1 8997 __webpack_exports__['default'] = implicitNodes;
-1 8998 },
-1 8999 './lib/commons/aria/implicit-role.js': function libCommonsAriaImplicitRoleJs(module, __webpack_exports__, __webpack_require__) {
-1 9000 'use strict';
-1 9001 __webpack_require__.r(__webpack_exports__);
-1 9002 var _standards_implicit_html_roles__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/standards/implicit-html-roles.js');
-1 9003 var _core_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/core/utils/index.js');
-1 9004 var _core_base_virtual_node_abstract_virtual_node__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__('./lib/core/base/virtual-node/abstract-virtual-node.js');
-1 9005 function implicitRole(node) {
-1 9006 var vNode = node instanceof _core_base_virtual_node_abstract_virtual_node__WEBPACK_IMPORTED_MODULE_2__['default'] ? node : Object(_core_utils__WEBPACK_IMPORTED_MODULE_1__['getNodeFromTree'])(node);
-1 9007 node = vNode.actualNode;
-1 9008 if (!vNode) {
-1 9009 throw new ReferenceError('Cannot get implicit role of a node outside the current scope.');
-1 9010 }
-1 9011 if (node && node.namespaceURI === 'http://www.w3.org/2000/svg') {
-1 9012 return null;
10187 9013 }
10188 -1 } else {
10189 -1 if (node.nodeType === 1) {
10190 -1 retVal = virtualDOMfromNode(node, shadowId);
10191 -1 realArray = Array.from(node.childNodes);
10192 -1 retVal.children = realArray.reduce(reduceShadowDOM, []);
10193 -1 return [ retVal ];
10194 -1 } else if (node.nodeType === 3) {
10195 -1 return [ virtualDOMfromNode(node) ];
-1 9014 var nodeName = vNode.props.nodeName;
-1 9015 var role = _standards_implicit_html_roles__WEBPACK_IMPORTED_MODULE_0__['default'][nodeName];
-1 9016 if (!role) {
-1 9017 return null;
10196 9018 }
10197 -1 return undefined;
-1 9019 if (typeof role === 'function') {
-1 9020 return role(vNode);
-1 9021 }
-1 9022 return role;
10198 9023 }
10199 -1 }
10200 -1 };
10201 -1 axe.utils.getNodeFromTree = function(vNode, node) {
10202 -1 var found;
10203 -1 if (vNode.actualNode === node) {
10204 -1 return vNode;
10205 -1 }
10206 -1 vNode.children.forEach(function(candidate) {
10207 -1 if (found) {
10208 -1 return;
10209 -1 }
10210 -1 if (candidate.actualNode === node) {
10211 -1 found = candidate;
10212 -1 } else {
10213 -1 found = axe.utils.getNodeFromTree(candidate, node);
10214 -1 }
10215 -1 });
10216 -1 return found;
10217 -1 };
10218 -1 'use strict';
10219 -1 axe.utils.getAllChecks = function getAllChecks(object) {
10220 -1 'use strict';
10221 -1 var result = [];
10222 -1 return result.concat(object.any || []).concat(object.all || []).concat(object.none || []);
10223 -1 };
10224 -1 'use strict';
10225 -1 axe.utils.getBaseLang = function getBaseLang(lang) {
10226 -1 if (!lang) {
10227 -1 return '';
10228 -1 }
10229 -1 return lang.trim().split('-')[0].toLowerCase();
10230 -1 };
10231 -1 'use strict';
10232 -1 axe.utils.getCheckOption = function(check, ruleID, options) {
10233 -1 var ruleCheckOption = ((options.rules && options.rules[ruleID] || {}).checks || {})[check.id];
10234 -1 var checkOption = (options.checks || {})[check.id];
10235 -1 var enabled = check.enabled;
10236 -1 var opts = check.options;
10237 -1 if (checkOption) {
10238 -1 if (checkOption.hasOwnProperty('enabled')) {
10239 -1 enabled = checkOption.enabled;
10240 -1 }
10241 -1 if (checkOption.hasOwnProperty('options')) {
10242 -1 opts = checkOption.options;
10243 -1 }
10244 -1 }
10245 -1 if (ruleCheckOption) {
10246 -1 if (ruleCheckOption.hasOwnProperty('enabled')) {
10247 -1 enabled = ruleCheckOption.enabled;
10248 -1 }
10249 -1 if (ruleCheckOption.hasOwnProperty('options')) {
10250 -1 opts = ruleCheckOption.options;
10251 -1 }
10252 -1 }
10253 -1 return {
10254 -1 enabled: enabled,
10255 -1 options: opts,
10256 -1 absolutePaths: options.absolutePaths
10257 -1 };
10258 -1 };
10259 -1 'use strict';
10260 -1 var _slicedToArray = function() {
10261 -1 function sliceIterator(arr, i) {
10262 -1 var _arr = [];
10263 -1 var _n = true;
10264 -1 var _d = false;
10265 -1 var _e = undefined;
10266 -1 try {
10267 -1 for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {
10268 -1 _arr.push(_s.value);
10269 -1 if (i && _arr.length === i) {
10270 -1 break;
10271 -1 }
10272 -1 }
10273 -1 } catch (err) {
10274 -1 _d = true;
10275 -1 _e = err;
10276 -1 } finally {
10277 -1 try {
10278 -1 if (!_n && _i['return']) {
10279 -1 _i['return']();
10280 -1 }
10281 -1 } finally {
10282 -1 if (_d) {
10283 -1 throw _e;
-1 9024 __webpack_exports__['default'] = implicitRole;
-1 9025 },
-1 9026 './lib/commons/aria/index.js': function libCommonsAriaIndexJs(module, __webpack_exports__, __webpack_require__) {
-1 9027 'use strict';
-1 9028 __webpack_require__.r(__webpack_exports__);
-1 9029 var _allowed_attr__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/aria/allowed-attr.js');
-1 9030 __webpack_require__.d(__webpack_exports__, 'allowedAttr', function() {
-1 9031 return _allowed_attr__WEBPACK_IMPORTED_MODULE_0__['default'];
-1 9032 });
-1 9033 var _arialabel_text__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/commons/aria/arialabel-text.js');
-1 9034 __webpack_require__.d(__webpack_exports__, 'arialabelText', function() {
-1 9035 return _arialabel_text__WEBPACK_IMPORTED_MODULE_1__['default'];
-1 9036 });
-1 9037 var _arialabelledby_text__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__('./lib/commons/aria/arialabelledby-text.js');
-1 9038 __webpack_require__.d(__webpack_exports__, 'arialabelledbyText', function() {
-1 9039 return _arialabelledby_text__WEBPACK_IMPORTED_MODULE_2__['default'];
-1 9040 });
-1 9041 var _get_element_unallowed_roles__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__('./lib/commons/aria/get-element-unallowed-roles.js');
-1 9042 __webpack_require__.d(__webpack_exports__, 'getElementUnallowedRoles', function() {
-1 9043 return _get_element_unallowed_roles__WEBPACK_IMPORTED_MODULE_3__['default'];
-1 9044 });
-1 9045 var _get_explicit_role__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__('./lib/commons/aria/get-explicit-role.js');
-1 9046 __webpack_require__.d(__webpack_exports__, 'getExplicitRole', function() {
-1 9047 return _get_explicit_role__WEBPACK_IMPORTED_MODULE_4__['default'];
-1 9048 });
-1 9049 var _get_owned_virtual__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__('./lib/commons/aria/get-owned-virtual.js');
-1 9050 __webpack_require__.d(__webpack_exports__, 'getOwnedVirtual', function() {
-1 9051 return _get_owned_virtual__WEBPACK_IMPORTED_MODULE_5__['default'];
-1 9052 });
-1 9053 var _get_role_type__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__('./lib/commons/aria/get-role-type.js');
-1 9054 __webpack_require__.d(__webpack_exports__, 'getRoleType', function() {
-1 9055 return _get_role_type__WEBPACK_IMPORTED_MODULE_6__['default'];
-1 9056 });
-1 9057 var _get_role__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__('./lib/commons/aria/get-role.js');
-1 9058 __webpack_require__.d(__webpack_exports__, 'getRole', function() {
-1 9059 return _get_role__WEBPACK_IMPORTED_MODULE_7__['default'];
-1 9060 });
-1 9061 var _get_roles_by_type__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__('./lib/commons/aria/get-roles-by-type.js');
-1 9062 __webpack_require__.d(__webpack_exports__, 'getRolesByType', function() {
-1 9063 return _get_roles_by_type__WEBPACK_IMPORTED_MODULE_8__['default'];
-1 9064 });
-1 9065 var _get_roles_with_name_from_contents__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__('./lib/commons/aria/get-roles-with-name-from-contents.js');
-1 9066 __webpack_require__.d(__webpack_exports__, 'getRolesWithNameFromContents', function() {
-1 9067 return _get_roles_with_name_from_contents__WEBPACK_IMPORTED_MODULE_9__['default'];
-1 9068 });
-1 9069 var _implicit_nodes__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__('./lib/commons/aria/implicit-nodes.js');
-1 9070 __webpack_require__.d(__webpack_exports__, 'implicitNodes', function() {
-1 9071 return _implicit_nodes__WEBPACK_IMPORTED_MODULE_10__['default'];
-1 9072 });
-1 9073 var _implicit_role__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__('./lib/commons/aria/implicit-role.js');
-1 9074 __webpack_require__.d(__webpack_exports__, 'implicitRole', function() {
-1 9075 return _implicit_role__WEBPACK_IMPORTED_MODULE_11__['default'];
-1 9076 });
-1 9077 var _is_accessible_ref__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__('./lib/commons/aria/is-accessible-ref.js');
-1 9078 __webpack_require__.d(__webpack_exports__, 'isAccessibleRef', function() {
-1 9079 return _is_accessible_ref__WEBPACK_IMPORTED_MODULE_12__['default'];
-1 9080 });
-1 9081 var _is_aria_role_allowed_on_element__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__('./lib/commons/aria/is-aria-role-allowed-on-element.js');
-1 9082 __webpack_require__.d(__webpack_exports__, 'isAriaRoleAllowedOnElement', function() {
-1 9083 return _is_aria_role_allowed_on_element__WEBPACK_IMPORTED_MODULE_13__['default'];
-1 9084 });
-1 9085 var _is_unsupported_role__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__('./lib/commons/aria/is-unsupported-role.js');
-1 9086 __webpack_require__.d(__webpack_exports__, 'isUnsupportedRole', function() {
-1 9087 return _is_unsupported_role__WEBPACK_IMPORTED_MODULE_14__['default'];
-1 9088 });
-1 9089 var _is_valid_role__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__('./lib/commons/aria/is-valid-role.js');
-1 9090 __webpack_require__.d(__webpack_exports__, 'isValidRole', function() {
-1 9091 return _is_valid_role__WEBPACK_IMPORTED_MODULE_15__['default'];
-1 9092 });
-1 9093 var _label_virtual__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__('./lib/commons/aria/label-virtual.js');
-1 9094 __webpack_require__.d(__webpack_exports__, 'labelVirtual', function() {
-1 9095 return _label_virtual__WEBPACK_IMPORTED_MODULE_16__['default'];
-1 9096 });
-1 9097 var _label__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__('./lib/commons/aria/label.js');
-1 9098 __webpack_require__.d(__webpack_exports__, 'label', function() {
-1 9099 return _label__WEBPACK_IMPORTED_MODULE_17__['default'];
-1 9100 });
-1 9101 var _lookup_table__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__('./lib/commons/aria/lookup-table.js');
-1 9102 __webpack_require__.d(__webpack_exports__, 'lookupTable', function() {
-1 9103 return _lookup_table__WEBPACK_IMPORTED_MODULE_18__['default'];
-1 9104 });
-1 9105 var _named_from_contents__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__('./lib/commons/aria/named-from-contents.js');
-1 9106 __webpack_require__.d(__webpack_exports__, 'namedFromContents', function() {
-1 9107 return _named_from_contents__WEBPACK_IMPORTED_MODULE_19__['default'];
-1 9108 });
-1 9109 var _required_attr__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__('./lib/commons/aria/required-attr.js');
-1 9110 __webpack_require__.d(__webpack_exports__, 'requiredAttr', function() {
-1 9111 return _required_attr__WEBPACK_IMPORTED_MODULE_20__['default'];
-1 9112 });
-1 9113 var _required_context__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__('./lib/commons/aria/required-context.js');
-1 9114 __webpack_require__.d(__webpack_exports__, 'requiredContext', function() {
-1 9115 return _required_context__WEBPACK_IMPORTED_MODULE_21__['default'];
-1 9116 });
-1 9117 var _required_owned__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__('./lib/commons/aria/required-owned.js');
-1 9118 __webpack_require__.d(__webpack_exports__, 'requiredOwned', function() {
-1 9119 return _required_owned__WEBPACK_IMPORTED_MODULE_22__['default'];
-1 9120 });
-1 9121 var _validate_attr_value__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__('./lib/commons/aria/validate-attr-value.js');
-1 9122 __webpack_require__.d(__webpack_exports__, 'validateAttrValue', function() {
-1 9123 return _validate_attr_value__WEBPACK_IMPORTED_MODULE_23__['default'];
-1 9124 });
-1 9125 var _validate_attr__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__('./lib/commons/aria/validate-attr.js');
-1 9126 __webpack_require__.d(__webpack_exports__, 'validateAttr', function() {
-1 9127 return _validate_attr__WEBPACK_IMPORTED_MODULE_24__['default'];
-1 9128 });
-1 9129 },
-1 9130 './lib/commons/aria/is-accessible-ref.js': function libCommonsAriaIsAccessibleRefJs(module, __webpack_exports__, __webpack_require__) {
-1 9131 'use strict';
-1 9132 __webpack_require__.r(__webpack_exports__);
-1 9133 var _standards__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/standards/index.js');
-1 9134 var _dom_get_root_node__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/commons/dom/get-root-node.js');
-1 9135 var _core_base_cache__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__('./lib/core/base/cache.js');
-1 9136 var _core_utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__('./lib/core/utils/index.js');
-1 9137 var idRefsRegex = /^idrefs?$/;
-1 9138 function cacheIdRefs(node, refAttrs) {
-1 9139 if (node.hasAttribute) {
-1 9140 var idRefs = _core_base_cache__WEBPACK_IMPORTED_MODULE_2__['default'].get('idRefs');
-1 9141 if (node.nodeName.toUpperCase() === 'LABEL' && node.hasAttribute('for')) {
-1 9142 idRefs[node.getAttribute('for')] = true;
-1 9143 }
-1 9144 for (var i = 0; i < refAttrs.length; ++i) {
-1 9145 var attr = refAttrs[i];
-1 9146 if (!node.hasAttribute(attr)) {
-1 9147 continue;
-1 9148 }
-1 9149 var attrValue = node.getAttribute(attr);
-1 9150 var tokens = Object(_core_utils__WEBPACK_IMPORTED_MODULE_3__['tokenList'])(attrValue);
-1 9151 for (var k = 0; k < tokens.length; ++k) {
-1 9152 idRefs[tokens[k]] = true;
-1 9153 }
10284 9154 }
10285 9155 }
10286 -1 }
10287 -1 return _arr;
10288 -1 }
10289 -1 return function(arr, i) {
10290 -1 if (Array.isArray(arr)) {
10291 -1 return arr;
10292 -1 } else if (Symbol.iterator in Object(arr)) {
10293 -1 return sliceIterator(arr, i);
10294 -1 } else {
10295 -1 throw new TypeError('Invalid attempt to destructure non-iterable instance');
10296 -1 }
10297 -1 };
10298 -1 }();
10299 -1 function isMostlyNumbers() {
10300 -1 var str = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
10301 -1 return str.length !== 0 && (str.match(/[0-9]/g) || '').length >= str.length / 2;
10302 -1 }
10303 -1 function splitString(str, splitIndex) {
10304 -1 return [ str.substring(0, splitIndex), str.substring(splitIndex) ];
10305 -1 }
10306 -1 function trimRight(str) {
10307 -1 return str.replace(/\s+$/, '');
10308 -1 }
10309 -1 function uriParser(url) {
10310 -1 var original = url;
10311 -1 var protocol = '', domain = '', port = '', path = '', query = '', hash = '';
10312 -1 if (url.includes('#')) {
10313 -1 var _splitString = splitString(url, url.indexOf('#'));
10314 -1 var _splitString2 = _slicedToArray(_splitString, 2);
10315 -1 url = _splitString2[0];
10316 -1 hash = _splitString2[1];
10317 -1 }
10318 -1 if (url.includes('?')) {
10319 -1 var _splitString3 = splitString(url, url.indexOf('?'));
10320 -1 var _splitString4 = _slicedToArray(_splitString3, 2);
10321 -1 url = _splitString4[0];
10322 -1 query = _splitString4[1];
10323 -1 }
10324 -1 if (url.includes('://')) {
10325 -1 var _url$split = url.split('://');
10326 -1 var _url$split2 = _slicedToArray(_url$split, 2);
10327 -1 protocol = _url$split2[0];
10328 -1 url = _url$split2[1];
10329 -1 var _splitString5 = splitString(url, url.indexOf('/'));
10330 -1 var _splitString6 = _slicedToArray(_splitString5, 2);
10331 -1 domain = _splitString6[0];
10332 -1 url = _splitString6[1];
10333 -1 } else if (url.substr(0, 2) === '//') {
10334 -1 url = url.substr(2);
10335 -1 var _splitString7 = splitString(url, url.indexOf('/'));
10336 -1 var _splitString8 = _slicedToArray(_splitString7, 2);
10337 -1 domain = _splitString8[0];
10338 -1 url = _splitString8[1];
10339 -1 }
10340 -1 if (domain.substr(0, 4) === 'www.') {
10341 -1 domain = domain.substr(4);
10342 -1 }
10343 -1 if (domain && domain.includes(':')) {
10344 -1 var _splitString9 = splitString(domain, domain.indexOf(':'));
10345 -1 var _splitString10 = _slicedToArray(_splitString9, 2);
10346 -1 domain = _splitString10[0];
10347 -1 port = _splitString10[1];
10348 -1 }
10349 -1 path = url;
10350 -1 return {
10351 -1 original: original,
10352 -1 protocol: protocol,
10353 -1 domain: domain,
10354 -1 port: port,
10355 -1 path: path,
10356 -1 query: query,
10357 -1 hash: hash
10358 -1 };
10359 -1 }
10360 -1 axe.utils.getFriendlyUriEnd = function getFriendlyUriEnd() {
10361 -1 var uri = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
10362 -1 var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
10363 -1 if (uri.length <= 1 || uri.substr(0, 5) === 'data:' || uri.substr(0, 11) === 'javascript:' || uri.includes('?')) {
10364 -1 return;
10365 -1 }
10366 -1 var currentDomain = options.currentDomain, _options$maxLength = options.maxLength, maxLength = _options$maxLength === undefined ? 25 : _options$maxLength;
10367 -1 var _uriParser = uriParser(uri), path = _uriParser.path, domain = _uriParser.domain, hash = _uriParser.hash;
10368 -1 var pathEnd = path.substr(path.substr(0, path.length - 2).lastIndexOf('/') + 1);
10369 -1 if (hash) {
10370 -1 if (pathEnd && (pathEnd + hash).length <= maxLength) {
10371 -1 return trimRight(pathEnd + hash);
10372 -1 } else if (pathEnd.length < 2 && hash.length > 2 && hash.length <= maxLength) {
10373 -1 return trimRight(hash);
10374 -1 } else {
10375 -1 return;
10376 -1 }
10377 -1 } else if (domain && domain.length < maxLength && path.length <= 1) {
10378 -1 return trimRight(domain + path);
10379 -1 }
10380 -1 if (path === '/' + pathEnd && domain && currentDomain && domain !== currentDomain && (domain + path).length <= maxLength) {
10381 -1 return trimRight(domain + path);
10382 -1 }
10383 -1 var lastDotIndex = pathEnd.lastIndexOf('.');
10384 -1 if ((lastDotIndex === -1 || lastDotIndex > 1) && (lastDotIndex !== -1 || pathEnd.length > 2) && pathEnd.length <= maxLength && !pathEnd.match(/index(\.[a-zA-Z]{2-4})?/) && !isMostlyNumbers(pathEnd)) {
10385 -1 return trimRight(pathEnd);
10386 -1 }
10387 -1 };
10388 -1 'use strict';
10389 -1 axe.utils.getRootNode = function getRootNode(node) {
10390 -1 var doc = node.getRootNode && node.getRootNode() || document;
10391 -1 if (doc === node) {
10392 -1 doc = document;
10393 -1 }
10394 -1 return doc;
10395 -1 };
10396 -1 'use strict';
10397 -1 var escapeSelector = axe.utils.escapeSelector;
10398 -1 var isXHTML = void 0;
10399 -1 var ignoredAttributes = [ 'class', 'style', 'id', 'selected', 'checked', 'disabled', 'tabindex', 'aria-checked', 'aria-selected', 'aria-invalid', 'aria-activedescendant', 'aria-busy', 'aria-disabled', 'aria-expanded', 'aria-grabbed', 'aria-pressed', 'aria-valuenow' ];
10400 -1 var MAXATTRIBUTELENGTH = 31;
10401 -1 function getAttributeNameValue(node, at) {
10402 -1 var name = at.name;
10403 -1 var atnv = void 0;
10404 -1 if (name.indexOf('href') !== -1 || name.indexOf('src') !== -1) {
10405 -1 var friendly = axe.utils.getFriendlyUriEnd(node.getAttribute(name));
10406 -1 if (friendly) {
10407 -1 var value = encodeURI(friendly);
10408 -1 if (value) {
10409 -1 atnv = escapeSelector(at.name) + '$="' + escapeSelector(value) + '"';
10410 -1 } else {
10411 -1 return;
-1 9156 for (var _i3 = 0; _i3 < node.children.length; _i3++) {
-1 9157 cacheIdRefs(node.children[_i3], refAttrs);
10412 9158 }
10413 -1 } else {
10414 -1 atnv = escapeSelector(at.name) + '="' + escapeSelector(node.getAttribute(name)) + '"';
10415 9159 }
10416 -1 } else {
10417 -1 atnv = escapeSelector(name) + '="' + escapeSelector(at.value) + '"';
10418 -1 }
10419 -1 return atnv;
10420 -1 }
10421 -1 function countSort(a, b) {
10422 -1 return a.count < b.count ? -1 : a.count === b.count ? 0 : 1;
10423 -1 }
10424 -1 function filterAttributes(at) {
10425 -1 return !ignoredAttributes.includes(at.name) && at.name.indexOf(':') === -1 && (!at.value || at.value.length < MAXATTRIBUTELENGTH);
10426 -1 }
10427 -1 axe.utils.getSelectorData = function(domTree) {
10428 -1 var data = {
10429 -1 classes: {},
10430 -1 tags: {},
10431 -1 attributes: {}
10432 -1 };
10433 -1 domTree = Array.isArray(domTree) ? domTree : [ domTree ];
10434 -1 var currentLevel = domTree.slice();
10435 -1 var stack = [];
10436 -1 var _loop = function _loop() {
10437 -1 var current = currentLevel.pop();
10438 -1 var node = current.actualNode;
10439 -1 if (!!node.querySelectorAll) {
10440 -1 var tag = node.nodeName;
10441 -1 if (data.tags[tag]) {
10442 -1 data.tags[tag]++;
10443 -1 } else {
10444 -1 data.tags[tag] = 1;
10445 -1 }
10446 -1 if (node.classList) {
10447 -1 Array.from(node.classList).forEach(function(cl) {
10448 -1 var ind = escapeSelector(cl);
10449 -1 if (data.classes[ind]) {
10450 -1 data.classes[ind]++;
10451 -1 } else {
10452 -1 data.classes[ind] = 1;
10453 -1 }
10454 -1 });
10455 -1 }
10456 -1 if (node.attributes) {
10457 -1 Array.from(node.attributes).filter(filterAttributes).forEach(function(at) {
10458 -1 var atnv = getAttributeNameValue(node, at);
10459 -1 if (atnv) {
10460 -1 if (data.attributes[atnv]) {
10461 -1 data.attributes[atnv]++;
10462 -1 } else {
10463 -1 data.attributes[atnv] = 1;
10464 -1 }
10465 -1 }
-1 9160 function isAccessibleRef(node) {
-1 9161 node = node.actualNode || node;
-1 9162 var root = Object(_dom_get_root_node__WEBPACK_IMPORTED_MODULE_1__['default'])(node);
-1 9163 root = root.documentElement || root;
-1 9164 var id = node.id;
-1 9165 if (!_core_base_cache__WEBPACK_IMPORTED_MODULE_2__['default'].get('idRefs')) {
-1 9166 _core_base_cache__WEBPACK_IMPORTED_MODULE_2__['default'].set('idRefs', {});
-1 9167 var refAttrs = Object.keys(_standards__WEBPACK_IMPORTED_MODULE_0__['default'].ariaAttrs).filter(function(attr) {
-1 9168 var type = _standards__WEBPACK_IMPORTED_MODULE_0__['default'].ariaAttrs[attr].type;
-1 9169 return idRefsRegex.test(type);
10466 9170 });
-1 9171 cacheIdRefs(root, refAttrs);
10467 9172 }
-1 9173 return _core_base_cache__WEBPACK_IMPORTED_MODULE_2__['default'].get('idRefs')[id] === true;
10468 9174 }
10469 -1 if (current.children.length) {
10470 -1 stack.push(currentLevel);
10471 -1 currentLevel = current.children.slice();
10472 -1 }
10473 -1 while (!currentLevel.length && stack.length) {
10474 -1 currentLevel = stack.pop();
10475 -1 }
10476 -1 };
10477 -1 while (currentLevel.length) {
10478 -1 _loop();
10479 -1 }
10480 -1 return data;
10481 -1 };
10482 -1 function uncommonClasses(node, selectorData) {
10483 -1 var retVal = [];
10484 -1 var classData = selectorData.classes;
10485 -1 var tagData = selectorData.tags;
10486 -1 if (node.classList) {
10487 -1 Array.from(node.classList).forEach(function(cl) {
10488 -1 var ind = escapeSelector(cl);
10489 -1 if (classData[ind] < tagData[node.nodeName]) {
10490 -1 retVal.push({
10491 -1 name: ind,
10492 -1 count: classData[ind],
10493 -1 species: 'class'
10494 -1 });
-1 9175 __webpack_exports__['default'] = isAccessibleRef;
-1 9176 },
-1 9177 './lib/commons/aria/is-aria-role-allowed-on-element.js': function libCommonsAriaIsAriaRoleAllowedOnElementJs(module, __webpack_exports__, __webpack_require__) {
-1 9178 'use strict';
-1 9179 __webpack_require__.r(__webpack_exports__);
-1 9180 var _core_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/core/utils/index.js');
-1 9181 var _core_base_virtual_node_abstract_virtual_node__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/core/base/virtual-node/abstract-virtual-node.js');
-1 9182 var _implicit_role__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__('./lib/commons/aria/implicit-role.js');
-1 9183 var _standards_get_element_spec__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__('./lib/commons/standards/get-element-spec.js');
-1 9184 function isAriaRoleAllowedOnElement(node, role) {
-1 9185 var vNode = node instanceof _core_base_virtual_node_abstract_virtual_node__WEBPACK_IMPORTED_MODULE_1__['default'] ? node : Object(_core_utils__WEBPACK_IMPORTED_MODULE_0__['getNodeFromTree'])(node);
-1 9186 var implicitRole = Object(_implicit_role__WEBPACK_IMPORTED_MODULE_2__['default'])(vNode);
-1 9187 if (role === implicitRole) {
-1 9188 return true;
10495 9189 }
10496 -1 });
10497 -1 }
10498 -1 return retVal.sort(countSort);
10499 -1 }
10500 -1 function getNthChildString(elm, selector) {
10501 -1 var siblings = elm.parentNode && Array.from(elm.parentNode.children || '') || [];
10502 -1 var hasMatchingSiblings = siblings.find(function(sibling) {
10503 -1 return sibling !== elm && axe.utils.matchesSelector(sibling, selector);
10504 -1 });
10505 -1 if (hasMatchingSiblings) {
10506 -1 var nthChild = 1 + siblings.indexOf(elm);
10507 -1 return ':nth-child(' + nthChild + ')';
10508 -1 } else {
10509 -1 return '';
10510 -1 }
10511 -1 }
10512 -1 function getElmId(elm) {
10513 -1 if (!elm.getAttribute('id')) {
10514 -1 return;
10515 -1 }
10516 -1 var doc = elm.getRootNode && elm.getRootNode() || document;
10517 -1 var id = '#' + escapeSelector(elm.getAttribute('id') || '');
10518 -1 if (!id.match(/player_uid_/) && doc.querySelectorAll(id).length === 1) {
10519 -1 return id;
10520 -1 }
10521 -1 }
10522 -1 function getBaseSelector(elm) {
10523 -1 if (typeof isXHTML === 'undefined') {
10524 -1 isXHTML = axe.utils.isXHTML(document);
10525 -1 }
10526 -1 return escapeSelector(isXHTML ? elm.localName : elm.nodeName.toLowerCase());
10527 -1 }
10528 -1 function uncommonAttributes(node, selectorData) {
10529 -1 var retVal = [];
10530 -1 var attData = selectorData.attributes;
10531 -1 var tagData = selectorData.tags;
10532 -1 if (node.attributes) {
10533 -1 Array.from(node.attributes).filter(filterAttributes).forEach(function(at) {
10534 -1 var atnv = getAttributeNameValue(node, at);
10535 -1 if (atnv && attData[atnv] < tagData[node.nodeName]) {
10536 -1 retVal.push({
10537 -1 name: atnv,
10538 -1 count: attData[atnv],
10539 -1 species: 'attribute'
10540 -1 });
-1 9190 var spec = Object(_standards_get_element_spec__WEBPACK_IMPORTED_MODULE_3__['default'])(vNode);
-1 9191 if (Array.isArray(spec.allowedRoles)) {
-1 9192 return spec.allowedRoles.includes(role);
10541 9193 }
10542 -1 });
10543 -1 }
10544 -1 return retVal.sort(countSort);
10545 -1 }
10546 -1 function getThreeLeastCommonFeatures(elm, selectorData) {
10547 -1 var selector = '';
10548 -1 var features = void 0;
10549 -1 var clss = uncommonClasses(elm, selectorData);
10550 -1 var atts = uncommonAttributes(elm, selectorData);
10551 -1 if (clss.length && clss[0].count === 1) {
10552 -1 features = [ clss[0] ];
10553 -1 } else if (atts.length && atts[0].count === 1) {
10554 -1 features = [ atts[0] ];
10555 -1 selector = getBaseSelector(elm);
10556 -1 } else {
10557 -1 features = clss.concat(atts);
10558 -1 features.sort(countSort);
10559 -1 features = features.slice(0, 3);
10560 -1 if (!features.some(function(feat) {
10561 -1 return feat.species === 'class';
10562 -1 })) {
10563 -1 selector = getBaseSelector(elm);
10564 -1 } else {
10565 -1 features.sort(function(a, b) {
10566 -1 return a.species !== b.species && a.species === 'class' ? -1 : a.species === b.species ? 0 : 1;
10567 -1 });
10568 -1 }
10569 -1 }
10570 -1 return selector += features.reduce(function(val, feat) {
10571 -1 switch (feat.species) {
10572 -1 case 'class':
10573 -1 return val + '.' + feat.name;
10574 -1
10575 -1 case 'attribute':
10576 -1 return val + '[' + feat.name + ']';
10577 -1 }
10578 -1 return val;
10579 -1 }, '');
10580 -1 }
10581 -1 function generateSelector(elm, options, doc) {
10582 -1 if (!axe._selectorData) {
10583 -1 throw new Error('Expect axe._selectorData to be set up');
10584 -1 }
10585 -1 var _options$toRoot = options.toRoot, toRoot = _options$toRoot === undefined ? false : _options$toRoot;
10586 -1 var selector = void 0;
10587 -1 var similar = void 0;
10588 -1 do {
10589 -1 var features = getElmId(elm);
10590 -1 if (!features) {
10591 -1 features = getThreeLeastCommonFeatures(elm, axe._selectorData);
10592 -1 features += getNthChildString(elm, features);
10593 -1 }
10594 -1 if (selector) {
10595 -1 selector = features + ' > ' + selector;
10596 -1 } else {
10597 -1 selector = features;
10598 -1 }
10599 -1 if (!similar) {
10600 -1 similar = Array.from(doc.querySelectorAll(selector));
10601 -1 } else {
10602 -1 similar = similar.filter(function(item) {
10603 -1 return axe.utils.matchesSelector(item, selector);
10604 -1 });
-1 9194 return !!spec.allowedRoles;
10605 9195 }
10606 -1 elm = elm.parentElement;
10607 -1 } while ((similar.length > 1 || toRoot) && elm && elm.nodeType !== 11);
10608 -1 if (similar.length === 1) {
10609 -1 return selector;
10610 -1 } else if (selector.indexOf(' > ') !== -1) {
10611 -1 return ':root' + selector.substring(selector.indexOf(' > '));
10612 -1 }
10613 -1 return ':root';
10614 -1 }
10615 -1 axe.utils.getSelector = function createUniqueSelector(elm) {
10616 -1 var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
10617 -1 if (!elm) {
10618 -1 return '';
10619 -1 }
10620 -1 var doc = elm.getRootNode && elm.getRootNode() || document;
10621 -1 if (doc.nodeType === 11) {
10622 -1 var stack = [];
10623 -1 while (doc.nodeType === 11) {
10624 -1 stack.push({
10625 -1 elm: elm,
10626 -1 doc: doc
10627 -1 });
10628 -1 elm = doc.host;
10629 -1 doc = elm.getRootNode();
-1 9196 __webpack_exports__['default'] = isAriaRoleAllowedOnElement;
-1 9197 },
-1 9198 './lib/commons/aria/is-unsupported-role.js': function libCommonsAriaIsUnsupportedRoleJs(module, __webpack_exports__, __webpack_require__) {
-1 9199 'use strict';
-1 9200 __webpack_require__.r(__webpack_exports__);
-1 9201 var _standards__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/standards/index.js');
-1 9202 function isUnsupportedRole(role) {
-1 9203 var roleDefinition = _standards__WEBPACK_IMPORTED_MODULE_0__['default'].ariaRoles[role];
-1 9204 return roleDefinition ? !!roleDefinition.unsupported : false;
10630 9205 }
10631 -1 stack.push({
10632 -1 elm: elm,
10633 -1 doc: doc
10634 -1 });
10635 -1 return stack.reverse().map(function(comp) {
10636 -1 return generateSelector(comp.elm, options, comp.doc);
10637 -1 });
10638 -1 } else {
10639 -1 return generateSelector(elm, options, doc);
10640 -1 }
10641 -1 };
10642 -1 'use strict';
10643 -1 function getXPathArray(node, path) {
10644 -1 var sibling, count;
10645 -1 if (!node) {
10646 -1 return [];
10647 -1 }
10648 -1 if (!path && node.nodeType === 9) {
10649 -1 path = [ {
10650 -1 str: 'html'
10651 -1 } ];
10652 -1 return path;
10653 -1 }
10654 -1 path = path || [];
10655 -1 if (node.parentNode && node.parentNode !== node) {
10656 -1 path = getXPathArray(node.parentNode, path);
10657 -1 }
10658 -1 if (node.previousSibling) {
10659 -1 count = 1;
10660 -1 sibling = node.previousSibling;
10661 -1 do {
10662 -1 if (sibling.nodeType === 1 && sibling.nodeName === node.nodeName) {
10663 -1 count++;
10664 -1 }
10665 -1 sibling = sibling.previousSibling;
10666 -1 } while (sibling);
10667 -1 if (count === 1) {
10668 -1 count = null;
10669 -1 }
10670 -1 } else if (node.nextSibling) {
10671 -1 sibling = node.nextSibling;
10672 -1 do {
10673 -1 if (sibling.nodeType === 1 && sibling.nodeName === node.nodeName) {
10674 -1 count = 1;
10675 -1 sibling = null;
10676 -1 } else {
10677 -1 count = null;
10678 -1 sibling = sibling.previousSibling;
-1 9206 __webpack_exports__['default'] = isUnsupportedRole;
-1 9207 },
-1 9208 './lib/commons/aria/is-valid-role.js': function libCommonsAriaIsValidRoleJs(module, __webpack_exports__, __webpack_require__) {
-1 9209 'use strict';
-1 9210 __webpack_require__.r(__webpack_exports__);
-1 9211 var _standards__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/standards/index.js');
-1 9212 var _is_unsupported_role__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/commons/aria/is-unsupported-role.js');
-1 9213 function isValidRole(role) {
-1 9214 var _ref23 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}, allowAbstract = _ref23.allowAbstract, _ref23$flagUnsupporte = _ref23.flagUnsupported, flagUnsupported = _ref23$flagUnsupporte === void 0 ? false : _ref23$flagUnsupporte;
-1 9215 var roleDefinition = _standards__WEBPACK_IMPORTED_MODULE_0__['default'].ariaRoles[role];
-1 9216 var isRoleUnsupported = Object(_is_unsupported_role__WEBPACK_IMPORTED_MODULE_1__['default'])(role);
-1 9217 if (!roleDefinition || flagUnsupported && isRoleUnsupported) {
-1 9218 return false;
10679 9219 }
10680 -1 } while (sibling);
10681 -1 }
10682 -1 if (node.nodeType === 1) {
10683 -1 var element = {};
10684 -1 element.str = node.nodeName.toLowerCase();
10685 -1 var id = node.getAttribute && axe.utils.escapeSelector(node.getAttribute('id'));
10686 -1 if (id && node.ownerDocument.querySelectorAll('#' + id).length === 1) {
10687 -1 element.id = node.getAttribute('id');
10688 -1 }
10689 -1 if (count > 1) {
10690 -1 element.count = count;
10691 -1 }
10692 -1 path.push(element);
10693 -1 }
10694 -1 return path;
10695 -1 }
10696 -1 function xpathToString(xpathArray) {
10697 -1 return xpathArray.reduce(function(str, elm) {
10698 -1 if (elm.id) {
10699 -1 return '/' + elm.str + '[@id=\'' + elm.id + '\']';
10700 -1 } else {
10701 -1 return str + ('/' + elm.str) + (elm.count > 0 ? '[' + elm.count + ']' : '');
10702 -1 }
10703 -1 }, '');
10704 -1 }
10705 -1 axe.utils.getXpath = function getXpath(node) {
10706 -1 var xpathArray = getXPathArray(node);
10707 -1 return xpathToString(xpathArray);
10708 -1 };
10709 -1 'use strict';
10710 -1 var styleSheet;
10711 -1 function injectStyle(style) {
10712 -1 'use strict';
10713 -1 if (styleSheet && styleSheet.parentNode) {
10714 -1 if (styleSheet.styleSheet === undefined) {
10715 -1 styleSheet.appendChild(document.createTextNode(style));
10716 -1 } else {
10717 -1 styleSheet.styleSheet.cssText += style;
10718 -1 }
10719 -1 return styleSheet;
10720 -1 }
10721 -1 if (!style) {
10722 -1 return;
10723 -1 }
10724 -1 var head = document.head || document.getElementsByTagName('head')[0];
10725 -1 styleSheet = document.createElement('style');
10726 -1 styleSheet.type = 'text/css';
10727 -1 if (styleSheet.styleSheet === undefined) {
10728 -1 styleSheet.appendChild(document.createTextNode(style));
10729 -1 } else {
10730 -1 styleSheet.styleSheet.cssText = style;
10731 -1 }
10732 -1 head.appendChild(styleSheet);
10733 -1 return styleSheet;
10734 -1 }
10735 -1 axe.utils.injectStyle = injectStyle;
10736 -1 'use strict';
10737 -1 axe.utils.isHidden = function isHidden(el, recursed) {
10738 -1 'use strict';
10739 -1 var parent;
10740 -1 if (el.nodeType === 9) {
10741 -1 return false;
10742 -1 }
10743 -1 if (el.nodeType === 11) {
10744 -1 el = el.host;
10745 -1 }
10746 -1 var style = window.getComputedStyle(el, null);
10747 -1 if (!style || !el.parentNode || style.getPropertyValue('display') === 'none' || !recursed && style.getPropertyValue('visibility') === 'hidden' || el.getAttribute('aria-hidden') === 'true') {
10748 -1 return true;
10749 -1 }
10750 -1 parent = el.assignedSlot ? el.assignedSlot : el.parentNode;
10751 -1 return axe.utils.isHidden(parent, true);
10752 -1 };
10753 -1 'use strict';
10754 -1 var htmlTags = [ 'a', 'abbr', 'address', 'area', 'article', 'aside', 'audio', 'b', 'base', 'bdi', 'bdo', 'blockquote', 'body', 'br', 'button', 'canvas', 'caption', 'cite', 'code', 'col', 'colgroup', 'data', 'datalist', 'dd', 'del', 'details', 'dfn', 'dialog', 'div', 'dl', 'dt', 'em', 'embed', 'fieldset', 'figcaption', 'figure', 'footer', 'form', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'head', 'header', 'hgroup', 'hr', 'html', 'i', 'iframe', 'img', 'input', 'ins', 'kbd', 'keygen', 'label', 'legend', 'li', 'link', 'main', 'map', 'mark', 'math', 'menu', 'menuitem', 'meta', 'meter', 'nav', 'noscript', 'object', 'ol', 'optgroup', 'option', 'output', 'p', 'param', 'picture', 'pre', 'progress', 'q', 'rb', 'rp', 'rt', 'rtc', 'ruby', 's', 'samp', 'script', 'section', 'select', 'slot', 'small', 'source', 'span', 'strong', 'style', 'sub', 'summary', 'sup', 'svg', 'table', 'tbody', 'td', 'template', 'textarea', 'tfoot', 'th', 'thead', 'time', 'title', 'tr', 'track', 'u', 'ul', 'var', 'video', 'wbr' ];
10755 -1 axe.utils.isHtmlElement = function isHtmlElement(node) {
10756 -1 var tagName = node.nodeName.toLowerCase();
10757 -1 return htmlTags.includes(tagName) && node.namespaceURI !== 'http://www.w3.org/2000/svg';
10758 -1 };
10759 -1 'use strict';
10760 -1 var possibleShadowRoots = [ 'article', 'aside', 'blockquote', 'body', 'div', 'footer', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'header', 'main', 'nav', 'p', 'section', 'span' ];
10761 -1 axe.utils.isShadowRoot = function isShadowRoot(node) {
10762 -1 var nodeName = node.nodeName.toLowerCase();
10763 -1 if (node.shadowRoot) {
10764 -1 if (/^[a-z][a-z0-9_.-]*-[a-z0-9_.-]*$/.test(nodeName) || possibleShadowRoots.includes(nodeName)) {
10765 -1 return true;
10766 -1 }
10767 -1 }
10768 -1 return false;
10769 -1 };
10770 -1 'use strict';
10771 -1 axe.utils.isXHTML = function(doc) {
10772 -1 'use strict';
10773 -1 if (!doc.createElement) {
10774 -1 return false;
10775 -1 }
10776 -1 return doc.createElement('A').localName === 'A';
10777 -1 };
10778 -1 'use strict';
10779 -1 function pushFrame(resultSet, options, frameElement, frameSelector) {
10780 -1 'use strict';
10781 -1 var frameXpath = axe.utils.getXpath(frameElement);
10782 -1 var frameSpec = {
10783 -1 element: frameElement,
10784 -1 selector: frameSelector,
10785 -1 xpath: frameXpath
10786 -1 };
10787 -1 resultSet.forEach(function(res) {
10788 -1 res.node = axe.utils.DqElement.fromFrame(res.node, options, frameSpec);
10789 -1 var checks = axe.utils.getAllChecks(res);
10790 -1 if (checks.length) {
10791 -1 checks.forEach(function(check) {
10792 -1 check.relatedNodes = check.relatedNodes.map(function(node) {
10793 -1 return axe.utils.DqElement.fromFrame(node, options, frameSpec);
10794 -1 });
10795 -1 });
10796 -1 }
10797 -1 });
10798 -1 }
10799 -1 function spliceNodes(target, to) {
10800 -1 'use strict';
10801 -1 var firstFromFrame = to[0].node, sorterResult, t;
10802 -1 for (var i = 0, l = target.length; i < l; i++) {
10803 -1 t = target[i].node;
10804 -1 sorterResult = axe.utils.nodeSorter({
10805 -1 actualNode: t.element
10806 -1 }, {
10807 -1 actualNode: firstFromFrame.element
10808 -1 });
10809 -1 if (sorterResult > 0 || sorterResult === 0 && firstFromFrame.selector.length < t.selector.length) {
10810 -1 target.splice.apply(target, [ i, 0 ].concat(to));
10811 -1 return;
-1 9220 return allowAbstract ? true : roleDefinition.type !== 'abstract';
10812 9221 }
10813 -1 }
10814 -1 target.push.apply(target, to);
10815 -1 }
10816 -1 function normalizeResult(result) {
10817 -1 'use strict';
10818 -1 if (!result || !result.results) {
10819 -1 return null;
10820 -1 }
10821 -1 if (!Array.isArray(result.results)) {
10822 -1 return [ result.results ];
10823 -1 }
10824 -1 if (!result.results.length) {
10825 -1 return null;
10826 -1 }
10827 -1 return result.results;
10828 -1 }
10829 -1 axe.utils.mergeResults = function mergeResults(frameResults, options) {
10830 -1 'use strict';
10831 -1 var result = [];
10832 -1 frameResults.forEach(function(frameResult) {
10833 -1 var results = normalizeResult(frameResult);
10834 -1 if (!results || !results.length) {
10835 -1 return;
10836 -1 }
10837 -1 results.forEach(function(ruleResult) {
10838 -1 if (ruleResult.nodes && frameResult.frame) {
10839 -1 pushFrame(ruleResult.nodes, options, frameResult.frameElement, frameResult.frame);
10840 -1 }
10841 -1 var res = axe.utils.findBy(result, 'id', ruleResult.id);
10842 -1 if (!res) {
10843 -1 result.push(ruleResult);
10844 -1 } else {
10845 -1 if (ruleResult.nodes.length) {
10846 -1 spliceNodes(res.nodes, ruleResult.nodes);
-1 9222 __webpack_exports__['default'] = isValidRole;
-1 9223 },
-1 9224 './lib/commons/aria/label-virtual.js': function libCommonsAriaLabelVirtualJs(module, __webpack_exports__, __webpack_require__) {
-1 9225 'use strict';
-1 9226 __webpack_require__.r(__webpack_exports__);
-1 9227 var _dom_idrefs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/dom/idrefs.js');
-1 9228 var _text_visible_virtual__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/commons/text/visible-virtual.js');
-1 9229 var _text_sanitize__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__('./lib/commons/text/sanitize.js');
-1 9230 var _core_utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__('./lib/core/utils/index.js');
-1 9231 function labelVirtual(virtualNode) {
-1 9232 var ref, candidate;
-1 9233 if (virtualNode.attr('aria-labelledby')) {
-1 9234 ref = Object(_dom_idrefs__WEBPACK_IMPORTED_MODULE_0__['default'])(virtualNode.actualNode, 'aria-labelledby');
-1 9235 candidate = ref.map(function(thing) {
-1 9236 var vNode = Object(_core_utils__WEBPACK_IMPORTED_MODULE_3__['getNodeFromTree'])(thing);
-1 9237 return vNode ? Object(_text_visible_virtual__WEBPACK_IMPORTED_MODULE_1__['default'])(vNode, true) : '';
-1 9238 }).join(' ').trim();
-1 9239 if (candidate) {
-1 9240 return candidate;
10847 9241 }
10848 9242 }
10849 -1 });
10850 -1 });
10851 -1 return result;
10852 -1 };
10853 -1 'use strict';
10854 -1 axe.utils.nodeSorter = function nodeSorter(nodeA, nodeB) {
10855 -1 nodeA = nodeA.actualNode || nodeA;
10856 -1 nodeB = nodeB.actualNode || nodeB;
10857 -1 if (nodeA === nodeB) {
10858 -1 return 0;
10859 -1 }
10860 -1 if (nodeA.compareDocumentPosition(nodeB) & 4) {
10861 -1 return -1;
10862 -1 } else {
10863 -1 return 1;
10864 -1 }
10865 -1 };
10866 -1 'use strict';
10867 -1 utils.performanceTimer = function() {
10868 -1 'use strict';
10869 -1 function now() {
10870 -1 if (window.performance && window.performance) {
10871 -1 return window.performance.now();
-1 9243 candidate = virtualNode.attr('aria-label');
-1 9244 if (candidate) {
-1 9245 candidate = Object(_text_sanitize__WEBPACK_IMPORTED_MODULE_2__['default'])(candidate).trim();
-1 9246 if (candidate) {
-1 9247 return candidate;
-1 9248 }
-1 9249 }
-1 9250 return null;
10872 9251 }
10873 -1 }
10874 -1 var originalTime = null;
10875 -1 var lastRecordedTime = now();
10876 -1 return {
10877 -1 start: function start() {
10878 -1 this.mark('mark_axe_start');
10879 -1 },
10880 -1 end: function end() {
10881 -1 this.mark('mark_axe_end');
10882 -1 this.measure('axe', 'mark_axe_start', 'mark_axe_end');
10883 -1 this.logMeasures('axe');
10884 -1 },
10885 -1 auditStart: function auditStart() {
10886 -1 this.mark('mark_audit_start');
10887 -1 },
10888 -1 auditEnd: function auditEnd() {
10889 -1 this.mark('mark_audit_end');
10890 -1 this.measure('audit_start_to_end', 'mark_audit_start', 'mark_audit_end');
10891 -1 this.logMeasures();
10892 -1 },
10893 -1 mark: function mark(markName) {
10894 -1 if (window.performance && window.performance.mark !== undefined) {
10895 -1 window.performance.mark(markName);
-1 9252 __webpack_exports__['default'] = labelVirtual;
-1 9253 },
-1 9254 './lib/commons/aria/label.js': function libCommonsAriaLabelJs(module, __webpack_exports__, __webpack_require__) {
-1 9255 'use strict';
-1 9256 __webpack_require__.r(__webpack_exports__);
-1 9257 var _label_virtual__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/aria/label-virtual.js');
-1 9258 var _core_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/core/utils/index.js');
-1 9259 function label(node) {
-1 9260 node = Object(_core_utils__WEBPACK_IMPORTED_MODULE_1__['getNodeFromTree'])(node);
-1 9261 return Object(_label_virtual__WEBPACK_IMPORTED_MODULE_0__['default'])(node);
-1 9262 }
-1 9263 __webpack_exports__['default'] = label;
-1 9264 },
-1 9265 './lib/commons/aria/lookup-table.js': function libCommonsAriaLookupTableJs(module, __webpack_exports__, __webpack_require__) {
-1 9266 'use strict';
-1 9267 __webpack_require__.r(__webpack_exports__);
-1 9268 var _standards_implicit_html_roles__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/standards/implicit-html-roles.js');
-1 9269 var isNull = function isNull(value) {
-1 9270 return value === null;
-1 9271 };
-1 9272 var isNotNull = function isNotNull(value) {
-1 9273 return value !== null;
-1 9274 };
-1 9275 var lookupTable = {};
-1 9276 lookupTable.attributes = {
-1 9277 'aria-activedescendant': {
-1 9278 type: 'idref',
-1 9279 allowEmpty: true,
-1 9280 unsupported: false
-1 9281 },
-1 9282 'aria-atomic': {
-1 9283 type: 'boolean',
-1 9284 values: [ 'true', 'false' ],
-1 9285 unsupported: false
-1 9286 },
-1 9287 'aria-autocomplete': {
-1 9288 type: 'nmtoken',
-1 9289 values: [ 'inline', 'list', 'both', 'none' ],
-1 9290 unsupported: false
-1 9291 },
-1 9292 'aria-busy': {
-1 9293 type: 'boolean',
-1 9294 values: [ 'true', 'false' ],
-1 9295 unsupported: false
-1 9296 },
-1 9297 'aria-checked': {
-1 9298 type: 'nmtoken',
-1 9299 values: [ 'true', 'false', 'mixed', 'undefined' ],
-1 9300 unsupported: false
-1 9301 },
-1 9302 'aria-colcount': {
-1 9303 type: 'int',
-1 9304 unsupported: false
-1 9305 },
-1 9306 'aria-colindex': {
-1 9307 type: 'int',
-1 9308 unsupported: false
-1 9309 },
-1 9310 'aria-colspan': {
-1 9311 type: 'int',
-1 9312 unsupported: false
-1 9313 },
-1 9314 'aria-controls': {
-1 9315 type: 'idrefs',
-1 9316 allowEmpty: true,
-1 9317 unsupported: false
-1 9318 },
-1 9319 'aria-current': {
-1 9320 type: 'nmtoken',
-1 9321 allowEmpty: true,
-1 9322 values: [ 'page', 'step', 'location', 'date', 'time', 'true', 'false' ],
-1 9323 unsupported: false
-1 9324 },
-1 9325 'aria-describedby': {
-1 9326 type: 'idrefs',
-1 9327 allowEmpty: true,
-1 9328 unsupported: false
-1 9329 },
-1 9330 'aria-describedat': {
-1 9331 unsupported: true,
-1 9332 unstandardized: true
-1 9333 },
-1 9334 'aria-details': {
-1 9335 type: 'idref',
-1 9336 allowEmpty: true,
-1 9337 unsupported: false
-1 9338 },
-1 9339 'aria-disabled': {
-1 9340 type: 'boolean',
-1 9341 values: [ 'true', 'false' ],
-1 9342 unsupported: false
-1 9343 },
-1 9344 'aria-dropeffect': {
-1 9345 type: 'nmtokens',
-1 9346 values: [ 'copy', 'move', 'reference', 'execute', 'popup', 'none' ],
-1 9347 unsupported: false
-1 9348 },
-1 9349 'aria-errormessage': {
-1 9350 type: 'idref',
-1 9351 allowEmpty: true,
-1 9352 unsupported: false
-1 9353 },
-1 9354 'aria-expanded': {
-1 9355 type: 'nmtoken',
-1 9356 values: [ 'true', 'false', 'undefined' ],
-1 9357 unsupported: false
-1 9358 },
-1 9359 'aria-flowto': {
-1 9360 type: 'idrefs',
-1 9361 allowEmpty: true,
-1 9362 unsupported: false
-1 9363 },
-1 9364 'aria-grabbed': {
-1 9365 type: 'nmtoken',
-1 9366 values: [ 'true', 'false', 'undefined' ],
-1 9367 unsupported: false
-1 9368 },
-1 9369 'aria-haspopup': {
-1 9370 type: 'nmtoken',
-1 9371 allowEmpty: true,
-1 9372 values: [ 'true', 'false', 'menu', 'listbox', 'tree', 'grid', 'dialog' ],
-1 9373 unsupported: false
-1 9374 },
-1 9375 'aria-hidden': {
-1 9376 type: 'boolean',
-1 9377 values: [ 'true', 'false' ],
-1 9378 unsupported: false
-1 9379 },
-1 9380 'aria-invalid': {
-1 9381 type: 'nmtoken',
-1 9382 allowEmpty: true,
-1 9383 values: [ 'true', 'false', 'spelling', 'grammar' ],
-1 9384 unsupported: false
-1 9385 },
-1 9386 'aria-keyshortcuts': {
-1 9387 type: 'string',
-1 9388 allowEmpty: true,
-1 9389 unsupported: false
-1 9390 },
-1 9391 'aria-label': {
-1 9392 type: 'string',
-1 9393 allowEmpty: true,
-1 9394 unsupported: false
-1 9395 },
-1 9396 'aria-labelledby': {
-1 9397 type: 'idrefs',
-1 9398 allowEmpty: true,
-1 9399 unsupported: false
-1 9400 },
-1 9401 'aria-level': {
-1 9402 type: 'int',
-1 9403 unsupported: false
-1 9404 },
-1 9405 'aria-live': {
-1 9406 type: 'nmtoken',
-1 9407 values: [ 'off', 'polite', 'assertive' ],
-1 9408 unsupported: false
-1 9409 },
-1 9410 'aria-modal': {
-1 9411 type: 'boolean',
-1 9412 values: [ 'true', 'false' ],
-1 9413 unsupported: false
-1 9414 },
-1 9415 'aria-multiline': {
-1 9416 type: 'boolean',
-1 9417 values: [ 'true', 'false' ],
-1 9418 unsupported: false
-1 9419 },
-1 9420 'aria-multiselectable': {
-1 9421 type: 'boolean',
-1 9422 values: [ 'true', 'false' ],
-1 9423 unsupported: false
-1 9424 },
-1 9425 'aria-orientation': {
-1 9426 type: 'nmtoken',
-1 9427 values: [ 'horizontal', 'vertical' ],
-1 9428 unsupported: false
-1 9429 },
-1 9430 'aria-owns': {
-1 9431 type: 'idrefs',
-1 9432 allowEmpty: true,
-1 9433 unsupported: false
-1 9434 },
-1 9435 'aria-placeholder': {
-1 9436 type: 'string',
-1 9437 allowEmpty: true,
-1 9438 unsupported: false
-1 9439 },
-1 9440 'aria-posinset': {
-1 9441 type: 'int',
-1 9442 unsupported: false
-1 9443 },
-1 9444 'aria-pressed': {
-1 9445 type: 'nmtoken',
-1 9446 values: [ 'true', 'false', 'mixed', 'undefined' ],
-1 9447 unsupported: false
-1 9448 },
-1 9449 'aria-readonly': {
-1 9450 type: 'boolean',
-1 9451 values: [ 'true', 'false' ],
-1 9452 unsupported: false
-1 9453 },
-1 9454 'aria-relevant': {
-1 9455 type: 'nmtokens',
-1 9456 values: [ 'additions', 'removals', 'text', 'all' ],
-1 9457 unsupported: false
-1 9458 },
-1 9459 'aria-required': {
-1 9460 type: 'boolean',
-1 9461 values: [ 'true', 'false' ],
-1 9462 unsupported: false
-1 9463 },
-1 9464 'aria-roledescription': {
-1 9465 type: 'string',
-1 9466 allowEmpty: true,
-1 9467 unsupported: false
-1 9468 },
-1 9469 'aria-rowcount': {
-1 9470 type: 'int',
-1 9471 unsupported: false
-1 9472 },
-1 9473 'aria-rowindex': {
-1 9474 type: 'int',
-1 9475 unsupported: false
-1 9476 },
-1 9477 'aria-rowspan': {
-1 9478 type: 'int',
-1 9479 unsupported: false
-1 9480 },
-1 9481 'aria-selected': {
-1 9482 type: 'nmtoken',
-1 9483 values: [ 'true', 'false', 'undefined' ],
-1 9484 unsupported: false
-1 9485 },
-1 9486 'aria-setsize': {
-1 9487 type: 'int',
-1 9488 unsupported: false
-1 9489 },
-1 9490 'aria-sort': {
-1 9491 type: 'nmtoken',
-1 9492 values: [ 'ascending', 'descending', 'other', 'none' ],
-1 9493 unsupported: false
-1 9494 },
-1 9495 'aria-valuemax': {
-1 9496 type: 'decimal',
-1 9497 unsupported: false
-1 9498 },
-1 9499 'aria-valuemin': {
-1 9500 type: 'decimal',
-1 9501 unsupported: false
-1 9502 },
-1 9503 'aria-valuenow': {
-1 9504 type: 'decimal',
-1 9505 unsupported: false
-1 9506 },
-1 9507 'aria-valuetext': {
-1 9508 type: 'string',
-1 9509 unsupported: false
-1 9510 }
-1 9511 };
-1 9512 lookupTable.globalAttributes = [ 'aria-atomic', 'aria-busy', 'aria-controls', 'aria-current', 'aria-describedby', 'aria-details', 'aria-disabled', 'aria-dropeffect', 'aria-flowto', 'aria-grabbed', 'aria-haspopup', 'aria-hidden', 'aria-invalid', 'aria-keyshortcuts', 'aria-label', 'aria-labelledby', 'aria-live', 'aria-owns', 'aria-relevant', 'aria-roledescription' ];
-1 9513 lookupTable.role = {
-1 9514 alert: {
-1 9515 type: 'widget',
-1 9516 attributes: {
-1 9517 allowed: [ 'aria-expanded', 'aria-errormessage' ]
-1 9518 },
-1 9519 owned: null,
-1 9520 nameFrom: [ 'author' ],
-1 9521 context: null,
-1 9522 unsupported: false,
-1 9523 allowedElements: [ 'section' ]
-1 9524 },
-1 9525 alertdialog: {
-1 9526 type: 'widget',
-1 9527 attributes: {
-1 9528 allowed: [ 'aria-expanded', 'aria-modal', 'aria-errormessage' ]
-1 9529 },
-1 9530 owned: null,
-1 9531 nameFrom: [ 'author' ],
-1 9532 context: null,
-1 9533 unsupported: false,
-1 9534 allowedElements: [ 'dialog', 'section' ]
-1 9535 },
-1 9536 application: {
-1 9537 type: 'landmark',
-1 9538 attributes: {
-1 9539 allowed: [ 'aria-expanded', 'aria-errormessage', 'aria-activedescendant' ]
-1 9540 },
-1 9541 owned: null,
-1 9542 nameFrom: [ 'author' ],
-1 9543 context: null,
-1 9544 unsupported: false,
-1 9545 allowedElements: [ 'article', 'audio', 'embed', 'iframe', 'object', 'section', 'svg', 'video' ]
-1 9546 },
-1 9547 article: {
-1 9548 type: 'structure',
-1 9549 attributes: {
-1 9550 allowed: [ 'aria-expanded', 'aria-posinset', 'aria-setsize', 'aria-errormessage' ]
-1 9551 },
-1 9552 owned: null,
-1 9553 nameFrom: [ 'author' ],
-1 9554 context: null,
-1 9555 implicit: [ 'article' ],
-1 9556 unsupported: false
-1 9557 },
-1 9558 banner: {
-1 9559 type: 'landmark',
-1 9560 attributes: {
-1 9561 allowed: [ 'aria-expanded', 'aria-errormessage' ]
-1 9562 },
-1 9563 owned: null,
-1 9564 nameFrom: [ 'author' ],
-1 9565 context: null,
-1 9566 implicit: [ 'header' ],
-1 9567 unsupported: false,
-1 9568 allowedElements: [ 'section' ]
-1 9569 },
-1 9570 button: {
-1 9571 type: 'widget',
-1 9572 attributes: {
-1 9573 allowed: [ 'aria-expanded', 'aria-pressed', 'aria-errormessage' ]
-1 9574 },
-1 9575 owned: null,
-1 9576 nameFrom: [ 'author', 'contents' ],
-1 9577 context: null,
-1 9578 implicit: [ 'button', 'input[type="button"]', 'input[type="image"]', 'input[type="reset"]', 'input[type="submit"]', 'summary' ],
-1 9579 unsupported: false,
-1 9580 allowedElements: [ {
-1 9581 nodeName: 'a',
-1 9582 attributes: {
-1 9583 href: isNotNull
-1 9584 }
-1 9585 } ]
-1 9586 },
-1 9587 cell: {
-1 9588 type: 'structure',
-1 9589 attributes: {
-1 9590 allowed: [ 'aria-colindex', 'aria-colspan', 'aria-rowindex', 'aria-rowspan', 'aria-errormessage' ]
-1 9591 },
-1 9592 owned: null,
-1 9593 nameFrom: [ 'author', 'contents' ],
-1 9594 context: [ 'row' ],
-1 9595 implicit: [ 'td', 'th' ],
-1 9596 unsupported: false
-1 9597 },
-1 9598 checkbox: {
-1 9599 type: 'widget',
-1 9600 attributes: {
-1 9601 allowed: [ 'aria-checked', 'aria-required', 'aria-readonly', 'aria-errormessage' ]
-1 9602 },
-1 9603 owned: null,
-1 9604 nameFrom: [ 'author', 'contents' ],
-1 9605 context: null,
-1 9606 implicit: [ 'input[type="checkbox"]' ],
-1 9607 unsupported: false,
-1 9608 allowedElements: [ 'button' ]
-1 9609 },
-1 9610 columnheader: {
-1 9611 type: 'structure',
-1 9612 attributes: {
-1 9613 allowed: [ 'aria-colindex', 'aria-colspan', 'aria-expanded', 'aria-rowindex', 'aria-rowspan', 'aria-required', 'aria-readonly', 'aria-selected', 'aria-sort', 'aria-errormessage' ]
-1 9614 },
-1 9615 owned: null,
-1 9616 nameFrom: [ 'author', 'contents' ],
-1 9617 context: [ 'row' ],
-1 9618 implicit: [ 'th' ],
-1 9619 unsupported: false
-1 9620 },
-1 9621 combobox: {
-1 9622 type: 'composite',
-1 9623 attributes: {
-1 9624 allowed: [ 'aria-autocomplete', 'aria-required', 'aria-activedescendant', 'aria-orientation', 'aria-errormessage' ],
-1 9625 required: [ 'aria-expanded' ]
-1 9626 },
-1 9627 owned: {
-1 9628 all: [ 'listbox', 'tree', 'grid', 'dialog', 'textbox' ]
-1 9629 },
-1 9630 nameFrom: [ 'author' ],
-1 9631 context: null,
-1 9632 unsupported: false,
-1 9633 allowedElements: [ {
-1 9634 nodeName: 'input',
-1 9635 properties: {
-1 9636 type: [ 'text', 'search', 'tel', 'url', 'email' ]
-1 9637 }
-1 9638 } ]
-1 9639 },
-1 9640 command: {
-1 9641 nameFrom: [ 'author' ],
-1 9642 type: 'abstract',
-1 9643 unsupported: false
-1 9644 },
-1 9645 complementary: {
-1 9646 type: 'landmark',
-1 9647 attributes: {
-1 9648 allowed: [ 'aria-expanded', 'aria-errormessage' ]
-1 9649 },
-1 9650 owned: null,
-1 9651 nameFrom: [ 'author' ],
-1 9652 context: null,
-1 9653 implicit: [ 'aside' ],
-1 9654 unsupported: false,
-1 9655 allowedElements: [ 'section' ]
-1 9656 },
-1 9657 composite: {
-1 9658 nameFrom: [ 'author' ],
-1 9659 type: 'abstract',
-1 9660 unsupported: false
-1 9661 },
-1 9662 contentinfo: {
-1 9663 type: 'landmark',
-1 9664 attributes: {
-1 9665 allowed: [ 'aria-expanded', 'aria-errormessage' ]
-1 9666 },
-1 9667 owned: null,
-1 9668 nameFrom: [ 'author' ],
-1 9669 context: null,
-1 9670 implicit: [ 'footer' ],
-1 9671 unsupported: false,
-1 9672 allowedElements: [ 'section' ]
-1 9673 },
-1 9674 definition: {
-1 9675 type: 'structure',
-1 9676 attributes: {
-1 9677 allowed: [ 'aria-expanded', 'aria-errormessage' ]
-1 9678 },
-1 9679 owned: null,
-1 9680 nameFrom: [ 'author' ],
-1 9681 context: null,
-1 9682 implicit: [ 'dd', 'dfn' ],
-1 9683 unsupported: false
-1 9684 },
-1 9685 dialog: {
-1 9686 type: 'widget',
-1 9687 attributes: {
-1 9688 allowed: [ 'aria-expanded', 'aria-modal', 'aria-errormessage' ]
-1 9689 },
-1 9690 owned: null,
-1 9691 nameFrom: [ 'author' ],
-1 9692 context: null,
-1 9693 implicit: [ 'dialog' ],
-1 9694 unsupported: false,
-1 9695 allowedElements: [ 'section' ]
-1 9696 },
-1 9697 directory: {
-1 9698 type: 'structure',
-1 9699 attributes: {
-1 9700 allowed: [ 'aria-expanded', 'aria-errormessage' ]
-1 9701 },
-1 9702 owned: null,
-1 9703 nameFrom: [ 'author', 'contents' ],
-1 9704 context: null,
-1 9705 unsupported: false,
-1 9706 allowedElements: [ 'ol', 'ul' ]
-1 9707 },
-1 9708 document: {
-1 9709 type: 'structure',
-1 9710 attributes: {
-1 9711 allowed: [ 'aria-expanded', 'aria-errormessage' ]
-1 9712 },
-1 9713 owned: null,
-1 9714 nameFrom: [ 'author' ],
-1 9715 context: null,
-1 9716 implicit: [ 'body' ],
-1 9717 unsupported: false,
-1 9718 allowedElements: [ 'article', 'embed', 'iframe', 'object', 'section', 'svg' ]
-1 9719 },
-1 9720 'doc-abstract': {
-1 9721 type: 'section',
-1 9722 attributes: {
-1 9723 allowed: [ 'aria-expanded', 'aria-errormessage' ]
-1 9724 },
-1 9725 owned: null,
-1 9726 nameFrom: [ 'author' ],
-1 9727 context: null,
-1 9728 unsupported: false,
-1 9729 allowedElements: [ 'section' ]
-1 9730 },
-1 9731 'doc-acknowledgments': {
-1 9732 type: 'landmark',
-1 9733 attributes: {
-1 9734 allowed: [ 'aria-expanded', 'aria-errormessage' ]
-1 9735 },
-1 9736 owned: null,
-1 9737 nameFrom: [ 'author' ],
-1 9738 context: null,
-1 9739 unsupported: false,
-1 9740 allowedElements: [ 'section' ]
-1 9741 },
-1 9742 'doc-afterword': {
-1 9743 type: 'landmark',
-1 9744 attributes: {
-1 9745 allowed: [ 'aria-expanded', 'aria-errormessage' ]
-1 9746 },
-1 9747 owned: null,
-1 9748 nameFrom: [ 'author' ],
-1 9749 context: null,
-1 9750 unsupported: false,
-1 9751 allowedElements: [ 'section' ]
-1 9752 },
-1 9753 'doc-appendix': {
-1 9754 type: 'landmark',
-1 9755 attributes: {
-1 9756 allowed: [ 'aria-expanded', 'aria-errormessage' ]
-1 9757 },
-1 9758 owned: null,
-1 9759 nameFrom: [ 'author' ],
-1 9760 context: null,
-1 9761 unsupported: false,
-1 9762 allowedElements: [ 'section' ]
-1 9763 },
-1 9764 'doc-backlink': {
-1 9765 type: 'link',
-1 9766 attributes: {
-1 9767 allowed: [ 'aria-expanded', 'aria-errormessage' ]
-1 9768 },
-1 9769 owned: null,
-1 9770 nameFrom: [ 'author', 'contents' ],
-1 9771 context: null,
-1 9772 unsupported: false,
-1 9773 allowedElements: [ {
-1 9774 nodeName: 'a',
-1 9775 attributes: {
-1 9776 href: isNotNull
-1 9777 }
-1 9778 } ]
-1 9779 },
-1 9780 'doc-biblioentry': {
-1 9781 type: 'listitem',
-1 9782 attributes: {
-1 9783 allowed: [ 'aria-expanded', 'aria-level', 'aria-posinset', 'aria-setsize', 'aria-errormessage' ]
-1 9784 },
-1 9785 owned: null,
-1 9786 nameFrom: [ 'author' ],
-1 9787 context: [ 'doc-bibliography' ],
-1 9788 unsupported: false,
-1 9789 allowedElements: [ 'li' ]
-1 9790 },
-1 9791 'doc-bibliography': {
-1 9792 type: 'landmark',
-1 9793 attributes: {
-1 9794 allowed: [ 'aria-expanded', 'aria-errormessage' ]
-1 9795 },
-1 9796 owned: {
-1 9797 one: [ 'doc-biblioentry' ]
-1 9798 },
-1 9799 nameFrom: [ 'author' ],
-1 9800 context: null,
-1 9801 unsupported: false,
-1 9802 allowedElements: [ 'section' ]
-1 9803 },
-1 9804 'doc-biblioref': {
-1 9805 type: 'link',
-1 9806 attributes: {
-1 9807 allowed: [ 'aria-expanded', 'aria-errormessage' ]
-1 9808 },
-1 9809 owned: null,
-1 9810 nameFrom: [ 'author', 'contents' ],
-1 9811 context: null,
-1 9812 unsupported: false,
-1 9813 allowedElements: [ {
-1 9814 nodeName: 'a',
-1 9815 attributes: {
-1 9816 href: isNotNull
-1 9817 }
-1 9818 } ]
-1 9819 },
-1 9820 'doc-chapter': {
-1 9821 type: 'landmark',
-1 9822 attributes: {
-1 9823 allowed: [ 'aria-expanded', 'aria-errormessage' ]
-1 9824 },
-1 9825 owned: null,
-1 9826 namefrom: [ 'author' ],
-1 9827 context: null,
-1 9828 unsupported: false,
-1 9829 allowedElements: [ 'section' ]
-1 9830 },
-1 9831 'doc-colophon': {
-1 9832 type: 'section',
-1 9833 attributes: {
-1 9834 allowed: [ 'aria-expanded', 'aria-errormessage' ]
-1 9835 },
-1 9836 owned: null,
-1 9837 namefrom: [ 'author' ],
-1 9838 context: null,
-1 9839 unsupported: false,
-1 9840 allowedElements: [ 'section' ]
-1 9841 },
-1 9842 'doc-conclusion': {
-1 9843 type: 'landmark',
-1 9844 attributes: {
-1 9845 allowed: [ 'aria-expanded', 'aria-errormessage' ]
-1 9846 },
-1 9847 owned: null,
-1 9848 namefrom: [ 'author' ],
-1 9849 context: null,
-1 9850 unsupported: false,
-1 9851 allowedElements: [ 'section' ]
-1 9852 },
-1 9853 'doc-cover': {
-1 9854 type: 'img',
-1 9855 attributes: {
-1 9856 allowed: [ 'aria-expanded', 'aria-errormessage' ]
-1 9857 },
-1 9858 owned: null,
-1 9859 namefrom: [ 'author' ],
-1 9860 context: null,
-1 9861 unsupported: false
-1 9862 },
-1 9863 'doc-credit': {
-1 9864 type: 'section',
-1 9865 attributes: {
-1 9866 allowed: [ 'aria-expanded', 'aria-errormessage' ]
-1 9867 },
-1 9868 owned: null,
-1 9869 namefrom: [ 'author' ],
-1 9870 context: null,
-1 9871 unsupported: false,
-1 9872 allowedElements: [ 'section' ]
-1 9873 },
-1 9874 'doc-credits': {
-1 9875 type: 'landmark',
-1 9876 attributes: {
-1 9877 allowed: [ 'aria-expanded', 'aria-errormessage' ]
-1 9878 },
-1 9879 owned: null,
-1 9880 namefrom: [ 'author' ],
-1 9881 context: null,
-1 9882 unsupported: false,
-1 9883 allowedElements: [ 'section' ]
-1 9884 },
-1 9885 'doc-dedication': {
-1 9886 type: 'section',
-1 9887 attributes: {
-1 9888 allowed: [ 'aria-expanded', 'aria-errormessage' ]
-1 9889 },
-1 9890 owned: null,
-1 9891 namefrom: [ 'author' ],
-1 9892 context: null,
-1 9893 unsupported: false,
-1 9894 allowedElements: [ 'section' ]
-1 9895 },
-1 9896 'doc-endnote': {
-1 9897 type: 'listitem',
-1 9898 attributes: {
-1 9899 allowed: [ 'aria-expanded', 'aria-level', 'aria-posinset', 'aria-setsize', 'aria-errormessage' ]
-1 9900 },
-1 9901 owned: null,
-1 9902 namefrom: [ 'author' ],
-1 9903 context: [ 'doc-endnotes' ],
-1 9904 unsupported: false,
-1 9905 allowedElements: [ 'li' ]
-1 9906 },
-1 9907 'doc-endnotes': {
-1 9908 type: 'landmark',
-1 9909 attributes: {
-1 9910 allowed: [ 'aria-expanded', 'aria-errormessage' ]
-1 9911 },
-1 9912 owned: {
-1 9913 one: [ 'doc-endnote' ]
-1 9914 },
-1 9915 namefrom: [ 'author' ],
-1 9916 context: null,
-1 9917 unsupported: false,
-1 9918 allowedElements: [ 'section' ]
-1 9919 },
-1 9920 'doc-epigraph': {
-1 9921 type: 'section',
-1 9922 attributes: {
-1 9923 allowed: [ 'aria-expanded', 'aria-errormessage' ]
-1 9924 },
-1 9925 owned: null,
-1 9926 namefrom: [ 'author' ],
-1 9927 context: null,
-1 9928 unsupported: false
-1 9929 },
-1 9930 'doc-epilogue': {
-1 9931 type: 'landmark',
-1 9932 attributes: {
-1 9933 allowed: [ 'aria-expanded', 'aria-errormessage' ]
-1 9934 },
-1 9935 owned: null,
-1 9936 namefrom: [ 'author' ],
-1 9937 context: null,
-1 9938 unsupported: false,
-1 9939 allowedElements: [ 'section' ]
-1 9940 },
-1 9941 'doc-errata': {
-1 9942 type: 'landmark',
-1 9943 attributes: {
-1 9944 allowed: [ 'aria-expanded', 'aria-errormessage' ]
-1 9945 },
-1 9946 owned: null,
-1 9947 namefrom: [ 'author' ],
-1 9948 context: null,
-1 9949 unsupported: false,
-1 9950 allowedElements: [ 'section' ]
-1 9951 },
-1 9952 'doc-example': {
-1 9953 type: 'section',
-1 9954 attributes: {
-1 9955 allowed: [ 'aria-expanded', 'aria-errormessage' ]
-1 9956 },
-1 9957 owned: null,
-1 9958 namefrom: [ 'author' ],
-1 9959 context: null,
-1 9960 unsupported: false,
-1 9961 allowedElements: [ 'aside', 'section' ]
-1 9962 },
-1 9963 'doc-footnote': {
-1 9964 type: 'section',
-1 9965 attributes: {
-1 9966 allowed: [ 'aria-expanded', 'aria-errormessage' ]
-1 9967 },
-1 9968 owned: null,
-1 9969 namefrom: [ 'author' ],
-1 9970 context: null,
-1 9971 unsupported: false,
-1 9972 allowedElements: [ 'aside', 'footer', 'header' ]
-1 9973 },
-1 9974 'doc-foreword': {
-1 9975 type: 'landmark',
-1 9976 attributes: {
-1 9977 allowed: [ 'aria-expanded', 'aria-errormessage' ]
-1 9978 },
-1 9979 owned: null,
-1 9980 namefrom: [ 'author' ],
-1 9981 context: null,
-1 9982 unsupported: false,
-1 9983 allowedElements: [ 'section' ]
-1 9984 },
-1 9985 'doc-glossary': {
-1 9986 type: 'landmark',
-1 9987 attributes: {
-1 9988 allowed: [ 'aria-expanded', 'aria-errormessage' ]
-1 9989 },
-1 9990 owned: [ 'term', 'definition' ],
-1 9991 namefrom: [ 'author' ],
-1 9992 context: null,
-1 9993 unsupported: false,
-1 9994 allowedElements: [ 'dl' ]
-1 9995 },
-1 9996 'doc-glossref': {
-1 9997 type: 'link',
-1 9998 attributes: {
-1 9999 allowed: [ 'aria-expanded', 'aria-errormessage' ]
-1 10000 },
-1 10001 owned: null,
-1 10002 namefrom: [ 'author', 'contents' ],
-1 10003 context: null,
-1 10004 unsupported: false,
-1 10005 allowedElements: [ {
-1 10006 nodeName: 'a',
-1 10007 attributes: {
-1 10008 href: isNotNull
-1 10009 }
-1 10010 } ]
-1 10011 },
-1 10012 'doc-index': {
-1 10013 type: 'navigation',
-1 10014 attributes: {
-1 10015 allowed: [ 'aria-expanded', 'aria-errormessage' ]
-1 10016 },
-1 10017 owned: null,
-1 10018 namefrom: [ 'author' ],
-1 10019 context: null,
-1 10020 unsupported: false,
-1 10021 allowedElements: [ 'nav', 'section' ]
-1 10022 },
-1 10023 'doc-introduction': {
-1 10024 type: 'landmark',
-1 10025 attributes: {
-1 10026 allowed: [ 'aria-expanded', 'aria-errormessage' ]
-1 10027 },
-1 10028 owned: null,
-1 10029 namefrom: [ 'author' ],
-1 10030 context: null,
-1 10031 unsupported: false,
-1 10032 allowedElements: [ 'section' ]
-1 10033 },
-1 10034 'doc-noteref': {
-1 10035 type: 'link',
-1 10036 attributes: {
-1 10037 allowed: [ 'aria-expanded' ]
-1 10038 },
-1 10039 owned: null,
-1 10040 namefrom: [ 'author', 'contents' ],
-1 10041 context: null,
-1 10042 unsupported: false,
-1 10043 allowedElements: [ {
-1 10044 nodeName: 'a',
-1 10045 attributes: {
-1 10046 href: isNotNull
-1 10047 }
-1 10048 } ]
-1 10049 },
-1 10050 'doc-notice': {
-1 10051 type: 'note',
-1 10052 attributes: {
-1 10053 allowed: [ 'aria-expanded' ]
-1 10054 },
-1 10055 owned: null,
-1 10056 namefrom: [ 'author' ],
-1 10057 context: null,
-1 10058 unsupported: false,
-1 10059 allowedElements: [ 'section' ]
-1 10060 },
-1 10061 'doc-pagebreak': {
-1 10062 type: 'separator',
-1 10063 attributes: {
-1 10064 allowed: [ 'aria-expanded' ]
-1 10065 },
-1 10066 owned: null,
-1 10067 namefrom: [ 'author' ],
-1 10068 context: null,
-1 10069 unsupported: false,
-1 10070 allowedElements: [ 'hr' ]
-1 10071 },
-1 10072 'doc-pagelist': {
-1 10073 type: 'navigation',
-1 10074 attributes: {
-1 10075 allowed: [ 'aria-expanded' ]
-1 10076 },
-1 10077 owned: null,
-1 10078 namefrom: [ 'author' ],
-1 10079 context: null,
-1 10080 unsupported: false,
-1 10081 allowedElements: [ 'nav', 'section' ]
-1 10082 },
-1 10083 'doc-part': {
-1 10084 type: 'landmark',
-1 10085 attributes: {
-1 10086 allowed: [ 'aria-expanded' ]
-1 10087 },
-1 10088 owned: null,
-1 10089 namefrom: [ 'author' ],
-1 10090 context: null,
-1 10091 unsupported: false,
-1 10092 allowedElements: [ 'section' ]
-1 10093 },
-1 10094 'doc-preface': {
-1 10095 type: 'landmark',
-1 10096 attributes: {
-1 10097 allowed: [ 'aria-expanded' ]
-1 10098 },
-1 10099 owned: null,
-1 10100 namefrom: [ 'author' ],
-1 10101 context: null,
-1 10102 unsupported: false,
-1 10103 allowedElements: [ 'section' ]
-1 10104 },
-1 10105 'doc-prologue': {
-1 10106 type: 'landmark',
-1 10107 attributes: {
-1 10108 allowed: [ 'aria-expanded', 'aria-errormessage' ]
-1 10109 },
-1 10110 owned: null,
-1 10111 namefrom: [ 'author' ],
-1 10112 context: null,
-1 10113 unsupported: false,
-1 10114 allowedElements: [ 'section' ]
-1 10115 },
-1 10116 'doc-pullquote': {
-1 10117 type: 'none',
-1 10118 attributes: {
-1 10119 allowed: [ 'aria-expanded' ]
-1 10120 },
-1 10121 owned: null,
-1 10122 namefrom: [ 'author' ],
-1 10123 context: null,
-1 10124 unsupported: false,
-1 10125 allowedElements: [ 'aside', 'section' ]
-1 10126 },
-1 10127 'doc-qna': {
-1 10128 type: 'section',
-1 10129 attributes: {
-1 10130 allowed: [ 'aria-expanded' ]
-1 10131 },
-1 10132 owned: null,
-1 10133 namefrom: [ 'author' ],
-1 10134 context: null,
-1 10135 unsupported: false,
-1 10136 allowedElements: [ 'section' ]
-1 10137 },
-1 10138 'doc-subtitle': {
-1 10139 type: 'sectionhead',
-1 10140 attributes: {
-1 10141 allowed: [ 'aria-expanded' ]
-1 10142 },
-1 10143 owned: null,
-1 10144 namefrom: [ 'author' ],
-1 10145 context: null,
-1 10146 unsupported: false,
-1 10147 allowedElements: {
-1 10148 nodeName: [ 'h1', 'h2', 'h3', 'h4', 'h5', 'h6' ]
-1 10149 }
-1 10150 },
-1 10151 'doc-tip': {
-1 10152 type: 'note',
-1 10153 attributes: {
-1 10154 allowed: [ 'aria-expanded' ]
-1 10155 },
-1 10156 owned: null,
-1 10157 namefrom: [ 'author' ],
-1 10158 context: null,
-1 10159 unsupported: false,
-1 10160 allowedElements: [ 'aside' ]
-1 10161 },
-1 10162 'doc-toc': {
-1 10163 type: 'navigation',
-1 10164 attributes: {
-1 10165 allowed: [ 'aria-expanded', 'aria-errormessage' ]
-1 10166 },
-1 10167 owned: null,
-1 10168 namefrom: [ 'author' ],
-1 10169 context: null,
-1 10170 unsupported: false,
-1 10171 allowedElements: [ 'nav', 'section' ]
-1 10172 },
-1 10173 feed: {
-1 10174 type: 'structure',
-1 10175 attributes: {
-1 10176 allowed: [ 'aria-expanded', 'aria-errormessage' ]
-1 10177 },
-1 10178 owned: {
-1 10179 one: [ 'article' ]
-1 10180 },
-1 10181 nameFrom: [ 'author' ],
-1 10182 context: null,
-1 10183 unsupported: false,
-1 10184 allowedElements: [ 'article', 'aside', 'section' ]
-1 10185 },
-1 10186 figure: {
-1 10187 type: 'structure',
-1 10188 attributes: {
-1 10189 allowed: [ 'aria-expanded', 'aria-errormessage' ]
-1 10190 },
-1 10191 owned: null,
-1 10192 nameFrom: [ 'author', 'contents' ],
-1 10193 context: null,
-1 10194 implicit: [ 'figure' ],
-1 10195 unsupported: false
-1 10196 },
-1 10197 form: {
-1 10198 type: 'landmark',
-1 10199 attributes: {
-1 10200 allowed: [ 'aria-expanded', 'aria-errormessage' ]
-1 10201 },
-1 10202 owned: null,
-1 10203 nameFrom: [ 'author' ],
-1 10204 context: null,
-1 10205 implicit: [ 'form' ],
-1 10206 unsupported: false
-1 10207 },
-1 10208 grid: {
-1 10209 type: 'composite',
-1 10210 attributes: {
-1 10211 allowed: [ 'aria-activedescendant', 'aria-expanded', 'aria-colcount', 'aria-level', 'aria-multiselectable', 'aria-readonly', 'aria-rowcount', 'aria-errormessage' ]
-1 10212 },
-1 10213 owned: {
-1 10214 one: [ 'rowgroup', 'row' ]
-1 10215 },
-1 10216 nameFrom: [ 'author' ],
-1 10217 context: null,
-1 10218 implicit: [ 'table' ],
-1 10219 unsupported: false
-1 10220 },
-1 10221 gridcell: {
-1 10222 type: 'widget',
-1 10223 attributes: {
-1 10224 allowed: [ 'aria-colindex', 'aria-colspan', 'aria-expanded', 'aria-rowindex', 'aria-rowspan', 'aria-selected', 'aria-readonly', 'aria-required', 'aria-errormessage' ]
-1 10225 },
-1 10226 owned: null,
-1 10227 nameFrom: [ 'author', 'contents' ],
-1 10228 context: [ 'row' ],
-1 10229 implicit: [ 'td', 'th' ],
-1 10230 unsupported: false
-1 10231 },
-1 10232 group: {
-1 10233 type: 'structure',
-1 10234 attributes: {
-1 10235 allowed: [ 'aria-activedescendant', 'aria-expanded', 'aria-errormessage' ]
-1 10236 },
-1 10237 owned: null,
-1 10238 nameFrom: [ 'author' ],
-1 10239 context: null,
-1 10240 implicit: [ 'details', 'optgroup' ],
-1 10241 unsupported: false,
-1 10242 allowedElements: [ 'dl', 'figcaption', 'fieldset', 'figure', 'footer', 'header', 'ol', 'ul' ]
-1 10243 },
-1 10244 heading: {
-1 10245 type: 'structure',
-1 10246 attributes: {
-1 10247 required: [ 'aria-level' ],
-1 10248 allowed: [ 'aria-expanded', 'aria-errormessage' ]
-1 10249 },
-1 10250 owned: null,
-1 10251 nameFrom: [ 'author', 'contents' ],
-1 10252 context: null,
-1 10253 implicit: [ 'h1', 'h2', 'h3', 'h4', 'h5', 'h6' ],
-1 10254 unsupported: false
-1 10255 },
-1 10256 img: {
-1 10257 type: 'structure',
-1 10258 attributes: {
-1 10259 allowed: [ 'aria-expanded', 'aria-errormessage' ]
-1 10260 },
-1 10261 owned: null,
-1 10262 nameFrom: [ 'author' ],
-1 10263 context: null,
-1 10264 implicit: [ 'img' ],
-1 10265 unsupported: false,
-1 10266 allowedElements: [ 'embed', 'iframe', 'object', 'svg' ]
-1 10267 },
-1 10268 input: {
-1 10269 nameFrom: [ 'author' ],
-1 10270 type: 'abstract',
-1 10271 unsupported: false
-1 10272 },
-1 10273 landmark: {
-1 10274 nameFrom: [ 'author' ],
-1 10275 type: 'abstract',
-1 10276 unsupported: false
-1 10277 },
-1 10278 link: {
-1 10279 type: 'widget',
-1 10280 attributes: {
-1 10281 allowed: [ 'aria-expanded', 'aria-errormessage' ]
-1 10282 },
-1 10283 owned: null,
-1 10284 nameFrom: [ 'author', 'contents' ],
-1 10285 context: null,
-1 10286 implicit: [ 'a[href]', 'area[href]' ],
-1 10287 unsupported: false,
-1 10288 allowedElements: [ 'button', {
-1 10289 nodeName: 'input',
-1 10290 properties: {
-1 10291 type: [ 'image', 'button' ]
-1 10292 }
-1 10293 } ]
-1 10294 },
-1 10295 list: {
-1 10296 type: 'structure',
-1 10297 attributes: {
-1 10298 allowed: [ 'aria-expanded', 'aria-errormessage' ]
-1 10299 },
-1 10300 owned: {
-1 10301 all: [ 'listitem' ]
-1 10302 },
-1 10303 nameFrom: [ 'author' ],
-1 10304 context: null,
-1 10305 implicit: [ 'ol', 'ul', 'dl' ],
-1 10306 unsupported: false
-1 10307 },
-1 10308 listbox: {
-1 10309 type: 'composite',
-1 10310 attributes: {
-1 10311 allowed: [ 'aria-activedescendant', 'aria-multiselectable', 'aria-readonly', 'aria-required', 'aria-expanded', 'aria-orientation', 'aria-errormessage' ]
-1 10312 },
-1 10313 owned: {
-1 10314 all: [ 'option' ]
-1 10315 },
-1 10316 nameFrom: [ 'author' ],
-1 10317 context: null,
-1 10318 implicit: [ 'select' ],
-1 10319 unsupported: false,
-1 10320 allowedElements: [ 'ol', 'ul' ]
-1 10321 },
-1 10322 listitem: {
-1 10323 type: 'structure',
-1 10324 attributes: {
-1 10325 allowed: [ 'aria-level', 'aria-posinset', 'aria-setsize', 'aria-expanded', 'aria-errormessage' ]
-1 10326 },
-1 10327 owned: null,
-1 10328 nameFrom: [ 'author', 'contents' ],
-1 10329 context: [ 'list' ],
-1 10330 implicit: [ 'li', 'dt' ],
-1 10331 unsupported: false
-1 10332 },
-1 10333 log: {
-1 10334 type: 'widget',
-1 10335 attributes: {
-1 10336 allowed: [ 'aria-expanded', 'aria-errormessage' ]
-1 10337 },
-1 10338 owned: null,
-1 10339 nameFrom: [ 'author' ],
-1 10340 context: null,
-1 10341 unsupported: false,
-1 10342 allowedElements: [ 'section' ]
-1 10343 },
-1 10344 main: {
-1 10345 type: 'landmark',
-1 10346 attributes: {
-1 10347 allowed: [ 'aria-expanded', 'aria-errormessage' ]
-1 10348 },
-1 10349 owned: null,
-1 10350 nameFrom: [ 'author' ],
-1 10351 context: null,
-1 10352 implicit: [ 'main' ],
-1 10353 unsupported: false,
-1 10354 allowedElements: [ 'article', 'section' ]
-1 10355 },
-1 10356 marquee: {
-1 10357 type: 'widget',
-1 10358 attributes: {
-1 10359 allowed: [ 'aria-expanded', 'aria-errormessage' ]
-1 10360 },
-1 10361 owned: null,
-1 10362 nameFrom: [ 'author' ],
-1 10363 context: null,
-1 10364 unsupported: false,
-1 10365 allowedElements: [ 'section' ]
-1 10366 },
-1 10367 math: {
-1 10368 type: 'structure',
-1 10369 attributes: {
-1 10370 allowed: [ 'aria-expanded', 'aria-errormessage' ]
-1 10371 },
-1 10372 owned: null,
-1 10373 nameFrom: [ 'author' ],
-1 10374 context: null,
-1 10375 implicit: [ 'math' ],
-1 10376 unsupported: false
-1 10377 },
-1 10378 menu: {
-1 10379 type: 'composite',
-1 10380 attributes: {
-1 10381 allowed: [ 'aria-activedescendant', 'aria-expanded', 'aria-orientation', 'aria-errormessage' ]
-1 10382 },
-1 10383 owned: {
-1 10384 one: [ 'menuitem', 'menuitemradio', 'menuitemcheckbox' ]
-1 10385 },
-1 10386 nameFrom: [ 'author' ],
-1 10387 context: null,
-1 10388 implicit: [ 'menu[type="context"]' ],
-1 10389 unsupported: false,
-1 10390 allowedElements: [ 'ol', 'ul' ]
-1 10391 },
-1 10392 menubar: {
-1 10393 type: 'composite',
-1 10394 attributes: {
-1 10395 allowed: [ 'aria-activedescendant', 'aria-expanded', 'aria-orientation', 'aria-errormessage' ]
-1 10396 },
-1 10397 owned: {
-1 10398 one: [ 'menuitem', 'menuitemradio', 'menuitemcheckbox' ]
-1 10399 },
-1 10400 nameFrom: [ 'author' ],
-1 10401 context: null,
-1 10402 unsupported: false,
-1 10403 allowedElements: [ 'ol', 'ul' ]
-1 10404 },
-1 10405 menuitem: {
-1 10406 type: 'widget',
-1 10407 attributes: {
-1 10408 allowed: [ 'aria-posinset', 'aria-setsize', 'aria-expanded', 'aria-errormessage' ]
-1 10409 },
-1 10410 owned: null,
-1 10411 nameFrom: [ 'author', 'contents' ],
-1 10412 context: [ 'menu', 'menubar' ],
-1 10413 implicit: [ 'menuitem[type="command"]' ],
-1 10414 unsupported: false,
-1 10415 allowedElements: [ 'button', 'li', {
-1 10416 nodeName: 'iput',
-1 10417 properties: {
-1 10418 type: [ 'image', 'button' ]
-1 10419 }
-1 10420 }, {
-1 10421 nodeName: 'a',
-1 10422 attributes: {
-1 10423 href: isNotNull
-1 10424 }
-1 10425 } ]
-1 10426 },
-1 10427 menuitemcheckbox: {
-1 10428 type: 'widget',
-1 10429 attributes: {
-1 10430 allowed: [ 'aria-checked', 'aria-posinset', 'aria-setsize', 'aria-errormessage' ]
-1 10431 },
-1 10432 owned: null,
-1 10433 nameFrom: [ 'author', 'contents' ],
-1 10434 context: [ 'menu', 'menubar' ],
-1 10435 implicit: [ 'menuitem[type="checkbox"]' ],
-1 10436 unsupported: false,
-1 10437 allowedElements: [ {
-1 10438 nodeName: [ 'button', 'li' ]
-1 10439 }, {
-1 10440 nodeName: 'input',
-1 10441 properties: {
-1 10442 type: [ 'checkbox', 'image', 'button' ]
-1 10443 }
-1 10444 }, {
-1 10445 nodeName: 'a',
-1 10446 attributes: {
-1 10447 href: isNotNull
-1 10448 }
-1 10449 } ]
-1 10450 },
-1 10451 menuitemradio: {
-1 10452 type: 'widget',
-1 10453 attributes: {
-1 10454 allowed: [ 'aria-checked', 'aria-selected', 'aria-posinset', 'aria-setsize', 'aria-errormessage' ]
-1 10455 },
-1 10456 owned: null,
-1 10457 nameFrom: [ 'author', 'contents' ],
-1 10458 context: [ 'menu', 'menubar' ],
-1 10459 implicit: [ 'menuitem[type="radio"]' ],
-1 10460 unsupported: false,
-1 10461 allowedElements: [ {
-1 10462 nodeName: [ 'button', 'li' ]
-1 10463 }, {
-1 10464 nodeName: 'input',
-1 10465 properties: {
-1 10466 type: [ 'image', 'button', 'radio' ]
-1 10467 }
-1 10468 }, {
-1 10469 nodeName: 'a',
-1 10470 attributes: {
-1 10471 href: isNotNull
-1 10472 }
-1 10473 } ]
-1 10474 },
-1 10475 navigation: {
-1 10476 type: 'landmark',
-1 10477 attributes: {
-1 10478 allowed: [ 'aria-expanded', 'aria-errormessage' ]
-1 10479 },
-1 10480 owned: null,
-1 10481 nameFrom: [ 'author' ],
-1 10482 context: null,
-1 10483 implicit: [ 'nav' ],
-1 10484 unsupported: false,
-1 10485 allowedElements: [ 'section' ]
-1 10486 },
-1 10487 none: {
-1 10488 type: 'structure',
-1 10489 attributes: null,
-1 10490 owned: null,
-1 10491 nameFrom: [ 'author' ],
-1 10492 context: null,
-1 10493 unsupported: false,
-1 10494 allowedElements: [ {
-1 10495 nodeName: [ 'article', 'aside', 'dl', 'embed', 'figcaption', 'fieldset', 'figure', 'footer', 'form', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'header', 'hr', 'iframe', 'li', 'ol', 'section', 'ul' ]
-1 10496 }, {
-1 10497 nodeName: 'img',
-1 10498 attributes: {
-1 10499 alt: isNotNull
-1 10500 }
-1 10501 } ]
-1 10502 },
-1 10503 note: {
-1 10504 type: 'structure',
-1 10505 attributes: {
-1 10506 allowed: [ 'aria-expanded', 'aria-errormessage' ]
-1 10507 },
-1 10508 owned: null,
-1 10509 nameFrom: [ 'author' ],
-1 10510 context: null,
-1 10511 unsupported: false,
-1 10512 allowedElements: [ 'aside' ]
-1 10513 },
-1 10514 option: {
-1 10515 type: 'widget',
-1 10516 attributes: {
-1 10517 allowed: [ 'aria-selected', 'aria-posinset', 'aria-setsize', 'aria-checked', 'aria-errormessage' ]
-1 10518 },
-1 10519 owned: null,
-1 10520 nameFrom: [ 'author', 'contents' ],
-1 10521 context: [ 'listbox' ],
-1 10522 implicit: [ 'option' ],
-1 10523 unsupported: false,
-1 10524 allowedElements: [ {
-1 10525 nodeName: [ 'button', 'li' ]
-1 10526 }, {
-1 10527 nodeName: 'input',
-1 10528 properties: {
-1 10529 type: [ 'checkbox', 'button' ]
-1 10530 }
-1 10531 }, {
-1 10532 nodeName: 'a',
-1 10533 attributes: {
-1 10534 href: isNotNull
-1 10535 }
-1 10536 } ]
-1 10537 },
-1 10538 presentation: {
-1 10539 type: 'structure',
-1 10540 attributes: null,
-1 10541 owned: null,
-1 10542 nameFrom: [ 'author' ],
-1 10543 context: null,
-1 10544 unsupported: false,
-1 10545 allowedElements: [ {
-1 10546 nodeName: [ 'article', 'aside', 'dl', 'embed', 'figcaption', 'fieldset', 'figure', 'footer', 'form', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'header', 'hr', 'iframe', 'li', 'ol', 'section', 'ul' ]
-1 10547 }, {
-1 10548 nodeName: 'img',
-1 10549 attributes: {
-1 10550 alt: isNotNull
-1 10551 }
-1 10552 } ]
-1 10553 },
-1 10554 progressbar: {
-1 10555 type: 'widget',
-1 10556 attributes: {
-1 10557 allowed: [ 'aria-valuetext', 'aria-valuenow', 'aria-valuemax', 'aria-valuemin', 'aria-expanded', 'aria-errormessage' ]
-1 10558 },
-1 10559 owned: null,
-1 10560 nameFrom: [ 'author' ],
-1 10561 context: null,
-1 10562 implicit: [ 'progress' ],
-1 10563 unsupported: false
-1 10564 },
-1 10565 radio: {
-1 10566 type: 'widget',
-1 10567 attributes: {
-1 10568 allowed: [ 'aria-selected', 'aria-posinset', 'aria-setsize', 'aria-required', 'aria-errormessage', 'aria-checked' ]
-1 10569 },
-1 10570 owned: null,
-1 10571 nameFrom: [ 'author', 'contents' ],
-1 10572 context: null,
-1 10573 implicit: [ 'input[type="radio"]' ],
-1 10574 unsupported: false,
-1 10575 allowedElements: [ {
-1 10576 nodeName: [ 'button', 'li' ]
-1 10577 }, {
-1 10578 nodeName: 'input',
-1 10579 properties: {
-1 10580 type: [ 'image', 'button' ]
-1 10581 }
-1 10582 } ]
-1 10583 },
-1 10584 radiogroup: {
-1 10585 type: 'composite',
-1 10586 attributes: {
-1 10587 allowed: [ 'aria-activedescendant', 'aria-required', 'aria-expanded', 'aria-readonly', 'aria-errormessage', 'aria-orientation' ]
-1 10588 },
-1 10589 owned: {
-1 10590 all: [ 'radio' ]
-1 10591 },
-1 10592 nameFrom: [ 'author' ],
-1 10593 context: null,
-1 10594 unsupported: false,
-1 10595 allowedElements: {
-1 10596 nodeName: [ 'ol', 'ul', 'fieldset' ]
-1 10597 }
-1 10598 },
-1 10599 range: {
-1 10600 nameFrom: [ 'author' ],
-1 10601 type: 'abstract',
-1 10602 unsupported: false
-1 10603 },
-1 10604 region: {
-1 10605 type: 'landmark',
-1 10606 attributes: {
-1 10607 allowed: [ 'aria-expanded', 'aria-errormessage' ]
-1 10608 },
-1 10609 owned: null,
-1 10610 nameFrom: [ 'author' ],
-1 10611 context: null,
-1 10612 implicit: [ 'section[aria-label]', 'section[aria-labelledby]', 'section[title]' ],
-1 10613 unsupported: false,
-1 10614 allowedElements: {
-1 10615 nodeName: [ 'article', 'aside' ]
-1 10616 }
-1 10617 },
-1 10618 roletype: {
-1 10619 type: 'abstract',
-1 10620 unsupported: false
-1 10621 },
-1 10622 row: {
-1 10623 type: 'structure',
-1 10624 attributes: {
-1 10625 allowed: [ 'aria-activedescendant', 'aria-colindex', 'aria-expanded', 'aria-level', 'aria-selected', 'aria-rowindex', 'aria-errormessage' ]
-1 10626 },
-1 10627 owned: {
-1 10628 one: [ 'cell', 'columnheader', 'rowheader', 'gridcell' ]
-1 10629 },
-1 10630 nameFrom: [ 'author', 'contents' ],
-1 10631 context: [ 'rowgroup', 'grid', 'treegrid', 'table' ],
-1 10632 implicit: [ 'tr' ],
-1 10633 unsupported: false
-1 10634 },
-1 10635 rowgroup: {
-1 10636 type: 'structure',
-1 10637 attributes: {
-1 10638 allowed: [ 'aria-activedescendant', 'aria-expanded', 'aria-errormessage' ]
-1 10639 },
-1 10640 owned: {
-1 10641 all: [ 'row' ]
-1 10642 },
-1 10643 nameFrom: [ 'author', 'contents' ],
-1 10644 context: [ 'grid', 'table', 'treegrid' ],
-1 10645 implicit: [ 'tbody', 'thead', 'tfoot' ],
-1 10646 unsupported: false
-1 10647 },
-1 10648 rowheader: {
-1 10649 type: 'structure',
-1 10650 attributes: {
-1 10651 allowed: [ 'aria-colindex', 'aria-colspan', 'aria-expanded', 'aria-rowindex', 'aria-rowspan', 'aria-required', 'aria-readonly', 'aria-selected', 'aria-sort', 'aria-errormessage' ]
-1 10652 },
-1 10653 owned: null,
-1 10654 nameFrom: [ 'author', 'contents' ],
-1 10655 context: [ 'row' ],
-1 10656 implicit: [ 'th' ],
-1 10657 unsupported: false
-1 10658 },
-1 10659 scrollbar: {
-1 10660 type: 'widget',
-1 10661 attributes: {
-1 10662 required: [ 'aria-controls', 'aria-valuenow' ],
-1 10663 allowed: [ 'aria-valuetext', 'aria-orientation', 'aria-errormessage', 'aria-valuemax', 'aria-valuemin' ]
-1 10664 },
-1 10665 owned: null,
-1 10666 nameFrom: [ 'author' ],
-1 10667 context: null,
-1 10668 unsupported: false
-1 10669 },
-1 10670 search: {
-1 10671 type: 'landmark',
-1 10672 attributes: {
-1 10673 allowed: [ 'aria-expanded', 'aria-errormessage' ]
-1 10674 },
-1 10675 owned: null,
-1 10676 nameFrom: [ 'author' ],
-1 10677 context: null,
-1 10678 unsupported: false,
-1 10679 allowedElements: {
-1 10680 nodeName: [ 'aside', 'form', 'section' ]
-1 10681 }
-1 10682 },
-1 10683 searchbox: {
-1 10684 type: 'widget',
-1 10685 attributes: {
-1 10686 allowed: [ 'aria-activedescendant', 'aria-autocomplete', 'aria-multiline', 'aria-readonly', 'aria-required', 'aria-placeholder', 'aria-errormessage' ]
-1 10687 },
-1 10688 owned: null,
-1 10689 nameFrom: [ 'author' ],
-1 10690 context: null,
-1 10691 implicit: [ 'input[type="search"]' ],
-1 10692 unsupported: false,
-1 10693 allowedElements: {
-1 10694 nodeName: 'input',
-1 10695 properties: {
-1 10696 type: 'text'
-1 10697 }
-1 10698 }
-1 10699 },
-1 10700 section: {
-1 10701 nameFrom: [ 'author', 'contents' ],
-1 10702 type: 'abstract',
-1 10703 unsupported: false
-1 10704 },
-1 10705 sectionhead: {
-1 10706 nameFrom: [ 'author', 'contents' ],
-1 10707 type: 'abstract',
-1 10708 unsupported: false
-1 10709 },
-1 10710 select: {
-1 10711 nameFrom: [ 'author' ],
-1 10712 type: 'abstract',
-1 10713 unsupported: false
-1 10714 },
-1 10715 separator: {
-1 10716 type: 'structure',
-1 10717 attributes: {
-1 10718 allowed: [ 'aria-expanded', 'aria-orientation', 'aria-valuenow', 'aria-valuemax', 'aria-valuemin', 'aria-valuetext', 'aria-errormessage' ]
-1 10719 },
-1 10720 owned: null,
-1 10721 nameFrom: [ 'author' ],
-1 10722 context: null,
-1 10723 implicit: [ 'hr' ],
-1 10724 unsupported: false,
-1 10725 allowedElements: [ 'li' ]
-1 10726 },
-1 10727 slider: {
-1 10728 type: 'widget',
-1 10729 attributes: {
-1 10730 allowed: [ 'aria-valuetext', 'aria-orientation', 'aria-readonly', 'aria-errormessage', 'aria-valuemax', 'aria-valuemin' ],
-1 10731 required: [ 'aria-valuenow' ]
-1 10732 },
-1 10733 owned: null,
-1 10734 nameFrom: [ 'author' ],
-1 10735 context: null,
-1 10736 implicit: [ 'input[type="range"]' ],
-1 10737 unsupported: false
-1 10738 },
-1 10739 spinbutton: {
-1 10740 type: 'widget',
-1 10741 attributes: {
-1 10742 allowed: [ 'aria-valuetext', 'aria-required', 'aria-readonly', 'aria-errormessage', 'aria-valuemax', 'aria-valuemin' ],
-1 10743 required: [ 'aria-valuenow' ]
-1 10744 },
-1 10745 owned: null,
-1 10746 nameFrom: [ 'author' ],
-1 10747 context: null,
-1 10748 implicit: [ 'input[type="number"]' ],
-1 10749 unsupported: false,
-1 10750 allowedElements: {
-1 10751 nodeName: 'input',
-1 10752 properties: {
-1 10753 type: [ 'text', 'tel' ]
-1 10754 }
-1 10755 }
-1 10756 },
-1 10757 status: {
-1 10758 type: 'widget',
-1 10759 attributes: {
-1 10760 allowed: [ 'aria-expanded', 'aria-errormessage' ]
-1 10761 },
-1 10762 owned: null,
-1 10763 nameFrom: [ 'author' ],
-1 10764 context: null,
-1 10765 implicit: [ 'output' ],
-1 10766 unsupported: false,
-1 10767 allowedElements: [ 'section' ]
-1 10768 },
-1 10769 structure: {
-1 10770 type: 'abstract',
-1 10771 unsupported: false
-1 10772 },
-1 10773 switch: {
-1 10774 type: 'widget',
-1 10775 attributes: {
-1 10776 allowed: [ 'aria-errormessage' ],
-1 10777 required: [ 'aria-checked' ]
-1 10778 },
-1 10779 owned: null,
-1 10780 nameFrom: [ 'author', 'contents' ],
-1 10781 context: null,
-1 10782 unsupported: false,
-1 10783 allowedElements: [ 'button', {
-1 10784 nodeName: 'input',
-1 10785 properties: {
-1 10786 type: [ 'checkbox', 'image', 'button' ]
-1 10787 }
-1 10788 }, {
-1 10789 nodeName: 'a',
-1 10790 attributes: {
-1 10791 href: isNotNull
-1 10792 }
-1 10793 } ]
-1 10794 },
-1 10795 tab: {
-1 10796 type: 'widget',
-1 10797 attributes: {
-1 10798 allowed: [ 'aria-selected', 'aria-expanded', 'aria-setsize', 'aria-posinset', 'aria-errormessage' ]
-1 10799 },
-1 10800 owned: null,
-1 10801 nameFrom: [ 'author', 'contents' ],
-1 10802 context: [ 'tablist' ],
-1 10803 unsupported: false,
-1 10804 allowedElements: [ {
-1 10805 nodeName: [ 'button', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'li' ]
-1 10806 }, {
-1 10807 nodeName: 'input',
-1 10808 properties: {
-1 10809 type: 'button'
-1 10810 }
-1 10811 }, {
-1 10812 nodeName: 'a',
-1 10813 attributes: {
-1 10814 href: isNotNull
-1 10815 }
-1 10816 } ]
-1 10817 },
-1 10818 table: {
-1 10819 type: 'structure',
-1 10820 attributes: {
-1 10821 allowed: [ 'aria-colcount', 'aria-rowcount', 'aria-errormessage' ]
-1 10822 },
-1 10823 owned: {
-1 10824 one: [ 'rowgroup', 'row' ]
-1 10825 },
-1 10826 nameFrom: [ 'author', 'contents' ],
-1 10827 context: null,
-1 10828 implicit: [ 'table' ],
-1 10829 unsupported: false
-1 10830 },
-1 10831 tablist: {
-1 10832 type: 'composite',
-1 10833 attributes: {
-1 10834 allowed: [ 'aria-activedescendant', 'aria-expanded', 'aria-level', 'aria-multiselectable', 'aria-orientation', 'aria-errormessage' ]
-1 10835 },
-1 10836 owned: {
-1 10837 all: [ 'tab' ]
-1 10838 },
-1 10839 nameFrom: [ 'author' ],
-1 10840 context: null,
-1 10841 unsupported: false,
-1 10842 allowedElements: [ 'ol', 'ul' ]
-1 10843 },
-1 10844 tabpanel: {
-1 10845 type: 'widget',
-1 10846 attributes: {
-1 10847 allowed: [ 'aria-expanded', 'aria-errormessage' ]
-1 10848 },
-1 10849 owned: null,
-1 10850 nameFrom: [ 'author' ],
-1 10851 context: null,
-1 10852 unsupported: false,
-1 10853 allowedElements: [ 'section' ]
-1 10854 },
-1 10855 term: {
-1 10856 type: 'structure',
-1 10857 attributes: {
-1 10858 allowed: [ 'aria-expanded', 'aria-errormessage' ]
-1 10859 },
-1 10860 owned: null,
-1 10861 nameFrom: [ 'author', 'contents' ],
-1 10862 context: null,
-1 10863 implicit: [ 'dt' ],
-1 10864 unsupported: false
-1 10865 },
-1 10866 textbox: {
-1 10867 type: 'widget',
-1 10868 attributes: {
-1 10869 allowed: [ 'aria-activedescendant', 'aria-autocomplete', 'aria-multiline', 'aria-readonly', 'aria-required', 'aria-placeholder', 'aria-errormessage' ]
-1 10870 },
-1 10871 owned: null,
-1 10872 nameFrom: [ 'author' ],
-1 10873 context: null,
-1 10874 implicit: [ 'input[type="text"]', 'input[type="email"]', 'input[type="password"]', 'input[type="tel"]', 'input[type="url"]', 'input:not([type])', 'textarea' ],
-1 10875 unsupported: false
-1 10876 },
-1 10877 timer: {
-1 10878 type: 'widget',
-1 10879 attributes: {
-1 10880 allowed: [ 'aria-expanded', 'aria-errormessage' ]
-1 10881 },
-1 10882 owned: null,
-1 10883 nameFrom: [ 'author' ],
-1 10884 context: null,
-1 10885 unsupported: false
-1 10886 },
-1 10887 toolbar: {
-1 10888 type: 'structure',
-1 10889 attributes: {
-1 10890 allowed: [ 'aria-activedescendant', 'aria-expanded', 'aria-orientation', 'aria-errormessage' ]
-1 10891 },
-1 10892 owned: null,
-1 10893 nameFrom: [ 'author' ],
-1 10894 context: null,
-1 10895 implicit: [ 'menu[type="toolbar"]' ],
-1 10896 unsupported: false,
-1 10897 allowedElements: [ 'ol', 'ul' ]
-1 10898 },
-1 10899 tooltip: {
-1 10900 type: 'structure',
-1 10901 attributes: {
-1 10902 allowed: [ 'aria-expanded', 'aria-errormessage' ]
-1 10903 },
-1 10904 owned: null,
-1 10905 nameFrom: [ 'author', 'contents' ],
-1 10906 context: null,
-1 10907 unsupported: false
-1 10908 },
-1 10909 tree: {
-1 10910 type: 'composite',
-1 10911 attributes: {
-1 10912 allowed: [ 'aria-activedescendant', 'aria-multiselectable', 'aria-required', 'aria-expanded', 'aria-orientation', 'aria-errormessage' ]
-1 10913 },
-1 10914 owned: {
-1 10915 all: [ 'treeitem' ]
-1 10916 },
-1 10917 nameFrom: [ 'author' ],
-1 10918 context: null,
-1 10919 unsupported: false,
-1 10920 allowedElements: [ 'ol', 'ul' ]
-1 10921 },
-1 10922 treegrid: {
-1 10923 type: 'composite',
-1 10924 attributes: {
-1 10925 allowed: [ 'aria-activedescendant', 'aria-colcount', 'aria-expanded', 'aria-level', 'aria-multiselectable', 'aria-readonly', 'aria-required', 'aria-rowcount', 'aria-orientation', 'aria-errormessage' ]
-1 10926 },
-1 10927 owned: {
-1 10928 one: [ 'rowgroup', 'row' ]
-1 10929 },
-1 10930 nameFrom: [ 'author' ],
-1 10931 context: null,
-1 10932 unsupported: false
-1 10933 },
-1 10934 treeitem: {
-1 10935 type: 'widget',
-1 10936 attributes: {
-1 10937 allowed: [ 'aria-checked', 'aria-selected', 'aria-expanded', 'aria-level', 'aria-posinset', 'aria-setsize', 'aria-errormessage' ]
-1 10938 },
-1 10939 owned: null,
-1 10940 nameFrom: [ 'author', 'contents' ],
-1 10941 context: [ 'group', 'tree' ],
-1 10942 unsupported: false,
-1 10943 allowedElements: [ 'li', {
-1 10944 nodeName: 'a',
-1 10945 attributes: {
-1 10946 href: isNotNull
-1 10947 }
-1 10948 } ]
-1 10949 },
-1 10950 widget: {
-1 10951 type: 'abstract',
-1 10952 unsupported: false
-1 10953 },
-1 10954 window: {
-1 10955 nameFrom: [ 'author' ],
-1 10956 type: 'abstract',
-1 10957 unsupported: false
-1 10958 }
-1 10959 };
-1 10960 lookupTable.implicitHtmlRole = _standards_implicit_html_roles__WEBPACK_IMPORTED_MODULE_0__['default'];
-1 10961 lookupTable.elementsAllowedNoRole = [ {
-1 10962 nodeName: [ 'base', 'body', 'caption', 'col', 'colgroup', 'datalist', 'dd', 'details', 'dt', 'head', 'html', 'keygen', 'label', 'legend', 'main', 'map', 'math', 'meta', 'meter', 'noscript', 'optgroup', 'param', 'picture', 'progress', 'script', 'source', 'style', 'template', 'textarea', 'title', 'track' ]
-1 10963 }, {
-1 10964 nodeName: 'area',
-1 10965 attributes: {
-1 10966 href: isNotNull
-1 10967 }
-1 10968 }, {
-1 10969 nodeName: 'input',
-1 10970 properties: {
-1 10971 type: [ 'color', 'data', 'datatime', 'file', 'hidden', 'month', 'number', 'password', 'range', 'reset', 'submit', 'time', 'week' ]
-1 10972 }
-1 10973 }, {
-1 10974 nodeName: 'link',
-1 10975 attributes: {
-1 10976 href: isNotNull
-1 10977 }
-1 10978 }, {
-1 10979 nodeName: 'menu',
-1 10980 attributes: {
-1 10981 type: 'context'
-1 10982 }
-1 10983 }, {
-1 10984 nodeName: 'menuitem',
-1 10985 attributes: {
-1 10986 type: [ 'command', 'checkbox', 'radio' ]
-1 10987 }
-1 10988 }, {
-1 10989 nodeName: 'select',
-1 10990 condition: function condition(vNode) {
-1 10991 if (!(vNode instanceof axe.AbstractVirtualNode)) {
-1 10992 vNode = axe.utils.getNodeFromTree(vNode);
-1 10993 }
-1 10994 return Number(vNode.attr('size')) > 1;
-1 10995 },
-1 10996 properties: {
-1 10997 multiple: true
-1 10998 }
-1 10999 }, {
-1 11000 nodeName: [ 'clippath', 'cursor', 'defs', 'desc', 'feblend', 'fecolormatrix', 'fecomponenttransfer', 'fecomposite', 'feconvolvematrix', 'fediffuselighting', 'fedisplacementmap', 'fedistantlight', 'fedropshadow', 'feflood', 'fefunca', 'fefuncb', 'fefuncg', 'fefuncr', 'fegaussianblur', 'feimage', 'femerge', 'femergenode', 'femorphology', 'feoffset', 'fepointlight', 'fespecularlighting', 'fespotlight', 'fetile', 'feturbulence', 'filter', 'hatch', 'hatchpath', 'lineargradient', 'marker', 'mask', 'meshgradient', 'meshpatch', 'meshrow', 'metadata', 'mpath', 'pattern', 'radialgradient', 'solidcolor', 'stop', 'switch', 'view' ]
-1 11001 } ];
-1 11002 lookupTable.elementsAllowedAnyRole = [ {
-1 11003 nodeName: 'a',
-1 11004 attributes: {
-1 11005 href: isNull
-1 11006 }
-1 11007 }, {
-1 11008 nodeName: 'img',
-1 11009 attributes: {
-1 11010 alt: isNull
-1 11011 }
-1 11012 }, {
-1 11013 nodeName: [ 'abbr', 'address', 'canvas', 'div', 'p', 'pre', 'blockquote', 'ins', 'del', 'output', 'span', 'table', 'tbody', 'thead', 'tfoot', 'td', 'em', 'strong', 'small', 's', 'cite', 'q', 'dfn', 'abbr', 'time', 'code', 'var', 'samp', 'kbd', 'sub', 'sup', 'i', 'b', 'u', 'mark', 'ruby', 'rt', 'rp', 'bdi', 'bdo', 'br', 'wbr', 'th', 'tr' ]
-1 11014 } ];
-1 11015 lookupTable.evaluateRoleForElement = {
-1 11016 A: function A(_ref24) {
-1 11017 var node = _ref24.node, out = _ref24.out;
-1 11018 if (node.namespaceURI === 'http://www.w3.org/2000/svg') {
-1 11019 return true;
-1 11020 }
-1 11021 if (node.href.length) {
-1 11022 return out;
-1 11023 }
-1 11024 return true;
-1 11025 },
-1 11026 AREA: function AREA(_ref25) {
-1 11027 var node = _ref25.node;
-1 11028 return !node.href;
-1 11029 },
-1 11030 BUTTON: function BUTTON(_ref26) {
-1 11031 var node = _ref26.node, role = _ref26.role, out = _ref26.out;
-1 11032 if (node.getAttribute('type') === 'menu') {
-1 11033 return role === 'menuitem';
-1 11034 }
-1 11035 return out;
-1 11036 },
-1 11037 IMG: function IMG(_ref27) {
-1 11038 var node = _ref27.node, role = _ref27.role, out = _ref27.out;
-1 11039 switch (node.alt) {
-1 11040 case null:
-1 11041 return out;
-1 11042
-1 11043 case '':
-1 11044 return role === 'presentation' || role === 'none';
-1 11045
-1 11046 default:
-1 11047 return role !== 'presentation' && role !== 'none';
-1 11048 }
-1 11049 },
-1 11050 INPUT: function INPUT(_ref28) {
-1 11051 var node = _ref28.node, role = _ref28.role, out = _ref28.out;
-1 11052 switch (node.type) {
-1 11053 case 'button':
-1 11054 case 'image':
-1 11055 return out;
-1 11056
-1 11057 case 'checkbox':
-1 11058 if (role === 'button' && node.hasAttribute('aria-pressed')) {
-1 11059 return true;
-1 11060 }
-1 11061 return out;
-1 11062
-1 11063 case 'radio':
-1 11064 return role === 'menuitemradio';
-1 11065
-1 11066 case 'text':
-1 11067 return role === 'combobox' || role === 'searchbox' || role === 'spinbutton';
-1 11068
-1 11069 case 'tel':
-1 11070 return role === 'combobox' || role === 'spinbutton';
-1 11071
-1 11072 case 'url':
-1 11073 case 'search':
-1 11074 case 'email':
-1 11075 return role === 'combobox';
-1 11076
-1 11077 default:
-1 11078 return false;
-1 11079 }
-1 11080 },
-1 11081 LI: function LI(_ref29) {
-1 11082 var node = _ref29.node, out = _ref29.out;
-1 11083 var hasImplicitListitemRole = axe.utils.matchesSelector(node, 'ol li, ul li');
-1 11084 if (hasImplicitListitemRole) {
-1 11085 return out;
-1 11086 }
-1 11087 return true;
-1 11088 },
-1 11089 MENU: function MENU(_ref30) {
-1 11090 var node = _ref30.node;
-1 11091 if (node.getAttribute('type') === 'context') {
-1 11092 return false;
-1 11093 }
-1 11094 return true;
-1 11095 },
-1 11096 OPTION: function OPTION(_ref31) {
-1 11097 var node = _ref31.node;
-1 11098 var withinOptionList = axe.utils.matchesSelector(node, 'select > option, datalist > option, optgroup > option');
-1 11099 return !withinOptionList;
-1 11100 },
-1 11101 SELECT: function SELECT(_ref32) {
-1 11102 var node = _ref32.node, role = _ref32.role;
-1 11103 return !node.multiple && node.size <= 1 && role === 'menu';
-1 11104 },
-1 11105 SVG: function SVG(_ref33) {
-1 11106 var node = _ref33.node, out = _ref33.out;
-1 11107 if (node.parentNode && node.parentNode.namespaceURI === 'http://www.w3.org/2000/svg') {
-1 11108 return true;
-1 11109 }
-1 11110 return out;
-1 11111 }
-1 11112 };
-1 11113 lookupTable.rolesOfType = {
-1 11114 widget: [ 'button', 'checkbox', 'dialog', 'gridcell', 'link', 'log', 'marquee', 'menuitem', 'menuitemcheckbox', 'menuitemradio', 'option', 'progressbar', 'radio', 'scrollbar', 'searchbox', 'slider', 'spinbutton', 'status', 'switch', 'tab', 'tabpanel', 'textbox', 'timer', 'tooltip', 'tree', 'treeitem' ]
-1 11115 };
-1 11116 __webpack_exports__['default'] = lookupTable;
-1 11117 },
-1 11118 './lib/commons/aria/named-from-contents.js': function libCommonsAriaNamedFromContentsJs(module, __webpack_exports__, __webpack_require__) {
-1 11119 'use strict';
-1 11120 __webpack_require__.r(__webpack_exports__);
-1 11121 var _get_role__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/aria/get-role.js');
-1 11122 var _standards__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/standards/index.js');
-1 11123 var _core_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__('./lib/core/utils/index.js');
-1 11124 var _core_base_virtual_node_abstract_virtual_node__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__('./lib/core/base/virtual-node/abstract-virtual-node.js');
-1 11125 function namedFromContents(vNode) {
-1 11126 var _ref34 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}, strict = _ref34.strict;
-1 11127 vNode = vNode instanceof _core_base_virtual_node_abstract_virtual_node__WEBPACK_IMPORTED_MODULE_3__['default'] ? vNode : Object(_core_utils__WEBPACK_IMPORTED_MODULE_2__['getNodeFromTree'])(vNode);
-1 11128 if (vNode.props.nodeType !== 1) {
-1 11129 return false;
-1 11130 }
-1 11131 var role = Object(_get_role__WEBPACK_IMPORTED_MODULE_0__['default'])(vNode);
-1 11132 var roleDef = _standards__WEBPACK_IMPORTED_MODULE_1__['default'].ariaRoles[role];
-1 11133 if (roleDef && roleDef.nameFromContent) {
-1 11134 return true;
-1 11135 }
-1 11136 if (strict) {
-1 11137 return false;
-1 11138 }
-1 11139 return !roleDef || [ 'presentation', 'none' ].includes(role);
-1 11140 }
-1 11141 __webpack_exports__['default'] = namedFromContents;
-1 11142 },
-1 11143 './lib/commons/aria/required-attr.js': function libCommonsAriaRequiredAttrJs(module, __webpack_exports__, __webpack_require__) {
-1 11144 'use strict';
-1 11145 __webpack_require__.r(__webpack_exports__);
-1 11146 var _standards__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/standards/index.js');
-1 11147 function requiredAttr(role) {
-1 11148 var roleDef = _standards__WEBPACK_IMPORTED_MODULE_0__['default'].ariaRoles[role];
-1 11149 if (!roleDef || !Array.isArray(roleDef.requiredAttrs)) {
-1 11150 return [];
-1 11151 }
-1 11152 return _toConsumableArray(roleDef.requiredAttrs);
-1 11153 }
-1 11154 __webpack_exports__['default'] = requiredAttr;
-1 11155 },
-1 11156 './lib/commons/aria/required-context.js': function libCommonsAriaRequiredContextJs(module, __webpack_exports__, __webpack_require__) {
-1 11157 'use strict';
-1 11158 __webpack_require__.r(__webpack_exports__);
-1 11159 var _standards__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/standards/index.js');
-1 11160 function requiredContext(role) {
-1 11161 var roleDef = _standards__WEBPACK_IMPORTED_MODULE_0__['default'].ariaRoles[role];
-1 11162 if (!roleDef || !Array.isArray(roleDef.requiredContext)) {
-1 11163 return null;
-1 11164 }
-1 11165 return _toConsumableArray(roleDef.requiredContext);
-1 11166 }
-1 11167 __webpack_exports__['default'] = requiredContext;
-1 11168 },
-1 11169 './lib/commons/aria/required-owned.js': function libCommonsAriaRequiredOwnedJs(module, __webpack_exports__, __webpack_require__) {
-1 11170 'use strict';
-1 11171 __webpack_require__.r(__webpack_exports__);
-1 11172 var _standards__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/standards/index.js');
-1 11173 function requiredOwned(role) {
-1 11174 var roleDef = _standards__WEBPACK_IMPORTED_MODULE_0__['default'].ariaRoles[role];
-1 11175 if (!roleDef || !Array.isArray(roleDef.requiredOwned)) {
-1 11176 return null;
-1 11177 }
-1 11178 return _toConsumableArray(roleDef.requiredOwned);
-1 11179 }
-1 11180 __webpack_exports__['default'] = requiredOwned;
-1 11181 },
-1 11182 './lib/commons/aria/validate-attr-value.js': function libCommonsAriaValidateAttrValueJs(module, __webpack_exports__, __webpack_require__) {
-1 11183 'use strict';
-1 11184 __webpack_require__.r(__webpack_exports__);
-1 11185 var _standards__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/standards/index.js');
-1 11186 var _dom_get_root_node__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/commons/dom/get-root-node.js');
-1 11187 var _core_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__('./lib/core/utils/index.js');
-1 11188 function validateAttrValue(node, attr) {
-1 11189 'use strict';
-1 11190 var matches;
-1 11191 var list;
-1 11192 var value = node.getAttribute(attr);
-1 11193 var attrInfo = _standards__WEBPACK_IMPORTED_MODULE_0__['default'].ariaAttrs[attr];
-1 11194 var doc = Object(_dom_get_root_node__WEBPACK_IMPORTED_MODULE_1__['default'])(node);
-1 11195 if (!attrInfo) {
-1 11196 return true;
-1 11197 }
-1 11198 if (attrInfo.allowEmpty && (!value || value.trim() === '')) {
-1 11199 return true;
-1 11200 }
-1 11201 switch (attrInfo.type) {
-1 11202 case 'boolean':
-1 11203 return [ 'true', 'false' ].includes(value.toLowerCase());
-1 11204
-1 11205 case 'nmtoken':
-1 11206 return typeof value === 'string' && attrInfo.values.includes(value.toLowerCase());
-1 11207
-1 11208 case 'nmtokens':
-1 11209 list = Object(_core_utils__WEBPACK_IMPORTED_MODULE_2__['tokenList'])(value);
-1 11210 return list.reduce(function(result, token) {
-1 11211 return result && attrInfo.values.includes(token);
-1 11212 }, list.length !== 0);
-1 11213
-1 11214 case 'idref':
-1 11215 return !!(value && doc.getElementById(value));
-1 11216
-1 11217 case 'idrefs':
-1 11218 list = Object(_core_utils__WEBPACK_IMPORTED_MODULE_2__['tokenList'])(value);
-1 11219 return list.some(function(token) {
-1 11220 return doc.getElementById(token);
-1 11221 });
-1 11222
-1 11223 case 'string':
-1 11224 return value.trim() !== '';
-1 11225
-1 11226 case 'decimal':
-1 11227 matches = value.match(/^[-+]?([0-9]*)\.?([0-9]*)$/);
-1 11228 return !!(matches && (matches[1] || matches[2]));
-1 11229
-1 11230 case 'int':
-1 11231 return /^[-+]?[0-9]+$/.test(value);
-1 11232 }
-1 11233 }
-1 11234 __webpack_exports__['default'] = validateAttrValue;
-1 11235 },
-1 11236 './lib/commons/aria/validate-attr.js': function libCommonsAriaValidateAttrJs(module, __webpack_exports__, __webpack_require__) {
-1 11237 'use strict';
-1 11238 __webpack_require__.r(__webpack_exports__);
-1 11239 var _standards__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/standards/index.js');
-1 11240 function validateAttr(att) {
-1 11241 var attrDefinition = _standards__WEBPACK_IMPORTED_MODULE_0__['default'].ariaAttrs[att];
-1 11242 return !!attrDefinition;
-1 11243 }
-1 11244 __webpack_exports__['default'] = validateAttr;
-1 11245 },
-1 11246 './lib/commons/color/center-point-of-rect.js': function libCommonsColorCenterPointOfRectJs(module, __webpack_exports__, __webpack_require__) {
-1 11247 'use strict';
-1 11248 __webpack_require__.r(__webpack_exports__);
-1 11249 function centerPointOfRect(rect) {
-1 11250 if (rect.left > window.innerWidth) {
-1 11251 return undefined;
-1 11252 }
-1 11253 if (rect.top > window.innerHeight) {
-1 11254 return undefined;
-1 11255 }
-1 11256 var x = Math.min(Math.ceil(rect.left + rect.width / 2), window.innerWidth - 1);
-1 11257 var y = Math.min(Math.ceil(rect.top + rect.height / 2), window.innerHeight - 1);
-1 11258 return {
-1 11259 x: x,
-1 11260 y: y
-1 11261 };
-1 11262 }
-1 11263 __webpack_exports__['default'] = centerPointOfRect;
-1 11264 },
-1 11265 './lib/commons/color/color.js': function libCommonsColorColorJs(module, __webpack_exports__, __webpack_require__) {
-1 11266 'use strict';
-1 11267 __webpack_require__.r(__webpack_exports__);
-1 11268 var _standards__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/standards/index.js');
-1 11269 function convertColorVal(colorFunc, value, index) {
-1 11270 if (/%$/.test(value)) {
-1 11271 if (index === 3) {
-1 11272 return parseFloat(value) / 100;
-1 11273 }
-1 11274 return parseFloat(value) * 255 / 100;
-1 11275 }
-1 11276 if (colorFunc[index] === 'h') {
-1 11277 if (/turn$/.test(value)) {
-1 11278 return parseFloat(value) * 360;
-1 11279 }
-1 11280 if (/rad$/.test(value)) {
-1 11281 return parseFloat(value) * 57.3;
-1 11282 }
-1 11283 }
-1 11284 return parseFloat(value);
-1 11285 }
-1 11286 function hslToRgb(_ref35) {
-1 11287 var _ref36 = _slicedToArray(_ref35, 4), hue = _ref36[0], saturation = _ref36[1], lightness = _ref36[2], alpha = _ref36[3];
-1 11288 saturation /= 255;
-1 11289 lightness /= 255;
-1 11290 var high = (1 - Math.abs(2 * lightness - 1)) * saturation;
-1 11291 var low = high * (1 - Math.abs(hue / 60 % 2 - 1));
-1 11292 var base = lightness - high / 2;
-1 11293 var colors;
-1 11294 if (hue < 60) {
-1 11295 colors = [ high, low, 0 ];
-1 11296 } else if (hue < 120) {
-1 11297 colors = [ low, high, 0 ];
-1 11298 } else if (hue < 180) {
-1 11299 colors = [ 0, high, low ];
-1 11300 } else if (hue < 240) {
-1 11301 colors = [ 0, low, high ];
-1 11302 } else if (hue < 300) {
-1 11303 colors = [ low, 0, high ];
-1 11304 } else {
-1 11305 colors = [ high, 0, low ];
-1 11306 }
-1 11307 return colors.map(function(color) {
-1 11308 return Math.round((color + base) * 255);
-1 11309 }).concat(alpha);
-1 11310 }
-1 11311 function Color(red, green, blue, alpha) {
-1 11312 this.red = red;
-1 11313 this.green = green;
-1 11314 this.blue = blue;
-1 11315 this.alpha = alpha;
-1 11316 this.toHexString = function() {
-1 11317 var redString = Math.round(this.red).toString(16);
-1 11318 var greenString = Math.round(this.green).toString(16);
-1 11319 var blueString = Math.round(this.blue).toString(16);
-1 11320 return '#' + (this.red > 15.5 ? redString : '0' + redString) + (this.green > 15.5 ? greenString : '0' + greenString) + (this.blue > 15.5 ? blueString : '0' + blueString);
-1 11321 };
-1 11322 var hexRegex = /^#[0-9a-f]{3,8}$/i;
-1 11323 var colorFnRegex = /^((?:rgb|hsl)a?)\s*\(([^\)]*)\)/i;
-1 11324 this.parseString = function(colorString) {
-1 11325 if (_standards__WEBPACK_IMPORTED_MODULE_0__['default'].cssColors[colorString] || colorString === 'transparent') {
-1 11326 var _ref37 = _standards__WEBPACK_IMPORTED_MODULE_0__['default'].cssColors[colorString] || [ 0, 0, 0 ], _ref38 = _slicedToArray(_ref37, 3), _red = _ref38[0], _green = _ref38[1], _blue = _ref38[2];
-1 11327 this.red = _red;
-1 11328 this.green = _green;
-1 11329 this.blue = _blue;
-1 11330 this.alpha = colorString === 'transparent' ? 0 : 1;
-1 11331 return;
-1 11332 }
-1 11333 if (colorString.match(colorFnRegex)) {
-1 11334 this.parseColorFnString(colorString);
-1 11335 return;
-1 11336 }
-1 11337 if (colorString.match(hexRegex)) {
-1 11338 this.parseHexString(colorString);
-1 11339 return;
-1 11340 }
-1 11341 throw new Error('Unable to parse color "'.concat(colorString, '"'));
-1 11342 };
-1 11343 this.parseRgbString = function(colorString) {
-1 11344 if (colorString === 'transparent') {
-1 11345 this.red = 0;
-1 11346 this.green = 0;
-1 11347 this.blue = 0;
-1 11348 this.alpha = 0;
-1 11349 return;
-1 11350 }
-1 11351 this.parseColorFnString(colorString);
-1 11352 };
-1 11353 this.parseHexString = function(colorString) {
-1 11354 if (!colorString.match(hexRegex) || [ 6, 8 ].includes(colorString.length)) {
-1 11355 return;
-1 11356 }
-1 11357 colorString = colorString.replace('#', '');
-1 11358 if (colorString.length < 6) {
-1 11359 var _colorString = colorString, _colorString2 = _slicedToArray(_colorString, 4), r = _colorString2[0], g = _colorString2[1], b = _colorString2[2], a = _colorString2[3];
-1 11360 colorString = r + r + g + g + b + b;
-1 11361 if (a) {
-1 11362 colorString += a + a;
-1 11363 }
-1 11364 }
-1 11365 var aRgbHex = colorString.match(/.{1,2}/g);
-1 11366 this.red = parseInt(aRgbHex[0], 16);
-1 11367 this.green = parseInt(aRgbHex[1], 16);
-1 11368 this.blue = parseInt(aRgbHex[2], 16);
-1 11369 if (aRgbHex[3]) {
-1 11370 this.alpha = parseInt(aRgbHex[3], 16) / 255;
-1 11371 } else {
-1 11372 this.alpha = 1;
-1 11373 }
-1 11374 };
-1 11375 this.parseColorFnString = function parseColorFnString(colorString) {
-1 11376 var _ref39 = colorString.match(colorFnRegex) || [], _ref40 = _slicedToArray(_ref39, 3), colorFunc = _ref40[1], colorValStr = _ref40[2];
-1 11377 if (!colorFunc || !colorValStr) {
-1 11378 return;
-1 11379 }
-1 11380 var colorVals = colorValStr.split(/\s*[,\/\s]\s*/).map(function(str) {
-1 11381 return str.replace(',', '').trim();
-1 11382 }).filter(function(str) {
-1 11383 return str !== '';
-1 11384 });
-1 11385 var colorNums = colorVals.map(function(val, index) {
-1 11386 return convertColorVal(colorFunc, val, index);
-1 11387 });
-1 11388 if (colorFunc.substr(0, 3) === 'hsl') {
-1 11389 colorNums = hslToRgb(colorNums);
-1 11390 }
-1 11391 this.red = colorNums[0];
-1 11392 this.green = colorNums[1];
-1 11393 this.blue = colorNums[2];
-1 11394 this.alpha = typeof colorNums[3] === 'number' ? colorNums[3] : 1;
-1 11395 };
-1 11396 this.getRelativeLuminance = function() {
-1 11397 var rSRGB = this.red / 255;
-1 11398 var gSRGB = this.green / 255;
-1 11399 var bSRGB = this.blue / 255;
-1 11400 var r = rSRGB <= .03928 ? rSRGB / 12.92 : Math.pow((rSRGB + .055) / 1.055, 2.4);
-1 11401 var g = gSRGB <= .03928 ? gSRGB / 12.92 : Math.pow((gSRGB + .055) / 1.055, 2.4);
-1 11402 var b = bSRGB <= .03928 ? bSRGB / 12.92 : Math.pow((bSRGB + .055) / 1.055, 2.4);
-1 11403 return .2126 * r + .7152 * g + .0722 * b;
-1 11404 };
-1 11405 }
-1 11406 __webpack_exports__['default'] = Color;
-1 11407 },
-1 11408 './lib/commons/color/element-has-image.js': function libCommonsColorElementHasImageJs(module, __webpack_exports__, __webpack_require__) {
-1 11409 'use strict';
-1 11410 __webpack_require__.r(__webpack_exports__);
-1 11411 var _incomplete_data__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/color/incomplete-data.js');
-1 11412 function elementHasImage(elm, style) {
-1 11413 var graphicNodes = [ 'IMG', 'CANVAS', 'OBJECT', 'IFRAME', 'VIDEO', 'SVG' ];
-1 11414 var nodeName = elm.nodeName.toUpperCase();
-1 11415 if (graphicNodes.includes(nodeName)) {
-1 11416 _incomplete_data__WEBPACK_IMPORTED_MODULE_0__['default'].set('bgColor', 'imgNode');
-1 11417 return true;
-1 11418 }
-1 11419 style = style || window.getComputedStyle(elm);
-1 11420 var bgImageStyle = style.getPropertyValue('background-image');
-1 11421 var hasBgImage = bgImageStyle !== 'none';
-1 11422 if (hasBgImage) {
-1 11423 var hasGradient = /gradient/.test(bgImageStyle);
-1 11424 _incomplete_data__WEBPACK_IMPORTED_MODULE_0__['default'].set('bgColor', hasGradient ? 'bgGradient' : 'bgImage');
-1 11425 }
-1 11426 return hasBgImage;
-1 11427 }
-1 11428 __webpack_exports__['default'] = elementHasImage;
-1 11429 },
-1 11430 './lib/commons/color/element-is-distinct.js': function libCommonsColorElementIsDistinctJs(module, __webpack_exports__, __webpack_require__) {
-1 11431 'use strict';
-1 11432 __webpack_require__.r(__webpack_exports__);
-1 11433 var _color__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/color/color.js');
-1 11434 function _getFonts(style) {
-1 11435 return style.getPropertyValue('font-family').split(/[,;]/g).map(function(font) {
-1 11436 return font.trim().toLowerCase();
-1 11437 });
-1 11438 }
-1 11439 function elementIsDistinct(node, ancestorNode) {
-1 11440 var nodeStyle = window.getComputedStyle(node);
-1 11441 if (nodeStyle.getPropertyValue('background-image') !== 'none') {
-1 11442 return true;
-1 11443 }
-1 11444 var hasBorder = [ 'border-bottom', 'border-top', 'outline' ].reduce(function(result, edge) {
-1 11445 var borderClr = new _color__WEBPACK_IMPORTED_MODULE_0__['default']();
-1 11446 borderClr.parseString(nodeStyle.getPropertyValue(edge + '-color'));
-1 11447 return result || nodeStyle.getPropertyValue(edge + '-style') !== 'none' && parseFloat(nodeStyle.getPropertyValue(edge + '-width')) > 0 && borderClr.alpha !== 0;
-1 11448 }, false);
-1 11449 if (hasBorder) {
-1 11450 return true;
-1 11451 }
-1 11452 var parentStyle = window.getComputedStyle(ancestorNode);
-1 11453 if (_getFonts(nodeStyle)[0] !== _getFonts(parentStyle)[0]) {
-1 11454 return true;
-1 11455 }
-1 11456 var hasStyle = [ 'text-decoration-line', 'text-decoration-style', 'font-weight', 'font-style', 'font-size' ].reduce(function(result, cssProp) {
-1 11457 return result || nodeStyle.getPropertyValue(cssProp) !== parentStyle.getPropertyValue(cssProp);
-1 11458 }, false);
-1 11459 var tDec = nodeStyle.getPropertyValue('text-decoration');
-1 11460 if (tDec.split(' ').length < 3) {
-1 11461 hasStyle = hasStyle || tDec !== parentStyle.getPropertyValue('text-decoration');
-1 11462 }
-1 11463 return hasStyle;
-1 11464 }
-1 11465 __webpack_exports__['default'] = elementIsDistinct;
-1 11466 },
-1 11467 './lib/commons/color/filtered-rect-stack.js': function libCommonsColorFilteredRectStackJs(module, __webpack_exports__, __webpack_require__) {
-1 11468 'use strict';
-1 11469 __webpack_require__.r(__webpack_exports__);
-1 11470 var _get_rect_stack__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/color/get-rect-stack.js');
-1 11471 var _incomplete_data__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/commons/color/incomplete-data.js');
-1 11472 function filteredRectStack(elm) {
-1 11473 var rectStack = Object(_get_rect_stack__WEBPACK_IMPORTED_MODULE_0__['default'])(elm);
-1 11474 if (rectStack && rectStack.length === 1) {
-1 11475 return rectStack[0];
-1 11476 }
-1 11477 if (rectStack && rectStack.length > 1) {
-1 11478 var boundingStack = rectStack.shift();
-1 11479 var isSame;
-1 11480 rectStack.forEach(function(rectList, index) {
-1 11481 if (index === 0) {
-1 11482 return;
-1 11483 }
-1 11484 var rectA = rectStack[index - 1], rectB = rectStack[index];
-1 11485 isSame = rectA.every(function(element, elementIndex) {
-1 11486 return element === rectB[elementIndex];
-1 11487 }) || boundingStack.includes(elm);
-1 11488 });
-1 11489 if (!isSame) {
-1 11490 _incomplete_data__WEBPACK_IMPORTED_MODULE_1__['default'].set('bgColor', 'elmPartiallyObscuring');
-1 11491 return null;
-1 11492 }
-1 11493 return rectStack[0];
-1 11494 }
-1 11495 _incomplete_data__WEBPACK_IMPORTED_MODULE_1__['default'].set('bgColor', 'outsideViewport');
-1 11496 return null;
-1 11497 }
-1 11498 __webpack_exports__['default'] = filteredRectStack;
-1 11499 },
-1 11500 './lib/commons/color/flatten-colors.js': function libCommonsColorFlattenColorsJs(module, __webpack_exports__, __webpack_require__) {
-1 11501 'use strict';
-1 11502 __webpack_require__.r(__webpack_exports__);
-1 11503 var _color__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/color/color.js');
-1 11504 function flattenColors(fgColor, bgColor) {
-1 11505 var alpha = fgColor.alpha;
-1 11506 var r = (1 - alpha) * bgColor.red + alpha * fgColor.red;
-1 11507 var g = (1 - alpha) * bgColor.green + alpha * fgColor.green;
-1 11508 var b = (1 - alpha) * bgColor.blue + alpha * fgColor.blue;
-1 11509 var a = fgColor.alpha + bgColor.alpha * (1 - fgColor.alpha);
-1 11510 return new _color__WEBPACK_IMPORTED_MODULE_0__['default'](r, g, b, a);
-1 11511 }
-1 11512 __webpack_exports__['default'] = flattenColors;
-1 11513 },
-1 11514 './lib/commons/color/get-background-color.js': function libCommonsColorGetBackgroundColorJs(module, __webpack_exports__, __webpack_require__) {
-1 11515 'use strict';
-1 11516 __webpack_require__.r(__webpack_exports__);
-1 11517 var _incomplete_data__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/color/incomplete-data.js');
-1 11518 var _get_background_stack__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/commons/color/get-background-stack.js');
-1 11519 var _get_own_background_color__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__('./lib/commons/color/get-own-background-color.js');
-1 11520 var _element_has_image__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__('./lib/commons/color/element-has-image.js');
-1 11521 var _color__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__('./lib/commons/color/color.js');
-1 11522 var _flatten_colors__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__('./lib/commons/color/flatten-colors.js');
-1 11523 var _get_text_shadow_colors__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__('./lib/commons/color/get-text-shadow-colors.js');
-1 11524 var _dom_visually_contains__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__('./lib/commons/dom/visually-contains.js');
-1 11525 function elmPartiallyObscured(elm, bgElm, bgColor) {
-1 11526 var obscured = elm !== bgElm && !Object(_dom_visually_contains__WEBPACK_IMPORTED_MODULE_7__['default'])(elm, bgElm) && bgColor.alpha !== 0;
-1 11527 if (obscured) {
-1 11528 _incomplete_data__WEBPACK_IMPORTED_MODULE_0__['default'].set('bgColor', 'elmPartiallyObscured');
-1 11529 }
-1 11530 return obscured;
-1 11531 }
-1 11532 function getBackgroundColor(elm) {
-1 11533 var bgElms = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
-1 11534 var bgColors = Object(_get_text_shadow_colors__WEBPACK_IMPORTED_MODULE_6__['default'])(elm);
-1 11535 var elmStack = Object(_get_background_stack__WEBPACK_IMPORTED_MODULE_1__['default'])(elm);
-1 11536 (elmStack || []).some(function(bgElm) {
-1 11537 var bgElmStyle = window.getComputedStyle(bgElm);
-1 11538 var bgColor = Object(_get_own_background_color__WEBPACK_IMPORTED_MODULE_2__['default'])(bgElmStyle);
-1 11539 if (elmPartiallyObscured(elm, bgElm, bgColor) || Object(_element_has_image__WEBPACK_IMPORTED_MODULE_3__['default'])(bgElm, bgElmStyle)) {
-1 11540 bgColors = null;
-1 11541 bgElms.push(bgElm);
-1 11542 return true;
-1 11543 }
-1 11544 if (bgColor.alpha !== 0) {
-1 11545 bgElms.push(bgElm);
-1 11546 bgColors.push(bgColor);
-1 11547 return bgColor.alpha === 1;
-1 11548 } else {
-1 11549 return false;
-1 11550 }
-1 11551 });
-1 11552 if (bgColors === null || elmStack === null) {
-1 11553 return null;
-1 11554 }
-1 11555 bgColors.push(new _color__WEBPACK_IMPORTED_MODULE_4__['default'](255, 255, 255, 1));
-1 11556 var colors = bgColors.reduce(_flatten_colors__WEBPACK_IMPORTED_MODULE_5__['default']);
-1 11557 return colors;
-1 11558 }
-1 11559 __webpack_exports__['default'] = getBackgroundColor;
-1 11560 },
-1 11561 './lib/commons/color/get-background-stack.js': function libCommonsColorGetBackgroundStackJs(module, __webpack_exports__, __webpack_require__) {
-1 11562 'use strict';
-1 11563 __webpack_require__.r(__webpack_exports__);
-1 11564 var _filtered_rect_stack__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/color/filtered-rect-stack.js');
-1 11565 var _element_has_image__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/commons/color/element-has-image.js');
-1 11566 var _get_own_background_color__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__('./lib/commons/color/get-own-background-color.js');
-1 11567 var _incomplete_data__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__('./lib/commons/color/incomplete-data.js');
-1 11568 var _dom_shadow_elements_from_point__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__('./lib/commons/dom/shadow-elements-from-point.js');
-1 11569 var _dom_reduce_to_elements_below_floating__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__('./lib/commons/dom/reduce-to-elements-below-floating.js');
-1 11570 function contentOverlapping(targetElement, bgNode) {
-1 11571 var targetRect = targetElement.getClientRects()[0];
-1 11572 var obscuringElements = Object(_dom_shadow_elements_from_point__WEBPACK_IMPORTED_MODULE_4__['default'])(targetRect.left, targetRect.top);
-1 11573 if (obscuringElements) {
-1 11574 for (var i = 0; i < obscuringElements.length; i++) {
-1 11575 if (obscuringElements[i] !== targetElement && obscuringElements[i] === bgNode) {
-1 11576 return true;
-1 11577 }
-1 11578 }
-1 11579 }
-1 11580 return false;
-1 11581 }
-1 11582 function calculateObscuringElement(elmIndex, elmStack, originalElm) {
-1 11583 if (elmIndex > 0) {
-1 11584 for (var i = elmIndex - 1; i >= 0; i--) {
-1 11585 var bgElm = elmStack[i];
-1 11586 if (contentOverlapping(originalElm, bgElm)) {
-1 11587 return true;
-1 11588 } else {
-1 11589 elmStack.splice(i, 1);
-1 11590 }
-1 11591 }
-1 11592 }
-1 11593 return false;
-1 11594 }
-1 11595 function sortPageBackground(elmStack) {
-1 11596 var bodyIndex = elmStack.indexOf(document.body);
-1 11597 var bgNodes = elmStack;
-1 11598 var sortBodyElement = bodyIndex > 1 || bodyIndex === -1;
-1 11599 if (sortBodyElement && !Object(_element_has_image__WEBPACK_IMPORTED_MODULE_1__['default'])(document.documentElement) && Object(_get_own_background_color__WEBPACK_IMPORTED_MODULE_2__['default'])(window.getComputedStyle(document.documentElement)).alpha === 0) {
-1 11600 if (bodyIndex > 1) {
-1 11601 bgNodes.splice(bodyIndex, 1);
-1 11602 }
-1 11603 bgNodes.splice(elmStack.indexOf(document.documentElement), 1);
-1 11604 bgNodes.push(document.body);
-1 11605 }
-1 11606 return bgNodes;
-1 11607 }
-1 11608 function getBackgroundStack(elm) {
-1 11609 var elmStack = Object(_filtered_rect_stack__WEBPACK_IMPORTED_MODULE_0__['default'])(elm);
-1 11610 if (elmStack === null) {
-1 11611 return null;
-1 11612 }
-1 11613 elmStack = Object(_dom_reduce_to_elements_below_floating__WEBPACK_IMPORTED_MODULE_5__['default'])(elmStack, elm);
-1 11614 elmStack = sortPageBackground(elmStack);
-1 11615 var elmIndex = elmStack.indexOf(elm);
-1 11616 if (calculateObscuringElement(elmIndex, elmStack, elm)) {
-1 11617 _incomplete_data__WEBPACK_IMPORTED_MODULE_3__['default'].set('bgColor', 'bgOverlap');
-1 11618 return null;
-1 11619 }
-1 11620 return elmIndex !== -1 ? elmStack : null;
-1 11621 }
-1 11622 __webpack_exports__['default'] = getBackgroundStack;
-1 11623 },
-1 11624 './lib/commons/color/get-contrast.js': function libCommonsColorGetContrastJs(module, __webpack_exports__, __webpack_require__) {
-1 11625 'use strict';
-1 11626 __webpack_require__.r(__webpack_exports__);
-1 11627 var _flatten_colors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/color/flatten-colors.js');
-1 11628 function getContrast(bgColor, fgColor) {
-1 11629 if (!fgColor || !bgColor) {
-1 11630 return null;
-1 11631 }
-1 11632 if (fgColor.alpha < 1) {
-1 11633 fgColor = Object(_flatten_colors__WEBPACK_IMPORTED_MODULE_0__['default'])(fgColor, bgColor);
-1 11634 }
-1 11635 var bL = bgColor.getRelativeLuminance();
-1 11636 var fL = fgColor.getRelativeLuminance();
-1 11637 return (Math.max(fL, bL) + .05) / (Math.min(fL, bL) + .05);
-1 11638 }
-1 11639 __webpack_exports__['default'] = getContrast;
-1 11640 },
-1 11641 './lib/commons/color/get-foreground-color.js': function libCommonsColorGetForegroundColorJs(module, __webpack_exports__, __webpack_require__) {
-1 11642 'use strict';
-1 11643 __webpack_require__.r(__webpack_exports__);
-1 11644 var _color__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/color/color.js');
-1 11645 var _get_background_color__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/commons/color/get-background-color.js');
-1 11646 var _incomplete_data__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__('./lib/commons/color/incomplete-data.js');
-1 11647 var _flatten_colors__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__('./lib/commons/color/flatten-colors.js');
-1 11648 var _core_utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__('./lib/core/utils/index.js');
-1 11649 function getOpacity(node) {
-1 11650 if (!node) {
-1 11651 return 1;
-1 11652 }
-1 11653 var vNode = Object(_core_utils__WEBPACK_IMPORTED_MODULE_4__['getNodeFromTree'])(node);
-1 11654 if (vNode && vNode._opacity !== undefined && vNode._opacity !== null) {
-1 11655 return vNode._opacity;
-1 11656 }
-1 11657 var nodeStyle = window.getComputedStyle(node);
-1 11658 var opacity = nodeStyle.getPropertyValue('opacity');
-1 11659 var finalOpacity = opacity * getOpacity(node.parentElement);
-1 11660 if (vNode) {
-1 11661 vNode._opacity = finalOpacity;
-1 11662 }
-1 11663 return finalOpacity;
-1 11664 }
-1 11665 function getForegroundColor(node, _, bgColor) {
-1 11666 var nodeStyle = window.getComputedStyle(node);
-1 11667 var fgColor = new _color__WEBPACK_IMPORTED_MODULE_0__['default']();
-1 11668 fgColor.parseString(nodeStyle.getPropertyValue('color'));
-1 11669 var opacity = getOpacity(node);
-1 11670 fgColor.alpha = fgColor.alpha * opacity;
-1 11671 if (fgColor.alpha === 1) {
-1 11672 return fgColor;
-1 11673 }
-1 11674 if (!bgColor) {
-1 11675 bgColor = Object(_get_background_color__WEBPACK_IMPORTED_MODULE_1__['default'])(node, []);
-1 11676 }
-1 11677 if (bgColor === null) {
-1 11678 var reason = _incomplete_data__WEBPACK_IMPORTED_MODULE_2__['default'].get('bgColor');
-1 11679 _incomplete_data__WEBPACK_IMPORTED_MODULE_2__['default'].set('fgColor', reason);
-1 11680 return null;
-1 11681 }
-1 11682 return Object(_flatten_colors__WEBPACK_IMPORTED_MODULE_3__['default'])(fgColor, bgColor);
-1 11683 }
-1 11684 __webpack_exports__['default'] = getForegroundColor;
-1 11685 },
-1 11686 './lib/commons/color/get-own-background-color.js': function libCommonsColorGetOwnBackgroundColorJs(module, __webpack_exports__, __webpack_require__) {
-1 11687 'use strict';
-1 11688 __webpack_require__.r(__webpack_exports__);
-1 11689 var _color__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/color/color.js');
-1 11690 function getOwnBackgroundColor(elmStyle) {
-1 11691 var bgColor = new _color__WEBPACK_IMPORTED_MODULE_0__['default']();
-1 11692 bgColor.parseString(elmStyle.getPropertyValue('background-color'));
-1 11693 if (bgColor.alpha !== 0) {
-1 11694 var opacity = elmStyle.getPropertyValue('opacity');
-1 11695 bgColor.alpha = bgColor.alpha * opacity;
-1 11696 }
-1 11697 return bgColor;
-1 11698 }
-1 11699 __webpack_exports__['default'] = getOwnBackgroundColor;
-1 11700 },
-1 11701 './lib/commons/color/get-rect-stack.js': function libCommonsColorGetRectStackJs(module, __webpack_exports__, __webpack_require__) {
-1 11702 'use strict';
-1 11703 __webpack_require__.r(__webpack_exports__);
-1 11704 var _dom_get_element_stack__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/dom/get-element-stack.js');
-1 11705 var _dom_get_text_element_stack__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/commons/dom/get-text-element-stack.js');
-1 11706 function getRectStack(elm) {
-1 11707 var boundingStack = Object(_dom_get_element_stack__WEBPACK_IMPORTED_MODULE_0__['default'])(elm);
-1 11708 var filteredArr = Object(_dom_get_text_element_stack__WEBPACK_IMPORTED_MODULE_1__['default'])(elm);
-1 11709 if (!filteredArr || filteredArr.length <= 1) {
-1 11710 return [ boundingStack ];
-1 11711 }
-1 11712 if (filteredArr.some(function(stack) {
-1 11713 return stack === undefined;
-1 11714 })) {
-1 11715 return null;
-1 11716 }
-1 11717 filteredArr.splice(0, 0, boundingStack);
-1 11718 return filteredArr;
-1 11719 }
-1 11720 __webpack_exports__['default'] = getRectStack;
-1 11721 },
-1 11722 './lib/commons/color/get-text-shadow-colors.js': function libCommonsColorGetTextShadowColorsJs(module, __webpack_exports__, __webpack_require__) {
-1 11723 'use strict';
-1 11724 __webpack_require__.r(__webpack_exports__);
-1 11725 var _color__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/color/color.js');
-1 11726 var _core_utils_assert__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/core/utils/assert.js');
-1 11727 function getTextShadowColors(node) {
-1 11728 var style = window.getComputedStyle(node);
-1 11729 var textShadow = style.getPropertyValue('text-shadow');
-1 11730 if (textShadow === 'none') {
-1 11731 return [];
-1 11732 }
-1 11733 var shadows = parseTextShadows(textShadow);
-1 11734 return shadows.map(function(_ref41) {
-1 11735 var colorStr = _ref41.colorStr, pixels = _ref41.pixels;
-1 11736 colorStr = colorStr || style.getPropertyValue('color');
-1 11737 var _pixels = _slicedToArray(pixels, 3), offsetY = _pixels[0], offsetX = _pixels[1], _pixels$ = _pixels[2], blurRadius = _pixels$ === void 0 ? 0 : _pixels$;
-1 11738 return textShadowColor({
-1 11739 colorStr: colorStr,
-1 11740 offsetY: offsetY,
-1 11741 offsetX: offsetX,
-1 11742 blurRadius: blurRadius
-1 11743 });
-1 11744 });
-1 11745 }
-1 11746 function parseTextShadows(textShadow) {
-1 11747 var current = {
-1 11748 pixels: []
-1 11749 };
-1 11750 var str = textShadow.trim();
-1 11751 var shadows = [ current ];
-1 11752 if (!str) {
-1 11753 return [];
-1 11754 }
-1 11755 while (str) {
-1 11756 var colorMatch = str.match(/^rgba?\([0-9,.\s]+\)/i) || str.match(/^[a-z]+/i) || str.match(/^#[0-9a-f]+/i);
-1 11757 var pixelMatch = str.match(/^([0-9.-]+)px/i) || str.match(/^(0)/);
-1 11758 if (colorMatch) {
-1 11759 Object(_core_utils_assert__WEBPACK_IMPORTED_MODULE_1__['default'])(!current.colorStr, 'Multiple colors identified in text-shadow: '.concat(textShadow));
-1 11760 str = str.replace(colorMatch[0], '').trim();
-1 11761 current.colorStr = colorMatch[0];
-1 11762 } else if (pixelMatch) {
-1 11763 Object(_core_utils_assert__WEBPACK_IMPORTED_MODULE_1__['default'])(current.pixels.length < 3, 'Too many pixel units in text-shadow: '.concat(textShadow));
-1 11764 str = str.replace(pixelMatch[0], '').trim();
-1 11765 var pixelUnit = parseFloat((pixelMatch[1][0] === '.' ? '0' : '') + pixelMatch[1]);
-1 11766 current.pixels.push(pixelUnit);
-1 11767 } else if (str[0] === ',') {
-1 11768 Object(_core_utils_assert__WEBPACK_IMPORTED_MODULE_1__['default'])(current.pixels.length >= 2, 'Missing pixel value in text-shadow: '.concat(textShadow));
-1 11769 current = {
-1 11770 pixels: []
-1 11771 };
-1 11772 shadows.push(current);
-1 11773 str = str.substr(1).trim();
-1 11774 } else {
-1 11775 throw new Error('Unable to process text-shadows: '.concat(textShadow));
-1 11776 }
-1 11777 }
-1 11778 return shadows;
-1 11779 }
-1 11780 function textShadowColor(_ref42) {
-1 11781 var colorStr = _ref42.colorStr, offsetX = _ref42.offsetX, offsetY = _ref42.offsetY, blurRadius = _ref42.blurRadius;
-1 11782 if (offsetX > blurRadius || offsetY > blurRadius) {
-1 11783 return new _color__WEBPACK_IMPORTED_MODULE_0__['default'](0, 0, 0, 0);
-1 11784 }
-1 11785 var shadowColor = new _color__WEBPACK_IMPORTED_MODULE_0__['default']();
-1 11786 shadowColor.parseString(colorStr);
-1 11787 shadowColor.alpha *= blurRadiusToAlpha(blurRadius);
-1 11788 return shadowColor;
-1 11789 }
-1 11790 function blurRadiusToAlpha(blurRadius) {
-1 11791 return 3.7 / (blurRadius + 8);
-1 11792 }
-1 11793 __webpack_exports__['default'] = getTextShadowColors;
-1 11794 },
-1 11795 './lib/commons/color/has-valid-contrast-ratio.js': function libCommonsColorHasValidContrastRatioJs(module, __webpack_exports__, __webpack_require__) {
-1 11796 'use strict';
-1 11797 __webpack_require__.r(__webpack_exports__);
-1 11798 var _get_contrast__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/color/get-contrast.js');
-1 11799 function hasValidContrastRatio(bg, fg, fontSize, isBold) {
-1 11800 var contrast = Object(_get_contrast__WEBPACK_IMPORTED_MODULE_0__['default'])(bg, fg);
-1 11801 var isSmallFont = isBold && Math.ceil(fontSize * 72) / 96 < 14 || !isBold && Math.ceil(fontSize * 72) / 96 < 18;
-1 11802 var expectedContrastRatio = isSmallFont ? 4.5 : 3;
-1 11803 return {
-1 11804 isValid: contrast > expectedContrastRatio,
-1 11805 contrastRatio: contrast,
-1 11806 expectedContrastRatio: expectedContrastRatio
-1 11807 };
-1 11808 }
-1 11809 __webpack_exports__['default'] = hasValidContrastRatio;
-1 11810 },
-1 11811 './lib/commons/color/incomplete-data.js': function libCommonsColorIncompleteDataJs(module, __webpack_exports__, __webpack_require__) {
-1 11812 'use strict';
-1 11813 __webpack_require__.r(__webpack_exports__);
-1 11814 var data = {};
-1 11815 var incompleteData = {
-1 11816 set: function set(key, reason) {
-1 11817 if (typeof key !== 'string') {
-1 11818 throw new Error('Incomplete data: key must be a string');
-1 11819 }
-1 11820 if (reason) {
-1 11821 data[key] = reason;
-1 11822 }
-1 11823 return data[key];
-1 11824 },
-1 11825 get: function get(key) {
-1 11826 return data[key];
-1 11827 },
-1 11828 clear: function clear() {
-1 11829 data = {};
-1 11830 }
-1 11831 };
-1 11832 __webpack_exports__['default'] = incompleteData;
-1 11833 },
-1 11834 './lib/commons/color/index.js': function libCommonsColorIndexJs(module, __webpack_exports__, __webpack_require__) {
-1 11835 'use strict';
-1 11836 __webpack_require__.r(__webpack_exports__);
-1 11837 var _center_point_of_rect__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/color/center-point-of-rect.js');
-1 11838 __webpack_require__.d(__webpack_exports__, 'centerPointOfRect', function() {
-1 11839 return _center_point_of_rect__WEBPACK_IMPORTED_MODULE_0__['default'];
-1 11840 });
-1 11841 var _color__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/commons/color/color.js');
-1 11842 __webpack_require__.d(__webpack_exports__, 'Color', function() {
-1 11843 return _color__WEBPACK_IMPORTED_MODULE_1__['default'];
-1 11844 });
-1 11845 var _element_has_image__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__('./lib/commons/color/element-has-image.js');
-1 11846 __webpack_require__.d(__webpack_exports__, 'elementHasImage', function() {
-1 11847 return _element_has_image__WEBPACK_IMPORTED_MODULE_2__['default'];
-1 11848 });
-1 11849 var _element_is_distinct__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__('./lib/commons/color/element-is-distinct.js');
-1 11850 __webpack_require__.d(__webpack_exports__, 'elementIsDistinct', function() {
-1 11851 return _element_is_distinct__WEBPACK_IMPORTED_MODULE_3__['default'];
-1 11852 });
-1 11853 var _filtered_rect_stack__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__('./lib/commons/color/filtered-rect-stack.js');
-1 11854 __webpack_require__.d(__webpack_exports__, 'filteredRectStack', function() {
-1 11855 return _filtered_rect_stack__WEBPACK_IMPORTED_MODULE_4__['default'];
-1 11856 });
-1 11857 var _flatten_colors__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__('./lib/commons/color/flatten-colors.js');
-1 11858 __webpack_require__.d(__webpack_exports__, 'flattenColors', function() {
-1 11859 return _flatten_colors__WEBPACK_IMPORTED_MODULE_5__['default'];
-1 11860 });
-1 11861 var _get_background_color__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__('./lib/commons/color/get-background-color.js');
-1 11862 __webpack_require__.d(__webpack_exports__, 'getBackgroundColor', function() {
-1 11863 return _get_background_color__WEBPACK_IMPORTED_MODULE_6__['default'];
-1 11864 });
-1 11865 var _get_background_stack__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__('./lib/commons/color/get-background-stack.js');
-1 11866 __webpack_require__.d(__webpack_exports__, 'getBackgroundStack', function() {
-1 11867 return _get_background_stack__WEBPACK_IMPORTED_MODULE_7__['default'];
-1 11868 });
-1 11869 var _get_contrast__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__('./lib/commons/color/get-contrast.js');
-1 11870 __webpack_require__.d(__webpack_exports__, 'getContrast', function() {
-1 11871 return _get_contrast__WEBPACK_IMPORTED_MODULE_8__['default'];
-1 11872 });
-1 11873 var _get_foreground_color__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__('./lib/commons/color/get-foreground-color.js');
-1 11874 __webpack_require__.d(__webpack_exports__, 'getForegroundColor', function() {
-1 11875 return _get_foreground_color__WEBPACK_IMPORTED_MODULE_9__['default'];
-1 11876 });
-1 11877 var _get_own_background_color__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__('./lib/commons/color/get-own-background-color.js');
-1 11878 __webpack_require__.d(__webpack_exports__, 'getOwnBackgroundColor', function() {
-1 11879 return _get_own_background_color__WEBPACK_IMPORTED_MODULE_10__['default'];
-1 11880 });
-1 11881 var _get_rect_stack__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__('./lib/commons/color/get-rect-stack.js');
-1 11882 __webpack_require__.d(__webpack_exports__, 'getRectStack', function() {
-1 11883 return _get_rect_stack__WEBPACK_IMPORTED_MODULE_11__['default'];
-1 11884 });
-1 11885 var _has_valid_contrast_ratio__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__('./lib/commons/color/has-valid-contrast-ratio.js');
-1 11886 __webpack_require__.d(__webpack_exports__, 'hasValidContrastRatio', function() {
-1 11887 return _has_valid_contrast_ratio__WEBPACK_IMPORTED_MODULE_12__['default'];
-1 11888 });
-1 11889 var _incomplete_data__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__('./lib/commons/color/incomplete-data.js');
-1 11890 __webpack_require__.d(__webpack_exports__, 'incompleteData', function() {
-1 11891 return _incomplete_data__WEBPACK_IMPORTED_MODULE_13__['default'];
-1 11892 });
-1 11893 var _get_text_shadow_colors__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__('./lib/commons/color/get-text-shadow-colors.js');
-1 11894 __webpack_require__.d(__webpack_exports__, 'getTextShadowColors', function() {
-1 11895 return _get_text_shadow_colors__WEBPACK_IMPORTED_MODULE_14__['default'];
-1 11896 });
-1 11897 },
-1 11898 './lib/commons/dom/find-elms-in-context.js': function libCommonsDomFindElmsInContextJs(module, __webpack_exports__, __webpack_require__) {
-1 11899 'use strict';
-1 11900 __webpack_require__.r(__webpack_exports__);
-1 11901 var _get_root_node__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/dom/get-root-node.js');
-1 11902 var _core_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/core/utils/index.js');
-1 11903 function findElmsInContext(_ref43) {
-1 11904 var context = _ref43.context, value = _ref43.value, attr = _ref43.attr, _ref43$elm = _ref43.elm, elm = _ref43$elm === void 0 ? '' : _ref43$elm;
-1 11905 var root;
-1 11906 var escapedValue = Object(_core_utils__WEBPACK_IMPORTED_MODULE_1__['escapeSelector'])(value);
-1 11907 if (context.nodeType === 9 || context.nodeType === 11) {
-1 11908 root = context;
-1 11909 } else {
-1 11910 root = Object(_get_root_node__WEBPACK_IMPORTED_MODULE_0__['default'])(context);
-1 11911 }
-1 11912 return Array.from(root.querySelectorAll(elm + '[' + attr + '=' + escapedValue + ']'));
-1 11913 }
-1 11914 __webpack_exports__['default'] = findElmsInContext;
-1 11915 },
-1 11916 './lib/commons/dom/find-up-virtual.js': function libCommonsDomFindUpVirtualJs(module, __webpack_exports__, __webpack_require__) {
-1 11917 'use strict';
-1 11918 __webpack_require__.r(__webpack_exports__);
-1 11919 var _core_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/core/utils/index.js');
-1 11920 function findUpVirtual(element, target) {
-1 11921 var parent;
-1 11922 parent = element.actualNode;
-1 11923 if (!element.shadowId && typeof element.actualNode.closest === 'function') {
-1 11924 var match = element.actualNode.closest(target);
-1 11925 if (match) {
-1 11926 return match;
-1 11927 }
-1 11928 return null;
-1 11929 }
-1 11930 do {
-1 11931 parent = parent.assignedSlot ? parent.assignedSlot : parent.parentNode;
-1 11932 if (parent && parent.nodeType === 11) {
-1 11933 parent = parent.host;
-1 11934 }
-1 11935 } while (parent && !Object(_core_utils__WEBPACK_IMPORTED_MODULE_0__['matchesSelector'])(parent, target) && parent !== document.documentElement);
-1 11936 if (!parent) {
-1 11937 return null;
-1 11938 }
-1 11939 if (!Object(_core_utils__WEBPACK_IMPORTED_MODULE_0__['matchesSelector'])(parent, target)) {
-1 11940 return null;
-1 11941 }
-1 11942 return parent;
-1 11943 }
-1 11944 __webpack_exports__['default'] = findUpVirtual;
-1 11945 },
-1 11946 './lib/commons/dom/find-up.js': function libCommonsDomFindUpJs(module, __webpack_exports__, __webpack_require__) {
-1 11947 'use strict';
-1 11948 __webpack_require__.r(__webpack_exports__);
-1 11949 var _find_up_virtual__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/dom/find-up-virtual.js');
-1 11950 var _core_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/core/utils/index.js');
-1 11951 function findUp(element, target) {
-1 11952 return Object(_find_up_virtual__WEBPACK_IMPORTED_MODULE_0__['default'])(Object(_core_utils__WEBPACK_IMPORTED_MODULE_1__['getNodeFromTree'])(element), target);
-1 11953 }
-1 11954 __webpack_exports__['default'] = findUp;
-1 11955 },
-1 11956 './lib/commons/dom/focus-disabled.js': function libCommonsDomFocusDisabledJs(module, __webpack_exports__, __webpack_require__) {
-1 11957 'use strict';
-1 11958 __webpack_require__.r(__webpack_exports__);
-1 11959 var _core_base_virtual_node_abstract_virtual_node__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/core/base/virtual-node/abstract-virtual-node.js');
-1 11960 var _core_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/core/utils/index.js');
-1 11961 var _is_hidden_with_css__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__('./lib/commons/dom/is-hidden-with-css.js');
-1 11962 function focusDisabled(el) {
-1 11963 var vNode = el instanceof _core_base_virtual_node_abstract_virtual_node__WEBPACK_IMPORTED_MODULE_0__['default'] ? el : Object(_core_utils__WEBPACK_IMPORTED_MODULE_1__['getNodeFromTree'])(el);
-1 11964 if (vNode.hasAttr('disabled')) {
-1 11965 return true;
-1 11966 }
-1 11967 if (vNode.props.nodeName !== 'area') {
-1 11968 if (!vNode.actualNode) {
-1 11969 return false;
-1 11970 }
-1 11971 return Object(_is_hidden_with_css__WEBPACK_IMPORTED_MODULE_2__['default'])(vNode.actualNode);
-1 11972 }
-1 11973 return false;
-1 11974 }
-1 11975 __webpack_exports__['default'] = focusDisabled;
-1 11976 },
-1 11977 './lib/commons/dom/get-composed-parent.js': function libCommonsDomGetComposedParentJs(module, __webpack_exports__, __webpack_require__) {
-1 11978 'use strict';
-1 11979 __webpack_require__.r(__webpack_exports__);
-1 11980 function getComposedParent(element) {
-1 11981 if (element.assignedSlot) {
-1 11982 return getComposedParent(element.assignedSlot);
-1 11983 } else if (element.parentNode) {
-1 11984 var parentNode = element.parentNode;
-1 11985 if (parentNode.nodeType === 1) {
-1 11986 return parentNode;
-1 11987 } else if (parentNode.host) {
-1 11988 return parentNode.host;
-1 11989 }
-1 11990 }
-1 11991 return null;
-1 11992 }
-1 11993 __webpack_exports__['default'] = getComposedParent;
-1 11994 },
-1 11995 './lib/commons/dom/get-element-by-reference.js': function libCommonsDomGetElementByReferenceJs(module, __webpack_exports__, __webpack_require__) {
-1 11996 'use strict';
-1 11997 __webpack_require__.r(__webpack_exports__);
-1 11998 function getElementByReference(node, attr) {
-1 11999 var fragment = node.getAttribute(attr);
-1 12000 if (!fragment) {
-1 12001 return null;
-1 12002 }
-1 12003 if (fragment.charAt(0) === '#') {
-1 12004 fragment = decodeURIComponent(fragment.substring(1));
-1 12005 } else if (fragment.substr(0, 2) === '/#') {
-1 12006 fragment = decodeURIComponent(fragment.substring(2));
-1 12007 }
-1 12008 var candidate = document.getElementById(fragment);
-1 12009 if (candidate) {
-1 12010 return candidate;
-1 12011 }
-1 12012 candidate = document.getElementsByName(fragment);
-1 12013 if (candidate.length) {
-1 12014 return candidate[0];
-1 12015 }
-1 12016 return null;
-1 12017 }
-1 12018 __webpack_exports__['default'] = getElementByReference;
-1 12019 },
-1 12020 './lib/commons/dom/get-element-coordinates.js': function libCommonsDomGetElementCoordinatesJs(module, __webpack_exports__, __webpack_require__) {
-1 12021 'use strict';
-1 12022 __webpack_require__.r(__webpack_exports__);
-1 12023 var _get_scroll_offset__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/dom/get-scroll-offset.js');
-1 12024 function getElementCoordinates(element) {
-1 12025 'use strict';
-1 12026 var scrollOffset = Object(_get_scroll_offset__WEBPACK_IMPORTED_MODULE_0__['default'])(document), xOffset = scrollOffset.left, yOffset = scrollOffset.top, coords = element.getBoundingClientRect();
-1 12027 return {
-1 12028 top: coords.top + yOffset,
-1 12029 right: coords.right + xOffset,
-1 12030 bottom: coords.bottom + yOffset,
-1 12031 left: coords.left + xOffset,
-1 12032 width: coords.right - coords.left,
-1 12033 height: coords.bottom - coords.top
-1 12034 };
-1 12035 }
-1 12036 __webpack_exports__['default'] = getElementCoordinates;
-1 12037 },
-1 12038 './lib/commons/dom/get-element-stack.js': function libCommonsDomGetElementStackJs(module, __webpack_exports__, __webpack_require__) {
-1 12039 'use strict';
-1 12040 __webpack_require__.r(__webpack_exports__);
-1 12041 var _get_rect_stack__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/dom/get-rect-stack.js');
-1 12042 var _core_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/core/utils/index.js');
-1 12043 var _core_base_cache__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__('./lib/core/base/cache.js');
-1 12044 function getElementStack(node) {
-1 12045 if (!_core_base_cache__WEBPACK_IMPORTED_MODULE_2__['default'].get('gridCreated')) {
-1 12046 Object(_get_rect_stack__WEBPACK_IMPORTED_MODULE_0__['createGrid'])();
-1 12047 _core_base_cache__WEBPACK_IMPORTED_MODULE_2__['default'].set('gridCreated', true);
-1 12048 }
-1 12049 var vNode = Object(_core_utils__WEBPACK_IMPORTED_MODULE_1__['getNodeFromTree'])(node);
-1 12050 var grid = vNode._grid;
-1 12051 if (!grid) {
-1 12052 return [];
-1 12053 }
-1 12054 return Object(_get_rect_stack__WEBPACK_IMPORTED_MODULE_0__['getRectStack'])(grid, vNode.boundingClientRect);
-1 12055 }
-1 12056 __webpack_exports__['default'] = getElementStack;
-1 12057 },
-1 12058 './lib/commons/dom/get-rect-stack.js': function libCommonsDomGetRectStackJs(module, __webpack_exports__, __webpack_require__) {
-1 12059 'use strict';
-1 12060 __webpack_require__.r(__webpack_exports__);
-1 12061 __webpack_require__.d(__webpack_exports__, 'createGrid', function() {
-1 12062 return createGrid;
-1 12063 });
-1 12064 __webpack_require__.d(__webpack_exports__, 'getRectStack', function() {
-1 12065 return getRectStack;
-1 12066 });
-1 12067 var _is_visible__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/dom/is-visible.js');
-1 12068 var _core_base_virtual_node_virtual_node__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/core/base/virtual-node/virtual-node.js');
-1 12069 var _core_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__('./lib/core/utils/index.js');
-1 12070 var gridSize = 200;
-1 12071 function isStackingContext(vNode, parentVNode) {
-1 12072 var position = vNode.getComputedStylePropertyValue('position');
-1 12073 var zIndex = vNode.getComputedStylePropertyValue('z-index');
-1 12074 if (position === 'fixed' || position === 'sticky') {
-1 12075 return true;
-1 12076 }
-1 12077 if (zIndex !== 'auto' && position !== 'static') {
-1 12078 return true;
-1 12079 }
-1 12080 if (vNode.getComputedStylePropertyValue('opacity') !== '1') {
-1 12081 return true;
-1 12082 }
-1 12083 var transform = vNode.getComputedStylePropertyValue('-webkit-transform') || vNode.getComputedStylePropertyValue('-ms-transform') || vNode.getComputedStylePropertyValue('transform') || 'none';
-1 12084 if (transform !== 'none') {
-1 12085 return true;
-1 12086 }
-1 12087 var mixBlendMode = vNode.getComputedStylePropertyValue('mix-blend-mode');
-1 12088 if (mixBlendMode && mixBlendMode !== 'normal') {
-1 12089 return true;
-1 12090 }
-1 12091 var filter = vNode.getComputedStylePropertyValue('filter');
-1 12092 if (filter && filter !== 'none') {
-1 12093 return true;
-1 12094 }
-1 12095 var perspective = vNode.getComputedStylePropertyValue('perspective');
-1 12096 if (perspective && perspective !== 'none') {
-1 12097 return true;
-1 12098 }
-1 12099 var clipPath = vNode.getComputedStylePropertyValue('clip-path');
-1 12100 if (clipPath && clipPath !== 'none') {
-1 12101 return true;
-1 12102 }
-1 12103 var mask = vNode.getComputedStylePropertyValue('-webkit-mask') || vNode.getComputedStylePropertyValue('mask') || 'none';
-1 12104 if (mask !== 'none') {
-1 12105 return true;
-1 12106 }
-1 12107 var maskImage = vNode.getComputedStylePropertyValue('-webkit-mask-image') || vNode.getComputedStylePropertyValue('mask-image') || 'none';
-1 12108 if (maskImage !== 'none') {
-1 12109 return true;
-1 12110 }
-1 12111 var maskBorder = vNode.getComputedStylePropertyValue('-webkit-mask-border') || vNode.getComputedStylePropertyValue('mask-border') || 'none';
-1 12112 if (maskBorder !== 'none') {
-1 12113 return true;
-1 12114 }
-1 12115 if (vNode.getComputedStylePropertyValue('isolation') === 'isolate') {
-1 12116 return true;
-1 12117 }
-1 12118 var willChange = vNode.getComputedStylePropertyValue('will-change');
-1 12119 if (willChange === 'transform' || willChange === 'opacity') {
-1 12120 return true;
-1 12121 }
-1 12122 if (vNode.getComputedStylePropertyValue('-webkit-overflow-scrolling') === 'touch') {
-1 12123 return true;
-1 12124 }
-1 12125 var contain = vNode.getComputedStylePropertyValue('contain');
-1 12126 if ([ 'layout', 'paint', 'strict', 'content' ].includes(contain)) {
-1 12127 return true;
-1 12128 }
-1 12129 if (zIndex !== 'auto' && parentVNode) {
-1 12130 var parentDsiplay = parentVNode.getComputedStylePropertyValue('display');
-1 12131 if ([ 'flex', 'inline-flex', 'inline flex', 'grid', 'inline-grid', 'inline grid' ].includes(parentDsiplay)) {
-1 12132 return true;
-1 12133 }
-1 12134 }
-1 12135 return false;
-1 12136 }
-1 12137 function isFloated(vNode) {
-1 12138 if (!vNode) {
-1 12139 return false;
-1 12140 }
-1 12141 if (vNode._isFloated !== undefined) {
-1 12142 return vNode._isFloated;
-1 12143 }
-1 12144 var floatStyle = vNode.getComputedStylePropertyValue('float');
-1 12145 if (floatStyle !== 'none') {
-1 12146 vNode._isFloated = true;
-1 12147 return true;
-1 12148 }
-1 12149 var floated = isFloated(vNode.parent);
-1 12150 vNode._isFloated = floated;
-1 12151 return floated;
-1 12152 }
-1 12153 function getPositionOrder(vNode) {
-1 12154 if (vNode.getComputedStylePropertyValue('position') === 'static') {
-1 12155 if (vNode.getComputedStylePropertyValue('display').indexOf('inline') !== -1) {
-1 12156 return 2;
-1 12157 }
-1 12158 if (isFloated(vNode)) {
-1 12159 return 1;
-1 12160 }
-1 12161 return 0;
-1 12162 }
-1 12163 return 3;
-1 12164 }
-1 12165 function visuallySort(a, b) {
-1 12166 for (var i = 0; i < a._stackingOrder.length; i++) {
-1 12167 if (typeof b._stackingOrder[i] === 'undefined') {
-1 12168 return -1;
-1 12169 }
-1 12170 if (b._stackingOrder[i] > a._stackingOrder[i]) {
-1 12171 return 1;
-1 12172 }
-1 12173 if (b._stackingOrder[i] < a._stackingOrder[i]) {
-1 12174 return -1;
-1 12175 }
-1 12176 }
-1 12177 var aNode = a.actualNode;
-1 12178 var bNode = b.actualNode;
-1 12179 if (aNode.getRootNode && aNode.getRootNode() !== bNode.getRootNode()) {
-1 12180 var boundaries = [];
-1 12181 while (aNode) {
-1 12182 boundaries.push({
-1 12183 root: aNode.getRootNode(),
-1 12184 node: aNode
-1 12185 });
-1 12186 aNode = aNode.getRootNode().host;
-1 12187 }
-1 12188 while (bNode && !boundaries.find(function(boundary) {
-1 12189 return boundary.root === bNode.getRootNode();
-1 12190 })) {
-1 12191 bNode = bNode.getRootNode().host;
-1 12192 }
-1 12193 aNode = boundaries.find(function(boundary) {
-1 12194 return boundary.root === bNode.getRootNode();
-1 12195 }).node;
-1 12196 if (aNode === bNode) {
-1 12197 return a.actualNode.getRootNode() !== aNode.getRootNode() ? -1 : 1;
-1 12198 }
-1 12199 }
-1 12200 var _window$Node = window.Node, DOCUMENT_POSITION_FOLLOWING = _window$Node.DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_CONTAINS = _window$Node.DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_CONTAINED_BY = _window$Node.DOCUMENT_POSITION_CONTAINED_BY;
-1 12201 var docPosition = aNode.compareDocumentPosition(bNode);
-1 12202 var DOMOrder = docPosition & DOCUMENT_POSITION_FOLLOWING ? 1 : -1;
-1 12203 var isDescendant = docPosition & DOCUMENT_POSITION_CONTAINS || docPosition & DOCUMENT_POSITION_CONTAINED_BY;
-1 12204 var aPosition = getPositionOrder(a);
-1 12205 var bPosition = getPositionOrder(b);
-1 12206 if (aPosition === bPosition || isDescendant) {
-1 12207 return DOMOrder;
-1 12208 }
-1 12209 return bPosition - aPosition;
-1 12210 }
-1 12211 function getStackingOrder(vNode, parentVNode) {
-1 12212 var stackingOrder = parentVNode._stackingOrder.slice();
-1 12213 var zIndex = vNode.getComputedStylePropertyValue('z-index');
-1 12214 if (zIndex !== 'auto') {
-1 12215 stackingOrder[stackingOrder.length - 1] = parseInt(zIndex);
-1 12216 }
-1 12217 if (isStackingContext(vNode, parentVNode)) {
-1 12218 stackingOrder.push(0);
-1 12219 }
-1 12220 return stackingOrder;
-1 12221 }
-1 12222 function findScrollRegionParent(vNode, parentVNode) {
-1 12223 var scrollRegionParent = null;
-1 12224 var checkedNodes = [ vNode ];
-1 12225 while (parentVNode) {
-1 12226 if (parentVNode._scrollRegionParent) {
-1 12227 scrollRegionParent = parentVNode._scrollRegionParent;
-1 12228 break;
-1 12229 }
-1 12230 if (Object(_core_utils__WEBPACK_IMPORTED_MODULE_2__['getScroll'])(parentVNode.actualNode)) {
-1 12231 scrollRegionParent = parentVNode;
-1 12232 break;
-1 12233 }
-1 12234 checkedNodes.push(parentVNode);
-1 12235 parentVNode = Object(_core_utils__WEBPACK_IMPORTED_MODULE_2__['getNodeFromTree'])(parentVNode.actualNode.parentElement || parentVNode.actualNode.parentNode);
-1 12236 }
-1 12237 checkedNodes.forEach(function(vNode) {
-1 12238 return vNode._scrollRegionParent = scrollRegionParent;
-1 12239 });
-1 12240 return scrollRegionParent;
-1 12241 }
-1 12242 function addNodeToGrid(grid, vNode) {
-1 12243 vNode._grid = grid;
-1 12244 vNode.clientRects.forEach(function(rect) {
-1 12245 var x = rect.left;
-1 12246 var y = rect.top;
-1 12247 var startRow = y / gridSize | 0;
-1 12248 var startCol = x / gridSize | 0;
-1 12249 var endRow = (y + rect.height) / gridSize | 0;
-1 12250 var endCol = (x + rect.width) / gridSize | 0;
-1 12251 for (var row = startRow; row <= endRow; row++) {
-1 12252 grid.cells[row] = grid.cells[row] || [];
-1 12253 for (var col = startCol; col <= endCol; col++) {
-1 12254 grid.cells[row][col] = grid.cells[row][col] || [];
-1 12255 if (!grid.cells[row][col].includes(vNode)) {
-1 12256 grid.cells[row][col].push(vNode);
-1 12257 }
-1 12258 }
-1 12259 }
-1 12260 });
-1 12261 }
-1 12262 function createGrid() {
-1 12263 var root = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : document.body;
-1 12264 var rootGrid = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {
-1 12265 container: null,
-1 12266 cells: []
-1 12267 };
-1 12268 var parentVNode = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;
-1 12269 if (!parentVNode) {
-1 12270 var vNode = Object(_core_utils__WEBPACK_IMPORTED_MODULE_2__['getNodeFromTree'])(document.documentElement);
-1 12271 if (!vNode) {
-1 12272 vNode = new _core_base_virtual_node_virtual_node__WEBPACK_IMPORTED_MODULE_1__['default'](document.documentElement);
-1 12273 }
-1 12274 vNode._stackingOrder = [ 0 ];
-1 12275 addNodeToGrid(rootGrid, vNode);
-1 12276 if (Object(_core_utils__WEBPACK_IMPORTED_MODULE_2__['getScroll'])(vNode.actualNode)) {
-1 12277 var subGrid = {
-1 12278 container: vNode,
-1 12279 cells: []
-1 12280 };
-1 12281 vNode._subGrid = subGrid;
-1 12282 }
-1 12283 }
-1 12284 var treeWalker = document.createTreeWalker(root, window.NodeFilter.SHOW_ELEMENT, null, false);
-1 12285 var node = parentVNode ? treeWalker.nextNode() : treeWalker.currentNode;
-1 12286 while (node) {
-1 12287 var _vNode = Object(_core_utils__WEBPACK_IMPORTED_MODULE_2__['getNodeFromTree'])(node);
-1 12288 if (node.parentElement) {
-1 12289 parentVNode = Object(_core_utils__WEBPACK_IMPORTED_MODULE_2__['getNodeFromTree'])(node.parentElement);
-1 12290 } else if (node.parentNode && Object(_core_utils__WEBPACK_IMPORTED_MODULE_2__['getNodeFromTree'])(node.parentNode)) {
-1 12291 parentVNode = Object(_core_utils__WEBPACK_IMPORTED_MODULE_2__['getNodeFromTree'])(node.parentNode);
-1 12292 }
-1 12293 if (!_vNode) {
-1 12294 _vNode = new axe.VirtualNode(node, parentVNode);
-1 12295 }
-1 12296 _vNode._stackingOrder = getStackingOrder(_vNode, parentVNode);
-1 12297 var scrollRegionParent = findScrollRegionParent(_vNode, parentVNode);
-1 12298 var grid = scrollRegionParent ? scrollRegionParent._subGrid : rootGrid;
-1 12299 if (Object(_core_utils__WEBPACK_IMPORTED_MODULE_2__['getScroll'])(_vNode.actualNode)) {
-1 12300 var _subGrid = {
-1 12301 container: _vNode,
-1 12302 cells: []
-1 12303 };
-1 12304 _vNode._subGrid = _subGrid;
-1 12305 }
-1 12306 var rect = _vNode.boundingClientRect;
-1 12307 if (rect.width !== 0 && rect.height !== 0 && Object(_is_visible__WEBPACK_IMPORTED_MODULE_0__['default'])(node)) {
-1 12308 addNodeToGrid(grid, _vNode);
-1 12309 }
-1 12310 if (Object(_core_utils__WEBPACK_IMPORTED_MODULE_2__['isShadowRoot'])(node)) {
-1 12311 createGrid(node.shadowRoot, grid, _vNode);
-1 12312 }
-1 12313 node = treeWalker.nextNode();
-1 12314 }
-1 12315 }
-1 12316 function getRectStack(grid, rect) {
-1 12317 var recursed = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
-1 12318 var x = rect.left + rect.width / 2;
-1 12319 var y = rect.top + rect.height / 2;
-1 12320 var row = y / gridSize | 0;
-1 12321 var col = x / gridSize | 0;
-1 12322 var stack = grid.cells[row][col].filter(function(gridCellNode) {
-1 12323 return gridCellNode.clientRects.find(function(clientRect) {
-1 12324 var rectX = clientRect.left;
-1 12325 var rectY = clientRect.top;
-1 12326 return x <= rectX + clientRect.width && x >= rectX && y <= rectY + clientRect.height && y >= rectY;
-1 12327 });
-1 12328 });
-1 12329 var gridContainer = grid.container;
-1 12330 if (gridContainer) {
-1 12331 stack = getRectStack(gridContainer._grid, gridContainer.boundingClientRect, true).concat(stack);
-1 12332 }
-1 12333 if (!recursed) {
-1 12334 stack = stack.sort(visuallySort).map(function(vNode) {
-1 12335 return vNode.actualNode;
-1 12336 }).concat(document.documentElement).filter(function(node, index, array) {
-1 12337 return array.indexOf(node) === index;
-1 12338 });
-1 12339 }
-1 12340 return stack;
-1 12341 }
-1 12342 },
-1 12343 './lib/commons/dom/get-root-node.js': function libCommonsDomGetRootNodeJs(module, __webpack_exports__, __webpack_require__) {
-1 12344 'use strict';
-1 12345 __webpack_require__.r(__webpack_exports__);
-1 12346 var _core_utils_get_root_node__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/core/utils/get-root-node.js');
-1 12347 __webpack_exports__['default'] = _core_utils_get_root_node__WEBPACK_IMPORTED_MODULE_0__['default'];
-1 12348 },
-1 12349 './lib/commons/dom/get-scroll-offset.js': function libCommonsDomGetScrollOffsetJs(module, __webpack_exports__, __webpack_require__) {
-1 12350 'use strict';
-1 12351 __webpack_require__.r(__webpack_exports__);
-1 12352 function getScrollOffset(element) {
-1 12353 'use strict';
-1 12354 if (!element.nodeType && element.document) {
-1 12355 element = element.document;
-1 12356 }
-1 12357 if (element.nodeType === 9) {
-1 12358 var docElement = element.documentElement, body = element.body;
-1 12359 return {
-1 12360 left: docElement && docElement.scrollLeft || body && body.scrollLeft || 0,
-1 12361 top: docElement && docElement.scrollTop || body && body.scrollTop || 0
-1 12362 };
-1 12363 }
-1 12364 return {
-1 12365 left: element.scrollLeft,
-1 12366 top: element.scrollTop
-1 12367 };
-1 12368 }
-1 12369 __webpack_exports__['default'] = getScrollOffset;
-1 12370 },
-1 12371 './lib/commons/dom/get-tabbable-elements.js': function libCommonsDomGetTabbableElementsJs(module, __webpack_exports__, __webpack_require__) {
-1 12372 'use strict';
-1 12373 __webpack_require__.r(__webpack_exports__);
-1 12374 var _core_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/core/utils/index.js');
-1 12375 function getTabbableElements(virtualNode) {
-1 12376 var nodeAndDescendents = Object(_core_utils__WEBPACK_IMPORTED_MODULE_0__['querySelectorAll'])(virtualNode, '*');
-1 12377 var tabbableElements = nodeAndDescendents.filter(function(vNode) {
-1 12378 var isFocusable = vNode.isFocusable;
-1 12379 var tabIndex = vNode.actualNode.getAttribute('tabindex');
-1 12380 tabIndex = tabIndex && !isNaN(parseInt(tabIndex, 10)) ? parseInt(tabIndex) : null;
-1 12381 return tabIndex ? isFocusable && tabIndex >= 0 : isFocusable;
-1 12382 });
-1 12383 return tabbableElements;
-1 12384 }
-1 12385 __webpack_exports__['default'] = getTabbableElements;
-1 12386 },
-1 12387 './lib/commons/dom/get-text-element-stack.js': function libCommonsDomGetTextElementStackJs(module, __webpack_exports__, __webpack_require__) {
-1 12388 'use strict';
-1 12389 __webpack_require__.r(__webpack_exports__);
-1 12390 var _get_element_stack__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/dom/get-element-stack.js');
-1 12391 var _get_rect_stack__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/commons/dom/get-rect-stack.js');
-1 12392 var _text_sanitize__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__('./lib/commons/text/sanitize.js');
-1 12393 var _core_base_cache__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__('./lib/core/base/cache.js');
-1 12394 var _core_utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__('./lib/core/utils/index.js');
-1 12395 function getTextElementStack(node) {
-1 12396 if (!_core_base_cache__WEBPACK_IMPORTED_MODULE_3__['default'].get('gridCreated')) {
-1 12397 Object(_get_rect_stack__WEBPACK_IMPORTED_MODULE_1__['createGrid'])();
-1 12398 _core_base_cache__WEBPACK_IMPORTED_MODULE_3__['default'].set('gridCreated', true);
-1 12399 }
-1 12400 var vNode = Object(_core_utils__WEBPACK_IMPORTED_MODULE_4__['getNodeFromTree'])(node);
-1 12401 var grid = vNode._grid;
-1 12402 if (!grid) {
-1 12403 return [];
-1 12404 }
-1 12405 var whiteSpace = vNode.getComputedStylePropertyValue('white-space');
-1 12406 var overflow = vNode.getComputedStylePropertyValue('overflow');
-1 12407 if (whiteSpace === 'nowrap' && overflow === 'hidden') {
-1 12408 return [ Object(_get_element_stack__WEBPACK_IMPORTED_MODULE_0__['default'])(node) ];
-1 12409 }
-1 12410 var clientRects = [];
-1 12411 Array.from(node.childNodes).forEach(function(elm) {
-1 12412 if (elm.nodeType === 3 && Object(_text_sanitize__WEBPACK_IMPORTED_MODULE_2__['default'])(elm.textContent) !== '') {
-1 12413 var range = document.createRange();
-1 12414 range.selectNodeContents(elm);
-1 12415 var rects = range.getClientRects();
-1 12416 for (var i = 0; i < rects.length; i++) {
-1 12417 var rect = rects[i];
-1 12418 if (rect.width >= 1 && rect.height >= 1) {
-1 12419 clientRects.push(rect);
-1 12420 }
-1 12421 }
-1 12422 }
-1 12423 });
-1 12424 return clientRects.map(function(rect) {
-1 12425 return Object(_get_rect_stack__WEBPACK_IMPORTED_MODULE_1__['getRectStack'])(grid, rect);
-1 12426 });
-1 12427 }
-1 12428 __webpack_exports__['default'] = getTextElementStack;
-1 12429 },
-1 12430 './lib/commons/dom/get-viewport-size.js': function libCommonsDomGetViewportSizeJs(module, __webpack_exports__, __webpack_require__) {
-1 12431 'use strict';
-1 12432 __webpack_require__.r(__webpack_exports__);
-1 12433 function getViewportSize(win) {
-1 12434 'use strict';
-1 12435 var doc = win.document;
-1 12436 var docElement = doc.documentElement;
-1 12437 if (win.innerWidth) {
-1 12438 return {
-1 12439 width: win.innerWidth,
-1 12440 height: win.innerHeight
-1 12441 };
-1 12442 }
-1 12443 if (docElement) {
-1 12444 return {
-1 12445 width: docElement.clientWidth,
-1 12446 height: docElement.clientHeight
-1 12447 };
-1 12448 }
-1 12449 var body = doc.body;
-1 12450 return {
-1 12451 width: body.clientWidth,
-1 12452 height: body.clientHeight
-1 12453 };
-1 12454 }
-1 12455 __webpack_exports__['default'] = getViewportSize;
-1 12456 },
-1 12457 './lib/commons/dom/has-content-virtual.js': function libCommonsDomHasContentVirtualJs(module, __webpack_exports__, __webpack_require__) {
-1 12458 'use strict';
-1 12459 __webpack_require__.r(__webpack_exports__);
-1 12460 var _is_visual_content__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/dom/is-visual-content.js');
-1 12461 var _aria_label_virtual__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/commons/aria/label-virtual.js');
-1 12462 var hiddenTextElms = [ 'HEAD', 'TITLE', 'TEMPLATE', 'SCRIPT', 'STYLE', 'IFRAME', 'OBJECT', 'VIDEO', 'AUDIO', 'NOSCRIPT' ];
-1 12463 function hasChildTextNodes(elm) {
-1 12464 if (!hiddenTextElms.includes(elm.actualNode.nodeName.toUpperCase())) {
-1 12465 return elm.children.some(function(_ref44) {
-1 12466 var actualNode = _ref44.actualNode;
-1 12467 return actualNode.nodeType === 3 && actualNode.nodeValue.trim();
-1 12468 });
-1 12469 }
-1 12470 }
-1 12471 function hasContentVirtual(elm, noRecursion, ignoreAria) {
-1 12472 return hasChildTextNodes(elm) || Object(_is_visual_content__WEBPACK_IMPORTED_MODULE_0__['default'])(elm.actualNode) || !ignoreAria && !!Object(_aria_label_virtual__WEBPACK_IMPORTED_MODULE_1__['default'])(elm) || !noRecursion && elm.children.some(function(child) {
-1 12473 return child.actualNode.nodeType === 1 && hasContentVirtual(child);
-1 12474 });
-1 12475 }
-1 12476 __webpack_exports__['default'] = hasContentVirtual;
-1 12477 },
-1 12478 './lib/commons/dom/has-content.js': function libCommonsDomHasContentJs(module, __webpack_exports__, __webpack_require__) {
-1 12479 'use strict';
-1 12480 __webpack_require__.r(__webpack_exports__);
-1 12481 var _has_content_virtual__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/dom/has-content-virtual.js');
-1 12482 var _core_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/core/utils/index.js');
-1 12483 function hasContent(elm, noRecursion, ignoreAria) {
-1 12484 elm = Object(_core_utils__WEBPACK_IMPORTED_MODULE_1__['getNodeFromTree'])(elm);
-1 12485 return Object(_has_content_virtual__WEBPACK_IMPORTED_MODULE_0__['default'])(elm, noRecursion, ignoreAria);
-1 12486 }
-1 12487 __webpack_exports__['default'] = hasContent;
-1 12488 },
-1 12489 './lib/commons/dom/idrefs.js': function libCommonsDomIdrefsJs(module, __webpack_exports__, __webpack_require__) {
-1 12490 'use strict';
-1 12491 __webpack_require__.r(__webpack_exports__);
-1 12492 var _get_root_node__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/dom/get-root-node.js');
-1 12493 var _core_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/core/utils/index.js');
-1 12494 function idrefs(node, attr) {
-1 12495 node = node.actualNode || node;
-1 12496 try {
-1 12497 var doc = Object(_get_root_node__WEBPACK_IMPORTED_MODULE_0__['default'])(node);
-1 12498 var result = [];
-1 12499 var attrValue = node.getAttribute(attr);
-1 12500 if (attrValue) {
-1 12501 attrValue = Object(_core_utils__WEBPACK_IMPORTED_MODULE_1__['tokenList'])(attrValue);
-1 12502 for (var index = 0; index < attrValue.length; index++) {
-1 12503 result.push(doc.getElementById(attrValue[index]));
-1 12504 }
-1 12505 }
-1 12506 return result;
-1 12507 } catch (e) {
-1 12508 throw new TypeError('Cannot resolve id references for non-DOM nodes');
-1 12509 }
-1 12510 }
-1 12511 __webpack_exports__['default'] = idrefs;
-1 12512 },
-1 12513 './lib/commons/dom/index.js': function libCommonsDomIndexJs(module, __webpack_exports__, __webpack_require__) {
-1 12514 'use strict';
-1 12515 __webpack_require__.r(__webpack_exports__);
-1 12516 var _find_elms_in_context__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/dom/find-elms-in-context.js');
-1 12517 __webpack_require__.d(__webpack_exports__, 'findElmsInContext', function() {
-1 12518 return _find_elms_in_context__WEBPACK_IMPORTED_MODULE_0__['default'];
-1 12519 });
-1 12520 var _find_up_virtual__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/commons/dom/find-up-virtual.js');
-1 12521 __webpack_require__.d(__webpack_exports__, 'findUpVirtual', function() {
-1 12522 return _find_up_virtual__WEBPACK_IMPORTED_MODULE_1__['default'];
-1 12523 });
-1 12524 var _find_up__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__('./lib/commons/dom/find-up.js');
-1 12525 __webpack_require__.d(__webpack_exports__, 'findUp', function() {
-1 12526 return _find_up__WEBPACK_IMPORTED_MODULE_2__['default'];
-1 12527 });
-1 12528 var _get_composed_parent__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__('./lib/commons/dom/get-composed-parent.js');
-1 12529 __webpack_require__.d(__webpack_exports__, 'getComposedParent', function() {
-1 12530 return _get_composed_parent__WEBPACK_IMPORTED_MODULE_3__['default'];
-1 12531 });
-1 12532 var _get_element_by_reference__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__('./lib/commons/dom/get-element-by-reference.js');
-1 12533 __webpack_require__.d(__webpack_exports__, 'getElementByReference', function() {
-1 12534 return _get_element_by_reference__WEBPACK_IMPORTED_MODULE_4__['default'];
-1 12535 });
-1 12536 var _get_element_coordinates__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__('./lib/commons/dom/get-element-coordinates.js');
-1 12537 __webpack_require__.d(__webpack_exports__, 'getElementCoordinates', function() {
-1 12538 return _get_element_coordinates__WEBPACK_IMPORTED_MODULE_5__['default'];
-1 12539 });
-1 12540 var _get_element_stack__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__('./lib/commons/dom/get-element-stack.js');
-1 12541 __webpack_require__.d(__webpack_exports__, 'getElementStack', function() {
-1 12542 return _get_element_stack__WEBPACK_IMPORTED_MODULE_6__['default'];
-1 12543 });
-1 12544 var _get_root_node__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__('./lib/commons/dom/get-root-node.js');
-1 12545 __webpack_require__.d(__webpack_exports__, 'getRootNode', function() {
-1 12546 return _get_root_node__WEBPACK_IMPORTED_MODULE_7__['default'];
-1 12547 });
-1 12548 var _get_scroll_offset__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__('./lib/commons/dom/get-scroll-offset.js');
-1 12549 __webpack_require__.d(__webpack_exports__, 'getScrollOffset', function() {
-1 12550 return _get_scroll_offset__WEBPACK_IMPORTED_MODULE_8__['default'];
-1 12551 });
-1 12552 var _get_tabbable_elements__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__('./lib/commons/dom/get-tabbable-elements.js');
-1 12553 __webpack_require__.d(__webpack_exports__, 'getTabbableElements', function() {
-1 12554 return _get_tabbable_elements__WEBPACK_IMPORTED_MODULE_9__['default'];
-1 12555 });
-1 12556 var _get_text_element_stack__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__('./lib/commons/dom/get-text-element-stack.js');
-1 12557 __webpack_require__.d(__webpack_exports__, 'getTextElementStack', function() {
-1 12558 return _get_text_element_stack__WEBPACK_IMPORTED_MODULE_10__['default'];
-1 12559 });
-1 12560 var _get_viewport_size__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__('./lib/commons/dom/get-viewport-size.js');
-1 12561 __webpack_require__.d(__webpack_exports__, 'getViewportSize', function() {
-1 12562 return _get_viewport_size__WEBPACK_IMPORTED_MODULE_11__['default'];
-1 12563 });
-1 12564 var _has_content_virtual__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__('./lib/commons/dom/has-content-virtual.js');
-1 12565 __webpack_require__.d(__webpack_exports__, 'hasContentVirtual', function() {
-1 12566 return _has_content_virtual__WEBPACK_IMPORTED_MODULE_12__['default'];
-1 12567 });
-1 12568 var _has_content__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__('./lib/commons/dom/has-content.js');
-1 12569 __webpack_require__.d(__webpack_exports__, 'hasContent', function() {
-1 12570 return _has_content__WEBPACK_IMPORTED_MODULE_13__['default'];
-1 12571 });
-1 12572 var _idrefs__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__('./lib/commons/dom/idrefs.js');
-1 12573 __webpack_require__.d(__webpack_exports__, 'idrefs', function() {
-1 12574 return _idrefs__WEBPACK_IMPORTED_MODULE_14__['default'];
-1 12575 });
-1 12576 var _inserted_into_focus_order__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__('./lib/commons/dom/inserted-into-focus-order.js');
-1 12577 __webpack_require__.d(__webpack_exports__, 'insertedIntoFocusOrder', function() {
-1 12578 return _inserted_into_focus_order__WEBPACK_IMPORTED_MODULE_15__['default'];
-1 12579 });
-1 12580 var _is_focusable__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__('./lib/commons/dom/is-focusable.js');
-1 12581 __webpack_require__.d(__webpack_exports__, 'isFocusable', function() {
-1 12582 return _is_focusable__WEBPACK_IMPORTED_MODULE_16__['default'];
-1 12583 });
-1 12584 var _is_hidden_with_css__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__('./lib/commons/dom/is-hidden-with-css.js');
-1 12585 __webpack_require__.d(__webpack_exports__, 'isHiddenWithCSS', function() {
-1 12586 return _is_hidden_with_css__WEBPACK_IMPORTED_MODULE_17__['default'];
-1 12587 });
-1 12588 var _is_html5__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__('./lib/commons/dom/is-html5.js');
-1 12589 __webpack_require__.d(__webpack_exports__, 'isHTML5', function() {
-1 12590 return _is_html5__WEBPACK_IMPORTED_MODULE_18__['default'];
-1 12591 });
-1 12592 var _is_in_text_block__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__('./lib/commons/dom/is-in-text-block.js');
-1 12593 __webpack_require__.d(__webpack_exports__, 'isInTextBlock', function() {
-1 12594 return _is_in_text_block__WEBPACK_IMPORTED_MODULE_19__['default'];
-1 12595 });
-1 12596 var _is_modal_open__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__('./lib/commons/dom/is-modal-open.js');
-1 12597 __webpack_require__.d(__webpack_exports__, 'isModalOpen', function() {
-1 12598 return _is_modal_open__WEBPACK_IMPORTED_MODULE_20__['default'];
-1 12599 });
-1 12600 var _is_natively_focusable__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__('./lib/commons/dom/is-natively-focusable.js');
-1 12601 __webpack_require__.d(__webpack_exports__, 'isNativelyFocusable', function() {
-1 12602 return _is_natively_focusable__WEBPACK_IMPORTED_MODULE_21__['default'];
-1 12603 });
-1 12604 var _is_node__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__('./lib/commons/dom/is-node.js');
-1 12605 __webpack_require__.d(__webpack_exports__, 'isNode', function() {
-1 12606 return _is_node__WEBPACK_IMPORTED_MODULE_22__['default'];
-1 12607 });
-1 12608 var _is_offscreen__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__('./lib/commons/dom/is-offscreen.js');
-1 12609 __webpack_require__.d(__webpack_exports__, 'isOffscreen', function() {
-1 12610 return _is_offscreen__WEBPACK_IMPORTED_MODULE_23__['default'];
-1 12611 });
-1 12612 var _is_opaque__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__('./lib/commons/dom/is-opaque.js');
-1 12613 __webpack_require__.d(__webpack_exports__, 'isOpaque', function() {
-1 12614 return _is_opaque__WEBPACK_IMPORTED_MODULE_24__['default'];
-1 12615 });
-1 12616 var _is_skip_link__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__('./lib/commons/dom/is-skip-link.js');
-1 12617 __webpack_require__.d(__webpack_exports__, 'isSkipLink', function() {
-1 12618 return _is_skip_link__WEBPACK_IMPORTED_MODULE_25__['default'];
-1 12619 });
-1 12620 var _is_visible__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__('./lib/commons/dom/is-visible.js');
-1 12621 __webpack_require__.d(__webpack_exports__, 'isVisible', function() {
-1 12622 return _is_visible__WEBPACK_IMPORTED_MODULE_26__['default'];
-1 12623 });
-1 12624 var _is_visual_content__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__('./lib/commons/dom/is-visual-content.js');
-1 12625 __webpack_require__.d(__webpack_exports__, 'isVisualContent', function() {
-1 12626 return _is_visual_content__WEBPACK_IMPORTED_MODULE_27__['default'];
-1 12627 });
-1 12628 var _reduce_to_elements_below_floating__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__('./lib/commons/dom/reduce-to-elements-below-floating.js');
-1 12629 __webpack_require__.d(__webpack_exports__, 'reduceToElementsBelowFloating', function() {
-1 12630 return _reduce_to_elements_below_floating__WEBPACK_IMPORTED_MODULE_28__['default'];
-1 12631 });
-1 12632 var _shadow_elements_from_point__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__('./lib/commons/dom/shadow-elements-from-point.js');
-1 12633 __webpack_require__.d(__webpack_exports__, 'shadowElementsFromPoint', function() {
-1 12634 return _shadow_elements_from_point__WEBPACK_IMPORTED_MODULE_29__['default'];
-1 12635 });
-1 12636 var _url_props_from_attribute__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__('./lib/commons/dom/url-props-from-attribute.js');
-1 12637 __webpack_require__.d(__webpack_exports__, 'urlPropsFromAttribute', function() {
-1 12638 return _url_props_from_attribute__WEBPACK_IMPORTED_MODULE_30__['default'];
-1 12639 });
-1 12640 var _visually_contains__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__('./lib/commons/dom/visually-contains.js');
-1 12641 __webpack_require__.d(__webpack_exports__, 'visuallyContains', function() {
-1 12642 return _visually_contains__WEBPACK_IMPORTED_MODULE_31__['default'];
-1 12643 });
-1 12644 var _visually_overlaps__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__('./lib/commons/dom/visually-overlaps.js');
-1 12645 __webpack_require__.d(__webpack_exports__, 'visuallyOverlaps', function() {
-1 12646 return _visually_overlaps__WEBPACK_IMPORTED_MODULE_32__['default'];
-1 12647 });
-1 12648 },
-1 12649 './lib/commons/dom/inserted-into-focus-order.js': function libCommonsDomInsertedIntoFocusOrderJs(module, __webpack_exports__, __webpack_require__) {
-1 12650 'use strict';
-1 12651 __webpack_require__.r(__webpack_exports__);
-1 12652 var _is_focusable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/dom/is-focusable.js');
-1 12653 var _is_natively_focusable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/commons/dom/is-natively-focusable.js');
-1 12654 function insertedIntoFocusOrder(el) {
-1 12655 var tabIndex = parseInt(el.getAttribute('tabindex'), 10);
-1 12656 return tabIndex > -1 && Object(_is_focusable__WEBPACK_IMPORTED_MODULE_0__['default'])(el) && !Object(_is_natively_focusable__WEBPACK_IMPORTED_MODULE_1__['default'])(el);
-1 12657 }
-1 12658 __webpack_exports__['default'] = insertedIntoFocusOrder;
-1 12659 },
-1 12660 './lib/commons/dom/is-focusable.js': function libCommonsDomIsFocusableJs(module, __webpack_exports__, __webpack_require__) {
-1 12661 'use strict';
-1 12662 __webpack_require__.r(__webpack_exports__);
-1 12663 var _focus_disabled__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/dom/focus-disabled.js');
-1 12664 var _is_natively_focusable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/commons/dom/is-natively-focusable.js');
-1 12665 var _core_base_virtual_node_abstract_virtual_node__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__('./lib/core/base/virtual-node/abstract-virtual-node.js');
-1 12666 var _core_utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__('./lib/core/utils/index.js');
-1 12667 function isFocusable(el) {
-1 12668 var vNode = el instanceof _core_base_virtual_node_abstract_virtual_node__WEBPACK_IMPORTED_MODULE_2__['default'] ? el : Object(_core_utils__WEBPACK_IMPORTED_MODULE_3__['getNodeFromTree'])(el);
-1 12669 if (Object(_focus_disabled__WEBPACK_IMPORTED_MODULE_0__['default'])(vNode)) {
-1 12670 return false;
-1 12671 } else if (Object(_is_natively_focusable__WEBPACK_IMPORTED_MODULE_1__['default'])(vNode)) {
-1 12672 return true;
-1 12673 }
-1 12674 var tabindex = vNode.attr('tabindex');
-1 12675 if (tabindex && !isNaN(parseInt(tabindex, 10))) {
-1 12676 return true;
-1 12677 }
-1 12678 return false;
-1 12679 }
-1 12680 __webpack_exports__['default'] = isFocusable;
-1 12681 },
-1 12682 './lib/commons/dom/is-hidden-with-css.js': function libCommonsDomIsHiddenWithCssJs(module, __webpack_exports__, __webpack_require__) {
-1 12683 'use strict';
-1 12684 __webpack_require__.r(__webpack_exports__);
-1 12685 var _get_composed_parent__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/dom/get-composed-parent.js');
-1 12686 var _core_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/core/utils/index.js');
-1 12687 function isHiddenWithCSS(el, descendentVisibilityValue) {
-1 12688 var vNode = Object(_core_utils__WEBPACK_IMPORTED_MODULE_1__['getNodeFromTree'])(el);
-1 12689 if (!vNode) {
-1 12690 return _isHiddenWithCSS(el, descendentVisibilityValue);
-1 12691 }
-1 12692 if (vNode._isHiddenWithCSS === void 0) {
-1 12693 vNode._isHiddenWithCSS = _isHiddenWithCSS(el, descendentVisibilityValue);
-1 12694 }
-1 12695 return vNode._isHiddenWithCSS;
-1 12696 }
-1 12697 function _isHiddenWithCSS(el, descendentVisibilityValue) {
-1 12698 if (el.nodeType === 9) {
-1 12699 return false;
-1 12700 }
-1 12701 if (el.nodeType === 11) {
-1 12702 el = el.host;
-1 12703 }
-1 12704 if ([ 'STYLE', 'SCRIPT' ].includes(el.nodeName.toUpperCase())) {
-1 12705 return false;
-1 12706 }
-1 12707 var style = window.getComputedStyle(el, null);
-1 12708 if (!style) {
-1 12709 throw new Error('Style does not exist for the given element.');
-1 12710 }
-1 12711 var displayValue = style.getPropertyValue('display');
-1 12712 if (displayValue === 'none') {
-1 12713 return true;
-1 12714 }
-1 12715 var HIDDEN_VISIBILITY_VALUES = [ 'hidden', 'collapse' ];
-1 12716 var visibilityValue = style.getPropertyValue('visibility');
-1 12717 if (HIDDEN_VISIBILITY_VALUES.includes(visibilityValue) && !descendentVisibilityValue) {
-1 12718 return true;
-1 12719 }
-1 12720 if (HIDDEN_VISIBILITY_VALUES.includes(visibilityValue) && descendentVisibilityValue && HIDDEN_VISIBILITY_VALUES.includes(descendentVisibilityValue)) {
-1 12721 return true;
-1 12722 }
-1 12723 var parent = Object(_get_composed_parent__WEBPACK_IMPORTED_MODULE_0__['default'])(el);
-1 12724 if (parent && !HIDDEN_VISIBILITY_VALUES.includes(visibilityValue)) {
-1 12725 return isHiddenWithCSS(parent, visibilityValue);
-1 12726 }
-1 12727 return false;
-1 12728 }
-1 12729 __webpack_exports__['default'] = isHiddenWithCSS;
-1 12730 },
-1 12731 './lib/commons/dom/is-html5.js': function libCommonsDomIsHtml5Js(module, __webpack_exports__, __webpack_require__) {
-1 12732 'use strict';
-1 12733 __webpack_require__.r(__webpack_exports__);
-1 12734 function isHTML5(doc) {
-1 12735 var node = doc.doctype;
-1 12736 if (node === null) {
-1 12737 return false;
-1 12738 }
-1 12739 return node.name === 'html' && !node.publicId && !node.systemId;
-1 12740 }
-1 12741 __webpack_exports__['default'] = isHTML5;
-1 12742 },
-1 12743 './lib/commons/dom/is-in-text-block.js': function libCommonsDomIsInTextBlockJs(module, __webpack_exports__, __webpack_require__) {
-1 12744 'use strict';
-1 12745 __webpack_require__.r(__webpack_exports__);
-1 12746 var _get_composed_parent__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/dom/get-composed-parent.js');
-1 12747 var _text_sanitize__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/commons/text/sanitize.js');
-1 12748 var _core_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__('./lib/core/utils/index.js');
-1 12749 function walkDomNode(node, functor) {
-1 12750 if (functor(node.actualNode) !== false) {
-1 12751 node.children.forEach(function(child) {
-1 12752 return walkDomNode(child, functor);
-1 12753 });
-1 12754 }
-1 12755 }
-1 12756 var blockLike = [ 'block', 'list-item', 'table', 'flex', 'grid', 'inline-block' ];
-1 12757 function isBlock(elm) {
-1 12758 var display = window.getComputedStyle(elm).getPropertyValue('display');
-1 12759 return blockLike.includes(display) || display.substr(0, 6) === 'table-';
-1 12760 }
-1 12761 function getBlockParent(node) {
-1 12762 var parentBlock = Object(_get_composed_parent__WEBPACK_IMPORTED_MODULE_0__['default'])(node);
-1 12763 while (parentBlock && !isBlock(parentBlock)) {
-1 12764 parentBlock = Object(_get_composed_parent__WEBPACK_IMPORTED_MODULE_0__['default'])(parentBlock);
-1 12765 }
-1 12766 return Object(_core_utils__WEBPACK_IMPORTED_MODULE_2__['getNodeFromTree'])(parentBlock);
-1 12767 }
-1 12768 function isInTextBlock(node) {
-1 12769 if (isBlock(node)) {
-1 12770 return false;
-1 12771 }
-1 12772 var virtualParent = getBlockParent(node);
-1 12773 var parentText = '';
-1 12774 var linkText = '';
-1 12775 var inBrBlock = 0;
-1 12776 walkDomNode(virtualParent, function(currNode) {
-1 12777 if (inBrBlock === 2) {
-1 12778 return false;
-1 12779 }
-1 12780 if (currNode.nodeType === 3) {
-1 12781 parentText += currNode.nodeValue;
-1 12782 }
-1 12783 if (currNode.nodeType !== 1) {
-1 12784 return;
-1 12785 }
-1 12786 var nodeName = (currNode.nodeName || '').toUpperCase();
-1 12787 if ([ 'BR', 'HR' ].includes(nodeName)) {
-1 12788 if (inBrBlock === 0) {
-1 12789 parentText = '';
-1 12790 linkText = '';
-1 12791 } else {
-1 12792 inBrBlock = 2;
-1 12793 }
-1 12794 } else if (currNode.style.display === 'none' || currNode.style.overflow === 'hidden' || ![ '', null, 'none' ].includes(currNode.style['float']) || ![ '', null, 'relative' ].includes(currNode.style.position)) {
-1 12795 return false;
-1 12796 } else if (nodeName === 'A' && currNode.href || (currNode.getAttribute('role') || '').toLowerCase() === 'link') {
-1 12797 if (currNode === node) {
-1 12798 inBrBlock = 1;
-1 12799 }
-1 12800 linkText += currNode.textContent;
-1 12801 return false;
-1 12802 }
-1 12803 });
-1 12804 parentText = Object(_text_sanitize__WEBPACK_IMPORTED_MODULE_1__['default'])(parentText);
-1 12805 linkText = Object(_text_sanitize__WEBPACK_IMPORTED_MODULE_1__['default'])(linkText);
-1 12806 return parentText.length > linkText.length;
-1 12807 }
-1 12808 __webpack_exports__['default'] = isInTextBlock;
-1 12809 },
-1 12810 './lib/commons/dom/is-modal-open.js': function libCommonsDomIsModalOpenJs(module, __webpack_exports__, __webpack_require__) {
-1 12811 'use strict';
-1 12812 __webpack_require__.r(__webpack_exports__);
-1 12813 var _is_visible__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/dom/is-visible.js');
-1 12814 var _get_viewport_size__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/commons/dom/get-viewport-size.js');
-1 12815 var _core_base_cache__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__('./lib/core/base/cache.js');
-1 12816 var _core_utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__('./lib/core/utils/index.js');
-1 12817 function isModalOpen(options) {
-1 12818 options = options || {};
-1 12819 var modalPercent = options.modalPercent || .75;
-1 12820 if (_core_base_cache__WEBPACK_IMPORTED_MODULE_2__['default'].get('isModalOpen')) {
-1 12821 return _core_base_cache__WEBPACK_IMPORTED_MODULE_2__['default'].get('isModalOpen');
-1 12822 }
-1 12823 var definiteModals = Object(_core_utils__WEBPACK_IMPORTED_MODULE_3__['querySelectorAllFilter'])(axe._tree[0], 'dialog, [role=dialog], [aria-modal=true]', function(vNode) {
-1 12824 return Object(_is_visible__WEBPACK_IMPORTED_MODULE_0__['default'])(vNode.actualNode);
-1 12825 });
-1 12826 if (definiteModals.length) {
-1 12827 _core_base_cache__WEBPACK_IMPORTED_MODULE_2__['default'].set('isModalOpen', true);
-1 12828 return true;
-1 12829 }
-1 12830 var viewport = Object(_get_viewport_size__WEBPACK_IMPORTED_MODULE_1__['default'])(window);
-1 12831 var percentWidth = viewport.width * modalPercent;
-1 12832 var percentHeight = viewport.height * modalPercent;
-1 12833 var x = (viewport.width - percentWidth) / 2;
-1 12834 var y = (viewport.height - percentHeight) / 2;
-1 12835 var points = [ {
-1 12836 x: x,
-1 12837 y: y
-1 12838 }, {
-1 12839 x: viewport.width - x,
-1 12840 y: y
-1 12841 }, {
-1 12842 x: viewport.width / 2,
-1 12843 y: viewport.height / 2
-1 12844 }, {
-1 12845 x: x,
-1 12846 y: viewport.height - y
-1 12847 }, {
-1 12848 x: viewport.width - x,
-1 12849 y: viewport.height - y
-1 12850 } ];
-1 12851 var stacks = points.map(function(point) {
-1 12852 return Array.from(document.elementsFromPoint(point.x, point.y));
-1 12853 });
-1 12854 var _loop3 = function _loop3(i) {
-1 12855 var modalElement = stacks[i].find(function(elm) {
-1 12856 var style = window.getComputedStyle(elm);
-1 12857 return parseInt(style.width, 10) >= percentWidth && parseInt(style.height, 10) >= percentHeight && style.getPropertyValue('pointer-events') !== 'none' && (style.position === 'absolute' || style.position === 'fixed');
-1 12858 });
-1 12859 if (modalElement && stacks.every(function(stack) {
-1 12860 return stack.includes(modalElement);
-1 12861 })) {
-1 12862 _core_base_cache__WEBPACK_IMPORTED_MODULE_2__['default'].set('isModalOpen', true);
-1 12863 return {
-1 12864 v: true
-1 12865 };
-1 12866 }
-1 12867 };
-1 12868 for (var i = 0; i < stacks.length; i++) {
-1 12869 var _ret3 = _loop3(i);
-1 12870 if (_typeof(_ret3) === 'object') {
-1 12871 return _ret3.v;
-1 12872 }
-1 12873 }
-1 12874 _core_base_cache__WEBPACK_IMPORTED_MODULE_2__['default'].set('isModalOpen', undefined);
-1 12875 return undefined;
-1 12876 }
-1 12877 __webpack_exports__['default'] = isModalOpen;
-1 12878 },
-1 12879 './lib/commons/dom/is-natively-focusable.js': function libCommonsDomIsNativelyFocusableJs(module, __webpack_exports__, __webpack_require__) {
-1 12880 'use strict';
-1 12881 __webpack_require__.r(__webpack_exports__);
-1 12882 var _core_base_virtual_node_abstract_virtual_node__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/core/base/virtual-node/abstract-virtual-node.js');
-1 12883 var _core_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/core/utils/index.js');
-1 12884 var _focus_disabled__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__('./lib/commons/dom/focus-disabled.js');
-1 12885 function isNativelyFocusable(el) {
-1 12886 var vNode = el instanceof _core_base_virtual_node_abstract_virtual_node__WEBPACK_IMPORTED_MODULE_0__['default'] ? el : Object(_core_utils__WEBPACK_IMPORTED_MODULE_1__['getNodeFromTree'])(el);
-1 12887 if (!vNode || Object(_focus_disabled__WEBPACK_IMPORTED_MODULE_2__['default'])(vNode)) {
-1 12888 return false;
-1 12889 }
-1 12890 switch (vNode.props.nodeName) {
-1 12891 case 'a':
-1 12892 case 'area':
-1 12893 if (vNode.hasAttr('href')) {
-1 12894 return true;
-1 12895 }
-1 12896 break;
-1 12897
-1 12898 case 'input':
-1 12899 return vNode.props.type !== 'hidden';
-1 12900
-1 12901 case 'textarea':
-1 12902 case 'select':
-1 12903 case 'summary':
-1 12904 case 'button':
-1 12905 return true;
-1 12906
-1 12907 case 'details':
-1 12908 return !Object(_core_utils__WEBPACK_IMPORTED_MODULE_1__['querySelectorAll'])(vNode, 'summary').length;
-1 12909 }
-1 12910 return false;
-1 12911 }
-1 12912 __webpack_exports__['default'] = isNativelyFocusable;
-1 12913 },
-1 12914 './lib/commons/dom/is-node.js': function libCommonsDomIsNodeJs(module, __webpack_exports__, __webpack_require__) {
-1 12915 'use strict';
-1 12916 __webpack_require__.r(__webpack_exports__);
-1 12917 function isNode(element) {
-1 12918 'use strict';
-1 12919 return element instanceof window.Node;
-1 12920 }
-1 12921 __webpack_exports__['default'] = isNode;
-1 12922 },
-1 12923 './lib/commons/dom/is-offscreen.js': function libCommonsDomIsOffscreenJs(module, __webpack_exports__, __webpack_require__) {
-1 12924 'use strict';
-1 12925 __webpack_require__.r(__webpack_exports__);
-1 12926 var _get_composed_parent__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/dom/get-composed-parent.js');
-1 12927 var _get_element_coordinates__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/commons/dom/get-element-coordinates.js');
-1 12928 var _get_viewport_size__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__('./lib/commons/dom/get-viewport-size.js');
-1 12929 function noParentScrolled(element, offset) {
-1 12930 element = Object(_get_composed_parent__WEBPACK_IMPORTED_MODULE_0__['default'])(element);
-1 12931 while (element && element.nodeName.toLowerCase() !== 'html') {
-1 12932 if (element.scrollTop) {
-1 12933 offset += element.scrollTop;
-1 12934 if (offset >= 0) {
-1 12935 return false;
-1 12936 }
-1 12937 }
-1 12938 element = Object(_get_composed_parent__WEBPACK_IMPORTED_MODULE_0__['default'])(element);
-1 12939 }
-1 12940 return true;
-1 12941 }
-1 12942 function isOffscreen(element) {
-1 12943 var leftBoundary;
-1 12944 var docElement = document.documentElement;
-1 12945 var styl = window.getComputedStyle(element);
-1 12946 var dir = window.getComputedStyle(document.body || docElement).getPropertyValue('direction');
-1 12947 var coords = Object(_get_element_coordinates__WEBPACK_IMPORTED_MODULE_1__['default'])(element);
-1 12948 if (coords.bottom < 0 && (noParentScrolled(element, coords.bottom) || styl.position === 'absolute')) {
-1 12949 return true;
-1 12950 }
-1 12951 if (coords.left === 0 && coords.right === 0) {
-1 12952 return false;
-1 12953 }
-1 12954 if (dir === 'ltr') {
-1 12955 if (coords.right <= 0) {
-1 12956 return true;
-1 12957 }
-1 12958 } else {
-1 12959 leftBoundary = Math.max(docElement.scrollWidth, Object(_get_viewport_size__WEBPACK_IMPORTED_MODULE_2__['default'])(window).width);
-1 12960 if (coords.left >= leftBoundary) {
-1 12961 return true;
-1 12962 }
-1 12963 }
-1 12964 return false;
-1 12965 }
-1 12966 __webpack_exports__['default'] = isOffscreen;
-1 12967 },
-1 12968 './lib/commons/dom/is-opaque.js': function libCommonsDomIsOpaqueJs(module, __webpack_exports__, __webpack_require__) {
-1 12969 'use strict';
-1 12970 __webpack_require__.r(__webpack_exports__);
-1 12971 var _color_element_has_image__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/color/element-has-image.js');
-1 12972 var _color_get_own_background_color__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/commons/color/get-own-background-color.js');
-1 12973 function isOpaque(node) {
-1 12974 var style = window.getComputedStyle(node);
-1 12975 return Object(_color_element_has_image__WEBPACK_IMPORTED_MODULE_0__['default'])(node, style) || Object(_color_get_own_background_color__WEBPACK_IMPORTED_MODULE_1__['default'])(style).alpha === 1;
-1 12976 }
-1 12977 __webpack_exports__['default'] = isOpaque;
-1 12978 },
-1 12979 './lib/commons/dom/is-skip-link.js': function libCommonsDomIsSkipLinkJs(module, __webpack_exports__, __webpack_require__) {
-1 12980 'use strict';
-1 12981 __webpack_require__.r(__webpack_exports__);
-1 12982 var _core_base_cache__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/core/base/cache.js');
-1 12983 var _core_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/core/utils/index.js');
-1 12984 var isInternalLinkRegex = /^\/?#[^/!]/;
-1 12985 function isSkipLink(element) {
-1 12986 if (!isInternalLinkRegex.test(element.getAttribute('href'))) {
-1 12987 return false;
-1 12988 }
-1 12989 var firstPageLink;
-1 12990 if (typeof _core_base_cache__WEBPACK_IMPORTED_MODULE_0__['default'].get('firstPageLink') !== 'undefined') {
-1 12991 firstPageLink = _core_base_cache__WEBPACK_IMPORTED_MODULE_0__['default'].get('firstPageLink');
-1 12992 } else {
-1 12993 firstPageLink = Object(_core_utils__WEBPACK_IMPORTED_MODULE_1__['querySelectorAll'])(axe._tree, 'a:not([href^="#"]):not([href^="/#"]):not([href^="javascript"])')[0];
-1 12994 _core_base_cache__WEBPACK_IMPORTED_MODULE_0__['default'].set('firstPageLink', firstPageLink || null);
-1 12995 }
-1 12996 if (!firstPageLink) {
-1 12997 return true;
-1 12998 }
-1 12999 return element.compareDocumentPosition(firstPageLink.actualNode) === element.DOCUMENT_POSITION_FOLLOWING;
-1 13000 }
-1 13001 __webpack_exports__['default'] = isSkipLink;
-1 13002 },
-1 13003 './lib/commons/dom/is-visible.js': function libCommonsDomIsVisibleJs(module, __webpack_exports__, __webpack_require__) {
-1 13004 'use strict';
-1 13005 __webpack_require__.r(__webpack_exports__);
-1 13006 var _get_root_node__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/dom/get-root-node.js');
-1 13007 var _is_offscreen__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/commons/dom/is-offscreen.js');
-1 13008 var _find_up__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__('./lib/commons/dom/find-up.js');
-1 13009 var _core_utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__('./lib/core/utils/index.js');
-1 13010 var clipRegex = /rect\s*\(([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px\s*\)/;
-1 13011 var clipPathRegex = /(\w+)\((\d+)/;
-1 13012 function isClipped(style) {
-1 13013 'use strict';
-1 13014 var matchesClip = style.getPropertyValue('clip').match(clipRegex);
-1 13015 var matchesClipPath = style.getPropertyValue('clip-path').match(clipPathRegex);
-1 13016 if (matchesClip && matchesClip.length === 5) {
-1 13017 return matchesClip[3] - matchesClip[1] <= 0 && matchesClip[2] - matchesClip[4] <= 0;
-1 13018 }
-1 13019 if (matchesClipPath) {
-1 13020 var type = matchesClipPath[1];
-1 13021 var value = parseInt(matchesClipPath[2], 10);
-1 13022 switch (type) {
-1 13023 case 'inset':
-1 13024 return value >= 50;
-1 13025
-1 13026 case 'circle':
-1 13027 return value === 0;
-1 13028
-1 13029 default:
-1 13030 }
-1 13031 }
-1 13032 return false;
-1 13033 }
-1 13034 function isAreaVisible(el, screenReader, recursed) {
-1 13035 var mapEl = Object(_find_up__WEBPACK_IMPORTED_MODULE_2__['default'])(el, 'map');
-1 13036 if (!mapEl) {
-1 13037 return false;
-1 13038 }
-1 13039 var mapElName = mapEl.getAttribute('name');
-1 13040 if (!mapElName) {
-1 13041 return false;
-1 13042 }
-1 13043 var mapElRootNode = Object(_get_root_node__WEBPACK_IMPORTED_MODULE_0__['default'])(el);
-1 13044 if (!mapElRootNode || mapElRootNode.nodeType !== 9) {
-1 13045 return false;
-1 13046 }
-1 13047 var refs = Object(_core_utils__WEBPACK_IMPORTED_MODULE_3__['querySelectorAll'])(axe._tree, 'img[usemap="#'.concat(Object(_core_utils__WEBPACK_IMPORTED_MODULE_3__['escapeSelector'])(mapElName), '"]'));
-1 13048 if (!refs || !refs.length) {
-1 13049 return false;
-1 13050 }
-1 13051 return refs.some(function(_ref45) {
-1 13052 var actualNode = _ref45.actualNode;
-1 13053 return isVisible(actualNode, screenReader, recursed);
-1 13054 });
-1 13055 }
-1 13056 function isVisible(el, screenReader, recursed) {
-1 13057 if (!el) {
-1 13058 throw new TypeError('Cannot determine if element is visible for non-DOM nodes');
-1 13059 }
-1 13060 var vNode = Object(_core_utils__WEBPACK_IMPORTED_MODULE_3__['getNodeFromTree'])(el);
-1 13061 var cacheName = '_isVisible' + (screenReader ? 'ScreenReader' : '');
-1 13062 if (el.nodeType === 9) {
-1 13063 return true;
-1 13064 }
-1 13065 if (el.nodeType === 11) {
-1 13066 el = el.host;
-1 13067 }
-1 13068 if (vNode && typeof vNode[cacheName] !== 'undefined') {
-1 13069 return vNode[cacheName];
-1 13070 }
-1 13071 var style = window.getComputedStyle(el, null);
-1 13072 if (style === null) {
-1 13073 return false;
-1 13074 }
-1 13075 var nodeName = el.nodeName.toUpperCase();
-1 13076 if (nodeName === 'AREA') {
-1 13077 return isAreaVisible(el, screenReader, recursed);
-1 13078 }
-1 13079 if (style.getPropertyValue('display') === 'none' || [ 'STYLE', 'SCRIPT', 'NOSCRIPT', 'TEMPLATE' ].includes(nodeName)) {
-1 13080 return false;
-1 13081 }
-1 13082 if (screenReader && el.getAttribute('aria-hidden') === 'true') {
-1 13083 return false;
-1 13084 }
-1 13085 if (!screenReader && (isClipped(style) || style.getPropertyValue('opacity') === '0' || Object(_core_utils__WEBPACK_IMPORTED_MODULE_3__['getScroll'])(el) && parseInt(style.getPropertyValue('height')) === 0)) {
-1 13086 return false;
-1 13087 }
-1 13088 if (!recursed && (style.getPropertyValue('visibility') === 'hidden' || !screenReader && Object(_is_offscreen__WEBPACK_IMPORTED_MODULE_1__['default'])(el))) {
-1 13089 return false;
-1 13090 }
-1 13091 var parent = el.assignedSlot ? el.assignedSlot : el.parentNode;
-1 13092 var visible = false;
-1 13093 if (parent) {
-1 13094 visible = isVisible(parent, screenReader, true);
-1 13095 }
-1 13096 if (vNode) {
-1 13097 vNode[cacheName] = visible;
-1 13098 }
-1 13099 return visible;
-1 13100 }
-1 13101 __webpack_exports__['default'] = isVisible;
-1 13102 },
-1 13103 './lib/commons/dom/is-visual-content.js': function libCommonsDomIsVisualContentJs(module, __webpack_exports__, __webpack_require__) {
-1 13104 'use strict';
-1 13105 __webpack_require__.r(__webpack_exports__);
-1 13106 var visualRoles = [ 'checkbox', 'img', 'radio', 'range', 'slider', 'spinbutton', 'textbox' ];
-1 13107 function isVisualContent(element) {
-1 13108 var role = element.getAttribute('role');
-1 13109 if (role) {
-1 13110 return visualRoles.indexOf(role) !== -1;
-1 13111 }
-1 13112 switch (element.nodeName.toUpperCase()) {
-1 13113 case 'IMG':
-1 13114 case 'IFRAME':
-1 13115 case 'OBJECT':
-1 13116 case 'VIDEO':
-1 13117 case 'AUDIO':
-1 13118 case 'CANVAS':
-1 13119 case 'SVG':
-1 13120 case 'MATH':
-1 13121 case 'BUTTON':
-1 13122 case 'SELECT':
-1 13123 case 'TEXTAREA':
-1 13124 case 'KEYGEN':
-1 13125 case 'PROGRESS':
-1 13126 case 'METER':
-1 13127 return true;
-1 13128
-1 13129 case 'INPUT':
-1 13130 return element.type !== 'hidden';
-1 13131
-1 13132 default:
-1 13133 return false;
-1 13134 }
-1 13135 }
-1 13136 __webpack_exports__['default'] = isVisualContent;
-1 13137 },
-1 13138 './lib/commons/dom/reduce-to-elements-below-floating.js': function libCommonsDomReduceToElementsBelowFloatingJs(module, __webpack_exports__, __webpack_require__) {
-1 13139 'use strict';
-1 13140 __webpack_require__.r(__webpack_exports__);
-1 13141 function reduceToElementsBelowFloating(elements, targetNode) {
-1 13142 var floatingPositions = [ 'fixed', 'sticky' ];
-1 13143 var finalElements = [];
-1 13144 var targetFound = false;
-1 13145 for (var index = 0; index < elements.length; ++index) {
-1 13146 var currentNode = elements[index];
-1 13147 if (currentNode === targetNode) {
-1 13148 targetFound = true;
-1 13149 }
-1 13150 var style = window.getComputedStyle(currentNode);
-1 13151 if (!targetFound && floatingPositions.indexOf(style.position) !== -1) {
-1 13152 finalElements = [];
-1 13153 continue;
-1 13154 }
-1 13155 finalElements.push(currentNode);
-1 13156 }
-1 13157 return finalElements;
-1 13158 }
-1 13159 __webpack_exports__['default'] = reduceToElementsBelowFloating;
-1 13160 },
-1 13161 './lib/commons/dom/shadow-elements-from-point.js': function libCommonsDomShadowElementsFromPointJs(module, __webpack_exports__, __webpack_require__) {
-1 13162 'use strict';
-1 13163 __webpack_require__.r(__webpack_exports__);
-1 13164 var _get_root_node__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/dom/get-root-node.js');
-1 13165 var _visually_contains__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/commons/dom/visually-contains.js');
-1 13166 var _core_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__('./lib/core/utils/index.js');
-1 13167 function shadowElementsFromPoint(nodeX, nodeY) {
-1 13168 var root = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : document;
-1 13169 var i = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 0;
-1 13170 if (i > 999) {
-1 13171 throw new Error('Infinite loop detected');
-1 13172 }
-1 13173 return Array.from(root.elementsFromPoint(nodeX, nodeY) || []).filter(function(nodes) {
-1 13174 return Object(_get_root_node__WEBPACK_IMPORTED_MODULE_0__['default'])(nodes) === root;
-1 13175 }).reduce(function(stack, elm) {
-1 13176 if (Object(_core_utils__WEBPACK_IMPORTED_MODULE_2__['isShadowRoot'])(elm)) {
-1 13177 var shadowStack = shadowElementsFromPoint(nodeX, nodeY, elm.shadowRoot, i + 1);
-1 13178 stack = stack.concat(shadowStack);
-1 13179 if (stack.length && Object(_visually_contains__WEBPACK_IMPORTED_MODULE_1__['default'])(stack[0], elm)) {
-1 13180 stack.push(elm);
-1 13181 }
-1 13182 } else {
-1 13183 stack.push(elm);
-1 13184 }
-1 13185 return stack;
-1 13186 }, []);
-1 13187 }
-1 13188 __webpack_exports__['default'] = shadowElementsFromPoint;
-1 13189 },
-1 13190 './lib/commons/dom/url-props-from-attribute.js': function libCommonsDomUrlPropsFromAttributeJs(module, __webpack_exports__, __webpack_require__) {
-1 13191 'use strict';
-1 13192 __webpack_require__.r(__webpack_exports__);
-1 13193 function urlPropsFromAttribute(node, attribute) {
-1 13194 if (!node.hasAttribute(attribute)) {
-1 13195 return undefined;
-1 13196 }
-1 13197 var nodeName = node.nodeName.toUpperCase();
-1 13198 var parser = node;
-1 13199 if (![ 'A', 'AREA' ].includes(nodeName) || node.ownerSVGElement) {
-1 13200 parser = document.createElement('a');
-1 13201 parser.href = node.getAttribute(attribute);
-1 13202 }
-1 13203 var protocol = [ 'https:', 'ftps:' ].includes(parser.protocol) ? parser.protocol.replace(/s:$/, ':') : parser.protocol;
-1 13204 var parserPathname = /^\//.test(parser.pathname) ? parser.pathname : '/'.concat(parser.pathname);
-1 13205 var _getPathnameOrFilenam = getPathnameOrFilename(parserPathname), pathname = _getPathnameOrFilenam.pathname, filename = _getPathnameOrFilenam.filename;
-1 13206 return {
-1 13207 protocol: protocol,
-1 13208 hostname: parser.hostname,
-1 13209 port: getPort(parser.port),
-1 13210 pathname: /\/$/.test(pathname) ? pathname : ''.concat(pathname, '/'),
-1 13211 search: getSearchPairs(parser.search),
-1 13212 hash: getHashRoute(parser.hash),
-1 13213 filename: filename
-1 13214 };
-1 13215 }
-1 13216 function getPort(port) {
-1 13217 var excludePorts = [ '443', '80' ];
-1 13218 return !excludePorts.includes(port) ? port : '';
-1 13219 }
-1 13220 function getPathnameOrFilename(pathname) {
-1 13221 var filename = pathname.split('/').pop();
-1 13222 if (!filename || filename.indexOf('.') === -1) {
-1 13223 return {
-1 13224 pathname: pathname,
-1 13225 filename: ''
-1 13226 };
-1 13227 }
-1 13228 return {
-1 13229 pathname: pathname.replace(filename, ''),
-1 13230 filename: /index./.test(filename) ? '' : filename
-1 13231 };
-1 13232 }
-1 13233 function getSearchPairs(searchStr) {
-1 13234 var query = {};
-1 13235 if (!searchStr || !searchStr.length) {
-1 13236 return query;
-1 13237 }
-1 13238 var pairs = searchStr.substring(1).split('&');
-1 13239 if (!pairs || !pairs.length) {
-1 13240 return query;
-1 13241 }
-1 13242 for (var index = 0; index < pairs.length; index++) {
-1 13243 var pair = pairs[index];
-1 13244 var _pair$split = pair.split('='), _pair$split2 = _slicedToArray(_pair$split, 2), key = _pair$split2[0], _pair$split2$ = _pair$split2[1], value = _pair$split2$ === void 0 ? '' : _pair$split2$;
-1 13245 query[decodeURIComponent(key)] = decodeURIComponent(value);
-1 13246 }
-1 13247 return query;
-1 13248 }
-1 13249 function getHashRoute(hash) {
-1 13250 if (!hash) {
-1 13251 return '';
-1 13252 }
-1 13253 var hashRegex = /#!?\/?/g;
-1 13254 var hasMatch = hash.match(hashRegex);
-1 13255 if (!hasMatch) {
-1 13256 return '';
-1 13257 }
-1 13258 var _hasMatch = _slicedToArray(hasMatch, 1), matchedStr = _hasMatch[0];
-1 13259 if (matchedStr === '#') {
-1 13260 return '';
-1 13261 }
-1 13262 return hash;
-1 13263 }
-1 13264 __webpack_exports__['default'] = urlPropsFromAttribute;
-1 13265 },
-1 13266 './lib/commons/dom/visually-contains.js': function libCommonsDomVisuallyContainsJs(module, __webpack_exports__, __webpack_require__) {
-1 13267 'use strict';
-1 13268 __webpack_require__.r(__webpack_exports__);
-1 13269 var _core_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/core/utils/index.js');
-1 13270 function getScrollAncestor(node) {
-1 13271 var vNode = Object(_core_utils__WEBPACK_IMPORTED_MODULE_0__['getNodeFromTree'])(node);
-1 13272 var ancestor = vNode.parent;
-1 13273 while (ancestor) {
-1 13274 if (Object(_core_utils__WEBPACK_IMPORTED_MODULE_0__['getScroll'])(ancestor.actualNode)) {
-1 13275 return ancestor.actualNode;
-1 13276 }
-1 13277 ancestor = ancestor.parent;
-1 13278 }
-1 13279 }
-1 13280 function contains(node, parent) {
-1 13281 var rectBound = node.getBoundingClientRect();
-1 13282 var margin = .01;
-1 13283 var rect = {
-1 13284 top: rectBound.top + margin,
-1 13285 bottom: rectBound.bottom - margin,
-1 13286 left: rectBound.left + margin,
-1 13287 right: rectBound.right - margin
-1 13288 };
-1 13289 var parentRect = parent.getBoundingClientRect();
-1 13290 var parentTop = parentRect.top;
-1 13291 var parentLeft = parentRect.left;
-1 13292 var parentScrollArea = {
-1 13293 top: parentTop - parent.scrollTop,
-1 13294 bottom: parentTop - parent.scrollTop + parent.scrollHeight,
-1 13295 left: parentLeft - parent.scrollLeft,
-1 13296 right: parentLeft - parent.scrollLeft + parent.scrollWidth
-1 13297 };
-1 13298 var style = window.getComputedStyle(parent);
-1 13299 if (style.getPropertyValue('display') === 'inline') {
-1 13300 return true;
-1 13301 }
-1 13302 if (rect.left < parentScrollArea.left && rect.left < parentRect.left || rect.top < parentScrollArea.top && rect.top < parentRect.top || rect.right > parentScrollArea.right && rect.right > parentRect.right || rect.bottom > parentScrollArea.bottom && rect.bottom > parentRect.bottom) {
-1 13303 return false;
-1 13304 }
-1 13305 if (rect.right > parentRect.right || rect.bottom > parentRect.bottom) {
-1 13306 return style.overflow === 'scroll' || style.overflow === 'auto' || style.overflow === 'hidden' || parent instanceof window.HTMLBodyElement || parent instanceof window.HTMLHtmlElement;
-1 13307 }
-1 13308 return true;
-1 13309 }
-1 13310 function visuallyContains(node, parent) {
-1 13311 var parentScrollAncestor = getScrollAncestor(parent);
-1 13312 do {
-1 13313 var nextScrollAncestor = getScrollAncestor(node);
-1 13314 if (nextScrollAncestor === parentScrollAncestor || nextScrollAncestor === parent) {
-1 13315 return contains(node, parent);
-1 13316 }
-1 13317 node = nextScrollAncestor;
-1 13318 } while (node);
-1 13319 return false;
-1 13320 }
-1 13321 __webpack_exports__['default'] = visuallyContains;
-1 13322 },
-1 13323 './lib/commons/dom/visually-overlaps.js': function libCommonsDomVisuallyOverlapsJs(module, __webpack_exports__, __webpack_require__) {
-1 13324 'use strict';
-1 13325 __webpack_require__.r(__webpack_exports__);
-1 13326 function visuallyOverlaps(rect, parent) {
-1 13327 var parentRect = parent.getBoundingClientRect();
-1 13328 var parentTop = parentRect.top;
-1 13329 var parentLeft = parentRect.left;
-1 13330 var parentScrollArea = {
-1 13331 top: parentTop - parent.scrollTop,
-1 13332 bottom: parentTop - parent.scrollTop + parent.scrollHeight,
-1 13333 left: parentLeft - parent.scrollLeft,
-1 13334 right: parentLeft - parent.scrollLeft + parent.scrollWidth
-1 13335 };
-1 13336 if (rect.left > parentScrollArea.right && rect.left > parentRect.right || rect.top > parentScrollArea.bottom && rect.top > parentRect.bottom || rect.right < parentScrollArea.left && rect.right < parentRect.left || rect.bottom < parentScrollArea.top && rect.bottom < parentRect.top) {
-1 13337 return false;
-1 13338 }
-1 13339 var style = window.getComputedStyle(parent);
-1 13340 if (rect.left > parentRect.right || rect.top > parentRect.bottom) {
-1 13341 return style.overflow === 'scroll' || style.overflow === 'auto' || parent instanceof window.HTMLBodyElement || parent instanceof window.HTMLHtmlElement;
-1 13342 }
-1 13343 return true;
-1 13344 }
-1 13345 __webpack_exports__['default'] = visuallyOverlaps;
-1 13346 },
-1 13347 './lib/commons/forms/index.js': function libCommonsFormsIndexJs(module, __webpack_exports__, __webpack_require__) {
-1 13348 'use strict';
-1 13349 __webpack_require__.r(__webpack_exports__);
-1 13350 var _is_aria_combobox__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/forms/is-aria-combobox.js');
-1 13351 __webpack_require__.d(__webpack_exports__, 'isAriaCombobox', function() {
-1 13352 return _is_aria_combobox__WEBPACK_IMPORTED_MODULE_0__['default'];
-1 13353 });
-1 13354 var _is_aria_listbox__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/commons/forms/is-aria-listbox.js');
-1 13355 __webpack_require__.d(__webpack_exports__, 'isAriaListbox', function() {
-1 13356 return _is_aria_listbox__WEBPACK_IMPORTED_MODULE_1__['default'];
-1 13357 });
-1 13358 var _is_aria_range__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__('./lib/commons/forms/is-aria-range.js');
-1 13359 __webpack_require__.d(__webpack_exports__, 'isAriaRange', function() {
-1 13360 return _is_aria_range__WEBPACK_IMPORTED_MODULE_2__['default'];
-1 13361 });
-1 13362 var _is_aria_textbox__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__('./lib/commons/forms/is-aria-textbox.js');
-1 13363 __webpack_require__.d(__webpack_exports__, 'isAriaTextbox', function() {
-1 13364 return _is_aria_textbox__WEBPACK_IMPORTED_MODULE_3__['default'];
-1 13365 });
-1 13366 var _is_native_select__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__('./lib/commons/forms/is-native-select.js');
-1 13367 __webpack_require__.d(__webpack_exports__, 'isNativeSelect', function() {
-1 13368 return _is_native_select__WEBPACK_IMPORTED_MODULE_4__['default'];
-1 13369 });
-1 13370 var _is_native_textbox__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__('./lib/commons/forms/is-native-textbox.js');
-1 13371 __webpack_require__.d(__webpack_exports__, 'isNativeTextbox', function() {
-1 13372 return _is_native_textbox__WEBPACK_IMPORTED_MODULE_5__['default'];
-1 13373 });
-1 13374 var _is_disabled__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__('./lib/commons/forms/is-disabled.js');
-1 13375 __webpack_require__.d(__webpack_exports__, 'isDisabled', function() {
-1 13376 return _is_disabled__WEBPACK_IMPORTED_MODULE_6__['default'];
-1 13377 });
-1 13378 },
-1 13379 './lib/commons/forms/is-aria-combobox.js': function libCommonsFormsIsAriaComboboxJs(module, __webpack_exports__, __webpack_require__) {
-1 13380 'use strict';
-1 13381 __webpack_require__.r(__webpack_exports__);
-1 13382 var _aria_get_explicit_role__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/aria/get-explicit-role.js');
-1 13383 function isAriaCombobox(node) {
-1 13384 var role = Object(_aria_get_explicit_role__WEBPACK_IMPORTED_MODULE_0__['default'])(node);
-1 13385 return role === 'combobox';
-1 13386 }
-1 13387 __webpack_exports__['default'] = isAriaCombobox;
-1 13388 },
-1 13389 './lib/commons/forms/is-aria-listbox.js': function libCommonsFormsIsAriaListboxJs(module, __webpack_exports__, __webpack_require__) {
-1 13390 'use strict';
-1 13391 __webpack_require__.r(__webpack_exports__);
-1 13392 var _aria_get_explicit_role__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/aria/get-explicit-role.js');
-1 13393 function isAriaListbox(node) {
-1 13394 var role = Object(_aria_get_explicit_role__WEBPACK_IMPORTED_MODULE_0__['default'])(node);
-1 13395 return role === 'listbox';
-1 13396 }
-1 13397 __webpack_exports__['default'] = isAriaListbox;
-1 13398 },
-1 13399 './lib/commons/forms/is-aria-range.js': function libCommonsFormsIsAriaRangeJs(module, __webpack_exports__, __webpack_require__) {
-1 13400 'use strict';
-1 13401 __webpack_require__.r(__webpack_exports__);
-1 13402 var _aria_get_explicit_role__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/aria/get-explicit-role.js');
-1 13403 var rangeRoles = [ 'progressbar', 'scrollbar', 'slider', 'spinbutton' ];
-1 13404 function isAriaRange(node) {
-1 13405 var role = Object(_aria_get_explicit_role__WEBPACK_IMPORTED_MODULE_0__['default'])(node);
-1 13406 return rangeRoles.includes(role);
-1 13407 }
-1 13408 __webpack_exports__['default'] = isAriaRange;
-1 13409 },
-1 13410 './lib/commons/forms/is-aria-textbox.js': function libCommonsFormsIsAriaTextboxJs(module, __webpack_exports__, __webpack_require__) {
-1 13411 'use strict';
-1 13412 __webpack_require__.r(__webpack_exports__);
-1 13413 var _aria_get_explicit_role__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/aria/get-explicit-role.js');
-1 13414 function isAriaTextbox(node) {
-1 13415 var role = Object(_aria_get_explicit_role__WEBPACK_IMPORTED_MODULE_0__['default'])(node);
-1 13416 return role === 'textbox';
-1 13417 }
-1 13418 __webpack_exports__['default'] = isAriaTextbox;
-1 13419 },
-1 13420 './lib/commons/forms/is-disabled.js': function libCommonsFormsIsDisabledJs(module, __webpack_exports__, __webpack_require__) {
-1 13421 'use strict';
-1 13422 __webpack_require__.r(__webpack_exports__);
-1 13423 var disabledNodeNames = [ 'fieldset', 'button', 'select', 'input', 'textarea' ];
-1 13424 function isDisabled(virtualNode) {
-1 13425 var disabledState = virtualNode._isDisabled;
-1 13426 if (typeof disabledState === 'boolean') {
-1 13427 return disabledState;
-1 13428 }
-1 13429 var nodeName = virtualNode.props.nodeName;
-1 13430 var ariaDisabled = virtualNode.attr('aria-disabled');
-1 13431 if (disabledNodeNames.includes(nodeName) && virtualNode.hasAttr('disabled')) {
-1 13432 disabledState = true;
-1 13433 } else if (ariaDisabled) {
-1 13434 disabledState = ariaDisabled.toLowerCase() === 'true';
-1 13435 } else if (virtualNode.parent) {
-1 13436 disabledState = isDisabled(virtualNode.parent);
-1 13437 } else {
-1 13438 disabledState = false;
-1 13439 }
-1 13440 virtualNode._isDisabled = disabledState;
-1 13441 return disabledState;
-1 13442 }
-1 13443 __webpack_exports__['default'] = isDisabled;
-1 13444 },
-1 13445 './lib/commons/forms/is-native-select.js': function libCommonsFormsIsNativeSelectJs(module, __webpack_exports__, __webpack_require__) {
-1 13446 'use strict';
-1 13447 __webpack_require__.r(__webpack_exports__);
-1 13448 var _core_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/core/utils/index.js');
-1 13449 var _core_base_virtual_node_abstract_virtual_node__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/core/base/virtual-node/abstract-virtual-node.js');
-1 13450 function isNativeSelect(node) {
-1 13451 node = node instanceof _core_base_virtual_node_abstract_virtual_node__WEBPACK_IMPORTED_MODULE_1__['default'] ? node : Object(_core_utils__WEBPACK_IMPORTED_MODULE_0__['getNodeFromTree'])(node);
-1 13452 var nodeName = node.props.nodeName;
-1 13453 return nodeName === 'select';
-1 13454 }
-1 13455 __webpack_exports__['default'] = isNativeSelect;
-1 13456 },
-1 13457 './lib/commons/forms/is-native-textbox.js': function libCommonsFormsIsNativeTextboxJs(module, __webpack_exports__, __webpack_require__) {
-1 13458 'use strict';
-1 13459 __webpack_require__.r(__webpack_exports__);
-1 13460 var _core_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/core/utils/index.js');
-1 13461 var _core_base_virtual_node_abstract_virtual_node__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/core/base/virtual-node/abstract-virtual-node.js');
-1 13462 var nonTextInputTypes = [ 'button', 'checkbox', 'color', 'file', 'hidden', 'image', 'password', 'radio', 'reset', 'submit' ];
-1 13463 function isNativeTextbox(node) {
-1 13464 node = node instanceof _core_base_virtual_node_abstract_virtual_node__WEBPACK_IMPORTED_MODULE_1__['default'] ? node : Object(_core_utils__WEBPACK_IMPORTED_MODULE_0__['getNodeFromTree'])(node);
-1 13465 var nodeName = node.props.nodeName;
-1 13466 return nodeName === 'textarea' || nodeName === 'input' && !nonTextInputTypes.includes((node.attr('type') || '').toLowerCase());
-1 13467 }
-1 13468 __webpack_exports__['default'] = isNativeTextbox;
-1 13469 },
-1 13470 './lib/commons/index.js': function libCommonsIndexJs(module, __webpack_exports__, __webpack_require__) {
-1 13471 'use strict';
-1 13472 __webpack_require__.r(__webpack_exports__);
-1 13473 var _aria__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/aria/index.js');
-1 13474 __webpack_require__.d(__webpack_exports__, 'aria', function() {
-1 13475 return _aria__WEBPACK_IMPORTED_MODULE_0__;
-1 13476 });
-1 13477 var _color__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/commons/color/index.js');
-1 13478 __webpack_require__.d(__webpack_exports__, 'color', function() {
-1 13479 return _color__WEBPACK_IMPORTED_MODULE_1__;
-1 13480 });
-1 13481 var _dom__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__('./lib/commons/dom/index.js');
-1 13482 __webpack_require__.d(__webpack_exports__, 'dom', function() {
-1 13483 return _dom__WEBPACK_IMPORTED_MODULE_2__;
-1 13484 });
-1 13485 var _forms__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__('./lib/commons/forms/index.js');
-1 13486 __webpack_require__.d(__webpack_exports__, 'forms', function() {
-1 13487 return _forms__WEBPACK_IMPORTED_MODULE_3__;
-1 13488 });
-1 13489 var _matches__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__('./lib/commons/matches/index.js');
-1 13490 __webpack_require__.d(__webpack_exports__, 'matches', function() {
-1 13491 return _matches__WEBPACK_IMPORTED_MODULE_4__['default'];
-1 13492 });
-1 13493 var _standards__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__('./lib/commons/standards/index.js');
-1 13494 __webpack_require__.d(__webpack_exports__, 'standards', function() {
-1 13495 return _standards__WEBPACK_IMPORTED_MODULE_5__;
-1 13496 });
-1 13497 var _table__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__('./lib/commons/table/index.js');
-1 13498 __webpack_require__.d(__webpack_exports__, 'table', function() {
-1 13499 return _table__WEBPACK_IMPORTED_MODULE_6__;
-1 13500 });
-1 13501 var _text__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__('./lib/commons/text/index.js');
-1 13502 __webpack_require__.d(__webpack_exports__, 'text', function() {
-1 13503 return _text__WEBPACK_IMPORTED_MODULE_7__;
-1 13504 });
-1 13505 var _core_utils__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__('./lib/core/utils/index.js');
-1 13506 __webpack_require__.d(__webpack_exports__, 'utils', function() {
-1 13507 return _core_utils__WEBPACK_IMPORTED_MODULE_8__;
-1 13508 });
-1 13509 var commons = {
-1 13510 aria: _aria__WEBPACK_IMPORTED_MODULE_0__,
-1 13511 color: _color__WEBPACK_IMPORTED_MODULE_1__,
-1 13512 dom: _dom__WEBPACK_IMPORTED_MODULE_2__,
-1 13513 forms: _forms__WEBPACK_IMPORTED_MODULE_3__,
-1 13514 matches: _matches__WEBPACK_IMPORTED_MODULE_4__['default'],
-1 13515 standards: _standards__WEBPACK_IMPORTED_MODULE_5__,
-1 13516 table: _table__WEBPACK_IMPORTED_MODULE_6__,
-1 13517 text: _text__WEBPACK_IMPORTED_MODULE_7__,
-1 13518 utils: _core_utils__WEBPACK_IMPORTED_MODULE_8__
-1 13519 };
-1 13520 },
-1 13521 './lib/commons/matches/attributes.js': function libCommonsMatchesAttributesJs(module, __webpack_exports__, __webpack_require__) {
-1 13522 'use strict';
-1 13523 __webpack_require__.r(__webpack_exports__);
-1 13524 var _from_function__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/matches/from-function.js');
-1 13525 var _core_base_virtual_node_abstract_virtual_node__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/core/base/virtual-node/abstract-virtual-node.js');
-1 13526 var _core_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__('./lib/core/utils/index.js');
-1 13527 function attributes(vNode, matcher) {
-1 13528 if (!(vNode instanceof _core_base_virtual_node_abstract_virtual_node__WEBPACK_IMPORTED_MODULE_1__['default'])) {
-1 13529 vNode = Object(_core_utils__WEBPACK_IMPORTED_MODULE_2__['getNodeFromTree'])(vNode);
-1 13530 }
-1 13531 return Object(_from_function__WEBPACK_IMPORTED_MODULE_0__['default'])(function(attrName) {
-1 13532 return vNode.attr(attrName);
-1 13533 }, matcher);
-1 13534 }
-1 13535 __webpack_exports__['default'] = attributes;
-1 13536 },
-1 13537 './lib/commons/matches/condition.js': function libCommonsMatchesConditionJs(module, __webpack_exports__, __webpack_require__) {
-1 13538 'use strict';
-1 13539 __webpack_require__.r(__webpack_exports__);
-1 13540 function condition(arg, condition) {
-1 13541 return !!condition(arg);
-1 13542 }
-1 13543 __webpack_exports__['default'] = condition;
-1 13544 },
-1 13545 './lib/commons/matches/explicit-role.js': function libCommonsMatchesExplicitRoleJs(module, __webpack_exports__, __webpack_require__) {
-1 13546 'use strict';
-1 13547 __webpack_require__.r(__webpack_exports__);
-1 13548 var _from_primative__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/matches/from-primative.js');
-1 13549 var _aria_get_explicit_role__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/commons/aria/get-explicit-role.js');
-1 13550 function explicitRole(vNode, matcher) {
-1 13551 return Object(_from_primative__WEBPACK_IMPORTED_MODULE_0__['default'])(Object(_aria_get_explicit_role__WEBPACK_IMPORTED_MODULE_1__['default'])(vNode), matcher);
-1 13552 }
-1 13553 __webpack_exports__['default'] = explicitRole;
-1 13554 },
-1 13555 './lib/commons/matches/from-definition.js': function libCommonsMatchesFromDefinitionJs(module, __webpack_exports__, __webpack_require__) {
-1 13556 'use strict';
-1 13557 __webpack_require__.r(__webpack_exports__);
-1 13558 var _attributes__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/matches/attributes.js');
-1 13559 var _condition__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/commons/matches/condition.js');
-1 13560 var _explicit_role__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__('./lib/commons/matches/explicit-role.js');
-1 13561 var _implicit_role__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__('./lib/commons/matches/implicit-role.js');
-1 13562 var _node_name__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__('./lib/commons/matches/node-name.js');
-1 13563 var _properties__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__('./lib/commons/matches/properties.js');
-1 13564 var _semantic_role__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__('./lib/commons/matches/semantic-role.js');
-1 13565 var _core_base_virtual_node_abstract_virtual_node__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__('./lib/core/base/virtual-node/abstract-virtual-node.js');
-1 13566 var _core_utils__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__('./lib/core/utils/index.js');
-1 13567 var matchers = {
-1 13568 attributes: _attributes__WEBPACK_IMPORTED_MODULE_0__['default'],
-1 13569 condition: _condition__WEBPACK_IMPORTED_MODULE_1__['default'],
-1 13570 explicitRole: _explicit_role__WEBPACK_IMPORTED_MODULE_2__['default'],
-1 13571 implicitRole: _implicit_role__WEBPACK_IMPORTED_MODULE_3__['default'],
-1 13572 nodeName: _node_name__WEBPACK_IMPORTED_MODULE_4__['default'],
-1 13573 properties: _properties__WEBPACK_IMPORTED_MODULE_5__['default'],
-1 13574 semanticRole: _semantic_role__WEBPACK_IMPORTED_MODULE_6__['default']
-1 13575 };
-1 13576 function fromDefinition(vNode, definition) {
-1 13577 if (!(vNode instanceof _core_base_virtual_node_abstract_virtual_node__WEBPACK_IMPORTED_MODULE_7__['default'])) {
-1 13578 vNode = Object(_core_utils__WEBPACK_IMPORTED_MODULE_8__['getNodeFromTree'])(vNode);
-1 13579 }
-1 13580 if (Array.isArray(definition)) {
-1 13581 return definition.some(function(definitionItem) {
-1 13582 return fromDefinition(vNode, definitionItem);
-1 13583 });
-1 13584 }
-1 13585 if (typeof definition === 'string') {
-1 13586 return Object(_core_utils__WEBPACK_IMPORTED_MODULE_8__['matches'])(vNode, definition);
-1 13587 }
-1 13588 return Object.keys(definition).every(function(matcherName) {
-1 13589 if (!matchers[matcherName]) {
-1 13590 throw new Error('Unknown matcher type "'.concat(matcherName, '"'));
-1 13591 }
-1 13592 var matchMethod = matchers[matcherName];
-1 13593 var matcher = definition[matcherName];
-1 13594 return matchMethod(vNode, matcher);
-1 13595 });
-1 13596 }
-1 13597 __webpack_exports__['default'] = fromDefinition;
-1 13598 },
-1 13599 './lib/commons/matches/from-function.js': function libCommonsMatchesFromFunctionJs(module, __webpack_exports__, __webpack_require__) {
-1 13600 'use strict';
-1 13601 __webpack_require__.r(__webpack_exports__);
-1 13602 var _from_primative__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/matches/from-primative.js');
-1 13603 function fromFunction(getValue, matcher) {
-1 13604 var matcherType = _typeof(matcher);
-1 13605 if (matcherType !== 'object' || Array.isArray(matcher) || matcher instanceof RegExp) {
-1 13606 throw new Error('Expect matcher to be an object');
-1 13607 }
-1 13608 return Object.keys(matcher).every(function(propName) {
-1 13609 return Object(_from_primative__WEBPACK_IMPORTED_MODULE_0__['default'])(getValue(propName), matcher[propName]);
-1 13610 });
-1 13611 }
-1 13612 __webpack_exports__['default'] = fromFunction;
-1 13613 },
-1 13614 './lib/commons/matches/from-primative.js': function libCommonsMatchesFromPrimativeJs(module, __webpack_exports__, __webpack_require__) {
-1 13615 'use strict';
-1 13616 __webpack_require__.r(__webpack_exports__);
-1 13617 function fromPrimative(someString, matcher) {
-1 13618 var matcherType = _typeof(matcher);
-1 13619 if (Array.isArray(matcher) && typeof someString !== 'undefined') {
-1 13620 return matcher.includes(someString);
-1 13621 }
-1 13622 if (matcherType === 'function') {
-1 13623 return !!matcher(someString);
-1 13624 }
-1 13625 if (someString !== null && someString !== undefined) {
-1 13626 if (matcher instanceof RegExp) {
-1 13627 return matcher.test(someString);
-1 13628 }
-1 13629 if (/^\/.*\/$/.test(matcher)) {
-1 13630 var pattern = matcher.substring(1, matcher.length - 1);
-1 13631 return new RegExp(pattern).test(someString);
-1 13632 }
-1 13633 }
-1 13634 return matcher === someString;
-1 13635 }
-1 13636 __webpack_exports__['default'] = fromPrimative;
-1 13637 },
-1 13638 './lib/commons/matches/implicit-role.js': function libCommonsMatchesImplicitRoleJs(module, __webpack_exports__, __webpack_require__) {
-1 13639 'use strict';
-1 13640 __webpack_require__.r(__webpack_exports__);
-1 13641 var _from_primative__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/matches/from-primative.js');
-1 13642 var _aria_implicit_role__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/commons/aria/implicit-role.js');
-1 13643 function implicitRole(vNode, matcher) {
-1 13644 return Object(_from_primative__WEBPACK_IMPORTED_MODULE_0__['default'])(Object(_aria_implicit_role__WEBPACK_IMPORTED_MODULE_1__['default'])(vNode), matcher);
-1 13645 }
-1 13646 __webpack_exports__['default'] = implicitRole;
-1 13647 },
-1 13648 './lib/commons/matches/index.js': function libCommonsMatchesIndexJs(module, __webpack_exports__, __webpack_require__) {
-1 13649 'use strict';
-1 13650 __webpack_require__.r(__webpack_exports__);
-1 13651 var _attributes__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/matches/attributes.js');
-1 13652 var _condition__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/commons/matches/condition.js');
-1 13653 var _explicit_role__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__('./lib/commons/matches/explicit-role.js');
-1 13654 var _from_definition__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__('./lib/commons/matches/from-definition.js');
-1 13655 var _from_function__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__('./lib/commons/matches/from-function.js');
-1 13656 var _from_primative__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__('./lib/commons/matches/from-primative.js');
-1 13657 var _implicit_role__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__('./lib/commons/matches/implicit-role.js');
-1 13658 var _matches__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__('./lib/commons/matches/matches.js');
-1 13659 var _node_name__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__('./lib/commons/matches/node-name.js');
-1 13660 var _properties__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__('./lib/commons/matches/properties.js');
-1 13661 var _semantic_role__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__('./lib/commons/matches/semantic-role.js');
-1 13662 _matches__WEBPACK_IMPORTED_MODULE_7__['default'].attributes = _attributes__WEBPACK_IMPORTED_MODULE_0__['default'];
-1 13663 _matches__WEBPACK_IMPORTED_MODULE_7__['default'].condition = _condition__WEBPACK_IMPORTED_MODULE_1__['default'];
-1 13664 _matches__WEBPACK_IMPORTED_MODULE_7__['default'].explicitRole = _explicit_role__WEBPACK_IMPORTED_MODULE_2__['default'];
-1 13665 _matches__WEBPACK_IMPORTED_MODULE_7__['default'].fromDefinition = _from_definition__WEBPACK_IMPORTED_MODULE_3__['default'];
-1 13666 _matches__WEBPACK_IMPORTED_MODULE_7__['default'].fromFunction = _from_function__WEBPACK_IMPORTED_MODULE_4__['default'];
-1 13667 _matches__WEBPACK_IMPORTED_MODULE_7__['default'].fromPrimative = _from_primative__WEBPACK_IMPORTED_MODULE_5__['default'];
-1 13668 _matches__WEBPACK_IMPORTED_MODULE_7__['default'].implicitRole = _implicit_role__WEBPACK_IMPORTED_MODULE_6__['default'];
-1 13669 _matches__WEBPACK_IMPORTED_MODULE_7__['default'].nodeName = _node_name__WEBPACK_IMPORTED_MODULE_8__['default'];
-1 13670 _matches__WEBPACK_IMPORTED_MODULE_7__['default'].properties = _properties__WEBPACK_IMPORTED_MODULE_9__['default'];
-1 13671 _matches__WEBPACK_IMPORTED_MODULE_7__['default'].semanticRole = _semantic_role__WEBPACK_IMPORTED_MODULE_10__['default'];
-1 13672 __webpack_exports__['default'] = _matches__WEBPACK_IMPORTED_MODULE_7__['default'];
-1 13673 },
-1 13674 './lib/commons/matches/matches.js': function libCommonsMatchesMatchesJs(module, __webpack_exports__, __webpack_require__) {
-1 13675 'use strict';
-1 13676 __webpack_require__.r(__webpack_exports__);
-1 13677 var _from_definition__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/matches/from-definition.js');
-1 13678 function matches(vNode, definition) {
-1 13679 return Object(_from_definition__WEBPACK_IMPORTED_MODULE_0__['default'])(vNode, definition);
-1 13680 }
-1 13681 __webpack_exports__['default'] = matches;
-1 13682 },
-1 13683 './lib/commons/matches/node-name.js': function libCommonsMatchesNodeNameJs(module, __webpack_exports__, __webpack_require__) {
-1 13684 'use strict';
-1 13685 __webpack_require__.r(__webpack_exports__);
-1 13686 var _from_primative__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/matches/from-primative.js');
-1 13687 var _core_base_virtual_node_abstract_virtual_node__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/core/base/virtual-node/abstract-virtual-node.js');
-1 13688 var _core_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__('./lib/core/utils/index.js');
-1 13689 function nodeName(vNode, matcher) {
-1 13690 if (!(vNode instanceof _core_base_virtual_node_abstract_virtual_node__WEBPACK_IMPORTED_MODULE_1__['default'])) {
-1 13691 vNode = Object(_core_utils__WEBPACK_IMPORTED_MODULE_2__['getNodeFromTree'])(vNode);
-1 13692 }
-1 13693 return Object(_from_primative__WEBPACK_IMPORTED_MODULE_0__['default'])(vNode.props.nodeName, matcher);
-1 13694 }
-1 13695 __webpack_exports__['default'] = nodeName;
-1 13696 },
-1 13697 './lib/commons/matches/properties.js': function libCommonsMatchesPropertiesJs(module, __webpack_exports__, __webpack_require__) {
-1 13698 'use strict';
-1 13699 __webpack_require__.r(__webpack_exports__);
-1 13700 var _from_function__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/matches/from-function.js');
-1 13701 var _core_base_virtual_node_abstract_virtual_node__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/core/base/virtual-node/abstract-virtual-node.js');
-1 13702 var _core_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__('./lib/core/utils/index.js');
-1 13703 function properties(vNode, matcher) {
-1 13704 if (!(vNode instanceof _core_base_virtual_node_abstract_virtual_node__WEBPACK_IMPORTED_MODULE_1__['default'])) {
-1 13705 vNode = Object(_core_utils__WEBPACK_IMPORTED_MODULE_2__['getNodeFromTree'])(vNode);
-1 13706 }
-1 13707 return Object(_from_function__WEBPACK_IMPORTED_MODULE_0__['default'])(function(propName) {
-1 13708 return vNode.props[propName];
-1 13709 }, matcher);
-1 13710 }
-1 13711 __webpack_exports__['default'] = properties;
-1 13712 },
-1 13713 './lib/commons/matches/semantic-role.js': function libCommonsMatchesSemanticRoleJs(module, __webpack_exports__, __webpack_require__) {
-1 13714 'use strict';
-1 13715 __webpack_require__.r(__webpack_exports__);
-1 13716 var _from_primative__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/matches/from-primative.js');
-1 13717 var _aria_get_role__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/commons/aria/get-role.js');
-1 13718 function semanticRole(vNode, matcher) {
-1 13719 return Object(_from_primative__WEBPACK_IMPORTED_MODULE_0__['default'])(Object(_aria_get_role__WEBPACK_IMPORTED_MODULE_1__['default'])(vNode), matcher);
-1 13720 }
-1 13721 __webpack_exports__['default'] = semanticRole;
-1 13722 },
-1 13723 './lib/commons/standards/get-aria-roles-by-type.js': function libCommonsStandardsGetAriaRolesByTypeJs(module, __webpack_exports__, __webpack_require__) {
-1 13724 'use strict';
-1 13725 __webpack_require__.r(__webpack_exports__);
-1 13726 var _standards__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/standards/index.js');
-1 13727 function getAriaRolesByType(type) {
-1 13728 return Object.keys(_standards__WEBPACK_IMPORTED_MODULE_0__['default'].ariaRoles).filter(function(roleName) {
-1 13729 return _standards__WEBPACK_IMPORTED_MODULE_0__['default'].ariaRoles[roleName].type === type;
-1 13730 });
-1 13731 }
-1 13732 __webpack_exports__['default'] = getAriaRolesByType;
-1 13733 },
-1 13734 './lib/commons/standards/get-aria-roles-supporting-name-from-content.js': function libCommonsStandardsGetAriaRolesSupportingNameFromContentJs(module, __webpack_exports__, __webpack_require__) {
-1 13735 'use strict';
-1 13736 __webpack_require__.r(__webpack_exports__);
-1 13737 var _core_base_cache__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/core/base/cache.js');
-1 13738 var _standards__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/standards/index.js');
-1 13739 function getAriaRolesSupportingNameFromContent() {
-1 13740 if (_core_base_cache__WEBPACK_IMPORTED_MODULE_0__['default'].get('ariaRolesNameFromContent')) {
-1 13741 return _core_base_cache__WEBPACK_IMPORTED_MODULE_0__['default'].get('ariaRolesNameFromContent');
-1 13742 }
-1 13743 var contentRoles = Object.keys(_standards__WEBPACK_IMPORTED_MODULE_1__['default'].ariaRoles).filter(function(roleName) {
-1 13744 return _standards__WEBPACK_IMPORTED_MODULE_1__['default'].ariaRoles[roleName].nameFromContent;
-1 13745 });
-1 13746 _core_base_cache__WEBPACK_IMPORTED_MODULE_0__['default'].set('ariaRolesNameFromContent', contentRoles);
-1 13747 return contentRoles;
-1 13748 }
-1 13749 __webpack_exports__['default'] = getAriaRolesSupportingNameFromContent;
-1 13750 },
-1 13751 './lib/commons/standards/get-element-spec.js': function libCommonsStandardsGetElementSpecJs(module, __webpack_exports__, __webpack_require__) {
-1 13752 'use strict';
-1 13753 __webpack_require__.r(__webpack_exports__);
-1 13754 var _standards__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/standards/index.js');
-1 13755 var _commons_matches__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/commons/matches/index.js');
-1 13756 function getElementSpec(vNode) {
-1 13757 var standard = _standards__WEBPACK_IMPORTED_MODULE_0__['default'].htmlElms[vNode.props.nodeName];
-1 13758 if (!standard) {
-1 13759 return {};
-1 13760 }
-1 13761 if (!standard.variant) {
-1 13762 return standard;
-1 13763 }
-1 13764 var variant = standard.variant, spec = _objectWithoutProperties(standard, [ 'variant' ]);
-1 13765 for (var variantName in variant) {
-1 13766 if (!variant.hasOwnProperty(variantName) || variantName === 'default') {
-1 13767 continue;
-1 13768 }
-1 13769 var _variant$variantName = variant[variantName], matches = _variant$variantName.matches, props = _objectWithoutProperties(_variant$variantName, [ 'matches' ]);
-1 13770 if (Object(_commons_matches__WEBPACK_IMPORTED_MODULE_1__['default'])(vNode, matches)) {
-1 13771 for (var propName in props) {
-1 13772 if (props.hasOwnProperty(propName)) {
-1 13773 spec[propName] = props[propName];
-1 13774 }
-1 13775 }
-1 13776 }
-1 13777 }
-1 13778 for (var _propName in variant['default']) {
-1 13779 if (variant['default'].hasOwnProperty(_propName) && typeof spec[_propName] === 'undefined') {
-1 13780 spec[_propName] = variant['default'][_propName];
-1 13781 }
-1 13782 }
-1 13783 return spec;
-1 13784 }
-1 13785 __webpack_exports__['default'] = getElementSpec;
-1 13786 },
-1 13787 './lib/commons/standards/get-elements-by-content-type.js': function libCommonsStandardsGetElementsByContentTypeJs(module, __webpack_exports__, __webpack_require__) {
-1 13788 'use strict';
-1 13789 __webpack_require__.r(__webpack_exports__);
-1 13790 var _standards__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/standards/index.js');
-1 13791 function getElementsByContentType(type) {
-1 13792 return Object.keys(_standards__WEBPACK_IMPORTED_MODULE_0__['default'].htmlElms).filter(function(nodeName) {
-1 13793 var elm = _standards__WEBPACK_IMPORTED_MODULE_0__['default'].htmlElms[nodeName];
-1 13794 if (elm.contentTypes) {
-1 13795 return elm.contentTypes.includes(type);
-1 13796 }
-1 13797 if (!elm.variant) {
-1 13798 return false;
-1 13799 }
-1 13800 if (elm.variant['default'] && elm.variant['default'].contentTypes) {
-1 13801 return elm.variant['default'].contentTypes.includes(type);
-1 13802 }
-1 13803 return false;
-1 13804 });
-1 13805 }
-1 13806 __webpack_exports__['default'] = getElementsByContentType;
-1 13807 },
-1 13808 './lib/commons/standards/get-global-aria-attrs.js': function libCommonsStandardsGetGlobalAriaAttrsJs(module, __webpack_exports__, __webpack_require__) {
-1 13809 'use strict';
-1 13810 __webpack_require__.r(__webpack_exports__);
-1 13811 var _core_base_cache__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/core/base/cache.js');
-1 13812 var _standards__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/standards/index.js');
-1 13813 function getGlobalAriaAttrs() {
-1 13814 if (_core_base_cache__WEBPACK_IMPORTED_MODULE_0__['default'].get('globalAriaAttrs')) {
-1 13815 return _core_base_cache__WEBPACK_IMPORTED_MODULE_0__['default'].get('globalAriaAttrs');
-1 13816 }
-1 13817 var globalAttrs = Object.keys(_standards__WEBPACK_IMPORTED_MODULE_1__['default'].ariaAttrs).filter(function(attrName) {
-1 13818 return _standards__WEBPACK_IMPORTED_MODULE_1__['default'].ariaAttrs[attrName].global;
-1 13819 });
-1 13820 _core_base_cache__WEBPACK_IMPORTED_MODULE_0__['default'].set('globalAriaAttrs', globalAttrs);
-1 13821 return globalAttrs;
-1 13822 }
-1 13823 __webpack_exports__['default'] = getGlobalAriaAttrs;
-1 13824 },
-1 13825 './lib/commons/standards/implicit-html-roles.js': function libCommonsStandardsImplicitHtmlRolesJs(module, __webpack_exports__, __webpack_require__) {
-1 13826 'use strict';
-1 13827 __webpack_require__.r(__webpack_exports__);
-1 13828 var _get_elements_by_content_type__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/standards/get-elements-by-content-type.js');
-1 13829 var _get_global_aria_attrs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/commons/standards/get-global-aria-attrs.js');
-1 13830 var _aria_arialabelledby_text__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__('./lib/commons/aria/arialabelledby-text.js');
-1 13831 var _aria_arialabel_text__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__('./lib/commons/aria/arialabel-text.js');
-1 13832 var _dom_idrefs__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__('./lib/commons/dom/idrefs.js');
-1 13833 var _table_is_column_header__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__('./lib/commons/table/is-column-header.js');
-1 13834 var _table_is_row_header__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__('./lib/commons/table/is-row-header.js');
-1 13835 var _text_sanitize__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__('./lib/commons/text/sanitize.js');
-1 13836 var _dom_is_focusable__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__('./lib/commons/dom/is-focusable.js');
-1 13837 var _core_utils__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__('./lib/core/utils/index.js');
-1 13838 var _aria_get_explicit_role__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__('./lib/commons/aria/get-explicit-role.js');
-1 13839 var sectioningElementSelector = Object(_get_elements_by_content_type__WEBPACK_IMPORTED_MODULE_0__['default'])('sectioning').map(function(nodeName) {
-1 13840 return ''.concat(nodeName, ':not([role])');
-1 13841 }).join(', ') + ' , main:not([role]), [role=article], [role=complementary], [role=main], [role=navigation], [role=region]';
-1 13842 function hasAccessibleName(vNode) {
-1 13843 var ariaLabelledby = Object(_text_sanitize__WEBPACK_IMPORTED_MODULE_7__['default'])(Object(_aria_arialabelledby_text__WEBPACK_IMPORTED_MODULE_2__['default'])(vNode));
-1 13844 var ariaLabel = Object(_text_sanitize__WEBPACK_IMPORTED_MODULE_7__['default'])(Object(_aria_arialabel_text__WEBPACK_IMPORTED_MODULE_3__['default'])(vNode));
-1 13845 return !!(ariaLabelledby || ariaLabel);
-1 13846 }
-1 13847 var implicitHtmlRoles = {
-1 13848 a: function a(vNode) {
-1 13849 return vNode.hasAttr('href') ? 'link' : null;
-1 13850 },
-1 13851 area: function area(vNode) {
-1 13852 return vNode.hasAttr('href') ? 'link' : null;
-1 13853 },
-1 13854 article: 'article',
-1 13855 aside: 'complementary',
-1 13856 body: 'document',
-1 13857 button: 'button',
-1 13858 datalist: 'listbox',
-1 13859 dd: 'definition',
-1 13860 dfn: 'term',
-1 13861 details: 'group',
-1 13862 dialog: 'dialog',
-1 13863 dt: 'term',
-1 13864 fieldset: 'group',
-1 13865 figure: 'figure',
-1 13866 footer: function footer(vNode) {
-1 13867 var sectioningElement = Object(_core_utils__WEBPACK_IMPORTED_MODULE_9__['closest'])(vNode, sectioningElementSelector);
-1 13868 return !sectioningElement ? 'contentinfo' : null;
-1 13869 },
-1 13870 form: function form(vNode) {
-1 13871 return hasAccessibleName(vNode) ? 'form' : null;
-1 13872 },
-1 13873 h1: 'heading',
-1 13874 h2: 'heading',
-1 13875 h3: 'heading',
-1 13876 h4: 'heading',
-1 13877 h5: 'heading',
-1 13878 h6: 'heading',
-1 13879 header: function header(vNode) {
-1 13880 var sectioningElement = Object(_core_utils__WEBPACK_IMPORTED_MODULE_9__['closest'])(vNode, sectioningElementSelector);
-1 13881 return !sectioningElement ? 'banner' : null;
-1 13882 },
-1 13883 hr: 'separator',
-1 13884 img: function img(vNode) {
-1 13885 var emptyAlt = vNode.hasAttr('alt') && !vNode.attr('alt');
-1 13886 var hasGlobalAria = Object(_get_global_aria_attrs__WEBPACK_IMPORTED_MODULE_1__['default'])().find(function(attr) {
-1 13887 return vNode.hasAttr(attr);
-1 13888 });
-1 13889 return emptyAlt && !hasGlobalAria && !Object(_dom_is_focusable__WEBPACK_IMPORTED_MODULE_8__['default'])(vNode) ? 'presentation' : 'img';
-1 13890 },
-1 13891 input: function input(vNode) {
-1 13892 var suggestionsSourceElement;
-1 13893 if (vNode.hasAttr('list')) {
-1 13894 var listElement = Object(_dom_idrefs__WEBPACK_IMPORTED_MODULE_4__['default'])(vNode.actualNode, 'list').filter(function(node) {
-1 13895 return !!node;
-1 13896 })[0];
-1 13897 suggestionsSourceElement = listElement && listElement.nodeName.toLowerCase() === 'datalist';
-1 13898 }
-1 13899 switch ((vNode.attr('type') || '').toLowerCase()) {
-1 13900 case 'button':
-1 13901 case 'image':
-1 13902 case 'reset':
-1 13903 case 'submit':
-1 13904 return 'button';
-1 13905
-1 13906 case 'checkbox':
-1 13907 return 'checkbox';
-1 13908
-1 13909 case 'email':
-1 13910 case 'tel':
-1 13911 case 'text':
-1 13912 case 'url':
-1 13913 case '':
-1 13914 return !suggestionsSourceElement ? 'textbox' : 'combobox';
-1 13915
-1 13916 case 'number':
-1 13917 return 'spinbutton';
-1 13918
-1 13919 case 'radio':
-1 13920 return 'radio';
-1 13921
-1 13922 case 'range':
-1 13923 return 'slider';
-1 13924
-1 13925 case 'search':
-1 13926 return !suggestionsSourceElement ? 'searchbox' : 'combobox';
-1 13927 }
-1 13928 },
-1 13929 li: 'listitem',
-1 13930 main: 'main',
-1 13931 math: 'math',
-1 13932 menu: 'list',
-1 13933 nav: 'navigation',
-1 13934 ol: 'list',
-1 13935 optgroup: 'group',
-1 13936 option: 'option',
-1 13937 output: 'status',
-1 13938 progress: 'progressbar',
-1 13939 section: function section(vNode) {
-1 13940 return hasAccessibleName(vNode) ? 'region' : null;
-1 13941 },
-1 13942 select: function select(vNode) {
-1 13943 return vNode.hasAttr('multiple') || parseInt(vNode.attr('size')) > 1 ? 'listbox' : 'combobox';
-1 13944 },
-1 13945 summary: 'button',
-1 13946 table: 'table',
-1 13947 tbody: 'rowgroup',
-1 13948 td: function td(vNode) {
-1 13949 var table = Object(_core_utils__WEBPACK_IMPORTED_MODULE_9__['closest'])(vNode, 'table');
-1 13950 var role = Object(_aria_get_explicit_role__WEBPACK_IMPORTED_MODULE_10__['default'])(table);
-1 13951 return [ 'grid', 'treegrid' ].includes(role) ? 'gridcell' : 'cell';
-1 13952 },
-1 13953 textarea: 'textbox',
-1 13954 tfoot: 'rowgroup',
-1 13955 th: function th(vNode) {
-1 13956 if (Object(_table_is_column_header__WEBPACK_IMPORTED_MODULE_5__['default'])(vNode.actualNode)) {
-1 13957 return 'columnheader';
-1 13958 }
-1 13959 if (Object(_table_is_row_header__WEBPACK_IMPORTED_MODULE_6__['default'])(vNode.actualNode)) {
-1 13960 return 'rowheader';
-1 13961 }
-1 13962 },
-1 13963 thead: 'rowgroup',
-1 13964 tr: 'row',
-1 13965 ul: 'list'
-1 13966 };
-1 13967 __webpack_exports__['default'] = implicitHtmlRoles;
-1 13968 },
-1 13969 './lib/commons/standards/index.js': function libCommonsStandardsIndexJs(module, __webpack_exports__, __webpack_require__) {
-1 13970 'use strict';
-1 13971 __webpack_require__.r(__webpack_exports__);
-1 13972 var _get_aria_roles_by_type__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/standards/get-aria-roles-by-type.js');
-1 13973 __webpack_require__.d(__webpack_exports__, 'getAriaRolesByType', function() {
-1 13974 return _get_aria_roles_by_type__WEBPACK_IMPORTED_MODULE_0__['default'];
-1 13975 });
-1 13976 var _get_aria_roles_supporting_name_from_content__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/commons/standards/get-aria-roles-supporting-name-from-content.js');
-1 13977 __webpack_require__.d(__webpack_exports__, 'getAriaRolesSupportingNameFromContent', function() {
-1 13978 return _get_aria_roles_supporting_name_from_content__WEBPACK_IMPORTED_MODULE_1__['default'];
-1 13979 });
-1 13980 var _get_global_aria_attrs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__('./lib/commons/standards/get-global-aria-attrs.js');
-1 13981 __webpack_require__.d(__webpack_exports__, 'getGlobalAriaAttrs', function() {
-1 13982 return _get_global_aria_attrs__WEBPACK_IMPORTED_MODULE_2__['default'];
-1 13983 });
-1 13984 var _get_element_spec__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__('./lib/commons/standards/get-element-spec.js');
-1 13985 __webpack_require__.d(__webpack_exports__, 'getElementSpec', function() {
-1 13986 return _get_element_spec__WEBPACK_IMPORTED_MODULE_3__['default'];
-1 13987 });
-1 13988 var _get_elements_by_content_type__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__('./lib/commons/standards/get-elements-by-content-type.js');
-1 13989 __webpack_require__.d(__webpack_exports__, 'getElementsByContentType', function() {
-1 13990 return _get_elements_by_content_type__WEBPACK_IMPORTED_MODULE_4__['default'];
-1 13991 });
-1 13992 var _implicit_html_roles__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__('./lib/commons/standards/implicit-html-roles.js');
-1 13993 __webpack_require__.d(__webpack_exports__, 'implicitHtmlRoles', function() {
-1 13994 return _implicit_html_roles__WEBPACK_IMPORTED_MODULE_5__['default'];
-1 13995 });
-1 13996 },
-1 13997 './lib/commons/table/get-all-cells.js': function libCommonsTableGetAllCellsJs(module, __webpack_exports__, __webpack_require__) {
-1 13998 'use strict';
-1 13999 __webpack_require__.r(__webpack_exports__);
-1 14000 function getAllCells(tableElm) {
-1 14001 var rowIndex, cellIndex, rowLength, cellLength;
-1 14002 var cells = [];
-1 14003 for (rowIndex = 0, rowLength = tableElm.rows.length; rowIndex < rowLength; rowIndex++) {
-1 14004 for (cellIndex = 0, cellLength = tableElm.rows[rowIndex].cells.length; cellIndex < cellLength; cellIndex++) {
-1 14005 cells.push(tableElm.rows[rowIndex].cells[cellIndex]);
-1 14006 }
-1 14007 }
-1 14008 return cells;
-1 14009 }
-1 14010 __webpack_exports__['default'] = getAllCells;
-1 14011 },
-1 14012 './lib/commons/table/get-cell-position.js': function libCommonsTableGetCellPositionJs(module, __webpack_exports__, __webpack_require__) {
-1 14013 'use strict';
-1 14014 __webpack_require__.r(__webpack_exports__);
-1 14015 var _to_grid__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/table/to-grid.js');
-1 14016 var _dom_find_up__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/commons/dom/find-up.js');
-1 14017 var _core_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__('./lib/core/utils/index.js');
-1 14018 function getCellPosition(cell, tableGrid) {
-1 14019 var rowIndex, index;
-1 14020 if (!tableGrid) {
-1 14021 tableGrid = Object(_to_grid__WEBPACK_IMPORTED_MODULE_0__['default'])(Object(_dom_find_up__WEBPACK_IMPORTED_MODULE_1__['default'])(cell, 'table'));
-1 14022 }
-1 14023 for (rowIndex = 0; rowIndex < tableGrid.length; rowIndex++) {
-1 14024 if (tableGrid[rowIndex]) {
-1 14025 index = tableGrid[rowIndex].indexOf(cell);
-1 14026 if (index !== -1) {
-1 14027 return {
-1 14028 x: index,
-1 14029 y: rowIndex
-1 14030 };
-1 14031 }
-1 14032 }
-1 14033 }
-1 14034 }
-1 14035 __webpack_exports__['default'] = Object(_core_utils__WEBPACK_IMPORTED_MODULE_2__['memoize'])(getCellPosition);
-1 14036 },
-1 14037 './lib/commons/table/get-headers.js': function libCommonsTableGetHeadersJs(module, __webpack_exports__, __webpack_require__) {
-1 14038 'use strict';
-1 14039 __webpack_require__.r(__webpack_exports__);
-1 14040 var _is_row_header__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/table/is-row-header.js');
-1 14041 var _is_column_header__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/commons/table/is-column-header.js');
-1 14042 var _to_grid__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__('./lib/commons/table/to-grid.js');
-1 14043 var _get_cell_position__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__('./lib/commons/table/get-cell-position.js');
-1 14044 var _dom_idrefs__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__('./lib/commons/dom/idrefs.js');
-1 14045 var _dom_find_up__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__('./lib/commons/dom/find-up.js');
-1 14046 function traverseForHeaders(headerType, position, tableGrid) {
-1 14047 var property = headerType === 'row' ? '_rowHeaders' : '_colHeaders';
-1 14048 var predicate = headerType === 'row' ? _is_row_header__WEBPACK_IMPORTED_MODULE_0__['default'] : _is_column_header__WEBPACK_IMPORTED_MODULE_1__['default'];
-1 14049 var rowEnd = headerType === 'row' ? position.y : 0;
-1 14050 var colEnd = headerType === 'row' ? 0 : position.x;
-1 14051 var headers;
-1 14052 var cells = [];
-1 14053 for (var row = position.y; row >= rowEnd && !headers; row--) {
-1 14054 for (var col = position.x; col >= colEnd; col--) {
-1 14055 var cell = tableGrid[row] ? tableGrid[row][col] : undefined;
-1 14056 if (!cell) {
-1 14057 continue;
-1 14058 }
-1 14059 var vNode = axe.utils.getNodeFromTree(cell);
-1 14060 if (vNode[property]) {
-1 14061 headers = vNode[property];
-1 14062 break;
-1 14063 }
-1 14064 cells.push(cell);
-1 14065 }
-1 14066 }
-1 14067 headers = (headers || []).concat(cells.filter(predicate));
-1 14068 cells.forEach(function(tableCell) {
-1 14069 var vNode = axe.utils.getNodeFromTree(tableCell);
-1 14070 vNode[property] = headers;
-1 14071 });
-1 14072 return headers;
-1 14073 }
-1 14074 function getHeaders(cell, tableGrid) {
-1 14075 if (cell.getAttribute('headers')) {
-1 14076 var headers = Object(_dom_idrefs__WEBPACK_IMPORTED_MODULE_4__['default'])(cell, 'headers');
-1 14077 if (headers.filter(function(header) {
-1 14078 return header;
-1 14079 }).length) {
-1 14080 return headers;
-1 14081 }
-1 14082 }
-1 14083 if (!tableGrid) {
-1 14084 tableGrid = Object(_to_grid__WEBPACK_IMPORTED_MODULE_2__['default'])(Object(_dom_find_up__WEBPACK_IMPORTED_MODULE_5__['default'])(cell, 'table'));
-1 14085 }
-1 14086 var position = Object(_get_cell_position__WEBPACK_IMPORTED_MODULE_3__['default'])(cell, tableGrid);
-1 14087 var rowHeaders = traverseForHeaders('row', position, tableGrid);
-1 14088 var colHeaders = traverseForHeaders('col', position, tableGrid);
-1 14089 return [].concat(rowHeaders, colHeaders).reverse();
-1 14090 }
-1 14091 __webpack_exports__['default'] = getHeaders;
-1 14092 },
-1 14093 './lib/commons/table/get-scope.js': function libCommonsTableGetScopeJs(module, __webpack_exports__, __webpack_require__) {
-1 14094 'use strict';
-1 14095 __webpack_require__.r(__webpack_exports__);
-1 14096 var _to_grid__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/table/to-grid.js');
-1 14097 var _get_cell_position__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/commons/table/get-cell-position.js');
-1 14098 var _dom_find_up__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__('./lib/commons/dom/find-up.js');
-1 14099 function getScope(cell) {
-1 14100 var scope = cell.getAttribute('scope');
-1 14101 var role = cell.getAttribute('role');
-1 14102 if (cell instanceof window.Element === false || [ 'TD', 'TH' ].indexOf(cell.nodeName.toUpperCase()) === -1) {
-1 14103 throw new TypeError('Expected TD or TH element');
-1 14104 }
-1 14105 if (role === 'columnheader') {
-1 14106 return 'col';
-1 14107 } else if (role === 'rowheader') {
-1 14108 return 'row';
-1 14109 } else if (scope === 'col' || scope === 'row') {
-1 14110 return scope;
-1 14111 } else if (cell.nodeName.toUpperCase() !== 'TH') {
-1 14112 return false;
-1 14113 }
-1 14114 var tableGrid = Object(_to_grid__WEBPACK_IMPORTED_MODULE_0__['default'])(Object(_dom_find_up__WEBPACK_IMPORTED_MODULE_2__['default'])(cell, 'table'));
-1 14115 var pos = Object(_get_cell_position__WEBPACK_IMPORTED_MODULE_1__['default'])(cell, tableGrid);
-1 14116 var headerRow = tableGrid[pos.y].reduce(function(headerRow, cell) {
-1 14117 return headerRow && cell.nodeName.toUpperCase() === 'TH';
-1 14118 }, true);
-1 14119 if (headerRow) {
-1 14120 return 'col';
-1 14121 }
-1 14122 var headerCol = tableGrid.map(function(col) {
-1 14123 return col[pos.x];
-1 14124 }).reduce(function(headerCol, cell) {
-1 14125 return headerCol && cell && cell.nodeName.toUpperCase() === 'TH';
-1 14126 }, true);
-1 14127 if (headerCol) {
-1 14128 return 'row';
-1 14129 }
-1 14130 return 'auto';
-1 14131 }
-1 14132 __webpack_exports__['default'] = getScope;
-1 14133 },
-1 14134 './lib/commons/table/index.js': function libCommonsTableIndexJs(module, __webpack_exports__, __webpack_require__) {
-1 14135 'use strict';
-1 14136 __webpack_require__.r(__webpack_exports__);
-1 14137 var _get_all_cells__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/table/get-all-cells.js');
-1 14138 __webpack_require__.d(__webpack_exports__, 'getAllCells', function() {
-1 14139 return _get_all_cells__WEBPACK_IMPORTED_MODULE_0__['default'];
-1 14140 });
-1 14141 var _get_cell_position__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/commons/table/get-cell-position.js');
-1 14142 __webpack_require__.d(__webpack_exports__, 'getCellPosition', function() {
-1 14143 return _get_cell_position__WEBPACK_IMPORTED_MODULE_1__['default'];
-1 14144 });
-1 14145 var _get_headers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__('./lib/commons/table/get-headers.js');
-1 14146 __webpack_require__.d(__webpack_exports__, 'getHeaders', function() {
-1 14147 return _get_headers__WEBPACK_IMPORTED_MODULE_2__['default'];
-1 14148 });
-1 14149 var _get_scope__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__('./lib/commons/table/get-scope.js');
-1 14150 __webpack_require__.d(__webpack_exports__, 'getScope', function() {
-1 14151 return _get_scope__WEBPACK_IMPORTED_MODULE_3__['default'];
-1 14152 });
-1 14153 var _is_column_header__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__('./lib/commons/table/is-column-header.js');
-1 14154 __webpack_require__.d(__webpack_exports__, 'isColumnHeader', function() {
-1 14155 return _is_column_header__WEBPACK_IMPORTED_MODULE_4__['default'];
-1 14156 });
-1 14157 var _is_data_cell__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__('./lib/commons/table/is-data-cell.js');
-1 14158 __webpack_require__.d(__webpack_exports__, 'isDataCell', function() {
-1 14159 return _is_data_cell__WEBPACK_IMPORTED_MODULE_5__['default'];
-1 14160 });
-1 14161 var _is_data_table__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__('./lib/commons/table/is-data-table.js');
-1 14162 __webpack_require__.d(__webpack_exports__, 'isDataTable', function() {
-1 14163 return _is_data_table__WEBPACK_IMPORTED_MODULE_6__['default'];
-1 14164 });
-1 14165 var _is_header__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__('./lib/commons/table/is-header.js');
-1 14166 __webpack_require__.d(__webpack_exports__, 'isHeader', function() {
-1 14167 return _is_header__WEBPACK_IMPORTED_MODULE_7__['default'];
-1 14168 });
-1 14169 var _is_row_header__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__('./lib/commons/table/is-row-header.js');
-1 14170 __webpack_require__.d(__webpack_exports__, 'isRowHeader', function() {
-1 14171 return _is_row_header__WEBPACK_IMPORTED_MODULE_8__['default'];
-1 14172 });
-1 14173 var _to_grid__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__('./lib/commons/table/to-grid.js');
-1 14174 __webpack_require__.d(__webpack_exports__, 'toGrid', function() {
-1 14175 return _to_grid__WEBPACK_IMPORTED_MODULE_9__['default'];
-1 14176 });
-1 14177 var _traverse__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__('./lib/commons/table/traverse.js');
-1 14178 __webpack_require__.d(__webpack_exports__, 'traverse', function() {
-1 14179 return _traverse__WEBPACK_IMPORTED_MODULE_10__['default'];
-1 14180 });
-1 14181 __webpack_require__.d(__webpack_exports__, 'toArray', function() {
-1 14182 return _to_grid__WEBPACK_IMPORTED_MODULE_9__['default'];
-1 14183 });
-1 14184 },
-1 14185 './lib/commons/table/is-column-header.js': function libCommonsTableIsColumnHeaderJs(module, __webpack_exports__, __webpack_require__) {
-1 14186 'use strict';
-1 14187 __webpack_require__.r(__webpack_exports__);
-1 14188 var _get_scope__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/table/get-scope.js');
-1 14189 function isColumnHeader(element) {
-1 14190 return [ 'col', 'auto' ].indexOf(Object(_get_scope__WEBPACK_IMPORTED_MODULE_0__['default'])(element)) !== -1;
-1 14191 }
-1 14192 __webpack_exports__['default'] = isColumnHeader;
-1 14193 },
-1 14194 './lib/commons/table/is-data-cell.js': function libCommonsTableIsDataCellJs(module, __webpack_exports__, __webpack_require__) {
-1 14195 'use strict';
-1 14196 __webpack_require__.r(__webpack_exports__);
-1 14197 var _aria_is_valid_role__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/aria/is-valid-role.js');
-1 14198 function isDataCell(cell) {
-1 14199 if (!cell.children.length && !cell.textContent.trim()) {
-1 14200 return false;
-1 14201 }
-1 14202 var role = cell.getAttribute('role');
-1 14203 if (Object(_aria_is_valid_role__WEBPACK_IMPORTED_MODULE_0__['default'])(role)) {
-1 14204 return [ 'cell', 'gridcell' ].includes(role);
-1 14205 } else {
-1 14206 return cell.nodeName.toUpperCase() === 'TD';
-1 14207 }
-1 14208 }
-1 14209 __webpack_exports__['default'] = isDataCell;
-1 14210 },
-1 14211 './lib/commons/table/is-data-table.js': function libCommonsTableIsDataTableJs(module, __webpack_exports__, __webpack_require__) {
-1 14212 'use strict';
-1 14213 __webpack_require__.r(__webpack_exports__);
-1 14214 var _aria_get_role_type__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/aria/get-role-type.js');
-1 14215 var _dom_is_focusable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/commons/dom/is-focusable.js');
-1 14216 var _dom_find_up__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__('./lib/commons/dom/find-up.js');
-1 14217 var _dom_get_element_coordinates__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__('./lib/commons/dom/get-element-coordinates.js');
-1 14218 var _dom_get_viewport_size__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__('./lib/commons/dom/get-viewport-size.js');
-1 14219 function isDataTable(node) {
-1 14220 var role = (node.getAttribute('role') || '').toLowerCase();
-1 14221 if ((role === 'presentation' || role === 'none') && !Object(_dom_is_focusable__WEBPACK_IMPORTED_MODULE_1__['default'])(node)) {
-1 14222 return false;
-1 14223 }
-1 14224 if (node.getAttribute('contenteditable') === 'true' || Object(_dom_find_up__WEBPACK_IMPORTED_MODULE_2__['default'])(node, '[contenteditable="true"]')) {
-1 14225 return true;
-1 14226 }
-1 14227 if (role === 'grid' || role === 'treegrid' || role === 'table') {
-1 14228 return true;
-1 14229 }
-1 14230 if (Object(_aria_get_role_type__WEBPACK_IMPORTED_MODULE_0__['default'])(role) === 'landmark') {
-1 14231 return true;
-1 14232 }
-1 14233 if (node.getAttribute('datatable') === '0') {
-1 14234 return false;
-1 14235 }
-1 14236 if (node.getAttribute('summary')) {
-1 14237 return true;
-1 14238 }
-1 14239 if (node.tHead || node.tFoot || node.caption) {
-1 14240 return true;
-1 14241 }
-1 14242 for (var childIndex = 0, childLength = node.children.length; childIndex < childLength; childIndex++) {
-1 14243 if (node.children[childIndex].nodeName.toUpperCase() === 'COLGROUP') {
-1 14244 return true;
-1 14245 }
-1 14246 }
-1 14247 var cells = 0;
-1 14248 var rowLength = node.rows.length;
-1 14249 var row, cell;
-1 14250 var hasBorder = false;
-1 14251 for (var rowIndex = 0; rowIndex < rowLength; rowIndex++) {
-1 14252 row = node.rows[rowIndex];
-1 14253 for (var cellIndex = 0, cellLength = row.cells.length; cellIndex < cellLength; cellIndex++) {
-1 14254 cell = row.cells[cellIndex];
-1 14255 if (cell.nodeName.toUpperCase() === 'TH') {
-1 14256 return true;
-1 14257 }
-1 14258 if (!hasBorder && (cell.offsetWidth !== cell.clientWidth || cell.offsetHeight !== cell.clientHeight)) {
-1 14259 hasBorder = true;
-1 14260 }
-1 14261 if (cell.getAttribute('scope') || cell.getAttribute('headers') || cell.getAttribute('abbr')) {
-1 14262 return true;
-1 14263 }
-1 14264 if ([ 'columnheader', 'rowheader' ].includes((cell.getAttribute('role') || '').toLowerCase())) {
-1 14265 return true;
-1 14266 }
-1 14267 if (cell.children.length === 1 && cell.children[0].nodeName.toUpperCase() === 'ABBR') {
-1 14268 return true;
-1 14269 }
-1 14270 cells++;
-1 14271 }
-1 14272 }
-1 14273 if (node.getElementsByTagName('table').length) {
-1 14274 return false;
-1 14275 }
-1 14276 if (rowLength < 2) {
-1 14277 return false;
-1 14278 }
-1 14279 var sampleRow = node.rows[Math.ceil(rowLength / 2)];
-1 14280 if (sampleRow.cells.length === 1 && sampleRow.cells[0].colSpan === 1) {
-1 14281 return false;
-1 14282 }
-1 14283 if (sampleRow.cells.length >= 5) {
-1 14284 return true;
-1 14285 }
-1 14286 if (hasBorder) {
-1 14287 return true;
-1 14288 }
-1 14289 var bgColor, bgImage;
-1 14290 for (rowIndex = 0; rowIndex < rowLength; rowIndex++) {
-1 14291 row = node.rows[rowIndex];
-1 14292 if (bgColor && bgColor !== window.getComputedStyle(row).getPropertyValue('background-color')) {
-1 14293 return true;
-1 14294 } else {
-1 14295 bgColor = window.getComputedStyle(row).getPropertyValue('background-color');
-1 14296 }
-1 14297 if (bgImage && bgImage !== window.getComputedStyle(row).getPropertyValue('background-image')) {
-1 14298 return true;
-1 14299 } else {
-1 14300 bgImage = window.getComputedStyle(row).getPropertyValue('background-image');
-1 14301 }
-1 14302 }
-1 14303 if (rowLength >= 20) {
-1 14304 return true;
-1 14305 }
-1 14306 if (Object(_dom_get_element_coordinates__WEBPACK_IMPORTED_MODULE_3__['default'])(node).width > Object(_dom_get_viewport_size__WEBPACK_IMPORTED_MODULE_4__['default'])(window).width * .95) {
-1 14307 return false;
-1 14308 }
-1 14309 if (cells < 10) {
-1 14310 return false;
-1 14311 }
-1 14312 if (node.querySelector('object, embed, iframe, applet')) {
-1 14313 return false;
-1 14314 }
-1 14315 return true;
-1 14316 }
-1 14317 __webpack_exports__['default'] = isDataTable;
-1 14318 },
-1 14319 './lib/commons/table/is-header.js': function libCommonsTableIsHeaderJs(module, __webpack_exports__, __webpack_require__) {
-1 14320 'use strict';
-1 14321 __webpack_require__.r(__webpack_exports__);
-1 14322 var _is_column_header__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/table/is-column-header.js');
-1 14323 var _is_row_header__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/commons/table/is-row-header.js');
-1 14324 var _core_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__('./lib/core/utils/index.js');
-1 14325 function isHeader(cell) {
-1 14326 if (Object(_is_column_header__WEBPACK_IMPORTED_MODULE_0__['default'])(cell) || Object(_is_row_header__WEBPACK_IMPORTED_MODULE_1__['default'])(cell)) {
-1 14327 return true;
-1 14328 }
-1 14329 if (cell.getAttribute('id')) {
-1 14330 var id = Object(_core_utils__WEBPACK_IMPORTED_MODULE_2__['escapeSelector'])(cell.getAttribute('id'));
-1 14331 return !!document.querySelector('[headers~="'.concat(id, '"]'));
-1 14332 }
-1 14333 return false;
-1 14334 }
-1 14335 __webpack_exports__['default'] = isHeader;
-1 14336 },
-1 14337 './lib/commons/table/is-row-header.js': function libCommonsTableIsRowHeaderJs(module, __webpack_exports__, __webpack_require__) {
-1 14338 'use strict';
-1 14339 __webpack_require__.r(__webpack_exports__);
-1 14340 var _get_scope__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/table/get-scope.js');
-1 14341 function isRowHeader(cell) {
-1 14342 return [ 'row', 'auto' ].includes(Object(_get_scope__WEBPACK_IMPORTED_MODULE_0__['default'])(cell));
-1 14343 }
-1 14344 __webpack_exports__['default'] = isRowHeader;
-1 14345 },
-1 14346 './lib/commons/table/to-grid.js': function libCommonsTableToGridJs(module, __webpack_exports__, __webpack_require__) {
-1 14347 'use strict';
-1 14348 __webpack_require__.r(__webpack_exports__);
-1 14349 var _core_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/core/utils/index.js');
-1 14350 function toGrid(node) {
-1 14351 var table = [];
-1 14352 var rows = node.rows;
-1 14353 for (var i = 0, rowLength = rows.length; i < rowLength; i++) {
-1 14354 var cells = rows[i].cells;
-1 14355 table[i] = table[i] || [];
-1 14356 var columnIndex = 0;
-1 14357 for (var j = 0, cellLength = cells.length; j < cellLength; j++) {
-1 14358 for (var colSpan = 0; colSpan < cells[j].colSpan; colSpan++) {
-1 14359 for (var rowSpan = 0; rowSpan < cells[j].rowSpan; rowSpan++) {
-1 14360 table[i + rowSpan] = table[i + rowSpan] || [];
-1 14361 while (table[i + rowSpan][columnIndex]) {
-1 14362 columnIndex++;
-1 14363 }
-1 14364 table[i + rowSpan][columnIndex] = cells[j];
-1 14365 }
-1 14366 columnIndex++;
-1 14367 }
-1 14368 }
-1 14369 }
-1 14370 return table;
-1 14371 }
-1 14372 __webpack_exports__['default'] = Object(_core_utils__WEBPACK_IMPORTED_MODULE_0__['memoize'])(toGrid);
-1 14373 },
-1 14374 './lib/commons/table/traverse.js': function libCommonsTableTraverseJs(module, __webpack_exports__, __webpack_require__) {
-1 14375 'use strict';
-1 14376 __webpack_require__.r(__webpack_exports__);
-1 14377 function traverseTable(dir, position, tableGrid, callback) {
-1 14378 var result;
-1 14379 var cell = tableGrid[position.y] ? tableGrid[position.y][position.x] : undefined;
-1 14380 if (!cell) {
-1 14381 return [];
-1 14382 }
-1 14383 if (typeof callback === 'function') {
-1 14384 result = callback(cell, position, tableGrid);
-1 14385 if (result === true) {
-1 14386 return [ cell ];
-1 14387 }
-1 14388 }
-1 14389 result = traverseTable(dir, {
-1 14390 x: position.x + dir.x,
-1 14391 y: position.y + dir.y
-1 14392 }, tableGrid, callback);
-1 14393 result.unshift(cell);
-1 14394 return result;
-1 14395 }
-1 14396 function traverse(dir, startPos, tableGrid, callback) {
-1 14397 if (Array.isArray(startPos)) {
-1 14398 callback = tableGrid;
-1 14399 tableGrid = startPos;
-1 14400 startPos = {
-1 14401 x: 0,
-1 14402 y: 0
-1 14403 };
-1 14404 }
-1 14405 if (typeof dir === 'string') {
-1 14406 switch (dir) {
-1 14407 case 'left':
-1 14408 dir = {
-1 14409 x: -1,
-1 14410 y: 0
-1 14411 };
-1 14412 break;
-1 14413
-1 14414 case 'up':
-1 14415 dir = {
-1 14416 x: 0,
-1 14417 y: -1
-1 14418 };
-1 14419 break;
-1 14420
-1 14421 case 'right':
-1 14422 dir = {
-1 14423 x: 1,
-1 14424 y: 0
-1 14425 };
-1 14426 break;
-1 14427
-1 14428 case 'down':
-1 14429 dir = {
-1 14430 x: 0,
-1 14431 y: 1
-1 14432 };
-1 14433 break;
-1 14434 }
-1 14435 }
-1 14436 return traverseTable(dir, {
-1 14437 x: startPos.x + dir.x,
-1 14438 y: startPos.y + dir.y
-1 14439 }, tableGrid, callback);
-1 14440 }
-1 14441 __webpack_exports__['default'] = traverse;
-1 14442 },
-1 14443 './lib/commons/text/accessible-text-virtual.js': function libCommonsTextAccessibleTextVirtualJs(module, __webpack_exports__, __webpack_require__) {
-1 14444 'use strict';
-1 14445 __webpack_require__.r(__webpack_exports__);
-1 14446 var _aria_arialabelledby_text__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/aria/arialabelledby-text.js');
-1 14447 var _aria_arialabel_text__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/commons/aria/arialabel-text.js');
-1 14448 var _native_text_alternative__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__('./lib/commons/text/native-text-alternative.js');
-1 14449 var _form_control_value__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__('./lib/commons/text/form-control-value.js');
-1 14450 var _subtree_text__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__('./lib/commons/text/subtree-text.js');
-1 14451 var _title_text__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__('./lib/commons/text/title-text.js');
-1 14452 var _sanitize__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__('./lib/commons/text/sanitize.js');
-1 14453 var _dom_is_visible__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__('./lib/commons/dom/is-visible.js');
-1 14454 function accessibleTextVirtual(virtualNode) {
-1 14455 var context = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
-1 14456 var actualNode = virtualNode.actualNode;
-1 14457 context = prepareContext(virtualNode, context);
-1 14458 if (shouldIgnoreHidden(virtualNode, context)) {
-1 14459 return '';
-1 14460 }
-1 14461 var computationSteps = [ _aria_arialabelledby_text__WEBPACK_IMPORTED_MODULE_0__['default'], _aria_arialabel_text__WEBPACK_IMPORTED_MODULE_1__['default'], _native_text_alternative__WEBPACK_IMPORTED_MODULE_2__['default'], _form_control_value__WEBPACK_IMPORTED_MODULE_3__['default'], _subtree_text__WEBPACK_IMPORTED_MODULE_4__['default'], textNodeValue, _title_text__WEBPACK_IMPORTED_MODULE_5__['default'] ];
-1 14462 var accName = computationSteps.reduce(function(accName, step) {
-1 14463 if (context.startNode === virtualNode) {
-1 14464 accName = Object(_sanitize__WEBPACK_IMPORTED_MODULE_6__['default'])(accName);
-1 14465 }
-1 14466 if (accName !== '') {
-1 14467 return accName;
-1 14468 }
-1 14469 return step(virtualNode, context);
-1 14470 }, '');
-1 14471 if (context.debug) {
-1 14472 axe.log(accName || '{empty-value}', actualNode, context);
-1 14473 }
-1 14474 return accName;
-1 14475 }
-1 14476 function textNodeValue(virtualNode) {
-1 14477 if (virtualNode.props.nodeType !== 3) {
-1 14478 return '';
-1 14479 }
-1 14480 return virtualNode.props.nodeValue;
-1 14481 }
-1 14482 function shouldIgnoreHidden(_ref46, context) {
-1 14483 var actualNode = _ref46.actualNode;
-1 14484 if (!actualNode) {
-1 14485 return false;
-1 14486 }
-1 14487 if (actualNode.nodeType !== 1 || context.includeHidden) {
-1 14488 return false;
-1 14489 }
-1 14490 return !Object(_dom_is_visible__WEBPACK_IMPORTED_MODULE_7__['default'])(actualNode, true);
-1 14491 }
-1 14492 function prepareContext(virtualNode, context) {
-1 14493 var actualNode = virtualNode.actualNode;
-1 14494 if (!context.startNode) {
-1 14495 context = _extends({
-1 14496 startNode: virtualNode
-1 14497 }, context);
-1 14498 }
-1 14499 if (!actualNode) {
-1 14500 return context;
-1 14501 }
-1 14502 if (actualNode.nodeType === 1 && context.inLabelledByContext && context.includeHidden === undefined) {
-1 14503 context = _extends({
-1 14504 includeHidden: !Object(_dom_is_visible__WEBPACK_IMPORTED_MODULE_7__['default'])(actualNode, true)
-1 14505 }, context);
-1 14506 }
-1 14507 return context;
-1 14508 }
-1 14509 accessibleTextVirtual.alreadyProcessed = function alreadyProcessed(virtualnode, context) {
-1 14510 context.processed = context.processed || [];
-1 14511 if (context.processed.includes(virtualnode)) {
-1 14512 return true;
-1 14513 }
-1 14514 context.processed.push(virtualnode);
-1 14515 return false;
-1 14516 };
-1 14517 __webpack_exports__['default'] = accessibleTextVirtual;
-1 14518 },
-1 14519 './lib/commons/text/accessible-text.js': function libCommonsTextAccessibleTextJs(module, __webpack_exports__, __webpack_require__) {
-1 14520 'use strict';
-1 14521 __webpack_require__.r(__webpack_exports__);
-1 14522 var _accessible_text_virtual__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/text/accessible-text-virtual.js');
-1 14523 var _core_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/core/utils/index.js');
-1 14524 function accessibleText(element, context) {
-1 14525 var virtualNode = Object(_core_utils__WEBPACK_IMPORTED_MODULE_1__['getNodeFromTree'])(element);
-1 14526 return Object(_accessible_text_virtual__WEBPACK_IMPORTED_MODULE_0__['default'])(virtualNode, context);
-1 14527 }
-1 14528 __webpack_exports__['default'] = accessibleText;
-1 14529 },
-1 14530 './lib/commons/text/form-control-value.js': function libCommonsTextFormControlValueJs(module, __webpack_exports__, __webpack_require__) {
-1 14531 'use strict';
-1 14532 __webpack_require__.r(__webpack_exports__);
-1 14533 __webpack_require__.d(__webpack_exports__, 'formControlValueMethods', function() {
-1 14534 return formControlValueMethods;
-1 14535 });
-1 14536 var _aria_get_role__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/aria/get-role.js');
-1 14537 var _unsupported__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/commons/text/unsupported.js');
-1 14538 var _visible_virtual__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__('./lib/commons/text/visible-virtual.js');
-1 14539 var _accessible_text_virtual__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__('./lib/commons/text/accessible-text-virtual.js');
-1 14540 var _forms_is_native_textbox__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__('./lib/commons/forms/is-native-textbox.js');
-1 14541 var _forms_is_native_select__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__('./lib/commons/forms/is-native-select.js');
-1 14542 var _forms_is_aria_textbox__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__('./lib/commons/forms/is-aria-textbox.js');
-1 14543 var _forms_is_aria_listbox__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__('./lib/commons/forms/is-aria-listbox.js');
-1 14544 var _forms_is_aria_combobox__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__('./lib/commons/forms/is-aria-combobox.js');
-1 14545 var _forms_is_aria_range__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__('./lib/commons/forms/is-aria-range.js');
-1 14546 var _aria_get_owned_virtual__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__('./lib/commons/aria/get-owned-virtual.js');
-1 14547 var _dom_is_hidden_with_css__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__('./lib/commons/dom/is-hidden-with-css.js');
-1 14548 var _core_base_virtual_node_abstract_virtual_node__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__('./lib/core/base/virtual-node/abstract-virtual-node.js');
-1 14549 var _core_utils__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__('./lib/core/utils/index.js');
-1 14550 var _core_log__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__('./lib/core/log.js');
-1 14551 var controlValueRoles = [ 'textbox', 'progressbar', 'scrollbar', 'slider', 'spinbutton', 'combobox', 'listbox' ];
-1 14552 var formControlValueMethods = {
-1 14553 nativeTextboxValue: nativeTextboxValue,
-1 14554 nativeSelectValue: nativeSelectValue,
-1 14555 ariaTextboxValue: ariaTextboxValue,
-1 14556 ariaListboxValue: ariaListboxValue,
-1 14557 ariaComboboxValue: ariaComboboxValue,
-1 14558 ariaRangeValue: ariaRangeValue
-1 14559 };
-1 14560 function formControlValue(virtualNode) {
-1 14561 var context = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
-1 14562 var actualNode = virtualNode.actualNode;
-1 14563 var unsupportedRoles = _unsupported__WEBPACK_IMPORTED_MODULE_1__['default'].accessibleNameFromFieldValue || [];
-1 14564 var role = Object(_aria_get_role__WEBPACK_IMPORTED_MODULE_0__['default'])(virtualNode);
-1 14565 if (context.startNode === virtualNode || !controlValueRoles.includes(role) || unsupportedRoles.includes(role)) {
-1 14566 return '';
-1 14567 }
-1 14568 var valueMethods = Object.keys(formControlValueMethods).map(function(name) {
-1 14569 return formControlValueMethods[name];
-1 14570 });
-1 14571 var valueString = valueMethods.reduce(function(accName, step) {
-1 14572 return accName || step(virtualNode, context);
-1 14573 }, '');
-1 14574 if (context.debug) {
-1 14575 Object(_core_log__WEBPACK_IMPORTED_MODULE_14__['default'])(valueString || '{empty-value}', actualNode, context);
-1 14576 }
-1 14577 return valueString;
-1 14578 }
-1 14579 function nativeTextboxValue(node) {
-1 14580 var vNode = node instanceof _core_base_virtual_node_abstract_virtual_node__WEBPACK_IMPORTED_MODULE_12__['default'] ? node : Object(_core_utils__WEBPACK_IMPORTED_MODULE_13__['getNodeFromTree'])(node);
-1 14581 if (Object(_forms_is_native_textbox__WEBPACK_IMPORTED_MODULE_4__['default'])(vNode)) {
-1 14582 return vNode.props.value || '';
-1 14583 }
-1 14584 return '';
-1 14585 }
-1 14586 function nativeSelectValue(node) {
-1 14587 var vNode = node instanceof _core_base_virtual_node_abstract_virtual_node__WEBPACK_IMPORTED_MODULE_12__['default'] ? node : Object(_core_utils__WEBPACK_IMPORTED_MODULE_13__['getNodeFromTree'])(node);
-1 14588 if (!Object(_forms_is_native_select__WEBPACK_IMPORTED_MODULE_5__['default'])(vNode)) {
-1 14589 return '';
-1 14590 }
-1 14591 var options = Object(_core_utils__WEBPACK_IMPORTED_MODULE_13__['querySelectorAll'])(vNode, 'option');
-1 14592 var selectedOptions = options.filter(function(option) {
-1 14593 return option.hasAttr('selected');
-1 14594 });
-1 14595 if (!selectedOptions.length) {
-1 14596 selectedOptions.push(options[0]);
-1 14597 }
-1 14598 return selectedOptions.map(function(option) {
-1 14599 return Object(_visible_virtual__WEBPACK_IMPORTED_MODULE_2__['default'])(option);
-1 14600 }).join(' ') || '';
-1 14601 }
-1 14602 function ariaTextboxValue(node) {
-1 14603 var vNode = node instanceof _core_base_virtual_node_abstract_virtual_node__WEBPACK_IMPORTED_MODULE_12__['default'] ? node : Object(_core_utils__WEBPACK_IMPORTED_MODULE_13__['getNodeFromTree'])(node);
-1 14604 var actualNode = vNode.actualNode;
-1 14605 if (!Object(_forms_is_aria_textbox__WEBPACK_IMPORTED_MODULE_6__['default'])(vNode)) {
-1 14606 return '';
-1 14607 }
-1 14608 if (!actualNode || actualNode && !Object(_dom_is_hidden_with_css__WEBPACK_IMPORTED_MODULE_11__['default'])(actualNode)) {
-1 14609 return Object(_visible_virtual__WEBPACK_IMPORTED_MODULE_2__['default'])(vNode, true);
-1 14610 } else {
-1 14611 return actualNode.textContent;
-1 14612 }
-1 14613 }
-1 14614 function ariaListboxValue(node, context) {
-1 14615 var vNode = node instanceof _core_base_virtual_node_abstract_virtual_node__WEBPACK_IMPORTED_MODULE_12__['default'] ? node : Object(_core_utils__WEBPACK_IMPORTED_MODULE_13__['getNodeFromTree'])(node);
-1 14616 if (!Object(_forms_is_aria_listbox__WEBPACK_IMPORTED_MODULE_7__['default'])(vNode)) {
-1 14617 return '';
-1 14618 }
-1 14619 var selected = Object(_aria_get_owned_virtual__WEBPACK_IMPORTED_MODULE_10__['default'])(vNode).filter(function(owned) {
-1 14620 return Object(_aria_get_role__WEBPACK_IMPORTED_MODULE_0__['default'])(owned) === 'option' && owned.attr('aria-selected') === 'true';
-1 14621 });
-1 14622 if (selected.length === 0) {
-1 14623 return '';
-1 14624 }
-1 14625 return Object(_accessible_text_virtual__WEBPACK_IMPORTED_MODULE_3__['default'])(selected[0], context);
-1 14626 }
-1 14627 function ariaComboboxValue(node, context) {
-1 14628 var vNode = node instanceof _core_base_virtual_node_abstract_virtual_node__WEBPACK_IMPORTED_MODULE_12__['default'] ? node : Object(_core_utils__WEBPACK_IMPORTED_MODULE_13__['getNodeFromTree'])(node);
-1 14629 var listbox;
-1 14630 if (!Object(_forms_is_aria_combobox__WEBPACK_IMPORTED_MODULE_8__['default'])(vNode)) {
-1 14631 return '';
-1 14632 }
-1 14633 listbox = Object(_aria_get_owned_virtual__WEBPACK_IMPORTED_MODULE_10__['default'])(vNode).filter(function(elm) {
-1 14634 return Object(_aria_get_role__WEBPACK_IMPORTED_MODULE_0__['default'])(elm) === 'listbox';
-1 14635 })[0];
-1 14636 return listbox ? ariaListboxValue(listbox, context) : '';
-1 14637 }
-1 14638 function ariaRangeValue(node) {
-1 14639 var vNode = node instanceof _core_base_virtual_node_abstract_virtual_node__WEBPACK_IMPORTED_MODULE_12__['default'] ? node : Object(_core_utils__WEBPACK_IMPORTED_MODULE_13__['getNodeFromTree'])(node);
-1 14640 if (!Object(_forms_is_aria_range__WEBPACK_IMPORTED_MODULE_9__['default'])(vNode) || !vNode.hasAttr('aria-valuenow')) {
-1 14641 return '';
-1 14642 }
-1 14643 var valueNow = +vNode.attr('aria-valuenow');
-1 14644 return !isNaN(valueNow) ? String(valueNow) : '0';
-1 14645 }
-1 14646 __webpack_exports__['default'] = formControlValue;
-1 14647 },
-1 14648 './lib/commons/text/has-unicode.js': function libCommonsTextHasUnicodeJs(module, __webpack_exports__, __webpack_require__) {
-1 14649 'use strict';
-1 14650 __webpack_require__.r(__webpack_exports__);
-1 14651 var _unicode__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/text/unicode.js');
-1 14652 var emoji_regex__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./node_modules/emoji-regex/index.js');
-1 14653 var emoji_regex__WEBPACK_IMPORTED_MODULE_1___default = __webpack_require__.n(emoji_regex__WEBPACK_IMPORTED_MODULE_1__);
-1 14654 function hasUnicode(str, options) {
-1 14655 var emoji = options.emoji, nonBmp = options.nonBmp, punctuations = options.punctuations;
-1 14656 if (emoji) {
-1 14657 return emoji_regex__WEBPACK_IMPORTED_MODULE_1___default()().test(str);
-1 14658 }
-1 14659 if (nonBmp) {
-1 14660 return Object(_unicode__WEBPACK_IMPORTED_MODULE_0__['getUnicodeNonBmpRegExp'])().test(str) || Object(_unicode__WEBPACK_IMPORTED_MODULE_0__['getSupplementaryPrivateUseRegExp'])().test(str);
-1 14661 }
-1 14662 if (punctuations) {
-1 14663 return Object(_unicode__WEBPACK_IMPORTED_MODULE_0__['getPunctuationRegExp'])().test(str);
-1 14664 }
-1 14665 return false;
-1 14666 }
-1 14667 __webpack_exports__['default'] = hasUnicode;
-1 14668 },
-1 14669 './lib/commons/text/index.js': function libCommonsTextIndexJs(module, __webpack_exports__, __webpack_require__) {
-1 14670 'use strict';
-1 14671 __webpack_require__.r(__webpack_exports__);
-1 14672 var _accessible_text_virtual__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/text/accessible-text-virtual.js');
-1 14673 __webpack_require__.d(__webpack_exports__, 'accessibleTextVirtual', function() {
-1 14674 return _accessible_text_virtual__WEBPACK_IMPORTED_MODULE_0__['default'];
-1 14675 });
-1 14676 var _accessible_text__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/commons/text/accessible-text.js');
-1 14677 __webpack_require__.d(__webpack_exports__, 'accessibleText', function() {
-1 14678 return _accessible_text__WEBPACK_IMPORTED_MODULE_1__['default'];
-1 14679 });
-1 14680 var _form_control_value__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__('./lib/commons/text/form-control-value.js');
-1 14681 __webpack_require__.d(__webpack_exports__, 'formControlValue', function() {
-1 14682 return _form_control_value__WEBPACK_IMPORTED_MODULE_2__['default'];
-1 14683 });
-1 14684 __webpack_require__.d(__webpack_exports__, 'formControlValueMethods', function() {
-1 14685 return _form_control_value__WEBPACK_IMPORTED_MODULE_2__['formControlValueMethods'];
-1 14686 });
-1 14687 var _has_unicode__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__('./lib/commons/text/has-unicode.js');
-1 14688 __webpack_require__.d(__webpack_exports__, 'hasUnicode', function() {
-1 14689 return _has_unicode__WEBPACK_IMPORTED_MODULE_3__['default'];
-1 14690 });
-1 14691 var _is_human_interpretable__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__('./lib/commons/text/is-human-interpretable.js');
-1 14692 __webpack_require__.d(__webpack_exports__, 'isHumanInterpretable', function() {
-1 14693 return _is_human_interpretable__WEBPACK_IMPORTED_MODULE_4__['default'];
-1 14694 });
-1 14695 var _is_icon_ligature__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__('./lib/commons/text/is-icon-ligature.js');
-1 14696 __webpack_require__.d(__webpack_exports__, 'isIconLigature', function() {
-1 14697 return _is_icon_ligature__WEBPACK_IMPORTED_MODULE_5__['default'];
-1 14698 });
-1 14699 var _is_valid_autocomplete__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__('./lib/commons/text/is-valid-autocomplete.js');
-1 14700 __webpack_require__.d(__webpack_exports__, 'isValidAutocomplete', function() {
-1 14701 return _is_valid_autocomplete__WEBPACK_IMPORTED_MODULE_6__['default'];
-1 14702 });
-1 14703 __webpack_require__.d(__webpack_exports__, 'autocomplete', function() {
-1 14704 return _is_valid_autocomplete__WEBPACK_IMPORTED_MODULE_6__['autocomplete'];
-1 14705 });
-1 14706 var _label_text__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__('./lib/commons/text/label-text.js');
-1 14707 __webpack_require__.d(__webpack_exports__, 'labelText', function() {
-1 14708 return _label_text__WEBPACK_IMPORTED_MODULE_7__['default'];
-1 14709 });
-1 14710 var _label_virtual__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__('./lib/commons/text/label-virtual.js');
-1 14711 __webpack_require__.d(__webpack_exports__, 'labelVirtual', function() {
-1 14712 return _label_virtual__WEBPACK_IMPORTED_MODULE_8__['default'];
-1 14713 });
-1 14714 var _label__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__('./lib/commons/text/label.js');
-1 14715 __webpack_require__.d(__webpack_exports__, 'label', function() {
-1 14716 return _label__WEBPACK_IMPORTED_MODULE_9__['default'];
-1 14717 });
-1 14718 var _native_element_type__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__('./lib/commons/text/native-element-type.js');
-1 14719 __webpack_require__.d(__webpack_exports__, 'nativeElementType', function() {
-1 14720 return _native_element_type__WEBPACK_IMPORTED_MODULE_10__['default'];
-1 14721 });
-1 14722 var _native_text_alternative__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__('./lib/commons/text/native-text-alternative.js');
-1 14723 __webpack_require__.d(__webpack_exports__, 'nativeTextAlternative', function() {
-1 14724 return _native_text_alternative__WEBPACK_IMPORTED_MODULE_11__['default'];
-1 14725 });
-1 14726 var _native_text_methods__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__('./lib/commons/text/native-text-methods.js');
-1 14727 __webpack_require__.d(__webpack_exports__, 'nativeTextMethods', function() {
-1 14728 return _native_text_methods__WEBPACK_IMPORTED_MODULE_12__['default'];
-1 14729 });
-1 14730 var _remove_unicode__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__('./lib/commons/text/remove-unicode.js');
-1 14731 __webpack_require__.d(__webpack_exports__, 'removeUnicode', function() {
-1 14732 return _remove_unicode__WEBPACK_IMPORTED_MODULE_13__['default'];
-1 14733 });
-1 14734 var _sanitize__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__('./lib/commons/text/sanitize.js');
-1 14735 __webpack_require__.d(__webpack_exports__, 'sanitize', function() {
-1 14736 return _sanitize__WEBPACK_IMPORTED_MODULE_14__['default'];
-1 14737 });
-1 14738 var _subtree_text__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__('./lib/commons/text/subtree-text.js');
-1 14739 __webpack_require__.d(__webpack_exports__, 'subtreeText', function() {
-1 14740 return _subtree_text__WEBPACK_IMPORTED_MODULE_15__['default'];
-1 14741 });
-1 14742 var _title_text__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__('./lib/commons/text/title-text.js');
-1 14743 __webpack_require__.d(__webpack_exports__, 'titleText', function() {
-1 14744 return _title_text__WEBPACK_IMPORTED_MODULE_16__['default'];
-1 14745 });
-1 14746 var _unsupported__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__('./lib/commons/text/unsupported.js');
-1 14747 __webpack_require__.d(__webpack_exports__, 'unsupported', function() {
-1 14748 return _unsupported__WEBPACK_IMPORTED_MODULE_17__['default'];
-1 14749 });
-1 14750 var _visible_text_nodes__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__('./lib/commons/text/visible-text-nodes.js');
-1 14751 __webpack_require__.d(__webpack_exports__, 'visibleTextNodes', function() {
-1 14752 return _visible_text_nodes__WEBPACK_IMPORTED_MODULE_18__['default'];
-1 14753 });
-1 14754 var _visible_virtual__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__('./lib/commons/text/visible-virtual.js');
-1 14755 __webpack_require__.d(__webpack_exports__, 'visibleVirtual', function() {
-1 14756 return _visible_virtual__WEBPACK_IMPORTED_MODULE_19__['default'];
-1 14757 });
-1 14758 var _visible__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__('./lib/commons/text/visible.js');
-1 14759 __webpack_require__.d(__webpack_exports__, 'visible', function() {
-1 14760 return _visible__WEBPACK_IMPORTED_MODULE_20__['default'];
-1 14761 });
-1 14762 },
-1 14763 './lib/commons/text/is-human-interpretable.js': function libCommonsTextIsHumanInterpretableJs(module, __webpack_exports__, __webpack_require__) {
-1 14764 'use strict';
-1 14765 __webpack_require__.r(__webpack_exports__);
-1 14766 var _remove_unicode__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/text/remove-unicode.js');
-1 14767 var _sanitize__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/commons/text/sanitize.js');
-1 14768 function isHumanInterpretable(str) {
-1 14769 if (!str.length) {
-1 14770 return 0;
-1 14771 }
-1 14772 var alphaNumericIconMap = [ 'x', 'i' ];
-1 14773 if (alphaNumericIconMap.includes(str)) {
-1 14774 return 0;
-1 14775 }
-1 14776 var noUnicodeStr = Object(_remove_unicode__WEBPACK_IMPORTED_MODULE_0__['default'])(str, {
-1 14777 emoji: true,
-1 14778 nonBmp: true,
-1 14779 punctuations: true
-1 14780 });
-1 14781 if (!Object(_sanitize__WEBPACK_IMPORTED_MODULE_1__['default'])(noUnicodeStr)) {
-1 14782 return 0;
-1 14783 }
-1 14784 return 1;
-1 14785 }
-1 14786 __webpack_exports__['default'] = isHumanInterpretable;
-1 14787 },
-1 14788 './lib/commons/text/is-icon-ligature.js': function libCommonsTextIsIconLigatureJs(module, __webpack_exports__, __webpack_require__) {
-1 14789 'use strict';
-1 14790 __webpack_require__.r(__webpack_exports__);
-1 14791 var _sanitize__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/text/sanitize.js');
-1 14792 var _has_unicode__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/commons/text/has-unicode.js');
-1 14793 var _core_base_cache__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__('./lib/core/base/cache.js');
-1 14794 function isIconLigature(textVNode) {
-1 14795 var differenceThreshold = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : .15;
-1 14796 var occuranceThreshold = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 3;
-1 14797 var nodeValue = textVNode.actualNode.nodeValue.trim();
-1 14798 if (!Object(_sanitize__WEBPACK_IMPORTED_MODULE_0__['default'])(nodeValue) || Object(_has_unicode__WEBPACK_IMPORTED_MODULE_1__['default'])(nodeValue, {
-1 14799 emoji: true,
-1 14800 nonBmp: true
-1 14801 })) {
-1 14802 return false;
-1 14803 }
-1 14804 if (!_core_base_cache__WEBPACK_IMPORTED_MODULE_2__['default'].get('canvasContext')) {
-1 14805 _core_base_cache__WEBPACK_IMPORTED_MODULE_2__['default'].set('canvasContext', document.createElement('canvas').getContext('2d'));
-1 14806 }
-1 14807 var canvasContext = _core_base_cache__WEBPACK_IMPORTED_MODULE_2__['default'].get('canvasContext');
-1 14808 var canvas = canvasContext.canvas;
-1 14809 if (!_core_base_cache__WEBPACK_IMPORTED_MODULE_2__['default'].get('fonts')) {
-1 14810 _core_base_cache__WEBPACK_IMPORTED_MODULE_2__['default'].set('fonts', {});
-1 14811 }
-1 14812 var fonts = _core_base_cache__WEBPACK_IMPORTED_MODULE_2__['default'].get('fonts');
-1 14813 var style = window.getComputedStyle(textVNode.parent.actualNode);
-1 14814 var fontFamily = style.getPropertyValue('font-family');
-1 14815 if (!fonts[fontFamily]) {
-1 14816 fonts[fontFamily] = {
-1 14817 occurances: 0,
-1 14818 numLigatures: 0
-1 14819 };
-1 14820 }
-1 14821 var font = fonts[fontFamily];
-1 14822 if (font.occurances >= occuranceThreshold) {
-1 14823 if (font.numLigatures / font.occurances === 1) {
-1 14824 return true;
-1 14825 } else if (font.numLigatures === 0) {
-1 14826 return false;
-1 14827 }
-1 14828 }
-1 14829 font.occurances++;
-1 14830 var fontSize = 30;
-1 14831 var fontStyle = ''.concat(fontSize, 'px ').concat(fontFamily);
-1 14832 canvasContext.font = fontStyle;
-1 14833 var firstChar = nodeValue.charAt(0);
-1 14834 var width = canvasContext.measureText(firstChar).width;
-1 14835 if (width < 30) {
-1 14836 var diff = 30 / width;
-1 14837 width *= diff;
-1 14838 fontSize *= diff;
-1 14839 fontStyle = ''.concat(fontSize, 'px ').concat(fontFamily);
-1 14840 }
-1 14841 canvas.width = width;
-1 14842 canvas.height = fontSize;
-1 14843 canvasContext.font = fontStyle;
-1 14844 canvasContext.textAlign = 'left';
-1 14845 canvasContext.textBaseline = 'top';
-1 14846 canvasContext.fillText(firstChar, 0, 0);
-1 14847 var compareData = new Uint32Array(canvasContext.getImageData(0, 0, width, fontSize).data.buffer);
-1 14848 if (!compareData.some(function(pixel) {
-1 14849 return pixel;
-1 14850 })) {
-1 14851 font.numLigatures++;
-1 14852 return true;
-1 14853 }
-1 14854 canvasContext.clearRect(0, 0, width, fontSize);
-1 14855 canvasContext.fillText(nodeValue, 0, 0);
-1 14856 var compareWith = new Uint32Array(canvasContext.getImageData(0, 0, width, fontSize).data.buffer);
-1 14857 var differences = compareData.reduce(function(diff, pixel, i) {
-1 14858 if (pixel === 0 && compareWith[i] === 0) {
-1 14859 return diff;
-1 14860 }
-1 14861 if (pixel !== 0 && compareWith[i] !== 0) {
-1 14862 return diff;
-1 14863 }
-1 14864 return ++diff;
-1 14865 }, 0);
-1 14866 var expectedWidth = nodeValue.split('').reduce(function(width, _char) {
-1 14867 return width + canvasContext.measureText(_char).width;
-1 14868 }, 0);
-1 14869 var actualWidth = canvasContext.measureText(nodeValue).width;
-1 14870 var pixelDifference = differences / compareData.length;
-1 14871 var sizeDifference = 1 - actualWidth / expectedWidth;
-1 14872 if (pixelDifference >= differenceThreshold && sizeDifference >= differenceThreshold) {
-1 14873 font.numLigatures++;
-1 14874 return true;
-1 14875 }
-1 14876 return false;
-1 14877 }
-1 14878 __webpack_exports__['default'] = isIconLigature;
-1 14879 },
-1 14880 './lib/commons/text/is-valid-autocomplete.js': function libCommonsTextIsValidAutocompleteJs(module, __webpack_exports__, __webpack_require__) {
-1 14881 'use strict';
-1 14882 __webpack_require__.r(__webpack_exports__);
-1 14883 __webpack_require__.d(__webpack_exports__, 'autocomplete', function() {
-1 14884 return autocomplete;
-1 14885 });
-1 14886 var autocomplete = {
-1 14887 stateTerms: [ 'on', 'off' ],
-1 14888 standaloneTerms: [ 'name', 'honorific-prefix', 'given-name', 'additional-name', 'family-name', 'honorific-suffix', 'nickname', 'username', 'new-password', 'current-password', 'organization-title', 'organization', 'street-address', 'address-line1', 'address-line2', 'address-line3', 'address-level4', 'address-level3', 'address-level2', 'address-level1', 'country', 'country-name', 'postal-code', 'cc-name', 'cc-given-name', 'cc-additional-name', 'cc-family-name', 'cc-number', 'cc-exp', 'cc-exp-month', 'cc-exp-year', 'cc-csc', 'cc-type', 'transaction-currency', 'transaction-amount', 'language', 'bday', 'bday-day', 'bday-month', 'bday-year', 'sex', 'url', 'photo', 'one-time-code' ],
-1 14889 qualifiers: [ 'home', 'work', 'mobile', 'fax', 'pager' ],
-1 14890 qualifiedTerms: [ 'tel', 'tel-country-code', 'tel-national', 'tel-area-code', 'tel-local', 'tel-local-prefix', 'tel-local-suffix', 'tel-extension', 'email', 'impp' ],
-1 14891 locations: [ 'billing', 'shipping' ]
-1 14892 };
-1 14893 function isValidAutocomplete(autocompleteValue) {
-1 14894 var _ref47 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}, _ref47$looseTyped = _ref47.looseTyped, looseTyped = _ref47$looseTyped === void 0 ? false : _ref47$looseTyped, _ref47$stateTerms = _ref47.stateTerms, stateTerms = _ref47$stateTerms === void 0 ? [] : _ref47$stateTerms, _ref47$locations = _ref47.locations, locations = _ref47$locations === void 0 ? [] : _ref47$locations, _ref47$qualifiers = _ref47.qualifiers, qualifiers = _ref47$qualifiers === void 0 ? [] : _ref47$qualifiers, _ref47$standaloneTerm = _ref47.standaloneTerms, standaloneTerms = _ref47$standaloneTerm === void 0 ? [] : _ref47$standaloneTerm, _ref47$qualifiedTerms = _ref47.qualifiedTerms, qualifiedTerms = _ref47$qualifiedTerms === void 0 ? [] : _ref47$qualifiedTerms;
-1 14895 autocompleteValue = autocompleteValue.toLowerCase().trim();
-1 14896 stateTerms = stateTerms.concat(autocomplete.stateTerms);
-1 14897 if (stateTerms.includes(autocompleteValue) || autocompleteValue === '') {
-1 14898 return true;
-1 14899 }
-1 14900 qualifiers = qualifiers.concat(autocomplete.qualifiers);
-1 14901 locations = locations.concat(autocomplete.locations);
-1 14902 standaloneTerms = standaloneTerms.concat(autocomplete.standaloneTerms);
-1 14903 qualifiedTerms = qualifiedTerms.concat(autocomplete.qualifiedTerms);
-1 14904 var autocompleteTerms = autocompleteValue.split(/\s+/g);
-1 14905 if (!looseTyped) {
-1 14906 if (autocompleteTerms[0].length > 8 && autocompleteTerms[0].substr(0, 8) === 'section-') {
-1 14907 autocompleteTerms.shift();
-1 14908 }
-1 14909 if (locations.includes(autocompleteTerms[0])) {
-1 14910 autocompleteTerms.shift();
-1 14911 }
-1 14912 if (qualifiers.includes(autocompleteTerms[0])) {
-1 14913 autocompleteTerms.shift();
-1 14914 standaloneTerms = [];
-1 14915 }
-1 14916 if (autocompleteTerms.length !== 1) {
-1 14917 return false;
-1 14918 }
-1 14919 }
-1 14920 var purposeTerm = autocompleteTerms[autocompleteTerms.length - 1];
-1 14921 return standaloneTerms.includes(purposeTerm) || qualifiedTerms.includes(purposeTerm);
-1 14922 }
-1 14923 __webpack_exports__['default'] = isValidAutocomplete;
-1 14924 },
-1 14925 './lib/commons/text/label-text.js': function libCommonsTextLabelTextJs(module, __webpack_exports__, __webpack_require__) {
-1 14926 'use strict';
-1 14927 __webpack_require__.r(__webpack_exports__);
-1 14928 var _accessible_text_virtual__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/text/accessible-text-virtual.js');
-1 14929 var _accessible_text__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/commons/text/accessible-text.js');
-1 14930 var _dom_find_elms_in_context__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__('./lib/commons/dom/find-elms-in-context.js');
-1 14931 var _core_utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__('./lib/core/utils/index.js');
-1 14932 function labelText(virtualNode) {
-1 14933 var context = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
-1 14934 var alreadyProcessed = _accessible_text_virtual__WEBPACK_IMPORTED_MODULE_0__['default'].alreadyProcessed;
-1 14935 if (context.inControlContext || context.inLabelledByContext || alreadyProcessed(virtualNode, context)) {
-1 14936 return '';
-1 14937 }
-1 14938 if (!context.startNode) {
-1 14939 context.startNode = virtualNode;
-1 14940 }
-1 14941 var labelContext = _extends({
-1 14942 inControlContext: true
-1 14943 }, context);
-1 14944 var explicitLabels = getExplicitLabels(virtualNode);
-1 14945 var implicitLabel = Object(_core_utils__WEBPACK_IMPORTED_MODULE_3__['closest'])(virtualNode, 'label');
-1 14946 var labels;
-1 14947 if (implicitLabel) {
-1 14948 labels = [].concat(_toConsumableArray(explicitLabels), [ implicitLabel.actualNode ]);
-1 14949 labels.sort(_core_utils__WEBPACK_IMPORTED_MODULE_3__['nodeSorter']);
-1 14950 } else {
-1 14951 labels = explicitLabels;
-1 14952 }
-1 14953 return labels.map(function(label) {
-1 14954 return Object(_accessible_text__WEBPACK_IMPORTED_MODULE_1__['default'])(label, labelContext);
-1 14955 }).filter(function(text) {
-1 14956 return text !== '';
-1 14957 }).join(' ');
-1 14958 }
-1 14959 function getExplicitLabels(virtualNode) {
-1 14960 if (!virtualNode.attr('id')) {
-1 14961 return [];
-1 14962 }
-1 14963 if (!virtualNode.actualNode) {
-1 14964 throw new TypeError('Cannot resolve explicit label reference for non-DOM nodes');
-1 14965 }
-1 14966 return Object(_dom_find_elms_in_context__WEBPACK_IMPORTED_MODULE_2__['default'])({
-1 14967 elm: 'label',
-1 14968 attr: 'for',
-1 14969 value: virtualNode.attr('id'),
-1 14970 context: virtualNode.actualNode
-1 14971 });
-1 14972 }
-1 14973 __webpack_exports__['default'] = labelText;
-1 14974 },
-1 14975 './lib/commons/text/label-virtual.js': function libCommonsTextLabelVirtualJs(module, __webpack_exports__, __webpack_require__) {
-1 14976 'use strict';
-1 14977 __webpack_require__.r(__webpack_exports__);
-1 14978 var _aria_label_virtual__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/aria/label-virtual.js');
-1 14979 var _visible__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/commons/text/visible.js');
-1 14980 var _visible_virtual__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__('./lib/commons/text/visible-virtual.js');
-1 14981 var _dom_get_root_node__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__('./lib/commons/dom/get-root-node.js');
-1 14982 var _core_utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__('./lib/core/utils/index.js');
-1 14983 function labelVirtual(virtualNode) {
-1 14984 var ref, candidate, doc;
-1 14985 candidate = Object(_aria_label_virtual__WEBPACK_IMPORTED_MODULE_0__['default'])(virtualNode);
-1 14986 if (candidate) {
-1 14987 return candidate;
-1 14988 }
-1 14989 if (virtualNode.attr('id')) {
-1 14990 if (!virtualNode.actualNode) {
-1 14991 throw new TypeError('Cannot resolve explicit label reference for non-DOM nodes');
-1 14992 }
-1 14993 var id = Object(_core_utils__WEBPACK_IMPORTED_MODULE_4__['escapeSelector'])(virtualNode.attr('id'));
-1 14994 doc = Object(_dom_get_root_node__WEBPACK_IMPORTED_MODULE_3__['default'])(virtualNode.actualNode);
-1 14995 ref = doc.querySelector('label[for="' + id + '"]');
-1 14996 candidate = ref && Object(_visible__WEBPACK_IMPORTED_MODULE_1__['default'])(ref, true);
-1 14997 if (candidate) {
-1 14998 return candidate;
-1 14999 }
-1 15000 }
-1 15001 ref = Object(_core_utils__WEBPACK_IMPORTED_MODULE_4__['closest'])(virtualNode, 'label');
-1 15002 candidate = ref && Object(_visible_virtual__WEBPACK_IMPORTED_MODULE_2__['default'])(ref, true);
-1 15003 if (candidate) {
-1 15004 return candidate;
-1 15005 }
-1 15006 return null;
-1 15007 }
-1 15008 __webpack_exports__['default'] = labelVirtual;
-1 15009 },
-1 15010 './lib/commons/text/label.js': function libCommonsTextLabelJs(module, __webpack_exports__, __webpack_require__) {
-1 15011 'use strict';
-1 15012 __webpack_require__.r(__webpack_exports__);
-1 15013 var _label_virtual__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/text/label-virtual.js');
-1 15014 var _core_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/core/utils/index.js');
-1 15015 function label(node) {
-1 15016 node = Object(_core_utils__WEBPACK_IMPORTED_MODULE_1__['getNodeFromTree'])(node);
-1 15017 return Object(_label_virtual__WEBPACK_IMPORTED_MODULE_0__['default'])(node);
-1 15018 }
-1 15019 __webpack_exports__['default'] = label;
-1 15020 },
-1 15021 './lib/commons/text/native-element-type.js': function libCommonsTextNativeElementTypeJs(module, __webpack_exports__, __webpack_require__) {
-1 15022 'use strict';
-1 15023 __webpack_require__.r(__webpack_exports__);
-1 15024 var nativeElementType = [ {
-1 15025 matches: [ {
-1 15026 nodeName: 'textarea'
-1 15027 }, {
-1 15028 nodeName: 'input',
-1 15029 properties: {
-1 15030 type: [ 'text', 'password', 'search', 'tel', 'email', 'url' ]
-1 15031 }
-1 15032 } ],
-1 15033 namingMethods: 'labelText'
-1 15034 }, {
-1 15035 matches: {
-1 15036 nodeName: 'input',
-1 15037 properties: {
-1 15038 type: [ 'button', 'submit', 'reset' ]
-1 15039 }
-1 15040 },
-1 15041 namingMethods: [ 'valueText', 'titleText', 'buttonDefaultText' ]
-1 15042 }, {
-1 15043 matches: {
-1 15044 nodeName: 'input',
-1 15045 properties: {
-1 15046 type: 'image'
-1 15047 }
-1 15048 },
-1 15049 namingMethods: [ 'altText', 'valueText', 'labelText', 'titleText', 'buttonDefaultText' ]
-1 15050 }, {
-1 15051 matches: 'button',
-1 15052 namingMethods: 'subtreeText'
-1 15053 }, {
-1 15054 matches: 'fieldset',
-1 15055 namingMethods: 'fieldsetLegendText'
-1 15056 }, {
-1 15057 matches: 'OUTPUT',
-1 15058 namingMethods: 'subtreeText'
-1 15059 }, {
-1 15060 matches: [ {
-1 15061 nodeName: 'select'
-1 15062 }, {
-1 15063 nodeName: 'input',
-1 15064 properties: {
-1 15065 type: /^(?!text|password|search|tel|email|url|button|submit|reset)/
-1 15066 }
-1 15067 } ],
-1 15068 namingMethods: 'labelText'
-1 15069 }, {
-1 15070 matches: 'summary',
-1 15071 namingMethods: 'subtreeText'
-1 15072 }, {
-1 15073 matches: 'figure',
-1 15074 namingMethods: [ 'figureText', 'titleText' ]
-1 15075 }, {
-1 15076 matches: 'img',
-1 15077 namingMethods: 'altText'
-1 15078 }, {
-1 15079 matches: 'table',
-1 15080 namingMethods: [ 'tableCaptionText', 'tableSummaryText' ]
-1 15081 }, {
-1 15082 matches: [ 'hr', 'br' ],
-1 15083 namingMethods: [ 'titleText', 'singleSpace' ]
-1 15084 } ];
-1 15085 __webpack_exports__['default'] = nativeElementType;
-1 15086 },
-1 15087 './lib/commons/text/native-text-alternative.js': function libCommonsTextNativeTextAlternativeJs(module, __webpack_exports__, __webpack_require__) {
-1 15088 'use strict';
-1 15089 __webpack_require__.r(__webpack_exports__);
-1 15090 var _aria_get_role__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/aria/get-role.js');
-1 15091 var _standards_get_element_spec__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/commons/standards/get-element-spec.js');
-1 15092 var _native_text_methods__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__('./lib/commons/text/native-text-methods.js');
-1 15093 function nativeTextAlternative(virtualNode) {
-1 15094 var context = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
-1 15095 var actualNode = virtualNode.actualNode;
-1 15096 if (virtualNode.props.nodeType !== 1 || [ 'presentation', 'none' ].includes(Object(_aria_get_role__WEBPACK_IMPORTED_MODULE_0__['default'])(virtualNode))) {
-1 15097 return '';
-1 15098 }
-1 15099 var textMethods = findTextMethods(virtualNode);
-1 15100 var accName = textMethods.reduce(function(accName, step) {
-1 15101 return accName || step(virtualNode, context);
-1 15102 }, '');
-1 15103 if (context.debug) {
-1 15104 axe.log(accName || '{empty-value}', actualNode, context);
-1 15105 }
-1 15106 return accName;
-1 15107 }
-1 15108 function findTextMethods(virtualNode) {
-1 15109 var elmSpec = Object(_standards_get_element_spec__WEBPACK_IMPORTED_MODULE_1__['default'])(virtualNode);
-1 15110 var methods = elmSpec.namingMethods || [];
-1 15111 return methods.map(function(methodName) {
-1 15112 return _native_text_methods__WEBPACK_IMPORTED_MODULE_2__['default'][methodName];
-1 15113 });
-1 15114 }
-1 15115 __webpack_exports__['default'] = nativeTextAlternative;
-1 15116 },
-1 15117 './lib/commons/text/native-text-methods.js': function libCommonsTextNativeTextMethodsJs(module, __webpack_exports__, __webpack_require__) {
-1 15118 'use strict';
-1 15119 __webpack_require__.r(__webpack_exports__);
-1 15120 var _title_text__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/text/title-text.js');
-1 15121 var _subtree_text__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/commons/text/subtree-text.js');
-1 15122 var _label_text__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__('./lib/commons/text/label-text.js');
-1 15123 var _accessible_text__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__('./lib/commons/text/accessible-text.js');
-1 15124 var defaultButtonValues = {
-1 15125 submit: 'Submit',
-1 15126 image: 'Submit',
-1 15127 reset: 'Reset',
-1 15128 button: ''
-1 15129 };
-1 15130 var nativeTextMethods = {
-1 15131 valueText: function valueText(_ref48) {
-1 15132 var actualNode = _ref48.actualNode;
-1 15133 return actualNode.value || '';
-1 15134 },
-1 15135 buttonDefaultText: function buttonDefaultText(_ref49) {
-1 15136 var actualNode = _ref49.actualNode;
-1 15137 return defaultButtonValues[actualNode.type] || '';
-1 15138 },
-1 15139 tableCaptionText: descendantText.bind(null, 'caption'),
-1 15140 figureText: descendantText.bind(null, 'figcaption'),
-1 15141 fieldsetLegendText: descendantText.bind(null, 'legend'),
-1 15142 altText: attrText.bind(null, 'alt'),
-1 15143 tableSummaryText: attrText.bind(null, 'summary'),
-1 15144 titleText: _title_text__WEBPACK_IMPORTED_MODULE_0__['default'],
-1 15145 subtreeText: _subtree_text__WEBPACK_IMPORTED_MODULE_1__['default'],
-1 15146 labelText: _label_text__WEBPACK_IMPORTED_MODULE_2__['default'],
-1 15147 singleSpace: function singleSpace() {
-1 15148 return ' ';
-1 15149 }
-1 15150 };
-1 15151 function attrText(attr, _ref50) {
-1 15152 var actualNode = _ref50.actualNode;
-1 15153 return actualNode.getAttribute(attr) || '';
-1 15154 }
-1 15155 function descendantText(nodeName, _ref51, context) {
-1 15156 var actualNode = _ref51.actualNode;
-1 15157 nodeName = nodeName.toLowerCase();
-1 15158 var nodeNames = [ nodeName, actualNode.nodeName.toLowerCase() ].join(',');
-1 15159 var candidate = actualNode.querySelector(nodeNames);
-1 15160 if (!candidate || candidate.nodeName.toLowerCase() !== nodeName) {
-1 15161 return '';
-1 15162 }
-1 15163 return Object(_accessible_text__WEBPACK_IMPORTED_MODULE_3__['default'])(candidate, context);
-1 15164 }
-1 15165 __webpack_exports__['default'] = nativeTextMethods;
-1 15166 },
-1 15167 './lib/commons/text/remove-unicode.js': function libCommonsTextRemoveUnicodeJs(module, __webpack_exports__, __webpack_require__) {
-1 15168 'use strict';
-1 15169 __webpack_require__.r(__webpack_exports__);
-1 15170 var _unicode_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/text/unicode.js');
-1 15171 var emoji_regex__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./node_modules/emoji-regex/index.js');
-1 15172 var emoji_regex__WEBPACK_IMPORTED_MODULE_1___default = __webpack_require__.n(emoji_regex__WEBPACK_IMPORTED_MODULE_1__);
-1 15173 function removeUnicode(str, options) {
-1 15174 var emoji = options.emoji, nonBmp = options.nonBmp, punctuations = options.punctuations;
-1 15175 if (emoji) {
-1 15176 str = str.replace(emoji_regex__WEBPACK_IMPORTED_MODULE_1___default()(), '');
-1 15177 }
-1 15178 if (nonBmp) {
-1 15179 str = str.replace(Object(_unicode_js__WEBPACK_IMPORTED_MODULE_0__['getUnicodeNonBmpRegExp'])(), '');
-1 15180 str = str.replace(Object(_unicode_js__WEBPACK_IMPORTED_MODULE_0__['getSupplementaryPrivateUseRegExp'])(), '');
-1 15181 }
-1 15182 if (punctuations) {
-1 15183 str = str.replace(Object(_unicode_js__WEBPACK_IMPORTED_MODULE_0__['getPunctuationRegExp'])(), '');
-1 15184 }
-1 15185 return str;
-1 15186 }
-1 15187 __webpack_exports__['default'] = removeUnicode;
-1 15188 },
-1 15189 './lib/commons/text/sanitize.js': function libCommonsTextSanitizeJs(module, __webpack_exports__, __webpack_require__) {
-1 15190 'use strict';
-1 15191 __webpack_require__.r(__webpack_exports__);
-1 15192 function sanitize(str) {
-1 15193 'use strict';
-1 15194 return str.replace(/\r\n/g, '\n').replace(/\u00A0/g, ' ').replace(/[\s]{2,}/g, ' ').trim();
-1 15195 }
-1 15196 __webpack_exports__['default'] = sanitize;
-1 15197 },
-1 15198 './lib/commons/text/subtree-text.js': function libCommonsTextSubtreeTextJs(module, __webpack_exports__, __webpack_require__) {
-1 15199 'use strict';
-1 15200 __webpack_require__.r(__webpack_exports__);
-1 15201 var _accessible_text_virtual__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/text/accessible-text-virtual.js');
-1 15202 var _aria_named_from_contents__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/commons/aria/named-from-contents.js');
-1 15203 var _aria_get_owned_virtual__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__('./lib/commons/aria/get-owned-virtual.js');
-1 15204 function subtreeText(virtualNode) {
-1 15205 var context = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
-1 15206 var alreadyProcessed = _accessible_text_virtual__WEBPACK_IMPORTED_MODULE_0__['default'].alreadyProcessed;
-1 15207 context.startNode = context.startNode || virtualNode;
-1 15208 var strict = context.strict;
-1 15209 if (alreadyProcessed(virtualNode, context) || !Object(_aria_named_from_contents__WEBPACK_IMPORTED_MODULE_1__['default'])(virtualNode, {
-1 15210 strict: strict
-1 15211 })) {
-1 15212 return '';
-1 15213 }
-1 15214 return Object(_aria_get_owned_virtual__WEBPACK_IMPORTED_MODULE_2__['default'])(virtualNode).reduce(function(contentText, child) {
-1 15215 return appendAccessibleText(contentText, child, context);
-1 15216 }, '');
-1 15217 }
-1 15218 var phrasingElements = [ '#text', 'a', 'abbr', 'area', 'b', 'bdi', 'bdo', 'button', 'canvas', 'cite', 'code', 'command', 'datalist', 'del', 'dfn', 'em', 'i', 'ins', 'kbd', 'keygen', 'label', 'map', 'mark', 'meter', 'noscript', 'output', 'progress', 'q', 'ruby', 's', 'samp', 'small', 'span', 'strong', 'sub', 'sup', 'time', 'u', 'var', 'wbr' ];
-1 15219 function appendAccessibleText(contentText, virtualNode, context) {
-1 15220 var nodeName = virtualNode.props.nodeName;
-1 15221 var contentTextAdd = Object(_accessible_text_virtual__WEBPACK_IMPORTED_MODULE_0__['default'])(virtualNode, context);
-1 15222 if (!contentTextAdd) {
-1 15223 return contentText;
-1 15224 }
-1 15225 if (!phrasingElements.includes(nodeName)) {
-1 15226 if (contentTextAdd[0] !== ' ') {
-1 15227 contentTextAdd += ' ';
-1 15228 }
-1 15229 if (contentText && contentText[contentText.length - 1] !== ' ') {
-1 15230 contentTextAdd = ' ' + contentTextAdd;
-1 15231 }
-1 15232 }
-1 15233 return contentText + contentTextAdd;
-1 15234 }
-1 15235 __webpack_exports__['default'] = subtreeText;
-1 15236 },
-1 15237 './lib/commons/text/title-text.js': function libCommonsTextTitleTextJs(module, __webpack_exports__, __webpack_require__) {
-1 15238 'use strict';
-1 15239 __webpack_require__.r(__webpack_exports__);
-1 15240 var _matches_matches__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/matches/matches.js');
-1 15241 var _aria_get_role__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/commons/aria/get-role.js');
-1 15242 var _core_base_virtual_node_abstract_virtual_node__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__('./lib/core/base/virtual-node/abstract-virtual-node.js');
-1 15243 var _core_utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__('./lib/core/utils/index.js');
-1 15244 var alwaysTitleElements = [ 'iframe' ];
-1 15245 function titleText(node) {
-1 15246 var vNode = node instanceof _core_base_virtual_node_abstract_virtual_node__WEBPACK_IMPORTED_MODULE_2__['default'] ? node : Object(_core_utils__WEBPACK_IMPORTED_MODULE_3__['getNodeFromTree'])(node);
-1 15247 if (vNode.props.nodeType !== 1 || !node.hasAttr('title')) {
-1 15248 return '';
-1 15249 }
-1 15250 if (!Object(_matches_matches__WEBPACK_IMPORTED_MODULE_0__['default'])(vNode, alwaysTitleElements) && [ 'none', 'presentation' ].includes(Object(_aria_get_role__WEBPACK_IMPORTED_MODULE_1__['default'])(vNode))) {
-1 15251 return '';
-1 15252 }
-1 15253 return vNode.attr('title');
-1 15254 }
-1 15255 __webpack_exports__['default'] = titleText;
-1 15256 },
-1 15257 './lib/commons/text/unicode.js': function libCommonsTextUnicodeJs(module, __webpack_exports__, __webpack_require__) {
-1 15258 'use strict';
-1 15259 __webpack_require__.r(__webpack_exports__);
-1 15260 __webpack_require__.d(__webpack_exports__, 'getUnicodeNonBmpRegExp', function() {
-1 15261 return getUnicodeNonBmpRegExp;
-1 15262 });
-1 15263 __webpack_require__.d(__webpack_exports__, 'getPunctuationRegExp', function() {
-1 15264 return getPunctuationRegExp;
-1 15265 });
-1 15266 __webpack_require__.d(__webpack_exports__, 'getSupplementaryPrivateUseRegExp', function() {
-1 15267 return getSupplementaryPrivateUseRegExp;
-1 15268 });
-1 15269 function getUnicodeNonBmpRegExp() {
-1 15270 return /[\u1D00-\u1D7F\u1D80-\u1DBF\u1DC0-\u1DFF\u20A0-\u20CF\u20D0-\u20FF\u2100-\u214F\u2150-\u218F\u2190-\u21FF\u2200-\u22FF\u2300-\u23FF\u2400-\u243F\u2440-\u245F\u2460-\u24FF\u2500-\u257F\u2580-\u259F\u25A0-\u25FF\u2600-\u26FF\u2700-\u27BF\uE000-\uF8FF]/g;
-1 15271 }
-1 15272 function getPunctuationRegExp() {
-1 15273 return /[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&\xa3\xa2\xa5\xa7\u20ac()*+,\-.\/:;<=>?@\[\]^_`{|}~\xb1]/g;
-1 15274 }
-1 15275 function getSupplementaryPrivateUseRegExp() {
-1 15276 return /[\uDB80-\uDBBF][\uDC00-\uDFFF]/g;
-1 15277 }
-1 15278 },
-1 15279 './lib/commons/text/unsupported.js': function libCommonsTextUnsupportedJs(module, __webpack_exports__, __webpack_require__) {
-1 15280 'use strict';
-1 15281 __webpack_require__.r(__webpack_exports__);
-1 15282 var unsupported = {
-1 15283 accessibleNameFromFieldValue: [ 'combobox', 'listbox', 'progressbar' ]
-1 15284 };
-1 15285 __webpack_exports__['default'] = unsupported;
-1 15286 },
-1 15287 './lib/commons/text/visible-text-nodes.js': function libCommonsTextVisibleTextNodesJs(module, __webpack_exports__, __webpack_require__) {
-1 15288 'use strict';
-1 15289 __webpack_require__.r(__webpack_exports__);
-1 15290 var _dom_is_visible__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/dom/is-visible.js');
-1 15291 function visibleTextNodes(vNode) {
-1 15292 var parentVisible = Object(_dom_is_visible__WEBPACK_IMPORTED_MODULE_0__['default'])(vNode.actualNode);
-1 15293 var nodes = [];
-1 15294 vNode.children.forEach(function(child) {
-1 15295 if (child.actualNode.nodeType === 3) {
-1 15296 if (parentVisible) {
-1 15297 nodes.push(child);
-1 15298 }
-1 15299 } else {
-1 15300 nodes = nodes.concat(visibleTextNodes(child));
-1 15301 }
-1 15302 });
-1 15303 return nodes;
-1 15304 }
-1 15305 __webpack_exports__['default'] = visibleTextNodes;
-1 15306 },
-1 15307 './lib/commons/text/visible-virtual.js': function libCommonsTextVisibleVirtualJs(module, __webpack_exports__, __webpack_require__) {
-1 15308 'use strict';
-1 15309 __webpack_require__.r(__webpack_exports__);
-1 15310 var _sanitize__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/text/sanitize.js');
-1 15311 var _dom_is_visible__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/commons/dom/is-visible.js');
-1 15312 var _core_base_virtual_node_abstract_virtual_node__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__('./lib/core/base/virtual-node/abstract-virtual-node.js');
-1 15313 var _core_utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__('./lib/core/utils/index.js');
-1 15314 function visibleVirtual(element, screenReader, noRecursing) {
-1 15315 var vNode = element instanceof _core_base_virtual_node_abstract_virtual_node__WEBPACK_IMPORTED_MODULE_2__['default'] ? element : Object(_core_utils__WEBPACK_IMPORTED_MODULE_3__['getNodeFromTree'])(element);
-1 15316 var visible = !element.actualNode || element.actualNode && Object(_dom_is_visible__WEBPACK_IMPORTED_MODULE_1__['default'])(element.actualNode, screenReader);
-1 15317 var result = vNode.children.map(function(child) {
-1 15318 var _child$props = child.props, nodeType = _child$props.nodeType, nodeValue = _child$props.nodeValue;
-1 15319 if (nodeType === 3) {
-1 15320 if (nodeValue && visible) {
-1 15321 return nodeValue;
-1 15322 }
-1 15323 } else if (!noRecursing) {
-1 15324 return visibleVirtual(child, screenReader);
-1 15325 }
-1 15326 }).join('');
-1 15327 return Object(_sanitize__WEBPACK_IMPORTED_MODULE_0__['default'])(result);
-1 15328 }
-1 15329 __webpack_exports__['default'] = visibleVirtual;
-1 15330 },
-1 15331 './lib/commons/text/visible.js': function libCommonsTextVisibleJs(module, __webpack_exports__, __webpack_require__) {
-1 15332 'use strict';
-1 15333 __webpack_require__.r(__webpack_exports__);
-1 15334 var _visible_virtual__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/text/visible-virtual.js');
-1 15335 var _core_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/core/utils/index.js');
-1 15336 function visible(element, screenReader, noRecursing) {
-1 15337 element = Object(_core_utils__WEBPACK_IMPORTED_MODULE_1__['getNodeFromTree'])(element);
-1 15338 return Object(_visible_virtual__WEBPACK_IMPORTED_MODULE_0__['default'])(element, screenReader, noRecursing);
-1 15339 }
-1 15340 __webpack_exports__['default'] = visible;
-1 15341 },
-1 15342 './lib/core/base/audit.js': function libCoreBaseAuditJs(module, __webpack_exports__, __webpack_require__) {
-1 15343 'use strict';
-1 15344 __webpack_require__.r(__webpack_exports__);
-1 15345 var _rule__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/core/base/rule.js');
-1 15346 var _check__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/core/base/check.js');
-1 15347 var _standards__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__('./lib/standards/index.js');
-1 15348 var _rule_result__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__('./lib/core/base/rule-result.js');
-1 15349 var _utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__('./lib/core/utils/index.js');
-1 15350 var _deque_dot__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__('./node_modules/@deque/dot/doT.js');
-1 15351 var _deque_dot__WEBPACK_IMPORTED_MODULE_5___default = __webpack_require__.n(_deque_dot__WEBPACK_IMPORTED_MODULE_5__);
-1 15352 var _log__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__('./lib/core/log.js');
-1 15353 var _constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__('./lib/core/constants.js');
-1 15354 var dotRegex = /\{\{.+?\}\}/g;
-1 15355 function getDefaultConfiguration(audit) {
-1 15356 var config;
-1 15357 if (audit) {
-1 15358 config = Object(_utils__WEBPACK_IMPORTED_MODULE_4__['clone'])(audit);
-1 15359 config.commons = audit.commons;
-1 15360 } else {
-1 15361 config = {};
-1 15362 }
-1 15363 config.reporter = config.reporter || null;
-1 15364 config.rules = config.rules || [];
-1 15365 config.checks = config.checks || [];
-1 15366 config.data = _extends({
-1 15367 checks: {},
-1 15368 rules: {}
-1 15369 }, config.data);
-1 15370 return config;
-1 15371 }
-1 15372 function unpackToObject(collection, audit, method) {
-1 15373 var i, l;
-1 15374 for (i = 0, l = collection.length; i < l; i++) {
-1 15375 audit[method](collection[i]);
-1 15376 }
-1 15377 }
-1 15378 var mergeCheckLocale = function mergeCheckLocale(a, b) {
-1 15379 var pass = b.pass, fail = b.fail;
-1 15380 if (typeof pass === 'string' && dotRegex.test(pass)) {
-1 15381 pass = _deque_dot__WEBPACK_IMPORTED_MODULE_5___default.a.compile(pass);
-1 15382 }
-1 15383 if (typeof fail === 'string' && dotRegex.test(fail)) {
-1 15384 fail = _deque_dot__WEBPACK_IMPORTED_MODULE_5___default.a.compile(fail);
-1 15385 }
-1 15386 return _extends({}, a, {
-1 15387 messages: {
-1 15388 pass: pass || a.messages.pass,
-1 15389 fail: fail || a.messages.fail,
-1 15390 incomplete: _typeof(a.messages.incomplete) === 'object' ? _extends({}, a.messages.incomplete, b.incomplete) : b.incomplete
-1 15391 }
-1 15392 });
-1 15393 };
-1 15394 var mergeRuleLocale = function mergeRuleLocale(a, b) {
-1 15395 var help = b.help, description = b.description;
-1 15396 if (typeof help === 'string' && dotRegex.test(help)) {
-1 15397 help = _deque_dot__WEBPACK_IMPORTED_MODULE_5___default.a.compile(help);
-1 15398 }
-1 15399 if (typeof description === 'string' && dotRegex.test(description)) {
-1 15400 description = _deque_dot__WEBPACK_IMPORTED_MODULE_5___default.a.compile(description);
-1 15401 }
-1 15402 return _extends({}, a, {
-1 15403 help: help || a.help,
-1 15404 description: description || a.description
-1 15405 });
-1 15406 };
-1 15407 var mergeFailureMessage = function mergeFailureMessage(a, b) {
-1 15408 var failureMessage = b.failureMessage;
-1 15409 if (typeof failureMessage === 'string' && dotRegex.test(failureMessage)) {
-1 15410 failureMessage = _deque_dot__WEBPACK_IMPORTED_MODULE_5___default.a.compile(failureMessage);
-1 15411 }
-1 15412 return _extends({}, a, {
-1 15413 failureMessage: failureMessage || a.failureMessage
-1 15414 });
-1 15415 };
-1 15416 var mergeFallbackMessage = function mergeFallbackMessage(a, b) {
-1 15417 if (typeof b === 'string' && dotRegex.test(b)) {
-1 15418 b = _deque_dot__WEBPACK_IMPORTED_MODULE_5___default.a.compile(b);
-1 15419 }
-1 15420 return b || a;
-1 15421 };
-1 15422 var Audit = function() {
-1 15423 function Audit(audit) {
-1 15424 _classCallCheck(this, Audit);
-1 15425 this.brand = 'axe';
-1 15426 this.application = 'axeAPI';
-1 15427 this.tagExclude = [ 'experimental' ];
-1 15428 this.lang = 'en';
-1 15429 this.defaultConfig = audit;
-1 15430 this.standards = _standards__WEBPACK_IMPORTED_MODULE_2__['default'];
-1 15431 this._init();
-1 15432 this._defaultLocale = null;
-1 15433 }
-1 15434 _createClass(Audit, [ {
-1 15435 key: '_setDefaultLocale',
-1 15436 value: function _setDefaultLocale() {
-1 15437 if (this._defaultLocale) {
-1 15438 return;
-1 15439 }
-1 15440 var locale = {
-1 15441 checks: {},
-1 15442 rules: {},
-1 15443 failureSummaries: {},
-1 15444 incompleteFallbackMessage: '',
-1 15445 lang: this.lang
-1 15446 };
-1 15447 var checkIDs = Object.keys(this.data.checks);
-1 15448 for (var i = 0; i < checkIDs.length; i++) {
-1 15449 var id = checkIDs[i];
-1 15450 var check = this.data.checks[id];
-1 15451 var _check$messages = check.messages, pass = _check$messages.pass, fail = _check$messages.fail, incomplete = _check$messages.incomplete;
-1 15452 locale.checks[id] = {
-1 15453 pass: pass,
-1 15454 fail: fail,
-1 15455 incomplete: incomplete
-1 15456 };
-1 15457 }
-1 15458 var ruleIDs = Object.keys(this.data.rules);
-1 15459 for (var _i4 = 0; _i4 < ruleIDs.length; _i4++) {
-1 15460 var _id = ruleIDs[_i4];
-1 15461 var rule = this.data.rules[_id];
-1 15462 var description = rule.description, help = rule.help;
-1 15463 locale.rules[_id] = {
-1 15464 description: description,
-1 15465 help: help
-1 15466 };
-1 15467 }
-1 15468 var failureSummaries = Object.keys(this.data.failureSummaries);
-1 15469 for (var _i5 = 0; _i5 < failureSummaries.length; _i5++) {
-1 15470 var type = failureSummaries[_i5];
-1 15471 var failureSummary = this.data.failureSummaries[type];
-1 15472 var failureMessage = failureSummary.failureMessage;
-1 15473 locale.failureSummaries[type] = {
-1 15474 failureMessage: failureMessage
-1 15475 };
-1 15476 }
-1 15477 locale.incompleteFallbackMessage = this.data.incompleteFallbackMessage;
-1 15478 this._defaultLocale = locale;
-1 15479 }
-1 15480 }, {
-1 15481 key: '_resetLocale',
-1 15482 value: function _resetLocale() {
-1 15483 var defaultLocale = this._defaultLocale;
-1 15484 if (!defaultLocale) {
-1 15485 return;
-1 15486 }
-1 15487 this.applyLocale(defaultLocale);
-1 15488 }
-1 15489 }, {
-1 15490 key: '_applyCheckLocale',
-1 15491 value: function _applyCheckLocale(checks) {
-1 15492 var keys = Object.keys(checks);
-1 15493 for (var i = 0; i < keys.length; i++) {
-1 15494 var id = keys[i];
-1 15495 if (!this.data.checks[id]) {
-1 15496 throw new Error('Locale provided for unknown check: "'.concat(id, '"'));
-1 15497 }
-1 15498 this.data.checks[id] = mergeCheckLocale(this.data.checks[id], checks[id]);
-1 15499 }
-1 15500 }
-1 15501 }, {
-1 15502 key: '_applyRuleLocale',
-1 15503 value: function _applyRuleLocale(rules) {
-1 15504 var keys = Object.keys(rules);
-1 15505 for (var i = 0; i < keys.length; i++) {
-1 15506 var id = keys[i];
-1 15507 if (!this.data.rules[id]) {
-1 15508 throw new Error('Locale provided for unknown rule: "'.concat(id, '"'));
-1 15509 }
-1 15510 this.data.rules[id] = mergeRuleLocale(this.data.rules[id], rules[id]);
-1 15511 }
-1 15512 }
-1 15513 }, {
-1 15514 key: '_applyFailureSummaries',
-1 15515 value: function _applyFailureSummaries(messages) {
-1 15516 var keys = Object.keys(messages);
-1 15517 for (var i = 0; i < keys.length; i++) {
-1 15518 var key = keys[i];
-1 15519 if (!this.data.failureSummaries[key]) {
-1 15520 throw new Error('Locale provided for unknown failureMessage: "'.concat(key, '"'));
-1 15521 }
-1 15522 this.data.failureSummaries[key] = mergeFailureMessage(this.data.failureSummaries[key], messages[key]);
-1 15523 }
-1 15524 }
-1 15525 }, {
-1 15526 key: 'applyLocale',
-1 15527 value: function applyLocale(locale) {
-1 15528 this._setDefaultLocale();
-1 15529 if (locale.checks) {
-1 15530 this._applyCheckLocale(locale.checks);
-1 15531 }
-1 15532 if (locale.rules) {
-1 15533 this._applyRuleLocale(locale.rules);
-1 15534 }
-1 15535 if (locale.failureSummaries) {
-1 15536 this._applyFailureSummaries(locale.failureSummaries, 'failureSummaries');
-1 15537 }
-1 15538 if (locale.incompleteFallbackMessage) {
-1 15539 this.data.incompleteFallbackMessage = mergeFallbackMessage(this.data.incompleteFallbackMessage, locale.incompleteFallbackMessage);
-1 15540 }
-1 15541 if (locale.lang) {
-1 15542 this.lang = locale.lang;
-1 15543 }
-1 15544 }
-1 15545 }, {
-1 15546 key: '_init',
-1 15547 value: function _init() {
-1 15548 var audit = getDefaultConfiguration(this.defaultConfig);
-1 15549 this.lang = audit.lang || 'en';
-1 15550 this.reporter = audit.reporter;
-1 15551 this.commands = {};
-1 15552 this.rules = [];
-1 15553 this.checks = {};
-1 15554 unpackToObject(audit.rules, this, 'addRule');
-1 15555 unpackToObject(audit.checks, this, 'addCheck');
-1 15556 this.data = {};
-1 15557 this.data.checks = audit.data && audit.data.checks || {};
-1 15558 this.data.rules = audit.data && audit.data.rules || {};
-1 15559 this.data.failureSummaries = audit.data && audit.data.failureSummaries || {};
-1 15560 this.data.incompleteFallbackMessage = audit.data && audit.data.incompleteFallbackMessage || '';
-1 15561 this._constructHelpUrls();
-1 15562 }
-1 15563 }, {
-1 15564 key: 'registerCommand',
-1 15565 value: function registerCommand(command) {
-1 15566 this.commands[command.id] = command.callback;
-1 15567 }
-1 15568 }, {
-1 15569 key: 'addRule',
-1 15570 value: function addRule(spec) {
-1 15571 if (spec.metadata) {
-1 15572 this.data.rules[spec.id] = spec.metadata;
-1 15573 }
-1 15574 var rule = this.getRule(spec.id);
-1 15575 if (rule) {
-1 15576 rule.configure(spec);
-1 15577 } else {
-1 15578 this.rules.push(new _rule__WEBPACK_IMPORTED_MODULE_0__['default'](spec, this));
-1 15579 }
-1 15580 }
-1 15581 }, {
-1 15582 key: 'addCheck',
-1 15583 value: function addCheck(spec) {
-1 15584 var metadata = spec.metadata;
-1 15585 if (_typeof(metadata) === 'object') {
-1 15586 this.data.checks[spec.id] = metadata;
-1 15587 if (_typeof(metadata.messages) === 'object') {
-1 15588 Object.keys(metadata.messages).filter(function(prop) {
-1 15589 return metadata.messages.hasOwnProperty(prop) && typeof metadata.messages[prop] === 'string';
-1 15590 }).forEach(function(prop) {
-1 15591 if (metadata.messages[prop].indexOf('function') === 0) {
-1 15592 metadata.messages[prop] = new Function('return ' + metadata.messages[prop] + ';')();
-1 15593 }
-1 15594 });
-1 15595 }
-1 15596 }
-1 15597 if (this.checks[spec.id]) {
-1 15598 this.checks[spec.id].configure(spec);
-1 15599 } else {
-1 15600 this.checks[spec.id] = new _check__WEBPACK_IMPORTED_MODULE_1__['default'](spec);
-1 15601 }
-1 15602 }
-1 15603 }, {
-1 15604 key: 'run',
-1 15605 value: function run(context, options, resolve, reject) {
-1 15606 this.normalizeOptions(options);
-1 15607 axe._selectCache = [];
-1 15608 var allRulesToRun = getRulesToRun(this.rules, context, options);
-1 15609 var runNowRules = allRulesToRun.now;
-1 15610 var runLaterRules = allRulesToRun.later;
-1 15611 var nowRulesQueue = Object(_utils__WEBPACK_IMPORTED_MODULE_4__['queue'])();
-1 15612 runNowRules.forEach(function(rule) {
-1 15613 nowRulesQueue.defer(getDefferedRule(rule, context, options));
-1 15614 });
-1 15615 var preloaderQueue = Object(_utils__WEBPACK_IMPORTED_MODULE_4__['queue'])();
-1 15616 if (runLaterRules.length) {
-1 15617 preloaderQueue.defer(function(resolve) {
-1 15618 Object(_utils__WEBPACK_IMPORTED_MODULE_4__['preload'])(options).then(function(assets) {
-1 15619 return resolve(assets);
-1 15620 })['catch'](function(err) {
-1 15621 console.warn('Couldn\'t load preload assets: ', err);
-1 15622 resolve(undefined);
-1 15623 });
-1 15624 });
-1 15625 }
-1 15626 var queueForNowRulesAndPreloader = Object(_utils__WEBPACK_IMPORTED_MODULE_4__['queue'])();
-1 15627 queueForNowRulesAndPreloader.defer(nowRulesQueue);
-1 15628 queueForNowRulesAndPreloader.defer(preloaderQueue);
-1 15629 queueForNowRulesAndPreloader.then(function(nowRulesAndPreloaderResults) {
-1 15630 var assetsFromQueue = nowRulesAndPreloaderResults.pop();
-1 15631 if (assetsFromQueue && assetsFromQueue.length) {
-1 15632 var assets = assetsFromQueue[0];
-1 15633 if (assets) {
-1 15634 context = _extends({}, context, assets);
-1 15635 }
-1 15636 }
-1 15637 var nowRulesResults = nowRulesAndPreloaderResults[0];
-1 15638 if (!runLaterRules.length) {
-1 15639 axe._selectCache = undefined;
-1 15640 resolve(nowRulesResults.filter(function(result) {
-1 15641 return !!result;
-1 15642 }));
-1 15643 return;
-1 15644 }
-1 15645 var laterRulesQueue = Object(_utils__WEBPACK_IMPORTED_MODULE_4__['queue'])();
-1 15646 runLaterRules.forEach(function(rule) {
-1 15647 var deferredRule = getDefferedRule(rule, context, options);
-1 15648 laterRulesQueue.defer(deferredRule);
-1 15649 });
-1 15650 laterRulesQueue.then(function(laterRuleResults) {
-1 15651 axe._selectCache = undefined;
-1 15652 resolve(nowRulesResults.concat(laterRuleResults).filter(function(result) {
-1 15653 return !!result;
-1 15654 }));
-1 15655 })['catch'](reject);
-1 15656 })['catch'](reject);
-1 15657 }
-1 15658 }, {
-1 15659 key: 'after',
-1 15660 value: function after(results, options) {
-1 15661 var rules = this.rules;
-1 15662 return results.map(function(ruleResult) {
-1 15663 var rule = Object(_utils__WEBPACK_IMPORTED_MODULE_4__['findBy'])(rules, 'id', ruleResult.id);
-1 15664 if (!rule) {
-1 15665 throw new Error('Result for unknown rule. You may be running mismatch axe-core versions');
-1 15666 }
-1 15667 return rule.after(ruleResult, options);
-1 15668 });
-1 15669 }
-1 15670 }, {
-1 15671 key: 'getRule',
-1 15672 value: function getRule(ruleId) {
-1 15673 return this.rules.find(function(rule) {
-1 15674 return rule.id === ruleId;
-1 15675 });
-1 15676 }
-1 15677 }, {
-1 15678 key: 'normalizeOptions',
-1 15679 value: function normalizeOptions(options) {
-1 15680 var audit = this;
-1 15681 var tags = [];
-1 15682 var ruleIds = [];
-1 15683 audit.rules.forEach(function(rule) {
-1 15684 ruleIds.push(rule.id);
-1 15685 rule.tags.forEach(function(tag) {
-1 15686 if (!tags.includes(tag)) {
-1 15687 tags.push(tag);
-1 15688 }
-1 15689 });
-1 15690 });
-1 15691 if (_typeof(options.runOnly) === 'object') {
-1 15692 if (Array.isArray(options.runOnly)) {
-1 15693 var hasTag = options.runOnly.find(function(value) {
-1 15694 return tags.includes(value);
-1 15695 });
-1 15696 var hasRule = options.runOnly.find(function(value) {
-1 15697 return ruleIds.includes(value);
-1 15698 });
-1 15699 if (hasTag && hasRule) {
-1 15700 throw new Error('runOnly cannot be both rules and tags');
-1 15701 }
-1 15702 if (hasRule) {
-1 15703 options.runOnly = {
-1 15704 type: 'rule',
-1 15705 values: options.runOnly
-1 15706 };
-1 15707 } else {
-1 15708 options.runOnly = {
-1 15709 type: 'tag',
-1 15710 values: options.runOnly
-1 15711 };
-1 15712 }
-1 15713 }
-1 15714 var only = options.runOnly;
-1 15715 if (only.value && !only.values) {
-1 15716 only.values = only.value;
-1 15717 delete only.value;
-1 15718 }
-1 15719 if (!Array.isArray(only.values) || only.values.length === 0) {
-1 15720 throw new Error('runOnly.values must be a non-empty array');
-1 15721 }
-1 15722 if ([ 'rule', 'rules' ].includes(only.type)) {
-1 15723 only.type = 'rule';
-1 15724 only.values.forEach(function(ruleId) {
-1 15725 if (!ruleIds.includes(ruleId)) {
-1 15726 throw new Error('unknown rule `' + ruleId + '` in options.runOnly');
-1 15727 }
-1 15728 });
-1 15729 } else if ([ 'tag', 'tags', undefined ].includes(only.type)) {
-1 15730 only.type = 'tag';
-1 15731 var unmatchedTags = only.values.filter(function(tag) {
-1 15732 return !tags.includes(tag);
-1 15733 });
-1 15734 if (unmatchedTags.length !== 0) {
-1 15735 Object(_log__WEBPACK_IMPORTED_MODULE_6__['default'])('Could not find tags `' + unmatchedTags.join('`, `') + '`');
-1 15736 }
-1 15737 } else {
-1 15738 throw new Error('Unknown runOnly type \''.concat(only.type, '\''));
-1 15739 }
-1 15740 }
-1 15741 if (_typeof(options.rules) === 'object') {
-1 15742 Object.keys(options.rules).forEach(function(ruleId) {
-1 15743 if (!ruleIds.includes(ruleId)) {
-1 15744 throw new Error('unknown rule `' + ruleId + '` in options.rules');
-1 15745 }
-1 15746 });
-1 15747 }
-1 15748 return options;
-1 15749 }
-1 15750 }, {
-1 15751 key: 'setBranding',
-1 15752 value: function setBranding(branding) {
-1 15753 var previous = {
-1 15754 brand: this.brand,
-1 15755 application: this.application
-1 15756 };
-1 15757 if (branding && branding.hasOwnProperty('brand') && branding.brand && typeof branding.brand === 'string') {
-1 15758 this.brand = branding.brand;
-1 15759 }
-1 15760 if (branding && branding.hasOwnProperty('application') && branding.application && typeof branding.application === 'string') {
-1 15761 this.application = branding.application;
-1 15762 }
-1 15763 this._constructHelpUrls(previous);
-1 15764 }
-1 15765 }, {
-1 15766 key: '_constructHelpUrls',
-1 15767 value: function _constructHelpUrls() {
-1 15768 var _this = this;
-1 15769 var previous = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
-1 15770 var version = (axe.version.match(/^[1-9][0-9]*\.[0-9]+/) || [ 'x.y' ])[0];
-1 15771 this.rules.forEach(function(rule) {
-1 15772 if (!_this.data.rules[rule.id]) {
-1 15773 _this.data.rules[rule.id] = {};
-1 15774 }
-1 15775 var metaData = _this.data.rules[rule.id];
-1 15776 if (typeof metaData.helpUrl !== 'string' || previous && metaData.helpUrl === getHelpUrl(previous, rule.id, version)) {
-1 15777 metaData.helpUrl = getHelpUrl(_this, rule.id, version);
-1 15778 }
-1 15779 });
-1 15780 }
-1 15781 }, {
-1 15782 key: 'resetRulesAndChecks',
-1 15783 value: function resetRulesAndChecks() {
-1 15784 this._init();
-1 15785 this._resetLocale();
-1 15786 }
-1 15787 } ]);
-1 15788 return Audit;
-1 15789 }();
-1 15790 function getRulesToRun(rules, context, options) {
-1 15791 var base = {
-1 15792 now: [],
-1 15793 later: []
-1 15794 };
-1 15795 var splitRules = rules.reduce(function(out, rule) {
-1 15796 if (!Object(_utils__WEBPACK_IMPORTED_MODULE_4__['ruleShouldRun'])(rule, context, options)) {
-1 15797 return out;
-1 15798 }
-1 15799 if (rule.preload) {
-1 15800 out.later.push(rule);
-1 15801 return out;
-1 15802 }
-1 15803 out.now.push(rule);
-1 15804 return out;
-1 15805 }, base);
-1 15806 return splitRules;
-1 15807 }
-1 15808 function getDefferedRule(rule, context, options) {
-1 15809 if (options.performanceTimer) {
-1 15810 _utils__WEBPACK_IMPORTED_MODULE_4__['performanceTimer'].mark('mark_rule_start_' + rule.id);
-1 15811 }
-1 15812 return function(resolve, reject) {
-1 15813 rule.run(context, options, function(ruleResult) {
-1 15814 resolve(ruleResult);
-1 15815 }, function(err) {
-1 15816 if (!options.debug) {
-1 15817 var errResult = Object.assign(new _rule_result__WEBPACK_IMPORTED_MODULE_3__['default'](rule), {
-1 15818 result: _constants__WEBPACK_IMPORTED_MODULE_7__['default'].CANTTELL,
-1 15819 description: 'An error occured while running this rule',
-1 15820 message: err.message,
-1 15821 stack: err.stack,
-1 15822 error: err,
-1 15823 errorNode: err.errorNode
-1 15824 });
-1 15825 resolve(errResult);
-1 15826 } else {
-1 15827 reject(err);
-1 15828 }
-1 15829 });
-1 15830 };
-1 15831 }
-1 15832 function getHelpUrl(_ref52, ruleId, version) {
-1 15833 var brand = _ref52.brand, application = _ref52.application, lang = _ref52.lang;
-1 15834 return _constants__WEBPACK_IMPORTED_MODULE_7__['default'].helpUrlBase + brand + '/' + (version || axe.version.substring(0, axe.version.lastIndexOf('.'))) + '/' + ruleId + '?application=' + encodeURIComponent(application) + (lang && lang !== 'en' ? '&lang=' + encodeURIComponent(lang) : '');
-1 15835 }
-1 15836 __webpack_exports__['default'] = Audit;
-1 15837 },
-1 15838 './lib/core/base/cache.js': function libCoreBaseCacheJs(module, __webpack_exports__, __webpack_require__) {
-1 15839 'use strict';
-1 15840 __webpack_require__.r(__webpack_exports__);
-1 15841 var _cache = {};
-1 15842 var cache = {
-1 15843 set: function set(key, value) {
-1 15844 _cache[key] = value;
-1 15845 },
-1 15846 get: function get(key) {
-1 15847 return _cache[key];
-1 15848 },
-1 15849 clear: function clear() {
-1 15850 _cache = {};
-1 15851 }
-1 15852 };
-1 15853 __webpack_exports__['default'] = cache;
-1 15854 },
-1 15855 './lib/core/base/check-result.js': function libCoreBaseCheckResultJs(module, __webpack_exports__, __webpack_require__) {
-1 15856 'use strict';
-1 15857 __webpack_require__.r(__webpack_exports__);
-1 15858 function CheckResult(check) {
-1 15859 this.id = check.id;
-1 15860 this.data = null;
-1 15861 this.relatedNodes = [];
-1 15862 this.result = null;
-1 15863 }
-1 15864 __webpack_exports__['default'] = CheckResult;
-1 15865 },
-1 15866 './lib/core/base/check.js': function libCoreBaseCheckJs(module, __webpack_exports__, __webpack_require__) {
-1 15867 'use strict';
-1 15868 __webpack_require__.r(__webpack_exports__);
-1 15869 __webpack_require__.d(__webpack_exports__, 'createExecutionContext', function() {
-1 15870 return createExecutionContext;
-1 15871 });
-1 15872 var _metadata_function_map__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/core/base/metadata-function-map.js');
-1 15873 var _check_result__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/core/base/check-result.js');
-1 15874 var _utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__('./lib/core/utils/index.js');
-1 15875 function createExecutionContext(spec) {
-1 15876 if (typeof spec === 'string') {
-1 15877 if (_metadata_function_map__WEBPACK_IMPORTED_MODULE_0__['default'][spec]) {
-1 15878 return _metadata_function_map__WEBPACK_IMPORTED_MODULE_0__['default'][spec];
-1 15879 }
-1 15880 if (/^\s*function[\s\w]*\(/.test(spec)) {
-1 15881 return new Function('return ' + spec + ';')();
-1 15882 }
-1 15883 throw new ReferenceError('Function ID does not exist in the metadata-function-map: '.concat(spec));
-1 15884 }
-1 15885 return spec;
-1 15886 }
-1 15887 function normalizeOptions() {
-1 15888 var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
-1 15889 if (Array.isArray(options) || _typeof(options) !== 'object') {
-1 15890 options = {
-1 15891 value: options
-1 15892 };
-1 15893 }
-1 15894 return options;
-1 15895 }
-1 15896 function Check(spec) {
-1 15897 if (spec) {
-1 15898 this.id = spec.id;
-1 15899 this.configure(spec);
-1 15900 }
-1 15901 }
-1 15902 Check.prototype.enabled = true;
-1 15903 Check.prototype.run = function(node, options, context, resolve, reject) {
-1 15904 'use strict';
-1 15905 options = options || {};
-1 15906 var enabled = options.hasOwnProperty('enabled') ? options.enabled : this.enabled;
-1 15907 var checkOptions = this.getOptions(options.options);
-1 15908 if (enabled) {
-1 15909 var checkResult = new _check_result__WEBPACK_IMPORTED_MODULE_1__['default'](this);
-1 15910 var helper = Object(_utils__WEBPACK_IMPORTED_MODULE_2__['checkHelper'])(checkResult, options, resolve, reject);
-1 15911 var result;
-1 15912 try {
-1 15913 result = this.evaluate.call(helper, node.actualNode, checkOptions, node, context);
-1 15914 } catch (e) {
-1 15915 if (node && node.actualNode) {
-1 15916 e.errorNode = new _utils__WEBPACK_IMPORTED_MODULE_2__['DqElement'](node.actualNode).toJSON();
-1 15917 }
-1 15918 reject(e);
-1 15919 return;
-1 15920 }
-1 15921 if (!helper.isAsync) {
-1 15922 checkResult.result = result;
-1 15923 resolve(checkResult);
-1 15924 }
-1 15925 } else {
-1 15926 resolve(null);
-1 15927 }
-1 15928 };
-1 15929 Check.prototype.runSync = function(node, options, context) {
-1 15930 options = options || {};
-1 15931 var _options = options, _options$enabled = _options.enabled, enabled = _options$enabled === void 0 ? this.enabled : _options$enabled;
-1 15932 if (!enabled) {
-1 15933 return null;
-1 15934 }
-1 15935 var checkOptions = this.getOptions(options.options);
-1 15936 var checkResult = new _check_result__WEBPACK_IMPORTED_MODULE_1__['default'](this);
-1 15937 var helper = Object(_utils__WEBPACK_IMPORTED_MODULE_2__['checkHelper'])(checkResult, options);
-1 15938 helper.async = function() {
-1 15939 throw new Error('Cannot run async check while in a synchronous run');
-1 15940 };
-1 15941 var result;
-1 15942 try {
-1 15943 result = this.evaluate.call(helper, node.actualNode, checkOptions, node, context);
-1 15944 } catch (e) {
-1 15945 if (node && node.actualNode) {
-1 15946 e.errorNode = new _utils__WEBPACK_IMPORTED_MODULE_2__['DqElement'](node.actualNode).toJSON();
-1 15947 }
-1 15948 throw e;
-1 15949 }
-1 15950 checkResult.result = result;
-1 15951 return checkResult;
-1 15952 };
-1 15953 Check.prototype.configure = function(spec) {
-1 15954 var _this2 = this;
-1 15955 if (!spec.evaluate || _metadata_function_map__WEBPACK_IMPORTED_MODULE_0__['default'][spec.evaluate]) {
-1 15956 this._internalCheck = true;
-1 15957 }
-1 15958 if (spec.hasOwnProperty('enabled')) {
-1 15959 this.enabled = spec.enabled;
-1 15960 }
-1 15961 if (spec.hasOwnProperty('options')) {
-1 15962 if (this._internalCheck) {
-1 15963 this.options = normalizeOptions(spec.options);
-1 15964 } else {
-1 15965 this.options = spec.options;
-1 15966 }
-1 15967 }
-1 15968 [ 'evaluate', 'after' ].filter(function(prop) {
-1 15969 return spec.hasOwnProperty(prop);
-1 15970 }).forEach(function(prop) {
-1 15971 return _this2[prop] = createExecutionContext(spec[prop]);
-1 15972 });
-1 15973 };
-1 15974 Check.prototype.getOptions = function getOptions(options) {
-1 15975 if (this._internalCheck) {
-1 15976 return Object(_utils__WEBPACK_IMPORTED_MODULE_2__['deepMerge'])(this.options, normalizeOptions(options || {}));
-1 15977 } else {
-1 15978 return options || this.options;
-1 15979 }
-1 15980 };
-1 15981 __webpack_exports__['default'] = Check;
-1 15982 },
-1 15983 './lib/core/base/context.js': function libCoreBaseContextJs(module, __webpack_exports__, __webpack_require__) {
-1 15984 'use strict';
-1 15985 __webpack_require__.r(__webpack_exports__);
-1 15986 var _utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/core/utils/index.js');
-1 15987 function pushUniqueFrame(collection, frame) {
-1 15988 if (Object(_utils__WEBPACK_IMPORTED_MODULE_0__['isHidden'])(frame)) {
-1 15989 return;
-1 15990 }
-1 15991 var fr = Object(_utils__WEBPACK_IMPORTED_MODULE_0__['findBy'])(collection, 'node', frame);
-1 15992 if (!fr) {
-1 15993 collection.push({
-1 15994 node: frame,
-1 15995 include: [],
-1 15996 exclude: []
-1 15997 });
-1 15998 }
-1 15999 }
-1 16000 function pushUniqueFrameSelector(context, type, selectorArray) {
-1 16001 context.frames = context.frames || [];
-1 16002 var result, frame;
-1 16003 var frames = document.querySelectorAll(selectorArray.shift());
-1 16004 frameloop: for (var i = 0, l = frames.length; i < l; i++) {
-1 16005 frame = frames[i];
-1 16006 for (var j = 0, l2 = context.frames.length; j < l2; j++) {
-1 16007 if (context.frames[j].node === frame) {
-1 16008 context.frames[j][type].push(selectorArray);
-1 16009 break frameloop;
-1 16010 }
-1 16011 }
-1 16012 result = {
-1 16013 node: frame,
-1 16014 include: [],
-1 16015 exclude: []
-1 16016 };
-1 16017 if (selectorArray) {
-1 16018 result[type].push(selectorArray);
-1 16019 }
-1 16020 context.frames.push(result);
-1 16021 }
-1 16022 }
-1 16023 function normalizeContext(context) {
-1 16024 if (context && _typeof(context) === 'object' || context instanceof window.NodeList) {
-1 16025 if (context instanceof window.Node) {
-1 16026 return {
-1 16027 include: [ context ],
-1 16028 exclude: []
-1 16029 };
-1 16030 }
-1 16031 if (context.hasOwnProperty('include') || context.hasOwnProperty('exclude')) {
-1 16032 return {
-1 16033 include: context.include && +context.include.length ? context.include : [ document ],
-1 16034 exclude: context.exclude || []
-1 16035 };
-1 16036 }
-1 16037 if (context.length === +context.length) {
-1 16038 return {
-1 16039 include: context,
-1 16040 exclude: []
-1 16041 };
-1 16042 }
-1 16043 }
-1 16044 if (typeof context === 'string') {
-1 16045 return {
-1 16046 include: [ context ],
-1 16047 exclude: []
-1 16048 };
-1 16049 }
-1 16050 return {
-1 16051 include: [ document ],
-1 16052 exclude: []
-1 16053 };
-1 16054 }
-1 16055 function parseSelectorArray(context, type) {
-1 16056 var item, result = [], nodeList;
-1 16057 for (var i = 0, l = context[type].length; i < l; i++) {
-1 16058 item = context[type][i];
-1 16059 if (typeof item === 'string') {
-1 16060 nodeList = Array.from(document.querySelectorAll(item));
-1 16061 result = result.concat(nodeList.map(function(node) {
-1 16062 return Object(_utils__WEBPACK_IMPORTED_MODULE_0__['getNodeFromTree'])(node);
-1 16063 }));
-1 16064 break;
-1 16065 } else if (item && item.length && !(item instanceof window.Node)) {
-1 16066 if (item.length > 1) {
-1 16067 pushUniqueFrameSelector(context, type, item);
-1 16068 } else {
-1 16069 nodeList = Array.from(document.querySelectorAll(item[0]));
-1 16070 result = result.concat(nodeList.map(function(node) {
-1 16071 return Object(_utils__WEBPACK_IMPORTED_MODULE_0__['getNodeFromTree'])(node);
-1 16072 }));
-1 16073 }
-1 16074 } else if (item instanceof window.Node) {
-1 16075 if (item.documentElement instanceof window.Node) {
-1 16076 result.push(context.flatTree[0]);
-1 16077 } else {
-1 16078 result.push(Object(_utils__WEBPACK_IMPORTED_MODULE_0__['getNodeFromTree'])(item));
-1 16079 }
-1 16080 }
-1 16081 }
-1 16082 return result.filter(function(r) {
-1 16083 return r;
-1 16084 });
-1 16085 }
-1 16086 function validateContext(context) {
-1 16087 if (context.include.length === 0) {
-1 16088 if (context.frames.length === 0) {
-1 16089 var env = _utils__WEBPACK_IMPORTED_MODULE_0__['respondable'].isInFrame() ? 'frame' : 'page';
-1 16090 return new Error('No elements found for include in ' + env + ' Context');
-1 16091 }
-1 16092 context.frames.forEach(function(frame, i) {
-1 16093 if (frame.include.length === 0) {
-1 16094 return new Error('No elements found for include in Context of frame ' + i);
-1 16095 }
-1 16096 });
-1 16097 }
-1 16098 }
-1 16099 function getRootNode(_ref53) {
-1 16100 var include = _ref53.include, exclude = _ref53.exclude;
-1 16101 var selectors = Array.from(include).concat(Array.from(exclude));
-1 16102 for (var i = 0; i < selectors.length; ++i) {
-1 16103 var item = selectors[i];
-1 16104 if (item instanceof window.Element) {
-1 16105 return item.ownerDocument.documentElement;
-1 16106 }
-1 16107 if (item instanceof window.Document) {
-1 16108 return item.documentElement;
-1 16109 }
-1 16110 }
-1 16111 return document.documentElement;
-1 16112 }
-1 16113 function Context(spec) {
-1 16114 var _this3 = this;
-1 16115 this.frames = [];
-1 16116 this.initiator = spec && typeof spec.initiator === 'boolean' ? spec.initiator : true;
-1 16117 this.page = false;
-1 16118 spec = normalizeContext(spec);
-1 16119 this.flatTree = Object(_utils__WEBPACK_IMPORTED_MODULE_0__['getFlattenedTree'])(getRootNode(spec));
-1 16120 this.exclude = spec.exclude;
-1 16121 this.include = spec.include;
-1 16122 this.include = parseSelectorArray(this, 'include');
-1 16123 this.exclude = parseSelectorArray(this, 'exclude');
-1 16124 Object(_utils__WEBPACK_IMPORTED_MODULE_0__['select'])('frame, iframe', this).forEach(function(frame) {
-1 16125 if (Object(_utils__WEBPACK_IMPORTED_MODULE_0__['isNodeInContext'])(frame, _this3)) {
-1 16126 pushUniqueFrame(_this3.frames, frame.actualNode);
-1 16127 }
-1 16128 });
-1 16129 if (this.include.length === 1 && this.include[0].actualNode === document.documentElement) {
-1 16130 this.page = true;
-1 16131 }
-1 16132 var err = validateContext(this);
-1 16133 if (err instanceof Error) {
-1 16134 throw err;
-1 16135 }
-1 16136 if (!Array.isArray(this.include)) {
-1 16137 this.include = Array.from(this.include);
-1 16138 }
-1 16139 this.include.sort(_utils__WEBPACK_IMPORTED_MODULE_0__['nodeSorter']);
-1 16140 }
-1 16141 __webpack_exports__['default'] = Context;
-1 16142 },
-1 16143 './lib/core/base/metadata-function-map.js': function libCoreBaseMetadataFunctionMapJs(module, __webpack_exports__, __webpack_require__) {
-1 16144 'use strict';
-1 16145 __webpack_require__.r(__webpack_exports__);
-1 16146 var _checks_aria_abstractrole_evaluate__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/checks/aria/abstractrole-evaluate.js');
-1 16147 var _checks_aria_aria_allowed_attr_evaluate__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/checks/aria/aria-allowed-attr-evaluate.js');
-1 16148 var _checks_aria_aria_allowed_role_evaluate__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__('./lib/checks/aria/aria-allowed-role-evaluate.js');
-1 16149 var _checks_aria_aria_errormessage_evaluate__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__('./lib/checks/aria/aria-errormessage-evaluate.js');
-1 16150 var _checks_aria_aria_hidden_body_evaluate__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__('./lib/checks/aria/aria-hidden-body-evaluate.js');
-1 16151 var _checks_aria_aria_required_attr_evaluate__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__('./lib/checks/aria/aria-required-attr-evaluate.js');
-1 16152 var _checks_aria_aria_required_children_evaluate__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__('./lib/checks/aria/aria-required-children-evaluate.js');
-1 16153 var _checks_aria_aria_required_parent_evaluate__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__('./lib/checks/aria/aria-required-parent-evaluate.js');
-1 16154 var _checks_aria_aria_roledescription_evaluate__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__('./lib/checks/aria/aria-roledescription-evaluate.js');
-1 16155 var _checks_aria_aria_unsupported_attr_evaluate__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__('./lib/checks/aria/aria-unsupported-attr-evaluate.js');
-1 16156 var _checks_aria_aria_valid_attr_evaluate__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__('./lib/checks/aria/aria-valid-attr-evaluate.js');
-1 16157 var _checks_aria_aria_valid_attr_value_evaluate__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__('./lib/checks/aria/aria-valid-attr-value-evaluate.js');
-1 16158 var _checks_aria_fallbackrole_evaluate__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__('./lib/checks/aria/fallbackrole-evaluate.js');
-1 16159 var _checks_aria_has_widget_role_evaluate__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__('./lib/checks/aria/has-widget-role-evaluate.js');
-1 16160 var _checks_aria_invalidrole_evaluate__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__('./lib/checks/aria/invalidrole-evaluate.js');
-1 16161 var _checks_aria_no_implicit_explicit_label_evaluate__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__('./lib/checks/aria/no-implicit-explicit-label-evaluate.js');
-1 16162 var _checks_aria_unsupportedrole_evaluate__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__('./lib/checks/aria/unsupportedrole-evaluate.js');
-1 16163 var _checks_aria_valid_scrollable_semantics_evaluate__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__('./lib/checks/aria/valid-scrollable-semantics-evaluate.js');
-1 16164 var _checks_tables_caption_faked_evaluate__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__('./lib/checks/tables/caption-faked-evaluate.js');
-1 16165 var _checks_tables_html5_scope_evaluate__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__('./lib/checks/tables/html5-scope-evaluate.js');
-1 16166 var _checks_tables_same_caption_summary_evaluate__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__('./lib/checks/tables/same-caption-summary-evaluate.js');
-1 16167 var _checks_tables_scope_value_evaluate__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__('./lib/checks/tables/scope-value-evaluate.js');
-1 16168 var _checks_tables_td_has_header_evaluate__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__('./lib/checks/tables/td-has-header-evaluate.js');
-1 16169 var _checks_tables_td_headers_attr_evaluate__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__('./lib/checks/tables/td-headers-attr-evaluate.js');
-1 16170 var _checks_tables_th_has_data_cells_evaluate__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__('./lib/checks/tables/th-has-data-cells-evaluate.js');
-1 16171 var _checks_visibility_hidden_content_evaluate__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__('./lib/checks/visibility/hidden-content-evaluate.js');
-1 16172 var _checks_color_color_contrast_evaluate__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__('./lib/checks/color/color-contrast-evaluate.js');
-1 16173 var _checks_color_link_in_text_block_evaluate__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__('./lib/checks/color/link-in-text-block-evaluate.js');
-1 16174 var _checks_forms_autocomplete_appropriate_evaluate__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__('./lib/checks/forms/autocomplete-appropriate-evaluate.js');
-1 16175 var _checks_forms_autocomplete_valid_evaluate__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__('./lib/checks/forms/autocomplete-valid-evaluate.js');
-1 16176 var _checks_generic_attr_non_space_content_evaluate__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__('./lib/checks/generic/attr-non-space-content-evaluate.js');
-1 16177 var _checks_generic_has_descendant_after__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__('./lib/checks/generic/has-descendant-after.js');
-1 16178 var _checks_generic_has_descendant_evaluate__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__('./lib/checks/generic/has-descendant-evaluate.js');
-1 16179 var _checks_generic_has_text_content_evaluate__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__('./lib/checks/generic/has-text-content-evaluate.js');
-1 16180 var _checks_generic_matches_definition_evaluate__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__('./lib/checks/generic/matches-definition-evaluate.js');
-1 16181 var _checks_generic_page_no_duplicate_after__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__('./lib/checks/generic/page-no-duplicate-after.js');
-1 16182 var _checks_generic_page_no_duplicate_evaluate__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__('./lib/checks/generic/page-no-duplicate-evaluate.js');
-1 16183 var _checks_navigation_heading_order_after__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__('./lib/checks/navigation/heading-order-after.js');
-1 16184 var _checks_navigation_heading_order_evaluate__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__('./lib/checks/navigation/heading-order-evaluate.js');
-1 16185 var _checks_navigation_identical_links_same_purpose_after__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__('./lib/checks/navigation/identical-links-same-purpose-after.js');
-1 16186 var _checks_navigation_identical_links_same_purpose_evaluate__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__('./lib/checks/navigation/identical-links-same-purpose-evaluate.js');
-1 16187 var _checks_navigation_internal_link_present_evaluate__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__('./lib/checks/navigation/internal-link-present-evaluate.js');
-1 16188 var _checks_navigation_meta_refresh_evaluate__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__('./lib/checks/navigation/meta-refresh-evaluate.js');
-1 16189 var _checks_navigation_p_as_heading_evaluate__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__('./lib/checks/navigation/p-as-heading-evaluate.js');
-1 16190 var _checks_navigation_region_evaluate__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__('./lib/checks/navigation/region-evaluate.js');
-1 16191 var _checks_navigation_skip_link_evaluate__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__('./lib/checks/navigation/skip-link-evaluate.js');
-1 16192 var _checks_navigation_unique_frame_title_after__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__('./lib/checks/navigation/unique-frame-title-after.js');
-1 16193 var _checks_navigation_unique_frame_title_evaluate__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__('./lib/checks/navigation/unique-frame-title-evaluate.js');
-1 16194 var _checks_shared_aria_label_evaluate__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__('./lib/checks/shared/aria-label-evaluate.js');
-1 16195 var _checks_shared_aria_labelledby_evaluate__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__('./lib/checks/shared/aria-labelledby-evaluate.js');
-1 16196 var _checks_shared_avoid_inline_spacing_evaluate__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__('./lib/checks/shared/avoid-inline-spacing-evaluate.js');
-1 16197 var _checks_shared_doc_has_title_evaluate__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__('./lib/checks/shared/doc-has-title-evaluate.js');
-1 16198 var _checks_shared_exists_evaluate__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__('./lib/checks/shared/exists-evaluate.js');
-1 16199 var _checks_shared_has_alt_evaluate__WEBPACK_IMPORTED_MODULE_53__ = __webpack_require__('./lib/checks/shared/has-alt-evaluate.js');
-1 16200 var _checks_shared_is_on_screen_evaluate__WEBPACK_IMPORTED_MODULE_54__ = __webpack_require__('./lib/checks/shared/is-on-screen-evaluate.js');
-1 16201 var _checks_shared_non_empty_if_present_evaluate__WEBPACK_IMPORTED_MODULE_55__ = __webpack_require__('./lib/checks/shared/non-empty-if-present-evaluate.js');
-1 16202 var _checks_shared_svg_non_empty_title_evaluate__WEBPACK_IMPORTED_MODULE_56__ = __webpack_require__('./lib/checks/shared/svg-non-empty-title-evaluate.js');
-1 16203 var _checks_mobile_css_orientation_lock_evaluate__WEBPACK_IMPORTED_MODULE_57__ = __webpack_require__('./lib/checks/mobile/css-orientation-lock-evaluate.js');
-1 16204 var _checks_mobile_meta_viewport_scale_evaluate__WEBPACK_IMPORTED_MODULE_58__ = __webpack_require__('./lib/checks/mobile/meta-viewport-scale-evaluate.js');
-1 16205 var _checks_parsing_duplicate_id_after__WEBPACK_IMPORTED_MODULE_59__ = __webpack_require__('./lib/checks/parsing/duplicate-id-after.js');
-1 16206 var _checks_parsing_duplicate_id_evaluate__WEBPACK_IMPORTED_MODULE_60__ = __webpack_require__('./lib/checks/parsing/duplicate-id-evaluate.js');
-1 16207 var _checks_keyboard_accesskeys_after__WEBPACK_IMPORTED_MODULE_61__ = __webpack_require__('./lib/checks/keyboard/accesskeys-after.js');
-1 16208 var _checks_keyboard_accesskeys_evaluate__WEBPACK_IMPORTED_MODULE_62__ = __webpack_require__('./lib/checks/keyboard/accesskeys-evaluate.js');
-1 16209 var _checks_keyboard_focusable_content_evaluate__WEBPACK_IMPORTED_MODULE_63__ = __webpack_require__('./lib/checks/keyboard/focusable-content-evaluate.js');
-1 16210 var _checks_keyboard_focusable_disabled_evaluate__WEBPACK_IMPORTED_MODULE_64__ = __webpack_require__('./lib/checks/keyboard/focusable-disabled-evaluate.js');
-1 16211 var _checks_keyboard_focusable_element_evaluate__WEBPACK_IMPORTED_MODULE_65__ = __webpack_require__('./lib/checks/keyboard/focusable-element-evaluate.js');
-1 16212 var _checks_keyboard_focusable_modal_open_evaluate__WEBPACK_IMPORTED_MODULE_66__ = __webpack_require__('./lib/checks/keyboard/focusable-modal-open-evaluate.js');
-1 16213 var _checks_keyboard_focusable_no_name_evaluate__WEBPACK_IMPORTED_MODULE_67__ = __webpack_require__('./lib/checks/keyboard/focusable-no-name-evaluate.js');
-1 16214 var _checks_keyboard_focusable_not_tabbable_evaluate__WEBPACK_IMPORTED_MODULE_68__ = __webpack_require__('./lib/checks/keyboard/focusable-not-tabbable-evaluate.js');
-1 16215 var _checks_keyboard_landmark_is_top_level_evaluate__WEBPACK_IMPORTED_MODULE_69__ = __webpack_require__('./lib/checks/keyboard/landmark-is-top-level-evaluate.js');
-1 16216 var _checks_keyboard_tabindex_evaluate__WEBPACK_IMPORTED_MODULE_70__ = __webpack_require__('./lib/checks/keyboard/tabindex-evaluate.js');
-1 16217 var _checks_label_alt_space_value_evaluate__WEBPACK_IMPORTED_MODULE_71__ = __webpack_require__('./lib/checks/label/alt-space-value-evaluate.js');
-1 16218 var _checks_label_duplicate_img_label_evaluate__WEBPACK_IMPORTED_MODULE_72__ = __webpack_require__('./lib/checks/label/duplicate-img-label-evaluate.js');
-1 16219 var _checks_label_explicit_evaluate__WEBPACK_IMPORTED_MODULE_73__ = __webpack_require__('./lib/checks/label/explicit-evaluate.js');
-1 16220 var _checks_label_help_same_as_label_evaluate__WEBPACK_IMPORTED_MODULE_74__ = __webpack_require__('./lib/checks/label/help-same-as-label-evaluate.js');
-1 16221 var _checks_label_hidden_explicit_label_evaluate__WEBPACK_IMPORTED_MODULE_75__ = __webpack_require__('./lib/checks/label/hidden-explicit-label-evaluate.js');
-1 16222 var _checks_label_implicit_evaluate__WEBPACK_IMPORTED_MODULE_76__ = __webpack_require__('./lib/checks/label/implicit-evaluate.js');
-1 16223 var _checks_label_label_content_name_mismatch_evaluate__WEBPACK_IMPORTED_MODULE_77__ = __webpack_require__('./lib/checks/label/label-content-name-mismatch-evaluate.js');
-1 16224 var _checks_label_multiple_label_evaluate__WEBPACK_IMPORTED_MODULE_78__ = __webpack_require__('./lib/checks/label/multiple-label-evaluate.js');
-1 16225 var _checks_label_title_only_evaluate__WEBPACK_IMPORTED_MODULE_79__ = __webpack_require__('./lib/checks/label/title-only-evaluate.js');
-1 16226 var _checks_landmarks_landmark_is_unique_after__WEBPACK_IMPORTED_MODULE_80__ = __webpack_require__('./lib/checks/landmarks/landmark-is-unique-after.js');
-1 16227 var _checks_landmarks_landmark_is_unique_evaluate__WEBPACK_IMPORTED_MODULE_81__ = __webpack_require__('./lib/checks/landmarks/landmark-is-unique-evaluate.js');
-1 16228 var _checks_language_has_lang_evaluate__WEBPACK_IMPORTED_MODULE_82__ = __webpack_require__('./lib/checks/language/has-lang-evaluate.js');
-1 16229 var _checks_language_valid_lang_evaluate__WEBPACK_IMPORTED_MODULE_83__ = __webpack_require__('./lib/checks/language/valid-lang-evaluate.js');
-1 16230 var _checks_language_xml_lang_mismatch_evaluate__WEBPACK_IMPORTED_MODULE_84__ = __webpack_require__('./lib/checks/language/xml-lang-mismatch-evaluate.js');
-1 16231 var _checks_lists_dlitem_evaluate__WEBPACK_IMPORTED_MODULE_85__ = __webpack_require__('./lib/checks/lists/dlitem-evaluate.js');
-1 16232 var _checks_lists_listitem_evaluate__WEBPACK_IMPORTED_MODULE_86__ = __webpack_require__('./lib/checks/lists/listitem-evaluate.js');
-1 16233 var _checks_lists_only_dlitems_evaluate__WEBPACK_IMPORTED_MODULE_87__ = __webpack_require__('./lib/checks/lists/only-dlitems-evaluate.js');
-1 16234 var _checks_lists_only_listitems_evaluate__WEBPACK_IMPORTED_MODULE_88__ = __webpack_require__('./lib/checks/lists/only-listitems-evaluate.js');
-1 16235 var _checks_lists_structured_dlitems_evaluate__WEBPACK_IMPORTED_MODULE_89__ = __webpack_require__('./lib/checks/lists/structured-dlitems-evaluate.js');
-1 16236 var _checks_media_caption_evaluate__WEBPACK_IMPORTED_MODULE_90__ = __webpack_require__('./lib/checks/media/caption-evaluate.js');
-1 16237 var _checks_media_frame_tested_evaluate__WEBPACK_IMPORTED_MODULE_91__ = __webpack_require__('./lib/checks/media/frame-tested-evaluate.js');
-1 16238 var _checks_media_no_autoplay_audio_evaluate__WEBPACK_IMPORTED_MODULE_92__ = __webpack_require__('./lib/checks/media/no-autoplay-audio-evaluate.js');
-1 16239 var _rules_aria_allowed_attr_matches__WEBPACK_IMPORTED_MODULE_93__ = __webpack_require__('./lib/rules/aria-allowed-attr-matches.js');
-1 16240 var _rules_aria_allowed_role_matches__WEBPACK_IMPORTED_MODULE_94__ = __webpack_require__('./lib/rules/aria-allowed-role-matches.js');
-1 16241 var _rules_aria_form_field_name_matches__WEBPACK_IMPORTED_MODULE_95__ = __webpack_require__('./lib/rules/aria-form-field-name-matches.js');
-1 16242 var _rules_aria_has_attr_matches__WEBPACK_IMPORTED_MODULE_96__ = __webpack_require__('./lib/rules/aria-has-attr-matches.js');
-1 16243 var _rules_aria_hidden_focus_matches__WEBPACK_IMPORTED_MODULE_97__ = __webpack_require__('./lib/rules/aria-hidden-focus-matches.js');
-1 16244 var _rules_autocomplete_matches__WEBPACK_IMPORTED_MODULE_98__ = __webpack_require__('./lib/rules/autocomplete-matches.js');
-1 16245 var _rules_bypass_matches__WEBPACK_IMPORTED_MODULE_99__ = __webpack_require__('./lib/rules/bypass-matches.js');
-1 16246 var _rules_color_contrast_matches__WEBPACK_IMPORTED_MODULE_100__ = __webpack_require__('./lib/rules/color-contrast-matches.js');
-1 16247 var _rules_data_table_large_matches__WEBPACK_IMPORTED_MODULE_101__ = __webpack_require__('./lib/rules/data-table-large-matches.js');
-1 16248 var _rules_data_table_matches__WEBPACK_IMPORTED_MODULE_102__ = __webpack_require__('./lib/rules/data-table-matches.js');
-1 16249 var _rules_duplicate_id_active_matches__WEBPACK_IMPORTED_MODULE_103__ = __webpack_require__('./lib/rules/duplicate-id-active-matches.js');
-1 16250 var _rules_duplicate_id_aria_matches__WEBPACK_IMPORTED_MODULE_104__ = __webpack_require__('./lib/rules/duplicate-id-aria-matches.js');
-1 16251 var _rules_duplicate_id_misc_matches__WEBPACK_IMPORTED_MODULE_105__ = __webpack_require__('./lib/rules/duplicate-id-misc-matches.js');
-1 16252 var _rules_frame_title_has_text_matches__WEBPACK_IMPORTED_MODULE_106__ = __webpack_require__('./lib/rules/frame-title-has-text-matches.js');
-1 16253 var _rules_heading_matches__WEBPACK_IMPORTED_MODULE_107__ = __webpack_require__('./lib/rules/heading-matches.js');
-1 16254 var _rules_html_namespace_matches__WEBPACK_IMPORTED_MODULE_108__ = __webpack_require__('./lib/rules/html-namespace-matches.js');
-1 16255 var _rules_identical_links_same_purpose_matches__WEBPACK_IMPORTED_MODULE_109__ = __webpack_require__('./lib/rules/identical-links-same-purpose-matches.js');
-1 16256 var _rules_inserted_into_focus_order_matches__WEBPACK_IMPORTED_MODULE_110__ = __webpack_require__('./lib/rules/inserted-into-focus-order-matches.js');
-1 16257 var _rules_label_content_name_mismatch_matches__WEBPACK_IMPORTED_MODULE_111__ = __webpack_require__('./lib/rules/label-content-name-mismatch-matches.js');
-1 16258 var _rules_label_matches__WEBPACK_IMPORTED_MODULE_112__ = __webpack_require__('./lib/rules/label-matches.js');
-1 16259 var _rules_landmark_has_body_context_matches__WEBPACK_IMPORTED_MODULE_113__ = __webpack_require__('./lib/rules/landmark-has-body-context-matches.js');
-1 16260 var _rules_landmark_unique_matches__WEBPACK_IMPORTED_MODULE_114__ = __webpack_require__('./lib/rules/landmark-unique-matches.js');
-1 16261 var _rules_layout_table_matches__WEBPACK_IMPORTED_MODULE_115__ = __webpack_require__('./lib/rules/layout-table-matches.js');
-1 16262 var _rules_link_in_text_block_matches__WEBPACK_IMPORTED_MODULE_116__ = __webpack_require__('./lib/rules/link-in-text-block-matches.js');
-1 16263 var _rules_no_autoplay_audio_matches__WEBPACK_IMPORTED_MODULE_117__ = __webpack_require__('./lib/rules/no-autoplay-audio-matches.js');
-1 16264 var _rules_no_empty_role_matches__WEBPACK_IMPORTED_MODULE_118__ = __webpack_require__('./lib/rules/no-empty-role-matches.js');
-1 16265 var _rules_no_role_matches__WEBPACK_IMPORTED_MODULE_119__ = __webpack_require__('./lib/rules/no-role-matches.js');
-1 16266 var _rules_not_html_matches__WEBPACK_IMPORTED_MODULE_120__ = __webpack_require__('./lib/rules/not-html-matches.js');
-1 16267 var _rules_p_as_heading_matches__WEBPACK_IMPORTED_MODULE_121__ = __webpack_require__('./lib/rules/p-as-heading-matches.js');
-1 16268 var _rules_scrollable_region_focusable_matches__WEBPACK_IMPORTED_MODULE_122__ = __webpack_require__('./lib/rules/scrollable-region-focusable-matches.js');
-1 16269 var _rules_skip_link_matches__WEBPACK_IMPORTED_MODULE_123__ = __webpack_require__('./lib/rules/skip-link-matches.js');
-1 16270 var _rules_svg_namespace_matches__WEBPACK_IMPORTED_MODULE_124__ = __webpack_require__('./lib/rules/svg-namespace-matches.js');
-1 16271 var _rules_window_is_top_matches__WEBPACK_IMPORTED_MODULE_125__ = __webpack_require__('./lib/rules/window-is-top-matches.js');
-1 16272 var _rules_xml_lang_mismatch_matches__WEBPACK_IMPORTED_MODULE_126__ = __webpack_require__('./lib/rules/xml-lang-mismatch-matches.js');
-1 16273 var metadataFunctionMap = {
-1 16274 'abstractrole-evaluate': _checks_aria_abstractrole_evaluate__WEBPACK_IMPORTED_MODULE_0__['default'],
-1 16275 'aria-allowed-attr-evaluate': _checks_aria_aria_allowed_attr_evaluate__WEBPACK_IMPORTED_MODULE_1__['default'],
-1 16276 'aria-allowed-role-evaluate': _checks_aria_aria_allowed_role_evaluate__WEBPACK_IMPORTED_MODULE_2__['default'],
-1 16277 'aria-errormessage-evaluate': _checks_aria_aria_errormessage_evaluate__WEBPACK_IMPORTED_MODULE_3__['default'],
-1 16278 'aria-hidden-body-evaluate': _checks_aria_aria_hidden_body_evaluate__WEBPACK_IMPORTED_MODULE_4__['default'],
-1 16279 'aria-required-attr-evaluate': _checks_aria_aria_required_attr_evaluate__WEBPACK_IMPORTED_MODULE_5__['default'],
-1 16280 'aria-required-children-evaluate': _checks_aria_aria_required_children_evaluate__WEBPACK_IMPORTED_MODULE_6__['default'],
-1 16281 'aria-required-parent-evaluate': _checks_aria_aria_required_parent_evaluate__WEBPACK_IMPORTED_MODULE_7__['default'],
-1 16282 'aria-roledescription-evaluate': _checks_aria_aria_roledescription_evaluate__WEBPACK_IMPORTED_MODULE_8__['default'],
-1 16283 'aria-unsupported-attr-evaluate': _checks_aria_aria_unsupported_attr_evaluate__WEBPACK_IMPORTED_MODULE_9__['default'],
-1 16284 'aria-valid-attr-evaluate': _checks_aria_aria_valid_attr_evaluate__WEBPACK_IMPORTED_MODULE_10__['default'],
-1 16285 'aria-valid-attr-value-evaluate': _checks_aria_aria_valid_attr_value_evaluate__WEBPACK_IMPORTED_MODULE_11__['default'],
-1 16286 'fallbackrole-evaluate': _checks_aria_fallbackrole_evaluate__WEBPACK_IMPORTED_MODULE_12__['default'],
-1 16287 'has-widget-role-evaluate': _checks_aria_has_widget_role_evaluate__WEBPACK_IMPORTED_MODULE_13__['default'],
-1 16288 'invalidrole-evaluate': _checks_aria_invalidrole_evaluate__WEBPACK_IMPORTED_MODULE_14__['default'],
-1 16289 'no-implicit-explicit-label-evaluate': _checks_aria_no_implicit_explicit_label_evaluate__WEBPACK_IMPORTED_MODULE_15__['default'],
-1 16290 'unsupportedrole-evaluate': _checks_aria_unsupportedrole_evaluate__WEBPACK_IMPORTED_MODULE_16__['default'],
-1 16291 'valid-scrollable-semantics-evaluate': _checks_aria_valid_scrollable_semantics_evaluate__WEBPACK_IMPORTED_MODULE_17__['default'],
-1 16292 'caption-faked-evaluate': _checks_tables_caption_faked_evaluate__WEBPACK_IMPORTED_MODULE_18__['default'],
-1 16293 'html5-scope-evaluate': _checks_tables_html5_scope_evaluate__WEBPACK_IMPORTED_MODULE_19__['default'],
-1 16294 'same-caption-summary-evaluate': _checks_tables_same_caption_summary_evaluate__WEBPACK_IMPORTED_MODULE_20__['default'],
-1 16295 'scope-value-evaluate': _checks_tables_scope_value_evaluate__WEBPACK_IMPORTED_MODULE_21__['default'],
-1 16296 'td-has-header-evaluate': _checks_tables_td_has_header_evaluate__WEBPACK_IMPORTED_MODULE_22__['default'],
-1 16297 'td-headers-attr-evaluate': _checks_tables_td_headers_attr_evaluate__WEBPACK_IMPORTED_MODULE_23__['default'],
-1 16298 'th-has-data-cells-evaluate': _checks_tables_th_has_data_cells_evaluate__WEBPACK_IMPORTED_MODULE_24__['default'],
-1 16299 'hidden-content-evaluate': _checks_visibility_hidden_content_evaluate__WEBPACK_IMPORTED_MODULE_25__['default'],
-1 16300 'color-contrast-evaluate': _checks_color_color_contrast_evaluate__WEBPACK_IMPORTED_MODULE_26__['default'],
-1 16301 'link-in-text-block-evaluate': _checks_color_link_in_text_block_evaluate__WEBPACK_IMPORTED_MODULE_27__['default'],
-1 16302 'autocomplete-appropriate-evaluate': _checks_forms_autocomplete_appropriate_evaluate__WEBPACK_IMPORTED_MODULE_28__['default'],
-1 16303 'autocomplete-valid-evaluate': _checks_forms_autocomplete_valid_evaluate__WEBPACK_IMPORTED_MODULE_29__['default'],
-1 16304 'attr-non-space-content-evaluate': _checks_generic_attr_non_space_content_evaluate__WEBPACK_IMPORTED_MODULE_30__['default'],
-1 16305 'has-descendant-after': _checks_generic_has_descendant_after__WEBPACK_IMPORTED_MODULE_31__['default'],
-1 16306 'has-descendant-evaluate': _checks_generic_has_descendant_evaluate__WEBPACK_IMPORTED_MODULE_32__['default'],
-1 16307 'has-text-content-evaluate': _checks_generic_has_text_content_evaluate__WEBPACK_IMPORTED_MODULE_33__['default'],
-1 16308 'matches-definition-evaluate': _checks_generic_matches_definition_evaluate__WEBPACK_IMPORTED_MODULE_34__['default'],
-1 16309 'page-no-duplicate-after': _checks_generic_page_no_duplicate_after__WEBPACK_IMPORTED_MODULE_35__['default'],
-1 16310 'page-no-duplicate-evaluate': _checks_generic_page_no_duplicate_evaluate__WEBPACK_IMPORTED_MODULE_36__['default'],
-1 16311 'heading-order-after': _checks_navigation_heading_order_after__WEBPACK_IMPORTED_MODULE_37__['default'],
-1 16312 'heading-order-evaluate': _checks_navigation_heading_order_evaluate__WEBPACK_IMPORTED_MODULE_38__['default'],
-1 16313 'identical-links-same-purpose-after': _checks_navigation_identical_links_same_purpose_after__WEBPACK_IMPORTED_MODULE_39__['default'],
-1 16314 'identical-links-same-purpose-evaluate': _checks_navigation_identical_links_same_purpose_evaluate__WEBPACK_IMPORTED_MODULE_40__['default'],
-1 16315 'internal-link-present-evaluate': _checks_navigation_internal_link_present_evaluate__WEBPACK_IMPORTED_MODULE_41__['default'],
-1 16316 'meta-refresh-evaluate': _checks_navigation_meta_refresh_evaluate__WEBPACK_IMPORTED_MODULE_42__['default'],
-1 16317 'p-as-heading-evaluate': _checks_navigation_p_as_heading_evaluate__WEBPACK_IMPORTED_MODULE_43__['default'],
-1 16318 'region-evaluate': _checks_navigation_region_evaluate__WEBPACK_IMPORTED_MODULE_44__['default'],
-1 16319 'skip-link-evaluate': _checks_navigation_skip_link_evaluate__WEBPACK_IMPORTED_MODULE_45__['default'],
-1 16320 'unique-frame-title-after': _checks_navigation_unique_frame_title_after__WEBPACK_IMPORTED_MODULE_46__['default'],
-1 16321 'unique-frame-title-evaluate': _checks_navigation_unique_frame_title_evaluate__WEBPACK_IMPORTED_MODULE_47__['default'],
-1 16322 'aria-label-evaluate': _checks_shared_aria_label_evaluate__WEBPACK_IMPORTED_MODULE_48__['default'],
-1 16323 'aria-labelledby-evaluate': _checks_shared_aria_labelledby_evaluate__WEBPACK_IMPORTED_MODULE_49__['default'],
-1 16324 'avoid-inline-spacing-evaluate': _checks_shared_avoid_inline_spacing_evaluate__WEBPACK_IMPORTED_MODULE_50__['default'],
-1 16325 'doc-has-title-evaluate': _checks_shared_doc_has_title_evaluate__WEBPACK_IMPORTED_MODULE_51__['default'],
-1 16326 'exists-evaluate': _checks_shared_exists_evaluate__WEBPACK_IMPORTED_MODULE_52__['default'],
-1 16327 'has-alt-evaluate': _checks_shared_has_alt_evaluate__WEBPACK_IMPORTED_MODULE_53__['default'],
-1 16328 'is-on-screen-evaluate': _checks_shared_is_on_screen_evaluate__WEBPACK_IMPORTED_MODULE_54__['default'],
-1 16329 'non-empty-if-present-evaluate': _checks_shared_non_empty_if_present_evaluate__WEBPACK_IMPORTED_MODULE_55__['default'],
-1 16330 'svg-non-empty-title-evaluate': _checks_shared_svg_non_empty_title_evaluate__WEBPACK_IMPORTED_MODULE_56__['default'],
-1 16331 'css-orientation-lock-evaluate': _checks_mobile_css_orientation_lock_evaluate__WEBPACK_IMPORTED_MODULE_57__['default'],
-1 16332 'meta-viewport-scale-evaluate': _checks_mobile_meta_viewport_scale_evaluate__WEBPACK_IMPORTED_MODULE_58__['default'],
-1 16333 'duplicate-id-after': _checks_parsing_duplicate_id_after__WEBPACK_IMPORTED_MODULE_59__['default'],
-1 16334 'duplicate-id-evaluate': _checks_parsing_duplicate_id_evaluate__WEBPACK_IMPORTED_MODULE_60__['default'],
-1 16335 'accesskeys-after': _checks_keyboard_accesskeys_after__WEBPACK_IMPORTED_MODULE_61__['default'],
-1 16336 'accesskeys-evaluate': _checks_keyboard_accesskeys_evaluate__WEBPACK_IMPORTED_MODULE_62__['default'],
-1 16337 'focusable-content-evaluate': _checks_keyboard_focusable_content_evaluate__WEBPACK_IMPORTED_MODULE_63__['default'],
-1 16338 'focusable-disabled-evaluate': _checks_keyboard_focusable_disabled_evaluate__WEBPACK_IMPORTED_MODULE_64__['default'],
-1 16339 'focusable-element-evaluate': _checks_keyboard_focusable_element_evaluate__WEBPACK_IMPORTED_MODULE_65__['default'],
-1 16340 'focusable-modal-open-evaluate': _checks_keyboard_focusable_modal_open_evaluate__WEBPACK_IMPORTED_MODULE_66__['default'],
-1 16341 'focusable-no-name-evaluate': _checks_keyboard_focusable_no_name_evaluate__WEBPACK_IMPORTED_MODULE_67__['default'],
-1 16342 'focusable-not-tabbable-evaluate': _checks_keyboard_focusable_not_tabbable_evaluate__WEBPACK_IMPORTED_MODULE_68__['default'],
-1 16343 'landmark-is-top-level-evaluate': _checks_keyboard_landmark_is_top_level_evaluate__WEBPACK_IMPORTED_MODULE_69__['default'],
-1 16344 'tabindex-evaluate': _checks_keyboard_tabindex_evaluate__WEBPACK_IMPORTED_MODULE_70__['default'],
-1 16345 'alt-space-value-evaluate': _checks_label_alt_space_value_evaluate__WEBPACK_IMPORTED_MODULE_71__['default'],
-1 16346 'duplicate-img-label-evaluate': _checks_label_duplicate_img_label_evaluate__WEBPACK_IMPORTED_MODULE_72__['default'],
-1 16347 'explicit-evaluate': _checks_label_explicit_evaluate__WEBPACK_IMPORTED_MODULE_73__['default'],
-1 16348 'help-same-as-label-evaluate': _checks_label_help_same_as_label_evaluate__WEBPACK_IMPORTED_MODULE_74__['default'],
-1 16349 'hidden-explicit-label-evaluate': _checks_label_hidden_explicit_label_evaluate__WEBPACK_IMPORTED_MODULE_75__['default'],
-1 16350 'implicit-evaluate': _checks_label_implicit_evaluate__WEBPACK_IMPORTED_MODULE_76__['default'],
-1 16351 'label-content-name-mismatch-evaluate': _checks_label_label_content_name_mismatch_evaluate__WEBPACK_IMPORTED_MODULE_77__['default'],
-1 16352 'multiple-label-evaluate': _checks_label_multiple_label_evaluate__WEBPACK_IMPORTED_MODULE_78__['default'],
-1 16353 'title-only-evaluate': _checks_label_title_only_evaluate__WEBPACK_IMPORTED_MODULE_79__['default'],
-1 16354 'landmark-is-unique-after': _checks_landmarks_landmark_is_unique_after__WEBPACK_IMPORTED_MODULE_80__['default'],
-1 16355 'landmark-is-unique-evaluate': _checks_landmarks_landmark_is_unique_evaluate__WEBPACK_IMPORTED_MODULE_81__['default'],
-1 16356 'has-lang-evaluate': _checks_language_has_lang_evaluate__WEBPACK_IMPORTED_MODULE_82__['default'],
-1 16357 'valid-lang-evaluate': _checks_language_valid_lang_evaluate__WEBPACK_IMPORTED_MODULE_83__['default'],
-1 16358 'xml-lang-mismatch-evaluate': _checks_language_xml_lang_mismatch_evaluate__WEBPACK_IMPORTED_MODULE_84__['default'],
-1 16359 'dlitem-evaluate': _checks_lists_dlitem_evaluate__WEBPACK_IMPORTED_MODULE_85__['default'],
-1 16360 'listitem-evaluate': _checks_lists_listitem_evaluate__WEBPACK_IMPORTED_MODULE_86__['default'],
-1 16361 'only-dlitems-evaluate': _checks_lists_only_dlitems_evaluate__WEBPACK_IMPORTED_MODULE_87__['default'],
-1 16362 'only-listitems-evaluate': _checks_lists_only_listitems_evaluate__WEBPACK_IMPORTED_MODULE_88__['default'],
-1 16363 'structured-dlitems-evaluate': _checks_lists_structured_dlitems_evaluate__WEBPACK_IMPORTED_MODULE_89__['default'],
-1 16364 'caption-evaluate': _checks_media_caption_evaluate__WEBPACK_IMPORTED_MODULE_90__['default'],
-1 16365 'frame-tested-evaluate': _checks_media_frame_tested_evaluate__WEBPACK_IMPORTED_MODULE_91__['default'],
-1 16366 'no-autoplay-audio-evaluate': _checks_media_no_autoplay_audio_evaluate__WEBPACK_IMPORTED_MODULE_92__['default'],
-1 16367 'aria-allowed-attr-matches': _rules_aria_allowed_attr_matches__WEBPACK_IMPORTED_MODULE_93__['default'],
-1 16368 'aria-allowed-role-matches': _rules_aria_allowed_role_matches__WEBPACK_IMPORTED_MODULE_94__['default'],
-1 16369 'aria-form-field-name-matches': _rules_aria_form_field_name_matches__WEBPACK_IMPORTED_MODULE_95__['default'],
-1 16370 'aria-has-attr-matches': _rules_aria_has_attr_matches__WEBPACK_IMPORTED_MODULE_96__['default'],
-1 16371 'aria-hidden-focus-matches': _rules_aria_hidden_focus_matches__WEBPACK_IMPORTED_MODULE_97__['default'],
-1 16372 'autocomplete-matches': _rules_autocomplete_matches__WEBPACK_IMPORTED_MODULE_98__['default'],
-1 16373 'bypass-matches': _rules_bypass_matches__WEBPACK_IMPORTED_MODULE_99__['default'],
-1 16374 'color-contrast-matches': _rules_color_contrast_matches__WEBPACK_IMPORTED_MODULE_100__['default'],
-1 16375 'data-table-large-matches': _rules_data_table_large_matches__WEBPACK_IMPORTED_MODULE_101__['default'],
-1 16376 'data-table-matches': _rules_data_table_matches__WEBPACK_IMPORTED_MODULE_102__['default'],
-1 16377 'duplicate-id-active-matches': _rules_duplicate_id_active_matches__WEBPACK_IMPORTED_MODULE_103__['default'],
-1 16378 'duplicate-id-aria-matches': _rules_duplicate_id_aria_matches__WEBPACK_IMPORTED_MODULE_104__['default'],
-1 16379 'duplicate-id-misc-matches': _rules_duplicate_id_misc_matches__WEBPACK_IMPORTED_MODULE_105__['default'],
-1 16380 'frame-title-has-text-matches': _rules_frame_title_has_text_matches__WEBPACK_IMPORTED_MODULE_106__['default'],
-1 16381 'heading-matches': _rules_heading_matches__WEBPACK_IMPORTED_MODULE_107__['default'],
-1 16382 'html-namespace-matches': _rules_html_namespace_matches__WEBPACK_IMPORTED_MODULE_108__['default'],
-1 16383 'identical-links-same-purpose-matches': _rules_identical_links_same_purpose_matches__WEBPACK_IMPORTED_MODULE_109__['default'],
-1 16384 'inserted-into-focus-order-matches': _rules_inserted_into_focus_order_matches__WEBPACK_IMPORTED_MODULE_110__['default'],
-1 16385 'label-content-name-mismatch-matches': _rules_label_content_name_mismatch_matches__WEBPACK_IMPORTED_MODULE_111__['default'],
-1 16386 'label-matches': _rules_label_matches__WEBPACK_IMPORTED_MODULE_112__['default'],
-1 16387 'landmark-has-body-context-matches': _rules_landmark_has_body_context_matches__WEBPACK_IMPORTED_MODULE_113__['default'],
-1 16388 'landmark-unique-matches': _rules_landmark_unique_matches__WEBPACK_IMPORTED_MODULE_114__['default'],
-1 16389 'layout-table-matches': _rules_layout_table_matches__WEBPACK_IMPORTED_MODULE_115__['default'],
-1 16390 'link-in-text-block-matches': _rules_link_in_text_block_matches__WEBPACK_IMPORTED_MODULE_116__['default'],
-1 16391 'no-autoplay-audio-matches': _rules_no_autoplay_audio_matches__WEBPACK_IMPORTED_MODULE_117__['default'],
-1 16392 'no-empty-role-matches': _rules_no_empty_role_matches__WEBPACK_IMPORTED_MODULE_118__['default'],
-1 16393 'no-role-matches': _rules_no_role_matches__WEBPACK_IMPORTED_MODULE_119__['default'],
-1 16394 'not-html-matches': _rules_not_html_matches__WEBPACK_IMPORTED_MODULE_120__['default'],
-1 16395 'p-as-heading-matches': _rules_p_as_heading_matches__WEBPACK_IMPORTED_MODULE_121__['default'],
-1 16396 'scrollable-region-focusable-matches': _rules_scrollable_region_focusable_matches__WEBPACK_IMPORTED_MODULE_122__['default'],
-1 16397 'skip-link-matches': _rules_skip_link_matches__WEBPACK_IMPORTED_MODULE_123__['default'],
-1 16398 'svg-namespace-matches': _rules_svg_namespace_matches__WEBPACK_IMPORTED_MODULE_124__['default'],
-1 16399 'window-is-top-matches': _rules_window_is_top_matches__WEBPACK_IMPORTED_MODULE_125__['default'],
-1 16400 'xml-lang-mismatch-matches': _rules_xml_lang_mismatch_matches__WEBPACK_IMPORTED_MODULE_126__['default']
-1 16401 };
-1 16402 __webpack_exports__['default'] = metadataFunctionMap;
-1 16403 },
-1 16404 './lib/core/base/rule-result.js': function libCoreBaseRuleResultJs(module, __webpack_exports__, __webpack_require__) {
-1 16405 'use strict';
-1 16406 __webpack_require__.r(__webpack_exports__);
-1 16407 var _constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/core/constants.js');
-1 16408 function RuleResult(rule) {
-1 16409 this.id = rule.id;
-1 16410 this.result = _constants__WEBPACK_IMPORTED_MODULE_0__['default'].NA;
-1 16411 this.pageLevel = rule.pageLevel;
-1 16412 this.impact = null;
-1 16413 this.nodes = [];
-1 16414 }
-1 16415 __webpack_exports__['default'] = RuleResult;
-1 16416 },
-1 16417 './lib/core/base/rule.js': function libCoreBaseRuleJs(module, __webpack_exports__, __webpack_require__) {
-1 16418 'use strict';
-1 16419 __webpack_require__.r(__webpack_exports__);
-1 16420 var _check__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/core/base/check.js');
-1 16421 var _rule_result__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/core/base/rule-result.js');
-1 16422 var _utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__('./lib/core/utils/index.js');
-1 16423 var _constants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__('./lib/core/constants.js');
-1 16424 var _log__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__('./lib/core/log.js');
-1 16425 function Rule(spec, parentAudit) {
-1 16426 this._audit = parentAudit;
-1 16427 this.id = spec.id;
-1 16428 this.selector = spec.selector || '*';
-1 16429 if (spec.impact) {
-1 16430 Object(_utils__WEBPACK_IMPORTED_MODULE_2__['assert'])(_constants__WEBPACK_IMPORTED_MODULE_3__['default'].impact.includes(spec.impact), 'Impact '.concat(spec.impact, ' is not a valid impact'));
-1 16431 this.impact = spec.impact;
-1 16432 }
-1 16433 this.excludeHidden = typeof spec.excludeHidden === 'boolean' ? spec.excludeHidden : true;
-1 16434 this.enabled = typeof spec.enabled === 'boolean' ? spec.enabled : true;
-1 16435 this.pageLevel = typeof spec.pageLevel === 'boolean' ? spec.pageLevel : false;
-1 16436 this.reviewOnFail = typeof spec.reviewOnFail === 'boolean' ? spec.reviewOnFail : false;
-1 16437 this.any = spec.any || [];
-1 16438 this.all = spec.all || [];
-1 16439 this.none = spec.none || [];
-1 16440 this.tags = spec.tags || [];
-1 16441 this.preload = spec.preload ? true : false;
-1 16442 if (spec.matches) {
-1 16443 this.matches = Object(_check__WEBPACK_IMPORTED_MODULE_0__['createExecutionContext'])(spec.matches);
-1 16444 }
-1 16445 }
-1 16446 Rule.prototype.matches = function() {
-1 16447 return true;
-1 16448 };
-1 16449 Rule.prototype.gather = function(context) {
-1 16450 var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
-1 16451 var markStart = 'mark_gather_start_' + this.id;
-1 16452 var markEnd = 'mark_gather_end_' + this.id;
-1 16453 var markHiddenStart = 'mark_isHidden_start_' + this.id;
-1 16454 var markHiddenEnd = 'mark_isHidden_end_' + this.id;
-1 16455 if (options.performanceTimer) {
-1 16456 _utils__WEBPACK_IMPORTED_MODULE_2__['performanceTimer'].mark(markStart);
-1 16457 }
-1 16458 var elements = Object(_utils__WEBPACK_IMPORTED_MODULE_2__['select'])(this.selector, context);
-1 16459 if (this.excludeHidden) {
-1 16460 if (options.performanceTimer) {
-1 16461 _utils__WEBPACK_IMPORTED_MODULE_2__['performanceTimer'].mark(markHiddenStart);
-1 16462 }
-1 16463 elements = elements.filter(function(element) {
-1 16464 return !Object(_utils__WEBPACK_IMPORTED_MODULE_2__['isHidden'])(element.actualNode);
-1 16465 });
-1 16466 if (options.performanceTimer) {
-1 16467 _utils__WEBPACK_IMPORTED_MODULE_2__['performanceTimer'].mark(markHiddenEnd);
-1 16468 _utils__WEBPACK_IMPORTED_MODULE_2__['performanceTimer'].measure('rule_' + this.id + '#gather_axe.utils.isHidden', markHiddenStart, markHiddenEnd);
-1 16469 }
-1 16470 }
-1 16471 if (options.performanceTimer) {
-1 16472 _utils__WEBPACK_IMPORTED_MODULE_2__['performanceTimer'].mark(markEnd);
-1 16473 _utils__WEBPACK_IMPORTED_MODULE_2__['performanceTimer'].measure('rule_' + this.id + '#gather', markStart, markEnd);
-1 16474 }
-1 16475 return elements;
-1 16476 };
-1 16477 Rule.prototype.runChecks = function(type, node, options, context, resolve, reject) {
-1 16478 var self = this;
-1 16479 var checkQueue = Object(_utils__WEBPACK_IMPORTED_MODULE_2__['queue'])();
-1 16480 this[type].forEach(function(c) {
-1 16481 var check = self._audit.checks[c.id || c];
-1 16482 var option = Object(_utils__WEBPACK_IMPORTED_MODULE_2__['getCheckOption'])(check, self.id, options);
-1 16483 checkQueue.defer(function(res, rej) {
-1 16484 check.run(node, option, context, res, rej);
-1 16485 });
-1 16486 });
-1 16487 checkQueue.then(function(results) {
-1 16488 results = results.filter(function(check) {
-1 16489 return check;
-1 16490 });
-1 16491 resolve({
-1 16492 type: type,
-1 16493 results: results
-1 16494 });
-1 16495 })['catch'](reject);
-1 16496 };
-1 16497 Rule.prototype.runChecksSync = function(type, node, options, context) {
-1 16498 var self = this;
-1 16499 var results = [];
-1 16500 this[type].forEach(function(c) {
-1 16501 var check = self._audit.checks[c.id || c];
-1 16502 var option = Object(_utils__WEBPACK_IMPORTED_MODULE_2__['getCheckOption'])(check, self.id, options);
-1 16503 results.push(check.runSync(node, option, context));
-1 16504 });
-1 16505 results = results.filter(function(check) {
-1 16506 return check;
-1 16507 });
-1 16508 return {
-1 16509 type: type,
-1 16510 results: results
-1 16511 };
-1 16512 };
-1 16513 Rule.prototype.run = function(context) {
-1 16514 var _this4 = this;
-1 16515 var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
-1 16516 var resolve = arguments.length > 2 ? arguments[2] : undefined;
-1 16517 var reject = arguments.length > 3 ? arguments[3] : undefined;
-1 16518 if (options.performanceTimer) {
-1 16519 this._trackPerformance();
-1 16520 }
-1 16521 var q = Object(_utils__WEBPACK_IMPORTED_MODULE_2__['queue'])();
-1 16522 var ruleResult = new _rule_result__WEBPACK_IMPORTED_MODULE_1__['default'](this);
-1 16523 var nodes;
-1 16524 try {
-1 16525 nodes = this.gatherAndMatchNodes(context, options);
-1 16526 } catch (error) {
-1 16527 reject(new SupportError({
-1 16528 cause: error,
-1 16529 ruleId: this.id
-1 16530 }));
-1 16531 return;
-1 16532 }
-1 16533 if (options.performanceTimer) {
-1 16534 this._logGatherPerformance(nodes);
-1 16535 }
-1 16536 nodes.forEach(function(node) {
-1 16537 q.defer(function(resolveNode, rejectNode) {
-1 16538 var checkQueue = Object(_utils__WEBPACK_IMPORTED_MODULE_2__['queue'])();
-1 16539 [ 'any', 'all', 'none' ].forEach(function(type) {
-1 16540 checkQueue.defer(function(res, rej) {
-1 16541 _this4.runChecks(type, node, options, context, res, rej);
-1 16542 });
-1 16543 });
-1 16544 checkQueue.then(function(results) {
-1 16545 var result = getResult(results);
-1 16546 if (result) {
-1 16547 result.node = new _utils__WEBPACK_IMPORTED_MODULE_2__['DqElement'](node.actualNode, options);
-1 16548 ruleResult.nodes.push(result);
-1 16549 if (_this4.reviewOnFail) {
-1 16550 [ 'any', 'all' ].forEach(function(type) {
-1 16551 result[type].forEach(function(checkResult) {
-1 16552 if (checkResult.result === false) {
-1 16553 checkResult.result = undefined;
-1 16554 }
-1 16555 });
-1 16556 });
-1 16557 result.none.forEach(function(checkResult) {
-1 16558 if (checkResult.result === true) {
-1 16559 checkResult.result = undefined;
-1 16560 }
-1 16561 });
-1 16562 }
-1 16563 }
-1 16564 resolveNode();
-1 16565 })['catch'](function(err) {
-1 16566 return rejectNode(err);
-1 16567 });
-1 16568 });
-1 16569 });
-1 16570 q.defer(function(resolve) {
-1 16571 return setTimeout(resolve, 0);
-1 16572 });
-1 16573 if (options.performanceTimer) {
-1 16574 this._logRulePerformance();
-1 16575 }
-1 16576 q.then(function() {
-1 16577 return resolve(ruleResult);
-1 16578 })['catch'](function(error) {
-1 16579 return reject(error);
-1 16580 });
-1 16581 };
-1 16582 Rule.prototype.runSync = function(context) {
-1 16583 var _this5 = this;
-1 16584 var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
-1 16585 if (options.performanceTimer) {
-1 16586 this._trackPerformance();
-1 16587 }
-1 16588 var ruleResult = new _rule_result__WEBPACK_IMPORTED_MODULE_1__['default'](this);
-1 16589 var nodes;
-1 16590 try {
-1 16591 nodes = this.gatherAndMatchNodes(context, options);
-1 16592 } catch (error) {
-1 16593 throw new SupportError({
-1 16594 cause: error,
-1 16595 ruleId: this.id
-1 16596 });
-1 16597 }
-1 16598 if (options.performanceTimer) {
-1 16599 this._logGatherPerformance(nodes);
-1 16600 }
-1 16601 nodes.forEach(function(node) {
-1 16602 var results = [];
-1 16603 [ 'any', 'all', 'none' ].forEach(function(type) {
-1 16604 results.push(_this5.runChecksSync(type, node, options, context));
-1 16605 });
-1 16606 var result = getResult(results);
-1 16607 if (result) {
-1 16608 result.node = node.actualNode ? new _utils__WEBPACK_IMPORTED_MODULE_2__['DqElement'](node.actualNode, options) : null;
-1 16609 ruleResult.nodes.push(result);
-1 16610 if (_this5.reviewOnFail) {
-1 16611 [ 'any', 'all' ].forEach(function(type) {
-1 16612 result[type].forEach(function(checkResult) {
-1 16613 if (checkResult.result === false) {
-1 16614 checkResult.result = undefined;
-1 16615 }
-1 16616 });
-1 16617 });
-1 16618 result.none.forEach(function(checkResult) {
-1 16619 if (checkResult.result === true) {
-1 16620 checkResult.result = undefined;
-1 16621 }
-1 16622 });
-1 16623 }
-1 16624 }
-1 16625 });
-1 16626 if (options.performanceTimer) {
-1 16627 this._logRulePerformance();
-1 16628 }
-1 16629 return ruleResult;
-1 16630 };
-1 16631 Rule.prototype._trackPerformance = function() {
-1 16632 this._markStart = 'mark_rule_start_' + this.id;
-1 16633 this._markEnd = 'mark_rule_end_' + this.id;
-1 16634 this._markChecksStart = 'mark_runchecks_start_' + this.id;
-1 16635 this._markChecksEnd = 'mark_runchecks_end_' + this.id;
-1 16636 };
-1 16637 Rule.prototype._logGatherPerformance = function(nodes) {
-1 16638 Object(_log__WEBPACK_IMPORTED_MODULE_4__['default'])('gather (', nodes.length, '):', _utils__WEBPACK_IMPORTED_MODULE_2__['performanceTimer'].timeElapsed() + 'ms');
-1 16639 _utils__WEBPACK_IMPORTED_MODULE_2__['performanceTimer'].mark(this._markChecksStart);
-1 16640 };
-1 16641 Rule.prototype._logRulePerformance = function() {
-1 16642 _utils__WEBPACK_IMPORTED_MODULE_2__['performanceTimer'].mark(this._markChecksEnd);
-1 16643 _utils__WEBPACK_IMPORTED_MODULE_2__['performanceTimer'].mark(this._markEnd);
-1 16644 _utils__WEBPACK_IMPORTED_MODULE_2__['performanceTimer'].measure('runchecks_' + this.id, this._markChecksStart, this._markChecksEnd);
-1 16645 _utils__WEBPACK_IMPORTED_MODULE_2__['performanceTimer'].measure('rule_' + this.id, this._markStart, this._markEnd);
-1 16646 };
-1 16647 function getResult(results) {
-1 16648 if (results.length) {
-1 16649 var hasResults = false, result = {};
-1 16650 results.forEach(function(r) {
-1 16651 var res = r.results.filter(function(result) {
-1 16652 return result;
-1 16653 });
-1 16654 result[r.type] = res;
-1 16655 if (res.length) {
-1 16656 hasResults = true;
-1 16657 }
-1 16658 });
-1 16659 if (hasResults) {
-1 16660 return result;
-1 16661 }
-1 16662 return null;
-1 16663 }
-1 16664 }
-1 16665 Rule.prototype.gatherAndMatchNodes = function(context, options) {
-1 16666 var _this6 = this;
-1 16667 var markMatchesStart = 'mark_matches_start_' + this.id;
-1 16668 var markMatchesEnd = 'mark_matches_end_' + this.id;
-1 16669 var nodes = this.gather(context, options);
-1 16670 if (options.performanceTimer) {
-1 16671 _utils__WEBPACK_IMPORTED_MODULE_2__['performanceTimer'].mark(markMatchesStart);
-1 16672 }
-1 16673 nodes = nodes.filter(function(node) {
-1 16674 return _this6.matches(node.actualNode, node, context);
-1 16675 });
-1 16676 if (options.performanceTimer) {
-1 16677 _utils__WEBPACK_IMPORTED_MODULE_2__['performanceTimer'].mark(markMatchesEnd);
-1 16678 _utils__WEBPACK_IMPORTED_MODULE_2__['performanceTimer'].measure('rule_' + this.id + '#matches', markMatchesStart, markMatchesEnd);
-1 16679 }
-1 16680 return nodes;
-1 16681 };
-1 16682 function findAfterChecks(rule) {
-1 16683 return Object(_utils__WEBPACK_IMPORTED_MODULE_2__['getAllChecks'])(rule).map(function(c) {
-1 16684 var check = rule._audit.checks[c.id || c];
-1 16685 return check && typeof check.after === 'function' ? check : null;
-1 16686 }).filter(Boolean);
-1 16687 }
-1 16688 function findCheckResults(nodes, checkID) {
-1 16689 var checkResults = [];
-1 16690 nodes.forEach(function(nodeResult) {
-1 16691 var checks = Object(_utils__WEBPACK_IMPORTED_MODULE_2__['getAllChecks'])(nodeResult);
-1 16692 checks.forEach(function(checkResult) {
-1 16693 if (checkResult.id === checkID) {
-1 16694 checkResults.push(checkResult);
-1 16695 }
-1 16696 });
-1 16697 });
-1 16698 return checkResults;
-1 16699 }
-1 16700 function filterChecks(checks) {
-1 16701 return checks.filter(function(check) {
-1 16702 return check.filtered !== true;
-1 16703 });
-1 16704 }
-1 16705 function sanitizeNodes(result) {
-1 16706 var checkTypes = [ 'any', 'all', 'none' ];
-1 16707 var nodes = result.nodes.filter(function(detail) {
-1 16708 var length = 0;
-1 16709 checkTypes.forEach(function(type) {
-1 16710 detail[type] = filterChecks(detail[type]);
-1 16711 length += detail[type].length;
-1 16712 });
-1 16713 return length > 0;
-1 16714 });
-1 16715 if (result.pageLevel && nodes.length) {
-1 16716 nodes = [ nodes.reduce(function(a, b) {
-1 16717 if (a) {
-1 16718 checkTypes.forEach(function(type) {
-1 16719 a[type].push.apply(a[type], b[type]);
-1 16720 });
-1 16721 return a;
-1 16722 }
-1 16723 }) ];
-1 16724 }
-1 16725 return nodes;
-1 16726 }
-1 16727 Rule.prototype.after = function(result, options) {
-1 16728 var afterChecks = findAfterChecks(this);
-1 16729 var ruleID = this.id;
-1 16730 afterChecks.forEach(function(check) {
-1 16731 var beforeResults = findCheckResults(result.nodes, check.id);
-1 16732 var option = Object(_utils__WEBPACK_IMPORTED_MODULE_2__['getCheckOption'])(check, ruleID, options);
-1 16733 var afterResults = check.after(beforeResults, option);
-1 16734 beforeResults.forEach(function(item) {
-1 16735 if (afterResults.indexOf(item) === -1) {
-1 16736 item.filtered = true;
-1 16737 }
-1 16738 });
-1 16739 });
-1 16740 result.nodes = sanitizeNodes(result);
-1 16741 return result;
-1 16742 };
-1 16743 Rule.prototype.configure = function(spec) {
-1 16744 if (spec.hasOwnProperty('selector')) {
-1 16745 this.selector = spec.selector;
-1 16746 }
-1 16747 if (spec.hasOwnProperty('excludeHidden')) {
-1 16748 this.excludeHidden = typeof spec.excludeHidden === 'boolean' ? spec.excludeHidden : true;
-1 16749 }
-1 16750 if (spec.hasOwnProperty('enabled')) {
-1 16751 this.enabled = typeof spec.enabled === 'boolean' ? spec.enabled : true;
-1 16752 }
-1 16753 if (spec.hasOwnProperty('pageLevel')) {
-1 16754 this.pageLevel = typeof spec.pageLevel === 'boolean' ? spec.pageLevel : false;
-1 16755 }
-1 16756 if (spec.hasOwnProperty('reviewOnFail')) {
-1 16757 this.reviewOnFail = typeof spec.reviewOnFail === 'boolean' ? spec.reviewOnFail : false;
-1 16758 }
-1 16759 if (spec.hasOwnProperty('any')) {
-1 16760 this.any = spec.any;
-1 16761 }
-1 16762 if (spec.hasOwnProperty('all')) {
-1 16763 this.all = spec.all;
-1 16764 }
-1 16765 if (spec.hasOwnProperty('none')) {
-1 16766 this.none = spec.none;
-1 16767 }
-1 16768 if (spec.hasOwnProperty('tags')) {
-1 16769 this.tags = spec.tags;
-1 16770 }
-1 16771 if (spec.hasOwnProperty('matches')) {
-1 16772 this.matches = Object(_check__WEBPACK_IMPORTED_MODULE_0__['createExecutionContext'])(spec.matches);
-1 16773 }
-1 16774 if (spec.impact) {
-1 16775 Object(_utils__WEBPACK_IMPORTED_MODULE_2__['assert'])(_constants__WEBPACK_IMPORTED_MODULE_3__['default'].impact.includes(spec.impact), 'Impact '.concat(spec.impact, ' is not a valid impact'));
-1 16776 this.impact = spec.impact;
-1 16777 }
-1 16778 };
-1 16779 __webpack_exports__['default'] = Rule;
-1 16780 },
-1 16781 './lib/core/base/virtual-node/abstract-virtual-node.js': function libCoreBaseVirtualNodeAbstractVirtualNodeJs(module, __webpack_exports__, __webpack_require__) {
-1 16782 'use strict';
-1 16783 __webpack_require__.r(__webpack_exports__);
-1 16784 var whitespaceRegex = /[\t\r\n\f]/g;
-1 16785 var AbstractVirtualNode = function() {
-1 16786 function AbstractVirtualNode() {
-1 16787 _classCallCheck(this, AbstractVirtualNode);
-1 16788 this.parent = undefined;
-1 16789 }
-1 16790 _createClass(AbstractVirtualNode, [ {
-1 16791 key: 'attr',
-1 16792 value: function attr() {
-1 16793 throw new Error('VirtualNode class must have a "attr" function');
-1 16794 }
-1 16795 }, {
-1 16796 key: 'hasAttr',
-1 16797 value: function hasAttr() {
-1 16798 throw new Error('VirtualNode class must have a "hasAttr" function');
-1 16799 }
-1 16800 }, {
-1 16801 key: 'hasClass',
-1 16802 value: function hasClass(className) {
-1 16803 var classAttr = this.attr('class');
-1 16804 if (!classAttr) {
-1 16805 return false;
-1 16806 }
-1 16807 var selector = ' ' + className + ' ';
-1 16808 return (' ' + classAttr + ' ').replace(whitespaceRegex, ' ').indexOf(selector) >= 0;
-1 16809 }
-1 16810 }, {
-1 16811 key: 'props',
-1 16812 get: function get() {
-1 16813 throw new Error('VirtualNode class must have a "props" object consisting ' + 'of "nodeType" and "nodeName" properties');
-1 16814 }
-1 16815 } ]);
-1 16816 return AbstractVirtualNode;
-1 16817 }();
-1 16818 __webpack_exports__['default'] = AbstractVirtualNode;
-1 16819 },
-1 16820 './lib/core/base/virtual-node/serial-virtual-node.js': function libCoreBaseVirtualNodeSerialVirtualNodeJs(module, __webpack_exports__, __webpack_require__) {
-1 16821 'use strict';
-1 16822 __webpack_require__.r(__webpack_exports__);
-1 16823 var _abstract_virtual_node__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/core/base/virtual-node/abstract-virtual-node.js');
-1 16824 var _utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/core/utils/index.js');
-1 16825 var SerialVirtualNode = function(_abstract_virtual_nod) {
-1 16826 _inherits(SerialVirtualNode, _abstract_virtual_nod);
-1 16827 var _super = _createSuper(SerialVirtualNode);
-1 16828 function SerialVirtualNode(serialNode) {
-1 16829 var _this7;
-1 16830 _classCallCheck(this, SerialVirtualNode);
-1 16831 _this7 = _super.call(this);
-1 16832 _this7._props = normaliseProps(serialNode);
-1 16833 _this7._attrs = normaliseAttrs(serialNode);
-1 16834 return _this7;
-1 16835 }
-1 16836 _createClass(SerialVirtualNode, [ {
-1 16837 key: 'attr',
-1 16838 value: function attr(attrName) {
-1 16839 return this._attrs[attrName] || null;
-1 16840 }
-1 16841 }, {
-1 16842 key: 'hasAttr',
-1 16843 value: function hasAttr(attrName) {
-1 16844 return this._attrs[attrName] !== undefined;
-1 16845 }
-1 16846 }, {
-1 16847 key: 'props',
-1 16848 get: function get() {
-1 16849 return this._props;
-1 16850 }
-1 16851 } ]);
-1 16852 return SerialVirtualNode;
-1 16853 }(_abstract_virtual_node__WEBPACK_IMPORTED_MODULE_0__['default']);
-1 16854 function normaliseProps(serialNode) {
-1 16855 var nodeName = serialNode.nodeName, _serialNode$nodeType = serialNode.nodeType, nodeType = _serialNode$nodeType === void 0 ? 1 : _serialNode$nodeType;
-1 16856 Object(_utils__WEBPACK_IMPORTED_MODULE_1__['assert'])(typeof nodeType === 'number', 'nodeType has to be a number, got \''.concat(nodeType, '\''));
-1 16857 Object(_utils__WEBPACK_IMPORTED_MODULE_1__['assert'])(typeof nodeName === 'string', 'nodeName has to be a string, got \''.concat(nodeName, '\''));
-1 16858 nodeName = nodeName.toLowerCase();
-1 16859 var type = null;
-1 16860 if (nodeName === 'input') {
-1 16861 type = (serialNode.type || serialNode.attributes && serialNode.attributes.type || '').toLowerCase();
-1 16862 if (!Object(_utils__WEBPACK_IMPORTED_MODULE_1__['validInputTypes'])().includes(type)) {
-1 16863 type = 'text';
-1 16864 }
-1 16865 }
-1 16866 var props = _extends({}, serialNode, {
-1 16867 nodeType: nodeType,
-1 16868 nodeName: nodeName
-1 16869 });
-1 16870 if (type) {
-1 16871 props.type = type;
-1 16872 }
-1 16873 delete props.attributes;
-1 16874 return Object.freeze(props);
-1 16875 }
-1 16876 function normaliseAttrs(_ref54) {
-1 16877 var _ref54$attributes = _ref54.attributes, attributes = _ref54$attributes === void 0 ? {} : _ref54$attributes;
-1 16878 var attrMap = {
-1 16879 htmlFor: 'for',
-1 16880 className: 'class'
-1 16881 };
-1 16882 return Object.keys(attributes).reduce(function(attrs, attrName) {
-1 16883 var value = attributes[attrName];
-1 16884 Object(_utils__WEBPACK_IMPORTED_MODULE_1__['assert'])(_typeof(value) !== 'object' || value === null, 'expects attributes not to be an object, \''.concat(attrName, '\' was'));
-1 16885 if (value !== undefined) {
-1 16886 var mappedName = attrMap[attrName] || attrName;
-1 16887 attrs[mappedName] = value !== null ? String(value) : null;
-1 16888 }
-1 16889 return attrs;
-1 16890 }, {});
-1 16891 }
-1 16892 __webpack_exports__['default'] = SerialVirtualNode;
-1 16893 },
-1 16894 './lib/core/base/virtual-node/virtual-node.js': function libCoreBaseVirtualNodeVirtualNodeJs(module, __webpack_exports__, __webpack_require__) {
-1 16895 'use strict';
-1 16896 __webpack_require__.r(__webpack_exports__);
-1 16897 var _abstract_virtual_node__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/core/base/virtual-node/abstract-virtual-node.js');
-1 16898 var _utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/core/utils/index.js');
-1 16899 var _commons_dom__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__('./lib/commons/dom/index.js');
-1 16900 var _cache__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__('./lib/core/base/cache.js');
-1 16901 var isXHTMLGlobal;
-1 16902 var VirtualNode = function(_abstract_virtual_nod2) {
-1 16903 _inherits(VirtualNode, _abstract_virtual_nod2);
-1 16904 var _super2 = _createSuper(VirtualNode);
-1 16905 function VirtualNode(node, parent, shadowId) {
-1 16906 var _this8;
-1 16907 _classCallCheck(this, VirtualNode);
-1 16908 _this8 = _super2.call(this);
-1 16909 _this8.shadowId = shadowId;
-1 16910 _this8.children = [];
-1 16911 _this8.actualNode = node;
-1 16912 _this8.parent = parent;
-1 16913 _this8._isHidden = null;
-1 16914 _this8._cache = {};
-1 16915 if (typeof isXHTMLGlobal === 'undefined') {
-1 16916 isXHTMLGlobal = Object(_utils__WEBPACK_IMPORTED_MODULE_1__['isXHTML'])(node.ownerDocument);
-1 16917 }
-1 16918 _this8._isXHTML = isXHTMLGlobal;
-1 16919 if (node.nodeName.toLowerCase() === 'input') {
-1 16920 var type = node.getAttribute('type');
-1 16921 type = _this8._isXHTML ? type : (type || '').toLowerCase();
-1 16922 if (!Object(_utils__WEBPACK_IMPORTED_MODULE_1__['validInputTypes'])().includes(type)) {
-1 16923 type = 'text';
-1 16924 }
-1 16925 _this8._type = type;
-1 16926 }
-1 16927 if (_cache__WEBPACK_IMPORTED_MODULE_3__['default'].get('nodeMap')) {
-1 16928 _cache__WEBPACK_IMPORTED_MODULE_3__['default'].get('nodeMap').set(node, _assertThisInitialized(_this8));
-1 16929 }
-1 16930 return _this8;
-1 16931 }
-1 16932 _createClass(VirtualNode, [ {
-1 16933 key: 'attr',
-1 16934 value: function attr(attrName) {
-1 16935 if (typeof this.actualNode.getAttribute !== 'function') {
-1 16936 return null;
-1 16937 }
-1 16938 return this.actualNode.getAttribute(attrName);
-1 16939 }
-1 16940 }, {
-1 16941 key: 'hasAttr',
-1 16942 value: function hasAttr(attrName) {
-1 16943 if (typeof this.actualNode.hasAttribute !== 'function') {
-1 16944 return false;
-1 16945 }
-1 16946 return this.actualNode.hasAttribute(attrName);
-1 16947 }
-1 16948 }, {
-1 16949 key: 'getComputedStylePropertyValue',
-1 16950 value: function getComputedStylePropertyValue(property) {
-1 16951 var key = 'computedStyle_' + property;
-1 16952 if (!this._cache.hasOwnProperty(key)) {
-1 16953 if (!this._cache.hasOwnProperty('computedStyle')) {
-1 16954 this._cache.computedStyle = window.getComputedStyle(this.actualNode);
-1 16955 }
-1 16956 this._cache[key] = this._cache.computedStyle.getPropertyValue(property);
-1 16957 }
-1 16958 return this._cache[key];
-1 16959 }
-1 16960 }, {
-1 16961 key: 'props',
-1 16962 get: function get() {
-1 16963 var _this$actualNode = this.actualNode, nodeType = _this$actualNode.nodeType, nodeName = _this$actualNode.nodeName, id = _this$actualNode.id, multiple = _this$actualNode.multiple, nodeValue = _this$actualNode.nodeValue, value = _this$actualNode.value;
-1 16964 return {
-1 16965 nodeType: nodeType,
-1 16966 nodeName: this._isXHTML ? nodeName : nodeName.toLowerCase(),
-1 16967 id: id,
-1 16968 type: this._type,
-1 16969 multiple: multiple,
-1 16970 nodeValue: nodeValue,
-1 16971 value: value
-1 16972 };
-1 16973 }
-1 16974 }, {
-1 16975 key: 'isFocusable',
-1 16976 get: function get() {
-1 16977 if (!this._cache.hasOwnProperty('isFocusable')) {
-1 16978 this._cache.isFocusable = Object(_commons_dom__WEBPACK_IMPORTED_MODULE_2__['isFocusable'])(this.actualNode);
-1 16979 }
-1 16980 return this._cache.isFocusable;
-1 16981 }
-1 16982 }, {
-1 16983 key: 'tabbableElements',
-1 16984 get: function get() {
-1 16985 if (!this._cache.hasOwnProperty('tabbableElements')) {
-1 16986 this._cache.tabbableElements = Object(_commons_dom__WEBPACK_IMPORTED_MODULE_2__['getTabbableElements'])(this);
-1 16987 }
-1 16988 return this._cache.tabbableElements;
-1 16989 }
-1 16990 }, {
-1 16991 key: 'clientRects',
-1 16992 get: function get() {
-1 16993 if (!this._cache.hasOwnProperty('clientRects')) {
-1 16994 this._cache.clientRects = Array.from(this.actualNode.getClientRects()).filter(function(rect) {
-1 16995 return rect.width > 0;
-1 16996 });
-1 16997 }
-1 16998 return this._cache.clientRects;
-1 16999 }
-1 17000 }, {
-1 17001 key: 'boundingClientRect',
-1 17002 get: function get() {
-1 17003 if (!this._cache.hasOwnProperty('boundingClientRect')) {
-1 17004 this._cache.boundingClientRect = this.actualNode.getBoundingClientRect();
-1 17005 }
-1 17006 return this._cache.boundingClientRect;
-1 17007 }
-1 17008 } ]);
-1 17009 return VirtualNode;
-1 17010 }(_abstract_virtual_node__WEBPACK_IMPORTED_MODULE_0__['default']);
-1 17011 __webpack_exports__['default'] = VirtualNode;
-1 17012 },
-1 17013 './lib/core/constants.js': function libCoreConstantsJs(module, __webpack_exports__, __webpack_require__) {
-1 17014 'use strict';
-1 17015 __webpack_require__.r(__webpack_exports__);
-1 17016 var definitions = [ {
-1 17017 name: 'NA',
-1 17018 value: 'inapplicable',
-1 17019 priority: 0,
-1 17020 group: 'inapplicable'
-1 17021 }, {
-1 17022 name: 'PASS',
-1 17023 value: 'passed',
-1 17024 priority: 1,
-1 17025 group: 'passes'
-1 17026 }, {
-1 17027 name: 'CANTTELL',
-1 17028 value: 'cantTell',
-1 17029 priority: 2,
-1 17030 group: 'incomplete'
-1 17031 }, {
-1 17032 name: 'FAIL',
-1 17033 value: 'failed',
-1 17034 priority: 3,
-1 17035 group: 'violations'
-1 17036 } ];
-1 17037 var constants = {
-1 17038 helpUrlBase: 'https://dequeuniversity.com/rules/',
-1 17039 results: [],
-1 17040 resultGroups: [],
-1 17041 resultGroupMap: {},
-1 17042 impact: Object.freeze([ 'minor', 'moderate', 'serious', 'critical' ]),
-1 17043 preload: Object.freeze({
-1 17044 assets: [ 'cssom', 'media' ],
-1 17045 timeout: 1e4
-1 17046 })
-1 17047 };
-1 17048 definitions.forEach(function(definition) {
-1 17049 var name = definition.name;
-1 17050 var value = definition.value;
-1 17051 var priority = definition.priority;
-1 17052 var group = definition.group;
-1 17053 constants[name] = value;
-1 17054 constants[name + '_PRIO'] = priority;
-1 17055 constants[name + '_GROUP'] = group;
-1 17056 constants.results[priority] = value;
-1 17057 constants.resultGroups[priority] = group;
-1 17058 constants.resultGroupMap[value] = group;
-1 17059 });
-1 17060 Object.freeze(constants.results);
-1 17061 Object.freeze(constants.resultGroups);
-1 17062 Object.freeze(constants.resultGroupMap);
-1 17063 Object.freeze(constants);
-1 17064 __webpack_exports__['default'] = constants;
-1 17065 },
-1 17066 './lib/core/core.js': function libCoreCoreJs(module, __webpack_exports__, __webpack_require__) {
-1 17067 'use strict';
-1 17068 __webpack_require__.r(__webpack_exports__);
-1 17069 var _constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/core/constants.js');
-1 17070 var _log__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/core/log.js');
-1 17071 var _base_virtual_node_abstract_virtual_node__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__('./lib/core/base/virtual-node/abstract-virtual-node.js');
-1 17072 var _base_virtual_node_serial_virtual_node__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__('./lib/core/base/virtual-node/serial-virtual-node.js');
-1 17073 var _base_virtual_node_virtual_node__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__('./lib/core/base/virtual-node/virtual-node.js');
-1 17074 var _base_cache__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__('./lib/core/base/cache.js');
-1 17075 var _base_audit__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__('./lib/core/base/audit.js');
-1 17076 var _base_check_result__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__('./lib/core/base/check-result.js');
-1 17077 var _base_check__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__('./lib/core/base/check.js');
-1 17078 var _base_context__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__('./lib/core/base/context.js');
-1 17079 var _base_metadata_function_map__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__('./lib/core/base/metadata-function-map.js');
-1 17080 var _base_rule_result__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__('./lib/core/base/rule-result.js');
-1 17081 var _base_rule__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__('./lib/core/base/rule.js');
-1 17082 var _imports__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__('./lib/core/imports/index.js');
-1 17083 var _public_cleanup__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__('./lib/core/public/cleanup.js');
-1 17084 var _public_configure__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__('./lib/core/public/configure.js');
-1 17085 var _public_get_rules__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__('./lib/core/public/get-rules.js');
-1 17086 var _public_load__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__('./lib/core/public/load.js');
-1 17087 var _public_plugins__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__('./lib/core/public/plugins.js');
-1 17088 var _public_reporter__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__('./lib/core/public/reporter.js');
-1 17089 var _public_reset__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__('./lib/core/public/reset.js');
-1 17090 var _public_run_rules__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__('./lib/core/public/run-rules.js');
-1 17091 var _public_run_virtual_rule__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__('./lib/core/public/run-virtual-rule.js');
-1 17092 var _public_run__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__('./lib/core/public/run.js');
-1 17093 var _reporters_na__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__('./lib/core/reporters/na.js');
-1 17094 var _reporters_no_passes__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__('./lib/core/reporters/no-passes.js');
-1 17095 var _reporters_raw_env__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__('./lib/core/reporters/raw-env.js');
-1 17096 var _reporters_raw__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__('./lib/core/reporters/raw.js');
-1 17097 var _reporters_v1__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__('./lib/core/reporters/v1.js');
-1 17098 var _reporters_v2__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__('./lib/core/reporters/v2.js');
-1 17099 var _commons__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__('./lib/commons/index.js');
-1 17100 var _utils__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__('./lib/core/utils/index.js');
-1 17101 axe.constants = _constants__WEBPACK_IMPORTED_MODULE_0__['default'];
-1 17102 axe.log = _log__WEBPACK_IMPORTED_MODULE_1__['default'];
-1 17103 axe.AbstractVirtualNode = _base_virtual_node_abstract_virtual_node__WEBPACK_IMPORTED_MODULE_2__['default'];
-1 17104 axe.SerialVirtualNode = _base_virtual_node_serial_virtual_node__WEBPACK_IMPORTED_MODULE_3__['default'];
-1 17105 axe.VirtualNode = _base_virtual_node_virtual_node__WEBPACK_IMPORTED_MODULE_4__['default'];
-1 17106 axe._cache = _base_cache__WEBPACK_IMPORTED_MODULE_5__['default'];
-1 17107 axe._thisWillBeDeletedDoNotUse = axe._thisWillBeDeletedDoNotUse || {};
-1 17108 axe._thisWillBeDeletedDoNotUse.base = {
-1 17109 Audit: _base_audit__WEBPACK_IMPORTED_MODULE_6__['default'],
-1 17110 CheckResult: _base_check_result__WEBPACK_IMPORTED_MODULE_7__['default'],
-1 17111 Check: _base_check__WEBPACK_IMPORTED_MODULE_8__['default'],
-1 17112 Context: _base_context__WEBPACK_IMPORTED_MODULE_9__['default'],
-1 17113 RuleResult: _base_rule_result__WEBPACK_IMPORTED_MODULE_11__['default'],
-1 17114 Rule: _base_rule__WEBPACK_IMPORTED_MODULE_12__['default'],
-1 17115 metadataFunctionMap: _base_metadata_function_map__WEBPACK_IMPORTED_MODULE_10__['default']
-1 17116 };
-1 17117 axe.imports = _imports__WEBPACK_IMPORTED_MODULE_13__;
-1 17118 axe.cleanup = _public_cleanup__WEBPACK_IMPORTED_MODULE_14__['default'];
-1 17119 axe.configure = _public_configure__WEBPACK_IMPORTED_MODULE_15__['default'];
-1 17120 axe.getRules = _public_get_rules__WEBPACK_IMPORTED_MODULE_16__['default'];
-1 17121 axe._load = _public_load__WEBPACK_IMPORTED_MODULE_17__['default'];
-1 17122 axe.plugins = {};
-1 17123 axe.registerPlugin = _public_plugins__WEBPACK_IMPORTED_MODULE_18__['default'];
-1 17124 axe.hasReporter = _public_reporter__WEBPACK_IMPORTED_MODULE_19__['hasReporter'];
-1 17125 axe.getReporter = _public_reporter__WEBPACK_IMPORTED_MODULE_19__['getReporter'];
-1 17126 axe.addReporter = _public_reporter__WEBPACK_IMPORTED_MODULE_19__['addReporter'];
-1 17127 axe.reset = _public_reset__WEBPACK_IMPORTED_MODULE_20__['default'];
-1 17128 axe._runRules = _public_run_rules__WEBPACK_IMPORTED_MODULE_21__['default'];
-1 17129 axe.runVirtualRule = _public_run_virtual_rule__WEBPACK_IMPORTED_MODULE_22__['default'];
-1 17130 axe.run = _public_run__WEBPACK_IMPORTED_MODULE_23__['default'];
-1 17131 axe.commons = _commons__WEBPACK_IMPORTED_MODULE_30__;
-1 17132 axe.utils = _utils__WEBPACK_IMPORTED_MODULE_31__;
-1 17133 axe.addReporter('na', _reporters_na__WEBPACK_IMPORTED_MODULE_24__['default']);
-1 17134 axe.addReporter('no-passes', _reporters_no_passes__WEBPACK_IMPORTED_MODULE_25__['default']);
-1 17135 axe.addReporter('rawEnv', _reporters_raw_env__WEBPACK_IMPORTED_MODULE_26__['default']);
-1 17136 axe.addReporter('raw', _reporters_raw__WEBPACK_IMPORTED_MODULE_27__['default']);
-1 17137 axe.addReporter('v1', _reporters_v1__WEBPACK_IMPORTED_MODULE_28__['default']);
-1 17138 axe.addReporter('v2', _reporters_v2__WEBPACK_IMPORTED_MODULE_29__['default'], true);
-1 17139 },
-1 17140 './lib/core/imports/index.js': function libCoreImportsIndexJs(module, __webpack_exports__, __webpack_require__) {
-1 17141 'use strict';
-1 17142 __webpack_require__.r(__webpack_exports__);
-1 17143 var axios__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./node_modules/axios/index.js');
-1 17144 var axios__WEBPACK_IMPORTED_MODULE_0___default = __webpack_require__.n(axios__WEBPACK_IMPORTED_MODULE_0__);
-1 17145 __webpack_require__.d(__webpack_exports__, 'axios', function() {
-1 17146 return axios__WEBPACK_IMPORTED_MODULE_0___default.a;
-1 17147 });
-1 17148 var css_selector_parser__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./node_modules/css-selector-parser/lib/index.js');
-1 17149 var css_selector_parser__WEBPACK_IMPORTED_MODULE_1___default = __webpack_require__.n(css_selector_parser__WEBPACK_IMPORTED_MODULE_1__);
-1 17150 __webpack_require__.d(__webpack_exports__, 'CssSelectorParser', function() {
-1 17151 return css_selector_parser__WEBPACK_IMPORTED_MODULE_1__['CssSelectorParser'];
-1 17152 });
-1 17153 var _deque_dot__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__('./node_modules/@deque/dot/doT.js');
-1 17154 var _deque_dot__WEBPACK_IMPORTED_MODULE_2___default = __webpack_require__.n(_deque_dot__WEBPACK_IMPORTED_MODULE_2__);
-1 17155 __webpack_require__.d(__webpack_exports__, 'doT', function() {
-1 17156 return _deque_dot__WEBPACK_IMPORTED_MODULE_2___default.a;
-1 17157 });
-1 17158 var emoji_regex__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__('./node_modules/emoji-regex/index.js');
-1 17159 var emoji_regex__WEBPACK_IMPORTED_MODULE_3___default = __webpack_require__.n(emoji_regex__WEBPACK_IMPORTED_MODULE_3__);
-1 17160 __webpack_require__.d(__webpack_exports__, 'emojiRegexText', function() {
-1 17161 return emoji_regex__WEBPACK_IMPORTED_MODULE_3___default.a;
-1 17162 });
-1 17163 var memoizee__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__('./node_modules/memoizee/index.js');
-1 17164 var memoizee__WEBPACK_IMPORTED_MODULE_4___default = __webpack_require__.n(memoizee__WEBPACK_IMPORTED_MODULE_4__);
-1 17165 __webpack_require__.d(__webpack_exports__, 'memoize', function() {
-1 17166 return memoizee__WEBPACK_IMPORTED_MODULE_4___default.a;
-1 17167 });
-1 17168 var core_js_pure_features_promise__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__('./node_modules/core-js-pure/features/promise/index.js');
-1 17169 var core_js_pure_features_promise__WEBPACK_IMPORTED_MODULE_5___default = __webpack_require__.n(core_js_pure_features_promise__WEBPACK_IMPORTED_MODULE_5__);
-1 17170 var core_js_pure_features_typed_array_uint32_array__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__('./node_modules/core-js-pure/features/typed-array/uint32-array.js');
-1 17171 var core_js_pure_features_typed_array_uint32_array__WEBPACK_IMPORTED_MODULE_6___default = __webpack_require__.n(core_js_pure_features_typed_array_uint32_array__WEBPACK_IMPORTED_MODULE_6__);
-1 17172 var core_js_pure_es_weak_map__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__('./node_modules/core-js-pure/es/weak-map/index.js');
-1 17173 var core_js_pure_es_weak_map__WEBPACK_IMPORTED_MODULE_7___default = __webpack_require__.n(core_js_pure_es_weak_map__WEBPACK_IMPORTED_MODULE_7__);
-1 17174 if (!('WeakMap' in window)) {
-1 17175 window.WeakMap = core_js_pure_es_weak_map__WEBPACK_IMPORTED_MODULE_7___default.a;
-1 17176 }
-1 17177 if (!('Promise' in window)) {
-1 17178 window.Promise = core_js_pure_features_promise__WEBPACK_IMPORTED_MODULE_5___default.a;
-1 17179 }
-1 17180 if (!('Uint32Array' in window)) {
-1 17181 window.Uint32Array = core_js_pure_features_typed_array_uint32_array__WEBPACK_IMPORTED_MODULE_6___default.a;
-1 17182 }
-1 17183 if (window.Uint32Array) {
-1 17184 if (!('some' in window.Uint32Array.prototype)) {
-1 17185 Object.defineProperty(window.Uint32Array.prototype, 'some', {
-1 17186 value: Array.prototype.some
-1 17187 });
-1 17188 }
-1 17189 if (!('reduce' in window.Uint32Array.prototype)) {
-1 17190 Object.defineProperty(window.Uint32Array.prototype, 'reduce', {
-1 17191 value: Array.prototype.reduce
-1 17192 });
-1 17193 }
-1 17194 }
-1 17195 },
-1 17196 './lib/core/log.js': function libCoreLogJs(module, __webpack_exports__, __webpack_require__) {
-1 17197 'use strict';
-1 17198 __webpack_require__.r(__webpack_exports__);
-1 17199 function log() {
-1 17200 'use strict';
-1 17201 if ((typeof console === 'undefined' ? 'undefined' : _typeof(console)) === 'object' && console.log) {
-1 17202 Function.prototype.apply.call(console.log, console, arguments);
-1 17203 }
-1 17204 }
-1 17205 __webpack_exports__['default'] = log;
-1 17206 },
-1 17207 './lib/core/public/cleanup.js': function libCorePublicCleanupJs(module, __webpack_exports__, __webpack_require__) {
-1 17208 'use strict';
-1 17209 __webpack_require__.r(__webpack_exports__);
-1 17210 function cleanup(resolve, reject) {
-1 17211 'use strict';
-1 17212 resolve = resolve || function() {};
-1 17213 reject = reject || axe.log;
-1 17214 if (!axe._audit) {
-1 17215 throw new Error('No audit configured');
-1 17216 }
-1 17217 var q = axe.utils.queue();
-1 17218 var cleanupErrors = [];
-1 17219 Object.keys(axe.plugins).forEach(function(key) {
-1 17220 q.defer(function(res) {
-1 17221 var rej = function rej(err) {
-1 17222 cleanupErrors.push(err);
-1 17223 res();
-1 17224 };
-1 17225 try {
-1 17226 axe.plugins[key].cleanup(res, rej);
-1 17227 } catch (err) {
-1 17228 rej(err);
-1 17229 }
-1 17230 });
-1 17231 });
-1 17232 var flattenedTree = axe.utils.getFlattenedTree(document.body);
-1 17233 axe.utils.querySelectorAll(flattenedTree, 'iframe, frame').forEach(function(node) {
-1 17234 q.defer(function(res, rej) {
-1 17235 return axe.utils.sendCommandToFrame(node.actualNode, {
-1 17236 command: 'cleanup-plugin'
-1 17237 }, res, rej);
-1 17238 });
-1 17239 });
-1 17240 q.then(function(results) {
-1 17241 if (cleanupErrors.length === 0) {
-1 17242 resolve(results);
-1 17243 } else {
-1 17244 reject(cleanupErrors);
-1 17245 }
-1 17246 })['catch'](reject);
-1 17247 }
-1 17248 __webpack_exports__['default'] = cleanup;
-1 17249 },
-1 17250 './lib/core/public/configure.js': function libCorePublicConfigureJs(module, __webpack_exports__, __webpack_require__) {
-1 17251 'use strict';
-1 17252 __webpack_require__.r(__webpack_exports__);
-1 17253 var _reporter__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/core/public/reporter.js');
-1 17254 var _standards__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/standards/index.js');
-1 17255 function configure(spec) {
-1 17256 'use strict';
-1 17257 var audit;
-1 17258 audit = axe._audit;
-1 17259 if (!audit) {
-1 17260 throw new Error('No audit configured');
-1 17261 }
-1 17262 if (spec.axeVersion || spec.ver) {
-1 17263 var specVersion = spec.axeVersion || spec.ver;
-1 17264 if (!/^\d+\.\d+\.\d+(-canary)?/.test(specVersion)) {
-1 17265 throw new Error('Invalid configured version '.concat(specVersion));
-1 17266 }
-1 17267 var _specVersion$split = specVersion.split('-'), _specVersion$split2 = _slicedToArray(_specVersion$split, 2), version = _specVersion$split2[0], canary = _specVersion$split2[1];
-1 17268 var _version$split$map = version.split('.').map(Number), _version$split$map2 = _slicedToArray(_version$split$map, 3), major = _version$split$map2[0], minor = _version$split$map2[1], patch = _version$split$map2[2];
-1 17269 var _axe$version$split = axe.version.split('-'), _axe$version$split2 = _slicedToArray(_axe$version$split, 2), axeVersion = _axe$version$split2[0], axeCanary = _axe$version$split2[1];
-1 17270 var _axeVersion$split$map = axeVersion.split('.').map(Number), _axeVersion$split$map2 = _slicedToArray(_axeVersion$split$map, 3), axeMajor = _axeVersion$split$map2[0], axeMinor = _axeVersion$split$map2[1], axePatch = _axeVersion$split$map2[2];
-1 17271 if (major !== axeMajor || axeMinor < minor || axeMinor === minor && axePatch < patch || major === axeMajor && minor === axeMinor && patch === axePatch && canary && canary !== axeCanary) {
-1 17272 throw new Error('Configured version '.concat(specVersion, ' is not compatible with current axe version ').concat(axe.version));
-1 17273 }
-1 17274 }
-1 17275 if (spec.reporter && (typeof spec.reporter === 'function' || Object(_reporter__WEBPACK_IMPORTED_MODULE_0__['hasReporter'])(spec.reporter))) {
-1 17276 audit.reporter = spec.reporter;
-1 17277 }
-1 17278 if (spec.checks) {
-1 17279 if (!Array.isArray(spec.checks)) {
-1 17280 throw new TypeError('Checks property must be an array');
-1 17281 }
-1 17282 spec.checks.forEach(function(check) {
-1 17283 if (!check.id) {
-1 17284 throw new TypeError('Configured check '.concat(JSON.stringify(check), ' is invalid. Checks must be an object with at least an id property'));
-1 17285 }
-1 17286 audit.addCheck(check);
-1 17287 });
-1 17288 }
-1 17289 var modifiedRules = [];
-1 17290 if (spec.rules) {
-1 17291 if (!Array.isArray(spec.rules)) {
-1 17292 throw new TypeError('Rules property must be an array');
-1 17293 }
-1 17294 spec.rules.forEach(function(rule) {
-1 17295 if (!rule.id) {
-1 17296 throw new TypeError('Configured rule '.concat(JSON.stringify(rule), ' is invalid. Rules must be an object with at least an id property'));
-1 17297 }
-1 17298 modifiedRules.push(rule.id);
-1 17299 audit.addRule(rule);
-1 17300 });
-1 17301 }
-1 17302 if (spec.disableOtherRules) {
-1 17303 audit.rules.forEach(function(rule) {
-1 17304 if (modifiedRules.includes(rule.id) === false) {
-1 17305 rule.enabled = false;
-1 17306 }
-1 17307 });
-1 17308 }
-1 17309 if (typeof spec.branding !== 'undefined') {
-1 17310 audit.setBranding(spec.branding);
-1 17311 } else {
-1 17312 audit._constructHelpUrls();
-1 17313 }
-1 17314 if (spec.tagExclude) {
-1 17315 audit.tagExclude = spec.tagExclude;
-1 17316 }
-1 17317 if (spec.locale) {
-1 17318 audit.applyLocale(spec.locale);
-1 17319 }
-1 17320 if (spec.standards) {
-1 17321 Object(_standards__WEBPACK_IMPORTED_MODULE_1__['configureStandards'])(spec.standards);
-1 17322 }
-1 17323 }
-1 17324 __webpack_exports__['default'] = configure;
-1 17325 },
-1 17326 './lib/core/public/get-rules.js': function libCorePublicGetRulesJs(module, __webpack_exports__, __webpack_require__) {
-1 17327 'use strict';
-1 17328 __webpack_require__.r(__webpack_exports__);
-1 17329 function getRules(tags) {
-1 17330 'use strict';
-1 17331 tags = tags || [];
-1 17332 var matchingRules = !tags.length ? axe._audit.rules : axe._audit.rules.filter(function(item) {
-1 17333 return !!tags.filter(function(tag) {
-1 17334 return item.tags.indexOf(tag) !== -1;
-1 17335 }).length;
-1 17336 });
-1 17337 var ruleData = axe._audit.data.rules || {};
-1 17338 return matchingRules.map(function(matchingRule) {
-1 17339 var rd = ruleData[matchingRule.id] || {};
-1 17340 return {
-1 17341 ruleId: matchingRule.id,
-1 17342 description: rd.description,
-1 17343 help: rd.help,
-1 17344 helpUrl: rd.helpUrl,
-1 17345 tags: matchingRule.tags
-1 17346 };
-1 17347 });
-1 17348 }
-1 17349 __webpack_exports__['default'] = getRules;
-1 17350 },
-1 17351 './lib/core/public/load.js': function libCorePublicLoadJs(module, __webpack_exports__, __webpack_require__) {
-1 17352 'use strict';
-1 17353 __webpack_require__.r(__webpack_exports__);
-1 17354 var _base_audit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/core/base/audit.js');
-1 17355 var _cleanup__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/core/public/cleanup.js');
-1 17356 var _run_rules__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__('./lib/core/public/run-rules.js');
-1 17357 function runCommand(data, keepalive, callback) {
-1 17358 'use strict';
-1 17359 var resolve = callback;
-1 17360 var reject = function reject(err) {
-1 17361 if (err instanceof Error === false) {
-1 17362 err = new Error(err);
-1 17363 }
-1 17364 callback(err);
-1 17365 };
-1 17366 var context = data && data.context || {};
-1 17367 if (context.hasOwnProperty('include') && !context.include.length) {
-1 17368 context.include = [ document ];
-1 17369 }
-1 17370 var options = data && data.options || {};
-1 17371 switch (data.command) {
-1 17372 case 'rules':
-1 17373 return Object(_run_rules__WEBPACK_IMPORTED_MODULE_2__['default'])(context, options, function(results, cleanup) {
-1 17374 resolve(results);
-1 17375 cleanup();
-1 17376 }, reject);
-1 17377
-1 17378 case 'cleanup-plugin':
-1 17379 return Object(_cleanup__WEBPACK_IMPORTED_MODULE_1__['default'])(resolve, reject);
-1 17380
-1 17381 default:
-1 17382 if (axe._audit && axe._audit.commands && axe._audit.commands[data.command]) {
-1 17383 return axe._audit.commands[data.command](data, callback);
-1 17384 }
-1 17385 }
-1 17386 }
-1 17387 function load(audit) {
-1 17388 'use strict';
-1 17389 axe.utils.respondable.subscribe('axe.ping', function(data, keepalive, respond) {
-1 17390 respond({
-1 17391 axe: true
-1 17392 });
-1 17393 });
-1 17394 axe.utils.respondable.subscribe('axe.start', runCommand);
-1 17395 axe._audit = new _base_audit__WEBPACK_IMPORTED_MODULE_0__['default'](audit);
-1 17396 }
-1 17397 __webpack_exports__['default'] = load;
-1 17398 },
-1 17399 './lib/core/public/plugins.js': function libCorePublicPluginsJs(module, __webpack_exports__, __webpack_require__) {
-1 17400 'use strict';
-1 17401 __webpack_require__.r(__webpack_exports__);
-1 17402 function Plugin(spec) {
-1 17403 'use strict';
-1 17404 this._run = spec.run;
-1 17405 this._collect = spec.collect;
-1 17406 this._registry = {};
-1 17407 spec.commands.forEach(function(command) {
-1 17408 axe._audit.registerCommand(command);
-1 17409 });
-1 17410 }
-1 17411 Plugin.prototype.run = function() {
-1 17412 'use strict';
-1 17413 return this._run.apply(this, arguments);
-1 17414 };
-1 17415 Plugin.prototype.collect = function() {
-1 17416 'use strict';
-1 17417 return this._collect.apply(this, arguments);
-1 17418 };
-1 17419 Plugin.prototype.cleanup = function(done) {
-1 17420 'use strict';
-1 17421 var q = axe.utils.queue();
-1 17422 var that = this;
-1 17423 Object.keys(this._registry).forEach(function(key) {
-1 17424 q.defer(function(done) {
-1 17425 that._registry[key].cleanup(done);
-1 17426 });
-1 17427 });
-1 17428 q.then(function() {
-1 17429 done();
-1 17430 });
-1 17431 };
-1 17432 Plugin.prototype.add = function(impl) {
-1 17433 'use strict';
-1 17434 this._registry[impl.id] = impl;
-1 17435 };
-1 17436 function registerPlugin(plugin) {
-1 17437 'use strict';
-1 17438 axe.plugins[plugin.id] = new Plugin(plugin);
-1 17439 }
-1 17440 __webpack_exports__['default'] = registerPlugin;
-1 17441 },
-1 17442 './lib/core/public/reporter.js': function libCorePublicReporterJs(module, __webpack_exports__, __webpack_require__) {
-1 17443 'use strict';
-1 17444 __webpack_require__.r(__webpack_exports__);
-1 17445 __webpack_require__.d(__webpack_exports__, 'hasReporter', function() {
-1 17446 return hasReporter;
-1 17447 });
-1 17448 __webpack_require__.d(__webpack_exports__, 'getReporter', function() {
-1 17449 return getReporter;
-1 17450 });
-1 17451 __webpack_require__.d(__webpack_exports__, 'addReporter', function() {
-1 17452 return addReporter;
-1 17453 });
-1 17454 var reporters = {};
-1 17455 var defaultReporter;
-1 17456 function hasReporter(reporterName) {
-1 17457 return reporters.hasOwnProperty(reporterName);
-1 17458 }
-1 17459 function getReporter(reporter) {
-1 17460 'use strict';
-1 17461 if (typeof reporter === 'string' && reporters[reporter]) {
-1 17462 return reporters[reporter];
-1 17463 }
-1 17464 if (typeof reporter === 'function') {
-1 17465 return reporter;
-1 17466 }
-1 17467 return defaultReporter;
-1 17468 }
-1 17469 function addReporter(name, cb, isDefault) {
-1 17470 'use strict';
-1 17471 reporters[name] = cb;
-1 17472 if (isDefault) {
-1 17473 defaultReporter = cb;
-1 17474 }
-1 17475 }
-1 17476 },
-1 17477 './lib/core/public/reset.js': function libCorePublicResetJs(module, __webpack_exports__, __webpack_require__) {
-1 17478 'use strict';
-1 17479 __webpack_require__.r(__webpack_exports__);
-1 17480 var _standards__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/standards/index.js');
-1 17481 function reset() {
-1 17482 'use strict';
-1 17483 var audit = axe._audit;
-1 17484 if (!audit) {
-1 17485 throw new Error('No audit configured');
-1 17486 }
-1 17487 audit.resetRulesAndChecks();
-1 17488 Object(_standards__WEBPACK_IMPORTED_MODULE_0__['resetStandards'])();
-1 17489 }
-1 17490 __webpack_exports__['default'] = reset;
-1 17491 },
-1 17492 './lib/core/public/run-rules.js': function libCorePublicRunRulesJs(module, __webpack_exports__, __webpack_require__) {
-1 17493 'use strict';
-1 17494 __webpack_require__.r(__webpack_exports__);
-1 17495 var _base_context__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/core/base/context.js');
-1 17496 var _base_cache__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/core/base/cache.js');
-1 17497 var _utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__('./lib/core/utils/index.js');
-1 17498 var _log__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__('./lib/core/log.js');
-1 17499 function cleanup() {
-1 17500 if (_base_cache__WEBPACK_IMPORTED_MODULE_1__['default'].get('globalDocumentSet')) {
-1 17501 document = null;
-1 17502 }
-1 17503 if (_base_cache__WEBPACK_IMPORTED_MODULE_1__['default'].get('globalWindowSet')) {
-1 17504 window = null;
-1 17505 }
-1 17506 axe._memoizedFns.forEach(function(fn) {
-1 17507 return fn.clear();
-1 17508 });
-1 17509 _base_cache__WEBPACK_IMPORTED_MODULE_1__['default'].clear();
-1 17510 axe._tree = undefined;
-1 17511 axe._selectorData = undefined;
-1 17512 }
-1 17513 function runRules(context, options, resolve, reject) {
-1 17514 'use strict';
-1 17515 try {
-1 17516 context = new _base_context__WEBPACK_IMPORTED_MODULE_0__['default'](context);
-1 17517 axe._tree = context.flatTree;
-1 17518 axe._selectorData = Object(_utils__WEBPACK_IMPORTED_MODULE_2__['getSelectorData'])(context.flatTree);
-1 17519 } catch (e) {
-1 17520 cleanup();
-1 17521 return reject(e);
-1 17522 }
-1 17523 var q = Object(_utils__WEBPACK_IMPORTED_MODULE_2__['queue'])();
-1 17524 var audit = axe._audit;
-1 17525 if (options.performanceTimer) {
-1 17526 _utils__WEBPACK_IMPORTED_MODULE_2__['performanceTimer'].auditStart();
-1 17527 }
-1 17528 if (context.frames.length && options.iframes !== false) {
-1 17529 q.defer(function(res, rej) {
-1 17530 Object(_utils__WEBPACK_IMPORTED_MODULE_2__['collectResultsFromFrames'])(context, options, 'rules', null, res, rej);
-1 17531 });
-1 17532 }
-1 17533 q.defer(function(res, rej) {
-1 17534 audit.run(context, options, res, rej);
-1 17535 });
-1 17536 q.then(function(data) {
-1 17537 try {
-1 17538 if (options.performanceTimer) {
-1 17539 _utils__WEBPACK_IMPORTED_MODULE_2__['performanceTimer'].auditEnd();
-1 17540 }
-1 17541 var results = Object(_utils__WEBPACK_IMPORTED_MODULE_2__['mergeResults'])(data.map(function(results) {
-1 17542 return {
-1 17543 results: results
-1 17544 };
-1 17545 }));
-1 17546 if (context.initiator) {
-1 17547 results = audit.after(results, options);
-1 17548 results.forEach(_utils__WEBPACK_IMPORTED_MODULE_2__['publishMetaData']);
-1 17549 results = results.map(_utils__WEBPACK_IMPORTED_MODULE_2__['finalizeRuleResult']);
-1 17550 }
-1 17551 try {
-1 17552 resolve(results, cleanup);
-1 17553 } catch (e) {
-1 17554 cleanup();
-1 17555 Object(_log__WEBPACK_IMPORTED_MODULE_3__['default'])(e);
-1 17556 }
-1 17557 } catch (e) {
-1 17558 cleanup();
-1 17559 reject(e);
-1 17560 }
-1 17561 })['catch'](function(e) {
-1 17562 cleanup();
-1 17563 reject(e);
-1 17564 });
-1 17565 }
-1 17566 __webpack_exports__['default'] = runRules;
-1 17567 },
-1 17568 './lib/core/public/run-virtual-rule.js': function libCorePublicRunVirtualRuleJs(module, __webpack_exports__, __webpack_require__) {
-1 17569 'use strict';
-1 17570 __webpack_require__.r(__webpack_exports__);
-1 17571 var _base_virtual_node_serial_virtual_node__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/core/base/virtual-node/serial-virtual-node.js');
-1 17572 var _base_virtual_node_abstract_virtual_node__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/core/base/virtual-node/abstract-virtual-node.js');
-1 17573 var _reporters_helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__('./lib/core/reporters/helpers/index.js');
-1 17574 var _utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__('./lib/core/utils/index.js');
-1 17575 function runVirtualRule(ruleId, vNode) {
-1 17576 var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
-1 17577 options.reporter = options.reporter || axe._audit.reporter || 'v1';
-1 17578 axe._selectorData = {};
-1 17579 if (!(vNode instanceof _base_virtual_node_abstract_virtual_node__WEBPACK_IMPORTED_MODULE_1__['default'])) {
-1 17580 vNode = new _base_virtual_node_serial_virtual_node__WEBPACK_IMPORTED_MODULE_0__['default'](vNode);
-1 17581 }
-1 17582 var rule = axe._audit.rules.find(function(rule) {
-1 17583 return rule.id === ruleId;
-1 17584 });
-1 17585 if (!rule) {
-1 17586 throw new Error('unknown rule `' + ruleId + '`');
-1 17587 }
-1 17588 rule = Object.create(rule, {
-1 17589 excludeHidden: {
-1 17590 value: false
-1 17591 }
-1 17592 });
-1 17593 var context = {
-1 17594 include: [ vNode ]
-1 17595 };
-1 17596 var rawResults = rule.runSync(context, options);
-1 17597 Object(_utils__WEBPACK_IMPORTED_MODULE_3__['publishMetaData'])(rawResults);
-1 17598 Object(_utils__WEBPACK_IMPORTED_MODULE_3__['finalizeRuleResult'])(rawResults);
-1 17599 var results = Object(_utils__WEBPACK_IMPORTED_MODULE_3__['aggregateResult'])([ rawResults ]);
-1 17600 results.violations.forEach(function(result) {
-1 17601 return result.nodes.forEach(function(nodeResult) {
-1 17602 nodeResult.failureSummary = _reporters_helpers__WEBPACK_IMPORTED_MODULE_2__['failureSummary'](nodeResult);
-1 17603 });
-1 17604 });
-1 17605 return _extends({}, _reporters_helpers__WEBPACK_IMPORTED_MODULE_2__['getEnvironmentData'](), results, {
-1 17606 toolOptions: options
-1 17607 });
-1 17608 }
-1 17609 __webpack_exports__['default'] = runVirtualRule;
-1 17610 },
-1 17611 './lib/core/public/run.js': function libCorePublicRunJs(module, __webpack_exports__, __webpack_require__) {
-1 17612 'use strict';
-1 17613 __webpack_require__.r(__webpack_exports__);
-1 17614 var _reporter__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/core/public/reporter.js');
-1 17615 var _base_cache__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/core/base/cache.js');
-1 17616 function isContext(potential) {
-1 17617 'use strict';
-1 17618 switch (true) {
-1 17619 case typeof potential === 'string':
-1 17620 case Array.isArray(potential):
-1 17621 case window.Node && potential instanceof window.Node:
-1 17622 case window.NodeList && potential instanceof window.NodeList:
-1 17623 return true;
-1 17624
-1 17625 case _typeof(potential) !== 'object':
-1 17626 return false;
-1 17627
-1 17628 case potential.include !== undefined:
-1 17629 case potential.exclude !== undefined:
-1 17630 case typeof potential.length === 'number':
-1 17631 return true;
-1 17632
-1 17633 default:
-1 17634 return false;
-1 17635 }
-1 17636 }
-1 17637 var noop = function noop() {};
-1 17638 function normalizeRunParams(context, options, callback) {
-1 17639 'use strict';
-1 17640 var typeErr = new TypeError('axe.run arguments are invalid');
-1 17641 if (!isContext(context)) {
-1 17642 if (callback !== undefined) {
-1 17643 throw typeErr;
-1 17644 }
-1 17645 callback = options;
-1 17646 options = context;
-1 17647 context = document;
-1 17648 }
-1 17649 if (_typeof(options) !== 'object') {
-1 17650 if (callback !== undefined) {
-1 17651 throw typeErr;
-1 17652 }
-1 17653 callback = options;
-1 17654 options = {};
-1 17655 }
-1 17656 if (typeof callback !== 'function' && callback !== undefined) {
-1 17657 throw typeErr;
-1 17658 }
-1 17659 return {
-1 17660 context: context,
-1 17661 options: options,
-1 17662 callback: callback || noop
-1 17663 };
-1 17664 }
-1 17665 function run(context, options, callback) {
-1 17666 'use strict';
-1 17667 if (!axe._audit) {
-1 17668 throw new Error('No audit configured');
-1 17669 }
-1 17670 var hasWindow = window && 'Node' in window && 'NodeList' in window;
-1 17671 var hasDoc = !!document;
-1 17672 if (!hasWindow || !hasDoc) {
-1 17673 if (!context || !context.ownerDocument) {
-1 17674 throw new Error('Required "window" or "document" globals not defined and cannot be deduced from the context. ' + 'Either set the globals before running or pass in a valid Element.');
-1 17675 }
-1 17676 if (!hasDoc) {
-1 17677 _base_cache__WEBPACK_IMPORTED_MODULE_1__['default'].set('globalDocumentSet', true);
-1 17678 document = context.ownerDocument;
-1 17679 }
-1 17680 if (!hasWindow) {
-1 17681 _base_cache__WEBPACK_IMPORTED_MODULE_1__['default'].set('globalWindowSet', true);
-1 17682 window = document.defaultView;
-1 17683 }
-1 17684 }
-1 17685 var args = normalizeRunParams(context, options, callback);
-1 17686 context = args.context;
-1 17687 options = args.options;
-1 17688 callback = args.callback;
-1 17689 options.reporter = options.reporter || axe._audit.reporter || 'v1';
-1 17690 if (options.performanceTimer) {
-1 17691 axe.utils.performanceTimer.start();
-1 17692 }
-1 17693 var p;
-1 17694 var reject = noop;
-1 17695 var resolve = noop;
-1 17696 if (typeof Promise === 'function' && callback === noop) {
-1 17697 p = new Promise(function(_resolve, _reject) {
-1 17698 reject = _reject;
-1 17699 resolve = _resolve;
-1 17700 });
-1 17701 }
-1 17702 if (axe._running) {
-1 17703 var err = 'Axe is already running. Use `await axe.run()` to wait ' + 'for the previous run to finish before starting a new run.';
-1 17704 callback(err);
-1 17705 reject(err);
-1 17706 return p;
-1 17707 }
-1 17708 axe._running = true;
-1 17709 axe._runRules(context, options, function(rawResults, cleanup) {
-1 17710 var respond = function respond(results) {
-1 17711 axe._running = false;
-1 17712 cleanup();
-1 17713 try {
-1 17714 callback(null, results);
-1 17715 } catch (e) {
-1 17716 axe.log(e);
-1 17717 }
-1 17718 resolve(results);
-1 17719 };
-1 17720 if (options.performanceTimer) {
-1 17721 axe.utils.performanceTimer.end();
-1 17722 }
-1 17723 try {
-1 17724 var reporter = Object(_reporter__WEBPACK_IMPORTED_MODULE_0__['getReporter'])(options.reporter);
-1 17725 var results = reporter(rawResults, options, respond);
-1 17726 if (results !== undefined) {
-1 17727 respond(results);
-1 17728 }
-1 17729 } catch (err) {
-1 17730 axe._running = false;
-1 17731 cleanup();
-1 17732 callback(err);
-1 17733 reject(err);
-1 17734 }
-1 17735 }, function(err) {
-1 17736 axe._running = false;
-1 17737 callback(err);
-1 17738 reject(err);
-1 17739 });
-1 17740 return p;
-1 17741 }
-1 17742 __webpack_exports__['default'] = run;
-1 17743 },
-1 17744 './lib/core/reporters/helpers/failure-summary.js': function libCoreReportersHelpersFailureSummaryJs(module, __webpack_exports__, __webpack_require__) {
-1 17745 'use strict';
-1 17746 __webpack_require__.r(__webpack_exports__);
-1 17747 function failureSummary(nodeData) {
-1 17748 var failingChecks = {};
-1 17749 failingChecks.none = nodeData.none.concat(nodeData.all);
-1 17750 failingChecks.any = nodeData.any;
-1 17751 return Object.keys(failingChecks).map(function(key) {
-1 17752 if (!failingChecks[key].length) {
-1 17753 return;
-1 17754 }
-1 17755 var sum = axe._audit.data.failureSummaries[key];
-1 17756 if (sum && typeof sum.failureMessage === 'function') {
-1 17757 return sum.failureMessage(failingChecks[key].map(function(check) {
-1 17758 return check.message || '';
-1 17759 }));
-1 17760 }
-1 17761 }).filter(function(i) {
-1 17762 return i !== undefined;
-1 17763 }).join('\n\n');
-1 17764 }
-1 17765 __webpack_exports__['default'] = failureSummary;
-1 17766 },
-1 17767 './lib/core/reporters/helpers/get-environment-data.js': function libCoreReportersHelpersGetEnvironmentDataJs(module, __webpack_exports__, __webpack_require__) {
-1 17768 'use strict';
-1 17769 __webpack_require__.r(__webpack_exports__);
-1 17770 function getEnvironmentData() {
-1 17771 var win = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : window;
-1 17772 var _win$screen = win.screen, screen = _win$screen === void 0 ? {} : _win$screen, _win$navigator = win.navigator, navigator = _win$navigator === void 0 ? {} : _win$navigator, _win$location = win.location, location = _win$location === void 0 ? {} : _win$location, innerHeight = win.innerHeight, innerWidth = win.innerWidth;
-1 17773 var orientation = screen.msOrientation || screen.orientation || screen.mozOrientation || {};
-1 17774 return {
-1 17775 testEngine: {
-1 17776 name: 'axe-core',
-1 17777 version: axe.version
-1 17778 },
-1 17779 testRunner: {
-1 17780 name: axe._audit.brand
-1 17781 },
-1 17782 testEnvironment: {
-1 17783 userAgent: navigator.userAgent,
-1 17784 windowWidth: innerWidth,
-1 17785 windowHeight: innerHeight,
-1 17786 orientationAngle: orientation.angle,
-1 17787 orientationType: orientation.type
-1 17788 },
-1 17789 timestamp: new Date().toISOString(),
-1 17790 url: location.href
-1 17791 };
-1 17792 }
-1 17793 __webpack_exports__['default'] = getEnvironmentData;
-1 17794 },
-1 17795 './lib/core/reporters/helpers/incomplete-fallback-msg.js': function libCoreReportersHelpersIncompleteFallbackMsgJs(module, __webpack_exports__, __webpack_require__) {
-1 17796 'use strict';
-1 17797 __webpack_require__.r(__webpack_exports__);
-1 17798 function incompleteFallbackMessage() {
-1 17799 return typeof axe._audit.data.incompleteFallbackMessage === 'function' ? axe._audit.data.incompleteFallbackMessage() : axe._audit.data.incompleteFallbackMessage;
-1 17800 }
-1 17801 __webpack_exports__['default'] = incompleteFallbackMessage;
-1 17802 },
-1 17803 './lib/core/reporters/helpers/index.js': function libCoreReportersHelpersIndexJs(module, __webpack_exports__, __webpack_require__) {
-1 17804 'use strict';
-1 17805 __webpack_require__.r(__webpack_exports__);
-1 17806 var _failure_summary__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/core/reporters/helpers/failure-summary.js');
-1 17807 __webpack_require__.d(__webpack_exports__, 'failureSummary', function() {
-1 17808 return _failure_summary__WEBPACK_IMPORTED_MODULE_0__['default'];
-1 17809 });
-1 17810 var _get_environment_data__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/core/reporters/helpers/get-environment-data.js');
-1 17811 __webpack_require__.d(__webpack_exports__, 'getEnvironmentData', function() {
-1 17812 return _get_environment_data__WEBPACK_IMPORTED_MODULE_1__['default'];
-1 17813 });
-1 17814 var _incomplete_fallback_msg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__('./lib/core/reporters/helpers/incomplete-fallback-msg.js');
-1 17815 __webpack_require__.d(__webpack_exports__, 'incompleteFallbackMessage', function() {
-1 17816 return _incomplete_fallback_msg__WEBPACK_IMPORTED_MODULE_2__['default'];
-1 17817 });
-1 17818 var _process_aggregate__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__('./lib/core/reporters/helpers/process-aggregate.js');
-1 17819 __webpack_require__.d(__webpack_exports__, 'processAggregate', function() {
-1 17820 return _process_aggregate__WEBPACK_IMPORTED_MODULE_3__['default'];
-1 17821 });
-1 17822 axe._thisWillBeDeletedDoNotUse = axe._thisWillBeDeletedDoNotUse || {};
-1 17823 axe._thisWillBeDeletedDoNotUse.helpers = {
-1 17824 failureSummary: _failure_summary__WEBPACK_IMPORTED_MODULE_0__['default'],
-1 17825 getEnvironmentData: _get_environment_data__WEBPACK_IMPORTED_MODULE_1__['default'],
-1 17826 incompleteFallbackMessage: _incomplete_fallback_msg__WEBPACK_IMPORTED_MODULE_2__['default'],
-1 17827 processAggregate: _process_aggregate__WEBPACK_IMPORTED_MODULE_3__['default']
-1 17828 };
-1 17829 },
-1 17830 './lib/core/reporters/helpers/process-aggregate.js': function libCoreReportersHelpersProcessAggregateJs(module, __webpack_exports__, __webpack_require__) {
-1 17831 'use strict';
-1 17832 __webpack_require__.r(__webpack_exports__);
-1 17833 var _constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/core/constants.js');
-1 17834 function normalizeRelatedNodes(node, options) {
-1 17835 [ 'any', 'all', 'none' ].forEach(function(type) {
-1 17836 if (!Array.isArray(node[type])) {
-1 17837 return;
-1 17838 }
-1 17839 node[type].filter(function(checkRes) {
-1 17840 return Array.isArray(checkRes.relatedNodes);
-1 17841 }).forEach(function(checkRes) {
-1 17842 checkRes.relatedNodes = checkRes.relatedNodes.map(function(relatedNode) {
-1 17843 var res = {
-1 17844 html: relatedNode.source
-1 17845 };
-1 17846 if (options.elementRef && !relatedNode.fromFrame) {
-1 17847 res.element = relatedNode.element;
-1 17848 }
-1 17849 if (options.selectors !== false || relatedNode.fromFrame) {
-1 17850 res.target = relatedNode.selector;
-1 17851 }
-1 17852 if (options.ancestry) {
-1 17853 res.ancestry = relatedNode.ancestry;
-1 17854 }
-1 17855 if (options.xpath) {
-1 17856 res.xpath = relatedNode.xpath;
-1 17857 }
-1 17858 return res;
-1 17859 });
-1 17860 });
-1 17861 });
-1 17862 }
-1 17863 var resultKeys = _constants__WEBPACK_IMPORTED_MODULE_0__['default'].resultGroups;
-1 17864 function processAggregate(results, options) {
-1 17865 var resultObject = axe.utils.aggregateResult(results);
-1 17866 resultKeys.forEach(function(key) {
-1 17867 if (options.resultTypes && !options.resultTypes.includes(key)) {
-1 17868 (resultObject[key] || []).forEach(function(ruleResult) {
-1 17869 if (Array.isArray(ruleResult.nodes) && ruleResult.nodes.length > 0) {
-1 17870 ruleResult.nodes = [ ruleResult.nodes[0] ];
-1 17871 }
-1 17872 });
-1 17873 }
-1 17874 resultObject[key] = (resultObject[key] || []).map(function(ruleResult) {
-1 17875 ruleResult = Object.assign({}, ruleResult);
-1 17876 if (Array.isArray(ruleResult.nodes) && ruleResult.nodes.length > 0) {
-1 17877 ruleResult.nodes = ruleResult.nodes.map(function(subResult) {
-1 17878 if (_typeof(subResult.node) === 'object') {
-1 17879 subResult.html = subResult.node.source;
-1 17880 if (options.elementRef && !subResult.node.fromFrame) {
-1 17881 subResult.element = subResult.node.element;
-1 17882 }
-1 17883 if (options.selectors !== false || subResult.node.fromFrame) {
-1 17884 subResult.target = subResult.node.selector;
-1 17885 }
-1 17886 if (options.ancestry) {
-1 17887 subResult.ancestry = subResult.node.ancestry;
-1 17888 }
-1 17889 if (options.xpath) {
-1 17890 subResult.xpath = subResult.node.xpath;
-1 17891 }
-1 17892 }
-1 17893 delete subResult.result;
-1 17894 delete subResult.node;
-1 17895 normalizeRelatedNodes(subResult, options);
-1 17896 return subResult;
-1 17897 });
-1 17898 }
-1 17899 resultKeys.forEach(function(key) {
-1 17900 return delete ruleResult[key];
-1 17901 });
-1 17902 delete ruleResult.pageLevel;
-1 17903 delete ruleResult.result;
-1 17904 return ruleResult;
-1 17905 });
-1 17906 });
-1 17907 return resultObject;
-1 17908 }
-1 17909 __webpack_exports__['default'] = processAggregate;
-1 17910 },
-1 17911 './lib/core/reporters/na.js': function libCoreReportersNaJs(module, __webpack_exports__, __webpack_require__) {
-1 17912 'use strict';
-1 17913 __webpack_require__.r(__webpack_exports__);
-1 17914 var _helpers__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/core/reporters/helpers/index.js');
-1 17915 var naReporter = function naReporter(results, options, callback) {
-1 17916 console.warn('"na" reporter will be deprecated in axe v4.0. Use the "v2" reporter instead.');
-1 17917 if (typeof options === 'function') {
-1 17918 callback = options;
-1 17919 options = {};
-1 17920 }
-1 17921 var out = Object(_helpers__WEBPACK_IMPORTED_MODULE_0__['processAggregate'])(results, options);
-1 17922 callback(_extends({}, Object(_helpers__WEBPACK_IMPORTED_MODULE_0__['getEnvironmentData'])(), {
-1 17923 toolOptions: options,
-1 17924 violations: out.violations,
-1 17925 passes: out.passes,
-1 17926 incomplete: out.incomplete,
-1 17927 inapplicable: out.inapplicable
-1 17928 }));
-1 17929 };
-1 17930 __webpack_exports__['default'] = naReporter;
-1 17931 },
-1 17932 './lib/core/reporters/no-passes.js': function libCoreReportersNoPassesJs(module, __webpack_exports__, __webpack_require__) {
-1 17933 'use strict';
-1 17934 __webpack_require__.r(__webpack_exports__);
-1 17935 var _helpers__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/core/reporters/helpers/index.js');
-1 17936 var noPassesReporter = function noPassesReporter(results, options, callback) {
-1 17937 if (typeof options === 'function') {
-1 17938 callback = options;
-1 17939 options = {};
-1 17940 }
-1 17941 options.resultTypes = [ 'violations' ];
-1 17942 var out = Object(_helpers__WEBPACK_IMPORTED_MODULE_0__['processAggregate'])(results, options);
-1 17943 callback(_extends({}, Object(_helpers__WEBPACK_IMPORTED_MODULE_0__['getEnvironmentData'])(), {
-1 17944 toolOptions: options,
-1 17945 violations: out.violations
-1 17946 }));
-1 17947 };
-1 17948 __webpack_exports__['default'] = noPassesReporter;
-1 17949 },
-1 17950 './lib/core/reporters/raw-env.js': function libCoreReportersRawEnvJs(module, __webpack_exports__, __webpack_require__) {
-1 17951 'use strict';
-1 17952 __webpack_require__.r(__webpack_exports__);
-1 17953 var _helpers__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/core/reporters/helpers/index.js');
-1 17954 var _raw__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/core/reporters/raw.js');
-1 17955 var rawEnvReporter = function rawEnvReporter(results, options, callback) {
-1 17956 if (typeof options === 'function') {
-1 17957 callback = options;
-1 17958 options = {};
-1 17959 }
-1 17960 function rawCallback(raw) {
-1 17961 var env = Object(_helpers__WEBPACK_IMPORTED_MODULE_0__['getEnvironmentData'])();
-1 17962 callback({
-1 17963 raw: raw,
-1 17964 env: env
-1 17965 });
-1 17966 }
-1 17967 Object(_raw__WEBPACK_IMPORTED_MODULE_1__['default'])(results, options, rawCallback);
-1 17968 };
-1 17969 __webpack_exports__['default'] = rawEnvReporter;
-1 17970 },
-1 17971 './lib/core/reporters/raw.js': function libCoreReportersRawJs(module, __webpack_exports__, __webpack_require__) {
-1 17972 'use strict';
-1 17973 __webpack_require__.r(__webpack_exports__);
-1 17974 var rawReporter = function rawReporter(results, options, callback) {
-1 17975 if (typeof options === 'function') {
-1 17976 callback = options;
-1 17977 options = {};
-1 17978 }
-1 17979 if (!results || !Array.isArray(results)) {
-1 17980 return callback(results);
-1 17981 }
-1 17982 var transformedResults = results.map(function(result) {
-1 17983 var transformedResult = _extends({}, result);
-1 17984 var types = [ 'passes', 'violations', 'incomplete', 'inapplicable' ];
-1 17985 for (var _i6 = 0, _types = types; _i6 < _types.length; _i6++) {
-1 17986 var type = _types[_i6];
-1 17987 if (transformedResult[type] && Array.isArray(transformedResult[type])) {
-1 17988 transformedResult[type] = transformedResult[type].map(function(typeResult) {
-1 17989 return _extends({}, typeResult, {
-1 17990 node: typeResult.node.toJSON()
-1 17991 });
-1 17992 });
-1 17993 }
-1 17994 }
-1 17995 return transformedResult;
-1 17996 });
-1 17997 callback(transformedResults);
-1 17998 };
-1 17999 __webpack_exports__['default'] = rawReporter;
-1 18000 },
-1 18001 './lib/core/reporters/v1.js': function libCoreReportersV1Js(module, __webpack_exports__, __webpack_require__) {
-1 18002 'use strict';
-1 18003 __webpack_require__.r(__webpack_exports__);
-1 18004 var _helpers__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/core/reporters/helpers/index.js');
-1 18005 var v1Reporter = function v1Reporter(results, options, callback) {
-1 18006 if (typeof options === 'function') {
-1 18007 callback = options;
-1 18008 options = {};
-1 18009 }
-1 18010 var out = Object(_helpers__WEBPACK_IMPORTED_MODULE_0__['processAggregate'])(results, options);
-1 18011 var addFailureSummaries = function addFailureSummaries(result) {
-1 18012 result.nodes.forEach(function(nodeResult) {
-1 18013 nodeResult.failureSummary = Object(_helpers__WEBPACK_IMPORTED_MODULE_0__['failureSummary'])(nodeResult);
-1 18014 });
-1 18015 };
-1 18016 out.incomplete.forEach(addFailureSummaries);
-1 18017 out.violations.forEach(addFailureSummaries);
-1 18018 callback(_extends({}, Object(_helpers__WEBPACK_IMPORTED_MODULE_0__['getEnvironmentData'])(), {
-1 18019 toolOptions: options,
-1 18020 violations: out.violations,
-1 18021 passes: out.passes,
-1 18022 incomplete: out.incomplete,
-1 18023 inapplicable: out.inapplicable
-1 18024 }));
-1 18025 };
-1 18026 __webpack_exports__['default'] = v1Reporter;
-1 18027 },
-1 18028 './lib/core/reporters/v2.js': function libCoreReportersV2Js(module, __webpack_exports__, __webpack_require__) {
-1 18029 'use strict';
-1 18030 __webpack_require__.r(__webpack_exports__);
-1 18031 var _helpers__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/core/reporters/helpers/index.js');
-1 18032 var v2Reporter = function v2Reporter(results, options, callback) {
-1 18033 if (typeof options === 'function') {
-1 18034 callback = options;
-1 18035 options = {};
-1 18036 }
-1 18037 var out = Object(_helpers__WEBPACK_IMPORTED_MODULE_0__['processAggregate'])(results, options);
-1 18038 callback(_extends({}, Object(_helpers__WEBPACK_IMPORTED_MODULE_0__['getEnvironmentData'])(), {
-1 18039 toolOptions: options,
-1 18040 violations: out.violations,
-1 18041 passes: out.passes,
-1 18042 incomplete: out.incomplete,
-1 18043 inapplicable: out.inapplicable
-1 18044 }));
-1 18045 };
-1 18046 __webpack_exports__['default'] = v2Reporter;
-1 18047 },
-1 18048 './lib/core/utils/aggregate-checks.js': function libCoreUtilsAggregateChecksJs(module, __webpack_exports__, __webpack_require__) {
-1 18049 'use strict';
-1 18050 __webpack_require__.r(__webpack_exports__);
-1 18051 var _constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/core/constants.js');
-1 18052 var _aggregate__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/core/utils/aggregate.js');
-1 18053 var _constants__WEBPACK_I = _constants__WEBPACK_IMPORTED_MODULE_0__['default'], CANTTELL_PRIO = _constants__WEBPACK_I.CANTTELL_PRIO, FAIL_PRIO = _constants__WEBPACK_I.FAIL_PRIO;
-1 18054 var checkMap = [];
-1 18055 checkMap[_constants__WEBPACK_IMPORTED_MODULE_0__['default'].PASS_PRIO] = true;
-1 18056 checkMap[_constants__WEBPACK_IMPORTED_MODULE_0__['default'].CANTTELL_PRIO] = null;
-1 18057 checkMap[_constants__WEBPACK_IMPORTED_MODULE_0__['default'].FAIL_PRIO] = false;
-1 18058 var checkTypes = [ 'any', 'all', 'none' ];
-1 18059 function anyAllNone(obj, functor) {
-1 18060 return checkTypes.reduce(function(out, type) {
-1 18061 out[type] = (obj[type] || []).map(function(val) {
-1 18062 return functor(val, type);
-1 18063 });
-1 18064 return out;
-1 18065 }, {});
-1 18066 }
-1 18067 function aggregateChecks(nodeResOriginal) {
-1 18068 var nodeResult = Object.assign({}, nodeResOriginal);
-1 18069 anyAllNone(nodeResult, function(check, type) {
-1 18070 var i = typeof check.result === 'undefined' ? -1 : checkMap.indexOf(check.result);
-1 18071 check.priority = i !== -1 ? i : _constants__WEBPACK_IMPORTED_MODULE_0__['default'].CANTTELL_PRIO;
-1 18072 if (type === 'none') {
-1 18073 if (check.priority === _constants__WEBPACK_IMPORTED_MODULE_0__['default'].PASS_PRIO) {
-1 18074 check.priority = _constants__WEBPACK_IMPORTED_MODULE_0__['default'].FAIL_PRIO;
-1 18075 } else if (check.priority === _constants__WEBPACK_IMPORTED_MODULE_0__['default'].FAIL_PRIO) {
-1 18076 check.priority = _constants__WEBPACK_IMPORTED_MODULE_0__['default'].PASS_PRIO;
-1 18077 }
-1 18078 }
-1 18079 });
-1 18080 var priorities = {
-1 18081 all: nodeResult.all.reduce(function(a, b) {
-1 18082 return Math.max(a, b.priority);
-1 18083 }, 0),
-1 18084 none: nodeResult.none.reduce(function(a, b) {
-1 18085 return Math.max(a, b.priority);
-1 18086 }, 0),
-1 18087 any: nodeResult.any.reduce(function(a, b) {
-1 18088 return Math.min(a, b.priority);
-1 18089 }, 4) % 4
-1 18090 };
-1 18091 nodeResult.priority = Math.max(priorities.all, priorities.none, priorities.any);
-1 18092 var impacts = [];
-1 18093 checkTypes.forEach(function(type) {
-1 18094 nodeResult[type] = nodeResult[type].filter(function(check) {
-1 18095 return check.priority === nodeResult.priority && check.priority === priorities[type];
-1 18096 });
-1 18097 nodeResult[type].forEach(function(check) {
-1 18098 return impacts.push(check.impact);
-1 18099 });
-1 18100 });
-1 18101 if ([ CANTTELL_PRIO, FAIL_PRIO ].includes(nodeResult.priority)) {
-1 18102 nodeResult.impact = Object(_aggregate__WEBPACK_IMPORTED_MODULE_1__['default'])(_constants__WEBPACK_IMPORTED_MODULE_0__['default'].impact, impacts);
-1 18103 } else {
-1 18104 nodeResult.impact = null;
-1 18105 }
-1 18106 anyAllNone(nodeResult, function(c) {
-1 18107 delete c.result;
-1 18108 delete c.priority;
-1 18109 });
-1 18110 nodeResult.result = _constants__WEBPACK_IMPORTED_MODULE_0__['default'].results[nodeResult.priority];
-1 18111 delete nodeResult.priority;
-1 18112 return nodeResult;
-1 18113 }
-1 18114 __webpack_exports__['default'] = aggregateChecks;
-1 18115 },
-1 18116 './lib/core/utils/aggregate-node-results.js': function libCoreUtilsAggregateNodeResultsJs(module, __webpack_exports__, __webpack_require__) {
-1 18117 'use strict';
-1 18118 __webpack_require__.r(__webpack_exports__);
-1 18119 var _aggregate_checks__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/core/utils/aggregate-checks.js');
-1 18120 var _aggregate__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/core/utils/aggregate.js');
-1 18121 var _finalize_result__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__('./lib/core/utils/finalize-result.js');
-1 18122 var _constants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__('./lib/core/constants.js');
-1 18123 function aggregateNodeResults(nodeResults) {
-1 18124 var ruleResult = {};
-1 18125 nodeResults = nodeResults.map(function(nodeResult) {
-1 18126 if (nodeResult.any && nodeResult.all && nodeResult.none) {
-1 18127 return Object(_aggregate_checks__WEBPACK_IMPORTED_MODULE_0__['default'])(nodeResult);
-1 18128 } else if (Array.isArray(nodeResult.node)) {
-1 18129 return Object(_finalize_result__WEBPACK_IMPORTED_MODULE_2__['default'])(nodeResult);
-1 18130 } else {
-1 18131 throw new TypeError('Invalid Result type');
-1 18132 }
-1 18133 });
-1 18134 if (nodeResults && nodeResults.length) {
-1 18135 var resultList = nodeResults.map(function(node) {
-1 18136 return node.result;
-1 18137 });
-1 18138 ruleResult.result = Object(_aggregate__WEBPACK_IMPORTED_MODULE_1__['default'])(_constants__WEBPACK_IMPORTED_MODULE_3__['default'].results, resultList, ruleResult.result);
-1 18139 } else {
-1 18140 ruleResult.result = 'inapplicable';
-1 18141 }
-1 18142 _constants__WEBPACK_IMPORTED_MODULE_3__['default'].resultGroups.forEach(function(group) {
-1 18143 return ruleResult[group] = [];
-1 18144 });
-1 18145 nodeResults.forEach(function(nodeResult) {
-1 18146 var groupName = _constants__WEBPACK_IMPORTED_MODULE_3__['default'].resultGroupMap[nodeResult.result];
-1 18147 ruleResult[groupName].push(nodeResult);
-1 18148 });
-1 18149 var impactGroup = _constants__WEBPACK_IMPORTED_MODULE_3__['default'].FAIL_GROUP;
-1 18150 if (ruleResult[impactGroup].length === 0) {
-1 18151 impactGroup = _constants__WEBPACK_IMPORTED_MODULE_3__['default'].CANTTELL_GROUP;
-1 18152 }
-1 18153 if (ruleResult[impactGroup].length > 0) {
-1 18154 var impactList = ruleResult[impactGroup].map(function(failure) {
-1 18155 return failure.impact;
-1 18156 });
-1 18157 ruleResult.impact = Object(_aggregate__WEBPACK_IMPORTED_MODULE_1__['default'])(_constants__WEBPACK_IMPORTED_MODULE_3__['default'].impact, impactList) || null;
-1 18158 } else {
-1 18159 ruleResult.impact = null;
-1 18160 }
-1 18161 return ruleResult;
-1 18162 }
-1 18163 __webpack_exports__['default'] = aggregateNodeResults;
-1 18164 },
-1 18165 './lib/core/utils/aggregate-result.js': function libCoreUtilsAggregateResultJs(module, __webpack_exports__, __webpack_require__) {
-1 18166 'use strict';
-1 18167 __webpack_require__.r(__webpack_exports__);
-1 18168 var _constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/core/constants.js');
-1 18169 function copyToGroup(resultObject, subResult, group) {
-1 18170 var resultCopy = Object.assign({}, subResult);
-1 18171 resultCopy.nodes = (resultCopy[group] || []).concat();
-1 18172 _constants__WEBPACK_IMPORTED_MODULE_0__['default'].resultGroups.forEach(function(group) {
-1 18173 delete resultCopy[group];
-1 18174 });
-1 18175 resultObject[group].push(resultCopy);
-1 18176 }
-1 18177 function aggregateResult(results) {
-1 18178 var resultObject = {};
-1 18179 _constants__WEBPACK_IMPORTED_MODULE_0__['default'].resultGroups.forEach(function(groupName) {
-1 18180 return resultObject[groupName] = [];
-1 18181 });
-1 18182 results.forEach(function(subResult) {
-1 18183 if (subResult.error) {
-1 18184 copyToGroup(resultObject, subResult, _constants__WEBPACK_IMPORTED_MODULE_0__['default'].CANTTELL_GROUP);
-1 18185 } else if (subResult.result === _constants__WEBPACK_IMPORTED_MODULE_0__['default'].NA) {
-1 18186 copyToGroup(resultObject, subResult, _constants__WEBPACK_IMPORTED_MODULE_0__['default'].NA_GROUP);
-1 18187 } else {
-1 18188 _constants__WEBPACK_IMPORTED_MODULE_0__['default'].resultGroups.forEach(function(group) {
-1 18189 if (Array.isArray(subResult[group]) && subResult[group].length > 0) {
-1 18190 copyToGroup(resultObject, subResult, group);
-1 18191 }
-1 18192 });
-1 18193 }
-1 18194 });
-1 18195 return resultObject;
-1 18196 }
-1 18197 __webpack_exports__['default'] = aggregateResult;
-1 18198 },
-1 18199 './lib/core/utils/aggregate.js': function libCoreUtilsAggregateJs(module, __webpack_exports__, __webpack_require__) {
-1 18200 'use strict';
-1 18201 __webpack_require__.r(__webpack_exports__);
-1 18202 function aggregate(map, values, initial) {
-1 18203 values = values.slice();
-1 18204 if (initial) {
-1 18205 values.push(initial);
-1 18206 }
-1 18207 var sorting = values.map(function(val) {
-1 18208 return map.indexOf(val);
-1 18209 }).sort();
-1 18210 return map[sorting.pop()];
-1 18211 }
-1 18212 __webpack_exports__['default'] = aggregate;
-1 18213 },
-1 18214 './lib/core/utils/are-styles-set.js': function libCoreUtilsAreStylesSetJs(module, __webpack_exports__, __webpack_require__) {
-1 18215 'use strict';
-1 18216 __webpack_require__.r(__webpack_exports__);
-1 18217 function areStylesSet(el, styles, stopAt) {
-1 18218 var styl = window.getComputedStyle(el, null);
-1 18219 if (!styl) {
-1 18220 return false;
-1 18221 }
-1 18222 for (var i = 0; i < styles.length; ++i) {
-1 18223 var att = styles[i];
-1 18224 if (styl.getPropertyValue(att.property) === att.value) {
-1 18225 return true;
-1 18226 }
-1 18227 }
-1 18228 if (!el.parentNode || el.nodeName.toUpperCase() === stopAt.toUpperCase()) {
-1 18229 return false;
-1 18230 }
-1 18231 return areStylesSet(el.parentNode, styles, stopAt);
-1 18232 }
-1 18233 __webpack_exports__['default'] = areStylesSet;
-1 18234 },
-1 18235 './lib/core/utils/assert.js': function libCoreUtilsAssertJs(module, __webpack_exports__, __webpack_require__) {
-1 18236 'use strict';
-1 18237 __webpack_require__.r(__webpack_exports__);
-1 18238 function assert(bool, message) {
-1 18239 if (!bool) {
-1 18240 throw new Error(message);
-1 18241 }
-1 18242 }
-1 18243 __webpack_exports__['default'] = assert;
-1 18244 },
-1 18245 './lib/core/utils/check-helper.js': function libCoreUtilsCheckHelperJs(module, __webpack_exports__, __webpack_require__) {
-1 18246 'use strict';
-1 18247 __webpack_require__.r(__webpack_exports__);
-1 18248 var _to_array__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/core/utils/to-array.js');
-1 18249 var _dq_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/core/utils/dq-element.js');
-1 18250 function checkHelper(checkResult, options, resolve, reject) {
-1 18251 return {
-1 18252 isAsync: false,
-1 18253 async: function async() {
-1 18254 this.isAsync = true;
-1 18255 return function(result) {
-1 18256 if (result instanceof Error === false) {
-1 18257 checkResult.result = result;
-1 18258 resolve(checkResult);
-1 18259 } else {
-1 18260 reject(result);
-1 18261 }
-1 18262 };
-1 18263 },
-1 18264 data: function data(_data) {
-1 18265 checkResult.data = _data;
-1 18266 },
-1 18267 relatedNodes: function relatedNodes(nodes) {
-1 18268 nodes = nodes instanceof window.Node ? [ nodes ] : Object(_to_array__WEBPACK_IMPORTED_MODULE_0__['default'])(nodes);
-1 18269 checkResult.relatedNodes = nodes.map(function(element) {
-1 18270 return new _dq_element__WEBPACK_IMPORTED_MODULE_1__['default'](element, options);
-1 18271 });
-1 18272 }
-1 18273 };
-1 18274 }
-1 18275 __webpack_exports__['default'] = checkHelper;
-1 18276 },
-1 18277 './lib/core/utils/clone.js': function libCoreUtilsCloneJs(module, __webpack_exports__, __webpack_require__) {
-1 18278 'use strict';
-1 18279 __webpack_require__.r(__webpack_exports__);
-1 18280 function clone(obj) {
-1 18281 var index, length, out = obj;
-1 18282 if (obj !== null && _typeof(obj) === 'object') {
-1 18283 if (Array.isArray(obj)) {
-1 18284 out = [];
-1 18285 for (index = 0, length = obj.length; index < length; index++) {
-1 18286 out[index] = clone(obj[index]);
-1 18287 }
-1 18288 } else {
-1 18289 out = {};
-1 18290 for (index in obj) {
-1 18291 out[index] = clone(obj[index]);
-1 18292 }
-1 18293 }
-1 18294 }
-1 18295 return out;
-1 18296 }
-1 18297 __webpack_exports__['default'] = clone;
-1 18298 },
-1 18299 './lib/core/utils/closest.js': function libCoreUtilsClosestJs(module, __webpack_exports__, __webpack_require__) {
-1 18300 'use strict';
-1 18301 __webpack_require__.r(__webpack_exports__);
-1 18302 var _matches__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/core/utils/matches.js');
-1 18303 function closest(vNode, selector) {
-1 18304 while (vNode) {
-1 18305 if (Object(_matches__WEBPACK_IMPORTED_MODULE_0__['default'])(vNode, selector)) {
-1 18306 return vNode;
-1 18307 }
-1 18308 if (typeof vNode.parent === 'undefined') {
-1 18309 throw new TypeError('Cannot resolve parent for non-DOM nodes');
-1 18310 }
-1 18311 vNode = vNode.parent;
-1 18312 }
-1 18313 return null;
-1 18314 }
-1 18315 __webpack_exports__['default'] = closest;
-1 18316 },
-1 18317 './lib/core/utils/collect-results-from-frames.js': function libCoreUtilsCollectResultsFromFramesJs(module, __webpack_exports__, __webpack_require__) {
-1 18318 'use strict';
-1 18319 __webpack_require__.r(__webpack_exports__);
-1 18320 var _queue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/core/utils/queue.js');
-1 18321 var _send_command_to_frame__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/core/utils/send-command-to-frame.js');
-1 18322 var _merge_results__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__('./lib/core/utils/merge-results.js');
-1 18323 var _get_selector__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__('./lib/core/utils/get-selector.js');
-1 18324 function collectResultsFromFrames(context, options, command, parameter, resolve, reject) {
-1 18325 var q = Object(_queue__WEBPACK_IMPORTED_MODULE_0__['default'])();
-1 18326 var frames = context.frames;
-1 18327 frames.forEach(function(frame) {
-1 18328 var params = {
-1 18329 options: options,
-1 18330 command: command,
-1 18331 parameter: parameter,
-1 18332 context: {
-1 18333 initiator: false,
-1 18334 page: context.page,
-1 18335 include: frame.include || [],
-1 18336 exclude: frame.exclude || []
-1 18337 }
-1 18338 };
-1 18339 q.defer(function(res, rej) {
-1 18340 var node = frame.node;
-1 18341 Object(_send_command_to_frame__WEBPACK_IMPORTED_MODULE_1__['default'])(node, params, function(data) {
-1 18342 if (data) {
-1 18343 return res({
-1 18344 results: data,
-1 18345 frameElement: node,
-1 18346 frame: Object(_get_selector__WEBPACK_IMPORTED_MODULE_3__['default'])(node)
-1 18347 });
-1 18348 }
-1 18349 res(null);
-1 18350 }, rej);
-1 18351 });
-1 18352 });
-1 18353 q.then(function(data) {
-1 18354 resolve(Object(_merge_results__WEBPACK_IMPORTED_MODULE_2__['default'])(data, options));
-1 18355 })['catch'](reject);
-1 18356 }
-1 18357 __webpack_exports__['default'] = collectResultsFromFrames;
-1 18358 },
-1 18359 './lib/core/utils/contains.js': function libCoreUtilsContainsJs(module, __webpack_exports__, __webpack_require__) {
-1 18360 'use strict';
-1 18361 __webpack_require__.r(__webpack_exports__);
-1 18362 function contains(vNode, otherVNode) {
-1 18363 function containsShadowChild(vNode, otherVNode) {
-1 18364 if (vNode.shadowId === otherVNode.shadowId) {
-1 18365 return true;
-1 18366 }
-1 18367 return !!vNode.children.find(function(child) {
-1 18368 return containsShadowChild(child, otherVNode);
-1 18369 });
-1 18370 }
-1 18371 if (vNode.shadowId || otherVNode.shadowId) {
-1 18372 return containsShadowChild(vNode, otherVNode);
-1 18373 }
-1 18374 if (vNode.actualNode) {
-1 18375 if (typeof vNode.actualNode.contains === 'function') {
-1 18376 return vNode.actualNode.contains(otherVNode.actualNode);
-1 18377 }
-1 18378 return !!(vNode.actualNode.compareDocumentPosition(otherVNode.actualNode) & 16);
-1 18379 } else {
-1 18380 do {
-1 18381 if (otherVNode === vNode) {
-1 18382 return true;
-1 18383 }
-1 18384 } while (otherVNode = otherVNode && otherVNode.parent);
-1 18385 }
-1 18386 return false;
-1 18387 }
-1 18388 __webpack_exports__['default'] = contains;
-1 18389 },
-1 18390 './lib/core/utils/css-parser.js': function libCoreUtilsCssParserJs(module, __webpack_exports__, __webpack_require__) {
-1 18391 'use strict';
-1 18392 __webpack_require__.r(__webpack_exports__);
-1 18393 var css_selector_parser__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./node_modules/css-selector-parser/lib/index.js');
-1 18394 var css_selector_parser__WEBPACK_IMPORTED_MODULE_0___default = __webpack_require__.n(css_selector_parser__WEBPACK_IMPORTED_MODULE_0__);
-1 18395 var parser = new css_selector_parser__WEBPACK_IMPORTED_MODULE_0__['CssSelectorParser']();
-1 18396 parser.registerSelectorPseudos('not');
-1 18397 parser.registerNestingOperators('>');
-1 18398 parser.registerAttrEqualityMods('^', '$', '*');
-1 18399 __webpack_exports__['default'] = parser;
-1 18400 },
-1 18401 './lib/core/utils/deep-merge.js': function libCoreUtilsDeepMergeJs(module, __webpack_exports__, __webpack_require__) {
-1 18402 'use strict';
-1 18403 __webpack_require__.r(__webpack_exports__);
-1 18404 function deepMerge() {
-1 18405 var target = {};
-1 18406 for (var _len = arguments.length, sources = new Array(_len), _key = 0; _key < _len; _key++) {
-1 18407 sources[_key] = arguments[_key];
-1 18408 }
-1 18409 sources.forEach(function(source) {
-1 18410 if (!source || _typeof(source) !== 'object' || Array.isArray(source)) {
-1 18411 return;
-1 18412 }
-1 18413 for (var _i7 = 0, _Object$keys2 = Object.keys(source); _i7 < _Object$keys2.length; _i7++) {
-1 18414 var key = _Object$keys2[_i7];
-1 18415 if (!target.hasOwnProperty(key) || _typeof(source[key]) !== 'object' || Array.isArray(target[key])) {
-1 18416 target[key] = source[key];
-1 18417 } else {
-1 18418 target[key] = deepMerge(target[key], source[key]);
-1 18419 }
-1 18420 }
-1 18421 });
-1 18422 return target;
-1 18423 }
-1 18424 __webpack_exports__['default'] = deepMerge;
-1 18425 },
-1 18426 './lib/core/utils/dq-element.js': function libCoreUtilsDqElementJs(module, __webpack_exports__, __webpack_require__) {
-1 18427 'use strict';
-1 18428 __webpack_require__.r(__webpack_exports__);
-1 18429 var _get_selector__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/core/utils/get-selector.js');
-1 18430 var _get_ancestry__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/core/utils/get-ancestry.js');
-1 18431 var _get_xpath__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__('./lib/core/utils/get-xpath.js');
-1 18432 function truncate(str, maxLength) {
-1 18433 maxLength = maxLength || 300;
-1 18434 if (str.length > maxLength) {
-1 18435 var index = str.indexOf('>');
-1 18436 str = str.substring(0, index + 1);
-1 18437 }
-1 18438 return str;
-1 18439 }
-1 18440 function getSource(element) {
-1 18441 var source = element.outerHTML;
-1 18442 if (!source && typeof XMLSerializer === 'function') {
-1 18443 source = new XMLSerializer().serializeToString(element);
-1 18444 }
-1 18445 return truncate(source || '');
-1 18446 }
-1 18447 function DqElement(element, options, spec) {
-1 18448 this._fromFrame = !!spec;
-1 18449 this.spec = spec || {};
-1 18450 if (options && options.absolutePaths) {
-1 18451 this._options = {
-1 18452 toRoot: true
-1 18453 };
-1 18454 }
-1 18455 this.source = this.spec.source !== undefined ? this.spec.source : getSource(element);
-1 18456 this._element = element;
-1 18457 }
-1 18458 DqElement.prototype = {
-1 18459 get selector() {
-1 18460 return this.spec.selector || [ Object(_get_selector__WEBPACK_IMPORTED_MODULE_0__['default'])(this.element, this._options) ];
-1 18461 },
-1 18462 get ancestry() {
-1 18463 return this.spec.ancestry || [ Object(_get_ancestry__WEBPACK_IMPORTED_MODULE_1__['default'])(this.element) ];
-1 18464 },
-1 18465 get xpath() {
-1 18466 return this.spec.xpath || [ Object(_get_xpath__WEBPACK_IMPORTED_MODULE_2__['default'])(this.element) ];
-1 18467 },
-1 18468 get element() {
-1 18469 return this._element;
-1 18470 },
-1 18471 get fromFrame() {
-1 18472 return this._fromFrame;
-1 18473 },
-1 18474 toJSON: function toJSON() {
-1 18475 'use strict';
-1 18476 return {
-1 18477 selector: this.selector,
-1 18478 source: this.source,
-1 18479 xpath: this.xpath,
-1 18480 ancestry: this.ancestry
-1 18481 };
-1 18482 }
-1 18483 };
-1 18484 DqElement.fromFrame = function(node, options, frame) {
-1 18485 var spec = _extends({}, node, {
-1 18486 selector: [].concat(_toConsumableArray(frame.selector), _toConsumableArray(node.selector)),
-1 18487 ancestry: [].concat(_toConsumableArray(frame.ancestry), _toConsumableArray(node.ancestry)),
-1 18488 xpath: [].concat(_toConsumableArray(frame.xpath), _toConsumableArray(node.xpath))
-1 18489 });
-1 18490 return new DqElement(frame.element, options, spec);
-1 18491 };
-1 18492 __webpack_exports__['default'] = DqElement;
-1 18493 },
-1 18494 './lib/core/utils/element-matches.js': function libCoreUtilsElementMatchesJs(module, __webpack_exports__, __webpack_require__) {
-1 18495 'use strict';
-1 18496 __webpack_require__.r(__webpack_exports__);
-1 18497 var matchesSelector = function() {
-1 18498 var method;
-1 18499 function getMethod(node) {
-1 18500 var index, candidate, candidates = [ 'matches', 'matchesSelector', 'mozMatchesSelector', 'webkitMatchesSelector', 'msMatchesSelector' ], length = candidates.length;
-1 18501 for (index = 0; index < length; index++) {
-1 18502 candidate = candidates[index];
-1 18503 if (node[candidate]) {
-1 18504 return candidate;
-1 18505 }
-1 18506 }
-1 18507 }
-1 18508 return function(node, selector) {
-1 18509 if (!method || !node[method]) {
-1 18510 method = getMethod(node);
-1 18511 }
-1 18512 if (node[method]) {
-1 18513 return node[method](selector);
-1 18514 }
-1 18515 return false;
-1 18516 };
-1 18517 }();
-1 18518 __webpack_exports__['default'] = matchesSelector;
-1 18519 },
-1 18520 './lib/core/utils/escape-selector.js': function libCoreUtilsEscapeSelectorJs(module, __webpack_exports__, __webpack_require__) {
-1 18521 'use strict';
-1 18522 __webpack_require__.r(__webpack_exports__);
-1 18523 function escapeSelector(value) {
-1 18524 var string = String(value);
-1 18525 var length = string.length;
-1 18526 var index = -1;
-1 18527 var codeUnit;
-1 18528 var result = '';
-1 18529 var firstCodeUnit = string.charCodeAt(0);
-1 18530 while (++index < length) {
-1 18531 codeUnit = string.charCodeAt(index);
-1 18532 if (codeUnit == 0) {
-1 18533 result += '\ufffd';
-1 18534 continue;
-1 18535 }
-1 18536 if (codeUnit >= 1 && codeUnit <= 31 || codeUnit == 127 || index == 0 && codeUnit >= 48 && codeUnit <= 57 || index == 1 && codeUnit >= 48 && codeUnit <= 57 && firstCodeUnit == 45) {
-1 18537 result += '\\' + codeUnit.toString(16) + ' ';
-1 18538 continue;
-1 18539 }
-1 18540 if (index == 0 && length == 1 && codeUnit == 45) {
-1 18541 result += '\\' + string.charAt(index);
-1 18542 continue;
-1 18543 }
-1 18544 if (codeUnit >= 128 || codeUnit == 45 || codeUnit == 95 || codeUnit >= 48 && codeUnit <= 57 || codeUnit >= 65 && codeUnit <= 90 || codeUnit >= 97 && codeUnit <= 122) {
-1 18545 result += string.charAt(index);
-1 18546 continue;
-1 18547 }
-1 18548 result += '\\' + string.charAt(index);
-1 18549 }
-1 18550 return result;
-1 18551 }
-1 18552 __webpack_exports__['default'] = escapeSelector;
-1 18553 },
-1 18554 './lib/core/utils/extend-meta-data.js': function libCoreUtilsExtendMetaDataJs(module, __webpack_exports__, __webpack_require__) {
-1 18555 'use strict';
-1 18556 __webpack_require__.r(__webpack_exports__);
-1 18557 function extendMetaData(to, from) {
-1 18558 Object.assign(to, from);
-1 18559 Object.keys(from).filter(function(prop) {
-1 18560 return typeof from[prop] === 'function';
-1 18561 }).forEach(function(prop) {
-1 18562 to[prop] = null;
-1 18563 try {
-1 18564 to[prop] = from[prop](to);
-1 18565 } catch (e) {}
-1 18566 });
-1 18567 }
-1 18568 __webpack_exports__['default'] = extendMetaData;
-1 18569 },
-1 18570 './lib/core/utils/finalize-result.js': function libCoreUtilsFinalizeResultJs(module, __webpack_exports__, __webpack_require__) {
-1 18571 'use strict';
-1 18572 __webpack_require__.r(__webpack_exports__);
-1 18573 var _aggregate_node_results__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/core/utils/aggregate-node-results.js');
-1 18574 function finalizeRuleResult(ruleResult) {
-1 18575 var rule = axe._audit.rules.find(function(rule) {
-1 18576 return rule.id === ruleResult.id;
-1 18577 });
-1 18578 if (rule && rule.impact) {
-1 18579 ruleResult.nodes.forEach(function(node) {
-1 18580 [ 'any', 'all', 'none' ].forEach(function(checkType) {
-1 18581 (node[checkType] || []).forEach(function(checkResult) {
-1 18582 checkResult.impact = rule.impact;
-1 18583 });
-1 18584 });
-1 18585 });
-1 18586 }
-1 18587 Object.assign(ruleResult, Object(_aggregate_node_results__WEBPACK_IMPORTED_MODULE_0__['default'])(ruleResult.nodes));
-1 18588 delete ruleResult.nodes;
-1 18589 return ruleResult;
-1 18590 }
-1 18591 __webpack_exports__['default'] = finalizeRuleResult;
-1 18592 },
-1 18593 './lib/core/utils/find-by.js': function libCoreUtilsFindByJs(module, __webpack_exports__, __webpack_require__) {
-1 18594 'use strict';
-1 18595 __webpack_require__.r(__webpack_exports__);
-1 18596 function findBy(array, key, value) {
-1 18597 if (Array.isArray(array)) {
-1 18598 return array.find(function(obj) {
-1 18599 return _typeof(obj) === 'object' && obj[key] === value;
-1 18600 });
-1 18601 }
-1 18602 }
-1 18603 __webpack_exports__['default'] = findBy;
-1 18604 },
-1 18605 './lib/core/utils/get-all-checks.js': function libCoreUtilsGetAllChecksJs(module, __webpack_exports__, __webpack_require__) {
-1 18606 'use strict';
-1 18607 __webpack_require__.r(__webpack_exports__);
-1 18608 function getAllChecks(object) {
-1 18609 var result = [];
-1 18610 return result.concat(object.any || []).concat(object.all || []).concat(object.none || []);
-1 18611 }
-1 18612 __webpack_exports__['default'] = getAllChecks;
-1 18613 },
-1 18614 './lib/core/utils/get-ancestry.js': function libCoreUtilsGetAncestryJs(module, __webpack_exports__, __webpack_require__) {
-1 18615 'use strict';
-1 18616 __webpack_require__.r(__webpack_exports__);
-1 18617 __webpack_require__.d(__webpack_exports__, 'default', function() {
-1 18618 return getAncestry;
-1 18619 });
-1 18620 var _get_shadow_selector__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/core/utils/get-shadow-selector.js');
-1 18621 function generateAncestry(node) {
-1 18622 var nodeName = node.nodeName.toLowerCase();
-1 18623 var parent = node.parentElement;
-1 18624 if (!parent) {
-1 18625 return nodeName;
-1 18626 }
-1 18627 var nthChild = '';
-1 18628 if (nodeName !== 'head' && nodeName !== 'body' && parent.children.length > 1) {
-1 18629 var index = Array.prototype.indexOf.call(parent.children, node) + 1;
-1 18630 nthChild = ':nth-child('.concat(index, ')');
-1 18631 }
-1 18632 return generateAncestry(parent) + ' > ' + nodeName + nthChild;
-1 18633 }
-1 18634 function getAncestry(elm, options) {
-1 18635 return Object(_get_shadow_selector__WEBPACK_IMPORTED_MODULE_0__['default'])(generateAncestry, elm, options);
-1 18636 }
-1 18637 },
-1 18638 './lib/core/utils/get-base-lang.js': function libCoreUtilsGetBaseLangJs(module, __webpack_exports__, __webpack_require__) {
-1 18639 'use strict';
-1 18640 __webpack_require__.r(__webpack_exports__);
-1 18641 function getBaseLang(lang) {
-1 18642 if (!lang) {
-1 18643 return '';
-1 18644 }
-1 18645 return lang.trim().split('-')[0].toLowerCase();
-1 18646 }
-1 18647 __webpack_exports__['default'] = getBaseLang;
-1 18648 },
-1 18649 './lib/core/utils/get-check-message.js': function libCoreUtilsGetCheckMessageJs(module, __webpack_exports__, __webpack_require__) {
-1 18650 'use strict';
-1 18651 __webpack_require__.r(__webpack_exports__);
-1 18652 var _process_message__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/core/utils/process-message.js');
-1 18653 function getCheckMessage(checkId, type, data) {
-1 18654 var check = axe._audit.data.checks[checkId];
-1 18655 if (!check) {
-1 18656 throw new Error('Cannot get message for unknown check: '.concat(checkId, '.'));
-1 18657 }
-1 18658 if (!check.messages[type]) {
-1 18659 throw new Error('Check "'.concat(checkId, '"" does not have a "').concat(type, '" message.'));
-1 18660 }
-1 18661 return Object(_process_message__WEBPACK_IMPORTED_MODULE_0__['default'])(check.messages[type], data);
-1 18662 }
-1 18663 __webpack_exports__['default'] = getCheckMessage;
-1 18664 },
-1 18665 './lib/core/utils/get-check-option.js': function libCoreUtilsGetCheckOptionJs(module, __webpack_exports__, __webpack_require__) {
-1 18666 'use strict';
-1 18667 __webpack_require__.r(__webpack_exports__);
-1 18668 function getCheckOption(check, ruleID, options) {
-1 18669 var ruleCheckOption = ((options.rules && options.rules[ruleID] || {}).checks || {})[check.id];
-1 18670 var checkOption = (options.checks || {})[check.id];
-1 18671 var enabled = check.enabled;
-1 18672 var opts = check.options;
-1 18673 if (checkOption) {
-1 18674 if (checkOption.hasOwnProperty('enabled')) {
-1 18675 enabled = checkOption.enabled;
-1 18676 }
-1 18677 if (checkOption.hasOwnProperty('options')) {
-1 18678 opts = checkOption.options;
-1 18679 }
-1 18680 }
-1 18681 if (ruleCheckOption) {
-1 18682 if (ruleCheckOption.hasOwnProperty('enabled')) {
-1 18683 enabled = ruleCheckOption.enabled;
-1 18684 }
-1 18685 if (ruleCheckOption.hasOwnProperty('options')) {
-1 18686 opts = ruleCheckOption.options;
-1 18687 }
-1 18688 }
-1 18689 return {
-1 18690 enabled: enabled,
-1 18691 options: opts,
-1 18692 absolutePaths: options.absolutePaths
-1 18693 };
-1 18694 }
-1 18695 __webpack_exports__['default'] = getCheckOption;
-1 18696 },
-1 18697 './lib/core/utils/get-flattened-tree.js': function libCoreUtilsGetFlattenedTreeJs(module, __webpack_exports__, __webpack_require__) {
-1 18698 'use strict';
-1 18699 __webpack_require__.r(__webpack_exports__);
-1 18700 var _is_shadow_root__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/core/utils/is-shadow-root.js');
-1 18701 var _base_virtual_node_virtual_node__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/core/base/virtual-node/virtual-node.js');
-1 18702 var _base_cache__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__('./lib/core/base/cache.js');
-1 18703 function getSlotChildren(node) {
-1 18704 var retVal = [];
-1 18705 node = node.firstChild;
-1 18706 while (node) {
-1 18707 retVal.push(node);
-1 18708 node = node.nextSibling;
-1 18709 }
-1 18710 return retVal;
-1 18711 }
-1 18712 function flattenTree(node, shadowId, parent) {
-1 18713 var retVal, realArray, nodeName;
-1 18714 function reduceShadowDOM(res, child, parent) {
-1 18715 var replacements = flattenTree(child, shadowId, parent);
-1 18716 if (replacements) {
-1 18717 res = res.concat(replacements);
-1 18718 }
-1 18719 return res;
-1 18720 }
-1 18721 if (node.documentElement) {
-1 18722 node = node.documentElement;
-1 18723 }
-1 18724 nodeName = node.nodeName.toLowerCase();
-1 18725 if (Object(_is_shadow_root__WEBPACK_IMPORTED_MODULE_0__['default'])(node)) {
-1 18726 retVal = new _base_virtual_node_virtual_node__WEBPACK_IMPORTED_MODULE_1__['default'](node, parent, shadowId);
-1 18727 shadowId = 'a' + Math.random().toString().substring(2);
-1 18728 realArray = Array.from(node.shadowRoot.childNodes);
-1 18729 retVal.children = realArray.reduce(function(res, child) {
-1 18730 return reduceShadowDOM(res, child, retVal);
-1 18731 }, []);
-1 18732 return [ retVal ];
-1 18733 } else {
-1 18734 if (nodeName === 'content' && typeof node.getDistributedNodes === 'function') {
-1 18735 realArray = Array.from(node.getDistributedNodes());
-1 18736 return realArray.reduce(function(res, child) {
-1 18737 return reduceShadowDOM(res, child, parent);
-1 18738 }, []);
-1 18739 } else if (nodeName === 'slot' && typeof node.assignedNodes === 'function') {
-1 18740 realArray = Array.from(node.assignedNodes());
-1 18741 if (!realArray.length) {
-1 18742 realArray = getSlotChildren(node);
-1 18743 }
-1 18744 var styl = window.getComputedStyle(node);
-1 18745 if (false) {} else {
-1 18746 return realArray.reduce(function(res, child) {
-1 18747 return reduceShadowDOM(res, child, parent);
-1 18748 }, []);
-1 18749 }
-1 18750 } else {
-1 18751 if (node.nodeType === 1) {
-1 18752 retVal = new _base_virtual_node_virtual_node__WEBPACK_IMPORTED_MODULE_1__['default'](node, parent, shadowId);
-1 18753 realArray = Array.from(node.childNodes);
-1 18754 retVal.children = realArray.reduce(function(res, child) {
-1 18755 return reduceShadowDOM(res, child, retVal);
-1 18756 }, []);
-1 18757 return [ retVal ];
-1 18758 } else if (node.nodeType === 3) {
-1 18759 return [ new _base_virtual_node_virtual_node__WEBPACK_IMPORTED_MODULE_1__['default'](node, parent) ];
-1 18760 }
-1 18761 return undefined;
-1 18762 }
-1 18763 }
-1 18764 }
-1 18765 function getFlattenedTree() {
-1 18766 var node = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : document.documentElement;
-1 18767 var shadowId = arguments.length > 1 ? arguments[1] : undefined;
-1 18768 _base_cache__WEBPACK_IMPORTED_MODULE_2__['default'].set('nodeMap', new WeakMap());
-1 18769 return flattenTree(node, shadowId, null);
-1 18770 }
-1 18771 __webpack_exports__['default'] = getFlattenedTree;
-1 18772 },
-1 18773 './lib/core/utils/get-friendly-uri-end.js': function libCoreUtilsGetFriendlyUriEndJs(module, __webpack_exports__, __webpack_require__) {
-1 18774 'use strict';
-1 18775 __webpack_require__.r(__webpack_exports__);
-1 18776 function isMostlyNumbers() {
-1 18777 var str = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
-1 18778 return str.length !== 0 && (str.match(/[0-9]/g) || '').length >= str.length / 2;
-1 18779 }
-1 18780 function splitString(str, splitIndex) {
-1 18781 return [ str.substring(0, splitIndex), str.substring(splitIndex) ];
-1 18782 }
-1 18783 function trimRight(str) {
-1 18784 return str.replace(/\s+$/, '');
-1 18785 }
-1 18786 function uriParser(url) {
-1 18787 var original = url;
-1 18788 var protocol = '', domain = '', port = '', path = '', query = '', hash = '';
-1 18789 if (url.includes('#')) {
-1 18790 var _splitString = splitString(url, url.indexOf('#'));
-1 18791 var _splitString2 = _slicedToArray(_splitString, 2);
-1 18792 url = _splitString2[0];
-1 18793 hash = _splitString2[1];
-1 18794 }
-1 18795 if (url.includes('?')) {
-1 18796 var _splitString3 = splitString(url, url.indexOf('?'));
-1 18797 var _splitString4 = _slicedToArray(_splitString3, 2);
-1 18798 url = _splitString4[0];
-1 18799 query = _splitString4[1];
-1 18800 }
-1 18801 if (url.includes('://')) {
-1 18802 var _url$split = url.split('://');
-1 18803 var _url$split2 = _slicedToArray(_url$split, 2);
-1 18804 protocol = _url$split2[0];
-1 18805 url = _url$split2[1];
-1 18806 var _splitString5 = splitString(url, url.indexOf('/'));
-1 18807 var _splitString6 = _slicedToArray(_splitString5, 2);
-1 18808 domain = _splitString6[0];
-1 18809 url = _splitString6[1];
-1 18810 } else if (url.substr(0, 2) === '//') {
-1 18811 url = url.substr(2);
-1 18812 var _splitString7 = splitString(url, url.indexOf('/'));
-1 18813 var _splitString8 = _slicedToArray(_splitString7, 2);
-1 18814 domain = _splitString8[0];
-1 18815 url = _splitString8[1];
-1 18816 }
-1 18817 if (domain.substr(0, 4) === 'www.') {
-1 18818 domain = domain.substr(4);
-1 18819 }
-1 18820 if (domain && domain.includes(':')) {
-1 18821 var _splitString9 = splitString(domain, domain.indexOf(':'));
-1 18822 var _splitString10 = _slicedToArray(_splitString9, 2);
-1 18823 domain = _splitString10[0];
-1 18824 port = _splitString10[1];
-1 18825 }
-1 18826 path = url;
-1 18827 return {
-1 18828 original: original,
-1 18829 protocol: protocol,
-1 18830 domain: domain,
-1 18831 port: port,
-1 18832 path: path,
-1 18833 query: query,
-1 18834 hash: hash
-1 18835 };
-1 18836 }
-1 18837 function getFriendlyUriEnd() {
-1 18838 var uri = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
-1 18839 var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
-1 18840 if (uri.length <= 1 || uri.substr(0, 5) === 'data:' || uri.substr(0, 11) === 'javascript:' || uri.includes('?')) {
-1 18841 return;
-1 18842 }
-1 18843 var currentDomain = options.currentDomain, _options$maxLength = options.maxLength, maxLength = _options$maxLength === void 0 ? 25 : _options$maxLength;
-1 18844 var _uriParser = uriParser(uri), path = _uriParser.path, domain = _uriParser.domain, hash = _uriParser.hash;
-1 18845 var pathEnd = path.substr(path.substr(0, path.length - 2).lastIndexOf('/') + 1);
-1 18846 if (hash) {
-1 18847 if (pathEnd && (pathEnd + hash).length <= maxLength) {
-1 18848 return trimRight(pathEnd + hash);
-1 18849 } else if (pathEnd.length < 2 && hash.length > 2 && hash.length <= maxLength) {
-1 18850 return trimRight(hash);
-1 18851 } else {
-1 18852 return;
-1 18853 }
-1 18854 } else if (domain && domain.length < maxLength && path.length <= 1) {
-1 18855 return trimRight(domain + path);
-1 18856 }
-1 18857 if (path === '/' + pathEnd && domain && currentDomain && domain !== currentDomain && (domain + path).length <= maxLength) {
-1 18858 return trimRight(domain + path);
-1 18859 }
-1 18860 var lastDotIndex = pathEnd.lastIndexOf('.');
-1 18861 if ((lastDotIndex === -1 || lastDotIndex > 1) && (lastDotIndex !== -1 || pathEnd.length > 2) && pathEnd.length <= maxLength && !pathEnd.match(/index(\.[a-zA-Z]{2-4})?/) && !isMostlyNumbers(pathEnd)) {
-1 18862 return trimRight(pathEnd);
-1 18863 }
-1 18864 }
-1 18865 __webpack_exports__['default'] = getFriendlyUriEnd;
-1 18866 },
-1 18867 './lib/core/utils/get-node-attributes.js': function libCoreUtilsGetNodeAttributesJs(module, __webpack_exports__, __webpack_require__) {
-1 18868 'use strict';
-1 18869 __webpack_require__.r(__webpack_exports__);
-1 18870 function getNodeAttributes(node) {
-1 18871 if (node.attributes instanceof window.NamedNodeMap) {
-1 18872 return node.attributes;
-1 18873 }
-1 18874 return node.cloneNode(false).attributes;
-1 18875 }
-1 18876 __webpack_exports__['default'] = getNodeAttributes;
-1 18877 },
-1 18878 './lib/core/utils/get-node-from-tree.js': function libCoreUtilsGetNodeFromTreeJs(module, __webpack_exports__, __webpack_require__) {
-1 18879 'use strict';
-1 18880 __webpack_require__.r(__webpack_exports__);
-1 18881 var _base_cache__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/core/base/cache.js');
-1 18882 function getNodeFromTree(vNode, node) {
-1 18883 var el = node || vNode;
-1 18884 return _base_cache__WEBPACK_IMPORTED_MODULE_0__['default'].get('nodeMap') ? _base_cache__WEBPACK_IMPORTED_MODULE_0__['default'].get('nodeMap').get(el) : null;
-1 18885 }
-1 18886 __webpack_exports__['default'] = getNodeFromTree;
-1 18887 },
-1 18888 './lib/core/utils/get-root-node.js': function libCoreUtilsGetRootNodeJs(module, __webpack_exports__, __webpack_require__) {
-1 18889 'use strict';
-1 18890 __webpack_require__.r(__webpack_exports__);
-1 18891 function getRootNode(node) {
-1 18892 var doc = node.getRootNode && node.getRootNode() || document;
-1 18893 if (doc === node) {
-1 18894 doc = document;
-1 18895 }
-1 18896 return doc;
-1 18897 }
-1 18898 __webpack_exports__['default'] = getRootNode;
-1 18899 },
-1 18900 './lib/core/utils/get-scroll-state.js': function libCoreUtilsGetScrollStateJs(module, __webpack_exports__, __webpack_require__) {
-1 18901 'use strict';
-1 18902 __webpack_require__.r(__webpack_exports__);
-1 18903 var _get_scroll__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/core/utils/get-scroll.js');
-1 18904 function getElmScrollRecursive(root) {
-1 18905 return Array.from(root.children || root.childNodes || []).reduce(function(scrolls, elm) {
-1 18906 var scroll = Object(_get_scroll__WEBPACK_IMPORTED_MODULE_0__['default'])(elm);
-1 18907 if (scroll) {
-1 18908 scrolls.push(scroll);
-1 18909 }
-1 18910 return scrolls.concat(getElmScrollRecursive(elm));
-1 18911 }, []);
-1 18912 }
-1 18913 function getScrollState() {
-1 18914 var win = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : window;
-1 18915 var root = win.document.documentElement;
-1 18916 var windowScroll = [ win.pageXOffset !== undefined ? {
-1 18917 elm: win,
-1 18918 top: win.pageYOffset,
-1 18919 left: win.pageXOffset
-1 18920 } : {
-1 18921 elm: root,
-1 18922 top: root.scrollTop,
-1 18923 left: root.scrollLeft
-1 18924 } ];
-1 18925 return windowScroll.concat(getElmScrollRecursive(document.body));
-1 18926 }
-1 18927 __webpack_exports__['default'] = getScrollState;
-1 18928 },
-1 18929 './lib/core/utils/get-scroll.js': function libCoreUtilsGetScrollJs(module, __webpack_exports__, __webpack_require__) {
-1 18930 'use strict';
-1 18931 __webpack_require__.r(__webpack_exports__);
-1 18932 function getScroll(elm) {
-1 18933 var buffer = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
-1 18934 var overflowX = elm.scrollWidth > elm.clientWidth + buffer;
-1 18935 var overflowY = elm.scrollHeight > elm.clientHeight + buffer;
-1 18936 if (!(overflowX || overflowY)) {
-1 18937 return;
-1 18938 }
-1 18939 var style = window.getComputedStyle(elm);
-1 18940 var overflowXStyle = style.getPropertyValue('overflow-x');
-1 18941 var overflowYStyle = style.getPropertyValue('overflow-y');
-1 18942 var scrollableX = overflowXStyle !== 'visible' && overflowXStyle !== 'hidden';
-1 18943 var scrollableY = overflowYStyle !== 'visible' && overflowYStyle !== 'hidden';
-1 18944 if (overflowX && scrollableX || overflowY && scrollableY) {
-1 18945 return {
-1 18946 elm: elm,
-1 18947 top: elm.scrollTop,
-1 18948 left: elm.scrollLeft
-1 18949 };
-1 18950 }
-1 18951 }
-1 18952 __webpack_exports__['default'] = getScroll;
-1 18953 },
-1 18954 './lib/core/utils/get-selector.js': function libCoreUtilsGetSelectorJs(module, __webpack_exports__, __webpack_require__) {
-1 18955 'use strict';
-1 18956 __webpack_require__.r(__webpack_exports__);
-1 18957 __webpack_require__.d(__webpack_exports__, 'getSelectorData', function() {
-1 18958 return getSelectorData;
-1 18959 });
-1 18960 __webpack_require__.d(__webpack_exports__, 'default', function() {
-1 18961 return getSelector;
-1 18962 });
-1 18963 var _escape_selector__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/core/utils/escape-selector.js');
-1 18964 var _get_friendly_uri_end__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/core/utils/get-friendly-uri-end.js');
-1 18965 var _get_node_attributes__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__('./lib/core/utils/get-node-attributes.js');
-1 18966 var _element_matches__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__('./lib/core/utils/element-matches.js');
-1 18967 var _is_xhtml__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__('./lib/core/utils/is-xhtml.js');
-1 18968 var _get_shadow_selector__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__('./lib/core/utils/get-shadow-selector.js');
-1 18969 var xhtml;
-1 18970 var ignoredAttributes = [ 'class', 'style', 'id', 'selected', 'checked', 'disabled', 'tabindex', 'aria-checked', 'aria-selected', 'aria-invalid', 'aria-activedescendant', 'aria-busy', 'aria-disabled', 'aria-expanded', 'aria-grabbed', 'aria-pressed', 'aria-valuenow' ];
-1 18971 var MAXATTRIBUTELENGTH = 31;
-1 18972 function getAttributeNameValue(node, at) {
-1 18973 var name = at.name;
-1 18974 var atnv;
-1 18975 if (name.indexOf('href') !== -1 || name.indexOf('src') !== -1) {
-1 18976 var friendly = Object(_get_friendly_uri_end__WEBPACK_IMPORTED_MODULE_1__['default'])(node.getAttribute(name));
-1 18977 if (friendly) {
-1 18978 var value = encodeURI(friendly);
-1 18979 if (value) {
-1 18980 atnv = Object(_escape_selector__WEBPACK_IMPORTED_MODULE_0__['default'])(at.name) + '$="' + Object(_escape_selector__WEBPACK_IMPORTED_MODULE_0__['default'])(value) + '"';
-1 18981 } else {
-1 18982 return;
-1 18983 }
-1 18984 } else {
-1 18985 atnv = Object(_escape_selector__WEBPACK_IMPORTED_MODULE_0__['default'])(at.name) + '="' + Object(_escape_selector__WEBPACK_IMPORTED_MODULE_0__['default'])(node.getAttribute(name)) + '"';
-1 18986 }
-1 18987 } else {
-1 18988 atnv = Object(_escape_selector__WEBPACK_IMPORTED_MODULE_0__['default'])(name) + '="' + Object(_escape_selector__WEBPACK_IMPORTED_MODULE_0__['default'])(at.value) + '"';
-1 18989 }
-1 18990 return atnv;
-1 18991 }
-1 18992 function countSort(a, b) {
-1 18993 return a.count < b.count ? -1 : a.count === b.count ? 0 : 1;
-1 18994 }
-1 18995 function filterAttributes(at) {
-1 18996 return !ignoredAttributes.includes(at.name) && at.name.indexOf(':') === -1 && (!at.value || at.value.length < MAXATTRIBUTELENGTH);
-1 18997 }
-1 18998 function getSelectorData(domTree) {
-1 18999 var data = {
-1 19000 classes: {},
-1 19001 tags: {},
-1 19002 attributes: {}
-1 19003 };
-1 19004 domTree = Array.isArray(domTree) ? domTree : [ domTree ];
-1 19005 var currentLevel = domTree.slice();
-1 19006 var stack = [];
-1 19007 var _loop4 = function _loop4() {
-1 19008 var current = currentLevel.pop();
-1 19009 var node = current.actualNode;
-1 19010 if (!!node.querySelectorAll) {
-1 19011 var tag = node.nodeName;
-1 19012 if (data.tags[tag]) {
-1 19013 data.tags[tag]++;
-1 19014 } else {
-1 19015 data.tags[tag] = 1;
-1 19016 }
-1 19017 if (node.classList) {
-1 19018 Array.from(node.classList).forEach(function(cl) {
-1 19019 var ind = Object(_escape_selector__WEBPACK_IMPORTED_MODULE_0__['default'])(cl);
-1 19020 if (data.classes[ind]) {
-1 19021 data.classes[ind]++;
-1 19022 } else {
-1 19023 data.classes[ind] = 1;
-1 19024 }
-1 19025 });
-1 19026 }
-1 19027 if (node.hasAttributes()) {
-1 19028 Array.from(Object(_get_node_attributes__WEBPACK_IMPORTED_MODULE_2__['default'])(node)).filter(filterAttributes).forEach(function(at) {
-1 19029 var atnv = getAttributeNameValue(node, at);
-1 19030 if (atnv) {
-1 19031 if (data.attributes[atnv]) {
-1 19032 data.attributes[atnv]++;
-1 19033 } else {
-1 19034 data.attributes[atnv] = 1;
-1 19035 }
-1 19036 }
-1 19037 });
-1 19038 }
-1 19039 }
-1 19040 if (current.children.length) {
-1 19041 stack.push(currentLevel);
-1 19042 currentLevel = current.children.slice();
-1 19043 }
-1 19044 while (!currentLevel.length && stack.length) {
-1 19045 currentLevel = stack.pop();
-1 19046 }
-1 19047 };
-1 19048 while (currentLevel.length) {
-1 19049 _loop4();
-1 19050 }
-1 19051 return data;
-1 19052 }
-1 19053 function uncommonClasses(node, selectorData) {
-1 19054 var retVal = [];
-1 19055 var classData = selectorData.classes;
-1 19056 var tagData = selectorData.tags;
-1 19057 if (node.classList) {
-1 19058 Array.from(node.classList).forEach(function(cl) {
-1 19059 var ind = Object(_escape_selector__WEBPACK_IMPORTED_MODULE_0__['default'])(cl);
-1 19060 if (classData[ind] < tagData[node.nodeName]) {
-1 19061 retVal.push({
-1 19062 name: ind,
-1 19063 count: classData[ind],
-1 19064 species: 'class'
-1 19065 });
-1 19066 }
-1 19067 });
-1 19068 }
-1 19069 return retVal.sort(countSort);
-1 19070 }
-1 19071 function getNthChildString(elm, selector) {
-1 19072 var siblings = elm.parentNode && Array.from(elm.parentNode.children || '') || [];
-1 19073 var hasMatchingSiblings = siblings.find(function(sibling) {
-1 19074 return sibling !== elm && Object(_element_matches__WEBPACK_IMPORTED_MODULE_3__['default'])(sibling, selector);
-1 19075 });
-1 19076 if (hasMatchingSiblings) {
-1 19077 var nthChild = 1 + siblings.indexOf(elm);
-1 19078 return ':nth-child(' + nthChild + ')';
-1 19079 } else {
-1 19080 return '';
-1 19081 }
-1 19082 }
-1 19083 function getElmId(elm) {
-1 19084 if (!elm.getAttribute('id')) {
-1 19085 return;
-1 19086 }
-1 19087 var doc = elm.getRootNode && elm.getRootNode() || document;
-1 19088 var id = '#' + Object(_escape_selector__WEBPACK_IMPORTED_MODULE_0__['default'])(elm.getAttribute('id') || '');
-1 19089 if (!id.match(/player_uid_/) && doc.querySelectorAll(id).length === 1) {
-1 19090 return id;
-1 19091 }
-1 19092 }
-1 19093 function getBaseSelector(elm) {
-1 19094 if (typeof xhtml === 'undefined') {
-1 19095 xhtml = Object(_is_xhtml__WEBPACK_IMPORTED_MODULE_4__['default'])(document);
-1 19096 }
-1 19097 return Object(_escape_selector__WEBPACK_IMPORTED_MODULE_0__['default'])(xhtml ? elm.localName : elm.nodeName.toLowerCase());
-1 19098 }
-1 19099 function uncommonAttributes(node, selectorData) {
-1 19100 var retVal = [];
-1 19101 var attData = selectorData.attributes;
-1 19102 var tagData = selectorData.tags;
-1 19103 if (node.hasAttributes()) {
-1 19104 Array.from(Object(_get_node_attributes__WEBPACK_IMPORTED_MODULE_2__['default'])(node)).filter(filterAttributes).forEach(function(at) {
-1 19105 var atnv = getAttributeNameValue(node, at);
-1 19106 if (atnv && attData[atnv] < tagData[node.nodeName]) {
-1 19107 retVal.push({
-1 19108 name: atnv,
-1 19109 count: attData[atnv],
-1 19110 species: 'attribute'
-1 19111 });
-1 19112 }
-1 19113 });
-1 19114 }
-1 19115 return retVal.sort(countSort);
-1 19116 }
-1 19117 function getThreeLeastCommonFeatures(elm, selectorData) {
-1 19118 var selector = '';
-1 19119 var features;
-1 19120 var clss = uncommonClasses(elm, selectorData);
-1 19121 var atts = uncommonAttributes(elm, selectorData);
-1 19122 if (clss.length && clss[0].count === 1) {
-1 19123 features = [ clss[0] ];
-1 19124 } else if (atts.length && atts[0].count === 1) {
-1 19125 features = [ atts[0] ];
-1 19126 selector = getBaseSelector(elm);
-1 19127 } else {
-1 19128 features = clss.concat(atts);
-1 19129 features.sort(countSort);
-1 19130 features = features.slice(0, 3);
-1 19131 if (!features.some(function(feat) {
-1 19132 return feat.species === 'class';
-1 19133 })) {
-1 19134 selector = getBaseSelector(elm);
-1 19135 } else {
-1 19136 features.sort(function(a, b) {
-1 19137 return a.species !== b.species && a.species === 'class' ? -1 : a.species === b.species ? 0 : 1;
-1 19138 });
-1 19139 }
-1 19140 }
-1 19141 return selector += features.reduce(function(val, feat) {
-1 19142 switch (feat.species) {
-1 19143 case 'class':
-1 19144 return val + '.' + feat.name;
-1 19145
-1 19146 case 'attribute':
-1 19147 return val + '[' + feat.name + ']';
-1 19148 }
-1 19149 return val;
-1 19150 }, '');
-1 19151 }
-1 19152 function generateSelector(elm, options, doc) {
-1 19153 if (!axe._selectorData) {
-1 19154 throw new Error('Expect axe._selectorData to be set up');
-1 19155 }
-1 19156 var _options$toRoot = options.toRoot, toRoot = _options$toRoot === void 0 ? false : _options$toRoot;
-1 19157 var selector;
-1 19158 var similar;
-1 19159 do {
-1 19160 var features = getElmId(elm);
-1 19161 if (!features) {
-1 19162 features = getThreeLeastCommonFeatures(elm, axe._selectorData);
-1 19163 features += getNthChildString(elm, features);
-1 19164 }
-1 19165 if (selector) {
-1 19166 selector = features + ' > ' + selector;
-1 19167 } else {
-1 19168 selector = features;
-1 19169 }
-1 19170 if (!similar) {
-1 19171 similar = Array.from(doc.querySelectorAll(selector));
-1 19172 } else {
-1 19173 similar = similar.filter(function(item) {
-1 19174 return Object(_element_matches__WEBPACK_IMPORTED_MODULE_3__['default'])(item, selector);
-1 19175 });
-1 19176 }
-1 19177 elm = elm.parentElement;
-1 19178 } while ((similar.length > 1 || toRoot) && elm && elm.nodeType !== 11);
-1 19179 if (similar.length === 1) {
-1 19180 return selector;
-1 19181 } else if (selector.indexOf(' > ') !== -1) {
-1 19182 return ':root' + selector.substring(selector.indexOf(' > '));
-1 19183 }
-1 19184 return ':root';
-1 19185 }
-1 19186 function getSelector(elm, options) {
-1 19187 return Object(_get_shadow_selector__WEBPACK_IMPORTED_MODULE_5__['default'])(generateSelector, elm, options);
-1 19188 }
-1 19189 },
-1 19190 './lib/core/utils/get-shadow-selector.js': function libCoreUtilsGetShadowSelectorJs(module, __webpack_exports__, __webpack_require__) {
-1 19191 'use strict';
-1 19192 __webpack_require__.r(__webpack_exports__);
-1 19193 function getShadowSelector(generateSelector, elm) {
-1 19194 var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
-1 19195 if (!elm) {
-1 19196 return '';
-1 19197 }
-1 19198 var doc = elm.getRootNode && elm.getRootNode() || document;
-1 19199 if (doc.nodeType !== 11) {
-1 19200 return generateSelector(elm, options, doc);
-1 19201 }
-1 19202 var stack = [];
-1 19203 while (doc.nodeType === 11) {
-1 19204 if (!doc.host) {
-1 19205 return '';
-1 19206 }
-1 19207 stack.unshift({
-1 19208 elm: elm,
-1 19209 doc: doc
-1 19210 });
-1 19211 elm = doc.host;
-1 19212 doc = elm.getRootNode();
-1 19213 }
-1 19214 stack.unshift({
-1 19215 elm: elm,
-1 19216 doc: doc
-1 19217 });
-1 19218 return stack.map(function(_ref55) {
-1 19219 var elm = _ref55.elm, doc = _ref55.doc;
-1 19220 return generateSelector(elm, options, doc);
-1 19221 });
-1 19222 }
-1 19223 __webpack_exports__['default'] = getShadowSelector;
-1 19224 },
-1 19225 './lib/core/utils/get-stylesheet-factory.js': function libCoreUtilsGetStylesheetFactoryJs(module, __webpack_exports__, __webpack_require__) {
-1 19226 'use strict';
-1 19227 __webpack_require__.r(__webpack_exports__);
-1 19228 function getStyleSheetFactory(dynamicDoc) {
-1 19229 if (!dynamicDoc) {
-1 19230 throw new Error('axe.utils.getStyleSheetFactory should be invoked with an argument');
-1 19231 }
-1 19232 return function(options) {
-1 19233 var data = options.data, _options$isCrossOrigi = options.isCrossOrigin, isCrossOrigin = _options$isCrossOrigi === void 0 ? false : _options$isCrossOrigi, shadowId = options.shadowId, root = options.root, priority = options.priority, _options$isLink = options.isLink, isLink = _options$isLink === void 0 ? false : _options$isLink;
-1 19234 var style = dynamicDoc.createElement('style');
-1 19235 if (isLink) {
-1 19236 var text = dynamicDoc.createTextNode('@import "'.concat(data.href, '"'));
-1 19237 style.appendChild(text);
-1 19238 } else {
-1 19239 style.appendChild(dynamicDoc.createTextNode(data));
-1 19240 }
-1 19241 dynamicDoc.head.appendChild(style);
-1 19242 return {
-1 19243 sheet: style.sheet,
-1 19244 isCrossOrigin: isCrossOrigin,
-1 19245 shadowId: shadowId,
-1 19246 root: root,
-1 19247 priority: priority
-1 19248 };
-1 19249 };
-1 19250 }
-1 19251 __webpack_exports__['default'] = getStyleSheetFactory;
-1 19252 },
-1 19253 './lib/core/utils/get-xpath.js': function libCoreUtilsGetXpathJs(module, __webpack_exports__, __webpack_require__) {
-1 19254 'use strict';
-1 19255 __webpack_require__.r(__webpack_exports__);
-1 19256 var _escape_selector__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/core/utils/escape-selector.js');
-1 19257 function getXPathArray(node, path) {
-1 19258 var sibling, count;
-1 19259 if (!node) {
-1 19260 return [];
-1 19261 }
-1 19262 if (!path && node.nodeType === 9) {
-1 19263 path = [ {
-1 19264 str: 'html'
-1 19265 } ];
-1 19266 return path;
-1 19267 }
-1 19268 path = path || [];
-1 19269 if (node.parentNode && node.parentNode !== node) {
-1 19270 path = getXPathArray(node.parentNode, path);
-1 19271 }
-1 19272 if (node.previousSibling) {
-1 19273 count = 1;
-1 19274 sibling = node.previousSibling;
-1 19275 do {
-1 19276 if (sibling.nodeType === 1 && sibling.nodeName === node.nodeName) {
-1 19277 count++;
-1 19278 }
-1 19279 sibling = sibling.previousSibling;
-1 19280 } while (sibling);
-1 19281 if (count === 1) {
-1 19282 count = null;
-1 19283 }
-1 19284 } else if (node.nextSibling) {
-1 19285 sibling = node.nextSibling;
-1 19286 do {
-1 19287 if (sibling.nodeType === 1 && sibling.nodeName === node.nodeName) {
-1 19288 count = 1;
-1 19289 sibling = null;
-1 19290 } else {
-1 19291 count = null;
-1 19292 sibling = sibling.previousSibling;
-1 19293 }
-1 19294 } while (sibling);
-1 19295 }
-1 19296 if (node.nodeType === 1) {
-1 19297 var element = {};
-1 19298 element.str = node.nodeName.toLowerCase();
-1 19299 var id = node.getAttribute && Object(_escape_selector__WEBPACK_IMPORTED_MODULE_0__['default'])(node.getAttribute('id'));
-1 19300 if (id && node.ownerDocument.querySelectorAll('#' + id).length === 1) {
-1 19301 element.id = node.getAttribute('id');
-1 19302 }
-1 19303 if (count > 1) {
-1 19304 element.count = count;
-1 19305 }
-1 19306 path.push(element);
-1 19307 }
-1 19308 return path;
-1 19309 }
-1 19310 function xpathToString(xpathArray) {
-1 19311 return xpathArray.reduce(function(str, elm) {
-1 19312 if (elm.id) {
-1 19313 return '/'.concat(elm.str, '[@id=\'').concat(elm.id, '\']');
-1 19314 } else {
-1 19315 return str + '/'.concat(elm.str) + (elm.count > 0 ? '['.concat(elm.count, ']') : '');
-1 19316 }
-1 19317 }, '');
-1 19318 }
-1 19319 function getXpath(node) {
-1 19320 var xpathArray = getXPathArray(node);
-1 19321 return xpathToString(xpathArray);
-1 19322 }
-1 19323 __webpack_exports__['default'] = getXpath;
-1 19324 },
-1 19325 './lib/core/utils/index.js': function libCoreUtilsIndexJs(module, __webpack_exports__, __webpack_require__) {
-1 19326 'use strict';
-1 19327 __webpack_require__.r(__webpack_exports__);
-1 19328 var _aggregate__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/core/utils/aggregate.js');
-1 19329 __webpack_require__.d(__webpack_exports__, 'aggregate', function() {
-1 19330 return _aggregate__WEBPACK_IMPORTED_MODULE_0__['default'];
-1 19331 });
-1 19332 var _aggregate_checks__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/core/utils/aggregate-checks.js');
-1 19333 __webpack_require__.d(__webpack_exports__, 'aggregateChecks', function() {
-1 19334 return _aggregate_checks__WEBPACK_IMPORTED_MODULE_1__['default'];
-1 19335 });
-1 19336 var _aggregate_node_results__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__('./lib/core/utils/aggregate-node-results.js');
-1 19337 __webpack_require__.d(__webpack_exports__, 'aggregateNodeResults', function() {
-1 19338 return _aggregate_node_results__WEBPACK_IMPORTED_MODULE_2__['default'];
-1 19339 });
-1 19340 var _aggregate_result__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__('./lib/core/utils/aggregate-result.js');
-1 19341 __webpack_require__.d(__webpack_exports__, 'aggregateResult', function() {
-1 19342 return _aggregate_result__WEBPACK_IMPORTED_MODULE_3__['default'];
-1 19343 });
-1 19344 var _are_styles_set__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__('./lib/core/utils/are-styles-set.js');
-1 19345 __webpack_require__.d(__webpack_exports__, 'areStylesSet', function() {
-1 19346 return _are_styles_set__WEBPACK_IMPORTED_MODULE_4__['default'];
-1 19347 });
-1 19348 var _assert__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__('./lib/core/utils/assert.js');
-1 19349 __webpack_require__.d(__webpack_exports__, 'assert', function() {
-1 19350 return _assert__WEBPACK_IMPORTED_MODULE_5__['default'];
-1 19351 });
-1 19352 var _check_helper__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__('./lib/core/utils/check-helper.js');
-1 19353 __webpack_require__.d(__webpack_exports__, 'checkHelper', function() {
-1 19354 return _check_helper__WEBPACK_IMPORTED_MODULE_6__['default'];
-1 19355 });
-1 19356 var _clone__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__('./lib/core/utils/clone.js');
-1 19357 __webpack_require__.d(__webpack_exports__, 'clone', function() {
-1 19358 return _clone__WEBPACK_IMPORTED_MODULE_7__['default'];
-1 19359 });
-1 19360 var _closest__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__('./lib/core/utils/closest.js');
-1 19361 __webpack_require__.d(__webpack_exports__, 'closest', function() {
-1 19362 return _closest__WEBPACK_IMPORTED_MODULE_8__['default'];
-1 19363 });
-1 19364 var _collect_results_from_frames__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__('./lib/core/utils/collect-results-from-frames.js');
-1 19365 __webpack_require__.d(__webpack_exports__, 'collectResultsFromFrames', function() {
-1 19366 return _collect_results_from_frames__WEBPACK_IMPORTED_MODULE_9__['default'];
-1 19367 });
-1 19368 var _contains__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__('./lib/core/utils/contains.js');
-1 19369 __webpack_require__.d(__webpack_exports__, 'contains', function() {
-1 19370 return _contains__WEBPACK_IMPORTED_MODULE_10__['default'];
-1 19371 });
-1 19372 var _css_parser__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__('./lib/core/utils/css-parser.js');
-1 19373 __webpack_require__.d(__webpack_exports__, 'cssParser', function() {
-1 19374 return _css_parser__WEBPACK_IMPORTED_MODULE_11__['default'];
-1 19375 });
-1 19376 var _deep_merge__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__('./lib/core/utils/deep-merge.js');
-1 19377 __webpack_require__.d(__webpack_exports__, 'deepMerge', function() {
-1 19378 return _deep_merge__WEBPACK_IMPORTED_MODULE_12__['default'];
-1 19379 });
-1 19380 var _dq_element__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__('./lib/core/utils/dq-element.js');
-1 19381 __webpack_require__.d(__webpack_exports__, 'DqElement', function() {
-1 19382 return _dq_element__WEBPACK_IMPORTED_MODULE_13__['default'];
-1 19383 });
-1 19384 var _element_matches__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__('./lib/core/utils/element-matches.js');
-1 19385 __webpack_require__.d(__webpack_exports__, 'matchesSelector', function() {
-1 19386 return _element_matches__WEBPACK_IMPORTED_MODULE_14__['default'];
-1 19387 });
-1 19388 var _escape_selector__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__('./lib/core/utils/escape-selector.js');
-1 19389 __webpack_require__.d(__webpack_exports__, 'escapeSelector', function() {
-1 19390 return _escape_selector__WEBPACK_IMPORTED_MODULE_15__['default'];
-1 19391 });
-1 19392 var _extend_meta_data__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__('./lib/core/utils/extend-meta-data.js');
-1 19393 __webpack_require__.d(__webpack_exports__, 'extendMetaData', function() {
-1 19394 return _extend_meta_data__WEBPACK_IMPORTED_MODULE_16__['default'];
-1 19395 });
-1 19396 var _finalize_result__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__('./lib/core/utils/finalize-result.js');
-1 19397 __webpack_require__.d(__webpack_exports__, 'finalizeRuleResult', function() {
-1 19398 return _finalize_result__WEBPACK_IMPORTED_MODULE_17__['default'];
-1 19399 });
-1 19400 var _find_by__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__('./lib/core/utils/find-by.js');
-1 19401 __webpack_require__.d(__webpack_exports__, 'findBy', function() {
-1 19402 return _find_by__WEBPACK_IMPORTED_MODULE_18__['default'];
-1 19403 });
-1 19404 var _get_flattened_tree__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__('./lib/core/utils/get-flattened-tree.js');
-1 19405 __webpack_require__.d(__webpack_exports__, 'getFlattenedTree', function() {
-1 19406 return _get_flattened_tree__WEBPACK_IMPORTED_MODULE_19__['default'];
-1 19407 });
-1 19408 var _get_all_checks__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__('./lib/core/utils/get-all-checks.js');
-1 19409 __webpack_require__.d(__webpack_exports__, 'getAllChecks', function() {
-1 19410 return _get_all_checks__WEBPACK_IMPORTED_MODULE_20__['default'];
-1 19411 });
-1 19412 var _get_base_lang__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__('./lib/core/utils/get-base-lang.js');
-1 19413 __webpack_require__.d(__webpack_exports__, 'getBaseLang', function() {
-1 19414 return _get_base_lang__WEBPACK_IMPORTED_MODULE_21__['default'];
-1 19415 });
-1 19416 var _get_check_message__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__('./lib/core/utils/get-check-message.js');
-1 19417 __webpack_require__.d(__webpack_exports__, 'getCheckMessage', function() {
-1 19418 return _get_check_message__WEBPACK_IMPORTED_MODULE_22__['default'];
-1 19419 });
-1 19420 var _get_check_option__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__('./lib/core/utils/get-check-option.js');
-1 19421 __webpack_require__.d(__webpack_exports__, 'getCheckOption', function() {
-1 19422 return _get_check_option__WEBPACK_IMPORTED_MODULE_23__['default'];
-1 19423 });
-1 19424 var _get_friendly_uri_end__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__('./lib/core/utils/get-friendly-uri-end.js');
-1 19425 __webpack_require__.d(__webpack_exports__, 'getFriendlyUriEnd', function() {
-1 19426 return _get_friendly_uri_end__WEBPACK_IMPORTED_MODULE_24__['default'];
-1 19427 });
-1 19428 var _get_node_attributes__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__('./lib/core/utils/get-node-attributes.js');
-1 19429 __webpack_require__.d(__webpack_exports__, 'getNodeAttributes', function() {
-1 19430 return _get_node_attributes__WEBPACK_IMPORTED_MODULE_25__['default'];
-1 19431 });
-1 19432 var _get_node_from_tree__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__('./lib/core/utils/get-node-from-tree.js');
-1 19433 __webpack_require__.d(__webpack_exports__, 'getNodeFromTree', function() {
-1 19434 return _get_node_from_tree__WEBPACK_IMPORTED_MODULE_26__['default'];
-1 19435 });
-1 19436 var _get_root_node__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__('./lib/core/utils/get-root-node.js');
-1 19437 __webpack_require__.d(__webpack_exports__, 'getRootNode', function() {
-1 19438 return _get_root_node__WEBPACK_IMPORTED_MODULE_27__['default'];
-1 19439 });
-1 19440 var _get_scroll_state__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__('./lib/core/utils/get-scroll-state.js');
-1 19441 __webpack_require__.d(__webpack_exports__, 'getScrollState', function() {
-1 19442 return _get_scroll_state__WEBPACK_IMPORTED_MODULE_28__['default'];
-1 19443 });
-1 19444 var _get_scroll__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__('./lib/core/utils/get-scroll.js');
-1 19445 __webpack_require__.d(__webpack_exports__, 'getScroll', function() {
-1 19446 return _get_scroll__WEBPACK_IMPORTED_MODULE_29__['default'];
-1 19447 });
-1 19448 var _get_shadow_selector__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__('./lib/core/utils/get-shadow-selector.js');
-1 19449 __webpack_require__.d(__webpack_exports__, 'getShadowSelector', function() {
-1 19450 return _get_shadow_selector__WEBPACK_IMPORTED_MODULE_30__['default'];
-1 19451 });
-1 19452 var _get_selector__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__('./lib/core/utils/get-selector.js');
-1 19453 __webpack_require__.d(__webpack_exports__, 'getSelector', function() {
-1 19454 return _get_selector__WEBPACK_IMPORTED_MODULE_31__['default'];
-1 19455 });
-1 19456 __webpack_require__.d(__webpack_exports__, 'getSelectorData', function() {
-1 19457 return _get_selector__WEBPACK_IMPORTED_MODULE_31__['getSelectorData'];
-1 19458 });
-1 19459 var _get_stylesheet_factory__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__('./lib/core/utils/get-stylesheet-factory.js');
-1 19460 __webpack_require__.d(__webpack_exports__, 'getStyleSheetFactory', function() {
-1 19461 return _get_stylesheet_factory__WEBPACK_IMPORTED_MODULE_32__['default'];
-1 19462 });
-1 19463 var _get_xpath__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__('./lib/core/utils/get-xpath.js');
-1 19464 __webpack_require__.d(__webpack_exports__, 'getXpath', function() {
-1 19465 return _get_xpath__WEBPACK_IMPORTED_MODULE_33__['default'];
-1 19466 });
-1 19467 var _get_ancestry__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__('./lib/core/utils/get-ancestry.js');
-1 19468 __webpack_require__.d(__webpack_exports__, 'getAncestry', function() {
-1 19469 return _get_ancestry__WEBPACK_IMPORTED_MODULE_34__['default'];
-1 19470 });
-1 19471 var _inject_style__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__('./lib/core/utils/inject-style.js');
-1 19472 __webpack_require__.d(__webpack_exports__, 'injectStyle', function() {
-1 19473 return _inject_style__WEBPACK_IMPORTED_MODULE_35__['default'];
-1 19474 });
-1 19475 var _is_hidden__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__('./lib/core/utils/is-hidden.js');
-1 19476 __webpack_require__.d(__webpack_exports__, 'isHidden', function() {
-1 19477 return _is_hidden__WEBPACK_IMPORTED_MODULE_36__['default'];
-1 19478 });
-1 19479 var _is_html_element__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__('./lib/core/utils/is-html-element.js');
-1 19480 __webpack_require__.d(__webpack_exports__, 'isHtmlElement', function() {
-1 19481 return _is_html_element__WEBPACK_IMPORTED_MODULE_37__['default'];
-1 19482 });
-1 19483 var _is_node_in_context__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__('./lib/core/utils/is-node-in-context.js');
-1 19484 __webpack_require__.d(__webpack_exports__, 'isNodeInContext', function() {
-1 19485 return _is_node_in_context__WEBPACK_IMPORTED_MODULE_38__['default'];
-1 19486 });
-1 19487 var _is_shadow_root__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__('./lib/core/utils/is-shadow-root.js');
-1 19488 __webpack_require__.d(__webpack_exports__, 'isShadowRoot', function() {
-1 19489 return _is_shadow_root__WEBPACK_IMPORTED_MODULE_39__['default'];
-1 19490 });
-1 19491 var _is_xhtml__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__('./lib/core/utils/is-xhtml.js');
-1 19492 __webpack_require__.d(__webpack_exports__, 'isXHTML', function() {
-1 19493 return _is_xhtml__WEBPACK_IMPORTED_MODULE_40__['default'];
-1 19494 });
-1 19495 var _matches__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__('./lib/core/utils/matches.js');
-1 19496 __webpack_require__.d(__webpack_exports__, 'matches', function() {
-1 19497 return _matches__WEBPACK_IMPORTED_MODULE_41__['default'];
-1 19498 });
-1 19499 __webpack_require__.d(__webpack_exports__, 'matchesExpression', function() {
-1 19500 return _matches__WEBPACK_IMPORTED_MODULE_41__['matchesExpression'];
-1 19501 });
-1 19502 __webpack_require__.d(__webpack_exports__, 'convertSelector', function() {
-1 19503 return _matches__WEBPACK_IMPORTED_MODULE_41__['convertSelector'];
-1 19504 });
-1 19505 var _memoize__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__('./lib/core/utils/memoize.js');
-1 19506 __webpack_require__.d(__webpack_exports__, 'memoize', function() {
-1 19507 return _memoize__WEBPACK_IMPORTED_MODULE_42__['default'];
-1 19508 });
-1 19509 var _merge_results__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__('./lib/core/utils/merge-results.js');
-1 19510 __webpack_require__.d(__webpack_exports__, 'mergeResults', function() {
-1 19511 return _merge_results__WEBPACK_IMPORTED_MODULE_43__['default'];
-1 19512 });
-1 19513 var _node_sorter__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__('./lib/core/utils/node-sorter.js');
-1 19514 __webpack_require__.d(__webpack_exports__, 'nodeSorter', function() {
-1 19515 return _node_sorter__WEBPACK_IMPORTED_MODULE_44__['default'];
-1 19516 });
-1 19517 var _parse_crossorigin_stylesheet__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__('./lib/core/utils/parse-crossorigin-stylesheet.js');
-1 19518 __webpack_require__.d(__webpack_exports__, 'parseCrossOriginStylesheet', function() {
-1 19519 return _parse_crossorigin_stylesheet__WEBPACK_IMPORTED_MODULE_45__['default'];
-1 19520 });
-1 19521 var _parse_sameorigin_stylesheet__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__('./lib/core/utils/parse-sameorigin-stylesheet.js');
-1 19522 __webpack_require__.d(__webpack_exports__, 'parseSameOriginStylesheet', function() {
-1 19523 return _parse_sameorigin_stylesheet__WEBPACK_IMPORTED_MODULE_46__['default'];
-1 19524 });
-1 19525 var _parse_stylesheet__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__('./lib/core/utils/parse-stylesheet.js');
-1 19526 __webpack_require__.d(__webpack_exports__, 'parseStylesheet', function() {
-1 19527 return _parse_stylesheet__WEBPACK_IMPORTED_MODULE_47__['default'];
-1 19528 });
-1 19529 var _performance_timer__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__('./lib/core/utils/performance-timer.js');
-1 19530 __webpack_require__.d(__webpack_exports__, 'performanceTimer', function() {
-1 19531 return _performance_timer__WEBPACK_IMPORTED_MODULE_48__['default'];
-1 19532 });
-1 19533 var _pollyfills__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__('./lib/core/utils/pollyfills.js');
-1 19534 __webpack_require__.d(__webpack_exports__, 'pollyfillElementsFromPoint', function() {
-1 19535 return _pollyfills__WEBPACK_IMPORTED_MODULE_49__['pollyfillElementsFromPoint'];
-1 19536 });
-1 19537 var _preload_cssom__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__('./lib/core/utils/preload-cssom.js');
-1 19538 __webpack_require__.d(__webpack_exports__, 'preloadCssom', function() {
-1 19539 return _preload_cssom__WEBPACK_IMPORTED_MODULE_50__['default'];
-1 19540 });
-1 19541 var _preload_media__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__('./lib/core/utils/preload-media.js');
-1 19542 __webpack_require__.d(__webpack_exports__, 'preloadMedia', function() {
-1 19543 return _preload_media__WEBPACK_IMPORTED_MODULE_51__['default'];
-1 19544 });
-1 19545 var _preload__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__('./lib/core/utils/preload.js');
-1 19546 __webpack_require__.d(__webpack_exports__, 'preload', function() {
-1 19547 return _preload__WEBPACK_IMPORTED_MODULE_52__['default'];
-1 19548 });
-1 19549 __webpack_require__.d(__webpack_exports__, 'shouldPreload', function() {
-1 19550 return _preload__WEBPACK_IMPORTED_MODULE_52__['shouldPreload'];
-1 19551 });
-1 19552 __webpack_require__.d(__webpack_exports__, 'getPreloadConfig', function() {
-1 19553 return _preload__WEBPACK_IMPORTED_MODULE_52__['getPreloadConfig'];
-1 19554 });
-1 19555 var _process_message__WEBPACK_IMPORTED_MODULE_53__ = __webpack_require__('./lib/core/utils/process-message.js');
-1 19556 __webpack_require__.d(__webpack_exports__, 'processMessage', function() {
-1 19557 return _process_message__WEBPACK_IMPORTED_MODULE_53__['default'];
-1 19558 });
-1 19559 var _publish_metadata__WEBPACK_IMPORTED_MODULE_54__ = __webpack_require__('./lib/core/utils/publish-metadata.js');
-1 19560 __webpack_require__.d(__webpack_exports__, 'publishMetaData', function() {
-1 19561 return _publish_metadata__WEBPACK_IMPORTED_MODULE_54__['default'];
-1 19562 });
-1 19563 var _query_selector_all_filter__WEBPACK_IMPORTED_MODULE_55__ = __webpack_require__('./lib/core/utils/query-selector-all-filter.js');
-1 19564 __webpack_require__.d(__webpack_exports__, 'querySelectorAllFilter', function() {
-1 19565 return _query_selector_all_filter__WEBPACK_IMPORTED_MODULE_55__['default'];
-1 19566 });
-1 19567 var _query_selector_all__WEBPACK_IMPORTED_MODULE_56__ = __webpack_require__('./lib/core/utils/query-selector-all.js');
-1 19568 __webpack_require__.d(__webpack_exports__, 'querySelectorAll', function() {
-1 19569 return _query_selector_all__WEBPACK_IMPORTED_MODULE_56__['default'];
-1 19570 });
-1 19571 var _queue__WEBPACK_IMPORTED_MODULE_57__ = __webpack_require__('./lib/core/utils/queue.js');
-1 19572 __webpack_require__.d(__webpack_exports__, 'queue', function() {
-1 19573 return _queue__WEBPACK_IMPORTED_MODULE_57__['default'];
-1 19574 });
-1 19575 var _respondable__WEBPACK_IMPORTED_MODULE_58__ = __webpack_require__('./lib/core/utils/respondable.js');
-1 19576 __webpack_require__.d(__webpack_exports__, 'respondable', function() {
-1 19577 return _respondable__WEBPACK_IMPORTED_MODULE_58__['default'];
-1 19578 });
-1 19579 var _rule_should_run__WEBPACK_IMPORTED_MODULE_59__ = __webpack_require__('./lib/core/utils/rule-should-run.js');
-1 19580 __webpack_require__.d(__webpack_exports__, 'ruleShouldRun', function() {
-1 19581 return _rule_should_run__WEBPACK_IMPORTED_MODULE_59__['default'];
-1 19582 });
-1 19583 var _select__WEBPACK_IMPORTED_MODULE_60__ = __webpack_require__('./lib/core/utils/select.js');
-1 19584 __webpack_require__.d(__webpack_exports__, 'select', function() {
-1 19585 return _select__WEBPACK_IMPORTED_MODULE_60__['default'];
-1 19586 });
-1 19587 var _send_command_to_frame__WEBPACK_IMPORTED_MODULE_61__ = __webpack_require__('./lib/core/utils/send-command-to-frame.js');
-1 19588 __webpack_require__.d(__webpack_exports__, 'sendCommandToFrame', function() {
-1 19589 return _send_command_to_frame__WEBPACK_IMPORTED_MODULE_61__['default'];
-1 19590 });
-1 19591 var _set_scroll_state__WEBPACK_IMPORTED_MODULE_62__ = __webpack_require__('./lib/core/utils/set-scroll-state.js');
-1 19592 __webpack_require__.d(__webpack_exports__, 'setScrollState', function() {
-1 19593 return _set_scroll_state__WEBPACK_IMPORTED_MODULE_62__['default'];
-1 19594 });
-1 19595 var _to_array__WEBPACK_IMPORTED_MODULE_63__ = __webpack_require__('./lib/core/utils/to-array.js');
-1 19596 __webpack_require__.d(__webpack_exports__, 'toArray', function() {
-1 19597 return _to_array__WEBPACK_IMPORTED_MODULE_63__['default'];
-1 19598 });
-1 19599 var _token_list__WEBPACK_IMPORTED_MODULE_64__ = __webpack_require__('./lib/core/utils/token-list.js');
-1 19600 __webpack_require__.d(__webpack_exports__, 'tokenList', function() {
-1 19601 return _token_list__WEBPACK_IMPORTED_MODULE_64__['default'];
-1 19602 });
-1 19603 var _unique_array__WEBPACK_IMPORTED_MODULE_65__ = __webpack_require__('./lib/core/utils/unique-array.js');
-1 19604 __webpack_require__.d(__webpack_exports__, 'uniqueArray', function() {
-1 19605 return _unique_array__WEBPACK_IMPORTED_MODULE_65__['default'];
-1 19606 });
-1 19607 var _valid_input_type__WEBPACK_IMPORTED_MODULE_66__ = __webpack_require__('./lib/core/utils/valid-input-type.js');
-1 19608 __webpack_require__.d(__webpack_exports__, 'validInputTypes', function() {
-1 19609 return _valid_input_type__WEBPACK_IMPORTED_MODULE_66__['default'];
-1 19610 });
-1 19611 var _valid_langs__WEBPACK_IMPORTED_MODULE_67__ = __webpack_require__('./lib/core/utils/valid-langs.js');
-1 19612 __webpack_require__.d(__webpack_exports__, 'validLangs', function() {
-1 19613 return _valid_langs__WEBPACK_IMPORTED_MODULE_67__['default'];
-1 19614 });
-1 19615 },
-1 19616 './lib/core/utils/inject-style.js': function libCoreUtilsInjectStyleJs(module, __webpack_exports__, __webpack_require__) {
-1 19617 'use strict';
-1 19618 __webpack_require__.r(__webpack_exports__);
-1 19619 var styleSheet;
-1 19620 function injectStyle(style) {
-1 19621 if (styleSheet && styleSheet.parentNode) {
-1 19622 if (styleSheet.styleSheet === undefined) {
-1 19623 styleSheet.appendChild(document.createTextNode(style));
-1 19624 } else {
-1 19625 styleSheet.styleSheet.cssText += style;
-1 19626 }
-1 19627 return styleSheet;
-1 19628 }
-1 19629 if (!style) {
-1 19630 return;
-1 19631 }
-1 19632 var head = document.head || document.getElementsByTagName('head')[0];
-1 19633 styleSheet = document.createElement('style');
-1 19634 styleSheet.type = 'text/css';
-1 19635 if (styleSheet.styleSheet === undefined) {
-1 19636 styleSheet.appendChild(document.createTextNode(style));
-1 19637 } else {
-1 19638 styleSheet.styleSheet.cssText = style;
-1 19639 }
-1 19640 head.appendChild(styleSheet);
-1 19641 return styleSheet;
-1 19642 }
-1 19643 __webpack_exports__['default'] = injectStyle;
-1 19644 },
-1 19645 './lib/core/utils/is-hidden.js': function libCoreUtilsIsHiddenJs(module, __webpack_exports__, __webpack_require__) {
-1 19646 'use strict';
-1 19647 __webpack_require__.r(__webpack_exports__);
-1 19648 var _get_node_from_tree__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/core/utils/get-node-from-tree.js');
-1 19649 function isHidden(el, recursed) {
-1 19650 var node = Object(_get_node_from_tree__WEBPACK_IMPORTED_MODULE_0__['default'])(el);
-1 19651 if (el.nodeType === 9) {
-1 19652 return false;
-1 19653 }
-1 19654 if (el.nodeType === 11) {
-1 19655 el = el.host;
-1 19656 }
-1 19657 if (node && node._isHidden !== null) {
-1 19658 return node._isHidden;
-1 19659 }
-1 19660 var style = window.getComputedStyle(el, null);
-1 19661 if (!style || !el.parentNode || style.getPropertyValue('display') === 'none' || !recursed && style.getPropertyValue('visibility') === 'hidden' || el.getAttribute('aria-hidden') === 'true') {
-1 19662 return true;
-1 19663 }
-1 19664 var parent = el.assignedSlot ? el.assignedSlot : el.parentNode;
-1 19665 var hidden = isHidden(parent, true);
-1 19666 if (node) {
-1 19667 node._isHidden = hidden;
-1 19668 }
-1 19669 return hidden;
-1 19670 }
-1 19671 __webpack_exports__['default'] = isHidden;
-1 19672 },
-1 19673 './lib/core/utils/is-html-element.js': function libCoreUtilsIsHtmlElementJs(module, __webpack_exports__, __webpack_require__) {
-1 19674 'use strict';
-1 19675 __webpack_require__.r(__webpack_exports__);
-1 19676 var htmlTags = [ 'a', 'abbr', 'address', 'area', 'article', 'aside', 'audio', 'b', 'base', 'bdi', 'bdo', 'blockquote', 'body', 'br', 'button', 'canvas', 'caption', 'cite', 'code', 'col', 'colgroup', 'data', 'datalist', 'dd', 'del', 'details', 'dfn', 'dialog', 'div', 'dl', 'dt', 'em', 'embed', 'fieldset', 'figcaption', 'figure', 'footer', 'form', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'head', 'header', 'hgroup', 'hr', 'html', 'i', 'iframe', 'img', 'input', 'ins', 'kbd', 'keygen', 'label', 'legend', 'li', 'link', 'main', 'map', 'mark', 'math', 'menu', 'menuitem', 'meta', 'meter', 'nav', 'noscript', 'object', 'ol', 'optgroup', 'option', 'output', 'p', 'param', 'picture', 'pre', 'progress', 'q', 'rb', 'rp', 'rt', 'rtc', 'ruby', 's', 'samp', 'script', 'section', 'select', 'slot', 'small', 'source', 'span', 'strong', 'style', 'sub', 'summary', 'sup', 'svg', 'table', 'tbody', 'td', 'template', 'textarea', 'tfoot', 'th', 'thead', 'time', 'title', 'tr', 'track', 'u', 'ul', 'var', 'video', 'wbr' ];
-1 19677 function isHtmlElement(node) {
-1 19678 if (node.namespaceURI === 'http://www.w3.org/2000/svg') {
-1 19679 return false;
-1 19680 }
-1 19681 return htmlTags.includes(node.nodeName.toLowerCase());
-1 19682 }
-1 19683 __webpack_exports__['default'] = isHtmlElement;
-1 19684 },
-1 19685 './lib/core/utils/is-node-in-context.js': function libCoreUtilsIsNodeInContextJs(module, __webpack_exports__, __webpack_require__) {
-1 19686 'use strict';
-1 19687 __webpack_require__.r(__webpack_exports__);
-1 19688 var _contains__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/core/utils/contains.js');
-1 19689 function getDeepest(collection) {
-1 19690 return collection.sort(function(a, b) {
-1 19691 if (Object(_contains__WEBPACK_IMPORTED_MODULE_0__['default'])(a, b)) {
-1 19692 return 1;
-1 19693 }
-1 19694 return -1;
-1 19695 })[0];
-1 19696 }
-1 19697 function isNodeInContext(node, context) {
-1 19698 var include = context.include && getDeepest(context.include.filter(function(candidate) {
-1 19699 return Object(_contains__WEBPACK_IMPORTED_MODULE_0__['default'])(candidate, node);
-1 19700 }));
-1 19701 var exclude = context.exclude && getDeepest(context.exclude.filter(function(candidate) {
-1 19702 return Object(_contains__WEBPACK_IMPORTED_MODULE_0__['default'])(candidate, node);
-1 19703 }));
-1 19704 if (!exclude && include || exclude && Object(_contains__WEBPACK_IMPORTED_MODULE_0__['default'])(exclude, include)) {
-1 19705 return true;
-1 19706 }
-1 19707 return false;
-1 19708 }
-1 19709 __webpack_exports__['default'] = isNodeInContext;
-1 19710 },
-1 19711 './lib/core/utils/is-shadow-root.js': function libCoreUtilsIsShadowRootJs(module, __webpack_exports__, __webpack_require__) {
-1 19712 'use strict';
-1 19713 __webpack_require__.r(__webpack_exports__);
-1 19714 var possibleShadowRoots = [ 'article', 'aside', 'blockquote', 'body', 'div', 'footer', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'header', 'main', 'nav', 'p', 'section', 'span' ];
-1 19715 function isShadowRoot(node) {
-1 19716 if (node.shadowRoot) {
-1 19717 var nodeName = node.nodeName.toLowerCase();
-1 19718 if (possibleShadowRoots.includes(nodeName) || /^[a-z][a-z0-9_.-]*-[a-z0-9_.-]*$/.test(nodeName)) {
-1 19719 return true;
-1 19720 }
-1 19721 }
-1 19722 return false;
-1 19723 }
-1 19724 __webpack_exports__['default'] = isShadowRoot;
-1 19725 },
-1 19726 './lib/core/utils/is-xhtml.js': function libCoreUtilsIsXhtmlJs(module, __webpack_exports__, __webpack_require__) {
-1 19727 'use strict';
-1 19728 __webpack_require__.r(__webpack_exports__);
-1 19729 function isXHTML(doc) {
-1 19730 if (!doc.createElement) {
-1 19731 return false;
-1 19732 }
-1 19733 return doc.createElement('A').localName === 'A';
-1 19734 }
-1 19735 __webpack_exports__['default'] = isXHTML;
-1 19736 },
-1 19737 './lib/core/utils/matches.js': function libCoreUtilsMatchesJs(module, __webpack_exports__, __webpack_require__) {
-1 19738 'use strict';
-1 19739 __webpack_require__.r(__webpack_exports__);
-1 19740 __webpack_require__.d(__webpack_exports__, 'convertSelector', function() {
-1 19741 return convertSelector;
-1 19742 });
-1 19743 __webpack_require__.d(__webpack_exports__, 'matchesExpression', function() {
-1 19744 return matchesExpression;
-1 19745 });
-1 19746 var _css_parser__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/core/utils/css-parser.js');
-1 19747 function matchesTag(vNode, exp) {
-1 19748 return vNode.props.nodeType === 1 && (exp.tag === '*' || vNode.props.nodeName === exp.tag);
-1 19749 }
-1 19750 function matchesClasses(vNode, exp) {
-1 19751 return !exp.classes || exp.classes.every(function(cl) {
-1 19752 return vNode.hasClass(cl.value);
-1 19753 });
-1 19754 }
-1 19755 function matchesAttributes(vNode, exp) {
-1 19756 return !exp.attributes || exp.attributes.every(function(att) {
-1 19757 var nodeAtt = vNode.attr(att.key);
-1 19758 return nodeAtt !== null && (!att.value || att.test(nodeAtt));
-1 19759 });
-1 19760 }
-1 19761 function matchesId(vNode, exp) {
-1 19762 return !exp.id || vNode.props.id === exp.id;
-1 19763 }
-1 19764 function matchesPseudos(target, exp) {
-1 19765 if (!exp.pseudos || exp.pseudos.every(function(pseudo) {
-1 19766 if (pseudo.name === 'not') {
-1 19767 return !matchesExpression(target, pseudo.expressions[0]);
-1 19768 }
-1 19769 throw new Error('the pseudo selector ' + pseudo.name + ' has not yet been implemented');
-1 19770 })) {
-1 19771 return true;
-1 19772 }
-1 19773 return false;
-1 19774 }
-1 19775 function matchExpression(vNode, expression) {
-1 19776 return matchesTag(vNode, expression) && matchesClasses(vNode, expression) && matchesAttributes(vNode, expression) && matchesId(vNode, expression) && matchesPseudos(vNode, expression);
-1 19777 }
-1 19778 var escapeRegExp = function() {
-1 19779 var from = /(?=[\-\[\]{}()*+?.\\\^$|,#\s])/g;
-1 19780 var to = '\\';
-1 19781 return function(string) {
-1 19782 return string.replace(from, to);
-1 19783 };
-1 19784 }();
-1 19785 var reUnescape = /\\/g;
-1 19786 function convertAttributes(atts) {
-1 19787 if (!atts) {
-1 19788 return;
-1 19789 }
-1 19790 return atts.map(function(att) {
-1 19791 var attributeKey = att.name.replace(reUnescape, '');
-1 19792 var attributeValue = (att.value || '').replace(reUnescape, '');
-1 19793 var test, regexp;
-1 19794 switch (att.operator) {
-1 19795 case '^=':
-1 19796 regexp = new RegExp('^' + escapeRegExp(attributeValue));
-1 19797 break;
-1 19798
-1 19799 case '$=':
-1 19800 regexp = new RegExp(escapeRegExp(attributeValue) + '$');
-1 19801 break;
-1 19802
-1 19803 case '~=':
-1 19804 regexp = new RegExp('(^|\\s)' + escapeRegExp(attributeValue) + '(\\s|$)');
-1 19805 break;
-1 19806
-1 19807 case '|=':
-1 19808 regexp = new RegExp('^' + escapeRegExp(attributeValue) + '(-|$)');
-1 19809 break;
-1 19810
-1 19811 case '=':
-1 19812 test = function test(value) {
-1 19813 return attributeValue === value;
-1 19814 };
-1 19815 break;
-1 19816
-1 19817 case '*=':
-1 19818 test = function test(value) {
-1 19819 return value && value.includes(attributeValue);
-1 19820 };
-1 19821 break;
-1 19822
-1 19823 case '!=':
-1 19824 test = function test(value) {
-1 19825 return attributeValue !== value;
-1 19826 };
-1 19827 break;
-1 19828
-1 19829 default:
-1 19830 test = function test(value) {
-1 19831 return !!value;
-1 19832 };
-1 19833 }
-1 19834 if (attributeValue === '' && /^[*$^]=$/.test(att.operator)) {
-1 19835 test = function test() {
-1 19836 return false;
-1 19837 };
-1 19838 }
-1 19839 if (!test) {
-1 19840 test = function test(value) {
-1 19841 return value && regexp.test(value);
-1 19842 };
-1 19843 }
-1 19844 return {
-1 19845 key: attributeKey,
-1 19846 value: attributeValue,
-1 19847 test: test
-1 19848 };
-1 19849 });
-1 19850 }
-1 19851 function convertClasses(classes) {
-1 19852 if (!classes) {
-1 19853 return;
-1 19854 }
-1 19855 return classes.map(function(className) {
-1 19856 className = className.replace(reUnescape, '');
-1 19857 return {
-1 19858 value: className,
-1 19859 regexp: new RegExp('(^|\\s)' + escapeRegExp(className) + '(\\s|$)')
-1 19860 };
-1 19861 });
-1 19862 }
-1 19863 function convertPseudos(pseudos) {
-1 19864 if (!pseudos) {
-1 19865 return;
-1 19866 }
-1 19867 return pseudos.map(function(p) {
-1 19868 var expressions;
-1 19869 if (p.name === 'not') {
-1 19870 expressions = p.value;
-1 19871 expressions = expressions.selectors ? expressions.selectors : [ expressions ];
-1 19872 expressions = convertExpressions(expressions);
-1 19873 }
-1 19874 return {
-1 19875 name: p.name,
-1 19876 expressions: expressions,
-1 19877 value: p.value
-1 19878 };
-1 19879 });
-1 19880 }
-1 19881 function convertExpressions(expressions) {
-1 19882 return expressions.map(function(exp) {
-1 19883 var newExp = [];
-1 19884 var rule = exp.rule;
-1 19885 while (rule) {
-1 19886 newExp.push({
-1 19887 tag: rule.tagName ? rule.tagName.toLowerCase() : '*',
-1 19888 combinator: rule.nestingOperator ? rule.nestingOperator : ' ',
-1 19889 id: rule.id,
-1 19890 attributes: convertAttributes(rule.attrs),
-1 19891 classes: convertClasses(rule.classNames),
-1 19892 pseudos: convertPseudos(rule.pseudos)
-1 19893 });
-1 19894 rule = rule.rule;
-1 19895 }
-1 19896 return newExp;
-1 19897 });
-1 19898 }
-1 19899 function convertSelector(selector) {
-1 19900 var expressions = _css_parser__WEBPACK_IMPORTED_MODULE_0__['default'].parse(selector);
-1 19901 expressions = expressions.selectors ? expressions.selectors : [ expressions ];
-1 19902 return convertExpressions(expressions);
-1 19903 }
-1 19904 function matchesExpression(vNode, expressions, matchAnyParent) {
-1 19905 var exps = [].concat(expressions);
-1 19906 var expression = exps.pop();
-1 19907 var matches = matchExpression(vNode, expression);
-1 19908 while (!matches && matchAnyParent && vNode.parent) {
-1 19909 vNode = vNode.parent;
-1 19910 matches = matchExpression(vNode, expression);
-1 19911 }
-1 19912 if (exps.length) {
-1 19913 if ([ ' ', '>' ].includes(expression.combinator) === false) {
-1 19914 throw new Error('axe.utils.matchesExpression does not support the combinator: ' + expression.combinator);
-1 19915 }
-1 19916 matches = matches && matchesExpression(vNode.parent, exps, expression.combinator === ' ');
-1 19917 }
-1 19918 return matches;
-1 19919 }
-1 19920 function matches(vNode, selector) {
-1 19921 var expressions = convertSelector(selector);
-1 19922 return expressions.some(function(expression) {
-1 19923 return matchesExpression(vNode, expression);
-1 19924 });
-1 19925 }
-1 19926 __webpack_exports__['default'] = matches;
-1 19927 },
-1 19928 './lib/core/utils/memoize.js': function libCoreUtilsMemoizeJs(module, __webpack_exports__, __webpack_require__) {
-1 19929 'use strict';
-1 19930 __webpack_require__.r(__webpack_exports__);
-1 19931 var memoizee__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./node_modules/memoizee/index.js');
-1 19932 var memoizee__WEBPACK_IMPORTED_MODULE_0___default = __webpack_require__.n(memoizee__WEBPACK_IMPORTED_MODULE_0__);
-1 19933 axe._memoizedFns = [];
-1 19934 function memoizeImplementation(fn) {
-1 19935 var memoized = memoizee__WEBPACK_IMPORTED_MODULE_0___default()(fn);
-1 19936 axe._memoizedFns.push(memoized);
-1 19937 return memoized;
-1 19938 }
-1 19939 __webpack_exports__['default'] = memoizeImplementation;
-1 19940 },
-1 19941 './lib/core/utils/merge-results.js': function libCoreUtilsMergeResultsJs(module, __webpack_exports__, __webpack_require__) {
-1 19942 'use strict';
-1 19943 __webpack_require__.r(__webpack_exports__);
-1 19944 var _dq_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/core/utils/dq-element.js');
-1 19945 var _get_all_checks__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/core/utils/get-all-checks.js');
-1 19946 var _node_sorter__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__('./lib/core/utils/node-sorter.js');
-1 19947 var _find_by__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__('./lib/core/utils/find-by.js');
-1 19948 function pushFrame(resultSet, dqFrame, options) {
-1 19949 resultSet.forEach(function(res) {
-1 19950 res.node = _dq_element__WEBPACK_IMPORTED_MODULE_0__['default'].fromFrame(res.node, options, dqFrame);
-1 19951 var checks = Object(_get_all_checks__WEBPACK_IMPORTED_MODULE_1__['default'])(res);
-1 19952 checks.forEach(function(check) {
-1 19953 check.relatedNodes = check.relatedNodes.map(function(node) {
-1 19954 return _dq_element__WEBPACK_IMPORTED_MODULE_0__['default'].fromFrame(node, options, dqFrame);
-1 19955 });
-1 19956 });
-1 19957 });
-1 19958 }
-1 19959 function spliceNodes(target, to) {
-1 19960 var firstFromFrame = to[0].node;
-1 19961 for (var i = 0; i < target.length; i++) {
-1 19962 var node = target[i].node;
-1 19963 var sorterResult = Object(_node_sorter__WEBPACK_IMPORTED_MODULE_2__['default'])({
-1 19964 actualNode: node.element
-1 19965 }, {
-1 19966 actualNode: firstFromFrame.element
-1 19967 });
-1 19968 if (sorterResult > 0 || sorterResult === 0 && firstFromFrame.selector.length < node.selector.length) {
-1 19969 target.splice.apply(target, [ i, 0 ].concat(to));
-1 19970 return;
-1 19971 }
-1 19972 }
-1 19973 target.push.apply(target, to);
-1 19974 }
-1 19975 function normalizeResult(result) {
-1 19976 if (!result || !result.results) {
-1 19977 return null;
-1 19978 }
-1 19979 if (!Array.isArray(result.results)) {
-1 19980 return [ result.results ];
-1 19981 }
-1 19982 if (!result.results.length) {
-1 19983 return null;
-1 19984 }
-1 19985 return result.results;
-1 19986 }
-1 19987 function mergeResults(frameResults, options) {
-1 19988 var mergedResult = [];
-1 19989 frameResults.forEach(function(frameResult) {
-1 19990 var results = normalizeResult(frameResult);
-1 19991 if (!results || !results.length) {
-1 19992 return;
-1 19993 }
-1 19994 var dqFrame;
-1 19995 if (frameResult.frameElement) {
-1 19996 var spec = {
-1 19997 selector: [ frameResult.frame ]
-1 19998 };
-1 19999 dqFrame = new _dq_element__WEBPACK_IMPORTED_MODULE_0__['default'](frameResult.frameElement, options, spec);
-1 20000 }
-1 20001 results.forEach(function(ruleResult) {
-1 20002 if (ruleResult.nodes && dqFrame) {
-1 20003 pushFrame(ruleResult.nodes, dqFrame, options);
-1 20004 }
-1 20005 var res = Object(_find_by__WEBPACK_IMPORTED_MODULE_3__['default'])(mergedResult, 'id', ruleResult.id);
-1 20006 if (!res) {
-1 20007 mergedResult.push(ruleResult);
-1 20008 } else {
-1 20009 if (ruleResult.nodes.length) {
-1 20010 spliceNodes(res.nodes, ruleResult.nodes);
-1 20011 }
-1 20012 }
-1 20013 });
-1 20014 });
-1 20015 return mergedResult;
-1 20016 }
-1 20017 __webpack_exports__['default'] = mergeResults;
-1 20018 },
-1 20019 './lib/core/utils/node-sorter.js': function libCoreUtilsNodeSorterJs(module, __webpack_exports__, __webpack_require__) {
-1 20020 'use strict';
-1 20021 __webpack_require__.r(__webpack_exports__);
-1 20022 function nodeSorter(nodeA, nodeB) {
-1 20023 nodeA = nodeA.actualNode || nodeA;
-1 20024 nodeB = nodeB.actualNode || nodeB;
-1 20025 if (nodeA === nodeB) {
-1 20026 return 0;
-1 20027 }
-1 20028 if (nodeA.compareDocumentPosition(nodeB) & 4) {
-1 20029 return -1;
-1 20030 } else {
-1 20031 return 1;
-1 20032 }
-1 20033 }
-1 20034 __webpack_exports__['default'] = nodeSorter;
-1 20035 },
-1 20036 './lib/core/utils/parse-crossorigin-stylesheet.js': function libCoreUtilsParseCrossoriginStylesheetJs(module, __webpack_exports__, __webpack_require__) {
-1 20037 'use strict';
-1 20038 __webpack_require__.r(__webpack_exports__);
-1 20039 var axios__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./node_modules/axios/index.js');
-1 20040 var axios__WEBPACK_IMPORTED_MODULE_0___default = __webpack_require__.n(axios__WEBPACK_IMPORTED_MODULE_0__);
-1 20041 var _parse_stylesheet__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/core/utils/parse-stylesheet.js');
-1 20042 var _constants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__('./lib/core/constants.js');
-1 20043 function parseCrossOriginStylesheet(url, options, priority, importedUrls, isCrossOrigin) {
-1 20044 var axiosOptions = {
-1 20045 method: 'get',
-1 20046 timeout: _constants__WEBPACK_IMPORTED_MODULE_2__['default'].preload.timeout,
-1 20047 url: url
-1 20048 };
-1 20049 importedUrls.push(url);
-1 20050 return axios__WEBPACK_IMPORTED_MODULE_0___default()(axiosOptions).then(function(_ref56) {
-1 20051 var data = _ref56.data;
-1 20052 var result = options.convertDataToStylesheet({
-1 20053 data: data,
-1 20054 isCrossOrigin: isCrossOrigin,
-1 20055 priority: priority,
-1 20056 root: options.rootNode,
-1 20057 shadowId: options.shadowId
-1 20058 });
-1 20059 return Object(_parse_stylesheet__WEBPACK_IMPORTED_MODULE_1__['default'])(result.sheet, options, priority, importedUrls, result.isCrossOrigin);
-1 20060 });
-1 20061 }
-1 20062 __webpack_exports__['default'] = parseCrossOriginStylesheet;
-1 20063 },
-1 20064 './lib/core/utils/parse-sameorigin-stylesheet.js': function libCoreUtilsParseSameoriginStylesheetJs(module, __webpack_exports__, __webpack_require__) {
-1 20065 'use strict';
-1 20066 __webpack_require__.r(__webpack_exports__);
-1 20067 var _parse_crossorigin_stylesheet__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/core/utils/parse-crossorigin-stylesheet.js');
-1 20068 function parseSameOriginStylesheet(sheet, options, priority, importedUrls) {
-1 20069 var isCrossOrigin = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : false;
-1 20070 var rules = Array.from(sheet.cssRules);
-1 20071 if (!rules) {
-1 20072 return Promise.resolve();
-1 20073 }
-1 20074 var cssImportRules = rules.filter(function(r) {
-1 20075 return r.type === 3;
-1 20076 });
-1 20077 if (!cssImportRules.length) {
-1 20078 return Promise.resolve({
-1 20079 isCrossOrigin: isCrossOrigin,
-1 20080 priority: priority,
-1 20081 root: options.rootNode,
-1 20082 shadowId: options.shadowId,
-1 20083 sheet: sheet
-1 20084 });
-1 20085 }
-1 20086 var cssImportUrlsNotAlreadyImported = cssImportRules.filter(function(rule) {
-1 20087 return rule.href;
-1 20088 }).map(function(rule) {
-1 20089 return rule.href;
-1 20090 }).filter(function(url) {
-1 20091 return !importedUrls.includes(url);
-1 20092 });
-1 20093 var promises = cssImportUrlsNotAlreadyImported.map(function(importUrl, cssRuleIndex) {
-1 20094 var newPriority = [].concat(_toConsumableArray(priority), [ cssRuleIndex ]);
-1 20095 var isCrossOriginRequest = /^https?:\/\/|^\/\//i.test(importUrl);
-1 20096 return Object(_parse_crossorigin_stylesheet__WEBPACK_IMPORTED_MODULE_0__['default'])(importUrl, options, newPriority, importedUrls, isCrossOriginRequest);
-1 20097 });
-1 20098 var nonImportCSSRules = rules.filter(function(r) {
-1 20099 return r.type !== 3;
-1 20100 });
-1 20101 if (!nonImportCSSRules.length) {
-1 20102 return Promise.all(promises);
-1 20103 }
-1 20104 promises.push(Promise.resolve(options.convertDataToStylesheet({
-1 20105 data: nonImportCSSRules.map(function(rule) {
-1 20106 return rule.cssText;
-1 20107 }).join(),
-1 20108 isCrossOrigin: isCrossOrigin,
-1 20109 priority: priority,
-1 20110 root: options.rootNode,
-1 20111 shadowId: options.shadowId
-1 20112 })));
-1 20113 return Promise.all(promises);
-1 20114 }
-1 20115 __webpack_exports__['default'] = parseSameOriginStylesheet;
-1 20116 },
-1 20117 './lib/core/utils/parse-stylesheet.js': function libCoreUtilsParseStylesheetJs(module, __webpack_exports__, __webpack_require__) {
-1 20118 'use strict';
-1 20119 __webpack_require__.r(__webpack_exports__);
-1 20120 var _parse_sameorigin_stylesheet__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/core/utils/parse-sameorigin-stylesheet.js');
-1 20121 var _parse_crossorigin_stylesheet__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/core/utils/parse-crossorigin-stylesheet.js');
-1 20122 function parseStylesheet(sheet, options, priority, importedUrls) {
-1 20123 var isCrossOrigin = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : false;
-1 20124 var isSameOrigin = isSameOriginStylesheet(sheet);
-1 20125 if (isSameOrigin) {
-1 20126 return Object(_parse_sameorigin_stylesheet__WEBPACK_IMPORTED_MODULE_0__['default'])(sheet, options, priority, importedUrls, isCrossOrigin);
-1 20127 }
-1 20128 return Object(_parse_crossorigin_stylesheet__WEBPACK_IMPORTED_MODULE_1__['default'])(sheet.href, options, priority, importedUrls, true);
-1 20129 }
-1 20130 function isSameOriginStylesheet(sheet) {
-1 20131 try {
-1 20132 var rules = sheet.cssRules;
-1 20133 if (!rules && sheet.href) {
-1 20134 return false;
-1 20135 }
-1 20136 return true;
-1 20137 } catch (e) {
-1 20138 return false;
-1 20139 }
-1 20140 }
-1 20141 __webpack_exports__['default'] = parseStylesheet;
-1 20142 },
-1 20143 './lib/core/utils/performance-timer.js': function libCoreUtilsPerformanceTimerJs(module, __webpack_exports__, __webpack_require__) {
-1 20144 'use strict';
-1 20145 __webpack_require__.r(__webpack_exports__);
-1 20146 var _log__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/core/log.js');
-1 20147 var performanceTimer = function() {
-1 20148 'use strict';
-1 20149 function now() {
-1 20150 if (window.performance && window.performance) {
-1 20151 return window.performance.now();
-1 20152 }
-1 20153 }
-1 20154 var originalTime = null;
-1 20155 var lastRecordedTime = now();
-1 20156 return {
-1 20157 start: function start() {
-1 20158 this.mark('mark_axe_start');
-1 20159 },
-1 20160 end: function end() {
-1 20161 this.mark('mark_axe_end');
-1 20162 this.measure('axe', 'mark_axe_start', 'mark_axe_end');
-1 20163 this.logMeasures('axe');
-1 20164 },
-1 20165 auditStart: function auditStart() {
-1 20166 this.mark('mark_audit_start');
-1 20167 },
-1 20168 auditEnd: function auditEnd() {
-1 20169 this.mark('mark_audit_end');
-1 20170 this.measure('audit_start_to_end', 'mark_audit_start', 'mark_audit_end');
-1 20171 this.logMeasures();
-1 20172 },
-1 20173 mark: function mark(markName) {
-1 20174 if (window.performance && window.performance.mark !== undefined) {
-1 20175 window.performance.mark(markName);
-1 20176 }
-1 20177 },
-1 20178 measure: function measure(measureName, startMark, endMark) {
-1 20179 if (window.performance && window.performance.measure !== undefined) {
-1 20180 window.performance.measure(measureName, startMark, endMark);
-1 20181 }
-1 20182 },
-1 20183 logMeasures: function logMeasures(measureName) {
-1 20184 function logMeasure(req) {
-1 20185 Object(_log__WEBPACK_IMPORTED_MODULE_0__['default'])('Measure ' + req.name + ' took ' + req.duration + 'ms');
-1 20186 }
-1 20187 if (window.performance && window.performance.getEntriesByType !== undefined) {
-1 20188 var axeStart = window.performance.getEntriesByName('mark_axe_start')[0];
-1 20189 var measures = window.performance.getEntriesByType('measure').filter(function(measure) {
-1 20190 return measure.startTime >= axeStart.startTime;
-1 20191 });
-1 20192 for (var i = 0; i < measures.length; ++i) {
-1 20193 var req = measures[i];
-1 20194 if (req.name === measureName) {
-1 20195 logMeasure(req);
-1 20196 return;
-1 20197 }
-1 20198 logMeasure(req);
-1 20199 }
-1 20200 }
-1 20201 },
-1 20202 timeElapsed: function timeElapsed() {
-1 20203 return now() - lastRecordedTime;
-1 20204 },
-1 20205 reset: function reset() {
-1 20206 if (!originalTime) {
-1 20207 originalTime = now();
-1 20208 }
-1 20209 lastRecordedTime = now();
-1 20210 }
-1 20211 };
-1 20212 }();
-1 20213 __webpack_exports__['default'] = performanceTimer;
-1 20214 },
-1 20215 './lib/core/utils/pollyfills.js': function libCoreUtilsPollyfillsJs(module, __webpack_exports__, __webpack_require__) {
-1 20216 'use strict';
-1 20217 __webpack_require__.r(__webpack_exports__);
-1 20218 __webpack_require__.d(__webpack_exports__, 'pollyfillElementsFromPoint', function() {
-1 20219 return pollyfillElementsFromPoint;
-1 20220 });
-1 20221 if (typeof Object.assign !== 'function') {
-1 20222 (function() {
-1 20223 Object.assign = function(target) {
-1 20224 if (target === undefined || target === null) {
-1 20225 throw new TypeError('Cannot convert undefined or null to object');
-1 20226 }
-1 20227 var output = Object(target);
-1 20228 for (var index = 1; index < arguments.length; index++) {
-1 20229 var source = arguments[index];
-1 20230 if (source !== undefined && source !== null) {
-1 20231 for (var nextKey in source) {
-1 20232 if (source.hasOwnProperty(nextKey)) {
-1 20233 output[nextKey] = source[nextKey];
-1 20234 }
-1 20235 }
-1 20236 }
-1 20237 }
-1 20238 return output;
-1 20239 };
-1 20240 })();
-1 20241 }
-1 20242 if (!Array.prototype.find) {
-1 20243 Object.defineProperty(Array.prototype, 'find', {
-1 20244 value: function value(predicate) {
-1 20245 if (this === null) {
-1 20246 throw new TypeError('Array.prototype.find called on null or undefined');
-1 20247 }
-1 20248 if (typeof predicate !== 'function') {
-1 20249 throw new TypeError('predicate must be a function');
-1 20250 }
-1 20251 var list = Object(this);
-1 20252 var length = list.length >>> 0;
-1 20253 var thisArg = arguments[1];
-1 20254 var value;
-1 20255 for (var i = 0; i < length; i++) {
-1 20256 value = list[i];
-1 20257 if (predicate.call(thisArg, value, i, list)) {
-1 20258 return value;
-1 20259 }
-1 20260 }
-1 20261 return undefined;
-1 20262 }
-1 20263 });
-1 20264 }
-1 20265 function pollyfillElementsFromPoint() {
-1 20266 if (document.elementsFromPoint) {
-1 20267 return document.elementsFromPoint;
-1 20268 }
-1 20269 if (document.msElementsFromPoint) {
-1 20270 return document.msElementsFromPoint;
-1 20271 }
-1 20272 var usePointer = function() {
-1 20273 var element = document.createElement('x');
-1 20274 element.style.cssText = 'pointer-events:auto';
-1 20275 return element.style.pointerEvents === 'auto';
-1 20276 }();
-1 20277 var cssProp = usePointer ? 'pointer-events' : 'visibility';
-1 20278 var cssDisableVal = usePointer ? 'none' : 'hidden';
-1 20279 var style = document.createElement('style');
-1 20280 style.innerHTML = usePointer ? '* { pointer-events: all }' : '* { visibility: visible }';
-1 20281 return function(x, y) {
-1 20282 var current, i, d;
-1 20283 var elements = [];
-1 20284 var previousPointerEvents = [];
-1 20285 document.head.appendChild(style);
-1 20286 while ((current = document.elementFromPoint(x, y)) && elements.indexOf(current) === -1) {
-1 20287 elements.push(current);
-1 20288 previousPointerEvents.push({
-1 20289 value: current.style.getPropertyValue(cssProp),
-1 20290 priority: current.style.getPropertyPriority(cssProp)
-1 20291 });
-1 20292 current.style.setProperty(cssProp, cssDisableVal, 'important');
-1 20293 }
-1 20294 if (elements.indexOf(document.documentElement) < elements.length - 1) {
-1 20295 elements.splice(elements.indexOf(document.documentElement), 1);
-1 20296 elements.push(document.documentElement);
-1 20297 }
-1 20298 for (i = previousPointerEvents.length; !!(d = previousPointerEvents[--i]); ) {
-1 20299 elements[i].style.setProperty(cssProp, d.value ? d.value : '', d.priority);
-1 20300 }
-1 20301 document.head.removeChild(style);
-1 20302 return elements;
-1 20303 };
-1 20304 }
-1 20305 if (typeof window.addEventListener === 'function') {
-1 20306 document.elementsFromPoint = pollyfillElementsFromPoint();
-1 20307 }
-1 20308 if (!Array.prototype.includes) {
-1 20309 Object.defineProperty(Array.prototype, 'includes', {
-1 20310 value: function value(searchElement) {
-1 20311 var O = Object(this);
-1 20312 var len = parseInt(O.length, 10) || 0;
-1 20313 if (len === 0) {
-1 20314 return false;
-1 20315 }
-1 20316 var n = parseInt(arguments[1], 10) || 0;
-1 20317 var k;
-1 20318 if (n >= 0) {
-1 20319 k = n;
-1 20320 } else {
-1 20321 k = len + n;
-1 20322 if (k < 0) {
-1 20323 k = 0;
-1 20324 }
-1 20325 }
-1 20326 var currentElement;
-1 20327 while (k < len) {
-1 20328 currentElement = O[k];
-1 20329 if (searchElement === currentElement || searchElement !== searchElement && currentElement !== currentElement) {
-1 20330 return true;
-1 20331 }
-1 20332 k++;
-1 20333 }
-1 20334 return false;
-1 20335 }
-1 20336 });
-1 20337 }
-1 20338 if (!Array.prototype.some) {
-1 20339 Object.defineProperty(Array.prototype, 'some', {
-1 20340 value: function value(fun) {
-1 20341 if (this == null) {
-1 20342 throw new TypeError('Array.prototype.some called on null or undefined');
-1 20343 }
-1 20344 if (typeof fun !== 'function') {
-1 20345 throw new TypeError();
-1 20346 }
-1 20347 var t = Object(this);
-1 20348 var len = t.length >>> 0;
-1 20349 var thisArg = arguments.length >= 2 ? arguments[1] : void 0;
-1 20350 for (var i = 0; i < len; i++) {
-1 20351 if (i in t && fun.call(thisArg, t[i], i, t)) {
-1 20352 return true;
-1 20353 }
-1 20354 }
-1 20355 return false;
-1 20356 }
-1 20357 });
-1 20358 }
-1 20359 if (!Array.from) {
-1 20360 Object.defineProperty(Array, 'from', {
-1 20361 value: function() {
-1 20362 var toStr = Object.prototype.toString;
-1 20363 var isCallable = function isCallable(fn) {
-1 20364 return typeof fn === 'function' || toStr.call(fn) === '[object Function]';
-1 20365 };
-1 20366 var toInteger = function toInteger(value) {
-1 20367 var number = Number(value);
-1 20368 if (isNaN(number)) {
-1 20369 return 0;
-1 20370 }
-1 20371 if (number === 0 || !isFinite(number)) {
-1 20372 return number;
-1 20373 }
-1 20374 return (number > 0 ? 1 : -1) * Math.floor(Math.abs(number));
-1 20375 };
-1 20376 var maxSafeInteger = Math.pow(2, 53) - 1;
-1 20377 var toLength = function toLength(value) {
-1 20378 var len = toInteger(value);
-1 20379 return Math.min(Math.max(len, 0), maxSafeInteger);
-1 20380 };
-1 20381 return function from(arrayLike) {
-1 20382 var C = this;
-1 20383 var items = Object(arrayLike);
-1 20384 if (arrayLike == null) {
-1 20385 throw new TypeError('Array.from requires an array-like object - not null or undefined');
-1 20386 }
-1 20387 var mapFn = arguments.length > 1 ? arguments[1] : void undefined;
-1 20388 var T;
-1 20389 if (typeof mapFn !== 'undefined') {
-1 20390 if (!isCallable(mapFn)) {
-1 20391 throw new TypeError('Array.from: when provided, the second argument must be a function');
-1 20392 }
-1 20393 if (arguments.length > 2) {
-1 20394 T = arguments[2];
-1 20395 }
-1 20396 }
-1 20397 var len = toLength(items.length);
-1 20398 var A = isCallable(C) ? Object(new C(len)) : new Array(len);
-1 20399 var k = 0;
-1 20400 var kValue;
-1 20401 while (k < len) {
-1 20402 kValue = items[k];
-1 20403 if (mapFn) {
-1 20404 A[k] = typeof T === 'undefined' ? mapFn(kValue, k) : mapFn.call(T, kValue, k);
-1 20405 } else {
-1 20406 A[k] = kValue;
-1 20407 }
-1 20408 k += 1;
-1 20409 }
-1 20410 A.length = len;
-1 20411 return A;
-1 20412 };
-1 20413 }()
-1 20414 });
-1 20415 }
-1 20416 if (!String.prototype.includes) {
-1 20417 String.prototype.includes = function(search, start) {
-1 20418 if (typeof start !== 'number') {
-1 20419 start = 0;
-1 20420 }
-1 20421 if (start + search.length > this.length) {
-1 20422 return false;
-1 20423 } else {
-1 20424 return this.indexOf(search, start) !== -1;
-1 20425 }
-1 20426 };
-1 20427 }
-1 20428 },
-1 20429 './lib/core/utils/preload-cssom.js': function libCoreUtilsPreloadCssomJs(module, __webpack_exports__, __webpack_require__) {
-1 20430 'use strict';
-1 20431 __webpack_require__.r(__webpack_exports__);
-1 20432 var _get_stylesheet_factory__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/core/utils/get-stylesheet-factory.js');
-1 20433 var _unique_array__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/core/utils/unique-array.js');
-1 20434 var _get_root_node__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__('./lib/core/utils/get-root-node.js');
-1 20435 var _parse_stylesheet__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__('./lib/core/utils/parse-stylesheet.js');
-1 20436 var _query_selector_all_filter__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__('./lib/core/utils/query-selector-all-filter.js');
-1 20437 function preloadCssom(_ref57) {
-1 20438 var _ref57$treeRoot = _ref57.treeRoot, treeRoot = _ref57$treeRoot === void 0 ? axe._tree[0] : _ref57$treeRoot;
-1 20439 var rootNodes = getAllRootNodesInTree(treeRoot);
-1 20440 if (!rootNodes.length) {
-1 20441 return Promise.resolve();
-1 20442 }
-1 20443 var dynamicDoc = document.implementation.createHTMLDocument('Dynamic document for loading cssom');
-1 20444 var convertDataToStylesheet = Object(_get_stylesheet_factory__WEBPACK_IMPORTED_MODULE_0__['default'])(dynamicDoc);
-1 20445 return getCssomForAllRootNodes(rootNodes, convertDataToStylesheet).then(function(assets) {
-1 20446 return flattenAssets(assets);
-1 20447 });
-1 20448 }
-1 20449 __webpack_exports__['default'] = preloadCssom;
-1 20450 function getAllRootNodesInTree(tree) {
-1 20451 var ids = [];
-1 20452 var rootNodes = Object(_query_selector_all_filter__WEBPACK_IMPORTED_MODULE_4__['default'])(tree, '*', function(node) {
-1 20453 if (ids.includes(node.shadowId)) {
-1 20454 return false;
-1 20455 }
-1 20456 ids.push(node.shadowId);
-1 20457 return true;
-1 20458 }).map(function(node) {
-1 20459 return {
-1 20460 shadowId: node.shadowId,
-1 20461 rootNode: Object(_get_root_node__WEBPACK_IMPORTED_MODULE_2__['default'])(node.actualNode)
-1 20462 };
-1 20463 });
-1 20464 return Object(_unique_array__WEBPACK_IMPORTED_MODULE_1__['default'])(rootNodes, []);
-1 20465 }
-1 20466 function getCssomForAllRootNodes(rootNodes, convertDataToStylesheet) {
-1 20467 var promises = [];
-1 20468 rootNodes.forEach(function(_ref58, index) {
-1 20469 var rootNode = _ref58.rootNode, shadowId = _ref58.shadowId;
-1 20470 var sheets = getStylesheetsOfRootNode(rootNode, shadowId, convertDataToStylesheet);
-1 20471 if (!sheets) {
-1 20472 return Promise.all(promises);
-1 20473 }
-1 20474 var rootIndex = index + 1;
-1 20475 var parseOptions = {
-1 20476 rootNode: rootNode,
-1 20477 shadowId: shadowId,
-1 20478 convertDataToStylesheet: convertDataToStylesheet,
-1 20479 rootIndex: rootIndex
-1 20480 };
-1 20481 var importedUrls = [];
-1 20482 var p = Promise.all(sheets.map(function(sheet, sheetIndex) {
-1 20483 var priority = [ rootIndex, sheetIndex ];
-1 20484 return Object(_parse_stylesheet__WEBPACK_IMPORTED_MODULE_3__['default'])(sheet, parseOptions, priority, importedUrls);
-1 20485 }));
-1 20486 promises.push(p);
-1 20487 });
-1 20488 return Promise.all(promises);
-1 20489 }
-1 20490 function flattenAssets(assets) {
-1 20491 return assets.reduce(function(acc, val) {
-1 20492 return Array.isArray(val) ? acc.concat(flattenAssets(val)) : acc.concat(val);
-1 20493 }, []);
-1 20494 }
-1 20495 function getStylesheetsOfRootNode(rootNode, shadowId, convertDataToStylesheet) {
-1 20496 var sheets;
-1 20497 if (rootNode.nodeType === 11 && shadowId) {
-1 20498 sheets = getStylesheetsFromDocumentFragment(rootNode, convertDataToStylesheet);
-1 20499 } else {
-1 20500 sheets = getStylesheetsFromDocument(rootNode);
-1 20501 }
-1 20502 return filterStylesheetsWithSameHref(sheets);
-1 20503 }
-1 20504 function getStylesheetsFromDocumentFragment(rootNode, convertDataToStylesheet) {
-1 20505 return Array.from(rootNode.children).filter(filerStyleAndLinkAttributesInDocumentFragment).reduce(function(out, node) {
-1 20506 var nodeName = node.nodeName.toUpperCase();
-1 20507 var data = nodeName === 'STYLE' ? node.textContent : node;
-1 20508 var isLink = nodeName === 'LINK';
-1 20509 var stylesheet = convertDataToStylesheet({
-1 20510 data: data,
-1 20511 isLink: isLink,
-1 20512 root: rootNode
-1 20513 });
-1 20514 out.push(stylesheet.sheet);
-1 20515 return out;
-1 20516 }, []);
-1 20517 }
-1 20518 function getStylesheetsFromDocument(rootNode) {
-1 20519 return Array.from(rootNode.styleSheets).filter(function(sheet) {
-1 20520 return filterMediaIsPrint(sheet.media.mediaText);
-1 20521 });
-1 20522 }
-1 20523 function filerStyleAndLinkAttributesInDocumentFragment(node) {
-1 20524 var nodeName = node.nodeName.toUpperCase();
-1 20525 var linkHref = node.getAttribute('href');
-1 20526 var linkRel = node.getAttribute('rel');
-1 20527 var isLink = nodeName === 'LINK' && linkHref && linkRel && node.rel.toUpperCase().includes('STYLESHEET');
-1 20528 var isStyle = nodeName === 'STYLE';
-1 20529 return isStyle || isLink && filterMediaIsPrint(node.media);
-1 20530 }
-1 20531 function filterMediaIsPrint(media) {
-1 20532 if (!media) {
-1 20533 return true;
-1 20534 }
-1 20535 return !media.toUpperCase().includes('PRINT');
-1 20536 }
-1 20537 function filterStylesheetsWithSameHref(sheets) {
-1 20538 var hrefs = [];
-1 20539 return sheets.filter(function(sheet) {
-1 20540 if (!sheet.href) {
-1 20541 return true;
-1 20542 }
-1 20543 if (hrefs.includes(sheet.href)) {
-1 20544 return false;
-1 20545 }
-1 20546 hrefs.push(sheet.href);
-1 20547 return true;
-1 20548 });
-1 20549 }
-1 20550 },
-1 20551 './lib/core/utils/preload-media.js': function libCoreUtilsPreloadMediaJs(module, __webpack_exports__, __webpack_require__) {
-1 20552 'use strict';
-1 20553 __webpack_require__.r(__webpack_exports__);
-1 20554 var _query_selector_all_filter__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/core/utils/query-selector-all-filter.js');
-1 20555 function preloadMedia(_ref59) {
-1 20556 var _ref59$treeRoot = _ref59.treeRoot, treeRoot = _ref59$treeRoot === void 0 ? axe._tree[0] : _ref59$treeRoot;
-1 20557 var mediaVirtualNodes = Object(_query_selector_all_filter__WEBPACK_IMPORTED_MODULE_0__['default'])(treeRoot, 'video, audio', function(_ref60) {
-1 20558 var actualNode = _ref60.actualNode;
-1 20559 if (actualNode.hasAttribute('src')) {
-1 20560 return !!actualNode.getAttribute('src');
-1 20561 }
-1 20562 var sourceWithSrc = Array.from(actualNode.getElementsByTagName('source')).filter(function(source) {
-1 20563 return !!source.getAttribute('src');
-1 20564 });
-1 20565 if (sourceWithSrc.length <= 0) {
-1 20566 return false;
-1 20567 }
-1 20568 return true;
-1 20569 });
-1 20570 return Promise.all(mediaVirtualNodes.map(function(_ref61) {
-1 20571 var actualNode = _ref61.actualNode;
-1 20572 return isMediaElementReady(actualNode);
-1 20573 }));
-1 20574 }
-1 20575 __webpack_exports__['default'] = preloadMedia;
-1 20576 function isMediaElementReady(elm) {
-1 20577 return new Promise(function(resolve) {
-1 20578 if (elm.readyState > 0) {
-1 20579 resolve(elm);
-1 20580 }
-1 20581 function onMediaReady() {
-1 20582 elm.removeEventListener('loadedmetadata', onMediaReady);
-1 20583 resolve(elm);
-1 20584 }
-1 20585 elm.addEventListener('loadedmetadata', onMediaReady);
-1 20586 });
-1 20587 }
-1 20588 },
-1 20589 './lib/core/utils/preload.js': function libCoreUtilsPreloadJs(module, __webpack_exports__, __webpack_require__) {
-1 20590 'use strict';
-1 20591 __webpack_require__.r(__webpack_exports__);
-1 20592 __webpack_require__.d(__webpack_exports__, 'shouldPreload', function() {
-1 20593 return shouldPreload;
-1 20594 });
-1 20595 __webpack_require__.d(__webpack_exports__, 'getPreloadConfig', function() {
-1 20596 return getPreloadConfig;
-1 20597 });
-1 20598 var _preload_cssom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/core/utils/preload-cssom.js');
-1 20599 var _preload_media__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/core/utils/preload-media.js');
-1 20600 var _unique_array__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__('./lib/core/utils/unique-array.js');
-1 20601 var _constants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__('./lib/core/constants.js');
-1 20602 function isValidPreloadObject(preload) {
-1 20603 return _typeof(preload) === 'object' && Array.isArray(preload.assets);
-1 20604 }
-1 20605 function shouldPreload(options) {
-1 20606 if (!options || options.preload === undefined || options.preload === null) {
-1 20607 return true;
-1 20608 }
-1 20609 if (typeof options.preload === 'boolean') {
-1 20610 return options.preload;
-1 20611 }
-1 20612 return isValidPreloadObject(options.preload);
-1 20613 }
-1 20614 function getPreloadConfig(options) {
-1 20615 var _constants__WEBPACK_I2 = _constants__WEBPACK_IMPORTED_MODULE_3__['default'].preload, assets = _constants__WEBPACK_I2.assets, timeout = _constants__WEBPACK_I2.timeout;
-1 20616 var config = {
-1 20617 assets: assets,
-1 20618 timeout: timeout
-1 20619 };
-1 20620 if (!options.preload) {
-1 20621 return config;
-1 20622 }
-1 20623 if (typeof options.preload === 'boolean') {
-1 20624 return config;
-1 20625 }
-1 20626 var areRequestedAssetsValid = options.preload.assets.every(function(a) {
-1 20627 return assets.includes(a.toLowerCase());
-1 20628 });
-1 20629 if (!areRequestedAssetsValid) {
-1 20630 throw new Error('Requested assets, not supported. ' + 'Supported assets are: '.concat(assets.join(', '), '.'));
-1 20631 }
-1 20632 config.assets = Object(_unique_array__WEBPACK_IMPORTED_MODULE_2__['default'])(options.preload.assets.map(function(a) {
-1 20633 return a.toLowerCase();
-1 20634 }), []);
-1 20635 if (options.preload.timeout && typeof options.preload.timeout === 'number' && !isNaN(options.preload.timeout)) {
-1 20636 config.timeout = options.preload.timeout;
-1 20637 }
-1 20638 return config;
-1 20639 }
-1 20640 function preload(options) {
-1 20641 var preloadFunctionsMap = {
-1 20642 cssom: _preload_cssom__WEBPACK_IMPORTED_MODULE_0__['default'],
-1 20643 media: _preload_media__WEBPACK_IMPORTED_MODULE_1__['default']
-1 20644 };
-1 20645 if (!shouldPreload(options)) {
-1 20646 return Promise.resolve();
-1 20647 }
-1 20648 return new Promise(function(resolve, reject) {
-1 20649 var _getPreloadConfig = getPreloadConfig(options), assets = _getPreloadConfig.assets, timeout = _getPreloadConfig.timeout;
-1 20650 var preloadTimeout = setTimeout(function() {
-1 20651 return reject(new Error('Preload assets timed out.'));
-1 20652 }, timeout);
-1 20653 Promise.all(assets.map(function(asset) {
-1 20654 return preloadFunctionsMap[asset](options).then(function(results) {
-1 20655 return _defineProperty({}, asset, results);
-1 20656 });
-1 20657 })).then(function(results) {
-1 20658 var preloadAssets = results.reduce(function(out, result) {
-1 20659 return _extends({}, out, result);
-1 20660 }, {});
-1 20661 clearTimeout(preloadTimeout);
-1 20662 resolve(preloadAssets);
-1 20663 })['catch'](function(err) {
-1 20664 clearTimeout(preloadTimeout);
-1 20665 reject(err);
-1 20666 });
-1 20667 });
-1 20668 }
-1 20669 __webpack_exports__['default'] = preload;
-1 20670 },
-1 20671 './lib/core/utils/process-message.js': function libCoreUtilsProcessMessageJs(module, __webpack_exports__, __webpack_require__) {
-1 20672 'use strict';
-1 20673 __webpack_require__.r(__webpack_exports__);
-1 20674 var _reporters_helpers__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/core/reporters/helpers/index.js');
-1 20675 var dataRegex = /\$\{\s?data\s?\}/g;
-1 20676 function substitute(str, data) {
-1 20677 if (typeof data === 'string') {
-1 20678 return str.replace(dataRegex, data);
-1 20679 }
-1 20680 for (var prop in data) {
-1 20681 if (data.hasOwnProperty(prop)) {
-1 20682 var regex = new RegExp('\\${\\s?data\\.' + prop + '\\s?}', 'g');
-1 20683 str = str.replace(regex, data[prop]);
-1 20684 }
-1 20685 }
-1 20686 return str;
-1 20687 }
-1 20688 function processMessage(message, data) {
-1 20689 if (!message) {
-1 20690 return;
-1 20691 }
-1 20692 if (Array.isArray(data)) {
-1 20693 data.values = data.join(', ');
-1 20694 if (typeof message.singular === 'string' && typeof message.plural === 'string') {
-1 20695 var _str = data.length === 1 ? message.singular : message.plural;
-1 20696 return substitute(_str, data);
-1 20697 }
-1 20698 return substitute(message, data);
-1 20699 }
-1 20700 if (typeof message === 'string') {
-1 20701 return substitute(message, data);
-1 20702 }
-1 20703 if (typeof data === 'string') {
-1 20704 var _str2 = message[data];
-1 20705 return substitute(_str2, data);
-1 20706 }
-1 20707 var str = message['default'] || Object(_reporters_helpers__WEBPACK_IMPORTED_MODULE_0__['incompleteFallbackMessage'])();
-1 20708 if (data && data.messageKey && message[data.messageKey]) {
-1 20709 str = message[data.messageKey];
-1 20710 }
-1 20711 return processMessage(str, data);
-1 20712 }
-1 20713 __webpack_exports__['default'] = processMessage;
-1 20714 },
-1 20715 './lib/core/utils/publish-metadata.js': function libCoreUtilsPublishMetadataJs(module, __webpack_exports__, __webpack_require__) {
-1 20716 'use strict';
-1 20717 __webpack_require__.r(__webpack_exports__);
-1 20718 var _process_message__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/core/utils/process-message.js');
-1 20719 var _clone__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/core/utils/clone.js');
-1 20720 var _find_by__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__('./lib/core/utils/find-by.js');
-1 20721 var _extend_meta_data__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__('./lib/core/utils/extend-meta-data.js');
-1 20722 var _reporters_helpers_incomplete_fallback_msg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__('./lib/core/reporters/helpers/incomplete-fallback-msg.js');
-1 20723 function getIncompleteReason(checkData, messages) {
-1 20724 function getDefaultMsg(messages) {
-1 20725 if (messages.incomplete && messages.incomplete['default']) {
-1 20726 return messages.incomplete['default'];
-1 20727 } else {
-1 20728 return Object(_reporters_helpers_incomplete_fallback_msg__WEBPACK_IMPORTED_MODULE_4__['default'])();
-1 20729 }
-1 20730 }
-1 20731 if (checkData && checkData.missingData) {
-1 20732 try {
-1 20733 var msg = messages.incomplete[checkData.missingData[0].reason];
-1 20734 if (!msg) {
-1 20735 throw new Error();
-1 20736 }
-1 20737 return msg;
-1 20738 } catch (e) {
-1 20739 if (typeof checkData.missingData === 'string') {
-1 20740 return messages.incomplete[checkData.missingData];
-1 20741 } else {
-1 20742 return getDefaultMsg(messages);
-1 20743 }
-1 20744 }
-1 20745 } else if (checkData && checkData.messageKey) {
-1 20746 return messages.incomplete[checkData.messageKey];
-1 20747 } else {
-1 20748 return getDefaultMsg(messages);
-1 20749 }
-1 20750 }
-1 20751 function extender(checksData, shouldBeTrue) {
-1 20752 return function(check) {
-1 20753 var sourceData = checksData[check.id] || {};
-1 20754 var messages = sourceData.messages || {};
-1 20755 var data = Object.assign({}, sourceData);
-1 20756 delete data.messages;
-1 20757 if (check.result === undefined) {
-1 20758 if (_typeof(messages.incomplete) === 'object' && !Array.isArray(check.data)) {
-1 20759 data.message = getIncompleteReason(check.data, messages);
-1 20760 }
-1 20761 if (!data.message) {
-1 20762 data.message = messages.incomplete;
-1 20763 }
-1 20764 } else {
-1 20765 data.message = check.result === shouldBeTrue ? messages.pass : messages.fail;
-1 20766 }
-1 20767 if (typeof data.message !== 'function') {
-1 20768 data.message = Object(_process_message__WEBPACK_IMPORTED_MODULE_0__['default'])(data.message, check.data);
-1 20769 }
-1 20770 Object(_extend_meta_data__WEBPACK_IMPORTED_MODULE_3__['default'])(check, data);
-1 20771 };
-1 20772 }
-1 20773 function publishMetaData(ruleResult) {
-1 20774 var checksData = axe._audit.data.checks || {};
-1 20775 var rulesData = axe._audit.data.rules || {};
-1 20776 var rule = Object(_find_by__WEBPACK_IMPORTED_MODULE_2__['default'])(axe._audit.rules, 'id', ruleResult.id) || {};
-1 20777 ruleResult.tags = Object(_clone__WEBPACK_IMPORTED_MODULE_1__['default'])(rule.tags || []);
-1 20778 var shouldBeTrue = extender(checksData, true);
-1 20779 var shouldBeFalse = extender(checksData, false);
-1 20780 ruleResult.nodes.forEach(function(detail) {
-1 20781 detail.any.forEach(shouldBeTrue);
-1 20782 detail.all.forEach(shouldBeTrue);
-1 20783 detail.none.forEach(shouldBeFalse);
-1 20784 });
-1 20785 Object(_extend_meta_data__WEBPACK_IMPORTED_MODULE_3__['default'])(ruleResult, Object(_clone__WEBPACK_IMPORTED_MODULE_1__['default'])(rulesData[ruleResult.id] || {}));
-1 20786 }
-1 20787 __webpack_exports__['default'] = publishMetaData;
-1 20788 },
-1 20789 './lib/core/utils/query-selector-all-filter.js': function libCoreUtilsQuerySelectorAllFilterJs(module, __webpack_exports__, __webpack_require__) {
-1 20790 'use strict';
-1 20791 __webpack_require__.r(__webpack_exports__);
-1 20792 var _matches__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/core/utils/matches.js');
-1 20793 function createLocalVariables(vNodes, anyLevel, thisLevel, parentShadowId) {
-1 20794 var retVal = {
-1 20795 vNodes: vNodes.slice(),
-1 20796 anyLevel: anyLevel,
-1 20797 thisLevel: thisLevel,
-1 20798 parentShadowId: parentShadowId
-1 20799 };
-1 20800 retVal.vNodes.reverse();
-1 20801 return retVal;
-1 20802 }
-1 20803 function matchExpressions(domTree, expressions, filter) {
-1 20804 var stack = [];
-1 20805 var vNodes = Array.isArray(domTree) ? domTree : [ domTree ];
-1 20806 var currentLevel = createLocalVariables(vNodes, expressions, [], domTree[0].shadowId);
-1 20807 var result = [];
-1 20808 while (currentLevel.vNodes.length) {
-1 20809 var vNode = currentLevel.vNodes.pop();
-1 20810 var childOnly = [];
-1 20811 var childAny = [];
-1 20812 var combined = currentLevel.anyLevel.slice().concat(currentLevel.thisLevel);
-1 20813 var added = false;
-1 20814 for (var i = 0; i < combined.length; i++) {
-1 20815 var exp = combined[i];
-1 20816 if ((!exp[0].id || vNode.shadowId === currentLevel.parentShadowId) && Object(_matches__WEBPACK_IMPORTED_MODULE_0__['matchesExpression'])(vNode, exp[0])) {
-1 20817 if (exp.length === 1) {
-1 20818 if (!added && (!filter || filter(vNode))) {
-1 20819 result.push(vNode);
-1 20820 added = true;
-1 20821 }
-1 20822 } else {
-1 20823 var rest = exp.slice(1);
-1 20824 if ([ ' ', '>' ].includes(rest[0].combinator) === false) {
-1 20825 throw new Error('axe.utils.querySelectorAll does not support the combinator: ' + exp[1].combinator);
-1 20826 }
-1 20827 if (rest[0].combinator === '>') {
-1 20828 childOnly.push(rest);
-1 20829 } else {
-1 20830 childAny.push(rest);
-1 20831 }
-1 20832 }
-1 20833 }
-1 20834 if ((!exp[0].id || vNode.shadowId === currentLevel.parentShadowId) && currentLevel.anyLevel.includes(exp)) {
-1 20835 childAny.push(exp);
-1 20836 }
-1 20837 }
-1 20838 if (vNode.children && vNode.children.length) {
-1 20839 stack.push(currentLevel);
-1 20840 currentLevel = createLocalVariables(vNode.children, childAny, childOnly, vNode.shadowId);
-1 20841 }
-1 20842 while (!currentLevel.vNodes.length && stack.length) {
-1 20843 currentLevel = stack.pop();
-1 20844 }
-1 20845 }
-1 20846 return result;
-1 20847 }
-1 20848 function querySelectorAllFilter(domTree, selector, filter) {
-1 20849 domTree = Array.isArray(domTree) ? domTree : [ domTree ];
-1 20850 var expressions = Object(_matches__WEBPACK_IMPORTED_MODULE_0__['convertSelector'])(selector);
-1 20851 return matchExpressions(domTree, expressions, filter);
-1 20852 }
-1 20853 __webpack_exports__['default'] = querySelectorAllFilter;
-1 20854 },
-1 20855 './lib/core/utils/query-selector-all.js': function libCoreUtilsQuerySelectorAllJs(module, __webpack_exports__, __webpack_require__) {
-1 20856 'use strict';
-1 20857 __webpack_require__.r(__webpack_exports__);
-1 20858 __webpack_require__.d(__webpack_exports__, 'querySelectorAll', function() {
-1 20859 return querySelectorAll;
-1 20860 });
-1 20861 var _query_selector_all_filter__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/core/utils/query-selector-all-filter.js');
-1 20862 function querySelectorAll(domTree, selector) {
-1 20863 return Object(_query_selector_all_filter__WEBPACK_IMPORTED_MODULE_0__['default'])(domTree, selector);
-1 20864 }
-1 20865 __webpack_exports__['default'] = querySelectorAll;
-1 20866 },
-1 20867 './lib/core/utils/queue.js': function libCoreUtilsQueueJs(module, __webpack_exports__, __webpack_require__) {
-1 20868 'use strict';
-1 20869 __webpack_require__.r(__webpack_exports__);
-1 20870 var _log__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/core/log.js');
-1 20871 function noop() {}
-1 20872 function funcGuard(f) {
-1 20873 if (typeof f !== 'function') {
-1 20874 throw new TypeError('Queue methods require functions as arguments');
-1 20875 }
-1 20876 }
-1 20877 function queue() {
-1 20878 var tasks = [];
-1 20879 var started = 0;
-1 20880 var remaining = 0;
-1 20881 var completeQueue = noop;
-1 20882 var complete = false;
-1 20883 var err;
-1 20884 var defaultFail = function defaultFail(e) {
-1 20885 err = e;
-1 20886 setTimeout(function() {
-1 20887 if (err !== undefined && err !== null) {
-1 20888 Object(_log__WEBPACK_IMPORTED_MODULE_0__['default'])('Uncaught error (of queue)', err);
-1 20889 }
-1 20890 }, 1);
-1 20891 };
-1 20892 var failed = defaultFail;
-1 20893 function createResolve(i) {
-1 20894 return function(r) {
-1 20895 tasks[i] = r;
-1 20896 remaining -= 1;
-1 20897 if (!remaining && completeQueue !== noop) {
-1 20898 complete = true;
-1 20899 completeQueue(tasks);
-1 20900 }
-1 20901 };
10896 20902 }
10897 -1 },
10898 -1 measure: function measure(measureName, startMark, endMark) {
10899 -1 if (window.performance && window.performance.measure !== undefined) {
10900 -1 window.performance.measure(measureName, startMark, endMark);
-1 20903 function abort(msg) {
-1 20904 completeQueue = noop;
-1 20905 failed(msg);
-1 20906 return tasks;
10901 20907 }
10902 -1 },
10903 -1 logMeasures: function logMeasures(measureName) {
10904 -1 function log(req) {
10905 -1 axe.log('Measure ' + req.name + ' took ' + req.duration + 'ms');
10906 -1 }
10907 -1 if (window.performance && window.performance.getEntriesByType !== undefined) {
10908 -1 var measures = window.performance.getEntriesByType('measure');
10909 -1 for (var i = 0; i < measures.length; ++i) {
10910 -1 var req = measures[i];
10911 -1 if (req.name === measureName) {
10912 -1 log(req);
10913 -1 return;
-1 20908 function pop() {
-1 20909 var length = tasks.length;
-1 20910 for (;started < length; started++) {
-1 20911 var task = tasks[started];
-1 20912 try {
-1 20913 task.call(null, createResolve(started), abort);
-1 20914 } catch (e) {
-1 20915 abort(e);
10914 20916 }
10915 -1 log(req);
10916 20917 }
10917 20918 }
10918 -1 },
10919 -1 timeElapsed: function timeElapsed() {
10920 -1 return now() - lastRecordedTime;
10921 -1 },
10922 -1 reset: function reset() {
10923 -1 if (!originalTime) {
10924 -1 originalTime = now();
10925 -1 }
10926 -1 lastRecordedTime = now();
10927 -1 }
10928 -1 };
10929 -1 }();
10930 -1 'use strict';
10931 -1 if (typeof Object.assign !== 'function') {
10932 -1 (function() {
10933 -1 Object.assign = function(target) {
10934 -1 'use strict';
10935 -1 if (target === undefined || target === null) {
10936 -1 throw new TypeError('Cannot convert undefined or null to object');
10937 -1 }
10938 -1 var output = Object(target);
10939 -1 for (var index = 1; index < arguments.length; index++) {
10940 -1 var source = arguments[index];
10941 -1 if (source !== undefined && source !== null) {
10942 -1 for (var nextKey in source) {
10943 -1 if (source.hasOwnProperty(nextKey)) {
10944 -1 output[nextKey] = source[nextKey];
-1 20919 var q = {
-1 20920 defer: function defer(fn) {
-1 20921 if (_typeof(fn) === 'object' && fn.then && fn['catch']) {
-1 20922 var defer = fn;
-1 20923 fn = function fn(resolve, reject) {
-1 20924 defer.then(resolve)['catch'](reject);
-1 20925 };
-1 20926 }
-1 20927 funcGuard(fn);
-1 20928 if (err !== undefined) {
-1 20929 return;
-1 20930 } else if (complete) {
-1 20931 throw new Error('Queue already completed');
-1 20932 }
-1 20933 tasks.push(fn);
-1 20934 ++remaining;
-1 20935 pop();
-1 20936 return q;
-1 20937 },
-1 20938 then: function then(fn) {
-1 20939 funcGuard(fn);
-1 20940 if (completeQueue !== noop) {
-1 20941 throw new Error('queue `then` already set');
-1 20942 }
-1 20943 if (!err) {
-1 20944 completeQueue = fn;
-1 20945 if (!remaining) {
-1 20946 complete = true;
-1 20947 completeQueue(tasks);
10945 20948 }
10946 20949 }
10947 -1 }
-1 20950 return q;
-1 20951 },
-1 20952 catch: function _catch(fn) {
-1 20953 funcGuard(fn);
-1 20954 if (failed !== defaultFail) {
-1 20955 throw new Error('queue `catch` already set');
-1 20956 }
-1 20957 if (!err) {
-1 20958 failed = fn;
-1 20959 } else {
-1 20960 fn(err);
-1 20961 err = null;
-1 20962 }
-1 20963 return q;
-1 20964 },
-1 20965 abort: abort
-1 20966 };
-1 20967 return q;
-1 20968 }
-1 20969 __webpack_exports__['default'] = queue;
-1 20970 },
-1 20971 './lib/core/utils/respondable.js': function libCoreUtilsRespondableJs(module, __webpack_exports__, __webpack_require__) {
-1 20972 'use strict';
-1 20973 __webpack_require__.r(__webpack_exports__);
-1 20974 var _uuid__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/core/utils/uuid.js');
-1 20975 var _base_cache__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/core/base/cache.js');
-1 20976 var messages = {};
-1 20977 var subscribers = {};
-1 20978 var errorTypes = Object.freeze([ 'EvalError', 'RangeError', 'ReferenceError', 'SyntaxError', 'TypeError', 'URIError' ]);
-1 20979 function _getSource() {
-1 20980 var application = 'axeAPI', version = '', src;
-1 20981 if (typeof axe !== 'undefined' && axe._audit && axe._audit.application) {
-1 20982 application = axe._audit.application;
-1 20983 }
-1 20984 if (typeof axe !== 'undefined') {
-1 20985 version = axe.version;
-1 20986 }
-1 20987 src = application + '.' + version;
-1 20988 return src;
-1 20989 }
-1 20990 function verify(postedMessage) {
-1 20991 if (_typeof(postedMessage) === 'object' && typeof postedMessage.uuid === 'string' && postedMessage._respondable === true) {
-1 20992 var messageSource = _getSource();
-1 20993 return postedMessage._source === messageSource || postedMessage._source === 'axeAPI.x.y.z' || messageSource === 'axeAPI.x.y.z';
10948 20994 }
10949 -1 return output;
10950 -1 };
10951 -1 })();
10952 -1 }
10953 -1 if (!Array.prototype.find) {
10954 -1 Object.defineProperty(Array.prototype, 'find', {
10955 -1 value: function value(predicate) {
10956 -1 if (this === null) {
10957 -1 throw new TypeError('Array.prototype.find called on null or undefined');
-1 20995 return false;
-1 20996 }
-1 20997 function post(win, topic, message, uuid, keepalive, callback) {
-1 20998 var error;
-1 20999 if (message instanceof Error) {
-1 21000 error = {
-1 21001 name: message.name,
-1 21002 message: message.message,
-1 21003 stack: message.stack
-1 21004 };
-1 21005 message = undefined;
10958 21006 }
10959 -1 if (typeof predicate !== 'function') {
10960 -1 throw new TypeError('predicate must be a function');
-1 21007 var data = {
-1 21008 uuid: uuid,
-1 21009 topic: topic,
-1 21010 message: message,
-1 21011 error: error,
-1 21012 _respondable: true,
-1 21013 _source: _getSource(),
-1 21014 _axeuuid: axe._uuid,
-1 21015 _keepalive: keepalive
-1 21016 };
-1 21017 var axeRespondables = _base_cache__WEBPACK_IMPORTED_MODULE_1__['default'].get('axeRespondables');
-1 21018 if (!axeRespondables) {
-1 21019 axeRespondables = {};
-1 21020 _base_cache__WEBPACK_IMPORTED_MODULE_1__['default'].set('axeRespondables', axeRespondables);
10961 21021 }
10962 -1 var list = Object(this);
10963 -1 var length = list.length >>> 0;
10964 -1 var thisArg = arguments[1];
10965 -1 var value;
10966 -1 for (var i = 0; i < length; i++) {
10967 -1 value = list[i];
10968 -1 if (predicate.call(thisArg, value, i, list)) {
10969 -1 return value;
10970 -1 }
-1 21022 axeRespondables[uuid] = true;
-1 21023 if (typeof callback === 'function') {
-1 21024 messages[uuid] = callback;
10971 21025 }
10972 -1 return undefined;
10973 -1 }
10974 -1 });
10975 -1 }
10976 -1 axe.utils.pollyfillElementsFromPoint = function() {
10977 -1 if (document.elementsFromPoint) {
10978 -1 return document.elementsFromPoint;
10979 -1 }
10980 -1 if (document.msElementsFromPoint) {
10981 -1 return document.msElementsFromPoint;
10982 -1 }
10983 -1 var usePointer = function() {
10984 -1 var element = document.createElement('x');
10985 -1 element.style.cssText = 'pointer-events:auto';
10986 -1 return element.style.pointerEvents === 'auto';
10987 -1 }();
10988 -1 var cssProp = usePointer ? 'pointer-events' : 'visibility';
10989 -1 var cssDisableVal = usePointer ? 'none' : 'hidden';
10990 -1 var style = document.createElement('style');
10991 -1 style.innerHTML = usePointer ? '* { pointer-events: all }' : '* { visibility: visible }';
10992 -1 return function(x, y) {
10993 -1 var current, i, d;
10994 -1 var elements = [];
10995 -1 var previousPointerEvents = [];
10996 -1 document.head.appendChild(style);
10997 -1 while ((current = document.elementFromPoint(x, y)) && elements.indexOf(current) === -1) {
10998 -1 elements.push(current);
10999 -1 previousPointerEvents.push({
11000 -1 value: current.style.getPropertyValue(cssProp),
11001 -1 priority: current.style.getPropertyPriority(cssProp)
11002 -1 });
11003 -1 current.style.setProperty(cssProp, cssDisableVal, 'important');
-1 21026 win.postMessage(JSON.stringify(data), '*');
11004 21027 }
11005 -1 if (elements.indexOf(document.documentElement) < elements.length - 1) {
11006 -1 elements.splice(elements.indexOf(document.documentElement), 1);
11007 -1 elements.push(document.documentElement);
-1 21028 function respondable(win, topic, message, keepalive, callback) {
-1 21029 var id = Object(_uuid__WEBPACK_IMPORTED_MODULE_0__['v1'])();
-1 21030 post(win, topic, message, id, keepalive, callback);
11008 21031 }
11009 -1 for (i = previousPointerEvents.length; !!(d = previousPointerEvents[--i]); ) {
11010 -1 elements[i].style.setProperty(cssProp, d.value ? d.value : '', d.priority);
-1 21032 respondable.subscribe = function subscribe(topic, callback) {
-1 21033 subscribers[topic] = callback;
-1 21034 };
-1 21035 respondable.isInFrame = function isInFrame(win) {
-1 21036 win = win || window;
-1 21037 return !!win.frameElement;
-1 21038 };
-1 21039 function createResponder(source, topic, uuid) {
-1 21040 return function(message, keepalive, callback) {
-1 21041 post(source, topic, message, uuid, keepalive, callback);
-1 21042 };
11011 21043 }
11012 -1 document.head.removeChild(style);
11013 -1 return elements;
11014 -1 };
11015 -1 };
11016 -1 if (typeof window.addEventListener === 'function') {
11017 -1 document.elementsFromPoint = axe.utils.pollyfillElementsFromPoint();
11018 -1 }
11019 -1 if (!Array.prototype.includes) {
11020 -1 Object.defineProperty(Array.prototype, 'includes', {
11021 -1 value: function value(searchElement) {
11022 -1 'use strict';
11023 -1 var O = Object(this);
11024 -1 var len = parseInt(O.length, 10) || 0;
11025 -1 if (len === 0) {
11026 -1 return false;
11027 -1 }
11028 -1 var n = parseInt(arguments[1], 10) || 0;
11029 -1 var k;
11030 -1 if (n >= 0) {
11031 -1 k = n;
11032 -1 } else {
11033 -1 k = len + n;
11034 -1 if (k < 0) {
11035 -1 k = 0;
11036 -1 }
-1 21044 function publish(source, data, keepalive) {
-1 21045 var topic = data.topic;
-1 21046 var subscriber = subscribers[topic];
-1 21047 if (subscriber) {
-1 21048 var responder = createResponder(source, null, data.uuid);
-1 21049 subscriber(data.message, keepalive, responder);
11037 21050 }
11038 -1 var currentElement;
11039 -1 while (k < len) {
11040 -1 currentElement = O[k];
11041 -1 if (searchElement === currentElement || searchElement !== searchElement && currentElement !== currentElement) {
11042 -1 return true;
11043 -1 }
11044 -1 k++;
-1 21051 }
-1 21052 respondable._publish = publish;
-1 21053 function buildErrorObject(error) {
-1 21054 var msg = error.message || 'Unknown error occurred';
-1 21055 var errorName = errorTypes.includes(error.name) ? error.name : 'Error';
-1 21056 var ErrConstructor = window[errorName] || Error;
-1 21057 if (error.stack) {
-1 21058 msg += '\n' + error.stack.replace(error.message, '');
11045 21059 }
11046 -1 return false;
-1 21060 return new ErrConstructor(msg);
11047 21061 }
11048 -1 });
11049 -1 }
11050 -1 if (!Array.prototype.some) {
11051 -1 Object.defineProperty(Array.prototype, 'some', {
11052 -1 value: function value(fun) {
11053 -1 'use strict';
11054 -1 if (this == null) {
11055 -1 throw new TypeError('Array.prototype.some called on null or undefined');
-1 21062 function parseMessage(dataString) {
-1 21063 var data;
-1 21064 if (typeof dataString !== 'string') {
-1 21065 return;
11056 21066 }
11057 -1 if (typeof fun !== 'function') {
11058 -1 throw new TypeError();
-1 21067 try {
-1 21068 data = JSON.parse(dataString);
-1 21069 } catch (ex) {}
-1 21070 if (!verify(data)) {
-1 21071 return;
11059 21072 }
11060 -1 var t = Object(this);
11061 -1 var len = t.length >>> 0;
11062 -1 var thisArg = arguments.length >= 2 ? arguments[1] : void 0;
11063 -1 for (var i = 0; i < len; i++) {
11064 -1 if (i in t && fun.call(thisArg, t[i], i, t)) {
11065 -1 return true;
11066 -1 }
-1 21073 if (_typeof(data.error) === 'object') {
-1 21074 data.error = buildErrorObject(data.error);
-1 21075 } else {
-1 21076 data.error = undefined;
11067 21077 }
11068 -1 return false;
-1 21078 return data;
11069 21079 }
11070 -1 });
11071 -1 }
11072 -1 if (!Array.from) {
11073 -1 Object.defineProperty(Array, 'from', {
11074 -1 value: function() {
11075 -1 var toStr = Object.prototype.toString;
11076 -1 var isCallable = function isCallable(fn) {
11077 -1 return typeof fn === 'function' || toStr.call(fn) === '[object Function]';
11078 -1 };
11079 -1 var toInteger = function toInteger(value) {
11080 -1 var number = Number(value);
11081 -1 if (isNaN(number)) {
11082 -1 return 0;
-1 21080 if (typeof window.addEventListener === 'function') {
-1 21081 window.addEventListener('message', function(e) {
-1 21082 var data = parseMessage(e.data);
-1 21083 if (!data || !data._axeuuid) {
-1 21084 return;
11083 21085 }
11084 -1 if (number === 0 || !isFinite(number)) {
11085 -1 return number;
-1 21086 var uuid = data.uuid;
-1 21087 var axeRespondables = _base_cache__WEBPACK_IMPORTED_MODULE_1__['default'].get('axeRespondables') || {};
-1 21088 if (axeRespondables[uuid] && data._axeuuid === axe._uuid) {
-1 21089 return;
11086 21090 }
11087 -1 return (number > 0 ? 1 : -1) * Math.floor(Math.abs(number));
11088 -1 };
11089 -1 var maxSafeInteger = Math.pow(2, 53) - 1;
11090 -1 var toLength = function toLength(value) {
11091 -1 var len = toInteger(value);
11092 -1 return Math.min(Math.max(len, 0), maxSafeInteger);
11093 -1 };
11094 -1 return function from(arrayLike) {
11095 -1 var C = this;
11096 -1 var items = Object(arrayLike);
11097 -1 if (arrayLike == null) {
11098 -1 throw new TypeError('Array.from requires an array-like object - not null or undefined');
11099 -1 }
11100 -1 var mapFn = arguments.length > 1 ? arguments[1] : void undefined;
11101 -1 var T;
11102 -1 if (typeof mapFn !== 'undefined') {
11103 -1 if (!isCallable(mapFn)) {
11104 -1 throw new TypeError('Array.from: when provided, the second argument must be a function');
11105 -1 }
11106 -1 if (arguments.length > 2) {
11107 -1 T = arguments[2];
11108 -1 }
11109 -1 }
11110 -1 var len = toLength(items.length);
11111 -1 var A = isCallable(C) ? Object(new C(len)) : new Array(len);
11112 -1 var k = 0;
11113 -1 var kValue;
11114 -1 while (k < len) {
11115 -1 kValue = items[k];
11116 -1 if (mapFn) {
11117 -1 A[k] = typeof T === 'undefined' ? mapFn(kValue, k) : mapFn.call(T, kValue, k);
11118 -1 } else {
11119 -1 A[k] = kValue;
-1 21091 var keepalive = data._keepalive;
-1 21092 var callback = messages[uuid];
-1 21093 if (callback) {
-1 21094 var result = data.error || data.message;
-1 21095 var responder = createResponder(e.source, data.topic, uuid);
-1 21096 callback(result, keepalive, responder);
-1 21097 if (!keepalive) {
-1 21098 delete messages[uuid];
11120 21099 }
11121 -1 k += 1;
11122 21100 }
11123 -1 A.length = len;
11124 -1 return A;
11125 -1 };
11126 -1 }()
11127 -1 });
11128 -1 }
11129 -1 if (!String.prototype.includes) {
11130 -1 String.prototype.includes = function(search, start) {
11131 -1 if (typeof start !== 'number') {
11132 -1 start = 0;
11133 -1 }
11134 -1 if (start + search.length > this.length) {
11135 -1 return false;
11136 -1 } else {
11137 -1 return this.indexOf(search, start) !== -1;
11138 -1 }
11139 -1 };
11140 -1 }
11141 -1 'use strict';
11142 -1 function _toConsumableArray(arr) {
11143 -1 if (Array.isArray(arr)) {
11144 -1 for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) {
11145 -1 arr2[i] = arr[i];
11146 -1 }
11147 -1 return arr2;
11148 -1 } else {
11149 -1 return Array.from(arr);
11150 -1 }
11151 -1 }
11152 -1 axe.utils.preloadCssom = function preloadCssom(_ref) {
11153 -1 var timeout = _ref.timeout, _ref$treeRoot = _ref.treeRoot, treeRoot = _ref$treeRoot === undefined ? axe._tree[0] : _ref$treeRoot;
11154 -1 var rootNodes = getAllRootNodesInTree(treeRoot);
11155 -1 var q = axe.utils.queue();
11156 -1 if (!rootNodes.length) {
11157 -1 return q;
11158 -1 }
11159 -1 var dynamicDoc = document.implementation.createHTMLDocument();
11160 -1 var convertDataToStylesheet = getStyleSheetFactory(dynamicDoc);
11161 -1 q.defer(function(resolve, reject) {
11162 -1 getCssomForAllRootNodes(rootNodes, convertDataToStylesheet, timeout).then(function(assets) {
11163 -1 var cssom = processCssomAssets(assets);
11164 -1 resolve(cssom);
11165 -1 }).catch(reject);
11166 -1 });
11167 -1 return q;
11168 -1 };
11169 -1 function getAllRootNodesInTree(tree) {
11170 -1 var ids = [];
11171 -1 var rootNodes = axe.utils.querySelectorAllFilter(tree, '*', function(node) {
11172 -1 if (ids.includes(node.shadowId)) {
11173 -1 return false;
11174 -1 }
11175 -1 ids.push(node.shadowId);
11176 -1 return true;
11177 -1 }).map(function(node) {
11178 -1 return {
11179 -1 shadowId: node.shadowId,
11180 -1 rootNode: axe.utils.getRootNode(node.actualNode)
11181 -1 };
11182 -1 });
11183 -1 return axe.utils.uniqueArray(rootNodes, []);
11184 -1 }
11185 -1 var getStyleSheetFactory = function getStyleSheetFactory(dynamicDoc) {
11186 -1 return function(_ref2) {
11187 -1 var data = _ref2.data, isExternal = _ref2.isExternal, shadowId = _ref2.shadowId, root = _ref2.root, priority = _ref2.priority, _ref2$isLink = _ref2.isLink, isLink = _ref2$isLink === undefined ? false : _ref2$isLink;
11188 -1 var style = dynamicDoc.createElement('style');
11189 -1 if (isLink) {
11190 -1 var text = dynamicDoc.createTextNode('@import "' + data.href + '"');
11191 -1 style.appendChild(text);
11192 -1 } else {
11193 -1 style.appendChild(dynamicDoc.createTextNode(data));
11194 -1 }
11195 -1 dynamicDoc.head.appendChild(style);
11196 -1 return {
11197 -1 sheet: style.sheet,
11198 -1 isExternal: isExternal,
11199 -1 shadowId: shadowId,
11200 -1 root: root,
11201 -1 priority: priority
11202 -1 };
11203 -1 };
11204 -1 };
11205 -1 function getCssomForAllRootNodes(rootNodes, convertDataToStylesheet, timeout) {
11206 -1 var q = axe.utils.queue();
11207 -1 rootNodes.forEach(function(_ref3, index) {
11208 -1 var rootNode = _ref3.rootNode, shadowId = _ref3.shadowId;
11209 -1 return q.defer(function(resolve, reject) {
11210 -1 return loadCssom({
11211 -1 rootNode: rootNode,
11212 -1 shadowId: shadowId,
11213 -1 timeout: timeout,
11214 -1 convertDataToStylesheet: convertDataToStylesheet,
11215 -1 rootIndex: index + 1
11216 -1 }).then(resolve).catch(reject);
11217 -1 });
11218 -1 });
11219 -1 return q;
11220 -1 }
11221 -1 function processCssomAssets(nestedAssets) {
11222 -1 var result = [];
11223 -1 nestedAssets.forEach(function(item) {
11224 -1 if (Array.isArray(item)) {
11225 -1 result.push.apply(result, _toConsumableArray(processCssomAssets(item)));
11226 -1 } else {
11227 -1 result.push(item);
11228 -1 }
11229 -1 });
11230 -1 return result;
11231 -1 }
11232 -1 function loadCssom(options) {
11233 -1 var rootIndex = options.rootIndex;
11234 -1 var q = axe.utils.queue();
11235 -1 var sheets = getStylesheetsOfRootNode(options);
11236 -1 if (!sheets) {
11237 -1 return q;
11238 -1 }
11239 -1 sheets.forEach(function(sheet, sheetIndex) {
11240 -1 var priority = [ rootIndex, sheetIndex ];
11241 -1 try {
11242 -1 var deferredQ = parseNonCrossOriginStylesheet(sheet, options, priority);
11243 -1 q.defer(deferredQ);
11244 -1 } catch (e) {
11245 -1 var _deferredQ = parseCrossOriginStylesheet(sheet.href, options, priority);
11246 -1 q.defer(_deferredQ);
-1 21101 if (!data.error) {
-1 21102 try {
-1 21103 publish(e.source, data, keepalive);
-1 21104 } catch (err) {
-1 21105 post(e.source, null, err, uuid, false);
-1 21106 }
-1 21107 }
-1 21108 }, false);
11247 21109 }
11248 -1 });
11249 -1 return q;
11250 -1 }
11251 -1 function parseNonCrossOriginStylesheet(sheet, options, priority) {
11252 -1 var q = axe.utils.queue();
11253 -1 var cssRules = sheet.cssRules;
11254 -1 var rules = Array.from(cssRules);
11255 -1 if (!rules) {
11256 -1 return q;
11257 -1 }
11258 -1 var cssImportRules = rules.filter(function(r) {
11259 -1 return r.type === 3;
11260 -1 });
11261 -1 if (!cssImportRules.length) {
11262 -1 q.defer(function(resolve) {
11263 -1 return resolve({
11264 -1 isExternal: false,
11265 -1 priority: priority,
11266 -1 root: options.rootNode,
11267 -1 shadowId: options.shadowId,
11268 -1 sheet: sheet
11269 -1 });
11270 -1 });
11271 -1 return q;
11272 -1 }
11273 -1 cssImportRules.forEach(function(importRule, cssRuleIndex) {
11274 -1 return q.defer(function(resolve, reject) {
11275 -1 var importUrl = importRule.href;
11276 -1 var newPriority = [].concat(_toConsumableArray(priority), [ cssRuleIndex ]);
11277 -1 var axiosOptions = {
11278 -1 method: 'get',
11279 -1 url: importUrl,
11280 -1 timeout: options.timeout
11281 -1 };
11282 -1 axe.imports.axios(axiosOptions).then(function(_ref4) {
11283 -1 var data = _ref4.data;
11284 -1 return resolve(options.convertDataToStylesheet({
11285 -1 data: data,
11286 -1 isExternal: true,
11287 -1 priority: newPriority,
11288 -1 root: options.rootNode,
11289 -1 shadowId: options.shadowId
-1 21110 __webpack_exports__['default'] = respondable;
-1 21111 },
-1 21112 './lib/core/utils/rule-should-run.js': function libCoreUtilsRuleShouldRunJs(module, __webpack_exports__, __webpack_require__) {
-1 21113 'use strict';
-1 21114 __webpack_require__.r(__webpack_exports__);
-1 21115 function matchTags(rule, runOnly) {
-1 21116 var include, exclude, matching;
-1 21117 var defaultExclude = axe._audit && axe._audit.tagExclude ? axe._audit.tagExclude : [];
-1 21118 if (runOnly.hasOwnProperty('include') || runOnly.hasOwnProperty('exclude')) {
-1 21119 include = runOnly.include || [];
-1 21120 include = Array.isArray(include) ? include : [ include ];
-1 21121 exclude = runOnly.exclude || [];
-1 21122 exclude = Array.isArray(exclude) ? exclude : [ exclude ];
-1 21123 exclude = exclude.concat(defaultExclude.filter(function(tag) {
-1 21124 return include.indexOf(tag) === -1;
11290 21125 }));
11291 -1 }).catch(reject);
11292 -1 });
11293 -1 });
11294 -1 var nonImportCSSRules = rules.filter(function(r) {
11295 -1 return r.type !== 3;
11296 -1 });
11297 -1 if (!nonImportCSSRules.length) {
11298 -1 return q;
11299 -1 }
11300 -1 q.defer(function(resolve) {
11301 -1 return resolve(options.convertDataToStylesheet({
11302 -1 data: nonImportCSSRules.map(function(rule) {
11303 -1 return rule.cssText;
11304 -1 }).join(),
11305 -1 isExternal: false,
11306 -1 priority: priority,
11307 -1 root: options.rootNode,
11308 -1 shadowId: options.shadowId
11309 -1 }));
11310 -1 });
11311 -1 return q;
11312 -1 }
11313 -1 function parseCrossOriginStylesheet(url, options, priority) {
11314 -1 var q = axe.utils.queue();
11315 -1 if (!url) {
11316 -1 return q;
11317 -1 }
11318 -1 var axiosOptions = {
11319 -1 method: 'get',
11320 -1 url: url,
11321 -1 timeout: options.timeout
11322 -1 };
11323 -1 q.defer(function(resolve, reject) {
11324 -1 axe.imports.axios(axiosOptions).then(function(_ref5) {
11325 -1 var data = _ref5.data;
11326 -1 return resolve(options.convertDataToStylesheet({
11327 -1 data: data,
11328 -1 isExternal: true,
11329 -1 priority: priority,
11330 -1 root: options.rootNode,
11331 -1 shadowId: options.shadowId
11332 -1 }));
11333 -1 }).catch(reject);
11334 -1 });
11335 -1 return q;
11336 -1 }
11337 -1 function getStylesheetsOfRootNode(options) {
11338 -1 var rootNode = options.rootNode, shadowId = options.shadowId;
11339 -1 var sheets = void 0;
11340 -1 if (rootNode.nodeType === 11 && shadowId) {
11341 -1 sheets = getStylesheetsFromDocumentFragment(options);
11342 -1 } else {
11343 -1 sheets = getStylesheetsFromDocument(rootNode);
11344 -1 }
11345 -1 return filterStylesheetsWithSameHref(sheets);
11346 -1 }
11347 -1 function getStylesheetsFromDocumentFragment(options) {
11348 -1 var rootNode = options.rootNode, convertDataToStylesheet = options.convertDataToStylesheet;
11349 -1 return Array.from(rootNode.children).filter(filerStyleAndLinkAttributesInDocumentFragment).reduce(function(out, node) {
11350 -1 var nodeName = node.nodeName.toUpperCase();
11351 -1 var data = nodeName === 'STYLE' ? node.textContent : node;
11352 -1 var isLink = nodeName === 'LINK';
11353 -1 var stylesheet = convertDataToStylesheet({
11354 -1 data: data,
11355 -1 isLink: isLink,
11356 -1 root: rootNode
11357 -1 });
11358 -1 out.push(stylesheet.sheet);
11359 -1 return out;
11360 -1 }, []);
11361 -1 }
11362 -1 function getStylesheetsFromDocument(rootNode) {
11363 -1 return Array.from(rootNode.styleSheets).filter(function(sheet) {
11364 -1 return filterMediaIsPrint(sheet.media.mediaText);
11365 -1 });
11366 -1 }
11367 -1 function filerStyleAndLinkAttributesInDocumentFragment(node) {
11368 -1 var nodeName = node.nodeName.toUpperCase();
11369 -1 var linkHref = node.getAttribute('href');
11370 -1 var linkRel = node.getAttribute('rel');
11371 -1 var isLink = nodeName === 'LINK' && linkHref && linkRel && node.rel.toUpperCase().includes('STYLESHEET');
11372 -1 var isStyle = nodeName === 'STYLE';
11373 -1 return isStyle || isLink && filterMediaIsPrint(node.media);
11374 -1 }
11375 -1 function filterMediaIsPrint(media) {
11376 -1 if (!media) {
11377 -1 return true;
11378 -1 }
11379 -1 return !media.toUpperCase().includes('PRINT');
11380 -1 }
11381 -1 function filterStylesheetsWithSameHref(sheets) {
11382 -1 var hrefs = [];
11383 -1 return sheets.filter(function(sheet) {
11384 -1 if (!sheet.href) {
11385 -1 return true;
-1 21126 } else {
-1 21127 include = Array.isArray(runOnly) ? runOnly : [ runOnly ];
-1 21128 exclude = defaultExclude.filter(function(tag) {
-1 21129 return include.indexOf(tag) === -1;
-1 21130 });
-1 21131 }
-1 21132 matching = include.some(function(tag) {
-1 21133 return rule.tags.indexOf(tag) !== -1;
-1 21134 });
-1 21135 if (matching || include.length === 0 && rule.enabled !== false) {
-1 21136 return exclude.every(function(tag) {
-1 21137 return rule.tags.indexOf(tag) === -1;
-1 21138 });
-1 21139 } else {
-1 21140 return false;
-1 21141 }
11386 21142 }
11387 -1 if (hrefs.includes(sheet.href)) {
11388 -1 return false;
-1 21143 function ruleShouldRun(rule, context, options) {
-1 21144 var runOnly = options.runOnly || {};
-1 21145 var ruleOptions = (options.rules || {})[rule.id];
-1 21146 if (rule.pageLevel && !context.page) {
-1 21147 return false;
-1 21148 } else if (runOnly.type === 'rule') {
-1 21149 return runOnly.values.indexOf(rule.id) !== -1;
-1 21150 } else if (ruleOptions && typeof ruleOptions.enabled === 'boolean') {
-1 21151 return ruleOptions.enabled;
-1 21152 } else if (runOnly.type === 'tag' && runOnly.values) {
-1 21153 return matchTags(rule, runOnly.values);
-1 21154 } else {
-1 21155 return matchTags(rule, []);
-1 21156 }
11389 21157 }
11390 -1 hrefs.push(sheet.href);
11391 -1 return true;
11392 -1 });
11393 -1 }
11394 -1 'use strict';
11395 -1 var _typeof = typeof Symbol === 'function' && typeof Symbol.iterator === 'symbol' ? function(obj) {
11396 -1 return typeof obj;
11397 -1 } : function(obj) {
11398 -1 return obj && typeof Symbol === 'function' && obj.constructor === Symbol && obj !== Symbol.prototype ? 'symbol' : typeof obj;
11399 -1 };
11400 -1 function _defineProperty(obj, key, value) {
11401 -1 if (key in obj) {
11402 -1 Object.defineProperty(obj, key, {
11403 -1 value: value,
11404 -1 enumerable: true,
11405 -1 configurable: true,
11406 -1 writable: true
11407 -1 });
11408 -1 } else {
11409 -1 obj[key] = value;
11410 -1 }
11411 -1 return obj;
11412 -1 }
11413 -1 function isValidPreloadObject(preload) {
11414 -1 return (typeof preload === 'undefined' ? 'undefined' : _typeof(preload)) === 'object' && Array.isArray(preload.assets);
11415 -1 }
11416 -1 axe.utils.shouldPreload = function shouldPreload(options) {
11417 -1 if (!options || options.preload === undefined || options.preload === null) {
11418 -1 return true;
11419 -1 }
11420 -1 if (typeof options.preload === 'boolean') {
11421 -1 return options.preload;
11422 -1 }
11423 -1 return isValidPreloadObject(options.preload);
11424 -1 };
11425 -1 axe.utils.getPreloadConfig = function getPreloadConfig(options) {
11426 -1 var config = {
11427 -1 assets: axe.constants.preloadAssets,
11428 -1 timeout: axe.constants.preloadAssetsTimeout
11429 -1 };
11430 -1 if (!options.preload) {
11431 -1 return config;
11432 -1 }
11433 -1 if (typeof options.preload === 'boolean') {
11434 -1 return config;
11435 -1 }
11436 -1 var areRequestedAssetsValid = options.preload.assets.every(function(a) {
11437 -1 return axe.constants.preloadAssets.includes(a.toLowerCase());
11438 -1 });
11439 -1 if (!areRequestedAssetsValid) {
11440 -1 throw new Error('Requested assets, not supported. ' + ('Supported assets are: ' + axe.constants.preloadAssets.join(', ') + '.'));
11441 -1 }
11442 -1 config.assets = axe.utils.uniqueArray(options.preload.assets.map(function(a) {
11443 -1 return a.toLowerCase();
11444 -1 }), []);
11445 -1 if (options.preload.timeout && typeof options.preload.timeout === 'number' && !Number.isNaN(options.preload.timeout)) {
11446 -1 config.timeout = options.preload.timeout;
11447 -1 }
11448 -1 return config;
11449 -1 };
11450 -1 axe.utils.preload = function preload(options) {
11451 -1 var preloadFunctionsMap = {
11452 -1 cssom: axe.utils.preloadCssom
11453 -1 };
11454 -1 var q = axe.utils.queue();
11455 -1 var shouldPreload = axe.utils.shouldPreload(options);
11456 -1 if (!shouldPreload) {
11457 -1 return q;
11458 -1 }
11459 -1 var preloadConfig = axe.utils.getPreloadConfig(options);
11460 -1 preloadConfig.assets.forEach(function(asset) {
11461 -1 q.defer(function(resolve, reject) {
11462 -1 preloadFunctionsMap[asset](preloadConfig).then(function(results) {
11463 -1 resolve(_defineProperty({}, asset, results[0]));
11464 -1 }).catch(reject);
11465 -1 });
11466 -1 });
11467 -1 return q;
11468 -1 };
11469 -1 'use strict';
11470 -1 var _typeof = typeof Symbol === 'function' && typeof Symbol.iterator === 'symbol' ? function(obj) {
11471 -1 return typeof obj;
11472 -1 } : function(obj) {
11473 -1 return obj && typeof Symbol === 'function' && obj.constructor === Symbol && obj !== Symbol.prototype ? 'symbol' : typeof obj;
11474 -1 };
11475 -1 function getIncompleteReason(checkData, messages) {
11476 -1 function getDefaultMsg(messages) {
11477 -1 if (messages.incomplete && messages.incomplete.default) {
11478 -1 return messages.incomplete.default;
11479 -1 } else {
11480 -1 return helpers.incompleteFallbackMessage();
-1 21158 __webpack_exports__['default'] = ruleShouldRun;
-1 21159 },
-1 21160 './lib/core/utils/select.js': function libCoreUtilsSelectJs(module, __webpack_exports__, __webpack_require__) {
-1 21161 'use strict';
-1 21162 __webpack_require__.r(__webpack_exports__);
-1 21163 var _contains__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/core/utils/contains.js');
-1 21164 var _query_selector_all_filter__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/core/utils/query-selector-all-filter.js');
-1 21165 var _is_node_in_context__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__('./lib/core/utils/is-node-in-context.js');
-1 21166 function pushNode(result, nodes) {
-1 21167 var temp;
-1 21168 if (result.length === 0) {
-1 21169 return nodes;
-1 21170 }
-1 21171 if (result.length < nodes.length) {
-1 21172 temp = result;
-1 21173 result = nodes;
-1 21174 nodes = temp;
-1 21175 }
-1 21176 for (var i = 0, l = nodes.length; i < l; i++) {
-1 21177 if (!result.includes(nodes[i])) {
-1 21178 result.push(nodes[i]);
-1 21179 }
-1 21180 }
-1 21181 return result;
11481 21182 }
11482 -1 }
11483 -1 if (checkData && checkData.missingData) {
11484 -1 try {
11485 -1 var msg = messages.incomplete[checkData.missingData[0].reason];
11486 -1 if (!msg) {
11487 -1 throw new Error();
-1 21183 function reduceIncludes(includes) {
-1 21184 return includes.reduce(function(res, el) {
-1 21185 if (!res.length || !Object(_contains__WEBPACK_IMPORTED_MODULE_0__['default'])(res[res.length - 1], el)) {
-1 21186 res.push(el);
-1 21187 }
-1 21188 return res;
-1 21189 }, []);
-1 21190 }
-1 21191 function select(selector, context) {
-1 21192 var result = [];
-1 21193 var candidate;
-1 21194 if (axe._selectCache) {
-1 21195 for (var j = 0, l = axe._selectCache.length; j < l; j++) {
-1 21196 var item = axe._selectCache[j];
-1 21197 if (item.selector === selector) {
-1 21198 return item.result;
-1 21199 }
-1 21200 }
11488 21201 }
11489 -1 return msg;
11490 -1 } catch (e) {
11491 -1 if (typeof checkData.missingData === 'string') {
11492 -1 return messages.incomplete[checkData.missingData];
11493 -1 } else {
11494 -1 return getDefaultMsg(messages);
-1 21202 var curried = function(context) {
-1 21203 return function(node) {
-1 21204 return Object(_is_node_in_context__WEBPACK_IMPORTED_MODULE_2__['default'])(node, context);
-1 21205 };
-1 21206 }(context);
-1 21207 var reducedIncludes = reduceIncludes(context.include);
-1 21208 for (var i = 0; i < reducedIncludes.length; i++) {
-1 21209 candidate = reducedIncludes[i];
-1 21210 result = pushNode(result, Object(_query_selector_all_filter__WEBPACK_IMPORTED_MODULE_1__['default'])(candidate, selector, curried));
-1 21211 }
-1 21212 if (axe._selectCache) {
-1 21213 axe._selectCache.push({
-1 21214 selector: selector,
-1 21215 result: result
-1 21216 });
-1 21217 }
-1 21218 return result;
-1 21219 }
-1 21220 __webpack_exports__['default'] = select;
-1 21221 },
-1 21222 './lib/core/utils/send-command-to-frame.js': function libCoreUtilsSendCommandToFrameJs(module, __webpack_exports__, __webpack_require__) {
-1 21223 'use strict';
-1 21224 __webpack_require__.r(__webpack_exports__);
-1 21225 var _get_selector__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/core/utils/get-selector.js');
-1 21226 var _respondable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/core/utils/respondable.js');
-1 21227 var _log__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__('./lib/core/log.js');
-1 21228 function err(message, node) {
-1 21229 var selector;
-1 21230 if (axe._tree) {
-1 21231 selector = Object(_get_selector__WEBPACK_IMPORTED_MODULE_0__['default'])(node);
-1 21232 }
-1 21233 return new Error(message + ': ' + (selector || node));
-1 21234 }
-1 21235 function sendCommandToFrame(node, parameters, resolve, reject) {
-1 21236 var win = node.contentWindow;
-1 21237 if (!win) {
-1 21238 Object(_log__WEBPACK_IMPORTED_MODULE_2__['default'])('Frame does not have a content window', node);
-1 21239 resolve(null);
-1 21240 return;
11495 21241 }
-1 21242 var timeout = setTimeout(function() {
-1 21243 timeout = setTimeout(function() {
-1 21244 if (!parameters.debug) {
-1 21245 resolve(null);
-1 21246 } else {
-1 21247 reject(err('No response from frame', node));
-1 21248 }
-1 21249 }, 0);
-1 21250 }, 500);
-1 21251 Object(_respondable__WEBPACK_IMPORTED_MODULE_1__['default'])(win, 'axe.ping', null, undefined, function() {
-1 21252 clearTimeout(timeout);
-1 21253 var frameWaitTime = parameters.options && parameters.options.frameWaitTime || 6e4;
-1 21254 timeout = setTimeout(function collectResultFramesTimeout() {
-1 21255 reject(err('Axe in frame timed out', node));
-1 21256 }, frameWaitTime);
-1 21257 Object(_respondable__WEBPACK_IMPORTED_MODULE_1__['default'])(win, 'axe.start', parameters, undefined, function(data) {
-1 21258 clearTimeout(timeout);
-1 21259 if (data instanceof Error === false) {
-1 21260 resolve(data);
-1 21261 } else {
-1 21262 reject(data);
-1 21263 }
-1 21264 });
-1 21265 });
11496 21266 }
11497 -1 } else {
11498 -1 return getDefaultMsg(messages);
11499 -1 }
11500 -1 }
11501 -1 function extender(checksData, shouldBeTrue) {
11502 -1 'use strict';
11503 -1 return function(check) {
11504 -1 var sourceData = checksData[check.id] || {};
11505 -1 var messages = sourceData.messages || {};
11506 -1 var data = Object.assign({}, sourceData);
11507 -1 delete data.messages;
11508 -1 if (check.result === undefined) {
11509 -1 if (_typeof(messages.incomplete) === 'object') {
11510 -1 data.message = function() {
11511 -1 return getIncompleteReason(check.data, messages);
11512 -1 };
-1 21267 __webpack_exports__['default'] = sendCommandToFrame;
-1 21268 },
-1 21269 './lib/core/utils/set-scroll-state.js': function libCoreUtilsSetScrollStateJs(module, __webpack_exports__, __webpack_require__) {
-1 21270 'use strict';
-1 21271 __webpack_require__.r(__webpack_exports__);
-1 21272 __webpack_require__.d(__webpack_exports__, 'setScrollState', function() {
-1 21273 return setScrollState;
-1 21274 });
-1 21275 function setScroll(elm, top, left) {
-1 21276 if (elm === window) {
-1 21277 return elm.scroll(left, top);
11513 21278 } else {
11514 -1 data.message = messages.incomplete;
-1 21279 elm.scrollTop = top;
-1 21280 elm.scrollLeft = left;
11515 21281 }
11516 -1 } else {
11517 -1 data.message = check.result === shouldBeTrue ? messages.pass : messages.fail;
11518 21282 }
11519 -1 axe.utils.extendMetaData(check, data);
11520 -1 };
11521 -1 }
11522 -1 axe.utils.publishMetaData = function(ruleResult) {
11523 -1 'use strict';
11524 -1 var checksData = axe._audit.data.checks || {};
11525 -1 var rulesData = axe._audit.data.rules || {};
11526 -1 var rule = axe.utils.findBy(axe._audit.rules, 'id', ruleResult.id) || {};
11527 -1 ruleResult.tags = axe.utils.clone(rule.tags || []);
11528 -1 var shouldBeTrue = extender(checksData, true);
11529 -1 var shouldBeFalse = extender(checksData, false);
11530 -1 ruleResult.nodes.forEach(function(detail) {
11531 -1 detail.any.forEach(shouldBeTrue);
11532 -1 detail.all.forEach(shouldBeTrue);
11533 -1 detail.none.forEach(shouldBeFalse);
11534 -1 });
11535 -1 axe.utils.extendMetaData(ruleResult, axe.utils.clone(rulesData[ruleResult.id] || {}));
11536 -1 };
11537 -1 'use strict';
11538 -1 var convertExpressions = function convertExpressions() {};
11539 -1 var matchExpressions = function matchExpressions() {};
11540 -1 function matchesTag(node, exp) {
11541 -1 return node.nodeType === 1 && (exp.tag === '*' || node.nodeName.toLowerCase() === exp.tag);
11542 -1 }
11543 -1 function matchesClasses(node, exp) {
11544 -1 return !exp.classes || exp.classes.reduce(function(result, cl) {
11545 -1 return result && node.className && node.className.match(cl.regexp);
11546 -1 }, true);
11547 -1 }
11548 -1 function matchesAttributes(node, exp) {
11549 -1 return !exp.attributes || exp.attributes.reduce(function(result, att) {
11550 -1 var nodeAtt = node.getAttribute(att.key);
11551 -1 return result && nodeAtt !== null && (!att.value || att.test(nodeAtt));
11552 -1 }, true);
11553 -1 }
11554 -1 function matchesId(node, exp) {
11555 -1 return !exp.id || node.id === exp.id;
11556 -1 }
11557 -1 function matchesPseudos(target, exp) {
11558 -1 if (!exp.pseudos || exp.pseudos.reduce(function(result, pseudo) {
11559 -1 if (pseudo.name === 'not') {
11560 -1 return result && !matchExpressions([ target ], pseudo.expressions, false).length;
-1 21283 function setScrollState(scrollState) {
-1 21284 scrollState.forEach(function(_ref63) {
-1 21285 var elm = _ref63.elm, top = _ref63.top, left = _ref63.left;
-1 21286 return setScroll(elm, top, left);
-1 21287 });
11561 21288 }
11562 -1 throw new Error('the pseudo selector ' + pseudo.name + ' has not yet been implemented');
11563 -1 }, true)) {
11564 -1 return true;
11565 -1 }
11566 -1 return false;
11567 -1 }
11568 -1 var escapeRegExp = function() {
11569 -1 var from = /(?=[\-\[\]{}()*+?.\\\^$|,#\s])/g;
11570 -1 var to = '\\';
11571 -1 return function(string) {
11572 -1 return string.replace(from, to);
11573 -1 };
11574 -1 }();
11575 -1 var reUnescape = /\\/g;
11576 -1 function convertAttributes(atts) {
11577 -1 if (!atts) {
11578 -1 return;
11579 -1 }
11580 -1 return atts.map(function(att) {
11581 -1 var attributeKey = att.name.replace(reUnescape, '');
11582 -1 var attributeValue = (att.value || '').replace(reUnescape, '');
11583 -1 var test, regexp;
11584 -1 switch (att.operator) {
11585 -1 case '^=':
11586 -1 regexp = new RegExp('^' + escapeRegExp(attributeValue));
11587 -1 break;
11588 -1
11589 -1 case '$=':
11590 -1 regexp = new RegExp(escapeRegExp(attributeValue) + '$');
11591 -1 break;
11592 -1
11593 -1 case '~=':
11594 -1 regexp = new RegExp('(^|\\s)' + escapeRegExp(attributeValue) + '(\\s|$)');
11595 -1 break;
11596 -1
11597 -1 case '|=':
11598 -1 regexp = new RegExp('^' + escapeRegExp(attributeValue) + '(-|$)');
11599 -1 break;
11600 -1
11601 -1 case '=':
11602 -1 test = function test(value) {
11603 -1 return attributeValue === value;
11604 -1 };
11605 -1 break;
11606 -1
11607 -1 case '*=':
11608 -1 test = function test(value) {
11609 -1 return value && value.includes(attributeValue);
11610 -1 };
11611 -1 break;
11612 -1
11613 -1 case '!=':
11614 -1 test = function test(value) {
11615 -1 return attributeValue !== value;
11616 -1 };
11617 -1 break;
11618 -1
11619 -1 default:
11620 -1 test = function test(value) {
11621 -1 return !!value;
11622 -1 };
-1 21289 __webpack_exports__['default'] = setScrollState;
-1 21290 },
-1 21291 './lib/core/utils/to-array.js': function libCoreUtilsToArrayJs(module, __webpack_exports__, __webpack_require__) {
-1 21292 'use strict';
-1 21293 __webpack_require__.r(__webpack_exports__);
-1 21294 function toArray(thing) {
-1 21295 return Array.prototype.slice.call(thing);
11623 21296 }
11624 -1 if (attributeValue === '' && /^[*$^]=$/.test(att.operator)) {
11625 -1 test = function test() {
11626 -1 return false;
-1 21297 __webpack_exports__['default'] = toArray;
-1 21298 },
-1 21299 './lib/core/utils/token-list.js': function libCoreUtilsTokenListJs(module, __webpack_exports__, __webpack_require__) {
-1 21300 'use strict';
-1 21301 __webpack_require__.r(__webpack_exports__);
-1 21302 function tokenList(str) {
-1 21303 return str.trim().replace(/\s{2,}/g, ' ').split(' ');
-1 21304 }
-1 21305 __webpack_exports__['default'] = tokenList;
-1 21306 },
-1 21307 './lib/core/utils/unique-array.js': function libCoreUtilsUniqueArrayJs(module, __webpack_exports__, __webpack_require__) {
-1 21308 'use strict';
-1 21309 __webpack_require__.r(__webpack_exports__);
-1 21310 function uniqueArray(arr1, arr2) {
-1 21311 return arr1.concat(arr2).filter(function(elem, pos, arr) {
-1 21312 return arr.indexOf(elem) === pos;
-1 21313 });
-1 21314 }
-1 21315 __webpack_exports__['default'] = uniqueArray;
-1 21316 },
-1 21317 './lib/core/utils/uuid.js': function libCoreUtilsUuidJs(module, __webpack_exports__, __webpack_require__) {
-1 21318 'use strict';
-1 21319 __webpack_require__.r(__webpack_exports__);
-1 21320 __webpack_require__.d(__webpack_exports__, 'v1', function() {
-1 21321 return v1;
-1 21322 });
-1 21323 __webpack_require__.d(__webpack_exports__, 'v4', function() {
-1 21324 return v4;
-1 21325 });
-1 21326 __webpack_require__.d(__webpack_exports__, 'parse', function() {
-1 21327 return parse;
-1 21328 });
-1 21329 __webpack_require__.d(__webpack_exports__, 'unparse', function() {
-1 21330 return unparse;
-1 21331 });
-1 21332 __webpack_require__.d(__webpack_exports__, 'BufferClass', function() {
-1 21333 return BufferClass;
-1 21334 });
-1 21335 var uuid;
-1 21336 var _rng;
-1 21337 var _crypto = window.crypto || window.msCrypto;
-1 21338 if (!_rng && _crypto && _crypto.getRandomValues) {
-1 21339 var _rnds8 = new Uint8Array(16);
-1 21340 _rng = function whatwgRNG() {
-1 21341 _crypto.getRandomValues(_rnds8);
-1 21342 return _rnds8;
11627 21343 };
11628 21344 }
11629 -1 if (!test) {
11630 -1 test = function test(value) {
11631 -1 return value && regexp.test(value);
-1 21345 if (!_rng) {
-1 21346 var _rnds = new Array(16);
-1 21347 _rng = function _rng() {
-1 21348 for (var i = 0, r; i < 16; i++) {
-1 21349 if ((i & 3) === 0) {
-1 21350 r = Math.random() * 4294967296;
-1 21351 }
-1 21352 _rnds[i] = r >>> ((i & 3) << 3) & 255;
-1 21353 }
-1 21354 return _rnds;
11632 21355 };
11633 21356 }
11634 -1 return {
11635 -1 key: attributeKey,
11636 -1 value: attributeValue,
11637 -1 test: test
11638 -1 };
11639 -1 });
11640 -1 }
11641 -1 function convertClasses(classes) {
11642 -1 if (!classes) {
11643 -1 return;
11644 -1 }
11645 -1 return classes.map(function(className) {
11646 -1 className = className.replace(reUnescape, '');
11647 -1 return {
11648 -1 value: className,
11649 -1 regexp: new RegExp('(^|\\s)' + escapeRegExp(className) + '(\\s|$)')
11650 -1 };
11651 -1 });
11652 -1 }
11653 -1 function convertPseudos(pseudos) {
11654 -1 if (!pseudos) {
11655 -1 return;
11656 -1 }
11657 -1 return pseudos.map(function(p) {
11658 -1 var expressions;
11659 -1 if (p.name === 'not') {
11660 -1 expressions = axe.utils.cssParser.parse(p.value);
11661 -1 expressions = expressions.selectors ? expressions.selectors : [ expressions ];
11662 -1 expressions = convertExpressions(expressions);
-1 21357 var BufferClass = typeof window.Buffer == 'function' ? window.Buffer : Array;
-1 21358 var _byteToHex = [];
-1 21359 var _hexToByte = {};
-1 21360 for (var i = 0; i < 256; i++) {
-1 21361 _byteToHex[i] = (i + 256).toString(16).substr(1);
-1 21362 _hexToByte[_byteToHex[i]] = i;
11663 21363 }
11664 -1 return {
11665 -1 name: p.name,
11666 -1 expressions: expressions,
11667 -1 value: p.value
11668 -1 };
11669 -1 });
11670 -1 }
11671 -1 convertExpressions = function convertExpressions(expressions) {
11672 -1 return expressions.map(function(exp) {
11673 -1 var newExp = [];
11674 -1 var rule = exp.rule;
11675 -1 while (rule) {
11676 -1 newExp.push({
11677 -1 tag: rule.tagName ? rule.tagName.toLowerCase() : '*',
11678 -1 combinator: rule.nestingOperator ? rule.nestingOperator : ' ',
11679 -1 id: rule.id,
11680 -1 attributes: convertAttributes(rule.attrs),
11681 -1 classes: convertClasses(rule.classNames),
11682 -1 pseudos: convertPseudos(rule.pseudos)
-1 21364 function parse(s, buf, offset) {
-1 21365 var i = buf && offset || 0, ii = 0;
-1 21366 buf = buf || [];
-1 21367 s.toLowerCase().replace(/[0-9a-f]{2}/g, function(oct) {
-1 21368 if (ii < 16) {
-1 21369 buf[i + ii++] = _hexToByte[oct];
-1 21370 }
11683 21371 });
11684 -1 rule = rule.rule;
-1 21372 while (ii < 16) {
-1 21373 buf[i + ii++] = 0;
-1 21374 }
-1 21375 return buf;
-1 21376 }
-1 21377 function unparse(buf, offset) {
-1 21378 var i = offset || 0, bth = _byteToHex;
-1 21379 return bth[buf[i++]] + bth[buf[i++]] + bth[buf[i++]] + bth[buf[i++]] + '-' + bth[buf[i++]] + bth[buf[i++]] + '-' + bth[buf[i++]] + bth[buf[i++]] + '-' + bth[buf[i++]] + bth[buf[i++]] + '-' + bth[buf[i++]] + bth[buf[i++]] + bth[buf[i++]] + bth[buf[i++]] + bth[buf[i++]] + bth[buf[i++]];
-1 21380 }
-1 21381 var _seedBytes = _rng();
-1 21382 var _nodeId = [ _seedBytes[0] | 1, _seedBytes[1], _seedBytes[2], _seedBytes[3], _seedBytes[4], _seedBytes[5] ];
-1 21383 var _clockseq = (_seedBytes[6] << 8 | _seedBytes[7]) & 16383;
-1 21384 var _lastMSecs = 0, _lastNSecs = 0;
-1 21385 function v1(options, buf, offset) {
-1 21386 var i = buf && offset || 0;
-1 21387 var b = buf || [];
-1 21388 options = options || {};
-1 21389 var clockseq = options.clockseq != null ? options.clockseq : _clockseq;
-1 21390 var msecs = options.msecs != null ? options.msecs : new Date().getTime();
-1 21391 var nsecs = options.nsecs != null ? options.nsecs : _lastNSecs + 1;
-1 21392 var dt = msecs - _lastMSecs + (nsecs - _lastNSecs) / 1e4;
-1 21393 if (dt < 0 && options.clockseq == null) {
-1 21394 clockseq = clockseq + 1 & 16383;
-1 21395 }
-1 21396 if ((dt < 0 || msecs > _lastMSecs) && options.nsecs == null) {
-1 21397 nsecs = 0;
-1 21398 }
-1 21399 if (nsecs >= 1e4) {
-1 21400 throw new Error('uuid.v1(): Can\'t create more than 10M uuids/sec');
-1 21401 }
-1 21402 _lastMSecs = msecs;
-1 21403 _lastNSecs = nsecs;
-1 21404 _clockseq = clockseq;
-1 21405 msecs += 122192928e5;
-1 21406 var tl = ((msecs & 268435455) * 1e4 + nsecs) % 4294967296;
-1 21407 b[i++] = tl >>> 24 & 255;
-1 21408 b[i++] = tl >>> 16 & 255;
-1 21409 b[i++] = tl >>> 8 & 255;
-1 21410 b[i++] = tl & 255;
-1 21411 var tmh = msecs / 4294967296 * 1e4 & 268435455;
-1 21412 b[i++] = tmh >>> 8 & 255;
-1 21413 b[i++] = tmh & 255;
-1 21414 b[i++] = tmh >>> 24 & 15 | 16;
-1 21415 b[i++] = tmh >>> 16 & 255;
-1 21416 b[i++] = clockseq >>> 8 | 128;
-1 21417 b[i++] = clockseq & 255;
-1 21418 var node = options.node || _nodeId;
-1 21419 for (var n = 0; n < 6; n++) {
-1 21420 b[i + n] = node[n];
-1 21421 }
-1 21422 return buf ? buf : unparse(b);
-1 21423 }
-1 21424 function v4(options, buf, offset) {
-1 21425 var i = buf && offset || 0;
-1 21426 if (typeof options == 'string') {
-1 21427 buf = options == 'binary' ? new BufferClass(16) : null;
-1 21428 options = null;
-1 21429 }
-1 21430 options = options || {};
-1 21431 var rnds = options.random || (options.rng || _rng)();
-1 21432 rnds[6] = rnds[6] & 15 | 64;
-1 21433 rnds[8] = rnds[8] & 63 | 128;
-1 21434 if (buf) {
-1 21435 for (var ii = 0; ii < 16; ii++) {
-1 21436 buf[i + ii] = rnds[ii];
-1 21437 }
-1 21438 }
-1 21439 return buf || unparse(rnds);
-1 21440 }
-1 21441 uuid = v4;
-1 21442 uuid.v1 = v1;
-1 21443 uuid.v4 = v4;
-1 21444 uuid.parse = parse;
-1 21445 uuid.unparse = unparse;
-1 21446 uuid.BufferClass = BufferClass;
-1 21447 axe._uuid = v1();
-1 21448 __webpack_exports__['default'] = v4;
-1 21449 },
-1 21450 './lib/core/utils/valid-input-type.js': function libCoreUtilsValidInputTypeJs(module, __webpack_exports__, __webpack_require__) {
-1 21451 'use strict';
-1 21452 __webpack_require__.r(__webpack_exports__);
-1 21453 function validInputTypes() {
-1 21454 return [ 'hidden', 'text', 'search', 'tel', 'url', 'email', 'password', 'date', 'month', 'week', 'time', 'datetime-local', 'number', 'range', 'color', 'checkbox', 'radio', 'file', 'submit', 'image', 'reset', 'button' ];
11685 21455 }
11686 -1 return newExp;
11687 -1 });
11688 -1 };
11689 -1 function createLocalVariables(nodes, anyLevel, thisLevel, parentShadowId) {
11690 -1 var retVal = {
11691 -1 nodes: nodes.slice(),
11692 -1 anyLevel: anyLevel,
11693 -1 thisLevel: thisLevel,
11694 -1 parentShadowId: parentShadowId
11695 -1 };
11696 -1 retVal.nodes.reverse();
11697 -1 return retVal;
11698 -1 }
11699 -1 function matchesSelector(node, exp) {
11700 -1 return matchesTag(node.actualNode, exp[0]) && matchesClasses(node.actualNode, exp[0]) && matchesAttributes(node.actualNode, exp[0]) && matchesId(node.actualNode, exp[0]) && matchesPseudos(node, exp[0]);
11701 -1 }
11702 -1 matchExpressions = function matchExpressions(domTree, expressions, recurse, filter) {
11703 -1 var stack = [];
11704 -1 var nodes = Array.isArray(domTree) ? domTree : [ domTree ];
11705 -1 var currentLevel = createLocalVariables(nodes, expressions, [], domTree[0].shadowId);
11706 -1 var result = [];
11707 -1 while (currentLevel.nodes.length) {
11708 -1 var node = currentLevel.nodes.pop();
11709 -1 var childOnly = [];
11710 -1 var childAny = [];
11711 -1 var combined = currentLevel.anyLevel.slice().concat(currentLevel.thisLevel);
11712 -1 var added = false;
11713 -1 for (var i = 0; i < combined.length; i++) {
11714 -1 var exp = combined[i];
11715 -1 if (matchesSelector(node, exp) && (!exp[0].id || node.shadowId === currentLevel.parentShadowId)) {
11716 -1 if (exp.length === 1) {
11717 -1 if (!added && (!filter || filter(node))) {
11718 -1 result.push(node);
11719 -1 added = true;
11720 -1 }
11721 -1 } else {
11722 -1 var rest = exp.slice(1);
11723 -1 if ([ ' ', '>' ].includes(rest[0].combinator) === false) {
11724 -1 throw new Error('axe.utils.querySelectorAll does not support the combinator: ' + exp[1].combinator);
-1 21456 __webpack_exports__['default'] = validInputTypes;
-1 21457 },
-1 21458 './lib/core/utils/valid-langs.js': function libCoreUtilsValidLangsJs(module, __webpack_exports__, __webpack_require__) {
-1 21459 'use strict';
-1 21460 __webpack_require__.r(__webpack_exports__);
-1 21461 var langs = [ 'aa', 'ab', 'ae', 'af', 'ak', 'am', 'an', 'ar', 'as', 'av', 'ay', 'az', 'ba', 'be', 'bg', 'bh', 'bi', 'bm', 'bn', 'bo', 'br', 'bs', 'ca', 'ce', 'ch', 'co', 'cr', 'cs', 'cu', 'cv', 'cy', 'da', 'de', 'dv', 'dz', 'ee', 'el', 'en', 'eo', 'es', 'et', 'eu', 'fa', 'ff', 'fi', 'fj', 'fo', 'fr', 'fy', 'ga', 'gd', 'gl', 'gn', 'gu', 'gv', 'ha', 'he', 'hi', 'ho', 'hr', 'ht', 'hu', 'hy', 'hz', 'ia', 'id', 'ie', 'ig', 'ii', 'ik', 'in', 'io', 'is', 'it', 'iu', 'iw', 'ja', 'ji', 'jv', 'jw', 'ka', 'kg', 'ki', 'kj', 'kk', 'kl', 'km', 'kn', 'ko', 'kr', 'ks', 'ku', 'kv', 'kw', 'ky', 'la', 'lb', 'lg', 'li', 'ln', 'lo', 'lt', 'lu', 'lv', 'mg', 'mh', 'mi', 'mk', 'ml', 'mn', 'mo', 'mr', 'ms', 'mt', 'my', 'na', 'nb', 'nd', 'ne', 'ng', 'nl', 'nn', 'no', 'nr', 'nv', 'ny', 'oc', 'oj', 'om', 'or', 'os', 'pa', 'pi', 'pl', 'ps', 'pt', 'qu', 'rm', 'rn', 'ro', 'ru', 'rw', 'sa', 'sc', 'sd', 'se', 'sg', 'sh', 'si', 'sk', 'sl', 'sm', 'sn', 'so', 'sq', 'sr', 'ss', 'st', 'su', 'sv', 'sw', 'ta', 'te', 'tg', 'th', 'ti', 'tk', 'tl', 'tn', 'to', 'tr', 'ts', 'tt', 'tw', 'ty', 'ug', 'uk', 'ur', 'uz', 've', 'vi', 'vo', 'wa', 'wo', 'xh', 'yi', 'yo', 'za', 'zh', 'zu', 'aaa', 'aab', 'aac', 'aad', 'aae', 'aaf', 'aag', 'aah', 'aai', 'aak', 'aal', 'aam', 'aan', 'aao', 'aap', 'aaq', 'aas', 'aat', 'aau', 'aav', 'aaw', 'aax', 'aaz', 'aba', 'abb', 'abc', 'abd', 'abe', 'abf', 'abg', 'abh', 'abi', 'abj', 'abl', 'abm', 'abn', 'abo', 'abp', 'abq', 'abr', 'abs', 'abt', 'abu', 'abv', 'abw', 'abx', 'aby', 'abz', 'aca', 'acb', 'acd', 'ace', 'acf', 'ach', 'aci', 'ack', 'acl', 'acm', 'acn', 'acp', 'acq', 'acr', 'acs', 'act', 'acu', 'acv', 'acw', 'acx', 'acy', 'acz', 'ada', 'adb', 'add', 'ade', 'adf', 'adg', 'adh', 'adi', 'adj', 'adl', 'adn', 'ado', 'adp', 'adq', 'adr', 'ads', 'adt', 'adu', 'adw', 'adx', 'ady', 'adz', 'aea', 'aeb', 'aec', 'aed', 'aee', 'aek', 'ael', 'aem', 'aen', 'aeq', 'aer', 'aes', 'aeu', 'aew', 'aey', 'aez', 'afa', 'afb', 'afd', 'afe', 'afg', 'afh', 'afi', 'afk', 'afn', 'afo', 'afp', 'afs', 'aft', 'afu', 'afz', 'aga', 'agb', 'agc', 'agd', 'age', 'agf', 'agg', 'agh', 'agi', 'agj', 'agk', 'agl', 'agm', 'agn', 'ago', 'agp', 'agq', 'agr', 'ags', 'agt', 'agu', 'agv', 'agw', 'agx', 'agy', 'agz', 'aha', 'ahb', 'ahg', 'ahh', 'ahi', 'ahk', 'ahl', 'ahm', 'ahn', 'aho', 'ahp', 'ahr', 'ahs', 'aht', 'aia', 'aib', 'aic', 'aid', 'aie', 'aif', 'aig', 'aih', 'aii', 'aij', 'aik', 'ail', 'aim', 'ain', 'aio', 'aip', 'aiq', 'air', 'ais', 'ait', 'aiw', 'aix', 'aiy', 'aja', 'ajg', 'aji', 'ajn', 'ajp', 'ajt', 'aju', 'ajw', 'ajz', 'akb', 'akc', 'akd', 'ake', 'akf', 'akg', 'akh', 'aki', 'akj', 'akk', 'akl', 'akm', 'ako', 'akp', 'akq', 'akr', 'aks', 'akt', 'aku', 'akv', 'akw', 'akx', 'aky', 'akz', 'ala', 'alc', 'ald', 'ale', 'alf', 'alg', 'alh', 'ali', 'alj', 'alk', 'all', 'alm', 'aln', 'alo', 'alp', 'alq', 'alr', 'als', 'alt', 'alu', 'alv', 'alw', 'alx', 'aly', 'alz', 'ama', 'amb', 'amc', 'ame', 'amf', 'amg', 'ami', 'amj', 'amk', 'aml', 'amm', 'amn', 'amo', 'amp', 'amq', 'amr', 'ams', 'amt', 'amu', 'amv', 'amw', 'amx', 'amy', 'amz', 'ana', 'anb', 'anc', 'and', 'ane', 'anf', 'ang', 'anh', 'ani', 'anj', 'ank', 'anl', 'anm', 'ann', 'ano', 'anp', 'anq', 'anr', 'ans', 'ant', 'anu', 'anv', 'anw', 'anx', 'any', 'anz', 'aoa', 'aob', 'aoc', 'aod', 'aoe', 'aof', 'aog', 'aoh', 'aoi', 'aoj', 'aok', 'aol', 'aom', 'aon', 'aor', 'aos', 'aot', 'aou', 'aox', 'aoz', 'apa', 'apb', 'apc', 'apd', 'ape', 'apf', 'apg', 'aph', 'api', 'apj', 'apk', 'apl', 'apm', 'apn', 'apo', 'app', 'apq', 'apr', 'aps', 'apt', 'apu', 'apv', 'apw', 'apx', 'apy', 'apz', 'aqa', 'aqc', 'aqd', 'aqg', 'aql', 'aqm', 'aqn', 'aqp', 'aqr', 'aqt', 'aqz', 'arb', 'arc', 'ard', 'are', 'arh', 'ari', 'arj', 'ark', 'arl', 'arn', 'aro', 'arp', 'arq', 'arr', 'ars', 'art', 'aru', 'arv', 'arw', 'arx', 'ary', 'arz', 'asa', 'asb', 'asc', 'asd', 'ase', 'asf', 'asg', 'ash', 'asi', 'asj', 'ask', 'asl', 'asn', 'aso', 'asp', 'asq', 'asr', 'ass', 'ast', 'asu', 'asv', 'asw', 'asx', 'asy', 'asz', 'ata', 'atb', 'atc', 'atd', 'ate', 'atg', 'ath', 'ati', 'atj', 'atk', 'atl', 'atm', 'atn', 'ato', 'atp', 'atq', 'atr', 'ats', 'att', 'atu', 'atv', 'atw', 'atx', 'aty', 'atz', 'aua', 'aub', 'auc', 'aud', 'aue', 'auf', 'aug', 'auh', 'aui', 'auj', 'auk', 'aul', 'aum', 'aun', 'auo', 'aup', 'auq', 'aur', 'aus', 'aut', 'auu', 'auw', 'aux', 'auy', 'auz', 'avb', 'avd', 'avi', 'avk', 'avl', 'avm', 'avn', 'avo', 'avs', 'avt', 'avu', 'avv', 'awa', 'awb', 'awc', 'awd', 'awe', 'awg', 'awh', 'awi', 'awk', 'awm', 'awn', 'awo', 'awr', 'aws', 'awt', 'awu', 'awv', 'aww', 'awx', 'awy', 'axb', 'axe', 'axg', 'axk', 'axl', 'axm', 'axx', 'aya', 'ayb', 'ayc', 'ayd', 'aye', 'ayg', 'ayh', 'ayi', 'ayk', 'ayl', 'ayn', 'ayo', 'ayp', 'ayq', 'ayr', 'ays', 'ayt', 'ayu', 'ayx', 'ayy', 'ayz', 'aza', 'azb', 'azc', 'azd', 'azg', 'azj', 'azm', 'azn', 'azo', 'azt', 'azz', 'baa', 'bab', 'bac', 'bad', 'bae', 'baf', 'bag', 'bah', 'bai', 'baj', 'bal', 'ban', 'bao', 'bap', 'bar', 'bas', 'bat', 'bau', 'bav', 'baw', 'bax', 'bay', 'baz', 'bba', 'bbb', 'bbc', 'bbd', 'bbe', 'bbf', 'bbg', 'bbh', 'bbi', 'bbj', 'bbk', 'bbl', 'bbm', 'bbn', 'bbo', 'bbp', 'bbq', 'bbr', 'bbs', 'bbt', 'bbu', 'bbv', 'bbw', 'bbx', 'bby', 'bbz', 'bca', 'bcb', 'bcc', 'bcd', 'bce', 'bcf', 'bcg', 'bch', 'bci', 'bcj', 'bck', 'bcl', 'bcm', 'bcn', 'bco', 'bcp', 'bcq', 'bcr', 'bcs', 'bct', 'bcu', 'bcv', 'bcw', 'bcy', 'bcz', 'bda', 'bdb', 'bdc', 'bdd', 'bde', 'bdf', 'bdg', 'bdh', 'bdi', 'bdj', 'bdk', 'bdl', 'bdm', 'bdn', 'bdo', 'bdp', 'bdq', 'bdr', 'bds', 'bdt', 'bdu', 'bdv', 'bdw', 'bdx', 'bdy', 'bdz', 'bea', 'beb', 'bec', 'bed', 'bee', 'bef', 'beg', 'beh', 'bei', 'bej', 'bek', 'bem', 'beo', 'bep', 'beq', 'ber', 'bes', 'bet', 'beu', 'bev', 'bew', 'bex', 'bey', 'bez', 'bfa', 'bfb', 'bfc', 'bfd', 'bfe', 'bff', 'bfg', 'bfh', 'bfi', 'bfj', 'bfk', 'bfl', 'bfm', 'bfn', 'bfo', 'bfp', 'bfq', 'bfr', 'bfs', 'bft', 'bfu', 'bfw', 'bfx', 'bfy', 'bfz', 'bga', 'bgb', 'bgc', 'bgd', 'bge', 'bgf', 'bgg', 'bgi', 'bgj', 'bgk', 'bgl', 'bgm', 'bgn', 'bgo', 'bgp', 'bgq', 'bgr', 'bgs', 'bgt', 'bgu', 'bgv', 'bgw', 'bgx', 'bgy', 'bgz', 'bha', 'bhb', 'bhc', 'bhd', 'bhe', 'bhf', 'bhg', 'bhh', 'bhi', 'bhj', 'bhk', 'bhl', 'bhm', 'bhn', 'bho', 'bhp', 'bhq', 'bhr', 'bhs', 'bht', 'bhu', 'bhv', 'bhw', 'bhx', 'bhy', 'bhz', 'bia', 'bib', 'bic', 'bid', 'bie', 'bif', 'big', 'bij', 'bik', 'bil', 'bim', 'bin', 'bio', 'bip', 'biq', 'bir', 'bit', 'biu', 'biv', 'biw', 'bix', 'biy', 'biz', 'bja', 'bjb', 'bjc', 'bjd', 'bje', 'bjf', 'bjg', 'bjh', 'bji', 'bjj', 'bjk', 'bjl', 'bjm', 'bjn', 'bjo', 'bjp', 'bjq', 'bjr', 'bjs', 'bjt', 'bju', 'bjv', 'bjw', 'bjx', 'bjy', 'bjz', 'bka', 'bkb', 'bkc', 'bkd', 'bkf', 'bkg', 'bkh', 'bki', 'bkj', 'bkk', 'bkl', 'bkm', 'bkn', 'bko', 'bkp', 'bkq', 'bkr', 'bks', 'bkt', 'bku', 'bkv', 'bkw', 'bkx', 'bky', 'bkz', 'bla', 'blb', 'blc', 'bld', 'ble', 'blf', 'blg', 'blh', 'bli', 'blj', 'blk', 'bll', 'blm', 'bln', 'blo', 'blp', 'blq', 'blr', 'bls', 'blt', 'blv', 'blw', 'blx', 'bly', 'blz', 'bma', 'bmb', 'bmc', 'bmd', 'bme', 'bmf', 'bmg', 'bmh', 'bmi', 'bmj', 'bmk', 'bml', 'bmm', 'bmn', 'bmo', 'bmp', 'bmq', 'bmr', 'bms', 'bmt', 'bmu', 'bmv', 'bmw', 'bmx', 'bmy', 'bmz', 'bna', 'bnb', 'bnc', 'bnd', 'bne', 'bnf', 'bng', 'bni', 'bnj', 'bnk', 'bnl', 'bnm', 'bnn', 'bno', 'bnp', 'bnq', 'bnr', 'bns', 'bnt', 'bnu', 'bnv', 'bnw', 'bnx', 'bny', 'bnz', 'boa', 'bob', 'boe', 'bof', 'bog', 'boh', 'boi', 'boj', 'bok', 'bol', 'bom', 'bon', 'boo', 'bop', 'boq', 'bor', 'bot', 'bou', 'bov', 'bow', 'box', 'boy', 'boz', 'bpa', 'bpb', 'bpd', 'bpg', 'bph', 'bpi', 'bpj', 'bpk', 'bpl', 'bpm', 'bpn', 'bpo', 'bpp', 'bpq', 'bpr', 'bps', 'bpt', 'bpu', 'bpv', 'bpw', 'bpx', 'bpy', 'bpz', 'bqa', 'bqb', 'bqc', 'bqd', 'bqf', 'bqg', 'bqh', 'bqi', 'bqj', 'bqk', 'bql', 'bqm', 'bqn', 'bqo', 'bqp', 'bqq', 'bqr', 'bqs', 'bqt', 'bqu', 'bqv', 'bqw', 'bqx', 'bqy', 'bqz', 'bra', 'brb', 'brc', 'brd', 'brf', 'brg', 'brh', 'bri', 'brj', 'brk', 'brl', 'brm', 'brn', 'bro', 'brp', 'brq', 'brr', 'brs', 'brt', 'bru', 'brv', 'brw', 'brx', 'bry', 'brz', 'bsa', 'bsb', 'bsc', 'bse', 'bsf', 'bsg', 'bsh', 'bsi', 'bsj', 'bsk', 'bsl', 'bsm', 'bsn', 'bso', 'bsp', 'bsq', 'bsr', 'bss', 'bst', 'bsu', 'bsv', 'bsw', 'bsx', 'bsy', 'bta', 'btb', 'btc', 'btd', 'bte', 'btf', 'btg', 'bth', 'bti', 'btj', 'btk', 'btl', 'btm', 'btn', 'bto', 'btp', 'btq', 'btr', 'bts', 'btt', 'btu', 'btv', 'btw', 'btx', 'bty', 'btz', 'bua', 'bub', 'buc', 'bud', 'bue', 'buf', 'bug', 'buh', 'bui', 'buj', 'buk', 'bum', 'bun', 'buo', 'bup', 'buq', 'bus', 'but', 'buu', 'buv', 'buw', 'bux', 'buy', 'buz', 'bva', 'bvb', 'bvc', 'bvd', 'bve', 'bvf', 'bvg', 'bvh', 'bvi', 'bvj', 'bvk', 'bvl', 'bvm', 'bvn', 'bvo', 'bvp', 'bvq', 'bvr', 'bvt', 'bvu', 'bvv', 'bvw', 'bvx', 'bvy', 'bvz', 'bwa', 'bwb', 'bwc', 'bwd', 'bwe', 'bwf', 'bwg', 'bwh', 'bwi', 'bwj', 'bwk', 'bwl', 'bwm', 'bwn', 'bwo', 'bwp', 'bwq', 'bwr', 'bws', 'bwt', 'bwu', 'bww', 'bwx', 'bwy', 'bwz', 'bxa', 'bxb', 'bxc', 'bxd', 'bxe', 'bxf', 'bxg', 'bxh', 'bxi', 'bxj', 'bxk', 'bxl', 'bxm', 'bxn', 'bxo', 'bxp', 'bxq', 'bxr', 'bxs', 'bxu', 'bxv', 'bxw', 'bxx', 'bxz', 'bya', 'byb', 'byc', 'byd', 'bye', 'byf', 'byg', 'byh', 'byi', 'byj', 'byk', 'byl', 'bym', 'byn', 'byo', 'byp', 'byq', 'byr', 'bys', 'byt', 'byv', 'byw', 'byx', 'byy', 'byz', 'bza', 'bzb', 'bzc', 'bzd', 'bze', 'bzf', 'bzg', 'bzh', 'bzi', 'bzj', 'bzk', 'bzl', 'bzm', 'bzn', 'bzo', 'bzp', 'bzq', 'bzr', 'bzs', 'bzt', 'bzu', 'bzv', 'bzw', 'bzx', 'bzy', 'bzz', 'caa', 'cab', 'cac', 'cad', 'cae', 'caf', 'cag', 'cah', 'cai', 'caj', 'cak', 'cal', 'cam', 'can', 'cao', 'cap', 'caq', 'car', 'cas', 'cau', 'cav', 'caw', 'cax', 'cay', 'caz', 'cba', 'cbb', 'cbc', 'cbd', 'cbe', 'cbg', 'cbh', 'cbi', 'cbj', 'cbk', 'cbl', 'cbn', 'cbo', 'cbq', 'cbr', 'cbs', 'cbt', 'cbu', 'cbv', 'cbw', 'cby', 'cca', 'ccc', 'ccd', 'cce', 'ccg', 'cch', 'ccj', 'ccl', 'ccm', 'ccn', 'cco', 'ccp', 'ccq', 'ccr', 'ccs', 'cda', 'cdc', 'cdd', 'cde', 'cdf', 'cdg', 'cdh', 'cdi', 'cdj', 'cdm', 'cdn', 'cdo', 'cdr', 'cds', 'cdy', 'cdz', 'cea', 'ceb', 'ceg', 'cek', 'cel', 'cen', 'cet', 'cfa', 'cfd', 'cfg', 'cfm', 'cga', 'cgc', 'cgg', 'cgk', 'chb', 'chc', 'chd', 'chf', 'chg', 'chh', 'chj', 'chk', 'chl', 'chm', 'chn', 'cho', 'chp', 'chq', 'chr', 'cht', 'chw', 'chx', 'chy', 'chz', 'cia', 'cib', 'cic', 'cid', 'cie', 'cih', 'cik', 'cim', 'cin', 'cip', 'cir', 'ciw', 'ciy', 'cja', 'cje', 'cjh', 'cji', 'cjk', 'cjm', 'cjn', 'cjo', 'cjp', 'cjr', 'cjs', 'cjv', 'cjy', 'cka', 'ckb', 'ckh', 'ckl', 'ckn', 'cko', 'ckq', 'ckr', 'cks', 'ckt', 'cku', 'ckv', 'ckx', 'cky', 'ckz', 'cla', 'clc', 'cld', 'cle', 'clh', 'cli', 'clj', 'clk', 'cll', 'clm', 'clo', 'clt', 'clu', 'clw', 'cly', 'cma', 'cmc', 'cme', 'cmg', 'cmi', 'cmk', 'cml', 'cmm', 'cmn', 'cmo', 'cmr', 'cms', 'cmt', 'cna', 'cnb', 'cnc', 'cng', 'cnh', 'cni', 'cnk', 'cnl', 'cno', 'cnr', 'cns', 'cnt', 'cnu', 'cnw', 'cnx', 'coa', 'cob', 'coc', 'cod', 'coe', 'cof', 'cog', 'coh', 'coj', 'cok', 'col', 'com', 'con', 'coo', 'cop', 'coq', 'cot', 'cou', 'cov', 'cow', 'cox', 'coy', 'coz', 'cpa', 'cpb', 'cpc', 'cpe', 'cpf', 'cpg', 'cpi', 'cpn', 'cpo', 'cpp', 'cps', 'cpu', 'cpx', 'cpy', 'cqd', 'cqu', 'cra', 'crb', 'crc', 'crd', 'crf', 'crg', 'crh', 'cri', 'crj', 'crk', 'crl', 'crm', 'crn', 'cro', 'crp', 'crq', 'crr', 'crs', 'crt', 'crv', 'crw', 'crx', 'cry', 'crz', 'csa', 'csb', 'csc', 'csd', 'cse', 'csf', 'csg', 'csh', 'csi', 'csj', 'csk', 'csl', 'csm', 'csn', 'cso', 'csq', 'csr', 'css', 'cst', 'csu', 'csv', 'csw', 'csy', 'csz', 'cta', 'ctc', 'ctd', 'cte', 'ctg', 'cth', 'ctl', 'ctm', 'ctn', 'cto', 'ctp', 'cts', 'ctt', 'ctu', 'ctz', 'cua', 'cub', 'cuc', 'cug', 'cuh', 'cui', 'cuj', 'cuk', 'cul', 'cum', 'cuo', 'cup', 'cuq', 'cur', 'cus', 'cut', 'cuu', 'cuv', 'cuw', 'cux', 'cuy', 'cvg', 'cvn', 'cwa', 'cwb', 'cwd', 'cwe', 'cwg', 'cwt', 'cya', 'cyb', 'cyo', 'czh', 'czk', 'czn', 'czo', 'czt', 'daa', 'dac', 'dad', 'dae', 'daf', 'dag', 'dah', 'dai', 'daj', 'dak', 'dal', 'dam', 'dao', 'dap', 'daq', 'dar', 'das', 'dau', 'dav', 'daw', 'dax', 'day', 'daz', 'dba', 'dbb', 'dbd', 'dbe', 'dbf', 'dbg', 'dbi', 'dbj', 'dbl', 'dbm', 'dbn', 'dbo', 'dbp', 'dbq', 'dbr', 'dbt', 'dbu', 'dbv', 'dbw', 'dby', 'dcc', 'dcr', 'dda', 'ddd', 'dde', 'ddg', 'ddi', 'ddj', 'ddn', 'ddo', 'ddr', 'dds', 'ddw', 'dec', 'ded', 'dee', 'def', 'deg', 'deh', 'dei', 'dek', 'del', 'dem', 'den', 'dep', 'deq', 'der', 'des', 'dev', 'dez', 'dga', 'dgb', 'dgc', 'dgd', 'dge', 'dgg', 'dgh', 'dgi', 'dgk', 'dgl', 'dgn', 'dgo', 'dgr', 'dgs', 'dgt', 'dgu', 'dgw', 'dgx', 'dgz', 'dha', 'dhd', 'dhg', 'dhi', 'dhl', 'dhm', 'dhn', 'dho', 'dhr', 'dhs', 'dhu', 'dhv', 'dhw', 'dhx', 'dia', 'dib', 'dic', 'did', 'dif', 'dig', 'dih', 'dii', 'dij', 'dik', 'dil', 'dim', 'din', 'dio', 'dip', 'diq', 'dir', 'dis', 'dit', 'diu', 'diw', 'dix', 'diy', 'diz', 'dja', 'djb', 'djc', 'djd', 'dje', 'djf', 'dji', 'djj', 'djk', 'djl', 'djm', 'djn', 'djo', 'djr', 'dju', 'djw', 'dka', 'dkk', 'dkl', 'dkr', 'dks', 'dkx', 'dlg', 'dlk', 'dlm', 'dln', 'dma', 'dmb', 'dmc', 'dmd', 'dme', 'dmg', 'dmk', 'dml', 'dmm', 'dmn', 'dmo', 'dmr', 'dms', 'dmu', 'dmv', 'dmw', 'dmx', 'dmy', 'dna', 'dnd', 'dne', 'dng', 'dni', 'dnj', 'dnk', 'dnn', 'dnr', 'dnt', 'dnu', 'dnv', 'dnw', 'dny', 'doa', 'dob', 'doc', 'doe', 'dof', 'doh', 'doi', 'dok', 'dol', 'don', 'doo', 'dop', 'doq', 'dor', 'dos', 'dot', 'dov', 'dow', 'dox', 'doy', 'doz', 'dpp', 'dra', 'drb', 'drc', 'drd', 'dre', 'drg', 'drh', 'dri', 'drl', 'drn', 'dro', 'drq', 'drr', 'drs', 'drt', 'dru', 'drw', 'dry', 'dsb', 'dse', 'dsh', 'dsi', 'dsl', 'dsn', 'dso', 'dsq', 'dta', 'dtb', 'dtd', 'dth', 'dti', 'dtk', 'dtm', 'dtn', 'dto', 'dtp', 'dtr', 'dts', 'dtt', 'dtu', 'dty', 'dua', 'dub', 'duc', 'dud', 'due', 'duf', 'dug', 'duh', 'dui', 'duj', 'duk', 'dul', 'dum', 'dun', 'duo', 'dup', 'duq', 'dur', 'dus', 'duu', 'duv', 'duw', 'dux', 'duy', 'duz', 'dva', 'dwa', 'dwl', 'dwr', 'dws', 'dwu', 'dww', 'dwy', 'dya', 'dyb', 'dyd', 'dyg', 'dyi', 'dym', 'dyn', 'dyo', 'dyu', 'dyy', 'dza', 'dzd', 'dze', 'dzg', 'dzl', 'dzn', 'eaa', 'ebg', 'ebk', 'ebo', 'ebr', 'ebu', 'ecr', 'ecs', 'ecy', 'eee', 'efa', 'efe', 'efi', 'ega', 'egl', 'ego', 'egx', 'egy', 'ehu', 'eip', 'eit', 'eiv', 'eja', 'eka', 'ekc', 'eke', 'ekg', 'eki', 'ekk', 'ekl', 'ekm', 'eko', 'ekp', 'ekr', 'eky', 'ele', 'elh', 'eli', 'elk', 'elm', 'elo', 'elp', 'elu', 'elx', 'ema', 'emb', 'eme', 'emg', 'emi', 'emk', 'emm', 'emn', 'emo', 'emp', 'ems', 'emu', 'emw', 'emx', 'emy', 'ena', 'enb', 'enc', 'end', 'enf', 'enh', 'enl', 'enm', 'enn', 'eno', 'enq', 'enr', 'enu', 'env', 'enw', 'enx', 'eot', 'epi', 'era', 'erg', 'erh', 'eri', 'erk', 'ero', 'err', 'ers', 'ert', 'erw', 'ese', 'esg', 'esh', 'esi', 'esk', 'esl', 'esm', 'esn', 'eso', 'esq', 'ess', 'esu', 'esx', 'esy', 'etb', 'etc', 'eth', 'etn', 'eto', 'etr', 'ets', 'ett', 'etu', 'etx', 'etz', 'euq', 'eve', 'evh', 'evn', 'ewo', 'ext', 'eya', 'eyo', 'eza', 'eze', 'faa', 'fab', 'fad', 'faf', 'fag', 'fah', 'fai', 'faj', 'fak', 'fal', 'fam', 'fan', 'fap', 'far', 'fat', 'fau', 'fax', 'fay', 'faz', 'fbl', 'fcs', 'fer', 'ffi', 'ffm', 'fgr', 'fia', 'fie', 'fil', 'fip', 'fir', 'fit', 'fiu', 'fiw', 'fkk', 'fkv', 'fla', 'flh', 'fli', 'fll', 'fln', 'flr', 'fly', 'fmp', 'fmu', 'fnb', 'fng', 'fni', 'fod', 'foi', 'fom', 'fon', 'for', 'fos', 'fox', 'fpe', 'fqs', 'frc', 'frd', 'frk', 'frm', 'fro', 'frp', 'frq', 'frr', 'frs', 'frt', 'fse', 'fsl', 'fss', 'fub', 'fuc', 'fud', 'fue', 'fuf', 'fuh', 'fui', 'fuj', 'fum', 'fun', 'fuq', 'fur', 'fut', 'fuu', 'fuv', 'fuy', 'fvr', 'fwa', 'fwe', 'gaa', 'gab', 'gac', 'gad', 'gae', 'gaf', 'gag', 'gah', 'gai', 'gaj', 'gak', 'gal', 'gam', 'gan', 'gao', 'gap', 'gaq', 'gar', 'gas', 'gat', 'gau', 'gav', 'gaw', 'gax', 'gay', 'gaz', 'gba', 'gbb', 'gbc', 'gbd', 'gbe', 'gbf', 'gbg', 'gbh', 'gbi', 'gbj', 'gbk', 'gbl', 'gbm', 'gbn', 'gbo', 'gbp', 'gbq', 'gbr', 'gbs', 'gbu', 'gbv', 'gbw', 'gbx', 'gby', 'gbz', 'gcc', 'gcd', 'gce', 'gcf', 'gcl', 'gcn', 'gcr', 'gct', 'gda', 'gdb', 'gdc', 'gdd', 'gde', 'gdf', 'gdg', 'gdh', 'gdi', 'gdj', 'gdk', 'gdl', 'gdm', 'gdn', 'gdo', 'gdq', 'gdr', 'gds', 'gdt', 'gdu', 'gdx', 'gea', 'geb', 'gec', 'ged', 'geg', 'geh', 'gei', 'gej', 'gek', 'gel', 'gem', 'geq', 'ges', 'gev', 'gew', 'gex', 'gey', 'gez', 'gfk', 'gft', 'gfx', 'gga', 'ggb', 'ggd', 'gge', 'ggg', 'ggk', 'ggl', 'ggn', 'ggo', 'ggr', 'ggt', 'ggu', 'ggw', 'gha', 'ghc', 'ghe', 'ghh', 'ghk', 'ghl', 'ghn', 'gho', 'ghr', 'ghs', 'ght', 'gia', 'gib', 'gic', 'gid', 'gie', 'gig', 'gih', 'gil', 'gim', 'gin', 'gio', 'gip', 'giq', 'gir', 'gis', 'git', 'giu', 'giw', 'gix', 'giy', 'giz', 'gji', 'gjk', 'gjm', 'gjn', 'gjr', 'gju', 'gka', 'gkd', 'gke', 'gkn', 'gko', 'gkp', 'gku', 'glc', 'gld', 'glh', 'gli', 'glj', 'glk', 'gll', 'glo', 'glr', 'glu', 'glw', 'gly', 'gma', 'gmb', 'gmd', 'gme', 'gmg', 'gmh', 'gml', 'gmm', 'gmn', 'gmq', 'gmu', 'gmv', 'gmw', 'gmx', 'gmy', 'gmz', 'gna', 'gnb', 'gnc', 'gnd', 'gne', 'gng', 'gnh', 'gni', 'gnj', 'gnk', 'gnl', 'gnm', 'gnn', 'gno', 'gnq', 'gnr', 'gnt', 'gnu', 'gnw', 'gnz', 'goa', 'gob', 'goc', 'god', 'goe', 'gof', 'gog', 'goh', 'goi', 'goj', 'gok', 'gol', 'gom', 'gon', 'goo', 'gop', 'goq', 'gor', 'gos', 'got', 'gou', 'gow', 'gox', 'goy', 'goz', 'gpa', 'gpe', 'gpn', 'gqa', 'gqi', 'gqn', 'gqr', 'gqu', 'gra', 'grb', 'grc', 'grd', 'grg', 'grh', 'gri', 'grj', 'grk', 'grm', 'gro', 'grq', 'grr', 'grs', 'grt', 'gru', 'grv', 'grw', 'grx', 'gry', 'grz', 'gse', 'gsg', 'gsl', 'gsm', 'gsn', 'gso', 'gsp', 'gss', 'gsw', 'gta', 'gti', 'gtu', 'gua', 'gub', 'guc', 'gud', 'gue', 'guf', 'gug', 'guh', 'gui', 'guk', 'gul', 'gum', 'gun', 'guo', 'gup', 'guq', 'gur', 'gus', 'gut', 'guu', 'guv', 'guw', 'gux', 'guz', 'gva', 'gvc', 'gve', 'gvf', 'gvj', 'gvl', 'gvm', 'gvn', 'gvo', 'gvp', 'gvr', 'gvs', 'gvy', 'gwa', 'gwb', 'gwc', 'gwd', 'gwe', 'gwf', 'gwg', 'gwi', 'gwj', 'gwm', 'gwn', 'gwr', 'gwt', 'gwu', 'gww', 'gwx', 'gxx', 'gya', 'gyb', 'gyd', 'gye', 'gyf', 'gyg', 'gyi', 'gyl', 'gym', 'gyn', 'gyo', 'gyr', 'gyy', 'gza', 'gzi', 'gzn', 'haa', 'hab', 'hac', 'had', 'hae', 'haf', 'hag', 'hah', 'hai', 'haj', 'hak', 'hal', 'ham', 'han', 'hao', 'hap', 'haq', 'har', 'has', 'hav', 'haw', 'hax', 'hay', 'haz', 'hba', 'hbb', 'hbn', 'hbo', 'hbu', 'hca', 'hch', 'hdn', 'hds', 'hdy', 'hea', 'hed', 'heg', 'heh', 'hei', 'hem', 'hgm', 'hgw', 'hhi', 'hhr', 'hhy', 'hia', 'hib', 'hid', 'hif', 'hig', 'hih', 'hii', 'hij', 'hik', 'hil', 'him', 'hio', 'hir', 'hit', 'hiw', 'hix', 'hji', 'hka', 'hke', 'hkk', 'hkn', 'hks', 'hla', 'hlb', 'hld', 'hle', 'hlt', 'hlu', 'hma', 'hmb', 'hmc', 'hmd', 'hme', 'hmf', 'hmg', 'hmh', 'hmi', 'hmj', 'hmk', 'hml', 'hmm', 'hmn', 'hmp', 'hmq', 'hmr', 'hms', 'hmt', 'hmu', 'hmv', 'hmw', 'hmx', 'hmy', 'hmz', 'hna', 'hnd', 'hne', 'hnh', 'hni', 'hnj', 'hnn', 'hno', 'hns', 'hnu', 'hoa', 'hob', 'hoc', 'hod', 'hoe', 'hoh', 'hoi', 'hoj', 'hok', 'hol', 'hom', 'hoo', 'hop', 'hor', 'hos', 'hot', 'hov', 'how', 'hoy', 'hoz', 'hpo', 'hps', 'hra', 'hrc', 'hre', 'hrk', 'hrm', 'hro', 'hrp', 'hrr', 'hrt', 'hru', 'hrw', 'hrx', 'hrz', 'hsb', 'hsh', 'hsl', 'hsn', 'hss', 'hti', 'hto', 'hts', 'htu', 'htx', 'hub', 'huc', 'hud', 'hue', 'huf', 'hug', 'huh', 'hui', 'huj', 'huk', 'hul', 'hum', 'huo', 'hup', 'huq', 'hur', 'hus', 'hut', 'huu', 'huv', 'huw', 'hux', 'huy', 'huz', 'hvc', 'hve', 'hvk', 'hvn', 'hvv', 'hwa', 'hwc', 'hwo', 'hya', 'hyw', 'hyx', 'iai', 'ian', 'iap', 'iar', 'iba', 'ibb', 'ibd', 'ibe', 'ibg', 'ibh', 'ibi', 'ibl', 'ibm', 'ibn', 'ibr', 'ibu', 'iby', 'ica', 'ich', 'icl', 'icr', 'ida', 'idb', 'idc', 'idd', 'ide', 'idi', 'idr', 'ids', 'idt', 'idu', 'ifa', 'ifb', 'ife', 'iff', 'ifk', 'ifm', 'ifu', 'ify', 'igb', 'ige', 'igg', 'igl', 'igm', 'ign', 'igo', 'igs', 'igw', 'ihb', 'ihi', 'ihp', 'ihw', 'iin', 'iir', 'ijc', 'ije', 'ijj', 'ijn', 'ijo', 'ijs', 'ike', 'iki', 'ikk', 'ikl', 'iko', 'ikp', 'ikr', 'iks', 'ikt', 'ikv', 'ikw', 'ikx', 'ikz', 'ila', 'ilb', 'ilg', 'ili', 'ilk', 'ill', 'ilm', 'ilo', 'ilp', 'ils', 'ilu', 'ilv', 'ilw', 'ima', 'ime', 'imi', 'iml', 'imn', 'imo', 'imr', 'ims', 'imy', 'inb', 'inc', 'ine', 'ing', 'inh', 'inj', 'inl', 'inm', 'inn', 'ino', 'inp', 'ins', 'int', 'inz', 'ior', 'iou', 'iow', 'ipi', 'ipo', 'iqu', 'iqw', 'ira', 'ire', 'irh', 'iri', 'irk', 'irn', 'iro', 'irr', 'iru', 'irx', 'iry', 'isa', 'isc', 'isd', 'ise', 'isg', 'ish', 'isi', 'isk', 'ism', 'isn', 'iso', 'isr', 'ist', 'isu', 'itb', 'itc', 'itd', 'ite', 'iti', 'itk', 'itl', 'itm', 'ito', 'itr', 'its', 'itt', 'itv', 'itw', 'itx', 'ity', 'itz', 'ium', 'ivb', 'ivv', 'iwk', 'iwm', 'iwo', 'iws', 'ixc', 'ixl', 'iya', 'iyo', 'iyx', 'izh', 'izi', 'izr', 'izz', 'jaa', 'jab', 'jac', 'jad', 'jae', 'jaf', 'jah', 'jaj', 'jak', 'jal', 'jam', 'jan', 'jao', 'jaq', 'jar', 'jas', 'jat', 'jau', 'jax', 'jay', 'jaz', 'jbe', 'jbi', 'jbj', 'jbk', 'jbn', 'jbo', 'jbr', 'jbt', 'jbu', 'jbw', 'jcs', 'jct', 'jda', 'jdg', 'jdt', 'jeb', 'jee', 'jeg', 'jeh', 'jei', 'jek', 'jel', 'jen', 'jer', 'jet', 'jeu', 'jgb', 'jge', 'jgk', 'jgo', 'jhi', 'jhs', 'jia', 'jib', 'jic', 'jid', 'jie', 'jig', 'jih', 'jii', 'jil', 'jim', 'jio', 'jiq', 'jit', 'jiu', 'jiv', 'jiy', 'jje', 'jjr', 'jka', 'jkm', 'jko', 'jkp', 'jkr', 'jku', 'jle', 'jls', 'jma', 'jmb', 'jmc', 'jmd', 'jmi', 'jml', 'jmn', 'jmr', 'jms', 'jmw', 'jmx', 'jna', 'jnd', 'jng', 'jni', 'jnj', 'jnl', 'jns', 'job', 'jod', 'jog', 'jor', 'jos', 'jow', 'jpa', 'jpr', 'jpx', 'jqr', 'jra', 'jrb', 'jrr', 'jrt', 'jru', 'jsl', 'jua', 'jub', 'juc', 'jud', 'juh', 'jui', 'juk', 'jul', 'jum', 'jun', 'juo', 'jup', 'jur', 'jus', 'jut', 'juu', 'juw', 'juy', 'jvd', 'jvn', 'jwi', 'jya', 'jye', 'jyy', 'kaa', 'kab', 'kac', 'kad', 'kae', 'kaf', 'kag', 'kah', 'kai', 'kaj', 'kak', 'kam', 'kao', 'kap', 'kaq', 'kar', 'kav', 'kaw', 'kax', 'kay', 'kba', 'kbb', 'kbc', 'kbd', 'kbe', 'kbf', 'kbg', 'kbh', 'kbi', 'kbj', 'kbk', 'kbl', 'kbm', 'kbn', 'kbo', 'kbp', 'kbq', 'kbr', 'kbs', 'kbt', 'kbu', 'kbv', 'kbw', 'kbx', 'kby', 'kbz', 'kca', 'kcb', 'kcc', 'kcd', 'kce', 'kcf', 'kcg', 'kch', 'kci', 'kcj', 'kck', 'kcl', 'kcm', 'kcn', 'kco', 'kcp', 'kcq', 'kcr', 'kcs', 'kct', 'kcu', 'kcv', 'kcw', 'kcx', 'kcy', 'kcz', 'kda', 'kdc', 'kdd', 'kde', 'kdf', 'kdg', 'kdh', 'kdi', 'kdj', 'kdk', 'kdl', 'kdm', 'kdn', 'kdo', 'kdp', 'kdq', 'kdr', 'kdt', 'kdu', 'kdv', 'kdw', 'kdx', 'kdy', 'kdz', 'kea', 'keb', 'kec', 'ked', 'kee', 'kef', 'keg', 'keh', 'kei', 'kej', 'kek', 'kel', 'kem', 'ken', 'keo', 'kep', 'keq', 'ker', 'kes', 'ket', 'keu', 'kev', 'kew', 'kex', 'key', 'kez', 'kfa', 'kfb', 'kfc', 'kfd', 'kfe', 'kff', 'kfg', 'kfh', 'kfi', 'kfj', 'kfk', 'kfl', 'kfm', 'kfn', 'kfo', 'kfp', 'kfq', 'kfr', 'kfs', 'kft', 'kfu', 'kfv', 'kfw', 'kfx', 'kfy', 'kfz', 'kga', 'kgb', 'kgc', 'kgd', 'kge', 'kgf', 'kgg', 'kgh', 'kgi', 'kgj', 'kgk', 'kgl', 'kgm', 'kgn', 'kgo', 'kgp', 'kgq', 'kgr', 'kgs', 'kgt', 'kgu', 'kgv', 'kgw', 'kgx', 'kgy', 'kha', 'khb', 'khc', 'khd', 'khe', 'khf', 'khg', 'khh', 'khi', 'khj', 'khk', 'khl', 'khn', 'kho', 'khp', 'khq', 'khr', 'khs', 'kht', 'khu', 'khv', 'khw', 'khx', 'khy', 'khz', 'kia', 'kib', 'kic', 'kid', 'kie', 'kif', 'kig', 'kih', 'kii', 'kij', 'kil', 'kim', 'kio', 'kip', 'kiq', 'kis', 'kit', 'kiu', 'kiv', 'kiw', 'kix', 'kiy', 'kiz', 'kja', 'kjb', 'kjc', 'kjd', 'kje', 'kjf', 'kjg', 'kjh', 'kji', 'kjj', 'kjk', 'kjl', 'kjm', 'kjn', 'kjo', 'kjp', 'kjq', 'kjr', 'kjs', 'kjt', 'kju', 'kjv', 'kjx', 'kjy', 'kjz', 'kka', 'kkb', 'kkc', 'kkd', 'kke', 'kkf', 'kkg', 'kkh', 'kki', 'kkj', 'kkk', 'kkl', 'kkm', 'kkn', 'kko', 'kkp', 'kkq', 'kkr', 'kks', 'kkt', 'kku', 'kkv', 'kkw', 'kkx', 'kky', 'kkz', 'kla', 'klb', 'klc', 'kld', 'kle', 'klf', 'klg', 'klh', 'kli', 'klj', 'klk', 'kll', 'klm', 'kln', 'klo', 'klp', 'klq', 'klr', 'kls', 'klt', 'klu', 'klv', 'klw', 'klx', 'kly', 'klz', 'kma', 'kmb', 'kmc', 'kmd', 'kme', 'kmf', 'kmg', 'kmh', 'kmi', 'kmj', 'kmk', 'kml', 'kmm', 'kmn', 'kmo', 'kmp', 'kmq', 'kmr', 'kms', 'kmt', 'kmu', 'kmv', 'kmw', 'kmx', 'kmy', 'kmz', 'kna', 'knb', 'knc', 'knd', 'kne', 'knf', 'kng', 'kni', 'knj', 'knk', 'knl', 'knm', 'knn', 'kno', 'knp', 'knq', 'knr', 'kns', 'knt', 'knu', 'knv', 'knw', 'knx', 'kny', 'knz', 'koa', 'koc', 'kod', 'koe', 'kof', 'kog', 'koh', 'koi', 'koj', 'kok', 'kol', 'koo', 'kop', 'koq', 'kos', 'kot', 'kou', 'kov', 'kow', 'kox', 'koy', 'koz', 'kpa', 'kpb', 'kpc', 'kpd', 'kpe', 'kpf', 'kpg', 'kph', 'kpi', 'kpj', 'kpk', 'kpl', 'kpm', 'kpn', 'kpo', 'kpp', 'kpq', 'kpr', 'kps', 'kpt', 'kpu', 'kpv', 'kpw', 'kpx', 'kpy', 'kpz', 'kqa', 'kqb', 'kqc', 'kqd', 'kqe', 'kqf', 'kqg', 'kqh', 'kqi', 'kqj', 'kqk', 'kql', 'kqm', 'kqn', 'kqo', 'kqp', 'kqq', 'kqr', 'kqs', 'kqt', 'kqu', 'kqv', 'kqw', 'kqx', 'kqy', 'kqz', 'kra', 'krb', 'krc', 'krd', 'kre', 'krf', 'krh', 'kri', 'krj', 'krk', 'krl', 'krm', 'krn', 'kro', 'krp', 'krr', 'krs', 'krt', 'kru', 'krv', 'krw', 'krx', 'kry', 'krz', 'ksa', 'ksb', 'ksc', 'ksd', 'kse', 'ksf', 'ksg', 'ksh', 'ksi', 'ksj', 'ksk', 'ksl', 'ksm', 'ksn', 'kso', 'ksp', 'ksq', 'ksr', 'kss', 'kst', 'ksu', 'ksv', 'ksw', 'ksx', 'ksy', 'ksz', 'kta', 'ktb', 'ktc', 'ktd', 'kte', 'ktf', 'ktg', 'kth', 'kti', 'ktj', 'ktk', 'ktl', 'ktm', 'ktn', 'kto', 'ktp', 'ktq', 'ktr', 'kts', 'ktt', 'ktu', 'ktv', 'ktw', 'ktx', 'kty', 'ktz', 'kub', 'kuc', 'kud', 'kue', 'kuf', 'kug', 'kuh', 'kui', 'kuj', 'kuk', 'kul', 'kum', 'kun', 'kuo', 'kup', 'kuq', 'kus', 'kut', 'kuu', 'kuv', 'kuw', 'kux', 'kuy', 'kuz', 'kva', 'kvb', 'kvc', 'kvd', 'kve', 'kvf', 'kvg', 'kvh', 'kvi', 'kvj', 'kvk', 'kvl', 'kvm', 'kvn', 'kvo', 'kvp', 'kvq', 'kvr', 'kvs', 'kvt', 'kvu', 'kvv', 'kvw', 'kvx', 'kvy', 'kvz', 'kwa', 'kwb', 'kwc', 'kwd', 'kwe', 'kwf', 'kwg', 'kwh', 'kwi', 'kwj', 'kwk', 'kwl', 'kwm', 'kwn', 'kwo', 'kwp', 'kwq', 'kwr', 'kws', 'kwt', 'kwu', 'kwv', 'kww', 'kwx', 'kwy', 'kwz', 'kxa', 'kxb', 'kxc', 'kxd', 'kxe', 'kxf', 'kxh', 'kxi', 'kxj', 'kxk', 'kxl', 'kxm', 'kxn', 'kxo', 'kxp', 'kxq', 'kxr', 'kxs', 'kxt', 'kxu', 'kxv', 'kxw', 'kxx', 'kxy', 'kxz', 'kya', 'kyb', 'kyc', 'kyd', 'kye', 'kyf', 'kyg', 'kyh', 'kyi', 'kyj', 'kyk', 'kyl', 'kym', 'kyn', 'kyo', 'kyp', 'kyq', 'kyr', 'kys', 'kyt', 'kyu', 'kyv', 'kyw', 'kyx', 'kyy', 'kyz', 'kza', 'kzb', 'kzc', 'kzd', 'kze', 'kzf', 'kzg', 'kzh', 'kzi', 'kzj', 'kzk', 'kzl', 'kzm', 'kzn', 'kzo', 'kzp', 'kzq', 'kzr', 'kzs', 'kzt', 'kzu', 'kzv', 'kzw', 'kzx', 'kzy', 'kzz', 'laa', 'lab', 'lac', 'lad', 'lae', 'laf', 'lag', 'lah', 'lai', 'laj', 'lak', 'lal', 'lam', 'lan', 'lap', 'laq', 'lar', 'las', 'lau', 'law', 'lax', 'lay', 'laz', 'lba', 'lbb', 'lbc', 'lbe', 'lbf', 'lbg', 'lbi', 'lbj', 'lbk', 'lbl', 'lbm', 'lbn', 'lbo', 'lbq', 'lbr', 'lbs', 'lbt', 'lbu', 'lbv', 'lbw', 'lbx', 'lby', 'lbz', 'lcc', 'lcd', 'lce', 'lcf', 'lch', 'lcl', 'lcm', 'lcp', 'lcq', 'lcs', 'lda', 'ldb', 'ldd', 'ldg', 'ldh', 'ldi', 'ldj', 'ldk', 'ldl', 'ldm', 'ldn', 'ldo', 'ldp', 'ldq', 'lea', 'leb', 'lec', 'led', 'lee', 'lef', 'leg', 'leh', 'lei', 'lej', 'lek', 'lel', 'lem', 'len', 'leo', 'lep', 'leq', 'ler', 'les', 'let', 'leu', 'lev', 'lew', 'lex', 'ley', 'lez', 'lfa', 'lfn', 'lga', 'lgb', 'lgg', 'lgh', 'lgi', 'lgk', 'lgl', 'lgm', 'lgn', 'lgq', 'lgr', 'lgt', 'lgu', 'lgz', 'lha', 'lhh', 'lhi', 'lhl', 'lhm', 'lhn', 'lhp', 'lhs', 'lht', 'lhu', 'lia', 'lib', 'lic', 'lid', 'lie', 'lif', 'lig', 'lih', 'lii', 'lij', 'lik', 'lil', 'lio', 'lip', 'liq', 'lir', 'lis', 'liu', 'liv', 'liw', 'lix', 'liy', 'liz', 'lja', 'lje', 'lji', 'ljl', 'ljp', 'ljw', 'ljx', 'lka', 'lkb', 'lkc', 'lkd', 'lke', 'lkh', 'lki', 'lkj', 'lkl', 'lkm', 'lkn', 'lko', 'lkr', 'lks', 'lkt', 'lku', 'lky', 'lla', 'llb', 'llc', 'lld', 'lle', 'llf', 'llg', 'llh', 'lli', 'llj', 'llk', 'lll', 'llm', 'lln', 'llo', 'llp', 'llq', 'lls', 'llu', 'llx', 'lma', 'lmb', 'lmc', 'lmd', 'lme', 'lmf', 'lmg', 'lmh', 'lmi', 'lmj', 'lmk', 'lml', 'lmm', 'lmn', 'lmo', 'lmp', 'lmq', 'lmr', 'lmu', 'lmv', 'lmw', 'lmx', 'lmy', 'lmz', 'lna', 'lnb', 'lnd', 'lng', 'lnh', 'lni', 'lnj', 'lnl', 'lnm', 'lnn', 'lno', 'lns', 'lnu', 'lnw', 'lnz', 'loa', 'lob', 'loc', 'loe', 'lof', 'log', 'loh', 'loi', 'loj', 'lok', 'lol', 'lom', 'lon', 'loo', 'lop', 'loq', 'lor', 'los', 'lot', 'lou', 'lov', 'low', 'lox', 'loy', 'loz', 'lpa', 'lpe', 'lpn', 'lpo', 'lpx', 'lra', 'lrc', 'lre', 'lrg', 'lri', 'lrk', 'lrl', 'lrm', 'lrn', 'lro', 'lrr', 'lrt', 'lrv', 'lrz', 'lsa', 'lsd', 'lse', 'lsg', 'lsh', 'lsi', 'lsl', 'lsm', 'lso', 'lsp', 'lsr', 'lss', 'lst', 'lsy', 'ltc', 'ltg', 'lth', 'lti', 'ltn', 'lto', 'lts', 'ltu', 'lua', 'luc', 'lud', 'lue', 'luf', 'lui', 'luj', 'luk', 'lul', 'lum', 'lun', 'luo', 'lup', 'luq', 'lur', 'lus', 'lut', 'luu', 'luv', 'luw', 'luy', 'luz', 'lva', 'lvk', 'lvs', 'lvu', 'lwa', 'lwe', 'lwg', 'lwh', 'lwl', 'lwm', 'lwo', 'lws', 'lwt', 'lwu', 'lww', 'lya', 'lyg', 'lyn', 'lzh', 'lzl', 'lzn', 'lzz', 'maa', 'mab', 'mad', 'mae', 'maf', 'mag', 'mai', 'maj', 'mak', 'mam', 'man', 'map', 'maq', 'mas', 'mat', 'mau', 'mav', 'maw', 'max', 'maz', 'mba', 'mbb', 'mbc', 'mbd', 'mbe', 'mbf', 'mbh', 'mbi', 'mbj', 'mbk', 'mbl', 'mbm', 'mbn', 'mbo', 'mbp', 'mbq', 'mbr', 'mbs', 'mbt', 'mbu', 'mbv', 'mbw', 'mbx', 'mby', 'mbz', 'mca', 'mcb', 'mcc', 'mcd', 'mce', 'mcf', 'mcg', 'mch', 'mci', 'mcj', 'mck', 'mcl', 'mcm', 'mcn', 'mco', 'mcp', 'mcq', 'mcr', 'mcs', 'mct', 'mcu', 'mcv', 'mcw', 'mcx', 'mcy', 'mcz', 'mda', 'mdb', 'mdc', 'mdd', 'mde', 'mdf', 'mdg', 'mdh', 'mdi', 'mdj', 'mdk', 'mdl', 'mdm', 'mdn', 'mdp', 'mdq', 'mdr', 'mds', 'mdt', 'mdu', 'mdv', 'mdw', 'mdx', 'mdy', 'mdz', 'mea', 'meb', 'mec', 'med', 'mee', 'mef', 'meg', 'meh', 'mei', 'mej', 'mek', 'mel', 'mem', 'men', 'meo', 'mep', 'meq', 'mer', 'mes', 'met', 'meu', 'mev', 'mew', 'mey', 'mez', 'mfa', 'mfb', 'mfc', 'mfd', 'mfe', 'mff', 'mfg', 'mfh', 'mfi', 'mfj', 'mfk', 'mfl', 'mfm', 'mfn', 'mfo', 'mfp', 'mfq', 'mfr', 'mfs', 'mft', 'mfu', 'mfv', 'mfw', 'mfx', 'mfy', 'mfz', 'mga', 'mgb', 'mgc', 'mgd', 'mge', 'mgf', 'mgg', 'mgh', 'mgi', 'mgj', 'mgk', 'mgl', 'mgm', 'mgn', 'mgo', 'mgp', 'mgq', 'mgr', 'mgs', 'mgt', 'mgu', 'mgv', 'mgw', 'mgx', 'mgy', 'mgz', 'mha', 'mhb', 'mhc', 'mhd', 'mhe', 'mhf', 'mhg', 'mhh', 'mhi', 'mhj', 'mhk', 'mhl', 'mhm', 'mhn', 'mho', 'mhp', 'mhq', 'mhr', 'mhs', 'mht', 'mhu', 'mhw', 'mhx', 'mhy', 'mhz', 'mia', 'mib', 'mic', 'mid', 'mie', 'mif', 'mig', 'mih', 'mii', 'mij', 'mik', 'mil', 'mim', 'min', 'mio', 'mip', 'miq', 'mir', 'mis', 'mit', 'miu', 'miw', 'mix', 'miy', 'miz', 'mja', 'mjb', 'mjc', 'mjd', 'mje', 'mjg', 'mjh', 'mji', 'mjj', 'mjk', 'mjl', 'mjm', 'mjn', 'mjo', 'mjp', 'mjq', 'mjr', 'mjs', 'mjt', 'mju', 'mjv', 'mjw', 'mjx', 'mjy', 'mjz', 'mka', 'mkb', 'mkc', 'mke', 'mkf', 'mkg', 'mkh', 'mki', 'mkj', 'mkk', 'mkl', 'mkm', 'mkn', 'mko', 'mkp', 'mkq', 'mkr', 'mks', 'mkt', 'mku', 'mkv', 'mkw', 'mkx', 'mky', 'mkz', 'mla', 'mlb', 'mlc', 'mld', 'mle', 'mlf', 'mlh', 'mli', 'mlj', 'mlk', 'mll', 'mlm', 'mln', 'mlo', 'mlp', 'mlq', 'mlr', 'mls', 'mlu', 'mlv', 'mlw', 'mlx', 'mlz', 'mma', 'mmb', 'mmc', 'mmd', 'mme', 'mmf', 'mmg', 'mmh', 'mmi', 'mmj', 'mmk', 'mml', 'mmm', 'mmn', 'mmo', 'mmp', 'mmq', 'mmr', 'mmt', 'mmu', 'mmv', 'mmw', 'mmx', 'mmy', 'mmz', 'mna', 'mnb', 'mnc', 'mnd', 'mne', 'mnf', 'mng', 'mnh', 'mni', 'mnj', 'mnk', 'mnl', 'mnm', 'mnn', 'mno', 'mnp', 'mnq', 'mnr', 'mns', 'mnt', 'mnu', 'mnv', 'mnw', 'mnx', 'mny', 'mnz', 'moa', 'moc', 'mod', 'moe', 'mof', 'mog', 'moh', 'moi', 'moj', 'mok', 'mom', 'moo', 'mop', 'moq', 'mor', 'mos', 'mot', 'mou', 'mov', 'mow', 'mox', 'moy', 'moz', 'mpa', 'mpb', 'mpc', 'mpd', 'mpe', 'mpg', 'mph', 'mpi', 'mpj', 'mpk', 'mpl', 'mpm', 'mpn', 'mpo', 'mpp', 'mpq', 'mpr', 'mps', 'mpt', 'mpu', 'mpv', 'mpw', 'mpx', 'mpy', 'mpz', 'mqa', 'mqb', 'mqc', 'mqe', 'mqf', 'mqg', 'mqh', 'mqi', 'mqj', 'mqk', 'mql', 'mqm', 'mqn', 'mqo', 'mqp', 'mqq', 'mqr', 'mqs', 'mqt', 'mqu', 'mqv', 'mqw', 'mqx', 'mqy', 'mqz', 'mra', 'mrb', 'mrc', 'mrd', 'mre', 'mrf', 'mrg', 'mrh', 'mrj', 'mrk', 'mrl', 'mrm', 'mrn', 'mro', 'mrp', 'mrq', 'mrr', 'mrs', 'mrt', 'mru', 'mrv', 'mrw', 'mrx', 'mry', 'mrz', 'msb', 'msc', 'msd', 'mse', 'msf', 'msg', 'msh', 'msi', 'msj', 'msk', 'msl', 'msm', 'msn', 'mso', 'msp', 'msq', 'msr', 'mss', 'mst', 'msu', 'msv', 'msw', 'msx', 'msy', 'msz', 'mta', 'mtb', 'mtc', 'mtd', 'mte', 'mtf', 'mtg', 'mth', 'mti', 'mtj', 'mtk', 'mtl', 'mtm', 'mtn', 'mto', 'mtp', 'mtq', 'mtr', 'mts', 'mtt', 'mtu', 'mtv', 'mtw', 'mtx', 'mty', 'mua', 'mub', 'muc', 'mud', 'mue', 'mug', 'muh', 'mui', 'muj', 'muk', 'mul', 'mum', 'mun', 'muo', 'mup', 'muq', 'mur', 'mus', 'mut', 'muu', 'muv', 'mux', 'muy', 'muz', 'mva', 'mvb', 'mvd', 'mve', 'mvf', 'mvg', 'mvh', 'mvi', 'mvk', 'mvl', 'mvm', 'mvn', 'mvo', 'mvp', 'mvq', 'mvr', 'mvs', 'mvt', 'mvu', 'mvv', 'mvw', 'mvx', 'mvy', 'mvz', 'mwa', 'mwb', 'mwc', 'mwd', 'mwe', 'mwf', 'mwg', 'mwh', 'mwi', 'mwj', 'mwk', 'mwl', 'mwm', 'mwn', 'mwo', 'mwp', 'mwq', 'mwr', 'mws', 'mwt', 'mwu', 'mwv', 'mww', 'mwx', 'mwy', 'mwz', 'mxa', 'mxb', 'mxc', 'mxd', 'mxe', 'mxf', 'mxg', 'mxh', 'mxi', 'mxj', 'mxk', 'mxl', 'mxm', 'mxn', 'mxo', 'mxp', 'mxq', 'mxr', 'mxs', 'mxt', 'mxu', 'mxv', 'mxw', 'mxx', 'mxy', 'mxz', 'myb', 'myc', 'myd', 'mye', 'myf', 'myg', 'myh', 'myi', 'myj', 'myk', 'myl', 'mym', 'myn', 'myo', 'myp', 'myq', 'myr', 'mys', 'myt', 'myu', 'myv', 'myw', 'myx', 'myy', 'myz', 'mza', 'mzb', 'mzc', 'mzd', 'mze', 'mzg', 'mzh', 'mzi', 'mzj', 'mzk', 'mzl', 'mzm', 'mzn', 'mzo', 'mzp', 'mzq', 'mzr', 'mzs', 'mzt', 'mzu', 'mzv', 'mzw', 'mzx', 'mzy', 'mzz', 'naa', 'nab', 'nac', 'nad', 'nae', 'naf', 'nag', 'nah', 'nai', 'naj', 'nak', 'nal', 'nam', 'nan', 'nao', 'nap', 'naq', 'nar', 'nas', 'nat', 'naw', 'nax', 'nay', 'naz', 'nba', 'nbb', 'nbc', 'nbd', 'nbe', 'nbf', 'nbg', 'nbh', 'nbi', 'nbj', 'nbk', 'nbm', 'nbn', 'nbo', 'nbp', 'nbq', 'nbr', 'nbs', 'nbt', 'nbu', 'nbv', 'nbw', 'nbx', 'nby', 'nca', 'ncb', 'ncc', 'ncd', 'nce', 'ncf', 'ncg', 'nch', 'nci', 'ncj', 'nck', 'ncl', 'ncm', 'ncn', 'nco', 'ncp', 'ncq', 'ncr', 'ncs', 'nct', 'ncu', 'ncx', 'ncz', 'nda', 'ndb', 'ndc', 'ndd', 'ndf', 'ndg', 'ndh', 'ndi', 'ndj', 'ndk', 'ndl', 'ndm', 'ndn', 'ndp', 'ndq', 'ndr', 'nds', 'ndt', 'ndu', 'ndv', 'ndw', 'ndx', 'ndy', 'ndz', 'nea', 'neb', 'nec', 'ned', 'nee', 'nef', 'neg', 'neh', 'nei', 'nej', 'nek', 'nem', 'nen', 'neo', 'neq', 'ner', 'nes', 'net', 'neu', 'nev', 'new', 'nex', 'ney', 'nez', 'nfa', 'nfd', 'nfl', 'nfr', 'nfu', 'nga', 'ngb', 'ngc', 'ngd', 'nge', 'ngf', 'ngg', 'ngh', 'ngi', 'ngj', 'ngk', 'ngl', 'ngm', 'ngn', 'ngo', 'ngp', 'ngq', 'ngr', 'ngs', 'ngt', 'ngu', 'ngv', 'ngw', 'ngx', 'ngy', 'ngz', 'nha', 'nhb', 'nhc', 'nhd', 'nhe', 'nhf', 'nhg', 'nhh', 'nhi', 'nhk', 'nhm', 'nhn', 'nho', 'nhp', 'nhq', 'nhr', 'nht', 'nhu', 'nhv', 'nhw', 'nhx', 'nhy', 'nhz', 'nia', 'nib', 'nic', 'nid', 'nie', 'nif', 'nig', 'nih', 'nii', 'nij', 'nik', 'nil', 'nim', 'nin', 'nio', 'niq', 'nir', 'nis', 'nit', 'niu', 'niv', 'niw', 'nix', 'niy', 'niz', 'nja', 'njb', 'njd', 'njh', 'nji', 'njj', 'njl', 'njm', 'njn', 'njo', 'njr', 'njs', 'njt', 'nju', 'njx', 'njy', 'njz', 'nka', 'nkb', 'nkc', 'nkd', 'nke', 'nkf', 'nkg', 'nkh', 'nki', 'nkj', 'nkk', 'nkm', 'nkn', 'nko', 'nkp', 'nkq', 'nkr', 'nks', 'nkt', 'nku', 'nkv', 'nkw', 'nkx', 'nkz', 'nla', 'nlc', 'nle', 'nlg', 'nli', 'nlj', 'nlk', 'nll', 'nlm', 'nln', 'nlo', 'nlq', 'nlr', 'nlu', 'nlv', 'nlw', 'nlx', 'nly', 'nlz', 'nma', 'nmb', 'nmc', 'nmd', 'nme', 'nmf', 'nmg', 'nmh', 'nmi', 'nmj', 'nmk', 'nml', 'nmm', 'nmn', 'nmo', 'nmp', 'nmq', 'nmr', 'nms', 'nmt', 'nmu', 'nmv', 'nmw', 'nmx', 'nmy', 'nmz', 'nna', 'nnb', 'nnc', 'nnd', 'nne', 'nnf', 'nng', 'nnh', 'nni', 'nnj', 'nnk', 'nnl', 'nnm', 'nnn', 'nnp', 'nnq', 'nnr', 'nns', 'nnt', 'nnu', 'nnv', 'nnw', 'nnx', 'nny', 'nnz', 'noa', 'noc', 'nod', 'noe', 'nof', 'nog', 'noh', 'noi', 'noj', 'nok', 'nol', 'nom', 'non', 'noo', 'nop', 'noq', 'nos', 'not', 'nou', 'nov', 'now', 'noy', 'noz', 'npa', 'npb', 'npg', 'nph', 'npi', 'npl', 'npn', 'npo', 'nps', 'npu', 'npx', 'npy', 'nqg', 'nqk', 'nql', 'nqm', 'nqn', 'nqo', 'nqq', 'nqy', 'nra', 'nrb', 'nrc', 'nre', 'nrf', 'nrg', 'nri', 'nrk', 'nrl', 'nrm', 'nrn', 'nrp', 'nrr', 'nrt', 'nru', 'nrx', 'nrz', 'nsa', 'nsc', 'nsd', 'nse', 'nsf', 'nsg', 'nsh', 'nsi', 'nsk', 'nsl', 'nsm', 'nsn', 'nso', 'nsp', 'nsq', 'nsr', 'nss', 'nst', 'nsu', 'nsv', 'nsw', 'nsx', 'nsy', 'nsz', 'ntd', 'nte', 'ntg', 'nti', 'ntj', 'ntk', 'ntm', 'nto', 'ntp', 'ntr', 'nts', 'ntu', 'ntw', 'ntx', 'nty', 'ntz', 'nua', 'nub', 'nuc', 'nud', 'nue', 'nuf', 'nug', 'nuh', 'nui', 'nuj', 'nuk', 'nul', 'num', 'nun', 'nuo', 'nup', 'nuq', 'nur', 'nus', 'nut', 'nuu', 'nuv', 'nuw', 'nux', 'nuy', 'nuz', 'nvh', 'nvm', 'nvo', 'nwa', 'nwb', 'nwc', 'nwe', 'nwg', 'nwi', 'nwm', 'nwo', 'nwr', 'nwx', 'nwy', 'nxa', 'nxd', 'nxe', 'nxg', 'nxi', 'nxk', 'nxl', 'nxm', 'nxn', 'nxo', 'nxq', 'nxr', 'nxu', 'nxx', 'nyb', 'nyc', 'nyd', 'nye', 'nyf', 'nyg', 'nyh', 'nyi', 'nyj', 'nyk', 'nyl', 'nym', 'nyn', 'nyo', 'nyp', 'nyq', 'nyr', 'nys', 'nyt', 'nyu', 'nyv', 'nyw', 'nyx', 'nyy', 'nza', 'nzb', 'nzd', 'nzi', 'nzk', 'nzm', 'nzs', 'nzu', 'nzy', 'nzz', 'oaa', 'oac', 'oar', 'oav', 'obi', 'obk', 'obl', 'obm', 'obo', 'obr', 'obt', 'obu', 'oca', 'och', 'oco', 'ocu', 'oda', 'odk', 'odt', 'odu', 'ofo', 'ofs', 'ofu', 'ogb', 'ogc', 'oge', 'ogg', 'ogo', 'ogu', 'oht', 'ohu', 'oia', 'oin', 'ojb', 'ojc', 'ojg', 'ojp', 'ojs', 'ojv', 'ojw', 'oka', 'okb', 'okd', 'oke', 'okg', 'okh', 'oki', 'okj', 'okk', 'okl', 'okm', 'okn', 'oko', 'okr', 'oks', 'oku', 'okv', 'okx', 'ola', 'old', 'ole', 'olk', 'olm', 'olo', 'olr', 'olt', 'olu', 'oma', 'omb', 'omc', 'ome', 'omg', 'omi', 'omk', 'oml', 'omn', 'omo', 'omp', 'omq', 'omr', 'omt', 'omu', 'omv', 'omw', 'omx', 'ona', 'onb', 'one', 'ong', 'oni', 'onj', 'onk', 'onn', 'ono', 'onp', 'onr', 'ons', 'ont', 'onu', 'onw', 'onx', 'ood', 'oog', 'oon', 'oor', 'oos', 'opa', 'opk', 'opm', 'opo', 'opt', 'opy', 'ora', 'orc', 'ore', 'org', 'orh', 'orn', 'oro', 'orr', 'ors', 'ort', 'oru', 'orv', 'orw', 'orx', 'ory', 'orz', 'osa', 'osc', 'osi', 'oso', 'osp', 'ost', 'osu', 'osx', 'ota', 'otb', 'otd', 'ote', 'oti', 'otk', 'otl', 'otm', 'otn', 'oto', 'otq', 'otr', 'ots', 'ott', 'otu', 'otw', 'otx', 'oty', 'otz', 'oua', 'oub', 'oue', 'oui', 'oum', 'oun', 'ovd', 'owi', 'owl', 'oyb', 'oyd', 'oym', 'oyy', 'ozm', 'paa', 'pab', 'pac', 'pad', 'pae', 'paf', 'pag', 'pah', 'pai', 'pak', 'pal', 'pam', 'pao', 'pap', 'paq', 'par', 'pas', 'pat', 'pau', 'pav', 'paw', 'pax', 'pay', 'paz', 'pbb', 'pbc', 'pbe', 'pbf', 'pbg', 'pbh', 'pbi', 'pbl', 'pbm', 'pbn', 'pbo', 'pbp', 'pbr', 'pbs', 'pbt', 'pbu', 'pbv', 'pby', 'pbz', 'pca', 'pcb', 'pcc', 'pcd', 'pce', 'pcf', 'pcg', 'pch', 'pci', 'pcj', 'pck', 'pcl', 'pcm', 'pcn', 'pcp', 'pcr', 'pcw', 'pda', 'pdc', 'pdi', 'pdn', 'pdo', 'pdt', 'pdu', 'pea', 'peb', 'ped', 'pee', 'pef', 'peg', 'peh', 'pei', 'pej', 'pek', 'pel', 'pem', 'peo', 'pep', 'peq', 'pes', 'pev', 'pex', 'pey', 'pez', 'pfa', 'pfe', 'pfl', 'pga', 'pgd', 'pgg', 'pgi', 'pgk', 'pgl', 'pgn', 'pgs', 'pgu', 'pgy', 'pgz', 'pha', 'phd', 'phg', 'phh', 'phi', 'phk', 'phl', 'phm', 'phn', 'pho', 'phq', 'phr', 'pht', 'phu', 'phv', 'phw', 'pia', 'pib', 'pic', 'pid', 'pie', 'pif', 'pig', 'pih', 'pii', 'pij', 'pil', 'pim', 'pin', 'pio', 'pip', 'pir', 'pis', 'pit', 'piu', 'piv', 'piw', 'pix', 'piy', 'piz', 'pjt', 'pka', 'pkb', 'pkc', 'pkg', 'pkh', 'pkn', 'pko', 'pkp', 'pkr', 'pks', 'pkt', 'pku', 'pla', 'plb', 'plc', 'pld', 'ple', 'plf', 'plg', 'plh', 'plj', 'plk', 'pll', 'pln', 'plo', 'plp', 'plq', 'plr', 'pls', 'plt', 'plu', 'plv', 'plw', 'ply', 'plz', 'pma', 'pmb', 'pmc', 'pmd', 'pme', 'pmf', 'pmh', 'pmi', 'pmj', 'pmk', 'pml', 'pmm', 'pmn', 'pmo', 'pmq', 'pmr', 'pms', 'pmt', 'pmu', 'pmw', 'pmx', 'pmy', 'pmz', 'pna', 'pnb', 'pnc', 'pne', 'png', 'pnh', 'pni', 'pnj', 'pnk', 'pnl', 'pnm', 'pnn', 'pno', 'pnp', 'pnq', 'pnr', 'pns', 'pnt', 'pnu', 'pnv', 'pnw', 'pnx', 'pny', 'pnz', 'poc', 'pod', 'poe', 'pof', 'pog', 'poh', 'poi', 'pok', 'pom', 'pon', 'poo', 'pop', 'poq', 'pos', 'pot', 'pov', 'pow', 'pox', 'poy', 'poz', 'ppa', 'ppe', 'ppi', 'ppk', 'ppl', 'ppm', 'ppn', 'ppo', 'ppp', 'ppq', 'ppr', 'pps', 'ppt', 'ppu', 'pqa', 'pqe', 'pqm', 'pqw', 'pra', 'prb', 'prc', 'prd', 'pre', 'prf', 'prg', 'prh', 'pri', 'prk', 'prl', 'prm', 'prn', 'pro', 'prp', 'prq', 'prr', 'prs', 'prt', 'pru', 'prw', 'prx', 'pry', 'prz', 'psa', 'psc', 'psd', 'pse', 'psg', 'psh', 'psi', 'psl', 'psm', 'psn', 'pso', 'psp', 'psq', 'psr', 'pss', 'pst', 'psu', 'psw', 'psy', 'pta', 'pth', 'pti', 'ptn', 'pto', 'ptp', 'ptq', 'ptr', 'ptt', 'ptu', 'ptv', 'ptw', 'pty', 'pua', 'pub', 'puc', 'pud', 'pue', 'puf', 'pug', 'pui', 'puj', 'puk', 'pum', 'puo', 'pup', 'puq', 'pur', 'put', 'puu', 'puw', 'pux', 'puy', 'puz', 'pwa', 'pwb', 'pwg', 'pwi', 'pwm', 'pwn', 'pwo', 'pwr', 'pww', 'pxm', 'pye', 'pym', 'pyn', 'pys', 'pyu', 'pyx', 'pyy', 'pzn', 'qaa..qtz', 'qua', 'qub', 'quc', 'qud', 'quf', 'qug', 'quh', 'qui', 'quk', 'qul', 'qum', 'qun', 'qup', 'quq', 'qur', 'qus', 'quv', 'quw', 'qux', 'quy', 'quz', 'qva', 'qvc', 'qve', 'qvh', 'qvi', 'qvj', 'qvl', 'qvm', 'qvn', 'qvo', 'qvp', 'qvs', 'qvw', 'qvy', 'qvz', 'qwa', 'qwc', 'qwe', 'qwh', 'qwm', 'qws', 'qwt', 'qxa', 'qxc', 'qxh', 'qxl', 'qxn', 'qxo', 'qxp', 'qxq', 'qxr', 'qxs', 'qxt', 'qxu', 'qxw', 'qya', 'qyp', 'raa', 'rab', 'rac', 'rad', 'raf', 'rag', 'rah', 'rai', 'raj', 'rak', 'ral', 'ram', 'ran', 'rao', 'rap', 'raq', 'rar', 'ras', 'rat', 'rau', 'rav', 'raw', 'rax', 'ray', 'raz', 'rbb', 'rbk', 'rbl', 'rbp', 'rcf', 'rdb', 'rea', 'reb', 'ree', 'reg', 'rei', 'rej', 'rel', 'rem', 'ren', 'rer', 'res', 'ret', 'rey', 'rga', 'rge', 'rgk', 'rgn', 'rgr', 'rgs', 'rgu', 'rhg', 'rhp', 'ria', 'rie', 'rif', 'ril', 'rim', 'rin', 'rir', 'rit', 'riu', 'rjg', 'rji', 'rjs', 'rka', 'rkb', 'rkh', 'rki', 'rkm', 'rkt', 'rkw', 'rma', 'rmb', 'rmc', 'rmd', 'rme', 'rmf', 'rmg', 'rmh', 'rmi', 'rmk', 'rml', 'rmm', 'rmn', 'rmo', 'rmp', 'rmq', 'rmr', 'rms', 'rmt', 'rmu', 'rmv', 'rmw', 'rmx', 'rmy', 'rmz', 'rna', 'rnd', 'rng', 'rnl', 'rnn', 'rnp', 'rnr', 'rnw', 'roa', 'rob', 'roc', 'rod', 'roe', 'rof', 'rog', 'rol', 'rom', 'roo', 'rop', 'ror', 'rou', 'row', 'rpn', 'rpt', 'rri', 'rro', 'rrt', 'rsb', 'rsi', 'rsl', 'rsm', 'rtc', 'rth', 'rtm', 'rts', 'rtw', 'rub', 'ruc', 'rue', 'ruf', 'rug', 'ruh', 'rui', 'ruk', 'ruo', 'rup', 'ruq', 'rut', 'ruu', 'ruy', 'ruz', 'rwa', 'rwk', 'rwm', 'rwo', 'rwr', 'rxd', 'rxw', 'ryn', 'rys', 'ryu', 'rzh', 'saa', 'sab', 'sac', 'sad', 'sae', 'saf', 'sah', 'sai', 'saj', 'sak', 'sal', 'sam', 'sao', 'sap', 'saq', 'sar', 'sas', 'sat', 'sau', 'sav', 'saw', 'sax', 'say', 'saz', 'sba', 'sbb', 'sbc', 'sbd', 'sbe', 'sbf', 'sbg', 'sbh', 'sbi', 'sbj', 'sbk', 'sbl', 'sbm', 'sbn', 'sbo', 'sbp', 'sbq', 'sbr', 'sbs', 'sbt', 'sbu', 'sbv', 'sbw', 'sbx', 'sby', 'sbz', 'sca', 'scb', 'sce', 'scf', 'scg', 'sch', 'sci', 'sck', 'scl', 'scn', 'sco', 'scp', 'scq', 'scs', 'sct', 'scu', 'scv', 'scw', 'scx', 'sda', 'sdb', 'sdc', 'sde', 'sdf', 'sdg', 'sdh', 'sdj', 'sdk', 'sdl', 'sdm', 'sdn', 'sdo', 'sdp', 'sdr', 'sds', 'sdt', 'sdu', 'sdv', 'sdx', 'sdz', 'sea', 'seb', 'sec', 'sed', 'see', 'sef', 'seg', 'seh', 'sei', 'sej', 'sek', 'sel', 'sem', 'sen', 'seo', 'sep', 'seq', 'ser', 'ses', 'set', 'seu', 'sev', 'sew', 'sey', 'sez', 'sfb', 'sfe', 'sfm', 'sfs', 'sfw', 'sga', 'sgb', 'sgc', 'sgd', 'sge', 'sgg', 'sgh', 'sgi', 'sgj', 'sgk', 'sgl', 'sgm', 'sgn', 'sgo', 'sgp', 'sgr', 'sgs', 'sgt', 'sgu', 'sgw', 'sgx', 'sgy', 'sgz', 'sha', 'shb', 'shc', 'shd', 'she', 'shg', 'shh', 'shi', 'shj', 'shk', 'shl', 'shm', 'shn', 'sho', 'shp', 'shq', 'shr', 'shs', 'sht', 'shu', 'shv', 'shw', 'shx', 'shy', 'shz', 'sia', 'sib', 'sid', 'sie', 'sif', 'sig', 'sih', 'sii', 'sij', 'sik', 'sil', 'sim', 'sio', 'sip', 'siq', 'sir', 'sis', 'sit', 'siu', 'siv', 'siw', 'six', 'siy', 'siz', 'sja', 'sjb', 'sjd', 'sje', 'sjg', 'sjk', 'sjl', 'sjm', 'sjn', 'sjo', 'sjp', 'sjr', 'sjs', 'sjt', 'sju', 'sjw', 'ska', 'skb', 'skc', 'skd', 'ske', 'skf', 'skg', 'skh', 'ski', 'skj', 'skk', 'skm', 'skn', 'sko', 'skp', 'skq', 'skr', 'sks', 'skt', 'sku', 'skv', 'skw', 'skx', 'sky', 'skz', 'sla', 'slc', 'sld', 'sle', 'slf', 'slg', 'slh', 'sli', 'slj', 'sll', 'slm', 'sln', 'slp', 'slq', 'slr', 'sls', 'slt', 'slu', 'slw', 'slx', 'sly', 'slz', 'sma', 'smb', 'smc', 'smd', 'smf', 'smg', 'smh', 'smi', 'smj', 'smk', 'sml', 'smm', 'smn', 'smp', 'smq', 'smr', 'sms', 'smt', 'smu', 'smv', 'smw', 'smx', 'smy', 'smz', 'snb', 'snc', 'sne', 'snf', 'sng', 'snh', 'sni', 'snj', 'snk', 'snl', 'snm', 'snn', 'sno', 'snp', 'snq', 'snr', 'sns', 'snu', 'snv', 'snw', 'snx', 'sny', 'snz', 'soa', 'sob', 'soc', 'sod', 'soe', 'sog', 'soh', 'soi', 'soj', 'sok', 'sol', 'son', 'soo', 'sop', 'soq', 'sor', 'sos', 'sou', 'sov', 'sow', 'sox', 'soy', 'soz', 'spb', 'spc', 'spd', 'spe', 'spg', 'spi', 'spk', 'spl', 'spm', 'spn', 'spo', 'spp', 'spq', 'spr', 'sps', 'spt', 'spu', 'spv', 'spx', 'spy', 'sqa', 'sqh', 'sqj', 'sqk', 'sqm', 'sqn', 'sqo', 'sqq', 'sqr', 'sqs', 'sqt', 'squ', 'sra', 'srb', 'src', 'sre', 'srf', 'srg', 'srh', 'sri', 'srk', 'srl', 'srm', 'srn', 'sro', 'srq', 'srr', 'srs', 'srt', 'sru', 'srv', 'srw', 'srx', 'sry', 'srz', 'ssa', 'ssb', 'ssc', 'ssd', 'sse', 'ssf', 'ssg', 'ssh', 'ssi', 'ssj', 'ssk', 'ssl', 'ssm', 'ssn', 'sso', 'ssp', 'ssq', 'ssr', 'sss', 'sst', 'ssu', 'ssv', 'ssx', 'ssy', 'ssz', 'sta', 'stb', 'std', 'ste', 'stf', 'stg', 'sth', 'sti', 'stj', 'stk', 'stl', 'stm', 'stn', 'sto', 'stp', 'stq', 'str', 'sts', 'stt', 'stu', 'stv', 'stw', 'sty', 'sua', 'sub', 'suc', 'sue', 'sug', 'sui', 'suj', 'suk', 'sul', 'sum', 'suq', 'sur', 'sus', 'sut', 'suv', 'suw', 'sux', 'suy', 'suz', 'sva', 'svb', 'svc', 'sve', 'svk', 'svm', 'svr', 'svs', 'svx', 'swb', 'swc', 'swf', 'swg', 'swh', 'swi', 'swj', 'swk', 'swl', 'swm', 'swn', 'swo', 'swp', 'swq', 'swr', 'sws', 'swt', 'swu', 'swv', 'sww', 'swx', 'swy', 'sxb', 'sxc', 'sxe', 'sxg', 'sxk', 'sxl', 'sxm', 'sxn', 'sxo', 'sxr', 'sxs', 'sxu', 'sxw', 'sya', 'syb', 'syc', 'syd', 'syi', 'syk', 'syl', 'sym', 'syn', 'syo', 'syr', 'sys', 'syw', 'syx', 'syy', 'sza', 'szb', 'szc', 'szd', 'sze', 'szg', 'szl', 'szn', 'szp', 'szs', 'szv', 'szw', 'taa', 'tab', 'tac', 'tad', 'tae', 'taf', 'tag', 'tai', 'taj', 'tak', 'tal', 'tan', 'tao', 'tap', 'taq', 'tar', 'tas', 'tau', 'tav', 'taw', 'tax', 'tay', 'taz', 'tba', 'tbb', 'tbc', 'tbd', 'tbe', 'tbf', 'tbg', 'tbh', 'tbi', 'tbj', 'tbk', 'tbl', 'tbm', 'tbn', 'tbo', 'tbp', 'tbq', 'tbr', 'tbs', 'tbt', 'tbu', 'tbv', 'tbw', 'tbx', 'tby', 'tbz', 'tca', 'tcb', 'tcc', 'tcd', 'tce', 'tcf', 'tcg', 'tch', 'tci', 'tck', 'tcl', 'tcm', 'tcn', 'tco', 'tcp', 'tcq', 'tcs', 'tct', 'tcu', 'tcw', 'tcx', 'tcy', 'tcz', 'tda', 'tdb', 'tdc', 'tdd', 'tde', 'tdf', 'tdg', 'tdh', 'tdi', 'tdj', 'tdk', 'tdl', 'tdm', 'tdn', 'tdo', 'tdq', 'tdr', 'tds', 'tdt', 'tdu', 'tdv', 'tdx', 'tdy', 'tea', 'teb', 'tec', 'ted', 'tee', 'tef', 'teg', 'teh', 'tei', 'tek', 'tem', 'ten', 'teo', 'tep', 'teq', 'ter', 'tes', 'tet', 'teu', 'tev', 'tew', 'tex', 'tey', 'tez', 'tfi', 'tfn', 'tfo', 'tfr', 'tft', 'tga', 'tgb', 'tgc', 'tgd', 'tge', 'tgf', 'tgg', 'tgh', 'tgi', 'tgj', 'tgn', 'tgo', 'tgp', 'tgq', 'tgr', 'tgs', 'tgt', 'tgu', 'tgv', 'tgw', 'tgx', 'tgy', 'tgz', 'thc', 'thd', 'the', 'thf', 'thh', 'thi', 'thk', 'thl', 'thm', 'thn', 'thp', 'thq', 'thr', 'ths', 'tht', 'thu', 'thv', 'thw', 'thx', 'thy', 'thz', 'tia', 'tic', 'tid', 'tie', 'tif', 'tig', 'tih', 'tii', 'tij', 'tik', 'til', 'tim', 'tin', 'tio', 'tip', 'tiq', 'tis', 'tit', 'tiu', 'tiv', 'tiw', 'tix', 'tiy', 'tiz', 'tja', 'tjg', 'tji', 'tjl', 'tjm', 'tjn', 'tjo', 'tjs', 'tju', 'tjw', 'tka', 'tkb', 'tkd', 'tke', 'tkf', 'tkg', 'tkk', 'tkl', 'tkm', 'tkn', 'tkp', 'tkq', 'tkr', 'tks', 'tkt', 'tku', 'tkv', 'tkw', 'tkx', 'tkz', 'tla', 'tlb', 'tlc', 'tld', 'tlf', 'tlg', 'tlh', 'tli', 'tlj', 'tlk', 'tll', 'tlm', 'tln', 'tlo', 'tlp', 'tlq', 'tlr', 'tls', 'tlt', 'tlu', 'tlv', 'tlw', 'tlx', 'tly', 'tma', 'tmb', 'tmc', 'tmd', 'tme', 'tmf', 'tmg', 'tmh', 'tmi', 'tmj', 'tmk', 'tml', 'tmm', 'tmn', 'tmo', 'tmp', 'tmq', 'tmr', 'tms', 'tmt', 'tmu', 'tmv', 'tmw', 'tmy', 'tmz', 'tna', 'tnb', 'tnc', 'tnd', 'tne', 'tnf', 'tng', 'tnh', 'tni', 'tnk', 'tnl', 'tnm', 'tnn', 'tno', 'tnp', 'tnq', 'tnr', 'tns', 'tnt', 'tnu', 'tnv', 'tnw', 'tnx', 'tny', 'tnz', 'tob', 'toc', 'tod', 'toe', 'tof', 'tog', 'toh', 'toi', 'toj', 'tol', 'tom', 'too', 'top', 'toq', 'tor', 'tos', 'tou', 'tov', 'tow', 'tox', 'toy', 'toz', 'tpa', 'tpc', 'tpe', 'tpf', 'tpg', 'tpi', 'tpj', 'tpk', 'tpl', 'tpm', 'tpn', 'tpo', 'tpp', 'tpq', 'tpr', 'tpt', 'tpu', 'tpv', 'tpw', 'tpx', 'tpy', 'tpz', 'tqb', 'tql', 'tqm', 'tqn', 'tqo', 'tqp', 'tqq', 'tqr', 'tqt', 'tqu', 'tqw', 'tra', 'trb', 'trc', 'trd', 'tre', 'trf', 'trg', 'trh', 'tri', 'trj', 'trk', 'trl', 'trm', 'trn', 'tro', 'trp', 'trq', 'trr', 'trs', 'trt', 'tru', 'trv', 'trw', 'trx', 'try', 'trz', 'tsa', 'tsb', 'tsc', 'tsd', 'tse', 'tsf', 'tsg', 'tsh', 'tsi', 'tsj', 'tsk', 'tsl', 'tsm', 'tsp', 'tsq', 'tsr', 'tss', 'tst', 'tsu', 'tsv', 'tsw', 'tsx', 'tsy', 'tsz', 'tta', 'ttb', 'ttc', 'ttd', 'tte', 'ttf', 'ttg', 'tth', 'tti', 'ttj', 'ttk', 'ttl', 'ttm', 'ttn', 'tto', 'ttp', 'ttq', 'ttr', 'tts', 'ttt', 'ttu', 'ttv', 'ttw', 'tty', 'ttz', 'tua', 'tub', 'tuc', 'tud', 'tue', 'tuf', 'tug', 'tuh', 'tui', 'tuj', 'tul', 'tum', 'tun', 'tuo', 'tup', 'tuq', 'tus', 'tut', 'tuu', 'tuv', 'tuw', 'tux', 'tuy', 'tuz', 'tva', 'tvd', 'tve', 'tvk', 'tvl', 'tvm', 'tvn', 'tvo', 'tvs', 'tvt', 'tvu', 'tvw', 'tvy', 'twa', 'twb', 'twc', 'twd', 'twe', 'twf', 'twg', 'twh', 'twl', 'twm', 'twn', 'two', 'twp', 'twq', 'twr', 'twt', 'twu', 'tww', 'twx', 'twy', 'txa', 'txb', 'txc', 'txe', 'txg', 'txh', 'txi', 'txj', 'txm', 'txn', 'txo', 'txq', 'txr', 'txs', 'txt', 'txu', 'txx', 'txy', 'tya', 'tye', 'tyh', 'tyi', 'tyj', 'tyl', 'tyn', 'typ', 'tyr', 'tys', 'tyt', 'tyu', 'tyv', 'tyx', 'tyz', 'tza', 'tzh', 'tzj', 'tzl', 'tzm', 'tzn', 'tzo', 'tzx', 'uam', 'uan', 'uar', 'uba', 'ubi', 'ubl', 'ubr', 'ubu', 'uby', 'uda', 'ude', 'udg', 'udi', 'udj', 'udl', 'udm', 'udu', 'ues', 'ufi', 'uga', 'ugb', 'uge', 'ugn', 'ugo', 'ugy', 'uha', 'uhn', 'uis', 'uiv', 'uji', 'uka', 'ukg', 'ukh', 'ukk', 'ukl', 'ukp', 'ukq', 'uks', 'uku', 'ukw', 'uky', 'ula', 'ulb', 'ulc', 'ule', 'ulf', 'uli', 'ulk', 'ull', 'ulm', 'uln', 'ulu', 'ulw', 'uma', 'umb', 'umc', 'umd', 'umg', 'umi', 'umm', 'umn', 'umo', 'ump', 'umr', 'ums', 'umu', 'una', 'und', 'une', 'ung', 'unk', 'unm', 'unn', 'unp', 'unr', 'unu', 'unx', 'unz', 'uok', 'upi', 'upv', 'ura', 'urb', 'urc', 'ure', 'urf', 'urg', 'urh', 'uri', 'urj', 'urk', 'url', 'urm', 'urn', 'uro', 'urp', 'urr', 'urt', 'uru', 'urv', 'urw', 'urx', 'ury', 'urz', 'usa', 'ush', 'usi', 'usk', 'usp', 'usu', 'uta', 'ute', 'utp', 'utr', 'utu', 'uum', 'uun', 'uur', 'uuu', 'uve', 'uvh', 'uvl', 'uwa', 'uya', 'uzn', 'uzs', 'vaa', 'vae', 'vaf', 'vag', 'vah', 'vai', 'vaj', 'val', 'vam', 'van', 'vao', 'vap', 'var', 'vas', 'vau', 'vav', 'vay', 'vbb', 'vbk', 'vec', 'ved', 'vel', 'vem', 'veo', 'vep', 'ver', 'vgr', 'vgt', 'vic', 'vid', 'vif', 'vig', 'vil', 'vin', 'vis', 'vit', 'viv', 'vka', 'vki', 'vkj', 'vkk', 'vkl', 'vkm', 'vko', 'vkp', 'vkt', 'vku', 'vlp', 'vls', 'vma', 'vmb', 'vmc', 'vmd', 'vme', 'vmf', 'vmg', 'vmh', 'vmi', 'vmj', 'vmk', 'vml', 'vmm', 'vmp', 'vmq', 'vmr', 'vms', 'vmu', 'vmv', 'vmw', 'vmx', 'vmy', 'vmz', 'vnk', 'vnm', 'vnp', 'vor', 'vot', 'vra', 'vro', 'vrs', 'vrt', 'vsi', 'vsl', 'vsv', 'vto', 'vum', 'vun', 'vut', 'vwa', 'waa', 'wab', 'wac', 'wad', 'wae', 'waf', 'wag', 'wah', 'wai', 'waj', 'wak', 'wal', 'wam', 'wan', 'wao', 'wap', 'waq', 'war', 'was', 'wat', 'wau', 'wav', 'waw', 'wax', 'way', 'waz', 'wba', 'wbb', 'wbe', 'wbf', 'wbh', 'wbi', 'wbj', 'wbk', 'wbl', 'wbm', 'wbp', 'wbq', 'wbr', 'wbs', 'wbt', 'wbv', 'wbw', 'wca', 'wci', 'wdd', 'wdg', 'wdj', 'wdk', 'wdu', 'wdy', 'wea', 'wec', 'wed', 'weg', 'weh', 'wei', 'wem', 'wen', 'weo', 'wep', 'wer', 'wes', 'wet', 'weu', 'wew', 'wfg', 'wga', 'wgb', 'wgg', 'wgi', 'wgo', 'wgu', 'wgw', 'wgy', 'wha', 'whg', 'whk', 'whu', 'wib', 'wic', 'wie', 'wif', 'wig', 'wih', 'wii', 'wij', 'wik', 'wil', 'wim', 'win', 'wir', 'wit', 'wiu', 'wiv', 'wiw', 'wiy', 'wja', 'wji', 'wka', 'wkb', 'wkd', 'wkl', 'wku', 'wkw', 'wky', 'wla', 'wlc', 'wle', 'wlg', 'wli', 'wlk', 'wll', 'wlm', 'wlo', 'wlr', 'wls', 'wlu', 'wlv', 'wlw', 'wlx', 'wly', 'wma', 'wmb', 'wmc', 'wmd', 'wme', 'wmh', 'wmi', 'wmm', 'wmn', 'wmo', 'wms', 'wmt', 'wmw', 'wmx', 'wnb', 'wnc', 'wnd', 'wne', 'wng', 'wni', 'wnk', 'wnm', 'wnn', 'wno', 'wnp', 'wnu', 'wnw', 'wny', 'woa', 'wob', 'woc', 'wod', 'woe', 'wof', 'wog', 'woi', 'wok', 'wom', 'won', 'woo', 'wor', 'wos', 'wow', 'woy', 'wpc', 'wra', 'wrb', 'wrd', 'wrg', 'wrh', 'wri', 'wrk', 'wrl', 'wrm', 'wrn', 'wro', 'wrp', 'wrr', 'wrs', 'wru', 'wrv', 'wrw', 'wrx', 'wry', 'wrz', 'wsa', 'wsg', 'wsi', 'wsk', 'wsr', 'wss', 'wsu', 'wsv', 'wtf', 'wth', 'wti', 'wtk', 'wtm', 'wtw', 'wua', 'wub', 'wud', 'wuh', 'wul', 'wum', 'wun', 'wur', 'wut', 'wuu', 'wuv', 'wux', 'wuy', 'wwa', 'wwb', 'wwo', 'wwr', 'www', 'wxa', 'wxw', 'wya', 'wyb', 'wyi', 'wym', 'wyr', 'wyy', 'xaa', 'xab', 'xac', 'xad', 'xae', 'xag', 'xai', 'xaj', 'xak', 'xal', 'xam', 'xan', 'xao', 'xap', 'xaq', 'xar', 'xas', 'xat', 'xau', 'xav', 'xaw', 'xay', 'xba', 'xbb', 'xbc', 'xbd', 'xbe', 'xbg', 'xbi', 'xbj', 'xbm', 'xbn', 'xbo', 'xbp', 'xbr', 'xbw', 'xbx', 'xby', 'xcb', 'xcc', 'xce', 'xcg', 'xch', 'xcl', 'xcm', 'xcn', 'xco', 'xcr', 'xct', 'xcu', 'xcv', 'xcw', 'xcy', 'xda', 'xdc', 'xdk', 'xdm', 'xdo', 'xdy', 'xeb', 'xed', 'xeg', 'xel', 'xem', 'xep', 'xer', 'xes', 'xet', 'xeu', 'xfa', 'xga', 'xgb', 'xgd', 'xgf', 'xgg', 'xgi', 'xgl', 'xgm', 'xgn', 'xgr', 'xgu', 'xgw', 'xha', 'xhc', 'xhd', 'xhe', 'xhr', 'xht', 'xhu', 'xhv', 'xia', 'xib', 'xii', 'xil', 'xin', 'xip', 'xir', 'xis', 'xiv', 'xiy', 'xjb', 'xjt', 'xka', 'xkb', 'xkc', 'xkd', 'xke', 'xkf', 'xkg', 'xkh', 'xki', 'xkj', 'xkk', 'xkl', 'xkn', 'xko', 'xkp', 'xkq', 'xkr', 'xks', 'xkt', 'xku', 'xkv', 'xkw', 'xkx', 'xky', 'xkz', 'xla', 'xlb', 'xlc', 'xld', 'xle', 'xlg', 'xli', 'xln', 'xlo', 'xlp', 'xls', 'xlu', 'xly', 'xma', 'xmb', 'xmc', 'xmd', 'xme', 'xmf', 'xmg', 'xmh', 'xmj', 'xmk', 'xml', 'xmm', 'xmn', 'xmo', 'xmp', 'xmq', 'xmr', 'xms', 'xmt', 'xmu', 'xmv', 'xmw', 'xmx', 'xmy', 'xmz', 'xna', 'xnb', 'xnd', 'xng', 'xnh', 'xni', 'xnk', 'xnn', 'xno', 'xnr', 'xns', 'xnt', 'xnu', 'xny', 'xnz', 'xoc', 'xod', 'xog', 'xoi', 'xok', 'xom', 'xon', 'xoo', 'xop', 'xor', 'xow', 'xpa', 'xpc', 'xpe', 'xpg', 'xpi', 'xpj', 'xpk', 'xpm', 'xpn', 'xpo', 'xpp', 'xpq', 'xpr', 'xps', 'xpt', 'xpu', 'xpy', 'xqa', 'xqt', 'xra', 'xrb', 'xrd', 'xre', 'xrg', 'xri', 'xrm', 'xrn', 'xrq', 'xrr', 'xrt', 'xru', 'xrw', 'xsa', 'xsb', 'xsc', 'xsd', 'xse', 'xsh', 'xsi', 'xsj', 'xsl', 'xsm', 'xsn', 'xso', 'xsp', 'xsq', 'xsr', 'xss', 'xsu', 'xsv', 'xsy', 'xta', 'xtb', 'xtc', 'xtd', 'xte', 'xtg', 'xth', 'xti', 'xtj', 'xtl', 'xtm', 'xtn', 'xto', 'xtp', 'xtq', 'xtr', 'xts', 'xtt', 'xtu', 'xtv', 'xtw', 'xty', 'xtz', 'xua', 'xub', 'xud', 'xug', 'xuj', 'xul', 'xum', 'xun', 'xuo', 'xup', 'xur', 'xut', 'xuu', 'xve', 'xvi', 'xvn', 'xvo', 'xvs', 'xwa', 'xwc', 'xwd', 'xwe', 'xwg', 'xwj', 'xwk', 'xwl', 'xwo', 'xwr', 'xwt', 'xww', 'xxb', 'xxk', 'xxm', 'xxr', 'xxt', 'xya', 'xyb', 'xyj', 'xyk', 'xyl', 'xyt', 'xyy', 'xzh', 'xzm', 'xzp', 'yaa', 'yab', 'yac', 'yad', 'yae', 'yaf', 'yag', 'yah', 'yai', 'yaj', 'yak', 'yal', 'yam', 'yan', 'yao', 'yap', 'yaq', 'yar', 'yas', 'yat', 'yau', 'yav', 'yaw', 'yax', 'yay', 'yaz', 'yba', 'ybb', 'ybd', 'ybe', 'ybh', 'ybi', 'ybj', 'ybk', 'ybl', 'ybm', 'ybn', 'ybo', 'ybx', 'yby', 'ych', 'ycl', 'ycn', 'ycp', 'yda', 'ydd', 'yde', 'ydg', 'ydk', 'yds', 'yea', 'yec', 'yee', 'yei', 'yej', 'yel', 'yen', 'yer', 'yes', 'yet', 'yeu', 'yev', 'yey', 'yga', 'ygi', 'ygl', 'ygm', 'ygp', 'ygr', 'ygs', 'ygu', 'ygw', 'yha', 'yhd', 'yhl', 'yhs', 'yia', 'yif', 'yig', 'yih', 'yii', 'yij', 'yik', 'yil', 'yim', 'yin', 'yip', 'yiq', 'yir', 'yis', 'yit', 'yiu', 'yiv', 'yix', 'yiy', 'yiz', 'yka', 'ykg', 'yki', 'ykk', 'ykl', 'ykm', 'ykn', 'yko', 'ykr', 'ykt', 'yku', 'yky', 'yla', 'ylb', 'yle', 'ylg', 'yli', 'yll', 'ylm', 'yln', 'ylo', 'ylr', 'ylu', 'yly', 'yma', 'ymb', 'ymc', 'ymd', 'yme', 'ymg', 'ymh', 'ymi', 'ymk', 'yml', 'ymm', 'ymn', 'ymo', 'ymp', 'ymq', 'ymr', 'yms', 'ymt', 'ymx', 'ymz', 'yna', 'ynd', 'yne', 'yng', 'ynh', 'ynk', 'ynl', 'ynn', 'yno', 'ynq', 'yns', 'ynu', 'yob', 'yog', 'yoi', 'yok', 'yol', 'yom', 'yon', 'yos', 'yot', 'yox', 'yoy', 'ypa', 'ypb', 'ypg', 'yph', 'ypk', 'ypm', 'ypn', 'ypo', 'ypp', 'ypz', 'yra', 'yrb', 'yre', 'yri', 'yrk', 'yrl', 'yrm', 'yrn', 'yro', 'yrs', 'yrw', 'yry', 'ysc', 'ysd', 'ysg', 'ysl', 'ysn', 'yso', 'ysp', 'ysr', 'yss', 'ysy', 'yta', 'ytl', 'ytp', 'ytw', 'yty', 'yua', 'yub', 'yuc', 'yud', 'yue', 'yuf', 'yug', 'yui', 'yuj', 'yuk', 'yul', 'yum', 'yun', 'yup', 'yuq', 'yur', 'yut', 'yuu', 'yuw', 'yux', 'yuy', 'yuz', 'yva', 'yvt', 'ywa', 'ywg', 'ywl', 'ywn', 'ywq', 'ywr', 'ywt', 'ywu', 'yww', 'yxa', 'yxg', 'yxl', 'yxm', 'yxu', 'yxy', 'yyr', 'yyu', 'yyz', 'yzg', 'yzk', 'zaa', 'zab', 'zac', 'zad', 'zae', 'zaf', 'zag', 'zah', 'zai', 'zaj', 'zak', 'zal', 'zam', 'zao', 'zap', 'zaq', 'zar', 'zas', 'zat', 'zau', 'zav', 'zaw', 'zax', 'zay', 'zaz', 'zbc', 'zbe', 'zbl', 'zbt', 'zbw', 'zca', 'zch', 'zdj', 'zea', 'zeg', 'zeh', 'zen', 'zga', 'zgb', 'zgh', 'zgm', 'zgn', 'zgr', 'zhb', 'zhd', 'zhi', 'zhn', 'zhw', 'zhx', 'zia', 'zib', 'zik', 'zil', 'zim', 'zin', 'zir', 'ziw', 'ziz', 'zka', 'zkb', 'zkd', 'zkg', 'zkh', 'zkk', 'zkn', 'zko', 'zkp', 'zkr', 'zkt', 'zku', 'zkv', 'zkz', 'zle', 'zlj', 'zlm', 'zln', 'zlq', 'zls', 'zlw', 'zma', 'zmb', 'zmc', 'zmd', 'zme', 'zmf', 'zmg', 'zmh', 'zmi', 'zmj', 'zmk', 'zml', 'zmm', 'zmn', 'zmo', 'zmp', 'zmq', 'zmr', 'zms', 'zmt', 'zmu', 'zmv', 'zmw', 'zmx', 'zmy', 'zmz', 'zna', 'znd', 'zne', 'zng', 'znk', 'zns', 'zoc', 'zoh', 'zom', 'zoo', 'zoq', 'zor', 'zos', 'zpa', 'zpb', 'zpc', 'zpd', 'zpe', 'zpf', 'zpg', 'zph', 'zpi', 'zpj', 'zpk', 'zpl', 'zpm', 'zpn', 'zpo', 'zpp', 'zpq', 'zpr', 'zps', 'zpt', 'zpu', 'zpv', 'zpw', 'zpx', 'zpy', 'zpz', 'zqe', 'zra', 'zrg', 'zrn', 'zro', 'zrp', 'zrs', 'zsa', 'zsk', 'zsl', 'zsm', 'zsr', 'zsu', 'zte', 'ztg', 'ztl', 'ztm', 'ztn', 'ztp', 'ztq', 'zts', 'ztt', 'ztu', 'ztx', 'zty', 'zua', 'zuh', 'zum', 'zun', 'zuy', 'zwa', 'zxx', 'zyb', 'zyg', 'zyj', 'zyn', 'zyp', 'zza', 'zzj' ];
-1 21462 function validLangs() {
-1 21463 return langs;
-1 21464 }
-1 21465 __webpack_exports__['default'] = validLangs;
-1 21466 },
-1 21467 './lib/rules/aria-allowed-attr-matches.js': function libRulesAriaAllowedAttrMatchesJs(module, __webpack_exports__, __webpack_require__) {
-1 21468 'use strict';
-1 21469 __webpack_require__.r(__webpack_exports__);
-1 21470 var _core_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/core/utils/index.js');
-1 21471 function ariaAllowedAttrMatches(node) {
-1 21472 var aria = /^aria-/;
-1 21473 if (node.hasAttributes()) {
-1 21474 var attrs = Object(_core_utils__WEBPACK_IMPORTED_MODULE_0__['getNodeAttributes'])(node);
-1 21475 for (var i = 0, l = attrs.length; i < l; i++) {
-1 21476 if (aria.test(attrs[i].name)) {
-1 21477 return true;
11725 21478 }
11726 -1 if (rest[0].combinator === '>') {
11727 -1 childOnly.push(rest);
11728 -1 } else {
11729 -1 childAny.push(rest);
-1 21479 }
-1 21480 }
-1 21481 return false;
-1 21482 }
-1 21483 __webpack_exports__['default'] = ariaAllowedAttrMatches;
-1 21484 },
-1 21485 './lib/rules/aria-allowed-role-matches.js': function libRulesAriaAllowedRoleMatchesJs(module, __webpack_exports__, __webpack_require__) {
-1 21486 'use strict';
-1 21487 __webpack_require__.r(__webpack_exports__);
-1 21488 var _commons_aria__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/aria/index.js');
-1 21489 function ariaAllowedRoleMatches(node) {
-1 21490 return Object(_commons_aria__WEBPACK_IMPORTED_MODULE_0__['getExplicitRole'])(node, {
-1 21491 dpub: true,
-1 21492 fallback: true
-1 21493 }) !== null;
-1 21494 }
-1 21495 __webpack_exports__['default'] = ariaAllowedRoleMatches;
-1 21496 },
-1 21497 './lib/rules/aria-form-field-name-matches.js': function libRulesAriaFormFieldNameMatchesJs(module, __webpack_exports__, __webpack_require__) {
-1 21498 'use strict';
-1 21499 __webpack_require__.r(__webpack_exports__);
-1 21500 var _commons_aria__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/aria/index.js');
-1 21501 var _core_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/core/utils/index.js');
-1 21502 function ariaFormFieldNameMatches(node, virtualNode) {
-1 21503 var nodeName = virtualNode.props.nodeName;
-1 21504 var role = Object(_commons_aria__WEBPACK_IMPORTED_MODULE_0__['getExplicitRole'])(virtualNode);
-1 21505 if (nodeName === 'area' && !!virtualNode.attr('href')) {
-1 21506 return false;
-1 21507 }
-1 21508 if ([ 'input', 'select', 'textarea' ].includes(nodeName)) {
-1 21509 return false;
-1 21510 }
-1 21511 if (nodeName === 'img' || role === 'img' && nodeName !== 'svg') {
-1 21512 return false;
-1 21513 }
-1 21514 if (nodeName === 'button' || role === 'button') {
-1 21515 return false;
-1 21516 }
-1 21517 if (role === 'combobox' && Object(_core_utils__WEBPACK_IMPORTED_MODULE_1__['querySelectorAll'])(virtualNode, 'input:not([type="hidden"])').length) {
-1 21518 return false;
-1 21519 }
-1 21520 return true;
-1 21521 }
-1 21522 __webpack_exports__['default'] = ariaFormFieldNameMatches;
-1 21523 },
-1 21524 './lib/rules/aria-has-attr-matches.js': function libRulesAriaHasAttrMatchesJs(module, __webpack_exports__, __webpack_require__) {
-1 21525 'use strict';
-1 21526 __webpack_require__.r(__webpack_exports__);
-1 21527 var _core_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/core/utils/index.js');
-1 21528 function ariaHasAttrMatches(node) {
-1 21529 var aria = /^aria-/;
-1 21530 if (node.hasAttributes()) {
-1 21531 var attrs = Object(_core_utils__WEBPACK_IMPORTED_MODULE_0__['getNodeAttributes'])(node);
-1 21532 for (var i = 0, l = attrs.length; i < l; i++) {
-1 21533 if (aria.test(attrs[i].name)) {
-1 21534 return true;
11730 21535 }
11731 21536 }
11732 21537 }
11733 -1 if (currentLevel.anyLevel.includes(exp) && (!exp[0].id || node.shadowId === currentLevel.parentShadowId)) {
11734 -1 childAny.push(exp);
-1 21538 return false;
-1 21539 }
-1 21540 __webpack_exports__['default'] = ariaHasAttrMatches;
-1 21541 },
-1 21542 './lib/rules/aria-hidden-focus-matches.js': function libRulesAriaHiddenFocusMatchesJs(module, __webpack_exports__, __webpack_require__) {
-1 21543 'use strict';
-1 21544 __webpack_require__.r(__webpack_exports__);
-1 21545 var _commons_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/dom/index.js');
-1 21546 function shouldMatchElement(el) {
-1 21547 if (!el) {
-1 21548 return true;
-1 21549 }
-1 21550 if (el.getAttribute('aria-hidden') === 'true') {
-1 21551 return false;
11735 21552 }
-1 21553 return shouldMatchElement(Object(_commons_dom__WEBPACK_IMPORTED_MODULE_0__['getComposedParent'])(el));
11736 21554 }
11737 -1 if (node.children && node.children.length && recurse) {
11738 -1 stack.push(currentLevel);
11739 -1 currentLevel = createLocalVariables(node.children, childAny, childOnly, node.shadowId);
-1 21555 function ariaHiddenFocusMatches(node) {
-1 21556 return shouldMatchElement(Object(_commons_dom__WEBPACK_IMPORTED_MODULE_0__['getComposedParent'])(node));
11740 21557 }
11741 -1 while (!currentLevel.nodes.length && stack.length) {
11742 -1 currentLevel = stack.pop();
-1 21558 __webpack_exports__['default'] = ariaHiddenFocusMatches;
-1 21559 },
-1 21560 './lib/rules/autocomplete-matches.js': function libRulesAutocompleteMatchesJs(module, __webpack_exports__, __webpack_require__) {
-1 21561 'use strict';
-1 21562 __webpack_require__.r(__webpack_exports__);
-1 21563 var _commons_text__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/text/index.js');
-1 21564 var _standards__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/standards/index.js');
-1 21565 var _commons_dom__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__('./lib/commons/dom/index.js');
-1 21566 function autocompleteMatches(node, virtualNode) {
-1 21567 var autocomplete = virtualNode.attr('autocomplete');
-1 21568 if (!autocomplete || Object(_commons_text__WEBPACK_IMPORTED_MODULE_0__['sanitize'])(autocomplete) === '') {
-1 21569 return false;
-1 21570 }
-1 21571 var nodeName = virtualNode.props.nodeName;
-1 21572 if ([ 'textarea', 'input', 'select' ].includes(nodeName) === false) {
-1 21573 return false;
-1 21574 }
-1 21575 var excludedInputTypes = [ 'submit', 'reset', 'button', 'hidden' ];
-1 21576 if (nodeName === 'input' && excludedInputTypes.includes(virtualNode.props.type)) {
-1 21577 return false;
-1 21578 }
-1 21579 var ariaDisabled = virtualNode.attr('aria-disabled') || 'false';
-1 21580 if (virtualNode.hasAttr('disabled') || ariaDisabled.toLowerCase() === 'true') {
-1 21581 return false;
-1 21582 }
-1 21583 var role = virtualNode.attr('role');
-1 21584 var tabIndex = virtualNode.attr('tabindex');
-1 21585 if (tabIndex === '-1' && role) {
-1 21586 var roleDef = _standards__WEBPACK_IMPORTED_MODULE_1__['default'].ariaRoles[role];
-1 21587 if (roleDef === undefined || roleDef.type !== 'widget') {
-1 21588 return false;
-1 21589 }
-1 21590 }
-1 21591 if (tabIndex === '-1' && virtualNode.actualNode && !Object(_commons_dom__WEBPACK_IMPORTED_MODULE_2__['isVisible'])(virtualNode.actualNode, false) && !Object(_commons_dom__WEBPACK_IMPORTED_MODULE_2__['isVisible'])(virtualNode.actualNode, true)) {
-1 21592 return false;
-1 21593 }
-1 21594 return true;
11743 21595 }
11744 -1 }
11745 -1 return result;
11746 -1 };
11747 -1 axe.utils.querySelectorAll = function(domTree, selector) {
11748 -1 return axe.utils.querySelectorAllFilter(domTree, selector);
11749 -1 };
11750 -1 axe.utils.querySelectorAllFilter = function(domTree, selector, filter) {
11751 -1 domTree = Array.isArray(domTree) ? domTree : [ domTree ];
11752 -1 var expressions = axe.utils.cssParser.parse(selector);
11753 -1 expressions = expressions.selectors ? expressions.selectors : [ expressions ];
11754 -1 expressions = convertExpressions(expressions);
11755 -1 return matchExpressions(domTree, expressions, true, filter);
11756 -1 };
11757 -1 'use strict';
11758 -1 var _typeof = typeof Symbol === 'function' && typeof Symbol.iterator === 'symbol' ? function(obj) {
11759 -1 return typeof obj;
11760 -1 } : function(obj) {
11761 -1 return obj && typeof Symbol === 'function' && obj.constructor === Symbol && obj !== Symbol.prototype ? 'symbol' : typeof obj;
11762 -1 };
11763 -1 (function() {
11764 -1 'use strict';
11765 -1 function noop() {}
11766 -1 function funcGuard(f) {
11767 -1 if (typeof f !== 'function') {
11768 -1 throw new TypeError('Queue methods require functions as arguments');
-1 21596 __webpack_exports__['default'] = autocompleteMatches;
-1 21597 },
-1 21598 './lib/rules/bypass-matches.js': function libRulesBypassMatchesJs(module, __webpack_exports__, __webpack_require__) {
-1 21599 'use strict';
-1 21600 __webpack_require__.r(__webpack_exports__);
-1 21601 var _window_is_top_matches__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/rules/window-is-top-matches.js');
-1 21602 function bypassMatches(node) {
-1 21603 if (Object(_window_is_top_matches__WEBPACK_IMPORTED_MODULE_0__['default'])(node)) {
-1 21604 return !!node.querySelector('a[href]');
-1 21605 }
-1 21606 return true;
11769 21607 }
11770 -1 }
11771 -1 function queue() {
11772 -1 var tasks = [];
11773 -1 var started = 0;
11774 -1 var remaining = 0;
11775 -1 var completeQueue = noop;
11776 -1 var complete = false;
11777 -1 var err;
11778 -1 var defaultFail = function defaultFail(e) {
11779 -1 err = e;
11780 -1 setTimeout(function() {
11781 -1 if (err !== undefined && err !== null) {
11782 -1 axe.log('Uncaught error (of queue)', err);
11783 -1 }
11784 -1 }, 1);
11785 -1 };
11786 -1 var failed = defaultFail;
11787 -1 function createResolve(i) {
11788 -1 return function(r) {
11789 -1 tasks[i] = r;
11790 -1 remaining -= 1;
11791 -1 if (!remaining && completeQueue !== noop) {
11792 -1 complete = true;
11793 -1 completeQueue(tasks);
-1 21608 __webpack_exports__['default'] = bypassMatches;
-1 21609 },
-1 21610 './lib/rules/color-contrast-matches.js': function libRulesColorContrastMatchesJs(module, __webpack_exports__, __webpack_require__) {
-1 21611 'use strict';
-1 21612 __webpack_require__.r(__webpack_exports__);
-1 21613 var _commons_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/dom/index.js');
-1 21614 var _commons_text__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/commons/text/index.js');
-1 21615 var _commons_forms__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__('./lib/commons/forms/index.js');
-1 21616 var _core_utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__('./lib/core/utils/index.js');
-1 21617 function colorContrastMatches(node, virtualNode) {
-1 21618 var _virtualNode$props = virtualNode.props, nodeName = _virtualNode$props.nodeName, inputType = _virtualNode$props.type;
-1 21619 if (nodeName === 'option') {
-1 21620 return false;
-1 21621 }
-1 21622 if (nodeName === 'select' && !node.options.length) {
-1 21623 return false;
-1 21624 }
-1 21625 var nonTextInput = [ 'hidden', 'range', 'color', 'checkbox', 'radio', 'image' ];
-1 21626 if (nodeName === 'input' && nonTextInput.includes(inputType)) {
-1 21627 return false;
-1 21628 }
-1 21629 if (Object(_commons_forms__WEBPACK_IMPORTED_MODULE_2__['isDisabled'])(virtualNode)) {
-1 21630 return false;
-1 21631 }
-1 21632 var formElements = [ 'input', 'select', 'textarea' ];
-1 21633 if (formElements.includes(nodeName)) {
-1 21634 var style = window.getComputedStyle(node);
-1 21635 var textIndent = parseInt(style.getPropertyValue('text-indent'), 10);
-1 21636 if (textIndent) {
-1 21637 var rect = node.getBoundingClientRect();
-1 21638 rect = {
-1 21639 top: rect.top,
-1 21640 bottom: rect.bottom,
-1 21641 left: rect.left + textIndent,
-1 21642 right: rect.right + textIndent
-1 21643 };
-1 21644 if (!Object(_commons_dom__WEBPACK_IMPORTED_MODULE_0__['visuallyOverlaps'])(rect, node)) {
-1 21645 return false;
-1 21646 }
11794 21647 }
-1 21648 return true;
-1 21649 }
-1 21650 var nodeParentLabel = Object(_commons_dom__WEBPACK_IMPORTED_MODULE_0__['findUpVirtual'])(virtualNode, 'label');
-1 21651 if (nodeName === 'label' || nodeParentLabel) {
-1 21652 var labelNode = nodeParentLabel || node;
-1 21653 var labelVirtual = nodeParentLabel ? Object(_core_utils__WEBPACK_IMPORTED_MODULE_3__['getNodeFromTree'])(nodeParentLabel) : virtualNode;
-1 21654 var doc = Object(_commons_dom__WEBPACK_IMPORTED_MODULE_0__['getRootNode'])(labelNode);
-1 21655 var explicitControl = doc.getElementById(labelNode.htmlFor || '');
-1 21656 var explicitControlVirtual = explicitControl && Object(_core_utils__WEBPACK_IMPORTED_MODULE_3__['getNodeFromTree'])(explicitControl);
-1 21657 if (explicitControlVirtual && Object(_commons_forms__WEBPACK_IMPORTED_MODULE_2__['isDisabled'])(explicitControlVirtual)) {
-1 21658 return false;
-1 21659 }
-1 21660 var query = 'input:not([type="hidden"]):not([type="image"])' + ':not([type="button"]):not([type="submit"]):not([type="reset"]), select, textarea';
-1 21661 var implicitControl = Object(_core_utils__WEBPACK_IMPORTED_MODULE_3__['querySelectorAll'])(labelVirtual, query)[0];
-1 21662 if (implicitControl && Object(_commons_forms__WEBPACK_IMPORTED_MODULE_2__['isDisabled'])(implicitControl)) {
-1 21663 return false;
-1 21664 }
-1 21665 }
-1 21666 var ariaLabelledbyControls = [];
-1 21667 var ancestorNode = virtualNode;
-1 21668 while (ancestorNode) {
-1 21669 if (ancestorNode.props.id) {
-1 21670 var _doc = Object(_commons_dom__WEBPACK_IMPORTED_MODULE_0__['getRootNode'])(node);
-1 21671 var escapedId = Object(_core_utils__WEBPACK_IMPORTED_MODULE_3__['escapeSelector'])(ancestorNode.props.id);
-1 21672 var controls = Array.from(_doc.querySelectorAll('[aria-labelledby~="'.concat(escapedId, '"]')));
-1 21673 var virtualControls = controls.map(function(control) {
-1 21674 return Object(_core_utils__WEBPACK_IMPORTED_MODULE_3__['getNodeFromTree'])(control);
-1 21675 });
-1 21676 ariaLabelledbyControls.push.apply(ariaLabelledbyControls, _toConsumableArray(virtualControls));
-1 21677 }
-1 21678 ancestorNode = ancestorNode.parent;
-1 21679 }
-1 21680 if (ariaLabelledbyControls.length > 0 && ariaLabelledbyControls.every(_commons_forms__WEBPACK_IMPORTED_MODULE_2__['isDisabled'])) {
-1 21681 return false;
-1 21682 }
-1 21683 var visibleText = Object(_commons_text__WEBPACK_IMPORTED_MODULE_1__['visibleVirtual'])(virtualNode, false, true);
-1 21684 var removeUnicodeOptions = {
-1 21685 emoji: true,
-1 21686 nonBmp: false,
-1 21687 punctuations: true
11795 21688 };
-1 21689 if (!visibleText || !Object(_commons_text__WEBPACK_IMPORTED_MODULE_1__['removeUnicode'])(visibleText, removeUnicodeOptions)) {
-1 21690 return false;
-1 21691 }
-1 21692 var range = document.createRange();
-1 21693 var childNodes = virtualNode.children;
-1 21694 for (var index = 0; index < childNodes.length; index++) {
-1 21695 var child = childNodes[index];
-1 21696 if (child.actualNode.nodeType === 3 && Object(_commons_text__WEBPACK_IMPORTED_MODULE_1__['sanitize'])(child.actualNode.nodeValue) !== '') {
-1 21697 range.selectNodeContents(child.actualNode);
-1 21698 }
-1 21699 }
-1 21700 var rects = range.getClientRects();
-1 21701 for (var _index = 0; _index < rects.length; _index++) {
-1 21702 if (Object(_commons_dom__WEBPACK_IMPORTED_MODULE_0__['visuallyOverlaps'])(rects[_index], node)) {
-1 21703 return true;
-1 21704 }
-1 21705 }
-1 21706 return false;
-1 21707 }
-1 21708 __webpack_exports__['default'] = colorContrastMatches;
-1 21709 },
-1 21710 './lib/rules/data-table-large-matches.js': function libRulesDataTableLargeMatchesJs(module, __webpack_exports__, __webpack_require__) {
-1 21711 'use strict';
-1 21712 __webpack_require__.r(__webpack_exports__);
-1 21713 var _commons_table__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/table/index.js');
-1 21714 function dataTableLargeMatches(node) {
-1 21715 if (Object(_commons_table__WEBPACK_IMPORTED_MODULE_0__['isDataTable'])(node)) {
-1 21716 var tableArray = Object(_commons_table__WEBPACK_IMPORTED_MODULE_0__['toArray'])(node);
-1 21717 return tableArray.length >= 3 && tableArray[0].length >= 3 && tableArray[1].length >= 3 && tableArray[2].length >= 3;
-1 21718 }
-1 21719 return false;
-1 21720 }
-1 21721 __webpack_exports__['default'] = dataTableLargeMatches;
-1 21722 },
-1 21723 './lib/rules/data-table-matches.js': function libRulesDataTableMatchesJs(module, __webpack_exports__, __webpack_require__) {
-1 21724 'use strict';
-1 21725 __webpack_require__.r(__webpack_exports__);
-1 21726 var _commons_table__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/table/index.js');
-1 21727 function dataTableMatches(node) {
-1 21728 return Object(_commons_table__WEBPACK_IMPORTED_MODULE_0__['isDataTable'])(node);
-1 21729 }
-1 21730 __webpack_exports__['default'] = dataTableMatches;
-1 21731 },
-1 21732 './lib/rules/duplicate-id-active-matches.js': function libRulesDuplicateIdActiveMatchesJs(module, __webpack_exports__, __webpack_require__) {
-1 21733 'use strict';
-1 21734 __webpack_require__.r(__webpack_exports__);
-1 21735 var _commons_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/dom/index.js');
-1 21736 var _commons_aria__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/commons/aria/index.js');
-1 21737 var _core_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__('./lib/core/utils/index.js');
-1 21738 function duplicateIdActiveMatches(node) {
-1 21739 var id = node.getAttribute('id').trim();
-1 21740 var idSelector = '*[id="'.concat(Object(_core_utils__WEBPACK_IMPORTED_MODULE_2__['escapeSelector'])(id), '"]');
-1 21741 var idMatchingElms = Array.from(Object(_commons_dom__WEBPACK_IMPORTED_MODULE_0__['getRootNode'])(node).querySelectorAll(idSelector));
-1 21742 return !Object(_commons_aria__WEBPACK_IMPORTED_MODULE_1__['isAccessibleRef'])(node) && idMatchingElms.some(_commons_dom__WEBPACK_IMPORTED_MODULE_0__['isFocusable']);
-1 21743 }
-1 21744 __webpack_exports__['default'] = duplicateIdActiveMatches;
-1 21745 },
-1 21746 './lib/rules/duplicate-id-aria-matches.js': function libRulesDuplicateIdAriaMatchesJs(module, __webpack_exports__, __webpack_require__) {
-1 21747 'use strict';
-1 21748 __webpack_require__.r(__webpack_exports__);
-1 21749 var _commons_aria__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/aria/index.js');
-1 21750 function duplicateIdAriaMatches(node) {
-1 21751 return Object(_commons_aria__WEBPACK_IMPORTED_MODULE_0__['isAccessibleRef'])(node);
-1 21752 }
-1 21753 __webpack_exports__['default'] = duplicateIdAriaMatches;
-1 21754 },
-1 21755 './lib/rules/duplicate-id-misc-matches.js': function libRulesDuplicateIdMiscMatchesJs(module, __webpack_exports__, __webpack_require__) {
-1 21756 'use strict';
-1 21757 __webpack_require__.r(__webpack_exports__);
-1 21758 var _commons_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/dom/index.js');
-1 21759 var _commons_aria__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/commons/aria/index.js');
-1 21760 var _core_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__('./lib/core/utils/index.js');
-1 21761 function duplicateIdMiscMatches(node) {
-1 21762 var id = node.getAttribute('id').trim();
-1 21763 var idSelector = '*[id="'.concat(Object(_core_utils__WEBPACK_IMPORTED_MODULE_2__['escapeSelector'])(id), '"]');
-1 21764 var idMatchingElms = Array.from(Object(_commons_dom__WEBPACK_IMPORTED_MODULE_0__['getRootNode'])(node).querySelectorAll(idSelector));
-1 21765 return !Object(_commons_aria__WEBPACK_IMPORTED_MODULE_1__['isAccessibleRef'])(node) && idMatchingElms.every(function(elm) {
-1 21766 return !Object(_commons_dom__WEBPACK_IMPORTED_MODULE_0__['isFocusable'])(elm);
-1 21767 });
-1 21768 }
-1 21769 __webpack_exports__['default'] = duplicateIdMiscMatches;
-1 21770 },
-1 21771 './lib/rules/frame-title-has-text-matches.js': function libRulesFrameTitleHasTextMatchesJs(module, __webpack_exports__, __webpack_require__) {
-1 21772 'use strict';
-1 21773 __webpack_require__.r(__webpack_exports__);
-1 21774 var _commons_text__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/text/index.js');
-1 21775 function frameTitleHasTextMatches(node) {
-1 21776 var title = node.getAttribute('title');
-1 21777 return !!(title ? Object(_commons_text__WEBPACK_IMPORTED_MODULE_0__['sanitize'])(title).trim() : '');
-1 21778 }
-1 21779 __webpack_exports__['default'] = frameTitleHasTextMatches;
-1 21780 },
-1 21781 './lib/rules/heading-matches.js': function libRulesHeadingMatchesJs(module, __webpack_exports__, __webpack_require__) {
-1 21782 'use strict';
-1 21783 __webpack_require__.r(__webpack_exports__);
-1 21784 function headingMatches(node) {
-1 21785 var explicitRoles;
-1 21786 if (node.hasAttribute('role')) {
-1 21787 explicitRoles = node.getAttribute('role').split(/\s+/i).filter(axe.commons.aria.isValidRole);
-1 21788 }
-1 21789 if (explicitRoles && explicitRoles.length > 0) {
-1 21790 return explicitRoles.includes('heading');
-1 21791 } else {
-1 21792 return axe.commons.aria.implicitRole(node) === 'heading';
-1 21793 }
-1 21794 }
-1 21795 __webpack_exports__['default'] = headingMatches;
-1 21796 },
-1 21797 './lib/rules/html-namespace-matches.js': function libRulesHtmlNamespaceMatchesJs(module, __webpack_exports__, __webpack_require__) {
-1 21798 'use strict';
-1 21799 __webpack_require__.r(__webpack_exports__);
-1 21800 var _svg_namespace_matches__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/rules/svg-namespace-matches.js');
-1 21801 function htmlNamespaceMatches(node, virtualNode) {
-1 21802 return !Object(_svg_namespace_matches__WEBPACK_IMPORTED_MODULE_0__['default'])(node, virtualNode);
-1 21803 }
-1 21804 __webpack_exports__['default'] = htmlNamespaceMatches;
-1 21805 },
-1 21806 './lib/rules/identical-links-same-purpose-matches.js': function libRulesIdenticalLinksSamePurposeMatchesJs(module, __webpack_exports__, __webpack_require__) {
-1 21807 'use strict';
-1 21808 __webpack_require__.r(__webpack_exports__);
-1 21809 var _commons_text__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/text/index.js');
-1 21810 var _commons_aria__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/commons/aria/index.js');
-1 21811 function identicalLinksSamePurposeMatches(node, virtualNode) {
-1 21812 var hasAccName = !!Object(_commons_text__WEBPACK_IMPORTED_MODULE_0__['accessibleTextVirtual'])(virtualNode);
-1 21813 if (!hasAccName) {
-1 21814 return false;
-1 21815 }
-1 21816 var role = Object(_commons_aria__WEBPACK_IMPORTED_MODULE_1__['getRole'])(node);
-1 21817 if (role && role !== 'link') {
-1 21818 return false;
-1 21819 }
-1 21820 return true;
11796 21821 }
11797 -1 function abort(msg) {
11798 -1 completeQueue = noop;
11799 -1 failed(msg);
11800 -1 return tasks;
-1 21822 __webpack_exports__['default'] = identicalLinksSamePurposeMatches;
-1 21823 },
-1 21824 './lib/rules/inserted-into-focus-order-matches.js': function libRulesInsertedIntoFocusOrderMatchesJs(module, __webpack_exports__, __webpack_require__) {
-1 21825 'use strict';
-1 21826 __webpack_require__.r(__webpack_exports__);
-1 21827 var _commons_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/dom/index.js');
-1 21828 function insertedIntoFocusOrderMatches(node) {
-1 21829 return Object(_commons_dom__WEBPACK_IMPORTED_MODULE_0__['insertedIntoFocusOrder'])(node);
-1 21830 }
-1 21831 __webpack_exports__['default'] = insertedIntoFocusOrderMatches;
-1 21832 },
-1 21833 './lib/rules/label-content-name-mismatch-matches.js': function libRulesLabelContentNameMismatchMatchesJs(module, __webpack_exports__, __webpack_require__) {
-1 21834 'use strict';
-1 21835 __webpack_require__.r(__webpack_exports__);
-1 21836 var _commons_aria__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/aria/index.js');
-1 21837 var _commons_standards__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/commons/standards/index.js');
-1 21838 var _commons_text__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__('./lib/commons/text/index.js');
-1 21839 function labelContentNameMismatchMatches(node, virtualNode) {
-1 21840 var role = Object(_commons_aria__WEBPACK_IMPORTED_MODULE_0__['getRole'])(node);
-1 21841 if (!role) {
-1 21842 return false;
-1 21843 }
-1 21844 var widgetRoles = Object(_commons_standards__WEBPACK_IMPORTED_MODULE_1__['getAriaRolesByType'])('widget');
-1 21845 var isWidgetType = widgetRoles.includes(role);
-1 21846 if (!isWidgetType) {
-1 21847 return false;
-1 21848 }
-1 21849 var rolesWithNameFromContents = Object(_commons_standards__WEBPACK_IMPORTED_MODULE_1__['getAriaRolesSupportingNameFromContent'])();
-1 21850 if (!rolesWithNameFromContents.includes(role)) {
-1 21851 return false;
-1 21852 }
-1 21853 if (!Object(_commons_text__WEBPACK_IMPORTED_MODULE_2__['sanitize'])(Object(_commons_aria__WEBPACK_IMPORTED_MODULE_0__['arialabelText'])(virtualNode)) && !Object(_commons_text__WEBPACK_IMPORTED_MODULE_2__['sanitize'])(Object(_commons_aria__WEBPACK_IMPORTED_MODULE_0__['arialabelledbyText'])(node))) {
-1 21854 return false;
-1 21855 }
-1 21856 if (!Object(_commons_text__WEBPACK_IMPORTED_MODULE_2__['sanitize'])(Object(_commons_text__WEBPACK_IMPORTED_MODULE_2__['visibleVirtual'])(virtualNode))) {
-1 21857 return false;
-1 21858 }
-1 21859 return true;
11801 21860 }
11802 -1 function pop() {
11803 -1 var length = tasks.length;
11804 -1 for (;started < length; started++) {
11805 -1 var task = tasks[started];
11806 -1 try {
11807 -1 task.call(null, createResolve(started), abort);
11808 -1 } catch (e) {
11809 -1 abort(e);
11810 -1 }
-1 21861 __webpack_exports__['default'] = labelContentNameMismatchMatches;
-1 21862 },
-1 21863 './lib/rules/label-matches.js': function libRulesLabelMatchesJs(module, __webpack_exports__, __webpack_require__) {
-1 21864 'use strict';
-1 21865 __webpack_require__.r(__webpack_exports__);
-1 21866 function labelMatches(node, virtualNode) {
-1 21867 if (virtualNode.props.nodeName !== 'input' || virtualNode.hasAttr('type') === false) {
-1 21868 return true;
11811 21869 }
-1 21870 var type = virtualNode.attr('type').toLowerCase();
-1 21871 return [ 'hidden', 'image', 'button', 'submit', 'reset' ].includes(type) === false;
11812 21872 }
11813 -1 var q = {
11814 -1 defer: function defer(fn) {
11815 -1 if ((typeof fn === 'undefined' ? 'undefined' : _typeof(fn)) === 'object' && fn.then && fn.catch) {
11816 -1 var defer = fn;
11817 -1 fn = function fn(resolve, reject) {
11818 -1 defer.then(resolve).catch(reject);
11819 -1 };
11820 -1 }
11821 -1 funcGuard(fn);
11822 -1 if (err !== undefined) {
11823 -1 return;
11824 -1 } else if (complete) {
11825 -1 throw new Error('Queue already completed');
11826 -1 }
11827 -1 tasks.push(fn);
11828 -1 ++remaining;
11829 -1 pop();
11830 -1 return q;
11831 -1 },
11832 -1 then: function then(fn) {
11833 -1 funcGuard(fn);
11834 -1 if (completeQueue !== noop) {
11835 -1 throw new Error('queue `then` already set');
11836 -1 }
11837 -1 if (!err) {
11838 -1 completeQueue = fn;
11839 -1 if (!remaining) {
11840 -1 complete = true;
11841 -1 completeQueue(tasks);
11842 -1 }
-1 21873 __webpack_exports__['default'] = labelMatches;
-1 21874 },
-1 21875 './lib/rules/landmark-has-body-context-matches.js': function libRulesLandmarkHasBodyContextMatchesJs(module, __webpack_exports__, __webpack_require__) {
-1 21876 'use strict';
-1 21877 __webpack_require__.r(__webpack_exports__);
-1 21878 var _commons_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/dom/index.js');
-1 21879 function landmarkHasBodyContextMatches(node, virtualNode) {
-1 21880 var nativeScopeFilter = 'article, aside, main, nav, section';
-1 21881 return node.hasAttribute('role') || !Object(_commons_dom__WEBPACK_IMPORTED_MODULE_0__['findUpVirtual'])(virtualNode, nativeScopeFilter);
-1 21882 }
-1 21883 __webpack_exports__['default'] = landmarkHasBodyContextMatches;
-1 21884 },
-1 21885 './lib/rules/landmark-unique-matches.js': function libRulesLandmarkUniqueMatchesJs(module, __webpack_exports__, __webpack_require__) {
-1 21886 'use strict';
-1 21887 __webpack_require__.r(__webpack_exports__);
-1 21888 var _commons_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/dom/index.js');
-1 21889 var _commons_aria__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/commons/aria/index.js');
-1 21890 var _commons_standards__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__('./lib/commons/standards/index.js');
-1 21891 var _commons_text__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__('./lib/commons/text/index.js');
-1 21892 function landmarkUniqueMatches(node, virtualNode) {
-1 21893 var excludedParentsForHeaderFooterLandmarks = [ 'article', 'aside', 'main', 'nav', 'section' ].join(',');
-1 21894 function isHeaderFooterLandmark(headerFooterElement) {
-1 21895 return !Object(_commons_dom__WEBPACK_IMPORTED_MODULE_0__['findUpVirtual'])(headerFooterElement, excludedParentsForHeaderFooterLandmarks);
-1 21896 }
-1 21897 function isLandmarkVirtual(virtualNode) {
-1 21898 var actualNode = virtualNode.actualNode;
-1 21899 var landmarkRoles = Object(_commons_standards__WEBPACK_IMPORTED_MODULE_2__['getAriaRolesByType'])('landmark');
-1 21900 var role = Object(_commons_aria__WEBPACK_IMPORTED_MODULE_1__['getRole'])(actualNode);
-1 21901 if (!role) {
-1 21902 return false;
11843 21903 }
11844 -1 return q;
11845 -1 },
11846 -1 catch: function _catch(fn) {
11847 -1 funcGuard(fn);
11848 -1 if (failed !== defaultFail) {
11849 -1 throw new Error('queue `catch` already set');
-1 21904 var nodeName = actualNode.nodeName.toUpperCase();
-1 21905 if (nodeName === 'HEADER' || nodeName === 'FOOTER') {
-1 21906 return isHeaderFooterLandmark(virtualNode);
11850 21907 }
11851 -1 if (!err) {
11852 -1 failed = fn;
11853 -1 } else {
11854 -1 fn(err);
11855 -1 err = null;
-1 21908 if (nodeName === 'SECTION' || nodeName === 'FORM') {
-1 21909 var accessibleText = Object(_commons_text__WEBPACK_IMPORTED_MODULE_3__['accessibleTextVirtual'])(virtualNode);
-1 21910 return !!accessibleText;
11856 21911 }
11857 -1 return q;
11858 -1 },
11859 -1 abort: abort
11860 -1 };
11861 -1 return q;
11862 -1 }
11863 -1 axe.utils.queue = queue;
11864 -1 })();
11865 -1 'use strict';
11866 -1 var _typeof = typeof Symbol === 'function' && typeof Symbol.iterator === 'symbol' ? function(obj) {
11867 -1 return typeof obj;
11868 -1 } : function(obj) {
11869 -1 return obj && typeof Symbol === 'function' && obj.constructor === Symbol && obj !== Symbol.prototype ? 'symbol' : typeof obj;
11870 -1 };
11871 -1 (function(exports) {
11872 -1 'use strict';
11873 -1 var messages = {}, subscribers = {}, errorTypes = Object.freeze([ 'EvalError', 'RangeError', 'ReferenceError', 'SyntaxError', 'TypeError', 'URIError' ]);
11874 -1 function _getSource() {
11875 -1 var application = 'axeAPI', version = '', src;
11876 -1 if (typeof axe !== 'undefined' && axe._audit && axe._audit.application) {
11877 -1 application = axe._audit.application;
11878 -1 }
11879 -1 if (typeof axe !== 'undefined') {
11880 -1 version = axe.version;
11881 -1 }
11882 -1 src = application + '.' + version;
11883 -1 return src;
11884 -1 }
11885 -1 function verify(postedMessage) {
11886 -1 if ((typeof postedMessage === 'undefined' ? 'undefined' : _typeof(postedMessage)) === 'object' && typeof postedMessage.uuid === 'string' && postedMessage._respondable === true) {
11887 -1 var messageSource = _getSource();
11888 -1 return postedMessage._source === messageSource || postedMessage._source === 'axeAPI.x.y.z' || messageSource === 'axeAPI.x.y.z';
-1 21912 return landmarkRoles.indexOf(role) >= 0 || role === 'region';
-1 21913 }
-1 21914 return isLandmarkVirtual(virtualNode) && Object(_commons_dom__WEBPACK_IMPORTED_MODULE_0__['isVisible'])(node, true);
11889 21915 }
11890 -1 return false;
11891 -1 }
11892 -1 function post(win, topic, message, uuid, keepalive, callback) {
11893 -1 var error;
11894 -1 if (message instanceof Error) {
11895 -1 error = {
11896 -1 name: message.name,
11897 -1 message: message.message,
11898 -1 stack: message.stack
11899 -1 };
11900 -1 message = undefined;
-1 21916 __webpack_exports__['default'] = landmarkUniqueMatches;
-1 21917 },
-1 21918 './lib/rules/layout-table-matches.js': function libRulesLayoutTableMatchesJs(module, __webpack_exports__, __webpack_require__) {
-1 21919 'use strict';
-1 21920 __webpack_require__.r(__webpack_exports__);
-1 21921 var _commons_table__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/table/index.js');
-1 21922 var _commons_dom__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/commons/dom/index.js');
-1 21923 function dataTableMatches(node) {
-1 21924 return !Object(_commons_table__WEBPACK_IMPORTED_MODULE_0__['isDataTable'])(node) && !Object(_commons_dom__WEBPACK_IMPORTED_MODULE_1__['isFocusable'])(node);
11901 21925 }
11902 -1 var data = {
11903 -1 uuid: uuid,
11904 -1 topic: topic,
11905 -1 message: message,
11906 -1 error: error,
11907 -1 _respondable: true,
11908 -1 _source: _getSource(),
11909 -1 _keepalive: keepalive
11910 -1 };
11911 -1 if (typeof callback === 'function') {
11912 -1 messages[uuid] = callback;
-1 21926 __webpack_exports__['default'] = dataTableMatches;
-1 21927 },
-1 21928 './lib/rules/link-in-text-block-matches.js': function libRulesLinkInTextBlockMatchesJs(module, __webpack_exports__, __webpack_require__) {
-1 21929 'use strict';
-1 21930 __webpack_require__.r(__webpack_exports__);
-1 21931 var _commons_text__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/text/index.js');
-1 21932 var _commons_dom__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/commons/dom/index.js');
-1 21933 function linkInTextBlockMatches(node) {
-1 21934 var text = Object(_commons_text__WEBPACK_IMPORTED_MODULE_0__['sanitize'])(node.textContent);
-1 21935 var role = node.getAttribute('role');
-1 21936 if (role && role !== 'link') {
-1 21937 return false;
-1 21938 }
-1 21939 if (!text) {
-1 21940 return false;
-1 21941 }
-1 21942 if (!Object(_commons_dom__WEBPACK_IMPORTED_MODULE_1__['isVisible'])(node, false)) {
-1 21943 return false;
-1 21944 }
-1 21945 return Object(_commons_dom__WEBPACK_IMPORTED_MODULE_1__['isInTextBlock'])(node);
11913 21946 }
11914 -1 win.postMessage(JSON.stringify(data), '*');
11915 -1 }
11916 -1 function respondable(win, topic, message, keepalive, callback) {
11917 -1 var id = uuid.v1();
11918 -1 post(win, topic, message, id, keepalive, callback);
11919 -1 }
11920 -1 respondable.subscribe = function(topic, callback) {
11921 -1 subscribers[topic] = callback;
11922 -1 };
11923 -1 respondable.isInFrame = function(win) {
11924 -1 win = win || window;
11925 -1 return !!win.frameElement;
11926 -1 };
11927 -1 function createResponder(source, topic, uuid) {
11928 -1 return function(message, keepalive, callback) {
11929 -1 post(source, topic, message, uuid, keepalive, callback);
11930 -1 };
11931 -1 }
11932 -1 function publish(source, data, keepalive) {
11933 -1 var topic = data.topic;
11934 -1 var subscriber = subscribers[topic];
11935 -1 if (subscriber) {
11936 -1 var responder = createResponder(source, null, data.uuid);
11937 -1 subscriber(data.message, keepalive, responder);
-1 21947 __webpack_exports__['default'] = linkInTextBlockMatches;
-1 21948 },
-1 21949 './lib/rules/no-autoplay-audio-matches.js': function libRulesNoAutoplayAudioMatchesJs(module, __webpack_exports__, __webpack_require__) {
-1 21950 'use strict';
-1 21951 __webpack_require__.r(__webpack_exports__);
-1 21952 function noAutoplayAudioMatches(node) {
-1 21953 if (!node.currentSrc) {
-1 21954 return false;
-1 21955 }
-1 21956 if (node.hasAttribute('paused') || node.hasAttribute('muted')) {
-1 21957 return false;
-1 21958 }
-1 21959 return true;
11938 21960 }
11939 -1 }
11940 -1 function buildErrorObject(error) {
11941 -1 var msg = error.message || 'Unknown error occurred';
11942 -1 var errorName = errorTypes.includes(error.name) ? error.name : 'Error';
11943 -1 var ErrConstructor = window[errorName] || Error;
11944 -1 if (error.stack) {
11945 -1 msg += '\n' + error.stack.replace(error.message, '');
11946 -1 }
11947 -1 return new ErrConstructor(msg);
11948 -1 }
11949 -1 function parseMessage(dataString) {
11950 -1 var data;
11951 -1 if (typeof dataString !== 'string') {
11952 -1 return;
-1 21961 __webpack_exports__['default'] = noAutoplayAudioMatches;
-1 21962 },
-1 21963 './lib/rules/no-empty-role-matches.js': function libRulesNoEmptyRoleMatchesJs(module, __webpack_exports__, __webpack_require__) {
-1 21964 'use strict';
-1 21965 __webpack_require__.r(__webpack_exports__);
-1 21966 function noEmptyRoleMatches(node, virtualNode) {
-1 21967 if (!virtualNode.hasAttr('role')) {
-1 21968 return false;
-1 21969 }
-1 21970 if (!virtualNode.attr('role').trim()) {
-1 21971 return false;
-1 21972 }
-1 21973 return true;
11953 21974 }
11954 -1 try {
11955 -1 data = JSON.parse(dataString);
11956 -1 } catch (ex) {}
11957 -1 if (!verify(data)) {
11958 -1 return;
-1 21975 __webpack_exports__['default'] = noEmptyRoleMatches;
-1 21976 },
-1 21977 './lib/rules/no-role-matches.js': function libRulesNoRoleMatchesJs(module, __webpack_exports__, __webpack_require__) {
-1 21978 'use strict';
-1 21979 __webpack_require__.r(__webpack_exports__);
-1 21980 function noRoleMatches(node) {
-1 21981 return !node.getAttribute('role');
11959 21982 }
11960 -1 if (_typeof(data.error) === 'object') {
11961 -1 data.error = buildErrorObject(data.error);
11962 -1 } else {
11963 -1 data.error = undefined;
-1 21983 __webpack_exports__['default'] = noRoleMatches;
-1 21984 },
-1 21985 './lib/rules/not-html-matches.js': function libRulesNotHtmlMatchesJs(module, __webpack_exports__, __webpack_require__) {
-1 21986 'use strict';
-1 21987 __webpack_require__.r(__webpack_exports__);
-1 21988 function notHtmlMatches(node) {
-1 21989 return node.nodeName.toLowerCase() !== 'html';
11964 21990 }
11965 -1 return data;
11966 -1 }
11967 -1 if (typeof window.addEventListener === 'function') {
11968 -1 window.addEventListener('message', function(e) {
11969 -1 var data = parseMessage(e.data);
11970 -1 if (!data) {
11971 -1 return;
-1 21991 __webpack_exports__['default'] = notHtmlMatches;
-1 21992 },
-1 21993 './lib/rules/p-as-heading-matches.js': function libRulesPAsHeadingMatchesJs(module, __webpack_exports__, __webpack_require__) {
-1 21994 'use strict';
-1 21995 __webpack_require__.r(__webpack_exports__);
-1 21996 function pAsHeadingMatches(node) {
-1 21997 var children = Array.from(node.parentNode.childNodes);
-1 21998 var nodeText = node.textContent.trim();
-1 21999 var isSentence = /[.!?:;](?![.!?:;])/g;
-1 22000 if (nodeText.length === 0 || (nodeText.match(isSentence) || []).length >= 2) {
-1 22001 return false;
11972 22002 }
11973 -1 var uuid = data.uuid;
11974 -1 var keepalive = data._keepalive;
11975 -1 var callback = messages[uuid];
11976 -1 if (callback) {
11977 -1 var result = data.error || data.message;
11978 -1 var responder = createResponder(e.source, data.topic, uuid);
11979 -1 callback(result, keepalive, responder);
11980 -1 if (!keepalive) {
11981 -1 delete messages[uuid];
11982 -1 }
-1 22003 var siblingsAfter = children.slice(children.indexOf(node) + 1).filter(function(elm) {
-1 22004 return elm.nodeName.toUpperCase() === 'P' && elm.textContent.trim() !== '';
-1 22005 });
-1 22006 return siblingsAfter.length !== 0;
-1 22007 }
-1 22008 __webpack_exports__['default'] = pAsHeadingMatches;
-1 22009 },
-1 22010 './lib/rules/scrollable-region-focusable-matches.js': function libRulesScrollableRegionFocusableMatchesJs(module, __webpack_exports__, __webpack_require__) {
-1 22011 'use strict';
-1 22012 __webpack_require__.r(__webpack_exports__);
-1 22013 var _commons_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/dom/index.js');
-1 22014 var _core_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/core/utils/index.js');
-1 22015 function scrollableRegionFocusableMatches(node, virtualNode) {
-1 22016 if (!!Object(_core_utils__WEBPACK_IMPORTED_MODULE_1__['getScroll'])(node, 13) === false) {
-1 22017 return false;
11983 22018 }
11984 -1 if (!data.error) {
11985 -1 try {
11986 -1 publish(e.source, data, keepalive);
11987 -1 } catch (err) {
11988 -1 post(e.source, data.topic, err, uuid, false);
11989 -1 }
-1 22019 var nodeAndDescendents = Object(_core_utils__WEBPACK_IMPORTED_MODULE_1__['querySelectorAll'])(virtualNode, '*');
-1 22020 var hasVisibleChildren = nodeAndDescendents.some(function(elm) {
-1 22021 return Object(_commons_dom__WEBPACK_IMPORTED_MODULE_0__['hasContentVirtual'])(elm, true, true);
-1 22022 });
-1 22023 if (!hasVisibleChildren) {
-1 22024 return false;
11990 22025 }
11991 -1 }, false);
11992 -1 }
11993 -1 exports.respondable = respondable;
11994 -1 })(utils);
11995 -1 'use strict';
11996 -1 function matchTags(rule, runOnly) {
11997 -1 'use strict';
11998 -1 var include, exclude, matching;
11999 -1 var defaultExclude = axe._audit && axe._audit.tagExclude ? axe._audit.tagExclude : [];
12000 -1 if (runOnly.hasOwnProperty('include') || runOnly.hasOwnProperty('exclude')) {
12001 -1 include = runOnly.include || [];
12002 -1 include = Array.isArray(include) ? include : [ include ];
12003 -1 exclude = runOnly.exclude || [];
12004 -1 exclude = Array.isArray(exclude) ? exclude : [ exclude ];
12005 -1 exclude = exclude.concat(defaultExclude.filter(function(tag) {
12006 -1 return include.indexOf(tag) === -1;
12007 -1 }));
12008 -1 } else {
12009 -1 include = Array.isArray(runOnly) ? runOnly : [ runOnly ];
12010 -1 exclude = defaultExclude.filter(function(tag) {
12011 -1 return include.indexOf(tag) === -1;
12012 -1 });
12013 -1 }
12014 -1 matching = include.some(function(tag) {
12015 -1 return rule.tags.indexOf(tag) !== -1;
12016 -1 });
12017 -1 if (matching || include.length === 0 && rule.enabled !== false) {
12018 -1 return exclude.every(function(tag) {
12019 -1 return rule.tags.indexOf(tag) === -1;
12020 -1 });
12021 -1 } else {
12022 -1 return false;
12023 -1 }
12024 -1 }
12025 -1 axe.utils.ruleShouldRun = function(rule, context, options) {
12026 -1 'use strict';
12027 -1 var runOnly = options.runOnly || {};
12028 -1 var ruleOptions = (options.rules || {})[rule.id];
12029 -1 if (rule.pageLevel && !context.page) {
12030 -1 return false;
12031 -1 } else if (runOnly.type === 'rule') {
12032 -1 return runOnly.values.indexOf(rule.id) !== -1;
12033 -1 } else if (ruleOptions && typeof ruleOptions.enabled === 'boolean') {
12034 -1 return ruleOptions.enabled;
12035 -1 } else if (runOnly.type === 'tag' && runOnly.values) {
12036 -1 return matchTags(rule, runOnly.values);
12037 -1 } else {
12038 -1 return matchTags(rule, []);
12039 -1 }
12040 -1 };
12041 -1 'use strict';
12042 -1 function getScroll(elm) {
12043 -1 var style = window.getComputedStyle(elm);
12044 -1 var visibleOverflowY = style.getPropertyValue('overflow-y') === 'visible';
12045 -1 var visibleOverflowX = style.getPropertyValue('overflow-x') === 'visible';
12046 -1 if (!visibleOverflowY && elm.scrollHeight > elm.clientHeight || !visibleOverflowX && elm.scrollWidth > elm.clientWidth) {
12047 -1 return {
12048 -1 elm: elm,
12049 -1 top: elm.scrollTop,
12050 -1 left: elm.scrollLeft
12051 -1 };
12052 -1 }
12053 -1 }
12054 -1 function setScroll(elm, top, left) {
12055 -1 if (elm === window) {
12056 -1 return elm.scroll(top, left);
12057 -1 } else {
12058 -1 elm.scrollTop = top;
12059 -1 elm.scrollLeft = left;
12060 -1 }
12061 -1 }
12062 -1 function getElmScrollRecursive(root) {
12063 -1 return Array.from(root.children).reduce(function(scrolls, elm) {
12064 -1 var scroll = getScroll(elm);
12065 -1 if (scroll) {
12066 -1 scrolls.push(scroll);
12067 -1 }
12068 -1 return scrolls.concat(getElmScrollRecursive(elm));
12069 -1 }, []);
12070 -1 }
12071 -1 axe.utils.getScrollState = function getScrollState() {
12072 -1 var win = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : window;
12073 -1 var root = win.document.documentElement;
12074 -1 var windowScroll = [ win.pageXOffset !== undefined ? {
12075 -1 elm: win,
12076 -1 top: win.pageYOffset,
12077 -1 left: win.pageXOffset
12078 -1 } : {
12079 -1 elm: root,
12080 -1 top: root.scrollTop,
12081 -1 left: root.scrollLeft
12082 -1 } ];
12083 -1 return windowScroll.concat(getElmScrollRecursive(document.body));
12084 -1 };
12085 -1 axe.utils.setScrollState = function setScrollState(scrollState) {
12086 -1 scrollState.forEach(function(_ref) {
12087 -1 var elm = _ref.elm, top = _ref.top, left = _ref.left;
12088 -1 return setScroll(elm, top, left);
12089 -1 });
12090 -1 };
12091 -1 'use strict';
12092 -1 function getDeepest(collection) {
12093 -1 'use strict';
12094 -1 return collection.sort(function(a, b) {
12095 -1 if (axe.utils.contains(a, b)) {
12096 -1 return 1;
12097 -1 }
12098 -1 return -1;
12099 -1 })[0];
12100 -1 }
12101 -1 function isNodeInContext(node, context) {
12102 -1 'use strict';
12103 -1 var include = context.include && getDeepest(context.include.filter(function(candidate) {
12104 -1 return axe.utils.contains(candidate, node);
12105 -1 }));
12106 -1 var exclude = context.exclude && getDeepest(context.exclude.filter(function(candidate) {
12107 -1 return axe.utils.contains(candidate, node);
12108 -1 }));
12109 -1 if (!exclude && include || exclude && axe.utils.contains(exclude, include)) {
12110 -1 return true;
12111 -1 }
12112 -1 return false;
12113 -1 }
12114 -1 function pushNode(result, nodes) {
12115 -1 'use strict';
12116 -1 var temp;
12117 -1 if (result.length === 0) {
12118 -1 return nodes;
12119 -1 }
12120 -1 if (result.length < nodes.length) {
12121 -1 temp = result;
12122 -1 result = nodes;
12123 -1 nodes = temp;
12124 -1 }
12125 -1 for (var i = 0, l = nodes.length; i < l; i++) {
12126 -1 if (!result.includes(nodes[i])) {
12127 -1 result.push(nodes[i]);
-1 22026 return true;
12128 22027 }
12129 -1 }
12130 -1 return result;
12131 -1 }
12132 -1 function reduceIncludes(includes) {
12133 -1 return includes.reduce(function(res, el) {
12134 -1 if (!res.length || !res[res.length - 1].actualNode.contains(el.actualNode)) {
12135 -1 res.push(el);
-1 22028 __webpack_exports__['default'] = scrollableRegionFocusableMatches;
-1 22029 },
-1 22030 './lib/rules/skip-link-matches.js': function libRulesSkipLinkMatchesJs(module, __webpack_exports__, __webpack_require__) {
-1 22031 'use strict';
-1 22032 __webpack_require__.r(__webpack_exports__);
-1 22033 var _commons_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/commons/dom/index.js');
-1 22034 function skipLinkMatches(node) {
-1 22035 return Object(_commons_dom__WEBPACK_IMPORTED_MODULE_0__['isSkipLink'])(node) && Object(_commons_dom__WEBPACK_IMPORTED_MODULE_0__['isOffscreen'])(node);
12136 22036 }
12137 -1 return res;
12138 -1 }, []);
12139 -1 }
12140 -1 axe.utils.select = function select(selector, context) {
12141 -1 'use strict';
12142 -1 var result = [], candidate;
12143 -1 if (axe._selectCache) {
12144 -1 for (var j = 0, l = axe._selectCache.length; j < l; j++) {
12145 -1 var item = axe._selectCache[j];
12146 -1 if (item.selector === selector) {
12147 -1 return item.result;
-1 22037 __webpack_exports__['default'] = skipLinkMatches;
-1 22038 },
-1 22039 './lib/rules/svg-namespace-matches.js': function libRulesSvgNamespaceMatchesJs(module, __webpack_exports__, __webpack_require__) {
-1 22040 'use strict';
-1 22041 __webpack_require__.r(__webpack_exports__);
-1 22042 var _core_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/core/utils/index.js');
-1 22043 function svgNamespaceMatches(node, virtualNode) {
-1 22044 try {
-1 22045 var nodeName = virtualNode.props.nodeName;
-1 22046 if (nodeName === 'svg') {
-1 22047 return true;
-1 22048 }
-1 22049 return !!Object(_core_utils__WEBPACK_IMPORTED_MODULE_0__['closest'])(virtualNode, 'svg');
-1 22050 } catch (e) {
-1 22051 return false;
12148 22052 }
12149 22053 }
12150 -1 }
12151 -1 var curried = function(context) {
12152 -1 return function(node) {
12153 -1 return isNodeInContext(node, context);
12154 -1 };
12155 -1 }(context);
12156 -1 var reducedIncludes = reduceIncludes(context.include);
12157 -1 for (var i = 0; i < reducedIncludes.length; i++) {
12158 -1 candidate = reducedIncludes[i];
12159 -1 if (candidate.actualNode.nodeType === candidate.actualNode.ELEMENT_NODE && axe.utils.matchesSelector(candidate.actualNode, selector) && curried(candidate)) {
12160 -1 result = pushNode(result, [ candidate ]);
12161 -1 }
12162 -1 result = pushNode(result, axe.utils.querySelectorAllFilter(candidate, selector, curried));
12163 -1 }
12164 -1 if (axe._selectCache) {
12165 -1 axe._selectCache.push({
12166 -1 selector: selector,
12167 -1 result: result
12168 -1 });
12169 -1 }
12170 -1 return result;
12171 -1 };
12172 -1 'use strict';
12173 -1 axe.utils.toArray = function(thing) {
12174 -1 'use strict';
12175 -1 return Array.prototype.slice.call(thing);
12176 -1 };
12177 -1 axe.utils.uniqueArray = function(arr1, arr2) {
12178 -1 return arr1.concat(arr2).filter(function(elem, pos, arr) {
12179 -1 return arr.indexOf(elem) === pos;
12180 -1 });
12181 -1 };
12182 -1 'use strict';
12183 -1 axe.utils.tokenList = function(str) {
12184 -1 'use strict';
12185 -1 return str.trim().replace(/\s{2,}/g, ' ').split(' ');
12186 -1 };
12187 -1 'use strict';
12188 -1 var uuid;
12189 -1 (function(_global) {
12190 -1 var _rng;
12191 -1 var _crypto = _global.crypto || _global.msCrypto;
12192 -1 if (!_rng && _crypto && _crypto.getRandomValues) {
12193 -1 var _rnds8 = new Uint8Array(16);
12194 -1 _rng = function whatwgRNG() {
12195 -1 _crypto.getRandomValues(_rnds8);
12196 -1 return _rnds8;
12197 -1 };
12198 -1 }
12199 -1 if (!_rng) {
12200 -1 var _rnds = new Array(16);
12201 -1 _rng = function _rng() {
12202 -1 for (var i = 0, r; i < 16; i++) {
12203 -1 if ((i & 3) === 0) {
12204 -1 r = Math.random() * 4294967296;
12205 -1 }
12206 -1 _rnds[i] = r >>> ((i & 3) << 3) & 255;
-1 22054 __webpack_exports__['default'] = svgNamespaceMatches;
-1 22055 },
-1 22056 './lib/rules/window-is-top-matches.js': function libRulesWindowIsTopMatchesJs(module, __webpack_exports__, __webpack_require__) {
-1 22057 'use strict';
-1 22058 __webpack_require__.r(__webpack_exports__);
-1 22059 function windowIsTopMatches(node) {
-1 22060 return node.ownerDocument.defaultView.self === node.ownerDocument.defaultView.top;
-1 22061 }
-1 22062 __webpack_exports__['default'] = windowIsTopMatches;
-1 22063 },
-1 22064 './lib/rules/xml-lang-mismatch-matches.js': function libRulesXmlLangMismatchMatchesJs(module, __webpack_exports__, __webpack_require__) {
-1 22065 'use strict';
-1 22066 __webpack_require__.r(__webpack_exports__);
-1 22067 var _core_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/core/utils/index.js');
-1 22068 function xmlLangMismatchMatches(node) {
-1 22069 var primaryLangValue = Object(_core_utils__WEBPACK_IMPORTED_MODULE_0__['getBaseLang'])(node.getAttribute('lang'));
-1 22070 var primaryXmlLangValue = Object(_core_utils__WEBPACK_IMPORTED_MODULE_0__['getBaseLang'])(node.getAttribute('xml:lang'));
-1 22071 return Object(_core_utils__WEBPACK_IMPORTED_MODULE_0__['validLangs'])().includes(primaryLangValue) && Object(_core_utils__WEBPACK_IMPORTED_MODULE_0__['validLangs'])().includes(primaryXmlLangValue);
-1 22072 }
-1 22073 __webpack_exports__['default'] = xmlLangMismatchMatches;
-1 22074 },
-1 22075 './lib/standards/aria-attrs.js': function libStandardsAriaAttrsJs(module, __webpack_exports__, __webpack_require__) {
-1 22076 'use strict';
-1 22077 __webpack_require__.r(__webpack_exports__);
-1 22078 var ariaAttrs = {
-1 22079 'aria-activedescendant': {
-1 22080 type: 'idref',
-1 22081 allowEmpty: true
-1 22082 },
-1 22083 'aria-atomic': {
-1 22084 type: 'boolean',
-1 22085 global: true
-1 22086 },
-1 22087 'aria-autocomplete': {
-1 22088 type: 'nmtoken',
-1 22089 values: [ 'inline', 'list', 'both', 'none' ]
-1 22090 },
-1 22091 'aria-busy': {
-1 22092 type: 'boolean',
-1 22093 global: true
-1 22094 },
-1 22095 'aria-checked': {
-1 22096 type: 'nmtoken',
-1 22097 values: [ 'false', 'mixed', 'true', 'undefined' ]
-1 22098 },
-1 22099 'aria-colcount': {
-1 22100 type: 'int'
-1 22101 },
-1 22102 'aria-colindex': {
-1 22103 type: 'int'
-1 22104 },
-1 22105 'aria-colspan': {
-1 22106 type: 'int'
-1 22107 },
-1 22108 'aria-controls': {
-1 22109 type: 'idrefs',
-1 22110 allowEmpty: true,
-1 22111 global: true
-1 22112 },
-1 22113 'aria-current': {
-1 22114 type: 'nmtoken',
-1 22115 allowEmpty: true,
-1 22116 values: [ 'page', 'step', 'location', 'date', 'time', 'true', 'false' ],
-1 22117 global: true
-1 22118 },
-1 22119 'aria-describedby': {
-1 22120 type: 'idrefs',
-1 22121 allowEmpty: true,
-1 22122 global: true
-1 22123 },
-1 22124 'aria-details': {
-1 22125 type: 'idref',
-1 22126 allowEmpty: true,
-1 22127 global: true
-1 22128 },
-1 22129 'aria-disabled': {
-1 22130 type: 'boolean',
-1 22131 global: true
-1 22132 },
-1 22133 'aria-dropeffect': {
-1 22134 type: 'nmtokens',
-1 22135 values: [ 'copy', 'execute', 'link', 'move', 'none', 'popup' ],
-1 22136 global: true
-1 22137 },
-1 22138 'aria-errormessage': {
-1 22139 type: 'idref',
-1 22140 allowEmpty: true,
-1 22141 global: true
-1 22142 },
-1 22143 'aria-expanded': {
-1 22144 type: 'nmtoken',
-1 22145 values: [ 'true', 'false', 'undefined' ]
-1 22146 },
-1 22147 'aria-flowto': {
-1 22148 type: 'idrefs',
-1 22149 allowEmpty: true,
-1 22150 global: true
-1 22151 },
-1 22152 'aria-grabbed': {
-1 22153 type: 'nmtoken',
-1 22154 values: [ 'true', 'false', 'undefined' ],
-1 22155 global: true
-1 22156 },
-1 22157 'aria-haspopup': {
-1 22158 type: 'nmtoken',
-1 22159 allowEmpty: true,
-1 22160 values: [ 'true', 'false', 'menu', 'listbox', 'tree', 'grid', 'dialog' ],
-1 22161 global: true
-1 22162 },
-1 22163 'aria-hidden': {
-1 22164 type: 'nmtoken',
-1 22165 values: [ 'true', 'false', 'undefined' ],
-1 22166 global: true
-1 22167 },
-1 22168 'aria-invalid': {
-1 22169 type: 'nmtoken',
-1 22170 allowEmpty: true,
-1 22171 values: [ 'grammar', 'false', 'spelling', 'true' ],
-1 22172 global: true
-1 22173 },
-1 22174 'aria-keyshortcuts': {
-1 22175 type: 'string',
-1 22176 allowEmpty: true,
-1 22177 global: true
-1 22178 },
-1 22179 'aria-label': {
-1 22180 type: 'string',
-1 22181 allowEmpty: true,
-1 22182 global: true
-1 22183 },
-1 22184 'aria-labelledby': {
-1 22185 type: 'idrefs',
-1 22186 allowEmpty: true,
-1 22187 global: true
-1 22188 },
-1 22189 'aria-level': {
-1 22190 type: 'int'
-1 22191 },
-1 22192 'aria-live': {
-1 22193 type: 'nmtoken',
-1 22194 values: [ 'assertive', 'off', 'polite' ],
-1 22195 global: true
-1 22196 },
-1 22197 'aria-modal': {
-1 22198 type: 'boolean'
-1 22199 },
-1 22200 'aria-multiline': {
-1 22201 type: 'boolean'
-1 22202 },
-1 22203 'aria-multiselectable': {
-1 22204 type: 'boolean'
-1 22205 },
-1 22206 'aria-orientation': {
-1 22207 type: 'nmtoken',
-1 22208 values: [ 'horizontal', 'undefined', 'vertical' ]
-1 22209 },
-1 22210 'aria-owns': {
-1 22211 type: 'idrefs',
-1 22212 allowEmpty: true,
-1 22213 global: true
-1 22214 },
-1 22215 'aria-placeholder': {
-1 22216 type: 'string',
-1 22217 allowEmpty: true
-1 22218 },
-1 22219 'aria-posinset': {
-1 22220 type: 'int'
-1 22221 },
-1 22222 'aria-pressed': {
-1 22223 type: 'nmtoken',
-1 22224 values: [ 'false', 'mixed', 'true', 'undefined' ]
-1 22225 },
-1 22226 'aria-readonly': {
-1 22227 type: 'boolean'
-1 22228 },
-1 22229 'aria-relevant': {
-1 22230 type: 'nmtokens',
-1 22231 values: [ 'additions', 'all', 'removals', 'text' ],
-1 22232 global: true
-1 22233 },
-1 22234 'aria-required': {
-1 22235 type: 'boolean'
-1 22236 },
-1 22237 'aria-roledescription': {
-1 22238 type: 'string',
-1 22239 allowEmpty: true,
-1 22240 global: true
-1 22241 },
-1 22242 'aria-rowcount': {
-1 22243 type: 'int'
-1 22244 },
-1 22245 'aria-rowindex': {
-1 22246 type: 'int'
-1 22247 },
-1 22248 'aria-rowspan': {
-1 22249 type: 'int'
-1 22250 },
-1 22251 'aria-selected': {
-1 22252 type: 'nmtoken',
-1 22253 values: [ 'false', 'true', 'undefined' ]
-1 22254 },
-1 22255 'aria-setsize': {
-1 22256 type: 'int'
-1 22257 },
-1 22258 'aria-sort': {
-1 22259 type: 'nmtoken',
-1 22260 values: [ 'ascending', 'descending', 'none', 'other' ]
-1 22261 },
-1 22262 'aria-valuemax': {
-1 22263 type: 'decimal'
-1 22264 },
-1 22265 'aria-valuemin': {
-1 22266 type: 'decimal'
-1 22267 },
-1 22268 'aria-valuenow': {
-1 22269 type: 'decimal'
-1 22270 },
-1 22271 'aria-valuetext': {
-1 22272 type: 'string'
12207 22273 }
12208 -1 return _rnds;
12209 22274 };
12210 -1 }
12211 -1 var BufferClass = typeof _global.Buffer == 'function' ? _global.Buffer : Array;
12212 -1 var _byteToHex = [];
12213 -1 var _hexToByte = {};
12214 -1 for (var i = 0; i < 256; i++) {
12215 -1 _byteToHex[i] = (i + 256).toString(16).substr(1);
12216 -1 _hexToByte[_byteToHex[i]] = i;
12217 -1 }
12218 -1 function parse(s, buf, offset) {
12219 -1 var i = buf && offset || 0, ii = 0;
12220 -1 buf = buf || [];
12221 -1 s.toLowerCase().replace(/[0-9a-f]{2}/g, function(oct) {
12222 -1 if (ii < 16) {
12223 -1 buf[i + ii++] = _hexToByte[oct];
12224 -1 }
12225 -1 });
12226 -1 while (ii < 16) {
12227 -1 buf[i + ii++] = 0;
12228 -1 }
12229 -1 return buf;
12230 -1 }
12231 -1 function unparse(buf, offset) {
12232 -1 var i = offset || 0, bth = _byteToHex;
12233 -1 return bth[buf[i++]] + bth[buf[i++]] + bth[buf[i++]] + bth[buf[i++]] + '-' + bth[buf[i++]] + bth[buf[i++]] + '-' + bth[buf[i++]] + bth[buf[i++]] + '-' + bth[buf[i++]] + bth[buf[i++]] + '-' + bth[buf[i++]] + bth[buf[i++]] + bth[buf[i++]] + bth[buf[i++]] + bth[buf[i++]] + bth[buf[i++]];
12234 -1 }
12235 -1 var _seedBytes = _rng();
12236 -1 var _nodeId = [ _seedBytes[0] | 1, _seedBytes[1], _seedBytes[2], _seedBytes[3], _seedBytes[4], _seedBytes[5] ];
12237 -1 var _clockseq = (_seedBytes[6] << 8 | _seedBytes[7]) & 16383;
12238 -1 var _lastMSecs = 0, _lastNSecs = 0;
12239 -1 function v1(options, buf, offset) {
12240 -1 var i = buf && offset || 0;
12241 -1 var b = buf || [];
12242 -1 options = options || {};
12243 -1 var clockseq = options.clockseq != null ? options.clockseq : _clockseq;
12244 -1 var msecs = options.msecs != null ? options.msecs : new Date().getTime();
12245 -1 var nsecs = options.nsecs != null ? options.nsecs : _lastNSecs + 1;
12246 -1 var dt = msecs - _lastMSecs + (nsecs - _lastNSecs) / 1e4;
12247 -1 if (dt < 0 && options.clockseq == null) {
12248 -1 clockseq = clockseq + 1 & 16383;
12249 -1 }
12250 -1 if ((dt < 0 || msecs > _lastMSecs) && options.nsecs == null) {
12251 -1 nsecs = 0;
12252 -1 }
12253 -1 if (nsecs >= 1e4) {
12254 -1 throw new Error('uuid.v1(): Can\'t create more than 10M uuids/sec');
12255 -1 }
12256 -1 _lastMSecs = msecs;
12257 -1 _lastNSecs = nsecs;
12258 -1 _clockseq = clockseq;
12259 -1 msecs += 122192928e5;
12260 -1 var tl = ((msecs & 268435455) * 1e4 + nsecs) % 4294967296;
12261 -1 b[i++] = tl >>> 24 & 255;
12262 -1 b[i++] = tl >>> 16 & 255;
12263 -1 b[i++] = tl >>> 8 & 255;
12264 -1 b[i++] = tl & 255;
12265 -1 var tmh = msecs / 4294967296 * 1e4 & 268435455;
12266 -1 b[i++] = tmh >>> 8 & 255;
12267 -1 b[i++] = tmh & 255;
12268 -1 b[i++] = tmh >>> 24 & 15 | 16;
12269 -1 b[i++] = tmh >>> 16 & 255;
12270 -1 b[i++] = clockseq >>> 8 | 128;
12271 -1 b[i++] = clockseq & 255;
12272 -1 var node = options.node || _nodeId;
12273 -1 for (var n = 0; n < 6; n++) {
12274 -1 b[i + n] = node[n];
12275 -1 }
12276 -1 return buf ? buf : unparse(b);
12277 -1 }
12278 -1 function v4(options, buf, offset) {
12279 -1 var i = buf && offset || 0;
12280 -1 if (typeof options == 'string') {
12281 -1 buf = options == 'binary' ? new BufferClass(16) : null;
12282 -1 options = null;
12283 -1 }
12284 -1 options = options || {};
12285 -1 var rnds = options.random || (options.rng || _rng)();
12286 -1 rnds[6] = rnds[6] & 15 | 64;
12287 -1 rnds[8] = rnds[8] & 63 | 128;
12288 -1 if (buf) {
12289 -1 for (var ii = 0; ii < 16; ii++) {
12290 -1 buf[i + ii] = rnds[ii];
12291 -1 }
12292 -1 }
12293 -1 return buf || unparse(rnds);
12294 -1 }
12295 -1 uuid = v4;
12296 -1 uuid.v1 = v1;
12297 -1 uuid.v4 = v4;
12298 -1 uuid.parse = parse;
12299 -1 uuid.unparse = unparse;
12300 -1 uuid.BufferClass = BufferClass;
12301 -1 })(window);
12302 -1 'use strict';
12303 -1 axe.utils.validInputTypes = function validInputTypes() {
12304 -1 'use strict';
12305 -1 return [ 'hidden', 'text', 'search', 'tel', 'url', 'email', 'password', 'date', 'month', 'week', 'time', 'datetime-local', 'number', 'range', 'color', 'checkbox', 'radio', 'file', 'submit', 'image', 'reset', 'button' ];
12306 -1 };
12307 -1 'use strict';
12308 -1 var langs = [ 'aa', 'ab', 'ae', 'af', 'ak', 'am', 'an', 'ar', 'as', 'av', 'ay', 'az', 'ba', 'be', 'bg', 'bh', 'bi', 'bm', 'bn', 'bo', 'br', 'bs', 'ca', 'ce', 'ch', 'co', 'cr', 'cs', 'cu', 'cv', 'cy', 'da', 'de', 'dv', 'dz', 'ee', 'el', 'en', 'eo', 'es', 'et', 'eu', 'fa', 'ff', 'fi', 'fj', 'fo', 'fr', 'fy', 'ga', 'gd', 'gl', 'gn', 'gu', 'gv', 'ha', 'he', 'hi', 'ho', 'hr', 'ht', 'hu', 'hy', 'hz', 'ia', 'id', 'ie', 'ig', 'ii', 'ik', 'in', 'io', 'is', 'it', 'iu', 'iw', 'ja', 'ji', 'jv', 'jw', 'ka', 'kg', 'ki', 'kj', 'kk', 'kl', 'km', 'kn', 'ko', 'kr', 'ks', 'ku', 'kv', 'kw', 'ky', 'la', 'lb', 'lg', 'li', 'ln', 'lo', 'lt', 'lu', 'lv', 'mg', 'mh', 'mi', 'mk', 'ml', 'mn', 'mo', 'mr', 'ms', 'mt', 'my', 'na', 'nb', 'nd', 'ne', 'ng', 'nl', 'nn', 'no', 'nr', 'nv', 'ny', 'oc', 'oj', 'om', 'or', 'os', 'pa', 'pi', 'pl', 'ps', 'pt', 'qu', 'rm', 'rn', 'ro', 'ru', 'rw', 'sa', 'sc', 'sd', 'se', 'sg', 'sh', 'si', 'sk', 'sl', 'sm', 'sn', 'so', 'sq', 'sr', 'ss', 'st', 'su', 'sv', 'sw', 'ta', 'te', 'tg', 'th', 'ti', 'tk', 'tl', 'tn', 'to', 'tr', 'ts', 'tt', 'tw', 'ty', 'ug', 'uk', 'ur', 'uz', 've', 'vi', 'vo', 'wa', 'wo', 'xh', 'yi', 'yo', 'za', 'zh', 'zu', 'aaa', 'aab', 'aac', 'aad', 'aae', 'aaf', 'aag', 'aah', 'aai', 'aak', 'aal', 'aam', 'aan', 'aao', 'aap', 'aaq', 'aas', 'aat', 'aau', 'aav', 'aaw', 'aax', 'aaz', 'aba', 'abb', 'abc', 'abd', 'abe', 'abf', 'abg', 'abh', 'abi', 'abj', 'abl', 'abm', 'abn', 'abo', 'abp', 'abq', 'abr', 'abs', 'abt', 'abu', 'abv', 'abw', 'abx', 'aby', 'abz', 'aca', 'acb', 'acd', 'ace', 'acf', 'ach', 'aci', 'ack', 'acl', 'acm', 'acn', 'acp', 'acq', 'acr', 'acs', 'act', 'acu', 'acv', 'acw', 'acx', 'acy', 'acz', 'ada', 'adb', 'add', 'ade', 'adf', 'adg', 'adh', 'adi', 'adj', 'adl', 'adn', 'ado', 'adp', 'adq', 'adr', 'ads', 'adt', 'adu', 'adw', 'adx', 'ady', 'adz', 'aea', 'aeb', 'aec', 'aed', 'aee', 'aek', 'ael', 'aem', 'aen', 'aeq', 'aer', 'aes', 'aeu', 'aew', 'aey', 'aez', 'afa', 'afb', 'afd', 'afe', 'afg', 'afh', 'afi', 'afk', 'afn', 'afo', 'afp', 'afs', 'aft', 'afu', 'afz', 'aga', 'agb', 'agc', 'agd', 'age', 'agf', 'agg', 'agh', 'agi', 'agj', 'agk', 'agl', 'agm', 'agn', 'ago', 'agp', 'agq', 'agr', 'ags', 'agt', 'agu', 'agv', 'agw', 'agx', 'agy', 'agz', 'aha', 'ahb', 'ahg', 'ahh', 'ahi', 'ahk', 'ahl', 'ahm', 'ahn', 'aho', 'ahp', 'ahr', 'ahs', 'aht', 'aia', 'aib', 'aic', 'aid', 'aie', 'aif', 'aig', 'aih', 'aii', 'aij', 'aik', 'ail', 'aim', 'ain', 'aio', 'aip', 'aiq', 'air', 'ais', 'ait', 'aiw', 'aix', 'aiy', 'aja', 'ajg', 'aji', 'ajn', 'ajp', 'ajt', 'aju', 'ajw', 'ajz', 'akb', 'akc', 'akd', 'ake', 'akf', 'akg', 'akh', 'aki', 'akj', 'akk', 'akl', 'akm', 'ako', 'akp', 'akq', 'akr', 'aks', 'akt', 'aku', 'akv', 'akw', 'akx', 'aky', 'akz', 'ala', 'alc', 'ald', 'ale', 'alf', 'alg', 'alh', 'ali', 'alj', 'alk', 'all', 'alm', 'aln', 'alo', 'alp', 'alq', 'alr', 'als', 'alt', 'alu', 'alv', 'alw', 'alx', 'aly', 'alz', 'ama', 'amb', 'amc', 'ame', 'amf', 'amg', 'ami', 'amj', 'amk', 'aml', 'amm', 'amn', 'amo', 'amp', 'amq', 'amr', 'ams', 'amt', 'amu', 'amv', 'amw', 'amx', 'amy', 'amz', 'ana', 'anb', 'anc', 'and', 'ane', 'anf', 'ang', 'anh', 'ani', 'anj', 'ank', 'anl', 'anm', 'ann', 'ano', 'anp', 'anq', 'anr', 'ans', 'ant', 'anu', 'anv', 'anw', 'anx', 'any', 'anz', 'aoa', 'aob', 'aoc', 'aod', 'aoe', 'aof', 'aog', 'aoh', 'aoi', 'aoj', 'aok', 'aol', 'aom', 'aon', 'aor', 'aos', 'aot', 'aou', 'aox', 'aoz', 'apa', 'apb', 'apc', 'apd', 'ape', 'apf', 'apg', 'aph', 'api', 'apj', 'apk', 'apl', 'apm', 'apn', 'apo', 'app', 'apq', 'apr', 'aps', 'apt', 'apu', 'apv', 'apw', 'apx', 'apy', 'apz', 'aqa', 'aqc', 'aqd', 'aqg', 'aql', 'aqm', 'aqn', 'aqp', 'aqr', 'aqt', 'aqz', 'arb', 'arc', 'ard', 'are', 'arh', 'ari', 'arj', 'ark', 'arl', 'arn', 'aro', 'arp', 'arq', 'arr', 'ars', 'art', 'aru', 'arv', 'arw', 'arx', 'ary', 'arz', 'asa', 'asb', 'asc', 'asd', 'ase', 'asf', 'asg', 'ash', 'asi', 'asj', 'ask', 'asl', 'asn', 'aso', 'asp', 'asq', 'asr', 'ass', 'ast', 'asu', 'asv', 'asw', 'asx', 'asy', 'asz', 'ata', 'atb', 'atc', 'atd', 'ate', 'atg', 'ath', 'ati', 'atj', 'atk', 'atl', 'atm', 'atn', 'ato', 'atp', 'atq', 'atr', 'ats', 'att', 'atu', 'atv', 'atw', 'atx', 'aty', 'atz', 'aua', 'aub', 'auc', 'aud', 'aue', 'auf', 'aug', 'auh', 'aui', 'auj', 'auk', 'aul', 'aum', 'aun', 'auo', 'aup', 'auq', 'aur', 'aus', 'aut', 'auu', 'auw', 'aux', 'auy', 'auz', 'avb', 'avd', 'avi', 'avk', 'avl', 'avm', 'avn', 'avo', 'avs', 'avt', 'avu', 'avv', 'awa', 'awb', 'awc', 'awd', 'awe', 'awg', 'awh', 'awi', 'awk', 'awm', 'awn', 'awo', 'awr', 'aws', 'awt', 'awu', 'awv', 'aww', 'awx', 'awy', 'axb', 'axe', 'axg', 'axk', 'axl', 'axm', 'axx', 'aya', 'ayb', 'ayc', 'ayd', 'aye', 'ayg', 'ayh', 'ayi', 'ayk', 'ayl', 'ayn', 'ayo', 'ayp', 'ayq', 'ayr', 'ays', 'ayt', 'ayu', 'ayx', 'ayy', 'ayz', 'aza', 'azb', 'azc', 'azd', 'azg', 'azj', 'azm', 'azn', 'azo', 'azt', 'azz', 'baa', 'bab', 'bac', 'bad', 'bae', 'baf', 'bag', 'bah', 'bai', 'baj', 'bal', 'ban', 'bao', 'bap', 'bar', 'bas', 'bat', 'bau', 'bav', 'baw', 'bax', 'bay', 'baz', 'bba', 'bbb', 'bbc', 'bbd', 'bbe', 'bbf', 'bbg', 'bbh', 'bbi', 'bbj', 'bbk', 'bbl', 'bbm', 'bbn', 'bbo', 'bbp', 'bbq', 'bbr', 'bbs', 'bbt', 'bbu', 'bbv', 'bbw', 'bbx', 'bby', 'bbz', 'bca', 'bcb', 'bcc', 'bcd', 'bce', 'bcf', 'bcg', 'bch', 'bci', 'bcj', 'bck', 'bcl', 'bcm', 'bcn', 'bco', 'bcp', 'bcq', 'bcr', 'bcs', 'bct', 'bcu', 'bcv', 'bcw', 'bcy', 'bcz', 'bda', 'bdb', 'bdc', 'bdd', 'bde', 'bdf', 'bdg', 'bdh', 'bdi', 'bdj', 'bdk', 'bdl', 'bdm', 'bdn', 'bdo', 'bdp', 'bdq', 'bdr', 'bds', 'bdt', 'bdu', 'bdv', 'bdw', 'bdx', 'bdy', 'bdz', 'bea', 'beb', 'bec', 'bed', 'bee', 'bef', 'beg', 'beh', 'bei', 'bej', 'bek', 'bem', 'beo', 'bep', 'beq', 'ber', 'bes', 'bet', 'beu', 'bev', 'bew', 'bex', 'bey', 'bez', 'bfa', 'bfb', 'bfc', 'bfd', 'bfe', 'bff', 'bfg', 'bfh', 'bfi', 'bfj', 'bfk', 'bfl', 'bfm', 'bfn', 'bfo', 'bfp', 'bfq', 'bfr', 'bfs', 'bft', 'bfu', 'bfw', 'bfx', 'bfy', 'bfz', 'bga', 'bgb', 'bgc', 'bgd', 'bge', 'bgf', 'bgg', 'bgi', 'bgj', 'bgk', 'bgl', 'bgm', 'bgn', 'bgo', 'bgp', 'bgq', 'bgr', 'bgs', 'bgt', 'bgu', 'bgv', 'bgw', 'bgx', 'bgy', 'bgz', 'bha', 'bhb', 'bhc', 'bhd', 'bhe', 'bhf', 'bhg', 'bhh', 'bhi', 'bhj', 'bhk', 'bhl', 'bhm', 'bhn', 'bho', 'bhp', 'bhq', 'bhr', 'bhs', 'bht', 'bhu', 'bhv', 'bhw', 'bhx', 'bhy', 'bhz', 'bia', 'bib', 'bic', 'bid', 'bie', 'bif', 'big', 'bij', 'bik', 'bil', 'bim', 'bin', 'bio', 'bip', 'biq', 'bir', 'bit', 'biu', 'biv', 'biw', 'bix', 'biy', 'biz', 'bja', 'bjb', 'bjc', 'bjd', 'bje', 'bjf', 'bjg', 'bjh', 'bji', 'bjj', 'bjk', 'bjl', 'bjm', 'bjn', 'bjo', 'bjp', 'bjq', 'bjr', 'bjs', 'bjt', 'bju', 'bjv', 'bjw', 'bjx', 'bjy', 'bjz', 'bka', 'bkb', 'bkc', 'bkd', 'bkf', 'bkg', 'bkh', 'bki', 'bkj', 'bkk', 'bkl', 'bkm', 'bkn', 'bko', 'bkp', 'bkq', 'bkr', 'bks', 'bkt', 'bku', 'bkv', 'bkw', 'bkx', 'bky', 'bkz', 'bla', 'blb', 'blc', 'bld', 'ble', 'blf', 'blg', 'blh', 'bli', 'blj', 'blk', 'bll', 'blm', 'bln', 'blo', 'blp', 'blq', 'blr', 'bls', 'blt', 'blv', 'blw', 'blx', 'bly', 'blz', 'bma', 'bmb', 'bmc', 'bmd', 'bme', 'bmf', 'bmg', 'bmh', 'bmi', 'bmj', 'bmk', 'bml', 'bmm', 'bmn', 'bmo', 'bmp', 'bmq', 'bmr', 'bms', 'bmt', 'bmu', 'bmv', 'bmw', 'bmx', 'bmy', 'bmz', 'bna', 'bnb', 'bnc', 'bnd', 'bne', 'bnf', 'bng', 'bni', 'bnj', 'bnk', 'bnl', 'bnm', 'bnn', 'bno', 'bnp', 'bnq', 'bnr', 'bns', 'bnt', 'bnu', 'bnv', 'bnw', 'bnx', 'bny', 'bnz', 'boa', 'bob', 'boe', 'bof', 'bog', 'boh', 'boi', 'boj', 'bok', 'bol', 'bom', 'bon', 'boo', 'bop', 'boq', 'bor', 'bot', 'bou', 'bov', 'bow', 'box', 'boy', 'boz', 'bpa', 'bpb', 'bpd', 'bpg', 'bph', 'bpi', 'bpj', 'bpk', 'bpl', 'bpm', 'bpn', 'bpo', 'bpp', 'bpq', 'bpr', 'bps', 'bpt', 'bpu', 'bpv', 'bpw', 'bpx', 'bpy', 'bpz', 'bqa', 'bqb', 'bqc', 'bqd', 'bqf', 'bqg', 'bqh', 'bqi', 'bqj', 'bqk', 'bql', 'bqm', 'bqn', 'bqo', 'bqp', 'bqq', 'bqr', 'bqs', 'bqt', 'bqu', 'bqv', 'bqw', 'bqx', 'bqy', 'bqz', 'bra', 'brb', 'brc', 'brd', 'brf', 'brg', 'brh', 'bri', 'brj', 'brk', 'brl', 'brm', 'brn', 'bro', 'brp', 'brq', 'brr', 'brs', 'brt', 'bru', 'brv', 'brw', 'brx', 'bry', 'brz', 'bsa', 'bsb', 'bsc', 'bse', 'bsf', 'bsg', 'bsh', 'bsi', 'bsj', 'bsk', 'bsl', 'bsm', 'bsn', 'bso', 'bsp', 'bsq', 'bsr', 'bss', 'bst', 'bsu', 'bsv', 'bsw', 'bsx', 'bsy', 'bta', 'btb', 'btc', 'btd', 'bte', 'btf', 'btg', 'bth', 'bti', 'btj', 'btk', 'btl', 'btm', 'btn', 'bto', 'btp', 'btq', 'btr', 'bts', 'btt', 'btu', 'btv', 'btw', 'btx', 'bty', 'btz', 'bua', 'bub', 'buc', 'bud', 'bue', 'buf', 'bug', 'buh', 'bui', 'buj', 'buk', 'bum', 'bun', 'buo', 'bup', 'buq', 'bus', 'but', 'buu', 'buv', 'buw', 'bux', 'buy', 'buz', 'bva', 'bvb', 'bvc', 'bvd', 'bve', 'bvf', 'bvg', 'bvh', 'bvi', 'bvj', 'bvk', 'bvl', 'bvm', 'bvn', 'bvo', 'bvp', 'bvq', 'bvr', 'bvt', 'bvu', 'bvv', 'bvw', 'bvx', 'bvy', 'bvz', 'bwa', 'bwb', 'bwc', 'bwd', 'bwe', 'bwf', 'bwg', 'bwh', 'bwi', 'bwj', 'bwk', 'bwl', 'bwm', 'bwn', 'bwo', 'bwp', 'bwq', 'bwr', 'bws', 'bwt', 'bwu', 'bww', 'bwx', 'bwy', 'bwz', 'bxa', 'bxb', 'bxc', 'bxd', 'bxe', 'bxf', 'bxg', 'bxh', 'bxi', 'bxj', 'bxk', 'bxl', 'bxm', 'bxn', 'bxo', 'bxp', 'bxq', 'bxr', 'bxs', 'bxu', 'bxv', 'bxw', 'bxx', 'bxz', 'bya', 'byb', 'byc', 'byd', 'bye', 'byf', 'byg', 'byh', 'byi', 'byj', 'byk', 'byl', 'bym', 'byn', 'byo', 'byp', 'byq', 'byr', 'bys', 'byt', 'byv', 'byw', 'byx', 'byy', 'byz', 'bza', 'bzb', 'bzc', 'bzd', 'bze', 'bzf', 'bzg', 'bzh', 'bzi', 'bzj', 'bzk', 'bzl', 'bzm', 'bzn', 'bzo', 'bzp', 'bzq', 'bzr', 'bzs', 'bzt', 'bzu', 'bzv', 'bzw', 'bzx', 'bzy', 'bzz', 'caa', 'cab', 'cac', 'cad', 'cae', 'caf', 'cag', 'cah', 'cai', 'caj', 'cak', 'cal', 'cam', 'can', 'cao', 'cap', 'caq', 'car', 'cas', 'cau', 'cav', 'caw', 'cax', 'cay', 'caz', 'cba', 'cbb', 'cbc', 'cbd', 'cbe', 'cbg', 'cbh', 'cbi', 'cbj', 'cbk', 'cbl', 'cbn', 'cbo', 'cbq', 'cbr', 'cbs', 'cbt', 'cbu', 'cbv', 'cbw', 'cby', 'cca', 'ccc', 'ccd', 'cce', 'ccg', 'cch', 'ccj', 'ccl', 'ccm', 'ccn', 'cco', 'ccp', 'ccq', 'ccr', 'ccs', 'cda', 'cdc', 'cdd', 'cde', 'cdf', 'cdg', 'cdh', 'cdi', 'cdj', 'cdm', 'cdn', 'cdo', 'cdr', 'cds', 'cdy', 'cdz', 'cea', 'ceb', 'ceg', 'cek', 'cel', 'cen', 'cet', 'cfa', 'cfd', 'cfg', 'cfm', 'cga', 'cgc', 'cgg', 'cgk', 'chb', 'chc', 'chd', 'chf', 'chg', 'chh', 'chj', 'chk', 'chl', 'chm', 'chn', 'cho', 'chp', 'chq', 'chr', 'cht', 'chw', 'chx', 'chy', 'chz', 'cia', 'cib', 'cic', 'cid', 'cie', 'cih', 'cik', 'cim', 'cin', 'cip', 'cir', 'ciw', 'ciy', 'cja', 'cje', 'cjh', 'cji', 'cjk', 'cjm', 'cjn', 'cjo', 'cjp', 'cjr', 'cjs', 'cjv', 'cjy', 'cka', 'ckb', 'ckh', 'ckl', 'ckn', 'cko', 'ckq', 'ckr', 'cks', 'ckt', 'cku', 'ckv', 'ckx', 'cky', 'ckz', 'cla', 'clc', 'cld', 'cle', 'clh', 'cli', 'clj', 'clk', 'cll', 'clm', 'clo', 'clt', 'clu', 'clw', 'cly', 'cma', 'cmc', 'cme', 'cmg', 'cmi', 'cmk', 'cml', 'cmm', 'cmn', 'cmo', 'cmr', 'cms', 'cmt', 'cna', 'cnb', 'cnc', 'cng', 'cnh', 'cni', 'cnk', 'cnl', 'cno', 'cnr', 'cns', 'cnt', 'cnu', 'cnw', 'cnx', 'coa', 'cob', 'coc', 'cod', 'coe', 'cof', 'cog', 'coh', 'coj', 'cok', 'col', 'com', 'con', 'coo', 'cop', 'coq', 'cot', 'cou', 'cov', 'cow', 'cox', 'coy', 'coz', 'cpa', 'cpb', 'cpc', 'cpe', 'cpf', 'cpg', 'cpi', 'cpn', 'cpo', 'cpp', 'cps', 'cpu', 'cpx', 'cpy', 'cqd', 'cqu', 'cra', 'crb', 'crc', 'crd', 'crf', 'crg', 'crh', 'cri', 'crj', 'crk', 'crl', 'crm', 'crn', 'cro', 'crp', 'crq', 'crr', 'crs', 'crt', 'crv', 'crw', 'crx', 'cry', 'crz', 'csa', 'csb', 'csc', 'csd', 'cse', 'csf', 'csg', 'csh', 'csi', 'csj', 'csk', 'csl', 'csm', 'csn', 'cso', 'csq', 'csr', 'css', 'cst', 'csu', 'csv', 'csw', 'csy', 'csz', 'cta', 'ctc', 'ctd', 'cte', 'ctg', 'cth', 'ctl', 'ctm', 'ctn', 'cto', 'ctp', 'cts', 'ctt', 'ctu', 'ctz', 'cua', 'cub', 'cuc', 'cug', 'cuh', 'cui', 'cuj', 'cuk', 'cul', 'cum', 'cuo', 'cup', 'cuq', 'cur', 'cus', 'cut', 'cuu', 'cuv', 'cuw', 'cux', 'cuy', 'cvg', 'cvn', 'cwa', 'cwb', 'cwd', 'cwe', 'cwg', 'cwt', 'cya', 'cyb', 'cyo', 'czh', 'czk', 'czn', 'czo', 'czt', 'daa', 'dac', 'dad', 'dae', 'daf', 'dag', 'dah', 'dai', 'daj', 'dak', 'dal', 'dam', 'dao', 'dap', 'daq', 'dar', 'das', 'dau', 'dav', 'daw', 'dax', 'day', 'daz', 'dba', 'dbb', 'dbd', 'dbe', 'dbf', 'dbg', 'dbi', 'dbj', 'dbl', 'dbm', 'dbn', 'dbo', 'dbp', 'dbq', 'dbr', 'dbt', 'dbu', 'dbv', 'dbw', 'dby', 'dcc', 'dcr', 'dda', 'ddd', 'dde', 'ddg', 'ddi', 'ddj', 'ddn', 'ddo', 'ddr', 'dds', 'ddw', 'dec', 'ded', 'dee', 'def', 'deg', 'deh', 'dei', 'dek', 'del', 'dem', 'den', 'dep', 'deq', 'der', 'des', 'dev', 'dez', 'dga', 'dgb', 'dgc', 'dgd', 'dge', 'dgg', 'dgh', 'dgi', 'dgk', 'dgl', 'dgn', 'dgo', 'dgr', 'dgs', 'dgt', 'dgu', 'dgw', 'dgx', 'dgz', 'dha', 'dhd', 'dhg', 'dhi', 'dhl', 'dhm', 'dhn', 'dho', 'dhr', 'dhs', 'dhu', 'dhv', 'dhw', 'dhx', 'dia', 'dib', 'dic', 'did', 'dif', 'dig', 'dih', 'dii', 'dij', 'dik', 'dil', 'dim', 'din', 'dio', 'dip', 'diq', 'dir', 'dis', 'dit', 'diu', 'diw', 'dix', 'diy', 'diz', 'dja', 'djb', 'djc', 'djd', 'dje', 'djf', 'dji', 'djj', 'djk', 'djl', 'djm', 'djn', 'djo', 'djr', 'dju', 'djw', 'dka', 'dkk', 'dkl', 'dkr', 'dks', 'dkx', 'dlg', 'dlk', 'dlm', 'dln', 'dma', 'dmb', 'dmc', 'dmd', 'dme', 'dmg', 'dmk', 'dml', 'dmm', 'dmn', 'dmo', 'dmr', 'dms', 'dmu', 'dmv', 'dmw', 'dmx', 'dmy', 'dna', 'dnd', 'dne', 'dng', 'dni', 'dnj', 'dnk', 'dnn', 'dnr', 'dnt', 'dnu', 'dnv', 'dnw', 'dny', 'doa', 'dob', 'doc', 'doe', 'dof', 'doh', 'doi', 'dok', 'dol', 'don', 'doo', 'dop', 'doq', 'dor', 'dos', 'dot', 'dov', 'dow', 'dox', 'doy', 'doz', 'dpp', 'dra', 'drb', 'drc', 'drd', 'dre', 'drg', 'drh', 'dri', 'drl', 'drn', 'dro', 'drq', 'drr', 'drs', 'drt', 'dru', 'drw', 'dry', 'dsb', 'dse', 'dsh', 'dsi', 'dsl', 'dsn', 'dso', 'dsq', 'dta', 'dtb', 'dtd', 'dth', 'dti', 'dtk', 'dtm', 'dtn', 'dto', 'dtp', 'dtr', 'dts', 'dtt', 'dtu', 'dty', 'dua', 'dub', 'duc', 'dud', 'due', 'duf', 'dug', 'duh', 'dui', 'duj', 'duk', 'dul', 'dum', 'dun', 'duo', 'dup', 'duq', 'dur', 'dus', 'duu', 'duv', 'duw', 'dux', 'duy', 'duz', 'dva', 'dwa', 'dwl', 'dwr', 'dws', 'dwu', 'dww', 'dwy', 'dya', 'dyb', 'dyd', 'dyg', 'dyi', 'dym', 'dyn', 'dyo', 'dyu', 'dyy', 'dza', 'dzd', 'dze', 'dzg', 'dzl', 'dzn', 'eaa', 'ebg', 'ebk', 'ebo', 'ebr', 'ebu', 'ecr', 'ecs', 'ecy', 'eee', 'efa', 'efe', 'efi', 'ega', 'egl', 'ego', 'egx', 'egy', 'ehu', 'eip', 'eit', 'eiv', 'eja', 'eka', 'ekc', 'eke', 'ekg', 'eki', 'ekk', 'ekl', 'ekm', 'eko', 'ekp', 'ekr', 'eky', 'ele', 'elh', 'eli', 'elk', 'elm', 'elo', 'elp', 'elu', 'elx', 'ema', 'emb', 'eme', 'emg', 'emi', 'emk', 'emm', 'emn', 'emo', 'emp', 'ems', 'emu', 'emw', 'emx', 'emy', 'ena', 'enb', 'enc', 'end', 'enf', 'enh', 'enl', 'enm', 'enn', 'eno', 'enq', 'enr', 'enu', 'env', 'enw', 'enx', 'eot', 'epi', 'era', 'erg', 'erh', 'eri', 'erk', 'ero', 'err', 'ers', 'ert', 'erw', 'ese', 'esg', 'esh', 'esi', 'esk', 'esl', 'esm', 'esn', 'eso', 'esq', 'ess', 'esu', 'esx', 'esy', 'etb', 'etc', 'eth', 'etn', 'eto', 'etr', 'ets', 'ett', 'etu', 'etx', 'etz', 'euq', 'eve', 'evh', 'evn', 'ewo', 'ext', 'eya', 'eyo', 'eza', 'eze', 'faa', 'fab', 'fad', 'faf', 'fag', 'fah', 'fai', 'faj', 'fak', 'fal', 'fam', 'fan', 'fap', 'far', 'fat', 'fau', 'fax', 'fay', 'faz', 'fbl', 'fcs', 'fer', 'ffi', 'ffm', 'fgr', 'fia', 'fie', 'fil', 'fip', 'fir', 'fit', 'fiu', 'fiw', 'fkk', 'fkv', 'fla', 'flh', 'fli', 'fll', 'fln', 'flr', 'fly', 'fmp', 'fmu', 'fnb', 'fng', 'fni', 'fod', 'foi', 'fom', 'fon', 'for', 'fos', 'fox', 'fpe', 'fqs', 'frc', 'frd', 'frk', 'frm', 'fro', 'frp', 'frq', 'frr', 'frs', 'frt', 'fse', 'fsl', 'fss', 'fub', 'fuc', 'fud', 'fue', 'fuf', 'fuh', 'fui', 'fuj', 'fum', 'fun', 'fuq', 'fur', 'fut', 'fuu', 'fuv', 'fuy', 'fvr', 'fwa', 'fwe', 'gaa', 'gab', 'gac', 'gad', 'gae', 'gaf', 'gag', 'gah', 'gai', 'gaj', 'gak', 'gal', 'gam', 'gan', 'gao', 'gap', 'gaq', 'gar', 'gas', 'gat', 'gau', 'gav', 'gaw', 'gax', 'gay', 'gaz', 'gba', 'gbb', 'gbc', 'gbd', 'gbe', 'gbf', 'gbg', 'gbh', 'gbi', 'gbj', 'gbk', 'gbl', 'gbm', 'gbn', 'gbo', 'gbp', 'gbq', 'gbr', 'gbs', 'gbu', 'gbv', 'gbw', 'gbx', 'gby', 'gbz', 'gcc', 'gcd', 'gce', 'gcf', 'gcl', 'gcn', 'gcr', 'gct', 'gda', 'gdb', 'gdc', 'gdd', 'gde', 'gdf', 'gdg', 'gdh', 'gdi', 'gdj', 'gdk', 'gdl', 'gdm', 'gdn', 'gdo', 'gdq', 'gdr', 'gds', 'gdt', 'gdu', 'gdx', 'gea', 'geb', 'gec', 'ged', 'geg', 'geh', 'gei', 'gej', 'gek', 'gel', 'gem', 'geq', 'ges', 'gev', 'gew', 'gex', 'gey', 'gez', 'gfk', 'gft', 'gfx', 'gga', 'ggb', 'ggd', 'gge', 'ggg', 'ggk', 'ggl', 'ggn', 'ggo', 'ggr', 'ggt', 'ggu', 'ggw', 'gha', 'ghc', 'ghe', 'ghh', 'ghk', 'ghl', 'ghn', 'gho', 'ghr', 'ghs', 'ght', 'gia', 'gib', 'gic', 'gid', 'gie', 'gig', 'gih', 'gil', 'gim', 'gin', 'gio', 'gip', 'giq', 'gir', 'gis', 'git', 'giu', 'giw', 'gix', 'giy', 'giz', 'gji', 'gjk', 'gjm', 'gjn', 'gjr', 'gju', 'gka', 'gkd', 'gke', 'gkn', 'gko', 'gkp', 'gku', 'glc', 'gld', 'glh', 'gli', 'glj', 'glk', 'gll', 'glo', 'glr', 'glu', 'glw', 'gly', 'gma', 'gmb', 'gmd', 'gme', 'gmg', 'gmh', 'gml', 'gmm', 'gmn', 'gmq', 'gmu', 'gmv', 'gmw', 'gmx', 'gmy', 'gmz', 'gna', 'gnb', 'gnc', 'gnd', 'gne', 'gng', 'gnh', 'gni', 'gnj', 'gnk', 'gnl', 'gnm', 'gnn', 'gno', 'gnq', 'gnr', 'gnt', 'gnu', 'gnw', 'gnz', 'goa', 'gob', 'goc', 'god', 'goe', 'gof', 'gog', 'goh', 'goi', 'goj', 'gok', 'gol', 'gom', 'gon', 'goo', 'gop', 'goq', 'gor', 'gos', 'got', 'gou', 'gow', 'gox', 'goy', 'goz', 'gpa', 'gpe', 'gpn', 'gqa', 'gqi', 'gqn', 'gqr', 'gqu', 'gra', 'grb', 'grc', 'grd', 'grg', 'grh', 'gri', 'grj', 'grk', 'grm', 'gro', 'grq', 'grr', 'grs', 'grt', 'gru', 'grv', 'grw', 'grx', 'gry', 'grz', 'gse', 'gsg', 'gsl', 'gsm', 'gsn', 'gso', 'gsp', 'gss', 'gsw', 'gta', 'gti', 'gtu', 'gua', 'gub', 'guc', 'gud', 'gue', 'guf', 'gug', 'guh', 'gui', 'guk', 'gul', 'gum', 'gun', 'guo', 'gup', 'guq', 'gur', 'gus', 'gut', 'guu', 'guv', 'guw', 'gux', 'guz', 'gva', 'gvc', 'gve', 'gvf', 'gvj', 'gvl', 'gvm', 'gvn', 'gvo', 'gvp', 'gvr', 'gvs', 'gvy', 'gwa', 'gwb', 'gwc', 'gwd', 'gwe', 'gwf', 'gwg', 'gwi', 'gwj', 'gwm', 'gwn', 'gwr', 'gwt', 'gwu', 'gww', 'gwx', 'gxx', 'gya', 'gyb', 'gyd', 'gye', 'gyf', 'gyg', 'gyi', 'gyl', 'gym', 'gyn', 'gyo', 'gyr', 'gyy', 'gza', 'gzi', 'gzn', 'haa', 'hab', 'hac', 'had', 'hae', 'haf', 'hag', 'hah', 'hai', 'haj', 'hak', 'hal', 'ham', 'han', 'hao', 'hap', 'haq', 'har', 'has', 'hav', 'haw', 'hax', 'hay', 'haz', 'hba', 'hbb', 'hbn', 'hbo', 'hbu', 'hca', 'hch', 'hdn', 'hds', 'hdy', 'hea', 'hed', 'heg', 'heh', 'hei', 'hem', 'hgm', 'hgw', 'hhi', 'hhr', 'hhy', 'hia', 'hib', 'hid', 'hif', 'hig', 'hih', 'hii', 'hij', 'hik', 'hil', 'him', 'hio', 'hir', 'hit', 'hiw', 'hix', 'hji', 'hka', 'hke', 'hkk', 'hkn', 'hks', 'hla', 'hlb', 'hld', 'hle', 'hlt', 'hlu', 'hma', 'hmb', 'hmc', 'hmd', 'hme', 'hmf', 'hmg', 'hmh', 'hmi', 'hmj', 'hmk', 'hml', 'hmm', 'hmn', 'hmp', 'hmq', 'hmr', 'hms', 'hmt', 'hmu', 'hmv', 'hmw', 'hmx', 'hmy', 'hmz', 'hna', 'hnd', 'hne', 'hnh', 'hni', 'hnj', 'hnn', 'hno', 'hns', 'hnu', 'hoa', 'hob', 'hoc', 'hod', 'hoe', 'hoh', 'hoi', 'hoj', 'hok', 'hol', 'hom', 'hoo', 'hop', 'hor', 'hos', 'hot', 'hov', 'how', 'hoy', 'hoz', 'hpo', 'hps', 'hra', 'hrc', 'hre', 'hrk', 'hrm', 'hro', 'hrp', 'hrr', 'hrt', 'hru', 'hrw', 'hrx', 'hrz', 'hsb', 'hsh', 'hsl', 'hsn', 'hss', 'hti', 'hto', 'hts', 'htu', 'htx', 'hub', 'huc', 'hud', 'hue', 'huf', 'hug', 'huh', 'hui', 'huj', 'huk', 'hul', 'hum', 'huo', 'hup', 'huq', 'hur', 'hus', 'hut', 'huu', 'huv', 'huw', 'hux', 'huy', 'huz', 'hvc', 'hve', 'hvk', 'hvn', 'hvv', 'hwa', 'hwc', 'hwo', 'hya', 'hyw', 'hyx', 'iai', 'ian', 'iap', 'iar', 'iba', 'ibb', 'ibd', 'ibe', 'ibg', 'ibh', 'ibi', 'ibl', 'ibm', 'ibn', 'ibr', 'ibu', 'iby', 'ica', 'ich', 'icl', 'icr', 'ida', 'idb', 'idc', 'idd', 'ide', 'idi', 'idr', 'ids', 'idt', 'idu', 'ifa', 'ifb', 'ife', 'iff', 'ifk', 'ifm', 'ifu', 'ify', 'igb', 'ige', 'igg', 'igl', 'igm', 'ign', 'igo', 'igs', 'igw', 'ihb', 'ihi', 'ihp', 'ihw', 'iin', 'iir', 'ijc', 'ije', 'ijj', 'ijn', 'ijo', 'ijs', 'ike', 'iki', 'ikk', 'ikl', 'iko', 'ikp', 'ikr', 'iks', 'ikt', 'ikv', 'ikw', 'ikx', 'ikz', 'ila', 'ilb', 'ilg', 'ili', 'ilk', 'ill', 'ilm', 'ilo', 'ilp', 'ils', 'ilu', 'ilv', 'ilw', 'ima', 'ime', 'imi', 'iml', 'imn', 'imo', 'imr', 'ims', 'imy', 'inb', 'inc', 'ine', 'ing', 'inh', 'inj', 'inl', 'inm', 'inn', 'ino', 'inp', 'ins', 'int', 'inz', 'ior', 'iou', 'iow', 'ipi', 'ipo', 'iqu', 'iqw', 'ira', 'ire', 'irh', 'iri', 'irk', 'irn', 'iro', 'irr', 'iru', 'irx', 'iry', 'isa', 'isc', 'isd', 'ise', 'isg', 'ish', 'isi', 'isk', 'ism', 'isn', 'iso', 'isr', 'ist', 'isu', 'itb', 'itc', 'itd', 'ite', 'iti', 'itk', 'itl', 'itm', 'ito', 'itr', 'its', 'itt', 'itv', 'itw', 'itx', 'ity', 'itz', 'ium', 'ivb', 'ivv', 'iwk', 'iwm', 'iwo', 'iws', 'ixc', 'ixl', 'iya', 'iyo', 'iyx', 'izh', 'izi', 'izr', 'izz', 'jaa', 'jab', 'jac', 'jad', 'jae', 'jaf', 'jah', 'jaj', 'jak', 'jal', 'jam', 'jan', 'jao', 'jaq', 'jar', 'jas', 'jat', 'jau', 'jax', 'jay', 'jaz', 'jbe', 'jbi', 'jbj', 'jbk', 'jbn', 'jbo', 'jbr', 'jbt', 'jbu', 'jbw', 'jcs', 'jct', 'jda', 'jdg', 'jdt', 'jeb', 'jee', 'jeg', 'jeh', 'jei', 'jek', 'jel', 'jen', 'jer', 'jet', 'jeu', 'jgb', 'jge', 'jgk', 'jgo', 'jhi', 'jhs', 'jia', 'jib', 'jic', 'jid', 'jie', 'jig', 'jih', 'jii', 'jil', 'jim', 'jio', 'jiq', 'jit', 'jiu', 'jiv', 'jiy', 'jje', 'jjr', 'jka', 'jkm', 'jko', 'jkp', 'jkr', 'jku', 'jle', 'jls', 'jma', 'jmb', 'jmc', 'jmd', 'jmi', 'jml', 'jmn', 'jmr', 'jms', 'jmw', 'jmx', 'jna', 'jnd', 'jng', 'jni', 'jnj', 'jnl', 'jns', 'job', 'jod', 'jog', 'jor', 'jos', 'jow', 'jpa', 'jpr', 'jpx', 'jqr', 'jra', 'jrb', 'jrr', 'jrt', 'jru', 'jsl', 'jua', 'jub', 'juc', 'jud', 'juh', 'jui', 'juk', 'jul', 'jum', 'jun', 'juo', 'jup', 'jur', 'jus', 'jut', 'juu', 'juw', 'juy', 'jvd', 'jvn', 'jwi', 'jya', 'jye', 'jyy', 'kaa', 'kab', 'kac', 'kad', 'kae', 'kaf', 'kag', 'kah', 'kai', 'kaj', 'kak', 'kam', 'kao', 'kap', 'kaq', 'kar', 'kav', 'kaw', 'kax', 'kay', 'kba', 'kbb', 'kbc', 'kbd', 'kbe', 'kbf', 'kbg', 'kbh', 'kbi', 'kbj', 'kbk', 'kbl', 'kbm', 'kbn', 'kbo', 'kbp', 'kbq', 'kbr', 'kbs', 'kbt', 'kbu', 'kbv', 'kbw', 'kbx', 'kby', 'kbz', 'kca', 'kcb', 'kcc', 'kcd', 'kce', 'kcf', 'kcg', 'kch', 'kci', 'kcj', 'kck', 'kcl', 'kcm', 'kcn', 'kco', 'kcp', 'kcq', 'kcr', 'kcs', 'kct', 'kcu', 'kcv', 'kcw', 'kcx', 'kcy', 'kcz', 'kda', 'kdc', 'kdd', 'kde', 'kdf', 'kdg', 'kdh', 'kdi', 'kdj', 'kdk', 'kdl', 'kdm', 'kdn', 'kdo', 'kdp', 'kdq', 'kdr', 'kdt', 'kdu', 'kdv', 'kdw', 'kdx', 'kdy', 'kdz', 'kea', 'keb', 'kec', 'ked', 'kee', 'kef', 'keg', 'keh', 'kei', 'kej', 'kek', 'kel', 'kem', 'ken', 'keo', 'kep', 'keq', 'ker', 'kes', 'ket', 'keu', 'kev', 'kew', 'kex', 'key', 'kez', 'kfa', 'kfb', 'kfc', 'kfd', 'kfe', 'kff', 'kfg', 'kfh', 'kfi', 'kfj', 'kfk', 'kfl', 'kfm', 'kfn', 'kfo', 'kfp', 'kfq', 'kfr', 'kfs', 'kft', 'kfu', 'kfv', 'kfw', 'kfx', 'kfy', 'kfz', 'kga', 'kgb', 'kgc', 'kgd', 'kge', 'kgf', 'kgg', 'kgh', 'kgi', 'kgj', 'kgk', 'kgl', 'kgm', 'kgn', 'kgo', 'kgp', 'kgq', 'kgr', 'kgs', 'kgt', 'kgu', 'kgv', 'kgw', 'kgx', 'kgy', 'kha', 'khb', 'khc', 'khd', 'khe', 'khf', 'khg', 'khh', 'khi', 'khj', 'khk', 'khl', 'khn', 'kho', 'khp', 'khq', 'khr', 'khs', 'kht', 'khu', 'khv', 'khw', 'khx', 'khy', 'khz', 'kia', 'kib', 'kic', 'kid', 'kie', 'kif', 'kig', 'kih', 'kii', 'kij', 'kil', 'kim', 'kio', 'kip', 'kiq', 'kis', 'kit', 'kiu', 'kiv', 'kiw', 'kix', 'kiy', 'kiz', 'kja', 'kjb', 'kjc', 'kjd', 'kje', 'kjf', 'kjg', 'kjh', 'kji', 'kjj', 'kjk', 'kjl', 'kjm', 'kjn', 'kjo', 'kjp', 'kjq', 'kjr', 'kjs', 'kjt', 'kju', 'kjv', 'kjx', 'kjy', 'kjz', 'kka', 'kkb', 'kkc', 'kkd', 'kke', 'kkf', 'kkg', 'kkh', 'kki', 'kkj', 'kkk', 'kkl', 'kkm', 'kkn', 'kko', 'kkp', 'kkq', 'kkr', 'kks', 'kkt', 'kku', 'kkv', 'kkw', 'kkx', 'kky', 'kkz', 'kla', 'klb', 'klc', 'kld', 'kle', 'klf', 'klg', 'klh', 'kli', 'klj', 'klk', 'kll', 'klm', 'kln', 'klo', 'klp', 'klq', 'klr', 'kls', 'klt', 'klu', 'klv', 'klw', 'klx', 'kly', 'klz', 'kma', 'kmb', 'kmc', 'kmd', 'kme', 'kmf', 'kmg', 'kmh', 'kmi', 'kmj', 'kmk', 'kml', 'kmm', 'kmn', 'kmo', 'kmp', 'kmq', 'kmr', 'kms', 'kmt', 'kmu', 'kmv', 'kmw', 'kmx', 'kmy', 'kmz', 'kna', 'knb', 'knc', 'knd', 'kne', 'knf', 'kng', 'kni', 'knj', 'knk', 'knl', 'knm', 'knn', 'kno', 'knp', 'knq', 'knr', 'kns', 'knt', 'knu', 'knv', 'knw', 'knx', 'kny', 'knz', 'koa', 'koc', 'kod', 'koe', 'kof', 'kog', 'koh', 'koi', 'koj', 'kok', 'kol', 'koo', 'kop', 'koq', 'kos', 'kot', 'kou', 'kov', 'kow', 'kox', 'koy', 'koz', 'kpa', 'kpb', 'kpc', 'kpd', 'kpe', 'kpf', 'kpg', 'kph', 'kpi', 'kpj', 'kpk', 'kpl', 'kpm', 'kpn', 'kpo', 'kpp', 'kpq', 'kpr', 'kps', 'kpt', 'kpu', 'kpv', 'kpw', 'kpx', 'kpy', 'kpz', 'kqa', 'kqb', 'kqc', 'kqd', 'kqe', 'kqf', 'kqg', 'kqh', 'kqi', 'kqj', 'kqk', 'kql', 'kqm', 'kqn', 'kqo', 'kqp', 'kqq', 'kqr', 'kqs', 'kqt', 'kqu', 'kqv', 'kqw', 'kqx', 'kqy', 'kqz', 'kra', 'krb', 'krc', 'krd', 'kre', 'krf', 'krh', 'kri', 'krj', 'krk', 'krl', 'krm', 'krn', 'kro', 'krp', 'krr', 'krs', 'krt', 'kru', 'krv', 'krw', 'krx', 'kry', 'krz', 'ksa', 'ksb', 'ksc', 'ksd', 'kse', 'ksf', 'ksg', 'ksh', 'ksi', 'ksj', 'ksk', 'ksl', 'ksm', 'ksn', 'kso', 'ksp', 'ksq', 'ksr', 'kss', 'kst', 'ksu', 'ksv', 'ksw', 'ksx', 'ksy', 'ksz', 'kta', 'ktb', 'ktc', 'ktd', 'kte', 'ktf', 'ktg', 'kth', 'kti', 'ktj', 'ktk', 'ktl', 'ktm', 'ktn', 'kto', 'ktp', 'ktq', 'ktr', 'kts', 'ktt', 'ktu', 'ktv', 'ktw', 'ktx', 'kty', 'ktz', 'kub', 'kuc', 'kud', 'kue', 'kuf', 'kug', 'kuh', 'kui', 'kuj', 'kuk', 'kul', 'kum', 'kun', 'kuo', 'kup', 'kuq', 'kus', 'kut', 'kuu', 'kuv', 'kuw', 'kux', 'kuy', 'kuz', 'kva', 'kvb', 'kvc', 'kvd', 'kve', 'kvf', 'kvg', 'kvh', 'kvi', 'kvj', 'kvk', 'kvl', 'kvm', 'kvn', 'kvo', 'kvp', 'kvq', 'kvr', 'kvs', 'kvt', 'kvu', 'kvv', 'kvw', 'kvx', 'kvy', 'kvz', 'kwa', 'kwb', 'kwc', 'kwd', 'kwe', 'kwf', 'kwg', 'kwh', 'kwi', 'kwj', 'kwk', 'kwl', 'kwm', 'kwn', 'kwo', 'kwp', 'kwq', 'kwr', 'kws', 'kwt', 'kwu', 'kwv', 'kww', 'kwx', 'kwy', 'kwz', 'kxa', 'kxb', 'kxc', 'kxd', 'kxe', 'kxf', 'kxh', 'kxi', 'kxj', 'kxk', 'kxl', 'kxm', 'kxn', 'kxo', 'kxp', 'kxq', 'kxr', 'kxs', 'kxt', 'kxu', 'kxv', 'kxw', 'kxx', 'kxy', 'kxz', 'kya', 'kyb', 'kyc', 'kyd', 'kye', 'kyf', 'kyg', 'kyh', 'kyi', 'kyj', 'kyk', 'kyl', 'kym', 'kyn', 'kyo', 'kyp', 'kyq', 'kyr', 'kys', 'kyt', 'kyu', 'kyv', 'kyw', 'kyx', 'kyy', 'kyz', 'kza', 'kzb', 'kzc', 'kzd', 'kze', 'kzf', 'kzg', 'kzh', 'kzi', 'kzj', 'kzk', 'kzl', 'kzm', 'kzn', 'kzo', 'kzp', 'kzq', 'kzr', 'kzs', 'kzt', 'kzu', 'kzv', 'kzw', 'kzx', 'kzy', 'kzz', 'laa', 'lab', 'lac', 'lad', 'lae', 'laf', 'lag', 'lah', 'lai', 'laj', 'lak', 'lal', 'lam', 'lan', 'lap', 'laq', 'lar', 'las', 'lau', 'law', 'lax', 'lay', 'laz', 'lba', 'lbb', 'lbc', 'lbe', 'lbf', 'lbg', 'lbi', 'lbj', 'lbk', 'lbl', 'lbm', 'lbn', 'lbo', 'lbq', 'lbr', 'lbs', 'lbt', 'lbu', 'lbv', 'lbw', 'lbx', 'lby', 'lbz', 'lcc', 'lcd', 'lce', 'lcf', 'lch', 'lcl', 'lcm', 'lcp', 'lcq', 'lcs', 'lda', 'ldb', 'ldd', 'ldg', 'ldh', 'ldi', 'ldj', 'ldk', 'ldl', 'ldm', 'ldn', 'ldo', 'ldp', 'ldq', 'lea', 'leb', 'lec', 'led', 'lee', 'lef', 'leg', 'leh', 'lei', 'lej', 'lek', 'lel', 'lem', 'len', 'leo', 'lep', 'leq', 'ler', 'les', 'let', 'leu', 'lev', 'lew', 'lex', 'ley', 'lez', 'lfa', 'lfn', 'lga', 'lgb', 'lgg', 'lgh', 'lgi', 'lgk', 'lgl', 'lgm', 'lgn', 'lgq', 'lgr', 'lgt', 'lgu', 'lgz', 'lha', 'lhh', 'lhi', 'lhl', 'lhm', 'lhn', 'lhp', 'lhs', 'lht', 'lhu', 'lia', 'lib', 'lic', 'lid', 'lie', 'lif', 'lig', 'lih', 'lii', 'lij', 'lik', 'lil', 'lio', 'lip', 'liq', 'lir', 'lis', 'liu', 'liv', 'liw', 'lix', 'liy', 'liz', 'lja', 'lje', 'lji', 'ljl', 'ljp', 'ljw', 'ljx', 'lka', 'lkb', 'lkc', 'lkd', 'lke', 'lkh', 'lki', 'lkj', 'lkl', 'lkm', 'lkn', 'lko', 'lkr', 'lks', 'lkt', 'lku', 'lky', 'lla', 'llb', 'llc', 'lld', 'lle', 'llf', 'llg', 'llh', 'lli', 'llj', 'llk', 'lll', 'llm', 'lln', 'llo', 'llp', 'llq', 'lls', 'llu', 'llx', 'lma', 'lmb', 'lmc', 'lmd', 'lme', 'lmf', 'lmg', 'lmh', 'lmi', 'lmj', 'lmk', 'lml', 'lmm', 'lmn', 'lmo', 'lmp', 'lmq', 'lmr', 'lmu', 'lmv', 'lmw', 'lmx', 'lmy', 'lmz', 'lna', 'lnb', 'lnd', 'lng', 'lnh', 'lni', 'lnj', 'lnl', 'lnm', 'lnn', 'lno', 'lns', 'lnu', 'lnw', 'lnz', 'loa', 'lob', 'loc', 'loe', 'lof', 'log', 'loh', 'loi', 'loj', 'lok', 'lol', 'lom', 'lon', 'loo', 'lop', 'loq', 'lor', 'los', 'lot', 'lou', 'lov', 'low', 'lox', 'loy', 'loz', 'lpa', 'lpe', 'lpn', 'lpo', 'lpx', 'lra', 'lrc', 'lre', 'lrg', 'lri', 'lrk', 'lrl', 'lrm', 'lrn', 'lro', 'lrr', 'lrt', 'lrv', 'lrz', 'lsa', 'lsd', 'lse', 'lsg', 'lsh', 'lsi', 'lsl', 'lsm', 'lso', 'lsp', 'lsr', 'lss', 'lst', 'lsy', 'ltc', 'ltg', 'lth', 'lti', 'ltn', 'lto', 'lts', 'ltu', 'lua', 'luc', 'lud', 'lue', 'luf', 'lui', 'luj', 'luk', 'lul', 'lum', 'lun', 'luo', 'lup', 'luq', 'lur', 'lus', 'lut', 'luu', 'luv', 'luw', 'luy', 'luz', 'lva', 'lvk', 'lvs', 'lvu', 'lwa', 'lwe', 'lwg', 'lwh', 'lwl', 'lwm', 'lwo', 'lws', 'lwt', 'lwu', 'lww', 'lya', 'lyg', 'lyn', 'lzh', 'lzl', 'lzn', 'lzz', 'maa', 'mab', 'mad', 'mae', 'maf', 'mag', 'mai', 'maj', 'mak', 'mam', 'man', 'map', 'maq', 'mas', 'mat', 'mau', 'mav', 'maw', 'max', 'maz', 'mba', 'mbb', 'mbc', 'mbd', 'mbe', 'mbf', 'mbh', 'mbi', 'mbj', 'mbk', 'mbl', 'mbm', 'mbn', 'mbo', 'mbp', 'mbq', 'mbr', 'mbs', 'mbt', 'mbu', 'mbv', 'mbw', 'mbx', 'mby', 'mbz', 'mca', 'mcb', 'mcc', 'mcd', 'mce', 'mcf', 'mcg', 'mch', 'mci', 'mcj', 'mck', 'mcl', 'mcm', 'mcn', 'mco', 'mcp', 'mcq', 'mcr', 'mcs', 'mct', 'mcu', 'mcv', 'mcw', 'mcx', 'mcy', 'mcz', 'mda', 'mdb', 'mdc', 'mdd', 'mde', 'mdf', 'mdg', 'mdh', 'mdi', 'mdj', 'mdk', 'mdl', 'mdm', 'mdn', 'mdp', 'mdq', 'mdr', 'mds', 'mdt', 'mdu', 'mdv', 'mdw', 'mdx', 'mdy', 'mdz', 'mea', 'meb', 'mec', 'med', 'mee', 'mef', 'meg', 'meh', 'mei', 'mej', 'mek', 'mel', 'mem', 'men', 'meo', 'mep', 'meq', 'mer', 'mes', 'met', 'meu', 'mev', 'mew', 'mey', 'mez', 'mfa', 'mfb', 'mfc', 'mfd', 'mfe', 'mff', 'mfg', 'mfh', 'mfi', 'mfj', 'mfk', 'mfl', 'mfm', 'mfn', 'mfo', 'mfp', 'mfq', 'mfr', 'mfs', 'mft', 'mfu', 'mfv', 'mfw', 'mfx', 'mfy', 'mfz', 'mga', 'mgb', 'mgc', 'mgd', 'mge', 'mgf', 'mgg', 'mgh', 'mgi', 'mgj', 'mgk', 'mgl', 'mgm', 'mgn', 'mgo', 'mgp', 'mgq', 'mgr', 'mgs', 'mgt', 'mgu', 'mgv', 'mgw', 'mgx', 'mgy', 'mgz', 'mha', 'mhb', 'mhc', 'mhd', 'mhe', 'mhf', 'mhg', 'mhh', 'mhi', 'mhj', 'mhk', 'mhl', 'mhm', 'mhn', 'mho', 'mhp', 'mhq', 'mhr', 'mhs', 'mht', 'mhu', 'mhw', 'mhx', 'mhy', 'mhz', 'mia', 'mib', 'mic', 'mid', 'mie', 'mif', 'mig', 'mih', 'mii', 'mij', 'mik', 'mil', 'mim', 'min', 'mio', 'mip', 'miq', 'mir', 'mis', 'mit', 'miu', 'miw', 'mix', 'miy', 'miz', 'mja', 'mjb', 'mjc', 'mjd', 'mje', 'mjg', 'mjh', 'mji', 'mjj', 'mjk', 'mjl', 'mjm', 'mjn', 'mjo', 'mjp', 'mjq', 'mjr', 'mjs', 'mjt', 'mju', 'mjv', 'mjw', 'mjx', 'mjy', 'mjz', 'mka', 'mkb', 'mkc', 'mke', 'mkf', 'mkg', 'mkh', 'mki', 'mkj', 'mkk', 'mkl', 'mkm', 'mkn', 'mko', 'mkp', 'mkq', 'mkr', 'mks', 'mkt', 'mku', 'mkv', 'mkw', 'mkx', 'mky', 'mkz', 'mla', 'mlb', 'mlc', 'mld', 'mle', 'mlf', 'mlh', 'mli', 'mlj', 'mlk', 'mll', 'mlm', 'mln', 'mlo', 'mlp', 'mlq', 'mlr', 'mls', 'mlu', 'mlv', 'mlw', 'mlx', 'mlz', 'mma', 'mmb', 'mmc', 'mmd', 'mme', 'mmf', 'mmg', 'mmh', 'mmi', 'mmj', 'mmk', 'mml', 'mmm', 'mmn', 'mmo', 'mmp', 'mmq', 'mmr', 'mmt', 'mmu', 'mmv', 'mmw', 'mmx', 'mmy', 'mmz', 'mna', 'mnb', 'mnc', 'mnd', 'mne', 'mnf', 'mng', 'mnh', 'mni', 'mnj', 'mnk', 'mnl', 'mnm', 'mnn', 'mno', 'mnp', 'mnq', 'mnr', 'mns', 'mnt', 'mnu', 'mnv', 'mnw', 'mnx', 'mny', 'mnz', 'moa', 'moc', 'mod', 'moe', 'mof', 'mog', 'moh', 'moi', 'moj', 'mok', 'mom', 'moo', 'mop', 'moq', 'mor', 'mos', 'mot', 'mou', 'mov', 'mow', 'mox', 'moy', 'moz', 'mpa', 'mpb', 'mpc', 'mpd', 'mpe', 'mpg', 'mph', 'mpi', 'mpj', 'mpk', 'mpl', 'mpm', 'mpn', 'mpo', 'mpp', 'mpq', 'mpr', 'mps', 'mpt', 'mpu', 'mpv', 'mpw', 'mpx', 'mpy', 'mpz', 'mqa', 'mqb', 'mqc', 'mqe', 'mqf', 'mqg', 'mqh', 'mqi', 'mqj', 'mqk', 'mql', 'mqm', 'mqn', 'mqo', 'mqp', 'mqq', 'mqr', 'mqs', 'mqt', 'mqu', 'mqv', 'mqw', 'mqx', 'mqy', 'mqz', 'mra', 'mrb', 'mrc', 'mrd', 'mre', 'mrf', 'mrg', 'mrh', 'mrj', 'mrk', 'mrl', 'mrm', 'mrn', 'mro', 'mrp', 'mrq', 'mrr', 'mrs', 'mrt', 'mru', 'mrv', 'mrw', 'mrx', 'mry', 'mrz', 'msb', 'msc', 'msd', 'mse', 'msf', 'msg', 'msh', 'msi', 'msj', 'msk', 'msl', 'msm', 'msn', 'mso', 'msp', 'msq', 'msr', 'mss', 'mst', 'msu', 'msv', 'msw', 'msx', 'msy', 'msz', 'mta', 'mtb', 'mtc', 'mtd', 'mte', 'mtf', 'mtg', 'mth', 'mti', 'mtj', 'mtk', 'mtl', 'mtm', 'mtn', 'mto', 'mtp', 'mtq', 'mtr', 'mts', 'mtt', 'mtu', 'mtv', 'mtw', 'mtx', 'mty', 'mua', 'mub', 'muc', 'mud', 'mue', 'mug', 'muh', 'mui', 'muj', 'muk', 'mul', 'mum', 'mun', 'muo', 'mup', 'muq', 'mur', 'mus', 'mut', 'muu', 'muv', 'mux', 'muy', 'muz', 'mva', 'mvb', 'mvd', 'mve', 'mvf', 'mvg', 'mvh', 'mvi', 'mvk', 'mvl', 'mvm', 'mvn', 'mvo', 'mvp', 'mvq', 'mvr', 'mvs', 'mvt', 'mvu', 'mvv', 'mvw', 'mvx', 'mvy', 'mvz', 'mwa', 'mwb', 'mwc', 'mwd', 'mwe', 'mwf', 'mwg', 'mwh', 'mwi', 'mwj', 'mwk', 'mwl', 'mwm', 'mwn', 'mwo', 'mwp', 'mwq', 'mwr', 'mws', 'mwt', 'mwu', 'mwv', 'mww', 'mwx', 'mwy', 'mwz', 'mxa', 'mxb', 'mxc', 'mxd', 'mxe', 'mxf', 'mxg', 'mxh', 'mxi', 'mxj', 'mxk', 'mxl', 'mxm', 'mxn', 'mxo', 'mxp', 'mxq', 'mxr', 'mxs', 'mxt', 'mxu', 'mxv', 'mxw', 'mxx', 'mxy', 'mxz', 'myb', 'myc', 'myd', 'mye', 'myf', 'myg', 'myh', 'myi', 'myj', 'myk', 'myl', 'mym', 'myn', 'myo', 'myp', 'myq', 'myr', 'mys', 'myt', 'myu', 'myv', 'myw', 'myx', 'myy', 'myz', 'mza', 'mzb', 'mzc', 'mzd', 'mze', 'mzg', 'mzh', 'mzi', 'mzj', 'mzk', 'mzl', 'mzm', 'mzn', 'mzo', 'mzp', 'mzq', 'mzr', 'mzs', 'mzt', 'mzu', 'mzv', 'mzw', 'mzx', 'mzy', 'mzz', 'naa', 'nab', 'nac', 'nad', 'nae', 'naf', 'nag', 'nah', 'nai', 'naj', 'nak', 'nal', 'nam', 'nan', 'nao', 'nap', 'naq', 'nar', 'nas', 'nat', 'naw', 'nax', 'nay', 'naz', 'nba', 'nbb', 'nbc', 'nbd', 'nbe', 'nbf', 'nbg', 'nbh', 'nbi', 'nbj', 'nbk', 'nbm', 'nbn', 'nbo', 'nbp', 'nbq', 'nbr', 'nbs', 'nbt', 'nbu', 'nbv', 'nbw', 'nbx', 'nby', 'nca', 'ncb', 'ncc', 'ncd', 'nce', 'ncf', 'ncg', 'nch', 'nci', 'ncj', 'nck', 'ncl', 'ncm', 'ncn', 'nco', 'ncp', 'ncq', 'ncr', 'ncs', 'nct', 'ncu', 'ncx', 'ncz', 'nda', 'ndb', 'ndc', 'ndd', 'ndf', 'ndg', 'ndh', 'ndi', 'ndj', 'ndk', 'ndl', 'ndm', 'ndn', 'ndp', 'ndq', 'ndr', 'nds', 'ndt', 'ndu', 'ndv', 'ndw', 'ndx', 'ndy', 'ndz', 'nea', 'neb', 'nec', 'ned', 'nee', 'nef', 'neg', 'neh', 'nei', 'nej', 'nek', 'nem', 'nen', 'neo', 'neq', 'ner', 'nes', 'net', 'neu', 'nev', 'new', 'nex', 'ney', 'nez', 'nfa', 'nfd', 'nfl', 'nfr', 'nfu', 'nga', 'ngb', 'ngc', 'ngd', 'nge', 'ngf', 'ngg', 'ngh', 'ngi', 'ngj', 'ngk', 'ngl', 'ngm', 'ngn', 'ngo', 'ngp', 'ngq', 'ngr', 'ngs', 'ngt', 'ngu', 'ngv', 'ngw', 'ngx', 'ngy', 'ngz', 'nha', 'nhb', 'nhc', 'nhd', 'nhe', 'nhf', 'nhg', 'nhh', 'nhi', 'nhk', 'nhm', 'nhn', 'nho', 'nhp', 'nhq', 'nhr', 'nht', 'nhu', 'nhv', 'nhw', 'nhx', 'nhy', 'nhz', 'nia', 'nib', 'nic', 'nid', 'nie', 'nif', 'nig', 'nih', 'nii', 'nij', 'nik', 'nil', 'nim', 'nin', 'nio', 'niq', 'nir', 'nis', 'nit', 'niu', 'niv', 'niw', 'nix', 'niy', 'niz', 'nja', 'njb', 'njd', 'njh', 'nji', 'njj', 'njl', 'njm', 'njn', 'njo', 'njr', 'njs', 'njt', 'nju', 'njx', 'njy', 'njz', 'nka', 'nkb', 'nkc', 'nkd', 'nke', 'nkf', 'nkg', 'nkh', 'nki', 'nkj', 'nkk', 'nkm', 'nkn', 'nko', 'nkp', 'nkq', 'nkr', 'nks', 'nkt', 'nku', 'nkv', 'nkw', 'nkx', 'nkz', 'nla', 'nlc', 'nle', 'nlg', 'nli', 'nlj', 'nlk', 'nll', 'nlm', 'nln', 'nlo', 'nlq', 'nlr', 'nlu', 'nlv', 'nlw', 'nlx', 'nly', 'nlz', 'nma', 'nmb', 'nmc', 'nmd', 'nme', 'nmf', 'nmg', 'nmh', 'nmi', 'nmj', 'nmk', 'nml', 'nmm', 'nmn', 'nmo', 'nmp', 'nmq', 'nmr', 'nms', 'nmt', 'nmu', 'nmv', 'nmw', 'nmx', 'nmy', 'nmz', 'nna', 'nnb', 'nnc', 'nnd', 'nne', 'nnf', 'nng', 'nnh', 'nni', 'nnj', 'nnk', 'nnl', 'nnm', 'nnn', 'nnp', 'nnq', 'nnr', 'nns', 'nnt', 'nnu', 'nnv', 'nnw', 'nnx', 'nny', 'nnz', 'noa', 'noc', 'nod', 'noe', 'nof', 'nog', 'noh', 'noi', 'noj', 'nok', 'nol', 'nom', 'non', 'noo', 'nop', 'noq', 'nos', 'not', 'nou', 'nov', 'now', 'noy', 'noz', 'npa', 'npb', 'npg', 'nph', 'npi', 'npl', 'npn', 'npo', 'nps', 'npu', 'npx', 'npy', 'nqg', 'nqk', 'nql', 'nqm', 'nqn', 'nqo', 'nqq', 'nqy', 'nra', 'nrb', 'nrc', 'nre', 'nrf', 'nrg', 'nri', 'nrk', 'nrl', 'nrm', 'nrn', 'nrp', 'nrr', 'nrt', 'nru', 'nrx', 'nrz', 'nsa', 'nsc', 'nsd', 'nse', 'nsf', 'nsg', 'nsh', 'nsi', 'nsk', 'nsl', 'nsm', 'nsn', 'nso', 'nsp', 'nsq', 'nsr', 'nss', 'nst', 'nsu', 'nsv', 'nsw', 'nsx', 'nsy', 'nsz', 'ntd', 'nte', 'ntg', 'nti', 'ntj', 'ntk', 'ntm', 'nto', 'ntp', 'ntr', 'nts', 'ntu', 'ntw', 'ntx', 'nty', 'ntz', 'nua', 'nub', 'nuc', 'nud', 'nue', 'nuf', 'nug', 'nuh', 'nui', 'nuj', 'nuk', 'nul', 'num', 'nun', 'nuo', 'nup', 'nuq', 'nur', 'nus', 'nut', 'nuu', 'nuv', 'nuw', 'nux', 'nuy', 'nuz', 'nvh', 'nvm', 'nvo', 'nwa', 'nwb', 'nwc', 'nwe', 'nwg', 'nwi', 'nwm', 'nwo', 'nwr', 'nwx', 'nwy', 'nxa', 'nxd', 'nxe', 'nxg', 'nxi', 'nxk', 'nxl', 'nxm', 'nxn', 'nxo', 'nxq', 'nxr', 'nxu', 'nxx', 'nyb', 'nyc', 'nyd', 'nye', 'nyf', 'nyg', 'nyh', 'nyi', 'nyj', 'nyk', 'nyl', 'nym', 'nyn', 'nyo', 'nyp', 'nyq', 'nyr', 'nys', 'nyt', 'nyu', 'nyv', 'nyw', 'nyx', 'nyy', 'nza', 'nzb', 'nzd', 'nzi', 'nzk', 'nzm', 'nzs', 'nzu', 'nzy', 'nzz', 'oaa', 'oac', 'oar', 'oav', 'obi', 'obk', 'obl', 'obm', 'obo', 'obr', 'obt', 'obu', 'oca', 'och', 'oco', 'ocu', 'oda', 'odk', 'odt', 'odu', 'ofo', 'ofs', 'ofu', 'ogb', 'ogc', 'oge', 'ogg', 'ogo', 'ogu', 'oht', 'ohu', 'oia', 'oin', 'ojb', 'ojc', 'ojg', 'ojp', 'ojs', 'ojv', 'ojw', 'oka', 'okb', 'okd', 'oke', 'okg', 'okh', 'oki', 'okj', 'okk', 'okl', 'okm', 'okn', 'oko', 'okr', 'oks', 'oku', 'okv', 'okx', 'ola', 'old', 'ole', 'olk', 'olm', 'olo', 'olr', 'olt', 'olu', 'oma', 'omb', 'omc', 'ome', 'omg', 'omi', 'omk', 'oml', 'omn', 'omo', 'omp', 'omq', 'omr', 'omt', 'omu', 'omv', 'omw', 'omx', 'ona', 'onb', 'one', 'ong', 'oni', 'onj', 'onk', 'onn', 'ono', 'onp', 'onr', 'ons', 'ont', 'onu', 'onw', 'onx', 'ood', 'oog', 'oon', 'oor', 'oos', 'opa', 'opk', 'opm', 'opo', 'opt', 'opy', 'ora', 'orc', 'ore', 'org', 'orh', 'orn', 'oro', 'orr', 'ors', 'ort', 'oru', 'orv', 'orw', 'orx', 'ory', 'orz', 'osa', 'osc', 'osi', 'oso', 'osp', 'ost', 'osu', 'osx', 'ota', 'otb', 'otd', 'ote', 'oti', 'otk', 'otl', 'otm', 'otn', 'oto', 'otq', 'otr', 'ots', 'ott', 'otu', 'otw', 'otx', 'oty', 'otz', 'oua', 'oub', 'oue', 'oui', 'oum', 'oun', 'ovd', 'owi', 'owl', 'oyb', 'oyd', 'oym', 'oyy', 'ozm', 'paa', 'pab', 'pac', 'pad', 'pae', 'paf', 'pag', 'pah', 'pai', 'pak', 'pal', 'pam', 'pao', 'pap', 'paq', 'par', 'pas', 'pat', 'pau', 'pav', 'paw', 'pax', 'pay', 'paz', 'pbb', 'pbc', 'pbe', 'pbf', 'pbg', 'pbh', 'pbi', 'pbl', 'pbm', 'pbn', 'pbo', 'pbp', 'pbr', 'pbs', 'pbt', 'pbu', 'pbv', 'pby', 'pbz', 'pca', 'pcb', 'pcc', 'pcd', 'pce', 'pcf', 'pcg', 'pch', 'pci', 'pcj', 'pck', 'pcl', 'pcm', 'pcn', 'pcp', 'pcr', 'pcw', 'pda', 'pdc', 'pdi', 'pdn', 'pdo', 'pdt', 'pdu', 'pea', 'peb', 'ped', 'pee', 'pef', 'peg', 'peh', 'pei', 'pej', 'pek', 'pel', 'pem', 'peo', 'pep', 'peq', 'pes', 'pev', 'pex', 'pey', 'pez', 'pfa', 'pfe', 'pfl', 'pga', 'pgd', 'pgg', 'pgi', 'pgk', 'pgl', 'pgn', 'pgs', 'pgu', 'pgy', 'pgz', 'pha', 'phd', 'phg', 'phh', 'phi', 'phk', 'phl', 'phm', 'phn', 'pho', 'phq', 'phr', 'pht', 'phu', 'phv', 'phw', 'pia', 'pib', 'pic', 'pid', 'pie', 'pif', 'pig', 'pih', 'pii', 'pij', 'pil', 'pim', 'pin', 'pio', 'pip', 'pir', 'pis', 'pit', 'piu', 'piv', 'piw', 'pix', 'piy', 'piz', 'pjt', 'pka', 'pkb', 'pkc', 'pkg', 'pkh', 'pkn', 'pko', 'pkp', 'pkr', 'pks', 'pkt', 'pku', 'pla', 'plb', 'plc', 'pld', 'ple', 'plf', 'plg', 'plh', 'plj', 'plk', 'pll', 'pln', 'plo', 'plp', 'plq', 'plr', 'pls', 'plt', 'plu', 'plv', 'plw', 'ply', 'plz', 'pma', 'pmb', 'pmc', 'pmd', 'pme', 'pmf', 'pmh', 'pmi', 'pmj', 'pmk', 'pml', 'pmm', 'pmn', 'pmo', 'pmq', 'pmr', 'pms', 'pmt', 'pmu', 'pmw', 'pmx', 'pmy', 'pmz', 'pna', 'pnb', 'pnc', 'pne', 'png', 'pnh', 'pni', 'pnj', 'pnk', 'pnl', 'pnm', 'pnn', 'pno', 'pnp', 'pnq', 'pnr', 'pns', 'pnt', 'pnu', 'pnv', 'pnw', 'pnx', 'pny', 'pnz', 'poc', 'pod', 'poe', 'pof', 'pog', 'poh', 'poi', 'pok', 'pom', 'pon', 'poo', 'pop', 'poq', 'pos', 'pot', 'pov', 'pow', 'pox', 'poy', 'poz', 'ppa', 'ppe', 'ppi', 'ppk', 'ppl', 'ppm', 'ppn', 'ppo', 'ppp', 'ppq', 'ppr', 'pps', 'ppt', 'ppu', 'pqa', 'pqe', 'pqm', 'pqw', 'pra', 'prb', 'prc', 'prd', 'pre', 'prf', 'prg', 'prh', 'pri', 'prk', 'prl', 'prm', 'prn', 'pro', 'prp', 'prq', 'prr', 'prs', 'prt', 'pru', 'prw', 'prx', 'pry', 'prz', 'psa', 'psc', 'psd', 'pse', 'psg', 'psh', 'psi', 'psl', 'psm', 'psn', 'pso', 'psp', 'psq', 'psr', 'pss', 'pst', 'psu', 'psw', 'psy', 'pta', 'pth', 'pti', 'ptn', 'pto', 'ptp', 'ptq', 'ptr', 'ptt', 'ptu', 'ptv', 'ptw', 'pty', 'pua', 'pub', 'puc', 'pud', 'pue', 'puf', 'pug', 'pui', 'puj', 'puk', 'pum', 'puo', 'pup', 'puq', 'pur', 'put', 'puu', 'puw', 'pux', 'puy', 'puz', 'pwa', 'pwb', 'pwg', 'pwi', 'pwm', 'pwn', 'pwo', 'pwr', 'pww', 'pxm', 'pye', 'pym', 'pyn', 'pys', 'pyu', 'pyx', 'pyy', 'pzn', 'qaa..qtz', 'qua', 'qub', 'quc', 'qud', 'quf', 'qug', 'quh', 'qui', 'quk', 'qul', 'qum', 'qun', 'qup', 'quq', 'qur', 'qus', 'quv', 'quw', 'qux', 'quy', 'quz', 'qva', 'qvc', 'qve', 'qvh', 'qvi', 'qvj', 'qvl', 'qvm', 'qvn', 'qvo', 'qvp', 'qvs', 'qvw', 'qvy', 'qvz', 'qwa', 'qwc', 'qwe', 'qwh', 'qwm', 'qws', 'qwt', 'qxa', 'qxc', 'qxh', 'qxl', 'qxn', 'qxo', 'qxp', 'qxq', 'qxr', 'qxs', 'qxt', 'qxu', 'qxw', 'qya', 'qyp', 'raa', 'rab', 'rac', 'rad', 'raf', 'rag', 'rah', 'rai', 'raj', 'rak', 'ral', 'ram', 'ran', 'rao', 'rap', 'raq', 'rar', 'ras', 'rat', 'rau', 'rav', 'raw', 'rax', 'ray', 'raz', 'rbb', 'rbk', 'rbl', 'rbp', 'rcf', 'rdb', 'rea', 'reb', 'ree', 'reg', 'rei', 'rej', 'rel', 'rem', 'ren', 'rer', 'res', 'ret', 'rey', 'rga', 'rge', 'rgk', 'rgn', 'rgr', 'rgs', 'rgu', 'rhg', 'rhp', 'ria', 'rie', 'rif', 'ril', 'rim', 'rin', 'rir', 'rit', 'riu', 'rjg', 'rji', 'rjs', 'rka', 'rkb', 'rkh', 'rki', 'rkm', 'rkt', 'rkw', 'rma', 'rmb', 'rmc', 'rmd', 'rme', 'rmf', 'rmg', 'rmh', 'rmi', 'rmk', 'rml', 'rmm', 'rmn', 'rmo', 'rmp', 'rmq', 'rmr', 'rms', 'rmt', 'rmu', 'rmv', 'rmw', 'rmx', 'rmy', 'rmz', 'rna', 'rnd', 'rng', 'rnl', 'rnn', 'rnp', 'rnr', 'rnw', 'roa', 'rob', 'roc', 'rod', 'roe', 'rof', 'rog', 'rol', 'rom', 'roo', 'rop', 'ror', 'rou', 'row', 'rpn', 'rpt', 'rri', 'rro', 'rrt', 'rsb', 'rsi', 'rsl', 'rsm', 'rtc', 'rth', 'rtm', 'rts', 'rtw', 'rub', 'ruc', 'rue', 'ruf', 'rug', 'ruh', 'rui', 'ruk', 'ruo', 'rup', 'ruq', 'rut', 'ruu', 'ruy', 'ruz', 'rwa', 'rwk', 'rwm', 'rwo', 'rwr', 'rxd', 'rxw', 'ryn', 'rys', 'ryu', 'rzh', 'saa', 'sab', 'sac', 'sad', 'sae', 'saf', 'sah', 'sai', 'saj', 'sak', 'sal', 'sam', 'sao', 'sap', 'saq', 'sar', 'sas', 'sat', 'sau', 'sav', 'saw', 'sax', 'say', 'saz', 'sba', 'sbb', 'sbc', 'sbd', 'sbe', 'sbf', 'sbg', 'sbh', 'sbi', 'sbj', 'sbk', 'sbl', 'sbm', 'sbn', 'sbo', 'sbp', 'sbq', 'sbr', 'sbs', 'sbt', 'sbu', 'sbv', 'sbw', 'sbx', 'sby', 'sbz', 'sca', 'scb', 'sce', 'scf', 'scg', 'sch', 'sci', 'sck', 'scl', 'scn', 'sco', 'scp', 'scq', 'scs', 'sct', 'scu', 'scv', 'scw', 'scx', 'sda', 'sdb', 'sdc', 'sde', 'sdf', 'sdg', 'sdh', 'sdj', 'sdk', 'sdl', 'sdm', 'sdn', 'sdo', 'sdp', 'sdr', 'sds', 'sdt', 'sdu', 'sdv', 'sdx', 'sdz', 'sea', 'seb', 'sec', 'sed', 'see', 'sef', 'seg', 'seh', 'sei', 'sej', 'sek', 'sel', 'sem', 'sen', 'seo', 'sep', 'seq', 'ser', 'ses', 'set', 'seu', 'sev', 'sew', 'sey', 'sez', 'sfb', 'sfe', 'sfm', 'sfs', 'sfw', 'sga', 'sgb', 'sgc', 'sgd', 'sge', 'sgg', 'sgh', 'sgi', 'sgj', 'sgk', 'sgl', 'sgm', 'sgn', 'sgo', 'sgp', 'sgr', 'sgs', 'sgt', 'sgu', 'sgw', 'sgx', 'sgy', 'sgz', 'sha', 'shb', 'shc', 'shd', 'she', 'shg', 'shh', 'shi', 'shj', 'shk', 'shl', 'shm', 'shn', 'sho', 'shp', 'shq', 'shr', 'shs', 'sht', 'shu', 'shv', 'shw', 'shx', 'shy', 'shz', 'sia', 'sib', 'sid', 'sie', 'sif', 'sig', 'sih', 'sii', 'sij', 'sik', 'sil', 'sim', 'sio', 'sip', 'siq', 'sir', 'sis', 'sit', 'siu', 'siv', 'siw', 'six', 'siy', 'siz', 'sja', 'sjb', 'sjd', 'sje', 'sjg', 'sjk', 'sjl', 'sjm', 'sjn', 'sjo', 'sjp', 'sjr', 'sjs', 'sjt', 'sju', 'sjw', 'ska', 'skb', 'skc', 'skd', 'ske', 'skf', 'skg', 'skh', 'ski', 'skj', 'skk', 'skm', 'skn', 'sko', 'skp', 'skq', 'skr', 'sks', 'skt', 'sku', 'skv', 'skw', 'skx', 'sky', 'skz', 'sla', 'slc', 'sld', 'sle', 'slf', 'slg', 'slh', 'sli', 'slj', 'sll', 'slm', 'sln', 'slp', 'slq', 'slr', 'sls', 'slt', 'slu', 'slw', 'slx', 'sly', 'slz', 'sma', 'smb', 'smc', 'smd', 'smf', 'smg', 'smh', 'smi', 'smj', 'smk', 'sml', 'smm', 'smn', 'smp', 'smq', 'smr', 'sms', 'smt', 'smu', 'smv', 'smw', 'smx', 'smy', 'smz', 'snb', 'snc', 'sne', 'snf', 'sng', 'snh', 'sni', 'snj', 'snk', 'snl', 'snm', 'snn', 'sno', 'snp', 'snq', 'snr', 'sns', 'snu', 'snv', 'snw', 'snx', 'sny', 'snz', 'soa', 'sob', 'soc', 'sod', 'soe', 'sog', 'soh', 'soi', 'soj', 'sok', 'sol', 'son', 'soo', 'sop', 'soq', 'sor', 'sos', 'sou', 'sov', 'sow', 'sox', 'soy', 'soz', 'spb', 'spc', 'spd', 'spe', 'spg', 'spi', 'spk', 'spl', 'spm', 'spn', 'spo', 'spp', 'spq', 'spr', 'sps', 'spt', 'spu', 'spv', 'spx', 'spy', 'sqa', 'sqh', 'sqj', 'sqk', 'sqm', 'sqn', 'sqo', 'sqq', 'sqr', 'sqs', 'sqt', 'squ', 'sra', 'srb', 'src', 'sre', 'srf', 'srg', 'srh', 'sri', 'srk', 'srl', 'srm', 'srn', 'sro', 'srq', 'srr', 'srs', 'srt', 'sru', 'srv', 'srw', 'srx', 'sry', 'srz', 'ssa', 'ssb', 'ssc', 'ssd', 'sse', 'ssf', 'ssg', 'ssh', 'ssi', 'ssj', 'ssk', 'ssl', 'ssm', 'ssn', 'sso', 'ssp', 'ssq', 'ssr', 'sss', 'sst', 'ssu', 'ssv', 'ssx', 'ssy', 'ssz', 'sta', 'stb', 'std', 'ste', 'stf', 'stg', 'sth', 'sti', 'stj', 'stk', 'stl', 'stm', 'stn', 'sto', 'stp', 'stq', 'str', 'sts', 'stt', 'stu', 'stv', 'stw', 'sty', 'sua', 'sub', 'suc', 'sue', 'sug', 'sui', 'suj', 'suk', 'sul', 'sum', 'suq', 'sur', 'sus', 'sut', 'suv', 'suw', 'sux', 'suy', 'suz', 'sva', 'svb', 'svc', 'sve', 'svk', 'svm', 'svr', 'svs', 'svx', 'swb', 'swc', 'swf', 'swg', 'swh', 'swi', 'swj', 'swk', 'swl', 'swm', 'swn', 'swo', 'swp', 'swq', 'swr', 'sws', 'swt', 'swu', 'swv', 'sww', 'swx', 'swy', 'sxb', 'sxc', 'sxe', 'sxg', 'sxk', 'sxl', 'sxm', 'sxn', 'sxo', 'sxr', 'sxs', 'sxu', 'sxw', 'sya', 'syb', 'syc', 'syd', 'syi', 'syk', 'syl', 'sym', 'syn', 'syo', 'syr', 'sys', 'syw', 'syx', 'syy', 'sza', 'szb', 'szc', 'szd', 'sze', 'szg', 'szl', 'szn', 'szp', 'szs', 'szv', 'szw', 'taa', 'tab', 'tac', 'tad', 'tae', 'taf', 'tag', 'tai', 'taj', 'tak', 'tal', 'tan', 'tao', 'tap', 'taq', 'tar', 'tas', 'tau', 'tav', 'taw', 'tax', 'tay', 'taz', 'tba', 'tbb', 'tbc', 'tbd', 'tbe', 'tbf', 'tbg', 'tbh', 'tbi', 'tbj', 'tbk', 'tbl', 'tbm', 'tbn', 'tbo', 'tbp', 'tbq', 'tbr', 'tbs', 'tbt', 'tbu', 'tbv', 'tbw', 'tbx', 'tby', 'tbz', 'tca', 'tcb', 'tcc', 'tcd', 'tce', 'tcf', 'tcg', 'tch', 'tci', 'tck', 'tcl', 'tcm', 'tcn', 'tco', 'tcp', 'tcq', 'tcs', 'tct', 'tcu', 'tcw', 'tcx', 'tcy', 'tcz', 'tda', 'tdb', 'tdc', 'tdd', 'tde', 'tdf', 'tdg', 'tdh', 'tdi', 'tdj', 'tdk', 'tdl', 'tdm', 'tdn', 'tdo', 'tdq', 'tdr', 'tds', 'tdt', 'tdu', 'tdv', 'tdx', 'tdy', 'tea', 'teb', 'tec', 'ted', 'tee', 'tef', 'teg', 'teh', 'tei', 'tek', 'tem', 'ten', 'teo', 'tep', 'teq', 'ter', 'tes', 'tet', 'teu', 'tev', 'tew', 'tex', 'tey', 'tez', 'tfi', 'tfn', 'tfo', 'tfr', 'tft', 'tga', 'tgb', 'tgc', 'tgd', 'tge', 'tgf', 'tgg', 'tgh', 'tgi', 'tgj', 'tgn', 'tgo', 'tgp', 'tgq', 'tgr', 'tgs', 'tgt', 'tgu', 'tgv', 'tgw', 'tgx', 'tgy', 'tgz', 'thc', 'thd', 'the', 'thf', 'thh', 'thi', 'thk', 'thl', 'thm', 'thn', 'thp', 'thq', 'thr', 'ths', 'tht', 'thu', 'thv', 'thw', 'thx', 'thy', 'thz', 'tia', 'tic', 'tid', 'tie', 'tif', 'tig', 'tih', 'tii', 'tij', 'tik', 'til', 'tim', 'tin', 'tio', 'tip', 'tiq', 'tis', 'tit', 'tiu', 'tiv', 'tiw', 'tix', 'tiy', 'tiz', 'tja', 'tjg', 'tji', 'tjl', 'tjm', 'tjn', 'tjo', 'tjs', 'tju', 'tjw', 'tka', 'tkb', 'tkd', 'tke', 'tkf', 'tkg', 'tkk', 'tkl', 'tkm', 'tkn', 'tkp', 'tkq', 'tkr', 'tks', 'tkt', 'tku', 'tkv', 'tkw', 'tkx', 'tkz', 'tla', 'tlb', 'tlc', 'tld', 'tlf', 'tlg', 'tlh', 'tli', 'tlj', 'tlk', 'tll', 'tlm', 'tln', 'tlo', 'tlp', 'tlq', 'tlr', 'tls', 'tlt', 'tlu', 'tlv', 'tlw', 'tlx', 'tly', 'tma', 'tmb', 'tmc', 'tmd', 'tme', 'tmf', 'tmg', 'tmh', 'tmi', 'tmj', 'tmk', 'tml', 'tmm', 'tmn', 'tmo', 'tmp', 'tmq', 'tmr', 'tms', 'tmt', 'tmu', 'tmv', 'tmw', 'tmy', 'tmz', 'tna', 'tnb', 'tnc', 'tnd', 'tne', 'tnf', 'tng', 'tnh', 'tni', 'tnk', 'tnl', 'tnm', 'tnn', 'tno', 'tnp', 'tnq', 'tnr', 'tns', 'tnt', 'tnu', 'tnv', 'tnw', 'tnx', 'tny', 'tnz', 'tob', 'toc', 'tod', 'toe', 'tof', 'tog', 'toh', 'toi', 'toj', 'tol', 'tom', 'too', 'top', 'toq', 'tor', 'tos', 'tou', 'tov', 'tow', 'tox', 'toy', 'toz', 'tpa', 'tpc', 'tpe', 'tpf', 'tpg', 'tpi', 'tpj', 'tpk', 'tpl', 'tpm', 'tpn', 'tpo', 'tpp', 'tpq', 'tpr', 'tpt', 'tpu', 'tpv', 'tpw', 'tpx', 'tpy', 'tpz', 'tqb', 'tql', 'tqm', 'tqn', 'tqo', 'tqp', 'tqq', 'tqr', 'tqt', 'tqu', 'tqw', 'tra', 'trb', 'trc', 'trd', 'tre', 'trf', 'trg', 'trh', 'tri', 'trj', 'trk', 'trl', 'trm', 'trn', 'tro', 'trp', 'trq', 'trr', 'trs', 'trt', 'tru', 'trv', 'trw', 'trx', 'try', 'trz', 'tsa', 'tsb', 'tsc', 'tsd', 'tse', 'tsf', 'tsg', 'tsh', 'tsi', 'tsj', 'tsk', 'tsl', 'tsm', 'tsp', 'tsq', 'tsr', 'tss', 'tst', 'tsu', 'tsv', 'tsw', 'tsx', 'tsy', 'tsz', 'tta', 'ttb', 'ttc', 'ttd', 'tte', 'ttf', 'ttg', 'tth', 'tti', 'ttj', 'ttk', 'ttl', 'ttm', 'ttn', 'tto', 'ttp', 'ttq', 'ttr', 'tts', 'ttt', 'ttu', 'ttv', 'ttw', 'tty', 'ttz', 'tua', 'tub', 'tuc', 'tud', 'tue', 'tuf', 'tug', 'tuh', 'tui', 'tuj', 'tul', 'tum', 'tun', 'tuo', 'tup', 'tuq', 'tus', 'tut', 'tuu', 'tuv', 'tuw', 'tux', 'tuy', 'tuz', 'tva', 'tvd', 'tve', 'tvk', 'tvl', 'tvm', 'tvn', 'tvo', 'tvs', 'tvt', 'tvu', 'tvw', 'tvy', 'twa', 'twb', 'twc', 'twd', 'twe', 'twf', 'twg', 'twh', 'twl', 'twm', 'twn', 'two', 'twp', 'twq', 'twr', 'twt', 'twu', 'tww', 'twx', 'twy', 'txa', 'txb', 'txc', 'txe', 'txg', 'txh', 'txi', 'txj', 'txm', 'txn', 'txo', 'txq', 'txr', 'txs', 'txt', 'txu', 'txx', 'txy', 'tya', 'tye', 'tyh', 'tyi', 'tyj', 'tyl', 'tyn', 'typ', 'tyr', 'tys', 'tyt', 'tyu', 'tyv', 'tyx', 'tyz', 'tza', 'tzh', 'tzj', 'tzl', 'tzm', 'tzn', 'tzo', 'tzx', 'uam', 'uan', 'uar', 'uba', 'ubi', 'ubl', 'ubr', 'ubu', 'uby', 'uda', 'ude', 'udg', 'udi', 'udj', 'udl', 'udm', 'udu', 'ues', 'ufi', 'uga', 'ugb', 'uge', 'ugn', 'ugo', 'ugy', 'uha', 'uhn', 'uis', 'uiv', 'uji', 'uka', 'ukg', 'ukh', 'ukk', 'ukl', 'ukp', 'ukq', 'uks', 'uku', 'ukw', 'uky', 'ula', 'ulb', 'ulc', 'ule', 'ulf', 'uli', 'ulk', 'ull', 'ulm', 'uln', 'ulu', 'ulw', 'uma', 'umb', 'umc', 'umd', 'umg', 'umi', 'umm', 'umn', 'umo', 'ump', 'umr', 'ums', 'umu', 'una', 'und', 'une', 'ung', 'unk', 'unm', 'unn', 'unp', 'unr', 'unu', 'unx', 'unz', 'uok', 'upi', 'upv', 'ura', 'urb', 'urc', 'ure', 'urf', 'urg', 'urh', 'uri', 'urj', 'urk', 'url', 'urm', 'urn', 'uro', 'urp', 'urr', 'urt', 'uru', 'urv', 'urw', 'urx', 'ury', 'urz', 'usa', 'ush', 'usi', 'usk', 'usp', 'usu', 'uta', 'ute', 'utp', 'utr', 'utu', 'uum', 'uun', 'uur', 'uuu', 'uve', 'uvh', 'uvl', 'uwa', 'uya', 'uzn', 'uzs', 'vaa', 'vae', 'vaf', 'vag', 'vah', 'vai', 'vaj', 'val', 'vam', 'van', 'vao', 'vap', 'var', 'vas', 'vau', 'vav', 'vay', 'vbb', 'vbk', 'vec', 'ved', 'vel', 'vem', 'veo', 'vep', 'ver', 'vgr', 'vgt', 'vic', 'vid', 'vif', 'vig', 'vil', 'vin', 'vis', 'vit', 'viv', 'vka', 'vki', 'vkj', 'vkk', 'vkl', 'vkm', 'vko', 'vkp', 'vkt', 'vku', 'vlp', 'vls', 'vma', 'vmb', 'vmc', 'vmd', 'vme', 'vmf', 'vmg', 'vmh', 'vmi', 'vmj', 'vmk', 'vml', 'vmm', 'vmp', 'vmq', 'vmr', 'vms', 'vmu', 'vmv', 'vmw', 'vmx', 'vmy', 'vmz', 'vnk', 'vnm', 'vnp', 'vor', 'vot', 'vra', 'vro', 'vrs', 'vrt', 'vsi', 'vsl', 'vsv', 'vto', 'vum', 'vun', 'vut', 'vwa', 'waa', 'wab', 'wac', 'wad', 'wae', 'waf', 'wag', 'wah', 'wai', 'waj', 'wak', 'wal', 'wam', 'wan', 'wao', 'wap', 'waq', 'war', 'was', 'wat', 'wau', 'wav', 'waw', 'wax', 'way', 'waz', 'wba', 'wbb', 'wbe', 'wbf', 'wbh', 'wbi', 'wbj', 'wbk', 'wbl', 'wbm', 'wbp', 'wbq', 'wbr', 'wbs', 'wbt', 'wbv', 'wbw', 'wca', 'wci', 'wdd', 'wdg', 'wdj', 'wdk', 'wdu', 'wdy', 'wea', 'wec', 'wed', 'weg', 'weh', 'wei', 'wem', 'wen', 'weo', 'wep', 'wer', 'wes', 'wet', 'weu', 'wew', 'wfg', 'wga', 'wgb', 'wgg', 'wgi', 'wgo', 'wgu', 'wgw', 'wgy', 'wha', 'whg', 'whk', 'whu', 'wib', 'wic', 'wie', 'wif', 'wig', 'wih', 'wii', 'wij', 'wik', 'wil', 'wim', 'win', 'wir', 'wit', 'wiu', 'wiv', 'wiw', 'wiy', 'wja', 'wji', 'wka', 'wkb', 'wkd', 'wkl', 'wku', 'wkw', 'wky', 'wla', 'wlc', 'wle', 'wlg', 'wli', 'wlk', 'wll', 'wlm', 'wlo', 'wlr', 'wls', 'wlu', 'wlv', 'wlw', 'wlx', 'wly', 'wma', 'wmb', 'wmc', 'wmd', 'wme', 'wmh', 'wmi', 'wmm', 'wmn', 'wmo', 'wms', 'wmt', 'wmw', 'wmx', 'wnb', 'wnc', 'wnd', 'wne', 'wng', 'wni', 'wnk', 'wnm', 'wnn', 'wno', 'wnp', 'wnu', 'wnw', 'wny', 'woa', 'wob', 'woc', 'wod', 'woe', 'wof', 'wog', 'woi', 'wok', 'wom', 'won', 'woo', 'wor', 'wos', 'wow', 'woy', 'wpc', 'wra', 'wrb', 'wrd', 'wrg', 'wrh', 'wri', 'wrk', 'wrl', 'wrm', 'wrn', 'wro', 'wrp', 'wrr', 'wrs', 'wru', 'wrv', 'wrw', 'wrx', 'wry', 'wrz', 'wsa', 'wsg', 'wsi', 'wsk', 'wsr', 'wss', 'wsu', 'wsv', 'wtf', 'wth', 'wti', 'wtk', 'wtm', 'wtw', 'wua', 'wub', 'wud', 'wuh', 'wul', 'wum', 'wun', 'wur', 'wut', 'wuu', 'wuv', 'wux', 'wuy', 'wwa', 'wwb', 'wwo', 'wwr', 'www', 'wxa', 'wxw', 'wya', 'wyb', 'wyi', 'wym', 'wyr', 'wyy', 'xaa', 'xab', 'xac', 'xad', 'xae', 'xag', 'xai', 'xaj', 'xak', 'xal', 'xam', 'xan', 'xao', 'xap', 'xaq', 'xar', 'xas', 'xat', 'xau', 'xav', 'xaw', 'xay', 'xba', 'xbb', 'xbc', 'xbd', 'xbe', 'xbg', 'xbi', 'xbj', 'xbm', 'xbn', 'xbo', 'xbp', 'xbr', 'xbw', 'xbx', 'xby', 'xcb', 'xcc', 'xce', 'xcg', 'xch', 'xcl', 'xcm', 'xcn', 'xco', 'xcr', 'xct', 'xcu', 'xcv', 'xcw', 'xcy', 'xda', 'xdc', 'xdk', 'xdm', 'xdo', 'xdy', 'xeb', 'xed', 'xeg', 'xel', 'xem', 'xep', 'xer', 'xes', 'xet', 'xeu', 'xfa', 'xga', 'xgb', 'xgd', 'xgf', 'xgg', 'xgi', 'xgl', 'xgm', 'xgn', 'xgr', 'xgu', 'xgw', 'xha', 'xhc', 'xhd', 'xhe', 'xhr', 'xht', 'xhu', 'xhv', 'xia', 'xib', 'xii', 'xil', 'xin', 'xip', 'xir', 'xis', 'xiv', 'xiy', 'xjb', 'xjt', 'xka', 'xkb', 'xkc', 'xkd', 'xke', 'xkf', 'xkg', 'xkh', 'xki', 'xkj', 'xkk', 'xkl', 'xkn', 'xko', 'xkp', 'xkq', 'xkr', 'xks', 'xkt', 'xku', 'xkv', 'xkw', 'xkx', 'xky', 'xkz', 'xla', 'xlb', 'xlc', 'xld', 'xle', 'xlg', 'xli', 'xln', 'xlo', 'xlp', 'xls', 'xlu', 'xly', 'xma', 'xmb', 'xmc', 'xmd', 'xme', 'xmf', 'xmg', 'xmh', 'xmj', 'xmk', 'xml', 'xmm', 'xmn', 'xmo', 'xmp', 'xmq', 'xmr', 'xms', 'xmt', 'xmu', 'xmv', 'xmw', 'xmx', 'xmy', 'xmz', 'xna', 'xnb', 'xnd', 'xng', 'xnh', 'xni', 'xnk', 'xnn', 'xno', 'xnr', 'xns', 'xnt', 'xnu', 'xny', 'xnz', 'xoc', 'xod', 'xog', 'xoi', 'xok', 'xom', 'xon', 'xoo', 'xop', 'xor', 'xow', 'xpa', 'xpc', 'xpe', 'xpg', 'xpi', 'xpj', 'xpk', 'xpm', 'xpn', 'xpo', 'xpp', 'xpq', 'xpr', 'xps', 'xpt', 'xpu', 'xpy', 'xqa', 'xqt', 'xra', 'xrb', 'xrd', 'xre', 'xrg', 'xri', 'xrm', 'xrn', 'xrq', 'xrr', 'xrt', 'xru', 'xrw', 'xsa', 'xsb', 'xsc', 'xsd', 'xse', 'xsh', 'xsi', 'xsj', 'xsl', 'xsm', 'xsn', 'xso', 'xsp', 'xsq', 'xsr', 'xss', 'xsu', 'xsv', 'xsy', 'xta', 'xtb', 'xtc', 'xtd', 'xte', 'xtg', 'xth', 'xti', 'xtj', 'xtl', 'xtm', 'xtn', 'xto', 'xtp', 'xtq', 'xtr', 'xts', 'xtt', 'xtu', 'xtv', 'xtw', 'xty', 'xtz', 'xua', 'xub', 'xud', 'xug', 'xuj', 'xul', 'xum', 'xun', 'xuo', 'xup', 'xur', 'xut', 'xuu', 'xve', 'xvi', 'xvn', 'xvo', 'xvs', 'xwa', 'xwc', 'xwd', 'xwe', 'xwg', 'xwj', 'xwk', 'xwl', 'xwo', 'xwr', 'xwt', 'xww', 'xxb', 'xxk', 'xxm', 'xxr', 'xxt', 'xya', 'xyb', 'xyj', 'xyk', 'xyl', 'xyt', 'xyy', 'xzh', 'xzm', 'xzp', 'yaa', 'yab', 'yac', 'yad', 'yae', 'yaf', 'yag', 'yah', 'yai', 'yaj', 'yak', 'yal', 'yam', 'yan', 'yao', 'yap', 'yaq', 'yar', 'yas', 'yat', 'yau', 'yav', 'yaw', 'yax', 'yay', 'yaz', 'yba', 'ybb', 'ybd', 'ybe', 'ybh', 'ybi', 'ybj', 'ybk', 'ybl', 'ybm', 'ybn', 'ybo', 'ybx', 'yby', 'ych', 'ycl', 'ycn', 'ycp', 'yda', 'ydd', 'yde', 'ydg', 'ydk', 'yds', 'yea', 'yec', 'yee', 'yei', 'yej', 'yel', 'yen', 'yer', 'yes', 'yet', 'yeu', 'yev', 'yey', 'yga', 'ygi', 'ygl', 'ygm', 'ygp', 'ygr', 'ygs', 'ygu', 'ygw', 'yha', 'yhd', 'yhl', 'yhs', 'yia', 'yif', 'yig', 'yih', 'yii', 'yij', 'yik', 'yil', 'yim', 'yin', 'yip', 'yiq', 'yir', 'yis', 'yit', 'yiu', 'yiv', 'yix', 'yiy', 'yiz', 'yka', 'ykg', 'yki', 'ykk', 'ykl', 'ykm', 'ykn', 'yko', 'ykr', 'ykt', 'yku', 'yky', 'yla', 'ylb', 'yle', 'ylg', 'yli', 'yll', 'ylm', 'yln', 'ylo', 'ylr', 'ylu', 'yly', 'yma', 'ymb', 'ymc', 'ymd', 'yme', 'ymg', 'ymh', 'ymi', 'ymk', 'yml', 'ymm', 'ymn', 'ymo', 'ymp', 'ymq', 'ymr', 'yms', 'ymt', 'ymx', 'ymz', 'yna', 'ynd', 'yne', 'yng', 'ynh', 'ynk', 'ynl', 'ynn', 'yno', 'ynq', 'yns', 'ynu', 'yob', 'yog', 'yoi', 'yok', 'yol', 'yom', 'yon', 'yos', 'yot', 'yox', 'yoy', 'ypa', 'ypb', 'ypg', 'yph', 'ypk', 'ypm', 'ypn', 'ypo', 'ypp', 'ypz', 'yra', 'yrb', 'yre', 'yri', 'yrk', 'yrl', 'yrm', 'yrn', 'yro', 'yrs', 'yrw', 'yry', 'ysc', 'ysd', 'ysg', 'ysl', 'ysn', 'yso', 'ysp', 'ysr', 'yss', 'ysy', 'yta', 'ytl', 'ytp', 'ytw', 'yty', 'yua', 'yub', 'yuc', 'yud', 'yue', 'yuf', 'yug', 'yui', 'yuj', 'yuk', 'yul', 'yum', 'yun', 'yup', 'yuq', 'yur', 'yut', 'yuu', 'yuw', 'yux', 'yuy', 'yuz', 'yva', 'yvt', 'ywa', 'ywg', 'ywl', 'ywn', 'ywq', 'ywr', 'ywt', 'ywu', 'yww', 'yxa', 'yxg', 'yxl', 'yxm', 'yxu', 'yxy', 'yyr', 'yyu', 'yyz', 'yzg', 'yzk', 'zaa', 'zab', 'zac', 'zad', 'zae', 'zaf', 'zag', 'zah', 'zai', 'zaj', 'zak', 'zal', 'zam', 'zao', 'zap', 'zaq', 'zar', 'zas', 'zat', 'zau', 'zav', 'zaw', 'zax', 'zay', 'zaz', 'zbc', 'zbe', 'zbl', 'zbt', 'zbw', 'zca', 'zch', 'zdj', 'zea', 'zeg', 'zeh', 'zen', 'zga', 'zgb', 'zgh', 'zgm', 'zgn', 'zgr', 'zhb', 'zhd', 'zhi', 'zhn', 'zhw', 'zhx', 'zia', 'zib', 'zik', 'zil', 'zim', 'zin', 'zir', 'ziw', 'ziz', 'zka', 'zkb', 'zkd', 'zkg', 'zkh', 'zkk', 'zkn', 'zko', 'zkp', 'zkr', 'zkt', 'zku', 'zkv', 'zkz', 'zle', 'zlj', 'zlm', 'zln', 'zlq', 'zls', 'zlw', 'zma', 'zmb', 'zmc', 'zmd', 'zme', 'zmf', 'zmg', 'zmh', 'zmi', 'zmj', 'zmk', 'zml', 'zmm', 'zmn', 'zmo', 'zmp', 'zmq', 'zmr', 'zms', 'zmt', 'zmu', 'zmv', 'zmw', 'zmx', 'zmy', 'zmz', 'zna', 'znd', 'zne', 'zng', 'znk', 'zns', 'zoc', 'zoh', 'zom', 'zoo', 'zoq', 'zor', 'zos', 'zpa', 'zpb', 'zpc', 'zpd', 'zpe', 'zpf', 'zpg', 'zph', 'zpi', 'zpj', 'zpk', 'zpl', 'zpm', 'zpn', 'zpo', 'zpp', 'zpq', 'zpr', 'zps', 'zpt', 'zpu', 'zpv', 'zpw', 'zpx', 'zpy', 'zpz', 'zqe', 'zra', 'zrg', 'zrn', 'zro', 'zrp', 'zrs', 'zsa', 'zsk', 'zsl', 'zsm', 'zsr', 'zsu', 'zte', 'ztg', 'ztl', 'ztm', 'ztn', 'ztp', 'ztq', 'zts', 'ztt', 'ztu', 'ztx', 'zty', 'zua', 'zuh', 'zum', 'zun', 'zuy', 'zwa', 'zxx', 'zyb', 'zyg', 'zyj', 'zyn', 'zyp', 'zza', 'zzj' ];
12309 -1 axe.utils.validLangs = function() {
12310 -1 'use strict';
12311 -1 return langs;
12312 -1 };
12313 -1 'use strict';
12314 -1 var _extends = Object.assign || function(target) {
12315 -1 for (var i = 1; i < arguments.length; i++) {
12316 -1 var source = arguments[i];
12317 -1 for (var key in source) {
12318 -1 if (Object.prototype.hasOwnProperty.call(source, key)) {
12319 -1 target[key] = source[key];
12320 -1 }
12321 -1 }
12322 -1 }
12323 -1 return target;
12324 -1 };
12325 -1 var _typeof = typeof Symbol === 'function' && typeof Symbol.iterator === 'symbol' ? function(obj) {
12326 -1 return typeof obj;
12327 -1 } : function(obj) {
12328 -1 return obj && typeof Symbol === 'function' && obj.constructor === Symbol && obj !== Symbol.prototype ? 'symbol' : typeof obj;
12329 -1 };
12330 -1 function _toConsumableArray(arr) {
12331 -1 if (Array.isArray(arr)) {
12332 -1 for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) {
12333 -1 arr2[i] = arr[i];
12334 -1 }
12335 -1 return arr2;
12336 -1 } else {
12337 -1 return Array.from(arr);
12338 -1 }
12339 -1 }
12340 -1 axe._load({
12341 -1 data: {
12342 -1 rules: {
12343 -1 accesskeys: {
12344 -1 description: 'Ensures every accesskey attribute value is unique',
12345 -1 help: 'accesskey attribute value must be unique'
-1 22275 __webpack_exports__['default'] = ariaAttrs;
-1 22276 },
-1 22277 './lib/standards/aria-roles.js': function libStandardsAriaRolesJs(module, __webpack_exports__, __webpack_require__) {
-1 22278 'use strict';
-1 22279 __webpack_require__.r(__webpack_exports__);
-1 22280 var ariaRoles = {
-1 22281 alert: {
-1 22282 type: 'widget',
-1 22283 allowedAttrs: [ 'aria-expanded' ]
12346 22284 },
12347 -1 'area-alt': {
12348 -1 description: 'Ensures <area> elements of image maps have alternate text',
12349 -1 help: 'Active <area> elements must have alternate text'
-1 22285 alertdialog: {
-1 22286 type: 'widget',
-1 22287 allowedAttrs: [ 'aria-expanded', 'aria-modal' ]
12350 22288 },
12351 -1 'aria-allowed-attr': {
12352 -1 description: 'Ensures ARIA attributes are allowed for an element\'s role',
12353 -1 help: 'Elements must only use allowed ARIA attributes'
-1 22289 application: {
-1 22290 type: 'landmark',
-1 22291 allowedAttrs: [ 'aria-activedescendant', 'aria-expanded' ]
12354 22292 },
12355 -1 'aria-allowed-role': {
12356 -1 description: 'Ensures role attribute has an appropriate value for the element',
12357 -1 help: 'ARIA role must be appropriate for the element'
-1 22293 article: {
-1 22294 type: 'structure',
-1 22295 allowedAttrs: [ 'aria-posinset', 'aria-setsize', 'aria-expanded' ]
12358 22296 },
12359 -1 'aria-dpub-role-fallback': {
12360 -1 description: 'Ensures unsupported DPUB roles are only used on elements with implicit fallback roles',
12361 -1 help: 'Unsupported DPUB ARIA roles should be used on elements with implicit fallback roles'
-1 22297 banner: {
-1 22298 type: 'landmark',
-1 22299 allowedAttrs: [ 'aria-expanded' ]
12362 22300 },
12363 -1 'aria-hidden-body': {
12364 -1 description: 'Ensures aria-hidden=\'true\' is not present on the document body.',
12365 -1 help: 'aria-hidden=\'true\' must not be present on the document body'
-1 22301 button: {
-1 22302 type: 'widget',
-1 22303 allowedAttrs: [ 'aria-expanded', 'aria-pressed' ],
-1 22304 nameFromContent: true
12366 22305 },
12367 -1 'aria-hidden-focus': {
12368 -1 description: 'Ensures aria-hidden elements do not contain focusable elements',
12369 -1 help: 'ARIA hidden element must not contain focusable elements'
-1 22306 cell: {
-1 22307 type: 'structure',
-1 22308 requiredContext: [ 'row' ],
-1 22309 allowedAttrs: [ 'aria-colindex', 'aria-colspan', 'aria-rowindex', 'aria-rowspan', 'aria-expanded' ],
-1 22310 nameFromContent: true
12370 22311 },
12371 -1 'aria-required-attr': {
12372 -1 description: 'Ensures elements with ARIA roles have all required ARIA attributes',
12373 -1 help: 'Required ARIA attributes must be provided'
-1 22312 checkbox: {
-1 22313 type: 'widget',
-1 22314 allowedAttrs: [ 'aria-checked', 'aria-readonly', 'aria-required' ],
-1 22315 nameFromContent: true
12374 22316 },
12375 -1 'aria-required-children': {
12376 -1 description: 'Ensures elements with an ARIA role that require child roles contain them',
12377 -1 help: 'Certain ARIA roles must contain particular children'
-1 22317 columnheader: {
-1 22318 type: 'structure',
-1 22319 requiredContext: [ 'row' ],
-1 22320 allowedAttrs: [ 'aria-sort', 'aria-colindex', 'aria-colspan', 'aria-expanded', 'aria-readonly', 'aria-required', 'aria-rowindex', 'aria-rowspan', 'aria-selected' ],
-1 22321 nameFromContent: true
12378 22322 },
12379 -1 'aria-required-parent': {
12380 -1 description: 'Ensures elements with an ARIA role that require parent roles are contained by them',
12381 -1 help: 'Certain ARIA roles must be contained by particular parents'
-1 22323 combobox: {
-1 22324 type: 'composite',
-1 22325 requiredOwned: [ 'listbox', 'tree', 'grid', 'dialog', 'textbox' ],
-1 22326 requiredAttrs: [ 'aria-expanded' ],
-1 22327 allowedAttrs: [ 'aria-controls', 'aria-autocomplete', 'aria-readonly', 'aria-required', 'aria-activedescendant', 'aria-orientation' ]
12382 22328 },
12383 -1 'aria-roles': {
12384 -1 description: 'Ensures all elements with a role attribute use a valid value',
12385 -1 help: 'ARIA roles used must conform to valid values'
-1 22329 command: {
-1 22330 type: 'abstract'
12386 22331 },
12387 -1 'aria-valid-attr-value': {
12388 -1 description: 'Ensures all ARIA attributes have valid values',
12389 -1 help: 'ARIA attributes must conform to valid values'
-1 22332 complementary: {
-1 22333 type: 'landmark',
-1 22334 allowedAttrs: [ 'aria-expanded' ]
12390 22335 },
12391 -1 'aria-valid-attr': {
12392 -1 description: 'Ensures attributes that begin with aria- are valid ARIA attributes',
12393 -1 help: 'ARIA attributes must conform to valid names'
-1 22336 composite: {
-1 22337 type: 'abstract'
12394 22338 },
12395 -1 'audio-caption': {
12396 -1 description: 'Ensures <audio> elements have captions',
12397 -1 help: '<audio> elements must have a captions track'
-1 22339 contentinfo: {
-1 22340 type: 'landmark',
-1 22341 allowedAttrs: [ 'aria-expanded' ]
12398 22342 },
12399 -1 'autocomplete-valid': {
12400 -1 description: 'Ensure the autocomplete attribute is correct and suitable for the form field',
12401 -1 help: 'autocomplete attribute must be used correctly'
-1 22343 definition: {
-1 22344 type: 'structure',
-1 22345 allowedAttrs: [ 'aria-expanded' ]
12402 22346 },
12403 -1 blink: {
12404 -1 description: 'Ensures <blink> elements are not used',
12405 -1 help: '<blink> elements are deprecated and must not be used'
-1 22347 dialog: {
-1 22348 type: 'widget',
-1 22349 allowedAttrs: [ 'aria-expanded', 'aria-modal' ]
12406 22350 },
12407 -1 'button-name': {
12408 -1 description: 'Ensures buttons have discernible text',
12409 -1 help: 'Buttons must have discernible text'
-1 22351 directory: {
-1 22352 type: 'structure',
-1 22353 allowedAttrs: [ 'aria-expanded' ],
-1 22354 nameFromContent: true
12410 22355 },
12411 -1 bypass: {
12412 -1 description: 'Ensures each page has at least one mechanism for a user to bypass navigation and jump straight to the content',
12413 -1 help: 'Page must have means to bypass repeated blocks'
-1 22356 document: {
-1 22357 type: 'structure',
-1 22358 allowedAttrs: [ 'aria-expanded' ]
12414 22359 },
12415 -1 checkboxgroup: {
12416 -1 description: 'Ensures related <input type="checkbox"> elements have a group and that the group designation is consistent',
12417 -1 help: 'Checkbox inputs with the same name attribute value must be part of a group'
-1 22360 feed: {
-1 22361 type: 'structure',
-1 22362 requiredOwned: [ 'article' ],
-1 22363 allowedAttrs: [ 'aria-expanded' ]
12418 22364 },
12419 -1 'color-contrast': {
12420 -1 description: 'Ensures the contrast between foreground and background colors meets WCAG 2 AA contrast ratio thresholds',
12421 -1 help: 'Elements must have sufficient color contrast'
-1 22365 figure: {
-1 22366 type: 'structure',
-1 22367 allowedAttrs: [ 'aria-expanded' ],
-1 22368 nameFromContent: true
12422 22369 },
12423 -1 'css-orientation-lock': {
12424 -1 description: 'Ensures content is not locked to any specific display orientation, and the content is operable in all display orientations',
12425 -1 help: 'CSS Media queries are not used to lock display orientation'
-1 22370 form: {
-1 22371 type: 'landmark',
-1 22372 allowedAttrs: [ 'aria-expanded' ]
-1 22373 },
-1 22374 grid: {
-1 22375 type: 'composite',
-1 22376 requiredOwned: [ 'rowgroup', 'row' ],
-1 22377 allowedAttrs: [ 'aria-level', 'aria-multiselectable', 'aria-readonly', 'aria-activedescendant', 'aria-colcount', 'aria-expanded', 'aria-rowcount' ]
-1 22378 },
-1 22379 gridcell: {
-1 22380 type: 'widget',
-1 22381 requiredContext: [ 'row' ],
-1 22382 allowedAttrs: [ 'aria-readonly', 'aria-required', 'aria-selected', 'aria-colindex', 'aria-colspan', 'aria-expanded', 'aria-rowindex', 'aria-rowspan' ],
-1 22383 nameFromContent: true
-1 22384 },
-1 22385 group: {
-1 22386 type: 'structure',
-1 22387 allowedAttrs: [ 'aria-activedescendant', 'aria-expanded' ]
-1 22388 },
-1 22389 heading: {
-1 22390 type: 'structure',
-1 22391 requiredAttrs: [ 'aria-level' ],
-1 22392 allowedAttrs: [ 'aria-expanded' ],
-1 22393 nameFromContent: true
-1 22394 },
-1 22395 img: {
-1 22396 type: 'structure',
-1 22397 allowedAttrs: [ 'aria-expanded' ]
-1 22398 },
-1 22399 input: {
-1 22400 type: 'abstract'
-1 22401 },
-1 22402 landmark: {
-1 22403 type: 'abstract'
-1 22404 },
-1 22405 link: {
-1 22406 type: 'widget',
-1 22407 allowedAttrs: [ 'aria-expanded' ],
-1 22408 nameFromContent: true
-1 22409 },
-1 22410 list: {
-1 22411 type: 'structure',
-1 22412 requiredOwned: [ 'listitem' ],
-1 22413 allowedAttrs: [ 'aria-expanded' ]
-1 22414 },
-1 22415 listbox: {
-1 22416 type: 'composite',
-1 22417 requiredOwned: [ 'option' ],
-1 22418 allowedAttrs: [ 'aria-multiselectable', 'aria-readonly', 'aria-required', 'aria-activedescendant', 'aria-expanded', 'aria-orientation' ]
-1 22419 },
-1 22420 listitem: {
-1 22421 type: 'structure',
-1 22422 requiredContext: [ 'list' ],
-1 22423 allowedAttrs: [ 'aria-level', 'aria-posinset', 'aria-setsize', 'aria-expanded' ],
-1 22424 nameFromContent: true
-1 22425 },
-1 22426 log: {
-1 22427 type: 'widget',
-1 22428 allowedAttrs: [ 'aria-expanded' ]
-1 22429 },
-1 22430 main: {
-1 22431 type: 'landmark',
-1 22432 allowedAttrs: [ 'aria-expanded' ]
-1 22433 },
-1 22434 marquee: {
-1 22435 type: 'widget',
-1 22436 allowedAttrs: [ 'aria-expanded' ]
-1 22437 },
-1 22438 math: {
-1 22439 type: 'structure',
-1 22440 allowedAttrs: [ 'aria-expanded' ]
-1 22441 },
-1 22442 menu: {
-1 22443 type: 'composite',
-1 22444 requiredOwned: [ 'menuitemradio', 'menuitem', 'menuitemcheckbox' ],
-1 22445 allowedAttrs: [ 'aria-activedescendant', 'aria-expanded', 'aria-orientation' ]
-1 22446 },
-1 22447 menubar: {
-1 22448 type: 'composite',
-1 22449 requiredOwned: [ 'menuitemradio', 'menuitem', 'menuitemcheckbox' ],
-1 22450 allowedAttrs: [ 'aria-activedescendant', 'aria-expanded', 'aria-orientation' ]
-1 22451 },
-1 22452 menuitem: {
-1 22453 type: 'widget',
-1 22454 requiredContext: [ 'menu', 'menubar' ],
-1 22455 allowedAttrs: [ 'aria-posinset', 'aria-setsize', 'aria-expanded' ],
-1 22456 nameFromContent: true
-1 22457 },
-1 22458 menuitemcheckbox: {
-1 22459 type: 'widget',
-1 22460 requiredContext: [ 'menu', 'menubar' ],
-1 22461 allowedAttrs: [ 'aria-checked', 'aria-posinset', 'aria-readonly', 'aria-setsize' ],
-1 22462 nameFromContent: true
-1 22463 },
-1 22464 menuitemradio: {
-1 22465 type: 'widget',
-1 22466 requiredContext: [ 'menu', 'menubar' ],
-1 22467 allowedAttrs: [ 'aria-checked', 'aria-posinset', 'aria-readonly', 'aria-setsize' ],
-1 22468 nameFromContent: true
12426 22469 },
12427 -1 'definition-list': {
12428 -1 description: 'Ensures <dl> elements are structured correctly',
12429 -1 help: '<dl> elements must only directly contain properly-ordered <dt> and <dd> groups, <script> or <template> elements'
-1 22470 navigation: {
-1 22471 type: 'landmark',
-1 22472 allowedAttrs: [ 'aria-expanded' ]
12430 22473 },
12431 -1 dlitem: {
12432 -1 description: 'Ensures <dt> and <dd> elements are contained by a <dl>',
12433 -1 help: '<dt> and <dd> elements must be contained by a <dl>'
-1 22474 none: {
-1 22475 type: 'structure'
12434 22476 },
12435 -1 'document-title': {
12436 -1 description: 'Ensures each HTML document contains a non-empty <title> element',
12437 -1 help: 'Documents must have <title> element to aid in navigation'
-1 22477 note: {
-1 22478 type: 'structure',
-1 22479 allowedAttrs: [ 'aria-expanded' ]
12438 22480 },
12439 -1 'duplicate-id-active': {
12440 -1 description: 'Ensures every id attribute value of active elements is unique',
12441 -1 help: 'IDs of active elements must be unique'
-1 22481 option: {
-1 22482 type: 'widget',
-1 22483 requiredContext: [ 'listbox' ],
-1 22484 allowedAttrs: [ 'aria-selected', 'aria-checked', 'aria-posinset', 'aria-setsize' ],
-1 22485 nameFromContent: true
12442 22486 },
12443 -1 'duplicate-id-aria': {
12444 -1 description: 'Ensures every id attribute value used in ARIA and in labels is unique',
12445 -1 help: 'IDs used in ARIA and labels must be unique'
-1 22487 presentation: {
-1 22488 type: 'structure'
12446 22489 },
12447 -1 'duplicate-id': {
12448 -1 description: 'Ensures every id attribute value is unique',
12449 -1 help: 'id attribute value must be unique'
-1 22490 progressbar: {
-1 22491 type: 'widget',
-1 22492 allowedAttrs: [ 'aria-expanded', 'aria-valuemax', 'aria-valuemin', 'aria-valuenow', 'aria-valuetext' ]
12450 22493 },
12451 -1 'empty-heading': {
12452 -1 description: 'Ensures headings have discernible text',
12453 -1 help: 'Headings must not be empty'
-1 22494 radio: {
-1 22495 type: 'widget',
-1 22496 allowedAttrs: [ 'aria-checked', 'aria-posinset', 'aria-setsize', 'aria-required' ],
-1 22497 nameFromContent: true
12454 22498 },
12455 -1 'focus-order-semantics': {
12456 -1 description: 'Ensures elements in the focus order have an appropriate role',
12457 -1 help: 'Elements in the focus order need a role appropriate for interactive content'
-1 22499 radiogroup: {
-1 22500 type: 'composite',
-1 22501 requiredOwned: [ 'radio' ],
-1 22502 allowedAttrs: [ 'aria-readonly', 'aria-required', 'aria-activedescendant', 'aria-expanded', 'aria-orientation' ]
12458 22503 },
12459 -1 'form-field-multiple-labels': {
12460 -1 description: 'Ensures form field does not have multiple label elements',
12461 -1 help: 'Form field must not have multiple label elements'
-1 22504 range: {
-1 22505 type: 'abstract'
12462 22506 },
12463 -1 'frame-tested': {
12464 -1 description: 'Ensures <iframe> and <frame> elements contain the axe-core script',
12465 -1 help: 'Frames must be tested with axe-core'
-1 22507 region: {
-1 22508 type: 'landmark',
-1 22509 allowedAttrs: [ 'aria-expanded' ]
12466 22510 },
12467 -1 'frame-title-unique': {
12468 -1 description: 'Ensures <iframe> and <frame> elements contain a unique title attribute',
12469 -1 help: 'Frames must have a unique title attribute'
-1 22511 roletype: {
-1 22512 type: 'abstract'
12470 22513 },
12471 -1 'frame-title': {
12472 -1 description: 'Ensures <iframe> and <frame> elements contain a non-empty title attribute',
12473 -1 help: 'Frames must have title attribute'
-1 22514 row: {
-1 22515 type: 'structure',
-1 22516 requiredContext: [ 'grid', 'rowgroup', 'table', 'treegrid' ],
-1 22517 requiredOwned: [ 'cell', 'columnheader', 'gridcell', 'rowheader' ],
-1 22518 allowedAttrs: [ 'aria-colindex', 'aria-level', 'aria-rowindex', 'aria-selected', 'aria-activedescendant', 'aria-expanded' ],
-1 22519 nameFromContent: true
12474 22520 },
12475 -1 'heading-order': {
12476 -1 description: 'Ensures the order of headings is semantically correct',
12477 -1 help: 'Heading levels should only increase by one'
-1 22521 rowgroup: {
-1 22522 type: 'structure',
-1 22523 requiredContext: [ 'grid', 'table', 'treegrid' ],
-1 22524 requiredOwned: [ 'row' ],
-1 22525 nameFromContent: true
12478 22526 },
12479 -1 'hidden-content': {
12480 -1 description: 'Informs users about hidden content.',
12481 -1 help: 'Hidden content on the page cannot be analyzed'
-1 22527 rowheader: {
-1 22528 type: 'structure',
-1 22529 requiredContext: [ 'row' ],
-1 22530 allowedAttrs: [ 'aria-sort', 'aria-colindex', 'aria-colspan', 'aria-expanded', 'aria-readonly', 'aria-required', 'aria-rowindex', 'aria-rowspan', 'aria-selected' ],
-1 22531 nameFromContent: true
12482 22532 },
12483 -1 'html-has-lang': {
12484 -1 description: 'Ensures every HTML document has a lang attribute',
12485 -1 help: '<html> element must have a lang attribute'
-1 22533 scrollbar: {
-1 22534 type: 'widget',
-1 22535 requiredAttrs: [ 'aria-valuenow' ],
-1 22536 allowedAttrs: [ 'aria-controls', 'aria-orientation', 'aria-valuemax', 'aria-valuemin', 'aria-valuetext' ]
12486 22537 },
12487 -1 'html-lang-valid': {
12488 -1 description: 'Ensures the lang attribute of the <html> element has a valid value',
12489 -1 help: '<html> element must have a valid value for the lang attribute'
-1 22538 search: {
-1 22539 type: 'landmark',
-1 22540 allowedAttrs: [ 'aria-expanded' ]
12490 22541 },
12491 -1 'html-xml-lang-mismatch': {
12492 -1 description: 'Ensure that HTML elements with both valid lang and xml:lang attributes agree on the base language of the page',
12493 -1 help: 'HTML elements with lang and xml:lang must have the same base language'
-1 22542 searchbox: {
-1 22543 type: 'widget',
-1 22544 allowedAttrs: [ 'aria-activedescendant', 'aria-autocomplete', 'aria-multiline', 'aria-placeholder', 'aria-readonly', 'aria-required' ]
12494 22545 },
12495 -1 'image-alt': {
12496 -1 description: 'Ensures <img> elements have alternate text or a role of none or presentation',
12497 -1 help: 'Images must have alternate text'
-1 22546 section: {
-1 22547 type: 'abstract',
-1 22548 nameFromContent: true
12498 22549 },
12499 -1 'image-redundant-alt': {
12500 -1 description: 'Ensure button and link text is not repeated as image alternative',
12501 -1 help: 'Text of buttons and links should not be repeated in the image alternative'
-1 22550 sectionhead: {
-1 22551 type: 'abstract',
-1 22552 nameFromContent: true
12502 22553 },
12503 -1 'input-image-alt': {
12504 -1 description: 'Ensures <input type="image"> elements have alternate text',
12505 -1 help: 'Image buttons must have alternate text'
-1 22554 select: {
-1 22555 type: 'abstract'
12506 22556 },
12507 -1 'label-content-name-mismatch': {
12508 -1 description: 'Ensures that elements labelled through their content must have their visible text as part of their accessible name',
12509 -1 help: 'Elements must have their visible text as part of their accessible name'
-1 22557 separator: {
-1 22558 type: 'structure',
-1 22559 allowedAttrs: [ 'aria-valuemax', 'aria-valuemin', 'aria-valuenow', 'aria-orientation', 'aria-valuetext' ]
12510 22560 },
12511 -1 'label-title-only': {
12512 -1 description: 'Ensures that every form element is not solely labeled using the title or aria-describedby attributes',
12513 -1 help: 'Form elements should have a visible label'
-1 22561 slider: {
-1 22562 type: 'widget',
-1 22563 requiredAttrs: [ 'aria-valuenow' ],
-1 22564 allowedAttrs: [ 'aria-valuemax', 'aria-valuemin', 'aria-orientation', 'aria-readonly', 'aria-valuetext' ]
12514 22565 },
12515 -1 label: {
12516 -1 description: 'Ensures every form element has a label',
12517 -1 help: 'Form elements must have labels'
-1 22566 spinbutton: {
-1 22567 type: 'widget',
-1 22568 requiredAttrs: [ 'aria-valuenow' ],
-1 22569 allowedAttrs: [ 'aria-valuemax', 'aria-valuemin', 'aria-readonly', 'aria-required', 'aria-activedescendant', 'aria-valuetext' ]
12518 22570 },
12519 -1 'landmark-banner-is-top-level': {
12520 -1 description: 'Ensures the banner landmark is at top level',
12521 -1 help: 'Banner landmark must not be contained in another landmark'
-1 22571 status: {
-1 22572 type: 'widget',
-1 22573 allowedAttrs: [ 'aria-expanded' ]
12522 22574 },
12523 -1 'landmark-complementary-is-top-level': {
12524 -1 description: 'Ensures the complementary landmark or aside is at top level',
12525 -1 help: 'Aside must not be contained in another landmark'
-1 22575 structure: {
-1 22576 type: 'abstract'
12526 22577 },
12527 -1 'landmark-contentinfo-is-top-level': {
12528 -1 description: 'Ensures the contentinfo landmark is at top level',
12529 -1 help: 'Contentinfo landmark must not be contained in another landmark'
-1 22578 switch: {
-1 22579 type: 'widget',
-1 22580 requiredAttrs: [ 'aria-checked' ],
-1 22581 allowedAttrs: [ 'aria-readonly' ],
-1 22582 nameFromContent: true
12530 22583 },
12531 -1 'landmark-main-is-top-level': {
12532 -1 description: 'Ensures the main landmark is at top level',
12533 -1 help: 'Main landmark must not be contained in another landmark'
-1 22584 tab: {
-1 22585 type: 'widget',
-1 22586 requiredContext: [ 'tablist' ],
-1 22587 allowedAttrs: [ 'aria-posinset', 'aria-selected', 'aria-setsize', 'aria-expanded' ],
-1 22588 nameFromContent: true
12534 22589 },
12535 -1 'landmark-no-duplicate-banner': {
12536 -1 description: 'Ensures the document has at most one banner landmark',
12537 -1 help: 'Document must not have more than one banner landmark'
-1 22590 table: {
-1 22591 type: 'structure',
-1 22592 requiredOwned: [ 'rowgroup', 'row' ],
-1 22593 allowedAttrs: [ 'aria-colcount', 'aria-rowcount', 'aria-expanded' ],
-1 22594 nameFromContent: true
12538 22595 },
12539 -1 'landmark-no-duplicate-contentinfo': {
12540 -1 description: 'Ensures the document has at most one contentinfo landmark',
12541 -1 help: 'Document must not have more than one contentinfo landmark'
-1 22596 tablist: {
-1 22597 type: 'composite',
-1 22598 requiredOwned: [ 'tab' ],
-1 22599 allowedAttrs: [ 'aria-level', 'aria-multiselectable', 'aria-orientation', 'aria-activedescendant', 'aria-expanded' ]
12542 22600 },
12543 -1 'landmark-one-main': {
12544 -1 description: 'Ensures the document has only one main landmark and each iframe in the page has at most one main landmark',
12545 -1 help: 'Document must have one main landmark'
-1 22601 tabpanel: {
-1 22602 type: 'widget',
-1 22603 allowedAttrs: [ 'aria-expanded' ]
12546 22604 },
12547 -1 'layout-table': {
12548 -1 description: 'Ensures presentational <table> elements do not use <th>, <caption> elements or the summary attribute',
12549 -1 help: 'Layout tables must not use data table elements'
-1 22605 term: {
-1 22606 type: 'structure',
-1 22607 allowedAttrs: [ 'aria-expanded' ],
-1 22608 nameFromContent: true
12550 22609 },
12551 -1 'link-in-text-block': {
12552 -1 description: 'Links can be distinguished without relying on color',
12553 -1 help: 'Links must be distinguished from surrounding text in a way that does not rely on color'
-1 22610 textbox: {
-1 22611 type: 'widget',
-1 22612 allowedAttrs: [ 'aria-activedescendant', 'aria-autocomplete', 'aria-multiline', 'aria-placeholder', 'aria-readonly', 'aria-required' ]
12554 22613 },
12555 -1 'link-name': {
12556 -1 description: 'Ensures links have discernible text',
12557 -1 help: 'Links must have discernible text'
-1 22614 timer: {
-1 22615 type: 'widget',
-1 22616 allowedAttrs: [ 'aria-expanded' ]
12558 22617 },
12559 -1 list: {
12560 -1 description: 'Ensures that lists are structured correctly',
12561 -1 help: '<ul> and <ol> must only directly contain <li>, <script> or <template> elements'
-1 22618 toolbar: {
-1 22619 type: 'structure',
-1 22620 allowedAttrs: [ 'aria-orientation', 'aria-activedescendant', 'aria-expanded' ]
12562 22621 },
12563 -1 listitem: {
12564 -1 description: 'Ensures <li> elements are used semantically',
12565 -1 help: '<li> elements must be contained in a <ul> or <ol>'
-1 22622 tooltip: {
-1 22623 type: 'structure',
-1 22624 allowedAttrs: [ 'aria-expanded' ],
-1 22625 nameFromContent: true
12566 22626 },
12567 -1 marquee: {
12568 -1 description: 'Ensures <marquee> elements are not used',
12569 -1 help: '<marquee> elements are deprecated and must not be used'
-1 22627 tree: {
-1 22628 type: 'composite',
-1 22629 requiredOwned: [ 'treeitem' ],
-1 22630 allowedAttrs: [ 'aria-multiselectable', 'aria-required', 'aria-activedescendant', 'aria-expanded', 'aria-orientation' ]
12570 22631 },
12571 -1 'meta-refresh': {
12572 -1 description: 'Ensures <meta http-equiv="refresh"> is not used',
12573 -1 help: 'Timed refresh must not exist'
-1 22632 treegrid: {
-1 22633 type: 'composite',
-1 22634 requiredOwned: [ 'rowgroup', 'row' ],
-1 22635 allowedAttrs: [ 'aria-activedescendant', 'aria-colcount', 'aria-expanded', 'aria-level', 'aria-multiselectable', 'aria-orientation', 'aria-readonly', 'aria-required', 'aria-rowcount' ]
12574 22636 },
12575 -1 'meta-viewport-large': {
12576 -1 description: 'Ensures <meta name="viewport"> can scale a significant amount',
12577 -1 help: 'Users should be able to zoom and scale the text up to 500%'
-1 22637 treeitem: {
-1 22638 type: 'widget',
-1 22639 requiredContext: [ 'group', 'tree' ],
-1 22640 allowedAttrs: [ 'aria-checked', 'aria-expanded', 'aria-level', 'aria-posinset', 'aria-selected', 'aria-setsize' ],
-1 22641 nameFromContent: true
12578 22642 },
12579 -1 'meta-viewport': {
12580 -1 description: 'Ensures <meta name="viewport"> does not disable text scaling and zooming',
12581 -1 help: 'Zooming and scaling must not be disabled'
-1 22643 widget: {
-1 22644 type: 'abstract'
12582 22645 },
12583 -1 'object-alt': {
12584 -1 description: 'Ensures <object> elements have alternate text',
12585 -1 help: '<object> elements must have alternate text'
-1 22646 window: {
-1 22647 type: 'abstract'
-1 22648 }
-1 22649 };
-1 22650 __webpack_exports__['default'] = ariaRoles;
-1 22651 },
-1 22652 './lib/standards/css-colors.js': function libStandardsCssColorsJs(module, __webpack_exports__, __webpack_require__) {
-1 22653 'use strict';
-1 22654 __webpack_require__.r(__webpack_exports__);
-1 22655 var cssColors = {
-1 22656 aliceblue: [ 240, 248, 255 ],
-1 22657 antiquewhite: [ 250, 235, 215 ],
-1 22658 aqua: [ 0, 255, 255 ],
-1 22659 aquamarine: [ 127, 255, 212 ],
-1 22660 azure: [ 240, 255, 255 ],
-1 22661 beige: [ 245, 245, 220 ],
-1 22662 bisque: [ 255, 228, 196 ],
-1 22663 black: [ 0, 0, 0 ],
-1 22664 blanchedalmond: [ 255, 235, 205 ],
-1 22665 blue: [ 0, 0, 255 ],
-1 22666 blueviolet: [ 138, 43, 226 ],
-1 22667 brown: [ 165, 42, 42 ],
-1 22668 burlywood: [ 222, 184, 135 ],
-1 22669 cadetblue: [ 95, 158, 160 ],
-1 22670 chartreuse: [ 127, 255, 0 ],
-1 22671 chocolate: [ 210, 105, 30 ],
-1 22672 coral: [ 255, 127, 80 ],
-1 22673 cornflowerblue: [ 100, 149, 237 ],
-1 22674 cornsilk: [ 255, 248, 220 ],
-1 22675 crimson: [ 220, 20, 60 ],
-1 22676 cyan: [ 0, 255, 255 ],
-1 22677 darkblue: [ 0, 0, 139 ],
-1 22678 darkcyan: [ 0, 139, 139 ],
-1 22679 darkgoldenrod: [ 184, 134, 11 ],
-1 22680 darkgray: [ 169, 169, 169 ],
-1 22681 darkgreen: [ 0, 100, 0 ],
-1 22682 darkgrey: [ 169, 169, 169 ],
-1 22683 darkkhaki: [ 189, 183, 107 ],
-1 22684 darkmagenta: [ 139, 0, 139 ],
-1 22685 darkolivegreen: [ 85, 107, 47 ],
-1 22686 darkorange: [ 255, 140, 0 ],
-1 22687 darkorchid: [ 153, 50, 204 ],
-1 22688 darkred: [ 139, 0, 0 ],
-1 22689 darksalmon: [ 233, 150, 122 ],
-1 22690 darkseagreen: [ 143, 188, 143 ],
-1 22691 darkslateblue: [ 72, 61, 139 ],
-1 22692 darkslategray: [ 47, 79, 79 ],
-1 22693 darkslategrey: [ 47, 79, 79 ],
-1 22694 darkturquoise: [ 0, 206, 209 ],
-1 22695 darkviolet: [ 148, 0, 211 ],
-1 22696 deeppink: [ 255, 20, 147 ],
-1 22697 deepskyblue: [ 0, 191, 255 ],
-1 22698 dimgray: [ 105, 105, 105 ],
-1 22699 dimgrey: [ 105, 105, 105 ],
-1 22700 dodgerblue: [ 30, 144, 255 ],
-1 22701 firebrick: [ 178, 34, 34 ],
-1 22702 floralwhite: [ 255, 250, 240 ],
-1 22703 forestgreen: [ 34, 139, 34 ],
-1 22704 fuchsia: [ 255, 0, 255 ],
-1 22705 gainsboro: [ 220, 220, 220 ],
-1 22706 ghostwhite: [ 248, 248, 255 ],
-1 22707 gold: [ 255, 215, 0 ],
-1 22708 goldenrod: [ 218, 165, 32 ],
-1 22709 gray: [ 128, 128, 128 ],
-1 22710 green: [ 0, 128, 0 ],
-1 22711 greenyellow: [ 173, 255, 47 ],
-1 22712 grey: [ 128, 128, 128 ],
-1 22713 honeydew: [ 240, 255, 240 ],
-1 22714 hotpink: [ 255, 105, 180 ],
-1 22715 indianred: [ 205, 92, 92 ],
-1 22716 indigo: [ 75, 0, 130 ],
-1 22717 ivory: [ 255, 255, 240 ],
-1 22718 khaki: [ 240, 230, 140 ],
-1 22719 lavender: [ 230, 230, 250 ],
-1 22720 lavenderblush: [ 255, 240, 245 ],
-1 22721 lawngreen: [ 124, 252, 0 ],
-1 22722 lemonchiffon: [ 255, 250, 205 ],
-1 22723 lightblue: [ 173, 216, 230 ],
-1 22724 lightcoral: [ 240, 128, 128 ],
-1 22725 lightcyan: [ 224, 255, 255 ],
-1 22726 lightgoldenrodyellow: [ 250, 250, 210 ],
-1 22727 lightgray: [ 211, 211, 211 ],
-1 22728 lightgreen: [ 144, 238, 144 ],
-1 22729 lightgrey: [ 211, 211, 211 ],
-1 22730 lightpink: [ 255, 182, 193 ],
-1 22731 lightsalmon: [ 255, 160, 122 ],
-1 22732 lightseagreen: [ 32, 178, 170 ],
-1 22733 lightskyblue: [ 135, 206, 250 ],
-1 22734 lightslategray: [ 119, 136, 153 ],
-1 22735 lightslategrey: [ 119, 136, 153 ],
-1 22736 lightsteelblue: [ 176, 196, 222 ],
-1 22737 lightyellow: [ 255, 255, 224 ],
-1 22738 lime: [ 0, 255, 0 ],
-1 22739 limegreen: [ 50, 205, 50 ],
-1 22740 linen: [ 250, 240, 230 ],
-1 22741 magenta: [ 255, 0, 255 ],
-1 22742 maroon: [ 128, 0, 0 ],
-1 22743 mediumaquamarine: [ 102, 205, 170 ],
-1 22744 mediumblue: [ 0, 0, 205 ],
-1 22745 mediumorchid: [ 186, 85, 211 ],
-1 22746 mediumpurple: [ 147, 112, 219 ],
-1 22747 mediumseagreen: [ 60, 179, 113 ],
-1 22748 mediumslateblue: [ 123, 104, 238 ],
-1 22749 mediumspringgreen: [ 0, 250, 154 ],
-1 22750 mediumturquoise: [ 72, 209, 204 ],
-1 22751 mediumvioletred: [ 199, 21, 133 ],
-1 22752 midnightblue: [ 25, 25, 112 ],
-1 22753 mintcream: [ 245, 255, 250 ],
-1 22754 mistyrose: [ 255, 228, 225 ],
-1 22755 moccasin: [ 255, 228, 181 ],
-1 22756 navajowhite: [ 255, 222, 173 ],
-1 22757 navy: [ 0, 0, 128 ],
-1 22758 oldlace: [ 253, 245, 230 ],
-1 22759 olive: [ 128, 128, 0 ],
-1 22760 olivedrab: [ 107, 142, 35 ],
-1 22761 orange: [ 255, 165, 0 ],
-1 22762 orangered: [ 255, 69, 0 ],
-1 22763 orchid: [ 218, 112, 214 ],
-1 22764 palegoldenrod: [ 238, 232, 170 ],
-1 22765 palegreen: [ 152, 251, 152 ],
-1 22766 paleturquoise: [ 175, 238, 238 ],
-1 22767 palevioletred: [ 219, 112, 147 ],
-1 22768 papayawhip: [ 255, 239, 213 ],
-1 22769 peachpuff: [ 255, 218, 185 ],
-1 22770 peru: [ 205, 133, 63 ],
-1 22771 pink: [ 255, 192, 203 ],
-1 22772 plum: [ 221, 160, 221 ],
-1 22773 powderblue: [ 176, 224, 230 ],
-1 22774 purple: [ 128, 0, 128 ],
-1 22775 rebeccapurple: [ 102, 51, 153 ],
-1 22776 red: [ 255, 0, 0 ],
-1 22777 rosybrown: [ 188, 143, 143 ],
-1 22778 royalblue: [ 65, 105, 225 ],
-1 22779 saddlebrown: [ 139, 69, 19 ],
-1 22780 salmon: [ 250, 128, 114 ],
-1 22781 sandybrown: [ 244, 164, 96 ],
-1 22782 seagreen: [ 46, 139, 87 ],
-1 22783 seashell: [ 255, 245, 238 ],
-1 22784 sienna: [ 160, 82, 45 ],
-1 22785 silver: [ 192, 192, 192 ],
-1 22786 skyblue: [ 135, 206, 235 ],
-1 22787 slateblue: [ 106, 90, 205 ],
-1 22788 slategray: [ 112, 128, 144 ],
-1 22789 slategrey: [ 112, 128, 144 ],
-1 22790 snow: [ 255, 250, 250 ],
-1 22791 springgreen: [ 0, 255, 127 ],
-1 22792 steelblue: [ 70, 130, 180 ],
-1 22793 tan: [ 210, 180, 140 ],
-1 22794 teal: [ 0, 128, 128 ],
-1 22795 thistle: [ 216, 191, 216 ],
-1 22796 tomato: [ 255, 99, 71 ],
-1 22797 turquoise: [ 64, 224, 208 ],
-1 22798 violet: [ 238, 130, 238 ],
-1 22799 wheat: [ 245, 222, 179 ],
-1 22800 white: [ 255, 255, 255 ],
-1 22801 whitesmoke: [ 245, 245, 245 ],
-1 22802 yellow: [ 255, 255, 0 ],
-1 22803 yellowgreen: [ 154, 205, 50 ]
-1 22804 };
-1 22805 __webpack_exports__['default'] = cssColors;
-1 22806 },
-1 22807 './lib/standards/dpub-roles.js': function libStandardsDpubRolesJs(module, __webpack_exports__, __webpack_require__) {
-1 22808 'use strict';
-1 22809 __webpack_require__.r(__webpack_exports__);
-1 22810 var dpubRoles = {
-1 22811 'doc-abstract': {
-1 22812 type: 'section',
-1 22813 allowedAttrs: [ 'aria-expanded' ]
12586 22814 },
12587 -1 'p-as-heading': {
12588 -1 description: 'Ensure p elements are not used to style headings',
12589 -1 help: 'Bold, italic text and font-size are not used to style p elements as a heading'
-1 22815 'doc-acknowledgments': {
-1 22816 type: 'landmark',
-1 22817 allowedAttrs: [ 'aria-expanded' ]
12590 22818 },
12591 -1 'page-has-heading-one': {
12592 -1 description: 'Ensure that the page, or at least one of its frames contains a level-one heading',
12593 -1 help: 'Page must contain a level-one heading'
-1 22819 'doc-afterword': {
-1 22820 type: 'landmark',
-1 22821 allowedAttrs: [ 'aria-expanded' ]
12594 22822 },
12595 -1 radiogroup: {
12596 -1 description: 'Ensures related <input type="radio"> elements have a group and that the group designation is consistent',
12597 -1 help: 'Radio inputs with the same name attribute value must be part of a group'
-1 22823 'doc-appendix': {
-1 22824 type: 'landmark',
-1 22825 allowedAttrs: [ 'aria-expanded' ]
12598 22826 },
12599 -1 region: {
12600 -1 description: 'Ensures all page content is contained by landmarks',
12601 -1 help: 'All page content must be contained by landmarks'
-1 22827 'doc-backlink': {
-1 22828 type: 'link',
-1 22829 allowedAttrs: [ 'aria-expanded' ],
-1 22830 nameFromContent: true
12602 22831 },
12603 -1 'scope-attr-valid': {
12604 -1 description: 'Ensures the scope attribute is used correctly on tables',
12605 -1 help: 'scope attribute should be used correctly'
-1 22832 'doc-biblioentry': {
-1 22833 type: 'listitem',
-1 22834 requiredContext: [ 'doc-bibliography' ],
-1 22835 allowedAttrs: [ 'aria-expanded', 'aria-level', 'aria-posinset', 'aria-setsize' ]
12606 22836 },
12607 -1 'server-side-image-map': {
12608 -1 description: 'Ensures that server-side image maps are not used',
12609 -1 help: 'Server-side image maps must not be used'
-1 22837 'doc-bibliography': {
-1 22838 type: 'landmark',
-1 22839 requiredOwned: [ 'doc-biblioentry' ],
-1 22840 allowedAttrs: [ 'aria-expanded' ]
12610 22841 },
12611 -1 'skip-link': {
12612 -1 description: 'Ensure all skip links have a focusable target',
12613 -1 help: 'The skip-link target should exist and be focusable'
-1 22842 'doc-biblioref': {
-1 22843 type: 'link',
-1 22844 allowedAttrs: [ 'aria-expanded' ],
-1 22845 nameFromContent: true
12614 22846 },
12615 -1 tabindex: {
12616 -1 description: 'Ensures tabindex attribute values are not greater than 0',
12617 -1 help: 'Elements should not have tabindex greater than zero'
-1 22847 'doc-chapter': {
-1 22848 type: 'landmark',
-1 22849 allowedAttrs: [ 'aria-expanded' ]
12618 22850 },
12619 -1 'table-duplicate-name': {
12620 -1 description: 'Ensure that tables do not have the same summary and caption',
12621 -1 help: 'The <caption> element should not contain the same text as the summary attribute'
-1 22851 'doc-colophon': {
-1 22852 type: 'section',
-1 22853 allowedAttrs: [ 'aria-expanded' ]
12622 22854 },
12623 -1 'table-fake-caption': {
12624 -1 description: 'Ensure that tables with a caption use the <caption> element.',
12625 -1 help: 'Data or header cells should not be used to give caption to a data table.'
-1 22855 'doc-conclusion': {
-1 22856 type: 'landmark',
-1 22857 allowedAttrs: [ 'aria-expanded' ]
12626 22858 },
12627 -1 'td-has-header': {
12628 -1 description: 'Ensure that each non-empty data cell in a large table has one or more table headers',
12629 -1 help: 'All non-empty td element in table larger than 3 by 3 must have an associated table header'
-1 22859 'doc-cover': {
-1 22860 type: 'img',
-1 22861 allowedAttrs: [ 'aria-expanded' ]
12630 22862 },
12631 -1 'td-headers-attr': {
12632 -1 description: 'Ensure that each cell in a table using the headers refers to another cell in that table',
12633 -1 help: 'All cells in a table element that use the headers attribute must only refer to other cells of that same table'
-1 22863 'doc-credit': {
-1 22864 type: 'section',
-1 22865 allowedAttrs: [ 'aria-expanded' ]
12634 22866 },
12635 -1 'th-has-data-cells': {
12636 -1 description: 'Ensure that each table header in a data table refers to data cells',
12637 -1 help: 'All th elements and elements with role=columnheader/rowheader must have data cells they describe'
-1 22867 'doc-credits': {
-1 22868 type: 'landmark',
-1 22869 allowedAttrs: [ 'aria-expanded' ]
12638 22870 },
12639 -1 'valid-lang': {
12640 -1 description: 'Ensures lang attributes have valid values',
12641 -1 help: 'lang attribute must have a valid value'
-1 22871 'doc-dedication': {
-1 22872 type: 'section',
-1 22873 allowedAttrs: [ 'aria-expanded' ]
12642 22874 },
12643 -1 'video-caption': {
12644 -1 description: 'Ensures <video> elements have captions',
12645 -1 help: '<video> elements must have captions'
-1 22875 'doc-endnote': {
-1 22876 type: 'listitem',
-1 22877 requiredContext: [ 'doc-endnotes' ],
-1 22878 allowedAttrs: [ 'aria-expanded', 'aria-level', 'aria-posinset', 'aria-setsize' ]
12646 22879 },
12647 -1 'video-description': {
12648 -1 description: 'Ensures <video> elements have audio descriptions',
12649 -1 help: '<video> elements must have an audio description track'
12650 -1 }
12651 -1 },
12652 -1 checks: {
12653 -1 accesskeys: {
12654 -1 impact: 'serious',
12655 -1 messages: {
12656 -1 pass: function anonymous(it) {
12657 -1 var out = 'Accesskey attribute value is unique';
12658 -1 return out;
12659 -1 },
12660 -1 fail: function anonymous(it) {
12661 -1 var out = 'Document has multiple elements with the same accesskey';
12662 -1 return out;
12663 -1 }
12664 -1 }
-1 22880 'doc-endnotes': {
-1 22881 type: 'landmark',
-1 22882 requiredOwned: [ 'doc-endnote' ],
-1 22883 allowedAttrs: [ 'aria-expanded' ]
12665 22884 },
12666 -1 'non-empty-alt': {
12667 -1 impact: 'critical',
12668 -1 messages: {
12669 -1 pass: function anonymous(it) {
12670 -1 var out = 'Element has a non-empty alt attribute';
12671 -1 return out;
12672 -1 },
12673 -1 fail: function anonymous(it) {
12674 -1 var out = 'Element has no alt attribute or the alt attribute is empty';
12675 -1 return out;
12676 -1 }
12677 -1 }
-1 22885 'doc-epigraph': {
-1 22886 type: 'section',
-1 22887 allowedAttrs: [ 'aria-expanded' ]
12678 22888 },
12679 -1 'non-empty-title': {
12680 -1 impact: 'serious',
12681 -1 messages: {
12682 -1 pass: function anonymous(it) {
12683 -1 var out = 'Element has a title attribute';
12684 -1 return out;
12685 -1 },
12686 -1 fail: function anonymous(it) {
12687 -1 var out = 'Element has no title attribute or the title attribute is empty';
12688 -1 return out;
12689 -1 }
12690 -1 }
-1 22889 'doc-epilogue': {
-1 22890 type: 'landmark',
-1 22891 allowedAttrs: [ 'aria-expanded' ]
12691 22892 },
12692 -1 'aria-label': {
12693 -1 impact: 'serious',
12694 -1 messages: {
12695 -1 pass: function anonymous(it) {
12696 -1 var out = 'aria-label attribute exists and is not empty';
12697 -1 return out;
12698 -1 },
12699 -1 fail: function anonymous(it) {
12700 -1 var out = 'aria-label attribute does not exist or is empty';
12701 -1 return out;
12702 -1 }
12703 -1 }
-1 22893 'doc-errata': {
-1 22894 type: 'landmark',
-1 22895 allowedAttrs: [ 'aria-expanded' ]
12704 22896 },
12705 -1 'aria-labelledby': {
12706 -1 impact: 'serious',
12707 -1 messages: {
12708 -1 pass: function anonymous(it) {
12709 -1 var out = 'aria-labelledby attribute exists and references elements that are visible to screen readers';
12710 -1 return out;
12711 -1 },
12712 -1 fail: function anonymous(it) {
12713 -1 var out = 'aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty';
12714 -1 return out;
12715 -1 }
12716 -1 }
-1 22897 'doc-example': {
-1 22898 type: 'section',
-1 22899 allowedAttrs: [ 'aria-expanded' ]
12717 22900 },
12718 -1 'aria-allowed-attr': {
12719 -1 impact: 'critical',
12720 -1 messages: {
12721 -1 pass: function anonymous(it) {
12722 -1 var out = 'ARIA attributes are used correctly for the defined role';
12723 -1 return out;
12724 -1 },
12725 -1 fail: function anonymous(it) {
12726 -1 var out = 'ARIA attribute' + (it.data && it.data.length > 1 ? 's are' : ' is') + ' not allowed:';
12727 -1 var arr1 = it.data;
12728 -1 if (arr1) {
12729 -1 var value, i1 = -1, l1 = arr1.length - 1;
12730 -1 while (i1 < l1) {
12731 -1 value = arr1[i1 += 1];
12732 -1 out += ' ' + value;
12733 -1 }
12734 -1 }
12735 -1 return out;
12736 -1 }
12737 -1 }
-1 22901 'doc-footnote': {
-1 22902 type: 'section',
-1 22903 allowedAttrs: [ 'aria-expanded' ]
12738 22904 },
12739 -1 'aria-unsupported-attr': {
12740 -1 impact: 'critical',
12741 -1 messages: {
12742 -1 pass: function anonymous(it) {
12743 -1 var out = 'ARIA attribute is supported';
12744 -1 return out;
12745 -1 },
12746 -1 fail: function anonymous(it) {
12747 -1 var out = 'ARIA attribute is not widely supported in screen readers and assistive technologies: ';
12748 -1 var arr1 = it.data;
12749 -1 if (arr1) {
12750 -1 var value, i1 = -1, l1 = arr1.length - 1;
12751 -1 while (i1 < l1) {
12752 -1 value = arr1[i1 += 1];
12753 -1 out += ' ' + value;
12754 -1 }
12755 -1 }
12756 -1 return out;
12757 -1 }
12758 -1 }
-1 22905 'doc-foreword': {
-1 22906 type: 'landmark',
-1 22907 allowedAttrs: [ 'aria-expanded' ]
12759 22908 },
12760 -1 'aria-allowed-role': {
12761 -1 impact: 'minor',
12762 -1 messages: {
12763 -1 pass: function anonymous(it) {
12764 -1 var out = 'ARIA role is allowed for given element';
12765 -1 return out;
12766 -1 },
12767 -1 fail: function anonymous(it) {
12768 -1 var out = 'ARIA role' + (it.data && it.data.length > 1 ? 's' : '') + ' ' + it.data.join(', ') + ' ' + (it.data && it.data.length > 1 ? 'are' : ' is') + ' not allowed for given element';
12769 -1 return out;
12770 -1 },
12771 -1 incomplete: function anonymous(it) {
12772 -1 var out = 'ARIA role' + (it.data && it.data.length > 1 ? 's' : '') + ' ' + it.data.join(', ') + ' must be removed when the element is made visible, as ' + (it.data && it.data.length > 1 ? 'they are' : 'it is') + ' not allowed for the element';
12773 -1 return out;
12774 -1 }
12775 -1 }
-1 22909 'doc-glossary': {
-1 22910 type: 'landmark',
-1 22911 requiredOwned: [ 'definition', 'term' ],
-1 22912 allowedAttrs: [ 'aria-expanded' ]
12776 22913 },
12777 -1 'implicit-role-fallback': {
12778 -1 impact: 'moderate',
12779 -1 messages: {
12780 -1 pass: function anonymous(it) {
12781 -1 var out = 'Element’s implicit ARIA role is an appropriate fallback';
12782 -1 return out;
12783 -1 },
12784 -1 fail: function anonymous(it) {
12785 -1 var out = 'Element’s implicit ARIA role is not a good fallback for the (unsupported) role';
12786 -1 return out;
12787 -1 }
12788 -1 }
-1 22914 'doc-glossref': {
-1 22915 type: 'link',
-1 22916 allowedAttrs: [ 'aria-expanded' ],
-1 22917 nameFromContent: true
12789 22918 },
12790 -1 'aria-hidden-body': {
12791 -1 impact: 'critical',
12792 -1 messages: {
12793 -1 pass: function anonymous(it) {
12794 -1 var out = 'No aria-hidden attribute is present on document body';
12795 -1 return out;
12796 -1 },
12797 -1 fail: function anonymous(it) {
12798 -1 var out = 'aria-hidden=true should not be present on the document body';
12799 -1 return out;
12800 -1 }
12801 -1 }
-1 22919 'doc-index': {
-1 22920 type: 'navigation',
-1 22921 allowedAttrs: [ 'aria-expanded' ]
12802 22922 },
12803 -1 'focusable-disabled': {
12804 -1 impact: 'serious',
12805 -1 messages: {
12806 -1 pass: function anonymous(it) {
12807 -1 var out = 'No focusable elements contained within element';
12808 -1 return out;
12809 -1 },
12810 -1 fail: function anonymous(it) {
12811 -1 var out = 'Focusable content should be disabled or be removed from the DOM';
12812 -1 return out;
12813 -1 }
12814 -1 }
-1 22923 'doc-introduction': {
-1 22924 type: 'landmark',
-1 22925 allowedAttrs: [ 'aria-expanded' ]
12815 22926 },
12816 -1 'focusable-not-tabbable': {
12817 -1 impact: 'serious',
12818 -1 messages: {
12819 -1 pass: function anonymous(it) {
12820 -1 var out = 'No focusable elements contained within element';
12821 -1 return out;
12822 -1 },
12823 -1 fail: function anonymous(it) {
12824 -1 var out = 'Focusable content should have tabindex=\'-1\' or be removed from the DOM';
12825 -1 return out;
12826 -1 }
12827 -1 }
-1 22927 'doc-noteref': {
-1 22928 type: 'link',
-1 22929 allowedAttrs: [ 'aria-expanded' ],
-1 22930 nameFromContent: true
12828 22931 },
12829 -1 'aria-required-attr': {
12830 -1 impact: 'critical',
12831 -1 messages: {
12832 -1 pass: function anonymous(it) {
12833 -1 var out = 'All required ARIA attributes are present';
12834 -1 return out;
12835 -1 },
12836 -1 fail: function anonymous(it) {
12837 -1 var out = 'Required ARIA attribute' + (it.data && it.data.length > 1 ? 's' : '') + ' not present:';
12838 -1 var arr1 = it.data;
12839 -1 if (arr1) {
12840 -1 var value, i1 = -1, l1 = arr1.length - 1;
12841 -1 while (i1 < l1) {
12842 -1 value = arr1[i1 += 1];
12843 -1 out += ' ' + value;
12844 -1 }
12845 -1 }
12846 -1 return out;
12847 -1 }
12848 -1 }
-1 22932 'doc-notice': {
-1 22933 type: 'note',
-1 22934 allowedAttrs: [ 'aria-expanded' ]
12849 22935 },
12850 -1 'aria-required-children': {
12851 -1 impact: 'critical',
12852 -1 messages: {
12853 -1 pass: function anonymous(it) {
12854 -1 var out = 'Required ARIA children are present';
12855 -1 return out;
12856 -1 },
12857 -1 fail: function anonymous(it) {
12858 -1 var out = 'Required ARIA ' + (it.data && it.data.length > 1 ? 'children' : 'child') + ' role not present:';
12859 -1 var arr1 = it.data;
12860 -1 if (arr1) {
12861 -1 var value, i1 = -1, l1 = arr1.length - 1;
12862 -1 while (i1 < l1) {
12863 -1 value = arr1[i1 += 1];
12864 -1 out += ' ' + value;
12865 -1 }
12866 -1 }
12867 -1 return out;
12868 -1 },
12869 -1 incomplete: function anonymous(it) {
12870 -1 var out = 'Expecting ARIA ' + (it.data && it.data.length > 1 ? 'children' : 'child') + ' role to be added:';
12871 -1 var arr1 = it.data;
12872 -1 if (arr1) {
12873 -1 var value, i1 = -1, l1 = arr1.length - 1;
12874 -1 while (i1 < l1) {
12875 -1 value = arr1[i1 += 1];
12876 -1 out += ' ' + value;
12877 -1 }
12878 -1 }
12879 -1 return out;
12880 -1 }
12881 -1 }
-1 22936 'doc-pagebreak': {
-1 22937 type: 'separator',
-1 22938 allowedAttrs: [ 'aria-expanded', 'aria-orientation' ]
12882 22939 },
12883 -1 'aria-required-parent': {
12884 -1 impact: 'critical',
12885 -1 messages: {
12886 -1 pass: function anonymous(it) {
12887 -1 var out = 'Required ARIA parent role present';
12888 -1 return out;
12889 -1 },
12890 -1 fail: function anonymous(it) {
12891 -1 var out = 'Required ARIA parent' + (it.data && it.data.length > 1 ? 's' : '') + ' role not present:';
12892 -1 var arr1 = it.data;
12893 -1 if (arr1) {
12894 -1 var value, i1 = -1, l1 = arr1.length - 1;
12895 -1 while (i1 < l1) {
12896 -1 value = arr1[i1 += 1];
12897 -1 out += ' ' + value;
12898 -1 }
12899 -1 }
12900 -1 return out;
12901 -1 }
12902 -1 }
-1 22940 'doc-pagelist': {
-1 22941 type: 'navigation',
-1 22942 allowedAttrs: [ 'aria-expanded' ]
12903 22943 },
12904 -1 invalidrole: {
12905 -1 impact: 'critical',
12906 -1 messages: {
12907 -1 pass: function anonymous(it) {
12908 -1 var out = 'ARIA role is valid';
12909 -1 return out;
12910 -1 },
12911 -1 fail: function anonymous(it) {
12912 -1 var out = 'Role must be one of the valid ARIA roles';
12913 -1 return out;
12914 -1 }
12915 -1 }
-1 22944 'doc-part': {
-1 22945 type: 'landmark',
-1 22946 allowedAttrs: [ 'aria-expanded' ]
12916 22947 },
12917 -1 abstractrole: {
12918 -1 impact: 'serious',
12919 -1 messages: {
12920 -1 pass: function anonymous(it) {
12921 -1 var out = 'Abstract roles are not used';
12922 -1 return out;
12923 -1 },
12924 -1 fail: function anonymous(it) {
12925 -1 var out = 'Abstract roles cannot be directly used';
12926 -1 return out;
12927 -1 }
12928 -1 }
-1 22948 'doc-preface': {
-1 22949 type: 'landmark',
-1 22950 allowedAttrs: [ 'aria-expanded' ]
12929 22951 },
12930 -1 unsupportedrole: {
12931 -1 impact: 'critical',
12932 -1 messages: {
12933 -1 pass: function anonymous(it) {
12934 -1 var out = 'ARIA role is supported';
12935 -1 return out;
12936 -1 },
12937 -1 fail: function anonymous(it) {
12938 -1 var out = 'The role used is not widely supported in screen readers and assistive technologies: ';
12939 -1 var arr1 = it.data;
12940 -1 if (arr1) {
12941 -1 var value, i1 = -1, l1 = arr1.length - 1;
12942 -1 while (i1 < l1) {
12943 -1 value = arr1[i1 += 1];
12944 -1 out += ' ' + value;
12945 -1 }
12946 -1 }
12947 -1 return out;
12948 -1 }
12949 -1 }
-1 22952 'doc-prologue': {
-1 22953 type: 'landmark',
-1 22954 allowedAttrs: [ 'aria-expanded' ]
12950 22955 },
12951 -1 'aria-valid-attr-value': {
12952 -1 impact: 'critical',
12953 -1 messages: {
12954 -1 pass: function anonymous(it) {
12955 -1 var out = 'ARIA attribute values are valid';
12956 -1 return out;
12957 -1 },
12958 -1 fail: function anonymous(it) {
12959 -1 var out = 'Invalid ARIA attribute value' + (it.data && it.data.length > 1 ? 's' : '') + ':';
12960 -1 var arr1 = it.data;
12961 -1 if (arr1) {
12962 -1 var value, i1 = -1, l1 = arr1.length - 1;
12963 -1 while (i1 < l1) {
12964 -1 value = arr1[i1 += 1];
12965 -1 out += ' ' + value;
12966 -1 }
12967 -1 }
12968 -1 return out;
12969 -1 }
12970 -1 }
-1 22956 'doc-pullquote': {
-1 22957 type: 'none'
12971 22958 },
12972 -1 'aria-errormessage': {
12973 -1 impact: 'critical',
12974 -1 messages: {
12975 -1 pass: function anonymous(it) {
12976 -1 var out = 'Uses a supported aria-errormessage technique';
12977 -1 return out;
12978 -1 },
12979 -1 fail: function anonymous(it) {
12980 -1 var out = 'aria-errormessage value' + (it.data && it.data.length > 1 ? 's' : '') + ' ';
12981 -1 var arr1 = it.data;
12982 -1 if (arr1) {
12983 -1 var value, i1 = -1, l1 = arr1.length - 1;
12984 -1 while (i1 < l1) {
12985 -1 value = arr1[i1 += 1];
12986 -1 out += ' `' + value;
12987 -1 }
12988 -1 }
12989 -1 out += '` must use a technique to announce the message (e.g., aria-live, aria-describedby, role=alert, etc.)';
12990 -1 return out;
12991 -1 }
12992 -1 }
-1 22959 'doc-qna': {
-1 22960 type: 'section',
-1 22961 allowedAttrs: [ 'aria-expanded' ]
12993 22962 },
12994 -1 'aria-valid-attr': {
12995 -1 impact: 'critical',
12996 -1 messages: {
12997 -1 pass: function anonymous(it) {
12998 -1 var out = 'ARIA attribute name' + (it.data && it.data.length > 1 ? 's' : '') + ' are valid';
12999 -1 return out;
13000 -1 },
13001 -1 fail: function anonymous(it) {
13002 -1 var out = 'Invalid ARIA attribute name' + (it.data && it.data.length > 1 ? 's' : '') + ':';
13003 -1 var arr1 = it.data;
13004 -1 if (arr1) {
13005 -1 var value, i1 = -1, l1 = arr1.length - 1;
13006 -1 while (i1 < l1) {
13007 -1 value = arr1[i1 += 1];
13008 -1 out += ' ' + value;
13009 -1 }
13010 -1 }
13011 -1 return out;
13012 -1 }
13013 -1 }
-1 22963 'doc-subtitle': {
-1 22964 type: 'sectionhead',
-1 22965 allowedAttrs: [ 'aria-expanded' ]
13014 22966 },
13015 -1 caption: {
13016 -1 impact: 'critical',
13017 -1 messages: {
13018 -1 pass: function anonymous(it) {
13019 -1 var out = 'The multimedia element has a captions track';
13020 -1 return out;
13021 -1 },
13022 -1 incomplete: function anonymous(it) {
13023 -1 var out = 'Check that captions is available for the element';
13024 -1 return out;
13025 -1 }
13026 -1 }
-1 22967 'doc-tip': {
-1 22968 type: 'note',
-1 22969 allowedAttrs: [ 'aria-expanded' ]
13027 22970 },
13028 -1 'autocomplete-valid': {
13029 -1 impact: 'serious',
13030 -1 messages: {
13031 -1 pass: function anonymous(it) {
13032 -1 var out = 'the autocomplete attribute is correctly formatted';
13033 -1 return out;
-1 22971 'doc-toc': {
-1 22972 type: 'navigation',
-1 22973 allowedAttrs: [ 'aria-expanded' ]
-1 22974 }
-1 22975 };
-1 22976 __webpack_exports__['default'] = dpubRoles;
-1 22977 },
-1 22978 './lib/standards/html-elms.js': function libStandardsHtmlElmsJs(module, __webpack_exports__, __webpack_require__) {
-1 22979 'use strict';
-1 22980 __webpack_require__.r(__webpack_exports__);
-1 22981 var htmlElms = {
-1 22982 a: {
-1 22983 variant: {
-1 22984 href: {
-1 22985 matches: '[href]',
-1 22986 contentTypes: [ 'interactive', 'phrasing', 'flow' ],
-1 22987 allowedRoles: [ 'button', 'checkbox', 'menuitem', 'menuitemcheckbox', 'menuitemradio', 'option', 'radio', 'switch', 'tab', 'treeitem', 'doc-backlink', 'doc-biblioref', 'doc-glossref', 'doc-noteref' ]
13034 22988 },
13035 -1 fail: function anonymous(it) {
13036 -1 var out = 'the autocomplete attribute is incorrectly formatted';
13037 -1 return out;
-1 22989 default: {
-1 22990 contentTypes: [ 'phrasing', 'flow' ],
-1 22991 allowedRoles: true
13038 22992 }
13039 22993 }
13040 22994 },
13041 -1 'autocomplete-appropriate': {
13042 -1 impact: 'serious',
13043 -1 messages: {
13044 -1 pass: function anonymous(it) {
13045 -1 var out = 'the autocomplete value is on an appropriate element';
13046 -1 return out;
13047 -1 },
13048 -1 fail: function anonymous(it) {
13049 -1 var out = 'the autocomplete value is inappropriate for this type of input';
13050 -1 return out;
13051 -1 }
13052 -1 }
-1 22995 abbr: {
-1 22996 contentTypes: [ 'phrasing', 'flow' ],
-1 22997 allowedRoles: true
13053 22998 },
13054 -1 'is-on-screen': {
13055 -1 impact: 'serious',
13056 -1 messages: {
13057 -1 pass: function anonymous(it) {
13058 -1 var out = 'Element is not visible';
13059 -1 return out;
13060 -1 },
13061 -1 fail: function anonymous(it) {
13062 -1 var out = 'Element is visible';
13063 -1 return out;
13064 -1 }
13065 -1 }
-1 22999 addres: {
-1 23000 contentTypes: [ 'flow' ],
-1 23001 allowedRoles: true
13066 23002 },
13067 -1 'non-empty-if-present': {
13068 -1 impact: 'critical',
13069 -1 messages: {
13070 -1 pass: function anonymous(it) {
13071 -1 var out = 'Element ';
13072 -1 if (it.data) {
13073 -1 out += 'has a non-empty value attribute';
13074 -1 } else {
13075 -1 out += 'does not have a value attribute';
13076 -1 }
13077 -1 return out;
13078 -1 },
13079 -1 fail: function anonymous(it) {
13080 -1 var out = 'Element has a value attribute and the value attribute is empty';
13081 -1 return out;
13082 -1 }
13083 -1 }
-1 23003 area: {
-1 23004 contentTypes: [ 'phrasing', 'flow' ],
-1 23005 allowedRoles: false
13084 23006 },
13085 -1 'non-empty-value': {
13086 -1 impact: 'critical',
13087 -1 messages: {
13088 -1 pass: function anonymous(it) {
13089 -1 var out = 'Element has a non-empty value attribute';
13090 -1 return out;
-1 23007 article: {
-1 23008 contentTypes: [ 'sectioning', 'flow' ],
-1 23009 allowedRoles: [ 'feed', 'presentation', 'none', 'document', 'application', 'main', 'region' ],
-1 23010 shadowRoot: true
-1 23011 },
-1 23012 aside: {
-1 23013 contentTypes: [ 'sectioning', 'flow' ],
-1 23014 allowedRoles: [ 'feed', 'note', 'presentation', 'none', 'region', 'search', 'doc-dedication', 'doc-example', 'doc-footnote', 'doc-pullquote', 'doc-tip' ]
-1 23015 },
-1 23016 audio: {
-1 23017 variant: {
-1 23018 controls: {
-1 23019 matches: '[controls]',
-1 23020 contentTypes: [ 'interactive', 'embedded', 'phrasing', 'flow' ]
13091 23021 },
13092 -1 fail: function anonymous(it) {
13093 -1 var out = 'Element has no value attribute or the value attribute is empty';
13094 -1 return out;
-1 23022 default: {
-1 23023 contentTypes: [ 'embedded', 'phrasing', 'flow' ]
13095 23024 }
13096 -1 }
-1 23025 },
-1 23026 allowedRoles: [ 'application' ]
13097 23027 },
13098 -1 'button-has-visible-text': {
13099 -1 impact: 'critical',
13100 -1 messages: {
13101 -1 pass: function anonymous(it) {
13102 -1 var out = 'Element has inner text that is visible to screen readers';
13103 -1 return out;
13104 -1 },
13105 -1 fail: function anonymous(it) {
13106 -1 var out = 'Element does not have inner text that is visible to screen readers';
13107 -1 return out;
13108 -1 }
13109 -1 }
-1 23028 b: {
-1 23029 contentTypes: [ 'phrasing', 'flow' ],
-1 23030 allowedRoles: false
13110 23031 },
13111 -1 'role-presentation': {
13112 -1 impact: 'minor',
13113 -1 messages: {
13114 -1 pass: function anonymous(it) {
13115 -1 var out = 'Element\'s default semantics were overriden with role="presentation"';
13116 -1 return out;
13117 -1 },
13118 -1 fail: function anonymous(it) {
13119 -1 var out = 'Element\'s default semantics were not overridden with role="presentation"';
13120 -1 return out;
13121 -1 }
13122 -1 }
-1 23032 base: {
-1 23033 allowedRoles: false,
-1 23034 noAriaAttrs: true
13123 23035 },
13124 -1 'role-none': {
13125 -1 impact: 'minor',
13126 -1 messages: {
13127 -1 pass: function anonymous(it) {
13128 -1 var out = 'Element\'s default semantics were overriden with role="none"';
13129 -1 return out;
13130 -1 },
13131 -1 fail: function anonymous(it) {
13132 -1 var out = 'Element\'s default semantics were not overridden with role="none"';
13133 -1 return out;
13134 -1 }
13135 -1 }
-1 23036 bdi: {
-1 23037 contentTypes: [ 'phrasing', 'flow' ],
-1 23038 allowedRoles: true
13136 23039 },
13137 -1 'focusable-no-name': {
13138 -1 impact: 'serious',
13139 -1 messages: {
13140 -1 pass: function anonymous(it) {
13141 -1 var out = 'Element is not in tab order or has accessible text';
13142 -1 return out;
13143 -1 },
13144 -1 fail: function anonymous(it) {
13145 -1 var out = 'Element is in tab order and does not have accessible text';
13146 -1 return out;
13147 -1 }
13148 -1 }
-1 23040 bdo: {
-1 23041 contentTypes: [ 'phrasing', 'flow' ],
-1 23042 allowedRoles: true
13149 23043 },
13150 -1 'internal-link-present': {
13151 -1 impact: 'serious',
13152 -1 messages: {
13153 -1 pass: function anonymous(it) {
13154 -1 var out = 'Valid skip link found';
13155 -1 return out;
13156 -1 },
13157 -1 fail: function anonymous(it) {
13158 -1 var out = 'No valid skip link found';
13159 -1 return out;
13160 -1 }
13161 -1 }
-1 23044 blockquote: {
-1 23045 contentTypes: [ 'flow' ],
-1 23046 allowedRoles: true,
-1 23047 shadowRoot: true
13162 23048 },
13163 -1 'header-present': {
13164 -1 impact: 'serious',
13165 -1 messages: {
13166 -1 pass: function anonymous(it) {
13167 -1 var out = 'Page has a header';
13168 -1 return out;
13169 -1 },
13170 -1 fail: function anonymous(it) {
13171 -1 var out = 'Page does not have a header';
13172 -1 return out;
13173 -1 }
13174 -1 }
-1 23049 body: {
-1 23050 allowedRoles: false,
-1 23051 shadowRoot: true
13175 23052 },
13176 -1 landmark: {
13177 -1 impact: 'serious',
13178 -1 messages: {
13179 -1 pass: function anonymous(it) {
13180 -1 var out = 'Page has a landmark region';
13181 -1 return out;
13182 -1 },
13183 -1 fail: function anonymous(it) {
13184 -1 var out = 'Page does not have a landmark region';
13185 -1 return out;
13186 -1 }
13187 -1 }
-1 23053 br: {
-1 23054 contentTypes: [ 'phrasing', 'flow' ],
-1 23055 allowedRoles: [ 'presentation', 'none' ],
-1 23056 namingMethods: [ 'titleText', 'singleSpace' ]
13188 23057 },
13189 -1 'group-labelledby': {
13190 -1 impact: 'critical',
13191 -1 messages: {
13192 -1 pass: function anonymous(it) {
13193 -1 var out = 'Elements with the name "' + it.data.name + '" have both a shared label, and a unique label, referenced through aria-labelledby';
13194 -1 return out;
13195 -1 },
13196 -1 fail: function anonymous(it) {
13197 -1 var out = '';
13198 -1 var code = it.data && it.data.failureCode;
13199 -1 out += 'Elements with the name "' + it.data.name + '" do not all have ';
13200 -1 if (code === 'no-shared-label') {
13201 -1 out += 'a shared label';
13202 -1 } else if (code === 'no-unique-label') {
13203 -1 out += 'a unique label';
13204 -1 } else {
13205 -1 out += 'both a shared label, and a unique label';
13206 -1 }
13207 -1 out += ', referenced through aria-labelledby';
13208 -1 return out;
13209 -1 }
13210 -1 }
-1 23058 button: {
-1 23059 contentTypes: [ 'interactive', 'phrasing', 'flow' ],
-1 23060 allowedRoles: [ 'checkbox', 'link', 'menuitem', 'menuitemcheckbox', 'menuitemradio', 'option', 'radio', 'switch', 'tab' ],
-1 23061 namingMethods: [ 'subtreeText' ]
13211 23062 },
13212 -1 fieldset: {
13213 -1 impact: 'critical',
13214 -1 messages: {
13215 -1 pass: function anonymous(it) {
13216 -1 var out = 'Element is contained in a fieldset';
13217 -1 return out;
13218 -1 },
13219 -1 fail: function anonymous(it) {
13220 -1 var out = '';
13221 -1 var code = it.data && it.data.failureCode;
13222 -1 if (code === 'no-legend') {
13223 -1 out += 'Fieldset does not have a legend as its first child';
13224 -1 } else if (code === 'empty-legend') {
13225 -1 out += 'Legend does not have text that is visible to screen readers';
13226 -1 } else if (code === 'mixed-inputs') {
13227 -1 out += 'Fieldset contains unrelated inputs';
13228 -1 } else if (code === 'no-group-label') {
13229 -1 out += 'ARIA group does not have aria-label or aria-labelledby';
13230 -1 } else if (code === 'group-mixed-inputs') {
13231 -1 out += 'ARIA group contains unrelated inputs';
13232 -1 } else {
13233 -1 out += 'Element does not have a containing fieldset or ARIA group';
13234 -1 }
13235 -1 return out;
13236 -1 }
13237 -1 }
-1 23063 canvas: {
-1 23064 allowedRoles: true,
-1 23065 contentTypes: [ 'embedded', 'phrasing', 'flow' ]
13238 23066 },
13239 -1 'color-contrast': {
13240 -1 impact: 'serious',
13241 -1 messages: {
13242 -1 pass: function anonymous(it) {
13243 -1 var out = 'Element has sufficient color contrast of ' + it.data.contrastRatio;
13244 -1 return out;
13245 -1 },
13246 -1 fail: function anonymous(it) {
13247 -1 var out = 'Element has insufficient color contrast of ' + it.data.contrastRatio + ' (foreground color: ' + it.data.fgColor + ', background color: ' + it.data.bgColor + ', font size: ' + it.data.fontSize + ', font weight: ' + it.data.fontWeight + '). Expected contrast ratio of ' + it.data.expectedContrastRatio;
13248 -1 return out;
13249 -1 },
13250 -1 incomplete: {
13251 -1 bgImage: 'Element\'s background color could not be determined due to a background image',
13252 -1 bgGradient: 'Element\'s background color could not be determined due to a background gradient',
13253 -1 imgNode: 'Element\'s background color could not be determined because element contains an image node',
13254 -1 bgOverlap: 'Element\'s background color could not be determined because it is overlapped by another element',
13255 -1 fgAlpha: 'Element\'s foreground color could not be determined because of alpha transparency',
13256 -1 elmPartiallyObscured: 'Element\'s background color could not be determined because it\'s partially obscured by another element',
13257 -1 elmPartiallyObscuring: 'Element\'s background color could not be determined because it partially overlaps other elements',
13258 -1 outsideViewport: 'Element\'s background color could not be determined because it\'s outside the viewport',
13259 -1 equalRatio: 'Element has a 1:1 contrast ratio with the background',
13260 -1 shortTextContent: 'Element content is too short to determine if it is actual text content',
13261 -1 default: 'Unable to determine contrast ratio'
13262 -1 }
13263 -1 }
-1 23067 caption: {
-1 23068 allowedRoles: false
13264 23069 },
13265 -1 'css-orientation-lock': {
13266 -1 impact: 'serious',
13267 -1 messages: {
13268 -1 pass: function anonymous(it) {
13269 -1 var out = 'Display is operable, and orientation lock does not exist';
13270 -1 return out;
13271 -1 },
13272 -1 fail: function anonymous(it) {
13273 -1 var out = 'CSS Orientation lock is applied, and makes display inoperable';
13274 -1 return out;
13275 -1 },
13276 -1 incomplete: function anonymous(it) {
13277 -1 var out = 'CSS Orientation lock cannot be determined';
13278 -1 return out;
13279 -1 }
13280 -1 }
-1 23070 cite: {
-1 23071 contentTypes: [ 'phrasing', 'flow' ],
-1 23072 allowedRoles: true
13281 23073 },
13282 -1 'structured-dlitems': {
13283 -1 impact: 'serious',
13284 -1 messages: {
13285 -1 pass: function anonymous(it) {
13286 -1 var out = 'When not empty, element has both <dt> and <dd> elements';
13287 -1 return out;
13288 -1 },
13289 -1 fail: function anonymous(it) {
13290 -1 var out = 'When not empty, element does not have at least one <dt> element followed by at least one <dd> element';
13291 -1 return out;
13292 -1 }
13293 -1 }
-1 23074 code: {
-1 23075 contentTypes: [ 'phrasing', 'flow' ],
-1 23076 allowedRoles: true
13294 23077 },
13295 -1 'only-dlitems': {
13296 -1 impact: 'serious',
13297 -1 messages: {
13298 -1 pass: function anonymous(it) {
13299 -1 var out = 'List element only has direct children that are allowed inside <dt> or <dd> elements';
13300 -1 return out;
13301 -1 },
13302 -1 fail: function anonymous(it) {
13303 -1 var out = 'List element has direct children that are not allowed inside <dt> or <dd> elements';
13304 -1 return out;
13305 -1 }
13306 -1 }
-1 23078 col: {
-1 23079 allowedRoles: false,
-1 23080 noAriaAttrs: true
13307 23081 },
13308 -1 dlitem: {
13309 -1 impact: 'serious',
13310 -1 messages: {
13311 -1 pass: function anonymous(it) {
13312 -1 var out = 'Description list item has a <dl> parent element';
13313 -1 return out;
13314 -1 },
13315 -1 fail: function anonymous(it) {
13316 -1 var out = 'Description list item does not have a <dl> parent element';
13317 -1 return out;
13318 -1 }
13319 -1 }
-1 23082 colgroup: {
-1 23083 allowedRoles: false,
-1 23084 noAriaAttrs: true
13320 23085 },
13321 -1 'doc-has-title': {
13322 -1 impact: 'serious',
13323 -1 messages: {
13324 -1 pass: function anonymous(it) {
13325 -1 var out = 'Document has a non-empty <title> element';
13326 -1 return out;
13327 -1 },
13328 -1 fail: function anonymous(it) {
13329 -1 var out = 'Document does not have a non-empty <title> element';
13330 -1 return out;
13331 -1 }
13332 -1 }
-1 23086 data: {
-1 23087 contentTypes: [ 'phrasing', 'flow' ],
-1 23088 allowedRoles: true
13333 23089 },
13334 -1 'duplicate-id-active': {
13335 -1 impact: 'serious',
13336 -1 messages: {
13337 -1 pass: function anonymous(it) {
13338 -1 var out = 'Document has no active elements that share the same id attribute';
13339 -1 return out;
13340 -1 },
13341 -1 fail: function anonymous(it) {
13342 -1 var out = 'Document has active elements with the same id attribute: ' + it.data;
13343 -1 return out;
13344 -1 }
-1 23090 datalist: {
-1 23091 contentTypes: [ 'phrasing', 'flow' ],
-1 23092 allowedRoles: false,
-1 23093 implicitAttrs: {
-1 23094 'aria-multiselectable': 'false'
13345 23095 }
13346 23096 },
13347 -1 'duplicate-id-aria': {
13348 -1 impact: 'critical',
13349 -1 messages: {
13350 -1 pass: function anonymous(it) {
13351 -1 var out = 'Document has no elements referenced with ARIA or labels that share the same id attribute';
13352 -1 return out;
13353 -1 },
13354 -1 fail: function anonymous(it) {
13355 -1 var out = 'Document has multiple elements referenced with ARIA with the same id attribute: ' + it.data;
13356 -1 return out;
13357 -1 }
13358 -1 }
-1 23097 dd: {
-1 23098 allowedRoles: false
13359 23099 },
13360 -1 'duplicate-id': {
13361 -1 impact: 'minor',
13362 -1 messages: {
13363 -1 pass: function anonymous(it) {
13364 -1 var out = 'Document has no static elements that share the same id attribute';
13365 -1 return out;
13366 -1 },
13367 -1 fail: function anonymous(it) {
13368 -1 var out = 'Document has multiple static elements with the same id attribute';
13369 -1 return out;
13370 -1 }
13371 -1 }
-1 23100 del: {
-1 23101 contentTypes: [ 'phrasing', 'flow' ],
-1 23102 allowedRoles: true
13372 23103 },
13373 -1 'has-visible-text': {
13374 -1 impact: 'minor',
13375 -1 messages: {
13376 -1 pass: function anonymous(it) {
13377 -1 var out = 'Element has text that is visible to screen readers';
13378 -1 return out;
13379 -1 },
13380 -1 fail: function anonymous(it) {
13381 -1 var out = 'Element does not have text that is visible to screen readers';
13382 -1 return out;
13383 -1 }
13384 -1 }
-1 23104 dfn: {
-1 23105 contentTypes: [ 'phrasing', 'flow' ],
-1 23106 allowedRoles: true
13385 23107 },
13386 -1 'has-widget-role': {
13387 -1 impact: 'minor',
13388 -1 messages: {
13389 -1 pass: function anonymous(it) {
13390 -1 var out = 'Element has a widget role.';
13391 -1 return out;
13392 -1 },
13393 -1 fail: function anonymous(it) {
13394 -1 var out = 'Element does not have a widget role.';
13395 -1 return out;
13396 -1 }
13397 -1 }
-1 23108 details: {
-1 23109 contentTypes: [ 'interactive', 'flow' ],
-1 23110 allowedRoles: false
13398 23111 },
13399 -1 'valid-scrollable-semantics': {
13400 -1 impact: 'minor',
13401 -1 messages: {
13402 -1 pass: function anonymous(it) {
13403 -1 var out = 'Element has valid semantics for an element in the focus order.';
13404 -1 return out;
13405 -1 },
13406 -1 fail: function anonymous(it) {
13407 -1 var out = 'Element has invalid semantics for an element in the focus order.';
13408 -1 return out;
13409 -1 }
13410 -1 }
-1 23112 dialog: {
-1 23113 contentTypes: [ 'flow' ],
-1 23114 allowedRoles: [ 'alertdialog' ]
13411 23115 },
13412 -1 'multiple-label': {
13413 -1 impact: 'moderate',
13414 -1 messages: {
13415 -1 pass: function anonymous(it) {
13416 -1 var out = 'Form field does not have multiple label elements';
13417 -1 return out;
13418 -1 },
13419 -1 fail: function anonymous(it) {
13420 -1 var out = 'Multiple label elements is not widely supported in assistive technologies';
13421 -1 return out;
13422 -1 }
13423 -1 }
-1 23116 div: {
-1 23117 contentTypes: [ 'flow' ],
-1 23118 allowedRoles: true,
-1 23119 shadowRoot: true
13424 23120 },
13425 -1 'frame-tested': {
13426 -1 impact: 'critical',
13427 -1 messages: {
13428 -1 pass: function anonymous(it) {
13429 -1 var out = 'The iframe was tested with axe-core';
13430 -1 return out;
13431 -1 },
13432 -1 fail: function anonymous(it) {
13433 -1 var out = 'The iframe could not be tested with axe-core';
13434 -1 return out;
13435 -1 },
13436 -1 incomplete: function anonymous(it) {
13437 -1 var out = 'The iframe still has to be tested with axe-core';
13438 -1 return out;
13439 -1 }
13440 -1 }
-1 23121 dl: {
-1 23122 contentTypes: [ 'flow' ],
-1 23123 allowedRoles: [ 'group', 'list', 'presentation', 'none' ]
-1 23124 },
-1 23125 dt: {
-1 23126 allowedRoles: [ 'listitem' ]
-1 23127 },
-1 23128 em: {
-1 23129 contentTypes: [ 'phrasing', 'flow' ],
-1 23130 allowedRoles: true
-1 23131 },
-1 23132 embed: {
-1 23133 contentTypes: [ 'interactive', 'embedded', 'phrasing', 'flow' ],
-1 23134 allowedRoles: [ 'application', 'document', 'img', 'presentation', 'none' ]
-1 23135 },
-1 23136 fieldset: {
-1 23137 contentTypes: [ 'flow' ],
-1 23138 allowedRoles: [ 'none', 'presentation', 'radiogroup' ],
-1 23139 namingMethods: [ 'fieldsetLegendText' ]
13441 23140 },
13442 -1 'unique-frame-title': {
13443 -1 impact: 'serious',
13444 -1 messages: {
13445 -1 pass: function anonymous(it) {
13446 -1 var out = 'Element\'s title attribute is unique';
13447 -1 return out;
13448 -1 },
13449 -1 fail: function anonymous(it) {
13450 -1 var out = 'Element\'s title attribute is not unique';
13451 -1 return out;
13452 -1 }
13453 -1 }
-1 23141 figcaption: {
-1 23142 allowedRoles: [ 'group', 'none', 'presentation' ]
13454 23143 },
13455 -1 'heading-order': {
13456 -1 impact: 'moderate',
13457 -1 messages: {
13458 -1 pass: function anonymous(it) {
13459 -1 var out = 'Heading order valid';
13460 -1 return out;
13461 -1 },
13462 -1 fail: function anonymous(it) {
13463 -1 var out = 'Heading order invalid';
13464 -1 return out;
13465 -1 }
13466 -1 }
-1 23144 figure: {
-1 23145 contentTypes: [ 'flow' ],
-1 23146 allowedRoles: true,
-1 23147 namingMethods: [ 'figureText', 'titleText' ]
13467 23148 },
13468 -1 'hidden-content': {
13469 -1 impact: 'minor',
13470 -1 messages: {
13471 -1 pass: function anonymous(it) {
13472 -1 var out = 'All content on the page has been analyzed.';
13473 -1 return out;
13474 -1 },
13475 -1 fail: function anonymous(it) {
13476 -1 var out = 'There were problems analyzing the content on this page.';
13477 -1 return out;
13478 -1 },
13479 -1 incomplete: function anonymous(it) {
13480 -1 var out = 'There is hidden content on the page that was not analyzed. You will need to trigger the display of this content in order to analyze it.';
13481 -1 return out;
13482 -1 }
-1 23149 footer: {
-1 23150 contentTypes: [ 'flow' ],
-1 23151 allowedRoles: [ 'group', 'none', 'presentation', 'doc-footnote' ],
-1 23152 shadowRoot: true
-1 23153 },
-1 23154 form: {
-1 23155 contentTypes: [ 'flow' ],
-1 23156 allowedRoles: [ 'search', 'none', 'presentation' ]
-1 23157 },
-1 23158 h1: {
-1 23159 contentTypes: [ 'heading', 'flow' ],
-1 23160 allowedRoles: [ 'none', 'presentation', 'tab', 'doc-subtitle' ],
-1 23161 shadowRoot: true,
-1 23162 implicitAttrs: {
-1 23163 'aria-level': '1'
13483 23164 }
13484 23165 },
13485 -1 'has-lang': {
13486 -1 impact: 'serious',
13487 -1 messages: {
13488 -1 pass: function anonymous(it) {
13489 -1 var out = 'The <html> element has a lang attribute';
13490 -1 return out;
13491 -1 },
13492 -1 fail: function anonymous(it) {
13493 -1 var out = 'The <html> element does not have a lang attribute';
13494 -1 return out;
13495 -1 }
-1 23166 h2: {
-1 23167 contentTypes: [ 'heading', 'flow' ],
-1 23168 allowedRoles: [ 'none', 'presentation', 'tab', 'doc-subtitle' ],
-1 23169 shadowRoot: true,
-1 23170 implicitAttrs: {
-1 23171 'aria-level': '2'
13496 23172 }
13497 23173 },
13498 -1 'valid-lang': {
13499 -1 impact: 'serious',
13500 -1 messages: {
13501 -1 pass: function anonymous(it) {
13502 -1 var out = 'Value of lang attribute is included in the list of valid languages';
13503 -1 return out;
13504 -1 },
13505 -1 fail: function anonymous(it) {
13506 -1 var out = 'Value of lang attribute not included in the list of valid languages';
13507 -1 return out;
13508 -1 }
-1 23174 h3: {
-1 23175 contentTypes: [ 'heading', 'flow' ],
-1 23176 allowedRoles: [ 'none', 'presentation', 'tab', 'doc-subtitle' ],
-1 23177 shadowRoot: true,
-1 23178 implicitAttrs: {
-1 23179 'aria-level': '3'
13509 23180 }
13510 23181 },
13511 -1 'xml-lang-mismatch': {
13512 -1 impact: 'moderate',
13513 -1 messages: {
13514 -1 pass: function anonymous(it) {
13515 -1 var out = 'Lang and xml:lang attributes have the same base language';
13516 -1 return out;
13517 -1 },
13518 -1 fail: function anonymous(it) {
13519 -1 var out = 'Lang and xml:lang attributes do not have the same base language';
13520 -1 return out;
13521 -1 }
-1 23182 h4: {
-1 23183 contentTypes: [ 'heading', 'flow' ],
-1 23184 allowedRoles: [ 'none', 'presentation', 'tab', 'doc-subtitle' ],
-1 23185 shadowRoot: true,
-1 23186 implicitAttrs: {
-1 23187 'aria-level': '4'
13522 23188 }
13523 23189 },
13524 -1 'has-alt': {
13525 -1 impact: 'critical',
13526 -1 messages: {
13527 -1 pass: function anonymous(it) {
13528 -1 var out = 'Element has an alt attribute';
13529 -1 return out;
13530 -1 },
13531 -1 fail: function anonymous(it) {
13532 -1 var out = 'Element does not have an alt attribute';
13533 -1 return out;
13534 -1 }
-1 23190 h5: {
-1 23191 contentTypes: [ 'heading', 'flow' ],
-1 23192 allowedRoles: [ 'none', 'presentation', 'tab', 'doc-subtitle' ],
-1 23193 shadowRoot: true,
-1 23194 implicitAttrs: {
-1 23195 'aria-level': '5'
13535 23196 }
13536 23197 },
13537 -1 'alt-space-value': {
13538 -1 impact: 'critical',
13539 -1 messages: {
13540 -1 pass: function anonymous(it) {
13541 -1 var out = 'Element has a valid alt attribute value';
13542 -1 return out;
13543 -1 },
13544 -1 fail: function anonymous(it) {
13545 -1 var out = 'Element has an alt attribute containing only a space character, which is not ignored by all screen readers';
13546 -1 return out;
13547 -1 }
-1 23198 h6: {
-1 23199 contentTypes: [ 'heading', 'flow' ],
-1 23200 allowedRoles: [ 'none', 'presentation', 'tab', 'doc-subtitle' ],
-1 23201 shadowRoot: true,
-1 23202 implicitAttrs: {
-1 23203 'aria-level': '6'
13548 23204 }
13549 23205 },
13550 -1 'duplicate-img-label': {
13551 -1 impact: 'minor',
13552 -1 messages: {
13553 -1 pass: function anonymous(it) {
13554 -1 var out = 'Element does not duplicate existing text in <img> alt text';
13555 -1 return out;
-1 23206 head: {
-1 23207 allowedRoles: false,
-1 23208 noAriaAttrs: true
-1 23209 },
-1 23210 header: {
-1 23211 contentTypes: [ 'flow' ],
-1 23212 allowedRoles: [ 'group', 'none', 'presentation', 'doc-footnote' ],
-1 23213 shadowRoot: true
-1 23214 },
-1 23215 hgroup: {
-1 23216 contentTypes: [ 'heading', 'flow' ],
-1 23217 allowedRoles: true
-1 23218 },
-1 23219 hr: {
-1 23220 contentTypes: [ 'flow' ],
-1 23221 allowedRoles: [ 'none', 'presentation', 'doc-pagebreak' ],
-1 23222 namingMethods: [ 'titleText', 'singleSpace' ]
-1 23223 },
-1 23224 html: {
-1 23225 allowedRoles: false,
-1 23226 noAriaAttrs: true
-1 23227 },
-1 23228 i: {
-1 23229 contentTypes: [ 'phrasing', 'flow' ],
-1 23230 allowedRoles: true
-1 23231 },
-1 23232 iframe: {
-1 23233 contentTypes: [ 'interactive', 'embedded', 'phrasing', 'flow' ],
-1 23234 allowedRoles: [ 'application', 'document', 'img', 'none', 'presentation' ]
-1 23235 },
-1 23236 img: {
-1 23237 variant: {
-1 23238 nonEmptyAlt: {
-1 23239 matches: {
-1 23240 attributes: {
-1 23241 alt: '/.+/'
-1 23242 }
-1 23243 },
-1 23244 allowedRoles: [ 'button', 'checkbox', 'link', 'menuitem', 'menuitemcheckbox', 'menuitemradio', 'option', 'progressbar', 'scrollbar', 'separator', 'slider', 'switch', 'tab', 'treeitem', 'doc-cover' ]
13556 23245 },
13557 -1 fail: function anonymous(it) {
13558 -1 var out = 'Element contains <img> element with alt text that duplicates existing text';
13559 -1 return out;
-1 23246 usemap: {
-1 23247 matches: '[usemap]',
-1 23248 contentTypes: [ 'interactive', 'embedded', 'phrasing', 'flow' ]
-1 23249 },
-1 23250 default: {
-1 23251 allowedRoles: [ 'presentation', 'none' ],
-1 23252 contentTypes: [ 'embedded', 'phrasing', 'flow' ]
13560 23253 }
13561 -1 }
-1 23254 },
-1 23255 namingMethods: [ 'altText' ]
13562 23256 },
13563 -1 'label-content-name-mismatch': {
13564 -1 impact: 'serious',
13565 -1 messages: {
13566 -1 pass: function anonymous(it) {
13567 -1 var out = 'Element contains visible text as part of it\'s accessible name';
13568 -1 return out;
-1 23257 input: {
-1 23258 variant: {
-1 23259 button: {
-1 23260 matches: {
-1 23261 properties: {
-1 23262 type: 'button'
-1 23263 }
-1 23264 },
-1 23265 allowedRoles: [ 'link', 'menuitem', 'menuitemcheckbox', 'menuitemradio', 'option', 'radio', 'switch', 'tab' ]
13569 23266 },
13570 -1 fail: function anonymous(it) {
13571 -1 var out = 'Text inside the element is not included in the accessible name';
13572 -1 return out;
-1 23267 buttonType: {
-1 23268 matches: {
-1 23269 properties: {
-1 23270 type: [ 'button', 'submit', 'reset' ]
-1 23271 }
-1 23272 },
-1 23273 namingMethods: [ 'valueText', 'titleText', 'buttonDefaultText' ]
-1 23274 },
-1 23275 checkboxPressed: {
-1 23276 matches: {
-1 23277 properties: {
-1 23278 type: 'checkbox'
-1 23279 },
-1 23280 attributes: {
-1 23281 'aria-pressed': '/.*/'
-1 23282 }
-1 23283 },
-1 23284 allowedRoles: [ 'button', 'menuitemcheckbox', 'option', 'switch' ],
-1 23285 implicitAttrs: {
-1 23286 'aria-checked': 'false'
-1 23287 }
-1 23288 },
-1 23289 checkbox: {
-1 23290 matches: {
-1 23291 properties: {
-1 23292 type: 'checkbox'
-1 23293 },
-1 23294 attributes: {
-1 23295 'aria-pressed': null
-1 23296 }
-1 23297 },
-1 23298 allowedRoles: [ 'menuitemcheckbox', 'option', 'switch' ],
-1 23299 implicitAttrs: {
-1 23300 'aria-checked': 'false'
-1 23301 }
-1 23302 },
-1 23303 noRoles: {
-1 23304 matches: {
-1 23305 properties: {
-1 23306 type: [ 'color', 'date', 'datetime-local', 'file', 'month', 'number', 'password', 'range', 'reset', 'submit', 'time', 'week' ]
-1 23307 }
-1 23308 },
-1 23309 allowedRoles: false
-1 23310 },
-1 23311 hidden: {
-1 23312 matches: {
-1 23313 properties: {
-1 23314 type: 'hidden'
-1 23315 }
-1 23316 },
-1 23317 contentTypes: [ 'phrasing', 'flow' ],
-1 23318 allowedRoles: false,
-1 23319 noAriaAttrs: true
-1 23320 },
-1 23321 image: {
-1 23322 matches: {
-1 23323 properties: {
-1 23324 type: 'image'
-1 23325 }
-1 23326 },
-1 23327 allowedRoles: [ 'link', 'menuitem', 'menuitemcheckbox', 'menuitemradio', 'radio', 'switch' ],
-1 23328 namingMethods: [ 'altText', 'valueText', 'labelText', 'titleText', 'buttonDefaultText' ]
-1 23329 },
-1 23330 radio: {
-1 23331 matches: {
-1 23332 properties: {
-1 23333 type: 'radio'
-1 23334 }
-1 23335 },
-1 23336 allowedRoles: [ 'menuitemradio' ],
-1 23337 implicitAttrs: {
-1 23338 'aria-checked': 'false'
-1 23339 }
-1 23340 },
-1 23341 textWithList: {
-1 23342 matches: {
-1 23343 properties: {
-1 23344 type: 'text'
-1 23345 },
-1 23346 attributes: {
-1 23347 list: '/.*/'
-1 23348 }
-1 23349 },
-1 23350 allowedRoles: false
-1 23351 },
-1 23352 default: {
-1 23353 contentTypes: [ 'interactive', 'phrasing', 'flow' ],
-1 23354 allowedRoles: [ 'combobox', 'searchbox', 'spinbutton' ],
-1 23355 implicitAttrs: {
-1 23356 'aria-valuenow': ''
-1 23357 },
-1 23358 namingMethods: [ 'labelText' ]
13573 23359 }
13574 23360 }
13575 23361 },
13576 -1 'title-only': {
13577 -1 impact: 'serious',
13578 -1 messages: {
13579 -1 pass: function anonymous(it) {
13580 -1 var out = 'Form element does not solely use title attribute for its label';
13581 -1 return out;
13582 -1 },
13583 -1 fail: function anonymous(it) {
13584 -1 var out = 'Only title used to generate label for form element';
13585 -1 return out;
13586 -1 }
-1 23362 ins: {
-1 23363 contentTypes: [ 'phrasing', 'flow' ],
-1 23364 allowedRoles: true
-1 23365 },
-1 23366 kbd: {
-1 23367 contentTypes: [ 'phrasing', 'flow' ],
-1 23368 allowedRoles: true
-1 23369 },
-1 23370 label: {
-1 23371 contentTypes: [ 'interactive', 'phrasing', 'flow' ],
-1 23372 allowedRoles: false
-1 23373 },
-1 23374 legend: {
-1 23375 allowedRoles: false
-1 23376 },
-1 23377 li: {
-1 23378 allowedRoles: [ 'menuitem', 'menuitemcheckbox', 'menuitemradio', 'option', 'none', 'presentation', 'radio', 'separator', 'tab', 'treeitem', 'doc-biblioentry', 'doc-endnote' ],
-1 23379 implicitAttrs: {
-1 23380 'aria-setsize': '1',
-1 23381 'aria-posinset': '1'
13587 23382 }
13588 23383 },
13589 -1 'implicit-label': {
13590 -1 impact: 'critical',
13591 -1 messages: {
13592 -1 pass: function anonymous(it) {
13593 -1 var out = 'Form element has an implicit (wrapped) <label>';
13594 -1 return out;
-1 23384 link: {
-1 23385 contentTypes: [ 'phrasing', 'flow' ],
-1 23386 allowedRoles: false,
-1 23387 noAriaAttrs: true
-1 23388 },
-1 23389 main: {
-1 23390 contentTypes: [ 'flow' ],
-1 23391 allowedRoles: false,
-1 23392 shadowRoot: true
-1 23393 },
-1 23394 map: {
-1 23395 contentTypes: [ 'phrasing', 'flow' ],
-1 23396 allowedRoles: false,
-1 23397 noAriaAttrs: true
-1 23398 },
-1 23399 math: {
-1 23400 contentTypes: [ 'embedded', 'phrasing', 'flow' ],
-1 23401 allowedRoles: false
-1 23402 },
-1 23403 mark: {
-1 23404 contentTypes: [ 'phrasing', 'flow' ],
-1 23405 allowedRoles: true
-1 23406 },
-1 23407 menu: {
-1 23408 contentTypes: [ 'flow' ],
-1 23409 allowedRoles: [ 'directory', 'group', 'listbox', 'menu', 'menubar', 'none', 'presentation', 'radiogroup', 'tablist', 'toolbar', 'tree' ]
-1 23410 },
-1 23411 meta: {
-1 23412 variant: {
-1 23413 itemprop: {
-1 23414 matches: '[itemprop]',
-1 23415 contentTypes: [ 'phrasing', 'flow' ]
-1 23416 }
-1 23417 },
-1 23418 allowedRoles: false,
-1 23419 noAriaAttrs: true
-1 23420 },
-1 23421 meter: {
-1 23422 contentTypes: [ 'phrasing', 'flow' ],
-1 23423 allowedRoles: false
-1 23424 },
-1 23425 nav: {
-1 23426 contentTypes: [ 'sectioning', 'flow' ],
-1 23427 allowedRoles: [ 'doc-index', 'doc-pagelist', 'doc-toc' ],
-1 23428 shadowRoot: true
-1 23429 },
-1 23430 noscript: {
-1 23431 contentTypes: [ 'phrasing', 'flow' ],
-1 23432 allowedRoles: false,
-1 23433 noAriaAttrs: true
-1 23434 },
-1 23435 object: {
-1 23436 variant: {
-1 23437 usemap: {
-1 23438 matches: '[usemap]',
-1 23439 contentTypes: [ 'interactive', 'embedded', 'phrasing', 'flow' ]
13595 23440 },
13596 -1 fail: function anonymous(it) {
13597 -1 var out = 'Form element does not have an implicit (wrapped) <label>';
13598 -1 return out;
-1 23441 default: {
-1 23442 contentTypes: [ 'embedded', 'phrasing', 'flow' ]
13599 23443 }
-1 23444 },
-1 23445 allowedRoles: [ 'application', 'document', 'img' ]
-1 23446 },
-1 23447 ol: {
-1 23448 contentTypes: [ 'flow' ],
-1 23449 allowedRoles: [ 'directory', 'group', 'listbox', 'menu', 'menubar', 'none', 'presentation', 'radiogroup', 'tablist', 'toolbar', 'tree' ]
-1 23450 },
-1 23451 optgroup: {
-1 23452 allowedRoles: false
-1 23453 },
-1 23454 option: {
-1 23455 allowedRoles: false,
-1 23456 implicitAttrs: {
-1 23457 'aria-selected': 'false'
13600 23458 }
13601 23459 },
13602 -1 'explicit-label': {
13603 -1 impact: 'critical',
13604 -1 messages: {
13605 -1 pass: function anonymous(it) {
13606 -1 var out = 'Form element has an explicit <label>';
13607 -1 return out;
13608 -1 },
13609 -1 fail: function anonymous(it) {
13610 -1 var out = 'Form element does not have an explicit <label>';
13611 -1 return out;
13612 -1 }
-1 23460 output: {
-1 23461 contentTypes: [ 'phrasing', 'flow' ],
-1 23462 allowedRoles: true,
-1 23463 namingMethods: [ 'subtreeText' ]
-1 23464 },
-1 23465 p: {
-1 23466 contentTypes: [ 'flow' ],
-1 23467 allowedRoles: true,
-1 23468 shadowRoot: true
-1 23469 },
-1 23470 param: {
-1 23471 allowedRoles: false,
-1 23472 noAriaAttrs: true
-1 23473 },
-1 23474 picture: {
-1 23475 contentTypes: [ 'embedded', 'phrasing', 'flow' ],
-1 23476 allowedRoles: false,
-1 23477 noAriaAttrs: true
-1 23478 },
-1 23479 pre: {
-1 23480 contentTypes: [ 'flow' ],
-1 23481 allowedRoles: true
-1 23482 },
-1 23483 progress: {
-1 23484 contentTypes: [ 'phrasing', 'flow' ],
-1 23485 allowedRoles: true,
-1 23486 implicitAttrs: {
-1 23487 'aria-valuemax': '100',
-1 23488 'aria-valuemin': '0',
-1 23489 'aria-valuenow': '0'
13613 23490 }
13614 23491 },
13615 -1 'help-same-as-label': {
13616 -1 impact: 'minor',
13617 -1 messages: {
13618 -1 pass: function anonymous(it) {
13619 -1 var out = 'Help text (title or aria-describedby) does not duplicate label text';
13620 -1 return out;
-1 23492 q: {
-1 23493 contentTypes: [ 'phrasing', 'flow' ],
-1 23494 allowedRoles: true
-1 23495 },
-1 23496 rp: {
-1 23497 allowedRoles: true
-1 23498 },
-1 23499 rt: {
-1 23500 allowedRoles: true
-1 23501 },
-1 23502 ruby: {
-1 23503 contentTypes: [ 'phrasing', 'flow' ],
-1 23504 allowedRoles: true
-1 23505 },
-1 23506 s: {
-1 23507 contentTypes: [ 'phrasing', 'flow' ],
-1 23508 allowedRoles: true
-1 23509 },
-1 23510 samp: {
-1 23511 contentTypes: [ 'phrasing', 'flow' ],
-1 23512 allowedRoles: true
-1 23513 },
-1 23514 script: {
-1 23515 contentTypes: [ 'phrasing', 'flow' ],
-1 23516 allowedRoles: false,
-1 23517 noAriaAttrs: true
-1 23518 },
-1 23519 section: {
-1 23520 contentTypes: [ 'sectioning', 'flow' ],
-1 23521 allowedRoles: [ 'alert', 'alertdialog', 'application', 'banner', 'complementary', 'contentinfo', 'dialog', 'document', 'feed', 'log', 'main', 'marquee', 'navigation', 'none', 'note', 'presentation', 'search', 'status', 'tabpanel', 'doc-abstract', 'doc-acknowledgments', 'doc-afterword', 'doc-appendix', 'doc-bibliography', 'doc-chapter', 'doc-colophon', 'doc-conclusion', 'doc-credit', 'doc-credits', 'doc-dedication', 'doc-endnotes', 'doc-epigraph', 'doc-epilogue', 'doc-errata', 'doc-example', 'doc-foreword', 'doc-glossary', 'doc-index', 'doc-introduction', 'doc-notice', 'doc-pagelist', 'doc-part', 'doc-preface', 'doc-prologue', 'doc-pullquote', 'doc-qna', 'doc-toc' ],
-1 23522 shadowRoot: true
-1 23523 },
-1 23524 select: {
-1 23525 variant: {
-1 23526 combobox: {
-1 23527 matches: {
-1 23528 attributes: {
-1 23529 multiple: null,
-1 23530 size: [ null, '1' ]
-1 23531 }
-1 23532 },
-1 23533 allowedRoles: [ 'menu' ]
13621 23534 },
13622 -1 fail: function anonymous(it) {
13623 -1 var out = 'Help text (title or aria-describedby) text is the same as the label text';
13624 -1 return out;
-1 23535 default: {
-1 23536 allowedRoles: false
13625 23537 }
-1 23538 },
-1 23539 contentTypes: [ 'interactive', 'phrasing', 'flow' ],
-1 23540 implicitAttrs: {
-1 23541 'aria-valuenow': ''
13626 23542 }
13627 23543 },
13628 -1 'hidden-explicit-label': {
13629 -1 impact: 'critical',
13630 -1 messages: {
13631 -1 pass: function anonymous(it) {
13632 -1 var out = 'Form element has a visible explicit <label>';
13633 -1 return out;
-1 23544 slot: {
-1 23545 contentTypes: [ 'phrasing', 'flow' ],
-1 23546 allowedRoles: false,
-1 23547 noAriaAttrs: true
-1 23548 },
-1 23549 small: {
-1 23550 contentTypes: [ 'phrasing', 'flow' ],
-1 23551 allowedRoles: true
-1 23552 },
-1 23553 source: {
-1 23554 allowedRoles: false,
-1 23555 noAriaAttrs: true
-1 23556 },
-1 23557 span: {
-1 23558 contentTypes: [ 'phrasing', 'flow' ],
-1 23559 allowedRoles: true,
-1 23560 shadowRoot: true
-1 23561 },
-1 23562 strong: {
-1 23563 contentTypes: [ 'phrasing', 'flow' ],
-1 23564 allowedRoles: true
-1 23565 },
-1 23566 style: {
-1 23567 allowedRoles: false,
-1 23568 noAriaAttrs: true
-1 23569 },
-1 23570 svg: {
-1 23571 contentTypes: [ 'embedded', 'phrasing', 'flow' ],
-1 23572 allowedRoles: [ 'application', 'document', 'img' ]
-1 23573 },
-1 23574 sub: {
-1 23575 contentTypes: [ 'phrasing', 'flow' ],
-1 23576 allowedRoles: true
-1 23577 },
-1 23578 summary: {
-1 23579 allowedRoles: false,
-1 23580 namingMethods: [ 'subtreeText' ]
-1 23581 },
-1 23582 sup: {
-1 23583 contentTypes: [ 'phrasing', 'flow' ],
-1 23584 allowedRoles: true
-1 23585 },
-1 23586 table: {
-1 23587 contentTypes: [ 'flow' ],
-1 23588 allowedRoles: true,
-1 23589 namingMethods: [ 'tableCaptionText', 'tableSummaryText' ]
-1 23590 },
-1 23591 tbody: {
-1 23592 allowedRoles: true
-1 23593 },
-1 23594 template: {
-1 23595 contentTypes: [ 'phrasing', 'flow' ],
-1 23596 allowedRoles: false,
-1 23597 noAriaAttrs: true
-1 23598 },
-1 23599 textarea: {
-1 23600 contentTypes: [ 'interactive', 'phrasing', 'flow' ],
-1 23601 allowedRoles: false,
-1 23602 implicitAttrs: {
-1 23603 'aria-valuenow': '',
-1 23604 'aria-multiline': 'true'
-1 23605 },
-1 23606 namingMethods: [ 'labelText' ]
-1 23607 },
-1 23608 tfoot: {
-1 23609 allowedRoles: true
-1 23610 },
-1 23611 thead: {
-1 23612 allowedRoles: true
-1 23613 },
-1 23614 time: {
-1 23615 contentTypes: [ 'phrasing', 'flow' ],
-1 23616 allowedRoles: true
-1 23617 },
-1 23618 title: {
-1 23619 allowedRoles: false,
-1 23620 noAriaAttrs: true
-1 23621 },
-1 23622 td: {
-1 23623 allowedRoles: true
-1 23624 },
-1 23625 th: {
-1 23626 allowedRoles: true
-1 23627 },
-1 23628 tr: {
-1 23629 allowedRoles: true
-1 23630 },
-1 23631 track: {
-1 23632 allowedRoles: false,
-1 23633 noAriaAttrs: true
-1 23634 },
-1 23635 u: {
-1 23636 contentTypes: [ 'phrasing', 'flow' ],
-1 23637 allowedRoles: true
-1 23638 },
-1 23639 ul: {
-1 23640 contentTypes: [ 'flow' ],
-1 23641 allowedRoles: [ 'directory', 'group', 'listbox', 'menu', 'menubar', 'none', 'presentation', 'radiogroup', 'tablist', 'toolbar', 'tree' ]
-1 23642 },
-1 23643 var: {
-1 23644 contentTypes: [ 'phrasing', 'flow' ],
-1 23645 allowedRoles: true
-1 23646 },
-1 23647 video: {
-1 23648 variant: {
-1 23649 controls: {
-1 23650 matches: '[controls]',
-1 23651 contentTypes: [ 'interactive', 'embedded', 'phrasing', 'flow' ]
13634 23652 },
13635 -1 fail: function anonymous(it) {
13636 -1 var out = 'Form element has explicit <label> that is hidden';
13637 -1 return out;
-1 23653 default: {
-1 23654 contentTypes: [ 'embedded', 'phrasing', 'flow' ]
13638 23655 }
13639 -1 }
-1 23656 },
-1 23657 allowedRoles: [ 'application' ]
13640 23658 },
13641 -1 'landmark-is-top-level': {
13642 -1 impact: 'moderate',
13643 -1 messages: {
13644 -1 pass: function anonymous(it) {
13645 -1 var out = 'The ' + it.data.role + ' landmark is at the top level.';
13646 -1 return out;
-1 23659 wbr: {
-1 23660 contentTypes: [ 'phrasing', 'flow' ],
-1 23661 allowedRoles: true
-1 23662 }
-1 23663 };
-1 23664 __webpack_exports__['default'] = htmlElms;
-1 23665 },
-1 23666 './lib/standards/index.js': function libStandardsIndexJs(module, __webpack_exports__, __webpack_require__) {
-1 23667 'use strict';
-1 23668 __webpack_require__.r(__webpack_exports__);
-1 23669 __webpack_require__.d(__webpack_exports__, 'configureStandards', function() {
-1 23670 return configureStandards;
-1 23671 });
-1 23672 __webpack_require__.d(__webpack_exports__, 'resetStandards', function() {
-1 23673 return resetStandards;
-1 23674 });
-1 23675 var _aria_attrs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('./lib/standards/aria-attrs.js');
-1 23676 var _aria_roles__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__('./lib/standards/aria-roles.js');
-1 23677 var _dpub_roles__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__('./lib/standards/dpub-roles.js');
-1 23678 var _html_elms__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__('./lib/standards/html-elms.js');
-1 23679 var _core_utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__('./lib/core/utils/index.js');
-1 23680 var _css_colors__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__('./lib/standards/css-colors.js');
-1 23681 var originals = {
-1 23682 ariaAttrs: _aria_attrs__WEBPACK_IMPORTED_MODULE_0__['default'],
-1 23683 ariaRoles: _extends({}, _aria_roles__WEBPACK_IMPORTED_MODULE_1__['default'], _dpub_roles__WEBPACK_IMPORTED_MODULE_2__['default']),
-1 23684 htmlElms: _html_elms__WEBPACK_IMPORTED_MODULE_3__['default'],
-1 23685 cssColors: _css_colors__WEBPACK_IMPORTED_MODULE_5__['default']
-1 23686 };
-1 23687 var standards = _extends({}, originals);
-1 23688 function configureStandards(config) {
-1 23689 Object.keys(standards).forEach(function(propName) {
-1 23690 if (config[propName]) {
-1 23691 standards[propName] = Object(_core_utils__WEBPACK_IMPORTED_MODULE_4__['deepMerge'])(standards[propName], config[propName]);
-1 23692 }
-1 23693 });
-1 23694 }
-1 23695 function resetStandards() {
-1 23696 Object.keys(standards).forEach(function(propName) {
-1 23697 standards[propName] = originals[propName];
-1 23698 });
-1 23699 }
-1 23700 __webpack_exports__['default'] = standards;
-1 23701 },
-1 23702 './node_modules/@deque/dot/doT.js': function node_modulesDequeDotDoTJs(module, exports, __webpack_require__) {
-1 23703 (function(global) {
-1 23704 var __WEBPACK_AMD_DEFINE_RESULT__;
-1 23705 (function() {
-1 23706 'use strict';
-1 23707 var doT = {
-1 23708 name: 'doT',
-1 23709 version: '1.1.1',
-1 23710 templateSettings: {
-1 23711 evaluate: /\{\{([\s\S]+?(\}?)+)\}\}/g,
-1 23712 interpolate: /\{\{=([\s\S]+?)\}\}/g,
-1 23713 encode: /\{\{!([\s\S]+?)\}\}/g,
-1 23714 use: /\{\{#([\s\S]+?)\}\}/g,
-1 23715 useParams: /(^|[^\w$])def(?:\.|\[[\'\"])([\w$\.]+)(?:[\'\"]\])?\s*\:\s*([\w$\.]+|\"[^\"]+\"|\'[^\']+\'|\{[^\}]+\})/g,
-1 23716 define: /\{\{##\s*([\w\.$]+)\s*(\:|=)([\s\S]+?)#\}\}/g,
-1 23717 defineParams: /^\s*([\w$]+):([\s\S]+)/,
-1 23718 conditional: /\{\{\?(\?)?\s*([\s\S]*?)\s*\}\}/g,
-1 23719 iterate: /\{\{~\s*(?:\}\}|([\s\S]+?)\s*\:\s*([\w$]+)\s*(?:\:\s*([\w$]+))?\s*\}\})/g,
-1 23720 varname: 'it',
-1 23721 strip: true,
-1 23722 append: true,
-1 23723 selfcontained: false,
-1 23724 doNotSkipEncoded: false
13647 23725 },
13648 -1 fail: function anonymous(it) {
13649 -1 var out = 'The ' + it.data.role + ' landmark is contained in another landmark.';
13650 -1 return out;
-1 23726 template: undefined,
-1 23727 compile: undefined,
-1 23728 log: true
-1 23729 };
-1 23730 (function() {
-1 23731 if ((typeof globalThis === 'undefined' ? 'undefined' : _typeof(globalThis)) === 'object') {
-1 23732 return;
13651 23733 }
13652 -1 }
13653 -1 },
13654 -1 'page-no-duplicate-banner': {
13655 -1 impact: 'moderate',
13656 -1 messages: {
13657 -1 pass: function anonymous(it) {
13658 -1 var out = 'Document does not have more than one banner landmark';
13659 -1 return out;
-1 23734 try {
-1 23735 Object.defineProperty(Object.prototype, '__magic__', {
-1 23736 get: function get() {
-1 23737 return this;
-1 23738 },
-1 23739 configurable: true
-1 23740 });
-1 23741 __magic__.globalThis = __magic__;
-1 23742 delete Object.prototype.__magic__;
-1 23743 } catch (e) {
-1 23744 window.globalThis = function() {
-1 23745 if (typeof self !== 'undefined') {
-1 23746 return self;
-1 23747 }
-1 23748 if (typeof window !== 'undefined') {
-1 23749 return window;
-1 23750 }
-1 23751 if (typeof global !== 'undefined') {
-1 23752 return global;
-1 23753 }
-1 23754 if (typeof this !== 'undefined') {
-1 23755 return this;
-1 23756 }
-1 23757 throw new Error('Unable to locate global `this`');
-1 23758 }();
-1 23759 }
-1 23760 })();
-1 23761 doT.encodeHTMLSource = function(doNotSkipEncoded) {
-1 23762 var encodeHTMLRules = {
-1 23763 '&': '&',
-1 23764 '<': '<',
-1 23765 '>': '>',
-1 23766 '"': '"',
-1 23767 '\'': ''',
-1 23768 '/': '/'
-1 23769 }, matchHTML = doNotSkipEncoded ? /[&<>"'\/]/g : /&(?!#?\w+;)|<|>|"|'|\//g;
-1 23770 return function(code) {
-1 23771 return code ? code.toString().replace(matchHTML, function(m) {
-1 23772 return encodeHTMLRules[m] || m;
-1 23773 }) : '';
-1 23774 };
-1 23775 };
-1 23776 if (true && module.exports) {
-1 23777 module.exports = doT;
-1 23778 } else if (true) {
-1 23779 !(__WEBPACK_AMD_DEFINE_RESULT__ = function() {
-1 23780 return doT;
-1 23781 }.call(exports, __webpack_require__, exports, module), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
-1 23782 } else {}
-1 23783 var startend = {
-1 23784 append: {
-1 23785 start: '\'+(',
-1 23786 end: ')+\'',
-1 23787 startencode: '\'+encodeHTML('
13660 23788 },
13661 -1 fail: function anonymous(it) {
13662 -1 var out = 'Document has more than one banner landmark';
13663 -1 return out;
-1 23789 split: {
-1 23790 start: '\';out+=(',
-1 23791 end: ');out+=\'',
-1 23792 startencode: '\';out+=encodeHTML('
-1 23793 }
-1 23794 }, skip = /$^/;
-1 23795 function resolveDefs(c, block, def) {
-1 23796 return (typeof block === 'string' ? block : block.toString()).replace(c.define || skip, function(m, code, assign, value) {
-1 23797 if (code.indexOf('def.') === 0) {
-1 23798 code = code.substring(4);
-1 23799 }
-1 23800 if (!(code in def)) {
-1 23801 if (assign === ':') {
-1 23802 if (c.defineParams) {
-1 23803 value.replace(c.defineParams, function(m, param, v) {
-1 23804 def[code] = {
-1 23805 arg: param,
-1 23806 text: v
-1 23807 };
-1 23808 });
-1 23809 }
-1 23810 if (!(code in def)) {
-1 23811 def[code] = value;
-1 23812 }
-1 23813 } else {
-1 23814 new Function('def', 'def[\'' + code + '\']=' + value)(def);
-1 23815 }
-1 23816 }
-1 23817 return '';
-1 23818 }).replace(c.use || skip, function(m, code) {
-1 23819 if (c.useParams) {
-1 23820 code = code.replace(c.useParams, function(m, s, d, param) {
-1 23821 if (def[d] && def[d].arg && param) {
-1 23822 var rw = (d + ':' + param).replace(/'|\\/g, '_');
-1 23823 def.__exp = def.__exp || {};
-1 23824 def.__exp[rw] = def[d].text.replace(new RegExp('(^|[^\\w$])' + def[d].arg + '([^\\w$])', 'g'), '$1' + param + '$2');
-1 23825 return s + 'def.__exp[\'' + rw + '\']';
-1 23826 }
-1 23827 });
-1 23828 }
-1 23829 var v = new Function('def', 'return ' + code)(def);
-1 23830 return v ? resolveDefs(c, v, def) : v;
-1 23831 });
-1 23832 }
-1 23833 function unescape(code) {
-1 23834 return code.replace(/\\('|\\)/g, '$1').replace(/[\r\t\n]/g, ' ');
-1 23835 }
-1 23836 doT.template = function(tmpl, c, def) {
-1 23837 c = c || doT.templateSettings;
-1 23838 var cse = c.append ? startend.append : startend.split, needhtmlencode, sid = 0, indv, str = c.use || c.define ? resolveDefs(c, tmpl, def || {}) : tmpl;
-1 23839 str = ('var out=\'' + (c.strip ? str.replace(/(^|\r|\n)\t* +| +\t*(\r|\n|$)/g, ' ').replace(/\r|\n|\t|\/\*[\s\S]*?\*\//g, '') : str).replace(/'|\\/g, '\\$&').replace(c.interpolate || skip, function(m, code) {
-1 23840 return cse.start + unescape(code) + cse.end;
-1 23841 }).replace(c.encode || skip, function(m, code) {
-1 23842 needhtmlencode = true;
-1 23843 return cse.startencode + unescape(code) + cse.end;
-1 23844 }).replace(c.conditional || skip, function(m, elsecase, code) {
-1 23845 return elsecase ? code ? '\';}else if(' + unescape(code) + '){out+=\'' : '\';}else{out+=\'' : code ? '\';if(' + unescape(code) + '){out+=\'' : '\';}out+=\'';
-1 23846 }).replace(c.iterate || skip, function(m, iterate, vname, iname) {
-1 23847 if (!iterate) {
-1 23848 return '\';} } out+=\'';
-1 23849 }
-1 23850 sid += 1;
-1 23851 indv = iname || 'i' + sid;
-1 23852 iterate = unescape(iterate);
-1 23853 return '\';var arr' + sid + '=' + iterate + ';if(arr' + sid + '){var ' + vname + ',' + indv + '=-1,l' + sid + '=arr' + sid + '.length-1;while(' + indv + '<l' + sid + '){' + vname + '=arr' + sid + '[' + indv + '+=1];out+=\'';
-1 23854 }).replace(c.evaluate || skip, function(m, code) {
-1 23855 return '\';' + unescape(code) + 'out+=\'';
-1 23856 }) + '\';return out;').replace(/\n/g, '\\n').replace(/\t/g, '\\t').replace(/\r/g, '\\r').replace(/(\s|;|\}|^|\{)out\+='';/g, '$1').replace(/\+''/g, '');
-1 23857 if (needhtmlencode) {
-1 23858 if (!c.selfcontained && globalThis && !globalThis._encodeHTML) {
-1 23859 globalThis._encodeHTML = doT.encodeHTMLSource(c.doNotSkipEncoded);
-1 23860 }
-1 23861 str = 'var encodeHTML = typeof _encodeHTML !== \'undefined\' ? _encodeHTML : (' + doT.encodeHTMLSource.toString() + '(' + (c.doNotSkipEncoded || '') + '));' + str;
-1 23862 }
-1 23863 try {
-1 23864 return new Function(c.varname, str);
-1 23865 } catch (e) {
-1 23866 if (typeof console !== 'undefined') {
-1 23867 console.log('Could not create a template function: ' + str);
-1 23868 }
-1 23869 throw e;
-1 23870 }
-1 23871 };
-1 23872 doT.compile = function(tmpl, def) {
-1 23873 return doT.template(tmpl, null, def);
-1 23874 };
-1 23875 })();
-1 23876 }).call(this, __webpack_require__('./node_modules/webpack/buildin/global.js'));
-1 23877 },
-1 23878 './node_modules/axios/index.js': function node_modulesAxiosIndexJs(module, exports, __webpack_require__) {
-1 23879 module.exports = __webpack_require__('./node_modules/axios/lib/axios.js');
-1 23880 },
-1 23881 './node_modules/axios/lib/adapters/xhr.js': function node_modulesAxiosLibAdaptersXhrJs(module, exports, __webpack_require__) {
-1 23882 'use strict';
-1 23883 var utils = __webpack_require__('./node_modules/axios/lib/utils.js');
-1 23884 var settle = __webpack_require__('./node_modules/axios/lib/core/settle.js');
-1 23885 var buildURL = __webpack_require__('./node_modules/axios/lib/helpers/buildURL.js');
-1 23886 var buildFullPath = __webpack_require__('./node_modules/axios/lib/core/buildFullPath.js');
-1 23887 var parseHeaders = __webpack_require__('./node_modules/axios/lib/helpers/parseHeaders.js');
-1 23888 var isURLSameOrigin = __webpack_require__('./node_modules/axios/lib/helpers/isURLSameOrigin.js');
-1 23889 var createError = __webpack_require__('./node_modules/axios/lib/core/createError.js');
-1 23890 module.exports = function xhrAdapter(config) {
-1 23891 return new Promise(function dispatchXhrRequest(resolve, reject) {
-1 23892 var requestData = config.data;
-1 23893 var requestHeaders = config.headers;
-1 23894 if (utils.isFormData(requestData)) {
-1 23895 delete requestHeaders['Content-Type'];
-1 23896 }
-1 23897 var request = new XMLHttpRequest();
-1 23898 if (config.auth) {
-1 23899 var username = config.auth.username || '';
-1 23900 var password = config.auth.password || '';
-1 23901 requestHeaders.Authorization = 'Basic ' + btoa(username + ':' + password);
-1 23902 }
-1 23903 var fullPath = buildFullPath(config.baseURL, config.url);
-1 23904 request.open(config.method.toUpperCase(), buildURL(fullPath, config.params, config.paramsSerializer), true);
-1 23905 request.timeout = config.timeout;
-1 23906 request.onreadystatechange = function handleLoad() {
-1 23907 if (!request || request.readyState !== 4) {
-1 23908 return;
13664 23909 }
13665 -1 }
13666 -1 },
13667 -1 'page-no-duplicate-contentinfo': {
13668 -1 impact: 'moderate',
13669 -1 messages: {
13670 -1 pass: function anonymous(it) {
13671 -1 var out = 'Document does not have more than one contentinfo landmark';
13672 -1 return out;
13673 -1 },
13674 -1 fail: function anonymous(it) {
13675 -1 var out = 'Document has more than one contentinfo landmark';
13676 -1 return out;
-1 23910 if (request.status === 0 && !(request.responseURL && request.responseURL.indexOf('file:') === 0)) {
-1 23911 return;
13677 23912 }
13678 -1 }
13679 -1 },
13680 -1 'page-has-main': {
13681 -1 impact: 'moderate',
13682 -1 messages: {
13683 -1 pass: function anonymous(it) {
13684 -1 var out = 'Document has at least one main landmark';
13685 -1 return out;
13686 -1 },
13687 -1 fail: function anonymous(it) {
13688 -1 var out = 'Document does not have a main landmark';
13689 -1 return out;
-1 23913 var responseHeaders = 'getAllResponseHeaders' in request ? parseHeaders(request.getAllResponseHeaders()) : null;
-1 23914 var responseData = !config.responseType || config.responseType === 'text' ? request.responseText : request.response;
-1 23915 var response = {
-1 23916 data: responseData,
-1 23917 status: request.status,
-1 23918 statusText: request.statusText,
-1 23919 headers: responseHeaders,
-1 23920 config: config,
-1 23921 request: request
-1 23922 };
-1 23923 settle(resolve, reject, response);
-1 23924 request = null;
-1 23925 };
-1 23926 request.onabort = function handleAbort() {
-1 23927 if (!request) {
-1 23928 return;
13690 23929 }
13691 -1 }
13692 -1 },
13693 -1 'page-no-duplicate-main': {
13694 -1 impact: 'moderate',
13695 -1 messages: {
13696 -1 pass: function anonymous(it) {
13697 -1 var out = 'Document does not have more than one main landmark';
13698 -1 return out;
13699 -1 },
13700 -1 fail: function anonymous(it) {
13701 -1 var out = 'Document has more than one main landmark';
13702 -1 return out;
-1 23930 reject(createError('Request aborted', config, 'ECONNABORTED', request));
-1 23931 request = null;
-1 23932 };
-1 23933 request.onerror = function handleError() {
-1 23934 reject(createError('Network Error', config, null, request));
-1 23935 request = null;
-1 23936 };
-1 23937 request.ontimeout = function handleTimeout() {
-1 23938 var timeoutErrorMessage = 'timeout of ' + config.timeout + 'ms exceeded';
-1 23939 if (config.timeoutErrorMessage) {
-1 23940 timeoutErrorMessage = config.timeoutErrorMessage;
13703 23941 }
13704 -1 }
13705 -1 },
13706 -1 'has-th': {
13707 -1 impact: 'serious',
13708 -1 messages: {
13709 -1 pass: function anonymous(it) {
13710 -1 var out = 'Layout table does not use <th> elements';
13711 -1 return out;
13712 -1 },
13713 -1 fail: function anonymous(it) {
13714 -1 var out = 'Layout table uses <th> elements';
13715 -1 return out;
-1 23942 reject(createError(timeoutErrorMessage, config, 'ECONNABORTED', request));
-1 23943 request = null;
-1 23944 };
-1 23945 if (utils.isStandardBrowserEnv()) {
-1 23946 var cookies = __webpack_require__('./node_modules/axios/lib/helpers/cookies.js');
-1 23947 var xsrfValue = (config.withCredentials || isURLSameOrigin(fullPath)) && config.xsrfCookieName ? cookies.read(config.xsrfCookieName) : undefined;
-1 23948 if (xsrfValue) {
-1 23949 requestHeaders[config.xsrfHeaderName] = xsrfValue;
13716 23950 }
13717 23951 }
13718 -1 },
13719 -1 'has-caption': {
13720 -1 impact: 'serious',
13721 -1 messages: {
13722 -1 pass: function anonymous(it) {
13723 -1 var out = 'Layout table does not use <caption> element';
13724 -1 return out;
13725 -1 },
13726 -1 fail: function anonymous(it) {
13727 -1 var out = 'Layout table uses <caption> element';
13728 -1 return out;
13729 -1 }
-1 23952 if ('setRequestHeader' in request) {
-1 23953 utils.forEach(requestHeaders, function setRequestHeader(val, key) {
-1 23954 if (typeof requestData === 'undefined' && key.toLowerCase() === 'content-type') {
-1 23955 delete requestHeaders[key];
-1 23956 } else {
-1 23957 request.setRequestHeader(key, val);
-1 23958 }
-1 23959 });
13730 23960 }
13731 -1 },
13732 -1 'has-summary': {
13733 -1 impact: 'serious',
13734 -1 messages: {
13735 -1 pass: function anonymous(it) {
13736 -1 var out = 'Layout table does not use summary attribute';
13737 -1 return out;
13738 -1 },
13739 -1 fail: function anonymous(it) {
13740 -1 var out = 'Layout table uses summary attribute';
13741 -1 return out;
13742 -1 }
-1 23961 if (!utils.isUndefined(config.withCredentials)) {
-1 23962 request.withCredentials = !!config.withCredentials;
13743 23963 }
13744 -1 },
13745 -1 'link-in-text-block': {
13746 -1 impact: 'serious',
13747 -1 messages: {
13748 -1 pass: function anonymous(it) {
13749 -1 var out = 'Links can be distinguished from surrounding text in some way other than by color';
13750 -1 return out;
13751 -1 },
13752 -1 fail: function anonymous(it) {
13753 -1 var out = 'Links need to be distinguished from surrounding text in some way other than by color';
13754 -1 return out;
13755 -1 },
13756 -1 incomplete: {
13757 -1 bgContrast: 'Element\'s contrast ratio could not be determined. Check for a distinct hover/focus style',
13758 -1 bgImage: 'Element\'s contrast ratio could not be determined due to a background image',
13759 -1 bgGradient: 'Element\'s contrast ratio could not be determined due to a background gradient',
13760 -1 imgNode: 'Element\'s contrast ratio could not be determined because element contains an image node',
13761 -1 bgOverlap: 'Element\'s contrast ratio could not be determined because of element overlap',
13762 -1 default: 'Unable to determine contrast ratio'
-1 23964 if (config.responseType) {
-1 23965 try {
-1 23966 request.responseType = config.responseType;
-1 23967 } catch (e) {
-1 23968 if (config.responseType !== 'json') {
-1 23969 throw e;
-1 23970 }
13763 23971 }
13764 23972 }
13765 -1 },
13766 -1 'only-listitems': {
13767 -1 impact: 'serious',
13768 -1 messages: {
13769 -1 pass: function anonymous(it) {
13770 -1 var out = 'List element only has direct children that are allowed inside <li> elements';
13771 -1 return out;
13772 -1 },
13773 -1 fail: function anonymous(it) {
13774 -1 var out = 'List element has direct children that are not allowed inside <li> elements';
13775 -1 return out;
13776 -1 }
-1 23973 if (typeof config.onDownloadProgress === 'function') {
-1 23974 request.addEventListener('progress', config.onDownloadProgress);
13777 23975 }
13778 -1 },
13779 -1 listitem: {
13780 -1 impact: 'serious',
13781 -1 messages: {
13782 -1 pass: function anonymous(it) {
13783 -1 var out = 'List item has a <ul>, <ol> or role="list" parent element';
13784 -1 return out;
13785 -1 },
13786 -1 fail: function anonymous(it) {
13787 -1 var out = 'List item does not have a <ul>, <ol> or role="list" parent element';
13788 -1 return out;
13789 -1 }
-1 23976 if (typeof config.onUploadProgress === 'function' && request.upload) {
-1 23977 request.upload.addEventListener('progress', config.onUploadProgress);
13790 23978 }
13791 -1 },
13792 -1 'meta-refresh': {
13793 -1 impact: 'critical',
13794 -1 messages: {
13795 -1 pass: function anonymous(it) {
13796 -1 var out = '<meta> tag does not immediately refresh the page';
13797 -1 return out;
13798 -1 },
13799 -1 fail: function anonymous(it) {
13800 -1 var out = '<meta> tag forces timed refresh of page';
13801 -1 return out;
13802 -1 }
-1 23979 if (config.cancelToken) {
-1 23980 config.cancelToken.promise.then(function onCanceled(cancel) {
-1 23981 if (!request) {
-1 23982 return;
-1 23983 }
-1 23984 request.abort();
-1 23985 reject(cancel);
-1 23986 request = null;
-1 23987 });
13803 23988 }
13804 -1 },
13805 -1 'meta-viewport-large': {
13806 -1 impact: 'minor',
13807 -1 messages: {
13808 -1 pass: function anonymous(it) {
13809 -1 var out = '<meta> tag does not prevent significant zooming on mobile devices';
13810 -1 return out;
13811 -1 },
13812 -1 fail: function anonymous(it) {
13813 -1 var out = '<meta> tag limits zooming on mobile devices';
13814 -1 return out;
13815 -1 }
-1 23989 if (requestData === undefined) {
-1 23990 requestData = null;
13816 23991 }
13817 -1 },
13818 -1 'meta-viewport': {
13819 -1 impact: 'critical',
13820 -1 messages: {
13821 -1 pass: function anonymous(it) {
13822 -1 var out = '<meta> tag does not disable zooming on mobile devices';
13823 -1 return out;
13824 -1 },
13825 -1 fail: function anonymous(it) {
13826 -1 var out = '' + it.data + ' on <meta> tag disables zooming on mobile devices';
13827 -1 return out;
13828 -1 }
-1 23992 request.send(requestData);
-1 23993 });
-1 23994 };
-1 23995 },
-1 23996 './node_modules/axios/lib/axios.js': function node_modulesAxiosLibAxiosJs(module, exports, __webpack_require__) {
-1 23997 'use strict';
-1 23998 var utils = __webpack_require__('./node_modules/axios/lib/utils.js');
-1 23999 var bind = __webpack_require__('./node_modules/axios/lib/helpers/bind.js');
-1 24000 var Axios = __webpack_require__('./node_modules/axios/lib/core/Axios.js');
-1 24001 var mergeConfig = __webpack_require__('./node_modules/axios/lib/core/mergeConfig.js');
-1 24002 var defaults = __webpack_require__('./node_modules/axios/lib/defaults.js');
-1 24003 function createInstance(defaultConfig) {
-1 24004 var context = new Axios(defaultConfig);
-1 24005 var instance = bind(Axios.prototype.request, context);
-1 24006 utils.extend(instance, Axios.prototype, context);
-1 24007 utils.extend(instance, context);
-1 24008 return instance;
-1 24009 }
-1 24010 var axios = createInstance(defaults);
-1 24011 axios.Axios = Axios;
-1 24012 axios.create = function create(instanceConfig) {
-1 24013 return createInstance(mergeConfig(axios.defaults, instanceConfig));
-1 24014 };
-1 24015 axios.Cancel = __webpack_require__('./node_modules/axios/lib/cancel/Cancel.js');
-1 24016 axios.CancelToken = __webpack_require__('./node_modules/axios/lib/cancel/CancelToken.js');
-1 24017 axios.isCancel = __webpack_require__('./node_modules/axios/lib/cancel/isCancel.js');
-1 24018 axios.all = function all(promises) {
-1 24019 return Promise.all(promises);
-1 24020 };
-1 24021 axios.spread = __webpack_require__('./node_modules/axios/lib/helpers/spread.js');
-1 24022 module.exports = axios;
-1 24023 module.exports['default'] = axios;
-1 24024 },
-1 24025 './node_modules/axios/lib/cancel/Cancel.js': function node_modulesAxiosLibCancelCancelJs(module, exports, __webpack_require__) {
-1 24026 'use strict';
-1 24027 function Cancel(message) {
-1 24028 this.message = message;
-1 24029 }
-1 24030 Cancel.prototype.toString = function toString() {
-1 24031 return 'Cancel' + (this.message ? ': ' + this.message : '');
-1 24032 };
-1 24033 Cancel.prototype.__CANCEL__ = true;
-1 24034 module.exports = Cancel;
-1 24035 },
-1 24036 './node_modules/axios/lib/cancel/CancelToken.js': function node_modulesAxiosLibCancelCancelTokenJs(module, exports, __webpack_require__) {
-1 24037 'use strict';
-1 24038 var Cancel = __webpack_require__('./node_modules/axios/lib/cancel/Cancel.js');
-1 24039 function CancelToken(executor) {
-1 24040 if (typeof executor !== 'function') {
-1 24041 throw new TypeError('executor must be a function.');
-1 24042 }
-1 24043 var resolvePromise;
-1 24044 this.promise = new Promise(function promiseExecutor(resolve) {
-1 24045 resolvePromise = resolve;
-1 24046 });
-1 24047 var token = this;
-1 24048 executor(function cancel(message) {
-1 24049 if (token.reason) {
-1 24050 return;
-1 24051 }
-1 24052 token.reason = new Cancel(message);
-1 24053 resolvePromise(token.reason);
-1 24054 });
-1 24055 }
-1 24056 CancelToken.prototype.throwIfRequested = function throwIfRequested() {
-1 24057 if (this.reason) {
-1 24058 throw this.reason;
-1 24059 }
-1 24060 };
-1 24061 CancelToken.source = function source() {
-1 24062 var cancel;
-1 24063 var token = new CancelToken(function executor(c) {
-1 24064 cancel = c;
-1 24065 });
-1 24066 return {
-1 24067 token: token,
-1 24068 cancel: cancel
-1 24069 };
-1 24070 };
-1 24071 module.exports = CancelToken;
-1 24072 },
-1 24073 './node_modules/axios/lib/cancel/isCancel.js': function node_modulesAxiosLibCancelIsCancelJs(module, exports, __webpack_require__) {
-1 24074 'use strict';
-1 24075 module.exports = function isCancel(value) {
-1 24076 return !!(value && value.__CANCEL__);
-1 24077 };
-1 24078 },
-1 24079 './node_modules/axios/lib/core/Axios.js': function node_modulesAxiosLibCoreAxiosJs(module, exports, __webpack_require__) {
-1 24080 'use strict';
-1 24081 var utils = __webpack_require__('./node_modules/axios/lib/utils.js');
-1 24082 var buildURL = __webpack_require__('./node_modules/axios/lib/helpers/buildURL.js');
-1 24083 var InterceptorManager = __webpack_require__('./node_modules/axios/lib/core/InterceptorManager.js');
-1 24084 var dispatchRequest = __webpack_require__('./node_modules/axios/lib/core/dispatchRequest.js');
-1 24085 var mergeConfig = __webpack_require__('./node_modules/axios/lib/core/mergeConfig.js');
-1 24086 function Axios(instanceConfig) {
-1 24087 this.defaults = instanceConfig;
-1 24088 this.interceptors = {
-1 24089 request: new InterceptorManager(),
-1 24090 response: new InterceptorManager()
-1 24091 };
-1 24092 }
-1 24093 Axios.prototype.request = function request(config) {
-1 24094 if (typeof config === 'string') {
-1 24095 config = arguments[1] || {};
-1 24096 config.url = arguments[0];
-1 24097 } else {
-1 24098 config = config || {};
-1 24099 }
-1 24100 config = mergeConfig(this.defaults, config);
-1 24101 if (config.method) {
-1 24102 config.method = config.method.toLowerCase();
-1 24103 } else if (this.defaults.method) {
-1 24104 config.method = this.defaults.method.toLowerCase();
-1 24105 } else {
-1 24106 config.method = 'get';
-1 24107 }
-1 24108 var chain = [ dispatchRequest, undefined ];
-1 24109 var promise = Promise.resolve(config);
-1 24110 this.interceptors.request.forEach(function unshiftRequestInterceptors(interceptor) {
-1 24111 chain.unshift(interceptor.fulfilled, interceptor.rejected);
-1 24112 });
-1 24113 this.interceptors.response.forEach(function pushResponseInterceptors(interceptor) {
-1 24114 chain.push(interceptor.fulfilled, interceptor.rejected);
-1 24115 });
-1 24116 while (chain.length) {
-1 24117 promise = promise.then(chain.shift(), chain.shift());
-1 24118 }
-1 24119 return promise;
-1 24120 };
-1 24121 Axios.prototype.getUri = function getUri(config) {
-1 24122 config = mergeConfig(this.defaults, config);
-1 24123 return buildURL(config.url, config.params, config.paramsSerializer).replace(/^\?/, '');
-1 24124 };
-1 24125 utils.forEach([ 'delete', 'get', 'head', 'options' ], function forEachMethodNoData(method) {
-1 24126 Axios.prototype[method] = function(url, config) {
-1 24127 return this.request(utils.merge(config || {}, {
-1 24128 method: method,
-1 24129 url: url
-1 24130 }));
-1 24131 };
-1 24132 });
-1 24133 utils.forEach([ 'post', 'put', 'patch' ], function forEachMethodWithData(method) {
-1 24134 Axios.prototype[method] = function(url, data, config) {
-1 24135 return this.request(utils.merge(config || {}, {
-1 24136 method: method,
-1 24137 url: url,
-1 24138 data: data
-1 24139 }));
-1 24140 };
-1 24141 });
-1 24142 module.exports = Axios;
-1 24143 },
-1 24144 './node_modules/axios/lib/core/InterceptorManager.js': function node_modulesAxiosLibCoreInterceptorManagerJs(module, exports, __webpack_require__) {
-1 24145 'use strict';
-1 24146 var utils = __webpack_require__('./node_modules/axios/lib/utils.js');
-1 24147 function InterceptorManager() {
-1 24148 this.handlers = [];
-1 24149 }
-1 24150 InterceptorManager.prototype.use = function use(fulfilled, rejected) {
-1 24151 this.handlers.push({
-1 24152 fulfilled: fulfilled,
-1 24153 rejected: rejected
-1 24154 });
-1 24155 return this.handlers.length - 1;
-1 24156 };
-1 24157 InterceptorManager.prototype.eject = function eject(id) {
-1 24158 if (this.handlers[id]) {
-1 24159 this.handlers[id] = null;
-1 24160 }
-1 24161 };
-1 24162 InterceptorManager.prototype.forEach = function forEach(fn) {
-1 24163 utils.forEach(this.handlers, function forEachHandler(h) {
-1 24164 if (h !== null) {
-1 24165 fn(h);
13829 24166 }
13830 -1 },
13831 -1 'p-as-heading': {
13832 -1 impact: 'serious',
13833 -1 messages: {
13834 -1 pass: function anonymous(it) {
13835 -1 var out = '<p> elements are not styled as headings';
13836 -1 return out;
13837 -1 },
13838 -1 fail: function anonymous(it) {
13839 -1 var out = 'Heading elements should be used instead of styled p elements';
13840 -1 return out;
-1 24167 });
-1 24168 };
-1 24169 module.exports = InterceptorManager;
-1 24170 },
-1 24171 './node_modules/axios/lib/core/buildFullPath.js': function node_modulesAxiosLibCoreBuildFullPathJs(module, exports, __webpack_require__) {
-1 24172 'use strict';
-1 24173 var isAbsoluteURL = __webpack_require__('./node_modules/axios/lib/helpers/isAbsoluteURL.js');
-1 24174 var combineURLs = __webpack_require__('./node_modules/axios/lib/helpers/combineURLs.js');
-1 24175 module.exports = function buildFullPath(baseURL, requestedURL) {
-1 24176 if (baseURL && !isAbsoluteURL(requestedURL)) {
-1 24177 return combineURLs(baseURL, requestedURL);
-1 24178 }
-1 24179 return requestedURL;
-1 24180 };
-1 24181 },
-1 24182 './node_modules/axios/lib/core/createError.js': function node_modulesAxiosLibCoreCreateErrorJs(module, exports, __webpack_require__) {
-1 24183 'use strict';
-1 24184 var enhanceError = __webpack_require__('./node_modules/axios/lib/core/enhanceError.js');
-1 24185 module.exports = function createError(message, config, code, request, response) {
-1 24186 var error = new Error(message);
-1 24187 return enhanceError(error, config, code, request, response);
-1 24188 };
-1 24189 },
-1 24190 './node_modules/axios/lib/core/dispatchRequest.js': function node_modulesAxiosLibCoreDispatchRequestJs(module, exports, __webpack_require__) {
-1 24191 'use strict';
-1 24192 var utils = __webpack_require__('./node_modules/axios/lib/utils.js');
-1 24193 var transformData = __webpack_require__('./node_modules/axios/lib/core/transformData.js');
-1 24194 var isCancel = __webpack_require__('./node_modules/axios/lib/cancel/isCancel.js');
-1 24195 var defaults = __webpack_require__('./node_modules/axios/lib/defaults.js');
-1 24196 function throwIfCancellationRequested(config) {
-1 24197 if (config.cancelToken) {
-1 24198 config.cancelToken.throwIfRequested();
-1 24199 }
-1 24200 }
-1 24201 module.exports = function dispatchRequest(config) {
-1 24202 throwIfCancellationRequested(config);
-1 24203 config.headers = config.headers || {};
-1 24204 config.data = transformData(config.data, config.headers, config.transformRequest);
-1 24205 config.headers = utils.merge(config.headers.common || {}, config.headers[config.method] || {}, config.headers);
-1 24206 utils.forEach([ 'delete', 'get', 'head', 'post', 'put', 'patch', 'common' ], function cleanHeaderConfig(method) {
-1 24207 delete config.headers[method];
-1 24208 });
-1 24209 var adapter = config.adapter || defaults.adapter;
-1 24210 return adapter(config).then(function onAdapterResolution(response) {
-1 24211 throwIfCancellationRequested(config);
-1 24212 response.data = transformData(response.data, response.headers, config.transformResponse);
-1 24213 return response;
-1 24214 }, function onAdapterRejection(reason) {
-1 24215 if (!isCancel(reason)) {
-1 24216 throwIfCancellationRequested(config);
-1 24217 if (reason && reason.response) {
-1 24218 reason.response.data = transformData(reason.response.data, reason.response.headers, config.transformResponse);
13841 24219 }
13842 24220 }
13843 -1 },
13844 -1 'page-has-heading-one': {
13845 -1 impact: 'moderate',
13846 -1 messages: {
13847 -1 pass: function anonymous(it) {
13848 -1 var out = 'Page has at least one level-one heading';
13849 -1 return out;
13850 -1 },
13851 -1 fail: function anonymous(it) {
13852 -1 var out = 'Page must have a level-one heading';
13853 -1 return out;
13854 -1 }
-1 24221 return Promise.reject(reason);
-1 24222 });
-1 24223 };
-1 24224 },
-1 24225 './node_modules/axios/lib/core/enhanceError.js': function node_modulesAxiosLibCoreEnhanceErrorJs(module, exports, __webpack_require__) {
-1 24226 'use strict';
-1 24227 module.exports = function enhanceError(error, config, code, request, response) {
-1 24228 error.config = config;
-1 24229 if (code) {
-1 24230 error.code = code;
-1 24231 }
-1 24232 error.request = request;
-1 24233 error.response = response;
-1 24234 error.isAxiosError = true;
-1 24235 error.toJSON = function() {
-1 24236 return {
-1 24237 message: this.message,
-1 24238 name: this.name,
-1 24239 description: this.description,
-1 24240 number: this.number,
-1 24241 fileName: this.fileName,
-1 24242 lineNumber: this.lineNumber,
-1 24243 columnNumber: this.columnNumber,
-1 24244 stack: this.stack,
-1 24245 config: this.config,
-1 24246 code: this.code
-1 24247 };
-1 24248 };
-1 24249 return error;
-1 24250 };
-1 24251 },
-1 24252 './node_modules/axios/lib/core/mergeConfig.js': function node_modulesAxiosLibCoreMergeConfigJs(module, exports, __webpack_require__) {
-1 24253 'use strict';
-1 24254 var utils = __webpack_require__('./node_modules/axios/lib/utils.js');
-1 24255 module.exports = function mergeConfig(config1, config2) {
-1 24256 config2 = config2 || {};
-1 24257 var config = {};
-1 24258 var valueFromConfig2Keys = [ 'url', 'method', 'params', 'data' ];
-1 24259 var mergeDeepPropertiesKeys = [ 'headers', 'auth', 'proxy' ];
-1 24260 var defaultToConfig2Keys = [ 'baseURL', 'url', 'transformRequest', 'transformResponse', 'paramsSerializer', 'timeout', 'withCredentials', 'adapter', 'responseType', 'xsrfCookieName', 'xsrfHeaderName', 'onUploadProgress', 'onDownloadProgress', 'maxContentLength', 'validateStatus', 'maxRedirects', 'httpAgent', 'httpsAgent', 'cancelToken', 'socketPath' ];
-1 24261 utils.forEach(valueFromConfig2Keys, function valueFromConfig2(prop) {
-1 24262 if (typeof config2[prop] !== 'undefined') {
-1 24263 config[prop] = config2[prop];
13855 24264 }
13856 -1 },
13857 -1 region: {
13858 -1 impact: 'moderate',
13859 -1 messages: {
13860 -1 pass: function anonymous(it) {
13861 -1 var out = 'All page content is contained by landmarks';
13862 -1 return out;
13863 -1 },
13864 -1 fail: function anonymous(it) {
13865 -1 var out = 'Some page content is not contained by landmarks';
13866 -1 return out;
13867 -1 }
-1 24265 });
-1 24266 utils.forEach(mergeDeepPropertiesKeys, function mergeDeepProperties(prop) {
-1 24267 if (utils.isObject(config2[prop])) {
-1 24268 config[prop] = utils.deepMerge(config1[prop], config2[prop]);
-1 24269 } else if (typeof config2[prop] !== 'undefined') {
-1 24270 config[prop] = config2[prop];
-1 24271 } else if (utils.isObject(config1[prop])) {
-1 24272 config[prop] = utils.deepMerge(config1[prop]);
-1 24273 } else if (typeof config1[prop] !== 'undefined') {
-1 24274 config[prop] = config1[prop];
13868 24275 }
13869 -1 },
13870 -1 'html5-scope': {
13871 -1 impact: 'moderate',
13872 -1 messages: {
13873 -1 pass: function anonymous(it) {
13874 -1 var out = 'Scope attribute is only used on table header elements (<th>)';
13875 -1 return out;
13876 -1 },
13877 -1 fail: function anonymous(it) {
13878 -1 var out = 'In HTML 5, scope attributes may only be used on table header elements (<th>)';
13879 -1 return out;
13880 -1 }
-1 24276 });
-1 24277 utils.forEach(defaultToConfig2Keys, function defaultToConfig2(prop) {
-1 24278 if (typeof config2[prop] !== 'undefined') {
-1 24279 config[prop] = config2[prop];
-1 24280 } else if (typeof config1[prop] !== 'undefined') {
-1 24281 config[prop] = config1[prop];
13881 24282 }
13882 -1 },
13883 -1 'scope-value': {
13884 -1 impact: 'critical',
13885 -1 messages: {
13886 -1 pass: function anonymous(it) {
13887 -1 var out = 'Scope attribute is used correctly';
13888 -1 return out;
13889 -1 },
13890 -1 fail: function anonymous(it) {
13891 -1 var out = 'The value of the scope attribute may only be \'row\' or \'col\'';
13892 -1 return out;
13893 -1 }
-1 24283 });
-1 24284 var axiosKeys = valueFromConfig2Keys.concat(mergeDeepPropertiesKeys).concat(defaultToConfig2Keys);
-1 24285 var otherKeys = Object.keys(config2).filter(function filterAxiosKeys(key) {
-1 24286 return axiosKeys.indexOf(key) === -1;
-1 24287 });
-1 24288 utils.forEach(otherKeys, function otherKeysDefaultToConfig2(prop) {
-1 24289 if (typeof config2[prop] !== 'undefined') {
-1 24290 config[prop] = config2[prop];
-1 24291 } else if (typeof config1[prop] !== 'undefined') {
-1 24292 config[prop] = config1[prop];
13894 24293 }
13895 -1 },
13896 -1 exists: {
13897 -1 impact: 'minor',
13898 -1 messages: {
13899 -1 pass: function anonymous(it) {
13900 -1 var out = 'Element does not exist';
13901 -1 return out;
13902 -1 },
13903 -1 fail: function anonymous(it) {
13904 -1 var out = 'Element exists';
13905 -1 return out;
13906 -1 }
-1 24294 });
-1 24295 return config;
-1 24296 };
-1 24297 },
-1 24298 './node_modules/axios/lib/core/settle.js': function node_modulesAxiosLibCoreSettleJs(module, exports, __webpack_require__) {
-1 24299 'use strict';
-1 24300 var createError = __webpack_require__('./node_modules/axios/lib/core/createError.js');
-1 24301 module.exports = function settle(resolve, reject, response) {
-1 24302 var validateStatus = response.config.validateStatus;
-1 24303 if (!validateStatus || validateStatus(response.status)) {
-1 24304 resolve(response);
-1 24305 } else {
-1 24306 reject(createError('Request failed with status code ' + response.status, response.config, null, response.request, response));
-1 24307 }
-1 24308 };
-1 24309 },
-1 24310 './node_modules/axios/lib/core/transformData.js': function node_modulesAxiosLibCoreTransformDataJs(module, exports, __webpack_require__) {
-1 24311 'use strict';
-1 24312 var utils = __webpack_require__('./node_modules/axios/lib/utils.js');
-1 24313 module.exports = function transformData(data, headers, fns) {
-1 24314 utils.forEach(fns, function transform(fn) {
-1 24315 data = fn(data, headers);
-1 24316 });
-1 24317 return data;
-1 24318 };
-1 24319 },
-1 24320 './node_modules/axios/lib/defaults.js': function node_modulesAxiosLibDefaultsJs(module, exports, __webpack_require__) {
-1 24321 'use strict';
-1 24322 (function(process) {
-1 24323 var utils = __webpack_require__('./node_modules/axios/lib/utils.js');
-1 24324 var normalizeHeaderName = __webpack_require__('./node_modules/axios/lib/helpers/normalizeHeaderName.js');
-1 24325 var DEFAULT_CONTENT_TYPE = {
-1 24326 'Content-Type': 'application/x-www-form-urlencoded'
-1 24327 };
-1 24328 function setContentTypeIfUnset(headers, value) {
-1 24329 if (!utils.isUndefined(headers) && utils.isUndefined(headers['Content-Type'])) {
-1 24330 headers['Content-Type'] = value;
13907 24331 }
13908 -1 },
13909 -1 'skip-link': {
13910 -1 impact: 'moderate',
13911 -1 messages: {
13912 -1 pass: function anonymous(it) {
13913 -1 var out = 'Skip link target exists';
13914 -1 return out;
13915 -1 },
13916 -1 incomplete: function anonymous(it) {
13917 -1 var out = 'Skip link target should become visible on activation';
13918 -1 return out;
13919 -1 },
13920 -1 fail: function anonymous(it) {
13921 -1 var out = 'No skip link target';
13922 -1 return out;
13923 -1 }
-1 24332 }
-1 24333 function getDefaultAdapter() {
-1 24334 var adapter;
-1 24335 if (typeof XMLHttpRequest !== 'undefined') {
-1 24336 adapter = __webpack_require__('./node_modules/axios/lib/adapters/xhr.js');
-1 24337 } else if (typeof process !== 'undefined' && Object.prototype.toString.call(process) === '[object process]') {
-1 24338 adapter = __webpack_require__('./node_modules/axios/lib/adapters/xhr.js');
13924 24339 }
13925 -1 },
13926 -1 tabindex: {
13927 -1 impact: 'serious',
13928 -1 messages: {
13929 -1 pass: function anonymous(it) {
13930 -1 var out = 'Element does not have a tabindex greater than 0';
13931 -1 return out;
13932 -1 },
13933 -1 fail: function anonymous(it) {
13934 -1 var out = 'Element has a tabindex greater than 0';
13935 -1 return out;
-1 24340 return adapter;
-1 24341 }
-1 24342 var defaults = {
-1 24343 adapter: getDefaultAdapter(),
-1 24344 transformRequest: [ function transformRequest(data, headers) {
-1 24345 normalizeHeaderName(headers, 'Accept');
-1 24346 normalizeHeaderName(headers, 'Content-Type');
-1 24347 if (utils.isFormData(data) || utils.isArrayBuffer(data) || utils.isBuffer(data) || utils.isStream(data) || utils.isFile(data) || utils.isBlob(data)) {
-1 24348 return data;
13936 24349 }
13937 -1 }
13938 -1 },
13939 -1 'same-caption-summary': {
13940 -1 impact: 'minor',
13941 -1 messages: {
13942 -1 pass: function anonymous(it) {
13943 -1 var out = 'Content of summary attribute and <caption> are not duplicated';
13944 -1 return out;
13945 -1 },
13946 -1 fail: function anonymous(it) {
13947 -1 var out = 'Content of summary attribute and <caption> element are identical';
13948 -1 return out;
-1 24350 if (utils.isArrayBufferView(data)) {
-1 24351 return data.buffer;
13949 24352 }
13950 -1 }
13951 -1 },
13952 -1 'caption-faked': {
13953 -1 impact: 'serious',
13954 -1 messages: {
13955 -1 pass: function anonymous(it) {
13956 -1 var out = 'The first row of a table is not used as a caption';
13957 -1 return out;
13958 -1 },
13959 -1 fail: function anonymous(it) {
13960 -1 var out = 'The first row of the table should be a caption instead of a table cell';
13961 -1 return out;
-1 24353 if (utils.isURLSearchParams(data)) {
-1 24354 setContentTypeIfUnset(headers, 'application/x-www-form-urlencoded;charset=utf-8');
-1 24355 return data.toString();
13962 24356 }
13963 -1 }
13964 -1 },
13965 -1 'td-has-header': {
13966 -1 impact: 'critical',
13967 -1 messages: {
13968 -1 pass: function anonymous(it) {
13969 -1 var out = 'All non-empty data cells have table headers';
13970 -1 return out;
13971 -1 },
13972 -1 fail: function anonymous(it) {
13973 -1 var out = 'Some non-empty data cells do not have table headers';
13974 -1 return out;
-1 24357 if (utils.isObject(data)) {
-1 24358 setContentTypeIfUnset(headers, 'application/json;charset=utf-8');
-1 24359 return JSON.stringify(data);
13975 24360 }
13976 -1 }
13977 -1 },
13978 -1 'td-headers-attr': {
13979 -1 impact: 'serious',
13980 -1 messages: {
13981 -1 pass: function anonymous(it) {
13982 -1 var out = 'The headers attribute is exclusively used to refer to other cells in the table';
13983 -1 return out;
13984 -1 },
13985 -1 fail: function anonymous(it) {
13986 -1 var out = 'The headers attribute is not exclusively used to refer to other cells in the table';
13987 -1 return out;
-1 24361 return data;
-1 24362 } ],
-1 24363 transformResponse: [ function transformResponse(data) {
-1 24364 if (typeof data === 'string') {
-1 24365 try {
-1 24366 data = JSON.parse(data);
-1 24367 } catch (e) {}
13988 24368 }
-1 24369 return data;
-1 24370 } ],
-1 24371 timeout: 0,
-1 24372 xsrfCookieName: 'XSRF-TOKEN',
-1 24373 xsrfHeaderName: 'X-XSRF-TOKEN',
-1 24374 maxContentLength: -1,
-1 24375 validateStatus: function validateStatus(status) {
-1 24376 return status >= 200 && status < 300;
13989 24377 }
13990 -1 },
13991 -1 'th-has-data-cells': {
13992 -1 impact: 'serious',
13993 -1 messages: {
13994 -1 pass: function anonymous(it) {
13995 -1 var out = 'All table header cells refer to data cells';
13996 -1 return out;
13997 -1 },
13998 -1 fail: function anonymous(it) {
13999 -1 var out = 'Not all table header cells refer to data cells';
14000 -1 return out;
14001 -1 },
14002 -1 incomplete: function anonymous(it) {
14003 -1 var out = 'Table data cells are missing or empty';
14004 -1 return out;
14005 -1 }
-1 24378 };
-1 24379 defaults.headers = {
-1 24380 common: {
-1 24381 Accept: 'application/json, text/plain, */*'
14006 24382 }
14007 -1 },
14008 -1 description: {
14009 -1 impact: 'critical',
14010 -1 messages: {
14011 -1 pass: function anonymous(it) {
14012 -1 var out = 'The multimedia element has an audio description track';
14013 -1 return out;
14014 -1 },
14015 -1 incomplete: function anonymous(it) {
14016 -1 var out = 'Check that audio description is available for the element';
14017 -1 return out;
14018 -1 }
-1 24383 };
-1 24384 utils.forEach([ 'delete', 'get', 'head' ], function forEachMethodNoData(method) {
-1 24385 defaults.headers[method] = {};
-1 24386 });
-1 24387 utils.forEach([ 'post', 'put', 'patch' ], function forEachMethodWithData(method) {
-1 24388 defaults.headers[method] = utils.merge(DEFAULT_CONTENT_TYPE);
-1 24389 });
-1 24390 module.exports = defaults;
-1 24391 }).call(this, __webpack_require__('./node_modules/process/browser.js'));
-1 24392 },
-1 24393 './node_modules/axios/lib/helpers/bind.js': function node_modulesAxiosLibHelpersBindJs(module, exports, __webpack_require__) {
-1 24394 'use strict';
-1 24395 module.exports = function bind(fn, thisArg) {
-1 24396 return function wrap() {
-1 24397 var args = new Array(arguments.length);
-1 24398 for (var i = 0; i < args.length; i++) {
-1 24399 args[i] = arguments[i];
14019 24400 }
-1 24401 return fn.apply(thisArg, args);
-1 24402 };
-1 24403 };
-1 24404 },
-1 24405 './node_modules/axios/lib/helpers/buildURL.js': function node_modulesAxiosLibHelpersBuildURLJs(module, exports, __webpack_require__) {
-1 24406 'use strict';
-1 24407 var utils = __webpack_require__('./node_modules/axios/lib/utils.js');
-1 24408 function encode(val) {
-1 24409 return encodeURIComponent(val).replace(/%40/gi, '@').replace(/%3A/gi, ':').replace(/%24/g, '$').replace(/%2C/gi, ',').replace(/%20/g, '+').replace(/%5B/gi, '[').replace(/%5D/gi, ']');
-1 24410 }
-1 24411 module.exports = function buildURL(url, params, paramsSerializer) {
-1 24412 if (!params) {
-1 24413 return url;
14020 24414 }
14021 -1 },
14022 -1 failureSummaries: {
14023 -1 any: {
14024 -1 failureMessage: function anonymous(it) {
14025 -1 var out = 'Fix any of the following:';
14026 -1 var arr1 = it;
14027 -1 if (arr1) {
14028 -1 var value, i1 = -1, l1 = arr1.length - 1;
14029 -1 while (i1 < l1) {
14030 -1 value = arr1[i1 += 1];
14031 -1 out += '\n ' + value.split('\n').join('\n ');
14032 -1 }
-1 24415 var serializedParams;
-1 24416 if (paramsSerializer) {
-1 24417 serializedParams = paramsSerializer(params);
-1 24418 } else if (utils.isURLSearchParams(params)) {
-1 24419 serializedParams = params.toString();
-1 24420 } else {
-1 24421 var parts = [];
-1 24422 utils.forEach(params, function serialize(val, key) {
-1 24423 if (val === null || typeof val === 'undefined') {
-1 24424 return;
14033 24425 }
14034 -1 return out;
14035 -1 }
14036 -1 },
14037 -1 none: {
14038 -1 failureMessage: function anonymous(it) {
14039 -1 var out = 'Fix all of the following:';
14040 -1 var arr1 = it;
14041 -1 if (arr1) {
14042 -1 var value, i1 = -1, l1 = arr1.length - 1;
14043 -1 while (i1 < l1) {
14044 -1 value = arr1[i1 += 1];
14045 -1 out += '\n ' + value.split('\n').join('\n ');
14046 -1 }
-1 24426 if (utils.isArray(val)) {
-1 24427 key = key + '[]';
-1 24428 } else {
-1 24429 val = [ val ];
14047 24430 }
14048 -1 return out;
-1 24431 utils.forEach(val, function parseValue(v) {
-1 24432 if (utils.isDate(v)) {
-1 24433 v = v.toISOString();
-1 24434 } else if (utils.isObject(v)) {
-1 24435 v = JSON.stringify(v);
-1 24436 }
-1 24437 parts.push(encode(key) + '=' + encode(v));
-1 24438 });
-1 24439 });
-1 24440 serializedParams = parts.join('&');
-1 24441 }
-1 24442 if (serializedParams) {
-1 24443 var hashmarkIndex = url.indexOf('#');
-1 24444 if (hashmarkIndex !== -1) {
-1 24445 url = url.slice(0, hashmarkIndex);
14049 24446 }
-1 24447 url += (url.indexOf('?') === -1 ? '?' : '&') + serializedParams;
14050 24448 }
14051 -1 },
14052 -1 incompleteFallbackMessage: function anonymous(it) {
14053 -1 var out = 'aXe couldn\'t tell the reason. Time to break out the element inspector!';
14054 -1 return out;
14055 -1 }
-1 24449 return url;
-1 24450 };
14056 24451 },
14057 -1 rules: [ {
14058 -1 id: 'accesskeys',
14059 -1 selector: '[accesskey]',
14060 -1 excludeHidden: false,
14061 -1 tags: [ 'best-practice', 'cat.keyboard' ],
14062 -1 all: [],
14063 -1 any: [],
14064 -1 none: [ 'accesskeys' ]
14065 -1 }, {
14066 -1 id: 'area-alt',
14067 -1 selector: 'map area[href]',
14068 -1 excludeHidden: false,
14069 -1 tags: [ 'cat.text-alternatives', 'wcag2a', 'wcag111', 'section508', 'section508.22.a' ],
14070 -1 all: [],
14071 -1 any: [ 'non-empty-alt', 'non-empty-title', 'aria-label', 'aria-labelledby' ],
14072 -1 none: []
14073 -1 }, {
14074 -1 id: 'aria-allowed-attr',
14075 -1 matches: function matches(node, virtualNode, context) {
14076 -1 var aria = /^aria-/;
14077 -1 if (node.hasAttributes()) {
14078 -1 var attrs = node.attributes;
14079 -1 for (var i = 0, l = attrs.length; i < l; i++) {
14080 -1 if (aria.test(attrs[i].name)) {
14081 -1 return true;
-1 24452 './node_modules/axios/lib/helpers/combineURLs.js': function node_modulesAxiosLibHelpersCombineURLsJs(module, exports, __webpack_require__) {
-1 24453 'use strict';
-1 24454 module.exports = function combineURLs(baseURL, relativeURL) {
-1 24455 return relativeURL ? baseURL.replace(/\/+$/, '') + '/' + relativeURL.replace(/^\/+/, '') : baseURL;
-1 24456 };
-1 24457 },
-1 24458 './node_modules/axios/lib/helpers/cookies.js': function node_modulesAxiosLibHelpersCookiesJs(module, exports, __webpack_require__) {
-1 24459 'use strict';
-1 24460 var utils = __webpack_require__('./node_modules/axios/lib/utils.js');
-1 24461 module.exports = utils.isStandardBrowserEnv() ? function standardBrowserEnv() {
-1 24462 return {
-1 24463 write: function write(name, value, expires, path, domain, secure) {
-1 24464 var cookie = [];
-1 24465 cookie.push(name + '=' + encodeURIComponent(value));
-1 24466 if (utils.isNumber(expires)) {
-1 24467 cookie.push('expires=' + new Date(expires).toGMTString());
14082 24468 }
-1 24469 if (utils.isString(path)) {
-1 24470 cookie.push('path=' + path);
-1 24471 }
-1 24472 if (utils.isString(domain)) {
-1 24473 cookie.push('domain=' + domain);
-1 24474 }
-1 24475 if (secure === true) {
-1 24476 cookie.push('secure');
-1 24477 }
-1 24478 document.cookie = cookie.join('; ');
-1 24479 },
-1 24480 read: function read(name) {
-1 24481 var match = document.cookie.match(new RegExp('(^|;\\s*)(' + name + ')=([^;]*)'));
-1 24482 return match ? decodeURIComponent(match[3]) : null;
-1 24483 },
-1 24484 remove: function remove(name) {
-1 24485 this.write(name, '', Date.now() - 864e5);
14083 24486 }
14084 -1 }
14085 -1 return false;
14086 -1 },
14087 -1 tags: [ 'cat.aria', 'wcag2a', 'wcag412' ],
14088 -1 all: [],
14089 -1 any: [ 'aria-allowed-attr' ],
14090 -1 none: [ 'aria-unsupported-attr' ]
14091 -1 }, {
14092 -1 id: 'aria-allowed-role',
14093 -1 excludeHidden: false,
14094 -1 selector: '[role]',
14095 -1 matches: function matches(node, virtualNode, context) {
14096 -1 return axe.commons.aria.getRole(node, {
14097 -1 noImplicit: true,
14098 -1 dpub: true,
14099 -1 fallback: true
14100 -1 }) !== null;
14101 -1 },
14102 -1 tags: [ 'cat.aria', 'best-practice' ],
14103 -1 all: [],
14104 -1 any: [ {
14105 -1 options: {
14106 -1 allowImplicit: true,
14107 -1 ignoredTags: []
14108 -1 },
14109 -1 id: 'aria-allowed-role'
14110 -1 } ],
14111 -1 none: []
14112 -1 }, {
14113 -1 id: 'aria-dpub-role-fallback',
14114 -1 selector: '[role]',
14115 -1 matches: function matches(node, virtualNode, context) {
14116 -1 var role = node.getAttribute('role');
14117 -1 return [ 'doc-backlink', 'doc-biblioentry', 'doc-biblioref', 'doc-cover', 'doc-endnote', 'doc-glossref', 'doc-noteref' ].includes(role);
14118 -1 },
14119 -1 tags: [ 'cat.aria', 'wcag2a', 'wcag131' ],
14120 -1 all: [ 'implicit-role-fallback' ],
14121 -1 any: [],
14122 -1 none: []
14123 -1 }, {
14124 -1 id: 'aria-hidden-body',
14125 -1 selector: 'body',
14126 -1 excludeHidden: false,
14127 -1 tags: [ 'cat.aria', 'wcag2a', 'wcag412' ],
14128 -1 all: [],
14129 -1 any: [ 'aria-hidden-body' ],
14130 -1 none: []
14131 -1 }, {
14132 -1 id: 'aria-hidden-focus',
14133 -1 selector: '[aria-hidden="true"]',
14134 -1 matches: function matches(node, virtualNode, context) {
14135 -1 var getComposedParent = axe.commons.dom.getComposedParent;
14136 -1 function shouldMatchElement(el) {
14137 -1 if (!el) {
14138 -1 return true;
14139 -1 }
14140 -1 if (el.getAttribute('aria-hidden') === 'true') {
14141 -1 return false;
-1 24487 };
-1 24488 }() : function nonStandardBrowserEnv() {
-1 24489 return {
-1 24490 write: function write() {},
-1 24491 read: function read() {
-1 24492 return null;
-1 24493 },
-1 24494 remove: function remove() {}
-1 24495 };
-1 24496 }();
-1 24497 },
-1 24498 './node_modules/axios/lib/helpers/isAbsoluteURL.js': function node_modulesAxiosLibHelpersIsAbsoluteURLJs(module, exports, __webpack_require__) {
-1 24499 'use strict';
-1 24500 module.exports = function isAbsoluteURL(url) {
-1 24501 return /^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(url);
-1 24502 };
-1 24503 },
-1 24504 './node_modules/axios/lib/helpers/isURLSameOrigin.js': function node_modulesAxiosLibHelpersIsURLSameOriginJs(module, exports, __webpack_require__) {
-1 24505 'use strict';
-1 24506 var utils = __webpack_require__('./node_modules/axios/lib/utils.js');
-1 24507 module.exports = utils.isStandardBrowserEnv() ? function standardBrowserEnv() {
-1 24508 var msie = /(msie|trident)/i.test(navigator.userAgent);
-1 24509 var urlParsingNode = document.createElement('a');
-1 24510 var originURL;
-1 24511 function resolveURL(url) {
-1 24512 var href = url;
-1 24513 if (msie) {
-1 24514 urlParsingNode.setAttribute('href', href);
-1 24515 href = urlParsingNode.href;
14142 24516 }
14143 -1 return shouldMatchElement(getComposedParent(el));
-1 24517 urlParsingNode.setAttribute('href', href);
-1 24518 return {
-1 24519 href: urlParsingNode.href,
-1 24520 protocol: urlParsingNode.protocol ? urlParsingNode.protocol.replace(/:$/, '') : '',
-1 24521 host: urlParsingNode.host,
-1 24522 search: urlParsingNode.search ? urlParsingNode.search.replace(/^\?/, '') : '',
-1 24523 hash: urlParsingNode.hash ? urlParsingNode.hash.replace(/^#/, '') : '',
-1 24524 hostname: urlParsingNode.hostname,
-1 24525 port: urlParsingNode.port,
-1 24526 pathname: urlParsingNode.pathname.charAt(0) === '/' ? urlParsingNode.pathname : '/' + urlParsingNode.pathname
-1 24527 };
14144 24528 }
14145 -1 return shouldMatchElement(getComposedParent(node));
14146 -1 },
14147 -1 excludeHidden: false,
14148 -1 tags: [ 'cat.name-role-value', 'wcag2a', 'wcag412' ],
14149 -1 all: [ 'focusable-disabled', 'focusable-not-tabbable' ],
14150 -1 any: [],
14151 -1 none: []
14152 -1 }, {
14153 -1 id: 'aria-required-attr',
14154 -1 selector: '[role]',
14155 -1 tags: [ 'cat.aria', 'wcag2a', 'wcag412' ],
14156 -1 all: [],
14157 -1 any: [ 'aria-required-attr' ],
14158 -1 none: []
14159 -1 }, {
14160 -1 id: 'aria-required-children',
14161 -1 selector: '[role]',
14162 -1 tags: [ 'cat.aria', 'wcag2a', 'wcag131' ],
14163 -1 all: [],
14164 -1 any: [ {
14165 -1 options: {
14166 -1 reviewEmpty: [ 'listbox' ]
14167 -1 },
14168 -1 id: 'aria-required-children'
14169 -1 } ],
14170 -1 none: []
14171 -1 }, {
14172 -1 id: 'aria-required-parent',
14173 -1 selector: '[role]',
14174 -1 tags: [ 'cat.aria', 'wcag2a', 'wcag131' ],
14175 -1 all: [],
14176 -1 any: [ 'aria-required-parent' ],
14177 -1 none: []
14178 -1 }, {
14179 -1 id: 'aria-roles',
14180 -1 selector: '[role]',
14181 -1 tags: [ 'cat.aria', 'wcag2a', 'wcag412' ],
14182 -1 all: [],
14183 -1 any: [],
14184 -1 none: [ 'invalidrole', 'abstractrole', 'unsupportedrole' ]
14185 -1 }, {
14186 -1 id: 'aria-valid-attr-value',
14187 -1 matches: function matches(node, virtualNode, context) {
14188 -1 var aria = /^aria-/;
14189 -1 if (node.hasAttributes()) {
14190 -1 var attrs = node.attributes;
14191 -1 for (var i = 0, l = attrs.length; i < l; i++) {
14192 -1 if (aria.test(attrs[i].name)) {
14193 -1 return true;
14194 -1 }
-1 24529 originURL = resolveURL(window.location.href);
-1 24530 return function isURLSameOrigin(requestURL) {
-1 24531 var parsed = utils.isString(requestURL) ? resolveURL(requestURL) : requestURL;
-1 24532 return parsed.protocol === originURL.protocol && parsed.host === originURL.host;
-1 24533 };
-1 24534 }() : function nonStandardBrowserEnv() {
-1 24535 return function isURLSameOrigin() {
-1 24536 return true;
-1 24537 };
-1 24538 }();
-1 24539 },
-1 24540 './node_modules/axios/lib/helpers/normalizeHeaderName.js': function node_modulesAxiosLibHelpersNormalizeHeaderNameJs(module, exports, __webpack_require__) {
-1 24541 'use strict';
-1 24542 var utils = __webpack_require__('./node_modules/axios/lib/utils.js');
-1 24543 module.exports = function normalizeHeaderName(headers, normalizedName) {
-1 24544 utils.forEach(headers, function processHeader(value, name) {
-1 24545 if (name !== normalizedName && name.toUpperCase() === normalizedName.toUpperCase()) {
-1 24546 headers[normalizedName] = value;
-1 24547 delete headers[name];
14195 24548 }
-1 24549 });
-1 24550 };
-1 24551 },
-1 24552 './node_modules/axios/lib/helpers/parseHeaders.js': function node_modulesAxiosLibHelpersParseHeadersJs(module, exports, __webpack_require__) {
-1 24553 'use strict';
-1 24554 var utils = __webpack_require__('./node_modules/axios/lib/utils.js');
-1 24555 var ignoreDuplicateOf = [ 'age', 'authorization', 'content-length', 'content-type', 'etag', 'expires', 'from', 'host', 'if-modified-since', 'if-unmodified-since', 'last-modified', 'location', 'max-forwards', 'proxy-authorization', 'referer', 'retry-after', 'user-agent' ];
-1 24556 module.exports = function parseHeaders(headers) {
-1 24557 var parsed = {};
-1 24558 var key;
-1 24559 var val;
-1 24560 var i;
-1 24561 if (!headers) {
-1 24562 return parsed;
14196 24563 }
14197 -1 return false;
14198 -1 },
14199 -1 tags: [ 'cat.aria', 'wcag2a', 'wcag412' ],
14200 -1 all: [ {
14201 -1 options: [],
14202 -1 id: 'aria-valid-attr-value'
14203 -1 }, 'aria-errormessage' ],
14204 -1 any: [],
14205 -1 none: []
14206 -1 }, {
14207 -1 id: 'aria-valid-attr',
14208 -1 matches: function matches(node, virtualNode, context) {
14209 -1 var aria = /^aria-/;
14210 -1 if (node.hasAttributes()) {
14211 -1 var attrs = node.attributes;
14212 -1 for (var i = 0, l = attrs.length; i < l; i++) {
14213 -1 if (aria.test(attrs[i].name)) {
14214 -1 return true;
-1 24564 utils.forEach(headers.split('\n'), function parser(line) {
-1 24565 i = line.indexOf(':');
-1 24566 key = utils.trim(line.substr(0, i)).toLowerCase();
-1 24567 val = utils.trim(line.substr(i + 1));
-1 24568 if (key) {
-1 24569 if (parsed[key] && ignoreDuplicateOf.indexOf(key) >= 0) {
-1 24570 return;
-1 24571 }
-1 24572 if (key === 'set-cookie') {
-1 24573 parsed[key] = (parsed[key] ? parsed[key] : []).concat([ val ]);
-1 24574 } else {
-1 24575 parsed[key] = parsed[key] ? parsed[key] + ', ' + val : val;
14215 24576 }
14216 24577 }
-1 24578 });
-1 24579 return parsed;
-1 24580 };
-1 24581 },
-1 24582 './node_modules/axios/lib/helpers/spread.js': function node_modulesAxiosLibHelpersSpreadJs(module, exports, __webpack_require__) {
-1 24583 'use strict';
-1 24584 module.exports = function spread(callback) {
-1 24585 return function wrap(arr) {
-1 24586 return callback.apply(null, arr);
-1 24587 };
-1 24588 };
-1 24589 },
-1 24590 './node_modules/axios/lib/utils.js': function node_modulesAxiosLibUtilsJs(module, exports, __webpack_require__) {
-1 24591 'use strict';
-1 24592 var bind = __webpack_require__('./node_modules/axios/lib/helpers/bind.js');
-1 24593 var toString = Object.prototype.toString;
-1 24594 function isArray(val) {
-1 24595 return toString.call(val) === '[object Array]';
-1 24596 }
-1 24597 function isUndefined(val) {
-1 24598 return typeof val === 'undefined';
-1 24599 }
-1 24600 function isBuffer(val) {
-1 24601 return val !== null && !isUndefined(val) && val.constructor !== null && !isUndefined(val.constructor) && typeof val.constructor.isBuffer === 'function' && val.constructor.isBuffer(val);
-1 24602 }
-1 24603 function isArrayBuffer(val) {
-1 24604 return toString.call(val) === '[object ArrayBuffer]';
-1 24605 }
-1 24606 function isFormData(val) {
-1 24607 return typeof FormData !== 'undefined' && val instanceof FormData;
-1 24608 }
-1 24609 function isArrayBufferView(val) {
-1 24610 var result;
-1 24611 if (typeof ArrayBuffer !== 'undefined' && ArrayBuffer.isView) {
-1 24612 result = ArrayBuffer.isView(val);
-1 24613 } else {
-1 24614 result = val && val.buffer && val.buffer instanceof ArrayBuffer;
14217 24615 }
14218 -1 return false;
14219 -1 },
14220 -1 tags: [ 'cat.aria', 'wcag2a', 'wcag412' ],
14221 -1 all: [],
14222 -1 any: [ {
14223 -1 options: [],
14224 -1 id: 'aria-valid-attr'
14225 -1 } ],
14226 -1 none: []
14227 -1 }, {
14228 -1 id: 'audio-caption',
14229 -1 selector: 'audio',
14230 -1 enabled: false,
14231 -1 excludeHidden: false,
14232 -1 tags: [ 'cat.time-and-media', 'wcag2a', 'wcag121', 'section508', 'section508.22.a' ],
14233 -1 all: [],
14234 -1 any: [],
14235 -1 none: [ 'caption' ]
14236 -1 }, {
14237 -1 id: 'autocomplete-valid',
14238 -1 matches: function matches(node, virtualNode, context) {
14239 -1 var _axe$commons = axe.commons, text = _axe$commons.text, aria = _axe$commons.aria, dom = _axe$commons.dom;
14240 -1 var autocomplete = node.getAttribute('autocomplete');
14241 -1 if (!autocomplete || text.sanitize(autocomplete) === '') {
14242 -1 return false;
14243 -1 }
14244 -1 var nodeName = node.nodeName.toUpperCase();
14245 -1 if ([ 'TEXTAREA', 'INPUT', 'SELECT' ].includes(nodeName) === false) {
-1 24616 return result;
-1 24617 }
-1 24618 function isString(val) {
-1 24619 return typeof val === 'string';
-1 24620 }
-1 24621 function isNumber(val) {
-1 24622 return typeof val === 'number';
-1 24623 }
-1 24624 function isObject(val) {
-1 24625 return val !== null && _typeof(val) === 'object';
-1 24626 }
-1 24627 function isDate(val) {
-1 24628 return toString.call(val) === '[object Date]';
-1 24629 }
-1 24630 function isFile(val) {
-1 24631 return toString.call(val) === '[object File]';
-1 24632 }
-1 24633 function isBlob(val) {
-1 24634 return toString.call(val) === '[object Blob]';
-1 24635 }
-1 24636 function isFunction(val) {
-1 24637 return toString.call(val) === '[object Function]';
-1 24638 }
-1 24639 function isStream(val) {
-1 24640 return isObject(val) && isFunction(val.pipe);
-1 24641 }
-1 24642 function isURLSearchParams(val) {
-1 24643 return typeof URLSearchParams !== 'undefined' && val instanceof URLSearchParams;
-1 24644 }
-1 24645 function trim(str) {
-1 24646 return str.replace(/^\s*/, '').replace(/\s*$/, '');
-1 24647 }
-1 24648 function isStandardBrowserEnv() {
-1 24649 if (typeof navigator !== 'undefined' && (navigator.product === 'ReactNative' || navigator.product === 'NativeScript' || navigator.product === 'NS')) {
14246 24650 return false;
14247 24651 }
14248 -1 var excludedInputTypes = [ 'submit', 'reset', 'button', 'hidden' ];
14249 -1 if (nodeName === 'INPUT' && excludedInputTypes.includes(node.type)) {
14250 -1 return false;
-1 24652 return typeof window !== 'undefined' && typeof document !== 'undefined';
-1 24653 }
-1 24654 function forEach(obj, fn) {
-1 24655 if (obj === null || typeof obj === 'undefined') {
-1 24656 return;
14251 24657 }
14252 -1 var ariaDisabled = node.getAttribute('aria-disabled') || 'false';
14253 -1 if (node.disabled || ariaDisabled.toLowerCase() === 'true') {
14254 -1 return false;
-1 24658 if (_typeof(obj) !== 'object') {
-1 24659 obj = [ obj ];
14255 24660 }
14256 -1 var role = node.getAttribute('role');
14257 -1 var tabIndex = node.getAttribute('tabindex');
14258 -1 if (tabIndex === '-1' && role) {
14259 -1 var roleDef = aria.lookupTable.role[role];
14260 -1 if (roleDef === undefined || roleDef.type !== 'widget') {
14261 -1 return false;
-1 24661 if (isArray(obj)) {
-1 24662 for (var i = 0, l = obj.length; i < l; i++) {
-1 24663 fn.call(null, obj[i], i, obj);
-1 24664 }
-1 24665 } else {
-1 24666 for (var key in obj) {
-1 24667 if (Object.prototype.hasOwnProperty.call(obj, key)) {
-1 24668 fn.call(null, obj[key], key, obj);
-1 24669 }
14262 24670 }
14263 24671 }
14264 -1 if (tabIndex === '-1' && !dom.isVisible(node, false) && !dom.isVisible(node, true)) {
14265 -1 return false;
-1 24672 }
-1 24673 function merge() {
-1 24674 var result = {};
-1 24675 function assignValue(val, key) {
-1 24676 if (_typeof(result[key]) === 'object' && _typeof(val) === 'object') {
-1 24677 result[key] = merge(result[key], val);
-1 24678 } else {
-1 24679 result[key] = val;
-1 24680 }
14266 24681 }
14267 -1 return true;
14268 -1 },
14269 -1 tags: [ 'cat.forms', 'wcag21aa', 'wcag135' ],
14270 -1 all: [ 'autocomplete-valid', 'autocomplete-appropriate' ],
14271 -1 any: [],
14272 -1 none: []
14273 -1 }, {
14274 -1 id: 'blink',
14275 -1 selector: 'blink',
14276 -1 excludeHidden: false,
14277 -1 tags: [ 'cat.time-and-media', 'wcag2a', 'wcag222', 'section508', 'section508.22.j' ],
14278 -1 all: [],
14279 -1 any: [],
14280 -1 none: [ 'is-on-screen' ]
14281 -1 }, {
14282 -1 id: 'button-name',
14283 -1 selector: 'button, [role="button"], input[type="button"], input[type="submit"], input[type="reset"]',
14284 -1 tags: [ 'cat.name-role-value', 'wcag2a', 'wcag412', 'section508', 'section508.22.a' ],
14285 -1 all: [],
14286 -1 any: [ 'non-empty-if-present', 'non-empty-value', 'button-has-visible-text', 'aria-label', 'aria-labelledby', 'role-presentation', 'role-none', 'non-empty-title' ],
14287 -1 none: [ 'focusable-no-name' ]
14288 -1 }, {
14289 -1 id: 'bypass',
14290 -1 selector: 'html',
14291 -1 pageLevel: true,
14292 -1 matches: function matches(node, virtualNode, context) {
14293 -1 return !!node.querySelector('a[href]');
14294 -1 },
14295 -1 tags: [ 'cat.keyboard', 'wcag2a', 'wcag241', 'section508', 'section508.22.o' ],
14296 -1 all: [],
14297 -1 any: [ 'internal-link-present', 'header-present', 'landmark' ],
14298 -1 none: []
14299 -1 }, {
14300 -1 id: 'checkboxgroup',
14301 -1 selector: 'input[type=checkbox][name]',
14302 -1 tags: [ 'cat.forms', 'best-practice' ],
14303 -1 all: [],
14304 -1 any: [ 'group-labelledby', 'fieldset' ],
14305 -1 none: []
14306 -1 }, {
14307 -1 id: 'color-contrast',
14308 -1 matches: function matches(node, virtualNode, context) {
14309 -1 var nodeName = node.nodeName.toUpperCase(), nodeType = node.type;
14310 -1 if (node.getAttribute('aria-disabled') === 'true' || axe.commons.dom.findUpVirtual(virtualNode, '[aria-disabled="true"]')) {
14311 -1 return false;
-1 24682 for (var i = 0, l = arguments.length; i < l; i++) {
-1 24683 forEach(arguments[i], assignValue);
14312 24684 }
14313 -1 if (nodeName === 'INPUT') {
14314 -1 return [ 'hidden', 'range', 'color', 'checkbox', 'radio', 'image' ].indexOf(nodeType) === -1 && !node.disabled;
-1 24685 return result;
-1 24686 }
-1 24687 function deepMerge() {
-1 24688 var result = {};
-1 24689 function assignValue(val, key) {
-1 24690 if (_typeof(result[key]) === 'object' && _typeof(val) === 'object') {
-1 24691 result[key] = deepMerge(result[key], val);
-1 24692 } else if (_typeof(val) === 'object') {
-1 24693 result[key] = deepMerge({}, val);
-1 24694 } else {
-1 24695 result[key] = val;
-1 24696 }
14315 24697 }
14316 -1 if (nodeName === 'SELECT') {
14317 -1 return !!node.options.length && !node.disabled;
-1 24698 for (var i = 0, l = arguments.length; i < l; i++) {
-1 24699 forEach(arguments[i], assignValue);
14318 24700 }
14319 -1 if (nodeName === 'TEXTAREA') {
14320 -1 return !node.disabled;
-1 24701 return result;
-1 24702 }
-1 24703 function extend(a, b, thisArg) {
-1 24704 forEach(b, function assignValue(val, key) {
-1 24705 if (thisArg && typeof val === 'function') {
-1 24706 a[key] = bind(val, thisArg);
-1 24707 } else {
-1 24708 a[key] = val;
-1 24709 }
-1 24710 });
-1 24711 return a;
-1 24712 }
-1 24713 module.exports = {
-1 24714 isArray: isArray,
-1 24715 isArrayBuffer: isArrayBuffer,
-1 24716 isBuffer: isBuffer,
-1 24717 isFormData: isFormData,
-1 24718 isArrayBufferView: isArrayBufferView,
-1 24719 isString: isString,
-1 24720 isNumber: isNumber,
-1 24721 isObject: isObject,
-1 24722 isUndefined: isUndefined,
-1 24723 isDate: isDate,
-1 24724 isFile: isFile,
-1 24725 isBlob: isBlob,
-1 24726 isFunction: isFunction,
-1 24727 isStream: isStream,
-1 24728 isURLSearchParams: isURLSearchParams,
-1 24729 isStandardBrowserEnv: isStandardBrowserEnv,
-1 24730 forEach: forEach,
-1 24731 merge: merge,
-1 24732 deepMerge: deepMerge,
-1 24733 extend: extend,
-1 24734 trim: trim
-1 24735 };
-1 24736 },
-1 24737 './node_modules/core-js-pure/es/promise/index.js': function node_modulesCoreJsPureEsPromiseIndexJs(module, exports, __webpack_require__) {
-1 24738 __webpack_require__('./node_modules/core-js-pure/modules/es.object.to-string.js');
-1 24739 __webpack_require__('./node_modules/core-js-pure/modules/es.string.iterator.js');
-1 24740 __webpack_require__('./node_modules/core-js-pure/modules/web.dom-collections.iterator.js');
-1 24741 __webpack_require__('./node_modules/core-js-pure/modules/es.promise.js');
-1 24742 __webpack_require__('./node_modules/core-js-pure/modules/es.promise.all-settled.js');
-1 24743 __webpack_require__('./node_modules/core-js-pure/modules/es.promise.finally.js');
-1 24744 var path = __webpack_require__('./node_modules/core-js-pure/internals/path.js');
-1 24745 module.exports = path.Promise;
-1 24746 },
-1 24747 './node_modules/core-js-pure/es/typed-array/methods.js': function node_modulesCoreJsPureEsTypedArrayMethodsJs(module, exports, __webpack_require__) {
-1 24748 __webpack_require__('./node_modules/core-js-pure/modules/es.typed-array.from.js');
-1 24749 __webpack_require__('./node_modules/core-js-pure/modules/es.typed-array.of.js');
-1 24750 __webpack_require__('./node_modules/core-js-pure/modules/es.typed-array.copy-within.js');
-1 24751 __webpack_require__('./node_modules/core-js-pure/modules/es.typed-array.every.js');
-1 24752 __webpack_require__('./node_modules/core-js-pure/modules/es.typed-array.fill.js');
-1 24753 __webpack_require__('./node_modules/core-js-pure/modules/es.typed-array.filter.js');
-1 24754 __webpack_require__('./node_modules/core-js-pure/modules/es.typed-array.find.js');
-1 24755 __webpack_require__('./node_modules/core-js-pure/modules/es.typed-array.find-index.js');
-1 24756 __webpack_require__('./node_modules/core-js-pure/modules/es.typed-array.for-each.js');
-1 24757 __webpack_require__('./node_modules/core-js-pure/modules/es.typed-array.includes.js');
-1 24758 __webpack_require__('./node_modules/core-js-pure/modules/es.typed-array.index-of.js');
-1 24759 __webpack_require__('./node_modules/core-js-pure/modules/es.typed-array.join.js');
-1 24760 __webpack_require__('./node_modules/core-js-pure/modules/es.typed-array.last-index-of.js');
-1 24761 __webpack_require__('./node_modules/core-js-pure/modules/es.typed-array.map.js');
-1 24762 __webpack_require__('./node_modules/core-js-pure/modules/es.typed-array.reduce.js');
-1 24763 __webpack_require__('./node_modules/core-js-pure/modules/es.typed-array.reduce-right.js');
-1 24764 __webpack_require__('./node_modules/core-js-pure/modules/es.typed-array.reverse.js');
-1 24765 __webpack_require__('./node_modules/core-js-pure/modules/es.typed-array.set.js');
-1 24766 __webpack_require__('./node_modules/core-js-pure/modules/es.typed-array.slice.js');
-1 24767 __webpack_require__('./node_modules/core-js-pure/modules/es.typed-array.some.js');
-1 24768 __webpack_require__('./node_modules/core-js-pure/modules/es.typed-array.sort.js');
-1 24769 __webpack_require__('./node_modules/core-js-pure/modules/es.typed-array.subarray.js');
-1 24770 __webpack_require__('./node_modules/core-js-pure/modules/es.typed-array.to-locale-string.js');
-1 24771 __webpack_require__('./node_modules/core-js-pure/modules/es.typed-array.to-string.js');
-1 24772 __webpack_require__('./node_modules/core-js-pure/modules/es.typed-array.iterator.js');
-1 24773 __webpack_require__('./node_modules/core-js-pure/modules/es.object.to-string.js');
-1 24774 },
-1 24775 './node_modules/core-js-pure/es/typed-array/uint32-array.js': function node_modulesCoreJsPureEsTypedArrayUint32ArrayJs(module, exports, __webpack_require__) {
-1 24776 __webpack_require__('./node_modules/core-js-pure/modules/es.typed-array.uint32-array.js');
-1 24777 __webpack_require__('./node_modules/core-js-pure/es/typed-array/methods.js');
-1 24778 var global = __webpack_require__('./node_modules/core-js-pure/internals/global.js');
-1 24779 module.exports = global.Uint32Array;
-1 24780 },
-1 24781 './node_modules/core-js-pure/es/weak-map/index.js': function node_modulesCoreJsPureEsWeakMapIndexJs(module, exports, __webpack_require__) {
-1 24782 __webpack_require__('./node_modules/core-js-pure/modules/es.object.to-string.js');
-1 24783 __webpack_require__('./node_modules/core-js-pure/modules/es.weak-map.js');
-1 24784 __webpack_require__('./node_modules/core-js-pure/modules/web.dom-collections.iterator.js');
-1 24785 var path = __webpack_require__('./node_modules/core-js-pure/internals/path.js');
-1 24786 module.exports = path.WeakMap;
-1 24787 },
-1 24788 './node_modules/core-js-pure/features/promise/index.js': function node_modulesCoreJsPureFeaturesPromiseIndexJs(module, exports, __webpack_require__) {
-1 24789 var parent = __webpack_require__('./node_modules/core-js-pure/es/promise/index.js');
-1 24790 __webpack_require__('./node_modules/core-js-pure/modules/esnext.aggregate-error.js');
-1 24791 __webpack_require__('./node_modules/core-js-pure/modules/esnext.promise.all-settled.js');
-1 24792 __webpack_require__('./node_modules/core-js-pure/modules/esnext.promise.try.js');
-1 24793 __webpack_require__('./node_modules/core-js-pure/modules/esnext.promise.any.js');
-1 24794 module.exports = parent;
-1 24795 },
-1 24796 './node_modules/core-js-pure/features/typed-array/uint32-array.js': function node_modulesCoreJsPureFeaturesTypedArrayUint32ArrayJs(module, exports, __webpack_require__) {
-1 24797 var parent = __webpack_require__('./node_modules/core-js-pure/es/typed-array/uint32-array.js');
-1 24798 module.exports = parent;
-1 24799 },
-1 24800 './node_modules/core-js-pure/internals/a-function.js': function node_modulesCoreJsPureInternalsAFunctionJs(module, exports) {
-1 24801 module.exports = function(it) {
-1 24802 if (typeof it != 'function') {
-1 24803 throw TypeError(String(it) + ' is not a function');
14321 24804 }
14322 -1 if (nodeName === 'OPTION') {
14323 -1 return false;
-1 24805 return it;
-1 24806 };
-1 24807 },
-1 24808 './node_modules/core-js-pure/internals/a-possible-prototype.js': function node_modulesCoreJsPureInternalsAPossiblePrototypeJs(module, exports, __webpack_require__) {
-1 24809 var isObject = __webpack_require__('./node_modules/core-js-pure/internals/is-object.js');
-1 24810 module.exports = function(it) {
-1 24811 if (!isObject(it) && it !== null) {
-1 24812 throw TypeError('Can\'t set ' + String(it) + ' as a prototype');
14324 24813 }
14325 -1 if (nodeName === 'BUTTON' && node.disabled || axe.commons.dom.findUpVirtual(virtualNode, 'button[disabled]')) {
14326 -1 return false;
-1 24814 return it;
-1 24815 };
-1 24816 },
-1 24817 './node_modules/core-js-pure/internals/add-to-unscopables.js': function node_modulesCoreJsPureInternalsAddToUnscopablesJs(module, exports) {
-1 24818 module.exports = function() {};
-1 24819 },
-1 24820 './node_modules/core-js-pure/internals/an-instance.js': function node_modulesCoreJsPureInternalsAnInstanceJs(module, exports) {
-1 24821 module.exports = function(it, Constructor, name) {
-1 24822 if (!(it instanceof Constructor)) {
-1 24823 throw TypeError('Incorrect ' + (name ? name + ' ' : '') + 'invocation');
14327 24824 }
14328 -1 if (nodeName === 'FIELDSET' && node.disabled || axe.commons.dom.findUpVirtual(virtualNode, 'fieldset[disabled]')) {
14329 -1 return false;
-1 24825 return it;
-1 24826 };
-1 24827 },
-1 24828 './node_modules/core-js-pure/internals/an-object.js': function node_modulesCoreJsPureInternalsAnObjectJs(module, exports, __webpack_require__) {
-1 24829 var isObject = __webpack_require__('./node_modules/core-js-pure/internals/is-object.js');
-1 24830 module.exports = function(it) {
-1 24831 if (!isObject(it)) {
-1 24832 throw TypeError(String(it) + ' is not an object');
14330 24833 }
14331 -1 var nodeParentLabel = axe.commons.dom.findUpVirtual(virtualNode, 'label');
14332 -1 if (nodeName === 'LABEL' || nodeParentLabel) {
14333 -1 var relevantNode = node;
14334 -1 var relevantVirtualNode = virtualNode;
14335 -1 if (nodeParentLabel) {
14336 -1 relevantNode = nodeParentLabel;
14337 -1 relevantVirtualNode = axe.utils.getNodeFromTree(axe._tree[0], nodeParentLabel);
14338 -1 }
14339 -1 var doc = axe.commons.dom.getRootNode(relevantNode);
14340 -1 var candidate = relevantNode.htmlFor && doc.getElementById(relevantNode.htmlFor);
14341 -1 if (candidate && candidate.disabled) {
14342 -1 return false;
-1 24834 return it;
-1 24835 };
-1 24836 },
-1 24837 './node_modules/core-js-pure/internals/array-includes.js': function node_modulesCoreJsPureInternalsArrayIncludesJs(module, exports, __webpack_require__) {
-1 24838 var toIndexedObject = __webpack_require__('./node_modules/core-js-pure/internals/to-indexed-object.js');
-1 24839 var toLength = __webpack_require__('./node_modules/core-js-pure/internals/to-length.js');
-1 24840 var toAbsoluteIndex = __webpack_require__('./node_modules/core-js-pure/internals/to-absolute-index.js');
-1 24841 var createMethod = function createMethod(IS_INCLUDES) {
-1 24842 return function($this, el, fromIndex) {
-1 24843 var O = toIndexedObject($this);
-1 24844 var length = toLength(O.length);
-1 24845 var index = toAbsoluteIndex(fromIndex, length);
-1 24846 var value;
-1 24847 if (IS_INCLUDES && el != el) {
-1 24848 while (length > index) {
-1 24849 value = O[index++];
-1 24850 if (value != value) {
-1 24851 return true;
-1 24852 }
-1 24853 }
-1 24854 } else {
-1 24855 for (;length > index; index++) {
-1 24856 if ((IS_INCLUDES || index in O) && O[index] === el) {
-1 24857 return IS_INCLUDES || index || 0;
-1 24858 }
-1 24859 }
14343 24860 }
14344 -1 var candidate = axe.utils.querySelectorAll(relevantVirtualNode, 'input:not([type="hidden"]):not([type="image"])' + ':not([type="button"]):not([type="submit"]):not([type="reset"]), select, textarea');
14345 -1 if (candidate.length && candidate[0].actualNode.disabled) {
14346 -1 return false;
-1 24861 return !IS_INCLUDES && -1;
-1 24862 };
-1 24863 };
-1 24864 module.exports = {
-1 24865 includes: createMethod(true),
-1 24866 indexOf: createMethod(false)
-1 24867 };
-1 24868 },
-1 24869 './node_modules/core-js-pure/internals/array-iteration.js': function node_modulesCoreJsPureInternalsArrayIterationJs(module, exports, __webpack_require__) {
-1 24870 var bind = __webpack_require__('./node_modules/core-js-pure/internals/function-bind-context.js');
-1 24871 var IndexedObject = __webpack_require__('./node_modules/core-js-pure/internals/indexed-object.js');
-1 24872 var toObject = __webpack_require__('./node_modules/core-js-pure/internals/to-object.js');
-1 24873 var toLength = __webpack_require__('./node_modules/core-js-pure/internals/to-length.js');
-1 24874 var arraySpeciesCreate = __webpack_require__('./node_modules/core-js-pure/internals/array-species-create.js');
-1 24875 var push = [].push;
-1 24876 var createMethod = function createMethod(TYPE) {
-1 24877 var IS_MAP = TYPE == 1;
-1 24878 var IS_FILTER = TYPE == 2;
-1 24879 var IS_SOME = TYPE == 3;
-1 24880 var IS_EVERY = TYPE == 4;
-1 24881 var IS_FIND_INDEX = TYPE == 6;
-1 24882 var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;
-1 24883 return function($this, callbackfn, that, specificCreate) {
-1 24884 var O = toObject($this);
-1 24885 var self = IndexedObject(O);
-1 24886 var boundFunction = bind(callbackfn, that, 3);
-1 24887 var length = toLength(self.length);
-1 24888 var index = 0;
-1 24889 var create = specificCreate || arraySpeciesCreate;
-1 24890 var target = IS_MAP ? create($this, length) : IS_FILTER ? create($this, 0) : undefined;
-1 24891 var value, result;
-1 24892 for (;length > index; index++) {
-1 24893 if (NO_HOLES || index in self) {
-1 24894 value = self[index];
-1 24895 result = boundFunction(value, index, O);
-1 24896 if (TYPE) {
-1 24897 if (IS_MAP) {
-1 24898 target[index] = result;
-1 24899 } else if (result) {
-1 24900 switch (TYPE) {
-1 24901 case 3:
-1 24902 return true;
-1 24903
-1 24904 case 5:
-1 24905 return value;
-1 24906
-1 24907 case 6:
-1 24908 return index;
-1 24909
-1 24910 case 2:
-1 24911 push.call(target, value);
-1 24912 }
-1 24913 } else if (IS_EVERY) {
-1 24914 return false;
-1 24915 }
-1 24916 }
-1 24917 }
14347 24918 }
14348 -1 }
14349 -1 if (node.getAttribute('id')) {
14350 -1 var id = axe.utils.escapeSelector(node.getAttribute('id'));
14351 -1 var _doc = axe.commons.dom.getRootNode(node);
14352 -1 var candidate = _doc.querySelector('[aria-labelledby~=' + id + ']');
14353 -1 if (candidate && candidate.disabled) {
14354 -1 return false;
-1 24919 return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target;
-1 24920 };
-1 24921 };
-1 24922 module.exports = {
-1 24923 forEach: createMethod(0),
-1 24924 map: createMethod(1),
-1 24925 filter: createMethod(2),
-1 24926 some: createMethod(3),
-1 24927 every: createMethod(4),
-1 24928 find: createMethod(5),
-1 24929 findIndex: createMethod(6)
-1 24930 };
-1 24931 },
-1 24932 './node_modules/core-js-pure/internals/array-species-create.js': function node_modulesCoreJsPureInternalsArraySpeciesCreateJs(module, exports, __webpack_require__) {
-1 24933 var isObject = __webpack_require__('./node_modules/core-js-pure/internals/is-object.js');
-1 24934 var isArray = __webpack_require__('./node_modules/core-js-pure/internals/is-array.js');
-1 24935 var wellKnownSymbol = __webpack_require__('./node_modules/core-js-pure/internals/well-known-symbol.js');
-1 24936 var SPECIES = wellKnownSymbol('species');
-1 24937 module.exports = function(originalArray, length) {
-1 24938 var C;
-1 24939 if (isArray(originalArray)) {
-1 24940 C = originalArray.constructor;
-1 24941 if (typeof C == 'function' && (C === Array || isArray(C.prototype))) {
-1 24942 C = undefined;
-1 24943 } else if (isObject(C)) {
-1 24944 C = C[SPECIES];
-1 24945 if (C === null) {
-1 24946 C = undefined;
-1 24947 }
-1 24948 }
-1 24949 }
-1 24950 return new (C === undefined ? Array : C)(length === 0 ? 0 : length);
-1 24951 };
-1 24952 },
-1 24953 './node_modules/core-js-pure/internals/call-with-safe-iteration-closing.js': function node_modulesCoreJsPureInternalsCallWithSafeIterationClosingJs(module, exports, __webpack_require__) {
-1 24954 var anObject = __webpack_require__('./node_modules/core-js-pure/internals/an-object.js');
-1 24955 module.exports = function(iterator, fn, value, ENTRIES) {
-1 24956 try {
-1 24957 return ENTRIES ? fn(anObject(value)[0], value[1]) : fn(value);
-1 24958 } catch (error) {
-1 24959 var returnMethod = iterator['return'];
-1 24960 if (returnMethod !== undefined) {
-1 24961 anObject(returnMethod.call(iterator));
14355 24962 }
-1 24963 throw error;
14356 24964 }
14357 -1 if (axe.commons.text.visibleVirtual(virtualNode, false, true) === '') {
-1 24965 };
-1 24966 },
-1 24967 './node_modules/core-js-pure/internals/check-correctness-of-iteration.js': function node_modulesCoreJsPureInternalsCheckCorrectnessOfIterationJs(module, exports, __webpack_require__) {
-1 24968 var wellKnownSymbol = __webpack_require__('./node_modules/core-js-pure/internals/well-known-symbol.js');
-1 24969 var ITERATOR = wellKnownSymbol('iterator');
-1 24970 var SAFE_CLOSING = false;
-1 24971 try {
-1 24972 var called = 0;
-1 24973 var iteratorWithReturn = {
-1 24974 next: function next() {
-1 24975 return {
-1 24976 done: !!called++
-1 24977 };
-1 24978 },
-1 24979 return: function _return() {
-1 24980 SAFE_CLOSING = true;
-1 24981 }
-1 24982 };
-1 24983 iteratorWithReturn[ITERATOR] = function() {
-1 24984 return this;
-1 24985 };
-1 24986 Array.from(iteratorWithReturn, function() {
-1 24987 throw 2;
-1 24988 });
-1 24989 } catch (error) {}
-1 24990 module.exports = function(exec, SKIP_CLOSING) {
-1 24991 if (!SKIP_CLOSING && !SAFE_CLOSING) {
14358 24992 return false;
14359 24993 }
14360 -1 var range = document.createRange(), childNodes = virtualNode.children, length = childNodes.length, child, index;
14361 -1 for (index = 0; index < length; index++) {
14362 -1 child = childNodes[index];
14363 -1 if (child.actualNode.nodeType === 3 && axe.commons.text.sanitize(child.actualNode.nodeValue) !== '') {
14364 -1 range.selectNodeContents(child.actualNode);
-1 24994 var ITERATION_SUPPORT = false;
-1 24995 try {
-1 24996 var object = {};
-1 24997 object[ITERATOR] = function() {
-1 24998 return {
-1 24999 next: function next() {
-1 25000 return {
-1 25001 done: ITERATION_SUPPORT = true
-1 25002 };
-1 25003 }
-1 25004 };
-1 25005 };
-1 25006 exec(object);
-1 25007 } catch (error) {}
-1 25008 return ITERATION_SUPPORT;
-1 25009 };
-1 25010 },
-1 25011 './node_modules/core-js-pure/internals/classof-raw.js': function node_modulesCoreJsPureInternalsClassofRawJs(module, exports) {
-1 25012 var toString = {}.toString;
-1 25013 module.exports = function(it) {
-1 25014 return toString.call(it).slice(8, -1);
-1 25015 };
-1 25016 },
-1 25017 './node_modules/core-js-pure/internals/classof.js': function node_modulesCoreJsPureInternalsClassofJs(module, exports, __webpack_require__) {
-1 25018 var TO_STRING_TAG_SUPPORT = __webpack_require__('./node_modules/core-js-pure/internals/to-string-tag-support.js');
-1 25019 var classofRaw = __webpack_require__('./node_modules/core-js-pure/internals/classof-raw.js');
-1 25020 var wellKnownSymbol = __webpack_require__('./node_modules/core-js-pure/internals/well-known-symbol.js');
-1 25021 var TO_STRING_TAG = wellKnownSymbol('toStringTag');
-1 25022 var CORRECT_ARGUMENTS = classofRaw(function() {
-1 25023 return arguments;
-1 25024 }()) == 'Arguments';
-1 25025 var tryGet = function tryGet(it, key) {
-1 25026 try {
-1 25027 return it[key];
-1 25028 } catch (error) {}
-1 25029 };
-1 25030 module.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function(it) {
-1 25031 var O, tag, result;
-1 25032 return it === undefined ? 'Undefined' : it === null ? 'Null' : typeof (tag = tryGet(O = Object(it), TO_STRING_TAG)) == 'string' ? tag : CORRECT_ARGUMENTS ? classofRaw(O) : (result = classofRaw(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : result;
-1 25033 };
-1 25034 },
-1 25035 './node_modules/core-js-pure/internals/collection-weak.js': function node_modulesCoreJsPureInternalsCollectionWeakJs(module, exports, __webpack_require__) {
-1 25036 'use strict';
-1 25037 var redefineAll = __webpack_require__('./node_modules/core-js-pure/internals/redefine-all.js');
-1 25038 var getWeakData = __webpack_require__('./node_modules/core-js-pure/internals/internal-metadata.js').getWeakData;
-1 25039 var anObject = __webpack_require__('./node_modules/core-js-pure/internals/an-object.js');
-1 25040 var isObject = __webpack_require__('./node_modules/core-js-pure/internals/is-object.js');
-1 25041 var anInstance = __webpack_require__('./node_modules/core-js-pure/internals/an-instance.js');
-1 25042 var iterate = __webpack_require__('./node_modules/core-js-pure/internals/iterate.js');
-1 25043 var ArrayIterationModule = __webpack_require__('./node_modules/core-js-pure/internals/array-iteration.js');
-1 25044 var $has = __webpack_require__('./node_modules/core-js-pure/internals/has.js');
-1 25045 var InternalStateModule = __webpack_require__('./node_modules/core-js-pure/internals/internal-state.js');
-1 25046 var setInternalState = InternalStateModule.set;
-1 25047 var internalStateGetterFor = InternalStateModule.getterFor;
-1 25048 var find = ArrayIterationModule.find;
-1 25049 var findIndex = ArrayIterationModule.findIndex;
-1 25050 var id = 0;
-1 25051 var uncaughtFrozenStore = function uncaughtFrozenStore(store) {
-1 25052 return store.frozen || (store.frozen = new UncaughtFrozenStore());
-1 25053 };
-1 25054 var UncaughtFrozenStore = function UncaughtFrozenStore() {
-1 25055 this.entries = [];
-1 25056 };
-1 25057 var findUncaughtFrozen = function findUncaughtFrozen(store, key) {
-1 25058 return find(store.entries, function(it) {
-1 25059 return it[0] === key;
-1 25060 });
-1 25061 };
-1 25062 UncaughtFrozenStore.prototype = {
-1 25063 get: function get(key) {
-1 25064 var entry = findUncaughtFrozen(this, key);
-1 25065 if (entry) {
-1 25066 return entry[1];
14365 25067 }
14366 -1 }
14367 -1 var rects = range.getClientRects();
14368 -1 length = rects.length;
14369 -1 for (index = 0; index < length; index++) {
14370 -1 if (axe.commons.dom.visuallyOverlaps(rects[index], node)) {
14371 -1 return true;
-1 25068 },
-1 25069 has: function has(key) {
-1 25070 return !!findUncaughtFrozen(this, key);
-1 25071 },
-1 25072 set: function set(key, value) {
-1 25073 var entry = findUncaughtFrozen(this, key);
-1 25074 if (entry) {
-1 25075 entry[1] = value;
-1 25076 } else {
-1 25077 this.entries.push([ key, value ]);
-1 25078 }
-1 25079 },
-1 25080 delete: function _delete(key) {
-1 25081 var index = findIndex(this.entries, function(it) {
-1 25082 return it[0] === key;
-1 25083 });
-1 25084 if (~index) {
-1 25085 this.entries.splice(index, 1);
14372 25086 }
-1 25087 return !!~index;
14373 25088 }
14374 -1 return false;
14375 -1 },
14376 -1 excludeHidden: false,
14377 -1 options: {
14378 -1 noScroll: false
14379 -1 },
14380 -1 tags: [ 'cat.color', 'wcag2aa', 'wcag143' ],
14381 -1 all: [],
14382 -1 any: [ 'color-contrast' ],
14383 -1 none: []
14384 -1 }, {
14385 -1 id: 'css-orientation-lock',
14386 -1 selector: 'html',
14387 -1 tags: [ 'cat.structure', 'wcag134', 'wcag21aa', 'experimental' ],
14388 -1 all: [ 'css-orientation-lock' ],
14389 -1 any: [],
14390 -1 none: [],
14391 -1 preload: true
14392 -1 }, {
14393 -1 id: 'definition-list',
14394 -1 selector: 'dl',
14395 -1 matches: function matches(node, virtualNode, context) {
14396 -1 return !node.getAttribute('role');
14397 -1 },
14398 -1 tags: [ 'cat.structure', 'wcag2a', 'wcag131' ],
14399 -1 all: [],
14400 -1 any: [],
14401 -1 none: [ 'structured-dlitems', 'only-dlitems' ]
14402 -1 }, {
14403 -1 id: 'dlitem',
14404 -1 selector: 'dd, dt',
14405 -1 matches: function matches(node, virtualNode, context) {
14406 -1 return !node.getAttribute('role');
14407 -1 },
14408 -1 tags: [ 'cat.structure', 'wcag2a', 'wcag131' ],
14409 -1 all: [],
14410 -1 any: [ 'dlitem' ],
14411 -1 none: []
14412 -1 }, {
14413 -1 id: 'document-title',
14414 -1 selector: 'html',
14415 -1 matches: function matches(node, virtualNode, context) {
14416 -1 return node.ownerDocument.defaultView.self === node.ownerDocument.defaultView.top;
14417 -1 },
14418 -1 tags: [ 'cat.text-alternatives', 'wcag2a', 'wcag242' ],
14419 -1 all: [],
14420 -1 any: [ 'doc-has-title' ],
14421 -1 none: []
14422 -1 }, {
14423 -1 id: 'duplicate-id-active',
14424 -1 selector: '[id]',
14425 -1 matches: function matches(node, virtualNode, context) {
14426 -1 var _axe$commons2 = axe.commons, dom = _axe$commons2.dom, aria = _axe$commons2.aria;
14427 -1 var id = node.getAttribute('id').trim();
14428 -1 var idSelector = '*[id="' + axe.utils.escapeSelector(id) + '"]';
14429 -1 var idMatchingElms = Array.from(dom.getRootNode(node).querySelectorAll(idSelector));
14430 -1 return idMatchingElms.some(dom.isFocusable) && !aria.isAccessibleRef(node);
14431 -1 },
14432 -1 excludeHidden: false,
14433 -1 tags: [ 'cat.parsing', 'wcag2a', 'wcag411' ],
14434 -1 all: [],
14435 -1 any: [ 'duplicate-id-active' ],
14436 -1 none: []
14437 -1 }, {
14438 -1 id: 'duplicate-id-aria',
14439 -1 selector: '[id]',
14440 -1 matches: function matches(node, virtualNode, context) {
14441 -1 return axe.commons.aria.isAccessibleRef(node);
14442 -1 },
14443 -1 excludeHidden: false,
14444 -1 tags: [ 'cat.parsing', 'wcag2a', 'wcag411' ],
14445 -1 all: [],
14446 -1 any: [ 'duplicate-id-aria' ],
14447 -1 none: []
14448 -1 }, {
14449 -1 id: 'duplicate-id',
14450 -1 selector: '[id]',
14451 -1 matches: function matches(node, virtualNode, context) {
14452 -1 var _axe$commons3 = axe.commons, dom = _axe$commons3.dom, aria = _axe$commons3.aria;
14453 -1 var id = node.getAttribute('id').trim();
14454 -1 var idSelector = '*[id="' + axe.utils.escapeSelector(id) + '"]';
14455 -1 var idMatchingElms = Array.from(dom.getRootNode(node).querySelectorAll(idSelector));
14456 -1 return idMatchingElms.every(function(elm) {
14457 -1 return !dom.isFocusable(elm);
14458 -1 }) && !aria.isAccessibleRef(node);
14459 -1 },
14460 -1 excludeHidden: false,
14461 -1 tags: [ 'cat.parsing', 'wcag2a', 'wcag411' ],
14462 -1 all: [],
14463 -1 any: [ 'duplicate-id' ],
14464 -1 none: []
14465 -1 }, {
14466 -1 id: 'empty-heading',
14467 -1 selector: 'h1, h2, h3, h4, h5, h6, [role="heading"]',
14468 -1 matches: function matches(node, virtualNode, context) {
14469 -1 var explicitRoles = void 0;
14470 -1 if (node.hasAttribute('role')) {
14471 -1 explicitRoles = node.getAttribute('role').split(/\s+/i).filter(axe.commons.aria.isValidRole);
-1 25089 };
-1 25090 module.exports = {
-1 25091 getConstructor: function getConstructor(wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER) {
-1 25092 var C = wrapper(function(that, iterable) {
-1 25093 anInstance(that, C, CONSTRUCTOR_NAME);
-1 25094 setInternalState(that, {
-1 25095 type: CONSTRUCTOR_NAME,
-1 25096 id: id++,
-1 25097 frozen: undefined
-1 25098 });
-1 25099 if (iterable != undefined) {
-1 25100 iterate(iterable, that[ADDER], that, IS_MAP);
-1 25101 }
-1 25102 });
-1 25103 var getInternalState = internalStateGetterFor(CONSTRUCTOR_NAME);
-1 25104 var define = function define(that, key, value) {
-1 25105 var state = getInternalState(that);
-1 25106 var data = getWeakData(anObject(key), true);
-1 25107 if (data === true) {
-1 25108 uncaughtFrozenStore(state).set(key, value);
-1 25109 } else {
-1 25110 data[state.id] = value;
-1 25111 }
-1 25112 return that;
-1 25113 };
-1 25114 redefineAll(C.prototype, {
-1 25115 delete: function _delete(key) {
-1 25116 var state = getInternalState(this);
-1 25117 if (!isObject(key)) {
-1 25118 return false;
-1 25119 }
-1 25120 var data = getWeakData(key);
-1 25121 if (data === true) {
-1 25122 return uncaughtFrozenStore(state)['delete'](key);
-1 25123 }
-1 25124 return data && $has(data, state.id) && delete data[state.id];
-1 25125 },
-1 25126 has: function has(key) {
-1 25127 var state = getInternalState(this);
-1 25128 if (!isObject(key)) {
-1 25129 return false;
-1 25130 }
-1 25131 var data = getWeakData(key);
-1 25132 if (data === true) {
-1 25133 return uncaughtFrozenStore(state).has(key);
-1 25134 }
-1 25135 return data && $has(data, state.id);
-1 25136 }
-1 25137 });
-1 25138 redefineAll(C.prototype, IS_MAP ? {
-1 25139 get: function get(key) {
-1 25140 var state = getInternalState(this);
-1 25141 if (isObject(key)) {
-1 25142 var data = getWeakData(key);
-1 25143 if (data === true) {
-1 25144 return uncaughtFrozenStore(state).get(key);
-1 25145 }
-1 25146 return data ? data[state.id] : undefined;
-1 25147 }
-1 25148 },
-1 25149 set: function set(key, value) {
-1 25150 return define(this, key, value);
-1 25151 }
-1 25152 } : {
-1 25153 add: function add(value) {
-1 25154 return define(this, value, true);
-1 25155 }
-1 25156 });
-1 25157 return C;
14472 25158 }
14473 -1 if (explicitRoles && explicitRoles.length > 0) {
14474 -1 return explicitRoles.includes('heading');
-1 25159 };
-1 25160 },
-1 25161 './node_modules/core-js-pure/internals/collection.js': function node_modulesCoreJsPureInternalsCollectionJs(module, exports, __webpack_require__) {
-1 25162 'use strict';
-1 25163 var $ = __webpack_require__('./node_modules/core-js-pure/internals/export.js');
-1 25164 var global = __webpack_require__('./node_modules/core-js-pure/internals/global.js');
-1 25165 var InternalMetadataModule = __webpack_require__('./node_modules/core-js-pure/internals/internal-metadata.js');
-1 25166 var fails = __webpack_require__('./node_modules/core-js-pure/internals/fails.js');
-1 25167 var createNonEnumerableProperty = __webpack_require__('./node_modules/core-js-pure/internals/create-non-enumerable-property.js');
-1 25168 var iterate = __webpack_require__('./node_modules/core-js-pure/internals/iterate.js');
-1 25169 var anInstance = __webpack_require__('./node_modules/core-js-pure/internals/an-instance.js');
-1 25170 var isObject = __webpack_require__('./node_modules/core-js-pure/internals/is-object.js');
-1 25171 var setToStringTag = __webpack_require__('./node_modules/core-js-pure/internals/set-to-string-tag.js');
-1 25172 var defineProperty = __webpack_require__('./node_modules/core-js-pure/internals/object-define-property.js').f;
-1 25173 var forEach = __webpack_require__('./node_modules/core-js-pure/internals/array-iteration.js').forEach;
-1 25174 var DESCRIPTORS = __webpack_require__('./node_modules/core-js-pure/internals/descriptors.js');
-1 25175 var InternalStateModule = __webpack_require__('./node_modules/core-js-pure/internals/internal-state.js');
-1 25176 var setInternalState = InternalStateModule.set;
-1 25177 var internalStateGetterFor = InternalStateModule.getterFor;
-1 25178 module.exports = function(CONSTRUCTOR_NAME, wrapper, common) {
-1 25179 var IS_MAP = CONSTRUCTOR_NAME.indexOf('Map') !== -1;
-1 25180 var IS_WEAK = CONSTRUCTOR_NAME.indexOf('Weak') !== -1;
-1 25181 var ADDER = IS_MAP ? 'set' : 'add';
-1 25182 var NativeConstructor = global[CONSTRUCTOR_NAME];
-1 25183 var NativePrototype = NativeConstructor && NativeConstructor.prototype;
-1 25184 var exported = {};
-1 25185 var Constructor;
-1 25186 if (!DESCRIPTORS || typeof NativeConstructor != 'function' || !(IS_WEAK || NativePrototype.forEach && !fails(function() {
-1 25187 new NativeConstructor().entries().next();
-1 25188 }))) {
-1 25189 Constructor = common.getConstructor(wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER);
-1 25190 InternalMetadataModule.REQUIRED = true;
14475 25191 } else {
14476 -1 return axe.commons.aria.implicitRole(node) === 'heading';
14477 -1 }
14478 -1 },
14479 -1 tags: [ 'cat.name-role-value', 'best-practice' ],
14480 -1 all: [],
14481 -1 any: [ 'has-visible-text' ],
14482 -1 none: []
14483 -1 }, {
14484 -1 id: 'focus-order-semantics',
14485 -1 selector: 'div, h1, h2, h3, h4, h5, h6, [role=heading], p, span',
14486 -1 matches: function matches(node, virtualNode, context) {
14487 -1 return axe.commons.dom.insertedIntoFocusOrder(node);
14488 -1 },
14489 -1 tags: [ 'cat.keyboard', 'best-practice', 'experimental' ],
14490 -1 all: [],
14491 -1 any: [ {
14492 -1 options: [],
14493 -1 id: 'has-widget-role'
14494 -1 }, {
14495 -1 options: [],
14496 -1 id: 'valid-scrollable-semantics'
14497 -1 } ],
14498 -1 none: []
14499 -1 }, {
14500 -1 id: 'form-field-multiple-labels',
14501 -1 selector: 'input, select, textarea',
14502 -1 matches: function matches(node, virtualNode, context) {
14503 -1 if (node.nodeName.toLowerCase() !== 'input' || node.hasAttribute('type') === false) {
14504 -1 return true;
-1 25192 Constructor = wrapper(function(target, iterable) {
-1 25193 setInternalState(anInstance(target, Constructor, CONSTRUCTOR_NAME), {
-1 25194 type: CONSTRUCTOR_NAME,
-1 25195 collection: new NativeConstructor()
-1 25196 });
-1 25197 if (iterable != undefined) {
-1 25198 iterate(iterable, target[ADDER], target, IS_MAP);
-1 25199 }
-1 25200 });
-1 25201 var getInternalState = internalStateGetterFor(CONSTRUCTOR_NAME);
-1 25202 forEach([ 'add', 'clear', 'delete', 'forEach', 'get', 'has', 'set', 'keys', 'values', 'entries' ], function(KEY) {
-1 25203 var IS_ADDER = KEY == 'add' || KEY == 'set';
-1 25204 if (KEY in NativePrototype && !(IS_WEAK && KEY == 'clear')) {
-1 25205 createNonEnumerableProperty(Constructor.prototype, KEY, function(a, b) {
-1 25206 var collection = getInternalState(this).collection;
-1 25207 if (!IS_ADDER && IS_WEAK && !isObject(a)) {
-1 25208 return KEY == 'get' ? undefined : false;
-1 25209 }
-1 25210 var result = collection[KEY](a === 0 ? 0 : a, b);
-1 25211 return IS_ADDER ? this : result;
-1 25212 });
-1 25213 }
-1 25214 });
-1 25215 IS_WEAK || defineProperty(Constructor.prototype, 'size', {
-1 25216 configurable: true,
-1 25217 get: function get() {
-1 25218 return getInternalState(this).collection.size;
-1 25219 }
-1 25220 });
14505 25221 }
14506 -1 var type = node.getAttribute('type').toLowerCase();
14507 -1 return [ 'hidden', 'image', 'button', 'submit', 'reset' ].includes(type) === false;
14508 -1 },
14509 -1 tags: [ 'cat.forms', 'wcag2a', 'wcag332' ],
14510 -1 all: [],
14511 -1 any: [],
14512 -1 none: [ 'multiple-label' ]
14513 -1 }, {
14514 -1 id: 'frame-tested',
14515 -1 selector: 'frame, iframe',
14516 -1 tags: [ 'cat.structure', 'review-item', 'best-practice' ],
14517 -1 all: [ {
14518 -1 options: {
14519 -1 isViolation: false
14520 -1 },
14521 -1 id: 'frame-tested'
14522 -1 } ],
14523 -1 any: [],
14524 -1 none: []
14525 -1 }, {
14526 -1 id: 'frame-title-unique',
14527 -1 selector: 'frame[title], iframe[title]',
14528 -1 matches: function matches(node, virtualNode, context) {
14529 -1 var title = node.getAttribute('title');
14530 -1 return !!(title ? axe.commons.text.sanitize(title).trim() : '');
14531 -1 },
14532 -1 tags: [ 'cat.text-alternatives', 'best-practice' ],
14533 -1 all: [],
14534 -1 any: [],
14535 -1 none: [ 'unique-frame-title' ]
14536 -1 }, {
14537 -1 id: 'frame-title',
14538 -1 selector: 'frame, iframe',
14539 -1 tags: [ 'cat.text-alternatives', 'wcag2a', 'wcag241', 'wcag412', 'section508', 'section508.22.i' ],
14540 -1 all: [],
14541 -1 any: [ 'aria-label', 'aria-labelledby', 'non-empty-title', 'role-presentation', 'role-none' ],
14542 -1 none: []
14543 -1 }, {
14544 -1 id: 'heading-order',
14545 -1 selector: 'h1, h2, h3, h4, h5, h6, [role=heading]',
14546 -1 matches: function matches(node, virtualNode, context) {
14547 -1 var explicitRoles = void 0;
14548 -1 if (node.hasAttribute('role')) {
14549 -1 explicitRoles = node.getAttribute('role').split(/\s+/i).filter(axe.commons.aria.isValidRole);
-1 25222 setToStringTag(Constructor, CONSTRUCTOR_NAME, false, true);
-1 25223 exported[CONSTRUCTOR_NAME] = Constructor;
-1 25224 $({
-1 25225 global: true,
-1 25226 forced: true
-1 25227 }, exported);
-1 25228 if (!IS_WEAK) {
-1 25229 common.setStrong(Constructor, CONSTRUCTOR_NAME, IS_MAP);
14550 25230 }
14551 -1 if (explicitRoles && explicitRoles.length > 0) {
14552 -1 return explicitRoles.includes('heading');
14553 -1 } else {
14554 -1 return axe.commons.aria.implicitRole(node) === 'heading';
-1 25231 return Constructor;
-1 25232 };
-1 25233 },
-1 25234 './node_modules/core-js-pure/internals/correct-prototype-getter.js': function node_modulesCoreJsPureInternalsCorrectPrototypeGetterJs(module, exports, __webpack_require__) {
-1 25235 var fails = __webpack_require__('./node_modules/core-js-pure/internals/fails.js');
-1 25236 module.exports = !fails(function() {
-1 25237 function F() {}
-1 25238 F.prototype.constructor = null;
-1 25239 return Object.getPrototypeOf(new F()) !== F.prototype;
-1 25240 });
-1 25241 },
-1 25242 './node_modules/core-js-pure/internals/create-iterator-constructor.js': function node_modulesCoreJsPureInternalsCreateIteratorConstructorJs(module, exports, __webpack_require__) {
-1 25243 'use strict';
-1 25244 var IteratorPrototype = __webpack_require__('./node_modules/core-js-pure/internals/iterators-core.js').IteratorPrototype;
-1 25245 var create = __webpack_require__('./node_modules/core-js-pure/internals/object-create.js');
-1 25246 var createPropertyDescriptor = __webpack_require__('./node_modules/core-js-pure/internals/create-property-descriptor.js');
-1 25247 var setToStringTag = __webpack_require__('./node_modules/core-js-pure/internals/set-to-string-tag.js');
-1 25248 var Iterators = __webpack_require__('./node_modules/core-js-pure/internals/iterators.js');
-1 25249 var returnThis = function returnThis() {
-1 25250 return this;
-1 25251 };
-1 25252 module.exports = function(IteratorConstructor, NAME, next) {
-1 25253 var TO_STRING_TAG = NAME + ' Iterator';
-1 25254 IteratorConstructor.prototype = create(IteratorPrototype, {
-1 25255 next: createPropertyDescriptor(1, next)
-1 25256 });
-1 25257 setToStringTag(IteratorConstructor, TO_STRING_TAG, false, true);
-1 25258 Iterators[TO_STRING_TAG] = returnThis;
-1 25259 return IteratorConstructor;
-1 25260 };
-1 25261 },
-1 25262 './node_modules/core-js-pure/internals/create-non-enumerable-property.js': function node_modulesCoreJsPureInternalsCreateNonEnumerablePropertyJs(module, exports, __webpack_require__) {
-1 25263 var DESCRIPTORS = __webpack_require__('./node_modules/core-js-pure/internals/descriptors.js');
-1 25264 var definePropertyModule = __webpack_require__('./node_modules/core-js-pure/internals/object-define-property.js');
-1 25265 var createPropertyDescriptor = __webpack_require__('./node_modules/core-js-pure/internals/create-property-descriptor.js');
-1 25266 module.exports = DESCRIPTORS ? function(object, key, value) {
-1 25267 return definePropertyModule.f(object, key, createPropertyDescriptor(1, value));
-1 25268 } : function(object, key, value) {
-1 25269 object[key] = value;
-1 25270 return object;
-1 25271 };
-1 25272 },
-1 25273 './node_modules/core-js-pure/internals/create-property-descriptor.js': function node_modulesCoreJsPureInternalsCreatePropertyDescriptorJs(module, exports) {
-1 25274 module.exports = function(bitmap, value) {
-1 25275 return {
-1 25276 enumerable: !(bitmap & 1),
-1 25277 configurable: !(bitmap & 2),
-1 25278 writable: !(bitmap & 4),
-1 25279 value: value
-1 25280 };
-1 25281 };
-1 25282 },
-1 25283 './node_modules/core-js-pure/internals/define-iterator.js': function node_modulesCoreJsPureInternalsDefineIteratorJs(module, exports, __webpack_require__) {
-1 25284 'use strict';
-1 25285 var $ = __webpack_require__('./node_modules/core-js-pure/internals/export.js');
-1 25286 var createIteratorConstructor = __webpack_require__('./node_modules/core-js-pure/internals/create-iterator-constructor.js');
-1 25287 var getPrototypeOf = __webpack_require__('./node_modules/core-js-pure/internals/object-get-prototype-of.js');
-1 25288 var setPrototypeOf = __webpack_require__('./node_modules/core-js-pure/internals/object-set-prototype-of.js');
-1 25289 var setToStringTag = __webpack_require__('./node_modules/core-js-pure/internals/set-to-string-tag.js');
-1 25290 var createNonEnumerableProperty = __webpack_require__('./node_modules/core-js-pure/internals/create-non-enumerable-property.js');
-1 25291 var redefine = __webpack_require__('./node_modules/core-js-pure/internals/redefine.js');
-1 25292 var wellKnownSymbol = __webpack_require__('./node_modules/core-js-pure/internals/well-known-symbol.js');
-1 25293 var IS_PURE = __webpack_require__('./node_modules/core-js-pure/internals/is-pure.js');
-1 25294 var Iterators = __webpack_require__('./node_modules/core-js-pure/internals/iterators.js');
-1 25295 var IteratorsCore = __webpack_require__('./node_modules/core-js-pure/internals/iterators-core.js');
-1 25296 var IteratorPrototype = IteratorsCore.IteratorPrototype;
-1 25297 var BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS;
-1 25298 var ITERATOR = wellKnownSymbol('iterator');
-1 25299 var KEYS = 'keys';
-1 25300 var VALUES = 'values';
-1 25301 var ENTRIES = 'entries';
-1 25302 var returnThis = function returnThis() {
-1 25303 return this;
-1 25304 };
-1 25305 module.exports = function(Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) {
-1 25306 createIteratorConstructor(IteratorConstructor, NAME, next);
-1 25307 var getIterationMethod = function getIterationMethod(KIND) {
-1 25308 if (KIND === DEFAULT && defaultIterator) {
-1 25309 return defaultIterator;
-1 25310 }
-1 25311 if (!BUGGY_SAFARI_ITERATORS && KIND in IterablePrototype) {
-1 25312 return IterablePrototype[KIND];
-1 25313 }
-1 25314 switch (KIND) {
-1 25315 case KEYS:
-1 25316 return function keys() {
-1 25317 return new IteratorConstructor(this, KIND);
-1 25318 };
-1 25319
-1 25320 case VALUES:
-1 25321 return function values() {
-1 25322 return new IteratorConstructor(this, KIND);
-1 25323 };
-1 25324
-1 25325 case ENTRIES:
-1 25326 return function entries() {
-1 25327 return new IteratorConstructor(this, KIND);
-1 25328 };
-1 25329 }
-1 25330 return function() {
-1 25331 return new IteratorConstructor(this);
-1 25332 };
-1 25333 };
-1 25334 var TO_STRING_TAG = NAME + ' Iterator';
-1 25335 var INCORRECT_VALUES_NAME = false;
-1 25336 var IterablePrototype = Iterable.prototype;
-1 25337 var nativeIterator = IterablePrototype[ITERATOR] || IterablePrototype['@@iterator'] || DEFAULT && IterablePrototype[DEFAULT];
-1 25338 var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT);
-1 25339 var anyNativeIterator = NAME == 'Array' ? IterablePrototype.entries || nativeIterator : nativeIterator;
-1 25340 var CurrentIteratorPrototype, methods, KEY;
-1 25341 if (anyNativeIterator) {
-1 25342 CurrentIteratorPrototype = getPrototypeOf(anyNativeIterator.call(new Iterable()));
-1 25343 if (IteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) {
-1 25344 if (!IS_PURE && getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) {
-1 25345 if (setPrototypeOf) {
-1 25346 setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype);
-1 25347 } else if (typeof CurrentIteratorPrototype[ITERATOR] != 'function') {
-1 25348 createNonEnumerableProperty(CurrentIteratorPrototype, ITERATOR, returnThis);
-1 25349 }
-1 25350 }
-1 25351 setToStringTag(CurrentIteratorPrototype, TO_STRING_TAG, true, true);
-1 25352 if (IS_PURE) {
-1 25353 Iterators[TO_STRING_TAG] = returnThis;
-1 25354 }
-1 25355 }
14555 25356 }
14556 -1 },
14557 -1 tags: [ 'cat.semantics', 'best-practice' ],
14558 -1 all: [],
14559 -1 any: [ 'heading-order' ],
14560 -1 none: []
14561 -1 }, {
14562 -1 id: 'hidden-content',
14563 -1 selector: '*',
14564 -1 excludeHidden: false,
14565 -1 tags: [ 'cat.structure', 'experimental', 'review-item', 'best-practice' ],
14566 -1 all: [],
14567 -1 any: [ 'hidden-content' ],
14568 -1 none: []
14569 -1 }, {
14570 -1 id: 'html-has-lang',
14571 -1 selector: 'html',
14572 -1 tags: [ 'cat.language', 'wcag2a', 'wcag311' ],
14573 -1 all: [],
14574 -1 any: [ 'has-lang' ],
14575 -1 none: []
14576 -1 }, {
14577 -1 id: 'html-lang-valid',
14578 -1 selector: 'html[lang], html[xml\\:lang]',
14579 -1 tags: [ 'cat.language', 'wcag2a', 'wcag311' ],
14580 -1 all: [],
14581 -1 any: [],
14582 -1 none: [ 'valid-lang' ]
14583 -1 }, {
14584 -1 id: 'html-xml-lang-mismatch',
14585 -1 selector: 'html[lang][xml\\:lang]',
14586 -1 matches: function matches(node, virtualNode, context) {
14587 -1 var getBaseLang = axe.utils.getBaseLang;
14588 -1 var primaryLangValue = getBaseLang(node.getAttribute('lang'));
14589 -1 var primaryXmlLangValue = getBaseLang(node.getAttribute('xml:lang'));
14590 -1 return axe.utils.validLangs().includes(primaryLangValue) && axe.utils.validLangs().includes(primaryXmlLangValue);
14591 -1 },
14592 -1 tags: [ 'cat.language', 'wcag2a', 'wcag311' ],
14593 -1 all: [ 'xml-lang-mismatch' ],
14594 -1 any: [],
14595 -1 none: []
14596 -1 }, {
14597 -1 id: 'image-alt',
14598 -1 selector: 'img, [role=\'img\']:not(svg)',
14599 -1 tags: [ 'cat.text-alternatives', 'wcag2a', 'wcag111', 'section508', 'section508.22.a' ],
14600 -1 all: [],
14601 -1 any: [ 'has-alt', 'aria-label', 'aria-labelledby', 'non-empty-title', 'role-presentation', 'role-none' ],
14602 -1 none: [ 'alt-space-value' ]
14603 -1 }, {
14604 -1 id: 'image-redundant-alt',
14605 -1 selector: 'button, [role="button"], a[href], p, li, td, th',
14606 -1 tags: [ 'cat.text-alternatives', 'best-practice' ],
14607 -1 all: [],
14608 -1 any: [],
14609 -1 none: [ 'duplicate-img-label' ]
14610 -1 }, {
14611 -1 id: 'input-image-alt',
14612 -1 selector: 'input[type="image"]',
14613 -1 tags: [ 'cat.text-alternatives', 'wcag2a', 'wcag111', 'section508', 'section508.22.a' ],
14614 -1 all: [],
14615 -1 any: [ 'non-empty-alt', 'aria-label', 'aria-labelledby', 'non-empty-title' ],
14616 -1 none: []
14617 -1 }, {
14618 -1 id: 'label-content-name-mismatch',
14619 -1 matches: function matches(node, virtualNode, context) {
14620 -1 var _axe$commons4 = axe.commons, aria = _axe$commons4.aria, text = _axe$commons4.text;
14621 -1 var role = aria.getRole(node);
14622 -1 if (!role) {
14623 -1 return false;
-1 25357 if (DEFAULT == VALUES && nativeIterator && nativeIterator.name !== VALUES) {
-1 25358 INCORRECT_VALUES_NAME = true;
-1 25359 defaultIterator = function values() {
-1 25360 return nativeIterator.call(this);
-1 25361 };
14624 25362 }
14625 -1 var isWidgetType = aria.lookupTable.rolesOfType.widget.includes(role);
14626 -1 if (!isWidgetType) {
14627 -1 return false;
-1 25363 if ((!IS_PURE || FORCED) && IterablePrototype[ITERATOR] !== defaultIterator) {
-1 25364 createNonEnumerableProperty(IterablePrototype, ITERATOR, defaultIterator);
14628 25365 }
14629 -1 var rolesWithNameFromContents = aria.getRolesWithNameFromContents();
14630 -1 if (!rolesWithNameFromContents.includes(role)) {
14631 -1 return false;
-1 25366 Iterators[NAME] = defaultIterator;
-1 25367 if (DEFAULT) {
-1 25368 methods = {
-1 25369 values: getIterationMethod(VALUES),
-1 25370 keys: IS_SET ? defaultIterator : getIterationMethod(KEYS),
-1 25371 entries: getIterationMethod(ENTRIES)
-1 25372 };
-1 25373 if (FORCED) {
-1 25374 for (KEY in methods) {
-1 25375 if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {
-1 25376 redefine(IterablePrototype, KEY, methods[KEY]);
-1 25377 }
-1 25378 }
-1 25379 } else {
-1 25380 $({
-1 25381 target: NAME,
-1 25382 proto: true,
-1 25383 forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME
-1 25384 }, methods);
-1 25385 }
14632 25386 }
14633 -1 if (!text.sanitize(aria.arialabelText(node)) && !text.sanitize(aria.arialabelledbyText(node))) {
14634 -1 return false;
-1 25387 return methods;
-1 25388 };
-1 25389 },
-1 25390 './node_modules/core-js-pure/internals/descriptors.js': function node_modulesCoreJsPureInternalsDescriptorsJs(module, exports, __webpack_require__) {
-1 25391 var fails = __webpack_require__('./node_modules/core-js-pure/internals/fails.js');
-1 25392 module.exports = !fails(function() {
-1 25393 return Object.defineProperty({}, 1, {
-1 25394 get: function get() {
-1 25395 return 7;
-1 25396 }
-1 25397 })[1] != 7;
-1 25398 });
-1 25399 },
-1 25400 './node_modules/core-js-pure/internals/document-create-element.js': function node_modulesCoreJsPureInternalsDocumentCreateElementJs(module, exports, __webpack_require__) {
-1 25401 var global = __webpack_require__('./node_modules/core-js-pure/internals/global.js');
-1 25402 var isObject = __webpack_require__('./node_modules/core-js-pure/internals/is-object.js');
-1 25403 var document = global.document;
-1 25404 var EXISTS = isObject(document) && isObject(document.createElement);
-1 25405 module.exports = function(it) {
-1 25406 return EXISTS ? document.createElement(it) : {};
-1 25407 };
-1 25408 },
-1 25409 './node_modules/core-js-pure/internals/dom-iterables.js': function node_modulesCoreJsPureInternalsDomIterablesJs(module, exports) {
-1 25410 module.exports = {
-1 25411 CSSRuleList: 0,
-1 25412 CSSStyleDeclaration: 0,
-1 25413 CSSValueList: 0,
-1 25414 ClientRectList: 0,
-1 25415 DOMRectList: 0,
-1 25416 DOMStringList: 0,
-1 25417 DOMTokenList: 1,
-1 25418 DataTransferItemList: 0,
-1 25419 FileList: 0,
-1 25420 HTMLAllCollection: 0,
-1 25421 HTMLCollection: 0,
-1 25422 HTMLFormElement: 0,
-1 25423 HTMLSelectElement: 0,
-1 25424 MediaList: 0,
-1 25425 MimeTypeArray: 0,
-1 25426 NamedNodeMap: 0,
-1 25427 NodeList: 1,
-1 25428 PaintRequestList: 0,
-1 25429 Plugin: 0,
-1 25430 PluginArray: 0,
-1 25431 SVGLengthList: 0,
-1 25432 SVGNumberList: 0,
-1 25433 SVGPathSegList: 0,
-1 25434 SVGPointList: 0,
-1 25435 SVGStringList: 0,
-1 25436 SVGTransformList: 0,
-1 25437 SourceBufferList: 0,
-1 25438 StyleSheetList: 0,
-1 25439 TextTrackCueList: 0,
-1 25440 TextTrackList: 0,
-1 25441 TouchList: 0
-1 25442 };
-1 25443 },
-1 25444 './node_modules/core-js-pure/internals/engine-is-ios.js': function node_modulesCoreJsPureInternalsEngineIsIosJs(module, exports, __webpack_require__) {
-1 25445 var userAgent = __webpack_require__('./node_modules/core-js-pure/internals/engine-user-agent.js');
-1 25446 module.exports = /(iphone|ipod|ipad).*applewebkit/i.test(userAgent);
-1 25447 },
-1 25448 './node_modules/core-js-pure/internals/engine-user-agent.js': function node_modulesCoreJsPureInternalsEngineUserAgentJs(module, exports, __webpack_require__) {
-1 25449 var getBuiltIn = __webpack_require__('./node_modules/core-js-pure/internals/get-built-in.js');
-1 25450 module.exports = getBuiltIn('navigator', 'userAgent') || '';
-1 25451 },
-1 25452 './node_modules/core-js-pure/internals/engine-v8-version.js': function node_modulesCoreJsPureInternalsEngineV8VersionJs(module, exports, __webpack_require__) {
-1 25453 var global = __webpack_require__('./node_modules/core-js-pure/internals/global.js');
-1 25454 var userAgent = __webpack_require__('./node_modules/core-js-pure/internals/engine-user-agent.js');
-1 25455 var process = global.process;
-1 25456 var versions = process && process.versions;
-1 25457 var v8 = versions && versions.v8;
-1 25458 var match, version;
-1 25459 if (v8) {
-1 25460 match = v8.split('.');
-1 25461 version = match[0] + match[1];
-1 25462 } else if (userAgent) {
-1 25463 match = userAgent.match(/Edge\/(\d+)/);
-1 25464 if (!match || match[1] >= 74) {
-1 25465 match = userAgent.match(/Chrome\/(\d+)/);
-1 25466 if (match) {
-1 25467 version = match[1];
-1 25468 }
14635 25469 }
14636 -1 if (!text.sanitize(text.visibleVirtual(virtualNode))) {
14637 -1 return false;
-1 25470 }
-1 25471 module.exports = version && +version;
-1 25472 },
-1 25473 './node_modules/core-js-pure/internals/enum-bug-keys.js': function node_modulesCoreJsPureInternalsEnumBugKeysJs(module, exports) {
-1 25474 module.exports = [ 'constructor', 'hasOwnProperty', 'isPrototypeOf', 'propertyIsEnumerable', 'toLocaleString', 'toString', 'valueOf' ];
-1 25475 },
-1 25476 './node_modules/core-js-pure/internals/export.js': function node_modulesCoreJsPureInternalsExportJs(module, exports, __webpack_require__) {
-1 25477 'use strict';
-1 25478 var global = __webpack_require__('./node_modules/core-js-pure/internals/global.js');
-1 25479 var getOwnPropertyDescriptor = __webpack_require__('./node_modules/core-js-pure/internals/object-get-own-property-descriptor.js').f;
-1 25480 var isForced = __webpack_require__('./node_modules/core-js-pure/internals/is-forced.js');
-1 25481 var path = __webpack_require__('./node_modules/core-js-pure/internals/path.js');
-1 25482 var bind = __webpack_require__('./node_modules/core-js-pure/internals/function-bind-context.js');
-1 25483 var createNonEnumerableProperty = __webpack_require__('./node_modules/core-js-pure/internals/create-non-enumerable-property.js');
-1 25484 var has = __webpack_require__('./node_modules/core-js-pure/internals/has.js');
-1 25485 var wrapConstructor = function wrapConstructor(NativeConstructor) {
-1 25486 var Wrapper = function Wrapper(a, b, c) {
-1 25487 if (this instanceof NativeConstructor) {
-1 25488 switch (arguments.length) {
-1 25489 case 0:
-1 25490 return new NativeConstructor();
-1 25491
-1 25492 case 1:
-1 25493 return new NativeConstructor(a);
-1 25494
-1 25495 case 2:
-1 25496 return new NativeConstructor(a, b);
-1 25497 }
-1 25498 return new NativeConstructor(a, b, c);
-1 25499 }
-1 25500 return NativeConstructor.apply(this, arguments);
-1 25501 };
-1 25502 Wrapper.prototype = NativeConstructor.prototype;
-1 25503 return Wrapper;
-1 25504 };
-1 25505 module.exports = function(options, source) {
-1 25506 var TARGET = options.target;
-1 25507 var GLOBAL = options.global;
-1 25508 var STATIC = options.stat;
-1 25509 var PROTO = options.proto;
-1 25510 var nativeSource = GLOBAL ? global : STATIC ? global[TARGET] : (global[TARGET] || {}).prototype;
-1 25511 var target = GLOBAL ? path : path[TARGET] || (path[TARGET] = {});
-1 25512 var targetPrototype = target.prototype;
-1 25513 var FORCED, USE_NATIVE, VIRTUAL_PROTOTYPE;
-1 25514 var key, sourceProperty, targetProperty, nativeProperty, resultProperty, descriptor;
-1 25515 for (key in source) {
-1 25516 FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
-1 25517 USE_NATIVE = !FORCED && nativeSource && has(nativeSource, key);
-1 25518 targetProperty = target[key];
-1 25519 if (USE_NATIVE) {
-1 25520 if (options.noTargetGet) {
-1 25521 descriptor = getOwnPropertyDescriptor(nativeSource, key);
-1 25522 nativeProperty = descriptor && descriptor.value;
-1 25523 } else {
-1 25524 nativeProperty = nativeSource[key];
-1 25525 }
-1 25526 }
-1 25527 sourceProperty = USE_NATIVE && nativeProperty ? nativeProperty : source[key];
-1 25528 if (USE_NATIVE && _typeof(targetProperty) === _typeof(sourceProperty)) {
-1 25529 continue;
-1 25530 }
-1 25531 if (options.bind && USE_NATIVE) {
-1 25532 resultProperty = bind(sourceProperty, global);
-1 25533 } else if (options.wrap && USE_NATIVE) {
-1 25534 resultProperty = wrapConstructor(sourceProperty);
-1 25535 } else if (PROTO && typeof sourceProperty == 'function') {
-1 25536 resultProperty = bind(Function.call, sourceProperty);
-1 25537 } else {
-1 25538 resultProperty = sourceProperty;
-1 25539 }
-1 25540 if (options.sham || sourceProperty && sourceProperty.sham || targetProperty && targetProperty.sham) {
-1 25541 createNonEnumerableProperty(resultProperty, 'sham', true);
-1 25542 }
-1 25543 target[key] = resultProperty;
-1 25544 if (PROTO) {
-1 25545 VIRTUAL_PROTOTYPE = TARGET + 'Prototype';
-1 25546 if (!has(path, VIRTUAL_PROTOTYPE)) {
-1 25547 createNonEnumerableProperty(path, VIRTUAL_PROTOTYPE, {});
-1 25548 }
-1 25549 path[VIRTUAL_PROTOTYPE][key] = sourceProperty;
-1 25550 if (options.real && targetPrototype && !targetPrototype[key]) {
-1 25551 createNonEnumerableProperty(targetPrototype, key, sourceProperty);
-1 25552 }
-1 25553 }
14638 25554 }
14639 -1 return true;
14640 -1 },
14641 -1 tags: [ 'wcag21a', 'wcag253', 'experimental' ],
14642 -1 all: [],
14643 -1 any: [ 'label-content-name-mismatch' ],
14644 -1 none: []
14645 -1 }, {
14646 -1 id: 'label-title-only',
14647 -1 selector: 'input, select, textarea',
14648 -1 matches: function matches(node, virtualNode, context) {
14649 -1 if (node.nodeName.toLowerCase() !== 'input' || node.hasAttribute('type') === false) {
-1 25555 };
-1 25556 },
-1 25557 './node_modules/core-js-pure/internals/fails.js': function node_modulesCoreJsPureInternalsFailsJs(module, exports) {
-1 25558 module.exports = function(exec) {
-1 25559 try {
-1 25560 return !!exec();
-1 25561 } catch (error) {
14650 25562 return true;
14651 25563 }
14652 -1 var type = node.getAttribute('type').toLowerCase();
14653 -1 return [ 'hidden', 'image', 'button', 'submit', 'reset' ].includes(type) === false;
14654 -1 },
14655 -1 tags: [ 'cat.forms', 'best-practice' ],
14656 -1 all: [],
14657 -1 any: [],
14658 -1 none: [ 'title-only' ]
14659 -1 }, {
14660 -1 id: 'label',
14661 -1 selector: 'input, select, textarea',
14662 -1 matches: function matches(node, virtualNode, context) {
14663 -1 if (node.nodeName.toLowerCase() !== 'input' || node.hasAttribute('type') === false) {
14664 -1 return true;
-1 25564 };
-1 25565 },
-1 25566 './node_modules/core-js-pure/internals/freezing.js': function node_modulesCoreJsPureInternalsFreezingJs(module, exports, __webpack_require__) {
-1 25567 var fails = __webpack_require__('./node_modules/core-js-pure/internals/fails.js');
-1 25568 module.exports = !fails(function() {
-1 25569 return Object.isExtensible(Object.preventExtensions({}));
-1 25570 });
-1 25571 },
-1 25572 './node_modules/core-js-pure/internals/function-bind-context.js': function node_modulesCoreJsPureInternalsFunctionBindContextJs(module, exports, __webpack_require__) {
-1 25573 var aFunction = __webpack_require__('./node_modules/core-js-pure/internals/a-function.js');
-1 25574 module.exports = function(fn, that, length) {
-1 25575 aFunction(fn);
-1 25576 if (that === undefined) {
-1 25577 return fn;
-1 25578 }
-1 25579 switch (length) {
-1 25580 case 0:
-1 25581 return function() {
-1 25582 return fn.call(that);
-1 25583 };
-1 25584
-1 25585 case 1:
-1 25586 return function(a) {
-1 25587 return fn.call(that, a);
-1 25588 };
-1 25589
-1 25590 case 2:
-1 25591 return function(a, b) {
-1 25592 return fn.call(that, a, b);
-1 25593 };
-1 25594
-1 25595 case 3:
-1 25596 return function(a, b, c) {
-1 25597 return fn.call(that, a, b, c);
-1 25598 };
14665 25599 }
14666 -1 var type = node.getAttribute('type').toLowerCase();
14667 -1 return [ 'hidden', 'image', 'button', 'submit', 'reset' ].includes(type) === false;
14668 -1 },
14669 -1 tags: [ 'cat.forms', 'wcag2a', 'wcag332', 'wcag131', 'section508', 'section508.22.n' ],
14670 -1 all: [],
14671 -1 any: [ 'aria-label', 'aria-labelledby', 'implicit-label', 'explicit-label', 'non-empty-title' ],
14672 -1 none: [ 'help-same-as-label', 'hidden-explicit-label' ]
14673 -1 }, {
14674 -1 id: 'landmark-banner-is-top-level',
14675 -1 selector: 'header:not([role]), [role=banner]',
14676 -1 matches: function matches(node, virtualNode, context) {
14677 -1 var nativeScopeFilter = 'article, aside, main, nav, section';
14678 -1 return node.hasAttribute('role') || !axe.commons.dom.findUpVirtual(virtualNode, nativeScopeFilter);
14679 -1 },
14680 -1 tags: [ 'cat.semantics', 'best-practice' ],
14681 -1 all: [],
14682 -1 any: [ 'landmark-is-top-level' ],
14683 -1 none: []
14684 -1 }, {
14685 -1 id: 'landmark-complementary-is-top-level',
14686 -1 selector: 'aside:not([role]), [role=complementary]',
14687 -1 tags: [ 'cat.semantics', 'best-practice' ],
14688 -1 all: [],
14689 -1 any: [ 'landmark-is-top-level' ],
14690 -1 none: []
14691 -1 }, {
14692 -1 id: 'landmark-contentinfo-is-top-level',
14693 -1 selector: 'footer:not([role]), [role=contentinfo]',
14694 -1 matches: function matches(node, virtualNode, context) {
14695 -1 var nativeScopeFilter = 'article, aside, main, nav, section';
14696 -1 return node.hasAttribute('role') || !axe.commons.dom.findUpVirtual(virtualNode, nativeScopeFilter);
14697 -1 },
14698 -1 tags: [ 'cat.semantics', 'best-practice' ],
14699 -1 all: [],
14700 -1 any: [ 'landmark-is-top-level' ],
14701 -1 none: []
14702 -1 }, {
14703 -1 id: 'landmark-main-is-top-level',
14704 -1 selector: 'main:not([role]), [role=main]',
14705 -1 tags: [ 'cat.semantics', 'best-practice' ],
14706 -1 all: [],
14707 -1 any: [ 'landmark-is-top-level' ],
14708 -1 none: []
14709 -1 }, {
14710 -1 id: 'landmark-no-duplicate-banner',
14711 -1 selector: 'html',
14712 -1 tags: [ 'cat.semantics', 'best-practice' ],
14713 -1 all: [],
14714 -1 any: [ {
14715 -1 options: {
14716 -1 selector: 'header:not([role]), [role=banner]',
14717 -1 nativeScopeFilter: 'article, aside, main, nav, section'
14718 -1 },
14719 -1 id: 'page-no-duplicate-banner'
14720 -1 } ],
14721 -1 none: []
14722 -1 }, {
14723 -1 id: 'landmark-no-duplicate-contentinfo',
14724 -1 selector: 'html',
14725 -1 tags: [ 'cat.semantics', 'best-practice' ],
14726 -1 all: [],
14727 -1 any: [ {
14728 -1 options: {
14729 -1 selector: 'footer:not([role]), [role=contentinfo]',
14730 -1 nativeScopeFilter: 'article, aside, main, nav, section'
14731 -1 },
14732 -1 id: 'page-no-duplicate-contentinfo'
14733 -1 } ],
14734 -1 none: []
14735 -1 }, {
14736 -1 id: 'landmark-one-main',
14737 -1 selector: 'html',
14738 -1 tags: [ 'cat.semantics', 'best-practice' ],
14739 -1 all: [ {
14740 -1 options: {
14741 -1 selector: 'main:not([role]), [role=\'main\']'
14742 -1 },
14743 -1 id: 'page-has-main'
14744 -1 }, {
14745 -1 options: {
14746 -1 selector: 'main:not([role]), [role=\'main\']'
14747 -1 },
14748 -1 id: 'page-no-duplicate-main'
14749 -1 } ],
14750 -1 any: [],
14751 -1 none: []
14752 -1 }, {
14753 -1 id: 'layout-table',
14754 -1 selector: 'table',
14755 -1 matches: function matches(node, virtualNode, context) {
14756 -1 var role = (node.getAttribute('role') || '').toLowerCase();
14757 -1 return !((role === 'presentation' || role === 'none') && !axe.commons.dom.isFocusable(node)) && !axe.commons.table.isDataTable(node);
14758 -1 },
14759 -1 tags: [ 'cat.semantics', 'wcag2a', 'wcag131' ],
14760 -1 all: [],
14761 -1 any: [],
14762 -1 none: [ 'has-th', 'has-caption', 'has-summary' ]
14763 -1 }, {
14764 -1 id: 'link-in-text-block',
14765 -1 selector: 'a[href], [role=link]',
14766 -1 matches: function matches(node, virtualNode, context) {
14767 -1 var text = axe.commons.text.sanitize(node.textContent);
14768 -1 var role = node.getAttribute('role');
14769 -1 if (role && role !== 'link') {
14770 -1 return false;
-1 25600 return function() {
-1 25601 return fn.apply(that, arguments);
-1 25602 };
-1 25603 };
-1 25604 },
-1 25605 './node_modules/core-js-pure/internals/get-built-in.js': function node_modulesCoreJsPureInternalsGetBuiltInJs(module, exports, __webpack_require__) {
-1 25606 var path = __webpack_require__('./node_modules/core-js-pure/internals/path.js');
-1 25607 var global = __webpack_require__('./node_modules/core-js-pure/internals/global.js');
-1 25608 var aFunction = function aFunction(variable) {
-1 25609 return typeof variable == 'function' ? variable : undefined;
-1 25610 };
-1 25611 module.exports = function(namespace, method) {
-1 25612 return arguments.length < 2 ? aFunction(path[namespace]) || aFunction(global[namespace]) : path[namespace] && path[namespace][method] || global[namespace] && global[namespace][method];
-1 25613 };
-1 25614 },
-1 25615 './node_modules/core-js-pure/internals/get-iterator-method.js': function node_modulesCoreJsPureInternalsGetIteratorMethodJs(module, exports, __webpack_require__) {
-1 25616 var classof = __webpack_require__('./node_modules/core-js-pure/internals/classof.js');
-1 25617 var Iterators = __webpack_require__('./node_modules/core-js-pure/internals/iterators.js');
-1 25618 var wellKnownSymbol = __webpack_require__('./node_modules/core-js-pure/internals/well-known-symbol.js');
-1 25619 var ITERATOR = wellKnownSymbol('iterator');
-1 25620 module.exports = function(it) {
-1 25621 if (it != undefined) {
-1 25622 return it[ITERATOR] || it['@@iterator'] || Iterators[classof(it)];
-1 25623 }
-1 25624 };
-1 25625 },
-1 25626 './node_modules/core-js-pure/internals/global.js': function node_modulesCoreJsPureInternalsGlobalJs(module, exports, __webpack_require__) {
-1 25627 (function(global) {
-1 25628 var check = function check(it) {
-1 25629 return it && it.Math == Math && it;
-1 25630 };
-1 25631 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) == 'object' && global) || Function('return this')();
-1 25632 }).call(this, __webpack_require__('./node_modules/webpack/buildin/global.js'));
-1 25633 },
-1 25634 './node_modules/core-js-pure/internals/has.js': function node_modulesCoreJsPureInternalsHasJs(module, exports) {
-1 25635 var hasOwnProperty = {}.hasOwnProperty;
-1 25636 module.exports = function(it, key) {
-1 25637 return hasOwnProperty.call(it, key);
-1 25638 };
-1 25639 },
-1 25640 './node_modules/core-js-pure/internals/hidden-keys.js': function node_modulesCoreJsPureInternalsHiddenKeysJs(module, exports) {
-1 25641 module.exports = {};
-1 25642 },
-1 25643 './node_modules/core-js-pure/internals/host-report-errors.js': function node_modulesCoreJsPureInternalsHostReportErrorsJs(module, exports, __webpack_require__) {
-1 25644 var global = __webpack_require__('./node_modules/core-js-pure/internals/global.js');
-1 25645 module.exports = function(a, b) {
-1 25646 var console = global.console;
-1 25647 if (console && console.error) {
-1 25648 arguments.length === 1 ? console.error(a) : console.error(a, b);
14771 25649 }
14772 -1 if (!text) {
14773 -1 return false;
-1 25650 };
-1 25651 },
-1 25652 './node_modules/core-js-pure/internals/html.js': function node_modulesCoreJsPureInternalsHtmlJs(module, exports, __webpack_require__) {
-1 25653 var getBuiltIn = __webpack_require__('./node_modules/core-js-pure/internals/get-built-in.js');
-1 25654 module.exports = getBuiltIn('document', 'documentElement');
-1 25655 },
-1 25656 './node_modules/core-js-pure/internals/ie8-dom-define.js': function node_modulesCoreJsPureInternalsIe8DomDefineJs(module, exports, __webpack_require__) {
-1 25657 var DESCRIPTORS = __webpack_require__('./node_modules/core-js-pure/internals/descriptors.js');
-1 25658 var fails = __webpack_require__('./node_modules/core-js-pure/internals/fails.js');
-1 25659 var createElement = __webpack_require__('./node_modules/core-js-pure/internals/document-create-element.js');
-1 25660 module.exports = !DESCRIPTORS && !fails(function() {
-1 25661 return Object.defineProperty(createElement('div'), 'a', {
-1 25662 get: function get() {
-1 25663 return 7;
-1 25664 }
-1 25665 }).a != 7;
-1 25666 });
-1 25667 },
-1 25668 './node_modules/core-js-pure/internals/indexed-object.js': function node_modulesCoreJsPureInternalsIndexedObjectJs(module, exports, __webpack_require__) {
-1 25669 var fails = __webpack_require__('./node_modules/core-js-pure/internals/fails.js');
-1 25670 var classof = __webpack_require__('./node_modules/core-js-pure/internals/classof-raw.js');
-1 25671 var split = ''.split;
-1 25672 module.exports = fails(function() {
-1 25673 return !Object('z').propertyIsEnumerable(0);
-1 25674 }) ? function(it) {
-1 25675 return classof(it) == 'String' ? split.call(it, '') : Object(it);
-1 25676 } : Object;
-1 25677 },
-1 25678 './node_modules/core-js-pure/internals/inspect-source.js': function node_modulesCoreJsPureInternalsInspectSourceJs(module, exports, __webpack_require__) {
-1 25679 var store = __webpack_require__('./node_modules/core-js-pure/internals/shared-store.js');
-1 25680 var functionToString = Function.toString;
-1 25681 if (typeof store.inspectSource != 'function') {
-1 25682 store.inspectSource = function(it) {
-1 25683 return functionToString.call(it);
-1 25684 };
-1 25685 }
-1 25686 module.exports = store.inspectSource;
-1 25687 },
-1 25688 './node_modules/core-js-pure/internals/internal-metadata.js': function node_modulesCoreJsPureInternalsInternalMetadataJs(module, exports, __webpack_require__) {
-1 25689 var hiddenKeys = __webpack_require__('./node_modules/core-js-pure/internals/hidden-keys.js');
-1 25690 var isObject = __webpack_require__('./node_modules/core-js-pure/internals/is-object.js');
-1 25691 var has = __webpack_require__('./node_modules/core-js-pure/internals/has.js');
-1 25692 var defineProperty = __webpack_require__('./node_modules/core-js-pure/internals/object-define-property.js').f;
-1 25693 var uid = __webpack_require__('./node_modules/core-js-pure/internals/uid.js');
-1 25694 var FREEZING = __webpack_require__('./node_modules/core-js-pure/internals/freezing.js');
-1 25695 var METADATA = uid('meta');
-1 25696 var id = 0;
-1 25697 var isExtensible = Object.isExtensible || function() {
-1 25698 return true;
-1 25699 };
-1 25700 var setMetadata = function setMetadata(it) {
-1 25701 defineProperty(it, METADATA, {
-1 25702 value: {
-1 25703 objectID: 'O' + ++id,
-1 25704 weakData: {}
-1 25705 }
-1 25706 });
-1 25707 };
-1 25708 var fastKey = function fastKey(it, create) {
-1 25709 if (!isObject(it)) {
-1 25710 return _typeof(it) == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;
14774 25711 }
14775 -1 if (!axe.commons.dom.isVisible(node, false)) {
14776 -1 return false;
-1 25712 if (!has(it, METADATA)) {
-1 25713 if (!isExtensible(it)) {
-1 25714 return 'F';
-1 25715 }
-1 25716 if (!create) {
-1 25717 return 'E';
-1 25718 }
-1 25719 setMetadata(it);
14777 25720 }
14778 -1 return axe.commons.dom.isInTextBlock(node);
14779 -1 },
14780 -1 excludeHidden: false,
14781 -1 tags: [ 'cat.color', 'experimental', 'wcag2a', 'wcag141' ],
14782 -1 all: [ 'link-in-text-block' ],
14783 -1 any: [],
14784 -1 none: []
14785 -1 }, {
14786 -1 id: 'link-name',
14787 -1 selector: 'a[href], [role=link][href]',
14788 -1 matches: function matches(node, virtualNode, context) {
14789 -1 return node.getAttribute('role') !== 'button';
14790 -1 },
14791 -1 tags: [ 'cat.name-role-value', 'wcag2a', 'wcag412', 'wcag244', 'section508', 'section508.22.a' ],
14792 -1 all: [],
14793 -1 any: [ 'has-visible-text', 'aria-label', 'aria-labelledby', 'role-presentation', 'role-none' ],
14794 -1 none: [ 'focusable-no-name' ]
14795 -1 }, {
14796 -1 id: 'list',
14797 -1 selector: 'ul, ol',
14798 -1 matches: function matches(node, virtualNode, context) {
14799 -1 return !node.getAttribute('role');
14800 -1 },
14801 -1 tags: [ 'cat.structure', 'wcag2a', 'wcag131' ],
14802 -1 all: [],
14803 -1 any: [],
14804 -1 none: [ 'only-listitems' ]
14805 -1 }, {
14806 -1 id: 'listitem',
14807 -1 selector: 'li',
14808 -1 matches: function matches(node, virtualNode, context) {
14809 -1 return !node.getAttribute('role');
14810 -1 },
14811 -1 tags: [ 'cat.structure', 'wcag2a', 'wcag131' ],
14812 -1 all: [],
14813 -1 any: [ 'listitem' ],
14814 -1 none: []
14815 -1 }, {
14816 -1 id: 'marquee',
14817 -1 selector: 'marquee',
14818 -1 excludeHidden: false,
14819 -1 tags: [ 'cat.parsing', 'wcag2a', 'wcag222' ],
14820 -1 all: [],
14821 -1 any: [],
14822 -1 none: [ 'is-on-screen' ]
14823 -1 }, {
14824 -1 id: 'meta-refresh',
14825 -1 selector: 'meta[http-equiv="refresh"]',
14826 -1 excludeHidden: false,
14827 -1 tags: [ 'cat.time', 'wcag2a', 'wcag2aaa', 'wcag221', 'wcag224', 'wcag325' ],
14828 -1 all: [],
14829 -1 any: [ 'meta-refresh' ],
14830 -1 none: []
14831 -1 }, {
14832 -1 id: 'meta-viewport-large',
14833 -1 selector: 'meta[name="viewport"]',
14834 -1 excludeHidden: false,
14835 -1 tags: [ 'cat.sensory-and-visual-cues', 'best-practice' ],
14836 -1 all: [],
14837 -1 any: [ {
14838 -1 options: {
14839 -1 scaleMinimum: 5,
14840 -1 lowerBound: 2
14841 -1 },
14842 -1 id: 'meta-viewport-large'
14843 -1 } ],
14844 -1 none: []
14845 -1 }, {
14846 -1 id: 'meta-viewport',
14847 -1 selector: 'meta[name="viewport"]',
14848 -1 excludeHidden: false,
14849 -1 tags: [ 'cat.sensory-and-visual-cues', 'wcag2aa', 'wcag144' ],
14850 -1 all: [],
14851 -1 any: [ {
14852 -1 options: {
14853 -1 scaleMinimum: 2
14854 -1 },
14855 -1 id: 'meta-viewport'
14856 -1 } ],
14857 -1 none: []
14858 -1 }, {
14859 -1 id: 'object-alt',
14860 -1 selector: 'object',
14861 -1 tags: [ 'cat.text-alternatives', 'wcag2a', 'wcag111', 'section508', 'section508.22.a' ],
14862 -1 all: [],
14863 -1 any: [ 'has-visible-text', 'aria-label', 'aria-labelledby', 'non-empty-title', 'role-presentation', 'role-none' ],
14864 -1 none: []
14865 -1 }, {
14866 -1 id: 'p-as-heading',
14867 -1 selector: 'p',
14868 -1 matches: function matches(node, virtualNode, context) {
14869 -1 var children = Array.from(node.parentNode.childNodes);
14870 -1 var nodeText = node.textContent.trim();
14871 -1 var isSentence = /[.!?:;](?![.!?:;])/g;
14872 -1 if (nodeText.length === 0 || (nodeText.match(isSentence) || []).length >= 2) {
14873 -1 return false;
-1 25721 return it[METADATA].objectID;
-1 25722 };
-1 25723 var getWeakData = function getWeakData(it, create) {
-1 25724 if (!has(it, METADATA)) {
-1 25725 if (!isExtensible(it)) {
-1 25726 return true;
-1 25727 }
-1 25728 if (!create) {
-1 25729 return false;
-1 25730 }
-1 25731 setMetadata(it);
14874 25732 }
14875 -1 var siblingsAfter = children.slice(children.indexOf(node) + 1).filter(function(elm) {
14876 -1 return elm.nodeName.toUpperCase() === 'P' && elm.textContent.trim() !== '';
14877 -1 });
14878 -1 return siblingsAfter.length !== 0;
14879 -1 },
14880 -1 tags: [ 'cat.semantics', 'wcag2a', 'wcag131', 'experimental' ],
14881 -1 all: [ {
14882 -1 options: {
14883 -1 margins: [ {
14884 -1 weight: 150,
14885 -1 italic: true
14886 -1 }, {
14887 -1 weight: 150,
14888 -1 size: 1.15
14889 -1 }, {
14890 -1 italic: true,
14891 -1 size: 1.15
14892 -1 }, {
14893 -1 size: 1.4
14894 -1 } ]
14895 -1 },
14896 -1 id: 'p-as-heading'
14897 -1 } ],
14898 -1 any: [],
14899 -1 none: []
14900 -1 }, {
14901 -1 id: 'page-has-heading-one',
14902 -1 selector: 'html',
14903 -1 tags: [ 'cat.semantics', 'best-practice' ],
14904 -1 all: [ {
14905 -1 options: {
14906 -1 selector: 'h1:not([role]), [role="heading"][aria-level="1"]'
14907 -1 },
14908 -1 id: 'page-has-heading-one'
14909 -1 } ],
14910 -1 any: [],
14911 -1 none: []
14912 -1 }, {
14913 -1 id: 'radiogroup',
14914 -1 selector: 'input[type=radio][name]',
14915 -1 tags: [ 'cat.forms', 'best-practice' ],
14916 -1 all: [],
14917 -1 any: [ 'group-labelledby', 'fieldset' ],
14918 -1 none: []
14919 -1 }, {
14920 -1 id: 'region',
14921 -1 selector: 'html',
14922 -1 pageLevel: true,
14923 -1 tags: [ 'cat.keyboard', 'best-practice' ],
14924 -1 all: [],
14925 -1 any: [ 'region' ],
14926 -1 none: []
14927 -1 }, {
14928 -1 id: 'scope-attr-valid',
14929 -1 selector: 'td[scope], th[scope]',
14930 -1 tags: [ 'cat.tables', 'best-practice' ],
14931 -1 all: [ 'html5-scope', 'scope-value' ],
14932 -1 any: [],
14933 -1 none: []
14934 -1 }, {
14935 -1 id: 'server-side-image-map',
14936 -1 selector: 'img[ismap]',
14937 -1 tags: [ 'cat.text-alternatives', 'wcag2a', 'wcag211', 'section508', 'section508.22.f' ],
14938 -1 all: [],
14939 -1 any: [],
14940 -1 none: [ 'exists' ]
14941 -1 }, {
14942 -1 id: 'skip-link',
14943 -1 selector: 'a[href]',
14944 -1 matches: function matches(node, virtualNode, context) {
14945 -1 return /^#[^/!]/.test(node.getAttribute('href'));
14946 -1 },
14947 -1 tags: [ 'cat.keyboard', 'best-practice' ],
14948 -1 all: [],
14949 -1 any: [ 'skip-link' ],
14950 -1 none: []
14951 -1 }, {
14952 -1 id: 'tabindex',
14953 -1 selector: '[tabindex]',
14954 -1 tags: [ 'cat.keyboard', 'best-practice' ],
14955 -1 all: [],
14956 -1 any: [ 'tabindex' ],
14957 -1 none: []
14958 -1 }, {
14959 -1 id: 'table-duplicate-name',
14960 -1 selector: 'table',
14961 -1 tags: [ 'cat.tables', 'best-practice' ],
14962 -1 all: [],
14963 -1 any: [],
14964 -1 none: [ 'same-caption-summary' ]
14965 -1 }, {
14966 -1 id: 'table-fake-caption',
14967 -1 selector: 'table',
14968 -1 matches: function matches(node, virtualNode, context) {
14969 -1 return axe.commons.table.isDataTable(node);
14970 -1 },
14971 -1 tags: [ 'cat.tables', 'experimental', 'wcag2a', 'wcag131', 'section508', 'section508.22.g' ],
14972 -1 all: [ 'caption-faked' ],
14973 -1 any: [],
14974 -1 none: []
14975 -1 }, {
14976 -1 id: 'td-has-header',
14977 -1 selector: 'table',
14978 -1 matches: function matches(node, virtualNode, context) {
14979 -1 if (axe.commons.table.isDataTable(node)) {
14980 -1 var tableArray = axe.commons.table.toArray(node);
14981 -1 return tableArray.length >= 3 && tableArray[0].length >= 3 && tableArray[1].length >= 3 && tableArray[2].length >= 3;
-1 25733 return it[METADATA].weakData;
-1 25734 };
-1 25735 var onFreeze = function onFreeze(it) {
-1 25736 if (FREEZING && meta.REQUIRED && isExtensible(it) && !has(it, METADATA)) {
-1 25737 setMetadata(it);
14982 25738 }
14983 -1 return false;
14984 -1 },
14985 -1 tags: [ 'cat.tables', 'experimental', 'wcag2a', 'wcag131', 'section508', 'section508.22.g' ],
14986 -1 all: [ 'td-has-header' ],
14987 -1 any: [],
14988 -1 none: []
14989 -1 }, {
14990 -1 id: 'td-headers-attr',
14991 -1 selector: 'table',
14992 -1 tags: [ 'cat.tables', 'wcag2a', 'wcag131', 'section508', 'section508.22.g' ],
14993 -1 all: [ 'td-headers-attr' ],
14994 -1 any: [],
14995 -1 none: []
14996 -1 }, {
14997 -1 id: 'th-has-data-cells',
14998 -1 selector: 'table',
14999 -1 matches: function matches(node, virtualNode, context) {
15000 -1 return axe.commons.table.isDataTable(node);
15001 -1 },
15002 -1 tags: [ 'cat.tables', 'wcag2a', 'wcag131', 'section508', 'section508.22.g' ],
15003 -1 all: [ 'th-has-data-cells' ],
15004 -1 any: [],
15005 -1 none: []
15006 -1 }, {
15007 -1 id: 'valid-lang',
15008 -1 selector: '[lang], [xml\\:lang]',
15009 -1 matches: function matches(node, virtualNode, context) {
15010 -1 return node.nodeName.toLowerCase() !== 'html';
15011 -1 },
15012 -1 tags: [ 'cat.language', 'wcag2aa', 'wcag312' ],
15013 -1 all: [],
15014 -1 any: [],
15015 -1 none: [ 'valid-lang' ]
15016 -1 }, {
15017 -1 id: 'video-caption',
15018 -1 selector: 'video',
15019 -1 excludeHidden: false,
15020 -1 tags: [ 'cat.text-alternatives', 'wcag2a', 'wcag122', 'section508', 'section508.22.a' ],
15021 -1 all: [],
15022 -1 any: [],
15023 -1 none: [ 'caption' ]
15024 -1 }, {
15025 -1 id: 'video-description',
15026 -1 selector: 'video',
15027 -1 excludeHidden: false,
15028 -1 tags: [ 'cat.text-alternatives', 'wcag2aa', 'wcag125', 'section508', 'section508.22.b' ],
15029 -1 all: [],
15030 -1 any: [],
15031 -1 none: [ 'description' ]
15032 -1 } ],
15033 -1 checks: [ {
15034 -1 id: 'abstractrole',
15035 -1 evaluate: function evaluate(node, options, virtualNode, context) {
15036 -1 return axe.commons.aria.getRoleType(node.getAttribute('role')) === 'abstract';
-1 25739 return it;
-1 25740 };
-1 25741 var meta = module.exports = {
-1 25742 REQUIRED: false,
-1 25743 fastKey: fastKey,
-1 25744 getWeakData: getWeakData,
-1 25745 onFreeze: onFreeze
-1 25746 };
-1 25747 hiddenKeys[METADATA] = true;
-1 25748 },
-1 25749 './node_modules/core-js-pure/internals/internal-state.js': function node_modulesCoreJsPureInternalsInternalStateJs(module, exports, __webpack_require__) {
-1 25750 var NATIVE_WEAK_MAP = __webpack_require__('./node_modules/core-js-pure/internals/native-weak-map.js');
-1 25751 var global = __webpack_require__('./node_modules/core-js-pure/internals/global.js');
-1 25752 var isObject = __webpack_require__('./node_modules/core-js-pure/internals/is-object.js');
-1 25753 var createNonEnumerableProperty = __webpack_require__('./node_modules/core-js-pure/internals/create-non-enumerable-property.js');
-1 25754 var objectHas = __webpack_require__('./node_modules/core-js-pure/internals/has.js');
-1 25755 var sharedKey = __webpack_require__('./node_modules/core-js-pure/internals/shared-key.js');
-1 25756 var hiddenKeys = __webpack_require__('./node_modules/core-js-pure/internals/hidden-keys.js');
-1 25757 var WeakMap = global.WeakMap;
-1 25758 var set, get, has;
-1 25759 var enforce = function enforce(it) {
-1 25760 return has(it) ? get(it) : set(it, {});
-1 25761 };
-1 25762 var getterFor = function getterFor(TYPE) {
-1 25763 return function(it) {
-1 25764 var state;
-1 25765 if (!isObject(it) || (state = get(it)).type !== TYPE) {
-1 25766 throw TypeError('Incompatible receiver, ' + TYPE + ' required');
-1 25767 }
-1 25768 return state;
-1 25769 };
-1 25770 };
-1 25771 if (NATIVE_WEAK_MAP) {
-1 25772 var store = new WeakMap();
-1 25773 var wmget = store.get;
-1 25774 var wmhas = store.has;
-1 25775 var wmset = store.set;
-1 25776 set = function set(it, metadata) {
-1 25777 wmset.call(store, it, metadata);
-1 25778 return metadata;
-1 25779 };
-1 25780 get = function get(it) {
-1 25781 return wmget.call(store, it) || {};
-1 25782 };
-1 25783 has = function has(it) {
-1 25784 return wmhas.call(store, it);
-1 25785 };
-1 25786 } else {
-1 25787 var STATE = sharedKey('state');
-1 25788 hiddenKeys[STATE] = true;
-1 25789 set = function set(it, metadata) {
-1 25790 createNonEnumerableProperty(it, STATE, metadata);
-1 25791 return metadata;
-1 25792 };
-1 25793 get = function get(it) {
-1 25794 return objectHas(it, STATE) ? it[STATE] : {};
-1 25795 };
-1 25796 has = function has(it) {
-1 25797 return objectHas(it, STATE);
-1 25798 };
15037 25799 }
15038 -1 }, {
15039 -1 id: 'aria-allowed-attr',
15040 -1 evaluate: function evaluate(node, options, virtualNode, context) {
15041 -1 options = options || {};
15042 -1 var invalid = [];
15043 -1 var attr, attrName, allowed, role = node.getAttribute('role'), attrs = node.attributes;
15044 -1 if (!role) {
15045 -1 role = axe.commons.aria.implicitRole(node);
-1 25800 module.exports = {
-1 25801 set: set,
-1 25802 get: get,
-1 25803 has: has,
-1 25804 enforce: enforce,
-1 25805 getterFor: getterFor
-1 25806 };
-1 25807 },
-1 25808 './node_modules/core-js-pure/internals/is-array-iterator-method.js': function node_modulesCoreJsPureInternalsIsArrayIteratorMethodJs(module, exports, __webpack_require__) {
-1 25809 var wellKnownSymbol = __webpack_require__('./node_modules/core-js-pure/internals/well-known-symbol.js');
-1 25810 var Iterators = __webpack_require__('./node_modules/core-js-pure/internals/iterators.js');
-1 25811 var ITERATOR = wellKnownSymbol('iterator');
-1 25812 var ArrayPrototype = Array.prototype;
-1 25813 module.exports = function(it) {
-1 25814 return it !== undefined && (Iterators.Array === it || ArrayPrototype[ITERATOR] === it);
-1 25815 };
-1 25816 },
-1 25817 './node_modules/core-js-pure/internals/is-array.js': function node_modulesCoreJsPureInternalsIsArrayJs(module, exports, __webpack_require__) {
-1 25818 var classof = __webpack_require__('./node_modules/core-js-pure/internals/classof-raw.js');
-1 25819 module.exports = Array.isArray || function isArray(arg) {
-1 25820 return classof(arg) == 'Array';
-1 25821 };
-1 25822 },
-1 25823 './node_modules/core-js-pure/internals/is-forced.js': function node_modulesCoreJsPureInternalsIsForcedJs(module, exports, __webpack_require__) {
-1 25824 var fails = __webpack_require__('./node_modules/core-js-pure/internals/fails.js');
-1 25825 var replacement = /#|\.prototype\./;
-1 25826 var isForced = function isForced(feature, detection) {
-1 25827 var value = data[normalize(feature)];
-1 25828 return value == POLYFILL ? true : value == NATIVE ? false : typeof detection == 'function' ? fails(detection) : !!detection;
-1 25829 };
-1 25830 var normalize = isForced.normalize = function(string) {
-1 25831 return String(string).replace(replacement, '.').toLowerCase();
-1 25832 };
-1 25833 var data = isForced.data = {};
-1 25834 var NATIVE = isForced.NATIVE = 'N';
-1 25835 var POLYFILL = isForced.POLYFILL = 'P';
-1 25836 module.exports = isForced;
-1 25837 },
-1 25838 './node_modules/core-js-pure/internals/is-object.js': function node_modulesCoreJsPureInternalsIsObjectJs(module, exports) {
-1 25839 module.exports = function(it) {
-1 25840 return _typeof(it) === 'object' ? it !== null : typeof it === 'function';
-1 25841 };
-1 25842 },
-1 25843 './node_modules/core-js-pure/internals/is-pure.js': function node_modulesCoreJsPureInternalsIsPureJs(module, exports) {
-1 25844 module.exports = true;
-1 25845 },
-1 25846 './node_modules/core-js-pure/internals/iterate.js': function node_modulesCoreJsPureInternalsIterateJs(module, exports, __webpack_require__) {
-1 25847 var anObject = __webpack_require__('./node_modules/core-js-pure/internals/an-object.js');
-1 25848 var isArrayIteratorMethod = __webpack_require__('./node_modules/core-js-pure/internals/is-array-iterator-method.js');
-1 25849 var toLength = __webpack_require__('./node_modules/core-js-pure/internals/to-length.js');
-1 25850 var bind = __webpack_require__('./node_modules/core-js-pure/internals/function-bind-context.js');
-1 25851 var getIteratorMethod = __webpack_require__('./node_modules/core-js-pure/internals/get-iterator-method.js');
-1 25852 var callWithSafeIterationClosing = __webpack_require__('./node_modules/core-js-pure/internals/call-with-safe-iteration-closing.js');
-1 25853 var Result = function Result(stopped, result) {
-1 25854 this.stopped = stopped;
-1 25855 this.result = result;
-1 25856 };
-1 25857 var iterate = module.exports = function(iterable, fn, that, AS_ENTRIES, IS_ITERATOR) {
-1 25858 var boundFunction = bind(fn, that, AS_ENTRIES ? 2 : 1);
-1 25859 var iterator, iterFn, index, length, result, next, step;
-1 25860 if (IS_ITERATOR) {
-1 25861 iterator = iterable;
-1 25862 } else {
-1 25863 iterFn = getIteratorMethod(iterable);
-1 25864 if (typeof iterFn != 'function') {
-1 25865 throw TypeError('Target is not iterable');
-1 25866 }
-1 25867 if (isArrayIteratorMethod(iterFn)) {
-1 25868 for (index = 0, length = toLength(iterable.length); length > index; index++) {
-1 25869 result = AS_ENTRIES ? boundFunction(anObject(step = iterable[index])[0], step[1]) : boundFunction(iterable[index]);
-1 25870 if (result && result instanceof Result) {
-1 25871 return result;
-1 25872 }
-1 25873 }
-1 25874 return new Result(false);
-1 25875 }
-1 25876 iterator = iterFn.call(iterable);
15046 25877 }
15047 -1 allowed = axe.commons.aria.allowedAttr(role);
15048 -1 if (Array.isArray(options[role])) {
15049 -1 allowed = axe.utils.uniqueArray(options[role].concat(allowed));
-1 25878 next = iterator.next;
-1 25879 while (!(step = next.call(iterator)).done) {
-1 25880 result = callWithSafeIterationClosing(iterator, boundFunction, step.value, AS_ENTRIES);
-1 25881 if (_typeof(result) == 'object' && result && result instanceof Result) {
-1 25882 return result;
-1 25883 }
15050 25884 }
15051 -1 if (role && allowed) {
15052 -1 for (var i = 0, l = attrs.length; i < l; i++) {
15053 -1 attr = attrs[i];
15054 -1 attrName = attr.name;
15055 -1 if (axe.commons.aria.validateAttr(attrName) && !allowed.includes(attrName)) {
15056 -1 invalid.push(attrName + '="' + attr.nodeValue + '"');
15057 -1 }
-1 25885 return new Result(false);
-1 25886 };
-1 25887 iterate.stop = function(result) {
-1 25888 return new Result(true, result);
-1 25889 };
-1 25890 },
-1 25891 './node_modules/core-js-pure/internals/iterators-core.js': function node_modulesCoreJsPureInternalsIteratorsCoreJs(module, exports, __webpack_require__) {
-1 25892 'use strict';
-1 25893 var getPrototypeOf = __webpack_require__('./node_modules/core-js-pure/internals/object-get-prototype-of.js');
-1 25894 var createNonEnumerableProperty = __webpack_require__('./node_modules/core-js-pure/internals/create-non-enumerable-property.js');
-1 25895 var has = __webpack_require__('./node_modules/core-js-pure/internals/has.js');
-1 25896 var wellKnownSymbol = __webpack_require__('./node_modules/core-js-pure/internals/well-known-symbol.js');
-1 25897 var IS_PURE = __webpack_require__('./node_modules/core-js-pure/internals/is-pure.js');
-1 25898 var ITERATOR = wellKnownSymbol('iterator');
-1 25899 var BUGGY_SAFARI_ITERATORS = false;
-1 25900 var returnThis = function returnThis() {
-1 25901 return this;
-1 25902 };
-1 25903 var IteratorPrototype, PrototypeOfArrayIteratorPrototype, arrayIterator;
-1 25904 if ([].keys) {
-1 25905 arrayIterator = [].keys();
-1 25906 if (!('next' in arrayIterator)) {
-1 25907 BUGGY_SAFARI_ITERATORS = true;
-1 25908 } else {
-1 25909 PrototypeOfArrayIteratorPrototype = getPrototypeOf(getPrototypeOf(arrayIterator));
-1 25910 if (PrototypeOfArrayIteratorPrototype !== Object.prototype) {
-1 25911 IteratorPrototype = PrototypeOfArrayIteratorPrototype;
15058 25912 }
15059 25913 }
15060 -1 if (invalid.length) {
15061 -1 this.data(invalid);
15062 -1 return false;
-1 25914 }
-1 25915 if (IteratorPrototype == undefined) {
-1 25916 IteratorPrototype = {};
-1 25917 }
-1 25918 if (!IS_PURE && !has(IteratorPrototype, ITERATOR)) {
-1 25919 createNonEnumerableProperty(IteratorPrototype, ITERATOR, returnThis);
-1 25920 }
-1 25921 module.exports = {
-1 25922 IteratorPrototype: IteratorPrototype,
-1 25923 BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS
-1 25924 };
-1 25925 },
-1 25926 './node_modules/core-js-pure/internals/iterators.js': function node_modulesCoreJsPureInternalsIteratorsJs(module, exports) {
-1 25927 module.exports = {};
-1 25928 },
-1 25929 './node_modules/core-js-pure/internals/microtask.js': function node_modulesCoreJsPureInternalsMicrotaskJs(module, exports, __webpack_require__) {
-1 25930 var global = __webpack_require__('./node_modules/core-js-pure/internals/global.js');
-1 25931 var getOwnPropertyDescriptor = __webpack_require__('./node_modules/core-js-pure/internals/object-get-own-property-descriptor.js').f;
-1 25932 var classof = __webpack_require__('./node_modules/core-js-pure/internals/classof-raw.js');
-1 25933 var macrotask = __webpack_require__('./node_modules/core-js-pure/internals/task.js').set;
-1 25934 var IS_IOS = __webpack_require__('./node_modules/core-js-pure/internals/engine-is-ios.js');
-1 25935 var MutationObserver = global.MutationObserver || global.WebKitMutationObserver;
-1 25936 var process = global.process;
-1 25937 var Promise = global.Promise;
-1 25938 var IS_NODE = classof(process) == 'process';
-1 25939 var queueMicrotaskDescriptor = getOwnPropertyDescriptor(global, 'queueMicrotask');
-1 25940 var queueMicrotask = queueMicrotaskDescriptor && queueMicrotaskDescriptor.value;
-1 25941 var flush, head, last, notify, toggle, node, promise, then;
-1 25942 if (!queueMicrotask) {
-1 25943 flush = function flush() {
-1 25944 var parent, fn;
-1 25945 if (IS_NODE && (parent = process.domain)) {
-1 25946 parent.exit();
-1 25947 }
-1 25948 while (head) {
-1 25949 fn = head.fn;
-1 25950 head = head.next;
-1 25951 try {
-1 25952 fn();
-1 25953 } catch (error) {
-1 25954 if (head) {
-1 25955 notify();
-1 25956 } else {
-1 25957 last = undefined;
-1 25958 }
-1 25959 throw error;
-1 25960 }
-1 25961 }
-1 25962 last = undefined;
-1 25963 if (parent) {
-1 25964 parent.enter();
-1 25965 }
-1 25966 };
-1 25967 if (IS_NODE) {
-1 25968 notify = function notify() {
-1 25969 process.nextTick(flush);
-1 25970 };
-1 25971 } else if (MutationObserver && !IS_IOS) {
-1 25972 toggle = true;
-1 25973 node = document.createTextNode('');
-1 25974 new MutationObserver(flush).observe(node, {
-1 25975 characterData: true
-1 25976 });
-1 25977 notify = function notify() {
-1 25978 node.data = toggle = !toggle;
-1 25979 };
-1 25980 } else if (Promise && Promise.resolve) {
-1 25981 promise = Promise.resolve(undefined);
-1 25982 then = promise.then;
-1 25983 notify = function notify() {
-1 25984 then.call(promise, flush);
-1 25985 };
-1 25986 } else {
-1 25987 notify = function notify() {
-1 25988 macrotask.call(global, flush);
-1 25989 };
15063 25990 }
15064 -1 return true;
15065 25991 }
15066 -1 }, {
15067 -1 id: 'aria-allowed-role',
15068 -1 evaluate: function evaluate(node, options, virtualNode, context) {
15069 -1 var dom = axe.commons.dom;
15070 -1 var _ref = options || {}, _ref$allowImplicit = _ref.allowImplicit, allowImplicit = _ref$allowImplicit === undefined ? true : _ref$allowImplicit, _ref$ignoredTags = _ref.ignoredTags, ignoredTags = _ref$ignoredTags === undefined ? [] : _ref$ignoredTags;
15071 -1 var tagName = node.nodeName.toUpperCase();
15072 -1 if (ignoredTags.map(function(t) {
15073 -1 return t.toUpperCase();
15074 -1 }).includes(tagName)) {
15075 -1 return true;
-1 25992 module.exports = queueMicrotask || function(fn) {
-1 25993 var task = {
-1 25994 fn: fn,
-1 25995 next: undefined
-1 25996 };
-1 25997 if (last) {
-1 25998 last.next = task;
15076 25999 }
15077 -1 var unallowedRoles = axe.commons.aria.getElementUnallowedRoles(node, allowImplicit);
15078 -1 if (unallowedRoles.length) {
15079 -1 this.data(unallowedRoles);
15080 -1 if (!dom.isVisible(node, true)) {
15081 -1 return undefined;
-1 26000 if (!head) {
-1 26001 head = task;
-1 26002 notify();
-1 26003 }
-1 26004 last = task;
-1 26005 };
-1 26006 },
-1 26007 './node_modules/core-js-pure/internals/native-promise-constructor.js': function node_modulesCoreJsPureInternalsNativePromiseConstructorJs(module, exports, __webpack_require__) {
-1 26008 var global = __webpack_require__('./node_modules/core-js-pure/internals/global.js');
-1 26009 module.exports = global.Promise;
-1 26010 },
-1 26011 './node_modules/core-js-pure/internals/native-symbol.js': function node_modulesCoreJsPureInternalsNativeSymbolJs(module, exports, __webpack_require__) {
-1 26012 var fails = __webpack_require__('./node_modules/core-js-pure/internals/fails.js');
-1 26013 module.exports = !!Object.getOwnPropertySymbols && !fails(function() {
-1 26014 return !String(Symbol());
-1 26015 });
-1 26016 },
-1 26017 './node_modules/core-js-pure/internals/native-weak-map.js': function node_modulesCoreJsPureInternalsNativeWeakMapJs(module, exports, __webpack_require__) {
-1 26018 var global = __webpack_require__('./node_modules/core-js-pure/internals/global.js');
-1 26019 var inspectSource = __webpack_require__('./node_modules/core-js-pure/internals/inspect-source.js');
-1 26020 var WeakMap = global.WeakMap;
-1 26021 module.exports = typeof WeakMap === 'function' && /native code/.test(inspectSource(WeakMap));
-1 26022 },
-1 26023 './node_modules/core-js-pure/internals/new-promise-capability.js': function node_modulesCoreJsPureInternalsNewPromiseCapabilityJs(module, exports, __webpack_require__) {
-1 26024 'use strict';
-1 26025 var aFunction = __webpack_require__('./node_modules/core-js-pure/internals/a-function.js');
-1 26026 var PromiseCapability = function PromiseCapability(C) {
-1 26027 var resolve, reject;
-1 26028 this.promise = new C(function($$resolve, $$reject) {
-1 26029 if (resolve !== undefined || reject !== undefined) {
-1 26030 throw TypeError('Bad Promise constructor');
-1 26031 }
-1 26032 resolve = $$resolve;
-1 26033 reject = $$reject;
-1 26034 });
-1 26035 this.resolve = aFunction(resolve);
-1 26036 this.reject = aFunction(reject);
-1 26037 };
-1 26038 module.exports.f = function(C) {
-1 26039 return new PromiseCapability(C);
-1 26040 };
-1 26041 },
-1 26042 './node_modules/core-js-pure/internals/object-create.js': function node_modulesCoreJsPureInternalsObjectCreateJs(module, exports, __webpack_require__) {
-1 26043 var anObject = __webpack_require__('./node_modules/core-js-pure/internals/an-object.js');
-1 26044 var defineProperties = __webpack_require__('./node_modules/core-js-pure/internals/object-define-properties.js');
-1 26045 var enumBugKeys = __webpack_require__('./node_modules/core-js-pure/internals/enum-bug-keys.js');
-1 26046 var hiddenKeys = __webpack_require__('./node_modules/core-js-pure/internals/hidden-keys.js');
-1 26047 var html = __webpack_require__('./node_modules/core-js-pure/internals/html.js');
-1 26048 var documentCreateElement = __webpack_require__('./node_modules/core-js-pure/internals/document-create-element.js');
-1 26049 var sharedKey = __webpack_require__('./node_modules/core-js-pure/internals/shared-key.js');
-1 26050 var GT = '>';
-1 26051 var LT = '<';
-1 26052 var PROTOTYPE = 'prototype';
-1 26053 var SCRIPT = 'script';
-1 26054 var IE_PROTO = sharedKey('IE_PROTO');
-1 26055 var EmptyConstructor = function EmptyConstructor() {};
-1 26056 var scriptTag = function scriptTag(content) {
-1 26057 return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;
-1 26058 };
-1 26059 var NullProtoObjectViaActiveX = function NullProtoObjectViaActiveX(activeXDocument) {
-1 26060 activeXDocument.write(scriptTag(''));
-1 26061 activeXDocument.close();
-1 26062 var temp = activeXDocument.parentWindow.Object;
-1 26063 activeXDocument = null;
-1 26064 return temp;
-1 26065 };
-1 26066 var NullProtoObjectViaIFrame = function NullProtoObjectViaIFrame() {
-1 26067 var iframe = documentCreateElement('iframe');
-1 26068 var JS = 'java' + SCRIPT + ':';
-1 26069 var iframeDocument;
-1 26070 iframe.style.display = 'none';
-1 26071 html.appendChild(iframe);
-1 26072 iframe.src = String(JS);
-1 26073 iframeDocument = iframe.contentWindow.document;
-1 26074 iframeDocument.open();
-1 26075 iframeDocument.write(scriptTag('document.F=Object'));
-1 26076 iframeDocument.close();
-1 26077 return iframeDocument.F;
-1 26078 };
-1 26079 var activeXDocument;
-1 26080 var _NullProtoObject = function NullProtoObject() {
-1 26081 try {
-1 26082 activeXDocument = document.domain && new ActiveXObject('htmlfile');
-1 26083 } catch (error) {}
-1 26084 _NullProtoObject = activeXDocument ? NullProtoObjectViaActiveX(activeXDocument) : NullProtoObjectViaIFrame();
-1 26085 var length = enumBugKeys.length;
-1 26086 while (length--) {
-1 26087 delete _NullProtoObject[PROTOTYPE][enumBugKeys[length]];
-1 26088 }
-1 26089 return _NullProtoObject();
-1 26090 };
-1 26091 hiddenKeys[IE_PROTO] = true;
-1 26092 module.exports = Object.create || function create(O, Properties) {
-1 26093 var result;
-1 26094 if (O !== null) {
-1 26095 EmptyConstructor[PROTOTYPE] = anObject(O);
-1 26096 result = new EmptyConstructor();
-1 26097 EmptyConstructor[PROTOTYPE] = null;
-1 26098 result[IE_PROTO] = O;
-1 26099 } else {
-1 26100 result = _NullProtoObject();
-1 26101 }
-1 26102 return Properties === undefined ? result : defineProperties(result, Properties);
-1 26103 };
-1 26104 },
-1 26105 './node_modules/core-js-pure/internals/object-define-properties.js': function node_modulesCoreJsPureInternalsObjectDefinePropertiesJs(module, exports, __webpack_require__) {
-1 26106 var DESCRIPTORS = __webpack_require__('./node_modules/core-js-pure/internals/descriptors.js');
-1 26107 var definePropertyModule = __webpack_require__('./node_modules/core-js-pure/internals/object-define-property.js');
-1 26108 var anObject = __webpack_require__('./node_modules/core-js-pure/internals/an-object.js');
-1 26109 var objectKeys = __webpack_require__('./node_modules/core-js-pure/internals/object-keys.js');
-1 26110 module.exports = DESCRIPTORS ? Object.defineProperties : function defineProperties(O, Properties) {
-1 26111 anObject(O);
-1 26112 var keys = objectKeys(Properties);
-1 26113 var length = keys.length;
-1 26114 var index = 0;
-1 26115 var key;
-1 26116 while (length > index) {
-1 26117 definePropertyModule.f(O, key = keys[index++], Properties[key]);
-1 26118 }
-1 26119 return O;
-1 26120 };
-1 26121 },
-1 26122 './node_modules/core-js-pure/internals/object-define-property.js': function node_modulesCoreJsPureInternalsObjectDefinePropertyJs(module, exports, __webpack_require__) {
-1 26123 var DESCRIPTORS = __webpack_require__('./node_modules/core-js-pure/internals/descriptors.js');
-1 26124 var IE8_DOM_DEFINE = __webpack_require__('./node_modules/core-js-pure/internals/ie8-dom-define.js');
-1 26125 var anObject = __webpack_require__('./node_modules/core-js-pure/internals/an-object.js');
-1 26126 var toPrimitive = __webpack_require__('./node_modules/core-js-pure/internals/to-primitive.js');
-1 26127 var nativeDefineProperty = Object.defineProperty;
-1 26128 exports.f = DESCRIPTORS ? nativeDefineProperty : function defineProperty(O, P, Attributes) {
-1 26129 anObject(O);
-1 26130 P = toPrimitive(P, true);
-1 26131 anObject(Attributes);
-1 26132 if (IE8_DOM_DEFINE) {
-1 26133 try {
-1 26134 return nativeDefineProperty(O, P, Attributes);
-1 26135 } catch (error) {}
-1 26136 }
-1 26137 if ('get' in Attributes || 'set' in Attributes) {
-1 26138 throw TypeError('Accessors not supported');
-1 26139 }
-1 26140 if ('value' in Attributes) {
-1 26141 O[P] = Attributes.value;
-1 26142 }
-1 26143 return O;
-1 26144 };
-1 26145 },
-1 26146 './node_modules/core-js-pure/internals/object-get-own-property-descriptor.js': function node_modulesCoreJsPureInternalsObjectGetOwnPropertyDescriptorJs(module, exports, __webpack_require__) {
-1 26147 var DESCRIPTORS = __webpack_require__('./node_modules/core-js-pure/internals/descriptors.js');
-1 26148 var propertyIsEnumerableModule = __webpack_require__('./node_modules/core-js-pure/internals/object-property-is-enumerable.js');
-1 26149 var createPropertyDescriptor = __webpack_require__('./node_modules/core-js-pure/internals/create-property-descriptor.js');
-1 26150 var toIndexedObject = __webpack_require__('./node_modules/core-js-pure/internals/to-indexed-object.js');
-1 26151 var toPrimitive = __webpack_require__('./node_modules/core-js-pure/internals/to-primitive.js');
-1 26152 var has = __webpack_require__('./node_modules/core-js-pure/internals/has.js');
-1 26153 var IE8_DOM_DEFINE = __webpack_require__('./node_modules/core-js-pure/internals/ie8-dom-define.js');
-1 26154 var nativeGetOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
-1 26155 exports.f = DESCRIPTORS ? nativeGetOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {
-1 26156 O = toIndexedObject(O);
-1 26157 P = toPrimitive(P, true);
-1 26158 if (IE8_DOM_DEFINE) {
-1 26159 try {
-1 26160 return nativeGetOwnPropertyDescriptor(O, P);
-1 26161 } catch (error) {}
-1 26162 }
-1 26163 if (has(O, P)) {
-1 26164 return createPropertyDescriptor(!propertyIsEnumerableModule.f.call(O, P), O[P]);
-1 26165 }
-1 26166 };
-1 26167 },
-1 26168 './node_modules/core-js-pure/internals/object-get-prototype-of.js': function node_modulesCoreJsPureInternalsObjectGetPrototypeOfJs(module, exports, __webpack_require__) {
-1 26169 var has = __webpack_require__('./node_modules/core-js-pure/internals/has.js');
-1 26170 var toObject = __webpack_require__('./node_modules/core-js-pure/internals/to-object.js');
-1 26171 var sharedKey = __webpack_require__('./node_modules/core-js-pure/internals/shared-key.js');
-1 26172 var CORRECT_PROTOTYPE_GETTER = __webpack_require__('./node_modules/core-js-pure/internals/correct-prototype-getter.js');
-1 26173 var IE_PROTO = sharedKey('IE_PROTO');
-1 26174 var ObjectPrototype = Object.prototype;
-1 26175 module.exports = CORRECT_PROTOTYPE_GETTER ? Object.getPrototypeOf : function(O) {
-1 26176 O = toObject(O);
-1 26177 if (has(O, IE_PROTO)) {
-1 26178 return O[IE_PROTO];
-1 26179 }
-1 26180 if (typeof O.constructor == 'function' && O instanceof O.constructor) {
-1 26181 return O.constructor.prototype;
-1 26182 }
-1 26183 return O instanceof Object ? ObjectPrototype : null;
-1 26184 };
-1 26185 },
-1 26186 './node_modules/core-js-pure/internals/object-keys-internal.js': function node_modulesCoreJsPureInternalsObjectKeysInternalJs(module, exports, __webpack_require__) {
-1 26187 var has = __webpack_require__('./node_modules/core-js-pure/internals/has.js');
-1 26188 var toIndexedObject = __webpack_require__('./node_modules/core-js-pure/internals/to-indexed-object.js');
-1 26189 var indexOf = __webpack_require__('./node_modules/core-js-pure/internals/array-includes.js').indexOf;
-1 26190 var hiddenKeys = __webpack_require__('./node_modules/core-js-pure/internals/hidden-keys.js');
-1 26191 module.exports = function(object, names) {
-1 26192 var O = toIndexedObject(object);
-1 26193 var i = 0;
-1 26194 var result = [];
-1 26195 var key;
-1 26196 for (key in O) {
-1 26197 !has(hiddenKeys, key) && has(O, key) && result.push(key);
-1 26198 }
-1 26199 while (names.length > i) {
-1 26200 if (has(O, key = names[i++])) {
-1 26201 ~indexOf(result, key) || result.push(key);
15082 26202 }
15083 -1 return false;
15084 26203 }
15085 -1 return true;
15086 -1 },
15087 -1 options: {
15088 -1 allowImplicit: true,
15089 -1 ignoredTags: []
15090 -1 }
15091 -1 }, {
15092 -1 id: 'aria-hidden-body',
15093 -1 evaluate: function evaluate(node, options, virtualNode, context) {
15094 -1 return node.getAttribute('aria-hidden') !== 'true';
15095 -1 }
15096 -1 }, {
15097 -1 id: 'aria-errormessage',
15098 -1 evaluate: function evaluate(node, options, virtualNode, context) {
15099 -1 var _axe$commons5 = axe.commons, aria = _axe$commons5.aria, dom = _axe$commons5.dom;
15100 -1 options = Array.isArray(options) ? options : [];
15101 -1 var attr = node.getAttribute('aria-errormessage');
15102 -1 var hasAttr = node.hasAttribute('aria-errormessage');
15103 -1 var doc = dom.getRootNode(node);
15104 -1 function validateAttrValue(attr) {
15105 -1 if (attr.trim() === '') {
15106 -1 return aria.lookupTable.attributes['aria-errormessage'].allowEmpty;
-1 26204 return result;
-1 26205 };
-1 26206 },
-1 26207 './node_modules/core-js-pure/internals/object-keys.js': function node_modulesCoreJsPureInternalsObjectKeysJs(module, exports, __webpack_require__) {
-1 26208 var internalObjectKeys = __webpack_require__('./node_modules/core-js-pure/internals/object-keys-internal.js');
-1 26209 var enumBugKeys = __webpack_require__('./node_modules/core-js-pure/internals/enum-bug-keys.js');
-1 26210 module.exports = Object.keys || function keys(O) {
-1 26211 return internalObjectKeys(O, enumBugKeys);
-1 26212 };
-1 26213 },
-1 26214 './node_modules/core-js-pure/internals/object-property-is-enumerable.js': function node_modulesCoreJsPureInternalsObjectPropertyIsEnumerableJs(module, exports, __webpack_require__) {
-1 26215 'use strict';
-1 26216 var nativePropertyIsEnumerable = {}.propertyIsEnumerable;
-1 26217 var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
-1 26218 var NASHORN_BUG = getOwnPropertyDescriptor && !nativePropertyIsEnumerable.call({
-1 26219 1: 2
-1 26220 }, 1);
-1 26221 exports.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
-1 26222 var descriptor = getOwnPropertyDescriptor(this, V);
-1 26223 return !!descriptor && descriptor.enumerable;
-1 26224 } : nativePropertyIsEnumerable;
-1 26225 },
-1 26226 './node_modules/core-js-pure/internals/object-set-prototype-of.js': function node_modulesCoreJsPureInternalsObjectSetPrototypeOfJs(module, exports, __webpack_require__) {
-1 26227 var anObject = __webpack_require__('./node_modules/core-js-pure/internals/an-object.js');
-1 26228 var aPossiblePrototype = __webpack_require__('./node_modules/core-js-pure/internals/a-possible-prototype.js');
-1 26229 module.exports = Object.setPrototypeOf || ('__proto__' in {} ? function() {
-1 26230 var CORRECT_SETTER = false;
-1 26231 var test = {};
-1 26232 var setter;
-1 26233 try {
-1 26234 setter = Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set;
-1 26235 setter.call(test, []);
-1 26236 CORRECT_SETTER = test instanceof Array;
-1 26237 } catch (error) {}
-1 26238 return function setPrototypeOf(O, proto) {
-1 26239 anObject(O);
-1 26240 aPossiblePrototype(proto);
-1 26241 if (CORRECT_SETTER) {
-1 26242 setter.call(O, proto);
-1 26243 } else {
-1 26244 O.__proto__ = proto;
15107 26245 }
15108 -1 var idref = attr && doc.getElementById(attr);
15109 -1 if (idref) {
15110 -1 return idref.getAttribute('role') === 'alert' || idref.getAttribute('aria-live') === 'assertive' || axe.utils.tokenList(node.getAttribute('aria-describedby') || '').indexOf(attr) > -1;
-1 26246 return O;
-1 26247 };
-1 26248 }() : undefined);
-1 26249 },
-1 26250 './node_modules/core-js-pure/internals/object-to-string.js': function node_modulesCoreJsPureInternalsObjectToStringJs(module, exports, __webpack_require__) {
-1 26251 'use strict';
-1 26252 var TO_STRING_TAG_SUPPORT = __webpack_require__('./node_modules/core-js-pure/internals/to-string-tag-support.js');
-1 26253 var classof = __webpack_require__('./node_modules/core-js-pure/internals/classof.js');
-1 26254 module.exports = TO_STRING_TAG_SUPPORT ? {}.toString : function toString() {
-1 26255 return '[object ' + classof(this) + ']';
-1 26256 };
-1 26257 },
-1 26258 './node_modules/core-js-pure/internals/path.js': function node_modulesCoreJsPureInternalsPathJs(module, exports) {
-1 26259 module.exports = {};
-1 26260 },
-1 26261 './node_modules/core-js-pure/internals/perform.js': function node_modulesCoreJsPureInternalsPerformJs(module, exports) {
-1 26262 module.exports = function(exec) {
-1 26263 try {
-1 26264 return {
-1 26265 error: false,
-1 26266 value: exec()
-1 26267 };
-1 26268 } catch (error) {
-1 26269 return {
-1 26270 error: true,
-1 26271 value: error
-1 26272 };
-1 26273 }
-1 26274 };
-1 26275 },
-1 26276 './node_modules/core-js-pure/internals/promise-resolve.js': function node_modulesCoreJsPureInternalsPromiseResolveJs(module, exports, __webpack_require__) {
-1 26277 var anObject = __webpack_require__('./node_modules/core-js-pure/internals/an-object.js');
-1 26278 var isObject = __webpack_require__('./node_modules/core-js-pure/internals/is-object.js');
-1 26279 var newPromiseCapability = __webpack_require__('./node_modules/core-js-pure/internals/new-promise-capability.js');
-1 26280 module.exports = function(C, x) {
-1 26281 anObject(C);
-1 26282 if (isObject(x) && x.constructor === C) {
-1 26283 return x;
-1 26284 }
-1 26285 var promiseCapability = newPromiseCapability.f(C);
-1 26286 var resolve = promiseCapability.resolve;
-1 26287 resolve(x);
-1 26288 return promiseCapability.promise;
-1 26289 };
-1 26290 },
-1 26291 './node_modules/core-js-pure/internals/redefine-all.js': function node_modulesCoreJsPureInternalsRedefineAllJs(module, exports, __webpack_require__) {
-1 26292 var redefine = __webpack_require__('./node_modules/core-js-pure/internals/redefine.js');
-1 26293 module.exports = function(target, src, options) {
-1 26294 for (var key in src) {
-1 26295 if (options && options.unsafe && target[key]) {
-1 26296 target[key] = src[key];
-1 26297 } else {
-1 26298 redefine(target, key, src[key], options);
15111 26299 }
15112 26300 }
15113 -1 if (options.indexOf(attr) === -1 && hasAttr) {
15114 -1 if (!validateAttrValue(attr)) {
15115 -1 this.data(axe.utils.tokenList(attr));
15116 -1 return false;
-1 26301 return target;
-1 26302 };
-1 26303 },
-1 26304 './node_modules/core-js-pure/internals/redefine.js': function node_modulesCoreJsPureInternalsRedefineJs(module, exports, __webpack_require__) {
-1 26305 var createNonEnumerableProperty = __webpack_require__('./node_modules/core-js-pure/internals/create-non-enumerable-property.js');
-1 26306 module.exports = function(target, key, value, options) {
-1 26307 if (options && options.enumerable) {
-1 26308 target[key] = value;
-1 26309 } else {
-1 26310 createNonEnumerableProperty(target, key, value);
-1 26311 }
-1 26312 };
-1 26313 },
-1 26314 './node_modules/core-js-pure/internals/require-object-coercible.js': function node_modulesCoreJsPureInternalsRequireObjectCoercibleJs(module, exports) {
-1 26315 module.exports = function(it) {
-1 26316 if (it == undefined) {
-1 26317 throw TypeError('Can\'t call method on ' + it);
-1 26318 }
-1 26319 return it;
-1 26320 };
-1 26321 },
-1 26322 './node_modules/core-js-pure/internals/set-global.js': function node_modulesCoreJsPureInternalsSetGlobalJs(module, exports, __webpack_require__) {
-1 26323 var global = __webpack_require__('./node_modules/core-js-pure/internals/global.js');
-1 26324 var createNonEnumerableProperty = __webpack_require__('./node_modules/core-js-pure/internals/create-non-enumerable-property.js');
-1 26325 module.exports = function(key, value) {
-1 26326 try {
-1 26327 createNonEnumerableProperty(global, key, value);
-1 26328 } catch (error) {
-1 26329 global[key] = value;
-1 26330 }
-1 26331 return value;
-1 26332 };
-1 26333 },
-1 26334 './node_modules/core-js-pure/internals/set-species.js': function node_modulesCoreJsPureInternalsSetSpeciesJs(module, exports, __webpack_require__) {
-1 26335 'use strict';
-1 26336 var getBuiltIn = __webpack_require__('./node_modules/core-js-pure/internals/get-built-in.js');
-1 26337 var definePropertyModule = __webpack_require__('./node_modules/core-js-pure/internals/object-define-property.js');
-1 26338 var wellKnownSymbol = __webpack_require__('./node_modules/core-js-pure/internals/well-known-symbol.js');
-1 26339 var DESCRIPTORS = __webpack_require__('./node_modules/core-js-pure/internals/descriptors.js');
-1 26340 var SPECIES = wellKnownSymbol('species');
-1 26341 module.exports = function(CONSTRUCTOR_NAME) {
-1 26342 var Constructor = getBuiltIn(CONSTRUCTOR_NAME);
-1 26343 var defineProperty = definePropertyModule.f;
-1 26344 if (DESCRIPTORS && Constructor && !Constructor[SPECIES]) {
-1 26345 defineProperty(Constructor, SPECIES, {
-1 26346 configurable: true,
-1 26347 get: function get() {
-1 26348 return this;
-1 26349 }
-1 26350 });
-1 26351 }
-1 26352 };
-1 26353 },
-1 26354 './node_modules/core-js-pure/internals/set-to-string-tag.js': function node_modulesCoreJsPureInternalsSetToStringTagJs(module, exports, __webpack_require__) {
-1 26355 var TO_STRING_TAG_SUPPORT = __webpack_require__('./node_modules/core-js-pure/internals/to-string-tag-support.js');
-1 26356 var defineProperty = __webpack_require__('./node_modules/core-js-pure/internals/object-define-property.js').f;
-1 26357 var createNonEnumerableProperty = __webpack_require__('./node_modules/core-js-pure/internals/create-non-enumerable-property.js');
-1 26358 var has = __webpack_require__('./node_modules/core-js-pure/internals/has.js');
-1 26359 var toString = __webpack_require__('./node_modules/core-js-pure/internals/object-to-string.js');
-1 26360 var wellKnownSymbol = __webpack_require__('./node_modules/core-js-pure/internals/well-known-symbol.js');
-1 26361 var TO_STRING_TAG = wellKnownSymbol('toStringTag');
-1 26362 module.exports = function(it, TAG, STATIC, SET_METHOD) {
-1 26363 if (it) {
-1 26364 var target = STATIC ? it : it.prototype;
-1 26365 if (!has(target, TO_STRING_TAG)) {
-1 26366 defineProperty(target, TO_STRING_TAG, {
-1 26367 configurable: true,
-1 26368 value: TAG
-1 26369 });
-1 26370 }
-1 26371 if (SET_METHOD && !TO_STRING_TAG_SUPPORT) {
-1 26372 createNonEnumerableProperty(target, 'toString', toString);
15117 26373 }
15118 26374 }
15119 -1 return true;
-1 26375 };
-1 26376 },
-1 26377 './node_modules/core-js-pure/internals/shared-key.js': function node_modulesCoreJsPureInternalsSharedKeyJs(module, exports, __webpack_require__) {
-1 26378 var shared = __webpack_require__('./node_modules/core-js-pure/internals/shared.js');
-1 26379 var uid = __webpack_require__('./node_modules/core-js-pure/internals/uid.js');
-1 26380 var keys = shared('keys');
-1 26381 module.exports = function(key) {
-1 26382 return keys[key] || (keys[key] = uid(key));
-1 26383 };
-1 26384 },
-1 26385 './node_modules/core-js-pure/internals/shared-store.js': function node_modulesCoreJsPureInternalsSharedStoreJs(module, exports, __webpack_require__) {
-1 26386 var global = __webpack_require__('./node_modules/core-js-pure/internals/global.js');
-1 26387 var setGlobal = __webpack_require__('./node_modules/core-js-pure/internals/set-global.js');
-1 26388 var SHARED = '__core-js_shared__';
-1 26389 var store = global[SHARED] || setGlobal(SHARED, {});
-1 26390 module.exports = store;
-1 26391 },
-1 26392 './node_modules/core-js-pure/internals/shared.js': function node_modulesCoreJsPureInternalsSharedJs(module, exports, __webpack_require__) {
-1 26393 var IS_PURE = __webpack_require__('./node_modules/core-js-pure/internals/is-pure.js');
-1 26394 var store = __webpack_require__('./node_modules/core-js-pure/internals/shared-store.js');
-1 26395 (module.exports = function(key, value) {
-1 26396 return store[key] || (store[key] = value !== undefined ? value : {});
-1 26397 })('versions', []).push({
-1 26398 version: '3.6.4',
-1 26399 mode: IS_PURE ? 'pure' : 'global',
-1 26400 copyright: '\xa9 2020 Denis Pushkarev (zloirock.ru)'
-1 26401 });
-1 26402 },
-1 26403 './node_modules/core-js-pure/internals/species-constructor.js': function node_modulesCoreJsPureInternalsSpeciesConstructorJs(module, exports, __webpack_require__) {
-1 26404 var anObject = __webpack_require__('./node_modules/core-js-pure/internals/an-object.js');
-1 26405 var aFunction = __webpack_require__('./node_modules/core-js-pure/internals/a-function.js');
-1 26406 var wellKnownSymbol = __webpack_require__('./node_modules/core-js-pure/internals/well-known-symbol.js');
-1 26407 var SPECIES = wellKnownSymbol('species');
-1 26408 module.exports = function(O, defaultConstructor) {
-1 26409 var C = anObject(O).constructor;
-1 26410 var S;
-1 26411 return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? defaultConstructor : aFunction(S);
-1 26412 };
-1 26413 },
-1 26414 './node_modules/core-js-pure/internals/string-multibyte.js': function node_modulesCoreJsPureInternalsStringMultibyteJs(module, exports, __webpack_require__) {
-1 26415 var toInteger = __webpack_require__('./node_modules/core-js-pure/internals/to-integer.js');
-1 26416 var requireObjectCoercible = __webpack_require__('./node_modules/core-js-pure/internals/require-object-coercible.js');
-1 26417 var createMethod = function createMethod(CONVERT_TO_STRING) {
-1 26418 return function($this, pos) {
-1 26419 var S = String(requireObjectCoercible($this));
-1 26420 var position = toInteger(pos);
-1 26421 var size = S.length;
-1 26422 var first, second;
-1 26423 if (position < 0 || position >= size) {
-1 26424 return CONVERT_TO_STRING ? '' : undefined;
-1 26425 }
-1 26426 first = S.charCodeAt(position);
-1 26427 return first < 55296 || first > 56319 || position + 1 === size || (second = S.charCodeAt(position + 1)) < 56320 || second > 57343 ? CONVERT_TO_STRING ? S.charAt(position) : first : CONVERT_TO_STRING ? S.slice(position, position + 2) : (first - 55296 << 10) + (second - 56320) + 65536;
-1 26428 };
-1 26429 };
-1 26430 module.exports = {
-1 26431 codeAt: createMethod(false),
-1 26432 charAt: createMethod(true)
-1 26433 };
-1 26434 },
-1 26435 './node_modules/core-js-pure/internals/task.js': function node_modulesCoreJsPureInternalsTaskJs(module, exports, __webpack_require__) {
-1 26436 var global = __webpack_require__('./node_modules/core-js-pure/internals/global.js');
-1 26437 var fails = __webpack_require__('./node_modules/core-js-pure/internals/fails.js');
-1 26438 var classof = __webpack_require__('./node_modules/core-js-pure/internals/classof-raw.js');
-1 26439 var bind = __webpack_require__('./node_modules/core-js-pure/internals/function-bind-context.js');
-1 26440 var html = __webpack_require__('./node_modules/core-js-pure/internals/html.js');
-1 26441 var createElement = __webpack_require__('./node_modules/core-js-pure/internals/document-create-element.js');
-1 26442 var IS_IOS = __webpack_require__('./node_modules/core-js-pure/internals/engine-is-ios.js');
-1 26443 var location = global.location;
-1 26444 var set = global.setImmediate;
-1 26445 var clear = global.clearImmediate;
-1 26446 var process = global.process;
-1 26447 var MessageChannel = global.MessageChannel;
-1 26448 var Dispatch = global.Dispatch;
-1 26449 var counter = 0;
-1 26450 var queue = {};
-1 26451 var ONREADYSTATECHANGE = 'onreadystatechange';
-1 26452 var defer, channel, port;
-1 26453 var run = function run(id) {
-1 26454 if (queue.hasOwnProperty(id)) {
-1 26455 var fn = queue[id];
-1 26456 delete queue[id];
-1 26457 fn();
-1 26458 }
-1 26459 };
-1 26460 var runner = function runner(id) {
-1 26461 return function() {
-1 26462 run(id);
-1 26463 };
-1 26464 };
-1 26465 var listener = function listener(event) {
-1 26466 run(event.data);
-1 26467 };
-1 26468 var post = function post(id) {
-1 26469 global.postMessage(id + '', location.protocol + '//' + location.host);
-1 26470 };
-1 26471 if (!set || !clear) {
-1 26472 set = function setImmediate(fn) {
-1 26473 var args = [];
-1 26474 var i = 1;
-1 26475 while (arguments.length > i) {
-1 26476 args.push(arguments[i++]);
-1 26477 }
-1 26478 queue[++counter] = function() {
-1 26479 (typeof fn == 'function' ? fn : Function(fn)).apply(undefined, args);
-1 26480 };
-1 26481 defer(counter);
-1 26482 return counter;
-1 26483 };
-1 26484 clear = function clearImmediate(id) {
-1 26485 delete queue[id];
-1 26486 };
-1 26487 if (classof(process) == 'process') {
-1 26488 defer = function defer(id) {
-1 26489 process.nextTick(runner(id));
-1 26490 };
-1 26491 } else if (Dispatch && Dispatch.now) {
-1 26492 defer = function defer(id) {
-1 26493 Dispatch.now(runner(id));
-1 26494 };
-1 26495 } else if (MessageChannel && !IS_IOS) {
-1 26496 channel = new MessageChannel();
-1 26497 port = channel.port2;
-1 26498 channel.port1.onmessage = listener;
-1 26499 defer = bind(port.postMessage, port, 1);
-1 26500 } else if (global.addEventListener && typeof postMessage == 'function' && !global.importScripts && !fails(post) && location.protocol !== 'file:') {
-1 26501 defer = post;
-1 26502 global.addEventListener('message', listener, false);
-1 26503 } else if (ONREADYSTATECHANGE in createElement('script')) {
-1 26504 defer = function defer(id) {
-1 26505 html.appendChild(createElement('script'))[ONREADYSTATECHANGE] = function() {
-1 26506 html.removeChild(this);
-1 26507 run(id);
-1 26508 };
-1 26509 };
-1 26510 } else {
-1 26511 defer = function defer(id) {
-1 26512 setTimeout(runner(id), 0);
-1 26513 };
-1 26514 }
15120 26515 }
15121 -1 }, {
15122 -1 id: 'has-widget-role',
15123 -1 evaluate: function evaluate(node, options, virtualNode, context) {
15124 -1 var role = node.getAttribute('role');
15125 -1 if (role === null) {
15126 -1 return false;
-1 26516 module.exports = {
-1 26517 set: set,
-1 26518 clear: clear
-1 26519 };
-1 26520 },
-1 26521 './node_modules/core-js-pure/internals/to-absolute-index.js': function node_modulesCoreJsPureInternalsToAbsoluteIndexJs(module, exports, __webpack_require__) {
-1 26522 var toInteger = __webpack_require__('./node_modules/core-js-pure/internals/to-integer.js');
-1 26523 var max = Math.max;
-1 26524 var min = Math.min;
-1 26525 module.exports = function(index, length) {
-1 26526 var integer = toInteger(index);
-1 26527 return integer < 0 ? max(integer + length, 0) : min(integer, length);
-1 26528 };
-1 26529 },
-1 26530 './node_modules/core-js-pure/internals/to-indexed-object.js': function node_modulesCoreJsPureInternalsToIndexedObjectJs(module, exports, __webpack_require__) {
-1 26531 var IndexedObject = __webpack_require__('./node_modules/core-js-pure/internals/indexed-object.js');
-1 26532 var requireObjectCoercible = __webpack_require__('./node_modules/core-js-pure/internals/require-object-coercible.js');
-1 26533 module.exports = function(it) {
-1 26534 return IndexedObject(requireObjectCoercible(it));
-1 26535 };
-1 26536 },
-1 26537 './node_modules/core-js-pure/internals/to-integer.js': function node_modulesCoreJsPureInternalsToIntegerJs(module, exports) {
-1 26538 var ceil = Math.ceil;
-1 26539 var floor = Math.floor;
-1 26540 module.exports = function(argument) {
-1 26541 return isNaN(argument = +argument) ? 0 : (argument > 0 ? floor : ceil)(argument);
-1 26542 };
-1 26543 },
-1 26544 './node_modules/core-js-pure/internals/to-length.js': function node_modulesCoreJsPureInternalsToLengthJs(module, exports, __webpack_require__) {
-1 26545 var toInteger = __webpack_require__('./node_modules/core-js-pure/internals/to-integer.js');
-1 26546 var min = Math.min;
-1 26547 module.exports = function(argument) {
-1 26548 return argument > 0 ? min(toInteger(argument), 9007199254740991) : 0;
-1 26549 };
-1 26550 },
-1 26551 './node_modules/core-js-pure/internals/to-object.js': function node_modulesCoreJsPureInternalsToObjectJs(module, exports, __webpack_require__) {
-1 26552 var requireObjectCoercible = __webpack_require__('./node_modules/core-js-pure/internals/require-object-coercible.js');
-1 26553 module.exports = function(argument) {
-1 26554 return Object(requireObjectCoercible(argument));
-1 26555 };
-1 26556 },
-1 26557 './node_modules/core-js-pure/internals/to-primitive.js': function node_modulesCoreJsPureInternalsToPrimitiveJs(module, exports, __webpack_require__) {
-1 26558 var isObject = __webpack_require__('./node_modules/core-js-pure/internals/is-object.js');
-1 26559 module.exports = function(input, PREFERRED_STRING) {
-1 26560 if (!isObject(input)) {
-1 26561 return input;
15127 26562 }
15128 -1 var roleType = axe.commons.aria.getRoleType(role);
15129 -1 return roleType === 'widget' || roleType === 'composite';
15130 -1 },
15131 -1 options: []
15132 -1 }, {
15133 -1 id: 'implicit-role-fallback',
15134 -1 evaluate: function evaluate(node, options, virtualNode, context) {
15135 -1 var role = node.getAttribute('role');
15136 -1 if (role === null || !axe.commons.aria.isValidRole(role)) {
15137 -1 return true;
-1 26563 var fn, val;
-1 26564 if (PREFERRED_STRING && typeof (fn = input.toString) == 'function' && !isObject(val = fn.call(input))) {
-1 26565 return val;
-1 26566 }
-1 26567 if (typeof (fn = input.valueOf) == 'function' && !isObject(val = fn.call(input))) {
-1 26568 return val;
-1 26569 }
-1 26570 if (!PREFERRED_STRING && typeof (fn = input.toString) == 'function' && !isObject(val = fn.call(input))) {
-1 26571 return val;
-1 26572 }
-1 26573 throw TypeError('Can\'t convert object to primitive value');
-1 26574 };
-1 26575 },
-1 26576 './node_modules/core-js-pure/internals/to-string-tag-support.js': function node_modulesCoreJsPureInternalsToStringTagSupportJs(module, exports, __webpack_require__) {
-1 26577 var wellKnownSymbol = __webpack_require__('./node_modules/core-js-pure/internals/well-known-symbol.js');
-1 26578 var TO_STRING_TAG = wellKnownSymbol('toStringTag');
-1 26579 var test = {};
-1 26580 test[TO_STRING_TAG] = 'z';
-1 26581 module.exports = String(test) === '[object z]';
-1 26582 },
-1 26583 './node_modules/core-js-pure/internals/uid.js': function node_modulesCoreJsPureInternalsUidJs(module, exports) {
-1 26584 var id = 0;
-1 26585 var postfix = Math.random();
-1 26586 module.exports = function(key) {
-1 26587 return 'Symbol(' + String(key === undefined ? '' : key) + ')_' + (++id + postfix).toString(36);
-1 26588 };
-1 26589 },
-1 26590 './node_modules/core-js-pure/internals/use-symbol-as-uid.js': function node_modulesCoreJsPureInternalsUseSymbolAsUidJs(module, exports, __webpack_require__) {
-1 26591 var NATIVE_SYMBOL = __webpack_require__('./node_modules/core-js-pure/internals/native-symbol.js');
-1 26592 module.exports = NATIVE_SYMBOL && !Symbol.sham && _typeof(Symbol.iterator) == 'symbol';
-1 26593 },
-1 26594 './node_modules/core-js-pure/internals/well-known-symbol.js': function node_modulesCoreJsPureInternalsWellKnownSymbolJs(module, exports, __webpack_require__) {
-1 26595 var global = __webpack_require__('./node_modules/core-js-pure/internals/global.js');
-1 26596 var shared = __webpack_require__('./node_modules/core-js-pure/internals/shared.js');
-1 26597 var has = __webpack_require__('./node_modules/core-js-pure/internals/has.js');
-1 26598 var uid = __webpack_require__('./node_modules/core-js-pure/internals/uid.js');
-1 26599 var NATIVE_SYMBOL = __webpack_require__('./node_modules/core-js-pure/internals/native-symbol.js');
-1 26600 var USE_SYMBOL_AS_UID = __webpack_require__('./node_modules/core-js-pure/internals/use-symbol-as-uid.js');
-1 26601 var WellKnownSymbolsStore = shared('wks');
-1 26602 var _Symbol = global.Symbol;
-1 26603 var createWellKnownSymbol = USE_SYMBOL_AS_UID ? _Symbol : _Symbol && _Symbol.withoutSetter || uid;
-1 26604 module.exports = function(name) {
-1 26605 if (!has(WellKnownSymbolsStore, name)) {
-1 26606 if (NATIVE_SYMBOL && has(_Symbol, name)) {
-1 26607 WellKnownSymbolsStore[name] = _Symbol[name];
-1 26608 } else {
-1 26609 WellKnownSymbolsStore[name] = createWellKnownSymbol('Symbol.' + name);
-1 26610 }
15138 26611 }
15139 -1 var roleType = axe.commons.aria.getRoleType(role);
15140 -1 return axe.commons.aria.implicitRole(node) === roleType;
15141 -1 }
15142 -1 }, {
15143 -1 id: 'invalidrole',
15144 -1 evaluate: function evaluate(node, options, virtualNode, context) {
15145 -1 return !axe.commons.aria.isValidRole(node.getAttribute('role'), {
15146 -1 allowAbstract: true
-1 26612 return WellKnownSymbolsStore[name];
-1 26613 };
-1 26614 },
-1 26615 './node_modules/core-js-pure/modules/es.array.iterator.js': function node_modulesCoreJsPureModulesEsArrayIteratorJs(module, exports, __webpack_require__) {
-1 26616 'use strict';
-1 26617 var toIndexedObject = __webpack_require__('./node_modules/core-js-pure/internals/to-indexed-object.js');
-1 26618 var addToUnscopables = __webpack_require__('./node_modules/core-js-pure/internals/add-to-unscopables.js');
-1 26619 var Iterators = __webpack_require__('./node_modules/core-js-pure/internals/iterators.js');
-1 26620 var InternalStateModule = __webpack_require__('./node_modules/core-js-pure/internals/internal-state.js');
-1 26621 var defineIterator = __webpack_require__('./node_modules/core-js-pure/internals/define-iterator.js');
-1 26622 var ARRAY_ITERATOR = 'Array Iterator';
-1 26623 var setInternalState = InternalStateModule.set;
-1 26624 var getInternalState = InternalStateModule.getterFor(ARRAY_ITERATOR);
-1 26625 module.exports = defineIterator(Array, 'Array', function(iterated, kind) {
-1 26626 setInternalState(this, {
-1 26627 type: ARRAY_ITERATOR,
-1 26628 target: toIndexedObject(iterated),
-1 26629 index: 0,
-1 26630 kind: kind
15147 26631 });
15148 -1 }
15149 -1 }, {
15150 -1 id: 'aria-required-attr',
15151 -1 evaluate: function evaluate(node, options, virtualNode, context) {
15152 -1 options = options || {};
15153 -1 var missing = [];
15154 -1 if (node.hasAttributes()) {
15155 -1 var attr, role = node.getAttribute('role'), required = axe.commons.aria.requiredAttr(role);
15156 -1 if (Array.isArray(options[role])) {
15157 -1 required = axe.utils.uniqueArray(options[role], required);
15158 -1 }
15159 -1 if (role && required) {
15160 -1 for (var i = 0, l = required.length; i < l; i++) {
15161 -1 attr = required[i];
15162 -1 if (!node.getAttribute(attr)) {
15163 -1 missing.push(attr);
15164 -1 }
15165 -1 }
15166 -1 }
-1 26632 }, function() {
-1 26633 var state = getInternalState(this);
-1 26634 var target = state.target;
-1 26635 var kind = state.kind;
-1 26636 var index = state.index++;
-1 26637 if (!target || index >= target.length) {
-1 26638 state.target = undefined;
-1 26639 return {
-1 26640 value: undefined,
-1 26641 done: true
-1 26642 };
15167 26643 }
15168 -1 if (missing.length) {
15169 -1 this.data(missing);
15170 -1 return false;
-1 26644 if (kind == 'keys') {
-1 26645 return {
-1 26646 value: index,
-1 26647 done: false
-1 26648 };
15171 26649 }
15172 -1 return true;
15173 -1 }
15174 -1 }, {
15175 -1 id: 'aria-required-children',
15176 -1 evaluate: function evaluate(node, options, virtualNode, context) {
15177 -1 var requiredOwned = axe.commons.aria.requiredOwned;
15178 -1 var implicitNodes = axe.commons.aria.implicitNodes;
15179 -1 var matchesSelector = axe.utils.matchesSelector;
15180 -1 var idrefs = axe.commons.dom.idrefs;
15181 -1 var reviewEmpty = options && Array.isArray(options.reviewEmpty) ? options.reviewEmpty : [];
15182 -1 function owns(node, virtualTree, role, ariaOwned) {
15183 -1 if (node === null) {
15184 -1 return false;
15185 -1 }
15186 -1 var implicit = implicitNodes(role), selector = [ '[role="' + role + '"]' ];
15187 -1 if (implicit) {
15188 -1 selector = selector.concat(implicit);
15189 -1 }
15190 -1 selector = selector.join(',');
15191 -1 return ariaOwned ? matchesSelector(node, selector) || !!axe.utils.querySelectorAll(virtualTree, selector)[0] : !!axe.utils.querySelectorAll(virtualTree, selector)[0];
-1 26650 if (kind == 'values') {
-1 26651 return {
-1 26652 value: target[index],
-1 26653 done: false
-1 26654 };
15192 26655 }
15193 -1 function ariaOwns(nodes, role) {
15194 -1 var index, length;
15195 -1 for (index = 0, length = nodes.length; index < length; index++) {
15196 -1 if (nodes[index] === null) {
15197 -1 continue;
15198 -1 }
15199 -1 var virtualTree = axe.utils.getNodeFromTree(axe._tree[0], nodes[index]);
15200 -1 if (owns(nodes[index], virtualTree, role, true)) {
15201 -1 return true;
15202 -1 }
-1 26656 return {
-1 26657 value: [ index, target[index] ],
-1 26658 done: false
-1 26659 };
-1 26660 }, 'values');
-1 26661 Iterators.Arguments = Iterators.Array;
-1 26662 addToUnscopables('keys');
-1 26663 addToUnscopables('values');
-1 26664 addToUnscopables('entries');
-1 26665 },
-1 26666 './node_modules/core-js-pure/modules/es.object.to-string.js': function node_modulesCoreJsPureModulesEsObjectToStringJs(module, exports) {},
-1 26667 './node_modules/core-js-pure/modules/es.promise.all-settled.js': function node_modulesCoreJsPureModulesEsPromiseAllSettledJs(module, exports, __webpack_require__) {
-1 26668 'use strict';
-1 26669 var $ = __webpack_require__('./node_modules/core-js-pure/internals/export.js');
-1 26670 var aFunction = __webpack_require__('./node_modules/core-js-pure/internals/a-function.js');
-1 26671 var newPromiseCapabilityModule = __webpack_require__('./node_modules/core-js-pure/internals/new-promise-capability.js');
-1 26672 var perform = __webpack_require__('./node_modules/core-js-pure/internals/perform.js');
-1 26673 var iterate = __webpack_require__('./node_modules/core-js-pure/internals/iterate.js');
-1 26674 $({
-1 26675 target: 'Promise',
-1 26676 stat: true
-1 26677 }, {
-1 26678 allSettled: function allSettled(iterable) {
-1 26679 var C = this;
-1 26680 var capability = newPromiseCapabilityModule.f(C);
-1 26681 var resolve = capability.resolve;
-1 26682 var reject = capability.reject;
-1 26683 var result = perform(function() {
-1 26684 var promiseResolve = aFunction(C.resolve);
-1 26685 var values = [];
-1 26686 var counter = 0;
-1 26687 var remaining = 1;
-1 26688 iterate(iterable, function(promise) {
-1 26689 var index = counter++;
-1 26690 var alreadyCalled = false;
-1 26691 values.push(undefined);
-1 26692 remaining++;
-1 26693 promiseResolve.call(C, promise).then(function(value) {
-1 26694 if (alreadyCalled) {
-1 26695 return;
-1 26696 }
-1 26697 alreadyCalled = true;
-1 26698 values[index] = {
-1 26699 status: 'fulfilled',
-1 26700 value: value
-1 26701 };
-1 26702 --remaining || resolve(values);
-1 26703 }, function(e) {
-1 26704 if (alreadyCalled) {
-1 26705 return;
-1 26706 }
-1 26707 alreadyCalled = true;
-1 26708 values[index] = {
-1 26709 status: 'rejected',
-1 26710 reason: e
-1 26711 };
-1 26712 --remaining || resolve(values);
-1 26713 });
-1 26714 });
-1 26715 --remaining || resolve(values);
-1 26716 });
-1 26717 if (result.error) {
-1 26718 reject(result.value);
15203 26719 }
15204 -1 return false;
-1 26720 return capability.promise;
15205 26721 }
15206 -1 function missingRequiredChildren(node, childRoles, all, role) {
15207 -1 var i, l = childRoles.length, missing = [], ownedElements = idrefs(node, 'aria-owns');
15208 -1 for (i = 0; i < l; i++) {
15209 -1 var r = childRoles[i];
15210 -1 if (owns(node, virtualNode, r) || ariaOwns(ownedElements, r)) {
15211 -1 if (!all) {
15212 -1 return null;
15213 -1 }
15214 -1 } else {
15215 -1 if (all) {
15216 -1 missing.push(r);
15217 -1 }
15218 -1 }
15219 -1 }
15220 -1 if (role === 'combobox') {
15221 -1 var textboxIndex = missing.indexOf('textbox');
15222 -1 var textTypeInputs = [ 'text', 'search', 'email', 'url', 'tel' ];
15223 -1 if (textboxIndex >= 0 && node.nodeName.toUpperCase() === 'INPUT' && textTypeInputs.includes(node.type)) {
15224 -1 missing.splice(textboxIndex, 1);
15225 -1 }
15226 -1 var listboxIndex = missing.indexOf('listbox');
15227 -1 var expanded = node.getAttribute('aria-expanded');
15228 -1 if (listboxIndex >= 0 && (!expanded || expanded === 'false')) {
15229 -1 missing.splice(listboxIndex, 1);
15230 -1 }
15231 -1 }
15232 -1 if (missing.length) {
15233 -1 return missing;
-1 26722 });
-1 26723 },
-1 26724 './node_modules/core-js-pure/modules/es.promise.finally.js': function node_modulesCoreJsPureModulesEsPromiseFinallyJs(module, exports, __webpack_require__) {
-1 26725 'use strict';
-1 26726 var $ = __webpack_require__('./node_modules/core-js-pure/internals/export.js');
-1 26727 var IS_PURE = __webpack_require__('./node_modules/core-js-pure/internals/is-pure.js');
-1 26728 var NativePromise = __webpack_require__('./node_modules/core-js-pure/internals/native-promise-constructor.js');
-1 26729 var fails = __webpack_require__('./node_modules/core-js-pure/internals/fails.js');
-1 26730 var getBuiltIn = __webpack_require__('./node_modules/core-js-pure/internals/get-built-in.js');
-1 26731 var speciesConstructor = __webpack_require__('./node_modules/core-js-pure/internals/species-constructor.js');
-1 26732 var promiseResolve = __webpack_require__('./node_modules/core-js-pure/internals/promise-resolve.js');
-1 26733 var redefine = __webpack_require__('./node_modules/core-js-pure/internals/redefine.js');
-1 26734 var NON_GENERIC = !!NativePromise && fails(function() {
-1 26735 NativePromise.prototype['finally'].call({
-1 26736 then: function then() {}
-1 26737 }, function() {});
-1 26738 });
-1 26739 $({
-1 26740 target: 'Promise',
-1 26741 proto: true,
-1 26742 real: true,
-1 26743 forced: NON_GENERIC
-1 26744 }, {
-1 26745 finally: function _finally(onFinally) {
-1 26746 var C = speciesConstructor(this, getBuiltIn('Promise'));
-1 26747 var isFunction = typeof onFinally == 'function';
-1 26748 return this.then(isFunction ? function(x) {
-1 26749 return promiseResolve(C, onFinally()).then(function() {
-1 26750 return x;
-1 26751 });
-1 26752 } : onFinally, isFunction ? function(e) {
-1 26753 return promiseResolve(C, onFinally()).then(function() {
-1 26754 throw e;
-1 26755 });
-1 26756 } : onFinally);
-1 26757 }
-1 26758 });
-1 26759 if (!IS_PURE && typeof NativePromise == 'function' && !NativePromise.prototype['finally']) {
-1 26760 redefine(NativePromise.prototype, 'finally', getBuiltIn('Promise').prototype['finally']);
-1 26761 }
-1 26762 },
-1 26763 './node_modules/core-js-pure/modules/es.promise.js': function node_modulesCoreJsPureModulesEsPromiseJs(module, exports, __webpack_require__) {
-1 26764 'use strict';
-1 26765 var $ = __webpack_require__('./node_modules/core-js-pure/internals/export.js');
-1 26766 var IS_PURE = __webpack_require__('./node_modules/core-js-pure/internals/is-pure.js');
-1 26767 var global = __webpack_require__('./node_modules/core-js-pure/internals/global.js');
-1 26768 var getBuiltIn = __webpack_require__('./node_modules/core-js-pure/internals/get-built-in.js');
-1 26769 var NativePromise = __webpack_require__('./node_modules/core-js-pure/internals/native-promise-constructor.js');
-1 26770 var redefine = __webpack_require__('./node_modules/core-js-pure/internals/redefine.js');
-1 26771 var redefineAll = __webpack_require__('./node_modules/core-js-pure/internals/redefine-all.js');
-1 26772 var setToStringTag = __webpack_require__('./node_modules/core-js-pure/internals/set-to-string-tag.js');
-1 26773 var setSpecies = __webpack_require__('./node_modules/core-js-pure/internals/set-species.js');
-1 26774 var isObject = __webpack_require__('./node_modules/core-js-pure/internals/is-object.js');
-1 26775 var aFunction = __webpack_require__('./node_modules/core-js-pure/internals/a-function.js');
-1 26776 var anInstance = __webpack_require__('./node_modules/core-js-pure/internals/an-instance.js');
-1 26777 var classof = __webpack_require__('./node_modules/core-js-pure/internals/classof-raw.js');
-1 26778 var inspectSource = __webpack_require__('./node_modules/core-js-pure/internals/inspect-source.js');
-1 26779 var iterate = __webpack_require__('./node_modules/core-js-pure/internals/iterate.js');
-1 26780 var checkCorrectnessOfIteration = __webpack_require__('./node_modules/core-js-pure/internals/check-correctness-of-iteration.js');
-1 26781 var speciesConstructor = __webpack_require__('./node_modules/core-js-pure/internals/species-constructor.js');
-1 26782 var task = __webpack_require__('./node_modules/core-js-pure/internals/task.js').set;
-1 26783 var microtask = __webpack_require__('./node_modules/core-js-pure/internals/microtask.js');
-1 26784 var promiseResolve = __webpack_require__('./node_modules/core-js-pure/internals/promise-resolve.js');
-1 26785 var hostReportErrors = __webpack_require__('./node_modules/core-js-pure/internals/host-report-errors.js');
-1 26786 var newPromiseCapabilityModule = __webpack_require__('./node_modules/core-js-pure/internals/new-promise-capability.js');
-1 26787 var perform = __webpack_require__('./node_modules/core-js-pure/internals/perform.js');
-1 26788 var InternalStateModule = __webpack_require__('./node_modules/core-js-pure/internals/internal-state.js');
-1 26789 var isForced = __webpack_require__('./node_modules/core-js-pure/internals/is-forced.js');
-1 26790 var wellKnownSymbol = __webpack_require__('./node_modules/core-js-pure/internals/well-known-symbol.js');
-1 26791 var V8_VERSION = __webpack_require__('./node_modules/core-js-pure/internals/engine-v8-version.js');
-1 26792 var SPECIES = wellKnownSymbol('species');
-1 26793 var PROMISE = 'Promise';
-1 26794 var getInternalState = InternalStateModule.get;
-1 26795 var setInternalState = InternalStateModule.set;
-1 26796 var getInternalPromiseState = InternalStateModule.getterFor(PROMISE);
-1 26797 var PromiseConstructor = NativePromise;
-1 26798 var TypeError = global.TypeError;
-1 26799 var document = global.document;
-1 26800 var process = global.process;
-1 26801 var $fetch = getBuiltIn('fetch');
-1 26802 var newPromiseCapability = newPromiseCapabilityModule.f;
-1 26803 var newGenericPromiseCapability = newPromiseCapability;
-1 26804 var IS_NODE = classof(process) == 'process';
-1 26805 var DISPATCH_EVENT = !!(document && document.createEvent && global.dispatchEvent);
-1 26806 var UNHANDLED_REJECTION = 'unhandledrejection';
-1 26807 var REJECTION_HANDLED = 'rejectionhandled';
-1 26808 var PENDING = 0;
-1 26809 var FULFILLED = 1;
-1 26810 var REJECTED = 2;
-1 26811 var HANDLED = 1;
-1 26812 var UNHANDLED = 2;
-1 26813 var Internal, OwnPromiseCapability, PromiseWrapper, nativeThen;
-1 26814 var FORCED = isForced(PROMISE, function() {
-1 26815 var GLOBAL_CORE_JS_PROMISE = inspectSource(PromiseConstructor) !== String(PromiseConstructor);
-1 26816 if (!GLOBAL_CORE_JS_PROMISE) {
-1 26817 if (V8_VERSION === 66) {
-1 26818 return true;
15234 26819 }
15235 -1 if (!all && childRoles.length) {
15236 -1 return childRoles;
-1 26820 if (!IS_NODE && typeof PromiseRejectionEvent != 'function') {
-1 26821 return true;
15237 26822 }
15238 -1 return null;
15239 -1 }
15240 -1 var role = node.getAttribute('role');
15241 -1 var required = requiredOwned(role);
15242 -1 if (!required) {
15243 -1 return true;
15244 26823 }
15245 -1 var all = false;
15246 -1 var childRoles = required.one;
15247 -1 if (!childRoles) {
15248 -1 var all = true;
15249 -1 childRoles = required.all;
15250 -1 }
15251 -1 var missing = missingRequiredChildren(node, childRoles, all, role);
15252 -1 if (!missing) {
-1 26824 if (IS_PURE && !PromiseConstructor.prototype['finally']) {
15253 26825 return true;
15254 26826 }
15255 -1 this.data(missing);
15256 -1 if (reviewEmpty.includes(role)) {
15257 -1 return undefined;
15258 -1 } else {
-1 26827 if (V8_VERSION >= 51 && /native code/.test(PromiseConstructor)) {
15259 26828 return false;
15260 26829 }
15261 -1 },
15262 -1 options: {
15263 -1 reviewEmpty: [ 'listbox' ]
15264 -1 }
15265 -1 }, {
15266 -1 id: 'aria-required-parent',
15267 -1 evaluate: function evaluate(node, options, virtualNode, context) {
15268 -1 function getSelector(role) {
15269 -1 var impliedNative = axe.commons.aria.implicitNodes(role) || [];
15270 -1 return impliedNative.concat('[role="' + role + '"]').join(',');
15271 -1 }
15272 -1 function getMissingContext(virtualNode, requiredContext, includeElement) {
15273 -1 var index, length, role = virtualNode.actualNode.getAttribute('role'), missing = [];
15274 -1 if (!requiredContext) {
15275 -1 requiredContext = axe.commons.aria.requiredContext(role);
15276 -1 }
15277 -1 if (!requiredContext) {
15278 -1 return null;
15279 -1 }
15280 -1 for (index = 0, length = requiredContext.length; index < length; index++) {
15281 -1 if (includeElement && axe.utils.matchesSelector(virtualNode.actualNode, getSelector(requiredContext[index]))) {
15282 -1 return null;
15283 -1 }
15284 -1 if (axe.commons.dom.findUpVirtual(virtualNode, getSelector(requiredContext[index]))) {
15285 -1 return null;
15286 -1 } else {
15287 -1 missing.push(requiredContext[index]);
15288 -1 }
15289 -1 }
15290 -1 return missing;
-1 26830 var promise = PromiseConstructor.resolve(1);
-1 26831 var FakePromise = function FakePromise(exec) {
-1 26832 exec(function() {}, function() {});
-1 26833 };
-1 26834 var constructor = promise.constructor = {};
-1 26835 constructor[SPECIES] = FakePromise;
-1 26836 return !(promise.then(function() {}) instanceof FakePromise);
-1 26837 });
-1 26838 var INCORRECT_ITERATION = FORCED || !checkCorrectnessOfIteration(function(iterable) {
-1 26839 PromiseConstructor.all(iterable)['catch'](function() {});
-1 26840 });
-1 26841 var isThenable = function isThenable(it) {
-1 26842 var then;
-1 26843 return isObject(it) && typeof (then = it.then) == 'function' ? then : false;
-1 26844 };
-1 26845 var notify = function notify(promise, state, isReject) {
-1 26846 if (state.notified) {
-1 26847 return;
15291 26848 }
15292 -1 function getAriaOwners(element) {
15293 -1 var owners = [], o = null;
15294 -1 while (element) {
15295 -1 if (element.getAttribute('id')) {
15296 -1 var id = axe.utils.escapeSelector(element.getAttribute('id'));
15297 -1 var doc = axe.commons.dom.getRootNode(element);
15298 -1 o = doc.querySelector('[aria-owns~=' + id + ']');
15299 -1 if (o) {
15300 -1 owners.push(o);
-1 26849 state.notified = true;
-1 26850 var chain = state.reactions;
-1 26851 microtask(function() {
-1 26852 var value = state.value;
-1 26853 var ok = state.state == FULFILLED;
-1 26854 var index = 0;
-1 26855 while (chain.length > index) {
-1 26856 var reaction = chain[index++];
-1 26857 var handler = ok ? reaction.ok : reaction.fail;
-1 26858 var resolve = reaction.resolve;
-1 26859 var reject = reaction.reject;
-1 26860 var domain = reaction.domain;
-1 26861 var result, then, exited;
-1 26862 try {
-1 26863 if (handler) {
-1 26864 if (!ok) {
-1 26865 if (state.rejection === UNHANDLED) {
-1 26866 onHandleUnhandled(promise, state);
-1 26867 }
-1 26868 state.rejection = HANDLED;
-1 26869 }
-1 26870 if (handler === true) {
-1 26871 result = value;
-1 26872 } else {
-1 26873 if (domain) {
-1 26874 domain.enter();
-1 26875 }
-1 26876 result = handler(value);
-1 26877 if (domain) {
-1 26878 domain.exit();
-1 26879 exited = true;
-1 26880 }
-1 26881 }
-1 26882 if (result === reaction.promise) {
-1 26883 reject(TypeError('Promise-chain cycle'));
-1 26884 } else if (then = isThenable(result)) {
-1 26885 then.call(result, resolve, reject);
-1 26886 } else {
-1 26887 resolve(result);
-1 26888 }
-1 26889 } else {
-1 26890 reject(value);
-1 26891 }
-1 26892 } catch (error) {
-1 26893 if (domain && !exited) {
-1 26894 domain.exit();
15301 26895 }
-1 26896 reject(error);
15302 26897 }
15303 -1 element = element.parentElement;
15304 26898 }
15305 -1 return owners.length ? owners : null;
-1 26899 state.reactions = [];
-1 26900 state.notified = false;
-1 26901 if (isReject && !state.rejection) {
-1 26902 onUnhandled(promise, state);
-1 26903 }
-1 26904 });
-1 26905 };
-1 26906 var dispatchEvent = function dispatchEvent(name, promise, reason) {
-1 26907 var event, handler;
-1 26908 if (DISPATCH_EVENT) {
-1 26909 event = document.createEvent('Event');
-1 26910 event.promise = promise;
-1 26911 event.reason = reason;
-1 26912 event.initEvent(name, false, true);
-1 26913 global.dispatchEvent(event);
-1 26914 } else {
-1 26915 event = {
-1 26916 promise: promise,
-1 26917 reason: reason
-1 26918 };
15306 26919 }
15307 -1 var missingParents = getMissingContext(virtualNode);
15308 -1 if (!missingParents) {
15309 -1 return true;
-1 26920 if (handler = global['on' + name]) {
-1 26921 handler(event);
-1 26922 } else if (name === UNHANDLED_REJECTION) {
-1 26923 hostReportErrors('Unhandled promise rejection', reason);
15310 26924 }
15311 -1 var owners = getAriaOwners(node);
15312 -1 if (owners) {
15313 -1 for (var i = 0, l = owners.length; i < l; i++) {
15314 -1 missingParents = getMissingContext(axe.utils.getNodeFromTree(axe._tree[0], owners[i]), missingParents, true);
15315 -1 if (!missingParents) {
15316 -1 return true;
-1 26925 };
-1 26926 var onUnhandled = function onUnhandled(promise, state) {
-1 26927 task.call(global, function() {
-1 26928 var value = state.value;
-1 26929 var IS_UNHANDLED = isUnhandled(state);
-1 26930 var result;
-1 26931 if (IS_UNHANDLED) {
-1 26932 result = perform(function() {
-1 26933 if (IS_NODE) {
-1 26934 process.emit('unhandledRejection', value, promise);
-1 26935 } else {
-1 26936 dispatchEvent(UNHANDLED_REJECTION, promise, value);
-1 26937 }
-1 26938 });
-1 26939 state.rejection = IS_NODE || isUnhandled(state) ? UNHANDLED : HANDLED;
-1 26940 if (result.error) {
-1 26941 throw result.value;
15317 26942 }
15318 26943 }
15319 -1 }
15320 -1 this.data(missingParents);
15321 -1 return false;
15322 -1 }
15323 -1 }, {
15324 -1 id: 'aria-unsupported-attr',
15325 -1 evaluate: function evaluate(node, options, virtualNode, context) {
15326 -1 var nodeName = node.nodeName.toUpperCase();
15327 -1 var lookupTable = axe.commons.aria.lookupTable;
15328 -1 var role = axe.commons.aria.getRole(node);
15329 -1 var unsupportedAttrs = Array.from(node.attributes).filter(function(_ref2) {
15330 -1 var name = _ref2.name;
15331 -1 var attribute = lookupTable.attributes[name];
15332 -1 if (!axe.commons.aria.validateAttr(name)) {
15333 -1 return false;
15334 -1 }
15335 -1 var unsupported = attribute.unsupported;
15336 -1 if ((typeof unsupported === 'undefined' ? 'undefined' : _typeof(unsupported)) !== 'object') {
15337 -1 return !!unsupported;
15338 -1 }
15339 -1 var isException = axe.commons.matches(node, unsupported.exceptions);
15340 -1 if (!Object.keys(lookupTable.evaluateRoleForElement).includes(nodeName)) {
15341 -1 return !isException;
-1 26944 });
-1 26945 };
-1 26946 var isUnhandled = function isUnhandled(state) {
-1 26947 return state.rejection !== HANDLED && !state.parent;
-1 26948 };
-1 26949 var onHandleUnhandled = function onHandleUnhandled(promise, state) {
-1 26950 task.call(global, function() {
-1 26951 if (IS_NODE) {
-1 26952 process.emit('rejectionHandled', promise);
-1 26953 } else {
-1 26954 dispatchEvent(REJECTION_HANDLED, promise, state.value);
15342 26955 }
15343 -1 return !lookupTable.evaluateRoleForElement[nodeName]({
15344 -1 node: node,
15345 -1 role: role,
15346 -1 out: isException
15347 -1 });
15348 -1 }).map(function(candidate) {
15349 -1 return candidate.name.toString();
15350 26956 });
15351 -1 if (unsupportedAttrs.length) {
15352 -1 this.data(unsupportedAttrs);
15353 -1 return true;
-1 26957 };
-1 26958 var bind = function bind(fn, promise, state, unwrap) {
-1 26959 return function(value) {
-1 26960 fn(promise, state, value, unwrap);
-1 26961 };
-1 26962 };
-1 26963 var internalReject = function internalReject(promise, state, value, unwrap) {
-1 26964 if (state.done) {
-1 26965 return;
15354 26966 }
15355 -1 return false;
15356 -1 }
15357 -1 }, {
15358 -1 id: 'unsupportedrole',
15359 -1 evaluate: function evaluate(node, options, virtualNode, context) {
15360 -1 return axe.commons.aria.isUnsupportedRole(axe.commons.aria.getRole(node));
15361 -1 }
15362 -1 }, {
15363 -1 id: 'aria-valid-attr-value',
15364 -1 evaluate: function evaluate(node, options, virtualNode, context) {
15365 -1 options = Array.isArray(options) ? options : [];
15366 -1 var invalid = [], aria = /^aria-/;
15367 -1 var attr, attrName, attrs = node.attributes;
15368 -1 var skipAttrs = [ 'aria-errormessage' ];
15369 -1 for (var i = 0, l = attrs.length; i < l; i++) {
15370 -1 attr = attrs[i];
15371 -1 attrName = attr.name;
15372 -1 if (!skipAttrs.includes(attrName)) {
15373 -1 if (options.indexOf(attrName) === -1 && aria.test(attrName) && !axe.commons.aria.validateAttrValue(node, attrName)) {
15374 -1 invalid.push(attrName + '="' + attr.nodeValue + '"');
15375 -1 }
15376 -1 }
-1 26967 state.done = true;
-1 26968 if (unwrap) {
-1 26969 state = unwrap;
15377 26970 }
15378 -1 if (invalid.length) {
15379 -1 this.data(invalid);
15380 -1 return false;
-1 26971 state.value = value;
-1 26972 state.state = REJECTED;
-1 26973 notify(promise, state, true);
-1 26974 };
-1 26975 var internalResolve = function internalResolve(promise, state, value, unwrap) {
-1 26976 if (state.done) {
-1 26977 return;
15381 26978 }
15382 -1 return true;
15383 -1 },
15384 -1 options: []
15385 -1 }, {
15386 -1 id: 'aria-valid-attr',
15387 -1 evaluate: function evaluate(node, options, virtualNode, context) {
15388 -1 options = Array.isArray(options) ? options : [];
15389 -1 var invalid = [], aria = /^aria-/;
15390 -1 var attr, attrs = node.attributes;
15391 -1 for (var i = 0, l = attrs.length; i < l; i++) {
15392 -1 attr = attrs[i].name;
15393 -1 if (options.indexOf(attr) === -1 && aria.test(attr) && !axe.commons.aria.validateAttr(attr)) {
15394 -1 invalid.push(attr);
15395 -1 }
-1 26979 state.done = true;
-1 26980 if (unwrap) {
-1 26981 state = unwrap;
15396 26982 }
15397 -1 if (invalid.length) {
15398 -1 this.data(invalid);
15399 -1 return false;
-1 26983 try {
-1 26984 if (promise === value) {
-1 26985 throw TypeError('Promise can\'t be resolved itself');
-1 26986 }
-1 26987 var then = isThenable(value);
-1 26988 if (then) {
-1 26989 microtask(function() {
-1 26990 var wrapper = {
-1 26991 done: false
-1 26992 };
-1 26993 try {
-1 26994 then.call(value, bind(internalResolve, promise, wrapper, state), bind(internalReject, promise, wrapper, state));
-1 26995 } catch (error) {
-1 26996 internalReject(promise, wrapper, error, state);
-1 26997 }
-1 26998 });
-1 26999 } else {
-1 27000 state.value = value;
-1 27001 state.state = FULFILLED;
-1 27002 notify(promise, state, false);
-1 27003 }
-1 27004 } catch (error) {
-1 27005 internalReject(promise, {
-1 27006 done: false
-1 27007 }, error, state);
15400 27008 }
15401 -1 return true;
15402 -1 },
15403 -1 options: []
15404 -1 }, {
15405 -1 id: 'valid-scrollable-semantics',
15406 -1 evaluate: function evaluate(node, options, virtualNode, context) {
15407 -1 var VALID_TAG_NAMES_FOR_SCROLLABLE_REGIONS = {
15408 -1 ARTICLE: true,
15409 -1 ASIDE: true,
15410 -1 NAV: true,
15411 -1 SECTION: true
-1 27009 };
-1 27010 if (FORCED) {
-1 27011 PromiseConstructor = function Promise(executor) {
-1 27012 anInstance(this, PromiseConstructor, PROMISE);
-1 27013 aFunction(executor);
-1 27014 Internal.call(this);
-1 27015 var state = getInternalState(this);
-1 27016 try {
-1 27017 executor(bind(internalResolve, this, state), bind(internalReject, this, state));
-1 27018 } catch (error) {
-1 27019 internalReject(this, state, error);
-1 27020 }
15412 27021 };
15413 -1 var VALID_ROLES_FOR_SCROLLABLE_REGIONS = {
15414 -1 application: true,
15415 -1 banner: false,
15416 -1 complementary: true,
15417 -1 contentinfo: true,
15418 -1 form: true,
15419 -1 main: true,
15420 -1 navigation: true,
15421 -1 region: true,
15422 -1 search: false
-1 27022 Internal = function Promise(executor) {
-1 27023 setInternalState(this, {
-1 27024 type: PROMISE,
-1 27025 done: false,
-1 27026 notified: false,
-1 27027 parent: false,
-1 27028 reactions: [],
-1 27029 rejection: false,
-1 27030 state: PENDING,
-1 27031 value: undefined
-1 27032 });
15423 27033 };
15424 -1 function validScrollableTagName(node) {
15425 -1 var nodeName = node.nodeName.toUpperCase();
15426 -1 return VALID_TAG_NAMES_FOR_SCROLLABLE_REGIONS[nodeName] || false;
15427 -1 }
15428 -1 function validScrollableRole(node) {
15429 -1 var role = node.getAttribute('role');
15430 -1 if (!role) {
15431 -1 return false;
-1 27034 Internal.prototype = redefineAll(PromiseConstructor.prototype, {
-1 27035 then: function then(onFulfilled, onRejected) {
-1 27036 var state = getInternalPromiseState(this);
-1 27037 var reaction = newPromiseCapability(speciesConstructor(this, PromiseConstructor));
-1 27038 reaction.ok = typeof onFulfilled == 'function' ? onFulfilled : true;
-1 27039 reaction.fail = typeof onRejected == 'function' && onRejected;
-1 27040 reaction.domain = IS_NODE ? process.domain : undefined;
-1 27041 state.parent = true;
-1 27042 state.reactions.push(reaction);
-1 27043 if (state.state != PENDING) {
-1 27044 notify(this, state, false);
-1 27045 }
-1 27046 return reaction.promise;
-1 27047 },
-1 27048 catch: function _catch(onRejected) {
-1 27049 return this.then(undefined, onRejected);
15432 27050 }
15433 -1 return VALID_ROLES_FOR_SCROLLABLE_REGIONS[role.toLowerCase()] || false;
15434 -1 }
15435 -1 function validScrollableSemantics(node) {
15436 -1 return validScrollableRole(node) || validScrollableTagName(node);
15437 -1 }
15438 -1 return validScrollableSemantics(node);
15439 -1 },
15440 -1 options: []
15441 -1 }, {
15442 -1 id: 'color-contrast',
15443 -1 evaluate: function evaluate(node, options, virtualNode, context) {
15444 -1 var _axe$commons6 = axe.commons, dom = _axe$commons6.dom, color = _axe$commons6.color, text = _axe$commons6.text;
15445 -1 if (!dom.isVisible(node, false)) {
15446 -1 return true;
15447 -1 }
15448 -1 var noScroll = !!(options || {}).noScroll;
15449 -1 var bgNodes = [];
15450 -1 var bgColor = color.getBackgroundColor(node, bgNodes, noScroll);
15451 -1 var fgColor = color.getForegroundColor(node, noScroll);
15452 -1 var nodeStyle = window.getComputedStyle(node);
15453 -1 var fontSize = parseFloat(nodeStyle.getPropertyValue('font-size'));
15454 -1 var fontWeight = nodeStyle.getPropertyValue('font-weight');
15455 -1 var bold = [ 'bold', 'bolder', '600', '700', '800', '900' ].indexOf(fontWeight) !== -1;
15456 -1 var cr = color.hasValidContrastRatio(bgColor, fgColor, fontSize, bold);
15457 -1 var truncatedResult = Math.floor(cr.contrastRatio * 100) / 100;
15458 -1 var missing = void 0;
15459 -1 if (bgColor === null) {
15460 -1 missing = color.incompleteData.get('bgColor');
15461 -1 }
15462 -1 var equalRatio = truncatedResult === 1;
15463 -1 var shortTextContent = text.visibleVirtual(virtualNode, false, true).length === 1;
15464 -1 if (equalRatio) {
15465 -1 missing = color.incompleteData.set('bgColor', 'equalRatio');
15466 -1 } else if (shortTextContent) {
15467 -1 missing = 'shortTextContent';
15468 -1 }
15469 -1 var data = {
15470 -1 fgColor: fgColor ? fgColor.toHexString() : undefined,
15471 -1 bgColor: bgColor ? bgColor.toHexString() : undefined,
15472 -1 contrastRatio: cr ? truncatedResult : undefined,
15473 -1 fontSize: (fontSize * 72 / 96).toFixed(1) + 'pt',
15474 -1 fontWeight: bold ? 'bold' : 'normal',
15475 -1 missingData: missing,
15476 -1 expectedContrastRatio: cr.expectedContrastRatio + ':1'
-1 27051 });
-1 27052 OwnPromiseCapability = function OwnPromiseCapability() {
-1 27053 var promise = new Internal();
-1 27054 var state = getInternalState(promise);
-1 27055 this.promise = promise;
-1 27056 this.resolve = bind(internalResolve, promise, state);
-1 27057 this.reject = bind(internalReject, promise, state);
15477 27058 };
15478 -1 this.data(data);
15479 -1 if (fgColor === null || bgColor === null || equalRatio || shortTextContent && !cr.isValid) {
15480 -1 missing = null;
15481 -1 color.incompleteData.clear();
15482 -1 this.relatedNodes(bgNodes);
15483 -1 return undefined;
15484 -1 }
15485 -1 if (!cr.isValid) {
15486 -1 this.relatedNodes(bgNodes);
-1 27059 newPromiseCapabilityModule.f = newPromiseCapability = function newPromiseCapability(C) {
-1 27060 return C === PromiseConstructor || C === PromiseWrapper ? new OwnPromiseCapability(C) : newGenericPromiseCapability(C);
-1 27061 };
-1 27062 if (!IS_PURE && typeof NativePromise == 'function') {
-1 27063 nativeThen = NativePromise.prototype.then;
-1 27064 redefine(NativePromise.prototype, 'then', function then(onFulfilled, onRejected) {
-1 27065 var that = this;
-1 27066 return new PromiseConstructor(function(resolve, reject) {
-1 27067 nativeThen.call(that, resolve, reject);
-1 27068 }).then(onFulfilled, onRejected);
-1 27069 }, {
-1 27070 unsafe: true
-1 27071 });
-1 27072 if (typeof $fetch == 'function') {
-1 27073 $({
-1 27074 global: true,
-1 27075 enumerable: true,
-1 27076 forced: true
-1 27077 }, {
-1 27078 fetch: function fetch(input) {
-1 27079 return promiseResolve(PromiseConstructor, $fetch.apply(global, arguments));
-1 27080 }
-1 27081 });
-1 27082 }
15487 27083 }
15488 -1 return cr.isValid;
15489 27084 }
15490 -1 }, {
15491 -1 id: 'link-in-text-block',
15492 -1 evaluate: function evaluate(node, options, virtualNode, context) {
15493 -1 var _axe$commons7 = axe.commons, color = _axe$commons7.color, dom = _axe$commons7.dom;
15494 -1 function getContrast(color1, color2) {
15495 -1 var c1lum = color1.getRelativeLuminance();
15496 -1 var c2lum = color2.getRelativeLuminance();
15497 -1 return (Math.max(c1lum, c2lum) + .05) / (Math.min(c1lum, c2lum) + .05);
15498 -1 }
15499 -1 var blockLike = [ 'block', 'list-item', 'table', 'flex', 'grid', 'inline-block' ];
15500 -1 function isBlock(elm) {
15501 -1 var display = window.getComputedStyle(elm).getPropertyValue('display');
15502 -1 return blockLike.indexOf(display) !== -1 || display.substr(0, 6) === 'table-';
15503 -1 }
15504 -1 if (isBlock(node)) {
15505 -1 return false;
-1 27085 $({
-1 27086 global: true,
-1 27087 wrap: true,
-1 27088 forced: FORCED
-1 27089 }, {
-1 27090 Promise: PromiseConstructor
-1 27091 });
-1 27092 setToStringTag(PromiseConstructor, PROMISE, false, true);
-1 27093 setSpecies(PROMISE);
-1 27094 PromiseWrapper = getBuiltIn(PROMISE);
-1 27095 $({
-1 27096 target: PROMISE,
-1 27097 stat: true,
-1 27098 forced: FORCED
-1 27099 }, {
-1 27100 reject: function reject(r) {
-1 27101 var capability = newPromiseCapability(this);
-1 27102 capability.reject.call(undefined, r);
-1 27103 return capability.promise;
15506 27104 }
15507 -1 var parentBlock = dom.getComposedParent(node);
15508 -1 while (parentBlock.nodeType === 1 && !isBlock(parentBlock)) {
15509 -1 parentBlock = dom.getComposedParent(parentBlock);
-1 27105 });
-1 27106 $({
-1 27107 target: PROMISE,
-1 27108 stat: true,
-1 27109 forced: IS_PURE || FORCED
-1 27110 }, {
-1 27111 resolve: function resolve(x) {
-1 27112 return promiseResolve(IS_PURE && this === PromiseWrapper ? PromiseConstructor : this, x);
15510 27113 }
15511 -1 this.relatedNodes([ parentBlock ]);
15512 -1 if (color.elementIsDistinct(node, parentBlock)) {
15513 -1 return true;
15514 -1 } else {
15515 -1 var nodeColor, parentColor;
15516 -1 nodeColor = color.getForegroundColor(node);
15517 -1 parentColor = color.getForegroundColor(parentBlock);
15518 -1 if (!nodeColor || !parentColor) {
15519 -1 return undefined;
15520 -1 }
15521 -1 var contrast = getContrast(nodeColor, parentColor);
15522 -1 if (contrast === 1) {
15523 -1 return true;
15524 -1 } else if (contrast >= 3) {
15525 -1 axe.commons.color.incompleteData.set('fgColor', 'bgContrast');
15526 -1 this.data({
15527 -1 missingData: axe.commons.color.incompleteData.get('fgColor')
-1 27114 });
-1 27115 $({
-1 27116 target: PROMISE,
-1 27117 stat: true,
-1 27118 forced: INCORRECT_ITERATION
-1 27119 }, {
-1 27120 all: function all(iterable) {
-1 27121 var C = this;
-1 27122 var capability = newPromiseCapability(C);
-1 27123 var resolve = capability.resolve;
-1 27124 var reject = capability.reject;
-1 27125 var result = perform(function() {
-1 27126 var $promiseResolve = aFunction(C.resolve);
-1 27127 var values = [];
-1 27128 var counter = 0;
-1 27129 var remaining = 1;
-1 27130 iterate(iterable, function(promise) {
-1 27131 var index = counter++;
-1 27132 var alreadyCalled = false;
-1 27133 values.push(undefined);
-1 27134 remaining++;
-1 27135 $promiseResolve.call(C, promise).then(function(value) {
-1 27136 if (alreadyCalled) {
-1 27137 return;
-1 27138 }
-1 27139 alreadyCalled = true;
-1 27140 values[index] = value;
-1 27141 --remaining || resolve(values);
-1 27142 }, reject);
15528 27143 });
15529 -1 axe.commons.color.incompleteData.clear();
15530 -1 return undefined;
-1 27144 --remaining || resolve(values);
-1 27145 });
-1 27146 if (result.error) {
-1 27147 reject(result.value);
15531 27148 }
15532 -1 nodeColor = color.getBackgroundColor(node);
15533 -1 parentColor = color.getBackgroundColor(parentBlock);
15534 -1 if (!nodeColor || !parentColor || getContrast(nodeColor, parentColor) >= 3) {
15535 -1 var reason = void 0;
15536 -1 if (!nodeColor || !parentColor) {
15537 -1 reason = axe.commons.color.incompleteData.get('bgColor');
15538 -1 } else {
15539 -1 reason = 'bgContrast';
15540 -1 }
15541 -1 axe.commons.color.incompleteData.set('fgColor', reason);
15542 -1 this.data({
15543 -1 missingData: axe.commons.color.incompleteData.get('fgColor')
-1 27149 return capability.promise;
-1 27150 },
-1 27151 race: function race(iterable) {
-1 27152 var C = this;
-1 27153 var capability = newPromiseCapability(C);
-1 27154 var reject = capability.reject;
-1 27155 var result = perform(function() {
-1 27156 var $promiseResolve = aFunction(C.resolve);
-1 27157 iterate(iterable, function(promise) {
-1 27158 $promiseResolve.call(C, promise).then(capability.resolve, reject);
15544 27159 });
15545 -1 axe.commons.color.incompleteData.clear();
15546 -1 return undefined;
-1 27160 });
-1 27161 if (result.error) {
-1 27162 reject(result.value);
15547 27163 }
-1 27164 return capability.promise;
15548 27165 }
15549 -1 return false;
15550 -1 }
15551 -1 }, {
15552 -1 id: 'autocomplete-appropriate',
15553 -1 evaluate: function evaluate(node, options, virtualNode, context) {
15554 -1 if (node.nodeName.toUpperCase() !== 'INPUT') {
15555 -1 return true;
-1 27166 });
-1 27167 },
-1 27168 './node_modules/core-js-pure/modules/es.string.iterator.js': function node_modulesCoreJsPureModulesEsStringIteratorJs(module, exports, __webpack_require__) {
-1 27169 'use strict';
-1 27170 var charAt = __webpack_require__('./node_modules/core-js-pure/internals/string-multibyte.js').charAt;
-1 27171 var InternalStateModule = __webpack_require__('./node_modules/core-js-pure/internals/internal-state.js');
-1 27172 var defineIterator = __webpack_require__('./node_modules/core-js-pure/internals/define-iterator.js');
-1 27173 var STRING_ITERATOR = 'String Iterator';
-1 27174 var setInternalState = InternalStateModule.set;
-1 27175 var getInternalState = InternalStateModule.getterFor(STRING_ITERATOR);
-1 27176 defineIterator(String, 'String', function(iterated) {
-1 27177 setInternalState(this, {
-1 27178 type: STRING_ITERATOR,
-1 27179 string: String(iterated),
-1 27180 index: 0
-1 27181 });
-1 27182 }, function next() {
-1 27183 var state = getInternalState(this);
-1 27184 var string = state.string;
-1 27185 var index = state.index;
-1 27186 var point;
-1 27187 if (index >= string.length) {
-1 27188 return {
-1 27189 value: undefined,
-1 27190 done: true
-1 27191 };
15556 27192 }
15557 -1 var number = [ 'text', 'search', 'number' ];
15558 -1 var url = [ 'text', 'search', 'url' ];
15559 -1 var allowedTypesMap = {
15560 -1 bday: [ 'text', 'search', 'date' ],
15561 -1 email: [ 'text', 'search', 'email' ],
15562 -1 'cc-exp': [ 'text', 'search', 'month' ],
15563 -1 'street-address': [ 'text' ],
15564 -1 tel: [ 'text', 'search', 'tel' ],
15565 -1 'cc-exp-month': number,
15566 -1 'cc-exp-year': number,
15567 -1 'transaction-amount': number,
15568 -1 'bday-day': number,
15569 -1 'bday-month': number,
15570 -1 'bday-year': number,
15571 -1 'new-password': [ 'text', 'search', 'password' ],
15572 -1 'current-password': [ 'text', 'search', 'password' ],
15573 -1 url: url,
15574 -1 photo: url,
15575 -1 impp: url
-1 27193 point = charAt(string, index);
-1 27194 state.index += point.length;
-1 27195 return {
-1 27196 value: point,
-1 27197 done: false
15576 27198 };
15577 -1 if ((typeof options === 'undefined' ? 'undefined' : _typeof(options)) === 'object') {
15578 -1 Object.keys(options).forEach(function(key) {
15579 -1 if (!allowedTypesMap[key]) {
15580 -1 allowedTypesMap[key] = [];
-1 27199 });
-1 27200 },
-1 27201 './node_modules/core-js-pure/modules/es.typed-array.copy-within.js': function node_modulesCoreJsPureModulesEsTypedArrayCopyWithinJs(module, exports) {},
-1 27202 './node_modules/core-js-pure/modules/es.typed-array.every.js': function node_modulesCoreJsPureModulesEsTypedArrayEveryJs(module, exports) {},
-1 27203 './node_modules/core-js-pure/modules/es.typed-array.fill.js': function node_modulesCoreJsPureModulesEsTypedArrayFillJs(module, exports) {},
-1 27204 './node_modules/core-js-pure/modules/es.typed-array.filter.js': function node_modulesCoreJsPureModulesEsTypedArrayFilterJs(module, exports) {},
-1 27205 './node_modules/core-js-pure/modules/es.typed-array.find-index.js': function node_modulesCoreJsPureModulesEsTypedArrayFindIndexJs(module, exports) {},
-1 27206 './node_modules/core-js-pure/modules/es.typed-array.find.js': function node_modulesCoreJsPureModulesEsTypedArrayFindJs(module, exports) {},
-1 27207 './node_modules/core-js-pure/modules/es.typed-array.for-each.js': function node_modulesCoreJsPureModulesEsTypedArrayForEachJs(module, exports) {},
-1 27208 './node_modules/core-js-pure/modules/es.typed-array.from.js': function node_modulesCoreJsPureModulesEsTypedArrayFromJs(module, exports) {},
-1 27209 './node_modules/core-js-pure/modules/es.typed-array.includes.js': function node_modulesCoreJsPureModulesEsTypedArrayIncludesJs(module, exports) {},
-1 27210 './node_modules/core-js-pure/modules/es.typed-array.index-of.js': function node_modulesCoreJsPureModulesEsTypedArrayIndexOfJs(module, exports) {},
-1 27211 './node_modules/core-js-pure/modules/es.typed-array.iterator.js': function node_modulesCoreJsPureModulesEsTypedArrayIteratorJs(module, exports) {},
-1 27212 './node_modules/core-js-pure/modules/es.typed-array.join.js': function node_modulesCoreJsPureModulesEsTypedArrayJoinJs(module, exports) {},
-1 27213 './node_modules/core-js-pure/modules/es.typed-array.last-index-of.js': function node_modulesCoreJsPureModulesEsTypedArrayLastIndexOfJs(module, exports) {},
-1 27214 './node_modules/core-js-pure/modules/es.typed-array.map.js': function node_modulesCoreJsPureModulesEsTypedArrayMapJs(module, exports) {},
-1 27215 './node_modules/core-js-pure/modules/es.typed-array.of.js': function node_modulesCoreJsPureModulesEsTypedArrayOfJs(module, exports) {},
-1 27216 './node_modules/core-js-pure/modules/es.typed-array.reduce-right.js': function node_modulesCoreJsPureModulesEsTypedArrayReduceRightJs(module, exports) {},
-1 27217 './node_modules/core-js-pure/modules/es.typed-array.reduce.js': function node_modulesCoreJsPureModulesEsTypedArrayReduceJs(module, exports) {},
-1 27218 './node_modules/core-js-pure/modules/es.typed-array.reverse.js': function node_modulesCoreJsPureModulesEsTypedArrayReverseJs(module, exports) {},
-1 27219 './node_modules/core-js-pure/modules/es.typed-array.set.js': function node_modulesCoreJsPureModulesEsTypedArraySetJs(module, exports) {},
-1 27220 './node_modules/core-js-pure/modules/es.typed-array.slice.js': function node_modulesCoreJsPureModulesEsTypedArraySliceJs(module, exports) {},
-1 27221 './node_modules/core-js-pure/modules/es.typed-array.some.js': function node_modulesCoreJsPureModulesEsTypedArraySomeJs(module, exports) {},
-1 27222 './node_modules/core-js-pure/modules/es.typed-array.sort.js': function node_modulesCoreJsPureModulesEsTypedArraySortJs(module, exports) {},
-1 27223 './node_modules/core-js-pure/modules/es.typed-array.subarray.js': function node_modulesCoreJsPureModulesEsTypedArraySubarrayJs(module, exports) {},
-1 27224 './node_modules/core-js-pure/modules/es.typed-array.to-locale-string.js': function node_modulesCoreJsPureModulesEsTypedArrayToLocaleStringJs(module, exports) {},
-1 27225 './node_modules/core-js-pure/modules/es.typed-array.to-string.js': function node_modulesCoreJsPureModulesEsTypedArrayToStringJs(module, exports) {},
-1 27226 './node_modules/core-js-pure/modules/es.typed-array.uint32-array.js': function node_modulesCoreJsPureModulesEsTypedArrayUint32ArrayJs(module, exports) {},
-1 27227 './node_modules/core-js-pure/modules/es.weak-map.js': function node_modulesCoreJsPureModulesEsWeakMapJs(module, exports, __webpack_require__) {
-1 27228 'use strict';
-1 27229 var global = __webpack_require__('./node_modules/core-js-pure/internals/global.js');
-1 27230 var redefineAll = __webpack_require__('./node_modules/core-js-pure/internals/redefine-all.js');
-1 27231 var InternalMetadataModule = __webpack_require__('./node_modules/core-js-pure/internals/internal-metadata.js');
-1 27232 var collection = __webpack_require__('./node_modules/core-js-pure/internals/collection.js');
-1 27233 var collectionWeak = __webpack_require__('./node_modules/core-js-pure/internals/collection-weak.js');
-1 27234 var isObject = __webpack_require__('./node_modules/core-js-pure/internals/is-object.js');
-1 27235 var enforceIternalState = __webpack_require__('./node_modules/core-js-pure/internals/internal-state.js').enforce;
-1 27236 var NATIVE_WEAK_MAP = __webpack_require__('./node_modules/core-js-pure/internals/native-weak-map.js');
-1 27237 var IS_IE11 = !global.ActiveXObject && 'ActiveXObject' in global;
-1 27238 var isExtensible = Object.isExtensible;
-1 27239 var InternalWeakMap;
-1 27240 var wrapper = function wrapper(init) {
-1 27241 return function WeakMap() {
-1 27242 return init(this, arguments.length ? arguments[0] : undefined);
-1 27243 };
-1 27244 };
-1 27245 var $WeakMap = module.exports = collection('WeakMap', wrapper, collectionWeak);
-1 27246 if (NATIVE_WEAK_MAP && IS_IE11) {
-1 27247 InternalWeakMap = collectionWeak.getConstructor(wrapper, 'WeakMap', true);
-1 27248 InternalMetadataModule.REQUIRED = true;
-1 27249 var WeakMapPrototype = $WeakMap.prototype;
-1 27250 var nativeDelete = WeakMapPrototype['delete'];
-1 27251 var nativeHas = WeakMapPrototype.has;
-1 27252 var nativeGet = WeakMapPrototype.get;
-1 27253 var nativeSet = WeakMapPrototype.set;
-1 27254 redefineAll(WeakMapPrototype, {
-1 27255 delete: function _delete(key) {
-1 27256 if (isObject(key) && !isExtensible(key)) {
-1 27257 var state = enforceIternalState(this);
-1 27258 if (!state.frozen) {
-1 27259 state.frozen = new InternalWeakMap();
-1 27260 }
-1 27261 return nativeDelete.call(this, key) || state.frozen['delete'](key);
15581 27262 }
15582 -1 allowedTypesMap[key] = allowedTypesMap[key].concat(options[key]);
-1 27263 return nativeDelete.call(this, key);
-1 27264 },
-1 27265 has: function has(key) {
-1 27266 if (isObject(key) && !isExtensible(key)) {
-1 27267 var state = enforceIternalState(this);
-1 27268 if (!state.frozen) {
-1 27269 state.frozen = new InternalWeakMap();
-1 27270 }
-1 27271 return nativeHas.call(this, key) || state.frozen.has(key);
-1 27272 }
-1 27273 return nativeHas.call(this, key);
-1 27274 },
-1 27275 get: function get(key) {
-1 27276 if (isObject(key) && !isExtensible(key)) {
-1 27277 var state = enforceIternalState(this);
-1 27278 if (!state.frozen) {
-1 27279 state.frozen = new InternalWeakMap();
-1 27280 }
-1 27281 return nativeHas.call(this, key) ? nativeGet.call(this, key) : state.frozen.get(key);
-1 27282 }
-1 27283 return nativeGet.call(this, key);
-1 27284 },
-1 27285 set: function set(key, value) {
-1 27286 if (isObject(key) && !isExtensible(key)) {
-1 27287 var state = enforceIternalState(this);
-1 27288 if (!state.frozen) {
-1 27289 state.frozen = new InternalWeakMap();
-1 27290 }
-1 27291 nativeHas.call(this, key) ? nativeSet.call(this, key, value) : state.frozen.set(key, value);
-1 27292 } else {
-1 27293 nativeSet.call(this, key, value);
-1 27294 }
-1 27295 return this;
-1 27296 }
-1 27297 });
-1 27298 }
-1 27299 },
-1 27300 './node_modules/core-js-pure/modules/esnext.aggregate-error.js': function node_modulesCoreJsPureModulesEsnextAggregateErrorJs(module, exports, __webpack_require__) {
-1 27301 'use strict';
-1 27302 var $ = __webpack_require__('./node_modules/core-js-pure/internals/export.js');
-1 27303 var DESCRIPTORS = __webpack_require__('./node_modules/core-js-pure/internals/descriptors.js');
-1 27304 var getPrototypeOf = __webpack_require__('./node_modules/core-js-pure/internals/object-get-prototype-of.js');
-1 27305 var setPrototypeOf = __webpack_require__('./node_modules/core-js-pure/internals/object-set-prototype-of.js');
-1 27306 var create = __webpack_require__('./node_modules/core-js-pure/internals/object-create.js');
-1 27307 var defineProperty = __webpack_require__('./node_modules/core-js-pure/internals/object-define-property.js');
-1 27308 var createPropertyDescriptor = __webpack_require__('./node_modules/core-js-pure/internals/create-property-descriptor.js');
-1 27309 var iterate = __webpack_require__('./node_modules/core-js-pure/internals/iterate.js');
-1 27310 var createNonEnumerableProperty = __webpack_require__('./node_modules/core-js-pure/internals/create-non-enumerable-property.js');
-1 27311 var InternalStateModule = __webpack_require__('./node_modules/core-js-pure/internals/internal-state.js');
-1 27312 var setInternalState = InternalStateModule.set;
-1 27313 var getInternalAggregateErrorState = InternalStateModule.getterFor('AggregateError');
-1 27314 var $AggregateError = function AggregateError(errors, message) {
-1 27315 var that = this;
-1 27316 if (!(that instanceof $AggregateError)) {
-1 27317 return new $AggregateError(errors, message);
-1 27318 }
-1 27319 if (setPrototypeOf) {
-1 27320 that = setPrototypeOf(new Error(message), getPrototypeOf(that));
-1 27321 }
-1 27322 var errorsArray = [];
-1 27323 iterate(errors, errorsArray.push, errorsArray);
-1 27324 if (DESCRIPTORS) {
-1 27325 setInternalState(that, {
-1 27326 errors: errorsArray,
-1 27327 type: 'AggregateError'
15583 27328 });
-1 27329 } else {
-1 27330 that.errors = errorsArray;
15584 27331 }
15585 -1 var autocomplete = node.getAttribute('autocomplete');
15586 -1 var autocompleteTerms = autocomplete.split(/\s+/g).map(function(term) {
15587 -1 return term.toLowerCase();
-1 27332 if (message !== undefined) {
-1 27333 createNonEnumerableProperty(that, 'message', String(message));
-1 27334 }
-1 27335 return that;
-1 27336 };
-1 27337 $AggregateError.prototype = create(Error.prototype, {
-1 27338 constructor: createPropertyDescriptor(5, $AggregateError),
-1 27339 message: createPropertyDescriptor(5, ''),
-1 27340 name: createPropertyDescriptor(5, 'AggregateError')
-1 27341 });
-1 27342 if (DESCRIPTORS) {
-1 27343 defineProperty.f($AggregateError.prototype, 'errors', {
-1 27344 get: function get() {
-1 27345 return getInternalAggregateErrorState(this).errors;
-1 27346 },
-1 27347 configurable: true
15588 27348 });
15589 -1 var purposeTerm = autocompleteTerms[autocompleteTerms.length - 1];
15590 -1 if (axe.commons.text.autocomplete.stateTerms.includes(purposeTerm)) {
15591 -1 return true;
-1 27349 }
-1 27350 $({
-1 27351 global: true
-1 27352 }, {
-1 27353 AggregateError: $AggregateError
-1 27354 });
-1 27355 },
-1 27356 './node_modules/core-js-pure/modules/esnext.promise.all-settled.js': function node_modulesCoreJsPureModulesEsnextPromiseAllSettledJs(module, exports, __webpack_require__) {
-1 27357 __webpack_require__('./node_modules/core-js-pure/modules/es.promise.all-settled.js');
-1 27358 },
-1 27359 './node_modules/core-js-pure/modules/esnext.promise.any.js': function node_modulesCoreJsPureModulesEsnextPromiseAnyJs(module, exports, __webpack_require__) {
-1 27360 'use strict';
-1 27361 var $ = __webpack_require__('./node_modules/core-js-pure/internals/export.js');
-1 27362 var aFunction = __webpack_require__('./node_modules/core-js-pure/internals/a-function.js');
-1 27363 var getBuiltIn = __webpack_require__('./node_modules/core-js-pure/internals/get-built-in.js');
-1 27364 var newPromiseCapabilityModule = __webpack_require__('./node_modules/core-js-pure/internals/new-promise-capability.js');
-1 27365 var perform = __webpack_require__('./node_modules/core-js-pure/internals/perform.js');
-1 27366 var iterate = __webpack_require__('./node_modules/core-js-pure/internals/iterate.js');
-1 27367 var PROMISE_ANY_ERROR = 'No one promise resolved';
-1 27368 $({
-1 27369 target: 'Promise',
-1 27370 stat: true
-1 27371 }, {
-1 27372 any: function any(iterable) {
-1 27373 var C = this;
-1 27374 var capability = newPromiseCapabilityModule.f(C);
-1 27375 var resolve = capability.resolve;
-1 27376 var reject = capability.reject;
-1 27377 var result = perform(function() {
-1 27378 var promiseResolve = aFunction(C.resolve);
-1 27379 var errors = [];
-1 27380 var counter = 0;
-1 27381 var remaining = 1;
-1 27382 var alreadyResolved = false;
-1 27383 iterate(iterable, function(promise) {
-1 27384 var index = counter++;
-1 27385 var alreadyRejected = false;
-1 27386 errors.push(undefined);
-1 27387 remaining++;
-1 27388 promiseResolve.call(C, promise).then(function(value) {
-1 27389 if (alreadyRejected || alreadyResolved) {
-1 27390 return;
-1 27391 }
-1 27392 alreadyResolved = true;
-1 27393 resolve(value);
-1 27394 }, function(e) {
-1 27395 if (alreadyRejected || alreadyResolved) {
-1 27396 return;
-1 27397 }
-1 27398 alreadyRejected = true;
-1 27399 errors[index] = e;
-1 27400 --remaining || reject(new (getBuiltIn('AggregateError'))(errors, PROMISE_ANY_ERROR));
-1 27401 });
-1 27402 });
-1 27403 --remaining || reject(new (getBuiltIn('AggregateError'))(errors, PROMISE_ANY_ERROR));
-1 27404 });
-1 27405 if (result.error) {
-1 27406 reject(result.value);
-1 27407 }
-1 27408 return capability.promise;
15592 27409 }
15593 -1 var allowedTypes = allowedTypesMap[purposeTerm];
15594 -1 var type = node.hasAttribute('type') ? axe.commons.text.sanitize(node.getAttribute('type')).toLowerCase() : 'text';
15595 -1 type = axe.utils.validInputTypes().includes(type) ? type : 'text';
15596 -1 if (typeof allowedTypes === 'undefined') {
15597 -1 return type === 'text';
-1 27410 });
-1 27411 },
-1 27412 './node_modules/core-js-pure/modules/esnext.promise.try.js': function node_modulesCoreJsPureModulesEsnextPromiseTryJs(module, exports, __webpack_require__) {
-1 27413 'use strict';
-1 27414 var $ = __webpack_require__('./node_modules/core-js-pure/internals/export.js');
-1 27415 var newPromiseCapabilityModule = __webpack_require__('./node_modules/core-js-pure/internals/new-promise-capability.js');
-1 27416 var perform = __webpack_require__('./node_modules/core-js-pure/internals/perform.js');
-1 27417 $({
-1 27418 target: 'Promise',
-1 27419 stat: true
-1 27420 }, {
-1 27421 try: function _try(callbackfn) {
-1 27422 var promiseCapability = newPromiseCapabilityModule.f(this);
-1 27423 var result = perform(callbackfn);
-1 27424 (result.error ? promiseCapability.reject : promiseCapability.resolve)(result.value);
-1 27425 return promiseCapability.promise;
15598 27426 }
15599 -1 return allowedTypes.includes(type);
15600 -1 }
15601 -1 }, {
15602 -1 id: 'autocomplete-valid',
15603 -1 evaluate: function evaluate(node, options, virtualNode, context) {
15604 -1 var autocomplete = node.getAttribute('autocomplete') || '';
15605 -1 return axe.commons.text.isValidAutocomplete(autocomplete, options);
-1 27427 });
-1 27428 },
-1 27429 './node_modules/core-js-pure/modules/web.dom-collections.iterator.js': function node_modulesCoreJsPureModulesWebDomCollectionsIteratorJs(module, exports, __webpack_require__) {
-1 27430 __webpack_require__('./node_modules/core-js-pure/modules/es.array.iterator.js');
-1 27431 var DOMIterables = __webpack_require__('./node_modules/core-js-pure/internals/dom-iterables.js');
-1 27432 var global = __webpack_require__('./node_modules/core-js-pure/internals/global.js');
-1 27433 var classof = __webpack_require__('./node_modules/core-js-pure/internals/classof.js');
-1 27434 var createNonEnumerableProperty = __webpack_require__('./node_modules/core-js-pure/internals/create-non-enumerable-property.js');
-1 27435 var Iterators = __webpack_require__('./node_modules/core-js-pure/internals/iterators.js');
-1 27436 var wellKnownSymbol = __webpack_require__('./node_modules/core-js-pure/internals/well-known-symbol.js');
-1 27437 var TO_STRING_TAG = wellKnownSymbol('toStringTag');
-1 27438 for (var COLLECTION_NAME in DOMIterables) {
-1 27439 var Collection = global[COLLECTION_NAME];
-1 27440 var CollectionPrototype = Collection && Collection.prototype;
-1 27441 if (CollectionPrototype && classof(CollectionPrototype) !== TO_STRING_TAG) {
-1 27442 createNonEnumerableProperty(CollectionPrototype, TO_STRING_TAG, COLLECTION_NAME);
-1 27443 }
-1 27444 Iterators[COLLECTION_NAME] = Iterators.Array;
15606 27445 }
15607 -1 }, {
15608 -1 id: 'fieldset',
15609 -1 evaluate: function evaluate(node, options, virtualNode, context) {
15610 -1 var failureCode, self = this;
15611 -1 function getUnrelatedElements(parent, name) {
15612 -1 return axe.utils.toArray(parent.querySelectorAll('select,textarea,button,input:not([name="' + name + '"]):not([type="hidden"])'));
15613 -1 }
15614 -1 function checkFieldset(group, name) {
15615 -1 var firstNode = group.firstElementChild;
15616 -1 if (!firstNode || firstNode.nodeName.toUpperCase() !== 'LEGEND') {
15617 -1 self.relatedNodes([ group ]);
15618 -1 failureCode = 'no-legend';
15619 -1 return false;
-1 27446 },
-1 27447 './node_modules/css-selector-parser/lib/index.js': function node_modulesCssSelectorParserLibIndexJs(module, exports, __webpack_require__) {
-1 27448 'use strict';
-1 27449 Object.defineProperty(exports, '__esModule', {
-1 27450 value: true
-1 27451 });
-1 27452 var parser_context_1 = __webpack_require__('./node_modules/css-selector-parser/lib/parser-context.js');
-1 27453 var render_1 = __webpack_require__('./node_modules/css-selector-parser/lib/render.js');
-1 27454 var CssSelectorParser = function() {
-1 27455 function CssSelectorParser() {
-1 27456 this.pseudos = {};
-1 27457 this.attrEqualityMods = {};
-1 27458 this.ruleNestingOperators = {};
-1 27459 this.substitutesEnabled = false;
-1 27460 }
-1 27461 CssSelectorParser.prototype.registerSelectorPseudos = function() {
-1 27462 var pseudos = [];
-1 27463 for (var _i = 0; _i < arguments.length; _i++) {
-1 27464 pseudos[_i] = arguments[_i];
-1 27465 }
-1 27466 for (var _a = 0, pseudos_1 = pseudos; _a < pseudos_1.length; _a++) {
-1 27467 var pseudo = pseudos_1[_a];
-1 27468 this.pseudos[pseudo] = 'selector';
-1 27469 }
-1 27470 return this;
-1 27471 };
-1 27472 CssSelectorParser.prototype.unregisterSelectorPseudos = function() {
-1 27473 var pseudos = [];
-1 27474 for (var _i = 0; _i < arguments.length; _i++) {
-1 27475 pseudos[_i] = arguments[_i];
15620 27476 }
15621 -1 if (!axe.commons.text.accessibleText(firstNode)) {
15622 -1 self.relatedNodes([ firstNode ]);
15623 -1 failureCode = 'empty-legend';
15624 -1 return false;
-1 27477 for (var _a = 0, pseudos_2 = pseudos; _a < pseudos_2.length; _a++) {
-1 27478 var pseudo = pseudos_2[_a];
-1 27479 delete this.pseudos[pseudo];
15625 27480 }
15626 -1 var otherElements = getUnrelatedElements(group, name);
15627 -1 if (otherElements.length) {
15628 -1 self.relatedNodes(otherElements);
15629 -1 failureCode = 'mixed-inputs';
15630 -1 return false;
-1 27481 return this;
-1 27482 };
-1 27483 CssSelectorParser.prototype.registerNumericPseudos = function() {
-1 27484 var pseudos = [];
-1 27485 for (var _i = 0; _i < arguments.length; _i++) {
-1 27486 pseudos[_i] = arguments[_i];
15631 27487 }
15632 -1 return true;
15633 -1 }
15634 -1 function checkARIAGroup(group, name) {
15635 -1 var hasLabelledByText = axe.commons.dom.idrefs(group, 'aria-labelledby').some(function(element) {
15636 -1 return element && axe.commons.text.accessibleText(element);
15637 -1 });
15638 -1 var ariaLabel = group.getAttribute('aria-label');
15639 -1 if (!hasLabelledByText && !(ariaLabel && axe.commons.text.sanitize(ariaLabel))) {
15640 -1 self.relatedNodes(group);
15641 -1 failureCode = 'no-group-label';
15642 -1 return false;
-1 27488 for (var _a = 0, pseudos_3 = pseudos; _a < pseudos_3.length; _a++) {
-1 27489 var pseudo = pseudos_3[_a];
-1 27490 this.pseudos[pseudo] = 'numeric';
15643 27491 }
15644 -1 var otherElements = getUnrelatedElements(group, name);
15645 -1 if (otherElements.length) {
15646 -1 self.relatedNodes(otherElements);
15647 -1 failureCode = 'group-mixed-inputs';
15648 -1 return false;
-1 27492 return this;
-1 27493 };
-1 27494 CssSelectorParser.prototype.unregisterNumericPseudos = function() {
-1 27495 var pseudos = [];
-1 27496 for (var _i = 0; _i < arguments.length; _i++) {
-1 27497 pseudos[_i] = arguments[_i];
15649 27498 }
15650 -1 return true;
15651 -1 }
15652 -1 function spliceCurrentNode(nodes, current) {
15653 -1 return axe.utils.toArray(nodes).filter(function(candidate) {
15654 -1 return candidate !== current;
15655 -1 });
-1 27499 for (var _a = 0, pseudos_4 = pseudos; _a < pseudos_4.length; _a++) {
-1 27500 var pseudo = pseudos_4[_a];
-1 27501 delete this.pseudos[pseudo];
-1 27502 }
-1 27503 return this;
-1 27504 };
-1 27505 CssSelectorParser.prototype.registerNestingOperators = function() {
-1 27506 var operators = [];
-1 27507 for (var _i = 0; _i < arguments.length; _i++) {
-1 27508 operators[_i] = arguments[_i];
-1 27509 }
-1 27510 for (var _a = 0, operators_1 = operators; _a < operators_1.length; _a++) {
-1 27511 var operator = operators_1[_a];
-1 27512 this.ruleNestingOperators[operator] = true;
-1 27513 }
-1 27514 return this;
-1 27515 };
-1 27516 CssSelectorParser.prototype.unregisterNestingOperators = function() {
-1 27517 var operators = [];
-1 27518 for (var _i = 0; _i < arguments.length; _i++) {
-1 27519 operators[_i] = arguments[_i];
-1 27520 }
-1 27521 for (var _a = 0, operators_2 = operators; _a < operators_2.length; _a++) {
-1 27522 var operator = operators_2[_a];
-1 27523 delete this.ruleNestingOperators[operator];
-1 27524 }
-1 27525 return this;
-1 27526 };
-1 27527 CssSelectorParser.prototype.registerAttrEqualityMods = function() {
-1 27528 var mods = [];
-1 27529 for (var _i = 0; _i < arguments.length; _i++) {
-1 27530 mods[_i] = arguments[_i];
-1 27531 }
-1 27532 for (var _a = 0, mods_1 = mods; _a < mods_1.length; _a++) {
-1 27533 var mod = mods_1[_a];
-1 27534 this.attrEqualityMods[mod] = true;
-1 27535 }
-1 27536 return this;
-1 27537 };
-1 27538 CssSelectorParser.prototype.unregisterAttrEqualityMods = function() {
-1 27539 var mods = [];
-1 27540 for (var _i = 0; _i < arguments.length; _i++) {
-1 27541 mods[_i] = arguments[_i];
-1 27542 }
-1 27543 for (var _a = 0, mods_2 = mods; _a < mods_2.length; _a++) {
-1 27544 var mod = mods_2[_a];
-1 27545 delete this.attrEqualityMods[mod];
-1 27546 }
-1 27547 return this;
-1 27548 };
-1 27549 CssSelectorParser.prototype.enableSubstitutes = function() {
-1 27550 this.substitutesEnabled = true;
-1 27551 return this;
-1 27552 };
-1 27553 CssSelectorParser.prototype.disableSubstitutes = function() {
-1 27554 this.substitutesEnabled = false;
-1 27555 return this;
-1 27556 };
-1 27557 CssSelectorParser.prototype.parse = function(str) {
-1 27558 return parser_context_1.parseCssSelector(str, 0, this.pseudos, this.attrEqualityMods, this.ruleNestingOperators, this.substitutesEnabled);
-1 27559 };
-1 27560 CssSelectorParser.prototype.render = function(path) {
-1 27561 return render_1.renderEntity(path).trim();
-1 27562 };
-1 27563 return CssSelectorParser;
-1 27564 }();
-1 27565 exports.CssSelectorParser = CssSelectorParser;
-1 27566 },
-1 27567 './node_modules/css-selector-parser/lib/parser-context.js': function node_modulesCssSelectorParserLibParserContextJs(module, exports, __webpack_require__) {
-1 27568 'use strict';
-1 27569 Object.defineProperty(exports, '__esModule', {
-1 27570 value: true
-1 27571 });
-1 27572 var utils_1 = __webpack_require__('./node_modules/css-selector-parser/lib/utils.js');
-1 27573 function parseCssSelector(str, pos, pseudos, attrEqualityMods, ruleNestingOperators, substitutesEnabled) {
-1 27574 var l = str.length;
-1 27575 var chr = '';
-1 27576 function getStr(quote, escapeTable) {
-1 27577 var result = '';
-1 27578 pos++;
-1 27579 chr = str.charAt(pos);
-1 27580 while (pos < l) {
-1 27581 if (chr === quote) {
-1 27582 pos++;
-1 27583 return result;
-1 27584 } else if (chr === '\\') {
-1 27585 pos++;
-1 27586 chr = str.charAt(pos);
-1 27587 var esc = void 0;
-1 27588 if (chr === quote) {
-1 27589 result += quote;
-1 27590 } else if ((esc = escapeTable[chr]) !== undefined) {
-1 27591 result += esc;
-1 27592 } else if (utils_1.isHex(chr)) {
-1 27593 var hex = chr;
-1 27594 pos++;
-1 27595 chr = str.charAt(pos);
-1 27596 while (utils_1.isHex(chr)) {
-1 27597 hex += chr;
-1 27598 pos++;
-1 27599 chr = str.charAt(pos);
-1 27600 }
-1 27601 if (chr === ' ') {
-1 27602 pos++;
-1 27603 chr = str.charAt(pos);
-1 27604 }
-1 27605 result += String.fromCharCode(parseInt(hex, 16));
-1 27606 continue;
-1 27607 } else {
-1 27608 result += chr;
-1 27609 }
-1 27610 } else {
-1 27611 result += chr;
-1 27612 }
-1 27613 pos++;
-1 27614 chr = str.charAt(pos);
-1 27615 }
-1 27616 return result;
15656 27617 }
15657 -1 function runCheck(virtualNode) {
15658 -1 var name = axe.utils.escapeSelector(virtualNode.actualNode.name);
15659 -1 var root = axe.commons.dom.getRootNode(virtualNode.actualNode);
15660 -1 var matchingNodes = root.querySelectorAll('input[type="' + axe.utils.escapeSelector(virtualNode.actualNode.type) + '"][name="' + name + '"]');
15661 -1 if (matchingNodes.length < 2) {
15662 -1 return true;
-1 27618 function getIdent() {
-1 27619 var result = '';
-1 27620 chr = str.charAt(pos);
-1 27621 while (pos < l) {
-1 27622 if (utils_1.isIdent(chr)) {
-1 27623 result += chr;
-1 27624 } else if (chr === '\\') {
-1 27625 pos++;
-1 27626 if (pos >= l) {
-1 27627 throw Error('Expected symbol but end of file reached.');
-1 27628 }
-1 27629 chr = str.charAt(pos);
-1 27630 if (utils_1.identSpecialChars[chr]) {
-1 27631 result += chr;
-1 27632 } else if (utils_1.isHex(chr)) {
-1 27633 var hex = chr;
-1 27634 pos++;
-1 27635 chr = str.charAt(pos);
-1 27636 while (utils_1.isHex(chr)) {
-1 27637 hex += chr;
-1 27638 pos++;
-1 27639 chr = str.charAt(pos);
-1 27640 }
-1 27641 if (chr === ' ') {
-1 27642 pos++;
-1 27643 chr = str.charAt(pos);
-1 27644 }
-1 27645 result += String.fromCharCode(parseInt(hex, 16));
-1 27646 continue;
-1 27647 } else {
-1 27648 result += chr;
-1 27649 }
-1 27650 } else {
-1 27651 return result;
-1 27652 }
-1 27653 pos++;
-1 27654 chr = str.charAt(pos);
15663 27655 }
15664 -1 var fieldset = axe.commons.dom.findUpVirtual(virtualNode, 'fieldset');
15665 -1 var group = axe.commons.dom.findUpVirtual(virtualNode, '[role="group"]' + (virtualNode.actualNode.type === 'radio' ? ',[role="radiogroup"]' : ''));
15666 -1 if (!group && !fieldset) {
15667 -1 failureCode = 'no-group';
15668 -1 self.relatedNodes(spliceCurrentNode(matchingNodes, virtualNode.actualNode));
15669 -1 return false;
15670 -1 } else if (fieldset) {
15671 -1 return checkFieldset(fieldset, name);
15672 -1 } else {
15673 -1 return checkARIAGroup(group, name);
-1 27656 return result;
-1 27657 }
-1 27658 function skipWhitespace() {
-1 27659 chr = str.charAt(pos);
-1 27660 var result = false;
-1 27661 while (chr === ' ' || chr === '\t' || chr === '\n' || chr === '\r' || chr === '\f') {
-1 27662 result = true;
-1 27663 pos++;
-1 27664 chr = str.charAt(pos);
15674 27665 }
-1 27666 return result;
15675 27667 }
15676 -1 var data = {
15677 -1 name: node.getAttribute('name'),
15678 -1 type: node.getAttribute('type')
15679 -1 };
15680 -1 var result = runCheck(virtualNode);
15681 -1 if (!result) {
15682 -1 data.failureCode = failureCode;
-1 27668 function parse() {
-1 27669 var res = parseSelector();
-1 27670 if (pos < l) {
-1 27671 throw Error('Rule expected but "' + str.charAt(pos) + '" found.');
-1 27672 }
-1 27673 return res;
15683 27674 }
15684 -1 this.data(data);
15685 -1 return result;
15686 -1 },
15687 -1 after: function after(results, options) {
15688 -1 var seen = {};
15689 -1 return results.filter(function(result) {
15690 -1 if (result.result) {
15691 -1 return true;
-1 27675 function parseSelector() {
-1 27676 var selector = parseSingleSelector();
-1 27677 if (!selector) {
-1 27678 return null;
15692 27679 }
15693 -1 var data = result.data;
15694 -1 if (data) {
15695 -1 seen[data.type] = seen[data.type] || {};
15696 -1 if (!seen[data.type][data.name]) {
15697 -1 seen[data.type][data.name] = [ data ];
15698 -1 return true;
-1 27680 var res = selector;
-1 27681 chr = str.charAt(pos);
-1 27682 while (chr === ',') {
-1 27683 pos++;
-1 27684 skipWhitespace();
-1 27685 if (res.type !== 'selectors') {
-1 27686 res = {
-1 27687 type: 'selectors',
-1 27688 selectors: [ selector ]
-1 27689 };
15699 27690 }
15700 -1 var hasBeenSeen = seen[data.type][data.name].some(function(candidate) {
15701 -1 return candidate.failureCode === data.failureCode;
15702 -1 });
15703 -1 if (!hasBeenSeen) {
15704 -1 seen[data.type][data.name].push(data);
-1 27691 selector = parseSingleSelector();
-1 27692 if (!selector) {
-1 27693 throw Error('Rule expected after ",".');
15705 27694 }
15706 -1 return !hasBeenSeen;
-1 27695 res.selectors.push(selector);
15707 27696 }
15708 -1 return false;
15709 -1 });
15710 -1 }
15711 -1 }, {
15712 -1 id: 'group-labelledby',
15713 -1 evaluate: function evaluate(node, options, virtualNode, context) {
15714 -1 var _axe$commons8 = axe.commons, dom = _axe$commons8.dom, text = _axe$commons8.text;
15715 -1 var type = axe.utils.escapeSelector(node.type);
15716 -1 var name = axe.utils.escapeSelector(node.name);
15717 -1 var doc = dom.getRootNode(node);
15718 -1 var data = {
15719 -1 name: node.name,
15720 -1 type: node.type
15721 -1 };
15722 -1 var matchingNodes = Array.from(doc.querySelectorAll('input[type="' + type + '"][name="' + name + '"]'));
15723 -1 if (matchingNodes.length <= 1) {
15724 -1 this.data(data);
15725 -1 return true;
-1 27697 return res;
15726 27698 }
15727 -1 var sharedLabels = dom.idrefs(node, 'aria-labelledby').filter(function(label) {
15728 -1 return !!label;
15729 -1 });
15730 -1 var uniqueLabels = sharedLabels.slice();
15731 -1 matchingNodes.forEach(function(groupItem) {
15732 -1 if (groupItem === node) {
15733 -1 return;
-1 27699 function parseSingleSelector() {
-1 27700 skipWhitespace();
-1 27701 var selector = {
-1 27702 type: 'ruleSet'
-1 27703 };
-1 27704 var rule = parseRule();
-1 27705 if (!rule) {
-1 27706 return null;
15734 27707 }
15735 -1 var labels = dom.idrefs(groupItem, 'aria-labelledby').filter(function(newLabel) {
15736 -1 return newLabel;
15737 -1 });
15738 -1 sharedLabels = sharedLabels.filter(function(sharedLabel) {
15739 -1 return labels.includes(sharedLabel);
15740 -1 });
15741 -1 uniqueLabels = uniqueLabels.filter(function(uniqueLabel) {
15742 -1 return !labels.includes(uniqueLabel);
15743 -1 });
15744 -1 });
15745 -1 var accessibleTextOptions = {
15746 -1 inLabelledByContext: true
15747 -1 };
15748 -1 uniqueLabels = uniqueLabels.filter(function(labelNode) {
15749 -1 return text.accessibleText(labelNode, accessibleTextOptions);
15750 -1 });
15751 -1 sharedLabels = sharedLabels.filter(function(labelNode) {
15752 -1 return text.accessibleText(labelNode, accessibleTextOptions);
15753 -1 });
15754 -1 if (uniqueLabels.length > 0 && sharedLabels.length > 0) {
15755 -1 this.data(data);
15756 -1 return true;
15757 -1 }
15758 -1 if (uniqueLabels.length > 0 && sharedLabels.length === 0) {
15759 -1 data.failureCode = 'no-shared-label';
15760 -1 } else if (uniqueLabels.length === 0 && sharedLabels.length > 0) {
15761 -1 data.failureCode = 'no-unique-label';
15762 -1 }
15763 -1 this.data(data);
15764 -1 return false;
15765 -1 },
15766 -1 after: function after(results, options) {
15767 -1 var seen = {};
15768 -1 return results.filter(function(result) {
15769 -1 var data = result.data;
15770 -1 if (data) {
15771 -1 seen[data.type] = seen[data.type] || {};
15772 -1 if (!seen[data.type][data.name]) {
15773 -1 seen[data.type][data.name] = true;
15774 -1 return true;
-1 27708 var currentRule = selector;
-1 27709 while (rule) {
-1 27710 rule.type = 'rule';
-1 27711 currentRule.rule = rule;
-1 27712 currentRule = rule;
-1 27713 skipWhitespace();
-1 27714 chr = str.charAt(pos);
-1 27715 if (pos >= l || chr === ',' || chr === ')') {
-1 27716 break;
-1 27717 }
-1 27718 if (ruleNestingOperators[chr]) {
-1 27719 var op = chr;
-1 27720 pos++;
-1 27721 skipWhitespace();
-1 27722 rule = parseRule();
-1 27723 if (!rule) {
-1 27724 throw Error('Rule expected after "' + op + '".');
-1 27725 }
-1 27726 rule.nestingOperator = op;
-1 27727 } else {
-1 27728 rule = parseRule();
-1 27729 if (rule) {
-1 27730 rule.nestingOperator = null;
-1 27731 }
15775 27732 }
15776 27733 }
15777 -1 return false;
15778 -1 });
15779 -1 }
15780 -1 }, {
15781 -1 id: 'accesskeys',
15782 -1 evaluate: function evaluate(node, options, virtualNode, context) {
15783 -1 if (axe.commons.dom.isVisible(node, false)) {
15784 -1 this.data(node.getAttribute('accesskey'));
15785 -1 this.relatedNodes([ node ]);
-1 27734 return selector;
15786 27735 }
15787 -1 return true;
15788 -1 },
15789 -1 after: function after(results, options) {
15790 -1 var seen = {};
15791 -1 return results.filter(function(r) {
15792 -1 if (!r.data) {
15793 -1 return false;
15794 -1 }
15795 -1 var key = r.data.toUpperCase();
15796 -1 if (!seen[key]) {
15797 -1 seen[key] = r;
15798 -1 r.relatedNodes = [];
15799 -1 return true;
-1 27736 function parseRule() {
-1 27737 var rule = null;
-1 27738 while (pos < l) {
-1 27739 chr = str.charAt(pos);
-1 27740 if (chr === '*') {
-1 27741 pos++;
-1 27742 (rule = rule || {}).tagName = '*';
-1 27743 } else if (utils_1.isIdentStart(chr) || chr === '\\') {
-1 27744 (rule = rule || {}).tagName = getIdent();
-1 27745 } else if (chr === '.') {
-1 27746 pos++;
-1 27747 rule = rule || {};
-1 27748 (rule.classNames = rule.classNames || []).push(getIdent());
-1 27749 } else if (chr === '#') {
-1 27750 pos++;
-1 27751 (rule = rule || {}).id = getIdent();
-1 27752 } else if (chr === '[') {
-1 27753 pos++;
-1 27754 skipWhitespace();
-1 27755 var attr = {
-1 27756 name: getIdent()
-1 27757 };
-1 27758 skipWhitespace();
-1 27759 if (chr === ']') {
-1 27760 pos++;
-1 27761 } else {
-1 27762 var operator = '';
-1 27763 if (attrEqualityMods[chr]) {
-1 27764 operator = chr;
-1 27765 pos++;
-1 27766 chr = str.charAt(pos);
-1 27767 }
-1 27768 if (pos >= l) {
-1 27769 throw Error('Expected "=" but end of file reached.');
-1 27770 }
-1 27771 if (chr !== '=') {
-1 27772 throw Error('Expected "=" but "' + chr + '" found.');
-1 27773 }
-1 27774 attr.operator = operator + '=';
-1 27775 pos++;
-1 27776 skipWhitespace();
-1 27777 var attrValue = '';
-1 27778 attr.valueType = 'string';
-1 27779 if (chr === '"') {
-1 27780 attrValue = getStr('"', utils_1.doubleQuotesEscapeChars);
-1 27781 } else if (chr === '\'') {
-1 27782 attrValue = getStr('\'', utils_1.singleQuoteEscapeChars);
-1 27783 } else if (substitutesEnabled && chr === '$') {
-1 27784 pos++;
-1 27785 attrValue = getIdent();
-1 27786 attr.valueType = 'substitute';
-1 27787 } else {
-1 27788 while (pos < l) {
-1 27789 if (chr === ']') {
-1 27790 break;
-1 27791 }
-1 27792 attrValue += chr;
-1 27793 pos++;
-1 27794 chr = str.charAt(pos);
-1 27795 }
-1 27796 attrValue = attrValue.trim();
-1 27797 }
-1 27798 skipWhitespace();
-1 27799 if (pos >= l) {
-1 27800 throw Error('Expected "]" but end of file reached.');
-1 27801 }
-1 27802 if (chr !== ']') {
-1 27803 throw Error('Expected "]" but "' + chr + '" found.');
-1 27804 }
-1 27805 pos++;
-1 27806 attr.value = attrValue;
-1 27807 }
-1 27808 rule = rule || {};
-1 27809 (rule.attrs = rule.attrs || []).push(attr);
-1 27810 } else if (chr === ':') {
-1 27811 pos++;
-1 27812 var pseudoName = getIdent();
-1 27813 var pseudo = {
-1 27814 name: pseudoName
-1 27815 };
-1 27816 if (chr === '(') {
-1 27817 pos++;
-1 27818 var value = '';
-1 27819 skipWhitespace();
-1 27820 if (pseudos[pseudoName] === 'selector') {
-1 27821 pseudo.valueType = 'selector';
-1 27822 value = parseSelector();
-1 27823 } else {
-1 27824 pseudo.valueType = pseudos[pseudoName] || 'string';
-1 27825 if (chr === '"') {
-1 27826 value = getStr('"', utils_1.doubleQuotesEscapeChars);
-1 27827 } else if (chr === '\'') {
-1 27828 value = getStr('\'', utils_1.singleQuoteEscapeChars);
-1 27829 } else if (substitutesEnabled && chr === '$') {
-1 27830 pos++;
-1 27831 value = getIdent();
-1 27832 pseudo.valueType = 'substitute';
-1 27833 } else {
-1 27834 while (pos < l) {
-1 27835 if (chr === ')') {
-1 27836 break;
-1 27837 }
-1 27838 value += chr;
-1 27839 pos++;
-1 27840 chr = str.charAt(pos);
-1 27841 }
-1 27842 value = value.trim();
-1 27843 }
-1 27844 skipWhitespace();
-1 27845 }
-1 27846 if (pos >= l) {
-1 27847 throw Error('Expected ")" but end of file reached.');
-1 27848 }
-1 27849 if (chr !== ')') {
-1 27850 throw Error('Expected ")" but "' + chr + '" found.');
-1 27851 }
-1 27852 pos++;
-1 27853 pseudo.value = value;
-1 27854 }
-1 27855 rule = rule || {};
-1 27856 (rule.pseudos = rule.pseudos || []).push(pseudo);
-1 27857 } else {
-1 27858 break;
-1 27859 }
15800 27860 }
15801 -1 seen[key].relatedNodes.push(r.relatedNodes[0]);
15802 -1 return false;
15803 -1 }).map(function(r) {
15804 -1 r.result = !!r.relatedNodes.length;
15805 -1 return r;
15806 -1 });
15807 -1 }
15808 -1 }, {
15809 -1 id: 'focusable-disabled',
15810 -1 evaluate: function evaluate(node, options, virtualNode, context) {
15811 -1 var elementsThatCanBeDisabled = [ 'BUTTON', 'FIELDSET', 'INPUT', 'SELECT', 'TEXTAREA' ];
15812 -1 var tabbableElements = virtualNode.tabbableElements;
15813 -1 if (!tabbableElements || !tabbableElements.length) {
15814 -1 return true;
-1 27861 return rule;
15815 27862 }
15816 -1 var relatedNodes = tabbableElements.reduce(function(out, _ref3) {
15817 -1 var el = _ref3.actualNode;
15818 -1 var nodeName = el.nodeName.toUpperCase();
15819 -1 if (elementsThatCanBeDisabled.includes(nodeName)) {
15820 -1 out.push(el);
-1 27863 return parse();
-1 27864 }
-1 27865 exports.parseCssSelector = parseCssSelector;
-1 27866 },
-1 27867 './node_modules/css-selector-parser/lib/render.js': function node_modulesCssSelectorParserLibRenderJs(module, exports, __webpack_require__) {
-1 27868 'use strict';
-1 27869 Object.defineProperty(exports, '__esModule', {
-1 27870 value: true
-1 27871 });
-1 27872 var utils_1 = __webpack_require__('./node_modules/css-selector-parser/lib/utils.js');
-1 27873 function renderEntity(entity) {
-1 27874 var res = '';
-1 27875 switch (entity.type) {
-1 27876 case 'ruleSet':
-1 27877 var currentEntity = entity.rule;
-1 27878 var parts = [];
-1 27879 while (currentEntity) {
-1 27880 if (currentEntity.nestingOperator) {
-1 27881 parts.push(currentEntity.nestingOperator);
-1 27882 }
-1 27883 parts.push(renderEntity(currentEntity));
-1 27884 currentEntity = currentEntity.rule;
-1 27885 }
-1 27886 res = parts.join(' ');
-1 27887 break;
-1 27888
-1 27889 case 'selectors':
-1 27890 res = entity.selectors.map(renderEntity).join(', ');
-1 27891 break;
-1 27892
-1 27893 case 'rule':
-1 27894 if (entity.tagName) {
-1 27895 if (entity.tagName === '*') {
-1 27896 res = '*';
-1 27897 } else {
-1 27898 res = utils_1.escapeIdentifier(entity.tagName);
-1 27899 }
15821 27900 }
15822 -1 return out;
15823 -1 }, []);
15824 -1 this.relatedNodes(relatedNodes);
15825 -1 return relatedNodes.length === 0;
15826 -1 }
15827 -1 }, {
15828 -1 id: 'focusable-no-name',
15829 -1 evaluate: function evaluate(node, options, virtualNode, context) {
15830 -1 var tabIndex = node.getAttribute('tabindex'), inFocusOrder = axe.commons.dom.isFocusable(node) && tabIndex > -1;
15831 -1 if (!inFocusOrder) {
15832 -1 return false;
15833 -1 }
15834 -1 return !axe.commons.text.accessibleTextVirtual(virtualNode);
15835 -1 }
15836 -1 }, {
15837 -1 id: 'focusable-not-tabbable',
15838 -1 evaluate: function evaluate(node, options, virtualNode, context) {
15839 -1 var elementsThatCanBeDisabled = [ 'BUTTON', 'FIELDSET', 'INPUT', 'SELECT', 'TEXTAREA' ];
15840 -1 var tabbableElements = virtualNode.tabbableElements;
15841 -1 if (!tabbableElements || !tabbableElements.length) {
15842 -1 return true;
15843 -1 }
15844 -1 var relatedNodes = tabbableElements.reduce(function(out, _ref4) {
15845 -1 var el = _ref4.actualNode;
15846 -1 var nodeName = el.nodeName.toUpperCase();
15847 -1 if (!elementsThatCanBeDisabled.includes(nodeName)) {
15848 -1 out.push(el);
-1 27901 if (entity.id) {
-1 27902 res += '#' + utils_1.escapeIdentifier(entity.id);
15849 27903 }
15850 -1 return out;
15851 -1 }, []);
15852 -1 this.relatedNodes(relatedNodes);
15853 -1 return relatedNodes.length === 0;
15854 -1 }
15855 -1 }, {
15856 -1 id: 'landmark-is-top-level',
15857 -1 evaluate: function evaluate(node, options, virtualNode, context) {
15858 -1 var landmarks = axe.commons.aria.getRolesByType('landmark');
15859 -1 var parent = axe.commons.dom.getComposedParent(node);
15860 -1 this.data({
15861 -1 role: node.getAttribute('role') || axe.commons.aria.implicitRole(node)
15862 -1 });
15863 -1 while (parent) {
15864 -1 var role = parent.getAttribute('role');
15865 -1 if (!role && parent.nodeName.toUpperCase() !== 'FORM') {
15866 -1 role = axe.commons.aria.implicitRole(parent);
-1 27904 if (entity.classNames) {
-1 27905 res += entity.classNames.map(function(cn) {
-1 27906 return '.' + utils_1.escapeIdentifier(cn);
-1 27907 }).join('');
15867 27908 }
15868 -1 if (role && landmarks.includes(role)) {
15869 -1 return false;
-1 27909 if (entity.attrs) {
-1 27910 res += entity.attrs.map(function(attr) {
-1 27911 if ('operator' in attr) {
-1 27912 if (attr.valueType === 'substitute') {
-1 27913 return '[' + utils_1.escapeIdentifier(attr.name) + attr.operator + '$' + attr.value + ']';
-1 27914 } else {
-1 27915 return '[' + utils_1.escapeIdentifier(attr.name) + attr.operator + utils_1.escapeStr(attr.value) + ']';
-1 27916 }
-1 27917 } else {
-1 27918 return '[' + utils_1.escapeIdentifier(attr.name) + ']';
-1 27919 }
-1 27920 }).join('');
-1 27921 }
-1 27922 if (entity.pseudos) {
-1 27923 res += entity.pseudos.map(function(pseudo) {
-1 27924 if (pseudo.valueType) {
-1 27925 if (pseudo.valueType === 'selector') {
-1 27926 return ':' + utils_1.escapeIdentifier(pseudo.name) + '(' + renderEntity(pseudo.value) + ')';
-1 27927 } else if (pseudo.valueType === 'substitute') {
-1 27928 return ':' + utils_1.escapeIdentifier(pseudo.name) + '($' + pseudo.value + ')';
-1 27929 } else if (pseudo.valueType === 'numeric') {
-1 27930 return ':' + utils_1.escapeIdentifier(pseudo.name) + '(' + pseudo.value + ')';
-1 27931 } else {
-1 27932 return ':' + utils_1.escapeIdentifier(pseudo.name) + '(' + utils_1.escapeIdentifier(pseudo.value) + ')';
-1 27933 }
-1 27934 } else {
-1 27935 return ':' + utils_1.escapeIdentifier(pseudo.name);
-1 27936 }
-1 27937 }).join('');
15870 27938 }
15871 -1 parent = axe.commons.dom.getComposedParent(parent);
-1 27939 break;
-1 27940
-1 27941 default:
-1 27942 throw Error('Unknown entity type: "' + entity.type + '".');
15872 27943 }
15873 -1 return true;
-1 27944 return res;
15874 27945 }
15875 -1 }, {
15876 -1 id: 'page-has-heading-one',
15877 -1 evaluate: function evaluate(node, options, virtualNode, context) {
15878 -1 if (!options || !options.selector || typeof options.selector !== 'string') {
15879 -1 throw new TypeError('visible-in-page requires options.selector to be a string');
15880 -1 }
15881 -1 var matchingElms = axe.utils.querySelectorAll(virtualNode, options.selector);
15882 -1 this.relatedNodes(matchingElms.map(function(vNode) {
15883 -1 return vNode.actualNode;
15884 -1 }));
15885 -1 return matchingElms.length > 0;
15886 -1 },
15887 -1 after: function after(results, options) {
15888 -1 var elmUsedAnywhere = results.some(function(frameResult) {
15889 -1 return frameResult.result === true;
15890 -1 });
15891 -1 if (elmUsedAnywhere) {
15892 -1 results.forEach(function(result) {
15893 -1 result.result = true;
15894 -1 });
15895 -1 }
15896 -1 return results;
15897 -1 },
15898 -1 options: {
15899 -1 selector: 'h1:not([role]), [role="heading"][aria-level="1"]'
-1 27946 exports.renderEntity = renderEntity;
-1 27947 },
-1 27948 './node_modules/css-selector-parser/lib/utils.js': function node_modulesCssSelectorParserLibUtilsJs(module, exports, __webpack_require__) {
-1 27949 'use strict';
-1 27950 Object.defineProperty(exports, '__esModule', {
-1 27951 value: true
-1 27952 });
-1 27953 function isIdentStart(c) {
-1 27954 return c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z' || c === '-' || c === '_';
15900 27955 }
15901 -1 }, {
15902 -1 id: 'page-has-main',
15903 -1 evaluate: function evaluate(node, options, virtualNode, context) {
15904 -1 if (!options || !options.selector || typeof options.selector !== 'string') {
15905 -1 throw new TypeError('visible-in-page requires options.selector to be a string');
15906 -1 }
15907 -1 var matchingElms = axe.utils.querySelectorAll(virtualNode, options.selector);
15908 -1 this.relatedNodes(matchingElms.map(function(vNode) {
15909 -1 return vNode.actualNode;
15910 -1 }));
15911 -1 return matchingElms.length > 0;
15912 -1 },
15913 -1 after: function after(results, options) {
15914 -1 var elmUsedAnywhere = results.some(function(frameResult) {
15915 -1 return frameResult.result === true;
15916 -1 });
15917 -1 if (elmUsedAnywhere) {
15918 -1 results.forEach(function(result) {
15919 -1 result.result = true;
15920 -1 });
15921 -1 }
15922 -1 return results;
15923 -1 },
15924 -1 options: {
15925 -1 selector: 'main:not([role]), [role=\'main\']'
-1 27956 exports.isIdentStart = isIdentStart;
-1 27957 function isIdent(c) {
-1 27958 return c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z' || c >= '0' && c <= '9' || c === '-' || c === '_';
15926 27959 }
15927 -1 }, {
15928 -1 id: 'page-no-duplicate-banner',
15929 -1 evaluate: function evaluate(node, options, virtualNode, context) {
15930 -1 if (!options || !options.selector || typeof options.selector !== 'string') {
15931 -1 throw new TypeError('visible-in-page requires options.selector to be a string');
15932 -1 }
15933 -1 var elms = axe.utils.querySelectorAll(virtualNode, options.selector);
15934 -1 if (typeof options.nativeScopeFilter === 'string') {
15935 -1 elms = elms.filter(function(elm) {
15936 -1 return elm.actualNode.hasAttribute('role') || !axe.commons.dom.findUpVirtual(elm, options.nativeScopeFilter);
15937 -1 });
15938 -1 }
15939 -1 this.relatedNodes(elms.map(function(elm) {
15940 -1 return elm.actualNode;
15941 -1 }));
15942 -1 return elms.length <= 1;
15943 -1 },
15944 -1 options: {
15945 -1 selector: 'header:not([role]), [role=banner]',
15946 -1 nativeScopeFilter: 'article, aside, main, nav, section'
-1 27960 exports.isIdent = isIdent;
-1 27961 function isHex(c) {
-1 27962 return c >= 'a' && c <= 'f' || c >= 'A' && c <= 'F' || c >= '0' && c <= '9';
15947 27963 }
15948 -1 }, {
15949 -1 id: 'page-no-duplicate-contentinfo',
15950 -1 evaluate: function evaluate(node, options, virtualNode, context) {
15951 -1 if (!options || !options.selector || typeof options.selector !== 'string') {
15952 -1 throw new TypeError('visible-in-page requires options.selector to be a string');
15953 -1 }
15954 -1 var elms = axe.utils.querySelectorAll(virtualNode, options.selector);
15955 -1 if (typeof options.nativeScopeFilter === 'string') {
15956 -1 elms = elms.filter(function(elm) {
15957 -1 return elm.actualNode.hasAttribute('role') || !axe.commons.dom.findUpVirtual(elm, options.nativeScopeFilter);
15958 -1 });
-1 27964 exports.isHex = isHex;
-1 27965 function escapeIdentifier(s) {
-1 27966 var len = s.length;
-1 27967 var result = '';
-1 27968 var i = 0;
-1 27969 while (i < len) {
-1 27970 var chr = s.charAt(i);
-1 27971 if (exports.identSpecialChars[chr]) {
-1 27972 result += '\\' + chr;
-1 27973 } else {
-1 27974 if (!(chr === '_' || chr === '-' || chr >= 'A' && chr <= 'Z' || chr >= 'a' && chr <= 'z' || i !== 0 && chr >= '0' && chr <= '9')) {
-1 27975 var charCode = chr.charCodeAt(0);
-1 27976 if ((charCode & 63488) === 55296) {
-1 27977 var extraCharCode = s.charCodeAt(i++);
-1 27978 if ((charCode & 64512) !== 55296 || (extraCharCode & 64512) !== 56320) {
-1 27979 throw Error('UCS-2(decode): illegal sequence');
-1 27980 }
-1 27981 charCode = ((charCode & 1023) << 10) + (extraCharCode & 1023) + 65536;
-1 27982 }
-1 27983 result += '\\' + charCode.toString(16) + ' ';
-1 27984 } else {
-1 27985 result += chr;
-1 27986 }
-1 27987 }
-1 27988 i++;
15959 27989 }
15960 -1 this.relatedNodes(elms.map(function(elm) {
15961 -1 return elm.actualNode;
15962 -1 }));
15963 -1 return elms.length <= 1;
15964 -1 },
15965 -1 options: {
15966 -1 selector: 'footer:not([role]), [role=contentinfo]',
15967 -1 nativeScopeFilter: 'article, aside, main, nav, section'
-1 27990 return result;
15968 27991 }
15969 -1 }, {
15970 -1 id: 'page-no-duplicate-main',
15971 -1 evaluate: function evaluate(node, options, virtualNode, context) {
15972 -1 if (!options || !options.selector || typeof options.selector !== 'string') {
15973 -1 throw new TypeError('visible-in-page requires options.selector to be a string');
15974 -1 }
15975 -1 var elms = axe.utils.querySelectorAll(virtualNode, options.selector);
15976 -1 if (typeof options.nativeScopeFilter === 'string') {
15977 -1 elms = elms.filter(function(elm) {
15978 -1 return elm.actualNode.hasAttribute('role') || !axe.commons.dom.findUpVirtual(elm, options.nativeScopeFilter);
15979 -1 });
-1 27992 exports.escapeIdentifier = escapeIdentifier;
-1 27993 function escapeStr(s) {
-1 27994 var len = s.length;
-1 27995 var result = '';
-1 27996 var i = 0;
-1 27997 var replacement;
-1 27998 while (i < len) {
-1 27999 var chr = s.charAt(i);
-1 28000 if (chr === '"') {
-1 28001 chr = '\\"';
-1 28002 } else if (chr === '\\') {
-1 28003 chr = '\\\\';
-1 28004 } else if ((replacement = exports.strReplacementsRev[chr]) !== undefined) {
-1 28005 chr = replacement;
-1 28006 }
-1 28007 result += chr;
-1 28008 i++;
15980 28009 }
15981 -1 this.relatedNodes(elms.map(function(elm) {
15982 -1 return elm.actualNode;
15983 -1 }));
15984 -1 return elms.length <= 1;
15985 -1 },
15986 -1 options: {
15987 -1 selector: 'main:not([role]), [role=\'main\']'
15988 -1 }
15989 -1 }, {
15990 -1 id: 'tabindex',
15991 -1 evaluate: function evaluate(node, options, virtualNode, context) {
15992 -1 return node.tabIndex <= 0;
15993 -1 }
15994 -1 }, {
15995 -1 id: 'alt-space-value',
15996 -1 evaluate: function evaluate(node, options, virtualNode, context) {
15997 -1 var validAttrValue = /^\s+$/.test(node.getAttribute('alt'));
15998 -1 return node.hasAttribute('alt') && validAttrValue;
-1 28010 return '"' + result + '"';
15999 28011 }
16000 -1 }, {
16001 -1 id: 'duplicate-img-label',
16002 -1 evaluate: function evaluate(node, options, virtualNode, context) {
16003 -1 var text = axe.commons.text.visibleVirtual(virtualNode, true).toLowerCase();
16004 -1 if (text === '') {
16005 -1 return false;
-1 28012 exports.escapeStr = escapeStr;
-1 28013 exports.identSpecialChars = {
-1 28014 '!': true,
-1 28015 '"': true,
-1 28016 '#': true,
-1 28017 $: true,
-1 28018 '%': true,
-1 28019 '&': true,
-1 28020 '\'': true,
-1 28021 '(': true,
-1 28022 ')': true,
-1 28023 '*': true,
-1 28024 '+': true,
-1 28025 ',': true,
-1 28026 '.': true,
-1 28027 '/': true,
-1 28028 ';': true,
-1 28029 '<': true,
-1 28030 '=': true,
-1 28031 '>': true,
-1 28032 '?': true,
-1 28033 '@': true,
-1 28034 '[': true,
-1 28035 '\\': true,
-1 28036 ']': true,
-1 28037 '^': true,
-1 28038 '`': true,
-1 28039 '{': true,
-1 28040 '|': true,
-1 28041 '}': true,
-1 28042 '~': true
-1 28043 };
-1 28044 exports.strReplacementsRev = {
-1 28045 '\n': '\\n',
-1 28046 '\r': '\\r',
-1 28047 '\t': '\\t',
-1 28048 '\f': '\\f',
-1 28049 '\v': '\\v'
-1 28050 };
-1 28051 exports.singleQuoteEscapeChars = {
-1 28052 n: '\n',
-1 28053 r: '\r',
-1 28054 t: '\t',
-1 28055 f: '\f',
-1 28056 '\\': '\\',
-1 28057 '\'': '\''
-1 28058 };
-1 28059 exports.doubleQuotesEscapeChars = {
-1 28060 n: '\n',
-1 28061 r: '\r',
-1 28062 t: '\t',
-1 28063 f: '\f',
-1 28064 '\\': '\\',
-1 28065 '"': '"'
-1 28066 };
-1 28067 },
-1 28068 './node_modules/d/index.js': function node_modulesDIndexJs(module, exports, __webpack_require__) {
-1 28069 'use strict';
-1 28070 var isValue = __webpack_require__('./node_modules/type/value/is.js'), isPlainFunction = __webpack_require__('./node_modules/type/plain-function/is.js'), assign = __webpack_require__('./node_modules/es5-ext/object/assign/index.js'), normalizeOpts = __webpack_require__('./node_modules/es5-ext/object/normalize-options.js'), contains = __webpack_require__('./node_modules/es5-ext/string/#/contains/index.js');
-1 28071 var d = module.exports = function(dscr, value) {
-1 28072 var c, e, w, options, desc;
-1 28073 if (arguments.length < 2 || typeof dscr !== 'string') {
-1 28074 options = value;
-1 28075 value = dscr;
-1 28076 dscr = null;
-1 28077 } else {
-1 28078 options = arguments[2];
16006 28079 }
16007 -1 var images = axe.utils.querySelectorAll(virtualNode, 'img').filter(function(_ref5) {
16008 -1 var actualNode = _ref5.actualNode;
16009 -1 return axe.commons.dom.isVisible(actualNode) && ![ 'none', 'presentation' ].includes(actualNode.getAttribute('role'));
16010 -1 });
16011 -1 return images.some(function(img) {
16012 -1 return text === axe.commons.text.accessibleTextVirtual(img).toLowerCase();
16013 -1 });
16014 -1 }
16015 -1 }, {
16016 -1 id: 'explicit-label',
16017 -1 evaluate: function evaluate(node, options, virtualNode, context) {
16018 -1 if (node.getAttribute('id')) {
16019 -1 var root = axe.commons.dom.getRootNode(node);
16020 -1 var id = axe.utils.escapeSelector(node.getAttribute('id'));
16021 -1 var label = root.querySelector('label[for="' + id + '"]');
16022 -1 if (label) {
16023 -1 if (!axe.commons.dom.isVisible(label)) {
16024 -1 return true;
16025 -1 } else {
16026 -1 return !!axe.commons.text.accessibleText(label);
-1 28080 if (isValue(dscr)) {
-1 28081 c = contains.call(dscr, 'c');
-1 28082 e = contains.call(dscr, 'e');
-1 28083 w = contains.call(dscr, 'w');
-1 28084 } else {
-1 28085 c = w = true;
-1 28086 e = false;
-1 28087 }
-1 28088 desc = {
-1 28089 value: value,
-1 28090 configurable: c,
-1 28091 enumerable: e,
-1 28092 writable: w
-1 28093 };
-1 28094 return !options ? desc : assign(normalizeOpts(options), desc);
-1 28095 };
-1 28096 d.gs = function(dscr, get, set) {
-1 28097 var c, e, options, desc;
-1 28098 if (typeof dscr !== 'string') {
-1 28099 options = set;
-1 28100 set = get;
-1 28101 get = dscr;
-1 28102 dscr = null;
-1 28103 } else {
-1 28104 options = arguments[3];
-1 28105 }
-1 28106 if (!isValue(get)) {
-1 28107 get = undefined;
-1 28108 } else if (!isPlainFunction(get)) {
-1 28109 options = get;
-1 28110 get = set = undefined;
-1 28111 } else if (!isValue(set)) {
-1 28112 set = undefined;
-1 28113 } else if (!isPlainFunction(set)) {
-1 28114 options = set;
-1 28115 set = undefined;
-1 28116 }
-1 28117 if (isValue(dscr)) {
-1 28118 c = contains.call(dscr, 'c');
-1 28119 e = contains.call(dscr, 'e');
-1 28120 } else {
-1 28121 c = true;
-1 28122 e = false;
-1 28123 }
-1 28124 desc = {
-1 28125 get: get,
-1 28126 set: set,
-1 28127 configurable: c,
-1 28128 enumerable: e
-1 28129 };
-1 28130 return !options ? desc : assign(normalizeOpts(options), desc);
-1 28131 };
-1 28132 },
-1 28133 './node_modules/emoji-regex/index.js': function node_modulesEmojiRegexIndexJs(module, exports, __webpack_require__) {
-1 28134 'use strict';
-1 28135 module.exports = function() {
-1 28136 return /\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F|\uD83D\uDC68(?:\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68\uD83C\uDFFB|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|[\u2695\u2696\u2708]\uFE0F|\uD83D[\uDC66\uDC67]|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708])\uFE0F|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C[\uDFFB-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)\uD83C\uDFFB|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB\uDFFC])|\uD83D\uDC69(?:\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB-\uDFFD])|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|(?:(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)\uFE0F|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\u200D[\u2640\u2642])|\uD83C\uDFF4\u200D\u2620)\uFE0F|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF4\uD83C\uDDF2|\uD83C\uDDF6\uD83C\uDDE6|[#\*0-9]\uFE0F\u20E3|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270A-\u270D]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC70\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDCAA\uDD74\uDD7A\uDD90\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD36\uDDB5\uDDB6\uDDBB\uDDD2-\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5\uDEEB\uDEEC\uDEF4-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g;
-1 28137 };
-1 28138 },
-1 28139 './node_modules/es5-ext/array/#/e-index-of.js': function node_modulesEs5ExtArrayEIndexOfJs(module, exports, __webpack_require__) {
-1 28140 'use strict';
-1 28141 var numberIsNaN = __webpack_require__('./node_modules/es5-ext/number/is-nan/index.js'), toPosInt = __webpack_require__('./node_modules/es5-ext/number/to-pos-integer.js'), value = __webpack_require__('./node_modules/es5-ext/object/valid-value.js'), indexOf = Array.prototype.indexOf, objHasOwnProperty = Object.prototype.hasOwnProperty, abs = Math.abs, floor = Math.floor;
-1 28142 module.exports = function(searchElement) {
-1 28143 var i, length, fromIndex, val;
-1 28144 if (!numberIsNaN(searchElement)) {
-1 28145 return indexOf.apply(this, arguments);
-1 28146 }
-1 28147 length = toPosInt(value(this).length);
-1 28148 fromIndex = arguments[1];
-1 28149 if (isNaN(fromIndex)) {
-1 28150 fromIndex = 0;
-1 28151 } else if (fromIndex >= 0) {
-1 28152 fromIndex = floor(fromIndex);
-1 28153 } else {
-1 28154 fromIndex = toPosInt(this.length) - floor(abs(fromIndex));
-1 28155 }
-1 28156 for (i = fromIndex; i < length; ++i) {
-1 28157 if (objHasOwnProperty.call(this, i)) {
-1 28158 val = this[i];
-1 28159 if (numberIsNaN(val)) {
-1 28160 return i;
16027 28161 }
16028 28162 }
16029 28163 }
16030 -1 return false;
16031 -1 }
16032 -1 }, {
16033 -1 id: 'help-same-as-label',
16034 -1 evaluate: function evaluate(node, options, virtualNode, context) {
16035 -1 var labelText = axe.commons.text.labelVirtual(virtualNode), check = node.getAttribute('title');
16036 -1 if (!labelText) {
-1 28164 return -1;
-1 28165 };
-1 28166 },
-1 28167 './node_modules/es5-ext/array/from/index.js': function node_modulesEs5ExtArrayFromIndexJs(module, exports, __webpack_require__) {
-1 28168 'use strict';
-1 28169 module.exports = __webpack_require__('./node_modules/es5-ext/array/from/is-implemented.js')() ? Array.from : __webpack_require__('./node_modules/es5-ext/array/from/shim.js');
-1 28170 },
-1 28171 './node_modules/es5-ext/array/from/is-implemented.js': function node_modulesEs5ExtArrayFromIsImplementedJs(module, exports, __webpack_require__) {
-1 28172 'use strict';
-1 28173 module.exports = function() {
-1 28174 var from = Array.from, arr, result;
-1 28175 if (typeof from !== 'function') {
16037 28176 return false;
16038 28177 }
16039 -1 if (!check) {
16040 -1 check = '';
16041 -1 if (node.getAttribute('aria-describedby')) {
16042 -1 var ref = axe.commons.dom.idrefs(node, 'aria-describedby');
16043 -1 check = ref.map(function(thing) {
16044 -1 return thing ? axe.commons.text.accessibleText(thing) : '';
16045 -1 }).join('');
-1 28178 arr = [ 'raz', 'dwa' ];
-1 28179 result = from(arr);
-1 28180 return Boolean(result && result !== arr && result[1] === 'dwa');
-1 28181 };
-1 28182 },
-1 28183 './node_modules/es5-ext/array/from/shim.js': function node_modulesEs5ExtArrayFromShimJs(module, exports, __webpack_require__) {
-1 28184 'use strict';
-1 28185 var iteratorSymbol = __webpack_require__('./node_modules/es6-symbol/index.js').iterator, isArguments = __webpack_require__('./node_modules/es5-ext/function/is-arguments.js'), isFunction = __webpack_require__('./node_modules/es5-ext/function/is-function.js'), toPosInt = __webpack_require__('./node_modules/es5-ext/number/to-pos-integer.js'), callable = __webpack_require__('./node_modules/es5-ext/object/valid-callable.js'), validValue = __webpack_require__('./node_modules/es5-ext/object/valid-value.js'), isValue = __webpack_require__('./node_modules/es5-ext/object/is-value.js'), isString = __webpack_require__('./node_modules/es5-ext/string/is-string.js'), isArray = Array.isArray, call = Function.prototype.call, desc = {
-1 28186 configurable: true,
-1 28187 enumerable: true,
-1 28188 writable: true,
-1 28189 value: null
-1 28190 }, defineProperty = Object.defineProperty;
-1 28191 module.exports = function(arrayLike) {
-1 28192 var mapFn = arguments[1], thisArg = arguments[2], Context, i, j, arr, length, code, iterator, result, getIterator, value;
-1 28193 arrayLike = Object(validValue(arrayLike));
-1 28194 if (isValue(mapFn)) {
-1 28195 callable(mapFn);
-1 28196 }
-1 28197 if (!this || this === Array || !isFunction(this)) {
-1 28198 if (!mapFn) {
-1 28199 if (isArguments(arrayLike)) {
-1 28200 length = arrayLike.length;
-1 28201 if (length !== 1) {
-1 28202 return Array.apply(null, arrayLike);
-1 28203 }
-1 28204 arr = new Array(1);
-1 28205 arr[0] = arrayLike[0];
-1 28206 return arr;
-1 28207 }
-1 28208 if (isArray(arrayLike)) {
-1 28209 arr = new Array(length = arrayLike.length);
-1 28210 for (i = 0; i < length; ++i) {
-1 28211 arr[i] = arrayLike[i];
-1 28212 }
-1 28213 return arr;
-1 28214 }
16046 28215 }
16047 -1 }
16048 -1 return axe.commons.text.sanitize(check) === axe.commons.text.sanitize(labelText);
16049 -1 },
16050 -1 enabled: false
16051 -1 }, {
16052 -1 id: 'hidden-explicit-label',
16053 -1 evaluate: function evaluate(node, options, virtualNode, context) {
16054 -1 if (node.getAttribute('id')) {
16055 -1 var root = axe.commons.dom.getRootNode(node);
16056 -1 var id = axe.utils.escapeSelector(node.getAttribute('id'));
16057 -1 var label = root.querySelector('label[for="' + id + '"]');
16058 -1 if (label && !axe.commons.dom.isVisible(label, true)) {
16059 -1 var name = axe.commons.text.accessibleTextVirtual(virtualNode).trim();
16060 -1 var isNameEmpty = name === '';
16061 -1 return isNameEmpty;
-1 28216 arr = [];
-1 28217 } else {
-1 28218 Context = this;
-1 28219 }
-1 28220 if (!isArray(arrayLike)) {
-1 28221 if ((getIterator = arrayLike[iteratorSymbol]) !== undefined) {
-1 28222 iterator = callable(getIterator).call(arrayLike);
-1 28223 if (Context) {
-1 28224 arr = new Context();
-1 28225 }
-1 28226 result = iterator.next();
-1 28227 i = 0;
-1 28228 while (!result.done) {
-1 28229 value = mapFn ? call.call(mapFn, thisArg, result.value, i) : result.value;
-1 28230 if (Context) {
-1 28231 desc.value = value;
-1 28232 defineProperty(arr, i, desc);
-1 28233 } else {
-1 28234 arr[i] = value;
-1 28235 }
-1 28236 result = iterator.next();
-1 28237 ++i;
-1 28238 }
-1 28239 length = i;
-1 28240 } else if (isString(arrayLike)) {
-1 28241 length = arrayLike.length;
-1 28242 if (Context) {
-1 28243 arr = new Context();
-1 28244 }
-1 28245 for (i = 0, j = 0; i < length; ++i) {
-1 28246 value = arrayLike[i];
-1 28247 if (i + 1 < length) {
-1 28248 code = value.charCodeAt(0);
-1 28249 if (code >= 55296 && code <= 56319) {
-1 28250 value += arrayLike[++i];
-1 28251 }
-1 28252 }
-1 28253 value = mapFn ? call.call(mapFn, thisArg, value, j) : value;
-1 28254 if (Context) {
-1 28255 desc.value = value;
-1 28256 defineProperty(arr, j, desc);
-1 28257 } else {
-1 28258 arr[j] = value;
-1 28259 }
-1 28260 ++j;
-1 28261 }
-1 28262 length = j;
16062 28263 }
16063 28264 }
16064 -1 return false;
16065 -1 }
16066 -1 }, {
16067 -1 id: 'implicit-label',
16068 -1 evaluate: function evaluate(node, options, virtualNode, context) {
16069 -1 var _axe$commons9 = axe.commons, dom = _axe$commons9.dom, text = _axe$commons9.text;
16070 -1 var label = dom.findUpVirtual(virtualNode, 'label');
16071 -1 if (label) {
16072 -1 return !!text.accessibleText(label, {
16073 -1 inControlContext: true
16074 -1 });
16075 -1 }
16076 -1 return false;
16077 -1 }
16078 -1 }, {
16079 -1 id: 'label-content-name-mismatch',
16080 -1 evaluate: function evaluate(node, options, virtualNode, context) {
16081 -1 var text = axe.commons.text;
16082 -1 var accText = text.accessibleText(node).toLowerCase();
16083 -1 if (text.isHumanInterpretable(accText) < 1) {
16084 -1 return undefined;
16085 -1 }
16086 -1 var visibleText = text.sanitize(text.visibleVirtual(virtualNode)).toLowerCase();
16087 -1 if (text.isHumanInterpretable(visibleText) < 1) {
16088 -1 if (isStringContained(visibleText, accText)) {
16089 -1 return true;
-1 28265 if (length === undefined) {
-1 28266 length = toPosInt(arrayLike.length);
-1 28267 if (Context) {
-1 28268 arr = new Context(length);
-1 28269 }
-1 28270 for (i = 0; i < length; ++i) {
-1 28271 value = mapFn ? call.call(mapFn, thisArg, arrayLike[i], i) : arrayLike[i];
-1 28272 if (Context) {
-1 28273 desc.value = value;
-1 28274 defineProperty(arr, i, desc);
-1 28275 } else {
-1 28276 arr[i] = value;
-1 28277 }
16090 28278 }
16091 -1 return undefined;
16092 28279 }
16093 -1 return isStringContained(visibleText, accText);
16094 -1 function isStringContained(compare, compareWith) {
16095 -1 var curatedCompareWith = curateString(compareWith);
16096 -1 var curatedCompare = curateString(compare);
16097 -1 if (!curatedCompareWith || !curatedCompare) {
16098 -1 return false;
-1 28280 if (Context) {
-1 28281 desc.value = null;
-1 28282 arr.length = length;
-1 28283 }
-1 28284 return arr;
-1 28285 };
-1 28286 },
-1 28287 './node_modules/es5-ext/array/to-array.js': function node_modulesEs5ExtArrayToArrayJs(module, exports, __webpack_require__) {
-1 28288 'use strict';
-1 28289 var from = __webpack_require__('./node_modules/es5-ext/array/from/index.js'), isArray = Array.isArray;
-1 28290 module.exports = function(arrayLike) {
-1 28291 return isArray(arrayLike) ? arrayLike : from(arrayLike);
-1 28292 };
-1 28293 },
-1 28294 './node_modules/es5-ext/error/custom.js': function node_modulesEs5ExtErrorCustomJs(module, exports, __webpack_require__) {
-1 28295 'use strict';
-1 28296 var assign = __webpack_require__('./node_modules/es5-ext/object/assign/index.js'), isObject = __webpack_require__('./node_modules/es5-ext/object/is-object.js'), isValue = __webpack_require__('./node_modules/es5-ext/object/is-value.js'), captureStackTrace = Error.captureStackTrace;
-1 28297 module.exports = function(message) {
-1 28298 var err = new Error(message), code = arguments[1], ext = arguments[2];
-1 28299 if (!isValue(ext)) {
-1 28300 if (isObject(code)) {
-1 28301 ext = code;
-1 28302 code = null;
16099 28303 }
16100 -1 return curatedCompareWith.includes(curatedCompare);
16101 28304 }
16102 -1 function curateString(str) {
16103 -1 var noUnicodeStr = text.removeUnicode(str, {
16104 -1 emoji: true,
16105 -1 nonBmp: true,
16106 -1 punctuations: true
16107 -1 });
16108 -1 return text.sanitize(noUnicodeStr);
-1 28305 if (isValue(ext)) {
-1 28306 assign(err, ext);
16109 28307 }
16110 -1 }
16111 -1 }, {
16112 -1 id: 'multiple-label',
16113 -1 evaluate: function evaluate(node, options, virtualNode, context) {
16114 -1 var id = axe.utils.escapeSelector(node.getAttribute('id'));
16115 -1 var labels = Array.from(document.querySelectorAll('label[for="' + id + '"]'));
16116 -1 var parent = node.parentNode;
16117 -1 if (labels.length) {
16118 -1 labels = labels.filter(function(label, index) {
16119 -1 if (index === 0 && !axe.commons.dom.isVisible(label, true) || axe.commons.dom.isVisible(label, true)) {
16120 -1 return label;
16121 -1 }
16122 -1 });
-1 28308 if (isValue(code)) {
-1 28309 err.code = code;
16123 28310 }
16124 -1 while (parent) {
16125 -1 if (parent.nodeName.toUpperCase() === 'LABEL' && labels.indexOf(parent) === -1) {
16126 -1 labels.push(parent);
16127 -1 }
16128 -1 parent = parent.parentNode;
-1 28311 if (captureStackTrace) {
-1 28312 captureStackTrace(err, module.exports);
16129 28313 }
16130 -1 this.relatedNodes(labels);
16131 -1 return labels.length > 1;
16132 -1 }
16133 -1 }, {
16134 -1 id: 'title-only',
16135 -1 evaluate: function evaluate(node, options, virtualNode, context) {
16136 -1 var labelText = axe.commons.text.labelVirtual(virtualNode);
16137 -1 return !labelText && !!(node.getAttribute('title') || node.getAttribute('aria-describedby'));
16138 -1 }
16139 -1 }, {
16140 -1 id: 'has-lang',
16141 -1 evaluate: function evaluate(node, options, virtualNode, context) {
16142 -1 return !!(node.getAttribute('lang') || node.getAttribute('xml:lang') || '').trim();
16143 -1 }
16144 -1 }, {
16145 -1 id: 'valid-lang',
16146 -1 evaluate: function evaluate(node, options, virtualNode, context) {
16147 -1 var langs, invalid;
16148 -1 langs = (options ? options : axe.utils.validLangs()).map(axe.utils.getBaseLang);
16149 -1 invalid = [ 'lang', 'xml:lang' ].reduce(function(invalid, langAttr) {
16150 -1 var langVal = node.getAttribute(langAttr);
16151 -1 if (typeof langVal !== 'string') {
16152 -1 return invalid;
16153 -1 }
16154 -1 var baselangVal = axe.utils.getBaseLang(langVal);
16155 -1 if (baselangVal !== '' && langs.indexOf(baselangVal) === -1) {
16156 -1 invalid.push(langAttr + '="' + node.getAttribute(langAttr) + '"');
-1 28314 return err;
-1 28315 };
-1 28316 },
-1 28317 './node_modules/es5-ext/function/_define-length.js': function node_modulesEs5ExtFunction_defineLengthJs(module, exports, __webpack_require__) {
-1 28318 'use strict';
-1 28319 var toPosInt = __webpack_require__('./node_modules/es5-ext/number/to-pos-integer.js');
-1 28320 var test = function test(arg1, arg2) {
-1 28321 return arg2;
-1 28322 };
-1 28323 var desc, defineProperty, generate, mixin;
-1 28324 try {
-1 28325 Object.defineProperty(test, 'length', {
-1 28326 configurable: true,
-1 28327 writable: false,
-1 28328 enumerable: false,
-1 28329 value: 1
-1 28330 });
-1 28331 } catch (ignore) {}
-1 28332 if (test.length === 1) {
-1 28333 desc = {
-1 28334 configurable: true,
-1 28335 writable: false,
-1 28336 enumerable: false
-1 28337 };
-1 28338 defineProperty = Object.defineProperty;
-1 28339 module.exports = function(fn, length) {
-1 28340 length = toPosInt(length);
-1 28341 if (fn.length === length) {
-1 28342 return fn;
-1 28343 }
-1 28344 desc.value = length;
-1 28345 return defineProperty(fn, 'length', desc);
-1 28346 };
-1 28347 } else {
-1 28348 mixin = __webpack_require__('./node_modules/es5-ext/object/mixin.js');
-1 28349 generate = function() {
-1 28350 var cache = [];
-1 28351 return function(length) {
-1 28352 var args, i = 0;
-1 28353 if (cache[length]) {
-1 28354 return cache[length];
-1 28355 }
-1 28356 args = [];
-1 28357 while (length--) {
-1 28358 args.push('a' + (++i).toString(36));
-1 28359 }
-1 28360 return new Function('fn', 'return function (' + args.join(', ') + ') { return fn.apply(this, arguments); };');
-1 28361 };
-1 28362 }();
-1 28363 module.exports = function(src, length) {
-1 28364 var target;
-1 28365 length = toPosInt(length);
-1 28366 if (src.length === length) {
-1 28367 return src;
16157 28368 }
16158 -1 return invalid;
16159 -1 }, []);
16160 -1 if (invalid.length) {
16161 -1 this.data(invalid);
16162 -1 return true;
16163 -1 }
16164 -1 return false;
16165 -1 }
16166 -1 }, {
16167 -1 id: 'xml-lang-mismatch',
16168 -1 evaluate: function evaluate(node, options, virtualNode, context) {
16169 -1 var getBaseLang = axe.utils.getBaseLang;
16170 -1 var primaryLangValue = getBaseLang(node.getAttribute('lang'));
16171 -1 var primaryXmlLangValue = getBaseLang(node.getAttribute('xml:lang'));
16172 -1 return primaryLangValue === primaryXmlLangValue;
-1 28369 target = generate(length)(src);
-1 28370 try {
-1 28371 mixin(target, src);
-1 28372 } catch (ignore) {}
-1 28373 return target;
-1 28374 };
16173 28375 }
16174 -1 }, {
16175 -1 id: 'dlitem',
16176 -1 evaluate: function evaluate(node, options, virtualNode, context) {
16177 -1 var parent = axe.commons.dom.getComposedParent(node);
16178 -1 var parentTagName = parent.nodeName.toUpperCase();
16179 -1 var parentRole = axe.commons.aria.getRole(parent, {
16180 -1 noImplicit: true
16181 -1 });
16182 -1 if (parentTagName === 'DIV' && [ 'presentation', 'none', null ].includes(parentRole)) {
16183 -1 parent = axe.commons.dom.getComposedParent(parent);
16184 -1 parentTagName = parent.nodeName.toUpperCase();
16185 -1 parentRole = axe.commons.aria.getRole(parent, {
16186 -1 noImplicit: true
16187 -1 });
16188 -1 }
16189 -1 if (parentTagName !== 'DL') {
-1 28376 },
-1 28377 './node_modules/es5-ext/function/is-arguments.js': function node_modulesEs5ExtFunctionIsArgumentsJs(module, exports, __webpack_require__) {
-1 28378 'use strict';
-1 28379 var objToString = Object.prototype.toString, id = objToString.call(function() {
-1 28380 return arguments;
-1 28381 }());
-1 28382 module.exports = function(value) {
-1 28383 return objToString.call(value) === id;
-1 28384 };
-1 28385 },
-1 28386 './node_modules/es5-ext/function/is-function.js': function node_modulesEs5ExtFunctionIsFunctionJs(module, exports, __webpack_require__) {
-1 28387 'use strict';
-1 28388 var objToString = Object.prototype.toString, isFunctionStringTag = RegExp.prototype.test.bind(/^[object [A-Za-z0-9]*Function]$/);
-1 28389 module.exports = function(value) {
-1 28390 return typeof value === 'function' && isFunctionStringTag(objToString.call(value));
-1 28391 };
-1 28392 },
-1 28393 './node_modules/es5-ext/function/noop.js': function node_modulesEs5ExtFunctionNoopJs(module, exports, __webpack_require__) {
-1 28394 'use strict';
-1 28395 module.exports = function() {};
-1 28396 },
-1 28397 './node_modules/es5-ext/math/sign/index.js': function node_modulesEs5ExtMathSignIndexJs(module, exports, __webpack_require__) {
-1 28398 'use strict';
-1 28399 module.exports = __webpack_require__('./node_modules/es5-ext/math/sign/is-implemented.js')() ? Math.sign : __webpack_require__('./node_modules/es5-ext/math/sign/shim.js');
-1 28400 },
-1 28401 './node_modules/es5-ext/math/sign/is-implemented.js': function node_modulesEs5ExtMathSignIsImplementedJs(module, exports, __webpack_require__) {
-1 28402 'use strict';
-1 28403 module.exports = function() {
-1 28404 var sign = Math.sign;
-1 28405 if (typeof sign !== 'function') {
16190 28406 return false;
16191 28407 }
16192 -1 if (!parentRole || parentRole === 'list') {
16193 -1 return true;
-1 28408 return sign(10) === 1 && sign(-20) === -1;
-1 28409 };
-1 28410 },
-1 28411 './node_modules/es5-ext/math/sign/shim.js': function node_modulesEs5ExtMathSignShimJs(module, exports, __webpack_require__) {
-1 28412 'use strict';
-1 28413 module.exports = function(value) {
-1 28414 value = Number(value);
-1 28415 if (isNaN(value) || value === 0) {
-1 28416 return value;
16194 28417 }
16195 -1 return false;
16196 -1 }
16197 -1 }, {
16198 -1 id: 'listitem',
16199 -1 evaluate: function evaluate(node, options, virtualNode, context) {
16200 -1 var parent = axe.commons.dom.getComposedParent(node);
16201 -1 if (!parent) {
16202 -1 return undefined;
-1 28418 return value > 0 ? 1 : -1;
-1 28419 };
-1 28420 },
-1 28421 './node_modules/es5-ext/number/is-nan/index.js': function node_modulesEs5ExtNumberIsNanIndexJs(module, exports, __webpack_require__) {
-1 28422 'use strict';
-1 28423 module.exports = __webpack_require__('./node_modules/es5-ext/number/is-nan/is-implemented.js')() ? Number.isNaN : __webpack_require__('./node_modules/es5-ext/number/is-nan/shim.js');
-1 28424 },
-1 28425 './node_modules/es5-ext/number/is-nan/is-implemented.js': function node_modulesEs5ExtNumberIsNanIsImplementedJs(module, exports, __webpack_require__) {
-1 28426 'use strict';
-1 28427 module.exports = function() {
-1 28428 var numberIsNaN = Number.isNaN;
-1 28429 if (typeof numberIsNaN !== 'function') {
-1 28430 return false;
16203 28431 }
16204 -1 var parentTagName = parent.nodeName.toUpperCase();
16205 -1 var parentRole = (parent.getAttribute('role') || '').toLowerCase();
16206 -1 if (parentRole === 'list') {
16207 -1 return true;
-1 28432 return !numberIsNaN({}) && numberIsNaN(NaN) && !numberIsNaN(34);
-1 28433 };
-1 28434 },
-1 28435 './node_modules/es5-ext/number/is-nan/shim.js': function node_modulesEs5ExtNumberIsNanShimJs(module, exports, __webpack_require__) {
-1 28436 'use strict';
-1 28437 module.exports = function(value) {
-1 28438 return value !== value;
-1 28439 };
-1 28440 },
-1 28441 './node_modules/es5-ext/number/to-integer.js': function node_modulesEs5ExtNumberToIntegerJs(module, exports, __webpack_require__) {
-1 28442 'use strict';
-1 28443 var sign = __webpack_require__('./node_modules/es5-ext/math/sign/index.js'), abs = Math.abs, floor = Math.floor;
-1 28444 module.exports = function(value) {
-1 28445 if (isNaN(value)) {
-1 28446 return 0;
16208 28447 }
16209 -1 if (parentRole && axe.commons.aria.isValidRole(parentRole)) {
16210 -1 return false;
-1 28448 value = Number(value);
-1 28449 if (value === 0 || !isFinite(value)) {
-1 28450 return value;
16211 28451 }
16212 -1 return [ 'UL', 'OL' ].includes(parentTagName);
16213 -1 }
16214 -1 }, {
16215 -1 id: 'only-dlitems',
16216 -1 evaluate: function evaluate(node, options, virtualNode, context) {
16217 -1 var _axe$commons10 = axe.commons, dom = _axe$commons10.dom, aria = _axe$commons10.aria;
16218 -1 var ALLOWED_ROLES = [ 'definition', 'term', 'list' ];
16219 -1 var base = {
16220 -1 badNodes: [],
16221 -1 hasNonEmptyTextNode: false
-1 28452 return sign(value) * floor(abs(value));
-1 28453 };
-1 28454 },
-1 28455 './node_modules/es5-ext/number/to-pos-integer.js': function node_modulesEs5ExtNumberToPosIntegerJs(module, exports, __webpack_require__) {
-1 28456 'use strict';
-1 28457 var toInteger = __webpack_require__('./node_modules/es5-ext/number/to-integer.js'), max = Math.max;
-1 28458 module.exports = function(value) {
-1 28459 return max(0, toInteger(value));
-1 28460 };
-1 28461 },
-1 28462 './node_modules/es5-ext/object/_iterate.js': function node_modulesEs5ExtObject_iterateJs(module, exports, __webpack_require__) {
-1 28463 'use strict';
-1 28464 var callable = __webpack_require__('./node_modules/es5-ext/object/valid-callable.js'), value = __webpack_require__('./node_modules/es5-ext/object/valid-value.js'), bind = Function.prototype.bind, call = Function.prototype.call, keys = Object.keys, objPropertyIsEnumerable = Object.prototype.propertyIsEnumerable;
-1 28465 module.exports = function(method, defVal) {
-1 28466 return function(obj, cb) {
-1 28467 var list, thisArg = arguments[2], compareFn = arguments[3];
-1 28468 obj = Object(value(obj));
-1 28469 callable(cb);
-1 28470 list = keys(obj);
-1 28471 if (compareFn) {
-1 28472 list.sort(typeof compareFn === 'function' ? bind.call(compareFn, obj) : undefined);
-1 28473 }
-1 28474 if (typeof method !== 'function') {
-1 28475 method = list[method];
-1 28476 }
-1 28477 return call.call(method, list, function(key, index) {
-1 28478 if (!objPropertyIsEnumerable.call(obj, key)) {
-1 28479 return defVal;
-1 28480 }
-1 28481 return call.call(cb, thisArg, obj[key], key, obj, index);
-1 28482 });
16222 28483 };
16223 -1 var content = virtualNode.children.reduce(function(content, child) {
16224 -1 var actualNode = child.actualNode;
16225 -1 if (actualNode.nodeName.toUpperCase() === 'DIV' && aria.getRole(actualNode) === null) {
16226 -1 return content.concat(child.children);
16227 -1 }
16228 -1 return content.concat(child);
16229 -1 }, []);
16230 -1 var result = content.reduce(function(out, childNode) {
16231 -1 var actualNode = childNode.actualNode;
16232 -1 var tagName = actualNode.nodeName.toUpperCase();
16233 -1 if (actualNode.nodeType === 1 && dom.isVisible(actualNode, true, false)) {
16234 -1 var explicitRole = aria.getRole(actualNode, {
16235 -1 noImplicit: true
16236 -1 });
16237 -1 if (tagName !== 'DT' && tagName !== 'DD' || explicitRole) {
16238 -1 if (!ALLOWED_ROLES.includes(explicitRole)) {
16239 -1 out.badNodes.push(actualNode);
16240 -1 }
16241 -1 }
16242 -1 } else if (actualNode.nodeType === 3 && actualNode.nodeValue.trim() !== '') {
16243 -1 out.hasNonEmptyTextNode = true;
16244 -1 }
16245 -1 return out;
16246 -1 }, base);
16247 -1 if (result.badNodes.length) {
16248 -1 this.relatedNodes(result.badNodes);
-1 28484 };
-1 28485 },
-1 28486 './node_modules/es5-ext/object/assign/index.js': function node_modulesEs5ExtObjectAssignIndexJs(module, exports, __webpack_require__) {
-1 28487 'use strict';
-1 28488 module.exports = __webpack_require__('./node_modules/es5-ext/object/assign/is-implemented.js')() ? Object.assign : __webpack_require__('./node_modules/es5-ext/object/assign/shim.js');
-1 28489 },
-1 28490 './node_modules/es5-ext/object/assign/is-implemented.js': function node_modulesEs5ExtObjectAssignIsImplementedJs(module, exports, __webpack_require__) {
-1 28491 'use strict';
-1 28492 module.exports = function() {
-1 28493 var assign = Object.assign, obj;
-1 28494 if (typeof assign !== 'function') {
-1 28495 return false;
16249 28496 }
16250 -1 return !!result.badNodes.length || result.hasNonEmptyTextNode;
16251 -1 }
16252 -1 }, {
16253 -1 id: 'only-listitems',
16254 -1 evaluate: function evaluate(node, options, virtualNode, context) {
16255 -1 var dom = axe.commons.dom;
16256 -1 var getIsListItemRole = function getIsListItemRole(role, tagName) {
16257 -1 return role === 'listitem' || tagName === 'LI' && !role;
-1 28497 obj = {
-1 28498 foo: 'raz'
16258 28499 };
16259 -1 var getHasListItem = function getHasListItem(hasListItem, tagName, isListItemRole) {
16260 -1 return hasListItem || tagName === 'LI' && isListItemRole || isListItemRole;
16261 -1 };
16262 -1 var base = {
16263 -1 badNodes: [],
16264 -1 isEmpty: true,
16265 -1 hasNonEmptyTextNode: false,
16266 -1 hasListItem: false,
16267 -1 liItemsWithRole: 0
16268 -1 };
16269 -1 var out = virtualNode.children.reduce(function(out, _ref6) {
16270 -1 var actualNode = _ref6.actualNode;
16271 -1 var tagName = actualNode.nodeName.toUpperCase();
16272 -1 if (actualNode.nodeType === 1 && dom.isVisible(actualNode, true, false)) {
16273 -1 var role = (actualNode.getAttribute('role') || '').toLowerCase();
16274 -1 var isListItemRole = getIsListItemRole(role, tagName);
16275 -1 out.hasListItem = getHasListItem(out.hasListItem, tagName, isListItemRole);
16276 -1 if (isListItemRole) {
16277 -1 out.isEmpty = false;
16278 -1 }
16279 -1 if (tagName === 'LI' && !isListItemRole) {
16280 -1 out.liItemsWithRole++;
16281 -1 }
16282 -1 if (tagName !== 'LI' && !isListItemRole) {
16283 -1 out.badNodes.push(actualNode);
16284 -1 }
16285 -1 }
16286 -1 if (actualNode.nodeType === 3) {
16287 -1 if (actualNode.nodeValue.trim() !== '') {
16288 -1 out.hasNonEmptyTextNode = true;
-1 28500 assign(obj, {
-1 28501 bar: 'dwa'
-1 28502 }, {
-1 28503 trzy: 'trzy'
-1 28504 });
-1 28505 return obj.foo + obj.bar + obj.trzy === 'razdwatrzy';
-1 28506 };
-1 28507 },
-1 28508 './node_modules/es5-ext/object/assign/shim.js': function node_modulesEs5ExtObjectAssignShimJs(module, exports, __webpack_require__) {
-1 28509 'use strict';
-1 28510 var keys = __webpack_require__('./node_modules/es5-ext/object/keys/index.js'), value = __webpack_require__('./node_modules/es5-ext/object/valid-value.js'), max = Math.max;
-1 28511 module.exports = function(dest, src) {
-1 28512 var error, i, length = max(arguments.length, 2), assign;
-1 28513 dest = Object(value(dest));
-1 28514 assign = function assign(key) {
-1 28515 try {
-1 28516 dest[key] = src[key];
-1 28517 } catch (e) {
-1 28518 if (!error) {
-1 28519 error = e;
16289 28520 }
16290 28521 }
16291 -1 return out;
16292 -1 }, base);
16293 -1 var virtualNodeChildrenOfTypeLi = virtualNode.children.filter(function(_ref7) {
16294 -1 var actualNode = _ref7.actualNode;
16295 -1 return actualNode.nodeName.toUpperCase() === 'LI';
16296 -1 });
16297 -1 var allLiItemsHaveRole = out.liItemsWithRole > 0 && virtualNodeChildrenOfTypeLi.length === out.liItemsWithRole;
16298 -1 if (out.badNodes.length) {
16299 -1 this.relatedNodes(out.badNodes);
-1 28522 };
-1 28523 for (i = 1; i < length; ++i) {
-1 28524 src = arguments[i];
-1 28525 keys(src).forEach(assign);
16300 28526 }
16301 -1 var isInvalidListItem = !(out.hasListItem || out.isEmpty && !allLiItemsHaveRole);
16302 -1 return isInvalidListItem || !!out.badNodes.length || out.hasNonEmptyTextNode;
16303 -1 }
16304 -1 }, {
16305 -1 id: 'structured-dlitems',
16306 -1 evaluate: function evaluate(node, options, virtualNode, context) {
16307 -1 var children = virtualNode.children;
16308 -1 if (!children || !children.length) {
16309 -1 return false;
-1 28527 if (error !== undefined) {
-1 28528 throw error;
16310 28529 }
16311 -1 var hasDt = false, hasDd = false, nodeName;
16312 -1 for (var i = 0; i < children.length; i++) {
16313 -1 nodeName = children[i].actualNode.nodeName.toUpperCase();
16314 -1 if (nodeName === 'DT') {
16315 -1 hasDt = true;
16316 -1 }
16317 -1 if (hasDt && nodeName === 'DD') {
16318 -1 return false;
16319 -1 }
16320 -1 if (nodeName === 'DD') {
16321 -1 hasDd = true;
16322 -1 }
-1 28530 return dest;
-1 28531 };
-1 28532 },
-1 28533 './node_modules/es5-ext/object/for-each.js': function node_modulesEs5ExtObjectForEachJs(module, exports, __webpack_require__) {
-1 28534 'use strict';
-1 28535 module.exports = __webpack_require__('./node_modules/es5-ext/object/_iterate.js')('forEach');
-1 28536 },
-1 28537 './node_modules/es5-ext/object/is-callable.js': function node_modulesEs5ExtObjectIsCallableJs(module, exports, __webpack_require__) {
-1 28538 'use strict';
-1 28539 module.exports = function(obj) {
-1 28540 return typeof obj === 'function';
-1 28541 };
-1 28542 },
-1 28543 './node_modules/es5-ext/object/is-object.js': function node_modulesEs5ExtObjectIsObjectJs(module, exports, __webpack_require__) {
-1 28544 'use strict';
-1 28545 var isValue = __webpack_require__('./node_modules/es5-ext/object/is-value.js');
-1 28546 var map = {
-1 28547 function: true,
-1 28548 object: true
-1 28549 };
-1 28550 module.exports = function(value) {
-1 28551 return isValue(value) && map[_typeof(value)] || false;
-1 28552 };
-1 28553 },
-1 28554 './node_modules/es5-ext/object/is-value.js': function node_modulesEs5ExtObjectIsValueJs(module, exports, __webpack_require__) {
-1 28555 'use strict';
-1 28556 var _undefined = __webpack_require__('./node_modules/es5-ext/function/noop.js')();
-1 28557 module.exports = function(val) {
-1 28558 return val !== _undefined && val !== null;
-1 28559 };
-1 28560 },
-1 28561 './node_modules/es5-ext/object/keys/index.js': function node_modulesEs5ExtObjectKeysIndexJs(module, exports, __webpack_require__) {
-1 28562 'use strict';
-1 28563 module.exports = __webpack_require__('./node_modules/es5-ext/object/keys/is-implemented.js')() ? Object.keys : __webpack_require__('./node_modules/es5-ext/object/keys/shim.js');
-1 28564 },
-1 28565 './node_modules/es5-ext/object/keys/is-implemented.js': function node_modulesEs5ExtObjectKeysIsImplementedJs(module, exports, __webpack_require__) {
-1 28566 'use strict';
-1 28567 module.exports = function() {
-1 28568 try {
-1 28569 Object.keys('primitive');
-1 28570 return true;
-1 28571 } catch (e) {
-1 28572 return false;
16323 28573 }
16324 -1 return hasDt || hasDd;
16325 -1 }
16326 -1 }, {
16327 -1 id: 'caption',
16328 -1 evaluate: function evaluate(node, options, virtualNode, context) {
16329 -1 var tracks = axe.utils.querySelectorAll(virtualNode, 'track');
16330 -1 var hasCaptions = tracks.some(function(_ref8) {
16331 -1 var actualNode = _ref8.actualNode;
16332 -1 return (actualNode.getAttribute('kind') || '').toLowerCase() === 'captions';
16333 -1 });
16334 -1 return hasCaptions ? false : undefined;
16335 -1 }
16336 -1 }, {
16337 -1 id: 'description',
16338 -1 evaluate: function evaluate(node, options, virtualNode, context) {
16339 -1 var tracks = axe.utils.querySelectorAll(virtualNode, 'track');
16340 -1 var hasDescriptions = tracks.some(function(_ref9) {
16341 -1 var actualNode = _ref9.actualNode;
16342 -1 return (actualNode.getAttribute('kind') || '').toLowerCase() === 'descriptions';
-1 28574 };
-1 28575 },
-1 28576 './node_modules/es5-ext/object/keys/shim.js': function node_modulesEs5ExtObjectKeysShimJs(module, exports, __webpack_require__) {
-1 28577 'use strict';
-1 28578 var isValue = __webpack_require__('./node_modules/es5-ext/object/is-value.js');
-1 28579 var keys = Object.keys;
-1 28580 module.exports = function(object) {
-1 28581 return keys(isValue(object) ? Object(object) : object);
-1 28582 };
-1 28583 },
-1 28584 './node_modules/es5-ext/object/map.js': function node_modulesEs5ExtObjectMapJs(module, exports, __webpack_require__) {
-1 28585 'use strict';
-1 28586 var callable = __webpack_require__('./node_modules/es5-ext/object/valid-callable.js'), forEach = __webpack_require__('./node_modules/es5-ext/object/for-each.js'), call = Function.prototype.call;
-1 28587 module.exports = function(obj, cb) {
-1 28588 var result = {}, thisArg = arguments[2];
-1 28589 callable(cb);
-1 28590 forEach(obj, function(value, key, targetObj, index) {
-1 28591 result[key] = call.call(cb, thisArg, value, key, targetObj, index);
16343 28592 });
16344 -1 return hasDescriptions ? false : undefined;
16345 -1 }
16346 -1 }, {
16347 -1 id: 'frame-tested',
16348 -1 evaluate: function evaluate(node, options, virtualNode, context) {
16349 -1 var resolve = this.async();
16350 -1 var _Object$assign = Object.assign({
16351 -1 isViolation: false,
16352 -1 timeout: 500
16353 -1 }, options), isViolation = _Object$assign.isViolation, timeout = _Object$assign.timeout;
16354 -1 var timer = setTimeout(function() {
16355 -1 timer = setTimeout(function() {
16356 -1 timer = null;
16357 -1 resolve(isViolation ? false : undefined);
16358 -1 }, 0);
16359 -1 }, timeout);
16360 -1 axe.utils.respondable(node.contentWindow, 'axe.ping', null, undefined, function() {
16361 -1 if (timer !== null) {
16362 -1 clearTimeout(timer);
16363 -1 resolve(true);
-1 28593 return result;
-1 28594 };
-1 28595 },
-1 28596 './node_modules/es5-ext/object/mixin.js': function node_modulesEs5ExtObjectMixinJs(module, exports, __webpack_require__) {
-1 28597 'use strict';
-1 28598 var value = __webpack_require__('./node_modules/es5-ext/object/valid-value.js'), defineProperty = Object.defineProperty, getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor, getOwnPropertyNames = Object.getOwnPropertyNames, getOwnPropertySymbols = Object.getOwnPropertySymbols;
-1 28599 module.exports = function(target, source) {
-1 28600 var error, sourceObject = Object(value(source));
-1 28601 target = Object(value(target));
-1 28602 getOwnPropertyNames(sourceObject).forEach(function(name) {
-1 28603 try {
-1 28604 defineProperty(target, name, getOwnPropertyDescriptor(source, name));
-1 28605 } catch (e) {
-1 28606 error = e;
16364 28607 }
16365 28608 });
16366 -1 },
16367 -1 options: {
16368 -1 isViolation: false
16369 -1 }
16370 -1 }, {
16371 -1 id: 'css-orientation-lock',
16372 -1 evaluate: function evaluate(node, options, virtualNode, context) {
16373 -1 var _ref10 = context || {}, _ref10$cssom = _ref10.cssom, cssom = _ref10$cssom === undefined ? undefined : _ref10$cssom;
16374 -1 if (!cssom || !cssom.length) {
16375 -1 return undefined;
16376 -1 }
16377 -1 var rulesGroupByDocumentFragment = cssom.reduce(function(out, _ref11) {
16378 -1 var sheet = _ref11.sheet, root = _ref11.root, shadowId = _ref11.shadowId;
16379 -1 var key = shadowId ? shadowId : 'topDocument';
16380 -1 if (!out[key]) {
16381 -1 out[key] = {
16382 -1 root: root,
16383 -1 rules: []
16384 -1 };
16385 -1 }
16386 -1 if (!sheet || !sheet.cssRules) {
16387 -1 return out;
16388 -1 }
16389 -1 var rules = Array.from(sheet.cssRules);
16390 -1 out[key].rules = out[key].rules.concat(rules);
16391 -1 return out;
16392 -1 }, {});
16393 -1 var isLocked = false;
16394 -1 var relatedElements = [];
16395 -1 Object.keys(rulesGroupByDocumentFragment).forEach(function(key) {
16396 -1 var _rulesGroupByDocument = rulesGroupByDocumentFragment[key], root = _rulesGroupByDocument.root, rules = _rulesGroupByDocument.rules;
16397 -1 var mediaRules = rules.filter(function(r) {
16398 -1 return r.type === 4;
16399 -1 });
16400 -1 if (!mediaRules || !mediaRules.length) {
16401 -1 return;
16402 -1 }
16403 -1 var orientationRules = mediaRules.filter(function(r) {
16404 -1 var cssText = r.cssText;
16405 -1 return /orientation:\s+landscape/i.test(cssText) || /orientation:\s+portrait/i.test(cssText);
-1 28609 if (typeof getOwnPropertySymbols === 'function') {
-1 28610 getOwnPropertySymbols(sourceObject).forEach(function(symbol) {
-1 28611 try {
-1 28612 defineProperty(target, symbol, getOwnPropertyDescriptor(source, symbol));
-1 28613 } catch (e) {
-1 28614 error = e;
-1 28615 }
16406 28616 });
16407 -1 if (!orientationRules || !orientationRules.length) {
-1 28617 }
-1 28618 if (error !== undefined) {
-1 28619 throw error;
-1 28620 }
-1 28621 return target;
-1 28622 };
-1 28623 },
-1 28624 './node_modules/es5-ext/object/normalize-options.js': function node_modulesEs5ExtObjectNormalizeOptionsJs(module, exports, __webpack_require__) {
-1 28625 'use strict';
-1 28626 var isValue = __webpack_require__('./node_modules/es5-ext/object/is-value.js');
-1 28627 var forEach = Array.prototype.forEach, create = Object.create;
-1 28628 var process = function process(src, obj) {
-1 28629 var key;
-1 28630 for (key in src) {
-1 28631 obj[key] = src[key];
-1 28632 }
-1 28633 };
-1 28634 module.exports = function(opts1) {
-1 28635 var result = create(null);
-1 28636 forEach.call(arguments, function(options) {
-1 28637 if (!isValue(options)) {
16408 28638 return;
16409 28639 }
16410 -1 orientationRules.forEach(function(r) {
16411 -1 if (!r.cssRules.length) {
16412 -1 return;
16413 -1 }
16414 -1 Array.from(r.cssRules).forEach(function(cssRule) {
16415 -1 if (!cssRule.selectorText) {
16416 -1 return;
16417 -1 }
16418 -1 if (cssRule.style.length <= 0) {
16419 -1 return;
16420 -1 }
16421 -1 var transformStyleValue = cssRule.style.transform || false;
16422 -1 if (!transformStyleValue) {
16423 -1 return;
16424 -1 }
16425 -1 var rotate = transformStyleValue.match(/rotate\(([^)]+)deg\)/);
16426 -1 var deg = parseInt(rotate && rotate[1] || 0);
16427 -1 var locked = deg % 90 === 0 && deg % 180 !== 0;
16428 -1 if (locked && cssRule.selectorText.toUpperCase() !== 'HTML') {
16429 -1 var selector = cssRule.selectorText;
16430 -1 var elms = Array.from(root.querySelectorAll(selector));
16431 -1 if (elms && elms.length) {
16432 -1 relatedElements = relatedElements.concat(elms);
16433 -1 }
16434 -1 }
16435 -1 isLocked = locked;
16436 -1 });
16437 -1 });
-1 28640 process(Object(options), result);
16438 28641 });
16439 -1 if (!isLocked) {
16440 -1 return true;
-1 28642 return result;
-1 28643 };
-1 28644 },
-1 28645 './node_modules/es5-ext/object/primitive-set.js': function node_modulesEs5ExtObjectPrimitiveSetJs(module, exports, __webpack_require__) {
-1 28646 'use strict';
-1 28647 var forEach = Array.prototype.forEach, create = Object.create;
-1 28648 module.exports = function(arg) {
-1 28649 var set = create(null);
-1 28650 forEach.call(arguments, function(name) {
-1 28651 set[name] = true;
-1 28652 });
-1 28653 return set;
-1 28654 };
-1 28655 },
-1 28656 './node_modules/es5-ext/object/valid-callable.js': function node_modulesEs5ExtObjectValidCallableJs(module, exports, __webpack_require__) {
-1 28657 'use strict';
-1 28658 module.exports = function(fn) {
-1 28659 if (typeof fn !== 'function') {
-1 28660 throw new TypeError(fn + ' is not a function');
16441 28661 }
16442 -1 if (relatedElements.length) {
16443 -1 this.relatedNodes(relatedElements);
-1 28662 return fn;
-1 28663 };
-1 28664 },
-1 28665 './node_modules/es5-ext/object/valid-value.js': function node_modulesEs5ExtObjectValidValueJs(module, exports, __webpack_require__) {
-1 28666 'use strict';
-1 28667 var isValue = __webpack_require__('./node_modules/es5-ext/object/is-value.js');
-1 28668 module.exports = function(value) {
-1 28669 if (!isValue(value)) {
-1 28670 throw new TypeError('Cannot use null or undefined');
16444 28671 }
16445 -1 return false;
16446 -1 }
16447 -1 }, {
16448 -1 id: 'meta-viewport-large',
16449 -1 evaluate: function evaluate(node, options, virtualNode, context) {
16450 -1 options = options || {};
16451 -1 var params, content = node.getAttribute('content') || '', parsedParams = content.split(/[;,]/), result = {}, minimum = options.scaleMinimum || 2, lowerBound = options.lowerBound || false;
16452 -1 for (var i = 0, l = parsedParams.length; i < l; i++) {
16453 -1 params = parsedParams[i].split('=');
16454 -1 var key = params.shift().toLowerCase();
16455 -1 if (key && params.length) {
16456 -1 result[key.trim()] = params.shift().trim().toLowerCase();
-1 28672 return value;
-1 28673 };
-1 28674 },
-1 28675 './node_modules/es5-ext/object/validate-stringifiable-value.js': function node_modulesEs5ExtObjectValidateStringifiableValueJs(module, exports, __webpack_require__) {
-1 28676 'use strict';
-1 28677 var ensureValue = __webpack_require__('./node_modules/es5-ext/object/valid-value.js'), stringifiable = __webpack_require__('./node_modules/es5-ext/object/validate-stringifiable.js');
-1 28678 module.exports = function(value) {
-1 28679 return stringifiable(ensureValue(value));
-1 28680 };
-1 28681 },
-1 28682 './node_modules/es5-ext/object/validate-stringifiable.js': function node_modulesEs5ExtObjectValidateStringifiableJs(module, exports, __webpack_require__) {
-1 28683 'use strict';
-1 28684 var isCallable = __webpack_require__('./node_modules/es5-ext/object/is-callable.js');
-1 28685 module.exports = function(stringifiable) {
-1 28686 try {
-1 28687 if (stringifiable && isCallable(stringifiable.toString)) {
-1 28688 return stringifiable.toString();
16457 28689 }
-1 28690 return String(stringifiable);
-1 28691 } catch (e) {
-1 28692 throw new TypeError('Passed argument cannot be stringifed');
16458 28693 }
16459 -1 if (lowerBound && result['maximum-scale'] && parseFloat(result['maximum-scale']) < lowerBound) {
16460 -1 return true;
-1 28694 };
-1 28695 },
-1 28696 './node_modules/es5-ext/safe-to-string.js': function node_modulesEs5ExtSafeToStringJs(module, exports, __webpack_require__) {
-1 28697 'use strict';
-1 28698 var isCallable = __webpack_require__('./node_modules/es5-ext/object/is-callable.js');
-1 28699 module.exports = function(value) {
-1 28700 try {
-1 28701 if (value && isCallable(value.toString)) {
-1 28702 return value.toString();
-1 28703 }
-1 28704 return String(value);
-1 28705 } catch (e) {
-1 28706 return '<Non-coercible to string value>';
16461 28707 }
16462 -1 if (!lowerBound && result['user-scalable'] === 'no') {
16463 -1 this.data('user-scalable=no');
-1 28708 };
-1 28709 },
-1 28710 './node_modules/es5-ext/string/#/contains/index.js': function node_modulesEs5ExtStringContainsIndexJs(module, exports, __webpack_require__) {
-1 28711 'use strict';
-1 28712 module.exports = __webpack_require__('./node_modules/es5-ext/string/#/contains/is-implemented.js')() ? String.prototype.contains : __webpack_require__('./node_modules/es5-ext/string/#/contains/shim.js');
-1 28713 },
-1 28714 './node_modules/es5-ext/string/#/contains/is-implemented.js': function node_modulesEs5ExtStringContainsIsImplementedJs(module, exports, __webpack_require__) {
-1 28715 'use strict';
-1 28716 var str = 'razdwatrzy';
-1 28717 module.exports = function() {
-1 28718 if (typeof str.contains !== 'function') {
16464 28719 return false;
16465 28720 }
16466 -1 if (result['maximum-scale'] && parseFloat(result['maximum-scale']) < minimum) {
16467 -1 this.data('maximum-scale');
-1 28721 return str.contains('dwa') === true && str.contains('foo') === false;
-1 28722 };
-1 28723 },
-1 28724 './node_modules/es5-ext/string/#/contains/shim.js': function node_modulesEs5ExtStringContainsShimJs(module, exports, __webpack_require__) {
-1 28725 'use strict';
-1 28726 var indexOf = String.prototype.indexOf;
-1 28727 module.exports = function(searchString) {
-1 28728 return indexOf.call(this, searchString, arguments[1]) > -1;
-1 28729 };
-1 28730 },
-1 28731 './node_modules/es5-ext/string/is-string.js': function node_modulesEs5ExtStringIsStringJs(module, exports, __webpack_require__) {
-1 28732 'use strict';
-1 28733 var objToString = Object.prototype.toString, id = objToString.call('');
-1 28734 module.exports = function(value) {
-1 28735 return typeof value === 'string' || value && _typeof(value) === 'object' && (value instanceof String || objToString.call(value) === id) || false;
-1 28736 };
-1 28737 },
-1 28738 './node_modules/es5-ext/to-short-string-representation.js': function node_modulesEs5ExtToShortStringRepresentationJs(module, exports, __webpack_require__) {
-1 28739 'use strict';
-1 28740 var safeToString = __webpack_require__('./node_modules/es5-ext/safe-to-string.js');
-1 28741 var reNewLine = /[\n\r\u2028\u2029]/g;
-1 28742 module.exports = function(value) {
-1 28743 var string = safeToString(value);
-1 28744 if (string.length > 100) {
-1 28745 string = string.slice(0, 99) + '\u2026';
-1 28746 }
-1 28747 string = string.replace(reNewLine, function(_char2) {
-1 28748 return JSON.stringify(_char2).slice(1, -1);
-1 28749 });
-1 28750 return string;
-1 28751 };
-1 28752 },
-1 28753 './node_modules/es6-symbol/index.js': function node_modulesEs6SymbolIndexJs(module, exports, __webpack_require__) {
-1 28754 'use strict';
-1 28755 module.exports = __webpack_require__('./node_modules/es6-symbol/is-implemented.js')() ? __webpack_require__('./node_modules/ext/global-this/index.js').Symbol : __webpack_require__('./node_modules/es6-symbol/polyfill.js');
-1 28756 },
-1 28757 './node_modules/es6-symbol/is-implemented.js': function node_modulesEs6SymbolIsImplementedJs(module, exports, __webpack_require__) {
-1 28758 'use strict';
-1 28759 var global = __webpack_require__('./node_modules/ext/global-this/index.js'), validTypes = {
-1 28760 object: true,
-1 28761 symbol: true
-1 28762 };
-1 28763 module.exports = function() {
-1 28764 var _Symbol2 = global.Symbol;
-1 28765 var symbol;
-1 28766 if (typeof _Symbol2 !== 'function') {
16468 28767 return false;
16469 28768 }
16470 -1 return true;
16471 -1 },
16472 -1 options: {
16473 -1 scaleMinimum: 5,
16474 -1 lowerBound: 2
16475 -1 }
16476 -1 }, {
16477 -1 id: 'meta-viewport',
16478 -1 evaluate: function evaluate(node, options, virtualNode, context) {
16479 -1 options = options || {};
16480 -1 var params, content = node.getAttribute('content') || '', parsedParams = content.split(/[;,]/), result = {}, minimum = options.scaleMinimum || 2, lowerBound = options.lowerBound || false;
16481 -1 for (var i = 0, l = parsedParams.length; i < l; i++) {
16482 -1 params = parsedParams[i].split('=');
16483 -1 var key = params.shift().toLowerCase();
16484 -1 if (key && params.length) {
16485 -1 result[key.trim()] = params.shift().trim().toLowerCase();
16486 -1 }
-1 28769 symbol = _Symbol2('test symbol');
-1 28770 try {
-1 28771 String(symbol);
-1 28772 } catch (e) {
-1 28773 return false;
16487 28774 }
16488 -1 if (lowerBound && result['maximum-scale'] && parseFloat(result['maximum-scale']) < lowerBound) {
16489 -1 return true;
-1 28775 if (!validTypes[_typeof(_Symbol2.iterator)]) {
-1 28776 return false;
16490 28777 }
16491 -1 if (!lowerBound && result['user-scalable'] === 'no') {
16492 -1 this.data('user-scalable=no');
-1 28778 if (!validTypes[_typeof(_Symbol2.toPrimitive)]) {
16493 28779 return false;
16494 28780 }
16495 -1 if (result['maximum-scale'] && parseFloat(result['maximum-scale']) < minimum) {
16496 -1 this.data('maximum-scale');
-1 28781 if (!validTypes[_typeof(_Symbol2.toStringTag)]) {
16497 28782 return false;
16498 28783 }
16499 28784 return true;
16500 -1 },
16501 -1 options: {
16502 -1 scaleMinimum: 2
16503 -1 }
16504 -1 }, {
16505 -1 id: 'header-present',
16506 -1 evaluate: function evaluate(node, options, virtualNode, context) {
16507 -1 return !!axe.utils.querySelectorAll(virtualNode, 'h1, h2, h3, h4, h5, h6, [role="heading"]')[0];
16508 -1 }
16509 -1 }, {
16510 -1 id: 'heading-order',
16511 -1 evaluate: function evaluate(node, options, virtualNode, context) {
16512 -1 var ariaHeadingLevel = node.getAttribute('aria-level');
16513 -1 if (ariaHeadingLevel !== null) {
16514 -1 this.data(parseInt(ariaHeadingLevel, 10));
16515 -1 return true;
-1 28785 };
-1 28786 },
-1 28787 './node_modules/es6-symbol/is-symbol.js': function node_modulesEs6SymbolIsSymbolJs(module, exports, __webpack_require__) {
-1 28788 'use strict';
-1 28789 module.exports = function(value) {
-1 28790 if (!value) {
-1 28791 return false;
16516 28792 }
16517 -1 var headingLevel = node.nodeName.toUpperCase().match(/H(\d)/);
16518 -1 if (headingLevel) {
16519 -1 this.data(parseInt(headingLevel[1], 10));
-1 28793 if (_typeof(value) === 'symbol') {
16520 28794 return true;
16521 28795 }
16522 -1 return true;
16523 -1 },
16524 -1 after: function after(results, options) {
16525 -1 if (results.length < 2) {
16526 -1 return results;
-1 28796 if (!value.constructor) {
-1 28797 return false;
16527 28798 }
16528 -1 var prevLevel = results[0].data;
16529 -1 for (var i = 1; i < results.length; i++) {
16530 -1 if (results[i].result && results[i].data > prevLevel + 1) {
16531 -1 results[i].result = false;
16532 -1 }
16533 -1 prevLevel = results[i].data;
-1 28799 if (value.constructor.name !== 'Symbol') {
-1 28800 return false;
16534 28801 }
16535 -1 return results;
16536 -1 }
16537 -1 }, {
16538 -1 id: 'internal-link-present',
16539 -1 evaluate: function evaluate(node, options, virtualNode, context) {
16540 -1 var links = axe.utils.querySelectorAll(virtualNode, 'a[href]');
16541 -1 return links.some(function(vLink) {
16542 -1 return /^#[^/!]/.test(vLink.actualNode.getAttribute('href'));
-1 28802 return value[value.constructor.toStringTag] === 'Symbol';
-1 28803 };
-1 28804 },
-1 28805 './node_modules/es6-symbol/lib/private/generate-name.js': function node_modulesEs6SymbolLibPrivateGenerateNameJs(module, exports, __webpack_require__) {
-1 28806 'use strict';
-1 28807 var d = __webpack_require__('./node_modules/d/index.js');
-1 28808 var create = Object.create, defineProperty = Object.defineProperty, objPrototype = Object.prototype;
-1 28809 var created = create(null);
-1 28810 module.exports = function(desc) {
-1 28811 var postfix = 0, name, ie11BugWorkaround;
-1 28812 while (created[desc + (postfix || '')]) {
-1 28813 ++postfix;
-1 28814 }
-1 28815 desc += postfix || '';
-1 28816 created[desc] = true;
-1 28817 name = '@@' + desc;
-1 28818 defineProperty(objPrototype, name, d.gs(null, function(value) {
-1 28819 if (ie11BugWorkaround) {
-1 28820 return;
-1 28821 }
-1 28822 ie11BugWorkaround = true;
-1 28823 defineProperty(this, name, d(value));
-1 28824 ie11BugWorkaround = false;
-1 28825 }));
-1 28826 return name;
-1 28827 };
-1 28828 },
-1 28829 './node_modules/es6-symbol/lib/private/setup/standard-symbols.js': function node_modulesEs6SymbolLibPrivateSetupStandardSymbolsJs(module, exports, __webpack_require__) {
-1 28830 'use strict';
-1 28831 var d = __webpack_require__('./node_modules/d/index.js'), NativeSymbol = __webpack_require__('./node_modules/ext/global-this/index.js').Symbol;
-1 28832 module.exports = function(SymbolPolyfill) {
-1 28833 return Object.defineProperties(SymbolPolyfill, {
-1 28834 hasInstance: d('', NativeSymbol && NativeSymbol.hasInstance || SymbolPolyfill('hasInstance')),
-1 28835 isConcatSpreadable: d('', NativeSymbol && NativeSymbol.isConcatSpreadable || SymbolPolyfill('isConcatSpreadable')),
-1 28836 iterator: d('', NativeSymbol && NativeSymbol.iterator || SymbolPolyfill('iterator')),
-1 28837 match: d('', NativeSymbol && NativeSymbol.match || SymbolPolyfill('match')),
-1 28838 replace: d('', NativeSymbol && NativeSymbol.replace || SymbolPolyfill('replace')),
-1 28839 search: d('', NativeSymbol && NativeSymbol.search || SymbolPolyfill('search')),
-1 28840 species: d('', NativeSymbol && NativeSymbol.species || SymbolPolyfill('species')),
-1 28841 split: d('', NativeSymbol && NativeSymbol.split || SymbolPolyfill('split')),
-1 28842 toPrimitive: d('', NativeSymbol && NativeSymbol.toPrimitive || SymbolPolyfill('toPrimitive')),
-1 28843 toStringTag: d('', NativeSymbol && NativeSymbol.toStringTag || SymbolPolyfill('toStringTag')),
-1 28844 unscopables: d('', NativeSymbol && NativeSymbol.unscopables || SymbolPolyfill('unscopables'))
-1 28845 });
-1 28846 };
-1 28847 },
-1 28848 './node_modules/es6-symbol/lib/private/setup/symbol-registry.js': function node_modulesEs6SymbolLibPrivateSetupSymbolRegistryJs(module, exports, __webpack_require__) {
-1 28849 'use strict';
-1 28850 var d = __webpack_require__('./node_modules/d/index.js'), validateSymbol = __webpack_require__('./node_modules/es6-symbol/validate-symbol.js');
-1 28851 var registry = Object.create(null);
-1 28852 module.exports = function(SymbolPolyfill) {
-1 28853 return Object.defineProperties(SymbolPolyfill, {
-1 28854 for: d(function(key) {
-1 28855 if (registry[key]) {
-1 28856 return registry[key];
-1 28857 }
-1 28858 return registry[key] = SymbolPolyfill(String(key));
-1 28859 }),
-1 28860 keyFor: d(function(symbol) {
-1 28861 var key;
-1 28862 validateSymbol(symbol);
-1 28863 for (key in registry) {
-1 28864 if (registry[key] === symbol) {
-1 28865 return key;
-1 28866 }
-1 28867 }
-1 28868 return undefined;
-1 28869 })
16543 28870 });
-1 28871 };
-1 28872 },
-1 28873 './node_modules/es6-symbol/polyfill.js': function node_modulesEs6SymbolPolyfillJs(module, exports, __webpack_require__) {
-1 28874 'use strict';
-1 28875 var d = __webpack_require__('./node_modules/d/index.js'), validateSymbol = __webpack_require__('./node_modules/es6-symbol/validate-symbol.js'), NativeSymbol = __webpack_require__('./node_modules/ext/global-this/index.js').Symbol, generateName = __webpack_require__('./node_modules/es6-symbol/lib/private/generate-name.js'), setupStandardSymbols = __webpack_require__('./node_modules/es6-symbol/lib/private/setup/standard-symbols.js'), setupSymbolRegistry = __webpack_require__('./node_modules/es6-symbol/lib/private/setup/symbol-registry.js');
-1 28876 var create = Object.create, defineProperties = Object.defineProperties, defineProperty = Object.defineProperty;
-1 28877 var SymbolPolyfill, HiddenSymbol, isNativeSafe;
-1 28878 if (typeof NativeSymbol === 'function') {
-1 28879 try {
-1 28880 String(NativeSymbol());
-1 28881 isNativeSafe = true;
-1 28882 } catch (ignore) {}
-1 28883 } else {
-1 28884 NativeSymbol = null;
16544 28885 }
16545 -1 }, {
16546 -1 id: 'landmark',
16547 -1 evaluate: function evaluate(node, options, virtualNode, context) {
16548 -1 return axe.utils.querySelectorAll(virtualNode, 'main, [role="main"]').length > 0;
16549 -1 }
16550 -1 }, {
16551 -1 id: 'meta-refresh',
16552 -1 evaluate: function evaluate(node, options, virtualNode, context) {
16553 -1 var content = node.getAttribute('content') || '', parsedParams = content.split(/[;,]/);
16554 -1 return content === '' || parsedParams[0] === '0';
16555 -1 }
16556 -1 }, {
16557 -1 id: 'p-as-heading',
16558 -1 evaluate: function evaluate(node, options, virtualNode, context) {
16559 -1 var siblings = Array.from(node.parentNode.children);
16560 -1 var currentIndex = siblings.indexOf(node);
16561 -1 options = options || {};
16562 -1 var margins = options.margins || [];
16563 -1 var nextSibling = siblings.slice(currentIndex + 1).find(function(elm) {
16564 -1 return elm.nodeName.toUpperCase() === 'P';
-1 28886 HiddenSymbol = function _Symbol3(description) {
-1 28887 if (this instanceof HiddenSymbol) {
-1 28888 throw new TypeError('Symbol is not a constructor');
-1 28889 }
-1 28890 return SymbolPolyfill(description);
-1 28891 };
-1 28892 module.exports = SymbolPolyfill = function _Symbol4(description) {
-1 28893 var symbol;
-1 28894 if (this instanceof _Symbol4) {
-1 28895 throw new TypeError('Symbol is not a constructor');
-1 28896 }
-1 28897 if (isNativeSafe) {
-1 28898 return NativeSymbol(description);
-1 28899 }
-1 28900 symbol = create(HiddenSymbol.prototype);
-1 28901 description = description === undefined ? '' : String(description);
-1 28902 return defineProperties(symbol, {
-1 28903 __description__: d('', description),
-1 28904 __name__: d('', generateName(description))
16565 28905 });
16566 -1 var prevSibling = siblings.slice(0, currentIndex).reverse().find(function(elm) {
16567 -1 return elm.nodeName.toUpperCase() === 'P';
-1 28906 };
-1 28907 setupStandardSymbols(SymbolPolyfill);
-1 28908 setupSymbolRegistry(SymbolPolyfill);
-1 28909 defineProperties(HiddenSymbol.prototype, {
-1 28910 constructor: d(SymbolPolyfill),
-1 28911 toString: d('', function() {
-1 28912 return this.__name__;
-1 28913 })
-1 28914 });
-1 28915 defineProperties(SymbolPolyfill.prototype, {
-1 28916 toString: d(function() {
-1 28917 return 'Symbol (' + validateSymbol(this).__description__ + ')';
-1 28918 }),
-1 28919 valueOf: d(function() {
-1 28920 return validateSymbol(this);
-1 28921 })
-1 28922 });
-1 28923 defineProperty(SymbolPolyfill.prototype, SymbolPolyfill.toPrimitive, d('', function() {
-1 28924 var symbol = validateSymbol(this);
-1 28925 if (_typeof(symbol) === 'symbol') {
-1 28926 return symbol;
-1 28927 }
-1 28928 return symbol.toString();
-1 28929 }));
-1 28930 defineProperty(SymbolPolyfill.prototype, SymbolPolyfill.toStringTag, d('c', 'Symbol'));
-1 28931 defineProperty(HiddenSymbol.prototype, SymbolPolyfill.toStringTag, d('c', SymbolPolyfill.prototype[SymbolPolyfill.toStringTag]));
-1 28932 defineProperty(HiddenSymbol.prototype, SymbolPolyfill.toPrimitive, d('c', SymbolPolyfill.prototype[SymbolPolyfill.toPrimitive]));
-1 28933 },
-1 28934 './node_modules/es6-symbol/validate-symbol.js': function node_modulesEs6SymbolValidateSymbolJs(module, exports, __webpack_require__) {
-1 28935 'use strict';
-1 28936 var isSymbol = __webpack_require__('./node_modules/es6-symbol/is-symbol.js');
-1 28937 module.exports = function(value) {
-1 28938 if (!isSymbol(value)) {
-1 28939 throw new TypeError(value + ' is not a symbol');
-1 28940 }
-1 28941 return value;
-1 28942 };
-1 28943 },
-1 28944 './node_modules/event-emitter/index.js': function node_modulesEventEmitterIndexJs(module, exports, __webpack_require__) {
-1 28945 'use strict';
-1 28946 var d = __webpack_require__('./node_modules/d/index.js'), callable = __webpack_require__('./node_modules/es5-ext/object/valid-callable.js'), apply = Function.prototype.apply, call = Function.prototype.call, create = Object.create, defineProperty = Object.defineProperty, defineProperties = Object.defineProperties, hasOwnProperty = Object.prototype.hasOwnProperty, descriptor = {
-1 28947 configurable: true,
-1 28948 enumerable: false,
-1 28949 writable: true
-1 28950 }, on, _once2, off, emit, methods, descriptors, base;
-1 28951 on = function on(type, listener) {
-1 28952 var data;
-1 28953 callable(listener);
-1 28954 if (!hasOwnProperty.call(this, '__ee__')) {
-1 28955 data = descriptor.value = create(null);
-1 28956 defineProperty(this, '__ee__', descriptor);
-1 28957 descriptor.value = null;
-1 28958 } else {
-1 28959 data = this.__ee__;
-1 28960 }
-1 28961 if (!data[type]) {
-1 28962 data[type] = listener;
-1 28963 } else if (_typeof(data[type]) === 'object') {
-1 28964 data[type].push(listener);
-1 28965 } else {
-1 28966 data[type] = [ data[type], listener ];
-1 28967 }
-1 28968 return this;
-1 28969 };
-1 28970 _once2 = function once(type, listener) {
-1 28971 var _once, self;
-1 28972 callable(listener);
-1 28973 self = this;
-1 28974 on.call(this, type, _once = function once() {
-1 28975 off.call(self, type, _once);
-1 28976 apply.call(listener, this, arguments);
16568 28977 });
16569 -1 function getTextContainer(elm) {
16570 -1 var nextNode = elm;
16571 -1 var outerText = elm.textContent.trim();
16572 -1 var innerText = outerText;
16573 -1 while (innerText === outerText && nextNode !== undefined) {
16574 -1 var i = -1;
16575 -1 elm = nextNode;
16576 -1 if (elm.children.length === 0) {
16577 -1 return elm;
16578 -1 }
16579 -1 do {
16580 -1 i++;
16581 -1 innerText = elm.children[i].textContent.trim();
16582 -1 } while (innerText === '' && i + 1 < elm.children.length);
16583 -1 nextNode = elm.children[i];
-1 28978 _once.__eeOnceListener__ = listener;
-1 28979 return this;
-1 28980 };
-1 28981 off = function off(type, listener) {
-1 28982 var data, listeners, candidate, i;
-1 28983 callable(listener);
-1 28984 if (!hasOwnProperty.call(this, '__ee__')) {
-1 28985 return this;
-1 28986 }
-1 28987 data = this.__ee__;
-1 28988 if (!data[type]) {
-1 28989 return this;
-1 28990 }
-1 28991 listeners = data[type];
-1 28992 if (_typeof(listeners) === 'object') {
-1 28993 for (i = 0; candidate = listeners[i]; ++i) {
-1 28994 if (candidate === listener || candidate.__eeOnceListener__ === listener) {
-1 28995 if (listeners.length === 2) {
-1 28996 data[type] = listeners[i ? 0 : 1];
-1 28997 } else {
-1 28998 listeners.splice(i, 1);
-1 28999 }
-1 29000 }
16584 29001 }
16585 -1 return elm;
-1 29002 } else {
-1 29003 if (listeners === listener || listeners.__eeOnceListener__ === listener) {
-1 29004 delete data[type];
-1 29005 }
-1 29006 }
-1 29007 return this;
-1 29008 };
-1 29009 emit = function emit(type) {
-1 29010 var i, l, listener, listeners, args;
-1 29011 if (!hasOwnProperty.call(this, '__ee__')) {
-1 29012 return;
-1 29013 }
-1 29014 listeners = this.__ee__[type];
-1 29015 if (!listeners) {
-1 29016 return;
16586 29017 }
16587 -1 function normalizeFontWeight(weight) {
16588 -1 switch (weight) {
16589 -1 case 'lighter':
16590 -1 return 100;
-1 29018 if (_typeof(listeners) === 'object') {
-1 29019 l = arguments.length;
-1 29020 args = new Array(l - 1);
-1 29021 for (i = 1; i < l; ++i) {
-1 29022 args[i - 1] = arguments[i];
-1 29023 }
-1 29024 listeners = listeners.slice();
-1 29025 for (i = 0; listener = listeners[i]; ++i) {
-1 29026 apply.call(listener, this, args);
-1 29027 }
-1 29028 } else {
-1 29029 switch (arguments.length) {
-1 29030 case 1:
-1 29031 call.call(listeners, this);
-1 29032 break;
16591 29033
16592 -1 case 'normal':
16593 -1 return 400;
-1 29034 case 2:
-1 29035 call.call(listeners, this, arguments[1]);
-1 29036 break;
16594 29037
16595 -1 case 'bold':
16596 -1 return 700;
-1 29038 case 3:
-1 29039 call.call(listeners, this, arguments[1], arguments[2]);
-1 29040 break;
16597 29041
16598 -1 case 'bolder':
16599 -1 return 900;
-1 29042 default:
-1 29043 l = arguments.length;
-1 29044 args = new Array(l - 1);
-1 29045 for (i = 1; i < l; ++i) {
-1 29046 args[i - 1] = arguments[i];
-1 29047 }
-1 29048 apply.call(listeners, this, args);
16600 29049 }
16601 -1 weight = parseInt(weight);
16602 -1 return !isNaN(weight) ? weight : 400;
16603 29050 }
16604 -1 function getStyleValues(node) {
16605 -1 var style = window.getComputedStyle(getTextContainer(node));
16606 -1 return {
16607 -1 fontWeight: normalizeFontWeight(style.getPropertyValue('font-weight')),
16608 -1 fontSize: parseInt(style.getPropertyValue('font-size')),
16609 -1 isItalic: style.getPropertyValue('font-style') === 'italic'
16610 -1 };
-1 29051 };
-1 29052 methods = {
-1 29053 on: on,
-1 29054 once: _once2,
-1 29055 off: off,
-1 29056 emit: emit
-1 29057 };
-1 29058 descriptors = {
-1 29059 on: d(on),
-1 29060 once: d(_once2),
-1 29061 off: d(off),
-1 29062 emit: d(emit)
-1 29063 };
-1 29064 base = defineProperties({}, descriptors);
-1 29065 module.exports = exports = function exports(o) {
-1 29066 return o == null ? create(base) : defineProperties(Object(o), descriptors);
-1 29067 };
-1 29068 exports.methods = methods;
-1 29069 },
-1 29070 './node_modules/ext/global-this/implementation.js': function node_modulesExtGlobalThisImplementationJs(module, exports) {
-1 29071 var naiveFallback = function naiveFallback() {
-1 29072 if ((typeof self === 'undefined' ? 'undefined' : _typeof(self)) === 'object' && self) {
-1 29073 return self;
16611 29074 }
16612 -1 function isHeaderStyle(styleA, styleB, margins) {
16613 -1 return margins.reduce(function(out, margin) {
16614 -1 return out || (!margin.size || styleA.fontSize / margin.size > styleB.fontSize) && (!margin.weight || styleA.fontWeight - margin.weight > styleB.fontWeight) && (!margin.italic || styleA.isItalic && !styleB.isItalic);
16615 -1 }, false);
-1 29075 if ((typeof window === 'undefined' ? 'undefined' : _typeof(window)) === 'object' && window) {
-1 29076 return window;
16616 29077 }
16617 -1 var currStyle = getStyleValues(node);
16618 -1 var nextStyle = nextSibling ? getStyleValues(nextSibling) : null;
16619 -1 var prevStyle = prevSibling ? getStyleValues(prevSibling) : null;
16620 -1 if (!nextStyle || !isHeaderStyle(currStyle, nextStyle, margins)) {
16621 -1 return true;
-1 29078 throw new Error('Unable to resolve global `this`');
-1 29079 };
-1 29080 module.exports = function() {
-1 29081 if (this) {
-1 29082 return this;
16622 29083 }
16623 -1 var blockquote = axe.commons.dom.findUpVirtual(virtualNode, 'blockquote');
16624 -1 if (blockquote && blockquote.nodeName.toUpperCase() === 'BLOCKQUOTE') {
16625 -1 return undefined;
-1 29084 try {
-1 29085 Object.defineProperty(Object.prototype, '__global__', {
-1 29086 get: function get() {
-1 29087 return this;
-1 29088 },
-1 29089 configurable: true
-1 29090 });
-1 29091 } catch (error) {
-1 29092 return naiveFallback();
16626 29093 }
16627 -1 if (prevStyle && !isHeaderStyle(currStyle, prevStyle, margins)) {
16628 -1 return undefined;
-1 29094 try {
-1 29095 if (!__global__) {
-1 29096 return naiveFallback();
-1 29097 }
-1 29098 return __global__;
-1 29099 } finally {
-1 29100 delete Object.prototype.__global__;
16629 29101 }
16630 -1 return false;
16631 -1 },
16632 -1 options: {
16633 -1 margins: [ {
16634 -1 weight: 150,
16635 -1 italic: true
16636 -1 }, {
16637 -1 weight: 150,
16638 -1 size: 1.15
16639 -1 }, {
16640 -1 italic: true,
16641 -1 size: 1.15
16642 -1 }, {
16643 -1 size: 1.4
16644 -1 } ]
16645 -1 }
16646 -1 }, {
16647 -1 id: 'region',
16648 -1 evaluate: function evaluate(node, options, virtualNode, context) {
16649 -1 var _axe$commons11 = axe.commons, dom = _axe$commons11.dom, aria = _axe$commons11.aria;
16650 -1 function getSkiplink(virtualNode) {
16651 -1 var firstLink = axe.utils.querySelectorAll(virtualNode, 'a[href]')[0];
16652 -1 if (firstLink && axe.commons.dom.getElementByReference(firstLink.actualNode, 'href')) {
16653 -1 return firstLink.actualNode;
16654 -1 }
16655 -1 }
16656 -1 var skipLink = getSkiplink(virtualNode);
16657 -1 var landmarkRoles = aria.getRolesByType('landmark');
16658 -1 var implicitLandmarks = landmarkRoles.reduce(function(arr, role) {
16659 -1 return arr.concat(aria.implicitNodes(role));
16660 -1 }, []).filter(function(r) {
16661 -1 return r !== null;
16662 -1 });
16663 -1 function isSkipLink(vNode) {
16664 -1 return skipLink && skipLink === vNode.actualNode;
-1 29102 }();
-1 29103 },
-1 29104 './node_modules/ext/global-this/index.js': function node_modulesExtGlobalThisIndexJs(module, exports, __webpack_require__) {
-1 29105 'use strict';
-1 29106 module.exports = __webpack_require__('./node_modules/ext/global-this/is-implemented.js')() ? globalThis : __webpack_require__('./node_modules/ext/global-this/implementation.js');
-1 29107 },
-1 29108 './node_modules/ext/global-this/is-implemented.js': function node_modulesExtGlobalThisIsImplementedJs(module, exports, __webpack_require__) {
-1 29109 'use strict';
-1 29110 module.exports = function() {
-1 29111 if ((typeof globalThis === 'undefined' ? 'undefined' : _typeof(globalThis)) !== 'object') {
-1 29112 return false;
16665 29113 }
16666 -1 function isRegion(virtualNode) {
16667 -1 var node = virtualNode.actualNode;
16668 -1 var explicitRole = axe.commons.aria.getRole(node, {
16669 -1 noImplicit: true
16670 -1 });
16671 -1 var ariaLive = (node.getAttribute('aria-live') || '').toLowerCase().trim();
16672 -1 if (explicitRole) {
16673 -1 return explicitRole === 'dialog' || landmarkRoles.includes(explicitRole);
-1 29114 if (!globalThis) {
-1 29115 return false;
-1 29116 }
-1 29117 return globalThis.Array === Array;
-1 29118 };
-1 29119 },
-1 29120 './node_modules/is-promise/index.js': function node_modulesIsPromiseIndexJs(module, exports) {
-1 29121 module.exports = isPromise;
-1 29122 module.exports['default'] = isPromise;
-1 29123 function isPromise(obj) {
-1 29124 return !!obj && (_typeof(obj) === 'object' || typeof obj === 'function') && typeof obj.then === 'function';
-1 29125 }
-1 29126 },
-1 29127 './node_modules/lru-queue/index.js': function node_modulesLruQueueIndexJs(module, exports, __webpack_require__) {
-1 29128 'use strict';
-1 29129 var toPosInt = __webpack_require__('./node_modules/es5-ext/number/to-pos-integer.js'), create = Object.create, hasOwnProperty = Object.prototype.hasOwnProperty;
-1 29130 module.exports = function(limit) {
-1 29131 var size = 0, base = 1, queue = create(null), map = create(null), index = 0, del;
-1 29132 limit = toPosInt(limit);
-1 29133 return {
-1 29134 hit: function hit(id) {
-1 29135 var oldIndex = map[id], nuIndex = ++index;
-1 29136 queue[nuIndex] = id;
-1 29137 map[id] = nuIndex;
-1 29138 if (!oldIndex) {
-1 29139 ++size;
-1 29140 if (size <= limit) {
-1 29141 return;
-1 29142 }
-1 29143 id = queue[base];
-1 29144 del(id);
-1 29145 return id;
-1 29146 }
-1 29147 delete queue[oldIndex];
-1 29148 if (base !== oldIndex) {
-1 29149 return;
-1 29150 }
-1 29151 while (!hasOwnProperty.call(queue, ++base)) {
-1 29152 continue;
-1 29153 }
-1 29154 },
-1 29155 delete: del = function del(id) {
-1 29156 var oldIndex = map[id];
-1 29157 if (!oldIndex) {
-1 29158 return;
-1 29159 }
-1 29160 delete queue[oldIndex];
-1 29161 delete map[id];
-1 29162 --size;
-1 29163 if (base !== oldIndex) {
-1 29164 return;
-1 29165 }
-1 29166 if (!size) {
-1 29167 index = 0;
-1 29168 base = 1;
-1 29169 return;
-1 29170 }
-1 29171 while (!hasOwnProperty.call(queue, ++base)) {
-1 29172 continue;
-1 29173 }
-1 29174 },
-1 29175 clear: function clear() {
-1 29176 size = 0;
-1 29177 base = 1;
-1 29178 queue = create(null);
-1 29179 map = create(null);
-1 29180 index = 0;
16674 29181 }
16675 -1 if ([ 'assertive', 'polite' ].includes(ariaLive)) {
16676 -1 return true;
-1 29182 };
-1 29183 };
-1 29184 },
-1 29185 './node_modules/memoizee/ext/async.js': function node_modulesMemoizeeExtAsyncJs(module, exports, __webpack_require__) {
-1 29186 'use strict';
-1 29187 var aFrom = __webpack_require__('./node_modules/es5-ext/array/from/index.js'), objectMap = __webpack_require__('./node_modules/es5-ext/object/map.js'), mixin = __webpack_require__('./node_modules/es5-ext/object/mixin.js'), defineLength = __webpack_require__('./node_modules/es5-ext/function/_define-length.js'), nextTick = __webpack_require__('./node_modules/next-tick/index.js');
-1 29188 var slice = Array.prototype.slice, apply = Function.prototype.apply, create = Object.create;
-1 29189 __webpack_require__('./node_modules/memoizee/lib/registered-extensions.js').async = function(tbi, conf) {
-1 29190 var waiting = create(null), cache = create(null), base = conf.memoized, original = conf.original, currentCallback, currentContext, currentArgs;
-1 29191 conf.memoized = defineLength(function(arg) {
-1 29192 var args = arguments, last = args[args.length - 1];
-1 29193 if (typeof last === 'function') {
-1 29194 currentCallback = last;
-1 29195 args = slice.call(args, 0, -1);
-1 29196 }
-1 29197 return base.apply(currentContext = this, currentArgs = args);
-1 29198 }, base);
-1 29199 try {
-1 29200 mixin(conf.memoized, base);
-1 29201 } catch (ignore) {}
-1 29202 conf.on('get', function(id) {
-1 29203 var cb, context, args;
-1 29204 if (!currentCallback) {
-1 29205 return;
-1 29206 }
-1 29207 if (waiting[id]) {
-1 29208 if (typeof waiting[id] === 'function') {
-1 29209 waiting[id] = [ waiting[id], currentCallback ];
-1 29210 } else {
-1 29211 waiting[id].push(currentCallback);
-1 29212 }
-1 29213 currentCallback = null;
-1 29214 return;
16677 29215 }
16678 -1 return implicitLandmarks.some(function(implicitSelector) {
16679 -1 var matches = axe.utils.matchesSelector(node, implicitSelector);
16680 -1 if (node.nodeName.toUpperCase() === 'FORM') {
16681 -1 var titleAttr = node.getAttribute('title');
16682 -1 var title = titleAttr && titleAttr.trim() !== '' ? axe.commons.text.sanitize(titleAttr) : null;
16683 -1 return matches && (!!aria.labelVirtual(virtualNode) || !!title);
-1 29216 cb = currentCallback;
-1 29217 context = currentContext;
-1 29218 args = currentArgs;
-1 29219 currentCallback = currentContext = currentArgs = null;
-1 29220 nextTick(function() {
-1 29221 var data;
-1 29222 if (hasOwnProperty.call(cache, id)) {
-1 29223 data = cache[id];
-1 29224 conf.emit('getasync', id, args, context);
-1 29225 apply.call(cb, data.context, data.args);
-1 29226 } else {
-1 29227 currentCallback = cb;
-1 29228 currentContext = context;
-1 29229 currentArgs = args;
-1 29230 base.apply(context, args);
16684 29231 }
16685 -1 return matches;
16686 29232 });
16687 -1 }
16688 -1 function findRegionlessElms(virtualNode) {
16689 -1 var node = virtualNode.actualNode;
16690 -1 if (isRegion(virtualNode) || isSkipLink(virtualNode) || !dom.isVisible(node, true)) {
16691 -1 return [];
16692 -1 } else if (dom.hasContent(node, true)) {
16693 -1 return [ node ];
-1 29233 });
-1 29234 conf.original = function() {
-1 29235 var args, cb, origCb, result;
-1 29236 if (!currentCallback) {
-1 29237 return apply.call(original, this, arguments);
-1 29238 }
-1 29239 args = aFrom(arguments);
-1 29240 cb = function self(err) {
-1 29241 var cb, args, id = self.id;
-1 29242 if (id == null) {
-1 29243 nextTick(apply.bind(self, this, arguments));
-1 29244 return undefined;
-1 29245 }
-1 29246 delete self.id;
-1 29247 cb = waiting[id];
-1 29248 delete waiting[id];
-1 29249 if (!cb) {
-1 29250 return undefined;
-1 29251 }
-1 29252 args = aFrom(arguments);
-1 29253 if (conf.has(id)) {
-1 29254 if (err) {
-1 29255 conf['delete'](id);
-1 29256 } else {
-1 29257 cache[id] = {
-1 29258 context: this,
-1 29259 args: args
-1 29260 };
-1 29261 conf.emit('setasync', id, typeof cb === 'function' ? 1 : cb.length);
-1 29262 }
-1 29263 }
-1 29264 if (typeof cb === 'function') {
-1 29265 result = apply.call(cb, this, args);
-1 29266 } else {
-1 29267 cb.forEach(function(cb) {
-1 29268 result = apply.call(cb, this, args);
-1 29269 }, this);
-1 29270 }
-1 29271 return result;
-1 29272 };
-1 29273 origCb = currentCallback;
-1 29274 currentCallback = currentContext = currentArgs = null;
-1 29275 args.push(cb);
-1 29276 result = apply.call(original, this, args);
-1 29277 cb.cb = origCb;
-1 29278 currentCallback = cb;
-1 29279 return result;
-1 29280 };
-1 29281 conf.on('set', function(id) {
-1 29282 if (!currentCallback) {
-1 29283 conf['delete'](id);
-1 29284 return;
-1 29285 }
-1 29286 if (waiting[id]) {
-1 29287 if (typeof waiting[id] === 'function') {
-1 29288 waiting[id] = [ waiting[id], currentCallback.cb ];
-1 29289 } else {
-1 29290 waiting[id].push(currentCallback.cb);
-1 29291 }
16694 29292 } else {
16695 -1 return virtualNode.children.filter(function(_ref12) {
16696 -1 var actualNode = _ref12.actualNode;
16697 -1 return actualNode.nodeType === 1;
16698 -1 }).map(findRegionlessElms).reduce(function(a, b) {
16699 -1 return a.concat(b);
16700 -1 }, []);
-1 29293 waiting[id] = currentCallback.cb;
16701 29294 }
-1 29295 delete currentCallback.cb;
-1 29296 currentCallback.id = id;
-1 29297 currentCallback = null;
-1 29298 });
-1 29299 conf.on('delete', function(id) {
-1 29300 var result;
-1 29301 if (hasOwnProperty.call(waiting, id)) {
-1 29302 return;
-1 29303 }
-1 29304 if (!cache[id]) {
-1 29305 return;
-1 29306 }
-1 29307 result = cache[id];
-1 29308 delete cache[id];
-1 29309 conf.emit('deleteasync', id, slice.call(result.args, 1));
-1 29310 });
-1 29311 conf.on('clear', function() {
-1 29312 var oldCache = cache;
-1 29313 cache = create(null);
-1 29314 conf.emit('clearasync', objectMap(oldCache, function(data) {
-1 29315 return slice.call(data.args, 1);
-1 29316 }));
-1 29317 });
-1 29318 };
-1 29319 },
-1 29320 './node_modules/memoizee/ext/dispose.js': function node_modulesMemoizeeExtDisposeJs(module, exports, __webpack_require__) {
-1 29321 'use strict';
-1 29322 var callable = __webpack_require__('./node_modules/es5-ext/object/valid-callable.js'), forEach = __webpack_require__('./node_modules/es5-ext/object/for-each.js'), extensions = __webpack_require__('./node_modules/memoizee/lib/registered-extensions.js'), apply = Function.prototype.apply;
-1 29323 extensions.dispose = function(dispose, conf, options) {
-1 29324 var del;
-1 29325 callable(dispose);
-1 29326 if (options.async && extensions.async || options.promise && extensions.promise) {
-1 29327 conf.on('deleteasync', del = function del(id, resultArray) {
-1 29328 apply.call(dispose, null, resultArray);
-1 29329 });
-1 29330 conf.on('clearasync', function(cache) {
-1 29331 forEach(cache, function(result, id) {
-1 29332 del(id, result);
-1 29333 });
-1 29334 });
-1 29335 return;
16702 29336 }
16703 -1 var regionlessNodes = findRegionlessElms(virtualNode);
16704 -1 this.relatedNodes(regionlessNodes);
16705 -1 return regionlessNodes.length === 0;
16706 -1 },
16707 -1 after: function after(results, options) {
16708 -1 return [ results[0] ];
16709 -1 }
16710 -1 }, {
16711 -1 id: 'skip-link',
16712 -1 evaluate: function evaluate(node, options, virtualNode, context) {
16713 -1 var target = axe.commons.dom.getElementByReference(node, 'href');
16714 -1 if (target) {
16715 -1 return axe.commons.dom.isVisible(target, true) || undefined;
16716 -1 }
16717 -1 return false;
16718 -1 }
16719 -1 }, {
16720 -1 id: 'unique-frame-title',
16721 -1 evaluate: function evaluate(node, options, virtualNode, context) {
16722 -1 var title = axe.commons.text.sanitize(node.title).trim().toLowerCase();
16723 -1 this.data(title);
16724 -1 return true;
16725 -1 },
16726 -1 after: function after(results, options) {
16727 -1 var titles = {};
16728 -1 results.forEach(function(r) {
16729 -1 titles[r.data] = titles[r.data] !== undefined ? ++titles[r.data] : 0;
-1 29337 conf.on('delete', del = function del(id, result) {
-1 29338 dispose(result);
16730 29339 });
16731 -1 results.forEach(function(r) {
16732 -1 r.result = !!titles[r.data];
-1 29340 conf.on('clear', function(cache) {
-1 29341 forEach(cache, function(result, id) {
-1 29342 del(id, result);
-1 29343 });
16733 29344 });
16734 -1 return results;
16735 -1 }
16736 -1 }, {
16737 -1 id: 'duplicate-id-active',
16738 -1 evaluate: function evaluate(node, options, virtualNode, context) {
16739 -1 var id = node.getAttribute('id').trim();
16740 -1 if (!id) {
16741 -1 return true;
-1 29345 };
-1 29346 },
-1 29347 './node_modules/memoizee/ext/max-age.js': function node_modulesMemoizeeExtMaxAgeJs(module, exports, __webpack_require__) {
-1 29348 'use strict';
-1 29349 var aFrom = __webpack_require__('./node_modules/es5-ext/array/from/index.js'), forEach = __webpack_require__('./node_modules/es5-ext/object/for-each.js'), nextTick = __webpack_require__('./node_modules/next-tick/index.js'), isPromise = __webpack_require__('./node_modules/is-promise/index.js'), timeout = __webpack_require__('./node_modules/timers-ext/valid-timeout.js'), extensions = __webpack_require__('./node_modules/memoizee/lib/registered-extensions.js');
-1 29350 var noop = Function.prototype, max = Math.max, min = Math.min, create = Object.create;
-1 29351 extensions.maxAge = function(maxAge, conf, options) {
-1 29352 var timeouts, postfix, preFetchAge, preFetchTimeouts;
-1 29353 maxAge = timeout(maxAge);
-1 29354 if (!maxAge) {
-1 29355 return;
16742 29356 }
16743 -1 var root = axe.commons.dom.getRootNode(node);
16744 -1 var matchingNodes = Array.from(root.querySelectorAll('[id="' + axe.utils.escapeSelector(id) + '"]')).filter(function(foundNode) {
16745 -1 return foundNode !== node;
-1 29357 timeouts = create(null);
-1 29358 postfix = options.async && extensions.async || options.promise && extensions.promise ? 'async' : '';
-1 29359 conf.on('set' + postfix, function(id) {
-1 29360 timeouts[id] = setTimeout(function() {
-1 29361 conf['delete'](id);
-1 29362 }, maxAge);
-1 29363 if (typeof timeouts[id].unref === 'function') {
-1 29364 timeouts[id].unref();
-1 29365 }
-1 29366 if (!preFetchTimeouts) {
-1 29367 return;
-1 29368 }
-1 29369 if (preFetchTimeouts[id]) {
-1 29370 if (preFetchTimeouts[id] !== 'nextTick') {
-1 29371 clearTimeout(preFetchTimeouts[id]);
-1 29372 }
-1 29373 }
-1 29374 preFetchTimeouts[id] = setTimeout(function() {
-1 29375 delete preFetchTimeouts[id];
-1 29376 }, preFetchAge);
-1 29377 if (typeof preFetchTimeouts[id].unref === 'function') {
-1 29378 preFetchTimeouts[id].unref();
-1 29379 }
16746 29380 });
16747 -1 if (matchingNodes.length) {
16748 -1 this.relatedNodes(matchingNodes);
-1 29381 conf.on('delete' + postfix, function(id) {
-1 29382 clearTimeout(timeouts[id]);
-1 29383 delete timeouts[id];
-1 29384 if (!preFetchTimeouts) {
-1 29385 return;
-1 29386 }
-1 29387 if (preFetchTimeouts[id] !== 'nextTick') {
-1 29388 clearTimeout(preFetchTimeouts[id]);
-1 29389 }
-1 29390 delete preFetchTimeouts[id];
-1 29391 });
-1 29392 if (options.preFetch) {
-1 29393 if (options.preFetch === true || isNaN(options.preFetch)) {
-1 29394 preFetchAge = .333;
-1 29395 } else {
-1 29396 preFetchAge = max(min(Number(options.preFetch), 1), 0);
-1 29397 }
-1 29398 if (preFetchAge) {
-1 29399 preFetchTimeouts = {};
-1 29400 preFetchAge = (1 - preFetchAge) * maxAge;
-1 29401 conf.on('get' + postfix, function(id, args, context) {
-1 29402 if (!preFetchTimeouts[id]) {
-1 29403 preFetchTimeouts[id] = 'nextTick';
-1 29404 nextTick(function() {
-1 29405 var result;
-1 29406 if (preFetchTimeouts[id] !== 'nextTick') {
-1 29407 return;
-1 29408 }
-1 29409 delete preFetchTimeouts[id];
-1 29410 conf['delete'](id);
-1 29411 if (options.async) {
-1 29412 args = aFrom(args);
-1 29413 args.push(noop);
-1 29414 }
-1 29415 result = conf.memoized.apply(context, args);
-1 29416 if (options.promise) {
-1 29417 if (isPromise(result)) {
-1 29418 if (typeof result.done === 'function') {
-1 29419 result.done(noop, noop);
-1 29420 } else {
-1 29421 result.then(noop, noop);
-1 29422 }
-1 29423 }
-1 29424 }
-1 29425 });
-1 29426 }
-1 29427 });
-1 29428 }
16749 29429 }
16750 -1 this.data(id);
16751 -1 return matchingNodes.length === 0;
16752 -1 },
16753 -1 after: function after(results, options) {
16754 -1 var uniqueIds = [];
16755 -1 return results.filter(function(r) {
16756 -1 if (uniqueIds.indexOf(r.data) === -1) {
16757 -1 uniqueIds.push(r.data);
16758 -1 return true;
-1 29430 conf.on('clear' + postfix, function() {
-1 29431 forEach(timeouts, function(id) {
-1 29432 clearTimeout(id);
-1 29433 });
-1 29434 timeouts = {};
-1 29435 if (preFetchTimeouts) {
-1 29436 forEach(preFetchTimeouts, function(id) {
-1 29437 if (id !== 'nextTick') {
-1 29438 clearTimeout(id);
-1 29439 }
-1 29440 });
-1 29441 preFetchTimeouts = {};
16759 29442 }
16760 -1 return false;
16761 29443 });
16762 -1 }
16763 -1 }, {
16764 -1 id: 'duplicate-id-aria',
16765 -1 evaluate: function evaluate(node, options, virtualNode, context) {
16766 -1 var id = node.getAttribute('id').trim();
16767 -1 if (!id) {
16768 -1 return true;
-1 29444 };
-1 29445 },
-1 29446 './node_modules/memoizee/ext/max.js': function node_modulesMemoizeeExtMaxJs(module, exports, __webpack_require__) {
-1 29447 'use strict';
-1 29448 var toPosInteger = __webpack_require__('./node_modules/es5-ext/number/to-pos-integer.js'), lruQueue = __webpack_require__('./node_modules/lru-queue/index.js'), extensions = __webpack_require__('./node_modules/memoizee/lib/registered-extensions.js');
-1 29449 extensions.max = function(max, conf, options) {
-1 29450 var postfix, queue, hit;
-1 29451 max = toPosInteger(max);
-1 29452 if (!max) {
-1 29453 return;
16769 29454 }
16770 -1 var root = axe.commons.dom.getRootNode(node);
16771 -1 var matchingNodes = Array.from(root.querySelectorAll('[id="' + axe.utils.escapeSelector(id) + '"]')).filter(function(foundNode) {
16772 -1 return foundNode !== node;
-1 29455 queue = lruQueue(max);
-1 29456 postfix = options.async && extensions.async || options.promise && extensions.promise ? 'async' : '';
-1 29457 conf.on('set' + postfix, hit = function hit(id) {
-1 29458 id = queue.hit(id);
-1 29459 if (id === undefined) {
-1 29460 return;
-1 29461 }
-1 29462 conf['delete'](id);
16773 29463 });
16774 -1 if (matchingNodes.length) {
16775 -1 this.relatedNodes(matchingNodes);
-1 29464 conf.on('get' + postfix, hit);
-1 29465 conf.on('delete' + postfix, queue['delete']);
-1 29466 conf.on('clear' + postfix, queue.clear);
-1 29467 };
-1 29468 },
-1 29469 './node_modules/memoizee/ext/promise.js': function node_modulesMemoizeeExtPromiseJs(module, exports, __webpack_require__) {
-1 29470 'use strict';
-1 29471 var objectMap = __webpack_require__('./node_modules/es5-ext/object/map.js'), primitiveSet = __webpack_require__('./node_modules/es5-ext/object/primitive-set.js'), ensureString = __webpack_require__('./node_modules/es5-ext/object/validate-stringifiable-value.js'), toShortString = __webpack_require__('./node_modules/es5-ext/to-short-string-representation.js'), isPromise = __webpack_require__('./node_modules/is-promise/index.js'), nextTick = __webpack_require__('./node_modules/next-tick/index.js');
-1 29472 var create = Object.create, supportedModes = primitiveSet('then', 'then:finally', 'done', 'done:finally');
-1 29473 __webpack_require__('./node_modules/memoizee/lib/registered-extensions.js').promise = function(mode, conf) {
-1 29474 var waiting = create(null), cache = create(null), promises = create(null);
-1 29475 if (mode === true) {
-1 29476 mode = null;
-1 29477 } else {
-1 29478 mode = ensureString(mode);
-1 29479 if (!supportedModes[mode]) {
-1 29480 throw new TypeError('\'' + toShortString(mode) + '\' is not valid promise mode');
-1 29481 }
16776 29482 }
16777 -1 this.data(id);
16778 -1 return matchingNodes.length === 0;
16779 -1 },
16780 -1 after: function after(results, options) {
16781 -1 var uniqueIds = [];
16782 -1 return results.filter(function(r) {
16783 -1 if (uniqueIds.indexOf(r.data) === -1) {
16784 -1 uniqueIds.push(r.data);
16785 -1 return true;
-1 29483 conf.on('set', function(id, ignore, promise) {
-1 29484 var isFailed = false;
-1 29485 if (!isPromise(promise)) {
-1 29486 cache[id] = promise;
-1 29487 conf.emit('setasync', id, 1);
-1 29488 return;
-1 29489 }
-1 29490 waiting[id] = 1;
-1 29491 promises[id] = promise;
-1 29492 var onSuccess = function onSuccess(result) {
-1 29493 var count = waiting[id];
-1 29494 if (isFailed) {
-1 29495 throw new Error('Memoizee error: Detected unordered then|done & finally resolution, which ' + 'in turn makes proper detection of success/failure impossible (when in ' + '\'done:finally\' mode)\n' + 'Consider to rely on \'then\' or \'done\' mode instead.');
-1 29496 }
-1 29497 if (!count) {
-1 29498 return;
-1 29499 }
-1 29500 delete waiting[id];
-1 29501 cache[id] = result;
-1 29502 conf.emit('setasync', id, count);
-1 29503 };
-1 29504 var onFailure = function onFailure() {
-1 29505 isFailed = true;
-1 29506 if (!waiting[id]) {
-1 29507 return;
-1 29508 }
-1 29509 delete waiting[id];
-1 29510 delete promises[id];
-1 29511 conf['delete'](id);
-1 29512 };
-1 29513 var resolvedMode = mode;
-1 29514 if (!resolvedMode) {
-1 29515 resolvedMode = 'then';
-1 29516 }
-1 29517 if (resolvedMode === 'then') {
-1 29518 var nextTickFailure = function nextTickFailure() {
-1 29519 nextTick(onFailure);
-1 29520 };
-1 29521 promise = promise.then(function(result) {
-1 29522 nextTick(onSuccess.bind(this, result));
-1 29523 }, nextTickFailure);
-1 29524 if (typeof promise['finally'] === 'function') {
-1 29525 promise['finally'](nextTickFailure);
-1 29526 }
-1 29527 } else if (resolvedMode === 'done') {
-1 29528 if (typeof promise.done !== 'function') {
-1 29529 throw new Error('Memoizee error: Retrieved promise does not implement \'done\' ' + 'in \'done\' mode');
-1 29530 }
-1 29531 promise.done(onSuccess, onFailure);
-1 29532 } else if (resolvedMode === 'done:finally') {
-1 29533 if (typeof promise.done !== 'function') {
-1 29534 throw new Error('Memoizee error: Retrieved promise does not implement \'done\' ' + 'in \'done:finally\' mode');
-1 29535 }
-1 29536 if (typeof promise['finally'] !== 'function') {
-1 29537 throw new Error('Memoizee error: Retrieved promise does not implement \'finally\' ' + 'in \'done:finally\' mode');
-1 29538 }
-1 29539 promise.done(onSuccess);
-1 29540 promise['finally'](onFailure);
16786 29541 }
16787 -1 return false;
16788 29542 });
16789 -1 }
16790 -1 }, {
16791 -1 id: 'duplicate-id',
16792 -1 evaluate: function evaluate(node, options, virtualNode, context) {
16793 -1 var id = node.getAttribute('id').trim();
16794 -1 if (!id) {
16795 -1 return true;
16796 -1 }
16797 -1 var root = axe.commons.dom.getRootNode(node);
16798 -1 var matchingNodes = Array.from(root.querySelectorAll('[id="' + axe.utils.escapeSelector(id) + '"]')).filter(function(foundNode) {
16799 -1 return foundNode !== node;
-1 29543 conf.on('get', function(id, args, context) {
-1 29544 var promise;
-1 29545 if (waiting[id]) {
-1 29546 ++waiting[id];
-1 29547 return;
-1 29548 }
-1 29549 promise = promises[id];
-1 29550 var emit = function emit() {
-1 29551 conf.emit('getasync', id, args, context);
-1 29552 };
-1 29553 if (isPromise(promise)) {
-1 29554 if (typeof promise.done === 'function') {
-1 29555 promise.done(emit);
-1 29556 } else {
-1 29557 promise.then(function() {
-1 29558 nextTick(emit);
-1 29559 });
-1 29560 }
-1 29561 } else {
-1 29562 emit();
-1 29563 }
16800 29564 });
16801 -1 if (matchingNodes.length) {
16802 -1 this.relatedNodes(matchingNodes);
16803 -1 }
16804 -1 this.data(id);
16805 -1 return matchingNodes.length === 0;
16806 -1 },
16807 -1 after: function after(results, options) {
16808 -1 var uniqueIds = [];
16809 -1 return results.filter(function(r) {
16810 -1 if (uniqueIds.indexOf(r.data) === -1) {
16811 -1 uniqueIds.push(r.data);
16812 -1 return true;
-1 29565 conf.on('delete', function(id) {
-1 29566 delete promises[id];
-1 29567 if (waiting[id]) {
-1 29568 delete waiting[id];
-1 29569 return;
16813 29570 }
16814 -1 return false;
-1 29571 if (!hasOwnProperty.call(cache, id)) {
-1 29572 return;
-1 29573 }
-1 29574 var result = cache[id];
-1 29575 delete cache[id];
-1 29576 conf.emit('deleteasync', id, [ result ]);
16815 29577 });
16816 -1 }
16817 -1 }, {
16818 -1 id: 'aria-label',
16819 -1 evaluate: function evaluate(node, options, virtualNode, context) {
16820 -1 var _axe$commons12 = axe.commons, text = _axe$commons12.text, aria = _axe$commons12.aria;
16821 -1 return !!text.sanitize(aria.arialabelText(node));
16822 -1 }
16823 -1 }, {
16824 -1 id: 'aria-labelledby',
16825 -1 evaluate: function evaluate(node, options, virtualNode, context) {
16826 -1 var _axe$commons13 = axe.commons, text = _axe$commons13.text, aria = _axe$commons13.aria;
16827 -1 return !!text.sanitize(aria.arialabelledbyText(node));
16828 -1 }
16829 -1 }, {
16830 -1 id: 'button-has-visible-text',
16831 -1 evaluate: function evaluate(node, options, virtualNode, context) {
16832 -1 var nodeName = node.nodeName.toUpperCase();
16833 -1 var role = node.getAttribute('role');
16834 -1 var label = void 0;
16835 -1 if (nodeName === 'BUTTON' || role === 'button' && nodeName !== 'INPUT') {
16836 -1 label = axe.commons.text.accessibleTextVirtual(virtualNode);
16837 -1 this.data(label);
16838 -1 return !!label;
16839 -1 } else {
16840 -1 return false;
-1 29578 conf.on('clear', function() {
-1 29579 var oldCache = cache;
-1 29580 cache = create(null);
-1 29581 waiting = create(null);
-1 29582 promises = create(null);
-1 29583 conf.emit('clearasync', objectMap(oldCache, function(data) {
-1 29584 return [ data ];
-1 29585 }));
-1 29586 });
-1 29587 };
-1 29588 },
-1 29589 './node_modules/memoizee/ext/ref-counter.js': function node_modulesMemoizeeExtRefCounterJs(module, exports, __webpack_require__) {
-1 29590 'use strict';
-1 29591 var d = __webpack_require__('./node_modules/d/index.js'), extensions = __webpack_require__('./node_modules/memoizee/lib/registered-extensions.js'), create = Object.create, defineProperties = Object.defineProperties;
-1 29592 extensions.refCounter = function(ignore, conf, options) {
-1 29593 var cache, postfix;
-1 29594 cache = create(null);
-1 29595 postfix = options.async && extensions.async || options.promise && extensions.promise ? 'async' : '';
-1 29596 conf.on('set' + postfix, function(id, length) {
-1 29597 cache[id] = length || 1;
-1 29598 });
-1 29599 conf.on('get' + postfix, function(id) {
-1 29600 ++cache[id];
-1 29601 });
-1 29602 conf.on('delete' + postfix, function(id) {
-1 29603 delete cache[id];
-1 29604 });
-1 29605 conf.on('clear' + postfix, function() {
-1 29606 cache = {};
-1 29607 });
-1 29608 defineProperties(conf.memoized, {
-1 29609 deleteRef: d(function() {
-1 29610 var id = conf.get(arguments);
-1 29611 if (id === null) {
-1 29612 return null;
-1 29613 }
-1 29614 if (!cache[id]) {
-1 29615 return null;
-1 29616 }
-1 29617 if (!--cache[id]) {
-1 29618 conf['delete'](id);
-1 29619 return true;
-1 29620 }
-1 29621 return false;
-1 29622 }),
-1 29623 getRefCount: d(function() {
-1 29624 var id = conf.get(arguments);
-1 29625 if (id === null) {
-1 29626 return 0;
-1 29627 }
-1 29628 if (!cache[id]) {
-1 29629 return 0;
-1 29630 }
-1 29631 return cache[id];
-1 29632 })
-1 29633 });
-1 29634 };
-1 29635 },
-1 29636 './node_modules/memoizee/index.js': function node_modulesMemoizeeIndexJs(module, exports, __webpack_require__) {
-1 29637 'use strict';
-1 29638 var normalizeOpts = __webpack_require__('./node_modules/es5-ext/object/normalize-options.js'), resolveLength = __webpack_require__('./node_modules/memoizee/lib/resolve-length.js'), plain = __webpack_require__('./node_modules/memoizee/plain.js');
-1 29639 module.exports = function(fn) {
-1 29640 var options = normalizeOpts(arguments[1]), length;
-1 29641 if (!options.normalizer) {
-1 29642 length = options.length = resolveLength(options.length, fn.length, options.async);
-1 29643 if (length !== 0) {
-1 29644 if (options.primitive) {
-1 29645 if (length === false) {
-1 29646 options.normalizer = __webpack_require__('./node_modules/memoizee/normalizers/primitive.js');
-1 29647 } else if (length > 1) {
-1 29648 options.normalizer = __webpack_require__('./node_modules/memoizee/normalizers/get-primitive-fixed.js')(length);
-1 29649 }
-1 29650 } else if (length === false) {
-1 29651 options.normalizer = __webpack_require__('./node_modules/memoizee/normalizers/get.js')();
-1 29652 } else if (length === 1) {
-1 29653 options.normalizer = __webpack_require__('./node_modules/memoizee/normalizers/get-1.js')();
-1 29654 } else {
-1 29655 options.normalizer = __webpack_require__('./node_modules/memoizee/normalizers/get-fixed.js')(length);
-1 29656 }
-1 29657 }
16841 29658 }
16842 -1 }
16843 -1 }, {
16844 -1 id: 'doc-has-title',
16845 -1 evaluate: function evaluate(node, options, virtualNode, context) {
16846 -1 var title = document.title;
16847 -1 return !!(title ? axe.commons.text.sanitize(title).trim() : '');
16848 -1 }
16849 -1 }, {
16850 -1 id: 'exists',
16851 -1 evaluate: function evaluate(node, options, virtualNode, context) {
16852 -1 return true;
16853 -1 }
16854 -1 }, {
16855 -1 id: 'has-alt',
16856 -1 evaluate: function evaluate(node, options, virtualNode, context) {
16857 -1 var nn = node.nodeName.toLowerCase();
16858 -1 return node.hasAttribute('alt') && (nn === 'img' || nn === 'input' || nn === 'area');
16859 -1 }
16860 -1 }, {
16861 -1 id: 'has-visible-text',
16862 -1 evaluate: function evaluate(node, options, virtualNode, context) {
16863 -1 return axe.commons.text.accessibleTextVirtual(virtualNode).length > 0;
16864 -1 }
16865 -1 }, {
16866 -1 id: 'is-on-screen',
16867 -1 evaluate: function evaluate(node, options, virtualNode, context) {
16868 -1 return axe.commons.dom.isVisible(node, false) && !axe.commons.dom.isOffscreen(node);
16869 -1 }
16870 -1 }, {
16871 -1 id: 'non-empty-alt',
16872 -1 evaluate: function evaluate(node, options, virtualNode, context) {
16873 -1 var label = node.getAttribute('alt');
16874 -1 return !!(label ? axe.commons.text.sanitize(label).trim() : '');
16875 -1 }
16876 -1 }, {
16877 -1 id: 'non-empty-if-present',
16878 -1 evaluate: function evaluate(node, options, virtualNode, context) {
16879 -1 var nodeName = node.nodeName.toUpperCase();
16880 -1 var type = (node.getAttribute('type') || '').toLowerCase();
16881 -1 var label = node.getAttribute('value');
16882 -1 this.data(label);
16883 -1 if (nodeName === 'INPUT' && [ 'submit', 'reset' ].includes(type)) {
16884 -1 return label === null;
-1 29659 if (options.async) {
-1 29660 __webpack_require__('./node_modules/memoizee/ext/async.js');
16885 29661 }
16886 -1 return false;
16887 -1 }
16888 -1 }, {
16889 -1 id: 'non-empty-title',
16890 -1 evaluate: function evaluate(node, options, virtualNode, context) {
16891 -1 var text = axe.commons.text;
16892 -1 return !!text.sanitize(text.titleText(node));
16893 -1 }
16894 -1 }, {
16895 -1 id: 'non-empty-value',
16896 -1 evaluate: function evaluate(node, options, virtualNode, context) {
16897 -1 var label = node.getAttribute('value');
16898 -1 return !!(label ? axe.commons.text.sanitize(label).trim() : '');
16899 -1 }
16900 -1 }, {
16901 -1 id: 'role-none',
16902 -1 evaluate: function evaluate(node, options, virtualNode, context) {
16903 -1 return node.getAttribute('role') === 'none';
16904 -1 }
16905 -1 }, {
16906 -1 id: 'role-presentation',
16907 -1 evaluate: function evaluate(node, options, virtualNode, context) {
16908 -1 return node.getAttribute('role') === 'presentation';
16909 -1 }
16910 -1 }, {
16911 -1 id: 'caption-faked',
16912 -1 evaluate: function evaluate(node, options, virtualNode, context) {
16913 -1 var table = axe.commons.table.toGrid(node);
16914 -1 var firstRow = table[0];
16915 -1 if (table.length <= 1 || firstRow.length <= 1 || node.rows.length <= 1) {
16916 -1 return true;
-1 29662 if (options.promise) {
-1 29663 __webpack_require__('./node_modules/memoizee/ext/promise.js');
16917 29664 }
16918 -1 return firstRow.reduce(function(out, curr, i) {
16919 -1 return out || curr !== firstRow[i + 1] && firstRow[i + 1] !== undefined;
16920 -1 }, false);
16921 -1 }
16922 -1 }, {
16923 -1 id: 'has-caption',
16924 -1 evaluate: function evaluate(node, options, virtualNode, context) {
16925 -1 return !!node.caption;
16926 -1 }
16927 -1 }, {
16928 -1 id: 'has-summary',
16929 -1 evaluate: function evaluate(node, options, virtualNode, context) {
16930 -1 return !!node.summary;
16931 -1 }
16932 -1 }, {
16933 -1 id: 'has-th',
16934 -1 evaluate: function evaluate(node, options, virtualNode, context) {
16935 -1 var row, cell, badCells = [];
16936 -1 for (var rowIndex = 0, rowLength = node.rows.length; rowIndex < rowLength; rowIndex++) {
16937 -1 row = node.rows[rowIndex];
16938 -1 for (var cellIndex = 0, cellLength = row.cells.length; cellIndex < cellLength; cellIndex++) {
16939 -1 cell = row.cells[cellIndex];
16940 -1 if (cell.nodeName.toUpperCase() === 'TH' || [ 'rowheader', 'columnheader' ].indexOf(cell.getAttribute('role')) !== -1) {
16941 -1 badCells.push(cell);
16942 -1 }
16943 -1 }
-1 29665 if (options.dispose) {
-1 29666 __webpack_require__('./node_modules/memoizee/ext/dispose.js');
16944 29667 }
16945 -1 if (badCells.length) {
16946 -1 this.relatedNodes(badCells);
16947 -1 return true;
-1 29668 if (options.maxAge) {
-1 29669 __webpack_require__('./node_modules/memoizee/ext/max-age.js');
16948 29670 }
16949 -1 return false;
16950 -1 }
16951 -1 }, {
16952 -1 id: 'html5-scope',
16953 -1 evaluate: function evaluate(node, options, virtualNode, context) {
16954 -1 if (!axe.commons.dom.isHTML5(document)) {
16955 -1 return true;
-1 29671 if (options.max) {
-1 29672 __webpack_require__('./node_modules/memoizee/ext/max.js');
16956 29673 }
16957 -1 return node.nodeName.toUpperCase() === 'TH';
16958 -1 }
16959 -1 }, {
16960 -1 id: 'same-caption-summary',
16961 -1 evaluate: function evaluate(node, options, virtualNode, context) {
16962 -1 return !!(node.summary && node.caption) && node.summary.toLowerCase() === axe.commons.text.accessibleText(node.caption).toLowerCase();
16963 -1 }
16964 -1 }, {
16965 -1 id: 'scope-value',
16966 -1 evaluate: function evaluate(node, options, virtualNode, context) {
16967 -1 options = options || {};
16968 -1 var value = node.getAttribute('scope').toLowerCase();
16969 -1 var validVals = [ 'row', 'col', 'rowgroup', 'colgroup' ] || options.values;
16970 -1 return validVals.indexOf(value) !== -1;
16971 -1 }
16972 -1 }, {
16973 -1 id: 'td-has-header',
16974 -1 evaluate: function evaluate(node, options, virtualNode, context) {
16975 -1 var tableUtils = axe.commons.table;
16976 -1 var badCells = [];
16977 -1 var cells = tableUtils.getAllCells(node);
16978 -1 cells.forEach(function(cell) {
16979 -1 if (axe.commons.dom.hasContent(cell) && tableUtils.isDataCell(cell) && !axe.commons.aria.label(cell)) {
16980 -1 var hasHeaders = tableUtils.getHeaders(cell).some(function(header) {
16981 -1 return header !== null && !!axe.commons.dom.hasContent(header);
16982 -1 });
16983 -1 if (!hasHeaders) {
16984 -1 badCells.push(cell);
-1 29674 if (options.refCounter) {
-1 29675 __webpack_require__('./node_modules/memoizee/ext/ref-counter.js');
-1 29676 }
-1 29677 return plain(fn, options);
-1 29678 };
-1 29679 },
-1 29680 './node_modules/memoizee/lib/configure-map.js': function node_modulesMemoizeeLibConfigureMapJs(module, exports, __webpack_require__) {
-1 29681 'use strict';
-1 29682 var customError = __webpack_require__('./node_modules/es5-ext/error/custom.js'), defineLength = __webpack_require__('./node_modules/es5-ext/function/_define-length.js'), d = __webpack_require__('./node_modules/d/index.js'), ee = __webpack_require__('./node_modules/event-emitter/index.js').methods, resolveResolve = __webpack_require__('./node_modules/memoizee/lib/resolve-resolve.js'), resolveNormalize = __webpack_require__('./node_modules/memoizee/lib/resolve-normalize.js');
-1 29683 var apply = Function.prototype.apply, call = Function.prototype.call, create = Object.create, defineProperties = Object.defineProperties, _on = ee.on, emit = ee.emit;
-1 29684 module.exports = function(original, length, options) {
-1 29685 var cache = create(null), conf, memLength, _get, set, del, _clear, extDel, extGet, extHas, normalizer, getListeners, setListeners, deleteListeners, memoized, resolve;
-1 29686 if (length !== false) {
-1 29687 memLength = length;
-1 29688 } else if (isNaN(original.length)) {
-1 29689 memLength = 1;
-1 29690 } else {
-1 29691 memLength = original.length;
-1 29692 }
-1 29693 if (options.normalizer) {
-1 29694 normalizer = resolveNormalize(options.normalizer);
-1 29695 _get = normalizer.get;
-1 29696 set = normalizer.set;
-1 29697 del = normalizer['delete'];
-1 29698 _clear = normalizer.clear;
-1 29699 }
-1 29700 if (options.resolvers != null) {
-1 29701 resolve = resolveResolve(options.resolvers);
-1 29702 }
-1 29703 if (_get) {
-1 29704 memoized = defineLength(function(arg) {
-1 29705 var id, result, args = arguments;
-1 29706 if (resolve) {
-1 29707 args = resolve(args);
-1 29708 }
-1 29709 id = _get(args);
-1 29710 if (id !== null) {
-1 29711 if (hasOwnProperty.call(cache, id)) {
-1 29712 if (getListeners) {
-1 29713 conf.emit('get', id, args, this);
-1 29714 }
-1 29715 return cache[id];
-1 29716 }
-1 29717 }
-1 29718 if (args.length === 1) {
-1 29719 result = call.call(original, this, args[0]);
-1 29720 } else {
-1 29721 result = apply.call(original, this, args);
-1 29722 }
-1 29723 if (id === null) {
-1 29724 id = _get(args);
-1 29725 if (id !== null) {
-1 29726 throw customError('Circular invocation', 'CIRCULAR_INVOCATION');
-1 29727 }
-1 29728 id = set(args);
-1 29729 } else if (hasOwnProperty.call(cache, id)) {
-1 29730 throw customError('Circular invocation', 'CIRCULAR_INVOCATION');
-1 29731 }
-1 29732 cache[id] = result;
-1 29733 if (setListeners) {
-1 29734 conf.emit('set', id, null, result);
-1 29735 }
-1 29736 return result;
-1 29737 }, memLength);
-1 29738 } else if (length === 0) {
-1 29739 memoized = function memoized() {
-1 29740 var result;
-1 29741 if (hasOwnProperty.call(cache, 'data')) {
-1 29742 if (getListeners) {
-1 29743 conf.emit('get', 'data', arguments, this);
-1 29744 }
-1 29745 return cache.data;
-1 29746 }
-1 29747 if (arguments.length) {
-1 29748 result = apply.call(original, this, arguments);
-1 29749 } else {
-1 29750 result = call.call(original, this);
-1 29751 }
-1 29752 if (hasOwnProperty.call(cache, 'data')) {
-1 29753 throw customError('Circular invocation', 'CIRCULAR_INVOCATION');
-1 29754 }
-1 29755 cache.data = result;
-1 29756 if (setListeners) {
-1 29757 conf.emit('set', 'data', null, result);
-1 29758 }
-1 29759 return result;
-1 29760 };
-1 29761 } else {
-1 29762 memoized = function memoized(arg) {
-1 29763 var result, args = arguments, id;
-1 29764 if (resolve) {
-1 29765 args = resolve(arguments);
-1 29766 }
-1 29767 id = String(args[0]);
-1 29768 if (hasOwnProperty.call(cache, id)) {
-1 29769 if (getListeners) {
-1 29770 conf.emit('get', id, args, this);
-1 29771 }
-1 29772 return cache[id];
-1 29773 }
-1 29774 if (args.length === 1) {
-1 29775 result = call.call(original, this, args[0]);
-1 29776 } else {
-1 29777 result = apply.call(original, this, args);
-1 29778 }
-1 29779 if (hasOwnProperty.call(cache, id)) {
-1 29780 throw customError('Circular invocation', 'CIRCULAR_INVOCATION');
-1 29781 }
-1 29782 cache[id] = result;
-1 29783 if (setListeners) {
-1 29784 conf.emit('set', id, null, result);
-1 29785 }
-1 29786 return result;
-1 29787 };
-1 29788 }
-1 29789 conf = {
-1 29790 original: original,
-1 29791 memoized: memoized,
-1 29792 profileName: options.profileName,
-1 29793 get: function get(args) {
-1 29794 if (resolve) {
-1 29795 args = resolve(args);
-1 29796 }
-1 29797 if (_get) {
-1 29798 return _get(args);
-1 29799 }
-1 29800 return String(args[0]);
-1 29801 },
-1 29802 has: function has(id) {
-1 29803 return hasOwnProperty.call(cache, id);
-1 29804 },
-1 29805 delete: function _delete(id) {
-1 29806 var result;
-1 29807 if (!hasOwnProperty.call(cache, id)) {
-1 29808 return;
-1 29809 }
-1 29810 if (del) {
-1 29811 del(id);
16985 29812 }
-1 29813 result = cache[id];
-1 29814 delete cache[id];
-1 29815 if (deleteListeners) {
-1 29816 conf.emit('delete', id, result);
-1 29817 }
-1 29818 },
-1 29819 clear: function clear() {
-1 29820 var oldCache = cache;
-1 29821 if (_clear) {
-1 29822 _clear();
-1 29823 }
-1 29824 cache = create(null);
-1 29825 conf.emit('clear', oldCache);
-1 29826 },
-1 29827 on: function on(type, listener) {
-1 29828 if (type === 'get') {
-1 29829 getListeners = true;
-1 29830 } else if (type === 'set') {
-1 29831 setListeners = true;
-1 29832 } else if (type === 'delete') {
-1 29833 deleteListeners = true;
-1 29834 }
-1 29835 return _on.call(this, type, listener);
-1 29836 },
-1 29837 emit: emit,
-1 29838 updateEnv: function updateEnv() {
-1 29839 original = conf.original;
-1 29840 }
-1 29841 };
-1 29842 if (_get) {
-1 29843 extDel = defineLength(function(arg) {
-1 29844 var id, args = arguments;
-1 29845 if (resolve) {
-1 29846 args = resolve(args);
-1 29847 }
-1 29848 id = _get(args);
-1 29849 if (id === null) {
-1 29850 return;
-1 29851 }
-1 29852 conf['delete'](id);
-1 29853 }, memLength);
-1 29854 } else if (length === 0) {
-1 29855 extDel = function extDel() {
-1 29856 return conf['delete']('data');
-1 29857 };
-1 29858 } else {
-1 29859 extDel = function extDel(arg) {
-1 29860 if (resolve) {
-1 29861 arg = resolve(arguments)[0];
-1 29862 }
-1 29863 return conf['delete'](arg);
-1 29864 };
-1 29865 }
-1 29866 extGet = defineLength(function() {
-1 29867 var id, args = arguments;
-1 29868 if (length === 0) {
-1 29869 return cache.data;
-1 29870 }
-1 29871 if (resolve) {
-1 29872 args = resolve(args);
16986 29873 }
-1 29874 if (_get) {
-1 29875 id = _get(args);
-1 29876 } else {
-1 29877 id = String(args[0]);
-1 29878 }
-1 29879 return cache[id];
16987 29880 });
16988 -1 if (badCells.length) {
16989 -1 this.relatedNodes(badCells);
-1 29881 extHas = defineLength(function() {
-1 29882 var id, args = arguments;
-1 29883 if (length === 0) {
-1 29884 return conf.has('data');
-1 29885 }
-1 29886 if (resolve) {
-1 29887 args = resolve(args);
-1 29888 }
-1 29889 if (_get) {
-1 29890 id = _get(args);
-1 29891 } else {
-1 29892 id = String(args[0]);
-1 29893 }
-1 29894 if (id === null) {
-1 29895 return false;
-1 29896 }
-1 29897 return conf.has(id);
-1 29898 });
-1 29899 defineProperties(memoized, {
-1 29900 __memoized__: d(true),
-1 29901 delete: d(extDel),
-1 29902 clear: d(conf.clear),
-1 29903 _get: d(extGet),
-1 29904 _has: d(extHas)
-1 29905 });
-1 29906 return conf;
-1 29907 };
-1 29908 },
-1 29909 './node_modules/memoizee/lib/registered-extensions.js': function node_modulesMemoizeeLibRegisteredExtensionsJs(module, exports, __webpack_require__) {
-1 29910 'use strict';
-1 29911 },
-1 29912 './node_modules/memoizee/lib/resolve-length.js': function node_modulesMemoizeeLibResolveLengthJs(module, exports, __webpack_require__) {
-1 29913 'use strict';
-1 29914 var toPosInt = __webpack_require__('./node_modules/es5-ext/number/to-pos-integer.js');
-1 29915 module.exports = function(optsLength, fnLength, isAsync) {
-1 29916 var length;
-1 29917 if (isNaN(optsLength)) {
-1 29918 length = fnLength;
-1 29919 if (!(length >= 0)) {
-1 29920 return 1;
-1 29921 }
-1 29922 if (isAsync && length) {
-1 29923 return length - 1;
-1 29924 }
-1 29925 return length;
-1 29926 }
-1 29927 if (optsLength === false) {
16990 29928 return false;
16991 29929 }
16992 -1 return true;
16993 -1 }
16994 -1 }, {
16995 -1 id: 'td-headers-attr',
16996 -1 evaluate: function evaluate(node, options, virtualNode, context) {
16997 -1 var cells = [];
16998 -1 for (var rowIndex = 0, rowLength = node.rows.length; rowIndex < rowLength; rowIndex++) {
16999 -1 var row = node.rows[rowIndex];
17000 -1 for (var cellIndex = 0, cellLength = row.cells.length; cellIndex < cellLength; cellIndex++) {
17001 -1 cells.push(row.cells[cellIndex]);
-1 29930 return toPosInt(optsLength);
-1 29931 };
-1 29932 },
-1 29933 './node_modules/memoizee/lib/resolve-normalize.js': function node_modulesMemoizeeLibResolveNormalizeJs(module, exports, __webpack_require__) {
-1 29934 'use strict';
-1 29935 var callable = __webpack_require__('./node_modules/es5-ext/object/valid-callable.js');
-1 29936 module.exports = function(userNormalizer) {
-1 29937 var normalizer;
-1 29938 if (typeof userNormalizer === 'function') {
-1 29939 return {
-1 29940 set: userNormalizer,
-1 29941 get: userNormalizer
-1 29942 };
-1 29943 }
-1 29944 normalizer = {
-1 29945 get: callable(userNormalizer.get)
-1 29946 };
-1 29947 if (userNormalizer.set !== undefined) {
-1 29948 normalizer.set = callable(userNormalizer.set);
-1 29949 if (userNormalizer['delete']) {
-1 29950 normalizer['delete'] = callable(userNormalizer['delete']);
-1 29951 }
-1 29952 if (userNormalizer.clear) {
-1 29953 normalizer.clear = callable(userNormalizer.clear);
17002 29954 }
-1 29955 return normalizer;
17003 29956 }
17004 -1 var ids = cells.reduce(function(ids, cell) {
17005 -1 if (cell.getAttribute('id')) {
17006 -1 ids.push(cell.getAttribute('id'));
-1 29957 normalizer.set = normalizer.get;
-1 29958 return normalizer;
-1 29959 };
-1 29960 },
-1 29961 './node_modules/memoizee/lib/resolve-resolve.js': function node_modulesMemoizeeLibResolveResolveJs(module, exports, __webpack_require__) {
-1 29962 'use strict';
-1 29963 var toArray = __webpack_require__('./node_modules/es5-ext/array/to-array.js'), isValue = __webpack_require__('./node_modules/es5-ext/object/is-value.js'), callable = __webpack_require__('./node_modules/es5-ext/object/valid-callable.js');
-1 29964 var slice = Array.prototype.slice, resolveArgs;
-1 29965 resolveArgs = function resolveArgs(args) {
-1 29966 return this.map(function(resolve, i) {
-1 29967 return resolve ? resolve(args[i]) : args[i];
-1 29968 }).concat(slice.call(args, this.length));
-1 29969 };
-1 29970 module.exports = function(resolvers) {
-1 29971 resolvers = toArray(resolvers);
-1 29972 resolvers.forEach(function(resolve) {
-1 29973 if (isValue(resolve)) {
-1 29974 callable(resolve);
17007 29975 }
17008 -1 return ids;
17009 -1 }, []);
17010 -1 var badCells = cells.reduce(function(badCells, cell) {
17011 -1 var isSelf, notOfTable;
17012 -1 var headers = (cell.getAttribute('headers') || '').split(/\s/).reduce(function(headers, header) {
17013 -1 header = header.trim();
17014 -1 if (header) {
17015 -1 headers.push(header);
-1 29976 });
-1 29977 return resolveArgs.bind(resolvers);
-1 29978 };
-1 29979 },
-1 29980 './node_modules/memoizee/normalizers/get-1.js': function node_modulesMemoizeeNormalizersGet1Js(module, exports, __webpack_require__) {
-1 29981 'use strict';
-1 29982 var indexOf = __webpack_require__('./node_modules/es5-ext/array/#/e-index-of.js');
-1 29983 module.exports = function() {
-1 29984 var lastId = 0, argsMap = [], cache = [];
-1 29985 return {
-1 29986 get: function get(args) {
-1 29987 var index = indexOf.call(argsMap, args[0]);
-1 29988 return index === -1 ? null : cache[index];
-1 29989 },
-1 29990 set: function set(args) {
-1 29991 argsMap.push(args[0]);
-1 29992 cache.push(++lastId);
-1 29993 return lastId;
-1 29994 },
-1 29995 delete: function _delete(id) {
-1 29996 var index = indexOf.call(cache, id);
-1 29997 if (index !== -1) {
-1 29998 argsMap.splice(index, 1);
-1 29999 cache.splice(index, 1);
17016 30000 }
17017 -1 return headers;
17018 -1 }, []);
17019 -1 if (headers.length !== 0) {
17020 -1 if (cell.getAttribute('id')) {
17021 -1 isSelf = headers.indexOf(cell.getAttribute('id').trim()) !== -1;
-1 30001 },
-1 30002 clear: function clear() {
-1 30003 argsMap = [];
-1 30004 cache = [];
-1 30005 }
-1 30006 };
-1 30007 };
-1 30008 },
-1 30009 './node_modules/memoizee/normalizers/get-fixed.js': function node_modulesMemoizeeNormalizersGetFixedJs(module, exports, __webpack_require__) {
-1 30010 'use strict';
-1 30011 var indexOf = __webpack_require__('./node_modules/es5-ext/array/#/e-index-of.js'), create = Object.create;
-1 30012 module.exports = function(length) {
-1 30013 var lastId = 0, map = [ [], [] ], cache = create(null);
-1 30014 return {
-1 30015 get: function get(args) {
-1 30016 var index = 0, set = map, i;
-1 30017 while (index < length - 1) {
-1 30018 i = indexOf.call(set[0], args[index]);
-1 30019 if (i === -1) {
-1 30020 return null;
-1 30021 }
-1 30022 set = set[1][i];
-1 30023 ++index;
17022 30024 }
17023 -1 notOfTable = headers.reduce(function(fail, header) {
17024 -1 return fail || ids.indexOf(header) === -1;
17025 -1 }, false);
17026 -1 if (isSelf || notOfTable) {
17027 -1 badCells.push(cell);
-1 30025 i = indexOf.call(set[0], args[index]);
-1 30026 if (i === -1) {
-1 30027 return null;
-1 30028 }
-1 30029 return set[1][i] || null;
-1 30030 },
-1 30031 set: function set(args) {
-1 30032 var index = 0, set = map, i;
-1 30033 while (index < length - 1) {
-1 30034 i = indexOf.call(set[0], args[index]);
-1 30035 if (i === -1) {
-1 30036 i = set[0].push(args[index]) - 1;
-1 30037 set[1].push([ [], [] ]);
-1 30038 }
-1 30039 set = set[1][i];
-1 30040 ++index;
-1 30041 }
-1 30042 i = indexOf.call(set[0], args[index]);
-1 30043 if (i === -1) {
-1 30044 i = set[0].push(args[index]) - 1;
-1 30045 }
-1 30046 set[1][i] = ++lastId;
-1 30047 cache[lastId] = args;
-1 30048 return lastId;
-1 30049 },
-1 30050 delete: function _delete(id) {
-1 30051 var index = 0, set = map, i, path = [], args = cache[id];
-1 30052 while (index < length - 1) {
-1 30053 i = indexOf.call(set[0], args[index]);
-1 30054 if (i === -1) {
-1 30055 return;
-1 30056 }
-1 30057 path.push(set, i);
-1 30058 set = set[1][i];
-1 30059 ++index;
17028 30060 }
-1 30061 i = indexOf.call(set[0], args[index]);
-1 30062 if (i === -1) {
-1 30063 return;
-1 30064 }
-1 30065 id = set[1][i];
-1 30066 set[0].splice(i, 1);
-1 30067 set[1].splice(i, 1);
-1 30068 while (!set[0].length && path.length) {
-1 30069 i = path.pop();
-1 30070 set = path.pop();
-1 30071 set[0].splice(i, 1);
-1 30072 set[1].splice(i, 1);
-1 30073 }
-1 30074 delete cache[id];
-1 30075 },
-1 30076 clear: function clear() {
-1 30077 map = [ [], [] ];
-1 30078 cache = create(null);
17029 30079 }
17030 -1 return badCells;
17031 -1 }, []);
17032 -1 if (badCells.length > 0) {
17033 -1 this.relatedNodes(badCells);
17034 -1 return false;
17035 -1 } else {
17036 -1 return true;
-1 30080 };
-1 30081 };
-1 30082 },
-1 30083 './node_modules/memoizee/normalizers/get-primitive-fixed.js': function node_modulesMemoizeeNormalizersGetPrimitiveFixedJs(module, exports, __webpack_require__) {
-1 30084 'use strict';
-1 30085 module.exports = function(length) {
-1 30086 if (!length) {
-1 30087 return function() {
-1 30088 return '';
-1 30089 };
17037 30090 }
17038 -1 }
17039 -1 }, {
17040 -1 id: 'th-has-data-cells',
17041 -1 evaluate: function evaluate(node, options, virtualNode, context) {
17042 -1 var tableUtils = axe.commons.table;
17043 -1 var cells = tableUtils.getAllCells(node);
17044 -1 var checkResult = this;
17045 -1 var reffedHeaders = [];
17046 -1 cells.forEach(function(cell) {
17047 -1 var headers = cell.getAttribute('headers');
17048 -1 if (headers) {
17049 -1 reffedHeaders = reffedHeaders.concat(headers.split(/\s+/));
-1 30091 return function(args) {
-1 30092 var id = String(args[0]), i = 0, currentLength = length;
-1 30093 while (--currentLength) {
-1 30094 id += '\x01' + args[++i];
17050 30095 }
17051 -1 var ariaLabel = cell.getAttribute('aria-labelledby');
17052 -1 if (ariaLabel) {
17053 -1 reffedHeaders = reffedHeaders.concat(ariaLabel.split(/\s+/));
-1 30096 return id;
-1 30097 };
-1 30098 };
-1 30099 },
-1 30100 './node_modules/memoizee/normalizers/get.js': function node_modulesMemoizeeNormalizersGetJs(module, exports, __webpack_require__) {
-1 30101 'use strict';
-1 30102 var indexOf = __webpack_require__('./node_modules/es5-ext/array/#/e-index-of.js');
-1 30103 var create = Object.create;
-1 30104 module.exports = function() {
-1 30105 var lastId = 0, map = [], cache = create(null);
-1 30106 return {
-1 30107 get: function get(args) {
-1 30108 var index = 0, set = map, i, length = args.length;
-1 30109 if (length === 0) {
-1 30110 return set[length] || null;
-1 30111 }
-1 30112 if (set = set[length]) {
-1 30113 while (index < length - 1) {
-1 30114 i = indexOf.call(set[0], args[index]);
-1 30115 if (i === -1) {
-1 30116 return null;
-1 30117 }
-1 30118 set = set[1][i];
-1 30119 ++index;
-1 30120 }
-1 30121 i = indexOf.call(set[0], args[index]);
-1 30122 if (i === -1) {
-1 30123 return null;
-1 30124 }
-1 30125 return set[1][i] || null;
-1 30126 }
-1 30127 return null;
-1 30128 },
-1 30129 set: function set(args) {
-1 30130 var index = 0, set = map, i, length = args.length;
-1 30131 if (length === 0) {
-1 30132 set[length] = ++lastId;
-1 30133 } else {
-1 30134 if (!set[length]) {
-1 30135 set[length] = [ [], [] ];
-1 30136 }
-1 30137 set = set[length];
-1 30138 while (index < length - 1) {
-1 30139 i = indexOf.call(set[0], args[index]);
-1 30140 if (i === -1) {
-1 30141 i = set[0].push(args[index]) - 1;
-1 30142 set[1].push([ [], [] ]);
-1 30143 }
-1 30144 set = set[1][i];
-1 30145 ++index;
-1 30146 }
-1 30147 i = indexOf.call(set[0], args[index]);
-1 30148 if (i === -1) {
-1 30149 i = set[0].push(args[index]) - 1;
-1 30150 }
-1 30151 set[1][i] = ++lastId;
-1 30152 }
-1 30153 cache[lastId] = args;
-1 30154 return lastId;
-1 30155 },
-1 30156 delete: function _delete(id) {
-1 30157 var index = 0, set = map, i, args = cache[id], length = args.length, path = [];
-1 30158 if (length === 0) {
-1 30159 delete set[length];
-1 30160 } else if (set = set[length]) {
-1 30161 while (index < length - 1) {
-1 30162 i = indexOf.call(set[0], args[index]);
-1 30163 if (i === -1) {
-1 30164 return;
-1 30165 }
-1 30166 path.push(set, i);
-1 30167 set = set[1][i];
-1 30168 ++index;
-1 30169 }
-1 30170 i = indexOf.call(set[0], args[index]);
-1 30171 if (i === -1) {
-1 30172 return;
-1 30173 }
-1 30174 id = set[1][i];
-1 30175 set[0].splice(i, 1);
-1 30176 set[1].splice(i, 1);
-1 30177 while (!set[0].length && path.length) {
-1 30178 i = path.pop();
-1 30179 set = path.pop();
-1 30180 set[0].splice(i, 1);
-1 30181 set[1].splice(i, 1);
-1 30182 }
-1 30183 }
-1 30184 delete cache[id];
-1 30185 },
-1 30186 clear: function clear() {
-1 30187 map = [];
-1 30188 cache = create(null);
17054 30189 }
17055 -1 });
17056 -1 var headers = cells.filter(function(cell) {
17057 -1 if (axe.commons.text.sanitize(cell.textContent) === '') {
17058 -1 return false;
-1 30190 };
-1 30191 };
-1 30192 },
-1 30193 './node_modules/memoizee/normalizers/primitive.js': function node_modulesMemoizeeNormalizersPrimitiveJs(module, exports, __webpack_require__) {
-1 30194 'use strict';
-1 30195 module.exports = function(args) {
-1 30196 var id, i, length = args.length;
-1 30197 if (!length) {
-1 30198 return '\x02';
-1 30199 }
-1 30200 id = String(args[i = 0]);
-1 30201 while (--length) {
-1 30202 id += '\x01' + args[++i];
-1 30203 }
-1 30204 return id;
-1 30205 };
-1 30206 },
-1 30207 './node_modules/memoizee/plain.js': function node_modulesMemoizeePlainJs(module, exports, __webpack_require__) {
-1 30208 'use strict';
-1 30209 var callable = __webpack_require__('./node_modules/es5-ext/object/valid-callable.js'), forEach = __webpack_require__('./node_modules/es5-ext/object/for-each.js'), extensions = __webpack_require__('./node_modules/memoizee/lib/registered-extensions.js'), configure = __webpack_require__('./node_modules/memoizee/lib/configure-map.js'), resolveLength = __webpack_require__('./node_modules/memoizee/lib/resolve-length.js');
-1 30210 module.exports = function self(fn) {
-1 30211 var options, length, conf;
-1 30212 callable(fn);
-1 30213 options = Object(arguments[1]);
-1 30214 if (options.async && options.promise) {
-1 30215 throw new Error('Options \'async\' and \'promise\' cannot be used together');
-1 30216 }
-1 30217 if (hasOwnProperty.call(fn, '__memoized__') && !options.force) {
-1 30218 return fn;
-1 30219 }
-1 30220 length = resolveLength(options.length, fn.length, options.async && extensions.async);
-1 30221 conf = configure(fn, length, options);
-1 30222 forEach(extensions, function(extFn, name) {
-1 30223 if (options[name]) {
-1 30224 extFn(options[name], conf, options);
17059 30225 }
17060 -1 return cell.nodeName.toUpperCase() === 'TH' || [ 'rowheader', 'columnheader' ].indexOf(cell.getAttribute('role')) !== -1;
17061 30226 });
17062 -1 var tableGrid = tableUtils.toGrid(node);
17063 -1 var out = headers.reduce(function(res, header) {
17064 -1 if (header.getAttribute('id') && reffedHeaders.includes(header.getAttribute('id'))) {
17065 -1 return !res ? res : true;
-1 30227 if (self.__profiler__) {
-1 30228 self.__profiler__(conf);
-1 30229 }
-1 30230 conf.updateEnv();
-1 30231 return conf.memoized;
-1 30232 };
-1 30233 },
-1 30234 './node_modules/next-tick/index.js': function node_modulesNextTickIndexJs(module, exports, __webpack_require__) {
-1 30235 'use strict';
-1 30236 (function(process, setImmediate) {
-1 30237 var callable, byObserver;
-1 30238 callable = function callable(fn) {
-1 30239 if (typeof fn !== 'function') {
-1 30240 throw new TypeError(fn + ' is not a function');
17066 30241 }
17067 -1 var hasCell = false;
17068 -1 var pos = tableUtils.getCellPosition(header, tableGrid);
17069 -1 if (tableUtils.isColumnHeader(header)) {
17070 -1 hasCell = tableUtils.traverse('down', pos, tableGrid).reduce(function(out, cell) {
17071 -1 return out || axe.commons.dom.hasContent(cell) && !tableUtils.isColumnHeader(cell);
17072 -1 }, false);
-1 30242 return fn;
-1 30243 };
-1 30244 byObserver = function byObserver(Observer) {
-1 30245 var node = document.createTextNode(''), queue, currentQueue, i = 0;
-1 30246 new Observer(function() {
-1 30247 var callback;
-1 30248 if (!queue) {
-1 30249 if (!currentQueue) {
-1 30250 return;
-1 30251 }
-1 30252 queue = currentQueue;
-1 30253 } else if (currentQueue) {
-1 30254 queue = currentQueue.concat(queue);
-1 30255 }
-1 30256 currentQueue = queue;
-1 30257 queue = null;
-1 30258 if (typeof currentQueue === 'function') {
-1 30259 callback = currentQueue;
-1 30260 currentQueue = null;
-1 30261 callback();
-1 30262 return;
-1 30263 }
-1 30264 node.data = i = ++i % 2;
-1 30265 while (currentQueue) {
-1 30266 callback = currentQueue.shift();
-1 30267 if (!currentQueue.length) {
-1 30268 currentQueue = null;
-1 30269 }
-1 30270 callback();
-1 30271 }
-1 30272 }).observe(node, {
-1 30273 characterData: true
-1 30274 });
-1 30275 return function(fn) {
-1 30276 callable(fn);
-1 30277 if (queue) {
-1 30278 if (typeof queue === 'function') {
-1 30279 queue = [ queue, fn ];
-1 30280 } else {
-1 30281 queue.push(fn);
-1 30282 }
-1 30283 return;
-1 30284 }
-1 30285 queue = fn;
-1 30286 node.data = i = ++i % 2;
-1 30287 };
-1 30288 };
-1 30289 module.exports = function() {
-1 30290 if (_typeof(process) === 'object' && process && typeof process.nextTick === 'function') {
-1 30291 return process.nextTick;
17073 30292 }
17074 -1 if (!hasCell && tableUtils.isRowHeader(header)) {
17075 -1 hasCell = tableUtils.traverse('right', pos, tableGrid).reduce(function(out, cell) {
17076 -1 return out || axe.commons.dom.hasContent(cell) && !tableUtils.isRowHeader(cell);
17077 -1 }, false);
-1 30293 if ((typeof document === 'undefined' ? 'undefined' : _typeof(document)) === 'object' && document) {
-1 30294 if (typeof MutationObserver === 'function') {
-1 30295 return byObserver(MutationObserver);
-1 30296 }
-1 30297 if (typeof WebKitMutationObserver === 'function') {
-1 30298 return byObserver(WebKitMutationObserver);
-1 30299 }
17078 30300 }
17079 -1 if (!hasCell) {
17080 -1 checkResult.relatedNodes(header);
-1 30301 if (typeof setImmediate === 'function') {
-1 30302 return function(cb) {
-1 30303 setImmediate(callable(cb));
-1 30304 };
-1 30305 }
-1 30306 if (typeof setTimeout === 'function' || (typeof setTimeout === 'undefined' ? 'undefined' : _typeof(setTimeout)) === 'object') {
-1 30307 return function(cb) {
-1 30308 setTimeout(callable(cb), 0);
-1 30309 };
-1 30310 }
-1 30311 return null;
-1 30312 }();
-1 30313 }).call(this, __webpack_require__('./node_modules/process/browser.js'), __webpack_require__('./node_modules/node-libs-browser/node_modules/timers-browserify/main.js').setImmediate);
-1 30314 },
-1 30315 './node_modules/node-libs-browser/node_modules/timers-browserify/main.js': function node_modulesNodeLibsBrowserNode_modulesTimersBrowserifyMainJs(module, exports, __webpack_require__) {
-1 30316 (function(global) {
-1 30317 var scope = typeof global !== 'undefined' && global || typeof self !== 'undefined' && self || window;
-1 30318 var apply = Function.prototype.apply;
-1 30319 exports.setTimeout = function() {
-1 30320 return new Timeout(apply.call(setTimeout, scope, arguments), clearTimeout);
-1 30321 };
-1 30322 exports.setInterval = function() {
-1 30323 return new Timeout(apply.call(setInterval, scope, arguments), clearInterval);
-1 30324 };
-1 30325 exports.clearTimeout = exports.clearInterval = function(timeout) {
-1 30326 if (timeout) {
-1 30327 timeout.close();
-1 30328 }
-1 30329 };
-1 30330 function Timeout(id, clearFn) {
-1 30331 this._id = id;
-1 30332 this._clearFn = clearFn;
-1 30333 }
-1 30334 Timeout.prototype.unref = Timeout.prototype.ref = function() {};
-1 30335 Timeout.prototype.close = function() {
-1 30336 this._clearFn.call(scope, this._id);
-1 30337 };
-1 30338 exports.enroll = function(item, msecs) {
-1 30339 clearTimeout(item._idleTimeoutId);
-1 30340 item._idleTimeout = msecs;
-1 30341 };
-1 30342 exports.unenroll = function(item) {
-1 30343 clearTimeout(item._idleTimeoutId);
-1 30344 item._idleTimeout = -1;
-1 30345 };
-1 30346 exports._unrefActive = exports.active = function(item) {
-1 30347 clearTimeout(item._idleTimeoutId);
-1 30348 var msecs = item._idleTimeout;
-1 30349 if (msecs >= 0) {
-1 30350 item._idleTimeoutId = setTimeout(function onTimeout() {
-1 30351 if (item._onTimeout) {
-1 30352 item._onTimeout();
-1 30353 }
-1 30354 }, msecs);
-1 30355 }
-1 30356 };
-1 30357 __webpack_require__('./node_modules/setimmediate/setImmediate.js');
-1 30358 exports.setImmediate = typeof self !== 'undefined' && self.setImmediate || typeof global !== 'undefined' && global.setImmediate || this && this.setImmediate;
-1 30359 exports.clearImmediate = typeof self !== 'undefined' && self.clearImmediate || typeof global !== 'undefined' && global.clearImmediate || this && this.clearImmediate;
-1 30360 }).call(this, __webpack_require__('./node_modules/webpack/buildin/global.js'));
-1 30361 },
-1 30362 './node_modules/process/browser.js': function node_modulesProcessBrowserJs(module, exports) {
-1 30363 var process = module.exports = {};
-1 30364 var cachedSetTimeout;
-1 30365 var cachedClearTimeout;
-1 30366 function defaultSetTimout() {
-1 30367 throw new Error('setTimeout has not been defined');
-1 30368 }
-1 30369 function defaultClearTimeout() {
-1 30370 throw new Error('clearTimeout has not been defined');
-1 30371 }
-1 30372 (function() {
-1 30373 try {
-1 30374 if (typeof setTimeout === 'function') {
-1 30375 cachedSetTimeout = setTimeout;
-1 30376 } else {
-1 30377 cachedSetTimeout = defaultSetTimout;
-1 30378 }
-1 30379 } catch (e) {
-1 30380 cachedSetTimeout = defaultSetTimout;
-1 30381 }
-1 30382 try {
-1 30383 if (typeof clearTimeout === 'function') {
-1 30384 cachedClearTimeout = clearTimeout;
-1 30385 } else {
-1 30386 cachedClearTimeout = defaultClearTimeout;
-1 30387 }
-1 30388 } catch (e) {
-1 30389 cachedClearTimeout = defaultClearTimeout;
-1 30390 }
-1 30391 })();
-1 30392 function runTimeout(fun) {
-1 30393 if (cachedSetTimeout === setTimeout) {
-1 30394 return setTimeout(fun, 0);
-1 30395 }
-1 30396 if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {
-1 30397 cachedSetTimeout = setTimeout;
-1 30398 return setTimeout(fun, 0);
-1 30399 }
-1 30400 try {
-1 30401 return cachedSetTimeout(fun, 0);
-1 30402 } catch (e) {
-1 30403 try {
-1 30404 return cachedSetTimeout.call(null, fun, 0);
-1 30405 } catch (e) {
-1 30406 return cachedSetTimeout.call(this, fun, 0);
-1 30407 }
-1 30408 }
-1 30409 }
-1 30410 function runClearTimeout(marker) {
-1 30411 if (cachedClearTimeout === clearTimeout) {
-1 30412 return clearTimeout(marker);
-1 30413 }
-1 30414 if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {
-1 30415 cachedClearTimeout = clearTimeout;
-1 30416 return clearTimeout(marker);
-1 30417 }
-1 30418 try {
-1 30419 return cachedClearTimeout(marker);
-1 30420 } catch (e) {
-1 30421 try {
-1 30422 return cachedClearTimeout.call(null, marker);
-1 30423 } catch (e) {
-1 30424 return cachedClearTimeout.call(this, marker);
17081 30425 }
17082 -1 return res && hasCell;
17083 -1 }, true);
17084 -1 return out ? true : undefined;
-1 30426 }
17085 30427 }
17086 -1 }, {
17087 -1 id: 'hidden-content',
17088 -1 evaluate: function evaluate(node, options, virtualNode, context) {
17089 -1 var whitelist = [ 'SCRIPT', 'HEAD', 'TITLE', 'NOSCRIPT', 'STYLE', 'TEMPLATE' ];
17090 -1 if (!whitelist.includes(node.nodeName.toUpperCase()) && axe.commons.dom.hasContentVirtual(virtualNode)) {
17091 -1 var styles = window.getComputedStyle(node);
17092 -1 if (styles.getPropertyValue('display') === 'none') {
17093 -1 return undefined;
17094 -1 } else if (styles.getPropertyValue('visibility') === 'hidden') {
17095 -1 var parent = axe.commons.dom.getComposedParent(node);
17096 -1 var parentStyle = parent && window.getComputedStyle(parent);
17097 -1 if (!parentStyle || parentStyle.getPropertyValue('visibility') !== 'hidden') {
17098 -1 return undefined;
-1 30428 var queue = [];
-1 30429 var draining = false;
-1 30430 var currentQueue;
-1 30431 var queueIndex = -1;
-1 30432 function cleanUpNextTick() {
-1 30433 if (!draining || !currentQueue) {
-1 30434 return;
-1 30435 }
-1 30436 draining = false;
-1 30437 if (currentQueue.length) {
-1 30438 queue = currentQueue.concat(queue);
-1 30439 } else {
-1 30440 queueIndex = -1;
-1 30441 }
-1 30442 if (queue.length) {
-1 30443 drainQueue();
-1 30444 }
-1 30445 }
-1 30446 function drainQueue() {
-1 30447 if (draining) {
-1 30448 return;
-1 30449 }
-1 30450 var timeout = runTimeout(cleanUpNextTick);
-1 30451 draining = true;
-1 30452 var len = queue.length;
-1 30453 while (len) {
-1 30454 currentQueue = queue;
-1 30455 queue = [];
-1 30456 while (++queueIndex < len) {
-1 30457 if (currentQueue) {
-1 30458 currentQueue[queueIndex].run();
17099 30459 }
17100 30460 }
-1 30461 queueIndex = -1;
-1 30462 len = queue.length;
17101 30463 }
17102 -1 return true;
-1 30464 currentQueue = null;
-1 30465 draining = false;
-1 30466 runClearTimeout(timeout);
17103 30467 }
17104 -1 } ],
17105 -1 commons: function() {
17106 -1 var commons = {};
17107 -1 var aria = commons.aria = {};
17108 -1 var lookupTable = aria.lookupTable = {};
17109 -1 var isNull = function isNull(value) {
17110 -1 return value === null;
17111 -1 };
17112 -1 var isNotNull = function isNotNull(value) {
17113 -1 return value !== null;
-1 30468 process.nextTick = function(fun) {
-1 30469 var args = new Array(arguments.length - 1);
-1 30470 if (arguments.length > 1) {
-1 30471 for (var i = 1; i < arguments.length; i++) {
-1 30472 args[i - 1] = arguments[i];
-1 30473 }
-1 30474 }
-1 30475 queue.push(new Item(fun, args));
-1 30476 if (queue.length === 1 && !draining) {
-1 30477 runTimeout(drainQueue);
-1 30478 }
17114 30479 };
17115 -1 lookupTable.attributes = {
17116 -1 'aria-activedescendant': {
17117 -1 type: 'idref',
17118 -1 allowEmpty: true,
17119 -1 unsupported: false
17120 -1 },
17121 -1 'aria-atomic': {
17122 -1 type: 'boolean',
17123 -1 values: [ 'true', 'false' ],
17124 -1 unsupported: false
17125 -1 },
17126 -1 'aria-autocomplete': {
17127 -1 type: 'nmtoken',
17128 -1 values: [ 'inline', 'list', 'both', 'none' ],
17129 -1 unsupported: false
17130 -1 },
17131 -1 'aria-busy': {
17132 -1 type: 'boolean',
17133 -1 values: [ 'true', 'false' ],
17134 -1 unsupported: false
17135 -1 },
17136 -1 'aria-checked': {
17137 -1 type: 'nmtoken',
17138 -1 values: [ 'true', 'false', 'mixed', 'undefined' ],
17139 -1 unsupported: false
17140 -1 },
17141 -1 'aria-colcount': {
17142 -1 type: 'int',
17143 -1 unsupported: false
17144 -1 },
17145 -1 'aria-colindex': {
17146 -1 type: 'int',
17147 -1 unsupported: false
17148 -1 },
17149 -1 'aria-colspan': {
17150 -1 type: 'int',
17151 -1 unsupported: false
17152 -1 },
17153 -1 'aria-controls': {
17154 -1 type: 'idrefs',
17155 -1 allowEmpty: true,
17156 -1 unsupported: false
17157 -1 },
17158 -1 'aria-current': {
17159 -1 type: 'nmtoken',
17160 -1 allowEmpty: true,
17161 -1 values: [ 'page', 'step', 'location', 'date', 'time', 'true', 'false' ],
17162 -1 unsupported: false
17163 -1 },
17164 -1 'aria-describedby': {
17165 -1 type: 'idrefs',
17166 -1 allowEmpty: true,
17167 -1 unsupported: false
17168 -1 },
17169 -1 'aria-describedat': {
17170 -1 unsupported: true,
17171 -1 unstandardized: true
17172 -1 },
17173 -1 'aria-details': {
17174 -1 unsupported: true
17175 -1 },
17176 -1 'aria-disabled': {
17177 -1 type: 'boolean',
17178 -1 values: [ 'true', 'false' ],
17179 -1 unsupported: false
17180 -1 },
17181 -1 'aria-dropeffect': {
17182 -1 type: 'nmtokens',
17183 -1 values: [ 'copy', 'move', 'reference', 'execute', 'popup', 'none' ],
17184 -1 unsupported: false
17185 -1 },
17186 -1 'aria-errormessage': {
17187 -1 type: 'idref',
17188 -1 allowEmpty: true,
17189 -1 unsupported: false
17190 -1 },
17191 -1 'aria-expanded': {
17192 -1 type: 'nmtoken',
17193 -1 values: [ 'true', 'false', 'undefined' ],
17194 -1 unsupported: false
17195 -1 },
17196 -1 'aria-flowto': {
17197 -1 type: 'idrefs',
17198 -1 allowEmpty: true,
17199 -1 unsupported: false
17200 -1 },
17201 -1 'aria-grabbed': {
17202 -1 type: 'nmtoken',
17203 -1 values: [ 'true', 'false', 'undefined' ],
17204 -1 unsupported: false
17205 -1 },
17206 -1 'aria-haspopup': {
17207 -1 type: 'nmtoken',
17208 -1 allowEmpty: true,
17209 -1 values: [ 'true', 'false', 'menu', 'listbox', 'tree', 'grid', 'dialog' ],
17210 -1 unsupported: false
17211 -1 },
17212 -1 'aria-hidden': {
17213 -1 type: 'boolean',
17214 -1 values: [ 'true', 'false' ],
17215 -1 unsupported: false
17216 -1 },
17217 -1 'aria-invalid': {
17218 -1 type: 'nmtoken',
17219 -1 allowEmpty: true,
17220 -1 values: [ 'true', 'false', 'spelling', 'grammar' ],
17221 -1 unsupported: false
17222 -1 },
17223 -1 'aria-keyshortcuts': {
17224 -1 type: 'string',
17225 -1 allowEmpty: true,
17226 -1 unsupported: false
17227 -1 },
17228 -1 'aria-label': {
17229 -1 type: 'string',
17230 -1 allowEmpty: true,
17231 -1 unsupported: false
17232 -1 },
17233 -1 'aria-labelledby': {
17234 -1 type: 'idrefs',
17235 -1 allowEmpty: true,
17236 -1 unsupported: false
17237 -1 },
17238 -1 'aria-level': {
17239 -1 type: 'int',
17240 -1 unsupported: false
17241 -1 },
17242 -1 'aria-live': {
17243 -1 type: 'nmtoken',
17244 -1 values: [ 'off', 'polite', 'assertive' ],
17245 -1 unsupported: false
17246 -1 },
17247 -1 'aria-modal': {
17248 -1 type: 'boolean',
17249 -1 values: [ 'true', 'false' ],
17250 -1 unsupported: false
17251 -1 },
17252 -1 'aria-multiline': {
17253 -1 type: 'boolean',
17254 -1 values: [ 'true', 'false' ],
17255 -1 unsupported: false
17256 -1 },
17257 -1 'aria-multiselectable': {
17258 -1 type: 'boolean',
17259 -1 values: [ 'true', 'false' ],
17260 -1 unsupported: false
17261 -1 },
17262 -1 'aria-orientation': {
17263 -1 type: 'nmtoken',
17264 -1 values: [ 'horizontal', 'vertical' ],
17265 -1 unsupported: false
17266 -1 },
17267 -1 'aria-owns': {
17268 -1 type: 'idrefs',
17269 -1 allowEmpty: true,
17270 -1 unsupported: false
17271 -1 },
17272 -1 'aria-placeholder': {
17273 -1 type: 'string',
17274 -1 allowEmpty: true,
17275 -1 unsupported: false
17276 -1 },
17277 -1 'aria-posinset': {
17278 -1 type: 'int',
17279 -1 unsupported: false
17280 -1 },
17281 -1 'aria-pressed': {
17282 -1 type: 'nmtoken',
17283 -1 values: [ 'true', 'false', 'mixed', 'undefined' ],
17284 -1 unsupported: false
17285 -1 },
17286 -1 'aria-readonly': {
17287 -1 type: 'boolean',
17288 -1 values: [ 'true', 'false' ],
17289 -1 unsupported: false
17290 -1 },
17291 -1 'aria-relevant': {
17292 -1 type: 'nmtokens',
17293 -1 values: [ 'additions', 'removals', 'text', 'all' ],
17294 -1 unsupported: false
17295 -1 },
17296 -1 'aria-required': {
17297 -1 type: 'boolean',
17298 -1 values: [ 'true', 'false' ],
17299 -1 unsupported: false
17300 -1 },
17301 -1 'aria-roledescription': {
17302 -1 type: 'string',
17303 -1 allowEmpty: true,
17304 -1 unsupported: {
17305 -1 exceptions: [ 'button', {
17306 -1 nodeName: 'input',
17307 -1 properties: {
17308 -1 type: [ 'button', 'checkbox', 'image', 'radio', 'reset', 'submit' ]
-1 30480 function Item(fun, array) {
-1 30481 this.fun = fun;
-1 30482 this.array = array;
-1 30483 }
-1 30484 Item.prototype.run = function() {
-1 30485 this.fun.apply(null, this.array);
-1 30486 };
-1 30487 process.title = 'browser';
-1 30488 process.browser = true;
-1 30489 process.env = {};
-1 30490 process.argv = [];
-1 30491 process.version = '';
-1 30492 process.versions = {};
-1 30493 function noop() {}
-1 30494 process.on = noop;
-1 30495 process.addListener = noop;
-1 30496 process.once = noop;
-1 30497 process.off = noop;
-1 30498 process.removeListener = noop;
-1 30499 process.removeAllListeners = noop;
-1 30500 process.emit = noop;
-1 30501 process.prependListener = noop;
-1 30502 process.prependOnceListener = noop;
-1 30503 process.listeners = function(name) {
-1 30504 return [];
-1 30505 };
-1 30506 process.binding = function(name) {
-1 30507 throw new Error('process.binding is not supported');
-1 30508 };
-1 30509 process.cwd = function() {
-1 30510 return '/';
-1 30511 };
-1 30512 process.chdir = function(dir) {
-1 30513 throw new Error('process.chdir is not supported');
-1 30514 };
-1 30515 process.umask = function() {
-1 30516 return 0;
-1 30517 };
-1 30518 },
-1 30519 './node_modules/setimmediate/setImmediate.js': function node_modulesSetimmediateSetImmediateJs(module, exports, __webpack_require__) {
-1 30520 (function(global, process) {
-1 30521 (function(global, undefined) {
-1 30522 'use strict';
-1 30523 if (global.setImmediate) {
-1 30524 return;
-1 30525 }
-1 30526 var nextHandle = 1;
-1 30527 var tasksByHandle = {};
-1 30528 var currentlyRunningATask = false;
-1 30529 var doc = global.document;
-1 30530 var registerImmediate;
-1 30531 function setImmediate(callback) {
-1 30532 if (typeof callback !== 'function') {
-1 30533 callback = new Function('' + callback);
-1 30534 }
-1 30535 var args = new Array(arguments.length - 1);
-1 30536 for (var i = 0; i < args.length; i++) {
-1 30537 args[i] = arguments[i + 1];
-1 30538 }
-1 30539 var task = {
-1 30540 callback: callback,
-1 30541 args: args
-1 30542 };
-1 30543 tasksByHandle[nextHandle] = task;
-1 30544 registerImmediate(nextHandle);
-1 30545 return nextHandle++;
-1 30546 }
-1 30547 function clearImmediate(handle) {
-1 30548 delete tasksByHandle[handle];
-1 30549 }
-1 30550 function run(task) {
-1 30551 var callback = task.callback;
-1 30552 var args = task.args;
-1 30553 switch (args.length) {
-1 30554 case 0:
-1 30555 callback();
-1 30556 break;
-1 30557
-1 30558 case 1:
-1 30559 callback(args[0]);
-1 30560 break;
-1 30561
-1 30562 case 2:
-1 30563 callback(args[0], args[1]);
-1 30564 break;
-1 30565
-1 30566 case 3:
-1 30567 callback(args[0], args[1], args[2]);
-1 30568 break;
-1 30569
-1 30570 default:
-1 30571 callback.apply(undefined, args);
-1 30572 break;
-1 30573 }
-1 30574 }
-1 30575 function runIfPresent(handle) {
-1 30576 if (currentlyRunningATask) {
-1 30577 setTimeout(runIfPresent, 0, handle);
-1 30578 } else {
-1 30579 var task = tasksByHandle[handle];
-1 30580 if (task) {
-1 30581 currentlyRunningATask = true;
-1 30582 try {
-1 30583 run(task);
-1 30584 } finally {
-1 30585 clearImmediate(handle);
-1 30586 currentlyRunningATask = false;
-1 30587 }
17309 30588 }
17310 -1 }, 'img', 'select', 'summary' ]
-1 30589 }
17311 30590 }
-1 30591 function installNextTickImplementation() {
-1 30592 registerImmediate = function registerImmediate(handle) {
-1 30593 process.nextTick(function() {
-1 30594 runIfPresent(handle);
-1 30595 });
-1 30596 };
-1 30597 }
-1 30598 function canUsePostMessage() {
-1 30599 if (global.postMessage && !global.importScripts) {
-1 30600 var postMessageIsAsynchronous = true;
-1 30601 var oldOnMessage = global.onmessage;
-1 30602 global.onmessage = function() {
-1 30603 postMessageIsAsynchronous = false;
-1 30604 };
-1 30605 global.postMessage('', '*');
-1 30606 global.onmessage = oldOnMessage;
-1 30607 return postMessageIsAsynchronous;
-1 30608 }
-1 30609 }
-1 30610 function installPostMessageImplementation() {
-1 30611 var messagePrefix = 'setImmediate$' + Math.random() + '$';
-1 30612 var onGlobalMessage = function onGlobalMessage(event) {
-1 30613 if (event.source === global && typeof event.data === 'string' && event.data.indexOf(messagePrefix) === 0) {
-1 30614 runIfPresent(+event.data.slice(messagePrefix.length));
-1 30615 }
-1 30616 };
-1 30617 if (global.addEventListener) {
-1 30618 global.addEventListener('message', onGlobalMessage, false);
-1 30619 } else {
-1 30620 global.attachEvent('onmessage', onGlobalMessage);
-1 30621 }
-1 30622 registerImmediate = function registerImmediate(handle) {
-1 30623 global.postMessage(messagePrefix + handle, '*');
-1 30624 };
-1 30625 }
-1 30626 function installMessageChannelImplementation() {
-1 30627 var channel = new MessageChannel();
-1 30628 channel.port1.onmessage = function(event) {
-1 30629 var handle = event.data;
-1 30630 runIfPresent(handle);
-1 30631 };
-1 30632 registerImmediate = function registerImmediate(handle) {
-1 30633 channel.port2.postMessage(handle);
-1 30634 };
-1 30635 }
-1 30636 function installReadyStateChangeImplementation() {
-1 30637 var html = doc.documentElement;
-1 30638 registerImmediate = function registerImmediate(handle) {
-1 30639 var script = doc.createElement('script');
-1 30640 script.onreadystatechange = function() {
-1 30641 runIfPresent(handle);
-1 30642 script.onreadystatechange = null;
-1 30643 html.removeChild(script);
-1 30644 script = null;
-1 30645 };
-1 30646 html.appendChild(script);
-1 30647 };
-1 30648 }
-1 30649 function installSetTimeoutImplementation() {
-1 30650 registerImmediate = function registerImmediate(handle) {
-1 30651 setTimeout(runIfPresent, 0, handle);
-1 30652 };
-1 30653 }
-1 30654 var attachTo = Object.getPrototypeOf && Object.getPrototypeOf(global);
-1 30655 attachTo = attachTo && attachTo.setTimeout ? attachTo : global;
-1 30656 if ({}.toString.call(global.process) === '[object process]') {
-1 30657 installNextTickImplementation();
-1 30658 } else if (canUsePostMessage()) {
-1 30659 installPostMessageImplementation();
-1 30660 } else if (global.MessageChannel) {
-1 30661 installMessageChannelImplementation();
-1 30662 } else if (doc && 'onreadystatechange' in doc.createElement('script')) {
-1 30663 installReadyStateChangeImplementation();
-1 30664 } else {
-1 30665 installSetTimeoutImplementation();
-1 30666 }
-1 30667 attachTo.setImmediate = setImmediate;
-1 30668 attachTo.clearImmediate = clearImmediate;
-1 30669 })(typeof self === 'undefined' ? typeof global === 'undefined' ? this : global : self);
-1 30670 }).call(this, __webpack_require__('./node_modules/webpack/buildin/global.js'), __webpack_require__('./node_modules/process/browser.js'));
-1 30671 },
-1 30672 './node_modules/timers-ext/max-timeout.js': function node_modulesTimersExtMaxTimeoutJs(module, exports, __webpack_require__) {
-1 30673 'use strict';
-1 30674 module.exports = 2147483647;
-1 30675 },
-1 30676 './node_modules/timers-ext/valid-timeout.js': function node_modulesTimersExtValidTimeoutJs(module, exports, __webpack_require__) {
-1 30677 'use strict';
-1 30678 var toPosInt = __webpack_require__('./node_modules/es5-ext/number/to-pos-integer.js'), maxTimeout = __webpack_require__('./node_modules/timers-ext/max-timeout.js');
-1 30679 module.exports = function(value) {
-1 30680 value = toPosInt(value);
-1 30681 if (value > maxTimeout) {
-1 30682 throw new TypeError(value + ' exceeds maximum possible timeout');
-1 30683 }
-1 30684 return value;
-1 30685 };
-1 30686 },
-1 30687 './node_modules/type/function/is.js': function node_modulesTypeFunctionIsJs(module, exports, __webpack_require__) {
-1 30688 'use strict';
-1 30689 var isPrototype = __webpack_require__('./node_modules/type/prototype/is.js');
-1 30690 module.exports = function(value) {
-1 30691 if (typeof value !== 'function') {
-1 30692 return false;
-1 30693 }
-1 30694 if (!hasOwnProperty.call(value, 'length')) {
-1 30695 return false;
-1 30696 }
-1 30697 try {
-1 30698 if (typeof value.length !== 'number') {
-1 30699 return false;
-1 30700 }
-1 30701 if (typeof value.call !== 'function') {
-1 30702 return false;
-1 30703 }
-1 30704 if (typeof value.apply !== 'function') {
-1 30705 return false;
-1 30706 }
-1 30707 } catch (error) {
-1 30708 return false;
-1 30709 }
-1 30710 return !isPrototype(value);
-1 30711 };
-1 30712 },
-1 30713 './node_modules/type/object/is.js': function node_modulesTypeObjectIsJs(module, exports, __webpack_require__) {
-1 30714 'use strict';
-1 30715 var isValue = __webpack_require__('./node_modules/type/value/is.js');
-1 30716 var possibleTypes = {
-1 30717 object: true,
-1 30718 function: true,
-1 30719 undefined: true
-1 30720 };
-1 30721 module.exports = function(value) {
-1 30722 if (!isValue(value)) {
-1 30723 return false;
-1 30724 }
-1 30725 return hasOwnProperty.call(possibleTypes, _typeof(value));
-1 30726 };
-1 30727 },
-1 30728 './node_modules/type/plain-function/is.js': function node_modulesTypePlainFunctionIsJs(module, exports, __webpack_require__) {
-1 30729 'use strict';
-1 30730 var isFunction = __webpack_require__('./node_modules/type/function/is.js');
-1 30731 var classRe = /^\s*class[\s{/}]/, functionToString = Function.prototype.toString;
-1 30732 module.exports = function(value) {
-1 30733 if (!isFunction(value)) {
-1 30734 return false;
-1 30735 }
-1 30736 if (classRe.test(functionToString.call(value))) {
-1 30737 return false;
-1 30738 }
-1 30739 return true;
-1 30740 };
-1 30741 },
-1 30742 './node_modules/type/prototype/is.js': function node_modulesTypePrototypeIsJs(module, exports, __webpack_require__) {
-1 30743 'use strict';
-1 30744 var isObject = __webpack_require__('./node_modules/type/object/is.js');
-1 30745 module.exports = function(value) {
-1 30746 if (!isObject(value)) {
-1 30747 return false;
-1 30748 }
-1 30749 try {
-1 30750 if (!value.constructor) {
-1 30751 return false;
-1 30752 }
-1 30753 return value.constructor.prototype === value;
-1 30754 } catch (error) {
-1 30755 return false;
-1 30756 }
-1 30757 };
-1 30758 },
-1 30759 './node_modules/type/value/is.js': function node_modulesTypeValueIsJs(module, exports, __webpack_require__) {
-1 30760 'use strict';
-1 30761 var _undefined = void 0;
-1 30762 module.exports = function(value) {
-1 30763 return value !== _undefined && value !== null;
-1 30764 };
-1 30765 },
-1 30766 './node_modules/webpack/buildin/global.js': function node_modulesWebpackBuildinGlobalJs(module, exports) {
-1 30767 var g;
-1 30768 g = function() {
-1 30769 return this;
-1 30770 }();
-1 30771 try {
-1 30772 g = g || new Function('return this')();
-1 30773 } catch (e) {
-1 30774 if ((typeof window === 'undefined' ? 'undefined' : _typeof(window)) === 'object') {
-1 30775 g = window;
-1 30776 }
-1 30777 }
-1 30778 module.exports = g;
-1 30779 }
-1 30780 });
-1 30781 'use strict';
-1 30782 axe._load({
-1 30783 lang: 'en',
-1 30784 data: {
-1 30785 rules: {
-1 30786 accesskeys: {
-1 30787 description: 'Ensures every accesskey attribute value is unique',
-1 30788 help: 'accesskey attribute value must be unique'
17312 30789 },
17313 -1 'aria-rowcount': {
17314 -1 type: 'int',
17315 -1 unsupported: false
17316 -1 },
17317 -1 'aria-rowindex': {
17318 -1 type: 'int',
17319 -1 unsupported: false
17320 -1 },
17321 -1 'aria-rowspan': {
17322 -1 type: 'int',
17323 -1 unsupported: false
17324 -1 },
17325 -1 'aria-selected': {
17326 -1 type: 'nmtoken',
17327 -1 values: [ 'true', 'false', 'undefined' ],
17328 -1 unsupported: false
17329 -1 },
17330 -1 'aria-setsize': {
17331 -1 type: 'int',
17332 -1 unsupported: false
17333 -1 },
17334 -1 'aria-sort': {
17335 -1 type: 'nmtoken',
17336 -1 values: [ 'ascending', 'descending', 'other', 'none' ],
17337 -1 unsupported: false
-1 30790 'area-alt': {
-1 30791 description: 'Ensures <area> elements of image maps have alternate text',
-1 30792 help: 'Active <area> elements must have alternate text'
17338 30793 },
17339 -1 'aria-valuemax': {
17340 -1 type: 'decimal',
17341 -1 unsupported: false
-1 30794 'aria-allowed-attr': {
-1 30795 description: 'Ensures ARIA attributes are allowed for an element\'s role',
-1 30796 help: 'Elements must only use allowed ARIA attributes'
17342 30797 },
17343 -1 'aria-valuemin': {
17344 -1 type: 'decimal',
17345 -1 unsupported: false
-1 30798 'aria-allowed-role': {
-1 30799 description: 'Ensures role attribute has an appropriate value for the element',
-1 30800 help: 'ARIA role must be appropriate for the element'
17346 30801 },
17347 -1 'aria-valuenow': {
17348 -1 type: 'decimal',
17349 -1 unsupported: false
-1 30802 'aria-hidden-body': {
-1 30803 description: 'Ensures aria-hidden=\'true\' is not present on the document body.',
-1 30804 help: 'aria-hidden=\'true\' must not be present on the document body'
17350 30805 },
17351 -1 'aria-valuetext': {
17352 -1 type: 'string',
17353 -1 unsupported: false
17354 -1 }
17355 -1 };
17356 -1 lookupTable.globalAttributes = [ 'aria-atomic', 'aria-busy', 'aria-controls', 'aria-current', 'aria-describedby', 'aria-disabled', 'aria-dropeffect', 'aria-flowto', 'aria-grabbed', 'aria-haspopup', 'aria-hidden', 'aria-invalid', 'aria-keyshortcuts', 'aria-label', 'aria-labelledby', 'aria-live', 'aria-owns', 'aria-relevant', 'aria-roledescription' ];
17357 -1 lookupTable.role = {
17358 -1 alert: {
17359 -1 type: 'widget',
17360 -1 attributes: {
17361 -1 allowed: [ 'aria-expanded', 'aria-errormessage' ]
17362 -1 },
17363 -1 owned: null,
17364 -1 nameFrom: [ 'author' ],
17365 -1 context: null,
17366 -1 unsupported: false,
17367 -1 allowedElements: [ 'section' ]
-1 30806 'aria-hidden-focus': {
-1 30807 description: 'Ensures aria-hidden elements do not contain focusable elements',
-1 30808 help: 'ARIA hidden element must not contain focusable elements'
17368 30809 },
17369 -1 alertdialog: {
17370 -1 type: 'widget',
17371 -1 attributes: {
17372 -1 allowed: [ 'aria-expanded', 'aria-modal', 'aria-errormessage' ]
17373 -1 },
17374 -1 owned: null,
17375 -1 nameFrom: [ 'author' ],
17376 -1 context: null,
17377 -1 unsupported: false,
17378 -1 allowedElements: [ 'dialog', 'section' ]
-1 30810 'aria-input-field-name': {
-1 30811 description: 'Ensures every ARIA input field has an accessible name',
-1 30812 help: 'ARIA input fields must have an accessible name'
17379 30813 },
17380 -1 application: {
17381 -1 type: 'landmark',
17382 -1 attributes: {
17383 -1 allowed: [ 'aria-expanded', 'aria-errormessage' ]
17384 -1 },
17385 -1 owned: null,
17386 -1 nameFrom: [ 'author' ],
17387 -1 context: null,
17388 -1 unsupported: false,
17389 -1 allowedElements: [ 'article', 'audio', 'embed', 'iframe', 'object', 'section', 'svg', 'video' ]
-1 30814 'aria-required-attr': {
-1 30815 description: 'Ensures elements with ARIA roles have all required ARIA attributes',
-1 30816 help: 'Required ARIA attributes must be provided'
17390 30817 },
17391 -1 article: {
17392 -1 type: 'structure',
17393 -1 attributes: {
17394 -1 allowed: [ 'aria-expanded', 'aria-posinset', 'aria-setsize', 'aria-errormessage' ]
17395 -1 },
17396 -1 owned: null,
17397 -1 nameFrom: [ 'author' ],
17398 -1 context: null,
17399 -1 implicit: [ 'article' ],
17400 -1 unsupported: false
-1 30818 'aria-required-children': {
-1 30819 description: 'Ensures elements with an ARIA role that require child roles contain them',
-1 30820 help: 'Certain ARIA roles must contain particular children'
17401 30821 },
17402 -1 banner: {
17403 -1 type: 'landmark',
17404 -1 attributes: {
17405 -1 allowed: [ 'aria-expanded', 'aria-errormessage' ]
17406 -1 },
17407 -1 owned: null,
17408 -1 nameFrom: [ 'author' ],
17409 -1 context: null,
17410 -1 implicit: [ 'header' ],
17411 -1 unsupported: false,
17412 -1 allowedElements: [ 'section' ]
-1 30822 'aria-required-parent': {
-1 30823 description: 'Ensures elements with an ARIA role that require parent roles are contained by them',
-1 30824 help: 'Certain ARIA roles must be contained by particular parents'
17413 30825 },
17414 -1 button: {
17415 -1 type: 'widget',
17416 -1 attributes: {
17417 -1 allowed: [ 'aria-expanded', 'aria-pressed', 'aria-errormessage' ]
17418 -1 },
17419 -1 owned: null,
17420 -1 nameFrom: [ 'author', 'contents' ],
17421 -1 context: null,
17422 -1 implicit: [ 'button', 'input[type="button"]', 'input[type="image"]', 'input[type="reset"]', 'input[type="submit"]', 'summary' ],
17423 -1 unsupported: false,
17424 -1 allowedElements: [ {
17425 -1 nodeName: 'a',
17426 -1 attributes: {
17427 -1 href: isNotNull
17428 -1 }
17429 -1 } ]
-1 30826 'aria-roledescription': {
-1 30827 description: 'Ensure aria-roledescription is only used on elements with an implicit or explicit role',
-1 30828 help: 'Use aria-roledescription on elements with a semantic role'
17430 30829 },
17431 -1 cell: {
17432 -1 type: 'structure',
17433 -1 attributes: {
17434 -1 allowed: [ 'aria-colindex', 'aria-colspan', 'aria-rowindex', 'aria-rowspan', 'aria-errormessage' ]
17435 -1 },
17436 -1 owned: null,
17437 -1 nameFrom: [ 'author', 'contents' ],
17438 -1 context: [ 'row' ],
17439 -1 implicit: [ 'td', 'th' ],
17440 -1 unsupported: false
-1 30830 'aria-roles': {
-1 30831 description: 'Ensures all elements with a role attribute use a valid value',
-1 30832 help: 'ARIA roles used must conform to valid values'
17441 30833 },
17442 -1 checkbox: {
17443 -1 type: 'widget',
17444 -1 attributes: {
17445 -1 allowed: [ 'aria-checked', 'aria-required', 'aria-readonly', 'aria-errormessage' ]
17446 -1 },
17447 -1 owned: null,
17448 -1 nameFrom: [ 'author', 'contents' ],
17449 -1 context: null,
17450 -1 implicit: [ 'input[type="checkbox"]' ],
17451 -1 unsupported: false,
17452 -1 allowedElements: [ 'button' ]
-1 30834 'aria-toggle-field-name': {
-1 30835 description: 'Ensures every ARIA toggle field has an accessible name',
-1 30836 help: 'ARIA toggle fields have an accessible name'
17453 30837 },
17454 -1 columnheader: {
17455 -1 type: 'structure',
17456 -1 attributes: {
17457 -1 allowed: [ 'aria-colindex', 'aria-colspan', 'aria-expanded', 'aria-rowindex', 'aria-rowspan', 'aria-required', 'aria-readonly', 'aria-selected', 'aria-sort', 'aria-errormessage' ]
17458 -1 },
17459 -1 owned: null,
17460 -1 nameFrom: [ 'author', 'contents' ],
17461 -1 context: [ 'row' ],
17462 -1 implicit: [ 'th' ],
17463 -1 unsupported: false
-1 30838 'aria-valid-attr-value': {
-1 30839 description: 'Ensures all ARIA attributes have valid values',
-1 30840 help: 'ARIA attributes must conform to valid values'
17464 30841 },
17465 -1 combobox: {
17466 -1 type: 'composite',
17467 -1 attributes: {
17468 -1 allowed: [ 'aria-autocomplete', 'aria-required', 'aria-activedescendant', 'aria-orientation', 'aria-errormessage' ],
17469 -1 required: [ 'aria-expanded' ]
17470 -1 },
17471 -1 owned: {
17472 -1 all: [ 'listbox', 'textbox' ]
17473 -1 },
17474 -1 nameFrom: [ 'author' ],
17475 -1 context: null,
17476 -1 unsupported: false,
17477 -1 allowedElements: [ {
17478 -1 nodeName: 'input',
17479 -1 properties: {
17480 -1 type: 'text'
17481 -1 }
17482 -1 } ]
-1 30842 'aria-valid-attr': {
-1 30843 description: 'Ensures attributes that begin with aria- are valid ARIA attributes',
-1 30844 help: 'ARIA attributes must conform to valid names'
17483 30845 },
17484 -1 command: {
17485 -1 nameFrom: [ 'author' ],
17486 -1 type: 'abstract',
17487 -1 unsupported: false
-1 30846 'audio-caption': {
-1 30847 description: 'Ensures <audio> elements have captions',
-1 30848 help: '<audio> elements must have a captions track'
17488 30849 },
17489 -1 complementary: {
17490 -1 type: 'landmark',
17491 -1 attributes: {
17492 -1 allowed: [ 'aria-expanded', 'aria-errormessage' ]
17493 -1 },
17494 -1 owned: null,
17495 -1 nameFrom: [ 'author' ],
17496 -1 context: null,
17497 -1 implicit: [ 'aside' ],
17498 -1 unsupported: false,
17499 -1 allowedElements: [ 'section' ]
-1 30850 'autocomplete-valid': {
-1 30851 description: 'Ensure the autocomplete attribute is correct and suitable for the form field',
-1 30852 help: 'autocomplete attribute must be used correctly'
17500 30853 },
17501 -1 composite: {
17502 -1 nameFrom: [ 'author' ],
17503 -1 type: 'abstract',
17504 -1 unsupported: false
-1 30854 'avoid-inline-spacing': {
-1 30855 description: 'Ensure that text spacing set through style attributes can be adjusted with custom stylesheets',
-1 30856 help: 'Inline text spacing must be adjustable with custom stylesheets'
17505 30857 },
17506 -1 contentinfo: {
17507 -1 type: 'landmark',
17508 -1 attributes: {
17509 -1 allowed: [ 'aria-expanded', 'aria-errormessage' ]
17510 -1 },
17511 -1 owned: null,
17512 -1 nameFrom: [ 'author' ],
17513 -1 context: null,
17514 -1 implicit: [ 'footer' ],
17515 -1 unsupported: false,
17516 -1 allowedElements: [ 'section' ]
-1 30858 blink: {
-1 30859 description: 'Ensures <blink> elements are not used',
-1 30860 help: '<blink> elements are deprecated and must not be used'
17517 30861 },
17518 -1 definition: {
17519 -1 type: 'structure',
17520 -1 attributes: {
17521 -1 allowed: [ 'aria-expanded', 'aria-errormessage' ]
17522 -1 },
17523 -1 owned: null,
17524 -1 nameFrom: [ 'author' ],
17525 -1 context: null,
17526 -1 implicit: [ 'dd', 'dfn' ],
17527 -1 unsupported: false
-1 30862 'button-name': {
-1 30863 description: 'Ensures buttons have discernible text',
-1 30864 help: 'Buttons must have discernible text'
17528 30865 },
17529 -1 dialog: {
17530 -1 type: 'widget',
17531 -1 attributes: {
17532 -1 allowed: [ 'aria-expanded', 'aria-modal', 'aria-errormessage' ]
17533 -1 },
17534 -1 owned: null,
17535 -1 nameFrom: [ 'author' ],
17536 -1 context: null,
17537 -1 implicit: [ 'dialog' ],
17538 -1 unsupported: false,
17539 -1 allowedElements: [ 'section' ]
-1 30866 bypass: {
-1 30867 description: 'Ensures each page has at least one mechanism for a user to bypass navigation and jump straight to the content',
-1 30868 help: 'Page must have means to bypass repeated blocks'
17540 30869 },
17541 -1 directory: {
17542 -1 type: 'structure',
17543 -1 attributes: {
17544 -1 allowed: [ 'aria-expanded', 'aria-errormessage' ]
17545 -1 },
17546 -1 owned: null,
17547 -1 nameFrom: [ 'author', 'contents' ],
17548 -1 context: null,
17549 -1 unsupported: false,
17550 -1 allowedElements: [ 'ol', 'ul' ]
-1 30870 'color-contrast': {
-1 30871 description: 'Ensures the contrast between foreground and background colors meets WCAG 2 AA contrast ratio thresholds',
-1 30872 help: 'Elements must have sufficient color contrast'
17551 30873 },
17552 -1 document: {
17553 -1 type: 'structure',
17554 -1 attributes: {
17555 -1 allowed: [ 'aria-expanded', 'aria-errormessage' ]
17556 -1 },
17557 -1 owned: null,
17558 -1 nameFrom: [ 'author' ],
17559 -1 context: null,
17560 -1 implicit: [ 'body' ],
17561 -1 unsupported: false,
17562 -1 allowedElements: [ 'article', 'embed', 'iframe', 'object', 'section', 'svg' ]
-1 30874 'css-orientation-lock': {
-1 30875 description: 'Ensures content is not locked to any specific display orientation, and the content is operable in all display orientations',
-1 30876 help: 'CSS Media queries are not used to lock display orientation'
17563 30877 },
17564 -1 'doc-abstract': {
17565 -1 type: 'section',
17566 -1 attributes: {
17567 -1 allowed: [ 'aria-expanded', 'aria-errormessage' ]
17568 -1 },
17569 -1 owned: null,
17570 -1 nameFrom: [ 'author' ],
17571 -1 context: null,
17572 -1 unsupported: false,
17573 -1 allowedElements: [ 'section' ]
-1 30878 'definition-list': {
-1 30879 description: 'Ensures <dl> elements are structured correctly',
-1 30880 help: '<dl> elements must only directly contain properly-ordered <dt> and <dd> groups, <script>, <template> or <div> elements'
17574 30881 },
17575 -1 'doc-acknowledgments': {
17576 -1 type: 'landmark',
17577 -1 attributes: {
17578 -1 allowed: [ 'aria-expanded', 'aria-errormessage' ]
17579 -1 },
17580 -1 owned: null,
17581 -1 nameFrom: [ 'author' ],
17582 -1 context: null,
17583 -1 unsupported: false,
17584 -1 allowedElements: [ 'section' ]
-1 30882 dlitem: {
-1 30883 description: 'Ensures <dt> and <dd> elements are contained by a <dl>',
-1 30884 help: '<dt> and <dd> elements must be contained by a <dl>'
17585 30885 },
17586 -1 'doc-afterword': {
17587 -1 type: 'landmark',
17588 -1 attributes: {
17589 -1 allowed: [ 'aria-expanded', 'aria-errormessage' ]
17590 -1 },
17591 -1 owned: null,
17592 -1 nameFrom: [ 'author' ],
17593 -1 context: null,
17594 -1 unsupported: false,
17595 -1 allowedElements: [ 'section' ]
-1 30886 'document-title': {
-1 30887 description: 'Ensures each HTML document contains a non-empty <title> element',
-1 30888 help: 'Documents must have <title> element to aid in navigation'
17596 30889 },
17597 -1 'doc-appendix': {
17598 -1 type: 'landmark',
17599 -1 attributes: {
17600 -1 allowed: [ 'aria-expanded', 'aria-errormessage' ]
17601 -1 },
17602 -1 owned: null,
17603 -1 nameFrom: [ 'author' ],
17604 -1 context: null,
17605 -1 unsupported: false,
17606 -1 allowedElements: [ 'section' ]
-1 30890 'duplicate-id-active': {
-1 30891 description: 'Ensures every id attribute value of active elements is unique',
-1 30892 help: 'IDs of active elements must be unique'
17607 30893 },
17608 -1 'doc-backlink': {
17609 -1 type: 'link',
17610 -1 attributes: {
17611 -1 allowed: [ 'aria-expanded', 'aria-errormessage' ]
17612 -1 },
17613 -1 owned: null,
17614 -1 nameFrom: [ 'author', 'contents' ],
17615 -1 context: null,
17616 -1 unsupported: false,
17617 -1 allowedElements: [ {
17618 -1 nodeName: 'a',
17619 -1 attributes: {
17620 -1 href: isNotNull
17621 -1 }
17622 -1 } ]
-1 30894 'duplicate-id-aria': {
-1 30895 description: 'Ensures every id attribute value used in ARIA and in labels is unique',
-1 30896 help: 'IDs used in ARIA and labels must be unique'
17623 30897 },
17624 -1 'doc-biblioentry': {
17625 -1 type: 'listitem',
17626 -1 attributes: {
17627 -1 allowed: [ 'aria-expanded', 'aria-level', 'aria-posinset', 'aria-setsize', 'aria-errormessage' ]
17628 -1 },
17629 -1 owned: null,
17630 -1 nameFrom: [ 'author' ],
17631 -1 context: [ 'doc-bibliography' ],
17632 -1 unsupported: false,
17633 -1 allowedElements: [ 'li' ]
-1 30898 'duplicate-id': {
-1 30899 description: 'Ensures every id attribute value is unique',
-1 30900 help: 'id attribute value must be unique'
-1 30901 },
-1 30902 'empty-heading': {
-1 30903 description: 'Ensures headings have discernible text',
-1 30904 help: 'Headings must not be empty'
17634 30905 },
17635 -1 'doc-bibliography': {
17636 -1 type: 'landmark',
17637 -1 attributes: {
17638 -1 allowed: [ 'aria-expanded', 'aria-errormessage' ]
17639 -1 },
17640 -1 owned: null,
17641 -1 nameFrom: [ 'author' ],
17642 -1 context: null,
17643 -1 unsupported: false,
17644 -1 allowedElements: [ 'section' ]
-1 30906 'focus-order-semantics': {
-1 30907 description: 'Ensures elements in the focus order have an appropriate role',
-1 30908 help: 'Elements in the focus order need a role appropriate for interactive content'
17645 30909 },
17646 -1 'doc-biblioref': {
17647 -1 type: 'link',
17648 -1 attributes: {
17649 -1 allowed: [ 'aria-expanded', 'aria-errormessage' ]
17650 -1 },
17651 -1 owned: null,
17652 -1 nameFrom: [ 'author', 'contents' ],
17653 -1 context: null,
17654 -1 unsupported: false,
17655 -1 allowedElements: [ {
17656 -1 nodeName: 'a',
17657 -1 attributes: {
17658 -1 href: isNotNull
17659 -1 }
17660 -1 } ]
-1 30910 'form-field-multiple-labels': {
-1 30911 description: 'Ensures form field does not have multiple label elements',
-1 30912 help: 'Form field should not have multiple label elements'
17661 30913 },
17662 -1 'doc-chapter': {
17663 -1 type: 'landmark',
17664 -1 attributes: {
17665 -1 allowed: [ 'aria-expanded', 'aria-errormessage' ]
17666 -1 },
17667 -1 owned: null,
17668 -1 namefrom: [ 'author' ],
17669 -1 context: null,
17670 -1 unsupported: false,
17671 -1 allowedElements: [ 'section' ]
-1 30914 'frame-tested': {
-1 30915 description: 'Ensures <iframe> and <frame> elements contain the axe-core script',
-1 30916 help: 'Frames must be tested with axe-core'
17672 30917 },
17673 -1 'doc-colophon': {
17674 -1 type: 'section',
17675 -1 attributes: {
17676 -1 allowed: [ 'aria-expanded', 'aria-errormessage' ]
17677 -1 },
17678 -1 owned: null,
17679 -1 namefrom: [ 'author' ],
17680 -1 context: null,
17681 -1 unsupported: false,
17682 -1 allowedElements: [ 'section' ]
-1 30918 'frame-title-unique': {
-1 30919 description: 'Ensures <iframe> and <frame> elements contain a unique title attribute',
-1 30920 help: 'Frames must have a unique title attribute'
17683 30921 },
17684 -1 'doc-conclusion': {
17685 -1 type: 'landmark',
17686 -1 attributes: {
17687 -1 allowed: [ 'aria-expanded', 'aria-errormessage' ]
17688 -1 },
17689 -1 owned: null,
17690 -1 namefrom: [ 'author' ],
17691 -1 context: null,
17692 -1 unsupported: false,
17693 -1 allowedElements: [ 'section' ]
-1 30922 'frame-title': {
-1 30923 description: 'Ensures <iframe> and <frame> elements contain a non-empty title attribute',
-1 30924 help: 'Frames must have title attribute'
17694 30925 },
17695 -1 'doc-cover': {
17696 -1 type: 'img',
17697 -1 attributes: {
17698 -1 allowed: [ 'aria-expanded', 'aria-errormessage' ]
17699 -1 },
17700 -1 owned: null,
17701 -1 namefrom: [ 'author' ],
17702 -1 context: null,
17703 -1 unsupported: false
-1 30926 'heading-order': {
-1 30927 description: 'Ensures the order of headings is semantically correct',
-1 30928 help: 'Heading levels should only increase by one'
17704 30929 },
17705 -1 'doc-credit': {
17706 -1 type: 'section',
17707 -1 attributes: {
17708 -1 allowed: [ 'aria-expanded', 'aria-errormessage' ]
17709 -1 },
17710 -1 owned: null,
17711 -1 namefrom: [ 'author' ],
17712 -1 context: null,
17713 -1 unsupported: false,
17714 -1 allowedElements: [ 'section' ]
-1 30930 'hidden-content': {
-1 30931 description: 'Informs users about hidden content.',
-1 30932 help: 'Hidden content on the page cannot be analyzed'
17715 30933 },
17716 -1 'doc-credits': {
17717 -1 type: 'landmark',
17718 -1 attributes: {
17719 -1 allowed: [ 'aria-expanded', 'aria-errormessage' ]
17720 -1 },
17721 -1 owned: null,
17722 -1 namefrom: [ 'author' ],
17723 -1 context: null,
17724 -1 unsupported: false,
17725 -1 allowedElements: [ 'section' ]
-1 30934 'html-has-lang': {
-1 30935 description: 'Ensures every HTML document has a lang attribute',
-1 30936 help: '<html> element must have a lang attribute'
17726 30937 },
17727 -1 'doc-dedication': {
17728 -1 type: 'section',
17729 -1 attributes: {
17730 -1 allowed: [ 'aria-expanded', 'aria-errormessage' ]
17731 -1 },
17732 -1 owned: null,
17733 -1 namefrom: [ 'author' ],
17734 -1 context: null,
17735 -1 unsupported: false,
17736 -1 allowedElements: [ 'section' ]
-1 30938 'html-lang-valid': {
-1 30939 description: 'Ensures the lang attribute of the <html> element has a valid value',
-1 30940 help: '<html> element must have a valid value for the lang attribute'
17737 30941 },
17738 -1 'doc-endnote': {
17739 -1 type: 'listitem',
17740 -1 attributes: {
17741 -1 allowed: [ 'aria-expanded', 'aria-level', 'aria-posinset', 'aria-setsize', 'aria-errormessage' ]
17742 -1 },
17743 -1 owned: null,
17744 -1 namefrom: [ 'author' ],
17745 -1 context: [ 'doc-endnotes' ],
17746 -1 unsupported: false,
17747 -1 allowedElements: [ 'li' ]
-1 30942 'html-xml-lang-mismatch': {
-1 30943 description: 'Ensure that HTML elements with both valid lang and xml:lang attributes agree on the base language of the page',
-1 30944 help: 'HTML elements with lang and xml:lang must have the same base language'
17748 30945 },
17749 -1 'doc-endnotes': {
17750 -1 type: 'landmark',
17751 -1 attributes: {
17752 -1 allowed: [ 'aria-expanded', 'aria-errormessage' ]
17753 -1 },
17754 -1 owned: [ 'doc-endnote' ],
17755 -1 namefrom: [ 'author' ],
17756 -1 context: null,
17757 -1 unsupported: false,
17758 -1 allowedElements: [ 'section' ]
-1 30946 'identical-links-same-purpose': {
-1 30947 description: 'Ensure that links with the same accessible name serve a similar purpose',
-1 30948 help: 'Links with the same name have a similar purpose'
17759 30949 },
17760 -1 'doc-epigraph': {
17761 -1 type: 'section',
17762 -1 attributes: {
17763 -1 allowed: [ 'aria-expanded', 'aria-errormessage' ]
17764 -1 },
17765 -1 owned: null,
17766 -1 namefrom: [ 'author' ],
17767 -1 context: null,
17768 -1 unsupported: false
-1 30950 'image-alt': {
-1 30951 description: 'Ensures <img> elements have alternate text or a role of none or presentation',
-1 30952 help: 'Images must have alternate text'
17769 30953 },
17770 -1 'doc-epilogue': {
17771 -1 type: 'landmark',
17772 -1 attributes: {
17773 -1 allowed: [ 'aria-expanded', 'aria-errormessage' ]
17774 -1 },
17775 -1 owned: null,
17776 -1 namefrom: [ 'author' ],
17777 -1 context: null,
17778 -1 unsupported: false,
17779 -1 allowedElements: [ 'section' ]
-1 30954 'image-redundant-alt': {
-1 30955 description: 'Ensure image alternative is not repeated as text',
-1 30956 help: 'Alternative text of images should not be repeated as text'
17780 30957 },
17781 -1 'doc-errata': {
17782 -1 type: 'landmark',
17783 -1 attributes: {
17784 -1 allowed: [ 'aria-expanded', 'aria-errormessage' ]
17785 -1 },
17786 -1 owned: null,
17787 -1 namefrom: [ 'author' ],
17788 -1 context: null,
17789 -1 unsupported: false,
17790 -1 allowedElements: [ 'section' ]
-1 30958 'input-button-name': {
-1 30959 description: 'Ensures input buttons have discernible text',
-1 30960 help: 'Input buttons must have discernible text'
17791 30961 },
17792 -1 'doc-example': {
17793 -1 type: 'section',
17794 -1 attributes: {
17795 -1 allowed: [ 'aria-expanded', 'aria-errormessage' ]
17796 -1 },
17797 -1 owned: null,
17798 -1 namefrom: [ 'author' ],
17799 -1 context: null,
17800 -1 unsupported: false,
17801 -1 allowedElements: [ 'aside', 'section' ]
-1 30962 'input-image-alt': {
-1 30963 description: 'Ensures <input type="image"> elements have alternate text',
-1 30964 help: 'Image buttons must have alternate text'
17802 30965 },
17803 -1 'doc-footnote': {
17804 -1 type: 'section',
17805 -1 attributes: {
17806 -1 allowed: [ 'aria-expanded', 'aria-errormessage' ]
17807 -1 },
17808 -1 owned: null,
17809 -1 namefrom: [ 'author' ],
17810 -1 context: null,
17811 -1 unsupported: false,
17812 -1 allowedElements: [ 'aside', 'footer', 'header' ]
-1 30966 'label-content-name-mismatch': {
-1 30967 description: 'Ensures that elements labelled through their content must have their visible text as part of their accessible name',
-1 30968 help: 'Elements must have their visible text as part of their accessible name'
17813 30969 },
17814 -1 'doc-foreword': {
17815 -1 type: 'landmark',
17816 -1 attributes: {
17817 -1 allowed: [ 'aria-expanded', 'aria-errormessage' ]
17818 -1 },
17819 -1 owned: null,
17820 -1 namefrom: [ 'author' ],
17821 -1 context: null,
17822 -1 unsupported: false,
17823 -1 allowedElements: [ 'section' ]
-1 30970 'label-title-only': {
-1 30971 description: 'Ensures that every form element is not solely labeled using the title or aria-describedby attributes',
-1 30972 help: 'Form elements should have a visible label'
17824 30973 },
17825 -1 'doc-glossary': {
17826 -1 type: 'landmark',
17827 -1 attributes: {
17828 -1 allowed: [ 'aria-expanded', 'aria-errormessage' ]
17829 -1 },
17830 -1 owned: [ 'term', 'definition' ],
17831 -1 namefrom: [ 'author' ],
17832 -1 context: null,
17833 -1 unsupported: false,
17834 -1 allowedElements: [ 'dl' ]
-1 30974 label: {
-1 30975 description: 'Ensures every form element has a label',
-1 30976 help: 'Form elements must have labels'
17835 30977 },
17836 -1 'doc-glossref': {
17837 -1 type: 'link',
17838 -1 attributes: {
17839 -1 allowed: [ 'aria-expanded', 'aria-errormessage' ]
17840 -1 },
17841 -1 owned: null,
17842 -1 namefrom: [ 'author', 'contents' ],
17843 -1 context: null,
17844 -1 unsupported: false,
17845 -1 allowedElements: [ {
17846 -1 nodeName: 'a',
17847 -1 attributes: {
17848 -1 href: isNotNull
17849 -1 }
17850 -1 } ]
-1 30978 'landmark-banner-is-top-level': {
-1 30979 description: 'Ensures the banner landmark is at top level',
-1 30980 help: 'Banner landmark must not be contained in another landmark'
17851 30981 },
17852 -1 'doc-index': {
17853 -1 type: 'navigation',
17854 -1 attributes: {
17855 -1 allowed: [ 'aria-expanded', 'aria-errormessage' ]
17856 -1 },
17857 -1 owned: null,
17858 -1 namefrom: [ 'author' ],
17859 -1 context: null,
17860 -1 unsupported: false,
17861 -1 allowedElements: [ 'nav', 'section' ]
-1 30982 'landmark-complementary-is-top-level': {
-1 30983 description: 'Ensures the complementary landmark or aside is at top level',
-1 30984 help: 'Aside must not be contained in another landmark'
17862 30985 },
17863 -1 'doc-introduction': {
17864 -1 type: 'landmark',
17865 -1 attributes: {
17866 -1 allowed: [ 'aria-expanded', 'aria-errormessage' ]
17867 -1 },
17868 -1 owned: null,
17869 -1 namefrom: [ 'author' ],
17870 -1 context: null,
17871 -1 unsupported: false,
17872 -1 allowedElements: [ 'section' ]
-1 30986 'landmark-contentinfo-is-top-level': {
-1 30987 description: 'Ensures the contentinfo landmark is at top level',
-1 30988 help: 'Contentinfo landmark must not be contained in another landmark'
17873 30989 },
17874 -1 'doc-noteref': {
17875 -1 type: 'link',
17876 -1 attributes: {
17877 -1 allowed: [ 'aria-expanded' ]
17878 -1 },
17879 -1 owned: null,
17880 -1 namefrom: [ 'author', 'contents' ],
17881 -1 context: null,
17882 -1 unsupported: false,
17883 -1 allowedElements: [ {
17884 -1 nodeName: 'a',
17885 -1 attributes: {
17886 -1 href: isNotNull
17887 -1 }
17888 -1 } ]
-1 30990 'landmark-main-is-top-level': {
-1 30991 description: 'Ensures the main landmark is at top level',
-1 30992 help: 'Main landmark must not be contained in another landmark'
17889 30993 },
17890 -1 'doc-notice': {
17891 -1 type: 'note',
17892 -1 attributes: {
17893 -1 allowed: [ 'aria-expanded' ]
17894 -1 },
17895 -1 owned: null,
17896 -1 namefrom: [ 'author' ],
17897 -1 context: null,
17898 -1 unsupported: false,
17899 -1 allowedElements: [ 'section' ]
-1 30994 'landmark-no-duplicate-banner': {
-1 30995 description: 'Ensures the document has at most one banner landmark',
-1 30996 help: 'Document must not have more than one banner landmark'
17900 30997 },
17901 -1 'doc-pagebreak': {
17902 -1 type: 'separator',
17903 -1 attributes: {
17904 -1 allowed: [ 'aria-expanded' ]
17905 -1 },
17906 -1 owned: null,
17907 -1 namefrom: [ 'author' ],
17908 -1 context: null,
17909 -1 unsupported: false,
17910 -1 allowedElements: [ 'hr' ]
-1 30998 'landmark-no-duplicate-contentinfo': {
-1 30999 description: 'Ensures the document has at most one contentinfo landmark',
-1 31000 help: 'Document must not have more than one contentinfo landmark'
17911 31001 },
17912 -1 'doc-pagelist': {
17913 -1 type: 'navigation',
17914 -1 attributes: {
17915 -1 allowed: [ 'aria-expanded' ]
17916 -1 },
17917 -1 owned: null,
17918 -1 namefrom: [ 'author' ],
17919 -1 context: null,
17920 -1 unsupported: false,
17921 -1 allowedElements: [ 'nav', 'section' ]
-1 31002 'landmark-no-duplicate-main': {
-1 31003 description: 'Ensures the document has at most one main landmark',
-1 31004 help: 'Document must not have more than one main landmark'
17922 31005 },
17923 -1 'doc-part': {
17924 -1 type: 'landmark',
17925 -1 attributes: {
17926 -1 allowed: [ 'aria-expanded' ]
17927 -1 },
17928 -1 owned: null,
17929 -1 namefrom: [ 'author' ],
17930 -1 context: null,
17931 -1 unsupported: false,
17932 -1 allowedElements: [ 'section' ]
-1 31006 'landmark-one-main': {
-1 31007 description: 'Ensures the document has a main landmark',
-1 31008 help: 'Document must have one main landmark'
17933 31009 },
17934 -1 'doc-preface': {
17935 -1 type: 'landmark',
17936 -1 attributes: {
17937 -1 allowed: [ 'aria-expanded' ]
17938 -1 },
17939 -1 owned: null,
17940 -1 namefrom: [ 'author' ],
17941 -1 context: null,
17942 -1 unsupported: false,
17943 -1 allowedElements: [ 'section' ]
-1 31010 'landmark-unique': {
-1 31011 help: 'Ensures landmarks are unique',
-1 31012 description: 'Landmarks must have a unique role or role/label/title (i.e. accessible name) combination'
17944 31013 },
17945 -1 'doc-prologue': {
17946 -1 type: 'landmark',
17947 -1 attributes: {
17948 -1 allowed: [ 'aria-expanded', 'aria-errormessage' ]
17949 -1 },
17950 -1 owned: null,
17951 -1 namefrom: [ 'author' ],
17952 -1 context: null,
17953 -1 unsupported: false,
17954 -1 allowedElements: [ 'section' ]
-1 31014 'link-in-text-block': {
-1 31015 description: 'Links can be distinguished without relying on color',
-1 31016 help: 'Links must be distinguished from surrounding text in a way that does not rely on color'
17955 31017 },
17956 -1 'doc-pullquote': {
17957 -1 type: 'none',
17958 -1 attributes: {
17959 -1 allowed: [ 'aria-expanded' ]
17960 -1 },
17961 -1 owned: null,
17962 -1 namefrom: [ 'author' ],
17963 -1 context: null,
17964 -1 unsupported: false,
17965 -1 allowedElements: [ 'aside', 'section' ]
-1 31018 'link-name': {
-1 31019 description: 'Ensures links have discernible text',
-1 31020 help: 'Links must have discernible text'
17966 31021 },
17967 -1 'doc-qna': {
17968 -1 type: 'section',
17969 -1 attributes: {
17970 -1 allowed: [ 'aria-expanded' ]
17971 -1 },
17972 -1 owned: null,
17973 -1 namefrom: [ 'author' ],
17974 -1 context: null,
17975 -1 unsupported: false,
17976 -1 allowedElements: [ 'section' ]
-1 31022 list: {
-1 31023 description: 'Ensures that lists are structured correctly',
-1 31024 help: '<ul> and <ol> must only directly contain <li>, <script> or <template> elements'
17977 31025 },
17978 -1 'doc-subtitle': {
17979 -1 type: 'sectionhead',
17980 -1 attributes: {
17981 -1 allowed: [ 'aria-expanded' ]
17982 -1 },
17983 -1 owned: null,
17984 -1 namefrom: [ 'author' ],
17985 -1 context: null,
17986 -1 unsupported: false,
17987 -1 allowedElements: {
17988 -1 nodeName: [ 'h1', 'h2', 'h3', 'h4', 'h5', 'h6' ]
17989 -1 }
-1 31026 listitem: {
-1 31027 description: 'Ensures <li> elements are used semantically',
-1 31028 help: '<li> elements must be contained in a <ul> or <ol>'
17990 31029 },
17991 -1 'doc-tip': {
17992 -1 type: 'note',
17993 -1 attributes: {
17994 -1 allowed: [ 'aria-expanded' ]
17995 -1 },
17996 -1 owned: null,
17997 -1 namefrom: [ 'author' ],
17998 -1 context: null,
17999 -1 unsupported: false,
18000 -1 allowedElements: [ 'aside' ]
-1 31030 marquee: {
-1 31031 description: 'Ensures <marquee> elements are not used',
-1 31032 help: '<marquee> elements are deprecated and must not be used'
18001 31033 },
18002 -1 'doc-toc': {
18003 -1 type: 'navigation',
18004 -1 attributes: {
18005 -1 allowed: [ 'aria-expanded', 'aria-errormessage' ]
18006 -1 },
18007 -1 owned: null,
18008 -1 namefrom: [ 'author' ],
18009 -1 context: null,
18010 -1 unsupported: false,
18011 -1 allowedElements: [ 'nav', 'section' ]
-1 31034 'meta-refresh': {
-1 31035 description: 'Ensures <meta http-equiv="refresh"> is not used',
-1 31036 help: 'Timed refresh must not exist'
18012 31037 },
18013 -1 feed: {
18014 -1 type: 'structure',
18015 -1 attributes: {
18016 -1 allowed: [ 'aria-expanded', 'aria-errormessage' ]
18017 -1 },
18018 -1 owned: {
18019 -1 one: [ 'article' ]
18020 -1 },
18021 -1 nameFrom: [ 'author' ],
18022 -1 context: null,
18023 -1 unsupported: false,
18024 -1 allowedElements: [ 'article', 'aside', 'section' ]
-1 31038 'meta-viewport-large': {
-1 31039 description: 'Ensures <meta name="viewport"> can scale a significant amount',
-1 31040 help: 'Users should be able to zoom and scale the text up to 500%'
18025 31041 },
18026 -1 figure: {
18027 -1 type: 'structure',
18028 -1 unsupported: true
-1 31042 'meta-viewport': {
-1 31043 description: 'Ensures <meta name="viewport"> does not disable text scaling and zooming',
-1 31044 help: 'Zooming and scaling must not be disabled'
18029 31045 },
18030 -1 form: {
18031 -1 type: 'landmark',
18032 -1 attributes: {
18033 -1 allowed: [ 'aria-expanded', 'aria-errormessage' ]
18034 -1 },
18035 -1 owned: null,
18036 -1 nameFrom: [ 'author' ],
18037 -1 context: null,
18038 -1 implicit: [ 'form' ],
18039 -1 unsupported: false
-1 31046 'no-autoplay-audio': {
-1 31047 description: 'Ensures <video> or <audio> elements do not autoplay audio for more than 3 seconds without a control mechanism to stop or mute the audio',
-1 31048 help: '<video> or <audio> elements do not autoplay audio'
18040 31049 },
18041 -1 grid: {
18042 -1 type: 'composite',
18043 -1 attributes: {
18044 -1 allowed: [ 'aria-activedescendant', 'aria-expanded', 'aria-colcount', 'aria-level', 'aria-multiselectable', 'aria-readonly', 'aria-rowcount', 'aria-errormessage' ]
18045 -1 },
18046 -1 owned: {
18047 -1 one: [ 'rowgroup', 'row' ]
18048 -1 },
18049 -1 nameFrom: [ 'author' ],
18050 -1 context: null,
18051 -1 implicit: [ 'table' ],
18052 -1 unsupported: false
-1 31050 'object-alt': {
-1 31051 description: 'Ensures <object> elements have alternate text',
-1 31052 help: '<object> elements must have alternate text'
18053 31053 },
18054 -1 gridcell: {
18055 -1 type: 'widget',
18056 -1 attributes: {
18057 -1 allowed: [ 'aria-colindex', 'aria-colspan', 'aria-expanded', 'aria-rowindex', 'aria-rowspan', 'aria-selected', 'aria-readonly', 'aria-required', 'aria-errormessage' ]
18058 -1 },
18059 -1 owned: null,
18060 -1 nameFrom: [ 'author', 'contents' ],
18061 -1 context: [ 'row' ],
18062 -1 implicit: [ 'td', 'th' ],
18063 -1 unsupported: false
-1 31054 'p-as-heading': {
-1 31055 description: 'Ensure p elements are not used to style headings',
-1 31056 help: 'Bold, italic text and font-size are not used to style p elements as a heading'
18064 31057 },
18065 -1 group: {
18066 -1 type: 'structure',
18067 -1 attributes: {
18068 -1 allowed: [ 'aria-activedescendant', 'aria-expanded', 'aria-errormessage' ]
18069 -1 },
18070 -1 owned: null,
18071 -1 nameFrom: [ 'author' ],
18072 -1 context: null,
18073 -1 implicit: [ 'details', 'optgroup' ],
18074 -1 unsupported: false,
18075 -1 allowedElements: [ 'dl', 'figcaption', 'fieldset', 'figure', 'footer', 'header', 'ol', 'ul' ]
-1 31058 'page-has-heading-one': {
-1 31059 description: 'Ensure that the page, or at least one of its frames contains a level-one heading',
-1 31060 help: 'Page must contain a level-one heading'
18076 31061 },
18077 -1 heading: {
18078 -1 type: 'structure',
18079 -1 attributes: {
18080 -1 required: [ 'aria-level' ],
18081 -1 allowed: [ 'aria-expanded', 'aria-errormessage' ]
18082 -1 },
18083 -1 owned: null,
18084 -1 nameFrom: [ 'author', 'contents' ],
18085 -1 context: null,
18086 -1 implicit: [ 'h1', 'h2', 'h3', 'h4', 'h5', 'h6' ],
18087 -1 unsupported: false
-1 31062 region: {
-1 31063 description: 'Ensures all page content is contained by landmarks',
-1 31064 help: 'All page content must be contained by landmarks'
18088 31065 },
18089 -1 img: {
18090 -1 type: 'structure',
18091 -1 attributes: {
18092 -1 allowed: [ 'aria-expanded', 'aria-errormessage' ]
18093 -1 },
18094 -1 owned: null,
18095 -1 nameFrom: [ 'author' ],
18096 -1 context: null,
18097 -1 implicit: [ 'img' ],
18098 -1 unsupported: false,
18099 -1 allowedElements: [ 'embed', 'iframe', 'object', 'svg' ]
-1 31066 'role-img-alt': {
-1 31067 description: 'Ensures [role=\'img\'] elements have alternate text',
-1 31068 help: '[role=\'img\'] elements have an alternative text'
18100 31069 },
18101 -1 input: {
18102 -1 nameFrom: [ 'author' ],
18103 -1 type: 'abstract',
18104 -1 unsupported: false
-1 31070 'scope-attr-valid': {
-1 31071 description: 'Ensures the scope attribute is used correctly on tables',
-1 31072 help: 'scope attribute should be used correctly'
18105 31073 },
18106 -1 landmark: {
18107 -1 nameFrom: [ 'author' ],
18108 -1 type: 'abstract',
18109 -1 unsupported: false
-1 31074 'scrollable-region-focusable': {
-1 31075 description: 'Elements that have scrollable content should be accessible by keyboard',
-1 31076 help: 'Ensure that scrollable region has keyboard access'
18110 31077 },
18111 -1 link: {
18112 -1 type: 'widget',
18113 -1 attributes: {
18114 -1 allowed: [ 'aria-expanded', 'aria-errormessage' ]
18115 -1 },
18116 -1 owned: null,
18117 -1 nameFrom: [ 'author', 'contents' ],
18118 -1 context: null,
18119 -1 implicit: [ 'a[href]' ],
18120 -1 unsupported: false,
18121 -1 allowedElements: [ 'button', {
18122 -1 nodeName: 'input',
18123 -1 properties: {
18124 -1 type: [ 'image', 'button' ]
18125 -1 }
18126 -1 } ]
-1 31078 'server-side-image-map': {
-1 31079 description: 'Ensures that server-side image maps are not used',
-1 31080 help: 'Server-side image maps must not be used'
18127 31081 },
18128 -1 list: {
18129 -1 type: 'structure',
18130 -1 attributes: {
18131 -1 allowed: [ 'aria-expanded', 'aria-errormessage' ]
18132 -1 },
18133 -1 owned: {
18134 -1 all: [ 'listitem' ]
18135 -1 },
18136 -1 nameFrom: [ 'author' ],
18137 -1 context: null,
18138 -1 implicit: [ 'ol', 'ul', 'dl' ],
18139 -1 unsupported: false
-1 31082 'skip-link': {
-1 31083 description: 'Ensure all skip links have a focusable target',
-1 31084 help: 'The skip-link target should exist and be focusable'
18140 31085 },
18141 -1 listbox: {
18142 -1 type: 'composite',
18143 -1 attributes: {
18144 -1 allowed: [ 'aria-activedescendant', 'aria-multiselectable', 'aria-required', 'aria-expanded', 'aria-orientation', 'aria-errormessage' ]
18145 -1 },
18146 -1 owned: {
18147 -1 all: [ 'option' ]
18148 -1 },
18149 -1 nameFrom: [ 'author' ],
18150 -1 context: null,
18151 -1 implicit: [ 'select' ],
18152 -1 unsupported: false,
18153 -1 allowedElements: [ 'ol', 'ul' ]
-1 31086 'svg-img-alt': {
-1 31087 description: 'Ensures svg elements with an img, graphics-document or graphics-symbol role have an accessible text',
-1 31088 help: 'svg elements with an img role have an alternative text'
18154 31089 },
18155 -1 listitem: {
18156 -1 type: 'structure',
18157 -1 attributes: {
18158 -1 allowed: [ 'aria-level', 'aria-posinset', 'aria-setsize', 'aria-expanded', 'aria-errormessage' ]
18159 -1 },
18160 -1 owned: null,
18161 -1 nameFrom: [ 'author', 'contents' ],
18162 -1 context: [ 'list' ],
18163 -1 implicit: [ 'li', 'dt' ],
18164 -1 unsupported: false
-1 31090 tabindex: {
-1 31091 description: 'Ensures tabindex attribute values are not greater than 0',
-1 31092 help: 'Elements should not have tabindex greater than zero'
18165 31093 },
18166 -1 log: {
18167 -1 type: 'widget',
18168 -1 attributes: {
18169 -1 allowed: [ 'aria-expanded', 'aria-errormessage' ]
18170 -1 },
18171 -1 owned: null,
18172 -1 nameFrom: [ 'author' ],
18173 -1 context: null,
18174 -1 unsupported: false,
18175 -1 allowedElements: [ 'section' ]
-1 31094 'table-duplicate-name': {
-1 31095 description: 'Ensure that tables do not have the same summary and caption',
-1 31096 help: 'The <caption> element should not contain the same text as the summary attribute'
18176 31097 },
18177 -1 main: {
18178 -1 type: 'landmark',
18179 -1 attributes: {
18180 -1 allowed: [ 'aria-expanded', 'aria-errormessage' ]
18181 -1 },
18182 -1 owned: null,
18183 -1 nameFrom: [ 'author' ],
18184 -1 context: null,
18185 -1 implicit: [ 'main' ],
18186 -1 unsupported: false,
18187 -1 allowedElements: [ 'article', 'section' ]
-1 31098 'table-fake-caption': {
-1 31099 description: 'Ensure that tables with a caption use the <caption> element.',
-1 31100 help: 'Data or header cells should not be used to give caption to a data table.'
18188 31101 },
18189 -1 marquee: {
18190 -1 type: 'widget',
18191 -1 attributes: {
18192 -1 allowed: [ 'aria-expanded', 'aria-errormessage' ]
18193 -1 },
18194 -1 owned: null,
18195 -1 nameFrom: [ 'author' ],
18196 -1 context: null,
18197 -1 unsupported: false,
18198 -1 allowedElements: [ 'section' ]
-1 31102 'td-has-header': {
-1 31103 description: 'Ensure that each non-empty data cell in a large table has one or more table headers',
-1 31104 help: 'All non-empty td element in table larger than 3 by 3 must have an associated table header'
18199 31105 },
18200 -1 math: {
18201 -1 type: 'structure',
18202 -1 attributes: {
18203 -1 allowed: [ 'aria-expanded', 'aria-errormessage' ]
18204 -1 },
18205 -1 owned: null,
18206 -1 nameFrom: [ 'author' ],
18207 -1 context: null,
18208 -1 implicit: [ 'math' ],
18209 -1 unsupported: false
-1 31106 'td-headers-attr': {
-1 31107 description: 'Ensure that each cell in a table using the headers refers to another cell in that table',
-1 31108 help: 'All cells in a table element that use the headers attribute must only refer to other cells of that same table'
18210 31109 },
18211 -1 menu: {
18212 -1 type: 'composite',
18213 -1 attributes: {
18214 -1 allowed: [ 'aria-activedescendant', 'aria-expanded', 'aria-orientation', 'aria-errormessage' ]
18215 -1 },
18216 -1 owned: {
18217 -1 one: [ 'menuitem', 'menuitemradio', 'menuitemcheckbox' ]
18218 -1 },
18219 -1 nameFrom: [ 'author' ],
18220 -1 context: null,
18221 -1 implicit: [ 'menu[type="context"]' ],
18222 -1 unsupported: false,
18223 -1 allowedElements: [ 'ol', 'ul' ]
-1 31110 'th-has-data-cells': {
-1 31111 description: 'Ensure that each table header in a data table refers to data cells',
-1 31112 help: 'All th elements and elements with role=columnheader/rowheader must have data cells they describe'
18224 31113 },
18225 -1 menubar: {
18226 -1 type: 'composite',
18227 -1 attributes: {
18228 -1 allowed: [ 'aria-activedescendant', 'aria-expanded', 'aria-orientation', 'aria-errormessage' ]
18229 -1 },
18230 -1 owned: null,
18231 -1 nameFrom: [ 'author' ],
18232 -1 context: null,
18233 -1 unsupported: false,
18234 -1 allowedElements: [ 'ol', 'ul' ]
-1 31114 'valid-lang': {
-1 31115 description: 'Ensures lang attributes have valid values',
-1 31116 help: 'lang attribute must have a valid value'
18235 31117 },
18236 -1 menuitem: {
18237 -1 type: 'widget',
18238 -1 attributes: {
18239 -1 allowed: [ 'aria-posinset', 'aria-setsize', 'aria-expanded', 'aria-errormessage' ]
18240 -1 },
18241 -1 owned: null,
18242 -1 nameFrom: [ 'author', 'contents' ],
18243 -1 context: [ 'menu', 'menubar' ],
18244 -1 implicit: [ 'menuitem[type="command"]' ],
18245 -1 unsupported: false,
18246 -1 allowedElements: [ 'button', 'li', {
18247 -1 nodeName: 'iput',
18248 -1 properties: {
18249 -1 type: [ 'image', 'button' ]
18250 -1 }
18251 -1 }, {
18252 -1 nodeName: 'a',
18253 -1 attributes: {
18254 -1 href: isNotNull
18255 -1 }
18256 -1 } ]
-1 31118 'video-caption': {
-1 31119 description: 'Ensures <video> elements have captions',
-1 31120 help: '<video> elements must have captions'
-1 31121 }
-1 31122 },
-1 31123 checks: {
-1 31124 accesskeys: {
-1 31125 impact: 'serious',
-1 31126 messages: {
-1 31127 pass: 'Accesskey attribute value is unique',
-1 31128 fail: 'Document has multiple elements with the same accesskey'
-1 31129 }
18257 31130 },
18258 -1 menuitemcheckbox: {
18259 -1 type: 'widget',
18260 -1 attributes: {
18261 -1 allowed: [ 'aria-checked', 'aria-posinset', 'aria-setsize', 'aria-errormessage' ]
18262 -1 },
18263 -1 owned: null,
18264 -1 nameFrom: [ 'author', 'contents' ],
18265 -1 context: [ 'menu', 'menubar' ],
18266 -1 implicit: [ 'menuitem[type="checkbox"]' ],
18267 -1 unsupported: false,
18268 -1 allowedElements: [ {
18269 -1 nodeName: [ 'button', 'li' ]
18270 -1 }, {
18271 -1 nodeName: 'input',
18272 -1 properties: {
18273 -1 type: [ 'checkbox', 'image', 'button' ]
18274 -1 }
18275 -1 }, {
18276 -1 nodeName: 'a',
18277 -1 attributes: {
18278 -1 href: isNotNull
18279 -1 }
18280 -1 } ]
-1 31131 'non-empty-alt': {
-1 31132 impact: 'critical',
-1 31133 messages: {
-1 31134 pass: 'Element has a non-empty alt attribute',
-1 31135 fail: 'Element has no alt attribute or the alt attribute is empty'
-1 31136 }
18281 31137 },
18282 -1 menuitemradio: {
18283 -1 type: 'widget',
18284 -1 attributes: {
18285 -1 allowed: [ 'aria-checked', 'aria-selected', 'aria-posinset', 'aria-setsize', 'aria-errormessage' ]
18286 -1 },
18287 -1 owned: null,
18288 -1 nameFrom: [ 'author', 'contents' ],
18289 -1 context: [ 'menu', 'menubar' ],
18290 -1 implicit: [ 'menuitem[type="radio"]' ],
18291 -1 unsupported: false,
18292 -1 allowedElements: [ {
18293 -1 nodeName: [ 'button', 'li' ]
18294 -1 }, {
18295 -1 nodeName: 'input',
18296 -1 properties: {
18297 -1 type: [ 'image', 'button', 'radio' ]
18298 -1 }
18299 -1 }, {
18300 -1 nodeName: 'a',
18301 -1 attributes: {
18302 -1 href: isNotNull
-1 31138 'non-empty-title': {
-1 31139 impact: 'serious',
-1 31140 messages: {
-1 31141 pass: 'Element has a title attribute',
-1 31142 fail: 'Element has no title attribute or the title attribute is empty'
-1 31143 }
-1 31144 },
-1 31145 'aria-label': {
-1 31146 impact: 'serious',
-1 31147 messages: {
-1 31148 pass: 'aria-label attribute exists and is not empty',
-1 31149 fail: 'aria-label attribute does not exist or is empty'
-1 31150 }
-1 31151 },
-1 31152 'aria-labelledby': {
-1 31153 impact: 'serious',
-1 31154 messages: {
-1 31155 pass: 'aria-labelledby attribute exists and references elements that are visible to screen readers',
-1 31156 fail: 'aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty',
-1 31157 incomplete: 'ensure aria-labelledby references an existing element'
-1 31158 }
-1 31159 },
-1 31160 'aria-allowed-attr': {
-1 31161 impact: 'critical',
-1 31162 messages: {
-1 31163 pass: 'ARIA attributes are used correctly for the defined role',
-1 31164 fail: {
-1 31165 singular: 'ARIA attribute is not allowed: ${data.values}',
-1 31166 plural: 'ARIA attributes are not allowed: ${data.values}'
18303 31167 }
18304 -1 } ]
-1 31168 }
18305 31169 },
18306 -1 navigation: {
18307 -1 type: 'landmark',
18308 -1 attributes: {
18309 -1 allowed: [ 'aria-expanded', 'aria-errormessage' ]
18310 -1 },
18311 -1 owned: null,
18312 -1 nameFrom: [ 'author' ],
18313 -1 context: null,
18314 -1 implicit: [ 'nav' ],
18315 -1 unsupported: false,
18316 -1 allowedElements: [ 'section' ]
-1 31170 'aria-unsupported-attr': {
-1 31171 impact: 'critical',
-1 31172 messages: {
-1 31173 pass: 'ARIA attribute is supported',
-1 31174 fail: 'ARIA attribute is not widely supported in screen readers and assistive technologies: ${data.values}'
-1 31175 }
18317 31176 },
18318 -1 none: {
18319 -1 type: 'structure',
18320 -1 attributes: null,
18321 -1 owned: null,
18322 -1 nameFrom: [ 'author' ],
18323 -1 context: null,
18324 -1 unsupported: false,
18325 -1 allowedElements: [ {
18326 -1 nodeName: [ 'article', 'aside', 'dl', 'embed', 'figcaption', 'fieldset', 'figure', 'footer', 'form', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'header', 'iframe', 'li', 'ol', 'section', 'ul' ]
18327 -1 }, {
18328 -1 nodeName: 'img',
18329 -1 attributes: {
18330 -1 alt: isNotNull
-1 31177 'aria-allowed-role': {
-1 31178 impact: 'minor',
-1 31179 messages: {
-1 31180 pass: 'ARIA role is allowed for given element',
-1 31181 fail: {
-1 31182 singular: 'ARIA role ${data.values} is not allowed for given element',
-1 31183 plural: 'ARIA roles ${data.values} are not allowed for given element'
-1 31184 },
-1 31185 incomplete: {
-1 31186 singular: 'ARIA role ${data.values} must be removed when the element is made visible, as it is not allowed for the element',
-1 31187 plural: 'ARIA roles ${data.values} must be removed when the element is made visible, as they are not allowed for the element'
18331 31188 }
18332 -1 } ]
-1 31189 }
18333 31190 },
18334 -1 note: {
18335 -1 type: 'structure',
18336 -1 attributes: {
18337 -1 allowed: [ 'aria-expanded', 'aria-errormessage' ]
18338 -1 },
18339 -1 owned: null,
18340 -1 nameFrom: [ 'author' ],
18341 -1 context: null,
18342 -1 unsupported: false,
18343 -1 allowedElements: [ 'aside' ]
-1 31191 'aria-hidden-body': {
-1 31192 impact: 'critical',
-1 31193 messages: {
-1 31194 pass: 'No aria-hidden attribute is present on document body',
-1 31195 fail: 'aria-hidden=true should not be present on the document body'
-1 31196 }
18344 31197 },
18345 -1 option: {
18346 -1 type: 'widget',
18347 -1 attributes: {
18348 -1 allowed: [ 'aria-selected', 'aria-posinset', 'aria-setsize', 'aria-checked', 'aria-errormessage' ]
18349 -1 },
18350 -1 owned: null,
18351 -1 nameFrom: [ 'author', 'contents' ],
18352 -1 context: [ 'listbox' ],
18353 -1 implicit: [ 'option' ],
18354 -1 unsupported: false,
18355 -1 allowedElements: [ {
18356 -1 nodeName: [ 'button', 'li' ]
18357 -1 }, {
18358 -1 nodeName: 'input',
18359 -1 properties: {
18360 -1 type: [ 'checkbox', 'button' ]
18361 -1 }
18362 -1 }, {
18363 -1 nodeName: 'a',
18364 -1 attributes: {
18365 -1 href: isNotNull
18366 -1 }
18367 -1 } ]
-1 31198 'focusable-modal-open': {
-1 31199 impact: 'serious',
-1 31200 messages: {
-1 31201 pass: 'No focusable elements while a modal is open',
-1 31202 incomplete: 'Check that focusable elements are not tabbable in the current state'
-1 31203 }
18368 31204 },
18369 -1 presentation: {
18370 -1 type: 'structure',
18371 -1 attributes: null,
18372 -1 owned: null,
18373 -1 nameFrom: [ 'author' ],
18374 -1 context: null,
18375 -1 unsupported: false,
18376 -1 allowedElements: [ {
18377 -1 nodeName: [ 'article', 'aside', 'dl', 'embed', 'figcaption', 'fieldset', 'figure', 'footer', 'form', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'header', 'iframe', 'li', 'ol', 'section', 'ul' ]
18378 -1 }, {
18379 -1 nodeName: 'img',
18380 -1 attributes: {
18381 -1 alt: isNotNull
18382 -1 }
18383 -1 } ]
-1 31205 'focusable-disabled': {
-1 31206 impact: 'serious',
-1 31207 messages: {
-1 31208 pass: 'No focusable elements contained within element',
-1 31209 fail: 'Focusable content should be disabled or be removed from the DOM'
-1 31210 }
18384 31211 },
18385 -1 progressbar: {
18386 -1 type: 'widget',
18387 -1 attributes: {
18388 -1 allowed: [ 'aria-valuetext', 'aria-valuenow', 'aria-valuemax', 'aria-valuemin', 'aria-expanded', 'aria-errormessage' ]
18389 -1 },
18390 -1 owned: null,
18391 -1 nameFrom: [ 'author' ],
18392 -1 context: null,
18393 -1 implicit: [ 'progress' ],
18394 -1 unsupported: false
-1 31212 'focusable-not-tabbable': {
-1 31213 impact: 'serious',
-1 31214 messages: {
-1 31215 pass: 'No focusable elements contained within element',
-1 31216 fail: 'Focusable content should have tabindex=\'-1\' or be removed from the DOM'
-1 31217 }
18395 31218 },
18396 -1 radio: {
18397 -1 type: 'widget',
18398 -1 attributes: {
18399 -1 allowed: [ 'aria-selected', 'aria-posinset', 'aria-setsize', 'aria-required', 'aria-errormessage' ],
18400 -1 required: [ 'aria-checked' ]
18401 -1 },
18402 -1 owned: null,
18403 -1 nameFrom: [ 'author', 'contents' ],
18404 -1 context: null,
18405 -1 implicit: [ 'input[type="radio"]' ],
18406 -1 unsupported: false,
18407 -1 allowedElements: [ {
18408 -1 nodeName: [ 'button', 'li' ]
18409 -1 }, {
18410 -1 nodeName: 'input',
18411 -1 properties: {
18412 -1 type: [ 'image', 'button' ]
-1 31219 'no-implicit-explicit-label': {
-1 31220 impact: 'moderate',
-1 31221 messages: {
-1 31222 pass: 'There is no mismatch between a <label> and accessible name',
-1 31223 incomplete: 'Check that the <label> does not need be part of the ARIA ${data} field\'s name'
-1 31224 }
-1 31225 },
-1 31226 'aria-required-attr': {
-1 31227 impact: 'critical',
-1 31228 messages: {
-1 31229 pass: 'All required ARIA attributes are present',
-1 31230 fail: {
-1 31231 singular: 'Required ARIA attribute not present: ${data.values}',
-1 31232 plural: 'Required ARIA attributes not present: ${data.values}'
18413 31233 }
18414 -1 } ]
-1 31234 }
18415 31235 },
18416 -1 radiogroup: {
18417 -1 type: 'composite',
18418 -1 attributes: {
18419 -1 allowed: [ 'aria-activedescendant', 'aria-required', 'aria-expanded', 'aria-readonly', 'aria-errormessage' ]
18420 -1 },
18421 -1 owned: {
18422 -1 all: [ 'radio' ]
18423 -1 },
18424 -1 nameFrom: [ 'author' ],
18425 -1 context: null,
18426 -1 unsupported: false,
18427 -1 allowedElements: {
18428 -1 nodeName: [ 'ol', 'ul' ]
-1 31236 'aria-required-children': {
-1 31237 impact: 'critical',
-1 31238 messages: {
-1 31239 pass: 'Required ARIA children are present',
-1 31240 fail: {
-1 31241 singular: 'Required ARIA child role not present: ${data.values}',
-1 31242 plural: 'Required ARIA children role not present: ${data.values}'
-1 31243 },
-1 31244 incomplete: {
-1 31245 singular: 'Expecting ARIA child role to be added: ${data.values}',
-1 31246 plural: 'Expecting ARIA children role to be added: ${data.values}'
-1 31247 }
18429 31248 }
18430 31249 },
18431 -1 range: {
18432 -1 nameFrom: [ 'author' ],
18433 -1 type: 'abstract',
18434 -1 unsupported: false
-1 31250 'aria-required-parent': {
-1 31251 impact: 'critical',
-1 31252 messages: {
-1 31253 pass: 'Required ARIA parent role present',
-1 31254 fail: {
-1 31255 singular: 'Required ARIA parent role not present: ${data.values}',
-1 31256 plural: 'Required ARIA parents role not present: ${data.values}'
-1 31257 }
-1 31258 }
18435 31259 },
18436 -1 region: {
18437 -1 type: 'landmark',
18438 -1 attributes: {
18439 -1 allowed: [ 'aria-expanded', 'aria-errormessage' ]
18440 -1 },
18441 -1 owned: null,
18442 -1 nameFrom: [ 'author' ],
18443 -1 context: null,
18444 -1 implicit: [ 'section[aria-label]', 'section[aria-labelledby]', 'section[title]' ],
18445 -1 unsupported: false,
18446 -1 allowedElements: {
18447 -1 nodeName: [ 'article', 'aside' ]
-1 31260 'aria-roledescription': {
-1 31261 impact: 'serious',
-1 31262 messages: {
-1 31263 pass: 'aria-roledescription used on a supported semantic role',
-1 31264 incomplete: 'Check that the aria-roledescription is announced by supported screen readers',
-1 31265 fail: 'Give the element a role that supports aria-roledescription'
18448 31266 }
18449 31267 },
18450 -1 roletype: {
18451 -1 type: 'abstract',
18452 -1 unsupported: false
-1 31268 fallbackrole: {
-1 31269 impact: 'serious',
-1 31270 messages: {
-1 31271 pass: 'Only one role value used',
-1 31272 fail: 'Use only one role value, since fallback roles are not supported in older browsers'
-1 31273 }
18453 31274 },
18454 -1 row: {
18455 -1 type: 'structure',
18456 -1 attributes: {
18457 -1 allowed: [ 'aria-activedescendant', 'aria-colindex', 'aria-expanded', 'aria-level', 'aria-selected', 'aria-rowindex', 'aria-errormessage' ]
18458 -1 },
18459 -1 owned: {
18460 -1 one: [ 'cell', 'columnheader', 'rowheader', 'gridcell' ]
18461 -1 },
18462 -1 nameFrom: [ 'author', 'contents' ],
18463 -1 context: [ 'rowgroup', 'grid', 'treegrid', 'table' ],
18464 -1 implicit: [ 'tr' ],
18465 -1 unsupported: false
-1 31275 invalidrole: {
-1 31276 impact: 'critical',
-1 31277 messages: {
-1 31278 pass: 'ARIA role is valid',
-1 31279 fail: {
-1 31280 singular: 'Role must be one of the valid ARIA roles: ${data.values}',
-1 31281 plural: 'Roles must be one of the valid ARIA roles: ${data.values}'
-1 31282 }
-1 31283 }
18466 31284 },
18467 -1 rowgroup: {
18468 -1 type: 'structure',
18469 -1 attributes: {
18470 -1 allowed: [ 'aria-activedescendant', 'aria-expanded', 'aria-errormessage' ]
18471 -1 },
18472 -1 owned: {
18473 -1 all: [ 'row' ]
18474 -1 },
18475 -1 nameFrom: [ 'author', 'contents' ],
18476 -1 context: [ 'grid', 'table' ],
18477 -1 implicit: [ 'tbody', 'thead', 'tfoot' ],
18478 -1 unsupported: false
-1 31285 abstractrole: {
-1 31286 impact: 'serious',
-1 31287 messages: {
-1 31288 pass: 'Abstract roles are not used',
-1 31289 fail: {
-1 31290 singular: 'Abstract role cannot be directly used: ${data.values}',
-1 31291 plural: 'Abstract roles cannot be directly used: ${data.values}'
-1 31292 }
-1 31293 }
18479 31294 },
18480 -1 rowheader: {
18481 -1 type: 'structure',
18482 -1 attributes: {
18483 -1 allowed: [ 'aria-colindex', 'aria-colspan', 'aria-expanded', 'aria-rowindex', 'aria-rowspan', 'aria-required', 'aria-readonly', 'aria-selected', 'aria-sort', 'aria-errormessage' ]
18484 -1 },
18485 -1 owned: null,
18486 -1 nameFrom: [ 'author', 'contents' ],
18487 -1 context: [ 'row' ],
18488 -1 implicit: [ 'th' ],
18489 -1 unsupported: false
-1 31295 unsupportedrole: {
-1 31296 impact: 'critical',
-1 31297 messages: {
-1 31298 pass: 'ARIA role is supported',
-1 31299 fail: 'The role used is not widely supported in screen readers and assistive technologies: ${data.values}'
-1 31300 }
18490 31301 },
18491 -1 scrollbar: {
18492 -1 type: 'widget',
18493 -1 attributes: {
18494 -1 required: [ 'aria-controls', 'aria-valuenow', 'aria-valuemax', 'aria-valuemin' ],
18495 -1 allowed: [ 'aria-valuetext', 'aria-orientation', 'aria-errormessage' ]
18496 -1 },
18497 -1 owned: null,
18498 -1 nameFrom: [ 'author' ],
18499 -1 context: null,
18500 -1 unsupported: false
-1 31302 'has-visible-text': {
-1 31303 impact: 'minor',
-1 31304 messages: {
-1 31305 pass: 'Element has text that is visible to screen readers',
-1 31306 fail: 'Element does not have text that is visible to screen readers',
-1 31307 incomplete: 'Unable to determine if element has children'
-1 31308 }
18501 31309 },
18502 -1 search: {
18503 -1 type: 'landmark',
18504 -1 attributes: {
18505 -1 allowed: [ 'aria-expanded', 'aria-errormessage' ]
18506 -1 },
18507 -1 owned: null,
18508 -1 nameFrom: [ 'author' ],
18509 -1 context: null,
18510 -1 unsupported: false,
18511 -1 allowedElements: {
18512 -1 nodeName: [ 'aside', 'form', 'section' ]
-1 31310 'aria-valid-attr-value': {
-1 31311 impact: 'critical',
-1 31312 messages: {
-1 31313 pass: 'ARIA attribute values are valid',
-1 31314 fail: {
-1 31315 singular: 'Invalid ARIA attribute value: ${data.values}',
-1 31316 plural: 'Invalid ARIA attribute values: ${data.values}'
-1 31317 },
-1 31318 incomplete: {
-1 31319 noId: 'ARIA attribute element ID does not exist on the page: ${data.needsReview}',
-1 31320 ariaCurrent: 'ARIA attribute value is invalid and will be treated as "aria-current=true": ${data.needsReview}'
-1 31321 }
18513 31322 }
18514 31323 },
18515 -1 searchbox: {
18516 -1 type: 'widget',
18517 -1 attributes: {
18518 -1 allowed: [ 'aria-activedescendant', 'aria-autocomplete', 'aria-multiline', 'aria-readonly', 'aria-required', 'aria-placeholder', 'aria-errormessage' ]
18519 -1 },
18520 -1 owned: null,
18521 -1 nameFrom: [ 'author' ],
18522 -1 context: null,
18523 -1 implicit: [ 'input[type="search"]' ],
18524 -1 unsupported: false,
18525 -1 allowedElements: {
18526 -1 nodeName: 'input',
18527 -1 properties: {
18528 -1 type: 'text'
-1 31324 'aria-errormessage': {
-1 31325 impact: 'critical',
-1 31326 messages: {
-1 31327 pass: 'Uses a supported aria-errormessage technique',
-1 31328 fail: {
-1 31329 singular: 'aria-errormessage value `${data.values}` must use a technique to announce the message (e.g., aria-live, aria-describedby, role=alert, etc.)',
-1 31330 plural: 'aria-errormessage values `${data.values}` must use a technique to announce the message (e.g., aria-live, aria-describedby, role=alert, etc.)'
18529 31331 }
18530 31332 }
18531 31333 },
18532 -1 section: {
18533 -1 nameFrom: [ 'author', 'contents' ],
18534 -1 type: 'abstract',
18535 -1 unsupported: false
18536 -1 },
18537 -1 sectionhead: {
18538 -1 nameFrom: [ 'author', 'contents' ],
18539 -1 type: 'abstract',
18540 -1 unsupported: false
-1 31334 'aria-valid-attr': {
-1 31335 impact: 'critical',
-1 31336 messages: {
-1 31337 pass: 'ARIA attribute name is valid',
-1 31338 fail: {
-1 31339 singular: 'Invalid ARIA attribute name: ${data.values}',
-1 31340 plural: 'Invalid ARIA attribute names: ${data.values}'
-1 31341 }
-1 31342 }
18541 31343 },
18542 -1 select: {
18543 -1 nameFrom: [ 'author' ],
18544 -1 type: 'abstract',
18545 -1 unsupported: false
-1 31344 caption: {
-1 31345 impact: 'critical',
-1 31346 messages: {
-1 31347 pass: 'The multimedia element has a captions track',
-1 31348 incomplete: 'Check that captions is available for the element'
-1 31349 }
18546 31350 },
18547 -1 separator: {
18548 -1 type: 'structure',
18549 -1 attributes: {
18550 -1 allowed: [ 'aria-expanded', 'aria-orientation', 'aria-valuenow', 'aria-valuemax', 'aria-valuemin', 'aria-valuetext', 'aria-errormessage' ]
18551 -1 },
18552 -1 owned: null,
18553 -1 nameFrom: [ 'author' ],
18554 -1 context: null,
18555 -1 implicit: [ 'hr' ],
18556 -1 unsupported: false,
18557 -1 allowedElements: [ 'li' ]
-1 31351 'autocomplete-valid': {
-1 31352 impact: 'serious',
-1 31353 messages: {
-1 31354 pass: 'the autocomplete attribute is correctly formatted',
-1 31355 fail: 'the autocomplete attribute is incorrectly formatted'
-1 31356 }
18558 31357 },
18559 -1 slider: {
18560 -1 type: 'widget',
18561 -1 attributes: {
18562 -1 allowed: [ 'aria-valuetext', 'aria-orientation', 'aria-readonly', 'aria-errormessage' ],
18563 -1 required: [ 'aria-valuenow', 'aria-valuemax', 'aria-valuemin' ]
18564 -1 },
18565 -1 owned: null,
18566 -1 nameFrom: [ 'author' ],
18567 -1 context: null,
18568 -1 implicit: [ 'input[type="range"]' ],
18569 -1 unsupported: false
-1 31358 'autocomplete-appropriate': {
-1 31359 impact: 'serious',
-1 31360 messages: {
-1 31361 pass: 'the autocomplete value is on an appropriate element',
-1 31362 fail: 'the autocomplete value is inappropriate for this type of input'
-1 31363 }
18570 31364 },
18571 -1 spinbutton: {
18572 -1 type: 'widget',
18573 -1 attributes: {
18574 -1 allowed: [ 'aria-valuetext', 'aria-required', 'aria-readonly', 'aria-errormessage' ],
18575 -1 required: [ 'aria-valuenow', 'aria-valuemax', 'aria-valuemin' ]
18576 -1 },
18577 -1 owned: null,
18578 -1 nameFrom: [ 'author' ],
18579 -1 context: null,
18580 -1 implicit: [ 'input[type="number"]' ],
18581 -1 unsupported: false,
18582 -1 allowedElements: {
18583 -1 nodeName: 'input',
18584 -1 properties: {
18585 -1 type: 'text'
-1 31365 'avoid-inline-spacing': {
-1 31366 impact: 'serious',
-1 31367 messages: {
-1 31368 pass: 'No inline styles with \'!important\' that affect text spacing has been specified',
-1 31369 fail: {
-1 31370 singular: 'Remove \'!important\' from inline style ${data.values}, as overriding this is not supported by most browsers',
-1 31371 plural: 'Remove \'!important\' from inline styles ${data.values}, as overriding this is not supported by most browsers'
18586 31372 }
18587 31373 }
18588 31374 },
18589 -1 status: {
18590 -1 type: 'widget',
18591 -1 attributes: {
18592 -1 allowed: [ 'aria-expanded', 'aria-errormessage' ]
18593 -1 },
18594 -1 owned: null,
18595 -1 nameFrom: [ 'author' ],
18596 -1 context: null,
18597 -1 implicit: [ 'output' ],
18598 -1 unsupported: false,
18599 -1 allowedElements: [ 'section' ]
-1 31375 'is-on-screen': {
-1 31376 impact: 'serious',
-1 31377 messages: {
-1 31378 pass: 'Element is not visible',
-1 31379 fail: 'Element is visible'
-1 31380 }
18600 31381 },
18601 -1 structure: {
18602 -1 type: 'abstract',
18603 -1 unsupported: false
-1 31382 'button-has-visible-text': {
-1 31383 impact: 'critical',
-1 31384 messages: {
-1 31385 pass: 'Element has inner text that is visible to screen readers',
-1 31386 fail: 'Element does not have inner text that is visible to screen readers',
-1 31387 incomplete: 'Unable to determine if element has children'
-1 31388 }
18604 31389 },
18605 -1 switch: {
18606 -1 type: 'widget',
18607 -1 attributes: {
18608 -1 allowed: [ 'aria-errormessage' ],
18609 -1 required: [ 'aria-checked' ]
18610 -1 },
18611 -1 owned: null,
18612 -1 nameFrom: [ 'author', 'contents' ],
18613 -1 context: null,
18614 -1 unsupported: false,
18615 -1 allowedElements: [ 'button', {
18616 -1 nodeName: 'input',
18617 -1 properties: {
18618 -1 type: [ 'checkbox', 'image', 'button' ]
18619 -1 }
18620 -1 }, {
18621 -1 nodeName: 'a',
18622 -1 attributes: {
18623 -1 href: isNotNull
18624 -1 }
18625 -1 } ]
-1 31390 'role-presentation': {
-1 31391 impact: 'minor',
-1 31392 messages: {
-1 31393 pass: 'Element\'s default semantics were overriden with role="presentation"',
-1 31394 fail: 'Element\'s default semantics were not overridden with role="presentation"'
-1 31395 }
18626 31396 },
18627 -1 tab: {
18628 -1 type: 'widget',
18629 -1 attributes: {
18630 -1 allowed: [ 'aria-selected', 'aria-expanded', 'aria-setsize', 'aria-posinset', 'aria-errormessage' ]
18631 -1 },
18632 -1 owned: null,
18633 -1 nameFrom: [ 'author', 'contents' ],
18634 -1 context: [ 'tablist' ],
18635 -1 unsupported: false,
18636 -1 allowedElements: [ {
18637 -1 nodeName: [ 'button', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'li' ]
18638 -1 }, {
18639 -1 nodeName: 'input',
18640 -1 properties: {
18641 -1 type: 'button'
18642 -1 }
18643 -1 }, {
18644 -1 nodeName: 'a',
18645 -1 attributes: {
18646 -1 href: isNotNull
18647 -1 }
18648 -1 } ]
-1 31397 'role-none': {
-1 31398 impact: 'minor',
-1 31399 messages: {
-1 31400 pass: 'Element\'s default semantics were overriden with role="none"',
-1 31401 fail: 'Element\'s default semantics were not overridden with role="none"'
-1 31402 }
18649 31403 },
18650 -1 table: {
18651 -1 type: 'structure',
18652 -1 attributes: {
18653 -1 allowed: [ 'aria-colcount', 'aria-rowcount', 'aria-errormessage' ]
18654 -1 },
18655 -1 owned: {
18656 -1 one: [ 'rowgroup', 'row' ]
18657 -1 },
18658 -1 nameFrom: [ 'author' ],
18659 -1 context: null,
18660 -1 implicit: [ 'table' ],
18661 -1 unsupported: false
-1 31404 'internal-link-present': {
-1 31405 impact: 'serious',
-1 31406 messages: {
-1 31407 pass: 'Valid skip link found',
-1 31408 fail: 'No valid skip link found'
-1 31409 }
18662 31410 },
18663 -1 tablist: {
18664 -1 type: 'composite',
18665 -1 attributes: {
18666 -1 allowed: [ 'aria-activedescendant', 'aria-expanded', 'aria-level', 'aria-multiselectable', 'aria-orientation', 'aria-errormessage' ]
18667 -1 },
18668 -1 owned: {
18669 -1 all: [ 'tab' ]
18670 -1 },
18671 -1 nameFrom: [ 'author' ],
18672 -1 context: null,
18673 -1 unsupported: false,
18674 -1 allowedElements: [ 'ol', 'ul' ]
-1 31411 'header-present': {
-1 31412 impact: 'serious',
-1 31413 messages: {
-1 31414 pass: 'Page has a heading',
-1 31415 fail: 'Page does not have a heading'
-1 31416 }
18675 31417 },
18676 -1 tabpanel: {
18677 -1 type: 'widget',
18678 -1 attributes: {
18679 -1 allowed: [ 'aria-expanded', 'aria-errormessage' ]
18680 -1 },
18681 -1 owned: null,
18682 -1 nameFrom: [ 'author' ],
18683 -1 context: null,
18684 -1 unsupported: false,
18685 -1 allowedElements: [ 'section' ]
-1 31418 landmark: {
-1 31419 impact: 'serious',
-1 31420 messages: {
-1 31421 pass: 'Page has a landmark region',
-1 31422 fail: 'Page does not have a landmark region'
-1 31423 }
18686 31424 },
18687 -1 term: {
18688 -1 type: 'structure',
18689 -1 attributes: {
18690 -1 allowed: [ 'aria-expanded', 'aria-errormessage' ]
18691 -1 },
18692 -1 owned: null,
18693 -1 nameFrom: [ 'author', 'contents' ],
18694 -1 context: null,
18695 -1 implicit: [ 'dt' ],
18696 -1 unsupported: false
-1 31425 'color-contrast': {
-1 31426 impact: 'serious',
-1 31427 messages: {
-1 31428 pass: 'Element has sufficient color contrast of ${data.contrastRatio}',
-1 31429 fail: 'Element has insufficient color contrast of ${data.contrastRatio} (foreground color: ${data.fgColor}, background color: ${data.bgColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}',
-1 31430 incomplete: {
-1 31431 default: 'Unable to determine contrast ratio',
-1 31432 bgImage: 'Element\'s background color could not be determined due to a background image',
-1 31433 bgGradient: 'Element\'s background color could not be determined due to a background gradient',
-1 31434 imgNode: 'Element\'s background color could not be determined because element contains an image node',
-1 31435 bgOverlap: 'Element\'s background color could not be determined because it is overlapped by another element',
-1 31436 fgAlpha: 'Element\'s foreground color could not be determined because of alpha transparency',
-1 31437 elmPartiallyObscured: 'Element\'s background color could not be determined because it\'s partially obscured by another element',
-1 31438 elmPartiallyObscuring: 'Element\'s background color could not be determined because it partially overlaps other elements',
-1 31439 outsideViewport: 'Element\'s background color could not be determined because it\'s outside the viewport',
-1 31440 equalRatio: 'Element has a 1:1 contrast ratio with the background',
-1 31441 shortTextContent: 'Element content is too short to determine if it is actual text content',
-1 31442 nonBmp: 'Element content contains only non-text characters'
-1 31443 }
-1 31444 }
18697 31445 },
18698 -1 textbox: {
18699 -1 type: 'widget',
18700 -1 attributes: {
18701 -1 allowed: [ 'aria-activedescendant', 'aria-autocomplete', 'aria-multiline', 'aria-readonly', 'aria-required', 'aria-placeholder', 'aria-errormessage' ]
18702 -1 },
18703 -1 owned: null,
18704 -1 nameFrom: [ 'author' ],
18705 -1 context: null,
18706 -1 implicit: [ 'input[type="text"]', 'input[type="email"]', 'input[type="password"]', 'input[type="tel"]', 'input[type="url"]', 'input:not([type])', 'textarea' ],
18707 -1 unsupported: false
-1 31446 'css-orientation-lock': {
-1 31447 impact: 'serious',
-1 31448 messages: {
-1 31449 pass: 'Display is operable, and orientation lock does not exist',
-1 31450 fail: 'CSS Orientation lock is applied, and makes display inoperable',
-1 31451 incomplete: 'CSS Orientation lock cannot be determined'
-1 31452 }
18708 31453 },
18709 -1 timer: {
18710 -1 type: 'widget',
18711 -1 attributes: {
18712 -1 allowed: [ 'aria-expanded', 'aria-errormessage' ]
18713 -1 },
18714 -1 owned: null,
18715 -1 nameFrom: [ 'author' ],
18716 -1 context: null,
18717 -1 unsupported: false
-1 31454 'structured-dlitems': {
-1 31455 impact: 'serious',
-1 31456 messages: {
-1 31457 pass: 'When not empty, element has both <dt> and <dd> elements',
-1 31458 fail: 'When not empty, element does not have at least one <dt> element followed by at least one <dd> element'
-1 31459 }
18718 31460 },
18719 -1 toolbar: {
18720 -1 type: 'structure',
18721 -1 attributes: {
18722 -1 allowed: [ 'aria-activedescendant', 'aria-expanded', 'aria-orientation', 'aria-errormessage' ]
18723 -1 },
18724 -1 owned: null,
18725 -1 nameFrom: [ 'author' ],
18726 -1 context: null,
18727 -1 implicit: [ 'menu[type="toolbar"]' ],
18728 -1 unsupported: false,
18729 -1 allowedElements: [ 'ol', 'ul' ]
-1 31461 'only-dlitems': {
-1 31462 impact: 'serious',
-1 31463 messages: {
-1 31464 pass: 'List element only has direct children that are allowed inside <dt> or <dd> elements',
-1 31465 fail: 'List element has direct children that are not allowed inside <dt> or <dd> elements'
-1 31466 }
18730 31467 },
18731 -1 tooltip: {
18732 -1 type: 'widget',
18733 -1 attributes: {
18734 -1 allowed: [ 'aria-expanded', 'aria-errormessage' ]
18735 -1 },
18736 -1 owned: null,
18737 -1 nameFrom: [ 'author', 'contents' ],
18738 -1 context: null,
18739 -1 unsupported: false
-1 31468 dlitem: {
-1 31469 impact: 'serious',
-1 31470 messages: {
-1 31471 pass: 'Description list item has a <dl> parent element',
-1 31472 fail: 'Description list item does not have a <dl> parent element'
-1 31473 }
18740 31474 },
18741 -1 tree: {
18742 -1 type: 'composite',
18743 -1 attributes: {
18744 -1 allowed: [ 'aria-activedescendant', 'aria-multiselectable', 'aria-required', 'aria-expanded', 'aria-orientation', 'aria-errormessage' ]
18745 -1 },
18746 -1 owned: {
18747 -1 all: [ 'treeitem' ]
18748 -1 },
18749 -1 nameFrom: [ 'author' ],
18750 -1 context: null,
18751 -1 unsupported: false,
18752 -1 allowedElements: [ 'ol', 'ul' ]
-1 31475 'doc-has-title': {
-1 31476 impact: 'serious',
-1 31477 messages: {
-1 31478 pass: 'Document has a non-empty <title> element',
-1 31479 fail: 'Document does not have a non-empty <title> element'
-1 31480 }
18753 31481 },
18754 -1 treegrid: {
18755 -1 type: 'composite',
18756 -1 attributes: {
18757 -1 allowed: [ 'aria-activedescendant', 'aria-colcount', 'aria-expanded', 'aria-level', 'aria-multiselectable', 'aria-readonly', 'aria-required', 'aria-rowcount', 'aria-orientation', 'aria-errormessage' ]
18758 -1 },
18759 -1 owned: {
18760 -1 one: [ 'rowgroup', 'row' ]
18761 -1 },
18762 -1 nameFrom: [ 'author' ],
18763 -1 context: null,
18764 -1 unsupported: false
-1 31482 'duplicate-id-active': {
-1 31483 impact: 'serious',
-1 31484 messages: {
-1 31485 pass: 'Document has no active elements that share the same id attribute',
-1 31486 fail: 'Document has active elements with the same id attribute: ${data}'
-1 31487 }
18765 31488 },
18766 -1 treeitem: {
18767 -1 type: 'widget',
18768 -1 attributes: {
18769 -1 allowed: [ 'aria-checked', 'aria-selected', 'aria-expanded', 'aria-level', 'aria-posinset', 'aria-setsize', 'aria-errormessage' ]
18770 -1 },
18771 -1 owned: null,
18772 -1 nameFrom: [ 'author', 'contents' ],
18773 -1 context: [ 'group', 'tree' ],
18774 -1 unsupported: false,
18775 -1 allowedElements: [ 'li', {
18776 -1 nodeName: 'a',
18777 -1 attributes: {
18778 -1 href: isNotNull
18779 -1 }
18780 -1 } ]
-1 31489 'duplicate-id-aria': {
-1 31490 impact: 'critical',
-1 31491 messages: {
-1 31492 pass: 'Document has no elements referenced with ARIA or labels that share the same id attribute',
-1 31493 fail: 'Document has multiple elements referenced with ARIA with the same id attribute: ${data}'
-1 31494 }
18781 31495 },
18782 -1 widget: {
18783 -1 type: 'abstract',
18784 -1 unsupported: false
-1 31496 'duplicate-id': {
-1 31497 impact: 'minor',
-1 31498 messages: {
-1 31499 pass: 'Document has no static elements that share the same id attribute',
-1 31500 fail: 'Document has multiple static elements with the same id attribute: ${data}'
-1 31501 }
18785 31502 },
18786 -1 window: {
18787 -1 nameFrom: [ 'author' ],
18788 -1 type: 'abstract',
18789 -1 unsupported: false
18790 -1 }
18791 -1 };
18792 -1 lookupTable.elementsAllowedNoRole = [ {
18793 -1 nodeName: [ 'base', 'body', 'caption', 'col', 'colgroup', 'datalist', 'dd', 'details', 'dt', 'head', 'html', 'keygen', 'label', 'legend', 'main', 'map', 'math', 'meta', 'meter', 'noscript', 'optgroup', 'param', 'picture', 'progress', 'script', 'source', 'style', 'template', 'textarea', 'title', 'track' ]
18794 -1 }, {
18795 -1 nodeName: 'area',
18796 -1 attributes: {
18797 -1 href: isNotNull
18798 -1 }
18799 -1 }, {
18800 -1 nodeName: 'input',
18801 -1 properties: {
18802 -1 type: [ 'color', 'data', 'datatime', 'file', 'hidden', 'month', 'number', 'password', 'range', 'reset', 'submit', 'time', 'week' ]
18803 -1 }
18804 -1 }, {
18805 -1 nodeName: 'input',
18806 -1 attributes: {
18807 -1 list: isNull
-1 31503 'has-widget-role': {
-1 31504 impact: 'minor',
-1 31505 messages: {
-1 31506 pass: 'Element has a widget role.',
-1 31507 fail: 'Element does not have a widget role.'
-1 31508 }
18808 31509 },
18809 -1 properties: {
18810 -1 type: [ 'email', 'search', 'tel', 'url' ]
18811 -1 }
18812 -1 }, {
18813 -1 nodeName: 'link',
18814 -1 attributes: {
18815 -1 href: isNotNull
18816 -1 }
18817 -1 }, {
18818 -1 nodeName: 'menu',
18819 -1 attributes: {
18820 -1 type: 'context'
18821 -1 }
18822 -1 }, {
18823 -1 nodeName: 'menuitem',
18824 -1 attributes: {
18825 -1 type: [ 'command', 'checkbox', 'radio' ]
18826 -1 }
18827 -1 }, {
18828 -1 nodeName: 'select',
18829 -1 condition: function condition(node) {
18830 -1 return Number(node.getAttribute('size')) > 1;
-1 31510 'valid-scrollable-semantics': {
-1 31511 impact: 'minor',
-1 31512 messages: {
-1 31513 pass: 'Element has valid semantics for an element in the focus order.',
-1 31514 fail: 'Element has invalid semantics for an element in the focus order.'
-1 31515 }
18831 31516 },
18832 -1 properties: {
18833 -1 multiple: true
18834 -1 }
18835 -1 }, {
18836 -1 nodeName: [ 'clippath', 'cursor', 'defs', 'desc', 'feblend', 'fecolormatrix', 'fecomponenttransfer', 'fecomposite', 'feconvolvematrix', 'fediffuselighting', 'fedisplacementmap', 'fedistantlight', 'fedropshadow', 'feflood', 'fefunca', 'fefuncb', 'fefuncg', 'fefuncr', 'fegaussianblur', 'feimage', 'femerge', 'femergenode', 'femorphology', 'feoffset', 'fepointlight', 'fespecularlighting', 'fespotlight', 'fetile', 'feturbulence', 'filter', 'hatch', 'hatchpath', 'lineargradient', 'marker', 'mask', 'meshgradient', 'meshpatch', 'meshrow', 'metadata', 'mpath', 'pattern', 'radialgradient', 'solidcolor', 'stop', 'switch', 'view' ]
18837 -1 } ];
18838 -1 lookupTable.elementsAllowedAnyRole = [ {
18839 -1 nodeName: 'a',
18840 -1 attributes: {
18841 -1 href: isNull
18842 -1 }
18843 -1 }, {
18844 -1 nodeName: [ 'abbr', 'address', 'canvas', 'div', 'p', 'pre', 'blockquote', 'ins', 'del', 'output', 'span', 'table', 'tbody', 'thead', 'tfoot', 'td', 'em', 'strong', 'small', 's', 'cite', 'q', 'dfn', 'abbr', 'time', 'code', 'var', 'samp', 'kbd', 'sub', 'sup', 'i', 'b', 'u', 'mark', 'ruby', 'rt', 'rp', 'bdi', 'bdo', 'br', 'wbr', 'th', 'tr' ]
18845 -1 } ];
18846 -1 lookupTable.evaluateRoleForElement = {
18847 -1 A: function A(_ref13) {
18848 -1 var node = _ref13.node, out = _ref13.out;
18849 -1 if (node.namespaceURI === 'http://www.w3.org/2000/svg') {
18850 -1 return true;
-1 31517 'multiple-label': {
-1 31518 impact: 'moderate',
-1 31519 messages: {
-1 31520 pass: 'Form field does not have multiple label elements',
-1 31521 incomplete: 'Multiple label elements is not widely supported in assistive technologies. Ensure the first label contains all necessary information.'
18851 31522 }
18852 -1 if (node.href.length) {
18853 -1 return out;
-1 31523 },
-1 31524 'frame-tested': {
-1 31525 impact: 'critical',
-1 31526 messages: {
-1 31527 pass: 'The iframe was tested with axe-core',
-1 31528 fail: 'The iframe could not be tested with axe-core',
-1 31529 incomplete: 'The iframe still has to be tested with axe-core'
18854 31530 }
18855 -1 return true;
18856 31531 },
18857 -1 AREA: function AREA(_ref14) {
18858 -1 var node = _ref14.node;
18859 -1 return !node.href;
-1 31532 'unique-frame-title': {
-1 31533 impact: 'serious',
-1 31534 messages: {
-1 31535 pass: 'Element\'s title attribute is unique',
-1 31536 fail: 'Element\'s title attribute is not unique'
-1 31537 }
18860 31538 },
18861 -1 BUTTON: function BUTTON(_ref15) {
18862 -1 var node = _ref15.node, role = _ref15.role, out = _ref15.out;
18863 -1 if (node.getAttribute('type') === 'menu') {
18864 -1 return role === 'menuitem';
-1 31539 'heading-order': {
-1 31540 impact: 'moderate',
-1 31541 messages: {
-1 31542 pass: 'Heading order valid',
-1 31543 fail: 'Heading order invalid'
18865 31544 }
18866 -1 return out;
18867 31545 },
18868 -1 IMG: function IMG(_ref16) {
18869 -1 var node = _ref16.node, out = _ref16.out;
18870 -1 if (node.alt) {
18871 -1 return !out;
-1 31546 'hidden-content': {
-1 31547 impact: 'minor',
-1 31548 messages: {
-1 31549 pass: 'All content on the page has been analyzed.',
-1 31550 fail: 'There were problems analyzing the content on this page.',
-1 31551 incomplete: 'There is hidden content on the page that was not analyzed. You will need to trigger the display of this content in order to analyze it.'
18872 31552 }
18873 -1 return out;
18874 31553 },
18875 -1 INPUT: function INPUT(_ref17) {
18876 -1 var node = _ref17.node, role = _ref17.role, out = _ref17.out;
18877 -1 switch (node.type) {
18878 -1 case 'button':
18879 -1 case 'image':
18880 -1 return out;
18881 -1
18882 -1 case 'checkbox':
18883 -1 if (role === 'button' && node.hasAttribute('aria-pressed')) {
18884 -1 return true;
-1 31554 'has-lang': {
-1 31555 impact: 'serious',
-1 31556 messages: {
-1 31557 pass: 'The <html> element has a lang attribute',
-1 31558 fail: {
-1 31559 noXHTML: 'The xml:lang attribute is not valid on HTML pages, use the lang attribute.',
-1 31560 noLang: 'The <html> element does not have a lang attribute'
18885 31561 }
18886 -1 return out;
18887 -1
18888 -1 case 'radio':
18889 -1 return role === 'menuitemradio';
18890 -1
18891 -1 case 'text':
18892 -1 return role === 'combobox' || role === 'searchbox' || role === 'spinbutton';
18893 -1
18894 -1 default:
18895 -1 return false;
18896 31562 }
18897 31563 },
18898 -1 LI: function LI(_ref18) {
18899 -1 var node = _ref18.node, out = _ref18.out;
18900 -1 var hasImplicitListitemRole = axe.utils.matchesSelector(node, 'ol li, ul li');
18901 -1 if (hasImplicitListitemRole) {
18902 -1 return out;
-1 31564 'valid-lang': {
-1 31565 impact: 'serious',
-1 31566 messages: {
-1 31567 pass: 'Value of lang attribute is included in the list of valid languages',
-1 31568 fail: 'Value of lang attribute not included in the list of valid languages'
18903 31569 }
18904 -1 return true;
18905 31570 },
18906 -1 MENU: function MENU(_ref19) {
18907 -1 var node = _ref19.node;
18908 -1 if (node.getAttribute('type') === 'context') {
18909 -1 return false;
-1 31571 'xml-lang-mismatch': {
-1 31572 impact: 'moderate',
-1 31573 messages: {
-1 31574 pass: 'Lang and xml:lang attributes have the same base language',
-1 31575 fail: 'Lang and xml:lang attributes do not have the same base language'
18910 31576 }
18911 -1 return true;
18912 31577 },
18913 -1 OPTION: function OPTION(_ref20) {
18914 -1 var node = _ref20.node;
18915 -1 var withinOptionList = axe.utils.matchesSelector(node, 'select > option, datalist > option, optgroup > option');
18916 -1 return !withinOptionList;
-1 31578 'identical-links-same-purpose': {
-1 31579 impact: 'minor',
-1 31580 messages: {
-1 31581 pass: 'There are no other links with the same name, that go to a different URL',
-1 31582 incomplete: 'Check that links have the same purpose, or are intentionally ambiguous.'
-1 31583 }
18917 31584 },
18918 -1 SELECT: function SELECT(_ref21) {
18919 -1 var node = _ref21.node, role = _ref21.role;
18920 -1 return !node.multiple && node.size <= 1 && role === 'menu';
-1 31585 'has-alt': {
-1 31586 impact: 'critical',
-1 31587 messages: {
-1 31588 pass: 'Element has an alt attribute',
-1 31589 fail: 'Element does not have an alt attribute'
-1 31590 }
18921 31591 },
18922 -1 SVG: function SVG(_ref22) {
18923 -1 var node = _ref22.node, out = _ref22.out;
18924 -1 if (node.parentNode && node.parentNode.namespaceURI === 'http://www.w3.org/2000/svg') {
18925 -1 return true;
-1 31592 'alt-space-value': {
-1 31593 impact: 'critical',
-1 31594 messages: {
-1 31595 pass: 'Element has a valid alt attribute value',
-1 31596 fail: 'Element has an alt attribute containing only a space character, which is not ignored by all screen readers'
18926 31597 }
18927 -1 return out;
18928 -1 }
18929 -1 };
18930 -1 lookupTable.rolesOfType = {
18931 -1 widget: [ 'button', 'checkbox', 'dialog', 'gridcell', 'heading', 'link', 'log', 'marquee', 'menuitem', 'menuitemcheckbox', 'menuitemradio', 'option', 'progressbar', 'radio', 'scrollbar', 'slider', 'spinbutton', 'status', 'switch', 'tab', 'tabpanel', 'textbox', 'timer', 'tooltip', 'tree', 'treeitem' ]
18932 -1 };
18933 -1 var color = {};
18934 -1 commons.color = color;
18935 -1 var dom = commons.dom = {};
18936 -1 function matches(node, definition) {
18937 -1 return matches.fromDefinition(node, definition);
18938 -1 }
18939 -1 commons.matches = matches;
18940 -1 var table = commons.table = {};
18941 -1 var text = commons.text = {
18942 -1 EdgeFormDefaults: {}
18943 -1 };
18944 -1 var utils = commons.utils = axe.utils;
18945 -1 aria.arialabelText = function arialabelText(node) {
18946 -1 node = node.actualNode || node;
18947 -1 if (node.nodeType !== 1) {
18948 -1 return '';
18949 -1 }
18950 -1 return node.getAttribute('aria-label') || '';
18951 -1 };
18952 -1 aria.arialabelledbyText = function arialabelledbyText(node) {
18953 -1 var context = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
18954 -1 node = node.actualNode || node;
18955 -1 if (node.nodeType !== 1 || context.inLabelledByContext || context.inControlContext) {
18956 -1 return '';
18957 -1 }
18958 -1 var refs = dom.idrefs(node, 'aria-labelledby').filter(function(elm) {
18959 -1 return elm;
18960 -1 });
18961 -1 return refs.reduce(function(accessibleName, elm) {
18962 -1 var accessibleNameAdd = text.accessibleText(elm, _extends({
18963 -1 inLabelledByContext: true,
18964 -1 startNode: context.startNode || node
18965 -1 }, context));
18966 -1 if (!accessibleName) {
18967 -1 return accessibleNameAdd;
18968 -1 } else {
18969 -1 return accessibleName + ' ' + accessibleNameAdd;
-1 31598 },
-1 31599 'duplicate-img-label': {
-1 31600 impact: 'minor',
-1 31601 messages: {
-1 31602 pass: 'Element does not duplicate existing text in <img> alt text',
-1 31603 fail: 'Element contains <img> element with alt text that duplicates existing text'
-1 31604 }
-1 31605 },
-1 31606 'non-empty-if-present': {
-1 31607 impact: 'critical',
-1 31608 messages: {
-1 31609 pass: {
-1 31610 default: 'Element does not have a value attribute',
-1 31611 'has-label': 'Element has a non-empty value attribute'
-1 31612 },
-1 31613 fail: 'Element has a value attribute and the value attribute is empty'
18970 31614 }
18971 -1 }, '');
18972 -1 };
18973 -1 aria.requiredAttr = function(role) {
18974 -1 var roles = aria.lookupTable.role[role], attr = roles && roles.attributes && roles.attributes.required;
18975 -1 return attr || [];
18976 -1 };
18977 -1 aria.allowedAttr = function(role) {
18978 -1 var roles = aria.lookupTable.role[role], attr = roles && roles.attributes && roles.attributes.allowed || [], requiredAttr = roles && roles.attributes && roles.attributes.required || [];
18979 -1 return attr.concat(aria.lookupTable.globalAttributes).concat(requiredAttr);
18980 -1 };
18981 -1 aria.validateAttr = function validateAttr(att) {
18982 -1 var attrDefinition = aria.lookupTable.attributes[att];
18983 -1 return !!attrDefinition;
18984 -1 };
18985 -1 function getRoleSegments(node) {
18986 -1 var roles = [];
18987 -1 if (!node) {
18988 -1 return roles;
18989 -1 }
18990 -1 if (node.hasAttribute('role')) {
18991 -1 var nodeRoles = axe.utils.tokenList(node.getAttribute('role').toLowerCase());
18992 -1 roles = roles.concat(nodeRoles);
18993 -1 }
18994 -1 if (node.hasAttributeNS('http://www.idpf.org/2007/ops', 'type')) {
18995 -1 var epubRoles = axe.utils.tokenList(node.getAttributeNS('http://www.idpf.org/2007/ops', 'type').toLowerCase()).map(function(role) {
18996 -1 return 'doc-' + role;
18997 -1 });
18998 -1 roles = roles.concat(epubRoles);
18999 -1 }
19000 -1 roles = roles.filter(function(role) {
19001 -1 return axe.commons.aria.isValidRole(role);
19002 -1 });
19003 -1 return roles;
19004 -1 }
19005 -1 aria.getElementUnallowedRoles = function getElementUnallowedRoles(node) {
19006 -1 var allowImplicit = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
19007 -1 var tagName = node.nodeName.toUpperCase();
19008 -1 if (!axe.utils.isHtmlElement(node)) {
19009 -1 return [];
19010 -1 }
19011 -1 var roleSegments = getRoleSegments(node);
19012 -1 var implicitRole = axe.commons.aria.implicitRole(node);
19013 -1 var unallowedRoles = roleSegments.filter(function(role) {
19014 -1 if (allowImplicit && role === implicitRole) {
19015 -1 return false;
-1 31615 },
-1 31616 'non-empty-value': {
-1 31617 impact: 'critical',
-1 31618 messages: {
-1 31619 pass: 'Element has a non-empty value attribute',
-1 31620 fail: 'Element has no value attribute or the value attribute is empty'
19016 31621 }
19017 -1 if (!allowImplicit && !(role === 'row' && tagName === 'TR' && axe.utils.matchesSelector(node, 'table[role="grid"] > tr'))) {
19018 -1 return true;
-1 31622 },
-1 31623 'label-content-name-mismatch': {
-1 31624 impact: 'serious',
-1 31625 messages: {
-1 31626 pass: 'Element contains visible text as part of it\'s accessible name',
-1 31627 fail: 'Text inside the element is not included in the accessible name'
19019 31628 }
19020 -1 return !aria.isAriaRoleAllowedOnElement(node, role);
19021 -1 });
19022 -1 return unallowedRoles;
19023 -1 };
19024 -1 aria.getOwnedVirtual = function getOwned(_ref23) {
19025 -1 var actualNode = _ref23.actualNode, children = _ref23.children;
19026 -1 if (!actualNode || !children) {
19027 -1 throw new Error('getOwnedVirtual requires a virtual node');
19028 -1 }
19029 -1 return dom.idrefs(actualNode, 'aria-owns').reduce(function(ownedElms, element) {
19030 -1 if (element) {
19031 -1 var virtualNode = axe.utils.getNodeFromTree(axe._tree[0], element);
19032 -1 ownedElms.push(virtualNode);
-1 31629 },
-1 31630 'title-only': {
-1 31631 impact: 'serious',
-1 31632 messages: {
-1 31633 pass: 'Form element does not solely use title attribute for its label',
-1 31634 fail: 'Only title used to generate label for form element'
19033 31635 }
19034 -1 return ownedElms;
19035 -1 }, children);
19036 -1 };
19037 -1 aria.getRole = function getRole(node) {
19038 -1 var _ref24 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}, noImplicit = _ref24.noImplicit, fallback = _ref24.fallback, abstracts = _ref24.abstracts, dpub = _ref24.dpub;
19039 -1 node = node.actualNode || node;
19040 -1 if (node.nodeType !== 1) {
19041 -1 return null;
19042 -1 }
19043 -1 var roleAttr = (node.getAttribute('role') || '').trim().toLowerCase();
19044 -1 var roleList = fallback ? axe.utils.tokenList(roleAttr) : [ roleAttr ];
19045 -1 var validRoles = roleList.filter(function(role) {
19046 -1 if (!dpub && role.substr(0, 4) === 'doc-') {
19047 -1 return false;
-1 31636 },
-1 31637 'implicit-label': {
-1 31638 impact: 'critical',
-1 31639 messages: {
-1 31640 pass: 'Form element has an implicit (wrapped) <label>',
-1 31641 fail: 'Form element does not have an implicit (wrapped) <label>',
-1 31642 incomplete: 'Unable to determine if form element has an implicit (wrapped} <label>'
19048 31643 }
19049 -1 return aria.isValidRole(role, {
19050 -1 allowAbstract: abstracts
19051 -1 });
19052 -1 });
19053 -1 var explicitRole = validRoles[0];
19054 -1 if (!explicitRole && !noImplicit) {
19055 -1 return aria.implicitRole(node);
19056 -1 }
19057 -1 return explicitRole || null;
19058 -1 };
19059 -1 function findDomNode(node, functor) {
19060 -1 if (functor(node)) {
19061 -1 return node;
19062 -1 }
19063 -1 for (var i = 0; i < node.children.length; i++) {
19064 -1 var out = findDomNode(node.children[i], functor);
19065 -1 if (out) {
19066 -1 return out;
-1 31644 },
-1 31645 'explicit-label': {
-1 31646 impact: 'critical',
-1 31647 messages: {
-1 31648 pass: 'Form element has an explicit <label>',
-1 31649 fail: 'Form element does not have an explicit <label>',
-1 31650 incomplete: 'Unable to determine if form element has an explicit <label>'
19067 31651 }
19068 -1 }
19069 -1 }
19070 -1 aria.isAccessibleRef = function isAccessibleRef(node) {
19071 -1 node = node.actualNode || node;
19072 -1 var root = dom.getRootNode(node);
19073 -1 root = root.documentElement || root;
19074 -1 var id = node.id;
19075 -1 var refAttrs = Object.keys(aria.lookupTable.attributes).filter(function(attr) {
19076 -1 var type = aria.lookupTable.attributes[attr].type;
19077 -1 return /^idrefs?$/.test(type);
19078 -1 });
19079 -1 var refElm = findDomNode(root, function(elm) {
19080 -1 if (elm.nodeType !== 1) {
19081 -1 return;
-1 31652 },
-1 31653 'help-same-as-label': {
-1 31654 impact: 'minor',
-1 31655 messages: {
-1 31656 pass: 'Help text (title or aria-describedby) does not duplicate label text',
-1 31657 fail: 'Help text (title or aria-describedby) text is the same as the label text'
19082 31658 }
19083 -1 if (elm.nodeName.toUpperCase() === 'LABEL' && elm.getAttribute('for') === id) {
19084 -1 return true;
-1 31659 },
-1 31660 'hidden-explicit-label': {
-1 31661 impact: 'critical',
-1 31662 messages: {
-1 31663 pass: 'Form element has a visible explicit <label>',
-1 31664 fail: 'Form element has explicit <label> that is hidden',
-1 31665 incomplete: 'Unable to determine if form element has explicit <label> that is hidden'
19085 31666 }
19086 -1 return refAttrs.filter(function(attr) {
19087 -1 return elm.hasAttribute(attr);
19088 -1 }).some(function(attr) {
19089 -1 var attrValue = elm.getAttribute(attr);
19090 -1 if (aria.lookupTable.attributes[attr].type === 'idref') {
19091 -1 return attrValue === id;
19092 -1 }
19093 -1 return axe.utils.tokenList(attrValue).includes(id);
19094 -1 });
19095 -1 });
19096 -1 return typeof refElm !== 'undefined';
19097 -1 };
19098 -1 aria.isAriaRoleAllowedOnElement = function isAriaRoleAllowedOnElement(node, role) {
19099 -1 var nodeName = node.nodeName.toUpperCase();
19100 -1 var lookupTable = axe.commons.aria.lookupTable;
19101 -1 if (matches(node, lookupTable.elementsAllowedNoRole)) {
19102 -1 return false;
19103 -1 }
19104 -1 if (matches(node, lookupTable.elementsAllowedAnyRole)) {
19105 -1 return true;
19106 -1 }
19107 -1 var roleValue = lookupTable.role[role];
19108 -1 if (!roleValue || !roleValue.allowedElements) {
19109 -1 return false;
19110 -1 }
19111 -1 var out = matches(node, roleValue.allowedElements);
19112 -1 if (Object.keys(lookupTable.evaluateRoleForElement).includes(nodeName)) {
19113 -1 return lookupTable.evaluateRoleForElement[nodeName]({
19114 -1 node: node,
19115 -1 role: role,
19116 -1 out: out
19117 -1 });
19118 -1 }
19119 -1 return out;
19120 -1 };
19121 -1 aria.isUnsupportedRole = function(role) {
19122 -1 var roleDefinition = aria.lookupTable.role[role];
19123 -1 return roleDefinition ? roleDefinition.unsupported : false;
19124 -1 };
19125 -1 aria.labelVirtual = function(_ref25) {
19126 -1 var actualNode = _ref25.actualNode;
19127 -1 var ref = void 0, candidate = void 0;
19128 -1 if (actualNode.getAttribute('aria-labelledby')) {
19129 -1 ref = dom.idrefs(actualNode, 'aria-labelledby');
19130 -1 candidate = ref.map(function(thing) {
19131 -1 var vNode = axe.utils.getNodeFromTree(axe._tree[0], thing);
19132 -1 return vNode ? text.visibleVirtual(vNode, true) : '';
19133 -1 }).join(' ').trim();
19134 -1 if (candidate) {
19135 -1 return candidate;
-1 31667 },
-1 31668 'landmark-is-top-level': {
-1 31669 impact: 'moderate',
-1 31670 messages: {
-1 31671 pass: 'The ${data.role} landmark is at the top level.',
-1 31672 fail: 'The ${data.role} landmark is contained in another landmark.'
19136 31673 }
19137 -1 }
19138 -1 candidate = actualNode.getAttribute('aria-label');
19139 -1 if (candidate) {
19140 -1 candidate = text.sanitize(candidate).trim();
19141 -1 if (candidate) {
19142 -1 return candidate;
-1 31674 },
-1 31675 'page-no-duplicate-banner': {
-1 31676 impact: 'moderate',
-1 31677 messages: {
-1 31678 pass: 'Document does not have more than one banner landmark',
-1 31679 fail: 'Document has more than one banner landmark'
19143 31680 }
19144 -1 }
19145 -1 return null;
19146 -1 };
19147 -1 aria.label = function(node) {
19148 -1 node = axe.utils.getNodeFromTree(axe._tree[0], node);
19149 -1 return aria.labelVirtual(node);
19150 -1 };
19151 -1 aria.namedFromContents = function namedFromContents(node) {
19152 -1 var _ref26 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}, strict = _ref26.strict;
19153 -1 node = node.actualNode || node;
19154 -1 if (node.nodeType !== 1) {
19155 -1 return false;
19156 -1 }
19157 -1 var role = aria.getRole(node);
19158 -1 var roleDef = aria.lookupTable.role[role];
19159 -1 if (roleDef && roleDef.nameFrom.includes('contents') || node.nodeName.toUpperCase() === 'TABLE') {
19160 -1 return true;
19161 -1 }
19162 -1 if (strict) {
19163 -1 return false;
19164 -1 }
19165 -1 return !roleDef || [ 'presentation', 'none' ].includes(role);
19166 -1 };
19167 -1 aria.isValidRole = function(role) {
19168 -1 var _ref27 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}, allowAbstract = _ref27.allowAbstract, _ref27$flagUnsupporte = _ref27.flagUnsupported, flagUnsupported = _ref27$flagUnsupporte === undefined ? false : _ref27$flagUnsupporte;
19169 -1 var roleDefinition = aria.lookupTable.role[role];
19170 -1 var isRoleUnsupported = roleDefinition ? roleDefinition.unsupported : false;
19171 -1 if (!roleDefinition || flagUnsupported && isRoleUnsupported) {
19172 -1 return false;
19173 -1 }
19174 -1 return allowAbstract ? true : roleDefinition.type !== 'abstract';
19175 -1 };
19176 -1 aria.getRolesWithNameFromContents = function() {
19177 -1 return Object.keys(aria.lookupTable.role).filter(function(r) {
19178 -1 return aria.lookupTable.role[r].nameFrom && aria.lookupTable.role[r].nameFrom.indexOf('contents') !== -1;
19179 -1 });
19180 -1 };
19181 -1 aria.getRolesByType = function(roleType) {
19182 -1 return Object.keys(aria.lookupTable.role).filter(function(r) {
19183 -1 return aria.lookupTable.role[r].type === roleType;
19184 -1 });
19185 -1 };
19186 -1 aria.getRoleType = function(role) {
19187 -1 var r = aria.lookupTable.role[role];
19188 -1 return r && r.type || null;
19189 -1 };
19190 -1 aria.requiredOwned = function(role) {
19191 -1 'use strict';
19192 -1 var owned = null, roles = aria.lookupTable.role[role];
19193 -1 if (roles) {
19194 -1 owned = axe.utils.clone(roles.owned);
19195 -1 }
19196 -1 return owned;
19197 -1 };
19198 -1 aria.requiredContext = function(role) {
19199 -1 'use strict';
19200 -1 var context = null, roles = aria.lookupTable.role[role];
19201 -1 if (roles) {
19202 -1 context = axe.utils.clone(roles.context);
19203 -1 }
19204 -1 return context;
19205 -1 };
19206 -1 aria.implicitNodes = function(role) {
19207 -1 'use strict';
19208 -1 var implicit = null, roles = aria.lookupTable.role[role];
19209 -1 if (roles && roles.implicit) {
19210 -1 implicit = axe.utils.clone(roles.implicit);
19211 -1 }
19212 -1 return implicit;
19213 -1 };
19214 -1 aria.implicitRole = function(node) {
19215 -1 'use strict';
19216 -1 var isValidImplicitRole = function isValidImplicitRole(set, role) {
19217 -1 var validForNodeType = function validForNodeType(implicitNodeTypeSelector) {
19218 -1 return axe.utils.matchesSelector(node, implicitNodeTypeSelector);
19219 -1 };
19220 -1 if (role.implicit && role.implicit.some(validForNodeType)) {
19221 -1 set.push(role.name);
-1 31681 },
-1 31682 'page-no-duplicate-contentinfo': {
-1 31683 impact: 'moderate',
-1 31684 messages: {
-1 31685 pass: 'Document does not have more than one contentinfo landmark',
-1 31686 fail: 'Document has more than one contentinfo landmark'
19222 31687 }
19223 -1 return set;
19224 -1 };
19225 -1 var sortRolesByOptimalAriaContext = function sortRolesByOptimalAriaContext(roles, ariaAttributes) {
19226 -1 var getScore = function getScore(role) {
19227 -1 var allowedAriaAttributes = aria.allowedAttr(role);
19228 -1 return allowedAriaAttributes.reduce(function(score, attribute) {
19229 -1 return score + (ariaAttributes.indexOf(attribute) > -1 ? 1 : 0);
19230 -1 }, 0);
19231 -1 };
19232 -1 var scored = roles.map(function(role) {
19233 -1 return {
19234 -1 score: getScore(role),
19235 -1 name: role
19236 -1 };
19237 -1 });
19238 -1 var sorted = scored.sort(function(scoredRoleA, scoredRoleB) {
19239 -1 return scoredRoleB.score - scoredRoleA.score;
19240 -1 });
19241 -1 return sorted.map(function(sortedRole) {
19242 -1 return sortedRole.name;
19243 -1 });
19244 -1 };
19245 -1 var roles = Object.keys(aria.lookupTable.role).map(function(role) {
19246 -1 var lookup = aria.lookupTable.role[role];
19247 -1 return {
19248 -1 name: role,
19249 -1 implicit: lookup && lookup.implicit
19250 -1 };
19251 -1 });
19252 -1 var availableImplicitRoles = roles.reduce(isValidImplicitRole, []);
19253 -1 if (!availableImplicitRoles.length) {
19254 -1 return null;
19255 -1 }
19256 -1 var nodeAttributes = node.attributes;
19257 -1 var ariaAttributes = [];
19258 -1 for (var i = 0, j = nodeAttributes.length; i < j; i++) {
19259 -1 var attr = nodeAttributes[i];
19260 -1 if (attr.name.match(/^aria-/)) {
19261 -1 ariaAttributes.push(attr.name);
-1 31688 },
-1 31689 'page-no-duplicate-main': {
-1 31690 impact: 'moderate',
-1 31691 messages: {
-1 31692 pass: 'Document does not have more than one main landmark',
-1 31693 fail: 'Document has more than one main landmark'
19262 31694 }
19263 -1 }
19264 -1 return sortRolesByOptimalAriaContext(availableImplicitRoles, ariaAttributes).shift();
19265 -1 };
19266 -1 aria.validateAttrValue = function validateAttrValue(node, attr) {
19267 -1 'use strict';
19268 -1 var matches, list, value = node.getAttribute(attr), attrInfo = aria.lookupTable.attributes[attr];
19269 -1 var doc = dom.getRootNode(node);
19270 -1 if (!attrInfo) {
19271 -1 return true;
19272 -1 }
19273 -1 if (attrInfo.allowEmpty && (!value || value.trim() === '')) {
19274 -1 return true;
19275 -1 }
19276 -1 switch (attrInfo.type) {
19277 -1 case 'boolean':
19278 -1 case 'nmtoken':
19279 -1 return typeof value === 'string' && attrInfo.values.includes(value.toLowerCase());
19280 -1
19281 -1 case 'nmtokens':
19282 -1 list = axe.utils.tokenList(value);
19283 -1 return list.reduce(function(result, token) {
19284 -1 return result && attrInfo.values.includes(token);
19285 -1 }, list.length !== 0);
19286 -1
19287 -1 case 'idref':
19288 -1 return !!(value && doc.getElementById(value));
19289 -1
19290 -1 case 'idrefs':
19291 -1 list = axe.utils.tokenList(value);
19292 -1 return list.some(function(token) {
19293 -1 return doc.getElementById(token);
19294 -1 });
19295 -1
19296 -1 case 'string':
19297 -1 return value.trim() !== '';
19298 -1
19299 -1 case 'decimal':
19300 -1 matches = value.match(/^[-+]?([0-9]*)\.?([0-9]*)$/);
19301 -1 return !!(matches && (matches[1] || matches[2]));
19302 -1
19303 -1 case 'int':
19304 -1 return /^[-+]?[0-9]+$/.test(value);
19305 -1 }
19306 -1 };
19307 -1 color.Color = function(red, green, blue, alpha) {
19308 -1 this.red = red;
19309 -1 this.green = green;
19310 -1 this.blue = blue;
19311 -1 this.alpha = alpha;
19312 -1 this.toHexString = function() {
19313 -1 var redString = Math.round(this.red).toString(16);
19314 -1 var greenString = Math.round(this.green).toString(16);
19315 -1 var blueString = Math.round(this.blue).toString(16);
19316 -1 return '#' + (this.red > 15.5 ? redString : '0' + redString) + (this.green > 15.5 ? greenString : '0' + greenString) + (this.blue > 15.5 ? blueString : '0' + blueString);
19317 -1 };
19318 -1 var rgbRegex = /^rgb\((\d+), (\d+), (\d+)\)$/;
19319 -1 var rgbaRegex = /^rgba\((\d+), (\d+), (\d+), (\d*(\.\d+)?)\)/;
19320 -1 this.parseRgbString = function(colorString) {
19321 -1 if (colorString === 'transparent') {
19322 -1 this.red = 0;
19323 -1 this.green = 0;
19324 -1 this.blue = 0;
19325 -1 this.alpha = 0;
19326 -1 return;
-1 31695 },
-1 31696 'page-has-main': {
-1 31697 impact: 'moderate',
-1 31698 messages: {
-1 31699 pass: 'Document has at least one main landmark',
-1 31700 fail: 'Document does not have a main landmark'
19327 31701 }
19328 -1 var match = colorString.match(rgbRegex);
19329 -1 if (match) {
19330 -1 this.red = parseInt(match[1], 10);
19331 -1 this.green = parseInt(match[2], 10);
19332 -1 this.blue = parseInt(match[3], 10);
19333 -1 this.alpha = 1;
19334 -1 return;
-1 31702 },
-1 31703 'landmark-is-unique': {
-1 31704 impact: 'moderate',
-1 31705 messages: {
-1 31706 pass: 'Landmarks must have a unique role or role/label/title (i.e. accessible name) combination',
-1 31707 fail: 'The landmark must have a unique aria-label, aria-labelledby, or title to make landmarks distinguishable'
-1 31708 }
-1 31709 },
-1 31710 'link-in-text-block': {
-1 31711 impact: 'serious',
-1 31712 messages: {
-1 31713 pass: 'Links can be distinguished from surrounding text in some way other than by color',
-1 31714 fail: 'Links need to be distinguished from surrounding text in some way other than by color',
-1 31715 incomplete: {
-1 31716 default: 'Unable to determine contrast ratio',
-1 31717 bgContrast: 'Element\'s contrast ratio could not be determined. Check for a distinct hover/focus style',
-1 31718 bgImage: 'Element\'s contrast ratio could not be determined due to a background image',
-1 31719 bgGradient: 'Element\'s contrast ratio could not be determined due to a background gradient',
-1 31720 imgNode: 'Element\'s contrast ratio could not be determined because element contains an image node',
-1 31721 bgOverlap: 'Element\'s contrast ratio could not be determined because of element overlap'
-1 31722 }
19335 31723 }
19336 -1 match = colorString.match(rgbaRegex);
19337 -1 if (match) {
19338 -1 this.red = parseInt(match[1], 10);
19339 -1 this.green = parseInt(match[2], 10);
19340 -1 this.blue = parseInt(match[3], 10);
19341 -1 this.alpha = parseFloat(match[4]);
19342 -1 return;
-1 31724 },
-1 31725 'focusable-no-name': {
-1 31726 impact: 'serious',
-1 31727 messages: {
-1 31728 pass: 'Element is not in tab order or has accessible text',
-1 31729 fail: 'Element is in tab order and does not have accessible text',
-1 31730 incomplete: 'Unable to determine if element has an accessible name'
19343 31731 }
19344 -1 };
19345 -1 this.getRelativeLuminance = function() {
19346 -1 var rSRGB = this.red / 255;
19347 -1 var gSRGB = this.green / 255;
19348 -1 var bSRGB = this.blue / 255;
19349 -1 var r = rSRGB <= .03928 ? rSRGB / 12.92 : Math.pow((rSRGB + .055) / 1.055, 2.4);
19350 -1 var g = gSRGB <= .03928 ? gSRGB / 12.92 : Math.pow((gSRGB + .055) / 1.055, 2.4);
19351 -1 var b = bSRGB <= .03928 ? bSRGB / 12.92 : Math.pow((bSRGB + .055) / 1.055, 2.4);
19352 -1 return .2126 * r + .7152 * g + .0722 * b;
19353 -1 };
19354 -1 };
19355 -1 color.flattenColors = function(fgColor, bgColor) {
19356 -1 var alpha = fgColor.alpha;
19357 -1 var r = (1 - alpha) * bgColor.red + alpha * fgColor.red;
19358 -1 var g = (1 - alpha) * bgColor.green + alpha * fgColor.green;
19359 -1 var b = (1 - alpha) * bgColor.blue + alpha * fgColor.blue;
19360 -1 var a = fgColor.alpha + bgColor.alpha * (1 - fgColor.alpha);
19361 -1 return new color.Color(r, g, b, a);
19362 -1 };
19363 -1 color.getContrast = function(bgColor, fgColor) {
19364 -1 if (!fgColor || !bgColor) {
19365 -1 return null;
19366 -1 }
19367 -1 if (fgColor.alpha < 1) {
19368 -1 fgColor = color.flattenColors(fgColor, bgColor);
19369 -1 }
19370 -1 var bL = bgColor.getRelativeLuminance();
19371 -1 var fL = fgColor.getRelativeLuminance();
19372 -1 return (Math.max(fL, bL) + .05) / (Math.min(fL, bL) + .05);
19373 -1 };
19374 -1 color.hasValidContrastRatio = function(bg, fg, fontSize, isBold) {
19375 -1 var contrast = color.getContrast(bg, fg);
19376 -1 var isSmallFont = isBold && Math.ceil(fontSize * 72) / 96 < 14 || !isBold && Math.ceil(fontSize * 72) / 96 < 18;
19377 -1 var expectedContrastRatio = isSmallFont ? 4.5 : 3;
19378 -1 return {
19379 -1 isValid: contrast > expectedContrastRatio,
19380 -1 contrastRatio: contrast,
19381 -1 expectedContrastRatio: expectedContrastRatio
19382 -1 };
19383 -1 };
19384 -1 function _getFonts(style) {
19385 -1 return style.getPropertyValue('font-family').split(/[,;]/g).map(function(font) {
19386 -1 return font.trim().toLowerCase();
19387 -1 });
19388 -1 }
19389 -1 function elementIsDistinct(node, ancestorNode) {
19390 -1 var nodeStyle = window.getComputedStyle(node);
19391 -1 if (nodeStyle.getPropertyValue('background-image') !== 'none') {
19392 -1 return true;
19393 -1 }
19394 -1 var hasBorder = [ 'border-bottom', 'border-top', 'outline' ].reduce(function(result, edge) {
19395 -1 var borderClr = new color.Color();
19396 -1 borderClr.parseRgbString(nodeStyle.getPropertyValue(edge + '-color'));
19397 -1 return result || nodeStyle.getPropertyValue(edge + '-style') !== 'none' && parseFloat(nodeStyle.getPropertyValue(edge + '-width')) > 0 && borderClr.alpha !== 0;
19398 -1 }, false);
19399 -1 if (hasBorder) {
19400 -1 return true;
19401 -1 }
19402 -1 var parentStyle = window.getComputedStyle(ancestorNode);
19403 -1 if (_getFonts(nodeStyle)[0] !== _getFonts(parentStyle)[0]) {
19404 -1 return true;
19405 -1 }
19406 -1 var hasStyle = [ 'text-decoration-line', 'text-decoration-style', 'font-weight', 'font-style', 'font-size' ].reduce(function(result, cssProp) {
19407 -1 return result || nodeStyle.getPropertyValue(cssProp) !== parentStyle.getPropertyValue(cssProp);
19408 -1 }, false);
19409 -1 var tDec = nodeStyle.getPropertyValue('text-decoration');
19410 -1 if (tDec.split(' ').length < 3) {
19411 -1 hasStyle = hasStyle || tDec !== parentStyle.getPropertyValue('text-decoration');
19412 -1 }
19413 -1 return hasStyle;
19414 -1 }
19415 -1 color.elementIsDistinct = elementIsDistinct;
19416 -1 var graphicNodes = [ 'IMG', 'CANVAS', 'OBJECT', 'IFRAME', 'VIDEO', 'SVG' ];
19417 -1 function elmHasImage(elm, style) {
19418 -1 var nodeName = elm.nodeName.toUpperCase();
19419 -1 if (graphicNodes.includes(nodeName)) {
19420 -1 axe.commons.color.incompleteData.set('bgColor', 'imgNode');
19421 -1 return true;
19422 -1 }
19423 -1 style = style || window.getComputedStyle(elm);
19424 -1 var bgImageStyle = style.getPropertyValue('background-image');
19425 -1 var hasBgImage = bgImageStyle !== 'none';
19426 -1 if (hasBgImage) {
19427 -1 var hasGradient = /gradient/.test(bgImageStyle);
19428 -1 axe.commons.color.incompleteData.set('bgColor', hasGradient ? 'bgGradient' : 'bgImage');
19429 -1 }
19430 -1 return hasBgImage;
19431 -1 }
19432 -1 function getBgColor(elm, elmStyle) {
19433 -1 elmStyle = elmStyle || window.getComputedStyle(elm);
19434 -1 var bgColor = new color.Color();
19435 -1 bgColor.parseRgbString(elmStyle.getPropertyValue('background-color'));
19436 -1 if (bgColor.alpha !== 0) {
19437 -1 var opacity = elmStyle.getPropertyValue('opacity');
19438 -1 bgColor.alpha = bgColor.alpha * opacity;
19439 -1 }
19440 -1 return bgColor;
19441 -1 }
19442 -1 function contentOverlapping(targetElement, bgNode) {
19443 -1 var targetRect = targetElement.getClientRects()[0];
19444 -1 var obscuringElements = dom.shadowElementsFromPoint(targetRect.left, targetRect.top);
19445 -1 if (obscuringElements) {
19446 -1 for (var i = 0; i < obscuringElements.length; i++) {
19447 -1 if (obscuringElements[i] !== targetElement && obscuringElements[i] === bgNode) {
19448 -1 return true;
-1 31732 },
-1 31733 'only-listitems': {
-1 31734 impact: 'serious',
-1 31735 messages: {
-1 31736 pass: 'List element only has direct children that are allowed inside <li> elements',
-1 31737 fail: {
-1 31738 default: 'List element has direct children that are not allowed inside <li> elements',
-1 31739 roleNotValid: 'List element has direct children with a role that is not allowed: ${data.roles}'
19449 31740 }
19450 31741 }
19451 -1 }
19452 -1 return false;
19453 -1 }
19454 -1 function calculateObscuringAlpha(elmIndex, elmStack, originalElm) {
19455 -1 var totalAlpha = 0;
19456 -1 if (elmIndex > 0) {
19457 -1 for (var i = elmIndex - 1; i >= 0; i--) {
19458 -1 var bgElm = elmStack[i];
19459 -1 var bgElmStyle = window.getComputedStyle(bgElm);
19460 -1 var bgColor = getBgColor(bgElm, bgElmStyle);
19461 -1 if (bgColor.alpha && contentOverlapping(originalElm, bgElm)) {
19462 -1 totalAlpha += bgColor.alpha;
19463 -1 } else {
19464 -1 elmStack.splice(i, 1);
-1 31742 },
-1 31743 listitem: {
-1 31744 impact: 'serious',
-1 31745 messages: {
-1 31746 pass: 'List item has a <ul>, <ol> or role="list" parent element',
-1 31747 fail: {
-1 31748 default: 'List item does not have a <ul>, <ol> parent element',
-1 31749 roleNotValid: 'List item does not have a <ul>, <ol> parent element without a role, or a role="list"'
19465 31750 }
19466 31751 }
19467 -1 }
19468 -1 return totalAlpha;
19469 -1 }
19470 -1 function elmPartiallyObscured(elm, bgElm, bgColor) {
19471 -1 var obscured = elm !== bgElm && !dom.visuallyContains(elm, bgElm) && bgColor.alpha !== 0;
19472 -1 if (obscured) {
19473 -1 axe.commons.color.incompleteData.set('bgColor', 'elmPartiallyObscured');
19474 -1 }
19475 -1 return obscured;
19476 -1 }
19477 -1 function includeMissingElements(elmStack, elm) {
19478 -1 var elementMap = {
19479 -1 TD: [ 'TR', 'TBODY' ],
19480 -1 TH: [ 'TR', 'THEAD' ],
19481 -1 INPUT: [ 'LABEL' ]
19482 -1 };
19483 -1 var tagArray = elmStack.map(function(elm) {
19484 -1 return elm.nodeName;
19485 -1 });
19486 -1 var bgNodes = elmStack;
19487 -1 for (var candidate in elementMap) {
19488 -1 if (tagArray.includes(candidate)) {
19489 -1 for (var candidateIndex in elementMap[candidate]) {
19490 -1 if (candidate.hasOwnProperty(candidateIndex)) {
19491 -1 var ancestorMatch = axe.commons.dom.findUp(elm, elementMap[candidate][candidateIndex]);
19492 -1 if (ancestorMatch && elmStack.indexOf(ancestorMatch) === -1) {
19493 -1 var overlaps = axe.commons.dom.visuallyOverlaps(elm.getBoundingClientRect(), ancestorMatch);
19494 -1 if (overlaps) {
19495 -1 bgNodes.splice(tagArray.indexOf(candidate) + 1, 0, ancestorMatch);
19496 -1 }
19497 -1 }
19498 -1 if (elm.nodeName === elementMap[candidate][candidateIndex] && tagArray.indexOf(elm.nodeName) === -1) {
19499 -1 bgNodes.splice(tagArray.indexOf(candidate) + 1, 0, elm);
19500 -1 }
19501 -1 }
19502 -1 }
-1 31752 },
-1 31753 'meta-refresh': {
-1 31754 impact: 'critical',
-1 31755 messages: {
-1 31756 pass: '<meta> tag does not immediately refresh the page',
-1 31757 fail: '<meta> tag forces timed refresh of page'
19503 31758 }
19504 -1 }
19505 -1 return bgNodes;
19506 -1 }
19507 -1 function sortPageBackground(elmStack) {
19508 -1 var bodyIndex = elmStack.indexOf(document.body);
19509 -1 var bgNodes = elmStack;
19510 -1 if (bodyIndex > 1 && !elmHasImage(document.documentElement) && getBgColor(document.documentElement).alpha === 0) {
19511 -1 bgNodes.splice(bodyIndex, 1);
19512 -1 bgNodes.splice(elmStack.indexOf(document.documentElement), 1);
19513 -1 bgNodes.push(document.body);
19514 -1 }
19515 -1 return bgNodes;
19516 -1 }
19517 -1 color.getCoords = function(rect) {
19518 -1 var x = void 0, y = void 0;
19519 -1 if (rect.left > window.innerWidth) {
19520 -1 return;
19521 -1 }
19522 -1 if (rect.top > window.innerHeight) {
19523 -1 return;
19524 -1 }
19525 -1 x = Math.min(Math.ceil(rect.left + rect.width / 2), window.innerWidth - 1);
19526 -1 y = Math.min(Math.ceil(rect.top + rect.height / 2), window.innerHeight - 1);
19527 -1 return {
19528 -1 x: x,
19529 -1 y: y
19530 -1 };
19531 -1 };
19532 -1 color.getRectStack = function(elm) {
19533 -1 var boundingCoords = color.getCoords(elm.getBoundingClientRect());
19534 -1 if (!boundingCoords) {
19535 -1 return null;
19536 -1 }
19537 -1 var boundingStack = dom.shadowElementsFromPoint(boundingCoords.x, boundingCoords.y);
19538 -1 var rects = Array.from(elm.getClientRects());
19539 -1 if (!rects || rects.length <= 1) {
19540 -1 return [ boundingStack ];
19541 -1 }
19542 -1 var filteredArr = rects.filter(function(rect) {
19543 -1 return rect.width && rect.width > 0;
19544 -1 }).map(function(rect) {
19545 -1 var coords = color.getCoords(rect);
19546 -1 if (coords) {
19547 -1 return dom.shadowElementsFromPoint(coords.x, coords.y);
-1 31759 },
-1 31760 'meta-viewport-large': {
-1 31761 impact: 'minor',
-1 31762 messages: {
-1 31763 pass: '<meta> tag does not prevent significant zooming on mobile devices',
-1 31764 fail: '<meta> tag limits zooming on mobile devices'
19548 31765 }
19549 -1 });
19550 -1 if (filteredArr.some(function(stack) {
19551 -1 return stack === undefined;
19552 -1 })) {
19553 -1 return null;
19554 -1 }
19555 -1 filteredArr.splice(0, 0, boundingStack);
19556 -1 return filteredArr;
19557 -1 };
19558 -1 color.filteredRectStack = function(elm) {
19559 -1 var rectStack = color.getRectStack(elm);
19560 -1 if (rectStack && rectStack.length === 1) {
19561 -1 return rectStack[0];
19562 -1 } else if (rectStack && rectStack.length > 1) {
19563 -1 var boundingStack = rectStack.shift();
19564 -1 var isSame = void 0;
19565 -1 rectStack.forEach(function(rectList, index) {
19566 -1 if (index === 0) {
19567 -1 return;
19568 -1 }
19569 -1 var rectA = rectStack[index - 1], rectB = rectStack[index];
19570 -1 isSame = rectA.every(function(element, elementIndex) {
19571 -1 return element === rectB[elementIndex];
19572 -1 }) || boundingStack.includes(elm);
19573 -1 });
19574 -1 if (!isSame) {
19575 -1 axe.commons.color.incompleteData.set('bgColor', 'elmPartiallyObscuring');
19576 -1 return null;
-1 31766 },
-1 31767 'meta-viewport': {
-1 31768 impact: 'critical',
-1 31769 messages: {
-1 31770 pass: '<meta> tag does not disable zooming on mobile devices',
-1 31771 fail: '${data} on <meta> tag disables zooming on mobile devices'
19577 31772 }
19578 -1 return rectStack[0];
19579 -1 } else {
19580 -1 axe.commons.color.incompleteData.set('bgColor', 'outsideViewport');
19581 -1 return null;
19582 -1 }
19583 -1 };
19584 -1 color.getBackgroundStack = function(elm) {
19585 -1 var elmStack = color.filteredRectStack(elm);
19586 -1 if (elmStack === null) {
19587 -1 return null;
19588 -1 }
19589 -1 elmStack = includeMissingElements(elmStack, elm);
19590 -1 elmStack = dom.reduceToElementsBelowFloating(elmStack, elm);
19591 -1 elmStack = sortPageBackground(elmStack);
19592 -1 var elmIndex = elmStack.indexOf(elm);
19593 -1 if (calculateObscuringAlpha(elmIndex, elmStack, elm) >= .99) {
19594 -1 axe.commons.color.incompleteData.set('bgColor', 'bgOverlap');
19595 -1 return null;
19596 -1 }
19597 -1 return elmIndex !== -1 ? elmStack : null;
19598 -1 };
19599 -1 color.getBackgroundColor = function(elm) {
19600 -1 var bgElms = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
19601 -1 var noScroll = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
19602 -1 if (noScroll !== true) {
19603 -1 var clientHeight = elm.getBoundingClientRect().height;
19604 -1 var alignToTop = clientHeight - 2 >= window.innerHeight * 2;
19605 -1 elm.scrollIntoView(alignToTop);
19606 -1 }
19607 -1 var bgColors = [];
19608 -1 var elmStack = color.getBackgroundStack(elm);
19609 -1 (elmStack || []).some(function(bgElm) {
19610 -1 var bgElmStyle = window.getComputedStyle(bgElm);
19611 -1 var bgColor = getBgColor(bgElm, bgElmStyle);
19612 -1 if (elmPartiallyObscured(elm, bgElm, bgColor) || elmHasImage(bgElm, bgElmStyle)) {
19613 -1 bgColors = null;
19614 -1 bgElms.push(bgElm);
19615 -1 return true;
-1 31773 },
-1 31774 'no-autoplay-audio': {
-1 31775 impact: 'moderate',
-1 31776 messages: {
-1 31777 pass: '<video> or <audio> does not output audio for more than allowed duration or has controls mechanism',
-1 31778 fail: '<video> or <audio> outputs audio for more than allowed duration and does not have a controls mechanism',
-1 31779 incomplete: 'Check that the <video> or <audio> does not output audio for more than allowed duration or provides a controls mechanism'
19616 31780 }
19617 -1 if (bgColor.alpha !== 0) {
19618 -1 bgElms.push(bgElm);
19619 -1 bgColors.push(bgColor);
19620 -1 return bgColor.alpha === 1;
19621 -1 } else {
19622 -1 return false;
-1 31781 },
-1 31782 'p-as-heading': {
-1 31783 impact: 'serious',
-1 31784 messages: {
-1 31785 pass: '<p> elements are not styled as headings',
-1 31786 fail: 'Heading elements should be used instead of styled p elements'
19623 31787 }
19624 -1 });
19625 -1 if (bgColors !== null && elmStack !== null) {
19626 -1 bgColors.push(new color.Color(255, 255, 255, 1));
19627 -1 var colors = bgColors.reduce(color.flattenColors);
19628 -1 return colors;
19629 -1 }
19630 -1 return null;
19631 -1 };
19632 -1 dom.isOpaque = function(node) {
19633 -1 var style = window.getComputedStyle(node);
19634 -1 return elmHasImage(node, style) || getBgColor(node, style).alpha === 1;
19635 -1 };
19636 -1 color.getForegroundColor = function(node, noScroll) {
19637 -1 var nodeStyle = window.getComputedStyle(node);
19638 -1 var fgColor = new color.Color();
19639 -1 fgColor.parseRgbString(nodeStyle.getPropertyValue('color'));
19640 -1 var opacity = nodeStyle.getPropertyValue('opacity');
19641 -1 fgColor.alpha = fgColor.alpha * opacity;
19642 -1 if (fgColor.alpha === 1) {
19643 -1 return fgColor;
19644 -1 }
19645 -1 var bgColor = color.getBackgroundColor(node, [], noScroll);
19646 -1 if (bgColor === null) {
19647 -1 var reason = axe.commons.color.incompleteData.get('bgColor');
19648 -1 axe.commons.color.incompleteData.set('fgColor', reason);
19649 -1 return null;
19650 -1 }
19651 -1 return color.flattenColors(fgColor, bgColor);
19652 -1 };
19653 -1 color.incompleteData = function() {
19654 -1 var data = {};
19655 -1 return {
19656 -1 set: function set(key, reason) {
19657 -1 if (typeof key !== 'string') {
19658 -1 throw new Error('Incomplete data: key must be a string');
19659 -1 }
19660 -1 if (reason) {
19661 -1 data[key] = reason;
19662 -1 }
19663 -1 return data[key];
19664 -1 },
19665 -1 get: function get(key) {
19666 -1 return data[key];
19667 -1 },
19668 -1 clear: function clear() {
19669 -1 data = {};
-1 31788 },
-1 31789 'page-has-heading-one': {
-1 31790 impact: 'moderate',
-1 31791 messages: {
-1 31792 pass: 'Page has at least one level-one heading',
-1 31793 fail: 'Page must have a level-one heading'
19670 31794 }
19671 -1 };
19672 -1 }();
19673 -1 dom.reduceToElementsBelowFloating = function(elements, targetNode) {
19674 -1 var floatingPositions = [ 'fixed', 'sticky' ], finalElements = [], targetFound = false, index, currentNode, style;
19675 -1 for (index = 0; index < elements.length; ++index) {
19676 -1 currentNode = elements[index];
19677 -1 if (currentNode === targetNode) {
19678 -1 targetFound = true;
-1 31795 },
-1 31796 region: {
-1 31797 impact: 'moderate',
-1 31798 messages: {
-1 31799 pass: 'All page content is contained by landmarks',
-1 31800 fail: 'Some page content is not contained by landmarks'
-1 31801 }
-1 31802 },
-1 31803 'html5-scope': {
-1 31804 impact: 'moderate',
-1 31805 messages: {
-1 31806 pass: 'Scope attribute is only used on table header elements (<th>)',
-1 31807 fail: 'In HTML 5, scope attributes may only be used on table header elements (<th>)'
19679 31808 }
19680 -1 style = window.getComputedStyle(currentNode);
19681 -1 if (!targetFound && floatingPositions.indexOf(style.position) !== -1) {
19682 -1 finalElements = [];
19683 -1 continue;
-1 31809 },
-1 31810 'scope-value': {
-1 31811 impact: 'critical',
-1 31812 messages: {
-1 31813 pass: 'Scope attribute is used correctly',
-1 31814 fail: 'The value of the scope attribute may only be \'row\' or \'col\''
19684 31815 }
19685 -1 finalElements.push(currentNode);
19686 -1 }
19687 -1 return finalElements;
19688 -1 };
19689 -1 dom.findElmsInContext = function(_ref28) {
19690 -1 var context = _ref28.context, value = _ref28.value, attr = _ref28.attr, _ref28$elm = _ref28.elm, elm = _ref28$elm === undefined ? '' : _ref28$elm;
19691 -1 var root = void 0;
19692 -1 var escapedValue = axe.utils.escapeSelector(value);
19693 -1 if (context.nodeType === 9 || context.nodeType === 11) {
19694 -1 root = context;
19695 -1 } else {
19696 -1 root = dom.getRootNode(context);
19697 -1 }
19698 -1 return Array.from(root.querySelectorAll(elm + '[' + attr + '=' + escapedValue + ']'));
19699 -1 };
19700 -1 dom.findUp = function(element, target) {
19701 -1 return dom.findUpVirtual(axe.utils.getNodeFromTree(axe._tree[0], element), target);
19702 -1 };
19703 -1 dom.findUpVirtual = function(element, target) {
19704 -1 var parent = void 0;
19705 -1 parent = element.actualNode;
19706 -1 if (!element.shadowId && typeof element.actualNode.closest === 'function') {
19707 -1 var match = element.actualNode.closest(target);
19708 -1 if (match) {
19709 -1 return match;
-1 31816 },
-1 31817 'focusable-content': {
-1 31818 impact: 'moderate',
-1 31819 messages: {
-1 31820 pass: 'Element contains focusable elements',
-1 31821 fail: 'Element should have focusable content'
19710 31822 }
19711 -1 return null;
19712 -1 }
19713 -1 do {
19714 -1 parent = parent.assignedSlot ? parent.assignedSlot : parent.parentNode;
19715 -1 if (parent && parent.nodeType === 11) {
19716 -1 parent = parent.host;
-1 31823 },
-1 31824 'focusable-element': {
-1 31825 impact: 'moderate',
-1 31826 messages: {
-1 31827 pass: 'Element is focusable',
-1 31828 fail: 'Element should be focusable'
19717 31829 }
19718 -1 } while (parent && !axe.utils.matchesSelector(parent, target) && parent !== document.documentElement);
19719 -1 if (!axe.utils.matchesSelector(parent, target)) {
19720 -1 return null;
19721 -1 }
19722 -1 return parent;
19723 -1 };
19724 -1 dom.getComposedParent = function getComposedParent(element) {
19725 -1 if (element.assignedSlot) {
19726 -1 return getComposedParent(element.assignedSlot);
19727 -1 } else if (element.parentNode) {
19728 -1 var parentNode = element.parentNode;
19729 -1 if (parentNode.nodeType === 1) {
19730 -1 return parentNode;
19731 -1 } else if (parentNode.host) {
19732 -1 return parentNode.host;
-1 31830 },
-1 31831 exists: {
-1 31832 impact: 'minor',
-1 31833 messages: {
-1 31834 pass: 'Element does not exist',
-1 31835 incomplete: 'Element exists'
19733 31836 }
19734 -1 }
19735 -1 return null;
19736 -1 };
19737 -1 dom.getElementByReference = function(node, attr) {
19738 -1 var fragment = node.getAttribute(attr);
19739 -1 if (!fragment) {
19740 -1 return null;
19741 -1 }
19742 -1 if (fragment.charAt(0) === '#') {
19743 -1 fragment = decodeURIComponent(fragment.substring(1));
19744 -1 } else if (fragment.substr(0, 2) === '/#') {
19745 -1 fragment = decodeURIComponent(fragment.substring(2));
19746 -1 }
19747 -1 var candidate = document.getElementById(fragment);
19748 -1 if (candidate) {
19749 -1 return candidate;
19750 -1 }
19751 -1 candidate = document.getElementsByName(fragment);
19752 -1 if (candidate.length) {
19753 -1 return candidate[0];
19754 -1 }
19755 -1 return null;
19756 -1 };
19757 -1 dom.getElementCoordinates = function(element) {
19758 -1 'use strict';
19759 -1 var scrollOffset = dom.getScrollOffset(document), xOffset = scrollOffset.left, yOffset = scrollOffset.top, coords = element.getBoundingClientRect();
19760 -1 return {
19761 -1 top: coords.top + yOffset,
19762 -1 right: coords.right + xOffset,
19763 -1 bottom: coords.bottom + yOffset,
19764 -1 left: coords.left + xOffset,
19765 -1 width: coords.right - coords.left,
19766 -1 height: coords.bottom - coords.top
19767 -1 };
19768 -1 };
19769 -1 dom.getRootNode = axe.utils.getRootNode;
19770 -1 dom.getScrollOffset = function(element) {
19771 -1 'use strict';
19772 -1 if (!element.nodeType && element.document) {
19773 -1 element = element.document;
19774 -1 }
19775 -1 if (element.nodeType === 9) {
19776 -1 var docElement = element.documentElement, body = element.body;
19777 -1 return {
19778 -1 left: docElement && docElement.scrollLeft || body && body.scrollLeft || 0,
19779 -1 top: docElement && docElement.scrollTop || body && body.scrollTop || 0
19780 -1 };
19781 -1 }
19782 -1 return {
19783 -1 left: element.scrollLeft,
19784 -1 top: element.scrollTop
19785 -1 };
19786 -1 };
19787 -1 dom.getTabbableElements = function getTabbableElements(virtualNode) {
19788 -1 var nodeAndDescendents = axe.utils.querySelectorAll(virtualNode, '*');
19789 -1 var tabbableElements = nodeAndDescendents.filter(function(vNode) {
19790 -1 var isFocusable = vNode.isFocusable;
19791 -1 var tabIndex = vNode.actualNode.getAttribute('tabindex');
19792 -1 tabIndex = tabIndex && !isNaN(parseInt(tabIndex, 10)) ? parseInt(tabIndex) : null;
19793 -1 return tabIndex ? isFocusable && tabIndex >= 0 : isFocusable;
19794 -1 });
19795 -1 return tabbableElements;
19796 -1 };
19797 -1 dom.getViewportSize = function(win) {
19798 -1 'use strict';
19799 -1 var body, doc = win.document, docElement = doc.documentElement;
19800 -1 if (win.innerWidth) {
19801 -1 return {
19802 -1 width: win.innerWidth,
19803 -1 height: win.innerHeight
19804 -1 };
19805 -1 }
19806 -1 if (docElement) {
19807 -1 return {
19808 -1 width: docElement.clientWidth,
19809 -1 height: docElement.clientHeight
19810 -1 };
19811 -1 }
19812 -1 body = doc.body;
19813 -1 return {
19814 -1 width: body.clientWidth,
19815 -1 height: body.clientHeight
19816 -1 };
19817 -1 };
19818 -1 var hiddenTextElms = [ 'HEAD', 'TITLE', 'TEMPLATE', 'SCRIPT', 'STYLE', 'IFRAME', 'OBJECT', 'VIDEO', 'AUDIO', 'NOSCRIPT' ];
19819 -1 function hasChildTextNodes(elm) {
19820 -1 if (!hiddenTextElms.includes(elm.actualNode.nodeName.toUpperCase())) {
19821 -1 return elm.children.some(function(_ref29) {
19822 -1 var actualNode = _ref29.actualNode;
19823 -1 return actualNode.nodeType === 3 && actualNode.nodeValue.trim();
19824 -1 });
19825 -1 }
19826 -1 }
19827 -1 dom.hasContentVirtual = function(elm, noRecursion) {
19828 -1 return hasChildTextNodes(elm) || dom.isVisualContent(elm.actualNode) || !!aria.labelVirtual(elm) || !noRecursion && elm.children.some(function(child) {
19829 -1 return child.actualNode.nodeType === 1 && dom.hasContentVirtual(child);
19830 -1 });
19831 -1 };
19832 -1 dom.hasContent = function hasContent(elm, noRecursion) {
19833 -1 elm = axe.utils.getNodeFromTree(axe._tree[0], elm);
19834 -1 return dom.hasContentVirtual(elm, noRecursion);
19835 -1 };
19836 -1 dom.idrefs = function(node, attr) {
19837 -1 'use strict';
19838 -1 var index, length, doc = dom.getRootNode(node), result = [], idrefs = node.getAttribute(attr);
19839 -1 if (idrefs) {
19840 -1 idrefs = axe.utils.tokenList(idrefs);
19841 -1 for (index = 0, length = idrefs.length; index < length; index++) {
19842 -1 result.push(doc.getElementById(idrefs[index]));
-1 31837 },
-1 31838 'skip-link': {
-1 31839 impact: 'moderate',
-1 31840 messages: {
-1 31841 pass: 'Skip link target exists',
-1 31842 incomplete: 'Skip link target should become visible on activation',
-1 31843 fail: 'No skip link target'
19843 31844 }
19844 -1 }
19845 -1 return result;
19846 -1 };
19847 -1 function focusDisabled(el) {
19848 -1 return el.disabled || dom.isHiddenWithCSS(el) && el.nodeName.toUpperCase() !== 'AREA';
19849 -1 }
19850 -1 dom.isFocusable = function(el) {
19851 -1 'use strict';
19852 -1 if (focusDisabled(el)) {
19853 -1 return false;
19854 -1 } else if (dom.isNativelyFocusable(el)) {
19855 -1 return true;
19856 -1 }
19857 -1 var tabindex = el.getAttribute('tabindex');
19858 -1 if (tabindex && !isNaN(parseInt(tabindex, 10))) {
19859 -1 return true;
19860 -1 }
19861 -1 return false;
19862 -1 };
19863 -1 dom.isNativelyFocusable = function(el) {
19864 -1 'use strict';
19865 -1 if (!el || focusDisabled(el)) {
19866 -1 return false;
19867 -1 }
19868 -1 switch (el.nodeName.toUpperCase()) {
19869 -1 case 'A':
19870 -1 case 'AREA':
19871 -1 if (el.href) {
19872 -1 return true;
-1 31845 },
-1 31846 'svg-non-empty-title': {
-1 31847 impact: 'serious',
-1 31848 messages: {
-1 31849 pass: 'Element has a child that is a title',
-1 31850 fail: {
-1 31851 noTitle: 'Element has no child that is a title',
-1 31852 emptyTitle: 'Element child title is empty'
-1 31853 },
-1 31854 incomplete: 'Unable to determine element has a child that is a title'
19873 31855 }
19874 -1 break;
19875 -1
19876 -1 case 'INPUT':
19877 -1 return el.type !== 'hidden';
19878 -1
19879 -1 case 'TEXTAREA':
19880 -1 case 'SELECT':
19881 -1 case 'DETAILS':
19882 -1 case 'BUTTON':
19883 -1 return true;
19884 -1 }
19885 -1 return false;
19886 -1 };
19887 -1 dom.insertedIntoFocusOrder = function(el) {
19888 -1 return el.tabIndex > -1 && dom.isFocusable(el) && !dom.isNativelyFocusable(el);
19889 -1 };
19890 -1 dom.isHiddenWithCSS = function isHiddenWithCSS(el, descendentVisibilityValue) {
19891 -1 if (el.nodeType === 9) {
19892 -1 return false;
19893 -1 }
19894 -1 if (el.nodeType === 11) {
19895 -1 el = el.host;
19896 -1 }
19897 -1 if ([ 'STYLE', 'SCRIPT' ].includes(el.nodeName.toUpperCase())) {
19898 -1 return false;
19899 -1 }
19900 -1 var style = window.getComputedStyle(el, null);
19901 -1 if (!style) {
19902 -1 throw new Error('Style does not exist for the given element.');
19903 -1 }
19904 -1 var displayValue = style.getPropertyValue('display');
19905 -1 if (displayValue === 'none') {
19906 -1 return true;
19907 -1 }
19908 -1 var HIDDEN_VISIBILITY_VALUES = [ 'hidden', 'collapse' ];
19909 -1 var visibilityValue = style.getPropertyValue('visibility');
19910 -1 if (HIDDEN_VISIBILITY_VALUES.includes(visibilityValue) && !descendentVisibilityValue) {
19911 -1 return true;
19912 -1 }
19913 -1 if (HIDDEN_VISIBILITY_VALUES.includes(visibilityValue) && descendentVisibilityValue && HIDDEN_VISIBILITY_VALUES.includes(descendentVisibilityValue)) {
19914 -1 return true;
19915 -1 }
19916 -1 var parent = dom.getComposedParent(el);
19917 -1 if (parent && !HIDDEN_VISIBILITY_VALUES.includes(visibilityValue)) {
19918 -1 return dom.isHiddenWithCSS(parent, visibilityValue);
19919 -1 }
19920 -1 return false;
19921 -1 };
19922 -1 dom.isHTML5 = function(doc) {
19923 -1 var node = doc.doctype;
19924 -1 if (node === null) {
19925 -1 return false;
19926 -1 }
19927 -1 return node.name === 'html' && !node.publicId && !node.systemId;
19928 -1 };
19929 -1 function walkDomNode(node, functor) {
19930 -1 if (functor(node.actualNode) !== false) {
19931 -1 node.children.forEach(function(child) {
19932 -1 return walkDomNode(child, functor);
19933 -1 });
19934 -1 }
19935 -1 }
19936 -1 var blockLike = [ 'block', 'list-item', 'table', 'flex', 'grid', 'inline-block' ];
19937 -1 function isBlock(elm) {
19938 -1 var display = window.getComputedStyle(elm).getPropertyValue('display');
19939 -1 return blockLike.includes(display) || display.substr(0, 6) === 'table-';
19940 -1 }
19941 -1 function getBlockParent(node) {
19942 -1 var parentBlock = dom.getComposedParent(node);
19943 -1 while (parentBlock && !isBlock(parentBlock)) {
19944 -1 parentBlock = dom.getComposedParent(parentBlock);
19945 -1 }
19946 -1 return axe.utils.getNodeFromTree(axe._tree[0], parentBlock);
19947 -1 }
19948 -1 dom.isInTextBlock = function isInTextBlock(node) {
19949 -1 if (isBlock(node)) {
19950 -1 return false;
19951 -1 }
19952 -1 var virtualParent = getBlockParent(node);
19953 -1 var parentText = '';
19954 -1 var linkText = '';
19955 -1 var inBrBlock = 0;
19956 -1 walkDomNode(virtualParent, function(currNode) {
19957 -1 if (inBrBlock === 2) {
19958 -1 return false;
-1 31856 },
-1 31857 tabindex: {
-1 31858 impact: 'serious',
-1 31859 messages: {
-1 31860 pass: 'Element does not have a tabindex greater than 0',
-1 31861 fail: 'Element has a tabindex greater than 0'
19959 31862 }
19960 -1 if (currNode.nodeType === 3) {
19961 -1 parentText += currNode.nodeValue;
-1 31863 },
-1 31864 'same-caption-summary': {
-1 31865 impact: 'minor',
-1 31866 messages: {
-1 31867 pass: 'Content of summary attribute and <caption> are not duplicated',
-1 31868 fail: 'Content of summary attribute and <caption> element are identical'
19962 31869 }
19963 -1 if (currNode.nodeType !== 1) {
19964 -1 return;
-1 31870 },
-1 31871 'caption-faked': {
-1 31872 impact: 'serious',
-1 31873 messages: {
-1 31874 pass: 'The first row of a table is not used as a caption',
-1 31875 fail: 'The first child of the table should be a caption instead of a table cell'
-1 31876 }
-1 31877 },
-1 31878 'td-has-header': {
-1 31879 impact: 'critical',
-1 31880 messages: {
-1 31881 pass: 'All non-empty data cells have table headers',
-1 31882 fail: 'Some non-empty data cells do not have table headers'
19965 31883 }
19966 -1 var nodeName = (currNode.nodeName || '').toUpperCase();
19967 -1 if ([ 'BR', 'HR' ].includes(nodeName)) {
19968 -1 if (inBrBlock === 0) {
19969 -1 parentText = '';
19970 -1 linkText = '';
19971 -1 } else {
19972 -1 inBrBlock = 2;
19973 -1 }
19974 -1 } else if (currNode.style.display === 'none' || currNode.style.overflow === 'hidden' || ![ '', null, 'none' ].includes(currNode.style.float) || ![ '', null, 'relative' ].includes(currNode.style.position)) {
19975 -1 return false;
19976 -1 } else if (nodeName === 'A' && currNode.href || (currNode.getAttribute('role') || '').toLowerCase() === 'link') {
19977 -1 if (currNode === node) {
19978 -1 inBrBlock = 1;
19979 -1 }
19980 -1 linkText += currNode.textContent;
19981 -1 return false;
-1 31884 },
-1 31885 'td-headers-attr': {
-1 31886 impact: 'serious',
-1 31887 messages: {
-1 31888 pass: 'The headers attribute is exclusively used to refer to other cells in the table',
-1 31889 incomplete: 'The headers attribute is empty',
-1 31890 fail: 'The headers attribute is not exclusively used to refer to other cells in the table'
19982 31891 }
19983 -1 });
19984 -1 parentText = axe.commons.text.sanitize(parentText);
19985 -1 linkText = axe.commons.text.sanitize(linkText);
19986 -1 return parentText.length > linkText.length;
19987 -1 };
19988 -1 dom.isNode = function(element) {
19989 -1 'use strict';
19990 -1 return element instanceof Node;
19991 -1 };
19992 -1 function noParentScrolled(element, offset) {
19993 -1 element = dom.getComposedParent(element);
19994 -1 while (element && element.nodeName.toLowerCase() !== 'html') {
19995 -1 if (element.scrollTop) {
19996 -1 offset += element.scrollTop;
19997 -1 if (offset >= 0) {
19998 -1 return false;
19999 -1 }
-1 31892 },
-1 31893 'th-has-data-cells': {
-1 31894 impact: 'serious',
-1 31895 messages: {
-1 31896 pass: 'All table header cells refer to data cells',
-1 31897 fail: 'Not all table header cells refer to data cells',
-1 31898 incomplete: 'Table data cells are missing or empty'
20000 31899 }
20001 -1 element = dom.getComposedParent(element);
20002 -1 }
20003 -1 return true;
20004 -1 }
20005 -1 dom.isOffscreen = function(element) {
20006 -1 var leftBoundary = void 0;
20007 -1 var docElement = document.documentElement;
20008 -1 var styl = window.getComputedStyle(element);
20009 -1 var dir = window.getComputedStyle(document.body || docElement).getPropertyValue('direction');
20010 -1 var coords = dom.getElementCoordinates(element);
20011 -1 if (coords.bottom < 0 && (noParentScrolled(element, coords.bottom) || styl.position === 'absolute')) {
20012 -1 return true;
20013 -1 }
20014 -1 if (coords.left === 0 && coords.right === 0) {
20015 -1 return false;
20016 31900 }
20017 -1 if (dir === 'ltr') {
20018 -1 if (coords.right <= 0) {
20019 -1 return true;
-1 31901 },
-1 31902 failureSummaries: {
-1 31903 any: {
-1 31904 failureMessage: function anonymous(it) {
-1 31905 var out = 'Fix any of the following:';
-1 31906 var arr1 = it;
-1 31907 if (arr1) {
-1 31908 var value, i1 = -1, l1 = arr1.length - 1;
-1 31909 while (i1 < l1) {
-1 31910 value = arr1[i1 += 1];
-1 31911 out += '\n ' + value.split('\n').join('\n ');
-1 31912 }
-1 31913 }
-1 31914 return out;
20020 31915 }
20021 -1 } else {
20022 -1 leftBoundary = Math.max(docElement.scrollWidth, dom.getViewportSize(window).width);
20023 -1 if (coords.left >= leftBoundary) {
20024 -1 return true;
-1 31916 },
-1 31917 none: {
-1 31918 failureMessage: function anonymous(it) {
-1 31919 var out = 'Fix all of the following:';
-1 31920 var arr1 = it;
-1 31921 if (arr1) {
-1 31922 var value, i1 = -1, l1 = arr1.length - 1;
-1 31923 while (i1 < l1) {
-1 31924 value = arr1[i1 += 1];
-1 31925 out += '\n ' + value.split('\n').join('\n ');
-1 31926 }
-1 31927 }
-1 31928 return out;
20025 31929 }
20026 31930 }
20027 -1 return false;
20028 -1 };
20029 -1 function isClipped(clip) {
20030 -1 'use strict';
20031 -1 var matches = clip.match(/rect\s*\(([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px\s*\)/);
20032 -1 if (matches && matches.length === 5) {
20033 -1 return matches[3] - matches[1] <= 0 && matches[2] - matches[4] <= 0;
20034 -1 }
20035 -1 return false;
20036 -1 }
20037 -1 dom.isVisible = function(el, screenReader, recursed) {
20038 -1 'use strict';
20039 -1 var style, nodeName, parent;
20040 -1 if (el.nodeType === 9) {
20041 -1 return true;
20042 -1 }
20043 -1 if (el.nodeType === 11) {
20044 -1 el = el.host;
20045 -1 }
20046 -1 style = window.getComputedStyle(el, null);
20047 -1 if (style === null) {
20048 -1 return false;
20049 -1 }
20050 -1 nodeName = el.nodeName.toUpperCase();
20051 -1 if (style.getPropertyValue('display') === 'none' || [ 'STYLE', 'SCRIPT', 'NOSCRIPT', 'TEMPLATE' ].includes(nodeName) || !screenReader && isClipped(style.getPropertyValue('clip')) || !recursed && (style.getPropertyValue('visibility') === 'hidden' || !screenReader && dom.isOffscreen(el)) || screenReader && el.getAttribute('aria-hidden') === 'true') {
20052 -1 return false;
20053 -1 }
20054 -1 parent = el.assignedSlot ? el.assignedSlot : el.parentNode;
20055 -1 if (parent) {
20056 -1 return dom.isVisible(parent, screenReader, true);
20057 -1 }
20058 -1 return false;
20059 -1 };
20060 -1 var visualRoles = [ 'checkbox', 'img', 'radio', 'range', 'slider', 'spinbutton', 'textbox' ];
20061 -1 dom.isVisualContent = function(element) {
20062 -1 var role = element.getAttribute('role');
20063 -1 if (role) {
20064 -1 return visualRoles.indexOf(role) !== -1;
20065 -1 }
20066 -1 switch (element.nodeName.toUpperCase()) {
20067 -1 case 'IMG':
20068 -1 case 'IFRAME':
20069 -1 case 'OBJECT':
20070 -1 case 'VIDEO':
20071 -1 case 'AUDIO':
20072 -1 case 'CANVAS':
20073 -1 case 'SVG':
20074 -1 case 'MATH':
20075 -1 case 'BUTTON':
20076 -1 case 'SELECT':
20077 -1 case 'TEXTAREA':
20078 -1 case 'KEYGEN':
20079 -1 case 'PROGRESS':
20080 -1 case 'METER':
20081 -1 return true;
20082 -1
20083 -1 case 'INPUT':
20084 -1 return element.type !== 'hidden';
20085 -1
20086 -1 default:
20087 -1 return false;
20088 -1 }
20089 -1 };
20090 -1 dom.shadowElementsFromPoint = function(nodeX, nodeY) {
20091 -1 var root = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : document;
20092 -1 var i = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 0;
20093 -1 if (i > 999) {
20094 -1 throw new Error('Infinite loop detected');
20095 -1 }
20096 -1 return Array.from(root.elementsFromPoint(nodeX, nodeY)).filter(function(nodes) {
20097 -1 return dom.getRootNode(nodes) === root;
20098 -1 }).reduce(function(stack, elm) {
20099 -1 if (axe.utils.isShadowRoot(elm)) {
20100 -1 var shadowStack = dom.shadowElementsFromPoint(nodeX, nodeY, elm.shadowRoot, i + 1);
20101 -1 stack = stack.concat(shadowStack);
20102 -1 if (stack.length && axe.commons.dom.visuallyContains(stack[0], elm)) {
20103 -1 stack.push(elm);
-1 31931 },
-1 31932 incompleteFallbackMessage: {}
-1 31933 },
-1 31934 rules: [ {
-1 31935 id: 'accesskeys',
-1 31936 selector: '[accesskey]',
-1 31937 excludeHidden: false,
-1 31938 tags: [ 'best-practice', 'cat.keyboard' ],
-1 31939 all: [],
-1 31940 any: [],
-1 31941 none: [ 'accesskeys' ]
-1 31942 }, {
-1 31943 id: 'area-alt',
-1 31944 selector: 'map area[href]',
-1 31945 excludeHidden: false,
-1 31946 tags: [ 'cat.text-alternatives', 'wcag2a', 'wcag111', 'wcag244', 'wcag412', 'section508', 'section508.22.a' ],
-1 31947 all: [],
-1 31948 any: [ {
-1 31949 options: {
-1 31950 attribute: 'alt'
-1 31951 },
-1 31952 id: 'non-empty-alt'
-1 31953 }, {
-1 31954 options: {
-1 31955 attribute: 'title'
-1 31956 },
-1 31957 id: 'non-empty-title'
-1 31958 }, 'aria-label', 'aria-labelledby' ],
-1 31959 none: []
-1 31960 }, {
-1 31961 id: 'aria-allowed-attr',
-1 31962 matches: 'aria-allowed-attr-matches',
-1 31963 tags: [ 'cat.aria', 'wcag2a', 'wcag412' ],
-1 31964 all: [],
-1 31965 any: [ 'aria-allowed-attr' ],
-1 31966 none: [ 'aria-unsupported-attr' ]
-1 31967 }, {
-1 31968 id: 'aria-allowed-role',
-1 31969 excludeHidden: false,
-1 31970 selector: '[role]',
-1 31971 matches: 'aria-allowed-role-matches',
-1 31972 tags: [ 'cat.aria', 'best-practice' ],
-1 31973 all: [],
-1 31974 any: [ {
-1 31975 options: {
-1 31976 allowImplicit: true,
-1 31977 ignoredTags: []
-1 31978 },
-1 31979 id: 'aria-allowed-role'
-1 31980 } ],
-1 31981 none: []
-1 31982 }, {
-1 31983 id: 'aria-hidden-body',
-1 31984 selector: 'body',
-1 31985 excludeHidden: false,
-1 31986 tags: [ 'cat.aria', 'wcag2a', 'wcag412' ],
-1 31987 all: [],
-1 31988 any: [ 'aria-hidden-body' ],
-1 31989 none: []
-1 31990 }, {
-1 31991 id: 'aria-hidden-focus',
-1 31992 selector: '[aria-hidden="true"]',
-1 31993 matches: 'aria-hidden-focus-matches',
-1 31994 excludeHidden: false,
-1 31995 tags: [ 'cat.name-role-value', 'wcag2a', 'wcag412', 'wcag131' ],
-1 31996 all: [ 'focusable-modal-open', 'focusable-disabled', 'focusable-not-tabbable' ],
-1 31997 any: [],
-1 31998 none: []
-1 31999 }, {
-1 32000 id: 'aria-input-field-name',
-1 32001 selector: '[role="combobox"], [role="listbox"], [role="searchbox"], [role="slider"], [role="spinbutton"], [role="textbox"]',
-1 32002 matches: 'aria-form-field-name-matches',
-1 32003 tags: [ 'wcag2a', 'wcag412' ],
-1 32004 all: [],
-1 32005 any: [ 'aria-label', 'aria-labelledby', {
-1 32006 options: {
-1 32007 attribute: 'title'
-1 32008 },
-1 32009 id: 'non-empty-title'
-1 32010 } ],
-1 32011 none: [ 'no-implicit-explicit-label' ]
-1 32012 }, {
-1 32013 id: 'aria-required-attr',
-1 32014 selector: '[role]',
-1 32015 tags: [ 'cat.aria', 'wcag2a', 'wcag412' ],
-1 32016 all: [],
-1 32017 any: [ 'aria-required-attr' ],
-1 32018 none: []
-1 32019 }, {
-1 32020 id: 'aria-required-children',
-1 32021 selector: '[role]',
-1 32022 tags: [ 'cat.aria', 'wcag2a', 'wcag131' ],
-1 32023 all: [],
-1 32024 any: [ {
-1 32025 options: {
-1 32026 reviewEmpty: [ 'doc-bibliography', 'doc-endnotes', 'grid', 'list', 'listbox', 'table', 'tablist', 'tree', 'treegrid', 'rowgroup' ]
-1 32027 },
-1 32028 id: 'aria-required-children'
-1 32029 } ],
-1 32030 none: []
-1 32031 }, {
-1 32032 id: 'aria-required-parent',
-1 32033 selector: '[role]',
-1 32034 tags: [ 'cat.aria', 'wcag2a', 'wcag131' ],
-1 32035 all: [],
-1 32036 any: [ 'aria-required-parent' ],
-1 32037 none: []
-1 32038 }, {
-1 32039 id: 'aria-roledescription',
-1 32040 selector: '[aria-roledescription]',
-1 32041 tags: [ 'cat.aria', 'wcag2a', 'wcag412' ],
-1 32042 all: [],
-1 32043 any: [ {
-1 32044 options: {
-1 32045 supportedRoles: [ 'button', 'img', 'checkbox', 'radio', 'combobox', 'menuitemcheckbox', 'menuitemradio' ]
-1 32046 },
-1 32047 id: 'aria-roledescription'
-1 32048 } ],
-1 32049 none: []
-1 32050 }, {
-1 32051 id: 'aria-roles',
-1 32052 selector: '[role]',
-1 32053 matches: 'no-empty-role-matches',
-1 32054 tags: [ 'cat.aria', 'wcag2a', 'wcag412' ],
-1 32055 all: [],
-1 32056 any: [],
-1 32057 none: [ 'fallbackrole', 'invalidrole', 'abstractrole', 'unsupportedrole' ]
-1 32058 }, {
-1 32059 id: 'aria-toggle-field-name',
-1 32060 selector: '[role="checkbox"], [role="menuitemcheckbox"], [role="menuitemradio"], [role="radio"], [role="switch"]',
-1 32061 matches: 'aria-form-field-name-matches',
-1 32062 tags: [ 'wcag2a', 'wcag412' ],
-1 32063 all: [],
-1 32064 any: [ 'aria-label', 'aria-labelledby', {
-1 32065 options: {
-1 32066 attribute: 'title'
-1 32067 },
-1 32068 id: 'non-empty-title'
-1 32069 }, 'has-visible-text' ],
-1 32070 none: [ 'no-implicit-explicit-label' ]
-1 32071 }, {
-1 32072 id: 'aria-valid-attr-value',
-1 32073 matches: 'aria-has-attr-matches',
-1 32074 tags: [ 'cat.aria', 'wcag2a', 'wcag412' ],
-1 32075 all: [ {
-1 32076 options: [],
-1 32077 id: 'aria-valid-attr-value'
-1 32078 }, 'aria-errormessage' ],
-1 32079 any: [],
-1 32080 none: []
-1 32081 }, {
-1 32082 id: 'aria-valid-attr',
-1 32083 matches: 'aria-has-attr-matches',
-1 32084 tags: [ 'cat.aria', 'wcag2a', 'wcag412' ],
-1 32085 all: [],
-1 32086 any: [ {
-1 32087 options: [],
-1 32088 id: 'aria-valid-attr'
-1 32089 } ],
-1 32090 none: []
-1 32091 }, {
-1 32092 id: 'audio-caption',
-1 32093 selector: 'audio',
-1 32094 enabled: false,
-1 32095 excludeHidden: false,
-1 32096 tags: [ 'cat.time-and-media', 'wcag2a', 'wcag121', 'section508', 'section508.22.a' ],
-1 32097 all: [],
-1 32098 any: [],
-1 32099 none: [ 'caption' ]
-1 32100 }, {
-1 32101 id: 'autocomplete-valid',
-1 32102 matches: 'autocomplete-matches',
-1 32103 tags: [ 'cat.forms', 'wcag21aa', 'wcag135' ],
-1 32104 all: [ 'autocomplete-valid', 'autocomplete-appropriate' ],
-1 32105 any: [],
-1 32106 none: []
-1 32107 }, {
-1 32108 id: 'avoid-inline-spacing',
-1 32109 selector: '[style]',
-1 32110 tags: [ 'wcag21aa', 'wcag1412' ],
-1 32111 all: [ {
-1 32112 options: {
-1 32113 cssProperties: [ 'line-height', 'letter-spacing', 'word-spacing' ]
-1 32114 },
-1 32115 id: 'avoid-inline-spacing'
-1 32116 } ],
-1 32117 any: [],
-1 32118 none: []
-1 32119 }, {
-1 32120 id: 'blink',
-1 32121 selector: 'blink',
-1 32122 excludeHidden: false,
-1 32123 tags: [ 'cat.time-and-media', 'wcag2a', 'wcag222', 'section508', 'section508.22.j' ],
-1 32124 all: [],
-1 32125 any: [],
-1 32126 none: [ 'is-on-screen' ]
-1 32127 }, {
-1 32128 id: 'button-name',
-1 32129 selector: 'button, [role="button"]:not(input)',
-1 32130 tags: [ 'cat.name-role-value', 'wcag2a', 'wcag412', 'section508', 'section508.22.a' ],
-1 32131 all: [],
-1 32132 any: [ 'button-has-visible-text', 'aria-label', 'aria-labelledby', {
-1 32133 options: {
-1 32134 matcher: {
-1 32135 attributes: {
-1 32136 role: 'presentation'
20104 32137 }
20105 -1 } else {
20106 -1 stack.push(elm);
20107 -1 }
20108 -1 return stack;
20109 -1 }, []);
20110 -1 };
20111 -1 dom.visuallyContains = function(node, parent) {
20112 -1 var rectBound = node.getBoundingClientRect();
20113 -1 var margin = .01;
20114 -1 var rect = {
20115 -1 top: rectBound.top + margin,
20116 -1 bottom: rectBound.bottom - margin,
20117 -1 left: rectBound.left + margin,
20118 -1 right: rectBound.right - margin
20119 -1 };
20120 -1 var parentRect = parent.getBoundingClientRect();
20121 -1 var parentTop = parentRect.top;
20122 -1 var parentLeft = parentRect.left;
20123 -1 var parentScrollArea = {
20124 -1 top: parentTop - parent.scrollTop,
20125 -1 bottom: parentTop - parent.scrollTop + parent.scrollHeight,
20126 -1 left: parentLeft - parent.scrollLeft,
20127 -1 right: parentLeft - parent.scrollLeft + parent.scrollWidth
20128 -1 };
20129 -1 var style = window.getComputedStyle(parent);
20130 -1 if (style.getPropertyValue('display') === 'inline') {
20131 -1 return true;
20132 -1 }
20133 -1 if (rect.left < parentScrollArea.left && rect.left < parentRect.left || rect.top < parentScrollArea.top && rect.top < parentRect.top || rect.right > parentScrollArea.right && rect.right > parentRect.right || rect.bottom > parentScrollArea.bottom && rect.bottom > parentRect.bottom) {
20134 -1 return false;
20135 -1 }
20136 -1 if (rect.right > parentRect.right || rect.bottom > parentRect.bottom) {
20137 -1 return style.overflow === 'scroll' || style.overflow === 'auto' || style.overflow === 'hidden' || parent instanceof HTMLBodyElement || parent instanceof HTMLHtmlElement;
20138 -1 }
20139 -1 return true;
20140 -1 };
20141 -1 dom.visuallyOverlaps = function(rect, parent) {
20142 -1 var parentRect = parent.getBoundingClientRect();
20143 -1 var parentTop = parentRect.top;
20144 -1 var parentLeft = parentRect.left;
20145 -1 var parentScrollArea = {
20146 -1 top: parentTop - parent.scrollTop,
20147 -1 bottom: parentTop - parent.scrollTop + parent.scrollHeight,
20148 -1 left: parentLeft - parent.scrollLeft,
20149 -1 right: parentLeft - parent.scrollLeft + parent.scrollWidth
20150 -1 };
20151 -1 if (rect.left > parentScrollArea.right && rect.left > parentRect.right || rect.top > parentScrollArea.bottom && rect.top > parentRect.bottom || rect.right < parentScrollArea.left && rect.right < parentRect.left || rect.bottom < parentScrollArea.top && rect.bottom < parentRect.top) {
20152 -1 return false;
20153 -1 }
20154 -1 var style = window.getComputedStyle(parent);
20155 -1 if (rect.left > parentRect.right || rect.top > parentRect.bottom) {
20156 -1 return style.overflow === 'scroll' || style.overflow === 'auto' || parent instanceof HTMLBodyElement || parent instanceof HTMLHtmlElement;
20157 -1 }
20158 -1 return true;
20159 -1 };
20160 -1 matches.attributes = function matchesAttributes(node, matcher) {
20161 -1 node = node.actualNode || node;
20162 -1 return matches.fromFunction(function(attrName) {
20163 -1 return node.getAttribute(attrName);
20164 -1 }, matcher);
20165 -1 };
20166 -1 matches.condition = function(arg, condition) {
20167 -1 return !!condition(arg);
20168 -1 };
20169 -1 var matchers = [ 'nodeName', 'attributes', 'properties', 'condition' ];
20170 -1 matches.fromDefinition = function matchFromDefinition(node, definition) {
20171 -1 node = node.actualNode || node;
20172 -1 if (Array.isArray(definition)) {
20173 -1 return definition.some(function(definitionItem) {
20174 -1 return matches(node, definitionItem);
20175 -1 });
20176 -1 }
20177 -1 if (typeof definition === 'string') {
20178 -1 return axe.utils.matchesSelector(node, definition);
20179 -1 }
20180 -1 return Object.keys(definition).every(function(matcherName) {
20181 -1 if (!matchers.includes(matcherName)) {
20182 -1 throw new Error('Unknown matcher type "' + matcherName + '"');
20183 -1 }
20184 -1 var matchMethod = matches[matcherName];
20185 -1 var matcher = definition[matcherName];
20186 -1 return matchMethod(node, matcher);
20187 -1 });
20188 -1 };
20189 -1 matches.fromFunction = function matchFromFunction(getValue, matcher) {
20190 -1 var matcherType = typeof matcher === 'undefined' ? 'undefined' : _typeof(matcher);
20191 -1 if (matcherType !== 'object' || Array.isArray(matcher) || matcher instanceof RegExp) {
20192 -1 throw new Error('Expect matcher to be an object');
20193 -1 }
20194 -1 return Object.keys(matcher).every(function(propName) {
20195 -1 return matches.fromPrimative(getValue(propName), matcher[propName]);
20196 -1 });
20197 -1 };
20198 -1 matches.fromPrimative = function matchFromPrimative(someString, matcher) {
20199 -1 var matcherType = typeof matcher === 'undefined' ? 'undefined' : _typeof(matcher);
20200 -1 if (Array.isArray(matcher) && typeof someString !== 'undefined') {
20201 -1 return matcher.includes(someString);
20202 -1 }
20203 -1 if (matcherType === 'function') {
20204 -1 return !!matcher(someString);
20205 -1 }
20206 -1 if (matcher instanceof RegExp) {
20207 -1 return matcher.test(someString);
20208 -1 }
20209 -1 return matcher === someString;
20210 -1 };
20211 -1 var isXHTMLGlobal = void 0;
20212 -1 matches.nodeName = function matchNodeName(node, matcher) {
20213 -1 var _ref30 = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}, isXHTML = _ref30.isXHTML;
20214 -1 node = node.actualNode || node;
20215 -1 if (typeof isXHTML === 'undefined') {
20216 -1 if (typeof matcher === 'string') {
20217 -1 return axe.utils.matchesSelector(node, matcher);
20218 32138 }
20219 -1 if (typeof isXHTMLGlobal === 'undefined') {
20220 -1 isXHTMLGlobal = axe.utils.isXHTML(node.ownerDocument);
-1 32139 },
-1 32140 id: 'role-presentation'
-1 32141 }, {
-1 32142 options: {
-1 32143 matcher: {
-1 32144 attributes: {
-1 32145 role: 'none'
-1 32146 }
20221 32147 }
20222 -1 isXHTML = isXHTMLGlobal;
20223 -1 }
20224 -1 var nodeName = isXHTML ? node.nodeName : node.nodeName.toLowerCase();
20225 -1 return matches.fromPrimative(nodeName, matcher);
20226 -1 };
20227 -1 matches.properties = function matchesProperties(node, matcher) {
20228 -1 node = node.actualNode || node;
20229 -1 var out = matches.fromFunction(function(propName) {
20230 -1 return node[propName];
20231 -1 }, matcher);
20232 -1 return out;
20233 -1 };
20234 -1 table.getAllCells = function(tableElm) {
20235 -1 var rowIndex, cellIndex, rowLength, cellLength;
20236 -1 var cells = [];
20237 -1 for (rowIndex = 0, rowLength = tableElm.rows.length; rowIndex < rowLength; rowIndex++) {
20238 -1 for (cellIndex = 0, cellLength = tableElm.rows[rowIndex].cells.length; cellIndex < cellLength; cellIndex++) {
20239 -1 cells.push(tableElm.rows[rowIndex].cells[cellIndex]);
-1 32148 },
-1 32149 id: 'role-none'
-1 32150 }, {
-1 32151 options: {
-1 32152 attribute: 'title'
-1 32153 },
-1 32154 id: 'non-empty-title'
-1 32155 } ],
-1 32156 none: []
-1 32157 }, {
-1 32158 id: 'bypass',
-1 32159 selector: 'html',
-1 32160 pageLevel: true,
-1 32161 matches: 'bypass-matches',
-1 32162 tags: [ 'cat.keyboard', 'wcag2a', 'wcag241', 'section508', 'section508.22.o' ],
-1 32163 all: [],
-1 32164 any: [ 'internal-link-present', {
-1 32165 options: {
-1 32166 selector: 'h1:not([role]), h2:not([role]), h3:not([role]), h4:not([role]), h5:not([role]), h6:not([role]), [role=heading]'
-1 32167 },
-1 32168 id: 'header-present'
-1 32169 }, {
-1 32170 options: {
-1 32171 selector: 'main, [role=main]'
-1 32172 },
-1 32173 id: 'landmark'
-1 32174 } ],
-1 32175 none: []
-1 32176 }, {
-1 32177 id: 'color-contrast',
-1 32178 matches: 'color-contrast-matches',
-1 32179 excludeHidden: false,
-1 32180 tags: [ 'cat.color', 'wcag2aa', 'wcag143' ],
-1 32181 all: [],
-1 32182 any: [ {
-1 32183 options: {
-1 32184 ignoreUnicode: true,
-1 32185 ignoreLength: false,
-1 32186 boldValue: 700,
-1 32187 boldTextPt: 14,
-1 32188 largeTextPt: 18,
-1 32189 contrastRatio: {
-1 32190 normal: {
-1 32191 expected: 4.5
-1 32192 },
-1 32193 large: {
-1 32194 expected: 3
-1 32195 }
20240 32196 }
20241 -1 }
20242 -1 return cells;
20243 -1 };
20244 -1 table.getCellPosition = function(cell, tableGrid) {
20245 -1 var rowIndex, index;
20246 -1 if (!tableGrid) {
20247 -1 tableGrid = table.toGrid(dom.findUp(cell, 'table'));
20248 -1 }
20249 -1 for (rowIndex = 0; rowIndex < tableGrid.length; rowIndex++) {
20250 -1 if (tableGrid[rowIndex]) {
20251 -1 index = tableGrid[rowIndex].indexOf(cell);
20252 -1 if (index !== -1) {
20253 -1 return {
20254 -1 x: index,
20255 -1 y: rowIndex
20256 -1 };
-1 32197 },
-1 32198 id: 'color-contrast'
-1 32199 } ],
-1 32200 none: []
-1 32201 }, {
-1 32202 id: 'css-orientation-lock',
-1 32203 selector: 'html',
-1 32204 tags: [ 'cat.structure', 'wcag134', 'wcag21aa', 'experimental' ],
-1 32205 all: [ {
-1 32206 options: {
-1 32207 degreeThreshold: 2
-1 32208 },
-1 32209 id: 'css-orientation-lock'
-1 32210 } ],
-1 32211 any: [],
-1 32212 none: [],
-1 32213 preload: true
-1 32214 }, {
-1 32215 id: 'definition-list',
-1 32216 selector: 'dl',
-1 32217 matches: 'no-role-matches',
-1 32218 tags: [ 'cat.structure', 'wcag2a', 'wcag131' ],
-1 32219 all: [],
-1 32220 any: [],
-1 32221 none: [ 'structured-dlitems', 'only-dlitems' ]
-1 32222 }, {
-1 32223 id: 'dlitem',
-1 32224 selector: 'dd, dt',
-1 32225 matches: 'no-role-matches',
-1 32226 tags: [ 'cat.structure', 'wcag2a', 'wcag131' ],
-1 32227 all: [],
-1 32228 any: [ 'dlitem' ],
-1 32229 none: []
-1 32230 }, {
-1 32231 id: 'document-title',
-1 32232 selector: 'html',
-1 32233 matches: 'window-is-top-matches',
-1 32234 tags: [ 'cat.text-alternatives', 'wcag2a', 'wcag242', 'ACT' ],
-1 32235 all: [],
-1 32236 any: [ 'doc-has-title' ],
-1 32237 none: []
-1 32238 }, {
-1 32239 id: 'duplicate-id-active',
-1 32240 selector: '[id]',
-1 32241 matches: 'duplicate-id-active-matches',
-1 32242 excludeHidden: false,
-1 32243 tags: [ 'cat.parsing', 'wcag2a', 'wcag411' ],
-1 32244 all: [],
-1 32245 any: [ 'duplicate-id-active' ],
-1 32246 none: []
-1 32247 }, {
-1 32248 id: 'duplicate-id-aria',
-1 32249 selector: '[id]',
-1 32250 matches: 'duplicate-id-aria-matches',
-1 32251 excludeHidden: false,
-1 32252 tags: [ 'cat.parsing', 'wcag2a', 'wcag411' ],
-1 32253 all: [],
-1 32254 any: [ 'duplicate-id-aria' ],
-1 32255 none: []
-1 32256 }, {
-1 32257 id: 'duplicate-id',
-1 32258 selector: '[id]',
-1 32259 matches: 'duplicate-id-misc-matches',
-1 32260 excludeHidden: false,
-1 32261 tags: [ 'cat.parsing', 'wcag2a', 'wcag411' ],
-1 32262 all: [],
-1 32263 any: [ 'duplicate-id' ],
-1 32264 none: []
-1 32265 }, {
-1 32266 id: 'empty-heading',
-1 32267 selector: 'h1, h2, h3, h4, h5, h6, [role="heading"]',
-1 32268 matches: 'heading-matches',
-1 32269 tags: [ 'cat.name-role-value', 'best-practice' ],
-1 32270 impact: 'minor',
-1 32271 all: [],
-1 32272 any: [ 'has-visible-text', 'aria-label', 'aria-labelledby', {
-1 32273 options: {
-1 32274 attribute: 'title'
-1 32275 },
-1 32276 id: 'non-empty-title'
-1 32277 } ],
-1 32278 none: []
-1 32279 }, {
-1 32280 id: 'focus-order-semantics',
-1 32281 selector: 'div, h1, h2, h3, h4, h5, h6, [role=heading], p, span',
-1 32282 matches: 'inserted-into-focus-order-matches',
-1 32283 tags: [ 'cat.keyboard', 'best-practice', 'experimental' ],
-1 32284 all: [],
-1 32285 any: [ {
-1 32286 options: [],
-1 32287 id: 'has-widget-role'
-1 32288 }, {
-1 32289 options: [],
-1 32290 id: 'valid-scrollable-semantics'
-1 32291 } ],
-1 32292 none: []
-1 32293 }, {
-1 32294 id: 'form-field-multiple-labels',
-1 32295 selector: 'input, select, textarea',
-1 32296 matches: 'label-matches',
-1 32297 tags: [ 'cat.forms', 'wcag2a', 'wcag332' ],
-1 32298 all: [],
-1 32299 any: [],
-1 32300 none: [ 'multiple-label' ]
-1 32301 }, {
-1 32302 id: 'frame-tested',
-1 32303 selector: 'frame, iframe',
-1 32304 tags: [ 'cat.structure', 'review-item', 'best-practice' ],
-1 32305 all: [ {
-1 32306 options: {
-1 32307 isViolation: false
-1 32308 },
-1 32309 id: 'frame-tested'
-1 32310 } ],
-1 32311 any: [],
-1 32312 none: []
-1 32313 }, {
-1 32314 id: 'frame-title-unique',
-1 32315 selector: 'frame[title], iframe[title]',
-1 32316 matches: 'frame-title-has-text-matches',
-1 32317 tags: [ 'cat.text-alternatives', 'best-practice' ],
-1 32318 all: [],
-1 32319 any: [],
-1 32320 none: [ 'unique-frame-title' ]
-1 32321 }, {
-1 32322 id: 'frame-title',
-1 32323 selector: 'frame, iframe',
-1 32324 tags: [ 'cat.text-alternatives', 'wcag2a', 'wcag241', 'wcag412', 'section508', 'section508.22.i' ],
-1 32325 all: [],
-1 32326 any: [ 'aria-label', 'aria-labelledby', {
-1 32327 options: {
-1 32328 attribute: 'title'
-1 32329 },
-1 32330 id: 'non-empty-title'
-1 32331 }, {
-1 32332 options: {
-1 32333 matcher: {
-1 32334 attributes: {
-1 32335 role: 'presentation'
20257 32336 }
20258 32337 }
20259 -1 }
20260 -1 };
20261 -1 table.getHeaders = function(cell) {
20262 -1 if (cell.hasAttribute('headers')) {
20263 -1 return commons.dom.idrefs(cell, 'headers');
20264 -1 }
20265 -1 var tableGrid = commons.table.toGrid(commons.dom.findUp(cell, 'table'));
20266 -1 var position = commons.table.getCellPosition(cell, tableGrid);
20267 -1 var rowHeaders = table.traverse('left', position, tableGrid).filter(function(cell) {
20268 -1 return table.isRowHeader(cell);
20269 -1 });
20270 -1 var colHeaders = table.traverse('up', position, tableGrid).filter(function(cell) {
20271 -1 return table.isColumnHeader(cell);
20272 -1 });
20273 -1 return [].concat(rowHeaders, colHeaders).reverse();
20274 -1 };
20275 -1 table.getScope = function(cell) {
20276 -1 var scope = cell.getAttribute('scope');
20277 -1 var role = cell.getAttribute('role');
20278 -1 if (cell instanceof Element === false || [ 'TD', 'TH' ].indexOf(cell.nodeName.toUpperCase()) === -1) {
20279 -1 throw new TypeError('Expected TD or TH element');
20280 -1 }
20281 -1 if (role === 'columnheader') {
20282 -1 return 'col';
20283 -1 } else if (role === 'rowheader') {
20284 -1 return 'row';
20285 -1 } else if (scope === 'col' || scope === 'row') {
20286 -1 return scope;
20287 -1 } else if (cell.nodeName.toUpperCase() !== 'TH') {
20288 -1 return false;
20289 -1 }
20290 -1 var tableGrid = table.toGrid(dom.findUp(cell, 'table'));
20291 -1 var pos = table.getCellPosition(cell);
20292 -1 var headerRow = tableGrid[pos.y].reduce(function(headerRow, cell) {
20293 -1 return headerRow && cell.nodeName.toUpperCase() === 'TH';
20294 -1 }, true);
20295 -1 if (headerRow) {
20296 -1 return 'col';
20297 -1 }
20298 -1 var headerCol = tableGrid.map(function(col) {
20299 -1 return col[pos.x];
20300 -1 }).reduce(function(headerCol, cell) {
20301 -1 return headerCol && cell && cell.nodeName.toUpperCase() === 'TH';
20302 -1 }, true);
20303 -1 if (headerCol) {
20304 -1 return 'row';
20305 -1 }
20306 -1 return 'auto';
20307 -1 };
20308 -1 table.isColumnHeader = function(element) {
20309 -1 return [ 'col', 'auto' ].indexOf(table.getScope(element)) !== -1;
20310 -1 };
20311 -1 table.isDataCell = function(cell) {
20312 -1 if (!cell.children.length && !cell.textContent.trim()) {
20313 -1 return false;
20314 -1 }
20315 -1 var role = cell.getAttribute('role');
20316 -1 if (axe.commons.aria.isValidRole(role)) {
20317 -1 return [ 'cell', 'gridcell' ].includes(role);
20318 -1 } else {
20319 -1 return cell.nodeName.toUpperCase() === 'TD';
20320 -1 }
20321 -1 };
20322 -1 table.isDataTable = function(node) {
20323 -1 var role = (node.getAttribute('role') || '').toLowerCase();
20324 -1 if ((role === 'presentation' || role === 'none') && !dom.isFocusable(node)) {
20325 -1 return false;
20326 -1 }
20327 -1 if (node.getAttribute('contenteditable') === 'true' || dom.findUp(node, '[contenteditable="true"]')) {
20328 -1 return true;
20329 -1 }
20330 -1 if (role === 'grid' || role === 'treegrid' || role === 'table') {
20331 -1 return true;
20332 -1 }
20333 -1 if (commons.aria.getRoleType(role) === 'landmark') {
20334 -1 return true;
20335 -1 }
20336 -1 if (node.getAttribute('datatable') === '0') {
20337 -1 return false;
20338 -1 }
20339 -1 if (node.getAttribute('summary')) {
20340 -1 return true;
20341 -1 }
20342 -1 if (node.tHead || node.tFoot || node.caption) {
20343 -1 return true;
20344 -1 }
20345 -1 for (var childIndex = 0, childLength = node.children.length; childIndex < childLength; childIndex++) {
20346 -1 if (node.children[childIndex].nodeName.toUpperCase() === 'COLGROUP') {
20347 -1 return true;
-1 32338 },
-1 32339 id: 'role-presentation'
-1 32340 }, {
-1 32341 options: {
-1 32342 matcher: {
-1 32343 attributes: {
-1 32344 role: 'none'
-1 32345 }
20348 32346 }
20349 -1 }
20350 -1 var cells = 0;
20351 -1 var rowLength = node.rows.length;
20352 -1 var row, cell;
20353 -1 var hasBorder = false;
20354 -1 for (var rowIndex = 0; rowIndex < rowLength; rowIndex++) {
20355 -1 row = node.rows[rowIndex];
20356 -1 for (var cellIndex = 0, cellLength = row.cells.length; cellIndex < cellLength; cellIndex++) {
20357 -1 cell = row.cells[cellIndex];
20358 -1 if (cell.nodeName.toUpperCase() === 'TH') {
20359 -1 return true;
-1 32347 },
-1 32348 id: 'role-none'
-1 32349 } ],
-1 32350 none: []
-1 32351 }, {
-1 32352 id: 'heading-order',
-1 32353 selector: 'h1, h2, h3, h4, h5, h6, [role=heading]',
-1 32354 matches: 'heading-matches',
-1 32355 tags: [ 'cat.semantics', 'best-practice' ],
-1 32356 all: [],
-1 32357 any: [ 'heading-order' ],
-1 32358 none: []
-1 32359 }, {
-1 32360 id: 'hidden-content',
-1 32361 selector: '*',
-1 32362 excludeHidden: false,
-1 32363 tags: [ 'cat.structure', 'experimental', 'review-item', 'best-practice' ],
-1 32364 all: [],
-1 32365 any: [ 'hidden-content' ],
-1 32366 none: []
-1 32367 }, {
-1 32368 id: 'html-has-lang',
-1 32369 selector: 'html',
-1 32370 matches: 'window-is-top-matches',
-1 32371 tags: [ 'cat.language', 'wcag2a', 'wcag311', 'ACT' ],
-1 32372 all: [],
-1 32373 any: [ {
-1 32374 options: {
-1 32375 attributes: [ 'lang', 'xml:lang' ]
-1 32376 },
-1 32377 id: 'has-lang'
-1 32378 } ],
-1 32379 none: []
-1 32380 }, {
-1 32381 id: 'html-lang-valid',
-1 32382 selector: 'html[lang], html[xml\\:lang]',
-1 32383 tags: [ 'cat.language', 'wcag2a', 'wcag311', 'ACT' ],
-1 32384 all: [],
-1 32385 any: [],
-1 32386 none: [ {
-1 32387 options: {
-1 32388 attributes: [ 'lang', 'xml:lang' ]
-1 32389 },
-1 32390 id: 'valid-lang'
-1 32391 } ]
-1 32392 }, {
-1 32393 id: 'html-xml-lang-mismatch',
-1 32394 selector: 'html[lang][xml\\:lang]',
-1 32395 matches: 'xml-lang-mismatch-matches',
-1 32396 tags: [ 'cat.language', 'wcag2a', 'wcag311', 'ACT' ],
-1 32397 all: [ 'xml-lang-mismatch' ],
-1 32398 any: [],
-1 32399 none: []
-1 32400 }, {
-1 32401 id: 'identical-links-same-purpose',
-1 32402 selector: 'a[href], area[href], [role="link"]',
-1 32403 excludeHidden: false,
-1 32404 matches: 'identical-links-same-purpose-matches',
-1 32405 tags: [ 'wcag2aaa', 'wcag249', 'best-practice' ],
-1 32406 all: [ 'identical-links-same-purpose' ],
-1 32407 any: [],
-1 32408 none: []
-1 32409 }, {
-1 32410 id: 'image-alt',
-1 32411 selector: 'img',
-1 32412 tags: [ 'cat.text-alternatives', 'wcag2a', 'wcag111', 'section508', 'section508.22.a' ],
-1 32413 all: [],
-1 32414 any: [ 'has-alt', 'aria-label', 'aria-labelledby', {
-1 32415 options: {
-1 32416 attribute: 'title'
-1 32417 },
-1 32418 id: 'non-empty-title'
-1 32419 }, {
-1 32420 options: {
-1 32421 matcher: {
-1 32422 attributes: {
-1 32423 role: 'presentation'
20360 32424 }
20361 -1 if (!hasBorder && (cell.offsetWidth !== cell.clientWidth || cell.offsetHeight !== cell.clientHeight)) {
20362 -1 hasBorder = true;
-1 32425 }
-1 32426 },
-1 32427 id: 'role-presentation'
-1 32428 }, {
-1 32429 options: {
-1 32430 matcher: {
-1 32431 attributes: {
-1 32432 role: 'none'
20363 32433 }
20364 -1 if (cell.getAttribute('scope') || cell.getAttribute('headers') || cell.getAttribute('abbr')) {
20365 -1 return true;
-1 32434 }
-1 32435 },
-1 32436 id: 'role-none'
-1 32437 } ],
-1 32438 none: [ 'alt-space-value' ]
-1 32439 }, {
-1 32440 id: 'image-redundant-alt',
-1 32441 selector: 'img',
-1 32442 tags: [ 'cat.text-alternatives', 'best-practice' ],
-1 32443 all: [],
-1 32444 any: [],
-1 32445 none: [ {
-1 32446 options: {
-1 32447 parentSelector: 'button, [role=button], a[href], p, li, td, th'
-1 32448 },
-1 32449 id: 'duplicate-img-label'
-1 32450 } ]
-1 32451 }, {
-1 32452 id: 'input-button-name',
-1 32453 selector: 'input[type="button"], input[type="submit"], input[type="reset"]',
-1 32454 tags: [ 'cat.name-role-value', 'wcag2a', 'wcag412', 'section508', 'section508.22.a' ],
-1 32455 all: [],
-1 32456 any: [ 'non-empty-if-present', {
-1 32457 options: {
-1 32458 attribute: 'value'
-1 32459 },
-1 32460 id: 'non-empty-value'
-1 32461 }, 'aria-label', 'aria-labelledby', {
-1 32462 options: {
-1 32463 matcher: {
-1 32464 attributes: {
-1 32465 role: 'presentation'
20366 32466 }
20367 -1 if ([ 'columnheader', 'rowheader' ].includes((cell.getAttribute('role') || '').toLowerCase())) {
20368 -1 return true;
-1 32467 }
-1 32468 },
-1 32469 id: 'role-presentation'
-1 32470 }, {
-1 32471 options: {
-1 32472 matcher: {
-1 32473 attributes: {
-1 32474 role: 'none'
20369 32475 }
20370 -1 if (cell.children.length === 1 && cell.children[0].nodeName.toUpperCase() === 'ABBR') {
20371 -1 return true;
-1 32476 }
-1 32477 },
-1 32478 id: 'role-none'
-1 32479 }, {
-1 32480 options: {
-1 32481 attribute: 'title'
-1 32482 },
-1 32483 id: 'non-empty-title'
-1 32484 } ],
-1 32485 none: []
-1 32486 }, {
-1 32487 id: 'input-image-alt',
-1 32488 selector: 'input[type="image"]',
-1 32489 tags: [ 'cat.text-alternatives', 'wcag2a', 'wcag111', 'section508', 'section508.22.a', 'ACT' ],
-1 32490 all: [],
-1 32491 any: [ {
-1 32492 options: {
-1 32493 attribute: 'alt'
-1 32494 },
-1 32495 id: 'non-empty-alt'
-1 32496 }, 'aria-label', 'aria-labelledby', {
-1 32497 options: {
-1 32498 attribute: 'title'
-1 32499 },
-1 32500 id: 'non-empty-title'
-1 32501 } ],
-1 32502 none: []
-1 32503 }, {
-1 32504 id: 'label-content-name-mismatch',
-1 32505 matches: 'label-content-name-mismatch-matches',
-1 32506 tags: [ 'wcag21a', 'wcag253', 'experimental' ],
-1 32507 all: [],
-1 32508 any: [ {
-1 32509 options: {
-1 32510 pixelThreshold: .1,
-1 32511 occuranceThreshold: 3
-1 32512 },
-1 32513 id: 'label-content-name-mismatch'
-1 32514 } ],
-1 32515 none: []
-1 32516 }, {
-1 32517 id: 'label-title-only',
-1 32518 selector: 'input, select, textarea',
-1 32519 matches: 'label-matches',
-1 32520 tags: [ 'cat.forms', 'best-practice' ],
-1 32521 all: [],
-1 32522 any: [],
-1 32523 none: [ 'title-only' ]
-1 32524 }, {
-1 32525 id: 'label',
-1 32526 selector: 'input, select, textarea',
-1 32527 matches: 'label-matches',
-1 32528 tags: [ 'cat.forms', 'wcag2a', 'wcag412', 'wcag131', 'section508', 'section508.22.n' ],
-1 32529 all: [],
-1 32530 any: [ 'aria-label', 'aria-labelledby', 'implicit-label', 'explicit-label', {
-1 32531 options: {
-1 32532 attribute: 'title'
-1 32533 },
-1 32534 id: 'non-empty-title'
-1 32535 }, {
-1 32536 options: {
-1 32537 matcher: {
-1 32538 attributes: {
-1 32539 role: 'none'
20372 32540 }
20373 -1 cells++;
20374 -1 }
20375 -1 }
20376 -1 if (node.getElementsByTagName('table').length) {
20377 -1 return false;
20378 -1 }
20379 -1 if (rowLength < 2) {
20380 -1 return false;
20381 -1 }
20382 -1 var sampleRow = node.rows[Math.ceil(rowLength / 2)];
20383 -1 if (sampleRow.cells.length === 1 && sampleRow.cells[0].colSpan === 1) {
20384 -1 return false;
20385 -1 }
20386 -1 if (sampleRow.cells.length >= 5) {
20387 -1 return true;
20388 -1 }
20389 -1 if (hasBorder) {
20390 -1 return true;
20391 -1 }
20392 -1 var bgColor, bgImage;
20393 -1 for (rowIndex = 0; rowIndex < rowLength; rowIndex++) {
20394 -1 row = node.rows[rowIndex];
20395 -1 if (bgColor && bgColor !== window.getComputedStyle(row).getPropertyValue('background-color')) {
20396 -1 return true;
20397 -1 } else {
20398 -1 bgColor = window.getComputedStyle(row).getPropertyValue('background-color');
20399 32541 }
20400 -1 if (bgImage && bgImage !== window.getComputedStyle(row).getPropertyValue('background-image')) {
20401 -1 return true;
20402 -1 } else {
20403 -1 bgImage = window.getComputedStyle(row).getPropertyValue('background-image');
-1 32542 },
-1 32543 id: 'role-none'
-1 32544 }, {
-1 32545 options: {
-1 32546 matcher: {
-1 32547 attributes: {
-1 32548 role: 'presentation'
-1 32549 }
20404 32550 }
20405 -1 }
20406 -1 if (rowLength >= 20) {
20407 -1 return true;
20408 -1 }
20409 -1 if (dom.getElementCoordinates(node).width > dom.getViewportSize(window).width * .95) {
20410 -1 return false;
20411 -1 }
20412 -1 if (cells < 10) {
20413 -1 return false;
20414 -1 }
20415 -1 if (node.querySelector('object, embed, iframe, applet')) {
20416 -1 return false;
20417 -1 }
20418 -1 return true;
20419 -1 };
20420 -1 table.isHeader = function(cell) {
20421 -1 if (table.isColumnHeader(cell) || table.isRowHeader(cell)) {
20422 -1 return true;
20423 -1 }
20424 -1 if (cell.getAttribute('id')) {
20425 -1 var id = axe.utils.escapeSelector(cell.getAttribute('id'));
20426 -1 return !!document.querySelector('[headers~="' + id + '"]');
20427 -1 }
20428 -1 return false;
20429 -1 };
20430 -1 table.isRowHeader = function(cell) {
20431 -1 return [ 'row', 'auto' ].includes(table.getScope(cell));
20432 -1 };
20433 -1 table.toGrid = function(node) {
20434 -1 var table = [];
20435 -1 var rows = node.rows;
20436 -1 for (var i = 0, rowLength = rows.length; i < rowLength; i++) {
20437 -1 var cells = rows[i].cells;
20438 -1 table[i] = table[i] || [];
20439 -1 var columnIndex = 0;
20440 -1 for (var j = 0, cellLength = cells.length; j < cellLength; j++) {
20441 -1 for (var colSpan = 0; colSpan < cells[j].colSpan; colSpan++) {
20442 -1 for (var rowSpan = 0; rowSpan < cells[j].rowSpan; rowSpan++) {
20443 -1 table[i + rowSpan] = table[i + rowSpan] || [];
20444 -1 while (table[i + rowSpan][columnIndex]) {
20445 -1 columnIndex++;
20446 -1 }
20447 -1 table[i + rowSpan][columnIndex] = cells[j];
20448 -1 }
20449 -1 columnIndex++;
-1 32551 },
-1 32552 id: 'role-presentation'
-1 32553 } ],
-1 32554 none: [ 'help-same-as-label', 'hidden-explicit-label' ]
-1 32555 }, {
-1 32556 id: 'landmark-banner-is-top-level',
-1 32557 selector: 'header:not([role]), [role=banner]',
-1 32558 matches: 'landmark-has-body-context-matches',
-1 32559 tags: [ 'cat.semantics', 'best-practice' ],
-1 32560 all: [],
-1 32561 any: [ 'landmark-is-top-level' ],
-1 32562 none: []
-1 32563 }, {
-1 32564 id: 'landmark-complementary-is-top-level',
-1 32565 selector: 'aside:not([role]), [role=complementary]',
-1 32566 tags: [ 'cat.semantics', 'best-practice' ],
-1 32567 all: [],
-1 32568 any: [ 'landmark-is-top-level' ],
-1 32569 none: []
-1 32570 }, {
-1 32571 id: 'landmark-contentinfo-is-top-level',
-1 32572 selector: 'footer:not([role]), [role=contentinfo]',
-1 32573 matches: 'landmark-has-body-context-matches',
-1 32574 tags: [ 'cat.semantics', 'best-practice' ],
-1 32575 all: [],
-1 32576 any: [ 'landmark-is-top-level' ],
-1 32577 none: []
-1 32578 }, {
-1 32579 id: 'landmark-main-is-top-level',
-1 32580 selector: 'main:not([role]), [role=main]',
-1 32581 tags: [ 'cat.semantics', 'best-practice' ],
-1 32582 all: [],
-1 32583 any: [ 'landmark-is-top-level' ],
-1 32584 none: []
-1 32585 }, {
-1 32586 id: 'landmark-no-duplicate-banner',
-1 32587 selector: 'header:not([role]), [role=banner]',
-1 32588 tags: [ 'cat.semantics', 'best-practice' ],
-1 32589 all: [],
-1 32590 any: [ {
-1 32591 options: {
-1 32592 selector: 'header:not([role]), [role=banner]',
-1 32593 nativeScopeFilter: 'article, aside, main, nav, section'
-1 32594 },
-1 32595 id: 'page-no-duplicate-banner'
-1 32596 } ],
-1 32597 none: []
-1 32598 }, {
-1 32599 id: 'landmark-no-duplicate-contentinfo',
-1 32600 selector: 'footer:not([role]), [role=contentinfo]',
-1 32601 tags: [ 'cat.semantics', 'best-practice' ],
-1 32602 all: [],
-1 32603 any: [ {
-1 32604 options: {
-1 32605 selector: 'footer:not([role]), [role=contentinfo]',
-1 32606 nativeScopeFilter: 'article, aside, main, nav, section'
-1 32607 },
-1 32608 id: 'page-no-duplicate-contentinfo'
-1 32609 } ],
-1 32610 none: []
-1 32611 }, {
-1 32612 id: 'landmark-no-duplicate-main',
-1 32613 selector: 'main:not([role]), [role=main]',
-1 32614 tags: [ 'cat.semantics', 'best-practice' ],
-1 32615 all: [],
-1 32616 any: [ {
-1 32617 options: {
-1 32618 selector: 'main:not([role]), [role=\'main\']'
-1 32619 },
-1 32620 id: 'page-no-duplicate-main'
-1 32621 } ],
-1 32622 none: []
-1 32623 }, {
-1 32624 id: 'landmark-one-main',
-1 32625 selector: 'html',
-1 32626 tags: [ 'cat.semantics', 'best-practice' ],
-1 32627 all: [ {
-1 32628 options: {
-1 32629 selector: 'main:not([role]), [role=\'main\']'
-1 32630 },
-1 32631 id: 'page-has-main'
-1 32632 } ],
-1 32633 any: [],
-1 32634 none: []
-1 32635 }, {
-1 32636 id: 'landmark-unique',
-1 32637 selector: '[role=banner], [role=complementary], [role=contentinfo], [role=main], [role=navigation], [role=region], [role=search], [role=form], form, footer, header, aside, main, nav, section',
-1 32638 tags: [ 'cat.semantics', 'best-practice' ],
-1 32639 matches: 'landmark-unique-matches',
-1 32640 all: [],
-1 32641 any: [ 'landmark-is-unique' ],
-1 32642 none: []
-1 32643 }, {
-1 32644 id: 'link-in-text-block',
-1 32645 selector: 'a[href], [role=link]',
-1 32646 matches: 'link-in-text-block-matches',
-1 32647 excludeHidden: false,
-1 32648 tags: [ 'cat.color', 'experimental', 'wcag2a', 'wcag141' ],
-1 32649 all: [ 'link-in-text-block' ],
-1 32650 any: [],
-1 32651 none: []
-1 32652 }, {
-1 32653 id: 'link-name',
-1 32654 selector: 'a[href]:not([role=button]), [role=link]',
-1 32655 tags: [ 'cat.name-role-value', 'wcag2a', 'wcag412', 'wcag244', 'section508', 'section508.22.a' ],
-1 32656 all: [],
-1 32657 any: [ 'has-visible-text', 'aria-label', 'aria-labelledby', {
-1 32658 options: {
-1 32659 matcher: {
-1 32660 attributes: {
-1 32661 role: 'presentation'
20450 32662 }
20451 32663 }
20452 -1 }
20453 -1 return table;
20454 -1 };
20455 -1 table.toArray = table.toGrid;
20456 -1 (function(table) {
20457 -1 var traverseTable = function traverseTable(dir, position, tableGrid, callback) {
20458 -1 var result;
20459 -1 var cell = tableGrid[position.y] ? tableGrid[position.y][position.x] : undefined;
20460 -1 if (!cell) {
20461 -1 return [];
-1 32664 },
-1 32665 id: 'role-presentation'
-1 32666 }, {
-1 32667 options: {
-1 32668 matcher: {
-1 32669 attributes: {
-1 32670 role: 'none'
-1 32671 }
20462 32672 }
20463 -1 if (typeof callback === 'function') {
20464 -1 result = callback(cell, position, tableGrid);
20465 -1 if (result === true) {
20466 -1 return [ cell ];
-1 32673 },
-1 32674 id: 'role-none'
-1 32675 }, {
-1 32676 options: {
-1 32677 attribute: 'title'
-1 32678 },
-1 32679 id: 'non-empty-title'
-1 32680 } ],
-1 32681 none: [ 'focusable-no-name' ]
-1 32682 }, {
-1 32683 id: 'list',
-1 32684 selector: 'ul, ol',
-1 32685 matches: 'no-role-matches',
-1 32686 tags: [ 'cat.structure', 'wcag2a', 'wcag131' ],
-1 32687 all: [],
-1 32688 any: [],
-1 32689 none: [ 'only-listitems' ]
-1 32690 }, {
-1 32691 id: 'listitem',
-1 32692 selector: 'li',
-1 32693 matches: 'no-role-matches',
-1 32694 tags: [ 'cat.structure', 'wcag2a', 'wcag131' ],
-1 32695 all: [],
-1 32696 any: [ 'listitem' ],
-1 32697 none: []
-1 32698 }, {
-1 32699 id: 'marquee',
-1 32700 selector: 'marquee',
-1 32701 excludeHidden: false,
-1 32702 tags: [ 'cat.parsing', 'wcag2a', 'wcag222' ],
-1 32703 all: [],
-1 32704 any: [],
-1 32705 none: [ 'is-on-screen' ]
-1 32706 }, {
-1 32707 id: 'meta-refresh',
-1 32708 selector: 'meta[http-equiv="refresh"]',
-1 32709 excludeHidden: false,
-1 32710 tags: [ 'cat.time-and-media', 'wcag2a', 'wcag2aaa', 'wcag221', 'wcag224', 'wcag325' ],
-1 32711 all: [],
-1 32712 any: [ 'meta-refresh' ],
-1 32713 none: []
-1 32714 }, {
-1 32715 id: 'meta-viewport-large',
-1 32716 selector: 'meta[name="viewport"]',
-1 32717 excludeHidden: false,
-1 32718 tags: [ 'cat.sensory-and-visual-cues', 'best-practice' ],
-1 32719 all: [],
-1 32720 any: [ {
-1 32721 options: {
-1 32722 scaleMinimum: 5,
-1 32723 lowerBound: 2
-1 32724 },
-1 32725 id: 'meta-viewport-large'
-1 32726 } ],
-1 32727 none: []
-1 32728 }, {
-1 32729 id: 'meta-viewport',
-1 32730 selector: 'meta[name="viewport"]',
-1 32731 excludeHidden: false,
-1 32732 tags: [ 'cat.sensory-and-visual-cues', 'best-practice' ],
-1 32733 all: [],
-1 32734 any: [ {
-1 32735 options: {
-1 32736 scaleMinimum: 2
-1 32737 },
-1 32738 id: 'meta-viewport'
-1 32739 } ],
-1 32740 none: []
-1 32741 }, {
-1 32742 id: 'no-autoplay-audio',
-1 32743 excludeHidden: false,
-1 32744 selector: 'audio[autoplay], video[autoplay]',
-1 32745 matches: 'no-autoplay-audio-matches',
-1 32746 tags: [ 'wcag2a', 'wcag142', 'experimental' ],
-1 32747 preload: true,
-1 32748 all: [ {
-1 32749 options: {
-1 32750 allowedDuration: 3
-1 32751 },
-1 32752 id: 'no-autoplay-audio'
-1 32753 } ],
-1 32754 any: [],
-1 32755 none: []
-1 32756 }, {
-1 32757 id: 'object-alt',
-1 32758 selector: 'object',
-1 32759 tags: [ 'cat.text-alternatives', 'wcag2a', 'wcag111', 'section508', 'section508.22.a' ],
-1 32760 all: [],
-1 32761 any: [ 'has-visible-text', 'aria-label', 'aria-labelledby', {
-1 32762 options: {
-1 32763 attribute: 'title'
-1 32764 },
-1 32765 id: 'non-empty-title'
-1 32766 }, {
-1 32767 options: {
-1 32768 matcher: {
-1 32769 attributes: {
-1 32770 role: 'presentation'
20467 32771 }
20468 32772 }
20469 -1 result = traverseTable(dir, {
20470 -1 x: position.x + dir.x,
20471 -1 y: position.y + dir.y
20472 -1 }, tableGrid, callback);
20473 -1 result.unshift(cell);
20474 -1 return result;
20475 -1 };
20476 -1 table.traverse = function(dir, startPos, tableGrid, callback) {
20477 -1 if (Array.isArray(startPos)) {
20478 -1 callback = tableGrid;
20479 -1 tableGrid = startPos;
20480 -1 startPos = {
20481 -1 x: 0,
20482 -1 y: 0
20483 -1 };
20484 -1 }
20485 -1 if (typeof dir === 'string') {
20486 -1 switch (dir) {
20487 -1 case 'left':
20488 -1 dir = {
20489 -1 x: -1,
20490 -1 y: 0
20491 -1 };
20492 -1 break;
20493 -1
20494 -1 case 'up':
20495 -1 dir = {
20496 -1 x: 0,
20497 -1 y: -1
20498 -1 };
20499 -1 break;
20500 -1
20501 -1 case 'right':
20502 -1 dir = {
20503 -1 x: 1,
20504 -1 y: 0
20505 -1 };
20506 -1 break;
20507 -1
20508 -1 case 'down':
20509 -1 dir = {
20510 -1 x: 0,
20511 -1 y: 1
20512 -1 };
20513 -1 break;
-1 32773 },
-1 32774 id: 'role-presentation'
-1 32775 }, {
-1 32776 options: {
-1 32777 matcher: {
-1 32778 attributes: {
-1 32779 role: 'none'
20514 32780 }
20515 32781 }
20516 -1 return traverseTable(dir, {
20517 -1 x: startPos.x + dir.x,
20518 -1 y: startPos.y + dir.y
20519 -1 }, tableGrid, callback);
20520 -1 };
20521 -1 })(table);
20522 -1 text.accessibleText = function accessibleText(element, context) {
20523 -1 var virtualNode = axe.utils.getNodeFromTree(axe._tree[0], element);
20524 -1 return text.accessibleTextVirtual(virtualNode, context);
20525 -1 };
20526 -1 text.accessibleTextVirtual = function accessibleTextVirtual(virtualNode) {
20527 -1 var context = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
20528 -1 var actualNode = virtualNode.actualNode;
20529 -1 context = prepareContext(virtualNode, context);
20530 -1 if (shouldIgnoreHidden(virtualNode, context)) {
20531 -1 return '';
20532 -1 }
20533 -1 var computationSteps = [ aria.arialabelledbyText, aria.arialabelText, text.nativeTextAlternative, text.formControlValue, text.subtreeText, textNodeContent, text.titleText ];
20534 -1 var accName = computationSteps.reduce(function(accName, step) {
20535 -1 if (accName !== '') {
20536 -1 return accName;
-1 32782 },
-1 32783 id: 'role-none'
-1 32784 } ],
-1 32785 none: []
-1 32786 }, {
-1 32787 id: 'p-as-heading',
-1 32788 selector: 'p',
-1 32789 matches: 'p-as-heading-matches',
-1 32790 tags: [ 'cat.semantics', 'wcag2a', 'wcag131', 'experimental' ],
-1 32791 all: [ {
-1 32792 options: {
-1 32793 margins: [ {
-1 32794 weight: 150,
-1 32795 italic: true
-1 32796 }, {
-1 32797 weight: 150,
-1 32798 size: 1.15
-1 32799 }, {
-1 32800 italic: true,
-1 32801 size: 1.15
-1 32802 }, {
-1 32803 size: 1.4
-1 32804 } ]
-1 32805 },
-1 32806 id: 'p-as-heading'
-1 32807 } ],
-1 32808 any: [],
-1 32809 none: []
-1 32810 }, {
-1 32811 id: 'page-has-heading-one',
-1 32812 selector: 'html',
-1 32813 tags: [ 'cat.semantics', 'best-practice' ],
-1 32814 all: [ {
-1 32815 options: {
-1 32816 selector: 'h1:not([role]):not([aria-level]), h1:not([role])[aria-level=1], h2:not([role])[aria-level=1], h3:not([role])[aria-level=1], h4:not([role])[aria-level=1], h5:not([role])[aria-level=1], h6:not([role])[aria-level=1], [role=heading][aria-level=1]'
-1 32817 },
-1 32818 id: 'page-has-heading-one'
-1 32819 } ],
-1 32820 any: [],
-1 32821 none: []
-1 32822 }, {
-1 32823 id: 'region',
-1 32824 selector: 'body *',
-1 32825 tags: [ 'cat.keyboard', 'best-practice' ],
-1 32826 all: [],
-1 32827 any: [ 'region' ],
-1 32828 none: []
-1 32829 }, {
-1 32830 id: 'role-img-alt',
-1 32831 selector: '[role=\'img\']:not(img):not(area):not(input):not(object)',
-1 32832 matches: 'html-namespace-matches',
-1 32833 tags: [ 'cat.text-alternatives', 'wcag2a', 'wcag111', 'section508', 'section508.22.a' ],
-1 32834 all: [],
-1 32835 any: [ 'aria-label', 'aria-labelledby', {
-1 32836 options: {
-1 32837 attribute: 'title'
-1 32838 },
-1 32839 id: 'non-empty-title'
-1 32840 } ],
-1 32841 none: []
-1 32842 }, {
-1 32843 id: 'scope-attr-valid',
-1 32844 selector: 'td[scope], th[scope]',
-1 32845 tags: [ 'cat.tables', 'best-practice' ],
-1 32846 all: [ 'html5-scope', {
-1 32847 options: {
-1 32848 values: [ 'row', 'col', 'rowgroup', 'colgroup' ]
-1 32849 },
-1 32850 id: 'scope-value'
-1 32851 } ],
-1 32852 any: [],
-1 32853 none: []
-1 32854 }, {
-1 32855 id: 'scrollable-region-focusable',
-1 32856 matches: 'scrollable-region-focusable-matches',
-1 32857 tags: [ 'wcag2a', 'wcag211' ],
-1 32858 all: [],
-1 32859 any: [ 'focusable-content', 'focusable-element' ],
-1 32860 none: []
-1 32861 }, {
-1 32862 id: 'server-side-image-map',
-1 32863 selector: 'img[ismap]',
-1 32864 tags: [ 'cat.text-alternatives', 'wcag2a', 'wcag211', 'section508', 'section508.22.f' ],
-1 32865 all: [],
-1 32866 any: [],
-1 32867 none: [ 'exists' ]
-1 32868 }, {
-1 32869 id: 'skip-link',
-1 32870 selector: 'a[href^="#"], a[href^="/#"]',
-1 32871 matches: 'skip-link-matches',
-1 32872 tags: [ 'cat.keyboard', 'best-practice' ],
-1 32873 all: [],
-1 32874 any: [ 'skip-link' ],
-1 32875 none: []
-1 32876 }, {
-1 32877 id: 'svg-img-alt',
-1 32878 selector: '[role="img"], [role="graphics-symbol"], svg[role="graphics-document"]',
-1 32879 matches: 'svg-namespace-matches',
-1 32880 tags: [ 'cat.text-alternatives', 'wcag2a', 'wcag111', 'section508', 'section508.22.a' ],
-1 32881 all: [],
-1 32882 any: [ 'svg-non-empty-title', 'aria-label', 'aria-labelledby', {
-1 32883 options: {
-1 32884 attribute: 'title'
-1 32885 },
-1 32886 id: 'non-empty-title'
-1 32887 } ],
-1 32888 none: []
-1 32889 }, {
-1 32890 id: 'tabindex',
-1 32891 selector: '[tabindex]',
-1 32892 tags: [ 'cat.keyboard', 'best-practice' ],
-1 32893 all: [],
-1 32894 any: [ 'tabindex' ],
-1 32895 none: []
-1 32896 }, {
-1 32897 id: 'table-duplicate-name',
-1 32898 selector: 'table',
-1 32899 tags: [ 'cat.tables', 'best-practice' ],
-1 32900 all: [],
-1 32901 any: [],
-1 32902 none: [ 'same-caption-summary' ]
-1 32903 }, {
-1 32904 id: 'table-fake-caption',
-1 32905 selector: 'table',
-1 32906 matches: 'data-table-matches',
-1 32907 tags: [ 'cat.tables', 'experimental', 'wcag2a', 'wcag131', 'section508', 'section508.22.g' ],
-1 32908 all: [ 'caption-faked' ],
-1 32909 any: [],
-1 32910 none: []
-1 32911 }, {
-1 32912 id: 'td-has-header',
-1 32913 selector: 'table',
-1 32914 matches: 'data-table-large-matches',
-1 32915 tags: [ 'cat.tables', 'experimental', 'wcag2a', 'wcag131', 'section508', 'section508.22.g' ],
-1 32916 all: [ 'td-has-header' ],
-1 32917 any: [],
-1 32918 none: []
-1 32919 }, {
-1 32920 id: 'td-headers-attr',
-1 32921 selector: 'table',
-1 32922 tags: [ 'cat.tables', 'wcag2a', 'wcag131', 'section508', 'section508.22.g' ],
-1 32923 all: [ 'td-headers-attr' ],
-1 32924 any: [],
-1 32925 none: []
-1 32926 }, {
-1 32927 id: 'th-has-data-cells',
-1 32928 selector: 'table',
-1 32929 matches: 'data-table-matches',
-1 32930 tags: [ 'cat.tables', 'wcag2a', 'wcag131', 'section508', 'section508.22.g' ],
-1 32931 all: [ 'th-has-data-cells' ],
-1 32932 any: [],
-1 32933 none: []
-1 32934 }, {
-1 32935 id: 'valid-lang',
-1 32936 selector: '[lang], [xml\\:lang]',
-1 32937 matches: 'not-html-matches',
-1 32938 tags: [ 'cat.language', 'wcag2aa', 'wcag312' ],
-1 32939 all: [],
-1 32940 any: [],
-1 32941 none: [ {
-1 32942 options: {
-1 32943 attributes: [ 'lang', 'xml:lang' ]
-1 32944 },
-1 32945 id: 'valid-lang'
-1 32946 } ]
-1 32947 }, {
-1 32948 id: 'video-caption',
-1 32949 selector: 'video',
-1 32950 excludeHidden: false,
-1 32951 tags: [ 'cat.text-alternatives', 'wcag2a', 'wcag122', 'section508', 'section508.22.a' ],
-1 32952 all: [],
-1 32953 any: [],
-1 32954 none: [ 'caption' ]
-1 32955 } ],
-1 32956 checks: [ {
-1 32957 id: 'abstractrole',
-1 32958 evaluate: 'abstractrole-evaluate'
-1 32959 }, {
-1 32960 id: 'aria-allowed-attr',
-1 32961 evaluate: 'aria-allowed-attr-evaluate'
-1 32962 }, {
-1 32963 id: 'aria-allowed-role',
-1 32964 evaluate: 'aria-allowed-role-evaluate',
-1 32965 options: {
-1 32966 allowImplicit: true,
-1 32967 ignoredTags: []
-1 32968 }
-1 32969 }, {
-1 32970 id: 'aria-errormessage',
-1 32971 evaluate: 'aria-errormessage-evaluate'
-1 32972 }, {
-1 32973 id: 'aria-hidden-body',
-1 32974 evaluate: 'aria-hidden-body-evaluate'
-1 32975 }, {
-1 32976 id: 'aria-required-attr',
-1 32977 evaluate: 'aria-required-attr-evaluate'
-1 32978 }, {
-1 32979 id: 'aria-required-children',
-1 32980 evaluate: 'aria-required-children-evaluate',
-1 32981 options: {
-1 32982 reviewEmpty: [ 'doc-bibliography', 'doc-endnotes', 'grid', 'list', 'listbox', 'table', 'tablist', 'tree', 'treegrid', 'rowgroup' ]
-1 32983 }
-1 32984 }, {
-1 32985 id: 'aria-required-parent',
-1 32986 evaluate: 'aria-required-parent-evaluate'
-1 32987 }, {
-1 32988 id: 'aria-roledescription',
-1 32989 evaluate: 'aria-roledescription-evaluate',
-1 32990 options: {
-1 32991 supportedRoles: [ 'button', 'img', 'checkbox', 'radio', 'combobox', 'menuitemcheckbox', 'menuitemradio' ]
-1 32992 }
-1 32993 }, {
-1 32994 id: 'aria-unsupported-attr',
-1 32995 evaluate: 'aria-unsupported-attr-evaluate'
-1 32996 }, {
-1 32997 id: 'aria-valid-attr-value',
-1 32998 evaluate: 'aria-valid-attr-value-evaluate',
-1 32999 options: []
-1 33000 }, {
-1 33001 id: 'aria-valid-attr',
-1 33002 evaluate: 'aria-valid-attr-evaluate',
-1 33003 options: []
-1 33004 }, {
-1 33005 id: 'fallbackrole',
-1 33006 evaluate: 'fallbackrole-evaluate'
-1 33007 }, {
-1 33008 id: 'has-widget-role',
-1 33009 evaluate: 'has-widget-role-evaluate',
-1 33010 options: []
-1 33011 }, {
-1 33012 id: 'invalidrole',
-1 33013 evaluate: 'invalidrole-evaluate'
-1 33014 }, {
-1 33015 id: 'no-implicit-explicit-label',
-1 33016 evaluate: 'no-implicit-explicit-label-evaluate'
-1 33017 }, {
-1 33018 id: 'unsupportedrole',
-1 33019 evaluate: 'unsupportedrole-evaluate'
-1 33020 }, {
-1 33021 id: 'valid-scrollable-semantics',
-1 33022 evaluate: 'valid-scrollable-semantics-evaluate',
-1 33023 options: []
-1 33024 }, {
-1 33025 id: 'color-contrast',
-1 33026 evaluate: 'color-contrast-evaluate',
-1 33027 options: {
-1 33028 ignoreUnicode: true,
-1 33029 ignoreLength: false,
-1 33030 boldValue: 700,
-1 33031 boldTextPt: 14,
-1 33032 largeTextPt: 18,
-1 33033 contrastRatio: {
-1 33034 normal: {
-1 33035 expected: 4.5
-1 33036 },
-1 33037 large: {
-1 33038 expected: 3
20537 33039 }
20538 -1 return step(virtualNode, context);
20539 -1 }, '');
20540 -1 if (context.startNode === virtualNode) {
20541 -1 accName = text.sanitize(accName);
20542 33040 }
20543 -1 if (context.debug) {
20544 -1 axe.log(accName || '{empty-value}', actualNode, context);
20545 -1 }
20546 -1 return accName;
20547 -1 };
20548 -1 function textNodeContent(_ref31) {
20549 -1 var actualNode = _ref31.actualNode;
20550 -1 if (actualNode.nodeType !== 3) {
20551 -1 return '';
20552 -1 }
20553 -1 return actualNode.textContent;
20554 33041 }
20555 -1 function shouldIgnoreHidden(_ref32, context) {
20556 -1 var actualNode = _ref32.actualNode;
20557 -1 if (actualNode.nodeType !== 1 || context.includeHidden) {
20558 -1 return false;
20559 -1 }
20560 -1 return !dom.isVisible(actualNode, true);
-1 33042 }, {
-1 33043 id: 'link-in-text-block',
-1 33044 evaluate: 'link-in-text-block-evaluate'
-1 33045 }, {
-1 33046 id: 'autocomplete-appropriate',
-1 33047 evaluate: 'autocomplete-appropriate-evaluate'
-1 33048 }, {
-1 33049 id: 'autocomplete-valid',
-1 33050 evaluate: 'autocomplete-valid-evaluate'
-1 33051 }, {
-1 33052 id: 'accesskeys',
-1 33053 evaluate: 'accesskeys-evaluate',
-1 33054 after: 'accesskeys-after'
-1 33055 }, {
-1 33056 id: 'focusable-content',
-1 33057 evaluate: 'focusable-content-evaluate'
-1 33058 }, {
-1 33059 id: 'focusable-disabled',
-1 33060 evaluate: 'focusable-disabled-evaluate'
-1 33061 }, {
-1 33062 id: 'focusable-element',
-1 33063 evaluate: 'focusable-element-evaluate'
-1 33064 }, {
-1 33065 id: 'focusable-modal-open',
-1 33066 evaluate: 'focusable-modal-open-evaluate'
-1 33067 }, {
-1 33068 id: 'focusable-no-name',
-1 33069 evaluate: 'focusable-no-name-evaluate'
-1 33070 }, {
-1 33071 id: 'focusable-not-tabbable',
-1 33072 evaluate: 'focusable-not-tabbable-evaluate'
-1 33073 }, {
-1 33074 id: 'landmark-is-top-level',
-1 33075 evaluate: 'landmark-is-top-level-evaluate'
-1 33076 }, {
-1 33077 id: 'page-has-heading-one',
-1 33078 evaluate: 'has-descendant-evaluate',
-1 33079 after: 'has-descendant-after',
-1 33080 options: {
-1 33081 selector: 'h1:not([role]):not([aria-level]), h1:not([role])[aria-level=1], h2:not([role])[aria-level=1], h3:not([role])[aria-level=1], h4:not([role])[aria-level=1], h5:not([role])[aria-level=1], h6:not([role])[aria-level=1], [role=heading][aria-level=1]'
-1 33082 }
-1 33083 }, {
-1 33084 id: 'page-has-main',
-1 33085 evaluate: 'has-descendant-evaluate',
-1 33086 after: 'has-descendant-after',
-1 33087 options: {
-1 33088 selector: 'main:not([role]), [role=\'main\']'
20561 33089 }
20562 -1 function prepareContext(virtualNode, context) {
20563 -1 var actualNode = virtualNode.actualNode;
20564 -1 if (!context.startNode) {
20565 -1 context = _extends({
20566 -1 startNode: virtualNode
20567 -1 }, context);
20568 -1 }
20569 -1 if (actualNode.nodeType === 1 && context.inLabelledByContext && context.includeHidden === undefined) {
20570 -1 context = _extends({
20571 -1 includeHidden: !dom.isVisible(actualNode, true)
20572 -1 }, context);
20573 -1 }
20574 -1 return context;
-1 33090 }, {
-1 33091 id: 'page-no-duplicate-banner',
-1 33092 evaluate: 'page-no-duplicate-evaluate',
-1 33093 after: 'page-no-duplicate-after',
-1 33094 options: {
-1 33095 selector: 'header:not([role]), [role=banner]',
-1 33096 nativeScopeFilter: 'article, aside, main, nav, section'
20575 33097 }
20576 -1 text.accessibleTextVirtual.alreadyProcessed = function alreadyProcessed(virtualnode, context) {
20577 -1 context.processed = context.processed || [];
20578 -1 if (context.processed.includes(virtualnode)) {
20579 -1 return true;
20580 -1 }
20581 -1 context.processed.push(virtualnode);
20582 -1 return false;
20583 -1 };
20584 -1 var selectRoles = [ 'combobox', 'listbox' ];
20585 -1 var rangeRoles = [ 'progressbar', 'scrollbar', 'slider', 'spinbutton' ];
20586 -1 var controlValueRoles = [ 'textbox' ].concat(selectRoles, rangeRoles);
20587 -1 text.formControlValueMethods = {
20588 -1 nativeTextboxValue: nativeTextboxValue,
20589 -1 nativeSelectValue: nativeSelectValue,
20590 -1 ariaTextboxValue: ariaTextboxValue,
20591 -1 ariaListboxValue: ariaListboxValue,
20592 -1 ariaComboboxValue: ariaComboboxValue,
20593 -1 ariaRangeValue: ariaRangeValue
20594 -1 };
20595 -1 text.formControlValue = function formControlValue(virtualNode) {
20596 -1 var context = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
20597 -1 var actualNode = virtualNode.actualNode;
20598 -1 var unsupported = text.unsupported.accessibleNameFromFieldValue || [];
20599 -1 var role = aria.getRole(actualNode);
20600 -1 if (context.startNode === virtualNode || !controlValueRoles.includes(role) || unsupported.includes(role)) {
20601 -1 return '';
20602 -1 }
20603 -1 var valueMethods = Object.keys(text.formControlValueMethods).map(function(name) {
20604 -1 return text.formControlValueMethods[name];
20605 -1 });
20606 -1 var valueString = valueMethods.reduce(function(accName, step) {
20607 -1 return accName || step(virtualNode, context);
20608 -1 }, '');
20609 -1 if (context.debug) {
20610 -1 axe.log(valueString || '{empty-value}', actualNode, context);
20611 -1 }
20612 -1 return valueString;
20613 -1 };
20614 -1 function nativeTextboxValue(node) {
20615 -1 node = node.actualNode || node;
20616 -1 var nonTextInputTypes = [ 'button', 'checkbox', 'file', 'hidden', 'image', 'password', 'radio', 'reset', 'submit', 'color' ];
20617 -1 var nodeName = node.nodeName.toUpperCase();
20618 -1 if (nodeName === 'TEXTAREA' || nodeName === 'INPUT' && !nonTextInputTypes.includes(node.type)) {
20619 -1 return node.value || '';
20620 -1 }
20621 -1 return '';
-1 33098 }, {
-1 33099 id: 'page-no-duplicate-contentinfo',
-1 33100 evaluate: 'page-no-duplicate-evaluate',
-1 33101 after: 'page-no-duplicate-after',
-1 33102 options: {
-1 33103 selector: 'footer:not([role]), [role=contentinfo]',
-1 33104 nativeScopeFilter: 'article, aside, main, nav, section'
20622 33105 }
20623 -1 function nativeSelectValue(node) {
20624 -1 node = node.actualNode || node;
20625 -1 if (node.nodeName.toUpperCase() !== 'SELECT') {
20626 -1 return '';
20627 -1 }
20628 -1 return Array.from(node.options).filter(function(option) {
20629 -1 return option.selected;
20630 -1 }).map(function(option) {
20631 -1 return option.text;
20632 -1 }).join(' ') || '';
-1 33106 }, {
-1 33107 id: 'page-no-duplicate-main',
-1 33108 evaluate: 'page-no-duplicate-evaluate',
-1 33109 after: 'page-no-duplicate-after',
-1 33110 options: {
-1 33111 selector: 'main:not([role]), [role=\'main\']'
20633 33112 }
20634 -1 function ariaTextboxValue(virtualNode) {
20635 -1 var actualNode = virtualNode.actualNode;
20636 -1 var role = aria.getRole(actualNode);
20637 -1 if (role !== 'textbox') {
20638 -1 return '';
20639 -1 }
20640 -1 if (!dom.isHiddenWithCSS(actualNode)) {
20641 -1 return text.visibleVirtual(virtualNode, true);
20642 -1 } else {
20643 -1 return actualNode.textContent;
20644 -1 }
-1 33113 }, {
-1 33114 id: 'tabindex',
-1 33115 evaluate: 'tabindex-evaluate'
-1 33116 }, {
-1 33117 id: 'alt-space-value',
-1 33118 evaluate: 'alt-space-value-evaluate'
-1 33119 }, {
-1 33120 id: 'duplicate-img-label',
-1 33121 evaluate: 'duplicate-img-label-evaluate',
-1 33122 options: {
-1 33123 parentSelector: 'button, [role=button], a[href], p, li, td, th'
20645 33124 }
20646 -1 function ariaListboxValue(virtualNode, context) {
20647 -1 var actualNode = virtualNode.actualNode;
20648 -1 var role = aria.getRole(actualNode);
20649 -1 if (role !== 'listbox') {
20650 -1 return '';
20651 -1 }
20652 -1 var selected = aria.getOwnedVirtual(virtualNode).filter(function(owned) {
20653 -1 return aria.getRole(owned) === 'option' && owned.actualNode.getAttribute('aria-selected') === 'true';
20654 -1 });
20655 -1 if (selected.length === 0) {
20656 -1 return '';
20657 -1 }
20658 -1 return axe.commons.text.accessibleTextVirtual(selected[0], context);
-1 33125 }, {
-1 33126 id: 'explicit-label',
-1 33127 evaluate: 'explicit-evaluate'
-1 33128 }, {
-1 33129 id: 'help-same-as-label',
-1 33130 evaluate: 'help-same-as-label-evaluate',
-1 33131 enabled: false
-1 33132 }, {
-1 33133 id: 'hidden-explicit-label',
-1 33134 evaluate: 'hidden-explicit-label-evaluate'
-1 33135 }, {
-1 33136 id: 'implicit-label',
-1 33137 evaluate: 'implicit-evaluate'
-1 33138 }, {
-1 33139 id: 'label-content-name-mismatch',
-1 33140 evaluate: 'label-content-name-mismatch-evaluate',
-1 33141 options: {
-1 33142 pixelThreshold: .1,
-1 33143 occuranceThreshold: 3
20659 33144 }
20660 -1 function ariaComboboxValue(virtualNode, context) {
20661 -1 var actualNode = virtualNode.actualNode;
20662 -1 var role = aria.getRole(actualNode, {
20663 -1 noImplicit: true
20664 -1 });
20665 -1 var listbox = void 0;
20666 -1 if (!role === 'combobox') {
20667 -1 return '';
20668 -1 }
20669 -1 listbox = aria.getOwnedVirtual(virtualNode).filter(function(elm) {
20670 -1 return aria.getRole(elm) === 'listbox';
20671 -1 })[0];
20672 -1 return listbox ? text.formControlValueMethods.ariaListboxValue(listbox, context) : '';
-1 33145 }, {
-1 33146 id: 'multiple-label',
-1 33147 evaluate: 'multiple-label-evaluate'
-1 33148 }, {
-1 33149 id: 'title-only',
-1 33150 evaluate: 'title-only-evaluate'
-1 33151 }, {
-1 33152 id: 'landmark-is-unique',
-1 33153 evaluate: 'landmark-is-unique-evaluate',
-1 33154 after: 'landmark-is-unique-after'
-1 33155 }, {
-1 33156 id: 'has-lang',
-1 33157 evaluate: 'has-lang-evaluate',
-1 33158 options: {
-1 33159 attributes: [ 'lang', 'xml:lang' ]
20673 33160 }
20674 -1 function ariaRangeValue(node) {
20675 -1 node = node.actualNode || node;
20676 -1 var role = aria.getRole(node);
20677 -1 if (!rangeRoles.includes(role) || !node.hasAttribute('aria-valuenow')) {
20678 -1 return '';
20679 -1 }
20680 -1 var valueNow = +node.getAttribute('aria-valuenow');
20681 -1 return !isNaN(valueNow) ? String(valueNow) : '0';
-1 33161 }, {
-1 33162 id: 'valid-lang',
-1 33163 evaluate: 'valid-lang-evaluate',
-1 33164 options: {
-1 33165 attributes: [ 'lang', 'xml:lang' ]
20682 33166 }
20683 -1 text.isHumanInterpretable = function(str) {
20684 -1 if (!str.length) {
20685 -1 return 0;
20686 -1 }
20687 -1 var alphaNumericIconMap = [ 'x', 'i' ];
20688 -1 if (alphaNumericIconMap.includes(str)) {
20689 -1 return 0;
20690 -1 }
20691 -1 var noUnicodeStr = text.removeUnicode(str, {
20692 -1 emoji: true,
20693 -1 nonBmp: true,
20694 -1 punctuations: true
20695 -1 });
20696 -1 if (!text.sanitize(noUnicodeStr)) {
20697 -1 return 0;
20698 -1 }
20699 -1 return 1;
20700 -1 };
20701 -1 var autocomplete = {
20702 -1 stateTerms: [ 'on', 'off' ],
20703 -1 standaloneTerms: [ 'name', 'honorific-prefix', 'given-name', 'additional-name', 'family-name', 'honorific-suffix', 'nickname', 'username', 'new-password', 'current-password', 'organization-title', 'organization', 'street-address', 'address-line1', 'address-line2', 'address-line3', 'address-level4', 'address-level3', 'address-level2', 'address-level1', 'country', 'country-name', 'postal-code', 'cc-name', 'cc-given-name', 'cc-additional-name', 'cc-family-name', 'cc-number', 'cc-exp', 'cc-exp-month', 'cc-exp-year', 'cc-csc', 'cc-type', 'transaction-currency', 'transaction-amount', 'language', 'bday', 'bday-day', 'bday-month', 'bday-year', 'sex', 'url', 'photo' ],
20704 -1 qualifiers: [ 'home', 'work', 'mobile', 'fax', 'pager' ],
20705 -1 qualifiedTerms: [ 'tel', 'tel-country-code', 'tel-national', 'tel-area-code', 'tel-local', 'tel-local-prefix', 'tel-local-suffix', 'tel-extension', 'email', 'impp' ],
20706 -1 locations: [ 'billing', 'shipping' ]
20707 -1 };
20708 -1 text.autocomplete = autocomplete;
20709 -1 text.isValidAutocomplete = function isValidAutocomplete(autocomplete) {
20710 -1 var _ref33 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}, _ref33$looseTyped = _ref33.looseTyped, looseTyped = _ref33$looseTyped === undefined ? false : _ref33$looseTyped, _ref33$stateTerms = _ref33.stateTerms, stateTerms = _ref33$stateTerms === undefined ? [] : _ref33$stateTerms, _ref33$locations = _ref33.locations, locations = _ref33$locations === undefined ? [] : _ref33$locations, _ref33$qualifiers = _ref33.qualifiers, qualifiers = _ref33$qualifiers === undefined ? [] : _ref33$qualifiers, _ref33$standaloneTerm = _ref33.standaloneTerms, standaloneTerms = _ref33$standaloneTerm === undefined ? [] : _ref33$standaloneTerm, _ref33$qualifiedTerms = _ref33.qualifiedTerms, qualifiedTerms = _ref33$qualifiedTerms === undefined ? [] : _ref33$qualifiedTerms;
20711 -1 autocomplete = autocomplete.toLowerCase().trim();
20712 -1 stateTerms = stateTerms.concat(text.autocomplete.stateTerms);
20713 -1 if (stateTerms.includes(autocomplete) || autocomplete === '') {
20714 -1 return true;
20715 -1 }
20716 -1 qualifiers = qualifiers.concat(text.autocomplete.qualifiers);
20717 -1 locations = locations.concat(text.autocomplete.locations);
20718 -1 standaloneTerms = standaloneTerms.concat(text.autocomplete.standaloneTerms);
20719 -1 qualifiedTerms = qualifiedTerms.concat(text.autocomplete.qualifiedTerms);
20720 -1 var autocompleteTerms = autocomplete.split(/\s+/g);
20721 -1 if (!looseTyped) {
20722 -1 if (autocompleteTerms[0].length > 8 && autocompleteTerms[0].substr(0, 8) === 'section-') {
20723 -1 autocompleteTerms.shift();
20724 -1 }
20725 -1 if (locations.includes(autocompleteTerms[0])) {
20726 -1 autocompleteTerms.shift();
20727 -1 }
20728 -1 if (qualifiers.includes(autocompleteTerms[0])) {
20729 -1 autocompleteTerms.shift();
20730 -1 standaloneTerms = [];
20731 -1 }
20732 -1 if (autocompleteTerms.length !== 1) {
20733 -1 return false;
20734 -1 }
20735 -1 }
20736 -1 var purposeTerm = autocompleteTerms[autocompleteTerms.length - 1];
20737 -1 return standaloneTerms.includes(purposeTerm) || qualifiedTerms.includes(purposeTerm);
20738 -1 };
20739 -1 text.labelText = function labelText(virtualNode) {
20740 -1 var context = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
20741 -1 var alreadyProcessed = text.accessibleTextVirtual.alreadyProcessed;
20742 -1 if (context.inControlContext || context.inLabelledByContext || alreadyProcessed(virtualNode, context)) {
20743 -1 return '';
20744 -1 }
20745 -1 if (!context.startNode) {
20746 -1 context.startNode = virtualNode;
20747 -1 }
20748 -1 var labelContext = _extends({
20749 -1 inControlContext: true
20750 -1 }, context);
20751 -1 var explicitLabels = getExplicitLabels(virtualNode);
20752 -1 var implicitLabel = dom.findUpVirtual(virtualNode, 'label');
20753 -1 var labels = void 0;
20754 -1 if (implicitLabel) {
20755 -1 labels = [].concat(_toConsumableArray(explicitLabels), [ implicitLabel ]);
20756 -1 labels.sort(axe.utils.nodeSorter);
20757 -1 } else {
20758 -1 labels = explicitLabels;
20759 -1 }
20760 -1 return labels.map(function(label) {
20761 -1 return text.accessibleText(label, labelContext);
20762 -1 }).filter(function(text) {
20763 -1 return text !== '';
20764 -1 }).join(' ');
20765 -1 };
20766 -1 function getExplicitLabels(_ref34) {
20767 -1 var actualNode = _ref34.actualNode;
20768 -1 if (!actualNode.id) {
20769 -1 return [];
20770 -1 }
20771 -1 return dom.findElmsInContext({
20772 -1 elm: 'label',
20773 -1 attr: 'for',
20774 -1 value: actualNode.id,
20775 -1 context: actualNode
20776 -1 });
-1 33167 }, {
-1 33168 id: 'xml-lang-mismatch',
-1 33169 evaluate: 'xml-lang-mismatch-evaluate'
-1 33170 }, {
-1 33171 id: 'dlitem',
-1 33172 evaluate: 'dlitem-evaluate'
-1 33173 }, {
-1 33174 id: 'listitem',
-1 33175 evaluate: 'listitem-evaluate'
-1 33176 }, {
-1 33177 id: 'only-dlitems',
-1 33178 evaluate: 'only-dlitems-evaluate'
-1 33179 }, {
-1 33180 id: 'only-listitems',
-1 33181 evaluate: 'only-listitems-evaluate'
-1 33182 }, {
-1 33183 id: 'structured-dlitems',
-1 33184 evaluate: 'structured-dlitems-evaluate'
-1 33185 }, {
-1 33186 id: 'caption',
-1 33187 evaluate: 'caption-evaluate'
-1 33188 }, {
-1 33189 id: 'frame-tested',
-1 33190 evaluate: 'frame-tested-evaluate',
-1 33191 options: {
-1 33192 isViolation: false
20777 33193 }
20778 -1 text.labelVirtual = function(node) {
20779 -1 var ref, candidate, doc;
20780 -1 candidate = aria.labelVirtual(node);
20781 -1 if (candidate) {
20782 -1 return candidate;
20783 -1 }
20784 -1 if (node.actualNode.id) {
20785 -1 var id = axe.utils.escapeSelector(node.actualNode.getAttribute('id'));
20786 -1 doc = axe.commons.dom.getRootNode(node.actualNode);
20787 -1 ref = doc.querySelector('label[for="' + id + '"]');
20788 -1 candidate = ref && text.visible(ref, true);
20789 -1 if (candidate) {
20790 -1 return candidate;
20791 -1 }
20792 -1 }
20793 -1 ref = dom.findUpVirtual(node, 'label');
20794 -1 candidate = ref && text.visible(ref, true);
20795 -1 if (candidate) {
20796 -1 return candidate;
20797 -1 }
20798 -1 return null;
20799 -1 };
20800 -1 text.label = function(node) {
20801 -1 node = axe.utils.getNodeFromTree(axe._tree[0], node);
20802 -1 return text.labelVirtual(node);
20803 -1 };
20804 -1 text.nativeElementType = [ {
20805 -1 matches: [ {
20806 -1 nodeName: 'textarea'
-1 33194 }, {
-1 33195 id: 'no-autoplay-audio',
-1 33196 evaluate: 'no-autoplay-audio-evaluate',
-1 33197 options: {
-1 33198 allowedDuration: 3
-1 33199 }
-1 33200 }, {
-1 33201 id: 'css-orientation-lock',
-1 33202 evaluate: 'css-orientation-lock-evaluate',
-1 33203 options: {
-1 33204 degreeThreshold: 2
-1 33205 }
-1 33206 }, {
-1 33207 id: 'meta-viewport-large',
-1 33208 evaluate: 'meta-viewport-scale-evaluate',
-1 33209 options: {
-1 33210 scaleMinimum: 5,
-1 33211 lowerBound: 2
-1 33212 }
-1 33213 }, {
-1 33214 id: 'meta-viewport',
-1 33215 evaluate: 'meta-viewport-scale-evaluate',
-1 33216 options: {
-1 33217 scaleMinimum: 2
-1 33218 }
-1 33219 }, {
-1 33220 id: 'header-present',
-1 33221 evaluate: 'has-descendant-evaluate',
-1 33222 after: 'has-descendant-after',
-1 33223 options: {
-1 33224 selector: 'h1:not([role]), h2:not([role]), h3:not([role]), h4:not([role]), h5:not([role]), h6:not([role]), [role=heading]'
-1 33225 }
-1 33226 }, {
-1 33227 id: 'heading-order',
-1 33228 evaluate: 'heading-order-evaluate',
-1 33229 after: 'heading-order-after'
-1 33230 }, {
-1 33231 id: 'identical-links-same-purpose',
-1 33232 evaluate: 'identical-links-same-purpose-evaluate',
-1 33233 after: 'identical-links-same-purpose-after'
-1 33234 }, {
-1 33235 id: 'internal-link-present',
-1 33236 evaluate: 'internal-link-present-evaluate'
-1 33237 }, {
-1 33238 id: 'landmark',
-1 33239 evaluate: 'has-descendant-evaluate',
-1 33240 options: {
-1 33241 selector: 'main, [role=main]'
-1 33242 }
-1 33243 }, {
-1 33244 id: 'meta-refresh',
-1 33245 evaluate: 'meta-refresh-evaluate'
-1 33246 }, {
-1 33247 id: 'p-as-heading',
-1 33248 evaluate: 'p-as-heading-evaluate',
-1 33249 options: {
-1 33250 margins: [ {
-1 33251 weight: 150,
-1 33252 italic: true
20807 33253 }, {
20808 -1 nodeName: 'input',
20809 -1 properties: {
20810 -1 type: [ 'text', 'password', 'search', 'tel', 'email', 'url' ]
20811 -1 }
20812 -1 } ],
20813 -1 namingMethods: 'labelText'
20814 -1 }, {
20815 -1 matches: {
20816 -1 nodeName: 'input',
20817 -1 properties: {
20818 -1 type: [ 'button', 'submit', 'reset' ]
20819 -1 }
20820 -1 },
20821 -1 namingMethods: [ 'valueText', 'titleText', 'buttonDefaultText' ]
20822 -1 }, {
20823 -1 matches: {
20824 -1 nodeName: 'input',
20825 -1 properties: {
20826 -1 type: 'image'
20827 -1 }
20828 -1 },
20829 -1 namingMethods: [ 'altText', 'valueText', 'labelText', 'titleText', 'buttonDefaultText' ]
20830 -1 }, {
20831 -1 matches: 'button',
20832 -1 namingMethods: 'subtreeText'
20833 -1 }, {
20834 -1 matches: 'fieldset',
20835 -1 namingMethods: 'fieldsetLegendText'
20836 -1 }, {
20837 -1 matches: 'OUTPUT',
20838 -1 namingMethods: 'subtreeText'
20839 -1 }, {
20840 -1 matches: [ {
20841 -1 nodeName: 'select'
-1 33254 weight: 150,
-1 33255 size: 1.15
20842 33256 }, {
20843 -1 nodeName: 'input',
20844 -1 properties: {
20845 -1 type: /^(?!text|password|search|tel|email|url|button|submit|reset)/
20846 -1 }
20847 -1 } ],
20848 -1 namingMethods: 'labelText'
20849 -1 }, {
20850 -1 matches: 'summary',
20851 -1 namingMethods: 'subtreeText'
20852 -1 }, {
20853 -1 matches: 'figure',
20854 -1 namingMethods: [ 'figureText', 'titleText' ]
20855 -1 }, {
20856 -1 matches: 'img',
20857 -1 namingMethods: 'altText'
20858 -1 }, {
20859 -1 matches: 'table',
20860 -1 namingMethods: [ 'tableCaptionText', 'tableSummaryText' ]
20861 -1 }, {
20862 -1 matches: [ 'hr', 'br' ],
20863 -1 namingMethods: [ 'titleText', 'singleSpace' ]
20864 -1 } ];
20865 -1 text.nativeTextAlternative = function nativeTextAlternative(virtualNode) {
20866 -1 var context = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
20867 -1 var actualNode = virtualNode.actualNode;
20868 -1 if (actualNode.nodeType !== 1 || [ 'presentation', 'none' ].includes(aria.getRole(actualNode))) {
20869 -1 return '';
20870 -1 }
20871 -1 var textMethods = findTextMethods(virtualNode);
20872 -1 var accName = textMethods.reduce(function(accName, step) {
20873 -1 return accName || step(virtualNode, context);
20874 -1 }, '');
20875 -1 if (context.debug) {
20876 -1 axe.log(accName || '{empty-value}', actualNode, context);
20877 -1 }
20878 -1 return accName;
20879 -1 };
20880 -1 function findTextMethods(virtualNode) {
20881 -1 var nativeElementType = text.nativeElementType, nativeTextMethods = text.nativeTextMethods;
20882 -1 var nativeType = nativeElementType.find(function(_ref35) {
20883 -1 var matches = _ref35.matches;
20884 -1 return axe.commons.matches(virtualNode, matches);
20885 -1 });
20886 -1 var methods = nativeType ? [].concat(nativeType.namingMethods) : [];
20887 -1 return methods.map(function(methodName) {
20888 -1 return nativeTextMethods[methodName];
20889 -1 });
-1 33257 italic: true,
-1 33258 size: 1.15
-1 33259 }, {
-1 33260 size: 1.4
-1 33261 } ]
20890 33262 }
20891 -1 var defaultButtonValues = {
20892 -1 submit: 'Submit',
20893 -1 image: 'Submit',
20894 -1 reset: 'Reset',
20895 -1 button: ''
20896 -1 };
20897 -1 text.nativeTextMethods = {
20898 -1 valueText: function valueText(_ref36) {
20899 -1 var actualNode = _ref36.actualNode;
20900 -1 return actualNode.value || '';
20901 -1 },
20902 -1 buttonDefaultText: function buttonDefaultText(_ref37) {
20903 -1 var actualNode = _ref37.actualNode;
20904 -1 return defaultButtonValues[actualNode.type] || '';
20905 -1 },
20906 -1 tableCaptionText: descendantText.bind(null, 'caption'),
20907 -1 figureText: descendantText.bind(null, 'figcaption'),
20908 -1 fieldsetLegendText: descendantText.bind(null, 'legend'),
20909 -1 altText: attrText.bind(null, 'alt'),
20910 -1 tableSummaryText: attrText.bind(null, 'summary'),
20911 -1 titleText: function titleText(virtualNode, context) {
20912 -1 return text.titleText(virtualNode, context);
20913 -1 },
20914 -1 subtreeText: function subtreeText(virtualNode, context) {
20915 -1 return text.subtreeText(virtualNode, context);
20916 -1 },
20917 -1 labelText: function labelText(virtualNode, context) {
20918 -1 return text.labelText(virtualNode, context);
20919 -1 },
20920 -1 singleSpace: function singleSpace() {
20921 -1 return ' ';
20922 -1 }
20923 -1 };
20924 -1 function attrText(attr, _ref38) {
20925 -1 var actualNode = _ref38.actualNode;
20926 -1 return actualNode.getAttribute(attr) || '';
-1 33263 }, {
-1 33264 id: 'region',
-1 33265 evaluate: 'region-evaluate'
-1 33266 }, {
-1 33267 id: 'skip-link',
-1 33268 evaluate: 'skip-link-evaluate'
-1 33269 }, {
-1 33270 id: 'unique-frame-title',
-1 33271 evaluate: 'unique-frame-title-evaluate',
-1 33272 after: 'unique-frame-title-after'
-1 33273 }, {
-1 33274 id: 'duplicate-id-active',
-1 33275 evaluate: 'duplicate-id-evaluate',
-1 33276 after: 'duplicate-id-after'
-1 33277 }, {
-1 33278 id: 'duplicate-id-aria',
-1 33279 evaluate: 'duplicate-id-evaluate',
-1 33280 after: 'duplicate-id-after'
-1 33281 }, {
-1 33282 id: 'duplicate-id',
-1 33283 evaluate: 'duplicate-id-evaluate',
-1 33284 after: 'duplicate-id-after'
-1 33285 }, {
-1 33286 id: 'aria-label',
-1 33287 evaluate: 'aria-label-evaluate'
-1 33288 }, {
-1 33289 id: 'aria-labelledby',
-1 33290 evaluate: 'aria-labelledby-evaluate'
-1 33291 }, {
-1 33292 id: 'avoid-inline-spacing',
-1 33293 evaluate: 'avoid-inline-spacing-evaluate',
-1 33294 options: {
-1 33295 cssProperties: [ 'line-height', 'letter-spacing', 'word-spacing' ]
20927 33296 }
20928 -1 function descendantText(nodeName, _ref39, context) {
20929 -1 var actualNode = _ref39.actualNode;
20930 -1 nodeName = nodeName.toLowerCase();
20931 -1 var nodeNames = [ nodeName, actualNode.nodeName.toLowerCase() ].join(',');
20932 -1 var candidate = actualNode.querySelector(nodeNames);
20933 -1 if (!candidate || candidate.nodeName.toLowerCase() !== nodeName) {
20934 -1 return '';
20935 -1 }
20936 -1 return text.accessibleText(candidate, context);
-1 33297 }, {
-1 33298 id: 'button-has-visible-text',
-1 33299 evaluate: 'has-text-content-evaluate'
-1 33300 }, {
-1 33301 id: 'doc-has-title',
-1 33302 evaluate: 'doc-has-title-evaluate'
-1 33303 }, {
-1 33304 id: 'exists',
-1 33305 evaluate: 'exists-evaluate'
-1 33306 }, {
-1 33307 id: 'has-alt',
-1 33308 evaluate: 'has-alt-evaluate'
-1 33309 }, {
-1 33310 id: 'has-visible-text',
-1 33311 evaluate: 'has-text-content-evaluate'
-1 33312 }, {
-1 33313 id: 'is-on-screen',
-1 33314 evaluate: 'is-on-screen-evaluate'
-1 33315 }, {
-1 33316 id: 'non-empty-alt',
-1 33317 evaluate: 'attr-non-space-content-evaluate',
-1 33318 options: {
-1 33319 attribute: 'alt'
20937 33320 }
20938 -1 text.sanitize = function(str) {
20939 -1 'use strict';
20940 -1 return str.replace(/\r\n/g, '\n').replace(/\u00A0/g, ' ').replace(/[\s]{2,}/g, ' ').trim();
20941 -1 };
20942 -1 text.subtreeText = function subtreeText(virtualNode) {
20943 -1 var context = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
20944 -1 var alreadyProcessed = text.accessibleTextVirtual.alreadyProcessed;
20945 -1 context.startNode = context.startNode || virtualNode;
20946 -1 var strict = context.strict;
20947 -1 if (alreadyProcessed(virtualNode, context) || !aria.namedFromContents(virtualNode, {
20948 -1 strict: strict
20949 -1 })) {
20950 -1 return '';
20951 -1 }
20952 -1 return aria.getOwnedVirtual(virtualNode).reduce(function(contentText, child) {
20953 -1 return appendAccessibleText(contentText, child, context);
20954 -1 }, '');
20955 -1 };
20956 -1 var phrasingElements = [ 'A', 'EM', 'STRONG', 'SMALL', 'MARK', 'ABBR', 'DFN', 'I', 'B', 'S', 'U', 'CODE', 'VAR', 'SAMP', 'KBD', 'SUP', 'SUB', 'Q', 'CITE', 'SPAN', 'BDO', 'BDI', 'WBR', 'INS', 'DEL', 'MAP', 'AREA', 'NOSCRIPT', 'RUBY', 'BUTTON', 'LABEL', 'OUTPUT', 'DATALIST', 'KEYGEN', 'PROGRESS', 'COMMAND', 'CANVAS', 'TIME', 'METER', '#TEXT' ];
20957 -1 function appendAccessibleText(contentText, virtualNode, context) {
20958 -1 var nodeName = virtualNode.actualNode.nodeName.toUpperCase();
20959 -1 var contentTextAdd = text.accessibleTextVirtual(virtualNode, context);
20960 -1 if (!contentTextAdd) {
20961 -1 return contentText;
20962 -1 }
20963 -1 if (!phrasingElements.includes(nodeName)) {
20964 -1 if (contentTextAdd[0] !== ' ') {
20965 -1 contentTextAdd += ' ';
20966 -1 }
20967 -1 if (contentText && contentText[contentText.length - 1] !== ' ') {
20968 -1 contentTextAdd = ' ' + contentTextAdd;
-1 33321 }, {
-1 33322 id: 'non-empty-if-present',
-1 33323 evaluate: 'non-empty-if-present-evaluate'
-1 33324 }, {
-1 33325 id: 'non-empty-title',
-1 33326 evaluate: 'attr-non-space-content-evaluate',
-1 33327 options: {
-1 33328 attribute: 'title'
-1 33329 }
-1 33330 }, {
-1 33331 id: 'non-empty-value',
-1 33332 evaluate: 'attr-non-space-content-evaluate',
-1 33333 options: {
-1 33334 attribute: 'value'
-1 33335 }
-1 33336 }, {
-1 33337 id: 'role-none',
-1 33338 evaluate: 'matches-definition-evaluate',
-1 33339 options: {
-1 33340 matcher: {
-1 33341 attributes: {
-1 33342 role: 'none'
20969 33343 }
20970 33344 }
20971 -1 return contentText + contentTextAdd;
20972 33345 }
20973 -1 var alwaysTitleElements = [ 'button', 'iframe', 'a[href]', {
20974 -1 nodeName: 'input',
20975 -1 properties: {
20976 -1 type: 'button'
20977 -1 }
20978 -1 } ];
20979 -1 text.titleText = function titleText(node) {
20980 -1 node = node.actualNode || node;
20981 -1 if (node.nodeType !== 1 || !node.hasAttribute('title')) {
20982 -1 return '';
20983 -1 }
20984 -1 if (!axe.commons.matches(node, alwaysTitleElements) && [ 'none', 'presentation' ].includes(aria.getRole(node))) {
20985 -1 return '';
20986 -1 }
20987 -1 return node.getAttribute('title');
20988 -1 };
20989 -1 text.hasUnicode = function hasUnicode(str, options) {
20990 -1 var emoji = options.emoji, nonBmp = options.nonBmp, punctuations = options.punctuations;
20991 -1 if (emoji) {
20992 -1 return axe.imports.emojiRegexText().test(str);
20993 -1 }
20994 -1 if (nonBmp) {
20995 -1 return getUnicodeNonBmpRegExp().test(str);
20996 -1 }
20997 -1 if (punctuations) {
20998 -1 return getPunctuationRegExp().test(str);
20999 -1 }
21000 -1 return false;
21001 -1 };
21002 -1 text.removeUnicode = function removeUnicode(str, options) {
21003 -1 var emoji = options.emoji, nonBmp = options.nonBmp, punctuations = options.punctuations;
21004 -1 if (emoji) {
21005 -1 str = str.replace(axe.imports.emojiRegexText(), '');
21006 -1 }
21007 -1 if (nonBmp) {
21008 -1 str = str.replace(getUnicodeNonBmpRegExp(), '');
21009 -1 }
21010 -1 if (punctuations) {
21011 -1 str = str.replace(getPunctuationRegExp(), '');
-1 33346 }, {
-1 33347 id: 'role-presentation',
-1 33348 evaluate: 'matches-definition-evaluate',
-1 33349 options: {
-1 33350 matcher: {
-1 33351 attributes: {
-1 33352 role: 'presentation'
-1 33353 }
21012 33354 }
21013 -1 return str;
21014 -1 };
21015 -1 function getUnicodeNonBmpRegExp() {
21016 -1 return new RegExp('[' + 'ᴀ-ᵿ' + 'ᶀ-ᶿ' + '᷀-᷿' + '₠-' + '⃐-' + '℀-⅏' + '⅐-' + '←-⇿' + '∀-⋿' + '⌀-⏿' + '␀-' + '⑀-' + '①-⓿' + '─-╿' + '▀-▟' + '■-◿' + '☀-⛿' + '✀-➿' + ']');
21017 33355 }
21018 -1 function getPunctuationRegExp() {
21019 -1 return /[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,\-.\/:;<=>?@\[\]^_`{|}~]/g;
-1 33356 }, {
-1 33357 id: 'svg-non-empty-title',
-1 33358 evaluate: 'svg-non-empty-title-evaluate'
-1 33359 }, {
-1 33360 id: 'caption-faked',
-1 33361 evaluate: 'caption-faked-evaluate'
-1 33362 }, {
-1 33363 id: 'html5-scope',
-1 33364 evaluate: 'html5-scope-evaluate'
-1 33365 }, {
-1 33366 id: 'same-caption-summary',
-1 33367 evaluate: 'same-caption-summary-evaluate'
-1 33368 }, {
-1 33369 id: 'scope-value',
-1 33370 evaluate: 'scope-value-evaluate',
-1 33371 options: {
-1 33372 values: [ 'row', 'col', 'rowgroup', 'colgroup' ]
21020 33373 }
21021 -1 text.unsupported = {
21022 -1 accessibleNameFromFieldValue: [ 'combobox', 'listbox', 'progressbar' ]
21023 -1 };
21024 -1 text.visibleVirtual = function(element, screenReader, noRecursing) {
21025 -1 var result = element.children.map(function(child) {
21026 -1 if (child.actualNode.nodeType === 3) {
21027 -1 var nodeValue = child.actualNode.nodeValue;
21028 -1 if (nodeValue && dom.isVisible(element.actualNode, screenReader)) {
21029 -1 return nodeValue;
21030 -1 }
21031 -1 } else if (!noRecursing) {
21032 -1 return text.visibleVirtual(child, screenReader);
21033 -1 }
21034 -1 }).join('');
21035 -1 return text.sanitize(result);
21036 -1 };
21037 -1 text.visible = function(element, screenReader, noRecursing) {
21038 -1 element = axe.utils.getNodeFromTree(axe._tree[0], element);
21039 -1 return text.visibleVirtual(element, screenReader, noRecursing);
21040 -1 };
21041 -1 return commons;
21042 -1 }()
-1 33374 }, {
-1 33375 id: 'td-has-header',
-1 33376 evaluate: 'td-has-header-evaluate'
-1 33377 }, {
-1 33378 id: 'td-headers-attr',
-1 33379 evaluate: 'td-headers-attr-evaluate'
-1 33380 }, {
-1 33381 id: 'th-has-data-cells',
-1 33382 evaluate: 'th-has-data-cells-evaluate'
-1 33383 }, {
-1 33384 id: 'hidden-content',
-1 33385 evaluate: 'hidden-content-evaluate'
-1 33386 } ]
21043 33387 });
21044 33388 })(typeof window === 'object' ? window : this);
21045 33389 },{}],14:[function(require,module,exports){
@@ -22683,7 +35027,7 @@ var ex = function(fn, args, _this) {
22683 35027 };
22684 35028
22685 35029 var implementations = {
22686 -1 'aria-api (0.3.0)': function(el) {
-1 35030 'aria-api (0.4.0)': function(el) {
22687 35031 return {
22688 35032 name: ex(ariaApi.getName, [el]),
22689 35033 desc: ex(ariaApi.getDescription, [el]),
@@ -22691,14 +35035,12 @@ var implementations = {
22691 35035 };
22692 35036 },
22693 35037 'accdc (2.49)': accdc.calcNames,
22694 -1 'axe (3.4.3)': function(el) {
-1 35038 'axe (4.0.2)': function(el) {
-1 35039 axe._tree = axe.utils.getFlattenedTree(document.body);
22695 35040 return {
22696 -1 name: ex(function(el) {
22697 -1 axe._tree = axe.utils.getFlattenedTree(document.body);
22698 -1 return axe.commons.text.accessibleText(el);
22699 -1 }, [el]),
-1 35041 name: ex(axe.commons.text.accessibleText, [el]),
22700 35042 desc: '-',
22701 -1 role: el.getAttribute('role') || ex(axe.commons.aria.implicitRole, [el]),
-1 35043 role: ex(axe.commons.aria.getRole, [el]),
22702 35044 };
22703 35045 },
22704 35046 'axs (2.12.0)': function(el) {
diff --git a/fuzz.js b/fuzz.js
@@ -271,6 +271,7 @@ document.addEventListener('DOMContentLoaded', function() {
271 271 },{"./fuzzer":1,"./html":2,"aria-api/instrumented.js":4,"w3c-alternative-text-computation":10}],4:[function(require,module,exports){
272 272 var query = require('./lib/query.js');
273 273 var name = require('./lib/name-inst.js');
-1 274 var atree = require('./lib/atree.js');
274 275
275 276 module.exports = {
276 277 getRole: query.getRole,
@@ -282,9 +283,12 @@ module.exports = {
282 283 querySelector: query.querySelector,
283 284 querySelectorAll: query.querySelectorAll,
284 285 closest: query.closest,
-1 286
-1 287 getParentNode: atree.getParentNode,
-1 288 getChildNodes: atree.getChildNodes,
285 289 };
286 290
287 -1 },{"./lib/name-inst.js":8,"./lib/query.js":9}],5:[function(require,module,exports){
-1 291 },{"./lib/atree.js":5,"./lib/name-inst.js":8,"./lib/query.js":9}],5:[function(require,module,exports){
288 292 var attrs = require('./attrs');
289 293
290 294 var _getOwner = function(node) {
@@ -386,21 +390,21 @@ var getRole = function(el, candidates) {
386 390 }
387 391 for (var role in constants.roles) {
388 392 var selector = (constants.roles[role].selectors || []).join(',');
389 -1 if (selector && (!candidates || candidates.indexOf(role) !== -1) && el.matches(selector)) {
-1 393 if (selector && (!candidates || candidates.includes(role)) && el.matches(selector)) {
390 394 return role;
391 395 }
392 396 }
393 397
394 398 if (!candidates ||
395 -1 candidates.indexOf('banner') !== -1 ||
396 -1 candidates.indexOf('contentinfo') !== -1) {
397 -1 var scoped = el.matches(constants.scoped);
398 -1
399 -1 if (el.matches('header') && !scoped) {
400 -1 return 'banner';
401 -1 }
402 -1 if (el.matches('footer') && !scoped) {
403 -1 return 'contentinfo';
-1 399 candidates.includes('banner') ||
-1 400 candidates.includes('contentinfo')) {
-1 401 if (!el.matches(constants.scoped)) {
-1 402 if (el.matches('header')) {
-1 403 return 'banner';
-1 404 }
-1 405 if (el.matches('footer')) {
-1 406 return 'contentinfo';
-1 407 }
404 408 }
405 409 }
406 410 };
@@ -409,8 +413,8 @@ var hasRole = function(el, roles) {
409 413 var candidates = [].concat.apply([], roles.map(function(role) {
410 414 return (constants.roles[role] || {}).subRoles || [role];
411 415 }));
412 -1 actual = getRole(el, candidates);
413 -1 return candidates.indexOf(actual) !== -1;
-1 416 var actual = getRole(el, candidates);
-1 417 return candidates.includes(actual);
414 418 };
415 419
416 420 var getAttribute = function(el, key) {
@@ -444,7 +448,7 @@ var getAttribute = function(el, key) {
444 448 } else if (type === 'id-list') {
445 449 return raw.split(/\s+/);
446 450 } else if (type === 'integer') {
447 -1 return parseInt(raw);
-1 451 return parseInt(raw, 10);
448 452 } else if (type === 'number') {
449 453 return parseFloat(raw);
450 454 } else if (type === 'token-list') {
@@ -470,10 +474,12 @@ var getAttribute = function(el, key) {
470 474 return el[constants.attributeWeakMapping[key]];
471 475 }
472 476
473 -1 var role = getRole(el);
474 -1 var defaults = (constants.roles[role] || {}).defaults;
475 -1 if (defaults && defaults.hasOwnProperty(key)) {
476 -1 return defaults[key];
-1 477 if (key in constants.attrsWithDefaults) {
-1 478 var role = getRole(el);
-1 479 var defaults = (constants.roles[role] || {}).defaults;
-1 480 if (defaults && defaults.hasOwnProperty(key)) {
-1 481 return defaults[key];
-1 482 }
477 483 }
478 484
479 485 if (type === 'bool' || type === 'tristate') {
@@ -1009,7 +1015,7 @@ var getSubRoles = function(role) {
1009 1015
1010 1016 descendents.forEach(function(list) {
1011 1017 list.forEach(function(r) {
1012 -1 if (result.indexOf(r) === -1) {
-1 1018 if (!result.includes(r)) {
1013 1019 result.push(r);
1014 1020 }
1015 1021 });
@@ -1018,8 +1024,15 @@ var getSubRoles = function(role) {
1018 1024 return result;
1019 1025 };
1020 1026
-1 1027 exports.attrsWithDefaults = [];
-1 1028
1021 1029 for (var role in exports.roles) {
1022 1030 exports.roles[role].subRoles = getSubRoles(role);
-1 1031 for (var key in exports.roles[role].defaults) {
-1 1032 if (!exports.attrsWithDefaults.includes(key)) {
-1 1033 exports.attrsWithDefaults.push(key);
-1 1034 }
-1 1035 }
1023 1036 }
1024 1037 exports.roles['none'] = exports.roles['none'] || {};
1025 1038 exports.roles['none'].subRoles = ['none', 'presentation'];
@@ -1050,22 +1063,21 @@ exports.labelable = [
1050 1063 ];
1051 1064
1052 1065 },{}],8:[function(require,module,exports){
1053 -1 var cov_1pyj5qc77c=function(){var path="node_modules/aria-api/lib/name.js";var hash="aa6dae0aec5fb24c7c531ceeaab7ca593fe6392e";var global=new Function("return this")();var gcv="__coverage__";var coverageData={path:"/home/local/MPIB-BERLIN/bengfort/code/babelacc/node_modules/aria-api/lib/name.js",statementMap:{"0":{start:{line:1,column:16},end:{line:1,column:41}},"1":{start:{line:2,column:12},end:{line:2,column:33}},"2":{start:{line:3,column:12},end:{line:3,column:33}},"3":{start:{line:5,column:23},end:{line:21,column:1}},"4":{start:{line:6,column:14},end:{line:6,column:53}},"5":{start:{line:7,column:11},end:{line:7,column:45}},"6":{start:{line:8,column:14},end:{line:8,column:54}},"7":{start:{line:9,column:1},end:{line:11,column:2}},"8":{start:{line:10,column:2},end:{line:10,column:12}},"9":{start:{line:12,column:1},end:{line:20,column:2}},"10":{start:{line:13,column:2},end:{line:13,column:12}},"11":{start:{line:15,column:2},end:{line:19,column:3}},"12":{start:{line:16,column:3},end:{line:16,column:27}},"13":{start:{line:18,column:3},end:{line:18,column:39}},"14":{start:{line:23,column:17},end:{line:45,column:1}},"15":{start:{line:24,column:16},end:{line:24,column:41}},"16":{start:{line:26,column:11},end:{line:26,column:13}},"17":{start:{line:27,column:1},end:{line:42,column:2}},"18":{start:{line:27,column:14},end:{line:27,column:15}},"19":{start:{line:28,column:13},end:{line:28,column:24}},"20":{start:{line:29,column:2},end:{line:41,column:3}},"21":{start:{line:30,column:3},end:{line:30,column:27}},"22":{start:{line:31,column:9},end:{line:41,column:3}},"23":{start:{line:32,column:3},end:{line:40,column:4}},"24":{start:{line:33,column:4},end:{line:33,column:16}},"25":{start:{line:34,column:10},end:{line:40,column:4}},"26":{start:{line:37,column:4},end:{line:37,column:40}},"27":{start:{line:39,column:4},end:{line:39,column:52}},"28":{start:{line:44,column:1},end:{line:44,column:12}},"29":{start:{line:47,column:27},end:{line:50,column:1}},"30":{start:{line:48,column:12},end:{line:48,column:29}},"31":{start:{line:49,column:1},end:{line:49,column:55}},"32":{start:{line:52,column:18},end:{line:55,column:1}},"33":{start:{line:53,column:16},end:{line:53,column:45}},"34":{start:{line:54,column:1},end:{line:54,column:29}},"35":{start:{line:58,column:20},end:{line:71,column:1}},"36":{start:{line:59,column:14},end:{line:59,column:16}},"37":{start:{line:60,column:17},end:{line:60,column:46}},"38":{start:{line:61,column:1},end:{line:69,column:4}},"39":{start:{line:62,column:2},end:{line:68,column:3}},"40":{start:{line:63,column:3},end:{line:65,column:4}},"41":{start:{line:64,column:4},end:{line:64,column:22}},"42":{start:{line:66,column:9},end:{line:68,column:3}},"43":{start:{line:67,column:3},end:{line:67,column:21}},"44":{start:{line:70,column:1},end:{line:70,column:15}},"45":{start:{line:73,column:30},end:{line:77,column:1}},"46":{start:{line:74,column:13},end:{line:74,column:46}},"47":{start:{line:75,column:17},end:{line:75,column:34}},"48":{start:{line:76,column:1},end:{line:76,column:49}},"49":{start:{line:79,column:14},end:{line:181,column:1}},"50":{start:{line:80,column:11},end:{line:80,column:13}},"51":{start:{line:82,column:1},end:{line:82,column:25}},"52":{start:{line:83,column:1},end:{line:89,column:2}},"53":{start:{line:84,column:2},end:{line:86,column:3}},"54":{start:{line:85,column:3},end:{line:85,column:13}},"55":{start:{line:88,column:2},end:{line:88,column:19}},"56":{start:{line:95,column:1},end:{line:102,column:2}},"57":{start:{line:96,column:12},end:{line:96,column:59}},"58":{start:{line:97,column:16},end:{line:100,column:4}},"59":{start:{line:98,column:15},end:{line:98,column:42}},"60":{start:{line:99,column:3},end:{line:99,column:59}},"61":{start:{line:101,column:2},end:{line:101,column:26}},"62":{start:{line:105,column:1},end:{line:108,column:2}},"63":{start:{line:107,column:2},end:{line:107,column:38}},"64":{start:{line:111,column:1},end:{line:116,column:2}},"65":{start:{line:112,column:16},end:{line:114,column:4}},"66":{start:{line:113,column:3},end:{line:113,column:40}},"67":{start:{line:115,column:2},end:{line:115,column:26}},"68":{start:{line:117,column:1},end:{line:119,column:2}},"69":{start:{line:118,column:2},end:{line:118,column:29}},"70":{start:{line:120,column:1},end:{line:122,column:2}},"71":{start:{line:121,column:2},end:{line:121,column:21}},"72":{start:{line:123,column:1},end:{line:125,column:2}},"73":{start:{line:124,column:2},end:{line:124,column:17}},"74":{start:{line:126,column:1},end:{line:135,column:2}},"75":{start:{line:127,column:2},end:{line:134,column:3}},"76":{start:{line:128,column:3},end:{line:133,column:4}},"77":{start:{line:129,column:21},end:{line:129,column:77}},"78":{start:{line:130,column:4},end:{line:132,column:5}},"79":{start:{line:131,column:5},end:{line:131,column:46}},"80":{start:{line:138,column:1},end:{line:153,column:2}},"81":{start:{line:139,column:2},end:{line:152,column:3}},"82":{start:{line:140,column:3},end:{line:151,column:4}},"83":{start:{line:141,column:4},end:{line:141,column:37}},"84":{start:{line:142,column:10},end:{line:151,column:4}},"85":{start:{line:143,column:19},end:{line:143,column:92}},"86":{start:{line:144,column:4},end:{line:148,column:5}},"87":{start:{line:145,column:5},end:{line:145,column:49}},"88":{start:{line:147,column:5},end:{line:147,column:26}},"89":{start:{line:149,column:10},end:{line:151,column:4}},"90":{start:{line:150,column:4},end:{line:150,column:103}},"91":{start:{line:157,column:1},end:{line:159,column:2}},"92":{start:{line:158,column:2},end:{line:158,column:32}},"93":{start:{line:161,column:1},end:{line:167,column:2}},"94":{start:{line:162,column:2},end:{line:166,column:3}},"95":{start:{line:163,column:3},end:{line:165,column:4}},"96":{start:{line:164,column:4},end:{line:164,column:43}},"97":{start:{line:174,column:1},end:{line:176,column:2}},"98":{start:{line:175,column:2},end:{line:175,column:23}},"99":{start:{line:178,column:14},end:{line:178,column:45}},"100":{start:{line:179,column:13},end:{line:179,column:43}},"101":{start:{line:180,column:1},end:{line:180,column:29}},"102":{start:{line:183,column:21},end:{line:185,column:1}},"103":{start:{line:184,column:1},end:{line:184,column:48}},"104":{start:{line:187,column:21},end:{line:210,column:1}},"105":{start:{line:188,column:11},end:{line:188,column:13}},"106":{start:{line:190,column:1},end:{line:201,column:2}},"107":{start:{line:191,column:12},end:{line:191,column:60}},"108":{start:{line:192,column:16},end:{line:195,column:4}},"109":{start:{line:193,column:15},end:{line:193,column:42}},"110":{start:{line:194,column:3},end:{line:194,column:44}},"111":{start:{line:196,column:2},end:{line:196,column:26}},"112":{start:{line:197,column:8},end:{line:201,column:2}},"113":{start:{line:198,column:2},end:{line:198,column:17}},"114":{start:{line:199,column:8},end:{line:201,column:2}},"115":{start:{line:200,column:2},end:{line:200,column:23}},"116":{start:{line:203,column:1},end:{line:203,column:47}},"117":{start:{line:205,column:1},end:{line:207,column:2}},"118":{start:{line:206,column:2},end:{line:206,column:11}},"119":{start:{line:209,column:1},end:{line:209,column:12}},"120":{start:{line:212,column:0},end:{line:215,column:2}}},fnMap:{"0":{name:"(anonymous_0)",decl:{start:{line:5,column:23},end:{line:5,column:24}},loc:{start:{line:5,column:48},end:{line:21,column:1}},line:5},"1":{name:"(anonymous_1)",decl:{start:{line:23,column:17},end:{line:23,column:18}},loc:{start:{line:23,column:41},end:{line:45,column:1}},line:23},"2":{name:"(anonymous_2)",decl:{start:{line:47,column:27},end:{line:47,column:28}},loc:{start:{line:47,column:40},end:{line:50,column:1}},line:47},"3":{name:"(anonymous_3)",decl:{start:{line:52,column:18},end:{line:52,column:19}},loc:{start:{line:52,column:31},end:{line:55,column:1}},line:52},"4":{name:"(anonymous_4)",decl:{start:{line:58,column:20},end:{line:58,column:21}},loc:{start:{line:58,column:38},end:{line:71,column:1}},line:58},"5":{name:"(anonymous_5)",decl:{start:{line:61,column:44},end:{line:61,column:45}},loc:{start:{line:61,column:59},end:{line:69,column:2}},line:61},"6":{name:"(anonymous_6)",decl:{start:{line:73,column:30},end:{line:73,column:31}},loc:{start:{line:73,column:43},end:{line:77,column:1}},line:73},"7":{name:"(anonymous_7)",decl:{start:{line:79,column:14},end:{line:79,column:15}},loc:{start:{line:79,column:64},end:{line:181,column:1}},line:79},"8":{name:"(anonymous_8)",decl:{start:{line:97,column:24},end:{line:97,column:25}},loc:{start:{line:97,column:37},end:{line:100,column:3}},line:97},"9":{name:"(anonymous_9)",decl:{start:{line:112,column:38},end:{line:112,column:39}},loc:{start:{line:112,column:54},end:{line:114,column:3}},line:112},"10":{name:"(anonymous_10)",decl:{start:{line:183,column:21},end:{line:183,column:22}},loc:{start:{line:183,column:34},end:{line:185,column:1}},line:183},"11":{name:"(anonymous_11)",decl:{start:{line:187,column:21},end:{line:187,column:22}},loc:{start:{line:187,column:34},end:{line:210,column:1}},line:187},"12":{name:"(anonymous_12)",decl:{start:{line:192,column:24},end:{line:192,column:25}},loc:{start:{line:192,column:37},end:{line:195,column:3}},line:192}},branchMap:{"0":{loc:{start:{line:9,column:1},end:{line:11,column:2}},type:"if",locations:[{start:{line:9,column:1},end:{line:11,column:2}},{start:{line:9,column:1},end:{line:11,column:2}}],line:9},"1":{loc:{start:{line:12,column:1},end:{line:20,column:2}},type:"if",locations:[{start:{line:12,column:1},end:{line:20,column:2}},{start:{line:12,column:1},end:{line:20,column:2}}],line:12},"2":{loc:{start:{line:15,column:2},end:{line:19,column:3}},type:"if",locations:[{start:{line:15,column:2},end:{line:19,column:3}},{start:{line:15,column:2},end:{line:19,column:3}}],line:15},"3":{loc:{start:{line:29,column:2},end:{line:41,column:3}},type:"if",locations:[{start:{line:29,column:2},end:{line:41,column:3}},{start:{line:29,column:2},end:{line:41,column:3}}],line:29},"4":{loc:{start:{line:31,column:9},end:{line:41,column:3}},type:"if",locations:[{start:{line:31,column:9},end:{line:41,column:3}},{start:{line:31,column:9},end:{line:41,column:3}}],line:31},"5":{loc:{start:{line:32,column:3},end:{line:40,column:4}},type:"if",locations:[{start:{line:32,column:3},end:{line:40,column:4}},{start:{line:32,column:3},end:{line:40,column:4}}],line:32},"6":{loc:{start:{line:34,column:10},end:{line:40,column:4}},type:"if",locations:[{start:{line:34,column:10},end:{line:40,column:4}},{start:{line:34,column:10},end:{line:40,column:4}}],line:34},"7":{loc:{start:{line:34,column:14},end:{line:36,column:41}},type:"binary-expr",locations:[{start:{line:34,column:14},end:{line:34,column:77}},{start:{line:35,column:5},end:{line:35,column:43}},{start:{line:36,column:5},end:{line:36,column:41}}],line:34},"8":{loc:{start:{line:49,column:9},end:{line:49,column:36}},type:"binary-expr",locations:[{start:{line:49,column:9},end:{line:49,column:30}},{start:{line:49,column:34},end:{line:49,column:36}}],line:49},"9":{loc:{start:{line:62,column:2},end:{line:68,column:3}},type:"if",locations:[{start:{line:62,column:2},end:{line:68,column:3}},{start:{line:62,column:2},end:{line:68,column:3}}],line:62},"10":{loc:{start:{line:63,column:3},end:{line:65,column:4}},type:"if",locations:[{start:{line:63,column:3},end:{line:65,column:4}},{start:{line:63,column:3},end:{line:65,column:4}}],line:63},"11":{loc:{start:{line:63,column:7},end:{line:63,column:60}},type:"binary-expr",locations:[{start:{line:63,column:7},end:{line:63,column:17}},{start:{line:63,column:21},end:{line:63,column:60}}],line:63},"12":{loc:{start:{line:66,column:9},end:{line:68,column:3}},type:"if",locations:[{start:{line:66,column:9},end:{line:68,column:3}},{start:{line:66,column:9},end:{line:68,column:3}}],line:66},"13":{loc:{start:{line:76,column:8},end:{line:76,column:48}},type:"binary-expr",locations:[{start:{line:76,column:8},end:{line:76,column:13}},{start:{line:76,column:17},end:{line:76,column:48}}],line:76},"14":{loc:{start:{line:82,column:11},end:{line:82,column:24}},type:"binary-expr",locations:[{start:{line:82,column:11},end:{line:82,column:18}},{start:{line:82,column:22},end:{line:82,column:24}}],line:82},"15":{loc:{start:{line:83,column:1},end:{line:89,column:2}},type:"if",locations:[{start:{line:83,column:1},end:{line:89,column:2}},{start:{line:83,column:1},end:{line:89,column:2}}],line:83},"16":{loc:{start:{line:84,column:2},end:{line:86,column:3}},type:"if",locations:[{start:{line:84,column:2},end:{line:86,column:3}},{start:{line:84,column:2},end:{line:86,column:3}}],line:84},"17":{loc:{start:{line:95,column:1},end:{line:102,column:2}},type:"if",locations:[{start:{line:95,column:1},end:{line:102,column:2}},{start:{line:95,column:1},end:{line:102,column:2}}],line:95},"18":{loc:{start:{line:95,column:5},end:{line:95,column:50}},type:"binary-expr",locations:[{start:{line:95,column:5},end:{line:95,column:15}},{start:{line:95,column:19},end:{line:95,column:50}}],line:95},"19":{loc:{start:{line:99,column:10},end:{line:99,column:58}},type:"cond-expr",locations:[{start:{line:99,column:18},end:{line:99,column:53}},{start:{line:99,column:56},end:{line:99,column:58}}],line:99},"20":{loc:{start:{line:105,column:1},end:{line:108,column:2}},type:"if",locations:[{start:{line:105,column:1},end:{line:108,column:2}},{start:{line:105,column:1},end:{line:108,column:2}}],line:105},"21":{loc:{start:{line:105,column:5},end:{line:105,column:46}},type:"binary-expr",locations:[{start:{line:105,column:5},end:{line:105,column:16}},{start:{line:105,column:20},end:{line:105,column:46}}],line:105},"22":{loc:{start:{line:111,column:1},end:{line:116,column:2}},type:"if",locations:[{start:{line:111,column:1},end:{line:116,column:2}},{start:{line:111,column:1},end:{line:116,column:2}}],line:111},"23":{loc:{start:{line:111,column:5},end:{line:111,column:49}},type:"binary-expr",locations:[{start:{line:111,column:5},end:{line:111,column:16}},{start:{line:111,column:20},end:{line:111,column:30}},{start:{line:111,column:34},end:{line:111,column:49}}],line:111},"24":{loc:{start:{line:117,column:1},end:{line:119,column:2}},type:"if",locations:[{start:{line:117,column:1},end:{line:119,column:2}},{start:{line:117,column:1},end:{line:119,column:2}}],line:117},"25":{loc:{start:{line:118,column:8},end:{line:118,column:28}},type:"binary-expr",locations:[{start:{line:118,column:8},end:{line:118,column:22}},{start:{line:118,column:26},end:{line:118,column:28}}],line:118},"26":{loc:{start:{line:120,column:1},end:{line:122,column:2}},type:"if",locations:[{start:{line:120,column:1},end:{line:122,column:2}},{start:{line:120,column:1},end:{line:122,column:2}}],line:120},"27":{loc:{start:{line:121,column:8},end:{line:121,column:20}},type:"binary-expr",locations:[{start:{line:121,column:8},end:{line:121,column:14}},{start:{line:121,column:18},end:{line:121,column:20}}],line:121},"28":{loc:{start:{line:123,column:1},end:{line:125,column:2}},type:"if",locations:[{start:{line:123,column:1},end:{line:125,column:2}},{start:{line:123,column:1},end:{line:125,column:2}}],line:123},"29":{loc:{start:{line:123,column:5},end:{line:123,column:58}},type:"binary-expr",locations:[{start:{line:123,column:5},end:{line:123,column:16}},{start:{line:123,column:20},end:{line:123,column:46}},{start:{line:123,column:50},end:{line:123,column:58}}],line:123},"30":{loc:{start:{line:126,column:1},end:{line:135,column:2}},type:"if",locations:[{start:{line:126,column:1},end:{line:135,column:2}},{start:{line:126,column:1},end:{line:135,column:2}}],line:126},"31":{loc:{start:{line:128,column:3},end:{line:133,column:4}},type:"if",locations:[{start:{line:128,column:3},end:{line:133,column:4}},{start:{line:128,column:3},end:{line:133,column:4}}],line:128},"32":{loc:{start:{line:130,column:4},end:{line:132,column:5}},type:"if",locations:[{start:{line:130,column:4},end:{line:132,column:5}},{start:{line:130,column:4},end:{line:132,column:5}}],line:130},"33":{loc:{start:{line:138,column:1},end:{line:153,column:2}},type:"if",locations:[{start:{line:138,column:1},end:{line:153,column:2}},{start:{line:138,column:1},end:{line:153,column:2}}],line:138},"34":{loc:{start:{line:138,column:5},end:{line:138,column:93}},type:"binary-expr",locations:[{start:{line:138,column:5},end:{line:138,column:16}},{start:{line:138,column:21},end:{line:138,column:30}},{start:{line:138,column:34},end:{line:138,column:61}},{start:{line:138,column:65},end:{line:138,column:92}}],line:138},"35":{loc:{start:{line:139,column:2},end:{line:152,column:3}},type:"if",locations:[{start:{line:139,column:2},end:{line:152,column:3}},{start:{line:139,column:2},end:{line:152,column:3}}],line:139},"36":{loc:{start:{line:140,column:3},end:{line:151,column:4}},type:"if",locations:[{start:{line:140,column:3},end:{line:151,column:4}},{start:{line:140,column:3},end:{line:151,column:4}}],line:140},"37":{loc:{start:{line:141,column:10},end:{line:141,column:36}},type:"binary-expr",locations:[{start:{line:141,column:10},end:{line:141,column:18}},{start:{line:141,column:22},end:{line:141,column:36}}],line:141},"38":{loc:{start:{line:142,column:10},end:{line:151,column:4}},type:"if",locations:[{start:{line:142,column:10},end:{line:151,column:4}},{start:{line:142,column:10},end:{line:151,column:4}}],line:142},"39":{loc:{start:{line:143,column:19},end:{line:143,column:92}},type:"binary-expr",locations:[{start:{line:143,column:19},end:{line:143,column:55}},{start:{line:143,column:59},end:{line:143,column:92}}],line:143},"40":{loc:{start:{line:144,column:4},end:{line:148,column:5}},type:"if",locations:[{start:{line:144,column:4},end:{line:148,column:5}},{start:{line:144,column:4},end:{line:148,column:5}}],line:144},"41":{loc:{start:{line:147,column:11},end:{line:147,column:25}},type:"binary-expr",locations:[{start:{line:147,column:11},end:{line:147,column:19}},{start:{line:147,column:23},end:{line:147,column:25}}],line:147},"42":{loc:{start:{line:149,column:10},end:{line:151,column:4}},type:"if",locations:[{start:{line:149,column:10},end:{line:151,column:4}},{start:{line:149,column:10},end:{line:151,column:4}}],line:149},"43":{loc:{start:{line:150,column:16},end:{line:150,column:101}},type:"binary-expr",locations:[{start:{line:150,column:16},end:{line:150,column:51}},{start:{line:150,column:55},end:{line:150,column:89}},{start:{line:150,column:93},end:{line:150,column:101}}],line:150},"44":{loc:{start:{line:157,column:1},end:{line:159,column:2}},type:"if",locations:[{start:{line:157,column:1},end:{line:159,column:2}},{start:{line:157,column:1},end:{line:159,column:2}}],line:157},"45":{loc:{start:{line:157,column:5},end:{line:157,column:112}},type:"binary-expr",locations:[{start:{line:157,column:5},end:{line:157,column:16}},{start:{line:157,column:21},end:{line:157,column:30}},{start:{line:157,column:34},end:{line:157,column:58}},{start:{line:157,column:62},end:{line:157,column:81}},{start:{line:157,column:86},end:{line:157,column:112}}],line:157},"46":{loc:{start:{line:161,column:1},end:{line:167,column:2}},type:"if",locations:[{start:{line:161,column:1},end:{line:167,column:2}},{start:{line:161,column:1},end:{line:167,column:2}}],line:161},"47":{loc:{start:{line:163,column:3},end:{line:165,column:4}},type:"if",locations:[{start:{line:163,column:3},end:{line:165,column:4}},{start:{line:163,column:3},end:{line:165,column:4}}],line:163},"48":{loc:{start:{line:174,column:1},end:{line:176,column:2}},type:"if",locations:[{start:{line:174,column:1},end:{line:176,column:2}},{start:{line:174,column:1},end:{line:176,column:2}}],line:174},"49":{loc:{start:{line:174,column:5},end:{line:174,column:54}},type:"binary-expr",locations:[{start:{line:174,column:5},end:{line:174,column:16}},{start:{line:174,column:20},end:{line:174,column:54}}],line:174},"50":{loc:{start:{line:175,column:8},end:{line:175,column:22}},type:"binary-expr",locations:[{start:{line:175,column:8},end:{line:175,column:16}},{start:{line:175,column:20},end:{line:175,column:22}}],line:175},"51":{loc:{start:{line:190,column:1},end:{line:201,column:2}},type:"if",locations:[{start:{line:190,column:1},end:{line:201,column:2}},{start:{line:190,column:1},end:{line:201,column:2}}],line:190},"52":{loc:{start:{line:194,column:10},end:{line:194,column:43}},type:"cond-expr",locations:[{start:{line:194,column:18},end:{line:194,column:38}},{start:{line:194,column:41},end:{line:194,column:43}}],line:194},"53":{loc:{start:{line:197,column:8},end:{line:201,column:2}},type:"if",locations:[{start:{line:197,column:8},end:{line:201,column:2}},{start:{line:197,column:8},end:{line:201,column:2}}],line:197},"54":{loc:{start:{line:199,column:8},end:{line:201,column:2}},type:"if",locations:[{start:{line:199,column:8},end:{line:201,column:2}},{start:{line:199,column:8},end:{line:201,column:2}}],line:199},"55":{loc:{start:{line:203,column:8},end:{line:203,column:17}},type:"binary-expr",locations:[{start:{line:203,column:8},end:{line:203,column:11}},{start:{line:203,column:15},end:{line:203,column:17}}],line:203},"56":{loc:{start:{line:205,column:1},end:{line:207,column:2}},type:"if",locations:[{start:{line:205,column:1},end:{line:207,column:2}},{start:{line:205,column:1},end:{line:207,column:2}}],line:205}},s:{"0":0,"1":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0,"69":0,"70":0,"71":0,"72":0,"73":0,"74":0,"75":0,"76":0,"77":0,"78":0,"79":0,"80":0,"81":0,"82":0,"83":0,"84":0,"85":0,"86":0,"87":0,"88":0,"89":0,"90":0,"91":0,"92":0,"93":0,"94":0,"95":0,"96":0,"97":0,"98":0,"99":0,"100":0,"101":0,"102":0,"103":0,"104":0,"105":0,"106":0,"107":0,"108":0,"109":0,"110":0,"111":0,"112":0,"113":0,"114":0,"115":0,"116":0,"117":0,"118":0,"119":0,"120":0},f:{"0":0,"1":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0},b:{"0":[0,0],"1":[0,0],"2":[0,0],"3":[0,0],"4":[0,0],"5":[0,0],"6":[0,0],"7":[0,0,0],"8":[0,0],"9":[0,0],"10":[0,0],"11":[0,0],"12":[0,0],"13":[0,0],"14":[0,0],"15":[0,0],"16":[0,0],"17":[0,0],"18":[0,0],"19":[0,0],"20":[0,0],"21":[0,0],"22":[0,0],"23":[0,0,0],"24":[0,0],"25":[0,0],"26":[0,0],"27":[0,0],"28":[0,0],"29":[0,0,0],"30":[0,0],"31":[0,0],"32":[0,0],"33":[0,0],"34":[0,0,0,0],"35":[0,0],"36":[0,0],"37":[0,0],"38":[0,0],"39":[0,0],"40":[0,0],"41":[0,0],"42":[0,0],"43":[0,0,0],"44":[0,0],"45":[0,0,0,0,0],"46":[0,0],"47":[0,0],"48":[0,0],"49":[0,0],"50":[0,0],"51":[0,0],"52":[0,0],"53":[0,0],"54":[0,0],"55":[0,0],"56":[0,0]},_coverageSchema:"43e27e138ebf9cfc5966b082cf9a028302ed4184",hash:"aa6dae0aec5fb24c7c531ceeaab7ca593fe6392e"};var coverage=global[gcv]||(global[gcv]={});if(coverage[path]&&coverage[path].hash===hash){return coverage[path];}return coverage[path]=coverageData;}();var constants=(cov_1pyj5qc77c.s[0]++,require('./constants.js'));var atree=(cov_1pyj5qc77c.s[1]++,require('./atree.js'));var query=(cov_1pyj5qc77c.s[2]++,require('./query.js'));cov_1pyj5qc77c.s[3]++;var getPseudoContent=function(node,selector){cov_1pyj5qc77c.f[0]++;var styles=(cov_1pyj5qc77c.s[4]++,window.getComputedStyle(node,selector));var ret=(cov_1pyj5qc77c.s[5]++,styles.getPropertyValue('content'));var inline=(cov_1pyj5qc77c.s[6]++,styles.display.substr(0,6)==='inline');cov_1pyj5qc77c.s[7]++;if(!ret){cov_1pyj5qc77c.b[0][0]++;cov_1pyj5qc77c.s[8]++;return'';}else{cov_1pyj5qc77c.b[0][1]++;}cov_1pyj5qc77c.s[9]++;if(ret.substr(0,1)!=='"'){cov_1pyj5qc77c.b[1][0]++;cov_1pyj5qc77c.s[10]++;return'';}else{cov_1pyj5qc77c.b[1][1]++;cov_1pyj5qc77c.s[11]++;if(inline){cov_1pyj5qc77c.b[2][0]++;cov_1pyj5qc77c.s[12]++;return ret.slice(1,-1);}else{cov_1pyj5qc77c.b[2][1]++;cov_1pyj5qc77c.s[13]++;return' '+ret.slice(1,-1)+' ';}}};cov_1pyj5qc77c.s[14]++;var getContent=function(root,visited){cov_1pyj5qc77c.f[1]++;var children=(cov_1pyj5qc77c.s[15]++,atree.getChildNodes(root));var ret=(cov_1pyj5qc77c.s[16]++,'');cov_1pyj5qc77c.s[17]++;for(var i=(cov_1pyj5qc77c.s[18]++,0);i<children.length;i++){var node=(cov_1pyj5qc77c.s[19]++,children[i]);cov_1pyj5qc77c.s[20]++;if(node.nodeType===node.TEXT_NODE){cov_1pyj5qc77c.b[3][0]++;cov_1pyj5qc77c.s[21]++;ret+=node.textContent;}else{cov_1pyj5qc77c.b[3][1]++;cov_1pyj5qc77c.s[22]++;if(node.nodeType===node.ELEMENT_NODE){cov_1pyj5qc77c.b[4][0]++;cov_1pyj5qc77c.s[23]++;if(node.tagName.toLowerCase()==='br'){cov_1pyj5qc77c.b[5][0]++;cov_1pyj5qc77c.s[24]++;ret+='\n';}else{cov_1pyj5qc77c.b[5][1]++;cov_1pyj5qc77c.s[25]++;if((cov_1pyj5qc77c.b[7][0]++,window.getComputedStyle(node).display.substr(0,6)==='inline')&&(cov_1pyj5qc77c.b[7][1]++,node.tagName.toLowerCase()!=='input')&&(cov_1pyj5qc77c.b[7][2]++,node.tagName.toLowerCase()!=='img')){cov_1pyj5qc77c.b[6][0]++;cov_1pyj5qc77c.s[26]++;// https://github.com/w3c/accname/issues/3
1054 -1 ret+=getName(node,true,visited);}else{cov_1pyj5qc77c.b[6][1]++;cov_1pyj5qc77c.s[27]++;ret+=' '+getName(node,true,visited)+' ';}}}else{cov_1pyj5qc77c.b[4][1]++;}}}cov_1pyj5qc77c.s[28]++;return ret;};cov_1pyj5qc77c.s[29]++;var allowNameFromContent=function(el){cov_1pyj5qc77c.f[2]++;var role=(cov_1pyj5qc77c.s[30]++,query.getRole(el));cov_1pyj5qc77c.s[31]++;return((cov_1pyj5qc77c.b[8][0]++,constants.roles[role])||(cov_1pyj5qc77c.b[8][1]++,{})).nameFromContents;};cov_1pyj5qc77c.s[32]++;var isLabelable=function(el){cov_1pyj5qc77c.f[3]++;var selector=(cov_1pyj5qc77c.s[33]++,constants.labelable.join(','));cov_1pyj5qc77c.s[34]++;return el.matches(selector);};// Control.labels is part of the standard, but not supported in most browsers
1055 -1 cov_1pyj5qc77c.s[35]++;var getLabelNodes=function(element){cov_1pyj5qc77c.f[4]++;var labels=(cov_1pyj5qc77c.s[36]++,[]);var labelable=(cov_1pyj5qc77c.s[37]++,constants.labelable.join(','));cov_1pyj5qc77c.s[38]++;document.querySelectorAll('label').forEach(function(node){cov_1pyj5qc77c.f[5]++;cov_1pyj5qc77c.s[39]++;if(node.getAttribute('for')){cov_1pyj5qc77c.b[9][0]++;cov_1pyj5qc77c.s[40]++;if((cov_1pyj5qc77c.b[11][0]++,element.id)&&(cov_1pyj5qc77c.b[11][1]++,node.getAttribute('for')===element.id)){cov_1pyj5qc77c.b[10][0]++;cov_1pyj5qc77c.s[41]++;labels.push(node);}else{cov_1pyj5qc77c.b[10][1]++;}}else{cov_1pyj5qc77c.b[9][1]++;cov_1pyj5qc77c.s[42]++;if(node.querySelector(labelable)===element){cov_1pyj5qc77c.b[12][0]++;cov_1pyj5qc77c.s[43]++;labels.push(node);}else{cov_1pyj5qc77c.b[12][1]++;}}});cov_1pyj5qc77c.s[44]++;return labels;};cov_1pyj5qc77c.s[45]++;var isInLabelForOtherWidget=function(el){cov_1pyj5qc77c.f[6]++;var label=(cov_1pyj5qc77c.s[46]++,el.parentElement.closest('label'));var ownLabels=(cov_1pyj5qc77c.s[47]++,getLabelNodes(el));cov_1pyj5qc77c.s[48]++;return(cov_1pyj5qc77c.b[13][0]++,label)&&(cov_1pyj5qc77c.b[13][1]++,ownLabels.indexOf(label)===-1);};cov_1pyj5qc77c.s[49]++;var getName=function(el,recursive,visited,directReference){cov_1pyj5qc77c.f[7]++;var ret=(cov_1pyj5qc77c.s[50]++,'');cov_1pyj5qc77c.s[51]++;visited=(cov_1pyj5qc77c.b[14][0]++,visited)||(cov_1pyj5qc77c.b[14][1]++,[]);cov_1pyj5qc77c.s[52]++;if(visited.includes(el)){cov_1pyj5qc77c.b[15][0]++;cov_1pyj5qc77c.s[53]++;if(!directReference){cov_1pyj5qc77c.b[16][0]++;cov_1pyj5qc77c.s[54]++;return'';}else{cov_1pyj5qc77c.b[16][1]++;}}else{cov_1pyj5qc77c.b[15][1]++;cov_1pyj5qc77c.s[55]++;visited.push(el);}// A
-1 1066 var cov_22i8nvh4cs=function(){var path="/home/tobias/code/a11y/babelacc/node_modules/aria-api/lib/name.js";var hash="f3f970db90b78a3e61336f789b3c801833ad3d58";var global=new Function("return this")();var gcv="__coverage__";var coverageData={path:"/home/tobias/code/a11y/babelacc/node_modules/aria-api/lib/name.js",statementMap:{"0":{start:{line:1,column:16},end:{line:1,column:41}},"1":{start:{line:2,column:12},end:{line:2,column:33}},"2":{start:{line:3,column:12},end:{line:3,column:33}},"3":{start:{line:5,column:23},end:{line:21,column:1}},"4":{start:{line:6,column:14},end:{line:6,column:53}},"5":{start:{line:7,column:11},end:{line:7,column:45}},"6":{start:{line:8,column:14},end:{line:8,column:54}},"7":{start:{line:9,column:1},end:{line:11,column:2}},"8":{start:{line:10,column:2},end:{line:10,column:12}},"9":{start:{line:12,column:1},end:{line:20,column:2}},"10":{start:{line:13,column:2},end:{line:13,column:12}},"11":{start:{line:15,column:2},end:{line:19,column:3}},"12":{start:{line:16,column:3},end:{line:16,column:27}},"13":{start:{line:18,column:3},end:{line:18,column:39}},"14":{start:{line:23,column:17},end:{line:45,column:1}},"15":{start:{line:24,column:16},end:{line:24,column:41}},"16":{start:{line:26,column:11},end:{line:26,column:13}},"17":{start:{line:27,column:1},end:{line:42,column:2}},"18":{start:{line:27,column:14},end:{line:27,column:15}},"19":{start:{line:28,column:13},end:{line:28,column:24}},"20":{start:{line:29,column:2},end:{line:41,column:3}},"21":{start:{line:30,column:3},end:{line:30,column:27}},"22":{start:{line:31,column:9},end:{line:41,column:3}},"23":{start:{line:32,column:3},end:{line:40,column:4}},"24":{start:{line:33,column:4},end:{line:33,column:16}},"25":{start:{line:34,column:10},end:{line:40,column:4}},"26":{start:{line:37,column:4},end:{line:37,column:40}},"27":{start:{line:39,column:4},end:{line:39,column:52}},"28":{start:{line:44,column:1},end:{line:44,column:12}},"29":{start:{line:47,column:27},end:{line:50,column:1}},"30":{start:{line:48,column:12},end:{line:48,column:29}},"31":{start:{line:49,column:1},end:{line:49,column:55}},"32":{start:{line:52,column:18},end:{line:55,column:1}},"33":{start:{line:53,column:16},end:{line:53,column:45}},"34":{start:{line:54,column:1},end:{line:54,column:29}},"35":{start:{line:57,column:30},end:{line:60,column:1}},"36":{start:{line:58,column:13},end:{line:58,column:46}},"37":{start:{line:59,column:1},end:{line:59,column:66}},"38":{start:{line:62,column:14},end:{line:164,column:1}},"39":{start:{line:63,column:11},end:{line:63,column:13}},"40":{start:{line:65,column:1},end:{line:65,column:25}},"41":{start:{line:66,column:1},end:{line:72,column:2}},"42":{start:{line:67,column:2},end:{line:69,column:3}},"43":{start:{line:68,column:3},end:{line:68,column:13}},"44":{start:{line:71,column:2},end:{line:71,column:19}},"45":{start:{line:78,column:1},end:{line:85,column:2}},"46":{start:{line:79,column:12},end:{line:79,column:59}},"47":{start:{line:80,column:16},end:{line:83,column:4}},"48":{start:{line:81,column:15},end:{line:81,column:42}},"49":{start:{line:82,column:3},end:{line:82,column:59}},"50":{start:{line:84,column:2},end:{line:84,column:26}},"51":{start:{line:88,column:1},end:{line:91,column:2}},"52":{start:{line:90,column:2},end:{line:90,column:38}},"53":{start:{line:94,column:1},end:{line:99,column:2}},"54":{start:{line:95,column:16},end:{line:97,column:4}},"55":{start:{line:96,column:3},end:{line:96,column:40}},"56":{start:{line:98,column:2},end:{line:98,column:26}},"57":{start:{line:100,column:1},end:{line:102,column:2}},"58":{start:{line:101,column:2},end:{line:101,column:29}},"59":{start:{line:103,column:1},end:{line:105,column:2}},"60":{start:{line:104,column:2},end:{line:104,column:21}},"61":{start:{line:106,column:1},end:{line:108,column:2}},"62":{start:{line:107,column:2},end:{line:107,column:17}},"63":{start:{line:109,column:1},end:{line:118,column:2}},"64":{start:{line:110,column:2},end:{line:117,column:3}},"65":{start:{line:111,column:3},end:{line:116,column:4}},"66":{start:{line:112,column:21},end:{line:112,column:77}},"67":{start:{line:113,column:4},end:{line:115,column:5}},"68":{start:{line:114,column:5},end:{line:114,column:46}},"69":{start:{line:121,column:1},end:{line:136,column:2}},"70":{start:{line:122,column:2},end:{line:135,column:3}},"71":{start:{line:123,column:3},end:{line:134,column:4}},"72":{start:{line:124,column:4},end:{line:124,column:37}},"73":{start:{line:125,column:10},end:{line:134,column:4}},"74":{start:{line:126,column:19},end:{line:126,column:92}},"75":{start:{line:127,column:4},end:{line:131,column:5}},"76":{start:{line:128,column:5},end:{line:128,column:49}},"77":{start:{line:130,column:5},end:{line:130,column:26}},"78":{start:{line:132,column:10},end:{line:134,column:4}},"79":{start:{line:133,column:4},end:{line:133,column:103}},"80":{start:{line:140,column:1},end:{line:142,column:2}},"81":{start:{line:141,column:2},end:{line:141,column:32}},"82":{start:{line:144,column:1},end:{line:150,column:2}},"83":{start:{line:145,column:2},end:{line:149,column:3}},"84":{start:{line:146,column:3},end:{line:148,column:4}},"85":{start:{line:147,column:4},end:{line:147,column:43}},"86":{start:{line:157,column:1},end:{line:159,column:2}},"87":{start:{line:158,column:2},end:{line:158,column:23}},"88":{start:{line:161,column:14},end:{line:161,column:45}},"89":{start:{line:162,column:13},end:{line:162,column:43}},"90":{start:{line:163,column:1},end:{line:163,column:29}},"91":{start:{line:166,column:21},end:{line:168,column:1}},"92":{start:{line:167,column:1},end:{line:167,column:48}},"93":{start:{line:170,column:21},end:{line:193,column:1}},"94":{start:{line:171,column:11},end:{line:171,column:13}},"95":{start:{line:173,column:1},end:{line:184,column:2}},"96":{start:{line:174,column:12},end:{line:174,column:60}},"97":{start:{line:175,column:16},end:{line:178,column:4}},"98":{start:{line:176,column:15},end:{line:176,column:42}},"99":{start:{line:177,column:3},end:{line:177,column:44}},"100":{start:{line:179,column:2},end:{line:179,column:26}},"101":{start:{line:180,column:8},end:{line:184,column:2}},"102":{start:{line:181,column:2},end:{line:181,column:17}},"103":{start:{line:182,column:8},end:{line:184,column:2}},"104":{start:{line:183,column:2},end:{line:183,column:23}},"105":{start:{line:186,column:1},end:{line:186,column:47}},"106":{start:{line:188,column:1},end:{line:190,column:2}},"107":{start:{line:189,column:2},end:{line:189,column:11}},"108":{start:{line:192,column:1},end:{line:192,column:12}},"109":{start:{line:195,column:0},end:{line:198,column:2}}},fnMap:{"0":{name:"(anonymous_0)",decl:{start:{line:5,column:23},end:{line:5,column:24}},loc:{start:{line:5,column:48},end:{line:21,column:1}},line:5},"1":{name:"(anonymous_1)",decl:{start:{line:23,column:17},end:{line:23,column:18}},loc:{start:{line:23,column:41},end:{line:45,column:1}},line:23},"2":{name:"(anonymous_2)",decl:{start:{line:47,column:27},end:{line:47,column:28}},loc:{start:{line:47,column:40},end:{line:50,column:1}},line:47},"3":{name:"(anonymous_3)",decl:{start:{line:52,column:18},end:{line:52,column:19}},loc:{start:{line:52,column:31},end:{line:55,column:1}},line:52},"4":{name:"(anonymous_4)",decl:{start:{line:57,column:30},end:{line:57,column:31}},loc:{start:{line:57,column:43},end:{line:60,column:1}},line:57},"5":{name:"(anonymous_5)",decl:{start:{line:62,column:14},end:{line:62,column:15}},loc:{start:{line:62,column:64},end:{line:164,column:1}},line:62},"6":{name:"(anonymous_6)",decl:{start:{line:80,column:24},end:{line:80,column:25}},loc:{start:{line:80,column:37},end:{line:83,column:3}},line:80},"7":{name:"(anonymous_7)",decl:{start:{line:95,column:52},end:{line:95,column:53}},loc:{start:{line:95,column:68},end:{line:97,column:3}},line:95},"8":{name:"(anonymous_8)",decl:{start:{line:166,column:21},end:{line:166,column:22}},loc:{start:{line:166,column:34},end:{line:168,column:1}},line:166},"9":{name:"(anonymous_9)",decl:{start:{line:170,column:21},end:{line:170,column:22}},loc:{start:{line:170,column:34},end:{line:193,column:1}},line:170},"10":{name:"(anonymous_10)",decl:{start:{line:175,column:24},end:{line:175,column:25}},loc:{start:{line:175,column:37},end:{line:178,column:3}},line:175}},branchMap:{"0":{loc:{start:{line:9,column:1},end:{line:11,column:2}},type:"if",locations:[{start:{line:9,column:1},end:{line:11,column:2}},{start:{line:9,column:1},end:{line:11,column:2}}],line:9},"1":{loc:{start:{line:12,column:1},end:{line:20,column:2}},type:"if",locations:[{start:{line:12,column:1},end:{line:20,column:2}},{start:{line:12,column:1},end:{line:20,column:2}}],line:12},"2":{loc:{start:{line:15,column:2},end:{line:19,column:3}},type:"if",locations:[{start:{line:15,column:2},end:{line:19,column:3}},{start:{line:15,column:2},end:{line:19,column:3}}],line:15},"3":{loc:{start:{line:29,column:2},end:{line:41,column:3}},type:"if",locations:[{start:{line:29,column:2},end:{line:41,column:3}},{start:{line:29,column:2},end:{line:41,column:3}}],line:29},"4":{loc:{start:{line:31,column:9},end:{line:41,column:3}},type:"if",locations:[{start:{line:31,column:9},end:{line:41,column:3}},{start:{line:31,column:9},end:{line:41,column:3}}],line:31},"5":{loc:{start:{line:32,column:3},end:{line:40,column:4}},type:"if",locations:[{start:{line:32,column:3},end:{line:40,column:4}},{start:{line:32,column:3},end:{line:40,column:4}}],line:32},"6":{loc:{start:{line:34,column:10},end:{line:40,column:4}},type:"if",locations:[{start:{line:34,column:10},end:{line:40,column:4}},{start:{line:34,column:10},end:{line:40,column:4}}],line:34},"7":{loc:{start:{line:34,column:14},end:{line:36,column:41}},type:"binary-expr",locations:[{start:{line:34,column:14},end:{line:34,column:77}},{start:{line:35,column:5},end:{line:35,column:43}},{start:{line:36,column:5},end:{line:36,column:41}}],line:34},"8":{loc:{start:{line:49,column:9},end:{line:49,column:36}},type:"binary-expr",locations:[{start:{line:49,column:9},end:{line:49,column:30}},{start:{line:49,column:34},end:{line:49,column:36}}],line:49},"9":{loc:{start:{line:59,column:8},end:{line:59,column:65}},type:"binary-expr",locations:[{start:{line:59,column:8},end:{line:59,column:13}},{start:{line:59,column:17},end:{line:59,column:65}}],line:59},"10":{loc:{start:{line:65,column:11},end:{line:65,column:24}},type:"binary-expr",locations:[{start:{line:65,column:11},end:{line:65,column:18}},{start:{line:65,column:22},end:{line:65,column:24}}],line:65},"11":{loc:{start:{line:66,column:1},end:{line:72,column:2}},type:"if",locations:[{start:{line:66,column:1},end:{line:72,column:2}},{start:{line:66,column:1},end:{line:72,column:2}}],line:66},"12":{loc:{start:{line:67,column:2},end:{line:69,column:3}},type:"if",locations:[{start:{line:67,column:2},end:{line:69,column:3}},{start:{line:67,column:2},end:{line:69,column:3}}],line:67},"13":{loc:{start:{line:78,column:1},end:{line:85,column:2}},type:"if",locations:[{start:{line:78,column:1},end:{line:85,column:2}},{start:{line:78,column:1},end:{line:85,column:2}}],line:78},"14":{loc:{start:{line:78,column:5},end:{line:78,column:50}},type:"binary-expr",locations:[{start:{line:78,column:5},end:{line:78,column:15}},{start:{line:78,column:19},end:{line:78,column:50}}],line:78},"15":{loc:{start:{line:82,column:10},end:{line:82,column:58}},type:"cond-expr",locations:[{start:{line:82,column:18},end:{line:82,column:53}},{start:{line:82,column:56},end:{line:82,column:58}}],line:82},"16":{loc:{start:{line:88,column:1},end:{line:91,column:2}},type:"if",locations:[{start:{line:88,column:1},end:{line:91,column:2}},{start:{line:88,column:1},end:{line:91,column:2}}],line:88},"17":{loc:{start:{line:88,column:5},end:{line:88,column:46}},type:"binary-expr",locations:[{start:{line:88,column:5},end:{line:88,column:16}},{start:{line:88,column:20},end:{line:88,column:46}}],line:88},"18":{loc:{start:{line:94,column:1},end:{line:99,column:2}},type:"if",locations:[{start:{line:94,column:1},end:{line:99,column:2}},{start:{line:94,column:1},end:{line:99,column:2}}],line:94},"19":{loc:{start:{line:94,column:5},end:{line:94,column:49}},type:"binary-expr",locations:[{start:{line:94,column:5},end:{line:94,column:16}},{start:{line:94,column:20},end:{line:94,column:30}},{start:{line:94,column:34},end:{line:94,column:49}}],line:94},"20":{loc:{start:{line:100,column:1},end:{line:102,column:2}},type:"if",locations:[{start:{line:100,column:1},end:{line:102,column:2}},{start:{line:100,column:1},end:{line:102,column:2}}],line:100},"21":{loc:{start:{line:101,column:8},end:{line:101,column:28}},type:"binary-expr",locations:[{start:{line:101,column:8},end:{line:101,column:22}},{start:{line:101,column:26},end:{line:101,column:28}}],line:101},"22":{loc:{start:{line:103,column:1},end:{line:105,column:2}},type:"if",locations:[{start:{line:103,column:1},end:{line:105,column:2}},{start:{line:103,column:1},end:{line:105,column:2}}],line:103},"23":{loc:{start:{line:104,column:8},end:{line:104,column:20}},type:"binary-expr",locations:[{start:{line:104,column:8},end:{line:104,column:14}},{start:{line:104,column:18},end:{line:104,column:20}}],line:104},"24":{loc:{start:{line:106,column:1},end:{line:108,column:2}},type:"if",locations:[{start:{line:106,column:1},end:{line:108,column:2}},{start:{line:106,column:1},end:{line:108,column:2}}],line:106},"25":{loc:{start:{line:106,column:5},end:{line:106,column:58}},type:"binary-expr",locations:[{start:{line:106,column:5},end:{line:106,column:16}},{start:{line:106,column:20},end:{line:106,column:46}},{start:{line:106,column:50},end:{line:106,column:58}}],line:106},"26":{loc:{start:{line:109,column:1},end:{line:118,column:2}},type:"if",locations:[{start:{line:109,column:1},end:{line:118,column:2}},{start:{line:109,column:1},end:{line:118,column:2}}],line:109},"27":{loc:{start:{line:111,column:3},end:{line:116,column:4}},type:"if",locations:[{start:{line:111,column:3},end:{line:116,column:4}},{start:{line:111,column:3},end:{line:116,column:4}}],line:111},"28":{loc:{start:{line:113,column:4},end:{line:115,column:5}},type:"if",locations:[{start:{line:113,column:4},end:{line:115,column:5}},{start:{line:113,column:4},end:{line:115,column:5}}],line:113},"29":{loc:{start:{line:121,column:1},end:{line:136,column:2}},type:"if",locations:[{start:{line:121,column:1},end:{line:136,column:2}},{start:{line:121,column:1},end:{line:136,column:2}}],line:121},"30":{loc:{start:{line:121,column:5},end:{line:121,column:93}},type:"binary-expr",locations:[{start:{line:121,column:5},end:{line:121,column:16}},{start:{line:121,column:21},end:{line:121,column:30}},{start:{line:121,column:34},end:{line:121,column:61}},{start:{line:121,column:65},end:{line:121,column:92}}],line:121},"31":{loc:{start:{line:122,column:2},end:{line:135,column:3}},type:"if",locations:[{start:{line:122,column:2},end:{line:135,column:3}},{start:{line:122,column:2},end:{line:135,column:3}}],line:122},"32":{loc:{start:{line:123,column:3},end:{line:134,column:4}},type:"if",locations:[{start:{line:123,column:3},end:{line:134,column:4}},{start:{line:123,column:3},end:{line:134,column:4}}],line:123},"33":{loc:{start:{line:124,column:10},end:{line:124,column:36}},type:"binary-expr",locations:[{start:{line:124,column:10},end:{line:124,column:18}},{start:{line:124,column:22},end:{line:124,column:36}}],line:124},"34":{loc:{start:{line:125,column:10},end:{line:134,column:4}},type:"if",locations:[{start:{line:125,column:10},end:{line:134,column:4}},{start:{line:125,column:10},end:{line:134,column:4}}],line:125},"35":{loc:{start:{line:126,column:19},end:{line:126,column:92}},type:"binary-expr",locations:[{start:{line:126,column:19},end:{line:126,column:55}},{start:{line:126,column:59},end:{line:126,column:92}}],line:126},"36":{loc:{start:{line:127,column:4},end:{line:131,column:5}},type:"if",locations:[{start:{line:127,column:4},end:{line:131,column:5}},{start:{line:127,column:4},end:{line:131,column:5}}],line:127},"37":{loc:{start:{line:130,column:11},end:{line:130,column:25}},type:"binary-expr",locations:[{start:{line:130,column:11},end:{line:130,column:19}},{start:{line:130,column:23},end:{line:130,column:25}}],line:130},"38":{loc:{start:{line:132,column:10},end:{line:134,column:4}},type:"if",locations:[{start:{line:132,column:10},end:{line:134,column:4}},{start:{line:132,column:10},end:{line:134,column:4}}],line:132},"39":{loc:{start:{line:133,column:16},end:{line:133,column:101}},type:"binary-expr",locations:[{start:{line:133,column:16},end:{line:133,column:51}},{start:{line:133,column:55},end:{line:133,column:89}},{start:{line:133,column:93},end:{line:133,column:101}}],line:133},"40":{loc:{start:{line:140,column:1},end:{line:142,column:2}},type:"if",locations:[{start:{line:140,column:1},end:{line:142,column:2}},{start:{line:140,column:1},end:{line:142,column:2}}],line:140},"41":{loc:{start:{line:140,column:5},end:{line:140,column:112}},type:"binary-expr",locations:[{start:{line:140,column:5},end:{line:140,column:16}},{start:{line:140,column:21},end:{line:140,column:30}},{start:{line:140,column:34},end:{line:140,column:58}},{start:{line:140,column:62},end:{line:140,column:81}},{start:{line:140,column:86},end:{line:140,column:112}}],line:140},"42":{loc:{start:{line:144,column:1},end:{line:150,column:2}},type:"if",locations:[{start:{line:144,column:1},end:{line:150,column:2}},{start:{line:144,column:1},end:{line:150,column:2}}],line:144},"43":{loc:{start:{line:146,column:3},end:{line:148,column:4}},type:"if",locations:[{start:{line:146,column:3},end:{line:148,column:4}},{start:{line:146,column:3},end:{line:148,column:4}}],line:146},"44":{loc:{start:{line:157,column:1},end:{line:159,column:2}},type:"if",locations:[{start:{line:157,column:1},end:{line:159,column:2}},{start:{line:157,column:1},end:{line:159,column:2}}],line:157},"45":{loc:{start:{line:157,column:5},end:{line:157,column:54}},type:"binary-expr",locations:[{start:{line:157,column:5},end:{line:157,column:16}},{start:{line:157,column:20},end:{line:157,column:54}}],line:157},"46":{loc:{start:{line:158,column:8},end:{line:158,column:22}},type:"binary-expr",locations:[{start:{line:158,column:8},end:{line:158,column:16}},{start:{line:158,column:20},end:{line:158,column:22}}],line:158},"47":{loc:{start:{line:173,column:1},end:{line:184,column:2}},type:"if",locations:[{start:{line:173,column:1},end:{line:184,column:2}},{start:{line:173,column:1},end:{line:184,column:2}}],line:173},"48":{loc:{start:{line:177,column:10},end:{line:177,column:43}},type:"cond-expr",locations:[{start:{line:177,column:18},end:{line:177,column:38}},{start:{line:177,column:41},end:{line:177,column:43}}],line:177},"49":{loc:{start:{line:180,column:8},end:{line:184,column:2}},type:"if",locations:[{start:{line:180,column:8},end:{line:184,column:2}},{start:{line:180,column:8},end:{line:184,column:2}}],line:180},"50":{loc:{start:{line:182,column:8},end:{line:184,column:2}},type:"if",locations:[{start:{line:182,column:8},end:{line:184,column:2}},{start:{line:182,column:8},end:{line:184,column:2}}],line:182},"51":{loc:{start:{line:186,column:8},end:{line:186,column:17}},type:"binary-expr",locations:[{start:{line:186,column:8},end:{line:186,column:11}},{start:{line:186,column:15},end:{line:186,column:17}}],line:186},"52":{loc:{start:{line:188,column:1},end:{line:190,column:2}},type:"if",locations:[{start:{line:188,column:1},end:{line:190,column:2}},{start:{line:188,column:1},end:{line:190,column:2}}],line:188}},s:{"0":0,"1":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0,"69":0,"70":0,"71":0,"72":0,"73":0,"74":0,"75":0,"76":0,"77":0,"78":0,"79":0,"80":0,"81":0,"82":0,"83":0,"84":0,"85":0,"86":0,"87":0,"88":0,"89":0,"90":0,"91":0,"92":0,"93":0,"94":0,"95":0,"96":0,"97":0,"98":0,"99":0,"100":0,"101":0,"102":0,"103":0,"104":0,"105":0,"106":0,"107":0,"108":0,"109":0},f:{"0":0,"1":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0},b:{"0":[0,0],"1":[0,0],"2":[0,0],"3":[0,0],"4":[0,0],"5":[0,0],"6":[0,0],"7":[0,0,0],"8":[0,0],"9":[0,0],"10":[0,0],"11":[0,0],"12":[0,0],"13":[0,0],"14":[0,0],"15":[0,0],"16":[0,0],"17":[0,0],"18":[0,0],"19":[0,0,0],"20":[0,0],"21":[0,0],"22":[0,0],"23":[0,0],"24":[0,0],"25":[0,0,0],"26":[0,0],"27":[0,0],"28":[0,0],"29":[0,0],"30":[0,0,0,0],"31":[0,0],"32":[0,0],"33":[0,0],"34":[0,0],"35":[0,0],"36":[0,0],"37":[0,0],"38":[0,0],"39":[0,0,0],"40":[0,0],"41":[0,0,0,0,0],"42":[0,0],"43":[0,0],"44":[0,0],"45":[0,0],"46":[0,0],"47":[0,0],"48":[0,0],"49":[0,0],"50":[0,0],"51":[0,0],"52":[0,0]},_coverageSchema:"43e27e138ebf9cfc5966b082cf9a028302ed4184",hash:"f3f970db90b78a3e61336f789b3c801833ad3d58"};var coverage=global[gcv]||(global[gcv]={});if(coverage[path]&&coverage[path].hash===hash){return coverage[path];}return coverage[path]=coverageData;}();var constants=(cov_22i8nvh4cs.s[0]++,require('./constants.js'));var atree=(cov_22i8nvh4cs.s[1]++,require('./atree.js'));var query=(cov_22i8nvh4cs.s[2]++,require('./query.js'));cov_22i8nvh4cs.s[3]++;var getPseudoContent=function(node,selector){cov_22i8nvh4cs.f[0]++;var styles=(cov_22i8nvh4cs.s[4]++,window.getComputedStyle(node,selector));var ret=(cov_22i8nvh4cs.s[5]++,styles.getPropertyValue('content'));var inline=(cov_22i8nvh4cs.s[6]++,styles.display.substr(0,6)==='inline');cov_22i8nvh4cs.s[7]++;if(!ret){cov_22i8nvh4cs.b[0][0]++;cov_22i8nvh4cs.s[8]++;return'';}else{cov_22i8nvh4cs.b[0][1]++;}cov_22i8nvh4cs.s[9]++;if(ret.substr(0,1)!=='"'){cov_22i8nvh4cs.b[1][0]++;cov_22i8nvh4cs.s[10]++;return'';}else{cov_22i8nvh4cs.b[1][1]++;cov_22i8nvh4cs.s[11]++;if(inline){cov_22i8nvh4cs.b[2][0]++;cov_22i8nvh4cs.s[12]++;return ret.slice(1,-1);}else{cov_22i8nvh4cs.b[2][1]++;cov_22i8nvh4cs.s[13]++;return' '+ret.slice(1,-1)+' ';}}};cov_22i8nvh4cs.s[14]++;var getContent=function(root,visited){cov_22i8nvh4cs.f[1]++;var children=(cov_22i8nvh4cs.s[15]++,atree.getChildNodes(root));var ret=(cov_22i8nvh4cs.s[16]++,'');cov_22i8nvh4cs.s[17]++;for(var i=(cov_22i8nvh4cs.s[18]++,0);i<children.length;i++){var node=(cov_22i8nvh4cs.s[19]++,children[i]);cov_22i8nvh4cs.s[20]++;if(node.nodeType===node.TEXT_NODE){cov_22i8nvh4cs.b[3][0]++;cov_22i8nvh4cs.s[21]++;ret+=node.textContent;}else{cov_22i8nvh4cs.b[3][1]++;cov_22i8nvh4cs.s[22]++;if(node.nodeType===node.ELEMENT_NODE){cov_22i8nvh4cs.b[4][0]++;cov_22i8nvh4cs.s[23]++;if(node.tagName.toLowerCase()==='br'){cov_22i8nvh4cs.b[5][0]++;cov_22i8nvh4cs.s[24]++;ret+='\n';}else{cov_22i8nvh4cs.b[5][1]++;cov_22i8nvh4cs.s[25]++;if((cov_22i8nvh4cs.b[7][0]++,window.getComputedStyle(node).display.substr(0,6)==='inline')&&(cov_22i8nvh4cs.b[7][1]++,node.tagName.toLowerCase()!=='input')&&(cov_22i8nvh4cs.b[7][2]++,node.tagName.toLowerCase()!=='img')){cov_22i8nvh4cs.b[6][0]++;cov_22i8nvh4cs.s[26]++;// https://github.com/w3c/accname/issues/3
-1 1067 ret+=getName(node,true,visited);}else{cov_22i8nvh4cs.b[6][1]++;cov_22i8nvh4cs.s[27]++;ret+=' '+getName(node,true,visited)+' ';}}}else{cov_22i8nvh4cs.b[4][1]++;}}}cov_22i8nvh4cs.s[28]++;return ret;};cov_22i8nvh4cs.s[29]++;var allowNameFromContent=function(el){cov_22i8nvh4cs.f[2]++;var role=(cov_22i8nvh4cs.s[30]++,query.getRole(el));cov_22i8nvh4cs.s[31]++;return((cov_22i8nvh4cs.b[8][0]++,constants.roles[role])||(cov_22i8nvh4cs.b[8][1]++,{})).nameFromContents;};cov_22i8nvh4cs.s[32]++;var isLabelable=function(el){cov_22i8nvh4cs.f[3]++;var selector=(cov_22i8nvh4cs.s[33]++,constants.labelable.join(','));cov_22i8nvh4cs.s[34]++;return el.matches(selector);};cov_22i8nvh4cs.s[35]++;var isInLabelForOtherWidget=function(el){cov_22i8nvh4cs.f[4]++;var label=(cov_22i8nvh4cs.s[36]++,el.parentElement.closest('label'));cov_22i8nvh4cs.s[37]++;return(cov_22i8nvh4cs.b[9][0]++,label)&&(cov_22i8nvh4cs.b[9][1]++,!Array.prototype.includes.call(el.labels,label));};cov_22i8nvh4cs.s[38]++;var getName=function(el,recursive,visited,directReference){cov_22i8nvh4cs.f[5]++;var ret=(cov_22i8nvh4cs.s[39]++,'');cov_22i8nvh4cs.s[40]++;visited=(cov_22i8nvh4cs.b[10][0]++,visited)||(cov_22i8nvh4cs.b[10][1]++,[]);cov_22i8nvh4cs.s[41]++;if(visited.includes(el)){cov_22i8nvh4cs.b[11][0]++;cov_22i8nvh4cs.s[42]++;if(!directReference){cov_22i8nvh4cs.b[12][0]++;cov_22i8nvh4cs.s[43]++;return'';}else{cov_22i8nvh4cs.b[12][1]++;}}else{cov_22i8nvh4cs.b[11][1]++;cov_22i8nvh4cs.s[44]++;visited.push(el);}// A
1056 1068 // handled in atree
1057 1069 // B
1058 -1 cov_1pyj5qc77c.s[56]++;if((cov_1pyj5qc77c.b[18][0]++,!recursive)&&(cov_1pyj5qc77c.b[18][1]++,el.matches('[aria-labelledby]'))){cov_1pyj5qc77c.b[17][0]++;var ids=(cov_1pyj5qc77c.s[57]++,el.getAttribute('aria-labelledby').split(/\s+/));var strings=(cov_1pyj5qc77c.s[58]++,ids.map(function(id){cov_1pyj5qc77c.f[8]++;var label=(cov_1pyj5qc77c.s[59]++,document.getElementById(id));cov_1pyj5qc77c.s[60]++;return label?(cov_1pyj5qc77c.b[19][0]++,getName(label,true,visited,true)):(cov_1pyj5qc77c.b[19][1]++,'');}));cov_1pyj5qc77c.s[61]++;ret=strings.join(' ');}else{cov_1pyj5qc77c.b[17][1]++;}// C
1059 -1 cov_1pyj5qc77c.s[62]++;if((cov_1pyj5qc77c.b[21][0]++,!ret.trim())&&(cov_1pyj5qc77c.b[21][1]++,el.matches('[aria-label]'))){cov_1pyj5qc77c.b[20][0]++;cov_1pyj5qc77c.s[63]++;// FIXME: may skip to 2E
1060 -1 ret=el.getAttribute('aria-label');}else{cov_1pyj5qc77c.b[20][1]++;}// D
1061 -1 cov_1pyj5qc77c.s[64]++;if((cov_1pyj5qc77c.b[23][0]++,!ret.trim())&&(cov_1pyj5qc77c.b[23][1]++,!recursive)&&(cov_1pyj5qc77c.b[23][2]++,isLabelable(el))){cov_1pyj5qc77c.b[22][0]++;var strings=(cov_1pyj5qc77c.s[65]++,getLabelNodes(el).map(function(label){cov_1pyj5qc77c.f[9]++;cov_1pyj5qc77c.s[66]++;return getName(label,true,visited);}));cov_1pyj5qc77c.s[67]++;ret=strings.join(' ');}else{cov_1pyj5qc77c.b[22][1]++;}cov_1pyj5qc77c.s[68]++;if(!ret.trim()){cov_1pyj5qc77c.b[24][0]++;cov_1pyj5qc77c.s[69]++;ret=(cov_1pyj5qc77c.b[25][0]++,el.placeholder)||(cov_1pyj5qc77c.b[25][1]++,'');}else{cov_1pyj5qc77c.b[24][1]++;}cov_1pyj5qc77c.s[70]++;if(!ret.trim()){cov_1pyj5qc77c.b[26][0]++;cov_1pyj5qc77c.s[71]++;ret=(cov_1pyj5qc77c.b[27][0]++,el.alt)||(cov_1pyj5qc77c.b[27][1]++,'');}else{cov_1pyj5qc77c.b[26][1]++;}cov_1pyj5qc77c.s[72]++;if((cov_1pyj5qc77c.b[29][0]++,!ret.trim())&&(cov_1pyj5qc77c.b[29][1]++,el.matches('abbr,acronym'))&&(cov_1pyj5qc77c.b[29][2]++,el.title)){cov_1pyj5qc77c.b[28][0]++;cov_1pyj5qc77c.s[73]++;ret=el.title;}else{cov_1pyj5qc77c.b[28][1]++;}cov_1pyj5qc77c.s[74]++;if(!ret.trim()){cov_1pyj5qc77c.b[30][0]++;cov_1pyj5qc77c.s[75]++;for(var selector in constants.nameFromDescendant){cov_1pyj5qc77c.s[76]++;if(el.matches(selector)){cov_1pyj5qc77c.b[31][0]++;var descendant=(cov_1pyj5qc77c.s[77]++,el.querySelector(constants.nameFromDescendant[selector]));cov_1pyj5qc77c.s[78]++;if(descendant){cov_1pyj5qc77c.b[32][0]++;cov_1pyj5qc77c.s[79]++;ret=getName(descendant,true,visited);}else{cov_1pyj5qc77c.b[32][1]++;}}else{cov_1pyj5qc77c.b[31][1]++;}}}else{cov_1pyj5qc77c.b[30][1]++;}// E
1062 -1 cov_1pyj5qc77c.s[80]++;if((cov_1pyj5qc77c.b[34][0]++,!ret.trim())&&((cov_1pyj5qc77c.b[34][1]++,recursive)||(cov_1pyj5qc77c.b[34][2]++,isInLabelForOtherWidget(el))||(cov_1pyj5qc77c.b[34][3]++,query.matches(el,'button')))){cov_1pyj5qc77c.b[33][0]++;cov_1pyj5qc77c.s[81]++;if(query.matches(el,'textbox,button,combobox,listbox,range')){cov_1pyj5qc77c.b[35][0]++;cov_1pyj5qc77c.s[82]++;if(query.matches(el,'textbox,button')){cov_1pyj5qc77c.b[36][0]++;cov_1pyj5qc77c.s[83]++;ret=(cov_1pyj5qc77c.b[37][0]++,el.value)||(cov_1pyj5qc77c.b[37][1]++,el.textContent);}else{cov_1pyj5qc77c.b[36][1]++;cov_1pyj5qc77c.s[84]++;if(query.matches(el,'combobox,listbox')){cov_1pyj5qc77c.b[38][0]++;var selected=(cov_1pyj5qc77c.s[85]++,(cov_1pyj5qc77c.b[39][0]++,query.querySelector(el,':selected'))||(cov_1pyj5qc77c.b[39][1]++,query.querySelector(el,'option')));cov_1pyj5qc77c.s[86]++;if(selected){cov_1pyj5qc77c.b[40][0]++;cov_1pyj5qc77c.s[87]++;ret=getName(selected,recursive,visited);}else{cov_1pyj5qc77c.b[40][1]++;cov_1pyj5qc77c.s[88]++;ret=(cov_1pyj5qc77c.b[41][0]++,el.value)||(cov_1pyj5qc77c.b[41][1]++,'');}}else{cov_1pyj5qc77c.b[38][1]++;cov_1pyj5qc77c.s[89]++;if(query.matches(el,'range')){cov_1pyj5qc77c.b[42][0]++;cov_1pyj5qc77c.s[90]++;ret=''+((cov_1pyj5qc77c.b[43][0]++,query.getAttribute(el,'valuetext'))||(cov_1pyj5qc77c.b[43][1]++,query.getAttribute(el,'valuenow'))||(cov_1pyj5qc77c.b[43][2]++,el.value));}else{cov_1pyj5qc77c.b[42][1]++;}}}}else{cov_1pyj5qc77c.b[35][1]++;}}else{cov_1pyj5qc77c.b[33][1]++;}// F
-1 1070 cov_22i8nvh4cs.s[45]++;if((cov_22i8nvh4cs.b[14][0]++,!recursive)&&(cov_22i8nvh4cs.b[14][1]++,el.matches('[aria-labelledby]'))){cov_22i8nvh4cs.b[13][0]++;var ids=(cov_22i8nvh4cs.s[46]++,el.getAttribute('aria-labelledby').split(/\s+/));var strings=(cov_22i8nvh4cs.s[47]++,ids.map(function(id){cov_22i8nvh4cs.f[6]++;var label=(cov_22i8nvh4cs.s[48]++,document.getElementById(id));cov_22i8nvh4cs.s[49]++;return label?(cov_22i8nvh4cs.b[15][0]++,getName(label,true,visited,true)):(cov_22i8nvh4cs.b[15][1]++,'');}));cov_22i8nvh4cs.s[50]++;ret=strings.join(' ');}else{cov_22i8nvh4cs.b[13][1]++;}// C
-1 1071 cov_22i8nvh4cs.s[51]++;if((cov_22i8nvh4cs.b[17][0]++,!ret.trim())&&(cov_22i8nvh4cs.b[17][1]++,el.matches('[aria-label]'))){cov_22i8nvh4cs.b[16][0]++;cov_22i8nvh4cs.s[52]++;// FIXME: may skip to 2E
-1 1072 ret=el.getAttribute('aria-label');}else{cov_22i8nvh4cs.b[16][1]++;}// D
-1 1073 cov_22i8nvh4cs.s[53]++;if((cov_22i8nvh4cs.b[19][0]++,!ret.trim())&&(cov_22i8nvh4cs.b[19][1]++,!recursive)&&(cov_22i8nvh4cs.b[19][2]++,isLabelable(el))){cov_22i8nvh4cs.b[18][0]++;var strings=(cov_22i8nvh4cs.s[54]++,Array.prototype.map.call(el.labels,function(label){cov_22i8nvh4cs.f[7]++;cov_22i8nvh4cs.s[55]++;return getName(label,true,visited);}));cov_22i8nvh4cs.s[56]++;ret=strings.join(' ');}else{cov_22i8nvh4cs.b[18][1]++;}cov_22i8nvh4cs.s[57]++;if(!ret.trim()){cov_22i8nvh4cs.b[20][0]++;cov_22i8nvh4cs.s[58]++;ret=(cov_22i8nvh4cs.b[21][0]++,el.placeholder)||(cov_22i8nvh4cs.b[21][1]++,'');}else{cov_22i8nvh4cs.b[20][1]++;}cov_22i8nvh4cs.s[59]++;if(!ret.trim()){cov_22i8nvh4cs.b[22][0]++;cov_22i8nvh4cs.s[60]++;ret=(cov_22i8nvh4cs.b[23][0]++,el.alt)||(cov_22i8nvh4cs.b[23][1]++,'');}else{cov_22i8nvh4cs.b[22][1]++;}cov_22i8nvh4cs.s[61]++;if((cov_22i8nvh4cs.b[25][0]++,!ret.trim())&&(cov_22i8nvh4cs.b[25][1]++,el.matches('abbr,acronym'))&&(cov_22i8nvh4cs.b[25][2]++,el.title)){cov_22i8nvh4cs.b[24][0]++;cov_22i8nvh4cs.s[62]++;ret=el.title;}else{cov_22i8nvh4cs.b[24][1]++;}cov_22i8nvh4cs.s[63]++;if(!ret.trim()){cov_22i8nvh4cs.b[26][0]++;cov_22i8nvh4cs.s[64]++;for(var selector in constants.nameFromDescendant){cov_22i8nvh4cs.s[65]++;if(el.matches(selector)){cov_22i8nvh4cs.b[27][0]++;var descendant=(cov_22i8nvh4cs.s[66]++,el.querySelector(constants.nameFromDescendant[selector]));cov_22i8nvh4cs.s[67]++;if(descendant){cov_22i8nvh4cs.b[28][0]++;cov_22i8nvh4cs.s[68]++;ret=getName(descendant,true,visited);}else{cov_22i8nvh4cs.b[28][1]++;}}else{cov_22i8nvh4cs.b[27][1]++;}}}else{cov_22i8nvh4cs.b[26][1]++;}// E
-1 1074 cov_22i8nvh4cs.s[69]++;if((cov_22i8nvh4cs.b[30][0]++,!ret.trim())&&((cov_22i8nvh4cs.b[30][1]++,recursive)||(cov_22i8nvh4cs.b[30][2]++,isInLabelForOtherWidget(el))||(cov_22i8nvh4cs.b[30][3]++,query.matches(el,'button')))){cov_22i8nvh4cs.b[29][0]++;cov_22i8nvh4cs.s[70]++;if(query.matches(el,'textbox,button,combobox,listbox,range')){cov_22i8nvh4cs.b[31][0]++;cov_22i8nvh4cs.s[71]++;if(query.matches(el,'textbox,button')){cov_22i8nvh4cs.b[32][0]++;cov_22i8nvh4cs.s[72]++;ret=(cov_22i8nvh4cs.b[33][0]++,el.value)||(cov_22i8nvh4cs.b[33][1]++,el.textContent);}else{cov_22i8nvh4cs.b[32][1]++;cov_22i8nvh4cs.s[73]++;if(query.matches(el,'combobox,listbox')){cov_22i8nvh4cs.b[34][0]++;var selected=(cov_22i8nvh4cs.s[74]++,(cov_22i8nvh4cs.b[35][0]++,query.querySelector(el,':selected'))||(cov_22i8nvh4cs.b[35][1]++,query.querySelector(el,'option')));cov_22i8nvh4cs.s[75]++;if(selected){cov_22i8nvh4cs.b[36][0]++;cov_22i8nvh4cs.s[76]++;ret=getName(selected,recursive,visited);}else{cov_22i8nvh4cs.b[36][1]++;cov_22i8nvh4cs.s[77]++;ret=(cov_22i8nvh4cs.b[37][0]++,el.value)||(cov_22i8nvh4cs.b[37][1]++,'');}}else{cov_22i8nvh4cs.b[34][1]++;cov_22i8nvh4cs.s[78]++;if(query.matches(el,'range')){cov_22i8nvh4cs.b[38][0]++;cov_22i8nvh4cs.s[79]++;ret=''+((cov_22i8nvh4cs.b[39][0]++,query.getAttribute(el,'valuetext'))||(cov_22i8nvh4cs.b[39][1]++,query.getAttribute(el,'valuenow'))||(cov_22i8nvh4cs.b[39][2]++,el.value));}else{cov_22i8nvh4cs.b[38][1]++;}}}}else{cov_22i8nvh4cs.b[31][1]++;}}else{cov_22i8nvh4cs.b[29][1]++;}// F
1063 1075 // FIXME: menu is not mentioned in the spec
1064 -1 cov_1pyj5qc77c.s[91]++;if((cov_1pyj5qc77c.b[45][0]++,!ret.trim())&&((cov_1pyj5qc77c.b[45][1]++,recursive)||(cov_1pyj5qc77c.b[45][2]++,allowNameFromContent(el))||(cov_1pyj5qc77c.b[45][3]++,el.closest('label')))&&(cov_1pyj5qc77c.b[45][4]++,!query.matches(el,'menu'))){cov_1pyj5qc77c.b[44][0]++;cov_1pyj5qc77c.s[92]++;ret=getContent(el,visited);}else{cov_1pyj5qc77c.b[44][1]++;}cov_1pyj5qc77c.s[93]++;if(!ret.trim()){cov_1pyj5qc77c.b[46][0]++;cov_1pyj5qc77c.s[94]++;for(var selector in constants.nameDefaults){cov_1pyj5qc77c.s[95]++;if(el.matches(selector)){cov_1pyj5qc77c.b[47][0]++;cov_1pyj5qc77c.s[96]++;ret=constants.nameDefaults[selector];}else{cov_1pyj5qc77c.b[47][1]++;}}}else{cov_1pyj5qc77c.b[46][1]++;}// G/H
-1 1076 cov_22i8nvh4cs.s[80]++;if((cov_22i8nvh4cs.b[41][0]++,!ret.trim())&&((cov_22i8nvh4cs.b[41][1]++,recursive)||(cov_22i8nvh4cs.b[41][2]++,allowNameFromContent(el))||(cov_22i8nvh4cs.b[41][3]++,el.closest('label')))&&(cov_22i8nvh4cs.b[41][4]++,!query.matches(el,'menu'))){cov_22i8nvh4cs.b[40][0]++;cov_22i8nvh4cs.s[81]++;ret=getContent(el,visited);}else{cov_22i8nvh4cs.b[40][1]++;}cov_22i8nvh4cs.s[82]++;if(!ret.trim()){cov_22i8nvh4cs.b[42][0]++;cov_22i8nvh4cs.s[83]++;for(var selector in constants.nameDefaults){cov_22i8nvh4cs.s[84]++;if(el.matches(selector)){cov_22i8nvh4cs.b[43][0]++;cov_22i8nvh4cs.s[85]++;ret=constants.nameDefaults[selector];}else{cov_22i8nvh4cs.b[43][1]++;}}}else{cov_22i8nvh4cs.b[42][1]++;}// G/H
1065 1077 // handled in getContent
1066 1078 // I
1067 1079 // FIXME: presentation not mentioned in the spec
1068 -1 cov_1pyj5qc77c.s[97]++;if((cov_1pyj5qc77c.b[49][0]++,!ret.trim())&&(cov_1pyj5qc77c.b[49][1]++,!query.matches(el,'presentation'))){cov_1pyj5qc77c.b[48][0]++;cov_1pyj5qc77c.s[98]++;ret=(cov_1pyj5qc77c.b[50][0]++,el.title)||(cov_1pyj5qc77c.b[50][1]++,'');}else{cov_1pyj5qc77c.b[48][1]++;}var before=(cov_1pyj5qc77c.s[99]++,getPseudoContent(el,':before'));var after=(cov_1pyj5qc77c.s[100]++,getPseudoContent(el,':after'));cov_1pyj5qc77c.s[101]++;return before+ret+after;};cov_1pyj5qc77c.s[102]++;var getNameTrimmed=function(el){cov_1pyj5qc77c.f[10]++;cov_1pyj5qc77c.s[103]++;return getName(el).replace(/\s+/g,' ').trim();};cov_1pyj5qc77c.s[104]++;var getDescription=function(el){cov_1pyj5qc77c.f[11]++;var ret=(cov_1pyj5qc77c.s[105]++,'');cov_1pyj5qc77c.s[106]++;if(el.matches('[aria-describedby]')){cov_1pyj5qc77c.b[51][0]++;var ids=(cov_1pyj5qc77c.s[107]++,el.getAttribute('aria-describedby').split(/\s+/));var strings=(cov_1pyj5qc77c.s[108]++,ids.map(function(id){cov_1pyj5qc77c.f[12]++;var label=(cov_1pyj5qc77c.s[109]++,document.getElementById(id));cov_1pyj5qc77c.s[110]++;return label?(cov_1pyj5qc77c.b[52][0]++,getName(label,true)):(cov_1pyj5qc77c.b[52][1]++,'');}));cov_1pyj5qc77c.s[111]++;ret=strings.join(' ');}else{cov_1pyj5qc77c.b[51][1]++;cov_1pyj5qc77c.s[112]++;if(el.title){cov_1pyj5qc77c.b[53][0]++;cov_1pyj5qc77c.s[113]++;ret=el.title;}else{cov_1pyj5qc77c.b[53][1]++;cov_1pyj5qc77c.s[114]++;if(el.placeholder){cov_1pyj5qc77c.b[54][0]++;cov_1pyj5qc77c.s[115]++;ret=el.placeholder;}else{cov_1pyj5qc77c.b[54][1]++;}}}cov_1pyj5qc77c.s[116]++;ret=((cov_1pyj5qc77c.b[55][0]++,ret)||(cov_1pyj5qc77c.b[55][1]++,'')).trim().replace(/\s+/g,' ');cov_1pyj5qc77c.s[117]++;if(ret===getNameTrimmed(el)){cov_1pyj5qc77c.b[56][0]++;cov_1pyj5qc77c.s[118]++;ret='';}else{cov_1pyj5qc77c.b[56][1]++;}cov_1pyj5qc77c.s[119]++;return ret;};cov_1pyj5qc77c.s[120]++;module.exports={getName:getNameTrimmed,getDescription:getDescription};
-1 1080 cov_22i8nvh4cs.s[86]++;if((cov_22i8nvh4cs.b[45][0]++,!ret.trim())&&(cov_22i8nvh4cs.b[45][1]++,!query.matches(el,'presentation'))){cov_22i8nvh4cs.b[44][0]++;cov_22i8nvh4cs.s[87]++;ret=(cov_22i8nvh4cs.b[46][0]++,el.title)||(cov_22i8nvh4cs.b[46][1]++,'');}else{cov_22i8nvh4cs.b[44][1]++;}var before=(cov_22i8nvh4cs.s[88]++,getPseudoContent(el,':before'));var after=(cov_22i8nvh4cs.s[89]++,getPseudoContent(el,':after'));cov_22i8nvh4cs.s[90]++;return before+ret+after;};cov_22i8nvh4cs.s[91]++;var getNameTrimmed=function(el){cov_22i8nvh4cs.f[8]++;cov_22i8nvh4cs.s[92]++;return getName(el).replace(/\s+/g,' ').trim();};cov_22i8nvh4cs.s[93]++;var getDescription=function(el){cov_22i8nvh4cs.f[9]++;var ret=(cov_22i8nvh4cs.s[94]++,'');cov_22i8nvh4cs.s[95]++;if(el.matches('[aria-describedby]')){cov_22i8nvh4cs.b[47][0]++;var ids=(cov_22i8nvh4cs.s[96]++,el.getAttribute('aria-describedby').split(/\s+/));var strings=(cov_22i8nvh4cs.s[97]++,ids.map(function(id){cov_22i8nvh4cs.f[10]++;var label=(cov_22i8nvh4cs.s[98]++,document.getElementById(id));cov_22i8nvh4cs.s[99]++;return label?(cov_22i8nvh4cs.b[48][0]++,getName(label,true)):(cov_22i8nvh4cs.b[48][1]++,'');}));cov_22i8nvh4cs.s[100]++;ret=strings.join(' ');}else{cov_22i8nvh4cs.b[47][1]++;cov_22i8nvh4cs.s[101]++;if(el.title){cov_22i8nvh4cs.b[49][0]++;cov_22i8nvh4cs.s[102]++;ret=el.title;}else{cov_22i8nvh4cs.b[49][1]++;cov_22i8nvh4cs.s[103]++;if(el.placeholder){cov_22i8nvh4cs.b[50][0]++;cov_22i8nvh4cs.s[104]++;ret=el.placeholder;}else{cov_22i8nvh4cs.b[50][1]++;}}}cov_22i8nvh4cs.s[105]++;ret=((cov_22i8nvh4cs.b[51][0]++,ret)||(cov_22i8nvh4cs.b[51][1]++,'')).trim().replace(/\s+/g,' ');cov_22i8nvh4cs.s[106]++;if(ret===getNameTrimmed(el)){cov_22i8nvh4cs.b[52][0]++;cov_22i8nvh4cs.s[107]++;ret='';}else{cov_22i8nvh4cs.b[52][1]++;}cov_22i8nvh4cs.s[108]++;return ret;};cov_22i8nvh4cs.s[109]++;module.exports={getName:getNameTrimmed,getDescription:getDescription};
1069 1081
1070 1082 },{"./atree.js":5,"./constants.js":7,"./query.js":9}],9:[function(require,module,exports){
1071 1083 var attrs = require('./attrs.js');
@@ -1082,7 +1094,7 @@ var matches = function(el, selector) {
1082 1094 var match = /\[([a-z]+)="(.*)"\]/.exec(selector);
1083 1095 actual = attrs.getAttribute(el, match[1]);
1084 1096 var rawValue = match[2];
1085 -1 return actual.toString() == rawValue;
-1 1097 return actual.toString() === rawValue;
1086 1098 } else {
1087 1099 return attrs.hasRole(el, selector.split(','));
1088 1100 }
@@ -1091,17 +1103,23 @@ var matches = function(el, selector) {
1091 1103 var _querySelector = function(all) {
1092 1104 return function(root, role) {
1093 1105 var results = [];
1094 -1 atree.walk(root, function(node) {
1095 -1 if (node.nodeType === node.ELEMENT_NODE) {
1096 -1 // FIXME: skip hidden elements
1097 -1 if (matches(node, role)) {
1098 -1 results.push(node);
1099 -1 if (!all) {
1100 -1 return false;
-1 1106 try {
-1 1107 atree.walk(root, function(node) {
-1 1108 if (node.nodeType === node.ELEMENT_NODE) {
-1 1109 // FIXME: skip hidden elements
-1 1110 if (matches(node, role)) {
-1 1111 results.push(node);
-1 1112 if (!all) {
-1 1113 throw 'StopIteration';
-1 1114 }
1101 1115 }
1102 1116 }
-1 1117 });
-1 1118 } catch (e) {
-1 1119 if (e !== 'StopIteration') {
-1 1120 throw e;
1103 1121 }
1104 -1 });
-1 1122 }
1105 1123 return all ? results : results[0];
1106 1124 };
1107 1125 };
@@ -1134,6 +1152,7 @@ http://www.w3.org/TR/accname-aam-1.1/
1134 1152 Authored by Bryan Garaventa, plus refactoring contrabutions by Tobias Bengfort
1135 1153 https://github.com/whatsock/w3c-alternative-text-computation
1136 1154 Distributed under the terms of the Open Source Initiative OSI - MIT License
-1 1155 11:33 AM Thursday, May 7, 2020
1137 1156 */
1138 1157
1139 1158 (function() {
@@ -1142,7 +1161,7 @@ Distributed under the terms of the Open Source Initiative OSI - MIT License
1142 1161 window[nameSpace] = {};
1143 1162 nameSpace = window[nameSpace];
1144 1163 }
1145 -1 nameSpace.getAccNameVersion = "2.42";
-1 1164 nameSpace.getAccNameVersion = "2.49";
1146 1165 // AccName Computation Prototype
1147 1166 nameSpace.getAccName = nameSpace.calcNames = function(
1148 1167 node,
@@ -1265,16 +1284,6 @@ Plus roles extended for the Role Parity project.
1265 1284 after: ""
1266 1285 };
1267 1286
1268 -1 if (ownedBy.ref) {
1269 -1 if (isParentHidden(refNode, docO.body, true, true)) {
1270 -1 // If referenced via aria-labelledby or aria-describedby, do not return a name or description if a parent node is hidden.
1271 -1 return fullResult;
1272 -1 } else if (isHidden(refNode, docO.body)) {
1273 -1 // Otherwise, if aria-labelledby or aria-describedby reference a node that is explicitly hidden, then process all children regardless of their individual hidden states.
1274 -1 var ignoreHidden = true;
1275 -1 }
1276 -1 }
1277 -1
1278 1287 if (!skipTo.tag && !skipTo.role && nodes.indexOf(refNode) === -1) {
1279 1288 // Store the before and after pseudo element 'content' values for the top level DOM node
1280 1289 // Note: If the pseudo element includes block level styling, a space will be added, otherwise inline is asumed and no spacing is added.
@@ -1393,19 +1402,19 @@ Plus roles extended for the Role Parity project.
1393 1402 var hLabel = false;
1394 1403
1395 1404 if (
1396 -1 (skip ||
1397 -1 !node ||
1398 -1 nodes.indexOf(node) !== -1 ||
1399 -1 (!ignoreHidden && isHidden(node, ownedBy.top))) &&
-1 1405 (skip || !node || isHidden(node, ownedBy.top)) &&
1400 1406 !skipAbort &&
1401 1407 !isEmbeddedNode
1402 1408 ) {
1403 -1 // Abort if algorithm step is already completed, or if node is a hidden child of refNode, or if this node has already been processed, or skip abort if aria-labelledby self references same node.
-1 1409 // Abort if algorithm step is already completed, or if node is a hidden child of refNode, or skip abort if aria-labelledby self references same node.
1404 1410 return result;
1405 1411 }
1406 1412
1407 1413 if (!skipTo.tag && !skipTo.role && nodes.indexOf(node) === -1) {
1408 1414 nodes.push(node);
-1 1415 } else {
-1 1416 // Abort if this node has already been processed.
-1 1417 return result;
1409 1418 }
1410 1419
1411 1420 // Store name for the current node.
@@ -1601,7 +1610,9 @@ Plus roles extended for the Role Parity project.
1601 1610
1602 1611 for (i = 0; i < labels.length; i++) {
1603 1612 if (
1604 -1 (labels[i] === implicitLabel ||
-1 1613 ((labels[i] === implicitLabel &&
-1 1614 typeof implicitLabel.getAttribute("for") !==
-1 1615 "string") ||
1605 1616 labels[i].getAttribute("for") === node.id) &&
1606 1617 !isParentHidden(labels[i], docO.body, true)
1607 1618 ) {
@@ -2016,7 +2027,7 @@ Plus roles extended for the Role Parity project.
2016 2027
2017 2028 if (
2018 2029 name.length &&
2019 -1 !hasParentLabelOrHidden(node, ownedBy.top, ownedBy, ignoreHidden)
-1 2030 !hasParentLabelOrHidden(node, ownedBy.top, ownedBy)
2020 2031 ) {
2021 2032 result.name = name;
2022 2033 }
@@ -2362,7 +2373,11 @@ Plus roles extended for the Role Parity project.
2362 2373 s = s.replace(m[i], b);
2363 2374 }
2364 2375 }
2365 -1 return s || text;
-1 2376 s = s
-1 2377 .replace(/url\((.*?)\)\s+\/|url\((.*?)\)/g, "")
-1 2378 .replace(/^\s+|\s+$/g, "")
-1 2379 .replace(/\"/g, "");
-1 2380 return s;
2366 2381 };
2367 2382
2368 2383 var isBlockLevelElement = function(node, cssObj) {