diff --git a/lib/behat/axe/axe.min.js b/lib/behat/axe/axe.min.js index 3d7f43c1cd4..5af99e32139 100644 --- a/lib/behat/axe/axe.min.js +++ b/lib/behat/axe/axe.min.js @@ -1,5 +1,5 @@ -/*! axe v4.5.1 - * Copyright (c) 2022 Deque Systems, Inc. +/*! axe v4.6.3 + * Copyright (c) 2023 Deque Systems, Inc. * * Your use of this Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this @@ -9,4 +9,4 @@ * distribute or in any file that contains substantial portions of this source * code. */ -!function i(window){var q=window,document=window.document;function ee(e){return(ee="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var axe=axe||{};function S(e){this.name="SupportError",this.cause=e.cause,this.message="`".concat(e.cause,"` - feature unsupported in your environment."),e.ruleId&&(this.ruleId=e.ruleId,this.message+=" Skipping ".concat(this.ruleId," rule.")),this.stack=(new Error).stack}axe.version="4.5.1","function"==typeof define&&define.amd&&define("axe-core",[],function(){return axe}),"object"===("undefined"==typeof module?"undefined":ee(module))&&module.exports&&"function"==typeof i.toString&&(axe.source="("+i.toString()+')(typeof window === "object" ? window : this);',module.exports=axe),"function"==typeof window.getComputedStyle&&(window.axe=axe),(S.prototype=Object.create(Error.prototype)).constructor=S;var I=["node"],P=["node"],j=["variant"],B=["matches"],M=["chromium"],L=["noImplicit"],V=["noPresentational"],z=["nodes"],$=["node"],U=["relatedNodes"],H=["environmentData"],W=["environmentData"],G=["node"],K=["environmentData"],Y=["environmentData"],J=["environmentData"];function X(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Q(e,t)}function Q(e,t){return(Q=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Z(n){var a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var e,t=ne(n),t=(e=a?(e=ne(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(e&&("object"===ee(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return te(t)}}function te(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ne(e){return(ne=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function m(e,t){if(null==e)return{};var n,a=function(e,t){if(null==e)return{};var n,a,r={},o=Object.keys(e);for(a=0;a=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:t};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function le(e,t){var n;if(e)return"string"==typeof e?se(e,t):"Map"===(n="Object"===(n=Object.prototype.toString.call(e).slice(8,-1))&&e.constructor?e.constructor.name:n)||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?se(e,t):void 0}function se(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n":!0,"?":!0,"@":!0,"[":!0,"\\":!0,"]":!0,"^":!0,"`":!0,"{":!0,"|":!0,"}":!0,"~":!0},i.strReplacementsRev={"\n":"\\n","\r":"\\r","\t":"\\t","\f":"\\f","\v":"\\v"},i.singleQuoteEscapeChars={n:"\n",r:"\r",t:"\t",f:"\f","\\":"\\","'":"'"},i.doubleQuotesEscapeChars={n:"\n",r:"\r",t:"\t",f:"\f","\\":"\\",'"':'"'}}}),we=e({"node_modules/css-selector-parser/lib/parser-context.js":function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var b=ve();e.parseCssSelector=function(o,i,l,s,r,u){var c=o.length,d="";function p(e,t){var n="";for(i++,d=o.charAt(i);i"}}}}),zt=e({"node_modules/es5-ext/to-short-string-representation.js":function(e,t){"use strict";var n=Vt(),a=/[\n\r\u2028\u2029]/g;t.exports=function(e){e=n(e);return e=(e=100":">",'"':""","'":"'","/":"/"},n=e?/[&<>"'\/]/g:/&(?!#?\w+;)|<|>|"|'|\//g;return function(e){return e?e.toString().replace(n,function(e){return t[e]||e}):""}},void 0!==t&&t.exports?t.exports=l:"function"==typeof define&&define.amd?define(function(){return l}):globalThis.doT=l;var s={append:{start:"'+(",end:")+'",startencode:"'+encodeHTML("},split:{start:"';out+=(",end:");out+='",startencode:"';out+=encodeHTML("}},u=/$^/;function c(e){return e.replace(/\\('|\\)/g,"$1").replace(/[\r\t\n]/g," ")}l.template=function(e,t,n){var a,r,o=(t=t||l.templateSettings).append?s.append:s.split,i=0,n=t.use||t.define?function n(r,e,o){return("string"==typeof e?e:e.toString()).replace(r.define||u,function(e,a,t,n){return(a=0===a.indexOf("def.")?a.substring(4):a)in o||(":"===t?(r.defineParams&&n.replace(r.defineParams,function(e,t,n){o[a]={arg:t,text:n}}),a in o||(o[a]=n)):new Function("def","def['"+a+"']="+n)(o)),""}).replace(r.use||u,function(e,t){return r.useParams&&(t=t.replace(r.useParams,function(e,t,n,a){var r;if(o[n]&&o[n].arg&&a)return r=(n+":"+a).replace(/'|\\/g,"_"),o.__exp=o.__exp||{},o.__exp[r]=o[n].text.replace(new RegExp("(^|[^\\w$])"+o[n].arg+"([^\\w$])","g"),"$1"+a+"$2"),t+"def.__exp['"+r+"']"})),(t=new Function("def","return "+t)(o))&&n(r,t,o)})}(t,e,n||{}):e,n=("var out='"+(t.strip?n.replace(/(^|\r|\n)\t* +| +\t*(\r|\n|$)/g," ").replace(/\r|\n|\t|\/\*[\s\S]*?\*\//g,""):n).replace(/'|\\/g,"\\$&").replace(t.interpolate||u,function(e,t){return o.start+c(t)+o.end}).replace(t.encode||u,function(e,t){return a=!0,o.startencode+c(t)+o.end}).replace(t.conditional||u,function(e,t,n){return t?n?"';}else if("+c(n)+"){out+='":"';}else{out+='":n?"';if("+c(n)+"){out+='":"';}out+='"}).replace(t.iterate||u,function(e,t,n,a){return t?(i+=1,r=a||"i"+i,t=c(t),"';var arr"+i+"="+t+";if(arr"+i+"){var "+n+","+r+"=-1,l"+i+"=arr"+i+".length-1;while("+r+">0},ToUint32:function(e){return e>>>0}}),f=Math.LN2,m=Math.abs,h=Math.floor,g=Math.log,b=Math.min,y=Math.pow,r=Math.round;function s(e){if(F&&E)for(var t=F(e),n=0;na)throw new RangeError("Array too large for polyfill");for(var e=0;e>t}function C(e,t){t=32-t;return e<>>t}function B(e){return[255&e]}function M(e){return A(e[0],8)}function L(e){return[255&e]}function k(e){return C(e[0],8)}function q(e){return[(e=r(Number(e)))<0?0:255>8&255,255&e]}function z(e){return A(e[0]<<8|e[1],16)}function $(e){return[e>>8&255,255&e]}function U(e){return C(e[0]<<8|e[1],16)}function H(e){return[e>>24&255,e>>16&255,e>>8&255,255&e]}function W(e){return A(e[0]<<24|e[1]<<16|e[2]<<8|e[3],32)}function G(e){return[e>>24&255,e>>16&255,e>>8&255,255&e]}function K(e){return C(e[0]<<24|e[1]<<16|e[2]<<8|e[3],32)}function N(e,t,n){var a,r,o,i,l,s,u,c=(1<=y(2,1-c)?(r=b(h(g(e)/f),1023),2<=(o=d(e/y(2,r)*y(2,n)))/y(2,n)&&(r+=1,o=1),c>=1;return u.reverse(),s=u.join(""),o=(1<this.buffer.byteLength)throw new RangeError("byteOffset out of range");if(this.byteOffset%this.BYTES_PER_ELEMENT)throw new RangeError("ArrayBuffer length minus the byteOffset is not a multiple of the element size.");if(arguments.length<3){if(this.byteLength=this.buffer.byteLength-this.byteOffset,this.byteLength%this.BYTES_PER_ELEMENT)throw new RangeError("length of buffer minus byteOffset not a multiple of the element size");this.length=this.byteLength/this.BYTES_PER_ELEMENT}else this.length=p.ToUint32(n),this.byteLength=this.length*this.BYTES_PER_ELEMENT;if(this.byteOffset+this.byteLength>this.buffer.byteLength)throw new RangeError("byteOffset and length reference an area beyond the end of the buffer")}else for(this.length=p.ToUint32((r=e).length),this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new T(this.byteLength),o=this.byteOffset=0;o=this.length)){for(var t=[],n=0,a=this.byteOffset+e*this.BYTES_PER_ELEMENT;n=this.length))for(var n=this._pack(t),a=0,r=this.byteOffset+e*this.BYTES_PER_ELEMENT;athis.length)throw new RangeError("Offset plus length of array is out of range");if(u=this.byteOffset+r*this.BYTES_PER_ELEMENT,c=n.length*this.BYTES_PER_ELEMENT,n.buffer===this.buffer){for(d=[],i=0,l=n.byteOffset;ithis.length)throw new RangeError("Offset plus length of array is out of range");for(i=0;ithis.buffer.byteLength)throw new RangeError("byteOffset out of range");if(this.byteLength=arguments.length<3?this.buffer.byteLength-this.byteOffset:p.ToUint32(n),this.byteOffset+this.byteLength>this.buffer.byteLength)throw new RangeError("byteOffset and length reference an area beyond the end of the buffer");s(this)}function I(o){return function(e,t){if((e=p.ToUint32(e))+o.BYTES_PER_ELEMENT>this.byteLength)throw new RangeError("Array index out of range");e+=this.byteOffset;for(var n=new l.Uint8Array(this.buffer,e,o.BYTES_PER_ELEMENT),a=[],r=0;rthis.byteLength)throw new RangeError("Array index out of range");for(var t=new i([t]),a=new l.Uint8Array(t.buffer),r=[],o=0;o",sameOrigin:""},f=([{name:"NA",value:"inapplicable",priority:0,group:"inapplicable"},{name:"PASS",value:"passed",priority:1,group:"passes"},{name:"CANTTELL",value:"cantTell",priority:2,group:"incomplete"},{name:"FAIL",value:"failed",priority:3,group:"violations"}].forEach(function(e){var t=e.name,n=e.value,a=e.priority,e=e.group;an[t]=n,an[t+"_PRIO"]=a,an[t+"_GROUP"]=e,an.results[a]=n,an.resultGroups[a]=e,an.resultGroupMap[n]=e}),Object.freeze(an.results),Object.freeze(an.resultGroups),Object.freeze(an.resultGroupMap),Object.freeze(an),an),rn=function(){"object"===("undefined"==typeof console?"undefined":ee(console))&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},on=/[\t\r\n\f]/g;function ln(){ae(this,ln),this.parent=void 0}oe(ln,[{key:"props",get:function(){throw new Error('VirtualNode class must have a "props" object consisting of "nodeType" and "nodeName" properties')}},{key:"attrNames",get:function(){throw new Error('VirtualNode class must have an "attrNames" property')}},{key:"attr",value:function(){throw new Error('VirtualNode class must have an "attr" function')}},{key:"hasAttr",value:function(){throw new Error('VirtualNode class must have a "hasAttr" function')}},{key:"hasClass",value:function(e){var t=this.attr("class");return!!t&&(e=" "+e+" ",0<=(" "+t+" ").replace(on," ").indexOf(e))}}]);var g=ln,sn={},un=(ue(sn,{DqElement:function(){return Yn},aggregate:function(){return un},aggregateChecks:function(){return hn},aggregateNodeResults:function(){return bn},aggregateResult:function(){return vn},areStylesSet:function(){return wn},assert:function(){return d},checkHelper:function(){return Jn},clone:function(){return Xn},closest:function(){return D},collectResultsFromFrames:function(){return Xa},contains:function(){return Qa},convertSelector:function(){return ra},cssParser:function(){return Qn},deepMerge:function(){return Za},escapeSelector:function(){return b},extendMetaData:function(){return er},filterHtmlAttrs:function(){return il},finalizeRuleResult:function(){return gn},findBy:function(){return Ka},getAllChecks:function(){return Ga},getAncestry:function(){return Hn},getBaseLang:function(){return oi},getCheckMessage:function(){return fi},getCheckOption:function(){return mi},getEnvironmentData:function(){return hi},getFlattenedTree:function(){return ri},getFrameContexts:function(){return vi},getFriendlyUriEnd:function(){return Cn},getNodeAttributes:function(){return kn},getNodeFromTree:function(){return w},getPreloadConfig:function(){return el},getRootNode:function(){return rr},getRule:function(){return wi},getScroll:function(){return Di},getScrollState:function(){return Ei},getSelector:function(){return $n},getSelectorData:function(){return Ln},getShadowSelector:function(){return Tn},getStandards:function(){return Fi},getStyleSheetFactory:function(){return Ci},getXpath:function(){return Wn},injectStyle:function(){return ki},isHidden:function(){return Ni},isHtmlElement:function(){return Ri},isNodeInContext:function(){return Si},isShadowRoot:function(){return nr},isValidLang:function(){return hl},isXHTML:function(){return Rn},matchAncestry:function(){return Ii},matches:function(){return ia},matchesExpression:function(){return oa},matchesSelector:function(){return Nn},memoize:function(){return ur},mergeResults:function(){return Ja},nodeSorter:function(){return Pi},parseCrossOriginStylesheet:function(){return Mi},parseSameOriginStylesheet:function(){return ji},parseStylesheet:function(){return Bi},performanceTimer:function(){return l},pollyfillElementsFromPoint:function(){return zi},preload:function(){return tl},preloadCssom:function(){return Yi},preloadMedia:function(){return Qi},processMessage:function(){return pi},publishMetaData:function(){return al},querySelectorAll:function(){return R},querySelectorAllFilter:function(){return Ki},queue:function(){return pa},respondable:function(){return za},ruleShouldRun:function(){return ol},select:function(){return sl},sendCommandToFrame:function(){return Ua},setScrollState:function(){return ul},shadowSelect:function(){return cl},shouldPreload:function(){return Zi},toArray:function(){return Dn},tokenList:function(){return N},uniqueArray:function(){return Hi},uuid:function(){return Fa},validInputTypes:function(){return dl},validLangs:function(){return fl}}),function(t,e,n){return e=e.slice(),n&&e.push(n),n=e.map(function(e){return t.indexOf(e)}).sort(),t[n.pop()]}),cn=f.CANTTELL_PRIO,dn=f.FAIL_PRIO,pn=[],fn=(pn[f.PASS_PRIO]=!0,pn[f.CANTTELL_PRIO]=null,pn[f.FAIL_PRIO]=!1,["any","all","none"]);function mn(n,a){fn.reduce(function(e,t){return e[t]=(n[t]||[]).map(function(e){return a(e,t)}),e},{})}var hn=function(e){var n=Object.assign({},e),a=(mn(n,function(e,t){var n=void 0===e.result?-1:pn.indexOf(e.result);e.priority=-1!==n?n:f.CANTTELL_PRIO,"none"===t&&(e.priority===f.PASS_PRIO?e.priority=f.FAIL_PRIO:e.priority===f.FAIL_PRIO&&(e.priority=f.PASS_PRIO))}),{all:n.all.reduce(function(e,t){return Math.max(e,t.priority)},0),none:n.none.reduce(function(e,t){return Math.max(e,t.priority)},0),any:n.any.reduce(function(e,t){return Math.min(e,t.priority)},4)%4}),r=(n.priority=Math.max(a.all,a.none,a.any),[]);return fn.forEach(function(t){n[t]=n[t].filter(function(e){return e.priority===n.priority&&e.priority===a[t]}),n[t].forEach(function(e){return r.push(e.impact)})}),[cn,dn].includes(n.priority)?n.impact=un(f.impact,r):n.impact=null,mn(n,function(e){delete e.result,delete e.priority}),n.result=f.results[n.priority],delete n.priority,n},gn=function(t){var n=axe._audit.rules.find(function(e){return e.id===t.id});return n&&n.impact&&t.nodes.forEach(function(t){["any","all","none"].forEach(function(e){(t[e]||[]).forEach(function(e){e.impact=n.impact})})}),Object.assign(t,bn(t.nodes)),delete t.nodes,t},bn=function(e){var n={},t=((e=e.map(function(e){if(e.any&&e.all&&e.none)return hn(e);if(Array.isArray(e.node))return gn(e);throw new TypeError("Invalid Result type")}))&&e.length?(t=e.map(function(e){return e.result}),n.result=un(f.results,t,n.result)):n.result="inapplicable",f.resultGroups.forEach(function(e){return n[e]=[]}),e.forEach(function(e){var t=f.resultGroupMap[e.result];n[t].push(e)}),f.FAIL_GROUP);return 0===n[t].length&&(t=f.CANTTELL_GROUP),0=t.length/2}(l)?En(l):void 0},kn=function(e){return(e.attributes instanceof window.NamedNodeMap?e:e.cloneNode(!1)).attributes},Nn=function(e,t){return!!e[Fn=Fn&&e[Fn]?Fn:function(e){for(var t,n=["matches","matchesSelector","mozMatchesSelector","webkitMatchesSelector","msMatchesSelector"],a=n.length,r=0;r "+a:i,r=r?r.filter(function(e){return Nn(e,a)}):Array.from(n.querySelectorAll(a)),e=e.parentElement}while((1 ")?":root"+a.substring(a.indexOf(" > ")):":root"}function $n(e,t){return Tn(zn,e,t)}function Un(e){var t,n=e.nodeName.toLowerCase(),a=e.parentElement;return a?(t="","head"!==n&&"body"!==n&&1 "+n+t):n}function Hn(e,t){return Tn(Un,e,t)}var Wn=function(e){return function e(t,n){var a,r,o,i;if(!t)return[];if(!n&&9===t.nodeType)return n=[{str:"html"}];if(n=n||[],t.parentNode&&t.parentNode!==t&&(n=e(t.parentNode,n)),t.previousSibling){for(r=1,a=t.previousSibling;1===a.nodeType&&a.nodeName===t.nodeName&&r++,a=a.previousSibling;);1===r&&(r=null)}else if(t.nextSibling)for(a=t.nextSibling;a=1===a.nodeType&&a.nodeName===t.nodeName?(r=1,null):(r=null,a.previousSibling););return 1===t.nodeType&&((o={}).str=t.nodeName.toLowerCase(),(i=t.getAttribute&&b(t.getAttribute("id")))&&1===t.ownerDocument.querySelectorAll("#"+i).length&&(o.id=t.getAttribute("id")),1(n=n||300)&&(n=t.indexOf(">"),t=t.substring(0,n+1)),t):"")}Kn.prototype={get selector(){return this.spec.selector||[$n(this.element,this._options)]},get ancestry(){return this.spec.ancestry||[Hn(this.element)]},get xpath(){return this.spec.xpath||[Wn(this.element)]},get element(){return this._element},toJSON:function(){return{selector:this.selector,source:this.source,xpath:this.xpath,ancestry:this.ancestry,nodeIndexes:this.nodeIndexes}}},Kn.fromFrame=function(e,t,n){e=Kn.mergeSpecs(e,n);return new Kn(n.element,t,e)},Kn.mergeSpecs=function(e,t){return p({},e,{selector:[].concat(v(t.selector),v(e.selector)),ancestry:[].concat(v(t.ancestry),v(e.ancestry)),xpath:[].concat(v(t.xpath),v(e.xpath)),nodeIndexes:[].concat(v(t.nodeIndexes),v(e.nodeIndexes))})};var Yn=Kn,Jn=function(t,n,a,r){return{isAsync:!1,async:function(){return this.isAsync=!0,function(e){e instanceof Error==!1?(t.result=e,a(t)):r(e)}},data:function(e){t.data=e},relatedNodes:function(e){window.Node&&(e=e instanceof window.Node?[e]:Dn(e)).every(function(e){return e instanceof window.Node||e.actualNode})&&(t.relatedNodes=e.map(function(e){return new Yn(e,n)}))}}},Xn=function e(t){var n,a,r,o=t;if(null!=(n=window)&&n.Node&&t instanceof window.Node||null!=(n=window)&&n.HTMLCollection&&t instanceof window.HTMLCollection)return t;if(null!==t&&"object"===ee(t))if(Array.isArray(t))for(o=[],a=0,r=t.length;a"),t.registerAttrEqualityMods("^","$","*","~"),t);function Zn(e,t){return i=t,1===(o=e).props.nodeType&&("*"===i.tag||o.props.nodeName===i.tag)&&(r=e,(!(o=t).classes||o.classes.every(function(e){return r.hasClass(e.value)}))&&(a=e,!(i=t).attributes||i.attributes.every(function(e){var t=a.attr(e.key);return null!==t&&e.test(t)}))&&(o=e,!(i=t).id||o.props.id===i.id)&&(n=e,!((o=t).pseudos&&!o.pseudos.every(function(e){if("not"===e.name)return!e.expressions.some(function(e){return oa(n,e)});if("is"===e.name)return e.expressions.some(function(e){return oa(n,e)});throw new Error("the pseudo selector "+e.name+" has not yet been implemented")}))));var n,a,r,o,i}ea=/(?=[\-\[\]{}()*+?.\\\^$|,#\s])/g;var ea,ta=function(e){return e.replace(ea,"\\")},na=/\\/g;function aa(e){return e.map(function(e){for(var t=[],n=e.rule;n;)t.push({tag:n.tagName?n.tagName.toLowerCase():"*",combinator:n.nestingOperator||" ",id:n.id,attributes:function(e){if(e)return e.map(function(e){var t,n,a=e.name.replace(na,""),r=(e.value||"").replace(na,"");switch(e.operator){case"^=":n=new RegExp("^"+ta(r));break;case"$=":n=new RegExp(ta(r)+"$");break;case"~=":n=new RegExp("(^|\\s)"+ta(r)+"(\\s|$)");break;case"|=":n=new RegExp("^"+ta(r)+"(-|$)");break;case"=":t=function(e){return r===e};break;case"*=":t=function(e){return e&&e.includes(r)};break;case"!=":t=function(e){return r!==e};break;default:t=function(e){return null!==e}}return""===r&&/^[*$^]=$/.test(e.operator)&&(t=function(){return!1}),{key:a,value:r,type:void 0===e.value?"attrExist":"attrValue",test:t=t||function(e){return e&&n.test(e)}}})}(n.attrs),classes:function(e){if(e)return e.map(function(e){return{value:e=e.replace(na,""),regexp:new RegExp("(^|\\s)"+ta(e)+"(\\s|$)")}})}(n.classNames),pseudos:function(e){if(e)return e.map(function(e){var t;return["is","not"].includes(e.name)&&(t=aa(t=(t=e.value).selectors||[t])),{name:e.name,expressions:t,value:e.value}})}(n.pseudos)}),n=n.rule;return t})}function ra(e){e=Qn.parse(e);return aa(e.selectors||[e])}function oa(e,t,n){return function e(t,n,a,r){if(!t)return!1;for(var o=Array.isArray(n)?n[a]:n,i=Zn(t,o);!i&&r&&t.parent;)i=Zn(t=t.parent,o);if(0"].includes(o.combinator))throw new Error("axe.utils.matchesExpression does not support the combinator: "+o.combinator);i=i&&e(t.parent,n,a-1," "===o.combinator)}return i}(e,t,t.length-1,n)}var ia=function(t,e){return ra(e).some(function(e){return oa(t,e)})},D=function(e,t){for(;e;){if(ia(e,t))return e;if(void 0===e.parent)throw new TypeError("Cannot resolve parent for non-DOM nodes");e=e.parent}return null};function la(){}function sa(e){if("function"!=typeof e)throw new TypeError("Queue methods require functions as arguments")}for(var ua,ca,da,pa=function(){function t(e){a=e,setTimeout(function(){null!=a&&rn("Uncaught error (of queue)",a)},1)}var a,r=[],n=0,o=0,i=la,l=!1,s=t;function u(e){return i=la,s(e),r}function c(){for(var e=r.length;n>>((3&t)<<3)&255;return da}),"function"==typeof window.Buffer?window.Buffer:Array),n=[],ha={},ga=0;ga<256;ga++)n[ga]=(ga+256).toString(16).substr(1),ha[n[ga]]=ga;function ba(e,t){t=t||0;return n[e[t++]]+n[e[t++]]+n[e[t++]]+n[e[t++]]+"-"+n[e[t++]]+n[e[t++]]+"-"+n[e[t++]]+n[e[t++]]+"-"+n[e[t++]]+n[e[t++]]+"-"+n[e[t++]]+n[e[t++]]+n[e[t++]]+n[e[t++]]+n[e[t++]]+n[e[+t]]}var ya=[1|(t=ua())[0],t[1],t[2],t[3],t[4],t[5]],va=16383&(t[6]<<8|t[7]),wa=0,Da=0;function xa(e,t,n){var a=t&&n||0,r=t||[],n=null!=(e=e||{}).clockseq?e.clockseq:va,o=null!=e.msecs?e.msecs:(new Date).getTime(),i=null!=e.nsecs?e.nsecs:Da+1,l=o-wa+(i-Da)/1e4;if(l<0&&null==e.clockseq&&(n=n+1&16383),1e4<=(i=(l<0||wa>>24&255,r[a++]=l>>>16&255,r[a++]=l>>>8&255,r[a++]=255&l,o/4294967296*1e4&268435455),s=(r[a++]=i>>>8&255,r[a++]=255&i,r[a++]=i>>>24&15|16,r[a++]=i>>>16&255,r[a++]=n>>>8|128,r[a++]=255&n,e.node||ya),u=0;u<6;u++)r[a+u]=s[u];return t||ba(r)}function Ea(e,t,n){var a=t&&n||0,r=("string"==typeof e&&(t="binary"==e?new ma(16):null,e=null),(e=e||{}).random||(e.rng||ua)());if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t)for(var o=0;o<16;o++)t[a+o]=r[o];return t||ba(r)}(t=Ea).v1=xa,t.v4=Ea,t.parse=function(e,t,n){var a=t&&n||0,r=0;for(t=t||[],e.toLowerCase().replace(/[0-9a-f]{2}/g,function(e){r<16&&(t[a+r++]=ha[e])});r<16;)t[a+r++]=0;return t},t.unparse=ba,t.BufferClass=ma,axe._uuid=xa();var Fa=Ea,Aa=Object.freeze(["EvalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"]);function Ca(e){var t,n,a,r;try{t=JSON.parse(e)}catch(e){return}if(null!==(e=t)&&"object"===ee(e)&&"string"==typeof e.channelId&&e.source===ka())return n=(e=t).topic,a=e.channelId,r=e.messageId,e=e.keepalive,{topic:n,message:"object"===ee(t.error)?function(e){var t=e.message||"Unknown error occurred",n=Aa.includes(e.name)?e.name:"Error",n=window[n]||Error;e.stack&&(t+="\n"+e.stack.replace(e.message,""));return new n(t)}(t.error):t.payload,messageId:r,channelId:a,keepalive:!!e}}function ka(){var e="axeAPI",t="";return(e=void 0!==axe&&axe._audit&&axe._audit.application?axe._audit.application:e)+"."+(t=void 0!==axe?axe.version:t)}function Na(e){Ta(e),d(window.parent===e,"Source of the response must be the parent window.")}function Ra(e){Ta(e),d(e.parent===window,"Respondable target must be a frame in the current window")}function Ta(e){d(window!==e,"Messages can not be sent to the same window.")}var _a={},Oa=[];function Sa(){var e="".concat(Ea(),":").concat(Ea());return Oa.includes(e)?Sa():(Oa.push(e),e)}function Ia(n,e,t,a){var r,o;return"function"==typeof a&&function(e,t,n){var a=!(2(0|t.left)&&(0|e.top)<(0|t.bottom)&&(0|e.bottom)>(0|t.top)}var dr=/rect\s*\(([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px\s*\)/,pr=/(\w+)\((\d+)/;function fr(e){return["style","script","noscript","template"].includes(e.props.nodeName)}function mr(e){return"area"!==e.props.nodeName&&"none"===e.getComputedStylePropertyValue("display")}function hr(e){return!(1=n)return!0;return!1}},Sr=[yr,vr,wr,xr,Or];function E(e){return e=e instanceof g?e:w(e),Ir(e)}var Ir=ur(function(t,n){return t.actualNode&&"area"===t.props.nodeName?!Er(t,Ir):!Cr(t,{skipAncestors:!0,isAncestor:n})&&((!t.actualNode||!Sr.some(function(e){return e(t,{isAncestor:n})}))&&(!t.parent||Ir(t.parent,!0)))});function Pr(){var e=0e._stackingOrder[a])return 1;if(t._stackingOrder[a]e.cells.length||r>e.numCols)throw new Error("Element midpoint exceeds the grid bounds");o=null!=(r=null==(o=e.cells[o][r])?void 0:o.filter(function(e){return e.clientRects.find(function(e){var t=e.left,n=e.top;return i<(t+e.width|0)&&(0|t)<=i&&l<(n+e.height|0)&&(0|n)<=l})}))?r:[],r=e.container;return r&&(o=Hr(r._grid,r.boundingClientRect,!0).concat(o)),o=a?o:o.sort($r).map(function(e){return e.actualNode}).concat(document.documentElement).filter(function(e,t,n){return n.indexOf(e)===t})}var Wr=function(e){Pr();var t=(e=w(e))._grid;return t?Hr(t,e.boundingClientRect):[]},Gr=function(e){return R(e,"*").filter(function(e){var t=e.isFocusable,e=e.actualNode.getAttribute("tabindex");return(e=e&&!isNaN(parseInt(e,10))?parseInt(e):null)?t&&0<=e:t})},F=function(e){return e?e.replace(/\r\n/g,"\n").replace(/\u00A0/g," ").replace(/[\s]{2,}/g," ").trim():""},Kr=function(e){Pr();var o,i,t=w(e),n=t._grid;return n?(o=t.boundingClientRect,i=[],Array.from(e.childNodes).forEach(function(e){if(3===e.nodeType&&""!==F(e.textContent)){var t=document.createRange(),n=(t.selectNodeContents(e),t.getClientRects()),e=Array.from(n).some(function(e){var t=e.left+e.width/2,e=e.top+e.height/2;return to.right||eo.bottom});if(!e)for(var a=0;ar.length))},Ao=function(e){if(e=(e=e||{}).modalPercent||.75,y.get("isModalOpen"))return y.get("isModalOpen");if(Ki(axe._tree[0],"dialog, [role=dialog], [aria-modal=true]",E).length)return y.set("isModalOpen",!0),!0;for(var t=_r(window),n=t.width*e,a=t.height*e,e=(t.width-n)/2,r=(t.height-a)/2,o=[{x:e,y:r},{x:t.width-e,y:r},{x:t.width/2,y:t.height/2},{x:e,y:t.height-r},{x:t.width-e,y:t.height-r}].map(function(e){return Array.from(document.elementsFromPoint(e.x,e.y))}),i=0;i=n&&parseInt(e.height,10)>=a&&"none"!==e.getPropertyValue("pointer-events")&&("absolute"===e.position||"fixed"===e.position)});if(t&&o.every(function(e){return e.includes(t)}))return y.set("isModalOpen",!0),{v:!0}}(i);if("object"===ee(l))return l.v}y.set("isModalOpen",void 0)};function Co(e){var t,n=1l.top+n)r=Math.max(r,l.bottom);else{if(0!==o)return!0;r=l.bottom,o++}}}catch(e){i.e(e)}finally{i.f()}return!1}var ko=function(e){return e instanceof window.Node},No={},k={set:function(e,t){if("string"!=typeof e)throw new Error("Incomplete data: key must be a string");return t&&(No[e]=t),No[e]},get:function(e){return No[e]},clear:function(){No={}}},Ro=function(e,t){var n=e.nodeName.toUpperCase();return["IMG","CANVAS","OBJECT","IFRAME","VIDEO","SVG"].includes(n)?(k.set("bgColor","imgNode"),!0):((e="none"!==(n=(t=t||window.getComputedStyle(e)).getPropertyValue("background-image")))&&(t=/gradient/.test(n),k.set("bgColor",t?"bgGradient":"bgImage")),e)},u=function(e,t,n,a){this.red=e,this.green=t,this.blue=n,this.alpha=a,this.toHexString=function(){var e=Math.round(this.red).toString(16),t=Math.round(this.green).toString(16),n=Math.round(this.blue).toString(16);return"#"+(15.5Math.ceil(s.left+s.width)||Math.floor(e.top+e.height)>Math.ceil(s.top+s.height))}))}while(e=u);return!1}function qo(e){for(var t=w(e).parent;t;){if(Di(t.actualNode))return t.actualNode;t=t.parent}}var Vo,zo,$o=function a(r,o){var t=2r&&e.left>n.right||e.top>a&&e.top>n.bottom||e.rightn.right||e.top>n.bottom)||("scroll"===r.overflow||"auto"===r.overflow||t instanceof window.HTMLBodyElement||t instanceof window.HTMLHtmlElement))},Wo=0;function Go(e,t,n){var a;return ae(this,Go),(a=zo.call(this)).shadowId=n,a.children=[],a.actualNode=e,(a.parent=t)||(Wo=0),a.nodeIndex=Wo++,a._isHidden=null,a._cache={},void 0===Vo&&(Vo=Rn(e.ownerDocument)),a._isXHTML=Vo,"input"===e.nodeName.toLowerCase()&&(n=e.getAttribute("type"),n=a._isXHTML?n:(n||"").toLowerCase(),dl().includes(n)||(n="text"),a._type=n),y.get("nodeMap")&&y.get("nodeMap").set(e,te(a)),a}X(Go,g),zo=Z(Go),oe(Go,[{key:"props",get:function(){var e,t,n,a,r,o,i;return this._cache.hasOwnProperty("props")||(e=(i=this.actualNode).nodeType,t=i.nodeName,n=i.id,a=i.multiple,r=i.nodeValue,o=i.value,i=i.selected,this._cache.props={nodeType:e,nodeName:this._isXHTML?t:t.toLowerCase(),id:n,type:this._type,multiple:a,nodeValue:r,value:o,selected:i}),this._cache.props}},{key:"attr",value:function(e){return"function"!=typeof this.actualNode.getAttribute?null:this.actualNode.getAttribute(e)}},{key:"hasAttr",value:function(e){return"function"==typeof this.actualNode.hasAttribute&&this.actualNode.hasAttribute(e)}},{key:"attrNames",get:function(){var e;return this._cache.hasOwnProperty("attrNames")||(e=(this.actualNode.attributes instanceof window.NamedNodeMap?this.actualNode:this.actualNode.cloneNode(!1)).attributes,this._cache.attrNames=Array.from(e).map(function(e){return e.name})),this._cache.attrNames}},{key:"getComputedStylePropertyValue",value:function(e){var t="computedStyle_"+e;return this._cache.hasOwnProperty(t)||(this._cache.hasOwnProperty("computedStyle")||(this._cache.computedStyle=window.getComputedStyle(this.actualNode)),this._cache[t]=this._cache.computedStyle.getPropertyValue(e)),this._cache[t]}},{key:"isFocusable",get:function(){return this._cache.hasOwnProperty("isFocusable")||(this._cache.isFocusable=A(this.actualNode)),this._cache.isFocusable}},{key:"tabbableElements",get:function(){return this._cache.hasOwnProperty("tabbableElements")||(this._cache.tabbableElements=Gr(this)),this._cache.tabbableElements}},{key:"clientRects",get:function(){return this._cache.hasOwnProperty("clientRects")||(this._cache.clientRects=Array.from(this.actualNode.getClientRects()).filter(function(e){return 0e.clientWidth+a,a=e.scrollHeight>e.clientHeight+a;if(r||a)return t=xi(n=window.getComputedStyle(e),"overflow-x"),n=xi(n,"overflow-y"),r&&t||a&&n?{elm:e,top:e.scrollTop,left:e.scrollLeft}:void 0}function xi(e,t){e=e.getPropertyValue(t);return["scroll","auto"].includes(e)}var Ei=function(){var e=0=n.startTime}),r=0;r>>0,r=arguments[1],o=0;o>>0,o=0;o>>0,a=2<=arguments.length?arguments[1]:void 0,r=0;rthis.length)&&-1!==this.indexOf(e,t)}),Array.prototype.flat||Object.defineProperty(Array.prototype,"flat",{configurable:!0,value:function n(){var a=isNaN(arguments[0])?1:Number(arguments[0]);return a?Array.prototype.reduce.call(this,function(e,t){return Array.isArray(t)?e.push.apply(e,n.call(t,a-1)):e.push(t),e},[]):Array.prototype.slice.call(this)},writable:!0}),!window.Node||"isConnected"in window.Node.prototype||Object.defineProperty(window.Node.prototype,"isConnected",{get:function(){return!(this.ownerDocument&&this.ownerDocument.compareDocumentPosition(this)&this.DOCUMENT_POSITION_DISCONNECTED)}});var Hi=function(e,t){return e.concat(t).filter(function(e,t,n){return n.indexOf(e)===t})};function Wi(e,t,n,a,r){r=r||{};return r.vNodes=e,r.vNodesIndex=0,r.anyLevel=t,r.thisLevel=n,r.parentShadowId=a,r}var Gi=[],Ki=function(e,t,n){e=Array.isArray(e)?e:[e];t=ra(t);if(a=Xo(e,t,n))return a;for(var a=e,e=t,r=n,o=[],i=Wi(Array.isArray(a)?a:[a],e,null,a[0].shadowId,Gi.pop()),l=[];i.vNodesIndex"].includes(g[0].combinator))throw new Error("axe.utils.querySelectorAll does not support the combinator: "+h[1].combinator);(">"===g[0].combinator?c=c||[]:d=d||[]).push(g)}h[0].id&&u.shadowId!==i.parentShadowId||null==(g=i.anyLevel)||!g.includes(h)||(d=d||[]).push(h)}for(u.children&&u.children.length&&(o.push(i),i=Wi(u.children,d,c,u.shadowId,Gi.pop()));i.vNodesIndex===i.vNodes.length&&o.length;)Gi.push(i),i=o.pop()}return l},Yi=function(e){var t,n,l,s,e=void 0===(e=e.treeRoot)?axe._tree[0]:e;return t=[],e=Ki(e=e,"*",function(e){return!t.includes(e.shadowId)&&(t.push(e.shadowId),!0)}).map(function(e){return{shadowId:e.shadowId,rootNode:rr(e.actualNode)}}),(e=Hi(e,[])).length?(n=document.implementation.createHTMLDocument("Dynamic document for loading cssom"),n=Ci(n),l=n,s=[],e.forEach(function(e,t){var n=e.rootNode,e=e.shadowId,a=function(e,t,n){t=11===e.nodeType&&t?function(a,r){return Array.from(a.children).filter(Ji).reduce(function(e,t){var n=t.nodeName.toUpperCase(),t="STYLE"===n?t.textContent:t,t=r({data:t,isLink:"LINK"===n,root:a});return e.push(t.sheet),e},[])}(e,n):function(e){return Array.from(e.styleSheets).filter(function(e){return!!e.media&&Xi(e.media.mediaText)})}(e);return function(e){var t=[];return e.filter(function(e){if(e.href){if(t.includes(e.href))return!1;t.push(e.href)}return!0})}(t)}(n,e,l);if(!a)return Promise.all(s);var r=t+1,o={rootNode:n,shadowId:e,convertDataToStylesheet:l,rootIndex:r},i=[],t=Promise.all(a.map(function(e,t){return Bi(e,o,[r,t],i)}));s.push(t)}),Promise.all(s).then(function n(e){return e.reduce(function(e,t){return Array.isArray(t)?e.concat(n(t)):e.concat(t)},[])})):Promise.resolve()};function Ji(e){var t=e.nodeName.toUpperCase(),n=e.getAttribute("href"),a=e.getAttribute("rel"),n="LINK"===t&&n&&a&&e.rel.toUpperCase().includes("STYLESHEET");return"STYLE"===t||n&&Xi(e.media)}function Xi(e){return!e||!e.toUpperCase().includes("PRINT")}var Qi=function(e){return e=void 0===(e=e.treeRoot)?axe._tree[0]:e,e=Ki(e,"video, audio",function(e){e=e.actualNode;return e.hasAttribute("src")?!!e.getAttribute("src"):!(Array.from(e.getElementsByTagName("source")).filter(function(e){return!!e.getAttribute("src")}).length<=0)}),Promise.all(e.map(function(e){var n,e=e.actualNode;return n=e,new Promise(function(t){0?@\[\]^_`{|}~\xb1]/g}function Bs(){return/[\uDB80-\uDBBF][\uDC00-\uDFFF]/g}var Ms=function(e,t){var n=t.emoji,a=t.nonBmp,t=t.punctuations;return n?xl().test(e):a?Ps().test(e)||Bs().test(e):!!t&&js().test(e)},Ls=function(e){var t=1=n){if(i.numLigatures/i.occurances==1)return!0;if(0===i.numLigatures)return!1}i.occurances++;var n=30,s="".concat(n,"px ").concat(l),u=(r.font=s,a.charAt(0)),c=r.measureText(u).width,d=(c<30&&(c*=d=30/c,s="".concat(n*=d,"px ").concat(l)),o.width=c,o.height=n,r.font=s,r.textAlign="left",r.textBaseline="top",r.fillText(u,0,0),new Uint32Array(r.getImageData(0,0,c,n).data.buffer));if(!d.some(function(e){return e}))return i.numLigatures++,!0;r.clearRect(0,0,c,n),r.fillText(a,0,0);var p=new Uint32Array(r.getImageData(0,0,c,n).data.buffer),l=d.reduce(function(e,t,n){return 0===t&&0===p[n]||0!==t&&0!==p[n]?e:++e},0),o=a.split("").reduce(function(e,t){return e+r.measureText(t).width},0),s=r.measureText(a).width;return t<=l/d.length&&t<=1-s/o&&(i.numLigatures++,!0)};function qs(n){var e,t,a,r,o=function(e,t){t.startNode||(t=p({startNode:e},t));1===e.props.nodeType&&t.inLabelledByContext&&void 0===t.includeHidden&&(t=p({includeHidden:!c(e)},t));return t}(n,1 option, datalist > option, optgroup > option")},SELECT:function(e){var t=e.node,e=e.role;return!t.multiple&&t.size<=1&&"menu"===e},SVG:function(e){var t=e.node,e=e.out;return!(!t.parentNode||"http://www.w3.org/2000/svg"!==t.parentNode.namespaceURI)||e}},Qt.rolesOfType={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"]},Qt),pu=function(e){var t=null,e=du.role[e];return t=e&&e.implicit?Xn(e.implicit):t},fu=function(e){return!!tu(e).length},mu=function(e){return e=w(e),eo(e)},hu=function(e){return(e=C.ariaRoles[e])&&Array.isArray(e.requiredAttrs)?v(e.requiredAttrs):[]},gu=function(e){return(e=C.ariaRoles[e])&&Array.isArray(e.requiredContext)?v(e.requiredContext):null},bu=function(e){return(e=C.ariaRoles[e])&&Array.isArray(e.requiredOwned)?v(e.requiredOwned):null},yu=function(e,t){var n,a=(e=e instanceof g?e:w(e)).attr(t),r=C.ariaAttrs[t];if(!r)return!0;if(r.allowEmpty&&(!a||""===a.trim()))return!0;switch(r.type){case"boolean":return["true","false"].includes(a.toLowerCase());case"nmtoken":return"string"==typeof a&&r.values.includes(a.toLowerCase());case"nmtokens":return(n=N(a)).reduce(function(e,t){return e&&r.values.includes(t)},0!==n.length);case"idref":try{var o=x(e.actualNode);return!(!a||!o.getElementById(a))}catch(e){throw new TypeError("Cannot resolve id references for partial DOM")}case"idrefs":return Xr(e,t).some(function(e){return!!e});case"string":return""!==a.trim();case"decimal":return!(!(n=a.match(/^[-+]?([0-9]*)\.?([0-9]*)$/))||!n[1]&&!n[2]);case"int":o=void 0!==r.minValue?r.minValue:-1/0;return/^[-+]?[0-9]+$/.test(a)&&parseInt(a)>=o}},vu=function(e){return!!C.ariaAttrs[e]};function wu(e,t,n){return 0<(n=N(n.attr("role")).filter(function(e){return"abstract"===Do(e)})).length&&(this.data(n),!0)}function Du(e){var t=1window.innerWidth||e.top>window.innerHeight))return{x:Math.min(Math.ceil(e.left+e.width/2),window.innerWidth-1),y:Math.min(Math.ceil(e.top+e.height/2),window.innerHeight-1)}});function Gu(e){return e.getPropertyValue("font-family").split(/[,;]/g).map(function(e){return e.trim().toLowerCase()})}var Ku=function(e,t){var n,a=window.getComputedStyle(e);return"none"!==a.getPropertyValue("background-image")||(!!["border-bottom","border-top","outline"].reduce(function(e,t){var n=new u;return n.parseString(a.getPropertyValue(t+"-color")),e||"none"!==a.getPropertyValue(t+"-style")&&0 "),n[t]=e,!0):(t=e.node.ancestry.slice(0,e.node.ancestry.length-1).flat(1/0).join(" > "),n[t]&&(n[t].result=!0),!1)})}function l1(e,t){return!t.isViolation&&void 0}function s1(e,t){var n,a;if(e.duration)return t=void 0===(t=t.allowedDuration)?3:t,((n=e).currentSrc?(a=function(e){e=e.match(/#t=(.*)/);if(e)return h(e,2)[1].split(",").map(function(e){if(/:/.test(e)){for(var t=e.split(":"),n=0,a=1;0o[r]?l[n]=o[a]+o[e]/2:(e=i[a]+i[e]/2,t=Math.abs(e-o[a]),e=Math.abs(e-o[r]),l[n]=e<=t?o[a]:o[r])}),l),e=function(e,t,n){var a=e.x,e=e.y;if(function(e,t){var n=e.x,e=e.y;return e>=t.top&&n<=t.right&&e<=t.bottom&&n>=t.left}({x:a,y:e},n)){var r=function(e,t,n){var a,r,o=e.x,e=e.y;o===t.left&&t.rightn.left&&(a=t.left);e===t.top&&t.bottomn.top&&(r=t.top);{if(!a&&!r)return null;if(!r)return{x:a,y:e};if(!a)return{x:o,y:r}}return Math.abs(o-a)=a.right||n.right<=a.left||n.top>=a.bottom||n.bottom<=a.top)&&0<$r(e,t)}function m1(e,t){var a,r=[e],n=ie(t);try{function o(){var n=a.value;r=r.reduce(function(e,t){return e.concat(function(e,t){var n=e.top,a=e.left,r=e.bottom,o=e.right,i=nt.top,l=at.left,s=[];h1(t.top,n,r)&&l&&s.push({top:n,left:a,bottom:t.top,right:o});h1(t.right,a,o)&&i&&s.push({top:n,left:t.right,bottom:r,right:o});h1(t.bottom,n,r)&&l&&s.push({top:t.bottom,right:o,bottom:r,left:a});h1(t.left,a,o)&&i&&s.push({top:n,left:a,bottom:r,right:t.left});0===s.length&&s.push(e);return s.map(g1)}(t,n))},[])}for(n.s();!(a=n.n()).done;)o()}catch(e){n.e(e)}finally{n.f()}return r}ue(d1,{getOffset:function(){return p1},hasVisualOverlap:function(){return f1},rectsOverlap:function(){return cr},splitRects:function(){return m1}});var h1=function(e,t,n){return t=t.top&&e.left>=t.left&&e.bottom<=t.bottom&&e.right<=t.right}function v1(e){return{width:Math.round(10*e.width)/10,height:Math.round(10*e.height)/10}}function w1(e,t){return e.actualNode.contains(t.actualNode)&&!ho(t)}function D1(e,t){var n=t.width,t=t.height;return e<=n+b1&&e<=t+b1}function x1(e){return e.map(function(e){return e.actualNode})}function E1(e,t){var n=null==(n=t.data)?void 0:n.headingOrder,a=A1(t.node.ancestry,1);return n&&(t=n.map(function(e){var t=a;return t=a.concat(e.ancestry),p({},e,{ancestry:t})}),-1===(n=function(e,t){for(;t.length;){var n=F1(e,t);if(-1!==n)return n;t=A1(t,1)}return-1}(e,a))?e.push.apply(e,v(t)):e.splice.apply(e,[n,0].concat(v(t)))),e}function F1(e,t){return e.findIndex(function(e){return Ii(e.ancestry,t)})}function A1(e,t){return e.slice(0,e.length-t)}function C1(){var e,t=y.get("headingOrder");return t||(t=(e=Ki(axe._tree[0],"h1, h2, h3, h4, h5, h6, [role=heading], iframe, frame",c)).map(function(e){return{ancestry:[Hn(e.actualNode)],level:(t=(t=_(e=e))&&t.includes("heading"),n=e.attr("aria-level"),a=parseInt(n,10),e=h(e.props.nodeName.match(/h(\d)/)||[],2)[1],t?e&&!n?parseInt(e,10):isNaN(a)||a<1?e?parseInt(e,10):2:a||-1:-1)};var t,n,a}),this.data({headingOrder:t}),y.set("headingOrder",e)),!0}function k1(e){if(e.length<2)return e;function t(n){var e=i[n],t=e.data,a=t.name,r=t.urlProps;if(s[a])return"continue";var o=(t=i.filter(function(e,t){return e.data.name===a&&t!==n})).every(function(e){return function n(a,r){var e,t;return!(!a||!r)&&(e=Object.getOwnPropertyNames(a),t=Object.getOwnPropertyNames(r),e.length===t.length&&e.every(function(e){var t=a[e],e=r[e];return ee(t)===ee(e)&&("object"===ee(t)||"object"===ee(e)?n(t,e):t===e)}))}(e.data.urlProps,r)});t.length&&!o&&(e.result=void 0),e.relatedNodes=[],(o=e.relatedNodes).push.apply(o,v(t.map(function(e){return e.relatedNodes[0]}))),s[a]=t,l.push(e)}for(var i=e.filter(function(e){return void 0!==e.result}),l=[],s={},n=0;n.95*_r(window).width)&&(!(l<10)&&!e.querySelector("object, embed, iframe, applet"))},B1=function(e){return!(!Vl(e)&&!zl(e))||!!e.getAttribute("id")&&(e=b(e.getAttribute("id")),!!document.querySelector('[headers~="'.concat(e,'"]')))},M1=function(e,t,n,a){if(Array.isArray(t)&&(a=n,n=t,t={x:0,y:0}),"string"==typeof e)switch(e){case"left":e={x:-1,y:0};break;case"up":e={x:0,y:-1};break;case"right":e={x:1,y:0};break;case"down":e={x:0,y:1}}return function e(t,n,a,r){var o,i=a[n.y]?a[n.y][n.x]:void 0;return i?"function"==typeof r&&!0===(o=r(i,n,a))?[i]:((o=e(t,{x:n.x+t.x,y:n.y+t.y},a,r)).unshift(i),o):[]}(e,{x:t.x+e.x,y:t.y+e.y},n,a)};function L1(e,t,n){var n=Us.accessibleTextVirtual(n);if(n=Us.sanitize(Us.removeUnicode(n,{emoji:!0,nonBmp:!0,punctuations:!0})).toLowerCase())return n={name:n,urlProps:ar.urlPropsFromAttribute(e,"href")},this.data(n),this.relatedNodes([e]),!0}function q1(e,t,n){return R(n,"a[href]").some(function(e){return/^#[^/!]/.test(e.attr("href"))})}var V1=/[;,\s]/,z1=/^[0-9.]+$/;function $1(e){e=window.getComputedStyle(function(e){for(var t=e,n=e.textContent.trim(),a=n;a===n&&void 0!==t;){var r=-1;if(0===(e=t).children.length)return e;for(;r++,""===(a=e.children[r].textContent.trim())&&r+1a.fontSize)&&(!t.weight||n.fontWeight-t.weight>a.fontWeight)&&(!t.italic||n.isItalic&&!a.isItalic)},!1)}function H1(e,t,n){var a=(i=Array.from(e.parentNode.children)).indexOf(e),r=(t=t||{}).margins||[],o=i.slice(a+1).find(function(e){return"P"===e.nodeName.toUpperCase()}),i=i.slice(0,a).reverse().find(function(e){return"P"===e.nodeName.toUpperCase()}),a=$1(e),l=o?$1(o):null,i=i?$1(i):null,s=t.passLength,t=t.failLength,e=e.textContent.trim().length;return(o=null==o?void 0:o.textContent.trim().length)*s=i||"bold"===a,a=Math.ceil(72*y)/96,l=i&&a ":"";if(3===i&&""!==r.trim())return t+"#text";if(1!==i||!c(e))return!1;r=T(e);return r?!a.includes(r)&&t+"[role=".concat(r,"]"):!n.includes(o)&&t+o}(l,i,t);s&&(r.includes(s)||r.push(s),1===(null==l||null==(i=l.actualNode)?void 0:i.nodeType)&&a.push(l.actualNode))}}return 0===r.length?!1:(this.data({values:r.join(", ")}),this.relatedNodes(a),!0)}},"invalidrole-evaluate":Mu,"is-element-focusable-evaluate":Lu,"is-initiator-matches":Ad,"is-on-screen-evaluate":tn,"is-visible-matches":E,"is-visible-on-screen-matches":function(e,t){return E(t)},"label-content-name-mismatch-evaluate":Hc,"label-content-name-mismatch-matches":qd,"label-matches":Vd,"landmark-has-body-context-matches":zd,"landmark-is-top-level-evaluate":Ic,"landmark-is-unique-after":Kc,"landmark-is-unique-evaluate":Yc,"landmark-unique-matches":$d,"layout-table-matches":Ud,"link-in-text-block-evaluate":mc,"link-in-text-block-matches":Hd,"link-in-text-block-style-evaluate":bc,"listitem-evaluate":function(e,t,n){var a;if(n=n.parent)return a=n.props.nodeName,n=T(n),!!["presentation","none","list"].includes(n)||(n&&jl(n)?(this.data({messageKey:"roleNotValid"}),!1):["ul","ol","menu"].includes(a))},"matches-definition-evaluate":Ec,"meta-refresh-evaluate":function(e,t,n){var a=(r=t||{}).minDelay,r=r.maxDelay;return!(n=h((n.attr("content")||"").trim().split(V1),1)[0]).match(z1)||(n=parseFloat(n),this.data({redirectDelay:n}),"number"==typeof a&&n<=t.minDelay||"number"==typeof r&&n>t.maxDelay)},"meta-viewport-scale-evaluate":c1,"multiple-label-evaluate":Wc,"nested-interactive-matches":Wd,"no-autoplay-audio-evaluate":s1,"no-autoplay-audio-matches":Gd,"no-empty-role-matches":Kd,"no-explicit-name-required-matches":Yd,"no-focusable-content-evaluate":function(e,t,n){if(n.children)try{var a,r=function t(e){if(!e.children){if(1===e.props.nodeType)throw new Error("Cannot determine children");return[]}var n=[];e.children.forEach(function(e){"widget"===Do(e)&&A(e)?n.push(e):n.push.apply(n,v(t(e)))});return n}(n);return r.length?(0<(a=r.filter(Pc)).length?(this.data({messageKey:"notHidden"}),this.relatedNodes(a)):this.relatedNodes(r),!1):!0}catch(e){}},"no-implicit-explicit-label-evaluate":qu,"no-naming-method-matches":Jd,"no-negative-tabindex-matches":Xd,"no-role-matches":Qd,"non-empty-if-present-evaluate":ld,"not-html-matches":Zd,"object-is-loaded-matches":function(t,n){return[Yd,function(e){var t;return null==e||null==(t=e.ownerDocument)||!t.createRange||((t=e.ownerDocument.createRange()).setStart(e,0),t.setEnd(e,e.childNodes.length),0===t.getClientRects().length)}].every(function(e){return e(t,n)})},"only-dlitems-evaluate":n1,"only-listitems-evaluate":a1,"p-as-heading-evaluate":H1,"p-as-heading-matches":ep,"page-no-duplicate-after":Fc,"page-no-duplicate-evaluate":Ac,"presentation-role-conflict-matches":tp,"presentational-role-evaluate":function(e,t,n){var a=T(n);if(["presentation","none"].includes(a)&&["iframe","frame"].includes(n.props.nodeName)&&n.hasAttr("title"))this.data({messageKey:"iframe",nodeName:n.props.nodeName});else{var r,o=_(n);if(["presentation","none"].includes(o))return this.data({role:o}),!0;["presentation","none"].includes(a)&&(a=Ol().some(function(e){return n.hasAttr(e)}),r=A(n),this.data({messageKey:a&&!r?"globalAria":!a&&r?"focusable":"both",role:o}))}return!1},"region-after":W1,"region-evaluate":function(e,t,n){return this.data({isIframe:["iframe","frame"].includes(n.props.nodeName)}),!y.get("regionlessNodes",function(){return function t(e,n){var a=e.actualNode;{if("button"===_(e)||Y1(e,n)||["iframe","frame"].includes(e.props.nodeName)||Oo(e.actualNode)&&zr(e.actualNode,"href")||!c(a)){for(var r=e;r;)r._hasRegionDescendant=!0,r=r.parent;return["iframe","frame"].includes(e.props.nodeName)?[e]:[]}return a!==document.body&&ro(a,!0)?[e]:e.children.filter(function(e){e=e.actualNode;return 1===e.nodeType}).map(function(e){return t(e,n)}).reduce(function(e,t){return e.concat(t)},[])}}(axe._tree[0],t).map(function(e){for(;e.parent&&!e.parent._hasRegionDescendant&&e.parent.actualNode!==document.body;)e=e.parent;return e}).filter(function(e,t,n){return n.indexOf(e)===t})}).includes(n)},"same-caption-summary-evaluate":dd,"scope-value-evaluate":fd,"scrollable-region-focusable-matches":np,"skip-link-evaluate":J1,"skip-link-matches":ap,"structured-dlitems-evaluate":r1,"svg-namespace-matches":jd,"svg-non-empty-title-evaluate":sd,"tabindex-evaluate":jc,"table-or-grid-role-matches":function(e,t){return t=_(t),["treegrid","grid","table"].includes(t)},"target-offset-evaluate":function(e,t,n){var a,r,o=(null==t?void 0:t.minOffset)||24,i=[],l=o,s=ie(Br(n,o));try{for(s.s();!(a=s.n()).done;){var u,c=a.value;"widget"===Do(c)&&A(c)&&(r=p1(n,c),o<=.05+(u=Math.round(10*r)/10)||(l=Math.min(l,u),i.push(c)))}}catch(e){s.e(e)}finally{s.f()}return 0===i.length?(this.data({closestOffset:l,minOffset:o}),!0):(this.relatedNodes(i.map(function(e){return e.actualNode})),i.some(ho)?(this.data({closestOffset:l,minOffset:o}),!ho(n)&&void 0):void this.data({messageKey:"nonTabbableNeighbor",closestOffset:l,minOffset:o}))},"target-size-evaluate":function(e,t,n){var a,r,t=(null==t?void 0:t.minSize)||24,o=n.boundingClientRect,i=D1.bind(null,t),l=Br(n),s=(a=n,l.filter(function(e){return!y1(e,a)&&w1(a,e)})),u=(l=function(e,t){var n,a=[],r=[],o=ie(t);try{for(o.s();!(n=o.n()).done;){var i=n.value;!w1(e,i)&&f1(e,i)&&"none"!==i.getComputedStylePropertyValue("pointer-events")&&(y1(e,i)?a:r).push(i)}}catch(e){o.e(e)}finally{o.f()}return{fullyObscuringElms:a,partialObscuringElms:r}}(n,l)).fullyObscuringElms,l=l.partialObscuringElms;return u.length&&!s.length?(this.relatedNodes(x1(u)),this.data({messageKey:"obscured"}),!0):(r=!ho(n)&&void 0,i(o)||s.length?(l=function(e,t){e=e.boundingClientRect;if(0===t.length)return null;t=t.map(function(e){return e.boundingClientRect});return function(e,a){return e.reduce(function(e,t){var n=D1(a,e);return n!==D1(a,t)?n?e:t:(n=e.width*e.height,t.width*t.height elements of image maps have alternate text",help:"Active elements must have alternate text"},"aria-allowed-attr":{description:"Ensures ARIA attributes are allowed for an element's role",help:"Elements must only use allowed ARIA attributes"},"aria-allowed-role":{description:"Ensures role attribute has an appropriate value for the element",help:"ARIA role should be appropriate for the element"},"aria-command-name":{description:"Ensures every ARIA button, link and menuitem has an accessible name",help:"ARIA commands must have an accessible name"},"aria-dialog-name":{description:"Ensures every ARIA dialog and alertdialog node has an accessible name",help:"ARIA dialog and alertdialog nodes should have an accessible name"},"aria-hidden-body":{description:"Ensures aria-hidden='true' is not present on the document body.",help:"aria-hidden='true' must not be present on the document body"},"aria-hidden-focus":{description:"Ensures aria-hidden elements are not focusable nor contain focusable elements",help:"ARIA hidden element must not be focusable or contain focusable elements"},"aria-input-field-name":{description:"Ensures every ARIA input field has an accessible name",help:"ARIA input fields must have an accessible name"},"aria-meter-name":{description:"Ensures every ARIA meter node has an accessible name",help:"ARIA meter nodes must have an accessible name"},"aria-progressbar-name":{description:"Ensures every ARIA progressbar node has an accessible name",help:"ARIA progressbar nodes must have an accessible name"},"aria-required-attr":{description:"Ensures elements with ARIA roles have all required ARIA attributes",help:"Required ARIA attributes must be provided"},"aria-required-children":{description:"Ensures elements with an ARIA role that require child roles contain them",help:"Certain ARIA roles must contain particular children"},"aria-required-parent":{description:"Ensures elements with an ARIA role that require parent roles are contained by them",help:"Certain ARIA roles must be contained by particular parents"},"aria-roledescription":{description:"Ensure aria-roledescription is only used on elements with an implicit or explicit role",help:"aria-roledescription must be on elements with a semantic role"},"aria-roles":{description:"Ensures all elements with a role attribute use a valid value",help:"ARIA roles used must conform to valid values"},"aria-text":{description:'Ensures "role=text" is used on elements with no focusable descendants',help:'"role=text" should have no focusable descendants'},"aria-toggle-field-name":{description:"Ensures every ARIA toggle field has an accessible name",help:"ARIA toggle fields must have an accessible name"},"aria-tooltip-name":{description:"Ensures every ARIA tooltip node has an accessible name",help:"ARIA tooltip nodes must have an accessible name"},"aria-treeitem-name":{description:"Ensures every ARIA treeitem node has an accessible name",help:"ARIA treeitem nodes should have an accessible name"},"aria-valid-attr-value":{description:"Ensures all ARIA attributes have valid values",help:"ARIA attributes must conform to valid values"},"aria-valid-attr":{description:"Ensures attributes that begin with aria- are valid ARIA attributes",help:"ARIA attributes must conform to valid names"},"audio-caption":{description:"Ensures