@webability/core 1.12.0 → 1.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/dom.cjs +19 -19
- package/dist/dom.js +19 -19
- package/dist/engine.cjs +27 -27
- package/dist/engine.d.cts +3 -1
- package/dist/engine.d.ts +3 -1
- package/dist/engine.js +27 -27
- package/dist/index.cjs +25 -25
- package/dist/index.js +25 -25
- package/dist/playwright.cjs +23 -23
- package/dist/playwright.js +23 -23
- package/package.json +1 -1
package/dist/dom.js
CHANGED
|
@@ -359,30 +359,30 @@ var m3=Object.create;var cu=Object.defineProperty;var h3=Object.getOwnPropertyDe
|
|
|
359
359
|
var hi = Math.max(l1, l2), lo = Math.min(l1, l2);
|
|
360
360
|
return (hi + 0.05) / (lo + 0.05);
|
|
361
361
|
}
|
|
362
|
-
`;});var vu={};za(vu,{INJECT_ATTR:()=>$r,OWN_TOOLING_SELECTOR:()=>Jh,attachMutations:()=>hu,dropToolingFindings:()=>gu,guardDetectorState:()=>EI,inject:()=>fu,startProvenance:()=>pu,stopProvenance:()=>mu});async function fu(p,d){let b=`${d.tool}:${Date.now().toString(36)}${Math.random().toString(36).slice(2,6)}`;if(d.css!==void 0){await p.evaluate(({attr:m,mark:E,css:
|
|
363
|
-
`;await p.addScriptTag({content:v+(d.content??"")});}async function pu(p){try{await p.evaluate("if(typeof globalThis.__name==='undefined'){globalThis.__name=function(t){return t}}");}catch{}try{await p.evaluate(({key:d,attr:b,max:v})=>{let m=window;if(m[Symbol.for(d)]||typeof MutationObserver>"u")return;let E={tool:null,log:[],overflow:0,left:new Map};E.ours=
|
|
364
|
-
`).slice(1),h=/eval at evaluate/.test(_[0]||""),R=x=>/^\s*at /.test(x)&&!/UtilityScript|eval at evaluate/.test(x);$.set(Q.target,h&&_.length>1&&_.slice(1).some(R)?"page":"ours");};document.addEventListener("focusin",K,!0),A[Symbol.for(y)]={src:$,h:K};}catch{}let F=A[Symbol.for(D)];F&&(F.take(F.obs.takeRecords()),F.tool=I);let T=document.activeElement,k=!!T&&T!==document.body&&T!==document.documentElement,M=[];try{let j=typeof getSelection=="function"?getSelection():null;M=j?Array.from({length:j.rangeCount},($,K)=>j.getRangeAt(K).cloneRange()):[];}catch{}let N=Array.from(document.querySelectorAll(`[${q}]:not(script):not([${q}="${L}"])`));return A[Symbol.for(C)]={el:k?T:null,ranges:M,marked:new Set(N)},{scrollX:window.scrollX,scrollY:window.scrollY,hadFocus:k,injected:N.length}},{key:Zh,prov:Ga,name:d,attr:$r,widget:du,fsk:Qh});}catch{E=null;}try{return await v()}finally{E&&await CI(p,d,E,b,m);}}async function CI(p,d,b,v,m){let E={leaks:[]};try{E=await p.evaluate(({key:C,prov:D,snap:I,attr:q,widget:L,fsk:y})=>{let A=window,F=[],T=A[Symbol.for(y)];T&&(document.removeEventListener("focusin",T.h,!0),delete A[Symbol.for(y)]);let k=A[Symbol.for(C)],M=k?.el??null;try{delete A[Symbol.for(C)];}catch{}let N=A[Symbol.for(D)];N&&N.take(N.obs.takeRecords());let j=document.activeElement,$=j&&j!==document.body&&j!==document.documentElement?j:null,K=!!$&&$!==M&&T?.src.get($)==="page";if($!==M&&!K){F.push("activeElement"),N&&$&&N.left.set($,N.tool);try{$?.blur?.();}catch{}try{M&&M.isConnected&&M.focus({preventScroll:!0});}catch{}}let Q=null;try{Q=document.querySelector(":focus-visible");}catch{}if(Q&&Q!==M&&!(K&&Q===$)){F.push("focus-visible");try{Q.blur();}catch{}}!K&&(Math.abs(window.scrollX-I.scrollX)>1||Math.abs(window.scrollY-I.scrollY)>1)&&(F.push("scroll"),window.scrollTo({left:I.scrollX,top:I.scrollY,behavior:"instant"}));try{let h=getSelection(),R=k?.ranges??[];if(h&&(h.rangeCount!==R.length||R.some((x,O)=>x.compareBoundaryPoints(Range.START_TO_START,h.getRangeAt(O))!==0||x.compareBoundaryPoints(Range.END_TO_END,h.getRangeAt(O))!==0))){F.push("selection"),h.removeAllRanges();for(let x of R)h.addRange(x);}}catch{}let _=Array.from(document.querySelectorAll(`[${q}]:not(script):not([${q}="${L}"])`));_.length!==I.injected&&F.push(`injected-nodes ${I.injected}->${_.length}`);for(let h of _)if(k?.marked&&!k.marked.has(h))try{h.remove();}catch{}return N&&(N.tool=null),{leaks:F}},{key:Zh,prov:Ga,snap:b,attr:$r,widget:du,fsk:Qh});}catch{}if(E.leaks.length){let C=`tooling:state-not-restored (${d}: ${E.leaks.join(", ")}) \u2014 restored by the scanner`;if(m.bugs?.push({tool:d,kind:"state-not-restored",detail:E.leaks.join(", ")}),m.strict)throw new Error(C);v.push(C);}}async function gu(p,d,b){if(!d.length)return d;let v=Array.from(new Set(d.map(E=>E.selector).filter(Boolean))),m={};try{m=await p.evaluate(({sels:E,own:C,prov:D,attr:I,widget:q})=>{let L=window[Symbol.for(D)],y={};for(let A of E){y[A]=null;let F=null;try{F=document.querySelector(A.replace(/:(?:focus-visible|focus-within|focus|hover|active)$/,""));}catch{F=null;}if(!F)continue;let T=F.closest(C);if(T&&T!==document.body&&T!==document.documentElement){let k=T.closest(`[${I}]`)?.getAttribute(I);y[A]={tool:k&&k!==q?k.split(":")[0]:null,why:`on node injected by ${k}`};continue}L&&L.left.has(F)&&(y[A]={tool:L.left.get(F),why:"on the element the tool left focused"});}return y},{sels:v,own:Jh,prov:Ga,attr:$r,widget:du});}catch{return d}return d.filter(E=>{let C=m[E.selector];return C?(C.tool&&b?.push({tool:C.tool,kind:"finding-dropped",detail:`${E.type} ${C.why}`,selector:E.selector}),false):true})}var $r,du,Jh,Ga,AI,_I,Zh,Qh,Wa=$a(()=>{$r="data-wa-injected",du="widget",Jh=`[${$r}],[class*=asw-],[id*=webability-widget],[class*=webability-a11y]`,Ga="wa.provenance",AI=500;_I=10;Zh="wa.stateGuard.active",Qh="wa.stateGuard.focusSource";});var eg={};za(eg,{applyPlatformTemplates:()=>RI,detectPlatform:()=>kI,isAriaHiddenSafeForTemplate:()=>bu});function bu(p){let d=p.trim().split(/[\s>~+]+/),v=d[d.length-1].trim().match(/^([a-zA-Z][a-zA-Z0-9-]*)/);if(!v)return true;let m=v[1].toLowerCase();return m==="body"||m==="html"?false:!new Set(["a","button","input","select","textarea"]).has(m)}function SI(){if(Wn)return Wn;try{let p=globalThis.process,d=p?.getBuiltinModule?.("fs"),b=p?.getBuiltinModule?.("path");if(!d||!b)throw new Error("fs unavailable");let v=d.readFileSync(b.join(__dirname,"platformTemplates.json"),"utf-8");return Wn=JSON.parse(v),Wn}catch{return Wn={},Wn}}async function kI(p){return p.evaluate(()=>{let d=[],b=document.documentElement.outerHTML.slice(0,5e4).toLowerCase(),m=(document.querySelector('meta[name="generator"]')?.getAttribute("content")||"").toLowerCase();return (b.includes("shopify")||b.includes("cdn.shopify.com")||window.Shopify)&&d.push("shopify"),(m.includes("wordpress")||b.includes("wp-content")||b.includes("wp-includes"))&&d.push("wordpress"),(b.includes("civicplus")||b.includes("civicalerts")||b.includes("cpslider")||document.querySelector(".cpSlider, #breadCrumbs, .rcPrev, .rcNext"))&&d.push("civicplus"),(b.includes("finalsite")||document.querySelector(".fsHeader, .fsCalendar, .fsPanelGroup, #fsPoweredByFinalsite"))&&d.push("finalsite"),(b.includes("dealersocket")||b.includes("dealer.com")||document.querySelector(".ddc-tracking, .inventory-listing-default, .vlp-refine"))&&d.push("dealer"),(b.includes("wix.com")||b.includes("wixsite.com"))&&d.push("wix"),(b.includes("squarespace")||m.includes("squarespace"))&&d.push("squarespace"),(b.includes("webflow")||m.includes("webflow"))&&d.push("webflow"),d.push("universal"),d.push("universal_iframe"),d})}function TI(p){return /^[a-z][a-z0-9]*$/i.test(p.trim())}async function RI(p,d,b="scan"){let v=SI(),m=[];for(let C of d)v[C]&&m.push(...v[C].filter(D=>!TI(D.selector)));return m.length?b==="manifest"?m.filter(C=>C.attribute==="aria-hidden"&&C.value==="true"?bu(C.selector):true).map(C=>({selector:C.selector,attribute:C.attribute,currentValue:"",issueType:C.attribute==="alt"?"missing_alt":C.attribute==="aria-label"?"missing_label":"missing_semantic_role",wcag:C.attribute==="alt"?"1.1.1":"4.1.2",context:`platform:${C.platform} (template)`,needsAI:false,fixValue:C.value})):(await p.evaluate(C=>{let D=[];for(let I of C)try{let q=document.querySelectorAll(I.selector);if(q.length>0){let L=!1;for(let y of q){let A=y.getAttribute(I.attribute)||"";if(I.attribute==="alt"&&y.getAttribute("alt")===null)L=!0;else if(I.attribute==="alt"&&A===""&&I.value==="")L=!0;else if(I.attribute==="aria-label"&&!A)L=!0;else if(I.attribute==="title"&&!A)L=!0;else if(I.attribute==="role"&&A!==I.value)L=!0;else if(I.attribute==="aria-level"&&!y.getAttribute("aria-level"))L=!(y.tagName==="H1"&&I.value!=="1"&&document.querySelectorAll("h1").length<2);else if(I.attribute==="aria-hidden"&&y.getAttribute("aria-hidden")!=="true"){let F=y.tagName.toLowerCase(),T=F==="a"&&y.hasAttribute("href")||F==="button"||F==="input"||F==="select"||F==="textarea"||Number(y.getAttribute("tabindex")??-1)>=0;F!=="body"&&F!=="html"&&!T&&(L=!0);}if(L)break}L&&D.push({selector:I.selector,attribute:I.attribute,value:I.value,platform:I.platform,matchCount:q.length});}}catch{}return D},m.filter(C=>!(C.attribute==="aria-hidden"&&C.value==="true")||bu(C.selector)).map(C=>({selector:C.selector,attribute:C.attribute,value:C.value,platform:C.platform})))).map(C=>({selector:C.selector,attribute:C.attribute,currentValue:"",issueType:C.attribute==="alt"?"missing_alt":C.attribute==="aria-label"?"missing_label":"missing_semantic_role",wcag:C.attribute==="alt"?"1.1.1":"4.1.2",context:`platform:${C.platform} (${C.matchCount} elements)`,needsAI:false,fixValue:C.value})):[]}var Wn,tg=$a(()=>{Wn=null;});var kg=y3((Sg,Ja)=>{(function p(d){var b=d,v=d.document,m=m||{};m.version="4.11.3",typeof define=="function"&&define.amd&&define("axe-core",[],function(){return m}),(typeof Ja>"u"?"undefined":fe(Ja))==="object"&&Ja.exports&&typeof p.toString=="function"&&(m.source="("+p.toString()+')(typeof window === "object" ? window : this);',Ja.exports=m),typeof d.getComputedStyle=="function"&&(d.axe=m);var C=["precision","format","inGamut"],D=["space"],I=["algorithm"],q=["method"],L=["maxDeltaE","deltaEMethod","steps","maxSteps"],y=["node"],A=["relatedNodes"],F=["node"],T=["variant"],k=["matches"],M=["chromium"],N=["noImplicit"],j=["noPresentational"],$=["node"],K=["environmentData"],Q=["environmentData"],_=["environmentData"],h=["environmentData"],R=["environmentData"];function x(re){return dr(re)||kt(re)||Lr(re)||Ir()}function O(re){var oe=typeof Map=="function"?new Map:void 0;return O=function(be){if(be===null||!B(be))return be;if(typeof be!="function")throw new TypeError("Super expression must either be null or a function");if(oe!==void 0){if(oe.has(be))return oe.get(be);oe.set(be,We);}function We(){return W(be,arguments,De(this).constructor)}return We.prototype=Object.create(be.prototype,{constructor:{value:We,enumerable:false,writable:true,configurable:true}}),Ne(We,be)},O(re)}function B(re){try{return Function.toString.call(re).indexOf("[native code]")!==-1}catch{return typeof re=="function"}}function V(re,oe,ce){return (oe=Qa(oe))in re?Object.defineProperty(re,oe,{value:ce,enumerable:true,configurable:true,writable:true}):re[oe]=ce,re}function W(re,oe,ce){if(ue())return Reflect.construct.apply(null,arguments);var be=[null];be.push.apply(be,oe);var We=new(re.bind.apply(re,be));return ce&&Ne(We,ce.prototype),We}function J(re,oe){if(re==null)return {};var ce,be,We=ie(re,oe);if(Object.getOwnPropertySymbols){var tt=Object.getOwnPropertySymbols(re);for(be=0;be<tt.length;be++)ce=tt[be],oe.indexOf(ce)===-1&&{}.propertyIsEnumerable.call(re,ce)&&(We[ce]=re[ce]);}return We}function ie(re,oe){if(re==null)return {};var ce={};for(var be in re)if({}.hasOwnProperty.call(re,be)){if(oe.indexOf(be)!==-1)continue;ce[be]=re[be];}return ce}function te(re,oe,ce){return oe=De(oe),de(re,ue()?Reflect.construct(oe,ce||[],De(re).constructor):oe.apply(re,ce))}function de(re,oe){if(oe&&(fe(oe)=="object"||typeof oe=="function"))return oe;if(oe!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return me(re)}function me(re){if(re===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return re}function ue(){try{var re=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));}catch{}return (ue=function(){return !!re})()}function De(re){return De=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(oe){return oe.__proto__||Object.getPrototypeOf(oe)},De(re)}function Me(re,oe){if(typeof oe!="function"&&oe!==null)throw new TypeError("Super expression must either be null or a function");re.prototype=Object.create(oe&&oe.prototype,{constructor:{value:re,writable:true,configurable:true}}),Object.defineProperty(re,"prototype",{writable:false}),oe&&Ne(re,oe);}function Ne(re,oe){return Ne=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(ce,be){return ce.__proto__=be,ce},Ne(re,oe)}function Te(){return Te=Object.assign?Object.assign.bind():function(re){for(var oe=1;oe<arguments.length;oe++){var ce=arguments[oe];for(var be in ce)({}).hasOwnProperty.call(ce,be)&&(re[be]=ce[be]);}return re},Te.apply(null,arguments)}function _e(re){return Ge(re)||kt(re)||Lr(re)||xt()}function xt(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
365
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function
|
|
366
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function cr(
|
|
367
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var tt,ot=true,pt=false;return {s:function(){ce=ce.call(re);},n:function(){var qe=ce.next();return ot=qe.done,qe},e:function(qe){pt=true,tt=qe;},f:function(){try{ot||ce.return==null||ce.return();}finally{if(pt)throw tt}}}}function Lr(re,oe){if(re){if(typeof re=="string")return ln(re,oe);var ce={}.toString.call(re).slice(8,-1);return ce==="Object"&&re.constructor&&(ce=re.constructor.name),ce==="Map"||ce==="Set"?Array.from(re):ce==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(ce)?ln(re,oe):void 0}}function ln(re,oe){(oe==null||oe>re.length)&&(oe=re.length);for(var ce=0,be=Array(oe);ce<oe;ce++)be[ce]=re[ce];return be}function fe(re){"@babel/helpers - typeof";return fe=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(oe){return typeof oe}:function(oe){return oe&&typeof Symbol=="function"&&oe.constructor===Symbol&&oe!==Symbol.prototype?"symbol":typeof oe},fe(re)}((function(re,oe,ce,be,We,tt,ot,pt,Je,qe,Xt){var Yt=Object.create,Mr=Object.defineProperty,Kn=Object.getPrototypeOf,Tg=Object.prototype.hasOwnProperty,Rg=Object.getOwnPropertyNames,Fg=Object.getOwnPropertyDescriptor,Ig=function(t,r,n){return r in t?Mr(t,r,{enumerable:true,configurable:true,writable:true,value:n}):t[r]=n},Lg=function(t){return Mr(t,"__esModule",{value:true})},U=function(t,r){return function(){return r||t((r={exports:{}}).exports,r),r.exports}},fr=function(t,r){for(var n in r)Mr(t,n,{get:r[n],enumerable:true});},Mg=function(t,r,n){if(r&&fe(r)==="object"||typeof r=="function"){var a=it(Rg(r)),i;try{var o=function(){var l=i.value;!Tg.call(t,l)&&l!=="default"&&Mr(t,l,{get:function(){return r[l]},enumerable:!(n=Fg(r,l))||n.enumerable});};for(a.s();!(i=a.n()).done;)o();}catch(s){a.e(s);}finally{a.f();}}return t},wr=function(t){return Mg(Lg(Mr(t!=null?Yt(Kn(t)):{},"default",t&&t.__esModule&&"default"in t?{get:function(){return t.default},enumerable:true}:{value:t,enumerable:true})),t)},Fu=function(t,r,n){return Ig(t,fe(r)!=="symbol"?r+"":r,n),n},Og=U(function(e,t){(function(r,n){fe(e)==="object"&&typeof t<"u"?t.exports=n():typeof define=="function"&&define.amd?define(n):r.ES6Promise=n();})(e,function(){function r(ae){var he=fe(ae);return ae!==null&&(he==="object"||he==="function")}function n(ae){return typeof ae=="function"}var a=void 0;Array.isArray?a=Array.isArray:a=function(he){return Object.prototype.toString.call(he)==="[object Array]"};var i=a,o=0,s=void 0,l=void 0,u=function(he,we){ne[o]=he,ne[o+1]=we,o+=2,o===2&&(l?l(se):Ee());};function c(ae){l=ae;}function f(ae){u=ae;}var g=typeof d<"u"?d:void 0,w=g||{},S=w.MutationObserver||w.WebKitMutationObserver,P=typeof self>"u"&&typeof process<"u"&&{}.toString.call(process)==="[object process]",H=typeof Uint8ClampedArray<"u"&&typeof importScripts<"u"&&typeof MessageChannel<"u";function z(){return function(){return process.nextTick(se)}}function G(){return typeof s<"u"?function(){s(se);}:Z()}function X(){var ae=0,he=new S(se),we=v.createTextNode("");return he.observe(we,{characterData:true}),function(){we.data=ae=++ae%2;}}function Y(){var ae=new MessageChannel;return ae.port1.onmessage=se,function(){return ae.port2.postMessage(0)}}function Z(){var ae=setTimeout;return function(){return ae(se,1)}}var ne=new Array(1e3);function se(){for(var ae=0;ae<o;ae+=2){var he=ne[ae],we=ne[ae+1];he(we),ne[ae]=void 0,ne[ae+1]=void 0;}o=0;}function pe(){try{var ae=Function("return this")().require("vertx");return s=ae.runOnLoop||ae.runOnContext,G()}catch{return Z()}}var Ee=void 0;P?Ee=z():S?Ee=X():H?Ee=Y():g===void 0?Ee=pe():Ee=Z();function le(ae,he){var we=this,Ie=new this.constructor(Ce);Ie[xe]===void 0&>(Ie);var ze=we._state;if(ze){var Ze=arguments[ze-1];u(function(){return ft(ze,Ie,Ze,we._result)});}else et(we,Ie,ae,he);return Ie}function ve(ae){var he=this;if(ae&&fe(ae)==="object"&&ae.constructor===he)return ae;var we=new he(Ce);return ke(we,ae),we}var xe=Math.random().toString(36).substring(2);function Ce(){}var Pe=void 0,$e=1,Fe=2;function He(){return new TypeError("You cannot resolve a promise with itself")}function ye(){return new TypeError("A promises callback cannot return that same promise.")}function Oe(ae,he,we,Ie){try{ae.call(he,we,Ie);}catch(ze){return ze}}function ee(ae,he,we){u(function(Ie){var ze=false,Ze=Oe(we,he,function(It){ze||(ze=true,he!==It?ke(Ie,It):Re(Ie,It));},function(It){ze||(ze=true,Le(Ie,It));},"Settle: "+(Ie._label||" unknown promise"));!ze&&Ze&&(ze=true,Le(Ie,Ze));},ae);}function Se(ae,he){he._state===$e?Re(ae,he._result):he._state===Fe?Le(ae,he._result):et(he,void 0,function(we){return ke(ae,we)},function(we){return Le(ae,we)});}function ge(ae,he,we){he.constructor===ae.constructor&&we===le&&he.constructor.resolve===ve?Se(ae,he):we===void 0?Re(ae,he):n(we)?ee(ae,he,we):Re(ae,he);}function ke(ae,he){if(ae===he)Le(ae,He());else if(r(he)){var we=void 0;try{we=he.then;}catch(Ie){Le(ae,Ie);return}ge(ae,he,we);}else Re(ae,he);}function je(ae){ae._onerror&&ae._onerror(ae._result),ut(ae);}function Re(ae,he){ae._state===Pe&&(ae._result=he,ae._state=$e,ae._subscribers.length!==0&&u(ut,ae));}function Le(ae,he){ae._state===Pe&&(ae._state=Fe,ae._result=he,u(je,ae));}function et(ae,he,we,Ie){var ze=ae._subscribers,Ze=ze.length;ae._onerror=null,ze[Ze]=he,ze[Ze+$e]=we,ze[Ze+Fe]=Ie,Ze===0&&ae._state&&u(ut,ae);}function ut(ae){var he=ae._subscribers,we=ae._state;if(he.length!==0){for(var Ie=void 0,ze=void 0,Ze=ae._result,It=0;It<he.length;It+=3)Ie=he[It],ze=he[It+we],Ie?ft(we,Ie,ze,Ze):ze(Ze);ae._subscribers.length=0;}}function ft(ae,he,we,Ie){var ze=n(we),Ze=void 0,It=void 0,zn=true;if(ze){try{Ze=we(Ie);}catch(Fo){zn=false,It=Fo;}if(he===Ze){Le(he,ye());return}}else Ze=Ie;he._state!==Pe||(ze&&zn?ke(he,Ze):zn===false?Le(he,It):ae===$e?Re(he,Ze):ae===Fe&&Le(he,Ze));}function At(ae,he){try{he(function(Ie){ke(ae,Ie);},function(Ie){Le(ae,Ie);});}catch(we){Le(ae,we);}}var Tt=0;function St(){return Tt++}function gt(ae){ae[xe]=Tt++,ae._state=void 0,ae._result=void 0,ae._subscribers=[];}function $n(){return new Error("Array Methods must be provided an Array")}var Nt=(function(){function ae(he,we){this._instanceConstructor=he,this.promise=new he(Ce),this.promise[xe]||gt(this.promise),i(we)?(this.length=we.length,this._remaining=we.length,this._result=new Array(this.length),this.length===0?Re(this.promise,this._result):(this.length=this.length||0,this._enumerate(we),this._remaining===0&&Re(this.promise,this._result))):Le(this.promise,$n());}return ae.prototype._enumerate=function(we){for(var Ie=0;this._state===Pe&&Ie<we.length;Ie++)this._eachEntry(we[Ie],Ie);},ae.prototype._eachEntry=function(we,Ie){var ze=this._instanceConstructor,Ze=ze.resolve;if(Ze===ve){var It=void 0,zn=void 0,Fo=false;try{It=we.then;}catch(uu){Fo=true,zn=uu;}if(It===le&&we._state!==Pe)this._settledAt(we._state,Ie,we._result);else if(typeof It!="function")this._remaining--,this._result[Ie]=we;else if(ze===wt){var lu=new ze(Ce);Fo?Le(lu,zn):ge(lu,we,It),this._willSettleAt(lu,Ie);}else this._willSettleAt(new ze(function(uu){return uu(we)}),Ie);}else this._willSettleAt(Ze(we),Ie);},ae.prototype._settledAt=function(we,Ie,ze){var Ze=this.promise;Ze._state===Pe&&(this._remaining--,we===Fe?Le(Ze,ze):this._result[Ie]=ze),this._remaining===0&&Re(Ze,this._result);},ae.prototype._willSettleAt=function(we,Ie){var ze=this;et(we,void 0,function(Ze){return ze._settledAt($e,Ie,Ze)},function(Ze){return ze._settledAt(Fe,Ie,Ze)});},ae})();function vt(ae){return new Nt(this,ae).promise}function Rt(ae){var he=this;return i(ae)?new he(function(we,Ie){for(var ze=ae.length,Ze=0;Ze<ze;Ze++)he.resolve(ae[Ze]).then(we,Ie);}):new he(function(we,Ie){return Ie(new TypeError("You must pass an array to race."))})}function _t(ae){var he=this,we=new he(Ce);return Le(we,ae),we}function Ht(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function Vt(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}var wt=(function(){function ae(he){this[xe]=St(),this._result=this._state=void 0,this._subscribers=[],Ce!==he&&(typeof he!="function"&&Ht(),this instanceof ae?At(this,he):Vt());}return ae.prototype.catch=function(we){return this.then(null,we)},ae.prototype.finally=function(we){var Ie=this,ze=Ie.constructor;return n(we)?Ie.then(function(Ze){return ze.resolve(we()).then(function(){return Ze})},function(Ze){return ze.resolve(we()).then(function(){throw Ze})}):Ie.then(we,we)},ae})();wt.prototype.then=le,wt.all=vt,wt.race=Rt,wt.resolve=ve,wt.reject=_t,wt._setScheduler=c,wt._setAsap=f,wt._asap=u;function ct(){var ae=void 0;if(typeof b<"u")ae=b;else if(typeof self<"u")ae=self;else try{ae=Function("return this")();}catch{throw new Error("polyfill failed because global object is unavailable in this environment")}var he=ae.Promise;if(he){var we=null;try{we=Object.prototype.toString.call(he.resolve());}catch{}if(we==="[object Promise]"&&!he.cast)return}ae.Promise=wt;}return wt.polyfill=ct,wt.Promise=wt,wt});}),Pg=U(function(e){var t=1e5,r=(function(){var ee=Object.prototype.toString,Se=Object.prototype.hasOwnProperty;return {Class:function(ke){return ee.call(ke).replace(/^\[object *|\]$/g,"")},HasProperty:function(ke,je){return je in ke},HasOwnProperty:function(ke,je){return Se.call(ke,je)},IsCallable:function(ke){return typeof ke=="function"},ToInt32:function(ke){return ke>>0},ToUint32:function(ke){return ke>>>0}}})(),n=Math.LN2,a=Math.abs,i=Math.floor,o=Math.log,s=Math.min,l=Math.pow,u=Math.round;function c(ee,Se,ge){return ee<Se?Se:ee>ge?ge:ee}var f=Object.getOwnPropertyNames||function(ee){if(ee!==Object(ee))throw new TypeError("Object.getOwnPropertyNames called on non-object");var Se=[],ge;for(ge in ee)r.HasOwnProperty(ee,ge)&&Se.push(ge);return Se},g;Object.defineProperty&&(function(){try{return Object.defineProperty({},"x",{}),!0}catch{return false}})()?g=Object.defineProperty:g=function(Se,ge,ke){if(!Se===Object(Se))throw new TypeError("Object.defineProperty called on non-object");return r.HasProperty(ke,"get")&&Object.prototype.__defineGetter__&&Object.prototype.__defineGetter__.call(Se,ge,ke.get),r.HasProperty(ke,"set")&&Object.prototype.__defineSetter__&&Object.prototype.__defineSetter__.call(Se,ge,ke.set),r.HasProperty(ke,"value")&&(Se[ge]=ke.value),Se};function w(ee){if(f&&g){var Se=f(ee),ge;for(ge=0;ge<Se.length;ge+=1)g(ee,Se[ge],{value:ee[Se[ge]],writable:false,enumerable:false,configurable:false});}}function S(ee){if(!g)return;if(ee.length>t)throw new RangeError("Array too large for polyfill");function Se(ke){g(ee,ke,{get:function(){return ee._getter(ke)},set:function(Re){ee._setter(ke,Re);},enumerable:true,configurable:false});}var ge;for(ge=0;ge<ee.length;ge+=1)Se(ge);}function P(ee,Se){var ge=32-Se;return ee<<ge>>ge}function H(ee,Se){var ge=32-Se;return ee<<ge>>>ge}function z(ee){return [ee&255]}function G(ee){return P(ee[0],8)}function X(ee){return [ee&255]}function Y(ee){return H(ee[0],8)}function Z(ee){return ee=u(Number(ee)),[ee<0?0:ee>255?255:ee&255]}function ne(ee){return [ee>>8&255,ee&255]}function se(ee){return P(ee[0]<<8|ee[1],16)}function pe(ee){return [ee>>8&255,ee&255]}function Ee(ee){return H(ee[0]<<8|ee[1],16)}function le(ee){return [ee>>24&255,ee>>16&255,ee>>8&255,ee&255]}function ve(ee){return P(ee[0]<<24|ee[1]<<16|ee[2]<<8|ee[3],32)}function xe(ee){return [ee>>24&255,ee>>16&255,ee>>8&255,ee&255]}function Ce(ee){return H(ee[0]<<24|ee[1]<<16|ee[2]<<8|ee[3],32)}function Pe(ee,Se,ge){var ke=(1<<Se-1)-1,je,Re,Le,et,ut,ft,At;function Tt(St){var gt=i(St),$n=St-gt;return $n<.5?gt:$n>.5||gt%2?gt+1:gt}for(ee!==ee?(Re=(1<<Se)-1,Le=l(2,ge-1),je=0):ee===1/0||ee===-1/0?(Re=(1<<Se)-1,Le=0,je=ee<0?1:0):ee===0?(Re=0,Le=0,je=1/ee===-1/0?1:0):(je=ee<0,ee=a(ee),ee>=l(2,1-ke)?(Re=s(i(o(ee)/n),1023),Le=Tt(ee/l(2,Re)*l(2,ge)),Le/l(2,ge)>=2&&(Re=Re+1,Le=1),Re>ke?(Re=(1<<Se)-1,Le=0):(Re=Re+ke,Le=Le-l(2,ge))):(Re=0,Le=Tt(ee/l(2,1-ke-ge)))),ut=[],et=ge;et;et-=1)ut.push(Le%2?1:0),Le=i(Le/2);for(et=Se;et;et-=1)ut.push(Re%2?1:0),Re=i(Re/2);for(ut.push(je?1:0),ut.reverse(),ft=ut.join(""),At=[];ft.length;)At.push(parseInt(ft.substring(0,8),2)),ft=ft.substring(8);return At}function $e(ee,Se,ge){var ke=[],je,Re,Le,et,ut,ft,At,Tt;for(je=ee.length;je;je-=1)for(Le=ee[je-1],Re=8;Re;Re-=1)ke.push(Le%2?1:0),Le=Le>>1;return ke.reverse(),et=ke.join(""),ut=(1<<Se-1)-1,ft=parseInt(et.substring(0,1),2)?-1:1,At=parseInt(et.substring(1,1+Se),2),Tt=parseInt(et.substring(1+Se),2),At===(1<<Se)-1?Tt===0?ft*(1/0):NaN:At>0?ft*l(2,At-ut)*(1+Tt/l(2,ge)):Tt!==0?ft*l(2,-(ut-1))*(Tt/l(2,ge)):ft<0?-0:0}function Fe(ee){return $e(ee,11,52)}function He(ee){return Pe(ee,11,52)}function ye(ee){return $e(ee,8,23)}function Oe(ee){return Pe(ee,8,23)}((function(){function ee(St){if(St=r.ToInt32(St),St<0)throw new RangeError("ArrayBuffer size is not a small enough positive integer");this.byteLength=St,this._bytes=[],this._bytes.length=St;var gt;for(gt=0;gt<this.byteLength;gt+=1)this._bytes[gt]=0;w(this);}e.ArrayBuffer=e.ArrayBuffer||ee;function Se(){}function ge(St,gt,$n){var Nt;return Nt=function(Rt,_t,Ht){var Vt,wt,ct,ae;if(!arguments.length||typeof arguments[0]=="number"){if(this.length=r.ToInt32(arguments[0]),Ht<0)throw new RangeError("ArrayBufferView size is not a small enough positive integer");this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new ee(this.byteLength),this.byteOffset=0;}else if(fe(arguments[0])==="object"&&arguments[0].constructor===Nt)for(Vt=arguments[0],this.length=Vt.length,this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new ee(this.byteLength),this.byteOffset=0,ct=0;ct<this.length;ct+=1)this._setter(ct,Vt._getter(ct));else if(fe(arguments[0])==="object"&&!(arguments[0]instanceof ee||r.Class(arguments[0])==="ArrayBuffer"))for(wt=arguments[0],this.length=r.ToUint32(wt.length),this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new ee(this.byteLength),this.byteOffset=0,ct=0;ct<this.length;ct+=1)ae=wt[ct],this._setter(ct,Number(ae));else if(fe(arguments[0])==="object"&&(arguments[0]instanceof ee||r.Class(arguments[0])==="ArrayBuffer")){if(this.buffer=Rt,this.byteOffset=r.ToUint32(_t),this.byteOffset>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=r.ToUint32(Ht),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 throw new TypeError("Unexpected argument type(s)");this.constructor=Nt,w(this),S(this);},Nt.prototype=new Se,Nt.prototype.BYTES_PER_ELEMENT=St,Nt.prototype._pack=gt,Nt.prototype._unpack=$n,Nt.BYTES_PER_ELEMENT=St,Nt.prototype._getter=function(vt){if(arguments.length<1)throw new SyntaxError("Not enough arguments");if(vt=r.ToUint32(vt),!(vt>=this.length)){for(var Rt=[],_t=0,Ht=this.byteOffset+vt*this.BYTES_PER_ELEMENT;_t<this.BYTES_PER_ELEMENT;_t+=1,Ht+=1)Rt.push(this.buffer._bytes[Ht]);return this._unpack(Rt)}},Nt.prototype.get=Nt.prototype._getter,Nt.prototype._setter=function(vt,Rt){if(arguments.length<2)throw new SyntaxError("Not enough arguments");if(vt=r.ToUint32(vt),vt<this.length){var _t=this._pack(Rt),Ht,Vt;for(Ht=0,Vt=this.byteOffset+vt*this.BYTES_PER_ELEMENT;Ht<this.BYTES_PER_ELEMENT;Ht+=1,Vt+=1)this.buffer._bytes[Vt]=_t[Ht];}},Nt.prototype.set=function(vt,Rt){if(arguments.length<1)throw new SyntaxError("Not enough arguments");var _t,Ht,Vt,wt,ct,ae,he,we,Ie,ze;if(fe(arguments[0])==="object"&&arguments[0].constructor===this.constructor){if(_t=arguments[0],Vt=r.ToUint32(arguments[1]),Vt+_t.length>this.length)throw new RangeError("Offset plus length of array is out of range");if(we=this.byteOffset+Vt*this.BYTES_PER_ELEMENT,Ie=_t.length*this.BYTES_PER_ELEMENT,_t.buffer===this.buffer){for(ze=[],ct=0,ae=_t.byteOffset;ct<Ie;ct+=1,ae+=1)ze[ct]=_t.buffer._bytes[ae];for(ct=0,he=we;ct<Ie;ct+=1,he+=1)this.buffer._bytes[he]=ze[ct];}else for(ct=0,ae=_t.byteOffset,he=we;ct<Ie;ct+=1,ae+=1,he+=1)this.buffer._bytes[he]=_t.buffer._bytes[ae];}else if(fe(arguments[0])==="object"&&typeof arguments[0].length<"u"){if(Ht=arguments[0],wt=r.ToUint32(Ht.length),Vt=r.ToUint32(arguments[1]),Vt+wt>this.length)throw new RangeError("Offset plus length of array is out of range");for(ct=0;ct<wt;ct+=1)ae=Ht[ct],this._setter(Vt+ct,Number(ae));}else throw new TypeError("Unexpected argument type(s)")},Nt.prototype.subarray=function(vt,Rt){vt=r.ToInt32(vt),Rt=r.ToInt32(Rt),arguments.length<1&&(vt=0),arguments.length<2&&(Rt=this.length),vt<0&&(vt=this.length+vt),Rt<0&&(Rt=this.length+Rt),vt=c(vt,0,this.length),Rt=c(Rt,0,this.length);var _t=Rt-vt;return _t<0&&(_t=0),new this.constructor(this.buffer,this.byteOffset+vt*this.BYTES_PER_ELEMENT,_t)},Nt}var ke=ge(1,z,G),je=ge(1,X,Y),Re=ge(1,Z,Y),Le=ge(2,ne,se),et=ge(2,pe,Ee),ut=ge(4,le,ve),ft=ge(4,xe,Ce),At=ge(4,Oe,ye),Tt=ge(8,He,Fe);e.Int8Array=e.Int8Array||ke,e.Uint8Array=e.Uint8Array||je,e.Uint8ClampedArray=e.Uint8ClampedArray||Re,e.Int16Array=e.Int16Array||Le,e.Uint16Array=e.Uint16Array||et,e.Int32Array=e.Int32Array||ut,e.Uint32Array=e.Uint32Array||ft,e.Float32Array=e.Float32Array||At,e.Float64Array=e.Float64Array||Tt;}))(),(function(){function ee(Re,Le){return r.IsCallable(Re.get)?Re.get(Le):Re[Le]}var Se=(function(){var Re=new e.Uint16Array([4660]),Le=new e.Uint8Array(Re.buffer);return ee(Le,0)===18})();function ge(Re,Le,et){if(arguments.length===0)Re=new e.ArrayBuffer(0);else if(!(Re instanceof e.ArrayBuffer||r.Class(Re)==="ArrayBuffer"))throw new TypeError("TypeError");if(this.buffer=Re||new e.ArrayBuffer(0),this.byteOffset=r.ToUint32(Le),this.byteOffset>this.buffer.byteLength)throw new RangeError("byteOffset out of range");if(arguments.length<3?this.byteLength=this.buffer.byteLength-this.byteOffset:this.byteLength=r.ToUint32(et),this.byteOffset+this.byteLength>this.buffer.byteLength)throw new RangeError("byteOffset and length reference an area beyond the end of the buffer");w(this);}function ke(Re){return function(Le,et){if(Le=r.ToUint32(Le),Le+Re.BYTES_PER_ELEMENT>this.byteLength)throw new RangeError("Array index out of range");Le+=this.byteOffset;var ut=new e.Uint8Array(this.buffer,Le,Re.BYTES_PER_ELEMENT),ft=[],At;for(At=0;At<Re.BYTES_PER_ELEMENT;At+=1)ft.push(ee(ut,At));return !!et==!!Se&&ft.reverse(),ee(new Re(new e.Uint8Array(ft).buffer),0)}}ge.prototype.getUint8=ke(e.Uint8Array),ge.prototype.getInt8=ke(e.Int8Array),ge.prototype.getUint16=ke(e.Uint16Array),ge.prototype.getInt16=ke(e.Int16Array),ge.prototype.getUint32=ke(e.Uint32Array),ge.prototype.getInt32=ke(e.Int32Array),ge.prototype.getFloat32=ke(e.Float32Array),ge.prototype.getFloat64=ke(e.Float64Array);function je(Re){return function(Le,et,ut){if(Le=r.ToUint32(Le),Le+Re.BYTES_PER_ELEMENT>this.byteLength)throw new RangeError("Array index out of range");var ft=new Re([et]),At=new e.Uint8Array(ft.buffer),Tt=[],St,gt;for(St=0;St<Re.BYTES_PER_ELEMENT;St+=1)Tt.push(ee(At,St));!!ut==!!Se&&Tt.reverse(),gt=new e.Uint8Array(this.buffer,Le,Re.BYTES_PER_ELEMENT),gt.set(Tt);}}ge.prototype.setUint8=je(e.Uint8Array),ge.prototype.setInt8=je(e.Int8Array),ge.prototype.setUint16=je(e.Uint16Array),ge.prototype.setInt16=je(e.Int16Array),ge.prototype.setUint32=je(e.Uint32Array),ge.prototype.setInt32=je(e.Int32Array),ge.prototype.setFloat32=je(e.Float32Array),ge.prototype.setFloat64=je(e.Float64Array),e.DataView=e.DataView||ge;})();}),Ng=U(function(e){(function(t){if(t.WeakMap)return;var r=Object.prototype.hasOwnProperty,n=Object.defineProperty&&(function(){try{return Object.defineProperty({},"x",{value:1}).x===1}catch{}})(),a=function(s,l,u){n?Object.defineProperty(s,l,{configurable:true,writable:true,value:u}):s[l]=u;};t.WeakMap=(function(){function o(){if(this===void 0)throw new TypeError("Constructor WeakMap requires 'new'");if(a(this,"_id",l("_WeakMap")),arguments.length>0)throw new TypeError("WeakMap iterable is not supported")}a(o.prototype,"delete",function(c){if(s(this,"delete"),!i(c))return false;var f=c[this._id];return f&&f[0]===c?(delete c[this._id],true):false}),a(o.prototype,"get",function(c){if(s(this,"get"),!!i(c)){var f=c[this._id];if(f&&f[0]===c)return f[1]}}),a(o.prototype,"has",function(c){if(s(this,"has"),!i(c))return false;var f=c[this._id];return !!(f&&f[0]===c)}),a(o.prototype,"set",function(c,f){if(s(this,"set"),!i(c))throw new TypeError("Invalid value used as weak map key");var g=c[this._id];return g&&g[0]===c?(g[1]=f,this):(a(c,this._id,[c,f]),this)});function s(c,f){if(!i(c)||!r.call(c,"_id"))throw new TypeError(f+" method called on incompatible receiver "+fe(c))}function l(c){return c+"_"+u()+"."+u()}function u(){return Math.random().toString().substring(2)}return a(o,"_polyfill",true),o})();function i(o){return Object(o)===o}})(typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof d<"u"?d:typeof b<"u"?b:e);}),pr=U(function(e,t){var r=function(a){return a&&a.Math===Math&&a};t.exports=r((typeof globalThis>"u"?"undefined":fe(globalThis))=="object"&&globalThis)||r((typeof d>"u"?"undefined":fe(d))=="object"&&d)||r((typeof self>"u"?"undefined":fe(self))=="object"&&self)||r((typeof b>"u"?"undefined":fe(b))=="object"&&b)||r(fe(e)=="object"&&e)||(function(){return this})()||Function("return this")();}),mr=U(function(e,t){t.exports=function(r){try{return !!r()}catch{return true}};}),ti=U(function(e,t){var r=mr();t.exports=!r(function(){var n=function(){}.bind();return typeof n!="function"||n.hasOwnProperty("prototype")});}),qg=U(function(e,t){var r=ti(),n=Function.prototype,a=n.apply,i=n.call;t.exports=(typeof Reflect>"u"?"undefined":fe(Reflect))=="object"&&Reflect.apply||(r?i.bind(a):function(){return i.apply(a,arguments)});}),nr=U(function(e,t){var r=ti(),n=Function.prototype,a=n.call,i=r&&n.bind.bind(a,a);t.exports=r?i:function(o){return function(){return a.apply(o,arguments)}};}),ri=U(function(e,t){var r=nr(),n=r({}.toString),a=r("".slice);t.exports=function(i){return a(n(i),8,-1)};}),Iu=U(function(e,t){var r=ri(),n=nr();t.exports=function(a){if(r(a)==="Function")return n(a)};}),Gt=U(function(e,t){var r=(typeof v>"u"?"undefined":fe(v))=="object"&&v.all;t.exports=typeof r>"u"&&r!==void 0?function(n){return typeof n=="function"||n===r}:function(n){return typeof n=="function"};}),xr=U(function(e,t){var r=mr();t.exports=!r(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7});}),un=U(function(e,t){var r=ti(),n=Function.prototype.call;t.exports=r?n.bind(n):function(){return n.apply(n,arguments)};}),Lu=U(function(e){var t={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,n=r&&!t.call({1:2},1);e.f=n?function(i){var o=r(this,i);return !!o&&o.enumerable}:t;}),ni=U(function(e,t){t.exports=function(r,n){return {enumerable:!(r&1),configurable:!(r&2),writable:!(r&4),value:n}};}),Bg=U(function(e,t){var r=nr(),n=mr(),a=ri(),i=Object,o=r("".split);t.exports=n(function(){return !i("z").propertyIsEnumerable(0)})?function(s){return a(s)==="String"?o(s,""):i(s)}:i;}),Po=U(function(e,t){t.exports=function(r){return r==null};}),ai=U(function(e,t){var r=Po(),n=TypeError;t.exports=function(a){if(r(a))throw new n("Can't call method on "+a);return a};}),Jn=U(function(e,t){var r=Bg(),n=ai();t.exports=function(a){return r(n(a))};}),Gr=U(function(e,t){var r=Gt();t.exports=function(n){return fe(n)=="object"?n!==null:r(n)};}),Zn=U(function(e,t){t.exports={};}),No=U(function(e,t){var r=Zn(),n=pr(),a=Gt(),i=function(s){return a(s)?s:void 0};t.exports=function(o,s){return arguments.length<2?i(r[o])||i(n[o]):r[o]&&r[o][s]||n[o]&&n[o][s]};}),Hg=U(function(e,t){var r=nr();t.exports=r({}.isPrototypeOf);}),Vg=U(function(e,t){var r=pr(),n=r.navigator,a=n&&n.userAgent;t.exports=a?String(a):"";}),jg=U(function(e,t){var r=pr(),n=Vg(),a=r.process,i=r.Deno,o=a&&a.versions||i&&i.version,s=o&&o.v8,l,u;s&&(l=s.split("."),u=l[0]>0&&l[0]<4?1:+(l[0]+l[1])),!u&&n&&(l=n.match(/Edge\/(\d+)/),(!l||l[1]>=74)&&(l=n.match(/Chrome\/(\d+)/),l&&(u=+l[1]))),t.exports=u;}),Mu=U(function(e,t){var r=jg(),n=mr(),a=pr(),i=a.String;t.exports=!!Object.getOwnPropertySymbols&&!n(function(){var o=Symbol("symbol detection");return !i(o)||!(Object(o)instanceof Symbol)||!Symbol.sham&&r&&r<41});}),Ou=U(function(e,t){var r=Mu();t.exports=r&&!Symbol.sham&&fe(Symbol.iterator)=="symbol";}),Pu=U(function(e,t){var r=No(),n=Gt(),a=Hg(),i=Ou(),o=Object;t.exports=i?function(s){return fe(s)=="symbol"}:function(s){var l=r("Symbol");return n(l)&&a(l.prototype,o(s))};}),Nu=U(function(e,t){var r=String;t.exports=function(n){try{return r(n)}catch{return "Object"}};}),ii=U(function(e,t){var r=Gt(),n=Nu(),a=TypeError;t.exports=function(i){if(r(i))return i;throw new a(n(i)+" is not a function")};}),qo=U(function(e,t){var r=ii(),n=Po();t.exports=function(a,i){var o=a[i];return n(o)?void 0:r(o)};}),$g=U(function(e,t){var r=un(),n=Gt(),a=Gr(),i=TypeError;t.exports=function(o,s){var l,u;if(s==="string"&&n(l=o.toString)&&!a(u=r(l,o))||n(l=o.valueOf)&&!a(u=r(l,o))||s!=="string"&&n(l=o.toString)&&!a(u=r(l,o)))return u;throw new i("Can't convert object to primitive value")};}),Bo=U(function(e,t){t.exports=true;}),zg=U(function(e,t){var r=pr(),n=Object.defineProperty;t.exports=function(a,i){try{n(r,a,{value:i,configurable:!0,writable:!0});}catch{r[a]=i;}return i};}),oi=U(function(e,t){var r=Bo(),n=pr(),a=zg(),i="__core-js_shared__",o=t.exports=n[i]||a(i,{});(o.versions||(o.versions=[])).push({version:"3.48.0",mode:r?"pure":"global",copyright:"\xA9 2013\u20132025 Denis Pushkarev (zloirock.ru), 2025\u20132026 CoreJS Company (core-js.io). All rights reserved.",license:"https://github.com/zloirock/core-js/blob/v3.48.0/LICENSE",source:"https://github.com/zloirock/core-js"});}),qu=U(function(e,t){var r=oi();t.exports=function(n,a){return r[n]||(r[n]=a||{})};}),Ho=U(function(e,t){var r=ai(),n=Object;t.exports=function(a){return n(r(a))};}),Or=U(function(e,t){var r=nr(),n=Ho(),a=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(o,s){return a(n(o),s)};}),Bu=U(function(e,t){var r=nr(),n=0,a=Math.random(),i=r(1.1.toString);t.exports=function(o){return "Symbol("+(o===void 0?"":o)+")_"+i(++n+a,36)};}),Pr=U(function(e,t){var r=pr(),n=qu(),a=Or(),i=Bu(),o=Mu(),s=Ou(),l=r.Symbol,u=n("wks"),c=s?l.for||l:l&&l.withoutSetter||i;t.exports=function(f){return a(u,f)||(u[f]=o&&a(l,f)?l[f]:c("Symbol."+f)),u[f]};}),Gg=U(function(e,t){var r=un(),n=Gr(),a=Pu(),i=qo(),o=$g(),s=Pr(),l=TypeError,u=s("toPrimitive");t.exports=function(c,f){if(!n(c)||a(c))return c;var g=i(c,u),w;if(g){if(f===void 0&&(f="default"),w=r(g,c,f),!n(w)||a(w))return w;throw new l("Can't convert object to primitive value")}return f===void 0&&(f="number"),o(c,f)};}),Hu=U(function(e,t){var r=Gg(),n=Pu();t.exports=function(a){var i=r(a,"string");return n(i)?i:i+""};}),Vu=U(function(e,t){var r=pr(),n=Gr(),a=r.document,i=n(a)&&n(a.createElement);t.exports=function(o){return i?a.createElement(o):{}};}),ju=U(function(e,t){var r=xr(),n=mr(),a=Vu();t.exports=!r&&!n(function(){return Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a!==7});}),Wg=U(function(e){var t=xr(),r=un(),n=Lu(),a=ni(),i=Jn(),o=Hu(),s=Or(),l=ju(),u=Object.getOwnPropertyDescriptor;e.f=t?u:function(f,g){if(f=i(f),g=o(g),l)try{return u(f,g)}catch{}if(s(f,g))return a(!r(n.f,f,g),f[g])};}),Ug=U(function(e,t){var r=mr(),n=Gt(),a=/#|\.prototype\./,i=function(f,g){var w=s[o(f)];return w===u?true:w===l?false:n(g)?r(g):!!g},o=i.normalize=function(c){return String(c).replace(a,".").toLowerCase()},s=i.data={},l=i.NATIVE="N",u=i.POLYFILL="P";t.exports=i;}),$u=U(function(e,t){var r=Iu(),n=ii(),a=ti(),i=r(r.bind);t.exports=function(o,s){return n(o),s===void 0?o:a?i(o,s):function(){return o.apply(s,arguments)}};}),zu=U(function(e,t){var r=xr(),n=mr();t.exports=r&&n(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:false}).prototype!==42});}),_n=U(function(e,t){var r=Gr(),n=String,a=TypeError;t.exports=function(i){if(r(i))return i;throw new a(n(i)+" is not an object")};}),si=U(function(e){var t=xr(),r=ju(),n=zu(),a=_n(),i=Hu(),o=TypeError,s=Object.defineProperty,l=Object.getOwnPropertyDescriptor,u="enumerable",c="configurable",f="writable";e.f=t?n?function(w,S,P){if(a(w),S=i(S),a(P),typeof w=="function"&&S==="prototype"&&"value"in P&&f in P&&!P[f]){var H=l(w,S);H&&H[f]&&(w[S]=P.value,P={configurable:c in P?P[c]:H[c],enumerable:u in P?P[u]:H[u],writable:false});}return s(w,S,P)}:s:function(w,S,P){if(a(w),S=i(S),a(P),r)try{return s(w,S,P)}catch{}if("get"in P||"set"in P)throw new o("Accessors not supported");return "value"in P&&(w[S]=P.value),w};}),Qn=U(function(e,t){var r=xr(),n=si(),a=ni();t.exports=r?function(i,o,s){return n.f(i,o,a(1,s))}:function(i,o,s){return i[o]=s,i};}),li=U(function(e,t){var r=pr(),n=qg(),a=Iu(),i=Gt(),o=Wg().f,s=Ug(),l=Zn(),u=$u(),c=Qn(),f=Or();oi();var g=function(S){var P=function(z,G,X){if(this instanceof P){switch(arguments.length){case 0:return new S;case 1:return new S(z);case 2:return new S(z,G)}return new S(z,G,X)}return n(S,this,arguments)};return P.prototype=S.prototype,P};t.exports=function(w,S){var P=w.target,H=w.global,z=w.stat,G=w.proto,X=H?r:z?r[P]:r[P]&&r[P].prototype,Y=H?l:l[P]||c(l,P,{})[P],Z=Y.prototype,ne,se,pe,Ee,le,ve,xe,Ce,Pe;for(Ee in S)ne=s(H?Ee:P+(z?".":"#")+Ee,w.forced),se=!ne&&X&&f(X,Ee),ve=Y[Ee],se&&(w.dontCallGetSet?(Pe=o(X,Ee),xe=Pe&&Pe.value):xe=X[Ee]),le=se&&xe?xe:S[Ee],!(!ne&&!G&&fe(ve)==fe(le))&&(w.bind&&se?Ce=u(le,r):w.wrap&&se?Ce=g(le):G&&i(le)?Ce=a(le):Ce=le,(w.sham||le&&le.sham||ve&&ve.sham)&&c(Ce,"sham",true),c(Y,Ee,Ce),G&&(pe=P+"Prototype",f(l,pe)||c(l,pe,{}),c(l[pe],Ee,le),w.real&&Z&&(ne||!Z[Ee])&&c(Z,Ee,le)));};}),Xg=U(function(){var e=li(),t=Or();e({target:"Object",stat:true},{hasOwn:t});}),Yg=U(function(e,t){Xg();var r=Zn();t.exports=r.Object.hasOwn;}),Kg=U(function(e,t){var r=Yg();t.exports=r;}),Jg=U(function(e,t){var r=Kg();t.exports=r;}),Vo=U(function(e,t){var r=qu(),n=Bu(),a=r("keys");t.exports=function(i){return a[i]||(a[i]=n(i))};}),Zg=U(function(e,t){var r=mr();t.exports=!r(function(){function n(){}return n.prototype.constructor=null,Object.getPrototypeOf(new n)!==n.prototype});}),jo=U(function(e,t){var r=Or(),n=Gt(),a=Ho(),i=Vo(),o=Zg(),s=i("IE_PROTO"),l=Object,u=l.prototype;t.exports=o?l.getPrototypeOf:function(c){var f=a(c);if(r(f,s))return f[s];var g=f.constructor;return n(g)&&f instanceof g?g.prototype:f instanceof l?u:null};}),Qg=U(function(e,t){var r=Math.ceil,n=Math.floor;t.exports=Math.trunc||function(i){var o=+i;return (o>0?n:r)(o)};}),$o=U(function(e,t){var r=Qg();t.exports=function(n){var a=+n;return a!==a||a===0?0:r(a)};}),ev=U(function(e,t){var r=$o(),n=Math.max,a=Math.min;t.exports=function(i,o){var s=r(i);return s<0?n(s+o,0):a(s,o)};}),tv=U(function(e,t){var r=$o(),n=Math.min;t.exports=function(a){var i=r(a);return i>0?n(i,9007199254740991):0};}),Gu=U(function(e,t){var r=tv();t.exports=function(n){return r(n.length)};}),rv=U(function(e,t){var r=Jn(),n=ev(),a=Gu(),i=function(s){return function(l,u,c){var f=r(l),g=a(f);if(g===0)return !s&&-1;var w=n(c,g),S;if(s&&u!==u){for(;g>w;)if(S=f[w++],S!==S)return true}else for(;g>w;w++)if((s||w in f)&&f[w]===u)return s||w||0;return !s&&-1}};t.exports={includes:i(true),indexOf:i(false)};}),zo=U(function(e,t){t.exports={};}),nv=U(function(e,t){var r=nr(),n=Or(),a=Jn(),i=rv().indexOf,o=zo(),s=r([].push);t.exports=function(l,u){var c=a(l),f=0,g=[],w;for(w in c)!n(o,w)&&n(c,w)&&s(g,w);for(;u.length>f;)n(c,w=u[f++])&&(~i(g,w)||s(g,w));return g};}),Wu=U(function(e,t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"];}),Uu=U(function(e,t){var r=nv(),n=Wu();t.exports=Object.keys||function(i){return r(i,n)};}),av=U(function(e,t){var r=xr(),n=mr(),a=nr(),i=jo(),o=Uu(),s=Jn(),l=Lu().f,u=a(l),c=a([].push),f=r&&n(function(){var w=Object.create(null);return w[2]=2,!u(w,2)}),g=function(S){return function(P){for(var H=s(P),z=o(H),G=f&&i(H)===null,X=z.length,Y=0,Z=[],ne;X>Y;)ne=z[Y++],(!r||(G?ne in H:u(H,ne)))&&c(Z,S?[ne,H[ne]]:H[ne]);return Z}};t.exports={entries:g(true),values:g(false)};}),iv=U(function(){var e=li(),t=av().values;e({target:"Object",stat:true},{values:function(n){return t(n)}});}),ov=U(function(e,t){iv();var r=Zn();t.exports=r.Object.values;}),sv=U(function(e,t){var r=ov();t.exports=r;}),lv=U(function(e,t){var r=sv();t.exports=r;}),Go=U(function(e,t){var r=Pr(),n=r("toStringTag"),a={};a[n]="z",t.exports=String(a)==="[object z]";}),ui=U(function(e,t){var r=Go(),n=Gt(),a=ri(),i=Pr(),o=i("toStringTag"),s=Object,l=a((function(){return arguments})())==="Arguments",u=function(f,g){try{return f[g]}catch{}};t.exports=r?a:function(c){var f,g,w;return c===void 0?"Undefined":c===null?"Null":typeof(g=u(f=s(c),o))=="string"?g:l?a(f):(w=a(f))==="Object"&&n(f.callee)?"Arguments":w};}),Xu=U(function(e,t){var r=ui(),n=String;t.exports=function(a){if(r(a)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return n(a)};}),uv=U(function(e,t){var r=nr(),n=$o(),a=Xu(),i=ai(),o=r("".charAt),s=r("".charCodeAt),l=r("".slice),u=function(f){return function(g,w){var S=a(i(g)),P=n(w),H=S.length,z,G;return P<0||P>=H?f?"":void 0:(z=s(S,P),z<55296||z>56319||P+1===H||(G=s(S,P+1))<56320||G>57343?f?o(S,P):z:f?l(S,P,P+2):(z-55296<<10)+(G-56320)+65536)}};t.exports={codeAt:u(false),charAt:u(true)};}),cv=U(function(e,t){var r=pr(),n=Gt(),a=r.WeakMap;t.exports=n(a)&&/native code/.test(String(a));}),dv=U(function(e,t){var r=cv(),n=pr(),a=Gr(),i=Qn(),o=Or(),s=oi(),l=Vo(),u=zo(),c="Object already initialized",f=n.TypeError,g=n.WeakMap,w,S,P,H=function(Z){return P(Z)?S(Z):w(Z,{})},z=function(Z){return function(ne){var se;if(!a(ne)||(se=S(ne)).type!==Z)throw new f("Incompatible receiver, "+Z+" required");return se}};r||s.state?(G=s.state||(s.state=new g),G.get=G.get,G.has=G.has,G.set=G.set,w=function(Z,ne){if(G.has(Z))throw new f(c);return ne.facade=Z,G.set(Z,ne),ne},S=function(Z){return G.get(Z)||{}},P=function(Z){return G.has(Z)}):(X=l("state"),u[X]=true,w=function(Z,ne){if(o(Z,X))throw new f(c);return ne.facade=Z,i(Z,X,ne),ne},S=function(Z){return o(Z,X)?Z[X]:{}},P=function(Z){return o(Z,X)});var G,X;t.exports={set:w,get:S,has:P,enforce:H,getterFor:z};}),fv=U(function(e,t){var r=xr(),n=Or(),a=Function.prototype,i=r&&Object.getOwnPropertyDescriptor,o=n(a,"name"),s=o&&function(){}.name==="something",l=o&&(!r||r&&i(a,"name").configurable);t.exports={EXISTS:o,PROPER:s,CONFIGURABLE:l};}),pv=U(function(e){var t=xr(),r=zu(),n=si(),a=_n(),i=Jn(),o=Uu();e.f=t&&!r?Object.defineProperties:function(l,u){a(l);for(var c=i(u),f=o(u),g=f.length,w=0,S;g>w;)n.f(l,S=f[w++],c[S]);return l};}),mv=U(function(e,t){var r=No();t.exports=r("document","documentElement");}),Yu=U(function(e,t){var r=_n(),n=pv(),a=Wu(),i=zo(),o=mv(),s=Vu(),l=Vo(),u=">",c="<",f="prototype",g="script",w=l("IE_PROTO"),S=function(){},P=function(Z){return c+g+u+Z+c+"/"+g+u},H=function(Z){Z.write(P("")),Z.close();var ne=Z.parentWindow.Object;return Z=null,ne},z=function(){var Z=s("iframe"),ne="java"+g+":",se;return Z.style.display="none",o.appendChild(Z),Z.src=String(ne),se=Z.contentWindow.document,se.open(),se.write(P("document.F=Object")),se.close(),se.F},G,X=function(){try{G=new ActiveXObject("htmlfile");}catch{}X=typeof v<"u"?v.domain&&G?H(G):z():H(G);for(var Z=a.length;Z--;)delete X[f][a[Z]];return X()};i[w]=true,t.exports=Object.create||function(Z,ne){var se;return Z!==null?(S[f]=r(Z),se=new S,S[f]=null,se[w]=Z):se=X(),ne===void 0?se:n.f(se,ne)};}),Ku=U(function(e,t){var r=Qn();t.exports=function(n,a,i,o){return o&&o.enumerable?n[a]=i:r(n,a,i),n};}),Ju=U(function(e,t){var r=mr(),n=Gt(),a=Gr(),i=Yu(),o=jo(),s=Ku(),l=Pr(),u=Bo(),c=l("iterator"),f=false,g,w,S;[].keys&&(S=[].keys(),"next"in S?(w=o(o(S)),w!==Object.prototype&&(g=w)):f=true);var P=!a(g)||r(function(){var H={};return g[c].call(H)!==H});P?g={}:u&&(g=i(g)),n(g[c])||s(g,c,function(){return this}),t.exports={IteratorPrototype:g,BUGGY_SAFARI_ITERATORS:f};}),hv=U(function(e,t){var r=Go(),n=ui();t.exports=r?{}.toString:function(){return "[object "+n(this)+"]"};}),Zu=U(function(e,t){var r=Go(),n=si().f,a=Qn(),i=Or(),o=hv(),s=Pr(),l=s("toStringTag");t.exports=function(u,c,f,g){var w=f?u:u&&u.prototype;w&&(i(w,l)||n(w,l,{configurable:true,value:c}),g&&!r&&a(w,"toString",o));};}),ci=U(function(e,t){t.exports={};}),gv=U(function(e,t){var r=Ju().IteratorPrototype,n=Yu(),a=ni(),i=Zu(),o=ci(),s=function(){return this};t.exports=function(l,u,c,f){var g=u+" Iterator";return l.prototype=n(r,{next:a(+!f,c)}),i(l,g,false,true),o[g]=s,l};}),vv=U(function(e,t){var r=nr(),n=ii();t.exports=function(a,i,o){try{return r(n(Object.getOwnPropertyDescriptor(a,i)[o]))}catch{}};}),bv=U(function(e,t){var r=Gr();t.exports=function(n){return r(n)||n===null};}),yv=U(function(e,t){var r=bv(),n=String,a=TypeError;t.exports=function(i){if(r(i))return i;throw new a("Can't set "+n(i)+" as a prototype")};}),wv=U(function(e,t){var r=vv(),n=Gr(),a=ai(),i=yv();t.exports=Object.setPrototypeOf||("__proto__"in{}?(function(){var o=false,s={},l;try{l=r(Object.prototype,"__proto__","set"),l(s,[]),o=s instanceof Array;}catch{}return function(c,f){return a(c),i(f),n(c)&&(o?l(c,f):c.__proto__=f),c}})():void 0);}),xv=U(function(e,t){var r=li(),n=un(),a=Bo(),i=fv(),o=Gt(),s=gv(),l=jo(),u=wv(),c=Zu(),f=Qn(),g=Ku(),w=Pr(),S=ci(),P=Ju(),H=i.PROPER,z=i.CONFIGURABLE,G=P.IteratorPrototype,X=P.BUGGY_SAFARI_ITERATORS,Y=w("iterator"),Z="keys",ne="values",se="entries",pe=function(){return this};t.exports=function(Ee,le,ve,xe,Ce,Pe,$e){s(ve,le,xe);var Fe=function(et){if(et===Ce&&Se)return Se;if(!X&&et&&et in Oe)return Oe[et];switch(et){case Z:return function(){return new ve(this,et)};case ne:return function(){return new ve(this,et)};case se:return function(){return new ve(this,et)}}return function(){return new ve(this)}},He=le+" Iterator",ye=false,Oe=Ee.prototype,ee=Oe[Y]||Oe["@@iterator"]||Ce&&Oe[Ce],Se=!X&&ee||Fe(Ce),ge=le==="Array"&&Oe.entries||ee,ke,je,Re;if(ge&&(ke=l(ge.call(new Ee)),ke!==Object.prototype&&ke.next&&(!a&&l(ke)!==G&&(u?u(ke,G):o(ke[Y])||g(ke,Y,pe)),c(ke,He,true,true),a&&(S[He]=pe))),H&&Ce===ne&&ee&&ee.name!==ne&&(!a&&z?f(Oe,"name",ne):(ye=true,Se=function(){return n(ee,this)})),Ce)if(je={values:Fe(ne),keys:Pe?Se:Fe(Z),entries:Fe(se)},$e)for(Re in je)(X||ye||!(Re in Oe))&&g(Oe,Re,je[Re]);else r({target:le,proto:true,forced:X||ye},je);return (!a||$e)&&Oe[Y]!==Se&&g(Oe,Y,Se,{name:Ce}),S[le]=Se,je};}),Dv=U(function(e,t){t.exports=function(r,n){return {value:r,done:n}};}),Av=U(function(){var e=uv().charAt,t=Xu(),r=dv(),n=xv(),a=Dv(),i="String Iterator",o=r.set,s=r.getterFor(i);n(String,"String",function(l){o(this,{type:i,string:t(l),index:0});},function(){var u=s(this),c=u.string,f=u.index,g;return f>=c.length?a(void 0,true):(g=e(c,f),u.index+=g.length,a(g,false))});}),_v=U(function(e,t){var r=un(),n=_n(),a=qo();t.exports=function(i,o,s){var l,u;n(i);try{if(l=a(i,"return"),!l){if(o==="throw")throw s;return s}l=r(l,i);}catch(c){u=true,l=c;}if(o==="throw")throw s;if(u)throw l;return n(l),s};}),Ev=U(function(e,t){var r=_n(),n=_v();t.exports=function(a,i,o,s){try{return s?i(r(o)[0],o[1]):i(o)}catch(l){n(a,"throw",l);}};}),Cv=U(function(e,t){var r=Pr(),n=ci(),a=r("iterator"),i=Array.prototype;t.exports=function(o){return o!==void 0&&(n.Array===o||i[a]===o)};}),Sv=U(function(e,t){var r=nr(),n=Gt(),a=oi(),i=r(Function.toString);n(a.inspectSource)||(a.inspectSource=function(o){return i(o)}),t.exports=a.inspectSource;}),kv=U(function(e,t){var r=nr(),n=mr(),a=Gt(),i=ui(),o=No(),s=Sv(),l=function(){},u=o("Reflect","construct"),c=/^\s*(?:class|function)\b/,f=r(c.exec),g=!c.test(l),w=function(H){if(!a(H))return false;try{return u(l,[],H),!0}catch{return false}},S=function(H){if(!a(H))return false;switch(i(H)){case "AsyncFunction":case "GeneratorFunction":case "AsyncGeneratorFunction":return false}try{return g||!!f(c,s(H))}catch{return true}};S.sham=true,t.exports=!u||n(function(){var P;return w(w.call)||!w(Object)||!w(function(){P=true;})||P})?S:w;}),Tv=U(function(e,t){var r=xr(),n=si(),a=ni();t.exports=function(i,o,s){r?n.f(i,o,a(0,s)):i[o]=s;};}),Rv=U(function(e,t){var r=ri();t.exports=Array.isArray||function(a){return r(a)==="Array"};}),Fv=U(function(e,t){var r=xr(),n=Rv(),a=TypeError,i=Object.getOwnPropertyDescriptor,o=r&&!(function(){if(this!==void 0)return true;try{Object.defineProperty([],"length",{writable:!1}).length=1;}catch(s){return s instanceof TypeError}})();t.exports=o?function(s,l){if(n(s)&&!i(s,"length").writable)throw new a("Cannot set read only .length");return s.length=l}:function(s,l){return s.length=l};}),Qu=U(function(e,t){var r=ui(),n=qo(),a=Po(),i=ci(),o=Pr(),s=o("iterator");t.exports=function(l){if(!a(l))return n(l,s)||n(l,"@@iterator")||i[r(l)]};}),Iv=U(function(e,t){var r=un(),n=ii(),a=_n(),i=Nu(),o=Qu(),s=TypeError;t.exports=function(l,u){var c=arguments.length<2?o(l):u;if(n(c))return a(r(c,l));throw new s(i(l)+" is not iterable")};}),Lv=U(function(e,t){var r=$u(),n=un(),a=Ho(),i=Ev(),o=Cv(),s=kv(),l=Gu(),u=Tv(),c=Fv(),f=Iv(),g=Qu(),w=Array;t.exports=function(P){var H=a(P),z=s(this),G=arguments.length,X=G>1?arguments[1]:void 0,Y=X!==void 0;Y&&(X=r(X,G>2?arguments[2]:void 0));var Z=g(H),ne=0,se,pe,Ee,le,ve,xe;if(Z&&!(this===w&&o(Z)))for(pe=z?new this:[],le=f(H,Z),ve=le.next;!(Ee=n(ve,le)).done;ne++)xe=Y?i(le,X,[Ee.value,ne],true):Ee.value,u(pe,ne,xe);else for(se=l(H),pe=z?new this(se):w(se);se>ne;ne++)xe=Y?X(H[ne],ne):H[ne],u(pe,ne,xe);return c(pe,ne),pe};}),Mv=U(function(e,t){var r=Pr(),n=r("iterator"),a=false;try{i=0,o={next:function(){return {done:!!i++}},return:function(){a=!0;}},o[n]=function(){return this},Array.from(o,function(){throw 2});}catch{}var i,o;t.exports=function(s,l){try{if(!l&&!a)return !1}catch{return false}var u=false;try{var c={};c[n]=function(){return {next:function(){return {done:u=!0}}}},s(c);}catch{}return u};}),Ov=U(function(){var e=li(),t=Lv(),r=Mv(),n=!r(function(a){Array.from(a);});e({target:"Array",stat:true,forced:n},{from:t});}),Pv=U(function(e,t){Av(),Ov();var r=Zn();t.exports=r.Array.from;}),Nv=U(function(e,t){var r=Pv();t.exports=r;}),ec=U(function(e,t){var r=Nv();t.exports=r;}),tc=U(function(e){Object.defineProperty(e,"__esModule",{value:true});function t(o){return o>="a"&&o<="z"||o>="A"&&o<="Z"||o==="-"||o==="_"}e.isIdentStart=t;function r(o){return o>="a"&&o<="z"||o>="A"&&o<="Z"||o>="0"&&o<="9"||o==="-"||o==="_"}e.isIdent=r;function n(o){return o>="a"&&o<="f"||o>="A"&&o<="F"||o>="0"&&o<="9"}e.isHex=n;function a(o){for(var s=o.length,l="",u=0;u<s;){var c=o.charAt(u);if(e.identSpecialChars[c])l+="\\"+c;else if(c==="_"||c==="-"||c>="A"&&c<="Z"||c>="a"&&c<="z"||u!==0&&c>="0"&&c<="9")l+=c;else {var f=c.charCodeAt(0);if((f&63488)===55296){var g=o.charCodeAt(u++);if((f&64512)!==55296||(g&64512)!==56320)throw Error("UCS-2(decode): illegal sequence");f=((f&1023)<<10)+(g&1023)+65536;}l+="\\"+f.toString(16)+" ";}u++;}return l}e.escapeIdentifier=a;function i(o){for(var s=o.length,l="",u=0,c;u<s;){var f=o.charAt(u);f==='"'?f='\\"':f==="\\"?f="\\\\":(c=e.strReplacementsRev[f])!==void 0&&(f=c),l+=f,u++;}return '"'+l+'"'}e.escapeStr=i,e.identSpecialChars={"!":true,'"':true,"#":true,$:true,"%":true,"&":true,"'":true,"(":true,")":true,"*":true,"+":true,",":true,".":true,"/":true,";":true,"<":true,"=":true,">":true,"?":true,"@":true,"[":true,"\\":true,"]":true,"^":true,"`":true,"{":true,"|":true,"}":true,"~":true},e.strReplacementsRev={"\n":"\\n","\r":"\\r"," ":"\\t","\f":"\\f","\v":"\\v"},e.singleQuoteEscapeChars={n:`
|
|
362
|
+
`;});var vu={};za(vu,{INJECT_ATTR:()=>$r,OWN_TOOLING_SELECTOR:()=>Jh,attachMutations:()=>hu,dropToolingFindings:()=>gu,guardDetectorState:()=>EI,inject:()=>fu,startProvenance:()=>pu,stopProvenance:()=>mu});async function fu(p,d){let b=`${d.tool}:${Date.now().toString(36)}${Math.random().toString(36).slice(2,6)}`;if(d.css!==void 0){await p.evaluate(({attr:m,mark:E,css:T})=>{let A=document.createElement("style");A.setAttribute(m,E),A.textContent=T,document.documentElement.appendChild(A);},{attr:$r,mark:b,css:d.css});return}if(d.url){let m=await p.addScriptTag({url:d.url});try{await m?.evaluate?.((E,T)=>E.setAttribute(T.attr,T.mark),{attr:$r,mark:b});}catch{}return}let v=`document.currentScript&&document.currentScript.setAttribute(${JSON.stringify($r)},${JSON.stringify(b)});
|
|
363
|
+
`;await p.addScriptTag({content:v+(d.content??"")});}async function pu(p){try{await p.evaluate("if(typeof globalThis.__name==='undefined'){globalThis.__name=function(t){return t}}");}catch{}try{await p.evaluate(({key:d,attr:b,max:v})=>{let m=window;if(m[Symbol.for(d)]||typeof MutationObserver>"u")return;let E={tool:null,log:[],overflow:0,left:new Map};E.ours=T=>{let A=T&&T.nodeType===1?T:T?T.parentElement:null;for(;A;){if(A.hasAttribute(b))return !0;A=A.parentElement;}return !1},E.take=T=>{if(E.tool)for(let A of T){if(A.type==="attributes"&&A.attributeName===b||E.ours(A.target))continue;let F=A.type==="childList"?Array.from(A.addedNodes).filter(R=>!E.ours(R)):[];if(A.type==="childList"&&!F.length&&Array.from(A.removedNodes).every(R=>R.nodeType===1&&R.hasAttribute(b)))continue;let q=F.map(R=>R.nodeName.toLowerCase()+(R.nodeType===1&&R.getAttribute("id")?"#"+R.getAttribute("id"):""));E.log.length<v?E.log.push({tool:E.tool,type:A.type,attr:A.attributeName,target:A.target.nodeName,added:q}):E.overflow++;}},E.obs=new MutationObserver(T=>E.take(T)),E.obs.observe(document,{subtree:!0,childList:!0,attributes:!0,characterData:!0,attributeOldValue:!0}),m[Symbol.for(d)]=E;},{key:Ga,attr:$r,max:AI});}catch{}}async function mu(p){try{return await p.evaluate(d=>{let b=window,v=b[Symbol.for(d)];return v?(v.take(v.obs.takeRecords()),v.obs.disconnect(),delete b[Symbol.for(d)],{log:v.log,overflow:v.overflow}):null},Ga)}catch{return null}}function hu(p,d){if(!d||!p.length)return;let b=d.log;for(let v of p){let m=b.filter(E=>E.tool===v.tool).slice(0,_I).map(({type:E,attr:T,target:A,added:F})=>({type:E,attr:T,target:A,added:F}));m.length&&(v.mutations=m);}}async function EI(p,d,b,v,m={}){let E=null;try{E=await p.evaluate(({key:T,prov:A,name:F,attr:q,widget:R,fsk:y})=>{let _=window;try{let z=_[Symbol.for(y)];z&&document.removeEventListener("focusin",z.h,!0);let V=new WeakMap,X=Q=>{let C=(new Error().stack||"").split(`
|
|
364
|
+
`).slice(1),h=/eval at evaluate/.test(C[0]||""),S=D=>/^\s*at /.test(D)&&!/UtilityScript|eval at evaluate/.test(D);V.set(Q.target,h&&C.length>1&&C.slice(1).some(S)?"page":"ours");};document.addEventListener("focusin",X,!0),_[Symbol.for(y)]={src:V,h:X};}catch{}let x=_[Symbol.for(A)];x&&(x.take(x.obs.takeRecords()),x.tool=F);let O=document.activeElement,I=!!O&&O!==document.body&&O!==document.documentElement,H=[];try{let z=typeof getSelection=="function"?getSelection():null;H=z?Array.from({length:z.rangeCount},(V,X)=>z.getRangeAt(X).cloneRange()):[];}catch{}let M=Array.from(document.querySelectorAll(`[${q}]:not(script):not([${q}="${R}"])`));return _[Symbol.for(T)]={el:I?O:null,ranges:H,marked:new Set(M)},{scrollX:window.scrollX,scrollY:window.scrollY,hadFocus:I,injected:M.length}},{key:Zh,prov:Ga,name:d,attr:$r,widget:du,fsk:Qh});}catch{E=null;}try{return await v()}finally{E&&await CI(p,d,E,b,m);}}async function CI(p,d,b,v,m){let E={leaks:[]};try{E=await p.evaluate(({key:T,prov:A,snap:F,attr:q,widget:R,fsk:y})=>{let _=window,x=[],O=_[Symbol.for(y)];O&&(document.removeEventListener("focusin",O.h,!0),delete _[Symbol.for(y)]);let I=_[Symbol.for(T)],H=I?.el??null;try{delete _[Symbol.for(T)];}catch{}let M=_[Symbol.for(A)];M&&M.take(M.obs.takeRecords());let z=document.activeElement,V=z&&z!==document.body&&z!==document.documentElement?z:null,X=!!V&&V!==H&&O?.src.get(V)==="page";if(V!==H&&!X){x.push("activeElement"),M&&V&&M.left.set(V,M.tool);try{V?.blur?.();}catch{}try{H&&H.isConnected&&H.focus({preventScroll:!0});}catch{}}let Q=null;try{Q=document.querySelector(":focus-visible");}catch{}if(Q&&Q!==H&&!(X&&Q===V)){x.push("focus-visible");try{Q.blur();}catch{}}!X&&(Math.abs(window.scrollX-F.scrollX)>1||Math.abs(window.scrollY-F.scrollY)>1)&&(x.push("scroll"),window.scrollTo({left:F.scrollX,top:F.scrollY,behavior:"instant"}));try{let h=getSelection(),S=I?.ranges??[];if(h&&(h.rangeCount!==S.length||S.some((D,L)=>D.compareBoundaryPoints(Range.START_TO_START,h.getRangeAt(L))!==0||D.compareBoundaryPoints(Range.END_TO_END,h.getRangeAt(L))!==0))){x.push("selection"),h.removeAllRanges();for(let D of S)h.addRange(D);}}catch{}let C=Array.from(document.querySelectorAll(`[${q}]:not(script):not([${q}="${R}"])`));C.length!==F.injected&&x.push(`injected-nodes ${F.injected}->${C.length}`);for(let h of C)if(I?.marked&&!I.marked.has(h))try{h.remove();}catch{}return M&&(M.tool=null),{leaks:x}},{key:Zh,prov:Ga,snap:b,attr:$r,widget:du,fsk:Qh});}catch{}if(E.leaks.length){let T=`tooling:state-not-restored (${d}: ${E.leaks.join(", ")}) \u2014 restored by the scanner`;if(m.bugs?.push({tool:d,kind:"state-not-restored",detail:E.leaks.join(", ")}),m.strict)throw new Error(T);v.push(T);}}async function gu(p,d,b){if(!d.length)return d;let v=Array.from(new Set(d.map(E=>E.selector).filter(Boolean))),m={};try{m=await p.evaluate(({sels:E,own:T,prov:A,attr:F,widget:q})=>{let R=window[Symbol.for(A)],y={};for(let _ of E){y[_]=null;let x=null;try{x=document.querySelector(_.replace(/:(?:focus-visible|focus-within|focus|hover|active)$/,""));}catch{x=null;}if(!x)continue;let O=x.closest(T);if(O&&O!==document.body&&O!==document.documentElement){let I=O.closest(`[${F}]`)?.getAttribute(F);y[_]={tool:I&&I!==q?I.split(":")[0]:null,why:`on node injected by ${I}`};continue}R&&R.left.has(x)&&(y[_]={tool:R.left.get(x),why:"on the element the tool left focused"});}return y},{sels:v,own:Jh,prov:Ga,attr:$r,widget:du});}catch{return d}return d.filter(E=>{let T=m[E.selector];return T?(T.tool&&b?.push({tool:T.tool,kind:"finding-dropped",detail:`${E.type} ${T.why}`,selector:E.selector}),false):true})}var $r,du,Jh,Ga,AI,_I,Zh,Qh,Wa=$a(()=>{$r="data-wa-injected",du="widget",Jh=`[${$r}],[class*=asw-],[id*=webability-widget],[class*=webability-a11y]`,Ga="wa.provenance",AI=500;_I=10;Zh="wa.stateGuard.active",Qh="wa.stateGuard.focusSource";});var eg={};za(eg,{applyPlatformTemplates:()=>RI,detectPlatform:()=>kI,isAriaHiddenSafeForTemplate:()=>bu});function bu(p){let d=p.trim().split(/[\s>~+]+/),v=d[d.length-1].trim().match(/^([a-zA-Z][a-zA-Z0-9-]*)/);if(!v)return true;let m=v[1].toLowerCase();return m==="body"||m==="html"?false:!new Set(["a","button","input","select","textarea"]).has(m)}function SI(){if(Wn)return Wn;try{let p=globalThis.process,d=p?.getBuiltinModule?.("fs"),b=p?.getBuiltinModule?.("path");if(!d||!b)throw new Error("fs unavailable");let v=d.readFileSync(b.join(__dirname,"platformTemplates.json"),"utf-8");return Wn=JSON.parse(v),Wn}catch{return Wn={},Wn}}async function kI(p){return p.evaluate(()=>{let d=[],b=document.documentElement.outerHTML.slice(0,5e4).toLowerCase(),m=(document.querySelector('meta[name="generator"]')?.getAttribute("content")||"").toLowerCase();return (b.includes("shopify")||b.includes("cdn.shopify.com")||window.Shopify)&&d.push("shopify"),(m.includes("wordpress")||b.includes("wp-content")||b.includes("wp-includes"))&&d.push("wordpress"),(b.includes("civicplus")||b.includes("civicalerts")||b.includes("cpslider")||document.querySelector(".cpSlider, #breadCrumbs, .rcPrev, .rcNext"))&&d.push("civicplus"),(b.includes("finalsite")||document.querySelector(".fsHeader, .fsCalendar, .fsPanelGroup, #fsPoweredByFinalsite"))&&d.push("finalsite"),(b.includes("dealersocket")||b.includes("dealer.com")||document.querySelector(".ddc-tracking, .inventory-listing-default, .vlp-refine"))&&d.push("dealer"),(b.includes("wix.com")||b.includes("wixsite.com"))&&d.push("wix"),(b.includes("squarespace")||m.includes("squarespace"))&&d.push("squarespace"),(b.includes("webflow")||m.includes("webflow"))&&d.push("webflow"),d.push("universal"),d.push("universal_iframe"),d})}function TI(p){return /^[a-z][a-z0-9]*$/i.test(p.trim())}async function RI(p,d,b="scan"){let v=SI(),m=[];for(let T of d)v[T]&&m.push(...v[T].filter(A=>!TI(A.selector)));return m.length?b==="manifest"?m.filter(T=>T.attribute==="aria-hidden"&&T.value==="true"?bu(T.selector):true).map(T=>({selector:T.selector,attribute:T.attribute,currentValue:"",issueType:T.attribute==="alt"?"missing_alt":T.attribute==="aria-label"?"missing_label":"missing_semantic_role",wcag:T.attribute==="alt"?"1.1.1":"4.1.2",context:`platform:${T.platform} (template)`,needsAI:false,fixValue:T.value})):(await p.evaluate(T=>{let A=[];for(let F of T)try{let q=document.querySelectorAll(F.selector);if(q.length>0){let R=!1;for(let y of q){let _=y.getAttribute(F.attribute)||"";if(F.attribute==="alt"&&y.getAttribute("alt")===null)R=!0;else if(F.attribute==="alt"&&_===""&&F.value==="")R=!0;else if(F.attribute==="aria-label"&&!_)R=!0;else if(F.attribute==="title"&&!_)R=!0;else if(F.attribute==="role"&&_!==F.value)R=!0;else if(F.attribute==="aria-level"&&!y.getAttribute("aria-level"))R=!(y.tagName==="H1"&&F.value!=="1"&&document.querySelectorAll("h1").length<2);else if(F.attribute==="aria-hidden"&&y.getAttribute("aria-hidden")!=="true"){let x=y.tagName.toLowerCase(),O=x==="a"&&y.hasAttribute("href")||x==="button"||x==="input"||x==="select"||x==="textarea"||Number(y.getAttribute("tabindex")??-1)>=0;x!=="body"&&x!=="html"&&!O&&(R=!0);}if(R)break}R&&A.push({selector:F.selector,attribute:F.attribute,value:F.value,platform:F.platform,matchCount:q.length});}}catch{}return A},m.filter(T=>!(T.attribute==="aria-hidden"&&T.value==="true")||bu(T.selector)).map(T=>({selector:T.selector,attribute:T.attribute,value:T.value,platform:T.platform})))).map(T=>({selector:T.selector,attribute:T.attribute,currentValue:"",issueType:T.attribute==="alt"?"missing_alt":T.attribute==="aria-label"?"missing_label":"missing_semantic_role",wcag:T.attribute==="alt"?"1.1.1":"4.1.2",context:`platform:${T.platform} (${T.matchCount} elements)`,needsAI:false,fixValue:T.value})):[]}var Wn,tg=$a(()=>{Wn=null;});var kg=y3((Sg,Ja)=>{(function p(d){var b=d,v=d.document,m=m||{};m.version="4.11.3",typeof define=="function"&&define.amd&&define("axe-core",[],function(){return m}),(typeof Ja>"u"?"undefined":de(Ja))==="object"&&Ja.exports&&typeof p.toString=="function"&&(m.source="("+p.toString()+')(typeof window === "object" ? window : this);',Ja.exports=m),typeof d.getComputedStyle=="function"&&(d.axe=m);var T=["precision","format","inGamut"],A=["space"],F=["algorithm"],q=["method"],R=["maxDeltaE","deltaEMethod","steps","maxSteps"],y=["node"],_=["relatedNodes"],x=["node"],O=["variant"],I=["matches"],H=["chromium"],M=["noImplicit"],z=["noPresentational"],V=["node"],X=["environmentData"],Q=["environmentData"],C=["environmentData"],h=["environmentData"],S=["environmentData"];function D(te){return dr(te)||rt(te)||Lr(te)||Ir()}function L(te){var oe=typeof Map=="function"?new Map:void 0;return L=function(be){if(be===null||!N(be))return be;if(typeof be!="function")throw new TypeError("Super expression must either be null or a function");if(oe!==void 0){if(oe.has(be))return oe.get(be);oe.set(be,We);}function We(){return W(be,arguments,Se(this).constructor)}return We.prototype=Object.create(be.prototype,{constructor:{value:We,enumerable:false,writable:true,configurable:true}}),Pe(We,be)},L(te)}function N(te){try{return Function.toString.call(te).indexOf("[native code]")!==-1}catch{return typeof te=="function"}}function B(te,oe,ue){return (oe=Qa(oe))in te?Object.defineProperty(te,oe,{value:ue,enumerable:true,configurable:true,writable:true}):te[oe]=ue,te}function W(te,oe,ue){if(me())return Reflect.construct.apply(null,arguments);var be=[null];be.push.apply(be,oe);var We=new(te.bind.apply(te,be));return ue&&Pe(We,ue.prototype),We}function J(te,oe){if(te==null)return {};var ue,be,We=ie(te,oe);if(Object.getOwnPropertySymbols){var tt=Object.getOwnPropertySymbols(te);for(be=0;be<tt.length;be++)ue=tt[be],oe.indexOf(ue)===-1&&{}.propertyIsEnumerable.call(te,ue)&&(We[ue]=te[ue]);}return We}function ie(te,oe){if(te==null)return {};var ue={};for(var be in te)if({}.hasOwnProperty.call(te,be)){if(oe.indexOf(be)!==-1)continue;ue[be]=te[be];}return ue}function ne(te,oe,ue){return oe=Se(oe),ce(te,me()?Reflect.construct(oe,ue||[],Se(te).constructor):oe.apply(te,ue))}function ce(te,oe){if(oe&&(de(oe)=="object"||typeof oe=="function"))return oe;if(oe!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return _e(te)}function _e(te){if(te===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return te}function me(){try{var te=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));}catch{}return (me=function(){return !!te})()}function Se(te){return Se=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(oe){return oe.__proto__||Object.getPrototypeOf(oe)},Se(te)}function Ge(te,oe){if(typeof oe!="function"&&oe!==null)throw new TypeError("Super expression must either be null or a function");te.prototype=Object.create(oe&&oe.prototype,{constructor:{value:te,writable:true,configurable:true}}),Object.defineProperty(te,"prototype",{writable:false}),oe&&Pe(te,oe);}function Pe(te,oe){return Pe=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(ue,be){return ue.__proto__=be,ue},Pe(te,oe)}function ve(){return ve=Object.assign?Object.assign.bind():function(te){for(var oe=1;oe<arguments.length;oe++){var ue=arguments[oe];for(var be in ue)({}).hasOwnProperty.call(ue,be)&&(te[be]=ue[be]);}return te},ve.apply(null,arguments)}function De(te){return Ne(te)||rt(te)||Lr(te)||yt()}function yt(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
365
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function rt(te){if(typeof Symbol<"u"&&te[Symbol.iterator]!=null||te["@@iterator"]!=null)return Array.from(te)}function Ne(te){if(Array.isArray(te))return ln(te)}function Ft(te,oe,ue){Fr(te,oe),oe.set(te,ue);}function Za(te,oe){Fr(te,oe),oe.add(te);}function Fr(te,oe){if(oe.has(te))throw new TypeError("Cannot initialize the same private elements twice on an object")}function $t(te,oe){return te.get(zr(te,oe))}function Lt(te,oe,ue){return te.set(zr(te,oe),ue),ue}function zr(te,oe,ue){if(typeof te=="function"?te===oe:te.has(oe))return arguments.length<3?oe:ue;throw new TypeError("Private element is not present on this object")}function Ae(te,oe){return dr(te)||cr(te,oe)||Lr(te,oe)||Ir()}function Ir(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
366
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function cr(te,oe){var ue=te==null?null:typeof Symbol<"u"&&te[Symbol.iterator]||te["@@iterator"];if(ue!=null){var be,We,tt,st,mt=[],Je=true,qe=false;try{if(tt=(ue=ue.call(te)).next,oe===0){if(Object(ue)!==ue)return;Je=!1;}else for(;!(Je=(be=tt.call(ue)).done)&&(mt.push(be.value),mt.length!==oe);Je=!0);}catch(Xt){qe=true,We=Xt;}finally{try{if(!Je&&ue.return!=null&&(st=ue.return(),Object(st)!==st))return}finally{if(qe)throw We}}return mt}}function dr(te){if(Array.isArray(te))return te}function rr(te,oe){if(!(te instanceof oe))throw new TypeError("Cannot call a class as a function")}function Yn(te,oe){for(var ue=0;ue<oe.length;ue++){var be=oe[ue];be.enumerable=be.enumerable||false,be.configurable=true,"value"in be&&(be.writable=true),Object.defineProperty(te,Qa(be.key),be);}}function zt(te,oe,ue){return oe&&Yn(te.prototype,oe),ue&&Yn(te,ue),Object.defineProperty(te,"prototype",{writable:false}),te}function Qa(te){var oe=ei(te,"string");return de(oe)=="symbol"?oe:oe+""}function ei(te,oe){if(de(te)!="object"||!te)return te;var ue=te[Symbol.toPrimitive];if(ue!==void 0){var be=ue.call(te,oe);if(de(be)!="object")return be;throw new TypeError("@@toPrimitive must return a primitive value.")}return (oe==="string"?String:Number)(te)}function ot(te,oe){var ue=typeof Symbol<"u"&&te[Symbol.iterator]||te["@@iterator"];if(!ue){if(Array.isArray(te)||(ue=Lr(te))||oe){ue&&(te=ue);var be=0,We=function(){};return {s:We,n:function(){return be>=te.length?{done:true}:{done:false,value:te[be++]}},e:function(qe){throw qe},f:We}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
367
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var tt,st=true,mt=false;return {s:function(){ue=ue.call(te);},n:function(){var qe=ue.next();return st=qe.done,qe},e:function(qe){mt=true,tt=qe;},f:function(){try{st||ue.return==null||ue.return();}finally{if(mt)throw tt}}}}function Lr(te,oe){if(te){if(typeof te=="string")return ln(te,oe);var ue={}.toString.call(te).slice(8,-1);return ue==="Object"&&te.constructor&&(ue=te.constructor.name),ue==="Map"||ue==="Set"?Array.from(te):ue==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(ue)?ln(te,oe):void 0}}function ln(te,oe){(oe==null||oe>te.length)&&(oe=te.length);for(var ue=0,be=Array(oe);ue<oe;ue++)be[ue]=te[ue];return be}function de(te){"@babel/helpers - typeof";return de=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(oe){return typeof oe}:function(oe){return oe&&typeof Symbol=="function"&&oe.constructor===Symbol&&oe!==Symbol.prototype?"symbol":typeof oe},de(te)}((function(te,oe,ue,be,We,tt,st,mt,Je,qe,Xt){var Yt=Object.create,Mr=Object.defineProperty,Kn=Object.getPrototypeOf,Tg=Object.prototype.hasOwnProperty,Rg=Object.getOwnPropertyNames,Fg=Object.getOwnPropertyDescriptor,Ig=function(t,r,n){return r in t?Mr(t,r,{enumerable:true,configurable:true,writable:true,value:n}):t[r]=n},Lg=function(t){return Mr(t,"__esModule",{value:true})},U=function(t,r){return function(){return r||t((r={exports:{}}).exports,r),r.exports}},fr=function(t,r){for(var n in r)Mr(t,n,{get:r[n],enumerable:true});},Mg=function(t,r,n){if(r&&de(r)==="object"||typeof r=="function"){var a=ot(Rg(r)),i;try{var o=function(){var l=i.value;!Tg.call(t,l)&&l!=="default"&&Mr(t,l,{get:function(){return r[l]},enumerable:!(n=Fg(r,l))||n.enumerable});};for(a.s();!(i=a.n()).done;)o();}catch(s){a.e(s);}finally{a.f();}}return t},wr=function(t){return Mg(Lg(Mr(t!=null?Yt(Kn(t)):{},"default",t&&t.__esModule&&"default"in t?{get:function(){return t.default},enumerable:true}:{value:t,enumerable:true})),t)},Fu=function(t,r,n){return Ig(t,de(r)!=="symbol"?r+"":r,n),n},Og=U(function(e,t){(function(r,n){de(e)==="object"&&typeof t<"u"?t.exports=n():typeof define=="function"&&define.amd?define(n):r.ES6Promise=n();})(e,function(){function r(ae){var pe=de(ae);return ae!==null&&(pe==="object"||pe==="function")}function n(ae){return typeof ae=="function"}var a=void 0;Array.isArray?a=Array.isArray:a=function(pe){return Object.prototype.toString.call(pe)==="[object Array]"};var i=a,o=0,s=void 0,l=void 0,u=function(pe,we){re[o]=pe,re[o+1]=we,o+=2,o===2&&(l?l(se):Ee());};function c(ae){l=ae;}function f(ae){u=ae;}var g=typeof d<"u"?d:void 0,w=g||{},k=w.MutationObserver||w.WebKitMutationObserver,P=typeof self>"u"&&typeof process<"u"&&{}.toString.call(process)==="[object process]",j=typeof Uint8ClampedArray<"u"&&typeof importScripts<"u"&&typeof MessageChannel<"u";function $(){return function(){return process.nextTick(se)}}function G(){return typeof s<"u"?function(){s(se);}:Z()}function Y(){var ae=0,pe=new k(se),we=v.createTextNode("");return pe.observe(we,{characterData:true}),function(){we.data=ae=++ae%2;}}function K(){var ae=new MessageChannel;return ae.port1.onmessage=se,function(){return ae.port2.postMessage(0)}}function Z(){var ae=setTimeout;return function(){return ae(se,1)}}var re=new Array(1e3);function se(){for(var ae=0;ae<o;ae+=2){var pe=re[ae],we=re[ae+1];pe(we),re[ae]=void 0,re[ae+1]=void 0;}o=0;}function fe(){try{var ae=Function("return this")().require("vertx");return s=ae.runOnLoop||ae.runOnContext,G()}catch{return Z()}}var Ee=void 0;P?Ee=$():k?Ee=Y():j?Ee=K():g===void 0?Ee=fe():Ee=Z();function le(ae,pe){var we=this,Ie=new this.constructor(Ce);Ie[xe]===void 0&&vt(Ie);var ze=we._state;if(ze){var Ze=arguments[ze-1];u(function(){return pt(ze,Ie,Ze,we._result)});}else et(we,Ie,ae,pe);return Ie}function ge(ae){var pe=this;if(ae&&de(ae)==="object"&&ae.constructor===pe)return ae;var we=new pe(Ce);return Te(we,ae),we}var xe=Math.random().toString(36).substring(2);function Ce(){}var Oe=void 0,$e=1,Fe=2;function He(){return new TypeError("You cannot resolve a promise with itself")}function ye(){return new TypeError("A promises callback cannot return that same promise.")}function Me(ae,pe,we,Ie){try{ae.call(pe,we,Ie);}catch(ze){return ze}}function ee(ae,pe,we){u(function(Ie){var ze=false,Ze=Me(we,pe,function(It){ze||(ze=true,pe!==It?Te(Ie,It):Re(Ie,It));},function(It){ze||(ze=true,Le(Ie,It));},"Settle: "+(Ie._label||" unknown promise"));!ze&&Ze&&(ze=true,Le(Ie,Ze));},ae);}function ke(ae,pe){pe._state===$e?Re(ae,pe._result):pe._state===Fe?Le(ae,pe._result):et(pe,void 0,function(we){return Te(ae,we)},function(we){return Le(ae,we)});}function he(ae,pe,we){pe.constructor===ae.constructor&&we===le&&pe.constructor.resolve===ge?ke(ae,pe):we===void 0?Re(ae,pe):n(we)?ee(ae,pe,we):Re(ae,pe);}function Te(ae,pe){if(ae===pe)Le(ae,He());else if(r(pe)){var we=void 0;try{we=pe.then;}catch(Ie){Le(ae,Ie);return}he(ae,pe,we);}else Re(ae,pe);}function je(ae){ae._onerror&&ae._onerror(ae._result),ct(ae);}function Re(ae,pe){ae._state===Oe&&(ae._result=pe,ae._state=$e,ae._subscribers.length!==0&&u(ct,ae));}function Le(ae,pe){ae._state===Oe&&(ae._state=Fe,ae._result=pe,u(je,ae));}function et(ae,pe,we,Ie){var ze=ae._subscribers,Ze=ze.length;ae._onerror=null,ze[Ze]=pe,ze[Ze+$e]=we,ze[Ze+Fe]=Ie,Ze===0&&ae._state&&u(ct,ae);}function ct(ae){var pe=ae._subscribers,we=ae._state;if(pe.length!==0){for(var Ie=void 0,ze=void 0,Ze=ae._result,It=0;It<pe.length;It+=3)Ie=pe[It],ze=pe[It+we],Ie?pt(we,Ie,ze,Ze):ze(Ze);ae._subscribers.length=0;}}function pt(ae,pe,we,Ie){var ze=n(we),Ze=void 0,It=void 0,zn=true;if(ze){try{Ze=we(Ie);}catch(Fo){zn=false,It=Fo;}if(pe===Ze){Le(pe,ye());return}}else Ze=Ie;pe._state!==Oe||(ze&&zn?Te(pe,Ze):zn===false?Le(pe,It):ae===$e?Re(pe,Ze):ae===Fe&&Le(pe,Ze));}function _t(ae,pe){try{pe(function(Ie){Te(ae,Ie);},function(Ie){Le(ae,Ie);});}catch(we){Le(ae,we);}}var Tt=0;function kt(){return Tt++}function vt(ae){ae[xe]=Tt++,ae._state=void 0,ae._result=void 0,ae._subscribers=[];}function $n(){return new Error("Array Methods must be provided an Array")}var Nt=(function(){function ae(pe,we){this._instanceConstructor=pe,this.promise=new pe(Ce),this.promise[xe]||vt(this.promise),i(we)?(this.length=we.length,this._remaining=we.length,this._result=new Array(this.length),this.length===0?Re(this.promise,this._result):(this.length=this.length||0,this._enumerate(we),this._remaining===0&&Re(this.promise,this._result))):Le(this.promise,$n());}return ae.prototype._enumerate=function(we){for(var Ie=0;this._state===Oe&&Ie<we.length;Ie++)this._eachEntry(we[Ie],Ie);},ae.prototype._eachEntry=function(we,Ie){var ze=this._instanceConstructor,Ze=ze.resolve;if(Ze===ge){var It=void 0,zn=void 0,Fo=false;try{It=we.then;}catch(uu){Fo=true,zn=uu;}if(It===le&&we._state!==Oe)this._settledAt(we._state,Ie,we._result);else if(typeof It!="function")this._remaining--,this._result[Ie]=we;else if(ze===Dt){var lu=new ze(Ce);Fo?Le(lu,zn):he(lu,we,It),this._willSettleAt(lu,Ie);}else this._willSettleAt(new ze(function(uu){return uu(we)}),Ie);}else this._willSettleAt(Ze(we),Ie);},ae.prototype._settledAt=function(we,Ie,ze){var Ze=this.promise;Ze._state===Oe&&(this._remaining--,we===Fe?Le(Ze,ze):this._result[Ie]=ze),this._remaining===0&&Re(Ze,this._result);},ae.prototype._willSettleAt=function(we,Ie){var ze=this;et(we,void 0,function(Ze){return ze._settledAt($e,Ie,Ze)},function(Ze){return ze._settledAt(Fe,Ie,Ze)});},ae})();function bt(ae){return new Nt(this,ae).promise}function Rt(ae){var pe=this;return i(ae)?new pe(function(we,Ie){for(var ze=ae.length,Ze=0;Ze<ze;Ze++)pe.resolve(ae[Ze]).then(we,Ie);}):new pe(function(we,Ie){return Ie(new TypeError("You must pass an array to race."))})}function Et(ae){var pe=this,we=new pe(Ce);return Le(we,ae),we}function Ht(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function Vt(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}var Dt=(function(){function ae(pe){this[xe]=kt(),this._result=this._state=void 0,this._subscribers=[],Ce!==pe&&(typeof pe!="function"&&Ht(),this instanceof ae?_t(this,pe):Vt());}return ae.prototype.catch=function(we){return this.then(null,we)},ae.prototype.finally=function(we){var Ie=this,ze=Ie.constructor;return n(we)?Ie.then(function(Ze){return ze.resolve(we()).then(function(){return Ze})},function(Ze){return ze.resolve(we()).then(function(){throw Ze})}):Ie.then(we,we)},ae})();Dt.prototype.then=le,Dt.all=bt,Dt.race=Rt,Dt.resolve=ge,Dt.reject=Et,Dt._setScheduler=c,Dt._setAsap=f,Dt._asap=u;function dt(){var ae=void 0;if(typeof b<"u")ae=b;else if(typeof self<"u")ae=self;else try{ae=Function("return this")();}catch{throw new Error("polyfill failed because global object is unavailable in this environment")}var pe=ae.Promise;if(pe){var we=null;try{we=Object.prototype.toString.call(pe.resolve());}catch{}if(we==="[object Promise]"&&!pe.cast)return}ae.Promise=Dt;}return Dt.polyfill=dt,Dt.Promise=Dt,Dt});}),Pg=U(function(e){var t=1e5,r=(function(){var ee=Object.prototype.toString,ke=Object.prototype.hasOwnProperty;return {Class:function(Te){return ee.call(Te).replace(/^\[object *|\]$/g,"")},HasProperty:function(Te,je){return je in Te},HasOwnProperty:function(Te,je){return ke.call(Te,je)},IsCallable:function(Te){return typeof Te=="function"},ToInt32:function(Te){return Te>>0},ToUint32:function(Te){return Te>>>0}}})(),n=Math.LN2,a=Math.abs,i=Math.floor,o=Math.log,s=Math.min,l=Math.pow,u=Math.round;function c(ee,ke,he){return ee<ke?ke:ee>he?he:ee}var f=Object.getOwnPropertyNames||function(ee){if(ee!==Object(ee))throw new TypeError("Object.getOwnPropertyNames called on non-object");var ke=[],he;for(he in ee)r.HasOwnProperty(ee,he)&&ke.push(he);return ke},g;Object.defineProperty&&(function(){try{return Object.defineProperty({},"x",{}),!0}catch{return false}})()?g=Object.defineProperty:g=function(ke,he,Te){if(!ke===Object(ke))throw new TypeError("Object.defineProperty called on non-object");return r.HasProperty(Te,"get")&&Object.prototype.__defineGetter__&&Object.prototype.__defineGetter__.call(ke,he,Te.get),r.HasProperty(Te,"set")&&Object.prototype.__defineSetter__&&Object.prototype.__defineSetter__.call(ke,he,Te.set),r.HasProperty(Te,"value")&&(ke[he]=Te.value),ke};function w(ee){if(f&&g){var ke=f(ee),he;for(he=0;he<ke.length;he+=1)g(ee,ke[he],{value:ee[ke[he]],writable:false,enumerable:false,configurable:false});}}function k(ee){if(!g)return;if(ee.length>t)throw new RangeError("Array too large for polyfill");function ke(Te){g(ee,Te,{get:function(){return ee._getter(Te)},set:function(Re){ee._setter(Te,Re);},enumerable:true,configurable:false});}var he;for(he=0;he<ee.length;he+=1)ke(he);}function P(ee,ke){var he=32-ke;return ee<<he>>he}function j(ee,ke){var he=32-ke;return ee<<he>>>he}function $(ee){return [ee&255]}function G(ee){return P(ee[0],8)}function Y(ee){return [ee&255]}function K(ee){return j(ee[0],8)}function Z(ee){return ee=u(Number(ee)),[ee<0?0:ee>255?255:ee&255]}function re(ee){return [ee>>8&255,ee&255]}function se(ee){return P(ee[0]<<8|ee[1],16)}function fe(ee){return [ee>>8&255,ee&255]}function Ee(ee){return j(ee[0]<<8|ee[1],16)}function le(ee){return [ee>>24&255,ee>>16&255,ee>>8&255,ee&255]}function ge(ee){return P(ee[0]<<24|ee[1]<<16|ee[2]<<8|ee[3],32)}function xe(ee){return [ee>>24&255,ee>>16&255,ee>>8&255,ee&255]}function Ce(ee){return j(ee[0]<<24|ee[1]<<16|ee[2]<<8|ee[3],32)}function Oe(ee,ke,he){var Te=(1<<ke-1)-1,je,Re,Le,et,ct,pt,_t;function Tt(kt){var vt=i(kt),$n=kt-vt;return $n<.5?vt:$n>.5||vt%2?vt+1:vt}for(ee!==ee?(Re=(1<<ke)-1,Le=l(2,he-1),je=0):ee===1/0||ee===-1/0?(Re=(1<<ke)-1,Le=0,je=ee<0?1:0):ee===0?(Re=0,Le=0,je=1/ee===-1/0?1:0):(je=ee<0,ee=a(ee),ee>=l(2,1-Te)?(Re=s(i(o(ee)/n),1023),Le=Tt(ee/l(2,Re)*l(2,he)),Le/l(2,he)>=2&&(Re=Re+1,Le=1),Re>Te?(Re=(1<<ke)-1,Le=0):(Re=Re+Te,Le=Le-l(2,he))):(Re=0,Le=Tt(ee/l(2,1-Te-he)))),ct=[],et=he;et;et-=1)ct.push(Le%2?1:0),Le=i(Le/2);for(et=ke;et;et-=1)ct.push(Re%2?1:0),Re=i(Re/2);for(ct.push(je?1:0),ct.reverse(),pt=ct.join(""),_t=[];pt.length;)_t.push(parseInt(pt.substring(0,8),2)),pt=pt.substring(8);return _t}function $e(ee,ke,he){var Te=[],je,Re,Le,et,ct,pt,_t,Tt;for(je=ee.length;je;je-=1)for(Le=ee[je-1],Re=8;Re;Re-=1)Te.push(Le%2?1:0),Le=Le>>1;return Te.reverse(),et=Te.join(""),ct=(1<<ke-1)-1,pt=parseInt(et.substring(0,1),2)?-1:1,_t=parseInt(et.substring(1,1+ke),2),Tt=parseInt(et.substring(1+ke),2),_t===(1<<ke)-1?Tt===0?pt*(1/0):NaN:_t>0?pt*l(2,_t-ct)*(1+Tt/l(2,he)):Tt!==0?pt*l(2,-(ct-1))*(Tt/l(2,he)):pt<0?-0:0}function Fe(ee){return $e(ee,11,52)}function He(ee){return Oe(ee,11,52)}function ye(ee){return $e(ee,8,23)}function Me(ee){return Oe(ee,8,23)}((function(){function ee(kt){if(kt=r.ToInt32(kt),kt<0)throw new RangeError("ArrayBuffer size is not a small enough positive integer");this.byteLength=kt,this._bytes=[],this._bytes.length=kt;var vt;for(vt=0;vt<this.byteLength;vt+=1)this._bytes[vt]=0;w(this);}e.ArrayBuffer=e.ArrayBuffer||ee;function ke(){}function he(kt,vt,$n){var Nt;return Nt=function(Rt,Et,Ht){var Vt,Dt,dt,ae;if(!arguments.length||typeof arguments[0]=="number"){if(this.length=r.ToInt32(arguments[0]),Ht<0)throw new RangeError("ArrayBufferView size is not a small enough positive integer");this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new ee(this.byteLength),this.byteOffset=0;}else if(de(arguments[0])==="object"&&arguments[0].constructor===Nt)for(Vt=arguments[0],this.length=Vt.length,this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new ee(this.byteLength),this.byteOffset=0,dt=0;dt<this.length;dt+=1)this._setter(dt,Vt._getter(dt));else if(de(arguments[0])==="object"&&!(arguments[0]instanceof ee||r.Class(arguments[0])==="ArrayBuffer"))for(Dt=arguments[0],this.length=r.ToUint32(Dt.length),this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new ee(this.byteLength),this.byteOffset=0,dt=0;dt<this.length;dt+=1)ae=Dt[dt],this._setter(dt,Number(ae));else if(de(arguments[0])==="object"&&(arguments[0]instanceof ee||r.Class(arguments[0])==="ArrayBuffer")){if(this.buffer=Rt,this.byteOffset=r.ToUint32(Et),this.byteOffset>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=r.ToUint32(Ht),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 throw new TypeError("Unexpected argument type(s)");this.constructor=Nt,w(this),k(this);},Nt.prototype=new ke,Nt.prototype.BYTES_PER_ELEMENT=kt,Nt.prototype._pack=vt,Nt.prototype._unpack=$n,Nt.BYTES_PER_ELEMENT=kt,Nt.prototype._getter=function(bt){if(arguments.length<1)throw new SyntaxError("Not enough arguments");if(bt=r.ToUint32(bt),!(bt>=this.length)){for(var Rt=[],Et=0,Ht=this.byteOffset+bt*this.BYTES_PER_ELEMENT;Et<this.BYTES_PER_ELEMENT;Et+=1,Ht+=1)Rt.push(this.buffer._bytes[Ht]);return this._unpack(Rt)}},Nt.prototype.get=Nt.prototype._getter,Nt.prototype._setter=function(bt,Rt){if(arguments.length<2)throw new SyntaxError("Not enough arguments");if(bt=r.ToUint32(bt),bt<this.length){var Et=this._pack(Rt),Ht,Vt;for(Ht=0,Vt=this.byteOffset+bt*this.BYTES_PER_ELEMENT;Ht<this.BYTES_PER_ELEMENT;Ht+=1,Vt+=1)this.buffer._bytes[Vt]=Et[Ht];}},Nt.prototype.set=function(bt,Rt){if(arguments.length<1)throw new SyntaxError("Not enough arguments");var Et,Ht,Vt,Dt,dt,ae,pe,we,Ie,ze;if(de(arguments[0])==="object"&&arguments[0].constructor===this.constructor){if(Et=arguments[0],Vt=r.ToUint32(arguments[1]),Vt+Et.length>this.length)throw new RangeError("Offset plus length of array is out of range");if(we=this.byteOffset+Vt*this.BYTES_PER_ELEMENT,Ie=Et.length*this.BYTES_PER_ELEMENT,Et.buffer===this.buffer){for(ze=[],dt=0,ae=Et.byteOffset;dt<Ie;dt+=1,ae+=1)ze[dt]=Et.buffer._bytes[ae];for(dt=0,pe=we;dt<Ie;dt+=1,pe+=1)this.buffer._bytes[pe]=ze[dt];}else for(dt=0,ae=Et.byteOffset,pe=we;dt<Ie;dt+=1,ae+=1,pe+=1)this.buffer._bytes[pe]=Et.buffer._bytes[ae];}else if(de(arguments[0])==="object"&&typeof arguments[0].length<"u"){if(Ht=arguments[0],Dt=r.ToUint32(Ht.length),Vt=r.ToUint32(arguments[1]),Vt+Dt>this.length)throw new RangeError("Offset plus length of array is out of range");for(dt=0;dt<Dt;dt+=1)ae=Ht[dt],this._setter(Vt+dt,Number(ae));}else throw new TypeError("Unexpected argument type(s)")},Nt.prototype.subarray=function(bt,Rt){bt=r.ToInt32(bt),Rt=r.ToInt32(Rt),arguments.length<1&&(bt=0),arguments.length<2&&(Rt=this.length),bt<0&&(bt=this.length+bt),Rt<0&&(Rt=this.length+Rt),bt=c(bt,0,this.length),Rt=c(Rt,0,this.length);var Et=Rt-bt;return Et<0&&(Et=0),new this.constructor(this.buffer,this.byteOffset+bt*this.BYTES_PER_ELEMENT,Et)},Nt}var Te=he(1,$,G),je=he(1,Y,K),Re=he(1,Z,K),Le=he(2,re,se),et=he(2,fe,Ee),ct=he(4,le,ge),pt=he(4,xe,Ce),_t=he(4,Me,ye),Tt=he(8,He,Fe);e.Int8Array=e.Int8Array||Te,e.Uint8Array=e.Uint8Array||je,e.Uint8ClampedArray=e.Uint8ClampedArray||Re,e.Int16Array=e.Int16Array||Le,e.Uint16Array=e.Uint16Array||et,e.Int32Array=e.Int32Array||ct,e.Uint32Array=e.Uint32Array||pt,e.Float32Array=e.Float32Array||_t,e.Float64Array=e.Float64Array||Tt;}))(),(function(){function ee(Re,Le){return r.IsCallable(Re.get)?Re.get(Le):Re[Le]}var ke=(function(){var Re=new e.Uint16Array([4660]),Le=new e.Uint8Array(Re.buffer);return ee(Le,0)===18})();function he(Re,Le,et){if(arguments.length===0)Re=new e.ArrayBuffer(0);else if(!(Re instanceof e.ArrayBuffer||r.Class(Re)==="ArrayBuffer"))throw new TypeError("TypeError");if(this.buffer=Re||new e.ArrayBuffer(0),this.byteOffset=r.ToUint32(Le),this.byteOffset>this.buffer.byteLength)throw new RangeError("byteOffset out of range");if(arguments.length<3?this.byteLength=this.buffer.byteLength-this.byteOffset:this.byteLength=r.ToUint32(et),this.byteOffset+this.byteLength>this.buffer.byteLength)throw new RangeError("byteOffset and length reference an area beyond the end of the buffer");w(this);}function Te(Re){return function(Le,et){if(Le=r.ToUint32(Le),Le+Re.BYTES_PER_ELEMENT>this.byteLength)throw new RangeError("Array index out of range");Le+=this.byteOffset;var ct=new e.Uint8Array(this.buffer,Le,Re.BYTES_PER_ELEMENT),pt=[],_t;for(_t=0;_t<Re.BYTES_PER_ELEMENT;_t+=1)pt.push(ee(ct,_t));return !!et==!!ke&&pt.reverse(),ee(new Re(new e.Uint8Array(pt).buffer),0)}}he.prototype.getUint8=Te(e.Uint8Array),he.prototype.getInt8=Te(e.Int8Array),he.prototype.getUint16=Te(e.Uint16Array),he.prototype.getInt16=Te(e.Int16Array),he.prototype.getUint32=Te(e.Uint32Array),he.prototype.getInt32=Te(e.Int32Array),he.prototype.getFloat32=Te(e.Float32Array),he.prototype.getFloat64=Te(e.Float64Array);function je(Re){return function(Le,et,ct){if(Le=r.ToUint32(Le),Le+Re.BYTES_PER_ELEMENT>this.byteLength)throw new RangeError("Array index out of range");var pt=new Re([et]),_t=new e.Uint8Array(pt.buffer),Tt=[],kt,vt;for(kt=0;kt<Re.BYTES_PER_ELEMENT;kt+=1)Tt.push(ee(_t,kt));!!ct==!!ke&&Tt.reverse(),vt=new e.Uint8Array(this.buffer,Le,Re.BYTES_PER_ELEMENT),vt.set(Tt);}}he.prototype.setUint8=je(e.Uint8Array),he.prototype.setInt8=je(e.Int8Array),he.prototype.setUint16=je(e.Uint16Array),he.prototype.setInt16=je(e.Int16Array),he.prototype.setUint32=je(e.Uint32Array),he.prototype.setInt32=je(e.Int32Array),he.prototype.setFloat32=je(e.Float32Array),he.prototype.setFloat64=je(e.Float64Array),e.DataView=e.DataView||he;})();}),Ng=U(function(e){(function(t){if(t.WeakMap)return;var r=Object.prototype.hasOwnProperty,n=Object.defineProperty&&(function(){try{return Object.defineProperty({},"x",{value:1}).x===1}catch{}})(),a=function(s,l,u){n?Object.defineProperty(s,l,{configurable:true,writable:true,value:u}):s[l]=u;};t.WeakMap=(function(){function o(){if(this===void 0)throw new TypeError("Constructor WeakMap requires 'new'");if(a(this,"_id",l("_WeakMap")),arguments.length>0)throw new TypeError("WeakMap iterable is not supported")}a(o.prototype,"delete",function(c){if(s(this,"delete"),!i(c))return false;var f=c[this._id];return f&&f[0]===c?(delete c[this._id],true):false}),a(o.prototype,"get",function(c){if(s(this,"get"),!!i(c)){var f=c[this._id];if(f&&f[0]===c)return f[1]}}),a(o.prototype,"has",function(c){if(s(this,"has"),!i(c))return false;var f=c[this._id];return !!(f&&f[0]===c)}),a(o.prototype,"set",function(c,f){if(s(this,"set"),!i(c))throw new TypeError("Invalid value used as weak map key");var g=c[this._id];return g&&g[0]===c?(g[1]=f,this):(a(c,this._id,[c,f]),this)});function s(c,f){if(!i(c)||!r.call(c,"_id"))throw new TypeError(f+" method called on incompatible receiver "+de(c))}function l(c){return c+"_"+u()+"."+u()}function u(){return Math.random().toString().substring(2)}return a(o,"_polyfill",true),o})();function i(o){return Object(o)===o}})(typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof d<"u"?d:typeof b<"u"?b:e);}),pr=U(function(e,t){var r=function(a){return a&&a.Math===Math&&a};t.exports=r((typeof globalThis>"u"?"undefined":de(globalThis))=="object"&&globalThis)||r((typeof d>"u"?"undefined":de(d))=="object"&&d)||r((typeof self>"u"?"undefined":de(self))=="object"&&self)||r((typeof b>"u"?"undefined":de(b))=="object"&&b)||r(de(e)=="object"&&e)||(function(){return this})()||Function("return this")();}),mr=U(function(e,t){t.exports=function(r){try{return !!r()}catch{return true}};}),ti=U(function(e,t){var r=mr();t.exports=!r(function(){var n=function(){}.bind();return typeof n!="function"||n.hasOwnProperty("prototype")});}),qg=U(function(e,t){var r=ti(),n=Function.prototype,a=n.apply,i=n.call;t.exports=(typeof Reflect>"u"?"undefined":de(Reflect))=="object"&&Reflect.apply||(r?i.bind(a):function(){return i.apply(a,arguments)});}),nr=U(function(e,t){var r=ti(),n=Function.prototype,a=n.call,i=r&&n.bind.bind(a,a);t.exports=r?i:function(o){return function(){return a.apply(o,arguments)}};}),ri=U(function(e,t){var r=nr(),n=r({}.toString),a=r("".slice);t.exports=function(i){return a(n(i),8,-1)};}),Iu=U(function(e,t){var r=ri(),n=nr();t.exports=function(a){if(r(a)==="Function")return n(a)};}),Gt=U(function(e,t){var r=(typeof v>"u"?"undefined":de(v))=="object"&&v.all;t.exports=typeof r>"u"&&r!==void 0?function(n){return typeof n=="function"||n===r}:function(n){return typeof n=="function"};}),xr=U(function(e,t){var r=mr();t.exports=!r(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7});}),un=U(function(e,t){var r=ti(),n=Function.prototype.call;t.exports=r?n.bind(n):function(){return n.apply(n,arguments)};}),Lu=U(function(e){var t={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,n=r&&!t.call({1:2},1);e.f=n?function(i){var o=r(this,i);return !!o&&o.enumerable}:t;}),ni=U(function(e,t){t.exports=function(r,n){return {enumerable:!(r&1),configurable:!(r&2),writable:!(r&4),value:n}};}),Bg=U(function(e,t){var r=nr(),n=mr(),a=ri(),i=Object,o=r("".split);t.exports=n(function(){return !i("z").propertyIsEnumerable(0)})?function(s){return a(s)==="String"?o(s,""):i(s)}:i;}),Po=U(function(e,t){t.exports=function(r){return r==null};}),ai=U(function(e,t){var r=Po(),n=TypeError;t.exports=function(a){if(r(a))throw new n("Can't call method on "+a);return a};}),Jn=U(function(e,t){var r=Bg(),n=ai();t.exports=function(a){return r(n(a))};}),Gr=U(function(e,t){var r=Gt();t.exports=function(n){return de(n)=="object"?n!==null:r(n)};}),Zn=U(function(e,t){t.exports={};}),No=U(function(e,t){var r=Zn(),n=pr(),a=Gt(),i=function(s){return a(s)?s:void 0};t.exports=function(o,s){return arguments.length<2?i(r[o])||i(n[o]):r[o]&&r[o][s]||n[o]&&n[o][s]};}),Hg=U(function(e,t){var r=nr();t.exports=r({}.isPrototypeOf);}),Vg=U(function(e,t){var r=pr(),n=r.navigator,a=n&&n.userAgent;t.exports=a?String(a):"";}),jg=U(function(e,t){var r=pr(),n=Vg(),a=r.process,i=r.Deno,o=a&&a.versions||i&&i.version,s=o&&o.v8,l,u;s&&(l=s.split("."),u=l[0]>0&&l[0]<4?1:+(l[0]+l[1])),!u&&n&&(l=n.match(/Edge\/(\d+)/),(!l||l[1]>=74)&&(l=n.match(/Chrome\/(\d+)/),l&&(u=+l[1]))),t.exports=u;}),Mu=U(function(e,t){var r=jg(),n=mr(),a=pr(),i=a.String;t.exports=!!Object.getOwnPropertySymbols&&!n(function(){var o=Symbol("symbol detection");return !i(o)||!(Object(o)instanceof Symbol)||!Symbol.sham&&r&&r<41});}),Ou=U(function(e,t){var r=Mu();t.exports=r&&!Symbol.sham&&de(Symbol.iterator)=="symbol";}),Pu=U(function(e,t){var r=No(),n=Gt(),a=Hg(),i=Ou(),o=Object;t.exports=i?function(s){return de(s)=="symbol"}:function(s){var l=r("Symbol");return n(l)&&a(l.prototype,o(s))};}),Nu=U(function(e,t){var r=String;t.exports=function(n){try{return r(n)}catch{return "Object"}};}),ii=U(function(e,t){var r=Gt(),n=Nu(),a=TypeError;t.exports=function(i){if(r(i))return i;throw new a(n(i)+" is not a function")};}),qo=U(function(e,t){var r=ii(),n=Po();t.exports=function(a,i){var o=a[i];return n(o)?void 0:r(o)};}),$g=U(function(e,t){var r=un(),n=Gt(),a=Gr(),i=TypeError;t.exports=function(o,s){var l,u;if(s==="string"&&n(l=o.toString)&&!a(u=r(l,o))||n(l=o.valueOf)&&!a(u=r(l,o))||s!=="string"&&n(l=o.toString)&&!a(u=r(l,o)))return u;throw new i("Can't convert object to primitive value")};}),Bo=U(function(e,t){t.exports=true;}),zg=U(function(e,t){var r=pr(),n=Object.defineProperty;t.exports=function(a,i){try{n(r,a,{value:i,configurable:!0,writable:!0});}catch{r[a]=i;}return i};}),oi=U(function(e,t){var r=Bo(),n=pr(),a=zg(),i="__core-js_shared__",o=t.exports=n[i]||a(i,{});(o.versions||(o.versions=[])).push({version:"3.48.0",mode:r?"pure":"global",copyright:"\xA9 2013\u20132025 Denis Pushkarev (zloirock.ru), 2025\u20132026 CoreJS Company (core-js.io). All rights reserved.",license:"https://github.com/zloirock/core-js/blob/v3.48.0/LICENSE",source:"https://github.com/zloirock/core-js"});}),qu=U(function(e,t){var r=oi();t.exports=function(n,a){return r[n]||(r[n]=a||{})};}),Ho=U(function(e,t){var r=ai(),n=Object;t.exports=function(a){return n(r(a))};}),Or=U(function(e,t){var r=nr(),n=Ho(),a=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(o,s){return a(n(o),s)};}),Bu=U(function(e,t){var r=nr(),n=0,a=Math.random(),i=r(1.1.toString);t.exports=function(o){return "Symbol("+(o===void 0?"":o)+")_"+i(++n+a,36)};}),Pr=U(function(e,t){var r=pr(),n=qu(),a=Or(),i=Bu(),o=Mu(),s=Ou(),l=r.Symbol,u=n("wks"),c=s?l.for||l:l&&l.withoutSetter||i;t.exports=function(f){return a(u,f)||(u[f]=o&&a(l,f)?l[f]:c("Symbol."+f)),u[f]};}),Gg=U(function(e,t){var r=un(),n=Gr(),a=Pu(),i=qo(),o=$g(),s=Pr(),l=TypeError,u=s("toPrimitive");t.exports=function(c,f){if(!n(c)||a(c))return c;var g=i(c,u),w;if(g){if(f===void 0&&(f="default"),w=r(g,c,f),!n(w)||a(w))return w;throw new l("Can't convert object to primitive value")}return f===void 0&&(f="number"),o(c,f)};}),Hu=U(function(e,t){var r=Gg(),n=Pu();t.exports=function(a){var i=r(a,"string");return n(i)?i:i+""};}),Vu=U(function(e,t){var r=pr(),n=Gr(),a=r.document,i=n(a)&&n(a.createElement);t.exports=function(o){return i?a.createElement(o):{}};}),ju=U(function(e,t){var r=xr(),n=mr(),a=Vu();t.exports=!r&&!n(function(){return Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a!==7});}),Wg=U(function(e){var t=xr(),r=un(),n=Lu(),a=ni(),i=Jn(),o=Hu(),s=Or(),l=ju(),u=Object.getOwnPropertyDescriptor;e.f=t?u:function(f,g){if(f=i(f),g=o(g),l)try{return u(f,g)}catch{}if(s(f,g))return a(!r(n.f,f,g),f[g])};}),Ug=U(function(e,t){var r=mr(),n=Gt(),a=/#|\.prototype\./,i=function(f,g){var w=s[o(f)];return w===u?true:w===l?false:n(g)?r(g):!!g},o=i.normalize=function(c){return String(c).replace(a,".").toLowerCase()},s=i.data={},l=i.NATIVE="N",u=i.POLYFILL="P";t.exports=i;}),$u=U(function(e,t){var r=Iu(),n=ii(),a=ti(),i=r(r.bind);t.exports=function(o,s){return n(o),s===void 0?o:a?i(o,s):function(){return o.apply(s,arguments)}};}),zu=U(function(e,t){var r=xr(),n=mr();t.exports=r&&n(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:false}).prototype!==42});}),_n=U(function(e,t){var r=Gr(),n=String,a=TypeError;t.exports=function(i){if(r(i))return i;throw new a(n(i)+" is not an object")};}),si=U(function(e){var t=xr(),r=ju(),n=zu(),a=_n(),i=Hu(),o=TypeError,s=Object.defineProperty,l=Object.getOwnPropertyDescriptor,u="enumerable",c="configurable",f="writable";e.f=t?n?function(w,k,P){if(a(w),k=i(k),a(P),typeof w=="function"&&k==="prototype"&&"value"in P&&f in P&&!P[f]){var j=l(w,k);j&&j[f]&&(w[k]=P.value,P={configurable:c in P?P[c]:j[c],enumerable:u in P?P[u]:j[u],writable:false});}return s(w,k,P)}:s:function(w,k,P){if(a(w),k=i(k),a(P),r)try{return s(w,k,P)}catch{}if("get"in P||"set"in P)throw new o("Accessors not supported");return "value"in P&&(w[k]=P.value),w};}),Qn=U(function(e,t){var r=xr(),n=si(),a=ni();t.exports=r?function(i,o,s){return n.f(i,o,a(1,s))}:function(i,o,s){return i[o]=s,i};}),li=U(function(e,t){var r=pr(),n=qg(),a=Iu(),i=Gt(),o=Wg().f,s=Ug(),l=Zn(),u=$u(),c=Qn(),f=Or();oi();var g=function(k){var P=function($,G,Y){if(this instanceof P){switch(arguments.length){case 0:return new k;case 1:return new k($);case 2:return new k($,G)}return new k($,G,Y)}return n(k,this,arguments)};return P.prototype=k.prototype,P};t.exports=function(w,k){var P=w.target,j=w.global,$=w.stat,G=w.proto,Y=j?r:$?r[P]:r[P]&&r[P].prototype,K=j?l:l[P]||c(l,P,{})[P],Z=K.prototype,re,se,fe,Ee,le,ge,xe,Ce,Oe;for(Ee in k)re=s(j?Ee:P+($?".":"#")+Ee,w.forced),se=!re&&Y&&f(Y,Ee),ge=K[Ee],se&&(w.dontCallGetSet?(Oe=o(Y,Ee),xe=Oe&&Oe.value):xe=Y[Ee]),le=se&&xe?xe:k[Ee],!(!re&&!G&&de(ge)==de(le))&&(w.bind&&se?Ce=u(le,r):w.wrap&&se?Ce=g(le):G&&i(le)?Ce=a(le):Ce=le,(w.sham||le&&le.sham||ge&&ge.sham)&&c(Ce,"sham",true),c(K,Ee,Ce),G&&(fe=P+"Prototype",f(l,fe)||c(l,fe,{}),c(l[fe],Ee,le),w.real&&Z&&(re||!Z[Ee])&&c(Z,Ee,le)));};}),Xg=U(function(){var e=li(),t=Or();e({target:"Object",stat:true},{hasOwn:t});}),Yg=U(function(e,t){Xg();var r=Zn();t.exports=r.Object.hasOwn;}),Kg=U(function(e,t){var r=Yg();t.exports=r;}),Jg=U(function(e,t){var r=Kg();t.exports=r;}),Vo=U(function(e,t){var r=qu(),n=Bu(),a=r("keys");t.exports=function(i){return a[i]||(a[i]=n(i))};}),Zg=U(function(e,t){var r=mr();t.exports=!r(function(){function n(){}return n.prototype.constructor=null,Object.getPrototypeOf(new n)!==n.prototype});}),jo=U(function(e,t){var r=Or(),n=Gt(),a=Ho(),i=Vo(),o=Zg(),s=i("IE_PROTO"),l=Object,u=l.prototype;t.exports=o?l.getPrototypeOf:function(c){var f=a(c);if(r(f,s))return f[s];var g=f.constructor;return n(g)&&f instanceof g?g.prototype:f instanceof l?u:null};}),Qg=U(function(e,t){var r=Math.ceil,n=Math.floor;t.exports=Math.trunc||function(i){var o=+i;return (o>0?n:r)(o)};}),$o=U(function(e,t){var r=Qg();t.exports=function(n){var a=+n;return a!==a||a===0?0:r(a)};}),ev=U(function(e,t){var r=$o(),n=Math.max,a=Math.min;t.exports=function(i,o){var s=r(i);return s<0?n(s+o,0):a(s,o)};}),tv=U(function(e,t){var r=$o(),n=Math.min;t.exports=function(a){var i=r(a);return i>0?n(i,9007199254740991):0};}),Gu=U(function(e,t){var r=tv();t.exports=function(n){return r(n.length)};}),rv=U(function(e,t){var r=Jn(),n=ev(),a=Gu(),i=function(s){return function(l,u,c){var f=r(l),g=a(f);if(g===0)return !s&&-1;var w=n(c,g),k;if(s&&u!==u){for(;g>w;)if(k=f[w++],k!==k)return true}else for(;g>w;w++)if((s||w in f)&&f[w]===u)return s||w||0;return !s&&-1}};t.exports={includes:i(true),indexOf:i(false)};}),zo=U(function(e,t){t.exports={};}),nv=U(function(e,t){var r=nr(),n=Or(),a=Jn(),i=rv().indexOf,o=zo(),s=r([].push);t.exports=function(l,u){var c=a(l),f=0,g=[],w;for(w in c)!n(o,w)&&n(c,w)&&s(g,w);for(;u.length>f;)n(c,w=u[f++])&&(~i(g,w)||s(g,w));return g};}),Wu=U(function(e,t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"];}),Uu=U(function(e,t){var r=nv(),n=Wu();t.exports=Object.keys||function(i){return r(i,n)};}),av=U(function(e,t){var r=xr(),n=mr(),a=nr(),i=jo(),o=Uu(),s=Jn(),l=Lu().f,u=a(l),c=a([].push),f=r&&n(function(){var w=Object.create(null);return w[2]=2,!u(w,2)}),g=function(k){return function(P){for(var j=s(P),$=o(j),G=f&&i(j)===null,Y=$.length,K=0,Z=[],re;Y>K;)re=$[K++],(!r||(G?re in j:u(j,re)))&&c(Z,k?[re,j[re]]:j[re]);return Z}};t.exports={entries:g(true),values:g(false)};}),iv=U(function(){var e=li(),t=av().values;e({target:"Object",stat:true},{values:function(n){return t(n)}});}),ov=U(function(e,t){iv();var r=Zn();t.exports=r.Object.values;}),sv=U(function(e,t){var r=ov();t.exports=r;}),lv=U(function(e,t){var r=sv();t.exports=r;}),Go=U(function(e,t){var r=Pr(),n=r("toStringTag"),a={};a[n]="z",t.exports=String(a)==="[object z]";}),ui=U(function(e,t){var r=Go(),n=Gt(),a=ri(),i=Pr(),o=i("toStringTag"),s=Object,l=a((function(){return arguments})())==="Arguments",u=function(f,g){try{return f[g]}catch{}};t.exports=r?a:function(c){var f,g,w;return c===void 0?"Undefined":c===null?"Null":typeof(g=u(f=s(c),o))=="string"?g:l?a(f):(w=a(f))==="Object"&&n(f.callee)?"Arguments":w};}),Xu=U(function(e,t){var r=ui(),n=String;t.exports=function(a){if(r(a)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return n(a)};}),uv=U(function(e,t){var r=nr(),n=$o(),a=Xu(),i=ai(),o=r("".charAt),s=r("".charCodeAt),l=r("".slice),u=function(f){return function(g,w){var k=a(i(g)),P=n(w),j=k.length,$,G;return P<0||P>=j?f?"":void 0:($=s(k,P),$<55296||$>56319||P+1===j||(G=s(k,P+1))<56320||G>57343?f?o(k,P):$:f?l(k,P,P+2):($-55296<<10)+(G-56320)+65536)}};t.exports={codeAt:u(false),charAt:u(true)};}),cv=U(function(e,t){var r=pr(),n=Gt(),a=r.WeakMap;t.exports=n(a)&&/native code/.test(String(a));}),dv=U(function(e,t){var r=cv(),n=pr(),a=Gr(),i=Qn(),o=Or(),s=oi(),l=Vo(),u=zo(),c="Object already initialized",f=n.TypeError,g=n.WeakMap,w,k,P,j=function(Z){return P(Z)?k(Z):w(Z,{})},$=function(Z){return function(re){var se;if(!a(re)||(se=k(re)).type!==Z)throw new f("Incompatible receiver, "+Z+" required");return se}};r||s.state?(G=s.state||(s.state=new g),G.get=G.get,G.has=G.has,G.set=G.set,w=function(Z,re){if(G.has(Z))throw new f(c);return re.facade=Z,G.set(Z,re),re},k=function(Z){return G.get(Z)||{}},P=function(Z){return G.has(Z)}):(Y=l("state"),u[Y]=true,w=function(Z,re){if(o(Z,Y))throw new f(c);return re.facade=Z,i(Z,Y,re),re},k=function(Z){return o(Z,Y)?Z[Y]:{}},P=function(Z){return o(Z,Y)});var G,Y;t.exports={set:w,get:k,has:P,enforce:j,getterFor:$};}),fv=U(function(e,t){var r=xr(),n=Or(),a=Function.prototype,i=r&&Object.getOwnPropertyDescriptor,o=n(a,"name"),s=o&&function(){}.name==="something",l=o&&(!r||r&&i(a,"name").configurable);t.exports={EXISTS:o,PROPER:s,CONFIGURABLE:l};}),pv=U(function(e){var t=xr(),r=zu(),n=si(),a=_n(),i=Jn(),o=Uu();e.f=t&&!r?Object.defineProperties:function(l,u){a(l);for(var c=i(u),f=o(u),g=f.length,w=0,k;g>w;)n.f(l,k=f[w++],c[k]);return l};}),mv=U(function(e,t){var r=No();t.exports=r("document","documentElement");}),Yu=U(function(e,t){var r=_n(),n=pv(),a=Wu(),i=zo(),o=mv(),s=Vu(),l=Vo(),u=">",c="<",f="prototype",g="script",w=l("IE_PROTO"),k=function(){},P=function(Z){return c+g+u+Z+c+"/"+g+u},j=function(Z){Z.write(P("")),Z.close();var re=Z.parentWindow.Object;return Z=null,re},$=function(){var Z=s("iframe"),re="java"+g+":",se;return Z.style.display="none",o.appendChild(Z),Z.src=String(re),se=Z.contentWindow.document,se.open(),se.write(P("document.F=Object")),se.close(),se.F},G,Y=function(){try{G=new ActiveXObject("htmlfile");}catch{}Y=typeof v<"u"?v.domain&&G?j(G):$():j(G);for(var Z=a.length;Z--;)delete Y[f][a[Z]];return Y()};i[w]=true,t.exports=Object.create||function(Z,re){var se;return Z!==null?(k[f]=r(Z),se=new k,k[f]=null,se[w]=Z):se=Y(),re===void 0?se:n.f(se,re)};}),Ku=U(function(e,t){var r=Qn();t.exports=function(n,a,i,o){return o&&o.enumerable?n[a]=i:r(n,a,i),n};}),Ju=U(function(e,t){var r=mr(),n=Gt(),a=Gr(),i=Yu(),o=jo(),s=Ku(),l=Pr(),u=Bo(),c=l("iterator"),f=false,g,w,k;[].keys&&(k=[].keys(),"next"in k?(w=o(o(k)),w!==Object.prototype&&(g=w)):f=true);var P=!a(g)||r(function(){var j={};return g[c].call(j)!==j});P?g={}:u&&(g=i(g)),n(g[c])||s(g,c,function(){return this}),t.exports={IteratorPrototype:g,BUGGY_SAFARI_ITERATORS:f};}),hv=U(function(e,t){var r=Go(),n=ui();t.exports=r?{}.toString:function(){return "[object "+n(this)+"]"};}),Zu=U(function(e,t){var r=Go(),n=si().f,a=Qn(),i=Or(),o=hv(),s=Pr(),l=s("toStringTag");t.exports=function(u,c,f,g){var w=f?u:u&&u.prototype;w&&(i(w,l)||n(w,l,{configurable:true,value:c}),g&&!r&&a(w,"toString",o));};}),ci=U(function(e,t){t.exports={};}),gv=U(function(e,t){var r=Ju().IteratorPrototype,n=Yu(),a=ni(),i=Zu(),o=ci(),s=function(){return this};t.exports=function(l,u,c,f){var g=u+" Iterator";return l.prototype=n(r,{next:a(+!f,c)}),i(l,g,false,true),o[g]=s,l};}),vv=U(function(e,t){var r=nr(),n=ii();t.exports=function(a,i,o){try{return r(n(Object.getOwnPropertyDescriptor(a,i)[o]))}catch{}};}),bv=U(function(e,t){var r=Gr();t.exports=function(n){return r(n)||n===null};}),yv=U(function(e,t){var r=bv(),n=String,a=TypeError;t.exports=function(i){if(r(i))return i;throw new a("Can't set "+n(i)+" as a prototype")};}),wv=U(function(e,t){var r=vv(),n=Gr(),a=ai(),i=yv();t.exports=Object.setPrototypeOf||("__proto__"in{}?(function(){var o=false,s={},l;try{l=r(Object.prototype,"__proto__","set"),l(s,[]),o=s instanceof Array;}catch{}return function(c,f){return a(c),i(f),n(c)&&(o?l(c,f):c.__proto__=f),c}})():void 0);}),xv=U(function(e,t){var r=li(),n=un(),a=Bo(),i=fv(),o=Gt(),s=gv(),l=jo(),u=wv(),c=Zu(),f=Qn(),g=Ku(),w=Pr(),k=ci(),P=Ju(),j=i.PROPER,$=i.CONFIGURABLE,G=P.IteratorPrototype,Y=P.BUGGY_SAFARI_ITERATORS,K=w("iterator"),Z="keys",re="values",se="entries",fe=function(){return this};t.exports=function(Ee,le,ge,xe,Ce,Oe,$e){s(ge,le,xe);var Fe=function(et){if(et===Ce&&ke)return ke;if(!Y&&et&&et in Me)return Me[et];switch(et){case Z:return function(){return new ge(this,et)};case re:return function(){return new ge(this,et)};case se:return function(){return new ge(this,et)}}return function(){return new ge(this)}},He=le+" Iterator",ye=false,Me=Ee.prototype,ee=Me[K]||Me["@@iterator"]||Ce&&Me[Ce],ke=!Y&&ee||Fe(Ce),he=le==="Array"&&Me.entries||ee,Te,je,Re;if(he&&(Te=l(he.call(new Ee)),Te!==Object.prototype&&Te.next&&(!a&&l(Te)!==G&&(u?u(Te,G):o(Te[K])||g(Te,K,fe)),c(Te,He,true,true),a&&(k[He]=fe))),j&&Ce===re&&ee&&ee.name!==re&&(!a&&$?f(Me,"name",re):(ye=true,ke=function(){return n(ee,this)})),Ce)if(je={values:Fe(re),keys:Oe?ke:Fe(Z),entries:Fe(se)},$e)for(Re in je)(Y||ye||!(Re in Me))&&g(Me,Re,je[Re]);else r({target:le,proto:true,forced:Y||ye},je);return (!a||$e)&&Me[K]!==ke&&g(Me,K,ke,{name:Ce}),k[le]=ke,je};}),Dv=U(function(e,t){t.exports=function(r,n){return {value:r,done:n}};}),Av=U(function(){var e=uv().charAt,t=Xu(),r=dv(),n=xv(),a=Dv(),i="String Iterator",o=r.set,s=r.getterFor(i);n(String,"String",function(l){o(this,{type:i,string:t(l),index:0});},function(){var u=s(this),c=u.string,f=u.index,g;return f>=c.length?a(void 0,true):(g=e(c,f),u.index+=g.length,a(g,false))});}),_v=U(function(e,t){var r=un(),n=_n(),a=qo();t.exports=function(i,o,s){var l,u;n(i);try{if(l=a(i,"return"),!l){if(o==="throw")throw s;return s}l=r(l,i);}catch(c){u=true,l=c;}if(o==="throw")throw s;if(u)throw l;return n(l),s};}),Ev=U(function(e,t){var r=_n(),n=_v();t.exports=function(a,i,o,s){try{return s?i(r(o)[0],o[1]):i(o)}catch(l){n(a,"throw",l);}};}),Cv=U(function(e,t){var r=Pr(),n=ci(),a=r("iterator"),i=Array.prototype;t.exports=function(o){return o!==void 0&&(n.Array===o||i[a]===o)};}),Sv=U(function(e,t){var r=nr(),n=Gt(),a=oi(),i=r(Function.toString);n(a.inspectSource)||(a.inspectSource=function(o){return i(o)}),t.exports=a.inspectSource;}),kv=U(function(e,t){var r=nr(),n=mr(),a=Gt(),i=ui(),o=No(),s=Sv(),l=function(){},u=o("Reflect","construct"),c=/^\s*(?:class|function)\b/,f=r(c.exec),g=!c.test(l),w=function(j){if(!a(j))return false;try{return u(l,[],j),!0}catch{return false}},k=function(j){if(!a(j))return false;switch(i(j)){case "AsyncFunction":case "GeneratorFunction":case "AsyncGeneratorFunction":return false}try{return g||!!f(c,s(j))}catch{return true}};k.sham=true,t.exports=!u||n(function(){var P;return w(w.call)||!w(Object)||!w(function(){P=true;})||P})?k:w;}),Tv=U(function(e,t){var r=xr(),n=si(),a=ni();t.exports=function(i,o,s){r?n.f(i,o,a(0,s)):i[o]=s;};}),Rv=U(function(e,t){var r=ri();t.exports=Array.isArray||function(a){return r(a)==="Array"};}),Fv=U(function(e,t){var r=xr(),n=Rv(),a=TypeError,i=Object.getOwnPropertyDescriptor,o=r&&!(function(){if(this!==void 0)return true;try{Object.defineProperty([],"length",{writable:!1}).length=1;}catch(s){return s instanceof TypeError}})();t.exports=o?function(s,l){if(n(s)&&!i(s,"length").writable)throw new a("Cannot set read only .length");return s.length=l}:function(s,l){return s.length=l};}),Qu=U(function(e,t){var r=ui(),n=qo(),a=Po(),i=ci(),o=Pr(),s=o("iterator");t.exports=function(l){if(!a(l))return n(l,s)||n(l,"@@iterator")||i[r(l)]};}),Iv=U(function(e,t){var r=un(),n=ii(),a=_n(),i=Nu(),o=Qu(),s=TypeError;t.exports=function(l,u){var c=arguments.length<2?o(l):u;if(n(c))return a(r(c,l));throw new s(i(l)+" is not iterable")};}),Lv=U(function(e,t){var r=$u(),n=un(),a=Ho(),i=Ev(),o=Cv(),s=kv(),l=Gu(),u=Tv(),c=Fv(),f=Iv(),g=Qu(),w=Array;t.exports=function(P){var j=a(P),$=s(this),G=arguments.length,Y=G>1?arguments[1]:void 0,K=Y!==void 0;K&&(Y=r(Y,G>2?arguments[2]:void 0));var Z=g(j),re=0,se,fe,Ee,le,ge,xe;if(Z&&!(this===w&&o(Z)))for(fe=$?new this:[],le=f(j,Z),ge=le.next;!(Ee=n(ge,le)).done;re++)xe=K?i(le,Y,[Ee.value,re],true):Ee.value,u(fe,re,xe);else for(se=l(j),fe=$?new this(se):w(se);se>re;re++)xe=K?Y(j[re],re):j[re],u(fe,re,xe);return c(fe,re),fe};}),Mv=U(function(e,t){var r=Pr(),n=r("iterator"),a=false;try{i=0,o={next:function(){return {done:!!i++}},return:function(){a=!0;}},o[n]=function(){return this},Array.from(o,function(){throw 2});}catch{}var i,o;t.exports=function(s,l){try{if(!l&&!a)return !1}catch{return false}var u=false;try{var c={};c[n]=function(){return {next:function(){return {done:u=!0}}}},s(c);}catch{}return u};}),Ov=U(function(){var e=li(),t=Lv(),r=Mv(),n=!r(function(a){Array.from(a);});e({target:"Array",stat:true,forced:n},{from:t});}),Pv=U(function(e,t){Av(),Ov();var r=Zn();t.exports=r.Array.from;}),Nv=U(function(e,t){var r=Pv();t.exports=r;}),ec=U(function(e,t){var r=Nv();t.exports=r;}),tc=U(function(e){Object.defineProperty(e,"__esModule",{value:true});function t(o){return o>="a"&&o<="z"||o>="A"&&o<="Z"||o==="-"||o==="_"}e.isIdentStart=t;function r(o){return o>="a"&&o<="z"||o>="A"&&o<="Z"||o>="0"&&o<="9"||o==="-"||o==="_"}e.isIdent=r;function n(o){return o>="a"&&o<="f"||o>="A"&&o<="F"||o>="0"&&o<="9"}e.isHex=n;function a(o){for(var s=o.length,l="",u=0;u<s;){var c=o.charAt(u);if(e.identSpecialChars[c])l+="\\"+c;else if(c==="_"||c==="-"||c>="A"&&c<="Z"||c>="a"&&c<="z"||u!==0&&c>="0"&&c<="9")l+=c;else {var f=c.charCodeAt(0);if((f&63488)===55296){var g=o.charCodeAt(u++);if((f&64512)!==55296||(g&64512)!==56320)throw Error("UCS-2(decode): illegal sequence");f=((f&1023)<<10)+(g&1023)+65536;}l+="\\"+f.toString(16)+" ";}u++;}return l}e.escapeIdentifier=a;function i(o){for(var s=o.length,l="",u=0,c;u<s;){var f=o.charAt(u);f==='"'?f='\\"':f==="\\"?f="\\\\":(c=e.strReplacementsRev[f])!==void 0&&(f=c),l+=f,u++;}return '"'+l+'"'}e.escapeStr=i,e.identSpecialChars={"!":true,'"':true,"#":true,$:true,"%":true,"&":true,"'":true,"(":true,")":true,"*":true,"+":true,",":true,".":true,"/":true,";":true,"<":true,"=":true,">":true,"?":true,"@":true,"[":true,"\\":true,"]":true,"^":true,"`":true,"{":true,"|":true,"}":true,"~":true},e.strReplacementsRev={"\n":"\\n","\r":"\\r"," ":"\\t","\f":"\\f","\v":"\\v"},e.singleQuoteEscapeChars={n:`
|
|
368
368
|
`,r:"\r",t:" ",f:"\f","\\":"\\","'":"'"},e.doubleQuotesEscapeChars={n:`
|
|
369
|
-
`,r:"\r",t:" ",f:"\f","\\":"\\",'"':'"'};}),qv=U(function(e){Object.defineProperty(e,"__esModule",{value:true});var t=tc();function r(n,a,i,o,s,l){var u=n.length,c="";function f(G,
|
|
370
|
-
`||c==="\r"||c==="\f";)G=true,a++,c=n.charAt(a);return G}function S(){var G=P();if(a<u)throw Error('Rule expected but "'+n.charAt(a)+'" found.');return G}function P(){var G=H();if(!G)return null;var X=G;for(c=n.charAt(a);c===",";){if(a++,w(),X.type!=="selectors"&&(X={type:"selectors",selectors:[G]}),G=H(),!G)throw Error('Rule expected after ",".');X.selectors.push(G);}return X}function H(){w();var G={type:"ruleSet"},X=z();if(!X)return null;for(var Y=G;X&&(X.type="rule",Y.rule=X,Y=X,w(),c=n.charAt(a),!(a>=u||c===","||c===")"));)if(s[c]){var Z=c;if(a++,w(),X=z(),!X)throw Error('Rule expected after "'+Z+'".');X.nestingOperator=Z;}else X=z(),X&&(X.nestingOperator=null);return G}function z(){for(var G=null;a<u;)if(c=n.charAt(a),c==="*")a++,(G=G||{}).tagName="*";else if(t.isIdentStart(c)||c==="\\")(G=G||{}).tagName=g();else if(c===".")a++,G=G||{},(G.classNames=G.classNames||[]).push(g());else if(c==="#")a++,(G=G||{}).id=g();else if(c==="["){a++,w();var X={name:g()};if(w(),c==="]")a++;else {var Y="";if(o[c]&&(Y=c,a++,c=n.charAt(a)),a>=u)throw Error('Expected "=" but end of file reached.');if(c!=="=")throw Error('Expected "=" but "'+c+'" found.');X.operator=Y+"=",a++,w();var Z="";if(X.valueType="string",c==='"')Z=f('"',t.doubleQuotesEscapeChars);else if(c==="'")Z=f("'",t.singleQuoteEscapeChars);else if(l&&c==="$")a++,Z=g(),X.valueType="substitute";else {for(;a<u&&c!=="]";)Z+=c,a++,c=n.charAt(a);Z=Z.trim();}if(w(),a>=u)throw Error('Expected "]" but end of file reached.');if(c!=="]")throw Error('Expected "]" but "'+c+'" found.');a++,X.value=Z;}G=G||{},(G.attrs=G.attrs||[]).push(X);}else if(c===":"){a++;var ne=g(),se={name:ne};if(c==="("){a++;var pe="";if(w(),i[ne]==="selector")se.valueType="selector",pe=P();else {if(se.valueType=i[ne]||"string",c==='"')pe=f('"',t.doubleQuotesEscapeChars);else if(c==="'")pe=f("'",t.singleQuoteEscapeChars);else if(l&&c==="$")a++,pe=g(),se.valueType="substitute";else {for(;a<u&&c!==")";)pe+=c,a++,c=n.charAt(a);pe=pe.trim();}w();}if(a>=u)throw Error('Expected ")" but end of file reached.');if(c!==")")throw Error('Expected ")" but "'+c+'" found.');a++,se.value=pe;}G=G||{},(G.pseudos=G.pseudos||[]).push(se);}else break;return G}return S()}e.parseCssSelector=r;}),Bv=U(function(e){Object.defineProperty(e,"__esModule",{value:true});var t=tc();function r(n){var a="";switch(n.type){case "ruleSet":for(var i=n.rule,o=[];i;)i.nestingOperator&&o.push(i.nestingOperator),o.push(r(i)),i=i.rule;a=o.join(" ");break;case "selectors":a=n.selectors.map(r).join(", ");break;case "rule":n.tagName&&(n.tagName==="*"?a="*":a=t.escapeIdentifier(n.tagName)),n.id&&(a+="#"+t.escapeIdentifier(n.id)),n.classNames&&(a+=n.classNames.map(function(s){return "."+t.escapeIdentifier(s)}).join("")),n.attrs&&(a+=n.attrs.map(function(s){return "operator"in s?s.valueType==="substitute"?"["+t.escapeIdentifier(s.name)+s.operator+"$"+s.value+"]":"["+t.escapeIdentifier(s.name)+s.operator+t.escapeStr(s.value)+"]":"["+t.escapeIdentifier(s.name)+"]"}).join("")),n.pseudos&&(a+=n.pseudos.map(function(s){return s.valueType?s.valueType==="selector"?":"+t.escapeIdentifier(s.name)+"("+r(s.value)+")":s.valueType==="substitute"?":"+t.escapeIdentifier(s.name)+"($"+s.value+")":s.valueType==="numeric"?":"+t.escapeIdentifier(s.name)+"("+s.value+")":":"+t.escapeIdentifier(s.name)+"("+t.escapeIdentifier(s.value)+")":":"+t.escapeIdentifier(s.name)}).join(""));break;default:throw Error('Unknown entity type: "'+n.type+'".')}return a}e.renderEntity=r;}),Hv=U(function(e){Object.defineProperty(e,"__esModule",{value:true});var t=qv(),r=Bv(),n=(function(){function a(){this.pseudos={},this.attrEqualityMods={},this.ruleNestingOperators={},this.substitutesEnabled=false;}return a.prototype.registerSelectorPseudos=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];for(var s=0,l=i;s<l.length;s++){var u=l[s];this.pseudos[u]="selector";}return this},a.prototype.unregisterSelectorPseudos=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];for(var s=0,l=i;s<l.length;s++){var u=l[s];delete this.pseudos[u];}return this},a.prototype.registerNumericPseudos=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];for(var s=0,l=i;s<l.length;s++){var u=l[s];this.pseudos[u]="numeric";}return this},a.prototype.unregisterNumericPseudos=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];for(var s=0,l=i;s<l.length;s++){var u=l[s];delete this.pseudos[u];}return this},a.prototype.registerNestingOperators=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];for(var s=0,l=i;s<l.length;s++){var u=l[s];this.ruleNestingOperators[u]=true;}return this},a.prototype.unregisterNestingOperators=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];for(var s=0,l=i;s<l.length;s++){var u=l[s];delete this.ruleNestingOperators[u];}return this},a.prototype.registerAttrEqualityMods=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];for(var s=0,l=i;s<l.length;s++){var u=l[s];this.attrEqualityMods[u]=true;}return this},a.prototype.unregisterAttrEqualityMods=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];for(var s=0,l=i;s<l.length;s++){var u=l[s];delete this.attrEqualityMods[u];}return this},a.prototype.enableSubstitutes=function(){return this.substitutesEnabled=true,this},a.prototype.disableSubstitutes=function(){return this.substitutesEnabled=false,this},a.prototype.parse=function(i){return t.parseCssSelector(i,0,this.pseudos,this.attrEqualityMods,this.ruleNestingOperators,this.substitutesEnabled)},a.prototype.render=function(i){return r.renderEntity(i).trim()},a})();e.CssSelectorParser=n;}),Vv=U(function(e,t){(function(){var r={name:"doT",version:"1.1.1",templateSettings:{evaluate:/\{\{([\s\S]+?(\}?)+)\}\}/g,interpolate:/\{\{=([\s\S]+?)\}\}/g,encode:/\{\{!([\s\S]+?)\}\}/g,use:/\{\{#([\s\S]+?)\}\}/g,useParams:/(^|[^\w$])def(?:\.|\[[\'\"])([\w$\.]+)(?:[\'\"]\])?\s*\:\s*([\w$\.]+|\"[^\"]+\"|\'[^\']+\'|\{[^\}]+\})/g,define:/\{\{##\s*([\w\.$]+)\s*(\:|=)([\s\S]+?)#\}\}/g,defineParams:/^\s*([\w$]+):([\s\S]+)/,conditional:/\{\{\?(\?)?\s*([\s\S]*?)\s*\}\}/g,iterate:/\{\{~\s*(?:\}\}|([\s\S]+?)\s*\:\s*([\w$]+)\s*(?:\:\s*([\w$]+))?\s*\}\})/g,varname:"it",strip:true,append:true,selfcontained:false,doNotSkipEncoded:false},template:void 0,compile:void 0,log:true};((function(){if((typeof globalThis>"u"?"undefined":fe(globalThis))!=="object")try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__;}catch{d.globalThis=(function(){if(typeof self<"u")return self;if(typeof d<"u")return d;if(typeof b<"u")return b;if(typeof this<"u")return this;throw new Error("Unable to locate global `this`")})();}}))(),r.encodeHTMLSource=function(s){var l={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"},u=s?/[&<>"'\/]/g:/&(?!#?\w+;)|<|>|"|'|\//g;return function(c){return c?c.toString().replace(u,function(f){return l[f]||f}):""}},typeof t<"u"&&t.exports?t.exports=r:typeof define=="function"&&define.amd?define(function(){return r}):globalThis.doT=r;var n={append:{start:"'+(",end:")+'",startencode:"'+encodeHTML("},split:{start:"';out+=(",end:");out+='",startencode:"';out+=encodeHTML("}},a=/$^/;function i(s,l,u){return (typeof l=="string"?l:l.toString()).replace(s.define||a,function(c,f,g,w){return f.indexOf("def.")===0&&(f=f.substring(4)),f in u||(g===":"?(s.defineParams&&w.replace(s.defineParams,function(S,P,H){u[f]={arg:P,text:H};}),f in u||(u[f]=w)):new Function("def","def['"+f+"']="+w)(u)),""}).replace(s.use||a,function(c,f){s.useParams&&(f=f.replace(s.useParams,function(w,S,P,H){if(u[P]&&u[P].arg&&H){var z=(P+":"+H).replace(/'|\\/g,"_");return u.__exp=u.__exp||{},u.__exp[z]=u[P].text.replace(new RegExp("(^|[^\\w$])"+u[P].arg+"([^\\w$])","g"),"$1"+H+"$2"),S+"def.__exp['"+z+"']"}}));var g=new Function("def","return "+f)(u);return g&&i(s,g,u)})}function o(s){return s.replace(/\\('|\\)/g,"$1").replace(/[\r\t\n]/g," ")}r.template=function(s,l,u){l=l||r.templateSettings;var c=l.append?n.append:n.split,f,g=0,w,S=l.use||l.define?i(l,s,u||{}):s;S=("var out='"+(l.strip?S.replace(/(^|\r|\n)\t* +| +\t*(\r|\n|$)/g," ").replace(/\r|\n|\t|\/\*[\s\S]*?\*\//g,""):S).replace(/'|\\/g,"\\$&").replace(l.interpolate||a,function(P,H){return c.start+o(H)+c.end}).replace(l.encode||a,function(P,H){return f=true,c.startencode+o(H)+c.end}).replace(l.conditional||a,function(P,H,z){return H?z?"';}else if("+o(z)+"){out+='":"';}else{out+='":z?"';if("+o(z)+"){out+='":"';}out+='"}).replace(l.iterate||a,function(P,H,z,G){return H?(g+=1,w=G||"i"+g,H=o(H),"';var arr"+g+"="+H+";if(arr"+g+"){var "+z+","+w+"=-1,l"+g+"=arr"+g+".length-1;while("+w+"<l"+g+"){"+z+"=arr"+g+"["+w+"+=1];out+='"):"';} } out+='"}).replace(l.evaluate||a,function(P,H){return "';"+o(H)+"out+='"})+"';return out;").replace(/\n/g,"\\n").replace(/\t/g,"\\t").replace(/\r/g,"\\r").replace(/(\s|;|\}|^|\{)out\+='';/g,"$1").replace(/\+''/g,""),f&&(!l.selfcontained&&globalThis&&!globalThis._encodeHTML&&(globalThis._encodeHTML=r.encodeHTMLSource(l.doNotSkipEncoded)),S="var encodeHTML = typeof _encodeHTML !== 'undefined' ? _encodeHTML : ("+r.encodeHTMLSource.toString()+"("+(l.doNotSkipEncoded||"")+"));"+S);try{return new Function(l.varname,S)}catch(P){throw typeof console<"u"&&console.log("Could not create a template function: "+S),P}},r.compile=function(s,l){return r.template(s,null,l)};})();}),jv=U(function(e,t){t.exports=function(){};}),cn=U(function(e,t){var r=jv()();t.exports=function(n){return n!==r&&n!==null};}),rc=U(function(e,t){var r=cn(),n=Array.prototype.forEach,a=Object.create,i=function(s,l){var u;for(u in s)l[u]=s[u];};t.exports=function(o){var s=a(null);return n.call(arguments,function(l){r(l)&&i(Object(l),s);}),s};}),$v=U(function(e,t){t.exports=function(){var r=Math.sign;return typeof r!="function"?false:r(10)===1&&r(-20)===-1};}),zv=U(function(e,t){t.exports=function(r){return r=Number(r),isNaN(r)||r===0?r:r>0?1:-1};}),Gv=U(function(e,t){t.exports=$v()()?Math.sign:zv();}),Wv=U(function(e,t){var r=Gv(),n=Math.abs,a=Math.floor;t.exports=function(i){return isNaN(i)?0:(i=Number(i),i===0||!isFinite(i)?i:r(i)*a(n(i)))};}),dn=U(function(e,t){var r=Wv(),n=Math.max;t.exports=function(a){return n(0,r(a))};}),nc=U(function(e,t){var r=dn();t.exports=function(n,a,i){var o;return isNaN(n)?(o=a,o>=0?i&&o?o-1:o:1):n===false?false:r(n)};}),Wr=U(function(e,t){t.exports=function(r){if(typeof r!="function")throw new TypeError(r+" is not a function");return r};}),En=U(function(e,t){var r=cn();t.exports=function(n){if(!r(n))throw new TypeError("Cannot use null or undefined");return n};}),Uv=U(function(e,t){var r=Wr(),n=En(),a=Function.prototype.bind,i=Function.prototype.call,o=Object.keys,s=Object.prototype.propertyIsEnumerable;t.exports=function(l,u){return function(c,f){var g,w=arguments[2],S=arguments[3];return c=Object(n(c)),r(f),g=o(c),S&&g.sort(typeof S=="function"?a.call(S,c):void 0),typeof l!="function"&&(l=g[l]),i.call(l,g,function(P,H){return s.call(c,P)?i.call(f,w,c[P],P,c,H):u})}};}),di=U(function(e,t){t.exports=Uv()("forEach");}),fn=U(function(){}),Xv=U(function(e,t){t.exports=function(){var r=Object.assign,n;return typeof r!="function"?false:(n={foo:"raz"},r(n,{bar:"dwa"},{trzy:"trzy"}),n.foo+n.bar+n.trzy==="razdwatrzy")};}),Yv=U(function(e,t){t.exports=function(){try{return Object.keys("primitive"),!0}catch{return false}};}),Kv=U(function(e,t){var r=cn(),n=Object.keys;t.exports=function(a){return n(r(a)?Object(a):a)};}),Jv=U(function(e,t){t.exports=Yv()()?Object.keys:Kv();}),Zv=U(function(e,t){var r=Jv(),n=En(),a=Math.max;t.exports=function(i,o){var s,l,u=a(arguments.length,2),c;for(i=Object(n(i)),c=function(g){try{i[g]=o[g];}catch(w){s||(s=w);}},l=1;l<u;++l)o=arguments[l],r(o).forEach(c);if(s!==void 0)throw s;return i};}),ac=U(function(e,t){t.exports=Xv()()?Object.assign:Zv();}),Qv=U(function(e,t){var r=cn(),n={function:true,object:true};t.exports=function(a){return r(a)&&n[fe(a)]||false};}),eb=U(function(e,t){var r=ac(),n=Qv(),a=cn(),i=Error.captureStackTrace;t.exports=function(o){var s=new Error(o),l=arguments[1],u=arguments[2];return a(u)||n(l)&&(u=l,l=null),a(u)&&r(s,u),a(l)&&(s.code=l),i&&i(s,t.exports),s};}),ic=U(function(e,t){var r=En(),n=Object.defineProperty,a=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,o=Object.getOwnPropertySymbols;t.exports=function(s,l){var u,c=Object(r(l));if(s=Object(r(s)),i(c).forEach(function(f){try{n(s,f,a(l,f));}catch(g){u=g;}}),typeof o=="function"&&o(c).forEach(function(f){try{n(s,f,a(l,f));}catch(g){u=g;}}),u!==void 0)throw u;return s};}),oc=U(function(e,t){var r=dn(),n=function(u,c){return c},a,i,o,s;try{Object.defineProperty(n,"length",{configurable:!0,writable:!1,enumerable:!1,value:1});}catch{}n.length===1?(a={configurable:true,writable:false,enumerable:false},i=Object.defineProperty,t.exports=function(l,u){return u=r(u),l.length===u?l:(a.value=u,i(l,"length",a))}):(s=ic(),o=(function(){var l=[];return function(u){var c,f=0;if(l[u])return l[u];for(c=[];u--;)c.push("a"+(++f).toString(36));return new Function("fn","return function ("+c.join(", ")+") { return fn.apply(this, arguments); };")}})(),t.exports=function(l,u){var c;if(u=r(u),l.length===u)return l;c=o(u)(l);try{s(c,l);}catch{}return c});}),sc=U(function(e,t){var r=void 0;t.exports=function(n){return n!==r&&n!==null};}),tb=U(function(e,t){var r=sc(),n={object:true,function:true,undefined:true};t.exports=function(a){return r(a)?hasOwnProperty.call(n,fe(a)):false};}),rb=U(function(e,t){var r=tb();t.exports=function(n){if(!r(n))return false;try{return n.constructor?n.constructor.prototype===n:!1}catch{return false}};}),nb=U(function(e,t){var r=rb();t.exports=function(n){if(typeof n!="function"||!hasOwnProperty.call(n,"length"))return false;try{if(typeof n.length!="number"||typeof n.call!="function"||typeof n.apply!="function")return !1}catch{return false}return !r(n)};}),ab=U(function(e,t){var r=nb(),n=/^\s*class[\s{/}]/,a=Function.prototype.toString;t.exports=function(i){return !(!r(i)||n.test(a.call(i)))};}),ib=U(function(e,t){var r="razdwatrzy";t.exports=function(){return typeof r.contains!="function"?false:r.contains("dwa")===true&&r.contains("foo")===false};}),ob=U(function(e,t){var r=String.prototype.indexOf;t.exports=function(n){return r.call(this,n,arguments[1])>-1};}),sb=U(function(e,t){t.exports=ib()()?String.prototype.contains:ob();}),pn=U(function(e,t){var r=sc(),n=ab(),a=ac(),i=rc(),o=sb(),s=t.exports=function(l,u){var c,f,g,w,S;return arguments.length<2||typeof l!="string"?(w=u,u=l,l=null):w=arguments[2],r(l)?(c=o.call(l,"c"),f=o.call(l,"e"),g=o.call(l,"w")):(c=g=true,f=false),S={value:u,configurable:c,enumerable:f,writable:g},w?a(i(w),S):S};s.gs=function(l,u,c){var f,g,w,S;return typeof l!="string"?(w=c,c=u,u=l,l=null):w=arguments[3],r(u)?n(u)?r(c)?n(c)||(w=c,c=void 0):c=void 0:(w=u,u=c=void 0):u=void 0,r(l)?(f=o.call(l,"c"),g=o.call(l,"e")):(f=true,g=false),S={get:u,set:c,configurable:f,enumerable:g},w?a(i(w),S):S};}),lb=U(function(e,t){var r=pn(),n=Wr(),a=Function.prototype.apply,i=Function.prototype.call,o=Object.create,s=Object.defineProperty,l=Object.defineProperties,u=Object.prototype.hasOwnProperty,c={configurable:true,enumerable:false,writable:true},f,g,w,S,P,H,z;f=function(X,Y){var Z;return n(Y),u.call(this,"__ee__")?Z=this.__ee__:(Z=c.value=o(null),s(this,"__ee__",c),c.value=null),Z[X]?fe(Z[X])==="object"?Z[X].push(Y):Z[X]=[Z[X],Y]:Z[X]=Y,this},g=function(X,Y){var Z,ne;return n(Y),ne=this,f.call(this,X,Z=function(){w.call(ne,X,Z),a.call(Y,this,arguments);}),Z.__eeOnceListener__=Y,this},w=function(X,Y){var Z,ne,se,pe;if(n(Y),!u.call(this,"__ee__"))return this;if(Z=this.__ee__,!Z[X])return this;if(ne=Z[X],fe(ne)==="object")for(pe=0;se=ne[pe];++pe)(se===Y||se.__eeOnceListener__===Y)&&(ne.length===2?Z[X]=ne[pe?0:1]:ne.splice(pe,1));else (ne===Y||ne.__eeOnceListener__===Y)&&delete Z[X];return this},S=function(X){var Y,Z,ne,se,pe;if(u.call(this,"__ee__")&&(se=this.__ee__[X],!!se))if(fe(se)==="object"){for(Z=arguments.length,pe=new Array(Z-1),Y=1;Y<Z;++Y)pe[Y-1]=arguments[Y];for(se=se.slice(),Y=0;ne=se[Y];++Y)a.call(ne,this,pe);}else switch(arguments.length){case 1:i.call(se,this);break;case 2:i.call(se,this,arguments[1]);break;case 3:i.call(se,this,arguments[1],arguments[2]);break;default:for(Z=arguments.length,pe=new Array(Z-1),Y=1;Y<Z;++Y)pe[Y-1]=arguments[Y];a.call(se,this,pe);}},P={on:f,once:g,off:w,emit:S},H={on:r(f),once:r(g),off:r(w),emit:r(S)},z=l({},H),t.exports=e=function(X){return X==null?o(z):l(Object(X),H)},e.methods=P;}),ub=U(function(e,t){t.exports=function(){var r=Array.from,n,a;return typeof r!="function"?false:(n=["raz","dwa"],a=r(n),!!(a&&a!==n&&a[1]==="dwa"))};}),cb=U(function(e,t){t.exports=function(){return (typeof globalThis>"u"?"undefined":fe(globalThis))!=="object"||!globalThis?false:globalThis.Array===Array};}),db=U(function(e,t){var r=function(){if((typeof self>"u"?"undefined":fe(self))==="object"&&self)return self;if((typeof d>"u"?"undefined":fe(d))==="object"&&d)return d;throw new Error("Unable to resolve global `this`")};t.exports=(function(){if(this)return this;try{Object.defineProperty(Object.prototype,"__global__",{get:function(){return this},configurable:!0});}catch{return r()}try{return __global__||r()}finally{delete Object.prototype.__global__;}})();}),fi=U(function(e,t){t.exports=cb()()?globalThis:db();}),fb=U(function(e,t){var r=fi(),n={object:true,symbol:true};t.exports=function(){var a=r.Symbol,i;if(typeof a!="function")return false;i=a("test symbol");try{String(i);}catch{return false}return !(!n[fe(a.iterator)]||!n[fe(a.toPrimitive)]||!n[fe(a.toStringTag)])};}),pb=U(function(e,t){t.exports=function(r){return r?fe(r)==="symbol"?true:!r.constructor||r.constructor.name!=="Symbol"?false:r[r.constructor.toStringTag]==="Symbol":false};}),lc=U(function(e,t){var r=pb();t.exports=function(n){if(!r(n))throw new TypeError(n+" is not a symbol");return n};}),mb=U(function(e,t){var r=pn(),n=Object.create,a=Object.defineProperty,i=Object.prototype,o=n(null);t.exports=function(s){for(var l=0,u,c;o[s+(l||"")];)++l;return s+=l||"",o[s]=true,u="@@"+s,a(i,u,r.gs(null,function(f){c||(c=true,a(this,u,r(f)),c=false);})),u};}),hb=U(function(e,t){var r=pn(),n=fi().Symbol;t.exports=function(a){return Object.defineProperties(a,{hasInstance:r("",n&&n.hasInstance||a("hasInstance")),isConcatSpreadable:r("",n&&n.isConcatSpreadable||a("isConcatSpreadable")),iterator:r("",n&&n.iterator||a("iterator")),match:r("",n&&n.match||a("match")),replace:r("",n&&n.replace||a("replace")),search:r("",n&&n.search||a("search")),species:r("",n&&n.species||a("species")),split:r("",n&&n.split||a("split")),toPrimitive:r("",n&&n.toPrimitive||a("toPrimitive")),toStringTag:r("",n&&n.toStringTag||a("toStringTag")),unscopables:r("",n&&n.unscopables||a("unscopables"))})};}),gb=U(function(e,t){var r=pn(),n=lc(),a=Object.create(null);t.exports=function(i){return Object.defineProperties(i,{for:r(function(o){return a[o]?a[o]:a[o]=i(String(o))}),keyFor:r(function(o){var s;n(o);for(s in a)if(a[s]===o)return s})})};}),vb=U(function(e,t){var r=pn(),n=lc(),a=fi().Symbol,i=mb(),o=hb(),s=gb(),l=Object.create,u=Object.defineProperties,c=Object.defineProperty,f,g,w;if(typeof a=="function")try{String(a()),w=!0;}catch{}else a=null;g=function(P){if(this instanceof g)throw new TypeError("Symbol is not a constructor");return f(P)},t.exports=f=function S(P){var H;if(this instanceof S)throw new TypeError("Symbol is not a constructor");return w?a(P):(H=l(g.prototype),P=P===void 0?"":String(P),u(H,{__description__:r("",P),__name__:r("",i(P))}))},o(f),s(f),u(g.prototype,{constructor:r(f),toString:r("",function(){return this.__name__})}),u(f.prototype,{toString:r(function(){return "Symbol ("+n(this).__description__+")"}),valueOf:r(function(){return n(this)})}),c(f.prototype,f.toPrimitive,r("",function(){var S=n(this);return fe(S)==="symbol"?S:S.toString()})),c(f.prototype,f.toStringTag,r("c","Symbol")),c(g.prototype,f.toStringTag,r("c",f.prototype[f.toStringTag])),c(g.prototype,f.toPrimitive,r("c",f.prototype[f.toPrimitive]));}),bb=U(function(e,t){t.exports=fb()()?fi().Symbol:vb();}),yb=U(function(e,t){var r=Object.prototype.toString,n=r.call((function(){return arguments})());t.exports=function(a){return r.call(a)===n};}),wb=U(function(e,t){var r=Object.prototype.toString,n=RegExp.prototype.test.bind(/^[object [A-Za-z0-9]*Function]$/);t.exports=function(a){return typeof a=="function"&&n(r.call(a))};}),xb=U(function(e,t){var r=Object.prototype.toString,n=r.call("");t.exports=function(a){return typeof a=="string"||a&&fe(a)==="object"&&(a instanceof String||r.call(a)===n)||false};}),Db=U(function(e,t){var r=bb().iterator,n=yb(),a=wb(),i=dn(),o=Wr(),s=En(),l=cn(),u=xb(),c=Array.isArray,f=Function.prototype.call,g={configurable:true,enumerable:true,writable:true,value:null},w=Object.defineProperty;t.exports=function(S){var P=arguments[1],H=arguments[2],z,G,X,Y,Z,ne,se,pe,Ee,le;if(S=Object(s(S)),l(P)&&o(P),!this||this===Array||!a(this)){if(!P){if(n(S))return Z=S.length,Z!==1?Array.apply(null,S):(Y=new Array(1),Y[0]=S[0],Y);if(c(S)){for(Y=new Array(Z=S.length),G=0;G<Z;++G)Y[G]=S[G];return Y}}Y=[];}else z=this;if(!c(S)){if((Ee=S[r])!==void 0){for(se=o(Ee).call(S),z&&(Y=new z),pe=se.next(),G=0;!pe.done;)le=P?f.call(P,H,pe.value,G):pe.value,z?(g.value=le,w(Y,G,g)):Y[G]=le,pe=se.next(),++G;Z=G;}else if(u(S)){for(Z=S.length,z&&(Y=new z),G=0,X=0;G<Z;++G)le=S[G],G+1<Z&&(ne=le.charCodeAt(0),ne>=55296&&ne<=56319&&(le+=S[++G])),le=P?f.call(P,H,le,X):le,z?(g.value=le,w(Y,X,g)):Y[X]=le,++X;Z=X;}}if(Z===void 0)for(Z=i(S.length),z&&(Y=new z(Z)),G=0;G<Z;++G)le=P?f.call(P,H,S[G],G):S[G],z?(g.value=le,w(Y,G,g)):Y[G]=le;return z&&(g.value=null,Y.length=Z),Y};}),Wo=U(function(e,t){t.exports=ub()()?Array.from:Db();}),Ab=U(function(e,t){var r=Wo(),n=Array.isArray;t.exports=function(a){return n(a)?a:r(a)};}),_b=U(function(e,t){var r=Ab(),n=cn(),a=Wr(),i=Array.prototype.slice,o;o=function(l){return this.map(function(u,c){return u?u(l[c]):l[c]}).concat(i.call(l,this.length))},t.exports=function(s){return s=r(s),s.forEach(function(l){n(l)&&a(l);}),o.bind(s)};}),Eb=U(function(e,t){var r=Wr();t.exports=function(n){var a;return typeof n=="function"?{set:n,get:n}:(a={get:r(n.get)},n.set!==void 0?(a.set=r(n.set),n.delete&&(a.delete=r(n.delete)),n.clear&&(a.clear=r(n.clear)),a):(a.set=a.get,a))};}),Cb=U(function(e,t){var r=eb(),n=oc(),a=pn(),i=lb().methods,o=_b(),s=Eb(),l=Function.prototype.apply,u=Function.prototype.call,c=Object.create,f=Object.defineProperties,g=i.on,w=i.emit;t.exports=function(S,P,H){var z=c(null),G,X,Y,Z,ne,se,pe,Ee,le,ve,xe,Ce,Pe,$e,Fe;return P!==false?X=P:isNaN(S.length)?X=1:X=S.length,H.normalizer&&(ve=s(H.normalizer),Y=ve.get,Z=ve.set,ne=ve.delete,se=ve.clear),H.resolvers!=null&&(Fe=o(H.resolvers)),Y?$e=n(function(He){var ye,Oe,ee=arguments;if(Fe&&(ee=Fe(ee)),ye=Y(ee),ye!==null&&hasOwnProperty.call(z,ye))return xe&&G.emit("get",ye,ee,this),z[ye];if(ee.length===1?Oe=u.call(S,this,ee[0]):Oe=l.call(S,this,ee),ye===null){if(ye=Y(ee),ye!==null)throw r("Circular invocation","CIRCULAR_INVOCATION");ye=Z(ee);}else if(hasOwnProperty.call(z,ye))throw r("Circular invocation","CIRCULAR_INVOCATION");return z[ye]=Oe,Ce&&G.emit("set",ye,null,Oe),Oe},X):P===0?$e=function(){var ye;if(hasOwnProperty.call(z,"data"))return xe&&G.emit("get","data",arguments,this),z.data;if(arguments.length?ye=l.call(S,this,arguments):ye=u.call(S,this),hasOwnProperty.call(z,"data"))throw r("Circular invocation","CIRCULAR_INVOCATION");return z.data=ye,Ce&&G.emit("set","data",null,ye),ye}:$e=function(ye){var Oe,ee=arguments,Se;if(Fe&&(ee=Fe(arguments)),Se=String(ee[0]),hasOwnProperty.call(z,Se))return xe&&G.emit("get",Se,ee,this),z[Se];if(ee.length===1?Oe=u.call(S,this,ee[0]):Oe=l.call(S,this,ee),hasOwnProperty.call(z,Se))throw r("Circular invocation","CIRCULAR_INVOCATION");return z[Se]=Oe,Ce&&G.emit("set",Se,null,Oe),Oe},G={original:S,memoized:$e,profileName:H.profileName,get:function(ye){return Fe&&(ye=Fe(ye)),Y?Y(ye):String(ye[0])},has:function(ye){return hasOwnProperty.call(z,ye)},delete:function(ye){var Oe;hasOwnProperty.call(z,ye)&&(ne&&ne(ye),Oe=z[ye],delete z[ye],Pe&&G.emit("delete",ye,Oe));},clear:function(){var ye=z;se&&se(),z=c(null),G.emit("clear",ye);},on:function(ye,Oe){return ye==="get"?xe=true:ye==="set"?Ce=true:ye==="delete"&&(Pe=true),g.call(this,ye,Oe)},emit:w,updateEnv:function(){S=G.original;}},Y?pe=n(function(He){var ye,Oe=arguments;Fe&&(Oe=Fe(Oe)),ye=Y(Oe),ye!==null&&G.delete(ye);},X):P===0?pe=function(){return G.delete("data")}:pe=function(ye){return Fe&&(ye=Fe(arguments)[0]),G.delete(ye)},Ee=n(function(){var He,ye=arguments;return P===0?z.data:(Fe&&(ye=Fe(ye)),Y?He=Y(ye):He=String(ye[0]),z[He])}),le=n(function(){var He,ye=arguments;return P===0?G.has("data"):(Fe&&(ye=Fe(ye)),Y?He=Y(ye):He=String(ye[0]),He===null?false:G.has(He))}),f($e,{__memoized__:a(true),delete:a(pe),clear:a(G.clear),_get:a(Ee),_has:a(le)}),G};}),Sb=U(function(e,t){var r=Wr(),n=di(),a=fn(),i=Cb(),o=nc();t.exports=function s(l){var u,c,f;if(r(l),u=Object(arguments[1]),u.async&&u.promise)throw new Error("Options 'async' and 'promise' cannot be used together");return hasOwnProperty.call(l,"__memoized__")&&!u.force?l:(c=o(u.length,l.length,u.async&&a.async),f=i(l,c,u),n(a,function(g,w){u[w]&&g(u[w],f,u);}),s.__profiler__&&s.__profiler__(f),f.updateEnv(),f.memoized)};}),kb=U(function(e,t){t.exports=function(r){var n,a,i=r.length;if(!i)return "";for(n=String(r[a=0]);--i;)n+=""+r[++a];return n};}),Tb=U(function(e,t){t.exports=function(r){return r?function(n){for(var a=String(n[0]),i=0,o=r;--o;)a+=""+n[++i];return a}:function(){return ""}};}),Rb=U(function(e,t){t.exports=function(){var r=Number.isNaN;return typeof r!="function"?false:!r({})&&r(NaN)&&!r(34)};}),Fb=U(function(e,t){t.exports=function(r){return r!==r};}),Ib=U(function(e,t){t.exports=Rb()()?Number.isNaN:Fb();}),Uo=U(function(e,t){var r=Ib(),n=dn(),a=En(),i=Array.prototype.indexOf,o=Object.prototype.hasOwnProperty,s=Math.abs,l=Math.floor;t.exports=function(u){var c,f,g,w;if(!r(u))return i.apply(this,arguments);for(f=n(a(this).length),g=arguments[1],isNaN(g)?g=0:g>=0?g=l(g):g=n(this.length)-l(s(g)),c=g;c<f;++c)if(o.call(this,c)&&(w=this[c],r(w)))return c;return -1};}),Lb=U(function(e,t){var r=Uo(),n=Object.create;t.exports=function(){var a=0,i=[],o=n(null);return {get:function(l){var u=0,c=i,f,g=l.length;if(g===0)return c[g]||null;if(c=c[g]){for(;u<g-1;){if(f=r.call(c[0],l[u]),f===-1)return null;c=c[1][f],++u;}return f=r.call(c[0],l[u]),f===-1?null:c[1][f]||null}return null},set:function(l){var u=0,c=i,f,g=l.length;if(g===0)c[g]=++a;else {for(c[g]||(c[g]=[[],[]]),c=c[g];u<g-1;)f=r.call(c[0],l[u]),f===-1&&(f=c[0].push(l[u])-1,c[1].push([[],[]])),c=c[1][f],++u;f=r.call(c[0],l[u]),f===-1&&(f=c[0].push(l[u])-1),c[1][f]=++a;}return o[a]=l,a},delete:function(l){var u=0,c=i,f,g=o[l],w=g.length,S=[];if(w===0)delete c[w];else if(c=c[w]){for(;u<w-1;){if(f=r.call(c[0],g[u]),f===-1)return;S.push(c,f),c=c[1][f],++u;}if(f=r.call(c[0],g[u]),f===-1)return;for(l=c[1][f],c[0].splice(f,1),c[1].splice(f,1);!c[0].length&&S.length;)f=S.pop(),c=S.pop(),c[0].splice(f,1),c[1].splice(f,1);}delete o[l];},clear:function(){i=[],o=n(null);}}};}),Mb=U(function(e,t){var r=Uo();t.exports=function(){var n=0,a=[],i=[];return {get:function(s){var l=r.call(a,s[0]);return l===-1?null:i[l]},set:function(s){return a.push(s[0]),i.push(++n),n},delete:function(s){var l=r.call(i,s);l!==-1&&(a.splice(l,1),i.splice(l,1));},clear:function(){a=[],i=[];}}};}),Ob=U(function(e,t){var r=Uo(),n=Object.create;t.exports=function(a){var i=0,o=[[],[]],s=n(null);return {get:function(u){for(var c=0,f=o,g;c<a-1;){if(g=r.call(f[0],u[c]),g===-1)return null;f=f[1][g],++c;}return g=r.call(f[0],u[c]),g===-1?null:f[1][g]||null},set:function(u){for(var c=0,f=o,g;c<a-1;)g=r.call(f[0],u[c]),g===-1&&(g=f[0].push(u[c])-1,f[1].push([[],[]])),f=f[1][g],++c;return g=r.call(f[0],u[c]),g===-1&&(g=f[0].push(u[c])-1),f[1][g]=++i,s[i]=u,i},delete:function(u){for(var c=0,f=o,g,w=[],S=s[u];c<a-1;){if(g=r.call(f[0],S[c]),g===-1)return;w.push(f,g),f=f[1][g],++c;}if(g=r.call(f[0],S[c]),g!==-1){for(u=f[1][g],f[0].splice(g,1),f[1].splice(g,1);!f[0].length&&w.length;)g=w.pop(),f=w.pop(),f[0].splice(g,1),f[1].splice(g,1);delete s[u];}},clear:function(){o=[[],[]],s=n(null);}}};}),uc=U(function(e,t){var r=Wr(),n=di(),a=Function.prototype.call;t.exports=function(i,o){var s={},l=arguments[2];return r(o),n(i,function(u,c,f,g){s[c]=a.call(o,l,u,c,f,g);}),s};}),Xo=U(function(e,t){var r=function(i){if(typeof i!="function")throw new TypeError(i+" is not a function");return i},n=function(i){var o=v.createTextNode(""),s,l,u=0;return new i(function(){var c;if(s)l&&(s=l.concat(s));else {if(!l)return;s=l;}if(l=s,s=null,typeof l=="function"){c=l,l=null,c();return}for(o.data=u=++u%2;l;)c=l.shift(),l.length||(l=null),c();}).observe(o,{characterData:true}),function(c){if(r(c),s){typeof s=="function"?s=[s,c]:s.push(c);return}s=c,o.data=u=++u%2;}};t.exports=(function(){if((typeof process>"u"?"undefined":fe(process))==="object"&&process&&typeof process.nextTick=="function")return process.nextTick;if(typeof queueMicrotask=="function")return function(a){queueMicrotask(r(a));};if((typeof v>"u"?"undefined":fe(v))==="object"&&v){if(typeof MutationObserver=="function")return n(MutationObserver);if(typeof WebKitMutationObserver=="function")return n(WebKitMutationObserver)}return typeof setImmediate=="function"?function(a){setImmediate(r(a));}:typeof setTimeout=="function"||(typeof setTimeout>"u"?"undefined":fe(setTimeout))==="object"?function(a){setTimeout(r(a),0);}:null})();}),Pb=U(function(){var e=Wo(),t=uc(),r=ic(),n=oc(),a=Xo(),i=Array.prototype.slice,o=Function.prototype.apply,s=Object.create;fn().async=function(l,u){var c=s(null),f=s(null),g=u.memoized,w=u.original,S,P,H;u.memoized=n(function(z){var G=arguments,X=G[G.length-1];return typeof X=="function"&&(S=X,G=i.call(G,0,-1)),g.apply(P=this,H=G)},g);try{r(u.memoized,g);}catch{}u.on("get",function(z){var G,X,Y;if(S){if(c[z]){typeof c[z]=="function"?c[z]=[c[z],S]:c[z].push(S),S=null;return}G=S,X=P,Y=H,S=P=H=null,a(function(){var Z;hasOwnProperty.call(f,z)?(Z=f[z],u.emit("getasync",z,Y,X),o.call(G,Z.context,Z.args)):(S=G,P=X,H=Y,g.apply(X,Y));});}}),u.original=function(){var z,G,X,Y;return S?(z=e(arguments),G=function Z(ne){var se,pe,Ee=Z.id;if(Ee==null){a(o.bind(Z,this,arguments));return}if(delete Z.id,se=c[Ee],delete c[Ee],!!se)return pe=e(arguments),u.has(Ee)&&(ne?u.delete(Ee):(f[Ee]={context:this,args:pe},u.emit("setasync",Ee,typeof se=="function"?1:se.length))),typeof se=="function"?Y=o.call(se,this,pe):se.forEach(function(le){Y=o.call(le,this,pe);},this),Y},X=S,S=P=H=null,z.push(G),Y=o.call(w,this,z),G.cb=X,S=G,Y):o.call(w,this,arguments)},u.on("set",function(z){if(!S){u.delete(z);return}c[z]?typeof c[z]=="function"?c[z]=[c[z],S.cb]:c[z].push(S.cb):c[z]=S.cb,delete S.cb,S.id=z,S=null;}),u.on("delete",function(z){var G;hasOwnProperty.call(c,z)||f[z]&&(G=f[z],delete f[z],u.emit("deleteasync",z,i.call(G.args,1)));}),u.on("clear",function(){var z=f;f=s(null),u.emit("clearasync",t(z,function(G){return i.call(G.args,1)}));});};}),Nb=U(function(e,t){var r=Array.prototype.forEach,n=Object.create;t.exports=function(a){var i=n(null);return r.call(arguments,function(o){i[o]=true;}),i};}),cc=U(function(e,t){t.exports=function(r){return typeof r=="function"};}),qb=U(function(e,t){var r=cc();t.exports=function(n){try{return n&&r(n.toString)?n.toString():String(n)}catch{throw new TypeError("Passed argument cannot be stringifed")}};}),Bb=U(function(e,t){var r=En(),n=qb();t.exports=function(a){return n(r(a))};}),Hb=U(function(e,t){var r=cc();t.exports=function(n){try{return n&&r(n.toString)?n.toString():String(n)}catch{return "<Non-coercible to string value>"}};}),Vb=U(function(e,t){var r=Hb(),n=/[\n\r\u2028\u2029]/g;t.exports=function(a){var i=r(a);return i.length>100&&(i=i.slice(0,99)+"\u2026"),i=i.replace(n,function(o){return JSON.stringify(o).slice(1,-1)}),i};}),dc=U(function(e,t){t.exports=r,t.exports.default=r;function r(n){return !!n&&(fe(n)==="object"||typeof n=="function")&&typeof n.then=="function"}}),jb=U(function(){var e=uc(),t=Nb(),r=Bb(),n=Vb(),a=dc(),i=Xo(),o=Object.create,s=t("then","then:finally","done","done:finally");fn().promise=function(l,u){var c=o(null),f=o(null),g=o(null);if(l===true)l=null;else if(l=r(l),!s[l])throw new TypeError("'"+n(l)+"' is not valid promise mode");u.on("set",function(w,S,P){var H=false;if(!a(P)){f[w]=P,u.emit("setasync",w,1);return}c[w]=1,g[w]=P;var z=function(ne){var se=c[w];if(H)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)
|
|
371
|
-
Consider to rely on 'then' or 'done' mode instead.`);se&&(delete c[w],f[w]=ne,u.emit("setasync",w,se));},G=function(){H=true,c[w]&&(delete c[w],delete g[w],u.delete(w));},X=l;if(X||(X="then"),X==="then"){var Y=function(){i(G);};P=P.then(function(Z){i(z.bind(this,Z));},Y),typeof P.finally=="function"&&P.finally(Y);}else if(X==="done"){if(typeof P.done!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done' mode");P.done(z,G);}else if(X==="done:finally"){if(typeof P.done!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done:finally' mode");if(typeof P.finally!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'finally' in 'done:finally' mode");P.done(z),P.finally(G);}}),u.on("get",function(w,S,P){var H;if(c[w]){++c[w];return}H=g[w];var z=function(){u.emit("getasync",w,S,P);};a(H)?typeof H.done=="function"?H.done(z):H.then(function(){i(z);}):z();}),u.on("delete",function(w){if(delete g[w],c[w]){delete c[w];return}if(hasOwnProperty.call(f,w)){var S=f[w];delete f[w],u.emit("deleteasync",w,[S]);}}),u.on("clear",function(){var w=f;f=o(null),c=o(null),g=o(null),u.emit("clearasync",e(w,function(S){return [S]}));});};}),$b=U(function(){var e=Wr(),t=di(),r=fn(),n=Function.prototype.apply;r.dispose=function(a,i,o){var s;if(e(a),o.async&&r.async||o.promise&&r.promise){i.on("deleteasync",s=function(u,c){n.call(a,null,c);}),i.on("clearasync",function(l){t(l,function(u,c){s(c,u);});});return}i.on("delete",s=function(u,c){a(c);}),i.on("clear",function(l){t(l,function(u,c){s(c,u);});});};}),zb=U(function(e,t){t.exports=2147483647;}),Gb=U(function(e,t){var r=dn(),n=zb();t.exports=function(a){if(a=r(a),a>n)throw new TypeError(a+" exceeds maximum possible timeout");return a};}),Wb=U(function(){var e=Wo(),t=di(),r=Xo(),n=dc(),a=Gb(),i=fn(),o=Function.prototype,s=Math.max,l=Math.min,u=Object.create;i.maxAge=function(c,f,g){var w,S,P,H;c=a(c),c&&(w=u(null),S=g.async&&i.async||g.promise&&i.promise?"async":"",f.on("set"+S,function(z){w[z]=setTimeout(function(){f.delete(z);},c),typeof w[z].unref=="function"&&w[z].unref(),H&&(H[z]&&H[z]!=="nextTick"&&clearTimeout(H[z]),H[z]=setTimeout(function(){delete H[z];},P),typeof H[z].unref=="function"&&H[z].unref());}),f.on("delete"+S,function(z){clearTimeout(w[z]),delete w[z],H&&(H[z]!=="nextTick"&&clearTimeout(H[z]),delete H[z]);}),g.preFetch&&(g.preFetch===true||isNaN(g.preFetch)?P=.333:P=s(l(Number(g.preFetch),1),0),P&&(H={},P=(1-P)*c,f.on("get"+S,function(z,G,X){H[z]||(H[z]="nextTick",r(function(){var Y;H[z]==="nextTick"&&(delete H[z],f.delete(z),g.async&&(G=e(G),G.push(o)),Y=f.memoized.apply(X,G),g.promise&&n(Y)&&(typeof Y.done=="function"?Y.done(o,o):Y.then(o,o)));}));}))),f.on("clear"+S,function(){t(w,function(z){clearTimeout(z);}),w={},H&&(t(H,function(z){z!=="nextTick"&&clearTimeout(z);}),H={});}));};}),Ub=U(function(e,t){var r=dn(),n=Object.create,a=Object.prototype.hasOwnProperty;t.exports=function(i){var o=0,s=1,l=n(null),u=n(null),c=0,f;return i=r(i),{hit:function(w){var S=u[w],P=++c;if(l[P]=w,u[w]=P,!S)return ++o,o<=i?void 0:(w=l[s],f(w),w);if(delete l[S],s===S)for(;!a.call(l,++s););},delete:f=function(w){var S=u[w];if(S&&(delete l[S],delete u[w],--o,s===S)){if(!o){c=0,s=1;return}for(;!a.call(l,++s););}},clear:function(){o=0,s=1,l=n(null),u=n(null),c=0;}}};}),Xb=U(function(){var e=dn(),t=Ub(),r=fn();r.max=function(n,a,i){var o,s,l;n=e(n),n&&(s=t(n),o=i.async&&r.async||i.promise&&r.promise?"async":"",a.on("set"+o,l=function(c){c=s.hit(c),c!==void 0&&a.delete(c);}),a.on("get"+o,l),a.on("delete"+o,s.delete),a.on("clear"+o,s.clear));};}),Yb=U(function(){var e=pn(),t=fn(),r=Object.create,n=Object.defineProperties;t.refCounter=function(a,i,o){var s,l;s=r(null),l=o.async&&t.async||o.promise&&t.promise?"async":"",i.on("set"+l,function(u,c){s[u]=c||1;}),i.on("get"+l,function(u){++s[u];}),i.on("delete"+l,function(u){delete s[u];}),i.on("clear"+l,function(){s={};}),n(i.memoized,{deleteRef:e(function(){var u=i.get(arguments);return u===null||!s[u]?null:--s[u]?false:(i.delete(u),true)}),getRefCount:e(function(){var u=i.get(arguments);return u===null||!s[u]?0:s[u]})});};}),Kb=U(function(e,t){var r=rc(),n=nc(),a=Sb();t.exports=function(i){var o=r(arguments[1]),s;return o.normalizer||(s=o.length=n(o.length,i.length,o.async),s!==0&&(o.primitive?s===false?o.normalizer=kb():s>1&&(o.normalizer=Tb()(s)):s===false?o.normalizer=Lb()():s===1?o.normalizer=Mb()():o.normalizer=Ob()(s))),o.async&&Pb(),o.promise&&jb(),o.dispose&&$b(),o.maxAge&&Wb(),o.max&&Xb(),o.refCounter&&Yb(),a(i,o)};}),Jb=[{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"}],hr={helpUrlBase:"https://dequeuniversity.com/rules/",gridSize:200,selectorSimilarFilterLimit:700,results:[],resultGroups:[],resultGroupMap:{},impact:Object.freeze(["minor","moderate","serious","critical"]),preload:Object.freeze({assets:["cssom","media"],timeout:1e4}),allOrigins:"<unsafe_all_origins>",sameOrigin:"<same_origin>",serializableErrorProps:Object.freeze(["message","stack","name","code","ruleId","method"])};Jb.forEach(function(e){var t=e.name,r=e.value,n=e.priority,a=e.group;hr[t]=r,hr[t+"_PRIO"]=n,hr[t+"_GROUP"]=a,hr.results[n]=r,hr.resultGroups[n]=a,hr.resultGroupMap[r]=a;}),Object.freeze(hr.results),Object.freeze(hr.resultGroups),Object.freeze(hr.resultGroupMap),Object.freeze(hr);var Xe=hr;function Zb(){(typeof console>"u"?"undefined":fe(console))==="object"&&console.log&&Function.prototype.apply.call(console.log,console,arguments);}var mn=Zb,Qb=/[\t\r\n\f]/g,ey=(function(){function e(){rr(this,e),this.parent=void 0;}return zt(e,[{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(r){var n=this.attr("class");if(!n)return false;var a=" "+r+" ";return (" "+n+" ").replace(Qb," ").indexOf(a)>=0}}])})(),Mt=ey,Yo={};fr(Yo,{DqElement:function(){return sr},RuleError:function(){return bo},aggregate:function(){return pi},aggregateChecks:function(){return mc},aggregateNodeResults:function(){return hc},aggregateResult:function(){return gc},areStylesSet:function(){return sy},assert:function(){return nt},checkHelper:function(){return As},clone:function(){return Nr},closest:function(){return Jt},collectResultsFromFrames:function(){return of},contains:function(){return qr},convertSelector:function(){return Oi},cssParser:function(){return Bd},deepMerge:function(){return Ps},escapeSelector:function(){return Dt},extendMetaData:function(){return Ns},filterHtmlAttrs:function(){return xm},finalizeRuleResult:function(){return ea},findBy:function(){return ya},getAllChecks:function(){return Hi},getAncestry:function(){return Mi},getBaseLang:function(){return Dn},getCheckMessage:function(){return C2},getCheckOption:function(){return fo},getElementSource:function(){return Nd},getEnvironmentData:function(){return an},getFlattenedTree:function(){return El},getFrameContexts:function(){return $2},getFriendlyUriEnd:function(){return yc},getNodeAttributes:function(){return na},getNodeFromTree:function(){return Ke},getPreloadConfig:function(){return vm},getRootNode:function(){return wa},getRule:function(){return tm},getScroll:function(){return Vr},getScrollState:function(){return W2},getSelector:function(){return xs},getSelectorData:function(){return Li},getShadowSelector:function(){return bs},getStandards:function(){return U2},getStyleSheetFactory:function(){return am},getXpath:function(){return Pd},injectStyle:function(){return K2},isArrayLike:function(){return Rl},isContextObject:function(){return Fl},isContextProp:function(){return mo},isContextSpec:function(){return im},isHidden:function(){return J2},isHtmlElement:function(){return Ll},isLabelledFramesSelector:function(){return Il},isLabelledShadowDomSelector:function(){return ho},isNodeInContext:function(){return Ml},isShadowRoot:function(){return ji},isValidLang:function(){return wo},isXHTML:function(){return fa},matchAncestry:function(){return Ol},matches:function(){return Es},matchesExpression:function(){return Tn},matchesSelector:function(){return Cn},memoize:function(){return mt},mergeResults:function(){return Vi},nodeLookup:function(){return rt},nodeSerializer:function(){return lr},nodeSorter:function(){return Pl},objectHasOwn:function(){return Sr},parseCrossOriginStylesheet:function(){return ql},parseSameOriginStylesheet:function(){return lm},parseStylesheet:function(){return Nl},parseTabindex:function(){return kr},performanceTimer:function(){return st},pollyfillElementsFromPoint:function(){return um},preload:function(){return hm},preloadCssom:function(){return dm},preloadMedia:function(){return mm},processMessage:function(){return Tl},publishMetaData:function(){return go},querySelectorAll:function(){return tr},querySelectorAllFilter:function(){return Tr},queue:function(){return Ar},respondable:function(){return br},ruleShouldRun:function(){return wm},select:function(){return Bl},sendCommandToFrame:function(){return tf},serializeError:function(){return vo},setScrollState:function(){return R_},shadowSelect:function(){return F_},shadowSelectAll:function(){return Hl},shouldPreload:function(){return gm},toArray:function(){return bc},tokenList:function(){return jt},uniqueArray:function(){return Oa},uuid:function(){return Ow},validInputTypes:function(){return yo},validLangs:function(){return Cm}});function ty(e,t,r){t=t.slice(),r&&t.push(r);var n=t.map(function(a){return e.indexOf(a)}).sort();return e[n.pop()]}var pi=ty,ry=Xe.CANTTELL_PRIO,ny=Xe.FAIL_PRIO,mi=[];mi[Xe.PASS_PRIO]=true,mi[Xe.CANTTELL_PRIO]=null,mi[Xe.FAIL_PRIO]=false;var fc=["any","all","none"];function pc(e,t){return fc.reduce(function(r,n){return r[n]=(e[n]||[]).map(function(a){return t(a,n)}),r},{})}function ay(e){var t=Object.assign({},e);pc(t,function(a,i){var o=typeof a.result>"u"?-1:mi.indexOf(a.result);a.priority=o!==-1?o:Xe.CANTTELL_PRIO,i==="none"&&(a.priority===Xe.PASS_PRIO?a.priority=Xe.FAIL_PRIO:a.priority===Xe.FAIL_PRIO&&(a.priority=Xe.PASS_PRIO));});var r={all:t.all.reduce(function(a,i){return Math.max(a,i.priority)},0),none:t.none.reduce(function(a,i){return Math.max(a,i.priority)},0),any:t.any.reduce(function(a,i){return Math.min(a,i.priority)},4)%4};t.priority=Math.max(r.all,r.none,r.any);var n=[];return fc.forEach(function(a){t[a]=t[a].filter(function(i){return i.priority===t.priority&&i.priority===r[a]}),t[a].forEach(function(i){return n.push(i.impact)});}),[ry,ny].includes(t.priority)?t.impact=pi(Xe.impact,n):t.impact=null,pc(t,function(a){delete a.result,delete a.priority;}),t.result=Xe.results[t.priority],delete t.priority,t}var mc=ay;function ea(e){var t=m._audit.rules.find(function(r){var n=r.id;return n===e.id});return t&&t.impact&&e.nodes.forEach(function(r){["any","all","none"].forEach(function(n){(r[n]||[]).forEach(function(a){a.impact=t.impact;});});}),Object.assign(e,hc(e.nodes)),delete e.nodes,e}function iy(e){var t={};if(e=e.map(function(i){if(i.any&&i.all&&i.none)return mc(i);if(Array.isArray(i.node))return ea(i);throw new TypeError("Invalid Result type")}),e&&e.length){var r=e.map(function(i){return i.result});t.result=pi(Xe.results,r,t.result);}else t.result="inapplicable";Xe.resultGroups.forEach(function(i){return t[i]=[]}),e.forEach(function(i){var o=Xe.resultGroupMap[i.result];t[o].push(i);});var n=Xe.FAIL_GROUP;if(t[n].length===0&&(n=Xe.CANTTELL_GROUP),t[n].length>0){var a=t[n].map(function(i){return i.impact});t.impact=pi(Xe.impact,a)||null;}else t.impact=null;return t}var hc=iy;function Ko(e,t,r){var n=Object.assign({},t);n.nodes=(n[r]||[]).concat(),Xe.resultGroups.forEach(function(a){delete n[a];}),e[r].push(n);}function oy(e){var t={};return Xe.resultGroups.forEach(function(r){return t[r]=[]}),e.forEach(function(r){r.error?Ko(t,r,Xe.CANTTELL_GROUP):r.result===Xe.NA?Ko(t,r,Xe.NA_GROUP):Xe.resultGroups.forEach(function(n){Array.isArray(r[n])&&r[n].length>0&&Ko(t,r,n);});}),t}var gc=oy;function vc(e,t,r){var n=d.getComputedStyle(e,null);if(!n)return false;for(var a=0;a<t.length;++a){var i=t[a];if(n.getPropertyValue(i.property)===i.value)return true}return !e.parentNode||e.nodeName.toUpperCase()===r.toUpperCase()?false:vc(e.parentNode,t,r)}var sy=vc;function ly(e,t){if(!e)throw new Error(t)}var nt=ly;function uy(e){return Array.prototype.slice.call(e)}var bc=uy;function cy(e){for(var t=String(e),r=t.length,n=-1,a,i="",o=t.charCodeAt(0);++n<r;){if(a=t.charCodeAt(n),a==0){i+="\uFFFD";continue}if(a>=1&&a<=31||a==127||n==0&&a>=48&&a<=57||n==1&&a>=48&&a<=57&&o==45){i+="\\"+a.toString(16)+" ";continue}if(n==0&&r==1&&a==45){i+="\\"+t.charAt(n);continue}if(a>=128||a==45||a==95||a>=48&&a<=57||a>=65&&a<=90||a>=97&&a<=122){i+=t.charAt(n);continue}i+="\\"+t.charAt(n);}return i}var Dt=cy;function dy(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return e.length!==0&&(e.match(/[0-9]/g)||"").length>=e.length/2}function ta(e,t){return [e.substring(0,t),e.substring(t)]}function ra(e){return e.replace(/\s+$/,"")}function fy(e){var t=e,r="",n="",a="",i="",o="",s="";if(e.includes("#")){var l=ta(e,e.indexOf("#")),u=Ae(l,2);e=u[0],s=u[1];}if(e.includes("?")){var c=ta(e,e.indexOf("?")),f=Ae(c,2);e=f[0],o=f[1];}if(e.includes("://")){var g=e.split("://"),w=Ae(g,2);r=w[0],e=w[1];var S=ta(e,e.indexOf("/")),P=Ae(S,2);n=P[0],e=P[1];}else if(e.substr(0,2)==="//"){e=e.substr(2);var H=ta(e,e.indexOf("/")),z=Ae(H,2);n=z[0],e=z[1];}if(n.substr(0,4)==="www."&&(n=n.substr(4)),n&&n.includes(":")){var G=ta(n,n.indexOf(":")),X=Ae(G,2);n=X[0],a=X[1];}return i=e,{original:t,protocol:r,domain:n,port:a,path:i,query:o,hash:s}}function py(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!(e.length<=1||e.substr(0,5)==="data:"||e.substr(0,11)==="javascript:"||e.includes("?"))){var r=t.currentDomain,n=t.maxLength,a=n===void 0?25:n,i=fy(e),o=i.path,s=i.domain,l=i.hash,u=o.substr(o.substr(0,o.length-2).lastIndexOf("/")+1);if(l)return u&&(u+l).length<=a?ra(u+l):u.length<2&&l.length>2&&l.length<=a?ra(l):void 0;if(s&&s.length<a&&o.length<=1||o==="/"+u&&s&&r&&s!==r&&(s+o).length<=a)return ra(s+o);var c=u.lastIndexOf(".");if((c===-1||c>1)&&(c!==-1||u.length>2)&&u.length<=a&&!u.match(/index(\.[a-zA-Z]{2-4})?/)&&!dy(u))return ra(u)}}var yc=py;function my(e){return e.attributes instanceof d.NamedNodeMap?e.attributes:e.cloneNode(false).attributes}var na=my,hy=(function(){var e;function t(r){var n=["matches","matchesSelector","mozMatchesSelector","webkitMatchesSelector","msMatchesSelector"],a=n.length,i,o;for(i=0;i<a;i++)if(o=n[i],r[o])return o}return function(r,n){return (!e||!r[e])&&(e=t(r)),r[e]?r[e](n):false}})(),Cn=hy,wc={};fr(wc,{ArrayFrom:function(){return Rd.default},Colorjs:function(){return dt},CssSelectorParser:function(){return xc.CssSelectorParser},doT:function(){return Ur.default},emojiRegexText:function(){return Jo},memoize:function(){return Dc.default}});var gy=wr(Og()),vy=wr(Pg());wr(Ng());var by=wr(Jg()),yy=wr(lv()),wy=wr(ec());"hasOwn"in Object||(Object.hasOwn=by.default),"values"in Object||(Object.values=yy.default),"Promise"in d||gy.default.polyfill(),"Uint32Array"in d||(d.Uint32Array=vy.Uint32Array),d.Uint32Array&&("some"in d.Uint32Array.prototype||Object.defineProperty(d.Uint32Array.prototype,"some",{value:Array.prototype.some}),"reduce"in d.Uint32Array.prototype||Object.defineProperty(d.Uint32Array.prototype,"reduce",{value:Array.prototype.reduce})),typeof Object.assign!="function"&&(function(){Object.assign=function(e){if(e==null)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(e),r=1;r<arguments.length;r++){var n=arguments[r];if(n!=null)for(var a in n)n.hasOwnProperty(a)&&(t[a]=n[a]);}return t};})(),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(t){if(this===null)throw new TypeError("Array.prototype.find called on null or undefined");if(typeof t!="function")throw new TypeError("predicate must be a function");for(var r=Object(this),n=r.length>>>0,a=arguments[1],i,o=0;o<n;o++)if(i=r[o],t.call(a,i,o,r))return i}}),Array.prototype.findIndex||Object.defineProperty(Array.prototype,"findIndex",{value:function(t,r){if(this===null)throw new TypeError("Array.prototype.find called on null or undefined");if(typeof t!="function")throw new TypeError("predicate must be a function");for(var n=Object(this),a=n.length>>>0,i,o=0;o<a;o++)if(i=n[o],t.call(r,i,o,n))return o;return -1}}),Array.prototype.includes||Object.defineProperty(Array.prototype,"includes",{value:function(t){var r=Object(this),n=parseInt(r.length,10)||0;if(n===0)return false;var a=parseInt(arguments[1],10)||0,i;a>=0?i=a:(i=n+a,i<0&&(i=0));for(var o;i<n;){if(o=r[i],t===o||t!==t&&o!==o)return true;i++;}return false}}),Array.prototype.some||Object.defineProperty(Array.prototype,"some",{value:function(t){if(this==null)throw new TypeError("Array.prototype.some called on null or undefined");if(typeof t!="function")throw new TypeError;for(var r=Object(this),n=r.length>>>0,a=arguments.length>=2?arguments[1]:void 0,i=0;i<n;i++)if(i in r&&t.call(a,r[i],i,r))return true;return false}}),Array.from||(Array.from=wy.default),String.prototype.includes||(String.prototype.includes=function(e,t){return typeof t!="number"&&(t=0),t+e.length>this.length?false:this.indexOf(e,t)!==-1}),Array.prototype.flat||Object.defineProperty(Array.prototype,"flat",{configurable:true,value:function e(){var t=isNaN(arguments[0])?1:Number(arguments[0]);return t?Array.prototype.reduce.call(this,function(r,n){return Array.isArray(n)?r.push.apply(r,e.call(n,t-1)):r.push(n),r},[]):Array.prototype.slice.call(this)},writable:true}),d.Node&&!("isConnected"in d.Node.prototype)&&Object.defineProperty(d.Node.prototype,"isConnected",{get:function(){return !this.ownerDocument||!(this.ownerDocument.compareDocumentPosition(this)&this.DOCUMENT_POSITION_DISCONNECTED)}});var xc=wr(Hv()),Ur=wr(Vv()),Jo=function(){return /[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E-\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED8\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])))?))?|\uDD75(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3C-\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE8A\uDE8E-\uDEC2\uDEC6\uDEC8\uDECD-\uDEDC\uDEDF-\uDEEA\uDEEF]|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g},Dc=wr(Kb());function Et(e,t){var r=e.length;Array.isArray(e[0])||(e=[e]),Array.isArray(t[0])||(t=t.map(function(o){return [o]}));var n=t[0].length,a=t[0].map(function(o,s){return t.map(function(l){return l[s]})}),i=e.map(function(o){return a.map(function(s){var l=0;if(!Array.isArray(o)){var u=it(s),c;try{for(u.s();!(c=u.n()).done;){var f=c.value;l+=o*f;}}catch(w){u.e(w);}finally{u.f();}return l}for(var g=0;g<o.length;g++)l+=o[g]*(s[g]||0);return l})});return r===1&&(i=i[0]),n===1?i.map(function(o){return o[0]}):i}function aa(e){return Xr(e)==="string"}function Xr(e){var t=Object.prototype.toString.call(e);return (t.match(/^\[object\s+(.*?)\]$/)[1]||"").toLowerCase()}function hi(e,t){e=+e,t=+t;var r=(Math.floor(e)+"").length;if(t>r)return +e.toFixed(t-r);var n=Math.pow(10,r-t);return Math.round(e/n)*n}function Ac(e){if(e){e=e.trim();var t=/^([a-z]+)\((.+?)\)$/i,r=/^-?[\d.]+$/,n=e.match(t);if(n){var a=[];return n[2].replace(/\/?\s*([-\w.]+(?:%|deg)?)/g,function(i,o){/%$/.test(o)?(o=new Number(o.slice(0,-1)/100),o.type="<percentage>"):/deg$/.test(o)?(o=new Number(+o.slice(0,-3)),o.type="<angle>",o.unit="deg"):r.test(o)&&(o=new Number(o),o.type="<number>"),i.startsWith("/")&&(o=o instanceof Number?o:new Number(o),o.alpha=true),a.push(o);}),{name:n[1].toLowerCase(),rawName:n[1],rawArgs:n[2],args:a}}}}function _c(e){return e[e.length-1]}function gi(e,t,r){return isNaN(e)?t:isNaN(t)?e:e+(t-e)*r}function Ec(e,t,r){return (r-e)/(t-e)}function Zo(e,t,r){return gi(t[0],t[1],Ec(e[0],e[1],r))}function Cc(e){return e.map(function(t){return t.split("|").map(function(r){r=r.trim();var n=r.match(/^(<[a-z]+>)\[(-?[.\d]+),\s*(-?[.\d]+)\]?$/);if(n){var a=new String(n[1]);return a.range=[+n[2],+n[3]],a}return r})})}var xy=Object.freeze({__proto__:null,isString:aa,type:Xr,toPrecision:hi,parseFunction:Ac,last:_c,interpolate:gi,interpolateInv:Ec,mapRange:Zo,parseCoordGrammar:Cc,multiplyMatrices:Et}),Dy=(function(){function e(){rr(this,e);}return zt(e,[{key:"add",value:function(r,n,a){if(typeof arguments[0]!="string"){for(var r in arguments[0])this.add(r,arguments[0][r],arguments[1]);return}(Array.isArray(r)?r:[r]).forEach(function(i){this[i]=this[i]||[],n&&this[i][a?"unshift":"push"](n);},this);}},{key:"run",value:function(r,n){this[r]=this[r]||[],this[r].forEach(function(a){a.call(n&&n.context?n.context:n,n);});}}])})(),Yr=new Dy,Dr={gamut_mapping:"lch.c",precision:5,deltaE:"76"},gr={D50:[.3457/.3585,1,(1-.3457-.3585)/.3585],D65:[.3127/.329,1,(1-.3127-.329)/.329]};function Qo(e){return Array.isArray(e)?e:gr[e]}function vi(e,t,r){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};if(e=Qo(e),t=Qo(t),!e||!t)throw new TypeError("Missing white point to convert ".concat(e?"":"from").concat(!e&&!t?"/":"").concat(t?"":"to"));if(e===t)return r;var a={W1:e,W2:t,XYZ:r,options:n};if(Yr.run("chromatic-adaptation-start",a),a.M||(a.W1===gr.D65&&a.W2===gr.D50?a.M=[[1.0479298208405488,.022946793341019088,-0.05019222954313557],[.029627815688159344,.990434484573249,-0.01707382502938514],[-0.009243058152591178,.015055144896577895,.7518742899580008]]:a.W1===gr.D50&&a.W2===gr.D65&&(a.M=[[.9554734527042182,-0.023098536874261423,.0632593086610217],[-0.028369706963208136,1.0099954580058226,.021041398966943008],[.012314001688319899,-0.020507696433477912,1.3303659366080753]])),Yr.run("chromatic-adaptation-end",a),a.M)return Et(a.M,a.XYZ);throw new TypeError("Only Bradford CAT with white points D50 and D65 supported for now.")}var Ay=75e-6,vr=(re=new WeakSet,oe=new WeakMap,(function(){function e(t){var r,n,a,i,o,s,l;rr(this,e),Za(this,re),Ft(this,oe,void 0),this.id=t.id,this.name=t.name,this.base=t.base?vr.get(t.base):null,this.aliases=t.aliases,this.base&&(this.fromBase=t.fromBase,this.toBase=t.toBase);var u=(r=t.coords)!==null&&r!==void 0?r:this.base.coords;this.coords=u;var c=(n=(a=t.white)!==null&&a!==void 0?a:this.base.white)!==null&&n!==void 0?n:"D65";this.white=Qo(c),this.formats=(i=t.formats)!==null&&i!==void 0?i:{};for(var f in this.formats){var g=this.formats[f];g.type||(g.type="function"),g.name||(g.name=f);}t.cssId&&!((o=this.formats.functions)!==null&&o!==void 0&&o.color)?(this.formats.color={id:t.cssId},Object.defineProperty(this,"cssId",{value:t.cssId})):(s=this.formats)!==null&&s!==void 0&&s.color&&!((l=this.formats)!==null&&l!==void 0&&l.color.id)&&(this.formats.color.id=this.id),this.referred=t.referred,Lt(oe,this,zr(re,this,_y).call(this).reverse()),Yr.run("colorspace-init-end",this);}return zt(e,[{key:"inGamut",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=n.epsilon,i=a===void 0?Ay:a;if(this.isPolar)return r=this.toBase(r),this.base.inGamut(r,{epsilon:i});var o=Object.values(this.coords);return r.every(function(s,l){var u=o[l];if(u.type!=="angle"&&u.range){if(Number.isNaN(s))return true;var c=Ae(u.range,2),f=c[0],g=c[1];return (f===void 0||s>=f-i)&&(g===void 0||s<=g+i)}return true})}},{key:"cssId",get:function(){var r;return ((r=this.formats.functions)===null||r===void 0||(r=r.color)===null||r===void 0?void 0:r.id)||this.id}},{key:"isPolar",get:function(){for(var r in this.coords)if(this.coords[r].type==="angle")return true;return false}},{key:"getFormat",value:function(r){if(fe(r)==="object")return r=zr(re,this,Sc).call(this,r),r;var n;return r==="default"?n=Object.values(this.formats)[0]:n=this.formats[r],n?(n=zr(re,this,Sc).call(this,n),n):null}},{key:"to",value:function(r,n){if(arguments.length===1){var a=[r.space,r.coords];r=a[0],n=a[1];}if(r=vr.get(r),this===r)return n;n=n.map(function(g){return Number.isNaN(g)?0:g});for(var i=$t(oe,this),o=$t(oe,r),s,l,u=0;u<i.length&&i[u]===o[u];u++)s=i[u],l=u;if(!s)throw new Error("Cannot convert between color spaces ".concat(this," and ").concat(r,": no connection space was found"));for(var c=i.length-1;c>l;c--)n=i[c].toBase(n);for(var f=l+1;f<o.length;f++)n=o[f].fromBase(n);return n}},{key:"from",value:function(r,n){if(arguments.length===1){var a=[r.space,r.coords];r=a[0],n=a[1];}return r=vr.get(r),r.to(this,n)}},{key:"toString",value:function(){return "".concat(this.name," (").concat(this.id,")")}},{key:"getMinCoords",value:function(){var r=[];for(var n in this.coords){var a,i=this.coords[n],o=i.range||i.refRange;r.push((a=o?.min)!==null&&a!==void 0?a:0);}return r}}],[{key:"all",get:function(){return _e(new Set(Object.values(vr.registry)))}},{key:"register",value:function(r,n){if(arguments.length===1&&(n=arguments[0],r=n.id),n=this.get(n),this.registry[r]&&this.registry[r]!==n)throw new Error("Duplicate color space registration: '".concat(r,"'"));if(this.registry[r]=n,arguments.length===1&&n.aliases){var a=it(n.aliases),i;try{for(a.s();!(i=a.n()).done;){var o=i.value;this.register(o,n);}}catch(s){a.e(s);}finally{a.f();}}return n}},{key:"get",value:function(r){if(!r||r instanceof vr)return r;var n=Xr(r);if(n==="string"){var a=vr.registry[r.toLowerCase()];if(!a)throw new TypeError('No color space found with id = "'.concat(r,'"'));return a}for(var i=arguments.length,o=new Array(i>1?i-1:0),s=1;s<i;s++)o[s-1]=arguments[s];if(o.length)return vr.get.apply(vr,o);throw new TypeError("".concat(r," is not a valid color space"))}},{key:"resolveCoord",value:function(r,n){var a=Xr(r),i,o;if(a==="string")if(r.includes(".")){var s=r.split("."),l=Ae(s,2);i=l[0],o=l[1];}else i=void 0,o=r;else if(Array.isArray(r)){var u=Ae(r,2);i=u[0],o=u[1];}else i=r.space,o=r.coordId;if(i=vr.get(i),i||(i=n),!i)throw new TypeError("Cannot resolve coordinate reference ".concat(r,": No color space specified and relative references are not allowed here"));if(a=Xr(o),a==="number"||a==="string"&&o>=0){var c=Object.entries(i.coords)[o];if(c)return Te({space:i,id:c[0],index:o},c[1])}i=vr.get(i);var f=o.toLowerCase(),g=0;for(var w in i.coords){var S,P=i.coords[w];if(w.toLowerCase()===f||((S=P.name)===null||S===void 0?void 0:S.toLowerCase())===f)return Te({space:i,id:w,index:g},P);g++;}throw new TypeError('No "'.concat(o,'" coordinate found in ').concat(i.name,". Its coordinates are: ").concat(Object.keys(i.coords).join(", ")))}}])})());function Sc(e){if(e.coords&&!e.coordGrammar){e.type||(e.type="function"),e.name||(e.name="color"),e.coordGrammar=Cc(e.coords);var t=Object.entries(this.coords).map(function(r,n){var a=Ae(r,2);a[0];var o=a[1],s=e.coordGrammar[n][0],l=o.range||o.refRange,u=s.range,c="";return s=="<percentage>"?(u=[0,100],c="%"):s=="<angle>"&&(c="deg"),{fromRange:l,toRange:u,suffix:c}});e.serializeCoords=function(r,n){return r.map(function(a,i){var o=t[i],s=o.fromRange,l=o.toRange,u=o.suffix;return s&&l&&(a=Zo(s,l,a)),a=hi(a,n),u&&(a+=u),a})};}return e}function _y(){for(var e=[this],t=this;t=t.base;)e.push(t);return e}var Be=vr;Fu(Be,"registry",{}),Fu(Be,"DEFAULT_FORMAT",{type:"functions",name:"color"});var ar=new Be({id:"xyz-d65",name:"XYZ D65",coords:{x:{name:"X"},y:{name:"Y"},z:{name:"Z"}},white:"D65",formats:{color:{ids:["xyz-d65","xyz"]}},aliases:["xyz"]}),Wt=(function(e){function t(r){var n,a;if(rr(this,t),r.coords||(r.coords={r:{range:[0,1],name:"Red"},g:{range:[0,1],name:"Green"},b:{range:[0,1],name:"Blue"}}),r.base||(r.base=ar),r.toXYZ_M&&r.fromXYZ_M){var i,o;(i=r.toBase)!==null&&i!==void 0||(r.toBase=function(s){var l=Et(r.toXYZ_M,s);return a.white!==a.base.white&&(l=vi(a.white,a.base.white,l)),l}),(o=r.fromBase)!==null&&o!==void 0||(r.fromBase=function(s){return s=vi(a.base.white,a.white,s),Et(r.fromXYZ_M,s)});}return (n=r.referred)!==null&&n!==void 0||(r.referred="display"),a=te(this,t,[r])}return Me(t,e),zt(t)})(Be);function kc(e){var t,r={str:(t=String(e))===null||t===void 0?void 0:t.trim()};if(Yr.run("parse-start",r),r.color)return r.color;if(r.parsed=Ac(r.str),r.parsed){var n=r.parsed.name;if(n==="color"){var a=r.parsed.args.shift(),i=r.parsed.rawArgs.indexOf("/")>0?r.parsed.args.pop():1,o=it(Be.all),s;try{var l=function(){var Ee=s.value,le=Ee.getFormat("color");if(le){var ve;if(a===le.id||(ve=le.ids)!==null&&ve!==void 0&&ve.includes(a)){var xe=Object.keys(Ee.coords).length,Ce=Array(xe).fill(0);return Ce.forEach(function(Pe,$e){return Ce[$e]=r.parsed.args[$e]||0}),{v:{spaceId:Ee.id,coords:Ce,alpha:i}}}}},u;for(o.s();!(s=o.n()).done;)if(u=l(),u)return u.v}catch(pe){o.e(pe);}finally{o.f();}var c="";if(a in Be.registry){var f,g=(f=Be.registry[a].formats)===null||f===void 0||(f=f.functions)===null||f===void 0||(f=f.color)===null||f===void 0?void 0:f.id;g&&(c="Did you mean color(".concat(g,")?"));}throw new TypeError("Cannot parse color(".concat(a,"). ")+(c||"Missing a plugin?"))}else {var w=it(Be.all),S;try{var P=function(){var Ee=S.value,le=Ee.getFormat(n);if(le&&le.type==="function"){var ve=1;(le.lastAlpha||_c(r.parsed.args).alpha)&&(ve=r.parsed.args.pop());var xe=r.parsed.args;return le.coordGrammar&&Object.entries(Ee.coords).forEach(function(Ce,Pe){var $e,Fe=Ae(Ce,2),He=Fe[0],ye=Fe[1],Oe=le.coordGrammar[Pe],ee=($e=xe[Pe])===null||$e===void 0?void 0:$e.type;if(Oe=Oe.find(function(je){return je==ee}),!Oe){var Se=ye.name||He;throw new TypeError("".concat(ee," not allowed for ").concat(Se," in ").concat(n,"()"))}var ge=Oe.range;ee==="<percentage>"&&(ge||(ge=[0,1]));var ke=ye.range||ye.refRange;ge&&ke&&(xe[Pe]=Zo(ge,ke,xe[Pe]));}),{v:{spaceId:Ee.id,coords:xe,alpha:ve}}}},H;for(w.s();!(S=w.n()).done;)if(H=P(),H)return H.v}catch(pe){w.e(pe);}finally{w.f();}}}else {var z=it(Be.all),G;try{for(z.s();!(G=z.n()).done;){var X=G.value;for(var Y in X.formats){var Z=X.formats[Y];if(Z.type==="custom"&&!(Z.test&&!Z.test(r.str))){var ne=Z.parse(r.str);if(ne){var se;return (se=ne.alpha)!==null&&se!==void 0||(ne.alpha=1),ne}}}}}catch(pe){z.e(pe);}finally{z.f();}}throw new TypeError("Could not parse ".concat(e," as a color. Missing a plugin?"))}function lt(e){if(!e)throw new TypeError("Empty color reference");aa(e)&&(e=kc(e));var t=e.space||e.spaceId;return t instanceof Be||(e.space=Be.get(t)),e.alpha===void 0&&(e.alpha=1),e}function ia(e,t){return t=Be.get(t),t.from(e)}function ir(e,t){var r=Be.resolveCoord(t,e.space),n=r.space,a=r.index,i=ia(e,n);return i[a]}function Tc(e,t,r){return t=Be.get(t),e.coords=t.to(e.space,r),e}function Kr(e,t,r){if(e=lt(e),arguments.length===2&&Xr(arguments[1])==="object"){var n=arguments[1];for(var a in n)Kr(e,a,n[a]);}else {typeof r=="function"&&(r=r(ir(e,t)));var i=Be.resolveCoord(t,e.space),o=i.space,s=i.index,l=ia(e,o);l[s]=r,Tc(e,o,l);}return e}var es=new Be({id:"xyz-d50",name:"XYZ D50",white:"D50",base:ar,fromBase:function(t){return vi(ar.white,"D50",t)},toBase:function(t){return vi("D50",ar.white,t)},formats:{color:{}}}),Ey=216/24389,Rc=24/116,bi=24389/27,ts=gr.D50,Kt=new Be({id:"lab",name:"Lab",coords:{l:{refRange:[0,100],name:"L"},a:{refRange:[-125,125]},b:{refRange:[-125,125]}},white:ts,base:es,fromBase:function(t){var r=t.map(function(a,i){return a/ts[i]}),n=r.map(function(a){return a>Ey?Math.cbrt(a):(bi*a+16)/116});return [116*n[1]-16,500*(n[0]-n[1]),200*(n[1]-n[2])]},toBase:function(t){var r=[];r[1]=(t[0]+16)/116,r[0]=t[1]/500+r[1],r[2]=r[1]-t[2]/200;var n=[r[0]>Rc?Math.pow(r[0],3):(116*r[0]-16)/bi,t[0]>8?Math.pow((t[0]+16)/116,3):t[0]/bi,r[2]>Rc?Math.pow(r[2],3):(116*r[2]-16)/bi];return n.map(function(a,i){return a*ts[i]})},formats:{lab:{coords:["<number> | <percentage>","<number>","<number>"]}}});function yi(e){return (e%360+360)%360}function Cy(e,t){if(e==="raw")return t;var r=t.map(yi),n=Ae(r,2),a=n[0],i=n[1],o=i-a;return e==="increasing"?o<0&&(i+=360):e==="decreasing"?o>0&&(a+=360):e==="longer"?-180<o&&o<180&&(o>0?i+=360:a+=360):e==="shorter"&&(o>180?a+=360:o<-180&&(i+=360)),[a,i]}var oa=new Be({id:"lch",name:"LCH",coords:{l:{refRange:[0,100],name:"Lightness"},c:{refRange:[0,150],name:"Chroma"},h:{refRange:[0,360],type:"angle",name:"Hue"}},base:Kt,fromBase:function(t){var r=Ae(t,3),n=r[0],a=r[1],i=r[2],o,s=.02;return Math.abs(a)<s&&Math.abs(i)<s?o=NaN:o=Math.atan2(i,a)*180/Math.PI,[n,Math.sqrt(Math.pow(a,2)+Math.pow(i,2)),yi(o)]},toBase:function(t){var r=Ae(t,3),n=r[0],a=r[1],i=r[2];return a<0&&(a=0),isNaN(i)&&(i=0),[n,a*Math.cos(i*Math.PI/180),a*Math.sin(i*Math.PI/180)]},formats:{lch:{coords:["<number> | <percentage>","<number>","<number> | <angle>"]}}}),Fc=Math.pow(25,7),wi=Math.PI,Ic=180/wi,Sn=wi/180;function rs(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=r.kL,a=n===void 0?1:n,i=r.kC,o=i===void 0?1:i,s=r.kH,l=s===void 0?1:s,u=Kt.from(e),c=Ae(u,3),f=c[0],g=c[1],w=c[2],S=oa.from(Kt,[f,g,w])[1],P=Kt.from(t),H=Ae(P,3),z=H[0],G=H[1],X=H[2],Y=oa.from(Kt,[z,G,X])[1];S<0&&(S=0),Y<0&&(Y=0);var Z=(S+Y)/2,ne=Math.pow(Z,7),se=.5*(1-Math.sqrt(ne/(ne+Fc))),pe=(1+se)*g,Ee=(1+se)*G,le=Math.sqrt(Math.pow(pe,2)+Math.pow(w,2)),ve=Math.sqrt(Math.pow(Ee,2)+Math.pow(X,2)),xe=pe===0&&w===0?0:Math.atan2(w,pe),Ce=Ee===0&&X===0?0:Math.atan2(X,Ee);xe<0&&(xe+=2*wi),Ce<0&&(Ce+=2*wi),xe*=Ic,Ce*=Ic;var Pe=z-f,$e=ve-le,Fe=Ce-xe,He=xe+Ce,ye=Math.abs(Fe),Oe;le*ve===0?Oe=0:ye<=180?Oe=Fe:Fe>180?Oe=Fe-360:Fe<-180?Oe=Fe+360:console.log("the unthinkable has happened");var ee=2*Math.sqrt(ve*le)*Math.sin(Oe*Sn/2),Se=(f+z)/2,ge=(le+ve)/2,ke=Math.pow(ge,7),je;le*ve===0?je=He:ye<=180?je=He/2:He<360?je=(He+360)/2:je=(He-360)/2;var Re=Math.pow(Se-50,2),Le=1+.015*Re/Math.sqrt(20+Re),et=1+.045*ge,ut=1;ut-=.17*Math.cos((je-30)*Sn),ut+=.24*Math.cos(2*je*Sn),ut+=.32*Math.cos((3*je+6)*Sn),ut-=.2*Math.cos((4*je-63)*Sn);var ft=1+.015*ge*ut,At=30*Math.exp(-1*Math.pow((je-275)/25,2)),Tt=2*Math.sqrt(ke/(ke+Fc)),St=-1*Math.sin(2*At*Sn)*Tt,gt=Math.pow(Pe/(a*Le),2);return gt+=Math.pow($e/(o*et),2),gt+=Math.pow(ee/(l*ft),2),gt+=St*($e/(o*et))*(ee/(l*ft)),Math.sqrt(gt)}var Sy=75e-6;function sa(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e.space,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=r.epsilon,a=n===void 0?Sy:n;e=lt(e),t=Be.get(t);var i=e.coords;return t!==e.space&&(i=t.from(e)),t.inGamut(i,{epsilon:a})}function la(e){return {space:e.space,coords:e.coords.slice(),alpha:e.alpha}}function Jr(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.method,n=r===void 0?Dr.gamut_mapping:r,a=t.space,i=a===void 0?e.space:a;if(aa(arguments[1])&&(i=arguments[1]),i=Be.get(i),sa(e,i,{epsilon:0}))return e;var o=or(e,i);if(n!=="clip"&&!sa(e,i)){var s=Jr(la(o),{method:"clip",space:i});if(rs(e,s)>2){for(var l=Be.resolveCoord(n),u=l.space,c=l.id,f=or(o,u),g=l.range||l.refRange,w=g[0],S=.01,P=w,H=ir(f,c);H-P>S;){var z=la(f);z=Jr(z,{space:i,method:"clip"});var G=rs(f,z);G-2<S?P=ir(f,c):H=ir(f,c),Kr(f,c,(P+H)/2);}o=or(f,i);}else o=s;}if(n==="clip"||!sa(o,i,{epsilon:0})){var X=Object.values(i.coords).map(function(Y){return Y.range||[]});o.coords=o.coords.map(function(Y,Z){var ne=Ae(X[Z],2),se=ne[0],pe=ne[1];return se!==void 0&&(Y=Math.max(se,Y)),pe!==void 0&&(Y=Math.min(Y,pe)),Y});}return i!==e.space&&(o=or(o,e.space)),e.coords=o.coords,e}Jr.returns="color";function or(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=r.inGamut;e=lt(e),t=Be.get(t);var a=t.from(e),i={space:t,coords:a,alpha:e.alpha};return n&&(i=Jr(i)),i}or.returns="color";function xi(e){var t,r,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=n.precision,i=a===void 0?Dr.precision:a,o=n.format,s=o===void 0?"default":o,l=n.inGamut,u=l===void 0?true:l,c=J(n,C),f;e=lt(e);var g=s;s=(t=(r=e.space.getFormat(s))!==null&&r!==void 0?r:e.space.getFormat("default"))!==null&&t!==void 0?t:Be.DEFAULT_FORMAT,u||(u=s.toGamut);var w=e.coords;if(w=w.map(function(Y){return Y||0}),u&&!sa(e)&&(w=Jr(la(e),u===true?void 0:u).coords),s.type==="custom")if(c.precision=i,s.serialize)f=s.serialize(w,e.alpha,c);else throw new TypeError("format ".concat(g," can only be used to parse colors, not for serialization"));else {var S=s.name||"color";s.serializeCoords?w=s.serializeCoords(w,i):i!==null&&(w=w.map(function(Y){return hi(Y,i)}));var P=_e(w);if(S==="color"){var H,z=s.id||((H=s.ids)===null||H===void 0?void 0:H[0])||e.space.id;P.unshift(z);}var G=e.alpha;i!==null&&(G=hi(G,i));var X=e.alpha<1&&!s.noAlpha?"".concat(s.commas?",":" /"," ").concat(G):"";f="".concat(S,"(").concat(P.join(s.commas?", ":" ")).concat(X,")");}return f}var ky=[[.6369580483012914,.14461690358620832,.1688809751641721],[.2627002120112671,.6779980715188708,.05930171646986196],[0,.028072693049087428,1.060985057710791]],Ty=[[1.716651187971268,-0.355670783776392,-0.25336628137366],[-0.666684351832489,1.616481236634939,.0157685458139111],[.017639857445311,-0.042770613257809,.942103121235474]],Di=new Wt({id:"rec2020-linear",name:"Linear REC.2020",white:"D65",toXYZ_M:ky,fromXYZ_M:Ty,formats:{color:{}}}),Ai=1.09929682680944,Lc=.018053968510807,Mc=new Wt({id:"rec2020",name:"REC.2020",base:Di,toBase:function(t){return t.map(function(r){return r<Lc*4.5?r/4.5:Math.pow((r+Ai-1)/Ai,1/.45)})},fromBase:function(t){return t.map(function(r){return r>=Lc?Ai*Math.pow(r,.45)-(Ai-1):4.5*r})},formats:{color:{}}}),Ry=[[.4865709486482162,.26566769316909306,.1982172852343625],[.2289745640697488,.6917385218365064,.079286914093745],[0,.04511338185890264,1.043944368900976]],Fy=[[2.493496911941425,-0.9313836179191239,-0.40271078445071684],[-0.8294889695615747,1.7626640603183463,.023624685841943577],[.03584583024378447,-0.07617238926804182,.9568845240076872]],Oc=new Wt({id:"p3-linear",name:"Linear P3",white:"D65",toXYZ_M:Ry,fromXYZ_M:Fy}),Iy=[[.41239079926595934,.357584339383878,.1804807884018343],[.21263900587151027,.715168678767756,.07219231536073371],[.01933081871559182,.11919477979462598,.9505321522496607]],Ly=[[3.2409699419045226,-1.537383177570094,-0.4986107602930034],[-0.9692436362808796,1.8759675015077202,.04155505740717559],[.05563007969699366,-0.20397695888897652,1.0569715142428786]],Pc=new Wt({id:"srgb-linear",name:"Linear sRGB",white:"D65",toXYZ_M:Iy,fromXYZ_M:Ly,formats:{color:{}}}),Nc={aliceblue:[240/255,248/255,1],antiquewhite:[250/255,235/255,215/255],aqua:[0,1,1],aquamarine:[127/255,1,212/255],azure:[240/255,1,1],beige:[245/255,245/255,220/255],bisque:[1,228/255,196/255],black:[0,0,0],blanchedalmond:[1,235/255,205/255],blue:[0,0,1],blueviolet:[138/255,43/255,226/255],brown:[165/255,42/255,42/255],burlywood:[222/255,184/255,135/255],cadetblue:[95/255,158/255,160/255],chartreuse:[127/255,1,0],chocolate:[210/255,105/255,30/255],coral:[1,127/255,80/255],cornflowerblue:[100/255,149/255,237/255],cornsilk:[1,248/255,220/255],crimson:[220/255,20/255,60/255],cyan:[0,1,1],darkblue:[0,0,139/255],darkcyan:[0,139/255,139/255],darkgoldenrod:[184/255,134/255,11/255],darkgray:[169/255,169/255,169/255],darkgreen:[0,100/255,0],darkgrey:[169/255,169/255,169/255],darkkhaki:[189/255,183/255,107/255],darkmagenta:[139/255,0,139/255],darkolivegreen:[85/255,107/255,47/255],darkorange:[1,140/255,0],darkorchid:[153/255,50/255,204/255],darkred:[139/255,0,0],darksalmon:[233/255,150/255,122/255],darkseagreen:[143/255,188/255,143/255],darkslateblue:[72/255,61/255,139/255],darkslategray:[47/255,79/255,79/255],darkslategrey:[47/255,79/255,79/255],darkturquoise:[0,206/255,209/255],darkviolet:[148/255,0,211/255],deeppink:[1,20/255,147/255],deepskyblue:[0,191/255,1],dimgray:[105/255,105/255,105/255],dimgrey:[105/255,105/255,105/255],dodgerblue:[30/255,144/255,1],firebrick:[178/255,34/255,34/255],floralwhite:[1,250/255,240/255],forestgreen:[34/255,139/255,34/255],fuchsia:[1,0,1],gainsboro:[220/255,220/255,220/255],ghostwhite:[248/255,248/255,1],gold:[1,215/255,0],goldenrod:[218/255,165/255,32/255],gray:[128/255,128/255,128/255],green:[0,128/255,0],greenyellow:[173/255,1,47/255],grey:[128/255,128/255,128/255],honeydew:[240/255,1,240/255],hotpink:[1,105/255,180/255],indianred:[205/255,92/255,92/255],indigo:[75/255,0,130/255],ivory:[1,1,240/255],khaki:[240/255,230/255,140/255],lavender:[230/255,230/255,250/255],lavenderblush:[1,240/255,245/255],lawngreen:[124/255,252/255,0],lemonchiffon:[1,250/255,205/255],lightblue:[173/255,216/255,230/255],lightcoral:[240/255,128/255,128/255],lightcyan:[224/255,1,1],lightgoldenrodyellow:[250/255,250/255,210/255],lightgray:[211/255,211/255,211/255],lightgreen:[144/255,238/255,144/255],lightgrey:[211/255,211/255,211/255],lightpink:[1,182/255,193/255],lightsalmon:[1,160/255,122/255],lightseagreen:[32/255,178/255,170/255],lightskyblue:[135/255,206/255,250/255],lightslategray:[119/255,136/255,153/255],lightslategrey:[119/255,136/255,153/255],lightsteelblue:[176/255,196/255,222/255],lightyellow:[1,1,224/255],lime:[0,1,0],limegreen:[50/255,205/255,50/255],linen:[250/255,240/255,230/255],magenta:[1,0,1],maroon:[128/255,0,0],mediumaquamarine:[102/255,205/255,170/255],mediumblue:[0,0,205/255],mediumorchid:[186/255,85/255,211/255],mediumpurple:[147/255,112/255,219/255],mediumseagreen:[60/255,179/255,113/255],mediumslateblue:[123/255,104/255,238/255],mediumspringgreen:[0,250/255,154/255],mediumturquoise:[72/255,209/255,204/255],mediumvioletred:[199/255,21/255,133/255],midnightblue:[25/255,25/255,112/255],mintcream:[245/255,1,250/255],mistyrose:[1,228/255,225/255],moccasin:[1,228/255,181/255],navajowhite:[1,222/255,173/255],navy:[0,0,128/255],oldlace:[253/255,245/255,230/255],olive:[128/255,128/255,0],olivedrab:[107/255,142/255,35/255],orange:[1,165/255,0],orangered:[1,69/255,0],orchid:[218/255,112/255,214/255],palegoldenrod:[238/255,232/255,170/255],palegreen:[152/255,251/255,152/255],paleturquoise:[175/255,238/255,238/255],palevioletred:[219/255,112/255,147/255],papayawhip:[1,239/255,213/255],peachpuff:[1,218/255,185/255],peru:[205/255,133/255,63/255],pink:[1,192/255,203/255],plum:[221/255,160/255,221/255],powderblue:[176/255,224/255,230/255],purple:[128/255,0,128/255],rebeccapurple:[102/255,51/255,153/255],red:[1,0,0],rosybrown:[188/255,143/255,143/255],royalblue:[65/255,105/255,225/255],saddlebrown:[139/255,69/255,19/255],salmon:[250/255,128/255,114/255],sandybrown:[244/255,164/255,96/255],seagreen:[46/255,139/255,87/255],seashell:[1,245/255,238/255],sienna:[160/255,82/255,45/255],silver:[192/255,192/255,192/255],skyblue:[135/255,206/255,235/255],slateblue:[106/255,90/255,205/255],slategray:[112/255,128/255,144/255],slategrey:[112/255,128/255,144/255],snow:[1,250/255,250/255],springgreen:[0,1,127/255],steelblue:[70/255,130/255,180/255],tan:[210/255,180/255,140/255],teal:[0,128/255,128/255],thistle:[216/255,191/255,216/255],tomato:[1,99/255,71/255],turquoise:[64/255,224/255,208/255],violet:[238/255,130/255,238/255],wheat:[245/255,222/255,179/255],white:[1,1,1],whitesmoke:[245/255,245/255,245/255],yellow:[1,1,0],yellowgreen:[154/255,205/255,50/255]},qc=Array(3).fill("<percentage> | <number>[0, 255]"),Bc=Array(3).fill("<number>[0, 255]"),ua=new Wt({id:"srgb",name:"sRGB",base:Pc,fromBase:function(t){return t.map(function(r){var n=r<0?-1:1,a=r*n;return a>.0031308?n*(1.055*Math.pow(a,1/2.4)-.055):12.92*r})},toBase:function(t){return t.map(function(r){var n=r<0?-1:1,a=r*n;return a<.04045?r/12.92:n*Math.pow((a+.055)/1.055,2.4)})},formats:{rgb:{coords:qc},rgb_number:{name:"rgb",commas:true,coords:Bc,noAlpha:true},color:{},rgba:{coords:qc,commas:true,lastAlpha:true},rgba_number:{name:"rgba",commas:true,coords:Bc},hex:{type:"custom",toGamut:true,test:function(t){return /^#([a-f0-9]{3,4}){1,2}$/i.test(t)},parse:function(t){t.length<=5&&(t=t.replace(/[a-f0-9]/gi,"$&$&"));var r=[];return t.replace(/[a-f0-9]{2}/gi,function(n){r.push(parseInt(n,16)/255);}),{spaceId:"srgb",coords:r.slice(0,3),alpha:r.slice(3)[0]}},serialize:function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=n.collapse,i=a===void 0?true:a;r<1&&t.push(r),t=t.map(function(l){return Math.round(l*255)});var o=i&&t.every(function(l){return l%17===0}),s=t.map(function(l){return o?(l/17).toString(16):l.toString(16).padStart(2,"0")}).join("");return "#"+s}},keyword:{type:"custom",test:function(t){return /^[a-z]+$/i.test(t)},parse:function(t){t=t.toLowerCase();var r={spaceId:"srgb",coords:null,alpha:1};if(t==="transparent"?(r.coords=Nc.black,r.alpha=0):r.coords=Nc[t],r.coords)return r}}}}),Hc=new Wt({id:"p3",name:"P3",base:Oc,fromBase:ua.fromBase,toBase:ua.toBase,formats:{color:{id:"display-p3"}}});if(Dr.display_space=ua,typeof CSS<"u"&&(ce=CSS)!==null&&ce!==void 0&&ce.supports)for(var ns=0,Vc=[Kt,Mc,Hc];ns<Vc.length;ns++){var as=Vc[ns],My=as.getMinCoords(),Oy={space:as,coords:My,alpha:1},Py=xi(Oy);if(CSS.supports("color",Py)){Dr.display_space=as;break}}function Ny(e){var t,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=r.space,a=n===void 0?Dr.display_space:n,i=J(r,D),o=xi(e,i);if(typeof CSS>"u"||(t=CSS)!==null&&t!==void 0&&t.supports("color",o)||!Dr.display_space)o=new String(o),o.color=e;else {var s=or(e,a);o=new String(xi(s,i)),o.color=s;}return o}function jc(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"lab";r=Be.get(r);var n=r.from(e),a=r.from(t);return Math.sqrt(n.reduce(function(i,o,s){var l=a[s];return isNaN(o)||isNaN(l)?i:i+Math.pow(l-o,2)},0))}function qy(e,t){return e=lt(e),t=lt(t),e.space===t.space&&e.alpha===t.alpha&&e.coords.every(function(r,n){return r===t.coords[n]})}function Zr(e){return ir(e,[ar,"y"])}function $c(e,t){Kr(e,[ar,"y"],t);}function By(e){Object.defineProperty(e.prototype,"luminance",{get:function(){return Zr(this)},set:function(r){$c(this,r);}});}var Hy=Object.freeze({__proto__:null,getLuminance:Zr,setLuminance:$c,register:By});function Vy(e,t){e=lt(e),t=lt(t);var r=Math.max(Zr(e),0),n=Math.max(Zr(t),0);if(n>r){var a=[n,r];r=a[0],n=a[1];}return (r+.05)/(n+.05)}var jy=.56,$y=.57,zy=.62,Gy=.65,zc=.022,Wy=1.414,Uy=.1,Xy=5e-4,Yy=1.14,Gc=.027,Ky=1.14;function Wc(e){return e>=zc?e:e+Math.pow(zc-e,Wy)}function kn(e){var t=e<0?-1:1,r=Math.abs(e);return t*Math.pow(r,2.4)}function Jy(e,t){t=lt(t),e=lt(e);var r,n,a,i,o,s;t=or(t,"srgb");var l=Ae(t.coords,3);i=l[0],o=l[1],s=l[2];var u=kn(i)*.2126729+kn(o)*.7151522+kn(s)*.072175;e=or(e,"srgb");var c=Ae(e.coords,3);i=c[0],o=c[1],s=c[2];var f=kn(i)*.2126729+kn(o)*.7151522+kn(s)*.072175,g=Wc(u),w=Wc(f),S=w>g;return Math.abs(w-g)<Xy?n=0:S?(r=Math.pow(w,jy)-Math.pow(g,$y),n=r*Yy):(r=Math.pow(w,Gy)-Math.pow(g,zy),n=r*Ky),Math.abs(n)<Uy?a=0:n>0?a=n-Gc:a=n+Gc,a*100}function Zy(e,t){e=lt(e),t=lt(t);var r=Math.max(Zr(e),0),n=Math.max(Zr(t),0);if(n>r){var a=[n,r];r=a[0],n=a[1];}var i=r+n;return i===0?0:(r-n)/i}var Qy=5e4;function e0(e,t){e=lt(e),t=lt(t);var r=Math.max(Zr(e),0),n=Math.max(Zr(t),0);if(n>r){var a=[n,r];r=a[0],n=a[1];}return n===0?Qy:(r-n)/n}function t0(e,t){e=lt(e),t=lt(t);var r=ir(e,[Kt,"l"]),n=ir(t,[Kt,"l"]);return Math.abs(r-n)}var r0=216/24389,Uc=24/116,_i=24389/27,is=gr.D65,os=new Be({id:"lab-d65",name:"Lab D65",coords:{l:{refRange:[0,100],name:"L"},a:{refRange:[-125,125]},b:{refRange:[-125,125]}},white:is,base:ar,fromBase:function(t){var r=t.map(function(a,i){return a/is[i]}),n=r.map(function(a){return a>r0?Math.cbrt(a):(_i*a+16)/116});return [116*n[1]-16,500*(n[0]-n[1]),200*(n[1]-n[2])]},toBase:function(t){var r=[];r[1]=(t[0]+16)/116,r[0]=t[1]/500+r[1],r[2]=r[1]-t[2]/200;var n=[r[0]>Uc?Math.pow(r[0],3):(116*r[0]-16)/_i,t[0]>8?Math.pow((t[0]+16)/116,3):t[0]/_i,r[2]>Uc?Math.pow(r[2],3):(116*r[2]-16)/_i];return n.map(function(a,i){return a*is[i]})},formats:{"lab-d65":{coords:["<number> | <percentage>","<number>","<number>"]}}}),ss=Math.pow(5,.5)*.5+.5;function n0(e,t){e=lt(e),t=lt(t);var r=ir(e,[os,"l"]),n=ir(t,[os,"l"]),a=Math.abs(Math.pow(r,ss)-Math.pow(n,ss)),i=Math.pow(a,1/ss)*Math.SQRT2-40;return i<7.5?0:i}var Ei=Object.freeze({__proto__:null,contrastWCAG21:Vy,contrastAPCA:Jy,contrastMichelson:Zy,contrastWeber:e0,contrastLstar:t0,contrastDeltaPhi:n0});function a0(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};aa(r)&&(r={algorithm:r});var n=r,a=n.algorithm,i=J(n,I);if(!a){var o=Object.keys(Ei).map(function(l){return l.replace(/^contrast/,"")}).join(", ");throw new TypeError("contrast() function needs a contrast algorithm. Please specify one of: ".concat(o))}e=lt(e),t=lt(t);for(var s in Ei)if("contrast"+a.toLowerCase()===s.toLowerCase())return Ei[s](e,t,i);throw new TypeError("Unknown contrast algorithm: ".concat(a))}function Xc(e){var t=ia(e,ar),r=Ae(t,3),n=r[0],a=r[1],i=r[2],o=n+15*a+3*i;return [4*n/o,9*a/o]}function Yc(e){var t=ia(e,ar),r=Ae(t,3),n=r[0],a=r[1],i=r[2],o=n+a+i;return [n/o,a/o]}function i0(e){Object.defineProperty(e.prototype,"uv",{get:function(){return Xc(this)}}),Object.defineProperty(e.prototype,"xy",{get:function(){return Yc(this)}});}var o0=Object.freeze({__proto__:null,uv:Xc,xy:Yc,register:i0});function s0(e,t){return jc(e,t,"lab")}var l0=Math.PI,Kc=l0/180;function u0(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=r.l,a=n===void 0?2:n,i=r.c,o=i===void 0?1:i,s=Kt.from(e),l=Ae(s,3),u=l[0],c=l[1],f=l[2],g=oa.from(Kt,[u,c,f]),w=Ae(g,3),S=w[1],P=w[2],H=Kt.from(t),z=Ae(H,3),G=z[0],X=z[1],Y=z[2],Z=oa.from(Kt,[G,X,Y])[1];S<0&&(S=0),Z<0&&(Z=0);var ne=u-G,se=S-Z,pe=c-X,Ee=f-Y,le=Math.pow(pe,2)+Math.pow(Ee,2)-Math.pow(se,2),ve=.511;u>=16&&(ve=.040975*u/(1+.01765*u));var xe=.0638*S/(1+.0131*S)+.638,Ce;Number.isNaN(P)&&(P=0),P>=164&&P<=345?Ce=.56+Math.abs(.2*Math.cos((P+168)*Kc)):Ce=.36+Math.abs(.4*Math.cos((P+35)*Kc));var Pe=Math.pow(S,4),$e=Math.sqrt(Pe/(Pe+1900)),Fe=xe*($e*Ce+1-$e),He=Math.pow(ne/(a*ve),2);return He+=Math.pow(se/(o*xe),2),He+=le/Math.pow(Fe,2),Math.sqrt(He)}var Jc=203,ls=new Be({id:"xyz-abs-d65",name:"Absolute XYZ D65",coords:{x:{refRange:[0,9504.7],name:"Xa"},y:{refRange:[0,1e4],name:"Ya"},z:{refRange:[0,10888.3],name:"Za"}},base:ar,fromBase:function(t){return t.map(function(r){return Math.max(r*Jc,0)})},toBase:function(t){return t.map(function(r){return Math.max(r/Jc,0)})}}),Ci=1.15,Si=.66,Zc=2610/Math.pow(2,14),c0=Math.pow(2,14)/2610,Qc=3424/Math.pow(2,12),ed=2413/Math.pow(2,7),td=2392/Math.pow(2,7),d0=1.7*2523/Math.pow(2,5),rd=Math.pow(2,5)/(1.7*2523),ki=-0.56,us=16295499532821565e-27,f0=[[.41478972,.579999,.014648],[-0.20151,1.120649,.0531008],[-0.0166008,.2648,.6684799]],p0=[[1.9242264357876067,-1.0047923125953657,.037651404030618],[.35031676209499907,.7264811939316552,-0.06538442294808501],[-0.09098281098284752,-0.3127282905230739,1.5227665613052603]],m0=[[.5,.5,0],[3.524,-4.066708,.542708],[.199076,1.096799,-1.295875]],h0=[[1,.1386050432715393,.05804731615611886],[.9999999999999999,-0.1386050432715393,-0.05804731615611886],[.9999999999999998,-0.09601924202631895,-0.8118918960560388]],nd=new Be({id:"jzazbz",name:"Jzazbz",coords:{jz:{refRange:[0,1],name:"Jz"},az:{refRange:[-0.5,.5]},bz:{refRange:[-0.5,.5]}},base:ls,fromBase:function(t){var r=Ae(t,3),n=r[0],a=r[1],i=r[2],o=Ci*n-(Ci-1)*i,s=Si*a-(Si-1)*n,l=Et(f0,[o,s,i]),u=l.map(function(H){var z=Qc+ed*Math.pow(H/1e4,Zc),G=1+td*Math.pow(H/1e4,Zc);return Math.pow(z/G,d0)}),c=Et(m0,u),f=Ae(c,3),g=f[0],w=f[1],S=f[2],P=(1+ki)*g/(1+ki*g)-us;return [P,w,S]},toBase:function(t){var r=Ae(t,3),n=r[0],a=r[1],i=r[2],o=(n+us)/(1+ki-ki*(n+us)),s=Et(h0,[o,a,i]),l=s.map(function(H){var z=Qc-Math.pow(H,rd),G=td*Math.pow(H,rd)-ed,X=1e4*Math.pow(z/G,c0);return X}),u=Et(p0,l),c=Ae(u,3),f=c[0],g=c[1],w=c[2],S=(f+(Ci-1)*w)/Ci,P=(g+(Si-1)*S)/Si;return [S,P,w]},formats:{color:{}}}),cs=new Be({id:"jzczhz",name:"JzCzHz",coords:{jz:{refRange:[0,1],name:"Jz"},cz:{refRange:[0,1],name:"Chroma"},hz:{refRange:[0,360],type:"angle",name:"Hue"}},base:nd,fromBase:function(t){var r=Ae(t,3),n=r[0],a=r[1],i=r[2],o,s=2e-4;return Math.abs(a)<s&&Math.abs(i)<s?o=NaN:o=Math.atan2(i,a)*180/Math.PI,[n,Math.sqrt(Math.pow(a,2)+Math.pow(i,2)),yi(o)]},toBase:function(t){return [t[0],t[1]*Math.cos(t[2]*Math.PI/180),t[1]*Math.sin(t[2]*Math.PI/180)]},formats:{color:{}}});function g0(e,t){var r=cs.from(e),n=Ae(r,3),a=n[0],i=n[1],o=n[2],s=cs.from(t),l=Ae(s,3),u=l[0],c=l[1],f=l[2],g=a-u,w=i-c;Number.isNaN(o)&&Number.isNaN(f)?(o=0,f=0):Number.isNaN(o)?o=f:Number.isNaN(f)&&(f=o);var S=o-f,P=2*Math.sqrt(i*c)*Math.sin(S/2*(Math.PI/180));return Math.sqrt(Math.pow(g,2)+Math.pow(w,2)+Math.pow(P,2))}var ad=3424/4096,id=2413/128,od=2392/128,sd=2610/16384,v0=2523/32,b0=16384/2610,ld=32/2523,y0=[[.3592,.6976,-0.0358],[-0.1922,1.1004,.0755],[.007,.0749,.8434]],w0=[[2048/4096,2048/4096,0],[6610/4096,-13613/4096,7003/4096],[17933/4096,-17390/4096,-543/4096]],x0=[[.9999888965628402,.008605050147287059,.11103437159861648],[1.00001110343716,-0.008605050147287059,-0.11103437159861648],[1.0000320633910054,.56004913547279,-0.3206339100541203]],D0=[[2.0701800566956137,-1.326456876103021,.20661600684785517],[.3649882500326575,.6804673628522352,-0.04542175307585323],[-0.04959554223893211,-0.04942116118675749,1.1879959417328034]],ds=new Be({id:"ictcp",name:"ICTCP",coords:{i:{refRange:[0,1],name:"I"},ct:{refRange:[-0.5,.5],name:"CT"},cp:{refRange:[-0.5,.5],name:"CP"}},base:ls,fromBase:function(t){var r=Et(y0,t);return A0(r)},toBase:function(t){var r=_0(t);return Et(D0,r)},formats:{color:{}}});function A0(e){var t=e.map(function(r){var n=ad+id*Math.pow(r/1e4,sd),a=1+od*Math.pow(r/1e4,sd);return Math.pow(n/a,v0)});return Et(w0,t)}function _0(e){var t=Et(x0,e),r=t.map(function(n){var a=Math.max(Math.pow(n,ld)-ad,0),i=id-od*Math.pow(n,ld);return 1e4*Math.pow(a/i,b0)});return r}function E0(e,t){var r=ds.from(e),n=Ae(r,3),a=n[0],i=n[1],o=n[2],s=ds.from(t),l=Ae(s,3),u=l[0],c=l[1],f=l[2];return 720*Math.sqrt(Math.pow(a-u,2)+.25*Math.pow(i-c,2)+Math.pow(o-f,2))}var C0=[[.8190224432164319,.3619062562801221,-0.12887378261216414],[.0329836671980271,.9292868468965546,.03614466816999844],[.048177199566046255,.26423952494422764,.6335478258136937]],S0=[[1.2268798733741557,-0.5578149965554813,.28139105017721583],[-0.04057576262431372,1.1122868293970594,-0.07171106666151701],[-0.07637294974672142,-0.4214933239627914,1.5869240244272418]],k0=[[.2104542553,.793617785,-0.0040720468],[1.9779984951,-2.428592205,.4505937099],[.0259040371,.7827717662,-0.808675766]],T0=[[.9999999984505198,.39633779217376786,.2158037580607588],[1.0000000088817609,-0.10556134232365635,-0.06385417477170591],[1.0000000546724108,-0.08948418209496575,-1.2914855378640917]],Ti=new Be({id:"oklab",name:"OKLab",coords:{l:{refRange:[0,1],name:"L"},a:{refRange:[-0.4,.4]},b:{refRange:[-0.4,.4]}},white:"D65",base:ar,fromBase:function(t){var r=Et(C0,t),n=r.map(function(a){return Math.cbrt(a)});return Et(k0,n)},toBase:function(t){var r=Et(T0,t),n=r.map(function(a){return Math.pow(a,3)});return Et(S0,n)},formats:{oklab:{coords:["<number> | <percentage>","<number>","<number>"]}}});function R0(e,t){var r=Ti.from(e),n=Ae(r,3),a=n[0],i=n[1],o=n[2],s=Ti.from(t),l=Ae(s,3),u=l[0],c=l[1],f=l[2],g=a-u,w=i-c,S=o-f;return Math.sqrt(Math.pow(g,2)+Math.pow(w,2)+Math.pow(S,2))}var fs=Object.freeze({__proto__:null,deltaE76:s0,deltaECMC:u0,deltaE2000:rs,deltaEJz:g0,deltaEITP:E0,deltaEOK:R0});function ca(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};aa(r)&&(r={method:r});var n=r,a=n.method,i=a===void 0?Dr.deltaE:a,o=J(n,q);e=lt(e),t=lt(t);for(var s in fs)if("deltae"+i.toLowerCase()===s.toLowerCase())return fs[s](e,t,o);throw new TypeError("Unknown deltaE method: ".concat(i))}function F0(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:.25,r=Be.get("oklch","lch"),n=[r,"l"];return Kr(e,n,function(a){return a*(1+t)})}function I0(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:.25,r=Be.get("oklch","lch"),n=[r,"l"];return Kr(e,n,function(a){return a*(1-t)})}var L0=Object.freeze({__proto__:null,lighten:F0,darken:I0});function ud(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:.5,n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},a=[lt(e),lt(t)];if(e=a[0],t=a[1],Xr(r)==="object"){var i=[.5,r];r=i[0],n=i[1];}var o=n,s=o.space,l=o.outputSpace,u=o.premultiplied,c=da(e,t,{space:s,outputSpace:l,premultiplied:u});return c(r)}function cd(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n;if(ps(e)){n=e,r=t;var a=Ae(n.rangeArgs.colors,2);e=a[0],t=a[1];}var i=r,o=i.maxDeltaE,s=i.deltaEMethod,l=i.steps,u=l===void 0?2:l,c=i.maxSteps,f=c===void 0?1e3:c,g=J(i,L);if(!n){var w=[lt(e),lt(t)];e=w[0],t=w[1],n=da(e,t,g);}var S=ca(e,t),P=o>0?Math.max(u,Math.ceil(S/o)+1):u,H=[];if(f!==void 0&&(P=Math.min(P,f)),P===1)H=[{p:.5,color:n(.5)}];else {var z=1/(P-1);H=Array.from({length:P},function(pe,Ee){var le=Ee*z;return {p:le,color:n(le)}});}if(o>0)for(var G=H.reduce(function(pe,Ee,le){if(le===0)return 0;var ve=ca(Ee.color,H[le-1].color,s);return Math.max(pe,ve)},0);G>o;){G=0;for(var X=1;X<H.length&&H.length<f;X++){var Y=H[X-1],Z=H[X],ne=(Z.p+Y.p)/2,se=n(ne);G=Math.max(G,ca(se,Y.color),ca(se,Z.color)),H.splice(X,0,{p:ne,color:n(ne)}),X++;}}return H=H.map(function(pe){return pe.color}),H}function da(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(ps(e)){var n=e,a=t;return da.apply(void 0,_e(n.rangeArgs.colors).concat([Te({},n.rangeArgs.options,a)]))}var i=r.space,o=r.outputSpace,s=r.progression,l=r.premultiplied;e=lt(e),t=lt(t),e=la(e),t=la(t);var u={colors:[e,t],options:r};if(i?i=Be.get(i):i=Be.registry[Dr.interpolationSpace]||e.space,o=o?Be.get(o):i,e=or(e,i),t=or(t,i),e=Jr(e),t=Jr(t),i.coords.h&&i.coords.h.type==="angle"){var c=r.hue=r.hue||"shorter",f=[i,"h"],g=[ir(e,f),ir(t,f)],w=g[0],S=g[1],P=Cy(c,[w,S]),H=Ae(P,2);w=H[0],S=H[1],Kr(e,f,w),Kr(t,f,S);}return l&&(e.coords=e.coords.map(function(z){return z*e.alpha}),t.coords=t.coords.map(function(z){return z*t.alpha})),Object.assign(function(z){z=s?s(z):z;var G=e.coords.map(function(Z,ne){var se=t.coords[ne];return gi(Z,se,z)}),X=gi(e.alpha,t.alpha,z),Y={space:i,coords:G,alpha:X};return l&&(Y.coords=Y.coords.map(function(Z){return Z/X})),o!==i&&(Y=or(Y,o)),Y},{rangeArgs:u})}function ps(e){return Xr(e)==="function"&&!!e.rangeArgs}Dr.interpolationSpace="lab";function M0(e){e.defineFunction("mix",ud,{returns:"color"}),e.defineFunction("range",da,{returns:"function<color>"}),e.defineFunction("steps",cd,{returns:"array<color>"});}var O0=Object.freeze({__proto__:null,mix:ud,steps:cd,range:da,isRange:ps,register:M0}),dd=new Be({id:"hsl",name:"HSL",coords:{h:{refRange:[0,360],type:"angle",name:"Hue"},s:{range:[0,100],name:"Saturation"},l:{range:[0,100],name:"Lightness"}},base:ua,fromBase:function(t){var r=Math.max.apply(Math,_e(t)),n=Math.min.apply(Math,_e(t)),a=Ae(t,3),i=a[0],o=a[1],s=a[2],l=NaN,u=0,c=(n+r)/2,f=r-n;if(f!==0){switch(u=c===0||c===1?0:(r-c)/Math.min(c,1-c),r){case i:l=(o-s)/f+(o<s?6:0);break;case o:l=(s-i)/f+2;break;case s:l=(i-o)/f+4;}l=l*60;}return [l,u*100,c*100]},toBase:function(t){var r=Ae(t,3),n=r[0],a=r[1],i=r[2];n=n%360,n<0&&(n+=360),a/=100,i/=100;function o(s){var l=(s+n/30)%12,u=a*Math.min(i,1-i);return i-u*Math.max(-1,Math.min(l-3,9-l,1))}return [o(0),o(8),o(4)]},formats:{hsl:{toGamut:true,coords:["<number> | <angle>","<percentage>","<percentage>"]},hsla:{coords:["<number> | <angle>","<percentage>","<percentage>"],commas:true,lastAlpha:true}}}),fd=new Be({id:"hsv",name:"HSV",coords:{h:{refRange:[0,360],type:"angle",name:"Hue"},s:{range:[0,100],name:"Saturation"},v:{range:[0,100],name:"Value"}},base:dd,fromBase:function(t){var r=Ae(t,3),n=r[0],a=r[1],i=r[2];a/=100,i/=100;var o=i+a*Math.min(i,1-i);return [n,o===0?0:200*(1-i/o),100*o]},toBase:function(t){var r=Ae(t,3),n=r[0],a=r[1],i=r[2];a/=100,i/=100;var o=i*(1-a/2);return [n,o===0||o===1?0:(i-o)/Math.min(o,1-o)*100,o*100]},formats:{color:{toGamut:true}}}),P0=new Be({id:"hwb",name:"HWB",coords:{h:{refRange:[0,360],type:"angle",name:"Hue"},w:{range:[0,100],name:"Whiteness"},b:{range:[0,100],name:"Blackness"}},base:fd,fromBase:function(t){var r=Ae(t,3),n=r[0],a=r[1],i=r[2];return [n,i*(100-a)/100,100-i]},toBase:function(t){var r=Ae(t,3),n=r[0],a=r[1],i=r[2];a/=100,i/=100;var o=a+i;if(o>=1){var s=a/o;return [n,0,s*100]}var l=1-i,u=l===0?0:1-a/l;return [n,u*100,l*100]},formats:{hwb:{toGamut:true,coords:["<number> | <angle>","<percentage>","<percentage>"]}}}),N0=[[.5766690429101305,.1855582379065463,.1882286462349947],[.29734497525053605,.6273635662554661,.07529145849399788],[.02703136138641234,.07068885253582723,.9913375368376388]],q0=[[2.0415879038107465,-0.5650069742788596,-0.34473135077832956],[-0.9692436362808795,1.8759675015077202,.04155505740717557],[.013444280632031142,-0.11836239223101838,1.0151749943912054]],pd=new Wt({id:"a98rgb-linear",name:"Linear Adobe\xAE 98 RGB compatible",white:"D65",toXYZ_M:N0,fromXYZ_M:q0}),B0=new Wt({id:"a98rgb",name:"Adobe\xAE 98 RGB compatible",base:pd,toBase:function(t){return t.map(function(r){return Math.pow(Math.abs(r),563/256)*Math.sign(r)})},fromBase:function(t){return t.map(function(r){return Math.pow(Math.abs(r),256/563)*Math.sign(r)})},formats:{color:{id:"a98-rgb"}}}),H0=[[.7977604896723027,.13518583717574031,.0313493495815248],[.2880711282292934,.7118432178101014,8565396060525902e-20],[0,0,.8251046025104601]],V0=[[1.3457989731028281,-0.25558010007997534,-0.05110628506753401],[-0.5446224939028347,1.5082327413132781,.02053603239147973],[0,0,1.2119675456389454]],md=new Wt({id:"prophoto-linear",name:"Linear ProPhoto",white:"D50",base:es,toXYZ_M:H0,fromXYZ_M:V0}),j0=1/512,$0=16/512,z0=new Wt({id:"prophoto",name:"ProPhoto",base:md,toBase:function(t){return t.map(function(r){return r<$0?r/16:Math.pow(r,1.8)})},fromBase:function(t){return t.map(function(r){return r>=j0?Math.pow(r,1/1.8):16*r})},formats:{color:{id:"prophoto-rgb"}}}),G0=new Be({id:"oklch",name:"OKLCh",coords:{l:{refRange:[0,1],name:"Lightness"},c:{refRange:[0,.4],name:"Chroma"},h:{refRange:[0,360],type:"angle",name:"Hue"}},white:"D65",base:Ti,fromBase:function(t){var r=Ae(t,3),n=r[0],a=r[1],i=r[2],o,s=2e-4;return Math.abs(a)<s&&Math.abs(i)<s?o=NaN:o=Math.atan2(i,a)*180/Math.PI,[n,Math.sqrt(Math.pow(a,2)+Math.pow(i,2)),yi(o)]},toBase:function(t){var r=Ae(t,3),n=r[0],a=r[1],i=r[2],o,s;return isNaN(i)?(o=0,s=0):(o=a*Math.cos(i*Math.PI/180),s=a*Math.sin(i*Math.PI/180)),[n,o,s]},formats:{oklch:{coords:["<number> | <percentage>","<number>","<number> | <angle>"]}}}),hd=203,gd=2610/Math.pow(2,14),W0=Math.pow(2,14)/2610,U0=2523/Math.pow(2,5),vd=Math.pow(2,5)/2523,bd=3424/Math.pow(2,12),yd=2413/Math.pow(2,7),wd=2392/Math.pow(2,7),X0=new Wt({id:"rec2100pq",name:"REC.2100-PQ",base:Di,toBase:function(t){return t.map(function(r){var n=Math.pow(Math.max(Math.pow(r,vd)-bd,0)/(yd-wd*Math.pow(r,vd)),W0);return n*1e4/hd})},fromBase:function(t){return t.map(function(r){var n=Math.max(r*hd/1e4,0),a=bd+yd*Math.pow(n,gd),i=1+wd*Math.pow(n,gd);return Math.pow(a/i,U0)})},formats:{color:{id:"rec2100-pq"}}}),xd=.17883277,Dd=.28466892,Ad=.55991073,ms=3.7743,Y0=new Wt({id:"rec2100hlg",cssid:"rec2100-hlg",name:"REC.2100-HLG",referred:"scene",base:Di,toBase:function(t){return t.map(function(r){return r<=.5?Math.pow(r,2)/3*ms:Math.exp((r-Ad)/xd+Dd)/12*ms})},fromBase:function(t){return t.map(function(r){return r/=ms,r<=1/12?Math.sqrt(3*r):xd*Math.log(12*r-Dd)+Ad})},formats:{color:{id:"rec2100-hlg"}}}),_d={};Yr.add("chromatic-adaptation-start",function(e){e.options.method&&(e.M=Ed(e.W1,e.W2,e.options.method));}),Yr.add("chromatic-adaptation-end",function(e){e.M||(e.M=Ed(e.W1,e.W2,e.options.method));});function Ri(e){var t=e.id;e.toCone_M;e.fromCone_M;_d[t]=arguments[0];}function Ed(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"Bradford",n=_d[r],a=Et(n.toCone_M,e),i=Ae(a,3),o=i[0],s=i[1],l=i[2],u=Et(n.toCone_M,t),c=Ae(u,3),f=c[0],g=c[1],w=c[2],S=[[f/o,0,0],[0,g/s,0],[0,0,w/l]],P=Et(S,n.toCone_M),H=Et(n.fromCone_M,P);return H}Ri({id:"von Kries",toCone_M:[[.40024,.7076,-0.08081],[-0.2263,1.16532,.0457],[0,0,.91822]],fromCone_M:[[1.8599364,-1.1293816,.2198974],[.3611914,.6388125,-64e-7],[0,0,1.0890636]]}),Ri({id:"Bradford",toCone_M:[[.8951,.2664,-0.1614],[-0.7502,1.7135,.0367],[.0389,-0.0685,1.0296]],fromCone_M:[[.9869929,-0.1470543,.1599627],[.4323053,.5183603,.0492912],[-85287e-7,.0400428,.9684867]]}),Ri({id:"CAT02",toCone_M:[[.7328,.4296,-0.1624],[-0.7036,1.6975,.0061],[.003,.0136,.9834]],fromCone_M:[[1.0961238,-0.278869,.1827452],[.454369,.4735332,.0720978],[-96276e-7,-5698e-6,1.0153256]]}),Ri({id:"CAT16",toCone_M:[[.401288,.650173,-0.051461],[-0.250268,1.204414,.045854],[-2079e-6,.048952,.953127]],fromCone_M:[[1.862067855087233,-1.011254630531685,.1491867754444518],[.3875265432361372,.6214474419314753,-0.008973985167612518],[-0.01584149884933386,-0.03412293802851557,1.04996443687785]]}),Object.assign(gr,{A:[1.0985,1,.35585],C:[.98074,1,1.18232],D55:[.95682,1,.92149],D75:[.94972,1,1.22638],E:[1,1,1],F2:[.99186,1,.67393],F7:[.95041,1,1.08747],F11:[1.00962,1,.6435]}),gr.ACES=[.32168/.33767,1,(1-.32168-.33767)/.33767];var K0=[[.6624541811085053,.13400420645643313,.1561876870049078],[.27222871678091454,.6740817658111484,.05368951740793705],[-0.005574649490394108,.004060733528982826,1.0103391003129971]],J0=[[1.6410233796943257,-0.32480329418479,-0.23642469523761225],[-0.6636628587229829,1.6153315916573379,.016756347685530137],[.011721894328375376,-0.008284441996237409,.9883948585390215]],Cd=new Wt({id:"acescg",name:"ACEScg",coords:{r:{range:[0,65504],name:"Red"},g:{range:[0,65504],name:"Green"},b:{range:[0,65504],name:"Blue"}},referred:"scene",white:gr.ACES,toXYZ_M:K0,fromXYZ_M:J0,formats:{color:{}}}),Fi=Math.pow(2,-16),hs=-0.35828683,Ii=(Math.log2(65504)+9.72)/17.52,Z0=new Wt({id:"acescc",name:"ACEScc",coords:{r:{range:[hs,Ii],name:"Red"},g:{range:[hs,Ii],name:"Green"},b:{range:[hs,Ii],name:"Blue"}},referred:"scene",base:Cd,toBase:function(t){var r=-0.3013698630136986;return t.map(function(n){return n<=r?(Math.pow(2,n*17.52-9.72)-Fi)*2:n<Ii?Math.pow(2,n*17.52-9.72):65504})},fromBase:function(t){return t.map(function(r){return r<=0?(Math.log2(Fi)+9.72)/17.52:r<Fi?(Math.log2(Fi+r*.5)+9.72)/17.52:(Math.log2(r)+9.72)/17.52})},formats:{color:{}}}),Sd=Object.freeze({__proto__:null,XYZ_D65:ar,XYZ_D50:es,XYZ_ABS_D65:ls,Lab_D65:os,Lab:Kt,LCH:oa,sRGB_Linear:Pc,sRGB:ua,HSL:dd,HWB:P0,HSV:fd,P3_Linear:Oc,P3:Hc,A98RGB_Linear:pd,A98RGB:B0,ProPhoto_Linear:md,ProPhoto:z0,REC_2020_Linear:Di,REC_2020:Mc,OKLab:Ti,OKLCH:G0,Jzazbz:nd,JzCzHz:cs,ICTCP:ds,REC_2100_PQ:X0,REC_2100_HLG:Y0,ACEScg:Cd,ACEScc:Z0}),dt=(be=new WeakMap,(function(){function e(){var t=this;rr(this,e),Ft(this,be,void 0);for(var r,n=arguments.length,a=new Array(n),i=0;i<n;i++)a[i]=arguments[i];a.length===1&&(r=lt(a[0]));var o,s,l;r?(o=r.space||r.spaceId,s=r.coords,l=r.alpha):(o=a[0],s=a[1],l=a[2]),Lt(be,this,Be.get(o)),this.coords=s?s.slice():[0,0,0],this.alpha=l<1?l:1;for(var u=0;u<this.coords.length;u++)this.coords[u]==="NaN"&&(this.coords[u]=NaN);var c=function(w){Object.defineProperty(t,w,{get:function(){return t.get(w)},set:function(P){return t.set(w,P)}});};for(var f in $t(be,this).coords)c(f);}return zt(e,[{key:"space",get:function(){return $t(be,this)}},{key:"spaceId",get:function(){return $t(be,this).id}},{key:"clone",value:function(){return new dt(this.space,this.coords,this.alpha)}},{key:"toJSON",value:function(){return {spaceId:this.spaceId,coords:this.coords,alpha:this.alpha}}},{key:"display",value:function(){for(var r=arguments.length,n=new Array(r),a=0;a<r;a++)n[a]=arguments[a];var i=Ny.apply(void 0,[this].concat(n));return i.color=new dt(i.color),i}}],[{key:"get",value:function(r){if(r instanceof dt)return r;for(var n=arguments.length,a=new Array(n>1?n-1:0),i=1;i<n;i++)a[i-1]=arguments[i];return W(dt,[r].concat(a))}},{key:"defineFunction",value:function(r,n){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:n,i=a.instance,o=i===void 0?true:i,s=a.returns,l=function(){var c=n.apply(void 0,arguments);if(s==="color")c=dt.get(c);else if(s==="function<color>"){var f=c;c=function(){var w=f.apply(void 0,arguments);return dt.get(w)},Object.assign(c,f);}else s==="array<color>"&&(c=c.map(function(g){return dt.get(g)}));return c};r in dt||(dt[r]=l),o&&(dt.prototype[r]=function(){for(var u=arguments.length,c=new Array(u),f=0;f<u;f++)c[f]=arguments[f];return l.apply(void 0,[this].concat(c))});}},{key:"defineFunctions",value:function(r){for(var n in r)dt.defineFunction(n,r[n],r[n]);}},{key:"extend",value:function(r){if(r.register)r.register(dt);else for(var n in r)dt.defineFunction(n,r[n]);}}])})());dt.defineFunctions({get:ir,getAll:ia,set:Kr,setAll:Tc,to:or,equals:qy,inGamut:sa,toGamut:Jr,distance:jc,toString:xi}),Object.assign(dt,{util:xy,hooks:Yr,WHITES:gr,Space:Be,spaces:Be.registry,parse:kc,defaults:Dr});for(var gs=0,kd=Object.keys(Sd);gs<kd.length;gs++){var Q0=kd[gs];Be.register(Sd[Q0]);}for(var Td in Be.registry)vs(Td,Be.registry[Td]);Yr.add("colorspace-init-end",function(e){var t;vs(e.id,e),(t=e.aliases)===null||t===void 0||t.forEach(function(r){vs(r,e);});});function vs(e,t){Object.keys(t.coords),Object.values(t.coords).map(function(n){return n.name});var r=e.replace(/-/g,"_");Object.defineProperty(dt.prototype,r,{get:function(){var a=this,i=this.getAll(e);return typeof Proxy>"u"?i:new Proxy(i,{has:function(s,l){try{return Be.resolveCoord([t,l]),!0}catch{}return Reflect.has(s,l)},get:function(s,l,u){if(l&&fe(l)!=="symbol"&&!(l in s)){var c=Be.resolveCoord([t,l]),f=c.index;if(f>=0)return s[f]}return Reflect.get(s,l,u)},set:function(s,l,u,c){if(l&&fe(l)!=="symbol"&&!(l in s)||l>=0){var f=Be.resolveCoord([t,l]),g=f.index;if(g>=0)return s[g]=u,a.setAll(e,s),true}return Reflect.set(s,l,u,c)}})},set:function(a){this.setAll(e,a);},configurable:true,enumerable:true});}dt.extend(fs),dt.extend({deltaE:ca}),dt.extend(L0),dt.extend({contrast:a0}),dt.extend(o0),dt.extend(Hy),dt.extend(O0),dt.extend(Ei);var Rd=wr(ec());Ur.default.templateSettings.strip=false,m._memoizedFns=[];function ew(e){var t=(0, Dc.default)(e);return m._memoizedFns.push(t),t}var mt=ew,tw=mt(function(e){return e!=null&&e.createElement?e.createElement("A").localName==="A":false}),fa=tw;function bs(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!t)return "";var n=t.getRootNode&&t.getRootNode()||v;if(n.nodeType!==11)return e(t,r,n);for(var a=[];n.nodeType===11;){if(!n.host)return "";a.unshift({elm:t,doc:n}),t=n.host,n=t.getRootNode();}return a.unshift({elm:t,doc:n}),a.map(function(i){return e(i.elm,r,i.doc)})}var rw=["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","xmlns"],nw=31,aw=/([\\"])/g,iw=/(\r\n|\r|\n)/g;function ys(e){return e.replace(aw,"\\$1").replace(iw,"\\a ")}function Fd(e,t){var r=t.name,n;if(r.indexOf("href")!==-1||r.indexOf("src")!==-1){var a=yc(e.getAttribute(r));a?n=Dt(t.name)+'$="'+ys(a)+'"':n=Dt(t.name)+'="'+ys(e.getAttribute(r))+'"';}else n=Dt(r)+'="'+ys(t.value)+'"';return n}function ws(e,t){return e.count<t.count?-1:e.count===t.count?0:1}function Id(e){return !rw.includes(e.name)&&e.name.indexOf(":")===-1&&(!e.value||e.value.length<nw)}function Li(e){var t={classes:{},tags:{},attributes:{}};e=Array.isArray(e)?e:[e];for(var r=e.slice(),n=[],a=function(){var o=r.pop(),s=o.actualNode;if(s.querySelectorAll){var l=s.nodeName;t.tags[l]?t.tags[l]++:t.tags[l]=1,s.classList&&Array.from(s.classList).forEach(function(u){var c=Dt(u);t.classes[c]?t.classes[c]++:t.classes[c]=1;}),s.hasAttributes()&&Array.from(na(s)).filter(Id).forEach(function(u){var c=Fd(s,u);c&&(t.attributes[c]?t.attributes[c]++:t.attributes[c]=1);});}for(o.children.length&&(n.push(r),r=o.children.slice());!r.length&&n.length;)r=n.pop();};r.length;)a();return t}function ow(e,t){var r=[],n=t.classes,a=t.tags;return e.classList&&Array.from(e.classList).forEach(function(i){var o=Dt(i);n[o]<a[e.nodeName]&&r.push({name:o,count:n[o],species:"class"});}),r.sort(ws)}function sw(e,t){var r=e.parentNode&&Array.from(e.parentNode.children||"")||[],n=r.find(function(i){return i!==e&&Cn(i,t)});if(n){var a=1+r.indexOf(e);return ":nth-child("+a+")"}else return ""}function lw(e){if(e.getAttribute("id")){var t=e.getRootNode&&e.getRootNode()||v,r="#"+Dt(e.getAttribute("id")||"");if(!r.match(/player_uid_/)&&t.querySelectorAll(r).length===1)return r}}function Ld(e){var t=fa(v);return Dt(t?e.localName:e.nodeName.toLowerCase())}function uw(e,t){var r=[],n=t.attributes,a=t.tags;return e.hasAttributes()&&Array.from(na(e)).filter(Id).forEach(function(i){var o=Fd(e,i);o&&n[o]<a[e.nodeName]&&r.push({name:o,count:n[o],species:"attribute"});}),r.sort(ws)}function cw(e,t){var r="",n,a=ow(e,t),i=uw(e,t);return a.length&&a[0].count===1?n=[a[0]]:i.length&&i[0].count===1?(n=[i[0]],r=Ld(e)):(n=a.concat(i),n.sort(ws),n=n.slice(0,3),n.some(function(o){return o.species==="class"})?n.sort(function(o,s){return o.species!==s.species&&o.species==="class"?-1:o.species===s.species?0:1}):r=Ld(e)),r+=n.reduce(function(o,s){switch(s.species){case "class":return o+"."+s.name;case "attribute":return o+"["+s.name+"]"}return o},"")}function dw(e,t,r){if(!m._selectorData)throw new Error("Expect axe._selectorData to be set up");var n=t.toRoot,a=n===void 0?false:n,i,o;do{var s=lw(e);s||(s=cw(e,m._selectorData),s+=sw(e,s)),i?i=s+" > "+i:i=s,!o||o.length>Xe.selectorSimilarFilterLimit?o=pw(r,i):o=o.filter(function(l){return Cn(l,i)}),e=e.parentElement;}while((o.length>1||a)&&e&&e.nodeType!==11);return o.length===1?i:i.indexOf(" > ")!==-1?":root"+i.substring(i.indexOf(" > ")):":root"}function fw(e,t){return bs(dw,e,t)}var xs=mt(fw),pw=mt(function(e,t){return Array.from(e.querySelectorAll(t))});function Md(e){var t=e.nodeName.toLowerCase(),r=e.parentElement,n=e.parentNode,a="";if(t!=="head"&&t!=="body"&&n?.children.length>1){var i=Array.prototype.indexOf.call(n.children,e)+1;a=":nth-child(".concat(i,")");}return r?Md(r)+" > "+t+a:t+a}function Mi(e,t){return bs(Md,e,t)}function Od(e,t){var r,n;if(!e)return [];if(!t&&e.nodeType===9)return t=[{str:"html"}],t;if(t=t||[],e.parentNode&&e.parentNode!==e&&(t=Od(e.parentNode,t)),e.previousSibling){n=1,r=e.previousSibling;do r.nodeType===1&&r.nodeName===e.nodeName&&n++,r=r.previousSibling;while(r);n===1&&(n=null);}else if(e.nextSibling){r=e.nextSibling;do r.nodeType===1&&r.nodeName===e.nodeName?(n=1,r=null):(n=null,r=r.previousSibling);while(r)}if(e.nodeType===1){var a={};a.str=e.nodeName.toLowerCase();var i=e.getAttribute&&Dt(e.getAttribute("id"));i&&e.ownerDocument.querySelectorAll("#"+i).length===1&&(a.id=e.getAttribute("id")),n>1&&(a.count=n),t.push(a);}return t}function mw(e){return e.reduce(function(t,r){return r.id?"//".concat(r.str,"[@id='").concat(r.id,"']"):t+"/".concat(r.str)+(r.count>0?"[".concat(r.count,"]"):"")},"")}function hw(e){var t=Od(e);return mw(t)}var Pd=hw,pa={},gw={set:function(t,r){vw(t),pa[t]=r;},get:function(t,r){if(bw(r),t in pa)return pa[t];if(typeof r=="function"){var n=r();return nt(n!==void 0,"Cache creator function should not return undefined"),this.set(t,n),pa[t]}},clear:function(){pa={};}};function vw(e){nt(typeof e=="string","key must be a string, "+fe(e)+" given"),nt(e!=="","key must not be empty");}function bw(e){nt(typeof e=="function"||typeof e>"u","creator must be a function or undefined, "+fe(e)+" given");}var Ue=gw;function yw(e,t){var r=t||e;return Ue.get("nodeMap")?Ue.get("nodeMap").get(r):null}var Ke=yw;function Nd(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.maxLength,n=r===void 0?300:r,a=t.attrLimit,i=a===void 0?20:a;if(!e)return "";if(e.nodeType!==1){var o,s=(o=e.nodeValue)!==null&&o!==void 0?o:"";return Ds(s,n)}var l=ww(e);return l.length>n?xw(e,{maxLength:n,attrLimit:i}):l}function ww(e){var t=e.outerHTML;return !t&&typeof d.XMLSerializer=="function"&&(t=new d.XMLSerializer().serializeToString(e)),t||""}function xw(e,t){var r=t.maxLength,n=t.attrLimit,a=fa(e.ownerDocument||v)?e.nodeName:e.nodeName.toLowerCase(),i=Array.from(na(e)).map(function(S){var P=S.name,H=S.value;return {name:P,value:H}}),o=i.reduce(function(S,P){var H=P.name,z=P.value;return S+H.length+z.length+4},0);2+a.length+o>r&&i.forEach(function(S){S.name=Ds(S.name,n),S.value=Ds(S.value,n);});var s="<".concat(a),l=">",u=" ...>",c=it(i),f;try{for(c.s();!(f=c.n()).done;){var g=f.value,w=" ".concat(g.name,'="').concat(g.value,'"');if(s.length+w.length>r-u.length){l=u;continue}s+=w;}}catch(S){c.e(S);}finally{c.f();}return s+l}function Ds(e,t){return e.length<=t?e:e.substring(0,t)+"..."}var qd="DqElm.RunOptions",hn=mt(function(t,r,n){var a,i;if(r??(r=null),n??(n={}),!r){var o;r=(o=Ue.get(qd))!==null&&o!==void 0?o:{};}if(this.spec=n,t instanceof Mt?(this._virtualNode=t,this._element=t.actualNode):(this._element=t,this._virtualNode=Ke(t)),this.fromFrame=((a=this.spec.selector)===null||a===void 0?void 0:a.length)>1,this._includeElementInJson=r.elementRef,r.absolutePaths&&(this._options={toRoot:true}),this.nodeIndexes=[],Array.isArray(this.spec.nodeIndexes)?this.nodeIndexes=this.spec.nodeIndexes:typeof((i=this._virtualNode)===null||i===void 0?void 0:i.nodeIndex)=="number"&&(this.nodeIndexes=[this._virtualNode.nodeIndex]),this.source=null,!m._audit.noHtml){var s;this.source=(s=this.spec.source)!==null&&s!==void 0?s:Nd(this._element);}return this});hn.prototype={get selector(){return this.spec.selector||[xs(this.element,this._options)]},get ancestry(){return this.spec.ancestry||[Mi(this.element)]},get xpath(){return this.spec.xpath||[Pd(this.element)]},get element(){return this._element},toJSON:function(){var t={selector:this.selector,source:this.source,xpath:this.xpath,ancestry:this.ancestry,nodeIndexes:this.nodeIndexes,fromFrame:this.fromFrame};return this._includeElementInJson&&(t.element=this._element),t}},hn.fromFrame=function(t,r,n){var a=hn.mergeSpecs(t,n);return new hn(n.element,r,a)},hn.mergeSpecs=function(t,r){return Te({},t,{selector:[].concat(_e(r.selector),_e(t.selector)),ancestry:[].concat(_e(r.ancestry),_e(t.ancestry)),xpath:[].concat(_e(r.xpath),_e(t.xpath)),nodeIndexes:[].concat(_e(r.nodeIndexes),_e(t.nodeIndexes)),fromFrame:true})},hn.setRunOptions=function(t){var r=t.elementRef,n=t.absolutePaths;Ue.set(qd,{elementRef:r,absolutePaths:n});};var sr=hn;function Dw(e,t,r,n){return {isAsync:false,async:function(){return this.isAsync=true,function(i){i instanceof Error?n(i):(e.result=i,r(e));}},data:function(i){e.data=i;},relatedNodes:function(i){d.Node&&(i instanceof d.Node||i instanceof Mt?i=[i]:i=bc(i),e.relatedNodes=[],i.forEach(function(o){if(o instanceof Mt&&(o=o.actualNode),o instanceof d.Node){var s=new sr(o);e.relatedNodes.push(s);}}));}}}var As=Dw;function Nr(e){return _s(e,new Map)}function _s(e,t){var r,n;if(e===null||fe(e)!=="object"||(r=d)!==null&&r!==void 0&&r.Node&&e instanceof d.Node||(n=d)!==null&&n!==void 0&&n.HTMLCollection&&e instanceof d.HTMLCollection||"nodeName"in e&&"nodeType"in e&&"ownerDocument"in e)return e;if(t.has(e))return t.get(e);if(Array.isArray(e)){var a=[];return t.set(e,a),e.forEach(function(s){a.push(_s(s,t));}),a}var i={};t.set(e,i);for(var o in e)i[o]=_s(e[o],t);return i}var ma=new xc.CssSelectorParser;ma.registerSelectorPseudos("not"),ma.registerSelectorPseudos("is"),ma.registerNestingOperators(">"),ma.registerAttrEqualityMods("^","$","*","~");var Bd=ma;function Es(e,t){var r=Oi(t);return r.some(function(n){return Tn(e,n)})}function Aw(e,t){return e.props.nodeType===1&&(t.tag==="*"||e.props.nodeName===t.tag)}function _w(e,t){return !t.classes||t.classes.every(function(r){return e.hasClass(r.value)})}function Ew(e,t){return !t.attributes||t.attributes.every(function(r){var n=e.attr(r.key);return n!==null&&r.test(n)})}function Cw(e,t){return !t.id||e.props.id===t.id}function Sw(e,t){return !!(!t.pseudos||t.pseudos.every(function(r){if(r.name==="not")return !r.expressions.some(function(n){return Tn(e,n)});if(r.name==="is")return r.expressions.some(function(n){return Tn(e,n)});throw new Error("the pseudo selector "+r.name+" has not yet been implemented")}))}function Hd(e,t){return Aw(e,t)&&_w(e,t)&&Ew(e,t)&&Cw(e,t)&&Sw(e,t)}var ha=(function(){var e=/(?=[\-\[\]{}()*+?.\\\^$|,#\s])/g,t="\\";return function(r){return r.replace(e,t)}})(),Cs=/\\/g;function kw(e){if(e)return e.map(function(t){var r=t.name.replace(Cs,""),n=(t.value||"").replace(Cs,""),a,i;switch(t.operator){case "^=":i=new RegExp("^"+ha(n));break;case "$=":i=new RegExp(ha(n)+"$");break;case "~=":i=new RegExp("(^|\\s)"+ha(n)+"(\\s|$)");break;case "|=":i=new RegExp("^"+ha(n)+"(-|$)");break;case "=":a=function(s){return n===s};break;case "*=":a=function(s){return s&&s.includes(n)};break;case "!=":a=function(s){return n!==s};break;default:a=function(s){return s!==null};}return n===""&&/^[*$^]=$/.test(t.operator)&&(a=function(){return false}),a||(a=function(s){return s&&i.test(s)}),{key:r,value:n,type:typeof t.value>"u"?"attrExist":"attrValue",test:a}})}function Tw(e){if(e)return e.map(function(t){return t=t.replace(Cs,""),{value:t,regexp:new RegExp("(^|\\s)"+ha(t)+"(\\s|$)")}})}function Rw(e){if(e)return e.map(function(t){var r;return ["is","not"].includes(t.name)&&(r=t.value,r=r.selectors?r.selectors:[r],r=Vd(r)),{name:t.name,expressions:r,value:t.value}})}function Vd(e){return e.map(function(t){for(var r=[],n=t.rule;n;)r.push({tag:n.tagName?n.tagName.toLowerCase():"*",combinator:n.nestingOperator?n.nestingOperator:" ",id:n.id,attributes:kw(n.attrs),classes:Tw(n.classNames),pseudos:Rw(n.pseudos)}),n=n.rule;return r})}function Oi(e){var t=Bd.parse(e);return t=t.selectors?t.selectors:[t],Vd(t)}function jd(e,t,r,n){if(!e)return false;for(var a=Array.isArray(t),i=a?t[r]:t,o=Hd(e,i);!o&&n&&e.parent;)e=e.parent,o=Hd(e,i);if(r>0){if([" ",">"].includes(i.combinator)===false)throw new Error("axe.utils.matchesExpression does not support the combinator: "+i.combinator);o=o&&jd(e.parent,t,r-1,i.combinator===" ");}return o}function Tn(e,t,r){return jd(e,t,t.length-1,r)}function Fw(e,t){for(;e;){if(Es(e,t))return e;if(typeof e.parent>"u")throw new TypeError("Cannot resolve parent for non-DOM nodes");e=e.parent;}return null}var Jt=Fw;function Pi(){}function Ss(e){if(typeof e!="function")throw new TypeError("Queue methods require functions as arguments")}function Iw(){var e=[],t=0,r=0,n=Pi,a=false,i,o=function(w){i=w,setTimeout(function(){i!=null&&mn("Uncaught error (of queue)",i);},1);},s=o;function l(g){return function(w){e[g]=w,r-=1,!r&&n!==Pi&&(a=true,n(e));}}function u(g){return n=Pi,s(g),e}function c(){for(var g=e.length;t<g;t++){var w=e[t];try{w.call(null,l(t),u);}catch(S){u(S);}}}var f={defer:function(w){if(fe(w)==="object"&&w.then&&w.catch){var S=w;w=function(H,z){S.then(H).catch(z);};}if(Ss(w),i===void 0){if(a)throw new Error("Queue already completed");return e.push(w),++r,c(),f}},then:function(w){if(Ss(w),n!==Pi)throw new Error("queue `then` already set");return i||(n=w,r||(a=true,n(e))),f},catch:function(w){if(Ss(w),s!==o)throw new Error("queue `catch` already set");return i?(w(i),i=null):s=w,f},abort:u};return f}var Ar=Iw,Rn,Fn,ks=d.crypto||d.msCrypto;if(!Fn&&ks&&ks.getRandomValues){var $d=new Uint8Array(16);Fn=function(){return ks.getRandomValues($d),$d};}if(!Fn){var zd=new Array(16);Fn=function(){for(var t=0,r;t<16;t++)(t&3)===0&&(r=Math.random()*4294967296),zd[t]=r>>>((t&3)<<3)&255;return zd};}for(var Gd=typeof d.Buffer=="function"?d.Buffer:Array,Ts=[],Wd={},In=0;In<256;In++)Ts[In]=(In+256).toString(16).substr(1),Wd[Ts[In]]=In;function Lw(e,t,r){var n=t&&r||0,a=0;for(t=t||[],e.toLowerCase().replace(/[0-9a-f]{2}/g,function(i){a<16&&(t[n+a++]=Wd[i]);});a<16;)t[n+a++]=0;return t}function Rs(e,t){var r=t||0,n=Ts;return n[e[r++]]+n[e[r++]]+n[e[r++]]+n[e[r++]]+"-"+n[e[r++]]+n[e[r++]]+"-"+n[e[r++]]+n[e[r++]]+"-"+n[e[r++]]+n[e[r++]]+"-"+n[e[r++]]+n[e[r++]]+n[e[r++]]+n[e[r++]]+n[e[r++]]+n[e[r++]]}var Qr=Fn(),Mw=[Qr[0]|1,Qr[1],Qr[2],Qr[3],Qr[4],Qr[5]],Ud=(Qr[6]<<8|Qr[7])&16383,Fs=0,Is=0;function Xd(e,t,r){var n=t&&r||0,a=t||[];e=e||{};var i=e.clockseq!=null?e.clockseq:Ud,o=e.msecs!=null?e.msecs:new Date().getTime(),s=e.nsecs!=null?e.nsecs:Is+1,l=o-Fs+(s-Is)/1e4;if(l<0&&e.clockseq==null&&(i=i+1&16383),(l<0||o>Fs)&&e.nsecs==null&&(s=0),s>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");Fs=o,Is=s,Ud=i,o+=122192928e5;var u=((o&268435455)*1e4+s)%4294967296;a[n++]=u>>>24&255,a[n++]=u>>>16&255,a[n++]=u>>>8&255,a[n++]=u&255;var c=o/4294967296*1e4&268435455;a[n++]=c>>>8&255,a[n++]=c&255,a[n++]=c>>>24&15|16,a[n++]=c>>>16&255,a[n++]=i>>>8|128,a[n++]=i&255;for(var f=e.node||Mw,g=0;g<6;g++)a[n+g]=f[g];return t||Rs(a)}function gn(e,t,r){var n=t&&r||0;typeof e=="string"&&(t=e=="binary"?new Gd(16):null,e=null),e=e||{};var a=e.random||(e.rng||Fn)();if(a[6]=a[6]&15|64,a[8]=a[8]&63|128,t)for(var i=0;i<16;i++)t[n+i]=a[i];return t||Rs(a)}Rn=gn,Rn.v1=Xd,Rn.v4=gn,Rn.parse=Lw,Rn.unparse=Rs,Rn.BufferClass=Gd,m._uuid=Xd();var Ow=gn,Pw=Object.freeze(["EvalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"]);function Nw(e){var t=e.topic,r=e.channelId,n=e.message,a=e.messageId,i=e.keepalive,o={channelId:r,topic:t,messageId:a,keepalive:!!i,source:Yd()};return n instanceof Error?o.error={name:n.name,message:n.message,stack:n.stack}:o.payload=n,JSON.stringify(o)}function qw(e){var t;try{t=JSON.parse(e);}catch{return}if(Bw(t)){var r=t,n=r.topic,a=r.channelId,i=r.messageId,o=r.keepalive,s=fe(t.error)==="object"?Hw(t.error):t.payload;return {topic:n,message:s,messageId:i,channelId:a,keepalive:!!o}}}function Bw(e){return e!==null&&fe(e)==="object"&&typeof e.channelId=="string"&&e.source===Yd()}function Hw(e){var t=e.message||"Unknown error occurred",r=Pw.includes(e.name)?e.name:"Error",n=d[r]||Error;return e.stack&&(t+=`
|
|
372
|
-
`+e.stack.replace(e.message,"")),new n(t)}function Yd(){var e="axeAPI",t="";return typeof m<"u"&&m._audit&&m._audit.application&&(e=m._audit.application),typeof m<"u"&&(t=m.version),e+"."+t}function Ls(e){Jd(e),nt(d.parent===e,"Source of the response must be the parent window.");}function Kd(e){Jd(e),nt(e.parent===d,"Respondable target must be a frame in the current window");}function Jd(e){nt(d!==e,"Messages can not be sent to the same window.");}var ga={};function Vw(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:true;nt(!Object.prototype.hasOwnProperty.call(ga,e),"A replyHandler already exists for this message channel."),ga[e]={replyHandler:t,sendToParent:r};}function jw(e){return Object.prototype.hasOwnProperty.call(ga,e)?ga[e]:void 0}function $w(e){delete ga[e];}var Ni=[];function Ms(){var e="".concat(gn(),":").concat(gn());return Ni.includes(e)?Ms():(Ni.push(e),e)}function zw(e){return Ni.includes(e)?false:(Ni.push(e),true)}function Os(e,t,r,n){if(r?Ls(e):Kd(e),t.message instanceof Error&&!r)return m.log(t.message),false;var a=Nw(Te({messageId:Ms()},t)),i=m._audit.allowedOrigins;return !i||!i.length?false:(typeof n=="function"&&Vw(t.channelId,n,r),i.forEach(function(o){try{e.postMessage(a,o);}catch(s){throw s instanceof e.DOMException?new Error('allowedOrigins value "'.concat(o,'" is not a valid origin')):s}}),true)}function Gw(e,t,r){if(!e.parent!==d)return m.log(t);try{Os(e,{topic:null,channelId:r,message:t,messageId:Ms(),keepalive:!0},!0);}catch(n){return m.log(n)}}function Zd(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:true;return function(a,i,o){var s={channelId:t,message:a,keepalive:i};Os(e,s,r,o);}}function Ww(e){var t=m._audit.allowedOrigins;return t&&t.includes("*")||t.includes(e)}function Uw(e,t){var r=e.origin,n=e.data,a=e.source;try{var i=qw(n)||{},o=i.channelId,s=i.message,l=i.messageId;if(!Ww(r)||!zw(l))return;if(s instanceof Error&&a.parent!==d)return m.log(s),!1;try{if(i.topic){var u=Zd(a,o);Ls(a),t(i,u);}else Xw(a,i);}catch(c){Gw(a,c,o);}}catch(c){return m.log(c),false}}function Xw(e,t){var r=t.channelId,n=t.message,a=t.keepalive,i=jw(r)||{},o=i.replyHandler,s=i.sendToParent;if(o){s?Ls(e):Kd(e);var l=Zd(e,r,s);!a&&r&&$w(r);try{o(n,a,l);}catch(u){m.log(u),l(u,a);}}}var Yw={open:function(t){if(typeof d.addEventListener=="function"){var r=function(a){Uw(a,t);};return d.addEventListener("message",r,false),function(){d.removeEventListener("message",r,false);}}},post:function(t,r,n){return typeof d.addEventListener!="function"?false:Os(t,r,false,n)}};function Qd(e){e.updateMessenger(Yw);}var qi,ef,Bi={};function br(e,t,r,n,a){var i={topic:t,message:r,channelId:"".concat(gn(),":").concat(gn()),keepalive:n};return ef(e,i,a)}function Kw(e,t){var r=e.topic,n=e.message,a=e.keepalive,i=Object.prototype.hasOwnProperty.call(Bi,r)?Bi[r]:void 0;if(i)try{i(n,a,t);}catch(o){m.log(o),t(o,a);}}br.updateMessenger=function(t){var r=t.open,n=t.post;nt(typeof r=="function","open callback must be a function"),nt(typeof n=="function","post callback must be a function"),qi&&qi();var a=r(Kw);a?(nt(typeof a=="function","open callback must return a cleanup function"),qi=a):qi=null,ef=n;},br.subscribe=function(t,r){nt(typeof r=="function","Subscriber callback must be a function"),nt(!Object.prototype.hasOwnProperty.call(Bi,t),"Topic ".concat(t," is already registered to.")),Bi[t]=r;},br.isInFrame=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:d;return !!t.frameElement},Qd(br);function tf(e,t,r,n){var a,i,o=e.contentWindow,s=(a=(i=t.options)===null||i===void 0?void 0:i.pingWaitTime)!==null&&a!==void 0?a:500;if(!o){mn("Frame does not have a content window",e),r(null);return}if(s===0){rf(e,t,r,n);return}var l=setTimeout(function(){l=setTimeout(function(){t.debug?n(nf("No response from frame",e)):r(null);},0);},s);br(o,"axe.ping",null,void 0,function(){clearTimeout(l),rf(e,t,r,n);});}function rf(e,t,r,n){var a,i,o=(a=(i=t.options)===null||i===void 0?void 0:i.frameWaitTime)!==null&&a!==void 0?a:6e4,s=e.contentWindow,l=setTimeout(function(){n(nf("Axe in frame timed out",e));},o);br(s,"axe.start",t,void 0,function(u){clearTimeout(l),u instanceof Error?n(u):r(u);});}function nf(e,t){var r;return m._tree&&(r=xs(t)),new Error(e+": "+(r||t))}var va=null,ba={update:function(t){nt(fe(t)==="object","serializer must be an object"),va=t;},toSpec:function(t){return ba.dqElmToSpec(new sr(t))},dqElmToSpec:function(t,r){var n;return t instanceof sr?(r&&(t=Jw(t,r)),typeof((n=va)===null||n===void 0?void 0:n.toSpec)=="function"?va.toSpec(t):t.toJSON()):t},mergeSpecs:function(t,r){var n;return typeof((n=va)===null||n===void 0?void 0:n.mergeSpecs)=="function"?va.mergeSpecs(t,r):sr.mergeSpecs(t,r)},mapRawResults:function(t){return t.map(function(r){return Te({},r,{nodes:ba.mapRawNodeResults(r.nodes)})})},mapRawNodeResults:function(t){return t?.map(function(r){var n=r.node,a=J(r,y);a.node=ba.dqElmToSpec(n);for(var i=0,o=["any","all","none"];i<o.length;i++){var s=o[i];a[s]=a[s].map(function(l){var u=l.relatedNodes,c=J(l,A);return c.relatedNodes=u.map(ba.dqElmToSpec),c});}return a})}},lr=ba;function Jw(e,t){var r=e.fromFrame,n=t.ancestry,a=t.xpath,i=t.selectors!==false||r;return e=new sr(e.element,t,{source:e.source,nodeIndexes:e.nodeIndexes,selector:i?e.selector:[":root"],ancestry:n?e.ancestry:[":root"],xpath:a?e.xpath:"/"}),e.fromFrame=r,e}function Zw(e){var t=[];return t.concat(e.any||[]).concat(e.all||[]).concat(e.none||[])}var Hi=Zw;function Qw(e,t,r){if(Array.isArray(e))return e.find(function(n){return n!==null&&fe(n)==="object"&&Object.hasOwn(n,t)&&n[t]===r})}var ya=Qw;function ex(e,t,r){e.forEach(function(n){n.node=lr.mergeSpecs(n.node,r);var a=Hi(n);a.forEach(function(i){i.relatedNodes=i.relatedNodes.map(function(o){return lr.mergeSpecs(o,r)});});});}function tx(e,t){for(var r=t[0].node,n,a=0;a<e.length;a++){n=e[a].node;var i=af(n.nodeIndexes,r.nodeIndexes);if(i>0||i===0&&r.selector.length<n.selector.length){e.splice.apply(e,[a,0].concat(_e(t)));return}}e.push.apply(e,_e(t));}function rx(e){return !e||!e.results?null:Array.isArray(e.results)?e.results.length?e.results:null:[e.results]}function nx(e,t){var r=[];return e.forEach(function(n){var a=rx(n);if(!(!a||!a.length)){var i=ax(n);a.forEach(function(o){o.nodes&&i&&ex(o.nodes,t,i);var s=ya(r,"id",o.id);if(!s)r.push(o);else if(o.nodes.length&&tx(s.nodes,o.nodes),o.error){var l;(l=s.error)!==null&&l!==void 0||(s.error=o.error);}});}}),r.forEach(function(n){n.nodes&&n.nodes.sort(function(a,i){return af(a.node.nodeIndexes,i.node.nodeIndexes)});}),r}function af(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],r=Math.max(e?.length,t?.length),n=0;n<r;n++){var a=e?.[n],i=t?.[n];if(typeof a!="number"||isNaN(a))return n===0?1:-1;if(typeof i!="number"||isNaN(i))return n===0?-1:1;if(a!==i)return a-i}return 0}var Vi=nx;function ax(e){return e.frameElement?lr.toSpec(e.frameElement):e.frameSpec?e.frameSpec:null}function of(e,t,r,n,a,i){t=Te({},t,{elementRef:false});var o=Ar(),s=e.frames;s.forEach(function(l){var u=l.node,c=J(l,F);o.defer(function(f,g){var w={options:t,command:r,parameter:n,context:c};function S(P){return f(P?{results:P,frameElement:u}:null)}tf(u,w,S,g);});}),o.then(function(l){a(Vi(l,t));}).catch(i);}function qr(e,t){if(!e.shadowId&&!t.shadowId&&e.actualNode&&typeof e.actualNode.contains=="function")return e.actualNode.contains(t.actualNode);do{if(e===t)return true;if(t.nodeIndex<e.nodeIndex)return false;t=t.parent;}while(t);return false}function sf(){for(var e={},t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return r.forEach(function(a){if(!(!a||fe(a)!=="object"||Array.isArray(a)))for(var i=0,o=Object.keys(a);i<o.length;i++){var s=o[i];!e.hasOwnProperty(s)||fe(a[s])!=="object"||Array.isArray(e[s])?e[s]=a[s]:e[s]=sf(e[s],a[s]);}}),e}var Ps=sf;function ix(e,t){Object.assign(e,t),Object.keys(t).filter(function(r){return typeof t[r]=="function"}).forEach(function(r){e[r]=null;try{e[r]=t[r](e);}catch{}});}var Ns=ix,ox=["article","aside","blockquote","body","div","footer","h1","h2","h3","h4","h5","h6","header","main","nav","p","section","span"];function sx(e){if(e.shadowRoot){var t=e.nodeName.toLowerCase();if(ox.includes(t)||/^[a-z][a-z0-9_.-]*-[a-z0-9_.-]*$/.test(t))return true}return false}var ji=sx,qs={};fr(qs,{createGrid:function(){return Aa},findElmsInContext:function(){return lf},findNearbyElms:function(){return Ki},findUp:function(){return Mn},findUpVirtual:function(){return Ln},focusDisabled:function(){return Xs},getComposedParent:function(){return Ot},getElementByReference:function(){return Ks},getElementCoordinates:function(){return Vs},getElementStack:function(){return $f},getModalDialog:function(){return qf},getNodeGrid:function(){return Yi},getOverflowHiddenAncestors:function(){return xa},getRootNode:function(){return qt},getScrollOffset:function(){return Af},getTabbableElements:function(){return zf},getTargetRects:function(){return Zi},getTargetSize:function(){return Gf},getTextElementStack:function(){return ml},getViewportSize:function(){return $i},getVisibleChildTextRects:function(){return pl},hasContent:function(){return io},hasContentVirtual:function(){return Fa},hasLangText:function(){return gl},idrefs:function(){return _r},insertedIntoFocusOrder:function(){return Mp},isCurrentPageLink:function(){return Ys},isFixedPosition:function(){return zi},isFocusable:function(){return Ct},isHTML5:function(){return Np},isHiddenForEveryone:function(){return en},isHiddenWithCSS:function(){return MA},isInTabOrder:function(){return ur},isInTextBlock:function(){return vl},isInert:function(){return Ji},isModalOpen:function(){return Ia},isMultiline:function(){return Bp},isNativelyFocusable:function(){return Qs},isNode:function(){return zA},isOffscreen:function(){return Gi},isOpaque:function(){return e2},isSkipLink:function(){return wl},isVisible:function(){return o2},isVisibleOnScreen:function(){return Zt},isVisibleToScreenReaders:function(){return bt},isVisualContent:function(){return hl},reduceToElementsBelowFloating:function(){return Hp},shadowElementsFromPoint:function(){return u2},urlPropsFromAttribute:function(){return h2},visuallyContains:function(){return Vp},visuallyOverlaps:function(){return xl},visuallySort:function(){return Js}});function lx(e){var t=e.getRootNode&&e.getRootNode()||v;return t===e&&(t=v),t}var wa=lx,qt=wa;function ux(e){var t=e.context,r=e.value,n=e.attr,a=e.elm,i=a===void 0?"":a,o,s=Dt(r);return t.nodeType===9||t.nodeType===11?o=t:o=qt(t),Array.from(o.querySelectorAll(i+"["+n+"="+s+"]"))}var lf=ux;function cx(e,t){var r;if(r=e.actualNode,!e.shadowId&&typeof e.actualNode.closest=="function"){var n=e.actualNode.closest(t);return n||null}do r=r.assignedSlot?r.assignedSlot:r.parentNode,r&&r.nodeType===11&&(r=r.host);while(r&&!Cn(r,t)&&r!==v.documentElement);return !r||!Cn(r,t)?null:r}var Ln=cx;function dx(e,t){return Ln(Ke(e),t)}var Mn=dx;function Bs(e,t){return (e.left|0)<(t.right|0)&&(e.right|0)>(t.left|0)&&(e.top|0)<(t.bottom|0)&&(e.bottom|0)>(t.top|0)}var uf=mt(function(t){var r=[];if(!t)return r;var n=t.getComputedStylePropertyValue("overflow");return n==="hidden"&&r.push(t),r.concat(uf(t.parent))}),xa=uf,fx=/rect\s*\(([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px\s*\)/,px=/(\w+)\((\d+)/;function cf(e){return ["style","script","noscript","template"].includes(e.props.nodeName)}function df(e){return e.props.nodeName==="area"?false:e.getComputedStylePropertyValue("display")==="none"}function ff(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.isAncestor;return !r&&["hidden","collapse"].includes(e.getComputedStylePropertyValue("visibility"))}function pf(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.isAncestor;return !!r&&e.getComputedStylePropertyValue("content-visibility")==="hidden"}function mf(e){return e.attr("aria-hidden")==="true"}function hf(e){return e.getComputedStylePropertyValue("opacity")==="0"}function gf(e){var t=Vr(e.actualNode),r=parseInt(e.getComputedStylePropertyValue("height")),n=parseInt(e.getComputedStylePropertyValue("width"));return !!t&&(r===0||n===0)}function vf(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.isAncestor;if(r)return false;var n=e.getComputedStylePropertyValue("position");if(n==="fixed")return false;var a=xa(e);if(!a.length)return false;var i=e.boundingClientRect;return a.some(function(o){if(n==="absolute"&&!mx(e,o)&&o.getComputedStylePropertyValue("position")==="static")return false;var s=o.boundingClientRect;return s.width<2||s.height<2?true:!Bs(i,s)})}function bf(e){var t=e.getComputedStylePropertyValue("clip").match(fx),r=e.getComputedStylePropertyValue("clip-path").match(px);if(t&&t.length===5){var n=e.getComputedStylePropertyValue("position");if(["fixed","absolute"].includes(n))return t[3]-t[1]<=0&&t[2]-t[4]<=0}if(r){var a=r[1],i=parseInt(r[2],10);switch(a){case "inset":return i>=50;case "circle":return i===0;}}return false}function Hs(e,t){var r=Jt(e,"map");if(!r)return true;var n=r.attr("name");if(!n)return true;var a=wa(e.actualNode);if(!a||a.nodeType!==9)return true;var i=tr(m._tree,'img[usemap="#'.concat(Dt(n),'"]'));return !i||!i.length?true:i.some(function(o){return !t(o)})}function yf(e){var t;if(((t=e.parent)===null||t===void 0?void 0:t.props.nodeName)!=="details")return false;if(e.props.nodeName==="summary"){var r=e.parent.children.find(function(n){return n.props.nodeName==="summary"});if(r===e)return false}return !e.parent.hasAttr("open")}function mx(e,t){for(var r=e.parent;r&&r!==t;){if(["relative","sticky"].includes(r.getComputedStylePropertyValue("position")))return true;r=r.parent;}return false}var hx=[df,ff,pf,yf];function en(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.skipAncestors,n=t.isAncestor,a=n===void 0?false:n;return e=rt(e).vNode,r?wf(e,a):xf(e,a)}var wf=mt(function(t,r){return cf(t)?true:t.actualNode?!!(hx.some(function(n){return n(t,{isAncestor:r})})||!t.actualNode.isConnected):false}),xf=mt(function(t,r){return wf(t,r)?true:t.parent?xf(t.parent,true):false});function Df(e){if(e.assignedSlot)return Df(e.assignedSlot);if(e.parentNode){var t=e.parentNode;if(t.nodeType===1)return t;if(t.host)return t.host}return null}var Ot=Df;function gx(e){if(!e.nodeType&&e.document&&(e=e.document),e.nodeType===9){var t=e.documentElement,r=e.body;return {left:t&&t.scrollLeft||r&&r.scrollLeft||0,top:t&&t.scrollTop||r&&r.scrollTop||0}}return {left:e.scrollLeft,top:e.scrollTop}}var Af=gx;function vx(e){var t=Af(v),r=t.left,n=t.top,a=e.getBoundingClientRect();return {top:a.top+n,right:a.right+r,bottom:a.bottom+n,left:a.left+r,width:a.right-a.left,height:a.bottom-a.top}}var Vs=vx;function bx(e){var t=e.document,r=t.documentElement;if(e.innerWidth)return {width:e.innerWidth,height:e.innerHeight};if(r)return {width:r.clientWidth,height:r.clientHeight};var n=t.body;return {width:n.clientWidth,height:n.clientHeight}}var $i=bx;function zi(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.skipAncestors,n=rt(e),a=n.vNode;return a?r?_f(a):Ef(a):false}var _f=mt(function(t){return t.getComputedStylePropertyValue("position")==="fixed"}),Ef=mt(function(t){return _f(t)?true:t.parent?Ef(t.parent):false});function yx(e,t){for(e=Ot(e);e&&e.nodeName.toLowerCase()!=="html";){if(e.scrollTop&&(t+=e.scrollTop,t>=0))return false;e=Ot(e);}return true}function wx(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.isAncestor;if(r)return false;var n=rt(e),a=n.domNode;if(a){var i=v.documentElement,o=d.getComputedStyle(a),s=d.getComputedStyle(v.body||i).getPropertyValue("direction"),l=zi(a),u=l?a.getBoundingClientRect():Vs(a);if(u.top===0&&u.bottom===0||u.left===0&&u.right===0)return false;if(u.bottom<=0&&(yx(a,u.bottom)||o.position==="absolute"))return true;var c=$i(d);if(l&&u.top>=c.height)return true;var f=Math.max(i.scrollWidth,c.width);return !!((l||s==="rtl")&&u.left>=f||(l||s==="ltr")&&u.right<=0)}}var Gi=wx,xx=[hf,gf,vf,bf,Gi];function Zt(e){return e=rt(e).vNode,js(e)}var js=mt(function(t,r){return t.actualNode&&t.props.nodeName==="area"?!Hs(t,js):en(t,{skipAncestors:true,isAncestor:r})||t.actualNode&&xx.some(function(n){return n(t,{isAncestor:r})})?false:t.parent?js(t.parent,true):true});function $s(e,t){var r=Math.min(e.top,t.top),n=Math.max(e.right,t.right),a=Math.max(e.bottom,t.bottom),i=Math.min(e.left,t.left);return new d.DOMRect(i,r,n-i,a-r)}function Wi(e,t){var r=e.x,n=e.y,a=t.top,i=t.right,o=t.bottom,s=t.left;return n>=a&&r<=i&&n<=o&&r>=s}var Cf={};fr(Cf,{getBoundingRect:function(){return $s},getIntersectionRect:function(){return Ui},getOffset:function(){return kf},getRectCenter:function(){return Da},hasVisualOverlap:function(){return zs},isPointInRect:function(){return Wi},rectHasMinimumSize:function(){return Br},rectsOverlap:function(){return Bs},splitRects:function(){return Gs}});function Ui(e,t){var r=Math.max(e.left,t.left),n=Math.min(e.right,t.right),a=Math.max(e.top,t.top),i=Math.min(e.bottom,t.bottom);return r>=n||a>=i?null:new d.DOMRect(r,a,n-r,i-a)}function Da(e){var t=e.left,r=e.top,n=e.width,a=e.height;return new d.DOMPoint(t+n/2,r+a/2)}var Sf=.05;function Br(e,t){var r=t.width,n=t.height;return r+Sf>=e&&n+Sf>=e}function kf(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:12,n=Zi(e),a=Zi(t);return !n.length||!a.length?null:n.reduce(function(i,o){var s=Da(o),l=it(a),u;try{for(l.s();!(u=l.n()).done;){var c=u.value;if(Wi(s,c))return 0;var f=Dx(s,c),g=Tf(s,f);i=Math.min(i,g);}}catch(z){l.e(z);}finally{l.f();}var w=Gf(t);if(Br(r*2,w))return i;var S=a.reduce($s),P=Da(S),H=Tf(s,P)-r;return Math.max(0,Math.min(i,H))},1/0)}function Dx(e,t){var r,n;return e.x<t.left?r=t.left:e.x>t.right?r=t.right:r=e.x,e.y<t.top?n=t.top:e.y>t.bottom?n=t.bottom:n=e.y,{x:r,y:n}}function Tf(e,t){return Math.hypot(e.x-t.x,e.y-t.y)}function zs(e,t){var r=e.boundingClientRect,n=t.boundingClientRect;return r.left>=n.right||r.right<=n.left||r.top>=n.bottom||r.bottom<=n.top?false:Js(e,t)>0}function Gs(e,t){var r=Array.isArray(e)?e:[e],n=it(t),a;try{var i=function(){var s=a.value;if(r=r.reduce(function(l,u){return l.concat(Ax(u,s))},[]),r.length>4e3)throw new Error("splitRects: Too many rects")};for(n.s();!(a=n.n()).done;)i();}catch(o){n.e(o);}finally{n.f();}return r}function Ax(e,t){var r=e.top,n=e.left,a=e.bottom,i=e.right,o=r<t.bottom&&a>t.top,s=n<t.right&&i>t.left,l=[];if(Xi(t.top,r,a)&&s&&l.push({top:r,left:n,bottom:t.top,right:i}),Xi(t.right,n,i)&&o&&l.push({top:r,left:t.right,bottom:a,right:i}),Xi(t.bottom,r,a)&&s&&l.push({top:t.bottom,right:i,bottom:a,left:n}),Xi(t.left,n,i)&&o&&l.push({top:r,left:n,bottom:a,right:t.left}),l.length===0){if(Ex(e,t))return [];l.push(e);}return l.map(_x)}var Xi=function(t,r,n){return t>r&&t<n};function _x(e){return new d.DOMRect(e.left,e.top,e.right-e.left,e.bottom-e.top)}function Ex(e,t){return e.top>=t.top&&e.left>=t.left&&e.bottom<=t.bottom&&e.right<=t.right}var Rf=0,Cx=.1,Ff=.2,If=.3,Ws=0;function Aa(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:v.body,t=arguments.length>1?arguments[1]:void 0,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(Ue.get("gridCreated")&&!r)return Xe.gridSize;if(Ue.set("gridCreated",true),!r){var n=Ke(v.documentElement);if(n||(n=new Dl(v.documentElement)),Ws=0,n._stackingOrder=[Of(Rf,Ws++,null)],t??(t=new Us),Pf(t,n),Vr(n.actualNode)){var a=new Us(n);n._subGrid=a;}}for(var i=v.createTreeWalker(e,d.NodeFilter.SHOW_ELEMENT,null,false),o=r?i.nextNode():i.currentNode;o;){var s=Ke(o);s&&s.parent?r=s.parent:o.assignedSlot?r=Ke(o.assignedSlot):o.parentElement?r=Ke(o.parentElement):o.parentNode&&Ke(o.parentNode)&&(r=Ke(o.parentNode)),s||(s=new m.VirtualNode(o,r)),s._stackingOrder=Sx(s,r,Ws++);var l=Rx(s,r),u=l?l._subGrid:t;if(Vr(s.actualNode)){var c=new Us(s);s._subGrid=c;}var f=s.boundingClientRect;f.width!==0&&f.height!==0&&Zt(o)&&Pf(u,s),ji(o)&&Aa(o.shadowRoot,u,s),o=i.nextNode();}return Xe.gridSize}function Lf(e,t){var r=e.getComputedStylePropertyValue("position"),n=e.getComputedStylePropertyValue("z-index");if(r==="fixed"||r==="sticky"||n!=="auto"&&r!=="static"||e.getComputedStylePropertyValue("opacity")!=="1")return true;var a=e.getComputedStylePropertyValue("-webkit-transform")||e.getComputedStylePropertyValue("-ms-transform")||e.getComputedStylePropertyValue("transform")||"none";if(a!=="none")return true;var i=e.getComputedStylePropertyValue("mix-blend-mode");if(i&&i!=="normal")return true;var o=e.getComputedStylePropertyValue("filter");if(o&&o!=="none")return true;var s=e.getComputedStylePropertyValue("perspective");if(s&&s!=="none")return true;var l=e.getComputedStylePropertyValue("clip-path");if(l&&l!=="none")return true;var u=e.getComputedStylePropertyValue("-webkit-mask")||e.getComputedStylePropertyValue("mask")||"none";if(u!=="none")return true;var c=e.getComputedStylePropertyValue("-webkit-mask-image")||e.getComputedStylePropertyValue("mask-image")||"none";if(c!=="none")return true;var f=e.getComputedStylePropertyValue("-webkit-mask-border")||e.getComputedStylePropertyValue("mask-border")||"none";if(f!=="none"||e.getComputedStylePropertyValue("isolation")==="isolate")return true;var g=e.getComputedStylePropertyValue("will-change");if(g==="transform"||g==="opacity"||e.getComputedStylePropertyValue("-webkit-overflow-scrolling")==="touch")return true;var w=e.getComputedStylePropertyValue("contain");return !!(["layout","paint","strict","content"].includes(w)||n!=="auto"&&Mf(t))}function Mf(e){if(!e)return false;var t=e.getComputedStylePropertyValue("display");return ["flex","inline-flex","grid","inline-grid"].includes(t)}function Sx(e,t,r){var n=t._stackingOrder.slice();if(Lf(e,t)){var a=n.findIndex(function(o){var s=o.stackLevel;return [Rf,Ff,If].includes(s)});a!==-1&&n.splice(a,n.length-a);}var i=kx(e,t);return i!==null&&n.push(Of(i,r,e)),n}function Of(e,t,r){return {stackLevel:e,treeOrder:t,vNode:r}}function kx(e,t){var r=Tx(e,t);return ["auto","0"].includes(r)?e.getComputedStylePropertyValue("position")!=="static"?If:e.getComputedStylePropertyValue("float")!=="none"?Ff:Lf(e,t)?Cx:null:parseInt(r)}function Tx(e,t){var r=e.getComputedStylePropertyValue("position");return r==="static"&&!Mf(t)?"auto":e.getComputedStylePropertyValue("z-index")}function Rx(e,t){for(var r=null,n=[e];t;){if(Vr(t.actualNode)){r=t;break}if(t._scrollRegionParent){r=t._scrollRegionParent;break}n.push(t),t=Ke(t.actualNode.parentElement||t.actualNode.parentNode);}return n.forEach(function(a){return a._scrollRegionParent=r}),r}function Pf(e,t){var r=xa(t);t.clientRects.forEach(function(n){var a,i=r.reduce(function(s,l){return s&&Ui(s,l.boundingClientRect)},n);if(i){(a=t._grid)!==null&&a!==void 0||(t._grid=e);var o=e.getGridPositionOfRect(i);e.loopGridPosition(o,function(s){s.includes(t)||s.push(t);});}});}var Us=(function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;rr(this,e),this.container=t,this.cells=[];}return zt(e,[{key:"toGridIndex",value:function(r){return Math.floor(r/Xe.gridSize)}},{key:"getCellFromPoint",value:function(r){var n,a,i=r.x,o=r.y;nt(this.boundaries,"Grid does not have cells added");var s=this.toGridIndex(o),l=this.toGridIndex(i);nt(Wi({y:s,x:l},this.boundaries),"Element midpoint exceeds the grid bounds");var u=(n=this.cells[s-this.cells._negativeIndex])!==null&&n!==void 0?n:[];return (a=u[l-u._negativeIndex])!==null&&a!==void 0?a:[]}},{key:"loopGridPosition",value:function(r,n){var a=r,i=a.left,o=a.right,s=a.top,l=a.bottom;this.boundaries&&(r=$s(this.boundaries,r)),this.boundaries=r,Nf(this.cells,s,l,function(u,c){Nf(u,i,o,function(f,g){n(f,{row:c,col:g});});});}},{key:"getGridPositionOfRect",value:function(r){var n=r.top,a=r.right,i=r.bottom,o=r.left,s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return n=this.toGridIndex(n-s),a=this.toGridIndex(a+s-1),i=this.toGridIndex(i+s-1),o=this.toGridIndex(o-s),new d.DOMRect(o,n,a-o,i-n)}}])})();function Nf(e,t,r,n){var a;if((a=e._negativeIndex)!==null&&a!==void 0||(e._negativeIndex=0),t<e._negativeIndex){for(var i=0;i<e._negativeIndex-t;i++)e.splice(0,0,[]);e._negativeIndex=t;}for(var o=t-e._negativeIndex,s=r-e._negativeIndex,l=o;l<=s;l++){var u,c;(c=e[u=l])!==null&&c!==void 0||(e[u]=[]),n(e[l],l+e._negativeIndex);}}function Yi(e){Aa();var t=rt(e),r=t.vNode;return r._grid}function Ki(e){var t,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=Yi(e);if(!(n!=null&&(t=n.cells)!==null&&t!==void 0&&t.length))return [];var a=e.boundingClientRect,i=zi(e),o=n.getGridPositionOfRect(a,r),s=[];return n.loopGridPosition(o,function(l){var u=it(l),c;try{for(u.s();!(c=u.n()).done;){var f=c.value;f&&f!==e&&!s.includes(f)&&i===zi(f)&&s.push(f);}}catch(g){u.e(g);}finally{u.f();}}),s}var Fx=mt(function(){var t;if(!m._tree)return null;var r=Tr(m._tree[0],"dialog[open]",function(a){var i=a.boundingClientRect,o=v.elementsFromPoint(i.left+1,i.top+1);return o.includes(a.actualNode)&&Zt(a)});if(!r.length)return null;var n=r.find(function(a){var i=a.boundingClientRect,o=v.elementsFromPoint(i.left-10,i.top-10);return o.includes(a.actualNode)});return n||((t=r.find(function(a){var i,o=(i=Ix(a))!==null&&i!==void 0?i:{},s=o.vNode,l=o.rect;if(!s)return false;var u=v.elementsFromPoint(l.left+1,l.top+1);return !u.includes(s.actualNode)}))!==null&&t!==void 0?t:null)}),qf=Fx;function Ix(e){Aa();var t=m._tree[0]._grid,r=new d.DOMRect(0,0,d.innerWidth,d.innerHeight);if(t)for(var n=0;n<t.cells.length;n++){var a=t.cells[n];if(a)for(var i=0;i<a.length;i++){var o=a[i];if(o)for(var s=0;s<o.length;s++){var l=o[s],u=l.boundingClientRect,c=Ui(u,r);if(l.props.nodeName!=="html"&&l!==e&&l.getComputedStylePropertyValue("pointer-events")!=="none"&&c)return {vNode:l,rect:c}}}}}function Ji(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.skipAncestors,n=t.isAncestor;return r?Bf(e,n):Hf(e,n)}var Bf=mt(function(t,r){if(t.hasAttr("inert"))return true;if(!r&&t.actualNode){var n=qf();if(n&&!qr(n,t))return true}return false}),Hf=mt(function(t,r){return Bf(t,r)?true:t.parent?Hf(t.parent,true):false}),Lx=["button","command","fieldset","keygen","optgroup","option","select","textarea","input"];function Mx(e){return Lx.includes(e)}function Ox(e){var t=rt(e),r=t.vNode;if(Mx(r.props.nodeName)&&r.hasAttr("disabled")||Ji(r))return true;for(var n=r.parent,a=[],i=false;n&&n.shadowId===r.shadowId&&!i&&(a.push(n),n.props.nodeName!=="legend");){if(n._inDisabledFieldset!==void 0){i=n._inDisabledFieldset;break}n.props.nodeName==="fieldset"&&n.hasAttr("disabled")&&(i=true),n=n.parent;}return a.forEach(function(o){return o._inDisabledFieldset=i}),i?true:r.props.nodeName!=="area"&&r.actualNode?en(r):false}var Xs=Ox,Px=/^\/\#/,Nx=/^#[!/]/;function Ys(e){var t,r=e.getAttribute("href");if(!r||r==="#")return false;if(Px.test(r))return true;var n=e.hash,a=e.protocol,i=e.hostname,o=e.port,s=e.pathname;if(Nx.test(n))return false;if(r.charAt(0)==="#")return true;if(typeof((t=d.location)===null||t===void 0?void 0:t.origin)!="string"||d.location.origin.indexOf("://")===-1)return null;var l=d.location.origin+d.location.pathname,u;return i?u="".concat(a,"//").concat(i).concat(o?":".concat(o):""):u=d.location.origin,s?u+=(s[0]!=="/"?"/":"")+s:u+=d.location.pathname,u===l}function qx(e,t){var r=e.getAttribute(t);if(!r||t==="href"&&!Ys(e))return null;r.indexOf("#")!==-1&&(r=decodeURIComponent(r.substr(r.indexOf("#")+1)));var n=v.getElementById(r);return n||(n=v.getElementsByName(r),n.length?n[0]:null)}var Ks=qx;function Js(e,t){Aa();for(var r=Math.max(e._stackingOrder.length,t._stackingOrder.length),n=0;n<r;n++){if(typeof t._stackingOrder[n]>"u")return -1;if(typeof e._stackingOrder[n]>"u"||t._stackingOrder[n].stackLevel>e._stackingOrder[n].stackLevel)return 1;if(t._stackingOrder[n].stackLevel<e._stackingOrder[n].stackLevel)return -1;if(t._stackingOrder[n].treeOrder!==e._stackingOrder[n].treeOrder)return t._stackingOrder[n].treeOrder-e._stackingOrder[n].treeOrder}var a=e.actualNode,i=t.actualNode;if(a.getRootNode&&a.getRootNode()!==i.getRootNode()){for(var o=[];a;)o.push({root:a.getRootNode(),node:a}),a=a.getRootNode().host;for(;i&&!o.find(function(H){return H.root===i.getRootNode()});)i=i.getRootNode().host;if(a=o.find(function(H){return H.root===i.getRootNode()}).node,a===i)return e.actualNode.getRootNode()!==a.getRootNode()?-1:1}var s=d.Node,l=s.DOCUMENT_POSITION_FOLLOWING,u=s.DOCUMENT_POSITION_CONTAINS,c=s.DOCUMENT_POSITION_CONTAINED_BY,f=a.compareDocumentPosition(i),g=f&l?1:-1,w=f&u||f&c,S=Vf(e),P=Vf(t);return S===P||w?g:P-S}function Vf(e){return e.getComputedStylePropertyValue("display").indexOf("inline")!==-1?2:jf(e)?1:0}function jf(e){if(!e)return false;if(e._isFloated!==void 0)return e._isFloated;var t=e.getComputedStylePropertyValue("float");if(t!=="none")return e._isFloated=true,true;var r=jf(e.parent);return e._isFloated=r,r}function Zs(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:false,n=Da(t),a=e.getCellFromPoint(n)||[],i=Math.floor(n.x),o=Math.floor(n.y),s=a.filter(function(u){return u.clientRects.some(function(c){var f=c.left,g=c.top;return i<Math.floor(f+c.width)&&i>=Math.floor(f)&&o<Math.floor(g+c.height)&&o>=Math.floor(g)})}),l=e.container;return l&&(s=Zs(l._grid,l.boundingClientRect,true).concat(s)),r||(s=s.sort(Js).map(function(u){return u.actualNode}).concat(v.documentElement).filter(function(u,c,f){return f.indexOf(u)===c})),s}function Bx(e){var t=Yi(e);if(!t)return [];var r=Ke(e).boundingClientRect;return Zs(t,r)}var $f=Bx;function Hx(e){var t=tr(e,"*"),r=t.filter(function(n){var a=n.isFocusable,i=kr(n.actualNode.getAttribute("tabindex"));return i!==null?a&&i>=0:a});return r}var zf=Hx;function Vx(e){var t=rt(e),r=t.vNode;if(!r||Xs(r))return false;switch(r.props.nodeName){case "a":case "area":if(r.hasAttr("href"))return true;break;case "input":return r.props.type!=="hidden";case "textarea":case "select":case "summary":case "button":return true;case "details":return !tr(r,"summary").length}return false}var Qs=Vx;function Ct(e){var t=rt(e),r=t.vNode;if(r.props.nodeType!==1||Xs(r))return false;if(Qs(r))return true;var n=kr(r.attr("tabindex"));return n!==null}function ur(e){var t=rt(e),r=t.vNode;if(r.props.nodeType!==1)return false;var n=kr(r.attr("tabindex"));return n<=-1?false:Ct(r)}var Zi=mt(jx);function jx(e){var t=e.getComputedStylePropertyValue("display"),r=t==="inline"?e.clientRects:[e.boundingClientRect],n=Ki(e).filter(function(i){return zs(e,i)&&i.getComputedStylePropertyValue("pointer-events")!=="none"&&!$x(e,i)});if(!n.length)return r;var a=n.map(function(i){var o=i.getComputedStylePropertyValue("display");return o==="inline"?i.clientRects:i.boundingClientRect}).flat(1/0);return Gs(r,a)}function $x(e,t){return qr(e,t)&&!ur(t)}var Gf=mt(zx);function zx(e,t){var r=Zi(e);return Gx(r,t)}function Gx(e,t){return e.reduce(function(r,n){var a=Br(t,r),i=Br(t,n);if(a!==i)return a?r:n;var o=r.width*r.height,s=n.width*n.height;return o>s?r:n})}var _a={};fr(_a,{accessibleText:function(){return vn},accessibleTextVirtual:function(){return Pt},autocomplete:function(){return yn},formControlValue:function(){return Dp},formControlValueMethods:function(){return sl},hasUnicode:function(){return cl},isHumanInterpretable:function(){return fl},isIconLigature:function(){return dl},isValidAutocomplete:function(){return Tp},label:function(){return xA},labelText:function(){return ll},labelVirtual:function(){return no},nativeElementType:function(){return AA},nativeTextAlternative:function(){return _p},nativeTextMethods:function(){return Ap},removeUnicode:function(){return Ra},sanitize:function(){return Ve},subtreeText:function(){return nn},titleText:function(){return eo},unsupported:function(){return fp},visible:function(){return Rp},visibleTextNodes:function(){return _A},visibleVirtual:function(){return Cr}});function Wx(e,t){e=e.actualNode||e;try{var r=qt(e),n=[],a=e.getAttribute(t);if(a){a=jt(a);for(var i=0;i<a.length;i++)n.push(r.getElementById(a[i]));}return n}catch{throw new TypeError("Cannot resolve id references for non-DOM nodes")}}var _r=Wx;function Ux(e,t){var r=Ke(e);return Pt(r,t)}var vn=Ux;function Xx(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=rt(e),n=r.vNode;if(n?.props.nodeType!==1||n.props.nodeType!==1||t.inLabelledByContext||t.inControlContext||!n.attr("aria-labelledby"))return "";var a=_r(n,"aria-labelledby").filter(function(i){return i});return a.reduce(function(i,o){var s=vn(o,Te({inLabelledByContext:true,startNode:t.startNode||n},t));return i?"".concat(i," ").concat(s):s},"")}var Ea=Xx;function Ca(e){var t=rt(e),r=t.vNode;return r?.props.nodeType!==1?"":r.attr("aria-label")||""}var Yx={"aria-activedescendant":{type:"idref",allowEmpty:true},"aria-atomic":{type:"boolean",global:true},"aria-autocomplete":{type:"nmtoken",values:["inline","list","both","none"]},"aria-braillelabel":{type:"string",allowEmpty:true,global:true},"aria-brailleroledescription":{type:"string",allowEmpty:true,global:true},"aria-busy":{type:"boolean",global:true},"aria-checked":{type:"nmtoken",values:["false","mixed","true","undefined"]},"aria-colcount":{type:"int",minValue:-1},"aria-colindex":{type:"int",minValue:1},"aria-colspan":{type:"int",minValue:1},"aria-controls":{type:"idrefs",allowEmpty:true,global:true},"aria-current":{type:"nmtoken",allowEmpty:true,values:["page","step","location","date","time","true","false"],global:true},"aria-describedby":{type:"idrefs",allowEmpty:true,global:true},"aria-description":{type:"string",allowEmpty:true,global:true},"aria-details":{type:"idref",allowEmpty:true,global:true},"aria-disabled":{type:"boolean",global:true},"aria-dropeffect":{type:"nmtokens",values:["copy","execute","link","move","none","popup"],global:true},"aria-errormessage":{type:"idref",allowEmpty:true,global:true},"aria-expanded":{type:"nmtoken",values:["true","false","undefined"]},"aria-flowto":{type:"idrefs",allowEmpty:true,global:true},"aria-grabbed":{type:"nmtoken",values:["true","false","undefined"],global:true},"aria-haspopup":{type:"nmtoken",allowEmpty:true,values:["true","false","menu","listbox","tree","grid","dialog"],global:true},"aria-hidden":{type:"nmtoken",values:["true","false","undefined"],global:true},"aria-invalid":{type:"nmtoken",values:["grammar","false","spelling","true"],global:true},"aria-keyshortcuts":{type:"string",allowEmpty:true,global:true},"aria-label":{type:"string",allowEmpty:true,global:true},"aria-labelledby":{type:"idrefs",allowEmpty:true,global:true},"aria-level":{type:"int",minValue:1},"aria-live":{type:"nmtoken",values:["assertive","off","polite"],global:true},"aria-modal":{type:"boolean"},"aria-multiline":{type:"boolean"},"aria-multiselectable":{type:"boolean"},"aria-orientation":{type:"nmtoken",values:["horizontal","undefined","vertical"]},"aria-owns":{type:"idrefs",allowEmpty:true,global:true},"aria-placeholder":{type:"string",allowEmpty:true},"aria-posinset":{type:"int",minValue:1},"aria-pressed":{type:"nmtoken",values:["false","mixed","true","undefined"]},"aria-readonly":{type:"boolean"},"aria-relevant":{type:"nmtokens",values:["additions","all","removals","text"],global:true},"aria-required":{type:"boolean"},"aria-roledescription":{type:"string",allowEmpty:true,global:true},"aria-rowcount":{type:"int",minValue:-1},"aria-rowindex":{type:"int",minValue:1},"aria-rowspan":{type:"int",minValue:0},"aria-selected":{type:"nmtoken",values:["false","true","undefined"]},"aria-setsize":{type:"int",minValue:-1},"aria-sort":{type:"nmtoken",values:["ascending","descending","none","other"]},"aria-valuemax":{type:"decimal"},"aria-valuemin":{type:"decimal"},"aria-valuenow":{type:"decimal"},"aria-valuetext":{type:"string",allowEmpty:true}},Wf=Yx,Kx={alert:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"]},alertdialog:{type:"window",allowedAttrs:["aria-expanded","aria-modal"],superclassRole:["alert","dialog"],accessibleNameRequired:true},application:{type:"landmark",allowedAttrs:["aria-activedescendant","aria-expanded"],superclassRole:["structure"],accessibleNameRequired:true},article:{type:"structure",allowedAttrs:["aria-posinset","aria-setsize","aria-expanded"],superclassRole:["document"]},banner:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},blockquote:{type:"structure",superclassRole:["section"]},button:{type:"widget",allowedAttrs:["aria-expanded","aria-pressed"],superclassRole:["command"],accessibleNameRequired:true,nameFromContent:true,childrenPresentational:true},caption:{type:"structure",requiredContext:["figure","table","grid","treegrid"],superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},cell:{type:"structure",requiredContext:["row"],allowedAttrs:["aria-colindex","aria-colspan","aria-rowindex","aria-rowspan","aria-expanded"],superclassRole:["section"],nameFromContent:true},checkbox:{type:"widget",requiredAttrs:["aria-checked"],allowedAttrs:["aria-readonly","aria-expanded","aria-required"],superclassRole:["input"],accessibleNameRequired:true,nameFromContent:true,childrenPresentational:true},code:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},columnheader:{type:"structure",requiredContext:["row"],allowedAttrs:["aria-sort","aria-colindex","aria-colspan","aria-expanded","aria-readonly","aria-required","aria-rowindex","aria-rowspan","aria-selected"],superclassRole:["cell","gridcell","sectionhead"],accessibleNameRequired:false,nameFromContent:true},combobox:{type:"widget",requiredAttrs:["aria-expanded","aria-controls"],allowedAttrs:["aria-owns","aria-autocomplete","aria-readonly","aria-required","aria-activedescendant","aria-orientation"],superclassRole:["select"],accessibleNameRequired:true},command:{type:"abstract",superclassRole:["widget"]},complementary:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},composite:{type:"abstract",superclassRole:["widget"]},contentinfo:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},comment:{type:"structure",allowedAttrs:["aria-level","aria-posinset","aria-setsize"],superclassRole:["article"]},definition:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"]},deletion:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},dialog:{type:"window",allowedAttrs:["aria-expanded","aria-modal"],superclassRole:["window"],accessibleNameRequired:true},directory:{type:"structure",deprecated:true,allowedAttrs:["aria-expanded"],superclassRole:["list"],nameFromContent:true},document:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["structure"]},emphasis:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},feed:{type:"structure",requiredOwned:["article"],allowedAttrs:["aria-expanded"],superclassRole:["list"]},figure:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],nameFromContent:true},form:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},grid:{type:"composite",requiredOwned:["rowgroup","row"],allowedAttrs:["aria-level","aria-multiselectable","aria-readonly","aria-activedescendant","aria-colcount","aria-expanded","aria-rowcount"],superclassRole:["composite","table"],accessibleNameRequired:false},gridcell:{type:"widget",requiredContext:["row"],allowedAttrs:["aria-readonly","aria-required","aria-selected","aria-colindex","aria-colspan","aria-expanded","aria-rowindex","aria-rowspan"],superclassRole:["cell","widget"],nameFromContent:true},group:{type:"structure",allowedAttrs:["aria-activedescendant","aria-expanded"],superclassRole:["section"]},heading:{type:"structure",requiredAttrs:["aria-level"],allowedAttrs:["aria-expanded"],superclassRole:["sectionhead"],accessibleNameRequired:false,nameFromContent:true},img:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],accessibleNameRequired:true,childrenPresentational:true},input:{type:"abstract",superclassRole:["widget"]},insertion:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},landmark:{type:"abstract",superclassRole:["section"]},link:{type:"widget",allowedAttrs:["aria-expanded"],superclassRole:["command"],accessibleNameRequired:true,nameFromContent:true},list:{type:"structure",requiredOwned:["listitem"],allowedAttrs:["aria-expanded"],superclassRole:["section"]},listbox:{type:"widget",requiredOwned:["group","option"],allowedAttrs:["aria-multiselectable","aria-readonly","aria-required","aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["select"],accessibleNameRequired:true},listitem:{type:"structure",requiredContext:["list"],allowedAttrs:["aria-level","aria-posinset","aria-setsize","aria-expanded"],superclassRole:["section"],nameFromContent:true},log:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"]},main:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},marquee:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"]},math:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],childrenPresentational:true},menu:{type:"composite",requiredOwned:["group","menuitemradio","menuitem","menuitemcheckbox","menu","separator"],allowedAttrs:["aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["select"]},menubar:{type:"composite",requiredOwned:["group","menuitemradio","menuitem","menuitemcheckbox","menu","separator"],allowedAttrs:["aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["menu"]},menuitem:{type:"widget",requiredContext:["menu","menubar","group"],allowedAttrs:["aria-posinset","aria-setsize","aria-expanded"],superclassRole:["command"],accessibleNameRequired:true,nameFromContent:true},menuitemcheckbox:{type:"widget",requiredContext:["menu","menubar","group"],requiredAttrs:["aria-checked"],allowedAttrs:["aria-expanded","aria-posinset","aria-readonly","aria-setsize"],superclassRole:["checkbox","menuitem"],accessibleNameRequired:true,nameFromContent:true,childrenPresentational:true},menuitemradio:{type:"widget",requiredContext:["menu","menubar","group"],requiredAttrs:["aria-checked"],allowedAttrs:["aria-expanded","aria-posinset","aria-readonly","aria-setsize"],superclassRole:["menuitemcheckbox","radio"],accessibleNameRequired:true,nameFromContent:true,childrenPresentational:true},meter:{type:"structure",requiredAttrs:["aria-valuenow"],allowedAttrs:["aria-valuemax","aria-valuemin","aria-valuetext"],superclassRole:["range"],accessibleNameRequired:true,childrenPresentational:true},mark:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},navigation:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},none:{type:"structure",superclassRole:["structure"],prohibitedAttrs:["aria-label","aria-labelledby"]},note:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"]},option:{type:"widget",requiredContext:["group","listbox"],allowedAttrs:["aria-selected","aria-checked","aria-posinset","aria-setsize"],superclassRole:["input"],accessibleNameRequired:true,nameFromContent:true,childrenPresentational:true},paragraph:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},presentation:{type:"structure",superclassRole:["structure"],prohibitedAttrs:["aria-label","aria-labelledby"]},progressbar:{type:"widget",allowedAttrs:["aria-expanded","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext"],superclassRole:["range"],accessibleNameRequired:true,childrenPresentational:true},radio:{type:"widget",requiredAttrs:["aria-checked"],allowedAttrs:["aria-posinset","aria-setsize","aria-required"],superclassRole:["input"],accessibleNameRequired:true,nameFromContent:true,childrenPresentational:true},radiogroup:{type:"composite",allowedAttrs:["aria-readonly","aria-required","aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["select"],accessibleNameRequired:false},range:{type:"abstract",superclassRole:["widget"]},region:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"],accessibleNameRequired:false},roletype:{type:"abstract",superclassRole:[]},row:{type:"structure",requiredContext:["grid","rowgroup","table","treegrid"],requiredOwned:["cell","columnheader","gridcell","rowheader"],allowedAttrs:["aria-colindex","aria-level","aria-rowindex","aria-selected","aria-activedescendant","aria-expanded","aria-posinset","aria-setsize"],superclassRole:["group","widget"],nameFromContent:true},rowgroup:{type:"structure",requiredContext:["grid","table","treegrid"],requiredOwned:["row"],superclassRole:["structure"],nameFromContent:true},rowheader:{type:"structure",requiredContext:["row"],allowedAttrs:["aria-sort","aria-colindex","aria-colspan","aria-expanded","aria-readonly","aria-required","aria-rowindex","aria-rowspan","aria-selected"],superclassRole:["cell","gridcell","sectionhead"],accessibleNameRequired:false,nameFromContent:true},scrollbar:{type:"widget",requiredAttrs:["aria-valuenow"],allowedAttrs:["aria-controls","aria-orientation","aria-valuemax","aria-valuemin","aria-valuetext"],superclassRole:["range"],childrenPresentational:true},search:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},searchbox:{type:"widget",allowedAttrs:["aria-activedescendant","aria-autocomplete","aria-multiline","aria-placeholder","aria-readonly","aria-required"],superclassRole:["textbox"],accessibleNameRequired:true},section:{type:"abstract",superclassRole:["structure"],nameFromContent:true},sectionhead:{type:"abstract",superclassRole:["structure"],nameFromContent:true},select:{type:"abstract",superclassRole:["composite","group"]},separator:{type:"structure",requiredAttrs:["aria-valuenow"],allowedAttrs:["aria-valuemax","aria-valuemin","aria-orientation","aria-valuetext"],superclassRole:["structure","widget"],childrenPresentational:true},slider:{type:"widget",requiredAttrs:["aria-valuenow"],allowedAttrs:["aria-valuemax","aria-valuemin","aria-orientation","aria-readonly","aria-required","aria-valuetext"],superclassRole:["input","range"],accessibleNameRequired:true,childrenPresentational:true},spinbutton:{type:"widget",allowedAttrs:["aria-valuemax","aria-valuemin","aria-readonly","aria-required","aria-activedescendant","aria-valuetext","aria-valuenow"],superclassRole:["composite","input","range"],accessibleNameRequired:true},status:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"]},strong:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},structure:{type:"abstract",superclassRole:["roletype"]},subscript:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},superscript:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},switch:{type:"widget",requiredAttrs:["aria-checked"],allowedAttrs:["aria-expanded","aria-readonly","aria-required"],superclassRole:["checkbox"],accessibleNameRequired:true,nameFromContent:true,childrenPresentational:true},suggestion:{type:"structure",requiredOwned:["insertion","deletion"],superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},tab:{type:"widget",requiredContext:["tablist"],allowedAttrs:["aria-posinset","aria-selected","aria-setsize","aria-expanded"],superclassRole:["sectionhead","widget"],nameFromContent:true,childrenPresentational:true},table:{type:"structure",requiredOwned:["rowgroup","row"],allowedAttrs:["aria-colcount","aria-rowcount","aria-expanded"],superclassRole:["section"],accessibleNameRequired:false,nameFromContent:true},tablist:{type:"composite",requiredOwned:["tab"],allowedAttrs:["aria-level","aria-multiselectable","aria-orientation","aria-activedescendant","aria-expanded"],superclassRole:["composite"]},tabpanel:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],accessibleNameRequired:false},term:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],nameFromContent:true},text:{type:"structure",superclassRole:["section"],nameFromContent:true},textbox:{type:"widget",allowedAttrs:["aria-activedescendant","aria-autocomplete","aria-multiline","aria-placeholder","aria-readonly","aria-required"],superclassRole:["input"],accessibleNameRequired:true},time:{type:"structure",superclassRole:["section"]},timer:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["status"]},toolbar:{type:"structure",allowedAttrs:["aria-orientation","aria-activedescendant","aria-expanded"],superclassRole:["group"],accessibleNameRequired:true},tooltip:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],nameFromContent:true},tree:{type:"composite",requiredOwned:["group","treeitem"],allowedAttrs:["aria-multiselectable","aria-required","aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["select"],accessibleNameRequired:false},treegrid:{type:"composite",requiredOwned:["rowgroup","row"],allowedAttrs:["aria-activedescendant","aria-colcount","aria-expanded","aria-level","aria-multiselectable","aria-orientation","aria-readonly","aria-required","aria-rowcount"],superclassRole:["grid","tree"],accessibleNameRequired:false},treeitem:{type:"widget",requiredContext:["group","tree"],allowedAttrs:["aria-checked","aria-expanded","aria-level","aria-posinset","aria-selected","aria-setsize"],superclassRole:["listitem","option"],accessibleNameRequired:true,nameFromContent:true},widget:{type:"abstract",superclassRole:["roletype"]},window:{type:"abstract",superclassRole:["roletype"]}},Uf=Kx,Jx={"doc-abstract":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-acknowledgments":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-afterword":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-appendix":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-backlink":{type:"link",allowedAttrs:["aria-expanded"],nameFromContent:true,superclassRole:["link"]},"doc-biblioentry":{type:"listitem",allowedAttrs:["aria-expanded","aria-level","aria-posinset","aria-setsize"],superclassRole:["listitem"],deprecated:true},"doc-bibliography":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-biblioref":{type:"link",allowedAttrs:["aria-expanded"],nameFromContent:true,superclassRole:["link"]},"doc-chapter":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-colophon":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-conclusion":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-cover":{type:"img",allowedAttrs:["aria-expanded"],superclassRole:["img"]},"doc-credit":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-credits":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-dedication":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-endnote":{type:"listitem",allowedAttrs:["aria-expanded","aria-level","aria-posinset","aria-setsize"],superclassRole:["listitem"],deprecated:true},"doc-endnotes":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-epigraph":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-epilogue":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-errata":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-example":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-footnote":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-foreword":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-glossary":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-glossref":{type:"link",allowedAttrs:["aria-expanded"],nameFromContent:true,superclassRole:["link"]},"doc-index":{type:"navigation",allowedAttrs:["aria-expanded"],superclassRole:["navigation"]},"doc-introduction":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-noteref":{type:"link",allowedAttrs:["aria-expanded"],nameFromContent:true,superclassRole:["link"]},"doc-notice":{type:"note",allowedAttrs:["aria-expanded"],superclassRole:["note"]},"doc-pagebreak":{type:"separator",allowedAttrs:["aria-expanded","aria-orientation"],superclassRole:["separator"],childrenPresentational:true},"doc-pagelist":{type:"navigation",allowedAttrs:["aria-expanded"],superclassRole:["navigation"]},"doc-part":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-preface":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-prologue":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-pullquote":{type:"none",superclassRole:["none"]},"doc-qna":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-subtitle":{type:"sectionhead",allowedAttrs:["aria-expanded"],superclassRole:["sectionhead"]},"doc-tip":{type:"note",allowedAttrs:["aria-expanded"],superclassRole:["note"]},"doc-toc":{type:"navigation",allowedAttrs:["aria-expanded"],superclassRole:["navigation"]}},Zx=Jx,Qx={"graphics-document":{type:"structure",superclassRole:["document"],accessibleNameRequired:true},"graphics-object":{type:"structure",superclassRole:["group"],nameFromContent:true},"graphics-symbol":{type:"structure",superclassRole:["img"],accessibleNameRequired:true,childrenPresentational:true}},eD=Qx,tD={a:{variant:{href:{matches:"[href]",contentTypes:["interactive","phrasing","flow"],allowedRoles:["button","checkbox","menuitem","menuitemcheckbox","menuitemradio","option","radio","switch","tab","treeitem","doc-backlink","doc-biblioref","doc-glossref","doc-noteref"],namingMethods:["subtreeText"]},default:{contentTypes:["phrasing","flow"],allowedRoles:true}}},abbr:{contentTypes:["phrasing","flow"],allowedRoles:true},address:{contentTypes:["flow"],allowedRoles:true},area:{variant:{href:{matches:"[href]",allowedRoles:false},default:{allowedRoles:["button","link"]}},contentTypes:["phrasing","flow"],namingMethods:["altText"]},article:{contentTypes:["sectioning","flow"],allowedRoles:["feed","presentation","none","document","application","main","region"],shadowRoot:true},aside:{contentTypes:["sectioning","flow"],allowedRoles:["feed","note","presentation","none","region","search","doc-dedication","doc-example","doc-footnote","doc-glossary","doc-pullquote","doc-tip"]},audio:{variant:{controls:{matches:"[controls]",contentTypes:["interactive","embedded","phrasing","flow"]},default:{contentTypes:["embedded","phrasing","flow"]}},allowedRoles:["application"],chromiumRole:"Audio"},b:{contentTypes:["phrasing","flow"],allowedRoles:true},base:{allowedRoles:false,noAriaAttrs:true},bdi:{contentTypes:["phrasing","flow"],allowedRoles:true},bdo:{contentTypes:["phrasing","flow"],allowedRoles:true},blockquote:{contentTypes:["flow"],allowedRoles:true,shadowRoot:true},body:{allowedRoles:false,shadowRoot:true},br:{contentTypes:["phrasing","flow"],allowedRoles:["presentation","none"],namingMethods:["titleText","singleSpace"],allowedAriaAttrs:["aria-hidden"]},button:{contentTypes:["interactive","phrasing","flow"],allowedRoles:["checkbox","combobox","gridcell","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","separator","slider","switch","tab","treeitem"],namingMethods:["subtreeText"]},canvas:{allowedRoles:true,contentTypes:["embedded","phrasing","flow"],chromiumRole:"Canvas"},caption:{allowedRoles:false},cite:{contentTypes:["phrasing","flow"],allowedRoles:true},code:{contentTypes:["phrasing","flow"],allowedRoles:true},col:{allowedRoles:false,noAriaAttrs:true},colgroup:{allowedRoles:false,noAriaAttrs:true},data:{contentTypes:["phrasing","flow"],allowedRoles:true},datalist:{contentTypes:["phrasing","flow"],allowedRoles:false,noAriaAttrs:true,implicitAttrs:{"aria-multiselectable":"false"}},dd:{allowedRoles:false},del:{contentTypes:["phrasing","flow"],allowedRoles:true},dfn:{contentTypes:["phrasing","flow"],allowedRoles:true},details:{contentTypes:["interactive","flow"],allowedRoles:false},dialog:{contentTypes:["flow"],allowedRoles:["alertdialog"]},div:{contentTypes:["flow"],allowedRoles:true,shadowRoot:true},dl:{contentTypes:["flow"],allowedRoles:["group","list","presentation","none"],chromiumRole:"DescriptionList"},dt:{allowedRoles:["listitem"]},em:{contentTypes:["phrasing","flow"],allowedRoles:true},embed:{contentTypes:["interactive","embedded","phrasing","flow"],allowedRoles:["application","document","img","presentation","none"],chromiumRole:"EmbeddedObject"},fieldset:{contentTypes:["flow"],allowedRoles:["none","presentation","radiogroup"],namingMethods:["fieldsetLegendText"]},figcaption:{allowedRoles:["group","none","presentation"]},figure:{contentTypes:["flow"],allowedRoles:true,namingMethods:["figureText","titleText"]},footer:{contentTypes:["flow"],allowedRoles:["group","none","presentation","doc-footnote"],shadowRoot:true},form:{contentTypes:["flow"],allowedRoles:["form","search","none","presentation"]},h1:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:true,implicitAttrs:{"aria-level":"1"}},h2:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:true,implicitAttrs:{"aria-level":"2"}},h3:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:true,implicitAttrs:{"aria-level":"3"}},h4:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:true,implicitAttrs:{"aria-level":"4"}},h5:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:true,implicitAttrs:{"aria-level":"5"}},h6:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:true,implicitAttrs:{"aria-level":"6"}},head:{allowedRoles:false,noAriaAttrs:true},header:{contentTypes:["flow"],allowedRoles:["group","none","presentation","doc-footnote"],shadowRoot:true},hgroup:{contentTypes:["heading","flow"],allowedRoles:true},hr:{contentTypes:["flow"],allowedRoles:["none","presentation","doc-pagebreak"],namingMethods:["titleText","singleSpace"]},html:{allowedRoles:false,noAriaAttrs:true},i:{contentTypes:["phrasing","flow"],allowedRoles:true},iframe:{contentTypes:["interactive","embedded","phrasing","flow"],allowedRoles:["application","document","img","none","presentation"],chromiumRole:"Iframe"},img:{variant:{nonEmptyAlt:{matches:[{attributes:{alt:"/.+/"}},{hasAccessibleName:true}],allowedRoles:["button","checkbox","link","math","menuitem","menuitemcheckbox","menuitemradio","meter","option","progressbar","radio","scrollbar","separator","slider","switch","tab","treeitem","doc-cover"]},usemap:{matches:"[usemap]",contentTypes:["interactive","embedded","flow"]},default:{allowedRoles:["presentation","none"],contentTypes:["embedded","flow"]}},namingMethods:["altText"]},input:{variant:{button:{matches:{properties:{type:"button"}},allowedRoles:["checkbox","combobox","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","switch","tab"]},buttonType:{matches:{properties:{type:["button","submit","reset"]}},namingMethods:["valueText","titleText","buttonDefaultText"]},checkboxPressed:{matches:{properties:{type:"checkbox"},attributes:{"aria-pressed":"/.*/"}},allowedRoles:["button","menuitemcheckbox","option","switch"],implicitAttrs:{"aria-checked":"false"}},checkbox:{matches:{properties:{type:"checkbox"},attributes:{"aria-pressed":null}},allowedRoles:["menuitemcheckbox","option","switch"],implicitAttrs:{"aria-checked":"false"}},noRoles:{matches:{properties:{type:["color","date","datetime-local","file","month","number","password","range","reset","submit","time","week"]}},allowedRoles:false},hidden:{matches:{properties:{type:"hidden"}},contentTypes:["flow"],allowedRoles:false,noAriaAttrs:true},image:{matches:{properties:{type:"image"}},allowedRoles:["link","menuitem","menuitemcheckbox","menuitemradio","radio","switch"],namingMethods:["altText","valueText","labelText","titleText","buttonDefaultText"]},radio:{matches:{properties:{type:"radio"}},allowedRoles:["menuitemradio"],implicitAttrs:{"aria-checked":"false"}},textWithList:{matches:{properties:{type:"text"},attributes:{list:"/.*/"}},allowedRoles:false},default:{contentTypes:["interactive","flow"],allowedRoles:["combobox","searchbox","spinbutton"],implicitAttrs:{"aria-valuenow":""},namingMethods:["labelText","placeholderText"]}}},ins:{contentTypes:["phrasing","flow"],allowedRoles:true},kbd:{contentTypes:["phrasing","flow"],allowedRoles:true},label:{contentTypes:["interactive","phrasing","flow"],allowedRoles:false,chromiumRole:"Label"},legend:{allowedRoles:false},li:{allowedRoles:["menuitem","menuitemcheckbox","menuitemradio","option","none","presentation","radio","separator","tab","treeitem","doc-biblioentry","doc-endnote"],implicitAttrs:{"aria-setsize":"1","aria-posinset":"1"}},link:{contentTypes:["phrasing","flow"],allowedRoles:false,noAriaAttrs:true},main:{contentTypes:["flow"],allowedRoles:false,shadowRoot:true},map:{contentTypes:["phrasing","flow"],allowedRoles:false,noAriaAttrs:true},math:{contentTypes:["embedded","phrasing","flow"],allowedRoles:false},mark:{contentTypes:["phrasing","flow"],allowedRoles:true},menu:{contentTypes:["flow"],allowedRoles:["directory","group","listbox","menu","menubar","none","presentation","radiogroup","tablist","toolbar","tree"]},meta:{variant:{itemprop:{matches:"[itemprop]",contentTypes:["phrasing","flow"]}},allowedRoles:false,noAriaAttrs:true},meter:{contentTypes:["phrasing","flow"],allowedRoles:false,chromiumRole:"progressbar"},nav:{contentTypes:["sectioning","flow"],allowedRoles:["doc-index","doc-pagelist","doc-toc","menu","menubar","none","presentation","tablist"],shadowRoot:true},noscript:{contentTypes:["phrasing","flow"],allowedRoles:false,noAriaAttrs:true},object:{variant:{usemap:{matches:"[usemap]",contentTypes:["interactive","embedded","phrasing","flow"]},default:{contentTypes:["embedded","phrasing","flow"]}},allowedRoles:["application","document","img"],chromiumRole:"PluginObject"},ol:{contentTypes:["flow"],allowedRoles:["directory","group","listbox","menu","menubar","none","presentation","radiogroup","tablist","toolbar","tree"]},optgroup:{allowedRoles:false},option:{allowedRoles:false,implicitAttrs:{"aria-selected":"false"}},output:{contentTypes:["phrasing","flow"],allowedRoles:true,namingMethods:["subtreeText"]},p:{contentTypes:["flow"],allowedRoles:true,shadowRoot:true},param:{allowedRoles:false,noAriaAttrs:true},picture:{contentTypes:["phrasing","flow"],allowedRoles:false,noAriaAttrs:true},pre:{contentTypes:["flow"],allowedRoles:true},progress:{contentTypes:["phrasing","flow"],allowedRoles:false,implicitAttrs:{"aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":"0"}},q:{contentTypes:["phrasing","flow"],allowedRoles:true},rp:{allowedRoles:true},rt:{allowedRoles:true},ruby:{contentTypes:["phrasing","flow"],allowedRoles:true},s:{contentTypes:["phrasing","flow"],allowedRoles:true},samp:{contentTypes:["phrasing","flow"],allowedRoles:true},script:{contentTypes:["phrasing","flow"],allowedRoles:false,noAriaAttrs:true},search:{contentTypes:["flow"],allowedRoles:["form","group","none","presentation","region","search"]},section:{contentTypes:["sectioning","flow"],allowedRoles:["alert","alertdialog","application","banner","complementary","contentinfo","dialog","document","feed","group","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"],shadowRoot:true},select:{variant:{combobox:{matches:{attributes:{multiple:null,size:[null,"1"]}},allowedRoles:["menu"]},default:{allowedRoles:false}},contentTypes:["interactive","phrasing","flow"],implicitAttrs:{"aria-valuenow":""},namingMethods:["labelText"]},slot:{contentTypes:["phrasing","flow"],allowedRoles:false,noAriaAttrs:true},small:{contentTypes:["phrasing","flow"],allowedRoles:true},source:{allowedRoles:false,noAriaAttrs:true},span:{contentTypes:["phrasing","flow"],allowedRoles:true,shadowRoot:true},strong:{contentTypes:["phrasing","flow"],allowedRoles:true},style:{allowedRoles:false,noAriaAttrs:true},svg:{contentTypes:["embedded","phrasing","flow"],allowedRoles:true,chromiumRole:"SVGRoot",namingMethods:["svgTitleText"]},sub:{contentTypes:["phrasing","flow"],allowedRoles:true},summary:{allowedRoles:false,namingMethods:["subtreeText"]},sup:{contentTypes:["phrasing","flow"],allowedRoles:true},table:{contentTypes:["flow"],allowedRoles:true,namingMethods:["tableCaptionText","tableSummaryText"]},tbody:{allowedRoles:true},template:{contentTypes:["phrasing","flow"],allowedRoles:false,noAriaAttrs:true},textarea:{contentTypes:["interactive","phrasing","flow"],allowedRoles:false,implicitAttrs:{"aria-valuenow":"","aria-multiline":"true"},namingMethods:["labelText","placeholderText"]},tfoot:{allowedRoles:true},thead:{allowedRoles:true},time:{contentTypes:["phrasing","flow"],allowedRoles:true},title:{allowedRoles:false,noAriaAttrs:true},td:{allowedRoles:true},th:{allowedRoles:true},tr:{allowedRoles:true},track:{allowedRoles:false,noAriaAttrs:true},u:{contentTypes:["phrasing","flow"],allowedRoles:true},ul:{contentTypes:["flow"],allowedRoles:["directory","group","listbox","menu","menubar","none","presentation","radiogroup","tablist","toolbar","tree"]},var:{contentTypes:["phrasing","flow"],allowedRoles:true},video:{variant:{controls:{matches:"[controls]",contentTypes:["interactive","embedded","phrasing","flow"]},default:{contentTypes:["embedded","phrasing","flow"]}},allowedRoles:["application"],chromiumRole:"video"},wbr:{contentTypes:["phrasing","flow"],allowedRoles:["presentation","none"],allowedAriaAttrs:["aria-hidden"]}},rD=tD,nD={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},aD=nD,Xf={ariaAttrs:Wf,ariaRoles:Te({},Uf,Zx,eD),htmlElms:rD,cssColors:aD},On=Te({},Xf);function iD(e){Object.keys(On).forEach(function(t){e[t]&&(On[t]=Ps(On[t],e[t]));});}function oD(){Object.keys(On).forEach(function(e){On[e]=Xf[e];});}var at=On;function sD(e){var t=at.ariaRoles[e];return t?!!t.unsupported:false}var el=sD;function lD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.allowAbstract,n=t.flagUnsupported,a=n===void 0?false:n,i=at.ariaRoles[e],o=el(e);return !i||a&&o?false:r?true:i.type!=="abstract"}var Sa=lD;function uD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.fallback,n=t.abstracts,a=t.dpub;if(e=e instanceof Mt?e:Ke(e),e.props.nodeType!==1)return null;var i=(e.attr("role")||"").trim().toLowerCase(),o=r?jt(i):[i],s=o.find(function(l){return !a&&l.substr(0,4)==="doc-"?false:Sa(l,{allowAbstract:n})});return s||null}var Qe=uD;function cD(e){return Object.keys(at.htmlElms).filter(function(t){var r=at.htmlElms[t];return r.contentTypes?r.contentTypes.includes(e):r.variant&&r.variant.default&&r.variant.default.contentTypes?r.variant.default.contentTypes.includes(e):false})}var tl=cD;function dD(){return Ue.get("globalAriaAttrs",function(){return Object.keys(at.ariaAttrs).filter(function(e){return at.ariaAttrs[e].global})})}var tn=dD;function fD(e){for(var t=[],r=e.rows,n=0,a=r.length;n<a;n++){var i=r[n].cells;t[n]=t[n]||[];for(var o=0,s=0,l=i.length;s<l;s++)for(var u=0;u<i[s].colSpan;u++){for(var c=i[s].getAttribute("rowspan"),f=parseInt(c)===0||i[s].rowspan===0?r.length:i[s].rowSpan,g=0;g<f;g++){for(t[n+g]=t[n+g]||[];t[n+g][o];)o++;t[n+g][o]=i[s];}o++;}}return t}var Hr=mt(fD);function pD(e,t){var r,n;for(t||(t=Hr(Mn(e,"table"))),r=0;r<t.length;r++)if(t[r]&&(n=t[r].indexOf(e),n!==-1))return {x:n,y:r}}var Qi=mt(pD);function rl(e){var t=rt(e),r=t.vNode,n=t.domNode,a=r.attr("scope"),i=Qe(r);if(!["td","th"].includes(r.props.nodeName))throw new TypeError("Expected TD or TH element");if(i==="columnheader")return "col";if(i==="rowheader")return "row";if(a==="col"||a==="row")return a;if(r.props.nodeName!=="th")return false;if(!r.actualNode)return "auto";var o=Hr(Mn(n,"table")),s=Qi(n,o),l=o[s.y].every(function(c){return c.nodeName.toUpperCase()==="TH"});if(l)return "col";var u=o.map(function(c){return c[s.x]}).every(function(c){return c&&c.nodeName.toUpperCase()==="TH"});return u?"row":"auto"}function mD(e){return ["col","auto"].indexOf(rl(e))!==-1}var Pn=mD;function hD(e){return ["row","auto"].includes(rl(e))}var Nn=hD;function gD(e){return e?e.replace(/\r\n/g,`
|
|
373
|
-
`).replace(/\u00A0/g," ").replace(/[\s]{2,}/g," ").trim():""}var Ve=gD,Yf=function(){return Ue.get("sectioningContentSelector",function(){return tl("sectioning").map(function(t){return "".concat(t,":not([role])")}).join(", ")+" , [role=article], [role=complementary], [role=navigation], [role=region]"})},Kf=function(){return Ue.get("sectioningContentPlusMainSelector",function(){return Yf()+" , main:not([role]), [role=main]"})};function nl(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.checkTitle,n=r===void 0?false:r;return !!(Ve(Ea(e))||Ve(Ca(e))||n&&e?.props.nodeType===1&&Ve(e.attr("title")))}var vD={a:function(t){return t.hasAttr("href")?"link":null},area:function(t){return t.hasAttr("href")?"link":null},article:"article",aside:function(t){return Jt(t.parent,Yf())&&!nl(t,{checkTitle:true})?null:"complementary"},body:"document",button:"button",datalist:"listbox",dd:"definition",dfn:"term",details:"group",dialog:"dialog",dt:"term",fieldset:"group",figure:"figure",footer:function(t){var r=Jt(t,Kf());return r?null:"contentinfo"},form:function(t){return nl(t)?"form":null},h1:"heading",h2:"heading",h3:"heading",h4:"heading",h5:"heading",h6:"heading",header:function(t){var r=Jt(t,Kf());return r?null:"banner"},hr:"separator",img:function(t){var r=t.hasAttr("alt")&&!t.attr("alt"),n=tn().find(function(a){return t.hasAttr(a)});return r&&!n&&!Ct(t)?"presentation":"img"},input:function(t){var r;if(t.hasAttr("list")){var n=_r(t.actualNode,"list").filter(function(a){return !!a})[0];r=n&&n.nodeName.toLowerCase()==="datalist";}switch(t.props.type){case "checkbox":return "checkbox";case "number":return "spinbutton";case "radio":return "radio";case "range":return "slider";case "search":return r?"combobox":"searchbox";case "button":case "image":case "reset":case "submit":return "button";case "text":case "tel":case "url":case "email":case "":return r?"combobox":"textbox";default:return "textbox"}},li:"listitem",main:"main",math:"math",menu:"list",meter:"meter",nav:"navigation",ol:"list",optgroup:"group",option:"option",output:"status",progress:"progressbar",search:"search",section:function(t){return nl(t)?"region":null},select:function(t){return t.hasAttr("multiple")||parseInt(t.attr("size"))>1?"listbox":"combobox"},summary:"button",table:"table",tbody:"rowgroup",td:function(t){var r=Jt(t,"table"),n=Qe(r);return ["grid","treegrid"].includes(n)?"gridcell":"cell"},textarea:"textbox",tfoot:"rowgroup",th:function(t){if(Pn(t))return "columnheader";if(Nn(t))return "rowheader"},thead:"rowgroup",tr:"row",ul:"list"},al=vD;function bD(e,t){var r=fe(t);if(Array.isArray(t)&&typeof e<"u")return t.includes(e);if(r==="function")return !!t(e);if(e!=null){if(t instanceof RegExp)return t.test(e);if(/^\/.*\/$/.test(t)){var n=t.substring(1,t.length-1);return new RegExp(n).test(e)}}return t===e}var bn=bD;function yD(e,t){return bn(!!Pt(e),t)}var Jf=yD;function wD(e,t){var r=fe(t);if(r!=="object"||Array.isArray(t)||t instanceof RegExp)throw new Error("Expect matcher to be an object");return Object.keys(t).every(function(n){return bn(e(n),t[n])})}var il=wD;function xD(e,t){return e=rt(e).vNode,il(function(r){return e.attr(r)},t)}var Zf=xD;function Qf(e,t){return !!t(e)}function DD(e,t){return bn(Qe(e),t)}var ep=DD;function AD(e,t){return bn(Er(e),t)}var tp=AD;function _D(e,t){return e=rt(e).vNode,bn(e.props.nodeName,t)}var rp=_D;function ED(e,t){return e=rt(e).vNode,il(function(r){return e.props[r]},t)}var np=ED;function CD(e,t){return bn(Ye(e),t)}var ap=CD,ip={hasAccessibleName:Jf,attributes:Zf,condition:Qf,explicitRole:ep,implicitRole:tp,nodeName:rp,properties:np,semanticRole:ap};function op(e,t){return e=rt(e).vNode,Array.isArray(t)?t.some(function(r){return op(e,r)}):typeof t=="string"?Es(e,t):Object.keys(t).every(function(r){if(!ip[r])throw new Error('Unknown matcher type "'.concat(r,'"'));var n=ip[r],a=t[r];return n(e,a)})}var sp=op;function SD(e,t){return sp(e,t)}var Qt=SD;Qt.hasAccessibleName=Jf,Qt.attributes=Zf,Qt.condition=Qf,Qt.explicitRole=ep,Qt.fromDefinition=sp,Qt.fromFunction=il,Qt.fromPrimative=bn,Qt.implicitRole=tp,Qt.nodeName=rp,Qt.properties=np,Qt.semanticRole=ap;var ka=Qt;function kD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.noMatchAccessibleName,n=r===void 0?false:r,a=at.htmlElms[e.props.nodeName];if(!a)return {};if(!a.variant)return a;var i=a.variant,o=J(a,T);for(var s in i)if(!(!i.hasOwnProperty(s)||s==="default")){for(var l=i[s],u=l.matches,c=J(l,k),f=Array.isArray(u)?u:[u],g=0;g<f.length&&n;g++)if(f[g].hasOwnProperty("hasAccessibleName"))return a;if(ka(e,u))for(var w in c)c.hasOwnProperty(w)&&(o[w]=c[w]);}for(var S in i.default)i.default.hasOwnProperty(S)&&typeof o[S]>"u"&&(o[S]=i.default[S]);return o}var rn=kD;function TD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.chromium,n=e instanceof Mt?e:Ke(e);if(e=n.actualNode,!n)throw new ReferenceError("Cannot get implicit role of a node outside the current scope.");var a=n.props.nodeName,i=al[a];if(!i&&r){var o=rn(n),s=o.chromiumRole;return s||null}return typeof i=="function"?i(n):i||null}var Er=TD,RD={td:["tr"],th:["tr"],tr:["thead","tbody","tfoot","table"],thead:["table"],tbody:["table"],tfoot:["table"],li:["ol","ul"],dt:["dl","div"],dd:["dl","div"],div:["dl"]};function lp(e,t){var r=RD[e.props.nodeName];if(!r)return null;if(!e.parent){if(!e.actualNode)return null;throw new ReferenceError("Cannot determine role presentational inheritance of a required parent outside the current scope.")}if(!r.includes(e.parent.props.nodeName))return null;var n=Qe(e.parent,t);return ["none","presentation"].includes(n)&&!cp(e.parent)?n:n?null:lp(e.parent,t)}function up(e,t){var r=t.chromium,n=J(t,M),a=Er(e,{chromium:r});if(!a)return null;var i=lp(e,n);return i||a}function cp(e){var t=tn().some(function(r){return e.hasAttr(r)});return t||Ct(e)}function FD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.noImplicit,n=J(t,N),a=rt(e),i=a.vNode;if(i.props.nodeType!==1)return null;var o=Qe(i,n);return o?["presentation","none"].includes(o)&&cp(i)?r?null:up(i,n):o:r?null:up(i,n)}function ID(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.noPresentational,n=J(t,j),a=FD(e,n);return r&&["presentation","none"].includes(a)?null:a}var Ye=ID,LD=["iframe"];function MD(e){var t=rt(e),r=t.vNode;return r.props.nodeType!==1||!e.hasAttr("title")||!Qt(r,LD)&&["none","presentation"].includes(Ye(r))?"":r.attr("title")}var eo=MD;function OD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.strict;if(e=e instanceof Mt?e:Ke(e),e.props.nodeType!==1)return false;var n=Ye(e),a=at.ariaRoles[n];return a&&a.nameFromContent?true:r?false:!a||["presentation","none"].includes(n)}var dp=OD;function PD(e){var t=e.actualNode,r=e.children;if(!r)throw new Error("getOwnedVirtual requires a virtual node");if(e.hasAttr("aria-owns")){var n=_r(t,"aria-owns").filter(function(o){return !!o}).map(function(o){return m.utils.getNodeFromTree(o)}),a=n.filter(function(o,s){return n.indexOf(o)===s}),i=r.filter(function(o){return !a.includes(o)});return [].concat(_e(i),_e(a))}return _e(r)}var Ta=PD,fp={accessibleNameFromFieldValue:["progressbar"]};function bt(e){return e=rt(e).vNode,ol(e)}var ol=mt(function(t,r){return mf(t)||Ji(t,{skipAncestors:true,isAncestor:r})?false:t.actualNode&&t.props.nodeName==="area"?!Hs(t,ol):en(t,{skipAncestors:true,isAncestor:r})?false:t.parent?ol(t.parent,true):true});function pp(e,t,r){var n=rt(e),a=n.vNode,i=t?bt:Zt,o=!e.actualNode||e.actualNode&&i(e),s=a.children.map(function(l){var u=l.props,c=u.nodeType,f=u.nodeValue;if(c===3){if(f&&o)return f}else if(!r)return pp(l,t)}).join("");return Ve(s)}var Cr=pp,ND=["button","checkbox","color","file","hidden","image","password","radio","reset","submit"];function qD(e){e=e instanceof Mt?e:Ke(e);var t=e.props.nodeName;return t==="textarea"||t==="input"&&!ND.includes((e.attr("type")||"").toLowerCase())}var mp=qD;function BD(e){e=e instanceof Mt?e:Ke(e);var t=e.props.nodeName;return t==="select"}var hp=BD;function HD(e){var t=Qe(e);return t==="textbox"}var gp=HD;function VD(e){var t=Qe(e);return t==="listbox"}var vp=VD;function jD(e){var t=Qe(e);return t==="combobox"}var bp=jD,$D=["progressbar","scrollbar","slider","spinbutton"];function zD(e){var t=Qe(e);return $D.includes(t)}var yp=zD,wp=["textbox","progressbar","scrollbar","slider","spinbutton","combobox","listbox"],sl={nativeTextboxValue:WD,nativeSelectValue:UD,ariaTextboxValue:XD,ariaListboxValue:xp,ariaComboboxValue:YD,ariaRangeValue:KD};function GD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=e.actualNode,n=fp.accessibleNameFromFieldValue||[],a=Ye(e);if(t.startNode===e||!wp.includes(a)||n.includes(a))return "";var i=Object.keys(sl).map(function(s){return sl[s]}),o=i.reduce(function(s,l){return s||l(e,t)},"");return t.debug&&mn(o||"{empty-value}",r,t),o}function WD(e){var t=rt(e),r=t.vNode;return mp(r)&&r.props.value||""}function UD(e){var t=rt(e),r=t.vNode;if(!hp(r))return "";var n=tr(r,"option"),a=n.filter(function(i){return i.props.selected});return a.length||a.push(n[0]),a.map(function(i){return Cr(i)}).join(" ")||""}function XD(e){var t=rt(e),r=t.vNode,n=t.domNode;return gp(r)?!n||n&&!en(n)?Cr(r,true):n.textContent:""}function xp(e,t){var r=rt(e),n=r.vNode;if(!vp(n))return "";var a=Ta(n).filter(function(i){return Ye(i)==="option"&&i.attr("aria-selected")==="true"});return a.length===0?"":Pt(a[0],t)}function YD(e,t){var r=rt(e),n=r.vNode;if(!bp(n))return "";var a=Ta(n).filter(function(i){return Ye(i)==="listbox"})[0];return a?xp(a,t):""}function KD(e){var t=rt(e),r=t.vNode;if(!yp(r)||!r.hasAttr("aria-valuenow"))return "";var n=+r.attr("aria-valuenow");return isNaN(n)?"0":String(n)}var Dp=GD;function JD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=Pt.alreadyProcessed;t.startNode=t.startNode||e;var n=t,a=n.strict,i=n.inControlContext,o=n.inLabelledByContext,s=Ye(e),l=rn(e,{noMatchAccessibleName:true}),u=l.contentTypes;if(r(e,t)||e.props.nodeType!==1||u!=null&&u.includes("embedded")||wp.includes(s)||!t.subtreeDescendant&&!t.inLabelledByContext&&!dp(e,{strict:a}))return "";if(!a){var c=!i&&!o;t=Te({subtreeDescendant:c},t);}return Ta(e).reduce(function(f,g){return QD(f,g,t)},"")}var ZD=tl("phrasing").concat(["#text"]);function QD(e,t,r){var n=t.props.nodeName,a=Pt(t,r);return a?(ZD.includes(n)||(a[0]!==" "&&(a+=" "),e&&e[e.length-1]!==" "&&(a=" "+a)),e+a):e}var nn=JD;function eA(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=Pt.alreadyProcessed;if(t.inControlContext||t.inLabelledByContext||r(e,t))return "";t.startNode||(t.startNode=e);var n=Te({inControlContext:true},t),a=tA(e),i=Jt(e,"label"),o;return i?(o=[].concat(_e(a),[i.actualNode]),o.sort(Pl)):o=a,o.map(function(s){return vn(s,n)}).filter(function(s){return s!==""}).join(" ")}function tA(e){if(!e.attr("id"))return [];if(!e.actualNode)throw new TypeError("Cannot resolve explicit label reference for non-DOM nodes");return lf({elm:"label",attr:"for",value:e.attr("id"),context:e.actualNode})}var ll=eA,rA={submit:"Submit",image:"Submit",reset:"Reset",button:""},nA={valueText:function(t){return t.props.value||""},buttonDefaultText:function(t){return rA[t.props.type]||""},tableCaptionText:to.bind(null,"caption"),figureText:to.bind(null,"figcaption"),svgTitleText:to.bind(null,"title"),fieldsetLegendText:to.bind(null,"legend"),altText:ul.bind(null,"alt"),tableSummaryText:ul.bind(null,"summary"),titleText:eo,subtreeText:nn,labelText:ll,singleSpace:function(){return " "},placeholderText:ul.bind(null,"placeholder")};function ul(e,t){return t.attr(e)||""}function to(e,t,r){var n=t.actualNode;e=e.toLowerCase();var a=[e,n.nodeName.toLowerCase()].join(","),i=n.querySelector(a);return !i||i.nodeName.toLowerCase()!==e?"":vn(i,r)}var Ap=nA;function _p(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=e.actualNode;if(e.props.nodeType!==1||["presentation","none"].includes(Ye(e)))return "";var n=aA(e),a=n.reduce(function(i,o){return i||o(e,t)},"");return t.debug&&m.log(a||"{empty-value}",r,t),a}function aA(e){var t=rn(e,{noMatchAccessibleName:true}),r=t.namingMethods||[];return r.map(function(n){return Ap[n]})}function Ep(){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}function Cp(){return /[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&\xa3\xa2\xa5\xa7\u20ac()*+,\-.\/:;<=>?@\[\]^_`{|}~\xb1]/g}function Sp(){return /[\uDB80-\uDBBF][\uDC00-\uDFFF]/g}function kp(){return /[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC38]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/g}function iA(e,t){var r=t.emoji,n=t.nonBmp,a=t.punctuations,i=false;return r&&(i||(i=Jo().test(e))),n&&(i||(i=Ep().test(e)||Sp().test(e)||kp().test(e))),a&&(i||(i=Cp().test(e))),i}var cl=iA;function dl(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:.15,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:3,n=e.actualNode.nodeValue.trim();if(!Ve(n)||cl(n,{emoji:true,nonBmp:true}))return false;var a=Ue.get("canvasContext",function(){return v.createElement("canvas").getContext("2d",{willReadFrequently:true})}),i=a.canvas,o=Ue.get("fonts",function(){return {}}),s=d.getComputedStyle(e.parent.actualNode),l=s.getPropertyValue("font-family");o[l]||(o[l]={occurrences:0,numLigatures:0});var u=o[l];if(u.occurrences>=r){if(u.numLigatures/u.occurrences===1)return true;if(u.numLigatures===0)return false}u.occurrences++;var c=30,f="".concat(c,"px ").concat(l);a.font=f;var g=n.charAt(0),w=a.measureText(g).width;if(w===0)return u.numLigatures++,true;if(w<30){var S=30/w;w*=S,c*=S,f="".concat(c,"px ").concat(l);}i.width=w,i.height=c,a.font=f,a.textAlign="left",a.textBaseline="top",a.fillText(g,0,0);var P=new Uint32Array(a.getImageData(0,0,w,c).data.buffer);if(!P.some(function(ne){return ne}))return u.numLigatures++,true;a.clearRect(0,0,w,c),a.fillText(n,0,0);var H=new Uint32Array(a.getImageData(0,0,w,c).data.buffer),z=P.reduce(function(ne,se,pe){return se===0&&H[pe]===0||se!==0&&H[pe]!==0?ne:++ne},0),G=n.split("").reduce(function(ne,se){return ne+a.measureText(se).width},0),X=a.measureText(n).width,Y=z/P.length,Z=1-X/G;return Y>=t&&Z>=t?(u.numLigatures++,true):false}function Pt(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(t=uA(e,t),sA(e,t)||lA(e,t))return "";var r=[Ea,Ca,_p,Dp,nn,oA,eo],n=r.reduce(function(a,i){return t.startNode===e&&(a=Ve(a)),a!==""?a:i(e,t)},"");return t.debug&&m.log(n||"{empty-value}",e.actualNode,t),n}function oA(e){return e.props.nodeType!==3?"":e.props.nodeValue}function sA(e,t){return !e||e.props.nodeType!==1||t.includeHidden?false:!bt(e)}function lA(e,t){var r,n=t.ignoreIconLigature,a=t.pixelThreshold,i=(r=t.occurrenceThreshold)!==null&&r!==void 0?r:t.occuranceThreshold;return e.props.nodeType!==3||!n?false:dl(e,a,i)}function uA(e,t){return t.startNode||(t=Te({startNode:e},t)),e.props.nodeType===1&&t.inLabelledByContext&&t.includeHidden===void 0&&(t=Te({includeHidden:!bt(e)},t)),t}Pt.alreadyProcessed=function(t,r){return r.processed=r.processed||[],r.processed.includes(t)?true:(r.processed.push(t),false)};function cA(e,t){var r=t.emoji,n=t.nonBmp,a=t.punctuations;return r&&(e=e.replace(Jo(),"")),n&&(e=e.replace(Ep(),"").replace(Sp(),"").replace(kp(),"")),a&&(e=e.replace(Cp(),"")),e}var Ra=cA;function dA(e){return fA(e)||pA(e)||mA(e)||hA(e)?0:1}function fA(e){return Ve(e).length===0}function pA(e){return e.length===1&&e.match(/\D/)}function mA(e){var t=["aa","abc"];return t.includes(e.toLowerCase())}function hA(e){var t=Ra(e,{emoji:true,nonBmp:true,punctuations:true});return !Ve(t)}var fl=dA,yn={stateTerms:["on","off"],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"],qualifiers:["home","work","mobile","fax","pager"],qualifiedTerms:["tel","tel-country-code","tel-national","tel-area-code","tel-local","tel-local-prefix","tel-local-suffix","tel-extension","email","impp"],locations:["billing","shipping"]};function gA(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.looseTyped,n=r===void 0?false:r,a=t.stateTerms,i=a===void 0?[]:a,o=t.locations,s=o===void 0?[]:o,l=t.qualifiers,u=l===void 0?[]:l,c=t.standaloneTerms,f=c===void 0?[]:c,g=t.qualifiedTerms,w=g===void 0?[]:g,S=t.ignoredValues,P=S===void 0?[]:S;if(e=e.toLowerCase().trim(),i=i.concat(yn.stateTerms),i.includes(e)||e==="")return true;u=u.concat(yn.qualifiers),s=s.concat(yn.locations),f=f.concat(yn.standaloneTerms),w=w.concat(yn.qualifiedTerms);var H=e.split(/\s+/g);if(H[H.length-1]==="webauthn"&&(H.pop(),H.length===0)||!n&&(H[0].length>8&&H[0].substr(0,8)==="section-"&&H.shift(),s.includes(H[0])&&H.shift(),u.includes(H[0])&&(H.shift(),f=[]),H.length!==1))return false;var z=H[H.length-1];if(!P.includes(z))return f.includes(z)||w.includes(z)}var Tp=gA;function vA(e){var t,r;return e.attr("aria-labelledby")&&(t=_r(e.actualNode,"aria-labelledby"),r=t.map(function(n){var a=Ke(n);return a?Cr(a):""}).join(" ").trim(),r)||(r=e.attr("aria-label"),r&&(r=Ve(r),r))?r:null}var ro=vA;function bA(e,t,r){return e=Ke(e),Cr(e,t,r)}var Rp=bA;function yA(e){var t,r,n;if(r=ro(e),r)return r;if(e.attr("id")){if(!e.actualNode)throw new TypeError("Cannot resolve explicit label reference for non-DOM nodes");var a=Dt(e.attr("id"));if(n=qt(e.actualNode),t=n.querySelector('label[for="'+a+'"]'),r=t&&Rp(t,true),r)return r}return t=Jt(e,"label"),r=t&&Cr(t,true),r||null}var no=yA;function wA(e){return e=Ke(e),no(e)}var xA=wA,DA=[{matches:[{nodeName:"textarea"},{nodeName:"input",properties:{type:["text","password","search","tel","email","url"]}}],namingMethods:"labelText"},{matches:{nodeName:"input",properties:{type:["button","submit","reset"]}},namingMethods:["valueText","titleText","buttonDefaultText"]},{matches:{nodeName:"input",properties:{type:"image"}},namingMethods:["altText","valueText","labelText","titleText","buttonDefaultText"]},{matches:"button",namingMethods:"subtreeText"},{matches:"fieldset",namingMethods:"fieldsetLegendText"},{matches:"OUTPUT",namingMethods:"subtreeText"},{matches:[{nodeName:"select"},{nodeName:"input",properties:{type:/^(?!text|password|search|tel|email|url|button|submit|reset)/}}],namingMethods:"labelText"},{matches:"summary",namingMethods:"subtreeText"},{matches:"figure",namingMethods:["figureText","titleText"]},{matches:"img",namingMethods:"altText"},{matches:"table",namingMethods:["tableCaptionText","tableSummaryText"]},{matches:["hr","br"],namingMethods:["titleText","singleSpace"]}],AA=DA;function Fp(e){var t=Zt(e),r=[];return e.children.forEach(function(n){n.actualNode.nodeType===3?t&&r.push(n):r=r.concat(Fp(n));}),r}var _A=Fp,EA=mt(function(t){var r=Ke(t),n=r.boundingClientRect,a=[],i=xa(r);return t.childNodes.forEach(function(o){if(!(o.nodeType!==3||Ve(o.nodeValue)==="")){var s=CA(o);SA(s,n)||a.push.apply(a,_e(Ip(s,i)));}}),a.length?a:Ip([n],i)}),pl=EA;function CA(e){var t=v.createRange();return t.selectNodeContents(e),Array.from(t.getClientRects())}function SA(e,t){return e.some(function(r){var n=Da(r);return !Wi(n,t)})}function Ip(e,t){var r=[];return e.forEach(function(n){if(!(n.width<1||n.height<1)){var a=t.reduce(function(i,o){return i&&Ui(i,o.boundingClientRect)},n);a&&r.push(a);}}),r}function kA(e){var t=Yi(e);if(!t)return [];var r=pl(e);return r.map(function(n){return Zs(t,n)})}var ml=kA,TA=["checkbox","img","meter","progressbar","scrollbar","radio","slider","spinbutton","textbox"];function RA(e){var t=rt(e),r=t.vNode,n=m.commons.aria.getExplicitRole(r);if(n)return TA.indexOf(n)!==-1;switch(r.props.nodeName){case "img":case "iframe":case "object":case "video":case "audio":case "canvas":case "svg":case "math":case "button":case "select":case "textarea":case "keygen":case "progress":case "meter":return true;case "input":return r.props.type!=="hidden";default:return false}}var hl=RA,FA=["head","title","template","script","style","iframe","object","video","audio","noscript"];function ao(e){return FA.includes(e.props.nodeName)?false:e.children.some(function(t){var r=t.props;return r.nodeType===3&&r.nodeValue.trim()})}function Lp(e,t,r){return ao(e)||hl(e.actualNode)||!r&&!!ro(e)||!t&&e.children.some(function(n){return n.actualNode.nodeType===1&&Lp(n)})}var Fa=Lp;function IA(e,t,r){return e=Ke(e),Fa(e,t,r)}var io=IA;function gl(e){return typeof e.children>"u"||ao(e)?true:e.props.nodeType===1&&hl(e)?!!m.commons.text.accessibleTextVirtual(e):e.children.some(function(t){return !t.attr("lang")&&gl(t)&&!en(t)})}function LA(e){var t=kr(e.getAttribute("tabindex"));return t>-1&&Ct(e)&&!Qs(e)}var Mp=LA;function Op(e,t){var r=rt(e),n=r.vNode,a=r.domNode;return n?(n._isHiddenWithCSS===void 0&&(n._isHiddenWithCSS=Pp(a,t)),n._isHiddenWithCSS):Pp(a,t)}function Pp(e,t){if(e.nodeType===9||(e.nodeType===11&&(e=e.host),["STYLE","SCRIPT"].includes(e.nodeName.toUpperCase())))return false;var r=d.getComputedStyle(e,null);if(!r)throw new Error("Style does not exist for the given element.");var n=r.getPropertyValue("display");if(n==="none")return true;var a=["hidden","collapse"],i=r.getPropertyValue("visibility");if(a.includes(i)&&!t||a.includes(i)&&t&&a.includes(t))return true;var o=Ot(e);return o&&!a.includes(i)?Op(o,i):false}var MA=Op;function OA(e){var t=e.doctype;return t===null?false:t.name==="html"&&!t.publicId&&!t.systemId}var Np=OA;function PA(e){var t;(e instanceof Mt||(t=d)!==null&&t!==void 0&&t.Node&&e instanceof d.Node)&&(e=m.commons.aria.getRole(e));var r=at.ariaRoles[e];return r?.type||null}var yr=PA,NA=["block","list-item","table","flex","grid"],qA=["inline-block","inline-flex","inline-grid"];function BA(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.noLengthCompare,n=t.includeInlineBlock,a=n===void 0?false:n,i=rt(e),o=i.vNode,s=i.domNode;if(bl(s)||!a&&HA(o))return false;var l=VA(s),u="",c="",f=0;return qp(l,function(g){if(g===l.actualNode)return true;if(f===2)return false;if(g.nodeType===3&&(u+=g.nodeValue),g.nodeType===1){var w=(g.nodeName||"").toUpperCase();g===s&&(f=1);var S=bl(g);if((S||["BR","HR"].includes(w))&&(f===0?(u="",c=""):f=2),S||g.style.display==="none"||g.style.overflow==="hidden"||!["",null,"none"].includes(g.style.float)||!["",null,"relative"].includes(g.style.position))return false;if(yr(g)==="widget")return c+=g.textContent,false}}),u=Ve(u),r?u.length!==0:(c=Ve(c),u.length>c.length)}var vl=BA;function bl(e){var t=rt(e),r=t.vNode,n=r.getComputedStylePropertyValue("display");return NA.includes(n)||n.substr(0,6)==="table-"}function HA(e){var t=e.getComputedStylePropertyValue("display");return qA.includes(t)}function qp(e,t){t(e.actualNode)!==false&&e.children.forEach(function(r){return qp(r,t)});}function VA(e){for(var t=Ot(e);t&&!bl(t);)t=Ot(t);return Ke(t)}function jA(e){e=e||{};var t=e.modalPercent||.75;if(Ue.get("isModalOpen"))return Ue.get("isModalOpen");var r=Tr(m._tree[0],"dialog, [role=dialog], [aria-modal=true]",Zt);if(r.length)return Ue.set("isModalOpen",true),true;for(var n=$i(d),a=n.width*t,i=n.height*t,o=(n.width-a)/2,s=(n.height-i)/2,l=[{x:o,y:s},{x:n.width-o,y:s},{x:n.width/2,y:n.height/2},{x:o,y:n.height-s},{x:n.width-o,y:n.height-s}],u=l.map(function(w){return Array.from(v.elementsFromPoint(w.x,w.y))}),c=function(){var S=u[g].find(function(P){var H=d.getComputedStyle(P);return parseInt(H.width,10)>=a&&parseInt(H.height,10)>=i&&H.getPropertyValue("pointer-events")!=="none"&&(H.position==="absolute"||H.position==="fixed")});if(S&&u.every(function(P){return P.includes(S)}))return Ue.set("isModalOpen",true),{v:true}},f,g=0;g<u.length;g++)if(f=c(),f)return f.v;Ue.set("isModalOpen",void 0);}var Ia=jA;function Bp(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2,r=e.ownerDocument.createRange();r.setStart(e,0),r.setEnd(e,e.childNodes.length);var n=0,a=0,i=it(r.getClientRects()),o;try{for(i.s();!(o=i.n()).done;){var s=o.value;if(!(s.height<=t))if(n>s.top+t)n=Math.max(n,s.bottom);else if(a===0)n=s.bottom,a++;else return !0}}catch(l){i.e(l);}finally{i.f();}return false}function $A(e){return e instanceof d.Node}var zA=$A,yl="color.incompleteData",GA={set:function(t,r){if(typeof t!="string")throw new Error("Incomplete data: key must be a string");var n=Ue.get(yl,function(){return {}});return r&&(n[t]=r),n[t]},get:function(t){var r=Ue.get(yl);return r?.[t]},clear:function(){Ue.set(yl,{});}},ht=GA;function WA(e,t){var r=["IMG","CANVAS","OBJECT","IFRAME","VIDEO","SVG"],n=e.nodeName.toUpperCase();if(r.includes(n))return ht.set("bgColor","imgNode"),true;t=t||d.getComputedStyle(e);var a=t.getPropertyValue("background-image"),i=a!=="none";if(i){var o=/gradient/.test(a);ht.set("bgColor",o?"bgGradient":"bgImage");}return i}var oo=WA,UA=/^#[0-9a-f]{3,8}$/i,XA=/hsl\(\s*([-\d.]+)(rad|turn)/,La=(We=new WeakMap,tt=new WeakMap,ot=new WeakMap,pt=new WeakMap,Je=new WeakMap,qe=new WeakMap,Xt=new WeakSet,(function(){function e(t,r,n){var a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(rr(this,e),Za(this,Xt),Ft(this,We,void 0),Ft(this,tt,void 0),Ft(this,ot,void 0),Ft(this,pt,void 0),Ft(this,Je,void 0),Ft(this,qe,void 0),t instanceof La){var i=t.r,o=t.g,s=t.b;this.r=i,this.g=o,this.b=s,this.alpha=t.alpha;return}this.red=t,this.green=r,this.blue=n,this.alpha=a;}return zt(e,[{key:"r",get:function(){return $t(We,this)},set:function(r){Lt(We,this,r),Lt(pt,this,Math.round(qn(r,0,1)*255));}},{key:"g",get:function(){return $t(tt,this)},set:function(r){Lt(tt,this,r),Lt(Je,this,Math.round(qn(r,0,1)*255));}},{key:"b",get:function(){return $t(ot,this)},set:function(r){Lt(ot,this,r),Lt(qe,this,Math.round(qn(r,0,1)*255));}},{key:"red",get:function(){return $t(pt,this)},set:function(r){Lt(We,this,r/255),Lt(pt,this,qn(r,0,255));}},{key:"green",get:function(){return $t(Je,this)},set:function(r){Lt(tt,this,r/255),Lt(Je,this,qn(r,0,255));}},{key:"blue",get:function(){return $t(qe,this)},set:function(r){Lt(ot,this,r/255),Lt(qe,this,qn(r,0,255));}},{key:"toHexString",value:function(){var r=Math.round(this.red).toString(16),n=Math.round(this.green).toString(16),a=Math.round(this.blue).toString(16);return "#"+(this.red>15.5?r:"0"+r)+(this.green>15.5?n:"0"+n)+(this.blue>15.5?a:"0"+a)}},{key:"toJSON",value:function(){var r=this.red,n=this.green,a=this.blue,i=this.alpha;return {red:r,green:n,blue:a,alpha:i}}},{key:"parseString",value:function(r){r=r.replace(XA,function(i,o,s){var l=o+s;switch(s){case "rad":return i.replace(l,KA(o));case "turn":return i.replace(l,JA(o))}});try{var n;"Prototype"in d&&"Version"in d.Prototype&&(n=Array.from,Array.from=Rd.default);var a=new dt(r).toGamut({space:"srgb",method:"clip"}).to("srgb");n&&(Array.from=n,n=null),this.r=a.r,this.g=a.g,this.b=a.b,this.alpha=+a.alpha;}catch{throw ht.set("colorParse",r),new Error('Unable to parse color "'.concat(r,'"'))}return this}},{key:"parseRgbString",value:function(r){this.parseString(r);}},{key:"parseHexString",value:function(r){!r.match(UA)||[6,8].includes(r.length)||this.parseString(r);}},{key:"parseColorFnString",value:function(r){this.parseString(r);}},{key:"getRelativeLuminance",value:function(){var r=this.r,n=this.g,a=this.b,i=r<=.04045?r/12.92:Math.pow((r+.055)/1.055,2.4),o=n<=.04045?n/12.92:Math.pow((n+.055)/1.055,2.4),s=a<=.04045?a/12.92:Math.pow((a+.055)/1.055,2.4);return .2126*i+.7152*o+.0722*s}},{key:"getLuminosity",value:function(){return .3*this.r+.59*this.g+.11*this.b}},{key:"setLuminosity",value:function(r){var n=r-this.getLuminosity();return zr(Xt,this,YA).call(this,n).clip()}},{key:"getSaturation",value:function(){return Math.max(this.r,this.g,this.b)-Math.min(this.r,this.g,this.b)}},{key:"setSaturation",value:function(r){var n=new La(this),a=[{name:"r",value:n.r},{name:"g",value:n.g},{name:"b",value:n.b}],i=a.sort(function(c,f){return c.value-f.value}),o=Ae(i,3),s=o[0],l=o[1],u=o[2];return u.value>s.value?(l.value=(l.value-s.value)*r/(u.value-s.value),u.value=r):l.value=u.value=0,s.value=0,n[u.name]=u.value,n[s.name]=s.value,n[l.name]=l.value,n}},{key:"clip",value:function(){var r=new La(this),n=r.getLuminosity(),a=Math.min(r.r,r.g,r.b),i=Math.max(r.r,r.g,r.b);return a<0&&(r.r=n+(r.r-n)*n/(n-a),r.g=n+(r.g-n)*n/(n-a),r.b=n+(r.b-n)*n/(n-a)),i>1&&(r.r=n+(r.r-n)*(1-n)/(i-n),r.g=n+(r.g-n)*(1-n)/(i-n),r.b=n+(r.b-n)*(1-n)/(i-n)),r}}])})());function YA(e){var t=new La(this);return t.r+=e,t.g+=e,t.b+=e,t}var yt=La;function qn(e,t,r){return Math.min(Math.max(t,e),r)}function KA(e){return e*180/Math.PI}function JA(e){return e*360}function ZA(e){var t=new yt;if(t.parseString(e.getPropertyValue("background-color")),t.alpha!==0){var r=e.getPropertyValue("opacity");t.alpha=t.alpha*r;}return t}var wn=ZA;function QA(e){var t=d.getComputedStyle(e);return oo(e,t)||wn(t).alpha===1}var e2=QA;function wl(e){if(!e.href)return false;var t=Ue.get("firstPageLink",t2);return t?e.compareDocumentPosition(t.actualNode)===e.DOCUMENT_POSITION_FOLLOWING:true}function t2(){var e;return d.location.origin?e=tr(m._tree,'a[href]:not([href^="javascript:"])').find(function(t){return !Ys(t.actualNode)}):e=tr(m._tree,'a:not([href^="#"]):not([href^="/#"]):not([href^="javascript:"])')[0],e||null}var r2=/rect\s*\(([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px\s*\)/,n2=/(\w+)\((\d+)/;function a2(e){var t=e.getPropertyValue("clip").match(r2),r=e.getPropertyValue("clip-path").match(n2);if(t&&t.length===5){var n=e.getPropertyValue("position");if(["fixed","absolute"].includes(n))return t[3]-t[1]<=0&&t[2]-t[4]<=0}if(r){var a=r[1],i=parseInt(r[2],10);switch(a){case "inset":return i>=50;case "circle":return i===0;}}return false}function i2(e,t,r){var n=Mn(e,"map");if(!n)return false;var a=n.getAttribute("name");if(!a)return false;var i=qt(e);if(!i||i.nodeType!==9)return false;var o=tr(m._tree,'img[usemap="#'.concat(Dt(a),'"]'));return !o||!o.length?false:o.some(function(s){var l=s.actualNode;return so(l,t,r)})}function so(e,t,r){var n;if(!e)throw new TypeError("Cannot determine if element is visible for non-DOM nodes");var a=e instanceof Mt?e:Ke(e);e=a?a.actualNode:e;var i="_isVisible"+(t?"ScreenReader":""),o=(n=d.Node)!==null&&n!==void 0?n:{},s=o.DOCUMENT_NODE,l=o.DOCUMENT_FRAGMENT_NODE,u=a?a.props.nodeType:e.nodeType,c=a?a.props.nodeName:e.nodeName.toLowerCase();if(a&&typeof a[i]<"u")return a[i];if(u===s)return true;if(["style","script","noscript","template"].includes(c))return false;if(e&&u===l&&(e=e.host),t){var f=a?a.attr("aria-hidden"):e.getAttribute("aria-hidden");if(f==="true")return false}if(!e){var g=a.parent,w=true;return g&&(w=so(g,t,true)),a&&(a[i]=w),w}var S=d.getComputedStyle(e,null);if(S===null)return false;if(c==="area")return i2(e,t,r);if(S.getPropertyValue("display")==="none")return false;var P=parseInt(S.getPropertyValue("height")),H=parseInt(S.getPropertyValue("width")),z=Vr(e),G=z&&P===0,X=z&&H===0,Y=S.getPropertyValue("position")==="absolute"&&(P<2||H<2)&&S.getPropertyValue("overflow")==="hidden";if(!t&&(a2(S)||S.getPropertyValue("opacity")==="0"||G||X||Y)||!r&&(S.getPropertyValue("visibility")==="hidden"||!t&&Gi(e)))return false;var Z=e.assignedSlot?e.assignedSlot:e.parentNode,ne=false;return Z&&(ne=so(Z,t,true)),a&&(a[i]=ne),ne}var o2=so;function s2(e,t){for(var r=["fixed","sticky"],n=[],a=false,i=0;i<e.length;++i){var o=e[i];o===t&&(a=true);var s=d.getComputedStyle(o);if(!a&&r.indexOf(s.position)!==-1){n=[];continue}n.push(o);}return n}var Hp=s2;function Vp(e,t){var r=jp(t);do{var n=jp(e);if(n===r||n===t)return l2(e,t);e=n;}while(e);return false}function jp(e){for(var t=Ke(e),r=t.parent;r;){if(Vr(r.actualNode))return r.actualNode;r=r.parent;}}function l2(e,t){var r=d.getComputedStyle(t),n=r.getPropertyValue("overflow");if(r.getPropertyValue("display")==="inline")return true;var a=Array.from(e.getClientRects()),i=t.getBoundingClientRect(),o={left:i.left,top:i.top,width:i.width,height:i.height};return (["scroll","auto"].includes(n)||t instanceof d.HTMLHtmlElement)&&(o.width=t.scrollWidth,o.height=t.scrollHeight),a.length===1&&n==="hidden"&&r.getPropertyValue("white-space")==="nowrap"&&(a[0]=o),a.some(function(s){return !(Math.ceil(s.left)<Math.floor(o.left)||Math.ceil(s.top)<Math.floor(o.top)||Math.floor(s.left+s.width)>Math.ceil(o.left+o.width)||Math.floor(s.top+s.height)>Math.ceil(o.top+o.height))})}function $p(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:v,n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;if(n>999)throw new Error("Infinite loop detected");return Array.from(r.elementsFromPoint(e,t)||[]).filter(function(a){return qt(a)===r}).reduce(function(a,i){if(ji(i)){var o=$p(e,t,i.shadowRoot,n+1);a=a.concat(o),a.length&&Vp(a[0],i)&&a.push(i);}else a.push(i);return a},[])}var u2=$p;function c2(e,t){if(e.hasAttribute(t)){var r=e.nodeName.toUpperCase(),n=e;(!["A","AREA"].includes(r)||e.ownerSVGElement)&&(n=v.createElement("a"),n.href=e.getAttribute(t));var a=["https:","ftps:"].includes(n.protocol)?n.protocol.replace(/s:$/,":"):n.protocol,i=/^\//.test(n.pathname)?n.pathname:"/".concat(n.pathname),o=f2(i),s=o.pathname,l=o.filename;return {protocol:a,hostname:n.hostname,port:d2(n.port),pathname:/\/$/.test(s)?s:"".concat(s,"/"),search:p2(n.search),hash:m2(n.hash),filename:l}}}function d2(e){var t=["443","80"];return t.includes(e)?"":e}function f2(e){var t=e.split("/").pop();return !t||t.indexOf(".")===-1?{pathname:e,filename:""}:{pathname:e.replace(t,""),filename:/index./.test(t)?"":t}}function p2(e){var t={};if(!e||!e.length)return t;var r=e.substring(1).split("&");if(!r||!r.length)return t;for(var n=0;n<r.length;n++){var a=r[n],i=a.split("="),o=Ae(i,2),s=o[0],l=o[1],u=l===void 0?"":l;t[decodeURIComponent(s)]=decodeURIComponent(u);}return t}function m2(e){if(!e)return "";var t=/#!?\/?/g,r=e.match(t);if(!r)return "";var n=Ae(r,1),a=n[0];return a==="#"?"":e}var h2=c2;function g2(e,t){var r=t.getBoundingClientRect(),n=r.top,a=r.left,i={top:n-t.scrollTop,bottom:n-t.scrollTop+t.scrollHeight,left:a-t.scrollLeft,right:a-t.scrollLeft+t.scrollWidth};if(e.left>i.right&&e.left>r.right||e.top>i.bottom&&e.top>r.bottom||e.right<i.left&&e.right<r.left||e.bottom<i.top&&e.bottom<r.top)return false;var o=d.getComputedStyle(t);return e.left>r.right||e.top>r.bottom?o.overflow==="scroll"||o.overflow==="auto"||t instanceof d.HTMLBodyElement||t instanceof d.HTMLHtmlElement:true}var xl=g2,zp=0,v2=(function(e){function t(r,n,a){var i;if(rr(this,t),i=te(this,t),i.shadowId=a,i.children=[],i.actualNode=r,i.parent=n,n||(zp=0),i.nodeIndex=zp++,i._isHidden=null,i._cache={},i._isXHTML=fa(r.ownerDocument),r.nodeName.toLowerCase()==="input"){var o=r.getAttribute("type");o=i._isXHTML?o:(o||"").toLowerCase(),yo().includes(o)||(o="text"),i._type=o;}return Ue.get("nodeMap")&&Ue.get("nodeMap").set(r,i),i}return Me(t,e),zt(t,[{key:"props",get:function(){if(!this._cache.hasOwnProperty("props")){var n=this.actualNode,a=n.nodeType,i=n.nodeName,o=n.id,s=n.nodeValue;this._cache.props={nodeType:a,nodeName:this._isXHTML?i:i.toLowerCase(),id:o,type:this._type,nodeValue:s},a===1&&(this._cache.props.multiple=this.actualNode.multiple,this._cache.props.value=this.actualNode.value,this._cache.props.selected=this.actualNode.selected,this._cache.props.checked=this.actualNode.checked,this._cache.props.indeterminate=this.actualNode.indeterminate);}return this._cache.props}},{key:"attr",value:function(n){return typeof this.actualNode.getAttribute!="function"?null:this.actualNode.getAttribute(n)}},{key:"hasAttr",value:function(n){return typeof this.actualNode.hasAttribute!="function"?false:this.actualNode.hasAttribute(n)}},{key:"attrNames",get:function(){if(!this._cache.hasOwnProperty("attrNames")){var n;this.actualNode.attributes instanceof d.NamedNodeMap?n=this.actualNode.attributes:n=this.actualNode.cloneNode(false).attributes,this._cache.attrNames=Array.from(n).map(function(a){return a.name});}return this._cache.attrNames}},{key:"getComputedStylePropertyValue",value:function(n){var a="computedStyle_"+n;return this._cache.hasOwnProperty(a)||(this._cache.hasOwnProperty("computedStyle")||(this._cache.computedStyle=d.getComputedStyle(this.actualNode)),this._cache[a]=this._cache.computedStyle.getPropertyValue(n)),this._cache[a]}},{key:"isFocusable",get:function(){return this._cache.hasOwnProperty("isFocusable")||(this._cache.isFocusable=Ct(this.actualNode)),this._cache.isFocusable}},{key:"tabbableElements",get:function(){return this._cache.hasOwnProperty("tabbableElements")||(this._cache.tabbableElements=zf(this)),this._cache.tabbableElements}},{key:"clientRects",get:function(){return this._cache.hasOwnProperty("clientRects")||(this._cache.clientRects=Array.from(this.actualNode.getClientRects()).filter(function(n){return n.width>0})),this._cache.clientRects}},{key:"boundingClientRect",get:function(){return this._cache.hasOwnProperty("boundingClientRect")||(this._cache.boundingClientRect=this.actualNode.getBoundingClientRect()),this._cache.boundingClientRect}}])})(Mt),Dl=v2;function b2(e){return (e||"").trim().replace(/\s{2,}/g," ").split(" ")}var jt=b2,xn=" [idsMap]";function Gp(e,t,r){var n=e[0]._selectorMap;if(n){for(var a=e[0].shadowId,i=0;i<t.length;i++)if(t[i].length>1&&t[i].some(function(l){return Wp(l)}))return;var o=new Set;t.forEach(function(l){var u,c=y2(l,n,a);c==null||(u=c.nodes)===null||u===void 0||u.forEach(function(f){c.isComplexSelector&&!Tn(f,l)||o.add(f);});});var s=[];return o.forEach(function(l){return s.push(l)}),r&&(s=s.filter(r)),s.sort(function(l,u){return l.nodeIndex-u.nodeIndex})}}function y2(e,t,r){var n=e[e.length-1],a=null,i=e.length>1||!!n.pseudos||!!n.classes;if(Wp(n))a=t["*"];else {if(n.id){var o;if(!t[xn]||!Object.hasOwn(t[xn],n.id)||!((o=t[xn][n.id])!==null&&o!==void 0&&o.length))return;a=t[xn][n.id].filter(function(P){return P.shadowId===r});}if(n.tag&&n.tag!=="*"){var s;if(!((s=t[n.tag])!==null&&s!==void 0&&s.length))return;var l=t[n.tag];a=a?Al(l,a):l;}if(n.classes){var u;if(!((u=t["[class]"])!==null&&u!==void 0&&u.length))return;var c=t["[class]"];a=a?Al(c,a):c;}if(n.attributes)for(var f=0;f<n.attributes.length;f++){var g,w=n.attributes[f];if(w.type==="attrValue"&&(i=true),!((g=t["[".concat(w.key,"]")])!==null&&g!==void 0&&g.length))return;var S=t["[".concat(w.key,"]")];a=a?Al(S,a):S;}}return {nodes:a,isComplexSelector:i}}function Wp(e){return e.tag==="*"&&!e.attributes&&!e.id&&!e.classes}function Al(e,t){return e.filter(function(r){return t.includes(r)})}function lo(e,t,r){Object.hasOwn(r,e)||(r[e]=[]),r[e].push(t);}function Up(e,t){e.props.nodeType===1&&(lo(e.props.nodeName,e,t),lo("*",e,t),e.attrNames.forEach(function(r){r==="id"&&(t[xn]=t[xn]||{},jt(e.attr(r)).forEach(function(n){lo(n,e,t[xn]);})),lo("[".concat(r,"]"),e,t);}));}var _l;function El(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:v.documentElement,t=arguments.length>1?arguments[1]:void 0;_l=false;var r={};Ue.set("nodeMap",new WeakMap),Ue.set("selectorMap",r);var n=Xp(e,t,null);return n[0]._selectorMap=r,n[0]._hasShadowRoot=_l,n}function w2(e){var t=[];for(e=e.firstChild;e;)t.push(e),e=e.nextSibling;return t}function Cl(e,t,r){var n=new Dl(e,t,r);return Up(n,Ue.get("selectorMap")),n}function uo(e,t,r){var n=[];return e.forEach(function(a){var i=Xp(a,r,t);i&&n.push.apply(n,_e(i));}),n}function Xp(e,t,r){var n,a;e.documentElement&&(e=e.documentElement);var i=e.nodeName.toLowerCase();if(ji(e))return _l=true,n=Cl(e,r,t),t="a"+Math.random().toString().substring(2),a=Array.from(e.shadowRoot.childNodes),n.children=uo(a,n,t),[n];if(i==="content"&&typeof e.getDistributedNodes=="function")return a=Array.from(e.getDistributedNodes()),uo(a,r,t);if(i==="slot"&&typeof e.assignedNodes=="function"){a=Array.from(e.assignedNodes()),a.length||(a=w2(e));d.getComputedStyle(e);return uo(a,r,t)}if(e.nodeType===v.ELEMENT_NODE)return n=Cl(e,r,t),a=Array.from(e.childNodes),n.children=uo(a,n,t),[n];if(e.nodeType===v.TEXT_NODE)return [Cl(e,r)]}function x2(e){return e?e.trim().split("-")[0].toLowerCase():""}var Dn=x2;function D2(e){var t={};return t.none=e.none.concat(e.all),t.any=e.any,Object.keys(t).map(function(r){if(t[r].length){var n=m._audit.data.failureSummaries[r];if(n&&typeof n.failureMessage=="function")return n.failureMessage(t[r].map(function(a){return a.message||""}))}}).filter(function(r){return r!==void 0}).join(`
|
|
369
|
+
`,r:"\r",t:" ",f:"\f","\\":"\\",'"':'"'};}),qv=U(function(e){Object.defineProperty(e,"__esModule",{value:true});var t=tc();function r(n,a,i,o,s,l){var u=n.length,c="";function f(G,Y){var K="";for(a++,c=n.charAt(a);a<u;){if(c===G)return a++,K;if(c==="\\"){a++,c=n.charAt(a);var Z=void 0;if(c===G)K+=G;else if((Z=Y[c])!==void 0)K+=Z;else if(t.isHex(c)){var re=c;for(a++,c=n.charAt(a);t.isHex(c);)re+=c,a++,c=n.charAt(a);c===" "&&(a++,c=n.charAt(a)),K+=String.fromCharCode(parseInt(re,16));continue}else K+=c;}else K+=c;a++,c=n.charAt(a);}return K}function g(){var G="";for(c=n.charAt(a);a<u;){if(t.isIdent(c))G+=c;else if(c==="\\"){if(a++,a>=u)throw Error("Expected symbol but end of file reached.");if(c=n.charAt(a),t.identSpecialChars[c])G+=c;else if(t.isHex(c)){var Y=c;for(a++,c=n.charAt(a);t.isHex(c);)Y+=c,a++,c=n.charAt(a);c===" "&&(a++,c=n.charAt(a)),G+=String.fromCharCode(parseInt(Y,16));continue}else G+=c;}else return G;a++,c=n.charAt(a);}return G}function w(){c=n.charAt(a);for(var G=false;c===" "||c===" "||c===`
|
|
370
|
+
`||c==="\r"||c==="\f";)G=true,a++,c=n.charAt(a);return G}function k(){var G=P();if(a<u)throw Error('Rule expected but "'+n.charAt(a)+'" found.');return G}function P(){var G=j();if(!G)return null;var Y=G;for(c=n.charAt(a);c===",";){if(a++,w(),Y.type!=="selectors"&&(Y={type:"selectors",selectors:[G]}),G=j(),!G)throw Error('Rule expected after ",".');Y.selectors.push(G);}return Y}function j(){w();var G={type:"ruleSet"},Y=$();if(!Y)return null;for(var K=G;Y&&(Y.type="rule",K.rule=Y,K=Y,w(),c=n.charAt(a),!(a>=u||c===","||c===")"));)if(s[c]){var Z=c;if(a++,w(),Y=$(),!Y)throw Error('Rule expected after "'+Z+'".');Y.nestingOperator=Z;}else Y=$(),Y&&(Y.nestingOperator=null);return G}function $(){for(var G=null;a<u;)if(c=n.charAt(a),c==="*")a++,(G=G||{}).tagName="*";else if(t.isIdentStart(c)||c==="\\")(G=G||{}).tagName=g();else if(c===".")a++,G=G||{},(G.classNames=G.classNames||[]).push(g());else if(c==="#")a++,(G=G||{}).id=g();else if(c==="["){a++,w();var Y={name:g()};if(w(),c==="]")a++;else {var K="";if(o[c]&&(K=c,a++,c=n.charAt(a)),a>=u)throw Error('Expected "=" but end of file reached.');if(c!=="=")throw Error('Expected "=" but "'+c+'" found.');Y.operator=K+"=",a++,w();var Z="";if(Y.valueType="string",c==='"')Z=f('"',t.doubleQuotesEscapeChars);else if(c==="'")Z=f("'",t.singleQuoteEscapeChars);else if(l&&c==="$")a++,Z=g(),Y.valueType="substitute";else {for(;a<u&&c!=="]";)Z+=c,a++,c=n.charAt(a);Z=Z.trim();}if(w(),a>=u)throw Error('Expected "]" but end of file reached.');if(c!=="]")throw Error('Expected "]" but "'+c+'" found.');a++,Y.value=Z;}G=G||{},(G.attrs=G.attrs||[]).push(Y);}else if(c===":"){a++;var re=g(),se={name:re};if(c==="("){a++;var fe="";if(w(),i[re]==="selector")se.valueType="selector",fe=P();else {if(se.valueType=i[re]||"string",c==='"')fe=f('"',t.doubleQuotesEscapeChars);else if(c==="'")fe=f("'",t.singleQuoteEscapeChars);else if(l&&c==="$")a++,fe=g(),se.valueType="substitute";else {for(;a<u&&c!==")";)fe+=c,a++,c=n.charAt(a);fe=fe.trim();}w();}if(a>=u)throw Error('Expected ")" but end of file reached.');if(c!==")")throw Error('Expected ")" but "'+c+'" found.');a++,se.value=fe;}G=G||{},(G.pseudos=G.pseudos||[]).push(se);}else break;return G}return k()}e.parseCssSelector=r;}),Bv=U(function(e){Object.defineProperty(e,"__esModule",{value:true});var t=tc();function r(n){var a="";switch(n.type){case "ruleSet":for(var i=n.rule,o=[];i;)i.nestingOperator&&o.push(i.nestingOperator),o.push(r(i)),i=i.rule;a=o.join(" ");break;case "selectors":a=n.selectors.map(r).join(", ");break;case "rule":n.tagName&&(n.tagName==="*"?a="*":a=t.escapeIdentifier(n.tagName)),n.id&&(a+="#"+t.escapeIdentifier(n.id)),n.classNames&&(a+=n.classNames.map(function(s){return "."+t.escapeIdentifier(s)}).join("")),n.attrs&&(a+=n.attrs.map(function(s){return "operator"in s?s.valueType==="substitute"?"["+t.escapeIdentifier(s.name)+s.operator+"$"+s.value+"]":"["+t.escapeIdentifier(s.name)+s.operator+t.escapeStr(s.value)+"]":"["+t.escapeIdentifier(s.name)+"]"}).join("")),n.pseudos&&(a+=n.pseudos.map(function(s){return s.valueType?s.valueType==="selector"?":"+t.escapeIdentifier(s.name)+"("+r(s.value)+")":s.valueType==="substitute"?":"+t.escapeIdentifier(s.name)+"($"+s.value+")":s.valueType==="numeric"?":"+t.escapeIdentifier(s.name)+"("+s.value+")":":"+t.escapeIdentifier(s.name)+"("+t.escapeIdentifier(s.value)+")":":"+t.escapeIdentifier(s.name)}).join(""));break;default:throw Error('Unknown entity type: "'+n.type+'".')}return a}e.renderEntity=r;}),Hv=U(function(e){Object.defineProperty(e,"__esModule",{value:true});var t=qv(),r=Bv(),n=(function(){function a(){this.pseudos={},this.attrEqualityMods={},this.ruleNestingOperators={},this.substitutesEnabled=false;}return a.prototype.registerSelectorPseudos=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];for(var s=0,l=i;s<l.length;s++){var u=l[s];this.pseudos[u]="selector";}return this},a.prototype.unregisterSelectorPseudos=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];for(var s=0,l=i;s<l.length;s++){var u=l[s];delete this.pseudos[u];}return this},a.prototype.registerNumericPseudos=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];for(var s=0,l=i;s<l.length;s++){var u=l[s];this.pseudos[u]="numeric";}return this},a.prototype.unregisterNumericPseudos=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];for(var s=0,l=i;s<l.length;s++){var u=l[s];delete this.pseudos[u];}return this},a.prototype.registerNestingOperators=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];for(var s=0,l=i;s<l.length;s++){var u=l[s];this.ruleNestingOperators[u]=true;}return this},a.prototype.unregisterNestingOperators=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];for(var s=0,l=i;s<l.length;s++){var u=l[s];delete this.ruleNestingOperators[u];}return this},a.prototype.registerAttrEqualityMods=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];for(var s=0,l=i;s<l.length;s++){var u=l[s];this.attrEqualityMods[u]=true;}return this},a.prototype.unregisterAttrEqualityMods=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];for(var s=0,l=i;s<l.length;s++){var u=l[s];delete this.attrEqualityMods[u];}return this},a.prototype.enableSubstitutes=function(){return this.substitutesEnabled=true,this},a.prototype.disableSubstitutes=function(){return this.substitutesEnabled=false,this},a.prototype.parse=function(i){return t.parseCssSelector(i,0,this.pseudos,this.attrEqualityMods,this.ruleNestingOperators,this.substitutesEnabled)},a.prototype.render=function(i){return r.renderEntity(i).trim()},a})();e.CssSelectorParser=n;}),Vv=U(function(e,t){(function(){var r={name:"doT",version:"1.1.1",templateSettings:{evaluate:/\{\{([\s\S]+?(\}?)+)\}\}/g,interpolate:/\{\{=([\s\S]+?)\}\}/g,encode:/\{\{!([\s\S]+?)\}\}/g,use:/\{\{#([\s\S]+?)\}\}/g,useParams:/(^|[^\w$])def(?:\.|\[[\'\"])([\w$\.]+)(?:[\'\"]\])?\s*\:\s*([\w$\.]+|\"[^\"]+\"|\'[^\']+\'|\{[^\}]+\})/g,define:/\{\{##\s*([\w\.$]+)\s*(\:|=)([\s\S]+?)#\}\}/g,defineParams:/^\s*([\w$]+):([\s\S]+)/,conditional:/\{\{\?(\?)?\s*([\s\S]*?)\s*\}\}/g,iterate:/\{\{~\s*(?:\}\}|([\s\S]+?)\s*\:\s*([\w$]+)\s*(?:\:\s*([\w$]+))?\s*\}\})/g,varname:"it",strip:true,append:true,selfcontained:false,doNotSkipEncoded:false},template:void 0,compile:void 0,log:true};((function(){if((typeof globalThis>"u"?"undefined":de(globalThis))!=="object")try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__;}catch{d.globalThis=(function(){if(typeof self<"u")return self;if(typeof d<"u")return d;if(typeof b<"u")return b;if(typeof this<"u")return this;throw new Error("Unable to locate global `this`")})();}}))(),r.encodeHTMLSource=function(s){var l={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"},u=s?/[&<>"'\/]/g:/&(?!#?\w+;)|<|>|"|'|\//g;return function(c){return c?c.toString().replace(u,function(f){return l[f]||f}):""}},typeof t<"u"&&t.exports?t.exports=r:typeof define=="function"&&define.amd?define(function(){return r}):globalThis.doT=r;var n={append:{start:"'+(",end:")+'",startencode:"'+encodeHTML("},split:{start:"';out+=(",end:");out+='",startencode:"';out+=encodeHTML("}},a=/$^/;function i(s,l,u){return (typeof l=="string"?l:l.toString()).replace(s.define||a,function(c,f,g,w){return f.indexOf("def.")===0&&(f=f.substring(4)),f in u||(g===":"?(s.defineParams&&w.replace(s.defineParams,function(k,P,j){u[f]={arg:P,text:j};}),f in u||(u[f]=w)):new Function("def","def['"+f+"']="+w)(u)),""}).replace(s.use||a,function(c,f){s.useParams&&(f=f.replace(s.useParams,function(w,k,P,j){if(u[P]&&u[P].arg&&j){var $=(P+":"+j).replace(/'|\\/g,"_");return u.__exp=u.__exp||{},u.__exp[$]=u[P].text.replace(new RegExp("(^|[^\\w$])"+u[P].arg+"([^\\w$])","g"),"$1"+j+"$2"),k+"def.__exp['"+$+"']"}}));var g=new Function("def","return "+f)(u);return g&&i(s,g,u)})}function o(s){return s.replace(/\\('|\\)/g,"$1").replace(/[\r\t\n]/g," ")}r.template=function(s,l,u){l=l||r.templateSettings;var c=l.append?n.append:n.split,f,g=0,w,k=l.use||l.define?i(l,s,u||{}):s;k=("var out='"+(l.strip?k.replace(/(^|\r|\n)\t* +| +\t*(\r|\n|$)/g," ").replace(/\r|\n|\t|\/\*[\s\S]*?\*\//g,""):k).replace(/'|\\/g,"\\$&").replace(l.interpolate||a,function(P,j){return c.start+o(j)+c.end}).replace(l.encode||a,function(P,j){return f=true,c.startencode+o(j)+c.end}).replace(l.conditional||a,function(P,j,$){return j?$?"';}else if("+o($)+"){out+='":"';}else{out+='":$?"';if("+o($)+"){out+='":"';}out+='"}).replace(l.iterate||a,function(P,j,$,G){return j?(g+=1,w=G||"i"+g,j=o(j),"';var arr"+g+"="+j+";if(arr"+g+"){var "+$+","+w+"=-1,l"+g+"=arr"+g+".length-1;while("+w+"<l"+g+"){"+$+"=arr"+g+"["+w+"+=1];out+='"):"';} } out+='"}).replace(l.evaluate||a,function(P,j){return "';"+o(j)+"out+='"})+"';return out;").replace(/\n/g,"\\n").replace(/\t/g,"\\t").replace(/\r/g,"\\r").replace(/(\s|;|\}|^|\{)out\+='';/g,"$1").replace(/\+''/g,""),f&&(!l.selfcontained&&globalThis&&!globalThis._encodeHTML&&(globalThis._encodeHTML=r.encodeHTMLSource(l.doNotSkipEncoded)),k="var encodeHTML = typeof _encodeHTML !== 'undefined' ? _encodeHTML : ("+r.encodeHTMLSource.toString()+"("+(l.doNotSkipEncoded||"")+"));"+k);try{return new Function(l.varname,k)}catch(P){throw typeof console<"u"&&console.log("Could not create a template function: "+k),P}},r.compile=function(s,l){return r.template(s,null,l)};})();}),jv=U(function(e,t){t.exports=function(){};}),cn=U(function(e,t){var r=jv()();t.exports=function(n){return n!==r&&n!==null};}),rc=U(function(e,t){var r=cn(),n=Array.prototype.forEach,a=Object.create,i=function(s,l){var u;for(u in s)l[u]=s[u];};t.exports=function(o){var s=a(null);return n.call(arguments,function(l){r(l)&&i(Object(l),s);}),s};}),$v=U(function(e,t){t.exports=function(){var r=Math.sign;return typeof r!="function"?false:r(10)===1&&r(-20)===-1};}),zv=U(function(e,t){t.exports=function(r){return r=Number(r),isNaN(r)||r===0?r:r>0?1:-1};}),Gv=U(function(e,t){t.exports=$v()()?Math.sign:zv();}),Wv=U(function(e,t){var r=Gv(),n=Math.abs,a=Math.floor;t.exports=function(i){return isNaN(i)?0:(i=Number(i),i===0||!isFinite(i)?i:r(i)*a(n(i)))};}),dn=U(function(e,t){var r=Wv(),n=Math.max;t.exports=function(a){return n(0,r(a))};}),nc=U(function(e,t){var r=dn();t.exports=function(n,a,i){var o;return isNaN(n)?(o=a,o>=0?i&&o?o-1:o:1):n===false?false:r(n)};}),Wr=U(function(e,t){t.exports=function(r){if(typeof r!="function")throw new TypeError(r+" is not a function");return r};}),En=U(function(e,t){var r=cn();t.exports=function(n){if(!r(n))throw new TypeError("Cannot use null or undefined");return n};}),Uv=U(function(e,t){var r=Wr(),n=En(),a=Function.prototype.bind,i=Function.prototype.call,o=Object.keys,s=Object.prototype.propertyIsEnumerable;t.exports=function(l,u){return function(c,f){var g,w=arguments[2],k=arguments[3];return c=Object(n(c)),r(f),g=o(c),k&&g.sort(typeof k=="function"?a.call(k,c):void 0),typeof l!="function"&&(l=g[l]),i.call(l,g,function(P,j){return s.call(c,P)?i.call(f,w,c[P],P,c,j):u})}};}),di=U(function(e,t){t.exports=Uv()("forEach");}),fn=U(function(){}),Xv=U(function(e,t){t.exports=function(){var r=Object.assign,n;return typeof r!="function"?false:(n={foo:"raz"},r(n,{bar:"dwa"},{trzy:"trzy"}),n.foo+n.bar+n.trzy==="razdwatrzy")};}),Yv=U(function(e,t){t.exports=function(){try{return Object.keys("primitive"),!0}catch{return false}};}),Kv=U(function(e,t){var r=cn(),n=Object.keys;t.exports=function(a){return n(r(a)?Object(a):a)};}),Jv=U(function(e,t){t.exports=Yv()()?Object.keys:Kv();}),Zv=U(function(e,t){var r=Jv(),n=En(),a=Math.max;t.exports=function(i,o){var s,l,u=a(arguments.length,2),c;for(i=Object(n(i)),c=function(g){try{i[g]=o[g];}catch(w){s||(s=w);}},l=1;l<u;++l)o=arguments[l],r(o).forEach(c);if(s!==void 0)throw s;return i};}),ac=U(function(e,t){t.exports=Xv()()?Object.assign:Zv();}),Qv=U(function(e,t){var r=cn(),n={function:true,object:true};t.exports=function(a){return r(a)&&n[de(a)]||false};}),eb=U(function(e,t){var r=ac(),n=Qv(),a=cn(),i=Error.captureStackTrace;t.exports=function(o){var s=new Error(o),l=arguments[1],u=arguments[2];return a(u)||n(l)&&(u=l,l=null),a(u)&&r(s,u),a(l)&&(s.code=l),i&&i(s,t.exports),s};}),ic=U(function(e,t){var r=En(),n=Object.defineProperty,a=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,o=Object.getOwnPropertySymbols;t.exports=function(s,l){var u,c=Object(r(l));if(s=Object(r(s)),i(c).forEach(function(f){try{n(s,f,a(l,f));}catch(g){u=g;}}),typeof o=="function"&&o(c).forEach(function(f){try{n(s,f,a(l,f));}catch(g){u=g;}}),u!==void 0)throw u;return s};}),oc=U(function(e,t){var r=dn(),n=function(u,c){return c},a,i,o,s;try{Object.defineProperty(n,"length",{configurable:!0,writable:!1,enumerable:!1,value:1});}catch{}n.length===1?(a={configurable:true,writable:false,enumerable:false},i=Object.defineProperty,t.exports=function(l,u){return u=r(u),l.length===u?l:(a.value=u,i(l,"length",a))}):(s=ic(),o=(function(){var l=[];return function(u){var c,f=0;if(l[u])return l[u];for(c=[];u--;)c.push("a"+(++f).toString(36));return new Function("fn","return function ("+c.join(", ")+") { return fn.apply(this, arguments); };")}})(),t.exports=function(l,u){var c;if(u=r(u),l.length===u)return l;c=o(u)(l);try{s(c,l);}catch{}return c});}),sc=U(function(e,t){var r=void 0;t.exports=function(n){return n!==r&&n!==null};}),tb=U(function(e,t){var r=sc(),n={object:true,function:true,undefined:true};t.exports=function(a){return r(a)?hasOwnProperty.call(n,de(a)):false};}),rb=U(function(e,t){var r=tb();t.exports=function(n){if(!r(n))return false;try{return n.constructor?n.constructor.prototype===n:!1}catch{return false}};}),nb=U(function(e,t){var r=rb();t.exports=function(n){if(typeof n!="function"||!hasOwnProperty.call(n,"length"))return false;try{if(typeof n.length!="number"||typeof n.call!="function"||typeof n.apply!="function")return !1}catch{return false}return !r(n)};}),ab=U(function(e,t){var r=nb(),n=/^\s*class[\s{/}]/,a=Function.prototype.toString;t.exports=function(i){return !(!r(i)||n.test(a.call(i)))};}),ib=U(function(e,t){var r="razdwatrzy";t.exports=function(){return typeof r.contains!="function"?false:r.contains("dwa")===true&&r.contains("foo")===false};}),ob=U(function(e,t){var r=String.prototype.indexOf;t.exports=function(n){return r.call(this,n,arguments[1])>-1};}),sb=U(function(e,t){t.exports=ib()()?String.prototype.contains:ob();}),pn=U(function(e,t){var r=sc(),n=ab(),a=ac(),i=rc(),o=sb(),s=t.exports=function(l,u){var c,f,g,w,k;return arguments.length<2||typeof l!="string"?(w=u,u=l,l=null):w=arguments[2],r(l)?(c=o.call(l,"c"),f=o.call(l,"e"),g=o.call(l,"w")):(c=g=true,f=false),k={value:u,configurable:c,enumerable:f,writable:g},w?a(i(w),k):k};s.gs=function(l,u,c){var f,g,w,k;return typeof l!="string"?(w=c,c=u,u=l,l=null):w=arguments[3],r(u)?n(u)?r(c)?n(c)||(w=c,c=void 0):c=void 0:(w=u,u=c=void 0):u=void 0,r(l)?(f=o.call(l,"c"),g=o.call(l,"e")):(f=true,g=false),k={get:u,set:c,configurable:f,enumerable:g},w?a(i(w),k):k};}),lb=U(function(e,t){var r=pn(),n=Wr(),a=Function.prototype.apply,i=Function.prototype.call,o=Object.create,s=Object.defineProperty,l=Object.defineProperties,u=Object.prototype.hasOwnProperty,c={configurable:true,enumerable:false,writable:true},f,g,w,k,P,j,$;f=function(Y,K){var Z;return n(K),u.call(this,"__ee__")?Z=this.__ee__:(Z=c.value=o(null),s(this,"__ee__",c),c.value=null),Z[Y]?de(Z[Y])==="object"?Z[Y].push(K):Z[Y]=[Z[Y],K]:Z[Y]=K,this},g=function(Y,K){var Z,re;return n(K),re=this,f.call(this,Y,Z=function(){w.call(re,Y,Z),a.call(K,this,arguments);}),Z.__eeOnceListener__=K,this},w=function(Y,K){var Z,re,se,fe;if(n(K),!u.call(this,"__ee__"))return this;if(Z=this.__ee__,!Z[Y])return this;if(re=Z[Y],de(re)==="object")for(fe=0;se=re[fe];++fe)(se===K||se.__eeOnceListener__===K)&&(re.length===2?Z[Y]=re[fe?0:1]:re.splice(fe,1));else (re===K||re.__eeOnceListener__===K)&&delete Z[Y];return this},k=function(Y){var K,Z,re,se,fe;if(u.call(this,"__ee__")&&(se=this.__ee__[Y],!!se))if(de(se)==="object"){for(Z=arguments.length,fe=new Array(Z-1),K=1;K<Z;++K)fe[K-1]=arguments[K];for(se=se.slice(),K=0;re=se[K];++K)a.call(re,this,fe);}else switch(arguments.length){case 1:i.call(se,this);break;case 2:i.call(se,this,arguments[1]);break;case 3:i.call(se,this,arguments[1],arguments[2]);break;default:for(Z=arguments.length,fe=new Array(Z-1),K=1;K<Z;++K)fe[K-1]=arguments[K];a.call(se,this,fe);}},P={on:f,once:g,off:w,emit:k},j={on:r(f),once:r(g),off:r(w),emit:r(k)},$=l({},j),t.exports=e=function(Y){return Y==null?o($):l(Object(Y),j)},e.methods=P;}),ub=U(function(e,t){t.exports=function(){var r=Array.from,n,a;return typeof r!="function"?false:(n=["raz","dwa"],a=r(n),!!(a&&a!==n&&a[1]==="dwa"))};}),cb=U(function(e,t){t.exports=function(){return (typeof globalThis>"u"?"undefined":de(globalThis))!=="object"||!globalThis?false:globalThis.Array===Array};}),db=U(function(e,t){var r=function(){if((typeof self>"u"?"undefined":de(self))==="object"&&self)return self;if((typeof d>"u"?"undefined":de(d))==="object"&&d)return d;throw new Error("Unable to resolve global `this`")};t.exports=(function(){if(this)return this;try{Object.defineProperty(Object.prototype,"__global__",{get:function(){return this},configurable:!0});}catch{return r()}try{return __global__||r()}finally{delete Object.prototype.__global__;}})();}),fi=U(function(e,t){t.exports=cb()()?globalThis:db();}),fb=U(function(e,t){var r=fi(),n={object:true,symbol:true};t.exports=function(){var a=r.Symbol,i;if(typeof a!="function")return false;i=a("test symbol");try{String(i);}catch{return false}return !(!n[de(a.iterator)]||!n[de(a.toPrimitive)]||!n[de(a.toStringTag)])};}),pb=U(function(e,t){t.exports=function(r){return r?de(r)==="symbol"?true:!r.constructor||r.constructor.name!=="Symbol"?false:r[r.constructor.toStringTag]==="Symbol":false};}),lc=U(function(e,t){var r=pb();t.exports=function(n){if(!r(n))throw new TypeError(n+" is not a symbol");return n};}),mb=U(function(e,t){var r=pn(),n=Object.create,a=Object.defineProperty,i=Object.prototype,o=n(null);t.exports=function(s){for(var l=0,u,c;o[s+(l||"")];)++l;return s+=l||"",o[s]=true,u="@@"+s,a(i,u,r.gs(null,function(f){c||(c=true,a(this,u,r(f)),c=false);})),u};}),hb=U(function(e,t){var r=pn(),n=fi().Symbol;t.exports=function(a){return Object.defineProperties(a,{hasInstance:r("",n&&n.hasInstance||a("hasInstance")),isConcatSpreadable:r("",n&&n.isConcatSpreadable||a("isConcatSpreadable")),iterator:r("",n&&n.iterator||a("iterator")),match:r("",n&&n.match||a("match")),replace:r("",n&&n.replace||a("replace")),search:r("",n&&n.search||a("search")),species:r("",n&&n.species||a("species")),split:r("",n&&n.split||a("split")),toPrimitive:r("",n&&n.toPrimitive||a("toPrimitive")),toStringTag:r("",n&&n.toStringTag||a("toStringTag")),unscopables:r("",n&&n.unscopables||a("unscopables"))})};}),gb=U(function(e,t){var r=pn(),n=lc(),a=Object.create(null);t.exports=function(i){return Object.defineProperties(i,{for:r(function(o){return a[o]?a[o]:a[o]=i(String(o))}),keyFor:r(function(o){var s;n(o);for(s in a)if(a[s]===o)return s})})};}),vb=U(function(e,t){var r=pn(),n=lc(),a=fi().Symbol,i=mb(),o=hb(),s=gb(),l=Object.create,u=Object.defineProperties,c=Object.defineProperty,f,g,w;if(typeof a=="function")try{String(a()),w=!0;}catch{}else a=null;g=function(P){if(this instanceof g)throw new TypeError("Symbol is not a constructor");return f(P)},t.exports=f=function k(P){var j;if(this instanceof k)throw new TypeError("Symbol is not a constructor");return w?a(P):(j=l(g.prototype),P=P===void 0?"":String(P),u(j,{__description__:r("",P),__name__:r("",i(P))}))},o(f),s(f),u(g.prototype,{constructor:r(f),toString:r("",function(){return this.__name__})}),u(f.prototype,{toString:r(function(){return "Symbol ("+n(this).__description__+")"}),valueOf:r(function(){return n(this)})}),c(f.prototype,f.toPrimitive,r("",function(){var k=n(this);return de(k)==="symbol"?k:k.toString()})),c(f.prototype,f.toStringTag,r("c","Symbol")),c(g.prototype,f.toStringTag,r("c",f.prototype[f.toStringTag])),c(g.prototype,f.toPrimitive,r("c",f.prototype[f.toPrimitive]));}),bb=U(function(e,t){t.exports=fb()()?fi().Symbol:vb();}),yb=U(function(e,t){var r=Object.prototype.toString,n=r.call((function(){return arguments})());t.exports=function(a){return r.call(a)===n};}),wb=U(function(e,t){var r=Object.prototype.toString,n=RegExp.prototype.test.bind(/^[object [A-Za-z0-9]*Function]$/);t.exports=function(a){return typeof a=="function"&&n(r.call(a))};}),xb=U(function(e,t){var r=Object.prototype.toString,n=r.call("");t.exports=function(a){return typeof a=="string"||a&&de(a)==="object"&&(a instanceof String||r.call(a)===n)||false};}),Db=U(function(e,t){var r=bb().iterator,n=yb(),a=wb(),i=dn(),o=Wr(),s=En(),l=cn(),u=xb(),c=Array.isArray,f=Function.prototype.call,g={configurable:true,enumerable:true,writable:true,value:null},w=Object.defineProperty;t.exports=function(k){var P=arguments[1],j=arguments[2],$,G,Y,K,Z,re,se,fe,Ee,le;if(k=Object(s(k)),l(P)&&o(P),!this||this===Array||!a(this)){if(!P){if(n(k))return Z=k.length,Z!==1?Array.apply(null,k):(K=new Array(1),K[0]=k[0],K);if(c(k)){for(K=new Array(Z=k.length),G=0;G<Z;++G)K[G]=k[G];return K}}K=[];}else $=this;if(!c(k)){if((Ee=k[r])!==void 0){for(se=o(Ee).call(k),$&&(K=new $),fe=se.next(),G=0;!fe.done;)le=P?f.call(P,j,fe.value,G):fe.value,$?(g.value=le,w(K,G,g)):K[G]=le,fe=se.next(),++G;Z=G;}else if(u(k)){for(Z=k.length,$&&(K=new $),G=0,Y=0;G<Z;++G)le=k[G],G+1<Z&&(re=le.charCodeAt(0),re>=55296&&re<=56319&&(le+=k[++G])),le=P?f.call(P,j,le,Y):le,$?(g.value=le,w(K,Y,g)):K[Y]=le,++Y;Z=Y;}}if(Z===void 0)for(Z=i(k.length),$&&(K=new $(Z)),G=0;G<Z;++G)le=P?f.call(P,j,k[G],G):k[G],$?(g.value=le,w(K,G,g)):K[G]=le;return $&&(g.value=null,K.length=Z),K};}),Wo=U(function(e,t){t.exports=ub()()?Array.from:Db();}),Ab=U(function(e,t){var r=Wo(),n=Array.isArray;t.exports=function(a){return n(a)?a:r(a)};}),_b=U(function(e,t){var r=Ab(),n=cn(),a=Wr(),i=Array.prototype.slice,o;o=function(l){return this.map(function(u,c){return u?u(l[c]):l[c]}).concat(i.call(l,this.length))},t.exports=function(s){return s=r(s),s.forEach(function(l){n(l)&&a(l);}),o.bind(s)};}),Eb=U(function(e,t){var r=Wr();t.exports=function(n){var a;return typeof n=="function"?{set:n,get:n}:(a={get:r(n.get)},n.set!==void 0?(a.set=r(n.set),n.delete&&(a.delete=r(n.delete)),n.clear&&(a.clear=r(n.clear)),a):(a.set=a.get,a))};}),Cb=U(function(e,t){var r=eb(),n=oc(),a=pn(),i=lb().methods,o=_b(),s=Eb(),l=Function.prototype.apply,u=Function.prototype.call,c=Object.create,f=Object.defineProperties,g=i.on,w=i.emit;t.exports=function(k,P,j){var $=c(null),G,Y,K,Z,re,se,fe,Ee,le,ge,xe,Ce,Oe,$e,Fe;return P!==false?Y=P:isNaN(k.length)?Y=1:Y=k.length,j.normalizer&&(ge=s(j.normalizer),K=ge.get,Z=ge.set,re=ge.delete,se=ge.clear),j.resolvers!=null&&(Fe=o(j.resolvers)),K?$e=n(function(He){var ye,Me,ee=arguments;if(Fe&&(ee=Fe(ee)),ye=K(ee),ye!==null&&hasOwnProperty.call($,ye))return xe&&G.emit("get",ye,ee,this),$[ye];if(ee.length===1?Me=u.call(k,this,ee[0]):Me=l.call(k,this,ee),ye===null){if(ye=K(ee),ye!==null)throw r("Circular invocation","CIRCULAR_INVOCATION");ye=Z(ee);}else if(hasOwnProperty.call($,ye))throw r("Circular invocation","CIRCULAR_INVOCATION");return $[ye]=Me,Ce&&G.emit("set",ye,null,Me),Me},Y):P===0?$e=function(){var ye;if(hasOwnProperty.call($,"data"))return xe&&G.emit("get","data",arguments,this),$.data;if(arguments.length?ye=l.call(k,this,arguments):ye=u.call(k,this),hasOwnProperty.call($,"data"))throw r("Circular invocation","CIRCULAR_INVOCATION");return $.data=ye,Ce&&G.emit("set","data",null,ye),ye}:$e=function(ye){var Me,ee=arguments,ke;if(Fe&&(ee=Fe(arguments)),ke=String(ee[0]),hasOwnProperty.call($,ke))return xe&&G.emit("get",ke,ee,this),$[ke];if(ee.length===1?Me=u.call(k,this,ee[0]):Me=l.call(k,this,ee),hasOwnProperty.call($,ke))throw r("Circular invocation","CIRCULAR_INVOCATION");return $[ke]=Me,Ce&&G.emit("set",ke,null,Me),Me},G={original:k,memoized:$e,profileName:j.profileName,get:function(ye){return Fe&&(ye=Fe(ye)),K?K(ye):String(ye[0])},has:function(ye){return hasOwnProperty.call($,ye)},delete:function(ye){var Me;hasOwnProperty.call($,ye)&&(re&&re(ye),Me=$[ye],delete $[ye],Oe&&G.emit("delete",ye,Me));},clear:function(){var ye=$;se&&se(),$=c(null),G.emit("clear",ye);},on:function(ye,Me){return ye==="get"?xe=true:ye==="set"?Ce=true:ye==="delete"&&(Oe=true),g.call(this,ye,Me)},emit:w,updateEnv:function(){k=G.original;}},K?fe=n(function(He){var ye,Me=arguments;Fe&&(Me=Fe(Me)),ye=K(Me),ye!==null&&G.delete(ye);},Y):P===0?fe=function(){return G.delete("data")}:fe=function(ye){return Fe&&(ye=Fe(arguments)[0]),G.delete(ye)},Ee=n(function(){var He,ye=arguments;return P===0?$.data:(Fe&&(ye=Fe(ye)),K?He=K(ye):He=String(ye[0]),$[He])}),le=n(function(){var He,ye=arguments;return P===0?G.has("data"):(Fe&&(ye=Fe(ye)),K?He=K(ye):He=String(ye[0]),He===null?false:G.has(He))}),f($e,{__memoized__:a(true),delete:a(fe),clear:a(G.clear),_get:a(Ee),_has:a(le)}),G};}),Sb=U(function(e,t){var r=Wr(),n=di(),a=fn(),i=Cb(),o=nc();t.exports=function s(l){var u,c,f;if(r(l),u=Object(arguments[1]),u.async&&u.promise)throw new Error("Options 'async' and 'promise' cannot be used together");return hasOwnProperty.call(l,"__memoized__")&&!u.force?l:(c=o(u.length,l.length,u.async&&a.async),f=i(l,c,u),n(a,function(g,w){u[w]&&g(u[w],f,u);}),s.__profiler__&&s.__profiler__(f),f.updateEnv(),f.memoized)};}),kb=U(function(e,t){t.exports=function(r){var n,a,i=r.length;if(!i)return "";for(n=String(r[a=0]);--i;)n+=""+r[++a];return n};}),Tb=U(function(e,t){t.exports=function(r){return r?function(n){for(var a=String(n[0]),i=0,o=r;--o;)a+=""+n[++i];return a}:function(){return ""}};}),Rb=U(function(e,t){t.exports=function(){var r=Number.isNaN;return typeof r!="function"?false:!r({})&&r(NaN)&&!r(34)};}),Fb=U(function(e,t){t.exports=function(r){return r!==r};}),Ib=U(function(e,t){t.exports=Rb()()?Number.isNaN:Fb();}),Uo=U(function(e,t){var r=Ib(),n=dn(),a=En(),i=Array.prototype.indexOf,o=Object.prototype.hasOwnProperty,s=Math.abs,l=Math.floor;t.exports=function(u){var c,f,g,w;if(!r(u))return i.apply(this,arguments);for(f=n(a(this).length),g=arguments[1],isNaN(g)?g=0:g>=0?g=l(g):g=n(this.length)-l(s(g)),c=g;c<f;++c)if(o.call(this,c)&&(w=this[c],r(w)))return c;return -1};}),Lb=U(function(e,t){var r=Uo(),n=Object.create;t.exports=function(){var a=0,i=[],o=n(null);return {get:function(l){var u=0,c=i,f,g=l.length;if(g===0)return c[g]||null;if(c=c[g]){for(;u<g-1;){if(f=r.call(c[0],l[u]),f===-1)return null;c=c[1][f],++u;}return f=r.call(c[0],l[u]),f===-1?null:c[1][f]||null}return null},set:function(l){var u=0,c=i,f,g=l.length;if(g===0)c[g]=++a;else {for(c[g]||(c[g]=[[],[]]),c=c[g];u<g-1;)f=r.call(c[0],l[u]),f===-1&&(f=c[0].push(l[u])-1,c[1].push([[],[]])),c=c[1][f],++u;f=r.call(c[0],l[u]),f===-1&&(f=c[0].push(l[u])-1),c[1][f]=++a;}return o[a]=l,a},delete:function(l){var u=0,c=i,f,g=o[l],w=g.length,k=[];if(w===0)delete c[w];else if(c=c[w]){for(;u<w-1;){if(f=r.call(c[0],g[u]),f===-1)return;k.push(c,f),c=c[1][f],++u;}if(f=r.call(c[0],g[u]),f===-1)return;for(l=c[1][f],c[0].splice(f,1),c[1].splice(f,1);!c[0].length&&k.length;)f=k.pop(),c=k.pop(),c[0].splice(f,1),c[1].splice(f,1);}delete o[l];},clear:function(){i=[],o=n(null);}}};}),Mb=U(function(e,t){var r=Uo();t.exports=function(){var n=0,a=[],i=[];return {get:function(s){var l=r.call(a,s[0]);return l===-1?null:i[l]},set:function(s){return a.push(s[0]),i.push(++n),n},delete:function(s){var l=r.call(i,s);l!==-1&&(a.splice(l,1),i.splice(l,1));},clear:function(){a=[],i=[];}}};}),Ob=U(function(e,t){var r=Uo(),n=Object.create;t.exports=function(a){var i=0,o=[[],[]],s=n(null);return {get:function(u){for(var c=0,f=o,g;c<a-1;){if(g=r.call(f[0],u[c]),g===-1)return null;f=f[1][g],++c;}return g=r.call(f[0],u[c]),g===-1?null:f[1][g]||null},set:function(u){for(var c=0,f=o,g;c<a-1;)g=r.call(f[0],u[c]),g===-1&&(g=f[0].push(u[c])-1,f[1].push([[],[]])),f=f[1][g],++c;return g=r.call(f[0],u[c]),g===-1&&(g=f[0].push(u[c])-1),f[1][g]=++i,s[i]=u,i},delete:function(u){for(var c=0,f=o,g,w=[],k=s[u];c<a-1;){if(g=r.call(f[0],k[c]),g===-1)return;w.push(f,g),f=f[1][g],++c;}if(g=r.call(f[0],k[c]),g!==-1){for(u=f[1][g],f[0].splice(g,1),f[1].splice(g,1);!f[0].length&&w.length;)g=w.pop(),f=w.pop(),f[0].splice(g,1),f[1].splice(g,1);delete s[u];}},clear:function(){o=[[],[]],s=n(null);}}};}),uc=U(function(e,t){var r=Wr(),n=di(),a=Function.prototype.call;t.exports=function(i,o){var s={},l=arguments[2];return r(o),n(i,function(u,c,f,g){s[c]=a.call(o,l,u,c,f,g);}),s};}),Xo=U(function(e,t){var r=function(i){if(typeof i!="function")throw new TypeError(i+" is not a function");return i},n=function(i){var o=v.createTextNode(""),s,l,u=0;return new i(function(){var c;if(s)l&&(s=l.concat(s));else {if(!l)return;s=l;}if(l=s,s=null,typeof l=="function"){c=l,l=null,c();return}for(o.data=u=++u%2;l;)c=l.shift(),l.length||(l=null),c();}).observe(o,{characterData:true}),function(c){if(r(c),s){typeof s=="function"?s=[s,c]:s.push(c);return}s=c,o.data=u=++u%2;}};t.exports=(function(){if((typeof process>"u"?"undefined":de(process))==="object"&&process&&typeof process.nextTick=="function")return process.nextTick;if(typeof queueMicrotask=="function")return function(a){queueMicrotask(r(a));};if((typeof v>"u"?"undefined":de(v))==="object"&&v){if(typeof MutationObserver=="function")return n(MutationObserver);if(typeof WebKitMutationObserver=="function")return n(WebKitMutationObserver)}return typeof setImmediate=="function"?function(a){setImmediate(r(a));}:typeof setTimeout=="function"||(typeof setTimeout>"u"?"undefined":de(setTimeout))==="object"?function(a){setTimeout(r(a),0);}:null})();}),Pb=U(function(){var e=Wo(),t=uc(),r=ic(),n=oc(),a=Xo(),i=Array.prototype.slice,o=Function.prototype.apply,s=Object.create;fn().async=function(l,u){var c=s(null),f=s(null),g=u.memoized,w=u.original,k,P,j;u.memoized=n(function($){var G=arguments,Y=G[G.length-1];return typeof Y=="function"&&(k=Y,G=i.call(G,0,-1)),g.apply(P=this,j=G)},g);try{r(u.memoized,g);}catch{}u.on("get",function($){var G,Y,K;if(k){if(c[$]){typeof c[$]=="function"?c[$]=[c[$],k]:c[$].push(k),k=null;return}G=k,Y=P,K=j,k=P=j=null,a(function(){var Z;hasOwnProperty.call(f,$)?(Z=f[$],u.emit("getasync",$,K,Y),o.call(G,Z.context,Z.args)):(k=G,P=Y,j=K,g.apply(Y,K));});}}),u.original=function(){var $,G,Y,K;return k?($=e(arguments),G=function Z(re){var se,fe,Ee=Z.id;if(Ee==null){a(o.bind(Z,this,arguments));return}if(delete Z.id,se=c[Ee],delete c[Ee],!!se)return fe=e(arguments),u.has(Ee)&&(re?u.delete(Ee):(f[Ee]={context:this,args:fe},u.emit("setasync",Ee,typeof se=="function"?1:se.length))),typeof se=="function"?K=o.call(se,this,fe):se.forEach(function(le){K=o.call(le,this,fe);},this),K},Y=k,k=P=j=null,$.push(G),K=o.call(w,this,$),G.cb=Y,k=G,K):o.call(w,this,arguments)},u.on("set",function($){if(!k){u.delete($);return}c[$]?typeof c[$]=="function"?c[$]=[c[$],k.cb]:c[$].push(k.cb):c[$]=k.cb,delete k.cb,k.id=$,k=null;}),u.on("delete",function($){var G;hasOwnProperty.call(c,$)||f[$]&&(G=f[$],delete f[$],u.emit("deleteasync",$,i.call(G.args,1)));}),u.on("clear",function(){var $=f;f=s(null),u.emit("clearasync",t($,function(G){return i.call(G.args,1)}));});};}),Nb=U(function(e,t){var r=Array.prototype.forEach,n=Object.create;t.exports=function(a){var i=n(null);return r.call(arguments,function(o){i[o]=true;}),i};}),cc=U(function(e,t){t.exports=function(r){return typeof r=="function"};}),qb=U(function(e,t){var r=cc();t.exports=function(n){try{return n&&r(n.toString)?n.toString():String(n)}catch{throw new TypeError("Passed argument cannot be stringifed")}};}),Bb=U(function(e,t){var r=En(),n=qb();t.exports=function(a){return n(r(a))};}),Hb=U(function(e,t){var r=cc();t.exports=function(n){try{return n&&r(n.toString)?n.toString():String(n)}catch{return "<Non-coercible to string value>"}};}),Vb=U(function(e,t){var r=Hb(),n=/[\n\r\u2028\u2029]/g;t.exports=function(a){var i=r(a);return i.length>100&&(i=i.slice(0,99)+"\u2026"),i=i.replace(n,function(o){return JSON.stringify(o).slice(1,-1)}),i};}),dc=U(function(e,t){t.exports=r,t.exports.default=r;function r(n){return !!n&&(de(n)==="object"||typeof n=="function")&&typeof n.then=="function"}}),jb=U(function(){var e=uc(),t=Nb(),r=Bb(),n=Vb(),a=dc(),i=Xo(),o=Object.create,s=t("then","then:finally","done","done:finally");fn().promise=function(l,u){var c=o(null),f=o(null),g=o(null);if(l===true)l=null;else if(l=r(l),!s[l])throw new TypeError("'"+n(l)+"' is not valid promise mode");u.on("set",function(w,k,P){var j=false;if(!a(P)){f[w]=P,u.emit("setasync",w,1);return}c[w]=1,g[w]=P;var $=function(re){var se=c[w];if(j)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)
|
|
371
|
+
Consider to rely on 'then' or 'done' mode instead.`);se&&(delete c[w],f[w]=re,u.emit("setasync",w,se));},G=function(){j=true,c[w]&&(delete c[w],delete g[w],u.delete(w));},Y=l;if(Y||(Y="then"),Y==="then"){var K=function(){i(G);};P=P.then(function(Z){i($.bind(this,Z));},K),typeof P.finally=="function"&&P.finally(K);}else if(Y==="done"){if(typeof P.done!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done' mode");P.done($,G);}else if(Y==="done:finally"){if(typeof P.done!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done:finally' mode");if(typeof P.finally!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'finally' in 'done:finally' mode");P.done($),P.finally(G);}}),u.on("get",function(w,k,P){var j;if(c[w]){++c[w];return}j=g[w];var $=function(){u.emit("getasync",w,k,P);};a(j)?typeof j.done=="function"?j.done($):j.then(function(){i($);}):$();}),u.on("delete",function(w){if(delete g[w],c[w]){delete c[w];return}if(hasOwnProperty.call(f,w)){var k=f[w];delete f[w],u.emit("deleteasync",w,[k]);}}),u.on("clear",function(){var w=f;f=o(null),c=o(null),g=o(null),u.emit("clearasync",e(w,function(k){return [k]}));});};}),$b=U(function(){var e=Wr(),t=di(),r=fn(),n=Function.prototype.apply;r.dispose=function(a,i,o){var s;if(e(a),o.async&&r.async||o.promise&&r.promise){i.on("deleteasync",s=function(u,c){n.call(a,null,c);}),i.on("clearasync",function(l){t(l,function(u,c){s(c,u);});});return}i.on("delete",s=function(u,c){a(c);}),i.on("clear",function(l){t(l,function(u,c){s(c,u);});});};}),zb=U(function(e,t){t.exports=2147483647;}),Gb=U(function(e,t){var r=dn(),n=zb();t.exports=function(a){if(a=r(a),a>n)throw new TypeError(a+" exceeds maximum possible timeout");return a};}),Wb=U(function(){var e=Wo(),t=di(),r=Xo(),n=dc(),a=Gb(),i=fn(),o=Function.prototype,s=Math.max,l=Math.min,u=Object.create;i.maxAge=function(c,f,g){var w,k,P,j;c=a(c),c&&(w=u(null),k=g.async&&i.async||g.promise&&i.promise?"async":"",f.on("set"+k,function($){w[$]=setTimeout(function(){f.delete($);},c),typeof w[$].unref=="function"&&w[$].unref(),j&&(j[$]&&j[$]!=="nextTick"&&clearTimeout(j[$]),j[$]=setTimeout(function(){delete j[$];},P),typeof j[$].unref=="function"&&j[$].unref());}),f.on("delete"+k,function($){clearTimeout(w[$]),delete w[$],j&&(j[$]!=="nextTick"&&clearTimeout(j[$]),delete j[$]);}),g.preFetch&&(g.preFetch===true||isNaN(g.preFetch)?P=.333:P=s(l(Number(g.preFetch),1),0),P&&(j={},P=(1-P)*c,f.on("get"+k,function($,G,Y){j[$]||(j[$]="nextTick",r(function(){var K;j[$]==="nextTick"&&(delete j[$],f.delete($),g.async&&(G=e(G),G.push(o)),K=f.memoized.apply(Y,G),g.promise&&n(K)&&(typeof K.done=="function"?K.done(o,o):K.then(o,o)));}));}))),f.on("clear"+k,function(){t(w,function($){clearTimeout($);}),w={},j&&(t(j,function($){$!=="nextTick"&&clearTimeout($);}),j={});}));};}),Ub=U(function(e,t){var r=dn(),n=Object.create,a=Object.prototype.hasOwnProperty;t.exports=function(i){var o=0,s=1,l=n(null),u=n(null),c=0,f;return i=r(i),{hit:function(w){var k=u[w],P=++c;if(l[P]=w,u[w]=P,!k)return ++o,o<=i?void 0:(w=l[s],f(w),w);if(delete l[k],s===k)for(;!a.call(l,++s););},delete:f=function(w){var k=u[w];if(k&&(delete l[k],delete u[w],--o,s===k)){if(!o){c=0,s=1;return}for(;!a.call(l,++s););}},clear:function(){o=0,s=1,l=n(null),u=n(null),c=0;}}};}),Xb=U(function(){var e=dn(),t=Ub(),r=fn();r.max=function(n,a,i){var o,s,l;n=e(n),n&&(s=t(n),o=i.async&&r.async||i.promise&&r.promise?"async":"",a.on("set"+o,l=function(c){c=s.hit(c),c!==void 0&&a.delete(c);}),a.on("get"+o,l),a.on("delete"+o,s.delete),a.on("clear"+o,s.clear));};}),Yb=U(function(){var e=pn(),t=fn(),r=Object.create,n=Object.defineProperties;t.refCounter=function(a,i,o){var s,l;s=r(null),l=o.async&&t.async||o.promise&&t.promise?"async":"",i.on("set"+l,function(u,c){s[u]=c||1;}),i.on("get"+l,function(u){++s[u];}),i.on("delete"+l,function(u){delete s[u];}),i.on("clear"+l,function(){s={};}),n(i.memoized,{deleteRef:e(function(){var u=i.get(arguments);return u===null||!s[u]?null:--s[u]?false:(i.delete(u),true)}),getRefCount:e(function(){var u=i.get(arguments);return u===null||!s[u]?0:s[u]})});};}),Kb=U(function(e,t){var r=rc(),n=nc(),a=Sb();t.exports=function(i){var o=r(arguments[1]),s;return o.normalizer||(s=o.length=n(o.length,i.length,o.async),s!==0&&(o.primitive?s===false?o.normalizer=kb():s>1&&(o.normalizer=Tb()(s)):s===false?o.normalizer=Lb()():s===1?o.normalizer=Mb()():o.normalizer=Ob()(s))),o.async&&Pb(),o.promise&&jb(),o.dispose&&$b(),o.maxAge&&Wb(),o.max&&Xb(),o.refCounter&&Yb(),a(i,o)};}),Jb=[{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"}],hr={helpUrlBase:"https://dequeuniversity.com/rules/",gridSize:200,selectorSimilarFilterLimit:700,results:[],resultGroups:[],resultGroupMap:{},impact:Object.freeze(["minor","moderate","serious","critical"]),preload:Object.freeze({assets:["cssom","media"],timeout:1e4}),allOrigins:"<unsafe_all_origins>",sameOrigin:"<same_origin>",serializableErrorProps:Object.freeze(["message","stack","name","code","ruleId","method"])};Jb.forEach(function(e){var t=e.name,r=e.value,n=e.priority,a=e.group;hr[t]=r,hr[t+"_PRIO"]=n,hr[t+"_GROUP"]=a,hr.results[n]=r,hr.resultGroups[n]=a,hr.resultGroupMap[r]=a;}),Object.freeze(hr.results),Object.freeze(hr.resultGroups),Object.freeze(hr.resultGroupMap),Object.freeze(hr);var Xe=hr;function Zb(){(typeof console>"u"?"undefined":de(console))==="object"&&console.log&&Function.prototype.apply.call(console.log,console,arguments);}var mn=Zb,Qb=/[\t\r\n\f]/g,ey=(function(){function e(){rr(this,e),this.parent=void 0;}return zt(e,[{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(r){var n=this.attr("class");if(!n)return false;var a=" "+r+" ";return (" "+n+" ").replace(Qb," ").indexOf(a)>=0}}])})(),Mt=ey,Yo={};fr(Yo,{DqElement:function(){return sr},RuleError:function(){return bo},aggregate:function(){return pi},aggregateChecks:function(){return mc},aggregateNodeResults:function(){return hc},aggregateResult:function(){return gc},areStylesSet:function(){return sy},assert:function(){return at},checkHelper:function(){return As},clone:function(){return Nr},closest:function(){return Jt},collectResultsFromFrames:function(){return of},contains:function(){return qr},convertSelector:function(){return Oi},cssParser:function(){return Bd},deepMerge:function(){return Ps},escapeSelector:function(){return At},extendMetaData:function(){return Ns},filterHtmlAttrs:function(){return xm},finalizeRuleResult:function(){return ea},findBy:function(){return ya},getAllChecks:function(){return Hi},getAncestry:function(){return Mi},getBaseLang:function(){return Dn},getCheckMessage:function(){return CA},getCheckOption:function(){return fo},getElementSource:function(){return Nd},getEnvironmentData:function(){return an},getFlattenedTree:function(){return El},getFrameContexts:function(){return $A},getFriendlyUriEnd:function(){return yc},getNodeAttributes:function(){return na},getNodeFromTree:function(){return Ke},getPreloadConfig:function(){return vm},getRootNode:function(){return wa},getRule:function(){return tm},getScroll:function(){return Vr},getScrollState:function(){return WA},getSelector:function(){return xs},getSelectorData:function(){return Li},getShadowSelector:function(){return bs},getStandards:function(){return UA},getStyleSheetFactory:function(){return am},getXpath:function(){return Pd},injectStyle:function(){return KA},isArrayLike:function(){return Rl},isContextObject:function(){return Fl},isContextProp:function(){return mo},isContextSpec:function(){return im},isHidden:function(){return JA},isHtmlElement:function(){return Ll},isLabelledFramesSelector:function(){return Il},isLabelledShadowDomSelector:function(){return ho},isNodeInContext:function(){return Ml},isShadowRoot:function(){return ji},isValidLang:function(){return wo},isXHTML:function(){return fa},matchAncestry:function(){return Ol},matches:function(){return Es},matchesExpression:function(){return Tn},matchesSelector:function(){return Cn},memoize:function(){return ht},mergeResults:function(){return Vi},nodeLookup:function(){return nt},nodeSerializer:function(){return lr},nodeSorter:function(){return Pl},objectHasOwn:function(){return Sr},parseCrossOriginStylesheet:function(){return ql},parseSameOriginStylesheet:function(){return lm},parseStylesheet:function(){return Nl},parseTabindex:function(){return kr},performanceTimer:function(){return lt},pollyfillElementsFromPoint:function(){return um},preload:function(){return hm},preloadCssom:function(){return dm},preloadMedia:function(){return mm},processMessage:function(){return Tl},publishMetaData:function(){return go},querySelectorAll:function(){return tr},querySelectorAllFilter:function(){return Tr},queue:function(){return Ar},respondable:function(){return br},ruleShouldRun:function(){return wm},select:function(){return Bl},sendCommandToFrame:function(){return tf},serializeError:function(){return vo},setScrollState:function(){return R_},shadowSelect:function(){return F_},shadowSelectAll:function(){return Hl},shouldPreload:function(){return gm},toArray:function(){return bc},tokenList:function(){return jt},uniqueArray:function(){return Oa},uuid:function(){return Ow},validInputTypes:function(){return yo},validLangs:function(){return Cm}});function ty(e,t,r){t=t.slice(),r&&t.push(r);var n=t.map(function(a){return e.indexOf(a)}).sort();return e[n.pop()]}var pi=ty,ry=Xe.CANTTELL_PRIO,ny=Xe.FAIL_PRIO,mi=[];mi[Xe.PASS_PRIO]=true,mi[Xe.CANTTELL_PRIO]=null,mi[Xe.FAIL_PRIO]=false;var fc=["any","all","none"];function pc(e,t){return fc.reduce(function(r,n){return r[n]=(e[n]||[]).map(function(a){return t(a,n)}),r},{})}function ay(e){var t=Object.assign({},e);pc(t,function(a,i){var o=typeof a.result>"u"?-1:mi.indexOf(a.result);a.priority=o!==-1?o:Xe.CANTTELL_PRIO,i==="none"&&(a.priority===Xe.PASS_PRIO?a.priority=Xe.FAIL_PRIO:a.priority===Xe.FAIL_PRIO&&(a.priority=Xe.PASS_PRIO));});var r={all:t.all.reduce(function(a,i){return Math.max(a,i.priority)},0),none:t.none.reduce(function(a,i){return Math.max(a,i.priority)},0),any:t.any.reduce(function(a,i){return Math.min(a,i.priority)},4)%4};t.priority=Math.max(r.all,r.none,r.any);var n=[];return fc.forEach(function(a){t[a]=t[a].filter(function(i){return i.priority===t.priority&&i.priority===r[a]}),t[a].forEach(function(i){return n.push(i.impact)});}),[ry,ny].includes(t.priority)?t.impact=pi(Xe.impact,n):t.impact=null,pc(t,function(a){delete a.result,delete a.priority;}),t.result=Xe.results[t.priority],delete t.priority,t}var mc=ay;function ea(e){var t=m._audit.rules.find(function(r){var n=r.id;return n===e.id});return t&&t.impact&&e.nodes.forEach(function(r){["any","all","none"].forEach(function(n){(r[n]||[]).forEach(function(a){a.impact=t.impact;});});}),Object.assign(e,hc(e.nodes)),delete e.nodes,e}function iy(e){var t={};if(e=e.map(function(i){if(i.any&&i.all&&i.none)return mc(i);if(Array.isArray(i.node))return ea(i);throw new TypeError("Invalid Result type")}),e&&e.length){var r=e.map(function(i){return i.result});t.result=pi(Xe.results,r,t.result);}else t.result="inapplicable";Xe.resultGroups.forEach(function(i){return t[i]=[]}),e.forEach(function(i){var o=Xe.resultGroupMap[i.result];t[o].push(i);});var n=Xe.FAIL_GROUP;if(t[n].length===0&&(n=Xe.CANTTELL_GROUP),t[n].length>0){var a=t[n].map(function(i){return i.impact});t.impact=pi(Xe.impact,a)||null;}else t.impact=null;return t}var hc=iy;function Ko(e,t,r){var n=Object.assign({},t);n.nodes=(n[r]||[]).concat(),Xe.resultGroups.forEach(function(a){delete n[a];}),e[r].push(n);}function oy(e){var t={};return Xe.resultGroups.forEach(function(r){return t[r]=[]}),e.forEach(function(r){r.error?Ko(t,r,Xe.CANTTELL_GROUP):r.result===Xe.NA?Ko(t,r,Xe.NA_GROUP):Xe.resultGroups.forEach(function(n){Array.isArray(r[n])&&r[n].length>0&&Ko(t,r,n);});}),t}var gc=oy;function vc(e,t,r){var n=d.getComputedStyle(e,null);if(!n)return false;for(var a=0;a<t.length;++a){var i=t[a];if(n.getPropertyValue(i.property)===i.value)return true}return !e.parentNode||e.nodeName.toUpperCase()===r.toUpperCase()?false:vc(e.parentNode,t,r)}var sy=vc;function ly(e,t){if(!e)throw new Error(t)}var at=ly;function uy(e){return Array.prototype.slice.call(e)}var bc=uy;function cy(e){for(var t=String(e),r=t.length,n=-1,a,i="",o=t.charCodeAt(0);++n<r;){if(a=t.charCodeAt(n),a==0){i+="\uFFFD";continue}if(a>=1&&a<=31||a==127||n==0&&a>=48&&a<=57||n==1&&a>=48&&a<=57&&o==45){i+="\\"+a.toString(16)+" ";continue}if(n==0&&r==1&&a==45){i+="\\"+t.charAt(n);continue}if(a>=128||a==45||a==95||a>=48&&a<=57||a>=65&&a<=90||a>=97&&a<=122){i+=t.charAt(n);continue}i+="\\"+t.charAt(n);}return i}var At=cy;function dy(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return e.length!==0&&(e.match(/[0-9]/g)||"").length>=e.length/2}function ta(e,t){return [e.substring(0,t),e.substring(t)]}function ra(e){return e.replace(/\s+$/,"")}function fy(e){var t=e,r="",n="",a="",i="",o="",s="";if(e.includes("#")){var l=ta(e,e.indexOf("#")),u=Ae(l,2);e=u[0],s=u[1];}if(e.includes("?")){var c=ta(e,e.indexOf("?")),f=Ae(c,2);e=f[0],o=f[1];}if(e.includes("://")){var g=e.split("://"),w=Ae(g,2);r=w[0],e=w[1];var k=ta(e,e.indexOf("/")),P=Ae(k,2);n=P[0],e=P[1];}else if(e.substr(0,2)==="//"){e=e.substr(2);var j=ta(e,e.indexOf("/")),$=Ae(j,2);n=$[0],e=$[1];}if(n.substr(0,4)==="www."&&(n=n.substr(4)),n&&n.includes(":")){var G=ta(n,n.indexOf(":")),Y=Ae(G,2);n=Y[0],a=Y[1];}return i=e,{original:t,protocol:r,domain:n,port:a,path:i,query:o,hash:s}}function py(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!(e.length<=1||e.substr(0,5)==="data:"||e.substr(0,11)==="javascript:"||e.includes("?"))){var r=t.currentDomain,n=t.maxLength,a=n===void 0?25:n,i=fy(e),o=i.path,s=i.domain,l=i.hash,u=o.substr(o.substr(0,o.length-2).lastIndexOf("/")+1);if(l)return u&&(u+l).length<=a?ra(u+l):u.length<2&&l.length>2&&l.length<=a?ra(l):void 0;if(s&&s.length<a&&o.length<=1||o==="/"+u&&s&&r&&s!==r&&(s+o).length<=a)return ra(s+o);var c=u.lastIndexOf(".");if((c===-1||c>1)&&(c!==-1||u.length>2)&&u.length<=a&&!u.match(/index(\.[a-zA-Z]{2-4})?/)&&!dy(u))return ra(u)}}var yc=py;function my(e){return e.attributes instanceof d.NamedNodeMap?e.attributes:e.cloneNode(false).attributes}var na=my,hy=(function(){var e;function t(r){var n=["matches","matchesSelector","mozMatchesSelector","webkitMatchesSelector","msMatchesSelector"],a=n.length,i,o;for(i=0;i<a;i++)if(o=n[i],r[o])return o}return function(r,n){return (!e||!r[e])&&(e=t(r)),r[e]?r[e](n):false}})(),Cn=hy,wc={};fr(wc,{ArrayFrom:function(){return Rd.default},Colorjs:function(){return ft},CssSelectorParser:function(){return xc.CssSelectorParser},doT:function(){return Ur.default},emojiRegexText:function(){return Jo},memoize:function(){return Dc.default}});var gy=wr(Og()),vy=wr(Pg());wr(Ng());var by=wr(Jg()),yy=wr(lv()),wy=wr(ec());"hasOwn"in Object||(Object.hasOwn=by.default),"values"in Object||(Object.values=yy.default),"Promise"in d||gy.default.polyfill(),"Uint32Array"in d||(d.Uint32Array=vy.Uint32Array),d.Uint32Array&&("some"in d.Uint32Array.prototype||Object.defineProperty(d.Uint32Array.prototype,"some",{value:Array.prototype.some}),"reduce"in d.Uint32Array.prototype||Object.defineProperty(d.Uint32Array.prototype,"reduce",{value:Array.prototype.reduce})),typeof Object.assign!="function"&&(function(){Object.assign=function(e){if(e==null)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(e),r=1;r<arguments.length;r++){var n=arguments[r];if(n!=null)for(var a in n)n.hasOwnProperty(a)&&(t[a]=n[a]);}return t};})(),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(t){if(this===null)throw new TypeError("Array.prototype.find called on null or undefined");if(typeof t!="function")throw new TypeError("predicate must be a function");for(var r=Object(this),n=r.length>>>0,a=arguments[1],i,o=0;o<n;o++)if(i=r[o],t.call(a,i,o,r))return i}}),Array.prototype.findIndex||Object.defineProperty(Array.prototype,"findIndex",{value:function(t,r){if(this===null)throw new TypeError("Array.prototype.find called on null or undefined");if(typeof t!="function")throw new TypeError("predicate must be a function");for(var n=Object(this),a=n.length>>>0,i,o=0;o<a;o++)if(i=n[o],t.call(r,i,o,n))return o;return -1}}),Array.prototype.includes||Object.defineProperty(Array.prototype,"includes",{value:function(t){var r=Object(this),n=parseInt(r.length,10)||0;if(n===0)return false;var a=parseInt(arguments[1],10)||0,i;a>=0?i=a:(i=n+a,i<0&&(i=0));for(var o;i<n;){if(o=r[i],t===o||t!==t&&o!==o)return true;i++;}return false}}),Array.prototype.some||Object.defineProperty(Array.prototype,"some",{value:function(t){if(this==null)throw new TypeError("Array.prototype.some called on null or undefined");if(typeof t!="function")throw new TypeError;for(var r=Object(this),n=r.length>>>0,a=arguments.length>=2?arguments[1]:void 0,i=0;i<n;i++)if(i in r&&t.call(a,r[i],i,r))return true;return false}}),Array.from||(Array.from=wy.default),String.prototype.includes||(String.prototype.includes=function(e,t){return typeof t!="number"&&(t=0),t+e.length>this.length?false:this.indexOf(e,t)!==-1}),Array.prototype.flat||Object.defineProperty(Array.prototype,"flat",{configurable:true,value:function e(){var t=isNaN(arguments[0])?1:Number(arguments[0]);return t?Array.prototype.reduce.call(this,function(r,n){return Array.isArray(n)?r.push.apply(r,e.call(n,t-1)):r.push(n),r},[]):Array.prototype.slice.call(this)},writable:true}),d.Node&&!("isConnected"in d.Node.prototype)&&Object.defineProperty(d.Node.prototype,"isConnected",{get:function(){return !this.ownerDocument||!(this.ownerDocument.compareDocumentPosition(this)&this.DOCUMENT_POSITION_DISCONNECTED)}});var xc=wr(Hv()),Ur=wr(Vv()),Jo=function(){return /[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E-\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED8\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])))?))?|\uDD75(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3C-\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE8A\uDE8E-\uDEC2\uDEC6\uDEC8\uDECD-\uDEDC\uDEDF-\uDEEA\uDEEF]|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g},Dc=wr(Kb());function Ct(e,t){var r=e.length;Array.isArray(e[0])||(e=[e]),Array.isArray(t[0])||(t=t.map(function(o){return [o]}));var n=t[0].length,a=t[0].map(function(o,s){return t.map(function(l){return l[s]})}),i=e.map(function(o){return a.map(function(s){var l=0;if(!Array.isArray(o)){var u=ot(s),c;try{for(u.s();!(c=u.n()).done;){var f=c.value;l+=o*f;}}catch(w){u.e(w);}finally{u.f();}return l}for(var g=0;g<o.length;g++)l+=o[g]*(s[g]||0);return l})});return r===1&&(i=i[0]),n===1?i.map(function(o){return o[0]}):i}function aa(e){return Xr(e)==="string"}function Xr(e){var t=Object.prototype.toString.call(e);return (t.match(/^\[object\s+(.*?)\]$/)[1]||"").toLowerCase()}function hi(e,t){e=+e,t=+t;var r=(Math.floor(e)+"").length;if(t>r)return +e.toFixed(t-r);var n=Math.pow(10,r-t);return Math.round(e/n)*n}function Ac(e){if(e){e=e.trim();var t=/^([a-z]+)\((.+?)\)$/i,r=/^-?[\d.]+$/,n=e.match(t);if(n){var a=[];return n[2].replace(/\/?\s*([-\w.]+(?:%|deg)?)/g,function(i,o){/%$/.test(o)?(o=new Number(o.slice(0,-1)/100),o.type="<percentage>"):/deg$/.test(o)?(o=new Number(+o.slice(0,-3)),o.type="<angle>",o.unit="deg"):r.test(o)&&(o=new Number(o),o.type="<number>"),i.startsWith("/")&&(o=o instanceof Number?o:new Number(o),o.alpha=true),a.push(o);}),{name:n[1].toLowerCase(),rawName:n[1],rawArgs:n[2],args:a}}}}function _c(e){return e[e.length-1]}function gi(e,t,r){return isNaN(e)?t:isNaN(t)?e:e+(t-e)*r}function Ec(e,t,r){return (r-e)/(t-e)}function Zo(e,t,r){return gi(t[0],t[1],Ec(e[0],e[1],r))}function Cc(e){return e.map(function(t){return t.split("|").map(function(r){r=r.trim();var n=r.match(/^(<[a-z]+>)\[(-?[.\d]+),\s*(-?[.\d]+)\]?$/);if(n){var a=new String(n[1]);return a.range=[+n[2],+n[3]],a}return r})})}var xy=Object.freeze({__proto__:null,isString:aa,type:Xr,toPrecision:hi,parseFunction:Ac,last:_c,interpolate:gi,interpolateInv:Ec,mapRange:Zo,parseCoordGrammar:Cc,multiplyMatrices:Ct}),Dy=(function(){function e(){rr(this,e);}return zt(e,[{key:"add",value:function(r,n,a){if(typeof arguments[0]!="string"){for(var r in arguments[0])this.add(r,arguments[0][r],arguments[1]);return}(Array.isArray(r)?r:[r]).forEach(function(i){this[i]=this[i]||[],n&&this[i][a?"unshift":"push"](n);},this);}},{key:"run",value:function(r,n){this[r]=this[r]||[],this[r].forEach(function(a){a.call(n&&n.context?n.context:n,n);});}}])})(),Yr=new Dy,Dr={gamut_mapping:"lch.c",precision:5,deltaE:"76"},gr={D50:[.3457/.3585,1,(1-.3457-.3585)/.3585],D65:[.3127/.329,1,(1-.3127-.329)/.329]};function Qo(e){return Array.isArray(e)?e:gr[e]}function vi(e,t,r){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};if(e=Qo(e),t=Qo(t),!e||!t)throw new TypeError("Missing white point to convert ".concat(e?"":"from").concat(!e&&!t?"/":"").concat(t?"":"to"));if(e===t)return r;var a={W1:e,W2:t,XYZ:r,options:n};if(Yr.run("chromatic-adaptation-start",a),a.M||(a.W1===gr.D65&&a.W2===gr.D50?a.M=[[1.0479298208405488,.022946793341019088,-0.05019222954313557],[.029627815688159344,.990434484573249,-0.01707382502938514],[-0.009243058152591178,.015055144896577895,.7518742899580008]]:a.W1===gr.D50&&a.W2===gr.D65&&(a.M=[[.9554734527042182,-0.023098536874261423,.0632593086610217],[-0.028369706963208136,1.0099954580058226,.021041398966943008],[.012314001688319899,-0.020507696433477912,1.3303659366080753]])),Yr.run("chromatic-adaptation-end",a),a.M)return Ct(a.M,a.XYZ);throw new TypeError("Only Bradford CAT with white points D50 and D65 supported for now.")}var Ay=75e-6,vr=(te=new WeakSet,oe=new WeakMap,(function(){function e(t){var r,n,a,i,o,s,l;rr(this,e),Za(this,te),Ft(this,oe,void 0),this.id=t.id,this.name=t.name,this.base=t.base?vr.get(t.base):null,this.aliases=t.aliases,this.base&&(this.fromBase=t.fromBase,this.toBase=t.toBase);var u=(r=t.coords)!==null&&r!==void 0?r:this.base.coords;this.coords=u;var c=(n=(a=t.white)!==null&&a!==void 0?a:this.base.white)!==null&&n!==void 0?n:"D65";this.white=Qo(c),this.formats=(i=t.formats)!==null&&i!==void 0?i:{};for(var f in this.formats){var g=this.formats[f];g.type||(g.type="function"),g.name||(g.name=f);}t.cssId&&!((o=this.formats.functions)!==null&&o!==void 0&&o.color)?(this.formats.color={id:t.cssId},Object.defineProperty(this,"cssId",{value:t.cssId})):(s=this.formats)!==null&&s!==void 0&&s.color&&!((l=this.formats)!==null&&l!==void 0&&l.color.id)&&(this.formats.color.id=this.id),this.referred=t.referred,Lt(oe,this,zr(te,this,_y).call(this).reverse()),Yr.run("colorspace-init-end",this);}return zt(e,[{key:"inGamut",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=n.epsilon,i=a===void 0?Ay:a;if(this.isPolar)return r=this.toBase(r),this.base.inGamut(r,{epsilon:i});var o=Object.values(this.coords);return r.every(function(s,l){var u=o[l];if(u.type!=="angle"&&u.range){if(Number.isNaN(s))return true;var c=Ae(u.range,2),f=c[0],g=c[1];return (f===void 0||s>=f-i)&&(g===void 0||s<=g+i)}return true})}},{key:"cssId",get:function(){var r;return ((r=this.formats.functions)===null||r===void 0||(r=r.color)===null||r===void 0?void 0:r.id)||this.id}},{key:"isPolar",get:function(){for(var r in this.coords)if(this.coords[r].type==="angle")return true;return false}},{key:"getFormat",value:function(r){if(de(r)==="object")return r=zr(te,this,Sc).call(this,r),r;var n;return r==="default"?n=Object.values(this.formats)[0]:n=this.formats[r],n?(n=zr(te,this,Sc).call(this,n),n):null}},{key:"to",value:function(r,n){if(arguments.length===1){var a=[r.space,r.coords];r=a[0],n=a[1];}if(r=vr.get(r),this===r)return n;n=n.map(function(g){return Number.isNaN(g)?0:g});for(var i=$t(oe,this),o=$t(oe,r),s,l,u=0;u<i.length&&i[u]===o[u];u++)s=i[u],l=u;if(!s)throw new Error("Cannot convert between color spaces ".concat(this," and ").concat(r,": no connection space was found"));for(var c=i.length-1;c>l;c--)n=i[c].toBase(n);for(var f=l+1;f<o.length;f++)n=o[f].fromBase(n);return n}},{key:"from",value:function(r,n){if(arguments.length===1){var a=[r.space,r.coords];r=a[0],n=a[1];}return r=vr.get(r),r.to(this,n)}},{key:"toString",value:function(){return "".concat(this.name," (").concat(this.id,")")}},{key:"getMinCoords",value:function(){var r=[];for(var n in this.coords){var a,i=this.coords[n],o=i.range||i.refRange;r.push((a=o?.min)!==null&&a!==void 0?a:0);}return r}}],[{key:"all",get:function(){return De(new Set(Object.values(vr.registry)))}},{key:"register",value:function(r,n){if(arguments.length===1&&(n=arguments[0],r=n.id),n=this.get(n),this.registry[r]&&this.registry[r]!==n)throw new Error("Duplicate color space registration: '".concat(r,"'"));if(this.registry[r]=n,arguments.length===1&&n.aliases){var a=ot(n.aliases),i;try{for(a.s();!(i=a.n()).done;){var o=i.value;this.register(o,n);}}catch(s){a.e(s);}finally{a.f();}}return n}},{key:"get",value:function(r){if(!r||r instanceof vr)return r;var n=Xr(r);if(n==="string"){var a=vr.registry[r.toLowerCase()];if(!a)throw new TypeError('No color space found with id = "'.concat(r,'"'));return a}for(var i=arguments.length,o=new Array(i>1?i-1:0),s=1;s<i;s++)o[s-1]=arguments[s];if(o.length)return vr.get.apply(vr,o);throw new TypeError("".concat(r," is not a valid color space"))}},{key:"resolveCoord",value:function(r,n){var a=Xr(r),i,o;if(a==="string")if(r.includes(".")){var s=r.split("."),l=Ae(s,2);i=l[0],o=l[1];}else i=void 0,o=r;else if(Array.isArray(r)){var u=Ae(r,2);i=u[0],o=u[1];}else i=r.space,o=r.coordId;if(i=vr.get(i),i||(i=n),!i)throw new TypeError("Cannot resolve coordinate reference ".concat(r,": No color space specified and relative references are not allowed here"));if(a=Xr(o),a==="number"||a==="string"&&o>=0){var c=Object.entries(i.coords)[o];if(c)return ve({space:i,id:c[0],index:o},c[1])}i=vr.get(i);var f=o.toLowerCase(),g=0;for(var w in i.coords){var k,P=i.coords[w];if(w.toLowerCase()===f||((k=P.name)===null||k===void 0?void 0:k.toLowerCase())===f)return ve({space:i,id:w,index:g},P);g++;}throw new TypeError('No "'.concat(o,'" coordinate found in ').concat(i.name,". Its coordinates are: ").concat(Object.keys(i.coords).join(", ")))}}])})());function Sc(e){if(e.coords&&!e.coordGrammar){e.type||(e.type="function"),e.name||(e.name="color"),e.coordGrammar=Cc(e.coords);var t=Object.entries(this.coords).map(function(r,n){var a=Ae(r,2);a[0];var o=a[1],s=e.coordGrammar[n][0],l=o.range||o.refRange,u=s.range,c="";return s=="<percentage>"?(u=[0,100],c="%"):s=="<angle>"&&(c="deg"),{fromRange:l,toRange:u,suffix:c}});e.serializeCoords=function(r,n){return r.map(function(a,i){var o=t[i],s=o.fromRange,l=o.toRange,u=o.suffix;return s&&l&&(a=Zo(s,l,a)),a=hi(a,n),u&&(a+=u),a})};}return e}function _y(){for(var e=[this],t=this;t=t.base;)e.push(t);return e}var Be=vr;Fu(Be,"registry",{}),Fu(Be,"DEFAULT_FORMAT",{type:"functions",name:"color"});var ar=new Be({id:"xyz-d65",name:"XYZ D65",coords:{x:{name:"X"},y:{name:"Y"},z:{name:"Z"}},white:"D65",formats:{color:{ids:["xyz-d65","xyz"]}},aliases:["xyz"]}),Wt=(function(e){function t(r){var n,a;if(rr(this,t),r.coords||(r.coords={r:{range:[0,1],name:"Red"},g:{range:[0,1],name:"Green"},b:{range:[0,1],name:"Blue"}}),r.base||(r.base=ar),r.toXYZ_M&&r.fromXYZ_M){var i,o;(i=r.toBase)!==null&&i!==void 0||(r.toBase=function(s){var l=Ct(r.toXYZ_M,s);return a.white!==a.base.white&&(l=vi(a.white,a.base.white,l)),l}),(o=r.fromBase)!==null&&o!==void 0||(r.fromBase=function(s){return s=vi(a.base.white,a.white,s),Ct(r.fromXYZ_M,s)});}return (n=r.referred)!==null&&n!==void 0||(r.referred="display"),a=ne(this,t,[r])}return Ge(t,e),zt(t)})(Be);function kc(e){var t,r={str:(t=String(e))===null||t===void 0?void 0:t.trim()};if(Yr.run("parse-start",r),r.color)return r.color;if(r.parsed=Ac(r.str),r.parsed){var n=r.parsed.name;if(n==="color"){var a=r.parsed.args.shift(),i=r.parsed.rawArgs.indexOf("/")>0?r.parsed.args.pop():1,o=ot(Be.all),s;try{var l=function(){var Ee=s.value,le=Ee.getFormat("color");if(le){var ge;if(a===le.id||(ge=le.ids)!==null&&ge!==void 0&&ge.includes(a)){var xe=Object.keys(Ee.coords).length,Ce=Array(xe).fill(0);return Ce.forEach(function(Oe,$e){return Ce[$e]=r.parsed.args[$e]||0}),{v:{spaceId:Ee.id,coords:Ce,alpha:i}}}}},u;for(o.s();!(s=o.n()).done;)if(u=l(),u)return u.v}catch(fe){o.e(fe);}finally{o.f();}var c="";if(a in Be.registry){var f,g=(f=Be.registry[a].formats)===null||f===void 0||(f=f.functions)===null||f===void 0||(f=f.color)===null||f===void 0?void 0:f.id;g&&(c="Did you mean color(".concat(g,")?"));}throw new TypeError("Cannot parse color(".concat(a,"). ")+(c||"Missing a plugin?"))}else {var w=ot(Be.all),k;try{var P=function(){var Ee=k.value,le=Ee.getFormat(n);if(le&&le.type==="function"){var ge=1;(le.lastAlpha||_c(r.parsed.args).alpha)&&(ge=r.parsed.args.pop());var xe=r.parsed.args;return le.coordGrammar&&Object.entries(Ee.coords).forEach(function(Ce,Oe){var $e,Fe=Ae(Ce,2),He=Fe[0],ye=Fe[1],Me=le.coordGrammar[Oe],ee=($e=xe[Oe])===null||$e===void 0?void 0:$e.type;if(Me=Me.find(function(je){return je==ee}),!Me){var ke=ye.name||He;throw new TypeError("".concat(ee," not allowed for ").concat(ke," in ").concat(n,"()"))}var he=Me.range;ee==="<percentage>"&&(he||(he=[0,1]));var Te=ye.range||ye.refRange;he&&Te&&(xe[Oe]=Zo(he,Te,xe[Oe]));}),{v:{spaceId:Ee.id,coords:xe,alpha:ge}}}},j;for(w.s();!(k=w.n()).done;)if(j=P(),j)return j.v}catch(fe){w.e(fe);}finally{w.f();}}}else {var $=ot(Be.all),G;try{for($.s();!(G=$.n()).done;){var Y=G.value;for(var K in Y.formats){var Z=Y.formats[K];if(Z.type==="custom"&&!(Z.test&&!Z.test(r.str))){var re=Z.parse(r.str);if(re){var se;return (se=re.alpha)!==null&&se!==void 0||(re.alpha=1),re}}}}}catch(fe){$.e(fe);}finally{$.f();}}throw new TypeError("Could not parse ".concat(e," as a color. Missing a plugin?"))}function ut(e){if(!e)throw new TypeError("Empty color reference");aa(e)&&(e=kc(e));var t=e.space||e.spaceId;return t instanceof Be||(e.space=Be.get(t)),e.alpha===void 0&&(e.alpha=1),e}function ia(e,t){return t=Be.get(t),t.from(e)}function ir(e,t){var r=Be.resolveCoord(t,e.space),n=r.space,a=r.index,i=ia(e,n);return i[a]}function Tc(e,t,r){return t=Be.get(t),e.coords=t.to(e.space,r),e}function Kr(e,t,r){if(e=ut(e),arguments.length===2&&Xr(arguments[1])==="object"){var n=arguments[1];for(var a in n)Kr(e,a,n[a]);}else {typeof r=="function"&&(r=r(ir(e,t)));var i=Be.resolveCoord(t,e.space),o=i.space,s=i.index,l=ia(e,o);l[s]=r,Tc(e,o,l);}return e}var es=new Be({id:"xyz-d50",name:"XYZ D50",white:"D50",base:ar,fromBase:function(t){return vi(ar.white,"D50",t)},toBase:function(t){return vi("D50",ar.white,t)},formats:{color:{}}}),Ey=216/24389,Rc=24/116,bi=24389/27,ts=gr.D50,Kt=new Be({id:"lab",name:"Lab",coords:{l:{refRange:[0,100],name:"L"},a:{refRange:[-125,125]},b:{refRange:[-125,125]}},white:ts,base:es,fromBase:function(t){var r=t.map(function(a,i){return a/ts[i]}),n=r.map(function(a){return a>Ey?Math.cbrt(a):(bi*a+16)/116});return [116*n[1]-16,500*(n[0]-n[1]),200*(n[1]-n[2])]},toBase:function(t){var r=[];r[1]=(t[0]+16)/116,r[0]=t[1]/500+r[1],r[2]=r[1]-t[2]/200;var n=[r[0]>Rc?Math.pow(r[0],3):(116*r[0]-16)/bi,t[0]>8?Math.pow((t[0]+16)/116,3):t[0]/bi,r[2]>Rc?Math.pow(r[2],3):(116*r[2]-16)/bi];return n.map(function(a,i){return a*ts[i]})},formats:{lab:{coords:["<number> | <percentage>","<number>","<number>"]}}});function yi(e){return (e%360+360)%360}function Cy(e,t){if(e==="raw")return t;var r=t.map(yi),n=Ae(r,2),a=n[0],i=n[1],o=i-a;return e==="increasing"?o<0&&(i+=360):e==="decreasing"?o>0&&(a+=360):e==="longer"?-180<o&&o<180&&(o>0?i+=360:a+=360):e==="shorter"&&(o>180?a+=360:o<-180&&(i+=360)),[a,i]}var oa=new Be({id:"lch",name:"LCH",coords:{l:{refRange:[0,100],name:"Lightness"},c:{refRange:[0,150],name:"Chroma"},h:{refRange:[0,360],type:"angle",name:"Hue"}},base:Kt,fromBase:function(t){var r=Ae(t,3),n=r[0],a=r[1],i=r[2],o,s=.02;return Math.abs(a)<s&&Math.abs(i)<s?o=NaN:o=Math.atan2(i,a)*180/Math.PI,[n,Math.sqrt(Math.pow(a,2)+Math.pow(i,2)),yi(o)]},toBase:function(t){var r=Ae(t,3),n=r[0],a=r[1],i=r[2];return a<0&&(a=0),isNaN(i)&&(i=0),[n,a*Math.cos(i*Math.PI/180),a*Math.sin(i*Math.PI/180)]},formats:{lch:{coords:["<number> | <percentage>","<number>","<number> | <angle>"]}}}),Fc=Math.pow(25,7),wi=Math.PI,Ic=180/wi,Sn=wi/180;function rs(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=r.kL,a=n===void 0?1:n,i=r.kC,o=i===void 0?1:i,s=r.kH,l=s===void 0?1:s,u=Kt.from(e),c=Ae(u,3),f=c[0],g=c[1],w=c[2],k=oa.from(Kt,[f,g,w])[1],P=Kt.from(t),j=Ae(P,3),$=j[0],G=j[1],Y=j[2],K=oa.from(Kt,[$,G,Y])[1];k<0&&(k=0),K<0&&(K=0);var Z=(k+K)/2,re=Math.pow(Z,7),se=.5*(1-Math.sqrt(re/(re+Fc))),fe=(1+se)*g,Ee=(1+se)*G,le=Math.sqrt(Math.pow(fe,2)+Math.pow(w,2)),ge=Math.sqrt(Math.pow(Ee,2)+Math.pow(Y,2)),xe=fe===0&&w===0?0:Math.atan2(w,fe),Ce=Ee===0&&Y===0?0:Math.atan2(Y,Ee);xe<0&&(xe+=2*wi),Ce<0&&(Ce+=2*wi),xe*=Ic,Ce*=Ic;var Oe=$-f,$e=ge-le,Fe=Ce-xe,He=xe+Ce,ye=Math.abs(Fe),Me;le*ge===0?Me=0:ye<=180?Me=Fe:Fe>180?Me=Fe-360:Fe<-180?Me=Fe+360:console.log("the unthinkable has happened");var ee=2*Math.sqrt(ge*le)*Math.sin(Me*Sn/2),ke=(f+$)/2,he=(le+ge)/2,Te=Math.pow(he,7),je;le*ge===0?je=He:ye<=180?je=He/2:He<360?je=(He+360)/2:je=(He-360)/2;var Re=Math.pow(ke-50,2),Le=1+.015*Re/Math.sqrt(20+Re),et=1+.045*he,ct=1;ct-=.17*Math.cos((je-30)*Sn),ct+=.24*Math.cos(2*je*Sn),ct+=.32*Math.cos((3*je+6)*Sn),ct-=.2*Math.cos((4*je-63)*Sn);var pt=1+.015*he*ct,_t=30*Math.exp(-1*Math.pow((je-275)/25,2)),Tt=2*Math.sqrt(Te/(Te+Fc)),kt=-1*Math.sin(2*_t*Sn)*Tt,vt=Math.pow(Oe/(a*Le),2);return vt+=Math.pow($e/(o*et),2),vt+=Math.pow(ee/(l*pt),2),vt+=kt*($e/(o*et))*(ee/(l*pt)),Math.sqrt(vt)}var Sy=75e-6;function sa(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e.space,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=r.epsilon,a=n===void 0?Sy:n;e=ut(e),t=Be.get(t);var i=e.coords;return t!==e.space&&(i=t.from(e)),t.inGamut(i,{epsilon:a})}function la(e){return {space:e.space,coords:e.coords.slice(),alpha:e.alpha}}function Jr(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.method,n=r===void 0?Dr.gamut_mapping:r,a=t.space,i=a===void 0?e.space:a;if(aa(arguments[1])&&(i=arguments[1]),i=Be.get(i),sa(e,i,{epsilon:0}))return e;var o=or(e,i);if(n!=="clip"&&!sa(e,i)){var s=Jr(la(o),{method:"clip",space:i});if(rs(e,s)>2){for(var l=Be.resolveCoord(n),u=l.space,c=l.id,f=or(o,u),g=l.range||l.refRange,w=g[0],k=.01,P=w,j=ir(f,c);j-P>k;){var $=la(f);$=Jr($,{space:i,method:"clip"});var G=rs(f,$);G-2<k?P=ir(f,c):j=ir(f,c),Kr(f,c,(P+j)/2);}o=or(f,i);}else o=s;}if(n==="clip"||!sa(o,i,{epsilon:0})){var Y=Object.values(i.coords).map(function(K){return K.range||[]});o.coords=o.coords.map(function(K,Z){var re=Ae(Y[Z],2),se=re[0],fe=re[1];return se!==void 0&&(K=Math.max(se,K)),fe!==void 0&&(K=Math.min(K,fe)),K});}return i!==e.space&&(o=or(o,e.space)),e.coords=o.coords,e}Jr.returns="color";function or(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=r.inGamut;e=ut(e),t=Be.get(t);var a=t.from(e),i={space:t,coords:a,alpha:e.alpha};return n&&(i=Jr(i)),i}or.returns="color";function xi(e){var t,r,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=n.precision,i=a===void 0?Dr.precision:a,o=n.format,s=o===void 0?"default":o,l=n.inGamut,u=l===void 0?true:l,c=J(n,T),f;e=ut(e);var g=s;s=(t=(r=e.space.getFormat(s))!==null&&r!==void 0?r:e.space.getFormat("default"))!==null&&t!==void 0?t:Be.DEFAULT_FORMAT,u||(u=s.toGamut);var w=e.coords;if(w=w.map(function(K){return K||0}),u&&!sa(e)&&(w=Jr(la(e),u===true?void 0:u).coords),s.type==="custom")if(c.precision=i,s.serialize)f=s.serialize(w,e.alpha,c);else throw new TypeError("format ".concat(g," can only be used to parse colors, not for serialization"));else {var k=s.name||"color";s.serializeCoords?w=s.serializeCoords(w,i):i!==null&&(w=w.map(function(K){return hi(K,i)}));var P=De(w);if(k==="color"){var j,$=s.id||((j=s.ids)===null||j===void 0?void 0:j[0])||e.space.id;P.unshift($);}var G=e.alpha;i!==null&&(G=hi(G,i));var Y=e.alpha<1&&!s.noAlpha?"".concat(s.commas?",":" /"," ").concat(G):"";f="".concat(k,"(").concat(P.join(s.commas?", ":" ")).concat(Y,")");}return f}var ky=[[.6369580483012914,.14461690358620832,.1688809751641721],[.2627002120112671,.6779980715188708,.05930171646986196],[0,.028072693049087428,1.060985057710791]],Ty=[[1.716651187971268,-0.355670783776392,-0.25336628137366],[-0.666684351832489,1.616481236634939,.0157685458139111],[.017639857445311,-0.042770613257809,.942103121235474]],Di=new Wt({id:"rec2020-linear",name:"Linear REC.2020",white:"D65",toXYZ_M:ky,fromXYZ_M:Ty,formats:{color:{}}}),Ai=1.09929682680944,Lc=.018053968510807,Mc=new Wt({id:"rec2020",name:"REC.2020",base:Di,toBase:function(t){return t.map(function(r){return r<Lc*4.5?r/4.5:Math.pow((r+Ai-1)/Ai,1/.45)})},fromBase:function(t){return t.map(function(r){return r>=Lc?Ai*Math.pow(r,.45)-(Ai-1):4.5*r})},formats:{color:{}}}),Ry=[[.4865709486482162,.26566769316909306,.1982172852343625],[.2289745640697488,.6917385218365064,.079286914093745],[0,.04511338185890264,1.043944368900976]],Fy=[[2.493496911941425,-0.9313836179191239,-0.40271078445071684],[-0.8294889695615747,1.7626640603183463,.023624685841943577],[.03584583024378447,-0.07617238926804182,.9568845240076872]],Oc=new Wt({id:"p3-linear",name:"Linear P3",white:"D65",toXYZ_M:Ry,fromXYZ_M:Fy}),Iy=[[.41239079926595934,.357584339383878,.1804807884018343],[.21263900587151027,.715168678767756,.07219231536073371],[.01933081871559182,.11919477979462598,.9505321522496607]],Ly=[[3.2409699419045226,-1.537383177570094,-0.4986107602930034],[-0.9692436362808796,1.8759675015077202,.04155505740717559],[.05563007969699366,-0.20397695888897652,1.0569715142428786]],Pc=new Wt({id:"srgb-linear",name:"Linear sRGB",white:"D65",toXYZ_M:Iy,fromXYZ_M:Ly,formats:{color:{}}}),Nc={aliceblue:[240/255,248/255,1],antiquewhite:[250/255,235/255,215/255],aqua:[0,1,1],aquamarine:[127/255,1,212/255],azure:[240/255,1,1],beige:[245/255,245/255,220/255],bisque:[1,228/255,196/255],black:[0,0,0],blanchedalmond:[1,235/255,205/255],blue:[0,0,1],blueviolet:[138/255,43/255,226/255],brown:[165/255,42/255,42/255],burlywood:[222/255,184/255,135/255],cadetblue:[95/255,158/255,160/255],chartreuse:[127/255,1,0],chocolate:[210/255,105/255,30/255],coral:[1,127/255,80/255],cornflowerblue:[100/255,149/255,237/255],cornsilk:[1,248/255,220/255],crimson:[220/255,20/255,60/255],cyan:[0,1,1],darkblue:[0,0,139/255],darkcyan:[0,139/255,139/255],darkgoldenrod:[184/255,134/255,11/255],darkgray:[169/255,169/255,169/255],darkgreen:[0,100/255,0],darkgrey:[169/255,169/255,169/255],darkkhaki:[189/255,183/255,107/255],darkmagenta:[139/255,0,139/255],darkolivegreen:[85/255,107/255,47/255],darkorange:[1,140/255,0],darkorchid:[153/255,50/255,204/255],darkred:[139/255,0,0],darksalmon:[233/255,150/255,122/255],darkseagreen:[143/255,188/255,143/255],darkslateblue:[72/255,61/255,139/255],darkslategray:[47/255,79/255,79/255],darkslategrey:[47/255,79/255,79/255],darkturquoise:[0,206/255,209/255],darkviolet:[148/255,0,211/255],deeppink:[1,20/255,147/255],deepskyblue:[0,191/255,1],dimgray:[105/255,105/255,105/255],dimgrey:[105/255,105/255,105/255],dodgerblue:[30/255,144/255,1],firebrick:[178/255,34/255,34/255],floralwhite:[1,250/255,240/255],forestgreen:[34/255,139/255,34/255],fuchsia:[1,0,1],gainsboro:[220/255,220/255,220/255],ghostwhite:[248/255,248/255,1],gold:[1,215/255,0],goldenrod:[218/255,165/255,32/255],gray:[128/255,128/255,128/255],green:[0,128/255,0],greenyellow:[173/255,1,47/255],grey:[128/255,128/255,128/255],honeydew:[240/255,1,240/255],hotpink:[1,105/255,180/255],indianred:[205/255,92/255,92/255],indigo:[75/255,0,130/255],ivory:[1,1,240/255],khaki:[240/255,230/255,140/255],lavender:[230/255,230/255,250/255],lavenderblush:[1,240/255,245/255],lawngreen:[124/255,252/255,0],lemonchiffon:[1,250/255,205/255],lightblue:[173/255,216/255,230/255],lightcoral:[240/255,128/255,128/255],lightcyan:[224/255,1,1],lightgoldenrodyellow:[250/255,250/255,210/255],lightgray:[211/255,211/255,211/255],lightgreen:[144/255,238/255,144/255],lightgrey:[211/255,211/255,211/255],lightpink:[1,182/255,193/255],lightsalmon:[1,160/255,122/255],lightseagreen:[32/255,178/255,170/255],lightskyblue:[135/255,206/255,250/255],lightslategray:[119/255,136/255,153/255],lightslategrey:[119/255,136/255,153/255],lightsteelblue:[176/255,196/255,222/255],lightyellow:[1,1,224/255],lime:[0,1,0],limegreen:[50/255,205/255,50/255],linen:[250/255,240/255,230/255],magenta:[1,0,1],maroon:[128/255,0,0],mediumaquamarine:[102/255,205/255,170/255],mediumblue:[0,0,205/255],mediumorchid:[186/255,85/255,211/255],mediumpurple:[147/255,112/255,219/255],mediumseagreen:[60/255,179/255,113/255],mediumslateblue:[123/255,104/255,238/255],mediumspringgreen:[0,250/255,154/255],mediumturquoise:[72/255,209/255,204/255],mediumvioletred:[199/255,21/255,133/255],midnightblue:[25/255,25/255,112/255],mintcream:[245/255,1,250/255],mistyrose:[1,228/255,225/255],moccasin:[1,228/255,181/255],navajowhite:[1,222/255,173/255],navy:[0,0,128/255],oldlace:[253/255,245/255,230/255],olive:[128/255,128/255,0],olivedrab:[107/255,142/255,35/255],orange:[1,165/255,0],orangered:[1,69/255,0],orchid:[218/255,112/255,214/255],palegoldenrod:[238/255,232/255,170/255],palegreen:[152/255,251/255,152/255],paleturquoise:[175/255,238/255,238/255],palevioletred:[219/255,112/255,147/255],papayawhip:[1,239/255,213/255],peachpuff:[1,218/255,185/255],peru:[205/255,133/255,63/255],pink:[1,192/255,203/255],plum:[221/255,160/255,221/255],powderblue:[176/255,224/255,230/255],purple:[128/255,0,128/255],rebeccapurple:[102/255,51/255,153/255],red:[1,0,0],rosybrown:[188/255,143/255,143/255],royalblue:[65/255,105/255,225/255],saddlebrown:[139/255,69/255,19/255],salmon:[250/255,128/255,114/255],sandybrown:[244/255,164/255,96/255],seagreen:[46/255,139/255,87/255],seashell:[1,245/255,238/255],sienna:[160/255,82/255,45/255],silver:[192/255,192/255,192/255],skyblue:[135/255,206/255,235/255],slateblue:[106/255,90/255,205/255],slategray:[112/255,128/255,144/255],slategrey:[112/255,128/255,144/255],snow:[1,250/255,250/255],springgreen:[0,1,127/255],steelblue:[70/255,130/255,180/255],tan:[210/255,180/255,140/255],teal:[0,128/255,128/255],thistle:[216/255,191/255,216/255],tomato:[1,99/255,71/255],turquoise:[64/255,224/255,208/255],violet:[238/255,130/255,238/255],wheat:[245/255,222/255,179/255],white:[1,1,1],whitesmoke:[245/255,245/255,245/255],yellow:[1,1,0],yellowgreen:[154/255,205/255,50/255]},qc=Array(3).fill("<percentage> | <number>[0, 255]"),Bc=Array(3).fill("<number>[0, 255]"),ua=new Wt({id:"srgb",name:"sRGB",base:Pc,fromBase:function(t){return t.map(function(r){var n=r<0?-1:1,a=r*n;return a>.0031308?n*(1.055*Math.pow(a,1/2.4)-.055):12.92*r})},toBase:function(t){return t.map(function(r){var n=r<0?-1:1,a=r*n;return a<.04045?r/12.92:n*Math.pow((a+.055)/1.055,2.4)})},formats:{rgb:{coords:qc},rgb_number:{name:"rgb",commas:true,coords:Bc,noAlpha:true},color:{},rgba:{coords:qc,commas:true,lastAlpha:true},rgba_number:{name:"rgba",commas:true,coords:Bc},hex:{type:"custom",toGamut:true,test:function(t){return /^#([a-f0-9]{3,4}){1,2}$/i.test(t)},parse:function(t){t.length<=5&&(t=t.replace(/[a-f0-9]/gi,"$&$&"));var r=[];return t.replace(/[a-f0-9]{2}/gi,function(n){r.push(parseInt(n,16)/255);}),{spaceId:"srgb",coords:r.slice(0,3),alpha:r.slice(3)[0]}},serialize:function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=n.collapse,i=a===void 0?true:a;r<1&&t.push(r),t=t.map(function(l){return Math.round(l*255)});var o=i&&t.every(function(l){return l%17===0}),s=t.map(function(l){return o?(l/17).toString(16):l.toString(16).padStart(2,"0")}).join("");return "#"+s}},keyword:{type:"custom",test:function(t){return /^[a-z]+$/i.test(t)},parse:function(t){t=t.toLowerCase();var r={spaceId:"srgb",coords:null,alpha:1};if(t==="transparent"?(r.coords=Nc.black,r.alpha=0):r.coords=Nc[t],r.coords)return r}}}}),Hc=new Wt({id:"p3",name:"P3",base:Oc,fromBase:ua.fromBase,toBase:ua.toBase,formats:{color:{id:"display-p3"}}});if(Dr.display_space=ua,typeof CSS<"u"&&(ue=CSS)!==null&&ue!==void 0&&ue.supports)for(var ns=0,Vc=[Kt,Mc,Hc];ns<Vc.length;ns++){var as=Vc[ns],My=as.getMinCoords(),Oy={space:as,coords:My,alpha:1},Py=xi(Oy);if(CSS.supports("color",Py)){Dr.display_space=as;break}}function Ny(e){var t,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=r.space,a=n===void 0?Dr.display_space:n,i=J(r,A),o=xi(e,i);if(typeof CSS>"u"||(t=CSS)!==null&&t!==void 0&&t.supports("color",o)||!Dr.display_space)o=new String(o),o.color=e;else {var s=or(e,a);o=new String(xi(s,i)),o.color=s;}return o}function jc(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"lab";r=Be.get(r);var n=r.from(e),a=r.from(t);return Math.sqrt(n.reduce(function(i,o,s){var l=a[s];return isNaN(o)||isNaN(l)?i:i+Math.pow(l-o,2)},0))}function qy(e,t){return e=ut(e),t=ut(t),e.space===t.space&&e.alpha===t.alpha&&e.coords.every(function(r,n){return r===t.coords[n]})}function Zr(e){return ir(e,[ar,"y"])}function $c(e,t){Kr(e,[ar,"y"],t);}function By(e){Object.defineProperty(e.prototype,"luminance",{get:function(){return Zr(this)},set:function(r){$c(this,r);}});}var Hy=Object.freeze({__proto__:null,getLuminance:Zr,setLuminance:$c,register:By});function Vy(e,t){e=ut(e),t=ut(t);var r=Math.max(Zr(e),0),n=Math.max(Zr(t),0);if(n>r){var a=[n,r];r=a[0],n=a[1];}return (r+.05)/(n+.05)}var jy=.56,$y=.57,zy=.62,Gy=.65,zc=.022,Wy=1.414,Uy=.1,Xy=5e-4,Yy=1.14,Gc=.027,Ky=1.14;function Wc(e){return e>=zc?e:e+Math.pow(zc-e,Wy)}function kn(e){var t=e<0?-1:1,r=Math.abs(e);return t*Math.pow(r,2.4)}function Jy(e,t){t=ut(t),e=ut(e);var r,n,a,i,o,s;t=or(t,"srgb");var l=Ae(t.coords,3);i=l[0],o=l[1],s=l[2];var u=kn(i)*.2126729+kn(o)*.7151522+kn(s)*.072175;e=or(e,"srgb");var c=Ae(e.coords,3);i=c[0],o=c[1],s=c[2];var f=kn(i)*.2126729+kn(o)*.7151522+kn(s)*.072175,g=Wc(u),w=Wc(f),k=w>g;return Math.abs(w-g)<Xy?n=0:k?(r=Math.pow(w,jy)-Math.pow(g,$y),n=r*Yy):(r=Math.pow(w,Gy)-Math.pow(g,zy),n=r*Ky),Math.abs(n)<Uy?a=0:n>0?a=n-Gc:a=n+Gc,a*100}function Zy(e,t){e=ut(e),t=ut(t);var r=Math.max(Zr(e),0),n=Math.max(Zr(t),0);if(n>r){var a=[n,r];r=a[0],n=a[1];}var i=r+n;return i===0?0:(r-n)/i}var Qy=5e4;function e0(e,t){e=ut(e),t=ut(t);var r=Math.max(Zr(e),0),n=Math.max(Zr(t),0);if(n>r){var a=[n,r];r=a[0],n=a[1];}return n===0?Qy:(r-n)/n}function t0(e,t){e=ut(e),t=ut(t);var r=ir(e,[Kt,"l"]),n=ir(t,[Kt,"l"]);return Math.abs(r-n)}var r0=216/24389,Uc=24/116,_i=24389/27,is=gr.D65,os=new Be({id:"lab-d65",name:"Lab D65",coords:{l:{refRange:[0,100],name:"L"},a:{refRange:[-125,125]},b:{refRange:[-125,125]}},white:is,base:ar,fromBase:function(t){var r=t.map(function(a,i){return a/is[i]}),n=r.map(function(a){return a>r0?Math.cbrt(a):(_i*a+16)/116});return [116*n[1]-16,500*(n[0]-n[1]),200*(n[1]-n[2])]},toBase:function(t){var r=[];r[1]=(t[0]+16)/116,r[0]=t[1]/500+r[1],r[2]=r[1]-t[2]/200;var n=[r[0]>Uc?Math.pow(r[0],3):(116*r[0]-16)/_i,t[0]>8?Math.pow((t[0]+16)/116,3):t[0]/_i,r[2]>Uc?Math.pow(r[2],3):(116*r[2]-16)/_i];return n.map(function(a,i){return a*is[i]})},formats:{"lab-d65":{coords:["<number> | <percentage>","<number>","<number>"]}}}),ss=Math.pow(5,.5)*.5+.5;function n0(e,t){e=ut(e),t=ut(t);var r=ir(e,[os,"l"]),n=ir(t,[os,"l"]),a=Math.abs(Math.pow(r,ss)-Math.pow(n,ss)),i=Math.pow(a,1/ss)*Math.SQRT2-40;return i<7.5?0:i}var Ei=Object.freeze({__proto__:null,contrastWCAG21:Vy,contrastAPCA:Jy,contrastMichelson:Zy,contrastWeber:e0,contrastLstar:t0,contrastDeltaPhi:n0});function a0(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};aa(r)&&(r={algorithm:r});var n=r,a=n.algorithm,i=J(n,F);if(!a){var o=Object.keys(Ei).map(function(l){return l.replace(/^contrast/,"")}).join(", ");throw new TypeError("contrast() function needs a contrast algorithm. Please specify one of: ".concat(o))}e=ut(e),t=ut(t);for(var s in Ei)if("contrast"+a.toLowerCase()===s.toLowerCase())return Ei[s](e,t,i);throw new TypeError("Unknown contrast algorithm: ".concat(a))}function Xc(e){var t=ia(e,ar),r=Ae(t,3),n=r[0],a=r[1],i=r[2],o=n+15*a+3*i;return [4*n/o,9*a/o]}function Yc(e){var t=ia(e,ar),r=Ae(t,3),n=r[0],a=r[1],i=r[2],o=n+a+i;return [n/o,a/o]}function i0(e){Object.defineProperty(e.prototype,"uv",{get:function(){return Xc(this)}}),Object.defineProperty(e.prototype,"xy",{get:function(){return Yc(this)}});}var o0=Object.freeze({__proto__:null,uv:Xc,xy:Yc,register:i0});function s0(e,t){return jc(e,t,"lab")}var l0=Math.PI,Kc=l0/180;function u0(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=r.l,a=n===void 0?2:n,i=r.c,o=i===void 0?1:i,s=Kt.from(e),l=Ae(s,3),u=l[0],c=l[1],f=l[2],g=oa.from(Kt,[u,c,f]),w=Ae(g,3),k=w[1],P=w[2],j=Kt.from(t),$=Ae(j,3),G=$[0],Y=$[1],K=$[2],Z=oa.from(Kt,[G,Y,K])[1];k<0&&(k=0),Z<0&&(Z=0);var re=u-G,se=k-Z,fe=c-Y,Ee=f-K,le=Math.pow(fe,2)+Math.pow(Ee,2)-Math.pow(se,2),ge=.511;u>=16&&(ge=.040975*u/(1+.01765*u));var xe=.0638*k/(1+.0131*k)+.638,Ce;Number.isNaN(P)&&(P=0),P>=164&&P<=345?Ce=.56+Math.abs(.2*Math.cos((P+168)*Kc)):Ce=.36+Math.abs(.4*Math.cos((P+35)*Kc));var Oe=Math.pow(k,4),$e=Math.sqrt(Oe/(Oe+1900)),Fe=xe*($e*Ce+1-$e),He=Math.pow(re/(a*ge),2);return He+=Math.pow(se/(o*xe),2),He+=le/Math.pow(Fe,2),Math.sqrt(He)}var Jc=203,ls=new Be({id:"xyz-abs-d65",name:"Absolute XYZ D65",coords:{x:{refRange:[0,9504.7],name:"Xa"},y:{refRange:[0,1e4],name:"Ya"},z:{refRange:[0,10888.3],name:"Za"}},base:ar,fromBase:function(t){return t.map(function(r){return Math.max(r*Jc,0)})},toBase:function(t){return t.map(function(r){return Math.max(r/Jc,0)})}}),Ci=1.15,Si=.66,Zc=2610/Math.pow(2,14),c0=Math.pow(2,14)/2610,Qc=3424/Math.pow(2,12),ed=2413/Math.pow(2,7),td=2392/Math.pow(2,7),d0=1.7*2523/Math.pow(2,5),rd=Math.pow(2,5)/(1.7*2523),ki=-0.56,us=16295499532821565e-27,f0=[[.41478972,.579999,.014648],[-0.20151,1.120649,.0531008],[-0.0166008,.2648,.6684799]],p0=[[1.9242264357876067,-1.0047923125953657,.037651404030618],[.35031676209499907,.7264811939316552,-0.06538442294808501],[-0.09098281098284752,-0.3127282905230739,1.5227665613052603]],m0=[[.5,.5,0],[3.524,-4.066708,.542708],[.199076,1.096799,-1.295875]],h0=[[1,.1386050432715393,.05804731615611886],[.9999999999999999,-0.1386050432715393,-0.05804731615611886],[.9999999999999998,-0.09601924202631895,-0.8118918960560388]],nd=new Be({id:"jzazbz",name:"Jzazbz",coords:{jz:{refRange:[0,1],name:"Jz"},az:{refRange:[-0.5,.5]},bz:{refRange:[-0.5,.5]}},base:ls,fromBase:function(t){var r=Ae(t,3),n=r[0],a=r[1],i=r[2],o=Ci*n-(Ci-1)*i,s=Si*a-(Si-1)*n,l=Ct(f0,[o,s,i]),u=l.map(function(j){var $=Qc+ed*Math.pow(j/1e4,Zc),G=1+td*Math.pow(j/1e4,Zc);return Math.pow($/G,d0)}),c=Ct(m0,u),f=Ae(c,3),g=f[0],w=f[1],k=f[2],P=(1+ki)*g/(1+ki*g)-us;return [P,w,k]},toBase:function(t){var r=Ae(t,3),n=r[0],a=r[1],i=r[2],o=(n+us)/(1+ki-ki*(n+us)),s=Ct(h0,[o,a,i]),l=s.map(function(j){var $=Qc-Math.pow(j,rd),G=td*Math.pow(j,rd)-ed,Y=1e4*Math.pow($/G,c0);return Y}),u=Ct(p0,l),c=Ae(u,3),f=c[0],g=c[1],w=c[2],k=(f+(Ci-1)*w)/Ci,P=(g+(Si-1)*k)/Si;return [k,P,w]},formats:{color:{}}}),cs=new Be({id:"jzczhz",name:"JzCzHz",coords:{jz:{refRange:[0,1],name:"Jz"},cz:{refRange:[0,1],name:"Chroma"},hz:{refRange:[0,360],type:"angle",name:"Hue"}},base:nd,fromBase:function(t){var r=Ae(t,3),n=r[0],a=r[1],i=r[2],o,s=2e-4;return Math.abs(a)<s&&Math.abs(i)<s?o=NaN:o=Math.atan2(i,a)*180/Math.PI,[n,Math.sqrt(Math.pow(a,2)+Math.pow(i,2)),yi(o)]},toBase:function(t){return [t[0],t[1]*Math.cos(t[2]*Math.PI/180),t[1]*Math.sin(t[2]*Math.PI/180)]},formats:{color:{}}});function g0(e,t){var r=cs.from(e),n=Ae(r,3),a=n[0],i=n[1],o=n[2],s=cs.from(t),l=Ae(s,3),u=l[0],c=l[1],f=l[2],g=a-u,w=i-c;Number.isNaN(o)&&Number.isNaN(f)?(o=0,f=0):Number.isNaN(o)?o=f:Number.isNaN(f)&&(f=o);var k=o-f,P=2*Math.sqrt(i*c)*Math.sin(k/2*(Math.PI/180));return Math.sqrt(Math.pow(g,2)+Math.pow(w,2)+Math.pow(P,2))}var ad=3424/4096,id=2413/128,od=2392/128,sd=2610/16384,v0=2523/32,b0=16384/2610,ld=32/2523,y0=[[.3592,.6976,-0.0358],[-0.1922,1.1004,.0755],[.007,.0749,.8434]],w0=[[2048/4096,2048/4096,0],[6610/4096,-13613/4096,7003/4096],[17933/4096,-17390/4096,-543/4096]],x0=[[.9999888965628402,.008605050147287059,.11103437159861648],[1.00001110343716,-0.008605050147287059,-0.11103437159861648],[1.0000320633910054,.56004913547279,-0.3206339100541203]],D0=[[2.0701800566956137,-1.326456876103021,.20661600684785517],[.3649882500326575,.6804673628522352,-0.04542175307585323],[-0.04959554223893211,-0.04942116118675749,1.1879959417328034]],ds=new Be({id:"ictcp",name:"ICTCP",coords:{i:{refRange:[0,1],name:"I"},ct:{refRange:[-0.5,.5],name:"CT"},cp:{refRange:[-0.5,.5],name:"CP"}},base:ls,fromBase:function(t){var r=Ct(y0,t);return A0(r)},toBase:function(t){var r=_0(t);return Ct(D0,r)},formats:{color:{}}});function A0(e){var t=e.map(function(r){var n=ad+id*Math.pow(r/1e4,sd),a=1+od*Math.pow(r/1e4,sd);return Math.pow(n/a,v0)});return Ct(w0,t)}function _0(e){var t=Ct(x0,e),r=t.map(function(n){var a=Math.max(Math.pow(n,ld)-ad,0),i=id-od*Math.pow(n,ld);return 1e4*Math.pow(a/i,b0)});return r}function E0(e,t){var r=ds.from(e),n=Ae(r,3),a=n[0],i=n[1],o=n[2],s=ds.from(t),l=Ae(s,3),u=l[0],c=l[1],f=l[2];return 720*Math.sqrt(Math.pow(a-u,2)+.25*Math.pow(i-c,2)+Math.pow(o-f,2))}var C0=[[.8190224432164319,.3619062562801221,-0.12887378261216414],[.0329836671980271,.9292868468965546,.03614466816999844],[.048177199566046255,.26423952494422764,.6335478258136937]],S0=[[1.2268798733741557,-0.5578149965554813,.28139105017721583],[-0.04057576262431372,1.1122868293970594,-0.07171106666151701],[-0.07637294974672142,-0.4214933239627914,1.5869240244272418]],k0=[[.2104542553,.793617785,-0.0040720468],[1.9779984951,-2.428592205,.4505937099],[.0259040371,.7827717662,-0.808675766]],T0=[[.9999999984505198,.39633779217376786,.2158037580607588],[1.0000000088817609,-0.10556134232365635,-0.06385417477170591],[1.0000000546724108,-0.08948418209496575,-1.2914855378640917]],Ti=new Be({id:"oklab",name:"OKLab",coords:{l:{refRange:[0,1],name:"L"},a:{refRange:[-0.4,.4]},b:{refRange:[-0.4,.4]}},white:"D65",base:ar,fromBase:function(t){var r=Ct(C0,t),n=r.map(function(a){return Math.cbrt(a)});return Ct(k0,n)},toBase:function(t){var r=Ct(T0,t),n=r.map(function(a){return Math.pow(a,3)});return Ct(S0,n)},formats:{oklab:{coords:["<number> | <percentage>","<number>","<number>"]}}});function R0(e,t){var r=Ti.from(e),n=Ae(r,3),a=n[0],i=n[1],o=n[2],s=Ti.from(t),l=Ae(s,3),u=l[0],c=l[1],f=l[2],g=a-u,w=i-c,k=o-f;return Math.sqrt(Math.pow(g,2)+Math.pow(w,2)+Math.pow(k,2))}var fs=Object.freeze({__proto__:null,deltaE76:s0,deltaECMC:u0,deltaE2000:rs,deltaEJz:g0,deltaEITP:E0,deltaEOK:R0});function ca(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};aa(r)&&(r={method:r});var n=r,a=n.method,i=a===void 0?Dr.deltaE:a,o=J(n,q);e=ut(e),t=ut(t);for(var s in fs)if("deltae"+i.toLowerCase()===s.toLowerCase())return fs[s](e,t,o);throw new TypeError("Unknown deltaE method: ".concat(i))}function F0(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:.25,r=Be.get("oklch","lch"),n=[r,"l"];return Kr(e,n,function(a){return a*(1+t)})}function I0(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:.25,r=Be.get("oklch","lch"),n=[r,"l"];return Kr(e,n,function(a){return a*(1-t)})}var L0=Object.freeze({__proto__:null,lighten:F0,darken:I0});function ud(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:.5,n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},a=[ut(e),ut(t)];if(e=a[0],t=a[1],Xr(r)==="object"){var i=[.5,r];r=i[0],n=i[1];}var o=n,s=o.space,l=o.outputSpace,u=o.premultiplied,c=da(e,t,{space:s,outputSpace:l,premultiplied:u});return c(r)}function cd(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n;if(ps(e)){n=e,r=t;var a=Ae(n.rangeArgs.colors,2);e=a[0],t=a[1];}var i=r,o=i.maxDeltaE,s=i.deltaEMethod,l=i.steps,u=l===void 0?2:l,c=i.maxSteps,f=c===void 0?1e3:c,g=J(i,R);if(!n){var w=[ut(e),ut(t)];e=w[0],t=w[1],n=da(e,t,g);}var k=ca(e,t),P=o>0?Math.max(u,Math.ceil(k/o)+1):u,j=[];if(f!==void 0&&(P=Math.min(P,f)),P===1)j=[{p:.5,color:n(.5)}];else {var $=1/(P-1);j=Array.from({length:P},function(fe,Ee){var le=Ee*$;return {p:le,color:n(le)}});}if(o>0)for(var G=j.reduce(function(fe,Ee,le){if(le===0)return 0;var ge=ca(Ee.color,j[le-1].color,s);return Math.max(fe,ge)},0);G>o;){G=0;for(var Y=1;Y<j.length&&j.length<f;Y++){var K=j[Y-1],Z=j[Y],re=(Z.p+K.p)/2,se=n(re);G=Math.max(G,ca(se,K.color),ca(se,Z.color)),j.splice(Y,0,{p:re,color:n(re)}),Y++;}}return j=j.map(function(fe){return fe.color}),j}function da(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(ps(e)){var n=e,a=t;return da.apply(void 0,De(n.rangeArgs.colors).concat([ve({},n.rangeArgs.options,a)]))}var i=r.space,o=r.outputSpace,s=r.progression,l=r.premultiplied;e=ut(e),t=ut(t),e=la(e),t=la(t);var u={colors:[e,t],options:r};if(i?i=Be.get(i):i=Be.registry[Dr.interpolationSpace]||e.space,o=o?Be.get(o):i,e=or(e,i),t=or(t,i),e=Jr(e),t=Jr(t),i.coords.h&&i.coords.h.type==="angle"){var c=r.hue=r.hue||"shorter",f=[i,"h"],g=[ir(e,f),ir(t,f)],w=g[0],k=g[1],P=Cy(c,[w,k]),j=Ae(P,2);w=j[0],k=j[1],Kr(e,f,w),Kr(t,f,k);}return l&&(e.coords=e.coords.map(function($){return $*e.alpha}),t.coords=t.coords.map(function($){return $*t.alpha})),Object.assign(function($){$=s?s($):$;var G=e.coords.map(function(Z,re){var se=t.coords[re];return gi(Z,se,$)}),Y=gi(e.alpha,t.alpha,$),K={space:i,coords:G,alpha:Y};return l&&(K.coords=K.coords.map(function(Z){return Z/Y})),o!==i&&(K=or(K,o)),K},{rangeArgs:u})}function ps(e){return Xr(e)==="function"&&!!e.rangeArgs}Dr.interpolationSpace="lab";function M0(e){e.defineFunction("mix",ud,{returns:"color"}),e.defineFunction("range",da,{returns:"function<color>"}),e.defineFunction("steps",cd,{returns:"array<color>"});}var O0=Object.freeze({__proto__:null,mix:ud,steps:cd,range:da,isRange:ps,register:M0}),dd=new Be({id:"hsl",name:"HSL",coords:{h:{refRange:[0,360],type:"angle",name:"Hue"},s:{range:[0,100],name:"Saturation"},l:{range:[0,100],name:"Lightness"}},base:ua,fromBase:function(t){var r=Math.max.apply(Math,De(t)),n=Math.min.apply(Math,De(t)),a=Ae(t,3),i=a[0],o=a[1],s=a[2],l=NaN,u=0,c=(n+r)/2,f=r-n;if(f!==0){switch(u=c===0||c===1?0:(r-c)/Math.min(c,1-c),r){case i:l=(o-s)/f+(o<s?6:0);break;case o:l=(s-i)/f+2;break;case s:l=(i-o)/f+4;}l=l*60;}return [l,u*100,c*100]},toBase:function(t){var r=Ae(t,3),n=r[0],a=r[1],i=r[2];n=n%360,n<0&&(n+=360),a/=100,i/=100;function o(s){var l=(s+n/30)%12,u=a*Math.min(i,1-i);return i-u*Math.max(-1,Math.min(l-3,9-l,1))}return [o(0),o(8),o(4)]},formats:{hsl:{toGamut:true,coords:["<number> | <angle>","<percentage>","<percentage>"]},hsla:{coords:["<number> | <angle>","<percentage>","<percentage>"],commas:true,lastAlpha:true}}}),fd=new Be({id:"hsv",name:"HSV",coords:{h:{refRange:[0,360],type:"angle",name:"Hue"},s:{range:[0,100],name:"Saturation"},v:{range:[0,100],name:"Value"}},base:dd,fromBase:function(t){var r=Ae(t,3),n=r[0],a=r[1],i=r[2];a/=100,i/=100;var o=i+a*Math.min(i,1-i);return [n,o===0?0:200*(1-i/o),100*o]},toBase:function(t){var r=Ae(t,3),n=r[0],a=r[1],i=r[2];a/=100,i/=100;var o=i*(1-a/2);return [n,o===0||o===1?0:(i-o)/Math.min(o,1-o)*100,o*100]},formats:{color:{toGamut:true}}}),P0=new Be({id:"hwb",name:"HWB",coords:{h:{refRange:[0,360],type:"angle",name:"Hue"},w:{range:[0,100],name:"Whiteness"},b:{range:[0,100],name:"Blackness"}},base:fd,fromBase:function(t){var r=Ae(t,3),n=r[0],a=r[1],i=r[2];return [n,i*(100-a)/100,100-i]},toBase:function(t){var r=Ae(t,3),n=r[0],a=r[1],i=r[2];a/=100,i/=100;var o=a+i;if(o>=1){var s=a/o;return [n,0,s*100]}var l=1-i,u=l===0?0:1-a/l;return [n,u*100,l*100]},formats:{hwb:{toGamut:true,coords:["<number> | <angle>","<percentage>","<percentage>"]}}}),N0=[[.5766690429101305,.1855582379065463,.1882286462349947],[.29734497525053605,.6273635662554661,.07529145849399788],[.02703136138641234,.07068885253582723,.9913375368376388]],q0=[[2.0415879038107465,-0.5650069742788596,-0.34473135077832956],[-0.9692436362808795,1.8759675015077202,.04155505740717557],[.013444280632031142,-0.11836239223101838,1.0151749943912054]],pd=new Wt({id:"a98rgb-linear",name:"Linear Adobe\xAE 98 RGB compatible",white:"D65",toXYZ_M:N0,fromXYZ_M:q0}),B0=new Wt({id:"a98rgb",name:"Adobe\xAE 98 RGB compatible",base:pd,toBase:function(t){return t.map(function(r){return Math.pow(Math.abs(r),563/256)*Math.sign(r)})},fromBase:function(t){return t.map(function(r){return Math.pow(Math.abs(r),256/563)*Math.sign(r)})},formats:{color:{id:"a98-rgb"}}}),H0=[[.7977604896723027,.13518583717574031,.0313493495815248],[.2880711282292934,.7118432178101014,8565396060525902e-20],[0,0,.8251046025104601]],V0=[[1.3457989731028281,-0.25558010007997534,-0.05110628506753401],[-0.5446224939028347,1.5082327413132781,.02053603239147973],[0,0,1.2119675456389454]],md=new Wt({id:"prophoto-linear",name:"Linear ProPhoto",white:"D50",base:es,toXYZ_M:H0,fromXYZ_M:V0}),j0=1/512,$0=16/512,z0=new Wt({id:"prophoto",name:"ProPhoto",base:md,toBase:function(t){return t.map(function(r){return r<$0?r/16:Math.pow(r,1.8)})},fromBase:function(t){return t.map(function(r){return r>=j0?Math.pow(r,1/1.8):16*r})},formats:{color:{id:"prophoto-rgb"}}}),G0=new Be({id:"oklch",name:"OKLCh",coords:{l:{refRange:[0,1],name:"Lightness"},c:{refRange:[0,.4],name:"Chroma"},h:{refRange:[0,360],type:"angle",name:"Hue"}},white:"D65",base:Ti,fromBase:function(t){var r=Ae(t,3),n=r[0],a=r[1],i=r[2],o,s=2e-4;return Math.abs(a)<s&&Math.abs(i)<s?o=NaN:o=Math.atan2(i,a)*180/Math.PI,[n,Math.sqrt(Math.pow(a,2)+Math.pow(i,2)),yi(o)]},toBase:function(t){var r=Ae(t,3),n=r[0],a=r[1],i=r[2],o,s;return isNaN(i)?(o=0,s=0):(o=a*Math.cos(i*Math.PI/180),s=a*Math.sin(i*Math.PI/180)),[n,o,s]},formats:{oklch:{coords:["<number> | <percentage>","<number>","<number> | <angle>"]}}}),hd=203,gd=2610/Math.pow(2,14),W0=Math.pow(2,14)/2610,U0=2523/Math.pow(2,5),vd=Math.pow(2,5)/2523,bd=3424/Math.pow(2,12),yd=2413/Math.pow(2,7),wd=2392/Math.pow(2,7),X0=new Wt({id:"rec2100pq",name:"REC.2100-PQ",base:Di,toBase:function(t){return t.map(function(r){var n=Math.pow(Math.max(Math.pow(r,vd)-bd,0)/(yd-wd*Math.pow(r,vd)),W0);return n*1e4/hd})},fromBase:function(t){return t.map(function(r){var n=Math.max(r*hd/1e4,0),a=bd+yd*Math.pow(n,gd),i=1+wd*Math.pow(n,gd);return Math.pow(a/i,U0)})},formats:{color:{id:"rec2100-pq"}}}),xd=.17883277,Dd=.28466892,Ad=.55991073,ms=3.7743,Y0=new Wt({id:"rec2100hlg",cssid:"rec2100-hlg",name:"REC.2100-HLG",referred:"scene",base:Di,toBase:function(t){return t.map(function(r){return r<=.5?Math.pow(r,2)/3*ms:Math.exp((r-Ad)/xd+Dd)/12*ms})},fromBase:function(t){return t.map(function(r){return r/=ms,r<=1/12?Math.sqrt(3*r):xd*Math.log(12*r-Dd)+Ad})},formats:{color:{id:"rec2100-hlg"}}}),_d={};Yr.add("chromatic-adaptation-start",function(e){e.options.method&&(e.M=Ed(e.W1,e.W2,e.options.method));}),Yr.add("chromatic-adaptation-end",function(e){e.M||(e.M=Ed(e.W1,e.W2,e.options.method));});function Ri(e){var t=e.id;e.toCone_M;e.fromCone_M;_d[t]=arguments[0];}function Ed(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"Bradford",n=_d[r],a=Ct(n.toCone_M,e),i=Ae(a,3),o=i[0],s=i[1],l=i[2],u=Ct(n.toCone_M,t),c=Ae(u,3),f=c[0],g=c[1],w=c[2],k=[[f/o,0,0],[0,g/s,0],[0,0,w/l]],P=Ct(k,n.toCone_M),j=Ct(n.fromCone_M,P);return j}Ri({id:"von Kries",toCone_M:[[.40024,.7076,-0.08081],[-0.2263,1.16532,.0457],[0,0,.91822]],fromCone_M:[[1.8599364,-1.1293816,.2198974],[.3611914,.6388125,-64e-7],[0,0,1.0890636]]}),Ri({id:"Bradford",toCone_M:[[.8951,.2664,-0.1614],[-0.7502,1.7135,.0367],[.0389,-0.0685,1.0296]],fromCone_M:[[.9869929,-0.1470543,.1599627],[.4323053,.5183603,.0492912],[-85287e-7,.0400428,.9684867]]}),Ri({id:"CAT02",toCone_M:[[.7328,.4296,-0.1624],[-0.7036,1.6975,.0061],[.003,.0136,.9834]],fromCone_M:[[1.0961238,-0.278869,.1827452],[.454369,.4735332,.0720978],[-96276e-7,-5698e-6,1.0153256]]}),Ri({id:"CAT16",toCone_M:[[.401288,.650173,-0.051461],[-0.250268,1.204414,.045854],[-2079e-6,.048952,.953127]],fromCone_M:[[1.862067855087233,-1.011254630531685,.1491867754444518],[.3875265432361372,.6214474419314753,-0.008973985167612518],[-0.01584149884933386,-0.03412293802851557,1.04996443687785]]}),Object.assign(gr,{A:[1.0985,1,.35585],C:[.98074,1,1.18232],D55:[.95682,1,.92149],D75:[.94972,1,1.22638],E:[1,1,1],F2:[.99186,1,.67393],F7:[.95041,1,1.08747],F11:[1.00962,1,.6435]}),gr.ACES=[.32168/.33767,1,(1-.32168-.33767)/.33767];var K0=[[.6624541811085053,.13400420645643313,.1561876870049078],[.27222871678091454,.6740817658111484,.05368951740793705],[-0.005574649490394108,.004060733528982826,1.0103391003129971]],J0=[[1.6410233796943257,-0.32480329418479,-0.23642469523761225],[-0.6636628587229829,1.6153315916573379,.016756347685530137],[.011721894328375376,-0.008284441996237409,.9883948585390215]],Cd=new Wt({id:"acescg",name:"ACEScg",coords:{r:{range:[0,65504],name:"Red"},g:{range:[0,65504],name:"Green"},b:{range:[0,65504],name:"Blue"}},referred:"scene",white:gr.ACES,toXYZ_M:K0,fromXYZ_M:J0,formats:{color:{}}}),Fi=Math.pow(2,-16),hs=-0.35828683,Ii=(Math.log2(65504)+9.72)/17.52,Z0=new Wt({id:"acescc",name:"ACEScc",coords:{r:{range:[hs,Ii],name:"Red"},g:{range:[hs,Ii],name:"Green"},b:{range:[hs,Ii],name:"Blue"}},referred:"scene",base:Cd,toBase:function(t){var r=-0.3013698630136986;return t.map(function(n){return n<=r?(Math.pow(2,n*17.52-9.72)-Fi)*2:n<Ii?Math.pow(2,n*17.52-9.72):65504})},fromBase:function(t){return t.map(function(r){return r<=0?(Math.log2(Fi)+9.72)/17.52:r<Fi?(Math.log2(Fi+r*.5)+9.72)/17.52:(Math.log2(r)+9.72)/17.52})},formats:{color:{}}}),Sd=Object.freeze({__proto__:null,XYZ_D65:ar,XYZ_D50:es,XYZ_ABS_D65:ls,Lab_D65:os,Lab:Kt,LCH:oa,sRGB_Linear:Pc,sRGB:ua,HSL:dd,HWB:P0,HSV:fd,P3_Linear:Oc,P3:Hc,A98RGB_Linear:pd,A98RGB:B0,ProPhoto_Linear:md,ProPhoto:z0,REC_2020_Linear:Di,REC_2020:Mc,OKLab:Ti,OKLCH:G0,Jzazbz:nd,JzCzHz:cs,ICTCP:ds,REC_2100_PQ:X0,REC_2100_HLG:Y0,ACEScg:Cd,ACEScc:Z0}),ft=(be=new WeakMap,(function(){function e(){var t=this;rr(this,e),Ft(this,be,void 0);for(var r,n=arguments.length,a=new Array(n),i=0;i<n;i++)a[i]=arguments[i];a.length===1&&(r=ut(a[0]));var o,s,l;r?(o=r.space||r.spaceId,s=r.coords,l=r.alpha):(o=a[0],s=a[1],l=a[2]),Lt(be,this,Be.get(o)),this.coords=s?s.slice():[0,0,0],this.alpha=l<1?l:1;for(var u=0;u<this.coords.length;u++)this.coords[u]==="NaN"&&(this.coords[u]=NaN);var c=function(w){Object.defineProperty(t,w,{get:function(){return t.get(w)},set:function(P){return t.set(w,P)}});};for(var f in $t(be,this).coords)c(f);}return zt(e,[{key:"space",get:function(){return $t(be,this)}},{key:"spaceId",get:function(){return $t(be,this).id}},{key:"clone",value:function(){return new ft(this.space,this.coords,this.alpha)}},{key:"toJSON",value:function(){return {spaceId:this.spaceId,coords:this.coords,alpha:this.alpha}}},{key:"display",value:function(){for(var r=arguments.length,n=new Array(r),a=0;a<r;a++)n[a]=arguments[a];var i=Ny.apply(void 0,[this].concat(n));return i.color=new ft(i.color),i}}],[{key:"get",value:function(r){if(r instanceof ft)return r;for(var n=arguments.length,a=new Array(n>1?n-1:0),i=1;i<n;i++)a[i-1]=arguments[i];return W(ft,[r].concat(a))}},{key:"defineFunction",value:function(r,n){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:n,i=a.instance,o=i===void 0?true:i,s=a.returns,l=function(){var c=n.apply(void 0,arguments);if(s==="color")c=ft.get(c);else if(s==="function<color>"){var f=c;c=function(){var w=f.apply(void 0,arguments);return ft.get(w)},Object.assign(c,f);}else s==="array<color>"&&(c=c.map(function(g){return ft.get(g)}));return c};r in ft||(ft[r]=l),o&&(ft.prototype[r]=function(){for(var u=arguments.length,c=new Array(u),f=0;f<u;f++)c[f]=arguments[f];return l.apply(void 0,[this].concat(c))});}},{key:"defineFunctions",value:function(r){for(var n in r)ft.defineFunction(n,r[n],r[n]);}},{key:"extend",value:function(r){if(r.register)r.register(ft);else for(var n in r)ft.defineFunction(n,r[n]);}}])})());ft.defineFunctions({get:ir,getAll:ia,set:Kr,setAll:Tc,to:or,equals:qy,inGamut:sa,toGamut:Jr,distance:jc,toString:xi}),Object.assign(ft,{util:xy,hooks:Yr,WHITES:gr,Space:Be,spaces:Be.registry,parse:kc,defaults:Dr});for(var gs=0,kd=Object.keys(Sd);gs<kd.length;gs++){var Q0=kd[gs];Be.register(Sd[Q0]);}for(var Td in Be.registry)vs(Td,Be.registry[Td]);Yr.add("colorspace-init-end",function(e){var t;vs(e.id,e),(t=e.aliases)===null||t===void 0||t.forEach(function(r){vs(r,e);});});function vs(e,t){Object.keys(t.coords),Object.values(t.coords).map(function(n){return n.name});var r=e.replace(/-/g,"_");Object.defineProperty(ft.prototype,r,{get:function(){var a=this,i=this.getAll(e);return typeof Proxy>"u"?i:new Proxy(i,{has:function(s,l){try{return Be.resolveCoord([t,l]),!0}catch{}return Reflect.has(s,l)},get:function(s,l,u){if(l&&de(l)!=="symbol"&&!(l in s)){var c=Be.resolveCoord([t,l]),f=c.index;if(f>=0)return s[f]}return Reflect.get(s,l,u)},set:function(s,l,u,c){if(l&&de(l)!=="symbol"&&!(l in s)||l>=0){var f=Be.resolveCoord([t,l]),g=f.index;if(g>=0)return s[g]=u,a.setAll(e,s),true}return Reflect.set(s,l,u,c)}})},set:function(a){this.setAll(e,a);},configurable:true,enumerable:true});}ft.extend(fs),ft.extend({deltaE:ca}),ft.extend(L0),ft.extend({contrast:a0}),ft.extend(o0),ft.extend(Hy),ft.extend(O0),ft.extend(Ei);var Rd=wr(ec());Ur.default.templateSettings.strip=false,m._memoizedFns=[];function ew(e){var t=(0, Dc.default)(e);return m._memoizedFns.push(t),t}var ht=ew,tw=ht(function(e){return e!=null&&e.createElement?e.createElement("A").localName==="A":false}),fa=tw;function bs(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!t)return "";var n=t.getRootNode&&t.getRootNode()||v;if(n.nodeType!==11)return e(t,r,n);for(var a=[];n.nodeType===11;){if(!n.host)return "";a.unshift({elm:t,doc:n}),t=n.host,n=t.getRootNode();}return a.unshift({elm:t,doc:n}),a.map(function(i){return e(i.elm,r,i.doc)})}var rw=["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","xmlns"],nw=31,aw=/([\\"])/g,iw=/(\r\n|\r|\n)/g;function ys(e){return e.replace(aw,"\\$1").replace(iw,"\\a ")}function Fd(e,t){var r=t.name,n;if(r.indexOf("href")!==-1||r.indexOf("src")!==-1){var a=yc(e.getAttribute(r));a?n=At(t.name)+'$="'+ys(a)+'"':n=At(t.name)+'="'+ys(e.getAttribute(r))+'"';}else n=At(r)+'="'+ys(t.value)+'"';return n}function ws(e,t){return e.count<t.count?-1:e.count===t.count?0:1}function Id(e){return !rw.includes(e.name)&&e.name.indexOf(":")===-1&&(!e.value||e.value.length<nw)}function Li(e){var t={classes:{},tags:{},attributes:{}};e=Array.isArray(e)?e:[e];for(var r=e.slice(),n=[],a=function(){var o=r.pop(),s=o.actualNode;if(s.querySelectorAll){var l=s.nodeName;t.tags[l]?t.tags[l]++:t.tags[l]=1,s.classList&&Array.from(s.classList).forEach(function(u){var c=At(u);t.classes[c]?t.classes[c]++:t.classes[c]=1;}),s.hasAttributes()&&Array.from(na(s)).filter(Id).forEach(function(u){var c=Fd(s,u);c&&(t.attributes[c]?t.attributes[c]++:t.attributes[c]=1);});}for(o.children.length&&(n.push(r),r=o.children.slice());!r.length&&n.length;)r=n.pop();};r.length;)a();return t}function ow(e,t){var r=[],n=t.classes,a=t.tags;return e.classList&&Array.from(e.classList).forEach(function(i){var o=At(i);n[o]<a[e.nodeName]&&r.push({name:o,count:n[o],species:"class"});}),r.sort(ws)}function sw(e,t){var r=e.parentNode&&Array.from(e.parentNode.children||"")||[],n=r.find(function(i){return i!==e&&Cn(i,t)});if(n){var a=1+r.indexOf(e);return ":nth-child("+a+")"}else return ""}function lw(e){if(e.getAttribute("id")){var t=e.getRootNode&&e.getRootNode()||v,r="#"+At(e.getAttribute("id")||"");if(!r.match(/player_uid_/)&&t.querySelectorAll(r).length===1)return r}}function Ld(e){var t=fa(v);return At(t?e.localName:e.nodeName.toLowerCase())}function uw(e,t){var r=[],n=t.attributes,a=t.tags;return e.hasAttributes()&&Array.from(na(e)).filter(Id).forEach(function(i){var o=Fd(e,i);o&&n[o]<a[e.nodeName]&&r.push({name:o,count:n[o],species:"attribute"});}),r.sort(ws)}function cw(e,t){var r="",n,a=ow(e,t),i=uw(e,t);return a.length&&a[0].count===1?n=[a[0]]:i.length&&i[0].count===1?(n=[i[0]],r=Ld(e)):(n=a.concat(i),n.sort(ws),n=n.slice(0,3),n.some(function(o){return o.species==="class"})?n.sort(function(o,s){return o.species!==s.species&&o.species==="class"?-1:o.species===s.species?0:1}):r=Ld(e)),r+=n.reduce(function(o,s){switch(s.species){case "class":return o+"."+s.name;case "attribute":return o+"["+s.name+"]"}return o},"")}function dw(e,t,r){if(!m._selectorData)throw new Error("Expect axe._selectorData to be set up");var n=t.toRoot,a=n===void 0?false:n,i,o;do{var s=lw(e);s||(s=cw(e,m._selectorData),s+=sw(e,s)),i?i=s+" > "+i:i=s,!o||o.length>Xe.selectorSimilarFilterLimit?o=pw(r,i):o=o.filter(function(l){return Cn(l,i)}),e=e.parentElement;}while((o.length>1||a)&&e&&e.nodeType!==11);return o.length===1?i:i.indexOf(" > ")!==-1?":root"+i.substring(i.indexOf(" > ")):":root"}function fw(e,t){return bs(dw,e,t)}var xs=ht(fw),pw=ht(function(e,t){return Array.from(e.querySelectorAll(t))});function Md(e){var t=e.nodeName.toLowerCase(),r=e.parentElement,n=e.parentNode,a="";if(t!=="head"&&t!=="body"&&n?.children.length>1){var i=Array.prototype.indexOf.call(n.children,e)+1;a=":nth-child(".concat(i,")");}return r?Md(r)+" > "+t+a:t+a}function Mi(e,t){return bs(Md,e,t)}function Od(e,t){var r,n;if(!e)return [];if(!t&&e.nodeType===9)return t=[{str:"html"}],t;if(t=t||[],e.parentNode&&e.parentNode!==e&&(t=Od(e.parentNode,t)),e.previousSibling){n=1,r=e.previousSibling;do r.nodeType===1&&r.nodeName===e.nodeName&&n++,r=r.previousSibling;while(r);n===1&&(n=null);}else if(e.nextSibling){r=e.nextSibling;do r.nodeType===1&&r.nodeName===e.nodeName?(n=1,r=null):(n=null,r=r.previousSibling);while(r)}if(e.nodeType===1){var a={};a.str=e.nodeName.toLowerCase();var i=e.getAttribute&&At(e.getAttribute("id"));i&&e.ownerDocument.querySelectorAll("#"+i).length===1&&(a.id=e.getAttribute("id")),n>1&&(a.count=n),t.push(a);}return t}function mw(e){return e.reduce(function(t,r){return r.id?"//".concat(r.str,"[@id='").concat(r.id,"']"):t+"/".concat(r.str)+(r.count>0?"[".concat(r.count,"]"):"")},"")}function hw(e){var t=Od(e);return mw(t)}var Pd=hw,pa={},gw={set:function(t,r){vw(t),pa[t]=r;},get:function(t,r){if(bw(r),t in pa)return pa[t];if(typeof r=="function"){var n=r();return at(n!==void 0,"Cache creator function should not return undefined"),this.set(t,n),pa[t]}},clear:function(){pa={};}};function vw(e){at(typeof e=="string","key must be a string, "+de(e)+" given"),at(e!=="","key must not be empty");}function bw(e){at(typeof e=="function"||typeof e>"u","creator must be a function or undefined, "+de(e)+" given");}var Ue=gw;function yw(e,t){var r=t||e;return Ue.get("nodeMap")?Ue.get("nodeMap").get(r):null}var Ke=yw;function Nd(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.maxLength,n=r===void 0?300:r,a=t.attrLimit,i=a===void 0?20:a;if(!e)return "";if(e.nodeType!==1){var o,s=(o=e.nodeValue)!==null&&o!==void 0?o:"";return Ds(s,n)}var l=ww(e);return l.length>n?xw(e,{maxLength:n,attrLimit:i}):l}function ww(e){var t=e.outerHTML;return !t&&typeof d.XMLSerializer=="function"&&(t=new d.XMLSerializer().serializeToString(e)),t||""}function xw(e,t){var r=t.maxLength,n=t.attrLimit,a=fa(e.ownerDocument||v)?e.nodeName:e.nodeName.toLowerCase(),i=Array.from(na(e)).map(function(k){var P=k.name,j=k.value;return {name:P,value:j}}),o=i.reduce(function(k,P){var j=P.name,$=P.value;return k+j.length+$.length+4},0);2+a.length+o>r&&i.forEach(function(k){k.name=Ds(k.name,n),k.value=Ds(k.value,n);});var s="<".concat(a),l=">",u=" ...>",c=ot(i),f;try{for(c.s();!(f=c.n()).done;){var g=f.value,w=" ".concat(g.name,'="').concat(g.value,'"');if(s.length+w.length>r-u.length){l=u;continue}s+=w;}}catch(k){c.e(k);}finally{c.f();}return s+l}function Ds(e,t){return e.length<=t?e:e.substring(0,t)+"..."}var qd="DqElm.RunOptions",hn=ht(function(t,r,n){var a,i;if(r??(r=null),n??(n={}),!r){var o;r=(o=Ue.get(qd))!==null&&o!==void 0?o:{};}if(this.spec=n,t instanceof Mt?(this._virtualNode=t,this._element=t.actualNode):(this._element=t,this._virtualNode=Ke(t)),this.fromFrame=((a=this.spec.selector)===null||a===void 0?void 0:a.length)>1,this._includeElementInJson=r.elementRef,r.absolutePaths&&(this._options={toRoot:true}),this.nodeIndexes=[],Array.isArray(this.spec.nodeIndexes)?this.nodeIndexes=this.spec.nodeIndexes:typeof((i=this._virtualNode)===null||i===void 0?void 0:i.nodeIndex)=="number"&&(this.nodeIndexes=[this._virtualNode.nodeIndex]),this.source=null,!m._audit.noHtml){var s;this.source=(s=this.spec.source)!==null&&s!==void 0?s:Nd(this._element);}return this});hn.prototype={get selector(){return this.spec.selector||[xs(this.element,this._options)]},get ancestry(){return this.spec.ancestry||[Mi(this.element)]},get xpath(){return this.spec.xpath||[Pd(this.element)]},get element(){return this._element},toJSON:function(){var t={selector:this.selector,source:this.source,xpath:this.xpath,ancestry:this.ancestry,nodeIndexes:this.nodeIndexes,fromFrame:this.fromFrame};return this._includeElementInJson&&(t.element=this._element),t}},hn.fromFrame=function(t,r,n){var a=hn.mergeSpecs(t,n);return new hn(n.element,r,a)},hn.mergeSpecs=function(t,r){return ve({},t,{selector:[].concat(De(r.selector),De(t.selector)),ancestry:[].concat(De(r.ancestry),De(t.ancestry)),xpath:[].concat(De(r.xpath),De(t.xpath)),nodeIndexes:[].concat(De(r.nodeIndexes),De(t.nodeIndexes)),fromFrame:true})},hn.setRunOptions=function(t){var r=t.elementRef,n=t.absolutePaths;Ue.set(qd,{elementRef:r,absolutePaths:n});};var sr=hn;function Dw(e,t,r,n){return {isAsync:false,async:function(){return this.isAsync=true,function(i){i instanceof Error?n(i):(e.result=i,r(e));}},data:function(i){e.data=i;},relatedNodes:function(i){d.Node&&(i instanceof d.Node||i instanceof Mt?i=[i]:i=bc(i),e.relatedNodes=[],i.forEach(function(o){if(o instanceof Mt&&(o=o.actualNode),o instanceof d.Node){var s=new sr(o);e.relatedNodes.push(s);}}));}}}var As=Dw;function Nr(e){return _s(e,new Map)}function _s(e,t){var r,n;if(e===null||de(e)!=="object"||(r=d)!==null&&r!==void 0&&r.Node&&e instanceof d.Node||(n=d)!==null&&n!==void 0&&n.HTMLCollection&&e instanceof d.HTMLCollection||"nodeName"in e&&"nodeType"in e&&"ownerDocument"in e)return e;if(t.has(e))return t.get(e);if(Array.isArray(e)){var a=[];return t.set(e,a),e.forEach(function(s){a.push(_s(s,t));}),a}var i={};t.set(e,i);for(var o in e)i[o]=_s(e[o],t);return i}var ma=new xc.CssSelectorParser;ma.registerSelectorPseudos("not"),ma.registerSelectorPseudos("is"),ma.registerNestingOperators(">"),ma.registerAttrEqualityMods("^","$","*","~");var Bd=ma;function Es(e,t){var r=Oi(t);return r.some(function(n){return Tn(e,n)})}function Aw(e,t){return e.props.nodeType===1&&(t.tag==="*"||e.props.nodeName===t.tag)}function _w(e,t){return !t.classes||t.classes.every(function(r){return e.hasClass(r.value)})}function Ew(e,t){return !t.attributes||t.attributes.every(function(r){var n=e.attr(r.key);return n!==null&&r.test(n)})}function Cw(e,t){return !t.id||e.props.id===t.id}function Sw(e,t){return !!(!t.pseudos||t.pseudos.every(function(r){if(r.name==="not")return !r.expressions.some(function(n){return Tn(e,n)});if(r.name==="is")return r.expressions.some(function(n){return Tn(e,n)});throw new Error("the pseudo selector "+r.name+" has not yet been implemented")}))}function Hd(e,t){return Aw(e,t)&&_w(e,t)&&Ew(e,t)&&Cw(e,t)&&Sw(e,t)}var ha=(function(){var e=/(?=[\-\[\]{}()*+?.\\\^$|,#\s])/g,t="\\";return function(r){return r.replace(e,t)}})(),Cs=/\\/g;function kw(e){if(e)return e.map(function(t){var r=t.name.replace(Cs,""),n=(t.value||"").replace(Cs,""),a,i;switch(t.operator){case "^=":i=new RegExp("^"+ha(n));break;case "$=":i=new RegExp(ha(n)+"$");break;case "~=":i=new RegExp("(^|\\s)"+ha(n)+"(\\s|$)");break;case "|=":i=new RegExp("^"+ha(n)+"(-|$)");break;case "=":a=function(s){return n===s};break;case "*=":a=function(s){return s&&s.includes(n)};break;case "!=":a=function(s){return n!==s};break;default:a=function(s){return s!==null};}return n===""&&/^[*$^]=$/.test(t.operator)&&(a=function(){return false}),a||(a=function(s){return s&&i.test(s)}),{key:r,value:n,type:typeof t.value>"u"?"attrExist":"attrValue",test:a}})}function Tw(e){if(e)return e.map(function(t){return t=t.replace(Cs,""),{value:t,regexp:new RegExp("(^|\\s)"+ha(t)+"(\\s|$)")}})}function Rw(e){if(e)return e.map(function(t){var r;return ["is","not"].includes(t.name)&&(r=t.value,r=r.selectors?r.selectors:[r],r=Vd(r)),{name:t.name,expressions:r,value:t.value}})}function Vd(e){return e.map(function(t){for(var r=[],n=t.rule;n;)r.push({tag:n.tagName?n.tagName.toLowerCase():"*",combinator:n.nestingOperator?n.nestingOperator:" ",id:n.id,attributes:kw(n.attrs),classes:Tw(n.classNames),pseudos:Rw(n.pseudos)}),n=n.rule;return r})}function Oi(e){var t=Bd.parse(e);return t=t.selectors?t.selectors:[t],Vd(t)}function jd(e,t,r,n){if(!e)return false;for(var a=Array.isArray(t),i=a?t[r]:t,o=Hd(e,i);!o&&n&&e.parent;)e=e.parent,o=Hd(e,i);if(r>0){if([" ",">"].includes(i.combinator)===false)throw new Error("axe.utils.matchesExpression does not support the combinator: "+i.combinator);o=o&&jd(e.parent,t,r-1,i.combinator===" ");}return o}function Tn(e,t,r){return jd(e,t,t.length-1,r)}function Fw(e,t){for(;e;){if(Es(e,t))return e;if(typeof e.parent>"u")throw new TypeError("Cannot resolve parent for non-DOM nodes");e=e.parent;}return null}var Jt=Fw;function Pi(){}function Ss(e){if(typeof e!="function")throw new TypeError("Queue methods require functions as arguments")}function Iw(){var e=[],t=0,r=0,n=Pi,a=false,i,o=function(w){i=w,setTimeout(function(){i!=null&&mn("Uncaught error (of queue)",i);},1);},s=o;function l(g){return function(w){e[g]=w,r-=1,!r&&n!==Pi&&(a=true,n(e));}}function u(g){return n=Pi,s(g),e}function c(){for(var g=e.length;t<g;t++){var w=e[t];try{w.call(null,l(t),u);}catch(k){u(k);}}}var f={defer:function(w){if(de(w)==="object"&&w.then&&w.catch){var k=w;w=function(j,$){k.then(j).catch($);};}if(Ss(w),i===void 0){if(a)throw new Error("Queue already completed");return e.push(w),++r,c(),f}},then:function(w){if(Ss(w),n!==Pi)throw new Error("queue `then` already set");return i||(n=w,r||(a=true,n(e))),f},catch:function(w){if(Ss(w),s!==o)throw new Error("queue `catch` already set");return i?(w(i),i=null):s=w,f},abort:u};return f}var Ar=Iw,Rn,Fn,ks=d.crypto||d.msCrypto;if(!Fn&&ks&&ks.getRandomValues){var $d=new Uint8Array(16);Fn=function(){return ks.getRandomValues($d),$d};}if(!Fn){var zd=new Array(16);Fn=function(){for(var t=0,r;t<16;t++)(t&3)===0&&(r=Math.random()*4294967296),zd[t]=r>>>((t&3)<<3)&255;return zd};}for(var Gd=typeof d.Buffer=="function"?d.Buffer:Array,Ts=[],Wd={},In=0;In<256;In++)Ts[In]=(In+256).toString(16).substr(1),Wd[Ts[In]]=In;function Lw(e,t,r){var n=t&&r||0,a=0;for(t=t||[],e.toLowerCase().replace(/[0-9a-f]{2}/g,function(i){a<16&&(t[n+a++]=Wd[i]);});a<16;)t[n+a++]=0;return t}function Rs(e,t){var r=t||0,n=Ts;return n[e[r++]]+n[e[r++]]+n[e[r++]]+n[e[r++]]+"-"+n[e[r++]]+n[e[r++]]+"-"+n[e[r++]]+n[e[r++]]+"-"+n[e[r++]]+n[e[r++]]+"-"+n[e[r++]]+n[e[r++]]+n[e[r++]]+n[e[r++]]+n[e[r++]]+n[e[r++]]}var Qr=Fn(),Mw=[Qr[0]|1,Qr[1],Qr[2],Qr[3],Qr[4],Qr[5]],Ud=(Qr[6]<<8|Qr[7])&16383,Fs=0,Is=0;function Xd(e,t,r){var n=t&&r||0,a=t||[];e=e||{};var i=e.clockseq!=null?e.clockseq:Ud,o=e.msecs!=null?e.msecs:new Date().getTime(),s=e.nsecs!=null?e.nsecs:Is+1,l=o-Fs+(s-Is)/1e4;if(l<0&&e.clockseq==null&&(i=i+1&16383),(l<0||o>Fs)&&e.nsecs==null&&(s=0),s>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");Fs=o,Is=s,Ud=i,o+=122192928e5;var u=((o&268435455)*1e4+s)%4294967296;a[n++]=u>>>24&255,a[n++]=u>>>16&255,a[n++]=u>>>8&255,a[n++]=u&255;var c=o/4294967296*1e4&268435455;a[n++]=c>>>8&255,a[n++]=c&255,a[n++]=c>>>24&15|16,a[n++]=c>>>16&255,a[n++]=i>>>8|128,a[n++]=i&255;for(var f=e.node||Mw,g=0;g<6;g++)a[n+g]=f[g];return t||Rs(a)}function gn(e,t,r){var n=t&&r||0;typeof e=="string"&&(t=e=="binary"?new Gd(16):null,e=null),e=e||{};var a=e.random||(e.rng||Fn)();if(a[6]=a[6]&15|64,a[8]=a[8]&63|128,t)for(var i=0;i<16;i++)t[n+i]=a[i];return t||Rs(a)}Rn=gn,Rn.v1=Xd,Rn.v4=gn,Rn.parse=Lw,Rn.unparse=Rs,Rn.BufferClass=Gd,m._uuid=Xd();var Ow=gn,Pw=Object.freeze(["EvalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"]);function Nw(e){var t=e.topic,r=e.channelId,n=e.message,a=e.messageId,i=e.keepalive,o={channelId:r,topic:t,messageId:a,keepalive:!!i,source:Yd()};return n instanceof Error?o.error={name:n.name,message:n.message,stack:n.stack}:o.payload=n,JSON.stringify(o)}function qw(e){var t;try{t=JSON.parse(e);}catch{return}if(Bw(t)){var r=t,n=r.topic,a=r.channelId,i=r.messageId,o=r.keepalive,s=de(t.error)==="object"?Hw(t.error):t.payload;return {topic:n,message:s,messageId:i,channelId:a,keepalive:!!o}}}function Bw(e){return e!==null&&de(e)==="object"&&typeof e.channelId=="string"&&e.source===Yd()}function Hw(e){var t=e.message||"Unknown error occurred",r=Pw.includes(e.name)?e.name:"Error",n=d[r]||Error;return e.stack&&(t+=`
|
|
372
|
+
`+e.stack.replace(e.message,"")),new n(t)}function Yd(){var e="axeAPI",t="";return typeof m<"u"&&m._audit&&m._audit.application&&(e=m._audit.application),typeof m<"u"&&(t=m.version),e+"."+t}function Ls(e){Jd(e),at(d.parent===e,"Source of the response must be the parent window.");}function Kd(e){Jd(e),at(e.parent===d,"Respondable target must be a frame in the current window");}function Jd(e){at(d!==e,"Messages can not be sent to the same window.");}var ga={};function Vw(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:true;at(!Object.prototype.hasOwnProperty.call(ga,e),"A replyHandler already exists for this message channel."),ga[e]={replyHandler:t,sendToParent:r};}function jw(e){return Object.prototype.hasOwnProperty.call(ga,e)?ga[e]:void 0}function $w(e){delete ga[e];}var Ni=[];function Ms(){var e="".concat(gn(),":").concat(gn());return Ni.includes(e)?Ms():(Ni.push(e),e)}function zw(e){return Ni.includes(e)?false:(Ni.push(e),true)}function Os(e,t,r,n){if(r?Ls(e):Kd(e),t.message instanceof Error&&!r)return m.log(t.message),false;var a=Nw(ve({messageId:Ms()},t)),i=m._audit.allowedOrigins;return !i||!i.length?false:(typeof n=="function"&&Vw(t.channelId,n,r),i.forEach(function(o){try{e.postMessage(a,o);}catch(s){throw s instanceof e.DOMException?new Error('allowedOrigins value "'.concat(o,'" is not a valid origin')):s}}),true)}function Gw(e,t,r){if(!e.parent!==d)return m.log(t);try{Os(e,{topic:null,channelId:r,message:t,messageId:Ms(),keepalive:!0},!0);}catch(n){return m.log(n)}}function Zd(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:true;return function(a,i,o){var s={channelId:t,message:a,keepalive:i};Os(e,s,r,o);}}function Ww(e){var t=m._audit.allowedOrigins;return t&&t.includes("*")||t.includes(e)}function Uw(e,t){var r=e.origin,n=e.data,a=e.source;try{var i=qw(n)||{},o=i.channelId,s=i.message,l=i.messageId;if(!Ww(r)||!zw(l))return;if(s instanceof Error&&a.parent!==d)return m.log(s),!1;try{if(i.topic){var u=Zd(a,o);Ls(a),t(i,u);}else Xw(a,i);}catch(c){Gw(a,c,o);}}catch(c){return m.log(c),false}}function Xw(e,t){var r=t.channelId,n=t.message,a=t.keepalive,i=jw(r)||{},o=i.replyHandler,s=i.sendToParent;if(o){s?Ls(e):Kd(e);var l=Zd(e,r,s);!a&&r&&$w(r);try{o(n,a,l);}catch(u){m.log(u),l(u,a);}}}var Yw={open:function(t){if(typeof d.addEventListener=="function"){var r=function(a){Uw(a,t);};return d.addEventListener("message",r,false),function(){d.removeEventListener("message",r,false);}}},post:function(t,r,n){return typeof d.addEventListener!="function"?false:Os(t,r,false,n)}};function Qd(e){e.updateMessenger(Yw);}var qi,ef,Bi={};function br(e,t,r,n,a){var i={topic:t,message:r,channelId:"".concat(gn(),":").concat(gn()),keepalive:n};return ef(e,i,a)}function Kw(e,t){var r=e.topic,n=e.message,a=e.keepalive,i=Object.prototype.hasOwnProperty.call(Bi,r)?Bi[r]:void 0;if(i)try{i(n,a,t);}catch(o){m.log(o),t(o,a);}}br.updateMessenger=function(t){var r=t.open,n=t.post;at(typeof r=="function","open callback must be a function"),at(typeof n=="function","post callback must be a function"),qi&&qi();var a=r(Kw);a?(at(typeof a=="function","open callback must return a cleanup function"),qi=a):qi=null,ef=n;},br.subscribe=function(t,r){at(typeof r=="function","Subscriber callback must be a function"),at(!Object.prototype.hasOwnProperty.call(Bi,t),"Topic ".concat(t," is already registered to.")),Bi[t]=r;},br.isInFrame=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:d;return !!t.frameElement},Qd(br);function tf(e,t,r,n){var a,i,o=e.contentWindow,s=(a=(i=t.options)===null||i===void 0?void 0:i.pingWaitTime)!==null&&a!==void 0?a:500;if(!o){mn("Frame does not have a content window",e),r(null);return}if(s===0){rf(e,t,r,n);return}var l=setTimeout(function(){l=setTimeout(function(){t.debug?n(nf("No response from frame",e)):r(null);},0);},s);br(o,"axe.ping",null,void 0,function(){clearTimeout(l),rf(e,t,r,n);});}function rf(e,t,r,n){var a,i,o=(a=(i=t.options)===null||i===void 0?void 0:i.frameWaitTime)!==null&&a!==void 0?a:6e4,s=e.contentWindow,l=setTimeout(function(){n(nf("Axe in frame timed out",e));},o);br(s,"axe.start",t,void 0,function(u){clearTimeout(l),u instanceof Error?n(u):r(u);});}function nf(e,t){var r;return m._tree&&(r=xs(t)),new Error(e+": "+(r||t))}var va=null,ba={update:function(t){at(de(t)==="object","serializer must be an object"),va=t;},toSpec:function(t){return ba.dqElmToSpec(new sr(t))},dqElmToSpec:function(t,r){var n;return t instanceof sr?(r&&(t=Jw(t,r)),typeof((n=va)===null||n===void 0?void 0:n.toSpec)=="function"?va.toSpec(t):t.toJSON()):t},mergeSpecs:function(t,r){var n;return typeof((n=va)===null||n===void 0?void 0:n.mergeSpecs)=="function"?va.mergeSpecs(t,r):sr.mergeSpecs(t,r)},mapRawResults:function(t){return t.map(function(r){return ve({},r,{nodes:ba.mapRawNodeResults(r.nodes)})})},mapRawNodeResults:function(t){return t?.map(function(r){var n=r.node,a=J(r,y);a.node=ba.dqElmToSpec(n);for(var i=0,o=["any","all","none"];i<o.length;i++){var s=o[i];a[s]=a[s].map(function(l){var u=l.relatedNodes,c=J(l,_);return c.relatedNodes=u.map(ba.dqElmToSpec),c});}return a})}},lr=ba;function Jw(e,t){var r=e.fromFrame,n=t.ancestry,a=t.xpath,i=t.selectors!==false||r;return e=new sr(e.element,t,{source:e.source,nodeIndexes:e.nodeIndexes,selector:i?e.selector:[":root"],ancestry:n?e.ancestry:[":root"],xpath:a?e.xpath:"/"}),e.fromFrame=r,e}function Zw(e){var t=[];return t.concat(e.any||[]).concat(e.all||[]).concat(e.none||[])}var Hi=Zw;function Qw(e,t,r){if(Array.isArray(e))return e.find(function(n){return n!==null&&de(n)==="object"&&Object.hasOwn(n,t)&&n[t]===r})}var ya=Qw;function ex(e,t,r){e.forEach(function(n){n.node=lr.mergeSpecs(n.node,r);var a=Hi(n);a.forEach(function(i){i.relatedNodes=i.relatedNodes.map(function(o){return lr.mergeSpecs(o,r)});});});}function tx(e,t){for(var r=t[0].node,n,a=0;a<e.length;a++){n=e[a].node;var i=af(n.nodeIndexes,r.nodeIndexes);if(i>0||i===0&&r.selector.length<n.selector.length){e.splice.apply(e,[a,0].concat(De(t)));return}}e.push.apply(e,De(t));}function rx(e){return !e||!e.results?null:Array.isArray(e.results)?e.results.length?e.results:null:[e.results]}function nx(e,t){var r=[];return e.forEach(function(n){var a=rx(n);if(!(!a||!a.length)){var i=ax(n);a.forEach(function(o){o.nodes&&i&&ex(o.nodes,t,i);var s=ya(r,"id",o.id);if(!s)r.push(o);else if(o.nodes.length&&tx(s.nodes,o.nodes),o.error){var l;(l=s.error)!==null&&l!==void 0||(s.error=o.error);}});}}),r.forEach(function(n){n.nodes&&n.nodes.sort(function(a,i){return af(a.node.nodeIndexes,i.node.nodeIndexes)});}),r}function af(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],r=Math.max(e?.length,t?.length),n=0;n<r;n++){var a=e?.[n],i=t?.[n];if(typeof a!="number"||isNaN(a))return n===0?1:-1;if(typeof i!="number"||isNaN(i))return n===0?-1:1;if(a!==i)return a-i}return 0}var Vi=nx;function ax(e){return e.frameElement?lr.toSpec(e.frameElement):e.frameSpec?e.frameSpec:null}function of(e,t,r,n,a,i){t=ve({},t,{elementRef:false});var o=Ar(),s=e.frames;s.forEach(function(l){var u=l.node,c=J(l,x);o.defer(function(f,g){var w={options:t,command:r,parameter:n,context:c};function k(P){return f(P?{results:P,frameElement:u}:null)}tf(u,w,k,g);});}),o.then(function(l){a(Vi(l,t));}).catch(i);}function qr(e,t){if(!e.shadowId&&!t.shadowId&&e.actualNode&&typeof e.actualNode.contains=="function")return e.actualNode.contains(t.actualNode);do{if(e===t)return true;if(t.nodeIndex<e.nodeIndex)return false;t=t.parent;}while(t);return false}function sf(){for(var e={},t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return r.forEach(function(a){if(!(!a||de(a)!=="object"||Array.isArray(a)))for(var i=0,o=Object.keys(a);i<o.length;i++){var s=o[i];!e.hasOwnProperty(s)||de(a[s])!=="object"||Array.isArray(e[s])?e[s]=a[s]:e[s]=sf(e[s],a[s]);}}),e}var Ps=sf;function ix(e,t){Object.assign(e,t),Object.keys(t).filter(function(r){return typeof t[r]=="function"}).forEach(function(r){e[r]=null;try{e[r]=t[r](e);}catch{}});}var Ns=ix,ox=["article","aside","blockquote","body","div","footer","h1","h2","h3","h4","h5","h6","header","main","nav","p","section","span"];function sx(e){if(e.shadowRoot){var t=e.nodeName.toLowerCase();if(ox.includes(t)||/^[a-z][a-z0-9_.-]*-[a-z0-9_.-]*$/.test(t))return true}return false}var ji=sx,qs={};fr(qs,{createGrid:function(){return Aa},findElmsInContext:function(){return lf},findNearbyElms:function(){return Ki},findUp:function(){return Mn},findUpVirtual:function(){return Ln},focusDisabled:function(){return Xs},getComposedParent:function(){return Ot},getElementByReference:function(){return Ks},getElementCoordinates:function(){return Vs},getElementStack:function(){return $f},getModalDialog:function(){return qf},getNodeGrid:function(){return Yi},getOverflowHiddenAncestors:function(){return xa},getRootNode:function(){return qt},getScrollOffset:function(){return Af},getTabbableElements:function(){return zf},getTargetRects:function(){return Zi},getTargetSize:function(){return Gf},getTextElementStack:function(){return ml},getViewportSize:function(){return $i},getVisibleChildTextRects:function(){return pl},hasContent:function(){return io},hasContentVirtual:function(){return Fa},hasLangText:function(){return gl},idrefs:function(){return _r},insertedIntoFocusOrder:function(){return Mp},isCurrentPageLink:function(){return Ys},isFixedPosition:function(){return zi},isFocusable:function(){return St},isHTML5:function(){return Np},isHiddenForEveryone:function(){return en},isHiddenWithCSS:function(){return M2},isInTabOrder:function(){return ur},isInTextBlock:function(){return vl},isInert:function(){return Ji},isModalOpen:function(){return Ia},isMultiline:function(){return Bp},isNativelyFocusable:function(){return Qs},isNode:function(){return z2},isOffscreen:function(){return Gi},isOpaque:function(){return eA},isSkipLink:function(){return wl},isVisible:function(){return oA},isVisibleOnScreen:function(){return Zt},isVisibleToScreenReaders:function(){return wt},isVisualContent:function(){return hl},reduceToElementsBelowFloating:function(){return Hp},shadowElementsFromPoint:function(){return uA},urlPropsFromAttribute:function(){return hA},visuallyContains:function(){return Vp},visuallyOverlaps:function(){return xl},visuallySort:function(){return Js}});function lx(e){var t=e.getRootNode&&e.getRootNode()||v;return t===e&&(t=v),t}var wa=lx,qt=wa;function ux(e){var t=e.context,r=e.value,n=e.attr,a=e.elm,i=a===void 0?"":a,o,s=At(r);return t.nodeType===9||t.nodeType===11?o=t:o=qt(t),Array.from(o.querySelectorAll(i+"["+n+"="+s+"]"))}var lf=ux;function cx(e,t){var r;if(r=e.actualNode,!e.shadowId&&typeof e.actualNode.closest=="function"){var n=e.actualNode.closest(t);return n||null}do r=r.assignedSlot?r.assignedSlot:r.parentNode,r&&r.nodeType===11&&(r=r.host);while(r&&!Cn(r,t)&&r!==v.documentElement);return !r||!Cn(r,t)?null:r}var Ln=cx;function dx(e,t){return Ln(Ke(e),t)}var Mn=dx;function Bs(e,t){return (e.left|0)<(t.right|0)&&(e.right|0)>(t.left|0)&&(e.top|0)<(t.bottom|0)&&(e.bottom|0)>(t.top|0)}var uf=ht(function(t){var r=[];if(!t)return r;var n=t.getComputedStylePropertyValue("overflow");return n==="hidden"&&r.push(t),r.concat(uf(t.parent))}),xa=uf,fx=/rect\s*\(([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px\s*\)/,px=/(\w+)\((\d+)/;function cf(e){return ["style","script","noscript","template"].includes(e.props.nodeName)}function df(e){return e.props.nodeName==="area"?false:e.getComputedStylePropertyValue("display")==="none"}function ff(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.isAncestor;return !r&&["hidden","collapse"].includes(e.getComputedStylePropertyValue("visibility"))}function pf(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.isAncestor;return !!r&&e.getComputedStylePropertyValue("content-visibility")==="hidden"}function mf(e){return e.attr("aria-hidden")==="true"}function hf(e){return e.getComputedStylePropertyValue("opacity")==="0"}function gf(e){var t=Vr(e.actualNode),r=parseInt(e.getComputedStylePropertyValue("height")),n=parseInt(e.getComputedStylePropertyValue("width"));return !!t&&(r===0||n===0)}function vf(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.isAncestor;if(r)return false;var n=e.getComputedStylePropertyValue("position");if(n==="fixed")return false;var a=xa(e);if(!a.length)return false;var i=e.boundingClientRect;return a.some(function(o){if(n==="absolute"&&!mx(e,o)&&o.getComputedStylePropertyValue("position")==="static")return false;var s=o.boundingClientRect;return s.width<2||s.height<2?true:!Bs(i,s)})}function bf(e){var t=e.getComputedStylePropertyValue("clip").match(fx),r=e.getComputedStylePropertyValue("clip-path").match(px);if(t&&t.length===5){var n=e.getComputedStylePropertyValue("position");if(["fixed","absolute"].includes(n))return t[3]-t[1]<=0&&t[2]-t[4]<=0}if(r){var a=r[1],i=parseInt(r[2],10);switch(a){case "inset":return i>=50;case "circle":return i===0;}}return false}function Hs(e,t){var r=Jt(e,"map");if(!r)return true;var n=r.attr("name");if(!n)return true;var a=wa(e.actualNode);if(!a||a.nodeType!==9)return true;var i=tr(m._tree,'img[usemap="#'.concat(At(n),'"]'));return !i||!i.length?true:i.some(function(o){return !t(o)})}function yf(e){var t;if(((t=e.parent)===null||t===void 0?void 0:t.props.nodeName)!=="details")return false;if(e.props.nodeName==="summary"){var r=e.parent.children.find(function(n){return n.props.nodeName==="summary"});if(r===e)return false}return !e.parent.hasAttr("open")}function mx(e,t){for(var r=e.parent;r&&r!==t;){if(["relative","sticky"].includes(r.getComputedStylePropertyValue("position")))return true;r=r.parent;}return false}var hx=[df,ff,pf,yf];function en(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.skipAncestors,n=t.isAncestor,a=n===void 0?false:n;return e=nt(e).vNode,r?wf(e,a):xf(e,a)}var wf=ht(function(t,r){return cf(t)?true:t.actualNode?!!(hx.some(function(n){return n(t,{isAncestor:r})})||!t.actualNode.isConnected):false}),xf=ht(function(t,r){return wf(t,r)?true:t.parent?xf(t.parent,true):false});function Df(e){if(e.assignedSlot)return Df(e.assignedSlot);if(e.parentNode){var t=e.parentNode;if(t.nodeType===1)return t;if(t.host)return t.host}return null}var Ot=Df;function gx(e){if(!e.nodeType&&e.document&&(e=e.document),e.nodeType===9){var t=e.documentElement,r=e.body;return {left:t&&t.scrollLeft||r&&r.scrollLeft||0,top:t&&t.scrollTop||r&&r.scrollTop||0}}return {left:e.scrollLeft,top:e.scrollTop}}var Af=gx;function vx(e){var t=Af(v),r=t.left,n=t.top,a=e.getBoundingClientRect();return {top:a.top+n,right:a.right+r,bottom:a.bottom+n,left:a.left+r,width:a.right-a.left,height:a.bottom-a.top}}var Vs=vx;function bx(e){var t=e.document,r=t.documentElement;if(e.innerWidth)return {width:e.innerWidth,height:e.innerHeight};if(r)return {width:r.clientWidth,height:r.clientHeight};var n=t.body;return {width:n.clientWidth,height:n.clientHeight}}var $i=bx;function zi(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.skipAncestors,n=nt(e),a=n.vNode;return a?r?_f(a):Ef(a):false}var _f=ht(function(t){return t.getComputedStylePropertyValue("position")==="fixed"}),Ef=ht(function(t){return _f(t)?true:t.parent?Ef(t.parent):false});function yx(e,t){for(e=Ot(e);e&&e.nodeName.toLowerCase()!=="html";){if(e.scrollTop&&(t+=e.scrollTop,t>=0))return false;e=Ot(e);}return true}function wx(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.isAncestor;if(r)return false;var n=nt(e),a=n.domNode;if(a){var i=v.documentElement,o=d.getComputedStyle(a),s=d.getComputedStyle(v.body||i).getPropertyValue("direction"),l=zi(a),u=l?a.getBoundingClientRect():Vs(a);if(u.top===0&&u.bottom===0||u.left===0&&u.right===0)return false;if(u.bottom<=0&&(yx(a,u.bottom)||o.position==="absolute"))return true;var c=$i(d);if(l&&u.top>=c.height)return true;var f=Math.max(i.scrollWidth,c.width);return !!((l||s==="rtl")&&u.left>=f||(l||s==="ltr")&&u.right<=0)}}var Gi=wx,xx=[hf,gf,vf,bf,Gi];function Zt(e){return e=nt(e).vNode,js(e)}var js=ht(function(t,r){return t.actualNode&&t.props.nodeName==="area"?!Hs(t,js):en(t,{skipAncestors:true,isAncestor:r})||t.actualNode&&xx.some(function(n){return n(t,{isAncestor:r})})?false:t.parent?js(t.parent,true):true});function $s(e,t){var r=Math.min(e.top,t.top),n=Math.max(e.right,t.right),a=Math.max(e.bottom,t.bottom),i=Math.min(e.left,t.left);return new d.DOMRect(i,r,n-i,a-r)}function Wi(e,t){var r=e.x,n=e.y,a=t.top,i=t.right,o=t.bottom,s=t.left;return n>=a&&r<=i&&n<=o&&r>=s}var Cf={};fr(Cf,{getBoundingRect:function(){return $s},getIntersectionRect:function(){return Ui},getOffset:function(){return kf},getRectCenter:function(){return Da},hasVisualOverlap:function(){return zs},isPointInRect:function(){return Wi},rectHasMinimumSize:function(){return Br},rectsOverlap:function(){return Bs},splitRects:function(){return Gs}});function Ui(e,t){var r=Math.max(e.left,t.left),n=Math.min(e.right,t.right),a=Math.max(e.top,t.top),i=Math.min(e.bottom,t.bottom);return r>=n||a>=i?null:new d.DOMRect(r,a,n-r,i-a)}function Da(e){var t=e.left,r=e.top,n=e.width,a=e.height;return new d.DOMPoint(t+n/2,r+a/2)}var Sf=.05;function Br(e,t){var r=t.width,n=t.height;return r+Sf>=e&&n+Sf>=e}function kf(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:12,n=Zi(e),a=Zi(t);return !n.length||!a.length?null:n.reduce(function(i,o){var s=Da(o),l=ot(a),u;try{for(l.s();!(u=l.n()).done;){var c=u.value;if(Wi(s,c))return 0;var f=Dx(s,c),g=Tf(s,f);i=Math.min(i,g);}}catch($){l.e($);}finally{l.f();}var w=Gf(t);if(Br(r*2,w))return i;var k=a.reduce($s),P=Da(k),j=Tf(s,P)-r;return Math.max(0,Math.min(i,j))},1/0)}function Dx(e,t){var r,n;return e.x<t.left?r=t.left:e.x>t.right?r=t.right:r=e.x,e.y<t.top?n=t.top:e.y>t.bottom?n=t.bottom:n=e.y,{x:r,y:n}}function Tf(e,t){return Math.hypot(e.x-t.x,e.y-t.y)}function zs(e,t){var r=e.boundingClientRect,n=t.boundingClientRect;return r.left>=n.right||r.right<=n.left||r.top>=n.bottom||r.bottom<=n.top?false:Js(e,t)>0}function Gs(e,t){var r=Array.isArray(e)?e:[e],n=ot(t),a;try{var i=function(){var s=a.value;if(r=r.reduce(function(l,u){return l.concat(Ax(u,s))},[]),r.length>4e3)throw new Error("splitRects: Too many rects")};for(n.s();!(a=n.n()).done;)i();}catch(o){n.e(o);}finally{n.f();}return r}function Ax(e,t){var r=e.top,n=e.left,a=e.bottom,i=e.right,o=r<t.bottom&&a>t.top,s=n<t.right&&i>t.left,l=[];if(Xi(t.top,r,a)&&s&&l.push({top:r,left:n,bottom:t.top,right:i}),Xi(t.right,n,i)&&o&&l.push({top:r,left:t.right,bottom:a,right:i}),Xi(t.bottom,r,a)&&s&&l.push({top:t.bottom,right:i,bottom:a,left:n}),Xi(t.left,n,i)&&o&&l.push({top:r,left:n,bottom:a,right:t.left}),l.length===0){if(Ex(e,t))return [];l.push(e);}return l.map(_x)}var Xi=function(t,r,n){return t>r&&t<n};function _x(e){return new d.DOMRect(e.left,e.top,e.right-e.left,e.bottom-e.top)}function Ex(e,t){return e.top>=t.top&&e.left>=t.left&&e.bottom<=t.bottom&&e.right<=t.right}var Rf=0,Cx=.1,Ff=.2,If=.3,Ws=0;function Aa(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:v.body,t=arguments.length>1?arguments[1]:void 0,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(Ue.get("gridCreated")&&!r)return Xe.gridSize;if(Ue.set("gridCreated",true),!r){var n=Ke(v.documentElement);if(n||(n=new Dl(v.documentElement)),Ws=0,n._stackingOrder=[Of(Rf,Ws++,null)],t??(t=new Us),Pf(t,n),Vr(n.actualNode)){var a=new Us(n);n._subGrid=a;}}for(var i=v.createTreeWalker(e,d.NodeFilter.SHOW_ELEMENT,null,false),o=r?i.nextNode():i.currentNode;o;){var s=Ke(o);s&&s.parent?r=s.parent:o.assignedSlot?r=Ke(o.assignedSlot):o.parentElement?r=Ke(o.parentElement):o.parentNode&&Ke(o.parentNode)&&(r=Ke(o.parentNode)),s||(s=new m.VirtualNode(o,r)),s._stackingOrder=Sx(s,r,Ws++);var l=Rx(s,r),u=l?l._subGrid:t;if(Vr(s.actualNode)){var c=new Us(s);s._subGrid=c;}var f=s.boundingClientRect;f.width!==0&&f.height!==0&&Zt(o)&&Pf(u,s),ji(o)&&Aa(o.shadowRoot,u,s),o=i.nextNode();}return Xe.gridSize}function Lf(e,t){var r=e.getComputedStylePropertyValue("position"),n=e.getComputedStylePropertyValue("z-index");if(r==="fixed"||r==="sticky"||n!=="auto"&&r!=="static"||e.getComputedStylePropertyValue("opacity")!=="1")return true;var a=e.getComputedStylePropertyValue("-webkit-transform")||e.getComputedStylePropertyValue("-ms-transform")||e.getComputedStylePropertyValue("transform")||"none";if(a!=="none")return true;var i=e.getComputedStylePropertyValue("mix-blend-mode");if(i&&i!=="normal")return true;var o=e.getComputedStylePropertyValue("filter");if(o&&o!=="none")return true;var s=e.getComputedStylePropertyValue("perspective");if(s&&s!=="none")return true;var l=e.getComputedStylePropertyValue("clip-path");if(l&&l!=="none")return true;var u=e.getComputedStylePropertyValue("-webkit-mask")||e.getComputedStylePropertyValue("mask")||"none";if(u!=="none")return true;var c=e.getComputedStylePropertyValue("-webkit-mask-image")||e.getComputedStylePropertyValue("mask-image")||"none";if(c!=="none")return true;var f=e.getComputedStylePropertyValue("-webkit-mask-border")||e.getComputedStylePropertyValue("mask-border")||"none";if(f!=="none"||e.getComputedStylePropertyValue("isolation")==="isolate")return true;var g=e.getComputedStylePropertyValue("will-change");if(g==="transform"||g==="opacity"||e.getComputedStylePropertyValue("-webkit-overflow-scrolling")==="touch")return true;var w=e.getComputedStylePropertyValue("contain");return !!(["layout","paint","strict","content"].includes(w)||n!=="auto"&&Mf(t))}function Mf(e){if(!e)return false;var t=e.getComputedStylePropertyValue("display");return ["flex","inline-flex","grid","inline-grid"].includes(t)}function Sx(e,t,r){var n=t._stackingOrder.slice();if(Lf(e,t)){var a=n.findIndex(function(o){var s=o.stackLevel;return [Rf,Ff,If].includes(s)});a!==-1&&n.splice(a,n.length-a);}var i=kx(e,t);return i!==null&&n.push(Of(i,r,e)),n}function Of(e,t,r){return {stackLevel:e,treeOrder:t,vNode:r}}function kx(e,t){var r=Tx(e,t);return ["auto","0"].includes(r)?e.getComputedStylePropertyValue("position")!=="static"?If:e.getComputedStylePropertyValue("float")!=="none"?Ff:Lf(e,t)?Cx:null:parseInt(r)}function Tx(e,t){var r=e.getComputedStylePropertyValue("position");return r==="static"&&!Mf(t)?"auto":e.getComputedStylePropertyValue("z-index")}function Rx(e,t){for(var r=null,n=[e];t;){if(Vr(t.actualNode)){r=t;break}if(t._scrollRegionParent){r=t._scrollRegionParent;break}n.push(t),t=Ke(t.actualNode.parentElement||t.actualNode.parentNode);}return n.forEach(function(a){return a._scrollRegionParent=r}),r}function Pf(e,t){var r=xa(t);t.clientRects.forEach(function(n){var a,i=r.reduce(function(s,l){return s&&Ui(s,l.boundingClientRect)},n);if(i){(a=t._grid)!==null&&a!==void 0||(t._grid=e);var o=e.getGridPositionOfRect(i);e.loopGridPosition(o,function(s){s.includes(t)||s.push(t);});}});}var Us=(function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;rr(this,e),this.container=t,this.cells=[];}return zt(e,[{key:"toGridIndex",value:function(r){return Math.floor(r/Xe.gridSize)}},{key:"getCellFromPoint",value:function(r){var n,a,i=r.x,o=r.y;at(this.boundaries,"Grid does not have cells added");var s=this.toGridIndex(o),l=this.toGridIndex(i);at(Wi({y:s,x:l},this.boundaries),"Element midpoint exceeds the grid bounds");var u=(n=this.cells[s-this.cells._negativeIndex])!==null&&n!==void 0?n:[];return (a=u[l-u._negativeIndex])!==null&&a!==void 0?a:[]}},{key:"loopGridPosition",value:function(r,n){var a=r,i=a.left,o=a.right,s=a.top,l=a.bottom;this.boundaries&&(r=$s(this.boundaries,r)),this.boundaries=r,Nf(this.cells,s,l,function(u,c){Nf(u,i,o,function(f,g){n(f,{row:c,col:g});});});}},{key:"getGridPositionOfRect",value:function(r){var n=r.top,a=r.right,i=r.bottom,o=r.left,s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return n=this.toGridIndex(n-s),a=this.toGridIndex(a+s-1),i=this.toGridIndex(i+s-1),o=this.toGridIndex(o-s),new d.DOMRect(o,n,a-o,i-n)}}])})();function Nf(e,t,r,n){var a;if((a=e._negativeIndex)!==null&&a!==void 0||(e._negativeIndex=0),t<e._negativeIndex){for(var i=0;i<e._negativeIndex-t;i++)e.splice(0,0,[]);e._negativeIndex=t;}for(var o=t-e._negativeIndex,s=r-e._negativeIndex,l=o;l<=s;l++){var u,c;(c=e[u=l])!==null&&c!==void 0||(e[u]=[]),n(e[l],l+e._negativeIndex);}}function Yi(e){Aa();var t=nt(e),r=t.vNode;return r._grid}function Ki(e){var t,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=Yi(e);if(!(n!=null&&(t=n.cells)!==null&&t!==void 0&&t.length))return [];var a=e.boundingClientRect,i=zi(e),o=n.getGridPositionOfRect(a,r),s=[];return n.loopGridPosition(o,function(l){var u=ot(l),c;try{for(u.s();!(c=u.n()).done;){var f=c.value;f&&f!==e&&!s.includes(f)&&i===zi(f)&&s.push(f);}}catch(g){u.e(g);}finally{u.f();}}),s}var Fx=ht(function(){var t;if(!m._tree)return null;var r=Tr(m._tree[0],"dialog[open]",function(a){var i=a.boundingClientRect,o=v.elementsFromPoint(i.left+1,i.top+1);return o.includes(a.actualNode)&&Zt(a)});if(!r.length)return null;var n=r.find(function(a){var i=a.boundingClientRect,o=v.elementsFromPoint(i.left-10,i.top-10);return o.includes(a.actualNode)});return n||((t=r.find(function(a){var i,o=(i=Ix(a))!==null&&i!==void 0?i:{},s=o.vNode,l=o.rect;if(!s)return false;var u=v.elementsFromPoint(l.left+1,l.top+1);return !u.includes(s.actualNode)}))!==null&&t!==void 0?t:null)}),qf=Fx;function Ix(e){Aa();var t=m._tree[0]._grid,r=new d.DOMRect(0,0,d.innerWidth,d.innerHeight);if(t)for(var n=0;n<t.cells.length;n++){var a=t.cells[n];if(a)for(var i=0;i<a.length;i++){var o=a[i];if(o)for(var s=0;s<o.length;s++){var l=o[s],u=l.boundingClientRect,c=Ui(u,r);if(l.props.nodeName!=="html"&&l!==e&&l.getComputedStylePropertyValue("pointer-events")!=="none"&&c)return {vNode:l,rect:c}}}}}function Ji(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.skipAncestors,n=t.isAncestor;return r?Bf(e,n):Hf(e,n)}var Bf=ht(function(t,r){if(t.hasAttr("inert"))return true;if(!r&&t.actualNode){var n=qf();if(n&&!qr(n,t))return true}return false}),Hf=ht(function(t,r){return Bf(t,r)?true:t.parent?Hf(t.parent,true):false}),Lx=["button","command","fieldset","keygen","optgroup","option","select","textarea","input"];function Mx(e){return Lx.includes(e)}function Ox(e){var t=nt(e),r=t.vNode;if(Mx(r.props.nodeName)&&r.hasAttr("disabled")||Ji(r))return true;for(var n=r.parent,a=[],i=false;n&&n.shadowId===r.shadowId&&!i&&(a.push(n),n.props.nodeName!=="legend");){if(n._inDisabledFieldset!==void 0){i=n._inDisabledFieldset;break}n.props.nodeName==="fieldset"&&n.hasAttr("disabled")&&(i=true),n=n.parent;}return a.forEach(function(o){return o._inDisabledFieldset=i}),i?true:r.props.nodeName!=="area"&&r.actualNode?en(r):false}var Xs=Ox,Px=/^\/\#/,Nx=/^#[!/]/;function Ys(e){var t,r=e.getAttribute("href");if(!r||r==="#")return false;if(Px.test(r))return true;var n=e.hash,a=e.protocol,i=e.hostname,o=e.port,s=e.pathname;if(Nx.test(n))return false;if(r.charAt(0)==="#")return true;if(typeof((t=d.location)===null||t===void 0?void 0:t.origin)!="string"||d.location.origin.indexOf("://")===-1)return null;var l=d.location.origin+d.location.pathname,u;return i?u="".concat(a,"//").concat(i).concat(o?":".concat(o):""):u=d.location.origin,s?u+=(s[0]!=="/"?"/":"")+s:u+=d.location.pathname,u===l}function qx(e,t){var r=e.getAttribute(t);if(!r||t==="href"&&!Ys(e))return null;r.indexOf("#")!==-1&&(r=decodeURIComponent(r.substr(r.indexOf("#")+1)));var n=v.getElementById(r);return n||(n=v.getElementsByName(r),n.length?n[0]:null)}var Ks=qx;function Js(e,t){Aa();for(var r=Math.max(e._stackingOrder.length,t._stackingOrder.length),n=0;n<r;n++){if(typeof t._stackingOrder[n]>"u")return -1;if(typeof e._stackingOrder[n]>"u"||t._stackingOrder[n].stackLevel>e._stackingOrder[n].stackLevel)return 1;if(t._stackingOrder[n].stackLevel<e._stackingOrder[n].stackLevel)return -1;if(t._stackingOrder[n].treeOrder!==e._stackingOrder[n].treeOrder)return t._stackingOrder[n].treeOrder-e._stackingOrder[n].treeOrder}var a=e.actualNode,i=t.actualNode;if(a.getRootNode&&a.getRootNode()!==i.getRootNode()){for(var o=[];a;)o.push({root:a.getRootNode(),node:a}),a=a.getRootNode().host;for(;i&&!o.find(function(j){return j.root===i.getRootNode()});)i=i.getRootNode().host;if(a=o.find(function(j){return j.root===i.getRootNode()}).node,a===i)return e.actualNode.getRootNode()!==a.getRootNode()?-1:1}var s=d.Node,l=s.DOCUMENT_POSITION_FOLLOWING,u=s.DOCUMENT_POSITION_CONTAINS,c=s.DOCUMENT_POSITION_CONTAINED_BY,f=a.compareDocumentPosition(i),g=f&l?1:-1,w=f&u||f&c,k=Vf(e),P=Vf(t);return k===P||w?g:P-k}function Vf(e){return e.getComputedStylePropertyValue("display").indexOf("inline")!==-1?2:jf(e)?1:0}function jf(e){if(!e)return false;if(e._isFloated!==void 0)return e._isFloated;var t=e.getComputedStylePropertyValue("float");if(t!=="none")return e._isFloated=true,true;var r=jf(e.parent);return e._isFloated=r,r}function Zs(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:false,n=Da(t),a=e.getCellFromPoint(n)||[],i=Math.floor(n.x),o=Math.floor(n.y),s=a.filter(function(u){return u.clientRects.some(function(c){var f=c.left,g=c.top;return i<Math.floor(f+c.width)&&i>=Math.floor(f)&&o<Math.floor(g+c.height)&&o>=Math.floor(g)})}),l=e.container;return l&&(s=Zs(l._grid,l.boundingClientRect,true).concat(s)),r||(s=s.sort(Js).map(function(u){return u.actualNode}).concat(v.documentElement).filter(function(u,c,f){return f.indexOf(u)===c})),s}function Bx(e){var t=Yi(e);if(!t)return [];var r=Ke(e).boundingClientRect;return Zs(t,r)}var $f=Bx;function Hx(e){var t=tr(e,"*"),r=t.filter(function(n){var a=n.isFocusable,i=kr(n.actualNode.getAttribute("tabindex"));return i!==null?a&&i>=0:a});return r}var zf=Hx;function Vx(e){var t=nt(e),r=t.vNode;if(!r||Xs(r))return false;switch(r.props.nodeName){case "a":case "area":if(r.hasAttr("href"))return true;break;case "input":return r.props.type!=="hidden";case "textarea":case "select":case "summary":case "button":return true;case "details":return !tr(r,"summary").length}return false}var Qs=Vx;function St(e){var t=nt(e),r=t.vNode;if(r.props.nodeType!==1||Xs(r))return false;if(Qs(r))return true;var n=kr(r.attr("tabindex"));return n!==null}function ur(e){var t=nt(e),r=t.vNode;if(r.props.nodeType!==1)return false;var n=kr(r.attr("tabindex"));return n<=-1?false:St(r)}var Zi=ht(jx);function jx(e){var t=e.getComputedStylePropertyValue("display"),r=t==="inline"?e.clientRects:[e.boundingClientRect],n=Ki(e).filter(function(i){return zs(e,i)&&i.getComputedStylePropertyValue("pointer-events")!=="none"&&!$x(e,i)});if(!n.length)return r;var a=n.map(function(i){var o=i.getComputedStylePropertyValue("display");return o==="inline"?i.clientRects:i.boundingClientRect}).flat(1/0);return Gs(r,a)}function $x(e,t){return qr(e,t)&&!ur(t)}var Gf=ht(zx);function zx(e,t){var r=Zi(e);return Gx(r,t)}function Gx(e,t){return e.reduce(function(r,n){var a=Br(t,r),i=Br(t,n);if(a!==i)return a?r:n;var o=r.width*r.height,s=n.width*n.height;return o>s?r:n})}var _a={};fr(_a,{accessibleText:function(){return vn},accessibleTextVirtual:function(){return Pt},autocomplete:function(){return yn},formControlValue:function(){return Dp},formControlValueMethods:function(){return sl},hasUnicode:function(){return cl},isHumanInterpretable:function(){return fl},isIconLigature:function(){return dl},isValidAutocomplete:function(){return Tp},label:function(){return x2},labelText:function(){return ll},labelVirtual:function(){return no},nativeElementType:function(){return A2},nativeTextAlternative:function(){return _p},nativeTextMethods:function(){return Ap},removeUnicode:function(){return Ra},sanitize:function(){return Ve},subtreeText:function(){return nn},titleText:function(){return eo},unsupported:function(){return fp},visible:function(){return Rp},visibleTextNodes:function(){return _2},visibleVirtual:function(){return Cr}});function Wx(e,t){e=e.actualNode||e;try{var r=qt(e),n=[],a=e.getAttribute(t);if(a){a=jt(a);for(var i=0;i<a.length;i++)n.push(r.getElementById(a[i]));}return n}catch{throw new TypeError("Cannot resolve id references for non-DOM nodes")}}var _r=Wx;function Ux(e,t){var r=Ke(e);return Pt(r,t)}var vn=Ux;function Xx(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=nt(e),n=r.vNode;if(n?.props.nodeType!==1||n.props.nodeType!==1||t.inLabelledByContext||t.inControlContext||!n.attr("aria-labelledby"))return "";var a=_r(n,"aria-labelledby").filter(function(i){return i});return a.reduce(function(i,o){var s=vn(o,ve({inLabelledByContext:true,startNode:t.startNode||n},t));return i?"".concat(i," ").concat(s):s},"")}var Ea=Xx;function Ca(e){var t=nt(e),r=t.vNode;return r?.props.nodeType!==1?"":r.attr("aria-label")||""}var Yx={"aria-activedescendant":{type:"idref",allowEmpty:true},"aria-atomic":{type:"boolean",global:true},"aria-autocomplete":{type:"nmtoken",values:["inline","list","both","none"]},"aria-braillelabel":{type:"string",allowEmpty:true,global:true},"aria-brailleroledescription":{type:"string",allowEmpty:true,global:true},"aria-busy":{type:"boolean",global:true},"aria-checked":{type:"nmtoken",values:["false","mixed","true","undefined"]},"aria-colcount":{type:"int",minValue:-1},"aria-colindex":{type:"int",minValue:1},"aria-colspan":{type:"int",minValue:1},"aria-controls":{type:"idrefs",allowEmpty:true,global:true},"aria-current":{type:"nmtoken",allowEmpty:true,values:["page","step","location","date","time","true","false"],global:true},"aria-describedby":{type:"idrefs",allowEmpty:true,global:true},"aria-description":{type:"string",allowEmpty:true,global:true},"aria-details":{type:"idref",allowEmpty:true,global:true},"aria-disabled":{type:"boolean",global:true},"aria-dropeffect":{type:"nmtokens",values:["copy","execute","link","move","none","popup"],global:true},"aria-errormessage":{type:"idref",allowEmpty:true,global:true},"aria-expanded":{type:"nmtoken",values:["true","false","undefined"]},"aria-flowto":{type:"idrefs",allowEmpty:true,global:true},"aria-grabbed":{type:"nmtoken",values:["true","false","undefined"],global:true},"aria-haspopup":{type:"nmtoken",allowEmpty:true,values:["true","false","menu","listbox","tree","grid","dialog"],global:true},"aria-hidden":{type:"nmtoken",values:["true","false","undefined"],global:true},"aria-invalid":{type:"nmtoken",values:["grammar","false","spelling","true"],global:true},"aria-keyshortcuts":{type:"string",allowEmpty:true,global:true},"aria-label":{type:"string",allowEmpty:true,global:true},"aria-labelledby":{type:"idrefs",allowEmpty:true,global:true},"aria-level":{type:"int",minValue:1},"aria-live":{type:"nmtoken",values:["assertive","off","polite"],global:true},"aria-modal":{type:"boolean"},"aria-multiline":{type:"boolean"},"aria-multiselectable":{type:"boolean"},"aria-orientation":{type:"nmtoken",values:["horizontal","undefined","vertical"]},"aria-owns":{type:"idrefs",allowEmpty:true,global:true},"aria-placeholder":{type:"string",allowEmpty:true},"aria-posinset":{type:"int",minValue:1},"aria-pressed":{type:"nmtoken",values:["false","mixed","true","undefined"]},"aria-readonly":{type:"boolean"},"aria-relevant":{type:"nmtokens",values:["additions","all","removals","text"],global:true},"aria-required":{type:"boolean"},"aria-roledescription":{type:"string",allowEmpty:true,global:true},"aria-rowcount":{type:"int",minValue:-1},"aria-rowindex":{type:"int",minValue:1},"aria-rowspan":{type:"int",minValue:0},"aria-selected":{type:"nmtoken",values:["false","true","undefined"]},"aria-setsize":{type:"int",minValue:-1},"aria-sort":{type:"nmtoken",values:["ascending","descending","none","other"]},"aria-valuemax":{type:"decimal"},"aria-valuemin":{type:"decimal"},"aria-valuenow":{type:"decimal"},"aria-valuetext":{type:"string",allowEmpty:true}},Wf=Yx,Kx={alert:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"]},alertdialog:{type:"window",allowedAttrs:["aria-expanded","aria-modal"],superclassRole:["alert","dialog"],accessibleNameRequired:true},application:{type:"landmark",allowedAttrs:["aria-activedescendant","aria-expanded"],superclassRole:["structure"],accessibleNameRequired:true},article:{type:"structure",allowedAttrs:["aria-posinset","aria-setsize","aria-expanded"],superclassRole:["document"]},banner:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},blockquote:{type:"structure",superclassRole:["section"]},button:{type:"widget",allowedAttrs:["aria-expanded","aria-pressed"],superclassRole:["command"],accessibleNameRequired:true,nameFromContent:true,childrenPresentational:true},caption:{type:"structure",requiredContext:["figure","table","grid","treegrid"],superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},cell:{type:"structure",requiredContext:["row"],allowedAttrs:["aria-colindex","aria-colspan","aria-rowindex","aria-rowspan","aria-expanded"],superclassRole:["section"],nameFromContent:true},checkbox:{type:"widget",requiredAttrs:["aria-checked"],allowedAttrs:["aria-readonly","aria-expanded","aria-required"],superclassRole:["input"],accessibleNameRequired:true,nameFromContent:true,childrenPresentational:true},code:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},columnheader:{type:"structure",requiredContext:["row"],allowedAttrs:["aria-sort","aria-colindex","aria-colspan","aria-expanded","aria-readonly","aria-required","aria-rowindex","aria-rowspan","aria-selected"],superclassRole:["cell","gridcell","sectionhead"],accessibleNameRequired:false,nameFromContent:true},combobox:{type:"widget",requiredAttrs:["aria-expanded","aria-controls"],allowedAttrs:["aria-owns","aria-autocomplete","aria-readonly","aria-required","aria-activedescendant","aria-orientation"],superclassRole:["select"],accessibleNameRequired:true},command:{type:"abstract",superclassRole:["widget"]},complementary:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},composite:{type:"abstract",superclassRole:["widget"]},contentinfo:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},comment:{type:"structure",allowedAttrs:["aria-level","aria-posinset","aria-setsize"],superclassRole:["article"]},definition:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"]},deletion:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},dialog:{type:"window",allowedAttrs:["aria-expanded","aria-modal"],superclassRole:["window"],accessibleNameRequired:true},directory:{type:"structure",deprecated:true,allowedAttrs:["aria-expanded"],superclassRole:["list"],nameFromContent:true},document:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["structure"]},emphasis:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},feed:{type:"structure",requiredOwned:["article"],allowedAttrs:["aria-expanded"],superclassRole:["list"]},figure:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],nameFromContent:true},form:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},grid:{type:"composite",requiredOwned:["rowgroup","row"],allowedAttrs:["aria-level","aria-multiselectable","aria-readonly","aria-activedescendant","aria-colcount","aria-expanded","aria-rowcount"],superclassRole:["composite","table"],accessibleNameRequired:false},gridcell:{type:"widget",requiredContext:["row"],allowedAttrs:["aria-readonly","aria-required","aria-selected","aria-colindex","aria-colspan","aria-expanded","aria-rowindex","aria-rowspan"],superclassRole:["cell","widget"],nameFromContent:true},group:{type:"structure",allowedAttrs:["aria-activedescendant","aria-expanded"],superclassRole:["section"]},heading:{type:"structure",requiredAttrs:["aria-level"],allowedAttrs:["aria-expanded"],superclassRole:["sectionhead"],accessibleNameRequired:false,nameFromContent:true},img:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],accessibleNameRequired:true,childrenPresentational:true},input:{type:"abstract",superclassRole:["widget"]},insertion:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},landmark:{type:"abstract",superclassRole:["section"]},link:{type:"widget",allowedAttrs:["aria-expanded"],superclassRole:["command"],accessibleNameRequired:true,nameFromContent:true},list:{type:"structure",requiredOwned:["listitem"],allowedAttrs:["aria-expanded"],superclassRole:["section"]},listbox:{type:"widget",requiredOwned:["group","option"],allowedAttrs:["aria-multiselectable","aria-readonly","aria-required","aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["select"],accessibleNameRequired:true},listitem:{type:"structure",requiredContext:["list"],allowedAttrs:["aria-level","aria-posinset","aria-setsize","aria-expanded"],superclassRole:["section"],nameFromContent:true},log:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"]},main:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},marquee:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"]},math:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],childrenPresentational:true},menu:{type:"composite",requiredOwned:["group","menuitemradio","menuitem","menuitemcheckbox","menu","separator"],allowedAttrs:["aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["select"]},menubar:{type:"composite",requiredOwned:["group","menuitemradio","menuitem","menuitemcheckbox","menu","separator"],allowedAttrs:["aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["menu"]},menuitem:{type:"widget",requiredContext:["menu","menubar","group"],allowedAttrs:["aria-posinset","aria-setsize","aria-expanded"],superclassRole:["command"],accessibleNameRequired:true,nameFromContent:true},menuitemcheckbox:{type:"widget",requiredContext:["menu","menubar","group"],requiredAttrs:["aria-checked"],allowedAttrs:["aria-expanded","aria-posinset","aria-readonly","aria-setsize"],superclassRole:["checkbox","menuitem"],accessibleNameRequired:true,nameFromContent:true,childrenPresentational:true},menuitemradio:{type:"widget",requiredContext:["menu","menubar","group"],requiredAttrs:["aria-checked"],allowedAttrs:["aria-expanded","aria-posinset","aria-readonly","aria-setsize"],superclassRole:["menuitemcheckbox","radio"],accessibleNameRequired:true,nameFromContent:true,childrenPresentational:true},meter:{type:"structure",requiredAttrs:["aria-valuenow"],allowedAttrs:["aria-valuemax","aria-valuemin","aria-valuetext"],superclassRole:["range"],accessibleNameRequired:true,childrenPresentational:true},mark:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},navigation:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},none:{type:"structure",superclassRole:["structure"],prohibitedAttrs:["aria-label","aria-labelledby"]},note:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"]},option:{type:"widget",requiredContext:["group","listbox"],allowedAttrs:["aria-selected","aria-checked","aria-posinset","aria-setsize"],superclassRole:["input"],accessibleNameRequired:true,nameFromContent:true,childrenPresentational:true},paragraph:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},presentation:{type:"structure",superclassRole:["structure"],prohibitedAttrs:["aria-label","aria-labelledby"]},progressbar:{type:"widget",allowedAttrs:["aria-expanded","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext"],superclassRole:["range"],accessibleNameRequired:true,childrenPresentational:true},radio:{type:"widget",requiredAttrs:["aria-checked"],allowedAttrs:["aria-posinset","aria-setsize","aria-required"],superclassRole:["input"],accessibleNameRequired:true,nameFromContent:true,childrenPresentational:true},radiogroup:{type:"composite",allowedAttrs:["aria-readonly","aria-required","aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["select"],accessibleNameRequired:false},range:{type:"abstract",superclassRole:["widget"]},region:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"],accessibleNameRequired:false},roletype:{type:"abstract",superclassRole:[]},row:{type:"structure",requiredContext:["grid","rowgroup","table","treegrid"],requiredOwned:["cell","columnheader","gridcell","rowheader"],allowedAttrs:["aria-colindex","aria-level","aria-rowindex","aria-selected","aria-activedescendant","aria-expanded","aria-posinset","aria-setsize"],superclassRole:["group","widget"],nameFromContent:true},rowgroup:{type:"structure",requiredContext:["grid","table","treegrid"],requiredOwned:["row"],superclassRole:["structure"],nameFromContent:true},rowheader:{type:"structure",requiredContext:["row"],allowedAttrs:["aria-sort","aria-colindex","aria-colspan","aria-expanded","aria-readonly","aria-required","aria-rowindex","aria-rowspan","aria-selected"],superclassRole:["cell","gridcell","sectionhead"],accessibleNameRequired:false,nameFromContent:true},scrollbar:{type:"widget",requiredAttrs:["aria-valuenow"],allowedAttrs:["aria-controls","aria-orientation","aria-valuemax","aria-valuemin","aria-valuetext"],superclassRole:["range"],childrenPresentational:true},search:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},searchbox:{type:"widget",allowedAttrs:["aria-activedescendant","aria-autocomplete","aria-multiline","aria-placeholder","aria-readonly","aria-required"],superclassRole:["textbox"],accessibleNameRequired:true},section:{type:"abstract",superclassRole:["structure"],nameFromContent:true},sectionhead:{type:"abstract",superclassRole:["structure"],nameFromContent:true},select:{type:"abstract",superclassRole:["composite","group"]},separator:{type:"structure",requiredAttrs:["aria-valuenow"],allowedAttrs:["aria-valuemax","aria-valuemin","aria-orientation","aria-valuetext"],superclassRole:["structure","widget"],childrenPresentational:true},slider:{type:"widget",requiredAttrs:["aria-valuenow"],allowedAttrs:["aria-valuemax","aria-valuemin","aria-orientation","aria-readonly","aria-required","aria-valuetext"],superclassRole:["input","range"],accessibleNameRequired:true,childrenPresentational:true},spinbutton:{type:"widget",allowedAttrs:["aria-valuemax","aria-valuemin","aria-readonly","aria-required","aria-activedescendant","aria-valuetext","aria-valuenow"],superclassRole:["composite","input","range"],accessibleNameRequired:true},status:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"]},strong:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},structure:{type:"abstract",superclassRole:["roletype"]},subscript:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},superscript:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},switch:{type:"widget",requiredAttrs:["aria-checked"],allowedAttrs:["aria-expanded","aria-readonly","aria-required"],superclassRole:["checkbox"],accessibleNameRequired:true,nameFromContent:true,childrenPresentational:true},suggestion:{type:"structure",requiredOwned:["insertion","deletion"],superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},tab:{type:"widget",requiredContext:["tablist"],allowedAttrs:["aria-posinset","aria-selected","aria-setsize","aria-expanded"],superclassRole:["sectionhead","widget"],nameFromContent:true,childrenPresentational:true},table:{type:"structure",requiredOwned:["rowgroup","row"],allowedAttrs:["aria-colcount","aria-rowcount","aria-expanded"],superclassRole:["section"],accessibleNameRequired:false,nameFromContent:true},tablist:{type:"composite",requiredOwned:["tab"],allowedAttrs:["aria-level","aria-multiselectable","aria-orientation","aria-activedescendant","aria-expanded"],superclassRole:["composite"]},tabpanel:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],accessibleNameRequired:false},term:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],nameFromContent:true},text:{type:"structure",superclassRole:["section"],nameFromContent:true},textbox:{type:"widget",allowedAttrs:["aria-activedescendant","aria-autocomplete","aria-multiline","aria-placeholder","aria-readonly","aria-required"],superclassRole:["input"],accessibleNameRequired:true},time:{type:"structure",superclassRole:["section"]},timer:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["status"]},toolbar:{type:"structure",allowedAttrs:["aria-orientation","aria-activedescendant","aria-expanded"],superclassRole:["group"],accessibleNameRequired:true},tooltip:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],nameFromContent:true},tree:{type:"composite",requiredOwned:["group","treeitem"],allowedAttrs:["aria-multiselectable","aria-required","aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["select"],accessibleNameRequired:false},treegrid:{type:"composite",requiredOwned:["rowgroup","row"],allowedAttrs:["aria-activedescendant","aria-colcount","aria-expanded","aria-level","aria-multiselectable","aria-orientation","aria-readonly","aria-required","aria-rowcount"],superclassRole:["grid","tree"],accessibleNameRequired:false},treeitem:{type:"widget",requiredContext:["group","tree"],allowedAttrs:["aria-checked","aria-expanded","aria-level","aria-posinset","aria-selected","aria-setsize"],superclassRole:["listitem","option"],accessibleNameRequired:true,nameFromContent:true},widget:{type:"abstract",superclassRole:["roletype"]},window:{type:"abstract",superclassRole:["roletype"]}},Uf=Kx,Jx={"doc-abstract":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-acknowledgments":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-afterword":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-appendix":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-backlink":{type:"link",allowedAttrs:["aria-expanded"],nameFromContent:true,superclassRole:["link"]},"doc-biblioentry":{type:"listitem",allowedAttrs:["aria-expanded","aria-level","aria-posinset","aria-setsize"],superclassRole:["listitem"],deprecated:true},"doc-bibliography":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-biblioref":{type:"link",allowedAttrs:["aria-expanded"],nameFromContent:true,superclassRole:["link"]},"doc-chapter":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-colophon":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-conclusion":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-cover":{type:"img",allowedAttrs:["aria-expanded"],superclassRole:["img"]},"doc-credit":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-credits":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-dedication":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-endnote":{type:"listitem",allowedAttrs:["aria-expanded","aria-level","aria-posinset","aria-setsize"],superclassRole:["listitem"],deprecated:true},"doc-endnotes":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-epigraph":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-epilogue":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-errata":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-example":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-footnote":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-foreword":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-glossary":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-glossref":{type:"link",allowedAttrs:["aria-expanded"],nameFromContent:true,superclassRole:["link"]},"doc-index":{type:"navigation",allowedAttrs:["aria-expanded"],superclassRole:["navigation"]},"doc-introduction":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-noteref":{type:"link",allowedAttrs:["aria-expanded"],nameFromContent:true,superclassRole:["link"]},"doc-notice":{type:"note",allowedAttrs:["aria-expanded"],superclassRole:["note"]},"doc-pagebreak":{type:"separator",allowedAttrs:["aria-expanded","aria-orientation"],superclassRole:["separator"],childrenPresentational:true},"doc-pagelist":{type:"navigation",allowedAttrs:["aria-expanded"],superclassRole:["navigation"]},"doc-part":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-preface":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-prologue":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-pullquote":{type:"none",superclassRole:["none"]},"doc-qna":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-subtitle":{type:"sectionhead",allowedAttrs:["aria-expanded"],superclassRole:["sectionhead"]},"doc-tip":{type:"note",allowedAttrs:["aria-expanded"],superclassRole:["note"]},"doc-toc":{type:"navigation",allowedAttrs:["aria-expanded"],superclassRole:["navigation"]}},Zx=Jx,Qx={"graphics-document":{type:"structure",superclassRole:["document"],accessibleNameRequired:true},"graphics-object":{type:"structure",superclassRole:["group"],nameFromContent:true},"graphics-symbol":{type:"structure",superclassRole:["img"],accessibleNameRequired:true,childrenPresentational:true}},eD=Qx,tD={a:{variant:{href:{matches:"[href]",contentTypes:["interactive","phrasing","flow"],allowedRoles:["button","checkbox","menuitem","menuitemcheckbox","menuitemradio","option","radio","switch","tab","treeitem","doc-backlink","doc-biblioref","doc-glossref","doc-noteref"],namingMethods:["subtreeText"]},default:{contentTypes:["phrasing","flow"],allowedRoles:true}}},abbr:{contentTypes:["phrasing","flow"],allowedRoles:true},address:{contentTypes:["flow"],allowedRoles:true},area:{variant:{href:{matches:"[href]",allowedRoles:false},default:{allowedRoles:["button","link"]}},contentTypes:["phrasing","flow"],namingMethods:["altText"]},article:{contentTypes:["sectioning","flow"],allowedRoles:["feed","presentation","none","document","application","main","region"],shadowRoot:true},aside:{contentTypes:["sectioning","flow"],allowedRoles:["feed","note","presentation","none","region","search","doc-dedication","doc-example","doc-footnote","doc-glossary","doc-pullquote","doc-tip"]},audio:{variant:{controls:{matches:"[controls]",contentTypes:["interactive","embedded","phrasing","flow"]},default:{contentTypes:["embedded","phrasing","flow"]}},allowedRoles:["application"],chromiumRole:"Audio"},b:{contentTypes:["phrasing","flow"],allowedRoles:true},base:{allowedRoles:false,noAriaAttrs:true},bdi:{contentTypes:["phrasing","flow"],allowedRoles:true},bdo:{contentTypes:["phrasing","flow"],allowedRoles:true},blockquote:{contentTypes:["flow"],allowedRoles:true,shadowRoot:true},body:{allowedRoles:false,shadowRoot:true},br:{contentTypes:["phrasing","flow"],allowedRoles:["presentation","none"],namingMethods:["titleText","singleSpace"],allowedAriaAttrs:["aria-hidden"]},button:{contentTypes:["interactive","phrasing","flow"],allowedRoles:["checkbox","combobox","gridcell","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","separator","slider","switch","tab","treeitem"],namingMethods:["subtreeText"]},canvas:{allowedRoles:true,contentTypes:["embedded","phrasing","flow"],chromiumRole:"Canvas"},caption:{allowedRoles:false},cite:{contentTypes:["phrasing","flow"],allowedRoles:true},code:{contentTypes:["phrasing","flow"],allowedRoles:true},col:{allowedRoles:false,noAriaAttrs:true},colgroup:{allowedRoles:false,noAriaAttrs:true},data:{contentTypes:["phrasing","flow"],allowedRoles:true},datalist:{contentTypes:["phrasing","flow"],allowedRoles:false,noAriaAttrs:true,implicitAttrs:{"aria-multiselectable":"false"}},dd:{allowedRoles:false},del:{contentTypes:["phrasing","flow"],allowedRoles:true},dfn:{contentTypes:["phrasing","flow"],allowedRoles:true},details:{contentTypes:["interactive","flow"],allowedRoles:false},dialog:{contentTypes:["flow"],allowedRoles:["alertdialog"]},div:{contentTypes:["flow"],allowedRoles:true,shadowRoot:true},dl:{contentTypes:["flow"],allowedRoles:["group","list","presentation","none"],chromiumRole:"DescriptionList"},dt:{allowedRoles:["listitem"]},em:{contentTypes:["phrasing","flow"],allowedRoles:true},embed:{contentTypes:["interactive","embedded","phrasing","flow"],allowedRoles:["application","document","img","presentation","none"],chromiumRole:"EmbeddedObject"},fieldset:{contentTypes:["flow"],allowedRoles:["none","presentation","radiogroup"],namingMethods:["fieldsetLegendText"]},figcaption:{allowedRoles:["group","none","presentation"]},figure:{contentTypes:["flow"],allowedRoles:true,namingMethods:["figureText","titleText"]},footer:{contentTypes:["flow"],allowedRoles:["group","none","presentation","doc-footnote"],shadowRoot:true},form:{contentTypes:["flow"],allowedRoles:["form","search","none","presentation"]},h1:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:true,implicitAttrs:{"aria-level":"1"}},h2:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:true,implicitAttrs:{"aria-level":"2"}},h3:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:true,implicitAttrs:{"aria-level":"3"}},h4:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:true,implicitAttrs:{"aria-level":"4"}},h5:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:true,implicitAttrs:{"aria-level":"5"}},h6:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:true,implicitAttrs:{"aria-level":"6"}},head:{allowedRoles:false,noAriaAttrs:true},header:{contentTypes:["flow"],allowedRoles:["group","none","presentation","doc-footnote"],shadowRoot:true},hgroup:{contentTypes:["heading","flow"],allowedRoles:true},hr:{contentTypes:["flow"],allowedRoles:["none","presentation","doc-pagebreak"],namingMethods:["titleText","singleSpace"]},html:{allowedRoles:false,noAriaAttrs:true},i:{contentTypes:["phrasing","flow"],allowedRoles:true},iframe:{contentTypes:["interactive","embedded","phrasing","flow"],allowedRoles:["application","document","img","none","presentation"],chromiumRole:"Iframe"},img:{variant:{nonEmptyAlt:{matches:[{attributes:{alt:"/.+/"}},{hasAccessibleName:true}],allowedRoles:["button","checkbox","link","math","menuitem","menuitemcheckbox","menuitemradio","meter","option","progressbar","radio","scrollbar","separator","slider","switch","tab","treeitem","doc-cover"]},usemap:{matches:"[usemap]",contentTypes:["interactive","embedded","flow"]},default:{allowedRoles:["presentation","none"],contentTypes:["embedded","flow"]}},namingMethods:["altText"]},input:{variant:{button:{matches:{properties:{type:"button"}},allowedRoles:["checkbox","combobox","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","switch","tab"]},buttonType:{matches:{properties:{type:["button","submit","reset"]}},namingMethods:["valueText","titleText","buttonDefaultText"]},checkboxPressed:{matches:{properties:{type:"checkbox"},attributes:{"aria-pressed":"/.*/"}},allowedRoles:["button","menuitemcheckbox","option","switch"],implicitAttrs:{"aria-checked":"false"}},checkbox:{matches:{properties:{type:"checkbox"},attributes:{"aria-pressed":null}},allowedRoles:["menuitemcheckbox","option","switch"],implicitAttrs:{"aria-checked":"false"}},noRoles:{matches:{properties:{type:["color","date","datetime-local","file","month","number","password","range","reset","submit","time","week"]}},allowedRoles:false},hidden:{matches:{properties:{type:"hidden"}},contentTypes:["flow"],allowedRoles:false,noAriaAttrs:true},image:{matches:{properties:{type:"image"}},allowedRoles:["link","menuitem","menuitemcheckbox","menuitemradio","radio","switch"],namingMethods:["altText","valueText","labelText","titleText","buttonDefaultText"]},radio:{matches:{properties:{type:"radio"}},allowedRoles:["menuitemradio"],implicitAttrs:{"aria-checked":"false"}},textWithList:{matches:{properties:{type:"text"},attributes:{list:"/.*/"}},allowedRoles:false},default:{contentTypes:["interactive","flow"],allowedRoles:["combobox","searchbox","spinbutton"],implicitAttrs:{"aria-valuenow":""},namingMethods:["labelText","placeholderText"]}}},ins:{contentTypes:["phrasing","flow"],allowedRoles:true},kbd:{contentTypes:["phrasing","flow"],allowedRoles:true},label:{contentTypes:["interactive","phrasing","flow"],allowedRoles:false,chromiumRole:"Label"},legend:{allowedRoles:false},li:{allowedRoles:["menuitem","menuitemcheckbox","menuitemradio","option","none","presentation","radio","separator","tab","treeitem","doc-biblioentry","doc-endnote"],implicitAttrs:{"aria-setsize":"1","aria-posinset":"1"}},link:{contentTypes:["phrasing","flow"],allowedRoles:false,noAriaAttrs:true},main:{contentTypes:["flow"],allowedRoles:false,shadowRoot:true},map:{contentTypes:["phrasing","flow"],allowedRoles:false,noAriaAttrs:true},math:{contentTypes:["embedded","phrasing","flow"],allowedRoles:false},mark:{contentTypes:["phrasing","flow"],allowedRoles:true},menu:{contentTypes:["flow"],allowedRoles:["directory","group","listbox","menu","menubar","none","presentation","radiogroup","tablist","toolbar","tree"]},meta:{variant:{itemprop:{matches:"[itemprop]",contentTypes:["phrasing","flow"]}},allowedRoles:false,noAriaAttrs:true},meter:{contentTypes:["phrasing","flow"],allowedRoles:false,chromiumRole:"progressbar"},nav:{contentTypes:["sectioning","flow"],allowedRoles:["doc-index","doc-pagelist","doc-toc","menu","menubar","none","presentation","tablist"],shadowRoot:true},noscript:{contentTypes:["phrasing","flow"],allowedRoles:false,noAriaAttrs:true},object:{variant:{usemap:{matches:"[usemap]",contentTypes:["interactive","embedded","phrasing","flow"]},default:{contentTypes:["embedded","phrasing","flow"]}},allowedRoles:["application","document","img"],chromiumRole:"PluginObject"},ol:{contentTypes:["flow"],allowedRoles:["directory","group","listbox","menu","menubar","none","presentation","radiogroup","tablist","toolbar","tree"]},optgroup:{allowedRoles:false},option:{allowedRoles:false,implicitAttrs:{"aria-selected":"false"}},output:{contentTypes:["phrasing","flow"],allowedRoles:true,namingMethods:["subtreeText"]},p:{contentTypes:["flow"],allowedRoles:true,shadowRoot:true},param:{allowedRoles:false,noAriaAttrs:true},picture:{contentTypes:["phrasing","flow"],allowedRoles:false,noAriaAttrs:true},pre:{contentTypes:["flow"],allowedRoles:true},progress:{contentTypes:["phrasing","flow"],allowedRoles:false,implicitAttrs:{"aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":"0"}},q:{contentTypes:["phrasing","flow"],allowedRoles:true},rp:{allowedRoles:true},rt:{allowedRoles:true},ruby:{contentTypes:["phrasing","flow"],allowedRoles:true},s:{contentTypes:["phrasing","flow"],allowedRoles:true},samp:{contentTypes:["phrasing","flow"],allowedRoles:true},script:{contentTypes:["phrasing","flow"],allowedRoles:false,noAriaAttrs:true},search:{contentTypes:["flow"],allowedRoles:["form","group","none","presentation","region","search"]},section:{contentTypes:["sectioning","flow"],allowedRoles:["alert","alertdialog","application","banner","complementary","contentinfo","dialog","document","feed","group","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"],shadowRoot:true},select:{variant:{combobox:{matches:{attributes:{multiple:null,size:[null,"1"]}},allowedRoles:["menu"]},default:{allowedRoles:false}},contentTypes:["interactive","phrasing","flow"],implicitAttrs:{"aria-valuenow":""},namingMethods:["labelText"]},slot:{contentTypes:["phrasing","flow"],allowedRoles:false,noAriaAttrs:true},small:{contentTypes:["phrasing","flow"],allowedRoles:true},source:{allowedRoles:false,noAriaAttrs:true},span:{contentTypes:["phrasing","flow"],allowedRoles:true,shadowRoot:true},strong:{contentTypes:["phrasing","flow"],allowedRoles:true},style:{allowedRoles:false,noAriaAttrs:true},svg:{contentTypes:["embedded","phrasing","flow"],allowedRoles:true,chromiumRole:"SVGRoot",namingMethods:["svgTitleText"]},sub:{contentTypes:["phrasing","flow"],allowedRoles:true},summary:{allowedRoles:false,namingMethods:["subtreeText"]},sup:{contentTypes:["phrasing","flow"],allowedRoles:true},table:{contentTypes:["flow"],allowedRoles:true,namingMethods:["tableCaptionText","tableSummaryText"]},tbody:{allowedRoles:true},template:{contentTypes:["phrasing","flow"],allowedRoles:false,noAriaAttrs:true},textarea:{contentTypes:["interactive","phrasing","flow"],allowedRoles:false,implicitAttrs:{"aria-valuenow":"","aria-multiline":"true"},namingMethods:["labelText","placeholderText"]},tfoot:{allowedRoles:true},thead:{allowedRoles:true},time:{contentTypes:["phrasing","flow"],allowedRoles:true},title:{allowedRoles:false,noAriaAttrs:true},td:{allowedRoles:true},th:{allowedRoles:true},tr:{allowedRoles:true},track:{allowedRoles:false,noAriaAttrs:true},u:{contentTypes:["phrasing","flow"],allowedRoles:true},ul:{contentTypes:["flow"],allowedRoles:["directory","group","listbox","menu","menubar","none","presentation","radiogroup","tablist","toolbar","tree"]},var:{contentTypes:["phrasing","flow"],allowedRoles:true},video:{variant:{controls:{matches:"[controls]",contentTypes:["interactive","embedded","phrasing","flow"]},default:{contentTypes:["embedded","phrasing","flow"]}},allowedRoles:["application"],chromiumRole:"video"},wbr:{contentTypes:["phrasing","flow"],allowedRoles:["presentation","none"],allowedAriaAttrs:["aria-hidden"]}},rD=tD,nD={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},aD=nD,Xf={ariaAttrs:Wf,ariaRoles:ve({},Uf,Zx,eD),htmlElms:rD,cssColors:aD},On=ve({},Xf);function iD(e){Object.keys(On).forEach(function(t){e[t]&&(On[t]=Ps(On[t],e[t]));});}function oD(){Object.keys(On).forEach(function(e){On[e]=Xf[e];});}var it=On;function sD(e){var t=it.ariaRoles[e];return t?!!t.unsupported:false}var el=sD;function lD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.allowAbstract,n=t.flagUnsupported,a=n===void 0?false:n,i=it.ariaRoles[e],o=el(e);return !i||a&&o?false:r?true:i.type!=="abstract"}var Sa=lD;function uD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.fallback,n=t.abstracts,a=t.dpub;if(e=e instanceof Mt?e:Ke(e),e.props.nodeType!==1)return null;var i=(e.attr("role")||"").trim().toLowerCase(),o=r?jt(i):[i],s=o.find(function(l){return !a&&l.substr(0,4)==="doc-"?false:Sa(l,{allowAbstract:n})});return s||null}var Qe=uD;function cD(e){return Object.keys(it.htmlElms).filter(function(t){var r=it.htmlElms[t];return r.contentTypes?r.contentTypes.includes(e):r.variant&&r.variant.default&&r.variant.default.contentTypes?r.variant.default.contentTypes.includes(e):false})}var tl=cD;function dD(){return Ue.get("globalAriaAttrs",function(){return Object.keys(it.ariaAttrs).filter(function(e){return it.ariaAttrs[e].global})})}var tn=dD;function fD(e){for(var t=[],r=e.rows,n=0,a=r.length;n<a;n++){var i=r[n].cells;t[n]=t[n]||[];for(var o=0,s=0,l=i.length;s<l;s++)for(var u=0;u<i[s].colSpan;u++){for(var c=i[s].getAttribute("rowspan"),f=parseInt(c)===0||i[s].rowspan===0?r.length:i[s].rowSpan,g=0;g<f;g++){for(t[n+g]=t[n+g]||[];t[n+g][o];)o++;t[n+g][o]=i[s];}o++;}}return t}var Hr=ht(fD);function pD(e,t){var r,n;for(t||(t=Hr(Mn(e,"table"))),r=0;r<t.length;r++)if(t[r]&&(n=t[r].indexOf(e),n!==-1))return {x:n,y:r}}var Qi=ht(pD);function rl(e){var t=nt(e),r=t.vNode,n=t.domNode,a=r.attr("scope"),i=Qe(r);if(!["td","th"].includes(r.props.nodeName))throw new TypeError("Expected TD or TH element");if(i==="columnheader")return "col";if(i==="rowheader")return "row";if(a==="col"||a==="row")return a;if(r.props.nodeName!=="th")return false;if(!r.actualNode)return "auto";var o=Hr(Mn(n,"table")),s=Qi(n,o),l=o[s.y].every(function(c){return c.nodeName.toUpperCase()==="TH"});if(l)return "col";var u=o.map(function(c){return c[s.x]}).every(function(c){return c&&c.nodeName.toUpperCase()==="TH"});return u?"row":"auto"}function mD(e){return ["col","auto"].indexOf(rl(e))!==-1}var Pn=mD;function hD(e){return ["row","auto"].includes(rl(e))}var Nn=hD;function gD(e){return e?e.replace(/\r\n/g,`
|
|
373
|
+
`).replace(/\u00A0/g," ").replace(/[\s]{2,}/g," ").trim():""}var Ve=gD,Yf=function(){return Ue.get("sectioningContentSelector",function(){return tl("sectioning").map(function(t){return "".concat(t,":not([role])")}).join(", ")+" , [role=article], [role=complementary], [role=navigation], [role=region]"})},Kf=function(){return Ue.get("sectioningContentPlusMainSelector",function(){return Yf()+" , main:not([role]), [role=main]"})};function nl(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.checkTitle,n=r===void 0?false:r;return !!(Ve(Ea(e))||Ve(Ca(e))||n&&e?.props.nodeType===1&&Ve(e.attr("title")))}var vD={a:function(t){return t.hasAttr("href")?"link":null},area:function(t){return t.hasAttr("href")?"link":null},article:"article",aside:function(t){return Jt(t.parent,Yf())&&!nl(t,{checkTitle:true})?null:"complementary"},body:"document",button:"button",datalist:"listbox",dd:"definition",dfn:"term",details:"group",dialog:"dialog",dt:"term",fieldset:"group",figure:"figure",footer:function(t){var r=Jt(t,Kf());return r?null:"contentinfo"},form:function(t){return nl(t)?"form":null},h1:"heading",h2:"heading",h3:"heading",h4:"heading",h5:"heading",h6:"heading",header:function(t){var r=Jt(t,Kf());return r?null:"banner"},hr:"separator",img:function(t){var r=t.hasAttr("alt")&&!t.attr("alt"),n=tn().find(function(a){return t.hasAttr(a)});return r&&!n&&!St(t)?"presentation":"img"},input:function(t){var r;if(t.hasAttr("list")){var n=_r(t.actualNode,"list").filter(function(a){return !!a})[0];r=n&&n.nodeName.toLowerCase()==="datalist";}switch(t.props.type){case "checkbox":return "checkbox";case "number":return "spinbutton";case "radio":return "radio";case "range":return "slider";case "search":return r?"combobox":"searchbox";case "button":case "image":case "reset":case "submit":return "button";case "text":case "tel":case "url":case "email":case "":return r?"combobox":"textbox";default:return "textbox"}},li:"listitem",main:"main",math:"math",menu:"list",meter:"meter",nav:"navigation",ol:"list",optgroup:"group",option:"option",output:"status",progress:"progressbar",search:"search",section:function(t){return nl(t)?"region":null},select:function(t){return t.hasAttr("multiple")||parseInt(t.attr("size"))>1?"listbox":"combobox"},summary:"button",table:"table",tbody:"rowgroup",td:function(t){var r=Jt(t,"table"),n=Qe(r);return ["grid","treegrid"].includes(n)?"gridcell":"cell"},textarea:"textbox",tfoot:"rowgroup",th:function(t){if(Pn(t))return "columnheader";if(Nn(t))return "rowheader"},thead:"rowgroup",tr:"row",ul:"list"},al=vD;function bD(e,t){var r=de(t);if(Array.isArray(t)&&typeof e<"u")return t.includes(e);if(r==="function")return !!t(e);if(e!=null){if(t instanceof RegExp)return t.test(e);if(/^\/.*\/$/.test(t)){var n=t.substring(1,t.length-1);return new RegExp(n).test(e)}}return t===e}var bn=bD;function yD(e,t){return bn(!!Pt(e),t)}var Jf=yD;function wD(e,t){var r=de(t);if(r!=="object"||Array.isArray(t)||t instanceof RegExp)throw new Error("Expect matcher to be an object");return Object.keys(t).every(function(n){return bn(e(n),t[n])})}var il=wD;function xD(e,t){return e=nt(e).vNode,il(function(r){return e.attr(r)},t)}var Zf=xD;function Qf(e,t){return !!t(e)}function DD(e,t){return bn(Qe(e),t)}var ep=DD;function AD(e,t){return bn(Er(e),t)}var tp=AD;function _D(e,t){return e=nt(e).vNode,bn(e.props.nodeName,t)}var rp=_D;function ED(e,t){return e=nt(e).vNode,il(function(r){return e.props[r]},t)}var np=ED;function CD(e,t){return bn(Ye(e),t)}var ap=CD,ip={hasAccessibleName:Jf,attributes:Zf,condition:Qf,explicitRole:ep,implicitRole:tp,nodeName:rp,properties:np,semanticRole:ap};function op(e,t){return e=nt(e).vNode,Array.isArray(t)?t.some(function(r){return op(e,r)}):typeof t=="string"?Es(e,t):Object.keys(t).every(function(r){if(!ip[r])throw new Error('Unknown matcher type "'.concat(r,'"'));var n=ip[r],a=t[r];return n(e,a)})}var sp=op;function SD(e,t){return sp(e,t)}var Qt=SD;Qt.hasAccessibleName=Jf,Qt.attributes=Zf,Qt.condition=Qf,Qt.explicitRole=ep,Qt.fromDefinition=sp,Qt.fromFunction=il,Qt.fromPrimative=bn,Qt.implicitRole=tp,Qt.nodeName=rp,Qt.properties=np,Qt.semanticRole=ap;var ka=Qt;function kD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.noMatchAccessibleName,n=r===void 0?false:r,a=it.htmlElms[e.props.nodeName];if(!a)return {};if(!a.variant)return a;var i=a.variant,o=J(a,O);for(var s in i)if(!(!i.hasOwnProperty(s)||s==="default")){for(var l=i[s],u=l.matches,c=J(l,I),f=Array.isArray(u)?u:[u],g=0;g<f.length&&n;g++)if(f[g].hasOwnProperty("hasAccessibleName"))return a;if(ka(e,u))for(var w in c)c.hasOwnProperty(w)&&(o[w]=c[w]);}for(var k in i.default)i.default.hasOwnProperty(k)&&typeof o[k]>"u"&&(o[k]=i.default[k]);return o}var rn=kD;function TD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.chromium,n=e instanceof Mt?e:Ke(e);if(e=n.actualNode,!n)throw new ReferenceError("Cannot get implicit role of a node outside the current scope.");var a=n.props.nodeName,i=al[a];if(!i&&r){var o=rn(n),s=o.chromiumRole;return s||null}return typeof i=="function"?i(n):i||null}var Er=TD,RD={td:["tr"],th:["tr"],tr:["thead","tbody","tfoot","table"],thead:["table"],tbody:["table"],tfoot:["table"],li:["ol","ul"],dt:["dl","div"],dd:["dl","div"],div:["dl"]};function lp(e,t){var r=RD[e.props.nodeName];if(!r)return null;if(!e.parent){if(!e.actualNode)return null;throw new ReferenceError("Cannot determine role presentational inheritance of a required parent outside the current scope.")}if(!r.includes(e.parent.props.nodeName))return null;var n=Qe(e.parent,t);return ["none","presentation"].includes(n)&&!cp(e.parent)?n:n?null:lp(e.parent,t)}function up(e,t){var r=t.chromium,n=J(t,H),a=Er(e,{chromium:r});if(!a)return null;var i=lp(e,n);return i||a}function cp(e){var t=tn().some(function(r){return e.hasAttr(r)});return t||St(e)}function FD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.noImplicit,n=J(t,M),a=nt(e),i=a.vNode;if(i.props.nodeType!==1)return null;var o=Qe(i,n);return o?["presentation","none"].includes(o)&&cp(i)?r?null:up(i,n):o:r?null:up(i,n)}function ID(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.noPresentational,n=J(t,z),a=FD(e,n);return r&&["presentation","none"].includes(a)?null:a}var Ye=ID,LD=["iframe"];function MD(e){var t=nt(e),r=t.vNode;return r.props.nodeType!==1||!e.hasAttr("title")||!Qt(r,LD)&&["none","presentation"].includes(Ye(r))?"":r.attr("title")}var eo=MD;function OD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.strict;if(e=e instanceof Mt?e:Ke(e),e.props.nodeType!==1)return false;var n=Ye(e),a=it.ariaRoles[n];return a&&a.nameFromContent?true:r?false:!a||["presentation","none"].includes(n)}var dp=OD;function PD(e){var t=e.actualNode,r=e.children;if(!r)throw new Error("getOwnedVirtual requires a virtual node");if(e.hasAttr("aria-owns")){var n=_r(t,"aria-owns").filter(function(o){return !!o}).map(function(o){return m.utils.getNodeFromTree(o)}),a=n.filter(function(o,s){return n.indexOf(o)===s}),i=r.filter(function(o){return !a.includes(o)});return [].concat(De(i),De(a))}return De(r)}var Ta=PD,fp={accessibleNameFromFieldValue:["progressbar"]};function wt(e){return e=nt(e).vNode,ol(e)}var ol=ht(function(t,r){return mf(t)||Ji(t,{skipAncestors:true,isAncestor:r})?false:t.actualNode&&t.props.nodeName==="area"?!Hs(t,ol):en(t,{skipAncestors:true,isAncestor:r})?false:t.parent?ol(t.parent,true):true});function pp(e,t,r){var n=nt(e),a=n.vNode,i=t?wt:Zt,o=!e.actualNode||e.actualNode&&i(e),s=a.children.map(function(l){var u=l.props,c=u.nodeType,f=u.nodeValue;if(c===3){if(f&&o)return f}else if(!r)return pp(l,t)}).join("");return Ve(s)}var Cr=pp,ND=["button","checkbox","color","file","hidden","image","password","radio","reset","submit"];function qD(e){e=e instanceof Mt?e:Ke(e);var t=e.props.nodeName;return t==="textarea"||t==="input"&&!ND.includes((e.attr("type")||"").toLowerCase())}var mp=qD;function BD(e){e=e instanceof Mt?e:Ke(e);var t=e.props.nodeName;return t==="select"}var hp=BD;function HD(e){var t=Qe(e);return t==="textbox"}var gp=HD;function VD(e){var t=Qe(e);return t==="listbox"}var vp=VD;function jD(e){var t=Qe(e);return t==="combobox"}var bp=jD,$D=["progressbar","scrollbar","slider","spinbutton"];function zD(e){var t=Qe(e);return $D.includes(t)}var yp=zD,wp=["textbox","progressbar","scrollbar","slider","spinbutton","combobox","listbox"],sl={nativeTextboxValue:WD,nativeSelectValue:UD,ariaTextboxValue:XD,ariaListboxValue:xp,ariaComboboxValue:YD,ariaRangeValue:KD};function GD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=e.actualNode,n=fp.accessibleNameFromFieldValue||[],a=Ye(e);if(t.startNode===e||!wp.includes(a)||n.includes(a))return "";var i=Object.keys(sl).map(function(s){return sl[s]}),o=i.reduce(function(s,l){return s||l(e,t)},"");return t.debug&&mn(o||"{empty-value}",r,t),o}function WD(e){var t=nt(e),r=t.vNode;return mp(r)&&r.props.value||""}function UD(e){var t=nt(e),r=t.vNode;if(!hp(r))return "";var n=tr(r,"option"),a=n.filter(function(i){return i.props.selected});return a.length||a.push(n[0]),a.map(function(i){return Cr(i)}).join(" ")||""}function XD(e){var t=nt(e),r=t.vNode,n=t.domNode;return gp(r)?!n||n&&!en(n)?Cr(r,true):n.textContent:""}function xp(e,t){var r=nt(e),n=r.vNode;if(!vp(n))return "";var a=Ta(n).filter(function(i){return Ye(i)==="option"&&i.attr("aria-selected")==="true"});return a.length===0?"":Pt(a[0],t)}function YD(e,t){var r=nt(e),n=r.vNode;if(!bp(n))return "";var a=Ta(n).filter(function(i){return Ye(i)==="listbox"})[0];return a?xp(a,t):""}function KD(e){var t=nt(e),r=t.vNode;if(!yp(r)||!r.hasAttr("aria-valuenow"))return "";var n=+r.attr("aria-valuenow");return isNaN(n)?"0":String(n)}var Dp=GD;function JD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=Pt.alreadyProcessed;t.startNode=t.startNode||e;var n=t,a=n.strict,i=n.inControlContext,o=n.inLabelledByContext,s=Ye(e),l=rn(e,{noMatchAccessibleName:true}),u=l.contentTypes;if(r(e,t)||e.props.nodeType!==1||u!=null&&u.includes("embedded")||wp.includes(s)||!t.subtreeDescendant&&!t.inLabelledByContext&&!dp(e,{strict:a}))return "";if(!a){var c=!i&&!o;t=ve({subtreeDescendant:c},t);}return Ta(e).reduce(function(f,g){return QD(f,g,t)},"")}var ZD=tl("phrasing").concat(["#text"]);function QD(e,t,r){var n=t.props.nodeName,a=Pt(t,r);return a?(ZD.includes(n)||(a[0]!==" "&&(a+=" "),e&&e[e.length-1]!==" "&&(a=" "+a)),e+a):e}var nn=JD;function e2(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=Pt.alreadyProcessed;if(t.inControlContext||t.inLabelledByContext||r(e,t))return "";t.startNode||(t.startNode=e);var n=ve({inControlContext:true},t),a=t2(e),i=Jt(e,"label"),o;return i?(o=[].concat(De(a),[i.actualNode]),o.sort(Pl)):o=a,o.map(function(s){return vn(s,n)}).filter(function(s){return s!==""}).join(" ")}function t2(e){if(!e.attr("id"))return [];if(!e.actualNode)throw new TypeError("Cannot resolve explicit label reference for non-DOM nodes");return lf({elm:"label",attr:"for",value:e.attr("id"),context:e.actualNode})}var ll=e2,r2={submit:"Submit",image:"Submit",reset:"Reset",button:""},n2={valueText:function(t){return t.props.value||""},buttonDefaultText:function(t){return r2[t.props.type]||""},tableCaptionText:to.bind(null,"caption"),figureText:to.bind(null,"figcaption"),svgTitleText:to.bind(null,"title"),fieldsetLegendText:to.bind(null,"legend"),altText:ul.bind(null,"alt"),tableSummaryText:ul.bind(null,"summary"),titleText:eo,subtreeText:nn,labelText:ll,singleSpace:function(){return " "},placeholderText:ul.bind(null,"placeholder")};function ul(e,t){return t.attr(e)||""}function to(e,t,r){var n=t.actualNode;e=e.toLowerCase();var a=[e,n.nodeName.toLowerCase()].join(","),i=n.querySelector(a);return !i||i.nodeName.toLowerCase()!==e?"":vn(i,r)}var Ap=n2;function _p(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=e.actualNode;if(e.props.nodeType!==1||["presentation","none"].includes(Ye(e)))return "";var n=a2(e),a=n.reduce(function(i,o){return i||o(e,t)},"");return t.debug&&m.log(a||"{empty-value}",r,t),a}function a2(e){var t=rn(e,{noMatchAccessibleName:true}),r=t.namingMethods||[];return r.map(function(n){return Ap[n]})}function Ep(){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}function Cp(){return /[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&\xa3\xa2\xa5\xa7\u20ac()*+,\-.\/:;<=>?@\[\]^_`{|}~\xb1]/g}function Sp(){return /[\uDB80-\uDBBF][\uDC00-\uDFFF]/g}function kp(){return /[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC38]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/g}function i2(e,t){var r=t.emoji,n=t.nonBmp,a=t.punctuations,i=false;return r&&(i||(i=Jo().test(e))),n&&(i||(i=Ep().test(e)||Sp().test(e)||kp().test(e))),a&&(i||(i=Cp().test(e))),i}var cl=i2;function dl(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:.15,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:3,n=e.actualNode.nodeValue.trim();if(!Ve(n)||cl(n,{emoji:true,nonBmp:true}))return false;var a=Ue.get("canvasContext",function(){return v.createElement("canvas").getContext("2d",{willReadFrequently:true})}),i=a.canvas,o=Ue.get("fonts",function(){return {}}),s=d.getComputedStyle(e.parent.actualNode),l=s.getPropertyValue("font-family");o[l]||(o[l]={occurrences:0,numLigatures:0});var u=o[l];if(u.occurrences>=r){if(u.numLigatures/u.occurrences===1)return true;if(u.numLigatures===0)return false}u.occurrences++;var c=30,f="".concat(c,"px ").concat(l);a.font=f;var g=n.charAt(0),w=a.measureText(g).width;if(w===0)return u.numLigatures++,true;if(w<30){var k=30/w;w*=k,c*=k,f="".concat(c,"px ").concat(l);}i.width=w,i.height=c,a.font=f,a.textAlign="left",a.textBaseline="top",a.fillText(g,0,0);var P=new Uint32Array(a.getImageData(0,0,w,c).data.buffer);if(!P.some(function(re){return re}))return u.numLigatures++,true;a.clearRect(0,0,w,c),a.fillText(n,0,0);var j=new Uint32Array(a.getImageData(0,0,w,c).data.buffer),$=P.reduce(function(re,se,fe){return se===0&&j[fe]===0||se!==0&&j[fe]!==0?re:++re},0),G=n.split("").reduce(function(re,se){return re+a.measureText(se).width},0),Y=a.measureText(n).width,K=$/P.length,Z=1-Y/G;return K>=t&&Z>=t?(u.numLigatures++,true):false}function Pt(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(t=u2(e,t),s2(e,t)||l2(e,t))return "";var r=[Ea,Ca,_p,Dp,nn,o2,eo],n=r.reduce(function(a,i){return t.startNode===e&&(a=Ve(a)),a!==""?a:i(e,t)},"");return t.debug&&m.log(n||"{empty-value}",e.actualNode,t),n}function o2(e){return e.props.nodeType!==3?"":e.props.nodeValue}function s2(e,t){return !e||e.props.nodeType!==1||t.includeHidden?false:!wt(e)}function l2(e,t){var r,n=t.ignoreIconLigature,a=t.pixelThreshold,i=(r=t.occurrenceThreshold)!==null&&r!==void 0?r:t.occuranceThreshold;return e.props.nodeType!==3||!n?false:dl(e,a,i)}function u2(e,t){return t.startNode||(t=ve({startNode:e},t)),e.props.nodeType===1&&t.inLabelledByContext&&t.includeHidden===void 0&&(t=ve({includeHidden:!wt(e)},t)),t}Pt.alreadyProcessed=function(t,r){return r.processed=r.processed||[],r.processed.includes(t)?true:(r.processed.push(t),false)};function c2(e,t){var r=t.emoji,n=t.nonBmp,a=t.punctuations;return r&&(e=e.replace(Jo(),"")),n&&(e=e.replace(Ep(),"").replace(Sp(),"").replace(kp(),"")),a&&(e=e.replace(Cp(),"")),e}var Ra=c2;function d2(e){return f2(e)||p2(e)||m2(e)||h2(e)?0:1}function f2(e){return Ve(e).length===0}function p2(e){return e.length===1&&e.match(/\D/)}function m2(e){var t=["aa","abc"];return t.includes(e.toLowerCase())}function h2(e){var t=Ra(e,{emoji:true,nonBmp:true,punctuations:true});return !Ve(t)}var fl=d2,yn={stateTerms:["on","off"],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"],qualifiers:["home","work","mobile","fax","pager"],qualifiedTerms:["tel","tel-country-code","tel-national","tel-area-code","tel-local","tel-local-prefix","tel-local-suffix","tel-extension","email","impp"],locations:["billing","shipping"]};function g2(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.looseTyped,n=r===void 0?false:r,a=t.stateTerms,i=a===void 0?[]:a,o=t.locations,s=o===void 0?[]:o,l=t.qualifiers,u=l===void 0?[]:l,c=t.standaloneTerms,f=c===void 0?[]:c,g=t.qualifiedTerms,w=g===void 0?[]:g,k=t.ignoredValues,P=k===void 0?[]:k;if(e=e.toLowerCase().trim(),i=i.concat(yn.stateTerms),i.includes(e)||e==="")return true;u=u.concat(yn.qualifiers),s=s.concat(yn.locations),f=f.concat(yn.standaloneTerms),w=w.concat(yn.qualifiedTerms);var j=e.split(/\s+/g);if(j[j.length-1]==="webauthn"&&(j.pop(),j.length===0)||!n&&(j[0].length>8&&j[0].substr(0,8)==="section-"&&j.shift(),s.includes(j[0])&&j.shift(),u.includes(j[0])&&(j.shift(),f=[]),j.length!==1))return false;var $=j[j.length-1];if(!P.includes($))return f.includes($)||w.includes($)}var Tp=g2;function v2(e){var t,r;return e.attr("aria-labelledby")&&(t=_r(e.actualNode,"aria-labelledby"),r=t.map(function(n){var a=Ke(n);return a?Cr(a):""}).join(" ").trim(),r)||(r=e.attr("aria-label"),r&&(r=Ve(r),r))?r:null}var ro=v2;function b2(e,t,r){return e=Ke(e),Cr(e,t,r)}var Rp=b2;function y2(e){var t,r,n;if(r=ro(e),r)return r;if(e.attr("id")){if(!e.actualNode)throw new TypeError("Cannot resolve explicit label reference for non-DOM nodes");var a=At(e.attr("id"));if(n=qt(e.actualNode),t=n.querySelector('label[for="'+a+'"]'),r=t&&Rp(t,true),r)return r}return t=Jt(e,"label"),r=t&&Cr(t,true),r||null}var no=y2;function w2(e){return e=Ke(e),no(e)}var x2=w2,D2=[{matches:[{nodeName:"textarea"},{nodeName:"input",properties:{type:["text","password","search","tel","email","url"]}}],namingMethods:"labelText"},{matches:{nodeName:"input",properties:{type:["button","submit","reset"]}},namingMethods:["valueText","titleText","buttonDefaultText"]},{matches:{nodeName:"input",properties:{type:"image"}},namingMethods:["altText","valueText","labelText","titleText","buttonDefaultText"]},{matches:"button",namingMethods:"subtreeText"},{matches:"fieldset",namingMethods:"fieldsetLegendText"},{matches:"OUTPUT",namingMethods:"subtreeText"},{matches:[{nodeName:"select"},{nodeName:"input",properties:{type:/^(?!text|password|search|tel|email|url|button|submit|reset)/}}],namingMethods:"labelText"},{matches:"summary",namingMethods:"subtreeText"},{matches:"figure",namingMethods:["figureText","titleText"]},{matches:"img",namingMethods:"altText"},{matches:"table",namingMethods:["tableCaptionText","tableSummaryText"]},{matches:["hr","br"],namingMethods:["titleText","singleSpace"]}],A2=D2;function Fp(e){var t=Zt(e),r=[];return e.children.forEach(function(n){n.actualNode.nodeType===3?t&&r.push(n):r=r.concat(Fp(n));}),r}var _2=Fp,E2=ht(function(t){var r=Ke(t),n=r.boundingClientRect,a=[],i=xa(r);return t.childNodes.forEach(function(o){if(!(o.nodeType!==3||Ve(o.nodeValue)==="")){var s=C2(o);S2(s,n)||a.push.apply(a,De(Ip(s,i)));}}),a.length?a:Ip([n],i)}),pl=E2;function C2(e){var t=v.createRange();return t.selectNodeContents(e),Array.from(t.getClientRects())}function S2(e,t){return e.some(function(r){var n=Da(r);return !Wi(n,t)})}function Ip(e,t){var r=[];return e.forEach(function(n){if(!(n.width<1||n.height<1)){var a=t.reduce(function(i,o){return i&&Ui(i,o.boundingClientRect)},n);a&&r.push(a);}}),r}function k2(e){var t=Yi(e);if(!t)return [];var r=pl(e);return r.map(function(n){return Zs(t,n)})}var ml=k2,T2=["checkbox","img","meter","progressbar","scrollbar","radio","slider","spinbutton","textbox"];function R2(e){var t=nt(e),r=t.vNode,n=m.commons.aria.getExplicitRole(r);if(n)return T2.indexOf(n)!==-1;switch(r.props.nodeName){case "img":case "iframe":case "object":case "video":case "audio":case "canvas":case "svg":case "math":case "button":case "select":case "textarea":case "keygen":case "progress":case "meter":return true;case "input":return r.props.type!=="hidden";default:return false}}var hl=R2,F2=["head","title","template","script","style","iframe","object","video","audio","noscript"];function ao(e){return F2.includes(e.props.nodeName)?false:e.children.some(function(t){var r=t.props;return r.nodeType===3&&r.nodeValue.trim()})}function Lp(e,t,r){return ao(e)||hl(e.actualNode)||!r&&!!ro(e)||!t&&e.children.some(function(n){return n.actualNode.nodeType===1&&Lp(n)})}var Fa=Lp;function I2(e,t,r){return e=Ke(e),Fa(e,t,r)}var io=I2;function gl(e){return typeof e.children>"u"||ao(e)?true:e.props.nodeType===1&&hl(e)?!!m.commons.text.accessibleTextVirtual(e):e.children.some(function(t){return !t.attr("lang")&&gl(t)&&!en(t)})}function L2(e){var t=kr(e.getAttribute("tabindex"));return t>-1&&St(e)&&!Qs(e)}var Mp=L2;function Op(e,t){var r=nt(e),n=r.vNode,a=r.domNode;return n?(n._isHiddenWithCSS===void 0&&(n._isHiddenWithCSS=Pp(a,t)),n._isHiddenWithCSS):Pp(a,t)}function Pp(e,t){if(e.nodeType===9||(e.nodeType===11&&(e=e.host),["STYLE","SCRIPT"].includes(e.nodeName.toUpperCase())))return false;var r=d.getComputedStyle(e,null);if(!r)throw new Error("Style does not exist for the given element.");var n=r.getPropertyValue("display");if(n==="none")return true;var a=["hidden","collapse"],i=r.getPropertyValue("visibility");if(a.includes(i)&&!t||a.includes(i)&&t&&a.includes(t))return true;var o=Ot(e);return o&&!a.includes(i)?Op(o,i):false}var M2=Op;function O2(e){var t=e.doctype;return t===null?false:t.name==="html"&&!t.publicId&&!t.systemId}var Np=O2;function P2(e){var t;(e instanceof Mt||(t=d)!==null&&t!==void 0&&t.Node&&e instanceof d.Node)&&(e=m.commons.aria.getRole(e));var r=it.ariaRoles[e];return r?.type||null}var yr=P2,N2=["block","list-item","table","flex","grid"],q2=["inline-block","inline-flex","inline-grid"];function B2(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.noLengthCompare,n=t.includeInlineBlock,a=n===void 0?false:n,i=nt(e),o=i.vNode,s=i.domNode;if(bl(s)||!a&&H2(o))return false;var l=V2(s),u="",c="",f=0;return qp(l,function(g){if(g===l.actualNode)return true;if(f===2)return false;if(g.nodeType===3&&(u+=g.nodeValue),g.nodeType===1){var w=(g.nodeName||"").toUpperCase();g===s&&(f=1);var k=bl(g);if((k||["BR","HR"].includes(w))&&(f===0?(u="",c=""):f=2),k||g.style.display==="none"||g.style.overflow==="hidden"||!["",null,"none"].includes(g.style.float)||!["",null,"relative"].includes(g.style.position))return false;if(yr(g)==="widget")return c+=g.textContent,false}}),u=Ve(u),r?u.length!==0:(c=Ve(c),u.length>c.length)}var vl=B2;function bl(e){var t=nt(e),r=t.vNode,n=r.getComputedStylePropertyValue("display");return N2.includes(n)||n.substr(0,6)==="table-"}function H2(e){var t=e.getComputedStylePropertyValue("display");return q2.includes(t)}function qp(e,t){t(e.actualNode)!==false&&e.children.forEach(function(r){return qp(r,t)});}function V2(e){for(var t=Ot(e);t&&!bl(t);)t=Ot(t);return Ke(t)}function j2(e){e=e||{};var t=e.modalPercent||.75;if(Ue.get("isModalOpen"))return Ue.get("isModalOpen");var r=Tr(m._tree[0],"dialog, [role=dialog], [aria-modal=true]",Zt);if(r.length)return Ue.set("isModalOpen",true),true;for(var n=$i(d),a=n.width*t,i=n.height*t,o=(n.width-a)/2,s=(n.height-i)/2,l=[{x:o,y:s},{x:n.width-o,y:s},{x:n.width/2,y:n.height/2},{x:o,y:n.height-s},{x:n.width-o,y:n.height-s}],u=l.map(function(w){return Array.from(v.elementsFromPoint(w.x,w.y))}),c=function(){var k=u[g].find(function(P){var j=d.getComputedStyle(P);return parseInt(j.width,10)>=a&&parseInt(j.height,10)>=i&&j.getPropertyValue("pointer-events")!=="none"&&(j.position==="absolute"||j.position==="fixed")});if(k&&u.every(function(P){return P.includes(k)}))return Ue.set("isModalOpen",true),{v:true}},f,g=0;g<u.length;g++)if(f=c(),f)return f.v;Ue.set("isModalOpen",void 0);}var Ia=j2;function Bp(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2,r=e.ownerDocument.createRange();r.setStart(e,0),r.setEnd(e,e.childNodes.length);var n=0,a=0,i=ot(r.getClientRects()),o;try{for(i.s();!(o=i.n()).done;){var s=o.value;if(!(s.height<=t))if(n>s.top+t)n=Math.max(n,s.bottom);else if(a===0)n=s.bottom,a++;else return !0}}catch(l){i.e(l);}finally{i.f();}return false}function $2(e){return e instanceof d.Node}var z2=$2,yl="color.incompleteData",G2={set:function(t,r){if(typeof t!="string")throw new Error("Incomplete data: key must be a string");var n=Ue.get(yl,function(){return {}});return r&&(n[t]=r),n[t]},get:function(t){var r=Ue.get(yl);return r?.[t]},clear:function(){Ue.set(yl,{});}},gt=G2;function W2(e,t){var r=["IMG","CANVAS","OBJECT","IFRAME","VIDEO","SVG"],n=e.nodeName.toUpperCase();if(r.includes(n))return gt.set("bgColor","imgNode"),true;t=t||d.getComputedStyle(e);var a=t.getPropertyValue("background-image"),i=a!=="none";if(i){var o=/gradient/.test(a);gt.set("bgColor",o?"bgGradient":"bgImage");}return i}var oo=W2,U2=/^#[0-9a-f]{3,8}$/i,X2=/hsl\(\s*([-\d.]+)(rad|turn)/,La=(We=new WeakMap,tt=new WeakMap,st=new WeakMap,mt=new WeakMap,Je=new WeakMap,qe=new WeakMap,Xt=new WeakSet,(function(){function e(t,r,n){var a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(rr(this,e),Za(this,Xt),Ft(this,We,void 0),Ft(this,tt,void 0),Ft(this,st,void 0),Ft(this,mt,void 0),Ft(this,Je,void 0),Ft(this,qe,void 0),t instanceof La){var i=t.r,o=t.g,s=t.b;this.r=i,this.g=o,this.b=s,this.alpha=t.alpha;return}this.red=t,this.green=r,this.blue=n,this.alpha=a;}return zt(e,[{key:"r",get:function(){return $t(We,this)},set:function(r){Lt(We,this,r),Lt(mt,this,Math.round(qn(r,0,1)*255));}},{key:"g",get:function(){return $t(tt,this)},set:function(r){Lt(tt,this,r),Lt(Je,this,Math.round(qn(r,0,1)*255));}},{key:"b",get:function(){return $t(st,this)},set:function(r){Lt(st,this,r),Lt(qe,this,Math.round(qn(r,0,1)*255));}},{key:"red",get:function(){return $t(mt,this)},set:function(r){Lt(We,this,r/255),Lt(mt,this,qn(r,0,255));}},{key:"green",get:function(){return $t(Je,this)},set:function(r){Lt(tt,this,r/255),Lt(Je,this,qn(r,0,255));}},{key:"blue",get:function(){return $t(qe,this)},set:function(r){Lt(st,this,r/255),Lt(qe,this,qn(r,0,255));}},{key:"toHexString",value:function(){var r=Math.round(this.red).toString(16),n=Math.round(this.green).toString(16),a=Math.round(this.blue).toString(16);return "#"+(this.red>15.5?r:"0"+r)+(this.green>15.5?n:"0"+n)+(this.blue>15.5?a:"0"+a)}},{key:"toJSON",value:function(){var r=this.red,n=this.green,a=this.blue,i=this.alpha;return {red:r,green:n,blue:a,alpha:i}}},{key:"parseString",value:function(r){r=r.replace(X2,function(i,o,s){var l=o+s;switch(s){case "rad":return i.replace(l,K2(o));case "turn":return i.replace(l,J2(o))}});try{var n;"Prototype"in d&&"Version"in d.Prototype&&(n=Array.from,Array.from=Rd.default);var a=new ft(r).toGamut({space:"srgb",method:"clip"}).to("srgb");n&&(Array.from=n,n=null),this.r=a.r,this.g=a.g,this.b=a.b,this.alpha=+a.alpha;}catch{throw gt.set("colorParse",r),new Error('Unable to parse color "'.concat(r,'"'))}return this}},{key:"parseRgbString",value:function(r){this.parseString(r);}},{key:"parseHexString",value:function(r){!r.match(U2)||[6,8].includes(r.length)||this.parseString(r);}},{key:"parseColorFnString",value:function(r){this.parseString(r);}},{key:"getRelativeLuminance",value:function(){var r=this.r,n=this.g,a=this.b,i=r<=.04045?r/12.92:Math.pow((r+.055)/1.055,2.4),o=n<=.04045?n/12.92:Math.pow((n+.055)/1.055,2.4),s=a<=.04045?a/12.92:Math.pow((a+.055)/1.055,2.4);return .2126*i+.7152*o+.0722*s}},{key:"getLuminosity",value:function(){return .3*this.r+.59*this.g+.11*this.b}},{key:"setLuminosity",value:function(r){var n=r-this.getLuminosity();return zr(Xt,this,Y2).call(this,n).clip()}},{key:"getSaturation",value:function(){return Math.max(this.r,this.g,this.b)-Math.min(this.r,this.g,this.b)}},{key:"setSaturation",value:function(r){var n=new La(this),a=[{name:"r",value:n.r},{name:"g",value:n.g},{name:"b",value:n.b}],i=a.sort(function(c,f){return c.value-f.value}),o=Ae(i,3),s=o[0],l=o[1],u=o[2];return u.value>s.value?(l.value=(l.value-s.value)*r/(u.value-s.value),u.value=r):l.value=u.value=0,s.value=0,n[u.name]=u.value,n[s.name]=s.value,n[l.name]=l.value,n}},{key:"clip",value:function(){var r=new La(this),n=r.getLuminosity(),a=Math.min(r.r,r.g,r.b),i=Math.max(r.r,r.g,r.b);return a<0&&(r.r=n+(r.r-n)*n/(n-a),r.g=n+(r.g-n)*n/(n-a),r.b=n+(r.b-n)*n/(n-a)),i>1&&(r.r=n+(r.r-n)*(1-n)/(i-n),r.g=n+(r.g-n)*(1-n)/(i-n),r.b=n+(r.b-n)*(1-n)/(i-n)),r}}])})());function Y2(e){var t=new La(this);return t.r+=e,t.g+=e,t.b+=e,t}var xt=La;function qn(e,t,r){return Math.min(Math.max(t,e),r)}function K2(e){return e*180/Math.PI}function J2(e){return e*360}function Z2(e){var t=new xt;if(t.parseString(e.getPropertyValue("background-color")),t.alpha!==0){var r=e.getPropertyValue("opacity");t.alpha=t.alpha*r;}return t}var wn=Z2;function Q2(e){var t=d.getComputedStyle(e);return oo(e,t)||wn(t).alpha===1}var eA=Q2;function wl(e){if(!e.href)return false;var t=Ue.get("firstPageLink",tA);return t?e.compareDocumentPosition(t.actualNode)===e.DOCUMENT_POSITION_FOLLOWING:true}function tA(){var e;return d.location.origin?e=tr(m._tree,'a[href]:not([href^="javascript:"])').find(function(t){return !Ys(t.actualNode)}):e=tr(m._tree,'a:not([href^="#"]):not([href^="/#"]):not([href^="javascript:"])')[0],e||null}var rA=/rect\s*\(([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px\s*\)/,nA=/(\w+)\((\d+)/;function aA(e){var t=e.getPropertyValue("clip").match(rA),r=e.getPropertyValue("clip-path").match(nA);if(t&&t.length===5){var n=e.getPropertyValue("position");if(["fixed","absolute"].includes(n))return t[3]-t[1]<=0&&t[2]-t[4]<=0}if(r){var a=r[1],i=parseInt(r[2],10);switch(a){case "inset":return i>=50;case "circle":return i===0;}}return false}function iA(e,t,r){var n=Mn(e,"map");if(!n)return false;var a=n.getAttribute("name");if(!a)return false;var i=qt(e);if(!i||i.nodeType!==9)return false;var o=tr(m._tree,'img[usemap="#'.concat(At(a),'"]'));return !o||!o.length?false:o.some(function(s){var l=s.actualNode;return so(l,t,r)})}function so(e,t,r){var n;if(!e)throw new TypeError("Cannot determine if element is visible for non-DOM nodes");var a=e instanceof Mt?e:Ke(e);e=a?a.actualNode:e;var i="_isVisible"+(t?"ScreenReader":""),o=(n=d.Node)!==null&&n!==void 0?n:{},s=o.DOCUMENT_NODE,l=o.DOCUMENT_FRAGMENT_NODE,u=a?a.props.nodeType:e.nodeType,c=a?a.props.nodeName:e.nodeName.toLowerCase();if(a&&typeof a[i]<"u")return a[i];if(u===s)return true;if(["style","script","noscript","template"].includes(c))return false;if(e&&u===l&&(e=e.host),t){var f=a?a.attr("aria-hidden"):e.getAttribute("aria-hidden");if(f==="true")return false}if(!e){var g=a.parent,w=true;return g&&(w=so(g,t,true)),a&&(a[i]=w),w}var k=d.getComputedStyle(e,null);if(k===null)return false;if(c==="area")return iA(e,t,r);if(k.getPropertyValue("display")==="none")return false;var P=parseInt(k.getPropertyValue("height")),j=parseInt(k.getPropertyValue("width")),$=Vr(e),G=$&&P===0,Y=$&&j===0,K=k.getPropertyValue("position")==="absolute"&&(P<2||j<2)&&k.getPropertyValue("overflow")==="hidden";if(!t&&(aA(k)||k.getPropertyValue("opacity")==="0"||G||Y||K)||!r&&(k.getPropertyValue("visibility")==="hidden"||!t&&Gi(e)))return false;var Z=e.assignedSlot?e.assignedSlot:e.parentNode,re=false;return Z&&(re=so(Z,t,true)),a&&(a[i]=re),re}var oA=so;function sA(e,t){for(var r=["fixed","sticky"],n=[],a=false,i=0;i<e.length;++i){var o=e[i];o===t&&(a=true);var s=d.getComputedStyle(o);if(!a&&r.indexOf(s.position)!==-1){n=[];continue}n.push(o);}return n}var Hp=sA;function Vp(e,t){var r=jp(t);do{var n=jp(e);if(n===r||n===t)return lA(e,t);e=n;}while(e);return false}function jp(e){for(var t=Ke(e),r=t.parent;r;){if(Vr(r.actualNode))return r.actualNode;r=r.parent;}}function lA(e,t){var r=d.getComputedStyle(t),n=r.getPropertyValue("overflow");if(r.getPropertyValue("display")==="inline")return true;var a=Array.from(e.getClientRects()),i=t.getBoundingClientRect(),o={left:i.left,top:i.top,width:i.width,height:i.height};return (["scroll","auto"].includes(n)||t instanceof d.HTMLHtmlElement)&&(o.width=t.scrollWidth,o.height=t.scrollHeight),a.length===1&&n==="hidden"&&r.getPropertyValue("white-space")==="nowrap"&&(a[0]=o),a.some(function(s){return !(Math.ceil(s.left)<Math.floor(o.left)||Math.ceil(s.top)<Math.floor(o.top)||Math.floor(s.left+s.width)>Math.ceil(o.left+o.width)||Math.floor(s.top+s.height)>Math.ceil(o.top+o.height))})}function $p(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:v,n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;if(n>999)throw new Error("Infinite loop detected");return Array.from(r.elementsFromPoint(e,t)||[]).filter(function(a){return qt(a)===r}).reduce(function(a,i){if(ji(i)){var o=$p(e,t,i.shadowRoot,n+1);a=a.concat(o),a.length&&Vp(a[0],i)&&a.push(i);}else a.push(i);return a},[])}var uA=$p;function cA(e,t){if(e.hasAttribute(t)){var r=e.nodeName.toUpperCase(),n=e;(!["A","AREA"].includes(r)||e.ownerSVGElement)&&(n=v.createElement("a"),n.href=e.getAttribute(t));var a=["https:","ftps:"].includes(n.protocol)?n.protocol.replace(/s:$/,":"):n.protocol,i=/^\//.test(n.pathname)?n.pathname:"/".concat(n.pathname),o=fA(i),s=o.pathname,l=o.filename;return {protocol:a,hostname:n.hostname,port:dA(n.port),pathname:/\/$/.test(s)?s:"".concat(s,"/"),search:pA(n.search),hash:mA(n.hash),filename:l}}}function dA(e){var t=["443","80"];return t.includes(e)?"":e}function fA(e){var t=e.split("/").pop();return !t||t.indexOf(".")===-1?{pathname:e,filename:""}:{pathname:e.replace(t,""),filename:/index./.test(t)?"":t}}function pA(e){var t={};if(!e||!e.length)return t;var r=e.substring(1).split("&");if(!r||!r.length)return t;for(var n=0;n<r.length;n++){var a=r[n],i=a.split("="),o=Ae(i,2),s=o[0],l=o[1],u=l===void 0?"":l;t[decodeURIComponent(s)]=decodeURIComponent(u);}return t}function mA(e){if(!e)return "";var t=/#!?\/?/g,r=e.match(t);if(!r)return "";var n=Ae(r,1),a=n[0];return a==="#"?"":e}var hA=cA;function gA(e,t){var r=t.getBoundingClientRect(),n=r.top,a=r.left,i={top:n-t.scrollTop,bottom:n-t.scrollTop+t.scrollHeight,left:a-t.scrollLeft,right:a-t.scrollLeft+t.scrollWidth};if(e.left>i.right&&e.left>r.right||e.top>i.bottom&&e.top>r.bottom||e.right<i.left&&e.right<r.left||e.bottom<i.top&&e.bottom<r.top)return false;var o=d.getComputedStyle(t);return e.left>r.right||e.top>r.bottom?o.overflow==="scroll"||o.overflow==="auto"||t instanceof d.HTMLBodyElement||t instanceof d.HTMLHtmlElement:true}var xl=gA,zp=0,vA=(function(e){function t(r,n,a){var i;if(rr(this,t),i=ne(this,t),i.shadowId=a,i.children=[],i.actualNode=r,i.parent=n,n||(zp=0),i.nodeIndex=zp++,i._isHidden=null,i._cache={},i._isXHTML=fa(r.ownerDocument),r.nodeName.toLowerCase()==="input"){var o=r.getAttribute("type");o=i._isXHTML?o:(o||"").toLowerCase(),yo().includes(o)||(o="text"),i._type=o;}return Ue.get("nodeMap")&&Ue.get("nodeMap").set(r,i),i}return Ge(t,e),zt(t,[{key:"props",get:function(){if(!this._cache.hasOwnProperty("props")){var n=this.actualNode,a=n.nodeType,i=n.nodeName,o=n.id,s=n.nodeValue;this._cache.props={nodeType:a,nodeName:this._isXHTML?i:i.toLowerCase(),id:o,type:this._type,nodeValue:s},a===1&&(this._cache.props.multiple=this.actualNode.multiple,this._cache.props.value=this.actualNode.value,this._cache.props.selected=this.actualNode.selected,this._cache.props.checked=this.actualNode.checked,this._cache.props.indeterminate=this.actualNode.indeterminate);}return this._cache.props}},{key:"attr",value:function(n){return typeof this.actualNode.getAttribute!="function"?null:this.actualNode.getAttribute(n)}},{key:"hasAttr",value:function(n){return typeof this.actualNode.hasAttribute!="function"?false:this.actualNode.hasAttribute(n)}},{key:"attrNames",get:function(){if(!this._cache.hasOwnProperty("attrNames")){var n;this.actualNode.attributes instanceof d.NamedNodeMap?n=this.actualNode.attributes:n=this.actualNode.cloneNode(false).attributes,this._cache.attrNames=Array.from(n).map(function(a){return a.name});}return this._cache.attrNames}},{key:"getComputedStylePropertyValue",value:function(n){var a="computedStyle_"+n;return this._cache.hasOwnProperty(a)||(this._cache.hasOwnProperty("computedStyle")||(this._cache.computedStyle=d.getComputedStyle(this.actualNode)),this._cache[a]=this._cache.computedStyle.getPropertyValue(n)),this._cache[a]}},{key:"isFocusable",get:function(){return this._cache.hasOwnProperty("isFocusable")||(this._cache.isFocusable=St(this.actualNode)),this._cache.isFocusable}},{key:"tabbableElements",get:function(){return this._cache.hasOwnProperty("tabbableElements")||(this._cache.tabbableElements=zf(this)),this._cache.tabbableElements}},{key:"clientRects",get:function(){return this._cache.hasOwnProperty("clientRects")||(this._cache.clientRects=Array.from(this.actualNode.getClientRects()).filter(function(n){return n.width>0})),this._cache.clientRects}},{key:"boundingClientRect",get:function(){return this._cache.hasOwnProperty("boundingClientRect")||(this._cache.boundingClientRect=this.actualNode.getBoundingClientRect()),this._cache.boundingClientRect}}])})(Mt),Dl=vA;function bA(e){return (e||"").trim().replace(/\s{2,}/g," ").split(" ")}var jt=bA,xn=" [idsMap]";function Gp(e,t,r){var n=e[0]._selectorMap;if(n){for(var a=e[0].shadowId,i=0;i<t.length;i++)if(t[i].length>1&&t[i].some(function(l){return Wp(l)}))return;var o=new Set;t.forEach(function(l){var u,c=yA(l,n,a);c==null||(u=c.nodes)===null||u===void 0||u.forEach(function(f){c.isComplexSelector&&!Tn(f,l)||o.add(f);});});var s=[];return o.forEach(function(l){return s.push(l)}),r&&(s=s.filter(r)),s.sort(function(l,u){return l.nodeIndex-u.nodeIndex})}}function yA(e,t,r){var n=e[e.length-1],a=null,i=e.length>1||!!n.pseudos||!!n.classes;if(Wp(n))a=t["*"];else {if(n.id){var o;if(!t[xn]||!Object.hasOwn(t[xn],n.id)||!((o=t[xn][n.id])!==null&&o!==void 0&&o.length))return;a=t[xn][n.id].filter(function(P){return P.shadowId===r});}if(n.tag&&n.tag!=="*"){var s;if(!((s=t[n.tag])!==null&&s!==void 0&&s.length))return;var l=t[n.tag];a=a?Al(l,a):l;}if(n.classes){var u;if(!((u=t["[class]"])!==null&&u!==void 0&&u.length))return;var c=t["[class]"];a=a?Al(c,a):c;}if(n.attributes)for(var f=0;f<n.attributes.length;f++){var g,w=n.attributes[f];if(w.type==="attrValue"&&(i=true),!((g=t["[".concat(w.key,"]")])!==null&&g!==void 0&&g.length))return;var k=t["[".concat(w.key,"]")];a=a?Al(k,a):k;}}return {nodes:a,isComplexSelector:i}}function Wp(e){return e.tag==="*"&&!e.attributes&&!e.id&&!e.classes}function Al(e,t){return e.filter(function(r){return t.includes(r)})}function lo(e,t,r){Object.hasOwn(r,e)||(r[e]=[]),r[e].push(t);}function Up(e,t){e.props.nodeType===1&&(lo(e.props.nodeName,e,t),lo("*",e,t),e.attrNames.forEach(function(r){r==="id"&&(t[xn]=t[xn]||{},jt(e.attr(r)).forEach(function(n){lo(n,e,t[xn]);})),lo("[".concat(r,"]"),e,t);}));}var _l;function El(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:v.documentElement,t=arguments.length>1?arguments[1]:void 0;_l=false;var r={};Ue.set("nodeMap",new WeakMap),Ue.set("selectorMap",r);var n=Xp(e,t,null);return n[0]._selectorMap=r,n[0]._hasShadowRoot=_l,n}function wA(e){var t=[];for(e=e.firstChild;e;)t.push(e),e=e.nextSibling;return t}function Cl(e,t,r){var n=new Dl(e,t,r);return Up(n,Ue.get("selectorMap")),n}function uo(e,t,r){var n=[];return e.forEach(function(a){var i=Xp(a,r,t);i&&n.push.apply(n,De(i));}),n}function Xp(e,t,r){var n,a;e.documentElement&&(e=e.documentElement);var i=e.nodeName.toLowerCase();if(ji(e))return _l=true,n=Cl(e,r,t),t="a"+Math.random().toString().substring(2),a=Array.from(e.shadowRoot.childNodes),n.children=uo(a,n,t),[n];if(i==="content"&&typeof e.getDistributedNodes=="function")return a=Array.from(e.getDistributedNodes()),uo(a,r,t);if(i==="slot"&&typeof e.assignedNodes=="function"){a=Array.from(e.assignedNodes()),a.length||(a=wA(e));d.getComputedStyle(e);return uo(a,r,t)}if(e.nodeType===v.ELEMENT_NODE)return n=Cl(e,r,t),a=Array.from(e.childNodes),n.children=uo(a,n,t),[n];if(e.nodeType===v.TEXT_NODE)return [Cl(e,r)]}function xA(e){return e?e.trim().split("-")[0].toLowerCase():""}var Dn=xA;function DA(e){var t={};return t.none=e.none.concat(e.all),t.any=e.any,Object.keys(t).map(function(r){if(t[r].length){var n=m._audit.data.failureSummaries[r];if(n&&typeof n.failureMessage=="function")return n.failureMessage(t[r].map(function(a){return a.message||""}))}}).filter(function(r){return r!==void 0}).join(`
|
|
374
374
|
|
|
375
|
-
`)}var Sl=
|
|
376
|
-
See: https://github.com/dequelabs/axe-core/blob/master/doc/context.md`));}function em(e,t){for(var r=[],n=0,a=e[t].length;n<a;n++){var i=e[t][n];if(i instanceof d.Node)if(i.documentElement instanceof d.Node)r.push(e.flatTree[0]);else if(i.host instanceof d.Node){var o=Array.from(i.children).map(function(l){return Ke(l)});r.push.apply(r,_e(o));}else r.push(Ke(i));else if(i&&i.length)if(i.length>1)q2(e,t,i);else {var s=Hl(i[0]);r.push.apply(r,_e(s.map(function(l){return Ke(l)})));}}return r.filter(function(l){return l})}function q2(e,t,r){e.frames=e.frames||[];var n=r.shift(),a=Hl(n);a.forEach(function(i){var o=e.frames.find(function(s){return s.node===i});o||(o=Zp(i,e),e.frames.push(o)),o[t].push(r);});}function po(e,t){var r,n,a,i,o=this;e=Nr(e),this.frames=[],this.page=typeof((r=e)===null||r===void 0?void 0:r.page)=="boolean"?e.page:void 0,this.initiator=typeof((n=e)===null||n===void 0?void 0:n.initiator)=="boolean"?e.initiator:true,this.focusable=typeof((a=e)===null||a===void 0?void 0:a.focusable)=="boolean"?e.focusable:true,this.size=fe((i=e)===null||i===void 0?void 0:i.size)==="object"?e.size:{},e=I2(e),this.flatTree=t??El(j2(e)),this.exclude=e.exclude,this.include=e.include,this.include=em(this,"include"),this.exclude=em(this,"exclude"),Bl("frame, iframe",this).forEach(function(s){Ml(s,o)&&B2(o,s.actualNode);}),typeof this.page>"u"&&(this.page=H2(this),this.frames.forEach(function(s){s.page=o.page;})),V2(this),Array.isArray(this.include)||(this.include=Array.from(this.include)),this.include.sort(Pl);}function B2(e,t){!bt(t)||ya(e.frames,"node",t)||e.frames.push(Zp(t,e));}function H2(e){var t=e.include;return t.length===1&&t[0].actualNode===v.documentElement}function V2(e){if(e.include.length===0&&e.frames.length===0){var t=br.isInFrame()?"frame":"page";throw new Error("No elements found for include in "+t+" Context")}}function j2(e){for(var t=e.include,r=e.exclude,n=Array.from(t).concat(Array.from(r)),a=0;a<n.length;a++){var i=n[a];if(i instanceof d.Element)return i.ownerDocument.documentElement;if(i instanceof d.Document)return i.documentElement}return v.documentElement}function $2(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(t.iframes===false)return [];var r=new po(e),n=r.frames;return n.map(function(a){var i=a.node,o=J(a,$);o.initiator=false;var s=Mi(i);return {frameSelector:s,frameContext:o}})}function tm(e){var t=m._audit.rules.find(function(r){var n=r.id;return n===e});if(!t)throw new Error("Cannot find rule by id: ".concat(e));return t}function z2(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,r=e.scrollWidth>e.clientWidth+t,n=e.scrollHeight>e.clientHeight+t;if(r||n){var a=d.getComputedStyle(e),i=rm(a,"overflow-x"),o=rm(a,"overflow-y");if(r&&i||n&&o)return {elm:e,top:e.scrollTop,left:e.scrollLeft}}}function rm(e,t){var r=e.getPropertyValue(t);return ["scroll","auto"].includes(r)}var Vr=mt(z2);function nm(e){return Array.from(e.children||e.childNodes||[]).reduce(function(t,r){var n=Vr(r);return n&&t.push(n),t.concat(nm(r))},[])}function G2(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:d,t=e.document.documentElement,r=[e.pageXOffset!==void 0?{elm:e,top:e.pageYOffset,left:e.pageXOffset}:{elm:t,top:t.scrollTop,left:t.scrollLeft}];return r.concat(nm(v.body))}var W2=G2;function U2(){return Nr(at)}function X2(e){if(!e)throw new Error("axe.utils.getStyleSheetFactory should be invoked with an argument");return function(t){var r=t.data,n=t.isCrossOrigin,a=n===void 0?false:n,i=t.shadowId,o=t.root,s=t.priority,l=t.isLink,u=l===void 0?false:l,c=e.createElement("style");if(u){var f=e.createTextNode('@import "'.concat(r.href,'"'));c.appendChild(f);}else c.appendChild(e.createTextNode(r));return e.head.appendChild(c),{sheet:c.sheet,isCrossOrigin:a,shadowId:i,root:o,priority:s}}}var am=X2,er;function Y2(e){if(er&&er.parentNode)return er.styleSheet===void 0?er.appendChild(v.createTextNode(e)):er.styleSheet.cssText+=e,er;if(e){var t=v.head||v.getElementsByTagName("head")[0];return er=v.createElement("style"),er.type="text/css",er.styleSheet===void 0?er.appendChild(v.createTextNode(e)):er.styleSheet.cssText=e,t.appendChild(er),er}}var K2=Y2;function Rl(e){return !!e&&fe(e)==="object"&&typeof e.length=="number"&&!(e instanceof d.Node)}function Sr(e,t){return !e||fe(e)!=="object"?false:Object.prototype.hasOwnProperty.call(e,t)}function im(e){return Fl(e)||mo(e)}function Fl(e){return ["include","exclude"].some(function(t){return Sr(e,t)&&mo(e[t])})}function mo(e){return typeof e=="string"||e instanceof d.Node||Il(e)||ho(e)||Rl(e)}function Il(e){return Sr(e,"fromFrames")}function ho(e){return Sr(e,"fromShadowDom")}function om(e,t){var r=Ke(e);if(e.nodeType===9)return false;if(e.nodeType===11&&(e=e.host),r&&r._isHidden!==null)return r._isHidden;var n=d.getComputedStyle(e,null);if(!n||!e.parentNode||n.getPropertyValue("display")==="none"||!t&&n.getPropertyValue("visibility")==="hidden"||e.getAttribute("aria-hidden")==="true")return true;var a=e.assignedSlot?e.assignedSlot:e.parentNode,i=om(a,true);return r&&(r._isHidden=i),i}var J2=om;function Z2(e){var t,r,n=(t=(r=e.props)===null||r===void 0?void 0:r.nodeName)!==null&&t!==void 0?t:e.nodeName.toLowerCase();return e.namespaceURI==="http://www.w3.org/2000/svg"?false:!!at.htmlElms[n]}var Ll=Z2;function Ml(e,t){var r=t.include,n=r===void 0?[]:r,a=t.exclude,i=a===void 0?[]:a,o=n.filter(function(c){return qr(c,e)});if(o.length===0)return false;var s=i.filter(function(c){return qr(c,e)});if(s.length===0)return true;var l=sm(o),u=sm(s);return qr(u,l)}function sm(e){var t,r=it(e),n;try{for(r.s();!(n=r.n()).done;){var a=n.value;(!t||!qr(a,t))&&(t=a);}}catch(i){r.e(i);}finally{r.f();}return t}function Ol(e,t){return e.length!==t.length?false:e.every(function(r,n){var a=t[n];return Array.isArray(r)?r.length!==a.length?false:r.every(function(i,o){return a[o]===i}):r===a})}function Q2(e,t){return e=e.actualNode||e,t=t.actualNode||t,e===t?0:e.compareDocumentPosition(t)&4?-1:1}var Pl=Q2;function rt(e){return e instanceof Mt?{vNode:e,domNode:e.actualNode}:{vNode:Ke(e),domNode:e}}function e_(e,t,r,n){var a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:false,i=Array.from(e.cssRules);if(!i)return Promise.resolve();var o=i.filter(function(c){return c.type===3});if(!o.length)return Promise.resolve({isCrossOrigin:a,priority:r,root:t.rootNode,shadowId:t.shadowId,sheet:e});var s=o.filter(function(c){return c.href}).map(function(c){return c.href}).filter(function(c){return !n.includes(c)}),l=s.map(function(c,f){var g=[].concat(_e(r),[f]),w=/^https?:\/\/|^\/\//i.test(c);return ql(c,t,g,n,w)}),u=i.filter(function(c){return c.type!==3});return u.length&&l.push(Promise.resolve(t.convertDataToStylesheet({data:u.map(function(c){return c.cssText}).join(),isCrossOrigin:a,priority:r,root:t.rootNode,shadowId:t.shadowId}))),Promise.all(l)}var lm=e_;function t_(e,t,r,n){var a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:false,i=r_(e);return i?lm(e,t,r,n,a):ql(e.href,t,r,n,true)}function r_(e){try{var t=e.cssRules;return !(!t&&e.href)}catch{return false}}var Nl=t_;function n_(e,t,r,n,a){return n.push(e),new Promise(function(i,o){var s=new d.XMLHttpRequest;s.open("GET",e),s.timeout=Xe.preload.timeout,s.addEventListener("error",o),s.addEventListener("timeout",o),s.addEventListener("loadend",function(l){if(l.loaded&&s.responseText)return i(s.responseText);o(s.responseText);}),s.send();}).then(function(i){var o=t.convertDataToStylesheet({data:i,isCrossOrigin:a,priority:r,root:t.rootNode,shadowId:t.shadowId});return Nl(o.sheet,t,r,n,o.isCrossOrigin)})}var ql=n_;function a_(e){if(typeof e!="string")return null;var t=e.trim().match(/^([-+]?\d+)/);return t?Number(t[1]):null}var kr=a_,i_=(function(){function e(){if(d.performance&&d.performance)return d.performance.now()}var t=e(),r=false;return {start:function(){this.reset(),r=true,this.mark("mark_axe_start");},end:function(){this.mark("mark_axe_end"),this.measure("axe","mark_axe_start","mark_axe_end",true),this.logMeasures("axe"),this.clearMark("mark_axe_start","mark_axe_end"),r=false;},auditStart:function(){r||this.reset(),this.mark("mark_audit_start");},auditEnd:function(){this.mark("mark_audit_end"),this.measure("audit_start_to_end","mark_audit_start","mark_audit_end",true),this.logMeasures(),this.clearMark("mark_audit_start","mark_audit_end");},mark:function(a){var i;(i=d.performance)!==null&&i!==void 0&&i.mark&&d.performance.mark(a);},measure:function(a,i,o){var s,l=arguments.length>3&&arguments[3]!==void 0?arguments[3]:false;if((s=d.performance)!==null&&s!==void 0&&s.measure){try{d.performance.measure(a,i,o);}catch(u){this._log(u);}l||this.clearMark(i,o);}},logMeasures:function(a){var i=this,o,s,l=function(P){return Array.isArray(P)?P[P.length-1]:P},u=function(P){i._log("Measure "+P.name+" took "+P.duration+"ms");};if(!(!((o=d.performance)!==null&&o!==void 0&&o.getEntriesByType)||!((s=d.performance)!==null&&s!==void 0&&s.getEntriesByName))){var c=l(d.performance.getEntriesByName("mark_axe_start"))||l(d.performance.getEntriesByName("mark_audit_start"));if(!c){this._log("Axe must be started before using performanceTimer");return}for(var f=d.performance.getEntriesByType("measure").filter(function(S){return S.startTime>=c.startTime}),g=0;g<f.length;++g){var w=f[g];if(w.name===a){u(w);return}else a||u(w);}}},timeElapsed:function(){var a=e();return a-t},clearMark:function(){var a;if((a=d.performance)!==null&&a!==void 0&&a.clearMarks){for(var i=arguments.length,o=new Array(i),s=0;s<i;s++)o[s]=arguments[s];for(var l=0,u=o;l<u.length;l++){var c=u[l];d.performance.clearMarks(c);}}},reset:function(){t=e();},_log:function(a){mn(a);}}})(),st=i_;function um(){if(v.elementsFromPoint)return v.elementsFromPoint;if(v.msElementsFromPoint)return v.msElementsFromPoint;var e=(function(){var a=v.createElement("x");return a.style.cssText="pointer-events:auto",a.style.pointerEvents==="auto"})(),t=e?"pointer-events":"visibility",r=e?"none":"hidden",n=v.createElement("style");return n.innerHTML=e?"* { pointer-events: all }":"* { visibility: visible }",function(a,i){var o,s,l,u=[],c=[];for(v.head.appendChild(n);(o=v.elementFromPoint(a,i))&&u.indexOf(o)===-1;)u.push(o),c.push({value:o.style.getPropertyValue(t),priority:o.style.getPropertyPriority(t)}),o.style.setProperty(t,r,"important");for(u.indexOf(v.documentElement)<u.length-1&&(u.splice(u.indexOf(v.documentElement),1),u.push(v.documentElement)),s=c.length;l=c[--s];)u[s].style.setProperty(t,l.value?l.value:"",l.priority);return v.head.removeChild(n),u}}typeof d.addEventListener=="function"&&(v.elementsFromPoint=um());function o_(e,t){return e.concat(t).filter(function(r,n,a){return a.indexOf(r)===n})}var Oa=o_;function cm(e,t,r,n,a){var i=a||{};return i.vNodes=e,i.vNodesIndex=0,i.anyLevel=t,i.thisLevel=r,i.parentShadowId=n,i}function s_(e,t,r){for(var n=Ue.get("qsa.recycledLocalVariables",function(){return []}),a=[],i=Array.isArray(e)?e:[e],o=cm(i,t,null,e[0].shadowId,n.pop()),s=[];o.vNodesIndex<o.vNodes.length;){for(var l,u,c=o.vNodes[o.vNodesIndex++],f=null,g=null,w=(((l=o.anyLevel)===null||l===void 0?void 0:l.length)||0)+(((u=o.thisLevel)===null||u===void 0?void 0:u.length)||0),S=false,P=0;P<w;P++){var H,z,G,X=P<(((H=o.anyLevel)===null||H===void 0?void 0:H.length)||0)?o.anyLevel[P]:o.thisLevel[P-(((z=o.anyLevel)===null||z===void 0?void 0:z.length)||0)];if((!X[0].id||c.shadowId===o.parentShadowId)&&Tn(c,X[0]))if(X.length===1)!S&&(!r||r(c))&&(s.push(c),S=true);else {var Y=X.slice(1);if([" ",">"].includes(Y[0].combinator)===false)throw new Error("axe.utils.querySelectorAll does not support the combinator: "+X[1].combinator);Y[0].combinator===">"?(f=f||[]).push(Y):(g=g||[]).push(Y);}(!X[0].id||c.shadowId===o.parentShadowId)&&(G=o.anyLevel)!==null&&G!==void 0&&G.includes(X)&&(g=g||[]).push(X);}for(c.children&&c.children.length&&(a.push(o),o=cm(c.children,g,f,c.shadowId,n.pop()));o.vNodesIndex===o.vNodes.length&&a.length;)n.push(o),o=a.pop();}return s}function l_(e,t,r){e=Array.isArray(e)?e:[e];var n=Oi(t),a=Gp(e,n,r);return a||s_(e,n,r)}var Tr=l_;function u_(e){var t=e.treeRoot,r=t===void 0?m._tree[0]:t,n=c_(r);if(!n.length)return Promise.resolve();var a=v.implementation.createHTMLDocument("Dynamic document for loading cssom"),i=am(a);return d_(n,i).then(function(o){return fm(o)})}var dm=u_;function c_(e){var t=[],r=Tr(e,"*",function(n){return t.includes(n.shadowId)?false:(t.push(n.shadowId),true)}).map(function(n){return {shadowId:n.shadowId,rootNode:wa(n.actualNode)}});return Oa(r,[])}function d_(e,t){var r=[];return e.forEach(function(n,a){var i=n.rootNode,o=n.shadowId,s=f_(i,o,t);if(!s)return Promise.all(r);var l=a+1,u={rootNode:i,shadowId:o,convertDataToStylesheet:t,rootIndex:l},c=[],f=Promise.all(s.map(function(g,w){var S=[l,w];return Nl(g,u,S,c)}));r.push(f);}),Promise.all(r)}function fm(e){return e.reduce(function(t,r){return Array.isArray(r)?t.concat(fm(r)):t.concat(r)},[])}function f_(e,t,r){var n;return e.nodeType===11&&t?n=p_(e,r):n=m_(e),g_(n)}function p_(e,t){return Array.from(e.children).filter(h_).reduce(function(r,n){var a=n.nodeName.toUpperCase(),i=a==="STYLE"?n.textContent:n,o=a==="LINK",s=t({data:i,isLink:o,root:e});return s.sheet&&r.push(s.sheet),r},[])}function m_(e){return Array.from(e.styleSheets).filter(function(t){return t.media?pm(t.media.mediaText):false})}function h_(e){var t=e.nodeName.toUpperCase(),r=e.getAttribute("href"),n=e.getAttribute("rel"),a=t==="LINK"&&r&&n&&e.rel.toUpperCase().includes("STYLESHEET"),i=t==="STYLE";return i||a&&pm(e.media)}function pm(e){return e?!e.toUpperCase().includes("PRINT"):true}function g_(e){var t=[];return e.filter(function(r){return r.href?t.includes(r.href)?false:(t.push(r.href),true):true})}function v_(e){var t=e.treeRoot,r=t===void 0?m._tree[0]:t,n=Tr(r,"video[autoplay], audio[autoplay]",function(a){var i=a.actualNode;if(i.preload==="none"&&i.readyState===0&&i.networkState!==i.NETWORK_LOADING||i.hasAttribute("paused")||i.hasAttribute("muted"))return false;if(i.hasAttribute("src"))return !!i.getAttribute("src");var o=Array.from(i.getElementsByTagName("source")).filter(function(s){return !!s.getAttribute("src")});return !(o.length<=0)});return Promise.all(n.map(function(a){var i=a.actualNode;return b_(i)}))}var mm=v_;function b_(e){return new Promise(function(t){e.readyState>0&&t(e);function r(){e.removeEventListener("loadedmetadata",r),t(e);}e.addEventListener("loadedmetadata",r);})}function hm(e){var t={cssom:dm,media:mm};return gm(e)?new Promise(function(r,n){var a=vm(e),i=a.assets,o=a.timeout,s=setTimeout(function(){return n(new Error("Preload assets timed out."))},o);Promise.all(i.map(function(l){return t[l](e).then(function(u){return V({},l,u)})})).then(function(l){var u=l.reduce(function(c,f){return Te({},c,f)},{});clearTimeout(s),r(u);}).catch(function(l){clearTimeout(s),n(l);});}):Promise.resolve()}function y_(e){return fe(e)==="object"&&Array.isArray(e.assets)}function gm(e){return !e||e.preload===void 0||e.preload===null?true:typeof e.preload=="boolean"?e.preload:y_(e.preload)}function vm(e){var t=Xe.preload,r=t.assets,n=t.timeout,a={assets:r,timeout:n};if(!e.preload||typeof e.preload=="boolean")return a;var i=e.preload.assets.every(function(o){return r.includes(o.toLowerCase())});if(!i)throw new Error("Requested assets, not supported. Supported assets are: ".concat(r.join(", "),"."));return a.assets=Oa(e.preload.assets.map(function(o){return o.toLowerCase()}),[]),e.preload.timeout&&typeof e.preload.timeout=="number"&&!isNaN(e.preload.timeout)&&(a.timeout=e.preload.timeout),a}function go(e){var t=m._audit.data.checks||{},r=m._audit.data.rules||{},n=ya(m._audit.rules,"id",e.id)||{};e.tags=Nr(n.tags||[]);var a=bm(t,true,n),i=bm(t,false,n);e.nodes.forEach(function(o){o.any.forEach(a),o.all.forEach(a),o.none.forEach(i);}),Ns(e,Nr(r[e.id]||{}));}function w_(e,t){function r(a){return a.incomplete&&a.incomplete.default?a.incomplete.default:kl()}if(e&&e.missingData)try{var n=t.incomplete[e.missingData[0].reason];if(!n)throw new Error;return n}catch{return typeof e.missingData=="string"?t.incomplete[e.missingData]:r(t)}else return e&&e.messageKey?t.incomplete[e.messageKey]:r(t)}function bm(e,t,r){return function(n){var a=e[n.id]||{},i=a.messages||{},o=Object.assign({},a);delete o.messages,!r.reviewOnFail&&n.result===void 0?(fe(i.incomplete)==="object"&&!Array.isArray(n.data)&&(o.message=w_(n.data,i)),o.message||(o.message=i.incomplete)):o.message=n.result===t?i.pass:i.fail,typeof o.message!="function"&&(o.message=Tl(o.message,n.data)),Ns(n,o);}}function x_(e,t){return Tr(e,t)}var tr=x_;function ym(e,t){var r,n,a=m._audit&&m._audit.tagExclude?m._audit.tagExclude:[];t.hasOwnProperty("include")||t.hasOwnProperty("exclude")?(r=t.include||[],r=Array.isArray(r)?r:[r],n=t.exclude||[],n=Array.isArray(n)?n:[n],n=n.concat(a.filter(function(o){return r.indexOf(o)===-1}))):(r=Array.isArray(t)?t:[t],n=a.filter(function(o){return r.indexOf(o)===-1}));var i=r.some(function(o){return e.tags.indexOf(o)!==-1});return i||r.length===0&&e.enabled!==false?n.every(function(o){return e.tags.indexOf(o)===-1}):false}function D_(e,t,r){var n=r.runOnly||{},a=(r.rules||{})[e.id];return e.pageLevel&&!t.page?false:n.type==="rule"?n.values.indexOf(e.id)!==-1:a&&typeof a.enabled=="boolean"?a.enabled:n.type==="tag"&&n.values?ym(e,n.values):ym(e,[])}var wm=D_;function xm(e,t){if(!t)return e;var r=e.cloneNode(false),n=na(r);if(r.nodeType===1){var a=r.outerHTML;r=Ue.get(a,function(){return Dm(r,n,e,t)});}else r=Dm(r,n,e,t);return Array.from(e.childNodes).forEach(function(i){r.appendChild(xm(i,t));}),r}function Dm(e,t,r,n){return t&&(e=v.createElement(e.nodeName),Array.from(t).forEach(function(a){A_(r,a.name,n)||e.setAttribute(a.name,a.value);})),e}function A_(e,t,r){return typeof r[t]>"u"?false:r[t]===true?true:Cn(e,r[t])}function Bl(e,t){var r=[],n;if(m._selectCache)for(var a=0,i=m._selectCache.length;a<i;a++){var o=m._selectCache[a];if(o.selector===e)return o.result}for(var s=__(t.include),l=E_(t),u=0;u<s.length;u++){n=s[u];var c=Tr(n,e,l);r=C_(r,c);}return m._selectCache&&m._selectCache.push({selector:e,result:r}),r}function __(e){return e.reduce(function(t,r){return (!t.length||!qr(t[t.length-1],r))&&t.push(r),t},[])}function E_(e){return !e.exclude||e.exclude.length===0?null:function(t){return Ml(t,e)}}function C_(e,t){if(e.length===0)return t;if(e.length<t.length){var r=e;e=t,t=r;}for(var n=0,a=t.length;n<a;n++)e.includes(t[n])||e.push(t[n]);return e}function vo(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;if(fe(e)!=="object"||e===null)return {message:String(e)};var r={},n=it(Xe.serializableErrorProps),a;try{for(n.s();!(a=n.n()).done;){var i=a.value;["string","number","boolean"].includes(fe(e[i]))&&(r[i]=e[i]);}}catch(o){n.e(o);}finally{n.f();}return e.cause&&(r.cause=t<10?vo(e.cause,t+1):"..."),r}var S_=(function(e){function t(r){var n,a,i=r.error,o=r.ruleId,s=r.method,l=r.errorNode;return rr(this,t),a=te(this,t),a.name=(n=i.name)!==null&&n!==void 0?n:"RuleError",a.message=i.message,a.stack=i.stack,i.cause&&(a.cause=vo(i.cause)),o&&(a.ruleId=o,a.message+=" Skipping ".concat(a.ruleId," rule.")),s&&(a.method=s),l&&(a.errorNode=l),a}return Me(t,e),zt(t)})(O(Error)),bo=S_;function k_(e,t,r){if(e===d)return e.scroll(r,t);e.scrollTop=t,e.scrollLeft=r;}function T_(e){e.forEach(function(t){var r=t.elm,n=t.top,a=t.left;return k_(r,n,a)});}var R_=T_;function F_(e){var t=Array.isArray(e)?_e(e):[e];return Am(t,v)}function Am(e,t){var r=e.shift(),n=r?t.querySelector(r):null;return e.length===0?n:n!=null&&n.shadowRoot?Am(e,n.shadowRoot):null}function Hl(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:v,r=Array.isArray(e)?_e(e):[e];return e.length===0?[]:_m(r,t)}function _m(e,t){var r=x(e),n=r[0],a=ln(r).slice(1),i=t.querySelectorAll(n);if(a.length===0)return Array.from(i);var o=[],s=it(i),l;try{for(s.s();!(l=s.n()).done;){var u=l.value;u!=null&&u.shadowRoot&&o.push.apply(o,_e(_m(a,u.shadowRoot)));}}catch(c){s.e(c);}finally{s.f();}return o}function I_(){return ["hidden","text","search","tel","url","email","password","date","month","week","time","datetime-local","number","range","color","checkbox","radio","file","submit","image","reset","button"]}var yo=I_,Em=[,[,[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,,,,,,1,1,1,1,,,1,1,1,,1,,1,,1,1],[1,1,1,,1,1,,1,1,1,,1,,,1,1,1,,,1,1,1,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,,,,1,1,1,,1,1,1,1,1,1,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1],[,1,,,,,,1,,1,,,,,1,,1,,,1,1,1,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,,1,1,1,1,,,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,,,1,,,,1,1,1,1,,1,,1,,1,,,,,,1],[1,,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,,1,,1,,,,,1,,1,1,1,1,1,,,,1,1,1,1],[,1,1,1,1,1,,1,1,1,,1,,1,1,1,,,1,1,1,1,1,1,1,1],[,,1,,,1,,1,,,,1,1,1,,,,,,,,,,,1],[1,1,1,1,1,1,,1,1,1,,1,1,,1,1,1,1,1,1,1,1,,,1,1,1],[1,1,1,1,1,,,1,,,1,,,1,1,1,,,,,1,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,,1,1,,1,1,1,1,1,1,1,,1],[,1,,1,1,1,,1,1,,1,,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,,,1,1,1,,,1,1,,,,,,1,1],[1,1,1,,,,,1,,,,1,1,,1,,,,,,1,,,,,1],[,1,,,1,,,1,,,,,,1],[,1,,1,,,,1,,,,1],[1,,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,,1,,,1,1,1,1],[,1,1,1,1,1,,,1,,,1,,1,1,,1,,1,,,,,1,,1],[,1,,,,1,,,1,1,,1,,1,1,1,1,,1,1,,,1,,,1],[,1,1,,,,,,1,,,,1,1,1,1,,1,1,1,1,1,1,,1,1,1],[,1,,1,1,1,,,1,1,1,1,1,1,,1,,,,1,1,1,,1,,1],[,1,,1,,1,,1,,1,,1,1,1,1,1,,,1,1,1],[,1,1,1,,,,1,1,1,,1,1,,,1,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1],[,1,1,1,,1,1,1,,1,,,,,1,1,1,,,1,,1,,,1,1],[,,,,1,,,,,,,,,,,,,,,,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,,1,1,,,,1,1,1,1,1,,,1,1,1,,,,1,1],[1,1,1,1,,,,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,,,,,,,1,,,,,,,1],[,1,1,,1,1,,1,,,,,,,,,,,,,1],[,,,,,,,,1],[1,1,1,,,,,,,,,,,,,1],[,,,,,,,,1,,,1,,,1,1,,,,,1]],[,[1,1,,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,,1,1,1,1,,1,1,,1,1,1,1,1,1,1,,1,1,1,1,,1],[,,,1,,,,,,,,,,,,,,,1],[,1,,,1,1,,1,,1,1,,,,1,1,,,1,1,,,,1],[1,,,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1,,,1,,,,1],,[,1,1,1,1,1,,1,1,1,,1,1,,1,1,,,1,1,1,1,,1,1,,1],[,1,,,1,,,1,,1,,,1,1,1,1,,,1,1,,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,,,1,1,1,1,1,1,1,,,1,,,1,,1],[,1,,,,,,1,,,,1,1,,,,,,1,1,,,,,1],[,,,,,,,1,,,,1,,1,1],[,1,1,1,1,1,1,1,,,,1,1,1,1,1,,,1,1,,1,1,1,1,1],[,1,,,1,1,,1,,1,1,1,,,1,1,,,1,,1,1,1,1,,1],[,1,1,1,,1,1,,1,1,,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1],[,,,,,,,,,,,,,,,,1],,[,1,1,1,1,1,,1,1,1,,,1,,1,1,,1,1,1,1,1,,1,,1],[,,1,,,1,,,1,1,,1,1,,1,1,,1,,,,,,,,,1],[,1,1,,1,,,,1,1,,1,,1,1,1,1,,1,1,1,1,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[1,1],[,1,,,,,,,,,,1,1,,,,,,1,1,,1,,1,,1,1],,[,1,1,,1,,,1,,1,,,,1,1,1,,,1,,,1,,,,1],[1,1,,,1,1,,1,,,,,1,,1]],[,[,1],[,,,1,,,,1,,,,1,,,,1,,,1,,,1],[,,,,,,,,,,,,,,,,,,1,1,,,,,,1],,[1,,,,,1],[,1,,,,1,,,,1],[,1,,,,,,,,,,,1,1,,1,,,,,,,,,1,1],[,,,,,,,,,,,,,,,,,,,1,,1],[,,,,,,,,,,,,,,,,1,,,,1,,1],[,1],[,1,,1,,1,,1,,1,,1,1,1,,1,1,,1,,,,,,,1],[1,,,,,1,,,1,1,,1,,1,,1,1,,,,,1,,,1],[,1,1,,,1,,1,,1,,1,,1,1,1,1,1,,1,,1,,1,1,1,1],[1,1,1,1,1,,1,,1,,,,1,1,1,1,,1,1,,,1,1,1,1],[1,,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,1],,[,1,,,,,,1,1,1,,1,,,,1,,,1,1,1,,,1],[1,,,,,1,,1,1,1,,1,1,1,1,1,,1,,1,,1,,,1,1],[1,,1,1,,,,,1,,,,,,1,1,,,1,1,1,1,,,1,,1],[1,,,,1,,,,,,,,,,,,,1],[,,,,,1,,,1,,,,,,1],[,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,,1],[,1,,,,,,,,,,,,,,1],[,1,,,,1]],[,[1,1,1,,1,,1,1,1,1,1,1,1,1,1,,1,,1,,1,1,,,1,1,1],[,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1],,[,,,,,,,,,,,,,,,,,,1],[1,,,,,,,,,1,,,,1],[,,,,,,,,,,,,,,,,,,1],,[1,1,,,,1,1,,,,,,1,,,,1,,1,,1,1,,1],[1],[,,,,,,,,,,,1,,,,,,,,,,,1],[,1,,,,,,,1,1,,,1,,1,,,,1,,,,,,,1],[,,,,,,,,,,,,,,,,1,,,,,1],[,,1,,,,,1,,1],[1,,,,1,,,,,1,,,,1,1,,,,1,1,,,,,1],[,,,,,1],[,,,,,,,,,,,,,,,,,,,1],[1,,,1,1,,,,,,,1,,1,,1,1,1,1,1,1],[,,,,,1,,,,,,,1,,,,,,,1],,[,,1,1,1,1,1,,1,1,1,,,1,1,,,1,1,,1,1,1,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,,,,1],,[1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[,,,1,1,1,1,,,,,,1,,1,,,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,,,,1,,1,,,1,1,1,1,1],[,,,,,,,,,,,1,,,,,,,,,1,,,,1],[,1,1,,1,1,,1,,,,1,1,,1,1,,,1,,1,1,,1],[,1,,1,,1,,,1,,,1,1,,1,1,,,1,1,1],[,1,1,1,1,1,,1,1,1,,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,,,,,,,,,1,,1,,1,1,,,,1,,,1],[,1,,,1,1,,,,,,,,,1,1,1,,,,,1],[1,,1,1,1,,,,1,1,1,1,1,,,1,,,1,,,1,,1,,1],[,1,1,,1,1,,1,1,,,,1,1,1,,,1,1,,,1,1,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,,1,1,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,,1],[,1,,,,,,,,1,,,,,1,,,,1,,,1],[,1,1,1,1,,,1,1,1,1,1,,1,,1,,1,1,1,1,1,1,1,1,1,1],[,,,,,1,,1,,,,,1,1,1,1,1,,,1,,,,1],[,1,,,,,,,,1,,,,,,,,,,,,1],[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,,1,,1,1,,,,1,,1,1,1,1,1,,1,1,,,,,,1],[,1,1,1,1,1,1,1,,1,1,,,1,1,,,,1,,1,1,,1,1],[,,,,,,,,,,,,,,,,,,,,,,,,1],[,1,1,,1,1,1,1,,1,,,1,1,1,1,,,1,,,,,,,1,1],[,1,,,,,,,,1,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1],[,1,1,,,,,,,,,,,,1,1,,,,,,1],[,1,,,,,,,1],[,,,,,,,,,,,,,,1,,,,,1,,,,,,1],[1,1,,,1,,,1,1,1,,,,1],,[,,,,,,,,,,,,,1,,,,,,,,,,1],[,,,,,,,,,1,,,,,,,,,1,,,,,,,1],[1,1,1,,1,,1,1,1,1,1,1,1,1,,1,,,1,,1,,,1,1],[,,,,,,,,,1],[,1,,,,1,,,1,,,1,,,1,,,,,1],[,1,1,,1,1,,,,,,,,,,,,,,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,,,1,1,,1,1,1,1,,,1,1,1,,,,1,,1],[1,1,1,1,1,1,,,1,1,1,1,1,1,,1,1,,1,1,1,,1,1,,1,1],[,,,,,,,,,,,,,,,1,,,,1],,[1,1,,1,,1,,,,,,1,,1,,1,1,,1,,1,1,,1,1,,1],[,,1,,,,,,1,,,,1,,1,,,,,1],[1,,,,,,,,,1,,,,,,1,,,,1,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,,,1,,1,,,,,,1,,,1,,,,,,,,1],[,1,,1,,,,,,,,,,,,1],,[1,1,,,,,,,,,,,,,,,,,,,,,,1,1],[1]],[,[1,,,,,,,,,1,,,,,1,,1,,1],[,1,1,,1,1,,1,1,1,,,1,1,1,,,,1,,,1,,,,1],[,1,,,,,,,1,,,,1,,,,,,1],[1,1,1,1,1,1,,,,1,,,,,,,,,1,1,1,1],[1],[,1,1,,,1,1,,,,,1,,1,,,,,,,,1,,,,1],[1,,1,,,1,,1,,,,,1,1,1,1,,,,1,,,,1],[,,1,,,,,,,1,,,,,,,1,,,,,,,1],[1,,,,,,,,,,,,,,1,,,,1],[,,,1,,1,,,,,1,,,,1,1,,,,1],[1,,,,,1,,,1,1,,1,1,,,1,1,,1,1,1,,1,1,1,,1],[,1,1,,,,,1,,1,,1,1,1,,1,1,,,1,,1,1,1],[,1,,,,1,,,,1,,,1,,1,1,,,1,1,1,,,,,1],[1,,1,1,,1,,1,1,,1,,1,1,1,1,1,,,1,1,,,,,,1],[1,,,,,,,,,,,,,,,,,,1,,,1,,1],[,,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,,,,1,,1],[,1,,,,1,,,1,1,,1,,,1,1,,,1,,,1,,,1,1],[1,1,,1,1,1,,1,1,1,,1,,1,1,1,,,1,,1,1,1],[1,,1,1,1,1,,,,1,,1,1,1,,1,,,1,1,1,,1,1,1,1,1],[1,,,,,,,,,,,,,1],[,,1,,,,,,,,,,,,,,,,,,,,1],[1,,,,,,,,,,,1,,1,,1,,,,1],[,,,1,,,,,,,,,1],[,1,,,,,,,,,,,,,,1,,,,,,,,,1],[,,,,,,,,1,1,,,,1,,,,,1,,,,,,,,1]],[,[1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,,1,1,1,1,1,,,1,1,1],[,,,,,1,,,,1,1,1,,1,1,1,,,1,,1,1,,1],[,,,,,,,,,,,,,,,,,,,1,1],[,1,,,,,,1,,,,,,,,,,,,,1],[,,1,,,1,,1,1,1,,1,1,,1,,,,1,,1,1],,[,,1,,,1,,,,,,1,,,,1],[,,,,,,,,,1,,,,,,,,,,1],[1,1,1,1,1,1,,1,1,1,,,1,1,,1,,1,,,1,1,1,,,1],[,,,,,1,,,,,,,,,,,,,1],[,1,,,,,,,,,,,,1,,1,1,,1,1,,1],[,,,,,1,,,,,,,,,,,,,,1],[,1,1,1,1,,,,,1,,,1,,1,,,,1,1,,,,1,1],[,1,,,1,,,1,,1,1,,1,,,,,,,1],[,,1,,1,,,1,,,,,,,,,,,1,1,,,,1],[,1,,,,,,,,,,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,1,,,,,,,,,,,,,,,,1,,1,1],[,,,,,,,,,,,,1],,[,1,1,1,1,,,,1,1,,1,1,1,1,1,1,,1,1,1,1,,1,,1],[1,,,,1,,,,,,,,,,1],[1,,,,,,,,,1],,[,1,,,,1,,,,,,,,,,,,,,,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,,,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,,1,1,1,,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,,,1,1,1,,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1,,1,1,1,1],[1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,,,1,1,1,1,,1,,,,1,1,,,1,1,,1],[,1,1,,1,,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,,,,,,,,,,1],[1,1,1,,,,,1,1,1,,1,1,1,1,1,,1,1,1,1,1,,,,,1],[,1,,,,,,,1,1,,,1,1,1,,1,,,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,1],[,1,,,,1,,,,1,,,1,,,,1,,,,,,,1,1],[,1,1,1,1,1,,,1,1,1,,1,1,1,1,,,1,1,1,1,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1],[1,1,1,,1,,,1,1,1,1,,1,1,1,1,,,,1,,1,,1,,,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,,1,1,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,,1,,1,,1,,1,,1,1,1,1,1,,,1,,1,,1,,,,1],[,1,1,1,1,1,,1,1,1,,,1,1,1,1,1,,1,1,1,,1,1,,1],[1,,,1,,,,1,1,1,,,,,1,1,,,,1,,1],[1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,,,,,,,,1,,1,1,,,,,,,1,,1],[,1,,,,1,,1,1,,,,1,1,,1,,,,1,1,1,,1],[,,,,,,,,,,,,,1],[,1,,,,,,1,,,,,,,1],[,,,,,,,,1,,,,1,,1,,,,,,,,,,,,1]],[,[,1,1,,1,1,1,1,,1,1,1,,1,1,,1,1,,1,1,1,1,1,1,,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,1,,,1,,,,,,,,1,,,,,,1,,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,,1,1,1,,1,1,1,1,,,1,1,1,1,,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,,1,,1,,1,,1,1,1,1,1,1,1,,1,1,,,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1],[,1,1,,,,,1,1,1,,,1,,1,1,,,,1,,1,,,1,1],[,,,,,,,1,,,,1,1,1,1,1,,1,,,1,,,,,1],[1,1,1,1,,1,1,1,,1,,1,1,1,1,,1,,1,,1,1,,,1,,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,1,1,,1,,1,1,1,,1,,1,1,,1,1,,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,,,,,,,1,,,,,1,,1],[,1,1,1,,1,,1,,1,,,,1,,1,,,1,,,,,1,1,1],[,1,,,1,1,,1,,1,,1,1,1,1,1,,1,1,,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,,,1,,1,,1,,,,,1,1,,1,,,,1,1]],[,[,1,,1,,,,,,,,1,,,,,,,1,,,,1],[,,,,,,,,,1,,1,1,1,,1,,,1,,1,1],[1,1,,,,,,,1,,,,,1,,1,,,,,,1],[,1,,,,,,,,,,1,,,,,,,,,1,1],,[,,,,,,,,,,,,,,,1,,,,1,,1],[,,1,1,,1,,1,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,,,1,1],[,1,,,,1,,,,,,,,,1],[1,,1,1,,,,1,,,,,,,,,1,,,1,,,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,,1,1,,1,1,,1,,1],[,1,,,1,1,,,,,,1,,1,,1,,,1,,1,1],[1,1,1,1,,1,,1,,1,,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,,,1,,1,,1,1,1,,,1,1,1,,1,1,1,1,,1,1],[,,,,1,,,1,,,,,,,1,,,,1,1],[,1,,,,,,,,,,1,,1,,1,,,,,1,,,,,1],,[1,1,,1,,1,,1,1,,,,,,1,1,,,1,1,1,1,1,1,1,1,1],[1,1,,1,,,,,,1,,,,,1,1,1,,,,1,1,,,1],[,1,1,,1,1,,,,1,,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1],[,1,1,,,1,,,,1,,,,1,1],[,,,,1],[,,,,,,,,,1,,,1],,[,,1,,1,,,,,,,,,1,,,,,,,,,,,,1],[,,,,,,,,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,1,,1,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,,,,,1],[,1,,1,,,,,,1,,,,,1,1,,,,,1,1],[,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,,,1,,1,1,1],[,1,,,,1,,,,,,,1],[,1,,,1,,,1,,1,,1,1,,1,,,,,1,,1,,,,1,1],[,1,,,1,,,1,1,1,1,1,1,1,1,1,,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1],[,,,,,,,,,,,,,,,,,,,,1],[,1,1,1,,,,1,1,,,,,,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,1,1,1,1,1,1,1,,1,,1,1,1,1,1,,1,1,,1,1,1,1,1],[,1,,,,1,,,,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,1,,,,,,,,,,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,,1,1,1,,1,1,1,,,1,1,1,1,1,1,1,1,1,1,,1,,1],[1,1,,,,,,,1,1,,,,,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,,1,1,1,,1,,1,1,1,1,,1,1,,1,1,1,1],,[,1,1,,,,,1,,1,,,,1,1,1,,,1,,,,,1],[,,,,,,,,,,,,,1],[,,,,,1,,,,,,,,1,1,,,,,1,,1,,,1,1],[,,,,,1,,,1,,,,,,1]],[,[,1],,,,,,,,,,,,,,,,,,,,[1,1,1,1,1,,1,1,1,1,,1,1,1,1,,1,1,1,1,,,1,1,1,1,1],[,1,,1,,1,,,1,1,1,,1,1,1,1,1,,,1,,,,1,,1,1],[,1,,1,,1,,,1,,,,,1,,,,,,1,1],[,1,,1,,,,,1,,,,1,,1,1,1,1,1,1,1,1,,1],[,1,,,,,,,,,,,,,,,1]],[,[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,,,,,,,,,1,1,,,,1],[,,,,,,1],[,,1],[,1,1,,,1,,1,,1,1,,1,1,1,,,,1,1,1,,,,,1],,[,1,,,,1,,,,,,1,,,1,,,,1,1,,1],[,,,,,,,1,,,,,,,,,1],[,1,1,,,1,1,,,,,,1,1,1,,,,1,,1,1],[,,,,,,,1,,1,,,,,,,,,,1],[,1,1,,,,,,1,1,,,,1,,,,,,,1,,,1],,[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,1,,,1,,,,,1,,1,,1,,1,,,,,1],[1,1,1,1,1,1,1,1,,,,,1,1,,1,1,,1,,,1,,1],[,,,,,,,,,,,,,,1,,,,,,1],,[,,,,,,,,,1,,,,1,,1,,,,,1],[,,1,,,,,,,1,,1,1,1,1,,,,,,,,,1],[,,,1,,,,,1,,,,,1,,,,,,1,,,,1],[1,,1,1,,1,1,1,1,1,,1,,,,1,1,1,,,1,1,,,,1,1],,[1,1,,,,,,,,,,1,1,1,,1,,,1],[,,,,1,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,1,,,,,1,,1],[,,,,,,,,1]],[,[1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,,1,1,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,,1,,,1,,,,,,,,1,,,,,,1,,,,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,,,,1,1,1,1,1,1,,1,1,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1],[,,1,1,1,1,,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,,,,,,,1,,1,1,,1,1,1,,1,1,1,1,1,,,1],[1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,1,1,,1,,1,,1,1,1,1,1,,1,,1,1,1,1,,1,1,1,1,1],[1,1,1,1,,1,,,,,,1,,1,,,,,1,1,,,,,1],[1,,1,1,,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,1,,1,,1,,,,1,1,1,1,1,,,1,1,,1,,1],[,1,1,1,1,,,,,1,,1,1,1,1,1,,,1,1,,,,1,1,1],[,1,1,1,1,1,,1,,,,,1,,1,,1,,,1,,,1,1,,1]],[,[1,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,,,,,,1,,,,,1,1,,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,,,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,,1,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,,,,,,1,,1,1,,1,1,1,1,1,,,1,,1,,1],[1,1,1,,1,1,1,1,,,,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,,1,,,,,,,,,,1,1,1,1,1,1,1,,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,,,1,1,,,,1,,1,1,1,1,1,,,,1,1,1,,1,1,1],[1,1,1,1,1,1,1,1,1,,,,1,1,1,1,1,1,1,,1,1,,1,1,1],[,1,1,1,,1,,1,1,1,1,,,1,1,1,,1,1,1,1,1,,,1,1],[1,1,,,,1,,,1,1,1,,1,,1,,1,,1,1,1,1,1,,1,1,1],[,1,,,,,,,1,,1,,1,1,1,1,,,,,,,,,1]],[,[,,,,,,,,,,,,,1,1,,,,1],[,1,,,,,,,,1,,,1,,,,,,1,,,1,,,,1],,[,1,,,,1,,1,,1,1,,1,1,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,1],[1,1,1,,,1,,,1,,,,,,1,1,,,,,,,,,,1],[,1,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1,,,1],[,,,,,,,,,1],[1,1,,,,,,1,1,1,,1,1,,,,1,1,,1,,1,1,1,,1],[,1,1,1,,1,1,,,1,,1,1,1,1,,,,,,,1,,1,,1],[,1,1,1,1,,,1,,1,,,,1,1,1,1,,1,1,,1],[,1,,,1,1,,1,,1,,1,,1,1,,1,,1,,,1,,,1,,1],[,,,,,,,,,,,1,,,1],[,,,,,,,,,1,,,,,,,,,,,,,1],,[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1],[,1,,,,,,,1,1,,1,,,,,1,,,1,,1],[,1,,,,1,,,1,,,,,,,,1,,1,,,1],[,,,,,,,,,,,,,1,1,,,,1,,,1],[,,,,,1,,,1,,,,1],[,1],,[,1],[1,,,,,,,,,,,,,,1,,,,,1]],[,[,1,,,,1,1,1,1,1,1,,1,1,1,1,1,,1,1,,1,1,,,1],[,,1,,,,,,,,,1],,,[1,,,1,1,,,,,,,,1,1,,1,1,,1],,[,,,,,,,,,,,,,,,,,,1,,1],,[1,,,1,1,,1,1,,,,,1,,1,,,,,1,1,,1],[,,,,,,,,,,,1],[,1,,,,,,,,1,1,1,1,1,1,1,1,,,,1,1,,,,,1],[,,,,,,,,,,,,,,,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,,1,1,1,1,1,1],[,,,,,,,,,,,1,,1,,,1],[1,,,,,,,,,,,,,,,,,,1,,1],,,[,1,,,,,,,,,,,,,,1,,,,1,1],[,,,,,,,,,1,,,1,,1,,,,,,,,1],[,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,1,1,,,,,,1],,[,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,,1,1,,1,1,1,1,1,1,,,1,1,1,1,1,,1,1],[,1,,,,,,,,1],[,,,,1,,,1,,,1,1,,,,,,,,,1,1,,,,1],[,1,,1,1,,,1,1,1,,,,1,1,1,1,,1,1,1,1,,1],[,,,,,,,1],[,1,1,,,,,1,,1,,,,,,1,,,,,,1,,1,,1],[,1,,,,,,1,,,,1,,,,,,,,,,1],[,,1,1,,1,1,1,1,1,1,1,1,1,1,,,,1,,1,1,1,1,,1],[,1,,,,,,,,1],[,1,1,,1,,,,,,,,1,,,,,,1,,,1,,1,,1],[,1,,1,,1,,1,1,1,,1,1,1,,1,,,1,1,,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,,,,1,1,1,,,,1,1,,,1,1],[,,1,1,1,1,,1,,1,,1,,1,1,1,1,,,,,1,,1,,1],[1,1,1,1,1,1,1,1,,1,,1,,1,1,1,,,1,1,,,,1,,1],[,,,1],,[,1,1,,1,,,1,1,1,,1,1,1,1,1,1,,1,1,,1,1,1,1,1,1],[,1,,,,,,1,,1,,1,,,,,,,1,1,,1,1],[,,1,,,,1,,1,1,,1,,1,,,,,,,,,,1],[,1,1,,1,,,,1,,,,1,1,1,,,,1,,1,1,1,,1,1],,[,1,1,,,,,,,,,,,,,1,,,1,,,,,1],[,1,,,,,,,,,,,,,,,,,,,,,,1],[,1,1,,,,,,,1,,,,1,1,,,,1,,,,,,,1]],[,[,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[,1,1,1,1,1,,1,,1,1,,,1,1,1,1,,1,,,,,1,1,1],[,,1,1,,1,,1,1,,,,1,1,1,1,,,1,,1,1,1,1,,1],[,1,,1,,,,,,,,1,,1,,1,,1,,,,,,,,1],[,,1,,1,,,1,,,,,1,1,,,1,,1,1,1,1],[,1],[,1,1,,1,,1,1,,1,,,1,1,1,,,,1,,,1,,1],[1,1,,1,1,1,,,,,,,,1,,,,,1,,1,1,1],[,1,1,,,,,,,1,,,1,,1,,1,,1,1,,,1,,,1],[,,1,,,,,,,,,,,,,,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,,1,,,,,1,1,1,,,1,,1,,,,1],[,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,1,1,1,1,1,,1,1,1,,1,1,1,1,1,,,,1,1],[,,,1,1,,,1,,1,,1,,1,1,1,1,,1,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,,,,,,,,,,,,,,,,1],[,1,1,,1,1,,1,,1,,,,1,1,,,1,1,,1,1,,1],[,1,1,1,1,1,,,1,1,1,,1,1,1,1,1,1,1,1,,1,1,,,1],[,1,1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,,1,,,1,,,1,,1,1,1,1,1,,1,,1,1],[,,,,,1,,,,1,,,,,1,1,,,,1],[,1,,1,1,1,,1,,,1,1,1,,,1,,,1,,1,,,1],[,,1,,,,,,,,,1,,1,,,,,1,,1],[,1,1,,,,,,,,1,1,1,,,,,,,,1,,,,,1],[,,,,,,,,1,,,,,1,,,1]],[,[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,,,1,1,1,1,1,1,1,1,,,,,,,,,1,1],[,,,,,,,,1,,,,1,,1,,1,,1],[,1,,,1,1,,1,,,,1,,,,,,,,1],[,1,,1,,1,,,,1,1,,1,,1,,,,1,1,1,1,1,,,1],,[,1,,,,,,,,1,,,1,1,,,1,,1,1,,1,,1],[,1,,,1,,,,,,,,1,,,,,,,1],[1,1,,,,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1],,[,1,,,,,,1,1,1,,1,1,1,1,1,,,1,,1,1,,,,1],[,1,1,,,1,,1,,1,,,1,1,1,1,,,1,,,1,,,,1],[,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,,,1,,1],[,1,1,,1,1,,1,1,,,1,1,,1,1,,1,,1,,1],[1,,1,,,,,1,,1,,1,1,1,1,,,,,1,1,,,,1,1],[,1,1,,,,,1,1,,,1,,1,1,1,1,,,,,,,,,,1],,[,1,1,,,1,,,,1,,1,1,1,1,1,,,,1,,,,1,,1],[,,,1,1,,,1,,,,,1,1,1,1,1,,1,1,,,,,,1],[,1,,,,,,,,,,,1,,,,1,,,,,,,1,,1],[,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,,1,1,,1,1,1,1],[,1,,,,,,,,,,,,,,,,,,,1],[,1,,,,,,1,,,,,1,,1,,,1,1,,1,1,,1],[,1,,,,,,1,,,,,1,1,,,,,,,,1,,,,1],[,,,,,,,,,,,,,,,,,,1,,,1,,,,,1],[,,,,,,,1,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,,1,,,,,,,1,,,,,,,,1,1,,1],[,1,,,1,,,,1],[,,,,,,,,,,1],[,1,,,,,,1,1,,,,,1,1],,[,1,1,,,,,,1,,,,,1,1,,,,1],[1,,1,,1,,,,,1,,,,,1,,,,,,,,,1,1],[,1,1,,,,,,,,,1,1,1,1,,,,1,,,,,1,,,1],,[,1,1,,1,,,1,1,,,1,,,1,1,1,,1,,1,1,1,,,,1],[,1,,,,1,,,,,1,,,1,1,,,1,,1,,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,1,1,,1,,,,1,,,,,,,,1],[,,,1,,,,,1,,,,,1,,1,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,,1],[,1,,,,,,1,,,,,,,1,1,1,,,1],[,1,,,,,,,,,,1,1,1,,,,,1,,,1],[,,,,,1,,1,,,,,1,1,1,,1,1,,1,1,1,,,1,1],[1,1,,,,,,,1,,,,,1,1,,,,,,,,,,,1],,[,1],[,,,,,,,,,,,,,,,,,,,,,,,,1],[,,1,,,,,1,,,1,,,,1,,1],[,1,,,,,,,,,1]]];function L_(e){for(var t=Em;e.length<3;)e+="`";for(var r=0;r<=e.length-1;r++){var n=e.charCodeAt(r)-96;if(t=t[n],!t)return false}return true}function Cm(e){e=Array.isArray(e)?e:Em;var t=[];return e.forEach(function(r,n){var a=String.fromCharCode(n+96).replace("`","");Array.isArray(r)?t=t.concat(Cm(r).map(function(i){return a+i})):t.push(a);}),t}var wo=L_,M_=(function(e){function t(r){var n;return rr(this,t),n=te(this,t),n._props=P_(r),n._attrs=N_(r),n}return Me(t,e),zt(t,[{key:"props",get:function(){return this._props}},{key:"attr",value:function(n){var a;return (a=this._attrs[n])!==null&&a!==void 0?a:null}},{key:"hasAttr",value:function(n){return this._attrs[n]!==void 0}},{key:"attrNames",get:function(){return Object.keys(this._attrs)}}])})(Mt),Vl={"#cdata-section":2,"#text":3,"#comment":8,"#document":9,"#document-fragment":11},Sm={},O_=Object.keys(Vl);O_.forEach(function(e){Sm[Vl[e]]=e;});function P_(e){var t,r,n,a=(t=e.nodeName)!==null&&t!==void 0?t:Sm[e.nodeType],i=(r=(n=e.nodeType)!==null&&n!==void 0?n:Vl[e.nodeName])!==null&&r!==void 0?r:1;nt(typeof i=="number","nodeType has to be a number, got '".concat(i,"'")),nt(typeof a=="string","nodeName has to be a string, got '".concat(a,"'")),a=a.toLowerCase();var o=null;a==="input"&&(o=(e.type||e.attributes&&e.attributes.type||"").toLowerCase(),yo().includes(o)||(o="text"));var s=Te({},e,{nodeType:i,nodeName:a});return o&&(s.type=o),delete s.attributes,Object.freeze(s)}function N_(e){var t=e.attributes,r=t===void 0?{}:t,n={htmlFor:"for",className:"class"};return Object.keys(r).reduce(function(a,i){var o=r[i];if(nt(fe(o)!=="object"||o===null,"expects attributes not to be an object, '".concat(i,"' was")),o!==void 0){var s=n[i]||i;a[s]=o!==null?String(o):null;}return a},{})}var km=M_;function q_(e,t){if(e=e||function(){},t=t||m.log,!m._audit)throw new Error("No audit configured");var r=m.utils.queue(),n=[];Object.keys(m.plugins).forEach(function(i){r.defer(function(o){var s=function(u){n.push(u),o();};try{m.plugins[i].cleanup(o,s);}catch(l){s(l);}});});var a=m.utils.getFlattenedTree(v.body);m.utils.querySelectorAll(a,"iframe, frame").forEach(function(i){r.defer(function(o,s){return m.utils.sendCommandToFrame(i.actualNode,{command:"cleanup-plugin"},o,s)});}),r.then(function(i){n.length===0?e(i):t(n);}).catch(t);}var Tm=q_,Pa={},Rm;function Fm(e){return Pa.hasOwnProperty(e)}function jl(e){return typeof e=="string"&&Pa[e]?Pa[e]:typeof e=="function"?e:Rm}function B_(e,t,r){Pa[e]=t,r&&(Rm=t);}function H_(e){var t=m._audit;if(!t)throw new Error("No audit configured");if(e.axeVersion||e.ver){var r=e.axeVersion||e.ver;if(!/^\d+\.\d+\.\d+(-canary)?/.test(r))throw new Error("Invalid configured version ".concat(r));var n=r.split("-"),a=Ae(n,2),i=a[0],o=a[1],s=i.split(".").map(Number),l=Ae(s,3),u=l[0],c=l[1],f=l[2],g=m.version.split("-"),w=Ae(g,2),S=w[0],P=w[1],H=S.split(".").map(Number),z=Ae(H,3),G=z[0],X=z[1],Y=z[2];if(u!==G||X<c||X===c&&Y<f||u===G&&c===X&&f===Y&&o&&o!==P)throw new Error("Configured version ".concat(r," is not compatible with current axe version ").concat(m.version))}if(e.reporter&&(typeof e.reporter=="function"||Fm(e.reporter))&&(t.reporter=e.reporter),e.checks){if(!Array.isArray(e.checks))throw new TypeError("Checks property must be an array");e.checks.forEach(function(ne){if(!ne.id)throw new TypeError("Configured check ".concat(JSON.stringify(ne)," is invalid. Checks must be an object with at least an id property"));t.addCheck(ne);});}var Z=[];if(e.rules){if(!Array.isArray(e.rules))throw new TypeError("Rules property must be an array");e.rules.forEach(function(ne){if(!ne.id)throw new TypeError("Configured rule ".concat(JSON.stringify(ne)," is invalid. Rules must be an object with at least an id property"));Z.push(ne.id),t.addRule(ne);});}if(e.disableOtherRules&&t.rules.forEach(function(ne){Z.includes(ne.id)===false&&(ne.enabled=false);}),typeof e.branding<"u"?t.setBranding(e.branding):t._constructHelpUrls(),e.tagExclude&&(t.tagExclude=e.tagExclude),e.locale&&t.applyLocale(e.locale),e.standards&&iD(e.standards),e.noHtml&&(t.noHtml=true),e.allowedOrigins){if(!Array.isArray(e.allowedOrigins))throw new TypeError("Allowed origins property must be an array");if(e.allowedOrigins.includes("*"))throw new Error('"*" is not allowed. Use "'.concat(Xe.allOrigins,'" instead'));t.setAllowedOrigins(e.allowedOrigins);}}var V_=H_;function j_(e){br.updateMessenger(e);}function $_(e){e=e||[];var t=e.length?m._audit.rules.filter(function(n){return !!e.filter(function(a){return n.tags.indexOf(a)!==-1}).length}):m._audit.rules,r=m._audit.data.rules||{};return t.map(function(n){var a=r[n.id]||{};return {ruleId:n.id,description:a.description,help:a.help,helpUrl:a.helpUrl,tags:n.tags,actIds:n.actIds}})}var z_=$_;function G_(e,t,r){var n=["SCRIPT","HEAD","TITLE","NOSCRIPT","STYLE","TEMPLATE"];if(!n.includes(e.nodeName.toUpperCase())&&Fa(r)){var a=d.getComputedStyle(e);if(a.getPropertyValue("display")==="none")return;if(a.getPropertyValue("visibility")==="hidden"){var i=Ot(e),o=i&&d.getComputedStyle(i);if(!o||o.getPropertyValue("visibility")!=="hidden")return}}return true}var W_=G_,Im={};fr(Im,{getAllCells:function(){return $l},getCellPosition:function(){return Qi},getHeaders:function(){return xo},getScope:function(){return rl},isColumnHeader:function(){return Pn},isDataCell:function(){return Mm},isDataTable:function(){return Do},isHeader:function(){return Z_},isRowHeader:function(){return Nn},toArray:function(){return Hr},toGrid:function(){return Hr},traverse:function(){return zl}});function U_(e){var t,r,n,a,i=[];for(t=0,n=e.rows.length;t<n;t++)for(r=0,a=e.rows[t].cells.length;r<a;r++)i.push(e.rows[t].cells[r]);return i}var $l=U_;function Lm(e,t,r){for(var n=e==="row"?"_rowHeaders":"_colHeaders",a=e==="row"?Nn:Pn,i=r[t.y][t.x],o=i.colSpan-1,s=i.getAttribute("rowspan"),l=parseInt(s)===0||i.rowspan===0?r.length:i.rowSpan,u=l-1,c=t.y+u,f=t.x+o,g=e==="row"?t.y:0,w=e==="row"?0:t.x,S,P=[],H=c;H>=g&&!S;H--)for(var z=f;z>=w;z--){var G=r[H]?r[H][z]:void 0;if(G){var X=m.utils.getNodeFromTree(G);if(X[n]){S=X[n];break}P.push(G);}}return S=(S||[]).concat(P.filter(a)),P.forEach(function(Y){var Z=m.utils.getNodeFromTree(Y);Z[n]=S;}),S}function X_(e,t){if(e.getAttribute("headers")){var r=_r(e,"headers");if(r.filter(function(o){return o}).length)return r}t||(t=Hr(Mn(e,"table")));var n=Qi(e,t),a=Lm("row",n,t),i=Lm("col",n,t);return [].concat(a,i).reverse()}var xo=X_;function Y_(e){if(!e.children.length&&!e.textContent.trim())return false;var t=Qe(e);return t?["cell","gridcell"].includes(t):e.nodeName.toUpperCase()==="TD"}var Mm=Y_;function K_(e){var t=Qe(e);if((t==="presentation"||t==="none")&&!Ct(e))return false;if(e.getAttribute("contenteditable")==="true"||Mn(e,'[contenteditable="true"]')||t==="grid"||t==="treegrid"||t==="table"||yr(t)==="landmark")return true;if(e.getAttribute("datatable")==="0")return false;if(e.getAttribute("summary")||e.tHead||e.tFoot||e.caption)return true;for(var r=0,n=e.children.length;r<n;r++)if(e.children[r].nodeName.toUpperCase()==="COLGROUP")return true;for(var a=0,i=e.rows.length,o,s,l=false,u=0;u<i;u++){o=e.rows[u];for(var c=0,f=o.cells.length;c<f;c++){if(s=o.cells[c],s.nodeName.toUpperCase()==="TH"||(!l&&(s.offsetWidth!==s.clientWidth||s.offsetHeight!==s.clientHeight)&&(l=true),s.getAttribute("scope")||s.getAttribute("headers")||s.getAttribute("abbr"))||["columnheader","rowheader"].includes(Qe(s))||s.children.length===1&&s.children[0].nodeName.toUpperCase()==="ABBR")return true;a++;}}if(e.getElementsByTagName("table").length||i<2)return false;var g=e.rows[Math.ceil(i/2)];if(g.cells.length===1&&g.cells[0].colSpan===1)return false;if(g.cells.length>=5||l)return true;for(var w,S,P=0;P<i;P++){if(o=e.rows[P],w&&w!==d.getComputedStyle(o).getPropertyValue("background-color")||(w=d.getComputedStyle(o).getPropertyValue("background-color"),S&&S!==d.getComputedStyle(o).getPropertyValue("background-image")))return true;S=d.getComputedStyle(o).getPropertyValue("background-image");}return i>=20?true:!(Vs(e).width>$i(d).width*.95||a<10||e.querySelector("object, embed, iframe, applet"))}var Do=K_;function J_(e){if(Pn(e)||Nn(e))return true;if(e.getAttribute("id")){var t=Dt(e.getAttribute("id"));return !!v.querySelector('[headers~="'.concat(t,'"]'))}return false}var Z_=J_;function Om(e,t,r,n){var a,i=r[t.y]?r[t.y][t.x]:void 0;return i?typeof n=="function"&&(a=n(i,t,r),a===true)?[i]:(a=Om(e,{x:t.x+e.x,y:t.y+e.y},r,n),a.unshift(i),a):[]}function Q_(e,t,r,n){if(Array.isArray(t)&&(n=r,r=t,t={x:0,y:0}),typeof e=="string")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};break}return Om(e,{x:t.x+e.x,y:t.y+e.y},r,n)}var zl=Q_,Pm={};fr(Pm,{allowedAttr:function(){return Nm},arialabelText:function(){return Ca},arialabelledbyText:function(){return Ea},getAccessibleRefs:function(){return Gl},getElementUnallowedRoles:function(){return Hm},getExplicitRole:function(){return Qe},getImplicitRole:function(){return Er},getOwnedVirtual:function(){return Ta},getRole:function(){return Ye},getRoleType:function(){return yr},getRolesByType:function(){return dE},getRolesWithNameFromContents:function(){return mE},implicitNodes:function(){return gE},implicitRole:function(){return Er},isAccessibleRef:function(){return Ao},isAriaRoleAllowedOnElement:function(){return Bm},isComboboxPopup:function(){return Ul},isUnsupportedRole:function(){return el},isValidRole:function(){return Sa},label:function(){return zm},labelVirtual:function(){return ro},lookupTable:function(){return jm},namedFromContents:function(){return dp},requiredAttr:function(){return Gm},requiredContext:function(){return Xl},requiredOwned:function(){return Yl},validateAttr:function(){return _o},validateAttrValue:function(){return Wm}});function eE(e){var t=at.ariaRoles[e],r=_e(tn());return t&&(t.allowedAttrs&&r.push.apply(r,_e(t.allowedAttrs)),t.requiredAttrs&&r.push.apply(r,_e(t.requiredAttrs))),r}var Nm=eE,tE=/^idrefs?$/;function qm(e,t,r){if(e.hasAttribute){if(e.nodeName.toUpperCase()==="LABEL"&&e.hasAttribute("for")){var n=e.getAttribute("for");t.has(n)?t.get(n).push(e):t.set(n,[e]);}for(var a=0;a<r.length;++a){var i=r[a],o=Ve(e.getAttribute(i)||"");if(o){var s=it(jt(o)),l;try{for(s.s();!(l=s.n()).done;){var u=l.value;t.has(u)?t.get(u).push(e):t.set(u,[e]);}}catch(f){s.e(f);}finally{s.f();}}}}for(var c=0;c<e.childNodes.length;c++)e.childNodes[c].nodeType===1&&qm(e.childNodes[c],t,r);}function rE(e){var t;e=e.actualNode||e;var r=qt(e);r=r.documentElement||r;var n=Ue.get("idRefsByRoot",function(){return new Map}),a=n.get(r);if(!a){a=new Map,n.set(r,a);var i=Object.keys(at.ariaAttrs).filter(function(o){var s=at.ariaAttrs[o].type;return tE.test(s)});qm(r,a,i);}return (t=a.get(e.id))!==null&&t!==void 0?t:[]}var Gl=rE;function nE(e,t){var r=e instanceof Mt?e:Ke(e),n=Er(r),a=rn(r);return Array.isArray(a.allowedRoles)?a.allowedRoles.includes(t):t===n?false:!!a.allowedRoles}var Bm=nE,aE=["doc-backlink","doc-biblioentry","doc-biblioref","doc-cover","doc-endnote","doc-glossref","doc-noteref"],iE={header:"banner",footer:"contentinfo"};function oE(e){var t=[];if(!e)return t;if(e.hasAttr("role")){var r=jt(e.attr("role").toLowerCase());t=t.concat(r);}return t.filter(function(n){return Sa(n)})}function sE(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:true,r=rt(e),n=r.vNode;if(!Ll(n))return [];var a=n.props.nodeName,i=Er(n)||iE[a],o=oE(n);return o.filter(function(s){return !lE(s,n,t,i)})}function lE(e,t,r,n){return r&&e===n?true:aE.includes(e)&&yr(e)!==n?false:Bm(t,e)}var Hm=sE;function uE(e){return Object.keys(at.ariaRoles).filter(function(t){return at.ariaRoles[t].type===e})}var Bn=uE;function cE(e){return Bn(e)}var dE=cE;function fE(){return Ue.get("ariaRolesNameFromContent",function(){return Object.keys(at.ariaRoles).filter(function(e){return at.ariaRoles[e].nameFromContent})})}var Wl=fE;function pE(){return Wl()}var mE=pE,Vm=function(t){return t===null},Bt=function(t){return t!==null},jr={};jr.attributes={"aria-activedescendant":{type:"idref",allowEmpty:true,unsupported:false},"aria-atomic":{type:"boolean",values:["true","false"],unsupported:false},"aria-autocomplete":{type:"nmtoken",values:["inline","list","both","none"],unsupported:false},"aria-busy":{type:"boolean",values:["true","false"],unsupported:false},"aria-checked":{type:"nmtoken",values:["true","false","mixed","undefined"],unsupported:false},"aria-colcount":{type:"int",unsupported:false},"aria-colindex":{type:"int",unsupported:false},"aria-colspan":{type:"int",unsupported:false},"aria-controls":{type:"idrefs",allowEmpty:true,unsupported:false},"aria-current":{type:"nmtoken",allowEmpty:true,values:["page","step","location","date","time","true","false"],unsupported:false},"aria-describedby":{type:"idrefs",allowEmpty:true,unsupported:false},"aria-describedat":{unsupported:true,unstandardized:true},"aria-details":{type:"idref",allowEmpty:true,unsupported:false},"aria-disabled":{type:"boolean",values:["true","false"],unsupported:false},"aria-dropeffect":{type:"nmtokens",values:["copy","move","reference","execute","popup","none"],unsupported:false},"aria-errormessage":{type:"idref",allowEmpty:true,unsupported:false},"aria-expanded":{type:"nmtoken",values:["true","false","undefined"],unsupported:false},"aria-flowto":{type:"idrefs",allowEmpty:true,unsupported:false},"aria-grabbed":{type:"nmtoken",values:["true","false","undefined"],unsupported:false},"aria-haspopup":{type:"nmtoken",allowEmpty:true,values:["true","false","menu","listbox","tree","grid","dialog"],unsupported:false},"aria-hidden":{type:"boolean",values:["true","false"],unsupported:false},"aria-invalid":{type:"nmtoken",allowEmpty:true,values:["true","false","spelling","grammar"],unsupported:false},"aria-keyshortcuts":{type:"string",allowEmpty:true,unsupported:false},"aria-label":{type:"string",allowEmpty:true,unsupported:false},"aria-labelledby":{type:"idrefs",allowEmpty:true,unsupported:false},"aria-level":{type:"int",unsupported:false},"aria-live":{type:"nmtoken",values:["off","polite","assertive"],unsupported:false},"aria-modal":{type:"boolean",values:["true","false"],unsupported:false},"aria-multiline":{type:"boolean",values:["true","false"],unsupported:false},"aria-multiselectable":{type:"boolean",values:["true","false"],unsupported:false},"aria-orientation":{type:"nmtoken",values:["horizontal","vertical"],unsupported:false},"aria-owns":{type:"idrefs",allowEmpty:true,unsupported:false},"aria-placeholder":{type:"string",allowEmpty:true,unsupported:false},"aria-posinset":{type:"int",unsupported:false},"aria-pressed":{type:"nmtoken",values:["true","false","mixed","undefined"],unsupported:false},"aria-readonly":{type:"boolean",values:["true","false"],unsupported:false},"aria-relevant":{type:"nmtokens",values:["additions","removals","text","all"],unsupported:false},"aria-required":{type:"boolean",values:["true","false"],unsupported:false},"aria-roledescription":{type:"string",allowEmpty:true,unsupported:false},"aria-rowcount":{type:"int",unsupported:false},"aria-rowindex":{type:"int",unsupported:false},"aria-rowspan":{type:"int",unsupported:false},"aria-selected":{type:"nmtoken",values:["true","false","undefined"],unsupported:false},"aria-setsize":{type:"int",unsupported:false},"aria-sort":{type:"nmtoken",values:["ascending","descending","other","none"],unsupported:false},"aria-valuemax":{type:"decimal",unsupported:false},"aria-valuemin":{type:"decimal",unsupported:false},"aria-valuenow":{type:"decimal",unsupported:false},"aria-valuetext":{type:"string",unsupported:false}},jr.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"],jr.role={alert:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:["section"]},alertdialog:{type:"widget",attributes:{allowed:["aria-expanded","aria-modal","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:["dialog","section"]},application:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage","aria-activedescendant"]},owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:["article","audio","embed","iframe","object","section","svg","video"]},article:{type:"structure",attributes:{allowed:["aria-expanded","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["article"],unsupported:false},banner:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["header"],unsupported:false,allowedElements:["section"]},button:{type:"widget",attributes:{allowed:["aria-expanded","aria-pressed","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["button",'input[type="button"]','input[type="image"]','input[type="reset"]','input[type="submit"]',"summary"],unsupported:false,allowedElements:[{nodeName:"a",attributes:{href:Bt}}]},cell:{type:"structure",attributes:{allowed:["aria-colindex","aria-colspan","aria-rowindex","aria-rowspan","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["row"],implicit:["td","th"],unsupported:false},checkbox:{type:"widget",attributes:{allowed:["aria-checked","aria-required","aria-readonly","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:['input[type="checkbox"]'],unsupported:false,allowedElements:["button"]},columnheader:{type:"structure",attributes:{allowed:["aria-colindex","aria-colspan","aria-expanded","aria-rowindex","aria-rowspan","aria-required","aria-readonly","aria-selected","aria-sort","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["row"],implicit:["th"],unsupported:false},combobox:{type:"composite",attributes:{allowed:["aria-autocomplete","aria-required","aria-activedescendant","aria-orientation","aria-errormessage"],required:["aria-expanded"]},owned:{all:["listbox","tree","grid","dialog","textbox"]},nameFrom:["author"],context:null,unsupported:false,allowedElements:[{nodeName:"input",properties:{type:["text","search","tel","url","email"]}}]},command:{nameFrom:["author"],type:"abstract",unsupported:false},complementary:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["aside"],unsupported:false,allowedElements:["section"]},composite:{nameFrom:["author"],type:"abstract",unsupported:false},contentinfo:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["footer"],unsupported:false,allowedElements:["section"]},definition:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["dd","dfn"],unsupported:false},dialog:{type:"widget",attributes:{allowed:["aria-expanded","aria-modal","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["dialog"],unsupported:false,allowedElements:["section"]},directory:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:false,allowedElements:["ol","ul"]},document:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["body"],unsupported:false,allowedElements:["article","embed","iframe","object","section","svg"]},"doc-abstract":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-acknowledgments":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-afterword":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-appendix":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-backlink":{type:"link",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:false,allowedElements:[{nodeName:"a",attributes:{href:Bt}}]},"doc-biblioentry":{type:"listitem",attributes:{allowed:["aria-expanded","aria-level","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author"],context:["doc-bibliography"],unsupported:false,allowedElements:["li"]},"doc-bibliography":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:{one:["doc-biblioentry"]},nameFrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-biblioref":{type:"link",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:false,allowedElements:[{nodeName:"a",attributes:{href:Bt}}]},"doc-chapter":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-colophon":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-conclusion":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-cover":{type:"img",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false},"doc-credit":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-credits":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-dedication":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-endnote":{type:"listitem",attributes:{allowed:["aria-expanded","aria-level","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,namefrom:["author"],context:["doc-endnotes"],unsupported:false,allowedElements:["li"]},"doc-endnotes":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:{one:["doc-endnote"]},namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-epigraph":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false},"doc-epilogue":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-errata":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-example":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["aside","section"]},"doc-footnote":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["aside","footer","header"]},"doc-foreword":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-glossary":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:["term","definition"],namefrom:["author"],context:null,unsupported:false,allowedElements:["dl"]},"doc-glossref":{type:"link",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author","contents"],context:null,unsupported:false,allowedElements:[{nodeName:"a",attributes:{href:Bt}}]},"doc-index":{type:"navigation",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["nav","section"]},"doc-introduction":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-noteref":{type:"link",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author","contents"],context:null,unsupported:false,allowedElements:[{nodeName:"a",attributes:{href:Bt}}]},"doc-notice":{type:"note",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-pagebreak":{type:"separator",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["hr"]},"doc-pagelist":{type:"navigation",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["nav","section"]},"doc-part":{type:"landmark",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-preface":{type:"landmark",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-prologue":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-pullquote":{type:"none",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["aside","section"]},"doc-qna":{type:"section",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-subtitle":{type:"sectionhead",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:{nodeName:["h1","h2","h3","h4","h5","h6"]}},"doc-tip":{type:"note",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["aside"]},"doc-toc":{type:"navigation",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["nav","section"]},feed:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:{one:["article"]},nameFrom:["author"],context:null,unsupported:false,allowedElements:["article","aside","section"]},figure:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["figure"],unsupported:false},form:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["form"],unsupported:false},grid:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-colcount","aria-level","aria-multiselectable","aria-readonly","aria-rowcount","aria-errormessage"]},owned:{one:["rowgroup","row"]},nameFrom:["author"],context:null,implicit:["table"],unsupported:false},gridcell:{type:"widget",attributes:{allowed:["aria-colindex","aria-colspan","aria-expanded","aria-rowindex","aria-rowspan","aria-selected","aria-readonly","aria-required","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["row"],implicit:["td","th"],unsupported:false},group:{type:"structure",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["details","optgroup"],unsupported:false,allowedElements:["dl","figcaption","fieldset","figure","footer","header","ol","ul"]},heading:{type:"structure",attributes:{required:["aria-level"],allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["h1","h2","h3","h4","h5","h6"],unsupported:false},img:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["img"],unsupported:false,allowedElements:["embed","iframe","object","svg"]},input:{nameFrom:["author"],type:"abstract",unsupported:false},landmark:{nameFrom:["author"],type:"abstract",unsupported:false},link:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["a[href]","area[href]"],unsupported:false,allowedElements:["button",{nodeName:"input",properties:{type:["image","button"]}}]},list:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:{all:["listitem"]},nameFrom:["author"],context:null,implicit:["ol","ul","dl"],unsupported:false},listbox:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-multiselectable","aria-readonly","aria-required","aria-expanded","aria-orientation","aria-errormessage"]},owned:{all:["option"]},nameFrom:["author"],context:null,implicit:["select"],unsupported:false,allowedElements:["ol","ul"]},listitem:{type:"structure",attributes:{allowed:["aria-level","aria-posinset","aria-setsize","aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["list"],implicit:["li","dt"],unsupported:false},log:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:["section"]},main:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["main"],unsupported:false,allowedElements:["article","section"]},marquee:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:["section"]},math:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["math"],unsupported:false},menu:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-orientation","aria-errormessage"]},owned:{one:["menuitem","menuitemradio","menuitemcheckbox"]},nameFrom:["author"],context:null,implicit:['menu[type="context"]'],unsupported:false,allowedElements:["ol","ul"]},menubar:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-orientation","aria-errormessage"]},owned:{one:["menuitem","menuitemradio","menuitemcheckbox"]},nameFrom:["author"],context:null,unsupported:false,allowedElements:["ol","ul"]},menuitem:{type:"widget",attributes:{allowed:["aria-posinset","aria-setsize","aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["menu","menubar"],implicit:['menuitem[type="command"]'],unsupported:false,allowedElements:["button","li",{nodeName:"iput",properties:{type:["image","button"]}},{nodeName:"a",attributes:{href:Bt}}]},menuitemcheckbox:{type:"widget",attributes:{allowed:["aria-checked","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["menu","menubar"],implicit:['menuitem[type="checkbox"]'],unsupported:false,allowedElements:[{nodeName:["button","li"]},{nodeName:"input",properties:{type:["checkbox","image","button"]}},{nodeName:"a",attributes:{href:Bt}}]},menuitemradio:{type:"widget",attributes:{allowed:["aria-checked","aria-selected","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["menu","menubar"],implicit:['menuitem[type="radio"]'],unsupported:false,allowedElements:[{nodeName:["button","li"]},{nodeName:"input",properties:{type:["image","button","radio"]}},{nodeName:"a",attributes:{href:Bt}}]},navigation:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["nav"],unsupported:false,allowedElements:["section"]},none:{type:"structure",attributes:null,owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:[{nodeName:["article","aside","dl","embed","figcaption","fieldset","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","iframe","li","ol","section","ul"]},{nodeName:"img",attributes:{alt:Bt}}]},note:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:["aside"]},option:{type:"widget",attributes:{allowed:["aria-selected","aria-posinset","aria-setsize","aria-checked","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["listbox"],implicit:["option"],unsupported:false,allowedElements:[{nodeName:["button","li"]},{nodeName:"input",properties:{type:["checkbox","button"]}},{nodeName:"a",attributes:{href:Bt}}]},presentation:{type:"structure",attributes:null,owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:[{nodeName:["article","aside","dl","embed","figcaption","fieldset","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","iframe","li","ol","section","ul"]},{nodeName:"img",attributes:{alt:Bt}}]},progressbar:{type:"widget",attributes:{allowed:["aria-valuetext","aria-valuenow","aria-valuemax","aria-valuemin","aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["progress"],unsupported:false},radio:{type:"widget",attributes:{allowed:["aria-selected","aria-posinset","aria-setsize","aria-required","aria-errormessage","aria-checked"]},owned:null,nameFrom:["author","contents"],context:null,implicit:['input[type="radio"]'],unsupported:false,allowedElements:[{nodeName:["button","li"]},{nodeName:"input",properties:{type:["image","button"]}}]},radiogroup:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-required","aria-expanded","aria-readonly","aria-errormessage","aria-orientation"]},owned:{all:["radio"]},nameFrom:["author"],context:null,unsupported:false,allowedElements:{nodeName:["ol","ul","fieldset"]}},range:{nameFrom:["author"],type:"abstract",unsupported:false},region:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["section[aria-label]","section[aria-labelledby]","section[title]"],unsupported:false,allowedElements:{nodeName:["article","aside"]}},roletype:{type:"abstract",unsupported:false},row:{type:"structure",attributes:{allowed:["aria-activedescendant","aria-colindex","aria-expanded","aria-level","aria-selected","aria-rowindex","aria-errormessage"]},owned:{one:["cell","columnheader","rowheader","gridcell"]},nameFrom:["author","contents"],context:["rowgroup","grid","treegrid","table"],implicit:["tr"],unsupported:false},rowgroup:{type:"structure",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-errormessage"]},owned:{all:["row"]},nameFrom:["author","contents"],context:["grid","table","treegrid"],implicit:["tbody","thead","tfoot"],unsupported:false},rowheader:{type:"structure",attributes:{allowed:["aria-colindex","aria-colspan","aria-expanded","aria-rowindex","aria-rowspan","aria-required","aria-readonly","aria-selected","aria-sort","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["row"],implicit:["th"],unsupported:false},scrollbar:{type:"widget",attributes:{required:["aria-controls","aria-valuenow"],allowed:["aria-valuetext","aria-orientation","aria-errormessage","aria-valuemax","aria-valuemin"]},owned:null,nameFrom:["author"],context:null,unsupported:false},search:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:{nodeName:["aside","form","section"]}},searchbox:{type:"widget",attributes:{allowed:["aria-activedescendant","aria-autocomplete","aria-multiline","aria-readonly","aria-required","aria-placeholder","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:['input[type="search"]'],unsupported:false,allowedElements:{nodeName:"input",properties:{type:"text"}}},section:{nameFrom:["author","contents"],type:"abstract",unsupported:false},sectionhead:{nameFrom:["author","contents"],type:"abstract",unsupported:false},select:{nameFrom:["author"],type:"abstract",unsupported:false},separator:{type:"structure",attributes:{allowed:["aria-expanded","aria-orientation","aria-valuenow","aria-valuemax","aria-valuemin","aria-valuetext","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["hr"],unsupported:false,allowedElements:["li"]},slider:{type:"widget",attributes:{allowed:["aria-valuetext","aria-orientation","aria-readonly","aria-errormessage","aria-valuemax","aria-valuemin"],required:["aria-valuenow"]},owned:null,nameFrom:["author"],context:null,implicit:['input[type="range"]'],unsupported:false},spinbutton:{type:"widget",attributes:{allowed:["aria-valuetext","aria-required","aria-readonly","aria-errormessage","aria-valuemax","aria-valuemin"],required:["aria-valuenow"]},owned:null,nameFrom:["author"],context:null,implicit:['input[type="number"]'],unsupported:false,allowedElements:{nodeName:"input",properties:{type:["text","tel"]}}},status:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["output"],unsupported:false,allowedElements:["section"]},structure:{type:"abstract",unsupported:false},switch:{type:"widget",attributes:{allowed:["aria-errormessage"],required:["aria-checked"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:false,allowedElements:["button",{nodeName:"input",properties:{type:["checkbox","image","button"]}},{nodeName:"a",attributes:{href:Bt}}]},tab:{type:"widget",attributes:{allowed:["aria-selected","aria-expanded","aria-setsize","aria-posinset","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["tablist"],unsupported:false,allowedElements:[{nodeName:["button","h1","h2","h3","h4","h5","h6","li"]},{nodeName:"input",properties:{type:"button"}},{nodeName:"a",attributes:{href:Bt}}]},table:{type:"structure",attributes:{allowed:["aria-colcount","aria-rowcount","aria-errormessage"]},owned:{one:["rowgroup","row"]},nameFrom:["author","contents"],context:null,implicit:["table"],unsupported:false},tablist:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-level","aria-multiselectable","aria-orientation","aria-errormessage"]},owned:{all:["tab"]},nameFrom:["author"],context:null,unsupported:false,allowedElements:["ol","ul"]},tabpanel:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:["section"]},term:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["dt"],unsupported:false},textbox:{type:"widget",attributes:{allowed:["aria-activedescendant","aria-autocomplete","aria-multiline","aria-readonly","aria-required","aria-placeholder","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:['input[type="text"]','input[type="email"]','input[type="password"]','input[type="tel"]','input[type="url"]',"input:not([type])","textarea"],unsupported:false},timer:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:false},toolbar:{type:"structure",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-orientation","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:['menu[type="toolbar"]'],unsupported:false,allowedElements:["ol","ul"]},tooltip:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:false},tree:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-multiselectable","aria-required","aria-expanded","aria-orientation","aria-errormessage"]},owned:{all:["treeitem"]},nameFrom:["author"],context:null,unsupported:false,allowedElements:["ol","ul"]},treegrid:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-colcount","aria-expanded","aria-level","aria-multiselectable","aria-readonly","aria-required","aria-rowcount","aria-orientation","aria-errormessage"]},owned:{one:["rowgroup","row"]},nameFrom:["author"],context:null,unsupported:false},treeitem:{type:"widget",attributes:{allowed:["aria-checked","aria-selected","aria-expanded","aria-level","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["group","tree"],unsupported:false,allowedElements:["li",{nodeName:"a",attributes:{href:Bt}}]},widget:{type:"abstract",unsupported:false},window:{nameFrom:["author"],type:"abstract",unsupported:false}},jr.implicitHtmlRole=al,jr.elementsAllowedNoRole=[{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"]},{nodeName:"area",attributes:{href:Bt}},{nodeName:"input",properties:{type:["color","data","datatime","file","hidden","month","number","password","range","reset","submit","time","week"]}},{nodeName:"link",attributes:{href:Bt}},{nodeName:"menu",attributes:{type:"context"}},{nodeName:"menuitem",attributes:{type:["command","checkbox","radio"]}},{nodeName:"select",condition:function(t){return t instanceof m.AbstractVirtualNode||(t=m.utils.getNodeFromTree(t)),Number(t.attr("size"))>1},properties:{multiple:true}},{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"]}],jr.elementsAllowedAnyRole=[{nodeName:"a",attributes:{href:Vm}},{nodeName:"img",attributes:{alt:Vm}},{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"]}],jr.evaluateRoleForElement={A:function(t){var r=t.node,n=t.out;return r.namespaceURI==="http://www.w3.org/2000/svg"?true:r.href.length?n:true},AREA:function(t){var r=t.node;return !r.href},BUTTON:function(t){var r=t.node,n=t.role,a=t.out;return r.getAttribute("type")==="menu"?n==="menuitem":a},IMG:function(t){var r=t.node,n=t.role,a=t.out;switch(r.alt){case null:return a;case "":return n==="presentation"||n==="none";default:return n!=="presentation"&&n!=="none"}},INPUT:function(t){var r=t.node,n=t.role,a=t.out;switch(r.type){case "button":case "image":return a;case "checkbox":return n==="button"&&r.hasAttribute("aria-pressed")?true:a;case "radio":return n==="menuitemradio";case "text":return n==="combobox"||n==="searchbox"||n==="spinbutton";case "tel":return n==="combobox"||n==="spinbutton";case "url":case "search":case "email":return n==="combobox";default:return false}},LI:function(t){var r=t.node,n=t.out,a=m.utils.matchesSelector(r,"ol li, ul li");return a?n:true},MENU:function(t){var r=t.node;return r.getAttribute("type")!=="context"},OPTION:function(t){var r=t.node,n=m.utils.matchesSelector(r,"select > option, datalist > option, optgroup > option");return !n},SELECT:function(t){var r=t.node,n=t.role;return !r.multiple&&r.size<=1&&n==="menu"},SVG:function(t){var r=t.node,n=t.out;return r.parentNode&&r.parentNode.namespaceURI==="http://www.w3.org/2000/svg"?true:n}},jr.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"]};var jm=jr;function hE(e){var t=null,r=jm.role[e];return r&&r.implicit&&(t=Nr(r.implicit)),t}var gE=hE;function vE(e){return !!Gl(e).length}var Ao=vE;function Ul(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.popupRoles,n=Ye(e);if(r??(r=Wf["aria-haspopup"].values),!r.includes(n))return false;var a=bE(e);if($m(a))return true;var i=e.props.id;if(!i)return false;if(!e.actualNode)throw new Error("Unable to determine combobox popup without an actualNode");var o=wa(e.actualNode),s=o.querySelectorAll('[aria-owns~="'.concat(i,`"][role~="combobox"]:not(select),
|
|
377
|
-
[aria-controls~="`).concat(i,'"][role~="combobox"]:not(select)'));return Array.from(s).some($m)}var $m=function(t){return t&&Ye(t)==="combobox"};function bE(e){for(;e=e.parent;)if(Ye(e,{noPresentational:true})!==null)return e;return null}function yE(e){return e=Ke(e),ro(e)}var zm=yE;function wE(e){var t=at.ariaRoles[e];return !t||!Array.isArray(t.requiredAttrs)?[]:_e(t.requiredAttrs)}var Gm=wE;function xE(e){var t=at.ariaRoles[e];return !t||!Array.isArray(t.requiredContext)?null:_e(t.requiredContext)}var Xl=xE;function DE(e){var t=at.ariaRoles[e];return !t||!Array.isArray(t.requiredOwned)?null:_e(t.requiredOwned)}var Yl=DE;function AE(e,t){e=e instanceof Mt?e:Ke(e);var r,n,a=e.attr(t),i=at.ariaAttrs[t];if(!i||i.allowEmpty&&(!a||a.trim()===""))return true;switch(i.type){case "boolean":return ["true","false"].includes(a.toLowerCase());case "nmtoken":return typeof a=="string"&&i.values.includes(a.toLowerCase());case "nmtokens":return n=jt(a),n.reduce(function(l,u){return l&&i.values.includes(u)},n.length!==0);case "idref":try{var o=qt(e.actualNode);return !!(a&&o.getElementById(a))}catch{throw new TypeError("Cannot resolve id references for partial DOM")}case "idrefs":return _r(e,t).some(function(l){return !!l});case "string":return a.trim()!=="";case "decimal":return r=a.match(/^[-+]?([0-9]*)\.?([0-9]*)$/),!!(r&&(r[1]||r[2]));case "int":var s=typeof i.minValue<"u"?i.minValue:-1/0;return /^[-+]?[0-9]+$/.test(a)&&parseInt(a)>=s}}var Wm=AE;function _E(e){var t=at.ariaAttrs[e];return !!t}var _o=_E;function EE(e){var t=$l(e),r=this,n=[];t.forEach(function(s){var l=s.getAttribute("headers");l&&(n=n.concat(l.split(/\s+/)));var u=s.getAttribute("aria-labelledby");u&&(n=n.concat(u.split(/\s+/)));});var a=t.filter(function(s){return Ve(s.textContent)===""?false:s.nodeName.toUpperCase()==="TH"||["rowheader","columnheader"].indexOf(Qe(s))!==-1}),i=Hr(e),o=true;return a.forEach(function(s){if(!(s.getAttribute("id")&&n.includes(s.getAttribute("id")))){var l=Qi(s,i),u=false;Pn(s)&&(u=zl("down",l,i).find(function(c){return !Pn(c)&&xo(c,i).includes(s)})),!u&&Nn(s)&&(u=zl("right",l,i).find(function(c){return !Nn(c)&&xo(c,i).includes(s)})),u||r.relatedNodes(s),o=o&&u;}}),o?true:void 0}var CE=EE,Na=["cell-header-not-in-table","cell-header-not-th","header-refs-self","empty-hdrs"],Um=Na[0],Xm=Na[1],Ym=Na[2],Kl=Na[3];function SE(e){for(var t=[],r={},n=0;n<e.rows.length;n++)for(var a=e.rows[n],i=0;i<a.cells.length;i++){var o=a.cells[i];t.push(o);var s=o.getAttribute("id");s&&(r[s]=Ye(o));}var l=V(V(V(V({},Ym,new Set),Um,new Set),Xm,new Set),Kl,new Set);t.forEach(function(g){if(!(!g.hasAttribute("headers")||!bt(g))){var w=g.getAttribute("headers").trim();if(!w){l[Kl].add(g);return}var S=g.getAttribute("id"),P=jt(w);P.forEach(function(H){S&&H===S?l[Ym].add(g):r[H]?["columnheader","rowheader"].includes(r[H])||l[Xm].add(g):l[Um].add(g);});}});var u=it(Na),c;try{for(u.s();!(c=u.n()).done;){var f=c.value;if(l[f].size>0)return this.relatedNodes(_e(l[f])),f===Kl?void 0:(this.data({messageKey:f}),!1)}}catch(g){u.e(g);}finally{u.f();}return true}function kE(e){var t=[],r=$l(e),n=Hr(e);return r.forEach(function(a){if(io(a)&&Mm(a)&&!zm(a)){var i=xo(a,n).some(function(o){return o!==null&&!!io(o)});i||t.push(a);}}),t.length?(this.relatedNodes(t),false):true}var TE=kE;function RE(e,t){var r=e.getAttribute("scope").toLowerCase();return t.values.indexOf(r)!==-1}var FE=RE,IE=LE;function LE(e,t,r){if(r.children!==void 0){var n=r.attr("summary"),a=r.children.find(ME),i=a?Ve(nn(a)):false;return !i||!n?false:Ve(n).toLowerCase()===Ve(i).toLowerCase()}}function ME(e){return e.props.nodeName==="caption"}function OE(e){return Np(v)?e.nodeName.toUpperCase()==="TH":true}var PE=OE;function NE(e){var t=Hr(e),r=t[0];return t.length<=1||r.length<=1||e.rows.length<=1?true:r.reduce(function(n,a,i){return n||a!==r[i+1]&&r[i+1]!==void 0},false)}var qE=NE;function BE(e,t,r){if(r.children){var n=r.children.find(function(i){var o=i.props;return o.nodeName==="title"});if(!n)return this.data({messageKey:"noTitle"}),false;try{var a=nn(n,{includeHidden:!0}).trim();if(a==="")return this.data({messageKey:"emptyTitle"}),!1}catch{return}return true}}var HE=BE,Km={};fr(Km,{getAriaRolesByType:function(){return Bn},getAriaRolesSupportingNameFromContent:function(){return Wl},getElementSpec:function(){return rn},getElementsByContentType:function(){return tl},getGlobalAriaAttrs:function(){return tn},implicitHtmlRoles:function(){return al}});function VE(e,t,r){var n=Qe(r);if(["presentation","none"].includes(n)&&["iframe","frame"].includes(r.props.nodeName)&&r.hasAttr("title"))return this.data({messageKey:"iframe",nodeName:r.props.nodeName}),false;var a=Ye(r);if(["presentation","none"].includes(a))return this.data({role:a}),true;if(!["presentation","none"].includes(n))return false;var i=tn().some(function(l){return r.hasAttr(l)}),o=Ct(r),s;return i&&!o?s="globalAria":!i&&o?s="focusable":s="both",this.data({messageKey:s,role:a}),false}function jE(e,t,r){var n=r.props.nodeName,a=(r.attr("type")||"").toLowerCase(),i=r.attr("value");return i&&this.data({messageKey:"has-label"}),n==="input"&&["submit","reset"].includes(a)?i===null:false}var $E=jE;function zE(e){return Zt(e)}var GE=zE;function WE(e,t){var r=t.cssProperty,n=t.absoluteValues,a=t.minValue,i=t.maxValue,o=t.normalValue,s=o===void 0?0:o,l=t.noImportant,u=t.multiLineOnly;if(!l&&e.style.getPropertyPriority(r)!=="important"||u&&!Bp(e))return true;var c={};typeof a=="number"&&(c.minValue=a),typeof i=="number"&&(c.maxValue=i);var f=e.style.getPropertyValue(r);if(["inherit","unset","revert","revert-layer"].includes(f))return this.data(Te({value:f},c)),true;var g=UE(e,{absoluteValues:n,cssProperty:r,normalValue:s});if(this.data(Te({value:g},c)),typeof g=="number")return (typeof a!="number"||g>=a)&&(typeof i!="number"||g<=i)}function UE(e,t){var r=t.cssProperty,n=t.absoluteValues,a=t.normalValue,i=d.getComputedStyle(e),o=i.getPropertyValue(r);if(o==="normal")return a;var s=parseFloat(o);if(n)return s;var l=parseFloat(i.getPropertyValue("font-size")),u=Math.round(s/l*100)/100;return isNaN(u)?o:u}function XE(e,t,r){var n=r.props.nodeName;return ["img","input","area"].includes(n)?r.hasAttr("alt"):false}var YE=XE;function KE(){}var JE=KE;function ZE(){var e=v.title;return !!Ve(e)}var QE=ZE;function eC(e,t){var r=t.cssProperties.filter(function(n){if(e.style.getPropertyPriority(n)==="important")return n});return r.length>0?(this.data(r),false):true}var tC=eC;function rC(e,t,r){try{return !!Ve(Ea(r))}catch{return}}var nC=rC;function aC(e,t,r){return !!Ve(Ca(r))}var iC=aC;function oC(e){var t=e.getAttribute("id").trim();if(!t)return true;var r=qt(e),n=Array.from(r.querySelectorAll('[id="'.concat(Dt(t),'"]'))).filter(function(a){return a!==e});return n.length&&this.relatedNodes(n),this.data(t),n.length===0}var sC=oC;function lC(e){var t=[];return e.filter(function(r){return t.indexOf(r.data)===-1?(t.push(r.data),true):false})}var uC=lC;function cC(e,t,r){var n=Ve(r.attr("title")).toLowerCase();return this.data(n),true}var dC=cC;function fC(e){var t={};return e.forEach(function(r){t[r.data]=t[r.data]!==void 0?++t[r.data]:0;}),e.forEach(function(r){r.result=!!t[r.data];}),e}var pC=fC;function mC(e){var t=Ks(e,"href");return t?bt(t)||void 0:false}var hC=mC,gC=["alert","log","status"];function vC(e,t,r){this.data({isIframe:["iframe","frame"].includes(r.props.nodeName)});var n=Ue.get("regionlessNodes",function(){return bC(t)});return !n.includes(r)}function bC(e){var t=Jm(m._tree[0],e).map(function(r){for(;r.parent&&!r.parent._hasRegionDescendant&&r.parent.actualNode!==v.body;)r=r.parent;return r}).filter(function(r,n,a){return a.indexOf(r)===n});return t}function Jm(e,t){var r=e.actualNode;if(Ye(e)==="button"||wC(e,t)||["iframe","frame"].includes(e.props.nodeName)||wl(e.actualNode)&&Ks(e.actualNode,"href")||!bt(r)){for(var n=e;n;)n._hasRegionDescendant=true,n=n.parent;return ["iframe","frame"].includes(e.props.nodeName)?[e]:[]}else return r!==v.body&&io(r,true)&&!yC(e)?[e]:e.children.filter(function(a){var i=a.actualNode;return i.nodeType===1}).map(function(a){return Jm(a,t)}).reduce(function(a,i){return a.concat(i)},[])}function yC(e){return ["none","presentation"].includes(Ye(e))&&!ao(e)}function wC(e,t){var r=e.actualNode,n=Ye(e),a=(r.getAttribute("aria-live")||"").toLowerCase().trim(),i=Bn("landmark");return !!(["assertive","polite"].includes(a)||gC.includes(n)||i.includes(n)||t.regionMatcher&&ka(e,t.regionMatcher))}function xC(e){var t=e.filter(function(r){return r.data.isIframe});return e.forEach(function(r){if(!(r.result||r.node.ancestry.length===1)){var n=r.node.ancestry.slice(0,-1),a=it(t),i;try{for(a.s();!(i=a.n()).done;){var o=i.value;if(Ol(n,o.node.ancestry)){r.result=o.result;break}}}catch(s){a.e(s);}finally{a.f();}}}),t.forEach(function(r){r.result||(r.result=true);}),e}var DC=xC;function AC(e){switch(e){case "lighter":return 100;case "normal":return 400;case "bold":return 700;case "bolder":return 900}return e=parseInt(e),isNaN(e)?400:e}function _C(e){for(var t=e,r=e.textContent.trim(),n=r;n===r&&t!==void 0;){var a=-1;if(e=t,e.children.length===0)return e;do a++,n=e.children[a].textContent.trim();while(n===""&&a+1<e.children.length);t=e.children[a];}return e}function Jl(e){var t=d.getComputedStyle(_C(e));return {fontWeight:AC(t.getPropertyValue("font-weight")),fontSize:parseInt(t.getPropertyValue("font-size")),isItalic:t.getPropertyValue("font-style")==="italic"}}function Zm(e,t,r){return r.reduce(function(n,a){return n||(!a.size||e.fontSize/a.size>t.fontSize)&&(!a.weight||e.fontWeight-a.weight>t.fontWeight)&&(!a.italic||e.isItalic&&!t.isItalic)},false)}function EC(e,t,r){var n=Array.from(e.parentNode.children),a=n.indexOf(e);t=t||{};var i=t.margins||[],o=n.slice(a+1).find(function(H){return H.nodeName.toUpperCase()==="P"}),s=n.slice(0,a).reverse().find(function(H){return H.nodeName.toUpperCase()==="P"}),l=Jl(e),u=o?Jl(o):null,c=s?Jl(s):null,f=t.passLength,g=t.failLength,w=e.textContent.trim().length,S=o?.textContent.trim().length;if(w>S*f||!u||!Zm(l,u,i))return true;var P=Ln(r,"blockquote");if(!(P&&P.nodeName.toUpperCase()==="BLOCKQUOTE")&&!(c&&!Zm(l,c,i))&&!(w>S*g))return false}var CC=EC,SC=/[;,\s]/,kC=/^[0-9.]+$/;function TC(e,t,r){var n=t||{},a=n.minDelay,i=n.maxDelay,o=(r.attr("content")||"").trim(),s=o.split(SC),l=Ae(s,1),u=l[0];if(!u.match(kC))return true;var c=parseFloat(u);return this.data({redirectDelay:c}),typeof a=="number"&&c<=t.minDelay||typeof i=="number"&&c>t.maxDelay}function RC(e,t,r){var n=tr(r,"a[href]");return n.some(function(a){return /^#[^/!]/.test(a.attr("href"))})}var FC=RC,Qm={};fr(Qm,{aria:function(){return Pm},color:function(){return e1},dom:function(){return qs},forms:function(){return f1},matches:function(){return ka},math:function(){return Cf},standards:function(){return Km},table:function(){return Im},text:function(){return _a},utils:function(){return Yo}});var e1={};fr(e1,{Color:function(){return yt},centerPointOfRect:function(){return LC},elementHasImage:function(){return oo},elementIsDistinct:function(){return r1},filteredRectStack:function(){return NC},flattenColors:function(){return Rr},flattenShadowColors:function(){return Ql},getBackgroundColor:function(){return Ba},getBackgroundStack:function(){return eu},getContrast:function(){return Hn},getForegroundColor:function(){return So},getOwnBackgroundColor:function(){return wn},getRectStack:function(){return n1},getStackingContext:function(){return ru},getStrokeColorsFromShadows:function(){return tu},getTextShadowColors:function(){return Co},hasValidContrastRatio:function(){return iS},incompleteData:function(){return ht},parseTextShadows:function(){return o1},stackingContextToColor:function(){return qa}});function IC(e){if(!(e.left>d.innerWidth)&&!(e.top>d.innerHeight)){var t=Math.min(Math.ceil(e.left+e.width/2),d.innerWidth-1),r=Math.min(Math.ceil(e.top+e.height/2),d.innerHeight-1);return {x:t,y:r}}}var LC=IC;function t1(e){return e.getPropertyValue("font-family").split(/[,;]/g).map(function(t){return t.trim().toLowerCase()})}function MC(e,t){var r=d.getComputedStyle(e);if(r.getPropertyValue("background-image")!=="none")return true;var n=["border-bottom","border-top","outline"].reduce(function(s,l){var u=new yt;return u.parseString(r.getPropertyValue(l+"-color")),s||r.getPropertyValue(l+"-style")!=="none"&&parseFloat(r.getPropertyValue(l+"-width"))>0&&u.alpha!==0},false);if(n)return true;var a=d.getComputedStyle(t);if(t1(r)[0]!==t1(a)[0])return true;var i=["text-decoration-line","text-decoration-style","font-weight","font-style","font-size"].reduce(function(s,l){return s||r.getPropertyValue(l)!==a.getPropertyValue(l)},false),o=r.getPropertyValue("text-decoration");return o.split(" ").length<3&&(i=i||o!==a.getPropertyValue("text-decoration")),i}var r1=MC;function OC(e){var t=$f(e),r=ml(e);return !r||r.length<=1?[t]:r.some(function(n){return n===void 0})?null:(r.splice(0,0,t),r)}var n1=OC;function PC(e){var t=n1(e);if(t&&t.length===1)return t[0];if(t&&t.length>1){var r=t.shift(),n;return t.forEach(function(a,i){if(i!==0){var o=t[i-1],s=t[i];n=o.every(function(l,u){return l===s[u]})||r.includes(e);}}),n?t[0]:(ht.set("bgColor","elmPartiallyObscuring"),null)}return ht.set("bgColor","outsideViewport"),null}var NC=PC,qC=["hue","saturation","color","luminosity"],a1={normal:function(t,r){return r},multiply:function(t,r){return r*t},screen:function(t,r){return t+r-t*r},overlay:function(t,r){return this["hard-light"](r,t)},darken:function(t,r){return Math.min(t,r)},lighten:function(t,r){return Math.max(t,r)},"color-dodge":function(t,r){return t===0?0:r===1?1:Math.min(1,t/(1-r))},"color-burn":function(t,r){return t===1?1:r===0?0:1-Math.min(1,(1-t)/r)},"hard-light":function(t,r){return r<=.5?this.multiply(t,2*r):this.screen(t,2*r-1)},"soft-light":function(t,r){if(r<=.5)return t-(1-2*r)*t*(1-t);var n=t<=.25?((16*t-12)*t+4)*t:Math.sqrt(t);return t+(2*r-1)*(n-t)},difference:function(t,r){return Math.abs(t-r)},exclusion:function(t,r){return t+r-2*t*r},hue:function(t,r){return r.setSaturation(t.getSaturation()).setLuminosity(t.getLuminosity())},saturation:function(t,r){return t.setSaturation(r.getSaturation()).setLuminosity(t.getLuminosity())},color:function(t,r){return r.setLuminosity(t.getLuminosity())},luminosity:function(t,r){return t.setLuminosity(r.getLuminosity())}};function Rr(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"normal",n=HC(t,e,r),a=Zl(e.red,e.alpha,t.red,t.alpha,n.r*255),i=Zl(e.green,e.alpha,t.green,t.alpha,n.g*255),o=Zl(e.blue,e.alpha,t.blue,t.alpha,n.b*255),s=BC(e.alpha+t.alpha*(1-e.alpha),0,1);if(s===0)return new yt(a,i,o,s);var l=Math.round(a/s),u=Math.round(i/s),c=Math.round(o/s);return new yt(l,u,c,s)}function Zl(e,t,r,n,a){return t*(1-n)*e+t*n*a+(1-t)*n*r}function BC(e,t,r){return Math.min(Math.max(t,e),r)}function HC(e,t,r){if(qC.includes(r))return a1[r](e,t);var n=new yt;return ["r","g","b"].forEach(function(a){n[a]=a1[r](e[a],t[a]);}),n}function Ql(e,t){var r=e.alpha,n=(1-r)*t.red+r*e.red,a=(1-r)*t.green+r*e.green,i=(1-r)*t.blue+r*e.blue,o=e.alpha+t.alpha*(1-e.alpha);return new yt(n,a,i,o)}function eu(e){for(var t=ml(e).map(function(a){return a=Hp(a,e),a=VC(a),a}),r=0;r<t.length;r++){var n=t[r];if(n[0]!==e)return ht.set("bgColor","bgOverlap"),null;if(r!==0&&!jC(n,t[0]))return ht.set("bgColor","elmPartiallyObscuring"),null}return t[0]||null}function VC(e){var t=e.indexOf(v.body),r=e,n=wn(d.getComputedStyle(v.documentElement));if(t>1&&n.alpha===0&&!oo(v.documentElement)){t>1&&(r.splice(t,1),r.push(v.body));var a=r.indexOf(v.documentElement);a>0&&(r.splice(a,1),r.push(v.documentElement));}return r}function jC(e,t){if(e===t)return true;if(e===null||t===null||e.length!==t.length)return false;for(var r=0;r<e.length;++r)if(e[r]!==t[r])return false;return true}var $C=.54,Eo=.5,zC=1.5,i1=["top","right","bottom","left"];function tu(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.ignoreEdgeCount,n=r===void 0?false:r,a=GC(e),i=Object.entries(a).map(function(o){var s=Ae(o,2),l=s[0],u=s[1],c=i1.filter(function(f){return u[f].length!==0}).length;return {colorStr:l,sides:u,edgeCount:c}});return !n&&i.some(function(o){var s=o.edgeCount;return s>1&&s<4})?null:i.map(WC).filter(function(o){return o!==null})}function GC(e){var t={},r=it(e),n;try{for(r.s();!(n=r.n()).done;){var a,i=n.value,o=i.colorStr,s=i.pixels;(a=t[o])!==null&&a!==void 0||(t[o]={top:[],right:[],bottom:[],left:[]});var l=t[o],u=Ae(s,2),c=u[0],f=u[1];c>Eo?l.right.push(c):-c>Eo&&l.left.push(-c),f>Eo?l.bottom.push(f):-f>Eo&&l.top.push(-f);}}catch(g){r.e(g);}finally{r.f();}return t}function WC(e){var t=e.colorStr,r=e.sides,n=e.edgeCount;if(n!==4)return null;var a=new yt;a.parseString(t);var i=0,o=true;return i1.forEach(function(s){i+=r[s].length/4,o&&(o=r[s].every(function(l){return l>zC}));}),o||(a.alpha=1-Math.pow($C,i)),a}function o1(e){var t={pixels:[]},r=e.trim(),n=[t];if(!r)return [];for(;r;){var a=r.match(/^[a-z]+(\([^)]+\))?/i)||r.match(/^#[0-9a-f]+/i),i=r.match(/^([0-9.-]+)px/i)||r.match(/^(0)/);if(a)nt(!t.colorStr,"Multiple colors identified in text-shadow: ".concat(e)),r=r.replace(a[0],"").trim(),t.colorStr=a[0];else if(i){nt(t.pixels.length<3,"Too many pixel units in text-shadow: ".concat(e)),r=r.replace(i[0],"").trim();var o=parseFloat((i[1][0]==="."?"0":"")+i[1]);t.pixels.push(o);}else if(r[0]===",")nt(t.pixels.length>=2,"Missing pixel value in text-shadow: ".concat(e)),t={pixels:[]},n.push(t),r=r.substr(1).trim();else throw new Error("Unable to process text-shadows: ".concat(r))}return n.forEach(function(s){var l=s.pixels;l.length===2&&l.push(0);}),n}function Co(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.minRatio,n=t.maxRatio,a=t.ignoreEdgeCount,i=[],o=d.getComputedStyle(e),s=o.getPropertyValue("text-shadow");if(s==="none")return i;var l=o.getPropertyValue("font-size"),u=parseInt(l);nt(isNaN(u)===false,"Unable to determine font-size value ".concat(l));var c=[],f=o1(s),g=it(f),w;try{for(g.s();!(w=g.n()).done;){var S=w.value,P=S.colorStr||o.getPropertyValue("color"),H=Ae(S.pixels,3),z=H[0],G=H[1],X=H[2],Y=X===void 0?0:X;if(!(n&&Y>=u*n)){if(r&&Y<u*r){c.push({colorStr:P,pixels:S.pixels});continue}if(c.length>0){var Z=tu(c,{ignoreEdgeCount:a});if(Z===null)return null;i.push.apply(i,_e(Z)),c.splice(0,c.length);}var ne=UC({colorStr:P,offsetX:z,offsetY:G,blurRadius:Y,fontSize:u});i.push(ne);}}}catch(pe){g.e(pe);}finally{g.f();}if(c.length>0){var se=tu(c,{ignoreEdgeCount:a});if(se===null)return null;i.push.apply(i,_e(se));}return i}function UC(e){var t=e.colorStr,r=e.offsetX,n=e.offsetY,a=e.blurRadius,i=e.fontSize;if(r>a||n>a)return new yt(0,0,0,0);var o=new yt;return o.parseString(t),o.alpha*=XC(a,i),o}function XC(e,t){if(e===0)return 1;var r=e/t;return .185/(r+.4)}function ru(e,t){var r=Ke(e);if(r._stackingContext)return r._stackingContext;var n=[],a=new Map;return t=t??eu(e),t.forEach(function(i){var o,s=Ke(i),l=JC(s),u=s._stackingOrder.filter(function(g){var w=g.vNode;return !!w});u.forEach(function(g,w){var S,P=g.vNode,H=(S=u[w-1])===null||S===void 0?void 0:S.vNode,z=l1(a,P,H);w===0&&!a.get(P)&&n.unshift(z),a.set(P,z);});var c=(o=u[u.length-1])===null||o===void 0?void 0:o.vNode,f=l1(a,s,c);u.length||n.unshift(f),f.bgColor=l;}),r._stackingContext=n,n}function qa(e){var t;if(!((t=e.descendants)!==null&&t!==void 0&&t.length)){var r=e.bgColor;return r.alpha*=e.opacity,{color:r,blendMode:e.blendMode}}var n=e.descendants.reduce(YC,s1()),a=Rr(n,e.bgColor,e.descendants[0].blendMode);return a.alpha*=e.opacity,{color:a,blendMode:e.blendMode}}function YC(e,t){var r;e instanceof yt?r=e:r=qa(e).color;var n=qa(t).color;return Rr(n,r,t.blendMode)}function s1(e,t){var r;return {vNode:e,ancestor:t,opacity:parseFloat((r=e?.getComputedStylePropertyValue("opacity"))!==null&&r!==void 0?r:1),bgColor:new yt(0,0,0,0),blendMode:KC(e?.getComputedStylePropertyValue("mix-blend-mode")),descendants:[]}}function KC(e){return e||void 0}function l1(e,t,r){var n,a=e.get(r),i=(n=e.get(t))!==null&&n!==void 0?n:s1(t,a);return a&&r!==t&&!a.descendants.includes(i)&&a.descendants.unshift(i),i}function JC(e){var t=new yt;return t.parseString(e.getComputedStylePropertyValue("background-color")),t}function Ba(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:.1,n=Ke(e),a=n._cache.getBackgroundColor;if(a)return t.push.apply(t,_e(a.bgElms)),ht.set("bgColor",a.incompleteData),a.bgColor;var i=ZC(e,t,r);return n._cache.getBackgroundColor={bgColor:i,bgElms:t,incompleteData:ht.get("bgColor")},i}function ZC(e,t,r){var n,a,i=eu(e);if(!i)return null;var o=pl(e),s=(n=Co(e,{minRatio:r,ignoreEdgeCount:true}))!==null&&n!==void 0?n:[];s.length&&(s=[{color:s.reduce(Ql)}]);for(var l=0;l<i.length;l++){var u=i[l],c=d.getComputedStyle(u);if(oo(u,c))return t.push(u),null;var f=void 0;try{if(f=wn(c),f.alpha===0)continue}catch(P){if(P&&ht.get("colorParse"))return null;throw P}if(c.getPropertyValue("display")!=="inline"&&!u1(u,o))return t.push(u),ht.set("bgColor","elmPartiallyObscured"),null;if(t.push(u),f.alpha===1)break}var g=ru(e,i);s=g.map(qa).concat(s);var w=QC(e,i.includes(v.body));if((a=s).unshift.apply(a,_e(w)),s.length===0)return new yt(255,255,255,1);var S=s.reduce(function(P,H){return Rr(H.color,P.color instanceof yt?P.color:P,H.blendMode)});return Rr(S.color instanceof yt?S.color:S,new yt(255,255,255,1))}function u1(e,t){t=Array.isArray(t)?t:[t];var r=e.getBoundingClientRect(),n=r.right,a=r.bottom,i=d.getComputedStyle(e),o=i.getPropertyValue("overflow"),s=parseInt(i.getPropertyValue("padding-left"),10),l=parseInt(i.getPropertyValue("padding-right"),10),u=parseInt(i.getPropertyValue("padding-top"),10),c=parseInt(i.getPropertyValue("padding-bottom"),10);return (["scroll","auto"].includes(o)||e instanceof d.HTMLHtmlElement)&&(n=r.left+e.scrollWidth+s+l,a=r.top+e.scrollHeight+u+c),t.every(function(f){return f.top>=r.top&&f.bottom<=a&&f.left>=r.left&&f.right<=n})}function c1(e){return e||void 0}function QC(e,t){var r=[];if(!t){var n=v.documentElement,a=v.body,i=d.getComputedStyle(n),o=d.getComputedStyle(a),s=wn(i),l=wn(o),u=l.alpha!==0&&u1(a,e.getBoundingClientRect());(l.alpha!==0&&s.alpha===0||u&&l.alpha!==1)&&r.unshift({color:l,blendMode:c1(o.getPropertyValue("mix-blend-mode"))}),s.alpha!==0&&(!u||u&&l.alpha!==1)&&r.unshift({color:s,blendMode:c1(i.getPropertyValue("mix-blend-mode"))});}return r}function eS(e,t){if(!t||!e)return null;t.alpha<1&&(t=Rr(t,e));var r=e.getRelativeLuminance(),n=t.getRelativeLuminance();return (Math.max(n,r)+.05)/(Math.min(n,r)+.05)}var Hn=eS;function So(e,t,r){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},a=d.getComputedStyle(e),i=[function(){return rS(a,n)},function(){return tS(a)},function(){return Co(e,{minRatio:0})}],o=[];try{for(var s=0,l=i;s<l.length;s++){var u=l[s],c=u();if(c&&(o=o.concat(c),c.alpha===1))break}}catch(P){if(P&&ht.get("colorParse"))return null;throw P}var f=o.reduce(function(P,H){return Rr(P,H)});if(r??(r=Ba(e,[])),r===null){var g=ht.get("bgColor");return ht.set("fgColor",g),null}var w=ru(e),S=d1(w,e);return Rr(nS(f,S,w),new yt(255,255,255,1))}function tS(e){return new yt().parseString(e.getPropertyValue("-webkit-text-fill-color")||e.getPropertyValue("color"))}function rS(e,t){var r=t.textStrokeEmMin,n=r===void 0?0:r,a=parseFloat(e.getPropertyValue("-webkit-text-stroke-width"));if(a===0)return null;var i=e.getPropertyValue("font-size"),o=a/parseFloat(i);if(isNaN(o)||o<n)return null;var s=e.getPropertyValue("-webkit-text-stroke-color");return new yt().parseString(s)}function nS(e,t,r){for(;t;){var n;if(t.opacity===1&&t.ancestor){t=t.ancestor;continue}e.alpha*=t.opacity;var a=((n=t.ancestor)===null||n===void 0?void 0:n.descendants)||r;t.opacity!==1&&(a=a.slice(0,a.indexOf(t)));var i=a.map(qa);if(!i.length){t=t.ancestor;continue}var o=i.reduce(function(s,l){return Rr(l.color,s.color instanceof yt?s.color:s)},{color:new yt(0,0,0,0),blendMode:"normal"});e=Rr(e,o),t=t.ancestor;}return e}function d1(e,t){var r=it(e),n;try{for(r.s();!(n=r.n()).done;){var a,i=n.value;if(((a=i.vNode)===null||a===void 0?void 0:a.actualNode)===t)return i;var o=d1(i.descendants,t);if(o)return o}}catch(s){r.e(s);}finally{r.f();}}function aS(e,t,r,n){var a=Hn(e,t),i=n&&Math.ceil(r*72)/96<14||!n&&Math.ceil(r*72)/96<18,o=i?4.5:3;return {isValid:a>o,contrastRatio:a,expectedContrastRatio:o}}var iS=aS,f1={};fr(f1,{isAriaCombobox:function(){return bp},isAriaListbox:function(){return vp},isAriaRange:function(){return yp},isAriaTextbox:function(){return gp},isDisabled:function(){return Ha},isNativeSelect:function(){return hp},isNativeTextbox:function(){return mp}});var oS=["fieldset","button","select","input","textarea"];function p1(e){var t=e._isDisabled;if(typeof t=="boolean")return t;var r=e.props.nodeName,n=e.attr("aria-disabled");return oS.includes(r)&&e.hasAttr("disabled")?t=true:n?t=n.toLowerCase()==="true":e.parent?t=p1(e.parent):t=false,e._isDisabled=t,t}var Ha=p1;function sS(e,t,r){var n=_a.accessibleTextVirtual(r),a=_a.sanitize(_a.removeUnicode(n,{emoji:true,nonBmp:true,punctuations:true})).toLowerCase();if(a){var i={name:a,urlProps:qs.urlPropsFromAttribute(e,"href")};return this.data(i),this.relatedNodes([e]),true}}var lS=sS;function m1(e,t){if(!e||!t)return false;var r=Object.getOwnPropertyNames(e),n=Object.getOwnPropertyNames(t);if(r.length!==n.length)return false;var a=r.every(function(i){var o=e[i],s=t[i];return fe(o)!==fe(s)?false:fe(o)==="object"||fe(s)==="object"?m1(o,s):o===s});return a}function uS(e){if(e.length<2)return e;for(var t=e.filter(function(o){var s=o.result;return s!==void 0}),r=[],n={},a=function(s){var l,u=t[s],c=u.data,f=c.name,g=c.urlProps;if(n[f])return 1;var w=t.filter(function(P,H){var z=P.data;return z.name===f&&H!==s}),S=w.every(function(P){var H=P.data;return m1(H.urlProps,g)});w.length&&!S&&(u.result=void 0),u.relatedNodes=[],(l=u.relatedNodes).push.apply(l,_e(w.map(function(P){return P.relatedNodes[0]}))),n[f]=w,r.push(u);},i=0;i<t.length;i++)a(i);return r}var cS=uS;function dS(e){var t=Ye(e),r=t&&t.includes("heading"),n=e.attr("aria-level"),a=parseInt(n,10),i=e.props.nodeName.match(/h(\d)/)||[],o=Ae(i,2),s=o[1];return r?s&&!n?parseInt(s,10):isNaN(a)||a<1?s?parseInt(s,10):2:a||-1:-1}function fS(){var e=Ue.get("headingOrder");if(e)return true;var t="h1, h2, h3, h4, h5, h6, [role=heading], iframe, frame",r=Tr(m._tree[0],t,bt);return e=r.map(function(n){return {ancestry:[Mi(n.actualNode)],level:dS(n)}}),this.data({headingOrder:e}),Ue.set("headingOrder",r),true}var pS=fS;function mS(e){var t=gS(e);return e.forEach(function(r){r.result=hS(r,t);}),e}function hS(e,t){var r,n,a,i,o=h1(t,e.node.ancestry),s=(r=(n=t[o])===null||n===void 0?void 0:n.level)!==null&&r!==void 0?r:-1,l=(a=(i=t[o-1])===null||i===void 0?void 0:i.level)!==null&&a!==void 0?a:-1;if(o===0)return true;if(s!==-1)return s-l<=1}function gS(e){e=_e(e),e.sort(function(r,n){var a=r.node,i=n.node;return a.ancestry.length-i.ancestry.length});var t=e.reduce(vS,[]);return t.filter(function(r){var n=r.level;return n!==-1})}function vS(e,t){var r,n=(r=t.data)===null||r===void 0?void 0:r.headingOrder,a=g1(t.node.ancestry,1);if(!n)return e;var i=n.map(function(s){return yS(s,a)}),o=bS(e,a);return o===-1?e.push.apply(e,_e(i)):e.splice.apply(e,[o,0].concat(_e(i))),e}function bS(e,t){for(;t.length;){var r=h1(e,t);if(r!==-1)return r;t=g1(t,1);}return -1}function h1(e,t){return e.findIndex(function(r){return Ol(r.ancestry,t)})}function yS(e,t){var r=t.concat(e.ancestry);return Te({},e,{ancestry:r})}function g1(e,t){return e.slice(0,e.length-t)}function wS(e,t,r){var n=t?.minSize||24,a=r.boundingClientRect;if(Br(n*10,a))return this.data({messageKey:"large",minSize:n}),true;var i=Br.bind(null,n),o=Ki(r),s=xS(r,o),l=DS(r,o),u=l.fullyObscuringElms,c=l.partialObscuringElms;if(s.length&&(u.length||!i(a))){this.data({minSize:n,messageKey:"contentOverflow"}),this.relatedNodes(Va(s));return}if(u.length)return this.relatedNodes(Va(u)),this.data({messageKey:"obscured"}),true;var f=ur(r)?false:void 0;if(!i(a))return this.data(Te({minSize:n},ko(a))),f;var g=ES(c);if(!g.length)return this.data(Te({minSize:n},ko(a))),true;var w=AS(r,g,n);if(!w){this.data({minSize:n,messageKey:"tooManyRects"});return}if(!i(w)){if(s.length){this.data({minSize:n,messageKey:"contentOverflow"}),this.relatedNodes(Va(s));return}var S=g.every(ur),P="partiallyObscured".concat(S?"":"NonTabbable");return this.data(Te({messageKey:P,minSize:n},ko(w))),this.relatedNodes(Va(g)),S?f:void 0}return this.data(Te({minSize:n},ko(w||a))),this.relatedNodes(Va(g)),true}function xS(e,t){return t.filter(function(r){return !v1(r,e)&&b1(e,r)})}function DS(e,t){var r=[],n=[],a=it(t),i;try{for(a.s();!(i=a.n()).done;){var o=i.value;!b1(e,o)&&zs(e,o)&&CS(o)!=="none"&&(v1(e,o)?r.push(o):n.push(o));}}catch(s){a.e(s);}finally{a.f();}return {fullyObscuringElms:r,partialObscuringElms:n}}function AS(e,t,r){var n=e.boundingClientRect,a=t.map(function(o){var s=o.getComputedStylePropertyValue("display");return s==="inline"?o.clientRects:o.boundingClientRect}).flat(1/0),i;try{i=Gs(n,a);}catch{return null}return _S(i,r)}function _S(e,t){return e.reduce(function(r,n){var a=Br(t,r),i=Br(t,n);if(a!==i)return a?r:n;var o=r.width*r.height,s=n.width*n.height;return o>s?r:n})}function ES(e){return e.filter(function(t){return yr(t)==="widget"&&Ct(t)})}function v1(e,t){var r=e.boundingClientRect,n=t.boundingClientRect;return r.top>=n.top&&r.left>=n.left&&r.bottom<=n.bottom&&r.right<=n.right}function CS(e){return e.getComputedStylePropertyValue("pointer-events")}function ko(e){return {width:Math.round(e.width*10)/10,height:Math.round(e.height*10)/10}}function b1(e,t){return qr(e,t)&&!ur(t)}function Va(e){return e.map(function(t){var r=t.actualNode;return r})}var SS=.05;function kS(e,t,r){var n=t?.minOffset||24;if(Br(n*10,r.boundingClientRect))return this.data({messageKey:"large",minOffset:n}),true;var a=[],i=n,o=it(Ki(r,n)),s;try{for(o.s();!(s=o.n()).done;){var l=s.value;if(!(yr(l)!=="widget"||!Ct(l))){var u=null;try{u=kf(r,l,n/2);}catch(c){if(c.message.startsWith("splitRects")){this.data({messageKey:"tooManyRects",closestOffset:0,minOffset:n});return}throw c}u!==null&&(u=TS(u)*2,!(u+SS>=n)&&(i=Math.min(i,u),a.push(l)));}}}catch(c){o.e(c);}finally{o.f();}if(a.length===0)return this.data({closestOffset:i,minOffset:n}),true;if(this.relatedNodes(a.map(function(c){var f=c.actualNode;return f})),!a.some(ur)){this.data({messageKey:"nonTabbableNeighbor",closestOffset:i,minOffset:n});return}return this.data({closestOffset:i,minOffset:n}),ur(r)?false:void 0}function TS(e){return Math.round(e*10)/10}function RS(e,t,r){var n=t||{},a=n.scaleMinimum,i=a===void 0?2:a,o=n.lowerBound,s=o===void 0?false:o,l=r.attr("content")||"";if(!l)return true;var u=l.split(/[;,]/).reduce(function(f,g){var w=g.trim();if(!w)return f;var S=w.split("="),P=Ae(S,2),H=P[0],z=P[1];if(!H||!z)return f;var G=H.toLowerCase().trim(),X=z.toLowerCase().trim();return G==="maximum-scale"&&X==="yes"&&(X=1),G==="maximum-scale"&&parseFloat(X)<0||(f[G]=X),f},{});if(s&&u["maximum-scale"]&&parseFloat(u["maximum-scale"])<s)return true;if(!s&&u["user-scalable"]==="no")return this.data("user-scalable=no"),false;var c=parseFloat(u["user-scalable"]);return !s&&u["user-scalable"]&&(c||c===0)&&c>-1&&c<1?(this.data("user-scalable"),false):u["maximum-scale"]&&parseFloat(u["maximum-scale"])<i?(this.data("maximum-scale"),false):true}var FS=RS;function IS(e,t,r,n){var a=n||{},i=a.cssom,o=i===void 0?void 0:i,s=t||{},l=s.degreeThreshold,u=l===void 0?0:l;if(!o||!o.length)return;for(var c=false,f=[],g=H(o),w=function(){var ve=P[S],xe=g[ve],Ce=xe.root,Pe=xe.rules,$e=Pe.filter(z);if(!$e.length)return 1;$e.forEach(function(Fe){var He=Fe.cssRules;Array.from(He).forEach(function(ye){var Oe=G(ye);if(Oe&&ye.selectorText.toUpperCase()!=="HTML"){var ee=Array.from(Ce.querySelectorAll(ye.selectorText))||[];f=f.concat(ee);}c=c||Oe;});});},S=0,P=Object.keys(g);S<P.length;S++)w();if(!c)return true;return f.length&&this.relatedNodes(f),false;function H(le){return le.reduce(function(ve,xe){var Ce=xe.sheet,Pe=xe.root,$e=xe.shadowId,Fe=$e||"topDocument";if(ve[Fe]||(ve[Fe]={root:Pe,rules:[]}),!Ce||!Ce.cssRules)return ve;var He=Array.from(Ce.cssRules);return ve[Fe].rules=ve[Fe].rules.concat(He),ve},{})}function z(le){var ve=le.type,xe=le.cssText;return ve!==4?false:/orientation:\s*landscape/i.test(xe)||/orientation:\s*portrait/i.test(xe)}function G(le){var ve=le.selectorText,xe=le.style;if(!ve||xe.length<=0)return false;var Ce=xe.transform||xe.webkitTransform||xe.msTransform||false;if(!Ce&&!xe.rotate)return false;var Pe=X(Ce),$e=Y("rotate",xe.rotate),Fe=Pe+$e;return !Fe||(Fe=Math.abs(Fe),Math.abs(Fe-180)%180<=u)?false:Math.abs(Fe-90)%90<=u}function X(le){if(!le)return 0;var ve=le.match(/(rotate|rotateZ|rotate3d|matrix|matrix3d)\(([^)]+)\)(?!.*(rotate|rotateZ|rotate3d|matrix|matrix3d))/);if(!ve)return 0;var xe=Ae(ve,3),Ce=xe[1],Pe=xe[2];return Y(Ce,Pe)}function Y(le,ve){switch(le){case "rotate":case "rotateZ":return Z(ve);case "rotate3d":var xe=ve.split(",").map(function(Fe){return Fe.trim()}),Ce=Ae(xe,4),Pe=Ce[2],$e=Ce[3];return parseInt(Pe)===0?void 0:Z($e);case "matrix":case "matrix3d":return ne(ve);default:return 0}}function Z(le){var ve=le.match(/(deg|grad|rad|turn)/)||[],xe=Ae(ve,1),Ce=xe[0];if(!Ce)return 0;var Pe=parseFloat(le.replace(Ce,""));switch(Ce){case "rad":return se(Pe);case "grad":return pe(Pe);case "turn":return Ee(Pe);default:return parseInt(Pe)}}function ne(le){var ve=le.split(",");if(ve.length<=6){var xe=Ae(ve,2),Ce=xe[0],Pe=xe[1],$e=Math.atan2(parseFloat(Pe),parseFloat(Ce));return se($e)}var Fe=parseFloat(ve[8]),He=Math.asin(Fe),ye=Math.cos(He),Oe=Math.acos(parseFloat(ve[0])/ye);return se(Oe)}function se(le){return Math.round(le*(180/Math.PI))}function pe(le){return le=le%400,le<0&&(le+=400),Math.round(le/400*360)}function Ee(le){return Math.round(360/(1/le))}}var LS=IS;function MS(e,t){var r=e.hasAttribute("controls");if(e.hasAttribute("loop"))return r;if(!e.duration){console.warn("axe.utils.preloadMedia did not load metadata");return}var n=t.allowedDuration,a=n===void 0?3:n,i=o(e);if(i<=a)return true;if(!r)return false;return true;function o(u){if(!u.currentSrc)return 0;var c=s(u.currentSrc);return c?c.length===1?Math.abs(u.duration-c[0]):Math.abs(c[1]-c[0]):Math.abs(u.duration-(u.currentTime||0))}function s(u){var c=u.match(/#t=(.*)/);if(c){var f=Ae(c,2),g=f[1],w=g.split(",");return w.map(function(S){return /:/.test(S)?l(S):parseFloat(S)})}}function l(u){for(var c=u.split(":"),f=0,g=1;c.length>0;)f+=g*parseInt(c.pop(),10),g*=60;return parseFloat(f)}}var OS=MS;function PS(e,t){return t.isViolation?false:void 0}var NS=PS,y1=" > ";function qS(e){var t={};return e.filter(function(r){var n=r.node.ancestry[r.node.ancestry.length-1]!=="html";if(n){var a=r.node.ancestry.flat(1/0).join(y1);return t[a]=r,true}var i=r.node.ancestry.slice(0,r.node.ancestry.length-1).flat(1/0).join(y1);return t[i]&&(t[i].result=true),false})}var BS=qS;function HS(e,t,r){var n=tr(r,"track"),a=n.some(function(i){return (i.attr("kind")||"").toLowerCase()==="captions"});return a?false:void 0}var VS=HS;function jS(e,t,r){var n=r.children;if(!n||!n.length)return false;for(var a=false,i=false,o,s=0;s<n.length;s++){if(o=n[s].props.nodeName.toUpperCase(),o==="DT"&&(a=true),a&&o==="DD")return false;o==="DD"&&(i=true);}return a||i}var $S=jS;function zS(e,t,r){var n=false,a=false,i=true,o=[],s=[],l=[];return r.children.forEach(function(u){var c=u.actualNode;if(c.nodeType===3&&c.nodeValue.trim()!==""){n=true;return}if(!(c.nodeType!==1||!bt(c))){i=false;var f=c.nodeName.toUpperCase()==="LI",g=Ye(u),w=g==="listitem";!f&&!w&&o.push(c),f&&!w&&(s.push(c),l.includes(g)||l.push(g)),w&&(a=true);}}),n||o.length?(this.relatedNodes(o),true):i||a?false:(this.relatedNodes(s),this.data({messageKey:"roleNotValid",roles:l.join(", ")}),true)}var GS=zS;function WS(e,t,r){var n=["definition","term","list"],a={badNodes:[],hasNonEmptyTextNode:false},i=r.children.reduce(function(s,l){var u=l.actualNode;return u.nodeName.toUpperCase()==="DIV"&&Ye(u)===null?s.concat(l.children):s.concat(l)},[]),o=i.reduce(function(s,l){var u=l.actualNode,c=u.nodeName.toUpperCase();if(u.nodeType===1&&bt(u)){var f=Qe(u);(c!=="DT"&&c!=="DD"||f)&&(n.includes(f)||s.badNodes.push(u));}else u.nodeType===3&&u.nodeValue.trim()!==""&&(s.hasNonEmptyTextNode=true);return s},a);return o.badNodes.length&&this.relatedNodes(o.badNodes),!!o.badNodes.length||o.hasNonEmptyTextNode}function US(e,t,r){var n=r.parent;if(n){var a=n.props.nodeName,i=Qe(n);return ["presentation","none","list"].includes(i)?true:i&&Sa(i)?(this.data({messageKey:"roleNotValid"}),false):["ul","ol","menu"].includes(a)}}function XS(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=[],a=[];if(r.children){for(var i=w1(r.children);i.length;){var o,s=i.shift(),l=s.vChild,u=s.nested;if(t.divGroups&&!u&&KS(l)){if(!l.children)return;var c=w1(l.children,true);i.push.apply(i,_e(c));continue}var f=YS(l,u,t);f&&(a.includes(f)||a.push(f),(l==null||(o=l.actualNode)===null||o===void 0?void 0:o.nodeType)===1&&n.push(l.actualNode));}return a.length===0?false:(this.data({values:a.join(", ")}),this.relatedNodes(n),true)}}function YS(e,t,r){var n=r.validRoles,a=n===void 0?[]:n,i=r.validNodeNames,o=i===void 0?[]:i,s=e.props,l=s.nodeName,u=s.nodeType,c=s.nodeValue,f=t?"div > ":"";if(u===3&&c.trim()!=="")return f+"#text";if(u!==1||!bt(e))return false;var g=Qe(e);return g?a.includes(g)?false:f+"[role=".concat(g,"]"):o.includes(l)?false:f+l}function KS(e){return e.props.nodeName==="div"&&Qe(e)===null}function w1(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:false;return e.map(function(r){return {vChild:r,nested:t}})}function JS(e){var t=Ot(e),r=t.nodeName.toUpperCase(),n=Qe(t);return r==="DIV"&&["presentation","none",null].includes(n)&&(t=Ot(t),r=t.nodeName.toUpperCase(),n=Qe(t)),r!=="DL"?false:!!(!n||["presentation","none","list"].includes(n))}var ZS=JS;function QS(e,t,r){var n=Dn(r.attr("lang")),a=Dn(r.attr("xml:lang"));return n===a}var ek=QS;function tk(e,t,r){var n=[];return t.attributes.forEach(function(a){var i=r.attr(a);if(typeof i=="string"){var o=Dn(i),s=t.value?!t.value.map(Dn).includes(o):!wo(o);(o!==""&&s||i!==""&&!Ve(i))&&n.push(a+'="'+r.attr(a)+'"');}}),!n.length||r.props.nodeName!=="html"&&!gl(r)?false:(this.data(n),true)}var rk=tk;function nu(e){return (e||"").trim()!==""}function nk(e,t,r){var n=typeof v<"u"?fa(v):false;if(t.attributes.includes("xml:lang")&&t.attributes.includes("lang")&&nu(r.attr("xml:lang"))&&!nu(r.attr("lang"))&&!n)return this.data({messageKey:"noXHTML"}),false;var a=t.attributes.some(function(i){return nu(r.attr(i))});return a?true:(this.data({messageKey:"noLang"}),false)}var ak=nk;function ik(e,t,r){var n=Ye(e),a=Pt(r);return a=a?a.toLowerCase():null,this.data({role:n,accessibleText:a}),this.relatedNodes([e]),true}var ok=ik;function sk(e){var t=[];return e.filter(function(r){var n=function(o){return r.data.role===o.data.role&&r.data.accessibleText===o.data.accessibleText},a=t.find(n);return a?(a.result=false,a.relatedNodes.push(r.relatedNodes[0]),false):(t.push(r),r.relatedNodes=[],true)})}var lk=sk;function uk(e,t,r){var n=no(r),a=eo(r),i=r.attr("aria-describedby");return !n&&!!(a||i)}var ck=uk;function dk(e){var t=Dt(e.getAttribute("id")),r=e.parentNode,n=qt(e);n=n.documentElement||n;var a=Array.from(n.querySelectorAll('label[for="'.concat(t,'"]')));for(a.length&&(a=a.filter(function(s){return !en(s)}));r;)r.nodeName.toUpperCase()==="LABEL"&&a.indexOf(r)===-1&&a.push(r),r=r.parentNode;if(this.relatedNodes(a),a.length>1){var i=a.filter(function(s){return bt(s)});if(i.length>1)return;var o=_r(e,"aria-labelledby");return o.includes(i[0])?false:void 0}return false}var fk=dk;function pk(e,t){var r=x1(t),n=x1(e);return !r||!n?false:r.includes(n)}function x1(e){var t=Ra(e,{emoji:true,nonBmp:true,punctuations:true});return Ve(t)}function mk(e,t,r){var n,a=t?.pixelThreshold,i=(n=t?.occurrenceThreshold)!==null&&n!==void 0?n:t?.occuranceThreshold,o=vn(e).toLowerCase(),s=Ve(nn(r,{subtreeDescendant:true,ignoreIconLigature:true,pixelThreshold:a,occurrenceThreshold:i})).toLowerCase();if(!s)return true;if(!(fl(o)<1||fl(s)<1))return pk(s,o)}var hk=mk;function gk(e,t,r){try{var n=Jt(r,"label");if(n){var a=Ve(Pt(n,{inControlContext:!0,startNode:r}));return n.actualNode&&this.relatedNodes([n.actualNode]),this.data({implicitLabel:a}),!!a}return !1}catch{return}}var vk=gk;function bk(e,t,r){if(r.hasAttr("id")){if(!r.actualNode)return;var n=qt(e),a=Dt(e.getAttribute("id")),i=n.querySelector('label[for="'.concat(a,'"]'));if(i&&!bt(i)){var o;try{o=Pt(r).trim();}catch{return}var s=o==="";return s}}return false}var yk=bk;function wk(e,t,r){var n=no(r),a=e.getAttribute("title");if(!n)return false;if(!a&&(a="",e.getAttribute("aria-describedby"))){var i=_r(e,"aria-describedby");a=i.map(function(o){return o?vn(o):""}).join("");}return Ve(a)===Ve(n)}var xk=wk;function Dk(e,t,r){var n=this;if(!r.attr("id"))return false;if(r.actualNode){var a=qt(r.actualNode),i=Dt(r.attr("id")),o=Array.from(a.querySelectorAll('label[for="'.concat(i,'"]')));if(this.relatedNodes(o),!o.length)return false;try{return o.some(function(s){if(Zt(s)){var l=Ve(vn(s,{inControlContext:!0,startNode:r}));return n.data({explicitLabel:l}),!!l}else return !0})}catch{return}}}var Ak=Dk;function _k(e,t,r){if(["none","presentation"].includes(Ye(r)))return false;var n=Jt(r,t.parentSelector);if(!n)return false;var a=Cr(n,true).toLowerCase();return a===""?false:a===Pt(r).toLowerCase()}var Ek=_k;function Ck(e,t,r){var n=r.attr("alt"),a=/^\s+$/;return typeof n=="string"&&a.test(n)}var Sk=Ck;function kk(e,t,r){var n=kr(r.attr("tabindex"));return n===null||n<=0}var Tk=kk;function Rk(e,t,r){if(r.children)try{var n=D1(r);if(!n.length)return !0;var a=n.filter(Fk);return a.length>0?(this.data({messageKey:"notHidden"}),this.relatedNodes(a)):this.relatedNodes(n),!1}catch{return}}function D1(e){if(!e.children){if(e.props.nodeType===1)throw new Error("Cannot determine children");return []}var t=[];return e.children.forEach(function(r){yr(r)==="widget"&&Ct(r)?t.push(r):t.push.apply(t,_e(D1(r)));}),t}function Fk(e){var t=kr(e.attr("tabindex"));return t!==null&&t<0}function Ik(e){var t=Bn("landmark"),r=Ot(e),n=Ye(e);for(this.data({role:n});r;){var a=Qe(r);if(!a&&r.nodeName.toUpperCase()!=="FORM"&&(a=Er(r)),a&&t.includes(a)&&!(a==="main"&&n==="complementary"))return false;r=Ot(r);}return true}var Lk=Ik;function Mk(e,t,r){if(r.children)try{return !r.children.some(function(n){return A1(n)})}catch{return}}function A1(e){if(ur(e))return true;if(!e.children){if(e.props.nodeType===1)throw new Error("Cannot determine children");return false}return e.children.some(function(t){return A1(t)})}function Ok(e,t,r){var n=["button","fieldset","input","select","textarea"],a=r.tabbableElements;if(!a||!a.length)return true;var i=a.filter(function(o){return !n.includes(o.props.nodeName)});return this.relatedNodes(i.map(function(o){return o.actualNode})),i.length===0||Ia()?true:i.every(function(o){var s=o.getComputedStylePropertyValue("pointer-events"),l=parseInt(o.getComputedStylePropertyValue("width")),u=parseInt(o.getComputedStylePropertyValue("height"));return o.actualNode.onfocus||(l===0||u===0)&&s==="none"})?void 0:false}var Pk=Ok;function Nk(e,t,r){if(!ur(r))return false;try{return !Pt(r)}catch{return}}var qk=Nk;function Bk(e,t,r){var n=r.tabbableElements.map(function(a){var i=a.actualNode;return i});if(!n||!n.length)return true;if(Ia()){this.relatedNodes(n);return}return true}var Hk=Bk;function Vk(e,t,r){if(r.hasAttr("contenteditable")&&n(r))return true;return ur(r);function n(a){var i=a.attr("contenteditable");if(i==="true"||i==="")return true;if(i==="false")return false;var o=Jt(r.parent,"[contenteditable]");return o?n(o):false}}var jk=Vk;function $k(e,t,r){var n=["button","fieldset","input","select","textarea"],a=r.tabbableElements;if(!a||!a.length)return true;var i=a.filter(function(o){return n.includes(o.props.nodeName)});return this.relatedNodes(i.map(function(o){return o.actualNode})),i.length===0||Ia()?true:i.every(function(o){var s=o.getComputedStylePropertyValue("pointer-events"),l=parseInt(o.getComputedStylePropertyValue("width")),u=parseInt(o.getComputedStylePropertyValue("height"));return o.actualNode.onfocus||(l===0||u===0)&&s==="none"})?void 0:false}var zk=$k;function Gk(e,t,r){var n=r.tabbableElements;if(!n)return false;var a=n.filter(function(i){return i!==r});return a.length>0}var Wk=Gk;function Uk(e,t,r){return en(r)||(this.data(r.attr("accesskey")),this.relatedNodes([e])),true}var Xk=Uk;function Yk(e){var t={};return e.filter(function(r){if(!r.data)return false;var n=r.data.toUpperCase();return t[n]?(t[n].relatedNodes.push(r.relatedNodes[0]),false):(t[n]=r,r.relatedNodes=[],true)}).map(function(r){return r.result=!!r.relatedNodes.length,r})}var Kk=Yk;function Jk(e,t,r){if(!t||!t.selector||typeof t.selector!="string")throw new TypeError("page-no-duplicate requires options.selector to be a string");var n="page-no-duplicate;"+t.selector;if(Ue.get(n)){this.data("ignored");return}Ue.set(n,true);var a=Tr(m._tree[0],t.selector,function(i){return bt(i)});return typeof t.nativeScopeFilter=="string"&&(a=a.filter(function(i){return i.actualNode.hasAttribute("role")||!Ln(i,t.nativeScopeFilter)})),typeof t.role=="string"&&(a=a.filter(function(i){return Ye(i)===t.role})),this.relatedNodes(a.filter(function(i){return i!==r}).map(function(i){return i.actualNode})),a.length<=1}var Zk=Jk;function Qk(e){return e.filter(function(t){return t.data!=="ignored"})}var eT=Qk;function tT(e,t,r){return ka(r,t.matcher)}var rT=tT;function nT(e,t,r){try{return Ve(nn(r))!==""}catch{return}}function aT(e,t,r){if(!t||!t.selector||typeof t.selector!="string")throw new TypeError("has-descendant requires options.selector to be a string");if(t.passForModal&&Ia())return true;var n=Tr(r,t.selector,function(a){return bt(a)});return this.relatedNodes(n.map(function(a){return a.actualNode})),n.length>0}var iT=aT;function oT(e){var t=e.some(function(r){return r.result===true});return t&&e.forEach(function(r){r.result=true;}),e}var sT=oT;function lT(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0;if(!t.attribute||typeof t.attribute!="string")throw new TypeError("attr-non-space-content requires options.attribute to be a string");if(!r.hasAttr(t.attribute))return this.data({messageKey:"noAttr"}),false;var n=r.attr(t.attribute),a=!Ve(n);return a?(this.data({messageKey:"emptyAttr"}),false):true}var uT=lT;function cT(e,t,r){var n=r.attr("autocomplete")||"";return Tp(n,t)}var dT=cT;function fT(e,t,r){if(r.props.nodeName!=="input")return true;var n=["text","search","number","tel"],a=["text","search","url"],i={bday:["text","search","date"],email:["text","search","email"],username:["text","search","email"],"street-address":["text"],tel:["text","search","tel"],"tel-country-code":["text","search","tel"],"tel-national":["text","search","tel"],"tel-area-code":["text","search","tel"],"tel-local":["text","search","tel"],"tel-local-prefix":["text","search","tel"],"tel-local-suffix":["text","search","tel"],"tel-extension":["text","search","tel"],"cc-number":n,"cc-exp":["text","search","month","tel"],"cc-exp-month":n,"cc-exp-year":n,"cc-csc":n,"transaction-amount":n,"bday-day":n,"bday-month":n,"bday-year":n,"new-password":["text","search","password"],"current-password":["text","search","password"],url:a,photo:a,impp:a};fe(t)==="object"&&Object.keys(t).forEach(function(f){i[f]||(i[f]=[]),i[f]=i[f].concat(t[f]);});var o=r.attr("autocomplete"),s=o.split(/\s+/g).map(function(f){return f.toLowerCase()}),l=s[s.length-1];if(yn.stateTerms.includes(l))return true;var u=i[l],c=r.hasAttr("type")?Ve(r.attr("type")).toLowerCase():"text";return c=yo().includes(c)?c:"text",typeof u>"u"?c==="text":u.includes(c)}var pT=fT,mT=["block","list-item","table","flex","grid","inline-block"];function hT(e){if(_1(e))return false;for(var t=Ot(e);t&&t.nodeType===1&&!_1(t);)t=Ot(t);if(t){if(this.relatedNodes([t]),r1(e,t))return true;if(gT(e)){this.data({messageKey:"pseudoContent"});return}return false}}function _1(e){var t=d.getComputedStyle(e).getPropertyValue("display");return mT.indexOf(t)!==-1||t.substr(0,6)==="table-"}function gT(e){for(var t=0,r=["before","after"];t<r.length;t++){var n=r[t],a=d.getComputedStyle(e,":".concat(n)),i=a.getPropertyValue("content");if(i!=="none")return true}return false}function E1(e,t){var r=e.getRelativeLuminance(),n=t.getRelativeLuminance();return (Math.max(r,n)+.05)/(Math.min(r,n)+.05)}var vT=["block","list-item","table","flex","grid","inline-block"];function C1(e){var t=d.getComputedStyle(e).getPropertyValue("display");return vT.indexOf(t)!==-1||t.substr(0,6)==="table-"}function bT(e,t){var r=t.requiredContrastRatio,n=t.allowSameColor;if(C1(e))return false;for(var a=Ot(e);a&&a.nodeType===1&&!C1(a);)a=Ot(a);if(a){this.relatedNodes([a]);var i=So(e),o=So(a),s=Ba(e),l=Ba(a),u=i&&o?E1(i,o):void 0;if(u&&(u=Math.floor(u*100)/100),u&&u>=r)return true;var c=s&&l?E1(s,l):void 0;if(c&&(c=Math.floor(c*100)/100),c&&c>=r)return true;if(!c){var f,g=(f=ht.get("bgColor"))!==null&&f!==void 0?f:"bgContrast";this.data({messageKey:g}),ht.clear();return}if(u)return n&&u===1&&c===1?true:u===1&&c>1?(this.data({messageKey:"bgContrast",contrastRatio:c,requiredContrastRatio:r,nodeBackgroundColor:s?s.toHexString():void 0,parentBackgroundColor:l?l.toHexString():void 0}),false):(this.data({messageKey:"fgContrast",contrastRatio:u,requiredContrastRatio:r,nodeColor:i?i.toHexString():void 0,parentColor:o?o.toHexString():void 0}),false)}}var yT=bT;function wT(e,t,r){var n=t.ignoreUnicode,a=t.ignoreLength,i=t.ignorePseudo,o=t.boldValue,s=t.boldTextPt,l=t.largeTextPt,u=t.contrastRatio,c=t.shadowOutlineEmMax,f=t.pseudoSizeThreshold;if(!Zt(e))return this.data({messageKey:"hidden"}),true;var g=Cr(r,false,true);if(n&&DT(g)){this.data({messageKey:"nonBmp"});return}var w=d.getComputedStyle(e),S=parseFloat(w.getPropertyValue("font-size")),P=w.getPropertyValue("font-weight"),H=parseFloat(P)>=o||P==="bold",z=Math.ceil(S*72)/96,G=H&&z<s||!H&&z<l,X=G?u.normal:u.large,Y=X.expected,Z=X.minThreshold,ne=X.maxThreshold,se=xT(r,{ignorePseudo:i,pseudoSizeThreshold:f});if(se){this.data({fontSize:"".concat((S*72/96).toFixed(1),"pt (").concat(S,"px)"),fontWeight:H?"bold":"normal",messageKey:"pseudoContent",expectedContrastRatio:Y+":1"}),this.relatedNodes(se.actualNode);return}var pe=Co(e,{minRatio:.001,maxRatio:c});if(pe===null){this.data({messageKey:"complexTextShadows"});return}var Ee=[],le=Ba(e,Ee,c),ve=So(e,false,le,t),xe=null,Ce=null,Pe=null;if(pe.length===0)xe=Hn(le,ve);else if(ve&&le){Pe=[].concat(_e(pe),[le]).reduce(Ql);var $e=Hn(le,ve),Fe=Hn(le,Pe),He=Hn(Pe,ve);xe=Math.max($e,Fe,He),xe!==$e&&(Ce=Fe>He?"shadowOnBgColor":"fgOnShadowColor");}var ye=xe>Y;if(typeof Z=="number"&&(typeof xe!="number"||xe<Z)||typeof ne=="number"&&(typeof xe!="number"||xe>ne))return this.data({contrastRatio:xe}),true;var Oe=Math.floor(xe*100)/100,ee,Se;le===null?ht.get("colorParse")?(ee="colorParse",Se=ht.get("colorParse")):ee=ht.get("bgColor"):ye||(ee=Ce),ve===null&&ht.get("colorParse")&&(ee="colorParse",Se=ht.get("colorParse"));var ge=Oe===1,ke=g.length===1;if(ge?ee=ht.set("bgColor","equalRatio"):!ye&&ke&&!a&&(ee="shortTextContent"),this.data({fgColor:ve?ve.toHexString():void 0,bgColor:le?le.toHexString():void 0,contrastRatio:Oe,fontSize:"".concat((S*72/96).toFixed(1),"pt (").concat(S,"px)"),fontWeight:H?"bold":"normal",messageKey:ee,expectedContrastRatio:Y+":1",shadowColor:Pe?Pe.toHexString():void 0,colorParse:Se}),ve===null||le===null||ge||ke&&!a&&!ye){ee=null,ht.clear(),this.relatedNodes(Ee);return}return ye||this.relatedNodes(Ee),ye}function xT(e,t){var r=t.pseudoSizeThreshold,n=r===void 0?.25:r,a=t.ignorePseudo,i=a===void 0?false:a;if(!i){var o=e.boundingClientRect,s=o.width*o.height*n;do{var l=S1(e.actualNode,":before"),u=S1(e.actualNode,":after");if(l+u>s)return e}while(e=e.parent)}}var S1=mt(function(t,r){var n=d.getComputedStyle(t,r),a=function(l,u){return n.getPropertyValue(l)===u};if(a("content","none")||a("display","none")||a("visibility","hidden")||a("position","absolute")===false||wn(n).alpha===0&&a("background-image","none"))return 0;var i=k1(n.getPropertyValue("width")),o=k1(n.getPropertyValue("height"));return i.unit!=="px"||o.unit!=="px"?i.value===0||o.value===0?0:1/0:i.value*o.value});function DT(e){var t={nonBmp:true},r=cl(e,t),n=Ve(Ra(e,t))==="";return r&&n}function k1(e){var t=/^([0-9.]+)([a-z]+)$/i,r=e.match(t)||[],n=Ae(r,3),a=n[1],i=a===void 0?"":a,o=n[2],s=o===void 0?"":o;return {value:parseFloat(i),unit:s.toLowerCase()}}var AT={ARTICLE:true,ASIDE:true,NAV:true,SECTION:true},_T={alert:true,alertdialog:true,application:true,article:true,banner:false,complementary:true,contentinfo:true,dialog:true,form:true,log:true,main:true,navigation:true,region:true,search:false,status:true,tabpanel:true};function ET(e){var t=e.nodeName.toUpperCase();return AT[t]||false}function CT(e,t){var r=Qe(e);return r&&(_T[r]||t.roles.includes(r))||false}function ST(e,t){return CT(e,t)||ET(e)}var kT=ST;function TT(e,t,r){var n=Ye(r,{dpub:true,fallback:true}),a=el(n);return a&&this.data(n),a}var RT=TT;function FT(e,t,r){var n=Ye(r,{noImplicit:true});this.data(n);var a,i;try{a=Ve(ll(r)).toLowerCase(),i=Ve(Pt(r)).toLowerCase();}catch{return}if(!i&&!a)return false;if(!(!i&&a)&&i.includes(a))return false}var IT=FT;function LT(e,t,r){return Ct(r)}var MT=LT;function OT(e,t,r){var n=jt(r.attr("role")),a=n.every(function(i){return !Sa(i.toLowerCase(),{allowAbstract:true})});return a?(this.data(n),true):false}var PT=OT;function NT(e,t,r){var n=Qe(r);if(n===null)return false;var a=yr(n);return a==="widget"||a==="composite"}var qT=NT;function BT(e,t,r){var n=tn().filter(function(a){return r.hasAttr(a)});return this.data(n),n.length>0}var HT=BT;function VT(e,t){var r=Er(e);return !r&&t.length===2&&t.includes("none")&&t.includes("presentation")}function jT(e,t,r){var n=jt(r.attr("role"));return n.length<=1?false:VT(r,n)?void 0:true}var $T=jT;function zT(e,t,r){var n=Ye(r,{dpub:true,fallback:true}),a=at.ariaRoles[n];return a!=null&&a.deprecated?(this.data(n),true):false}function GT(e,t,r){var n,a=(n=r.attr("aria-brailleroledescription"))!==null&&n!==void 0?n:"";if(Ve(a)==="")return true;var i=r.attr("aria-roledescription");return typeof i!="string"?(this.data({messageKey:"noRoleDescription"}),false):Ve(i)===""?(this.data({messageKey:"emptyRoleDescription"}),false):true}function WT(e,t,r){var n,a=(n=r.attr("aria-braillelabel"))!==null&&n!==void 0?n:"";if(!a.trim())return true;try{return Ve(Pt(r))!==""}catch{return}}function UT(e,t,r){t=Array.isArray(t.value)?t.value:[];var n="",a="",i=[],o=/^aria-/,s=["aria-errormessage"],l={"aria-controls":function(){var c=["false",null].includes(r.attr("aria-haspopup"))===false;return c&&(n='aria-controls="'.concat(r.attr("aria-controls"),'"'),a="controlsWithinPopup"),r.attr("aria-expanded")!=="false"&&r.attr("aria-selected")!=="false"&&c===false},"aria-current":function(c){c||(n='aria-current="'.concat(r.attr("aria-current"),'"'),a="ariaCurrent");},"aria-owns":function(){return r.attr("aria-expanded")!=="false"},"aria-describedby":function(c){c||(n='aria-describedby="'.concat(r.attr("aria-describedby"),'"'),a=m._tree&&m._tree[0]._hasShadowRoot?"noIdShadow":"noId");},"aria-labelledby":function(c){c||(n='aria-labelledby="'.concat(r.attr("aria-labelledby"),'"'),a=m._tree&&m._tree[0]._hasShadowRoot?"noIdShadow":"noId");}};if(r.attrNames.forEach(function(u){if(!(s.includes(u)||t.includes(u)||!o.test(u))){var c,f=r.attr(u);try{c=Wm(r,u);}catch{n="".concat(u,'="').concat(f,'"'),a="idrefs";return}(!l[u]||l[u](c))&&!c&&(f===""&&!XT(u)?(n=u,a="empty"):i.push("".concat(u,'="').concat(f,'"')));}}),i.length)return this.data(i),false;if(n){this.data({messageKey:a,needsReview:n});return}return true}function XT(e){var t;return ((t=at.ariaAttrs[e])===null||t===void 0?void 0:t.type)==="string"}function YT(e,t,r){t=Array.isArray(t.value)?t.value:[];var n=[],a=/^aria-/;return r.attrNames.forEach(function(i){t.indexOf(i)===-1&&a.test(i)&&!_o(i)&&n.push(i);}),n.length?(this.data(n),false):true}var KT=YT;function JT(e,t,r){var n=r.attrNames.filter(function(a){var i=at.ariaAttrs[a];if(!_o(a))return false;var o=i.unsupported;return fe(o)!=="object"?!!o:!ka(e,o.exceptions)});return n.length?(this.data(n),true):false}var ZT=JT;function QT(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=Ye(r),a=t.supportedRoles||[];if(a.includes(n))return true;if(!(n&&n!=="presentation"&&n!=="none"))return false}var e5=QT;function T1(e,t,r,n){var a=Qe(e);if(r||(r=Xl(a)),!r)return null;for(var i=r.includes("group"),o=n?e:e.parent;o;){var s=Ye(o,{noPresentational:true});if(!s)o=o.parent;else if(s==="group"&&i)t.includes(a)&&r.push(a),r=r.filter(function(l){return l!=="group"}),o=o.parent;else return r.includes(s)?null:r}return r}function t5(e){for(var t=[],r=null;e;){if(e.getAttribute("id")){var n=Dt(e.getAttribute("id")),a=qt(e);r=a.querySelector("[aria-owns~=".concat(n,"]")),r&&t.push(r);}e=e.parentElement;}return t.length?t:null}function r5(e,t,r){var n=t&&Array.isArray(t.ownGroupRoles)?t.ownGroupRoles:[],a=T1(r,n);if(!a)return true;var i=t5(e);if(i){for(var o=0,s=i.length;o<s;o++)if(a=T1(Ke(i[o]),n,a,true),!a)return true}return this.data(a),false}var n5=r5;function a5(e,t,r){var n=t&&Array.isArray(t.reviewEmpty)?t.reviewEmpty:[],a=Qe(r,{dpub:true}),i=Yl(a);if(i===null)return true;var o=i5(r,i),s=o.filter(function(u){var c=u.role,f=u.vNode;return f.props.nodeType===1&&!i.includes(c)});if(s.length){this.relatedNodes(s.map(function(u){var c=u.vNode;return c}));var l=r.attr("aria-busy")==="true"?"aria-busy-fail":"unallowed";return this.data({messageKey:l,values:s.map(function(u){var c=u.vNode,f=u.attr;return l5(c,f)}).filter(function(u,c,f){return f.indexOf(u)===c}).join(", ")}),false}if(o5(i,o))return true;if(r.attr("aria-busy")==="true")return this.data({messageKey:"aria-busy"}),true;if(this.data(i),!(n.includes(a)&&!o.some(u5)))return false}function i5(e,t){for(var r,n=[],a=Ta(e),i=function(){if(r.props.nodeType===3&&n.push({vNode:r,role:null}),r.props.nodeType!==1||!bt(r))return 1;var s=Ye(r,{noPresentational:true}),l=s5(r),u=!!l||Ct(r);if(!s&&!u||["group","rowgroup"].includes(s)&&t.some(function(f){return f===s}))a.push.apply(a,_e(r.children));else if(s||u){var c=l||"tabindex";n.push({role:s,attr:c,vNode:r});}};r=a.shift();)i();return n}function o5(e,t){return t.some(function(r){var n=r.role;return n&&e.includes(n)})}function s5(e){return tn().find(function(t){return e.hasAttr(t)})}function l5(e,t){var r=e.props,n=r.nodeName,a=r.nodeType;if(a===3)return "#text";var i=Qe(e,{dpub:true});return i?"[role=".concat(i,"]"):t?n+"[".concat(t,"]"):n}function u5(e){var t=e.vNode;return t.props.nodeType===3?t.props.nodeValue.trim().length>0:Fa(t,false,true)}function c5(e){var t,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,a=Qe(n),i=n.attrNames,o=Gm(a);if(Array.isArray(r[a])&&(o=Oa(r[a],o)),!a||!i.length||!o.length||d5(n,a)||p5(n,a)||a==="slider"&&(t=n.attr("aria-valuetext"))!==null&&t!==void 0&&t.trim())return true;var s=rn(n),l=o.filter(function(u){return !n.attr(u)&&!f5(s,u)});return l.length?(this.data(l),false):true}function d5(e,t){return t==="separator"&&!Ct(e)}function f5(e,t){var r;return ((r=e.implicitAttrs)===null||r===void 0?void 0:r[t])!==void 0}function p5(e,t){return t==="combobox"&&e.attr("aria-expanded")==="false"}function m5(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=t?.elementsAllowedAriaLabel||[],a=r.props.nodeName,i=Ye(r,{chromium:true,fallback:true}),o=h5(r,i,a,n),s=o.filter(function(c){return r.attrNames.includes(c)?Ve(r.attr(c))!=="":false});if(s.length===0)return false;var l=i!==null?"hasRole":"noRole";l+=s.length>1?"Plural":"Singular",this.data({role:i,nodeName:a,messageKey:l,prohibited:s});var u=nn(r,{subtreeDescendant:true});if(Ve(u)==="")return true}function h5(e,t,r,n){var a=at.ariaRoles[t];return a?a.prohibitedAttrs||[]:t||n.includes(r)||R1(e)==="widget"?[]:["aria-label","aria-labelledby"]}var R1=mt(function(t){if(t){var r=Ye(t,{noPresentational:true,chromium:true});return r?yr(r):R1(t.parent)}});function g5(e,t,r){var n=r.attr("aria-level"),a=parseInt(n,10);if(!(a>6))return true}var v5=g5;function b5(e,t,r){return r.attr("aria-hidden")!=="true"}var y5=b5;function w5(e,t,r){t=Array.isArray(t)?t:[];var n=r.attr("aria-errormessage"),a=r.hasAttr("aria-errormessage"),i=r.attr("aria-invalid"),o=r.hasAttr("aria-invalid");if(!o||i==="false")return true;function s(l){if(l.trim()==="")return at.ariaAttrs["aria-errormessage"].allowEmpty;var u=jt(l);if(u.length>1)return this.data({messageKey:"unsupported",values:u}),false;var c;try{c=l&&_r(r,"aria-errormessage")[0];}catch{this.data({messageKey:"idrefs",values:u});return}if(c){if(!bt(c))return this.data({messageKey:"hidden",values:u}),false;var f=jt(r.attr("aria-describedby"));return Qe(c)==="alert"||c.getAttribute("aria-live")==="assertive"||c.getAttribute("aria-live")==="polite"||u.some(function(g){return f.includes(g)})}}return t.indexOf(n)===-1&&a?(this.data(jt(n)),s.call(this,n)):true}function F1(e){var t,r,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=n.invalidTableRowAttrs,i=arguments.length>2?arguments[2]:void 0,o=(t=a==null||(r=a.filter)===null||r===void 0?void 0:r.call(a,function(c){return i.hasAttr(c)}))!==null&&t!==void 0?t:[];if(o.length===0)return true;var s=x5(i),l=s&&Ye(s);if(!l||l==="treegrid")return true;var u="row".concat(o.length>1?"Plural":"Singular");return this.data({messageKey:u,invalidAttrs:o,ownerRole:l}),false}function x5(e){if(e.parent){var t='table:not([role]), [role~="treegrid"], [role~="table"], [role~="grid"]';return Jt(e,t)}}function I1(e,t,r){var n=r.props,a=n.nodeName,i=n.type,o=A5(r.attr("aria-checked"));if(a!=="input"||i!=="checkbox"||!o)return true;var s=D5(r);return o===s?true:(this.data({messageKey:"checkbox",checkState:s}),false)}function D5(e){return e.props.indeterminate?"mixed":e.props.checked?"true":"false"}function A5(e){return e?(e=e.toLowerCase(),["mixed","true"].includes(e)?e:"false"):""}var L1={row:F1,checkbox:I1};function _5(e,t,r){var n=Ye(r);return L1[n]?L1[n].call(this,e,t,r):true}function E5(e,t,r){return r.attr("aria-busy")==="true"}function C5(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=t.allowImplicit,a=n===void 0?true:n,i=t.ignoredTags,o=i===void 0?[]:i,s=r.props.nodeName;if(o.map(function(u){return u.toLowerCase()}).includes(s))return true;var l=Hm(r,a);return l.length?(this.data(l),bt(r)?false:void 0):true}var S5=C5;function k5(e,t,r){var n=[],a=Ye(r),i=Nm(a);Array.isArray(t[a])&&(i=Oa(t[a].concat(i)));var o=it(r.attrNames),s;try{for(o.s();!(s=o.n()).done;){var l=s.value;_o(l)&&!i.includes(l)&&!T5(l,r.attr(l),r)&&n.push(l);}}catch(u){o.e(u);}finally{o.f();}if(!n.length)return true;if(this.data(n.map(function(u){return u+'="'+r.attr(u)+'"'})),!(!a&&!Ll(r)&&!Ct(r)))return false}function T5(e,t,r){return !!(e==="aria-required"&&t==="false"||e==="aria-multiline"&&t==="false"&&r.hasAttr("contenteditable"))}function R5(e,t,r){var n=rn(r);if(!n.allowedAriaAttrs)return true;var a=Qe(r);if(a)return true;var i=n.allowedAriaAttrs,o=tn(),s=[],l=it(r.attrNames),u;try{for(l.s();!(u=l.n()).done;){var c=u.value;o.includes(c)&&!i.includes(c)&&s.push(c);}}catch(g){l.e(g);}finally{l.f();}if(!s.length)return true;var f=s.length>1?"plural":"singular";return this.data({messageKey:f,nodeName:r.props.nodeName,values:s.map(function(g){return g+'="'+r.attr(g)+'"'}).join(", ")}),false}function F5(e,t,r){var n=jt(r.attr("role")).filter(function(a){return yr(a)==="abstract"});return n.length>0?(this.data(n),true):false}var I5=F5;function L5(e){var t=Dn(e.getAttribute("lang")),r=Dn(e.getAttribute("xml:lang"));return wo(t)&&wo(r)}var M5=L5;function O5(e){return e.ownerDocument.defaultView.self===e.ownerDocument.defaultView.top}var P5=O5;function N5(e,t){try{var r=t.props.nodeName;return r==="svg"?!0:!!Jt(t,"svg")}catch{return false}}var au=N5;function q5(e,t){return B5.every(function(r){return r(e,t)})}var B5=[function(e,t){return M1(t)},function(e,t){return H5(t)},function(e,t){return !au(e,t)},function(e,t){return Ct(t)},function(e,t){return ur(t)||!V5(t)},function(e){return !vl(e,{noLengthCompare:true,includeInlineBlock:true})}];function M1(e){return yr(e)==="widget"}function H5(e){return e.props.nodeName!=="area"}var V5=mt(function e(t){return t!=null&&t.parent?M1(t.parent)&&ur(t.parent)?true:e(t.parent):false});function j5(e,t){var r=Ye(t);return ["treegrid","grid","table"].includes(r)}function $5(e,t){var r=t.parent;if(r.props.nodeName!=="details"||z5(t))return false;var n=r.children.find(function(a){return a.props.nodeName==="summary"});return n===t}function z5(e){var t,r=(t=e.actualNode)===null||t===void 0?void 0:t.parentElement;return r&&r!==e.parent.actualNode}function G5(e){return wl(e)&&Gi(e)}var W5=G5;function U5(e,t){return Vr(e,13)!==void 0&&Ul(t)===false&&X5(t)}function X5(e){var t=e.boundingClientRect;return tr(e,"*").some(function(r){if(!Fa(r,true,true))return false;var n=[];if(ao(r)){var a;(a=n).push.apply(a,_e(Y5(r)));}else n=[r.boundingClientRect];return n.some(function(i){return i.left<t.left||i.right>t.right||i.top<t.top||i.bottom>t.bottom})})}function Y5(e){var t=v.createRange();return t.selectNodeContents(e.actualNode),Array.from(t.getClientRects())}function K5(e,t){return Er(t,{chromiumRoles:true})!==null}var J5=K5;function Z5(e){var t=Array.from(e.parentNode.childNodes),r=e.textContent.trim(),n=/[.!?:;](?![.!?:;])/g;if(r.length===0||(r.match(n)||[]).length>=2)return false;var a=t.slice(t.indexOf(e)+1).filter(function(i){return i.nodeName.toUpperCase()==="P"&&i.textContent.trim()!==""});return a.length!==0}var Q5=Z5;function eR(e,t){var r=Qe(t);if(!r||["none","presentation"].includes(r))return true;var n=Uf[r]||{},a=n.accessibleNameRequired;return !!(a||Ct(t))}var O1=eR,tR=function(t,r){return [O1,rR].every(function(n){return n(t,r)})};function rR(e){var t;if(!(e!=null&&(t=e.ownerDocument)!==null&&t!==void 0&&t.createRange))return true;var r=e.ownerDocument.createRange();return r.setStart(e,0),r.setEnd(e,e.childNodes.length),r.getClientRects().length===0}function nR(e,t){return t.props.nodeName!=="html"}var aR=nR;function iR(e,t){return !t.attr("role")}var oR=iR;function sR(e,t){var r=kr(t.attr("tabindex"));return r===null||r>=0}var lR=sR;function uR(e,t){var r=rn(t),n=r.namingMethods;return !(n&&n.length!==0||Qe(t)==="combobox"&&tr(t,'input:not([type="hidden"])').length||Ul(t,{popupRoles:["listbox"]}))}var cR=uR;function dR(e,t){return !(!t.hasAttr("role")||!t.attr("role").trim())}var fR=dR;function pR(e){return !(!e.currentSrc||e.hasAttribute("paused")||e.hasAttribute("muted"))}var mR=pR;function hR(e,t){var r=Ye(t);return r?!!at.ariaRoles[r].childrenPresentational:false}var gR=hR;function vR(e){var t=Ve(e.innerText),r=Qe(e);return r&&r!=="link"||!t||!Zt(e)?false:vl(e)}var bR=vR;function yR(e){return !Do(e)&&!Ct(e)}var wR=yR;function xR(e,t){return DR(t)&&bt(t)}function DR(e){var t=Bn("landmark"),r=Ye(e);if(!r)return false;var n=e.props.nodeName;if(n==="section"||n==="form"){var a=Pt(e);return !!a}return t.indexOf(r)>=0||r==="region"}function AR(e,t){var r="article, aside, main, nav, section";return e.hasAttribute("role")||!Ln(t,r)}var _R=AR;function ER(e,t){if(t.props.nodeName!=="input"||t.hasAttr("type")===false)return true;var r=t.attr("type").toLowerCase();return ["hidden","image","button","submit","reset"].includes(r)===false}var CR=ER;function SR(e,t){var r=Ye(e);if(!r)return false;var n=Bn("widget"),a=n.includes(r);if(!a)return false;var i=Wl();return !(!i.includes(r)||!Ve(Ca(t))&&!Ve(Ea(e))||!Ve(Cr(t)))}var kR=SR;function TR(e,t){return Zt(t)}function RR(e){return Zt(e)}function FR(e,t,r){return r.initiator}var P1=FR;function IR(e){return Mp(e)}var LR=IR;function MR(e,t){var r=!!Pt(t);if(!r)return false;var n=Ye(e);return !(n&&n!=="link")}var OR=MR;function PR(e,t){return !au(e,t)}var NR=PR;function qR(e,t){return Ye(t)==="heading"}function BR(e,t){return Er(t,{chromium:true})!==null}var HR=BR;function VR(e){var t=e.getAttribute("title");return !!Ve(t)}var jR=VR;function $R(e,t,r){var n,a;return !r.initiator&&!r.focusable&&((n=r.size)===null||n===void 0?void 0:n.width)*((a=r.size)===null||a===void 0?void 0:a.height)>1}var zR=$R;function GR(e){var t=e.getAttribute("id").trim(),r='*[id="'.concat(Dt(t),'"]'),n=Array.from(qt(e).querySelectorAll(r));return !Ao(e)&&n.every(function(a){return !Ct(a)})}var WR=GR;function UR(e){return Ao(e)}var XR=UR;function YR(e){var t=e.getAttribute("id").trim(),r='*[id="'.concat(Dt(t),'"]'),n=Array.from(qt(e).querySelectorAll(r));return !Ao(e)&&n.some(Ct)}var KR=YR;function JR(e){return Do(e)}var ZR=JR;function QR(e){if(Do(e)){var t=Hr(e);return t.length>=3&&t[0].length>=3&&t[1].length>=3&&t[2].length>=3}return false}var eF=QR;function tF(e,t){var r=t.props,n=r.nodeName,a=r.type;if(n==="option"||n==="select"&&!e.options.length)return false;var i=["hidden","range","color","checkbox","radio","image"];if(n==="input"&&i.includes(a)||Ha(t)||Ji(t))return false;var o=["input","select","textarea"];if(o.includes(n)){var s=d.getComputedStyle(e),l=parseInt(s.getPropertyValue("text-indent"),10);if(l){var u=e.getBoundingClientRect();if(u={top:u.top,bottom:u.bottom,left:u.left+l,right:u.right+l},!xl(u,e))return false}return true}var c=Ln(t,"label");if(n==="label"||c){var f=c||e,g=c?Ke(c):t;if(f.htmlFor){var w=qt(f),S=w.getElementById(f.htmlFor),P=S&&Ke(S);if(P&&Ha(P))return false}var H='input:not([type="hidden"],[type="image"],[type="button"],[type="submit"],[type="reset"]), select, textarea',z=tr(g,H)[0];if(z&&Ha(z))return false}for(var G=[],X=t;X;){if(X.props.id){var Y=Gl(X).filter(function(ve){return jt(ve.getAttribute("aria-labelledby")||"").includes(X.props.id)}).map(function(ve){return Ke(ve)});G.push.apply(G,_e(Y));}X=X.parent;}if(G.length>0&&G.every(Ha)||!aF(t)||!parseFloat(t.getComputedStylePropertyValue("font-size")))return false;for(var Z=v.createRange(),ne=t.children,se=0;se<ne.length;se++){var pe=ne[se];pe.actualNode.nodeType===3&&Ve(pe.actualNode.nodeValue)!==""&&Z.selectNodeContents(pe.actualNode);}var Ee=Array.from(Z.getClientRects()),le=xa(t);return Ee.some(function(ve){var xe=xl(ve,e);if(!le.length)return xe;var Ce=le.some(function(Pe){return Bs(ve,Pe.boundingClientRect)});return xe&&Ce})}var rF=tF,nF={emoji:true,nonBmp:false,punctuations:true};function aF(e){var t=Cr(e,false,true);return t===""||Ra(t,nF)===""?false:e.children.some(function(r){return r.props.nodeName==="#text"&&!dl(r)})}function iF(e,t,r){return P1(e,t,r)?!!e.querySelector("a[href]"):true}var oF=iF;function sF(e,t){var r=t.attr("autocomplete");if(!r||Ve(r)==="")return false;var n=t.props.nodeName;if(["textarea","input","select"].includes(n)===false)return false;var a=t.attr("aria-readonly")||"false";if(t.hasAttr("readonly")||a.toLowerCase()==="true")return false;var i=["submit","reset","button","hidden"];if(n==="input"&&i.includes(t.props.type))return false;var o=t.attr("aria-disabled")||"false";if(t.hasAttr("disabled")||o.toLowerCase()==="true")return false;var s=Qe(t),l=kr(t.attr("tabindex"));if(l<0&&t.hasAttr("role")){var u=at.ariaRoles[s];if(u===void 0||u.type!=="widget")return false}return !(l<0&&t.actualNode&&!Zt(t)&&!bt(t))}var lF=sF;function uF(e,t){var r=Qe(t);return !!Xl(r)}var cF=uF;function dF(e,t){var r=Qe(t,{dpub:true});return !!Yl(r)}var fF=dF;function N1(e){return e?e.getAttribute("aria-hidden")==="true"?false:N1(Ot(e)):true}function pF(e){return N1(Ot(e))}var mF=pF;function hF(e,t){var r=/^aria-/;return t.attrNames.some(function(n){return r.test(n)})}var gF=hF;function vF(e,t){return Qe(t,{dpub:true,fallback:true})!==null}var bF=vF;function yF(e,t){var r=/^aria-/,n=t.attrNames;if(n.length){for(var a=0,i=n.length;a<i;a++)if(r.test(n[a]))return true}return false}var wF=yF,xF={"abstractrole-evaluate":I5,"accesskeys-after":Kk,"accesskeys-evaluate":Xk,"alt-space-value-evaluate":Sk,"aria-allowed-attr-elm-evaluate":R5,"aria-allowed-attr-evaluate":k5,"aria-allowed-attr-matches":wF,"aria-allowed-role-evaluate":S5,"aria-allowed-role-matches":bF,"aria-busy-evaluate":E5,"aria-conditional-attr-evaluate":_5,"aria-conditional-checkbox-attr-evaluate":I1,"aria-conditional-row-attr-evaluate":F1,"aria-errormessage-evaluate":w5,"aria-has-attr-matches":gF,"aria-hidden-body-evaluate":y5,"aria-hidden-focus-matches":mF,"aria-label-evaluate":iC,"aria-labelledby-evaluate":nC,"aria-level-evaluate":v5,"aria-prohibited-attr-evaluate":m5,"aria-required-attr-evaluate":c5,"aria-required-children-evaluate":a5,"aria-required-children-matches":fF,"aria-required-parent-evaluate":n5,"aria-required-parent-matches":cF,"aria-roledescription-evaluate":e5,"aria-unsupported-attr-evaluate":ZT,"aria-valid-attr-evaluate":KT,"aria-valid-attr-value-evaluate":UT,"attr-non-space-content-evaluate":uT,"autocomplete-appropriate-evaluate":pT,"autocomplete-matches":lF,"autocomplete-valid-evaluate":dT,"avoid-inline-spacing-evaluate":tC,"braille-label-equivalent-evaluate":WT,"braille-roledescription-equivalent-evaluate":GT,"bypass-matches":oF,"caption-evaluate":VS,"caption-faked-evaluate":qE,"color-contrast-evaluate":wT,"color-contrast-matches":rF,"css-orientation-lock-evaluate":LS,"data-table-large-matches":eF,"data-table-matches":ZR,"deprecatedrole-evaluate":zT,"dlitem-evaluate":ZS,"doc-has-title-evaluate":QE,"duplicate-id-active-matches":KR,"duplicate-id-after":uC,"duplicate-id-aria-matches":XR,"duplicate-id-evaluate":sC,"duplicate-id-misc-matches":WR,"duplicate-img-label-evaluate":Ek,"exists-evaluate":JE,"explicit-evaluate":Ak,"fallbackrole-evaluate":$T,"focusable-content-evaluate":Wk,"focusable-disabled-evaluate":zk,"focusable-element-evaluate":jk,"focusable-modal-open-evaluate":Hk,"focusable-no-name-evaluate":qk,"focusable-not-tabbable-evaluate":Pk,"frame-focusable-content-evaluate":Mk,"frame-focusable-content-matches":zR,"frame-tested-after":BS,"frame-tested-evaluate":NS,"frame-title-has-text-matches":jR,"has-alt-evaluate":YE,"has-descendant-after":sT,"has-descendant-evaluate":iT,"has-global-aria-attribute-evaluate":HT,"has-implicit-chromium-role-matches":HR,"has-lang-evaluate":ak,"has-text-content-evaluate":nT,"has-widget-role-evaluate":qT,"heading-matches":qR,"heading-order-after":mS,"heading-order-evaluate":pS,"help-same-as-label-evaluate":xk,"hidden-content-evaluate":W_,"hidden-explicit-label-evaluate":yk,"html-namespace-matches":NR,"html5-scope-evaluate":PE,"identical-links-same-purpose-after":cS,"identical-links-same-purpose-evaluate":lS,"identical-links-same-purpose-matches":OR,"implicit-evaluate":vk,"inline-style-property-evaluate":WE,"inserted-into-focus-order-matches":LR,"internal-link-present-evaluate":FC,"invalid-children-evaluate":XS,"invalidrole-evaluate":PT,"is-element-focusable-evaluate":MT,"is-initiator-matches":P1,"is-on-screen-evaluate":GE,"is-visible-matches":RR,"is-visible-on-screen-matches":TR,"label-content-name-mismatch-evaluate":hk,"label-content-name-mismatch-matches":kR,"label-matches":CR,"landmark-has-body-context-matches":_R,"landmark-is-top-level-evaluate":Lk,"landmark-is-unique-after":lk,"landmark-is-unique-evaluate":ok,"landmark-unique-matches":xR,"layout-table-matches":wR,"link-in-text-block-evaluate":yT,"link-in-text-block-matches":bR,"link-in-text-block-style-evaluate":hT,"listitem-evaluate":US,"matches-definition-evaluate":rT,"meta-refresh-evaluate":TC,"meta-viewport-scale-evaluate":FS,"multiple-label-evaluate":fk,"nested-interactive-matches":gR,"no-autoplay-audio-evaluate":OS,"no-autoplay-audio-matches":mR,"no-empty-role-matches":fR,"no-explicit-name-required-matches":O1,"no-focusable-content-evaluate":Rk,"no-implicit-explicit-label-evaluate":IT,"no-naming-method-matches":cR,"no-negative-tabindex-matches":lR,"no-role-matches":oR,"non-empty-if-present-evaluate":$E,"not-html-matches":aR,"object-is-loaded-matches":tR,"only-dlitems-evaluate":WS,"only-listitems-evaluate":GS,"p-as-heading-evaluate":CC,"p-as-heading-matches":Q5,"page-no-duplicate-after":eT,"page-no-duplicate-evaluate":Zk,"presentation-role-conflict-matches":J5,"presentational-role-evaluate":VE,"region-after":DC,"region-evaluate":vC,"same-caption-summary-evaluate":IE,"scope-value-evaluate":FE,"scrollable-region-focusable-matches":U5,"skip-link-evaluate":hC,"skip-link-matches":W5,"structured-dlitems-evaluate":$S,"summary-interactive-matches":$5,"svg-namespace-matches":au,"svg-non-empty-title-evaluate":HE,"tabindex-evaluate":Tk,"table-or-grid-role-matches":j5,"target-offset-evaluate":kS,"target-size-evaluate":wS,"td-has-header-evaluate":TE,"td-headers-attr-evaluate":SE,"th-has-data-cells-evaluate":CE,"title-only-evaluate":ck,"unique-frame-title-after":pC,"unique-frame-title-evaluate":dC,"unsupportedrole-evaluate":RT,"valid-lang-evaluate":rk,"valid-scrollable-semantics-evaluate":kT,"widget-not-inline-matches":q5,"window-is-top-matches":P5,"xml-lang-mismatch-evaluate":ek,"xml-lang-mismatch-matches":M5},To=xF;function DF(e){this.id=e.id,this.data=null,this.relatedNodes=[],this.result=null;}var iu=DF;function ou(e){if(typeof e=="string"){if(To[e])return To[e];if(/^\s*function[\s\w]*\(/.test(e))return new Function("return "+e+";")();throw new ReferenceError("Function ID does not exist in the metadata-function-map: ".concat(e))}return e}function q1(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return (Array.isArray(e)||fe(e)!=="object")&&(e={value:e}),e}function Vn(e){e&&(this.id=e.id,this.configure(e));}Vn.prototype.enabled=true,Vn.prototype.run=function(t,r,n,a,i){r=r||{};var o=r.hasOwnProperty("enabled")?r.enabled:this.enabled,s=this.getOptions(r.options);if(o){var l=new iu(this),u=As(l,r,a,i),c;try{c=this.evaluate.call(u,t.actualNode,s,t,n);}catch(f){t&&t.actualNode&&(f.errorNode=lr.toSpec(t)),i(f);return}u.isAsync||(l.result=c,a(l));}else a(null);},Vn.prototype.runSync=function(t,r,n){r=r||{};var a=r,i=a.enabled,o=i===void 0?this.enabled:i;if(!o)return null;var s=this.getOptions(r.options),l=new iu(this),u=As(l);u.async=function(){throw new Error("Cannot run async check while in a synchronous run")};var c;try{c=this.evaluate.call(u,t.actualNode,s,t,n);}catch(f){throw t&&t.actualNode&&(f.errorNode=lr.toSpec(t)),f}return l.result=c,l},Vn.prototype.configure=function(t){var r=this;(!t.evaluate||To[t.evaluate])&&(this._internalCheck=true),t.hasOwnProperty("enabled")&&(this.enabled=t.enabled),t.hasOwnProperty("options")&&(this._internalCheck?this.options=q1(t.options):this.options=t.options),["evaluate","after"].filter(function(n){return t.hasOwnProperty(n)}).forEach(function(n){return r[n]=ou(t[n])});},Vn.prototype.getOptions=function(t){return this._internalCheck?Ps(this.options,q1(t||{})):t||this.options};var B1=Vn;function AF(e){this.id=e.id,this.result=Xe.NA,this.pageLevel=e.pageLevel,this.impact=null,this.nodes=[];}var Ro=AF;function Ut(e,t){this._audit=t,this.id=e.id,this.selector=e.selector||"*",e.impact&&(nt(Xe.impact.includes(e.impact),"Impact ".concat(e.impact," is not a valid impact")),this.impact=e.impact),this.excludeHidden=typeof e.excludeHidden=="boolean"?e.excludeHidden:true,this.enabled=typeof e.enabled=="boolean"?e.enabled:true,this.pageLevel=typeof e.pageLevel=="boolean"?e.pageLevel:false,this.reviewOnFail=typeof e.reviewOnFail=="boolean"?e.reviewOnFail:false,this.any=e.any||[],this.all=e.all||[],this.none=e.none||[],this.tags=e.tags||[],this.preload=!!e.preload,this.actIds=e.actIds,e.matches&&(this.matches=ou(e.matches));}Ut.prototype.matches=function(){return true},Ut.prototype.gather=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n="mark_gather_start_"+this.id,a="mark_gather_end_"+this.id,i="mark_isVisibleToScreenReaders_start_"+this.id,o="mark_isVisibleToScreenReaders_end_"+this.id;r.performanceTimer&&st.mark(n);var s=Bl(this.selector,t);return this.excludeHidden&&(r.performanceTimer&&st.mark(i),s=s.filter(function(l){return bt(l)}),r.performanceTimer&&(st.mark(o),st.measure("rule_"+this.id+"#gather_axe.utils.isVisibleToScreenReaders",i,o))),r.performanceTimer&&(st.mark(a),st.measure("rule_"+this.id+"#gather",n,a)),s},Ut.prototype.runChecks=function(t,r,n,a,i,o){var s=this,l=Ar();this[t].forEach(function(u){var c=s._audit.checks[u.id||u],f=fo(c,s.id,n);l.defer(function(g,w){c.run(r,f,a,g,function(S){w(new bo({ruleId:s.id,method:"".concat(c.id,"#evaluate"),errorNode:new sr(r),error:S}));});});}),l.then(function(u){u=u.filter(function(c){return c}),i({type:t,results:u});}).catch(o);},Ut.prototype.runChecksSync=function(t,r,n,a){var i=this,o=[];return this[t].forEach(function(s){var l=i._audit.checks[s.id||s],u=fo(l,i.id,n);o.push(l.runSync(r,u,a));}),o=o.filter(function(s){return s}),{type:t,results:o}},Ut.prototype.run=function(t){var r=this,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0;n.performanceTimer&&this._trackPerformance();var o=Ar(),s=new Ro(this),l;try{l=this.gatherAndMatchNodes(t,n);}catch(u){i(u);return}n.performanceTimer&&this._logGatherPerformance(l),l.forEach(function(u){o.defer(function(c,f){var g=Ar();["any","all","none"].forEach(function(w){g.defer(function(S,P){r.runChecks(w,u,n,t,S,P);});}),g.then(function(w){var S=H1(w);S&&(S.node=new sr(u),s.nodes.push(S),r.reviewOnFail&&(["any","all"].forEach(function(P){S[P].forEach(function(H){H.result===false&&(H.result=void 0);});}),S.none.forEach(function(P){P.result===true&&(P.result=void 0);}))),c();}).catch(function(w){return f(w)});});}),o.then(function(){n.performanceTimer&&r._logRulePerformance(),setTimeout(function(){a(s);},0);}).catch(function(u){n.performanceTimer&&r._logRulePerformance(),i(u);});},Ut.prototype.runSync=function(t){var r=this,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};n.performanceTimer&&this._trackPerformance();var a=new Ro(this),i=this.gatherAndMatchNodes(t,n);return n.performanceTimer&&this._logGatherPerformance(i),i.forEach(function(o){var s=[];["any","all","none"].forEach(function(u){s.push(r.runChecksSync(u,o,n,t));});var l=H1(s);l&&(l.node=o.actualNode?new sr(o):null,a.nodes.push(l),r.reviewOnFail&&(["any","all"].forEach(function(u){l[u].forEach(function(c){c.result===false&&(c.result=void 0);});}),l.none.forEach(function(u){u.result===true&&(u.result=void 0);})));}),n.performanceTimer&&this._logRulePerformance(),a},Ut.prototype._trackPerformance=function(){this._markStart="mark_rule_start_"+this.id,this._markEnd="mark_rule_end_"+this.id,this._markChecksStart="mark_runchecks_start_"+this.id,this._markChecksEnd="mark_runchecks_end_"+this.id;},Ut.prototype._logGatherPerformance=function(t){mn("gather for ".concat(this.id," (").concat(t.length," nodes): ").concat(st.timeElapsed(),"ms")),st.mark(this._markChecksStart);},Ut.prototype._logRulePerformance=function(){st.mark(this._markChecksEnd),st.mark(this._markEnd),st.measure("runchecks_"+this.id,this._markChecksStart,this._markChecksEnd),st.measure("rule_"+this.id,this._markStart,this._markEnd);};function H1(e){if(e.length){var t=false,r={};return e.forEach(function(n){var a=n.results.filter(function(i){return i});r[n.type]=a,a.length&&(t=true);}),t?r:null}}Ut.prototype.gatherAndMatchNodes=function(t,r){var n=this,a="mark_matches_start_"+this.id,i="mark_matches_end_"+this.id,o=this.gather(t,r);return r.performanceTimer&&st.mark(a),o=o.filter(function(s){try{return n.matches(s.actualNode,s,t)}catch(l){throw new bo({ruleId:n.id,method:"#matches",errorNode:new sr(s),error:l})}}),r.performanceTimer&&(st.mark(i),st.measure("rule_"+this.id+"#matches",a,i)),o};function _F(e){return Hi(e).map(function(t){var r=e._audit.checks[t.id||t];return r&&typeof r.after=="function"?r:null}).filter(Boolean)}function EF(e,t){var r=[];return e.forEach(function(n){var a=Hi(n);a.forEach(function(i){i.id===t&&(i.node=n.node,r.push(i));});}),r}function CF(e){return e.filter(function(t){return t.filtered!==true})}function SF(e){var t=["any","all","none"],r=e.nodes.filter(function(n){var a=0;return t.forEach(function(i){n[i]=CF(n[i]),a+=n[i].length;}),a>0});return e.pageLevel&&r.length&&(r=[r.reduce(function(n,a){if(n)return t.forEach(function(i){n[i].push.apply(n[i],a[i]);}),n})]),r}Ut.prototype.after=function(t,r){var n=this,a=_F(this);return a.forEach(function(i){var o=EF(t.nodes,i.id),s=fo(i,n.id,r),l;try{l=i.after(o,s.options);}catch(c){var u;throw new bo({ruleId:n.id,method:"".concat(i.id,"#after"),errorNode:(u=t.nodes)===null||u===void 0||(u=u[0])===null||u===void 0?void 0:u.node,error:c})}n.reviewOnFail&&l.forEach(function(c){var f=(n.any.includes(c.id)||n.all.includes(c.id))&&c.result===false,g=n.none.includes(c.id)&&c.result===true;(f||g)&&(c.result=void 0);}),o.forEach(function(c){delete c.node,l.indexOf(c)===-1&&(c.filtered=true);});}),t.nodes=SF(t),t},Ut.prototype.configure=function(t){t.hasOwnProperty("selector")&&(this.selector=t.selector),t.hasOwnProperty("excludeHidden")&&(this.excludeHidden=typeof t.excludeHidden=="boolean"?t.excludeHidden:true),t.hasOwnProperty("enabled")&&(this.enabled=typeof t.enabled=="boolean"?t.enabled:true),t.hasOwnProperty("pageLevel")&&(this.pageLevel=typeof t.pageLevel=="boolean"?t.pageLevel:false),t.hasOwnProperty("reviewOnFail")&&(this.reviewOnFail=typeof t.reviewOnFail=="boolean"?t.reviewOnFail:false),t.hasOwnProperty("any")&&(this.any=t.any),t.hasOwnProperty("all")&&(this.all=t.all),t.hasOwnProperty("none")&&(this.none=t.none),t.hasOwnProperty("tags")&&(this.tags=t.tags),t.hasOwnProperty("actIds")&&(this.actIds=t.actIds),t.hasOwnProperty("matches")&&(this.matches=ou(t.matches)),t.impact&&(nt(Xe.impact.includes(t.impact),"Impact ".concat(t.impact," is not a valid impact")),this.impact=t.impact);};var jn=/\{\{.+?\}\}/g,kF=(function(){function e(t){rr(this,e),this.lang="en",this.defaultConfig=t,this.standards=at,this._init(),this._defaultLocale=null;}return zt(e,[{key:"_setDefaultLocale",value:function(){if(!this._defaultLocale){for(var r={checks:{},rules:{},failureSummaries:{},incompleteFallbackMessage:"",lang:this.lang},n=Object.keys(this.data.checks),a=0;a<n.length;a++){var i=n[a],o=this.data.checks[i],s=o.messages,l=s.pass,u=s.fail,c=s.incomplete;r.checks[i]={pass:l,fail:u,incomplete:c};}for(var f=Object.keys(this.data.rules),g=0;g<f.length;g++){var w=f[g],S=this.data.rules[w],P=S.description,H=S.help;r.rules[w]={description:P,help:H};}for(var z=Object.keys(this.data.failureSummaries),G=0;G<z.length;G++){var X=z[G],Y=this.data.failureSummaries[X],Z=Y.failureMessage;r.failureSummaries[X]={failureMessage:Z};}r.incompleteFallbackMessage=this.data.incompleteFallbackMessage,this._defaultLocale=r;}}},{key:"_resetLocale",value:function(){var r=this._defaultLocale;r&&this.applyLocale(r);}},{key:"_applyCheckLocale",value:function(r){for(var n=Object.keys(r),a=0;a<n.length;a++){var i=n[a];if(!this.data.checks[i])throw new Error('Locale provided for unknown check: "'.concat(i,'"'));this.data.checks[i]=RF(this.data.checks[i],r[i]);}}},{key:"_applyRuleLocale",value:function(r){for(var n=Object.keys(r),a=0;a<n.length;a++){var i=n[a];if(!this.data.rules[i])throw new Error('Locale provided for unknown rule: "'.concat(i,'"'));this.data.rules[i]=FF(this.data.rules[i],r[i]);}}},{key:"_applyFailureSummaries",value:function(r){for(var n=Object.keys(r),a=0;a<n.length;a++){var i=n[a];if(!this.data.failureSummaries[i])throw new Error('Locale provided for unknown failureMessage: "'.concat(i,'"'));this.data.failureSummaries[i]=IF(this.data.failureSummaries[i],r[i]);}}},{key:"applyLocale",value:function(r){this._setDefaultLocale(),r.checks&&this._applyCheckLocale(r.checks),r.rules&&this._applyRuleLocale(r.rules),r.failureSummaries&&this._applyFailureSummaries(r.failureSummaries,"failureSummaries"),r.incompleteFallbackMessage&&(this.data.incompleteFallbackMessage=LF(this.data.incompleteFallbackMessage,r.incompleteFallbackMessage)),r.lang&&(this.lang=r.lang);}},{key:"setAllowedOrigins",value:function(r){var n=j1();this.allowedOrigins=[];var a=it(r),i;try{for(a.s();!(i=a.n()).done;){var o=i.value;if(o===Xe.allOrigins){this.allowedOrigins=["*"];return}else o!==Xe.sameOrigin?this.allowedOrigins.push(o):n&&this.allowedOrigins.push(n);}}catch(s){a.e(s);}finally{a.f();}}},{key:"_init",value:function(){var r=TF(this.defaultConfig);this.lang=r.lang||"en",this.reporter=r.reporter,this.commands={},this.rules=[],this.checks={},this.brand="axe",this.application="axeAPI",this.tagExclude=["experimental","deprecated"],this.noHtml=r.noHtml,this.allowedOrigins=r.allowedOrigins,$1(r.rules,this,"addRule"),$1(r.checks,this,"addCheck"),this.data={},this.data.checks=r.data&&r.data.checks||{},this.data.rules=r.data&&r.data.rules||{},this.data.failureSummaries=r.data&&r.data.failureSummaries||{},this.data.incompleteFallbackMessage=r.data&&r.data.incompleteFallbackMessage||"",this._constructHelpUrls();}},{key:"registerCommand",value:function(r){this.commands[r.id]=r.callback;}},{key:"addRule",value:function(r){r.metadata&&(this.data.rules[r.id]=r.metadata);var n=this.getRule(r.id);n?n.configure(r):this.rules.push(new Ut(r,this));}},{key:"addCheck",value:function(r){var n=r.metadata;fe(n)==="object"&&(this.data.checks[r.id]=n,fe(n.messages)==="object"&&Object.keys(n.messages).filter(function(a){return n.messages.hasOwnProperty(a)&&typeof n.messages[a]=="string"}).forEach(function(a){n.messages[a].indexOf("function")===0&&(n.messages[a]=new Function("return "+n.messages[a]+";")());})),this.checks[r.id]?this.checks[r.id].configure(r):this.checks[r.id]=new B1(r);}},{key:"run",value:function(r,n,a,i){this.normalizeOptions(n),sr.setRunOptions(n),m._selectCache=[];var o=MF(this.rules,r,n),s=o.now,l=o.later,u=Ar();s.forEach(function(g){u.defer(z1(g,r,n));});var c=Ar();l.length&&c.defer(function(g){hm(n).then(function(w){return g(w)}).catch(function(w){console.warn("Couldn't load preload assets: ",w),g(void 0);});});var f=Ar();f.defer(u),f.defer(c),f.then(function(g){var w=g.pop();if(w&&w.length){var S=w[0];S&&(r=Te({},r,S));}var P=g[0];if(!l.length){m._selectCache=void 0,a(P.filter(function(z){return !!z}));return}var H=Ar();l.forEach(function(z){var G=z1(z,r,n);H.defer(G);}),H.then(function(z){m._selectCache=void 0,a(P.concat(z).filter(function(G){return !!G}));}).catch(i);}).catch(i);}},{key:"after",value:function(r,n){var a=this.rules;return r.map(function(i){if(i.error)return i;var o=ya(a,"id",i.id);if(!o)throw new Error("Result for unknown rule. You may be running mismatch axe-core versions");try{return o.after(i,n)}catch(s){if(n.debug)throw s;return G1(o,s)}})}},{key:"getRule",value:function(r){return this.rules.find(function(n){return n.id===r})}},{key:"normalizeOptions",value:function(r){var n=this,a=[],i=[];if(n.rules.forEach(function(c){i.push(c.id),c.tags.forEach(function(f){a.includes(f)||a.push(f);});}),["object","string"].includes(fe(r.runOnly))){if(typeof r.runOnly=="string"&&(r.runOnly=[r.runOnly]),Array.isArray(r.runOnly)){var o=r.runOnly.find(function(c){return a.includes(c)}),s=r.runOnly.find(function(c){return i.includes(c)});if(o&&s)throw new Error("runOnly cannot be both rules and tags");s?r.runOnly={type:"rule",values:r.runOnly}:r.runOnly={type:"tag",values:r.runOnly};}var l=r.runOnly;if(l.value&&!l.values&&(l.values=l.value,delete l.value),!Array.isArray(l.values)||l.values.length===0)throw new Error("runOnly.values must be a non-empty array");if(["rule","rules"].includes(l.type))l.type="rule",l.values.forEach(function(c){if(!i.includes(c))throw new Error("unknown rule `"+c+"` in options.runOnly")});else if(["tag","tags",void 0].includes(l.type)){l.type="tag";var u=l.values.filter(function(c){return !a.includes(c)&&!/wcag2[1-3]a{1,3}/.test(c)});u.length!==0&&m.log("Could not find tags `"+u.join("`, `")+"`");}else throw new Error("Unknown runOnly type '".concat(l.type,"'"))}return fe(r.rules)==="object"&&Object.keys(r.rules).forEach(function(c){if(!i.includes(c))throw new Error("unknown rule `"+c+"` in options.rules")}),r}},{key:"setBranding",value:function(r){var n={brand:this.brand,application:this.application};typeof r=="string"&&(this.application=r),r&&r.hasOwnProperty("brand")&&r.brand&&typeof r.brand=="string"&&(this.brand=r.brand),r&&r.hasOwnProperty("application")&&r.application&&typeof r.application=="string"&&(this.application=r.application),this._constructHelpUrls(n);}},{key:"_constructHelpUrls",value:function(){var r=this,n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,a=(m.version.match(/^[1-9][0-9]*\.[0-9]+/)||["x.y"])[0];this.rules.forEach(function(i){r.data.rules[i.id]||(r.data.rules[i.id]={});var o=r.data.rules[i.id];(typeof o.helpUrl!="string"||n&&o.helpUrl===W1(n,i.id,a))&&(o.helpUrl=W1(r,i.id,a));});}},{key:"resetRulesAndChecks",value:function(){this._init(),this._resetLocale();}}])})(),V1=kF;function j1(){if(d.origin&&d.origin!=="null")return d.origin;if(d.location&&d.location.origin&&d.location.origin!=="null")return d.location.origin}function TF(e){var t;if(e?(t=Nr(e),t.commons=e.commons):t={},t.reporter=t.reporter||null,t.noHtml=t.noHtml||false,!t.allowedOrigins){var r=j1();t.allowedOrigins=r?[r]:[];}return t.rules=t.rules||[],t.checks=t.checks||[],t.data=Te({checks:{},rules:{}},t.data),t}function $1(e,t,r){var n,a;for(n=0,a=e.length;n<a;n++)t[r](e[n]);}var RF=function(t,r){var n=r.pass,a=r.fail;return typeof n=="string"&&jn.test(n)&&(n=Ur.default.compile(n)),typeof a=="string"&&jn.test(a)&&(a=Ur.default.compile(a)),Te({},t,{messages:{pass:n||t.messages.pass,fail:a||t.messages.fail,incomplete:fe(t.messages.incomplete)==="object"?Te({},t.messages.incomplete,r.incomplete):r.incomplete}})},FF=function(t,r){var n=r.help,a=r.description;return typeof n=="string"&&jn.test(n)&&(n=Ur.default.compile(n)),typeof a=="string"&&jn.test(a)&&(a=Ur.default.compile(a)),Te({},t,{help:n||t.help,description:a||t.description})},IF=function(t,r){var n=r.failureMessage;return typeof n=="string"&&jn.test(n)&&(n=Ur.default.compile(n)),Te({},t,{failureMessage:n||t.failureMessage})},LF=function(t,r){return typeof r=="string"&&jn.test(r)&&(r=Ur.default.compile(r)),r||t};function MF(e,t,r){var n={now:[],later:[]},a=e.reduce(function(i,o){return wm(o,t,r)?o.preload?(i.later.push(o),i):(i.now.push(o),i):i},n);return a}function z1(e,t,r){return r.performanceTimer&&st.mark("mark_rule_start_"+e.id),function(n,a){e.run(t,r,function(i){return n(i)},function(i){r.debug?a(i):n(G1(e,i));});}}function G1(e,t){var r=t.errorNode,n=vo(t),a=[{id:"error-occurred",result:void 0,data:n,relatedNodes:[]}],i=r||new sr(v.documentElement);return Object.assign(new Ro(e),{error:n,result:Xe.CANTTELL,nodes:[{any:[],all:[],none:a,node:i}]})}function W1(e,t,r){var n=e.brand,a=e.application,i=e.lang;return Xe.helpUrlBase+n+"/"+(r||m.version.substring(0,m.version.lastIndexOf(".")))+"/"+t+"?application="+encodeURIComponent(a)+(i&&i!=="en"?"&lang="+encodeURIComponent(i):"")}function U1(e){var t=d&&"Node"in d&&"NodeList"in d,r=!!v;if(!(t&&r)){if(!e||!e.ownerDocument)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.');r||(Ue.set("globalDocumentSet",true),v=e.ownerDocument),t||(Ue.set("globalWindowSet",true),d=v.defaultView);}}function OF(){Ue.get("globalDocumentSet")&&(Ue.set("globalDocumentSet",false),v=null),Ue.get("globalWindowSet")&&(Ue.set("globalWindowSet",false),d=null);}function PF(){OF(),m._memoizedFns.forEach(function(e){return e.clear()}),Ue.clear(),m._tree=void 0,m._selectorData=void 0,m._selectCache=void 0;}var sn=PF;function X1(e,t,r,n){try{e=new po(e),m._tree=e.flatTree,m._selectorData=Li(e.flatTree);}catch(o){return sn(),n(o)}var a=Ar(),i=m._audit;t.performanceTimer&&st.auditStart(),e.frames.length&&t.iframes!==false&&a.defer(function(o,s){of(e,t,"rules",null,o,s);}),a.defer(function(o,s){i.run(e,t,o,s);}),a.then(function(o){try{t.performanceTimer&&st.auditEnd();var s=Vi(o.map(function(l){return {results:l}}));e.initiator&&(t.performanceTimer&&st.mark("auditAfterStart"),s=i.after(s,t),t.performanceTimer&&(st.mark("auditAfterEnd"),st.measure("audit.after","auditAfterStart","auditAfterEnd"),st.logMeasures("audit.after")),s.forEach(go),s=s.map(ea));try{r(s,sn);}catch(l){sn(),mn(l);}}catch(l){sn(),n(l);}}).catch(function(o){sn(),n(o);});}function NF(e){m._audit=new V1(e);}function qF(e,t,r){var n=r,a=function(l){l instanceof Error||(l=new Error(l)),r(l);},i=e&&e.context||{};i.hasOwnProperty("include")&&!i.include.length&&(i.include=[v]);var o=e&&e.options||{};switch(e.command){case "rules":return X1(i,o,function(s,l){s=lr.mapRawResults(s),n(s),l();},a);case "cleanup-plugin":return Tm(n,a);default:if(m._audit&&m._audit.commands&&m._audit.commands[e.command])return m._audit.commands[e.command](e,r)}}d.top!==d&&(br.subscribe("axe.start",qF),br.subscribe("axe.ping",function(e,t,r){r({axe:true});}));function ja(e){this._run=e.run,this._collect=e.collect,this._registry={},e.commands.forEach(function(t){m._audit.registerCommand(t);});}ja.prototype.run=function(){return this._run.apply(this,arguments)},ja.prototype.collect=function(){return this._collect.apply(this,arguments)},ja.prototype.cleanup=function(t){var r=m.utils.queue(),n=this;Object.keys(this._registry).forEach(function(a){r.defer(function(i){n._registry[a].cleanup(i);});}),r.then(t);},ja.prototype.add=function(t){this._registry[t.id]=t;};function BF(e){m.plugins[e.id]=new ja(e);}var HF=BF;function VF(){var e=m._audit;if(!e)throw new Error("No audit configured");e.resetRulesAndChecks(),oD();}var jF=VF;function $F(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};r.reporter=r.reporter||m._audit.reporter||"v1",m._selectorData={},t instanceof Mt||(t=new km(t));var n=tm(e);if(!n)throw new Error("unknown rule `"+e+"`");n=Object.create(n,{excludeHidden:{value:false}});var a={initiator:true,include:[t],exclude:[],frames:[],page:false,focusable:true,size:{},flatTree:[]},i=n.runSync(a,r);go(i),ea(i);var o=gc([i]);return o.violations.forEach(function(s){return s.nodes.forEach(function(l){l.failureSummary=Sl(l);})}),Te({},an(),o,{toolOptions:r})}function Y1(e){var t,r,n,a=Ae(e,3),i=a[0],o=a[1],s=a[2],l=new TypeError("axe.run arguments are invalid");if(!im(i)){if(s!==void 0)throw l;s=o,o=i,i=v;}if(fe(o)!=="object"){if(s!==void 0)throw l;s=o,o={};}if(typeof s!="function"&&s!==void 0)throw l;return o=Nr(o),o.reporter=(t=(r=o.reporter)!==null&&r!==void 0?r:(n=m._audit)===null||n===void 0?void 0:n.reporter)!==null&&t!==void 0?t:"v1",{context:i,options:o,callback:s}}var su=function(){};function zF(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];U1(t[0]);var n=Y1(t),a=n.context,i=n.options,o=n.callback,s=o===void 0?su:o,l=GF(s),u=l.thenable,c=l.resolve,f=l.reject;try{nt(m._audit,"No audit configured"),nt(!m._running,"Axe is already running. Use `await axe.run()` to wait for the previous run to finish before starting a new run.");}catch(S){return UF(S,s)}m._running=true,i.performanceTimer&&st.start();function g(S,P){var H=function(X){i.performanceTimer&&(st.mark("reporterEnd"),st.measure("reporter","reporterStart","reporterEnd"),st.logMeasures("reporter"),st.end()),m._running=false,P();try{c(X);}catch(Y){m.log(Y);}},z=function(X){m._running=false,P();try{f(X);}catch(Y){m.log(Y);}};try{i.performanceTimer&&st.mark("reporterStart"),WF(S,i,H,z);}catch(G){z(G);}}function w(S){i.performanceTimer&&st.end(),m._running=false,s(S),f(S);}return m._runRules(a,i,g,w),u}function GF(e){var t,r,n;return typeof Promise=="function"&&e===su?t=new Promise(function(a,i){r=i,n=a;}):(n=function(i){return e(null,i)},r=function(i){return e(i)}),{thenable:t,reject:r,resolve:n}}function WF(e,t,r,n){var a=jl(t.reporter),i=a(e,t,r,n);i!==void 0&&r(i);}function UF(e,t){if(typeof t=="function"&&t!==su){t(e.message);return}throw e}function XF(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=Y1(t),a=n.options,i=n.context;nt(m._audit,"Axe is not configured. Audit is missing."),nt(!m._running,"Axe is already running. Use `await axe.run()` to wait for the previous run to finish before starting a new run.");var o=new po(i,m._tree);return m._tree=o.flatTree,m._selectorData=Li(o.flatTree),m._running=true,a.elementRef=false,new Promise(function(s,l){m._audit.run(o,a,s,l);}).then(function(s){s=lr.mapRawResults(s);var l=o.frames.map(function(c){var f=c.node;return lr.toSpec(f)}),u;return o.initiator&&(u=an()),m._running=false,sn(),{results:s,frames:l,environmentData:u}}).catch(function(s){return m._running=false,sn(),Promise.reject(s)})}function YF(e){var t,r,n,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};a=Nr(a);var i=e.find(function(l){return l.environmentData})||{},o=i.environmentData;m._audit.normalizeOptions(a),a.reporter=(t=(r=a.reporter)!==null&&r!==void 0?r:(n=m._audit)===null||n===void 0?void 0:n.reporter)!==null&&t!==void 0?t:"v1",KF(e);var s=Vi(e);return s=m._audit.after(s,a),s.forEach(go),s=s.map(ea),ZF(s,Te({environmentData:o},a))}function KF(e){var t=[],r=it(e),n;try{for(r.s();!(n=r.n()).done;){var a=n.value,i=t.shift();if(a){a.frameSpec=i??null;var o=JF(a);t.unshift.apply(t,_e(o));}}}catch(s){r.e(s);}finally{r.f();}}function JF(e){var t=e.frames,r=e.frameSpec;return r?t.map(function(n){return lr.mergeSpecs(n,r)}):t}function ZF(e,t){return new Promise(function(r,n){var a=jl(t.reporter);a(e,t,r,n);})}function QF(e){if(m._tree)throw new Error("Axe is already setup. Call `axe.teardown()` before calling `axe.setup` again.");return e&&fe(e.documentElement)==="object"&&fe(e.defaultView)==="object"&&(e=e.documentElement),U1(e),m._tree=El(e),m._selectorData=Li(m._tree),m._tree[0]}var e3=QF,t3=function(t,r,n){console.warn('"na" reporter will be deprecated in axe v4.0. Use the "v2" reporter instead.'),typeof r=="function"&&(n=r,r={});var a=r,i=a.environmentData,o=J(a,K);n(Te({},an(i),{toolOptions:o},Ma(t,r)));},r3=t3,n3=function(t,r,n){typeof r=="function"&&(n=r,r={});var a=r,i=a.environmentData,o=J(a,Q);r.resultTypes=["violations"];var s=Ma(t,r),l=s.violations;n(Te({},an(i),{toolOptions:o,violations:l}));},a3=n3,i3=function(t,r,n){if(typeof r=="function"&&(n=r,r={}),!t||!Array.isArray(t))return n(t);var a=t.map(function(i){for(var o=Te({},i),s=["passes","violations","incomplete","inapplicable"],l=0,u=s;l<u.length;l++){var c=u[l];o[c]=lr.mapRawNodeResults(o[c]);}return o});n(a);},K1=i3,o3=function(t,r,n){typeof r=="function"&&(n=r,r={});var a=r,i=a.environmentData,o=J(a,_);K1(t,o,function(s){var l=an(i);n({raw:s,env:l});});},s3=o3,l3=function(t,r,n){typeof r=="function"&&(n=r,r={});var a=r,i=a.environmentData,o=J(a,h),s=Ma(t,r),l=function(c){c.nodes.forEach(function(f){f.failureSummary=Sl(f);});};s.incomplete.forEach(l),s.violations.forEach(l),n(Te({},an(i),{toolOptions:o},s));},u3=l3,c3=function(t,r,n){typeof r=="function"&&(n=r,r={});var a=r,i=a.environmentData,o=J(a,R),s=Ma(t,r);n(Te({},an(i),{toolOptions:o},s));},d3=c3,f3={base:{Audit:V1,CheckResult:iu,Check:B1,Context:po,RuleResult:Ro,Rule:Ut,metadataFunctionMap:To},public:{reporters:Pa},helpers:{failureSummary:Sl,incompleteFallbackMessage:kl,processAggregate:Ma},utils:{setDefaultFrameMessenger:Qd,cacheNodeSelectors:Up,getNodesMatchingExpression:Gp,convertSelector:Oi},commons:{dom:{nativelyHidden:cf,displayHidden:df,visibilityHidden:ff,contentVisibiltyHidden:pf,ariaHidden:mf,opacityHidden:hf,scrollHidden:gf,overflowHidden:vf,clipHidden:bf,areaHidden:Hs,detailsHidden:yf}}},p3=f3;m._thisWillBeDeletedDoNotUse=p3,m.constants=Xe,m.log=mn,m.AbstractVirtualNode=Mt,m.SerialVirtualNode=km,m.VirtualNode=Dl,m._cache=Ue,m.imports=wc,m.cleanup=Tm,m.configure=V_,m.frameMessenger=j_,m.getRules=z_,m._load=NF,m.plugins={},m.registerPlugin=HF,m.hasReporter=Fm,m.getReporter=jl,m.addReporter=B_,m.reset=jF,m._runRules=X1,m.runVirtualRule=$F,m.run=zF,m.setup=e3,m.teardown=sn,m.runPartial=XF,m.finishRun=YF,m.commons=Qm,m.utils=Yo,m.addReporter("na",r3),m.addReporter("no-passes",a3),m.addReporter("rawEnv",s3),m.addReporter("raw",K1),m.addReporter("v1",u3),m.addReporter("v2",d3,true);}))(),m._load({lang:"en",data:{rules:{accesskeys:{description:"Ensure every accesskey attribute value is unique",help:"accesskey attribute value should be unique"},"area-alt":{description:"Ensure <area> elements of image maps have alternative text",help:"Active <area> elements must have alternative text"},"aria-allowed-attr":{description:"Ensure an element's role supports its ARIA attributes",help:"Elements must only use supported ARIA attributes"},"aria-allowed-role":{description:"Ensure role attribute has an appropriate value for the element",help:"ARIA role should be appropriate for the element"},"aria-braille-equivalent":{description:"Ensure aria-braillelabel and aria-brailleroledescription have a non-braille equivalent",help:"aria-braille attributes must have a non-braille equivalent"},"aria-command-name":{description:"Ensure every ARIA button, link and menuitem has an accessible name",help:"ARIA commands must have an accessible name"},"aria-conditional-attr":{description:"Ensure ARIA attributes are used as described in the specification of the element's role",help:"ARIA attributes must be used as specified for the element's role"},"aria-deprecated-role":{description:"Ensure elements do not use deprecated roles",help:"Deprecated ARIA roles must not be used"},"aria-dialog-name":{description:"Ensure 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:'Ensure 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:"Ensure 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:"Ensure every ARIA input field has an accessible name",help:"ARIA input fields must have an accessible name"},"aria-meter-name":{description:"Ensure every ARIA meter node has an accessible name",help:"ARIA meter nodes must have an accessible name"},"aria-progressbar-name":{description:"Ensure every ARIA progressbar node has an accessible name",help:"ARIA progressbar nodes must have an accessible name"},"aria-prohibited-attr":{description:"Ensure ARIA attributes are not prohibited for an element's role",help:"Elements must only use permitted ARIA attributes"},"aria-required-attr":{description:"Ensure elements with ARIA roles have all required ARIA attributes",help:"Required ARIA attributes must be provided"},"aria-required-children":{description:"Ensure elements with an ARIA role that require child roles contain them",help:"Certain ARIA roles must contain particular children"},"aria-required-parent":{description:"Ensure 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:"Ensure all elements with a role attribute use a valid value",help:"ARIA roles used must conform to valid values"},"aria-text":{description:'Ensure role="text" is used on elements with no focusable descendants',help:'"role=text" should have no focusable descendants'},"aria-toggle-field-name":{description:"Ensure every ARIA toggle field has an accessible name",help:"ARIA toggle fields must have an accessible name"},"aria-tooltip-name":{description:"Ensure every ARIA tooltip node has an accessible name",help:"ARIA tooltip nodes must have an accessible name"},"aria-treeitem-name":{description:"Ensure every ARIA treeitem node has an accessible name",help:"ARIA treeitem nodes should have an accessible name"},"aria-valid-attr-value":{description:"Ensure all ARIA attributes have valid values",help:"ARIA attributes must conform to valid values"},"aria-valid-attr":{description:"Ensure attributes that begin with aria- are valid ARIA attributes",help:"ARIA attributes must conform to valid names"},"audio-caption":{description:"Ensure <audio> elements have captions",help:"<audio> elements must have a captions track"},"autocomplete-valid":{description:"Ensure the autocomplete attribute is correct and suitable for the form field",help:"autocomplete attribute must be used correctly"},"avoid-inline-spacing":{description:"Ensure that text spacing set through style attributes can be adjusted with custom stylesheets",help:"Inline text spacing must be adjustable with custom stylesheets"},blink:{description:"Ensure <blink> elements are not used",help:"<blink> elements are deprecated and must not be used"},"button-name":{description:"Ensure buttons have discernible text",help:"Buttons must have discernible text"},bypass:{description:"Ensure each page has at least one mechanism for a user to bypass navigation and jump straight to the content",help:"Page must have means to bypass repeated blocks"},"color-contrast-enhanced":{description:"Ensure the contrast between foreground and background colors meets WCAG 2 AAA enhanced contrast ratio thresholds",help:"Elements must meet enhanced color contrast ratio thresholds"},"color-contrast":{description:"Ensure the contrast between foreground and background colors meets WCAG 2 AA minimum contrast ratio thresholds",help:"Elements must meet minimum color contrast ratio thresholds"},"css-orientation-lock":{description:"Ensure content is not locked to any specific display orientation, and the content is operable in all display orientations",help:"CSS Media queries must not lock display orientation"},"definition-list":{description:"Ensure <dl> elements are structured correctly",help:"<dl> elements must only directly contain properly-ordered <dt> and <dd> groups, <script>, <template> or <div> elements"},dlitem:{description:"Ensure <dt> and <dd> elements are contained by a <dl>",help:"<dt> and <dd> elements must be contained by a <dl>"},"document-title":{description:"Ensure each HTML document contains a non-empty <title> element",help:"Documents must have <title> element to aid in navigation"},"duplicate-id-active":{description:"Ensure every id attribute value of active elements is unique",help:"IDs of active elements must be unique"},"duplicate-id-aria":{description:"Ensure every id attribute value used in ARIA and in labels is unique",help:"IDs used in ARIA and labels must be unique"},"duplicate-id":{description:"Ensure every id attribute value is unique",help:"id attribute value must be unique"},"empty-heading":{description:"Ensure headings have discernible text",help:"Headings should not be empty"},"empty-table-header":{description:"Ensure table headers have discernible text",help:"Table header text should not be empty"},"focus-order-semantics":{description:"Ensure elements in the focus order have a role appropriate for interactive content",help:"Elements in the focus order should have an appropriate role"},"form-field-multiple-labels":{description:"Ensure form field does not have multiple label elements",help:"Form field must not have multiple label elements"},"frame-focusable-content":{description:"Ensure <frame> and <iframe> elements with focusable content do not have tabindex=-1",help:"Frames with focusable content must not have tabindex=-1"},"frame-tested":{description:"Ensure <iframe> and <frame> elements contain the axe-core script",help:"Frames should be tested with axe-core"},"frame-title-unique":{description:"Ensure <iframe> and <frame> elements contain a unique title attribute",help:"Frames must have a unique title attribute"},"frame-title":{description:"Ensure <iframe> and <frame> elements have an accessible name",help:"Frames must have an accessible name"},"heading-order":{description:"Ensure the order of headings is semantically correct",help:"Heading levels should only increase by one"},"hidden-content":{description:"Inform users about hidden content.",help:"Hidden content on the page should be analyzed"},"html-has-lang":{description:"Ensure every HTML document has a lang attribute",help:"<html> element must have a lang attribute"},"html-lang-valid":{description:"Ensure the lang attribute of the <html> element has a valid value",help:"<html> element must have a valid value for the lang attribute"},"html-xml-lang-mismatch":{description:"Ensure that HTML elements with both valid lang and xml:lang attributes agree on the base language of the page",help:"HTML elements with lang and xml:lang must have the same base language"},"identical-links-same-purpose":{description:"Ensure that links with the same accessible name serve a similar purpose",help:"Links with the same name must have a similar purpose"},"image-alt":{description:"Ensure <img> elements have alternative text or a role of none or presentation",help:"Images must have alternative text"},"image-redundant-alt":{description:"Ensure image alternative is not repeated as text",help:"Alternative text of images should not be repeated as text"},"input-button-name":{description:"Ensure input buttons have discernible text",help:"Input buttons must have discernible text"},"input-image-alt":{description:'Ensure <input type="image"> elements have alternative text',help:"Image buttons must have alternative text"},"label-content-name-mismatch":{description:"Ensure that elements labelled through their content must have their visible text as part of their accessible name",help:"Elements must have their visible text as part of their accessible name"},"label-title-only":{description:"Ensure that every form element has a visible label and is not solely labeled using hidden labels, or the title or aria-describedby attributes",help:"Form elements should have a visible label"},label:{description:"Ensure every form element has a label",help:"Form elements must have labels"},"landmark-banner-is-top-level":{description:"Ensure the banner landmark is at top level",help:"Banner landmark should not be contained in another landmark"},"landmark-complementary-is-top-level":{description:"Ensure the complementary landmark or aside is at top level",help:"Aside should not be contained in another landmark"},"landmark-contentinfo-is-top-level":{description:"Ensure the contentinfo landmark is at top level",help:"Contentinfo landmark should not be contained in another landmark"},"landmark-main-is-top-level":{description:"Ensure the main landmark is at top level",help:"Main landmark should not be contained in another landmark"},"landmark-no-duplicate-banner":{description:"Ensure the document has at most one banner landmark",help:"Document should not have more than one banner landmark"},"landmark-no-duplicate-contentinfo":{description:"Ensure the document has at most one contentinfo landmark",help:"Document should not have more than one contentinfo landmark"},"landmark-no-duplicate-main":{description:"Ensure the document has at most one main landmark",help:"Document should not have more than one main landmark"},"landmark-one-main":{description:"Ensure the document has a main landmark",help:"Document should have one main landmark"},"landmark-unique":{description:"Ensure landmarks are unique",help:"Landmarks should have a unique role or role/label/title (i.e. accessible name) combination"},"link-in-text-block":{description:"Ensure links are distinguished from surrounding text in a way that does not rely on color",help:"Links must be distinguishable without relying on color"},"link-name":{description:"Ensure links have discernible text",help:"Links must have discernible text"},list:{description:"Ensure that lists are structured correctly",help:"<ul> and <ol> must only directly contain <li>, <script> or <template> elements"},listitem:{description:"Ensure <li> elements are used semantically",help:"<li> elements must be contained in a <ul> or <ol>"},marquee:{description:"Ensure <marquee> elements are not used",help:"<marquee> elements are deprecated and must not be used"},"meta-refresh-no-exceptions":{description:'Ensure <meta http-equiv="refresh"> is not used for delayed refresh',help:"Delayed refresh must not be used"},"meta-refresh":{description:'Ensure <meta http-equiv="refresh"> is not used for delayed refresh',help:"Delayed refresh under 20 hours must not be used"},"meta-viewport-large":{description:'Ensure <meta name="viewport"> can scale a significant amount',help:"Users should be able to zoom and scale the text up to 500%"},"meta-viewport":{description:'Ensure <meta name="viewport"> does not disable text scaling and zooming',help:"Zooming and scaling must not be disabled"},"nested-interactive":{description:"Ensure interactive controls are not nested as they are not always announced by screen readers or can cause focus problems for assistive technologies",help:"Interactive controls must not be nested"},"no-autoplay-audio":{description:"Ensure <video> or <audio> elements do not autoplay audio for more than 3 seconds without a control mechanism to stop or mute the audio",help:"<video> or <audio> elements must not play automatically"},"object-alt":{description:"Ensure <object> elements have alternative text",help:"<object> elements must have alternative text"},"p-as-heading":{description:"Ensure bold, italic text and font-size is not used to style <p> elements as a heading",help:"Styled <p> elements must not be used as headings"},"page-has-heading-one":{description:"Ensure that the page, or at least one of its frames contains a level-one heading",help:"Page should contain a level-one heading"},"presentation-role-conflict":{description:"Ensure elements marked as presentational do not have global ARIA or tabindex so that all screen readers ignore them",help:"Elements marked as presentational should be consistently ignored"},region:{description:"Ensure all page content is contained by landmarks",help:"All page content should be contained by landmarks"},"role-img-alt":{description:'Ensure [role="img"] elements have alternative text',help:'[role="img"] elements must have alternative text'},"scope-attr-valid":{description:"Ensure the scope attribute is used correctly on tables",help:"scope attribute should be used correctly"},"scrollable-region-focusable":{description:"Ensure elements that have scrollable content are accessible by keyboard in Safari",help:"Scrollable region must have keyboard access"},"select-name":{description:"Ensure select element has an accessible name",help:"Select element must have an accessible name"},"server-side-image-map":{description:"Ensure that server-side image maps are not used",help:"Server-side image maps must not be used"},"skip-link":{description:"Ensure all skip links have a focusable target",help:"The skip-link target should exist and be focusable"},"summary-name":{description:"Ensure summary elements have discernible text",help:"Summary elements must have discernible text"},"svg-img-alt":{description:"Ensure <svg> elements with an img, graphics-document or graphics-symbol role have accessible text",help:"<svg> elements with an img role must have alternative text"},tabindex:{description:"Ensure tabindex attribute values are not greater than 0",help:"Elements should not have tabindex greater than zero"},"table-duplicate-name":{description:"Ensure the <caption> element does not contain the same text as the summary attribute",help:"Tables should not have the same summary and caption"},"table-fake-caption":{description:"Ensure that tables with a caption use the <caption> element.",help:"Data or header cells must not be used to give caption to a data table."},"target-size":{description:"Ensure touch targets have sufficient size and space",help:"All touch targets must be 24px large, or leave sufficient space"},"td-has-header":{description:"Ensure that each non-empty data cell in a <table> larger than 3 by 3 has one or more table headers",help:"Non-empty <td> elements in larger <table> must have an associated table header"},"td-headers-attr":{description:"Ensure that each cell in a table that uses the headers attribute refers only to other <th> elements in that table",help:"Table cell headers attributes must refer to other <th> elements in the same table"},"th-has-data-cells":{description:"Ensure that <th> elements and elements with role=columnheader/rowheader have data cells they describe",help:"Table headers in a data table must refer to data cells"},"valid-lang":{description:"Ensure lang attributes have valid values",help:"lang attribute must have a valid value"},"video-caption":{description:"Ensure <video> elements have captions",help:"<video> elements must have captions"}},checks:{abstractrole:{impact:"serious",messages:{pass:"Abstract roles are not used",fail:{singular:"Abstract role cannot be directly used: ${data.values}",plural:"Abstract roles cannot be directly used: ${data.values}"}}},"aria-allowed-attr-elm":{messages:{pass:"ARIA attributes are allowed for this element",fail:{singular:"ARIA attribute is not allowed on ${data.nodeName} elements: ${data.values}",plural:"ARIA attributes are not allowed on ${data.nodeName} elements: ${data.values}"}}},"aria-allowed-attr":{impact:"critical",messages:{pass:"ARIA attributes are used correctly for the defined role",fail:{singular:"ARIA attribute is not allowed: ${data.values}",plural:"ARIA attributes are not allowed: ${data.values}"},incomplete:"Check that there is no problem if the ARIA attribute is ignored on this element: ${data.values}"}},"aria-allowed-role":{impact:"minor",messages:{pass:"ARIA role is allowed for given element",fail:{singular:"ARIA role ${data.values} is not allowed for given element",plural:"ARIA roles ${data.values} are not allowed for given element"},incomplete:{singular:"ARIA role ${data.values} must be removed when the element is made visible, as it is not allowed for the element",plural:"ARIA roles ${data.values} must be removed when the element is made visible, as they are not allowed for the element"}}},"aria-busy":{impact:"serious",messages:{pass:"Element has an aria-busy attribute",fail:'Element uses aria-busy="true" while showing a loader'}},"aria-conditional-attr":{impact:"serious",messages:{pass:"ARIA attribute is allowed",fail:{checkbox:'Remove aria-checked, or set it to "${data.checkState}" to match the real checkbox state',rowSingular:"This attribute is supported with treegrid rows, but not ${data.ownerRole}: ${data.invalidAttrs}",rowPlural:"These attributes are supported with treegrid rows, but not ${data.ownerRole}: ${data.invalidAttrs}"}}},"aria-errormessage":{impact:"critical",messages:{pass:"aria-errormessage exists and references elements visible to screen readers that use a supported aria-errormessage technique",fail:{singular:"aria-errormessage value `${data.values}` must use a technique to announce the message (e.g., aria-live, aria-describedby, role=alert, etc.)",plural:"aria-errormessage values `${data.values}` must use a technique to announce the message (e.g., aria-live, aria-describedby, role=alert, etc.)",unsupported:"Multiple IDs in aria-errormessage is not widely supported in assistive technologies",hidden:"aria-errormessage value `${data.values}` cannot reference a hidden element"},incomplete:{singular:"Ensure aria-errormessage value `${data.values}` references an existing element",plural:"Ensure aria-errormessage values `${data.values}` reference existing elements",idrefs:"Unable to determine if aria-errormessage element exists on the page: ${data.values}"}}},"aria-hidden-body":{impact:"critical",messages:{pass:"No aria-hidden attribute is present on document body",fail:"aria-hidden=true should not be present on the document body"}},"aria-level":{impact:"serious",messages:{pass:"aria-level values are valid",incomplete:"aria-level values greater than 6 are not supported in all screenreader and browser combinations"}},"aria-prohibited-attr":{impact:"serious",messages:{pass:"ARIA attribute is allowed",fail:{hasRolePlural:'${data.prohibited} attributes cannot be used with role "${data.role}".',hasRoleSingular:'${data.prohibited} attribute cannot be used with role "${data.role}".',noRolePlural:"${data.prohibited} attributes cannot be used on a ${data.nodeName} with no valid role attribute.",noRoleSingular:"${data.prohibited} attribute cannot be used on a ${data.nodeName} with no valid role attribute."},incomplete:{hasRoleSingular:'${data.prohibited} attribute is not well supported with role "${data.role}".',hasRolePlural:'${data.prohibited} attributes are not well supported with role "${data.role}".',noRoleSingular:"${data.prohibited} attribute is not well supported on a ${data.nodeName} with no valid role attribute.",noRolePlural:"${data.prohibited} attributes are not well supported on a ${data.nodeName} with no valid role attribute."}}},"aria-required-attr":{impact:"critical",messages:{pass:"All required ARIA attributes are present",fail:{singular:"Required ARIA attribute not present: ${data.values}",plural:"Required ARIA attributes not present: ${data.values}"}}},"aria-required-children":{impact:"critical",messages:{pass:{default:"Required ARIA children are present","aria-busy":"Element has an aria-busy attribute, so it is allowed to omit required children"},fail:{singular:"Required ARIA child role not present: ${data.values}",plural:"Required ARIA children role not present: ${data.values}",unallowed:"Element has children which are not allowed: ${data.values}","aria-busy-fail":'Element has children which are not allowed: ${data.values}; Having aria-busy="true" does not allow children with roles that are not allowed'},incomplete:{singular:"Expecting ARIA child role to be added: ${data.values}",plural:"Expecting ARIA children role to be added: ${data.values}"}}},"aria-required-parent":{impact:"critical",messages:{pass:"Required ARIA parent role present",fail:{singular:"Required ARIA parent role not present: ${data.values}",plural:"Required ARIA parents role not present: ${data.values}"}}},"aria-roledescription":{impact:"serious",messages:{pass:"aria-roledescription used on a supported semantic role",incomplete:"Check that the aria-roledescription is announced by supported screen readers",fail:"Give the element a role that supports aria-roledescription"}},"aria-unsupported-attr":{impact:"critical",messages:{pass:"ARIA attribute is supported",fail:"ARIA attribute is not widely supported in screen readers and assistive technologies: ${data.values}"}},"aria-valid-attr-value":{impact:"critical",messages:{pass:"ARIA attribute values are valid",fail:{singular:"Invalid ARIA attribute value: ${data.values}",plural:"Invalid ARIA attribute values: ${data.values}"},incomplete:{noId:"ARIA attribute element ID does not exist on the page: ${data.needsReview}",noIdShadow:"ARIA attribute element ID does not exist on the page or is a descendant of a different shadow DOM tree: ${data.needsReview}",ariaCurrent:'ARIA attribute value is invalid and will be treated as "aria-current=true": ${data.needsReview}',idrefs:"Unable to determine if ARIA attribute element ID exists on the page: ${data.needsReview}",empty:"ARIA attribute value is ignored while empty: ${data.needsReview}",controlsWithinPopup:"Unable to determine if aria-controls referenced ID exists on the page while using aria-haspopup: ${data.needsReview}"}}},"aria-valid-attr":{impact:"critical",messages:{pass:"ARIA attribute name is valid",fail:{singular:"Invalid ARIA attribute name: ${data.values}",plural:"Invalid ARIA attribute names: ${data.values}"}}},"braille-label-equivalent":{impact:"serious",messages:{pass:"aria-braillelabel is used on an element with accessible text",fail:"aria-braillelabel is used on an element with no accessible text",incomplete:"Unable to compute accessible text"}},"braille-roledescription-equivalent":{impact:"serious",messages:{pass:"aria-brailleroledescription is used on an element with aria-roledescription",fail:{noRoleDescription:"aria-brailleroledescription is used on an element with no aria-roledescription",emptyRoleDescription:"aria-brailleroledescription is used on an element with an empty aria-roledescription"}}},deprecatedrole:{impact:"minor",messages:{pass:"ARIA role is not deprecated",fail:"The role used is deprecated: ${data}"}},fallbackrole:{impact:"serious",messages:{pass:"Only one role value used",fail:"Use only one role value, since fallback roles are not supported in older browsers",incomplete:"Use only role 'presentation' or 'none' since they are synonymous."}},"has-global-aria-attribute":{impact:"minor",messages:{pass:{singular:"Element has global ARIA attribute: ${data.values}",plural:"Element has global ARIA attributes: ${data.values}"},fail:"Element does not have global ARIA attribute"}},"has-widget-role":{impact:"minor",messages:{pass:"Element has a widget role.",fail:"Element does not have a widget role."}},invalidrole:{impact:"critical",messages:{pass:"ARIA role is valid",fail:{singular:"Role must be one of the valid ARIA roles: ${data.values}",plural:"Roles must be one of the valid ARIA roles: ${data.values}"}}},"is-element-focusable":{impact:"minor",messages:{pass:"Element is focusable.",fail:"Element is not focusable."}},"no-implicit-explicit-label":{impact:"serious",messages:{pass:"There is no mismatch between a <label> and accessible name",incomplete:"Check that the <label> does not need be part of the ARIA ${data} field's name"}},unsupportedrole:{impact:"critical",messages:{pass:"ARIA role is supported",fail:"The role used is not widely supported in screen readers and assistive technologies: ${data}"}},"valid-scrollable-semantics":{impact:"minor",messages:{pass:"Element has valid semantics for an element in the focus order.",fail:"Element has invalid semantics for an element in the focus order."}},"color-contrast-enhanced":{impact:"serious",messages:{pass:"Element has sufficient color contrast of ${data.contrastRatio}",fail:{default:"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}",fgOnShadowColor:"Element has insufficient color contrast of ${data.contrastRatio} between the foreground and shadow color (foreground color: ${data.fgColor}, text-shadow color: ${data.shadowColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}",shadowOnBgColor:"Element has insufficient color contrast of ${data.contrastRatio} between the shadow color and background color (text-shadow color: ${data.shadowColor}, background color: ${data.bgColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}"},incomplete:{default:"Unable to determine contrast ratio",bgImage:"Element's background color could not be determined due to a background image",bgGradient:"Element's background color could not be determined due to a background gradient",imgNode:"Element's background color could not be determined because element contains an image node",bgOverlap:"Element's background color could not be determined because it is overlapped by another element",fgAlpha:"Element's foreground color could not be determined because of alpha transparency",elmPartiallyObscured:"Element's background color could not be determined because it's partially obscured by another element",elmPartiallyObscuring:"Element's background color could not be determined because it partially overlaps other elements",outsideViewport:"Element's background color could not be determined because it's outside the viewport",equalRatio:"Element has a 1:1 contrast ratio with the background",shortTextContent:"Element content is too short to determine if it is actual text content",nonBmp:"Element content contains only non-text characters",pseudoContent:"Element's background color could not be determined due to a pseudo element",colorParse:"Could not parse color string ${data.colorParse}"}}},"color-contrast":{impact:"serious",messages:{pass:{default:"Element has sufficient color contrast of ${data.contrastRatio}",hidden:"Element is hidden"},fail:{default:"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}",fgOnShadowColor:"Element has insufficient color contrast of ${data.contrastRatio} between the foreground and shadow color (foreground color: ${data.fgColor}, text-shadow color: ${data.shadowColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}",shadowOnBgColor:"Element has insufficient color contrast of ${data.contrastRatio} between the shadow color and background color (text-shadow color: ${data.shadowColor}, background color: ${data.bgColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}"},incomplete:{default:"Unable to determine contrast ratio",bgImage:"Element's background color could not be determined due to a background image",bgGradient:"Element's background color could not be determined due to a background gradient",imgNode:"Element's background color could not be determined because element contains an image node",bgOverlap:"Element's background color could not be determined because it is overlapped by another element",complexTextShadows:"Element's contrast could not be determined because it uses complex text shadows",fgAlpha:"Element's foreground color could not be determined because of alpha transparency",elmPartiallyObscured:"Element's background color could not be determined because it's partially obscured by another element",elmPartiallyObscuring:"Element's background color could not be determined because it partially overlaps other elements",outsideViewport:"Element's background color could not be determined because it's outside the viewport",equalRatio:"Element has a 1:1 contrast ratio with the background",shortTextContent:"Element content is too short to determine if it is actual text content",nonBmp:"Element content contains only non-text characters",pseudoContent:"Element's background color could not be determined due to a pseudo element",colorParse:"Could not parse color string ${data.colorParse}"}}},"link-in-text-block-style":{impact:"serious",messages:{pass:"Links can be distinguished from surrounding text by visual styling",incomplete:{default:"Check if the link needs styling to distinguish it from nearby text",pseudoContent:"Check if the link's pseudo style is sufficient to distinguish it from the surrounding text"},fail:"The link has no styling (such as underline) to distinguish it from the surrounding text"}},"link-in-text-block":{impact:"serious",messages:{pass:"Links can be distinguished from surrounding text in some way other than by color",fail:{fgContrast:"The link has insufficient color contrast of ${data.contrastRatio}:1 with the surrounding text. (Minimum contrast is ${data.requiredContrastRatio}:1, link text: ${data.nodeColor}, surrounding text: ${data.parentColor})",bgContrast:"The link background has insufficient color contrast of ${data.contrastRatio} (Minimum contrast is ${data.requiredContrastRatio}:1, link background color: ${data.nodeBackgroundColor}, surrounding background color: ${data.parentBackgroundColor})"},incomplete:{default:"Element's foreground contrast ratio could not be determined",bgContrast:"Element's background contrast ratio could not be determined",bgImage:"Element's contrast ratio could not be determined due to a background image",bgGradient:"Element's contrast ratio could not be determined due to a background gradient",imgNode:"Element's contrast ratio could not be determined because element contains an image node",bgOverlap:"Element's contrast ratio could not be determined because of element overlap"}}},"autocomplete-appropriate":{impact:"serious",messages:{pass:"The autocomplete value is on an appropriate element",fail:"The autocomplete value is inappropriate for this type of input"}},"autocomplete-valid":{impact:"serious",messages:{pass:"the autocomplete attribute is correctly formatted",fail:"the autocomplete attribute is incorrectly formatted",incomplete:"the autocomplete attribute has a non-standard value. Check whether any standard value could be used instead."}},accesskeys:{impact:"serious",messages:{pass:"Accesskey attribute value is unique",fail:"Document has multiple elements with the same accesskey"}},"focusable-content":{impact:"serious",messages:{pass:"Element contains focusable elements",fail:"Element should have focusable content"}},"focusable-disabled":{impact:"serious",messages:{pass:"No focusable elements contained within element",incomplete:"Check if the focusable elements immediately move the focus indicator",fail:"Focusable content should be disabled or be removed from the DOM"}},"focusable-element":{impact:"serious",messages:{pass:"Element is focusable",fail:"Element should be focusable"}},"focusable-modal-open":{impact:"serious",messages:{pass:"No focusable elements while a modal is open",incomplete:"Check that focusable elements are not tabbable in the current state"}},"focusable-no-name":{impact:"serious",messages:{pass:"Element is not in tab order or has accessible text",fail:"Element is in tab order and does not have accessible text",incomplete:"Unable to determine if element has an accessible name"}},"focusable-not-tabbable":{impact:"serious",messages:{pass:"No focusable elements contained within element",incomplete:"Check if the focusable elements immediately move the focus indicator",fail:'Focusable content should have tabindex="-1" or be removed from the DOM'}},"frame-focusable-content":{impact:"serious",messages:{pass:"Element does not have focusable descendants",fail:"Element has focusable descendants",incomplete:"Could not determine if element has descendants"}},"landmark-is-top-level":{impact:"moderate",messages:{pass:"The ${data.role} landmark is at the top level.",fail:"The ${data.role} landmark is contained in another landmark."}},"no-focusable-content":{impact:"serious",messages:{pass:"Element does not have focusable descendants",fail:{default:"Element has focusable descendants",notHidden:'Using a negative tabindex on an element inside an interactive control does not prevent assistive technologies from focusing the element (even with aria-hidden="true")'},incomplete:"Could not determine if element has descendants"}},"page-has-heading-one":{impact:"moderate",messages:{pass:"Page has at least one level-one heading",fail:"Page must have a level-one heading"}},"page-has-main":{impact:"moderate",messages:{pass:"Document has at least one main landmark",fail:"Document does not have a main landmark"}},"page-no-duplicate-banner":{impact:"moderate",messages:{pass:"Document does not have more than one banner landmark",fail:"Document has more than one banner landmark"}},"page-no-duplicate-contentinfo":{impact:"moderate",messages:{pass:"Document does not have more than one contentinfo landmark",fail:"Document has more than one contentinfo landmark"}},"page-no-duplicate-main":{impact:"moderate",messages:{pass:"Document does not have more than one main landmark",fail:"Document has more than one main landmark"}},tabindex:{impact:"serious",messages:{pass:"Element does not have a tabindex greater than 0",fail:"Element has a tabindex greater than 0"}},"alt-space-value":{impact:"critical",messages:{pass:"Element has a valid alt attribute value",fail:"Element has an alt attribute containing only a space character, which is not ignored by all screen readers"}},"duplicate-img-label":{impact:"minor",messages:{pass:"Element does not duplicate existing text in <img> alt text",fail:"Element contains <img> element with alt text that duplicates existing text"}},"explicit-label":{impact:"critical",messages:{pass:"Element has an explicit <label>",fail:"Element does not have an explicit <label>",incomplete:"Unable to determine if form element has an explicit <label>"}},"help-same-as-label":{impact:"minor",messages:{pass:"Help text (title or aria-describedby) does not duplicate label text",fail:"Help text (title or aria-describedby) text is the same as the label text"}},"hidden-explicit-label":{impact:"critical",messages:{pass:"Form element has a visible explicit <label>",fail:"Form element has explicit <label> that is hidden",incomplete:"Unable to determine if form element has explicit <label> that is hidden"}},"implicit-label":{impact:"critical",messages:{pass:"Element has an implicit (wrapped) <label>",fail:"Element does not have an implicit (wrapped) <label>",incomplete:"Unable to determine if form element has an implicit (wrapped) <label>"}},"label-content-name-mismatch":{impact:"serious",messages:{pass:"Element contains visible text as part of it's accessible name",fail:"Text inside the element is not included in the accessible name"}},"multiple-label":{impact:"moderate",messages:{pass:"Form field does not have multiple label elements",incomplete:"Multiple label elements is not widely supported in assistive technologies. Ensure the first label contains all necessary information."}},"title-only":{impact:"serious",messages:{pass:"Form element does not solely use title attribute for its label",fail:"Only title used to generate label for form element"}},"landmark-is-unique":{impact:"moderate",messages:{pass:"Landmarks must have a unique role or role/label/title (i.e. accessible name) combination",fail:"The landmark must have a unique aria-label, aria-labelledby, or title to make landmarks distinguishable"}},"has-lang":{impact:"serious",messages:{pass:"The <html> element has a lang attribute",fail:{noXHTML:"The xml:lang attribute is not valid on HTML pages, use the lang attribute.",noLang:"The <html> element does not have a lang attribute"}}},"valid-lang":{impact:"serious",messages:{pass:"Value of lang attribute is included in the list of valid languages",fail:"Value of lang attribute not included in the list of valid languages"}},"xml-lang-mismatch":{impact:"moderate",messages:{pass:"Lang and xml:lang attributes have the same base language",fail:"Lang and xml:lang attributes do not have the same base language"}},dlitem:{impact:"serious",messages:{pass:"Description list item has a <dl> parent element",fail:"Description list item does not have a <dl> parent element"}},listitem:{impact:"serious",messages:{pass:'List item has a <ul>, <ol> or role="list" parent element',fail:{default:"List item does not have a <ul>, <ol> parent element",roleNotValid:'List item parent element has a role that is not role="list"'}}},"only-dlitems":{impact:"serious",messages:{pass:"dl element only has direct children that are allowed inside; <dt>, <dd>, or <div> elements",fail:"dl element has direct children that are not allowed: ${data.values}"}},"only-listitems":{impact:"serious",messages:{pass:"List element only has direct children that are allowed inside <li> elements",fail:"List element has direct children that are not allowed: ${data.values}"}},"structured-dlitems":{impact:"serious",messages:{pass:"When not empty, element has both <dt> and <dd> elements",fail:"When not empty, element does not have at least one <dt> element followed by at least one <dd> element"}},caption:{impact:"critical",messages:{pass:"The multimedia element has a captions track",incomplete:"Check that captions are available for the element"}},"frame-tested":{impact:"critical",messages:{pass:"The iframe was tested with axe-core",fail:"The iframe could not be tested with axe-core",incomplete:"The iframe still has to be tested with axe-core"}},"no-autoplay-audio":{impact:"moderate",messages:{pass:"<video> or <audio> does not output audio for more than allowed duration or has controls mechanism",fail:"<video> or <audio> outputs audio for more than allowed duration and does not have a controls mechanism",incomplete:"Check that the <video> or <audio> does not output audio for more than allowed duration or provides a controls mechanism"}},"css-orientation-lock":{impact:"serious",messages:{pass:"Display is operable, and orientation lock does not exist",fail:"CSS Orientation lock is applied, and makes display inoperable",incomplete:"CSS Orientation lock cannot be determined"}},"meta-viewport-large":{impact:"minor",messages:{pass:"<meta> tag does not prevent significant zooming on mobile devices",fail:"<meta> tag limits zooming on mobile devices"}},"meta-viewport":{impact:"critical",messages:{pass:"<meta> tag does not disable zooming on mobile devices",fail:"${data} on <meta> tag disables zooming on mobile devices"}},"target-offset":{impact:"serious",messages:{pass:{default:"Target has sufficient space from its closest neighbors. Safe clickable space has a diameter of ${data.closestOffset}px which is at least ${data.minOffset}px.",large:"Target far exceeds the minimum size of ${data.minOffset}px."},fail:"Target has insufficient space to its closest neighbors. Safe clickable space has a diameter of ${data.closestOffset}px instead of at least ${data.minOffset}px.",incomplete:{default:"Element with negative tabindex has insufficient space to its closest neighbors. Safe clickable space has a diameter of ${data.closestOffset}px instead of at least ${data.minOffset}px. Is this a target?",nonTabbableNeighbor:"Target has insufficient space to its closest neighbors. Safe clickable space has a diameter of ${data.closestOffset}px instead of at least ${data.minOffset}px. Is the neighbor a target?",tooManyRects:"Could not get the target size because there are too many overlapping elements"}}},"target-size":{impact:"serious",messages:{pass:{default:"Control has sufficient size (${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px)",obscured:"Control is ignored because it is fully obscured and thus not clickable",large:"Target far exceeds the minimum size of ${data.minSize}px."},fail:{default:"Target has insufficient size (${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px)",partiallyObscured:"Target has insufficient size because it is partially obscured (smallest space is ${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px)"},incomplete:{default:"Element with negative tabindex has insufficient size (${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px). Is this a target?",contentOverflow:"Element size could not be accurately determined due to overflow content",partiallyObscured:"Element with negative tabindex has insufficient size because it is partially obscured (smallest space is ${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px). Is this a target?",partiallyObscuredNonTabbable:"Target has insufficient size because it is partially obscured by a neighbor with negative tabindex (smallest space is ${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px). Is the neighbor a target?",tooManyRects:"Could not get the target size because there are too many overlapping elements"}}},"header-present":{impact:"serious",messages:{pass:"Page has a heading",fail:"Page does not have a heading"}},"heading-order":{impact:"moderate",messages:{pass:"Heading order valid",fail:"Heading order invalid",incomplete:"Unable to determine previous heading"}},"identical-links-same-purpose":{impact:"minor",messages:{pass:"There are no other links with the same name, that go to a different URL",incomplete:"Check that links have the same purpose, or are intentionally ambiguous."}},"internal-link-present":{impact:"serious",messages:{pass:"Valid skip link found",fail:"No valid skip link found"}},landmark:{impact:"serious",messages:{pass:"Page has a landmark region",fail:"Page does not have a landmark region"}},"meta-refresh-no-exceptions":{impact:"minor",messages:{pass:"<meta> tag does not immediately refresh the page",fail:"<meta> tag forces timed refresh of page"}},"meta-refresh":{impact:"critical",messages:{pass:"<meta> tag does not immediately refresh the page",fail:"<meta> tag forces timed refresh of page (less than 20 hours)"}},"p-as-heading":{impact:"serious",messages:{pass:"<p> elements are not styled as headings",fail:"Heading elements should be used instead of styled <p> elements",incomplete:"Unable to determine if <p> elements are styled as headings"}},region:{impact:"moderate",messages:{pass:"All page content is contained by landmarks",fail:"Some page content is not contained by landmarks"}},"skip-link":{impact:"moderate",messages:{pass:"Skip link target exists",incomplete:"Skip link target should become visible on activation",fail:"No skip link target"}},"unique-frame-title":{impact:"serious",messages:{pass:"Element's title attribute is unique",fail:"Element's title attribute is not unique"}},"duplicate-id-active":{impact:"serious",messages:{pass:"Document has no active elements that share the same id attribute",fail:"Document has active elements with the same id attribute: ${data}"}},"duplicate-id-aria":{impact:"critical",messages:{pass:"Document has no elements referenced with ARIA or labels that share the same id attribute",fail:"Document has multiple elements referenced with ARIA with the same id attribute: ${data}"}},"duplicate-id":{impact:"minor",messages:{pass:"Document has no static elements that share the same id attribute",fail:"Document has multiple static elements with the same id attribute: ${data}"}},"aria-label":{impact:"serious",messages:{pass:"aria-label attribute exists and is not empty",fail:"aria-label attribute does not exist or is empty"}},"aria-labelledby":{impact:"serious",messages:{pass:"aria-labelledby attribute exists and references elements that are visible to screen readers",fail:"aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty",incomplete:"Ensure aria-labelledby references an existing element"}},"avoid-inline-spacing":{impact:"serious",messages:{pass:"No inline styles with '!important' that affect text spacing has been specified",fail:{singular:"Remove '!important' from inline style ${data.values}, as overriding this is not supported by most browsers",plural:"Remove '!important' from inline styles ${data.values}, as overriding this is not supported by most browsers"}}},"button-has-visible-text":{impact:"critical",messages:{pass:"Element has inner text that is visible to screen readers",fail:"Element does not have inner text that is visible to screen readers",incomplete:"Unable to determine if element has children"}},"doc-has-title":{impact:"serious",messages:{pass:"Document has a non-empty <title> element",fail:"Document does not have a non-empty <title> element"}},"error-occurred":{messages:{pass:"",incomplete:"Axe encountered an error; test the page for this type of problem manually"}},exists:{impact:"minor",messages:{pass:"Element does not exist",incomplete:"Element exists"}},"has-alt":{impact:"critical",messages:{pass:"Element has an alt attribute",fail:"Element does not have an alt attribute"}},"has-visible-text":{impact:"minor",messages:{pass:"Element has text that is visible to screen readers",fail:"Element does not have text that is visible to screen readers",incomplete:"Unable to determine if element has children"}},"important-letter-spacing":{impact:"serious",messages:{pass:"Letter-spacing in the style attribute is not set to !important, or meets the minimum",fail:"letter-spacing in the style attribute must not use !important, or be at ${data.minValue}em (current ${data.value}em)"}},"important-line-height":{impact:"serious",messages:{pass:"line-height in the style attribute is not set to !important, or meets the minimum",fail:"line-height in the style attribute must not use !important, or be at ${data.minValue}em (current ${data.value}em)"}},"important-word-spacing":{impact:"serious",messages:{pass:"word-spacing in the style attribute is not set to !important, or meets the minimum",fail:"word-spacing in the style attribute must not use !important, or be at ${data.minValue}em (current ${data.value}em)"}},"is-on-screen":{impact:"serious",messages:{pass:"Element is not visible",fail:"Element is visible"}},"non-empty-alt":{impact:"critical",messages:{pass:"Element has a non-empty alt attribute",fail:{noAttr:"Element has no alt attribute",emptyAttr:"Element has an empty alt attribute"}}},"non-empty-if-present":{impact:"critical",messages:{pass:{default:"Element does not have a value attribute","has-label":"Element has a non-empty value attribute"},fail:"Element has a value attribute and the value attribute is empty"}},"non-empty-placeholder":{impact:"serious",messages:{pass:"Element has a placeholder attribute",fail:{noAttr:"Element has no placeholder attribute",emptyAttr:"Element has an empty placeholder attribute"}}},"non-empty-title":{impact:"serious",messages:{pass:"Element has a title attribute",fail:{noAttr:"Element has no title attribute",emptyAttr:"Element has an empty title attribute"}}},"non-empty-value":{impact:"critical",messages:{pass:"Element has a non-empty value attribute",fail:{noAttr:"Element has no value attribute",emptyAttr:"Element has an empty value attribute"}}},"presentational-role":{impact:"minor",messages:{pass:'Element\'s default semantics were overridden with role="${data.role}"',fail:{default:`Element's default semantics were not overridden with role="none" or role="presentation"`,globalAria:"Element's role is not presentational because it has a global ARIA attribute",focusable:"Element's role is not presentational because it is focusable",both:"Element's role is not presentational because it has a global ARIA attribute and is focusable",iframe:'Using the "title" attribute on an ${data.nodeName} element with a presentational role behaves inconsistently between screen readers'}}},"role-none":{impact:"minor",messages:{pass:`Element's default semantics were overridden with role="none"`,fail:`Element's default semantics were not overridden with role="none"`}},"role-presentation":{impact:"minor",messages:{pass:`Element's default semantics were overridden with role="presentation"`,fail:`Element's default semantics were not overridden with role="presentation"`}},"svg-non-empty-title":{impact:"serious",messages:{pass:"Element has a child that is a title",fail:{noTitle:"Element has no child that is a title",emptyTitle:"Element child title is empty"},incomplete:"Unable to determine element has a child that is a title"}},"caption-faked":{impact:"serious",messages:{pass:"The first row of a table is not used as a caption",fail:"The first child of the table should be a caption instead of a table cell"}},"html5-scope":{impact:"moderate",messages:{pass:"Scope attribute is only used on table header elements (<th>)",fail:"In HTML 5, scope attributes may only be used on table header elements (<th>)"}},"same-caption-summary":{impact:"minor",messages:{pass:"Content of summary attribute and <caption> are not duplicated",fail:"Content of summary attribute and <caption> element are identical",incomplete:"Unable to determine if <table> element has a caption"}},"scope-value":{impact:"critical",messages:{pass:"Scope attribute is used correctly",fail:"The value of the scope attribute may only be 'row' or 'col'"}},"td-has-header":{impact:"critical",messages:{pass:"All non-empty data cells have table headers",fail:"Some non-empty data cells do not have table headers"}},"td-headers-attr":{impact:"serious",messages:{pass:"The headers attribute is exclusively used to refer to other header cells in the table",incomplete:"The headers attribute is empty",fail:{"cell-header-not-in-table":"The headers attribute is not exclusively used to refer to other header cells in the table","cell-header-not-th":"The headers attribute must refer to header cells, not data cells","header-refs-self":"The element with headers attribute refers to itself"}}},"th-has-data-cells":{impact:"serious",messages:{pass:"All table header cells refer to data cells",fail:"Not all table header cells refer to data cells",incomplete:"Table data cells are missing or empty"}},"hidden-content":{impact:"minor",messages:{pass:"All content on the page has been analyzed.",fail:"There were problems analyzing the content on this page.",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."}}},failureSummaries:{any:{failureMessage:function(oe){var ce="Fix any of the following:",be=oe;if(be)for(var We,tt=-1,ot=be.length-1;tt<ot;)We=be[tt+=1],ce+=`
|
|
375
|
+
`)}var Sl=DA;function kl(){var e=m._audit.data.incompleteFallbackMessage;return typeof e=="function"&&(e=e()),typeof e!="string"?"":e}var Yp=Xe.resultGroups;function Ma(e,t){var r=m.utils.aggregateResult(e);return Yp.forEach(function(n){t.resultTypes&&!t.resultTypes.includes(n)&&(r[n]||[]).forEach(function(a){Array.isArray(a.nodes)&&a.nodes.length>0&&(a.nodes=[a.nodes[0]]);}),r[n]=(r[n]||[]).map(function(a){return a=Object.assign({},a),Array.isArray(a.nodes)&&a.nodes.length>0&&(a.nodes=a.nodes.map(function(i){if(de(i.node)==="object"){var o=Kp(i.node,t);Object.assign(i,o);}return delete i.result,delete i.node,AA(i,t),i})),Yp.forEach(function(i){return delete a[i]}),delete a.pageLevel,delete a.result,a});}),r}function AA(e,t){["any","all","none"].forEach(function(r){Array.isArray(e[r])&&e[r].filter(function(n){return Array.isArray(n.relatedNodes)}).forEach(function(n){n.relatedNodes=n.relatedNodes.map(function(a){return Kp(a,t)});});});}function Kp(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;e=lr.dqElmToSpec(e,t);var r={};if(m._audit.noHtml)r.html=null;else {var n;r.html=(n=e.source)!==null&&n!==void 0?n:"Undefined";}if(t.elementRef&&!e.fromFrame){var a;r.element=(a=e.element)!==null&&a!==void 0?a:null;}if(t.selectors!==false||e.fromFrame){var i;r.target=(i=e.selector)!==null&&i!==void 0?i:[":root"];}if(t.ancestry){var o;r.ancestry=(o=e.ancestry)!==null&&o!==void 0?o:[":root"];}if(t.xpath){var s;r.xpath=(s=e.xpath)!==null&&s!==void 0?s:["/"];}return r}var _A=/\$\{\s?data\s?\}/g;function co(e,t){if(typeof t=="string")return e.replace(_A,t);for(var r in t)if(t.hasOwnProperty(r)){var n=new RegExp("\\${\\s?data\\."+r+"\\s?}","g"),a=typeof t[r]>"u"?"":String(t[r]);e=e.replace(n,a);}return e}function Jp(e,t){if(e){if(Array.isArray(t)){if(t.values=t.join(", "),typeof e.singular=="string"&&typeof e.plural=="string"){var r=t.length===1?e.singular:e.plural;return co(r,t)}return co(e,t)}if(typeof e=="string")return co(e,t);if(typeof t=="string"){var n=e[t];return co(n,t)}var a=e.default||kl();return t&&t.messageKey&&e[t.messageKey]&&(a=e[t.messageKey]),Jp(a,t)}}var Tl=Jp;function EA(e,t,r){var n=m._audit.data.checks[e];if(!n)throw new Error("Cannot get message for unknown check: ".concat(e,"."));if(!n.messages[t])throw new Error('Check "'.concat(e,'"" does not have a "').concat(t,'" message.'));return Tl(n.messages[t],r)}var CA=EA;function SA(e,t,r){var n=((r.rules&&r.rules[t]||{}).checks||{})[e.id],a=(r.checks||{})[e.id],i=e.enabled,o=e.options;return a&&(a.hasOwnProperty("enabled")&&(i=a.enabled),a.hasOwnProperty("options")&&(o=a.options)),n&&(n.hasOwnProperty("enabled")&&(i=n.enabled),n.hasOwnProperty("options")&&(o=n.options)),{enabled:i,options:o,absolutePaths:r.absolutePaths}}var fo=SA;function an(){var e,t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:d;return t&&de(t)==="object"?t:de(r)!=="object"?{}:{testEngine:{name:"axe-core",version:m.version},testRunner:{name:m._audit.brand},testEnvironment:kA(r),timestamp:new Date().toISOString(),url:(e=r.location)===null||e===void 0?void 0:e.href}}function kA(e){if(!e.navigator||de(e.navigator)!=="object")return {};var t=e.navigator,r=e.innerHeight,n=e.innerWidth,a=TA(e)||{},i=a.angle,o=a.type;return {userAgent:t.userAgent,windowWidth:n,windowHeight:r,orientationAngle:i,orientationType:o}}function TA(e){var t=e.screen;return t.orientation||t.msOrientation||t.mozOrientation}function Zp(e,t){var r=t.focusable,n=t.page;return {node:e,include:[],exclude:[],initiator:false,focusable:r&&RA(e),size:FA(e),page:n}}function RA(e){var t=kr(e.getAttribute("tabindex"));return t===null||t>=0}function FA(e){var t=parseInt(e.getAttribute("width"),10),r=parseInt(e.getAttribute("height"),10);if(isNaN(t)||isNaN(r)){var n=e.getBoundingClientRect();t=isNaN(t)?n.width:t,r=isNaN(r)?n.height:r;}return {width:t,height:r}}function IA(e){if(Fl(e)){var t=" must be used inside include or exclude. It should not be on the same object.";on(!Sr(e,"fromFrames"),"fromFrames"+t),on(!Sr(e,"fromShadowDom"),"fromShadowDom"+t);}else if(mo(e))e={include:e,exclude:[]};else return {include:[v],exclude:[]};var r=Qp(e.include);r.length===0&&r.push(v);var n=Qp(e.exclude);return {include:r,exclude:n}}function Qp(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=[];Rl(e)||(e=[e]);for(var r=0;r<e.length;r++){var n=LA(e[r]);n&&t.push(n);}return t}function LA(e){return e instanceof d.Node?e:typeof e=="string"?[e]:(Il(e)?(OA(e),e=e.fromFrames):ho(e)&&(e=[e]),MA(e))}function MA(e){if(Array.isArray(e)){var t=[],r=ot(e),n;try{for(r.s();!(n=r.n()).done;){var a=n.value;if(ho(a)&&(PA(a),a=a.fromShadowDom),typeof a!="string"&&!NA(a))return;t.push(a);}}catch(i){r.e(i);}finally{r.f();}return t}}function OA(e){on(Array.isArray(e.fromFrames),"fromFrames property must be an array"),on(e.fromFrames.every(function(t){return !Sr(t,"fromFrames")}),"Invalid context; fromFrames selector must be appended, rather than nested"),on(!Sr(e,"fromShadowDom"),"fromFrames and fromShadowDom cannot be used on the same object");}function PA(e){on(Array.isArray(e.fromShadowDom),"fromShadowDom property must be an array"),on(e.fromShadowDom.every(function(t){return !Sr(t,"fromFrames")}),"shadow selector must be inside fromFrame instead"),on(e.fromShadowDom.every(function(t){return !Sr(t,"fromShadowDom")}),"fromShadowDom selector must be appended, rather than nested");}function NA(e){return Array.isArray(e)&&e.every(function(t){return typeof t=="string"})}function on(e,t){at(e,"Invalid context; ".concat(t,`
|
|
376
|
+
See: https://github.com/dequelabs/axe-core/blob/master/doc/context.md`));}function em(e,t){for(var r=[],n=0,a=e[t].length;n<a;n++){var i=e[t][n];if(i instanceof d.Node)if(i.documentElement instanceof d.Node)r.push(e.flatTree[0]);else if(i.host instanceof d.Node){var o=Array.from(i.children).map(function(l){return Ke(l)});r.push.apply(r,De(o));}else r.push(Ke(i));else if(i&&i.length)if(i.length>1)qA(e,t,i);else {var s=Hl(i[0]);r.push.apply(r,De(s.map(function(l){return Ke(l)})));}}return r.filter(function(l){return l})}function qA(e,t,r){e.frames=e.frames||[];var n=r.shift(),a=Hl(n);a.forEach(function(i){var o=e.frames.find(function(s){return s.node===i});o||(o=Zp(i,e),e.frames.push(o)),o[t].push(r);});}function po(e,t){var r,n,a,i,o=this;e=Nr(e),this.frames=[],this.page=typeof((r=e)===null||r===void 0?void 0:r.page)=="boolean"?e.page:void 0,this.initiator=typeof((n=e)===null||n===void 0?void 0:n.initiator)=="boolean"?e.initiator:true,this.focusable=typeof((a=e)===null||a===void 0?void 0:a.focusable)=="boolean"?e.focusable:true,this.size=de((i=e)===null||i===void 0?void 0:i.size)==="object"?e.size:{},e=IA(e),this.flatTree=t??El(jA(e)),this.exclude=e.exclude,this.include=e.include,this.include=em(this,"include"),this.exclude=em(this,"exclude"),Bl("frame, iframe",this).forEach(function(s){Ml(s,o)&&BA(o,s.actualNode);}),typeof this.page>"u"&&(this.page=HA(this),this.frames.forEach(function(s){s.page=o.page;})),VA(this),Array.isArray(this.include)||(this.include=Array.from(this.include)),this.include.sort(Pl);}function BA(e,t){!wt(t)||ya(e.frames,"node",t)||e.frames.push(Zp(t,e));}function HA(e){var t=e.include;return t.length===1&&t[0].actualNode===v.documentElement}function VA(e){if(e.include.length===0&&e.frames.length===0){var t=br.isInFrame()?"frame":"page";throw new Error("No elements found for include in "+t+" Context")}}function jA(e){for(var t=e.include,r=e.exclude,n=Array.from(t).concat(Array.from(r)),a=0;a<n.length;a++){var i=n[a];if(i instanceof d.Element)return i.ownerDocument.documentElement;if(i instanceof d.Document)return i.documentElement}return v.documentElement}function $A(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(t.iframes===false)return [];var r=new po(e),n=r.frames;return n.map(function(a){var i=a.node,o=J(a,V);o.initiator=false;var s=Mi(i);return {frameSelector:s,frameContext:o}})}function tm(e){var t=m._audit.rules.find(function(r){var n=r.id;return n===e});if(!t)throw new Error("Cannot find rule by id: ".concat(e));return t}function zA(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,r=e.scrollWidth>e.clientWidth+t,n=e.scrollHeight>e.clientHeight+t;if(r||n){var a=d.getComputedStyle(e),i=rm(a,"overflow-x"),o=rm(a,"overflow-y");if(r&&i||n&&o)return {elm:e,top:e.scrollTop,left:e.scrollLeft}}}function rm(e,t){var r=e.getPropertyValue(t);return ["scroll","auto"].includes(r)}var Vr=ht(zA);function nm(e){return Array.from(e.children||e.childNodes||[]).reduce(function(t,r){var n=Vr(r);return n&&t.push(n),t.concat(nm(r))},[])}function GA(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:d,t=e.document.documentElement,r=[e.pageXOffset!==void 0?{elm:e,top:e.pageYOffset,left:e.pageXOffset}:{elm:t,top:t.scrollTop,left:t.scrollLeft}];return r.concat(nm(v.body))}var WA=GA;function UA(){return Nr(it)}function XA(e){if(!e)throw new Error("axe.utils.getStyleSheetFactory should be invoked with an argument");return function(t){var r=t.data,n=t.isCrossOrigin,a=n===void 0?false:n,i=t.shadowId,o=t.root,s=t.priority,l=t.isLink,u=l===void 0?false:l,c=e.createElement("style");if(u){var f=e.createTextNode('@import "'.concat(r.href,'"'));c.appendChild(f);}else c.appendChild(e.createTextNode(r));return e.head.appendChild(c),{sheet:c.sheet,isCrossOrigin:a,shadowId:i,root:o,priority:s}}}var am=XA,er;function YA(e){if(er&&er.parentNode)return er.styleSheet===void 0?er.appendChild(v.createTextNode(e)):er.styleSheet.cssText+=e,er;if(e){var t=v.head||v.getElementsByTagName("head")[0];return er=v.createElement("style"),er.type="text/css",er.styleSheet===void 0?er.appendChild(v.createTextNode(e)):er.styleSheet.cssText=e,t.appendChild(er),er}}var KA=YA;function Rl(e){return !!e&&de(e)==="object"&&typeof e.length=="number"&&!(e instanceof d.Node)}function Sr(e,t){return !e||de(e)!=="object"?false:Object.prototype.hasOwnProperty.call(e,t)}function im(e){return Fl(e)||mo(e)}function Fl(e){return ["include","exclude"].some(function(t){return Sr(e,t)&&mo(e[t])})}function mo(e){return typeof e=="string"||e instanceof d.Node||Il(e)||ho(e)||Rl(e)}function Il(e){return Sr(e,"fromFrames")}function ho(e){return Sr(e,"fromShadowDom")}function om(e,t){var r=Ke(e);if(e.nodeType===9)return false;if(e.nodeType===11&&(e=e.host),r&&r._isHidden!==null)return r._isHidden;var n=d.getComputedStyle(e,null);if(!n||!e.parentNode||n.getPropertyValue("display")==="none"||!t&&n.getPropertyValue("visibility")==="hidden"||e.getAttribute("aria-hidden")==="true")return true;var a=e.assignedSlot?e.assignedSlot:e.parentNode,i=om(a,true);return r&&(r._isHidden=i),i}var JA=om;function ZA(e){var t,r,n=(t=(r=e.props)===null||r===void 0?void 0:r.nodeName)!==null&&t!==void 0?t:e.nodeName.toLowerCase();return e.namespaceURI==="http://www.w3.org/2000/svg"?false:!!it.htmlElms[n]}var Ll=ZA;function Ml(e,t){var r=t.include,n=r===void 0?[]:r,a=t.exclude,i=a===void 0?[]:a,o=n.filter(function(c){return qr(c,e)});if(o.length===0)return false;var s=i.filter(function(c){return qr(c,e)});if(s.length===0)return true;var l=sm(o),u=sm(s);return qr(u,l)}function sm(e){var t,r=ot(e),n;try{for(r.s();!(n=r.n()).done;){var a=n.value;(!t||!qr(a,t))&&(t=a);}}catch(i){r.e(i);}finally{r.f();}return t}function Ol(e,t){return e.length!==t.length?false:e.every(function(r,n){var a=t[n];return Array.isArray(r)?r.length!==a.length?false:r.every(function(i,o){return a[o]===i}):r===a})}function QA(e,t){return e=e.actualNode||e,t=t.actualNode||t,e===t?0:e.compareDocumentPosition(t)&4?-1:1}var Pl=QA;function nt(e){return e instanceof Mt?{vNode:e,domNode:e.actualNode}:{vNode:Ke(e),domNode:e}}function e_(e,t,r,n){var a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:false,i=Array.from(e.cssRules);if(!i)return Promise.resolve();var o=i.filter(function(c){return c.type===3});if(!o.length)return Promise.resolve({isCrossOrigin:a,priority:r,root:t.rootNode,shadowId:t.shadowId,sheet:e});var s=o.filter(function(c){return c.href}).map(function(c){return c.href}).filter(function(c){return !n.includes(c)}),l=s.map(function(c,f){var g=[].concat(De(r),[f]),w=/^https?:\/\/|^\/\//i.test(c);return ql(c,t,g,n,w)}),u=i.filter(function(c){return c.type!==3});return u.length&&l.push(Promise.resolve(t.convertDataToStylesheet({data:u.map(function(c){return c.cssText}).join(),isCrossOrigin:a,priority:r,root:t.rootNode,shadowId:t.shadowId}))),Promise.all(l)}var lm=e_;function t_(e,t,r,n){var a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:false,i=r_(e);return i?lm(e,t,r,n,a):ql(e.href,t,r,n,true)}function r_(e){try{var t=e.cssRules;return !(!t&&e.href)}catch{return false}}var Nl=t_;function n_(e,t,r,n,a){return n.push(e),new Promise(function(i,o){var s=new d.XMLHttpRequest;s.open("GET",e),s.timeout=Xe.preload.timeout,s.addEventListener("error",o),s.addEventListener("timeout",o),s.addEventListener("loadend",function(l){if(l.loaded&&s.responseText)return i(s.responseText);o(s.responseText);}),s.send();}).then(function(i){var o=t.convertDataToStylesheet({data:i,isCrossOrigin:a,priority:r,root:t.rootNode,shadowId:t.shadowId});return Nl(o.sheet,t,r,n,o.isCrossOrigin)})}var ql=n_;function a_(e){if(typeof e!="string")return null;var t=e.trim().match(/^([-+]?\d+)/);return t?Number(t[1]):null}var kr=a_,i_=(function(){function e(){if(d.performance&&d.performance)return d.performance.now()}var t=e(),r=false;return {start:function(){this.reset(),r=true,this.mark("mark_axe_start");},end:function(){this.mark("mark_axe_end"),this.measure("axe","mark_axe_start","mark_axe_end",true),this.logMeasures("axe"),this.clearMark("mark_axe_start","mark_axe_end"),r=false;},auditStart:function(){r||this.reset(),this.mark("mark_audit_start");},auditEnd:function(){this.mark("mark_audit_end"),this.measure("audit_start_to_end","mark_audit_start","mark_audit_end",true),this.logMeasures(),this.clearMark("mark_audit_start","mark_audit_end");},mark:function(a){var i;(i=d.performance)!==null&&i!==void 0&&i.mark&&d.performance.mark(a);},measure:function(a,i,o){var s,l=arguments.length>3&&arguments[3]!==void 0?arguments[3]:false;if((s=d.performance)!==null&&s!==void 0&&s.measure){try{d.performance.measure(a,i,o);}catch(u){this._log(u);}l||this.clearMark(i,o);}},logMeasures:function(a){var i=this,o,s,l=function(P){return Array.isArray(P)?P[P.length-1]:P},u=function(P){i._log("Measure "+P.name+" took "+P.duration+"ms");};if(!(!((o=d.performance)!==null&&o!==void 0&&o.getEntriesByType)||!((s=d.performance)!==null&&s!==void 0&&s.getEntriesByName))){var c=l(d.performance.getEntriesByName("mark_axe_start"))||l(d.performance.getEntriesByName("mark_audit_start"));if(!c){this._log("Axe must be started before using performanceTimer");return}for(var f=d.performance.getEntriesByType("measure").filter(function(k){return k.startTime>=c.startTime}),g=0;g<f.length;++g){var w=f[g];if(w.name===a){u(w);return}else a||u(w);}}},timeElapsed:function(){var a=e();return a-t},clearMark:function(){var a;if((a=d.performance)!==null&&a!==void 0&&a.clearMarks){for(var i=arguments.length,o=new Array(i),s=0;s<i;s++)o[s]=arguments[s];for(var l=0,u=o;l<u.length;l++){var c=u[l];d.performance.clearMarks(c);}}},reset:function(){t=e();},_log:function(a){mn(a);}}})(),lt=i_;function um(){if(v.elementsFromPoint)return v.elementsFromPoint;if(v.msElementsFromPoint)return v.msElementsFromPoint;var e=(function(){var a=v.createElement("x");return a.style.cssText="pointer-events:auto",a.style.pointerEvents==="auto"})(),t=e?"pointer-events":"visibility",r=e?"none":"hidden",n=v.createElement("style");return n.innerHTML=e?"* { pointer-events: all }":"* { visibility: visible }",function(a,i){var o,s,l,u=[],c=[];for(v.head.appendChild(n);(o=v.elementFromPoint(a,i))&&u.indexOf(o)===-1;)u.push(o),c.push({value:o.style.getPropertyValue(t),priority:o.style.getPropertyPriority(t)}),o.style.setProperty(t,r,"important");for(u.indexOf(v.documentElement)<u.length-1&&(u.splice(u.indexOf(v.documentElement),1),u.push(v.documentElement)),s=c.length;l=c[--s];)u[s].style.setProperty(t,l.value?l.value:"",l.priority);return v.head.removeChild(n),u}}typeof d.addEventListener=="function"&&(v.elementsFromPoint=um());function o_(e,t){return e.concat(t).filter(function(r,n,a){return a.indexOf(r)===n})}var Oa=o_;function cm(e,t,r,n,a){var i=a||{};return i.vNodes=e,i.vNodesIndex=0,i.anyLevel=t,i.thisLevel=r,i.parentShadowId=n,i}function s_(e,t,r){for(var n=Ue.get("qsa.recycledLocalVariables",function(){return []}),a=[],i=Array.isArray(e)?e:[e],o=cm(i,t,null,e[0].shadowId,n.pop()),s=[];o.vNodesIndex<o.vNodes.length;){for(var l,u,c=o.vNodes[o.vNodesIndex++],f=null,g=null,w=(((l=o.anyLevel)===null||l===void 0?void 0:l.length)||0)+(((u=o.thisLevel)===null||u===void 0?void 0:u.length)||0),k=false,P=0;P<w;P++){var j,$,G,Y=P<(((j=o.anyLevel)===null||j===void 0?void 0:j.length)||0)?o.anyLevel[P]:o.thisLevel[P-((($=o.anyLevel)===null||$===void 0?void 0:$.length)||0)];if((!Y[0].id||c.shadowId===o.parentShadowId)&&Tn(c,Y[0]))if(Y.length===1)!k&&(!r||r(c))&&(s.push(c),k=true);else {var K=Y.slice(1);if([" ",">"].includes(K[0].combinator)===false)throw new Error("axe.utils.querySelectorAll does not support the combinator: "+Y[1].combinator);K[0].combinator===">"?(f=f||[]).push(K):(g=g||[]).push(K);}(!Y[0].id||c.shadowId===o.parentShadowId)&&(G=o.anyLevel)!==null&&G!==void 0&&G.includes(Y)&&(g=g||[]).push(Y);}for(c.children&&c.children.length&&(a.push(o),o=cm(c.children,g,f,c.shadowId,n.pop()));o.vNodesIndex===o.vNodes.length&&a.length;)n.push(o),o=a.pop();}return s}function l_(e,t,r){e=Array.isArray(e)?e:[e];var n=Oi(t),a=Gp(e,n,r);return a||s_(e,n,r)}var Tr=l_;function u_(e){var t=e.treeRoot,r=t===void 0?m._tree[0]:t,n=c_(r);if(!n.length)return Promise.resolve();var a=v.implementation.createHTMLDocument("Dynamic document for loading cssom"),i=am(a);return d_(n,i).then(function(o){return fm(o)})}var dm=u_;function c_(e){var t=[],r=Tr(e,"*",function(n){return t.includes(n.shadowId)?false:(t.push(n.shadowId),true)}).map(function(n){return {shadowId:n.shadowId,rootNode:wa(n.actualNode)}});return Oa(r,[])}function d_(e,t){var r=[];return e.forEach(function(n,a){var i=n.rootNode,o=n.shadowId,s=f_(i,o,t);if(!s)return Promise.all(r);var l=a+1,u={rootNode:i,shadowId:o,convertDataToStylesheet:t,rootIndex:l},c=[],f=Promise.all(s.map(function(g,w){var k=[l,w];return Nl(g,u,k,c)}));r.push(f);}),Promise.all(r)}function fm(e){return e.reduce(function(t,r){return Array.isArray(r)?t.concat(fm(r)):t.concat(r)},[])}function f_(e,t,r){var n;return e.nodeType===11&&t?n=p_(e,r):n=m_(e),g_(n)}function p_(e,t){return Array.from(e.children).filter(h_).reduce(function(r,n){var a=n.nodeName.toUpperCase(),i=a==="STYLE"?n.textContent:n,o=a==="LINK",s=t({data:i,isLink:o,root:e});return s.sheet&&r.push(s.sheet),r},[])}function m_(e){return Array.from(e.styleSheets).filter(function(t){return t.media?pm(t.media.mediaText):false})}function h_(e){var t=e.nodeName.toUpperCase(),r=e.getAttribute("href"),n=e.getAttribute("rel"),a=t==="LINK"&&r&&n&&e.rel.toUpperCase().includes("STYLESHEET"),i=t==="STYLE";return i||a&&pm(e.media)}function pm(e){return e?!e.toUpperCase().includes("PRINT"):true}function g_(e){var t=[];return e.filter(function(r){return r.href?t.includes(r.href)?false:(t.push(r.href),true):true})}function v_(e){var t=e.treeRoot,r=t===void 0?m._tree[0]:t,n=Tr(r,"video[autoplay], audio[autoplay]",function(a){var i=a.actualNode;if(i.preload==="none"&&i.readyState===0&&i.networkState!==i.NETWORK_LOADING||i.hasAttribute("paused")||i.hasAttribute("muted"))return false;if(i.hasAttribute("src"))return !!i.getAttribute("src");var o=Array.from(i.getElementsByTagName("source")).filter(function(s){return !!s.getAttribute("src")});return !(o.length<=0)});return Promise.all(n.map(function(a){var i=a.actualNode;return b_(i)}))}var mm=v_;function b_(e){return new Promise(function(t){e.readyState>0&&t(e);function r(){e.removeEventListener("loadedmetadata",r),t(e);}e.addEventListener("loadedmetadata",r);})}function hm(e){var t={cssom:dm,media:mm};return gm(e)?new Promise(function(r,n){var a=vm(e),i=a.assets,o=a.timeout,s=setTimeout(function(){return n(new Error("Preload assets timed out."))},o);Promise.all(i.map(function(l){return t[l](e).then(function(u){return B({},l,u)})})).then(function(l){var u=l.reduce(function(c,f){return ve({},c,f)},{});clearTimeout(s),r(u);}).catch(function(l){clearTimeout(s),n(l);});}):Promise.resolve()}function y_(e){return de(e)==="object"&&Array.isArray(e.assets)}function gm(e){return !e||e.preload===void 0||e.preload===null?true:typeof e.preload=="boolean"?e.preload:y_(e.preload)}function vm(e){var t=Xe.preload,r=t.assets,n=t.timeout,a={assets:r,timeout:n};if(!e.preload||typeof e.preload=="boolean")return a;var i=e.preload.assets.every(function(o){return r.includes(o.toLowerCase())});if(!i)throw new Error("Requested assets, not supported. Supported assets are: ".concat(r.join(", "),"."));return a.assets=Oa(e.preload.assets.map(function(o){return o.toLowerCase()}),[]),e.preload.timeout&&typeof e.preload.timeout=="number"&&!isNaN(e.preload.timeout)&&(a.timeout=e.preload.timeout),a}function go(e){var t=m._audit.data.checks||{},r=m._audit.data.rules||{},n=ya(m._audit.rules,"id",e.id)||{};e.tags=Nr(n.tags||[]);var a=bm(t,true,n),i=bm(t,false,n);e.nodes.forEach(function(o){o.any.forEach(a),o.all.forEach(a),o.none.forEach(i);}),Ns(e,Nr(r[e.id]||{}));}function w_(e,t){function r(a){return a.incomplete&&a.incomplete.default?a.incomplete.default:kl()}if(e&&e.missingData)try{var n=t.incomplete[e.missingData[0].reason];if(!n)throw new Error;return n}catch{return typeof e.missingData=="string"?t.incomplete[e.missingData]:r(t)}else return e&&e.messageKey?t.incomplete[e.messageKey]:r(t)}function bm(e,t,r){return function(n){var a=e[n.id]||{},i=a.messages||{},o=Object.assign({},a);delete o.messages,!r.reviewOnFail&&n.result===void 0?(de(i.incomplete)==="object"&&!Array.isArray(n.data)&&(o.message=w_(n.data,i)),o.message||(o.message=i.incomplete)):o.message=n.result===t?i.pass:i.fail,typeof o.message!="function"&&(o.message=Tl(o.message,n.data)),Ns(n,o);}}function x_(e,t){return Tr(e,t)}var tr=x_;function ym(e,t){var r,n,a=m._audit&&m._audit.tagExclude?m._audit.tagExclude:[];t.hasOwnProperty("include")||t.hasOwnProperty("exclude")?(r=t.include||[],r=Array.isArray(r)?r:[r],n=t.exclude||[],n=Array.isArray(n)?n:[n],n=n.concat(a.filter(function(o){return r.indexOf(o)===-1}))):(r=Array.isArray(t)?t:[t],n=a.filter(function(o){return r.indexOf(o)===-1}));var i=r.some(function(o){return e.tags.indexOf(o)!==-1});return i||r.length===0&&e.enabled!==false?n.every(function(o){return e.tags.indexOf(o)===-1}):false}function D_(e,t,r){var n=r.runOnly||{},a=(r.rules||{})[e.id];return e.pageLevel&&!t.page?false:n.type==="rule"?n.values.indexOf(e.id)!==-1:a&&typeof a.enabled=="boolean"?a.enabled:n.type==="tag"&&n.values?ym(e,n.values):ym(e,[])}var wm=D_;function xm(e,t){if(!t)return e;var r=e.cloneNode(false),n=na(r);if(r.nodeType===1){var a=r.outerHTML;r=Ue.get(a,function(){return Dm(r,n,e,t)});}else r=Dm(r,n,e,t);return Array.from(e.childNodes).forEach(function(i){r.appendChild(xm(i,t));}),r}function Dm(e,t,r,n){return t&&(e=v.createElement(e.nodeName),Array.from(t).forEach(function(a){A_(r,a.name,n)||e.setAttribute(a.name,a.value);})),e}function A_(e,t,r){return typeof r[t]>"u"?false:r[t]===true?true:Cn(e,r[t])}function Bl(e,t){var r=[],n;if(m._selectCache)for(var a=0,i=m._selectCache.length;a<i;a++){var o=m._selectCache[a];if(o.selector===e)return o.result}for(var s=__(t.include),l=E_(t),u=0;u<s.length;u++){n=s[u];var c=Tr(n,e,l);r=C_(r,c);}return m._selectCache&&m._selectCache.push({selector:e,result:r}),r}function __(e){return e.reduce(function(t,r){return (!t.length||!qr(t[t.length-1],r))&&t.push(r),t},[])}function E_(e){return !e.exclude||e.exclude.length===0?null:function(t){return Ml(t,e)}}function C_(e,t){if(e.length===0)return t;if(e.length<t.length){var r=e;e=t,t=r;}for(var n=0,a=t.length;n<a;n++)e.includes(t[n])||e.push(t[n]);return e}function vo(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;if(de(e)!=="object"||e===null)return {message:String(e)};var r={},n=ot(Xe.serializableErrorProps),a;try{for(n.s();!(a=n.n()).done;){var i=a.value;["string","number","boolean"].includes(de(e[i]))&&(r[i]=e[i]);}}catch(o){n.e(o);}finally{n.f();}return e.cause&&(r.cause=t<10?vo(e.cause,t+1):"..."),r}var S_=(function(e){function t(r){var n,a,i=r.error,o=r.ruleId,s=r.method,l=r.errorNode;return rr(this,t),a=ne(this,t),a.name=(n=i.name)!==null&&n!==void 0?n:"RuleError",a.message=i.message,a.stack=i.stack,i.cause&&(a.cause=vo(i.cause)),o&&(a.ruleId=o,a.message+=" Skipping ".concat(a.ruleId," rule.")),s&&(a.method=s),l&&(a.errorNode=l),a}return Ge(t,e),zt(t)})(L(Error)),bo=S_;function k_(e,t,r){if(e===d)return e.scroll(r,t);e.scrollTop=t,e.scrollLeft=r;}function T_(e){e.forEach(function(t){var r=t.elm,n=t.top,a=t.left;return k_(r,n,a)});}var R_=T_;function F_(e){var t=Array.isArray(e)?De(e):[e];return Am(t,v)}function Am(e,t){var r=e.shift(),n=r?t.querySelector(r):null;return e.length===0?n:n!=null&&n.shadowRoot?Am(e,n.shadowRoot):null}function Hl(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:v,r=Array.isArray(e)?De(e):[e];return e.length===0?[]:_m(r,t)}function _m(e,t){var r=D(e),n=r[0],a=ln(r).slice(1),i=t.querySelectorAll(n);if(a.length===0)return Array.from(i);var o=[],s=ot(i),l;try{for(s.s();!(l=s.n()).done;){var u=l.value;u!=null&&u.shadowRoot&&o.push.apply(o,De(_m(a,u.shadowRoot)));}}catch(c){s.e(c);}finally{s.f();}return o}function I_(){return ["hidden","text","search","tel","url","email","password","date","month","week","time","datetime-local","number","range","color","checkbox","radio","file","submit","image","reset","button"]}var yo=I_,Em=[,[,[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,,,,,,1,1,1,1,,,1,1,1,,1,,1,,1,1],[1,1,1,,1,1,,1,1,1,,1,,,1,1,1,,,1,1,1,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,,,,1,1,1,,1,1,1,1,1,1,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1],[,1,,,,,,1,,1,,,,,1,,1,,,1,1,1,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,,1,1,1,1,,,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,,,1,,,,1,1,1,1,,1,,1,,1,,,,,,1],[1,,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,,1,,1,,,,,1,,1,1,1,1,1,,,,1,1,1,1],[,1,1,1,1,1,,1,1,1,,1,,1,1,1,,,1,1,1,1,1,1,1,1],[,,1,,,1,,1,,,,1,1,1,,,,,,,,,,,1],[1,1,1,1,1,1,,1,1,1,,1,1,,1,1,1,1,1,1,1,1,,,1,1,1],[1,1,1,1,1,,,1,,,1,,,1,1,1,,,,,1,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,,1,1,,1,1,1,1,1,1,1,,1],[,1,,1,1,1,,1,1,,1,,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,,,1,1,1,,,1,1,,,,,,1,1],[1,1,1,,,,,1,,,,1,1,,1,,,,,,1,,,,,1],[,1,,,1,,,1,,,,,,1],[,1,,1,,,,1,,,,1],[1,,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,,1,,,1,1,1,1],[,1,1,1,1,1,,,1,,,1,,1,1,,1,,1,,,,,1,,1],[,1,,,,1,,,1,1,,1,,1,1,1,1,,1,1,,,1,,,1],[,1,1,,,,,,1,,,,1,1,1,1,,1,1,1,1,1,1,,1,1,1],[,1,,1,1,1,,,1,1,1,1,1,1,,1,,,,1,1,1,,1,,1],[,1,,1,,1,,1,,1,,1,1,1,1,1,,,1,1,1],[,1,1,1,,,,1,1,1,,1,1,,,1,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1],[,1,1,1,,1,1,1,,1,,,,,1,1,1,,,1,,1,,,1,1],[,,,,1,,,,,,,,,,,,,,,,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,,1,1,,,,1,1,1,1,1,,,1,1,1,,,,1,1],[1,1,1,1,,,,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,,,,,,,1,,,,,,,1],[,1,1,,1,1,,1,,,,,,,,,,,,,1],[,,,,,,,,1],[1,1,1,,,,,,,,,,,,,1],[,,,,,,,,1,,,1,,,1,1,,,,,1]],[,[1,1,,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,,1,1,1,1,,1,1,,1,1,1,1,1,1,1,,1,1,1,1,,1],[,,,1,,,,,,,,,,,,,,,1],[,1,,,1,1,,1,,1,1,,,,1,1,,,1,1,,,,1],[1,,,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1,,,1,,,,1],,[,1,1,1,1,1,,1,1,1,,1,1,,1,1,,,1,1,1,1,,1,1,,1],[,1,,,1,,,1,,1,,,1,1,1,1,,,1,1,,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,,,1,1,1,1,1,1,1,,,1,,,1,,1],[,1,,,,,,1,,,,1,1,,,,,,1,1,,,,,1],[,,,,,,,1,,,,1,,1,1],[,1,1,1,1,1,1,1,,,,1,1,1,1,1,,,1,1,,1,1,1,1,1],[,1,,,1,1,,1,,1,1,1,,,1,1,,,1,,1,1,1,1,,1],[,1,1,1,,1,1,,1,1,,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1],[,,,,,,,,,,,,,,,,1],,[,1,1,1,1,1,,1,1,1,,,1,,1,1,,1,1,1,1,1,,1,,1],[,,1,,,1,,,1,1,,1,1,,1,1,,1,,,,,,,,,1],[,1,1,,1,,,,1,1,,1,,1,1,1,1,,1,1,1,1,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[1,1],[,1,,,,,,,,,,1,1,,,,,,1,1,,1,,1,,1,1],,[,1,1,,1,,,1,,1,,,,1,1,1,,,1,,,1,,,,1],[1,1,,,1,1,,1,,,,,1,,1]],[,[,1],[,,,1,,,,1,,,,1,,,,1,,,1,,,1],[,,,,,,,,,,,,,,,,,,1,1,,,,,,1],,[1,,,,,1],[,1,,,,1,,,,1],[,1,,,,,,,,,,,1,1,,1,,,,,,,,,1,1],[,,,,,,,,,,,,,,,,,,,1,,1],[,,,,,,,,,,,,,,,,1,,,,1,,1],[,1],[,1,,1,,1,,1,,1,,1,1,1,,1,1,,1,,,,,,,1],[1,,,,,1,,,1,1,,1,,1,,1,1,,,,,1,,,1],[,1,1,,,1,,1,,1,,1,,1,1,1,1,1,,1,,1,,1,1,1,1],[1,1,1,1,1,,1,,1,,,,1,1,1,1,,1,1,,,1,1,1,1],[1,,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,1],,[,1,,,,,,1,1,1,,1,,,,1,,,1,1,1,,,1],[1,,,,,1,,1,1,1,,1,1,1,1,1,,1,,1,,1,,,1,1],[1,,1,1,,,,,1,,,,,,1,1,,,1,1,1,1,,,1,,1],[1,,,,1,,,,,,,,,,,,,1],[,,,,,1,,,1,,,,,,1],[,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,,1],[,1,,,,,,,,,,,,,,1],[,1,,,,1]],[,[1,1,1,,1,,1,1,1,1,1,1,1,1,1,,1,,1,,1,1,,,1,1,1],[,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1],,[,,,,,,,,,,,,,,,,,,1],[1,,,,,,,,,1,,,,1],[,,,,,,,,,,,,,,,,,,1],,[1,1,,,,1,1,,,,,,1,,,,1,,1,,1,1,,1],[1],[,,,,,,,,,,,1,,,,,,,,,,,1],[,1,,,,,,,1,1,,,1,,1,,,,1,,,,,,,1],[,,,,,,,,,,,,,,,,1,,,,,1],[,,1,,,,,1,,1],[1,,,,1,,,,,1,,,,1,1,,,,1,1,,,,,1],[,,,,,1],[,,,,,,,,,,,,,,,,,,,1],[1,,,1,1,,,,,,,1,,1,,1,1,1,1,1,1],[,,,,,1,,,,,,,1,,,,,,,1],,[,,1,1,1,1,1,,1,1,1,,,1,1,,,1,1,,1,1,1,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,,,,1],,[1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[,,,1,1,1,1,,,,,,1,,1,,,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,,,,1,,1,,,1,1,1,1,1],[,,,,,,,,,,,1,,,,,,,,,1,,,,1],[,1,1,,1,1,,1,,,,1,1,,1,1,,,1,,1,1,,1],[,1,,1,,1,,,1,,,1,1,,1,1,,,1,1,1],[,1,1,1,1,1,,1,1,1,,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,,,,,,,,,1,,1,,1,1,,,,1,,,1],[,1,,,1,1,,,,,,,,,1,1,1,,,,,1],[1,,1,1,1,,,,1,1,1,1,1,,,1,,,1,,,1,,1,,1],[,1,1,,1,1,,1,1,,,,1,1,1,,,1,1,,,1,1,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,,1,1,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,,1],[,1,,,,,,,,1,,,,,1,,,,1,,,1],[,1,1,1,1,,,1,1,1,1,1,,1,,1,,1,1,1,1,1,1,1,1,1,1],[,,,,,1,,1,,,,,1,1,1,1,1,,,1,,,,1],[,1,,,,,,,,1,,,,,,,,,,,,1],[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,,1,,1,1,,,,1,,1,1,1,1,1,,1,1,,,,,,1],[,1,1,1,1,1,1,1,,1,1,,,1,1,,,,1,,1,1,,1,1],[,,,,,,,,,,,,,,,,,,,,,,,,1],[,1,1,,1,1,1,1,,1,,,1,1,1,1,,,1,,,,,,,1,1],[,1,,,,,,,,1,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1],[,1,1,,,,,,,,,,,,1,1,,,,,,1],[,1,,,,,,,1],[,,,,,,,,,,,,,,1,,,,,1,,,,,,1],[1,1,,,1,,,1,1,1,,,,1],,[,,,,,,,,,,,,,1,,,,,,,,,,1],[,,,,,,,,,1,,,,,,,,,1,,,,,,,1],[1,1,1,,1,,1,1,1,1,1,1,1,1,,1,,,1,,1,,,1,1],[,,,,,,,,,1],[,1,,,,1,,,1,,,1,,,1,,,,,1],[,1,1,,1,1,,,,,,,,,,,,,,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,,,1,1,,1,1,1,1,,,1,1,1,,,,1,,1],[1,1,1,1,1,1,,,1,1,1,1,1,1,,1,1,,1,1,1,,1,1,,1,1],[,,,,,,,,,,,,,,,1,,,,1],,[1,1,,1,,1,,,,,,1,,1,,1,1,,1,,1,1,,1,1,,1],[,,1,,,,,,1,,,,1,,1,,,,,1],[1,,,,,,,,,1,,,,,,1,,,,1,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,,,1,,1,,,,,,1,,,1,,,,,,,,1],[,1,,1,,,,,,,,,,,,1],,[1,1,,,,,,,,,,,,,,,,,,,,,,1,1],[1]],[,[1,,,,,,,,,1,,,,,1,,1,,1],[,1,1,,1,1,,1,1,1,,,1,1,1,,,,1,,,1,,,,1],[,1,,,,,,,1,,,,1,,,,,,1],[1,1,1,1,1,1,,,,1,,,,,,,,,1,1,1,1],[1],[,1,1,,,1,1,,,,,1,,1,,,,,,,,1,,,,1],[1,,1,,,1,,1,,,,,1,1,1,1,,,,1,,,,1],[,,1,,,,,,,1,,,,,,,1,,,,,,,1],[1,,,,,,,,,,,,,,1,,,,1],[,,,1,,1,,,,,1,,,,1,1,,,,1],[1,,,,,1,,,1,1,,1,1,,,1,1,,1,1,1,,1,1,1,,1],[,1,1,,,,,1,,1,,1,1,1,,1,1,,,1,,1,1,1],[,1,,,,1,,,,1,,,1,,1,1,,,1,1,1,,,,,1],[1,,1,1,,1,,1,1,,1,,1,1,1,1,1,,,1,1,,,,,,1],[1,,,,,,,,,,,,,,,,,,1,,,1,,1],[,,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,,,,1,,1],[,1,,,,1,,,1,1,,1,,,1,1,,,1,,,1,,,1,1],[1,1,,1,1,1,,1,1,1,,1,,1,1,1,,,1,,1,1,1],[1,,1,1,1,1,,,,1,,1,1,1,,1,,,1,1,1,,1,1,1,1,1],[1,,,,,,,,,,,,,1],[,,1,,,,,,,,,,,,,,,,,,,,1],[1,,,,,,,,,,,1,,1,,1,,,,1],[,,,1,,,,,,,,,1],[,1,,,,,,,,,,,,,,1,,,,,,,,,1],[,,,,,,,,1,1,,,,1,,,,,1,,,,,,,,1]],[,[1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,,1,1,1,1,1,,,1,1,1],[,,,,,1,,,,1,1,1,,1,1,1,,,1,,1,1,,1],[,,,,,,,,,,,,,,,,,,,1,1],[,1,,,,,,1,,,,,,,,,,,,,1],[,,1,,,1,,1,1,1,,1,1,,1,,,,1,,1,1],,[,,1,,,1,,,,,,1,,,,1],[,,,,,,,,,1,,,,,,,,,,1],[1,1,1,1,1,1,,1,1,1,,,1,1,,1,,1,,,1,1,1,,,1],[,,,,,1,,,,,,,,,,,,,1],[,1,,,,,,,,,,,,1,,1,1,,1,1,,1],[,,,,,1,,,,,,,,,,,,,,1],[,1,1,1,1,,,,,1,,,1,,1,,,,1,1,,,,1,1],[,1,,,1,,,1,,1,1,,1,,,,,,,1],[,,1,,1,,,1,,,,,,,,,,,1,1,,,,1],[,1,,,,,,,,,,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,1,,,,,,,,,,,,,,,,1,,1,1],[,,,,,,,,,,,,1],,[,1,1,1,1,,,,1,1,,1,1,1,1,1,1,,1,1,1,1,,1,,1],[1,,,,1,,,,,,,,,,1],[1,,,,,,,,,1],,[,1,,,,1,,,,,,,,,,,,,,,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,,,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,,1,1,1,,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,,,1,1,1,,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1,,1,1,1,1],[1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,,,1,1,1,1,,1,,,,1,1,,,1,1,,1],[,1,1,,1,,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,,,,,,,,,,1],[1,1,1,,,,,1,1,1,,1,1,1,1,1,,1,1,1,1,1,,,,,1],[,1,,,,,,,1,1,,,1,1,1,,1,,,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,1],[,1,,,,1,,,,1,,,1,,,,1,,,,,,,1,1],[,1,1,1,1,1,,,1,1,1,,1,1,1,1,,,1,1,1,1,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1],[1,1,1,,1,,,1,1,1,1,,1,1,1,1,,,,1,,1,,1,,,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,,1,1,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,,1,,1,,1,,1,,1,1,1,1,1,,,1,,1,,1,,,,1],[,1,1,1,1,1,,1,1,1,,,1,1,1,1,1,,1,1,1,,1,1,,1],[1,,,1,,,,1,1,1,,,,,1,1,,,,1,,1],[1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,,,,,,,,1,,1,1,,,,,,,1,,1],[,1,,,,1,,1,1,,,,1,1,,1,,,,1,1,1,,1],[,,,,,,,,,,,,,1],[,1,,,,,,1,,,,,,,1],[,,,,,,,,1,,,,1,,1,,,,,,,,,,,,1]],[,[,1,1,,1,1,1,1,,1,1,1,,1,1,,1,1,,1,1,1,1,1,1,,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,1,,,1,,,,,,,,1,,,,,,1,,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,,1,1,1,,1,1,1,1,,,1,1,1,1,,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,,1,,1,,1,,1,1,1,1,1,1,1,,1,1,,,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1],[,1,1,,,,,1,1,1,,,1,,1,1,,,,1,,1,,,1,1],[,,,,,,,1,,,,1,1,1,1,1,,1,,,1,,,,,1],[1,1,1,1,,1,1,1,,1,,1,1,1,1,,1,,1,,1,1,,,1,,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,1,1,,1,,1,1,1,,1,,1,1,,1,1,,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,,,,,,,1,,,,,1,,1],[,1,1,1,,1,,1,,1,,,,1,,1,,,1,,,,,1,1,1],[,1,,,1,1,,1,,1,,1,1,1,1,1,,1,1,,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,,,1,,1,,1,,,,,1,1,,1,,,,1,1]],[,[,1,,1,,,,,,,,1,,,,,,,1,,,,1],[,,,,,,,,,1,,1,1,1,,1,,,1,,1,1],[1,1,,,,,,,1,,,,,1,,1,,,,,,1],[,1,,,,,,,,,,1,,,,,,,,,1,1],,[,,,,,,,,,,,,,,,1,,,,1,,1],[,,1,1,,1,,1,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,,,1,1],[,1,,,,1,,,,,,,,,1],[1,,1,1,,,,1,,,,,,,,,1,,,1,,,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,,1,1,,1,1,,1,,1],[,1,,,1,1,,,,,,1,,1,,1,,,1,,1,1],[1,1,1,1,,1,,1,,1,,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,,,1,,1,,1,1,1,,,1,1,1,,1,1,1,1,,1,1],[,,,,1,,,1,,,,,,,1,,,,1,1],[,1,,,,,,,,,,1,,1,,1,,,,,1,,,,,1],,[1,1,,1,,1,,1,1,,,,,,1,1,,,1,1,1,1,1,1,1,1,1],[1,1,,1,,,,,,1,,,,,1,1,1,,,,1,1,,,1],[,1,1,,1,1,,,,1,,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1],[,1,1,,,1,,,,1,,,,1,1],[,,,,1],[,,,,,,,,,1,,,1],,[,,1,,1,,,,,,,,,1,,,,,,,,,,,,1],[,,,,,,,,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,1,,1,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,,,,,1],[,1,,1,,,,,,1,,,,,1,1,,,,,1,1],[,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,,,1,,1,1,1],[,1,,,,1,,,,,,,1],[,1,,,1,,,1,,1,,1,1,,1,,,,,1,,1,,,,1,1],[,1,,,1,,,1,1,1,1,1,1,1,1,1,,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1],[,,,,,,,,,,,,,,,,,,,,1],[,1,1,1,,,,1,1,,,,,,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,1,1,1,1,1,1,1,,1,,1,1,1,1,1,,1,1,,1,1,1,1,1],[,1,,,,1,,,,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,1,,,,,,,,,,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,,1,1,1,,1,1,1,,,1,1,1,1,1,1,1,1,1,1,,1,,1],[1,1,,,,,,,1,1,,,,,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,,1,1,1,,1,,1,1,1,1,,1,1,,1,1,1,1],,[,1,1,,,,,1,,1,,,,1,1,1,,,1,,,,,1],[,,,,,,,,,,,,,1],[,,,,,1,,,,,,,,1,1,,,,,1,,1,,,1,1],[,,,,,1,,,1,,,,,,1]],[,[,1],,,,,,,,,,,,,,,,,,,,[1,1,1,1,1,,1,1,1,1,,1,1,1,1,,1,1,1,1,,,1,1,1,1,1],[,1,,1,,1,,,1,1,1,,1,1,1,1,1,,,1,,,,1,,1,1],[,1,,1,,1,,,1,,,,,1,,,,,,1,1],[,1,,1,,,,,1,,,,1,,1,1,1,1,1,1,1,1,,1],[,1,,,,,,,,,,,,,,,1]],[,[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,,,,,,,,,1,1,,,,1],[,,,,,,1],[,,1],[,1,1,,,1,,1,,1,1,,1,1,1,,,,1,1,1,,,,,1],,[,1,,,,1,,,,,,1,,,1,,,,1,1,,1],[,,,,,,,1,,,,,,,,,1],[,1,1,,,1,1,,,,,,1,1,1,,,,1,,1,1],[,,,,,,,1,,1,,,,,,,,,,1],[,1,1,,,,,,1,1,,,,1,,,,,,,1,,,1],,[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,1,,,1,,,,,1,,1,,1,,1,,,,,1],[1,1,1,1,1,1,1,1,,,,,1,1,,1,1,,1,,,1,,1],[,,,,,,,,,,,,,,1,,,,,,1],,[,,,,,,,,,1,,,,1,,1,,,,,1],[,,1,,,,,,,1,,1,1,1,1,,,,,,,,,1],[,,,1,,,,,1,,,,,1,,,,,,1,,,,1],[1,,1,1,,1,1,1,1,1,,1,,,,1,1,1,,,1,1,,,,1,1],,[1,1,,,,,,,,,,1,1,1,,1,,,1],[,,,,1,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,1,,,,,1,,1],[,,,,,,,,1]],[,[1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,,1,1,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,,1,,,1,,,,,,,,1,,,,,,1,,,,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,,,,1,1,1,1,1,1,,1,1,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1],[,,1,1,1,1,,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,,,,,,,1,,1,1,,1,1,1,,1,1,1,1,1,,,1],[1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,1,1,,1,,1,,1,1,1,1,1,,1,,1,1,1,1,,1,1,1,1,1],[1,1,1,1,,1,,,,,,1,,1,,,,,1,1,,,,,1],[1,,1,1,,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,1,,1,,1,,,,1,1,1,1,1,,,1,1,,1,,1],[,1,1,1,1,,,,,1,,1,1,1,1,1,,,1,1,,,,1,1,1],[,1,1,1,1,1,,1,,,,,1,,1,,1,,,1,,,1,1,,1]],[,[1,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,,,,,,1,,,,,1,1,,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,,,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,,1,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,,,,,,1,,1,1,,1,1,1,1,1,,,1,,1,,1],[1,1,1,,1,1,1,1,,,,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,,1,,,,,,,,,,1,1,1,1,1,1,1,,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,,,1,1,,,,1,,1,1,1,1,1,,,,1,1,1,,1,1,1],[1,1,1,1,1,1,1,1,1,,,,1,1,1,1,1,1,1,,1,1,,1,1,1],[,1,1,1,,1,,1,1,1,1,,,1,1,1,,1,1,1,1,1,,,1,1],[1,1,,,,1,,,1,1,1,,1,,1,,1,,1,1,1,1,1,,1,1,1],[,1,,,,,,,1,,1,,1,1,1,1,,,,,,,,,1]],[,[,,,,,,,,,,,,,1,1,,,,1],[,1,,,,,,,,1,,,1,,,,,,1,,,1,,,,1],,[,1,,,,1,,1,,1,1,,1,1,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,1],[1,1,1,,,1,,,1,,,,,,1,1,,,,,,,,,,1],[,1,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1,,,1],[,,,,,,,,,1],[1,1,,,,,,1,1,1,,1,1,,,,1,1,,1,,1,1,1,,1],[,1,1,1,,1,1,,,1,,1,1,1,1,,,,,,,1,,1,,1],[,1,1,1,1,,,1,,1,,,,1,1,1,1,,1,1,,1],[,1,,,1,1,,1,,1,,1,,1,1,,1,,1,,,1,,,1,,1],[,,,,,,,,,,,1,,,1],[,,,,,,,,,1,,,,,,,,,,,,,1],,[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1],[,1,,,,,,,1,1,,1,,,,,1,,,1,,1],[,1,,,,1,,,1,,,,,,,,1,,1,,,1],[,,,,,,,,,,,,,1,1,,,,1,,,1],[,,,,,1,,,1,,,,1],[,1],,[,1],[1,,,,,,,,,,,,,,1,,,,,1]],[,[,1,,,,1,1,1,1,1,1,,1,1,1,1,1,,1,1,,1,1,,,1],[,,1,,,,,,,,,1],,,[1,,,1,1,,,,,,,,1,1,,1,1,,1],,[,,,,,,,,,,,,,,,,,,1,,1],,[1,,,1,1,,1,1,,,,,1,,1,,,,,1,1,,1],[,,,,,,,,,,,1],[,1,,,,,,,,1,1,1,1,1,1,1,1,,,,1,1,,,,,1],[,,,,,,,,,,,,,,,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,,1,1,1,1,1,1],[,,,,,,,,,,,1,,1,,,1],[1,,,,,,,,,,,,,,,,,,1,,1],,,[,1,,,,,,,,,,,,,,1,,,,1,1],[,,,,,,,,,1,,,1,,1,,,,,,,,1],[,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,1,1,,,,,,1],,[,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,,1,1,,1,1,1,1,1,1,,,1,1,1,1,1,,1,1],[,1,,,,,,,,1],[,,,,1,,,1,,,1,1,,,,,,,,,1,1,,,,1],[,1,,1,1,,,1,1,1,,,,1,1,1,1,,1,1,1,1,,1],[,,,,,,,1],[,1,1,,,,,1,,1,,,,,,1,,,,,,1,,1,,1],[,1,,,,,,1,,,,1,,,,,,,,,,1],[,,1,1,,1,1,1,1,1,1,1,1,1,1,,,,1,,1,1,1,1,,1],[,1,,,,,,,,1],[,1,1,,1,,,,,,,,1,,,,,,1,,,1,,1,,1],[,1,,1,,1,,1,1,1,,1,1,1,,1,,,1,1,,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,,,,1,1,1,,,,1,1,,,1,1],[,,1,1,1,1,,1,,1,,1,,1,1,1,1,,,,,1,,1,,1],[1,1,1,1,1,1,1,1,,1,,1,,1,1,1,,,1,1,,,,1,,1],[,,,1],,[,1,1,,1,,,1,1,1,,1,1,1,1,1,1,,1,1,,1,1,1,1,1,1],[,1,,,,,,1,,1,,1,,,,,,,1,1,,1,1],[,,1,,,,1,,1,1,,1,,1,,,,,,,,,,1],[,1,1,,1,,,,1,,,,1,1,1,,,,1,,1,1,1,,1,1],,[,1,1,,,,,,,,,,,,,1,,,1,,,,,1],[,1,,,,,,,,,,,,,,,,,,,,,,1],[,1,1,,,,,,,1,,,,1,1,,,,1,,,,,,,1]],[,[,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[,1,1,1,1,1,,1,,1,1,,,1,1,1,1,,1,,,,,1,1,1],[,,1,1,,1,,1,1,,,,1,1,1,1,,,1,,1,1,1,1,,1],[,1,,1,,,,,,,,1,,1,,1,,1,,,,,,,,1],[,,1,,1,,,1,,,,,1,1,,,1,,1,1,1,1],[,1],[,1,1,,1,,1,1,,1,,,1,1,1,,,,1,,,1,,1],[1,1,,1,1,1,,,,,,,,1,,,,,1,,1,1,1],[,1,1,,,,,,,1,,,1,,1,,1,,1,1,,,1,,,1],[,,1,,,,,,,,,,,,,,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,,1,,,,,1,1,1,,,1,,1,,,,1],[,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,1,1,1,1,1,,1,1,1,,1,1,1,1,1,,,,1,1],[,,,1,1,,,1,,1,,1,,1,1,1,1,,1,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,,,,,,,,,,,,,,,,1],[,1,1,,1,1,,1,,1,,,,1,1,,,1,1,,1,1,,1],[,1,1,1,1,1,,,1,1,1,,1,1,1,1,1,1,1,1,,1,1,,,1],[,1,1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,,1,,,1,,,1,,1,1,1,1,1,,1,,1,1],[,,,,,1,,,,1,,,,,1,1,,,,1],[,1,,1,1,1,,1,,,1,1,1,,,1,,,1,,1,,,1],[,,1,,,,,,,,,1,,1,,,,,1,,1],[,1,1,,,,,,,,1,1,1,,,,,,,,1,,,,,1],[,,,,,,,,1,,,,,1,,,1]],[,[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,,,1,1,1,1,1,1,1,1,,,,,,,,,1,1],[,,,,,,,,1,,,,1,,1,,1,,1],[,1,,,1,1,,1,,,,1,,,,,,,,1],[,1,,1,,1,,,,1,1,,1,,1,,,,1,1,1,1,1,,,1],,[,1,,,,,,,,1,,,1,1,,,1,,1,1,,1,,1],[,1,,,1,,,,,,,,1,,,,,,,1],[1,1,,,,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1],,[,1,,,,,,1,1,1,,1,1,1,1,1,,,1,,1,1,,,,1],[,1,1,,,1,,1,,1,,,1,1,1,1,,,1,,,1,,,,1],[,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,,,1,,1],[,1,1,,1,1,,1,1,,,1,1,,1,1,,1,,1,,1],[1,,1,,,,,1,,1,,1,1,1,1,,,,,1,1,,,,1,1],[,1,1,,,,,1,1,,,1,,1,1,1,1,,,,,,,,,,1],,[,1,1,,,1,,,,1,,1,1,1,1,1,,,,1,,,,1,,1],[,,,1,1,,,1,,,,,1,1,1,1,1,,1,1,,,,,,1],[,1,,,,,,,,,,,1,,,,1,,,,,,,1,,1],[,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,,1,1,,1,1,1,1],[,1,,,,,,,,,,,,,,,,,,,1],[,1,,,,,,1,,,,,1,,1,,,1,1,,1,1,,1],[,1,,,,,,1,,,,,1,1,,,,,,,,1,,,,1],[,,,,,,,,,,,,,,,,,,1,,,1,,,,,1],[,,,,,,,1,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,,1,,,,,,,1,,,,,,,,1,1,,1],[,1,,,1,,,,1],[,,,,,,,,,,1],[,1,,,,,,1,1,,,,,1,1],,[,1,1,,,,,,1,,,,,1,1,,,,1],[1,,1,,1,,,,,1,,,,,1,,,,,,,,,1,1],[,1,1,,,,,,,,,1,1,1,1,,,,1,,,,,1,,,1],,[,1,1,,1,,,1,1,,,1,,,1,1,1,,1,,1,1,1,,,,1],[,1,,,,1,,,,,1,,,1,1,,,1,,1,,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,1,1,,1,,,,1,,,,,,,,1],[,,,1,,,,,1,,,,,1,,1,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,,1],[,1,,,,,,1,,,,,,,1,1,1,,,1],[,1,,,,,,,,,,1,1,1,,,,,1,,,1],[,,,,,1,,1,,,,,1,1,1,,1,1,,1,1,1,,,1,1],[1,1,,,,,,,1,,,,,1,1,,,,,,,,,,,1],,[,1],[,,,,,,,,,,,,,,,,,,,,,,,,1],[,,1,,,,,1,,,1,,,,1,,1],[,1,,,,,,,,,1]]];function L_(e){for(var t=Em;e.length<3;)e+="`";for(var r=0;r<=e.length-1;r++){var n=e.charCodeAt(r)-96;if(t=t[n],!t)return false}return true}function Cm(e){e=Array.isArray(e)?e:Em;var t=[];return e.forEach(function(r,n){var a=String.fromCharCode(n+96).replace("`","");Array.isArray(r)?t=t.concat(Cm(r).map(function(i){return a+i})):t.push(a);}),t}var wo=L_,M_=(function(e){function t(r){var n;return rr(this,t),n=ne(this,t),n._props=P_(r),n._attrs=N_(r),n}return Ge(t,e),zt(t,[{key:"props",get:function(){return this._props}},{key:"attr",value:function(n){var a;return (a=this._attrs[n])!==null&&a!==void 0?a:null}},{key:"hasAttr",value:function(n){return this._attrs[n]!==void 0}},{key:"attrNames",get:function(){return Object.keys(this._attrs)}}])})(Mt),Vl={"#cdata-section":2,"#text":3,"#comment":8,"#document":9,"#document-fragment":11},Sm={},O_=Object.keys(Vl);O_.forEach(function(e){Sm[Vl[e]]=e;});function P_(e){var t,r,n,a=(t=e.nodeName)!==null&&t!==void 0?t:Sm[e.nodeType],i=(r=(n=e.nodeType)!==null&&n!==void 0?n:Vl[e.nodeName])!==null&&r!==void 0?r:1;at(typeof i=="number","nodeType has to be a number, got '".concat(i,"'")),at(typeof a=="string","nodeName has to be a string, got '".concat(a,"'")),a=a.toLowerCase();var o=null;a==="input"&&(o=(e.type||e.attributes&&e.attributes.type||"").toLowerCase(),yo().includes(o)||(o="text"));var s=ve({},e,{nodeType:i,nodeName:a});return o&&(s.type=o),delete s.attributes,Object.freeze(s)}function N_(e){var t=e.attributes,r=t===void 0?{}:t,n={htmlFor:"for",className:"class"};return Object.keys(r).reduce(function(a,i){var o=r[i];if(at(de(o)!=="object"||o===null,"expects attributes not to be an object, '".concat(i,"' was")),o!==void 0){var s=n[i]||i;a[s]=o!==null?String(o):null;}return a},{})}var km=M_;function q_(e,t){if(e=e||function(){},t=t||m.log,!m._audit)throw new Error("No audit configured");var r=m.utils.queue(),n=[];Object.keys(m.plugins).forEach(function(i){r.defer(function(o){var s=function(u){n.push(u),o();};try{m.plugins[i].cleanup(o,s);}catch(l){s(l);}});});var a=m.utils.getFlattenedTree(v.body);m.utils.querySelectorAll(a,"iframe, frame").forEach(function(i){r.defer(function(o,s){return m.utils.sendCommandToFrame(i.actualNode,{command:"cleanup-plugin"},o,s)});}),r.then(function(i){n.length===0?e(i):t(n);}).catch(t);}var Tm=q_,Pa={},Rm;function Fm(e){return Pa.hasOwnProperty(e)}function jl(e){return typeof e=="string"&&Pa[e]?Pa[e]:typeof e=="function"?e:Rm}function B_(e,t,r){Pa[e]=t,r&&(Rm=t);}function H_(e){var t=m._audit;if(!t)throw new Error("No audit configured");if(e.axeVersion||e.ver){var r=e.axeVersion||e.ver;if(!/^\d+\.\d+\.\d+(-canary)?/.test(r))throw new Error("Invalid configured version ".concat(r));var n=r.split("-"),a=Ae(n,2),i=a[0],o=a[1],s=i.split(".").map(Number),l=Ae(s,3),u=l[0],c=l[1],f=l[2],g=m.version.split("-"),w=Ae(g,2),k=w[0],P=w[1],j=k.split(".").map(Number),$=Ae(j,3),G=$[0],Y=$[1],K=$[2];if(u!==G||Y<c||Y===c&&K<f||u===G&&c===Y&&f===K&&o&&o!==P)throw new Error("Configured version ".concat(r," is not compatible with current axe version ").concat(m.version))}if(e.reporter&&(typeof e.reporter=="function"||Fm(e.reporter))&&(t.reporter=e.reporter),e.checks){if(!Array.isArray(e.checks))throw new TypeError("Checks property must be an array");e.checks.forEach(function(re){if(!re.id)throw new TypeError("Configured check ".concat(JSON.stringify(re)," is invalid. Checks must be an object with at least an id property"));t.addCheck(re);});}var Z=[];if(e.rules){if(!Array.isArray(e.rules))throw new TypeError("Rules property must be an array");e.rules.forEach(function(re){if(!re.id)throw new TypeError("Configured rule ".concat(JSON.stringify(re)," is invalid. Rules must be an object with at least an id property"));Z.push(re.id),t.addRule(re);});}if(e.disableOtherRules&&t.rules.forEach(function(re){Z.includes(re.id)===false&&(re.enabled=false);}),typeof e.branding<"u"?t.setBranding(e.branding):t._constructHelpUrls(),e.tagExclude&&(t.tagExclude=e.tagExclude),e.locale&&t.applyLocale(e.locale),e.standards&&iD(e.standards),e.noHtml&&(t.noHtml=true),e.allowedOrigins){if(!Array.isArray(e.allowedOrigins))throw new TypeError("Allowed origins property must be an array");if(e.allowedOrigins.includes("*"))throw new Error('"*" is not allowed. Use "'.concat(Xe.allOrigins,'" instead'));t.setAllowedOrigins(e.allowedOrigins);}}var V_=H_;function j_(e){br.updateMessenger(e);}function $_(e){e=e||[];var t=e.length?m._audit.rules.filter(function(n){return !!e.filter(function(a){return n.tags.indexOf(a)!==-1}).length}):m._audit.rules,r=m._audit.data.rules||{};return t.map(function(n){var a=r[n.id]||{};return {ruleId:n.id,description:a.description,help:a.help,helpUrl:a.helpUrl,tags:n.tags,actIds:n.actIds}})}var z_=$_;function G_(e,t,r){var n=["SCRIPT","HEAD","TITLE","NOSCRIPT","STYLE","TEMPLATE"];if(!n.includes(e.nodeName.toUpperCase())&&Fa(r)){var a=d.getComputedStyle(e);if(a.getPropertyValue("display")==="none")return;if(a.getPropertyValue("visibility")==="hidden"){var i=Ot(e),o=i&&d.getComputedStyle(i);if(!o||o.getPropertyValue("visibility")!=="hidden")return}}return true}var W_=G_,Im={};fr(Im,{getAllCells:function(){return $l},getCellPosition:function(){return Qi},getHeaders:function(){return xo},getScope:function(){return rl},isColumnHeader:function(){return Pn},isDataCell:function(){return Mm},isDataTable:function(){return Do},isHeader:function(){return Z_},isRowHeader:function(){return Nn},toArray:function(){return Hr},toGrid:function(){return Hr},traverse:function(){return zl}});function U_(e){var t,r,n,a,i=[];for(t=0,n=e.rows.length;t<n;t++)for(r=0,a=e.rows[t].cells.length;r<a;r++)i.push(e.rows[t].cells[r]);return i}var $l=U_;function Lm(e,t,r){for(var n=e==="row"?"_rowHeaders":"_colHeaders",a=e==="row"?Nn:Pn,i=r[t.y][t.x],o=i.colSpan-1,s=i.getAttribute("rowspan"),l=parseInt(s)===0||i.rowspan===0?r.length:i.rowSpan,u=l-1,c=t.y+u,f=t.x+o,g=e==="row"?t.y:0,w=e==="row"?0:t.x,k,P=[],j=c;j>=g&&!k;j--)for(var $=f;$>=w;$--){var G=r[j]?r[j][$]:void 0;if(G){var Y=m.utils.getNodeFromTree(G);if(Y[n]){k=Y[n];break}P.push(G);}}return k=(k||[]).concat(P.filter(a)),P.forEach(function(K){var Z=m.utils.getNodeFromTree(K);Z[n]=k;}),k}function X_(e,t){if(e.getAttribute("headers")){var r=_r(e,"headers");if(r.filter(function(o){return o}).length)return r}t||(t=Hr(Mn(e,"table")));var n=Qi(e,t),a=Lm("row",n,t),i=Lm("col",n,t);return [].concat(a,i).reverse()}var xo=X_;function Y_(e){if(!e.children.length&&!e.textContent.trim())return false;var t=Qe(e);return t?["cell","gridcell"].includes(t):e.nodeName.toUpperCase()==="TD"}var Mm=Y_;function K_(e){var t=Qe(e);if((t==="presentation"||t==="none")&&!St(e))return false;if(e.getAttribute("contenteditable")==="true"||Mn(e,'[contenteditable="true"]')||t==="grid"||t==="treegrid"||t==="table"||yr(t)==="landmark")return true;if(e.getAttribute("datatable")==="0")return false;if(e.getAttribute("summary")||e.tHead||e.tFoot||e.caption)return true;for(var r=0,n=e.children.length;r<n;r++)if(e.children[r].nodeName.toUpperCase()==="COLGROUP")return true;for(var a=0,i=e.rows.length,o,s,l=false,u=0;u<i;u++){o=e.rows[u];for(var c=0,f=o.cells.length;c<f;c++){if(s=o.cells[c],s.nodeName.toUpperCase()==="TH"||(!l&&(s.offsetWidth!==s.clientWidth||s.offsetHeight!==s.clientHeight)&&(l=true),s.getAttribute("scope")||s.getAttribute("headers")||s.getAttribute("abbr"))||["columnheader","rowheader"].includes(Qe(s))||s.children.length===1&&s.children[0].nodeName.toUpperCase()==="ABBR")return true;a++;}}if(e.getElementsByTagName("table").length||i<2)return false;var g=e.rows[Math.ceil(i/2)];if(g.cells.length===1&&g.cells[0].colSpan===1)return false;if(g.cells.length>=5||l)return true;for(var w,k,P=0;P<i;P++){if(o=e.rows[P],w&&w!==d.getComputedStyle(o).getPropertyValue("background-color")||(w=d.getComputedStyle(o).getPropertyValue("background-color"),k&&k!==d.getComputedStyle(o).getPropertyValue("background-image")))return true;k=d.getComputedStyle(o).getPropertyValue("background-image");}return i>=20?true:!(Vs(e).width>$i(d).width*.95||a<10||e.querySelector("object, embed, iframe, applet"))}var Do=K_;function J_(e){if(Pn(e)||Nn(e))return true;if(e.getAttribute("id")){var t=At(e.getAttribute("id"));return !!v.querySelector('[headers~="'.concat(t,'"]'))}return false}var Z_=J_;function Om(e,t,r,n){var a,i=r[t.y]?r[t.y][t.x]:void 0;return i?typeof n=="function"&&(a=n(i,t,r),a===true)?[i]:(a=Om(e,{x:t.x+e.x,y:t.y+e.y},r,n),a.unshift(i),a):[]}function Q_(e,t,r,n){if(Array.isArray(t)&&(n=r,r=t,t={x:0,y:0}),typeof e=="string")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};break}return Om(e,{x:t.x+e.x,y:t.y+e.y},r,n)}var zl=Q_,Pm={};fr(Pm,{allowedAttr:function(){return Nm},arialabelText:function(){return Ca},arialabelledbyText:function(){return Ea},getAccessibleRefs:function(){return Gl},getElementUnallowedRoles:function(){return Hm},getExplicitRole:function(){return Qe},getImplicitRole:function(){return Er},getOwnedVirtual:function(){return Ta},getRole:function(){return Ye},getRoleType:function(){return yr},getRolesByType:function(){return dE},getRolesWithNameFromContents:function(){return mE},implicitNodes:function(){return gE},implicitRole:function(){return Er},isAccessibleRef:function(){return Ao},isAriaRoleAllowedOnElement:function(){return Bm},isComboboxPopup:function(){return Ul},isUnsupportedRole:function(){return el},isValidRole:function(){return Sa},label:function(){return zm},labelVirtual:function(){return ro},lookupTable:function(){return jm},namedFromContents:function(){return dp},requiredAttr:function(){return Gm},requiredContext:function(){return Xl},requiredOwned:function(){return Yl},validateAttr:function(){return _o},validateAttrValue:function(){return Wm}});function eE(e){var t=it.ariaRoles[e],r=De(tn());return t&&(t.allowedAttrs&&r.push.apply(r,De(t.allowedAttrs)),t.requiredAttrs&&r.push.apply(r,De(t.requiredAttrs))),r}var Nm=eE,tE=/^idrefs?$/;function qm(e,t,r){if(e.hasAttribute){if(e.nodeName.toUpperCase()==="LABEL"&&e.hasAttribute("for")){var n=e.getAttribute("for");t.has(n)?t.get(n).push(e):t.set(n,[e]);}for(var a=0;a<r.length;++a){var i=r[a],o=Ve(e.getAttribute(i)||"");if(o){var s=ot(jt(o)),l;try{for(s.s();!(l=s.n()).done;){var u=l.value;t.has(u)?t.get(u).push(e):t.set(u,[e]);}}catch(f){s.e(f);}finally{s.f();}}}}for(var c=0;c<e.childNodes.length;c++)e.childNodes[c].nodeType===1&&qm(e.childNodes[c],t,r);}function rE(e){var t;e=e.actualNode||e;var r=qt(e);r=r.documentElement||r;var n=Ue.get("idRefsByRoot",function(){return new Map}),a=n.get(r);if(!a){a=new Map,n.set(r,a);var i=Object.keys(it.ariaAttrs).filter(function(o){var s=it.ariaAttrs[o].type;return tE.test(s)});qm(r,a,i);}return (t=a.get(e.id))!==null&&t!==void 0?t:[]}var Gl=rE;function nE(e,t){var r=e instanceof Mt?e:Ke(e),n=Er(r),a=rn(r);return Array.isArray(a.allowedRoles)?a.allowedRoles.includes(t):t===n?false:!!a.allowedRoles}var Bm=nE,aE=["doc-backlink","doc-biblioentry","doc-biblioref","doc-cover","doc-endnote","doc-glossref","doc-noteref"],iE={header:"banner",footer:"contentinfo"};function oE(e){var t=[];if(!e)return t;if(e.hasAttr("role")){var r=jt(e.attr("role").toLowerCase());t=t.concat(r);}return t.filter(function(n){return Sa(n)})}function sE(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:true,r=nt(e),n=r.vNode;if(!Ll(n))return [];var a=n.props.nodeName,i=Er(n)||iE[a],o=oE(n);return o.filter(function(s){return !lE(s,n,t,i)})}function lE(e,t,r,n){return r&&e===n?true:aE.includes(e)&&yr(e)!==n?false:Bm(t,e)}var Hm=sE;function uE(e){return Object.keys(it.ariaRoles).filter(function(t){return it.ariaRoles[t].type===e})}var Bn=uE;function cE(e){return Bn(e)}var dE=cE;function fE(){return Ue.get("ariaRolesNameFromContent",function(){return Object.keys(it.ariaRoles).filter(function(e){return it.ariaRoles[e].nameFromContent})})}var Wl=fE;function pE(){return Wl()}var mE=pE,Vm=function(t){return t===null},Bt=function(t){return t!==null},jr={};jr.attributes={"aria-activedescendant":{type:"idref",allowEmpty:true,unsupported:false},"aria-atomic":{type:"boolean",values:["true","false"],unsupported:false},"aria-autocomplete":{type:"nmtoken",values:["inline","list","both","none"],unsupported:false},"aria-busy":{type:"boolean",values:["true","false"],unsupported:false},"aria-checked":{type:"nmtoken",values:["true","false","mixed","undefined"],unsupported:false},"aria-colcount":{type:"int",unsupported:false},"aria-colindex":{type:"int",unsupported:false},"aria-colspan":{type:"int",unsupported:false},"aria-controls":{type:"idrefs",allowEmpty:true,unsupported:false},"aria-current":{type:"nmtoken",allowEmpty:true,values:["page","step","location","date","time","true","false"],unsupported:false},"aria-describedby":{type:"idrefs",allowEmpty:true,unsupported:false},"aria-describedat":{unsupported:true,unstandardized:true},"aria-details":{type:"idref",allowEmpty:true,unsupported:false},"aria-disabled":{type:"boolean",values:["true","false"],unsupported:false},"aria-dropeffect":{type:"nmtokens",values:["copy","move","reference","execute","popup","none"],unsupported:false},"aria-errormessage":{type:"idref",allowEmpty:true,unsupported:false},"aria-expanded":{type:"nmtoken",values:["true","false","undefined"],unsupported:false},"aria-flowto":{type:"idrefs",allowEmpty:true,unsupported:false},"aria-grabbed":{type:"nmtoken",values:["true","false","undefined"],unsupported:false},"aria-haspopup":{type:"nmtoken",allowEmpty:true,values:["true","false","menu","listbox","tree","grid","dialog"],unsupported:false},"aria-hidden":{type:"boolean",values:["true","false"],unsupported:false},"aria-invalid":{type:"nmtoken",allowEmpty:true,values:["true","false","spelling","grammar"],unsupported:false},"aria-keyshortcuts":{type:"string",allowEmpty:true,unsupported:false},"aria-label":{type:"string",allowEmpty:true,unsupported:false},"aria-labelledby":{type:"idrefs",allowEmpty:true,unsupported:false},"aria-level":{type:"int",unsupported:false},"aria-live":{type:"nmtoken",values:["off","polite","assertive"],unsupported:false},"aria-modal":{type:"boolean",values:["true","false"],unsupported:false},"aria-multiline":{type:"boolean",values:["true","false"],unsupported:false},"aria-multiselectable":{type:"boolean",values:["true","false"],unsupported:false},"aria-orientation":{type:"nmtoken",values:["horizontal","vertical"],unsupported:false},"aria-owns":{type:"idrefs",allowEmpty:true,unsupported:false},"aria-placeholder":{type:"string",allowEmpty:true,unsupported:false},"aria-posinset":{type:"int",unsupported:false},"aria-pressed":{type:"nmtoken",values:["true","false","mixed","undefined"],unsupported:false},"aria-readonly":{type:"boolean",values:["true","false"],unsupported:false},"aria-relevant":{type:"nmtokens",values:["additions","removals","text","all"],unsupported:false},"aria-required":{type:"boolean",values:["true","false"],unsupported:false},"aria-roledescription":{type:"string",allowEmpty:true,unsupported:false},"aria-rowcount":{type:"int",unsupported:false},"aria-rowindex":{type:"int",unsupported:false},"aria-rowspan":{type:"int",unsupported:false},"aria-selected":{type:"nmtoken",values:["true","false","undefined"],unsupported:false},"aria-setsize":{type:"int",unsupported:false},"aria-sort":{type:"nmtoken",values:["ascending","descending","other","none"],unsupported:false},"aria-valuemax":{type:"decimal",unsupported:false},"aria-valuemin":{type:"decimal",unsupported:false},"aria-valuenow":{type:"decimal",unsupported:false},"aria-valuetext":{type:"string",unsupported:false}},jr.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"],jr.role={alert:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:["section"]},alertdialog:{type:"widget",attributes:{allowed:["aria-expanded","aria-modal","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:["dialog","section"]},application:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage","aria-activedescendant"]},owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:["article","audio","embed","iframe","object","section","svg","video"]},article:{type:"structure",attributes:{allowed:["aria-expanded","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["article"],unsupported:false},banner:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["header"],unsupported:false,allowedElements:["section"]},button:{type:"widget",attributes:{allowed:["aria-expanded","aria-pressed","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["button",'input[type="button"]','input[type="image"]','input[type="reset"]','input[type="submit"]',"summary"],unsupported:false,allowedElements:[{nodeName:"a",attributes:{href:Bt}}]},cell:{type:"structure",attributes:{allowed:["aria-colindex","aria-colspan","aria-rowindex","aria-rowspan","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["row"],implicit:["td","th"],unsupported:false},checkbox:{type:"widget",attributes:{allowed:["aria-checked","aria-required","aria-readonly","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:['input[type="checkbox"]'],unsupported:false,allowedElements:["button"]},columnheader:{type:"structure",attributes:{allowed:["aria-colindex","aria-colspan","aria-expanded","aria-rowindex","aria-rowspan","aria-required","aria-readonly","aria-selected","aria-sort","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["row"],implicit:["th"],unsupported:false},combobox:{type:"composite",attributes:{allowed:["aria-autocomplete","aria-required","aria-activedescendant","aria-orientation","aria-errormessage"],required:["aria-expanded"]},owned:{all:["listbox","tree","grid","dialog","textbox"]},nameFrom:["author"],context:null,unsupported:false,allowedElements:[{nodeName:"input",properties:{type:["text","search","tel","url","email"]}}]},command:{nameFrom:["author"],type:"abstract",unsupported:false},complementary:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["aside"],unsupported:false,allowedElements:["section"]},composite:{nameFrom:["author"],type:"abstract",unsupported:false},contentinfo:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["footer"],unsupported:false,allowedElements:["section"]},definition:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["dd","dfn"],unsupported:false},dialog:{type:"widget",attributes:{allowed:["aria-expanded","aria-modal","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["dialog"],unsupported:false,allowedElements:["section"]},directory:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:false,allowedElements:["ol","ul"]},document:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["body"],unsupported:false,allowedElements:["article","embed","iframe","object","section","svg"]},"doc-abstract":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-acknowledgments":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-afterword":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-appendix":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-backlink":{type:"link",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:false,allowedElements:[{nodeName:"a",attributes:{href:Bt}}]},"doc-biblioentry":{type:"listitem",attributes:{allowed:["aria-expanded","aria-level","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author"],context:["doc-bibliography"],unsupported:false,allowedElements:["li"]},"doc-bibliography":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:{one:["doc-biblioentry"]},nameFrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-biblioref":{type:"link",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:false,allowedElements:[{nodeName:"a",attributes:{href:Bt}}]},"doc-chapter":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-colophon":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-conclusion":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-cover":{type:"img",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false},"doc-credit":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-credits":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-dedication":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-endnote":{type:"listitem",attributes:{allowed:["aria-expanded","aria-level","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,namefrom:["author"],context:["doc-endnotes"],unsupported:false,allowedElements:["li"]},"doc-endnotes":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:{one:["doc-endnote"]},namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-epigraph":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false},"doc-epilogue":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-errata":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-example":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["aside","section"]},"doc-footnote":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["aside","footer","header"]},"doc-foreword":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-glossary":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:["term","definition"],namefrom:["author"],context:null,unsupported:false,allowedElements:["dl"]},"doc-glossref":{type:"link",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author","contents"],context:null,unsupported:false,allowedElements:[{nodeName:"a",attributes:{href:Bt}}]},"doc-index":{type:"navigation",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["nav","section"]},"doc-introduction":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-noteref":{type:"link",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author","contents"],context:null,unsupported:false,allowedElements:[{nodeName:"a",attributes:{href:Bt}}]},"doc-notice":{type:"note",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-pagebreak":{type:"separator",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["hr"]},"doc-pagelist":{type:"navigation",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["nav","section"]},"doc-part":{type:"landmark",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-preface":{type:"landmark",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-prologue":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-pullquote":{type:"none",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["aside","section"]},"doc-qna":{type:"section",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-subtitle":{type:"sectionhead",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:{nodeName:["h1","h2","h3","h4","h5","h6"]}},"doc-tip":{type:"note",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["aside"]},"doc-toc":{type:"navigation",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["nav","section"]},feed:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:{one:["article"]},nameFrom:["author"],context:null,unsupported:false,allowedElements:["article","aside","section"]},figure:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["figure"],unsupported:false},form:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["form"],unsupported:false},grid:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-colcount","aria-level","aria-multiselectable","aria-readonly","aria-rowcount","aria-errormessage"]},owned:{one:["rowgroup","row"]},nameFrom:["author"],context:null,implicit:["table"],unsupported:false},gridcell:{type:"widget",attributes:{allowed:["aria-colindex","aria-colspan","aria-expanded","aria-rowindex","aria-rowspan","aria-selected","aria-readonly","aria-required","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["row"],implicit:["td","th"],unsupported:false},group:{type:"structure",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["details","optgroup"],unsupported:false,allowedElements:["dl","figcaption","fieldset","figure","footer","header","ol","ul"]},heading:{type:"structure",attributes:{required:["aria-level"],allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["h1","h2","h3","h4","h5","h6"],unsupported:false},img:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["img"],unsupported:false,allowedElements:["embed","iframe","object","svg"]},input:{nameFrom:["author"],type:"abstract",unsupported:false},landmark:{nameFrom:["author"],type:"abstract",unsupported:false},link:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["a[href]","area[href]"],unsupported:false,allowedElements:["button",{nodeName:"input",properties:{type:["image","button"]}}]},list:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:{all:["listitem"]},nameFrom:["author"],context:null,implicit:["ol","ul","dl"],unsupported:false},listbox:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-multiselectable","aria-readonly","aria-required","aria-expanded","aria-orientation","aria-errormessage"]},owned:{all:["option"]},nameFrom:["author"],context:null,implicit:["select"],unsupported:false,allowedElements:["ol","ul"]},listitem:{type:"structure",attributes:{allowed:["aria-level","aria-posinset","aria-setsize","aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["list"],implicit:["li","dt"],unsupported:false},log:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:["section"]},main:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["main"],unsupported:false,allowedElements:["article","section"]},marquee:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:["section"]},math:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["math"],unsupported:false},menu:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-orientation","aria-errormessage"]},owned:{one:["menuitem","menuitemradio","menuitemcheckbox"]},nameFrom:["author"],context:null,implicit:['menu[type="context"]'],unsupported:false,allowedElements:["ol","ul"]},menubar:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-orientation","aria-errormessage"]},owned:{one:["menuitem","menuitemradio","menuitemcheckbox"]},nameFrom:["author"],context:null,unsupported:false,allowedElements:["ol","ul"]},menuitem:{type:"widget",attributes:{allowed:["aria-posinset","aria-setsize","aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["menu","menubar"],implicit:['menuitem[type="command"]'],unsupported:false,allowedElements:["button","li",{nodeName:"iput",properties:{type:["image","button"]}},{nodeName:"a",attributes:{href:Bt}}]},menuitemcheckbox:{type:"widget",attributes:{allowed:["aria-checked","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["menu","menubar"],implicit:['menuitem[type="checkbox"]'],unsupported:false,allowedElements:[{nodeName:["button","li"]},{nodeName:"input",properties:{type:["checkbox","image","button"]}},{nodeName:"a",attributes:{href:Bt}}]},menuitemradio:{type:"widget",attributes:{allowed:["aria-checked","aria-selected","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["menu","menubar"],implicit:['menuitem[type="radio"]'],unsupported:false,allowedElements:[{nodeName:["button","li"]},{nodeName:"input",properties:{type:["image","button","radio"]}},{nodeName:"a",attributes:{href:Bt}}]},navigation:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["nav"],unsupported:false,allowedElements:["section"]},none:{type:"structure",attributes:null,owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:[{nodeName:["article","aside","dl","embed","figcaption","fieldset","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","iframe","li","ol","section","ul"]},{nodeName:"img",attributes:{alt:Bt}}]},note:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:["aside"]},option:{type:"widget",attributes:{allowed:["aria-selected","aria-posinset","aria-setsize","aria-checked","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["listbox"],implicit:["option"],unsupported:false,allowedElements:[{nodeName:["button","li"]},{nodeName:"input",properties:{type:["checkbox","button"]}},{nodeName:"a",attributes:{href:Bt}}]},presentation:{type:"structure",attributes:null,owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:[{nodeName:["article","aside","dl","embed","figcaption","fieldset","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","iframe","li","ol","section","ul"]},{nodeName:"img",attributes:{alt:Bt}}]},progressbar:{type:"widget",attributes:{allowed:["aria-valuetext","aria-valuenow","aria-valuemax","aria-valuemin","aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["progress"],unsupported:false},radio:{type:"widget",attributes:{allowed:["aria-selected","aria-posinset","aria-setsize","aria-required","aria-errormessage","aria-checked"]},owned:null,nameFrom:["author","contents"],context:null,implicit:['input[type="radio"]'],unsupported:false,allowedElements:[{nodeName:["button","li"]},{nodeName:"input",properties:{type:["image","button"]}}]},radiogroup:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-required","aria-expanded","aria-readonly","aria-errormessage","aria-orientation"]},owned:{all:["radio"]},nameFrom:["author"],context:null,unsupported:false,allowedElements:{nodeName:["ol","ul","fieldset"]}},range:{nameFrom:["author"],type:"abstract",unsupported:false},region:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["section[aria-label]","section[aria-labelledby]","section[title]"],unsupported:false,allowedElements:{nodeName:["article","aside"]}},roletype:{type:"abstract",unsupported:false},row:{type:"structure",attributes:{allowed:["aria-activedescendant","aria-colindex","aria-expanded","aria-level","aria-selected","aria-rowindex","aria-errormessage"]},owned:{one:["cell","columnheader","rowheader","gridcell"]},nameFrom:["author","contents"],context:["rowgroup","grid","treegrid","table"],implicit:["tr"],unsupported:false},rowgroup:{type:"structure",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-errormessage"]},owned:{all:["row"]},nameFrom:["author","contents"],context:["grid","table","treegrid"],implicit:["tbody","thead","tfoot"],unsupported:false},rowheader:{type:"structure",attributes:{allowed:["aria-colindex","aria-colspan","aria-expanded","aria-rowindex","aria-rowspan","aria-required","aria-readonly","aria-selected","aria-sort","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["row"],implicit:["th"],unsupported:false},scrollbar:{type:"widget",attributes:{required:["aria-controls","aria-valuenow"],allowed:["aria-valuetext","aria-orientation","aria-errormessage","aria-valuemax","aria-valuemin"]},owned:null,nameFrom:["author"],context:null,unsupported:false},search:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:{nodeName:["aside","form","section"]}},searchbox:{type:"widget",attributes:{allowed:["aria-activedescendant","aria-autocomplete","aria-multiline","aria-readonly","aria-required","aria-placeholder","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:['input[type="search"]'],unsupported:false,allowedElements:{nodeName:"input",properties:{type:"text"}}},section:{nameFrom:["author","contents"],type:"abstract",unsupported:false},sectionhead:{nameFrom:["author","contents"],type:"abstract",unsupported:false},select:{nameFrom:["author"],type:"abstract",unsupported:false},separator:{type:"structure",attributes:{allowed:["aria-expanded","aria-orientation","aria-valuenow","aria-valuemax","aria-valuemin","aria-valuetext","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["hr"],unsupported:false,allowedElements:["li"]},slider:{type:"widget",attributes:{allowed:["aria-valuetext","aria-orientation","aria-readonly","aria-errormessage","aria-valuemax","aria-valuemin"],required:["aria-valuenow"]},owned:null,nameFrom:["author"],context:null,implicit:['input[type="range"]'],unsupported:false},spinbutton:{type:"widget",attributes:{allowed:["aria-valuetext","aria-required","aria-readonly","aria-errormessage","aria-valuemax","aria-valuemin"],required:["aria-valuenow"]},owned:null,nameFrom:["author"],context:null,implicit:['input[type="number"]'],unsupported:false,allowedElements:{nodeName:"input",properties:{type:["text","tel"]}}},status:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["output"],unsupported:false,allowedElements:["section"]},structure:{type:"abstract",unsupported:false},switch:{type:"widget",attributes:{allowed:["aria-errormessage"],required:["aria-checked"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:false,allowedElements:["button",{nodeName:"input",properties:{type:["checkbox","image","button"]}},{nodeName:"a",attributes:{href:Bt}}]},tab:{type:"widget",attributes:{allowed:["aria-selected","aria-expanded","aria-setsize","aria-posinset","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["tablist"],unsupported:false,allowedElements:[{nodeName:["button","h1","h2","h3","h4","h5","h6","li"]},{nodeName:"input",properties:{type:"button"}},{nodeName:"a",attributes:{href:Bt}}]},table:{type:"structure",attributes:{allowed:["aria-colcount","aria-rowcount","aria-errormessage"]},owned:{one:["rowgroup","row"]},nameFrom:["author","contents"],context:null,implicit:["table"],unsupported:false},tablist:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-level","aria-multiselectable","aria-orientation","aria-errormessage"]},owned:{all:["tab"]},nameFrom:["author"],context:null,unsupported:false,allowedElements:["ol","ul"]},tabpanel:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:["section"]},term:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["dt"],unsupported:false},textbox:{type:"widget",attributes:{allowed:["aria-activedescendant","aria-autocomplete","aria-multiline","aria-readonly","aria-required","aria-placeholder","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:['input[type="text"]','input[type="email"]','input[type="password"]','input[type="tel"]','input[type="url"]',"input:not([type])","textarea"],unsupported:false},timer:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:false},toolbar:{type:"structure",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-orientation","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:['menu[type="toolbar"]'],unsupported:false,allowedElements:["ol","ul"]},tooltip:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:false},tree:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-multiselectable","aria-required","aria-expanded","aria-orientation","aria-errormessage"]},owned:{all:["treeitem"]},nameFrom:["author"],context:null,unsupported:false,allowedElements:["ol","ul"]},treegrid:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-colcount","aria-expanded","aria-level","aria-multiselectable","aria-readonly","aria-required","aria-rowcount","aria-orientation","aria-errormessage"]},owned:{one:["rowgroup","row"]},nameFrom:["author"],context:null,unsupported:false},treeitem:{type:"widget",attributes:{allowed:["aria-checked","aria-selected","aria-expanded","aria-level","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["group","tree"],unsupported:false,allowedElements:["li",{nodeName:"a",attributes:{href:Bt}}]},widget:{type:"abstract",unsupported:false},window:{nameFrom:["author"],type:"abstract",unsupported:false}},jr.implicitHtmlRole=al,jr.elementsAllowedNoRole=[{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"]},{nodeName:"area",attributes:{href:Bt}},{nodeName:"input",properties:{type:["color","data","datatime","file","hidden","month","number","password","range","reset","submit","time","week"]}},{nodeName:"link",attributes:{href:Bt}},{nodeName:"menu",attributes:{type:"context"}},{nodeName:"menuitem",attributes:{type:["command","checkbox","radio"]}},{nodeName:"select",condition:function(t){return t instanceof m.AbstractVirtualNode||(t=m.utils.getNodeFromTree(t)),Number(t.attr("size"))>1},properties:{multiple:true}},{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"]}],jr.elementsAllowedAnyRole=[{nodeName:"a",attributes:{href:Vm}},{nodeName:"img",attributes:{alt:Vm}},{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"]}],jr.evaluateRoleForElement={A:function(t){var r=t.node,n=t.out;return r.namespaceURI==="http://www.w3.org/2000/svg"?true:r.href.length?n:true},AREA:function(t){var r=t.node;return !r.href},BUTTON:function(t){var r=t.node,n=t.role,a=t.out;return r.getAttribute("type")==="menu"?n==="menuitem":a},IMG:function(t){var r=t.node,n=t.role,a=t.out;switch(r.alt){case null:return a;case "":return n==="presentation"||n==="none";default:return n!=="presentation"&&n!=="none"}},INPUT:function(t){var r=t.node,n=t.role,a=t.out;switch(r.type){case "button":case "image":return a;case "checkbox":return n==="button"&&r.hasAttribute("aria-pressed")?true:a;case "radio":return n==="menuitemradio";case "text":return n==="combobox"||n==="searchbox"||n==="spinbutton";case "tel":return n==="combobox"||n==="spinbutton";case "url":case "search":case "email":return n==="combobox";default:return false}},LI:function(t){var r=t.node,n=t.out,a=m.utils.matchesSelector(r,"ol li, ul li");return a?n:true},MENU:function(t){var r=t.node;return r.getAttribute("type")!=="context"},OPTION:function(t){var r=t.node,n=m.utils.matchesSelector(r,"select > option, datalist > option, optgroup > option");return !n},SELECT:function(t){var r=t.node,n=t.role;return !r.multiple&&r.size<=1&&n==="menu"},SVG:function(t){var r=t.node,n=t.out;return r.parentNode&&r.parentNode.namespaceURI==="http://www.w3.org/2000/svg"?true:n}},jr.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"]};var jm=jr;function hE(e){var t=null,r=jm.role[e];return r&&r.implicit&&(t=Nr(r.implicit)),t}var gE=hE;function vE(e){return !!Gl(e).length}var Ao=vE;function Ul(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.popupRoles,n=Ye(e);if(r??(r=Wf["aria-haspopup"].values),!r.includes(n))return false;var a=bE(e);if($m(a))return true;var i=e.props.id;if(!i)return false;if(!e.actualNode)throw new Error("Unable to determine combobox popup without an actualNode");var o=wa(e.actualNode),s=o.querySelectorAll('[aria-owns~="'.concat(i,`"][role~="combobox"]:not(select),
|
|
377
|
+
[aria-controls~="`).concat(i,'"][role~="combobox"]:not(select)'));return Array.from(s).some($m)}var $m=function(t){return t&&Ye(t)==="combobox"};function bE(e){for(;e=e.parent;)if(Ye(e,{noPresentational:true})!==null)return e;return null}function yE(e){return e=Ke(e),ro(e)}var zm=yE;function wE(e){var t=it.ariaRoles[e];return !t||!Array.isArray(t.requiredAttrs)?[]:De(t.requiredAttrs)}var Gm=wE;function xE(e){var t=it.ariaRoles[e];return !t||!Array.isArray(t.requiredContext)?null:De(t.requiredContext)}var Xl=xE;function DE(e){var t=it.ariaRoles[e];return !t||!Array.isArray(t.requiredOwned)?null:De(t.requiredOwned)}var Yl=DE;function AE(e,t){e=e instanceof Mt?e:Ke(e);var r,n,a=e.attr(t),i=it.ariaAttrs[t];if(!i||i.allowEmpty&&(!a||a.trim()===""))return true;switch(i.type){case "boolean":return ["true","false"].includes(a.toLowerCase());case "nmtoken":return typeof a=="string"&&i.values.includes(a.toLowerCase());case "nmtokens":return n=jt(a),n.reduce(function(l,u){return l&&i.values.includes(u)},n.length!==0);case "idref":try{var o=qt(e.actualNode);return !!(a&&o.getElementById(a))}catch{throw new TypeError("Cannot resolve id references for partial DOM")}case "idrefs":return _r(e,t).some(function(l){return !!l});case "string":return a.trim()!=="";case "decimal":return r=a.match(/^[-+]?([0-9]*)\.?([0-9]*)$/),!!(r&&(r[1]||r[2]));case "int":var s=typeof i.minValue<"u"?i.minValue:-1/0;return /^[-+]?[0-9]+$/.test(a)&&parseInt(a)>=s}}var Wm=AE;function _E(e){var t=it.ariaAttrs[e];return !!t}var _o=_E;function EE(e){var t=$l(e),r=this,n=[];t.forEach(function(s){var l=s.getAttribute("headers");l&&(n=n.concat(l.split(/\s+/)));var u=s.getAttribute("aria-labelledby");u&&(n=n.concat(u.split(/\s+/)));});var a=t.filter(function(s){return Ve(s.textContent)===""?false:s.nodeName.toUpperCase()==="TH"||["rowheader","columnheader"].indexOf(Qe(s))!==-1}),i=Hr(e),o=true;return a.forEach(function(s){if(!(s.getAttribute("id")&&n.includes(s.getAttribute("id")))){var l=Qi(s,i),u=false;Pn(s)&&(u=zl("down",l,i).find(function(c){return !Pn(c)&&xo(c,i).includes(s)})),!u&&Nn(s)&&(u=zl("right",l,i).find(function(c){return !Nn(c)&&xo(c,i).includes(s)})),u||r.relatedNodes(s),o=o&&u;}}),o?true:void 0}var CE=EE,Na=["cell-header-not-in-table","cell-header-not-th","header-refs-self","empty-hdrs"],Um=Na[0],Xm=Na[1],Ym=Na[2],Kl=Na[3];function SE(e){for(var t=[],r={},n=0;n<e.rows.length;n++)for(var a=e.rows[n],i=0;i<a.cells.length;i++){var o=a.cells[i];t.push(o);var s=o.getAttribute("id");s&&(r[s]=Ye(o));}var l=B(B(B(B({},Ym,new Set),Um,new Set),Xm,new Set),Kl,new Set);t.forEach(function(g){if(!(!g.hasAttribute("headers")||!wt(g))){var w=g.getAttribute("headers").trim();if(!w){l[Kl].add(g);return}var k=g.getAttribute("id"),P=jt(w);P.forEach(function(j){k&&j===k?l[Ym].add(g):r[j]?["columnheader","rowheader"].includes(r[j])||l[Xm].add(g):l[Um].add(g);});}});var u=ot(Na),c;try{for(u.s();!(c=u.n()).done;){var f=c.value;if(l[f].size>0)return this.relatedNodes(De(l[f])),f===Kl?void 0:(this.data({messageKey:f}),!1)}}catch(g){u.e(g);}finally{u.f();}return true}function kE(e){var t=[],r=$l(e),n=Hr(e);return r.forEach(function(a){if(io(a)&&Mm(a)&&!zm(a)){var i=xo(a,n).some(function(o){return o!==null&&!!io(o)});i||t.push(a);}}),t.length?(this.relatedNodes(t),false):true}var TE=kE;function RE(e,t){var r=e.getAttribute("scope").toLowerCase();return t.values.indexOf(r)!==-1}var FE=RE,IE=LE;function LE(e,t,r){if(r.children!==void 0){var n=r.attr("summary"),a=r.children.find(ME),i=a?Ve(nn(a)):false;return !i||!n?false:Ve(n).toLowerCase()===Ve(i).toLowerCase()}}function ME(e){return e.props.nodeName==="caption"}function OE(e){return Np(v)?e.nodeName.toUpperCase()==="TH":true}var PE=OE;function NE(e){var t=Hr(e),r=t[0];return t.length<=1||r.length<=1||e.rows.length<=1?true:r.reduce(function(n,a,i){return n||a!==r[i+1]&&r[i+1]!==void 0},false)}var qE=NE;function BE(e,t,r){if(r.children){var n=r.children.find(function(i){var o=i.props;return o.nodeName==="title"});if(!n)return this.data({messageKey:"noTitle"}),false;try{var a=nn(n,{includeHidden:!0}).trim();if(a==="")return this.data({messageKey:"emptyTitle"}),!1}catch{return}return true}}var HE=BE,Km={};fr(Km,{getAriaRolesByType:function(){return Bn},getAriaRolesSupportingNameFromContent:function(){return Wl},getElementSpec:function(){return rn},getElementsByContentType:function(){return tl},getGlobalAriaAttrs:function(){return tn},implicitHtmlRoles:function(){return al}});function VE(e,t,r){var n=Qe(r);if(["presentation","none"].includes(n)&&["iframe","frame"].includes(r.props.nodeName)&&r.hasAttr("title"))return this.data({messageKey:"iframe",nodeName:r.props.nodeName}),false;var a=Ye(r);if(["presentation","none"].includes(a))return this.data({role:a}),true;if(!["presentation","none"].includes(n))return false;var i=tn().some(function(l){return r.hasAttr(l)}),o=St(r),s;return i&&!o?s="globalAria":!i&&o?s="focusable":s="both",this.data({messageKey:s,role:a}),false}function jE(e,t,r){var n=r.props.nodeName,a=(r.attr("type")||"").toLowerCase(),i=r.attr("value");return i&&this.data({messageKey:"has-label"}),n==="input"&&["submit","reset"].includes(a)?i===null:false}var $E=jE;function zE(e){return Zt(e)}var GE=zE;function WE(e,t){var r=t.cssProperty,n=t.absoluteValues,a=t.minValue,i=t.maxValue,o=t.normalValue,s=o===void 0?0:o,l=t.noImportant,u=t.multiLineOnly;if(!l&&e.style.getPropertyPriority(r)!=="important"||u&&!Bp(e))return true;var c={};typeof a=="number"&&(c.minValue=a),typeof i=="number"&&(c.maxValue=i);var f=e.style.getPropertyValue(r);if(["inherit","unset","revert","revert-layer"].includes(f))return this.data(ve({value:f},c)),true;var g=UE(e,{absoluteValues:n,cssProperty:r,normalValue:s});if(this.data(ve({value:g},c)),typeof g=="number")return (typeof a!="number"||g>=a)&&(typeof i!="number"||g<=i)}function UE(e,t){var r=t.cssProperty,n=t.absoluteValues,a=t.normalValue,i=d.getComputedStyle(e),o=i.getPropertyValue(r);if(o==="normal")return a;var s=parseFloat(o);if(n)return s;var l=parseFloat(i.getPropertyValue("font-size")),u=Math.round(s/l*100)/100;return isNaN(u)?o:u}function XE(e,t,r){var n=r.props.nodeName;return ["img","input","area"].includes(n)?r.hasAttr("alt"):false}var YE=XE;function KE(){}var JE=KE;function ZE(){var e=v.title;return !!Ve(e)}var QE=ZE;function eC(e,t){var r=t.cssProperties.filter(function(n){if(e.style.getPropertyPriority(n)==="important")return n});return r.length>0?(this.data(r),false):true}var tC=eC;function rC(e,t,r){try{return !!Ve(Ea(r))}catch{return}}var nC=rC;function aC(e,t,r){return !!Ve(Ca(r))}var iC=aC;function oC(e){var t=e.getAttribute("id").trim();if(!t)return true;var r=qt(e),n=Array.from(r.querySelectorAll('[id="'.concat(At(t),'"]'))).filter(function(a){return a!==e});return n.length&&this.relatedNodes(n),this.data(t),n.length===0}var sC=oC;function lC(e){var t=[];return e.filter(function(r){return t.indexOf(r.data)===-1?(t.push(r.data),true):false})}var uC=lC;function cC(e,t,r){var n=Ve(r.attr("title")).toLowerCase();return this.data(n),true}var dC=cC;function fC(e){var t={};return e.forEach(function(r){t[r.data]=t[r.data]!==void 0?++t[r.data]:0;}),e.forEach(function(r){r.result=!!t[r.data];}),e}var pC=fC;function mC(e){var t=Ks(e,"href");return t?wt(t)||void 0:false}var hC=mC,gC=["alert","log","status"];function vC(e,t,r){this.data({isIframe:["iframe","frame"].includes(r.props.nodeName)});var n=Ue.get("regionlessNodes",function(){return bC(t)});return !n.includes(r)}function bC(e){var t=Jm(m._tree[0],e).map(function(r){for(;r.parent&&!r.parent._hasRegionDescendant&&r.parent.actualNode!==v.body;)r=r.parent;return r}).filter(function(r,n,a){return a.indexOf(r)===n});return t}function Jm(e,t){var r=e.actualNode;if(Ye(e)==="button"||wC(e,t)||["iframe","frame"].includes(e.props.nodeName)||wl(e.actualNode)&&Ks(e.actualNode,"href")||!wt(r)){for(var n=e;n;)n._hasRegionDescendant=true,n=n.parent;return ["iframe","frame"].includes(e.props.nodeName)?[e]:[]}else return r!==v.body&&io(r,true)&&!yC(e)?[e]:e.children.filter(function(a){var i=a.actualNode;return i.nodeType===1}).map(function(a){return Jm(a,t)}).reduce(function(a,i){return a.concat(i)},[])}function yC(e){return ["none","presentation"].includes(Ye(e))&&!ao(e)}function wC(e,t){var r=e.actualNode,n=Ye(e),a=(r.getAttribute("aria-live")||"").toLowerCase().trim(),i=Bn("landmark");return !!(["assertive","polite"].includes(a)||gC.includes(n)||i.includes(n)||t.regionMatcher&&ka(e,t.regionMatcher))}function xC(e){var t=e.filter(function(r){return r.data.isIframe});return e.forEach(function(r){if(!(r.result||r.node.ancestry.length===1)){var n=r.node.ancestry.slice(0,-1),a=ot(t),i;try{for(a.s();!(i=a.n()).done;){var o=i.value;if(Ol(n,o.node.ancestry)){r.result=o.result;break}}}catch(s){a.e(s);}finally{a.f();}}}),t.forEach(function(r){r.result||(r.result=true);}),e}var DC=xC;function AC(e){switch(e){case "lighter":return 100;case "normal":return 400;case "bold":return 700;case "bolder":return 900}return e=parseInt(e),isNaN(e)?400:e}function _C(e){for(var t=e,r=e.textContent.trim(),n=r;n===r&&t!==void 0;){var a=-1;if(e=t,e.children.length===0)return e;do a++,n=e.children[a].textContent.trim();while(n===""&&a+1<e.children.length);t=e.children[a];}return e}function Jl(e){var t=d.getComputedStyle(_C(e));return {fontWeight:AC(t.getPropertyValue("font-weight")),fontSize:parseInt(t.getPropertyValue("font-size")),isItalic:t.getPropertyValue("font-style")==="italic"}}function Zm(e,t,r){return r.reduce(function(n,a){return n||(!a.size||e.fontSize/a.size>t.fontSize)&&(!a.weight||e.fontWeight-a.weight>t.fontWeight)&&(!a.italic||e.isItalic&&!t.isItalic)},false)}function EC(e,t,r){var n=Array.from(e.parentNode.children),a=n.indexOf(e);t=t||{};var i=t.margins||[],o=n.slice(a+1).find(function(j){return j.nodeName.toUpperCase()==="P"}),s=n.slice(0,a).reverse().find(function(j){return j.nodeName.toUpperCase()==="P"}),l=Jl(e),u=o?Jl(o):null,c=s?Jl(s):null,f=t.passLength,g=t.failLength,w=e.textContent.trim().length,k=o?.textContent.trim().length;if(w>k*f||!u||!Zm(l,u,i))return true;var P=Ln(r,"blockquote");if(!(P&&P.nodeName.toUpperCase()==="BLOCKQUOTE")&&!(c&&!Zm(l,c,i))&&!(w>k*g))return false}var CC=EC,SC=/[;,\s]/,kC=/^[0-9.]+$/;function TC(e,t,r){var n=t||{},a=n.minDelay,i=n.maxDelay,o=(r.attr("content")||"").trim(),s=o.split(SC),l=Ae(s,1),u=l[0];if(!u.match(kC))return true;var c=parseFloat(u);return this.data({redirectDelay:c}),typeof a=="number"&&c<=t.minDelay||typeof i=="number"&&c>t.maxDelay}function RC(e,t,r){var n=tr(r,"a[href]");return n.some(function(a){return /^#[^/!]/.test(a.attr("href"))})}var FC=RC,Qm={};fr(Qm,{aria:function(){return Pm},color:function(){return e1},dom:function(){return qs},forms:function(){return f1},matches:function(){return ka},math:function(){return Cf},standards:function(){return Km},table:function(){return Im},text:function(){return _a},utils:function(){return Yo}});var e1={};fr(e1,{Color:function(){return xt},centerPointOfRect:function(){return LC},elementHasImage:function(){return oo},elementIsDistinct:function(){return r1},filteredRectStack:function(){return NC},flattenColors:function(){return Rr},flattenShadowColors:function(){return Ql},getBackgroundColor:function(){return Ba},getBackgroundStack:function(){return eu},getContrast:function(){return Hn},getForegroundColor:function(){return So},getOwnBackgroundColor:function(){return wn},getRectStack:function(){return n1},getStackingContext:function(){return ru},getStrokeColorsFromShadows:function(){return tu},getTextShadowColors:function(){return Co},hasValidContrastRatio:function(){return iS},incompleteData:function(){return gt},parseTextShadows:function(){return o1},stackingContextToColor:function(){return qa}});function IC(e){if(!(e.left>d.innerWidth)&&!(e.top>d.innerHeight)){var t=Math.min(Math.ceil(e.left+e.width/2),d.innerWidth-1),r=Math.min(Math.ceil(e.top+e.height/2),d.innerHeight-1);return {x:t,y:r}}}var LC=IC;function t1(e){return e.getPropertyValue("font-family").split(/[,;]/g).map(function(t){return t.trim().toLowerCase()})}function MC(e,t){var r=d.getComputedStyle(e);if(r.getPropertyValue("background-image")!=="none")return true;var n=["border-bottom","border-top","outline"].reduce(function(s,l){var u=new xt;return u.parseString(r.getPropertyValue(l+"-color")),s||r.getPropertyValue(l+"-style")!=="none"&&parseFloat(r.getPropertyValue(l+"-width"))>0&&u.alpha!==0},false);if(n)return true;var a=d.getComputedStyle(t);if(t1(r)[0]!==t1(a)[0])return true;var i=["text-decoration-line","text-decoration-style","font-weight","font-style","font-size"].reduce(function(s,l){return s||r.getPropertyValue(l)!==a.getPropertyValue(l)},false),o=r.getPropertyValue("text-decoration");return o.split(" ").length<3&&(i=i||o!==a.getPropertyValue("text-decoration")),i}var r1=MC;function OC(e){var t=$f(e),r=ml(e);return !r||r.length<=1?[t]:r.some(function(n){return n===void 0})?null:(r.splice(0,0,t),r)}var n1=OC;function PC(e){var t=n1(e);if(t&&t.length===1)return t[0];if(t&&t.length>1){var r=t.shift(),n;return t.forEach(function(a,i){if(i!==0){var o=t[i-1],s=t[i];n=o.every(function(l,u){return l===s[u]})||r.includes(e);}}),n?t[0]:(gt.set("bgColor","elmPartiallyObscuring"),null)}return gt.set("bgColor","outsideViewport"),null}var NC=PC,qC=["hue","saturation","color","luminosity"],a1={normal:function(t,r){return r},multiply:function(t,r){return r*t},screen:function(t,r){return t+r-t*r},overlay:function(t,r){return this["hard-light"](r,t)},darken:function(t,r){return Math.min(t,r)},lighten:function(t,r){return Math.max(t,r)},"color-dodge":function(t,r){return t===0?0:r===1?1:Math.min(1,t/(1-r))},"color-burn":function(t,r){return t===1?1:r===0?0:1-Math.min(1,(1-t)/r)},"hard-light":function(t,r){return r<=.5?this.multiply(t,2*r):this.screen(t,2*r-1)},"soft-light":function(t,r){if(r<=.5)return t-(1-2*r)*t*(1-t);var n=t<=.25?((16*t-12)*t+4)*t:Math.sqrt(t);return t+(2*r-1)*(n-t)},difference:function(t,r){return Math.abs(t-r)},exclusion:function(t,r){return t+r-2*t*r},hue:function(t,r){return r.setSaturation(t.getSaturation()).setLuminosity(t.getLuminosity())},saturation:function(t,r){return t.setSaturation(r.getSaturation()).setLuminosity(t.getLuminosity())},color:function(t,r){return r.setLuminosity(t.getLuminosity())},luminosity:function(t,r){return t.setLuminosity(r.getLuminosity())}};function Rr(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"normal",n=HC(t,e,r),a=Zl(e.red,e.alpha,t.red,t.alpha,n.r*255),i=Zl(e.green,e.alpha,t.green,t.alpha,n.g*255),o=Zl(e.blue,e.alpha,t.blue,t.alpha,n.b*255),s=BC(e.alpha+t.alpha*(1-e.alpha),0,1);if(s===0)return new xt(a,i,o,s);var l=Math.round(a/s),u=Math.round(i/s),c=Math.round(o/s);return new xt(l,u,c,s)}function Zl(e,t,r,n,a){return t*(1-n)*e+t*n*a+(1-t)*n*r}function BC(e,t,r){return Math.min(Math.max(t,e),r)}function HC(e,t,r){if(qC.includes(r))return a1[r](e,t);var n=new xt;return ["r","g","b"].forEach(function(a){n[a]=a1[r](e[a],t[a]);}),n}function Ql(e,t){var r=e.alpha,n=(1-r)*t.red+r*e.red,a=(1-r)*t.green+r*e.green,i=(1-r)*t.blue+r*e.blue,o=e.alpha+t.alpha*(1-e.alpha);return new xt(n,a,i,o)}function eu(e){for(var t=ml(e).map(function(a){return a=Hp(a,e),a=VC(a),a}),r=0;r<t.length;r++){var n=t[r];if(n[0]!==e)return gt.set("bgColor","bgOverlap"),null;if(r!==0&&!jC(n,t[0]))return gt.set("bgColor","elmPartiallyObscuring"),null}return t[0]||null}function VC(e){var t=e.indexOf(v.body),r=e,n=wn(d.getComputedStyle(v.documentElement));if(t>1&&n.alpha===0&&!oo(v.documentElement)){t>1&&(r.splice(t,1),r.push(v.body));var a=r.indexOf(v.documentElement);a>0&&(r.splice(a,1),r.push(v.documentElement));}return r}function jC(e,t){if(e===t)return true;if(e===null||t===null||e.length!==t.length)return false;for(var r=0;r<e.length;++r)if(e[r]!==t[r])return false;return true}var $C=.54,Eo=.5,zC=1.5,i1=["top","right","bottom","left"];function tu(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.ignoreEdgeCount,n=r===void 0?false:r,a=GC(e),i=Object.entries(a).map(function(o){var s=Ae(o,2),l=s[0],u=s[1],c=i1.filter(function(f){return u[f].length!==0}).length;return {colorStr:l,sides:u,edgeCount:c}});return !n&&i.some(function(o){var s=o.edgeCount;return s>1&&s<4})?null:i.map(WC).filter(function(o){return o!==null})}function GC(e){var t={},r=ot(e),n;try{for(r.s();!(n=r.n()).done;){var a,i=n.value,o=i.colorStr,s=i.pixels;(a=t[o])!==null&&a!==void 0||(t[o]={top:[],right:[],bottom:[],left:[]});var l=t[o],u=Ae(s,2),c=u[0],f=u[1];c>Eo?l.right.push(c):-c>Eo&&l.left.push(-c),f>Eo?l.bottom.push(f):-f>Eo&&l.top.push(-f);}}catch(g){r.e(g);}finally{r.f();}return t}function WC(e){var t=e.colorStr,r=e.sides,n=e.edgeCount;if(n!==4)return null;var a=new xt;a.parseString(t);var i=0,o=true;return i1.forEach(function(s){i+=r[s].length/4,o&&(o=r[s].every(function(l){return l>zC}));}),o||(a.alpha=1-Math.pow($C,i)),a}function o1(e){var t={pixels:[]},r=e.trim(),n=[t];if(!r)return [];for(;r;){var a=r.match(/^[a-z]+(\([^)]+\))?/i)||r.match(/^#[0-9a-f]+/i),i=r.match(/^([0-9.-]+)px/i)||r.match(/^(0)/);if(a)at(!t.colorStr,"Multiple colors identified in text-shadow: ".concat(e)),r=r.replace(a[0],"").trim(),t.colorStr=a[0];else if(i){at(t.pixels.length<3,"Too many pixel units in text-shadow: ".concat(e)),r=r.replace(i[0],"").trim();var o=parseFloat((i[1][0]==="."?"0":"")+i[1]);t.pixels.push(o);}else if(r[0]===",")at(t.pixels.length>=2,"Missing pixel value in text-shadow: ".concat(e)),t={pixels:[]},n.push(t),r=r.substr(1).trim();else throw new Error("Unable to process text-shadows: ".concat(r))}return n.forEach(function(s){var l=s.pixels;l.length===2&&l.push(0);}),n}function Co(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.minRatio,n=t.maxRatio,a=t.ignoreEdgeCount,i=[],o=d.getComputedStyle(e),s=o.getPropertyValue("text-shadow");if(s==="none")return i;var l=o.getPropertyValue("font-size"),u=parseInt(l);at(isNaN(u)===false,"Unable to determine font-size value ".concat(l));var c=[],f=o1(s),g=ot(f),w;try{for(g.s();!(w=g.n()).done;){var k=w.value,P=k.colorStr||o.getPropertyValue("color"),j=Ae(k.pixels,3),$=j[0],G=j[1],Y=j[2],K=Y===void 0?0:Y;if(!(n&&K>=u*n)){if(r&&K<u*r){c.push({colorStr:P,pixels:k.pixels});continue}if(c.length>0){var Z=tu(c,{ignoreEdgeCount:a});if(Z===null)return null;i.push.apply(i,De(Z)),c.splice(0,c.length);}var re=UC({colorStr:P,offsetX:$,offsetY:G,blurRadius:K,fontSize:u});i.push(re);}}}catch(fe){g.e(fe);}finally{g.f();}if(c.length>0){var se=tu(c,{ignoreEdgeCount:a});if(se===null)return null;i.push.apply(i,De(se));}return i}function UC(e){var t=e.colorStr,r=e.offsetX,n=e.offsetY,a=e.blurRadius,i=e.fontSize;if(r>a||n>a)return new xt(0,0,0,0);var o=new xt;return o.parseString(t),o.alpha*=XC(a,i),o}function XC(e,t){if(e===0)return 1;var r=e/t;return .185/(r+.4)}function ru(e,t){var r=Ke(e);if(r._stackingContext)return r._stackingContext;var n=[],a=new Map;return t=t??eu(e),t.forEach(function(i){var o,s=Ke(i),l=JC(s),u=s._stackingOrder.filter(function(g){var w=g.vNode;return !!w});u.forEach(function(g,w){var k,P=g.vNode,j=(k=u[w-1])===null||k===void 0?void 0:k.vNode,$=l1(a,P,j);w===0&&!a.get(P)&&n.unshift($),a.set(P,$);});var c=(o=u[u.length-1])===null||o===void 0?void 0:o.vNode,f=l1(a,s,c);u.length||n.unshift(f),f.bgColor=l;}),r._stackingContext=n,n}function qa(e){var t;if(!((t=e.descendants)!==null&&t!==void 0&&t.length)){var r=e.bgColor;return r.alpha*=e.opacity,{color:r,blendMode:e.blendMode}}var n=e.descendants.reduce(YC,s1()),a=Rr(n,e.bgColor,e.descendants[0].blendMode);return a.alpha*=e.opacity,{color:a,blendMode:e.blendMode}}function YC(e,t){var r;e instanceof xt?r=e:r=qa(e).color;var n=qa(t).color;return Rr(n,r,t.blendMode)}function s1(e,t){var r;return {vNode:e,ancestor:t,opacity:parseFloat((r=e?.getComputedStylePropertyValue("opacity"))!==null&&r!==void 0?r:1),bgColor:new xt(0,0,0,0),blendMode:KC(e?.getComputedStylePropertyValue("mix-blend-mode")),descendants:[]}}function KC(e){return e||void 0}function l1(e,t,r){var n,a=e.get(r),i=(n=e.get(t))!==null&&n!==void 0?n:s1(t,a);return a&&r!==t&&!a.descendants.includes(i)&&a.descendants.unshift(i),i}function JC(e){var t=new xt;return t.parseString(e.getComputedStylePropertyValue("background-color")),t}function Ba(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:.1,n=Ke(e),a=n._cache.getBackgroundColor;if(a)return t.push.apply(t,De(a.bgElms)),gt.set("bgColor",a.incompleteData),a.bgColor;var i=ZC(e,t,r);return n._cache.getBackgroundColor={bgColor:i,bgElms:t,incompleteData:gt.get("bgColor")},i}function ZC(e,t,r){var n,a,i=eu(e);if(!i)return null;var o=pl(e),s=(n=Co(e,{minRatio:r,ignoreEdgeCount:true}))!==null&&n!==void 0?n:[];s.length&&(s=[{color:s.reduce(Ql)}]);for(var l=0;l<i.length;l++){var u=i[l],c=d.getComputedStyle(u);if(oo(u,c))return t.push(u),null;var f=void 0;try{if(f=wn(c),f.alpha===0)continue}catch(P){if(P&>.get("colorParse"))return null;throw P}if(c.getPropertyValue("display")!=="inline"&&!u1(u,o))return t.push(u),gt.set("bgColor","elmPartiallyObscured"),null;if(t.push(u),f.alpha===1)break}var g=ru(e,i);s=g.map(qa).concat(s);var w=QC(e,i.includes(v.body));if((a=s).unshift.apply(a,De(w)),s.length===0)return new xt(255,255,255,1);var k=s.reduce(function(P,j){return Rr(j.color,P.color instanceof xt?P.color:P,j.blendMode)});return Rr(k.color instanceof xt?k.color:k,new xt(255,255,255,1))}function u1(e,t){t=Array.isArray(t)?t:[t];var r=e.getBoundingClientRect(),n=r.right,a=r.bottom,i=d.getComputedStyle(e),o=i.getPropertyValue("overflow"),s=parseInt(i.getPropertyValue("padding-left"),10),l=parseInt(i.getPropertyValue("padding-right"),10),u=parseInt(i.getPropertyValue("padding-top"),10),c=parseInt(i.getPropertyValue("padding-bottom"),10);return (["scroll","auto"].includes(o)||e instanceof d.HTMLHtmlElement)&&(n=r.left+e.scrollWidth+s+l,a=r.top+e.scrollHeight+u+c),t.every(function(f){return f.top>=r.top&&f.bottom<=a&&f.left>=r.left&&f.right<=n})}function c1(e){return e||void 0}function QC(e,t){var r=[];if(!t){var n=v.documentElement,a=v.body,i=d.getComputedStyle(n),o=d.getComputedStyle(a),s=wn(i),l=wn(o),u=l.alpha!==0&&u1(a,e.getBoundingClientRect());(l.alpha!==0&&s.alpha===0||u&&l.alpha!==1)&&r.unshift({color:l,blendMode:c1(o.getPropertyValue("mix-blend-mode"))}),s.alpha!==0&&(!u||u&&l.alpha!==1)&&r.unshift({color:s,blendMode:c1(i.getPropertyValue("mix-blend-mode"))});}return r}function eS(e,t){if(!t||!e)return null;t.alpha<1&&(t=Rr(t,e));var r=e.getRelativeLuminance(),n=t.getRelativeLuminance();return (Math.max(n,r)+.05)/(Math.min(n,r)+.05)}var Hn=eS;function So(e,t,r){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},a=d.getComputedStyle(e),i=[function(){return rS(a,n)},function(){return tS(a)},function(){return Co(e,{minRatio:0})}],o=[];try{for(var s=0,l=i;s<l.length;s++){var u=l[s],c=u();if(c&&(o=o.concat(c),c.alpha===1))break}}catch(P){if(P&>.get("colorParse"))return null;throw P}var f=o.reduce(function(P,j){return Rr(P,j)});if(r??(r=Ba(e,[])),r===null){var g=gt.get("bgColor");return gt.set("fgColor",g),null}var w=ru(e),k=d1(w,e);return Rr(nS(f,k,w),new xt(255,255,255,1))}function tS(e){return new xt().parseString(e.getPropertyValue("-webkit-text-fill-color")||e.getPropertyValue("color"))}function rS(e,t){var r=t.textStrokeEmMin,n=r===void 0?0:r,a=parseFloat(e.getPropertyValue("-webkit-text-stroke-width"));if(a===0)return null;var i=e.getPropertyValue("font-size"),o=a/parseFloat(i);if(isNaN(o)||o<n)return null;var s=e.getPropertyValue("-webkit-text-stroke-color");return new xt().parseString(s)}function nS(e,t,r){for(;t;){var n;if(t.opacity===1&&t.ancestor){t=t.ancestor;continue}e.alpha*=t.opacity;var a=((n=t.ancestor)===null||n===void 0?void 0:n.descendants)||r;t.opacity!==1&&(a=a.slice(0,a.indexOf(t)));var i=a.map(qa);if(!i.length){t=t.ancestor;continue}var o=i.reduce(function(s,l){return Rr(l.color,s.color instanceof xt?s.color:s)},{color:new xt(0,0,0,0),blendMode:"normal"});e=Rr(e,o),t=t.ancestor;}return e}function d1(e,t){var r=ot(e),n;try{for(r.s();!(n=r.n()).done;){var a,i=n.value;if(((a=i.vNode)===null||a===void 0?void 0:a.actualNode)===t)return i;var o=d1(i.descendants,t);if(o)return o}}catch(s){r.e(s);}finally{r.f();}}function aS(e,t,r,n){var a=Hn(e,t),i=n&&Math.ceil(r*72)/96<14||!n&&Math.ceil(r*72)/96<18,o=i?4.5:3;return {isValid:a>o,contrastRatio:a,expectedContrastRatio:o}}var iS=aS,f1={};fr(f1,{isAriaCombobox:function(){return bp},isAriaListbox:function(){return vp},isAriaRange:function(){return yp},isAriaTextbox:function(){return gp},isDisabled:function(){return Ha},isNativeSelect:function(){return hp},isNativeTextbox:function(){return mp}});var oS=["fieldset","button","select","input","textarea"];function p1(e){var t=e._isDisabled;if(typeof t=="boolean")return t;var r=e.props.nodeName,n=e.attr("aria-disabled");return oS.includes(r)&&e.hasAttr("disabled")?t=true:n?t=n.toLowerCase()==="true":e.parent?t=p1(e.parent):t=false,e._isDisabled=t,t}var Ha=p1;function sS(e,t,r){var n=_a.accessibleTextVirtual(r),a=_a.sanitize(_a.removeUnicode(n,{emoji:true,nonBmp:true,punctuations:true})).toLowerCase();if(a){var i={name:a,urlProps:qs.urlPropsFromAttribute(e,"href")};return this.data(i),this.relatedNodes([e]),true}}var lS=sS;function m1(e,t){if(!e||!t)return false;var r=Object.getOwnPropertyNames(e),n=Object.getOwnPropertyNames(t);if(r.length!==n.length)return false;var a=r.every(function(i){var o=e[i],s=t[i];return de(o)!==de(s)?false:de(o)==="object"||de(s)==="object"?m1(o,s):o===s});return a}function uS(e){if(e.length<2)return e;for(var t=e.filter(function(o){var s=o.result;return s!==void 0}),r=[],n={},a=function(s){var l,u=t[s],c=u.data,f=c.name,g=c.urlProps;if(n[f])return 1;var w=t.filter(function(P,j){var $=P.data;return $.name===f&&j!==s}),k=w.every(function(P){var j=P.data;return m1(j.urlProps,g)});w.length&&!k&&(u.result=void 0),u.relatedNodes=[],(l=u.relatedNodes).push.apply(l,De(w.map(function(P){return P.relatedNodes[0]}))),n[f]=w,r.push(u);},i=0;i<t.length;i++)a(i);return r}var cS=uS;function dS(e){var t=Ye(e),r=t&&t.includes("heading"),n=e.attr("aria-level"),a=parseInt(n,10),i=e.props.nodeName.match(/h(\d)/)||[],o=Ae(i,2),s=o[1];return r?s&&!n?parseInt(s,10):isNaN(a)||a<1?s?parseInt(s,10):2:a||-1:-1}function fS(){var e=Ue.get("headingOrder");if(e)return true;var t="h1, h2, h3, h4, h5, h6, [role=heading], iframe, frame",r=Tr(m._tree[0],t,wt);return e=r.map(function(n){return {ancestry:[Mi(n.actualNode)],level:dS(n)}}),this.data({headingOrder:e}),Ue.set("headingOrder",r),true}var pS=fS;function mS(e){var t=gS(e);return e.forEach(function(r){r.result=hS(r,t);}),e}function hS(e,t){var r,n,a,i,o=h1(t,e.node.ancestry),s=(r=(n=t[o])===null||n===void 0?void 0:n.level)!==null&&r!==void 0?r:-1,l=(a=(i=t[o-1])===null||i===void 0?void 0:i.level)!==null&&a!==void 0?a:-1;if(o===0)return true;if(s!==-1)return s-l<=1}function gS(e){e=De(e),e.sort(function(r,n){var a=r.node,i=n.node;return a.ancestry.length-i.ancestry.length});var t=e.reduce(vS,[]);return t.filter(function(r){var n=r.level;return n!==-1})}function vS(e,t){var r,n=(r=t.data)===null||r===void 0?void 0:r.headingOrder,a=g1(t.node.ancestry,1);if(!n)return e;var i=n.map(function(s){return yS(s,a)}),o=bS(e,a);return o===-1?e.push.apply(e,De(i)):e.splice.apply(e,[o,0].concat(De(i))),e}function bS(e,t){for(;t.length;){var r=h1(e,t);if(r!==-1)return r;t=g1(t,1);}return -1}function h1(e,t){return e.findIndex(function(r){return Ol(r.ancestry,t)})}function yS(e,t){var r=t.concat(e.ancestry);return ve({},e,{ancestry:r})}function g1(e,t){return e.slice(0,e.length-t)}function wS(e,t,r){var n=t?.minSize||24,a=r.boundingClientRect;if(Br(n*10,a))return this.data({messageKey:"large",minSize:n}),true;var i=Br.bind(null,n),o=Ki(r),s=xS(r,o),l=DS(r,o),u=l.fullyObscuringElms,c=l.partialObscuringElms;if(s.length&&(u.length||!i(a))){this.data({minSize:n,messageKey:"contentOverflow"}),this.relatedNodes(Va(s));return}if(u.length)return this.relatedNodes(Va(u)),this.data({messageKey:"obscured"}),true;var f=ur(r)?false:void 0;if(!i(a))return this.data(ve({minSize:n},ko(a))),f;var g=ES(c);if(!g.length)return this.data(ve({minSize:n},ko(a))),true;var w=AS(r,g,n);if(!w){this.data({minSize:n,messageKey:"tooManyRects"});return}if(!i(w)){if(s.length){this.data({minSize:n,messageKey:"contentOverflow"}),this.relatedNodes(Va(s));return}var k=g.every(ur),P="partiallyObscured".concat(k?"":"NonTabbable");return this.data(ve({messageKey:P,minSize:n},ko(w))),this.relatedNodes(Va(g)),k?f:void 0}return this.data(ve({minSize:n},ko(w||a))),this.relatedNodes(Va(g)),true}function xS(e,t){return t.filter(function(r){return !v1(r,e)&&b1(e,r)})}function DS(e,t){var r=[],n=[],a=ot(t),i;try{for(a.s();!(i=a.n()).done;){var o=i.value;!b1(e,o)&&zs(e,o)&&CS(o)!=="none"&&(v1(e,o)?r.push(o):n.push(o));}}catch(s){a.e(s);}finally{a.f();}return {fullyObscuringElms:r,partialObscuringElms:n}}function AS(e,t,r){var n=e.boundingClientRect,a=t.map(function(o){var s=o.getComputedStylePropertyValue("display");return s==="inline"?o.clientRects:o.boundingClientRect}).flat(1/0),i;try{i=Gs(n,a);}catch{return null}return _S(i,r)}function _S(e,t){return e.reduce(function(r,n){var a=Br(t,r),i=Br(t,n);if(a!==i)return a?r:n;var o=r.width*r.height,s=n.width*n.height;return o>s?r:n})}function ES(e){return e.filter(function(t){return yr(t)==="widget"&&St(t)})}function v1(e,t){var r=e.boundingClientRect,n=t.boundingClientRect;return r.top>=n.top&&r.left>=n.left&&r.bottom<=n.bottom&&r.right<=n.right}function CS(e){return e.getComputedStylePropertyValue("pointer-events")}function ko(e){return {width:Math.round(e.width*10)/10,height:Math.round(e.height*10)/10}}function b1(e,t){return qr(e,t)&&!ur(t)}function Va(e){return e.map(function(t){var r=t.actualNode;return r})}var SS=.05;function kS(e,t,r){var n=t?.minOffset||24;if(Br(n*10,r.boundingClientRect))return this.data({messageKey:"large",minOffset:n}),true;var a=[],i=n,o=ot(Ki(r,n)),s;try{for(o.s();!(s=o.n()).done;){var l=s.value;if(!(yr(l)!=="widget"||!St(l))){var u=null;try{u=kf(r,l,n/2);}catch(c){if(c.message.startsWith("splitRects")){this.data({messageKey:"tooManyRects",closestOffset:0,minOffset:n});return}throw c}u!==null&&(u=TS(u)*2,!(u+SS>=n)&&(i=Math.min(i,u),a.push(l)));}}}catch(c){o.e(c);}finally{o.f();}if(a.length===0)return this.data({closestOffset:i,minOffset:n}),true;if(this.relatedNodes(a.map(function(c){var f=c.actualNode;return f})),!a.some(ur)){this.data({messageKey:"nonTabbableNeighbor",closestOffset:i,minOffset:n});return}return this.data({closestOffset:i,minOffset:n}),ur(r)?false:void 0}function TS(e){return Math.round(e*10)/10}function RS(e,t,r){var n=t||{},a=n.scaleMinimum,i=a===void 0?2:a,o=n.lowerBound,s=o===void 0?false:o,l=r.attr("content")||"";if(!l)return true;var u=l.split(/[;,]/).reduce(function(f,g){var w=g.trim();if(!w)return f;var k=w.split("="),P=Ae(k,2),j=P[0],$=P[1];if(!j||!$)return f;var G=j.toLowerCase().trim(),Y=$.toLowerCase().trim();return G==="maximum-scale"&&Y==="yes"&&(Y=1),G==="maximum-scale"&&parseFloat(Y)<0||(f[G]=Y),f},{});if(s&&u["maximum-scale"]&&parseFloat(u["maximum-scale"])<s)return true;if(!s&&u["user-scalable"]==="no")return this.data("user-scalable=no"),false;var c=parseFloat(u["user-scalable"]);return !s&&u["user-scalable"]&&(c||c===0)&&c>-1&&c<1?(this.data("user-scalable"),false):u["maximum-scale"]&&parseFloat(u["maximum-scale"])<i?(this.data("maximum-scale"),false):true}var FS=RS;function IS(e,t,r,n){var a=n||{},i=a.cssom,o=i===void 0?void 0:i,s=t||{},l=s.degreeThreshold,u=l===void 0?0:l;if(!o||!o.length)return;for(var c=false,f=[],g=j(o),w=function(){var ge=P[k],xe=g[ge],Ce=xe.root,Oe=xe.rules,$e=Oe.filter($);if(!$e.length)return 1;$e.forEach(function(Fe){var He=Fe.cssRules;Array.from(He).forEach(function(ye){var Me=G(ye);if(Me&&ye.selectorText.toUpperCase()!=="HTML"){var ee=Array.from(Ce.querySelectorAll(ye.selectorText))||[];f=f.concat(ee);}c=c||Me;});});},k=0,P=Object.keys(g);k<P.length;k++)w();if(!c)return true;return f.length&&this.relatedNodes(f),false;function j(le){return le.reduce(function(ge,xe){var Ce=xe.sheet,Oe=xe.root,$e=xe.shadowId,Fe=$e||"topDocument";if(ge[Fe]||(ge[Fe]={root:Oe,rules:[]}),!Ce||!Ce.cssRules)return ge;var He=Array.from(Ce.cssRules);return ge[Fe].rules=ge[Fe].rules.concat(He),ge},{})}function $(le){var ge=le.type,xe=le.cssText;return ge!==4?false:/orientation:\s*landscape/i.test(xe)||/orientation:\s*portrait/i.test(xe)}function G(le){var ge=le.selectorText,xe=le.style;if(!ge||xe.length<=0)return false;var Ce=xe.transform||xe.webkitTransform||xe.msTransform||false;if(!Ce&&!xe.rotate)return false;var Oe=Y(Ce),$e=K("rotate",xe.rotate),Fe=Oe+$e;return !Fe||(Fe=Math.abs(Fe),Math.abs(Fe-180)%180<=u)?false:Math.abs(Fe-90)%90<=u}function Y(le){if(!le)return 0;var ge=le.match(/(rotate|rotateZ|rotate3d|matrix|matrix3d)\(([^)]+)\)(?!.*(rotate|rotateZ|rotate3d|matrix|matrix3d))/);if(!ge)return 0;var xe=Ae(ge,3),Ce=xe[1],Oe=xe[2];return K(Ce,Oe)}function K(le,ge){switch(le){case "rotate":case "rotateZ":return Z(ge);case "rotate3d":var xe=ge.split(",").map(function(Fe){return Fe.trim()}),Ce=Ae(xe,4),Oe=Ce[2],$e=Ce[3];return parseInt(Oe)===0?void 0:Z($e);case "matrix":case "matrix3d":return re(ge);default:return 0}}function Z(le){var ge=le.match(/(deg|grad|rad|turn)/)||[],xe=Ae(ge,1),Ce=xe[0];if(!Ce)return 0;var Oe=parseFloat(le.replace(Ce,""));switch(Ce){case "rad":return se(Oe);case "grad":return fe(Oe);case "turn":return Ee(Oe);default:return parseInt(Oe)}}function re(le){var ge=le.split(",");if(ge.length<=6){var xe=Ae(ge,2),Ce=xe[0],Oe=xe[1],$e=Math.atan2(parseFloat(Oe),parseFloat(Ce));return se($e)}var Fe=parseFloat(ge[8]),He=Math.asin(Fe),ye=Math.cos(He),Me=Math.acos(parseFloat(ge[0])/ye);return se(Me)}function se(le){return Math.round(le*(180/Math.PI))}function fe(le){return le=le%400,le<0&&(le+=400),Math.round(le/400*360)}function Ee(le){return Math.round(360/(1/le))}}var LS=IS;function MS(e,t){var r=e.hasAttribute("controls");if(e.hasAttribute("loop"))return r;if(!e.duration){console.warn("axe.utils.preloadMedia did not load metadata");return}var n=t.allowedDuration,a=n===void 0?3:n,i=o(e);if(i<=a)return true;if(!r)return false;return true;function o(u){if(!u.currentSrc)return 0;var c=s(u.currentSrc);return c?c.length===1?Math.abs(u.duration-c[0]):Math.abs(c[1]-c[0]):Math.abs(u.duration-(u.currentTime||0))}function s(u){var c=u.match(/#t=(.*)/);if(c){var f=Ae(c,2),g=f[1],w=g.split(",");return w.map(function(k){return /:/.test(k)?l(k):parseFloat(k)})}}function l(u){for(var c=u.split(":"),f=0,g=1;c.length>0;)f+=g*parseInt(c.pop(),10),g*=60;return parseFloat(f)}}var OS=MS;function PS(e,t){return t.isViolation?false:void 0}var NS=PS,y1=" > ";function qS(e){var t={};return e.filter(function(r){var n=r.node.ancestry[r.node.ancestry.length-1]!=="html";if(n){var a=r.node.ancestry.flat(1/0).join(y1);return t[a]=r,true}var i=r.node.ancestry.slice(0,r.node.ancestry.length-1).flat(1/0).join(y1);return t[i]&&(t[i].result=true),false})}var BS=qS;function HS(e,t,r){var n=tr(r,"track"),a=n.some(function(i){return (i.attr("kind")||"").toLowerCase()==="captions"});return a?false:void 0}var VS=HS;function jS(e,t,r){var n=r.children;if(!n||!n.length)return false;for(var a=false,i=false,o,s=0;s<n.length;s++){if(o=n[s].props.nodeName.toUpperCase(),o==="DT"&&(a=true),a&&o==="DD")return false;o==="DD"&&(i=true);}return a||i}var $S=jS;function zS(e,t,r){var n=false,a=false,i=true,o=[],s=[],l=[];return r.children.forEach(function(u){var c=u.actualNode;if(c.nodeType===3&&c.nodeValue.trim()!==""){n=true;return}if(!(c.nodeType!==1||!wt(c))){i=false;var f=c.nodeName.toUpperCase()==="LI",g=Ye(u),w=g==="listitem";!f&&!w&&o.push(c),f&&!w&&(s.push(c),l.includes(g)||l.push(g)),w&&(a=true);}}),n||o.length?(this.relatedNodes(o),true):i||a?false:(this.relatedNodes(s),this.data({messageKey:"roleNotValid",roles:l.join(", ")}),true)}var GS=zS;function WS(e,t,r){var n=["definition","term","list"],a={badNodes:[],hasNonEmptyTextNode:false},i=r.children.reduce(function(s,l){var u=l.actualNode;return u.nodeName.toUpperCase()==="DIV"&&Ye(u)===null?s.concat(l.children):s.concat(l)},[]),o=i.reduce(function(s,l){var u=l.actualNode,c=u.nodeName.toUpperCase();if(u.nodeType===1&&wt(u)){var f=Qe(u);(c!=="DT"&&c!=="DD"||f)&&(n.includes(f)||s.badNodes.push(u));}else u.nodeType===3&&u.nodeValue.trim()!==""&&(s.hasNonEmptyTextNode=true);return s},a);return o.badNodes.length&&this.relatedNodes(o.badNodes),!!o.badNodes.length||o.hasNonEmptyTextNode}function US(e,t,r){var n=r.parent;if(n){var a=n.props.nodeName,i=Qe(n);return ["presentation","none","list"].includes(i)?true:i&&Sa(i)?(this.data({messageKey:"roleNotValid"}),false):["ul","ol","menu"].includes(a)}}function XS(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=[],a=[];if(r.children){for(var i=w1(r.children);i.length;){var o,s=i.shift(),l=s.vChild,u=s.nested;if(t.divGroups&&!u&&KS(l)){if(!l.children)return;var c=w1(l.children,true);i.push.apply(i,De(c));continue}var f=YS(l,u,t);f&&(a.includes(f)||a.push(f),(l==null||(o=l.actualNode)===null||o===void 0?void 0:o.nodeType)===1&&n.push(l.actualNode));}return a.length===0?false:(this.data({values:a.join(", ")}),this.relatedNodes(n),true)}}function YS(e,t,r){var n=r.validRoles,a=n===void 0?[]:n,i=r.validNodeNames,o=i===void 0?[]:i,s=e.props,l=s.nodeName,u=s.nodeType,c=s.nodeValue,f=t?"div > ":"";if(u===3&&c.trim()!=="")return f+"#text";if(u!==1||!wt(e))return false;var g=Qe(e);return g?a.includes(g)?false:f+"[role=".concat(g,"]"):o.includes(l)?false:f+l}function KS(e){return e.props.nodeName==="div"&&Qe(e)===null}function w1(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:false;return e.map(function(r){return {vChild:r,nested:t}})}function JS(e){var t=Ot(e),r=t.nodeName.toUpperCase(),n=Qe(t);return r==="DIV"&&["presentation","none",null].includes(n)&&(t=Ot(t),r=t.nodeName.toUpperCase(),n=Qe(t)),r!=="DL"?false:!!(!n||["presentation","none","list"].includes(n))}var ZS=JS;function QS(e,t,r){var n=Dn(r.attr("lang")),a=Dn(r.attr("xml:lang"));return n===a}var ek=QS;function tk(e,t,r){var n=[];return t.attributes.forEach(function(a){var i=r.attr(a);if(typeof i=="string"){var o=Dn(i),s=t.value?!t.value.map(Dn).includes(o):!wo(o);(o!==""&&s||i!==""&&!Ve(i))&&n.push(a+'="'+r.attr(a)+'"');}}),!n.length||r.props.nodeName!=="html"&&!gl(r)?false:(this.data(n),true)}var rk=tk;function nu(e){return (e||"").trim()!==""}function nk(e,t,r){var n=typeof v<"u"?fa(v):false;if(t.attributes.includes("xml:lang")&&t.attributes.includes("lang")&&nu(r.attr("xml:lang"))&&!nu(r.attr("lang"))&&!n)return this.data({messageKey:"noXHTML"}),false;var a=t.attributes.some(function(i){return nu(r.attr(i))});return a?true:(this.data({messageKey:"noLang"}),false)}var ak=nk;function ik(e,t,r){var n=Ye(e),a=Pt(r);return a=a?a.toLowerCase():null,this.data({role:n,accessibleText:a}),this.relatedNodes([e]),true}var ok=ik;function sk(e){var t=[];return e.filter(function(r){var n=function(o){return r.data.role===o.data.role&&r.data.accessibleText===o.data.accessibleText},a=t.find(n);return a?(a.result=false,a.relatedNodes.push(r.relatedNodes[0]),false):(t.push(r),r.relatedNodes=[],true)})}var lk=sk;function uk(e,t,r){var n=no(r),a=eo(r),i=r.attr("aria-describedby");return !n&&!!(a||i)}var ck=uk;function dk(e){var t=At(e.getAttribute("id")),r=e.parentNode,n=qt(e);n=n.documentElement||n;var a=Array.from(n.querySelectorAll('label[for="'.concat(t,'"]')));for(a.length&&(a=a.filter(function(s){return !en(s)}));r;)r.nodeName.toUpperCase()==="LABEL"&&a.indexOf(r)===-1&&a.push(r),r=r.parentNode;if(this.relatedNodes(a),a.length>1){var i=a.filter(function(s){return wt(s)});if(i.length>1)return;var o=_r(e,"aria-labelledby");return o.includes(i[0])?false:void 0}return false}var fk=dk;function pk(e,t){var r=x1(t),n=x1(e);return !r||!n?false:r.includes(n)}function x1(e){var t=Ra(e,{emoji:true,nonBmp:true,punctuations:true});return Ve(t)}function mk(e,t,r){var n,a=t?.pixelThreshold,i=(n=t?.occurrenceThreshold)!==null&&n!==void 0?n:t?.occuranceThreshold,o=vn(e).toLowerCase(),s=Ve(nn(r,{subtreeDescendant:true,ignoreIconLigature:true,pixelThreshold:a,occurrenceThreshold:i})).toLowerCase();if(!s)return true;if(!(fl(o)<1||fl(s)<1))return pk(s,o)}var hk=mk;function gk(e,t,r){try{var n=Jt(r,"label");if(n){var a=Ve(Pt(n,{inControlContext:!0,startNode:r}));return n.actualNode&&this.relatedNodes([n.actualNode]),this.data({implicitLabel:a}),!!a}return !1}catch{return}}var vk=gk;function bk(e,t,r){if(r.hasAttr("id")){if(!r.actualNode)return;var n=qt(e),a=At(e.getAttribute("id")),i=n.querySelector('label[for="'.concat(a,'"]'));if(i&&!wt(i)){var o;try{o=Pt(r).trim();}catch{return}var s=o==="";return s}}return false}var yk=bk;function wk(e,t,r){var n=no(r),a=e.getAttribute("title");if(!n)return false;if(!a&&(a="",e.getAttribute("aria-describedby"))){var i=_r(e,"aria-describedby");a=i.map(function(o){return o?vn(o):""}).join("");}return Ve(a)===Ve(n)}var xk=wk;function Dk(e,t,r){var n=this;if(!r.attr("id"))return false;if(r.actualNode){var a=qt(r.actualNode),i=At(r.attr("id")),o=Array.from(a.querySelectorAll('label[for="'.concat(i,'"]')));if(this.relatedNodes(o),!o.length)return false;try{return o.some(function(s){if(Zt(s)){var l=Ve(vn(s,{inControlContext:!0,startNode:r}));return n.data({explicitLabel:l}),!!l}else return !0})}catch{return}}}var Ak=Dk;function _k(e,t,r){if(["none","presentation"].includes(Ye(r)))return false;var n=Jt(r,t.parentSelector);if(!n)return false;var a=Cr(n,true).toLowerCase();return a===""?false:a===Pt(r).toLowerCase()}var Ek=_k;function Ck(e,t,r){var n=r.attr("alt"),a=/^\s+$/;return typeof n=="string"&&a.test(n)}var Sk=Ck;function kk(e,t,r){var n=kr(r.attr("tabindex"));return n===null||n<=0}var Tk=kk;function Rk(e,t,r){if(r.children)try{var n=D1(r);if(!n.length)return !0;var a=n.filter(Fk);return a.length>0?(this.data({messageKey:"notHidden"}),this.relatedNodes(a)):this.relatedNodes(n),!1}catch{return}}function D1(e){if(!e.children){if(e.props.nodeType===1)throw new Error("Cannot determine children");return []}var t=[];return e.children.forEach(function(r){yr(r)==="widget"&&St(r)?t.push(r):t.push.apply(t,De(D1(r)));}),t}function Fk(e){var t=kr(e.attr("tabindex"));return t!==null&&t<0}function Ik(e){var t=Bn("landmark"),r=Ot(e),n=Ye(e);for(this.data({role:n});r;){var a=Qe(r);if(!a&&r.nodeName.toUpperCase()!=="FORM"&&(a=Er(r)),a&&t.includes(a)&&!(a==="main"&&n==="complementary"))return false;r=Ot(r);}return true}var Lk=Ik;function Mk(e,t,r){if(r.children)try{return !r.children.some(function(n){return A1(n)})}catch{return}}function A1(e){if(ur(e))return true;if(!e.children){if(e.props.nodeType===1)throw new Error("Cannot determine children");return false}return e.children.some(function(t){return A1(t)})}function Ok(e,t,r){var n=["button","fieldset","input","select","textarea"],a=r.tabbableElements;if(!a||!a.length)return true;var i=a.filter(function(o){return !n.includes(o.props.nodeName)});return this.relatedNodes(i.map(function(o){return o.actualNode})),i.length===0||Ia()?true:i.every(function(o){var s=o.getComputedStylePropertyValue("pointer-events"),l=parseInt(o.getComputedStylePropertyValue("width")),u=parseInt(o.getComputedStylePropertyValue("height"));return o.actualNode.onfocus||(l===0||u===0)&&s==="none"})?void 0:false}var Pk=Ok;function Nk(e,t,r){if(!ur(r))return false;try{return !Pt(r)}catch{return}}var qk=Nk;function Bk(e,t,r){var n=r.tabbableElements.map(function(a){var i=a.actualNode;return i});if(!n||!n.length)return true;if(Ia()){this.relatedNodes(n);return}return true}var Hk=Bk;function Vk(e,t,r){if(r.hasAttr("contenteditable")&&n(r))return true;return ur(r);function n(a){var i=a.attr("contenteditable");if(i==="true"||i==="")return true;if(i==="false")return false;var o=Jt(r.parent,"[contenteditable]");return o?n(o):false}}var jk=Vk;function $k(e,t,r){var n=["button","fieldset","input","select","textarea"],a=r.tabbableElements;if(!a||!a.length)return true;var i=a.filter(function(o){return n.includes(o.props.nodeName)});return this.relatedNodes(i.map(function(o){return o.actualNode})),i.length===0||Ia()?true:i.every(function(o){var s=o.getComputedStylePropertyValue("pointer-events"),l=parseInt(o.getComputedStylePropertyValue("width")),u=parseInt(o.getComputedStylePropertyValue("height"));return o.actualNode.onfocus||(l===0||u===0)&&s==="none"})?void 0:false}var zk=$k;function Gk(e,t,r){var n=r.tabbableElements;if(!n)return false;var a=n.filter(function(i){return i!==r});return a.length>0}var Wk=Gk;function Uk(e,t,r){return en(r)||(this.data(r.attr("accesskey")),this.relatedNodes([e])),true}var Xk=Uk;function Yk(e){var t={};return e.filter(function(r){if(!r.data)return false;var n=r.data.toUpperCase();return t[n]?(t[n].relatedNodes.push(r.relatedNodes[0]),false):(t[n]=r,r.relatedNodes=[],true)}).map(function(r){return r.result=!!r.relatedNodes.length,r})}var Kk=Yk;function Jk(e,t,r){if(!t||!t.selector||typeof t.selector!="string")throw new TypeError("page-no-duplicate requires options.selector to be a string");var n="page-no-duplicate;"+t.selector;if(Ue.get(n)){this.data("ignored");return}Ue.set(n,true);var a=Tr(m._tree[0],t.selector,function(i){return wt(i)});return typeof t.nativeScopeFilter=="string"&&(a=a.filter(function(i){return i.actualNode.hasAttribute("role")||!Ln(i,t.nativeScopeFilter)})),typeof t.role=="string"&&(a=a.filter(function(i){return Ye(i)===t.role})),this.relatedNodes(a.filter(function(i){return i!==r}).map(function(i){return i.actualNode})),a.length<=1}var Zk=Jk;function Qk(e){return e.filter(function(t){return t.data!=="ignored"})}var eT=Qk;function tT(e,t,r){return ka(r,t.matcher)}var rT=tT;function nT(e,t,r){try{return Ve(nn(r))!==""}catch{return}}function aT(e,t,r){if(!t||!t.selector||typeof t.selector!="string")throw new TypeError("has-descendant requires options.selector to be a string");if(t.passForModal&&Ia())return true;var n=Tr(r,t.selector,function(a){return wt(a)});return this.relatedNodes(n.map(function(a){return a.actualNode})),n.length>0}var iT=aT;function oT(e){var t=e.some(function(r){return r.result===true});return t&&e.forEach(function(r){r.result=true;}),e}var sT=oT;function lT(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0;if(!t.attribute||typeof t.attribute!="string")throw new TypeError("attr-non-space-content requires options.attribute to be a string");if(!r.hasAttr(t.attribute))return this.data({messageKey:"noAttr"}),false;var n=r.attr(t.attribute),a=!Ve(n);return a?(this.data({messageKey:"emptyAttr"}),false):true}var uT=lT;function cT(e,t,r){var n=r.attr("autocomplete")||"";return Tp(n,t)}var dT=cT;function fT(e,t,r){if(r.props.nodeName!=="input")return true;var n=["text","search","number","tel"],a=["text","search","url"],i={bday:["text","search","date"],email:["text","search","email"],username:["text","search","email"],"street-address":["text"],tel:["text","search","tel"],"tel-country-code":["text","search","tel"],"tel-national":["text","search","tel"],"tel-area-code":["text","search","tel"],"tel-local":["text","search","tel"],"tel-local-prefix":["text","search","tel"],"tel-local-suffix":["text","search","tel"],"tel-extension":["text","search","tel"],"cc-number":n,"cc-exp":["text","search","month","tel"],"cc-exp-month":n,"cc-exp-year":n,"cc-csc":n,"transaction-amount":n,"bday-day":n,"bday-month":n,"bday-year":n,"new-password":["text","search","password"],"current-password":["text","search","password"],url:a,photo:a,impp:a};de(t)==="object"&&Object.keys(t).forEach(function(f){i[f]||(i[f]=[]),i[f]=i[f].concat(t[f]);});var o=r.attr("autocomplete"),s=o.split(/\s+/g).map(function(f){return f.toLowerCase()}),l=s[s.length-1];if(yn.stateTerms.includes(l))return true;var u=i[l],c=r.hasAttr("type")?Ve(r.attr("type")).toLowerCase():"text";return c=yo().includes(c)?c:"text",typeof u>"u"?c==="text":u.includes(c)}var pT=fT,mT=["block","list-item","table","flex","grid","inline-block"];function hT(e){if(_1(e))return false;for(var t=Ot(e);t&&t.nodeType===1&&!_1(t);)t=Ot(t);if(t){if(this.relatedNodes([t]),r1(e,t))return true;if(gT(e)){this.data({messageKey:"pseudoContent"});return}return false}}function _1(e){var t=d.getComputedStyle(e).getPropertyValue("display");return mT.indexOf(t)!==-1||t.substr(0,6)==="table-"}function gT(e){for(var t=0,r=["before","after"];t<r.length;t++){var n=r[t],a=d.getComputedStyle(e,":".concat(n)),i=a.getPropertyValue("content");if(i!=="none")return true}return false}function E1(e,t){var r=e.getRelativeLuminance(),n=t.getRelativeLuminance();return (Math.max(r,n)+.05)/(Math.min(r,n)+.05)}var vT=["block","list-item","table","flex","grid","inline-block"];function C1(e){var t=d.getComputedStyle(e).getPropertyValue("display");return vT.indexOf(t)!==-1||t.substr(0,6)==="table-"}function bT(e,t){var r=t.requiredContrastRatio,n=t.allowSameColor;if(C1(e))return false;for(var a=Ot(e);a&&a.nodeType===1&&!C1(a);)a=Ot(a);if(a){this.relatedNodes([a]);var i=So(e),o=So(a),s=Ba(e),l=Ba(a),u=i&&o?E1(i,o):void 0;if(u&&(u=Math.floor(u*100)/100),u&&u>=r)return true;var c=s&&l?E1(s,l):void 0;if(c&&(c=Math.floor(c*100)/100),c&&c>=r)return true;if(!c){var f,g=(f=gt.get("bgColor"))!==null&&f!==void 0?f:"bgContrast";this.data({messageKey:g}),gt.clear();return}if(u)return n&&u===1&&c===1?true:u===1&&c>1?(this.data({messageKey:"bgContrast",contrastRatio:c,requiredContrastRatio:r,nodeBackgroundColor:s?s.toHexString():void 0,parentBackgroundColor:l?l.toHexString():void 0}),false):(this.data({messageKey:"fgContrast",contrastRatio:u,requiredContrastRatio:r,nodeColor:i?i.toHexString():void 0,parentColor:o?o.toHexString():void 0}),false)}}var yT=bT;function wT(e,t,r){var n=t.ignoreUnicode,a=t.ignoreLength,i=t.ignorePseudo,o=t.boldValue,s=t.boldTextPt,l=t.largeTextPt,u=t.contrastRatio,c=t.shadowOutlineEmMax,f=t.pseudoSizeThreshold;if(!Zt(e))return this.data({messageKey:"hidden"}),true;var g=Cr(r,false,true);if(n&&DT(g)){this.data({messageKey:"nonBmp"});return}var w=d.getComputedStyle(e),k=parseFloat(w.getPropertyValue("font-size")),P=w.getPropertyValue("font-weight"),j=parseFloat(P)>=o||P==="bold",$=Math.ceil(k*72)/96,G=j&&$<s||!j&&$<l,Y=G?u.normal:u.large,K=Y.expected,Z=Y.minThreshold,re=Y.maxThreshold,se=xT(r,{ignorePseudo:i,pseudoSizeThreshold:f});if(se){this.data({fontSize:"".concat((k*72/96).toFixed(1),"pt (").concat(k,"px)"),fontWeight:j?"bold":"normal",messageKey:"pseudoContent",expectedContrastRatio:K+":1"}),this.relatedNodes(se.actualNode);return}var fe=Co(e,{minRatio:.001,maxRatio:c});if(fe===null){this.data({messageKey:"complexTextShadows"});return}var Ee=[],le=Ba(e,Ee,c),ge=So(e,false,le,t),xe=null,Ce=null,Oe=null;if(fe.length===0)xe=Hn(le,ge);else if(ge&&le){Oe=[].concat(De(fe),[le]).reduce(Ql);var $e=Hn(le,ge),Fe=Hn(le,Oe),He=Hn(Oe,ge);xe=Math.max($e,Fe,He),xe!==$e&&(Ce=Fe>He?"shadowOnBgColor":"fgOnShadowColor");}var ye=xe>K;if(typeof Z=="number"&&(typeof xe!="number"||xe<Z)||typeof re=="number"&&(typeof xe!="number"||xe>re))return this.data({contrastRatio:xe}),true;var Me=Math.floor(xe*100)/100,ee,ke;le===null?gt.get("colorParse")?(ee="colorParse",ke=gt.get("colorParse")):ee=gt.get("bgColor"):ye||(ee=Ce),ge===null&>.get("colorParse")&&(ee="colorParse",ke=gt.get("colorParse"));var he=Me===1,Te=g.length===1;if(he?ee=gt.set("bgColor","equalRatio"):!ye&&Te&&!a&&(ee="shortTextContent"),this.data({fgColor:ge?ge.toHexString():void 0,bgColor:le?le.toHexString():void 0,contrastRatio:Me,fontSize:"".concat((k*72/96).toFixed(1),"pt (").concat(k,"px)"),fontWeight:j?"bold":"normal",messageKey:ee,expectedContrastRatio:K+":1",shadowColor:Oe?Oe.toHexString():void 0,colorParse:ke}),ge===null||le===null||he||Te&&!a&&!ye){ee=null,gt.clear(),this.relatedNodes(Ee);return}return ye||this.relatedNodes(Ee),ye}function xT(e,t){var r=t.pseudoSizeThreshold,n=r===void 0?.25:r,a=t.ignorePseudo,i=a===void 0?false:a;if(!i){var o=e.boundingClientRect,s=o.width*o.height*n;do{var l=S1(e.actualNode,":before"),u=S1(e.actualNode,":after");if(l+u>s)return e}while(e=e.parent)}}var S1=ht(function(t,r){var n=d.getComputedStyle(t,r),a=function(l,u){return n.getPropertyValue(l)===u};if(a("content","none")||a("display","none")||a("visibility","hidden")||a("position","absolute")===false||wn(n).alpha===0&&a("background-image","none"))return 0;var i=k1(n.getPropertyValue("width")),o=k1(n.getPropertyValue("height"));return i.unit!=="px"||o.unit!=="px"?i.value===0||o.value===0?0:1/0:i.value*o.value});function DT(e){var t={nonBmp:true},r=cl(e,t),n=Ve(Ra(e,t))==="";return r&&n}function k1(e){var t=/^([0-9.]+)([a-z]+)$/i,r=e.match(t)||[],n=Ae(r,3),a=n[1],i=a===void 0?"":a,o=n[2],s=o===void 0?"":o;return {value:parseFloat(i),unit:s.toLowerCase()}}var AT={ARTICLE:true,ASIDE:true,NAV:true,SECTION:true},_T={alert:true,alertdialog:true,application:true,article:true,banner:false,complementary:true,contentinfo:true,dialog:true,form:true,log:true,main:true,navigation:true,region:true,search:false,status:true,tabpanel:true};function ET(e){var t=e.nodeName.toUpperCase();return AT[t]||false}function CT(e,t){var r=Qe(e);return r&&(_T[r]||t.roles.includes(r))||false}function ST(e,t){return CT(e,t)||ET(e)}var kT=ST;function TT(e,t,r){var n=Ye(r,{dpub:true,fallback:true}),a=el(n);return a&&this.data(n),a}var RT=TT;function FT(e,t,r){var n=Ye(r,{noImplicit:true});this.data(n);var a,i;try{a=Ve(ll(r)).toLowerCase(),i=Ve(Pt(r)).toLowerCase();}catch{return}if(!i&&!a)return false;if(!(!i&&a)&&i.includes(a))return false}var IT=FT;function LT(e,t,r){return St(r)}var MT=LT;function OT(e,t,r){var n=jt(r.attr("role")),a=n.every(function(i){return !Sa(i.toLowerCase(),{allowAbstract:true})});return a?(this.data(n),true):false}var PT=OT;function NT(e,t,r){var n=Qe(r);if(n===null)return false;var a=yr(n);return a==="widget"||a==="composite"}var qT=NT;function BT(e,t,r){var n=tn().filter(function(a){return r.hasAttr(a)});return this.data(n),n.length>0}var HT=BT;function VT(e,t){var r=Er(e);return !r&&t.length===2&&t.includes("none")&&t.includes("presentation")}function jT(e,t,r){var n=jt(r.attr("role"));return n.length<=1?false:VT(r,n)?void 0:true}var $T=jT;function zT(e,t,r){var n=Ye(r,{dpub:true,fallback:true}),a=it.ariaRoles[n];return a!=null&&a.deprecated?(this.data(n),true):false}function GT(e,t,r){var n,a=(n=r.attr("aria-brailleroledescription"))!==null&&n!==void 0?n:"";if(Ve(a)==="")return true;var i=r.attr("aria-roledescription");return typeof i!="string"?(this.data({messageKey:"noRoleDescription"}),false):Ve(i)===""?(this.data({messageKey:"emptyRoleDescription"}),false):true}function WT(e,t,r){var n,a=(n=r.attr("aria-braillelabel"))!==null&&n!==void 0?n:"";if(!a.trim())return true;try{return Ve(Pt(r))!==""}catch{return}}function UT(e,t,r){t=Array.isArray(t.value)?t.value:[];var n="",a="",i=[],o=/^aria-/,s=["aria-errormessage"],l={"aria-controls":function(){var c=["false",null].includes(r.attr("aria-haspopup"))===false;return c&&(n='aria-controls="'.concat(r.attr("aria-controls"),'"'),a="controlsWithinPopup"),r.attr("aria-expanded")!=="false"&&r.attr("aria-selected")!=="false"&&c===false},"aria-current":function(c){c||(n='aria-current="'.concat(r.attr("aria-current"),'"'),a="ariaCurrent");},"aria-owns":function(){return r.attr("aria-expanded")!=="false"},"aria-describedby":function(c){c||(n='aria-describedby="'.concat(r.attr("aria-describedby"),'"'),a=m._tree&&m._tree[0]._hasShadowRoot?"noIdShadow":"noId");},"aria-labelledby":function(c){c||(n='aria-labelledby="'.concat(r.attr("aria-labelledby"),'"'),a=m._tree&&m._tree[0]._hasShadowRoot?"noIdShadow":"noId");}};if(r.attrNames.forEach(function(u){if(!(s.includes(u)||t.includes(u)||!o.test(u))){var c,f=r.attr(u);try{c=Wm(r,u);}catch{n="".concat(u,'="').concat(f,'"'),a="idrefs";return}(!l[u]||l[u](c))&&!c&&(f===""&&!XT(u)?(n=u,a="empty"):i.push("".concat(u,'="').concat(f,'"')));}}),i.length)return this.data(i),false;if(n){this.data({messageKey:a,needsReview:n});return}return true}function XT(e){var t;return ((t=it.ariaAttrs[e])===null||t===void 0?void 0:t.type)==="string"}function YT(e,t,r){t=Array.isArray(t.value)?t.value:[];var n=[],a=/^aria-/;return r.attrNames.forEach(function(i){t.indexOf(i)===-1&&a.test(i)&&!_o(i)&&n.push(i);}),n.length?(this.data(n),false):true}var KT=YT;function JT(e,t,r){var n=r.attrNames.filter(function(a){var i=it.ariaAttrs[a];if(!_o(a))return false;var o=i.unsupported;return de(o)!=="object"?!!o:!ka(e,o.exceptions)});return n.length?(this.data(n),true):false}var ZT=JT;function QT(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=Ye(r),a=t.supportedRoles||[];if(a.includes(n))return true;if(!(n&&n!=="presentation"&&n!=="none"))return false}var e5=QT;function T1(e,t,r,n){var a=Qe(e);if(r||(r=Xl(a)),!r)return null;for(var i=r.includes("group"),o=n?e:e.parent;o;){var s=Ye(o,{noPresentational:true});if(!s)o=o.parent;else if(s==="group"&&i)t.includes(a)&&r.push(a),r=r.filter(function(l){return l!=="group"}),o=o.parent;else return r.includes(s)?null:r}return r}function t5(e){for(var t=[],r=null;e;){if(e.getAttribute("id")){var n=At(e.getAttribute("id")),a=qt(e);r=a.querySelector("[aria-owns~=".concat(n,"]")),r&&t.push(r);}e=e.parentElement;}return t.length?t:null}function r5(e,t,r){var n=t&&Array.isArray(t.ownGroupRoles)?t.ownGroupRoles:[],a=T1(r,n);if(!a)return true;var i=t5(e);if(i){for(var o=0,s=i.length;o<s;o++)if(a=T1(Ke(i[o]),n,a,true),!a)return true}return this.data(a),false}var n5=r5;function a5(e,t,r){var n=t&&Array.isArray(t.reviewEmpty)?t.reviewEmpty:[],a=Qe(r,{dpub:true}),i=Yl(a);if(i===null)return true;var o=i5(r,i),s=o.filter(function(u){var c=u.role,f=u.vNode;return f.props.nodeType===1&&!i.includes(c)});if(s.length){this.relatedNodes(s.map(function(u){var c=u.vNode;return c}));var l=r.attr("aria-busy")==="true"?"aria-busy-fail":"unallowed";return this.data({messageKey:l,values:s.map(function(u){var c=u.vNode,f=u.attr;return l5(c,f)}).filter(function(u,c,f){return f.indexOf(u)===c}).join(", ")}),false}if(o5(i,o))return true;if(r.attr("aria-busy")==="true")return this.data({messageKey:"aria-busy"}),true;if(this.data(i),!(n.includes(a)&&!o.some(u5)))return false}function i5(e,t){for(var r,n=[],a=Ta(e),i=function(){if(r.props.nodeType===3&&n.push({vNode:r,role:null}),r.props.nodeType!==1||!wt(r))return 1;var s=Ye(r,{noPresentational:true}),l=s5(r),u=!!l||St(r);if(!s&&!u||["group","rowgroup"].includes(s)&&t.some(function(f){return f===s}))a.push.apply(a,De(r.children));else if(s||u){var c=l||"tabindex";n.push({role:s,attr:c,vNode:r});}};r=a.shift();)i();return n}function o5(e,t){return t.some(function(r){var n=r.role;return n&&e.includes(n)})}function s5(e){return tn().find(function(t){return e.hasAttr(t)})}function l5(e,t){var r=e.props,n=r.nodeName,a=r.nodeType;if(a===3)return "#text";var i=Qe(e,{dpub:true});return i?"[role=".concat(i,"]"):t?n+"[".concat(t,"]"):n}function u5(e){var t=e.vNode;return t.props.nodeType===3?t.props.nodeValue.trim().length>0:Fa(t,false,true)}function c5(e){var t,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,a=Qe(n),i=n.attrNames,o=Gm(a);if(Array.isArray(r[a])&&(o=Oa(r[a],o)),!a||!i.length||!o.length||d5(n,a)||p5(n,a)||a==="slider"&&(t=n.attr("aria-valuetext"))!==null&&t!==void 0&&t.trim())return true;var s=rn(n),l=o.filter(function(u){return !n.attr(u)&&!f5(s,u)});return l.length?(this.data(l),false):true}function d5(e,t){return t==="separator"&&!St(e)}function f5(e,t){var r;return ((r=e.implicitAttrs)===null||r===void 0?void 0:r[t])!==void 0}function p5(e,t){return t==="combobox"&&e.attr("aria-expanded")==="false"}function m5(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=t?.elementsAllowedAriaLabel||[],a=r.props.nodeName,i=Ye(r,{chromium:true,fallback:true}),o=h5(r,i,a,n),s=o.filter(function(c){return r.attrNames.includes(c)?Ve(r.attr(c))!=="":false});if(s.length===0)return false;var l=i!==null?"hasRole":"noRole";l+=s.length>1?"Plural":"Singular",this.data({role:i,nodeName:a,messageKey:l,prohibited:s});var u=nn(r,{subtreeDescendant:true});if(Ve(u)==="")return true}function h5(e,t,r,n){var a=it.ariaRoles[t];return a?a.prohibitedAttrs||[]:t||n.includes(r)||R1(e)==="widget"?[]:["aria-label","aria-labelledby"]}var R1=ht(function(t){if(t){var r=Ye(t,{noPresentational:true,chromium:true});return r?yr(r):R1(t.parent)}});function g5(e,t,r){var n=r.attr("aria-level"),a=parseInt(n,10);if(!(a>6))return true}var v5=g5;function b5(e,t,r){return r.attr("aria-hidden")!=="true"}var y5=b5;function w5(e,t,r){t=Array.isArray(t)?t:[];var n=r.attr("aria-errormessage"),a=r.hasAttr("aria-errormessage"),i=r.attr("aria-invalid"),o=r.hasAttr("aria-invalid");if(!o||i==="false")return true;function s(l){if(l.trim()==="")return it.ariaAttrs["aria-errormessage"].allowEmpty;var u=jt(l);if(u.length>1)return this.data({messageKey:"unsupported",values:u}),false;var c;try{c=l&&_r(r,"aria-errormessage")[0];}catch{this.data({messageKey:"idrefs",values:u});return}if(c){if(!wt(c))return this.data({messageKey:"hidden",values:u}),false;var f=jt(r.attr("aria-describedby"));return Qe(c)==="alert"||c.getAttribute("aria-live")==="assertive"||c.getAttribute("aria-live")==="polite"||u.some(function(g){return f.includes(g)})}}return t.indexOf(n)===-1&&a?(this.data(jt(n)),s.call(this,n)):true}function F1(e){var t,r,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=n.invalidTableRowAttrs,i=arguments.length>2?arguments[2]:void 0,o=(t=a==null||(r=a.filter)===null||r===void 0?void 0:r.call(a,function(c){return i.hasAttr(c)}))!==null&&t!==void 0?t:[];if(o.length===0)return true;var s=x5(i),l=s&&Ye(s);if(!l||l==="treegrid")return true;var u="row".concat(o.length>1?"Plural":"Singular");return this.data({messageKey:u,invalidAttrs:o,ownerRole:l}),false}function x5(e){if(e.parent){var t='table:not([role]), [role~="treegrid"], [role~="table"], [role~="grid"]';return Jt(e,t)}}function I1(e,t,r){var n=r.props,a=n.nodeName,i=n.type,o=A5(r.attr("aria-checked"));if(a!=="input"||i!=="checkbox"||!o)return true;var s=D5(r);return o===s?true:(this.data({messageKey:"checkbox",checkState:s}),false)}function D5(e){return e.props.indeterminate?"mixed":e.props.checked?"true":"false"}function A5(e){return e?(e=e.toLowerCase(),["mixed","true"].includes(e)?e:"false"):""}var L1={row:F1,checkbox:I1};function _5(e,t,r){var n=Ye(r);return L1[n]?L1[n].call(this,e,t,r):true}function E5(e,t,r){return r.attr("aria-busy")==="true"}function C5(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=t.allowImplicit,a=n===void 0?true:n,i=t.ignoredTags,o=i===void 0?[]:i,s=r.props.nodeName;if(o.map(function(u){return u.toLowerCase()}).includes(s))return true;var l=Hm(r,a);return l.length?(this.data(l),wt(r)?false:void 0):true}var S5=C5;function k5(e,t,r){var n=[],a=Ye(r),i=Nm(a);Array.isArray(t[a])&&(i=Oa(t[a].concat(i)));var o=ot(r.attrNames),s;try{for(o.s();!(s=o.n()).done;){var l=s.value;_o(l)&&!i.includes(l)&&!T5(l,r.attr(l),r)&&n.push(l);}}catch(u){o.e(u);}finally{o.f();}if(!n.length)return true;if(this.data(n.map(function(u){return u+'="'+r.attr(u)+'"'})),!(!a&&!Ll(r)&&!St(r)))return false}function T5(e,t,r){return !!(e==="aria-required"&&t==="false"||e==="aria-multiline"&&t==="false"&&r.hasAttr("contenteditable"))}function R5(e,t,r){var n=rn(r);if(!n.allowedAriaAttrs)return true;var a=Qe(r);if(a)return true;var i=n.allowedAriaAttrs,o=tn(),s=[],l=ot(r.attrNames),u;try{for(l.s();!(u=l.n()).done;){var c=u.value;o.includes(c)&&!i.includes(c)&&s.push(c);}}catch(g){l.e(g);}finally{l.f();}if(!s.length)return true;var f=s.length>1?"plural":"singular";return this.data({messageKey:f,nodeName:r.props.nodeName,values:s.map(function(g){return g+'="'+r.attr(g)+'"'}).join(", ")}),false}function F5(e,t,r){var n=jt(r.attr("role")).filter(function(a){return yr(a)==="abstract"});return n.length>0?(this.data(n),true):false}var I5=F5;function L5(e){var t=Dn(e.getAttribute("lang")),r=Dn(e.getAttribute("xml:lang"));return wo(t)&&wo(r)}var M5=L5;function O5(e){return e.ownerDocument.defaultView.self===e.ownerDocument.defaultView.top}var P5=O5;function N5(e,t){try{var r=t.props.nodeName;return r==="svg"?!0:!!Jt(t,"svg")}catch{return false}}var au=N5;function q5(e,t){return B5.every(function(r){return r(e,t)})}var B5=[function(e,t){return M1(t)},function(e,t){return H5(t)},function(e,t){return !au(e,t)},function(e,t){return St(t)},function(e,t){return ur(t)||!V5(t)},function(e){return !vl(e,{noLengthCompare:true,includeInlineBlock:true})}];function M1(e){return yr(e)==="widget"}function H5(e){return e.props.nodeName!=="area"}var V5=ht(function e(t){return t!=null&&t.parent?M1(t.parent)&&ur(t.parent)?true:e(t.parent):false});function j5(e,t){var r=Ye(t);return ["treegrid","grid","table"].includes(r)}function $5(e,t){var r=t.parent;if(r.props.nodeName!=="details"||z5(t))return false;var n=r.children.find(function(a){return a.props.nodeName==="summary"});return n===t}function z5(e){var t,r=(t=e.actualNode)===null||t===void 0?void 0:t.parentElement;return r&&r!==e.parent.actualNode}function G5(e){return wl(e)&&Gi(e)}var W5=G5;function U5(e,t){return Vr(e,13)!==void 0&&Ul(t)===false&&X5(t)}function X5(e){var t=e.boundingClientRect;return tr(e,"*").some(function(r){if(!Fa(r,true,true))return false;var n=[];if(ao(r)){var a;(a=n).push.apply(a,De(Y5(r)));}else n=[r.boundingClientRect];return n.some(function(i){return i.left<t.left||i.right>t.right||i.top<t.top||i.bottom>t.bottom})})}function Y5(e){var t=v.createRange();return t.selectNodeContents(e.actualNode),Array.from(t.getClientRects())}function K5(e,t){return Er(t,{chromiumRoles:true})!==null}var J5=K5;function Z5(e){var t=Array.from(e.parentNode.childNodes),r=e.textContent.trim(),n=/[.!?:;](?![.!?:;])/g;if(r.length===0||(r.match(n)||[]).length>=2)return false;var a=t.slice(t.indexOf(e)+1).filter(function(i){return i.nodeName.toUpperCase()==="P"&&i.textContent.trim()!==""});return a.length!==0}var Q5=Z5;function eR(e,t){var r=Qe(t);if(!r||["none","presentation"].includes(r))return true;var n=Uf[r]||{},a=n.accessibleNameRequired;return !!(a||St(t))}var O1=eR,tR=function(t,r){return [O1,rR].every(function(n){return n(t,r)})};function rR(e){var t;if(!(e!=null&&(t=e.ownerDocument)!==null&&t!==void 0&&t.createRange))return true;var r=e.ownerDocument.createRange();return r.setStart(e,0),r.setEnd(e,e.childNodes.length),r.getClientRects().length===0}function nR(e,t){return t.props.nodeName!=="html"}var aR=nR;function iR(e,t){return !t.attr("role")}var oR=iR;function sR(e,t){var r=kr(t.attr("tabindex"));return r===null||r>=0}var lR=sR;function uR(e,t){var r=rn(t),n=r.namingMethods;return !(n&&n.length!==0||Qe(t)==="combobox"&&tr(t,'input:not([type="hidden"])').length||Ul(t,{popupRoles:["listbox"]}))}var cR=uR;function dR(e,t){return !(!t.hasAttr("role")||!t.attr("role").trim())}var fR=dR;function pR(e){return !(!e.currentSrc||e.hasAttribute("paused")||e.hasAttribute("muted"))}var mR=pR;function hR(e,t){var r=Ye(t);return r?!!it.ariaRoles[r].childrenPresentational:false}var gR=hR;function vR(e){var t=Ve(e.innerText),r=Qe(e);return r&&r!=="link"||!t||!Zt(e)?false:vl(e)}var bR=vR;function yR(e){return !Do(e)&&!St(e)}var wR=yR;function xR(e,t){return DR(t)&&wt(t)}function DR(e){var t=Bn("landmark"),r=Ye(e);if(!r)return false;var n=e.props.nodeName;if(n==="section"||n==="form"){var a=Pt(e);return !!a}return t.indexOf(r)>=0||r==="region"}function AR(e,t){var r="article, aside, main, nav, section";return e.hasAttribute("role")||!Ln(t,r)}var _R=AR;function ER(e,t){if(t.props.nodeName!=="input"||t.hasAttr("type")===false)return true;var r=t.attr("type").toLowerCase();return ["hidden","image","button","submit","reset"].includes(r)===false}var CR=ER;function SR(e,t){var r=Ye(e);if(!r)return false;var n=Bn("widget"),a=n.includes(r);if(!a)return false;var i=Wl();return !(!i.includes(r)||!Ve(Ca(t))&&!Ve(Ea(e))||!Ve(Cr(t)))}var kR=SR;function TR(e,t){return Zt(t)}function RR(e){return Zt(e)}function FR(e,t,r){return r.initiator}var P1=FR;function IR(e){return Mp(e)}var LR=IR;function MR(e,t){var r=!!Pt(t);if(!r)return false;var n=Ye(e);return !(n&&n!=="link")}var OR=MR;function PR(e,t){return !au(e,t)}var NR=PR;function qR(e,t){return Ye(t)==="heading"}function BR(e,t){return Er(t,{chromium:true})!==null}var HR=BR;function VR(e){var t=e.getAttribute("title");return !!Ve(t)}var jR=VR;function $R(e,t,r){var n,a;return !r.initiator&&!r.focusable&&((n=r.size)===null||n===void 0?void 0:n.width)*((a=r.size)===null||a===void 0?void 0:a.height)>1}var zR=$R;function GR(e){var t=e.getAttribute("id").trim(),r='*[id="'.concat(At(t),'"]'),n=Array.from(qt(e).querySelectorAll(r));return !Ao(e)&&n.every(function(a){return !St(a)})}var WR=GR;function UR(e){return Ao(e)}var XR=UR;function YR(e){var t=e.getAttribute("id").trim(),r='*[id="'.concat(At(t),'"]'),n=Array.from(qt(e).querySelectorAll(r));return !Ao(e)&&n.some(St)}var KR=YR;function JR(e){return Do(e)}var ZR=JR;function QR(e){if(Do(e)){var t=Hr(e);return t.length>=3&&t[0].length>=3&&t[1].length>=3&&t[2].length>=3}return false}var eF=QR;function tF(e,t){var r=t.props,n=r.nodeName,a=r.type;if(n==="option"||n==="select"&&!e.options.length)return false;var i=["hidden","range","color","checkbox","radio","image"];if(n==="input"&&i.includes(a)||Ha(t)||Ji(t))return false;var o=["input","select","textarea"];if(o.includes(n)){var s=d.getComputedStyle(e),l=parseInt(s.getPropertyValue("text-indent"),10);if(l){var u=e.getBoundingClientRect();if(u={top:u.top,bottom:u.bottom,left:u.left+l,right:u.right+l},!xl(u,e))return false}return true}var c=Ln(t,"label");if(n==="label"||c){var f=c||e,g=c?Ke(c):t;if(f.htmlFor){var w=qt(f),k=w.getElementById(f.htmlFor),P=k&&Ke(k);if(P&&Ha(P))return false}var j='input:not([type="hidden"],[type="image"],[type="button"],[type="submit"],[type="reset"]), select, textarea',$=tr(g,j)[0];if($&&Ha($))return false}for(var G=[],Y=t;Y;){if(Y.props.id){var K=Gl(Y).filter(function(ge){return jt(ge.getAttribute("aria-labelledby")||"").includes(Y.props.id)}).map(function(ge){return Ke(ge)});G.push.apply(G,De(K));}Y=Y.parent;}if(G.length>0&&G.every(Ha)||!aF(t)||!parseFloat(t.getComputedStylePropertyValue("font-size")))return false;for(var Z=v.createRange(),re=t.children,se=0;se<re.length;se++){var fe=re[se];fe.actualNode.nodeType===3&&Ve(fe.actualNode.nodeValue)!==""&&Z.selectNodeContents(fe.actualNode);}var Ee=Array.from(Z.getClientRects()),le=xa(t);return Ee.some(function(ge){var xe=xl(ge,e);if(!le.length)return xe;var Ce=le.some(function(Oe){return Bs(ge,Oe.boundingClientRect)});return xe&&Ce})}var rF=tF,nF={emoji:true,nonBmp:false,punctuations:true};function aF(e){var t=Cr(e,false,true);return t===""||Ra(t,nF)===""?false:e.children.some(function(r){return r.props.nodeName==="#text"&&!dl(r)})}function iF(e,t,r){return P1(e,t,r)?!!e.querySelector("a[href]"):true}var oF=iF;function sF(e,t){var r=t.attr("autocomplete");if(!r||Ve(r)==="")return false;var n=t.props.nodeName;if(["textarea","input","select"].includes(n)===false)return false;var a=t.attr("aria-readonly")||"false";if(t.hasAttr("readonly")||a.toLowerCase()==="true")return false;var i=["submit","reset","button","hidden"];if(n==="input"&&i.includes(t.props.type))return false;var o=t.attr("aria-disabled")||"false";if(t.hasAttr("disabled")||o.toLowerCase()==="true")return false;var s=Qe(t),l=kr(t.attr("tabindex"));if(l<0&&t.hasAttr("role")){var u=it.ariaRoles[s];if(u===void 0||u.type!=="widget")return false}return !(l<0&&t.actualNode&&!Zt(t)&&!wt(t))}var lF=sF;function uF(e,t){var r=Qe(t);return !!Xl(r)}var cF=uF;function dF(e,t){var r=Qe(t,{dpub:true});return !!Yl(r)}var fF=dF;function N1(e){return e?e.getAttribute("aria-hidden")==="true"?false:N1(Ot(e)):true}function pF(e){return N1(Ot(e))}var mF=pF;function hF(e,t){var r=/^aria-/;return t.attrNames.some(function(n){return r.test(n)})}var gF=hF;function vF(e,t){return Qe(t,{dpub:true,fallback:true})!==null}var bF=vF;function yF(e,t){var r=/^aria-/,n=t.attrNames;if(n.length){for(var a=0,i=n.length;a<i;a++)if(r.test(n[a]))return true}return false}var wF=yF,xF={"abstractrole-evaluate":I5,"accesskeys-after":Kk,"accesskeys-evaluate":Xk,"alt-space-value-evaluate":Sk,"aria-allowed-attr-elm-evaluate":R5,"aria-allowed-attr-evaluate":k5,"aria-allowed-attr-matches":wF,"aria-allowed-role-evaluate":S5,"aria-allowed-role-matches":bF,"aria-busy-evaluate":E5,"aria-conditional-attr-evaluate":_5,"aria-conditional-checkbox-attr-evaluate":I1,"aria-conditional-row-attr-evaluate":F1,"aria-errormessage-evaluate":w5,"aria-has-attr-matches":gF,"aria-hidden-body-evaluate":y5,"aria-hidden-focus-matches":mF,"aria-label-evaluate":iC,"aria-labelledby-evaluate":nC,"aria-level-evaluate":v5,"aria-prohibited-attr-evaluate":m5,"aria-required-attr-evaluate":c5,"aria-required-children-evaluate":a5,"aria-required-children-matches":fF,"aria-required-parent-evaluate":n5,"aria-required-parent-matches":cF,"aria-roledescription-evaluate":e5,"aria-unsupported-attr-evaluate":ZT,"aria-valid-attr-evaluate":KT,"aria-valid-attr-value-evaluate":UT,"attr-non-space-content-evaluate":uT,"autocomplete-appropriate-evaluate":pT,"autocomplete-matches":lF,"autocomplete-valid-evaluate":dT,"avoid-inline-spacing-evaluate":tC,"braille-label-equivalent-evaluate":WT,"braille-roledescription-equivalent-evaluate":GT,"bypass-matches":oF,"caption-evaluate":VS,"caption-faked-evaluate":qE,"color-contrast-evaluate":wT,"color-contrast-matches":rF,"css-orientation-lock-evaluate":LS,"data-table-large-matches":eF,"data-table-matches":ZR,"deprecatedrole-evaluate":zT,"dlitem-evaluate":ZS,"doc-has-title-evaluate":QE,"duplicate-id-active-matches":KR,"duplicate-id-after":uC,"duplicate-id-aria-matches":XR,"duplicate-id-evaluate":sC,"duplicate-id-misc-matches":WR,"duplicate-img-label-evaluate":Ek,"exists-evaluate":JE,"explicit-evaluate":Ak,"fallbackrole-evaluate":$T,"focusable-content-evaluate":Wk,"focusable-disabled-evaluate":zk,"focusable-element-evaluate":jk,"focusable-modal-open-evaluate":Hk,"focusable-no-name-evaluate":qk,"focusable-not-tabbable-evaluate":Pk,"frame-focusable-content-evaluate":Mk,"frame-focusable-content-matches":zR,"frame-tested-after":BS,"frame-tested-evaluate":NS,"frame-title-has-text-matches":jR,"has-alt-evaluate":YE,"has-descendant-after":sT,"has-descendant-evaluate":iT,"has-global-aria-attribute-evaluate":HT,"has-implicit-chromium-role-matches":HR,"has-lang-evaluate":ak,"has-text-content-evaluate":nT,"has-widget-role-evaluate":qT,"heading-matches":qR,"heading-order-after":mS,"heading-order-evaluate":pS,"help-same-as-label-evaluate":xk,"hidden-content-evaluate":W_,"hidden-explicit-label-evaluate":yk,"html-namespace-matches":NR,"html5-scope-evaluate":PE,"identical-links-same-purpose-after":cS,"identical-links-same-purpose-evaluate":lS,"identical-links-same-purpose-matches":OR,"implicit-evaluate":vk,"inline-style-property-evaluate":WE,"inserted-into-focus-order-matches":LR,"internal-link-present-evaluate":FC,"invalid-children-evaluate":XS,"invalidrole-evaluate":PT,"is-element-focusable-evaluate":MT,"is-initiator-matches":P1,"is-on-screen-evaluate":GE,"is-visible-matches":RR,"is-visible-on-screen-matches":TR,"label-content-name-mismatch-evaluate":hk,"label-content-name-mismatch-matches":kR,"label-matches":CR,"landmark-has-body-context-matches":_R,"landmark-is-top-level-evaluate":Lk,"landmark-is-unique-after":lk,"landmark-is-unique-evaluate":ok,"landmark-unique-matches":xR,"layout-table-matches":wR,"link-in-text-block-evaluate":yT,"link-in-text-block-matches":bR,"link-in-text-block-style-evaluate":hT,"listitem-evaluate":US,"matches-definition-evaluate":rT,"meta-refresh-evaluate":TC,"meta-viewport-scale-evaluate":FS,"multiple-label-evaluate":fk,"nested-interactive-matches":gR,"no-autoplay-audio-evaluate":OS,"no-autoplay-audio-matches":mR,"no-empty-role-matches":fR,"no-explicit-name-required-matches":O1,"no-focusable-content-evaluate":Rk,"no-implicit-explicit-label-evaluate":IT,"no-naming-method-matches":cR,"no-negative-tabindex-matches":lR,"no-role-matches":oR,"non-empty-if-present-evaluate":$E,"not-html-matches":aR,"object-is-loaded-matches":tR,"only-dlitems-evaluate":WS,"only-listitems-evaluate":GS,"p-as-heading-evaluate":CC,"p-as-heading-matches":Q5,"page-no-duplicate-after":eT,"page-no-duplicate-evaluate":Zk,"presentation-role-conflict-matches":J5,"presentational-role-evaluate":VE,"region-after":DC,"region-evaluate":vC,"same-caption-summary-evaluate":IE,"scope-value-evaluate":FE,"scrollable-region-focusable-matches":U5,"skip-link-evaluate":hC,"skip-link-matches":W5,"structured-dlitems-evaluate":$S,"summary-interactive-matches":$5,"svg-namespace-matches":au,"svg-non-empty-title-evaluate":HE,"tabindex-evaluate":Tk,"table-or-grid-role-matches":j5,"target-offset-evaluate":kS,"target-size-evaluate":wS,"td-has-header-evaluate":TE,"td-headers-attr-evaluate":SE,"th-has-data-cells-evaluate":CE,"title-only-evaluate":ck,"unique-frame-title-after":pC,"unique-frame-title-evaluate":dC,"unsupportedrole-evaluate":RT,"valid-lang-evaluate":rk,"valid-scrollable-semantics-evaluate":kT,"widget-not-inline-matches":q5,"window-is-top-matches":P5,"xml-lang-mismatch-evaluate":ek,"xml-lang-mismatch-matches":M5},To=xF;function DF(e){this.id=e.id,this.data=null,this.relatedNodes=[],this.result=null;}var iu=DF;function ou(e){if(typeof e=="string"){if(To[e])return To[e];if(/^\s*function[\s\w]*\(/.test(e))return new Function("return "+e+";")();throw new ReferenceError("Function ID does not exist in the metadata-function-map: ".concat(e))}return e}function q1(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return (Array.isArray(e)||de(e)!=="object")&&(e={value:e}),e}function Vn(e){e&&(this.id=e.id,this.configure(e));}Vn.prototype.enabled=true,Vn.prototype.run=function(t,r,n,a,i){r=r||{};var o=r.hasOwnProperty("enabled")?r.enabled:this.enabled,s=this.getOptions(r.options);if(o){var l=new iu(this),u=As(l,r,a,i),c;try{c=this.evaluate.call(u,t.actualNode,s,t,n);}catch(f){t&&t.actualNode&&(f.errorNode=lr.toSpec(t)),i(f);return}u.isAsync||(l.result=c,a(l));}else a(null);},Vn.prototype.runSync=function(t,r,n){r=r||{};var a=r,i=a.enabled,o=i===void 0?this.enabled:i;if(!o)return null;var s=this.getOptions(r.options),l=new iu(this),u=As(l);u.async=function(){throw new Error("Cannot run async check while in a synchronous run")};var c;try{c=this.evaluate.call(u,t.actualNode,s,t,n);}catch(f){throw t&&t.actualNode&&(f.errorNode=lr.toSpec(t)),f}return l.result=c,l},Vn.prototype.configure=function(t){var r=this;(!t.evaluate||To[t.evaluate])&&(this._internalCheck=true),t.hasOwnProperty("enabled")&&(this.enabled=t.enabled),t.hasOwnProperty("options")&&(this._internalCheck?this.options=q1(t.options):this.options=t.options),["evaluate","after"].filter(function(n){return t.hasOwnProperty(n)}).forEach(function(n){return r[n]=ou(t[n])});},Vn.prototype.getOptions=function(t){return this._internalCheck?Ps(this.options,q1(t||{})):t||this.options};var B1=Vn;function AF(e){this.id=e.id,this.result=Xe.NA,this.pageLevel=e.pageLevel,this.impact=null,this.nodes=[];}var Ro=AF;function Ut(e,t){this._audit=t,this.id=e.id,this.selector=e.selector||"*",e.impact&&(at(Xe.impact.includes(e.impact),"Impact ".concat(e.impact," is not a valid impact")),this.impact=e.impact),this.excludeHidden=typeof e.excludeHidden=="boolean"?e.excludeHidden:true,this.enabled=typeof e.enabled=="boolean"?e.enabled:true,this.pageLevel=typeof e.pageLevel=="boolean"?e.pageLevel:false,this.reviewOnFail=typeof e.reviewOnFail=="boolean"?e.reviewOnFail:false,this.any=e.any||[],this.all=e.all||[],this.none=e.none||[],this.tags=e.tags||[],this.preload=!!e.preload,this.actIds=e.actIds,e.matches&&(this.matches=ou(e.matches));}Ut.prototype.matches=function(){return true},Ut.prototype.gather=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n="mark_gather_start_"+this.id,a="mark_gather_end_"+this.id,i="mark_isVisibleToScreenReaders_start_"+this.id,o="mark_isVisibleToScreenReaders_end_"+this.id;r.performanceTimer&<.mark(n);var s=Bl(this.selector,t);return this.excludeHidden&&(r.performanceTimer&<.mark(i),s=s.filter(function(l){return wt(l)}),r.performanceTimer&&(lt.mark(o),lt.measure("rule_"+this.id+"#gather_axe.utils.isVisibleToScreenReaders",i,o))),r.performanceTimer&&(lt.mark(a),lt.measure("rule_"+this.id+"#gather",n,a)),s},Ut.prototype.runChecks=function(t,r,n,a,i,o){var s=this,l=Ar();this[t].forEach(function(u){var c=s._audit.checks[u.id||u],f=fo(c,s.id,n);l.defer(function(g,w){c.run(r,f,a,g,function(k){w(new bo({ruleId:s.id,method:"".concat(c.id,"#evaluate"),errorNode:new sr(r),error:k}));});});}),l.then(function(u){u=u.filter(function(c){return c}),i({type:t,results:u});}).catch(o);},Ut.prototype.runChecksSync=function(t,r,n,a){var i=this,o=[];return this[t].forEach(function(s){var l=i._audit.checks[s.id||s],u=fo(l,i.id,n);o.push(l.runSync(r,u,a));}),o=o.filter(function(s){return s}),{type:t,results:o}},Ut.prototype.run=function(t){var r=this,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0;n.performanceTimer&&this._trackPerformance();var o=Ar(),s=new Ro(this),l;try{l=this.gatherAndMatchNodes(t,n);}catch(u){i(u);return}n.performanceTimer&&this._logGatherPerformance(l),l.forEach(function(u){o.defer(function(c,f){var g=Ar();["any","all","none"].forEach(function(w){g.defer(function(k,P){r.runChecks(w,u,n,t,k,P);});}),g.then(function(w){var k=H1(w);k&&(k.node=new sr(u),s.nodes.push(k),r.reviewOnFail&&(["any","all"].forEach(function(P){k[P].forEach(function(j){j.result===false&&(j.result=void 0);});}),k.none.forEach(function(P){P.result===true&&(P.result=void 0);}))),c();}).catch(function(w){return f(w)});});}),o.then(function(){n.performanceTimer&&r._logRulePerformance(),setTimeout(function(){a(s);},0);}).catch(function(u){n.performanceTimer&&r._logRulePerformance(),i(u);});},Ut.prototype.runSync=function(t){var r=this,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};n.performanceTimer&&this._trackPerformance();var a=new Ro(this),i=this.gatherAndMatchNodes(t,n);return n.performanceTimer&&this._logGatherPerformance(i),i.forEach(function(o){var s=[];["any","all","none"].forEach(function(u){s.push(r.runChecksSync(u,o,n,t));});var l=H1(s);l&&(l.node=o.actualNode?new sr(o):null,a.nodes.push(l),r.reviewOnFail&&(["any","all"].forEach(function(u){l[u].forEach(function(c){c.result===false&&(c.result=void 0);});}),l.none.forEach(function(u){u.result===true&&(u.result=void 0);})));}),n.performanceTimer&&this._logRulePerformance(),a},Ut.prototype._trackPerformance=function(){this._markStart="mark_rule_start_"+this.id,this._markEnd="mark_rule_end_"+this.id,this._markChecksStart="mark_runchecks_start_"+this.id,this._markChecksEnd="mark_runchecks_end_"+this.id;},Ut.prototype._logGatherPerformance=function(t){mn("gather for ".concat(this.id," (").concat(t.length," nodes): ").concat(lt.timeElapsed(),"ms")),lt.mark(this._markChecksStart);},Ut.prototype._logRulePerformance=function(){lt.mark(this._markChecksEnd),lt.mark(this._markEnd),lt.measure("runchecks_"+this.id,this._markChecksStart,this._markChecksEnd),lt.measure("rule_"+this.id,this._markStart,this._markEnd);};function H1(e){if(e.length){var t=false,r={};return e.forEach(function(n){var a=n.results.filter(function(i){return i});r[n.type]=a,a.length&&(t=true);}),t?r:null}}Ut.prototype.gatherAndMatchNodes=function(t,r){var n=this,a="mark_matches_start_"+this.id,i="mark_matches_end_"+this.id,o=this.gather(t,r);return r.performanceTimer&<.mark(a),o=o.filter(function(s){try{return n.matches(s.actualNode,s,t)}catch(l){throw new bo({ruleId:n.id,method:"#matches",errorNode:new sr(s),error:l})}}),r.performanceTimer&&(lt.mark(i),lt.measure("rule_"+this.id+"#matches",a,i)),o};function _F(e){return Hi(e).map(function(t){var r=e._audit.checks[t.id||t];return r&&typeof r.after=="function"?r:null}).filter(Boolean)}function EF(e,t){var r=[];return e.forEach(function(n){var a=Hi(n);a.forEach(function(i){i.id===t&&(i.node=n.node,r.push(i));});}),r}function CF(e){return e.filter(function(t){return t.filtered!==true})}function SF(e){var t=["any","all","none"],r=e.nodes.filter(function(n){var a=0;return t.forEach(function(i){n[i]=CF(n[i]),a+=n[i].length;}),a>0});return e.pageLevel&&r.length&&(r=[r.reduce(function(n,a){if(n)return t.forEach(function(i){n[i].push.apply(n[i],a[i]);}),n})]),r}Ut.prototype.after=function(t,r){var n=this,a=_F(this);return a.forEach(function(i){var o=EF(t.nodes,i.id),s=fo(i,n.id,r),l;try{l=i.after(o,s.options);}catch(c){var u;throw new bo({ruleId:n.id,method:"".concat(i.id,"#after"),errorNode:(u=t.nodes)===null||u===void 0||(u=u[0])===null||u===void 0?void 0:u.node,error:c})}n.reviewOnFail&&l.forEach(function(c){var f=(n.any.includes(c.id)||n.all.includes(c.id))&&c.result===false,g=n.none.includes(c.id)&&c.result===true;(f||g)&&(c.result=void 0);}),o.forEach(function(c){delete c.node,l.indexOf(c)===-1&&(c.filtered=true);});}),t.nodes=SF(t),t},Ut.prototype.configure=function(t){t.hasOwnProperty("selector")&&(this.selector=t.selector),t.hasOwnProperty("excludeHidden")&&(this.excludeHidden=typeof t.excludeHidden=="boolean"?t.excludeHidden:true),t.hasOwnProperty("enabled")&&(this.enabled=typeof t.enabled=="boolean"?t.enabled:true),t.hasOwnProperty("pageLevel")&&(this.pageLevel=typeof t.pageLevel=="boolean"?t.pageLevel:false),t.hasOwnProperty("reviewOnFail")&&(this.reviewOnFail=typeof t.reviewOnFail=="boolean"?t.reviewOnFail:false),t.hasOwnProperty("any")&&(this.any=t.any),t.hasOwnProperty("all")&&(this.all=t.all),t.hasOwnProperty("none")&&(this.none=t.none),t.hasOwnProperty("tags")&&(this.tags=t.tags),t.hasOwnProperty("actIds")&&(this.actIds=t.actIds),t.hasOwnProperty("matches")&&(this.matches=ou(t.matches)),t.impact&&(at(Xe.impact.includes(t.impact),"Impact ".concat(t.impact," is not a valid impact")),this.impact=t.impact);};var jn=/\{\{.+?\}\}/g,kF=(function(){function e(t){rr(this,e),this.lang="en",this.defaultConfig=t,this.standards=it,this._init(),this._defaultLocale=null;}return zt(e,[{key:"_setDefaultLocale",value:function(){if(!this._defaultLocale){for(var r={checks:{},rules:{},failureSummaries:{},incompleteFallbackMessage:"",lang:this.lang},n=Object.keys(this.data.checks),a=0;a<n.length;a++){var i=n[a],o=this.data.checks[i],s=o.messages,l=s.pass,u=s.fail,c=s.incomplete;r.checks[i]={pass:l,fail:u,incomplete:c};}for(var f=Object.keys(this.data.rules),g=0;g<f.length;g++){var w=f[g],k=this.data.rules[w],P=k.description,j=k.help;r.rules[w]={description:P,help:j};}for(var $=Object.keys(this.data.failureSummaries),G=0;G<$.length;G++){var Y=$[G],K=this.data.failureSummaries[Y],Z=K.failureMessage;r.failureSummaries[Y]={failureMessage:Z};}r.incompleteFallbackMessage=this.data.incompleteFallbackMessage,this._defaultLocale=r;}}},{key:"_resetLocale",value:function(){var r=this._defaultLocale;r&&this.applyLocale(r);}},{key:"_applyCheckLocale",value:function(r){for(var n=Object.keys(r),a=0;a<n.length;a++){var i=n[a];if(!this.data.checks[i])throw new Error('Locale provided for unknown check: "'.concat(i,'"'));this.data.checks[i]=RF(this.data.checks[i],r[i]);}}},{key:"_applyRuleLocale",value:function(r){for(var n=Object.keys(r),a=0;a<n.length;a++){var i=n[a];if(!this.data.rules[i])throw new Error('Locale provided for unknown rule: "'.concat(i,'"'));this.data.rules[i]=FF(this.data.rules[i],r[i]);}}},{key:"_applyFailureSummaries",value:function(r){for(var n=Object.keys(r),a=0;a<n.length;a++){var i=n[a];if(!this.data.failureSummaries[i])throw new Error('Locale provided for unknown failureMessage: "'.concat(i,'"'));this.data.failureSummaries[i]=IF(this.data.failureSummaries[i],r[i]);}}},{key:"applyLocale",value:function(r){this._setDefaultLocale(),r.checks&&this._applyCheckLocale(r.checks),r.rules&&this._applyRuleLocale(r.rules),r.failureSummaries&&this._applyFailureSummaries(r.failureSummaries,"failureSummaries"),r.incompleteFallbackMessage&&(this.data.incompleteFallbackMessage=LF(this.data.incompleteFallbackMessage,r.incompleteFallbackMessage)),r.lang&&(this.lang=r.lang);}},{key:"setAllowedOrigins",value:function(r){var n=j1();this.allowedOrigins=[];var a=ot(r),i;try{for(a.s();!(i=a.n()).done;){var o=i.value;if(o===Xe.allOrigins){this.allowedOrigins=["*"];return}else o!==Xe.sameOrigin?this.allowedOrigins.push(o):n&&this.allowedOrigins.push(n);}}catch(s){a.e(s);}finally{a.f();}}},{key:"_init",value:function(){var r=TF(this.defaultConfig);this.lang=r.lang||"en",this.reporter=r.reporter,this.commands={},this.rules=[],this.checks={},this.brand="axe",this.application="axeAPI",this.tagExclude=["experimental","deprecated"],this.noHtml=r.noHtml,this.allowedOrigins=r.allowedOrigins,$1(r.rules,this,"addRule"),$1(r.checks,this,"addCheck"),this.data={},this.data.checks=r.data&&r.data.checks||{},this.data.rules=r.data&&r.data.rules||{},this.data.failureSummaries=r.data&&r.data.failureSummaries||{},this.data.incompleteFallbackMessage=r.data&&r.data.incompleteFallbackMessage||"",this._constructHelpUrls();}},{key:"registerCommand",value:function(r){this.commands[r.id]=r.callback;}},{key:"addRule",value:function(r){r.metadata&&(this.data.rules[r.id]=r.metadata);var n=this.getRule(r.id);n?n.configure(r):this.rules.push(new Ut(r,this));}},{key:"addCheck",value:function(r){var n=r.metadata;de(n)==="object"&&(this.data.checks[r.id]=n,de(n.messages)==="object"&&Object.keys(n.messages).filter(function(a){return n.messages.hasOwnProperty(a)&&typeof n.messages[a]=="string"}).forEach(function(a){n.messages[a].indexOf("function")===0&&(n.messages[a]=new Function("return "+n.messages[a]+";")());})),this.checks[r.id]?this.checks[r.id].configure(r):this.checks[r.id]=new B1(r);}},{key:"run",value:function(r,n,a,i){this.normalizeOptions(n),sr.setRunOptions(n),m._selectCache=[];var o=MF(this.rules,r,n),s=o.now,l=o.later,u=Ar();s.forEach(function(g){u.defer(z1(g,r,n));});var c=Ar();l.length&&c.defer(function(g){hm(n).then(function(w){return g(w)}).catch(function(w){console.warn("Couldn't load preload assets: ",w),g(void 0);});});var f=Ar();f.defer(u),f.defer(c),f.then(function(g){var w=g.pop();if(w&&w.length){var k=w[0];k&&(r=ve({},r,k));}var P=g[0];if(!l.length){m._selectCache=void 0,a(P.filter(function($){return !!$}));return}var j=Ar();l.forEach(function($){var G=z1($,r,n);j.defer(G);}),j.then(function($){m._selectCache=void 0,a(P.concat($).filter(function(G){return !!G}));}).catch(i);}).catch(i);}},{key:"after",value:function(r,n){var a=this.rules;return r.map(function(i){if(i.error)return i;var o=ya(a,"id",i.id);if(!o)throw new Error("Result for unknown rule. You may be running mismatch axe-core versions");try{return o.after(i,n)}catch(s){if(n.debug)throw s;return G1(o,s)}})}},{key:"getRule",value:function(r){return this.rules.find(function(n){return n.id===r})}},{key:"normalizeOptions",value:function(r){var n=this,a=[],i=[];if(n.rules.forEach(function(c){i.push(c.id),c.tags.forEach(function(f){a.includes(f)||a.push(f);});}),["object","string"].includes(de(r.runOnly))){if(typeof r.runOnly=="string"&&(r.runOnly=[r.runOnly]),Array.isArray(r.runOnly)){var o=r.runOnly.find(function(c){return a.includes(c)}),s=r.runOnly.find(function(c){return i.includes(c)});if(o&&s)throw new Error("runOnly cannot be both rules and tags");s?r.runOnly={type:"rule",values:r.runOnly}:r.runOnly={type:"tag",values:r.runOnly};}var l=r.runOnly;if(l.value&&!l.values&&(l.values=l.value,delete l.value),!Array.isArray(l.values)||l.values.length===0)throw new Error("runOnly.values must be a non-empty array");if(["rule","rules"].includes(l.type))l.type="rule",l.values.forEach(function(c){if(!i.includes(c))throw new Error("unknown rule `"+c+"` in options.runOnly")});else if(["tag","tags",void 0].includes(l.type)){l.type="tag";var u=l.values.filter(function(c){return !a.includes(c)&&!/wcag2[1-3]a{1,3}/.test(c)});u.length!==0&&m.log("Could not find tags `"+u.join("`, `")+"`");}else throw new Error("Unknown runOnly type '".concat(l.type,"'"))}return de(r.rules)==="object"&&Object.keys(r.rules).forEach(function(c){if(!i.includes(c))throw new Error("unknown rule `"+c+"` in options.rules")}),r}},{key:"setBranding",value:function(r){var n={brand:this.brand,application:this.application};typeof r=="string"&&(this.application=r),r&&r.hasOwnProperty("brand")&&r.brand&&typeof r.brand=="string"&&(this.brand=r.brand),r&&r.hasOwnProperty("application")&&r.application&&typeof r.application=="string"&&(this.application=r.application),this._constructHelpUrls(n);}},{key:"_constructHelpUrls",value:function(){var r=this,n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,a=(m.version.match(/^[1-9][0-9]*\.[0-9]+/)||["x.y"])[0];this.rules.forEach(function(i){r.data.rules[i.id]||(r.data.rules[i.id]={});var o=r.data.rules[i.id];(typeof o.helpUrl!="string"||n&&o.helpUrl===W1(n,i.id,a))&&(o.helpUrl=W1(r,i.id,a));});}},{key:"resetRulesAndChecks",value:function(){this._init(),this._resetLocale();}}])})(),V1=kF;function j1(){if(d.origin&&d.origin!=="null")return d.origin;if(d.location&&d.location.origin&&d.location.origin!=="null")return d.location.origin}function TF(e){var t;if(e?(t=Nr(e),t.commons=e.commons):t={},t.reporter=t.reporter||null,t.noHtml=t.noHtml||false,!t.allowedOrigins){var r=j1();t.allowedOrigins=r?[r]:[];}return t.rules=t.rules||[],t.checks=t.checks||[],t.data=ve({checks:{},rules:{}},t.data),t}function $1(e,t,r){var n,a;for(n=0,a=e.length;n<a;n++)t[r](e[n]);}var RF=function(t,r){var n=r.pass,a=r.fail;return typeof n=="string"&&jn.test(n)&&(n=Ur.default.compile(n)),typeof a=="string"&&jn.test(a)&&(a=Ur.default.compile(a)),ve({},t,{messages:{pass:n||t.messages.pass,fail:a||t.messages.fail,incomplete:de(t.messages.incomplete)==="object"?ve({},t.messages.incomplete,r.incomplete):r.incomplete}})},FF=function(t,r){var n=r.help,a=r.description;return typeof n=="string"&&jn.test(n)&&(n=Ur.default.compile(n)),typeof a=="string"&&jn.test(a)&&(a=Ur.default.compile(a)),ve({},t,{help:n||t.help,description:a||t.description})},IF=function(t,r){var n=r.failureMessage;return typeof n=="string"&&jn.test(n)&&(n=Ur.default.compile(n)),ve({},t,{failureMessage:n||t.failureMessage})},LF=function(t,r){return typeof r=="string"&&jn.test(r)&&(r=Ur.default.compile(r)),r||t};function MF(e,t,r){var n={now:[],later:[]},a=e.reduce(function(i,o){return wm(o,t,r)?o.preload?(i.later.push(o),i):(i.now.push(o),i):i},n);return a}function z1(e,t,r){return r.performanceTimer&<.mark("mark_rule_start_"+e.id),function(n,a){e.run(t,r,function(i){return n(i)},function(i){r.debug?a(i):n(G1(e,i));});}}function G1(e,t){var r=t.errorNode,n=vo(t),a=[{id:"error-occurred",result:void 0,data:n,relatedNodes:[]}],i=r||new sr(v.documentElement);return Object.assign(new Ro(e),{error:n,result:Xe.CANTTELL,nodes:[{any:[],all:[],none:a,node:i}]})}function W1(e,t,r){var n=e.brand,a=e.application,i=e.lang;return Xe.helpUrlBase+n+"/"+(r||m.version.substring(0,m.version.lastIndexOf(".")))+"/"+t+"?application="+encodeURIComponent(a)+(i&&i!=="en"?"&lang="+encodeURIComponent(i):"")}function U1(e){var t=d&&"Node"in d&&"NodeList"in d,r=!!v;if(!(t&&r)){if(!e||!e.ownerDocument)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.');r||(Ue.set("globalDocumentSet",true),v=e.ownerDocument),t||(Ue.set("globalWindowSet",true),d=v.defaultView);}}function OF(){Ue.get("globalDocumentSet")&&(Ue.set("globalDocumentSet",false),v=null),Ue.get("globalWindowSet")&&(Ue.set("globalWindowSet",false),d=null);}function PF(){OF(),m._memoizedFns.forEach(function(e){return e.clear()}),Ue.clear(),m._tree=void 0,m._selectorData=void 0,m._selectCache=void 0;}var sn=PF;function X1(e,t,r,n){try{e=new po(e),m._tree=e.flatTree,m._selectorData=Li(e.flatTree);}catch(o){return sn(),n(o)}var a=Ar(),i=m._audit;t.performanceTimer&<.auditStart(),e.frames.length&&t.iframes!==false&&a.defer(function(o,s){of(e,t,"rules",null,o,s);}),a.defer(function(o,s){i.run(e,t,o,s);}),a.then(function(o){try{t.performanceTimer&<.auditEnd();var s=Vi(o.map(function(l){return {results:l}}));e.initiator&&(t.performanceTimer&<.mark("auditAfterStart"),s=i.after(s,t),t.performanceTimer&&(lt.mark("auditAfterEnd"),lt.measure("audit.after","auditAfterStart","auditAfterEnd"),lt.logMeasures("audit.after")),s.forEach(go),s=s.map(ea));try{r(s,sn);}catch(l){sn(),mn(l);}}catch(l){sn(),n(l);}}).catch(function(o){sn(),n(o);});}function NF(e){m._audit=new V1(e);}function qF(e,t,r){var n=r,a=function(l){l instanceof Error||(l=new Error(l)),r(l);},i=e&&e.context||{};i.hasOwnProperty("include")&&!i.include.length&&(i.include=[v]);var o=e&&e.options||{};switch(e.command){case "rules":return X1(i,o,function(s,l){s=lr.mapRawResults(s),n(s),l();},a);case "cleanup-plugin":return Tm(n,a);default:if(m._audit&&m._audit.commands&&m._audit.commands[e.command])return m._audit.commands[e.command](e,r)}}d.top!==d&&(br.subscribe("axe.start",qF),br.subscribe("axe.ping",function(e,t,r){r({axe:true});}));function ja(e){this._run=e.run,this._collect=e.collect,this._registry={},e.commands.forEach(function(t){m._audit.registerCommand(t);});}ja.prototype.run=function(){return this._run.apply(this,arguments)},ja.prototype.collect=function(){return this._collect.apply(this,arguments)},ja.prototype.cleanup=function(t){var r=m.utils.queue(),n=this;Object.keys(this._registry).forEach(function(a){r.defer(function(i){n._registry[a].cleanup(i);});}),r.then(t);},ja.prototype.add=function(t){this._registry[t.id]=t;};function BF(e){m.plugins[e.id]=new ja(e);}var HF=BF;function VF(){var e=m._audit;if(!e)throw new Error("No audit configured");e.resetRulesAndChecks(),oD();}var jF=VF;function $F(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};r.reporter=r.reporter||m._audit.reporter||"v1",m._selectorData={},t instanceof Mt||(t=new km(t));var n=tm(e);if(!n)throw new Error("unknown rule `"+e+"`");n=Object.create(n,{excludeHidden:{value:false}});var a={initiator:true,include:[t],exclude:[],frames:[],page:false,focusable:true,size:{},flatTree:[]},i=n.runSync(a,r);go(i),ea(i);var o=gc([i]);return o.violations.forEach(function(s){return s.nodes.forEach(function(l){l.failureSummary=Sl(l);})}),ve({},an(),o,{toolOptions:r})}function Y1(e){var t,r,n,a=Ae(e,3),i=a[0],o=a[1],s=a[2],l=new TypeError("axe.run arguments are invalid");if(!im(i)){if(s!==void 0)throw l;s=o,o=i,i=v;}if(de(o)!=="object"){if(s!==void 0)throw l;s=o,o={};}if(typeof s!="function"&&s!==void 0)throw l;return o=Nr(o),o.reporter=(t=(r=o.reporter)!==null&&r!==void 0?r:(n=m._audit)===null||n===void 0?void 0:n.reporter)!==null&&t!==void 0?t:"v1",{context:i,options:o,callback:s}}var su=function(){};function zF(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];U1(t[0]);var n=Y1(t),a=n.context,i=n.options,o=n.callback,s=o===void 0?su:o,l=GF(s),u=l.thenable,c=l.resolve,f=l.reject;try{at(m._audit,"No audit configured"),at(!m._running,"Axe is already running. Use `await axe.run()` to wait for the previous run to finish before starting a new run.");}catch(k){return UF(k,s)}m._running=true,i.performanceTimer&<.start();function g(k,P){var j=function(Y){i.performanceTimer&&(lt.mark("reporterEnd"),lt.measure("reporter","reporterStart","reporterEnd"),lt.logMeasures("reporter"),lt.end()),m._running=false,P();try{c(Y);}catch(K){m.log(K);}},$=function(Y){m._running=false,P();try{f(Y);}catch(K){m.log(K);}};try{i.performanceTimer&<.mark("reporterStart"),WF(k,i,j,$);}catch(G){$(G);}}function w(k){i.performanceTimer&<.end(),m._running=false,s(k),f(k);}return m._runRules(a,i,g,w),u}function GF(e){var t,r,n;return typeof Promise=="function"&&e===su?t=new Promise(function(a,i){r=i,n=a;}):(n=function(i){return e(null,i)},r=function(i){return e(i)}),{thenable:t,reject:r,resolve:n}}function WF(e,t,r,n){var a=jl(t.reporter),i=a(e,t,r,n);i!==void 0&&r(i);}function UF(e,t){if(typeof t=="function"&&t!==su){t(e.message);return}throw e}function XF(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=Y1(t),a=n.options,i=n.context;at(m._audit,"Axe is not configured. Audit is missing."),at(!m._running,"Axe is already running. Use `await axe.run()` to wait for the previous run to finish before starting a new run.");var o=new po(i,m._tree);return m._tree=o.flatTree,m._selectorData=Li(o.flatTree),m._running=true,a.elementRef=false,new Promise(function(s,l){m._audit.run(o,a,s,l);}).then(function(s){s=lr.mapRawResults(s);var l=o.frames.map(function(c){var f=c.node;return lr.toSpec(f)}),u;return o.initiator&&(u=an()),m._running=false,sn(),{results:s,frames:l,environmentData:u}}).catch(function(s){return m._running=false,sn(),Promise.reject(s)})}function YF(e){var t,r,n,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};a=Nr(a);var i=e.find(function(l){return l.environmentData})||{},o=i.environmentData;m._audit.normalizeOptions(a),a.reporter=(t=(r=a.reporter)!==null&&r!==void 0?r:(n=m._audit)===null||n===void 0?void 0:n.reporter)!==null&&t!==void 0?t:"v1",KF(e);var s=Vi(e);return s=m._audit.after(s,a),s.forEach(go),s=s.map(ea),ZF(s,ve({environmentData:o},a))}function KF(e){var t=[],r=ot(e),n;try{for(r.s();!(n=r.n()).done;){var a=n.value,i=t.shift();if(a){a.frameSpec=i??null;var o=JF(a);t.unshift.apply(t,De(o));}}}catch(s){r.e(s);}finally{r.f();}}function JF(e){var t=e.frames,r=e.frameSpec;return r?t.map(function(n){return lr.mergeSpecs(n,r)}):t}function ZF(e,t){return new Promise(function(r,n){var a=jl(t.reporter);a(e,t,r,n);})}function QF(e){if(m._tree)throw new Error("Axe is already setup. Call `axe.teardown()` before calling `axe.setup` again.");return e&&de(e.documentElement)==="object"&&de(e.defaultView)==="object"&&(e=e.documentElement),U1(e),m._tree=El(e),m._selectorData=Li(m._tree),m._tree[0]}var e3=QF,t3=function(t,r,n){console.warn('"na" reporter will be deprecated in axe v4.0. Use the "v2" reporter instead.'),typeof r=="function"&&(n=r,r={});var a=r,i=a.environmentData,o=J(a,X);n(ve({},an(i),{toolOptions:o},Ma(t,r)));},r3=t3,n3=function(t,r,n){typeof r=="function"&&(n=r,r={});var a=r,i=a.environmentData,o=J(a,Q);r.resultTypes=["violations"];var s=Ma(t,r),l=s.violations;n(ve({},an(i),{toolOptions:o,violations:l}));},a3=n3,i3=function(t,r,n){if(typeof r=="function"&&(n=r,r={}),!t||!Array.isArray(t))return n(t);var a=t.map(function(i){for(var o=ve({},i),s=["passes","violations","incomplete","inapplicable"],l=0,u=s;l<u.length;l++){var c=u[l];o[c]=lr.mapRawNodeResults(o[c]);}return o});n(a);},K1=i3,o3=function(t,r,n){typeof r=="function"&&(n=r,r={});var a=r,i=a.environmentData,o=J(a,C);K1(t,o,function(s){var l=an(i);n({raw:s,env:l});});},s3=o3,l3=function(t,r,n){typeof r=="function"&&(n=r,r={});var a=r,i=a.environmentData,o=J(a,h),s=Ma(t,r),l=function(c){c.nodes.forEach(function(f){f.failureSummary=Sl(f);});};s.incomplete.forEach(l),s.violations.forEach(l),n(ve({},an(i),{toolOptions:o},s));},u3=l3,c3=function(t,r,n){typeof r=="function"&&(n=r,r={});var a=r,i=a.environmentData,o=J(a,S),s=Ma(t,r);n(ve({},an(i),{toolOptions:o},s));},d3=c3,f3={base:{Audit:V1,CheckResult:iu,Check:B1,Context:po,RuleResult:Ro,Rule:Ut,metadataFunctionMap:To},public:{reporters:Pa},helpers:{failureSummary:Sl,incompleteFallbackMessage:kl,processAggregate:Ma},utils:{setDefaultFrameMessenger:Qd,cacheNodeSelectors:Up,getNodesMatchingExpression:Gp,convertSelector:Oi},commons:{dom:{nativelyHidden:cf,displayHidden:df,visibilityHidden:ff,contentVisibiltyHidden:pf,ariaHidden:mf,opacityHidden:hf,scrollHidden:gf,overflowHidden:vf,clipHidden:bf,areaHidden:Hs,detailsHidden:yf}}},p3=f3;m._thisWillBeDeletedDoNotUse=p3,m.constants=Xe,m.log=mn,m.AbstractVirtualNode=Mt,m.SerialVirtualNode=km,m.VirtualNode=Dl,m._cache=Ue,m.imports=wc,m.cleanup=Tm,m.configure=V_,m.frameMessenger=j_,m.getRules=z_,m._load=NF,m.plugins={},m.registerPlugin=HF,m.hasReporter=Fm,m.getReporter=jl,m.addReporter=B_,m.reset=jF,m._runRules=X1,m.runVirtualRule=$F,m.run=zF,m.setup=e3,m.teardown=sn,m.runPartial=XF,m.finishRun=YF,m.commons=Qm,m.utils=Yo,m.addReporter("na",r3),m.addReporter("no-passes",a3),m.addReporter("rawEnv",s3),m.addReporter("raw",K1),m.addReporter("v1",u3),m.addReporter("v2",d3,true);}))(),m._load({lang:"en",data:{rules:{accesskeys:{description:"Ensure every accesskey attribute value is unique",help:"accesskey attribute value should be unique"},"area-alt":{description:"Ensure <area> elements of image maps have alternative text",help:"Active <area> elements must have alternative text"},"aria-allowed-attr":{description:"Ensure an element's role supports its ARIA attributes",help:"Elements must only use supported ARIA attributes"},"aria-allowed-role":{description:"Ensure role attribute has an appropriate value for the element",help:"ARIA role should be appropriate for the element"},"aria-braille-equivalent":{description:"Ensure aria-braillelabel and aria-brailleroledescription have a non-braille equivalent",help:"aria-braille attributes must have a non-braille equivalent"},"aria-command-name":{description:"Ensure every ARIA button, link and menuitem has an accessible name",help:"ARIA commands must have an accessible name"},"aria-conditional-attr":{description:"Ensure ARIA attributes are used as described in the specification of the element's role",help:"ARIA attributes must be used as specified for the element's role"},"aria-deprecated-role":{description:"Ensure elements do not use deprecated roles",help:"Deprecated ARIA roles must not be used"},"aria-dialog-name":{description:"Ensure 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:'Ensure 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:"Ensure 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:"Ensure every ARIA input field has an accessible name",help:"ARIA input fields must have an accessible name"},"aria-meter-name":{description:"Ensure every ARIA meter node has an accessible name",help:"ARIA meter nodes must have an accessible name"},"aria-progressbar-name":{description:"Ensure every ARIA progressbar node has an accessible name",help:"ARIA progressbar nodes must have an accessible name"},"aria-prohibited-attr":{description:"Ensure ARIA attributes are not prohibited for an element's role",help:"Elements must only use permitted ARIA attributes"},"aria-required-attr":{description:"Ensure elements with ARIA roles have all required ARIA attributes",help:"Required ARIA attributes must be provided"},"aria-required-children":{description:"Ensure elements with an ARIA role that require child roles contain them",help:"Certain ARIA roles must contain particular children"},"aria-required-parent":{description:"Ensure 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:"Ensure all elements with a role attribute use a valid value",help:"ARIA roles used must conform to valid values"},"aria-text":{description:'Ensure role="text" is used on elements with no focusable descendants',help:'"role=text" should have no focusable descendants'},"aria-toggle-field-name":{description:"Ensure every ARIA toggle field has an accessible name",help:"ARIA toggle fields must have an accessible name"},"aria-tooltip-name":{description:"Ensure every ARIA tooltip node has an accessible name",help:"ARIA tooltip nodes must have an accessible name"},"aria-treeitem-name":{description:"Ensure every ARIA treeitem node has an accessible name",help:"ARIA treeitem nodes should have an accessible name"},"aria-valid-attr-value":{description:"Ensure all ARIA attributes have valid values",help:"ARIA attributes must conform to valid values"},"aria-valid-attr":{description:"Ensure attributes that begin with aria- are valid ARIA attributes",help:"ARIA attributes must conform to valid names"},"audio-caption":{description:"Ensure <audio> elements have captions",help:"<audio> elements must have a captions track"},"autocomplete-valid":{description:"Ensure the autocomplete attribute is correct and suitable for the form field",help:"autocomplete attribute must be used correctly"},"avoid-inline-spacing":{description:"Ensure that text spacing set through style attributes can be adjusted with custom stylesheets",help:"Inline text spacing must be adjustable with custom stylesheets"},blink:{description:"Ensure <blink> elements are not used",help:"<blink> elements are deprecated and must not be used"},"button-name":{description:"Ensure buttons have discernible text",help:"Buttons must have discernible text"},bypass:{description:"Ensure each page has at least one mechanism for a user to bypass navigation and jump straight to the content",help:"Page must have means to bypass repeated blocks"},"color-contrast-enhanced":{description:"Ensure the contrast between foreground and background colors meets WCAG 2 AAA enhanced contrast ratio thresholds",help:"Elements must meet enhanced color contrast ratio thresholds"},"color-contrast":{description:"Ensure the contrast between foreground and background colors meets WCAG 2 AA minimum contrast ratio thresholds",help:"Elements must meet minimum color contrast ratio thresholds"},"css-orientation-lock":{description:"Ensure content is not locked to any specific display orientation, and the content is operable in all display orientations",help:"CSS Media queries must not lock display orientation"},"definition-list":{description:"Ensure <dl> elements are structured correctly",help:"<dl> elements must only directly contain properly-ordered <dt> and <dd> groups, <script>, <template> or <div> elements"},dlitem:{description:"Ensure <dt> and <dd> elements are contained by a <dl>",help:"<dt> and <dd> elements must be contained by a <dl>"},"document-title":{description:"Ensure each HTML document contains a non-empty <title> element",help:"Documents must have <title> element to aid in navigation"},"duplicate-id-active":{description:"Ensure every id attribute value of active elements is unique",help:"IDs of active elements must be unique"},"duplicate-id-aria":{description:"Ensure every id attribute value used in ARIA and in labels is unique",help:"IDs used in ARIA and labels must be unique"},"duplicate-id":{description:"Ensure every id attribute value is unique",help:"id attribute value must be unique"},"empty-heading":{description:"Ensure headings have discernible text",help:"Headings should not be empty"},"empty-table-header":{description:"Ensure table headers have discernible text",help:"Table header text should not be empty"},"focus-order-semantics":{description:"Ensure elements in the focus order have a role appropriate for interactive content",help:"Elements in the focus order should have an appropriate role"},"form-field-multiple-labels":{description:"Ensure form field does not have multiple label elements",help:"Form field must not have multiple label elements"},"frame-focusable-content":{description:"Ensure <frame> and <iframe> elements with focusable content do not have tabindex=-1",help:"Frames with focusable content must not have tabindex=-1"},"frame-tested":{description:"Ensure <iframe> and <frame> elements contain the axe-core script",help:"Frames should be tested with axe-core"},"frame-title-unique":{description:"Ensure <iframe> and <frame> elements contain a unique title attribute",help:"Frames must have a unique title attribute"},"frame-title":{description:"Ensure <iframe> and <frame> elements have an accessible name",help:"Frames must have an accessible name"},"heading-order":{description:"Ensure the order of headings is semantically correct",help:"Heading levels should only increase by one"},"hidden-content":{description:"Inform users about hidden content.",help:"Hidden content on the page should be analyzed"},"html-has-lang":{description:"Ensure every HTML document has a lang attribute",help:"<html> element must have a lang attribute"},"html-lang-valid":{description:"Ensure the lang attribute of the <html> element has a valid value",help:"<html> element must have a valid value for the lang attribute"},"html-xml-lang-mismatch":{description:"Ensure that HTML elements with both valid lang and xml:lang attributes agree on the base language of the page",help:"HTML elements with lang and xml:lang must have the same base language"},"identical-links-same-purpose":{description:"Ensure that links with the same accessible name serve a similar purpose",help:"Links with the same name must have a similar purpose"},"image-alt":{description:"Ensure <img> elements have alternative text or a role of none or presentation",help:"Images must have alternative text"},"image-redundant-alt":{description:"Ensure image alternative is not repeated as text",help:"Alternative text of images should not be repeated as text"},"input-button-name":{description:"Ensure input buttons have discernible text",help:"Input buttons must have discernible text"},"input-image-alt":{description:'Ensure <input type="image"> elements have alternative text',help:"Image buttons must have alternative text"},"label-content-name-mismatch":{description:"Ensure that elements labelled through their content must have their visible text as part of their accessible name",help:"Elements must have their visible text as part of their accessible name"},"label-title-only":{description:"Ensure that every form element has a visible label and is not solely labeled using hidden labels, or the title or aria-describedby attributes",help:"Form elements should have a visible label"},label:{description:"Ensure every form element has a label",help:"Form elements must have labels"},"landmark-banner-is-top-level":{description:"Ensure the banner landmark is at top level",help:"Banner landmark should not be contained in another landmark"},"landmark-complementary-is-top-level":{description:"Ensure the complementary landmark or aside is at top level",help:"Aside should not be contained in another landmark"},"landmark-contentinfo-is-top-level":{description:"Ensure the contentinfo landmark is at top level",help:"Contentinfo landmark should not be contained in another landmark"},"landmark-main-is-top-level":{description:"Ensure the main landmark is at top level",help:"Main landmark should not be contained in another landmark"},"landmark-no-duplicate-banner":{description:"Ensure the document has at most one banner landmark",help:"Document should not have more than one banner landmark"},"landmark-no-duplicate-contentinfo":{description:"Ensure the document has at most one contentinfo landmark",help:"Document should not have more than one contentinfo landmark"},"landmark-no-duplicate-main":{description:"Ensure the document has at most one main landmark",help:"Document should not have more than one main landmark"},"landmark-one-main":{description:"Ensure the document has a main landmark",help:"Document should have one main landmark"},"landmark-unique":{description:"Ensure landmarks are unique",help:"Landmarks should have a unique role or role/label/title (i.e. accessible name) combination"},"link-in-text-block":{description:"Ensure links are distinguished from surrounding text in a way that does not rely on color",help:"Links must be distinguishable without relying on color"},"link-name":{description:"Ensure links have discernible text",help:"Links must have discernible text"},list:{description:"Ensure that lists are structured correctly",help:"<ul> and <ol> must only directly contain <li>, <script> or <template> elements"},listitem:{description:"Ensure <li> elements are used semantically",help:"<li> elements must be contained in a <ul> or <ol>"},marquee:{description:"Ensure <marquee> elements are not used",help:"<marquee> elements are deprecated and must not be used"},"meta-refresh-no-exceptions":{description:'Ensure <meta http-equiv="refresh"> is not used for delayed refresh',help:"Delayed refresh must not be used"},"meta-refresh":{description:'Ensure <meta http-equiv="refresh"> is not used for delayed refresh',help:"Delayed refresh under 20 hours must not be used"},"meta-viewport-large":{description:'Ensure <meta name="viewport"> can scale a significant amount',help:"Users should be able to zoom and scale the text up to 500%"},"meta-viewport":{description:'Ensure <meta name="viewport"> does not disable text scaling and zooming',help:"Zooming and scaling must not be disabled"},"nested-interactive":{description:"Ensure interactive controls are not nested as they are not always announced by screen readers or can cause focus problems for assistive technologies",help:"Interactive controls must not be nested"},"no-autoplay-audio":{description:"Ensure <video> or <audio> elements do not autoplay audio for more than 3 seconds without a control mechanism to stop or mute the audio",help:"<video> or <audio> elements must not play automatically"},"object-alt":{description:"Ensure <object> elements have alternative text",help:"<object> elements must have alternative text"},"p-as-heading":{description:"Ensure bold, italic text and font-size is not used to style <p> elements as a heading",help:"Styled <p> elements must not be used as headings"},"page-has-heading-one":{description:"Ensure that the page, or at least one of its frames contains a level-one heading",help:"Page should contain a level-one heading"},"presentation-role-conflict":{description:"Ensure elements marked as presentational do not have global ARIA or tabindex so that all screen readers ignore them",help:"Elements marked as presentational should be consistently ignored"},region:{description:"Ensure all page content is contained by landmarks",help:"All page content should be contained by landmarks"},"role-img-alt":{description:'Ensure [role="img"] elements have alternative text',help:'[role="img"] elements must have alternative text'},"scope-attr-valid":{description:"Ensure the scope attribute is used correctly on tables",help:"scope attribute should be used correctly"},"scrollable-region-focusable":{description:"Ensure elements that have scrollable content are accessible by keyboard in Safari",help:"Scrollable region must have keyboard access"},"select-name":{description:"Ensure select element has an accessible name",help:"Select element must have an accessible name"},"server-side-image-map":{description:"Ensure that server-side image maps are not used",help:"Server-side image maps must not be used"},"skip-link":{description:"Ensure all skip links have a focusable target",help:"The skip-link target should exist and be focusable"},"summary-name":{description:"Ensure summary elements have discernible text",help:"Summary elements must have discernible text"},"svg-img-alt":{description:"Ensure <svg> elements with an img, graphics-document or graphics-symbol role have accessible text",help:"<svg> elements with an img role must have alternative text"},tabindex:{description:"Ensure tabindex attribute values are not greater than 0",help:"Elements should not have tabindex greater than zero"},"table-duplicate-name":{description:"Ensure the <caption> element does not contain the same text as the summary attribute",help:"Tables should not have the same summary and caption"},"table-fake-caption":{description:"Ensure that tables with a caption use the <caption> element.",help:"Data or header cells must not be used to give caption to a data table."},"target-size":{description:"Ensure touch targets have sufficient size and space",help:"All touch targets must be 24px large, or leave sufficient space"},"td-has-header":{description:"Ensure that each non-empty data cell in a <table> larger than 3 by 3 has one or more table headers",help:"Non-empty <td> elements in larger <table> must have an associated table header"},"td-headers-attr":{description:"Ensure that each cell in a table that uses the headers attribute refers only to other <th> elements in that table",help:"Table cell headers attributes must refer to other <th> elements in the same table"},"th-has-data-cells":{description:"Ensure that <th> elements and elements with role=columnheader/rowheader have data cells they describe",help:"Table headers in a data table must refer to data cells"},"valid-lang":{description:"Ensure lang attributes have valid values",help:"lang attribute must have a valid value"},"video-caption":{description:"Ensure <video> elements have captions",help:"<video> elements must have captions"}},checks:{abstractrole:{impact:"serious",messages:{pass:"Abstract roles are not used",fail:{singular:"Abstract role cannot be directly used: ${data.values}",plural:"Abstract roles cannot be directly used: ${data.values}"}}},"aria-allowed-attr-elm":{messages:{pass:"ARIA attributes are allowed for this element",fail:{singular:"ARIA attribute is not allowed on ${data.nodeName} elements: ${data.values}",plural:"ARIA attributes are not allowed on ${data.nodeName} elements: ${data.values}"}}},"aria-allowed-attr":{impact:"critical",messages:{pass:"ARIA attributes are used correctly for the defined role",fail:{singular:"ARIA attribute is not allowed: ${data.values}",plural:"ARIA attributes are not allowed: ${data.values}"},incomplete:"Check that there is no problem if the ARIA attribute is ignored on this element: ${data.values}"}},"aria-allowed-role":{impact:"minor",messages:{pass:"ARIA role is allowed for given element",fail:{singular:"ARIA role ${data.values} is not allowed for given element",plural:"ARIA roles ${data.values} are not allowed for given element"},incomplete:{singular:"ARIA role ${data.values} must be removed when the element is made visible, as it is not allowed for the element",plural:"ARIA roles ${data.values} must be removed when the element is made visible, as they are not allowed for the element"}}},"aria-busy":{impact:"serious",messages:{pass:"Element has an aria-busy attribute",fail:'Element uses aria-busy="true" while showing a loader'}},"aria-conditional-attr":{impact:"serious",messages:{pass:"ARIA attribute is allowed",fail:{checkbox:'Remove aria-checked, or set it to "${data.checkState}" to match the real checkbox state',rowSingular:"This attribute is supported with treegrid rows, but not ${data.ownerRole}: ${data.invalidAttrs}",rowPlural:"These attributes are supported with treegrid rows, but not ${data.ownerRole}: ${data.invalidAttrs}"}}},"aria-errormessage":{impact:"critical",messages:{pass:"aria-errormessage exists and references elements visible to screen readers that use a supported aria-errormessage technique",fail:{singular:"aria-errormessage value `${data.values}` must use a technique to announce the message (e.g., aria-live, aria-describedby, role=alert, etc.)",plural:"aria-errormessage values `${data.values}` must use a technique to announce the message (e.g., aria-live, aria-describedby, role=alert, etc.)",unsupported:"Multiple IDs in aria-errormessage is not widely supported in assistive technologies",hidden:"aria-errormessage value `${data.values}` cannot reference a hidden element"},incomplete:{singular:"Ensure aria-errormessage value `${data.values}` references an existing element",plural:"Ensure aria-errormessage values `${data.values}` reference existing elements",idrefs:"Unable to determine if aria-errormessage element exists on the page: ${data.values}"}}},"aria-hidden-body":{impact:"critical",messages:{pass:"No aria-hidden attribute is present on document body",fail:"aria-hidden=true should not be present on the document body"}},"aria-level":{impact:"serious",messages:{pass:"aria-level values are valid",incomplete:"aria-level values greater than 6 are not supported in all screenreader and browser combinations"}},"aria-prohibited-attr":{impact:"serious",messages:{pass:"ARIA attribute is allowed",fail:{hasRolePlural:'${data.prohibited} attributes cannot be used with role "${data.role}".',hasRoleSingular:'${data.prohibited} attribute cannot be used with role "${data.role}".',noRolePlural:"${data.prohibited} attributes cannot be used on a ${data.nodeName} with no valid role attribute.",noRoleSingular:"${data.prohibited} attribute cannot be used on a ${data.nodeName} with no valid role attribute."},incomplete:{hasRoleSingular:'${data.prohibited} attribute is not well supported with role "${data.role}".',hasRolePlural:'${data.prohibited} attributes are not well supported with role "${data.role}".',noRoleSingular:"${data.prohibited} attribute is not well supported on a ${data.nodeName} with no valid role attribute.",noRolePlural:"${data.prohibited} attributes are not well supported on a ${data.nodeName} with no valid role attribute."}}},"aria-required-attr":{impact:"critical",messages:{pass:"All required ARIA attributes are present",fail:{singular:"Required ARIA attribute not present: ${data.values}",plural:"Required ARIA attributes not present: ${data.values}"}}},"aria-required-children":{impact:"critical",messages:{pass:{default:"Required ARIA children are present","aria-busy":"Element has an aria-busy attribute, so it is allowed to omit required children"},fail:{singular:"Required ARIA child role not present: ${data.values}",plural:"Required ARIA children role not present: ${data.values}",unallowed:"Element has children which are not allowed: ${data.values}","aria-busy-fail":'Element has children which are not allowed: ${data.values}; Having aria-busy="true" does not allow children with roles that are not allowed'},incomplete:{singular:"Expecting ARIA child role to be added: ${data.values}",plural:"Expecting ARIA children role to be added: ${data.values}"}}},"aria-required-parent":{impact:"critical",messages:{pass:"Required ARIA parent role present",fail:{singular:"Required ARIA parent role not present: ${data.values}",plural:"Required ARIA parents role not present: ${data.values}"}}},"aria-roledescription":{impact:"serious",messages:{pass:"aria-roledescription used on a supported semantic role",incomplete:"Check that the aria-roledescription is announced by supported screen readers",fail:"Give the element a role that supports aria-roledescription"}},"aria-unsupported-attr":{impact:"critical",messages:{pass:"ARIA attribute is supported",fail:"ARIA attribute is not widely supported in screen readers and assistive technologies: ${data.values}"}},"aria-valid-attr-value":{impact:"critical",messages:{pass:"ARIA attribute values are valid",fail:{singular:"Invalid ARIA attribute value: ${data.values}",plural:"Invalid ARIA attribute values: ${data.values}"},incomplete:{noId:"ARIA attribute element ID does not exist on the page: ${data.needsReview}",noIdShadow:"ARIA attribute element ID does not exist on the page or is a descendant of a different shadow DOM tree: ${data.needsReview}",ariaCurrent:'ARIA attribute value is invalid and will be treated as "aria-current=true": ${data.needsReview}',idrefs:"Unable to determine if ARIA attribute element ID exists on the page: ${data.needsReview}",empty:"ARIA attribute value is ignored while empty: ${data.needsReview}",controlsWithinPopup:"Unable to determine if aria-controls referenced ID exists on the page while using aria-haspopup: ${data.needsReview}"}}},"aria-valid-attr":{impact:"critical",messages:{pass:"ARIA attribute name is valid",fail:{singular:"Invalid ARIA attribute name: ${data.values}",plural:"Invalid ARIA attribute names: ${data.values}"}}},"braille-label-equivalent":{impact:"serious",messages:{pass:"aria-braillelabel is used on an element with accessible text",fail:"aria-braillelabel is used on an element with no accessible text",incomplete:"Unable to compute accessible text"}},"braille-roledescription-equivalent":{impact:"serious",messages:{pass:"aria-brailleroledescription is used on an element with aria-roledescription",fail:{noRoleDescription:"aria-brailleroledescription is used on an element with no aria-roledescription",emptyRoleDescription:"aria-brailleroledescription is used on an element with an empty aria-roledescription"}}},deprecatedrole:{impact:"minor",messages:{pass:"ARIA role is not deprecated",fail:"The role used is deprecated: ${data}"}},fallbackrole:{impact:"serious",messages:{pass:"Only one role value used",fail:"Use only one role value, since fallback roles are not supported in older browsers",incomplete:"Use only role 'presentation' or 'none' since they are synonymous."}},"has-global-aria-attribute":{impact:"minor",messages:{pass:{singular:"Element has global ARIA attribute: ${data.values}",plural:"Element has global ARIA attributes: ${data.values}"},fail:"Element does not have global ARIA attribute"}},"has-widget-role":{impact:"minor",messages:{pass:"Element has a widget role.",fail:"Element does not have a widget role."}},invalidrole:{impact:"critical",messages:{pass:"ARIA role is valid",fail:{singular:"Role must be one of the valid ARIA roles: ${data.values}",plural:"Roles must be one of the valid ARIA roles: ${data.values}"}}},"is-element-focusable":{impact:"minor",messages:{pass:"Element is focusable.",fail:"Element is not focusable."}},"no-implicit-explicit-label":{impact:"serious",messages:{pass:"There is no mismatch between a <label> and accessible name",incomplete:"Check that the <label> does not need be part of the ARIA ${data} field's name"}},unsupportedrole:{impact:"critical",messages:{pass:"ARIA role is supported",fail:"The role used is not widely supported in screen readers and assistive technologies: ${data}"}},"valid-scrollable-semantics":{impact:"minor",messages:{pass:"Element has valid semantics for an element in the focus order.",fail:"Element has invalid semantics for an element in the focus order."}},"color-contrast-enhanced":{impact:"serious",messages:{pass:"Element has sufficient color contrast of ${data.contrastRatio}",fail:{default:"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}",fgOnShadowColor:"Element has insufficient color contrast of ${data.contrastRatio} between the foreground and shadow color (foreground color: ${data.fgColor}, text-shadow color: ${data.shadowColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}",shadowOnBgColor:"Element has insufficient color contrast of ${data.contrastRatio} between the shadow color and background color (text-shadow color: ${data.shadowColor}, background color: ${data.bgColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}"},incomplete:{default:"Unable to determine contrast ratio",bgImage:"Element's background color could not be determined due to a background image",bgGradient:"Element's background color could not be determined due to a background gradient",imgNode:"Element's background color could not be determined because element contains an image node",bgOverlap:"Element's background color could not be determined because it is overlapped by another element",fgAlpha:"Element's foreground color could not be determined because of alpha transparency",elmPartiallyObscured:"Element's background color could not be determined because it's partially obscured by another element",elmPartiallyObscuring:"Element's background color could not be determined because it partially overlaps other elements",outsideViewport:"Element's background color could not be determined because it's outside the viewport",equalRatio:"Element has a 1:1 contrast ratio with the background",shortTextContent:"Element content is too short to determine if it is actual text content",nonBmp:"Element content contains only non-text characters",pseudoContent:"Element's background color could not be determined due to a pseudo element",colorParse:"Could not parse color string ${data.colorParse}"}}},"color-contrast":{impact:"serious",messages:{pass:{default:"Element has sufficient color contrast of ${data.contrastRatio}",hidden:"Element is hidden"},fail:{default:"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}",fgOnShadowColor:"Element has insufficient color contrast of ${data.contrastRatio} between the foreground and shadow color (foreground color: ${data.fgColor}, text-shadow color: ${data.shadowColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}",shadowOnBgColor:"Element has insufficient color contrast of ${data.contrastRatio} between the shadow color and background color (text-shadow color: ${data.shadowColor}, background color: ${data.bgColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}"},incomplete:{default:"Unable to determine contrast ratio",bgImage:"Element's background color could not be determined due to a background image",bgGradient:"Element's background color could not be determined due to a background gradient",imgNode:"Element's background color could not be determined because element contains an image node",bgOverlap:"Element's background color could not be determined because it is overlapped by another element",complexTextShadows:"Element's contrast could not be determined because it uses complex text shadows",fgAlpha:"Element's foreground color could not be determined because of alpha transparency",elmPartiallyObscured:"Element's background color could not be determined because it's partially obscured by another element",elmPartiallyObscuring:"Element's background color could not be determined because it partially overlaps other elements",outsideViewport:"Element's background color could not be determined because it's outside the viewport",equalRatio:"Element has a 1:1 contrast ratio with the background",shortTextContent:"Element content is too short to determine if it is actual text content",nonBmp:"Element content contains only non-text characters",pseudoContent:"Element's background color could not be determined due to a pseudo element",colorParse:"Could not parse color string ${data.colorParse}"}}},"link-in-text-block-style":{impact:"serious",messages:{pass:"Links can be distinguished from surrounding text by visual styling",incomplete:{default:"Check if the link needs styling to distinguish it from nearby text",pseudoContent:"Check if the link's pseudo style is sufficient to distinguish it from the surrounding text"},fail:"The link has no styling (such as underline) to distinguish it from the surrounding text"}},"link-in-text-block":{impact:"serious",messages:{pass:"Links can be distinguished from surrounding text in some way other than by color",fail:{fgContrast:"The link has insufficient color contrast of ${data.contrastRatio}:1 with the surrounding text. (Minimum contrast is ${data.requiredContrastRatio}:1, link text: ${data.nodeColor}, surrounding text: ${data.parentColor})",bgContrast:"The link background has insufficient color contrast of ${data.contrastRatio} (Minimum contrast is ${data.requiredContrastRatio}:1, link background color: ${data.nodeBackgroundColor}, surrounding background color: ${data.parentBackgroundColor})"},incomplete:{default:"Element's foreground contrast ratio could not be determined",bgContrast:"Element's background contrast ratio could not be determined",bgImage:"Element's contrast ratio could not be determined due to a background image",bgGradient:"Element's contrast ratio could not be determined due to a background gradient",imgNode:"Element's contrast ratio could not be determined because element contains an image node",bgOverlap:"Element's contrast ratio could not be determined because of element overlap"}}},"autocomplete-appropriate":{impact:"serious",messages:{pass:"The autocomplete value is on an appropriate element",fail:"The autocomplete value is inappropriate for this type of input"}},"autocomplete-valid":{impact:"serious",messages:{pass:"the autocomplete attribute is correctly formatted",fail:"the autocomplete attribute is incorrectly formatted",incomplete:"the autocomplete attribute has a non-standard value. Check whether any standard value could be used instead."}},accesskeys:{impact:"serious",messages:{pass:"Accesskey attribute value is unique",fail:"Document has multiple elements with the same accesskey"}},"focusable-content":{impact:"serious",messages:{pass:"Element contains focusable elements",fail:"Element should have focusable content"}},"focusable-disabled":{impact:"serious",messages:{pass:"No focusable elements contained within element",incomplete:"Check if the focusable elements immediately move the focus indicator",fail:"Focusable content should be disabled or be removed from the DOM"}},"focusable-element":{impact:"serious",messages:{pass:"Element is focusable",fail:"Element should be focusable"}},"focusable-modal-open":{impact:"serious",messages:{pass:"No focusable elements while a modal is open",incomplete:"Check that focusable elements are not tabbable in the current state"}},"focusable-no-name":{impact:"serious",messages:{pass:"Element is not in tab order or has accessible text",fail:"Element is in tab order and does not have accessible text",incomplete:"Unable to determine if element has an accessible name"}},"focusable-not-tabbable":{impact:"serious",messages:{pass:"No focusable elements contained within element",incomplete:"Check if the focusable elements immediately move the focus indicator",fail:'Focusable content should have tabindex="-1" or be removed from the DOM'}},"frame-focusable-content":{impact:"serious",messages:{pass:"Element does not have focusable descendants",fail:"Element has focusable descendants",incomplete:"Could not determine if element has descendants"}},"landmark-is-top-level":{impact:"moderate",messages:{pass:"The ${data.role} landmark is at the top level.",fail:"The ${data.role} landmark is contained in another landmark."}},"no-focusable-content":{impact:"serious",messages:{pass:"Element does not have focusable descendants",fail:{default:"Element has focusable descendants",notHidden:'Using a negative tabindex on an element inside an interactive control does not prevent assistive technologies from focusing the element (even with aria-hidden="true")'},incomplete:"Could not determine if element has descendants"}},"page-has-heading-one":{impact:"moderate",messages:{pass:"Page has at least one level-one heading",fail:"Page must have a level-one heading"}},"page-has-main":{impact:"moderate",messages:{pass:"Document has at least one main landmark",fail:"Document does not have a main landmark"}},"page-no-duplicate-banner":{impact:"moderate",messages:{pass:"Document does not have more than one banner landmark",fail:"Document has more than one banner landmark"}},"page-no-duplicate-contentinfo":{impact:"moderate",messages:{pass:"Document does not have more than one contentinfo landmark",fail:"Document has more than one contentinfo landmark"}},"page-no-duplicate-main":{impact:"moderate",messages:{pass:"Document does not have more than one main landmark",fail:"Document has more than one main landmark"}},tabindex:{impact:"serious",messages:{pass:"Element does not have a tabindex greater than 0",fail:"Element has a tabindex greater than 0"}},"alt-space-value":{impact:"critical",messages:{pass:"Element has a valid alt attribute value",fail:"Element has an alt attribute containing only a space character, which is not ignored by all screen readers"}},"duplicate-img-label":{impact:"minor",messages:{pass:"Element does not duplicate existing text in <img> alt text",fail:"Element contains <img> element with alt text that duplicates existing text"}},"explicit-label":{impact:"critical",messages:{pass:"Element has an explicit <label>",fail:"Element does not have an explicit <label>",incomplete:"Unable to determine if form element has an explicit <label>"}},"help-same-as-label":{impact:"minor",messages:{pass:"Help text (title or aria-describedby) does not duplicate label text",fail:"Help text (title or aria-describedby) text is the same as the label text"}},"hidden-explicit-label":{impact:"critical",messages:{pass:"Form element has a visible explicit <label>",fail:"Form element has explicit <label> that is hidden",incomplete:"Unable to determine if form element has explicit <label> that is hidden"}},"implicit-label":{impact:"critical",messages:{pass:"Element has an implicit (wrapped) <label>",fail:"Element does not have an implicit (wrapped) <label>",incomplete:"Unable to determine if form element has an implicit (wrapped) <label>"}},"label-content-name-mismatch":{impact:"serious",messages:{pass:"Element contains visible text as part of it's accessible name",fail:"Text inside the element is not included in the accessible name"}},"multiple-label":{impact:"moderate",messages:{pass:"Form field does not have multiple label elements",incomplete:"Multiple label elements is not widely supported in assistive technologies. Ensure the first label contains all necessary information."}},"title-only":{impact:"serious",messages:{pass:"Form element does not solely use title attribute for its label",fail:"Only title used to generate label for form element"}},"landmark-is-unique":{impact:"moderate",messages:{pass:"Landmarks must have a unique role or role/label/title (i.e. accessible name) combination",fail:"The landmark must have a unique aria-label, aria-labelledby, or title to make landmarks distinguishable"}},"has-lang":{impact:"serious",messages:{pass:"The <html> element has a lang attribute",fail:{noXHTML:"The xml:lang attribute is not valid on HTML pages, use the lang attribute.",noLang:"The <html> element does not have a lang attribute"}}},"valid-lang":{impact:"serious",messages:{pass:"Value of lang attribute is included in the list of valid languages",fail:"Value of lang attribute not included in the list of valid languages"}},"xml-lang-mismatch":{impact:"moderate",messages:{pass:"Lang and xml:lang attributes have the same base language",fail:"Lang and xml:lang attributes do not have the same base language"}},dlitem:{impact:"serious",messages:{pass:"Description list item has a <dl> parent element",fail:"Description list item does not have a <dl> parent element"}},listitem:{impact:"serious",messages:{pass:'List item has a <ul>, <ol> or role="list" parent element',fail:{default:"List item does not have a <ul>, <ol> parent element",roleNotValid:'List item parent element has a role that is not role="list"'}}},"only-dlitems":{impact:"serious",messages:{pass:"dl element only has direct children that are allowed inside; <dt>, <dd>, or <div> elements",fail:"dl element has direct children that are not allowed: ${data.values}"}},"only-listitems":{impact:"serious",messages:{pass:"List element only has direct children that are allowed inside <li> elements",fail:"List element has direct children that are not allowed: ${data.values}"}},"structured-dlitems":{impact:"serious",messages:{pass:"When not empty, element has both <dt> and <dd> elements",fail:"When not empty, element does not have at least one <dt> element followed by at least one <dd> element"}},caption:{impact:"critical",messages:{pass:"The multimedia element has a captions track",incomplete:"Check that captions are available for the element"}},"frame-tested":{impact:"critical",messages:{pass:"The iframe was tested with axe-core",fail:"The iframe could not be tested with axe-core",incomplete:"The iframe still has to be tested with axe-core"}},"no-autoplay-audio":{impact:"moderate",messages:{pass:"<video> or <audio> does not output audio for more than allowed duration or has controls mechanism",fail:"<video> or <audio> outputs audio for more than allowed duration and does not have a controls mechanism",incomplete:"Check that the <video> or <audio> does not output audio for more than allowed duration or provides a controls mechanism"}},"css-orientation-lock":{impact:"serious",messages:{pass:"Display is operable, and orientation lock does not exist",fail:"CSS Orientation lock is applied, and makes display inoperable",incomplete:"CSS Orientation lock cannot be determined"}},"meta-viewport-large":{impact:"minor",messages:{pass:"<meta> tag does not prevent significant zooming on mobile devices",fail:"<meta> tag limits zooming on mobile devices"}},"meta-viewport":{impact:"critical",messages:{pass:"<meta> tag does not disable zooming on mobile devices",fail:"${data} on <meta> tag disables zooming on mobile devices"}},"target-offset":{impact:"serious",messages:{pass:{default:"Target has sufficient space from its closest neighbors. Safe clickable space has a diameter of ${data.closestOffset}px which is at least ${data.minOffset}px.",large:"Target far exceeds the minimum size of ${data.minOffset}px."},fail:"Target has insufficient space to its closest neighbors. Safe clickable space has a diameter of ${data.closestOffset}px instead of at least ${data.minOffset}px.",incomplete:{default:"Element with negative tabindex has insufficient space to its closest neighbors. Safe clickable space has a diameter of ${data.closestOffset}px instead of at least ${data.minOffset}px. Is this a target?",nonTabbableNeighbor:"Target has insufficient space to its closest neighbors. Safe clickable space has a diameter of ${data.closestOffset}px instead of at least ${data.minOffset}px. Is the neighbor a target?",tooManyRects:"Could not get the target size because there are too many overlapping elements"}}},"target-size":{impact:"serious",messages:{pass:{default:"Control has sufficient size (${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px)",obscured:"Control is ignored because it is fully obscured and thus not clickable",large:"Target far exceeds the minimum size of ${data.minSize}px."},fail:{default:"Target has insufficient size (${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px)",partiallyObscured:"Target has insufficient size because it is partially obscured (smallest space is ${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px)"},incomplete:{default:"Element with negative tabindex has insufficient size (${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px). Is this a target?",contentOverflow:"Element size could not be accurately determined due to overflow content",partiallyObscured:"Element with negative tabindex has insufficient size because it is partially obscured (smallest space is ${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px). Is this a target?",partiallyObscuredNonTabbable:"Target has insufficient size because it is partially obscured by a neighbor with negative tabindex (smallest space is ${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px). Is the neighbor a target?",tooManyRects:"Could not get the target size because there are too many overlapping elements"}}},"header-present":{impact:"serious",messages:{pass:"Page has a heading",fail:"Page does not have a heading"}},"heading-order":{impact:"moderate",messages:{pass:"Heading order valid",fail:"Heading order invalid",incomplete:"Unable to determine previous heading"}},"identical-links-same-purpose":{impact:"minor",messages:{pass:"There are no other links with the same name, that go to a different URL",incomplete:"Check that links have the same purpose, or are intentionally ambiguous."}},"internal-link-present":{impact:"serious",messages:{pass:"Valid skip link found",fail:"No valid skip link found"}},landmark:{impact:"serious",messages:{pass:"Page has a landmark region",fail:"Page does not have a landmark region"}},"meta-refresh-no-exceptions":{impact:"minor",messages:{pass:"<meta> tag does not immediately refresh the page",fail:"<meta> tag forces timed refresh of page"}},"meta-refresh":{impact:"critical",messages:{pass:"<meta> tag does not immediately refresh the page",fail:"<meta> tag forces timed refresh of page (less than 20 hours)"}},"p-as-heading":{impact:"serious",messages:{pass:"<p> elements are not styled as headings",fail:"Heading elements should be used instead of styled <p> elements",incomplete:"Unable to determine if <p> elements are styled as headings"}},region:{impact:"moderate",messages:{pass:"All page content is contained by landmarks",fail:"Some page content is not contained by landmarks"}},"skip-link":{impact:"moderate",messages:{pass:"Skip link target exists",incomplete:"Skip link target should become visible on activation",fail:"No skip link target"}},"unique-frame-title":{impact:"serious",messages:{pass:"Element's title attribute is unique",fail:"Element's title attribute is not unique"}},"duplicate-id-active":{impact:"serious",messages:{pass:"Document has no active elements that share the same id attribute",fail:"Document has active elements with the same id attribute: ${data}"}},"duplicate-id-aria":{impact:"critical",messages:{pass:"Document has no elements referenced with ARIA or labels that share the same id attribute",fail:"Document has multiple elements referenced with ARIA with the same id attribute: ${data}"}},"duplicate-id":{impact:"minor",messages:{pass:"Document has no static elements that share the same id attribute",fail:"Document has multiple static elements with the same id attribute: ${data}"}},"aria-label":{impact:"serious",messages:{pass:"aria-label attribute exists and is not empty",fail:"aria-label attribute does not exist or is empty"}},"aria-labelledby":{impact:"serious",messages:{pass:"aria-labelledby attribute exists and references elements that are visible to screen readers",fail:"aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty",incomplete:"Ensure aria-labelledby references an existing element"}},"avoid-inline-spacing":{impact:"serious",messages:{pass:"No inline styles with '!important' that affect text spacing has been specified",fail:{singular:"Remove '!important' from inline style ${data.values}, as overriding this is not supported by most browsers",plural:"Remove '!important' from inline styles ${data.values}, as overriding this is not supported by most browsers"}}},"button-has-visible-text":{impact:"critical",messages:{pass:"Element has inner text that is visible to screen readers",fail:"Element does not have inner text that is visible to screen readers",incomplete:"Unable to determine if element has children"}},"doc-has-title":{impact:"serious",messages:{pass:"Document has a non-empty <title> element",fail:"Document does not have a non-empty <title> element"}},"error-occurred":{messages:{pass:"",incomplete:"Axe encountered an error; test the page for this type of problem manually"}},exists:{impact:"minor",messages:{pass:"Element does not exist",incomplete:"Element exists"}},"has-alt":{impact:"critical",messages:{pass:"Element has an alt attribute",fail:"Element does not have an alt attribute"}},"has-visible-text":{impact:"minor",messages:{pass:"Element has text that is visible to screen readers",fail:"Element does not have text that is visible to screen readers",incomplete:"Unable to determine if element has children"}},"important-letter-spacing":{impact:"serious",messages:{pass:"Letter-spacing in the style attribute is not set to !important, or meets the minimum",fail:"letter-spacing in the style attribute must not use !important, or be at ${data.minValue}em (current ${data.value}em)"}},"important-line-height":{impact:"serious",messages:{pass:"line-height in the style attribute is not set to !important, or meets the minimum",fail:"line-height in the style attribute must not use !important, or be at ${data.minValue}em (current ${data.value}em)"}},"important-word-spacing":{impact:"serious",messages:{pass:"word-spacing in the style attribute is not set to !important, or meets the minimum",fail:"word-spacing in the style attribute must not use !important, or be at ${data.minValue}em (current ${data.value}em)"}},"is-on-screen":{impact:"serious",messages:{pass:"Element is not visible",fail:"Element is visible"}},"non-empty-alt":{impact:"critical",messages:{pass:"Element has a non-empty alt attribute",fail:{noAttr:"Element has no alt attribute",emptyAttr:"Element has an empty alt attribute"}}},"non-empty-if-present":{impact:"critical",messages:{pass:{default:"Element does not have a value attribute","has-label":"Element has a non-empty value attribute"},fail:"Element has a value attribute and the value attribute is empty"}},"non-empty-placeholder":{impact:"serious",messages:{pass:"Element has a placeholder attribute",fail:{noAttr:"Element has no placeholder attribute",emptyAttr:"Element has an empty placeholder attribute"}}},"non-empty-title":{impact:"serious",messages:{pass:"Element has a title attribute",fail:{noAttr:"Element has no title attribute",emptyAttr:"Element has an empty title attribute"}}},"non-empty-value":{impact:"critical",messages:{pass:"Element has a non-empty value attribute",fail:{noAttr:"Element has no value attribute",emptyAttr:"Element has an empty value attribute"}}},"presentational-role":{impact:"minor",messages:{pass:'Element\'s default semantics were overridden with role="${data.role}"',fail:{default:`Element's default semantics were not overridden with role="none" or role="presentation"`,globalAria:"Element's role is not presentational because it has a global ARIA attribute",focusable:"Element's role is not presentational because it is focusable",both:"Element's role is not presentational because it has a global ARIA attribute and is focusable",iframe:'Using the "title" attribute on an ${data.nodeName} element with a presentational role behaves inconsistently between screen readers'}}},"role-none":{impact:"minor",messages:{pass:`Element's default semantics were overridden with role="none"`,fail:`Element's default semantics were not overridden with role="none"`}},"role-presentation":{impact:"minor",messages:{pass:`Element's default semantics were overridden with role="presentation"`,fail:`Element's default semantics were not overridden with role="presentation"`}},"svg-non-empty-title":{impact:"serious",messages:{pass:"Element has a child that is a title",fail:{noTitle:"Element has no child that is a title",emptyTitle:"Element child title is empty"},incomplete:"Unable to determine element has a child that is a title"}},"caption-faked":{impact:"serious",messages:{pass:"The first row of a table is not used as a caption",fail:"The first child of the table should be a caption instead of a table cell"}},"html5-scope":{impact:"moderate",messages:{pass:"Scope attribute is only used on table header elements (<th>)",fail:"In HTML 5, scope attributes may only be used on table header elements (<th>)"}},"same-caption-summary":{impact:"minor",messages:{pass:"Content of summary attribute and <caption> are not duplicated",fail:"Content of summary attribute and <caption> element are identical",incomplete:"Unable to determine if <table> element has a caption"}},"scope-value":{impact:"critical",messages:{pass:"Scope attribute is used correctly",fail:"The value of the scope attribute may only be 'row' or 'col'"}},"td-has-header":{impact:"critical",messages:{pass:"All non-empty data cells have table headers",fail:"Some non-empty data cells do not have table headers"}},"td-headers-attr":{impact:"serious",messages:{pass:"The headers attribute is exclusively used to refer to other header cells in the table",incomplete:"The headers attribute is empty",fail:{"cell-header-not-in-table":"The headers attribute is not exclusively used to refer to other header cells in the table","cell-header-not-th":"The headers attribute must refer to header cells, not data cells","header-refs-self":"The element with headers attribute refers to itself"}}},"th-has-data-cells":{impact:"serious",messages:{pass:"All table header cells refer to data cells",fail:"Not all table header cells refer to data cells",incomplete:"Table data cells are missing or empty"}},"hidden-content":{impact:"minor",messages:{pass:"All content on the page has been analyzed.",fail:"There were problems analyzing the content on this page.",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."}}},failureSummaries:{any:{failureMessage:function(oe){var ue="Fix any of the following:",be=oe;if(be)for(var We,tt=-1,st=be.length-1;tt<st;)We=be[tt+=1],ue+=`
|
|
378
378
|
`+We.split(`
|
|
379
379
|
`).join(`
|
|
380
|
-
`);return
|
|
380
|
+
`);return ue}},none:{failureMessage:function(oe){var ue="Fix all of the following:",be=oe;if(be)for(var We,tt=-1,st=be.length-1;tt<st;)We=be[tt+=1],ue+=`
|
|
381
381
|
`+We.split(`
|
|
382
382
|
`).join(`
|
|
383
|
-
`);return ce}}},incompleteFallbackMessage:"axe couldn't tell the reason. Time to break out the element inspector!"},rules:[{id:"accesskeys",impact:"serious",selector:"[accesskey]",excludeHidden:false,tags:["cat.keyboard","best-practice"],all:[],any:[],none:["accesskeys"]},{id:"area-alt",impact:"critical",selector:"map area[href]",excludeHidden:false,tags:["cat.text-alternatives","wcag2a","wcag244","wcag412","section508","section508.22.a","TTv5","TT6.a","EN-301-549","EN-9.2.4.4","EN-9.4.1.2","ACT","RGAAv4","RGAA-1.1.2"],actIds:["c487ae"],all:[],any:[{options:{attribute:"alt"},id:"non-empty-alt"},"aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-allowed-attr",impact:"critical",matches:"aria-allowed-attr-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["5c01ea"],all:[{options:{validTreeRowAttrs:["aria-posinset","aria-setsize","aria-expanded","aria-level"]},id:"aria-allowed-attr"},"aria-allowed-attr-elm"],any:[],none:["aria-unsupported-attr"]},{id:"aria-allowed-role",impact:"minor",excludeHidden:false,selector:"[role]",matches:"aria-allowed-role-matches",tags:["cat.aria","best-practice"],all:[],any:[{options:{allowImplicit:true,ignoredTags:[]},id:"aria-allowed-role"}],none:[]},{id:"aria-braille-equivalent",reviewOnFail:true,impact:"serious",selector:"[aria-brailleroledescription], [aria-braillelabel]",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2"],all:["braille-roledescription-equivalent","braille-label-equivalent"],any:[],none:[]},{id:"aria-command-name",impact:"serious",selector:'[role="link"], [role="button"], [role="menuitem"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag412","TTv5","TT6.a","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-11.9.1"],actIds:["97a4e1"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-conditional-attr",impact:"serious",matches:"aria-allowed-attr-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["5c01ea"],all:[{options:{invalidTableRowAttrs:["aria-posinset","aria-setsize","aria-expanded","aria-level"]},id:"aria-conditional-attr"}],any:[],none:[]},{id:"aria-deprecated-role",impact:"minor",selector:"[role]",matches:"no-empty-role-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["674b10"],all:[],any:[],none:["deprecatedrole"]},{id:"aria-dialog-name",impact:"serious",selector:'[role="dialog"], [role="alertdialog"]',matches:"no-naming-method-matches",tags:["cat.aria","best-practice"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-hidden-body",impact:"critical",selector:"body",excludeHidden:false,matches:"is-initiator-matches",tags:["cat.aria","wcag2a","wcag131","wcag412","EN-301-549","EN-9.1.3.1","EN-9.4.1.2","RGAAv4","RGAA-10.8.1"],all:[],any:["aria-hidden-body"],none:[]},{id:"aria-hidden-focus",impact:"serious",selector:'[aria-hidden="true"]',matches:"aria-hidden-focus-matches",excludeHidden:false,tags:["cat.name-role-value","wcag2a","wcag412","TTv5","TT6.a","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-10.8.1"],actIds:["6cfa84"],all:["focusable-modal-open","focusable-disabled","focusable-not-tabbable"],any:[],none:[]},{id:"aria-input-field-name",impact:"serious",selector:'[role="combobox"], [role="listbox"], [role="searchbox"], [role="slider"], [role="spinbutton"], [role="textbox"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag412","TTv5","TT5.c","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-11.1.1"],actIds:["e086e5"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:["no-implicit-explicit-label"]},{id:"aria-meter-name",impact:"serious",selector:'[role="meter"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag111","EN-301-549","EN-9.1.1.1","RGAAv4","RGAA-11.1.1"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-progressbar-name",impact:"serious",selector:'[role="progressbar"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag111","EN-301-549","EN-9.1.1.1","RGAAv4","RGAA-11.1.1"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-prohibited-attr",impact:"serious",matches:"aria-allowed-attr-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["5c01ea"],all:[],any:[],none:[{options:{elementsAllowedAriaLabel:["applet","input"]},id:"aria-prohibited-attr"}]},{id:"aria-required-attr",impact:"critical",selector:"[role]",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["4e8ab6"],all:[],any:["aria-required-attr"],none:[]},{id:"aria-required-children",impact:"critical",selector:"[role]",matches:"aria-required-children-matches",tags:["cat.aria","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.3.1"],actIds:["bc4a75","ff89c9"],all:[],any:[{options:{reviewEmpty:["doc-bibliography","doc-endnotes","grid","list","listbox","menu","menubar","table","tablist","tree","treegrid","rowgroup"]},id:"aria-required-children"}],none:[]},{id:"aria-required-parent",impact:"critical",selector:"[role]",matches:"aria-required-parent-matches",tags:["cat.aria","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.3.1"],actIds:["ff89c9"],all:[],any:[{options:{ownGroupRoles:["listitem","treeitem"]},id:"aria-required-parent"}],none:[]},{id:"aria-roledescription",impact:"serious",selector:"[aria-roledescription]",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","deprecated"],enabled:false,all:[],any:[{options:{supportedRoles:["button","img","checkbox","radio","combobox","menuitemcheckbox","menuitemradio"]},id:"aria-roledescription"}],none:[]},{id:"aria-roles",impact:"critical",selector:"[role]",matches:"no-empty-role-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["674b10"],all:[],any:[],none:["invalidrole","abstractrole","unsupportedrole"]},{id:"aria-text",impact:"serious",selector:"[role=text]",tags:["cat.aria","best-practice"],all:[],any:["no-focusable-content"],none:[]},{id:"aria-toggle-field-name",impact:"serious",selector:'[role="checkbox"], [role="menuitemcheckbox"], [role="menuitemradio"], [role="radio"], [role="switch"], [role="option"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag412","TTv5","TT5.c","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-7.1.1"],actIds:["e086e5"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:["no-implicit-explicit-label"]},{id:"aria-tooltip-name",impact:"serious",selector:'[role="tooltip"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-treeitem-name",impact:"serious",selector:'[role="treeitem"]',matches:"no-naming-method-matches",tags:["cat.aria","best-practice"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-valid-attr-value",impact:"critical",matches:"aria-has-attr-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["6a7281"],all:[{options:[],id:"aria-valid-attr-value"},"aria-errormessage","aria-level"],any:[],none:[]},{id:"aria-valid-attr",impact:"critical",matches:"aria-has-attr-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["5f99a7"],all:[],any:[{options:[],id:"aria-valid-attr"}],none:[]},{id:"audio-caption",impact:"critical",selector:"audio",enabled:false,excludeHidden:false,tags:["cat.time-and-media","wcag2a","wcag121","EN-301-549","EN-9.1.2.1","section508","section508.22.a","deprecated"],actIds:["2eb176","afb423"],all:[],any:[],none:["caption"]},{id:"autocomplete-valid",impact:"serious",matches:"autocomplete-matches",tags:["cat.forms","wcag21aa","wcag135","EN-301-549","EN-9.1.3.5","ACT","RGAAv4","RGAA-11.13.1"],actIds:["73f2c2"],all:[{options:{stateTerms:["none","false","true","disabled","enabled","undefined","null","xoff","xon"],ignoredValues:["text","pronouns","gender","message","content"]},id:"autocomplete-valid"}],any:[],none:[]},{id:"avoid-inline-spacing",impact:"serious",selector:"[style]",matches:"is-visible-on-screen-matches",tags:["cat.structure","wcag21aa","wcag1412","EN-301-549","EN-9.1.4.12","ACT"],actIds:["24afc2","9e45ec","78fd32"],all:[{options:{cssProperty:"letter-spacing",minValue:.12},id:"important-letter-spacing"},{options:{cssProperty:"word-spacing",minValue:.16},id:"important-word-spacing"},{options:{multiLineOnly:true,cssProperty:"line-height",minValue:1.5,normalValue:1},id:"important-line-height"}],any:[],none:[]},{id:"blink",impact:"serious",selector:"blink",excludeHidden:false,tags:["cat.time-and-media","wcag2a","wcag222","section508","section508.22.j","TTv5","TT2.b","EN-301-549","EN-9.2.2.2","RGAAv4","RGAA-13.8.1"],all:[],any:[],none:["is-on-screen"]},{id:"button-name",impact:"critical",selector:"button",matches:"no-explicit-name-required-matches",tags:["cat.name-role-value","wcag2a","wcag412","section508","section508.22.a","TTv5","TT6.a","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-11.9.1"],actIds:["97a4e1","m6b1q3"],all:[],any:["button-has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"implicit-label","explicit-label","presentational-role"],none:[]},{id:"bypass",impact:"serious",selector:"html:not(html *)",pageLevel:true,matches:"bypass-matches",reviewOnFail:true,tags:["cat.keyboard","wcag2a","wcag241","section508","section508.22.o","TTv5","TT9.a","EN-301-549","EN-9.2.4.1","RGAAv4","RGAA-12.7.1"],actIds:["cf77f2","047fe0","b40fd1","3e12e1","ye5d6e"],all:[],any:["internal-link-present",{options:{selector:":is(h1, h2, h3, h4, h5, h6):not([role]), [role=heading]"},id:"header-present"},{options:{selector:"main, [role=main]"},id:"landmark"}],none:[]},{id:"color-contrast-enhanced",impact:"serious",matches:"color-contrast-matches",excludeHidden:false,enabled:false,tags:["cat.color","wcag2aaa","wcag146","ACT"],actIds:["09o5cg"],all:[],any:[{options:{ignoreUnicode:true,ignoreLength:false,ignorePseudo:false,boldValue:700,boldTextPt:14,largeTextPt:18,contrastRatio:{normal:{expected:7,minThreshold:4.5},large:{expected:4.5,minThreshold:3}},pseudoSizeThreshold:.25,shadowOutlineEmMax:.1,textStrokeEmMin:.03},id:"color-contrast-enhanced"}],none:[]},{id:"color-contrast",impact:"serious",matches:"color-contrast-matches",excludeHidden:false,tags:["cat.color","wcag2aa","wcag143","TTv5","TT13.c","EN-301-549","EN-9.1.4.3","ACT","RGAAv4","RGAA-3.2.1"],actIds:["afw4f7","09o5cg"],all:[],any:[{options:{ignoreUnicode:true,ignoreLength:false,ignorePseudo:false,boldValue:700,boldTextPt:14,largeTextPt:18,contrastRatio:{normal:{expected:4.5},large:{expected:3}},pseudoSizeThreshold:.25,shadowOutlineEmMax:.2,textStrokeEmMin:.03},id:"color-contrast"}],none:[]},{id:"css-orientation-lock",impact:"serious",selector:"html:not(html *)",tags:["cat.structure","wcag134","wcag21aa","EN-301-549","EN-9.1.3.4","RGAAv4","RGAA-13.9.1","experimental"],actIds:["b33eff"],all:[{options:{degreeThreshold:2},id:"css-orientation-lock"}],any:[],none:[],preload:true},{id:"definition-list",impact:"serious",selector:"dl",matches:"no-role-matches",tags:["cat.structure","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.3.3"],all:[],any:[],none:["structured-dlitems",{options:{validRoles:["definition","term","listitem"],validNodeNames:["dt","dd"],divGroups:true},id:"only-dlitems"}]},{id:"dlitem",impact:"serious",selector:"dd, dt",matches:"no-role-matches",tags:["cat.structure","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.3.3"],all:[],any:["dlitem"],none:[]},{id:"document-title",impact:"serious",selector:"html:not(html *)",matches:"is-initiator-matches",tags:["cat.text-alternatives","wcag2a","wcag242","TTv5","TT12.a","EN-301-549","EN-9.2.4.2","ACT","RGAAv4","RGAA-8.5.1"],actIds:["2779a5"],all:[],any:["doc-has-title"],none:[]},{id:"duplicate-id-active",impact:"serious",selector:"[id]",matches:"duplicate-id-active-matches",excludeHidden:false,tags:["cat.parsing","wcag2a-obsolete","wcag411","deprecated"],enabled:false,actIds:["3ea0c8"],all:[],any:["duplicate-id-active"],none:[]},{id:"duplicate-id-aria",impact:"critical",selector:"[id]",matches:"duplicate-id-aria-matches",excludeHidden:false,tags:["cat.parsing","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-8.2.1"],reviewOnFail:true,actIds:["3ea0c8"],all:[],any:["duplicate-id-aria"],none:[]},{id:"duplicate-id",impact:"minor",selector:"[id]",matches:"duplicate-id-misc-matches",excludeHidden:false,tags:["cat.parsing","wcag2a-obsolete","wcag411","deprecated"],enabled:false,actIds:["3ea0c8"],all:[],any:["duplicate-id"],none:[]},{id:"empty-heading",impact:"minor",selector:'h1, h2, h3, h4, h5, h6, [role="heading"]',matches:"heading-matches",tags:["cat.name-role-value","best-practice"],actIds:["ffd0e9"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"empty-table-header",impact:"minor",selector:'th:not([role]), [role="rowheader"], [role="columnheader"]',tags:["cat.name-role-value","best-practice"],all:[],any:["has-visible-text"],none:[]},{id:"focus-order-semantics",impact:"minor",selector:"div, h1, h2, h3, h4, h5, h6, [role=heading], p, span",matches:"inserted-into-focus-order-matches",tags:["cat.keyboard","best-practice","RGAAv4","RGAA-12.8.1","experimental"],all:[],any:[{options:[],id:"has-widget-role"},{options:{roles:["tooltip"]},id:"valid-scrollable-semantics"}],none:[]},{id:"form-field-multiple-labels",impact:"moderate",selector:"input, select, textarea",matches:"label-matches",tags:["cat.forms","wcag2a","wcag332","TTv5","TT5.c","EN-301-549","EN-9.3.3.2","RGAAv4","RGAA-11.2.1"],all:[],any:[],none:["multiple-label"]},{id:"frame-focusable-content",impact:"serious",selector:"html:not(html *)",matches:"frame-focusable-content-matches",tags:["cat.keyboard","wcag2a","wcag211","TTv5","TT4.a","EN-301-549","EN-9.2.1.1","RGAAv4","RGAA-7.3.2"],actIds:["akn7bn"],all:[],any:["frame-focusable-content"],none:[]},{id:"frame-tested",impact:"critical",selector:"html:not(html *), frame, iframe",tags:["cat.structure","best-practice","review-item"],all:[{options:{isViolation:false},id:"frame-tested"}],any:[],none:[]},{id:"frame-title-unique",impact:"serious",selector:"frame[title], iframe[title]",matches:"frame-title-has-text-matches",tags:["cat.text-alternatives","wcag2a","wcag412","TTv5","TT12.d","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-2.2.1"],actIds:["4b1c6c"],all:[],any:[],none:["unique-frame-title"],reviewOnFail:true},{id:"frame-title",impact:"serious",selector:"frame, iframe",matches:"no-negative-tabindex-matches",tags:["cat.text-alternatives","wcag2a","wcag412","section508","section508.22.i","TTv5","TT12.d","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-2.1.1"],actIds:["cae760"],all:[],any:[{options:{attribute:"title"},id:"non-empty-title"},"aria-label","aria-labelledby","presentational-role"],none:[]},{id:"heading-order",impact:"moderate",selector:"h1, h2, h3, h4, h5, h6, [role=heading]",matches:"heading-matches",tags:["cat.semantics","best-practice"],all:[],any:["heading-order"],none:[]},{id:"hidden-content",impact:"minor",selector:"*",excludeHidden:false,tags:["cat.structure","best-practice","experimental","review-item"],all:[],any:["hidden-content"],none:[]},{id:"html-has-lang",impact:"serious",selector:"html:not(html *)",matches:"is-initiator-matches",tags:["cat.language","wcag2a","wcag311","TTv5","TT11.a","EN-301-549","EN-9.3.1.1","ACT","RGAAv4","RGAA-8.3.1"],actIds:["b5c3f8"],all:[],any:[{options:{attributes:["lang","xml:lang"]},id:"has-lang"}],none:[]},{id:"html-lang-valid",impact:"serious",selector:'html[lang]:not([lang=""]):not(html *), html[xml\\:lang]:not([xml\\:lang=""]):not(html *)',tags:["cat.language","wcag2a","wcag311","TTv5","TT11.a","EN-301-549","EN-9.3.1.1","ACT","RGAAv4","RGAA-8.4.1"],actIds:["bf051a"],all:[],any:[],none:[{options:{attributes:["lang","xml:lang"]},id:"valid-lang"}]},{id:"html-xml-lang-mismatch",impact:"moderate",selector:"html[lang][xml\\:lang]:not(html *)",matches:"xml-lang-mismatch-matches",tags:["cat.language","wcag2a","wcag311","EN-301-549","EN-9.3.1.1","ACT","RGAAv4","RGAA-8.3.1"],actIds:["5b7ae0"],all:["xml-lang-mismatch"],any:[],none:[]},{id:"identical-links-same-purpose",impact:"minor",selector:'a[href], area[href], [role="link"]',excludeHidden:false,enabled:false,matches:"identical-links-same-purpose-matches",tags:["cat.semantics","wcag2aaa","wcag249"],actIds:["b20e66"],all:["identical-links-same-purpose"],any:[],none:[]},{id:"image-alt",impact:"critical",selector:"img",matches:"no-explicit-name-required-matches",tags:["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a","TTv5","TT7.a","TT7.b","EN-301-549","EN-9.1.1.1","ACT","RGAAv4","RGAA-1.1.1"],actIds:["23a2a8"],all:[],any:["has-alt","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"presentational-role"],none:["alt-space-value"]},{id:"image-redundant-alt",impact:"minor",selector:"img",tags:["cat.text-alternatives","best-practice"],all:[],any:[],none:[{options:{parentSelector:"button, [role=button], a[href], p, li, td, th"},id:"duplicate-img-label"}]},{id:"input-button-name",impact:"critical",selector:'input[type="button"], input[type="submit"], input[type="reset"]',matches:"no-explicit-name-required-matches",tags:["cat.name-role-value","wcag2a","wcag412","section508","section508.22.a","TTv5","TT5.c","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-11.9.1"],actIds:["97a4e1"],all:[],any:["non-empty-if-present",{options:{attribute:"value"},id:"non-empty-value"},"aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"implicit-label","explicit-label","presentational-role"],none:[]},{id:"input-image-alt",impact:"critical",selector:'input[type="image"]',matches:"no-explicit-name-required-matches",tags:["cat.text-alternatives","wcag2a","wcag111","wcag412","section508","section508.22.a","TTv5","TT7.a","EN-301-549","EN-9.1.1.1","EN-9.4.1.2","ACT","RGAAv4","RGAA-1.1.3"],actIds:["59796f"],all:[],any:[{options:{attribute:"alt"},id:"non-empty-alt"},"aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"implicit-label","explicit-label"],none:[]},{id:"label-content-name-mismatch",impact:"serious",matches:"label-content-name-mismatch-matches",tags:["cat.semantics","wcag21a","wcag253","EN-301-549","EN-9.2.5.3","RGAAv4","RGAA-6.1.5","experimental"],actIds:["2ee8b8"],all:[],any:[{options:{pixelThreshold:.1,occurrenceThreshold:3},id:"label-content-name-mismatch"}],none:[]},{id:"label-title-only",impact:"serious",selector:"input, select, textarea",matches:"label-matches",tags:["cat.forms","best-practice"],all:[],any:[],none:["title-only"]},{id:"label",impact:"critical",selector:"input, textarea",matches:"label-matches",tags:["cat.forms","wcag2a","wcag412","section508","section508.22.n","TTv5","TT5.c","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-11.1.1"],actIds:["e086e5"],all:[],any:["implicit-label","explicit-label","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},{options:{attribute:"placeholder"},id:"non-empty-placeholder"},"presentational-role"],none:["hidden-explicit-label"]},{id:"landmark-banner-is-top-level",impact:"moderate",selector:"header:not([role]), [role=banner]",matches:"landmark-has-body-context-matches",tags:["cat.semantics","best-practice"],all:[],any:["landmark-is-top-level"],none:[]},{id:"landmark-complementary-is-top-level",impact:"moderate",selector:"aside:not([role]), [role=complementary]",tags:["cat.semantics","best-practice"],all:[],any:["landmark-is-top-level"],none:[]},{id:"landmark-contentinfo-is-top-level",impact:"moderate",selector:"footer:not([role]), [role=contentinfo]",matches:"landmark-has-body-context-matches",tags:["cat.semantics","best-practice"],all:[],any:["landmark-is-top-level"],none:[]},{id:"landmark-main-is-top-level",impact:"moderate",selector:"main:not([role]), [role=main]",tags:["cat.semantics","best-practice"],all:[],any:["landmark-is-top-level"],none:[]},{id:"landmark-no-duplicate-banner",impact:"moderate",selector:"header:not([role]), [role=banner]",tags:["cat.semantics","best-practice"],all:[],any:[{options:{selector:"header:not([role]), [role=banner]",role:"banner"},id:"page-no-duplicate-banner"}],none:[]},{id:"landmark-no-duplicate-contentinfo",impact:"moderate",selector:"footer:not([role]), [role=contentinfo]",tags:["cat.semantics","best-practice"],all:[],any:[{options:{selector:"footer:not([role]), [role=contentinfo]",role:"contentinfo"},id:"page-no-duplicate-contentinfo"}],none:[]},{id:"landmark-no-duplicate-main",impact:"moderate",selector:"main:not([role]), [role=main]",tags:["cat.semantics","best-practice"],all:[],any:[{options:{selector:"main:not([role]), [role='main']"},id:"page-no-duplicate-main"}],none:[]},{id:"landmark-one-main",impact:"moderate",selector:"html:not(html *)",tags:["cat.semantics","best-practice"],all:[{options:{selector:"main:not([role]), [role='main']",passForModal:true},id:"page-has-main"}],any:[],none:[]},{id:"landmark-unique",impact:"moderate",selector:"[role=banner], [role=complementary], [role=contentinfo], [role=main], [role=navigation], [role=region], [role=search], [role=form], form, footer, header, aside, main, nav, section",tags:["cat.semantics","best-practice"],matches:"landmark-unique-matches",all:[],any:["landmark-is-unique"],none:[]},{id:"link-in-text-block",impact:"serious",selector:"a[href], [role=link]",matches:"link-in-text-block-matches",excludeHidden:false,tags:["cat.color","wcag2a","wcag141","TTv5","TT13.a","EN-301-549","EN-9.1.4.1","RGAAv4","RGAA-10.6.1"],all:[],any:[{options:{requiredContrastRatio:3,allowSameColor:true},id:"link-in-text-block"},"link-in-text-block-style"],none:[]},{id:"link-name",impact:"serious",selector:"a[href]",tags:["cat.name-role-value","wcag2a","wcag244","wcag412","section508","section508.22.a","TTv5","TT6.a","EN-301-549","EN-9.2.4.4","EN-9.4.1.2","ACT","RGAAv4","RGAA-6.2.1"],actIds:["c487ae"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:["focusable-no-name"]},{id:"list",impact:"serious",selector:"ul, ol",matches:"no-role-matches",tags:["cat.structure","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.3.1"],all:[],any:[],none:[{options:{validRoles:["listitem"],validNodeNames:["li"]},id:"only-listitems"}]},{id:"listitem",impact:"serious",selector:"li",matches:"no-role-matches",tags:["cat.structure","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.3.1"],all:[],any:["listitem"],none:[]},{id:"marquee",impact:"serious",selector:"marquee",excludeHidden:false,tags:["cat.parsing","wcag2a","wcag222","TTv5","TT2.b","EN-301-549","EN-9.2.2.2","RGAAv4","RGAA-13.8.1"],all:[],any:[],none:["is-on-screen"]},{id:"meta-refresh-no-exceptions",impact:"minor",selector:'meta[http-equiv="refresh"][content]',excludeHidden:false,enabled:false,tags:["cat.time-and-media","wcag2aaa","wcag224","wcag325"],actIds:["bisz58"],all:[],any:[{options:{minDelay:72e3,maxDelay:false},id:"meta-refresh-no-exceptions"}],none:[]},{id:"meta-refresh",impact:"critical",selector:'meta[http-equiv="refresh"][content]',excludeHidden:false,tags:["cat.time-and-media","wcag2a","wcag221","TTv5","TT8.a","EN-301-549","EN-9.2.2.1","RGAAv4","RGAA-13.1.2"],actIds:["bc659a","bisz58"],all:[],any:[{options:{minDelay:0,maxDelay:72e3},id:"meta-refresh"}],none:[]},{id:"meta-viewport-large",impact:"minor",selector:'meta[name="viewport"]',matches:"is-initiator-matches",excludeHidden:false,tags:["cat.sensory-and-visual-cues","best-practice"],all:[],any:[{options:{scaleMinimum:5,lowerBound:2},id:"meta-viewport-large"}],none:[]},{id:"meta-viewport",impact:"moderate",selector:'meta[name="viewport"]',matches:"is-initiator-matches",excludeHidden:false,tags:["cat.sensory-and-visual-cues","wcag2aa","wcag144","EN-301-549","EN-9.1.4.4","ACT","RGAAv4","RGAA-10.4.2"],actIds:["b4f0c3"],all:[],any:[{options:{scaleMinimum:2},id:"meta-viewport"}],none:[]},{id:"nested-interactive",impact:"serious",matches:"nested-interactive-matches",tags:["cat.keyboard","wcag2a","wcag412","TTv5","TT6.a","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["307n5z"],all:[],any:["no-focusable-content"],none:[]},{id:"no-autoplay-audio",impact:"moderate",excludeHidden:false,selector:"audio[autoplay], video[autoplay]",matches:"no-autoplay-audio-matches",reviewOnFail:true,tags:["cat.time-and-media","wcag2a","wcag142","TTv5","TT2.a","EN-301-549","EN-9.1.4.2","ACT","RGAAv4","RGAA-4.10.1"],actIds:["80f0bf"],preload:true,all:[{options:{allowedDuration:3},id:"no-autoplay-audio"}],any:[],none:[]},{id:"object-alt",impact:"serious",selector:"object[data]",matches:"object-is-loaded-matches",tags:["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a","EN-301-549","EN-9.1.1.1","RGAAv4","RGAA-1.1.6"],actIds:["8fc3b6"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"presentational-role"],none:[]},{id:"p-as-heading",impact:"serious",selector:"p",matches:"p-as-heading-matches",tags:["cat.semantics","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.1.3","experimental"],all:[{options:{margins:[{weight:150,italic:true},{weight:150,size:1.15},{italic:true,size:1.15},{size:1.4}],passLength:1,failLength:.5},id:"p-as-heading"}],any:[],none:[]},{id:"page-has-heading-one",impact:"moderate",selector:"html:not(html *)",tags:["cat.semantics","best-practice"],all:[{options:{selector:"h1:not([role], [aria-level]), :is(h1, h2, h3, h4, h5, h6):not([role])[aria-level=1], [role=heading][aria-level=1]",passForModal:true},id:"page-has-heading-one"}],any:[],none:[]},{id:"presentation-role-conflict",impact:"minor",selector:`img[alt=''], [role="none"], [role="presentation"]`,matches:"has-implicit-chromium-role-matches",tags:["cat.aria","best-practice","ACT"],actIds:["46ca7f"],all:[],any:[],none:["is-element-focusable","has-global-aria-attribute"]},{id:"region",impact:"moderate",selector:"body *",tags:["cat.keyboard","best-practice","RGAAv4","RGAA-9.2.1"],all:[],any:[{options:{regionMatcher:"dialog, [role=dialog], [role=alertdialog], svg"},id:"region"}],none:[]},{id:"role-img-alt",impact:"serious",selector:"[role='img']:not(img, area, input, object)",matches:"html-namespace-matches",tags:["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a","TTv5","TT7.a","EN-301-549","EN-9.1.1.1","ACT","RGAAv4","RGAA-1.1.1"],actIds:["23a2a8"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"scope-attr-valid",impact:"moderate",selector:"td[scope], th[scope]",tags:["cat.tables","best-practice"],all:["html5-scope",{options:{values:["row","col","rowgroup","colgroup"]},id:"scope-value"}],any:[],none:[]},{id:"scrollable-region-focusable",impact:"serious",selector:"*:not(select,textarea)",matches:"scrollable-region-focusable-matches",tags:["cat.keyboard","wcag2a","wcag211","wcag213","TTv5","TT4.a","EN-301-549","EN-9.2.1.1","EN-9.2.1.3","RGAAv4","RGAA-7.3.2"],actIds:["0ssw9k"],all:[],any:["focusable-content","focusable-element"],none:[]},{id:"select-name",impact:"critical",selector:"select",tags:["cat.forms","wcag2a","wcag412","section508","section508.22.n","TTv5","TT5.c","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-11.1.1"],actIds:["e086e5"],all:[],any:["implicit-label","explicit-label","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"presentational-role"],none:["hidden-explicit-label"]},{id:"server-side-image-map",impact:"minor",selector:"img[ismap]",tags:["cat.text-alternatives","wcag2a","wcag211","section508","section508.22.f","TTv5","TT4.a","EN-301-549","EN-9.2.1.1","RGAAv4","RGAA-1.1.4"],all:[],any:[],none:["exists"]},{id:"skip-link",impact:"moderate",selector:'a[href^="#"], a[href^="/#"]',matches:"skip-link-matches",tags:["cat.keyboard","best-practice","RGAAv4","RGAA-12.7.1"],all:[],any:["skip-link"],none:[]},{id:"summary-name",impact:"serious",selector:"summary",matches:"summary-interactive-matches",tags:["cat.name-role-value","wcag2a","wcag412","section508","section508.22.a","TTv5","TT6.a","EN-301-549","EN-9.4.1.2"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"svg-img-alt",impact:"serious",selector:'[role="img"], [role="graphics-symbol"], svg[role="graphics-document"]',matches:"svg-namespace-matches",tags:["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a","TTv5","TT7.a","EN-301-549","EN-9.1.1.1","ACT","RGAAv4","RGAA-1.1.5"],actIds:["7d6734"],all:[],any:["svg-non-empty-title","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"tabindex",impact:"serious",selector:"[tabindex]",tags:["cat.keyboard","best-practice"],all:[],any:["tabindex"],none:[]},{id:"table-duplicate-name",impact:"minor",selector:"table",tags:["cat.tables","best-practice","RGAAv4","RGAA-5.2.1"],all:[],any:[],none:["same-caption-summary"]},{id:"table-fake-caption",impact:"serious",selector:"table",matches:"data-table-matches",tags:["cat.tables","experimental","wcag2a","wcag131","section508","section508.22.g","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-5.4.1"],all:["caption-faked"],any:[],none:[]},{id:"target-size",impact:"serious",selector:"*",enabled:false,matches:"widget-not-inline-matches",tags:["cat.sensory-and-visual-cues","wcag22aa","wcag258"],all:[],any:[{options:{minSize:24},id:"target-size"},{options:{minOffset:24},id:"target-offset"}],none:[]},{id:"td-has-header",impact:"critical",selector:"table",matches:"data-table-large-matches",tags:["cat.tables","experimental","wcag2a","wcag131","section508","section508.22.g","TTv5","TT14.b","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-5.7.4"],all:["td-has-header"],any:[],none:[]},{id:"td-headers-attr",impact:"serious",selector:"table",matches:"table-or-grid-role-matches",tags:["cat.tables","wcag2a","wcag131","section508","section508.22.g","TTv5","TT14.b","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-5.7.4"],actIds:["a25f45"],all:["td-headers-attr"],any:[],none:[]},{id:"th-has-data-cells",impact:"serious",selector:"table",matches:"data-table-matches",tags:["cat.tables","wcag2a","wcag131","section508","section508.22.g","TTv5","TT14.b","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-5.7.1"],actIds:["d0f69e"],all:["th-has-data-cells"],any:[],none:[]},{id:"valid-lang",impact:"serious",selector:"[lang]:not(html), [xml\\:lang]:not(html)",tags:["cat.language","wcag2aa","wcag312","TTv5","TT11.b","EN-301-549","EN-9.3.1.2","ACT","RGAAv4","RGAA-8.8.1"],actIds:["de46e4"],all:[],any:[],none:[{options:{attributes:["lang","xml:lang"]},id:"valid-lang"}]},{id:"video-caption",impact:"critical",selector:"video",tags:["cat.text-alternatives","wcag2a","wcag122","section508","section508.22.a","TTv5","TT17.a","EN-301-549","EN-9.1.2.2","RGAAv4","RGAA-4.3.1"],actIds:["eac66b"],all:[],any:[],none:["caption"]}],checks:[{id:"abstractrole",evaluate:"abstractrole-evaluate"},{id:"aria-allowed-attr-elm",evaluate:"aria-allowed-attr-elm-evaluate"},{id:"aria-allowed-attr",evaluate:"aria-allowed-attr-evaluate",options:{validTreeRowAttrs:["aria-posinset","aria-setsize","aria-expanded","aria-level"]}},{id:"aria-allowed-role",evaluate:"aria-allowed-role-evaluate",options:{allowImplicit:true,ignoredTags:[]}},{id:"aria-busy",evaluate:"aria-busy-evaluate",deprecated:true},{id:"aria-conditional-attr",evaluate:"aria-conditional-attr-evaluate",options:{invalidTableRowAttrs:["aria-posinset","aria-setsize","aria-expanded","aria-level"]}},{id:"aria-errormessage",evaluate:"aria-errormessage-evaluate"},{id:"aria-hidden-body",evaluate:"aria-hidden-body-evaluate"},{id:"aria-level",evaluate:"aria-level-evaluate"},{id:"aria-prohibited-attr",evaluate:"aria-prohibited-attr-evaluate",options:{elementsAllowedAriaLabel:["applet","input"]}},{id:"aria-required-attr",evaluate:"aria-required-attr-evaluate"},{id:"aria-required-children",evaluate:"aria-required-children-evaluate",options:{reviewEmpty:["doc-bibliography","doc-endnotes","grid","list","listbox","menu","menubar","table","tablist","tree","treegrid","rowgroup"]}},{id:"aria-required-parent",evaluate:"aria-required-parent-evaluate",options:{ownGroupRoles:["listitem","treeitem"]}},{id:"aria-roledescription",evaluate:"aria-roledescription-evaluate",options:{supportedRoles:["button","img","checkbox","radio","combobox","menuitemcheckbox","menuitemradio"]}},{id:"aria-unsupported-attr",evaluate:"aria-unsupported-attr-evaluate"},{id:"aria-valid-attr-value",evaluate:"aria-valid-attr-value-evaluate",options:[]},{id:"aria-valid-attr",evaluate:"aria-valid-attr-evaluate",options:[]},{id:"braille-label-equivalent",evaluate:"braille-label-equivalent-evaluate"},{id:"braille-roledescription-equivalent",evaluate:"braille-roledescription-equivalent-evaluate"},{id:"deprecatedrole",evaluate:"deprecatedrole-evaluate"},{id:"fallbackrole",evaluate:"fallbackrole-evaluate"},{id:"has-global-aria-attribute",evaluate:"has-global-aria-attribute-evaluate"},{id:"has-widget-role",evaluate:"has-widget-role-evaluate",options:[]},{id:"invalidrole",evaluate:"invalidrole-evaluate"},{id:"is-element-focusable",evaluate:"is-element-focusable-evaluate"},{id:"no-implicit-explicit-label",evaluate:"no-implicit-explicit-label-evaluate"},{id:"unsupportedrole",evaluate:"unsupportedrole-evaluate"},{id:"valid-scrollable-semantics",evaluate:"valid-scrollable-semantics-evaluate",options:{roles:["tooltip"]}},{id:"color-contrast-enhanced",evaluate:"color-contrast-evaluate",options:{ignoreUnicode:true,ignoreLength:false,ignorePseudo:false,boldValue:700,boldTextPt:14,largeTextPt:18,contrastRatio:{normal:{expected:7,minThreshold:4.5},large:{expected:4.5,minThreshold:3}},pseudoSizeThreshold:.25,shadowOutlineEmMax:.1,textStrokeEmMin:.03}},{id:"color-contrast",evaluate:"color-contrast-evaluate",options:{ignoreUnicode:true,ignoreLength:false,ignorePseudo:false,boldValue:700,boldTextPt:14,largeTextPt:18,contrastRatio:{normal:{expected:4.5},large:{expected:3}},pseudoSizeThreshold:.25,shadowOutlineEmMax:.2,textStrokeEmMin:.03}},{id:"link-in-text-block-style",evaluate:"link-in-text-block-style-evaluate"},{id:"link-in-text-block",evaluate:"link-in-text-block-evaluate",options:{requiredContrastRatio:3,allowSameColor:true}},{id:"autocomplete-appropriate",evaluate:"autocomplete-appropriate-evaluate",deprecated:true},{id:"autocomplete-valid",evaluate:"autocomplete-valid-evaluate",options:{stateTerms:["none","false","true","disabled","enabled","undefined","null","xoff","xon"],ignoredValues:["text","pronouns","gender","message","content"]}},{id:"accesskeys",evaluate:"accesskeys-evaluate",after:"accesskeys-after"},{id:"focusable-content",evaluate:"focusable-content-evaluate"},{id:"focusable-disabled",evaluate:"focusable-disabled-evaluate"},{id:"focusable-element",evaluate:"focusable-element-evaluate"},{id:"focusable-modal-open",evaluate:"focusable-modal-open-evaluate"},{id:"focusable-no-name",evaluate:"focusable-no-name-evaluate"},{id:"focusable-not-tabbable",evaluate:"focusable-not-tabbable-evaluate"},{id:"frame-focusable-content",evaluate:"frame-focusable-content-evaluate"},{id:"landmark-is-top-level",evaluate:"landmark-is-top-level-evaluate"},{id:"no-focusable-content",evaluate:"no-focusable-content-evaluate"},{id:"page-has-heading-one",evaluate:"has-descendant-evaluate",after:"has-descendant-after",options:{selector:"h1:not([role], [aria-level]), :is(h1, h2, h3, h4, h5, h6):not([role])[aria-level=1], [role=heading][aria-level=1]",passForModal:true}},{id:"page-has-main",evaluate:"has-descendant-evaluate",after:"has-descendant-after",options:{selector:"main:not([role]), [role='main']",passForModal:true}},{id:"page-no-duplicate-banner",evaluate:"page-no-duplicate-evaluate",after:"page-no-duplicate-after",options:{selector:"header:not([role]), [role=banner]",role:"banner"}},{id:"page-no-duplicate-contentinfo",evaluate:"page-no-duplicate-evaluate",after:"page-no-duplicate-after",options:{selector:"footer:not([role]), [role=contentinfo]",role:"contentinfo"}},{id:"page-no-duplicate-main",evaluate:"page-no-duplicate-evaluate",after:"page-no-duplicate-after",options:{selector:"main:not([role]), [role='main']"}},{id:"tabindex",evaluate:"tabindex-evaluate"},{id:"alt-space-value",evaluate:"alt-space-value-evaluate"},{id:"duplicate-img-label",evaluate:"duplicate-img-label-evaluate",options:{parentSelector:"button, [role=button], a[href], p, li, td, th"}},{id:"explicit-label",evaluate:"explicit-evaluate"},{id:"help-same-as-label",evaluate:"help-same-as-label-evaluate"},{id:"hidden-explicit-label",evaluate:"hidden-explicit-label-evaluate"},{id:"implicit-label",evaluate:"implicit-evaluate"},{id:"label-content-name-mismatch",evaluate:"label-content-name-mismatch-evaluate",options:{pixelThreshold:.1,occurrenceThreshold:3}},{id:"multiple-label",evaluate:"multiple-label-evaluate"},{id:"title-only",evaluate:"title-only-evaluate"},{id:"landmark-is-unique",evaluate:"landmark-is-unique-evaluate",after:"landmark-is-unique-after"},{id:"has-lang",evaluate:"has-lang-evaluate",options:{attributes:["lang","xml:lang"]}},{id:"valid-lang",evaluate:"valid-lang-evaluate",options:{attributes:["lang","xml:lang"]}},{id:"xml-lang-mismatch",evaluate:"xml-lang-mismatch-evaluate"},{id:"dlitem",evaluate:"dlitem-evaluate"},{id:"listitem",evaluate:"listitem-evaluate"},{id:"only-dlitems",evaluate:"invalid-children-evaluate",options:{validRoles:["definition","term","listitem"],validNodeNames:["dt","dd"],divGroups:true}},{id:"only-listitems",evaluate:"invalid-children-evaluate",options:{validRoles:["listitem"],validNodeNames:["li"]}},{id:"structured-dlitems",evaluate:"structured-dlitems-evaluate"},{id:"caption",evaluate:"caption-evaluate"},{id:"frame-tested",evaluate:"frame-tested-evaluate",after:"frame-tested-after",options:{isViolation:false}},{id:"no-autoplay-audio",evaluate:"no-autoplay-audio-evaluate",options:{allowedDuration:3}},{id:"css-orientation-lock",evaluate:"css-orientation-lock-evaluate",options:{degreeThreshold:2}},{id:"meta-viewport-large",evaluate:"meta-viewport-scale-evaluate",options:{scaleMinimum:5,lowerBound:2}},{id:"meta-viewport",evaluate:"meta-viewport-scale-evaluate",options:{scaleMinimum:2}},{id:"target-offset",evaluate:"target-offset-evaluate",options:{minOffset:24}},{id:"target-size",evaluate:"target-size-evaluate",options:{minSize:24}},{id:"header-present",evaluate:"has-descendant-evaluate",after:"has-descendant-after",options:{selector:":is(h1, h2, h3, h4, h5, h6):not([role]), [role=heading]"}},{id:"heading-order",evaluate:"heading-order-evaluate",after:"heading-order-after"},{id:"identical-links-same-purpose",evaluate:"identical-links-same-purpose-evaluate",after:"identical-links-same-purpose-after"},{id:"internal-link-present",evaluate:"internal-link-present-evaluate"},{id:"landmark",evaluate:"has-descendant-evaluate",options:{selector:"main, [role=main]"}},{id:"meta-refresh-no-exceptions",evaluate:"meta-refresh-evaluate",options:{minDelay:72e3,maxDelay:false}},{id:"meta-refresh",evaluate:"meta-refresh-evaluate",options:{minDelay:0,maxDelay:72e3}},{id:"p-as-heading",evaluate:"p-as-heading-evaluate",options:{margins:[{weight:150,italic:true},{weight:150,size:1.15},{italic:true,size:1.15},{size:1.4}],passLength:1,failLength:.5}},{id:"region",evaluate:"region-evaluate",after:"region-after",options:{regionMatcher:"dialog, [role=dialog], [role=alertdialog], svg"}},{id:"skip-link",evaluate:"skip-link-evaluate"},{id:"unique-frame-title",evaluate:"unique-frame-title-evaluate",after:"unique-frame-title-after"},{id:"duplicate-id-active",evaluate:"duplicate-id-evaluate",after:"duplicate-id-after"},{id:"duplicate-id-aria",evaluate:"duplicate-id-evaluate",after:"duplicate-id-after"},{id:"duplicate-id",evaluate:"duplicate-id-evaluate",after:"duplicate-id-after"},{id:"aria-label",evaluate:"aria-label-evaluate"},{id:"aria-labelledby",evaluate:"aria-labelledby-evaluate"},{id:"avoid-inline-spacing",evaluate:"avoid-inline-spacing-evaluate",options:{cssProperties:["line-height","letter-spacing","word-spacing"]}},{id:"button-has-visible-text",evaluate:"has-text-content-evaluate"},{id:"doc-has-title",evaluate:"doc-has-title-evaluate"},{id:"error-occurred",evaluate:"exists-evaluate"},{id:"exists",evaluate:"exists-evaluate"},{id:"has-alt",evaluate:"has-alt-evaluate"},{id:"has-visible-text",evaluate:"has-text-content-evaluate"},{id:"important-letter-spacing",evaluate:"inline-style-property-evaluate",options:{cssProperty:"letter-spacing",minValue:.12}},{id:"important-line-height",evaluate:"inline-style-property-evaluate",options:{multiLineOnly:true,cssProperty:"line-height",minValue:1.5,normalValue:1}},{id:"important-word-spacing",evaluate:"inline-style-property-evaluate",options:{cssProperty:"word-spacing",minValue:.16}},{id:"is-on-screen",evaluate:"is-on-screen-evaluate"},{id:"non-empty-alt",evaluate:"attr-non-space-content-evaluate",options:{attribute:"alt"}},{id:"non-empty-if-present",evaluate:"non-empty-if-present-evaluate"},{id:"non-empty-placeholder",evaluate:"attr-non-space-content-evaluate",options:{attribute:"placeholder"}},{id:"non-empty-title",evaluate:"attr-non-space-content-evaluate",options:{attribute:"title"}},{id:"non-empty-value",evaluate:"attr-non-space-content-evaluate",options:{attribute:"value"}},{id:"presentational-role",evaluate:"presentational-role-evaluate"},{id:"role-none",evaluate:"matches-definition-evaluate",deprecated:true,options:{matcher:{attributes:{role:"none"}}}},{id:"role-presentation",evaluate:"matches-definition-evaluate",deprecated:true,options:{matcher:{attributes:{role:"presentation"}}}},{id:"svg-non-empty-title",evaluate:"svg-non-empty-title-evaluate"},{id:"caption-faked",evaluate:"caption-faked-evaluate"},{id:"html5-scope",evaluate:"html5-scope-evaluate"},{id:"same-caption-summary",evaluate:"same-caption-summary-evaluate"},{id:"scope-value",evaluate:"scope-value-evaluate",options:{values:["row","col","rowgroup","colgroup"]}},{id:"td-has-header",evaluate:"td-has-header-evaluate"},{id:"td-headers-attr",evaluate:"td-headers-attr-evaluate"},{id:"th-has-data-cells",evaluate:"th-has-data-cells-evaluate"},{id:"hidden-content",evaluate:"hidden-content-evaluate"}]});})(typeof window=="object"?window:Sg);});var D3=()=>{let p="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye]",b=[],v=new Set;function m(D){let I=(D.textContent||"").trim().replace(/\s+/g,""),q=D.querySelector("img, svg, picture")!==null,L=D.querySelector("i[class], span[class]")!==null;if(I.length>0&&!q&&!L)return false;if(q){let y=D.querySelectorAll("img"),A="";y.forEach(k=>{A+=(k.getAttribute("alt")||"").trim();});let F=I.replace(/\s+/g,""),T=A.replace(/\s+/g,"");return F===""||F===T}return false}function E(D){let I=D.nextElementSibling;for(;I;){if(isVisible(I))return I;I=I.nextElementSibling;}return null}return document.querySelectorAll("a[href]").forEach(D=>{if(b.length>=50||D.closest(p)||!isVisible(D)||v.has(D))return;let I=D.getAttribute("href");if(!I||I==="#")return;let q=E(D);if(!q||q.tagName!=="A"||q.getAttribute("href")!==I||v.has(q)||D.getAttribute("aria-hidden")==="true"||q.getAttribute("aria-hidden")==="true")return;let y=m(D),A=m(q);if(!y&&!A)return;let F=y?D:q,T=y?q:D;v.add(F),v.add(T);let k=uniqueSel(F),M=F.outerHTML.slice(0,300),N=(T.textContent||"").trim().slice(0,80);b.push({selector:k,attribute:"aria-hidden",currentValue:"",issueType:"adjacent_redundant_link",wcag:"2.4.4",context:JSON.stringify({href:I,imageLink:true,adjacentLinkText:N,suggestion:'Add aria-hidden="true" and tabindex="-1" to the image-only link'}),needsAI:false,fixValue:"true",outerHtml:M}),b.push({selector:k,attribute:"tabindex",currentValue:"",issueType:"adjacent_redundant_link",wcag:"2.4.4",context:JSON.stringify({supplementary:"Remove from tab order alongside aria-hidden",href:I}),needsAI:false,fixValue:"-1",outerHtml:M});}),b},J1={name:"adjacentLinks",cap:50,async detect(p){return p.evaluate(D3)}};var A3=()=>{let p="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=ae-exclude],[id*=ae_app],[id*=ae_],[class*=EquallyAI]",d='.slick-cloned,.slick-clone,.swiper-slide-duplicate,.owl-item.cloned,[data-slick-index^="-"],[data-swiper-slide-index]:not([data-swiper-slide-index=""])',b=["[aria-expanded]",'[class*="dropdown" i]','[class*="submenu" i]','[class*="sub-menu" i]','[class*="collapse" i]','[class*="accordion" i]','[class*="megamenu" i]','[class*="mega-menu" i]','[class*="flyout" i]','[class*="fsNav" i]','[role="menu"]','[role="menubar"]','[role="tablist"]','[role="tab"]',"nav"].join(","),v=new Set(["A","BUTTON","INPUT","SELECT","TEXTAREA"]),m=50,E=[],C=new Set;function D(L){let y=L,A=0;for(;y&&y.nodeType===1&&y!==document.body&&A<20;){try{let F=getComputedStyle(y);if(F.display==="none"||F.visibility==="hidden"||F.visibility==="collapse")return !0}catch{}y=y.parentElement,A++;}return false}function I(L){let y=L.tagName,A=L.getAttribute("tabindex");if(A!==null){let F=parseInt(A,10);if(!isNaN(F)&&F>=0)return true;if(!isNaN(F)&&F<0)return false}return v.has(y)?!(y==="A"&&!L.hasAttribute("href")||L.hasAttribute("disabled")):false}return document.querySelectorAll('[aria-hidden="true"]').forEach(L=>{if(E.length>=m||L.closest(p)||L.closest(d)||L.closest(b)||L.matches(b))return;let y=[];if(I(L)&&y.push(L),L.querySelectorAll("a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]").forEach(F=>{I(F)&&y.push(F);}),y.length!==0)for(let F of y){if(E.length>=m)return;let T=uniqueSel(F),k=T+"\0tabindex";if(C.has(k))continue;C.add(k);let M=D(F),N=!M;E.push({selector:T,attribute:"tabindex",currentValue:F.getAttribute("tabindex")||"",issueType:"aria_hidden_focusable",wcag:"4.1.2",context:JSON.stringify({tag:F.tagName.toLowerCase(),parentHidden:L.tagName.toLowerCase(),collapsed:M,suggestion:M?"Focusable control inside an aria-hidden region that is currently display:none/visibility:hidden \u2014 likely a closed modal/dialog/dropdown. Confirm the control is permanently hidden before removing it from the tab order.":'This control is rendered and operable inside an aria-hidden region. Remove aria-hidden from the region if the control is meant to be used, or hide the region (display:none / hidden / inert) when it is not. Do not set tabindex="-1" on a visible control: keyboard users lose it.'}),needsAI:false,fixValue:"-1",...M?{needsReview:true,reviewReason:'this focusable control is inside an aria-hidden region that is currently hidden by layout (display:none/visibility:hidden) \u2014 the signature of a closed modal/dialog/dropdown/tab-panel whose controls are meant to become focusable when it opens. A static tabindex="-1" would permanently remove it from the tab order and create a keyboard trap once the widget is shown. Confirm the control is permanently hidden before applying.'}:{},...N?{manualFix:true,reviewReason:'the control is rendered inside an aria-hidden region: tabindex="-1" would leave a visible, clickable control unreachable by keyboard (2.1.1). The right fix is on the region (remove aria-hidden, or hide it for everyone), which needs a person.'}:{},outerHtml:(F.outerHTML||"").slice(0,300)});}}),E},Z1={name:"ariaHiddenFocusable",cap:50,async detect(p){return p.evaluate(A3)}};var _3=()=>{let p="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",b=[],v=new Set,m=[{regex:/\btoast\b/i,ariaLive:"polite",role:"status"},{regex:/\bsnackbar\b/i,ariaLive:"polite",role:"status"},{regex:/error[-_]message|error[-_]msg|form[-_]error|validation[-_]error/i,ariaLive:"assertive",role:"alert"},{regex:/success[-_]message|success[-_]msg/i,ariaLive:"polite",role:"status"},{regex:/alert[-_]message|alert[-_]banner/i,ariaLive:"assertive",role:"alert"},{regex:/flash[-_]message|flash[-_]notice/i,ariaLive:"polite",role:"status"},{regex:/cart[-_]count|cart[-_]badge|cart[-_]quantity/i,ariaLive:"polite",role:"status"},{regex:/loading[-_]spinner|loading[-_]indicator/i,ariaLive:"polite",role:"status"},{regex:/search[-_]results?[-_]count/i,ariaLive:"polite",role:"status"},{regex:/\blive[-_]region\b/i,ariaLive:"polite",role:"status"},{regex:/notification[-_](bar|area|container|popup|wrapper)/i,ariaLive:"polite",role:"status"},{regex:/status[-_]message/i,ariaLive:"polite",role:"status"}];function E(C){if(!(C.textContent||"").trim())return true;let I=getComputedStyle(C);return !!(I.display==="none"||I.visibility==="hidden"||I.opacity==="0"||I.maxHeight==="0px"||I.height==="0px"||C.hasAttribute("data-bind")||C.hasAttribute("v-if")||C.hasAttribute("v-show")||C.hasAttribute("ng-if")||C.hasAttribute("ng-show")||C.hasAttribute(":class")||C.hasAttribute("x-show")||C.hasAttribute("x-if")||C.hasAttribute("aria-atomic"))}for(let C of m){if(b.length>=50)break;let D=document.querySelectorAll("*");for(let I of D){if(b.length>=50)break;if(v.has(I)||I.closest(p))continue;let q=I.className&&typeof I.className=="string"?I.className:"",L=I.getAttribute("id")||"";if(!C.regex.test(q)&&!C.regex.test(L)||I.getAttribute("aria-live"))continue;let y=I.getAttribute("role")||"";if(["alert","status","log","timer","marquee"].includes(y)||!/\btoast\b|\bsnackbar\b|error[-_]|success[-_]|alert[-_]|flash[-_]/i.test(q+" "+L)&&!E(I))continue;v.add(I);let F=uniqueSel(I),T=C.regex.test(q)?"class":"id",k=T==="class"?q.slice(0,60):L;b.push({selector:F,attribute:"aria-live",currentValue:"",issueType:"aria_live",wcag:"4.1.3",context:T+": "+k+" | pattern: "+C.regex.source,needsAI:false,fixValue:C.ariaLive});}}return b},Q1={name:"ariaLive",cap:50,async detect(p){return p.evaluate(_3)}};var E3=()=>{let p="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=ae-exclude],[id*=ae_app],[id*=ae_],[class*=EquallyAI]",b=[],v=new Set,m=["aria-labelledby","aria-describedby"];return document.querySelectorAll("[aria-labelledby],[aria-describedby]").forEach(D=>{if(!(b.length>=50)&&!D.closest(p)&&isVisible(D)&&!isHiddenFromAT(D)&&!D.getAttribute("aria-live")&&!D.closest("[aria-live]")&&!D.closest("template"))for(let I of m){let q=D.getAttribute(I);if(!q||!q.trim())continue;let L=q.trim().split(/\s+/).filter($=>$.length>0);if(L.length===0||!L.every($=>!document.getElementById($)))continue;let A=D.getAttribute("aria-label");if(A&&A.trim())continue;let F=getAccessibleName(D);if(F&&F.trim())continue;let T=uniqueSel(D),k=T+"\0"+I;if(v.has(k))continue;v.add(k);let{nearbyHeading:M,parentTag:N,parentRole:j}=getNearbyContext(D);b.push({selector:T,attribute:"aria-label",currentValue:"",issueType:"broken_aria_reference",wcag:"4.1.2",context:JSON.stringify({tag:D.tagName.toLowerCase(),brokenAttr:I,brokenIds:L,nearbyHeading:M,parentTag:N,parentRole:j,suggestion:`All IDs in ${I}="${q}" are missing from the DOM. Element has no accessible name. Generate an aria-label.`}),needsAI:true,outerHtml:(D.outerHTML||"").slice(0,300)});}}),b},eh={name:"brokenAriaReferences",cap:50,async detect(p){return p.evaluate(E3)}};var C3=()=>{let d=[],b=["submit","send","login","log in","sign in","sign up","register","subscribe","save","order","purchase","checkout","pay","book","apply","enroll","confirm","join","create account","get started","schedule","place order","buy","donate","search","find","go"],v=document.querySelectorAll("button");for(let m of v){if(d.length>=50)break;let E=m;if(isWidget(E)||E.hasAttribute("type")||!E.closest("form"))continue;let C=(E.textContent||"").trim().slice(0,60),D=(E.getAttribute("aria-label")||"").trim().slice(0,60),I=C||D||"(no label)",q=I.toLowerCase();b.some(y=>q.includes(y))||d.push({selector:uniqueSel(E),attribute:"type",currentValue:"",issueType:"missing_button_type",wcag:"3.2.2",context:"button inside <form> missing type attribute \u2014 defaults to submit | label: "+I,needsAI:false,fixValue:"button",outerHtml:(E.outerHTML||"").slice(0,300)});}return d},th={name:"buttonType",cap:50,async detect(p){return p.evaluate(C3)}};var S3=()=>{let d=[],b=document.querySelectorAll("video, audio");for(let v of Array.from(b)){if(d.length>=20)break;if(isWidget(v)||typeof isVisible=="function"&&!isVisible(v)||v.error)continue;let m=v.tagName==="VIDEO";if(m){let k=v.hasAttribute("muted")||v.muted,M=v.hasAttribute("controls"),N=v.hasAttribute("loop")||v.loop,j=/mute|unmute|sound|volume|audio|play|pause/i,$=!!v.parentElement?.querySelector('button, [role="button"]')||!!v.getAttribute("id")&&!!document.querySelector('[aria-controls~="'+(v.getAttribute("id")||"").replace(/"/g,"")+'"]');for(let K=v.parentElement?.parentElement||null,Q=0;K&&!$&&Q<3;K=K.parentElement,Q++)$=Array.from(K.querySelectorAll('button, [role="button"]')).some(_=>j.test((_.getAttribute("aria-label")||"")+" "+(_.getAttribute("title")||"")+" "+(_.textContent||"")));if(k&&N&&!M&&!$)continue}let E=v.querySelectorAll("track"),C=false;for(let k of Array.from(E)){let M=(k.getAttribute("kind")||"").toLowerCase();if(M==="captions"||M==="subtitles"){C=true;break}}if(C)continue;let D=v.currentSrc||v.getAttribute("src")||"";if(D||(D=v.querySelector("source")?.getAttribute("src")||""),!D)continue;let I=D.toLowerCase();if(I.startsWith("blob:")||I.startsWith("data:")||I.startsWith("about:")||I.startsWith("javascript:")||I.endsWith(".m3u8")||I.includes(".m3u8?")||I.endsWith(".mpd")||I.includes(".mpd?"))continue;let q=D;try{q=new URL(D,location.href).toString();}catch{continue}let L=typeof uniqueSel=="function"?uniqueSel(v):"",y=v.getAttribute("title")||v.getAttribute("aria-label")||"",A=typeof getNearbyContext=="function"?getNearbyContext(v):{parentTag:v.tagName.toLowerCase(),nearbyHeading:""},F=[];F.push("media: "+v.tagName.toLowerCase()),F.push("src: "+q.slice(0,200)),y&&F.push("title: "+y.slice(0,80)),A.nearbyHeading&&F.push("heading: "+A.nearbyHeading),F.push("parent: "+A.parentTag);let T=m;d.push({selector:L,attribute:"data-needs-captions",currentValue:"",issueType:"missing_captions",wcag:"1.2.2",context:F.join(" | "),needsAI:true,...T?{needsReview:true,reviewReason:"cannot verify an audio track in-page \u2014 confirm the video has speech content before transcribing (silent videos need no captions)"}:{},imageSrc:q,outerHtml:(v.outerHTML||"").slice(0,300)});}return d},rh={name:"captions",cap:20,async detect(p){return p.evaluate(S3)}};var k3=()=>{let p="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",b=[],v="p, li, blockquote, article, section, main, div",m=document.querySelectorAll("a[href]"),E=new Map;for(let C of Array.from(m)){if(b.length>=40)break;if(C.closest(p)||C.closest('nav, header, footer, aside, [role="navigation"], [role="banner"], [role="contentinfo"]')||typeof isVisible=="function"&&!isVisible(C))continue;let D=C.closest(v);if(!D)continue;let I=(C.textContent||"").trim();if(!I)continue;let q=E.get(D);if(q===void 0){q=0;let K=document.createTreeWalker(D,NodeFilter.SHOW_TEXT),Q;for(;Q=K.nextNode();){let _=Q.parentElement;!_||_.closest("a")||_.closest(v)===D&&(typeof isVisible=="function"&&!isVisible(_)||(q+=(Q.textContent||"").trim().length));}E.set(D,q);}if(q<20||C.querySelector("img, svg, [class*=icon], [class*=arrow]"))continue;let L=getComputedStyle(C),y=getComputedStyle(D);if((L.textDecorationLine||L.textDecoration||"").includes("underline")||(()=>{let K=document.createTreeWalker(C,NodeFilter.SHOW_TEXT),Q,_=false;for(;Q=K.nextNode();){if(!/[\p{L}\p{N}]/u.test(Q.textContent||""))continue;_=true;let h=false;for(let R=Q.parentElement;R&&R!==C;R=R.parentElement){let x=getComputedStyle(R),O=(x.textDecorationColor||"").replace(/\s/g,"");if((x.textDecorationLine||"").includes("underline")&&O!=="transparent"&&!/^rgba\([^)]*,0(?:\.0+)?\)$/.test(O)){h=true;break}let B=(x.borderBottomColor||"").replace(/\s/g,""),V=B==="transparent"||/^rgba\([^)]*,0(?:\.0+)?\)$/.test(B);if((x.borderBottomStyle||"none")!=="none"&&parseFloat(x.borderBottomWidth||"0")>0&&!V){h=true;break}}if(!h)return false}return _})())continue;let T=parseInt(L.fontWeight||"400",10),k=parseInt(y.fontWeight||"400",10);if(Number.isFinite(T)&&Number.isFinite(k)&&T-k>=300||(L.borderBottomStyle||"none")!=="none"&&(L.borderBottomWidth||"0px")!=="0px"||L.color===y.color)continue;let N=typeof uniqueSel=="function"?uniqueSel(C):"",j=typeof getNearbyContext=="function"?getNearbyContext(C):{parentTag:C.tagName.toLowerCase(),nearbyHeading:""},$=[];$.push("link: "+I.slice(0,40)),$.push("color: "+L.color),$.push("parent-color: "+y.color),j.nearbyHeading&&$.push("heading: "+j.nearbyHeading),$.push("parent: "+j.parentTag),b.push({selector:N,attribute:"style",currentValue:L.textDecoration||"",issueType:"color_only_link",wcag:"1.4.1",context:$.join(" | "),needsAI:false,fixValue:"text-decoration: underline !important;",outerHtml:(C.outerHTML||"").slice(0,300)});}return b},nh={name:"colorOnly",cap:40,async detect(p){return p.evaluate(k3)}};var T3=()=>{let d=[],b=M=>typeof parseCssColor=="function"?parseCssColor(M):null,v=(M,N,j)=>typeof relLuminance=="function"?relLuminance(M,N,j):0,m=(M,N)=>typeof contrastRatio=="function"?contrastRatio(M,N):1;function E(M){let N=String(M.backgroundImage||"none");if(N==="none")return false;if(/gradient\(/i.test(N))return true;if(!/url\(/i.test(N))return false;let j=String(M.backgroundRepeat||"").toLowerCase(),$=String(M.backgroundSize||"").toLowerCase(),K=j.split(",").map(_=>_.trim()).some(_=>_!==""&&_!=="no-repeat"),Q=/cover|contain|100%/.test($);return K||Q}function C(M){let N=document.documentElement,j=M,$=0;for(;j&&j!==N&&$<12;){let R=getComputedStyle(j);if(E(R))return null;let x=b(R.backgroundColor||"");if(x&&x[3]>.5)return [x[0],x[1],x[2]];j=j.parentElement,$++;}let K=document.body;if(j&&j!==N&&K&&K.contains(j)){let R=getComputedStyle(K);if(E(R))return null;let x=b(R.backgroundColor||"");if(x&&x[3]>.5)return [x[0],x[1],x[2]]}let Q=getComputedStyle(N);if(E(Q))return null;let _=b(Q.backgroundColor||""),h=_?Math.min(_[3],1):0;return !_||h<=0?[255,255,255]:[Math.round(_[0]*h+255*(1-h)),Math.round(_[1]*h+255*(1-h)),Math.round(_[2]*h+255*(1-h))]}function D(M,N,j){return "#"+[M,N,j].map($=>{let K=Math.max(0,Math.min(255,Math.round($))).toString(16);return K.length===1?"0"+K:K}).join("")}function I(M,N,j){let $=v(N[0],N[1],N[2])>.5;return q(M,N,j,$)||q(M,N,j,!$)}function q(M,N,j,$){let K=0,Q=1,_=null;for(let h=0;h<20;h++){let R=(K+Q)/2,x=$?[M[0]*(1-R),M[1]*(1-R),M[2]*(1-R)]:[M[0]+(255-M[0])*R,M[1]+(255-M[1])*R,M[2]+(255-M[2])*R],O=[Math.round(x[0]),Math.round(x[1]),Math.round(x[2])];m(O,N)>=j?(_=O,Q=R):K=R;}return _}let L=new Set(["application","button","checkbox","columnheader","combobox","grid","gridcell","group","link","listbox","menu","menubar","menuitem","menuitemcheckbox","menuitemradio","option","radio","radiogroup","row","rowheader","scrollbar","searchbox","separator","slider","spinbutton","switch","tab","tablist","textbox","toolbar","tree","treegrid","treeitem"]);function y(M){if(M.closest("button:disabled, input:disabled, select:disabled, textarea:disabled, optgroup:disabled, option:disabled"))return true;for(let j=M;j&&j.nodeType===1;j=j.parentElement){if(j.getAttribute("aria-disabled")!=="true")continue;let $=(j.getAttribute("role")||"").trim().toLowerCase().split(/\s+/)[0];if($&&L.has($))return true}let N=M.closest("label");if(N){let j=N.control;if(j&&(j.disabled||j.getAttribute("aria-disabled")==="true"))return true}return false}let A=document.createTreeWalker(document.body,4),F=new Set,T=[],k=A.nextNode();for(;k;){if((k.textContent||"").trim().length>=2){let N=k.parentElement;N&&!F.has(N)&&(F.add(N),T.push(N));}k=A.nextNode();}for(let M of T){if(d.length>=30)break;if(isWidget(M)||isHiddenFromAT(M)||!isVisible(M)||y(M))continue;let N=getComputedStyle(M),j=b(N.color||"");if(!j)continue;if(j[3]<.5){let te=N.webkitBackgroundClip||N.backgroundClip||"",de=N.backgroundImage||"";if(String(te).includes("text")&&/gradient\(/i.test(de)){let me=Array.from(M.childNodes).filter(ue=>ue.nodeType===3).map(ue=>(ue.textContent||"").trim()).join("");me&&d.push({selector:uniqueSel(M),attribute:"style",currentValue:"gradient-clipped text",message:"contrast: gradient-clipped text \u2014 the glyph colour varies across the gradient, so the ratio cannot be computed; check the lightest stop meets 4.5:1",issueType:"contrast_insufficient",wcag:"1.4.3",context:"background-clip:text gradient text \u2014 glyph color varies across the gradient; contrast cannot be computed from CSS. text="+JSON.stringify(me.slice(0,40)),needsAI:true,needsReview:true,reviewReason:"gradient-clipped text \u2014 verify the lightest gradient stop still meets 4.5:1 against the surrounding background",outerHtml:M.outerHTML.slice(0,200)});}continue}let $=C(M),K=parseFloat(N.fontSize||"16"),Q=parseInt(N.fontWeight||"400",10),h=K>=24||K>=18.66&&Q>=700?3:4.5,R=Array.from(M.childNodes).filter(te=>te.nodeType===3).map(te=>(te.textContent||"").trim()).join("");if(!R)continue;let x=D(j[0],j[1],j[2]),O=uniqueSel(M);if($===null){d.push({selector:O,attribute:"style",currentValue:x,message:"contrast: text "+x+" on a gradient or image background \u2014 the ratio cannot be computed from CSS; check it meets "+h+":1 where the background is lightest/darkest",issueType:"contrast_insufficient",wcag:"1.4.3",context:"fg="+x+" bg=<gradient-or-image> needs="+h+" text="+JSON.stringify(R.slice(0,40)),needsAI:true,needsReview:true,reviewReason:"background uses gradient or image \u2014 contrast cannot be reliably computed",outerHtml:M.outerHTML.slice(0,200)});continue}let B=m([j[0],j[1],j[2]],$);if(B>=h)continue;let V=I([j[0],j[1],j[2]],$,h);if(!V)continue;let W=D(V[0],V[1],V[2]),J=D($[0],$[1],$[2]),ie="color:"+W+" !important;";d.push({selector:O,attribute:"style",currentValue:x,message:"contrast: "+x+" on "+J+" is "+B.toFixed(2)+":1, needs "+h+":1 \u2014 e.g. color "+W,issueType:"contrast_insufficient",wcag:"1.4.3",context:"fg="+x+" bg="+J+" ratio="+B.toFixed(2)+" needs="+h+" text="+JSON.stringify(R.slice(0,40)),needsAI:false,fixValue:ie,outerHtml:M.outerHTML.slice(0,200)});}return d},ah={name:"contrast",cap:30,async detect(p){return p.evaluate(T3)}};var R3=()=>{let p="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye]",b=[],v=document.querySelectorAll("marquee, blink");for(let I of Array.from(v)){if(b.length>=30)break;if(I.closest(p))continue;let q=typeof uniqueSel=="function"?uniqueSel(I):I.tagName.toLowerCase();b.push({selector:q,attribute:"aria-hidden",currentValue:I.getAttribute("aria-hidden")||"",issueType:"motion_uncontrollable",wcag:"2.2.2",context:`deprecated ${I.tagName.toLowerCase()} element \u2014 uncontrollable motion`,needsAI:false,manualFix:true,fixValue:"true",outerHtml:(I.outerHTML||"").slice(0,300)});}let m=document.querySelectorAll('img[src*=".gif" i], img[src$=".gif" i]');for(let I of Array.from(m)){if(b.length>=30)break;if(I.closest(p))continue;let q=I.getAttribute("src")||"";if(!/\.gif(\?|#|$)/i.test(q)||typeof isVisible=="function"&&!isVisible(I))continue;let L=I.getBoundingClientRect();if(L.width<=40&&L.height<=40)continue;let y=typeof uniqueSel=="function"?uniqueSel(I):"img";b.push({selector:y,attribute:"data-asw-motion-review",currentValue:"",issueType:"animated_gif_no_pause",wcag:"2.2.2",context:`animated GIF without pause control: ${q.split("/").pop()?.slice(0,60)||q.slice(-60)}`,needsAI:true,outerHtml:(I.outerHTML||"").slice(0,300)});}let E=document.querySelectorAll('meta[http-equiv="refresh"], meta[http-equiv="Refresh"], meta[http-equiv="REFRESH"]');for(let I of Array.from(E)){if(b.length>=30)break;let q=(I.getAttribute("content")||"").trim(),L=parseInt((q.split(/[;,]/)[0]||"").trim(),10);!Number.isFinite(L)||L<=0||b.push({selector:`meta[http-equiv="refresh"][content*="${q.slice(0,20)}"]`,attribute:"data-auto-refresh",currentValue:q,issueType:"auto_refresh",wcag:"2.2.1",context:`auto-refresh every ${L}s \u2014 interrupts screen reader users mid-sentence (WCAG 2.2.1)`,needsAI:false,manualFix:true,outerHtml:(I.outerHTML||"").slice(0,200)});}try{let I=!1,q=!1;for(let L of Array.from(document.styleSheets)){let y=null;try{y=L.cssRules;}catch{continue}if(y)for(let A of Array.from(y)){let F=A.cssText||"";if(/animation[^;]*\binfinite\b/i.test(F)&&/(keyframes|animation-name)/i.test(F+" "+(A.name||""))&&(I=!0),/prefers-reduced-motion[^{]*\(\s*reduce\s*\)/i.test(F)&&(q=!0),A.cssRules)for(let T of Array.from(A.cssRules)){let k=T.cssText||"";/animation[^;]*\binfinite\b/i.test(k)&&(I=!0);}}}I&&!q&&b.push({selector:"html",attribute:"data-asw-motion-review",currentValue:"",issueType:"motion_without_reduced_motion",wcag:"2.3.3",context:"infinite CSS animation detected without @media (prefers-reduced-motion: reduce) override",needsAI:!0,outerHtml:""});}catch{}let C=/\b(flash(ing)?|blink(ing)?|strobe)\b/i,D=document.querySelectorAll('[class*="flash" i], [class*="blink" i], [class*="strobe" i]');for(let I of Array.from(D)){if(b.length>=30)break;if(I.closest(p)||I.tagName==="BODY"||I.tagName==="HTML")continue;let q=I.className&&typeof I.className=="string"?I.className:"";if(!C.test(q)||typeof isVisible=="function"&&!isVisible(I))continue;let y=getComputedStyle(I).animationDuration,A=9999;if(y){let T=parseFloat(y);Number.isFinite(T)&&(A=/ms/i.test(y)?T:T*1e3);}if(A>333)continue;let F=typeof uniqueSel=="function"?uniqueSel(I):"";b.push({selector:F,attribute:"data-flashing-review",currentValue:"",issueType:"flashing_content",wcag:"2.3.1",context:`class matches flash/blink/strobe with ${A}ms animation-duration \u2014 seizure risk`,needsAI:false,needsReview:true,reviewReason:"WCAG 2.3.1 is met by stopping or slowing the flashing below 3 per second (remove the animation, slow it past 333ms, or add a pause control). aria-hidden does not stop flashing and hides content from assistive tech \u2014 do not apply it.",outerHtml:(I.outerHTML||"").slice(0,300)});}return b},ih={name:"cssAnimations",cap:30,async detect(p){return p.evaluate(R3)}};var F3=()=>{let d=[];function b(C){let D=(C.getAttribute("role")||"").toLowerCase();return D==="presentation"||D==="none"||(C.getAttribute("class")||"").toLowerCase().indexOf("layout")!==-1}function v(C){if(!C)return 0;let D=C.querySelectorAll("th, td"),I=0;for(let q=0;q<D.length;q++){let L=parseInt(D[q].getAttribute("colspan")||"1",10);I+=isNaN(L)||L<1?1:L;}return I}function m(C){let D=C.querySelectorAll("tr"),I=[];for(let q=0;q<D.length;q++){let L=D[q];L.closest("table")===C&&I.push(L);}return I}let E=document.querySelectorAll("table");for(let C=0;C<E.length&&!(d.length>=30);C++){let D=E[C];if(isWidget(D)||!isVisible(D)||b(D))continue;let I=m(D);if(I.length<=1)continue;let q=I[0],L=v(q);if(L<=1)continue;let y=uniqueSel(D),A=getNearbyContext(D),F=D.querySelectorAll("img, svg, picture").length>=2;if(F&&!(D.textContent||"").trim()){if(D.querySelector("input, select, textarea, button")&&(F=false),F&&D.querySelector("th, thead, caption, [scope], [headers]")&&(F=false),F){let h=Array.from(D.querySelectorAll("img")).map(R=>(R.getAttribute("alt")||"").trim().toLowerCase()).filter(Boolean);new Set(h).size<h.length&&(F=false);}}else if(F){let h=D.querySelectorAll("td, th"),R=0;for(let x=0;x<h.length&&F;x++){let O=h[x];if(O.closest("table")!==D)continue;let B=(O.textContent||"").trim(),V=!!O.querySelector("img, svg, picture");if(!B&&!V)continue;R++;let W=O.querySelectorAll("a[href]");F=O.tagName==="TD"&&W.length===1&&V&&(W[0].textContent||"").trim()===B;}R<2&&(F=false);}if(F){d.push({selector:y,attribute:"role",currentValue:D.getAttribute("role")||"",issueType:"missing_table_header",wcag:"1.3.1",context:JSON.stringify({reason:"table lays out images / image links only \u2014 likely a layout table",rows:I.length,cols:L,nearbyHeading:A.nearbyHeading}),needsAI:false,fixValue:"presentation",needsReview:true,reviewReason:'table of images or single image-links is likely layout \u2014 confirm, then mark it role="presentation" (do not add headers)',outerHtml:(D.outerHTML||"").slice(0,300)});continue}let T=null,k=D.querySelectorAll("thead");for(let h=0;h<k.length;h++)if(k[h].closest("table")===D){T=k[h];break}let M=T&&T.querySelector("tr")!==null,N=false;for(let h=0;h<I.length&&!N;h++){let R=I[h].children;for(let x=0;x<R.length&&!N;x++){let O=R[x],B=(O.tagName||"").toLowerCase();if(B!=="td"&&B!=="th")continue;if(B==="th"){N=true;break}let V=(O.getAttribute("headers")||"").trim();if(!V)continue;let W=V.split(/\s+/);for(let J=0;J<W.length;J++){let ie=document.getElementById(W[J]);if(ie&&(ie.tagName||"").toLowerCase()==="th"&&ie.closest("table")===D){N=true;break}}}}if(!M&&!N&&d.length<30&&d.push({selector:y,attribute:"thead",currentValue:T?"empty":"",issueType:"missing_table_header",wcag:"1.3.1",context:JSON.stringify({reason:T?"<thead> has no <tr>":"no <thead> element",rows:I.length,cols:L,nearbyHeading:A.nearbyHeading}),needsAI:false,fixValue:"wrap-first-row",outerHtml:(D.outerHTML||"").slice(0,300)}),L>2){let h=q.querySelectorAll("th, td"),R=h.length>0;for(let x=0;x<h.length;x++)if((h[x].tagName||"").toLowerCase()!=="td"){R=false;break}if(R)for(let x=0;x<h.length&&!(d.length>=30);x++){let O=h[x],B=uniqueSel(O),V=(O.textContent||"").trim().slice(0,60);d.push({selector:B,attribute:"role",currentValue:O.getAttribute("role")||"",issueType:"missing_table_header",wcag:"1.3.1",context:JSON.stringify({reason:"first-row <td> in data table \u2014 should be <th>",cellText:V,colIndex:x,nearbyHeading:A.nearbyHeading}),needsAI:false,fixValue:"columnheader",outerHtml:(O.outerHTML||"").slice(0,300)});}}let j=[],$=[],K=new Map;for(let h=0;h<I.length;h++){let R=I[h],x=0;for(let O=0;O<R.children.length;O++){let B=R.children[O],V=(B.tagName||"").toLowerCase();if(V!=="td"&&V!=="th")continue;for(;j.some(te=>te.lane===x&&te.untilRow>h);)x++;let W=parseInt(B.getAttribute("colspan")||"1",10);(isNaN(W)||W<1)&&(W=1);let J={rowIdx:h,lane:x,span:W,headers:(B.getAttribute("headers")||"").trim()};V==="td"?$.push(J):K.set(B,J);let ie=parseInt(B.getAttribute("rowspan")||"1",10)||1;if(ie>1)for(let te=0;te<W;te++)j.push({lane:x+te,untilRow:h+ie});x+=W;}}let Q=(h,R)=>R.lane<h.lane+h.span&&R.lane+R.span>h.lane,_=D.querySelectorAll("th");for(let h=0;h<_.length&&!(d.length>=30);h++){let R=_[h];if(R.closest("table")!==D)continue;let x=(R.getAttribute("scope")||"").trim().toLowerCase();if(x==="col"||x==="row"||x==="colgroup"||x==="rowgroup")continue;let O=false;if((R.getAttribute("headers")||"").trim())O=true;else {let ue=(R.getAttribute("id")||"").trim();if(ue)for(let De=0;De<$.length;De++){let Me=$[De].headers;if(Me&&Me.split(/\s+/).indexOf(ue)!==-1){O=true;break}}}if(O)continue;let B=R.closest("tr"),V=R.closest("thead")!==null,W=false;B&&I.length>0&&I[0]===B&&(W=true);let J=false;if(B){let ue=B.querySelectorAll("th, td");ue.length>0&&ue[0]===R&&(J=true);}let ie="col";V||W?ie="col":J&&(ie="row");let te=K.get(R);if(!O&&te){if(ie==="row")O=$.some(ue=>ue.rowIdx===te.rowIdx&&!ue.headers&&ue.lane>=te.lane+te.span);else if(O=$.some(ue=>ue.rowIdx>te.rowIdx&&!ue.headers&&Q(te,ue)),!O)for(let ue=0;ue<_.length;ue++){let De=K.get(_[ue]);if(!De||De.rowIdx<=te.rowIdx||!Q(te,De))continue;let Me=I[De.rowIdx],Ne=Me?Me.children:[];if(Ne.length>0&&Ne[0]===_[ue]&&_[ue].closest("table")===D){O=true;break}}}if(O)continue;let de=uniqueSel(R),me=(R.textContent||"").trim().slice(0,60);d.push({selector:de,attribute:"scope",currentValue:x,issueType:"missing_table_scope",wcag:"1.3.1",context:JSON.stringify({reason:"<th> missing scope attribute",inferred:ie,inThead:V,firstRow:W,firstCol:J,headerText:me}),needsAI:false,fixValue:ie,outerHtml:(R.outerHTML||"").slice(0,300)});}}return d},oh={name:"dataTables",cap:30,async detect(p){return p.evaluate(F3)}};var I3=()=>{let d=[];for(let b of document.querySelectorAll("img[alt]")){if(d.length>=30)break;let v=b;if((v.getAttribute("alt")||"").trim()!=="")continue;let m=(v.getAttribute("title")||"").trim().replace(/\s+/g," ");if(!m||isWidget(v))continue;let E=(v.getAttribute("role")||"").toLowerCase();E==="presentation"||E==="none"||v.getAttribute("aria-hidden")==="true"||v.closest('[aria-hidden="true"]')||(v.getAttribute("aria-label")||"").trim()||(v.getAttribute("aria-labelledby")||"").trim()||isVisible(v)&&d.push({selector:uniqueSel(v),attribute:"data-asw-decorative-title",currentValue:"",issueType:"decorative_image_with_title",wcag:"1.1.1",context:'image with alt="" also has title="'+m.slice(0,80)+'"',needsAI:true,needsReview:true,reviewReason:'WCAG 1.1.1 Non-text Content: this image has an empty alt (declared decorative) but also a title of "'+m.slice(0,80)+'". Violation when the picture conveys information the title names (a logo, a chart, a labelled icon), so the empty alt hides it. Pass when the picture is purely decorative and the title only repeats nearby text or adds nothing.',outerHtml:(v.outerHTML||"").slice(0,300)});}return d},sh={name:"decorativeImageTitle",cap:30,async detect(p){return p.evaluate(I3)}};var L3=()=>{let p="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",d=/^[^\p{L}\p{N}\s]*$/u,b=/^[\s\u00A0\u2000-\u200F\u2028-\u202F]*$/,m=[],E=document.querySelectorAll("a");for(let C of E){if(m.length>=50)break;if(C.closest(p)||C.getAttribute("aria-hidden")==="true"||C.getAttribute("role")==="presentation"||C.closest('[aria-hidden="true"]')||!isVisible(C))continue;let D=getAccessibleName(C);if(D&&D.length>0&&!b.test(D)&&!d.test(D))continue;let I=C.querySelectorAll("img[alt]"),q="";for(let K of I){let Q=(K.getAttribute("alt")||"").trim();Q&&(q+=Q+" ");}if(q.trim())continue;let L=C.getAttribute("aria-labelledby");if(L&&typeof __resolveIdRefs=="function"&&__resolveIdRefs(L))continue;let y=uniqueSel(C),A=C.getAttribute("href")||"",F=(C.textContent||"").trim(),T=getNearbyContext(C),k="";F&&b.test(F)?k="[whitespace only]":F&&d.test(F)&&(k=F);let M="",N=true;if(A&&A!=="#"&&!A.startsWith("javascript:")){if(A.startsWith("mailto:")){let K=A.slice(7).split("?")[0];K&&K.includes("@")&&(M="Email "+K,N=false);}else if(A.startsWith("tel:")){let K=A.slice(4);try{K=decodeURIComponent(K);}catch{}K=K.replace(/^\+/,"").trim(),K&&(M="Call "+K,N=false);}}let j=[];C.closest("nav")&&j.push("inside nav"),T.nearbyHeading&&j.push("heading: "+T.nearbyHeading),A&&j.push("href: "+A.slice(0,120)),j.push("parent: "+T.parentTag);let $={selector:y,attribute:"aria-label",currentValue:k,issueType:"empty_link",wcag:"2.4.4",context:j.join(" | "),needsAI:N,outerHtml:C.outerHTML.slice(0,300)};!N&&M&&($.fixValue=M),m.push($);}return m},lh={name:"emptyLinks",cap:50,async detect(p){return p.evaluate(L3)}};var M3=()=>{let d=[],b=new Set;function v(L){return (L||"").trim()}function m(L){let y=v(L.getAttribute("aria-label")||"");if(y)return y;let A=L.getAttribute("aria-labelledby");if(A){let T=A.split(/\s+/),k="";for(let M=0;M<T.length;M++){let N=document.getElementById(T[M]);N&&(k+=" "+(N.textContent||""));}if(v(k))return v(k)}let F=v(L.getAttribute("title")||"");return F||""}let E=document.querySelectorAll("fieldset");for(let L=0;L<E.length&&!(d.length>=30);L++){let y=E[L];if(isWidget(y)||!isVisible(y)||isHiddenFromAT(y))continue;if(m(y)){b.add(y);continue}let A=null,F=y.querySelectorAll("legend");for(let $=0;$<F.length;$++)if(F[$].closest("fieldset")===y){A=F[$];break}let T=A!==null,k=A?v(A.textContent||""):"";if(T&&k){b.add(y);continue}let M=getNearbyContext(y),N=y.querySelectorAll("input, select, textarea"),j=uniqueSel(y);d.push({selector:j,attribute:"aria-label",currentValue:"",issueType:"missing_fieldset_legend",wcag:"1.3.1",context:JSON.stringify({reason:T?"fieldset has empty <legend>":"fieldset missing <legend>",controlCount:N.length,nearbyHeading:M.nearbyHeading,parentTag:M.parentTag}),needsAI:true,outerHtml:(y.outerHTML||"").slice(0,300)}),b.add(y);}let C=document.querySelectorAll('[role="group"], [role="radiogroup"]');for(let L=0;L<C.length&&!(d.length>=30);L++){let y=C[L];if(isWidget(y)||!isVisible(y)||isHiddenFromAT(y)||b.has(y))continue;if(m(y)){b.add(y);continue}let A=y.getAttribute("role")||"",F=getNearbyContext(y),T=y.querySelectorAll("input, select, textarea");if(A==="group"&&y.querySelectorAll('input:not([type="hidden"]), select, textarea, [role="radio"], [role="checkbox"], [role="switch"], [role="textbox"], [role="combobox"], [role="spinbutton"], [role="slider"]').length===0)continue;let k=uniqueSel(y);d.push({selector:k,attribute:"aria-label",currentValue:"",issueType:"missing_fieldset_legend",wcag:"1.3.1",context:JSON.stringify({reason:'role="'+A+'" container without accessible name',role:A,controlCount:T.length,nearbyHeading:F.nearbyHeading,parentTag:F.parentTag}),needsAI:true,outerHtml:(y.outerHTML||"").slice(0,300)}),b.add(y);}let D={},I=document.querySelectorAll('input[type="radio"], input[type="checkbox"]');for(let L=0;L<I.length;L++){let y=I[L];if(isWidget(y)||!isVisible(y)||isHiddenFromAT(y))continue;let A=y.getAttribute("name")||"";if(!A)continue;let F=y.closest("form"),T=F?F.getAttribute("id")||F.getAttribute("action")||F.tagName:"no-form",k=(y.getAttribute("type")||"").toLowerCase(),M=T+"::"+k+"::"+A;D[M]||(D[M]=[]),D[M].push(y);}let q=Object.keys(D);for(let L=0;L<q.length&&!(d.length>=30);L++){let y=D[q[L]];if(y.length<3)continue;let A=y[0],F=A.closest('fieldset, [role="group"], [role="radiogroup"]'),T=false;if(F){T=true;for(let K=1;K<y.length;K++)if(!F.contains(y[K])){T=false;break}}if(T&&F)continue;let k=A.parentElement;for(;k&&k!==document.body;){let K=true;for(let Q=1;Q<y.length;Q++)if(!k.contains(y[Q])){K=false;break}if(K)break;k=k.parentElement;}if(!k||k===document.body||b.has(k))continue;let M=(A.getAttribute("type")||"").toLowerCase(),N=A.getAttribute("name")||"",j=getNearbyContext(A),$=uniqueSel(k);d.push({selector:$,attribute:"role",currentValue:k.getAttribute("role")||"",issueType:"missing_fieldset_legend",wcag:"1.3.1",context:JSON.stringify({reason:"unwrapped "+M+" group ("+y.length+' inputs share name="'+N+'")',inputType:M,inputCount:y.length,name:N,nearbyHeading:j.nearbyHeading,parentTag:j.parentTag}),needsAI:false,fixValue:M==="radio"?"radiogroup":"group",outerHtml:(k.outerHTML||"").slice(0,300)}),b.add(k);}return d},uh={name:"fieldsetLegend",cap:30,async detect(p){return p.evaluate(M3)}};var O3=()=>{let p=[],d=document.querySelectorAll('header, nav, div, [class*="header"], [class*="navbar"], [class*="sticky"], [role="banner"]'),b=0;for(let v of Array.from(d)){let m=getComputedStyle(v);if(m.display==="none"||m.visibility==="hidden"||m.position!=="sticky"&&m.position!=="fixed")continue;let E=v.getBoundingClientRect();if(E.top>50||E.bottom<=0)continue;let C=Math.round(E.height);C<40||C>240||C>b&&(b=C);}if(b>0){let v=window.scrollX,m=window.scrollY,E=0,C=0;try{let I=[],q=new Set;document.querySelectorAll('a[href^="#"]').forEach(L=>{let y=L.getAttribute("href").slice(1);if(!y)return;let A=document.getElementById(y);A&&!q.has(A)&&(q.add(A),I.push(A));});for(let L of I){if(C>=8)break;let y=getComputedStyle(L);if(y.display==="none"||y.visibility==="hidden")continue;C++,L.scrollIntoView({block:"start"});let A=L.getBoundingClientRect(),F=Math.max(A.height,1);Math.max(0,Math.min(A.bottom,b)-Math.max(A.top,0))/Math.min(F,b)>=.5&&E++;}}catch{}try{window.scrollTo(v,m);}catch{}let D=`scroll-margin-top: ${b+8}px; scroll-padding-top: ${b+8}px;`;C>0&&E>0?p.push({selector:"html",attribute:"style",currentValue:"",issueType:"focus_obscured_by_sticky",wcag:"2.4.11",context:`sticky header height: ${b}px \u2014 ${E}/${C} in-page anchor targets land under it on jump`,needsAI:false,fixValue:D}):C===0&&p.push({selector:"html",attribute:"style",currentValue:"",issueType:"focus_obscured_by_sticky",wcag:"2.4.11",context:`sticky header height: ${b}px \u2014 no in-page anchor targets available to verify obscuring behaviorally`,needsAI:false,needsReview:true,reviewReason:"sticky top bar present; could not verify focus/jump obscuring automatically \u2014 check skip-link and anchor landing positions, or set scroll-padding-top preventively",fixValue:D});}return p},ch={name:"focusObscured",async detect(p){return p.evaluate(O3)}};var dh={name:"focusVisible",cap:40,async detect(p){let d=typeof p.keyboard?.press=="function";try{await p.evaluate(()=>{let b=document.activeElement;window[Symbol.for("wa.prevFocus")]=b&&b!==document.body&&b!==document.documentElement?b:null,window[Symbol.for("wa.prevScroll")]=[window.scrollX,window.scrollY];let v=getSelection();window[Symbol.for("wa.prevSelection")]=v?Array.from({length:v.rangeCount},(m,E)=>v.getRangeAt(E).cloneRange()):[];});}catch{}if(d)try{await p.keyboard.press("Tab");}catch{}return p.evaluate(b=>{let m=[],E=["a[href]","button",'input:not([type="hidden"])',"select","textarea",'[role="button"]','[role="link"]','[role="menuitem"]','[role="tab"]','[tabindex]:not([tabindex="-1"])'].join(",");try{document.activeElement?.blur?.();}catch{}let C=document.querySelectorAll(E),D=Symbol.for("wa.prevFocus"),I=window[D]??null;try{delete window[D];}catch{}for(let q of C){if(m.length>=40)break;if(typeof isWidget=="function"&&isWidget(q)||typeof isHiddenFromAT=="function"&&isHiddenFromAT(q)||typeof isVisible=="function"&&!isVisible(q)||!q.offsetParent&&q.tagName!=="BODY")continue;let L=getComputedStyle(q),y=L.outline,A=L.outlineWidth,F=L.outlineStyle,T=L.boxShadow,k=L.border,M=L.backgroundColor;try{q.focus({preventScroll:!0});}catch{continue}if(document.activeElement!==q)continue;let N=getComputedStyle(q),j=N.outline,$=(N.outlineStyle||"").toLowerCase(),K=parseFloat(N.outlineWidth||"0"),Q=N.boxShadow,_=N.border,h=N.backgroundColor,R=j!==y,x=$!=="none"&&$!=="hidden"&&K>0;if(R&&x||Q!==T&&Q!=="none"&&Q!==""||_!==k||h!==M||parseFloat(A)>0&&F!=="none")continue;let J=typeof uniqueSel=="function"?uniqueSel(q):q.tagName.toLowerCase();m.push({selector:J,pseudo:":focus-visible",attribute:"style",currentValue:F+" "+A,issueType:"focus_not_visible",wcag:"2.4.7",context:`${q.tagName.toLowerCase()} has no visible focus indicator \u2014 outline, box-shadow, border, and background all unchanged on focus (apply the style under :focus-visible)`,needsAI:false,fixValue:"outline: 2px solid #2563eb !important;outline-offset: 2px !important;",outerHtml:q.outerHTML.slice(0,200),...b?{}:{needsReview:true,reviewReason:"Focus indicator could not be verified with a real keyboard event; may use a keyboard-only (:focus-visible) pattern \u2014 verify by tabbing to it."}});}try{document.activeElement?.blur?.();}catch{}try{I&&I.isConnected&&I.focus({preventScroll:!0});}catch{}try{let q=Symbol.for("wa.prevScroll"),L=window[q];delete window[q],L&&window.scrollTo({left:L[0],top:L[1],behavior:"instant"});}catch{}try{let q=Symbol.for("wa.prevSelection"),L=window[q];delete window[q];let y=getSelection();if(y&&L){y.removeAllRanges();for(let A of L)y.addRange(A);}}catch{}return m},d)}};var P3=()=>{let d=[],b=["new","register","signup","sign-up","sign_up","create","change","reset"],v=["confirm","verify","retype","re-type","repeat","again"];function m(y){if(!y)return false;let A=" "+((y.getAttribute("id")||"")+" "+(y.getAttribute("class")||"")+" "+(y.getAttribute("name")||"")+" "+(y.getAttribute("action")||"")).toLowerCase()+" ";for(let F=0;F<b.length;F++)if(A.indexOf(b[F])!==-1)return true;return false}function E(y){let A=((y.getAttribute("name")||"")+" "+(y.getAttribute("id")||"")+" "+(y.getAttribute("placeholder")||"")+" "+(y.getAttribute("aria-label")||"")).toLowerCase();for(let F=0;F<v.length;F++)if(A.indexOf(v[F])!==-1)return true;return false}let C=document.querySelectorAll('input[type="password"], input[type="Password"]');for(let y of C){if(d.length>=30)break;let A=y;if(isWidget(A)||isHiddenFromAT(A)||!isVisible(A))continue;let F=(A.getAttribute("autocomplete")||"").trim().toLowerCase();if(E(A)){if(F==="new-password")continue;let j=uniqueSel(A);d.push({selector:j,attribute:"autocomplete",currentValue:F,issueType:"missing_autocomplete",wcag:"1.3.5",context:"confirm password field | name: "+(A.getAttribute("name")||"")+" | id: "+(A.getAttribute("id")||""),needsAI:false,fixValue:"new-password",outerHtml:(A.outerHTML||"").slice(0,300)});continue}if(F)continue;let k=A.form||A.closest("form"),M=m(k),N=uniqueSel(A);d.push({selector:N,attribute:"autocomplete",currentValue:"",issueType:"missing_autocomplete",wcag:"1.3.5",context:(M?"new/signup/change password form":"login form")+" | name: "+(A.getAttribute("name")||"")+" | id: "+(A.getAttribute("id")||""),needsAI:false,fixValue:M?"new-password":"current-password",outerHtml:(A.outerHTML||"").slice(0,300)});}let D=document.querySelectorAll("form"),I=/\*|\brequired\b|\bmandatory\b/i;for(let y of D){if(d.length>=30)break;let A=y;if(isWidget(A)||!isVisible(A))continue;let F=A.querySelectorAll("input[required], select[required], textarea[required]");if(!F.length)continue;let T=0;for(let $ of F)isVisible($)&&T++;if(T===0)continue;let k=A.querySelectorAll('input:not([type="hidden"]):not([type="submit"]):not([type="button"]), select, textarea'),M=0;for(let $ of k)isVisible($)&&M++;if(T>=M||(A.getAttribute("data-asw-required-hint")||"").trim())continue;let N=(A.textContent||"").trim();if(I.test(N))continue;let j=uniqueSel(A);d.push({selector:j,attribute:"data-asw-required-hint",currentValue:"",issueType:"missing_required_indicator",wcag:"3.3.2",context:`form has ${T} required input(s) but no visible "*" / "required" / "mandatory" marker`,needsAI:true,outerHtml:(A.outerHTML||"").slice(0,300)});}let q='input[type="submit" i], input[type="image" i], button:not([type]), button[type="submit" i], button[type=""]',L='input:not([type="hidden"]):not([type="submit"]):not([type="button"]):not([type="reset"]):not([type="image"]), select, textarea';for(let y of D){if(d.length>=30)break;let A=y;if(isWidget(A)||!isVisible(A)||isHiddenFromAT(A))continue;let F=[];for(let $ of A.querySelectorAll(L))isVisible($)&&F.push($);if(F.length===0||A.querySelector(q))continue;let T=A.getAttribute("id");if(T){let $=false;for(let K of document.querySelectorAll(q))if(K.getAttribute("form")===T){$=true;break}if($)continue}if(((A.getAttribute("role")||"").toLowerCase()==="search"||!!A.closest('[role="search"]'))&&F.length===1)continue;let M=F.slice(0,4).map($=>$.tagName.toLowerCase()+($.tagName==="INPUT"?"["+($.getAttribute("type")||"text")+"]":"")).join(", "),N=[];for(let $ of A.querySelectorAll('button:not([type="reset" i]), input[type="button" i], [role="button"]')){if(N.length>=3)break;let K=$;if(!isVisible(K))continue;let Q=((K.tagName==="INPUT"?K.getAttribute("value"):K.textContent)||K.getAttribute("aria-label")||"").trim().replace(/\s+/g," ").slice(0,30);N.push('"'+Q+'"');}if(N.length&&!(A.getAttribute("action")||"").trim())continue;let j=N.length?" Buttons present that are not a submit control (type=button or role=button): "+N.join(", ")+".":"";d.push({selector:uniqueSel(A),attribute:"data-asw-submit-control",currentValue:"",issueType:"form_missing_submit",wcag:"3.2.2",context:`form with ${F.length} visible field(s) (${M}) and no submit control`,needsAI:true,needsReview:true,reviewReason:"WCAG 3.2.2 On Input: this form has "+F.length+" visible field(s) ("+M+") and no submit control (no submit button, input[type=submit|image], or outside button via form=). Violation only when changing a field or pressing Enter causes an unexpected change of context (navigation, submission, reload) with no button to ask for it. Pass when it is a script-driven or search-style form with no such surprise."+j,outerHtml:(A.outerHTML||"").slice(0,300)});}return d},fh={name:"formAttributes",cap:30,async detect(p){return p.evaluate(P3)}};var N3=()=>{let p=document.documentElement;return p?(p.getAttribute("lang")||"").trim()?[]:[{selector:"html",attribute:"lang",currentValue:"",issueType:"missing_document_language",wcag:"3.1.1",context:"Document language not declared",needsAI:false,fixValue:"en"}]:[]},ph={name:"htmlLang",async detect(p){return p.evaluate(N3)}};var q3=()=>{let p="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",b=[],v=[{host:"youtube.com",title:"YouTube video"},{host:"youtube-nocookie.com",title:"YouTube video"},{host:"youtu.be",title:"YouTube video"},{host:"vimeo.com",title:"Vimeo video"},{host:"maps.google.com",title:"Google Maps"},{host:"google.com",path:/^\/maps(\/|$)/,title:"Google Maps"},{host:"pay.google.com",title:"Google Pay"},{host:"google.com",path:/^\/recaptcha\//,title:"reCAPTCHA verification"},{host:"recaptcha.net",title:"reCAPTCHA verification"},{host:"facebook.com",title:"Facebook widget"},{host:"twitter.com",title:"Twitter widget"},{host:"x.com",title:"Twitter widget"},{host:"instagram.com",title:"Instagram widget"},{host:"calendly.com",title:"Scheduling widget"}],m=D=>{let I;try{I=new URL(D,location.href);}catch{return null}let q=I.hostname.toLowerCase();for(let L of v)if((q===L.host||q.endsWith("."+L.host))&&(!L.path||L.path.test(I.pathname)))return L.title;return null},E=/^(iframe|embed|widget|frame|content|untitled)$/i,C=document.querySelectorAll("iframe");for(let D of C){if(b.length>=50)break;if(D.closest(p))continue;let I=false;for(let h=D;h;h=h.parentElement)if((h.getAttribute("aria-hidden")||"").trim()==="true"){I=true;break}let q=(D.getAttribute("role")||"").trim().toLowerCase();if(I||q==="presentation"||q==="none"||D.closest("[inert]"))continue;let L=/^[\t\n\f\r ]*([-+]?\d+)/.exec(D.getAttribute("tabindex")||"");if(L&&parseInt(L[1],10)<0)continue;let y=getComputedStyle(D);if(D.getClientRects().length===0||y.visibility==="hidden"||y.visibility==="collapse"||(D.getAttribute("src")||"").trim().toLowerCase().indexOf("javascript:")===0)continue;let A="",F=(D.getAttribute("aria-labelledby")||"").trim();if(F){let h=F.split(/\s+/);for(let R=0;R<h.length;R++){let x=document.getElementById(h[R]);x&&(A+=" "+(x.textContent||""));}A=A.trim();}if(A||(A=(D.getAttribute("aria-label")||"").trim()),A)continue;let T=(D.getAttribute("title")||"").trim(),k=T.length===0,M=!k&&(T.length<3||E.test(T));if(!k&&!M)continue;let N=(D.getAttribute("src")||"").toLowerCase(),j=uniqueSel(D),$=getNearbyContext(D),K="src: "+N.slice(0,120)+($.nearbyHeading?" | heading: "+$.nearbyHeading:""),Q=m(D.getAttribute("src")||""),_=Q!==null;Q&&b.push({selector:j,attribute:"title",currentValue:T,issueType:"missing_label",wcag:"4.1.2",context:K,needsAI:false,fixValue:Q,outerHtml:D.outerHTML.slice(0,300)}),!_&&k&&b.push({selector:j,attribute:"title",currentValue:T,issueType:"missing_label",wcag:"4.1.2",context:K,needsAI:true,outerHtml:D.outerHTML.slice(0,300)});}return b},mh={name:"iframeTitle",cap:50,async detect(p){return p.evaluate(q3)}};var B3=()=>{let p="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",d=["hidden","submit","button","reset","image","checkbox","radio","file","range","color"],v=[],m={email:"email",tel:"tel",password:"current-password"},E=[{pattern:"organization",autocomplete:"organization"},{pattern:"telephone",autocomplete:"tel"},{pattern:"first-name",autocomplete:"given-name"},{pattern:"first_name",autocomplete:"given-name"},{pattern:"last-name",autocomplete:"family-name"},{pattern:"last_name",autocomplete:"family-name"},{pattern:"firstname",autocomplete:"given-name"},{pattern:"postcode",autocomplete:"postal-code"},{pattern:"birthday",autocomplete:"bday"},{pattern:"lastname",autocomplete:"family-name"},{pattern:"province",autocomplete:"address-level1"},{pattern:"username",autocomplete:"username"},{pattern:"website",autocomplete:"url"},{pattern:"address",autocomplete:"street-address"},{pattern:"company",autocomplete:"organization"},{pattern:"country",autocomplete:"country"},{pattern:"mobile",autocomplete:"tel"},{pattern:"postal",autocomplete:"postal-code"},{pattern:"street",autocomplete:"street-address"},{pattern:"e-mail",autocomplete:"email"},{pattern:"email",autocomplete:"email"},{pattern:"phone",autocomplete:"tel"},{pattern:"state",autocomplete:"address-level1"},{pattern:"fname",autocomplete:"given-name"},{pattern:"lname",autocomplete:"family-name"},{pattern:"city",autocomplete:"address-level2"},{pattern:"bday",autocomplete:"bday"},{pattern:"name",autocomplete:"name"},{pattern:"zip",autocomplete:"postal-code"},{pattern:"url",autocomplete:"url"}],C=document.querySelectorAll("input, select, textarea");for(let D of C){if(v.length>=50)break;if(D.closest(p))continue;let I=D,q=(I.getAttribute("type")||"text").toLowerCase();if(d.includes(q)||I.getAttribute("autocomplete")||!isVisible(I))continue;let L="";if(m[q]&&(L=m[q]),!L){let A=(I.getAttribute("name")||"").toLowerCase(),F=(I.getAttribute("id")||"").toLowerCase(),T=(I.getAttribute("placeholder")||"").toLowerCase(),k=A+" "+F+" "+T;for(let M of E)if(k.includes(M.pattern)){L=M.autocomplete;break}}if(!L)continue;if(L==="country"){let A=false;if(I.tagName==="SELECT"){let F=Array.from(I.options).map(T=>(T.value||"").trim()).filter(Boolean);A=F.length>0&&F.every(T=>/^[A-Za-z]{2}$/.test(T));}A||(L="country-name");}let y=uniqueSel(I);v.push({selector:y,attribute:"autocomplete",currentValue:"",issueType:"identify_input_purpose",wcag:"1.3.5",context:"type: "+q+" | name: "+(I.getAttribute("name")||"")+" | id: "+(I.getAttribute("id")||""),needsAI:false,fixValue:L});}return v},hh={name:"inputPurpose",cap:50,async detect(p){return p.evaluate(B3)}};var H3=()=>{let p="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",b=[],v=['a[href]:not([href=""])',"button:not([disabled])",'input:not([type="hidden"]):not([disabled])',"select:not([disabled])","textarea:not([disabled])",'[role="button"]:not([aria-disabled="true"])','[role="link"]:not([aria-disabled="true"])','[role="menuitem"]:not([aria-disabled="true"])','[role="tab"]:not([aria-disabled="true"])','[role="checkbox"]:not([aria-disabled="true"])','[role="radio"]:not([aria-disabled="true"])'].join(",");function m(A){let F=A.getBoundingClientRect();if(F.width===0&&F.height===0)return false;let T=-window.scrollX,k=-window.scrollY,M=document.documentElement,N=getComputedStyle(A).position;if(N==="fixed")return false;let j=N==="absolute";for(let $=A.parentElement;$&&$!==document.body&&$!==M;$=$.parentElement){let K=getComputedStyle($);if(j){if(K.position==="static")continue;j=false;}if(/auto|scroll/.test(K.overflowX+" "+K.overflowY))return false;let Q=K.overflowX==="hidden"||K.overflowX==="clip",_=K.overflowY==="hidden"||K.overflowY==="clip";if(!Q&&!_)continue;let h=$.getBoundingClientRect();if(Q&&(F.right<=h.left||F.left>=h.right)||_&&(F.bottom<=h.top||F.top>=h.bottom))return true;if(N=K.position,N==="fixed")return false;N==="absolute"&&(j=true);}return F.right<=T||F.bottom<=k||F.left>=T+M.scrollWidth||F.top>=k+M.scrollHeight}let E='[role="tablist"],[aria-roledescription="carousel" i],[aria-roledescription="slide" i],[class*="slick"],[class*="swiper"],[class*="owl"],[class*="splide"],[class*="flickity"]',C='nav,section,article,aside,main,header,footer,form,ul,ol,dl,[role="navigation"],[role="region"],[role="main"],[role="complementary"],[role="banner"],[role="contentinfo"],[role="list"],[role="form"],[role="search"]',D='a[href],area[href],button,input:not([type="hidden"]),select,textarea,summary,iframe';function I(A){if(A.tagName==="A"){let T=A.href;if(T){for(let k of document.querySelectorAll("a[href]"))if(!(k===A||k.href!==T||k.tabIndex<0)&&!k.closest('[aria-hidden="true"],[hidden],[inert]')&&!(typeof isVisible=="function"&&!isVisible(k)))return "another focusable link to the same href exists"}}if(A.closest(E))return "inside a slider / carousel / tablist that manages its own tab order";if(A.hasAttribute("aria-controls")||A.hasAttribute("aria-selected"))return "carries aria-controls / aria-selected (a widget manages its state)";if(A.closest('[inert],[aria-hidden="true"]'))return "inside an inert or aria-hidden container";let F=A.parentElement?.closest(C);if(F){let T=0;for(let k of F.querySelectorAll(D))k!==A&&k.getAttribute("tabindex")?.trim()==="-1"&&T++;if(T>=2)return `${T} other controls in the same <${F.tagName.toLowerCase()}> also carry tabindex="-1" (inert by design)`}for(let T=A.parentElement;T&&T!==document.body&&!T.matches(D);T=T.parentElement){let k=parseInt(T.getAttribute("tabindex")||"",10);if(!Number.isFinite(k)||k<0)continue;let M=[...T.querySelectorAll(D)];if(M.length>=2&&M.every(N=>N.getAttribute("tabindex")?.trim()==="-1"))return 'a focusable ancestor owns focus and every control inside it carries tabindex="-1"';break}return ""}let q=document.querySelectorAll(v);for(let A of q){if(b.length>=30)break;if(A.closest(p)||!A.hasAttribute("tabindex"))continue;let F=A.getAttribute("tabindex")||"",T=parseInt(F,10);if(!Number.isFinite(T)||T===0||A.getAttribute("aria-disabled")==="true"||A.getAttribute("aria-hidden")==="true"||A.closest('[aria-hidden="true"]')||A.closest("[hidden]"))continue;let k=A.closest('[role="dialog"],[role="alertdialog"],dialog,[role="menu"],[role="listbox"]');if(k&&!(k.hasAttribute("open")||k.getAttribute("aria-modal")==="true"||k.getAttribute("aria-hidden")!=="true")||typeof isVisible=="function"&&!isVisible(A)||T<0&&m(A))continue;let M=(A.getAttribute("role")||"").toLowerCase();if(T<0&&A.closest('[role="tablist"],[role="menu"],[role="menubar"],[role="listbox"],[role="tree"],[role="treegrid"],[role="grid"],[role="radiogroup"],[role="toolbar"]'))continue;let j=typeof uniqueSel=="function"?uniqueSel(A):"",$=typeof getNearbyContext=="function"?getNearbyContext(A):{parentTag:A.tagName.toLowerCase(),nearbyHeading:""},K,Q,_=T<0?I(A):"";T<0?(K="keyboard_trap",Q="2.1.1"):(K="focus_order_disruption",Q="2.4.3");let h=[];h.push("tabindex: "+T),h.push("tag: "+A.tagName.toLowerCase()),M&&h.push("role: "+M),$.nearbyHeading&&h.push("heading: "+$.nearbyHeading),h.push("parent: "+$.parentTag),_&&h.push('author tabindex="-1" looks intentional: '+_),b.push({selector:j,attribute:"tabindex",currentValue:String(T),issueType:K,wcag:Q,context:h.join(" | "),needsAI:false,fixValue:"0",..._?{manualFix:true,reviewReason:`the author's tabindex="-1" looks intentional (${_}); tabindex="0" could add a duplicate or out-of-sync tab stop. Confirm the control must be reachable on its own before applying.`}:{},outerHtml:(A.outerHTML||"").slice(0,300)});}let L=/\b(?:this|(?:event|evt|e)\.(?:target|currentTarget))\.focus\s*\(\s*\)/,y=/\b(?:if|else|switch|while|for)\b|&&|\|\||\?/;for(let A of document.querySelectorAll("[onblur]")){if(b.length>=30)break;if(A.closest(p))continue;let F=A.getAttribute("onblur")||"";!L.test(F)||y.test(F)||A.matches('[disabled], [aria-disabled="true"]')||A.closest('[aria-hidden="true"], [hidden]')||typeof isVisible=="function"&&!isVisible(A)||b.push({selector:typeof uniqueSel=="function"?uniqueSel(A):A.tagName.toLowerCase(),attribute:"onblur",currentValue:F.slice(0,100),issueType:"keyboard_trap_self_focus",wcag:"2.1.2",context:"tag: "+A.tagName.toLowerCase()+" | onblur returns focus to the same element, so keyboard focus cannot leave it",needsAI:false,outerHtml:(A.outerHTML||"").slice(0,300)});}return b},gh={name:"keyboardTrap",cap:30,async detect(p){return p.evaluate(H3)}};var V3=()=>{let p="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",b=[],m=document.querySelectorAll('button, a[href], [role="button"], [role="link"], input[type="submit"], input[type="button"]');for(let E of Array.from(m)){if(b.length>=40)break;if(E.closest(p)||typeof isVisible=="function"&&!isVisible(E))continue;let C="",D=[],I=[];try{let _=/(?:^|[\s_-])(?:icon|material-icons|material-symbols(?:-\w+)?|fa|fas|far|fab|fal|glyphicon|dashicons)(?:[\s_-]|$)/i,h=/icon|awesome|glyph|material symbols|dashicons/i,R=!1;try{R=h.test(getComputedStyle(E).fontFamily||"");}catch{}let x=me=>parseFloat(me||"0")||0,O=me=>{if(me.hasAttribute("hidden"))return !0;let ue=(me.getAttribute("style")||"").toLowerCase().replace(/\s+/g,"");if(/clip:rect\(0/.test(ue)||/clip-path:inset\((50|100)%/.test(ue))return !0;if(/position:(absolute|fixed)/.test(ue)){if(/(width|height):[01](px)?(;|!|$)/.test(ue))return !0;let De=ue.match(/(?:left|top):(-\d+)/);if(De&&parseInt(De[1],10)<=-999)return !0}return !1},B=(me,ue)=>{if(me.hasAttribute("hidden")||x(ue.fontSize)===0)return !0;let De=(ue.clip||"").replace(/\s+/g,"");if(/^rect\(0(px)?,?0(px)?,?0(px)?,?0(px)?\)$/.test(De)||/inset\((50|100)%\)/.test(ue.clipPath||""))return !0;let Me=me.getBoundingClientRect();return !!(/hidden|clip/.test(ue.overflow||ue.overflowX+" "+ue.overflowY)&&(Me.width<=1||Me.height<=1)||(ue.position==="absolute"||ue.position==="fixed")&&(x(ue.left)<=-999||x(ue.top)<=-999||Me.right<=0||Me.bottom<=-window.scrollY))},V=!1,W=document.createTreeWalker(E,NodeFilter.SHOW_TEXT),J;for(;J=W.nextNode();){let me=J.parentElement;if(!me)continue;let ue=(J.textContent||"").trim();if(!ue||me===E&&R)continue;let De=!1,Me=!1;for(let Ne=me;Ne&&Ne!==E;Ne=Ne.parentElement){if(Ne.tagName==="KBD"&&(Me=!0),Ne.getAttribute("aria-hidden")==="true"){De=!0;break}if(_.test(Ne.getAttribute("class")||"")||_.test(Ne.getAttribute("id")||"")){De=!0;break}try{let Te=getComputedStyle(Ne);if(Te.display==="none"||Te.visibility==="hidden"){De=!0;break}if(parseFloat(Te.opacity||"1")===0){De=!0;break}if(h.test(Te.fontFamily||"")){De=!0;break}if(B(Ne,Te)){De=!0;break}}catch{if(O(Ne)){De=!0;break}Ne.tagName==="SPAN"&&(V=!0);}}!De&&/[\p{L}\p{N}]/u.test(ue)&&I.push({text:ue,kbd:Me});}let ie=0,te=I.length;for(;ie<te&&I[ie].kbd;)ie++;for(;te>ie&&I[te-1].kbd;)te--;let de=ie<te?I.slice(ie,te):I;for(let me of de)D.push(me.text);C=V?"":D.join(" ").trim().toLowerCase();}catch{C=((E.innerText!=null?E.innerText:E.textContent)||"").trim().toLowerCase();}if(!C||!/[\p{L}\p{N}]/u.test(C)||/^\p{L}$/u.test(C))continue;let L=/[\p{L}\p{N}\p{M}]/u,y=(E.getAttribute("aria-label")||"").trim().toLowerCase();if(!y){let _=E.getAttribute("aria-labelledby");_&&(y=(typeof __resolveIdRefs=="function"?__resolveIdRefs(_):"").toLowerCase());}if(!y)continue;let A=_=>{let h=_.toLowerCase().replace(/\([^)]*\)/g," ");return (/[\p{L}\p{N}]/u.test(h)?h:_.toLowerCase()).replace(/[\p{S}\u2026*]/gu," ").replace(/\s+/g," ").trim().normalize("NFC")},F=A(y),T=/[\p{Script=Han}\p{Script=Hiragana}\p{Script=Katakana}\p{Script=Hangul}\p{Script=Thai}\p{Script=Lao}\p{Script=Khmer}\p{Script=Myanmar}]/u,k=(_,h)=>!_||!L.test(_)||T.test(_)||T.test(h),M=(_,h)=>{if(h<=0)return "";let R=_.charCodeAt(h-1);return R>=56320&&R<=57343&&h>=2?_.slice(h-2,h):_.charAt(h-1)},N=(_,h)=>{let R=_.codePointAt(h);return R===void 0?"":String.fromCodePoint(R)},j=_=>{let h=_.substring(0,40);if(!h)return true;let R=_.length>=40,x=N(h,0),O=M(h,h.length);for(let B=0;;){let V=F.indexOf(h,B);if(V<0)return false;if(k(M(F,V),x)&&(R||k(N(F,V+h.length),O)))return true;B=V+1;}};if(j(A(C))||D.length>1&&j(A(D.join(""))))continue;if(D.length>1){let _=true,h=0;for(let R of D){let x=A(R.toLowerCase());if(!x)continue;let O=x.slice(0,40),B=-1;for(let V=h;;){let W=F.indexOf(O,V);if(W<0)break;let J=k(M(F,W),N(O,0)),ie=O.length>=40||k(N(F,W+O.length),M(O,O.length));if(J&&ie){B=W;break}V=W+1;}if(B<0){_=false;break}h=B+O.length;}if(_)continue}let $=typeof uniqueSel=="function"?uniqueSel(E):"",K=typeof getNearbyContext=="function"?getNearbyContext(E):{parentTag:E.tagName.toLowerCase(),nearbyHeading:""},Q=[];Q.push("visible: "+C.slice(0,40)),Q.push("aria-label: "+y.slice(0,60)),K.nearbyHeading&&Q.push("heading: "+K.nearbyHeading),Q.push("parent: "+K.parentTag),b.push({selector:$,attribute:"aria-label",currentValue:y,issueType:"label_in_name",wcag:"2.5.3",context:Q.join(" | "),needsAI:true,outerHtml:(E.outerHTML||"").slice(0,300)});}return b},vh={name:"labelInName",cap:40,async detect(p){return p.evaluate(V3)}};var j3=()=>{let p="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=EquallyAI]",b=["click here","click","here","read more","more","link","this","go","info","details","learn more","see more","view","open","tap"],v=[];function m(L){if(!L)return "";let y=L.split("#")[0];return y.length>1&&y.charAt(y.length-1)==="/"&&(y=y.substring(0,y.length-1)),y}function E(L){let y=(L.getAttribute("aria-label")||"").trim();return y||(L.textContent||"").trim().replace(/\s+/g," ")}function C(L){return !!L.closest('nav, [role="navigation"], [role="menubar"], [class*=breadcrumb], [aria-label*="breadcrumb" i]')}let D={},I=document.querySelectorAll("a[href]");for(let L=0;L<I.length;L++){let y=I[L];if(y.closest(p)||y.getAttribute("aria-hidden")==="true"||!isVisible(y))continue;let A=y.getAttribute("href")||"";if(!A)continue;let F=A.toLowerCase();if(F.charAt(0)==="#"||F.indexOf("javascript:")===0||F.indexOf("mailto:")===0||F.indexOf("tel:")===0)continue;let T=y.href||A,k=m(T);if(!k||C(y))continue;let M=(y.textContent||"").trim(),N=!!y.querySelector("img, svg, picture");if(!M&&N)continue;let j=E(y);if(!j)continue;let $=j.toLowerCase();$===F||$===T.toLowerCase()||(D[k]||(D[k]=[]),D[k].push(y));}let q=Object.keys(D);for(let L=0;L<q.length&&!(v.length>=30);L++){let y=D[q[L]];if(!y||y.length<2)continue;let A={},F="";for(let N=0;N<y.length;N++){let j=E(y[N]),$=j.toLowerCase();A[$]=true,j.length>F.length&&(F=j);}if(Object.keys(A).length<2)continue;let k=F.toLowerCase().trim();if(k.length<5)continue;let M=false;for(let N=0;N<b.length;N++)if(k===b[N]){M=true;break}if(!M)for(let N=0;N<y.length&&!(v.length>=30);N++){let j=y[N],$=E(j);if($.toLowerCase()===k)continue;let K=uniqueSel(j);v.push({selector:K,attribute:"aria-label",currentValue:$,issueType:"link_consistency",wcag:"3.2.4",context:"Same href as "+y.length+' link(s) on this page with different text (e.g. "'+F.slice(0,80)+'"). If these labels also differ across pages, unify the VISIBLE text \u2014 do not mask it with aria-label.',needsAI:false,needsReview:true,reviewReason:"WCAG 3.2.4 is a cross-page criterion; same-page label variation may be intentional and cannot be auto-verified from one page",outerHtml:j.outerHTML.slice(0,300)});}}return v},bh={name:"linkConsistency",cap:30,async detect(p){return p.evaluate(j3)}};var $3=()=>{let d=[],b=[".pdf",".doc",".docx",".xls",".xlsx",".zip",".csv",".ppt",".pptx",".txt",".rtf",".epub"],v={".pdf":"PDF",".doc":"Word document",".docx":"Word document",".xls":"Excel spreadsheet",".xlsx":"Excel spreadsheet",".zip":"ZIP archive",".csv":"CSV file",".ppt":"PowerPoint",".pptx":"PowerPoint",".txt":"text file",".rtf":"RTF document",".epub":"EPUB file"},m="";try{m=window.location&&window.location.hostname||"";}catch{m="";}m=(m||"").toLowerCase();function E(T,k){if(!T||!k)return false;if(T===k||T.endsWith("."+k)||k.endsWith("."+T))return true;let M=N=>{let j=N.split(".");if(j.length<=2)return N;let $=j[j.length-1],K=j[j.length-2],Q=["co","com","net","org","ac","gov","edu"],_=$.length===2&&Q.indexOf(K)>=0?3:2;return j.slice(-_).join(".")};return M(T)===M(k)}function C(T){return T.indexOf("www.")===0?T.slice(4):T}function D(T){if(!T)return "";let k=T.toLowerCase();if(k.charAt(0)==="#"||k.charAt(0)==="/"||k.charAt(0)==="?"||k.indexOf("javascript:")===0||k.indexOf("mailto:")===0||k.indexOf("tel:")===0)return "";try{return (new window.URL(T,window.location.href).hostname||"").toLowerCase()}catch{return ""}}function I(T){if(!T)return "";let k=T,M=k.indexOf("?");M>=0&&(k=k.slice(0,M));let N=k.indexOf("#");N>=0&&(k=k.slice(0,N)),k=k.toLowerCase();for(let j=0;j<b.length;j++){let $=b[j];if(k.length>=$.length&&k.slice(k.length-$.length)===$)return $}return ""}function q(T){let k=[],M=(T.getAttribute("aria-label")||"").trim();M&&k.push(M);let N=(T.getAttribute("title")||"").trim();N&&k.push(N);let j=T.getAttribute("aria-labelledby");if(j)try{let $=typeof __resolveIdRefs=="function"?__resolveIdRefs(j):"";$&&k.push($);}catch{}return k.push((T.textContent||"").trim()),k.join(" ").toLowerCase()}function L(T,k,M){let N="";try{typeof getAccessibleName=="function"&&(N=(getAccessibleName(T)||"").trim());}catch{}let j=(k||M||N||T.textContent||"").replace(/\s+/g," ").trim();return j||(T.getAttribute("href")||"").trim().replace(/^https?:\/\//i,"").replace(/\/+$/,"")}function y(T,k){let N=200-k.length;N<8&&(N=8);let j=T;if(j.length>N){let $=j.slice(0,N),K=$.lastIndexOf(" ");K>N*.6&&($=$.slice(0,K)),j=$.replace(/[\s…,;:.\-]+$/,"")+"\u2026";}return (j+k).slice(0,200)}let A=document.querySelectorAll("a"),F=A.length;for(let T=0;T<F&&!(d.length>=50);T++){let k=A[T];if(!k||isWidget(k)||k.getAttribute("aria-hidden")==="true")continue;try{if(k.closest&&k.closest('[aria-hidden="true"]'))continue}catch{}if(!isVisible(k))continue;let M=k.getAttribute("href");if(M==null)continue;let N=String(M).trim();if(!N)continue;let j=N.toLowerCase(),$=q(k),K=(k.getAttribute("rel")||"").toLowerCase(),Q=uniqueSel(k),_=(k.textContent||"").trim().slice(0,80),h=(k.getAttribute("target")||"").toLowerCase(),R=(k.outerHTML||"").slice(0,300),x=N==="#",O=j.indexOf("javascript:")===0;if((x||O)&&(k.getAttribute("role")||"").toLowerCase()!=="button"){let te=k.hasAttribute&&k.hasAttribute("onclick"),de=k.hasAttribute&&(k.hasAttribute("data-action")||k.hasAttribute("data-click")||k.hasAttribute("data-toggle")||k.hasAttribute("data-target")),me=typeof k.onclick=="function",ue=te||de||me,De=[];De.push("href: "+N),_&&De.push("text: "+_),De.push(ue?"has click handler (should be <button> or role=button)":"dead link \u2014 remove or replace with navigation");let Me='a[href], button, input:not([type="hidden"]), select, textarea, summary, [contenteditable]:not([contenteditable="false" i]), [role="button"], [role="link"], [role="checkbox"], [role="menuitem"], [role="tab"], [role="switch"], [role="option"], [role="radio"], [role="combobox"], [role="slider"], [role="textbox"]',Ne=_e=>{if(getComputedStyle(_e).visibility==="hidden")return false;for(let xt=_e;xt&&xt.nodeType===1;xt=xt.parentElement)if(getComputedStyle(xt).display==="none")return false;return true},Te=Array.prototype.some.call(k.querySelectorAll(Me),_e=>Ne(_e)&&!isHiddenFromAT(_e));ue&&!Te&&d.push({selector:Q,attribute:"role",currentValue:N,issueType:"placeholder_link",wcag:"2.4.4",context:De.join(" | "),needsAI:false,fixValue:"button",outerHtml:R});continue}if(N.charAt(0)==="#"&&N.length>1)continue;let B=I(j);if(B){let ie=k.hasAttribute&&k.hasAttribute("download"),te=(v[B]||B).toLowerCase(),de=$.indexOf(B)>=0||$.indexOf(te)>=0||$.indexOf("download")>=0;if(!ie&&!de){let me=L(k,(k.getAttribute("aria-label")||"").trim(),""),ue=y(me," ("+(v[B]||B)+" download)");d.push({selector:Q,attribute:"aria-label",currentValue:(k.getAttribute("aria-label")||"").trim(),issueType:"download_link_warning",wcag:"3.2.5",context:"download link \u2014 "+B+" | href: "+N.slice(0,120),needsAI:false,fixValue:ue,outerHtml:R});continue}}let V=D(N),W=j.indexOf("http://")===0||j.indexOf("https://")===0||j.indexOf("//")===0,J=!!V&&!!m&&!E(C(V),C(m));if(h==="_blank"){let ie=K.indexOf("noopener")>=0||K.indexOf("noreferrer")>=0,te=$.indexOf("new window")>=0||$.indexOf("new tab")>=0||$.indexOf("opens in")>=0;if(!te){let de=(k.getAttribute("aria-label")||"").trim(),me="",ue=k.getAttribute("aria-labelledby")||"";if(!de&&ue)try{typeof __resolveIdRefs=="function"&&(me=(__resolveIdRefs(ue)||"").trim());}catch{}let De=L(k,de,me),Me=y(De," (opens in new window)"),Ne=[];ie||Ne.push("missing rel=noopener"),te||Ne.push('missing "new window" hint'),Ne.push("href: "+N.slice(0,120)),d.push({selector:Q,attribute:"aria-label",currentValue:(k.getAttribute("aria-label")||"").trim(),issueType:"new_window_link",wcag:"3.2.5",context:Ne.join(" | "),needsAI:false,fixValue:Me,outerHtml:R});continue}}if(J&&W){let ie=K.indexOf("external")>=0,te=$.indexOf("external")>=0||$.indexOf("opens in")>=0||$.indexOf("new window")>=0||$.indexOf("new tab")>=0;if(!ie&&!te){let de=(k.getAttribute("aria-label")||"").trim(),me="",ue=k.getAttribute("aria-labelledby")||"";if(!de&&ue)try{typeof __resolveIdRefs=="function"&&(me=(__resolveIdRefs(ue)||"").trim());}catch{}let De=L(k,de,me),Me=y(De," (external link)");d.push({selector:Q,attribute:"aria-label",currentValue:(k.getAttribute("aria-label")||"").trim(),issueType:"external_link_warning",wcag:"3.2.5",context:"external: "+V+" (page: "+m+") | href: "+N.slice(0,120),needsAI:false,fixValue:Me,outerHtml:R});}}}return d},yh={name:"linkWarnings",cap:50,async detect(p){return p.evaluate($3)}};var z3=()=>{let p="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=ae-exclude],[id*=ae_app],[id*=ae_],[class*=EquallyAI]",b=[],v=new Set,m=document.querySelectorAll('main, [role="main"]'),E=[];return m.forEach(C=>{let D=getComputedStyle(C);D.display!=="none"&&D.visibility!=="hidden"&&E.push(C);}),m.forEach(C=>{if(b.length>=10||C.closest(p)||C.getAttribute("aria-hidden")!=="true")return;let D=getComputedStyle(C);if(D.display==="none"||D.visibility==="hidden"||C.closest('[role="dialog"]')||C.closest('[role="alertdialog"]')||C.closest("dialog")||E.some(y=>y!==C&&y.getAttribute("aria-hidden")!=="true"))return;let q=C.parentElement;for(;q&&q!==document.body&&q!==document.documentElement;){if(q.getAttribute("aria-hidden")==="true")return;q=q.parentElement;}let L=uniqueSel(C);v.has(L)||(v.add(L),b.push({selector:L,attribute:"aria-hidden",currentValue:"true",issueType:"main_content_hidden",wcag:"4.1.2",context:JSON.stringify({tag:C.tagName.toLowerCase(),role:C.getAttribute("role")||"",suggestion:'Main content container has aria-hidden="true", hiding the entire page from assistive technology. Set aria-hidden="false" to restore visibility.'}),needsAI:false,fixValue:"false",outerHtml:(C.outerHTML||"").slice(0,300)}));}),b},wh={name:"mainContentHidden",cap:10,async detect(p){return p.evaluate(z3)}};var G3=()=>{let d=[];function b(C){return !!(!C||isWidget(C)||(C.getAttribute("aria-hidden")||"").trim().toLowerCase()==="true")}function v(C){return (C.outerHTML||"").slice(0,300)}let m=document.querySelectorAll("video");for(let C of m){if(d.length>=10)break;let D=C;if(b(D))continue;let I=D.hasAttribute("controls"),q=D.hasAttribute("autoplay"),L=D.hasAttribute("muted"),y=q||!D.paused&&!D.ended,A=typeof isVisible=="function"?isVisible(D):true;if(!I&&y&&A&&(d.push({selector:uniqueSel(D),attribute:"controls",currentValue:"",issueType:"missing_media_controls",wcag:"2.2.2",context:"video element missing player controls",needsAI:false,fixValue:"",outerHtml:v(D)}),d.length>=10))break;q&&!L&&d.push({selector:uniqueSel(D),attribute:"muted",currentValue:"",issueType:"unsafe_autoplay",wcag:"1.4.2",context:"video autoplays with sound \u2014 add muted",needsAI:false,fixValue:"",outerHtml:v(D)});}let E=document.querySelectorAll("audio");for(let C of E){if(d.length>=10)break;let D=C;if(b(D))continue;let I=D.hasAttribute("controls"),q=D.hasAttribute("autoplay"),L=q||!D.paused&&!D.ended;if(!I&&L&&(d.push({selector:uniqueSel(D),attribute:"controls",currentValue:"",issueType:"missing_media_controls",wcag:"2.2.2",context:"audio element missing player controls",needsAI:false,fixValue:"",outerHtml:v(D)}),d.length>=10))break;q&&d.push({selector:uniqueSel(D),attribute:"remove_attribute",currentValue:"autoplay",issueType:"unsafe_autoplay",wcag:"1.4.2",context:"audio element autoplays \u2014 remove autoplay attribute",needsAI:false,fixValue:"autoplay",outerHtml:v(D)});}return d},xh={name:"mediaControls",cap:10,async detect(p){return p.evaluate(G3)}};var W3=()=>{let p="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",b=[],v=[],m=/^(image|photo|img|picture|pic|untitled|banner|hero|\d{1,2})$/i,E=/^(IMG[-_]?\d|DSC[-_]?\d|DSCN?\d|(?:screenshot|Screen\s*Shot|Bildschirmfoto|capture(?:\s+d['’]\s?[ée]cran)?)(?:$|\s+(?:from|at)\s+\d|[\s_-]*[\d(])|image\s*\d|foto|photo[-_]?\d|P\d{4,}|GOPR\d|DJI[-_]\d)/i,C=/pixel|track|beacon|doubleclick|facebook\.com\/tr\b/i,D=(y,A)=>{let F=y.getAttribute(A);if(F===null)return false;let T=parseFloat(F);return !isNaN(T)&&T<=1},I=document.querySelectorAll("img");for(let y of I){if(b.length>=50)break;if(y.closest(p)||y.closest("template, noscript, script"))continue;let A=y.getAttribute("src")||"",F=y.getAttribute("alt");if(A.startsWith("data:")||D(y,"width")||D(y,"height"))continue;let T=y.naturalWidth||0,k=y.naturalHeight||0;if(T>0&&k>0&&T<=3&&k<=3||y.getAttribute("role")==="presentation"||y.getAttribute("role")==="none"||y.getAttribute("aria-hidden")==="true")continue;let M=T||y.width,N=k||y.height,j=y.getBoundingClientRect(),$=!isVisible(y)||M<=2&&N<=2||j.width<=2&&j.height<=2||!!y.closest('[aria-hidden="true"]');if($&&(F!==null||v.length>=50||C.test(A)))continue;let K=(y.getAttribute("aria-label")||"").trim(),Q=(y.getAttribute("aria-labelledby")||"").trim();if(K||Q)continue;if(F===null){let O=uniqueSel(y),B=getNearbyContext(y),V=[],W=y.closest("figure");if(W){let de=W.querySelector("figcaption");de&&V.push("figcaption: "+(de.textContent||"").trim().slice(0,80));}B.nearbyHeading&&V.push("heading: "+B.nearbyHeading);let J=y.closest("a");if(J){let de=J.getAttribute("href")||"",me=(J.textContent||"").trim().replace(/\s+/g," ");me&&V.push("link text: "+me.slice(0,60)),de&&V.push("link href: "+de.slice(0,80));}A&&V.push("src: "+A.slice(0,120)),V.push("parent: "+B.parentTag);let ie=A;try{ie=new URL(A,document.baseURI).href;}catch{}($?v:b).push({selector:O,attribute:"alt",currentValue:"",issueType:"missing_alt",wcag:"1.1.1",context:V.join(" | "),needsAI:true,imageSrc:ie,outerHtml:y.outerHTML.slice(0,300)});continue}let _=(F||"").trim();if(_==="")continue;let h=/\.(jpg|jpeg|png|gif|webp|svg|bmp|ico)$/i.test(_),R=m.test(_),x=E.test(_);if(h||R||x){let O=uniqueSel(y),B=getNearbyContext(y),V=[];B.nearbyHeading&&V.push("heading: "+B.nearbyHeading),A&&V.push("src: "+A.slice(0,120)),V.push("parent: "+B.parentTag);let W=A;try{W=new URL(A,document.baseURI).href;}catch{}b.push({selector:O,attribute:"alt",currentValue:_,issueType:"missing_alt",wcag:"1.1.1",context:V.join(" | "),needsAI:true,imageSrc:W,outerHtml:y.outerHTML.slice(0,300)});}}let q=globalThis;for(let y of Array.from(document.querySelectorAll("object"))){if(b.length>=50)break;if(y.closest(p)||y.closest('[aria-hidden="true"]')||y.getAttribute("aria-hidden")==="true")continue;let A=(y.getAttribute("role")||"").trim().toLowerCase();if(A==="presentation"||A==="none"||!q.isVisible(y))continue;let F=y.getAttribute("data")||"",T=(y.getAttribute("type")||"").trim().toLowerCase(),k=T.startsWith("image/"),M=/\.(png|jpe?g|gif|webp|bmp|svg)(\?[^#]*)?(#.*)?$/i.test(F);if(!F||!(k||!T&&M)||(y.getAttribute("aria-label")||"").trim()||(y.getAttribute("title")||"").trim())continue;let N=(y.getAttribute("aria-labelledby")||"").trim();N&&N.split(/\s+/).some(j=>(document.getElementById(j)?.textContent||"").trim())||y.closest('a, button, [role="button"], [role="link"]')||b.push({selector:q.uniqueSel(y),attribute:"aria-label",currentValue:"",issueType:"missing_alt",wcag:"1.1.1",context:"object image has no accessible name (fallback content does not name an object) | data: "+F.slice(0,120),needsAI:false,outerHtml:y.outerHTML.slice(0,300)});}let L=Array.from(document.querySelectorAll("script:not([src])")).map(y=>y.textContent||"");for(let y of Array.from(document.querySelectorAll("canvas"))){if(b.length>=50)break;if(y.closest(p)||y.closest('[aria-hidden="true"]')||y.getAttribute("aria-hidden")==="true")continue;let A=(y.getAttribute("role")||"").trim().toLowerCase();if(A==="presentation"||A==="none"||!q.isVisible(y)||(y.getAttribute("aria-label")||"").trim()||(y.getAttribute("aria-labelledby")||"").trim()||(y.getAttribute("title")||"").trim()||(y.textContent||"").trim()||y.children.length||y.closest('a, button, label, figure, [role="img"], [role="button"], [role="link"], [aria-label], [aria-labelledby], [aria-describedby]'))continue;let F=y.getBoundingClientRect();if(F.width<=30||F.height<=30)continue;let T=y.getAttribute("id");if(!T)continue;let k=new RegExp("#"+T.replace(/[^\w-]/g,"")+`\\b|getElementById\\(\\s*['"]`+T.replace(/[^\w-]/g,"")+`['"]`);L.some(N=>k.test(N)&&/\b(fillText|strokeText)\s*\(/.test(N))&&b.push({selector:q.uniqueSel(y),attribute:"aria-label",currentValue:"",issueType:"missing_alt",wcag:"1.1.1",context:"canvas draws text via script but has no accessible name or fallback content",needsAI:false,outerHtml:y.outerHTML.slice(0,300)});}for(let y of v){if(b.length>=50)break;b.push(y);}return b},Dh={name:"missingAlt",cap:50,async detect(p){return p.evaluate(W3)}};var U3=()=>{let p="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=EquallyAI],[id*=ae_],[class*=ae-exclude]",d='a[href], button, input:not([type="hidden"]), select, textarea, summary, [contenteditable]:not([contenteditable="false" i]), [role="button"], [role="link"], [role="checkbox"], [role="menuitem"], [role="tab"], [role="switch"], [role="option"], [role="radio"], [role="combobox"], [role="slider"], [role="textbox"]',b=["onclick","data-action","ng-click","@click","v-on:click"],v=T=>{if(getComputedStyle(T).visibility==="hidden")return false;for(let k=T;k&&k.nodeType===1;k=k.parentElement)if(getComputedStyle(k).display==="none")return false;return true},m=T=>Array.prototype.some.call(T.querySelectorAll("a:not([href])"),k=>v(k)&&!isHiddenFromAT(k)&&b.some(M=>k.hasAttribute(M))),E=T=>Array.prototype.some.call(T.querySelectorAll(d),k=>v(k)&&!isHiddenFromAT(k)),D=[];return document.querySelectorAll("div[onclick], span[onclick]").forEach(T=>{if(D.length>=50||T.closest(p)||!isVisible(T)||isHiddenFromAT(T)||E(T)||m(T))return;let k=T.getAttribute("role");if(k==="button"||k==="link"||k==="tab"||k==="menuitem"||k==="checkbox"||k==="radio")return;let M=uniqueSel(T),N=T.outerHTML.slice(0,300);D.push({selector:M,attribute:"role",currentValue:k||"",issueType:"missing_button_role",wcag:"4.1.2",context:JSON.stringify({tag:T.tagName.toLowerCase(),hasOnclick:true,currentTabindex:T.getAttribute("tabindex")}),needsAI:false,fixValue:"button",outerHtml:N}),T.getAttribute("tabindex")===null&&D.push({selector:M,attribute:"tabindex",currentValue:"",issueType:"missing_button_role",wcag:"4.1.2",context:JSON.stringify({tag:T.tagName.toLowerCase(),supplementary:'tabindex needed alongside role="button"'}),needsAI:false,fixValue:"0",outerHtml:N});}),document.querySelectorAll('a:not([href]), a[href=""], a[href="#"], a[href="javascript:void(0)"], a[href="javascript:;"]').forEach(T=>{if(D.length>=50||T.closest(p)||!isVisible(T)||isHiddenFromAT(T)||T.getAttribute("role"))return;let M=T.hasAttribute("onclick"),N=T.getAttribute("data-action")||T.getAttribute("ng-click")||T.getAttribute("@click")||T.getAttribute("v-on:click");if(!M&&!N||E(T))return;let j=uniqueSel(T),$=T.outerHTML.slice(0,300);D.push({selector:j,attribute:"role",currentValue:"",issueType:"missing_button_role",wcag:"4.1.2",context:JSON.stringify({tag:"a",href:T.getAttribute("href")||"",hasOnclick:M}),needsAI:false,fixValue:"button",outerHtml:$});}),document.querySelectorAll('a[href^="#"]:not([href="#"]), a[href^="javascript:"]').forEach(T=>{if(D.length>=50||T.closest(p)||!isVisible(T)||isHiddenFromAT(T)||T.getAttribute("role"))return;let M=T.getAttribute("href")||"",N=false;if(M.startsWith("#")&&M.length>1){if(M.charAt(1)==="/")return;let Q=M.slice(1);if(document.getElementById(Q))return;try{if(document.querySelector('[name="'+CSS.escape(Q)+'"]'))return}catch{}N=true;}let j=M.startsWith("javascript:")||T.hasAttribute("onclick")||T.getAttribute("data-action")||T.getAttribute("ng-click")||T.getAttribute("@click")||T.getAttribute("v-on:click")||T.hasAttribute("aria-haspopup")||T.hasAttribute("aria-expanded")||T.hasAttribute("aria-controls"),$=N&&!j;if(E(T))return;let K=uniqueSel(T);D.push({selector:K,attribute:"role",currentValue:"",issueType:"missing_button_role",wcag:"4.1.2",context:JSON.stringify({tag:"a",href:M,reason:"non-navigating link acting as button"}),needsAI:false,fixValue:"button",outerHtml:T.outerHTML.slice(0,300),...$?{needsReview:true,reviewReason:"fragment href has no matching target and no click-behavior evidence \u2014 may be a dead link, not a button"}:{}});}),document.querySelectorAll("nav, ol, ul").forEach(T=>{if(D.length>=50||T.closest(p)||!isVisible(T)||isHiddenFromAT(T))return;let k=(T.className&&typeof T.className=="string"?T.className:"").toLowerCase(),M=(T.getAttribute("id")||"").toLowerCase();if(!k.includes("breadcrumb")&&!k.includes("crumb")&&!M.includes("breadcrumb")&&!M.includes("crumb"))return;let N=T.querySelectorAll("a");if(N.length<2)return;let j=(T.getAttribute("aria-label")||"").toLowerCase(),$=T.getAttribute("role");if(j.includes("breadcrumb")||j.includes("crumb")||$==="navigation"&&j)return;let K=uniqueSel(T);D.push({selector:K,attribute:"aria-label",currentValue:j,issueType:"missing_semantic_role",wcag:"4.1.2",context:JSON.stringify({tag:T.tagName.toLowerCase(),reason:"breadcrumb navigation missing aria-label",linkCount:N.length}),needsAI:false,fixValue:"Breadcrumb",outerHtml:T.outerHTML.slice(0,300)});}),document.querySelectorAll("form, section, div").forEach(T=>{if(D.length>=50||T.closest(p)||!isVisible(T)||isHiddenFromAT(T))return;let k=(T.className&&typeof T.className=="string"?T.className:"").toLowerCase(),M=(T.getAttribute("id")||"").toLowerCase();if(!k.includes("search")&&!M.includes("search")||!T.querySelector('input[type="search"], input[type="text"], input[name*="search"], input[placeholder*="earch"]'))return;let j=T.getAttribute("role");if(j==="search"||T.closest('[role="search"]')||T.querySelector('[role="search"]')||Array.prototype.some.call(T.querySelectorAll("form, section, div"),Q=>{let _=(Q.className&&typeof Q.className=="string"?Q.className:"").toLowerCase(),h=(Q.getAttribute("id")||"").toLowerCase();return !_.includes("search")&&!h.includes("search")||Q.getAttribute("role")==="search"?false:!!Q.querySelector('input[type="search"], input[type="text"], input[name*="search"], input[placeholder*="earch"]')}))return;let K=uniqueSel(T);D.push({selector:K,attribute:"role",currentValue:j||"",issueType:"missing_semantic_role",wcag:"4.1.2",context:JSON.stringify({tag:T.tagName.toLowerCase(),reason:'search section missing role="search"'}),needsAI:false,fixValue:"search",outerHtml:T.outerHTML.slice(0,300)});}),document.querySelectorAll('[role="menu"], [role="menubar"]').forEach(T=>{if(T.closest(p))return;let k=T.getAttribute("role")||"menu",M=Array.from(T.querySelectorAll("a")).filter(j=>{if(!isVisible(j)||isHiddenFromAT(j))return false;let $=j.getAttribute("role");return $!=="menuitem"&&$!=="menuitemcheckbox"&&$!=="menuitemradio"});if(M.length===0)return;let N=uniqueSel(T);D.push({selector:N,attribute:"role",currentValue:k,issueType:"missing_semantic_role",wcag:"4.1.2",context:JSON.stringify({tag:T.tagName.toLowerCase(),reason:`${M.length} link(s) inside role="${k}" without menuitem roles`,sample:M.slice(0,3).map(j=>(j.textContent||"").trim().slice(0,40))}),message:`container role="${k}" holds ${M.length} link(s) without menuitem roles \u2014 for site navigation use a nav list instead (role="menu" requires the full menu pattern: menuitem children plus arrow-key handling)`,needsAI:false,needsReview:true,reviewReason:'Adding role="menuitem" to plain navigation links is invalid ARIA when the menu pattern is not implemented. Prefer removing role="menu"/"menubar" from site navigation; keep it only for application menus built to the APG menu pattern.',outerHtml:T.outerHTML.slice(0,300)});}),D},Ah={name:"missingRoles",cap:50,async detect(p){return p.evaluate(U3)}};var X3=()=>{let p="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye]",b=[],v={main:'main, [role="main"]',navigation:'nav, [role="navigation"]',banner:'header, [role="banner"]',contentinfo:'footer, [role="contentinfo"]',complementary:'aside, [role="complementary"]',search:'[role="search"]'};for(let[m,E]of Object.entries(v))document.querySelectorAll(E).forEach(D=>{if(b.length>=30||D.closest(p)||typeof isVisible=="function"&&!isVisible(D))return;let I=D.parentElement,q=null;for(;I&&I!==document.body;){if(I.matches(E)){q=I;break}I=I.parentElement;}if((m==="banner"||m==="contentinfo")&&D.closest("article, section, aside, main, nav")||!q||D.getAttribute("aria-label")?.trim()||D.getAttribute("aria-labelledby")?.trim())return;let L=typeof uniqueSel=="function"?uniqueSel(D):"",y=typeof getNearbyContext=="function"?getNearbyContext(D):{nearbyHeading:""};b.push({selector:L,attribute:"role",currentValue:D.getAttribute("role")||D.tagName.toLowerCase(),issueType:"nested_landmark",wcag:"1.3.1",context:`nested-in: ${m} | tag: ${D.tagName.toLowerCase()} | heading: ${y.nearbyHeading||""}`,needsAI:false,fixValue:"generic",outerHtml:(D.outerHTML||"").slice(0,300)});});return b},_h={name:"nestedLandmarks",cap:30,async detect(p){return p.evaluate(X3)}};var Y3=()=>{let d=[],b=_=>typeof parseCssColor=="function"?parseCssColor(_):null,v=(_,h,R)=>typeof relLuminance=="function"?relLuminance(_,h,R):0,E=(_,h)=>typeof contrastRatio=="function"?contrastRatio(_,h):1;function C(_){let h=document.documentElement,R=_.parentElement,x=0;for(;R&&R!==h&&x<6;){let W=getComputedStyle(R).backgroundColor||"",J=b(W);if(J&&J[3]>.5)return [J[0],J[1],J[2]];R=R.parentElement,x++;}let O=document.body;if(R&&R!==h&&O&&O.contains(R)){let W=b(getComputedStyle(O).backgroundColor||"");if(W&&W[3]>.5)return [W[0],W[1],W[2]]}let B=b(getComputedStyle(h).backgroundColor||""),V=B?Math.min(B[3],1):0;return !B||V<=0?[255,255,255]:[Math.round(B[0]*V+255*(1-V)),Math.round(B[1]*V+255*(1-V)),Math.round(B[2]*V+255*(1-V))]}function D(_,h,R){return "#"+[_,h,R].map(x=>{let O=Math.max(0,Math.min(255,Math.round(x))).toString(16);return O.length===1?"0"+O:O}).join("")}function I(_,h,R){let x=v(h[0],h[1],h[2])>.5;return q(_,h,R,x)||q(_,h,R,!x)}function q(_,h,R,x){let O=0,B=1,V=null;for(let W=0;W<20;W++){let J=(O+B)/2,ie=x?[_[0]*(1-J),_[1]*(1-J),_[2]*(1-J)]:[_[0]+(255-_[0])*J,_[1]+(255-_[1])*J,_[2]+(255-_[2])*J],te=[Math.round(ie[0]),Math.round(ie[1]),Math.round(ie[2])];E(te,h)>=R?(V=te,B=J):O=J;}return V}let L=(_,h)=>{let R=Math.max(0,Math.min(1,_[3]));return [_[0]*R+h[0]*(1-R),_[1]*R+h[1]*(1-R),_[2]*R+h[2]*(1-R)]};function y(_,h){let R=_.boxShadow||"";if(!R||R==="none")return null;let x=[],O=0,B="";for(let W of R)W==="("&&O++,W===")"&&O--,W===","&&O===0?(x.push(B),B=""):B+=W;B&&x.push(B);let V=null;for(let W of x){let J=W.match(/rgba?\([^)]*\)/),ie=J?b(J[0]):null;if(!ie||ie[3]<=0||(W.replace(/rgba?\([^)]*\)/,"").replace("inset","").trim().split(/\s+/).map(ue=>parseFloat(ue)).filter(ue=>Number.isFinite(ue))[3]??0)<=0)continue;let me=E(L(ie,h),h);(V===null||me>V)&&(V=me);}return V}function A(_){let h=getComputedStyle(_),R=C(_),x=null,O=parseFloat(h.borderTopWidth||"0"),B=(h.borderTopStyle||"").toLowerCase(),V=b(h.borderTopColor||"");O>0&&B!=="none"&&B!=="hidden"&&V&&V[3]>0&&(x=E(L(V,R),R));let W=b(h.backgroundColor||"");if(W&&W[3]>0){let ie=E(L(W,R),R);(x===null||ie>x)&&(x=ie);}let J=y(h,R);return J!==null&&(x===null||J>x)&&(x=J),x}function F(_){let h=_.getBoundingClientRect();if(h.width*h.height<=0)return null;let R='input, select, textarea, button, [role="button"], svg, img, i, label',x=_.parentElement,O=null;for(let B=0;x&&B<3&&!(x===document.body||x===document.documentElement);B++,x=x.parentElement){let V=x.getBoundingClientRect();if(V.width*V.height>4*h.width*h.height+1||V.height>Math.max(2.5*h.height,h.height+40))break;let W=false,J=document.createTreeWalker(x,4),ie=J.nextNode();for(;ie;){if((ie.textContent||"").trim()&&ie.parentElement&&!ie.parentElement.closest(R)&&isVisible(ie.parentElement)){W=true;break}ie=J.nextNode();}if(W)break;let te=A(x);te!==null&&te>1.01&&(O===null||te>O)&&(O=te);}return O}let T=_=>/^(img|picture|video|canvas|object|embed|iframe)$/.test((_.tagName||"").toLowerCase())||(getComputedStyle(_).backgroundImage||"none")!=="none",k=(_,h)=>{let R=Math.min(_.right,h.right)-Math.max(_.left,h.left),x=Math.min(_.bottom,h.bottom)-Math.max(_.top,h.top);return R>0&&x>0&&R*x/(_.width*_.height)>=.5},M=null;function N(_){let h=_.getBoundingClientRect();if(h.width*h.height<=0)return false;let R=h.left+h.width/2,x=h.top+h.height/2;if(R>=0&&x>=0&&R<window.innerWidth&&x<window.innerHeight&&typeof document.elementsFromPoint=="function"){let B=document.elementsFromPoint(R,x),V=B.indexOf(_);if(V>=0){for(let W of B.slice(V+1)){if(T(W))return true;let J=b(getComputedStyle(W).backgroundColor||"");if(J&&J[3]>.5)return false}return false}}for(let B=_.parentElement,V=0;B&&V<8;B=B.parentElement,V++){let W=getComputedStyle(B);if((W.backgroundImage||"none")!=="none")return true;let J=b(W.backgroundColor||"");if(J&&J[3]>.5||B===document.documentElement)break}M||(M=Array.from(document.querySelectorAll("img, picture, video, canvas, object, embed, iframe")));for(let B of M)if(!(B===_||_.contains(B)||B.contains(_))&&k(h,B.getBoundingClientRect())&&isVisible(B))return true;let O=_.offsetParent||_.parentElement;if(O&&O!==document.body&&O!==document.documentElement){let B=O.getElementsByTagName("*");for(let V=0;V<B.length&&V<400;V++){let W=B[V];if(!(W===_||_.contains(W)||W.contains(_))&&k(h,W.getBoundingClientRect())&&(getComputedStyle(W).backgroundImage||"none")!=="none"&&isVisible(W))return true}}return false}function j(_){for(let O=_.parentElement;O&&O.nodeType===1;O=O.parentElement)if(parseFloat(getComputedStyle(O).opacity||"1")<1)return false;let h=O=>{if(O.tagName.toLowerCase()!=="svg"){let W=b(getComputedStyle(O).color||"");return W&&W[3]>0?[W]:null}let B=[],V=Array.from(O.querySelectorAll("path, rect, circle, ellipse, polygon, polyline, line, text, use"));for(let W of V){let J=W.getBoundingClientRect();if(J.width===0&&J.height===0)continue;let ie=getComputedStyle(W);if(ie.display==="none"||ie.visibility==="hidden"||parseFloat(ie.opacity||"1")<1)return null;for(let[te,de]of [[ie.fill,ie.fillOpacity],[ie.stroke,parseFloat(ie.strokeWidth||"0")>0?ie.strokeOpacity:"0"]]){let me=String(te||"");if(!me||me==="none"||parseFloat(String(de??"1"))===0)continue;if(me.startsWith("url"))return null;let ue=b(me);if(!ue)return null;ue[3]*=parseFloat(String(de??"1")),ue[3]>0&&B.push(ue);}}return B.length?B:null},R=[];for(let O=0;O<=255;O+=17)R.push(O);let x=Array.from(_.querySelectorAll('svg, i[class], [class*="icon"]'));for(let O of x){let B=O.getBoundingClientRect();if(B.width*B.height===0)continue;let V=getComputedStyle(O);if(V.display==="none"||V.visibility==="hidden")continue;let W=h(O);if(!W)continue;let J=null,ie=1,te=true;for(let ue=O;ue;ue=ue===_?null:ue.parentElement){let De=getComputedStyle(ue),Me=parseFloat(De.opacity||"1");if(!J){let Ne=b(De.backgroundColor||""),Te=String(De.backgroundClip||"border-box").toLowerCase();if(!(String(De.backgroundImage||"none")==="none")){te=false;break}if(Ne&&Ne[3]>=1&&Te==="border-box")J=[Ne[0],Ne[1],Ne[2]];else if(Me<1){te=false;break}}J&&(ie*=Me);}if(!J||!te)continue;let de=J,me=1/0;for(let ue of W){let De=L(ue,de);for(let Me of R)for(let Ne of R)for(let Te of R){let _e=[Me,Ne,Te],xt=L([De[0],De[1],De[2],ie],_e),kt=L([de[0],de[1],de[2],ie],_e),Ge=E(xt,kt);Ge<me&&(me=Ge);}}if(me>=3)return true}return false}let $="control sits over an image, so the background colour measured behind it is not what the user sees \u2014 judge its boundary or glyph against the image pixels in the crop (WCAG 1.4.11, 3:1)";function K(_){let h=_.tagName.toLowerCase(),R=h==="input"||h==="select"||h==="textarea"?h+" field":h;d.push({selector:uniqueSel(_),message:"non-text contrast: "+R+" over an image backdrop \u2014 "+$,attribute:"style",currentValue:"?",issueType:"non_text_contrast_insufficient",wcag:"1.4.11",context:h+" backdrop=image needs=3",needsAI:false,needsReview:true,reviewReason:$,outerHtml:_.outerHTML.slice(0,200)});}let Q=document.querySelectorAll('input:not([type="hidden"]), select, textarea, button, [role="button"], [role="checkbox"], [role="radio"], [role="switch"]');for(let _ of Q){if(d.length>=30)break;if(isWidget(_)||isHiddenFromAT(_)||!isVisible(_))continue;let h=getComputedStyle(_),R=C(_),x=b(h.backgroundColor||""),O=b(h.borderTopColor||""),B=parseFloat(h.borderTopWidth||"0"),V=(h.borderTopStyle||"").toLowerCase(),W=B>0&&V!=="none"&&V!=="hidden",J=_.tagName.toLowerCase(),ie=J==="input"||J==="select"||J==="textarea",te=null;if(J==="input"){let Ae=(_.type||"").toLowerCase(),Ir=(h.appearance||h.webkitAppearance||"").toLowerCase();if(Ae==="checkbox"||Ae==="radio"){let cr=Ir==="none"?"":String(h.accentColor||"").trim().toLowerCase(),dr=cr&&cr!=="auto"?b(cr):null;if(dr&&dr[3]>.5)te=E([dr[0],dr[1],dr[2]],R);else if(Ir&&Ir!=="none")continue}}let de=W&&O&&O[3]>.5?E([O[0],O[1],O[2]],R):null,me=x&&x[3]>.5?E([x[0],x[1],x[2]],R):te,ue=y(h,R),De=de===null&&me===null&&ue===null?null:Math.max(de??0,me??0,ue??0);if(ie&&N(_)){K(_);continue}if(ie&&(De===null||De<3)){let Ae=F(_);if(Ae!==null&&Ae>=3)continue}let Me=null,Ne=false,Te="";if(ie)De!==null?(Me=De,De<3&&(Ne=true)):(Ne=true,Me=1);else {let Ae=false,Ir=document.createTreeWalker(_,4),cr=Ir.nextNode();for(;cr;){if((cr.textContent||"").trim()&&cr.parentElement&&isVisible(cr.parentElement)){Ae=true;break}cr=Ir.nextNode();}if(Ae)continue;let dr=N(_);{let ce=["Top","Right","Bottom","Left"].map(qe=>({w:parseFloat(h["border"+qe+"Width"]||"0"),s:String(h["border"+qe+"Style"]||"").toLowerCase(),c:b(h["border"+qe+"Color"]||"")})),be=ce.filter(qe=>qe.w>0&&qe.s!=="none"&&qe.s!=="hidden"&&qe.c&&qe.c[3]>.5),We=ce.filter(qe=>qe.w>0&&qe.s!=="none"&&qe.s!=="hidden"&&qe.c&&qe.c[3]===0),tt=true;for(let qe=_.parentElement;qe&&qe.nodeType===1;qe=qe.parentElement)if(parseFloat(getComputedStyle(qe).opacity||"1")<1){tt=false;break}let ot=Math.max(0,Math.min(1,parseFloat(h.opacity||"1"))),pt=String(h.backgroundClip||"border-box").toLowerCase(),Je=!!x&&x[3]>=1&&ot>=1&&pt==="border-box";if(be.length&&We.length&&tt&&(!dr||Je)){let qe=x&&x[3]>0?L(x,R):R,Xt=L([qe[0],qe[1],qe[2],ot],R),Yt=Mr=>{let Kn=L(Mr,qe);return L([Kn[0],Kn[1],Kn[2],ot],R)};if(be.some(Mr=>E(Yt(Mr.c),Xt)>=3))continue}}if(dr){if(j(_))continue;K(_);continue}let Yn=Array.from(_.querySelectorAll('img, svg, picture, canvas, i[class], [class*="icon"]')),zt=new Map,Qa=ce=>{let be=ce.getBoundingClientRect();if(be.width*be.height===0)return "absent";let We=parseFloat(getComputedStyle(_).opacity||"1");for(let tt=ce;tt&&tt!==_;tt=tt.parentElement){let ot=getComputedStyle(tt);if(ot.display==="none")return "absent";if(ot.visibility==="hidden"||parseFloat(ot.opacity||"1")===0)return "hidden-at-rest";We*=parseFloat(ot.opacity||"1");}return zt.set(ce,We),"painted"},ei=Yn.map(Qa),it=Yn.filter((ce,be)=>ei[be]==="painted"),Lr=it.length>0,ln=!Lr&&ei.includes("hidden-at-rest"),fe=ce=>{let be=(ce.tagName||"").toLowerCase();if(be==="img"||be==="picture"||be==="canvas"||be==="svg"&&ce.querySelector("image, foreignObject, linearGradient, radialGradient, pattern"))return null;let We=[];if(be==="svg"){let ot=ce.querySelector("path, circle, rect, polygon, polyline, line, ellipse, use, text");for(let pt of [ot,ce]){if(!pt)continue;let Je=getComputedStyle(pt),qe=1;for(let Yt=pt;Yt&&Yt!==ce;Yt=Yt.parentElement||Yt.parentNode)qe*=parseFloat(getComputedStyle(Yt).opacity||"1");let Xt=Yt=>Number.isFinite(parseFloat(Yt))?parseFloat(Yt):1;if(Je.fill&&Je.fill!=="none"&&!Je.fill.startsWith("url")&&We.push({color:Je.fill,alpha:qe*Xt(Je.fillOpacity)}),Je.stroke&&Je.stroke!=="none"&&!Je.stroke.startsWith("url")&&parseFloat(Je.strokeWidth||"0")>0&&We.push({color:Je.stroke,alpha:qe*Xt(Je.strokeOpacity)}),We.length)break}}else ((ce.textContent||"").trim()||getComputedStyle(ce,"::before").content!=="none")&&We.push({color:getComputedStyle(ce).color,alpha:1});let tt=null;for(let ot of We){let pt=b(ot.color);if(!pt)continue;let Je=pt[3]*ot.alpha*(zt.get(ce)??1),qe=[pt[0]*Je+R[0]*(1-Je),pt[1]*Je+R[1]*(1-Je),pt[2]*Je+R[2]*(1-Je)],Xt=E(qe,R);(tt===null||Xt>tt)&&(tt=Xt);}return tt};if(Lr&&it.map(fe).some(be=>be!==null&&be>=3))continue;let re=false,oe=h.position;if((oe==="absolute"||oe==="fixed")&&_.parentElement){let ce=_.getBoundingClientRect(),be=_.parentElement.getBoundingClientRect(),We=be.width*be.height;We>0&&ce.width*ce.height/We>=.85&&(re=true);}if(Lr||re||ln){if(Ne=true,Me=W&&O&&O[3]>.5?E([O[0],O[1],O[2]],R):1,Me>=3)continue;Te=Lr?"control is identified by an image or icon \u2014 verify the graphic itself has 3:1 contrast against its surroundings":ln?"control is identified by an icon that is transparent until hover/focus \u2014 verify the revealed icon has 3:1 contrast against its surroundings":"control is an overlay covering other content, which provides its visual affordance \u2014 verify the underlying presentation";}else De!==null?(Me=De,De<3&&(Ne=true)):(Ne=true,Me=1);}if(!Ne)continue;let _e=O&&O[3]>.5?[O[0],O[1],O[2]]:x&&x[3]>.5?[x[0],x[1],x[2]]:[128,128,128],xt=I(_e,R,3);if(!xt)continue;let kt=D(xt[0],xt[1],xt[2]),Ge=D(R[0],R[1],R[2]),Ft="border: 1px solid "+kt+" !important;",Za=uniqueSel(_),Fr=_.tagName.toLowerCase(),$t=De===null&&!W?"invisible (no border, no fill: 1.00:1)":Me?Me.toFixed(2)+":1":"not measurable",Lt=Fr==="input"||Fr==="select"||Fr==="textarea"?Fr+" field":Fr,zr=Te?"non-text contrast: "+Lt+" boundary is "+$t+" against "+Ge+" (needs 3:1) \u2014 "+Te:"non-text contrast: "+Lt+" boundary (border and fill) is "+$t+" against "+Ge+", needs 3:1 \u2014 e.g. border-color "+kt;d.push({selector:Za,message:zr,attribute:"style",currentValue:Me?Me.toFixed(2):"?",issueType:"non_text_contrast_insufficient",wcag:"1.4.11",context:Fr+" bg="+Ge+" ratio="+(Me?Me.toFixed(2):"?")+" needs=3",needsAI:false,...Te?{needsReview:true,reviewReason:Te}:{fixValue:Ft},outerHtml:_.outerHTML.slice(0,200)});}return d},Eh={name:"nonTextContrast",cap:30,async detect(p){return p.evaluate(Y3)}};var K3=()=>{let p="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",b=[],v=/location\s*[=.]|location\s*\.\s*href|\.submit\s*\(|window\s*\.\s*open|history\s*\.\s*(push|replace)/i,m=document.querySelectorAll("[onfocus]");for(let E of Array.from(m)){if(b.length>=20)break;if(E.closest(p))continue;let C=E.getAttribute("onfocus")||"";if(!C||!v.test(C))continue;let D=typeof uniqueSel=="function"?uniqueSel(E):"",I=typeof getNearbyContext=="function"?getNearbyContext(E):{parentTag:E.tagName.toLowerCase(),nearbyHeading:""},q=[];q.push("tag: "+E.tagName.toLowerCase()),q.push("onfocus: "+C.slice(0,100)),I.nearbyHeading&&q.push("heading: "+I.nearbyHeading),q.push("parent: "+I.parentTag),b.push({selector:D,attribute:"onfocus",currentValue:C.slice(0,200),issueType:"onfocus_context_change",wcag:"3.2.1",context:q.join(" | "),needsAI:true,outerHtml:(E.outerHTML||"").slice(0,300)});}return b},Ch={name:"onFocus",cap:20,async detect(p){return p.evaluate(K3)}};var J3=()=>{let p="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",d=[],b=['a[href="#main-content"]','a[href="#main"]','a[href="#content"]','a[href="#skip"]','a[href="#skip-content"]','a[href="#maincontent"]',"a.skip-link","a.skip-nav","a.skip-to-content","a.skiplink","a.skip-navigation",'[class*="skip-link"]','[class*="skip-nav"]'],v=false;for(let y of b){let A=document.querySelector(y);if(A&&!A.closest(p)){v=true;break}}if(!v){let y=document.querySelectorAll('a[href^="#"]');for(let A of y){if(A.closest(p))continue;let F=(A.textContent||"").toLowerCase();if(F.includes("skip")&&(F.includes("main")||F.includes("content")||F.includes("nav"))){v=true;break}}}if(!v){let y=document.querySelectorAll('button, input[type="button"], input[type="submit"]');for(let A of Array.from(y)){if(A.closest(p))continue;let F=(A.getAttribute("value")||A.textContent||"").trim().toLowerCase();if(F.includes("skip")&&(F.includes("main")||F.includes("content")||F.includes("nav"))){v=true;break}}}if(!v){let y=document.body?document.body.firstElementChild:null;if(y&&y.matches('main, [role="main"], div#main')){let A=getComputedStyle(y),F=y.getBoundingClientRect();A.display!=="none"&&A.visibility!=="hidden"&&!y.closest('[hidden], [aria-hidden="true"]')&&F.width>0&&F.height>0&&(v=true);}}if(!v){let y=Array.from(document.querySelectorAll('main, [role="main"], div#main'));for(let A of y){let F=getComputedStyle(A);if(F.display==="none"||F.visibility==="hidden"||A.closest('[hidden], [aria-hidden="true"]'))continue;if(Array.from(A.querySelectorAll("h1, h2, h3, h4, h5, h6")).some(k=>{let M=getComputedStyle(k);return M.display!=="none"&&M.visibility!=="hidden"&&!k.closest('[hidden], [aria-hidden="true"]')})){v=true;break}}}if(!v&&document.querySelector("nav")){let y=document.querySelectorAll("a, button");for(let A of Array.from(y)){if(A.closest(p))continue;let F=(A.textContent||"").trim().toLowerCase();if((F.includes("toggle")||F.includes("hide")||F.includes("collapse")||F.includes("show"))&&F.includes("content")){v=true;break}}}if(v||Array.from(document.querySelectorAll('main, [role="main"]')).filter(y=>{let A=getComputedStyle(y);if(A.display==="none"||A.visibility==="hidden"||y.closest('[hidden], [aria-hidden="true"]'))return false;let F=y.getBoundingClientRect();return F.width>0&&F.height>0}).length===1)return d;let E="",C=document.querySelector('main[id], [role="main"][id]');if(C&&C.getAttribute("id"))E=C.getAttribute("id");else {let y=document.querySelector("h1[id]");if(y&&y.getAttribute("id"))E=y.getAttribute("id");else {let A=["main-content","maincontent","main","content","skip-content"];for(let F of A)if(document.getElementById(F)){E=F;break}}}let D=E==="",I=E||"main-content",L="<style>.wa-skip-link{position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden;z-index:999999;padding:8px 16px;background:#000;color:#fff;font-size:14px;text-decoration:none;border-radius:0 0 4px 0;}.wa-skip-link:focus{position:fixed;left:8px;top:8px;width:auto;height:auto;overflow:visible;outline:2px solid #fff;outline-offset:2px;}</style>"+'<a href="#'+I+'" class="wa-skip-link">Skip to main content</a>';return d.push({selector:"body",attribute:"prepend",currentValue:"",issueType:"skip_link",wcag:"2.4.1",context:D?'No skip navigation link found, and no element with a referenceable id (e.g. <main id="main-content">) exists to target.':"No skip navigation link found on page; target resolved to #"+I,needsAI:false,fixValue:L,...D?{manualFix:true}:{}}),d},Sh={name:"skipLink",async detect(p){return p.evaluate(J3)}};var Z3=()=>{let b=[],v=document.querySelectorAll("*"),m=0;for(let E of Array.from(v)){if(m++>5e3||b.length>=20)break;if(E.closest("[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye]")||typeof isVisible=="function"&&!isVisible(E))continue;let D=getComputedStyle(E).backgroundImage||"";if(!D||D==="none"||!D.includes("url("))continue;let I=D.match(/url\((['"]?)(.*?)\1\)/);if(!I)continue;let q=I[2];if(!q||q.startsWith("data:")&&q.length<256)continue;let L=E.getBoundingClientRect();if(L.width<32||L.height<32)continue;let y=E.tagName.toLowerCase(),A=E.getAttribute("role")||"",F=y==="a"||y==="button"||A==="button"||A==="link"||E.closest("a,button,[role=button],[role=link]")!==null,T=(E.textContent||"").trim().length>0,k=!!E.getAttribute("aria-label"),M=!!E.getAttribute("aria-labelledby"),N=!!E.getAttribute("title"),j=!!E.querySelector('img[alt]:not([alt=""])');if(E.closest('[aria-hidden="true"]')){let h=E.closest("a[href]");if(!!h&&Array.from(document.querySelectorAll("a[href]")).some(x=>x!==h&&x.href===h.href&&!x.closest('[aria-hidden="true"]')))continue}if(k||M||N||j||T||!F)continue;let $=E.closest("a,button,[role=button],[role=link]");if($&&$!==E){let h=($.textContent||"").trim(),R=$.getAttribute("aria-label")||$.getAttribute("title")||"",x=$.getAttribute("aria-labelledby"),O=!!$.querySelector('img[alt]:not([alt=""])');if(h||R.trim()||x||O)continue}let K=q;try{K=new URL(q,location.href).toString();}catch{continue}let Q=typeof uniqueSel=="function"?uniqueSel(E):"",_=typeof getNearbyContext=="function"?getNearbyContext(E):{parentTag:y,nearbyHeading:""};b.push({selector:Q,attribute:"aria-label",currentValue:"",issueType:"background_image_unlabeled",wcag:"1.1.1",context:`bg: ${K.slice(0,140)} | tag: ${y} | role: ${A||"(none)"} | parent: ${_.parentTag}${_.nearbyHeading?" | heading: "+_.nearbyHeading:""}`,needsAI:true,imageSrc:K,outerHtml:(E.outerHTML||"").slice(0,300)});}return b},kh={name:"backgroundImages",cap:20,async detect(p){return p.evaluate(Z3)}};var Q3=()=>{let p="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye]",b=[];return document.querySelectorAll("svg").forEach(m=>{if(b.length>=50||m.closest(p)||!isVisible(m)||m.getAttribute("aria-hidden")==="true")return;let C=m.getAttribute("role");if(C==="presentation"||C==="none"||m.closest('[aria-hidden="true"]'))return;let D=m.getAttribute("aria-label")||"",I=m.getAttribute("aria-labelledby")||"",q=m.querySelector("title"),L=q?(q.textContent||"").trim():"";if(D.trim()||I.trim()||L)return;let y=m.getBoundingClientRect(),A=y.width<=16&&y.height<=16;if(y.width<=4||y.height<=4||m.getAttribute("preserveAspectRatio")==="none")return;let F=m.closest('a, button, [role="button"], [role="link"], [onclick]');if(F){if(F.getAttribute("aria-label")?.trim()||F.getAttribute("aria-labelledby")?.trim())return;let R=getAccessibleName(F),x=F.cloneNode(true);x.querySelectorAll("svg").forEach(B=>B.remove());let O=(x.textContent||"").trim().replace(/\s+/g," ");if(R&&O.length>0)return}else {if(A)return;let R=m.parentElement;if(R&&(R.textContent||"").trim().replace(/\s+/g," ").length>3)return}let T=uniqueSel(m),k=getNearbyContext(F||m),M=F&&F.getAttribute("href")||"",N=(F||m).outerHTML.slice(0,300),j=m.getAttribute("class")||"",$=m.getAttribute("data-icon")||"",K=F||m,Q=K&&K!==m&&K.getAttribute("class")||"",_=typeof lookupIconLabel=="function"?lookupIconLabel(String(j),$,"")||lookupIconLabel(String(Q),"",""):null,h=F?uniqueSel(F):T;b.push({selector:h,attribute:"aria-label",currentValue:"",issueType:"svg_missing_name",wcag:"1.1.1",context:JSON.stringify({parentTag:(F||m).tagName?(F||m).tagName.toLowerCase():"svg",href:M,nearbyHeading:k.nearbyHeading,parentRole:k.parentRole,svgClasses:j,iconLib:_||void 0,suggestion:"Add aria-label to the parent interactive element or <title> inside SVG"}),needsAI:!_,fixValue:_||void 0,outerHtml:N});}),b},Th={name:"svgNames",cap:50,async detect(p){return p.evaluate(Q3)}};var eI=()=>{let p={"line-height":1.5,"letter-spacing":.12,"word-spacing":.16},d=1e-9,b=Object.keys(p),v=30,m="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",E={px:1,pt:1.333333,pc:16,in:96,cm:37.795,mm:3.7795,q:.37795},C=_=>{let h=[];for(let R of _.split(";")){let x=R.match(/^\s*([-a-zA-Z]+)\s*:\s*(.*?)\s*$/);if(!x)continue;let O=x[1].toLowerCase();if(!b.includes(O))continue;let B=x[2],V=/!\s*important\s*$/i.test(B);B=B.replace(/!\s*important\s*$/i,"").trim(),B&&(O!=="line-height"&&/^[-+]?\d+(\.\d+)?$/.test(B)&&parseFloat(B)!==0||h.push({prop:O,value:B,important:V}));}return h},D=(_,h,R,x)=>{let O=h.trim().toLowerCase();if(/^normal$|^initial$/.test(O))return {kind:"narrow"};if(/^inherit$|^revert$|^unset$/.test(O))return {kind:"notBlocked"};if(O.startsWith("var(")||O.startsWith("calc(")||O.startsWith("env("))return {kind:"undetermined"};if(/^-?[\d.]+$/.test(O)){let ie=parseFloat(O);return _==="line-height"?{kind:"ratio",factor:ie}:{kind:"ratio",factor:0}}let B=O.endsWith("%")&&/\d/.test(O),V=B?O.slice(0,-1).trim().match(/^([\d.]+)$/):O.match(/^([\d.]+)(em|rem|vw|vh|px|pt|cm|mm|pc|in|q)$/);if(!V)return {kind:"undetermined"};let W=parseFloat(V[1]);if(B||O.endsWith("em")){let ie=x??R;return ie&&R&&isFinite(ie)&&isFinite(R)&&ie>0&&R>0?B?{kind:"ratio",factor:W/100*(ie/R)}:{kind:"ratio",factor:W*(ie/R)}:B?{kind:"ratio",factor:W/100}:{kind:"ratio",factor:W}}let J=O.match(/(rem|vw|vh|px|pt|cm|mm|pc|in|q)$/)?.[1];if(J==="px"||J&&E[J]){let ie=J==="px"?W:W*(E[J]||0);return R===null||!isFinite(R)||R<=0?{kind:"undetermined"}:{kind:"ratio",factor:ie/R}}return {kind:"undetermined"}},I=(_,h,R)=>{let x=_;for(;x;){let O=h.get(x);if(O){let B=O.filter(V=>V.prop===R);if(B.length){let V=B.filter(J=>J.important);return {decl:V.length?V[V.length-1]:B[B.length-1],from:x}}}x=x.parentElement;}return null},q=_=>{let h=_;for(;h;){let R=h.style;if(R&&(R.display==="none"||R.visibility==="hidden")||R&&(R.position==="absolute"||R.position==="fixed")&&(L(R.top)||L(R.left)))return false;if(R&&(R.overflowX==="scroll"||R.overflowX==="auto")){for(let x=_;x!==h;x=x.parentElement)if(x.style&&y(x.style.width)>=900)return false}h=h.parentElement;}return true},L=_=>{if(!_)return false;let h=_.match(/^(-)([\d.]+)(px|em|rem|vh|vw)$/i);if(!h)return false;let R=parseFloat(h[2]),x=h[3].toLowerCase();return x==="px"?R>=100:x==="em"||x==="rem"?R>=4:R>=10},y=_=>{let h=_?_.match(/^([\d.]+)px$/):null;return h?parseFloat(h[1]):0},A=[],F=[],T=new Map,k=typeof getComputedStyle=="function"?getComputedStyle:null,M=_=>{try{let h=k?k(_).fontSize:"",R=h?h.match(/^([\d.]+)px$/):null;return R?parseFloat(R[1]):null}catch{return null}},N=new Map,j=Array.from(document.querySelectorAll('[style*="important" i]'));for(let _ of j)_.closest(m)||N.set(_,C(_.getAttribute("style")||""));for(let _ of document.querySelectorAll("body [style]"))_.closest(m)||N.has(_)||N.set(_,C(_.getAttribute("style")||""));let $=[],K=document.createTreeWalker(document.body,1),Q=K.currentNode;for(;Q;)Array.from(Q.childNodes).some(h=>h.nodeType===3&&/\S/.test(h.textContent||""))&&!Q.closest(m)&&$.push(Q),Q=K.nextNode();for(let _ of $){if(A.length>=v)break;if(q(_))for(let h of b){let R=I(_,N,h);if(!R||!R.decl.important)continue;let x=M(_),O=R.from===_?x:M(R.from)??x,B=D(h,R.decl.value,x,O);if(!(B.kind==="undetermined"||B.kind==="narrow"||B.kind==="ratio"&&B.factor+d<p[h]))continue;let W=T.get(R.from);W||(W=[],T.set(R.from,W),F.push({from:R.from,props:W})),W.includes(h)||W.push(h);}}for(let{from:_,props:h}of F){if(A.length>=v)break;let R=typeof uniqueSel=="function"?uniqueSel(_):"",x=typeof getNearbyContext=="function"?getNearbyContext(_):{parentTag:_.parentElement?.tagName.toLowerCase()||"",nearbyHeading:""},O=[];O.push("blocked: "+h.join(",")),O.push("tag: "+_.tagName.toLowerCase()),x.nearbyHeading&&O.push("heading: "+x.nearbyHeading),O.push("parent: "+x.parentTag),A.push({selector:R,attribute:"style",currentValue:(_.getAttribute("style")||"").slice(0,200),issueType:"text_spacing_blocked",wcag:"1.4.12",context:O.join(" | "),needsAI:true,outerHtml:(_.outerHTML||"").slice(0,300)});}return A},Rh={name:"textSpacing",cap:30,async detect(p){return p.evaluate(eI)}};var tI=()=>{let p="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",b=[],v=document.querySelectorAll('button, input[type="submit"], input[type="button"], input[type="reset"], [role="button"]');for(let m of v){if(b.length>=50)break;if(m.closest(p)||!isVisible(m))continue;let E=m,C=E.tagName==="INPUT"?(E.getAttribute("type")||"").toLowerCase():"";if(C==="submit"||C==="reset")continue;let D=(E.getAttribute("role")||"").trim().toLowerCase().split(/\s+/)[0];if((D==="none"||D==="presentation")&&E.disabled===true)continue;let I=(E.getAttribute("aria-label")||"").trim(),q=E.getAttribute("aria-labelledby"),L=(E.getAttribute("title")||"").trim(),y=(E.getAttribute("value")||"").trim(),A=(E.textContent||"").trim().replace(/\s+/g," "),F="";q&&(F=typeof __resolveIdRefs=="function"?__resolveIdRefs(q):"");let T=E.querySelector('img[alt]:not([alt=""])'),k=E.querySelector("svg title"),M=E.querySelector("svg[aria-label]");if(!!(I||F||L||y||A||T||k||M))continue;let j=uniqueSel(E),$=getNearbyContext(E),K=E.closest("form"),Q=K&&(K.getAttribute("id")||K.getAttribute("name"))||"",_=E.getAttribute("class")||"",h=E.querySelector('i, svg, span[class*="icon"]'),R=h&&h.getAttribute("class")||"",x=h&&h.getAttribute("data-icon")||"",O=h?(h.textContent||"").trim():"",B=typeof lookupIconLabel=="function"?lookupIconLabel(String(R),x,O):null,V=!B&&typeof lookupIconLabel=="function"?lookupIconLabel(String(_),"",""):null,W=B||V,J=[];Q&&J.push("form: "+Q),$.nearbyHeading&&J.push("heading: "+$.nearbyHeading),R&&J.push("icon: "+String(R).slice(0,80)),_&&J.push("class: "+String(_).slice(0,80)),J.push("parent: "+$.parentTag),W&&J.push("icon-lib: "+W),b.push({selector:j,attribute:"aria-label",currentValue:"",issueType:"unlabeled_button",wcag:"4.1.2",context:J.join(" | "),needsAI:!W,fixValue:W||void 0,outerHtml:E.outerHTML.slice(0,300)});}return b},Fh={name:"unlabeledButtons",cap:50,async detect(p){return p.evaluate(tI)}};var rI=()=>{let p=new Set(["more","info","click","click here","here","read more","learn more","see more","link","button","this"]),d=new Set(["submit","send","yes","no","next","prev","previous","back","view","details","continue","go","ok","open","close","apply","save"]),b={};function v(_){if(isWidget(_)||!isVisible(_))return;let h=getAccessibleName(_);if(!h)return;let R=h.toLowerCase().trim();b[R]=(b[R]||0)+1;}document.querySelectorAll("a[href]").forEach(_=>v(_));let m=new Set(["fa","fas","far","fab","fal","fad","material-icons","material-symbols","bi","glyphicon"]),E=["fa-","bi-","icon-","icofont-","dashicons-","heroicon","feather-","lucide-","material-"];function C(_){let h=_.toLowerCase();return m.has(h)||E.some(R=>h.startsWith(R))}let D=/[\u4e00-\u9fff\u3040-\u30ff\uac00-\ud7af]/;function I(_,h){return D.test(_)?1:h}let q=50,L=[];function y(_){if((_.textContent||"").trim().replace(/\s+/g," ").length>0)return false;let R=_.querySelectorAll("i, span, em");for(let x of R)if((typeof x.className=="string"?x.className:"").split(/\s+/).some(C))return true;return false}function A(_){let h=_.className||"";return typeof h!="string"?false:h.split(/\s+/).some(C)}function F(_){if(L.length>=q||isWidget(_)||!isVisible(_))return;let h=getAccessibleName(_);if(!h)return;let R=h.toLowerCase().trim(),x=false,O=h.length>=2&&/^[A-Z][A-Z0-9]+$/.test(h.trim()),B=/^[[(]?\d{1,4}[\])]?$/.test(h.trim());if(h.length<I(h,3)&&!O&&!B)x=true;else if(p.has(R))x=true;else if(d.has(R)&&(b[R]||0)>=2){let te=(_.getAttribute("aria-label")||"").trim().toLowerCase(),de=!!_.getAttribute("aria-labelledby")||!!te&&te!==R,me=_.querySelector&&_.querySelector('.sr-only, .visually-hidden, [class*="sr-only"], [class*="visually-hidden"], [class*="screen-reader"]'),ue=me?(me.textContent||"").trim().toLowerCase():"";!de&&!(me&&ue!==R)&&(x=true);}else (y(_)||A(_)&&h.length===0)&&(_.getAttribute("aria-label")||_.getAttribute("aria-labelledby")||_.querySelector&&_.querySelector('.sr-only, .visually-hidden, [class*="sr-only"], [class*="visually-hidden"]')||(x=true));if(!x)return;let V=getNearbyContext(_),W=uniqueSel(_),J=_.getAttribute("href")||"",ie=_.outerHTML.slice(0,300);L.push({selector:W,attribute:"aria-label",currentValue:(_.getAttribute("aria-label")||"").trim(),message:"weak link name: "+(_.getAttribute("aria-label")||_.getAttribute("aria-labelledby")?`"${h}" is too generic for a control \u2014 add distinguishing context`:`text "${h}" is too generic for a control \u2014 add distinguishing context`),issueType:"weak_link_name",wcag:"2.4.4",needsReview:true,reviewReason:"WCAG 2.4.4 (AA) judges link purpose in context: the link text together with its sentence, paragraph, list item or table cell (nearbyText). A link whose text names its destination page or topic passes, even as one word in a menu. Fail only generic text (here, more, click here, read more) whose context still does not say where the link goes.",context:JSON.stringify({currentText:h,href:J,nearbyHeading:V.nearbyHeading,parentTag:V.parentTag,parentRole:V.parentRole,cardText:V.cardText||"",imgAlt:V.imgAlt||""}),needsAI:true,outerHtml:ie});}document.querySelectorAll("a[href]").forEach(_=>F(_));let T=/^(untitled(?:\s+document)?|new\s+page|new\s+document|home|page\s*\d*|document|untitled)$/i,k=/^(iframe|embed|widget|frame|content|untitled)$/i,M=new Set(["section","title","heading","headings","page","content","chapter","part","article","document","intro","untitled","test","lorem","tbd","todo","draft","sample","example","welcome","hello","hi","home"]);function N(_){return !!(!_||_.getAttribute("aria-hidden")==="true"||_.closest('[aria-hidden="true"]'))}function j(_,h,R,x,O,B){if(L.length>=q)return;let V=uniqueSel(_),W=(_.outerHTML||"").slice(0,300);L.push({selector:V,attribute:h,currentValue:R,issueType:x,wcag:O,context:JSON.stringify(B),needsAI:true,outerHtml:W});}let $=document.querySelectorAll("h1,h2,h3,h4,h5,h6");for(let _=0;_<$.length&&!(L.length>=q);_++){let h=$[_];if(!h||isWidget(h)||N(h)||!isVisible(h))continue;let R=getAccessibleName(h);if(!R)continue;let x=R.toLowerCase().trim(),O=x.split(/\s+/).filter(Boolean),B=()=>{if(!/^\p{L}$/u.test(R))return false;let J=h.nextElementSibling;if(!J)return false;let ie=J.tagName.toLowerCase(),te=[];if(ie==="dl"?te=Array.from(J.querySelectorAll("dt")):ie==="ul"||ie==="ol"?te=Array.from(J.children).filter(me=>me.tagName==="LI"):ie==="table"&&(te=Array.from(J.querySelectorAll("tbody tr, tr")).map(me=>me.cells&&me.cells[0])),te=te.filter(Boolean),te.length<1)return false;let de=R.toLowerCase();return te.every(me=>(me.textContent||"").trim().toLowerCase().startsWith(de))},V=false;if(R.length<I(R,3)?V=!B():(O.length===1&&(p.has(x)||M.has(x))||/^page\s*\d+$/i.test(x)||/^section\s*\d+$/i.test(x)||/^chapter\s*\d+$/i.test(x)||/^[^\p{L}\p{N}]+$/u.test(R))&&(V=true),!V)continue;let W=getNearbyContext(h);j(h,"textContent",R,"weak_heading","2.4.6",{currentText:R,tag:h.tagName.toLowerCase(),nearbyHeading:W.nearbyHeading,parentTag:W.parentTag,parentRole:W.parentRole});}let K=document.querySelectorAll("iframe");for(let _=0;_<K.length&&!(L.length>=q);_++){let h=K[_];if(!h||isWidget(h)||N(h))continue;let R=getComputedStyle(h);if(h.getClientRects().length===0||R.visibility==="hidden"||R.visibility==="collapse"||(h.getAttribute("src")||"").trim().toLowerCase().indexOf("javascript:")===0)continue;let x=(h.getAttribute("title")||"").trim();if(!x)continue;let O=x.toLowerCase(),B=false;if((x.length<I(x,3)||k.test(O)||p.has(O))&&(B=true),!B)continue;let V=(h.getAttribute("src")||"").slice(0,120),W=getNearbyContext(h);j(h,"title",x,"weak_iframe_title","4.1.2",{currentTitle:x,src:V,nearbyHeading:W.nearbyHeading,parentTag:W.parentTag});}if(L.length<q){let _=document.querySelector("head > title, title"),h=(document.title||"").trim();if(_&&h){let R=h.toLowerCase(),x=false;(h.length<I(h,5)||T.test(R)||/^untitled/i.test(h))&&(x=true),x&&L.push({selector:"title",attribute:"textContent",currentValue:h,issueType:"weak_page_title",wcag:"2.4.2",context:JSON.stringify({currentTitle:h,hostname:typeof location<"u"&&location&&location.hostname||"",pathname:typeof location<"u"&&location&&location.pathname||""}),needsAI:true,outerHtml:(_.outerHTML||"").slice(0,300)});}}let Q=document.querySelectorAll("svg");for(let _=0;_<Q.length&&!(L.length>=q);_++){let h=Q[_];if(!h||isWidget(h)||N(h)||h.getAttribute("role")==="presentation"||h.getAttribute("role")==="none"||!isVisible(h))continue;let R=h.querySelector("title"),x=R?(R.textContent||"").trim():"",O=(h.getAttribute("aria-label")||"").trim(),B=O||x;if(!B)continue;let V=B.toLowerCase(),W=false;if((B.length<I(B,3)||p.has(V)||/^(icon|svg|image|graphic|logo)$/i.test(B))&&(W=true),!W)continue;let J=h.closest('a, button, [role="button"], [role="link"]'),ie=getNearbyContext(h);j(h,O?"aria-label":"title",B,"weak_svg_name","1.1.1",{currentName:B,svgClasses:h.getAttribute("class")||"",parentTag:J?J.tagName.toLowerCase():ie.parentTag,parentHref:J&&J.getAttribute("href")||"",nearbyHeading:ie.nearbyHeading});}return L},Ih={name:"weakNames",cap:50,async detect(p){return p.evaluate(rI)}};var nI=()=>{let d=[],b=document.querySelector('meta[name="viewport"]');if(b){let m=(b.getAttribute("content")||"").trim(),E=m.toLowerCase(),C=false,D=[];(E.indexOf("user-scalable=no")>=0||E.indexOf("user-scalable=0")>=0)&&(C=true,D.push("user-scalable=no blocks pinch-zoom"));let I=["yes","no","device-width","device-height"],q=E.match(/user-scalable\s*=\s*([a-z][a-z-]*)/);q&&I.indexOf(q[1])<0&&(C=true,D.push("user-scalable="+q[1]+" (invalid, parsed as 0)"));let L=E.match(/maximum-scale\s*=\s*([a-z][a-z-]*)/);L&&I.indexOf(L[1])<0&&(C=true,D.push("maximum-scale="+L[1]+" (invalid, parsed as 0)"));let y=E.match(/maximum-scale\s*=\s*([\d.]+)/);y&&parseFloat(y[1])<2&&(C=true,D.push("maximum-scale="+y[1]+" (<2)")),C&&d.push({selector:'meta[name="viewport"]',attribute:"content",currentValue:m,issueType:"zoom_restriction",wcag:"1.4.4",context:"viewport blocks zoom: "+D.join(" | "),needsAI:false,fixValue:"width=device-width, initial-scale=1"});}let v=[{el:document.documentElement,selector:"html"},{el:document.body,selector:"body"}];for(let m=0;m<v.length&&!(d.length>=5);m++){let E=v[m];if(E.el)try{let D=(getComputedStyle(E.el).getPropertyValue("touch-action")||"").trim().toLowerCase();(D==="none"||D==="pinch-zoom")&&d.push({selector:E.selector,attribute:"style",currentValue:"touch-action: "+D,issueType:"zoom_restriction",wcag:"1.4.4",context:"CSS touch-action: "+D+" on <"+E.selector+"> prevents pinch-zoom",needsAI:!1,fixValue:"touch-action: manipulation !important;"});}catch{}}return d},Lh={name:"zoomUnlock",cap:5,async detect(p){return p.evaluate(nI)}};var aI=()=>{let d=[],b=document.body?document.body.querySelectorAll("*"):[];for(let v=0;v<b.length&&d.length<10;v++){let m=b[v],E=m.tagName.toLowerCase();if(E==="script"||E==="style"||E==="svg"||E==="textarea"||E==="select")continue;let C="";for(let N=m.firstChild;N;N=N.nextSibling)N.nodeType===3&&(C+=N.nodeValue);if(!C.replace(/\s+/g,"").length)continue;let D=getComputedStyle(m);if(D.display==="none"||D.visibility==="hidden"||D.display==="contents")continue;let I=D.overflowX,q=D.overflowY,L=I==="hidden"||I==="clip",y=q==="hidden"||q==="clip";if(!L&&!y||m.closest('[aria-hidden="true"],[hidden],[inert]'))continue;let A=m.clientWidth,F=m.clientHeight;if(F<=1||A<=1)continue;let T=D.webkitLineClamp||D.getPropertyValue("-webkit-line-clamp");if(T&&T!=="none")continue;let k="";if(y&&m.scrollHeight>F+2?k="height "+F+"px < content "+m.scrollHeight+"px":L&&D.textOverflow!=="ellipsis"&&m.scrollWidth>A+2&&(k="width "+A+"px < content "+m.scrollWidth+"px"),!k){let N=parseFloat(D.fontSize);if(!(N>0))continue;let j=m.style.getPropertyValue("font-size"),$=m.style.getPropertyPriority("font-size");m.style.setProperty("font-size",N*2+"px","important");let K=m.clientHeight,Q=m.clientWidth;y&&K>1&&m.scrollHeight>K+2?k="at 200%: height "+K+"px < content "+m.scrollHeight+"px":L&&D.textOverflow!=="ellipsis"&&Q>1&&m.scrollWidth>Q+2&&(k="at 200%: width "+Q+"px < content "+m.scrollWidth+"px"),j?m.style.setProperty("font-size",j,$):m.style.removeProperty("font-size");}if(!k)continue;let M=typeof uniqueSel=="function"?uniqueSel(m):E;d.push({selector:M,attribute:"style",currentValue:(m.getAttribute("style")||"").slice(0,200),issueType:"resize_text_clipped",wcag:"1.4.4",context:"text clipped by overflow:hidden: "+k,needsAI:true,needsReview:true,reviewReason:"WCAG 1.4.4 Resize Text: this text is cut off by overflow:hidden ("+k+"). Violation when content or function is lost at 200% text size and no other mechanism shows it. Pass when the clipped part is decorative or repeated elsewhere, or the box grows or scrolls when text is resized.",outerHtml:(m.outerHTML||"").slice(0,300)});}return d},Mh={name:"textClip",cap:10,async detect(p){return p.evaluate(aI)}};var iI=()=>{let p=[],d=document.querySelectorAll('main *, [role="main"] *, body > div *'),b=new Set,v=Math.min(d.length,200);for(let m=0;m<v;m++){let E=d[m];if(b.has(E)||!E.offsetParent)continue;b.add(E);let C=getComputedStyle(E),D=parseInt(C.order||"0",10),I=C.position;if(D>=3){let q=E.getBoundingClientRect();if(q.width>0&&q.height>0){let L=(E.textContent?.trim().length||0)>10,y=!!E.querySelector("a, button, input, select, textarea");(L||y)&&p.push({selector:typeof uniqueSel=="function"?uniqueSel(E):E.tagName.toLowerCase(),attribute:"data-sequence-review",currentValue:`CSS order: ${D}`,issueType:"meaningful_sequence",wcag:"1.3.2",context:`Element uses CSS order:${D} \u2014 content with interactive elements or text is visually reordered far from its DOM position, which confuses screen readers and keyboard users.`,needsAI:true});}}if(I==="absolute"){if(!!!E.querySelector("a, button, input, select, textarea"))continue;let L=E.parentElement;if(!L||L.children.length<=2)continue;let y=E.getBoundingClientRect(),A=L.getBoundingClientRect();(y.top<A.top-100||y.left<A.left-300)&&p.push({selector:typeof uniqueSel=="function"?uniqueSel(E):E.tagName.toLowerCase(),attribute:"data-sequence-review",currentValue:`position: ${I}, displaced ${Math.round(Math.abs(y.top-A.top))}px`,issueType:"meaningful_sequence",wcag:"1.3.2",context:"Interactive content is absolutely positioned far from its DOM location. Screen readers and keyboard users will encounter it in a different order than visual users.",needsAI:true});}}return p},Oh={name:"meaningfulSequence",async detect(p){return p.evaluate(iI)}};var Ph={name:"sensoryCharacteristics",async detect(p){let{instructionalTexts:d,controlLabels:b,navCount:v,labelTexts:m}=await p.evaluate(()=>{let D=[],I=document.querySelectorAll('p, li, td, label, span, div, a, button, h1, h2, h3, h4, h5, h6, figcaption, [role="alert"], [role="status"]'),q=Math.min(I.length,300),L=[];document.querySelectorAll('button, a[href], [role="button"], input[type="button"], input[type="submit"]').forEach(T=>{let k=((T.textContent||"")+" "+(T.getAttribute("aria-label")||"")+" "+(T.getAttribute("value")||"")).trim().toLowerCase();k&&L.push(k);});let y=T=>!!T.offsetParent||getComputedStyle(T).position==="fixed",A=Array.from(document.querySelectorAll('nav, [role="navigation"]')).filter(y).length,F=[];document.querySelectorAll('h1, h2, h3, h4, h5, h6, nav, [role="navigation"], [role="menu"], [role="menubar"], [aria-label], summary, button, a, legend').forEach(T=>{if(!y(T))return;let k=((T.getAttribute("aria-label")||"")+" "+(T.tagName.match(/^(H\d|SUMMARY|BUTTON|A|LEGEND)$/)&&T.textContent||"")).trim().toLowerCase();k&&k.length<=60&&F.push(k);});for(let T=0;T<q;T++){let k=I[T];if(!k.offsetParent||k.children.length>3||k.querySelector("p, div, ul, ol, li, table, section, article, nav, header, footer, main, aside, form, h1, h2, h3, h4, h5, h6")||k.closest('[aria-hidden="true"]'))continue;let M=k.textContent?.trim()||"";M.length<15||M.length>300||/click|tap|press|select|choose|find|look|see|drag|scroll|hover|go to|navigate/i.test(M)&&D.push({text:M,selector:typeof uniqueSel=="function"?uniqueSel(k):k.tagName.toLowerCase()});}return {instructionalTexts:D.slice(0,20),controlLabels:L,navCount:A,labelTexts:F}});if(d.length===0)return [];let E=[],C=D=>{let I=(D.toLowerCase().match(/\b(navigation|menu)\b/)||[])[1];return I?v===1?true:m.some(q=>q.indexOf(I)!==-1):false};for(let{text:D,selector:I}of d){D.toLowerCase();let L=/\b(round|square|circular|triangular|arrow-shaped)\b.*\b(button|icon|element|thing)\b/i.test(D)&&!/\b(submit|cancel|close|menu|search|delete|edit|save|back|next|previous|home)\b/i.test(D),y=/\b(header|footer|sidebar menu|breadcrumb)\b/i.test(D)||C(D),A=/\b(on the|to the|in the)\s+(left|right|top|bottom|upper|lower|above|below|sidebar)\b/i.test(D)&&!y&&/\b(click|tap|press|select|find)\b/i.test(D),F=/\b(red|green|blue|yellow|orange|purple|pink|gray|grey|white|black)\s+(button|link|icon|text|area|section|box|dot|circle|indicator)\b/i.test(D)&&!/\b(submit|cancel|close|delete|save|success|error|warning|danger)\b/i.test(D),T=/\b(large|small|big|tiny|narrow|wide)\s+(button|link|icon|box|area)\b/i.test(D)&&/\b(click|tap|press|select|find)\b/i.test(D),k=/\b(?:labell?ed|called|named|titled)\s+["'“‘]/i.test(D),M=(D.match(/\b(round|square|circular|triangular|arrow-shaped|red|green|blue|yellow|orange|purple|pink|gray|grey|white|black|large|small|big|tiny|narrow|wide)\b/i)||[])[1],N=!!M&&b.some(j=>j.indexOf(M.toLowerCase())!==-1);if(!(k||N)&&(L||A||F||T)){let j=L?"shape":A?"position":F?"color":"size";E.push({selector:I,attribute:"data-sensory-review",currentValue:D.slice(0,100),issueType:"sensory_characteristic",wcag:"1.3.3",context:`Instruction relies on ${j} alone: "${D.slice(0,80)}". Provide a non-sensory way to identify the referenced element (e.g., by name, label, or function).`,needsAI:true});}}return E}};var oI=()=>{let p=[],d=document.querySelectorAll("img");for(let b of d){if(!b.offsetParent||b.width<50||b.height<20||b.complete&&b.naturalWidth===0)continue;let v=b.src||b.getAttribute("data-src")||"",m=v.indexOf(","),E=(v.toLowerCase().startsWith("data:")&&m!==-1?v.slice(0,m):v).toLowerCase(),C=b.getAttribute("alt")||"",D=b.getAttribute("role")||"";if(b.getAttribute("aria-hidden")==="true"||!!b.closest('[aria-hidden="true"]')||D==="presentation"||D==="none"||b.hasAttribute("alt")&&C.trim()==="")continue;let q=b.width>200&&b.height<80&&b.height>15,L=/banner|header|logo-text|title|heading|cta|promo|offer|button.*\.(?:png|jpg|gif|webp)/i.test(E);if(!(L||q)||/(?:^|\/)(?:img|dsc|dscn|dcim|pict)[-_]?\d|photo|gallery/i.test(E)&&!L)continue;let A=b.closest("a[href]"),F=(()=>{if(!A)return false;let Q=A.getAttribute("href")||"";if(Q==="/"||Q==="")return true;try{let _=new URL(A.href,location.href);return _.origin!==location.origin?!1:!!(_.pathname.replace(/\/+$/,"")===""||/^\/(?:index|home|default)(?:\.\w+)?$/i.test(_.pathname)||/^\/[a-z]{2}(?:-[a-z]{2})?(?:\.\w+)?$/i.test(_.pathname))}catch{return false}})();if(F&&(A.textContent||"").trim().length===0)continue;let k="";if(A&&!F&&(A.textContent||"").trim().length===0)try{let Q=new URL(A.href,location.href),_=C.trim().split(/\s+/).filter(Boolean);if(Q.origin!==location.origin&&/^https?:$/.test(Q.protocol)&&_.length>0&&_.length<=4&&C.trim().length<=40){let h=V=>V.toLowerCase().normalize("NFKD").replace(/[^\p{L}\p{N}]/gu,""),R=h(C),x=Q.hostname.toLowerCase().split(".").filter(V=>V&&V!=="www"),O=(x.length>1?x.slice(0,-1):x).map(h).filter(Boolean);k=R.length>=3&&(R===h(x.join(""))||R===O.join("")||O.some(V=>R===V||V.length>=5&&R.startsWith(V)))?"exempt":"review";}}catch{}let M=!!b.closest('header, [role="banner"], footer, [role="contentinfo"]'),N=b.height>0&&b.height<=120,j=M&&N,$=/logo|brand|wordmark|hero|banner-?(?:img|image)?|footer|marketing|promo|cover|screenshot|dashboard/i,K=j||$.test(E)||$.test(b.className)||$.test(b.getAttribute("id")||"");E.includes("icon")||E.includes("avatar")||E.includes("emoji")||p.push({selector:typeof uniqueSel=="function"?uniqueSel(b):"img",attribute:"data-image-of-text",currentValue:E.split("/").pop()?.slice(0,60)||"",issueType:"image_of_text",wcag:"1.4.5",context:`Image may contain text (${b.width}x${b.height}px, alt="${C.slice(0,40)}"). Use real text with CSS styling instead.`,needsAI:true,imageSrc:b.src,...K||k?{needsReview:true,reviewReason:j?"small graphic in the header/footer landmark \u2014 likely a logo, wordmark, or brand signature, which are exempt under WCAG 1.4.5 (logotypes)":k==="exempt"?"image is the only content of a link to another site and its alt names that site \u2014 likely the partner/sponsor logo, exempt under WCAG 1.4.5 (logotypes); confirm the image holds only the brand name":k==="review"?"image is the only content of a link to another site and its alt is a short name \u2014 likely a partner/sponsor logo, exempt under WCAG 1.4.5 (logotypes)":"filename suggests marketing/brand imagery; logos and brand collateral are exempt under WCAG 1.4.5"}:{}});}return p},Nh={name:"imagesOfText",async detect(p){return p.evaluate(oI)}};var qh={name:"reflow",async detect(p){let d=p;if(!d.setViewport)return [];let b=d.viewport?.()??{width:1280,height:720},v=b.width??1280,m=b.height??720;try{return await d.setViewport({width:320,height:m}),await new Promise(C=>setTimeout(C,500)),await p.evaluate(C=>{let D=[],I=document.querySelectorAll("body *"),q=Math.min(I.length,500);for(let L=0;L<q;L++){let y=I[L];if(!y.offsetParent)continue;let A=y.tagName.toLowerCase();if(A==="script"||A==="style"||A==="noscript")continue;let F=y.getBoundingClientRect();F.right>C+5&&F.width>C*1.1&&D.push({selector:typeof uniqueSel=="function"?uniqueSel(y):A,attribute:"style",currentValue:`${Math.round(F.width)}px wide at ${C}px viewport`,issueType:"reflow_overflow",wcag:"1.4.10",context:`Element is ${Math.round(F.width)}px wide and overflows the ${C}px viewport by ${Math.round(F.right-C)}px. Content must reflow to a single column at 320px CSS width without horizontal scrolling.`,needsAI:!1,fixValue:"max-width: 100%; overflow-wrap: break-word;"});}return document.documentElement.scrollWidth>C+10&&D.push({selector:"html",attribute:"data-reflow",currentValue:`scrollWidth ${document.documentElement.scrollWidth}px at ${C}px viewport`,issueType:"reflow_overflow",wcag:"1.4.10",context:`Page has horizontal scrollbar at ${C}px width. WCAG 1.4.10 requires content to reflow without horizontal scrolling at 320 CSS pixels (equivalent to 1280px at 400% zoom).`,needsAI:!1,fixValue:"Fix elements causing horizontal overflow at narrow viewports"}),D},320)}finally{await d.setViewport({width:v,height:m}).catch(()=>{});}}};var sI=()=>{let p=[],d=document.querySelectorAll("video");for(let v of d){if(v.autoplay&&!v.muted&&p.push({selector:typeof uniqueSel=="function"?uniqueSel(v):"video",attribute:"muted",currentValue:"autoplay without muted",issueType:"unsafe_autoplay",wcag:"1.4.2",context:"Video autoplays with sound. Either mute by default, provide a mechanism to pause, or limit to 3 seconds.",needsAI:false,fixValue:"true"}),!(v.offsetParent!==null&&getComputedStyle(v).display!=="none"))continue;let E=v.getBoundingClientRect();if(E.width===0&&E.height===0||v.error)continue;let C=/mute|unmute|sound|volume|audio|play|pause/i,D=!!v.parentElement?.querySelector('button, [role="button"]')||!!v.getAttribute("id")&&!!document.querySelector('[aria-controls~="'+(v.getAttribute("id")||"").replace(/"/g,"")+'"]');for(let F=v.parentElement?.parentElement||null,T=0;F&&!D&&T<3;F=F.parentElement,T++)D=Array.from(F.querySelectorAll('button, [role="button"]')).some(k=>C.test((k.getAttribute("aria-label")||"")+" "+(k.getAttribute("title")||"")+" "+(k.textContent||"")));if((v.muted||v.hasAttribute("muted"))&&(v.loop||v.hasAttribute("loop"))&&!v.hasAttribute("controls")&&!D)continue;let I=v.querySelectorAll("track"),q=Array.from(I).find(F=>F.kind==="captions"||F.kind==="subtitles"),L=Array.from(I).find(F=>F.kind==="descriptions");v.src||v.querySelector("source")?.src||"";let A=typeof uniqueSel=="function"?uniqueSel(v):"video";q||p.push({selector:A,attribute:"data-captions-missing",currentValue:"",issueType:"missing_captions",wcag:"1.2.2",context:'Video element has no <track kind="captions">. Provide synchronized captions for all prerecorded audio content. Add: <track kind="captions" src="captions.vtt" srclang="en" label="English">',needsAI:false,fixValue:'Add <track kind="captions" src="captions.vtt" srclang="en" label="English" default>',needsReview:true,reviewReason:"cannot verify an audio track in-page \u2014 confirm the video has speech content before adding captions (silent videos need none)"}),L||p.push({selector:A,attribute:"data-audio-description",currentValue:"",issueType:"missing_audio_description",wcag:"1.2.5",context:"Video has no audio description track. For prerecorded video with meaningful visual content not described in the audio, provide an audio description track or a text transcript.",needsAI:true,needsReview:true,reviewReason:"needs a human to judge whether the video shows information its audio does not describe"});}let b=document.querySelectorAll("audio");for(let v of b){let m=typeof uniqueSel=="function"?uniqueSel(v):"audio";v.closest("figure, div, section")?.querySelector('a[href*="transcript"], [class*="transcript"]')||p.push({selector:m,attribute:"data-transcript-missing",currentValue:"",issueType:"missing_transcript",wcag:"1.2.1",context:"Audio element has no associated transcript. Provide a text transcript for all prerecorded audio-only content.",needsAI:true}),v.autoplay&&!v.muted&&p.push({selector:m,attribute:"muted",currentValue:"autoplay without muted",issueType:"unsafe_autoplay",wcag:"1.4.2",context:"Audio autoplays with sound. Provide a way to pause/stop/mute, or limit to 3 seconds.",needsAI:false,fixValue:"true"});}return p},Bh={name:"mediaAlternatives",cap:50,async detect(p){return (await p.evaluate(sI)).slice(0,50)}};var lI=()=>{let p=[],d=document.querySelector('meta[http-equiv="refresh"]');if(d){let _=d.getAttribute("content")||"",h=parseInt(_,10);!isNaN(h)&&h>0&&h<72e3&&p.push({selector:`meta[http-equiv="refresh"][content*="${_.trim().slice(0,20)}"]`,attribute:"data-auto-refresh",currentValue:_,issueType:"auto_refresh",wcag:"2.2.1",context:`Page auto-refreshes after ${h}s. Users must be able to turn off, adjust, or extend time limits (WCAG 2.2.1).`,needsAI:false,manualFix:true});}let b=document.querySelectorAll("[accesskey]");for(let _ of b){let h=_.getAttribute("accesskey")||"";if(h.length===1){let R=typeof uniqueSel=="function"?uniqueSel(_):_.tagName.toLowerCase();p.push({selector:R,attribute:"accesskey",currentValue:h,issueType:"character_key_shortcut",wcag:"2.1.4",context:`Single character accesskey "${h}". Must allow users to remap or disable single-character shortcuts. Consider using modifier key combinations instead.`,needsAI:false,fixValue:"Provide a mechanism to remap or turn off the shortcut, or use modifier keys"});}}let v=document.querySelectorAll("select");for(let _ of v){let h=_.hasAttribute("onchange"),R=_.getAttribute("onchange")||"";if(h&&/submit|location|href|navigate|window\./i.test(R)){let x=typeof uniqueSel=="function"?uniqueSel(_):"select";p.push({selector:x,attribute:"onchange",currentValue:R.slice(0,80),issueType:"on_input_change",wcag:"3.2.2",context:"Select element changes context on input (navigates or submits). Add an explicit submit button instead of auto-submitting on selection change.",needsAI:false,fixValue:"Add a submit button; remove auto-navigation from onchange"});}}let m=document.querySelectorAll("[ontouchstart], [ontouchmove], [ongesturestart], [ongesturechange]");for(let _ of m)if(!(_.hasAttribute("onclick")||_.hasAttribute("onkeydown")||_.hasAttribute("onkeyup"))){let R=typeof uniqueSel=="function"?uniqueSel(_):_.tagName.toLowerCase();p.push({selector:R,attribute:"data-pointer-gesture",currentValue:"touch/gesture handler without keyboard alternative",issueType:"pointer_gesture",wcag:"2.5.1",context:"Element has touch/gesture handler but no keyboard or click alternative. All multipoint/path-based gestures must have single-pointer alternatives.",needsAI:true});}let E=document.querySelectorAll("[onmousedown]");for(let _ of E){let h=_.hasAttribute("onmouseup"),R=_.tagName.toLowerCase();if(!h&&R!=="a"&&R!=="button"&&R!=="input"){let x=typeof uniqueSel=="function"?uniqueSel(_):R;p.push({selector:x,attribute:"data-pointer-cancellation",currentValue:"mousedown action without mouseup",issueType:"pointer_cancellation",wcag:"2.5.2",context:"Element fires action on mouse down-event. Use click or mouseup instead so users can cancel by moving the pointer away before releasing.",needsAI:false,fixValue:"Move action from onmousedown to onclick or onmouseup"});}}let C=/devicemotion|deviceorientation|accelerometer|gyroscope/i,D=/addEventListener\(\s*['"](?:devicemotion|deviceorientation)['"]\s*,\s*(?:\(\s*\)\s*=>|function\s*\(\s*\))\s*\{\s*(?:[A-Za-z_$][\w$]*\s*(?:\+\+|--)\s*;?\s*)+\}\s*\)/gi,I=/addEventListener\(\s*['"](?:click|keydown|keyup|input|change|pointerup|touchend)['"]/i,q=/(?:disable|turn off|switch off|stop|pause|deactivate|opt.?out)[^.]{0,40}(?:motion|shake|tilt|orientation|sensor|gyro|accelerometer)|(?:motion|shake|tilt|orientation|sensor)[^.]{0,40}(?:disable|turn off|switch off|opt.?out)/i;function L(){let _=document.querySelectorAll('label, button, [role="button"], [role="switch"], input[type="button"], input[type="checkbox"]');for(let h of Array.from(_)){let R=(h.textContent||"")+" "+(h.getAttribute("aria-label")||"")+" "+(h.getAttribute("value")||"");if(q.test(R))return true}return false}function y(_){return !C.test(_.replace(D,""))||I.test(_)?true:L()}let A=document.querySelectorAll("script:not([src]):not([data-wa-injected])");for(let _ of A){let h=_.textContent||"";if(C.test(h)&&!y(h)){let R=[],x=_;for(;x&&x!==document.body&&x!==document.documentElement;){let V=x.parentElement,W=x.tagName.toLowerCase(),J=V?Array.from(V.children).filter(te=>te.tagName===x.tagName):[],ie=J.indexOf(x)+1;R.unshift(ie>1||J.length>1?W+":nth-of-type("+ie+")":W),x=V;}let O=x===document.body?"body":x===document.documentElement?"html":"",B=(O?O+" > ":"")+R.join(" > ");p.push({selector:B||"script",attribute:"data-motion-actuation",currentValue:"Uses device motion/orientation API",issueType:"motion_actuation",wcag:"2.5.4",context:"Page uses device motion/orientation. Any functionality operated by device motion must also be available via UI controls, and motion actuation must be disableable.",needsAI:true});break}}let F=document.querySelectorAll("form"),T='input:not([type="hidden"]):not([type="submit"]):not([type="button"]):not([type="reset"]):not([type="image"]), select, textarea',k=/\bcc-|card.?(?:number|num|no\b)|cardnumber|\bcvv|\bcvc|\bcsc\b|security.?code|\bexpir|\biban\b|routing|account.?(?:number|no\b)|sort.?code|\bbilling\b|transaction-(?:amount|currency)/i,M=/card|payment/i,N=/\b(?:pay|buy|purchase|donate|subscribe and pay|place (?:your |my )?order|complete (?:order|purchase|payment)|confirm (?:order|purchase|payment)|check ?out)\b/i,j=/\b(?:delete|remove|close|deactivate|cancel|terminate)\b[^.]{0,30}\b(?:account|profile|subscription|membership|data|records?)\b/i,$=/\b(?:e-?)?sign\b(?![\s\u00a0-]*(?:up|in|on|out)\b)|\bagree and (?:submit|continue|sign)\b/i,K=/\b(?:save|update|change)\b/i,Q=/e-?mail|name|phone|tel\b|zip|postal|company|organi[sz]ation|country/i;for(let _ of F){let h=Array.from(_.querySelectorAll(T)),R=Ge=>[Ge.getAttribute("name"),Ge.getAttribute("id"),Ge.getAttribute("autocomplete"),Ge.getAttribute("placeholder"),Ge.getAttribute("aria-label")].join(" "),x=Array.from(_.querySelectorAll('button, input[type="submit"], input[type="image"]')).filter(Ge=>Ge.tagName!=="BUTTON"||!Ge.getAttribute("type")||(Ge.getAttribute("type")||"").toLowerCase()==="submit").map(Ge=>(Ge.getAttribute("value")||"")+" "+(Ge.textContent||"")+" "+(Ge.getAttribute("aria-label")||"")).join(" . "),O=h.some(Ge=>k.test(R(Ge)))||Array.from(_.querySelectorAll("iframe")).some(Ge=>M.test((Ge.getAttribute("title")||"")+" "+(Ge.getAttribute("name")||""))),B=h.some(Ge=>/signature/i.test(R(Ge))),V=O||N.test(x),W=j.test(x),J=B||$.test(x),ie=h.length>0&&h.some(Ge=>(Ge.getAttribute("type")||"").toLowerCase()==="email"||/e-?mail/i.test(R(Ge)))&&h.every(Ge=>{let Ft=Ge.tagName.toLowerCase()==="input"?(Ge.getAttribute("type")||"text").toLowerCase():Ge.tagName.toLowerCase();return Ft==="email"||Ft==="checkbox"||Ft==="tel"?true:Ft==="text"||Ft==="search"?Q.test(R(Ge)+" "+(Ge.closest("label")?.textContent||"")):false}),te=(_.textContent||"").toLowerCase(),de=/payment|credit card|billing|purchase|\border\b|checkout|bank|account number/i.test(te),me=/\bagree|terms|contract|binding|signature|consent|waiver/i.test(te),ue=/delete.*account|remove.*data|cancel.*account/i.test(te),De=V||W||J,Me=ie&&(K.test(x)||ue),Ne=!De&&(!ie&&(de||me||ue)||Me);if(!De&&!Ne)continue;let Te=!!_.querySelector('[type="checkbox"][required], [class*="confirm"], [id*="confirm"], [name*="confirm"]'),_e=!!_.querySelector('[class*="review"], [class*="summary"], [id*="review"]');if(Te||_e)continue;let xt=typeof uniqueSel=="function"?uniqueSel(_):"form",kt=De?V?"financial":W?"data-deletion":"legal":Me?ue?"data-deletion":"data-modification":de?"financial":me?"legal":"data-deletion";p.push({selector:xt,attribute:"data-error-prevention",currentValue:kt,issueType:"error_prevention_missing",wcag:"3.3.4",context:`${kt.charAt(0).toUpperCase()+kt.slice(1)} form lacks a confirmation/review step. For ${kt} transactions, provide: (1) a review step before submission, (2) ability to check/correct input, or (3) ability to reverse the submission.`,needsAI:true,...Ne?{needsReview:true,reviewReason:Me&&ue?"form text is about deleting an account or data and its submit is generic \u2014 confirm whether submitting it deletes stored user data":Me?"form saves contact/account details \u2014 confirm whether submitting it changes stored user data that cannot be reviewed or reversed":`form text mentions ${kt} topics but its controls show no ${kt} transaction (no payment fields, pay/order/delete submit, or signature) \u2014 confirm whether submitting it commits the user`}:{}});}return p},Hh={name:"timingAndInput",async detect(p){return p.evaluate(lI)}};var uI=()=>{let p=[],d=document.querySelectorAll('nav, [role="navigation"]');for(let m of d){if(!m.offsetParent||m.closest('footer, aside, [role="contentinfo"], [role="complementary"]')||m.parentElement?.closest('nav, [role="navigation"]'))continue;let E=m.getBoundingClientRect();if(E.top<=window.innerHeight)continue;let C=typeof uniqueSel=="function"?uniqueSel(m):"nav";p.push({selector:C,attribute:"data-nav-position",currentValue:`top: ${Math.round(E.top)}px`,issueType:"inconsistent_navigation",wcag:"3.2.3",context:"Primary navigation appears below the visible viewport on this page. WCAG 3.2.3 (Consistent Navigation) is a cross-page criterion and cannot be confirmed from a single page \u2014 manually verify this navigation appears in the same relative order across pages that share this template.",needsAI:true,needsReview:true,reviewReason:"Consistent Navigation (3.2.3) is a cross-page criterion; single-page position alone cannot confirm a violation."});}let b=document.querySelectorAll('[class*="blink" i], [class*="flash" i], [class*="strobe" i], blink, marquee');for(let m of b){if(!m.offsetParent)continue;let E=m.getBoundingClientRect();if(E.width<1||E.height<1||!(m.textContent||"").trim()&&!m.querySelector("img, svg, video, canvas, picture")&&getComputedStyle(m).backgroundImage==="none")continue;let C=typeof uniqueSel=="function"?uniqueSel(m):m.tagName.toLowerCase();p.push({selector:C,attribute:"data-flashing",currentValue:m.tagName.toLowerCase(),issueType:"flashing_content",wcag:"2.3.1",context:"Element may produce flashing content. Content must not flash more than 3 times per second. Remove blinking/flashing effects or ensure they are below the threshold.",needsAI:true});}let v=document.querySelectorAll('img[src*=".gif"]');for(let m of v){if(!m.offsetParent||m.width<25||m.height<25)continue;let E=m.getBoundingClientRect();if(E.width>100&&E.height>100){let C=typeof uniqueSel=="function"?uniqueSel(m):"img";p.push({selector:C,attribute:"data-animated-gif",currentValue:(m.src||"").split("/").pop()?.slice(0,40)||"",issueType:"animated_gif_no_pause",wcag:"2.2.2",context:"Animated GIF detected. If this GIF is animated and loops continuously, provide a pause mechanism. Also verify it does not flash more than 3 times per second (WCAG 2.3.1).",needsAI:true});}}return p},Vh={name:"navigationAndWayfinding",async detect(p){return p.evaluate(uI)}};var jh={name:"flashDetection",async detect(p){let d=[];if(!p.screenshot)return d;let v=await p.evaluate(()=>{let L=document.documentElement.style.getPropertyValue("--wa-animations-frozen")==="1";if(L){let y=document.querySelectorAll("*");for(let A of y)A.style.removeProperty("animation-play-state"),A.style.removeProperty("transition");}return L}),m=8,E=120,C=9,D=3,I=[];for(let q=0;q<m;q++){let L=await p.evaluate(y=>{let A=window.innerWidth,F=window.innerHeight,T=3,k=3,M=[];for(let N=0;N<k;N++)for(let j=0;j<T;j++){let $=Math.floor((j+.5)*(A/T)),K=Math.floor((N+.5)*(F/k)),Q=document.elementFromPoint($,K);if(!Q){M.push(0);continue}let h=getComputedStyle(Q).backgroundColor||"rgba(0,0,0,0)",R=typeof parseCssColor=="function"?parseCssColor(h):null;if(!R){M.push(0);continue}let x=.2126*R[0]+.7152*R[1]+.0722*R[2];M.push(x);}return M},C);I.push(L),q<m-1&&await new Promise(y=>setTimeout(y,E));}v&&await p.evaluate(()=>{let q=document.querySelectorAll("*");for(let L of q)L.style.setProperty("animation-play-state","paused","important"),L.style.setProperty("transition","none","important");});for(let q=0;q<C;q++){let L=0,y=I[0][q],A=null;for(let k=1;k<m;k++){let M=I[k][q];if(Math.abs(M-y)>25){let j=M>y?"up":"down";A&&j!==A&&L++,A=j;}y=M;}let F=m*E/1e3,T=L/F;if(T>=D){let k=q%3,M=Math.floor(q/3);d.push({selector:"body",attribute:"data-flash-detected",currentValue:`${T.toFixed(1)} flashes/sec in region (${k},${M})`,issueType:"flashing_content",wcag:"2.3.1",context:`Content flashes ${T.toFixed(1)} times/second in screen region (row ${M}, col ${k}). WCAG requires no more than 3 flashes per second. This can trigger seizures in users with photosensitive epilepsy.`,needsAI:false,fixValue:"Remove or reduce flashing to below 3 per second, or ensure the flashing area is below the 21,824 sq pixel threshold"});}}return d}};var $h={name:"reducedMotion",async detect(p){let d=[],b=await p.evaluate(()=>{let v=false,m=false;for(let C of document.styleSheets)try{for(let D of C.cssRules){let I=D.cssText||"";/animation|transition|@keyframes/i.test(I)&&!/prefers-reduced-motion/.test(I)&&(v=!0),D instanceof CSSMediaRule&&/prefers-reduced-motion/i.test(D.conditionText||D.media?.mediaText||"")&&(m=!0);}}catch{}let E=document.querySelectorAll('[class*="animate"], [class*="slide"], [class*="fade"], [class*="bounce"], [class*="spin"], [class*="pulse"]');return E.length>0&&(v=true),{hasAnimations:v,hasReducedMotionQuery:m,animatedCount:E.length}});return b.hasAnimations&&!b.hasReducedMotionQuery&&d.push({selector:"html",attribute:"data-reduced-motion",currentValue:`${b.animatedCount} animated elements, no @media (prefers-reduced-motion) query`,issueType:"motion_without_reduced_motion",wcag:"2.3.3",context:'Page has animations/transitions but no @media (prefers-reduced-motion: reduce) query. Users who set "Reduce motion" in their OS settings will still see all animations. Add: @media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } }',needsAI:false,fixValue:"@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } }"}),d}};var cI=()=>{let p="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",b=[],v=/^(0+(\.0+)?|false|off|no|none|disabled?)$/i,m=h=>h!==null&&!v.test(h.trim()),E=h=>{let R=parseFloat((h||"").trim());return Number.isFinite(R)&&R>0},C=/^(carousel|slider|slideshow|slides|slick|swiper|splide|flickity|owl|flexslider|glide|layerslider|ls|rotator|gallery)$/i,D=h=>h.split(/[\s_-]+/).filter(Boolean),I=h=>{if((h.getAttribute("aria-roledescription")||"").trim().toLowerCase()==="carousel")return true;let R=typeof h.className=="string"?h.className:h.getAttribute("class")||"";return D(R).some(x=>C.test(x))},q=/^(autoplay|autoPlay|auto_play|autoStart|autostart|auto_start)$/,L=h=>{let R=h.trim();if(!R.startsWith("{"))return "";let x;try{x=JSON.parse(R);}catch{try{x=JSON.parse(R.replace(/'/g,'"'));}catch{return ""}}if(!x||typeof x!="object")return "";for(let O of Object.keys(x)){if(!q.test(O))continue;let B=x[O];if(B===true||typeof B=="number"&&B>0||typeof B=="string"&&m(B)&&B.trim()!==""||B&&typeof B=="object")return `${O}: ${JSON.stringify(B).slice(0,40)}`}return ""},y=h=>{for(let O of ["data-autoplay","data-auto","data-autostart","data-bs-autoplay","data-auto-play"]){if(!h.hasAttribute(O))continue;let B=h.getAttribute(O)||"";if((B.trim()===""||m(B))&&(I(h)||K(h)>=2))return {attr:O,value:B}}let R=["data-interval","data-bs-interval"].some(O=>h.hasAttribute(O)&&v.test((h.getAttribute(O)||"").trim()));for(let O of ["data-ride","data-bs-ride"])if((h.getAttribute(O)||"").trim().toLowerCase()==="carousel"&&!R)return {attr:O,value:"carousel"};for(let O of ["data-interval","data-bs-interval"]){let B=h.getAttribute(O);if(E(B)&&I(h))return {attr:O,value:B||""}}let x=I(h);for(let O of Array.from(h.attributes)){if(!O.name.startsWith("data-")||!x&&!D(O.name.slice(5)).some(V=>C.test(V)))continue;let B=L(O.value);if(B)return {attr:O.name,value:B}}if((h.getAttribute("aria-roledescription")||"").trim().toLowerCase()==="carousel"){let O=/autoplay["']?\s*[:=]\s*["']?(false|0|off|no)\b/i;for(let B of Array.from(h.attributes)){if(/(^|-)autoplay$/i.test(B.name)&&(B.value.trim()===""||m(B.value)))return {attr:B.name,value:B.value.slice(0,60)};if(/autoplay/i.test(B.value)&&!O.test(B.value))return {attr:B.name,value:B.value.slice(0,60)}}}return null},A=/^(pause|stop|play|playpause|resume)$/i,F=/\b(pause|stop|play|resume)\b/i,T=h=>{let R=[h.getAttribute("aria-label")||"",h.getAttribute("title")||"",h.getAttribute("value")||"",(h.textContent||"").trim().slice(0,80)],x=(h.getAttribute("aria-labelledby")||"").trim();if(x)for(let O of x.split(/\s+/))R.push(document.getElementById(O)?.textContent||"");for(let O of Array.from(h.querySelectorAll("img[alt]")))R.push(O.getAttribute("alt")||"");return R.join(" ")},k=h=>{let R=h.getAttribute("class")||"";return D(R).some(x=>A.test(x))?true:h.matches('a, button, input, [role="button"], [role="switch"], [role="checkbox"], [tabindex]')?F.test(T(h)):false},M=/^(section|article|main|nav|aside|header|footer|form|dialog)$/i,N=h=>I(h)||y(h)!==null||Array.from(h.querySelectorAll("*")).some(R=>I(R)||y(R)!==null),j=h=>{if(h.querySelector("[aria-pressed]"))return true;let R=[h];for(let B of Array.from(h.parentElement?.children||[]))B===h||M.test(B.tagName)||N(B)||R.push(B);let x=h.getAttribute("id"),O=B=>{let V=[...(B.getAttribute("aria-controls")||"").split(/\s+/),(B.getAttribute("data-bs-target")||B.getAttribute("data-target")||"").replace(/^#/,"")].filter(Boolean);return V.length>0&&!V.includes(x||"")};for(let B of R){if(B!==h&&k(B)&&!O(B))return true;for(let V of Array.from(B.querySelectorAll("*")))if(k(V)&&!O(V))return true}if(x){let B=typeof CSS<"u"&&CSS.escape?CSS.escape(x):x.replace(/["\\]/g,"\\$&");for(let V of Array.from(document.querySelectorAll(`[aria-controls~="${B}"], [data-target="#${B}"], [data-bs-target="#${B}"]`)))if(k(V))return true}return false},$=/^(slide|cell)$/i,K=h=>{let R=V=>D(V.getAttribute("class")||"").some(W=>$.test(W))&&!/(^|[\s_-])cloned?([\s_-]|$)/i.test(V.getAttribute("class")||""),x=Array.from(h.querySelectorAll("[class]")).filter(R),O=x.filter(V=>!x.some(W=>W!==V&&W.contains(V)));if(!O.length)return 0;let B=O.length;for(let V of O){let W=Array.from(V.parentElement?.children||[]).filter(J=>J.tagName===V.tagName&&!/(^|[\s_-])cloned?([\s_-]|$)/i.test(J.getAttribute("class")||""));B=Math.max(B,W.length);}return B},Q=new Set,_=(h,R)=>{if(b.length>=10||Q.has(h)||(Q.add(h),h.closest(p))||h.closest('[aria-hidden="true"], [hidden], template, noscript')||typeof isVisible=="function"&&!isVisible(h)||K(h)===1||j(h))return;let x=typeof uniqueSel=="function"?uniqueSel(h):h.tagName.toLowerCase();b.push({selector:x,attribute:R.attr,currentValue:R.value.slice(0,100),issueType:"carousel_autoplay_no_pause",wcag:"2.2.2",context:`slider markup declares autoplay (${R.attr}="${R.value.slice(0,60)}") and no pause / stop control sits in or beside it`,message:"carousel starts automatically and has no pause or stop control",needsAI:false,manualFix:true,reviewReason:"add a visible pause / stop control for the slider (or turn autoplay off); no attribute write fixes this",outerHtml:h.cloneNode(false).outerHTML.slice(0,300)});};for(let h of Array.from(document.body?document.body.querySelectorAll("*"):[])){if(b.length>=10)break;if(!h.attributes.length)continue;if(h.hasAttribute("data-swiper-autoplay")&&E(h.getAttribute("data-swiper-autoplay"))){let x=h.closest('.swiper, .swiper-container, [class*="swiper"]:not(.swiper-slide):not(.swiper-wrapper)')||h.parentElement?.parentElement||h;_(x,{attr:"data-swiper-autoplay",value:h.getAttribute("data-swiper-autoplay")||""});continue}let R=y(h);R&&_(h,R);}return b},zh={name:"carouselAutoplay",cap:10,async detect(p){return p.evaluate(cI)}};var rg=[Ih,Ah,Th,Z1,mh,ph,ah,Eh,lh,Fh,uh,Sh,Q1,Dh,hh,oh,yh,fh,xh,gh,Lh,Mh,bh,rh,nh,vh,Ch,Rh,ih,kh,eh,wh,Oh,Ph,Nh,qh,Bh,Hh,Vh,jh,$h,zh],FI=[J1,th,sh,_h];function ng(p,d,b){p?.push({tool:d,kind:"engine-failed",detail:`detector threw, its findings are absent: ${b?.message??String(b)}`});}async function ag(p,d,b,v){let m=d??[];try{let{UNIQUE_SELECTOR_JS:M,IS_VISIBLE_JS:N,ACCESSIBLE_NAME_JS:j,WIDGET_SKIP_JS:$,IS_HIDDEN_FROM_AT_JS:K,IS_TRACKING_PIXEL_JS:Q,NEARBY_CONTEXT_JS:_}=await Promise.resolve().then(()=>(Wh(),Gh)),{ICON_LABELS_JS:h}=await Promise.resolve().then(()=>(Xh(),Uh)),{COLOR_MATH_JS:R}=await Promise.resolve().then(()=>(Kh(),Yh)),O=`if(typeof __name==='undefined'){var __name=function(t,v){return t};var __defProp=Object.defineProperty;}
|
|
384
|
-
`+[M,
|
|
385
|
-
`),{inject:B}=await Promise.resolve().then(()=>(Wa(),vu));try{await B(p,{tool:"detector-helpers",content:O});}catch{await p.evaluate(`(0,eval)(${JSON.stringify(O)})`);}}catch(M){console.warn("[webability] helper injection failed:",M.message),(b??[]).push("color:kernel-injection-failed");}let E=[];try{let{detectPlatform:M,applyPlatformTemplates:N}=await Promise.resolve().then(()=>(tg(),eg)),j=await M(p);E=await N(p,j);}catch{}let{guardDetectorState:C}=await Promise.resolve().then(()=>(Wa(),vu)),D=globalThis.process?.env?.WA_STRICT_STATE==="1",I={strict:D,bugs:v?.internalBugs},q=await C(p,"detectors:parallel",b??[],()=>Promise.allSettled((v?.experimental?[...rg,...FI]:rg).map(async M=>{try{let N=await M.detect(p);return M.cap&&N.length>=M.cap&&m.push({detector:M.name,cap:M.cap}),N}catch(N){return ng(v?.internalBugs,M.name,N),[]}})),I),L=[];v?.skipFocusMutating&&(b??[]).push("focus:mutating-detectors-skipped (live-tab scan; focus visibility and focus obscured were not checked)");let y=[...v?.skipFocusMutating?[]:[dh,ch],...v?.extraSerialDetectors??[]];for(let M of y){let N=[];try{N=await C(p,M.name,b??[],()=>M.detect(p).catch(j=>(ng(v?.internalBugs,M.name,j),[])),I);}catch(j){if(D)throw j}try{M.cap&&N.length>=M.cap&&m.push({detector:M.name,cap:M.cap}),L=L.concat(N);}catch{}}let A=[...q.flatMap(M=>M.status==="fulfilled"?M.value:[]),...L],F=[...E,...A],T=II(F),k=["wp-ada-compliance","webability-widget","webability-a11y","asw-","userway","acsb","audioeye","equallyai"];return T.filter(M=>{let N=M.selector.toLowerCase();return N.trim()?!k.some(j=>N.includes(j)):false})}function II(p){let d=new Set;return p.filter(b=>{let v=`${b.selector}::${b.issueType}`;return d.has(v)?false:(d.add(v),true)})}function yu(p){let d=new Map,b=[...p].sort((v,m)=>{let E={webability:0,"axe-core":1,"deep-analysis":2},C=E[v.source]??3,D=E[m.source]??3;return C-D});for(let v of b){let m=LI(v);d.has(m)?!d.get(m).fix?.suggestedValue&&v.fix?.suggestedValue&&d.set(m,v):d.set(m,v);}return Array.from(d.values())}function LI(p){let d=p.selector.replace(/:focus-visible$/,"").replace(/:focus$/,"").replace(/\[data-[^\]]+\]/g,"").trim(),b=p.wcag||"";return d&&b?`${d}::${b}`:`${p.type}::${d||p.id}`}var MI=/^missing_table_header$|^td-has-header$|^th-has-data-cells$|^h43|^h63/,OI=new Set(["2.4.1","3.1.1","2.4.2"]);async function ig(p,d){if(d.length<2)return d;let b=Array.from(new Set(d.map(L=>L.selector).filter(Boolean))),v;try{v=await p.evaluate(L=>{let y=Array.from(document.querySelectorAll("*")),A=new Map;y.forEach((T,k)=>A.set(T,k));let F={};for(let T of L){let k=null;try{k=document.querySelector(T);}catch{}if(!k){let M=T.replace(/:(?:focus-visible|focus-within|focus|hover|active)$/,"");if(M!==T)try{k=document.querySelector(M);}catch{}}if(k){let M=k.closest("table");F[T]={el:A.get(k),table:M?A.get(M):-1,doc:k===document.documentElement||k===document.body};}}return F},b);}catch{return d}let m={webability:0,"axe-core":1,"deep-analysis":2},E=L=>{let y=v[L.selector];if(!y)return null;let A=L.wcag||L.type;return y.doc?{key:OI.has(L.wcag||"")?`doc::${A}`:`doc::${A}::${L.type}`,owner:true}:y.table>=0&&MI.test(L.type)?{key:`${y.table}::${A}::table-headers`,owner:y.el===y.table}:{key:`${y.el}::${A}`,owner:true}},C=[...d].sort((L,y)=>{let A=E(L),F=E(y),T=A?.owner?0:1,k=F?.owner?0:1;return T-k||(m[L.source]??3)-(m[y.source]??3)}),D=new Map,I=[];for(let L of C){let y=E(L);if(!y){I.push(L);continue}let A=D.get(y.key);A?!A.fix?.suggestedValue&&L.fix?.suggestedValue&&(E(A)?.owner??true)===y.owner&&D.set(y.key,L):D.set(y.key,L);}let q=new Set([...D.values(),...I]);return d.filter(L=>q.has(L))}var PI=new Set(["1.4.3","1.4.6","1.4.11"]);function og(p){return PI.has(p.wcag)||/contrast/i.test(p.type||"")}async function sg(p,d){let b=Array.from(new Set(d.filter(C=>og(C)&&C.selector).map(C=>C.selector))).slice(0,100);if(b.length===0)return d;let v;try{v=await p.evaluate(C=>{let D=[],I={},q=Math.max(document.documentElement.scrollWidth,window.innerWidth),L=Math.max(document.documentElement.scrollHeight,window.innerHeight),y=A=>{let F=A.match(/rgba?\(([^)]+)\)/);if(!F)return !1;let T=F[1].split(/[ ,/]+/).filter(Boolean);return T.length<4||parseFloat(T[3])>=.95};for(let A of C){let F=null;try{F=document.querySelector(A);}catch{continue}if(!F)continue;let T=getComputedStyle(F),k=F.getBoundingClientRect(),M=T.clipPath&&T.clipPath!=="none"&&/inset\(\s*(?:50|100)%/.test(T.clipPath)||/rect\(\s*0(?:px)?\s*,?\s*0(?:px)?\s*,?\s*0(?:px)?\s*,?\s*0(?:px)?\s*\)/.test(T.clip||""),N=k.width<=1||k.height<=1,j=window.scrollX,$=window.scrollY,K=k.right+j<=0||k.bottom+$<=0||k.left+j>=q||k.top+$>=L,Q=!1;if(K)for(let V=F.parentElement;V&&V!==document.body&&V!==document.documentElement;V=V.parentElement){let W=getComputedStyle(V);if(W.overflowX!=="visible"||W.overflowY!=="visible"||W.transform&&W.transform!=="none"){Q=!0;break}}if(K&&Q){I[A]="text is outside the visible page inside a scrolling / clipped container \u2014 check contrast where it is shown";continue}if(M||N||K){D.push(A);continue}let _=F,h=!1;for(;_&&_!==document.documentElement;){if(parseFloat(getComputedStyle(_).opacity)===0){h=!0;break}_=_.parentElement;}if(h){I[A]="text is inside an opacity:0 element (hidden slide or pre-animation state) \u2014 check contrast in the state where it is shown";continue}let R=k.left+k.width/2,x=k.top+k.height/2,O=F,B=!1;for(let V=0;O&&O!==document.body&&V<8;V++){let W=getComputedStyle(O);if(y(W.backgroundColor)||W.backgroundImage&&W.backgroundImage!=="none")break;let J=O.querySelectorAll("video, canvas, img, picture");for(let ie=0;ie<J.length;ie++){let te=J[ie];if(te.contains(F)||F.contains(te))continue;let de=te.getBoundingClientRect();if(de.width>0&&de.height>0&&R>=de.left&&R<=de.right&&x>=de.top&&x<=de.bottom){B=!0;break}}if(B)break;O=O.parentElement;}B&&(I[A]="text sits over a video or image \u2014 the background behind the glyphs cannot be measured from CSS");}return {hidden:D,review:I}},b);}catch{return d}let m=new Set(v.hidden),E=[];for(let C of d){if(!og(C)){E.push(C);continue}if(m.has(C.selector))continue;let D=v.review[C.selector];E.push(D&&C.confidence!=="needs_review"?{...C,confidence:"needs_review",reviewReason:D,...C.fix?{fix:{...C.fix,needsManualReview:true}}:{}}:C);}return E}async function lg(p,d){let b=Array.from(new Set(d.filter(E=>E.selector).map(E=>E.selector))).slice(0,200);if(b.length===0)return d;let v;try{v=await p.evaluate(E=>{let C=[];for(let D of E){let I=null;try{I=document.querySelector(D);}catch{continue}if(!I||I.tagName!=="IFRAME")continue;let q=getComputedStyle(I),L=I.getClientRects().length===0||q.visibility==="hidden"||q.visibility==="collapse",y=(I.getAttribute("src")||"").trim().toLowerCase().indexOf("javascript:")===0;(L||y)&&C.push(D);}return C},b);}catch{return d}if(v.length===0)return d;let m=new Set(v);return d.filter(E=>!m.has(E.selector))}Wa();function Io(p){let d=[],b=[];for(let v of p)v.confidence==="needs_review"||qI(v)?b.push(v):d.push(NI(v));return {verdicts:d,undecided:b}}function NI(p){if(p.confidence===void 0&&p.reviewReason===void 0)return p;let{confidence:d,reviewReason:b,...v}=p;return v}function qI(p){let d=(p.type||"").toLowerCase(),b=p.wcag||"",v=p.html||"",m=(p.message||"").toLowerCase();if((d==="contrast_insufficient"||d==="color-contrast"||b==="1.4.3"||b==="1.4.11")&&BI(v))return "background uses gradient or image";if(d==="image_of_text"||b==="1.4.5"){let E=ug(v,"src").toLowerCase();E.startsWith("data:")&&(E=E.split(",")[0]);let C=ug(v,"alt").toLowerCase();if(/\b(logo|brand|wordmark|hero|banner|footer|marketing|promo|cover)\b/.test(E))return "brand imagery";if(C.length>0&&/\b(logo|brand|product screenshot|dashboard)\b/.test(C))return "branded imagery"}return (d==="inconsistent_navigation"||m.includes("inconsistent navigation"))&&(/<footer/i.test(v)||/<aside/i.test(v))?"footer/aside nav":""}function BI(p){return /background(-image)?\s*:\s*(?:linear-gradient|radial-gradient|conic-gradient|url\()/i.test(p)}function ug(p,d){let b=new RegExp(`\\b${d}\\s*=\\s*"([^"]*)"`,"i"),v=p.match(b);return v?v[1]:""}var wu=["wcag2a","wcag2aa","wcag21aa","wcag22aa"];function cg(p){return p.includes("wcag21aa")||p.includes("wcag22aa")||p.includes("wcag134")?{"css-orientation-lock":{enabled:true}}:{}}function xu(p,d){return d==="AAA"&&!p.includes("wcag2aaa")?[...p,"wcag2aaa"]:p}var HI={"1.1.1":"A","1.2.1":"A","1.2.2":"A","1.2.3":"A","1.3.1":"A","1.3.2":"A","1.3.3":"A","1.4.1":"A","1.4.2":"A","2.1.1":"A","2.1.2":"A","2.1.4":"A","2.2.1":"A","2.2.2":"A","2.3.1":"A","2.4.1":"A","2.4.2":"A","2.4.3":"A","2.4.4":"A","2.5.1":"A","2.5.2":"A","2.5.3":"A","2.5.4":"A","3.1.1":"A","3.2.1":"A","3.2.2":"A","3.2.6":"A","3.3.1":"A","3.3.2":"A","3.3.7":"A","4.1.2":"A","1.2.4":"AA","1.2.5":"AA","1.3.4":"AA","1.3.5":"AA","1.4.3":"AA","1.4.4":"AA","1.4.5":"AA","1.4.10":"AA","1.4.11":"AA","1.4.12":"AA","1.4.13":"AA","2.4.5":"AA","2.4.6":"AA","2.4.7":"AA","2.4.11":"AA","2.5.7":"AA","2.5.8":"AA","3.1.2":"AA","3.2.3":"AA","3.2.4":"AA","3.3.3":"AA","3.3.4":"AA","3.3.8":"AA","4.1.3":"AA","1.2.6":"AAA","1.2.7":"AAA","1.2.8":"AAA","1.2.9":"AAA","1.3.6":"AAA","1.4.6":"AAA","1.4.7":"AAA","1.4.8":"AAA","1.4.9":"AAA","2.1.3":"AAA","2.2.3":"AAA","2.2.4":"AAA","2.2.5":"AAA","2.2.6":"AAA","2.3.2":"AAA","2.3.3":"AAA","2.4.8":"AAA","2.4.9":"AAA","2.4.10":"AAA","2.4.12":"AAA","2.4.13":"AAA","2.5.5":"AAA","2.5.6":"AAA","3.1.3":"AAA","3.1.4":"AAA","3.1.5":"AAA","3.1.6":"AAA","3.2.5":"AAA","3.3.5":"AAA","3.3.6":"AAA","3.3.9":"AAA"};function VI(p){return HI[p]}var Ua={A:1,AA:2,AAA:3};function dg(p){let d=String(p.wcag||"").split(/[,\s]+/).filter(v=>/^\d+\.\d+\.\d+$/.test(v));if(d.length===0)return p.level??"AA";let b;for(let v of d){let m=VI(v);m&&(!b||Ua[m]<Ua[b])&&(b=m);}return b}function Xa(p,d="AA"){let b=Ua[d]??Ua.AA;return p.filter(v=>{let m=dg(v);return !!m&&Ua[m]<=b})}var jI=new Set(["new_window_link","external_link_warning","download_link_warning"]);function fg(p){let d=jI.has(p.issueType)?"minor":p.needsAI?"serious":"moderate",b=p.attribute==="style",v=p.attribute.startsWith("data-"),m=b&&p.fixValue?$I(p.fixValue):p.fixValue;return {id:`wa-${p.issueType}-${Lo(p.selector)}`,source:"webability",type:p.issueType,wcag:p.wcag,level:dg({wcag:p.wcag})??"AA",impact:d,message:zI(p,m,v),selector:p.selector,html:p.outerHtml,...p.needsReview?{confidence:"needs_review"}:{},...p.reviewReason?{reviewReason:p.reviewReason}:{},fix:{attribute:p.attribute,currentValue:p.currentValue,suggestedValue:m,needsManualReview:p.needsAI||b||v||!!p.needsReview||!!p.manualFix}}}function $I(p){let d=p.trim();if(!d)return "";let b=d.endsWith(";"),m=d.split(";").map(E=>{let D=E.toLowerCase().lastIndexOf("!important");return D===-1?E.trim():E.slice(0,D).trim()}).filter(E=>E.length>0);return m.length===0?"":m.join(";")+(b?";":"")}function zI(p,d,b){if(p.message)return p.message;let v=p.issueType.replace(/_/g," "),m=d??p.fixValue;return b?m?`${v}: ${m}`:p.currentValue?`${v}: ${p.currentValue}`:p.context?`${v}: ${p.context}`:v:m?`${v}: set ${p.attribute}="${m}"`:p.currentValue?`${v}: ${p.attribute} is "${p.currentValue}"`:`${v}: missing ${p.attribute}`}function Ya(p){return Array.isArray(p)?p.flat(1/0).filter(b=>typeof b=="string").join(" >>> "):typeof p=="string"?p:""}function Lo(p){let d=0;for(let b=0;b<p.length;b++)d=(d<<5)-d+p.charCodeAt(b)|0;return Math.abs(d).toString(36)}function Du(p){return p==="critical"||p==="serious"||p==="moderate"||p==="minor"?p:"moderate"}function pg(p,d=[]){return {total:p.length,critical:p.filter(b=>b.impact==="critical").length,serious:p.filter(b=>b.impact==="serious").length,moderate:p.filter(b=>b.impact==="moderate").length,minor:p.filter(b=>b.impact==="minor").length,incomplete:0}}function GI(p){let d=/^wcag(\d)(\d)(\d{1,2})$/.exec(p);return d?`${d[1]}.${d[2]}.${d[3]}`:""}function Au(p){for(let d of p){let b=GI(d);if(b)return b}return ""}function _u(p){return p.includes("wcag2aaa")?"AAA":p.includes("wcag2aa")||p.includes("wcag21aa")||p.includes("wcag22aa")?"AA":"A"}Wa();var WI=60,UI=3,XI=120,YI=1200,KI=300,JI=2e5,ZI=8e3;var QI="*,*::before,*::after{color:transparent!important;-webkit-text-fill-color:transparent!important;text-shadow:none!important;text-decoration-color:transparent!important;caret-color:transparent!important}";function eL(p){let{selectors:d,maxBoxes:b,maxW:v,maxH:m,maxArea:E}=p,C=document.documentElement.scrollWidth,D=document.documentElement.scrollHeight,I=document.createElement("canvas");I.width=I.height=1;let q=I.getContext("2d",{willReadFrequently:true}),L=M=>{try{q.clearRect(0,0,1,1),q.fillStyle="#000",q.fillStyle=M,q.fillRect(0,0,1,1);let N=q.getImageData(0,0,1,1).data;return [N[0],N[1],N[2],N[3]]}catch{return null}},y={},A=document.querySelectorAll("video,canvas,iframe,embed,object");if(A.length>200){for(let M of d)y[M]=null;return y}let F=Array.from(A).map(M=>M.getBoundingClientRect()),T=window.scrollX,k=window.scrollY;for(let M of d){y[M]=null;let N=null;try{N=document.querySelector(M);}catch{continue}if(!N)continue;let j=getComputedStyle(N);if(j.visibility!=="visible"||j.display==="none"||j.webkitBackgroundClip==="text"||j.backgroundClip==="text")continue;let $=false,K=0;for(let te=N;te;te=te.parentElement){if(++K>64){$=true;break}let de=getComputedStyle(te);parseFloat(de.opacity)<1&&($=true),(de.transform!=="none"||de.mixBlendMode!=="normal"||de.filter!=="none")&&($=true);}if($)continue;let Q=L(j.color);if(!Q||Q[3]<255)continue;let _=parseFloat(j.fontSize),h=parseInt(j.fontWeight,10)>=700,R=_>=24||h&&_>=18.66,x=[],O=N.getBoundingClientRect();if(O.height>m*b||O.width>v*2)continue;let B=document.createTreeWalker(N,NodeFilter.SHOW_TEXT),V,W=0,J=false;for(;!J&&(V=B.nextNode());){if(++W>50){J=true;break}if(V.parentElement!==N)continue;let te=V.textContent||"";if(te.length>2e3){J=true;break}if(!te.trim())continue;let de=document.createRange();de.selectNodeContents(V);let me=de.getClientRects();if(me.length>b){J=true;break}for(let ue=0;ue<me.length;ue++){let De=me[ue];if(!(De.width<2||De.height<2)&&(x.push({x:Math.round(De.left+T),y:Math.round(De.top+k),w:Math.max(1,Math.round(De.width)),h:Math.max(1,Math.round(De.height))}),x.length>b)){J=true;break}}}J||x.length===0||x.length>b||x.some(te=>te.w>v||te.h>m||te.w*te.h>E||te.x<0||te.y<0||te.x+te.w>C||te.y+te.h>D)||x.some(te=>F.some(de=>te.x<de.right+T&&te.x+te.w>de.left+T&&te.y<de.bottom+k&&te.y+te.h>de.top+k))||(y[M]={fg:`rgb(${Q[0]},${Q[1]},${Q[2]})`,threshold:R?3:4.5,boxes:x});}return y}async function tL(p){let{b64:d,fg:b}=p,v=atob(d),m=new Uint8Array(v.length);for(let $=0;$<v.length;$++)m[$]=v.charCodeAt($);let E=await createImageBitmap(new Blob([m],{type:"image/png"})),C=document.createElement("canvas");C.width=E.width,C.height=E.height;let D=C.getContext("2d",{willReadFrequently:true});D.drawImage(E,0,0);let I=D.getImageData(0,0,C.width,C.height).data,q=$=>{let K=$/255;return K<=.03928?K/12.92:Math.pow((K+.055)/1.055,2.4)},L=($,K,Q)=>.2126*q($)+.7152*q(K)+.0722*q(Q),y=b.match(/\d+/g).map(Number),A=L(y[0],y[1],y[2]),F=Math.max(1,Math.floor(Math.sqrt(C.width*C.height/1500))),T=0,k=1/0,M="",N="",j=0;for(let $=0;$<C.height;$+=F)for(let K=0;K<C.width;K+=F){let Q=($*C.width+K)*4;if(I[Q+3]<255)continue;let _=L(I[Q],I[Q+1],I[Q+2]),h=Math.max(A,_),R=Math.min(A,_),x=(h+.05)/(R+.05);x>T&&(T=x,N=`rgb(${I[Q]},${I[Q+1]},${I[Q+2]})`),x<k&&(k=x,M=`rgb(${I[Q]},${I[Q+1]},${I[Q+2]})`),j++;}return j===0?null:{best:T,worst:k,worstBg:M,bestBg:N}}var Mo=class extends Error{};function Ka(p,d){let b=d-Date.now();if(b<=0)return Promise.reject(new Mo("pixel pass deadline"));let v,m=new Promise((E,C)=>{v=setTimeout(()=>C(new Mo("pixel pass deadline")),b);});return Promise.race([p,m]).finally(()=>clearTimeout(v))}async function mg(p,d){let b=p.screenshot;if(typeof b!="function"||d.length===0)return [];let v=Array.from(new Set(d)).slice(0,WI),m=[],E=false,C=Date.now()+ZI;try{await Ka(p.evaluate("if(typeof globalThis.__name==='undefined'){globalThis.__name=function(t){return t}}"),C);let D=await Ka(p.evaluate(eL,{selectors:v,maxBoxes:UI,maxW:YI,maxH:KI,maxArea:JI}),C);await Ka(fu(p,{tool:"contrast-pixels",css:QI}),C),E=!0;let I=0;for(let q of v){let L=D[q];if(!L)continue;if(Date.now()>C||I+L.boxes.length>XI)break;let y=0,A=1/0,F="",T="",k=!0;for(let M of L.boxes){I++;let N=await Ka(b.call(p,{clip:{x:M.x,y:M.y,width:M.w,height:M.h},fullPage:!0,type:"png",animations:"disabled"}),C),j=globalThis.Buffer,$=j?j.from(N).toString("base64"):"",K=await Ka(p.evaluate(tL,{b64:$,fg:L.fg}),C);if(!K){k=!1;break}K.best>y&&(y=K.best,T=K.bestBg),K.worst<A&&(A=K.worst,F=K.worstBg);}k&&m.push({selector:q,fail:y<L.threshold*.97,bestRatio:y,worstRatio:A,...F?{worstBg:F}:{},...T?{bestBg:T}:{},threshold:L.threshold,fg:L.fg});}}catch(D){globalThis.process?.env?.WA_DEBUG_PIXELS&&console.error("pixel judge failed",D);}finally{if(E)try{await Promise.race([p.evaluate(()=>document.querySelectorAll('style[data-wa-injected^="contrast-pixels:"]').forEach(D=>D.remove())),new Promise(D=>setTimeout(D,1e3))]);}catch{}}return m}function rL(p){p=p.replace("#",""),p.length===3&&(p=p[0]+p[0]+p[1]+p[1]+p[2]+p[2]);let d=parseInt(p,16);return [d>>16&255,d>>8&255,d&255]}function Eu(p){let d=p/255;return d<=.03928?d/12.92:Math.pow((d+.055)/1.055,2.4)}function hg(p,d,b){return .2126*Eu(p)+.7152*Eu(d)+.0722*Eu(b)}function nL(p,d){let b=Math.max(p,d),v=Math.min(p,d);return (b+.05)/(v+.05)}function gg(p){if(p.startsWith("#"))return rL(p);let d=p.match(/rgba?\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)/);return d?[parseInt(d[1]),parseInt(d[2]),parseInt(d[3])]:null}function An(p,d){let b=gg(p),v=gg(d);return !b||!v?0:nL(hg(...b),hg(...v))}var aL=30,iL=10,oL=2e4,sL=30,lL=400*1024,uL="https://openrouter.ai/api/v1",cL="anthropic/claude-haiku-4.5",vg="deepseek/deepseek-v4-flash",bg=400,yg=125,Cu=160,dL=2e3,Oo=new Map;function fL(p){let d=0;for(let b=0;b<p.length;b++)d=(d<<5)-d+p.charCodeAt(b)|0;return Math.abs(d).toString(36)}var Su=p=>p.wcag||p.type,wg=(p,d,b)=>`${p}|${d.selector}|${Su(d)}|${fL(b)}`,ku=()=>!!globalThis.process?.env?.WA_DEBUG_JUDGE;function pL(p){let{selectors:d,maxHtml:b}=p,v={elements:{}},m=[],E=M=>/\(\s*prefers-reduced-motion\s*(:\s*reduce\s*)?\)/i.test(M)&&!/^\s*not\b/i.test(M),C=M=>{let N=M.split(",").map(j=>j.trim()).filter(Boolean);return N.length?N.every(j=>{let $=j.match(/^(-?[\d.]+)(ms|s)$/i);return $?parseFloat($[1])*($[2].toLowerCase()==="s"?1e3:1)<=10:false}):false},D=(M,N,j)=>{if(!(j>8))for(let $ of Array.from(M)){let K=$.media?.mediaText,Q=N||typeof K=="string"&&E(K),_=$.style,h=$.selectorText;if(Q&&_&&typeof h=="string"){let O=_.getPropertyValue("animation-name").trim(),B=/^none(\s*,\s*none)*$/i.test(O)||C(_.getPropertyValue("animation-duration"))||/^paused/i.test(_.getPropertyValue("animation-play-state").trim()),V=/^none(\s*,\s*none)*$/i.test(_.getPropertyValue("transition-property").trim())||C(_.getPropertyValue("transition-duration"));(B||V)&&m.push({selector:h,anim:B,trans:V});}let R=$.cssRules;R&&R.length&&D(R,Q,j+1);let x=$.styleSheet;if(x)try{D(x.cssRules,Q||E($.media?.mediaText||""),j+1);}catch{}}};try{for(let M of Array.from(document.styleSheets))try{D(M.cssRules,E(M.media?.mediaText||""),0);}catch{}}catch{}let I=(M,N)=>{try{return M.matches(N)}catch{return false}},q=M=>M.split(",").map(N=>{let j=N.trim().match(/^(-?[\d.]+)(ms|s)$/i);return j?parseFloat(j[1])*(j[2].toLowerCase()==="s"?1e3:1):0}),L=M=>{let N=M.cloneNode(true);N.querySelectorAll("script, style").forEach($=>$.remove());let j=(N.textContent||"").replace(/\s+/g," ").trim();if(!j){for(let $ of Array.from(M.querySelectorAll("img[alt], [aria-label]")))if(j=($.getAttribute("alt")||$.getAttribute("aria-label")||"").trim(),j)break}return j},y=M=>{let N=(M.getAttribute("aria-label")||"").trim();if(N)return N;let $=(M.getAttribute("aria-labelledby")||"").split(/\s+/).filter(Boolean).map(_=>{let h=document.getElementById(_);return h?(h.textContent||"").replace(/\s+/g," ").trim():""}).filter(Boolean).join(" ");if($)return $;let K=L(M);if(K)return K;let Q=M instanceof HTMLInputElement&&/^(submit|button|reset|image)$/i.test(M.type)?(M.value||M.alt||"").trim():"";return Q||(M.getAttribute("title")||"").trim()},A='a[href], button, input:not([type="hidden"]), select, textarea, summary, [role="button"], [role="link"], [role="menuitem"], [role="tab"], [role="img"], [tabindex]:not([tabindex="-1"])',F=window.scrollX||0,T=window.scrollY||0,k=[];for(let M of d){let N=null;try{N=document.querySelector(M);}catch{}if(!N){v.elements[M]={found:false};continue}let j=k.indexOf(N);j<0&&(j=k.push(N)-1);let $=getComputedStyle(N),K=N.getBoundingClientRect(),Q=N.tagName.toLowerCase(),_={found:true,elementKey:j,tag:Q,html:(N.outerHTML||"").slice(0,b),rect:{x:K.left+F,y:K.top+T,w:K.width,h:K.height},role:(N.getAttribute("role")||"").toLowerCase(),ariaHidden:N.getAttribute("aria-hidden")==="true"||!!N.closest('[aria-hidden="true"]'),hidden:$.display==="none"||$.visibility==="hidden"||!!N.closest("[hidden]"),cssBackgroundImage:/url\(/i.test($.backgroundImage||""),reducedMotionHandled:false,nearText:"",fg:$.color,bg:$.backgroundColor,fontSize:parseFloat($.fontSize)||0,fontWeight:parseInt($.fontWeight,10)||400};if(Q==="img"){let V=N;_.img={src:(V.currentSrc||V.getAttribute("src")||"").slice(0,300),alt:V.getAttribute("alt"),naturalW:V.naturalWidth||0,naturalH:V.naturalHeight||0,attrW:parseInt(V.getAttribute("width")||"0",10)||0,attrH:parseInt(V.getAttribute("height")||"0",10)||0};}if(_.cssBackgroundImage){let V=N.closest(A);V&&(_.control={tag:V.tagName.toLowerCase(),name:y(V).slice(0,120)});}if(!/^(img|video|canvas|iframe|object|embed|svg)$/.test(Q)){let V=$.animationName.split(",").some(de=>de.trim()&&de.trim()!=="none")&&q($.animationDuration).some(de=>de>10),W=q($.transitionDuration).some(de=>de>10)&&$.transitionProperty.trim()!=="none",J=m.filter(de=>I(N,de.selector)),ie=!V||J.some(de=>de.anim),te=!W||J.some(de=>de.trans);_.reducedMotionHandled=(V||W)&&ie&&te;}let h=N.closest('a[href], button, [role="button"], [role="link"]');if(h&&h!==N){let V=h.cloneNode(true);V.querySelectorAll("img, svg").forEach(ie=>ie.remove());let W=(V.textContent||"").replace(/\s+/g," ").trim(),J=(h.getAttribute("aria-label")||"").trim();_.parentInteractive={tag:h.tagName.toLowerCase(),text:(W||J).slice(0,120)};}let R=V=>{let W=V.cloneNode(true);return W.querySelectorAll("script, style").forEach(J=>J.remove()),(W.textContent||"").replace(/\s+/g," ").trim()},x=N.matches('a[href], [role="link"]'),O=R(N),B=N.parentElement;if(x&&(B=N.closest("p, li, td, th, dd, dt, figcaption, blockquote")||N.parentElement),B){let V=R(B),W=x&&O?V.indexOf(O):-1,J=W>120?W-120:0;_.nearText=(J?"\u2026":"")+V.slice(J,J+240);}v.elements[M]=_;}return v}function mL(p,d){let b=(p.type||"").toLowerCase(),v=p.wcag||"";return b==="decorative_image_with_title"?"generic":v==="1.1.1"&&(d?.tag==="img"||/alt|image/.test(b))?"alt":v==="1.4.3"||v==="1.4.6"||b==="color-contrast"||b==="contrast_insufficient"||b==="contrast_enhanced"?"contrast":v==="2.2.2"||v==="2.3.3"||/motion|animation|reduced_motion/.test(b)?"motion":"generic"}function Tu(p){return !!p&&p.tag!=="img"&&p.cssBackgroundImage&&!p.img}var hL=/\b(needs?|requires?|for)\s+(a\s+)?(human|manual)?\s*review\b|\bhuman review\b|\bmanual review\b|\bincomplete\b/gi;function gL(p){let d=String(p??"").replace(/\s+/g," ").replace(hL,"judged").trim();if(d.length<=Cu)return d;let b=d.slice(0,Cu-1),v=b.lastIndexOf(" ");return (v>Cu/2?b.slice(0,v):b).replace(/[\s,;:–—-]+$/,"")+"\u2026"}function vL(p){let d=String(p??"").replace(/\s+/g," ").trim();if(d=d.replace(/^(an?\s+|the\s+)?(image|picture|photo|photograph|graphic|icon|illustration|screenshot)\s+(of|showing|depicting)(\s+|$)(an?\s+|the\s+)?/i,""),d=d.replace(/^["'“”]+|["'“”]+$/g,"").trim(),d.length>yg){d=d.slice(0,yg);let b=d.lastIndexOf(" ");b>60&&(d=d.slice(0,b)),d=d.replace(/[\s,;:–—-]+$/,"");}return d&&(d=d[0].toUpperCase()+d.slice(1)),d}function Un(p){let d=p.match(/\d+(\.\d+)?/g);return !d||d.length<3?p:"#"+d.slice(0,3).map(b=>Math.round(Number(b)).toString(16).padStart(2,"0")).join("")}var Ag=/^#?([0-9a-f]{6})$/i;function bL(p){let d=String(p??"").trim().match(Ag);return d?"#"+d[1].toLowerCase():null}function yL(p){let{confidence:d,reviewReason:b,...v}=p;return {...v,id:p.id.replace("axe-incomplete-","axe-")}}function wL(p){let d=p;if(typeof p=="string"){let m=p.replace(/```json\s*/gi,"").replace(/```/g,"").match(/\[[\s\S]*\]/);if(!m)return null;try{d=JSON.parse(m[0]);}catch{return null}}else p&&typeof p=="object"&&Array.isArray(p.verdicts)&&(d=p.verdicts);if(!Array.isArray(d))return null;let b=[];for(let v of d){if(!v||typeof v!="object")continue;let{id:m,verdict:E,reason:C,fix:D}=v;if(typeof m!="string"||E!=="pass"&&E!=="violation")continue;let I=D&&typeof D=="object"?D:void 0;b.push({id:m,verdict:E,reason:typeof C=="string"?C:void 0,fix:I?{attribute:typeof I.attribute=="string"?I.attribute:void 0,value:typeof I.value=="string"?I.value:void 0}:void 0});}return b}var Xn=class extends Error{},xL=`You are the final accessibility judge for a WCAG scanner. Automated engines could not decide the findings below. You MUST decide each one: "pass" (not a violation) or "violation". There is no third option \u2014 never answer "unsure", never defer to a human.
|
|
383
|
+
`);return ue}}},incompleteFallbackMessage:"axe couldn't tell the reason. Time to break out the element inspector!"},rules:[{id:"accesskeys",impact:"serious",selector:"[accesskey]",excludeHidden:false,tags:["cat.keyboard","best-practice"],all:[],any:[],none:["accesskeys"]},{id:"area-alt",impact:"critical",selector:"map area[href]",excludeHidden:false,tags:["cat.text-alternatives","wcag2a","wcag244","wcag412","section508","section508.22.a","TTv5","TT6.a","EN-301-549","EN-9.2.4.4","EN-9.4.1.2","ACT","RGAAv4","RGAA-1.1.2"],actIds:["c487ae"],all:[],any:[{options:{attribute:"alt"},id:"non-empty-alt"},"aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-allowed-attr",impact:"critical",matches:"aria-allowed-attr-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["5c01ea"],all:[{options:{validTreeRowAttrs:["aria-posinset","aria-setsize","aria-expanded","aria-level"]},id:"aria-allowed-attr"},"aria-allowed-attr-elm"],any:[],none:["aria-unsupported-attr"]},{id:"aria-allowed-role",impact:"minor",excludeHidden:false,selector:"[role]",matches:"aria-allowed-role-matches",tags:["cat.aria","best-practice"],all:[],any:[{options:{allowImplicit:true,ignoredTags:[]},id:"aria-allowed-role"}],none:[]},{id:"aria-braille-equivalent",reviewOnFail:true,impact:"serious",selector:"[aria-brailleroledescription], [aria-braillelabel]",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2"],all:["braille-roledescription-equivalent","braille-label-equivalent"],any:[],none:[]},{id:"aria-command-name",impact:"serious",selector:'[role="link"], [role="button"], [role="menuitem"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag412","TTv5","TT6.a","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-11.9.1"],actIds:["97a4e1"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-conditional-attr",impact:"serious",matches:"aria-allowed-attr-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["5c01ea"],all:[{options:{invalidTableRowAttrs:["aria-posinset","aria-setsize","aria-expanded","aria-level"]},id:"aria-conditional-attr"}],any:[],none:[]},{id:"aria-deprecated-role",impact:"minor",selector:"[role]",matches:"no-empty-role-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["674b10"],all:[],any:[],none:["deprecatedrole"]},{id:"aria-dialog-name",impact:"serious",selector:'[role="dialog"], [role="alertdialog"]',matches:"no-naming-method-matches",tags:["cat.aria","best-practice"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-hidden-body",impact:"critical",selector:"body",excludeHidden:false,matches:"is-initiator-matches",tags:["cat.aria","wcag2a","wcag131","wcag412","EN-301-549","EN-9.1.3.1","EN-9.4.1.2","RGAAv4","RGAA-10.8.1"],all:[],any:["aria-hidden-body"],none:[]},{id:"aria-hidden-focus",impact:"serious",selector:'[aria-hidden="true"]',matches:"aria-hidden-focus-matches",excludeHidden:false,tags:["cat.name-role-value","wcag2a","wcag412","TTv5","TT6.a","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-10.8.1"],actIds:["6cfa84"],all:["focusable-modal-open","focusable-disabled","focusable-not-tabbable"],any:[],none:[]},{id:"aria-input-field-name",impact:"serious",selector:'[role="combobox"], [role="listbox"], [role="searchbox"], [role="slider"], [role="spinbutton"], [role="textbox"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag412","TTv5","TT5.c","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-11.1.1"],actIds:["e086e5"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:["no-implicit-explicit-label"]},{id:"aria-meter-name",impact:"serious",selector:'[role="meter"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag111","EN-301-549","EN-9.1.1.1","RGAAv4","RGAA-11.1.1"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-progressbar-name",impact:"serious",selector:'[role="progressbar"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag111","EN-301-549","EN-9.1.1.1","RGAAv4","RGAA-11.1.1"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-prohibited-attr",impact:"serious",matches:"aria-allowed-attr-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["5c01ea"],all:[],any:[],none:[{options:{elementsAllowedAriaLabel:["applet","input"]},id:"aria-prohibited-attr"}]},{id:"aria-required-attr",impact:"critical",selector:"[role]",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["4e8ab6"],all:[],any:["aria-required-attr"],none:[]},{id:"aria-required-children",impact:"critical",selector:"[role]",matches:"aria-required-children-matches",tags:["cat.aria","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.3.1"],actIds:["bc4a75","ff89c9"],all:[],any:[{options:{reviewEmpty:["doc-bibliography","doc-endnotes","grid","list","listbox","menu","menubar","table","tablist","tree","treegrid","rowgroup"]},id:"aria-required-children"}],none:[]},{id:"aria-required-parent",impact:"critical",selector:"[role]",matches:"aria-required-parent-matches",tags:["cat.aria","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.3.1"],actIds:["ff89c9"],all:[],any:[{options:{ownGroupRoles:["listitem","treeitem"]},id:"aria-required-parent"}],none:[]},{id:"aria-roledescription",impact:"serious",selector:"[aria-roledescription]",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","deprecated"],enabled:false,all:[],any:[{options:{supportedRoles:["button","img","checkbox","radio","combobox","menuitemcheckbox","menuitemradio"]},id:"aria-roledescription"}],none:[]},{id:"aria-roles",impact:"critical",selector:"[role]",matches:"no-empty-role-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["674b10"],all:[],any:[],none:["invalidrole","abstractrole","unsupportedrole"]},{id:"aria-text",impact:"serious",selector:"[role=text]",tags:["cat.aria","best-practice"],all:[],any:["no-focusable-content"],none:[]},{id:"aria-toggle-field-name",impact:"serious",selector:'[role="checkbox"], [role="menuitemcheckbox"], [role="menuitemradio"], [role="radio"], [role="switch"], [role="option"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag412","TTv5","TT5.c","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-7.1.1"],actIds:["e086e5"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:["no-implicit-explicit-label"]},{id:"aria-tooltip-name",impact:"serious",selector:'[role="tooltip"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-treeitem-name",impact:"serious",selector:'[role="treeitem"]',matches:"no-naming-method-matches",tags:["cat.aria","best-practice"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-valid-attr-value",impact:"critical",matches:"aria-has-attr-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["6a7281"],all:[{options:[],id:"aria-valid-attr-value"},"aria-errormessage","aria-level"],any:[],none:[]},{id:"aria-valid-attr",impact:"critical",matches:"aria-has-attr-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["5f99a7"],all:[],any:[{options:[],id:"aria-valid-attr"}],none:[]},{id:"audio-caption",impact:"critical",selector:"audio",enabled:false,excludeHidden:false,tags:["cat.time-and-media","wcag2a","wcag121","EN-301-549","EN-9.1.2.1","section508","section508.22.a","deprecated"],actIds:["2eb176","afb423"],all:[],any:[],none:["caption"]},{id:"autocomplete-valid",impact:"serious",matches:"autocomplete-matches",tags:["cat.forms","wcag21aa","wcag135","EN-301-549","EN-9.1.3.5","ACT","RGAAv4","RGAA-11.13.1"],actIds:["73f2c2"],all:[{options:{stateTerms:["none","false","true","disabled","enabled","undefined","null","xoff","xon"],ignoredValues:["text","pronouns","gender","message","content"]},id:"autocomplete-valid"}],any:[],none:[]},{id:"avoid-inline-spacing",impact:"serious",selector:"[style]",matches:"is-visible-on-screen-matches",tags:["cat.structure","wcag21aa","wcag1412","EN-301-549","EN-9.1.4.12","ACT"],actIds:["24afc2","9e45ec","78fd32"],all:[{options:{cssProperty:"letter-spacing",minValue:.12},id:"important-letter-spacing"},{options:{cssProperty:"word-spacing",minValue:.16},id:"important-word-spacing"},{options:{multiLineOnly:true,cssProperty:"line-height",minValue:1.5,normalValue:1},id:"important-line-height"}],any:[],none:[]},{id:"blink",impact:"serious",selector:"blink",excludeHidden:false,tags:["cat.time-and-media","wcag2a","wcag222","section508","section508.22.j","TTv5","TT2.b","EN-301-549","EN-9.2.2.2","RGAAv4","RGAA-13.8.1"],all:[],any:[],none:["is-on-screen"]},{id:"button-name",impact:"critical",selector:"button",matches:"no-explicit-name-required-matches",tags:["cat.name-role-value","wcag2a","wcag412","section508","section508.22.a","TTv5","TT6.a","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-11.9.1"],actIds:["97a4e1","m6b1q3"],all:[],any:["button-has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"implicit-label","explicit-label","presentational-role"],none:[]},{id:"bypass",impact:"serious",selector:"html:not(html *)",pageLevel:true,matches:"bypass-matches",reviewOnFail:true,tags:["cat.keyboard","wcag2a","wcag241","section508","section508.22.o","TTv5","TT9.a","EN-301-549","EN-9.2.4.1","RGAAv4","RGAA-12.7.1"],actIds:["cf77f2","047fe0","b40fd1","3e12e1","ye5d6e"],all:[],any:["internal-link-present",{options:{selector:":is(h1, h2, h3, h4, h5, h6):not([role]), [role=heading]"},id:"header-present"},{options:{selector:"main, [role=main]"},id:"landmark"}],none:[]},{id:"color-contrast-enhanced",impact:"serious",matches:"color-contrast-matches",excludeHidden:false,enabled:false,tags:["cat.color","wcag2aaa","wcag146","ACT"],actIds:["09o5cg"],all:[],any:[{options:{ignoreUnicode:true,ignoreLength:false,ignorePseudo:false,boldValue:700,boldTextPt:14,largeTextPt:18,contrastRatio:{normal:{expected:7,minThreshold:4.5},large:{expected:4.5,minThreshold:3}},pseudoSizeThreshold:.25,shadowOutlineEmMax:.1,textStrokeEmMin:.03},id:"color-contrast-enhanced"}],none:[]},{id:"color-contrast",impact:"serious",matches:"color-contrast-matches",excludeHidden:false,tags:["cat.color","wcag2aa","wcag143","TTv5","TT13.c","EN-301-549","EN-9.1.4.3","ACT","RGAAv4","RGAA-3.2.1"],actIds:["afw4f7","09o5cg"],all:[],any:[{options:{ignoreUnicode:true,ignoreLength:false,ignorePseudo:false,boldValue:700,boldTextPt:14,largeTextPt:18,contrastRatio:{normal:{expected:4.5},large:{expected:3}},pseudoSizeThreshold:.25,shadowOutlineEmMax:.2,textStrokeEmMin:.03},id:"color-contrast"}],none:[]},{id:"css-orientation-lock",impact:"serious",selector:"html:not(html *)",tags:["cat.structure","wcag134","wcag21aa","EN-301-549","EN-9.1.3.4","RGAAv4","RGAA-13.9.1","experimental"],actIds:["b33eff"],all:[{options:{degreeThreshold:2},id:"css-orientation-lock"}],any:[],none:[],preload:true},{id:"definition-list",impact:"serious",selector:"dl",matches:"no-role-matches",tags:["cat.structure","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.3.3"],all:[],any:[],none:["structured-dlitems",{options:{validRoles:["definition","term","listitem"],validNodeNames:["dt","dd"],divGroups:true},id:"only-dlitems"}]},{id:"dlitem",impact:"serious",selector:"dd, dt",matches:"no-role-matches",tags:["cat.structure","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.3.3"],all:[],any:["dlitem"],none:[]},{id:"document-title",impact:"serious",selector:"html:not(html *)",matches:"is-initiator-matches",tags:["cat.text-alternatives","wcag2a","wcag242","TTv5","TT12.a","EN-301-549","EN-9.2.4.2","ACT","RGAAv4","RGAA-8.5.1"],actIds:["2779a5"],all:[],any:["doc-has-title"],none:[]},{id:"duplicate-id-active",impact:"serious",selector:"[id]",matches:"duplicate-id-active-matches",excludeHidden:false,tags:["cat.parsing","wcag2a-obsolete","wcag411","deprecated"],enabled:false,actIds:["3ea0c8"],all:[],any:["duplicate-id-active"],none:[]},{id:"duplicate-id-aria",impact:"critical",selector:"[id]",matches:"duplicate-id-aria-matches",excludeHidden:false,tags:["cat.parsing","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-8.2.1"],reviewOnFail:true,actIds:["3ea0c8"],all:[],any:["duplicate-id-aria"],none:[]},{id:"duplicate-id",impact:"minor",selector:"[id]",matches:"duplicate-id-misc-matches",excludeHidden:false,tags:["cat.parsing","wcag2a-obsolete","wcag411","deprecated"],enabled:false,actIds:["3ea0c8"],all:[],any:["duplicate-id"],none:[]},{id:"empty-heading",impact:"minor",selector:'h1, h2, h3, h4, h5, h6, [role="heading"]',matches:"heading-matches",tags:["cat.name-role-value","best-practice"],actIds:["ffd0e9"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"empty-table-header",impact:"minor",selector:'th:not([role]), [role="rowheader"], [role="columnheader"]',tags:["cat.name-role-value","best-practice"],all:[],any:["has-visible-text"],none:[]},{id:"focus-order-semantics",impact:"minor",selector:"div, h1, h2, h3, h4, h5, h6, [role=heading], p, span",matches:"inserted-into-focus-order-matches",tags:["cat.keyboard","best-practice","RGAAv4","RGAA-12.8.1","experimental"],all:[],any:[{options:[],id:"has-widget-role"},{options:{roles:["tooltip"]},id:"valid-scrollable-semantics"}],none:[]},{id:"form-field-multiple-labels",impact:"moderate",selector:"input, select, textarea",matches:"label-matches",tags:["cat.forms","wcag2a","wcag332","TTv5","TT5.c","EN-301-549","EN-9.3.3.2","RGAAv4","RGAA-11.2.1"],all:[],any:[],none:["multiple-label"]},{id:"frame-focusable-content",impact:"serious",selector:"html:not(html *)",matches:"frame-focusable-content-matches",tags:["cat.keyboard","wcag2a","wcag211","TTv5","TT4.a","EN-301-549","EN-9.2.1.1","RGAAv4","RGAA-7.3.2"],actIds:["akn7bn"],all:[],any:["frame-focusable-content"],none:[]},{id:"frame-tested",impact:"critical",selector:"html:not(html *), frame, iframe",tags:["cat.structure","best-practice","review-item"],all:[{options:{isViolation:false},id:"frame-tested"}],any:[],none:[]},{id:"frame-title-unique",impact:"serious",selector:"frame[title], iframe[title]",matches:"frame-title-has-text-matches",tags:["cat.text-alternatives","wcag2a","wcag412","TTv5","TT12.d","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-2.2.1"],actIds:["4b1c6c"],all:[],any:[],none:["unique-frame-title"],reviewOnFail:true},{id:"frame-title",impact:"serious",selector:"frame, iframe",matches:"no-negative-tabindex-matches",tags:["cat.text-alternatives","wcag2a","wcag412","section508","section508.22.i","TTv5","TT12.d","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-2.1.1"],actIds:["cae760"],all:[],any:[{options:{attribute:"title"},id:"non-empty-title"},"aria-label","aria-labelledby","presentational-role"],none:[]},{id:"heading-order",impact:"moderate",selector:"h1, h2, h3, h4, h5, h6, [role=heading]",matches:"heading-matches",tags:["cat.semantics","best-practice"],all:[],any:["heading-order"],none:[]},{id:"hidden-content",impact:"minor",selector:"*",excludeHidden:false,tags:["cat.structure","best-practice","experimental","review-item"],all:[],any:["hidden-content"],none:[]},{id:"html-has-lang",impact:"serious",selector:"html:not(html *)",matches:"is-initiator-matches",tags:["cat.language","wcag2a","wcag311","TTv5","TT11.a","EN-301-549","EN-9.3.1.1","ACT","RGAAv4","RGAA-8.3.1"],actIds:["b5c3f8"],all:[],any:[{options:{attributes:["lang","xml:lang"]},id:"has-lang"}],none:[]},{id:"html-lang-valid",impact:"serious",selector:'html[lang]:not([lang=""]):not(html *), html[xml\\:lang]:not([xml\\:lang=""]):not(html *)',tags:["cat.language","wcag2a","wcag311","TTv5","TT11.a","EN-301-549","EN-9.3.1.1","ACT","RGAAv4","RGAA-8.4.1"],actIds:["bf051a"],all:[],any:[],none:[{options:{attributes:["lang","xml:lang"]},id:"valid-lang"}]},{id:"html-xml-lang-mismatch",impact:"moderate",selector:"html[lang][xml\\:lang]:not(html *)",matches:"xml-lang-mismatch-matches",tags:["cat.language","wcag2a","wcag311","EN-301-549","EN-9.3.1.1","ACT","RGAAv4","RGAA-8.3.1"],actIds:["5b7ae0"],all:["xml-lang-mismatch"],any:[],none:[]},{id:"identical-links-same-purpose",impact:"minor",selector:'a[href], area[href], [role="link"]',excludeHidden:false,enabled:false,matches:"identical-links-same-purpose-matches",tags:["cat.semantics","wcag2aaa","wcag249"],actIds:["b20e66"],all:["identical-links-same-purpose"],any:[],none:[]},{id:"image-alt",impact:"critical",selector:"img",matches:"no-explicit-name-required-matches",tags:["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a","TTv5","TT7.a","TT7.b","EN-301-549","EN-9.1.1.1","ACT","RGAAv4","RGAA-1.1.1"],actIds:["23a2a8"],all:[],any:["has-alt","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"presentational-role"],none:["alt-space-value"]},{id:"image-redundant-alt",impact:"minor",selector:"img",tags:["cat.text-alternatives","best-practice"],all:[],any:[],none:[{options:{parentSelector:"button, [role=button], a[href], p, li, td, th"},id:"duplicate-img-label"}]},{id:"input-button-name",impact:"critical",selector:'input[type="button"], input[type="submit"], input[type="reset"]',matches:"no-explicit-name-required-matches",tags:["cat.name-role-value","wcag2a","wcag412","section508","section508.22.a","TTv5","TT5.c","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-11.9.1"],actIds:["97a4e1"],all:[],any:["non-empty-if-present",{options:{attribute:"value"},id:"non-empty-value"},"aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"implicit-label","explicit-label","presentational-role"],none:[]},{id:"input-image-alt",impact:"critical",selector:'input[type="image"]',matches:"no-explicit-name-required-matches",tags:["cat.text-alternatives","wcag2a","wcag111","wcag412","section508","section508.22.a","TTv5","TT7.a","EN-301-549","EN-9.1.1.1","EN-9.4.1.2","ACT","RGAAv4","RGAA-1.1.3"],actIds:["59796f"],all:[],any:[{options:{attribute:"alt"},id:"non-empty-alt"},"aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"implicit-label","explicit-label"],none:[]},{id:"label-content-name-mismatch",impact:"serious",matches:"label-content-name-mismatch-matches",tags:["cat.semantics","wcag21a","wcag253","EN-301-549","EN-9.2.5.3","RGAAv4","RGAA-6.1.5","experimental"],actIds:["2ee8b8"],all:[],any:[{options:{pixelThreshold:.1,occurrenceThreshold:3},id:"label-content-name-mismatch"}],none:[]},{id:"label-title-only",impact:"serious",selector:"input, select, textarea",matches:"label-matches",tags:["cat.forms","best-practice"],all:[],any:[],none:["title-only"]},{id:"label",impact:"critical",selector:"input, textarea",matches:"label-matches",tags:["cat.forms","wcag2a","wcag412","section508","section508.22.n","TTv5","TT5.c","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-11.1.1"],actIds:["e086e5"],all:[],any:["implicit-label","explicit-label","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},{options:{attribute:"placeholder"},id:"non-empty-placeholder"},"presentational-role"],none:["hidden-explicit-label"]},{id:"landmark-banner-is-top-level",impact:"moderate",selector:"header:not([role]), [role=banner]",matches:"landmark-has-body-context-matches",tags:["cat.semantics","best-practice"],all:[],any:["landmark-is-top-level"],none:[]},{id:"landmark-complementary-is-top-level",impact:"moderate",selector:"aside:not([role]), [role=complementary]",tags:["cat.semantics","best-practice"],all:[],any:["landmark-is-top-level"],none:[]},{id:"landmark-contentinfo-is-top-level",impact:"moderate",selector:"footer:not([role]), [role=contentinfo]",matches:"landmark-has-body-context-matches",tags:["cat.semantics","best-practice"],all:[],any:["landmark-is-top-level"],none:[]},{id:"landmark-main-is-top-level",impact:"moderate",selector:"main:not([role]), [role=main]",tags:["cat.semantics","best-practice"],all:[],any:["landmark-is-top-level"],none:[]},{id:"landmark-no-duplicate-banner",impact:"moderate",selector:"header:not([role]), [role=banner]",tags:["cat.semantics","best-practice"],all:[],any:[{options:{selector:"header:not([role]), [role=banner]",role:"banner"},id:"page-no-duplicate-banner"}],none:[]},{id:"landmark-no-duplicate-contentinfo",impact:"moderate",selector:"footer:not([role]), [role=contentinfo]",tags:["cat.semantics","best-practice"],all:[],any:[{options:{selector:"footer:not([role]), [role=contentinfo]",role:"contentinfo"},id:"page-no-duplicate-contentinfo"}],none:[]},{id:"landmark-no-duplicate-main",impact:"moderate",selector:"main:not([role]), [role=main]",tags:["cat.semantics","best-practice"],all:[],any:[{options:{selector:"main:not([role]), [role='main']"},id:"page-no-duplicate-main"}],none:[]},{id:"landmark-one-main",impact:"moderate",selector:"html:not(html *)",tags:["cat.semantics","best-practice"],all:[{options:{selector:"main:not([role]), [role='main']",passForModal:true},id:"page-has-main"}],any:[],none:[]},{id:"landmark-unique",impact:"moderate",selector:"[role=banner], [role=complementary], [role=contentinfo], [role=main], [role=navigation], [role=region], [role=search], [role=form], form, footer, header, aside, main, nav, section",tags:["cat.semantics","best-practice"],matches:"landmark-unique-matches",all:[],any:["landmark-is-unique"],none:[]},{id:"link-in-text-block",impact:"serious",selector:"a[href], [role=link]",matches:"link-in-text-block-matches",excludeHidden:false,tags:["cat.color","wcag2a","wcag141","TTv5","TT13.a","EN-301-549","EN-9.1.4.1","RGAAv4","RGAA-10.6.1"],all:[],any:[{options:{requiredContrastRatio:3,allowSameColor:true},id:"link-in-text-block"},"link-in-text-block-style"],none:[]},{id:"link-name",impact:"serious",selector:"a[href]",tags:["cat.name-role-value","wcag2a","wcag244","wcag412","section508","section508.22.a","TTv5","TT6.a","EN-301-549","EN-9.2.4.4","EN-9.4.1.2","ACT","RGAAv4","RGAA-6.2.1"],actIds:["c487ae"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:["focusable-no-name"]},{id:"list",impact:"serious",selector:"ul, ol",matches:"no-role-matches",tags:["cat.structure","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.3.1"],all:[],any:[],none:[{options:{validRoles:["listitem"],validNodeNames:["li"]},id:"only-listitems"}]},{id:"listitem",impact:"serious",selector:"li",matches:"no-role-matches",tags:["cat.structure","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.3.1"],all:[],any:["listitem"],none:[]},{id:"marquee",impact:"serious",selector:"marquee",excludeHidden:false,tags:["cat.parsing","wcag2a","wcag222","TTv5","TT2.b","EN-301-549","EN-9.2.2.2","RGAAv4","RGAA-13.8.1"],all:[],any:[],none:["is-on-screen"]},{id:"meta-refresh-no-exceptions",impact:"minor",selector:'meta[http-equiv="refresh"][content]',excludeHidden:false,enabled:false,tags:["cat.time-and-media","wcag2aaa","wcag224","wcag325"],actIds:["bisz58"],all:[],any:[{options:{minDelay:72e3,maxDelay:false},id:"meta-refresh-no-exceptions"}],none:[]},{id:"meta-refresh",impact:"critical",selector:'meta[http-equiv="refresh"][content]',excludeHidden:false,tags:["cat.time-and-media","wcag2a","wcag221","TTv5","TT8.a","EN-301-549","EN-9.2.2.1","RGAAv4","RGAA-13.1.2"],actIds:["bc659a","bisz58"],all:[],any:[{options:{minDelay:0,maxDelay:72e3},id:"meta-refresh"}],none:[]},{id:"meta-viewport-large",impact:"minor",selector:'meta[name="viewport"]',matches:"is-initiator-matches",excludeHidden:false,tags:["cat.sensory-and-visual-cues","best-practice"],all:[],any:[{options:{scaleMinimum:5,lowerBound:2},id:"meta-viewport-large"}],none:[]},{id:"meta-viewport",impact:"moderate",selector:'meta[name="viewport"]',matches:"is-initiator-matches",excludeHidden:false,tags:["cat.sensory-and-visual-cues","wcag2aa","wcag144","EN-301-549","EN-9.1.4.4","ACT","RGAAv4","RGAA-10.4.2"],actIds:["b4f0c3"],all:[],any:[{options:{scaleMinimum:2},id:"meta-viewport"}],none:[]},{id:"nested-interactive",impact:"serious",matches:"nested-interactive-matches",tags:["cat.keyboard","wcag2a","wcag412","TTv5","TT6.a","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["307n5z"],all:[],any:["no-focusable-content"],none:[]},{id:"no-autoplay-audio",impact:"moderate",excludeHidden:false,selector:"audio[autoplay], video[autoplay]",matches:"no-autoplay-audio-matches",reviewOnFail:true,tags:["cat.time-and-media","wcag2a","wcag142","TTv5","TT2.a","EN-301-549","EN-9.1.4.2","ACT","RGAAv4","RGAA-4.10.1"],actIds:["80f0bf"],preload:true,all:[{options:{allowedDuration:3},id:"no-autoplay-audio"}],any:[],none:[]},{id:"object-alt",impact:"serious",selector:"object[data]",matches:"object-is-loaded-matches",tags:["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a","EN-301-549","EN-9.1.1.1","RGAAv4","RGAA-1.1.6"],actIds:["8fc3b6"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"presentational-role"],none:[]},{id:"p-as-heading",impact:"serious",selector:"p",matches:"p-as-heading-matches",tags:["cat.semantics","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.1.3","experimental"],all:[{options:{margins:[{weight:150,italic:true},{weight:150,size:1.15},{italic:true,size:1.15},{size:1.4}],passLength:1,failLength:.5},id:"p-as-heading"}],any:[],none:[]},{id:"page-has-heading-one",impact:"moderate",selector:"html:not(html *)",tags:["cat.semantics","best-practice"],all:[{options:{selector:"h1:not([role], [aria-level]), :is(h1, h2, h3, h4, h5, h6):not([role])[aria-level=1], [role=heading][aria-level=1]",passForModal:true},id:"page-has-heading-one"}],any:[],none:[]},{id:"presentation-role-conflict",impact:"minor",selector:`img[alt=''], [role="none"], [role="presentation"]`,matches:"has-implicit-chromium-role-matches",tags:["cat.aria","best-practice","ACT"],actIds:["46ca7f"],all:[],any:[],none:["is-element-focusable","has-global-aria-attribute"]},{id:"region",impact:"moderate",selector:"body *",tags:["cat.keyboard","best-practice","RGAAv4","RGAA-9.2.1"],all:[],any:[{options:{regionMatcher:"dialog, [role=dialog], [role=alertdialog], svg"},id:"region"}],none:[]},{id:"role-img-alt",impact:"serious",selector:"[role='img']:not(img, area, input, object)",matches:"html-namespace-matches",tags:["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a","TTv5","TT7.a","EN-301-549","EN-9.1.1.1","ACT","RGAAv4","RGAA-1.1.1"],actIds:["23a2a8"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"scope-attr-valid",impact:"moderate",selector:"td[scope], th[scope]",tags:["cat.tables","best-practice"],all:["html5-scope",{options:{values:["row","col","rowgroup","colgroup"]},id:"scope-value"}],any:[],none:[]},{id:"scrollable-region-focusable",impact:"serious",selector:"*:not(select,textarea)",matches:"scrollable-region-focusable-matches",tags:["cat.keyboard","wcag2a","wcag211","wcag213","TTv5","TT4.a","EN-301-549","EN-9.2.1.1","EN-9.2.1.3","RGAAv4","RGAA-7.3.2"],actIds:["0ssw9k"],all:[],any:["focusable-content","focusable-element"],none:[]},{id:"select-name",impact:"critical",selector:"select",tags:["cat.forms","wcag2a","wcag412","section508","section508.22.n","TTv5","TT5.c","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-11.1.1"],actIds:["e086e5"],all:[],any:["implicit-label","explicit-label","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"presentational-role"],none:["hidden-explicit-label"]},{id:"server-side-image-map",impact:"minor",selector:"img[ismap]",tags:["cat.text-alternatives","wcag2a","wcag211","section508","section508.22.f","TTv5","TT4.a","EN-301-549","EN-9.2.1.1","RGAAv4","RGAA-1.1.4"],all:[],any:[],none:["exists"]},{id:"skip-link",impact:"moderate",selector:'a[href^="#"], a[href^="/#"]',matches:"skip-link-matches",tags:["cat.keyboard","best-practice","RGAAv4","RGAA-12.7.1"],all:[],any:["skip-link"],none:[]},{id:"summary-name",impact:"serious",selector:"summary",matches:"summary-interactive-matches",tags:["cat.name-role-value","wcag2a","wcag412","section508","section508.22.a","TTv5","TT6.a","EN-301-549","EN-9.4.1.2"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"svg-img-alt",impact:"serious",selector:'[role="img"], [role="graphics-symbol"], svg[role="graphics-document"]',matches:"svg-namespace-matches",tags:["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a","TTv5","TT7.a","EN-301-549","EN-9.1.1.1","ACT","RGAAv4","RGAA-1.1.5"],actIds:["7d6734"],all:[],any:["svg-non-empty-title","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"tabindex",impact:"serious",selector:"[tabindex]",tags:["cat.keyboard","best-practice"],all:[],any:["tabindex"],none:[]},{id:"table-duplicate-name",impact:"minor",selector:"table",tags:["cat.tables","best-practice","RGAAv4","RGAA-5.2.1"],all:[],any:[],none:["same-caption-summary"]},{id:"table-fake-caption",impact:"serious",selector:"table",matches:"data-table-matches",tags:["cat.tables","experimental","wcag2a","wcag131","section508","section508.22.g","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-5.4.1"],all:["caption-faked"],any:[],none:[]},{id:"target-size",impact:"serious",selector:"*",enabled:false,matches:"widget-not-inline-matches",tags:["cat.sensory-and-visual-cues","wcag22aa","wcag258"],all:[],any:[{options:{minSize:24},id:"target-size"},{options:{minOffset:24},id:"target-offset"}],none:[]},{id:"td-has-header",impact:"critical",selector:"table",matches:"data-table-large-matches",tags:["cat.tables","experimental","wcag2a","wcag131","section508","section508.22.g","TTv5","TT14.b","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-5.7.4"],all:["td-has-header"],any:[],none:[]},{id:"td-headers-attr",impact:"serious",selector:"table",matches:"table-or-grid-role-matches",tags:["cat.tables","wcag2a","wcag131","section508","section508.22.g","TTv5","TT14.b","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-5.7.4"],actIds:["a25f45"],all:["td-headers-attr"],any:[],none:[]},{id:"th-has-data-cells",impact:"serious",selector:"table",matches:"data-table-matches",tags:["cat.tables","wcag2a","wcag131","section508","section508.22.g","TTv5","TT14.b","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-5.7.1"],actIds:["d0f69e"],all:["th-has-data-cells"],any:[],none:[]},{id:"valid-lang",impact:"serious",selector:"[lang]:not(html), [xml\\:lang]:not(html)",tags:["cat.language","wcag2aa","wcag312","TTv5","TT11.b","EN-301-549","EN-9.3.1.2","ACT","RGAAv4","RGAA-8.8.1"],actIds:["de46e4"],all:[],any:[],none:[{options:{attributes:["lang","xml:lang"]},id:"valid-lang"}]},{id:"video-caption",impact:"critical",selector:"video",tags:["cat.text-alternatives","wcag2a","wcag122","section508","section508.22.a","TTv5","TT17.a","EN-301-549","EN-9.1.2.2","RGAAv4","RGAA-4.3.1"],actIds:["eac66b"],all:[],any:[],none:["caption"]}],checks:[{id:"abstractrole",evaluate:"abstractrole-evaluate"},{id:"aria-allowed-attr-elm",evaluate:"aria-allowed-attr-elm-evaluate"},{id:"aria-allowed-attr",evaluate:"aria-allowed-attr-evaluate",options:{validTreeRowAttrs:["aria-posinset","aria-setsize","aria-expanded","aria-level"]}},{id:"aria-allowed-role",evaluate:"aria-allowed-role-evaluate",options:{allowImplicit:true,ignoredTags:[]}},{id:"aria-busy",evaluate:"aria-busy-evaluate",deprecated:true},{id:"aria-conditional-attr",evaluate:"aria-conditional-attr-evaluate",options:{invalidTableRowAttrs:["aria-posinset","aria-setsize","aria-expanded","aria-level"]}},{id:"aria-errormessage",evaluate:"aria-errormessage-evaluate"},{id:"aria-hidden-body",evaluate:"aria-hidden-body-evaluate"},{id:"aria-level",evaluate:"aria-level-evaluate"},{id:"aria-prohibited-attr",evaluate:"aria-prohibited-attr-evaluate",options:{elementsAllowedAriaLabel:["applet","input"]}},{id:"aria-required-attr",evaluate:"aria-required-attr-evaluate"},{id:"aria-required-children",evaluate:"aria-required-children-evaluate",options:{reviewEmpty:["doc-bibliography","doc-endnotes","grid","list","listbox","menu","menubar","table","tablist","tree","treegrid","rowgroup"]}},{id:"aria-required-parent",evaluate:"aria-required-parent-evaluate",options:{ownGroupRoles:["listitem","treeitem"]}},{id:"aria-roledescription",evaluate:"aria-roledescription-evaluate",options:{supportedRoles:["button","img","checkbox","radio","combobox","menuitemcheckbox","menuitemradio"]}},{id:"aria-unsupported-attr",evaluate:"aria-unsupported-attr-evaluate"},{id:"aria-valid-attr-value",evaluate:"aria-valid-attr-value-evaluate",options:[]},{id:"aria-valid-attr",evaluate:"aria-valid-attr-evaluate",options:[]},{id:"braille-label-equivalent",evaluate:"braille-label-equivalent-evaluate"},{id:"braille-roledescription-equivalent",evaluate:"braille-roledescription-equivalent-evaluate"},{id:"deprecatedrole",evaluate:"deprecatedrole-evaluate"},{id:"fallbackrole",evaluate:"fallbackrole-evaluate"},{id:"has-global-aria-attribute",evaluate:"has-global-aria-attribute-evaluate"},{id:"has-widget-role",evaluate:"has-widget-role-evaluate",options:[]},{id:"invalidrole",evaluate:"invalidrole-evaluate"},{id:"is-element-focusable",evaluate:"is-element-focusable-evaluate"},{id:"no-implicit-explicit-label",evaluate:"no-implicit-explicit-label-evaluate"},{id:"unsupportedrole",evaluate:"unsupportedrole-evaluate"},{id:"valid-scrollable-semantics",evaluate:"valid-scrollable-semantics-evaluate",options:{roles:["tooltip"]}},{id:"color-contrast-enhanced",evaluate:"color-contrast-evaluate",options:{ignoreUnicode:true,ignoreLength:false,ignorePseudo:false,boldValue:700,boldTextPt:14,largeTextPt:18,contrastRatio:{normal:{expected:7,minThreshold:4.5},large:{expected:4.5,minThreshold:3}},pseudoSizeThreshold:.25,shadowOutlineEmMax:.1,textStrokeEmMin:.03}},{id:"color-contrast",evaluate:"color-contrast-evaluate",options:{ignoreUnicode:true,ignoreLength:false,ignorePseudo:false,boldValue:700,boldTextPt:14,largeTextPt:18,contrastRatio:{normal:{expected:4.5},large:{expected:3}},pseudoSizeThreshold:.25,shadowOutlineEmMax:.2,textStrokeEmMin:.03}},{id:"link-in-text-block-style",evaluate:"link-in-text-block-style-evaluate"},{id:"link-in-text-block",evaluate:"link-in-text-block-evaluate",options:{requiredContrastRatio:3,allowSameColor:true}},{id:"autocomplete-appropriate",evaluate:"autocomplete-appropriate-evaluate",deprecated:true},{id:"autocomplete-valid",evaluate:"autocomplete-valid-evaluate",options:{stateTerms:["none","false","true","disabled","enabled","undefined","null","xoff","xon"],ignoredValues:["text","pronouns","gender","message","content"]}},{id:"accesskeys",evaluate:"accesskeys-evaluate",after:"accesskeys-after"},{id:"focusable-content",evaluate:"focusable-content-evaluate"},{id:"focusable-disabled",evaluate:"focusable-disabled-evaluate"},{id:"focusable-element",evaluate:"focusable-element-evaluate"},{id:"focusable-modal-open",evaluate:"focusable-modal-open-evaluate"},{id:"focusable-no-name",evaluate:"focusable-no-name-evaluate"},{id:"focusable-not-tabbable",evaluate:"focusable-not-tabbable-evaluate"},{id:"frame-focusable-content",evaluate:"frame-focusable-content-evaluate"},{id:"landmark-is-top-level",evaluate:"landmark-is-top-level-evaluate"},{id:"no-focusable-content",evaluate:"no-focusable-content-evaluate"},{id:"page-has-heading-one",evaluate:"has-descendant-evaluate",after:"has-descendant-after",options:{selector:"h1:not([role], [aria-level]), :is(h1, h2, h3, h4, h5, h6):not([role])[aria-level=1], [role=heading][aria-level=1]",passForModal:true}},{id:"page-has-main",evaluate:"has-descendant-evaluate",after:"has-descendant-after",options:{selector:"main:not([role]), [role='main']",passForModal:true}},{id:"page-no-duplicate-banner",evaluate:"page-no-duplicate-evaluate",after:"page-no-duplicate-after",options:{selector:"header:not([role]), [role=banner]",role:"banner"}},{id:"page-no-duplicate-contentinfo",evaluate:"page-no-duplicate-evaluate",after:"page-no-duplicate-after",options:{selector:"footer:not([role]), [role=contentinfo]",role:"contentinfo"}},{id:"page-no-duplicate-main",evaluate:"page-no-duplicate-evaluate",after:"page-no-duplicate-after",options:{selector:"main:not([role]), [role='main']"}},{id:"tabindex",evaluate:"tabindex-evaluate"},{id:"alt-space-value",evaluate:"alt-space-value-evaluate"},{id:"duplicate-img-label",evaluate:"duplicate-img-label-evaluate",options:{parentSelector:"button, [role=button], a[href], p, li, td, th"}},{id:"explicit-label",evaluate:"explicit-evaluate"},{id:"help-same-as-label",evaluate:"help-same-as-label-evaluate"},{id:"hidden-explicit-label",evaluate:"hidden-explicit-label-evaluate"},{id:"implicit-label",evaluate:"implicit-evaluate"},{id:"label-content-name-mismatch",evaluate:"label-content-name-mismatch-evaluate",options:{pixelThreshold:.1,occurrenceThreshold:3}},{id:"multiple-label",evaluate:"multiple-label-evaluate"},{id:"title-only",evaluate:"title-only-evaluate"},{id:"landmark-is-unique",evaluate:"landmark-is-unique-evaluate",after:"landmark-is-unique-after"},{id:"has-lang",evaluate:"has-lang-evaluate",options:{attributes:["lang","xml:lang"]}},{id:"valid-lang",evaluate:"valid-lang-evaluate",options:{attributes:["lang","xml:lang"]}},{id:"xml-lang-mismatch",evaluate:"xml-lang-mismatch-evaluate"},{id:"dlitem",evaluate:"dlitem-evaluate"},{id:"listitem",evaluate:"listitem-evaluate"},{id:"only-dlitems",evaluate:"invalid-children-evaluate",options:{validRoles:["definition","term","listitem"],validNodeNames:["dt","dd"],divGroups:true}},{id:"only-listitems",evaluate:"invalid-children-evaluate",options:{validRoles:["listitem"],validNodeNames:["li"]}},{id:"structured-dlitems",evaluate:"structured-dlitems-evaluate"},{id:"caption",evaluate:"caption-evaluate"},{id:"frame-tested",evaluate:"frame-tested-evaluate",after:"frame-tested-after",options:{isViolation:false}},{id:"no-autoplay-audio",evaluate:"no-autoplay-audio-evaluate",options:{allowedDuration:3}},{id:"css-orientation-lock",evaluate:"css-orientation-lock-evaluate",options:{degreeThreshold:2}},{id:"meta-viewport-large",evaluate:"meta-viewport-scale-evaluate",options:{scaleMinimum:5,lowerBound:2}},{id:"meta-viewport",evaluate:"meta-viewport-scale-evaluate",options:{scaleMinimum:2}},{id:"target-offset",evaluate:"target-offset-evaluate",options:{minOffset:24}},{id:"target-size",evaluate:"target-size-evaluate",options:{minSize:24}},{id:"header-present",evaluate:"has-descendant-evaluate",after:"has-descendant-after",options:{selector:":is(h1, h2, h3, h4, h5, h6):not([role]), [role=heading]"}},{id:"heading-order",evaluate:"heading-order-evaluate",after:"heading-order-after"},{id:"identical-links-same-purpose",evaluate:"identical-links-same-purpose-evaluate",after:"identical-links-same-purpose-after"},{id:"internal-link-present",evaluate:"internal-link-present-evaluate"},{id:"landmark",evaluate:"has-descendant-evaluate",options:{selector:"main, [role=main]"}},{id:"meta-refresh-no-exceptions",evaluate:"meta-refresh-evaluate",options:{minDelay:72e3,maxDelay:false}},{id:"meta-refresh",evaluate:"meta-refresh-evaluate",options:{minDelay:0,maxDelay:72e3}},{id:"p-as-heading",evaluate:"p-as-heading-evaluate",options:{margins:[{weight:150,italic:true},{weight:150,size:1.15},{italic:true,size:1.15},{size:1.4}],passLength:1,failLength:.5}},{id:"region",evaluate:"region-evaluate",after:"region-after",options:{regionMatcher:"dialog, [role=dialog], [role=alertdialog], svg"}},{id:"skip-link",evaluate:"skip-link-evaluate"},{id:"unique-frame-title",evaluate:"unique-frame-title-evaluate",after:"unique-frame-title-after"},{id:"duplicate-id-active",evaluate:"duplicate-id-evaluate",after:"duplicate-id-after"},{id:"duplicate-id-aria",evaluate:"duplicate-id-evaluate",after:"duplicate-id-after"},{id:"duplicate-id",evaluate:"duplicate-id-evaluate",after:"duplicate-id-after"},{id:"aria-label",evaluate:"aria-label-evaluate"},{id:"aria-labelledby",evaluate:"aria-labelledby-evaluate"},{id:"avoid-inline-spacing",evaluate:"avoid-inline-spacing-evaluate",options:{cssProperties:["line-height","letter-spacing","word-spacing"]}},{id:"button-has-visible-text",evaluate:"has-text-content-evaluate"},{id:"doc-has-title",evaluate:"doc-has-title-evaluate"},{id:"error-occurred",evaluate:"exists-evaluate"},{id:"exists",evaluate:"exists-evaluate"},{id:"has-alt",evaluate:"has-alt-evaluate"},{id:"has-visible-text",evaluate:"has-text-content-evaluate"},{id:"important-letter-spacing",evaluate:"inline-style-property-evaluate",options:{cssProperty:"letter-spacing",minValue:.12}},{id:"important-line-height",evaluate:"inline-style-property-evaluate",options:{multiLineOnly:true,cssProperty:"line-height",minValue:1.5,normalValue:1}},{id:"important-word-spacing",evaluate:"inline-style-property-evaluate",options:{cssProperty:"word-spacing",minValue:.16}},{id:"is-on-screen",evaluate:"is-on-screen-evaluate"},{id:"non-empty-alt",evaluate:"attr-non-space-content-evaluate",options:{attribute:"alt"}},{id:"non-empty-if-present",evaluate:"non-empty-if-present-evaluate"},{id:"non-empty-placeholder",evaluate:"attr-non-space-content-evaluate",options:{attribute:"placeholder"}},{id:"non-empty-title",evaluate:"attr-non-space-content-evaluate",options:{attribute:"title"}},{id:"non-empty-value",evaluate:"attr-non-space-content-evaluate",options:{attribute:"value"}},{id:"presentational-role",evaluate:"presentational-role-evaluate"},{id:"role-none",evaluate:"matches-definition-evaluate",deprecated:true,options:{matcher:{attributes:{role:"none"}}}},{id:"role-presentation",evaluate:"matches-definition-evaluate",deprecated:true,options:{matcher:{attributes:{role:"presentation"}}}},{id:"svg-non-empty-title",evaluate:"svg-non-empty-title-evaluate"},{id:"caption-faked",evaluate:"caption-faked-evaluate"},{id:"html5-scope",evaluate:"html5-scope-evaluate"},{id:"same-caption-summary",evaluate:"same-caption-summary-evaluate"},{id:"scope-value",evaluate:"scope-value-evaluate",options:{values:["row","col","rowgroup","colgroup"]}},{id:"td-has-header",evaluate:"td-has-header-evaluate"},{id:"td-headers-attr",evaluate:"td-headers-attr-evaluate"},{id:"th-has-data-cells",evaluate:"th-has-data-cells-evaluate"},{id:"hidden-content",evaluate:"hidden-content-evaluate"}]});})(typeof window=="object"?window:Sg);});var D3=()=>{let p="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye]",b=[],v=new Set;function m(A){let F=(A.textContent||"").trim().replace(/\s+/g,""),q=A.querySelector("img, svg, picture")!==null,R=A.querySelector("i[class], span[class]")!==null;if(F.length>0&&!q&&!R)return false;if(q){let y=A.querySelectorAll("img"),_="";y.forEach(I=>{_+=(I.getAttribute("alt")||"").trim();});let x=F.replace(/\s+/g,""),O=_.replace(/\s+/g,"");return x===""||x===O}return false}function E(A){let F=A.nextElementSibling;for(;F;){if(isVisible(F))return F;F=F.nextElementSibling;}return null}return document.querySelectorAll("a[href]").forEach(A=>{if(b.length>=50||A.closest(p)||!isVisible(A)||v.has(A))return;let F=A.getAttribute("href");if(!F||F==="#")return;let q=E(A);if(!q||q.tagName!=="A"||q.getAttribute("href")!==F||v.has(q)||A.getAttribute("aria-hidden")==="true"||q.getAttribute("aria-hidden")==="true")return;let y=m(A),_=m(q);if(!y&&!_)return;let x=y?A:q,O=y?q:A;v.add(x),v.add(O);let I=uniqueSel(x),H=x.outerHTML.slice(0,300),M=(O.textContent||"").trim().slice(0,80);b.push({selector:I,attribute:"aria-hidden",currentValue:"",issueType:"adjacent_redundant_link",wcag:"2.4.4",context:JSON.stringify({href:F,imageLink:true,adjacentLinkText:M,suggestion:'Add aria-hidden="true" and tabindex="-1" to the image-only link'}),needsAI:false,fixValue:"true",outerHtml:H}),b.push({selector:I,attribute:"tabindex",currentValue:"",issueType:"adjacent_redundant_link",wcag:"2.4.4",context:JSON.stringify({supplementary:"Remove from tab order alongside aria-hidden",href:F}),needsAI:false,fixValue:"-1",outerHtml:H});}),b},J1={name:"adjacentLinks",cap:50,async detect(p){return p.evaluate(D3)}};var A3=()=>{let p="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=ae-exclude],[id*=ae_app],[id*=ae_],[class*=EquallyAI]",d='.slick-cloned,.slick-clone,.swiper-slide-duplicate,.owl-item.cloned,[data-slick-index^="-"],[data-swiper-slide-index]:not([data-swiper-slide-index=""])',b=["[aria-expanded]",'[class*="dropdown" i]','[class*="submenu" i]','[class*="sub-menu" i]','[class*="collapse" i]','[class*="accordion" i]','[class*="megamenu" i]','[class*="mega-menu" i]','[class*="flyout" i]','[class*="fsNav" i]','[role="menu"]','[role="menubar"]','[role="tablist"]','[role="tab"]',"nav"].join(","),v=new Set(["A","BUTTON","INPUT","SELECT","TEXTAREA"]),m=50,E=[],T=new Set;function A(R){let y=R,_=0;for(;y&&y.nodeType===1&&y!==document.body&&_<20;){try{let x=getComputedStyle(y);if(x.display==="none"||x.visibility==="hidden"||x.visibility==="collapse")return !0}catch{}y=y.parentElement,_++;}return false}function F(R){let y=R.tagName,_=R.getAttribute("tabindex");if(_!==null){let x=parseInt(_,10);if(!isNaN(x)&&x>=0)return true;if(!isNaN(x)&&x<0)return false}return v.has(y)?!(y==="A"&&!R.hasAttribute("href")||R.hasAttribute("disabled")):false}return document.querySelectorAll('[aria-hidden="true"]').forEach(R=>{if(E.length>=m||R.closest(p)||R.closest(d)||R.closest(b)||R.matches(b))return;let y=[];if(F(R)&&y.push(R),R.querySelectorAll("a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]").forEach(x=>{F(x)&&y.push(x);}),y.length!==0)for(let x of y){if(E.length>=m)return;let O=uniqueSel(x),I=O+"\0tabindex";if(T.has(I))continue;T.add(I);let H=A(x),M=!H;E.push({selector:O,attribute:"tabindex",currentValue:x.getAttribute("tabindex")||"",issueType:"aria_hidden_focusable",wcag:"4.1.2",context:JSON.stringify({tag:x.tagName.toLowerCase(),parentHidden:R.tagName.toLowerCase(),collapsed:H,suggestion:H?"Focusable control inside an aria-hidden region that is currently display:none/visibility:hidden \u2014 likely a closed modal/dialog/dropdown. Confirm the control is permanently hidden before removing it from the tab order.":'This control is rendered and operable inside an aria-hidden region. Remove aria-hidden from the region if the control is meant to be used, or hide the region (display:none / hidden / inert) when it is not. Do not set tabindex="-1" on a visible control: keyboard users lose it.'}),needsAI:false,fixValue:"-1",...H?{needsReview:true,reviewReason:'this focusable control is inside an aria-hidden region that is currently hidden by layout (display:none/visibility:hidden) \u2014 the signature of a closed modal/dialog/dropdown/tab-panel whose controls are meant to become focusable when it opens. A static tabindex="-1" would permanently remove it from the tab order and create a keyboard trap once the widget is shown. Confirm the control is permanently hidden before applying.'}:{},...M?{manualFix:true,reviewReason:'the control is rendered inside an aria-hidden region: tabindex="-1" would leave a visible, clickable control unreachable by keyboard (2.1.1). The right fix is on the region (remove aria-hidden, or hide it for everyone), which needs a person.'}:{},outerHtml:(x.outerHTML||"").slice(0,300)});}}),E},Z1={name:"ariaHiddenFocusable",cap:50,async detect(p){return p.evaluate(A3)}};var _3=()=>{let p="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",b=[],v=new Set,m=[/\btoast\b/i,/\bsnackbar\b/i,/error[-_]message|error[-_]msg|form[-_]error|validation[-_]error/i,/success[-_]message|success[-_]msg/i,/alert[-_]message|alert[-_]banner/i,/flash[-_]message|flash[-_]notice/i,/cart[-_]count|cart[-_]badge|cart[-_]quantity/i,/loading[-_]spinner|loading[-_]indicator/i,/search[-_]results?[-_]count/i,/\blive[-_]region\b/i,/notification[-_](bar|area|container|popup|wrapper)/i,/status[-_]message/i];function E(T){if((T.textContent||"").trim())return false;if(typeof T.checkVisibility=="function")return T.checkVisibility({visibilityProperty:true});for(let A=T;A&&A.nodeType===1;A=A.parentElement)if(getComputedStyle(A).display==="none")return false;return getComputedStyle(T).visibility!=="hidden"}for(let T of m){if(b.length>=50)break;let A=document.querySelectorAll("*");for(let F of A){if(b.length>=50)break;if(v.has(F)||F.closest(p))continue;let q=F.className&&typeof F.className=="string"?F.className:"",R=F.getAttribute("id")||"";if(!T.test(q)&&!T.test(R)||F.getAttribute("aria-live"))continue;let y=F.getAttribute("role")||"";if(["alert","status","log","timer","marquee"].includes(y)||!E(F))continue;v.add(F);let _=uniqueSel(F),x=T.test(q)?"class":"id",O=x==="class"?q.slice(0,60):R;b.push({selector:_,attribute:"aria-live",currentValue:"",issueType:"aria_live",wcag:"4.1.3",context:x+": "+O+" | pattern: "+T.source,needsAI:false,fixValue:"polite"});}}return b},Q1={name:"ariaLive",cap:50,async detect(p){return p.evaluate(_3)}};var E3=()=>{let p="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=ae-exclude],[id*=ae_app],[id*=ae_],[class*=EquallyAI]",b=[],v=new Set,m=["aria-labelledby","aria-describedby"];return document.querySelectorAll("[aria-labelledby],[aria-describedby]").forEach(A=>{if(!(b.length>=50)&&!A.closest(p)&&isVisible(A)&&!isHiddenFromAT(A)&&!A.getAttribute("aria-live")&&!A.closest("[aria-live]")&&!A.closest("template"))for(let F of m){let q=A.getAttribute(F);if(!q||!q.trim())continue;let R=q.trim().split(/\s+/).filter(V=>V.length>0);if(R.length===0||!R.every(V=>!document.getElementById(V)))continue;let _=A.getAttribute("aria-label");if(_&&_.trim())continue;let x=getAccessibleName(A);if(x&&x.trim())continue;let O=uniqueSel(A),I=O+"\0"+F;if(v.has(I))continue;v.add(I);let{nearbyHeading:H,parentTag:M,parentRole:z}=getNearbyContext(A);b.push({selector:O,attribute:"aria-label",currentValue:"",issueType:"broken_aria_reference",wcag:"4.1.2",context:JSON.stringify({tag:A.tagName.toLowerCase(),brokenAttr:F,brokenIds:R,nearbyHeading:H,parentTag:M,parentRole:z,suggestion:`All IDs in ${F}="${q}" are missing from the DOM. Element has no accessible name. Generate an aria-label.`}),needsAI:true,outerHtml:(A.outerHTML||"").slice(0,300)});}}),b},eh={name:"brokenAriaReferences",cap:50,async detect(p){return p.evaluate(E3)}};var C3=()=>{let d=[],b=["submit","send","login","log in","sign in","sign up","register","subscribe","save","order","purchase","checkout","pay","book","apply","enroll","confirm","join","create account","get started","schedule","place order","buy","donate","search","find","go"],v=document.querySelectorAll("button");for(let m of v){if(d.length>=50)break;let E=m;if(isWidget(E)||E.hasAttribute("type")||!E.closest("form"))continue;let T=(E.textContent||"").trim().slice(0,60),A=(E.getAttribute("aria-label")||"").trim().slice(0,60),F=T||A||"(no label)",q=F.toLowerCase();b.some(y=>q.includes(y))||d.push({selector:uniqueSel(E),attribute:"type",currentValue:"",issueType:"missing_button_type",wcag:"3.2.2",context:"button inside <form> missing type attribute \u2014 defaults to submit | label: "+F,needsAI:false,fixValue:"button",outerHtml:(E.outerHTML||"").slice(0,300)});}return d},th={name:"buttonType",cap:50,async detect(p){return p.evaluate(C3)}};var S3=()=>{let d=[],b=document.querySelectorAll("video, audio");for(let v of Array.from(b)){if(d.length>=20)break;if(isWidget(v)||typeof isVisible=="function"&&!isVisible(v)||v.error)continue;let m=v.tagName==="VIDEO";if(m){let I=v.hasAttribute("muted")||v.muted,H=v.hasAttribute("controls"),M=v.hasAttribute("loop")||v.loop,z=/mute|unmute|sound|volume|audio|play|pause/i,V=!!v.parentElement?.querySelector('button, [role="button"]')||!!v.getAttribute("id")&&!!document.querySelector('[aria-controls~="'+(v.getAttribute("id")||"").replace(/"/g,"")+'"]');for(let X=v.parentElement?.parentElement||null,Q=0;X&&!V&&Q<3;X=X.parentElement,Q++)V=Array.from(X.querySelectorAll('button, [role="button"]')).some(C=>z.test((C.getAttribute("aria-label")||"")+" "+(C.getAttribute("title")||"")+" "+(C.textContent||"")));if(I&&M&&!H&&!V)continue}let E=v.querySelectorAll("track"),T=false;for(let I of Array.from(E)){let H=(I.getAttribute("kind")||"").toLowerCase();if(H==="captions"||H==="subtitles"){T=true;break}}if(T)continue;let A=v.currentSrc||v.getAttribute("src")||"";if(A||(A=v.querySelector("source")?.getAttribute("src")||""),!A)continue;let F=A.toLowerCase();if(F.startsWith("blob:")||F.startsWith("data:")||F.startsWith("about:")||F.startsWith("javascript:")||F.endsWith(".m3u8")||F.includes(".m3u8?")||F.endsWith(".mpd")||F.includes(".mpd?"))continue;let q=A;try{q=new URL(A,location.href).toString();}catch{continue}let R=typeof uniqueSel=="function"?uniqueSel(v):"",y=v.getAttribute("title")||v.getAttribute("aria-label")||"",_=typeof getNearbyContext=="function"?getNearbyContext(v):{parentTag:v.tagName.toLowerCase(),nearbyHeading:""},x=[];x.push("media: "+v.tagName.toLowerCase()),x.push("src: "+q.slice(0,200)),y&&x.push("title: "+y.slice(0,80)),_.nearbyHeading&&x.push("heading: "+_.nearbyHeading),x.push("parent: "+_.parentTag);let O=m;d.push({selector:R,attribute:"data-needs-captions",currentValue:"",issueType:"missing_captions",wcag:"1.2.2",context:x.join(" | "),needsAI:true,...O?{needsReview:true,reviewReason:"cannot verify an audio track in-page \u2014 confirm the video has speech content before transcribing (silent videos need no captions)"}:{},imageSrc:q,outerHtml:(v.outerHTML||"").slice(0,300)});}return d},rh={name:"captions",cap:20,async detect(p){return p.evaluate(S3)}};var k3=()=>{let p="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",b=[],v="p, li, blockquote, article, section, main, div",m=document.querySelectorAll("a[href]"),E=new Map;for(let T of Array.from(m)){if(b.length>=40)break;if(T.closest(p)||T.closest('nav, header, footer, aside, [role="navigation"], [role="banner"], [role="contentinfo"]')||typeof isVisible=="function"&&!isVisible(T))continue;let A=T.closest(v);if(!A)continue;let F=(T.textContent||"").trim();if(!F)continue;let q=E.get(A);if(q===void 0){q=0;let X=document.createTreeWalker(A,NodeFilter.SHOW_TEXT),Q;for(;Q=X.nextNode();){let C=Q.parentElement;!C||C.closest("a")||C.closest(v)===A&&(typeof isVisible=="function"&&!isVisible(C)||(q+=(Q.textContent||"").trim().length));}E.set(A,q);}if(q<20||T.querySelector("img, svg, [class*=icon], [class*=arrow]"))continue;let R=getComputedStyle(T),y=getComputedStyle(A);if((R.textDecorationLine||R.textDecoration||"").includes("underline")||(()=>{let X=document.createTreeWalker(T,NodeFilter.SHOW_TEXT),Q,C=false;for(;Q=X.nextNode();){if(!/[\p{L}\p{N}]/u.test(Q.textContent||""))continue;C=true;let h=false;for(let S=Q.parentElement;S&&S!==T;S=S.parentElement){let D=getComputedStyle(S),L=(D.textDecorationColor||"").replace(/\s/g,"");if((D.textDecorationLine||"").includes("underline")&&L!=="transparent"&&!/^rgba\([^)]*,0(?:\.0+)?\)$/.test(L)){h=true;break}let N=(D.borderBottomColor||"").replace(/\s/g,""),B=N==="transparent"||/^rgba\([^)]*,0(?:\.0+)?\)$/.test(N);if((D.borderBottomStyle||"none")!=="none"&&parseFloat(D.borderBottomWidth||"0")>0&&!B){h=true;break}}if(!h)return false}return C})())continue;let O=parseInt(R.fontWeight||"400",10),I=parseInt(y.fontWeight||"400",10);if(Number.isFinite(O)&&Number.isFinite(I)&&O-I>=300||(R.borderBottomStyle||"none")!=="none"&&(R.borderBottomWidth||"0px")!=="0px"||R.color===y.color)continue;let M=typeof uniqueSel=="function"?uniqueSel(T):"",z=typeof getNearbyContext=="function"?getNearbyContext(T):{parentTag:T.tagName.toLowerCase(),nearbyHeading:""},V=[];V.push("link: "+F.slice(0,40)),V.push("color: "+R.color),V.push("parent-color: "+y.color),z.nearbyHeading&&V.push("heading: "+z.nearbyHeading),V.push("parent: "+z.parentTag),b.push({selector:M,attribute:"style",currentValue:R.textDecoration||"",issueType:"color_only_link",wcag:"1.4.1",context:V.join(" | "),needsAI:false,fixValue:"text-decoration: underline !important;",outerHtml:(T.outerHTML||"").slice(0,300)});}return b},nh={name:"colorOnly",cap:40,async detect(p){return p.evaluate(k3)}};var T3=()=>{let d=[],b=M=>typeof parseCssColor=="function"?parseCssColor(M):null,v=(M,z,V)=>typeof relLuminance=="function"?relLuminance(M,z,V):0,m=(M,z)=>typeof contrastRatio=="function"?contrastRatio(M,z):1;function E(M){let z=String(M.backgroundImage||"none");if(z==="none")return false;if(/gradient\(/i.test(z))return true;if(!/url\(/i.test(z))return false;let V=String(M.backgroundRepeat||"").toLowerCase(),X=String(M.backgroundSize||"").toLowerCase(),Q=V.split(",").map(h=>h.trim()).some(h=>h!==""&&h!=="no-repeat"),C=/cover|contain|100%/.test(X);return Q||C}function T(M){let z=document.documentElement,V=[0,0,0],X=0,Q=()=>X>=1-1e-9,C=()=>[Math.round(Math.min(255,V[0]/X)),Math.round(Math.min(255,V[1]/X)),Math.round(Math.min(255,V[2]/X))],h=B=>{if(E(B))return false;let W=b(B.backgroundColor||"");if(!W)return true;let J=Math.max(0,Math.min(1,W[3]));if(J<=0)return true;let ie=J*(1-X);return V[0]+=W[0]*ie,V[1]+=W[1]*ie,V[2]+=W[2]*ie,X+=ie,true},S=M,D=0;for(;S&&S!==z&&D<12;){if(!h(getComputedStyle(S)))return null;if(Q())return C();S=S.parentElement,D++;}let L=document.body;if(S&&S!==z&&L&&L.contains(S)){if(!h(getComputedStyle(L)))return null;if(Q())return C()}if(!h(getComputedStyle(z)))return null;let N=1-X;return N>0&&(V[0]+=255*N,V[1]+=255*N,V[2]+=255*N,X=1),C()}function A(M,z,V){return "#"+[M,z,V].map(X=>{let Q=Math.max(0,Math.min(255,Math.round(X))).toString(16);return Q.length===1?"0"+Q:Q}).join("")}let F=.1;function q(M,z,V){let X=v(z[0],z[1],z[2])>.5;for(let Q of [V+F,V]){let C=R(M,z,Q,X)||R(M,z,Q,!X);if(C)return C}return null}function R(M,z,V,X){let Q=0,C=1,h=null;for(let S=0;S<20;S++){let D=(Q+C)/2,L=X?[M[0]*(1-D),M[1]*(1-D),M[2]*(1-D)]:[M[0]+(255-M[0])*D,M[1]+(255-M[1])*D,M[2]+(255-M[2])*D],N=[Math.round(L[0]),Math.round(L[1]),Math.round(L[2])];m(N,z)>=V?(h=N,C=D):Q=D;}return h}let y=new Set(["application","button","checkbox","columnheader","combobox","grid","gridcell","group","link","listbox","menu","menubar","menuitem","menuitemcheckbox","menuitemradio","option","radio","radiogroup","row","rowheader","scrollbar","searchbox","separator","slider","spinbutton","switch","tab","tablist","textbox","toolbar","tree","treegrid","treeitem"]);function _(M){if(M.closest("button:disabled, input:disabled, select:disabled, textarea:disabled, optgroup:disabled, option:disabled"))return true;for(let V=M;V&&V.nodeType===1;V=V.parentElement){if(V.getAttribute("aria-disabled")!=="true")continue;let X=(V.getAttribute("role")||"").trim().toLowerCase().split(/\s+/)[0];if(X&&y.has(X))return true}let z=M.closest("label");if(z){let V=z.control;if(V&&(V.disabled||V.getAttribute("aria-disabled")==="true"))return true}return false}let x=document.createTreeWalker(document.body,4),O=new Set,I=[],H=x.nextNode();for(;H;){if((H.textContent||"").trim().length>=2){let z=H.parentElement;z&&!O.has(z)&&(O.add(z),I.push(z));}H=x.nextNode();}for(let M of I){if(d.length>=30)break;if(isWidget(M)||isHiddenFromAT(M)||!isVisible(M)||_(M))continue;let z=getComputedStyle(M),V=b(z.color||"");if(!V)continue;if(V[3]<.5){let ce=z.webkitBackgroundClip||z.backgroundClip||"",_e=z.backgroundImage||"";if(String(ce).includes("text")&&/gradient\(/i.test(_e)){let me=Array.from(M.childNodes).filter(Se=>Se.nodeType===3).map(Se=>(Se.textContent||"").trim()).join("");me&&d.push({selector:uniqueSel(M),attribute:"style",currentValue:"gradient-clipped text",message:"contrast: gradient-clipped text \u2014 the glyph colour varies across the gradient, so the ratio cannot be computed; check the lightest stop meets 4.5:1",issueType:"contrast_insufficient",wcag:"1.4.3",context:"background-clip:text gradient text \u2014 glyph color varies across the gradient; contrast cannot be computed from CSS. text="+JSON.stringify(me.slice(0,40)),needsAI:true,needsReview:true,reviewReason:"gradient-clipped text \u2014 verify the lightest gradient stop still meets 4.5:1 against the surrounding background",outerHtml:M.outerHTML.slice(0,200)});}continue}let X=T(M),Q=parseFloat(z.fontSize||"16"),C=parseInt(z.fontWeight||"400",10),S=Q>=24||Q>=18.66&&C>=700?3:4.5,D=Array.from(M.childNodes).filter(ce=>ce.nodeType===3).map(ce=>(ce.textContent||"").trim()).join("");if(!D)continue;let L=A(V[0],V[1],V[2]),N=uniqueSel(M);if(X===null){d.push({selector:N,attribute:"style",currentValue:L,message:"contrast: text "+L+" on a gradient or image background \u2014 the ratio cannot be computed from CSS; check it meets "+S+":1 where the background is lightest/darkest",issueType:"contrast_insufficient",wcag:"1.4.3",context:"fg="+L+" bg=<gradient-or-image> needs="+S+" text="+JSON.stringify(D.slice(0,40)),needsAI:true,needsReview:true,reviewReason:"background uses gradient or image \u2014 contrast cannot be reliably computed",outerHtml:M.outerHTML.slice(0,200)});continue}let B=m([V[0],V[1],V[2]],X);if(B>=S)continue;let W=q([V[0],V[1],V[2]],X,S);if(!W)continue;let J=A(W[0],W[1],W[2]),ie=A(X[0],X[1],X[2]),ne="color:"+J+" !important;";d.push({selector:N,attribute:"style",currentValue:L,message:"contrast: "+L+" on "+ie+" is "+B.toFixed(2)+":1, needs "+S+":1 \u2014 e.g. color "+J,issueType:"contrast_insufficient",wcag:"1.4.3",context:"fg="+L+" bg="+ie+" ratio="+B.toFixed(2)+" needs="+S+" text="+JSON.stringify(D.slice(0,40)),needsAI:false,fixValue:ne,outerHtml:M.outerHTML.slice(0,200)});}return d},ah={name:"contrast",cap:30,async detect(p){return p.evaluate(T3)}};var R3=()=>{let p="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye]",b=[],v=document.querySelectorAll("marquee, blink");for(let F of Array.from(v)){if(b.length>=30)break;if(F.closest(p))continue;let q=typeof uniqueSel=="function"?uniqueSel(F):F.tagName.toLowerCase();b.push({selector:q,attribute:"aria-hidden",currentValue:F.getAttribute("aria-hidden")||"",issueType:"motion_uncontrollable",wcag:"2.2.2",context:`deprecated ${F.tagName.toLowerCase()} element \u2014 uncontrollable motion`,needsAI:false,manualFix:true,fixValue:"true",outerHtml:(F.outerHTML||"").slice(0,300)});}let m=document.querySelectorAll('img[src*=".gif" i], img[src$=".gif" i]');for(let F of Array.from(m)){if(b.length>=30)break;if(F.closest(p))continue;let q=F.getAttribute("src")||"";if(!/\.gif(\?|#|$)/i.test(q)||typeof isVisible=="function"&&!isVisible(F))continue;let R=F.getBoundingClientRect();if(R.width<=40&&R.height<=40)continue;let y=typeof uniqueSel=="function"?uniqueSel(F):"img";b.push({selector:y,attribute:"data-asw-motion-review",currentValue:"",issueType:"animated_gif_no_pause",wcag:"2.2.2",context:`animated GIF without pause control: ${q.split("/").pop()?.slice(0,60)||q.slice(-60)}`,needsAI:true,outerHtml:(F.outerHTML||"").slice(0,300)});}let E=document.querySelectorAll('meta[http-equiv="refresh"], meta[http-equiv="Refresh"], meta[http-equiv="REFRESH"]');for(let F of Array.from(E)){if(b.length>=30)break;let q=(F.getAttribute("content")||"").trim(),R=parseInt((q.split(/[;,]/)[0]||"").trim(),10);!Number.isFinite(R)||R<=0||b.push({selector:`meta[http-equiv="refresh"][content*="${q.slice(0,20)}"]`,attribute:"data-auto-refresh",currentValue:q,issueType:"auto_refresh",wcag:"2.2.1",context:`auto-refresh every ${R}s \u2014 interrupts screen reader users mid-sentence (WCAG 2.2.1)`,needsAI:false,manualFix:true,outerHtml:(F.outerHTML||"").slice(0,200)});}try{let F=!1,q=!1;for(let R of Array.from(document.styleSheets)){let y=null;try{y=R.cssRules;}catch{continue}if(y)for(let _ of Array.from(y)){let x=_.cssText||"";if(/animation[^;]*\binfinite\b/i.test(x)&&/(keyframes|animation-name)/i.test(x+" "+(_.name||""))&&(F=!0),/prefers-reduced-motion[^{]*\(\s*reduce\s*\)/i.test(x)&&(q=!0),_.cssRules)for(let O of Array.from(_.cssRules)){let I=O.cssText||"";/animation[^;]*\binfinite\b/i.test(I)&&(F=!0);}}}F&&!q&&b.push({selector:"html",attribute:"data-asw-motion-review",currentValue:"",issueType:"motion_without_reduced_motion",wcag:"2.3.3",context:"infinite CSS animation detected without @media (prefers-reduced-motion: reduce) override",needsAI:!0,outerHtml:""});}catch{}let T=/\b(flash(ing)?|blink(ing)?|strobe)\b/i,A=document.querySelectorAll('[class*="flash" i], [class*="blink" i], [class*="strobe" i]');for(let F of Array.from(A)){if(b.length>=30)break;if(F.closest(p)||F.tagName==="BODY"||F.tagName==="HTML")continue;let q=F.className&&typeof F.className=="string"?F.className:"";if(!T.test(q)||typeof isVisible=="function"&&!isVisible(F))continue;let y=getComputedStyle(F).animationDuration,_=9999;if(y){let O=parseFloat(y);Number.isFinite(O)&&(_=/ms/i.test(y)?O:O*1e3);}if(_>333)continue;let x=typeof uniqueSel=="function"?uniqueSel(F):"";b.push({selector:x,attribute:"data-flashing-review",currentValue:"",issueType:"flashing_content",wcag:"2.3.1",context:`class matches flash/blink/strobe with ${_}ms animation-duration \u2014 seizure risk`,needsAI:false,needsReview:true,reviewReason:"WCAG 2.3.1 is met by stopping or slowing the flashing below 3 per second (remove the animation, slow it past 333ms, or add a pause control). aria-hidden does not stop flashing and hides content from assistive tech \u2014 do not apply it.",outerHtml:(F.outerHTML||"").slice(0,300)});}return b},ih={name:"cssAnimations",cap:30,async detect(p){return p.evaluate(R3)}};var F3=()=>{let d=[];function b(T){let A=(T.getAttribute("role")||"").toLowerCase();return A==="presentation"||A==="none"||(T.getAttribute("class")||"").toLowerCase().indexOf("layout")!==-1}function v(T){if(!T)return 0;let A=T.querySelectorAll("th, td"),F=0;for(let q=0;q<A.length;q++){let R=parseInt(A[q].getAttribute("colspan")||"1",10);F+=isNaN(R)||R<1?1:R;}return F}function m(T){let A=T.querySelectorAll("tr"),F=[];for(let q=0;q<A.length;q++){let R=A[q];R.closest("table")===T&&F.push(R);}return F}let E=document.querySelectorAll("table");for(let T=0;T<E.length&&!(d.length>=30);T++){let A=E[T];if(isWidget(A)||!isVisible(A)||b(A))continue;let F=m(A);if(F.length<=1)continue;let q=F[0],R=v(q);if(R<=1)continue;let y=uniqueSel(A),_=getNearbyContext(A),x=A.querySelectorAll("img, svg, picture").length>=2;if(x&&!(A.textContent||"").trim()){if(A.querySelector("input, select, textarea, button")&&(x=false),x&&A.querySelector("th, thead, caption, [scope], [headers]")&&(x=false),x){let h=Array.from(A.querySelectorAll("img")).map(S=>(S.getAttribute("alt")||"").trim().toLowerCase()).filter(Boolean);new Set(h).size<h.length&&(x=false);}}else if(x){let h=A.querySelectorAll("td, th"),S=0;for(let D=0;D<h.length&&x;D++){let L=h[D];if(L.closest("table")!==A)continue;let N=(L.textContent||"").trim(),B=!!L.querySelector("img, svg, picture");if(!N&&!B)continue;S++;let W=L.querySelectorAll("a[href]");x=L.tagName==="TD"&&W.length===1&&B&&(W[0].textContent||"").trim()===N;}S<2&&(x=false);}if(x){d.push({selector:y,attribute:"role",currentValue:A.getAttribute("role")||"",issueType:"missing_table_header",wcag:"1.3.1",context:JSON.stringify({reason:"table lays out images / image links only \u2014 likely a layout table",rows:F.length,cols:R,nearbyHeading:_.nearbyHeading}),needsAI:false,fixValue:"presentation",needsReview:true,reviewReason:'table of images or single image-links is likely layout \u2014 confirm, then mark it role="presentation" (do not add headers)',outerHtml:(A.outerHTML||"").slice(0,300)});continue}let O=null,I=A.querySelectorAll("thead");for(let h=0;h<I.length;h++)if(I[h].closest("table")===A){O=I[h];break}let H=O&&O.querySelector("tr")!==null,M=false;for(let h=0;h<F.length&&!M;h++){let S=F[h].children;for(let D=0;D<S.length&&!M;D++){let L=S[D],N=(L.tagName||"").toLowerCase();if(N!=="td"&&N!=="th")continue;if(N==="th"){M=true;break}let B=(L.getAttribute("headers")||"").trim();if(!B)continue;let W=B.split(/\s+/);for(let J=0;J<W.length;J++){let ie=document.getElementById(W[J]);if(ie&&(ie.tagName||"").toLowerCase()==="th"&&ie.closest("table")===A){M=true;break}}}}if(!H&&!M&&d.length<30&&d.push({selector:y,attribute:"thead",currentValue:O?"empty":"",issueType:"missing_table_header",wcag:"1.3.1",context:JSON.stringify({reason:O?"<thead> has no <tr>":"no <thead> element",rows:F.length,cols:R,nearbyHeading:_.nearbyHeading}),needsAI:false,fixValue:"wrap-first-row",outerHtml:(A.outerHTML||"").slice(0,300)}),R>2){let h=q.querySelectorAll("th, td"),S=h.length>0;for(let D=0;D<h.length;D++)if((h[D].tagName||"").toLowerCase()!=="td"){S=false;break}if(S)for(let D=0;D<h.length&&!(d.length>=30);D++){let L=h[D],N=uniqueSel(L),B=(L.textContent||"").trim().slice(0,60);d.push({selector:N,attribute:"role",currentValue:L.getAttribute("role")||"",issueType:"missing_table_header",wcag:"1.3.1",context:JSON.stringify({reason:"first-row <td> in data table \u2014 should be <th>",cellText:B,colIndex:D,nearbyHeading:_.nearbyHeading}),needsAI:false,fixValue:"columnheader",outerHtml:(L.outerHTML||"").slice(0,300)});}}let z=[],V=[],X=new Map;for(let h=0;h<F.length;h++){let S=F[h],D=0;for(let L=0;L<S.children.length;L++){let N=S.children[L],B=(N.tagName||"").toLowerCase();if(B!=="td"&&B!=="th")continue;for(;z.some(ne=>ne.lane===D&&ne.untilRow>h);)D++;let W=parseInt(N.getAttribute("colspan")||"1",10);(isNaN(W)||W<1)&&(W=1);let J={rowIdx:h,lane:D,span:W,headers:(N.getAttribute("headers")||"").trim()};B==="td"?V.push(J):X.set(N,J);let ie=parseInt(N.getAttribute("rowspan")||"1",10)||1;if(ie>1)for(let ne=0;ne<W;ne++)z.push({lane:D+ne,untilRow:h+ie});D+=W;}}let Q=(h,S)=>S.lane<h.lane+h.span&&S.lane+S.span>h.lane,C=A.querySelectorAll("th");for(let h=0;h<C.length&&!(d.length>=30);h++){let S=C[h];if(S.closest("table")!==A)continue;let D=(S.getAttribute("scope")||"").trim().toLowerCase();if(D==="col"||D==="row"||D==="colgroup"||D==="rowgroup")continue;let L=false;if((S.getAttribute("headers")||"").trim())L=true;else {let me=(S.getAttribute("id")||"").trim();if(me)for(let Se=0;Se<V.length;Se++){let Ge=V[Se].headers;if(Ge&&Ge.split(/\s+/).indexOf(me)!==-1){L=true;break}}}if(L)continue;let N=S.closest("tr"),B=S.closest("thead")!==null,W=false;N&&F.length>0&&F[0]===N&&(W=true);let J=false;if(N){let me=N.querySelectorAll("th, td");me.length>0&&me[0]===S&&(J=true);}let ie="col";B||W?ie="col":J&&(ie="row");let ne=X.get(S);if(!L&&ne){if(ie==="row")L=V.some(me=>me.rowIdx===ne.rowIdx&&!me.headers&&me.lane>=ne.lane+ne.span);else if(L=V.some(me=>me.rowIdx>ne.rowIdx&&!me.headers&&Q(ne,me)),!L)for(let me=0;me<C.length;me++){let Se=X.get(C[me]);if(!Se||Se.rowIdx<=ne.rowIdx||!Q(ne,Se))continue;let Ge=F[Se.rowIdx],Pe=Ge?Ge.children:[];if(Pe.length>0&&Pe[0]===C[me]&&C[me].closest("table")===A){L=true;break}}}if(L)continue;let ce=uniqueSel(S),_e=(S.textContent||"").trim().slice(0,60);d.push({selector:ce,attribute:"scope",currentValue:D,issueType:"missing_table_scope",wcag:"1.3.1",context:JSON.stringify({reason:"<th> missing scope attribute",inferred:ie,inThead:B,firstRow:W,firstCol:J,headerText:_e}),needsAI:false,fixValue:ie,outerHtml:(S.outerHTML||"").slice(0,300)});}}return d},oh={name:"dataTables",cap:30,async detect(p){return p.evaluate(F3)}};var I3=()=>{let d=[];for(let b of document.querySelectorAll("img[alt]")){if(d.length>=30)break;let v=b;if((v.getAttribute("alt")||"").trim()!=="")continue;let m=(v.getAttribute("title")||"").trim().replace(/\s+/g," ");if(!m||isWidget(v))continue;let E=(v.getAttribute("role")||"").toLowerCase();E==="presentation"||E==="none"||v.getAttribute("aria-hidden")==="true"||v.closest('[aria-hidden="true"]')||(v.getAttribute("aria-label")||"").trim()||(v.getAttribute("aria-labelledby")||"").trim()||isVisible(v)&&d.push({selector:uniqueSel(v),attribute:"data-asw-decorative-title",currentValue:"",issueType:"decorative_image_with_title",wcag:"1.1.1",context:'image with alt="" also has title="'+m.slice(0,80)+'"',needsAI:true,needsReview:true,reviewReason:'WCAG 1.1.1 Non-text Content: this image has an empty alt (declared decorative) but also a title of "'+m.slice(0,80)+'". Violation when the picture conveys information the title names (a logo, a chart, a labelled icon), so the empty alt hides it. Pass when the picture is purely decorative and the title only repeats nearby text or adds nothing.',outerHtml:(v.outerHTML||"").slice(0,300)});}return d},sh={name:"decorativeImageTitle",cap:30,async detect(p){return p.evaluate(I3)}};var L3=()=>{let p="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",d=/^[^\p{L}\p{N}\s]*$/u,b=/^[\s\u00A0\u2000-\u200F\u2028-\u202F]*$/,m=[],E=document.querySelectorAll("a");for(let T of E){if(m.length>=50)break;if(T.closest(p)||T.getAttribute("aria-hidden")==="true"||T.getAttribute("role")==="presentation"||T.closest('[aria-hidden="true"]')||!isVisible(T))continue;let A=getAccessibleName(T);if(A&&A.length>0&&!b.test(A)&&!d.test(A))continue;let F=T.querySelectorAll("img[alt]"),q="";for(let X of F){let Q=(X.getAttribute("alt")||"").trim();Q&&(q+=Q+" ");}if(q.trim())continue;let R=T.getAttribute("aria-labelledby");if(R&&typeof __resolveIdRefs=="function"&&__resolveIdRefs(R))continue;let y=uniqueSel(T),_=T.getAttribute("href")||"",x=(T.textContent||"").trim(),O=getNearbyContext(T),I="";x&&b.test(x)?I="[whitespace only]":x&&d.test(x)&&(I=x);let H="",M=true;if(_&&_!=="#"&&!_.startsWith("javascript:")){if(_.startsWith("mailto:")){let X=_.slice(7).split("?")[0];X&&X.includes("@")&&(H="Email "+X,M=false);}else if(_.startsWith("tel:")){let X=_.slice(4);try{X=decodeURIComponent(X);}catch{}X=X.replace(/^\+/,"").trim(),X&&(H="Call "+X,M=false);}}let z=[];T.closest("nav")&&z.push("inside nav"),O.nearbyHeading&&z.push("heading: "+O.nearbyHeading),_&&z.push("href: "+_.slice(0,120)),z.push("parent: "+O.parentTag);let V={selector:y,attribute:"aria-label",currentValue:I,issueType:"empty_link",wcag:"2.4.4",context:z.join(" | "),needsAI:M,outerHtml:T.outerHTML.slice(0,300)};!M&&H&&(V.fixValue=H),m.push(V);}return m},lh={name:"emptyLinks",cap:50,async detect(p){return p.evaluate(L3)}};var M3=()=>{let d=[],b=new Set;function v(R){return (R||"").trim()}function m(R){let y=v(R.getAttribute("aria-label")||"");if(y)return y;let _=R.getAttribute("aria-labelledby");if(_){let O=_.split(/\s+/),I="";for(let H=0;H<O.length;H++){let M=document.getElementById(O[H]);M&&(I+=" "+(M.textContent||""));}if(v(I))return v(I)}let x=v(R.getAttribute("title")||"");return x||""}let E=document.querySelectorAll("fieldset");for(let R=0;R<E.length&&!(d.length>=30);R++){let y=E[R];if(isWidget(y)||!isVisible(y)||isHiddenFromAT(y))continue;if(m(y)){b.add(y);continue}let _=null,x=y.querySelectorAll("legend");for(let V=0;V<x.length;V++)if(x[V].closest("fieldset")===y){_=x[V];break}let O=_!==null,I=_?v(_.textContent||""):"";if(O&&I){b.add(y);continue}let H=getNearbyContext(y),M=y.querySelectorAll("input, select, textarea"),z=uniqueSel(y);d.push({selector:z,attribute:"aria-label",currentValue:"",issueType:"missing_fieldset_legend",wcag:"1.3.1",context:JSON.stringify({reason:O?"fieldset has empty <legend>":"fieldset missing <legend>",controlCount:M.length,nearbyHeading:H.nearbyHeading,parentTag:H.parentTag}),needsAI:true,outerHtml:(y.outerHTML||"").slice(0,300)}),b.add(y);}let T=document.querySelectorAll('[role="group"], [role="radiogroup"]');for(let R=0;R<T.length&&!(d.length>=30);R++){let y=T[R];if(isWidget(y)||!isVisible(y)||isHiddenFromAT(y)||b.has(y))continue;if(m(y)){b.add(y);continue}let _=y.getAttribute("role")||"",x=getNearbyContext(y),O=y.querySelectorAll("input, select, textarea");if(_==="group"&&y.querySelectorAll('input:not([type="hidden"]), select, textarea, [role="radio"], [role="checkbox"], [role="switch"], [role="textbox"], [role="combobox"], [role="spinbutton"], [role="slider"]').length===0)continue;let I=uniqueSel(y);d.push({selector:I,attribute:"aria-label",currentValue:"",issueType:"missing_fieldset_legend",wcag:"1.3.1",context:JSON.stringify({reason:'role="'+_+'" container without accessible name',role:_,controlCount:O.length,nearbyHeading:x.nearbyHeading,parentTag:x.parentTag}),needsAI:true,outerHtml:(y.outerHTML||"").slice(0,300)}),b.add(y);}let A={},F=document.querySelectorAll('input[type="radio"], input[type="checkbox"]');for(let R=0;R<F.length;R++){let y=F[R];if(isWidget(y)||!isVisible(y)||isHiddenFromAT(y))continue;let _=y.getAttribute("name")||"";if(!_)continue;let x=y.closest("form"),O=x?x.getAttribute("id")||x.getAttribute("action")||x.tagName:"no-form",I=(y.getAttribute("type")||"").toLowerCase(),H=O+"::"+I+"::"+_;A[H]||(A[H]=[]),A[H].push(y);}let q=Object.keys(A);for(let R=0;R<q.length&&!(d.length>=30);R++){let y=A[q[R]];if(y.length<3)continue;let _=y[0],x=_.closest('fieldset, [role="group"], [role="radiogroup"]'),O=false;if(x){O=true;for(let X=1;X<y.length;X++)if(!x.contains(y[X])){O=false;break}}if(O&&x)continue;let I=_.parentElement;for(;I&&I!==document.body;){let X=true;for(let Q=1;Q<y.length;Q++)if(!I.contains(y[Q])){X=false;break}if(X)break;I=I.parentElement;}if(!I||I===document.body||b.has(I))continue;let H=(_.getAttribute("type")||"").toLowerCase(),M=_.getAttribute("name")||"",z=getNearbyContext(_),V=uniqueSel(I);d.push({selector:V,attribute:"role",currentValue:I.getAttribute("role")||"",issueType:"missing_fieldset_legend",wcag:"1.3.1",context:JSON.stringify({reason:"unwrapped "+H+" group ("+y.length+' inputs share name="'+M+'")',inputType:H,inputCount:y.length,name:M,nearbyHeading:z.nearbyHeading,parentTag:z.parentTag}),needsAI:false,fixValue:H==="radio"?"radiogroup":"group",outerHtml:(I.outerHTML||"").slice(0,300)}),b.add(I);}return d},uh={name:"fieldsetLegend",cap:30,async detect(p){return p.evaluate(M3)}};var O3=()=>{let p=[],d=document.querySelectorAll('header, nav, div, [class*="header"], [class*="navbar"], [class*="sticky"], [role="banner"]'),b=0;for(let v of Array.from(d)){let m=getComputedStyle(v);if(m.display==="none"||m.visibility==="hidden"||m.position!=="sticky"&&m.position!=="fixed")continue;let E=v.getBoundingClientRect();if(E.top>50||E.bottom<=0)continue;let T=Math.round(E.height);T<40||T>240||T>b&&(b=T);}if(b>0){let v=window.scrollX,m=window.scrollY,E=0,T=0;try{let F=[],q=new Set;document.querySelectorAll('a[href^="#"]').forEach(R=>{let y=R.getAttribute("href").slice(1);if(!y)return;let _=document.getElementById(y);_&&!q.has(_)&&(q.add(_),F.push(_));});for(let R of F){if(T>=8)break;let y=getComputedStyle(R);if(y.display==="none"||y.visibility==="hidden")continue;T++,R.scrollIntoView({block:"start"});let _=R.getBoundingClientRect(),x=Math.max(_.height,1);Math.max(0,Math.min(_.bottom,b)-Math.max(_.top,0))/Math.min(x,b)>=.5&&E++;}}catch{}try{window.scrollTo(v,m);}catch{}let A=`scroll-margin-top: ${b+8}px; scroll-padding-top: ${b+8}px;`;T>0&&E>0?p.push({selector:"html",attribute:"style",currentValue:"",issueType:"focus_obscured_by_sticky",wcag:"2.4.11",context:`sticky header height: ${b}px \u2014 ${E}/${T} in-page anchor targets land under it on jump`,needsAI:false,fixValue:A}):T===0&&p.push({selector:"html",attribute:"style",currentValue:"",issueType:"focus_obscured_by_sticky",wcag:"2.4.11",context:`sticky header height: ${b}px \u2014 no in-page anchor targets available to verify obscuring behaviorally`,needsAI:false,needsReview:true,reviewReason:"sticky top bar present; could not verify focus/jump obscuring automatically \u2014 check skip-link and anchor landing positions, or set scroll-padding-top preventively",fixValue:A});}return p},ch={name:"focusObscured",async detect(p){return p.evaluate(O3)}};var dh={name:"focusVisible",cap:40,async detect(p){let d=typeof p.keyboard?.press=="function";try{await p.evaluate(()=>{let b=document.activeElement;window[Symbol.for("wa.prevFocus")]=b&&b!==document.body&&b!==document.documentElement?b:null,window[Symbol.for("wa.prevScroll")]=[window.scrollX,window.scrollY];let v=getSelection();window[Symbol.for("wa.prevSelection")]=v?Array.from({length:v.rangeCount},(m,E)=>v.getRangeAt(E).cloneRange()):[];});}catch{}if(d)try{await p.keyboard.press("Tab");}catch{}return p.evaluate(b=>{let m=[],E=["a[href]","button",'input:not([type="hidden"])',"select","textarea",'[role="button"]','[role="link"]','[role="menuitem"]','[role="tab"]','[tabindex]:not([tabindex="-1"])'].join(",");try{document.activeElement?.blur?.();}catch{}let T=document.querySelectorAll(E),A=Symbol.for("wa.prevFocus"),F=window[A]??null;try{delete window[A];}catch{}for(let q of T){if(m.length>=40)break;if(typeof isWidget=="function"&&isWidget(q)||typeof isHiddenFromAT=="function"&&isHiddenFromAT(q)||typeof isVisible=="function"&&!isVisible(q)||!q.offsetParent&&q.tagName!=="BODY")continue;let R=getComputedStyle(q),y=R.outline,_=R.outlineWidth,x=R.outlineStyle,O=R.boxShadow,I=R.border,H=R.backgroundColor;try{q.focus({preventScroll:!0});}catch{continue}if(document.activeElement!==q)continue;let M=getComputedStyle(q),z=M.outline,V=(M.outlineStyle||"").toLowerCase(),X=parseFloat(M.outlineWidth||"0"),Q=M.boxShadow,C=M.border,h=M.backgroundColor,S=z!==y,D=V!=="none"&&V!=="hidden"&&X>0;if(S&&D||Q!==O&&Q!=="none"&&Q!==""||C!==I||h!==H||parseFloat(_)>0&&x!=="none")continue;let J=typeof uniqueSel=="function"?uniqueSel(q):q.tagName.toLowerCase();m.push({selector:J,pseudo:":focus-visible",attribute:"style",currentValue:x+" "+_,issueType:"focus_not_visible",wcag:"2.4.7",context:`${q.tagName.toLowerCase()} has no visible focus indicator \u2014 outline, box-shadow, border, and background all unchanged on focus (apply the style under :focus-visible)`,needsAI:false,fixValue:"outline: 2px solid #2563eb !important;outline-offset: 2px !important;",outerHtml:q.outerHTML.slice(0,200),...b?{}:{needsReview:true,reviewReason:"Focus indicator could not be verified with a real keyboard event; may use a keyboard-only (:focus-visible) pattern \u2014 verify by tabbing to it."}});}try{document.activeElement?.blur?.();}catch{}try{F&&F.isConnected&&F.focus({preventScroll:!0});}catch{}try{let q=Symbol.for("wa.prevScroll"),R=window[q];delete window[q],R&&window.scrollTo({left:R[0],top:R[1],behavior:"instant"});}catch{}try{let q=Symbol.for("wa.prevSelection"),R=window[q];delete window[q];let y=getSelection();if(y&&R){y.removeAllRanges();for(let _ of R)y.addRange(_);}}catch{}return m},d)}};var P3=()=>{let d=[],b=["new","register","signup","sign-up","sign_up","create","change","reset"],v=["confirm","verify","retype","re-type","repeat","again"];function m(y){if(!y)return false;let _=" "+((y.getAttribute("id")||"")+" "+(y.getAttribute("class")||"")+" "+(y.getAttribute("name")||"")+" "+(y.getAttribute("action")||"")).toLowerCase()+" ";for(let x=0;x<b.length;x++)if(_.indexOf(b[x])!==-1)return true;return false}function E(y){let _=((y.getAttribute("name")||"")+" "+(y.getAttribute("id")||"")+" "+(y.getAttribute("placeholder")||"")+" "+(y.getAttribute("aria-label")||"")).toLowerCase();for(let x=0;x<v.length;x++)if(_.indexOf(v[x])!==-1)return true;return false}let T=document.querySelectorAll('input[type="password"], input[type="Password"]');for(let y of T){if(d.length>=30)break;let _=y;if(isWidget(_)||isHiddenFromAT(_)||!isVisible(_))continue;let x=(_.getAttribute("autocomplete")||"").trim().toLowerCase();if(E(_)){if(x==="new-password")continue;let z=uniqueSel(_);d.push({selector:z,attribute:"autocomplete",currentValue:x,issueType:"missing_autocomplete",wcag:"1.3.5",context:"confirm password field | name: "+(_.getAttribute("name")||"")+" | id: "+(_.getAttribute("id")||""),needsAI:false,fixValue:"new-password",outerHtml:(_.outerHTML||"").slice(0,300)});continue}if(x)continue;let I=_.form||_.closest("form"),H=m(I),M=uniqueSel(_);d.push({selector:M,attribute:"autocomplete",currentValue:"",issueType:"missing_autocomplete",wcag:"1.3.5",context:(H?"new/signup/change password form":"login form")+" | name: "+(_.getAttribute("name")||"")+" | id: "+(_.getAttribute("id")||""),needsAI:false,fixValue:H?"new-password":"current-password",outerHtml:(_.outerHTML||"").slice(0,300)});}let A=document.querySelectorAll("form"),F=/\*|\brequired\b|\bmandatory\b/i;for(let y of A){if(d.length>=30)break;let _=y;if(isWidget(_)||!isVisible(_))continue;let x=_.querySelectorAll("input[required], select[required], textarea[required]");if(!x.length)continue;let O=0;for(let V of x)isVisible(V)&&O++;if(O===0)continue;let I=_.querySelectorAll('input:not([type="hidden"]):not([type="submit"]):not([type="button"]), select, textarea'),H=0;for(let V of I)isVisible(V)&&H++;if(O>=H||(_.getAttribute("data-asw-required-hint")||"").trim())continue;let M=(_.textContent||"").trim();if(F.test(M))continue;let z=uniqueSel(_);d.push({selector:z,attribute:"data-asw-required-hint",currentValue:"",issueType:"missing_required_indicator",wcag:"3.3.2",context:`form has ${O} required input(s) but no visible "*" / "required" / "mandatory" marker`,needsAI:true,outerHtml:(_.outerHTML||"").slice(0,300)});}let q='input[type="submit" i], input[type="image" i], button:not([type]), button[type="submit" i], button[type=""]',R='input:not([type="hidden"]):not([type="submit"]):not([type="button"]):not([type="reset"]):not([type="image"]), select, textarea';for(let y of A){if(d.length>=30)break;let _=y;if(isWidget(_)||!isVisible(_)||isHiddenFromAT(_))continue;let x=[];for(let V of _.querySelectorAll(R))isVisible(V)&&x.push(V);if(x.length===0||_.querySelector(q))continue;let O=_.getAttribute("id");if(O){let V=false;for(let X of document.querySelectorAll(q))if(X.getAttribute("form")===O){V=true;break}if(V)continue}if(((_.getAttribute("role")||"").toLowerCase()==="search"||!!_.closest('[role="search"]'))&&x.length===1)continue;let H=x.slice(0,4).map(V=>V.tagName.toLowerCase()+(V.tagName==="INPUT"?"["+(V.getAttribute("type")||"text")+"]":"")).join(", "),M=[];for(let V of _.querySelectorAll('button:not([type="reset" i]), input[type="button" i], [role="button"]')){if(M.length>=3)break;let X=V;if(!isVisible(X))continue;let Q=((X.tagName==="INPUT"?X.getAttribute("value"):X.textContent)||X.getAttribute("aria-label")||"").trim().replace(/\s+/g," ").slice(0,30);M.push('"'+Q+'"');}if(M.length&&!(_.getAttribute("action")||"").trim())continue;let z=M.length?" Buttons present that are not a submit control (type=button or role=button): "+M.join(", ")+".":"";d.push({selector:uniqueSel(_),attribute:"data-asw-submit-control",currentValue:"",issueType:"form_missing_submit",wcag:"3.2.2",context:`form with ${x.length} visible field(s) (${H}) and no submit control`,needsAI:true,needsReview:true,reviewReason:"WCAG 3.2.2 On Input: this form has "+x.length+" visible field(s) ("+H+") and no submit control (no submit button, input[type=submit|image], or outside button via form=). Violation only when changing a field or pressing Enter causes an unexpected change of context (navigation, submission, reload) with no button to ask for it. Pass when it is a script-driven or search-style form with no such surprise."+z,outerHtml:(_.outerHTML||"").slice(0,300)});}return d},fh={name:"formAttributes",cap:30,async detect(p){return p.evaluate(P3)}};var N3=()=>{let p=document.documentElement;return p?(p.getAttribute("lang")||"").trim()?[]:[{selector:"html",attribute:"lang",currentValue:"",issueType:"missing_document_language",wcag:"3.1.1",context:"Document language not declared",needsAI:false,fixValue:"en"}]:[]},ph={name:"htmlLang",async detect(p){return p.evaluate(N3)}};var q3=()=>{let p="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",b=[],v=[{host:"youtube.com",title:"YouTube video"},{host:"youtube-nocookie.com",title:"YouTube video"},{host:"youtu.be",title:"YouTube video"},{host:"vimeo.com",title:"Vimeo video"},{host:"maps.google.com",title:"Google Maps"},{host:"google.com",path:/^\/maps(\/|$)/,title:"Google Maps"},{host:"pay.google.com",title:"Google Pay"},{host:"google.com",path:/^\/recaptcha\//,title:"reCAPTCHA verification"},{host:"recaptcha.net",title:"reCAPTCHA verification"},{host:"facebook.com",title:"Facebook widget"},{host:"twitter.com",title:"Twitter widget"},{host:"x.com",title:"Twitter widget"},{host:"instagram.com",title:"Instagram widget"},{host:"calendly.com",title:"Scheduling widget"}],m=A=>{let F;try{F=new URL(A,location.href);}catch{return null}let q=F.hostname.toLowerCase();for(let R of v)if((q===R.host||q.endsWith("."+R.host))&&(!R.path||R.path.test(F.pathname)))return R.title;return null},E=/^(iframe|embed|widget|frame|content|untitled)$/i,T=document.querySelectorAll("iframe");for(let A of T){if(b.length>=50)break;if(A.closest(p))continue;let F=false;for(let h=A;h;h=h.parentElement)if((h.getAttribute("aria-hidden")||"").trim()==="true"){F=true;break}let q=(A.getAttribute("role")||"").trim().toLowerCase();if(F||q==="presentation"||q==="none"||A.closest("[inert]"))continue;let R=/^[\t\n\f\r ]*([-+]?\d+)/.exec(A.getAttribute("tabindex")||"");if(R&&parseInt(R[1],10)<0)continue;let y=getComputedStyle(A);if(A.getClientRects().length===0||y.visibility==="hidden"||y.visibility==="collapse"||(A.getAttribute("src")||"").trim().toLowerCase().indexOf("javascript:")===0)continue;let _="",x=(A.getAttribute("aria-labelledby")||"").trim();if(x){let h=x.split(/\s+/);for(let S=0;S<h.length;S++){let D=document.getElementById(h[S]);D&&(_+=" "+(D.textContent||""));}_=_.trim();}if(_||(_=(A.getAttribute("aria-label")||"").trim()),_)continue;let O=(A.getAttribute("title")||"").trim(),I=O.length===0,H=!I&&(O.length<3||E.test(O));if(!I&&!H)continue;let M=(A.getAttribute("src")||"").toLowerCase(),z=uniqueSel(A),V=getNearbyContext(A),X="src: "+M.slice(0,120)+(V.nearbyHeading?" | heading: "+V.nearbyHeading:""),Q=m(A.getAttribute("src")||""),C=Q!==null;Q&&b.push({selector:z,attribute:"title",currentValue:O,issueType:"missing_label",wcag:"4.1.2",context:X,needsAI:false,fixValue:Q,outerHtml:A.outerHTML.slice(0,300)}),!C&&I&&b.push({selector:z,attribute:"title",currentValue:O,issueType:"missing_label",wcag:"4.1.2",context:X,needsAI:true,outerHtml:A.outerHTML.slice(0,300)});}return b},mh={name:"iframeTitle",cap:50,async detect(p){return p.evaluate(q3)}};var B3=()=>{let p="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",d=["hidden","submit","button","reset","image","checkbox","radio","file","range","color"],v=[],m={email:"email",tel:"tel",password:"current-password"},E=[{pattern:"organization",autocomplete:"organization"},{pattern:"telephone",autocomplete:"tel"},{pattern:"first-name",autocomplete:"given-name"},{pattern:"first_name",autocomplete:"given-name"},{pattern:"last-name",autocomplete:"family-name"},{pattern:"last_name",autocomplete:"family-name"},{pattern:"firstname",autocomplete:"given-name"},{pattern:"postcode",autocomplete:"postal-code"},{pattern:"birthday",autocomplete:"bday"},{pattern:"lastname",autocomplete:"family-name"},{pattern:"province",autocomplete:"address-level1"},{pattern:"username",autocomplete:"username"},{pattern:"website",autocomplete:"url"},{pattern:"address",autocomplete:"street-address"},{pattern:"company",autocomplete:"organization"},{pattern:"country",autocomplete:"country"},{pattern:"mobile",autocomplete:"tel"},{pattern:"postal",autocomplete:"postal-code"},{pattern:"street",autocomplete:"street-address"},{pattern:"e-mail",autocomplete:"email"},{pattern:"email",autocomplete:"email"},{pattern:"phone",autocomplete:"tel"},{pattern:"state",autocomplete:"address-level1"},{pattern:"fname",autocomplete:"given-name"},{pattern:"lname",autocomplete:"family-name"},{pattern:"city",autocomplete:"address-level2"},{pattern:"bday",autocomplete:"bday"},{pattern:"name",autocomplete:"name"},{pattern:"zip",autocomplete:"postal-code"},{pattern:"url",autocomplete:"url"}],T=document.querySelectorAll("input, select, textarea");for(let A of T){if(v.length>=50)break;if(A.closest(p))continue;let F=A,q=(F.getAttribute("type")||"text").toLowerCase();if(d.includes(q)||F.getAttribute("autocomplete")||!isVisible(F))continue;let R="";if(m[q]&&(R=m[q]),!R){let _=(F.getAttribute("name")||"").toLowerCase(),x=(F.getAttribute("id")||"").toLowerCase(),O=(F.getAttribute("placeholder")||"").toLowerCase(),I=_+" "+x+" "+O;for(let H of E)if(I.includes(H.pattern)){R=H.autocomplete;break}}if(!R)continue;if(R==="country"){let _=false;if(F.tagName==="SELECT"){let x=Array.from(F.options).map(O=>(O.value||"").trim()).filter(Boolean);_=x.length>0&&x.every(O=>/^[A-Za-z]{2}$/.test(O));}_||(R="country-name");}let y=uniqueSel(F);v.push({selector:y,attribute:"autocomplete",currentValue:"",issueType:"identify_input_purpose",wcag:"1.3.5",context:"type: "+q+" | name: "+(F.getAttribute("name")||"")+" | id: "+(F.getAttribute("id")||""),needsAI:false,fixValue:R});}return v},hh={name:"inputPurpose",cap:50,async detect(p){return p.evaluate(B3)}};var H3=()=>{let p="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",b=[],v=['a[href]:not([href=""])',"button:not([disabled])",'input:not([type="hidden"]):not([disabled])',"select:not([disabled])","textarea:not([disabled])",'[role="button"]:not([aria-disabled="true"])','[role="link"]:not([aria-disabled="true"])','[role="menuitem"]:not([aria-disabled="true"])','[role="tab"]:not([aria-disabled="true"])','[role="checkbox"]:not([aria-disabled="true"])','[role="radio"]:not([aria-disabled="true"])'].join(",");function m(_){let x=_.getBoundingClientRect();if(x.width===0&&x.height===0)return false;let O=-window.scrollX,I=-window.scrollY,H=document.documentElement,M=getComputedStyle(_).position;if(M==="fixed")return false;let z=M==="absolute";for(let V=_.parentElement;V&&V!==document.body&&V!==H;V=V.parentElement){let X=getComputedStyle(V);if(z){if(X.position==="static")continue;z=false;}if(/auto|scroll/.test(X.overflowX+" "+X.overflowY))return false;let Q=X.overflowX==="hidden"||X.overflowX==="clip",C=X.overflowY==="hidden"||X.overflowY==="clip";if(!Q&&!C)continue;let h=V.getBoundingClientRect();if(Q&&(x.right<=h.left||x.left>=h.right)||C&&(x.bottom<=h.top||x.top>=h.bottom))return true;if(M=X.position,M==="fixed")return false;M==="absolute"&&(z=true);}return x.right<=O||x.bottom<=I||x.left>=O+H.scrollWidth||x.top>=I+H.scrollHeight}let E='[role="tablist"],[aria-roledescription="carousel" i],[aria-roledescription="slide" i],[class*="slick"],[class*="swiper"],[class*="owl"],[class*="splide"],[class*="flickity"]',T='nav,section,article,aside,main,header,footer,form,ul,ol,dl,[role="navigation"],[role="region"],[role="main"],[role="complementary"],[role="banner"],[role="contentinfo"],[role="list"],[role="form"],[role="search"]',A='a[href],area[href],button,input:not([type="hidden"]),select,textarea,summary,iframe';function F(_){if(_.tagName==="A"){let O=_.href;if(O){for(let I of document.querySelectorAll("a[href]"))if(!(I===_||I.href!==O||I.tabIndex<0)&&!I.closest('[aria-hidden="true"],[hidden],[inert]')&&!(typeof isVisible=="function"&&!isVisible(I)))return "another focusable link to the same href exists"}}if(_.closest(E))return "inside a slider / carousel / tablist that manages its own tab order";if(_.hasAttribute("aria-controls")||_.hasAttribute("aria-selected"))return "carries aria-controls / aria-selected (a widget manages its state)";if(_.closest('[inert],[aria-hidden="true"]'))return "inside an inert or aria-hidden container";let x=_.parentElement?.closest(T);if(x){let O=0;for(let I of x.querySelectorAll(A))I!==_&&I.getAttribute("tabindex")?.trim()==="-1"&&O++;if(O>=2)return `${O} other controls in the same <${x.tagName.toLowerCase()}> also carry tabindex="-1" (inert by design)`}for(let O=_.parentElement;O&&O!==document.body&&!O.matches(A);O=O.parentElement){let I=parseInt(O.getAttribute("tabindex")||"",10);if(!Number.isFinite(I)||I<0)continue;let H=[...O.querySelectorAll(A)];if(H.length>=2&&H.every(M=>M.getAttribute("tabindex")?.trim()==="-1"))return 'a focusable ancestor owns focus and every control inside it carries tabindex="-1"';break}return ""}let q=document.querySelectorAll(v);for(let _ of q){if(b.length>=30)break;if(_.closest(p)||!_.hasAttribute("tabindex"))continue;let x=_.getAttribute("tabindex")||"",O=parseInt(x,10);if(!Number.isFinite(O)||O===0||_.getAttribute("aria-disabled")==="true"||_.getAttribute("aria-hidden")==="true"||_.closest('[aria-hidden="true"]')||_.closest("[hidden]"))continue;let I=_.closest('[role="dialog"],[role="alertdialog"],dialog,[role="menu"],[role="listbox"]');if(I&&!(I.hasAttribute("open")||I.getAttribute("aria-modal")==="true"||I.getAttribute("aria-hidden")!=="true")||typeof isVisible=="function"&&!isVisible(_)||O<0&&m(_))continue;let H=(_.getAttribute("role")||"").toLowerCase();if(O<0&&_.closest('[role="tablist"],[role="menu"],[role="menubar"],[role="listbox"],[role="tree"],[role="treegrid"],[role="grid"],[role="radiogroup"],[role="toolbar"]'))continue;if(O<0&&_.tagName==="A"){if((_.getAttribute("aria-current")||"").trim().toLowerCase()==="page")continue;let S=(_.getAttribute("href")||"").trim();if(S&&!S.includes("#"))try{let D=new URL(S,document.baseURI),L=new URL(location.href);if(D.hash="",L.hash="",D.href===L.href)continue}catch{}}let z=typeof uniqueSel=="function"?uniqueSel(_):"",V=typeof getNearbyContext=="function"?getNearbyContext(_):{parentTag:_.tagName.toLowerCase(),nearbyHeading:""},X,Q,C=O<0?F(_):"";O<0?(X="keyboard_trap",Q="2.1.1"):(X="focus_order_disruption",Q="2.4.3");let h=[];h.push("tabindex: "+O),h.push("tag: "+_.tagName.toLowerCase()),H&&h.push("role: "+H),V.nearbyHeading&&h.push("heading: "+V.nearbyHeading),h.push("parent: "+V.parentTag),C&&h.push('author tabindex="-1" looks intentional: '+C),b.push({selector:z,attribute:"tabindex",currentValue:String(O),issueType:X,wcag:Q,context:h.join(" | "),needsAI:false,fixValue:"0",...C?{manualFix:true,reviewReason:`the author's tabindex="-1" looks intentional (${C}); tabindex="0" could add a duplicate or out-of-sync tab stop. Confirm the control must be reachable on its own before applying.`}:{},outerHtml:(_.outerHTML||"").slice(0,300)});}let R=/\b(?:this|(?:event|evt|e)\.(?:target|currentTarget))\.focus\s*\(\s*\)/,y=/\b(?:if|else|switch|while|for)\b|&&|\|\||\?/;for(let _ of document.querySelectorAll("[onblur]")){if(b.length>=30)break;if(_.closest(p))continue;let x=_.getAttribute("onblur")||"";!R.test(x)||y.test(x)||_.matches('[disabled], [aria-disabled="true"]')||_.closest('[aria-hidden="true"], [hidden]')||typeof isVisible=="function"&&!isVisible(_)||b.push({selector:typeof uniqueSel=="function"?uniqueSel(_):_.tagName.toLowerCase(),attribute:"onblur",currentValue:x.slice(0,100),issueType:"keyboard_trap_self_focus",wcag:"2.1.2",context:"tag: "+_.tagName.toLowerCase()+" | onblur returns focus to the same element, so keyboard focus cannot leave it",needsAI:false,outerHtml:(_.outerHTML||"").slice(0,300)});}return b},gh={name:"keyboardTrap",cap:30,async detect(p){return p.evaluate(H3)}};var V3=()=>{let p="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",b=[],m=document.querySelectorAll('button, a[href], [role="button"], [role="link"], input[type="submit"], input[type="button"]');for(let E of Array.from(m)){if(b.length>=40)break;if(E.closest(p)||typeof isVisible=="function"&&!isVisible(E))continue;let T="",A=[],F=[];try{let C=/(?:^|[\s_-])(?:icon|material-icons|material-symbols(?:-\w+)?|fa|fas|far|fab|fal|glyphicon|dashicons)(?:[\s_-]|$)/i,h=/icon|awesome|glyph|material symbols|dashicons/i,S=!1;try{S=h.test(getComputedStyle(E).fontFamily||"");}catch{}let D=Pe=>parseFloat(Pe||"0")||0,L=Pe=>{if(Pe.hasAttribute("hidden"))return !0;let ve=(Pe.getAttribute("style")||"").toLowerCase().replace(/\s+/g,"");if(/clip:rect\(0/.test(ve)||/clip-path:inset\((50|100)%/.test(ve))return !0;if(/position:(absolute|fixed)/.test(ve)){if(/(width|height):[01](px)?(;|!|$)/.test(ve))return !0;let De=ve.match(/(?:left|top):(-\d+)/);if(De&&parseInt(De[1],10)<=-999)return !0}return !1},N=(Pe,ve)=>{if(Pe.hasAttribute("hidden")||D(ve.fontSize)===0)return !0;let De=(ve.clip||"").replace(/\s+/g,"");if(/^rect\(0(px)?,?0(px)?,?0(px)?,?0(px)?\)$/.test(De)||/inset\((50|100)%\)/.test(ve.clipPath||""))return !0;let yt=Pe.getBoundingClientRect();return !!(/hidden|clip/.test(ve.overflow||ve.overflowX+" "+ve.overflowY)&&(yt.width<=1||yt.height<=1)||(ve.position==="absolute"||ve.position==="fixed")&&(D(ve.left)<=-999||D(ve.top)<=-999||yt.right<=0||yt.bottom<=-window.scrollY))},B=!1,W=E.querySelector('h1, h2, h3, h4, h5, h6, [role="heading"]'),J=!!W&&!W.closest('[aria-hidden="true"]')&&/[\p{L}\p{N}]/u.test(W.innerText||""),ie=0;try{ie=D(getComputedStyle(E).fontSize);}catch{}let ne=Pe=>{if(!J||W.contains(Pe))return !1;for(let ve=Pe;ve&&ve!==E;ve=ve.parentElement)if(ve.tagName==="TIME"||ve.tagName==="SMALL")return !0;try{let ve=D(getComputedStyle(Pe).fontSize);return ie>0&&ve>0&&ve<ie}catch{return !1}},ce=document.createTreeWalker(E,NodeFilter.SHOW_TEXT),_e;for(;_e=ce.nextNode();){let Pe=_e.parentElement;if(!Pe)continue;let ve=(_e.textContent||"").trim();if(!ve||Pe===E&&S)continue;let De=!1,yt=!1;for(let rt=Pe;rt&&rt!==E;rt=rt.parentElement){if(rt.tagName==="KBD"&&(yt=!0),rt.getAttribute("aria-hidden")==="true"){De=!0;break}if(C.test(rt.getAttribute("class")||"")||C.test(rt.getAttribute("id")||"")){De=!0;break}try{let Ne=getComputedStyle(rt);if(Ne.display==="none"||Ne.visibility==="hidden"){De=!0;break}if(parseFloat(Ne.opacity||"1")===0){De=!0;break}if(h.test(Ne.fontFamily||"")){De=!0;break}if(N(rt,Ne)){De=!0;break}}catch{if(L(rt)){De=!0;break}rt.tagName==="SPAN"&&(B=!0);}}!De&&/[\p{L}\p{N}]/u.test(ve)&&!ne(Pe)&&F.push({text:ve,kbd:yt});}let me=0,Se=F.length;for(;me<Se&&F[me].kbd;)me++;for(;Se>me&&F[Se-1].kbd;)Se--;let Ge=me<Se?F.slice(me,Se):F;for(let Pe of Ge)A.push(Pe.text);T=B?"":A.join(" ").trim().toLowerCase();}catch{T=((E.innerText!=null?E.innerText:E.textContent)||"").trim().toLowerCase();}if(!T||!/[\p{L}\p{N}]/u.test(T)||/^\p{L}$/u.test(T))continue;let R=/[\p{L}\p{N}\p{M}]/u,y=(E.getAttribute("aria-label")||"").trim().toLowerCase();if(!y){let C=E.getAttribute("aria-labelledby");C&&(y=(typeof __resolveIdRefs=="function"?__resolveIdRefs(C):"").toLowerCase());}if(!y)continue;let _=C=>{let h=C.toLowerCase().replace(/\([^)]*\)/g," ");return (/[\p{L}\p{N}]/u.test(h)?h:C.toLowerCase()).replace(/[\p{S}\u2026*]/gu," ").replace(/\s+/g," ").trim().normalize("NFC")},x=_(y),O=/[\p{Script=Han}\p{Script=Hiragana}\p{Script=Katakana}\p{Script=Hangul}\p{Script=Thai}\p{Script=Lao}\p{Script=Khmer}\p{Script=Myanmar}]/u,I=(C,h)=>!C||!R.test(C)||O.test(C)||O.test(h),H=(C,h)=>{if(h<=0)return "";let S=C.charCodeAt(h-1);return S>=56320&&S<=57343&&h>=2?C.slice(h-2,h):C.charAt(h-1)},M=(C,h)=>{let S=C.codePointAt(h);return S===void 0?"":String.fromCodePoint(S)},z=C=>{let h=C.substring(0,40);if(!h)return true;let S=C.length>=40,D=M(h,0),L=H(h,h.length);for(let N=0;;){let B=x.indexOf(h,N);if(B<0)return false;if(I(H(x,B),D)&&(S||I(M(x,B+h.length),L)))return true;N=B+1;}};if(z(_(T))||A.length>1&&z(_(A.join(""))))continue;if(A.length>1){let C=true,h=0;for(let S of A){let D=_(S.toLowerCase());if(!D)continue;let L=D.slice(0,40),N=-1;for(let B=h;;){let W=x.indexOf(L,B);if(W<0)break;let J=I(H(x,W),M(L,0)),ie=L.length>=40||I(M(x,W+L.length),H(L,L.length));if(J&&ie){N=W;break}B=W+1;}if(N<0){C=false;break}h=N+L.length;}if(C)continue}let V=typeof uniqueSel=="function"?uniqueSel(E):"",X=typeof getNearbyContext=="function"?getNearbyContext(E):{parentTag:E.tagName.toLowerCase(),nearbyHeading:""},Q=[];Q.push("visible: "+T.slice(0,40)),Q.push("aria-label: "+y.slice(0,60)),X.nearbyHeading&&Q.push("heading: "+X.nearbyHeading),Q.push("parent: "+X.parentTag),b.push({selector:V,attribute:"aria-label",currentValue:y,issueType:"label_in_name",wcag:"2.5.3",context:Q.join(" | "),needsAI:true,outerHtml:(E.outerHTML||"").slice(0,300)});}return b},vh={name:"labelInName",cap:40,async detect(p){return p.evaluate(V3)}};var j3=()=>{let p="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=EquallyAI]",b=["click here","click","here","read more","more","link","this","go","info","details","learn more","see more","view","open","tap"],v=[];function m(R){if(!R)return "";let y=R.split("#")[0];return y.length>1&&y.charAt(y.length-1)==="/"&&(y=y.substring(0,y.length-1)),y}function E(R){let y=(R.getAttribute("aria-label")||"").trim();return y||(R.textContent||"").trim().replace(/\s+/g," ")}function T(R){return !!R.closest('nav, [role="navigation"], [role="menubar"], [class*=breadcrumb], [aria-label*="breadcrumb" i]')}let A={},F=document.querySelectorAll("a[href]");for(let R=0;R<F.length;R++){let y=F[R];if(y.closest(p)||y.getAttribute("aria-hidden")==="true"||!isVisible(y))continue;let _=y.getAttribute("href")||"";if(!_)continue;let x=_.toLowerCase();if(x.charAt(0)==="#"||x.indexOf("javascript:")===0||x.indexOf("mailto:")===0||x.indexOf("tel:")===0)continue;let O=y.href||_,I=m(O);if(!I||T(y))continue;let H=(y.textContent||"").trim(),M=!!y.querySelector("img, svg, picture");if(!H&&M)continue;let z=E(y);if(!z)continue;let V=z.toLowerCase();V===x||V===O.toLowerCase()||(A[I]||(A[I]=[]),A[I].push(y));}let q=Object.keys(A);for(let R=0;R<q.length&&!(v.length>=30);R++){let y=A[q[R]];if(!y||y.length<2)continue;let _={},x="";for(let M=0;M<y.length;M++){let z=E(y[M]),V=z.toLowerCase();_[V]=true,z.length>x.length&&(x=z);}if(Object.keys(_).length<2)continue;let I=x.toLowerCase().trim();if(I.length<5)continue;let H=false;for(let M=0;M<b.length;M++)if(I===b[M]){H=true;break}if(!H)for(let M=0;M<y.length&&!(v.length>=30);M++){let z=y[M],V=E(z);if(V.toLowerCase()===I)continue;let X=uniqueSel(z);v.push({selector:X,attribute:"aria-label",currentValue:V,issueType:"link_consistency",wcag:"3.2.4",context:"Same href as "+y.length+' link(s) on this page with different text (e.g. "'+x.slice(0,80)+'"). If these labels also differ across pages, unify the VISIBLE text \u2014 do not mask it with aria-label.',needsAI:false,needsReview:true,reviewReason:"WCAG 3.2.4 is a cross-page criterion; same-page label variation may be intentional and cannot be auto-verified from one page",outerHtml:z.outerHTML.slice(0,300)});}}return v},bh={name:"linkConsistency",cap:30,async detect(p){return p.evaluate(j3)}};var $3=()=>{let d=[],b=[".pdf",".doc",".docx",".xls",".xlsx",".zip",".csv",".ppt",".pptx",".txt",".rtf",".epub"],v={".pdf":"PDF",".doc":"Word document",".docx":"Word document",".xls":"Excel spreadsheet",".xlsx":"Excel spreadsheet",".zip":"ZIP archive",".csv":"CSV file",".ppt":"PowerPoint",".pptx":"PowerPoint",".txt":"text file",".rtf":"RTF document",".epub":"EPUB file"},m="";try{m=window.location&&window.location.hostname||"";}catch{m="";}m=(m||"").toLowerCase();function E(O,I){if(!O||!I)return false;if(O===I||O.endsWith("."+I)||I.endsWith("."+O))return true;let H=M=>{let z=M.split(".");if(z.length<=2)return M;let V=z[z.length-1],X=z[z.length-2],Q=["co","com","net","org","ac","gov","edu"],C=V.length===2&&Q.indexOf(X)>=0?3:2;return z.slice(-C).join(".")};return H(O)===H(I)}function T(O){return O.indexOf("www.")===0?O.slice(4):O}function A(O){if(!O)return "";let I=O.toLowerCase();if(I.charAt(0)==="#"||I.charAt(0)==="/"||I.charAt(0)==="?"||I.indexOf("javascript:")===0||I.indexOf("mailto:")===0||I.indexOf("tel:")===0)return "";try{return (new window.URL(O,window.location.href).hostname||"").toLowerCase()}catch{return ""}}function F(O){if(!O)return "";let I=O,H=I.indexOf("?");H>=0&&(I=I.slice(0,H));let M=I.indexOf("#");M>=0&&(I=I.slice(0,M)),I=I.toLowerCase();for(let z=0;z<b.length;z++){let V=b[z];if(I.length>=V.length&&I.slice(I.length-V.length)===V)return V}return ""}function q(O){let I=[],H=(O.getAttribute("aria-label")||"").trim();H&&I.push(H);let M=(O.getAttribute("title")||"").trim();M&&I.push(M);let z=O.getAttribute("aria-labelledby");if(z)try{let V=typeof __resolveIdRefs=="function"?__resolveIdRefs(z):"";V&&I.push(V);}catch{}return I.push((O.textContent||"").trim()),I.join(" ").toLowerCase()}function R(O,I,H){let M="";try{typeof getAccessibleName=="function"&&(M=(getAccessibleName(O)||"").trim());}catch{}let z=(I||H||M||O.textContent||"").replace(/\s+/g," ").trim();return z||(O.getAttribute("href")||"").trim().replace(/^https?:\/\//i,"").replace(/\/+$/,"")}function y(O,I){let M=200-I.length;M<8&&(M=8);let z=O;if(z.length>M){let V=z.slice(0,M),X=V.lastIndexOf(" ");X>M*.6&&(V=V.slice(0,X)),z=V.replace(/[\s…,;:.\-]+$/,"")+"\u2026";}return (z+I).slice(0,200)}let _=document.querySelectorAll("a"),x=_.length;for(let O=0;O<x&&!(d.length>=50);O++){let I=_[O];if(!I||isWidget(I)||I.getAttribute("aria-hidden")==="true")continue;try{if(I.closest&&I.closest('[aria-hidden="true"]'))continue}catch{}if(!isVisible(I))continue;let H=I.getAttribute("href");if(H==null)continue;let M=String(H).trim();if(!M)continue;let z=M.toLowerCase(),V=q(I),X=(I.getAttribute("rel")||"").toLowerCase(),Q=uniqueSel(I),C=(I.getAttribute("target")||"").toLowerCase(),h=(I.outerHTML||"").slice(0,300);if(M==="#"||z.indexOf("javascript:")===0||M.charAt(0)==="#"&&M.length>1)continue;let S=F(z);if(S){let B=I.hasAttribute&&I.hasAttribute("download"),W=(v[S]||S).toLowerCase(),J=V.indexOf(S)>=0||V.indexOf(W)>=0||V.indexOf("download")>=0;if(!B&&!J){let ie=R(I,(I.getAttribute("aria-label")||"").trim(),""),ne=y(ie," ("+(v[S]||S)+" download)");d.push({selector:Q,attribute:"aria-label",currentValue:(I.getAttribute("aria-label")||"").trim(),issueType:"download_link_warning",wcag:"3.2.5",context:"download link \u2014 "+S+" | href: "+M.slice(0,120),needsAI:false,fixValue:ne,outerHtml:h});continue}}let D=A(M),L=z.indexOf("http://")===0||z.indexOf("https://")===0||z.indexOf("//")===0,N=!!D&&!!m&&!E(T(D),T(m));if(C==="_blank"){let B=X.indexOf("noopener")>=0||X.indexOf("noreferrer")>=0,W=V.indexOf("new window")>=0||V.indexOf("new tab")>=0||V.indexOf("opens in")>=0;if(!W){let J=(I.getAttribute("aria-label")||"").trim(),ie="",ne=I.getAttribute("aria-labelledby")||"";if(!J&&ne)try{typeof __resolveIdRefs=="function"&&(ie=(__resolveIdRefs(ne)||"").trim());}catch{}let ce=R(I,J,ie),_e=y(ce," (opens in new window)"),me=[];B||me.push("missing rel=noopener"),W||me.push('missing "new window" hint'),me.push("href: "+M.slice(0,120)),d.push({selector:Q,attribute:"aria-label",currentValue:(I.getAttribute("aria-label")||"").trim(),issueType:"new_window_link",wcag:"3.2.5",context:me.join(" | "),needsAI:false,fixValue:_e,outerHtml:h});continue}}if(N&&L){let B=X.indexOf("external")>=0,W=V.indexOf("external")>=0||V.indexOf("opens in")>=0||V.indexOf("new window")>=0||V.indexOf("new tab")>=0;if(!B&&!W){let J=(I.getAttribute("aria-label")||"").trim(),ie="",ne=I.getAttribute("aria-labelledby")||"";if(!J&&ne)try{typeof __resolveIdRefs=="function"&&(ie=(__resolveIdRefs(ne)||"").trim());}catch{}let ce=R(I,J,ie),_e=y(ce," (external link)");d.push({selector:Q,attribute:"aria-label",currentValue:(I.getAttribute("aria-label")||"").trim(),issueType:"external_link_warning",wcag:"3.2.5",context:"external: "+D+" (page: "+m+") | href: "+M.slice(0,120),needsAI:false,fixValue:_e,outerHtml:h});}}}return d},yh={name:"linkWarnings",cap:50,async detect(p){return p.evaluate($3)}};var z3=()=>{let p="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=ae-exclude],[id*=ae_app],[id*=ae_],[class*=EquallyAI]",b=[],v=new Set,m=document.querySelectorAll('main, [role="main"]'),E=[];return m.forEach(T=>{let A=getComputedStyle(T);A.display!=="none"&&A.visibility!=="hidden"&&E.push(T);}),m.forEach(T=>{if(b.length>=10||T.closest(p)||T.getAttribute("aria-hidden")!=="true")return;let A=getComputedStyle(T);if(A.display==="none"||A.visibility==="hidden"||T.closest('[role="dialog"]')||T.closest('[role="alertdialog"]')||T.closest("dialog")||E.some(y=>y!==T&&y.getAttribute("aria-hidden")!=="true"))return;let q=T.parentElement;for(;q&&q!==document.body&&q!==document.documentElement;){if(q.getAttribute("aria-hidden")==="true")return;q=q.parentElement;}let R=uniqueSel(T);v.has(R)||(v.add(R),b.push({selector:R,attribute:"aria-hidden",currentValue:"true",issueType:"main_content_hidden",wcag:"4.1.2",context:JSON.stringify({tag:T.tagName.toLowerCase(),role:T.getAttribute("role")||"",suggestion:'Main content container has aria-hidden="true", hiding the entire page from assistive technology. Set aria-hidden="false" to restore visibility.'}),needsAI:false,fixValue:"false",outerHtml:(T.outerHTML||"").slice(0,300)}));}),b},wh={name:"mainContentHidden",cap:10,async detect(p){return p.evaluate(z3)}};var G3=()=>{let d=[];function b(T){return !!(!T||isWidget(T)||(T.getAttribute("aria-hidden")||"").trim().toLowerCase()==="true")}function v(T){return (T.outerHTML||"").slice(0,300)}let m=document.querySelectorAll("video");for(let T of m){if(d.length>=10)break;let A=T;if(b(A))continue;let F=A.hasAttribute("controls"),q=A.hasAttribute("autoplay"),R=A.hasAttribute("muted"),y=q||!A.paused&&!A.ended,_=typeof isVisible=="function"?isVisible(A):true;if(!F&&y&&_&&(d.push({selector:uniqueSel(A),attribute:"controls",currentValue:"",issueType:"missing_media_controls",wcag:"2.2.2",context:"video element missing player controls",needsAI:false,fixValue:"",outerHtml:v(A)}),d.length>=10))break;q&&!R&&d.push({selector:uniqueSel(A),attribute:"muted",currentValue:"",issueType:"unsafe_autoplay",wcag:"1.4.2",context:"video autoplays with sound \u2014 add muted",needsAI:false,fixValue:"",outerHtml:v(A)});}let E=document.querySelectorAll("audio");for(let T of E){if(d.length>=10)break;let A=T;if(b(A))continue;let F=A.hasAttribute("controls"),q=A.hasAttribute("autoplay"),R=q||!A.paused&&!A.ended;if(!F&&R&&(d.push({selector:uniqueSel(A),attribute:"controls",currentValue:"",issueType:"missing_media_controls",wcag:"2.2.2",context:"audio element missing player controls",needsAI:false,fixValue:"",outerHtml:v(A)}),d.length>=10))break;q&&d.push({selector:uniqueSel(A),attribute:"remove_attribute",currentValue:"autoplay",issueType:"unsafe_autoplay",wcag:"1.4.2",context:"audio element autoplays \u2014 remove autoplay attribute",needsAI:false,fixValue:"autoplay",outerHtml:v(A)});}return d},xh={name:"mediaControls",cap:10,async detect(p){return p.evaluate(G3)}};var W3=()=>{let p="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",b=[],v=[],m=/^(image|photo|img|picture|pic|untitled|banner|hero|\d{1,2})$/i,E=/^(IMG[-_]?\d|DSC[-_]?\d|DSCN?\d|(?:screenshot|Screen\s*Shot|Bildschirmfoto|capture(?:\s+d['’]\s?[ée]cran)?)(?:$|\s+(?:from|at)\s+\d|[\s_-]*[\d(])|image\s*\d|foto|photo[-_]?\d|P\d{4,}|GOPR\d|DJI[-_]\d)/i,T=/pixel|track|beacon|doubleclick|facebook\.com\/tr\b/i,A=(y,_)=>{let x=y.getAttribute(_);if(x===null)return false;let O=parseFloat(x);return !isNaN(O)&&O<=1},F=document.querySelectorAll("img");for(let y of F){if(b.length>=50)break;if(y.closest(p)||y.closest("template, noscript, script"))continue;let _=y.getAttribute("src")||"",x=y.getAttribute("alt");if(_.startsWith("data:")||A(y,"width")||A(y,"height"))continue;let O=y.naturalWidth||0,I=y.naturalHeight||0;if(O>0&&I>0&&O<=3&&I<=3||y.getAttribute("role")==="presentation"||y.getAttribute("role")==="none"||y.getAttribute("aria-hidden")==="true")continue;let H=O||y.width,M=I||y.height,z=y.getBoundingClientRect(),V=!isVisible(y)||H<=2&&M<=2||z.width<=2&&z.height<=2||!!y.closest('[aria-hidden="true"]');if(V&&(x!==null||v.length>=50||T.test(_)))continue;let X=(y.getAttribute("aria-label")||"").trim(),Q=(y.getAttribute("aria-labelledby")||"").trim();if(X||Q)continue;if(x===null){let L=uniqueSel(y),N=getNearbyContext(y),B=[],W=y.closest("figure");if(W){let ce=W.querySelector("figcaption");ce&&B.push("figcaption: "+(ce.textContent||"").trim().slice(0,80));}N.nearbyHeading&&B.push("heading: "+N.nearbyHeading);let J=y.closest("a");if(J){let ce=J.getAttribute("href")||"",_e=(J.textContent||"").trim().replace(/\s+/g," ");_e&&B.push("link text: "+_e.slice(0,60)),ce&&B.push("link href: "+ce.slice(0,80));}_&&B.push("src: "+_.slice(0,120)),B.push("parent: "+N.parentTag);let ie=_;try{ie=new URL(_,document.baseURI).href;}catch{}(V?v:b).push({selector:L,attribute:"alt",currentValue:"",issueType:"missing_alt",wcag:"1.1.1",context:B.join(" | "),needsAI:true,imageSrc:ie,outerHtml:y.outerHTML.slice(0,300)});continue}let C=(x||"").trim();if(C==="")continue;let h=/\.(jpg|jpeg|png|gif|webp|svg|bmp|ico)$/i.test(C),S=m.test(C),D=E.test(C);if(h||S||D){let L=uniqueSel(y),N=getNearbyContext(y),B=[];N.nearbyHeading&&B.push("heading: "+N.nearbyHeading),_&&B.push("src: "+_.slice(0,120)),B.push("parent: "+N.parentTag);let W=_;try{W=new URL(_,document.baseURI).href;}catch{}b.push({selector:L,attribute:"alt",currentValue:C,issueType:"missing_alt",wcag:"1.1.1",context:B.join(" | "),needsAI:true,imageSrc:W,outerHtml:y.outerHTML.slice(0,300)});}}let q=globalThis;for(let y of Array.from(document.querySelectorAll("object"))){if(b.length>=50)break;if(y.closest(p)||y.closest('[aria-hidden="true"]')||y.getAttribute("aria-hidden")==="true")continue;let _=(y.getAttribute("role")||"").trim().toLowerCase();if(_==="presentation"||_==="none"||!q.isVisible(y))continue;let x=y.getAttribute("data")||"",O=(y.getAttribute("type")||"").trim().toLowerCase(),I=O.startsWith("image/"),H=/\.(png|jpe?g|gif|webp|bmp|svg)(\?[^#]*)?(#.*)?$/i.test(x);if(!x||!(I||!O&&H)||(y.getAttribute("aria-label")||"").trim()||(y.getAttribute("title")||"").trim())continue;let M=(y.getAttribute("aria-labelledby")||"").trim();M&&M.split(/\s+/).some(z=>(document.getElementById(z)?.textContent||"").trim())||y.closest('a, button, [role="button"], [role="link"]')||b.push({selector:q.uniqueSel(y),attribute:"aria-label",currentValue:"",issueType:"missing_alt",wcag:"1.1.1",context:"object image has no accessible name (fallback content does not name an object) | data: "+x.slice(0,120),needsAI:false,outerHtml:y.outerHTML.slice(0,300)});}let R=Array.from(document.querySelectorAll("script:not([src])")).map(y=>y.textContent||"");for(let y of Array.from(document.querySelectorAll("canvas"))){if(b.length>=50)break;if(y.closest(p)||y.closest('[aria-hidden="true"]')||y.getAttribute("aria-hidden")==="true")continue;let _=(y.getAttribute("role")||"").trim().toLowerCase();if(_==="presentation"||_==="none"||!q.isVisible(y)||(y.getAttribute("aria-label")||"").trim()||(y.getAttribute("aria-labelledby")||"").trim()||(y.getAttribute("title")||"").trim()||(y.textContent||"").trim()||y.children.length||y.closest('a, button, label, figure, [role="img"], [role="button"], [role="link"], [aria-label], [aria-labelledby], [aria-describedby]'))continue;let x=y.getBoundingClientRect();if(x.width<=30||x.height<=30)continue;let O=y.getAttribute("id");if(!O)continue;let I=new RegExp("#"+O.replace(/[^\w-]/g,"")+`\\b|getElementById\\(\\s*['"]`+O.replace(/[^\w-]/g,"")+`['"]`);R.some(M=>I.test(M)&&/\b(fillText|strokeText)\s*\(/.test(M))&&b.push({selector:q.uniqueSel(y),attribute:"aria-label",currentValue:"",issueType:"missing_alt",wcag:"1.1.1",context:"canvas draws text via script but has no accessible name or fallback content",needsAI:false,outerHtml:y.outerHTML.slice(0,300)});}for(let y of v){if(b.length>=50)break;b.push(y);}return b},Dh={name:"missingAlt",cap:50,async detect(p){return p.evaluate(W3)}};var U3=()=>{let p="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=EquallyAI],[id*=ae_],[class*=ae-exclude]",d='a[href], button, input:not([type="hidden"]), select, textarea, summary, [contenteditable]:not([contenteditable="false" i]), [role="button"], [role="link"], [role="checkbox"], [role="menuitem"], [role="tab"], [role="switch"], [role="option"], [role="radio"], [role="combobox"], [role="slider"], [role="textbox"]',b=["onclick","data-action","ng-click","@click","v-on:click"],v=x=>{if(getComputedStyle(x).visibility==="hidden")return false;for(let O=x;O&&O.nodeType===1;O=O.parentElement)if(getComputedStyle(O).display==="none")return false;return true},m=x=>Array.prototype.some.call(x.querySelectorAll("a:not([href])"),O=>v(O)&&!isHiddenFromAT(O)&&b.some(I=>O.hasAttribute(I))),E=x=>Array.prototype.some.call(x.querySelectorAll(d),O=>v(O)&&!isHiddenFromAT(O)),A=[];return document.querySelectorAll("div[onclick], span[onclick]").forEach(x=>{if(A.length>=50||x.closest(p)||!isVisible(x)||isHiddenFromAT(x)||E(x)||m(x))return;let O=x.getAttribute("role");if(O==="button"||O==="link"||O==="tab"||O==="menuitem"||O==="checkbox"||O==="radio")return;let I=uniqueSel(x),H=x.outerHTML.slice(0,300);A.push({selector:I,attribute:"role",currentValue:O||"",issueType:"missing_button_role",wcag:"4.1.2",context:JSON.stringify({tag:x.tagName.toLowerCase(),hasOnclick:true,currentTabindex:x.getAttribute("tabindex")}),needsAI:false,fixValue:"button",outerHtml:H}),x.getAttribute("tabindex")===null&&A.push({selector:I,attribute:"tabindex",currentValue:"",issueType:"missing_button_role",wcag:"4.1.2",context:JSON.stringify({tag:x.tagName.toLowerCase(),supplementary:'tabindex needed alongside role="button"'}),needsAI:false,fixValue:"0",outerHtml:H});}),document.querySelectorAll("a:not([href])").forEach(x=>{if(A.length>=50||x.closest(p)||!isVisible(x)||isHiddenFromAT(x)||x.getAttribute("role"))return;let I=x.hasAttribute("onclick"),H=x.getAttribute("data-action")||x.getAttribute("ng-click")||x.getAttribute("@click")||x.getAttribute("v-on:click");if(!I&&!H||E(x))return;let M=uniqueSel(x),z=x.outerHTML.slice(0,300);A.push({selector:M,attribute:"role",currentValue:"",issueType:"missing_button_role",wcag:"4.1.2",context:JSON.stringify({tag:"a",href:x.getAttribute("href")||"",hasOnclick:I}),needsAI:false,fixValue:"button",outerHtml:z});}),document.querySelectorAll("nav, ol, ul").forEach(x=>{if(A.length>=50||x.closest(p)||!isVisible(x)||isHiddenFromAT(x))return;let O=(x.className&&typeof x.className=="string"?x.className:"").toLowerCase(),I=(x.getAttribute("id")||"").toLowerCase();if(!O.includes("breadcrumb")&&!O.includes("crumb")&&!I.includes("breadcrumb")&&!I.includes("crumb"))return;let H=x.querySelectorAll("a");if(H.length<2)return;let M=(x.getAttribute("aria-label")||"").toLowerCase(),z=x.getAttribute("role");if(M.includes("breadcrumb")||M.includes("crumb")||z==="navigation"&&M)return;let V=uniqueSel(x);A.push({selector:V,attribute:"aria-label",currentValue:M,issueType:"missing_semantic_role",wcag:"4.1.2",context:JSON.stringify({tag:x.tagName.toLowerCase(),reason:"breadcrumb navigation missing aria-label",linkCount:H.length}),needsAI:false,fixValue:"Breadcrumb",outerHtml:x.outerHTML.slice(0,300)});}),document.querySelectorAll("form, section, div").forEach(x=>{if(A.length>=50||x.closest(p)||!isVisible(x)||isHiddenFromAT(x))return;let O=(x.className&&typeof x.className=="string"?x.className:"").toLowerCase(),I=(x.getAttribute("id")||"").toLowerCase();if(!O.includes("search")&&!I.includes("search")||!x.querySelector('input[type="search"], input[type="text"], input[name*="search"], input[placeholder*="earch"]'))return;let M=x.getAttribute("role");if(M==="search"||x.closest('[role="search"]')||x.querySelector('[role="search"]')||Array.prototype.some.call(x.querySelectorAll("form, section, div"),X=>{let Q=(X.className&&typeof X.className=="string"?X.className:"").toLowerCase(),C=(X.getAttribute("id")||"").toLowerCase();return !Q.includes("search")&&!C.includes("search")||X.getAttribute("role")==="search"?false:!!X.querySelector('input[type="search"], input[type="text"], input[name*="search"], input[placeholder*="earch"]')}))return;let V=uniqueSel(x);A.push({selector:V,attribute:"role",currentValue:M||"",issueType:"missing_semantic_role",wcag:"4.1.2",context:JSON.stringify({tag:x.tagName.toLowerCase(),reason:'search section missing role="search"'}),needsAI:false,fixValue:"search",outerHtml:x.outerHTML.slice(0,300)});}),document.querySelectorAll('[role="menu"], [role="menubar"]').forEach(x=>{if(x.closest(p))return;let O=x.getAttribute("role")||"menu",I=Array.from(x.querySelectorAll("a")).filter(M=>{if(!isVisible(M)||isHiddenFromAT(M))return false;let z=M.getAttribute("role");return z!=="menuitem"&&z!=="menuitemcheckbox"&&z!=="menuitemradio"});if(I.length===0)return;let H=uniqueSel(x);A.push({selector:H,attribute:"role",currentValue:O,issueType:"missing_semantic_role",wcag:"4.1.2",context:JSON.stringify({tag:x.tagName.toLowerCase(),reason:`${I.length} link(s) inside role="${O}" without menuitem roles`,sample:I.slice(0,3).map(M=>(M.textContent||"").trim().slice(0,40))}),message:`container role="${O}" holds ${I.length} link(s) without menuitem roles \u2014 for site navigation use a nav list instead (role="menu" requires the full menu pattern: menuitem children plus arrow-key handling)`,needsAI:false,needsReview:true,reviewReason:'Adding role="menuitem" to plain navigation links is invalid ARIA when the menu pattern is not implemented. Prefer removing role="menu"/"menubar" from site navigation; keep it only for application menus built to the APG menu pattern.',outerHtml:x.outerHTML.slice(0,300)});}),A},Ah={name:"missingRoles",cap:50,async detect(p){return p.evaluate(U3)}};var X3=()=>{let p="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye]",b=[],v={main:'main, [role="main"]',navigation:'nav, [role="navigation"]',banner:'header, [role="banner"]',contentinfo:'footer, [role="contentinfo"]',complementary:'aside, [role="complementary"]',search:'[role="search"]'};for(let[m,E]of Object.entries(v))document.querySelectorAll(E).forEach(A=>{if(b.length>=30||A.closest(p)||typeof isVisible=="function"&&!isVisible(A))return;let F=A.parentElement,q=null;for(;F&&F!==document.body;){if(F.matches(E)){q=F;break}F=F.parentElement;}if((m==="banner"||m==="contentinfo")&&A.closest("article, section, aside, main, nav")||!q||A.getAttribute("aria-label")?.trim()||A.getAttribute("aria-labelledby")?.trim())return;let R=typeof uniqueSel=="function"?uniqueSel(A):"",y=typeof getNearbyContext=="function"?getNearbyContext(A):{nearbyHeading:""};b.push({selector:R,attribute:"role",currentValue:A.getAttribute("role")||A.tagName.toLowerCase(),issueType:"nested_landmark",wcag:"1.3.1",context:`nested-in: ${m} | tag: ${A.tagName.toLowerCase()} | heading: ${y.nearbyHeading||""}`,needsAI:false,fixValue:"generic",outerHtml:(A.outerHTML||"").slice(0,300)});});return b},_h={name:"nestedLandmarks",cap:30,async detect(p){return p.evaluate(X3)}};var Y3=()=>{let d=[],b=C=>typeof parseCssColor=="function"?parseCssColor(C):null,v=(C,h,S)=>typeof relLuminance=="function"?relLuminance(C,h,S):0,E=(C,h)=>typeof contrastRatio=="function"?contrastRatio(C,h):1;function T(C){let h=document.documentElement,S=C.parentElement,D=0;for(;S&&S!==h&&D<6;){let W=getComputedStyle(S).backgroundColor||"",J=b(W);if(J&&J[3]>.5)return [J[0],J[1],J[2]];S=S.parentElement,D++;}let L=document.body;if(S&&S!==h&&L&&L.contains(S)){let W=b(getComputedStyle(L).backgroundColor||"");if(W&&W[3]>.5)return [W[0],W[1],W[2]]}let N=b(getComputedStyle(h).backgroundColor||""),B=N?Math.min(N[3],1):0;return !N||B<=0?[255,255,255]:[Math.round(N[0]*B+255*(1-B)),Math.round(N[1]*B+255*(1-B)),Math.round(N[2]*B+255*(1-B))]}function A(C,h,S){return "#"+[C,h,S].map(D=>{let L=Math.max(0,Math.min(255,Math.round(D))).toString(16);return L.length===1?"0"+L:L}).join("")}function F(C,h,S){let D=v(h[0],h[1],h[2])>.5;return q(C,h,S,D)||q(C,h,S,!D)}function q(C,h,S,D){let L=0,N=1,B=null;for(let W=0;W<20;W++){let J=(L+N)/2,ie=D?[C[0]*(1-J),C[1]*(1-J),C[2]*(1-J)]:[C[0]+(255-C[0])*J,C[1]+(255-C[1])*J,C[2]+(255-C[2])*J],ne=[Math.round(ie[0]),Math.round(ie[1]),Math.round(ie[2])];E(ne,h)>=S?(B=ne,N=J):L=J;}return B}let R=(C,h)=>{let S=Math.max(0,Math.min(1,C[3]));return [C[0]*S+h[0]*(1-S),C[1]*S+h[1]*(1-S),C[2]*S+h[2]*(1-S)]};function y(C,h){let S=C.boxShadow||"";if(!S||S==="none")return null;let D=[],L=0,N="";for(let W of S)W==="("&&L++,W===")"&&L--,W===","&&L===0?(D.push(N),N=""):N+=W;N&&D.push(N);let B=null;for(let W of D){let J=W.match(/rgba?\([^)]*\)/),ie=J?b(J[0]):null;if(!ie||ie[3]<=0||(W.replace(/rgba?\([^)]*\)/,"").replace("inset","").trim().split(/\s+/).map(me=>parseFloat(me)).filter(me=>Number.isFinite(me))[3]??0)<=0)continue;let _e=E(R(ie,h),h);(B===null||_e>B)&&(B=_e);}return B}function _(C){let h=getComputedStyle(C),S=T(C),D=null,L=parseFloat(h.borderTopWidth||"0"),N=(h.borderTopStyle||"").toLowerCase(),B=b(h.borderTopColor||"");L>0&&N!=="none"&&N!=="hidden"&&B&&B[3]>0&&(D=E(R(B,S),S));let W=b(h.backgroundColor||"");if(W&&W[3]>0){let ie=E(R(W,S),S);(D===null||ie>D)&&(D=ie);}let J=y(h,S);return J!==null&&(D===null||J>D)&&(D=J),D}function x(C){let h=C.getBoundingClientRect();if(h.width*h.height<=0)return null;let S='input, select, textarea, button, [role="button"], svg, img, i, label',D=C.parentElement,L=null;for(let N=0;D&&N<3&&!(D===document.body||D===document.documentElement);N++,D=D.parentElement){let B=D.getBoundingClientRect();if(B.width*B.height>4*h.width*h.height+1||B.height>Math.max(2.5*h.height,h.height+40))break;let W=false,J=document.createTreeWalker(D,4),ie=J.nextNode();for(;ie;){if((ie.textContent||"").trim()&&ie.parentElement&&!ie.parentElement.closest(S)&&isVisible(ie.parentElement)){W=true;break}ie=J.nextNode();}if(W)break;let ne=_(D);ne!==null&&ne>1.01&&(L===null||ne>L)&&(L=ne);}return L}let O=C=>/^(img|picture|video|canvas|object|embed|iframe)$/.test((C.tagName||"").toLowerCase())||(getComputedStyle(C).backgroundImage||"none")!=="none",I=(C,h)=>{let S=Math.min(C.right,h.right)-Math.max(C.left,h.left),D=Math.min(C.bottom,h.bottom)-Math.max(C.top,h.top);return S>0&&D>0&&S*D/(C.width*C.height)>=.5},H=null;function M(C){let h=C.getBoundingClientRect();if(h.width*h.height<=0)return false;let S=h.left+h.width/2,D=h.top+h.height/2;if(S>=0&&D>=0&&S<window.innerWidth&&D<window.innerHeight&&typeof document.elementsFromPoint=="function"){let N=document.elementsFromPoint(S,D),B=N.indexOf(C);if(B>=0){for(let W of N.slice(B+1)){if(O(W))return true;let J=b(getComputedStyle(W).backgroundColor||"");if(J&&J[3]>.5)return false}return false}}for(let N=C.parentElement,B=0;N&&B<8;N=N.parentElement,B++){let W=getComputedStyle(N);if((W.backgroundImage||"none")!=="none")return true;let J=b(W.backgroundColor||"");if(J&&J[3]>.5||N===document.documentElement)break}H||(H=Array.from(document.querySelectorAll("img, picture, video, canvas, object, embed, iframe")));for(let N of H)if(!(N===C||C.contains(N)||N.contains(C))&&I(h,N.getBoundingClientRect())&&isVisible(N))return true;let L=C.offsetParent||C.parentElement;if(L&&L!==document.body&&L!==document.documentElement){let N=L.getElementsByTagName("*");for(let B=0;B<N.length&&B<400;B++){let W=N[B];if(!(W===C||C.contains(W)||W.contains(C))&&I(h,W.getBoundingClientRect())&&(getComputedStyle(W).backgroundImage||"none")!=="none"&&isVisible(W))return true}}return false}function z(C){for(let L=C.parentElement;L&&L.nodeType===1;L=L.parentElement)if(parseFloat(getComputedStyle(L).opacity||"1")<1)return false;let h=L=>{if(L.tagName.toLowerCase()!=="svg"){let W=b(getComputedStyle(L).color||"");return W&&W[3]>0?[W]:null}let N=[],B=Array.from(L.querySelectorAll("path, rect, circle, ellipse, polygon, polyline, line, text, use"));for(let W of B){let J=W.getBoundingClientRect();if(J.width===0&&J.height===0)continue;let ie=getComputedStyle(W);if(ie.display==="none"||ie.visibility==="hidden"||parseFloat(ie.opacity||"1")<1)return null;for(let[ne,ce]of [[ie.fill,ie.fillOpacity],[ie.stroke,parseFloat(ie.strokeWidth||"0")>0?ie.strokeOpacity:"0"]]){let _e=String(ne||"");if(!_e||_e==="none"||parseFloat(String(ce??"1"))===0)continue;if(_e.startsWith("url"))return null;let me=b(_e);if(!me)return null;me[3]*=parseFloat(String(ce??"1")),me[3]>0&&N.push(me);}}return N.length?N:null},S=[];for(let L=0;L<=255;L+=17)S.push(L);let D=Array.from(C.querySelectorAll('svg, i[class], [class*="icon"]'));for(let L of D){let N=L.getBoundingClientRect();if(N.width*N.height===0)continue;let B=getComputedStyle(L);if(B.display==="none"||B.visibility==="hidden")continue;let W=h(L);if(!W)continue;let J=null,ie=1,ne=true;for(let me=L;me;me=me===C?null:me.parentElement){let Se=getComputedStyle(me),Ge=parseFloat(Se.opacity||"1");if(!J){let Pe=b(Se.backgroundColor||""),ve=String(Se.backgroundClip||"border-box").toLowerCase();if(!(String(Se.backgroundImage||"none")==="none")){ne=false;break}if(Pe&&Pe[3]>=1&&ve==="border-box")J=[Pe[0],Pe[1],Pe[2]];else if(Ge<1){ne=false;break}}J&&(ie*=Ge);}if(!J||!ne)continue;let ce=J,_e=1/0;for(let me of W){let Se=R(me,ce);for(let Ge of S)for(let Pe of S)for(let ve of S){let De=[Ge,Pe,ve],yt=R([Se[0],Se[1],Se[2],ie],De),rt=R([ce[0],ce[1],ce[2],ie],De),Ne=E(yt,rt);Ne<_e&&(_e=Ne);}}if(_e>=3)return true}return false}let V="control sits over an image, so the background colour measured behind it is not what the user sees \u2014 judge its boundary or glyph against the image pixels in the crop (WCAG 1.4.11, 3:1)";function X(C){let h=C.tagName.toLowerCase(),S=h==="input"||h==="select"||h==="textarea"?h+" field":h;d.push({selector:uniqueSel(C),message:"non-text contrast: "+S+" over an image backdrop \u2014 "+V,attribute:"style",currentValue:"?",issueType:"non_text_contrast_insufficient",wcag:"1.4.11",context:h+" backdrop=image needs=3",needsAI:false,needsReview:true,reviewReason:V,outerHtml:C.outerHTML.slice(0,200)});}let Q=document.querySelectorAll('input:not([type="hidden"]), select, textarea, button, [role="button"], [role="checkbox"], [role="radio"], [role="switch"]');for(let C of Q){if(d.length>=30)break;if(isWidget(C)||isHiddenFromAT(C)||!isVisible(C))continue;let h=getComputedStyle(C),S=T(C),D=b(h.backgroundColor||""),L=b(h.borderTopColor||""),N=parseFloat(h.borderTopWidth||"0"),B=(h.borderTopStyle||"").toLowerCase(),W=N>0&&B!=="none"&&B!=="hidden",J=C.tagName.toLowerCase(),ie=J==="input"||J==="select"||J==="textarea",ne=null;if(J==="input"){let Ae=(C.type||"").toLowerCase(),Ir=(h.appearance||h.webkitAppearance||"").toLowerCase();if(Ae==="checkbox"||Ae==="radio"){let cr=Ir==="none"?"":String(h.accentColor||"").trim().toLowerCase(),dr=cr&&cr!=="auto"?b(cr):null;if(dr&&dr[3]>.5)ne=E([dr[0],dr[1],dr[2]],S);else if(Ir&&Ir!=="none")continue}}let ce=W&&L&&L[3]>.5?E([L[0],L[1],L[2]],S):null,_e=D&&D[3]>.5?E([D[0],D[1],D[2]],S):ne,me=y(h,S),Se=ce===null&&_e===null&&me===null?null:Math.max(ce??0,_e??0,me??0);if(ie&&M(C)){X(C);continue}if(ie&&(Se===null||Se<3)){let Ae=x(C);if(Ae!==null&&Ae>=3)continue}let Ge=null,Pe=false,ve="";if(ie)Se!==null?(Ge=Se,Se<3&&(Pe=true)):(Pe=true,Ge=1);else {let Ae=false,Ir=document.createTreeWalker(C,4),cr=Ir.nextNode();for(;cr;){if((cr.textContent||"").trim()&&cr.parentElement&&isVisible(cr.parentElement)){Ae=true;break}cr=Ir.nextNode();}if(Ae)continue;let dr=M(C);{let ue=["Top","Right","Bottom","Left"].map(qe=>({w:parseFloat(h["border"+qe+"Width"]||"0"),s:String(h["border"+qe+"Style"]||"").toLowerCase(),c:b(h["border"+qe+"Color"]||"")})),be=ue.filter(qe=>qe.w>0&&qe.s!=="none"&&qe.s!=="hidden"&&qe.c&&qe.c[3]>.5),We=ue.filter(qe=>qe.w>0&&qe.s!=="none"&&qe.s!=="hidden"&&qe.c&&qe.c[3]===0),tt=true;for(let qe=C.parentElement;qe&&qe.nodeType===1;qe=qe.parentElement)if(parseFloat(getComputedStyle(qe).opacity||"1")<1){tt=false;break}let st=Math.max(0,Math.min(1,parseFloat(h.opacity||"1"))),mt=String(h.backgroundClip||"border-box").toLowerCase(),Je=!!D&&D[3]>=1&&st>=1&&mt==="border-box";if(be.length&&We.length&&tt&&(!dr||Je)){let qe=D&&D[3]>0?R(D,S):S,Xt=R([qe[0],qe[1],qe[2],st],S),Yt=Mr=>{let Kn=R(Mr,qe);return R([Kn[0],Kn[1],Kn[2],st],S)};if(be.some(Mr=>E(Yt(Mr.c),Xt)>=3))continue}}if(dr){if(z(C))continue;X(C);continue}let Yn=Array.from(C.querySelectorAll('img, svg, picture, canvas, i[class], [class*="icon"]')),zt=new Map,Qa=ue=>{let be=ue.getBoundingClientRect();if(be.width*be.height===0)return "absent";let We=parseFloat(getComputedStyle(C).opacity||"1");for(let tt=ue;tt&&tt!==C;tt=tt.parentElement){let st=getComputedStyle(tt);if(st.display==="none")return "absent";if(st.visibility==="hidden"||parseFloat(st.opacity||"1")===0)return "hidden-at-rest";We*=parseFloat(st.opacity||"1");}return zt.set(ue,We),"painted"},ei=Yn.map(Qa),ot=Yn.filter((ue,be)=>ei[be]==="painted"),Lr=ot.length>0,ln=!Lr&&ei.includes("hidden-at-rest"),de=ue=>{let be=(ue.tagName||"").toLowerCase();if(be==="img"||be==="picture"||be==="canvas"||be==="svg"&&ue.querySelector("image, foreignObject, linearGradient, radialGradient, pattern"))return null;let We=[];if(be==="svg"){let st=ue.querySelector("path, circle, rect, polygon, polyline, line, ellipse, use, text");for(let mt of [st,ue]){if(!mt)continue;let Je=getComputedStyle(mt),qe=1;for(let Yt=mt;Yt&&Yt!==ue;Yt=Yt.parentElement||Yt.parentNode)qe*=parseFloat(getComputedStyle(Yt).opacity||"1");let Xt=Yt=>Number.isFinite(parseFloat(Yt))?parseFloat(Yt):1;if(Je.fill&&Je.fill!=="none"&&!Je.fill.startsWith("url")&&We.push({color:Je.fill,alpha:qe*Xt(Je.fillOpacity)}),Je.stroke&&Je.stroke!=="none"&&!Je.stroke.startsWith("url")&&parseFloat(Je.strokeWidth||"0")>0&&We.push({color:Je.stroke,alpha:qe*Xt(Je.strokeOpacity)}),We.length)break}}else ((ue.textContent||"").trim()||getComputedStyle(ue,"::before").content!=="none")&&We.push({color:getComputedStyle(ue).color,alpha:1});let tt=null;for(let st of We){let mt=b(st.color);if(!mt)continue;let Je=mt[3]*st.alpha*(zt.get(ue)??1),qe=[mt[0]*Je+S[0]*(1-Je),mt[1]*Je+S[1]*(1-Je),mt[2]*Je+S[2]*(1-Je)],Xt=E(qe,S);(tt===null||Xt>tt)&&(tt=Xt);}return tt};if(Lr&&ot.map(de).some(be=>be!==null&&be>=3))continue;let te=false,oe=h.position;if((oe==="absolute"||oe==="fixed")&&C.parentElement){let ue=C.getBoundingClientRect(),be=C.parentElement.getBoundingClientRect(),We=be.width*be.height;We>0&&ue.width*ue.height/We>=.85&&(te=true);}if(Lr||te||ln){if(Pe=true,Ge=W&&L&&L[3]>.5?E([L[0],L[1],L[2]],S):1,Ge>=3)continue;ve=Lr?"control is identified by an image or icon \u2014 verify the graphic itself has 3:1 contrast against its surroundings":ln?"control is identified by an icon that is transparent until hover/focus \u2014 verify the revealed icon has 3:1 contrast against its surroundings":"control is an overlay covering other content, which provides its visual affordance \u2014 verify the underlying presentation";}else Se!==null?(Ge=Se,Se<3&&(Pe=true)):(Pe=true,Ge=1);}if(!Pe)continue;let De=L&&L[3]>.5?[L[0],L[1],L[2]]:D&&D[3]>.5?[D[0],D[1],D[2]]:[128,128,128],yt=F(De,S,3);if(!yt)continue;let rt=A(yt[0],yt[1],yt[2]),Ne=A(S[0],S[1],S[2]),Ft="border: 1px solid "+rt+" !important;",Za=uniqueSel(C),Fr=C.tagName.toLowerCase(),$t=Se===null&&!W?"invisible (no border, no fill: 1.00:1)":Ge?Ge.toFixed(2)+":1":"not measurable",Lt=Fr==="input"||Fr==="select"||Fr==="textarea"?Fr+" field":Fr,zr=ve?"non-text contrast: "+Lt+" boundary is "+$t+" against "+Ne+" (needs 3:1) \u2014 "+ve:"non-text contrast: "+Lt+" boundary (border and fill) is "+$t+" against "+Ne+", needs 3:1 \u2014 e.g. border-color "+rt;d.push({selector:Za,message:zr,attribute:"style",currentValue:Ge?Ge.toFixed(2):"?",issueType:"non_text_contrast_insufficient",wcag:"1.4.11",context:Fr+" bg="+Ne+" ratio="+(Ge?Ge.toFixed(2):"?")+" needs=3",needsAI:false,...ve?{needsReview:true,reviewReason:ve}:{fixValue:Ft},outerHtml:C.outerHTML.slice(0,200)});}return d},Eh={name:"nonTextContrast",cap:30,async detect(p){return p.evaluate(Y3)}};var K3=()=>{let p="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",b=[],v=/location\s*[=.]|location\s*\.\s*href|\.submit\s*\(|window\s*\.\s*open|history\s*\.\s*(push|replace)/i,m=document.querySelectorAll("[onfocus]");for(let E of Array.from(m)){if(b.length>=20)break;if(E.closest(p))continue;let T=E.getAttribute("onfocus")||"";if(!T||!v.test(T))continue;let A=typeof uniqueSel=="function"?uniqueSel(E):"",F=typeof getNearbyContext=="function"?getNearbyContext(E):{parentTag:E.tagName.toLowerCase(),nearbyHeading:""},q=[];q.push("tag: "+E.tagName.toLowerCase()),q.push("onfocus: "+T.slice(0,100)),F.nearbyHeading&&q.push("heading: "+F.nearbyHeading),q.push("parent: "+F.parentTag),b.push({selector:A,attribute:"onfocus",currentValue:T.slice(0,200),issueType:"onfocus_context_change",wcag:"3.2.1",context:q.join(" | "),needsAI:true,outerHtml:(E.outerHTML||"").slice(0,300)});}return b},Ch={name:"onFocus",cap:20,async detect(p){return p.evaluate(K3)}};var J3=()=>{let p="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",d=[],b=['a[href="#main-content"]','a[href="#main"]','a[href="#content"]','a[href="#skip"]','a[href="#skip-content"]','a[href="#maincontent"]',"a.skip-link","a.skip-nav","a.skip-to-content","a.skiplink","a.skip-navigation",'[class*="skip-link"]','[class*="skip-nav"]'],v=false;for(let y of b){let _=document.querySelector(y);if(_&&!_.closest(p)){v=true;break}}if(!v){let y=document.querySelectorAll('a[href^="#"]');for(let _ of y){if(_.closest(p))continue;let x=(_.textContent||"").toLowerCase();if(x.includes("skip")&&(x.includes("main")||x.includes("content")||x.includes("nav"))){v=true;break}}}if(!v){let y=document.querySelectorAll('button, input[type="button"], input[type="submit"]');for(let _ of Array.from(y)){if(_.closest(p))continue;let x=(_.getAttribute("value")||_.textContent||"").trim().toLowerCase();if(x.includes("skip")&&(x.includes("main")||x.includes("content")||x.includes("nav"))){v=true;break}}}if(!v){let y=document.body?document.body.firstElementChild:null;if(y&&y.matches('main, [role="main"], div#main')){let _=getComputedStyle(y),x=y.getBoundingClientRect();_.display!=="none"&&_.visibility!=="hidden"&&!y.closest('[hidden], [aria-hidden="true"]')&&x.width>0&&x.height>0&&(v=true);}}if(!v){let y=Array.from(document.querySelectorAll('main, [role="main"], div#main'));for(let _ of y){let x=getComputedStyle(_);if(x.display==="none"||x.visibility==="hidden"||_.closest('[hidden], [aria-hidden="true"]'))continue;if(Array.from(_.querySelectorAll("h1, h2, h3, h4, h5, h6")).some(I=>{let H=getComputedStyle(I);return H.display!=="none"&&H.visibility!=="hidden"&&!I.closest('[hidden], [aria-hidden="true"]')})){v=true;break}}}if(!v&&document.querySelector("nav")){let y=document.querySelectorAll("a, button");for(let _ of Array.from(y)){if(_.closest(p))continue;let x=(_.textContent||"").trim().toLowerCase();if((x.includes("toggle")||x.includes("hide")||x.includes("collapse")||x.includes("show"))&&x.includes("content")){v=true;break}}}if(v||Array.from(document.querySelectorAll('main, [role="main"]')).filter(y=>{let _=getComputedStyle(y);if(_.display==="none"||_.visibility==="hidden"||y.closest('[hidden], [aria-hidden="true"]'))return false;let x=y.getBoundingClientRect();return x.width>0&&x.height>0}).length===1)return d;let E="",T=document.querySelector('main[id], [role="main"][id]');if(T&&T.getAttribute("id"))E=T.getAttribute("id");else {let y=document.querySelector("h1[id]");if(y&&y.getAttribute("id"))E=y.getAttribute("id");else {let _=["main-content","maincontent","main","content","skip-content"];for(let x of _)if(document.getElementById(x)){E=x;break}}}let A=E==="",F=E||"main-content",R="<style>.wa-skip-link{position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden;z-index:999999;padding:8px 16px;background:#000;color:#fff;font-size:14px;text-decoration:none;border-radius:0 0 4px 0;}.wa-skip-link:focus{position:fixed;left:8px;top:8px;width:auto;height:auto;overflow:visible;outline:2px solid #fff;outline-offset:2px;}</style>"+'<a href="#'+F+'" class="wa-skip-link">Skip to main content</a>';return d.push({selector:"body",attribute:"prepend",currentValue:"",issueType:"skip_link",wcag:"2.4.1",context:A?'No skip navigation link found, and no element with a referenceable id (e.g. <main id="main-content">) exists to target.':"No skip navigation link found on page; target resolved to #"+F,needsAI:false,fixValue:R,...A?{manualFix:true}:{}}),d},Sh={name:"skipLink",async detect(p){return p.evaluate(J3)}};var Z3=()=>{let b=[],v=document.querySelectorAll("*"),m=0;for(let E of Array.from(v)){if(m++>5e3||b.length>=20)break;if(E.closest("[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye]")||typeof isVisible=="function"&&!isVisible(E))continue;let A=getComputedStyle(E).backgroundImage||"";if(!A||A==="none"||!A.includes("url("))continue;let F=A.match(/url\((['"]?)(.*?)\1\)/);if(!F)continue;let q=F[2];if(!q||q.startsWith("data:")&&q.length<256)continue;let R=E.getBoundingClientRect();if(R.width<32||R.height<32)continue;let y=E.tagName.toLowerCase(),_=E.getAttribute("role")||"",x=y==="a"||y==="button"||_==="button"||_==="link"||E.closest("a,button,[role=button],[role=link]")!==null,O=(E.textContent||"").trim().length>0,I=!!E.getAttribute("aria-label"),H=!!E.getAttribute("aria-labelledby"),M=!!E.getAttribute("title"),z=!!E.querySelector('img[alt]:not([alt=""])');if(E.closest('[aria-hidden="true"]')){let h=E.closest("a[href]");if(!!h&&Array.from(document.querySelectorAll("a[href]")).some(D=>D!==h&&D.href===h.href&&!D.closest('[aria-hidden="true"]')))continue}if(I||H||M||z||O||!x)continue;let V=E.closest("a,button,[role=button],[role=link]");if(V&&V!==E){let h=(V.textContent||"").trim(),S=V.getAttribute("aria-label")||V.getAttribute("title")||"",D=V.getAttribute("aria-labelledby"),L=!!V.querySelector('img[alt]:not([alt=""])');if(h||S.trim()||D||L)continue}let X=q;try{X=new URL(q,location.href).toString();}catch{continue}let Q=typeof uniqueSel=="function"?uniqueSel(E):"",C=typeof getNearbyContext=="function"?getNearbyContext(E):{parentTag:y,nearbyHeading:""};b.push({selector:Q,attribute:"aria-label",currentValue:"",issueType:"background_image_unlabeled",wcag:"1.1.1",context:`bg: ${X.slice(0,140)} | tag: ${y} | role: ${_||"(none)"} | parent: ${C.parentTag}${C.nearbyHeading?" | heading: "+C.nearbyHeading:""}`,needsAI:true,imageSrc:X,outerHtml:(E.outerHTML||"").slice(0,300)});}return b},kh={name:"backgroundImages",cap:20,async detect(p){return p.evaluate(Z3)}};var Q3=()=>{let p="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye]",b=[];return document.querySelectorAll("svg").forEach(m=>{if(b.length>=50||m.closest(p)||!isVisible(m)||m.getAttribute("aria-hidden")==="true")return;let T=m.getAttribute("role");if(T==="presentation"||T==="none"||m.closest('[aria-hidden="true"]'))return;let A=m.getAttribute("aria-label")||"",F=m.getAttribute("aria-labelledby")||"",q=m.querySelector("title"),R=q?(q.textContent||"").trim():"";if(A.trim()||F.trim()||R)return;let y=m.getBoundingClientRect(),_=y.width<=16&&y.height<=16;if(y.width<=4||y.height<=4||m.getAttribute("preserveAspectRatio")==="none")return;let x=m.closest('a, button, [role="button"], [role="link"], [onclick]');if(x){if(x.getAttribute("aria-label")?.trim()||x.getAttribute("aria-labelledby")?.trim())return;let S=getAccessibleName(x),D=x.cloneNode(true);D.querySelectorAll("svg").forEach(N=>N.remove());let L=(D.textContent||"").trim().replace(/\s+/g," ");if(S&&L.length>0)return}else {if(!/^(img|graphics-document|graphics-symbol)$/i.test((T||"").trim().split(/\s+/)[0])||_)return;let S=m.parentElement;if(S&&(S.textContent||"").trim().replace(/\s+/g," ").length>3)return}let O=uniqueSel(m),I=getNearbyContext(x||m),H=x&&x.getAttribute("href")||"",M=(x||m).outerHTML.slice(0,300),z=m.getAttribute("class")||"",V=m.getAttribute("data-icon")||"",X=x||m,Q=X&&X!==m&&X.getAttribute("class")||"",C=typeof lookupIconLabel=="function"?lookupIconLabel(String(z),V,"")||lookupIconLabel(String(Q),"",""):null,h=x?uniqueSel(x):O;b.push({selector:h,attribute:"aria-label",currentValue:"",issueType:"svg_missing_name",wcag:"1.1.1",context:JSON.stringify({parentTag:(x||m).tagName?(x||m).tagName.toLowerCase():"svg",href:H,nearbyHeading:I.nearbyHeading,parentRole:I.parentRole,svgClasses:z,iconLib:C||void 0,suggestion:"Add aria-label to the parent interactive element or <title> inside SVG"}),needsAI:!C,fixValue:C||void 0,outerHtml:M});}),b},Th={name:"svgNames",cap:50,async detect(p){return p.evaluate(Q3)}};var eI=()=>{let p={"line-height":1.5,"letter-spacing":.12,"word-spacing":.16},d=1e-9,b=Object.keys(p),v=30,m="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",E={px:1,pt:1.333333,pc:16,in:96,cm:37.795,mm:3.7795,q:.37795},T=C=>{let h=[];for(let S of C.split(";")){let D=S.match(/^\s*([-a-zA-Z]+)\s*:\s*(.*?)\s*$/);if(!D)continue;let L=D[1].toLowerCase();if(!b.includes(L))continue;let N=D[2],B=/!\s*important\s*$/i.test(N);N=N.replace(/!\s*important\s*$/i,"").trim(),N&&(L!=="line-height"&&/^[-+]?\d+(\.\d+)?$/.test(N)&&parseFloat(N)!==0||h.push({prop:L,value:N,important:B}));}return h},A=(C,h,S,D)=>{let L=h.trim().toLowerCase();if(/^normal$|^initial$/.test(L))return {kind:"narrow"};if(/^inherit$|^revert$|^unset$/.test(L))return {kind:"notBlocked"};if(L.startsWith("var(")||L.startsWith("calc(")||L.startsWith("env("))return {kind:"undetermined"};if(/^-?[\d.]+$/.test(L)){let ie=parseFloat(L);return C==="line-height"?{kind:"ratio",factor:ie}:{kind:"ratio",factor:0}}let N=L.endsWith("%")&&/\d/.test(L),B=N?L.slice(0,-1).trim().match(/^([\d.]+)$/):L.match(/^([\d.]+)(em|rem|vw|vh|px|pt|cm|mm|pc|in|q)$/);if(!B)return {kind:"undetermined"};let W=parseFloat(B[1]);if(N||L.endsWith("em")){let ie=D??S;return ie&&S&&isFinite(ie)&&isFinite(S)&&ie>0&&S>0?N?{kind:"ratio",factor:W/100*(ie/S)}:{kind:"ratio",factor:W*(ie/S)}:N?{kind:"ratio",factor:W/100}:{kind:"ratio",factor:W}}let J=L.match(/(rem|vw|vh|px|pt|cm|mm|pc|in|q)$/)?.[1];if(J==="px"||J&&E[J]){let ie=J==="px"?W:W*(E[J]||0);return S===null||!isFinite(S)||S<=0?{kind:"undetermined"}:{kind:"ratio",factor:ie/S}}return {kind:"undetermined"}},F=(C,h,S)=>{let D=C;for(;D;){let L=h.get(D);if(L){let N=L.filter(B=>B.prop===S);if(N.length){let B=N.filter(J=>J.important);return {decl:B.length?B[B.length-1]:N[N.length-1],from:D}}}D=D.parentElement;}return null},q=C=>{let h=C;for(;h;){let S=h.style;if(S&&(S.display==="none"||S.visibility==="hidden")||S&&(S.position==="absolute"||S.position==="fixed")&&(R(S.top)||R(S.left)))return false;if(S&&(S.overflowX==="scroll"||S.overflowX==="auto")){for(let D=C;D!==h;D=D.parentElement)if(D.style&&y(D.style.width)>=900)return false}h=h.parentElement;}return true},R=C=>{if(!C)return false;let h=C.match(/^(-)([\d.]+)(px|em|rem|vh|vw)$/i);if(!h)return false;let S=parseFloat(h[2]),D=h[3].toLowerCase();return D==="px"?S>=100:D==="em"||D==="rem"?S>=4:S>=10},y=C=>{let h=C?C.match(/^([\d.]+)px$/):null;return h?parseFloat(h[1]):0},_=[],x=[],O=new Map,I=typeof getComputedStyle=="function"?getComputedStyle:null,H=C=>{try{let h=I?I(C).fontSize:"",S=h?h.match(/^([\d.]+)px$/):null;return S?parseFloat(S[1]):null}catch{return null}},M=new Map,z=Array.from(document.querySelectorAll('[style*="important" i]'));for(let C of z)C.closest(m)||M.set(C,T(C.getAttribute("style")||""));for(let C of document.querySelectorAll("body [style]"))C.closest(m)||M.has(C)||M.set(C,T(C.getAttribute("style")||""));let V=[],X=document.createTreeWalker(document.body,1),Q=X.currentNode;for(;Q;)Array.from(Q.childNodes).some(h=>h.nodeType===3&&/\S/.test(h.textContent||""))&&!Q.closest(m)&&V.push(Q),Q=X.nextNode();for(let C of V){if(_.length>=v)break;if(q(C))for(let h of b){let S=F(C,M,h);if(!S||!S.decl.important)continue;let D=H(C),L=S.from===C?D:H(S.from)??D,N=A(h,S.decl.value,D,L);if(!(N.kind==="undetermined"||N.kind==="narrow"||N.kind==="ratio"&&N.factor+d<p[h]))continue;let W=O.get(S.from);W||(W=[],O.set(S.from,W),x.push({from:S.from,props:W})),W.includes(h)||W.push(h);}}for(let{from:C,props:h}of x){if(_.length>=v)break;let S=typeof uniqueSel=="function"?uniqueSel(C):"",D=typeof getNearbyContext=="function"?getNearbyContext(C):{parentTag:C.parentElement?.tagName.toLowerCase()||"",nearbyHeading:""},L=[];L.push("blocked: "+h.join(",")),L.push("tag: "+C.tagName.toLowerCase()),D.nearbyHeading&&L.push("heading: "+D.nearbyHeading),L.push("parent: "+D.parentTag),_.push({selector:S,attribute:"style",currentValue:(C.getAttribute("style")||"").slice(0,200),issueType:"text_spacing_blocked",wcag:"1.4.12",context:L.join(" | "),needsAI:true,outerHtml:(C.outerHTML||"").slice(0,300)});}return _},Rh={name:"textSpacing",cap:30,async detect(p){return p.evaluate(eI)}};var tI=()=>{let p="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",b=[],v=document.querySelectorAll('button, input[type="submit"], input[type="button"], input[type="reset"], [role="button"]');for(let m of v){if(b.length>=50)break;if(m.closest(p)||!isVisible(m))continue;let E=m,T=E.tagName==="INPUT"?(E.getAttribute("type")||"").toLowerCase():"";if(T==="submit"||T==="reset")continue;let A=(E.getAttribute("role")||"").trim().toLowerCase().split(/\s+/)[0];if((A==="none"||A==="presentation")&&E.disabled===true)continue;let F=(E.getAttribute("aria-label")||"").trim(),q=E.getAttribute("aria-labelledby"),R=(E.getAttribute("title")||"").trim(),y=(E.getAttribute("value")||"").trim(),_=(E.textContent||"").trim().replace(/\s+/g," "),x="";q&&(x=typeof __resolveIdRefs=="function"?__resolveIdRefs(q):"");let O=E.querySelector('img[alt]:not([alt=""])'),I=E.querySelector("svg title"),H=E.querySelector("svg[aria-label]");if(!!(F||x||R||y||_||O||I||H))continue;let z=uniqueSel(E),V=getNearbyContext(E),X=E.closest("form"),Q=X&&(X.getAttribute("id")||X.getAttribute("name"))||"",C=E.getAttribute("class")||"",h=E.querySelector('i, svg, span[class*="icon"]'),S=h&&h.getAttribute("class")||"",D=h&&h.getAttribute("data-icon")||"",L=h?(h.textContent||"").trim():"",N=typeof lookupIconLabel=="function"?lookupIconLabel(String(S),D,L):null,B=!N&&typeof lookupIconLabel=="function"?lookupIconLabel(String(C),"",""):null,W=N||B,J=[];Q&&J.push("form: "+Q),V.nearbyHeading&&J.push("heading: "+V.nearbyHeading),S&&J.push("icon: "+String(S).slice(0,80)),C&&J.push("class: "+String(C).slice(0,80)),J.push("parent: "+V.parentTag),W&&J.push("icon-lib: "+W),b.push({selector:z,attribute:"aria-label",currentValue:"",issueType:"unlabeled_button",wcag:"4.1.2",context:J.join(" | "),needsAI:!W,fixValue:W||void 0,outerHtml:E.outerHTML.slice(0,300)});}return b},Fh={name:"unlabeledButtons",cap:50,async detect(p){return p.evaluate(tI)}};var rI=()=>{let p=new Set(["more","info","click","click here","here","read more","learn more","see more","link","button","this"]),d=new Set(["submit","send","yes","no","next","prev","previous","back","view","details","continue","go","ok","open","close","apply","save"]),b={};function v(C){if(isWidget(C)||!isVisible(C))return;let h=getAccessibleName(C);if(!h)return;let S=h.toLowerCase().trim();b[S]=(b[S]||0)+1;}document.querySelectorAll("a[href]").forEach(C=>v(C));let m=new Set(["fa","fas","far","fab","fal","fad","material-icons","material-symbols","bi","glyphicon"]),E=["fa-","bi-","icon-","icofont-","dashicons-","heroicon","feather-","lucide-","material-"];function T(C){let h=C.toLowerCase();return m.has(h)||E.some(S=>h.startsWith(S))}let A=/[\u4e00-\u9fff\u3040-\u30ff\uac00-\ud7af]/;function F(C,h){return A.test(C)?1:h}let q=50,R=[];function y(C){if((C.textContent||"").trim().replace(/\s+/g," ").length>0)return false;let S=C.querySelectorAll("i, span, em");for(let D of S)if((typeof D.className=="string"?D.className:"").split(/\s+/).some(T))return true;return false}function _(C){let h=C.className||"";return typeof h!="string"?false:h.split(/\s+/).some(T)}function x(C){if(R.length>=q||isWidget(C)||!isVisible(C))return;let h=getAccessibleName(C);if(!h)return;let S=h.toLowerCase().trim(),D=false,L=h.length>=2&&/^[A-Z][A-Z0-9]+$/.test(h.trim()),N=/^[[(]?\d{1,4}[\])]?$/.test(h.trim());if(h.length<F(h,3)&&!L&&!N)D=true;else if(p.has(S))D=true;else if(d.has(S)&&(b[S]||0)>=2){let ne=(C.getAttribute("aria-label")||"").trim().toLowerCase(),ce=!!C.getAttribute("aria-labelledby")||!!ne&&ne!==S,_e=C.querySelector&&C.querySelector('.sr-only, .visually-hidden, [class*="sr-only"], [class*="visually-hidden"], [class*="screen-reader"]'),me=_e?(_e.textContent||"").trim().toLowerCase():"";!ce&&!(_e&&me!==S)&&(D=true);}else (y(C)||_(C)&&h.length===0)&&(C.getAttribute("aria-label")||C.getAttribute("aria-labelledby")||C.querySelector&&C.querySelector('.sr-only, .visually-hidden, [class*="sr-only"], [class*="visually-hidden"]')||(D=true));if(!D)return;let B=getNearbyContext(C),W=uniqueSel(C),J=C.getAttribute("href")||"",ie=C.outerHTML.slice(0,300);R.push({selector:W,attribute:"aria-label",currentValue:(C.getAttribute("aria-label")||"").trim(),message:"weak link name: "+(C.getAttribute("aria-label")||C.getAttribute("aria-labelledby")?`"${h}" is too generic for a control \u2014 add distinguishing context`:`text "${h}" is too generic for a control \u2014 add distinguishing context`),issueType:"weak_link_name",wcag:"2.4.4",needsReview:true,reviewReason:"WCAG 2.4.4 (AA) judges link purpose in context: the link text together with its sentence, paragraph, list item or table cell (nearbyText). A link whose text names its destination page or topic passes, even as one word in a menu. Fail only generic text (here, more, click here, read more) whose context still does not say where the link goes.",context:JSON.stringify({currentText:h,href:J,nearbyHeading:B.nearbyHeading,parentTag:B.parentTag,parentRole:B.parentRole,cardText:B.cardText||"",imgAlt:B.imgAlt||""}),needsAI:true,outerHtml:ie});}document.querySelectorAll("a[href]").forEach(C=>x(C));let O=/^(untitled(?:\s+document)?|new\s+page|new\s+document|home|page\s*\d*|document|untitled)$/i,I=/^(iframe|embed|widget|frame|content|untitled)$/i,H=new Set(["section","title","heading","headings","page","content","chapter","part","article","document","intro","untitled","test","lorem","tbd","todo","draft","sample","example","welcome","hello","hi","home"]);function M(C){return !!(!C||C.getAttribute("aria-hidden")==="true"||C.closest('[aria-hidden="true"]'))}function z(C,h,S,D,L,N){if(R.length>=q)return;let B=uniqueSel(C),W=(C.outerHTML||"").slice(0,300);R.push({selector:B,attribute:h,currentValue:S,issueType:D,wcag:L,context:JSON.stringify(N),needsAI:true,outerHtml:W});}let V=document.querySelectorAll("h1,h2,h3,h4,h5,h6");for(let C=0;C<V.length&&!(R.length>=q);C++){let h=V[C];if(!h||isWidget(h)||M(h)||!isVisible(h))continue;let S=getAccessibleName(h);if(!S)continue;let D=S.toLowerCase().trim(),L=D.split(/\s+/).filter(Boolean),N=()=>{if(!/^\p{L}$/u.test(S))return false;let J=h.nextElementSibling;if(!J)return false;let ie=J.tagName.toLowerCase(),ne=[];if(ie==="dl"?ne=Array.from(J.querySelectorAll("dt")):ie==="ul"||ie==="ol"?ne=Array.from(J.children).filter(_e=>_e.tagName==="LI"):ie==="table"&&(ne=Array.from(J.querySelectorAll("tbody tr, tr")).map(_e=>_e.cells&&_e.cells[0])),ne=ne.filter(Boolean),ne.length<1)return false;let ce=S.toLowerCase();return ne.every(_e=>(_e.textContent||"").trim().toLowerCase().startsWith(ce))},B=false;if(S.length<F(S,3)?B=!N():(L.length===1&&(p.has(D)||H.has(D))||/^page\s*\d+$/i.test(D)||/^section\s*\d+$/i.test(D)||/^chapter\s*\d+$/i.test(D)||/^[^\p{L}\p{N}]+$/u.test(S))&&(B=true),!B)continue;let W=getNearbyContext(h);z(h,"textContent",S,"weak_heading","2.4.6",{currentText:S,tag:h.tagName.toLowerCase(),nearbyHeading:W.nearbyHeading,parentTag:W.parentTag,parentRole:W.parentRole});}let X=document.querySelectorAll("iframe");for(let C=0;C<X.length&&!(R.length>=q);C++){let h=X[C];if(!h||isWidget(h)||M(h))continue;let S=getComputedStyle(h);if(h.getClientRects().length===0||S.visibility==="hidden"||S.visibility==="collapse"||(h.getAttribute("src")||"").trim().toLowerCase().indexOf("javascript:")===0)continue;let D=(h.getAttribute("title")||"").trim();if(!D)continue;let L=D.toLowerCase(),N=false;if((D.length<F(D,3)||I.test(L)||p.has(L))&&(N=true),!N)continue;let B=(h.getAttribute("src")||"").slice(0,120),W=getNearbyContext(h);z(h,"title",D,"weak_iframe_title","4.1.2",{currentTitle:D,src:B,nearbyHeading:W.nearbyHeading,parentTag:W.parentTag});}if(R.length<q){let C=document.querySelector("head > title, title"),h=(document.title||"").trim();if(C&&h){let S=h.toLowerCase(),D=false;(h.length<F(h,5)||O.test(S)||/^untitled/i.test(h))&&(D=true),D&&R.push({selector:"title",attribute:"textContent",currentValue:h,issueType:"weak_page_title",wcag:"2.4.2",context:JSON.stringify({currentTitle:h,hostname:typeof location<"u"&&location&&location.hostname||"",pathname:typeof location<"u"&&location&&location.pathname||""}),needsAI:true,outerHtml:(C.outerHTML||"").slice(0,300)});}}let Q=document.querySelectorAll("svg");for(let C=0;C<Q.length&&!(R.length>=q);C++){let h=Q[C];if(!h||isWidget(h)||M(h)||h.getAttribute("role")==="presentation"||h.getAttribute("role")==="none"||!isVisible(h))continue;let S=h.querySelector("title"),D=S?(S.textContent||"").trim():"",L=(h.getAttribute("aria-label")||"").trim(),N=L||D;if(!N)continue;let B=N.toLowerCase(),W=false;if((N.length<F(N,3)||p.has(B)||/^(icon|svg|image|graphic|logo)$/i.test(N))&&(W=true),!W)continue;let J=h.closest('a, button, [role="button"], [role="link"]'),ie=getNearbyContext(h);z(h,L?"aria-label":"title",N,"weak_svg_name","1.1.1",{currentName:N,svgClasses:h.getAttribute("class")||"",parentTag:J?J.tagName.toLowerCase():ie.parentTag,parentHref:J&&J.getAttribute("href")||"",nearbyHeading:ie.nearbyHeading});}return R},Ih={name:"weakNames",cap:50,async detect(p){return p.evaluate(rI)}};var nI=()=>{let d=[],b=document.querySelector('meta[name="viewport"]');if(b){let m=(b.getAttribute("content")||"").trim(),E=m.toLowerCase(),T=false,A=[];(E.indexOf("user-scalable=no")>=0||E.indexOf("user-scalable=0")>=0)&&(T=true,A.push("user-scalable=no blocks pinch-zoom"));let F=["yes","no","device-width","device-height"],q=E.match(/user-scalable\s*=\s*([a-z][a-z-]*)/);q&&F.indexOf(q[1])<0&&(T=true,A.push("user-scalable="+q[1]+" (invalid, parsed as 0)"));let R=E.match(/maximum-scale\s*=\s*([a-z][a-z-]*)/);R&&F.indexOf(R[1])<0&&(T=true,A.push("maximum-scale="+R[1]+" (invalid, parsed as 0)"));let y=E.match(/maximum-scale\s*=\s*([\d.]+)/);y&&parseFloat(y[1])<2&&(T=true,A.push("maximum-scale="+y[1]+" (<2)")),T&&d.push({selector:'meta[name="viewport"]',attribute:"content",currentValue:m,issueType:"zoom_restriction",wcag:"1.4.4",context:"viewport blocks zoom: "+A.join(" | "),needsAI:false,fixValue:"width=device-width, initial-scale=1"});}let v=[{el:document.documentElement,selector:"html"},{el:document.body,selector:"body"}];for(let m=0;m<v.length&&!(d.length>=5);m++){let E=v[m];if(E.el)try{let A=(getComputedStyle(E.el).getPropertyValue("touch-action")||"").trim().toLowerCase();(A==="none"||A==="pinch-zoom")&&d.push({selector:E.selector,attribute:"style",currentValue:"touch-action: "+A,issueType:"zoom_restriction",wcag:"1.4.4",context:"CSS touch-action: "+A+" on <"+E.selector+"> prevents pinch-zoom",needsAI:!1,fixValue:"touch-action: manipulation !important;"});}catch{}}return d},Lh={name:"zoomUnlock",cap:5,async detect(p){return p.evaluate(nI)}};var aI=()=>{let d=[],b=document.body?document.body.querySelectorAll("*"):[];for(let v=0;v<b.length&&d.length<10;v++){let m=b[v],E=m.tagName.toLowerCase();if(E==="script"||E==="style"||E==="svg"||E==="textarea"||E==="select")continue;let T="";for(let M=m.firstChild;M;M=M.nextSibling)M.nodeType===3&&(T+=M.nodeValue);if(!T.replace(/\s+/g,"").length)continue;let A=getComputedStyle(m);if(A.display==="none"||A.visibility==="hidden"||A.display==="contents")continue;let F=A.overflowX,q=A.overflowY,R=F==="hidden"||F==="clip",y=q==="hidden"||q==="clip";if(!R&&!y||m.closest('[aria-hidden="true"],[hidden],[inert]'))continue;let _=m.clientWidth,x=m.clientHeight;if(x<=1||_<=1)continue;let O=A.webkitLineClamp||A.getPropertyValue("-webkit-line-clamp");if(O&&O!=="none")continue;let I="";if(y&&m.scrollHeight>x+2?I="height "+x+"px < content "+m.scrollHeight+"px":R&&A.textOverflow!=="ellipsis"&&m.scrollWidth>_+2&&(I="width "+_+"px < content "+m.scrollWidth+"px"),!I){let M=parseFloat(A.fontSize);if(!(M>0))continue;let z=m.style.getPropertyValue("font-size"),V=m.style.getPropertyPriority("font-size");m.style.setProperty("font-size",M*2+"px","important");let X=m.clientHeight,Q=m.clientWidth;y&&X>1&&m.scrollHeight>X+2?I="at 200%: height "+X+"px < content "+m.scrollHeight+"px":R&&A.textOverflow!=="ellipsis"&&Q>1&&m.scrollWidth>Q+2&&(I="at 200%: width "+Q+"px < content "+m.scrollWidth+"px"),z?m.style.setProperty("font-size",z,V):m.style.removeProperty("font-size");}if(!I)continue;let H=typeof uniqueSel=="function"?uniqueSel(m):E;d.push({selector:H,attribute:"style",currentValue:(m.getAttribute("style")||"").slice(0,200),issueType:"resize_text_clipped",wcag:"1.4.4",context:"text clipped by overflow:hidden: "+I,needsAI:true,needsReview:true,reviewReason:"WCAG 1.4.4 Resize Text: this text is cut off by overflow:hidden ("+I+"). Violation when content or function is lost at 200% text size and no other mechanism shows it. Pass when the clipped part is decorative or repeated elsewhere, or the box grows or scrolls when text is resized.",outerHtml:(m.outerHTML||"").slice(0,300)});}return d},Mh={name:"textClip",cap:10,async detect(p){return p.evaluate(aI)}};var iI=()=>{let p=[],d=document.querySelectorAll('main *, [role="main"] *, body > div *'),b=new Set,v=Math.min(d.length,200);for(let m=0;m<v;m++){let E=d[m];if(b.has(E)||!E.offsetParent)continue;b.add(E);let T=getComputedStyle(E),A=parseInt(T.order||"0",10),F=T.position;if(A>=3){let q=E.getBoundingClientRect();if(q.width>0&&q.height>0){let R=(E.textContent?.trim().length||0)>10,y=!!E.querySelector("a, button, input, select, textarea");(R||y)&&p.push({selector:typeof uniqueSel=="function"?uniqueSel(E):E.tagName.toLowerCase(),attribute:"data-sequence-review",currentValue:`CSS order: ${A}`,issueType:"meaningful_sequence",wcag:"1.3.2",context:`Element uses CSS order:${A} \u2014 content with interactive elements or text is visually reordered far from its DOM position, which confuses screen readers and keyboard users.`,needsAI:true});}}if(F==="absolute"){if(!!!E.querySelector("a, button, input, select, textarea"))continue;let R=E.parentElement;if(!R||R.children.length<=2)continue;let y=E.getBoundingClientRect(),_=R.getBoundingClientRect();(y.top<_.top-100||y.left<_.left-300)&&p.push({selector:typeof uniqueSel=="function"?uniqueSel(E):E.tagName.toLowerCase(),attribute:"data-sequence-review",currentValue:`position: ${F}, displaced ${Math.round(Math.abs(y.top-_.top))}px`,issueType:"meaningful_sequence",wcag:"1.3.2",context:"Interactive content is absolutely positioned far from its DOM location. Screen readers and keyboard users will encounter it in a different order than visual users.",needsAI:true});}}return p},Oh={name:"meaningfulSequence",async detect(p){return p.evaluate(iI)}};var Ph={name:"sensoryCharacteristics",async detect(p){let{instructionalTexts:d,controlLabels:b,navCount:v,labelTexts:m}=await p.evaluate(()=>{let A=[],F=document.querySelectorAll('p, li, td, label, span, div, a, button, h1, h2, h3, h4, h5, h6, figcaption, [role="alert"], [role="status"]'),q=Math.min(F.length,300),R=[];document.querySelectorAll('button, a[href], [role="button"], input[type="button"], input[type="submit"]').forEach(O=>{let I=((O.textContent||"")+" "+(O.getAttribute("aria-label")||"")+" "+(O.getAttribute("value")||"")).trim().toLowerCase();I&&R.push(I);});let y=O=>!!O.offsetParent||getComputedStyle(O).position==="fixed",_=Array.from(document.querySelectorAll('nav, [role="navigation"]')).filter(y).length,x=[];document.querySelectorAll('h1, h2, h3, h4, h5, h6, nav, [role="navigation"], [role="menu"], [role="menubar"], [aria-label], summary, button, a, legend').forEach(O=>{if(!y(O))return;let I=((O.getAttribute("aria-label")||"")+" "+(O.tagName.match(/^(H\d|SUMMARY|BUTTON|A|LEGEND)$/)&&O.textContent||"")).trim().toLowerCase();I&&I.length<=60&&x.push(I);});for(let O=0;O<q;O++){let I=F[O];if(!I.offsetParent||I.children.length>3||I.querySelector("p, div, ul, ol, li, table, section, article, nav, header, footer, main, aside, form, h1, h2, h3, h4, h5, h6")||I.closest('[aria-hidden="true"]'))continue;let H=I.textContent?.trim()||"";H.length<15||H.length>300||/click|tap|press|select|choose|find|look|see|drag|scroll|hover|go to|navigate/i.test(H)&&A.push({text:H,selector:typeof uniqueSel=="function"?uniqueSel(I):I.tagName.toLowerCase()});}return {instructionalTexts:A.slice(0,20),controlLabels:R,navCount:_,labelTexts:x}});if(d.length===0)return [];let E=[],T=A=>{let F=(A.toLowerCase().match(/\b(navigation|menu)\b/)||[])[1];return F?v===1?true:m.some(q=>q.indexOf(F)!==-1):false};for(let{text:A,selector:F}of d){A.toLowerCase();let R=/\b(round|square|circular|triangular|arrow-shaped)\b.*\b(button|icon|element|thing)\b/i.test(A)&&!/\b(submit|cancel|close|menu|search|delete|edit|save|back|next|previous|home)\b/i.test(A),y=/\b(header|footer|sidebar menu|breadcrumb)\b/i.test(A)||T(A),_=/\b(on the|to the|in the)\s+(left|right|top|bottom|upper|lower|above|below|sidebar)\b/i.test(A)&&!y&&/\b(click|tap|press|select|find)\b/i.test(A),x=/\b(red|green|blue|yellow|orange|purple|pink|gray|grey|white|black)\s+(button|link|icon|text|area|section|box|dot|circle|indicator)\b/i.test(A)&&!/\b(submit|cancel|close|delete|save|success|error|warning|danger)\b/i.test(A),O=/\b(large|small|big|tiny|narrow|wide)\s+(button|link|icon|box|area)\b/i.test(A)&&/\b(click|tap|press|select|find)\b/i.test(A),I=/\b(?:labell?ed|called|named|titled)\s+["'“‘]/i.test(A),H=(A.match(/\b(round|square|circular|triangular|arrow-shaped|red|green|blue|yellow|orange|purple|pink|gray|grey|white|black|large|small|big|tiny|narrow|wide)\b/i)||[])[1],M=!!H&&b.some(z=>z.indexOf(H.toLowerCase())!==-1);if(!(I||M)&&(R||_||x||O)){let z=R?"shape":_?"position":x?"color":"size";E.push({selector:F,attribute:"data-sensory-review",currentValue:A.slice(0,100),issueType:"sensory_characteristic",wcag:"1.3.3",context:`Instruction relies on ${z} alone: "${A.slice(0,80)}". Provide a non-sensory way to identify the referenced element (e.g., by name, label, or function).`,needsAI:true});}}return E}};var oI=()=>{let p=[],d=document.querySelectorAll("img");for(let b of d){if(!b.offsetParent||b.width<50||b.height<20||b.complete&&b.naturalWidth===0)continue;let v=b.src||b.getAttribute("data-src")||"",m=v.indexOf(","),E=(v.toLowerCase().startsWith("data:")&&m!==-1?v.slice(0,m):v).toLowerCase(),T=b.getAttribute("alt")||"",A=b.getAttribute("role")||"";if(b.getAttribute("aria-hidden")==="true"||!!b.closest('[aria-hidden="true"]')||A==="presentation"||A==="none"||b.hasAttribute("alt")&&T.trim()==="")continue;let q=b.width>200&&b.height<80&&b.height>15,R=/banner|header|logo-text|title|heading|cta|promo|offer|button.*\.(?:png|jpg|gif|webp)/i.test(E);if(!(R||q)||/(?:^|\/)(?:img|dsc|dscn|dcim|pict)[-_]?\d|photo|gallery/i.test(E)&&!R)continue;let _=b.closest("a[href]"),x=(()=>{if(!_)return false;let Q=_.getAttribute("href")||"";if(Q==="/"||Q==="")return true;try{let C=new URL(_.href,location.href);return C.origin!==location.origin?!1:!!(C.pathname.replace(/\/+$/,"")===""||/^\/(?:index|home|default)(?:\.\w+)?$/i.test(C.pathname)||/^\/[a-z]{2}(?:-[a-z]{2})?(?:\.\w+)?$/i.test(C.pathname))}catch{return false}})();if(x&&(_.textContent||"").trim().length===0)continue;let I="";if(_&&!x&&(_.textContent||"").trim().length===0)try{let Q=new URL(_.href,location.href),C=T.trim().split(/\s+/).filter(Boolean);if(Q.origin!==location.origin&&/^https?:$/.test(Q.protocol)&&C.length>0&&C.length<=4&&T.trim().length<=40){let h=B=>B.toLowerCase().normalize("NFKD").replace(/[^\p{L}\p{N}]/gu,""),S=h(T),D=Q.hostname.toLowerCase().split(".").filter(B=>B&&B!=="www"),L=(D.length>1?D.slice(0,-1):D).map(h).filter(Boolean);I=S.length>=3&&(S===h(D.join(""))||S===L.join("")||L.some(B=>S===B||B.length>=5&&S.startsWith(B)))?"exempt":"review";}}catch{}let H=!!b.closest('header, [role="banner"], footer, [role="contentinfo"]'),M=b.height>0&&b.height<=120,z=H&&M,V=/logo|brand|wordmark|hero|banner-?(?:img|image)?|footer|marketing|promo|cover|screenshot|dashboard/i,X=z||V.test(E)||V.test(b.className)||V.test(b.getAttribute("id")||"");E.includes("icon")||E.includes("avatar")||E.includes("emoji")||p.push({selector:typeof uniqueSel=="function"?uniqueSel(b):"img",attribute:"data-image-of-text",currentValue:E.split("/").pop()?.slice(0,60)||"",issueType:"image_of_text",wcag:"1.4.5",context:`Image may contain text (${b.width}x${b.height}px, alt="${T.slice(0,40)}"). Use real text with CSS styling instead.`,needsAI:true,imageSrc:b.src,...X||I?{needsReview:true,reviewReason:z?"small graphic in the header/footer landmark \u2014 likely a logo, wordmark, or brand signature, which are exempt under WCAG 1.4.5 (logotypes)":I==="exempt"?"image is the only content of a link to another site and its alt names that site \u2014 likely the partner/sponsor logo, exempt under WCAG 1.4.5 (logotypes); confirm the image holds only the brand name":I==="review"?"image is the only content of a link to another site and its alt is a short name \u2014 likely a partner/sponsor logo, exempt under WCAG 1.4.5 (logotypes)":"filename suggests marketing/brand imagery; logos and brand collateral are exempt under WCAG 1.4.5"}:{}});}return p},Nh={name:"imagesOfText",async detect(p){return p.evaluate(oI)}};var qh={name:"reflow",async detect(p){let d=p;if(!d.setViewport)return [];let b=d.viewport?.()??{width:1280,height:720},v=b.width??1280,m=b.height??720;try{return await d.setViewport({width:320,height:m}),await new Promise(T=>setTimeout(T,500)),await p.evaluate(T=>{let A=[],F=document.querySelectorAll("body *"),q=Math.min(F.length,500);for(let R=0;R<q;R++){let y=F[R];if(!y.offsetParent)continue;let _=y.tagName.toLowerCase();if(_==="script"||_==="style"||_==="noscript")continue;let x=y.getBoundingClientRect();x.right>T+5&&x.width>T*1.1&&A.push({selector:typeof uniqueSel=="function"?uniqueSel(y):_,attribute:"style",currentValue:`${Math.round(x.width)}px wide at ${T}px viewport`,issueType:"reflow_overflow",wcag:"1.4.10",context:`Element is ${Math.round(x.width)}px wide and overflows the ${T}px viewport by ${Math.round(x.right-T)}px. Content must reflow to a single column at 320px CSS width without horizontal scrolling.`,needsAI:!1,fixValue:"max-width: 100%; overflow-wrap: break-word;"});}return document.documentElement.scrollWidth>T+10&&A.push({selector:"html",attribute:"data-reflow",currentValue:`scrollWidth ${document.documentElement.scrollWidth}px at ${T}px viewport`,issueType:"reflow_overflow",wcag:"1.4.10",context:`Page has horizontal scrollbar at ${T}px width. WCAG 1.4.10 requires content to reflow without horizontal scrolling at 320 CSS pixels (equivalent to 1280px at 400% zoom).`,needsAI:!1,fixValue:"Fix elements causing horizontal overflow at narrow viewports"}),A},320)}finally{await d.setViewport({width:v,height:m}).catch(()=>{});}}};var sI=()=>{let p=[],d=document.querySelectorAll("video");for(let v of d){if(v.autoplay&&!v.muted&&p.push({selector:typeof uniqueSel=="function"?uniqueSel(v):"video",attribute:"muted",currentValue:"autoplay without muted",issueType:"unsafe_autoplay",wcag:"1.4.2",context:"Video autoplays with sound. Either mute by default, provide a mechanism to pause, or limit to 3 seconds.",needsAI:false,fixValue:"true"}),!(v.offsetParent!==null&&getComputedStyle(v).display!=="none"))continue;let E=v.getBoundingClientRect();if(E.width===0&&E.height===0||v.error)continue;let T=/mute|unmute|sound|volume|audio|play|pause/i,A=!!v.parentElement?.querySelector('button, [role="button"]')||!!v.getAttribute("id")&&!!document.querySelector('[aria-controls~="'+(v.getAttribute("id")||"").replace(/"/g,"")+'"]');for(let x=v.parentElement?.parentElement||null,O=0;x&&!A&&O<3;x=x.parentElement,O++)A=Array.from(x.querySelectorAll('button, [role="button"]')).some(I=>T.test((I.getAttribute("aria-label")||"")+" "+(I.getAttribute("title")||"")+" "+(I.textContent||"")));if((v.muted||v.hasAttribute("muted"))&&(v.loop||v.hasAttribute("loop"))&&!v.hasAttribute("controls")&&!A)continue;let F=v.querySelectorAll("track"),q=Array.from(F).find(x=>x.kind==="captions"||x.kind==="subtitles"),R=Array.from(F).find(x=>x.kind==="descriptions");v.src||v.querySelector("source")?.src||"";let _=typeof uniqueSel=="function"?uniqueSel(v):"video";q||p.push({selector:_,attribute:"data-captions-missing",currentValue:"",issueType:"missing_captions",wcag:"1.2.2",context:'Video element has no <track kind="captions">. Provide synchronized captions for all prerecorded audio content. Add: <track kind="captions" src="captions.vtt" srclang="en" label="English">',needsAI:false,fixValue:'Add <track kind="captions" src="captions.vtt" srclang="en" label="English" default>',needsReview:true,reviewReason:"cannot verify an audio track in-page \u2014 confirm the video has speech content before adding captions (silent videos need none)"}),R||p.push({selector:_,attribute:"data-audio-description",currentValue:"",issueType:"missing_audio_description",wcag:"1.2.5",context:"Video has no audio description track. For prerecorded video with meaningful visual content not described in the audio, provide an audio description track or a text transcript.",needsAI:true,needsReview:true,reviewReason:"needs a human to judge whether the video shows information its audio does not describe"});}let b=document.querySelectorAll("audio");for(let v of b){let m=typeof uniqueSel=="function"?uniqueSel(v):"audio";v.closest("figure, div, section")?.querySelector('a[href*="transcript"], [class*="transcript"]')||p.push({selector:m,attribute:"data-transcript-missing",currentValue:"",issueType:"missing_transcript",wcag:"1.2.1",context:"Audio element has no associated transcript. Provide a text transcript for all prerecorded audio-only content.",needsAI:true}),v.autoplay&&!v.muted&&p.push({selector:m,attribute:"muted",currentValue:"autoplay without muted",issueType:"unsafe_autoplay",wcag:"1.4.2",context:"Audio autoplays with sound. Provide a way to pause/stop/mute, or limit to 3 seconds.",needsAI:false,fixValue:"true"});}return p},Bh={name:"mediaAlternatives",cap:50,async detect(p){return (await p.evaluate(sI)).slice(0,50)}};var lI=()=>{let p=[],d=document.querySelector('meta[http-equiv="refresh"]');if(d){let C=d.getAttribute("content")||"",h=parseInt(C,10);!isNaN(h)&&h>0&&h<72e3&&p.push({selector:`meta[http-equiv="refresh"][content*="${C.trim().slice(0,20)}"]`,attribute:"data-auto-refresh",currentValue:C,issueType:"auto_refresh",wcag:"2.2.1",context:`Page auto-refreshes after ${h}s. Users must be able to turn off, adjust, or extend time limits (WCAG 2.2.1).`,needsAI:false,manualFix:true});}let b=document.querySelectorAll("[accesskey]");for(let C of b){let h=C.getAttribute("accesskey")||"";if(h.length===1){let S=typeof uniqueSel=="function"?uniqueSel(C):C.tagName.toLowerCase();p.push({selector:S,attribute:"accesskey",currentValue:h,issueType:"character_key_shortcut",wcag:"2.1.4",context:`Single character accesskey "${h}". Must allow users to remap or disable single-character shortcuts. Consider using modifier key combinations instead.`,needsAI:false,fixValue:"Provide a mechanism to remap or turn off the shortcut, or use modifier keys"});}}let v=document.querySelectorAll("select");for(let C of v){let h=C.hasAttribute("onchange"),S=C.getAttribute("onchange")||"";if(h&&/submit|location|href|navigate|window\./i.test(S)){let D=typeof uniqueSel=="function"?uniqueSel(C):"select";p.push({selector:D,attribute:"onchange",currentValue:S.slice(0,80),issueType:"on_input_change",wcag:"3.2.2",context:"Select element changes context on input (navigates or submits). Add an explicit submit button instead of auto-submitting on selection change.",needsAI:false,fixValue:"Add a submit button; remove auto-navigation from onchange"});}}let m=document.querySelectorAll("[ontouchstart], [ontouchmove], [ongesturestart], [ongesturechange]");for(let C of m)if(!(C.hasAttribute("onclick")||C.hasAttribute("onkeydown")||C.hasAttribute("onkeyup"))){let S=typeof uniqueSel=="function"?uniqueSel(C):C.tagName.toLowerCase();p.push({selector:S,attribute:"data-pointer-gesture",currentValue:"touch/gesture handler without keyboard alternative",issueType:"pointer_gesture",wcag:"2.5.1",context:"Element has touch/gesture handler but no keyboard or click alternative. All multipoint/path-based gestures must have single-pointer alternatives.",needsAI:true});}let E=document.querySelectorAll("[onmousedown]");for(let C of E){let h=C.hasAttribute("onmouseup"),S=C.tagName.toLowerCase();if(!h&&S!=="a"&&S!=="button"&&S!=="input"){let D=typeof uniqueSel=="function"?uniqueSel(C):S;p.push({selector:D,attribute:"data-pointer-cancellation",currentValue:"mousedown action without mouseup",issueType:"pointer_cancellation",wcag:"2.5.2",context:"Element fires action on mouse down-event. Use click or mouseup instead so users can cancel by moving the pointer away before releasing.",needsAI:false,fixValue:"Move action from onmousedown to onclick or onmouseup"});}}let T=/devicemotion|deviceorientation|accelerometer|gyroscope/i,A=/addEventListener\(\s*['"](?:devicemotion|deviceorientation)['"]\s*,\s*(?:\(\s*\)\s*=>|function\s*\(\s*\))\s*\{\s*(?:[A-Za-z_$][\w$]*\s*(?:\+\+|--)\s*;?\s*)+\}\s*\)/gi,F=/addEventListener\(\s*['"](?:click|keydown|keyup|input|change|pointerup|touchend)['"]/i,q=/(?:disable|turn off|switch off|stop|pause|deactivate|opt.?out)[^.]{0,40}(?:motion|shake|tilt|orientation|sensor|gyro|accelerometer)|(?:motion|shake|tilt|orientation|sensor)[^.]{0,40}(?:disable|turn off|switch off|opt.?out)/i;function R(){let C=document.querySelectorAll('label, button, [role="button"], [role="switch"], input[type="button"], input[type="checkbox"]');for(let h of Array.from(C)){let S=(h.textContent||"")+" "+(h.getAttribute("aria-label")||"")+" "+(h.getAttribute("value")||"");if(q.test(S))return true}return false}function y(C){return !T.test(C.replace(A,""))||F.test(C)?true:R()}let _=document.querySelectorAll("script:not([src]):not([data-wa-injected])");for(let C of _){let h=C.textContent||"";if(T.test(h)&&!y(h)){let S=[],D=C;for(;D&&D!==document.body&&D!==document.documentElement;){let B=D.parentElement,W=D.tagName.toLowerCase(),J=B?Array.from(B.children).filter(ne=>ne.tagName===D.tagName):[],ie=J.indexOf(D)+1;S.unshift(ie>1||J.length>1?W+":nth-of-type("+ie+")":W),D=B;}let L=D===document.body?"body":D===document.documentElement?"html":"",N=(L?L+" > ":"")+S.join(" > ");p.push({selector:N||"script",attribute:"data-motion-actuation",currentValue:"Uses device motion/orientation API",issueType:"motion_actuation",wcag:"2.5.4",context:"Page uses device motion/orientation. Any functionality operated by device motion must also be available via UI controls, and motion actuation must be disableable.",needsAI:true});break}}let x=document.querySelectorAll("form"),O='input:not([type="hidden"]):not([type="submit"]):not([type="button"]):not([type="reset"]):not([type="image"]), select, textarea',I=/\bcc-|card.?(?:number|num|no\b)|cardnumber|\bcvv|\bcvc|\bcsc\b|security.?code|\bexpir|\biban\b|routing|account.?(?:number|no\b)|sort.?code|\bbilling\b|transaction-(?:amount|currency)/i,H=/card|payment/i,M=/\b(?:pay|buy|purchase|donate|subscribe and pay|place (?:your |my )?order|complete (?:order|purchase|payment)|confirm (?:order|purchase|payment)|check ?out)\b/i,z=/\b(?:delete|remove|close|deactivate|cancel|terminate)\b[^.]{0,30}\b(?:account|profile|subscription|membership|data|records?)\b/i,V=/\b(?:e-?)?sign\b(?![\s\u00a0-]*(?:up|in|on|out)\b)|\bagree and (?:submit|continue|sign)\b/i,X=/\b(?:save|update|change)\b/i,Q=/e-?mail|name|phone|tel\b|zip|postal|company|organi[sz]ation|country/i;for(let C of x){let h=Array.from(C.querySelectorAll(O)),S=Ne=>[Ne.getAttribute("name"),Ne.getAttribute("id"),Ne.getAttribute("autocomplete"),Ne.getAttribute("placeholder"),Ne.getAttribute("aria-label")].join(" "),D=Array.from(C.querySelectorAll('button, input[type="submit"], input[type="image"]')).filter(Ne=>Ne.tagName!=="BUTTON"||!Ne.getAttribute("type")||(Ne.getAttribute("type")||"").toLowerCase()==="submit").map(Ne=>(Ne.getAttribute("value")||"")+" "+(Ne.textContent||"")+" "+(Ne.getAttribute("aria-label")||"")).join(" . "),L=h.some(Ne=>I.test(S(Ne)))||Array.from(C.querySelectorAll("iframe")).some(Ne=>H.test((Ne.getAttribute("title")||"")+" "+(Ne.getAttribute("name")||""))),N=h.some(Ne=>/signature/i.test(S(Ne))),B=L||M.test(D),W=z.test(D),J=N||V.test(D),ie=h.length>0&&h.some(Ne=>(Ne.getAttribute("type")||"").toLowerCase()==="email"||/e-?mail/i.test(S(Ne)))&&h.every(Ne=>{let Ft=Ne.tagName.toLowerCase()==="input"?(Ne.getAttribute("type")||"text").toLowerCase():Ne.tagName.toLowerCase();return Ft==="email"||Ft==="checkbox"||Ft==="tel"?true:Ft==="text"||Ft==="search"?Q.test(S(Ne)+" "+(Ne.closest("label")?.textContent||"")):false}),ne=(C.textContent||"").toLowerCase(),ce=/payment|credit card|billing|purchase|\border\b|checkout|bank|account number/i.test(ne),_e=/\bagree|terms|contract|binding|signature|consent|waiver/i.test(ne),me=/delete.*account|remove.*data|cancel.*account/i.test(ne),Se=B||W||J,Ge=ie&&(X.test(D)||me),Pe=!Se&&(!ie&&(ce||_e||me)||Ge);if(!Se&&!Pe)continue;let ve=!!C.querySelector('[type="checkbox"][required], [class*="confirm"], [id*="confirm"], [name*="confirm"]'),De=!!C.querySelector('[class*="review"], [class*="summary"], [id*="review"]');if(ve||De)continue;let yt=typeof uniqueSel=="function"?uniqueSel(C):"form",rt=Se?B?"financial":W?"data-deletion":"legal":Ge?me?"data-deletion":"data-modification":ce?"financial":_e?"legal":"data-deletion";p.push({selector:yt,attribute:"data-error-prevention",currentValue:rt,issueType:"error_prevention_missing",wcag:"3.3.4",context:`${rt.charAt(0).toUpperCase()+rt.slice(1)} form lacks a confirmation/review step. For ${rt} transactions, provide: (1) a review step before submission, (2) ability to check/correct input, or (3) ability to reverse the submission.`,needsAI:true,...Pe?{needsReview:true,reviewReason:Ge&&me?"form text is about deleting an account or data and its submit is generic \u2014 confirm whether submitting it deletes stored user data":Ge?"form saves contact/account details \u2014 confirm whether submitting it changes stored user data that cannot be reviewed or reversed":`form text mentions ${rt} topics but its controls show no ${rt} transaction (no payment fields, pay/order/delete submit, or signature) \u2014 confirm whether submitting it commits the user`}:{}});}return p},Hh={name:"timingAndInput",async detect(p){return p.evaluate(lI)}};var uI=()=>{let p=[],d=document.querySelectorAll('nav, [role="navigation"]');for(let m of d){if(!m.offsetParent||m.closest('footer, aside, [role="contentinfo"], [role="complementary"]')||m.parentElement?.closest('nav, [role="navigation"]'))continue;let E=m.getBoundingClientRect();if(E.top<=window.innerHeight)continue;let T=typeof uniqueSel=="function"?uniqueSel(m):"nav";p.push({selector:T,attribute:"data-nav-position",currentValue:`top: ${Math.round(E.top)}px`,issueType:"inconsistent_navigation",wcag:"3.2.3",context:"Primary navigation appears below the visible viewport on this page. WCAG 3.2.3 (Consistent Navigation) is a cross-page criterion and cannot be confirmed from a single page \u2014 manually verify this navigation appears in the same relative order across pages that share this template.",needsAI:true,needsReview:true,reviewReason:"Consistent Navigation (3.2.3) is a cross-page criterion; single-page position alone cannot confirm a violation."});}let b=document.querySelectorAll('[class*="blink" i], [class*="flash" i], [class*="strobe" i], blink, marquee');for(let m of b){if(!m.offsetParent)continue;let E=m.getBoundingClientRect();if(E.width<1||E.height<1||!(m.textContent||"").trim()&&!m.querySelector("img, svg, video, canvas, picture")&&getComputedStyle(m).backgroundImage==="none")continue;let T=typeof uniqueSel=="function"?uniqueSel(m):m.tagName.toLowerCase();p.push({selector:T,attribute:"data-flashing",currentValue:m.tagName.toLowerCase(),issueType:"flashing_content",wcag:"2.3.1",context:"Element may produce flashing content. Content must not flash more than 3 times per second. Remove blinking/flashing effects or ensure they are below the threshold.",needsAI:true});}let v=document.querySelectorAll('img[src*=".gif"]');for(let m of v){if(!m.offsetParent||m.width<25||m.height<25)continue;let E=m.getBoundingClientRect();if(E.width>100&&E.height>100){let T=typeof uniqueSel=="function"?uniqueSel(m):"img";p.push({selector:T,attribute:"data-animated-gif",currentValue:(m.src||"").split("/").pop()?.slice(0,40)||"",issueType:"animated_gif_no_pause",wcag:"2.2.2",context:"Animated GIF detected. If this GIF is animated and loops continuously, provide a pause mechanism. Also verify it does not flash more than 3 times per second (WCAG 2.3.1).",needsAI:true});}}return p},Vh={name:"navigationAndWayfinding",async detect(p){return p.evaluate(uI)}};var jh={name:"flashDetection",async detect(p){let d=[];if(!p.screenshot)return d;let v=await p.evaluate(()=>{let R=document.documentElement.style.getPropertyValue("--wa-animations-frozen")==="1";if(R){let y=document.querySelectorAll("*");for(let _ of y)_.style.removeProperty("animation-play-state"),_.style.removeProperty("transition");}return R}),m=8,E=120,T=9,A=3,F=[];for(let q=0;q<m;q++){let R=await p.evaluate(y=>{let _=window.innerWidth,x=window.innerHeight,O=3,I=3,H=[];for(let M=0;M<I;M++)for(let z=0;z<O;z++){let V=Math.floor((z+.5)*(_/O)),X=Math.floor((M+.5)*(x/I)),Q=document.elementFromPoint(V,X);if(!Q){H.push(0);continue}let h=getComputedStyle(Q).backgroundColor||"rgba(0,0,0,0)",S=typeof parseCssColor=="function"?parseCssColor(h):null;if(!S){H.push(0);continue}let D=.2126*S[0]+.7152*S[1]+.0722*S[2];H.push(D);}return H},T);F.push(R),q<m-1&&await new Promise(y=>setTimeout(y,E));}v&&await p.evaluate(()=>{let q=document.querySelectorAll("*");for(let R of q)R.style.setProperty("animation-play-state","paused","important"),R.style.setProperty("transition","none","important");});for(let q=0;q<T;q++){let R=0,y=F[0][q],_=null;for(let I=1;I<m;I++){let H=F[I][q];if(Math.abs(H-y)>25){let z=H>y?"up":"down";_&&z!==_&&R++,_=z;}y=H;}let x=m*E/1e3,O=R/x;if(O>=A){let I=q%3,H=Math.floor(q/3);d.push({selector:"body",attribute:"data-flash-detected",currentValue:`${O.toFixed(1)} flashes/sec in region (${I},${H})`,issueType:"flashing_content",wcag:"2.3.1",context:`Content flashes ${O.toFixed(1)} times/second in screen region (row ${H}, col ${I}). WCAG requires no more than 3 flashes per second. This can trigger seizures in users with photosensitive epilepsy.`,needsAI:false,fixValue:"Remove or reduce flashing to below 3 per second, or ensure the flashing area is below the 21,824 sq pixel threshold"});}}return d}};var $h={name:"reducedMotion",async detect(p){let d=[],b=await p.evaluate(()=>{let v=false,m=false;for(let T of document.styleSheets)try{for(let A of T.cssRules){let F=A.cssText||"";/animation|transition|@keyframes/i.test(F)&&!/prefers-reduced-motion/.test(F)&&(v=!0),A instanceof CSSMediaRule&&/prefers-reduced-motion/i.test(A.conditionText||A.media?.mediaText||"")&&(m=!0);}}catch{}let E=document.querySelectorAll('[class*="animate"], [class*="slide"], [class*="fade"], [class*="bounce"], [class*="spin"], [class*="pulse"]');return E.length>0&&(v=true),{hasAnimations:v,hasReducedMotionQuery:m,animatedCount:E.length}});return b.hasAnimations&&!b.hasReducedMotionQuery&&d.push({selector:"html",attribute:"data-reduced-motion",currentValue:`${b.animatedCount} animated elements, no @media (prefers-reduced-motion) query`,issueType:"motion_without_reduced_motion",wcag:"2.3.3",context:'Page has animations/transitions but no @media (prefers-reduced-motion: reduce) query. Users who set "Reduce motion" in their OS settings will still see all animations. Add: @media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } }',needsAI:false,fixValue:"@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } }"}),d}};var cI=()=>{let p="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",b=[],v=/^(0+(\.0+)?|false|off|no|none|disabled?)$/i,m=h=>h!==null&&!v.test(h.trim()),E=h=>{let S=parseFloat((h||"").trim());return Number.isFinite(S)&&S>0},T=/^(carousel|slider|slideshow|slides|slick|swiper|splide|flickity|owl|flexslider|glide|layerslider|ls|rotator|gallery)$/i,A=h=>h.split(/[\s_-]+/).filter(Boolean),F=h=>{if((h.getAttribute("aria-roledescription")||"").trim().toLowerCase()==="carousel")return true;let S=typeof h.className=="string"?h.className:h.getAttribute("class")||"";return A(S).some(D=>T.test(D))},q=/^(autoplay|autoPlay|auto_play|autoStart|autostart|auto_start)$/,R=h=>{let S=h.trim();if(!S.startsWith("{"))return "";let D;try{D=JSON.parse(S);}catch{try{D=JSON.parse(S.replace(/'/g,'"'));}catch{return ""}}if(!D||typeof D!="object")return "";for(let L of Object.keys(D)){if(!q.test(L))continue;let N=D[L];if(N===true||typeof N=="number"&&N>0||typeof N=="string"&&m(N)&&N.trim()!==""||N&&typeof N=="object")return `${L}: ${JSON.stringify(N).slice(0,40)}`}return ""},y=h=>{for(let L of ["data-autoplay","data-auto","data-autostart","data-bs-autoplay","data-auto-play"]){if(!h.hasAttribute(L))continue;let N=h.getAttribute(L)||"";if((N.trim()===""||m(N))&&(F(h)||X(h)>=2))return {attr:L,value:N}}let S=["data-interval","data-bs-interval"].some(L=>h.hasAttribute(L)&&v.test((h.getAttribute(L)||"").trim()));for(let L of ["data-ride","data-bs-ride"])if((h.getAttribute(L)||"").trim().toLowerCase()==="carousel"&&!S)return {attr:L,value:"carousel"};for(let L of ["data-interval","data-bs-interval"]){let N=h.getAttribute(L);if(E(N)&&F(h))return {attr:L,value:N||""}}let D=F(h);for(let L of Array.from(h.attributes)){if(!L.name.startsWith("data-")||!D&&!A(L.name.slice(5)).some(B=>T.test(B)))continue;let N=R(L.value);if(N)return {attr:L.name,value:N}}if((h.getAttribute("aria-roledescription")||"").trim().toLowerCase()==="carousel"){let L=/autoplay["']?\s*[:=]\s*["']?(false|0|off|no)\b/i;for(let N of Array.from(h.attributes)){if(/(^|-)autoplay$/i.test(N.name)&&(N.value.trim()===""||m(N.value)))return {attr:N.name,value:N.value.slice(0,60)};if(/autoplay/i.test(N.value)&&!L.test(N.value))return {attr:N.name,value:N.value.slice(0,60)}}}return null},_=/^(pause|stop|play|playpause|resume)$/i,x=/\b(pause|stop|play|resume)\b/i,O=h=>{let S=[h.getAttribute("aria-label")||"",h.getAttribute("title")||"",h.getAttribute("value")||"",(h.textContent||"").trim().slice(0,80)],D=(h.getAttribute("aria-labelledby")||"").trim();if(D)for(let L of D.split(/\s+/))S.push(document.getElementById(L)?.textContent||"");for(let L of Array.from(h.querySelectorAll("img[alt]")))S.push(L.getAttribute("alt")||"");return S.join(" ")},I=h=>{let S=h.getAttribute("class")||"";return A(S).some(D=>_.test(D))?true:h.matches('a, button, input, [role="button"], [role="switch"], [role="checkbox"], [tabindex]')?x.test(O(h)):false},H=/^(section|article|main|nav|aside|header|footer|form|dialog)$/i,M=h=>F(h)||y(h)!==null||Array.from(h.querySelectorAll("*")).some(S=>F(S)||y(S)!==null),z=h=>{if(h.querySelector("[aria-pressed]"))return true;let S=[h];for(let N of Array.from(h.parentElement?.children||[]))N===h||H.test(N.tagName)||M(N)||S.push(N);let D=h.getAttribute("id"),L=N=>{let B=[...(N.getAttribute("aria-controls")||"").split(/\s+/),(N.getAttribute("data-bs-target")||N.getAttribute("data-target")||"").replace(/^#/,"")].filter(Boolean);return B.length>0&&!B.includes(D||"")};for(let N of S){if(N!==h&&I(N)&&!L(N))return true;for(let B of Array.from(N.querySelectorAll("*")))if(I(B)&&!L(B))return true}if(D){let N=typeof CSS<"u"&&CSS.escape?CSS.escape(D):D.replace(/["\\]/g,"\\$&");for(let B of Array.from(document.querySelectorAll(`[aria-controls~="${N}"], [data-target="#${N}"], [data-bs-target="#${N}"]`)))if(I(B))return true}return false},V=/^(slide|cell)$/i,X=h=>{let S=B=>A(B.getAttribute("class")||"").some(W=>V.test(W))&&!/(^|[\s_-])cloned?([\s_-]|$)/i.test(B.getAttribute("class")||""),D=Array.from(h.querySelectorAll("[class]")).filter(S),L=D.filter(B=>!D.some(W=>W!==B&&W.contains(B)));if(!L.length)return 0;let N=L.length;for(let B of L){let W=Array.from(B.parentElement?.children||[]).filter(J=>J.tagName===B.tagName&&!/(^|[\s_-])cloned?([\s_-]|$)/i.test(J.getAttribute("class")||""));N=Math.max(N,W.length);}return N},Q=new Set,C=(h,S)=>{if(b.length>=10||Q.has(h)||(Q.add(h),h.closest(p))||h.closest('[aria-hidden="true"], [hidden], template, noscript')||typeof isVisible=="function"&&!isVisible(h)||X(h)===1||z(h))return;let D=typeof uniqueSel=="function"?uniqueSel(h):h.tagName.toLowerCase();b.push({selector:D,attribute:S.attr,currentValue:S.value.slice(0,100),issueType:"carousel_autoplay_no_pause",wcag:"2.2.2",context:`slider markup declares autoplay (${S.attr}="${S.value.slice(0,60)}") and no pause / stop control sits in or beside it`,message:"carousel starts automatically and has no pause or stop control",needsAI:false,manualFix:true,reviewReason:"add a visible pause / stop control for the slider (or turn autoplay off); no attribute write fixes this",outerHtml:h.cloneNode(false).outerHTML.slice(0,300)});};for(let h of Array.from(document.body?document.body.querySelectorAll("*"):[])){if(b.length>=10)break;if(!h.attributes.length)continue;if(h.hasAttribute("data-swiper-autoplay")&&E(h.getAttribute("data-swiper-autoplay"))){let D=h.closest('.swiper, .swiper-container, [class*="swiper"]:not(.swiper-slide):not(.swiper-wrapper)')||h.parentElement?.parentElement||h;C(D,{attr:"data-swiper-autoplay",value:h.getAttribute("data-swiper-autoplay")||""});continue}let S=y(h);S&&C(h,S);}return b},zh={name:"carouselAutoplay",cap:10,async detect(p){return p.evaluate(cI)}};var rg=[Ih,Ah,Th,Z1,mh,ph,ah,Eh,lh,Fh,uh,Sh,Q1,Dh,hh,oh,yh,fh,xh,gh,Lh,Mh,bh,rh,nh,vh,Ch,Rh,ih,kh,eh,wh,Oh,Ph,Nh,qh,Bh,Hh,Vh,jh,$h,zh],FI=[J1,th,sh,_h];function ng(p,d,b){p?.push({tool:d,kind:"engine-failed",detail:`detector threw, its findings are absent: ${b?.message??String(b)}`});}async function ag(p,d,b,v){let m=d??[];try{let{UNIQUE_SELECTOR_JS:H,IS_VISIBLE_JS:M,ACCESSIBLE_NAME_JS:z,WIDGET_SKIP_JS:V,IS_HIDDEN_FROM_AT_JS:X,IS_TRACKING_PIXEL_JS:Q,NEARBY_CONTEXT_JS:C}=await Promise.resolve().then(()=>(Wh(),Gh)),{ICON_LABELS_JS:h}=await Promise.resolve().then(()=>(Xh(),Uh)),{COLOR_MATH_JS:S}=await Promise.resolve().then(()=>(Kh(),Yh)),L=`if(typeof __name==='undefined'){var __name=function(t,v){return t};var __defProp=Object.defineProperty;}
|
|
384
|
+
`+[H,M,z,V,X,Q,C,h,S].join(`
|
|
385
|
+
`),{inject:N}=await Promise.resolve().then(()=>(Wa(),vu));try{await N(p,{tool:"detector-helpers",content:L});}catch{await p.evaluate(`(0,eval)(${JSON.stringify(L)})`);}}catch(H){console.warn("[webability] helper injection failed:",H.message),(b??[]).push("color:kernel-injection-failed");}let E=[];try{let{detectPlatform:H,applyPlatformTemplates:M}=await Promise.resolve().then(()=>(tg(),eg)),z=await H(p);E=await M(p,z);}catch{}let{guardDetectorState:T}=await Promise.resolve().then(()=>(Wa(),vu)),A=globalThis.process?.env?.WA_STRICT_STATE==="1",F={strict:A,bugs:v?.internalBugs},q=await T(p,"detectors:parallel",b??[],()=>Promise.allSettled((v?.experimental?[...rg,...FI]:rg).map(async H=>{try{let M=await H.detect(p);return H.cap&&M.length>=H.cap&&m.push({detector:H.name,cap:H.cap}),M}catch(M){return ng(v?.internalBugs,H.name,M),[]}})),F),R=[];v?.skipFocusMutating&&(b??[]).push("focus:mutating-detectors-skipped (live-tab scan; focus visibility and focus obscured were not checked)");let y=[...v?.skipFocusMutating?[]:[dh,ch],...v?.extraSerialDetectors??[]];for(let H of y){let M=[];try{M=await T(p,H.name,b??[],()=>H.detect(p).catch(z=>(ng(v?.internalBugs,H.name,z),[])),F);}catch(z){if(A)throw z}try{H.cap&&M.length>=H.cap&&m.push({detector:H.name,cap:H.cap}),R=R.concat(M);}catch{}}let _=[...q.flatMap(H=>H.status==="fulfilled"?H.value:[]),...R],x=[...E,..._],O=II(x),I=["wp-ada-compliance","webability-widget","webability-a11y","asw-","userway","acsb","audioeye","equallyai"];return O.filter(H=>{let M=H.selector.toLowerCase();return M.trim()?!I.some(z=>M.includes(z)):false})}function II(p){let d=new Set;return p.filter(b=>{let v=`${b.selector}::${b.issueType}`;return d.has(v)?false:(d.add(v),true)})}function yu(p){let d=new Map,b=[...p].sort((v,m)=>{let E={webability:0,"axe-core":1,"deep-analysis":2},T=E[v.source]??3,A=E[m.source]??3;return T-A});for(let v of b){let m=LI(v);d.has(m)?!d.get(m).fix?.suggestedValue&&v.fix?.suggestedValue&&d.set(m,v):d.set(m,v);}return Array.from(d.values())}function LI(p){let d=p.selector.replace(/:focus-visible$/,"").replace(/:focus$/,"").replace(/\[data-[^\]]+\]/g,"").trim(),b=p.wcag||"";return d&&b?`${d}::${b}`:`${p.type}::${d||p.id}`}var MI=/^missing_table_header$|^td-has-header$|^th-has-data-cells$|^h43|^h63/,OI=new Set(["2.4.1","3.1.1","2.4.2"]);async function ig(p,d){if(d.length<2)return d;let b=Array.from(new Set(d.map(R=>R.selector).filter(Boolean))),v;try{v=await p.evaluate(R=>{let y=Array.from(document.querySelectorAll("*")),_=new Map;y.forEach((O,I)=>_.set(O,I));let x={};for(let O of R){let I=null;try{I=document.querySelector(O);}catch{}if(!I){let H=O.replace(/:(?:focus-visible|focus-within|focus|hover|active)$/,"");if(H!==O)try{I=document.querySelector(H);}catch{}}if(I){let H=I.closest("table");x[O]={el:_.get(I),table:H?_.get(H):-1,doc:I===document.documentElement||I===document.body};}}return x},b);}catch{return d}let m={webability:0,"axe-core":1,"deep-analysis":2},E=R=>{let y=v[R.selector];if(!y)return null;let _=R.wcag||R.type;return y.doc?{key:OI.has(R.wcag||"")?`doc::${_}`:`doc::${_}::${R.type}`,owner:true}:y.table>=0&&MI.test(R.type)?{key:`${y.table}::${_}::table-headers`,owner:y.el===y.table}:{key:`${y.el}::${_}`,owner:true}},T=[...d].sort((R,y)=>{let _=E(R),x=E(y),O=_?.owner?0:1,I=x?.owner?0:1;return O-I||(m[R.source]??3)-(m[y.source]??3)}),A=new Map,F=[];for(let R of T){let y=E(R);if(!y){F.push(R);continue}let _=A.get(y.key);_?!_.fix?.suggestedValue&&R.fix?.suggestedValue&&(E(_)?.owner??true)===y.owner&&A.set(y.key,R):A.set(y.key,R);}let q=new Set([...A.values(),...F]);return d.filter(R=>q.has(R))}var PI=new Set(["1.4.3","1.4.6","1.4.11"]);function og(p){return PI.has(p.wcag)||/contrast/i.test(p.type||"")}async function sg(p,d){let b=Array.from(new Set(d.filter(T=>og(T)&&T.selector).map(T=>T.selector))).slice(0,100);if(b.length===0)return d;let v;try{v=await p.evaluate(T=>{let A=[],F={},q=Math.max(document.documentElement.scrollWidth,window.innerWidth),R=Math.max(document.documentElement.scrollHeight,window.innerHeight),y=_=>{let x=_.match(/rgba?\(([^)]+)\)/);if(!x)return !1;let O=x[1].split(/[ ,/]+/).filter(Boolean);return O.length<4||parseFloat(O[3])>=.95};for(let _ of T){let x=null;try{x=document.querySelector(_);}catch{continue}if(!x)continue;let O=getComputedStyle(x),I=x.getBoundingClientRect(),H=O.clipPath&&O.clipPath!=="none"&&/inset\(\s*(?:50|100)%/.test(O.clipPath)||/rect\(\s*0(?:px)?\s*,?\s*0(?:px)?\s*,?\s*0(?:px)?\s*,?\s*0(?:px)?\s*\)/.test(O.clip||""),M=I.width<=1||I.height<=1,z=window.scrollX,V=window.scrollY,X=I.right+z<=0||I.bottom+V<=0||I.left+z>=q||I.top+V>=R,Q=!1;if(X)for(let B=x.parentElement;B&&B!==document.body&&B!==document.documentElement;B=B.parentElement){let W=getComputedStyle(B);if(W.overflowX!=="visible"||W.overflowY!=="visible"||W.transform&&W.transform!=="none"){Q=!0;break}}if(X&&Q){F[_]="text is outside the visible page inside a scrolling / clipped container \u2014 check contrast where it is shown";continue}if(H||M||X){A.push(_);continue}let C=x,h=!1;for(;C&&C!==document.documentElement;){if(parseFloat(getComputedStyle(C).opacity)===0){h=!0;break}C=C.parentElement;}if(h){F[_]="text is inside an opacity:0 element (hidden slide or pre-animation state) \u2014 check contrast in the state where it is shown";continue}let S=I.left+I.width/2,D=I.top+I.height/2,L=x,N=!1;for(let B=0;L&&L!==document.body&&B<8;B++){let W=getComputedStyle(L);if(y(W.backgroundColor)||W.backgroundImage&&W.backgroundImage!=="none")break;let J=L.querySelectorAll("video, canvas, img, picture");for(let ie=0;ie<J.length;ie++){let ne=J[ie];if(ne.contains(x)||x.contains(ne))continue;let ce=ne.getBoundingClientRect();if(ce.width>0&&ce.height>0&&S>=ce.left&&S<=ce.right&&D>=ce.top&&D<=ce.bottom){N=!0;break}}if(N)break;L=L.parentElement;}N&&(F[_]="text sits over a video or image \u2014 the background behind the glyphs cannot be measured from CSS");}return {hidden:A,review:F}},b);}catch{return d}let m=new Set(v.hidden),E=[];for(let T of d){if(!og(T)){E.push(T);continue}if(m.has(T.selector))continue;let A=v.review[T.selector];E.push(A&&T.confidence!=="needs_review"?{...T,confidence:"needs_review",reviewReason:A,...T.fix?{fix:{...T.fix,needsManualReview:true}}:{}}:T);}return E}async function lg(p,d){let b=Array.from(new Set(d.filter(E=>E.selector).map(E=>E.selector))).slice(0,200);if(b.length===0)return d;let v;try{v=await p.evaluate(E=>{let T=[];for(let A of E){let F=null;try{F=document.querySelector(A);}catch{continue}if(!F||F.tagName!=="IFRAME")continue;let q=getComputedStyle(F),R=F.getClientRects().length===0||q.visibility==="hidden"||q.visibility==="collapse",y=(F.getAttribute("src")||"").trim().toLowerCase().indexOf("javascript:")===0;(R||y)&&T.push(A);}return T},b);}catch{return d}if(v.length===0)return d;let m=new Set(v);return d.filter(E=>!m.has(E.selector))}Wa();function Io(p){let d=[],b=[];for(let v of p)v.confidence==="needs_review"||qI(v)?b.push(v):d.push(NI(v));return {verdicts:d,undecided:b}}function NI(p){if(p.confidence===void 0&&p.reviewReason===void 0)return p;let{confidence:d,reviewReason:b,...v}=p;return v}function qI(p){let d=(p.type||"").toLowerCase(),b=p.wcag||"",v=p.html||"",m=(p.message||"").toLowerCase();if((d==="contrast_insufficient"||d==="color-contrast"||b==="1.4.3"||b==="1.4.11")&&BI(v))return "background uses gradient or image";if(d==="image_of_text"||b==="1.4.5"){let E=ug(v,"src").toLowerCase();E.startsWith("data:")&&(E=E.split(",")[0]);let T=ug(v,"alt").toLowerCase();if(/\b(logo|brand|wordmark|hero|banner|footer|marketing|promo|cover)\b/.test(E))return "brand imagery";if(T.length>0&&/\b(logo|brand|product screenshot|dashboard)\b/.test(T))return "branded imagery"}return (d==="inconsistent_navigation"||m.includes("inconsistent navigation"))&&(/<footer/i.test(v)||/<aside/i.test(v))?"footer/aside nav":""}function BI(p){return /background(-image)?\s*:\s*(?:linear-gradient|radial-gradient|conic-gradient|url\()/i.test(p)}function ug(p,d){let b=new RegExp(`\\b${d}\\s*=\\s*"([^"]*)"`,"i"),v=p.match(b);return v?v[1]:""}var wu=["wcag2a","wcag2aa","wcag21aa","wcag22aa"];function cg(p){return p.includes("wcag21aa")||p.includes("wcag22aa")||p.includes("wcag134")?{"css-orientation-lock":{enabled:true}}:{}}function xu(p,d){return d==="AAA"&&!p.includes("wcag2aaa")?[...p,"wcag2aaa"]:p}var HI={"1.1.1":"A","1.2.1":"A","1.2.2":"A","1.2.3":"A","1.3.1":"A","1.3.2":"A","1.3.3":"A","1.4.1":"A","1.4.2":"A","2.1.1":"A","2.1.2":"A","2.1.4":"A","2.2.1":"A","2.2.2":"A","2.3.1":"A","2.4.1":"A","2.4.2":"A","2.4.3":"A","2.4.4":"A","2.5.1":"A","2.5.2":"A","2.5.3":"A","2.5.4":"A","3.1.1":"A","3.2.1":"A","3.2.2":"A","3.2.6":"A","3.3.1":"A","3.3.2":"A","3.3.7":"A","4.1.2":"A","1.2.4":"AA","1.2.5":"AA","1.3.4":"AA","1.3.5":"AA","1.4.3":"AA","1.4.4":"AA","1.4.5":"AA","1.4.10":"AA","1.4.11":"AA","1.4.12":"AA","1.4.13":"AA","2.4.5":"AA","2.4.6":"AA","2.4.7":"AA","2.4.11":"AA","2.5.7":"AA","2.5.8":"AA","3.1.2":"AA","3.2.3":"AA","3.2.4":"AA","3.3.3":"AA","3.3.4":"AA","3.3.8":"AA","4.1.3":"AA","1.2.6":"AAA","1.2.7":"AAA","1.2.8":"AAA","1.2.9":"AAA","1.3.6":"AAA","1.4.6":"AAA","1.4.7":"AAA","1.4.8":"AAA","1.4.9":"AAA","2.1.3":"AAA","2.2.3":"AAA","2.2.4":"AAA","2.2.5":"AAA","2.2.6":"AAA","2.3.2":"AAA","2.3.3":"AAA","2.4.8":"AAA","2.4.9":"AAA","2.4.10":"AAA","2.4.12":"AAA","2.4.13":"AAA","2.5.5":"AAA","2.5.6":"AAA","3.1.3":"AAA","3.1.4":"AAA","3.1.5":"AAA","3.1.6":"AAA","3.2.5":"AAA","3.3.5":"AAA","3.3.6":"AAA","3.3.9":"AAA"};function VI(p){return HI[p]}var Ua={A:1,AA:2,AAA:3};function dg(p){let d=String(p.wcag||"").split(/[,\s]+/).filter(v=>/^\d+\.\d+\.\d+$/.test(v));if(d.length===0)return p.level??"AA";let b;for(let v of d){let m=VI(v);m&&(!b||Ua[m]<Ua[b])&&(b=m);}return b}function Xa(p,d="AA"){let b=Ua[d]??Ua.AA;return p.filter(v=>{let m=dg(v);return !!m&&Ua[m]<=b})}var jI=new Set(["new_window_link","external_link_warning","download_link_warning"]);function fg(p){let d=jI.has(p.issueType)?"minor":p.needsAI?"serious":"moderate",b=p.attribute==="style",v=p.attribute.startsWith("data-"),m=b&&p.fixValue?$I(p.fixValue):p.fixValue;return {id:`wa-${p.issueType}-${Lo(p.selector)}`,source:"webability",type:p.issueType,wcag:p.wcag,level:dg({wcag:p.wcag})??"AA",impact:d,message:zI(p,m,v),selector:p.selector,html:p.outerHtml,...p.needsReview?{confidence:"needs_review"}:{},...p.reviewReason?{reviewReason:p.reviewReason}:{},fix:{attribute:p.attribute,currentValue:p.currentValue,suggestedValue:m,needsManualReview:p.needsAI||b||v||!!p.needsReview||!!p.manualFix}}}function $I(p){let d=p.trim();if(!d)return "";let b=d.endsWith(";"),m=d.split(";").map(E=>{let A=E.toLowerCase().lastIndexOf("!important");return A===-1?E.trim():E.slice(0,A).trim()}).filter(E=>E.length>0);return m.length===0?"":m.join(";")+(b?";":"")}function zI(p,d,b){if(p.message)return p.message;let v=p.issueType.replace(/_/g," "),m=d??p.fixValue;return b?m?`${v}: ${m}`:p.currentValue?`${v}: ${p.currentValue}`:p.context?`${v}: ${p.context}`:v:m?`${v}: set ${p.attribute}="${m}"`:p.currentValue?`${v}: ${p.attribute} is "${p.currentValue}"`:`${v}: missing ${p.attribute}`}function Ya(p){return Array.isArray(p)?p.flat(1/0).filter(b=>typeof b=="string").join(" >>> "):typeof p=="string"?p:""}function Lo(p){let d=0;for(let b=0;b<p.length;b++)d=(d<<5)-d+p.charCodeAt(b)|0;return Math.abs(d).toString(36)}function Du(p){return p==="critical"||p==="serious"||p==="moderate"||p==="minor"?p:"moderate"}function pg(p,d=[]){return {total:p.length,critical:p.filter(b=>b.impact==="critical").length,serious:p.filter(b=>b.impact==="serious").length,moderate:p.filter(b=>b.impact==="moderate").length,minor:p.filter(b=>b.impact==="minor").length,incomplete:0}}function GI(p){let d=/^wcag(\d)(\d)(\d{1,2})$/.exec(p);return d?`${d[1]}.${d[2]}.${d[3]}`:""}function Au(p){for(let d of p){let b=GI(d);if(b)return b}return ""}function _u(p){return p.includes("wcag2aaa")?"AAA":p.includes("wcag2aa")||p.includes("wcag21aa")||p.includes("wcag22aa")?"AA":"A"}Wa();var WI=60,UI=3,XI=120,YI=1200,KI=300,JI=2e5,ZI=8e3;var QI="*,*::before,*::after{color:transparent!important;-webkit-text-fill-color:transparent!important;text-shadow:none!important;text-decoration-color:transparent!important;caret-color:transparent!important}";function eL(p){let{selectors:d,maxBoxes:b,maxW:v,maxH:m,maxArea:E}=p,T=document.documentElement.scrollWidth,A=document.documentElement.scrollHeight,F=document.createElement("canvas");F.width=F.height=1;let q=F.getContext("2d",{willReadFrequently:true}),R=H=>{try{q.clearRect(0,0,1,1),q.fillStyle="#000",q.fillStyle=H,q.fillRect(0,0,1,1);let M=q.getImageData(0,0,1,1).data;return [M[0],M[1],M[2],M[3]]}catch{return null}},y={},_=document.querySelectorAll("video,canvas,iframe,embed,object");if(_.length>200){for(let H of d)y[H]=null;return y}let x=Array.from(_).map(H=>H.getBoundingClientRect()),O=window.scrollX,I=window.scrollY;for(let H of d){y[H]=null;let M=null;try{M=document.querySelector(H);}catch{continue}if(!M)continue;let z=getComputedStyle(M);if(z.visibility!=="visible"||z.display==="none"||z.webkitBackgroundClip==="text"||z.backgroundClip==="text")continue;let V=false,X=0;for(let ne=M;ne;ne=ne.parentElement){if(++X>64){V=true;break}let ce=getComputedStyle(ne);parseFloat(ce.opacity)<1&&(V=true),(ce.transform!=="none"||ce.mixBlendMode!=="normal"||ce.filter!=="none")&&(V=true);}if(V)continue;let Q=R(z.color);if(!Q||Q[3]<255)continue;let C=parseFloat(z.fontSize),h=parseInt(z.fontWeight,10)>=700,S=C>=24||h&&C>=18.66,D=[],L=M.getBoundingClientRect();if(L.height>m*b||L.width>v*2)continue;let N=document.createTreeWalker(M,NodeFilter.SHOW_TEXT),B,W=0,J=false;for(;!J&&(B=N.nextNode());){if(++W>50){J=true;break}if(B.parentElement!==M)continue;let ne=B.textContent||"";if(ne.length>2e3){J=true;break}if(!ne.trim())continue;let ce=document.createRange();ce.selectNodeContents(B);let _e=ce.getClientRects();if(_e.length>b){J=true;break}for(let me=0;me<_e.length;me++){let Se=_e[me];if(!(Se.width<2||Se.height<2)&&(D.push({x:Math.round(Se.left+O),y:Math.round(Se.top+I),w:Math.max(1,Math.round(Se.width)),h:Math.max(1,Math.round(Se.height))}),D.length>b)){J=true;break}}}J||D.length===0||D.length>b||D.some(ne=>ne.w>v||ne.h>m||ne.w*ne.h>E||ne.x<0||ne.y<0||ne.x+ne.w>T||ne.y+ne.h>A)||D.some(ne=>x.some(ce=>ne.x<ce.right+O&&ne.x+ne.w>ce.left+O&&ne.y<ce.bottom+I&&ne.y+ne.h>ce.top+I))||(y[H]={fg:`rgb(${Q[0]},${Q[1]},${Q[2]})`,threshold:S?3:4.5,boxes:D});}return y}async function tL(p){let{b64:d,fg:b}=p,v=atob(d),m=new Uint8Array(v.length);for(let V=0;V<v.length;V++)m[V]=v.charCodeAt(V);let E=await createImageBitmap(new Blob([m],{type:"image/png"})),T=document.createElement("canvas");T.width=E.width,T.height=E.height;let A=T.getContext("2d",{willReadFrequently:true});A.drawImage(E,0,0);let F=A.getImageData(0,0,T.width,T.height).data,q=V=>{let X=V/255;return X<=.03928?X/12.92:Math.pow((X+.055)/1.055,2.4)},R=(V,X,Q)=>.2126*q(V)+.7152*q(X)+.0722*q(Q),y=b.match(/\d+/g).map(Number),_=R(y[0],y[1],y[2]),x=Math.max(1,Math.floor(Math.sqrt(T.width*T.height/1500))),O=0,I=1/0,H="",M="",z=0;for(let V=0;V<T.height;V+=x)for(let X=0;X<T.width;X+=x){let Q=(V*T.width+X)*4;if(F[Q+3]<255)continue;let C=R(F[Q],F[Q+1],F[Q+2]),h=Math.max(_,C),S=Math.min(_,C),D=(h+.05)/(S+.05);D>O&&(O=D,M=`rgb(${F[Q]},${F[Q+1]},${F[Q+2]})`),D<I&&(I=D,H=`rgb(${F[Q]},${F[Q+1]},${F[Q+2]})`),z++;}return z===0?null:{best:O,worst:I,worstBg:H,bestBg:M}}var Mo=class extends Error{};function Ka(p,d){let b=d-Date.now();if(b<=0)return Promise.reject(new Mo("pixel pass deadline"));let v,m=new Promise((E,T)=>{v=setTimeout(()=>T(new Mo("pixel pass deadline")),b);});return Promise.race([p,m]).finally(()=>clearTimeout(v))}async function mg(p,d){let b=p.screenshot;if(typeof b!="function"||d.length===0)return [];let v=Array.from(new Set(d)).slice(0,WI),m=[],E=false,T=Date.now()+ZI;try{await Ka(p.evaluate("if(typeof globalThis.__name==='undefined'){globalThis.__name=function(t){return t}}"),T);let A=await Ka(p.evaluate(eL,{selectors:v,maxBoxes:UI,maxW:YI,maxH:KI,maxArea:JI}),T);await Ka(fu(p,{tool:"contrast-pixels",css:QI}),T),E=!0;let F=0;for(let q of v){let R=A[q];if(!R)continue;if(Date.now()>T||F+R.boxes.length>XI)break;let y=0,_=1/0,x="",O="",I=!0;for(let H of R.boxes){F++;let M=await Ka(b.call(p,{clip:{x:H.x,y:H.y,width:H.w,height:H.h},fullPage:!0,type:"png",animations:"disabled"}),T),z=globalThis.Buffer,V=z?z.from(M).toString("base64"):"",X=await Ka(p.evaluate(tL,{b64:V,fg:R.fg}),T);if(!X){I=!1;break}X.best>y&&(y=X.best,O=X.bestBg),X.worst<_&&(_=X.worst,x=X.worstBg);}I&&m.push({selector:q,fail:y<R.threshold*.97,bestRatio:y,worstRatio:_,...x?{worstBg:x}:{},...O?{bestBg:O}:{},threshold:R.threshold,fg:R.fg});}}catch(A){globalThis.process?.env?.WA_DEBUG_PIXELS&&console.error("pixel judge failed",A);}finally{if(E)try{await Promise.race([p.evaluate(()=>document.querySelectorAll('style[data-wa-injected^="contrast-pixels:"]').forEach(A=>A.remove())),new Promise(A=>setTimeout(A,1e3))]);}catch{}}return m}function rL(p){p=p.replace("#",""),p.length===3&&(p=p[0]+p[0]+p[1]+p[1]+p[2]+p[2]);let d=parseInt(p,16);return [d>>16&255,d>>8&255,d&255]}function Eu(p){let d=p/255;return d<=.03928?d/12.92:Math.pow((d+.055)/1.055,2.4)}function hg(p,d,b){return .2126*Eu(p)+.7152*Eu(d)+.0722*Eu(b)}function nL(p,d){let b=Math.max(p,d),v=Math.min(p,d);return (b+.05)/(v+.05)}function gg(p){if(p.startsWith("#"))return rL(p);let d=p.match(/rgba?\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)/);return d?[parseInt(d[1]),parseInt(d[2]),parseInt(d[3])]:null}function An(p,d){let b=gg(p),v=gg(d);return !b||!v?0:nL(hg(...b),hg(...v))}var aL=30,iL=10,oL=2e4,sL=30,lL=400*1024,uL="https://openrouter.ai/api/v1",cL="anthropic/claude-haiku-4.5",vg="deepseek/deepseek-v4-flash",bg=400,yg=125,Cu=160,dL=2e3,Oo=new Map;function fL(p){let d=0;for(let b=0;b<p.length;b++)d=(d<<5)-d+p.charCodeAt(b)|0;return Math.abs(d).toString(36)}var Su=p=>p.wcag||p.type,wg=(p,d,b)=>`${p}|${d.selector}|${Su(d)}|${fL(b)}`,ku=()=>!!globalThis.process?.env?.WA_DEBUG_JUDGE;function pL(p){let{selectors:d,maxHtml:b}=p,v={elements:{}},m=[],E=H=>/\(\s*prefers-reduced-motion\s*(:\s*reduce\s*)?\)/i.test(H)&&!/^\s*not\b/i.test(H),T=H=>{let M=H.split(",").map(z=>z.trim()).filter(Boolean);return M.length?M.every(z=>{let V=z.match(/^(-?[\d.]+)(ms|s)$/i);return V?parseFloat(V[1])*(V[2].toLowerCase()==="s"?1e3:1)<=10:false}):false},A=(H,M,z)=>{if(!(z>8))for(let V of Array.from(H)){let X=V.media?.mediaText,Q=M||typeof X=="string"&&E(X),C=V.style,h=V.selectorText;if(Q&&C&&typeof h=="string"){let L=C.getPropertyValue("animation-name").trim(),N=/^none(\s*,\s*none)*$/i.test(L)||T(C.getPropertyValue("animation-duration"))||/^paused/i.test(C.getPropertyValue("animation-play-state").trim()),B=/^none(\s*,\s*none)*$/i.test(C.getPropertyValue("transition-property").trim())||T(C.getPropertyValue("transition-duration"));(N||B)&&m.push({selector:h,anim:N,trans:B});}let S=V.cssRules;S&&S.length&&A(S,Q,z+1);let D=V.styleSheet;if(D)try{A(D.cssRules,Q||E(V.media?.mediaText||""),z+1);}catch{}}};try{for(let H of Array.from(document.styleSheets))try{A(H.cssRules,E(H.media?.mediaText||""),0);}catch{}}catch{}let F=(H,M)=>{try{return H.matches(M)}catch{return false}},q=H=>H.split(",").map(M=>{let z=M.trim().match(/^(-?[\d.]+)(ms|s)$/i);return z?parseFloat(z[1])*(z[2].toLowerCase()==="s"?1e3:1):0}),R=H=>{let M=H.cloneNode(true);M.querySelectorAll("script, style").forEach(V=>V.remove());let z=(M.textContent||"").replace(/\s+/g," ").trim();if(!z){for(let V of Array.from(H.querySelectorAll("img[alt], [aria-label]")))if(z=(V.getAttribute("alt")||V.getAttribute("aria-label")||"").trim(),z)break}return z},y=H=>{let M=(H.getAttribute("aria-label")||"").trim();if(M)return M;let V=(H.getAttribute("aria-labelledby")||"").split(/\s+/).filter(Boolean).map(C=>{let h=document.getElementById(C);return h?(h.textContent||"").replace(/\s+/g," ").trim():""}).filter(Boolean).join(" ");if(V)return V;let X=R(H);if(X)return X;let Q=H instanceof HTMLInputElement&&/^(submit|button|reset|image)$/i.test(H.type)?(H.value||H.alt||"").trim():"";return Q||(H.getAttribute("title")||"").trim()},_='a[href], button, input:not([type="hidden"]), select, textarea, summary, [role="button"], [role="link"], [role="menuitem"], [role="tab"], [role="img"], [tabindex]:not([tabindex="-1"])',x=window.scrollX||0,O=window.scrollY||0,I=[];for(let H of d){let M=null;try{M=document.querySelector(H);}catch{}if(!M){v.elements[H]={found:false};continue}let z=I.indexOf(M);z<0&&(z=I.push(M)-1);let V=getComputedStyle(M),X=M.getBoundingClientRect(),Q=M.tagName.toLowerCase(),C={found:true,elementKey:z,tag:Q,html:(M.outerHTML||"").slice(0,b),rect:{x:X.left+x,y:X.top+O,w:X.width,h:X.height},role:(M.getAttribute("role")||"").toLowerCase(),ariaHidden:M.getAttribute("aria-hidden")==="true"||!!M.closest('[aria-hidden="true"]'),hidden:V.display==="none"||V.visibility==="hidden"||!!M.closest("[hidden]"),cssBackgroundImage:/url\(/i.test(V.backgroundImage||""),reducedMotionHandled:false,nearText:"",fg:V.color,bg:V.backgroundColor,fontSize:parseFloat(V.fontSize)||0,fontWeight:parseInt(V.fontWeight,10)||400};if(Q==="img"){let B=M;C.img={src:(B.currentSrc||B.getAttribute("src")||"").slice(0,300),alt:B.getAttribute("alt"),naturalW:B.naturalWidth||0,naturalH:B.naturalHeight||0,attrW:parseInt(B.getAttribute("width")||"0",10)||0,attrH:parseInt(B.getAttribute("height")||"0",10)||0};}if(C.cssBackgroundImage){let B=M.closest(_);B&&(C.control={tag:B.tagName.toLowerCase(),name:y(B).slice(0,120)});}if(!/^(img|video|canvas|iframe|object|embed|svg)$/.test(Q)){let B=V.animationName.split(",").some(ce=>ce.trim()&&ce.trim()!=="none")&&q(V.animationDuration).some(ce=>ce>10),W=q(V.transitionDuration).some(ce=>ce>10)&&V.transitionProperty.trim()!=="none",J=m.filter(ce=>F(M,ce.selector)),ie=!B||J.some(ce=>ce.anim),ne=!W||J.some(ce=>ce.trans);C.reducedMotionHandled=(B||W)&&ie&≠}let h=M.closest('a[href], button, [role="button"], [role="link"]');if(h&&h!==M){let B=h.cloneNode(true);B.querySelectorAll("img, svg").forEach(ie=>ie.remove());let W=(B.textContent||"").replace(/\s+/g," ").trim(),J=(h.getAttribute("aria-label")||"").trim();C.parentInteractive={tag:h.tagName.toLowerCase(),text:(W||J).slice(0,120)};}let S=B=>{let W=B.cloneNode(true);return W.querySelectorAll("script, style").forEach(J=>J.remove()),(W.textContent||"").replace(/\s+/g," ").trim()},D=M.matches('a[href], [role="link"]'),L=S(M),N=M.parentElement;if(D&&(N=M.closest("p, li, td, th, dd, dt, figcaption, blockquote")||M.parentElement),N){let B=S(N),W=D&&L?B.indexOf(L):-1,J=W>120?W-120:0;C.nearText=(J?"\u2026":"")+B.slice(J,J+240);}v.elements[H]=C;}return v}function mL(p,d){let b=(p.type||"").toLowerCase(),v=p.wcag||"";return b==="decorative_image_with_title"?"generic":v==="1.1.1"&&(d?.tag==="img"||/alt|image/.test(b))?"alt":v==="1.4.3"||v==="1.4.6"||b==="color-contrast"||b==="contrast_insufficient"||b==="contrast_enhanced"?"contrast":v==="2.2.2"||v==="2.3.3"||/motion|animation|reduced_motion/.test(b)?"motion":"generic"}function Tu(p){return !!p&&p.tag!=="img"&&p.cssBackgroundImage&&!p.img}var hL=/\b(needs?|requires?|for)\s+(a\s+)?(human|manual)?\s*review\b|\bhuman review\b|\bmanual review\b|\bincomplete\b/gi;function gL(p){let d=String(p??"").replace(/\s+/g," ").replace(hL,"judged").trim();if(d.length<=Cu)return d;let b=d.slice(0,Cu-1),v=b.lastIndexOf(" ");return (v>Cu/2?b.slice(0,v):b).replace(/[\s,;:–—-]+$/,"")+"\u2026"}function vL(p){let d=String(p??"").replace(/\s+/g," ").trim();if(d=d.replace(/^(an?\s+|the\s+)?(image|picture|photo|photograph|graphic|icon|illustration|screenshot)\s+(of|showing|depicting)(\s+|$)(an?\s+|the\s+)?/i,""),d=d.replace(/^["'“”]+|["'“”]+$/g,"").trim(),d.length>yg){d=d.slice(0,yg);let b=d.lastIndexOf(" ");b>60&&(d=d.slice(0,b)),d=d.replace(/[\s,;:–—-]+$/,"");}return d&&(d=d[0].toUpperCase()+d.slice(1)),d}function Un(p){let d=p.match(/\d+(\.\d+)?/g);return !d||d.length<3?p:"#"+d.slice(0,3).map(b=>Math.round(Number(b)).toString(16).padStart(2,"0")).join("")}var Ag=/^#?([0-9a-f]{6})$/i;function bL(p){let d=String(p??"").trim().match(Ag);return d?"#"+d[1].toLowerCase():null}function yL(p){let{confidence:d,reviewReason:b,...v}=p;return {...v,id:p.id.replace("axe-incomplete-","axe-")}}function wL(p){let d=p;if(typeof p=="string"){let m=p.replace(/```json\s*/gi,"").replace(/```/g,"").match(/\[[\s\S]*\]/);if(!m)return null;try{d=JSON.parse(m[0]);}catch{return null}}else p&&typeof p=="object"&&Array.isArray(p.verdicts)&&(d=p.verdicts);if(!Array.isArray(d))return null;let b=[];for(let v of d){if(!v||typeof v!="object")continue;let{id:m,verdict:E,reason:T,fix:A}=v;if(typeof m!="string"||E!=="pass"&&E!=="violation")continue;let F=A&&typeof A=="object"?A:void 0;b.push({id:m,verdict:E,reason:typeof T=="string"?T:void 0,fix:F?{attribute:typeof F.attribute=="string"?F.attribute:void 0,value:typeof F.value=="string"?F.value:void 0}:void 0});}return b}var Xn=class extends Error{},xL=`You are the final accessibility judge for a WCAG scanner. Automated engines could not decide the findings below. You MUST decide each one: "pass" (not a violation) or "violation". There is no third option \u2014 never answer "unsure", never defer to a human.
|
|
386
386
|
|
|
387
387
|
Rules:
|
|
388
388
|
- Images (1.1.1): "pass" when the image is decorative, purely presentational, a spacer/tracking pixel, or is named by the text of its enclosing link/button. Otherwise "violation" with fix.attribute="alt" and a concrete alt text written from the image and its context: \u2264125 characters, no "image of"/"picture of" prefix, no file names.
|
|
@@ -402,7 +402,7 @@ Omit "fix" for passes.`;function DL(p){let d=p.items.map(({screenshot:b,...v})=>
|
|
|
402
402
|
Conformance level: ${p.level}
|
|
403
403
|
|
|
404
404
|
Findings:
|
|
405
|
-
${JSON.stringify(d,null,1)}`}function AL(p,d={}){let b=p.vision&&p.items.some(E=>E.screenshot),v=b?d.visionModel||cL:d.textModel||vg,m=[{type:"text",text:DL(p)}];if(b)for(let E of p.items)E.screenshot&&(m.push({type:"text",text:`Crop for ${E.id}:`}),m.push({type:"image_url",image_url:{url:`data:image/png;base64,${E.screenshot}`}}));return {model:v,temperature:0,max_tokens:4096,...v===vg&&d.disableTextModelReasoning?{reasoning:{enabled:false}}:{},messages:[{role:"system",content:xL},{role:"user",content:m}]}}function _L(p){let d=(p.baseUrl||uL).replace(/\/+$/,""),b=false;try{let v=new URL(d).hostname;b=v==="openrouter.ai"||v.endsWith(".openrouter.ai");}catch{}return async(v,m)=>{let E=await fetch(`${d}/chat/completions`,{method:"POST",signal:m,headers:{"Content-Type":"application/json",Authorization:`Bearer ${p.apiKey}`,"HTTP-Referer":"https://webability.io","X-Title":"WebAbility scanner judge"},body:JSON.stringify(AL(v,{visionModel:p.visionModel,textModel:p.textModel,disableTextModelReasoning:b}))});if(!E.ok)throw new Xn(`judge model HTTP ${E.status}`);let D=(await E.json()).choices?.[0]?.message?.content;if(typeof D=="string")return D;if(Array.isArray(D))return D.map(I=>typeof I?.text=="string"?I.text:"").join("");throw new Error("judge model returned no content")}}function EL(p){let d=p.apiUrl.replace(/\/+$/,"");return async(b,v)=>{let m=await fetch(`${d}/api/judge-incomplete`,{method:"POST",signal:v,redirect:"manual",headers:{"Content-Type":"application/json",...p.token?{Authorization:`Bearer ${p.token}`}:{},...p.internalSecret?{"x-mcp-internal":p.internalSecret}:{}},body:JSON.stringify(b)});if(m.status>=300&&m.status<400)throw new Xn(`judge endpoint redirected (HTTP ${m.status}); not followed`);if(!m.ok)throw new Xn(`judge endpoint HTTP ${m.status}`);return m.json()}}function CL(p){return p.transport?p.transport:p.apiKey?_L({apiKey:p.apiKey,baseUrl:p.baseUrl,visionModel:p.visionModel,textModel:p.textModel}):p.apiUrl?EL({apiUrl:p.apiUrl,token:p.apiToken,internalSecret:p.internalSecret}):null}function SL(p){return p.maxCropChars??(!p.transport&&!p.apiKey&&p.apiUrl?lL:void 0)}async function _g(p,d,b){let v={promoted:[],judged:[]},m=CL(b);if(d.length===0)return v;let E=b.level??"AA",C=b.timeoutMs??oL,D=Date.now()+C,I=Xa([...d],E);if(I.length===0)return v;let q=new Map;for(let h of I){let R=`${h.selector}|${Su(h)}`,x=q.get(R);x?x.members.push(h):q.set(R,{key:R,members:[h],rep:h,ctx:void 0,kind:"generic"});}let L={elements:{}};if(p)try{await p.evaluate("if(typeof globalThis.__name==='undefined'){globalThis.__name=function(t){return t}}"),L=await p.evaluate(pL,{selectors:[...q.keys()].map(h=>q.get(h).rep.selector),maxHtml:bg});}catch{}for(let h of q.values())h.ctx=L.elements[h.rep.selector],h.ctx&&!h.ctx.found&&(h.ctx=void 0),h.kind=mL(h.rep,h.ctx);let y=new Map;for(let[h,R]of [...q]){if(!R.ctx)continue;let x=`${R.ctx.elementKey}|${Su(R.rep)}`,O=y.get(x);if(!O){y.set(x,R);continue}O.members.push(...R.members),q.delete(h);}let A={promoted:[],judged:[]},F=(h,R)=>{for(let x of h.members){if(R.verdict==="violation"){let O=TL(x,h,R);if(!O)continue;A.promoted.push(O);}A.judged.push({id:x.id.replace("axe-incomplete-","axe-"),type:x.type,verdict:R.verdict,reason:R.reason});}},T=[...q.values()].filter(h=>h.kind==="contrast");if(T.length&&p){for(let R of T)R.pixels=b.measured?.get(R.rep.selector);let h=T.filter(R=>!R.pixels).map(R=>R.rep.selector);if(h.length)try{for(let R of await mg(p,h))for(let x of T)x.rep.selector===R.selector&&(x.pixels=R);}catch{}}let k=[];for(let h of q.values()){let R=m?Oo.get(wg(b.url,h.rep,h.ctx?.html??h.rep.html??"")):void 0;if(R){F(h,R);continue}let x=kL(h);if(x!=="drop"){if(x){F(h,x);continue}k.push(h);}}if(k.length===0||!m)return A;let M=b.vision!==false&&!!p&&typeof p.screenshot=="function",N=new Map,j=new Set,$=0,K=SL(b),Q=h=>({id:h.rep.id,type:h.rep.type,wcag:h.rep.wcag,message:h.rep.message,selector:h.rep.selector,html:(h.ctx?.html??h.rep.html??"").slice(0,bg),context:j.has(h.key)?{...xg(h),cropNote:"no image attached: the crop was too large to send"}:xg(h),...N.has(h.key)?{screenshot:N.get(h.key)}:{}}),_=M?iL:aL;for(let h=0;h<k.length;h+=_){let R=D-Date.now();if(R<=0)break;let x=k.slice(h,h+_);if(M){for(let te of x){if($>=sL||Date.now()>D)break;let de=await IL(p,te.ctx,K);de&&($++,de.data?N.set(te.key,de.data):j.add(te.key));}if(Date.now()>D)break}let O=new Map(x.map(te=>[te.rep.id,te])),B=new AbortController,V=setTimeout(()=>B.abort(),R),W=null,J=false,ie=Date.now();try{let te=await Promise.race([m({url:b.url,level:E,vision:M,items:x.map(Q)},B.signal),new Promise((de,me)=>B.signal.addEventListener("abort",()=>me(new Error("judge deadline"))))]);W=wL(te),ku()&&console.error(`ai judge: batch ${x.length} items, ${x.filter(de=>N.has(de.key)).length} crops, ${Date.now()-ie}ms, ${W?W.length+" verdicts":"MALFORMED: "+String(te).slice(0,200)}`);}catch(te){ku()&&console.error(`ai judge: batch ${x.length} items failed after ${Date.now()-ie}ms: ${te.message}`),W=null,J=te instanceof Xn;}finally{clearTimeout(V);}if(!W){if(B.signal.aborted||J)break;continue}for(let te of W){let de=O.get(te.id);if(!de)continue;O.delete(te.id);let me={verdict:te.verdict,reason:gL(te.reason),fix:te.fix};Oo.size>=dL&&Oo.clear(),Oo.set(wg(b.url,de.rep,de.ctx?.html??de.rep.html??""),me),F(de,me);}}return A}function kL(p){let d=p.ctx;if(p.kind==="alt"){if(d?.role==="presentation"||d?.role==="none")return {verdict:"pass",reason:"declared decorative (role=presentation)"};if(d?.ariaHidden)return {verdict:"pass",reason:"hidden from assistive technology (aria-hidden)"};if(d?.img){let{attrW:b,attrH:v,naturalW:m,naturalH:E}=d.img;if(b>0&&b<=1&&v>0&&v<=1||m>0&&m<=1&&E>0&&E<=1)return {verdict:"pass",reason:"1x1 tracking/spacer pixel"}}return d&&Tu(d)?d.control?d.control.name?{verdict:"pass",reason:`${d.control.tag} is named ("${d.control.name.slice(0,40)}"); the background image needs no text`}:null:{verdict:"pass",reason:"CSS background image on a non-interactive element; decorative"}:d?.parentInteractive?.text?{verdict:"pass",reason:`${d.parentInteractive.tag} is named by its visible link text ("${d.parentInteractive.text.slice(0,40)}"); alt may be empty`}:null}if(p.kind==="motion")return d?.reducedMotionHandled?{verdict:"pass",reason:"a prefers-reduced-motion: reduce rule stops this element's animation"}:null;if(p.kind==="contrast"){if(!p.pixels)return "drop";let b=Ru(p.rep,p.pixels.threshold);return p.pixels.worstRatio>=b?{verdict:"pass",reason:`measured ${p.pixels.worstRatio.toFixed(2)}:1 at worst behind the text, meets ${b}:1`}:p.pixels.bestRatio<b*.97?{verdict:"violation",reason:`measured ${p.pixels.bestRatio.toFixed(2)}:1 at best behind the text, below ${b}:1 everywhere`}:null}return null}function xg(p){let d=p.ctx,b={};return p.rep.reviewReason&&(b.engineNote=p.rep.reviewReason),d&&(b.tag=d.tag,d.nearText&&(b.nearbyText=d.nearText),d.parentInteractive&&(b.parentControl=d.parentInteractive),p.kind==="alt"&&Tu(d)&&d.control&&(b.control={tag:d.control.tag,accessibleName:d.control.name}),p.kind==="alt"&&d.img&&(b.image={src:d.img.src,alt:d.img.alt,width:d.img.naturalW||d.img.attrW||d.rect.w,height:d.img.naturalH||d.img.attrH||d.rect.h}),p.kind==="contrast"&&p.pixels&&(b.fg=Un(p.pixels.fg),b.threshold=Ru(p.rep,p.pixels.threshold),b.bestRatio=Dg(p.pixels.bestRatio),b.worstRatio=Dg(p.pixels.worstRatio),b.fontSize=d.fontSize,b.fontWeight=d.fontWeight),p.kind==="generic"&&(b.fg=Un(d.fg),b.bg=Un(d.bg),b.size={w:Math.round(d.rect.w),h:Math.round(d.rect.h)})),b}function Ru(p,d){return p.wcag==="1.4.6"||p.type==="contrast_enhanced"?d===3?4.5:7:d}var Dg=p=>Math.round(p*100)/100;function TL(p,d,b){let v=yL(p);if(d.kind==="alt"){let E=vL(b.fix?.value);return E?Tu(d.ctx)?{...v,fix:{attribute:"aria-label",currentValue:"",suggestedValue:E,needsManualReview:false}}:{...v,fix:{attribute:"alt",currentValue:d.ctx?.img?.alt??p.fix?.currentValue??"",suggestedValue:E,needsManualReview:false}}:null}if(d.kind==="contrast"){let E=d.pixels;if(!E)return null;let C=Un(E.fg),D=Ru(p,E.threshold),I=E.worstBg?Un(E.worstBg):null,q=E.bestBg?Un(E.bestBg):null,L=T=>!!T&&!!I&&An(T,I)>=D&&(!q||An(T,q)>=D),y,A=bL(b.fix?.value),F=I?RL(C,I,D):null;return A&&A!==C.toLowerCase()&&L(A)?y=`color:${A} !important;`:L(F)?y=`color:${F} !important;`:q&&An(C,q)>=D&&(y=`background-color:${q} !important;`),{...v,impact:"serious",message:`contrast: ${C} text on its rendered background measures ${E.worstRatio.toFixed(2)}:1 at worst (${E.bestRatio.toFixed(2)}:1 at best, from pixels; judge: ${b.reason||"not readable"}), needs ${D}:1`,fix:{attribute:"style",currentValue:C,...y?{suggestedValue:y}:{},needsManualReview:true}}}let m=p.fix;return m?{...v,fix:m}:b.fix?.attribute&&b.fix.value?{...v,fix:{attribute:b.fix.attribute,currentValue:"",suggestedValue:b.fix.value,needsManualReview:true}}:v}function RL(p,d,b){let v=p.match(Ag);if(!v)return null;let m=parseInt(v[1],16),E=[m>>16&255,m>>8&255,m&255],C=q=>"#"+q.map(L=>Math.round(Math.min(255,Math.max(0,L))).toString(16).padStart(2,"0")).join(""),D=(q,L)=>C(E.map(y=>L?y*(1-q):y+(255-y)*q)),I=null;for(let q of [true,false]){if(An(D(1,q),d)<b)continue;let L=0,y=1;for(let F=0;F<24;F++){let T=(L+y)/2;An(D(T,q),d)>=b?y=T:L=T;}let A=D(y,q);An(A,d)>=b&&(!I||y<I.t)&&(I={t:y,hex:A});}return I?.hex??null}var FL=[1,.6,.35];async function IL(p,d,b){let v=p.screenshot;if(typeof v!="function"||!d||d.rect.w<2||d.rect.h<2||d.hidden)return null;try{let E=Math.min(1200,d.rect.w+16),C=Math.min(600,d.rect.h+16),D=d.rect.x+d.rect.w/2,I=d.rect.y+d.rect.h/2,q=globalThis.Buffer;if(!q)return null;let L=0;for(let y of b===void 0?[1]:FL){let A=Math.max(2,Math.round(E*y)),F=Math.max(2,Math.round(C*y)),T=y===1?Math.max(0,d.rect.x-8):Math.max(0,D-A/2),k=y===1?Math.max(0,d.rect.y-8):Math.max(0,I-F/2),M=await v.call(p,{clip:{x:T,y:k,width:A,height:F},fullPage:!0,type:"png",animations:"disabled"}),N=q.from(M).toString("base64");if(L=N.length,b===void 0||N.length<=b)return {data:N}}return ku()&&console.error(`ai judge: crop for ${d.tag} left out (${L} base64 chars > ${b} at the smallest clip)`),{}}catch{return null}}function Eg(p=globalThis){if(p.__waDomKernelInstalled)return;function v(x){try{return document.querySelectorAll(x).length===1}catch{return false}}function m(x){if(!x||/^_?[Rr]_[a-z0-9]+_/.test(x)||/^:[Rr][0-9a-z]+:/.test(x)||/^«[Rr][0-9a-z]+»/.test(x)||/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i.test(x)||/^[\w-]*(react|gatsby|root|__next|hash|uuid)[\w-]*$/i.test(x)||/^(radix|headlessui|mui|mantine|cdk|ng|ember|downshift|react-select|react-aria|floating-ui)[-_:]/i.test(x)||/[0-9a-f]{16,}/i.test(x))return true;for(var O=x.split(/[-_:.]/).filter(Boolean),B=O.some(function(te){var de=(te.match(/[a-z]/gi)||[]).length,me=(te.match(/[aeiou]/gi)||[]).length;return de>=4&&me>=1&&!/\d/.test(te)}),V=0;V<O.length;V++){var W=O[V];if(!B&&/^\d{7,}$/.test(W)||/^[0-9a-f]{13}$/i.test(W)&&/[a-f]/i.test(W)&&/\d/.test(W))return true;if(W.length>=7&&/\d/.test(W)&&/[a-z]/i.test(W)){var J=(W.match(/[aeiou]/gi)||[]).length,ie=(W.match(/[a-z]/gi)||[]).length;if(ie>=4&&J/ie<.2||(W.match(/\d[a-z]|[a-z]\d/gi)||[]).length>=4)return true}}return false}function E(x){if(!x.classList||!x.classList.length)return [];for(var O=[],B=0;B<x.classList.length&&O.length<3;B++){var V=x.classList[B];V&&(/^(active|open|focus|hover|disabled|selected|hidden|sr-only|css-[a-z0-9]{4,}|jss[0-9]+|sc-[a-z0-9]+|[a-z]+-[a-f0-9]{6,}|_\d|chakra-|MuiBox-|MuiButton-)$/i.test(V)||/^[a-z][a-z0-9_-]{1,40}$/i.test(V)&&O.push(V));}return O}function C(x){var O=x.tagName.toLowerCase(),B=E(x);return B.length?O+"."+B.map(function(V){return CSS.escape(V)}).join("."):O}function D(x){var O=x.tagName.toLowerCase();if(!x.parentElement)return O;var B=Array.from(x.parentElement.children).filter(function(V){return V.tagName===x.tagName});return B.length===1?O:O+":nth-of-type("+(B.indexOf(x)+1)+")"}function I(x){for(var O=[],B=x;B&&B!==document.body&&B!==document.documentElement;)O.unshift(D(B)),B=B.parentElement;return O.join(" > ")}function q(x){if(!x||x===document.body||x===document.documentElement)return "body";var O=x.getAttribute?x.getAttribute("id"):null;if(O&&!m(O)){var B="#"+CSS.escape(O);if(v(B))return B}for(var V=["data-testid","data-cy","data-qa","data-test","data-component","data-id","data-key"],W=0;W<V.length;W++){var J=x.getAttribute(V[W]);if(J&&J.length<60){var ie=x.tagName.toLowerCase()+"["+V[W]+'="'+CSS.escape(J)+'"]';if(v(ie))return ie}}var te=C(x);if(te.indexOf(".")!==-1&&v(te))return te;for(var de=[],me=null,ue=x;ue&&ue!==document.body&&ue!==document.documentElement;){var De=ue.getAttribute?ue.getAttribute("id"):null;if(De&&!m(De)){var Me="#"+CSS.escape(De);if(v(Me)){me=Me;break}}var Ne=C(ue);if(Ne.indexOf(".")!==-1&&v(Ne)){me=Ne;break}if(de.unshift(ue),ue=ue.parentElement,de.length>6)break}var Te=de.map(function(kt){var Ge=C(kt);if(Ge.indexOf(".")!==-1&&kt.parentElement){var Ft=kt.parentElement.querySelectorAll(":scope > "+Ge);if(Ft.length===1)return "> "+Ge}return "> "+D(kt)}).join(" "),_e="";if(me&&Te?_e=(me+" "+Te).slice(0,200):me&&(_e=me),_e&&v(_e))return _e;var xt=I(x);return xt&&v(xt)?xt:_e||xt||C(x)}function L(x){if(!x)return false;let O=getComputedStyle(x);if(O.display==="none"||O.visibility==="hidden")return false;let B=parseFloat(O.opacity);if(!isNaN(B)&&B<.1)return false;if(!isNaN(B)&&B<.5){var V=O.transform||"";if(V&&V!=="none"&&V!=="matrix(1, 0, 0, 1, 0, 0)")return false}let W=x.getBoundingClientRect();if(W.width<=1||W.height<=1)return false;var J=O.clipPath||"";return !(J!=="none"&&/inset\(\s*(?:50|100)%/.test(J)||/rect\(\s*0(?:px)?\s*,?\s*0(?:px)?\s*,?\s*0(?:px)?\s*,?\s*0(?:px)?\s*\)/.test(O.clip||""))}function y(x){if(!x)return "";for(var O=[],B=String(x).trim().split(/\s+/),V=0;V<B.length;V++){var W=document.getElementById(B[V]);if(W){var J=(W.textContent||"").trim();J&&O.push(J);}}return O.join(" ").replace(/\s+/g," ").trim()}function A(x){var O=y(x.getAttribute("aria-labelledby"));if(O)return O;var B=x.getAttribute("aria-label")||"";if(B.trim())return B.trim();var V=x.tagName?x.tagName.toLowerCase():"";if(V==="input"||V==="select"||V==="textarea"){var W=x.getAttribute("id");if(W)try{var J=document.querySelector('label[for="'+CSS.escape(W)+'"]');if(J&&(J.textContent||"").trim())return (J.textContent||"").trim().replace(/\s+/g," ")}catch{}var ie=x.closest?x.closest("label"):null;if(ie&&(ie.textContent||"").trim())return (ie.textContent||"").trim().replace(/\s+/g," ")}var te=(x.textContent||"").trim().replace(/\s+/g," ");if(!te&&x.querySelector){var de=x.querySelector('img[alt]:not([alt=""])');if(de&&(te=(de.getAttribute("alt")||"").trim()),!te){var me=x.querySelector("svg > title");me&&(te=(me.textContent||"").trim());}}if(te)return te;var ue=x.getAttribute("title")||"";return ue.trim()}var F="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=EquallyAI],[id*=ae_],[class*=ae-exclude],[id*=goog-gt],[class*=goog-te],[id*=recaptcha],[class*=intercom],[class*=drift-],[class*=crisp-],[class*=tawk-],[class*=hubspot-],[class*=fb-],[class*=wistia],#wpadminbar,[class*=cmplz-btn],[class*=cmplz-link],[id*=cmplz-],[class*=onetrust],[class*=cookiebot],[class*=borlabs],[class*=brlbs-],[id*=wp-ada-compliance],[class*=wp-ada-compliance],[id*=webability-widget],[class*=webability-a11y]";function T(x){return x?x.closest(F)!==null:false}function k(x){if(!x)return false;if(x.getAttribute("aria-hidden")==="true"||x.getAttribute("role")==="presentation"||x.getAttribute("role")==="none")return true;let O=x.parentElement,B=0;for(;O&&O!==document.body&&B<6;){if(O.getAttribute("aria-hidden")==="true")return true;O=O.parentElement,B++;}return false}function M(x){let O=x.naturalWidth||x.width||0,B=x.naturalHeight||x.height||0;if(O<=2&&B<=2)return true;let V=x.getBoundingClientRect();if(V.width<=2&&V.height<=2)return true;let W=(x.src||"").toLowerCase();return !!(W.includes("pixel")||W.includes("beacon")||W.includes("tracker")||W.includes("analytics")||W.includes("adsrvr")||W.includes("doubleclick")||W.includes("facebook.com/tr"))}function N(x){var O=x.closest("article,section,li,.card,[class*=card],[class*=post],[class*=item],[class*=product],[class*=entry]");O||(O=x.closest("div,nav,main,aside,header,footer"));var B=O?O.querySelector("h1,h2,h3,h4,h5,h6"):null,V=B?(B.textContent||"").trim().slice(0,80):"",W=x.parentElement,J=W?W.tagName.toLowerCase():"",ie=W&&W.getAttribute("role")||"",te="";if(O){var de=O.querySelector("p,.description,.excerpt,[class*=desc],[class*=summary]");de&&(te=(de.textContent||"").trim().slice(0,120));}var me="";if(O){var ue=O.querySelector('img[alt]:not([alt=""])');ue&&(me=(ue.getAttribute("alt")||"").trim().slice(0,60));}return {nearbyHeading:V,parentTag:J,parentRole:ie,cardText:te,imgAlt:me}}var j={times:"Close",x:"Close","x-lg":"Close","x-circle":"Close","x-mark":"Close",close:"Close","close-circle":"Close",clear:"Clear",cancel:"Cancel",dismiss:"Dismiss","chevron-right":"Next","arrow-right":"Next","caret-right":"Next","angle-right":"Next","chevron-left":"Previous","arrow-left":"Previous","caret-left":"Previous","angle-left":"Previous","chevron-up":"Collapse","arrow-up":"Up","caret-up":"Collapse","angle-up":"Collapse","chevron-down":"Expand","arrow-down":"Down","caret-down":"Expand","angle-down":"Expand",menu:"Menu",bars:"Menu",hamburger:"Menu",list:"Menu",grid:"Grid view",th:"Grid view",search:"Search","magnifying-glass":"Search",magnify:"Search",zoom:"Zoom",user:"User profile",person:"User profile",profile:"User profile","account-circle":"User profile",cart:"Shopping cart","shopping-cart":"Shopping cart",basket:"Shopping cart",bag:"Shopping bag",heart:"Favorite",bookmark:"Bookmark",star:"Rate",home:"Home",house:"Home",gear:"Settings",cog:"Settings",settings:"Settings",tool:"Tools",trash:"Delete","trash-can":"Delete",delete:"Delete",edit:"Edit",pencil:"Edit",pen:"Edit",plus:"Add",add:"Add","plus-circle":"Add",minus:"Remove","minus-circle":"Remove",check:"Confirm","check-circle":"Confirm",checkmark:"Confirm",info:"Information","info-circle":"Information",question:"Help","question-circle":"Help",help:"Help",warning:"Warning",exclamation:"Warning","exclamation-triangle":"Warning",alert:"Alert","external-link":"Open in new tab","external-link-alt":"Open in new tab","box-arrow-up-right":"Open in new tab",download:"Download",upload:"Upload",share:"Share","share-alt":"Share",copy:"Copy",clipboard:"Copy to clipboard",print:"Print",save:"Save",envelope:"Email",email:"Email",mail:"Email",at:"Email",phone:"Phone",telephone:"Phone",mobile:"Mobile phone",location:"Location","map-marker":"Location","map-pin":"Location","geo-alt":"Location",calendar:"Calendar","calendar-alt":"Calendar",clock:"Time",stopwatch:"Timer",eye:"Show","eye-slash":"Hide","eye-off":"Hide",lock:"Lock",unlock:"Unlock",padlock:"Lock",filter:"Filter",sliders:"Adjust",sort:"Sort","sort-alpha-down":"Sort ascending","sort-alpha-up":"Sort descending",refresh:"Refresh",reload:"Refresh",sync:"Refresh","arrows-rotate":"Refresh",play:"Play","play-circle":"Play",pause:"Pause",stop:"Stop","volume-up":"Volume up","volume-down":"Volume down","volume-mute":"Mute",mute:"Mute",speaker:"Audio",twitter:"Twitter","x-twitter":"X (Twitter)","square-x-twitter":"X (Twitter)",facebook:"Facebook","facebook-f":"Facebook","facebook-square":"Facebook","square-facebook":"Facebook","facebook-messenger":"Facebook Messenger",instagram:"Instagram","square-instagram":"Instagram",linkedin:"LinkedIn","linkedin-in":"LinkedIn","square-linkedin":"LinkedIn",youtube:"YouTube","youtube-square":"YouTube","square-youtube":"YouTube",github:"GitHub","github-alt":"GitHub",gitlab:"GitLab",bitbucket:"Bitbucket",tiktok:"TikTok",pinterest:"Pinterest","pinterest-p":"Pinterest","square-pinterest":"Pinterest",rss:"RSS feed","rss-square":"RSS feed",snapchat:"Snapchat","snapchat-ghost":"Snapchat",reddit:"Reddit","reddit-alien":"Reddit",discord:"Discord",slack:"Slack",whatsapp:"WhatsApp",telegram:"Telegram","telegram-plane":"Telegram",vimeo:"Vimeo","vimeo-v":"Vimeo",twitch:"Twitch",tumblr:"Tumblr",medium:"Medium",dribbble:"Dribbble",behance:"Behance",flickr:"Flickr",threads:"Threads",mastodon:"Mastodon",bluesky:"Bluesky",meetup:"Meetup",weibo:"Weibo",wechat:"WeChat",line:"Line",viber:"Viber",skype:"Skype",microsoft:"Microsoft",apple:"Apple",google:"Google","google-plus":"Google+",yelp:"Yelp",tripadvisor:"TripAdvisor",spotify:"Spotify",soundcloud:"SoundCloud",amazon:"Amazon",etsy:"Etsy",ebay:"eBay","arrow-up-right-from-square":"Open in new tab","square-arrow-up-right":"Open in new tab","up-right-from-square":"Open in new tab",back:"Back",forward:"Forward",return:"Return",reply:"Reply","reply-all":"Reply all","forward-arrow":"Forward",redo:"Redo",undo:"Undo","undo-alt":"Undo","rotate-left":"Undo","rotate-right":"Redo",expand:"Expand","expand-arrows-alt":"Expand",compress:"Collapse",minimize:"Minimize",maximize:"Maximize",fullscreen:"Enter fullscreen","fullscreen-exit":"Exit fullscreen",move:"Move",arrows:"Move","arrows-alt":"Move",drag:"Drag",grip:"Drag handle","grip-vertical":"Drag handle","grip-lines":"Drag handle",ellipsis:"More actions","ellipsis-v":"More actions","ellipsis-vertical":"More actions","ellipsis-h":"More actions","ellipsis-horizontal":"More actions","more-vert":"More actions","more-horiz":"More actions","more-vertical":"More actions","more-horizontal":"More actions","dots-vertical":"More actions","three-dots":"More actions","three-dots-vertical":"More actions","play-fill":"Play","pause-fill":"Pause","stop-fill":"Stop","play-pause":"Play/pause",backward:"Rewind","forward-step":"Next track","backward-step":"Previous track","fast-forward":"Fast forward",rewind:"Rewind","skip-forward":"Skip forward","skip-backward":"Skip backward","skip-next":"Next track","skip-previous":"Previous track",volume:"Volume","volume-off":"Mute","volume-x":"Mute","speaker-mute":"Mute",headphones:"Audio",microphone:"Microphone",mic:"Microphone","mic-off":"Mute microphone","microphone-slash":"Mute microphone",video:"Video","video-camera":"Video",camera:"Camera","camera-retro":"Camera",picture:"Picture",image:"Image",images:"Images",photo:"Photo",film:"Video",record:"Record",broadcast:"Broadcast","chevron-right-circle":"Next","chevron-left-circle":"Previous","double-arrow-right":"Next","double-arrow-left":"Previous","angles-right":"Next","angles-left":"Previous","angles-up":"Collapse","angles-down":"Expand",send:"Send","paper-plane":"Send",submit:"Submit",paperclip:"Attach file",attach:"Attach","file-attachment":"Attach file",signature:"Signature","pen-to-square":"Edit","pencil-square":"Edit","pencil-alt":"Edit","square-pen":"Edit",file:"File","file-alt":"Text file","file-text":"Text file","file-lines":"Text file","file-pdf":"PDF document","file-word":"Word document","file-excel":"Excel spreadsheet","file-powerpoint":"PowerPoint presentation","file-zip":"ZIP archive","file-archive":"Archive","file-image":"Image file","file-video":"Video file","file-audio":"Audio file","file-code":"Code file","file-csv":"CSV file",folder:"Folder","folder-open":"Open folder",book:"Book","book-open":"Book",newspaper:"News","bookmark-fill":"Bookmark","cart-plus":"Add to cart","cart-check":"Added to cart","cart-arrow-down":"Add to cart",truck:"Shipping",box:"Package",gift:"Gift",tag:"Tag",tags:"Tags",percent:"Discount","credit-card":"Credit card",wallet:"Wallet",money:"Money","money-bill":"Money","dollar-sign":"Price","euro-sign":"Price","pound-sign":"Price",receipt:"Receipt",store:"Store",shop:"Shop","basket-plus":"Add to basket","heart-fill":"Favorited","star-fill":"Rated","thumbs-up":"Like","thumbs-down":"Dislike",like:"Like",dislike:"Dislike",comment:"Comment",comments:"Comments",chat:"Chat","chat-bubble":"Chat",message:"Message","message-circle":"Message","message-square":"Message",bell:"Notifications","bell-fill":"Notifications",notifications:"Notifications",inbox:"Inbox",archive:"Archive",flag:"Flag",pin:"Pin","pin-fill":"Pinned",thumbtack:"Pin","sign-in":"Sign in","sign-in-alt":"Sign in","sign-out":"Sign out","sign-out-alt":"Sign out","log-in":"Log in","log-out":"Log out",logout:"Log out",login:"Log in","user-plus":"Add user","user-minus":"Remove user","user-circle":"User profile","user-avatar":"User avatar",users:"Users",key:"Password",shield:"Security","shield-check":"Security verified","id-card":"ID card","id-badge":"ID badge","universal-access":"Accessibility","accessible-icon":"Accessibility",wheelchair:"Wheelchair access",braille:"Braille","sign-language":"Sign language","closed-captioning":"Captions",cc:"Captions",sun:"Light mode",moon:"Dark mode",contrast:"Contrast",palette:"Theme",brush:"Theme",globe:"Global",earth:"Global",map:"Map",compass:"Compass",directions:"Directions",route:"Route",navigation:"Navigation",crosshairs:"Locate",spinner:"Loading",loader:"Loading",loading:"Loading","circle-notch":"Loading",hourglass:"Waiting","clock-fill":"Time","check-square":"Confirm","square-check":"Confirm","circle-check":"Confirm","circle-x":"Close",ban:"Blocked",block:"Block","times-circle":"Close",xmark:"Close","xmark-circle":"Close",columns:"Columns view",rows:"Rows view",layout:"Layout",sidebar:"Sidebar","sidebar-toggle":"Toggle sidebar","panel-left":"Left panel","panel-right":"Right panel","list-view":"List view","grid-view":"Grid view",wifi:"Wi-Fi","wifi-off":"Wi-Fi off",bluetooth:"Bluetooth",signal:"Signal",battery:"Battery","battery-full":"Battery full",plug:"Plug",power:"Power","power-off":"Power off","chart-bar":"Bar chart","chart-line":"Line chart","chart-pie":"Pie chart","chart-area":"Area chart","bar-chart":"Bar chart","line-chart":"Line chart","pie-chart":"Pie chart",analytics:"Analytics",statistics:"Statistics","trending-up":"Trending up","trending-down":"Trending down"},$=/^(fa|fas|far|fab|fal|fad|fass|bi|bi-icon|material-icons|material-symbols|ion|ionicon|feather|lucide|dashicons|glyphicon|icofont|heroicon)-/;function K(x,O,B){var V=[];if(x)for(var W=x.split(/\s+/),J=0;J<W.length;J++){var ie=W[J];if(ie){var te=ie.toLowerCase().replace($,"").replace(/^icon-/,"");te&&te!==ie.toLowerCase()&&V.push(te);}}if(O&&V.push(O.toLowerCase().trim()),B){var de=B.trim().toLowerCase();de.length<30&&/^[a-z_-]+$/.test(de)&&V.push(de.replace(/_/g,"-"));}for(var me=0;me<V.length;me++)if(j[V[me]])return j[V[me]];for(var ue=0;ue<V.length;ue++)for(var De=V[ue].split("-"),Me=0;Me<De.length;Me++)if(j[De[Me]])return j[De[Me]];return null}var Q;function _(x){if(!x)return null;var O=x.match(/rgba?\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(?:,\s*([\d.]+))?\s*\)/);if(O)return [parseInt(O[1],10),parseInt(O[2],10),parseInt(O[3],10),O[4]?parseFloat(O[4]):1];if(x==="transparent"||x==="none")return [0,0,0,0];try{if(Q===void 0){var B=document.createElement("canvas");B.width=1,B.height=1,Q=B.getContext("2d",{willReadFrequently:!0});}if(!Q)return null;Q.clearRect(0,0,1,1),Q.fillStyle="#000000",Q.fillStyle=x,Q.fillRect(0,0,1,1);var V=Q.getImageData(0,0,1,1).data;return [V[0],V[1],V[2],V[3]/255]}catch{return null}}function h(x,O,B){var V=function(W){var J=W/255;return J<=.03928?J/12.92:Math.pow((J+.055)/1.055,2.4)};return .2126*V(x)+.7152*V(O)+.0722*V(B)}function R(x,O){var B=h(x[0],x[1],x[2]),V=h(O[0],O[1],O[2]),W=Math.max(B,V),J=Math.min(B,V);return (W+.05)/(J+.05)}Object.assign(p,{__isUnique:v,__isGeneratedId:m,__cleanClasses:E,__tagWithClass:C,__nthSelector:D,__fullPath:I,uniqueSel:q,isVisible:L,__resolveIdRefs:y,getAccessibleName:A,WIDGET_SKIP:F,isWidget:T,isHiddenFromAT:k,isTrackingPixel:M,getNearbyContext:N,__ICON_LABELS:j,__ICON_PREFIX_STRIP:$,lookupIconLabel:K,__colorCtx:Q,parseCssColor:_,relLuminance:h,contrastRatio:R}),p.__waDomKernelInstalled=true;}var Cg="1.12.0";function LL(p){return {async evaluate(d,...b){if(typeof d!="function")throw new Error("string evaluate not supported in DOM mode");return await d(...b)},async addScriptTag(){},url:()=>p.location.href}}async function UO(p={}){let d=p.window??globalThis;if(typeof d.document>"u")throw new Error("scanDocument requires a DOM (window.document)");Eg(d);let b=LL(d),v=[],m=[],E=[],C=[];await pu(b);let D=await ag(b,m,E,{skipFocusMutating:p.interactiveChecks!==true,internalBugs:C,experimental:p.experimental});if(v.push(...D.map(fg)),p.includeAxe!==false)try{let A=await Promise.resolve().then(()=>x3(kg(),1)),T=await(A.default??A).run(d.document,{runOnly:{type:"tag",values:xu(p.wcagTags??wu,p.level)},rules:cg(xu(p.wcagTags??wu,p.level)),resultTypes:["violations","incomplete"]});for(let k of T.violations??[])for(let M of k.nodes??[])v.push({id:`axe-${k.id}-${Lo(Ya(M.target))}`,source:"axe-core",type:k.id,wcag:Au(k.tags),level:_u(k.tags),impact:Du(k.impact),message:k.help,selector:Ya(M.target),html:M.html?.slice(0,300)});for(let k of T.incomplete??[])for(let M of k.nodes??[])v.push({id:`axe-incomplete-${k.id}-${Lo(Ya(M.target))}`,source:"axe-core",type:k.id,wcag:Au(k.tags),level:_u(k.tags),impact:Du(k.impact),message:k.help,selector:Ya(M.target),html:M.html?.slice(0,300),confidence:"needs_review",reviewReason:"axe-core flagged this as needing human review"});}catch{E.push("axe:failed \u2014 axe-core did not complete; results are detector-only");}let I=yu(Io(v).verdicts);try{I=await sg(b,I);}catch{}try{I=await lg(b,I);}catch{}try{I=await ig(b,I);}catch{}I=Xa(I,p.level??"AA");let q=Io(I),L=q.verdicts,y;if(p.judge)try{let A=Xa([...Io(v).undecided,...q.undecided],p.level??"AA"),F=await _g(b,A,{...p.judge,url:d.location.href,level:p.judge.level??p.level??"AA",vision:!1});F.judged.length&&(y=F.judged),F.promoted.length&&(L=yu([...L,...F.promoted]));}catch{}try{L=await gu(b,L,C);}catch{}return hu(C,await mu(b)),{url:d.location.href,timestamp:new Date().toISOString(),engine:Cg,issues:L,internal_bugs:C,incomplete:[],...y?{judged:y}:{},...m.length?{truncated:m}:{},...E.length?{engineWarnings:E}:{},summary:pg(L)}}/*! Bundled license information:
|
|
405
|
+
${JSON.stringify(d,null,1)}`}function AL(p,d={}){let b=p.vision&&p.items.some(E=>E.screenshot),v=b?d.visionModel||cL:d.textModel||vg,m=[{type:"text",text:DL(p)}];if(b)for(let E of p.items)E.screenshot&&(m.push({type:"text",text:`Crop for ${E.id}:`}),m.push({type:"image_url",image_url:{url:`data:image/png;base64,${E.screenshot}`}}));return {model:v,temperature:0,max_tokens:4096,...v===vg&&d.disableTextModelReasoning?{reasoning:{enabled:false}}:{},messages:[{role:"system",content:xL},{role:"user",content:m}]}}function _L(p){let d=(p.baseUrl||uL).replace(/\/+$/,""),b=false;try{let v=new URL(d).hostname;b=v==="openrouter.ai"||v.endsWith(".openrouter.ai");}catch{}return async(v,m)=>{let E=await fetch(`${d}/chat/completions`,{method:"POST",signal:m,headers:{"Content-Type":"application/json",Authorization:`Bearer ${p.apiKey}`,"HTTP-Referer":"https://webability.io","X-Title":"WebAbility scanner judge"},body:JSON.stringify(AL(v,{visionModel:p.visionModel,textModel:p.textModel,disableTextModelReasoning:b}))});if(!E.ok)throw new Xn(`judge model HTTP ${E.status}`);let A=(await E.json()).choices?.[0]?.message?.content;if(typeof A=="string")return A;if(Array.isArray(A))return A.map(F=>typeof F?.text=="string"?F.text:"").join("");throw new Error("judge model returned no content")}}function EL(p){let d=p.apiUrl.replace(/\/+$/,"");return async(b,v)=>{let m=await fetch(`${d}/api/judge-incomplete`,{method:"POST",signal:v,redirect:"manual",headers:{"Content-Type":"application/json",...p.token?{Authorization:`Bearer ${p.token}`}:{},...p.internalSecret?{"x-mcp-internal":p.internalSecret}:{}},body:JSON.stringify(b)});if(m.status>=300&&m.status<400)throw new Xn(`judge endpoint redirected (HTTP ${m.status}); not followed`);if(!m.ok)throw new Xn(`judge endpoint HTTP ${m.status}`);return m.json()}}function CL(p){return p.transport?p.transport:p.apiKey?_L({apiKey:p.apiKey,baseUrl:p.baseUrl,visionModel:p.visionModel,textModel:p.textModel}):p.apiUrl?EL({apiUrl:p.apiUrl,token:p.apiToken,internalSecret:p.internalSecret}):null}function SL(p){return p.maxCropChars??(!p.transport&&!p.apiKey&&p.apiUrl?lL:void 0)}async function _g(p,d,b){let v={promoted:[],judged:[]},m=CL(b);if(d.length===0)return v;let E=b.level??"AA",T=b.timeoutMs??oL,A=Date.now()+T,F=Xa([...d],E);if(F.length===0)return v;let q=new Map;for(let h of F){let S=`${h.selector}|${Su(h)}`,D=q.get(S);D?D.members.push(h):q.set(S,{key:S,members:[h],rep:h,ctx:void 0,kind:"generic"});}let R={elements:{}};if(p)try{await p.evaluate("if(typeof globalThis.__name==='undefined'){globalThis.__name=function(t){return t}}"),R=await p.evaluate(pL,{selectors:[...q.keys()].map(h=>q.get(h).rep.selector),maxHtml:bg});}catch{}for(let h of q.values())h.ctx=R.elements[h.rep.selector],h.ctx&&!h.ctx.found&&(h.ctx=void 0),h.kind=mL(h.rep,h.ctx);let y=new Map;for(let[h,S]of [...q]){if(!S.ctx)continue;let D=`${S.ctx.elementKey}|${Su(S.rep)}`,L=y.get(D);if(!L){y.set(D,S);continue}L.members.push(...S.members),q.delete(h);}let _={promoted:[],judged:[]},x=(h,S)=>{for(let D of h.members){if(S.verdict==="violation"){let L=TL(D,h,S);if(!L)continue;_.promoted.push(L);}_.judged.push({id:D.id.replace("axe-incomplete-","axe-"),type:D.type,verdict:S.verdict,reason:S.reason});}},O=[...q.values()].filter(h=>h.kind==="contrast");if(O.length&&p){for(let S of O)S.pixels=b.measured?.get(S.rep.selector);let h=O.filter(S=>!S.pixels).map(S=>S.rep.selector);if(h.length)try{for(let S of await mg(p,h))for(let D of O)D.rep.selector===S.selector&&(D.pixels=S);}catch{}}let I=[];for(let h of q.values()){let S=m?Oo.get(wg(b.url,h.rep,h.ctx?.html??h.rep.html??"")):void 0;if(S){x(h,S);continue}let D=kL(h);if(D!=="drop"){if(D){x(h,D);continue}I.push(h);}}if(I.length===0||!m)return _;let H=b.vision!==false&&!!p&&typeof p.screenshot=="function",M=new Map,z=new Set,V=0,X=SL(b),Q=h=>({id:h.rep.id,type:h.rep.type,wcag:h.rep.wcag,message:h.rep.message,selector:h.rep.selector,html:(h.ctx?.html??h.rep.html??"").slice(0,bg),context:z.has(h.key)?{...xg(h),cropNote:"no image attached: the crop was too large to send"}:xg(h),...M.has(h.key)?{screenshot:M.get(h.key)}:{}}),C=H?iL:aL;for(let h=0;h<I.length;h+=C){let S=A-Date.now();if(S<=0)break;let D=I.slice(h,h+C);if(H){for(let ne of D){if(V>=sL||Date.now()>A)break;let ce=await IL(p,ne.ctx,X);ce&&(V++,ce.data?M.set(ne.key,ce.data):z.add(ne.key));}if(Date.now()>A)break}let L=new Map(D.map(ne=>[ne.rep.id,ne])),N=new AbortController,B=setTimeout(()=>N.abort(),S),W=null,J=false,ie=Date.now();try{let ne=await Promise.race([m({url:b.url,level:E,vision:H,items:D.map(Q)},N.signal),new Promise((ce,_e)=>N.signal.addEventListener("abort",()=>_e(new Error("judge deadline"))))]);W=wL(ne),ku()&&console.error(`ai judge: batch ${D.length} items, ${D.filter(ce=>M.has(ce.key)).length} crops, ${Date.now()-ie}ms, ${W?W.length+" verdicts":"MALFORMED: "+String(ne).slice(0,200)}`);}catch(ne){ku()&&console.error(`ai judge: batch ${D.length} items failed after ${Date.now()-ie}ms: ${ne.message}`),W=null,J=ne instanceof Xn;}finally{clearTimeout(B);}if(!W){if(N.signal.aborted||J)break;continue}for(let ne of W){let ce=L.get(ne.id);if(!ce)continue;L.delete(ne.id);let _e={verdict:ne.verdict,reason:gL(ne.reason),fix:ne.fix};Oo.size>=dL&&Oo.clear(),Oo.set(wg(b.url,ce.rep,ce.ctx?.html??ce.rep.html??""),_e),x(ce,_e);}}return _}function kL(p){let d=p.ctx;if(p.kind==="alt"){if(d?.role==="presentation"||d?.role==="none")return {verdict:"pass",reason:"declared decorative (role=presentation)"};if(d?.ariaHidden)return {verdict:"pass",reason:"hidden from assistive technology (aria-hidden)"};if(d?.img){let{attrW:b,attrH:v,naturalW:m,naturalH:E}=d.img;if(b>0&&b<=1&&v>0&&v<=1||m>0&&m<=1&&E>0&&E<=1)return {verdict:"pass",reason:"1x1 tracking/spacer pixel"}}return d&&Tu(d)?d.control?d.control.name?{verdict:"pass",reason:`${d.control.tag} is named ("${d.control.name.slice(0,40)}"); the background image needs no text`}:null:{verdict:"pass",reason:"CSS background image on a non-interactive element; decorative"}:d?.parentInteractive?.text?{verdict:"pass",reason:`${d.parentInteractive.tag} is named by its visible link text ("${d.parentInteractive.text.slice(0,40)}"); alt may be empty`}:null}if(p.kind==="motion")return d?.reducedMotionHandled?{verdict:"pass",reason:"a prefers-reduced-motion: reduce rule stops this element's animation"}:null;if(p.kind==="contrast"){if(!p.pixels)return "drop";let b=Ru(p.rep,p.pixels.threshold);return p.pixels.worstRatio>=b?{verdict:"pass",reason:`measured ${p.pixels.worstRatio.toFixed(2)}:1 at worst behind the text, meets ${b}:1`}:p.pixels.bestRatio<b*.97?{verdict:"violation",reason:`measured ${p.pixels.bestRatio.toFixed(2)}:1 at best behind the text, below ${b}:1 everywhere`}:null}return null}function xg(p){let d=p.ctx,b={};return p.rep.reviewReason&&(b.engineNote=p.rep.reviewReason),d&&(b.tag=d.tag,d.nearText&&(b.nearbyText=d.nearText),d.parentInteractive&&(b.parentControl=d.parentInteractive),p.kind==="alt"&&Tu(d)&&d.control&&(b.control={tag:d.control.tag,accessibleName:d.control.name}),p.kind==="alt"&&d.img&&(b.image={src:d.img.src,alt:d.img.alt,width:d.img.naturalW||d.img.attrW||d.rect.w,height:d.img.naturalH||d.img.attrH||d.rect.h}),p.kind==="contrast"&&p.pixels&&(b.fg=Un(p.pixels.fg),b.threshold=Ru(p.rep,p.pixels.threshold),b.bestRatio=Dg(p.pixels.bestRatio),b.worstRatio=Dg(p.pixels.worstRatio),b.fontSize=d.fontSize,b.fontWeight=d.fontWeight),p.kind==="generic"&&(b.fg=Un(d.fg),b.bg=Un(d.bg),b.size={w:Math.round(d.rect.w),h:Math.round(d.rect.h)})),b}function Ru(p,d){return p.wcag==="1.4.6"||p.type==="contrast_enhanced"?d===3?4.5:7:d}var Dg=p=>Math.round(p*100)/100;function TL(p,d,b){let v=yL(p);if(d.kind==="alt"){let E=vL(b.fix?.value);return E?Tu(d.ctx)?{...v,fix:{attribute:"aria-label",currentValue:"",suggestedValue:E,needsManualReview:false}}:{...v,fix:{attribute:"alt",currentValue:d.ctx?.img?.alt??p.fix?.currentValue??"",suggestedValue:E,needsManualReview:false}}:null}if(d.kind==="contrast"){let E=d.pixels;if(!E)return null;let T=Un(E.fg),A=Ru(p,E.threshold),F=E.worstBg?Un(E.worstBg):null,q=E.bestBg?Un(E.bestBg):null,R=O=>!!O&&!!F&&An(O,F)>=A&&(!q||An(O,q)>=A),y,_=bL(b.fix?.value),x=F?RL(T,F,A):null;return _&&_!==T.toLowerCase()&&R(_)?y=`color:${_} !important;`:R(x)?y=`color:${x} !important;`:q&&An(T,q)>=A&&(y=`background-color:${q} !important;`),{...v,impact:"serious",message:`contrast: ${T} text on its rendered background measures ${E.worstRatio.toFixed(2)}:1 at worst (${E.bestRatio.toFixed(2)}:1 at best, from pixels; judge: ${b.reason||"not readable"}), needs ${A}:1`,fix:{attribute:"style",currentValue:T,...y?{suggestedValue:y}:{},needsManualReview:true}}}let m=p.fix;return m?{...v,fix:m}:b.fix?.attribute&&b.fix.value?{...v,fix:{attribute:b.fix.attribute,currentValue:"",suggestedValue:b.fix.value,needsManualReview:true}}:v}function RL(p,d,b){let v=p.match(Ag);if(!v)return null;let m=parseInt(v[1],16),E=[m>>16&255,m>>8&255,m&255],T=q=>"#"+q.map(R=>Math.round(Math.min(255,Math.max(0,R))).toString(16).padStart(2,"0")).join(""),A=(q,R)=>T(E.map(y=>R?y*(1-q):y+(255-y)*q)),F=null;for(let q of [true,false]){if(An(A(1,q),d)<b)continue;let R=0,y=1;for(let x=0;x<24;x++){let O=(R+y)/2;An(A(O,q),d)>=b?y=O:R=O;}let _=A(y,q);An(_,d)>=b&&(!F||y<F.t)&&(F={t:y,hex:_});}return F?.hex??null}var FL=[1,.6,.35];async function IL(p,d,b){let v=p.screenshot;if(typeof v!="function"||!d||d.rect.w<2||d.rect.h<2||d.hidden)return null;try{let E=Math.min(1200,d.rect.w+16),T=Math.min(600,d.rect.h+16),A=d.rect.x+d.rect.w/2,F=d.rect.y+d.rect.h/2,q=globalThis.Buffer;if(!q)return null;let R=0;for(let y of b===void 0?[1]:FL){let _=Math.max(2,Math.round(E*y)),x=Math.max(2,Math.round(T*y)),O=y===1?Math.max(0,d.rect.x-8):Math.max(0,A-_/2),I=y===1?Math.max(0,d.rect.y-8):Math.max(0,F-x/2),H=await v.call(p,{clip:{x:O,y:I,width:_,height:x},fullPage:!0,type:"png",animations:"disabled"}),M=q.from(H).toString("base64");if(R=M.length,b===void 0||M.length<=b)return {data:M}}return ku()&&console.error(`ai judge: crop for ${d.tag} left out (${R} base64 chars > ${b} at the smallest clip)`),{}}catch{return null}}function Eg(p=globalThis){if(p.__waDomKernelInstalled)return;function v(D){try{return document.querySelectorAll(D).length===1}catch{return false}}function m(D){if(!D||/^_?[Rr]_[a-z0-9]+_/.test(D)||/^:[Rr][0-9a-z]+:/.test(D)||/^«[Rr][0-9a-z]+»/.test(D)||/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i.test(D)||/^[\w-]*(react|gatsby|root|__next|hash|uuid)[\w-]*$/i.test(D)||/^(radix|headlessui|mui|mantine|cdk|ng|ember|downshift|react-select|react-aria|floating-ui)[-_:]/i.test(D)||/[0-9a-f]{16,}/i.test(D))return true;for(var L=D.split(/[-_:.]/).filter(Boolean),N=L.some(function(ne){var ce=(ne.match(/[a-z]/gi)||[]).length,_e=(ne.match(/[aeiou]/gi)||[]).length;return ce>=4&&_e>=1&&!/\d/.test(ne)}),B=0;B<L.length;B++){var W=L[B];if(!N&&/^\d{7,}$/.test(W)||/^[0-9a-f]{13}$/i.test(W)&&/[a-f]/i.test(W)&&/\d/.test(W))return true;if(W.length>=7&&/\d/.test(W)&&/[a-z]/i.test(W)){var J=(W.match(/[aeiou]/gi)||[]).length,ie=(W.match(/[a-z]/gi)||[]).length;if(ie>=4&&J/ie<.2||(W.match(/\d[a-z]|[a-z]\d/gi)||[]).length>=4)return true}}return false}function E(D){if(!D.classList||!D.classList.length)return [];for(var L=[],N=0;N<D.classList.length&&L.length<3;N++){var B=D.classList[N];B&&(/^(active|open|focus|hover|disabled|selected|hidden|sr-only|css-[a-z0-9]{4,}|jss[0-9]+|sc-[a-z0-9]+|[a-z]+-[a-f0-9]{6,}|_\d|chakra-|MuiBox-|MuiButton-)$/i.test(B)||/^[a-z][a-z0-9_-]{1,40}$/i.test(B)&&L.push(B));}return L}function T(D){var L=D.tagName.toLowerCase(),N=E(D);return N.length?L+"."+N.map(function(B){return CSS.escape(B)}).join("."):L}function A(D){var L=D.tagName.toLowerCase();if(!D.parentElement)return L;var N=Array.from(D.parentElement.children).filter(function(B){return B.tagName===D.tagName});return N.length===1?L:L+":nth-of-type("+(N.indexOf(D)+1)+")"}function F(D){for(var L=[],N=D;N&&N!==document.body&&N!==document.documentElement;)L.unshift(A(N)),N=N.parentElement;return L.join(" > ")}function q(D){if(!D||D===document.body||D===document.documentElement)return "body";var L=D.getAttribute?D.getAttribute("id"):null;if(L&&!m(L)){var N="#"+CSS.escape(L);if(v(N))return N}for(var B=["data-testid","data-cy","data-qa","data-test","data-component","data-id","data-key"],W=0;W<B.length;W++){var J=D.getAttribute(B[W]);if(J&&J.length<60){var ie=D.tagName.toLowerCase()+"["+B[W]+'="'+CSS.escape(J)+'"]';if(v(ie))return ie}}var ne=T(D);if(ne.indexOf(".")!==-1&&v(ne))return ne;for(var ce=[],_e=null,me=D;me&&me!==document.body&&me!==document.documentElement;){var Se=me.getAttribute?me.getAttribute("id"):null;if(Se&&!m(Se)){var Ge="#"+CSS.escape(Se);if(v(Ge)){_e=Ge;break}}var Pe=T(me);if(Pe.indexOf(".")!==-1&&v(Pe)){_e=Pe;break}if(ce.unshift(me),me=me.parentElement,ce.length>6)break}var ve=ce.map(function(rt){var Ne=T(rt);if(Ne.indexOf(".")!==-1&&rt.parentElement){var Ft=rt.parentElement.querySelectorAll(":scope > "+Ne);if(Ft.length===1)return "> "+Ne}return "> "+A(rt)}).join(" "),De="";if(_e&&ve?De=(_e+" "+ve).slice(0,200):_e&&(De=_e),De&&v(De))return De;var yt=F(D);return yt&&v(yt)?yt:De||yt||T(D)}function R(D){if(!D)return false;let L=getComputedStyle(D);if(L.display==="none"||L.visibility==="hidden")return false;let N=parseFloat(L.opacity);if(!isNaN(N)&&N<.1)return false;if(!isNaN(N)&&N<.5){var B=L.transform||"";if(B&&B!=="none"&&B!=="matrix(1, 0, 0, 1, 0, 0)")return false}let W=D.getBoundingClientRect();if(W.width<=1||W.height<=1)return false;var J=L.clipPath||"";return !(J!=="none"&&/inset\(\s*(?:50|100)%/.test(J)||/rect\(\s*0(?:px)?\s*,?\s*0(?:px)?\s*,?\s*0(?:px)?\s*,?\s*0(?:px)?\s*\)/.test(L.clip||""))}function y(D){if(!D)return "";for(var L=[],N=String(D).trim().split(/\s+/),B=0;B<N.length;B++){var W=document.getElementById(N[B]);if(W){var J=(W.textContent||"").trim();J&&L.push(J);}}return L.join(" ").replace(/\s+/g," ").trim()}function _(D){var L=y(D.getAttribute("aria-labelledby"));if(L)return L;var N=D.getAttribute("aria-label")||"";if(N.trim())return N.trim();var B=D.tagName?D.tagName.toLowerCase():"";if(B==="input"||B==="select"||B==="textarea"){var W=D.getAttribute("id");if(W)try{var J=document.querySelector('label[for="'+CSS.escape(W)+'"]');if(J&&(J.textContent||"").trim())return (J.textContent||"").trim().replace(/\s+/g," ")}catch{}var ie=D.closest?D.closest("label"):null;if(ie&&(ie.textContent||"").trim())return (ie.textContent||"").trim().replace(/\s+/g," ")}var ne=(D.textContent||"").trim().replace(/\s+/g," ");if(!ne&&D.querySelector){var ce=D.querySelector('img[alt]:not([alt=""])');if(ce&&(ne=(ce.getAttribute("alt")||"").trim()),!ne){var _e=D.querySelector("svg > title");_e&&(ne=(_e.textContent||"").trim());}}if(ne)return ne;var me=D.getAttribute("title")||"";return me.trim()}var x="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=EquallyAI],[id*=ae_],[class*=ae-exclude],[id*=goog-gt],[class*=goog-te],[id*=recaptcha],[class*=intercom],[class*=drift-],[class*=crisp-],[class*=tawk-],[class*=hubspot-],[class*=fb-],[class*=wistia],#wpadminbar,[class*=cmplz-btn],[class*=cmplz-link],[id*=cmplz-],[class*=onetrust],[class*=cookiebot],[class*=borlabs],[class*=brlbs-],[id*=wp-ada-compliance],[class*=wp-ada-compliance],[id*=webability-widget],[class*=webability-a11y]";function O(D){return D?D.closest(x)!==null:false}function I(D){if(!D)return false;if(D.getAttribute("aria-hidden")==="true"||D.getAttribute("role")==="presentation"||D.getAttribute("role")==="none")return true;let L=D.parentElement,N=0;for(;L&&L!==document.body&&N<6;){if(L.getAttribute("aria-hidden")==="true")return true;L=L.parentElement,N++;}return false}function H(D){let L=D.naturalWidth||D.width||0,N=D.naturalHeight||D.height||0;if(L<=2&&N<=2)return true;let B=D.getBoundingClientRect();if(B.width<=2&&B.height<=2)return true;let W=(D.src||"").toLowerCase();return !!(W.includes("pixel")||W.includes("beacon")||W.includes("tracker")||W.includes("analytics")||W.includes("adsrvr")||W.includes("doubleclick")||W.includes("facebook.com/tr"))}function M(D){var L=D.closest("article,section,li,.card,[class*=card],[class*=post],[class*=item],[class*=product],[class*=entry]");L||(L=D.closest("div,nav,main,aside,header,footer"));var N=L?L.querySelector("h1,h2,h3,h4,h5,h6"):null,B=N?(N.textContent||"").trim().slice(0,80):"",W=D.parentElement,J=W?W.tagName.toLowerCase():"",ie=W&&W.getAttribute("role")||"",ne="";if(L){var ce=L.querySelector("p,.description,.excerpt,[class*=desc],[class*=summary]");ce&&(ne=(ce.textContent||"").trim().slice(0,120));}var _e="";if(L){var me=L.querySelector('img[alt]:not([alt=""])');me&&(_e=(me.getAttribute("alt")||"").trim().slice(0,60));}return {nearbyHeading:B,parentTag:J,parentRole:ie,cardText:ne,imgAlt:_e}}var z={times:"Close",x:"Close","x-lg":"Close","x-circle":"Close","x-mark":"Close",close:"Close","close-circle":"Close",clear:"Clear",cancel:"Cancel",dismiss:"Dismiss","chevron-right":"Next","arrow-right":"Next","caret-right":"Next","angle-right":"Next","chevron-left":"Previous","arrow-left":"Previous","caret-left":"Previous","angle-left":"Previous","chevron-up":"Collapse","arrow-up":"Up","caret-up":"Collapse","angle-up":"Collapse","chevron-down":"Expand","arrow-down":"Down","caret-down":"Expand","angle-down":"Expand",menu:"Menu",bars:"Menu",hamburger:"Menu",list:"Menu",grid:"Grid view",th:"Grid view",search:"Search","magnifying-glass":"Search",magnify:"Search",zoom:"Zoom",user:"User profile",person:"User profile",profile:"User profile","account-circle":"User profile",cart:"Shopping cart","shopping-cart":"Shopping cart",basket:"Shopping cart",bag:"Shopping bag",heart:"Favorite",bookmark:"Bookmark",star:"Rate",home:"Home",house:"Home",gear:"Settings",cog:"Settings",settings:"Settings",tool:"Tools",trash:"Delete","trash-can":"Delete",delete:"Delete",edit:"Edit",pencil:"Edit",pen:"Edit",plus:"Add",add:"Add","plus-circle":"Add",minus:"Remove","minus-circle":"Remove",check:"Confirm","check-circle":"Confirm",checkmark:"Confirm",info:"Information","info-circle":"Information",question:"Help","question-circle":"Help",help:"Help",warning:"Warning",exclamation:"Warning","exclamation-triangle":"Warning",alert:"Alert","external-link":"Open in new tab","external-link-alt":"Open in new tab","box-arrow-up-right":"Open in new tab",download:"Download",upload:"Upload",share:"Share","share-alt":"Share",copy:"Copy",clipboard:"Copy to clipboard",print:"Print",save:"Save",envelope:"Email",email:"Email",mail:"Email",at:"Email",phone:"Phone",telephone:"Phone",mobile:"Mobile phone",location:"Location","map-marker":"Location","map-pin":"Location","geo-alt":"Location",calendar:"Calendar","calendar-alt":"Calendar",clock:"Time",stopwatch:"Timer",eye:"Show","eye-slash":"Hide","eye-off":"Hide",lock:"Lock",unlock:"Unlock",padlock:"Lock",filter:"Filter",sliders:"Adjust",sort:"Sort","sort-alpha-down":"Sort ascending","sort-alpha-up":"Sort descending",refresh:"Refresh",reload:"Refresh",sync:"Refresh","arrows-rotate":"Refresh",play:"Play","play-circle":"Play",pause:"Pause",stop:"Stop","volume-up":"Volume up","volume-down":"Volume down","volume-mute":"Mute",mute:"Mute",speaker:"Audio",twitter:"Twitter","x-twitter":"X (Twitter)","square-x-twitter":"X (Twitter)",facebook:"Facebook","facebook-f":"Facebook","facebook-square":"Facebook","square-facebook":"Facebook","facebook-messenger":"Facebook Messenger",instagram:"Instagram","square-instagram":"Instagram",linkedin:"LinkedIn","linkedin-in":"LinkedIn","square-linkedin":"LinkedIn",youtube:"YouTube","youtube-square":"YouTube","square-youtube":"YouTube",github:"GitHub","github-alt":"GitHub",gitlab:"GitLab",bitbucket:"Bitbucket",tiktok:"TikTok",pinterest:"Pinterest","pinterest-p":"Pinterest","square-pinterest":"Pinterest",rss:"RSS feed","rss-square":"RSS feed",snapchat:"Snapchat","snapchat-ghost":"Snapchat",reddit:"Reddit","reddit-alien":"Reddit",discord:"Discord",slack:"Slack",whatsapp:"WhatsApp",telegram:"Telegram","telegram-plane":"Telegram",vimeo:"Vimeo","vimeo-v":"Vimeo",twitch:"Twitch",tumblr:"Tumblr",medium:"Medium",dribbble:"Dribbble",behance:"Behance",flickr:"Flickr",threads:"Threads",mastodon:"Mastodon",bluesky:"Bluesky",meetup:"Meetup",weibo:"Weibo",wechat:"WeChat",line:"Line",viber:"Viber",skype:"Skype",microsoft:"Microsoft",apple:"Apple",google:"Google","google-plus":"Google+",yelp:"Yelp",tripadvisor:"TripAdvisor",spotify:"Spotify",soundcloud:"SoundCloud",amazon:"Amazon",etsy:"Etsy",ebay:"eBay","arrow-up-right-from-square":"Open in new tab","square-arrow-up-right":"Open in new tab","up-right-from-square":"Open in new tab",back:"Back",forward:"Forward",return:"Return",reply:"Reply","reply-all":"Reply all","forward-arrow":"Forward",redo:"Redo",undo:"Undo","undo-alt":"Undo","rotate-left":"Undo","rotate-right":"Redo",expand:"Expand","expand-arrows-alt":"Expand",compress:"Collapse",minimize:"Minimize",maximize:"Maximize",fullscreen:"Enter fullscreen","fullscreen-exit":"Exit fullscreen",move:"Move",arrows:"Move","arrows-alt":"Move",drag:"Drag",grip:"Drag handle","grip-vertical":"Drag handle","grip-lines":"Drag handle",ellipsis:"More actions","ellipsis-v":"More actions","ellipsis-vertical":"More actions","ellipsis-h":"More actions","ellipsis-horizontal":"More actions","more-vert":"More actions","more-horiz":"More actions","more-vertical":"More actions","more-horizontal":"More actions","dots-vertical":"More actions","three-dots":"More actions","three-dots-vertical":"More actions","play-fill":"Play","pause-fill":"Pause","stop-fill":"Stop","play-pause":"Play/pause",backward:"Rewind","forward-step":"Next track","backward-step":"Previous track","fast-forward":"Fast forward",rewind:"Rewind","skip-forward":"Skip forward","skip-backward":"Skip backward","skip-next":"Next track","skip-previous":"Previous track",volume:"Volume","volume-off":"Mute","volume-x":"Mute","speaker-mute":"Mute",headphones:"Audio",microphone:"Microphone",mic:"Microphone","mic-off":"Mute microphone","microphone-slash":"Mute microphone",video:"Video","video-camera":"Video",camera:"Camera","camera-retro":"Camera",picture:"Picture",image:"Image",images:"Images",photo:"Photo",film:"Video",record:"Record",broadcast:"Broadcast","chevron-right-circle":"Next","chevron-left-circle":"Previous","double-arrow-right":"Next","double-arrow-left":"Previous","angles-right":"Next","angles-left":"Previous","angles-up":"Collapse","angles-down":"Expand",send:"Send","paper-plane":"Send",submit:"Submit",paperclip:"Attach file",attach:"Attach","file-attachment":"Attach file",signature:"Signature","pen-to-square":"Edit","pencil-square":"Edit","pencil-alt":"Edit","square-pen":"Edit",file:"File","file-alt":"Text file","file-text":"Text file","file-lines":"Text file","file-pdf":"PDF document","file-word":"Word document","file-excel":"Excel spreadsheet","file-powerpoint":"PowerPoint presentation","file-zip":"ZIP archive","file-archive":"Archive","file-image":"Image file","file-video":"Video file","file-audio":"Audio file","file-code":"Code file","file-csv":"CSV file",folder:"Folder","folder-open":"Open folder",book:"Book","book-open":"Book",newspaper:"News","bookmark-fill":"Bookmark","cart-plus":"Add to cart","cart-check":"Added to cart","cart-arrow-down":"Add to cart",truck:"Shipping",box:"Package",gift:"Gift",tag:"Tag",tags:"Tags",percent:"Discount","credit-card":"Credit card",wallet:"Wallet",money:"Money","money-bill":"Money","dollar-sign":"Price","euro-sign":"Price","pound-sign":"Price",receipt:"Receipt",store:"Store",shop:"Shop","basket-plus":"Add to basket","heart-fill":"Favorited","star-fill":"Rated","thumbs-up":"Like","thumbs-down":"Dislike",like:"Like",dislike:"Dislike",comment:"Comment",comments:"Comments",chat:"Chat","chat-bubble":"Chat",message:"Message","message-circle":"Message","message-square":"Message",bell:"Notifications","bell-fill":"Notifications",notifications:"Notifications",inbox:"Inbox",archive:"Archive",flag:"Flag",pin:"Pin","pin-fill":"Pinned",thumbtack:"Pin","sign-in":"Sign in","sign-in-alt":"Sign in","sign-out":"Sign out","sign-out-alt":"Sign out","log-in":"Log in","log-out":"Log out",logout:"Log out",login:"Log in","user-plus":"Add user","user-minus":"Remove user","user-circle":"User profile","user-avatar":"User avatar",users:"Users",key:"Password",shield:"Security","shield-check":"Security verified","id-card":"ID card","id-badge":"ID badge","universal-access":"Accessibility","accessible-icon":"Accessibility",wheelchair:"Wheelchair access",braille:"Braille","sign-language":"Sign language","closed-captioning":"Captions",cc:"Captions",sun:"Light mode",moon:"Dark mode",contrast:"Contrast",palette:"Theme",brush:"Theme",globe:"Global",earth:"Global",map:"Map",compass:"Compass",directions:"Directions",route:"Route",navigation:"Navigation",crosshairs:"Locate",spinner:"Loading",loader:"Loading",loading:"Loading","circle-notch":"Loading",hourglass:"Waiting","clock-fill":"Time","check-square":"Confirm","square-check":"Confirm","circle-check":"Confirm","circle-x":"Close",ban:"Blocked",block:"Block","times-circle":"Close",xmark:"Close","xmark-circle":"Close",columns:"Columns view",rows:"Rows view",layout:"Layout",sidebar:"Sidebar","sidebar-toggle":"Toggle sidebar","panel-left":"Left panel","panel-right":"Right panel","list-view":"List view","grid-view":"Grid view",wifi:"Wi-Fi","wifi-off":"Wi-Fi off",bluetooth:"Bluetooth",signal:"Signal",battery:"Battery","battery-full":"Battery full",plug:"Plug",power:"Power","power-off":"Power off","chart-bar":"Bar chart","chart-line":"Line chart","chart-pie":"Pie chart","chart-area":"Area chart","bar-chart":"Bar chart","line-chart":"Line chart","pie-chart":"Pie chart",analytics:"Analytics",statistics:"Statistics","trending-up":"Trending up","trending-down":"Trending down"},V=/^(fa|fas|far|fab|fal|fad|fass|bi|bi-icon|material-icons|material-symbols|ion|ionicon|feather|lucide|dashicons|glyphicon|icofont|heroicon)-/;function X(D,L,N){var B=[];if(D)for(var W=D.split(/\s+/),J=0;J<W.length;J++){var ie=W[J];if(ie){var ne=ie.toLowerCase().replace(V,"").replace(/^icon-/,"");ne&&ne!==ie.toLowerCase()&&B.push(ne);}}if(L&&B.push(L.toLowerCase().trim()),N){var ce=N.trim().toLowerCase();ce.length<30&&/^[a-z_-]+$/.test(ce)&&B.push(ce.replace(/_/g,"-"));}for(var _e=0;_e<B.length;_e++)if(z[B[_e]])return z[B[_e]];for(var me=0;me<B.length;me++)for(var Se=B[me].split("-"),Ge=0;Ge<Se.length;Ge++)if(z[Se[Ge]])return z[Se[Ge]];return null}var Q;function C(D){if(!D)return null;var L=D.match(/rgba?\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(?:,\s*([\d.]+))?\s*\)/);if(L)return [parseInt(L[1],10),parseInt(L[2],10),parseInt(L[3],10),L[4]?parseFloat(L[4]):1];if(D==="transparent"||D==="none")return [0,0,0,0];try{if(Q===void 0){var N=document.createElement("canvas");N.width=1,N.height=1,Q=N.getContext("2d",{willReadFrequently:!0});}if(!Q)return null;Q.clearRect(0,0,1,1),Q.fillStyle="#000000",Q.fillStyle=D,Q.fillRect(0,0,1,1);var B=Q.getImageData(0,0,1,1).data;return [B[0],B[1],B[2],B[3]/255]}catch{return null}}function h(D,L,N){var B=function(W){var J=W/255;return J<=.03928?J/12.92:Math.pow((J+.055)/1.055,2.4)};return .2126*B(D)+.7152*B(L)+.0722*B(N)}function S(D,L){var N=h(D[0],D[1],D[2]),B=h(L[0],L[1],L[2]),W=Math.max(N,B),J=Math.min(N,B);return (W+.05)/(J+.05)}Object.assign(p,{__isUnique:v,__isGeneratedId:m,__cleanClasses:E,__tagWithClass:T,__nthSelector:A,__fullPath:F,uniqueSel:q,isVisible:R,__resolveIdRefs:y,getAccessibleName:_,WIDGET_SKIP:x,isWidget:O,isHiddenFromAT:I,isTrackingPixel:H,getNearbyContext:M,__ICON_LABELS:z,__ICON_PREFIX_STRIP:V,lookupIconLabel:X,__colorCtx:Q,parseCssColor:C,relLuminance:h,contrastRatio:S}),p.__waDomKernelInstalled=true;}var Cg="1.13.0";function LL(p){return {async evaluate(d,...b){if(typeof d!="function")throw new Error("string evaluate not supported in DOM mode");return await d(...b)},async addScriptTag(){},url:()=>p.location.href}}async function UO(p={}){let d=p.window??globalThis;if(typeof d.document>"u")throw new Error("scanDocument requires a DOM (window.document)");Eg(d);let b=LL(d),v=[],m=[],E=[],T=[];await pu(b);let A=await ag(b,m,E,{skipFocusMutating:p.interactiveChecks!==true,internalBugs:T,experimental:p.experimental});if(v.push(...A.map(fg)),p.includeAxe!==false)try{let _=await Promise.resolve().then(()=>x3(kg(),1)),O=await(_.default??_).run(d.document,{runOnly:{type:"tag",values:xu(p.wcagTags??wu,p.level)},rules:cg(xu(p.wcagTags??wu,p.level)),resultTypes:["violations","incomplete"]});for(let I of O.violations??[])for(let H of I.nodes??[])v.push({id:`axe-${I.id}-${Lo(Ya(H.target))}`,source:"axe-core",type:I.id,wcag:Au(I.tags),level:_u(I.tags),impact:Du(I.impact),message:I.help,selector:Ya(H.target),html:H.html?.slice(0,300)});for(let I of O.incomplete??[])for(let H of I.nodes??[])v.push({id:`axe-incomplete-${I.id}-${Lo(Ya(H.target))}`,source:"axe-core",type:I.id,wcag:Au(I.tags),level:_u(I.tags),impact:Du(I.impact),message:I.help,selector:Ya(H.target),html:H.html?.slice(0,300),confidence:"needs_review",reviewReason:"axe-core flagged this as needing human review"});}catch{E.push("axe:failed \u2014 axe-core did not complete; results are detector-only");}let F=yu(Io(v).verdicts);try{F=await sg(b,F);}catch{}try{F=await lg(b,F);}catch{}try{F=await ig(b,F);}catch{}F=Xa(F,p.level??"AA");let q=Io(F),R=q.verdicts,y;if(p.judge)try{let _=Xa([...Io(v).undecided,...q.undecided],p.level??"AA"),x=await _g(b,_,{...p.judge,url:d.location.href,level:p.judge.level??p.level??"AA",vision:!1});x.judged.length&&(y=x.judged),x.promoted.length&&(R=yu([...R,...x.promoted]));}catch{}try{R=await gu(b,R,T);}catch{}return hu(T,await mu(b)),{url:d.location.href,timestamp:new Date().toISOString(),engine:Cg,issues:R,internal_bugs:T,incomplete:[],...y?{judged:y}:{},...m.length?{truncated:m}:{},...E.length?{engineWarnings:E}:{},summary:pg(R)}}/*! Bundled license information:
|
|
406
406
|
|
|
407
407
|
axe-core/axe.js:
|
|
408
408
|
(*! axe v4.11.3
|