@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/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var lI=Object.create;var Fu=Object.defineProperty;var uI=Object.getOwnPropertyDescriptor;var cI=Object.getOwnPropertyNames;var dI=Object.getPrototypeOf,fI=Object.prototype.hasOwnProperty;var xr=(d,f)=>()=>(d&&(f=d(d=0)),f);var pI=(d,f)=>()=>(f||d((f={exports:{}}).exports,f),f.exports),Dr=(d,f)=>{for(var g in f)Fu(d,g,{get:f[g],enumerable:true});},mI=(d,f,g,m)=>{if(f&&typeof f=="object"||typeof f=="function")for(let p of cI(f))!fI.call(d,p)&&p!==g&&Fu(d,p,{get:()=>f[p],enumerable:!(m=uI(f,p))||m.enumerable});return d};var Uo=(d,f,g)=>(g=d!=null?lI(dI(d)):{},mI(Fu(g,"default",{value:d,enumerable:true}),d));var
|
|
1
|
+
var lI=Object.create;var Fu=Object.defineProperty;var uI=Object.getOwnPropertyDescriptor;var cI=Object.getOwnPropertyNames;var dI=Object.getPrototypeOf,fI=Object.prototype.hasOwnProperty;var xr=(d,f)=>()=>(d&&(f=d(d=0)),f);var pI=(d,f)=>()=>(f||d((f={exports:{}}).exports,f),f.exports),Dr=(d,f)=>{for(var g in f)Fu(d,g,{get:f[g],enumerable:true});},mI=(d,f,g,m)=>{if(f&&typeof f=="object"||typeof f=="function")for(let p of cI(f))!fI.call(d,p)&&p!==g&&Fu(d,p,{get:()=>f[p],enumerable:!(m=uI(f,p))||m.enumerable});return d};var Uo=(d,f,g)=>(g=d!=null?lI(dI(d)):{},mI(Fu(g,"default",{value:d,enumerable:true}),d));var _g={};Dr(_g,{ACCESSIBLE_NAME_JS:()=>oL,IS_HIDDEN_FROM_AT_JS:()=>lL,IS_TRACKING_PIXEL_JS:()=>uL,IS_VISIBLE_JS:()=>iL,NEARBY_CONTEXT_JS:()=>cL,UNIQUE_SELECTOR_JS:()=>aL,WIDGET_SKIP_JS:()=>sL});var aL,iL,oL,sL,lL,uL,cL,Ag=xr(()=>{aL=`
|
|
2
2
|
function __isUnique(sel) {
|
|
3
3
|
try { return document.querySelectorAll(sel).length === 1; } catch { return false; }
|
|
4
4
|
}
|
|
@@ -359,30 +359,30 @@ var lI=Object.create;var Fu=Object.defineProperty;var uI=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 pn={};Dr(pn,{INJECT_ATTR:()=>Wr,OWN_TOOLING_SELECTOR:()=>Wo,attachMutations:()=>wL,dropToolingFindings:()=>
|
|
363
|
-
`;await d.addScriptTag({content:m+(f.content??"")});}async function vL(d){try{await d.evaluate("if(typeof globalThis.__name==='undefined'){globalThis.__name=function(t){return t}}");}catch{}try{await d.evaluate(({key:f,attr:g,max:m})=>{let p=window;if(p[Symbol.for(f)]||typeof MutationObserver>"u")return;let w={tool:null,log:[],overflow:0,left:new Map};w.ours=D=>{let x=D&&D.nodeType===1?D:D?D.parentElement:null;for(;x;){if(x.hasAttribute(g))return !0;x=x.parentElement;}return !1},w.take=D=>{if(w.tool)for(let x of D){if(x.type==="attributes"&&x.attributeName===g||w.ours(x.target))continue;let
|
|
364
|
-
`).slice(1),v=/eval at evaluate/.test(k[0]||""),F=P=>/^\s*at /.test(P)&&!/UtilityScript|eval at evaluate/.test(P);H.set(Z.target,v&&k.length>1&&k.slice(1).some(F)?"page":"ours");};document.addEventListener("focusin",Y,!0),_[Symbol.for(y)]={src:H,h:Y};}catch{}let R=_[Symbol.for(x)];R&&(R.take(R.obs.takeRecords()),R.tool=C);let S=document.activeElement,T=!!S&&S!==document.body&&S!==document.documentElement,M=[];try{let B=typeof getSelection=="function"?getSelection():null;M=B?Array.from({length:B.rangeCount},(H,Y)=>B.getRangeAt(Y).cloneRange()):[];}catch{}let O=Array.from(document.querySelectorAll(`[${I}]:not(script):not([${I}="${E}"])`));return _[Symbol.for(D)]={el:T?S:null,ranges:M,marked:new Set(O)},{scrollX:window.scrollX,scrollY:window.scrollY,hadFocus:T,injected:O.length}},{key:Tg,prov:ii,name:f,attr:Wr,widget:Lu,fsk:Rg});}catch{w=null;}try{return await m()}finally{w&&await DL(d,f,w,g,p);}}async function DL(d,f,g,m,p){let w={leaks:[]};try{w=await d.evaluate(({key:D,prov:x,snap:C,attr:I,widget:E,fsk:y})=>{let _=window,R=[],S=_[Symbol.for(y)];S&&(document.removeEventListener("focusin",S.h,!0),delete _[Symbol.for(y)]);let T=_[Symbol.for(D)],M=T?.el??null;try{delete _[Symbol.for(D)];}catch{}let O=_[Symbol.for(x)];O&&O.take(O.obs.takeRecords());let B=document.activeElement,H=B&&B!==document.body&&B!==document.documentElement?B:null,Y=!!H&&H!==M&&S?.src.get(H)==="page";if(H!==M&&!Y){R.push("activeElement"),O&&H&&O.left.set(H,O.tool);try{H?.blur?.();}catch{}try{M&&M.isConnected&&M.focus({preventScroll:!0});}catch{}}let Z=null;try{Z=document.querySelector(":focus-visible");}catch{}if(Z&&Z!==M&&!(Y&&Z===H)){R.push("focus-visible");try{Z.blur();}catch{}}!Y&&(Math.abs(window.scrollX-C.scrollX)>1||Math.abs(window.scrollY-C.scrollY)>1)&&(R.push("scroll"),window.scrollTo({left:C.scrollX,top:C.scrollY,behavior:"instant"}));try{let v=getSelection(),F=T?.ranges??[];if(v&&(v.rangeCount!==F.length||F.some((P,V)=>P.compareBoundaryPoints(Range.START_TO_START,v.getRangeAt(V))!==0||P.compareBoundaryPoints(Range.END_TO_END,v.getRangeAt(V))!==0))){R.push("selection"),v.removeAllRanges();for(let P of F)v.addRange(P);}}catch{}let k=Array.from(document.querySelectorAll(`[${I}]:not(script):not([${I}="${E}"])`));k.length!==C.injected&&R.push(`injected-nodes ${C.injected}->${k.length}`);for(let v of k)if(T?.marked&&!T.marked.has(v))try{v.remove();}catch{}return O&&(O.tool=null),{leaks:R}},{key:Tg,prov:ii,snap:g,attr:Wr,widget:Lu,fsk:Rg});}catch{}if(w.leaks.length){let D=`tooling:state-not-restored (${f}: ${w.leaks.join(", ")}) \u2014 restored by the scanner`;if(p.bugs?.push({tool:f,kind:"state-not-restored",detail:w.leaks.join(", ")}),p.strict)throw new Error(D);m.push(D);}}async function AL(d,f,g){if(!f.length)return f;let m=Array.from(new Set(f.map(w=>w.selector).filter(Boolean))),p={};try{p=await d.evaluate(({sels:w,own:D,prov:x,attr:C,widget:I})=>{let E=window[Symbol.for(x)],y={};for(let _ of w){y[_]=null;let R=null;try{R=document.querySelector(_.replace(/:(?:focus-visible|focus-within|focus|hover|active)$/,""));}catch{R=null;}if(!R)continue;let S=R.closest(D);if(S&&S!==document.body&&S!==document.documentElement){let T=S.closest(`[${C}]`)?.getAttribute(C);y[_]={tool:T&&T!==I?T.split(":")[0]:null,why:`on node injected by ${T}`};continue}E&&E.left.has(R)&&(y[_]={tool:E.left.get(R),why:"on the element the tool left focused"});}return y},{sels:m,own:Wo,prov:ii,attr:Wr,widget:Lu});}catch{return f}return f.filter(w=>{let D=p[w.selector];return D?(D.tool&&g?.push({tool:D.tool,kind:"finding-dropped",detail:`${w.type} ${D.why}`,selector:w.selector}),false):true})}var Wr,Lu,Wo,ii,gL,yL,Tg,Rg,Pr=xr(()=>{Wr="data-wa-injected",Lu="widget",Wo=`[${Wr}],[class*=asw-],[id*=webability-widget],[class*=webability-a11y]`,ii="wa.provenance",gL=500;yL=10;Tg="wa.stateGuard.active",Rg="wa.stateGuard.focusSource";});var Fg={};Dr(Fg,{applyPlatformTemplates:()=>SL,detectPlatform:()=>EL,isAriaHiddenSafeForTemplate:()=>Mu});function Mu(d){let f=d.trim().split(/[\s>~+]+/),m=f[f.length-1].trim().match(/^([a-zA-Z][a-zA-Z0-9-]*)/);if(!m)return true;let p=m[1].toLowerCase();return p==="body"||p==="html"?false:!new Set(["a","button","input","select","textarea"]).has(p)}function _L(){if(Zn)return Zn;try{let d=globalThis.process,f=d?.getBuiltinModule?.("fs"),g=d?.getBuiltinModule?.("path");if(!f||!g)throw new Error("fs unavailable");let m=f.readFileSync(g.join(__dirname,"platformTemplates.json"),"utf-8");return Zn=JSON.parse(m),Zn}catch{return Zn={},Zn}}async function EL(d){return d.evaluate(()=>{let f=[],g=document.documentElement.outerHTML.slice(0,5e4).toLowerCase(),p=(document.querySelector('meta[name="generator"]')?.getAttribute("content")||"").toLowerCase();return (g.includes("shopify")||g.includes("cdn.shopify.com")||window.Shopify)&&f.push("shopify"),(p.includes("wordpress")||g.includes("wp-content")||g.includes("wp-includes"))&&f.push("wordpress"),(g.includes("civicplus")||g.includes("civicalerts")||g.includes("cpslider")||document.querySelector(".cpSlider, #breadCrumbs, .rcPrev, .rcNext"))&&f.push("civicplus"),(g.includes("finalsite")||document.querySelector(".fsHeader, .fsCalendar, .fsPanelGroup, #fsPoweredByFinalsite"))&&f.push("finalsite"),(g.includes("dealersocket")||g.includes("dealer.com")||document.querySelector(".ddc-tracking, .inventory-listing-default, .vlp-refine"))&&f.push("dealer"),(g.includes("wix.com")||g.includes("wixsite.com"))&&f.push("wix"),(g.includes("squarespace")||p.includes("squarespace"))&&f.push("squarespace"),(g.includes("webflow")||p.includes("webflow"))&&f.push("webflow"),f.push("universal"),f.push("universal_iframe"),f})}function CL(d){return /^[a-z][a-z0-9]*$/i.test(d.trim())}async function SL(d,f,g="scan"){let m=_L(),p=[];for(let D of f)m[D]&&p.push(...m[D].filter(x=>!CL(x.selector)));return p.length?g==="manifest"?p.filter(D=>D.attribute==="aria-hidden"&&D.value==="true"?Mu(D.selector):true).map(D=>({selector:D.selector,attribute:D.attribute,currentValue:"",issueType:D.attribute==="alt"?"missing_alt":D.attribute==="aria-label"?"missing_label":"missing_semantic_role",wcag:D.attribute==="alt"?"1.1.1":"4.1.2",context:`platform:${D.platform} (template)`,needsAI:false,fixValue:D.value})):(await d.evaluate(D=>{let x=[];for(let C of D)try{let I=document.querySelectorAll(C.selector);if(I.length>0){let E=!1;for(let y of I){let _=y.getAttribute(C.attribute)||"";if(C.attribute==="alt"&&y.getAttribute("alt")===null)E=!0;else if(C.attribute==="alt"&&_===""&&C.value==="")E=!0;else if(C.attribute==="aria-label"&&!_)E=!0;else if(C.attribute==="title"&&!_)E=!0;else if(C.attribute==="role"&&_!==C.value)E=!0;else if(C.attribute==="aria-level"&&!y.getAttribute("aria-level"))E=!(y.tagName==="H1"&&C.value!=="1"&&document.querySelectorAll("h1").length<2);else if(C.attribute==="aria-hidden"&&y.getAttribute("aria-hidden")!=="true"){let R=y.tagName.toLowerCase(),S=R==="a"&&y.hasAttribute("href")||R==="button"||R==="input"||R==="select"||R==="textarea"||Number(y.getAttribute("tabindex")??-1)>=0;R!=="body"&&R!=="html"&&!S&&(E=!0);}if(E)break}E&&x.push({selector:C.selector,attribute:C.attribute,value:C.value,platform:C.platform,matchCount:I.length});}}catch{}return x},p.filter(D=>!(D.attribute==="aria-hidden"&&D.value==="true")||Mu(D.selector)).map(D=>({selector:D.selector,attribute:D.attribute,value:D.value,platform:D.platform})))).map(D=>({selector:D.selector,attribute:D.attribute,currentValue:"",issueType:D.attribute==="alt"?"missing_alt":D.attribute==="aria-label"?"missing_label":"missing_semantic_role",wcag:D.attribute==="alt"?"1.1.1":"4.1.2",context:`platform:${D.platform} (${D.matchCount} elements)`,needsAI:false,fixValue:D.value})):[]}var Zn,Ig=xr(()=>{Zn=null;});var ui=pI((Bg,li)=>{(function d(f){var g=f,m=f.document,p=p||{};p.version="4.11.3",typeof define=="function"&&define.amd&&define("axe-core",[],function(){return p}),(typeof li>"u"?"undefined":fe(li))==="object"&&li.exports&&typeof d.toString=="function"&&(p.source="("+d.toString()+')(typeof window === "object" ? window : this);',li.exports=p),typeof f.getComputedStyle=="function"&&(f.axe=p);var D=["precision","format","inGamut"],x=["space"],C=["algorithm"],I=["method"],E=["maxDeltaE","deltaEMethod","steps","maxSteps"],y=["node"],_=["relatedNodes"],R=["node"],S=["variant"],T=["matches"],M=["chromium"],O=["noImplicit"],B=["noPresentational"],H=["node"],Y=["environmentData"],Z=["environmentData"],k=["environmentData"],v=["environmentData"],F=["environmentData"];function P(re){return fr(re)||jt(re)||Nr(re)||Or()}function V(re){var oe=typeof Map=="function"?new Map:void 0;return V=function(ve){if(ve===null||!j(ve))return ve;if(typeof ve!="function")throw new TypeError("Super expression must either be null or a function");if(oe!==void 0){if(oe.has(ve))return oe.get(ve);oe.set(ve,Ge);}function Ge(){return J(ve,arguments,Ae(this).constructor)}return Ge.prototype=Object.create(ve.prototype,{constructor:{value:Ge,enumerable:false,writable:true,configurable:true}}),Ne(Ge,ve)},V(re)}function j(re){try{return Function.toString.call(re).indexOf("[native code]")!==-1}catch{return typeof re=="function"}}function G(re,oe,de){return (oe=pi(oe))in re?Object.defineProperty(re,oe,{value:de,enumerable:true,configurable:true,writable:true}):re[oe]=de,re}function J(re,oe,de){if(ue())return Reflect.construct.apply(null,arguments);var ve=[null];ve.push.apply(ve,oe);var Ge=new(re.bind.apply(re,ve));return de&&Ne(Ge,de.prototype),Ge}function ee(re,oe){if(re==null)return {};var de,ve,Ge=ae(re,oe);if(Object.getOwnPropertySymbols){var tt=Object.getOwnPropertySymbols(re);for(ve=0;ve<tt.length;ve++)de=tt[ve],oe.indexOf(de)===-1&&{}.propertyIsEnumerable.call(re,de)&&(Ge[de]=re[de]);}return Ge}function ae(re,oe){if(re==null)return {};var de={};for(var ve in re)if({}.hasOwnProperty.call(re,ve)){if(oe.indexOf(ve)!==-1)continue;de[ve]=re[ve];}return de}function Q(re,oe,de){return oe=Ae(oe),ce(re,ue()?Reflect.construct(oe,de||[],Ae(re).constructor):oe.apply(re,de))}function ce(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 we(re)}function we(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 Ae(re){return Ae=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(oe){return oe.__proto__||Object.getPrototypeOf(oe)},Ae(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(de,ve){return de.__proto__=ve,de},Ne(re,oe)}function Fe(){return Fe=Object.assign?Object.assign.bind():function(re){for(var oe=1;oe<arguments.length;oe++){var de=arguments[oe];for(var ve in de)({}).hasOwnProperty.call(de,ve)&&(re[ve]=de[ve]);}return re},Fe.apply(null,arguments)}function ke(re){return Ke(re)||jt(re)||Nr(re)||Mt()}function Mt(){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 dr(re,oe){var
|
|
367
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var tt,ot=true,pt=false;return {s:function(){de=de.call(re);},n:function(){var qe=de.next();return ot=qe.done,qe},e:function(qe){pt=true,tt=qe;},f:function(){try{ot||de.return==null||de.return();}finally{if(pt)throw tt}}}}function Nr(re,oe){if(re){if(typeof re=="string")return mn(re,oe);var de={}.toString.call(re).slice(8,-1);return de==="Object"&&re.constructor&&(de=re.constructor.name),de==="Map"||de==="Set"?Array.from(re):de==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(de)?mn(re,oe):void 0}}function mn(re,oe){(oe==null||oe>re.length)&&(oe=re.length);for(var de=0,ve=Array(oe);de<oe;de++)ve[de]=re[de];return ve}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,de,ve,Ge,tt,ot,pt,Je,qe,Yt){var Kt=Object.create,qr=Object.defineProperty,ca=Object.getPrototypeOf,Av=Object.prototype.hasOwnProperty,_v=Object.getOwnPropertyNames,Ev=Object.getOwnPropertyDescriptor,Cv=function(t,r,n){return r in t?qr(t,r,{enumerable:true,configurable:true,writable:true,value:n}):t[r]=n},Sv=function(t){return qr(t,"__esModule",{value:true})},U=function(t,r){return function(){return r||t((r={exports:{}}).exports,r),r.exports}},pr=function(t,r){for(var n in r)qr(t,n,{get:r[n],enumerable:true});},kv=function(t,r,n){if(r&&fe(r)==="object"||typeof r=="function"){var a=it(_v(r)),i;try{var o=function(){var l=i.value;!Av.call(t,l)&&l!=="default"&&qr(t,l,{get:function(){return r[l]},enumerable:!(n=Ev(r,l))||n.enumerable});};for(a.s();!(i=a.n()).done;)o();}catch(s){a.e(s);}finally{a.f();}}return t},Ar=function(t){return kv(Sv(qr(t!=null?Kt(ca(t)):{},"default",t&&t.__esModule&&"default"in t?{get:function(){return t.default},enumerable:true}:{value:t,enumerable:true})),t)},uc=function(t,r,n){return Cv(t,fe(r)!=="symbol"?r+"":r,n),n},Tv=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(ie){var me=fe(ie);return ie!==null&&(me==="object"||me==="function")}function n(ie){return typeof ie=="function"}var a=void 0;Array.isArray?a=Array.isArray:a=function(me){return Object.prototype.toString.call(me)==="[object Array]"};var i=a,o=0,s=void 0,l=void 0,u=function(me,ye){ne[o]=me,ne[o+1]=ye,o+=2,o===2&&(l?l(se):_e());};function c(ie){l=ie;}function h(ie){u=ie;}var b=typeof f<"u"?f:void 0,A=b||{},L=A.MutationObserver||A.WebKitMutationObserver,N=typeof self>"u"&&typeof process<"u"&&{}.toString.call(process)==="[object process]",q=typeof Uint8ClampedArray<"u"&&typeof importScripts<"u"&&typeof MessageChannel<"u";function $(){return function(){return process.nextTick(se)}}function z(){return typeof s<"u"?function(){s(se);}:K()}function W(){var ie=0,me=new L(se),ye=m.createTextNode("");return me.observe(ye,{characterData:true}),function(){ye.data=ie=++ie%2;}}function X(){var ie=new MessageChannel;return ie.port1.onmessage=se,function(){return ie.port2.postMessage(0)}}function K(){var ie=setTimeout;return function(){return ie(se,1)}}var ne=new Array(1e3);function se(){for(var ie=0;ie<o;ie+=2){var me=ne[ie],ye=ne[ie+1];me(ye),ne[ie]=void 0,ne[ie+1]=void 0;}o=0;}function pe(){try{var ie=Function("return this")().require("vertx");return s=ie.runOnLoop||ie.runOnContext,z()}catch{return K()}}var _e=void 0;N?_e=$():L?_e=W():q?_e=X():b===void 0?_e=pe():_e=K();function le(ie,me){var ye=this,Ie=new this.constructor(Ee);Ie[xe]===void 0&>(Ie);var ze=ye._state;if(ze){var Ze=arguments[ze-1];u(function(){return ft(ze,Ie,Ze,ye._result)});}else et(ye,Ie,ie,me);return Ie}function ge(ie){var me=this;if(ie&&fe(ie)==="object"&&ie.constructor===me)return ie;var ye=new me(Ee);return Se(ye,ie),ye}var xe=Math.random().toString(36).substring(2);function Ee(){}var Oe=void 0,je=1,Re=2;function He(){return new TypeError("You cannot resolve a promise with itself")}function be(){return new TypeError("A promises callback cannot return that same promise.")}function Pe(ie,me,ye,Ie){try{ie.call(me,ye,Ie);}catch(ze){return ze}}function te(ie,me,ye){u(function(Ie){var ze=false,Ze=Pe(ye,me,function(Tt){ze||(ze=true,me!==Tt?Se(Ie,Tt):Te(Ie,Tt));},function(Tt){ze||(ze=true,Le(Ie,Tt));},"Settle: "+(Ie._label||" unknown promise"));!ze&&Ze&&(ze=true,Le(Ie,Ze));},ie);}function Ce(ie,me){me._state===je?Te(ie,me._result):me._state===Re?Le(ie,me._result):et(me,void 0,function(ye){return Se(ie,ye)},function(ye){return Le(ie,ye)});}function he(ie,me,ye){me.constructor===ie.constructor&&ye===le&&me.constructor.resolve===ge?Ce(ie,me):ye===void 0?Te(ie,me):n(ye)?te(ie,me,ye):Te(ie,me);}function Se(ie,me){if(ie===me)Le(ie,He());else if(r(me)){var ye=void 0;try{ye=me.then;}catch(Ie){Le(ie,Ie);return}he(ie,me,ye);}else Te(ie,me);}function $e(ie){ie._onerror&&ie._onerror(ie._result),ut(ie);}function Te(ie,me){ie._state===Oe&&(ie._result=me,ie._state=je,ie._subscribers.length!==0&&u(ut,ie));}function Le(ie,me){ie._state===Oe&&(ie._state=Re,ie._result=me,u($e,ie));}function et(ie,me,ye,Ie){var ze=ie._subscribers,Ze=ze.length;ie._onerror=null,ze[Ze]=me,ze[Ze+je]=ye,ze[Ze+Re]=Ie,Ze===0&&ie._state&&u(ut,ie);}function ut(ie){var me=ie._subscribers,ye=ie._state;if(me.length!==0){for(var Ie=void 0,ze=void 0,Ze=ie._result,Tt=0;Tt<me.length;Tt+=3)Ie=me[Tt],ze=me[Tt+ye],Ie?ft(ye,Ie,ze,Ze):ze(Ze);ie._subscribers.length=0;}}function ft(ie,me,ye,Ie){var ze=n(ye),Ze=void 0,Tt=void 0,Kn=true;if(ze){try{Ze=ye(Ie);}catch(Go){Kn=false,Tt=Go;}if(me===Ze){Le(me,be());return}}else Ze=Ie;me._state!==Oe||(ze&&Kn?Se(me,Ze):Kn===false?Le(me,Tt):ie===je?Te(me,Ze):ie===Re&&Le(me,Ze));}function Dt(ie,me){try{me(function(Ie){Se(ie,Ie);},function(Ie){Le(ie,Ie);});}catch(ye){Le(ie,ye);}}var St=0;function Ct(){return St++}function gt(ie){ie[xe]=St++,ie._state=void 0,ie._result=void 0,ie._subscribers=[];}function Yn(){return new Error("Array Methods must be provided an Array")}var Pt=(function(){function ie(me,ye){this._instanceConstructor=me,this.promise=new me(Ee),this.promise[xe]||gt(this.promise),i(ye)?(this.length=ye.length,this._remaining=ye.length,this._result=new Array(this.length),this.length===0?Te(this.promise,this._result):(this.length=this.length||0,this._enumerate(ye),this._remaining===0&&Te(this.promise,this._result))):Le(this.promise,Yn());}return ie.prototype._enumerate=function(ye){for(var Ie=0;this._state===Oe&&Ie<ye.length;Ie++)this._eachEntry(ye[Ie],Ie);},ie.prototype._eachEntry=function(ye,Ie){var ze=this._instanceConstructor,Ze=ze.resolve;if(Ze===ge){var Tt=void 0,Kn=void 0,Go=false;try{Tt=ye.then;}catch(Ru){Go=true,Kn=Ru;}if(Tt===le&&ye._state!==Oe)this._settledAt(ye._state,Ie,ye._result);else if(typeof Tt!="function")this._remaining--,this._result[Ie]=ye;else if(ze===wt){var Tu=new ze(Ee);Go?Le(Tu,Kn):he(Tu,ye,Tt),this._willSettleAt(Tu,Ie);}else this._willSettleAt(new ze(function(Ru){return Ru(ye)}),Ie);}else this._willSettleAt(Ze(ye),Ie);},ie.prototype._settledAt=function(ye,Ie,ze){var Ze=this.promise;Ze._state===Oe&&(this._remaining--,ye===Re?Le(Ze,ze):this._result[Ie]=ze),this._remaining===0&&Te(Ze,this._result);},ie.prototype._willSettleAt=function(ye,Ie){var ze=this;et(ye,void 0,function(Ze){return ze._settledAt(je,Ie,Ze)},function(Ze){return ze._settledAt(Re,Ie,Ze)});},ie})();function vt(ie){return new Pt(this,ie).promise}function kt(ie){var me=this;return i(ie)?new me(function(ye,Ie){for(var ze=ie.length,Ze=0;Ze<ze;Ze++)me.resolve(ie[Ze]).then(ye,Ie);}):new me(function(ye,Ie){return Ie(new TypeError("You must pass an array to race."))})}function At(ie){var me=this,ye=new me(Ee);return Le(ye,ie),ye}function Bt(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function Ht(){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 ie(me){this[xe]=Ct(),this._result=this._state=void 0,this._subscribers=[],Ee!==me&&(typeof me!="function"&&Bt(),this instanceof ie?Dt(this,me):Ht());}return ie.prototype.catch=function(ye){return this.then(null,ye)},ie.prototype.finally=function(ye){var Ie=this,ze=Ie.constructor;return n(ye)?Ie.then(function(Ze){return ze.resolve(ye()).then(function(){return Ze})},function(Ze){return ze.resolve(ye()).then(function(){throw Ze})}):Ie.then(ye,ye)},ie})();wt.prototype.then=le,wt.all=vt,wt.race=kt,wt.resolve=ge,wt.reject=At,wt._setScheduler=c,wt._setAsap=h,wt._asap=u;function ct(){var ie=void 0;if(typeof g<"u")ie=g;else if(typeof self<"u")ie=self;else try{ie=Function("return this")();}catch{throw new Error("polyfill failed because global object is unavailable in this environment")}var me=ie.Promise;if(me){var ye=null;try{ye=Object.prototype.toString.call(me.resolve());}catch{}if(ye==="[object Promise]"&&!me.cast)return}ie.Promise=wt;}return wt.polyfill=ct,wt.Promise=wt,wt});}),Rv=U(function(e){var t=1e5,r=(function(){var te=Object.prototype.toString,Ce=Object.prototype.hasOwnProperty;return {Class:function(Se){return te.call(Se).replace(/^\[object *|\]$/g,"")},HasProperty:function(Se,$e){return $e in Se},HasOwnProperty:function(Se,$e){return Ce.call(Se,$e)},IsCallable:function(Se){return typeof Se=="function"},ToInt32:function(Se){return Se>>0},ToUint32:function(Se){return Se>>>0}}})(),n=Math.LN2,a=Math.abs,i=Math.floor,o=Math.log,s=Math.min,l=Math.pow,u=Math.round;function c(te,Ce,he){return te<Ce?Ce:te>he?he:te}var h=Object.getOwnPropertyNames||function(te){if(te!==Object(te))throw new TypeError("Object.getOwnPropertyNames called on non-object");var Ce=[],he;for(he in te)r.HasOwnProperty(te,he)&&Ce.push(he);return Ce},b;Object.defineProperty&&(function(){try{return Object.defineProperty({},"x",{}),!0}catch{return false}})()?b=Object.defineProperty:b=function(Ce,he,Se){if(!Ce===Object(Ce))throw new TypeError("Object.defineProperty called on non-object");return r.HasProperty(Se,"get")&&Object.prototype.__defineGetter__&&Object.prototype.__defineGetter__.call(Ce,he,Se.get),r.HasProperty(Se,"set")&&Object.prototype.__defineSetter__&&Object.prototype.__defineSetter__.call(Ce,he,Se.set),r.HasProperty(Se,"value")&&(Ce[he]=Se.value),Ce};function A(te){if(h&&b){var Ce=h(te),he;for(he=0;he<Ce.length;he+=1)b(te,Ce[he],{value:te[Ce[he]],writable:false,enumerable:false,configurable:false});}}function L(te){if(!b)return;if(te.length>t)throw new RangeError("Array too large for polyfill");function Ce(Se){b(te,Se,{get:function(){return te._getter(Se)},set:function(Te){te._setter(Se,Te);},enumerable:true,configurable:false});}var he;for(he=0;he<te.length;he+=1)Ce(he);}function N(te,Ce){var he=32-Ce;return te<<he>>he}function q(te,Ce){var he=32-Ce;return te<<he>>>he}function $(te){return [te&255]}function z(te){return N(te[0],8)}function W(te){return [te&255]}function X(te){return q(te[0],8)}function K(te){return te=u(Number(te)),[te<0?0:te>255?255:te&255]}function ne(te){return [te>>8&255,te&255]}function se(te){return N(te[0]<<8|te[1],16)}function pe(te){return [te>>8&255,te&255]}function _e(te){return q(te[0]<<8|te[1],16)}function le(te){return [te>>24&255,te>>16&255,te>>8&255,te&255]}function ge(te){return N(te[0]<<24|te[1]<<16|te[2]<<8|te[3],32)}function xe(te){return [te>>24&255,te>>16&255,te>>8&255,te&255]}function Ee(te){return q(te[0]<<24|te[1]<<16|te[2]<<8|te[3],32)}function Oe(te,Ce,he){var Se=(1<<Ce-1)-1,$e,Te,Le,et,ut,ft,Dt;function St(Ct){var gt=i(Ct),Yn=Ct-gt;return Yn<.5?gt:Yn>.5||gt%2?gt+1:gt}for(te!==te?(Te=(1<<Ce)-1,Le=l(2,he-1),$e=0):te===1/0||te===-1/0?(Te=(1<<Ce)-1,Le=0,$e=te<0?1:0):te===0?(Te=0,Le=0,$e=1/te===-1/0?1:0):($e=te<0,te=a(te),te>=l(2,1-Se)?(Te=s(i(o(te)/n),1023),Le=St(te/l(2,Te)*l(2,he)),Le/l(2,he)>=2&&(Te=Te+1,Le=1),Te>Se?(Te=(1<<Ce)-1,Le=0):(Te=Te+Se,Le=Le-l(2,he))):(Te=0,Le=St(te/l(2,1-Se-he)))),ut=[],et=he;et;et-=1)ut.push(Le%2?1:0),Le=i(Le/2);for(et=Ce;et;et-=1)ut.push(Te%2?1:0),Te=i(Te/2);for(ut.push($e?1:0),ut.reverse(),ft=ut.join(""),Dt=[];ft.length;)Dt.push(parseInt(ft.substring(0,8),2)),ft=ft.substring(8);return Dt}function je(te,Ce,he){var Se=[],$e,Te,Le,et,ut,ft,Dt,St;for($e=te.length;$e;$e-=1)for(Le=te[$e-1],Te=8;Te;Te-=1)Se.push(Le%2?1:0),Le=Le>>1;return Se.reverse(),et=Se.join(""),ut=(1<<Ce-1)-1,ft=parseInt(et.substring(0,1),2)?-1:1,Dt=parseInt(et.substring(1,1+Ce),2),St=parseInt(et.substring(1+Ce),2),Dt===(1<<Ce)-1?St===0?ft*(1/0):NaN:Dt>0?ft*l(2,Dt-ut)*(1+St/l(2,he)):St!==0?ft*l(2,-(ut-1))*(St/l(2,he)):ft<0?-0:0}function Re(te){return je(te,11,52)}function He(te){return Oe(te,11,52)}function be(te){return je(te,8,23)}function Pe(te){return Oe(te,8,23)}((function(){function te(Ct){if(Ct=r.ToInt32(Ct),Ct<0)throw new RangeError("ArrayBuffer size is not a small enough positive integer");this.byteLength=Ct,this._bytes=[],this._bytes.length=Ct;var gt;for(gt=0;gt<this.byteLength;gt+=1)this._bytes[gt]=0;A(this);}e.ArrayBuffer=e.ArrayBuffer||te;function Ce(){}function he(Ct,gt,Yn){var Pt;return Pt=function(kt,At,Bt){var Ht,wt,ct,ie;if(!arguments.length||typeof arguments[0]=="number"){if(this.length=r.ToInt32(arguments[0]),Bt<0)throw new RangeError("ArrayBufferView size is not a small enough positive integer");this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new te(this.byteLength),this.byteOffset=0;}else if(fe(arguments[0])==="object"&&arguments[0].constructor===Pt)for(Ht=arguments[0],this.length=Ht.length,this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new te(this.byteLength),this.byteOffset=0,ct=0;ct<this.length;ct+=1)this._setter(ct,Ht._getter(ct));else if(fe(arguments[0])==="object"&&!(arguments[0]instanceof te||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 te(this.byteLength),this.byteOffset=0,ct=0;ct<this.length;ct+=1)ie=wt[ct],this._setter(ct,Number(ie));else if(fe(arguments[0])==="object"&&(arguments[0]instanceof te||r.Class(arguments[0])==="ArrayBuffer")){if(this.buffer=kt,this.byteOffset=r.ToUint32(At),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(Bt),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=Pt,A(this),L(this);},Pt.prototype=new Ce,Pt.prototype.BYTES_PER_ELEMENT=Ct,Pt.prototype._pack=gt,Pt.prototype._unpack=Yn,Pt.BYTES_PER_ELEMENT=Ct,Pt.prototype._getter=function(vt){if(arguments.length<1)throw new SyntaxError("Not enough arguments");if(vt=r.ToUint32(vt),!(vt>=this.length)){for(var kt=[],At=0,Bt=this.byteOffset+vt*this.BYTES_PER_ELEMENT;At<this.BYTES_PER_ELEMENT;At+=1,Bt+=1)kt.push(this.buffer._bytes[Bt]);return this._unpack(kt)}},Pt.prototype.get=Pt.prototype._getter,Pt.prototype._setter=function(vt,kt){if(arguments.length<2)throw new SyntaxError("Not enough arguments");if(vt=r.ToUint32(vt),vt<this.length){var At=this._pack(kt),Bt,Ht;for(Bt=0,Ht=this.byteOffset+vt*this.BYTES_PER_ELEMENT;Bt<this.BYTES_PER_ELEMENT;Bt+=1,Ht+=1)this.buffer._bytes[Ht]=At[Bt];}},Pt.prototype.set=function(vt,kt){if(arguments.length<1)throw new SyntaxError("Not enough arguments");var At,Bt,Ht,wt,ct,ie,me,ye,Ie,ze;if(fe(arguments[0])==="object"&&arguments[0].constructor===this.constructor){if(At=arguments[0],Ht=r.ToUint32(arguments[1]),Ht+At.length>this.length)throw new RangeError("Offset plus length of array is out of range");if(ye=this.byteOffset+Ht*this.BYTES_PER_ELEMENT,Ie=At.length*this.BYTES_PER_ELEMENT,At.buffer===this.buffer){for(ze=[],ct=0,ie=At.byteOffset;ct<Ie;ct+=1,ie+=1)ze[ct]=At.buffer._bytes[ie];for(ct=0,me=ye;ct<Ie;ct+=1,me+=1)this.buffer._bytes[me]=ze[ct];}else for(ct=0,ie=At.byteOffset,me=ye;ct<Ie;ct+=1,ie+=1,me+=1)this.buffer._bytes[me]=At.buffer._bytes[ie];}else if(fe(arguments[0])==="object"&&typeof arguments[0].length<"u"){if(Bt=arguments[0],wt=r.ToUint32(Bt.length),Ht=r.ToUint32(arguments[1]),Ht+wt>this.length)throw new RangeError("Offset plus length of array is out of range");for(ct=0;ct<wt;ct+=1)ie=Bt[ct],this._setter(Ht+ct,Number(ie));}else throw new TypeError("Unexpected argument type(s)")},Pt.prototype.subarray=function(vt,kt){vt=r.ToInt32(vt),kt=r.ToInt32(kt),arguments.length<1&&(vt=0),arguments.length<2&&(kt=this.length),vt<0&&(vt=this.length+vt),kt<0&&(kt=this.length+kt),vt=c(vt,0,this.length),kt=c(kt,0,this.length);var At=kt-vt;return At<0&&(At=0),new this.constructor(this.buffer,this.byteOffset+vt*this.BYTES_PER_ELEMENT,At)},Pt}var Se=he(1,$,z),$e=he(1,W,X),Te=he(1,K,X),Le=he(2,ne,se),et=he(2,pe,_e),ut=he(4,le,ge),ft=he(4,xe,Ee),Dt=he(4,Pe,be),St=he(8,He,Re);e.Int8Array=e.Int8Array||Se,e.Uint8Array=e.Uint8Array||$e,e.Uint8ClampedArray=e.Uint8ClampedArray||Te,e.Int16Array=e.Int16Array||Le,e.Uint16Array=e.Uint16Array||et,e.Int32Array=e.Int32Array||ut,e.Uint32Array=e.Uint32Array||ft,e.Float32Array=e.Float32Array||Dt,e.Float64Array=e.Float64Array||St;}))(),(function(){function te(Te,Le){return r.IsCallable(Te.get)?Te.get(Le):Te[Le]}var Ce=(function(){var Te=new e.Uint16Array([4660]),Le=new e.Uint8Array(Te.buffer);return te(Le,0)===18})();function he(Te,Le,et){if(arguments.length===0)Te=new e.ArrayBuffer(0);else if(!(Te instanceof e.ArrayBuffer||r.Class(Te)==="ArrayBuffer"))throw new TypeError("TypeError");if(this.buffer=Te||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");A(this);}function Se(Te){return function(Le,et){if(Le=r.ToUint32(Le),Le+Te.BYTES_PER_ELEMENT>this.byteLength)throw new RangeError("Array index out of range");Le+=this.byteOffset;var ut=new e.Uint8Array(this.buffer,Le,Te.BYTES_PER_ELEMENT),ft=[],Dt;for(Dt=0;Dt<Te.BYTES_PER_ELEMENT;Dt+=1)ft.push(te(ut,Dt));return !!et==!!Ce&&ft.reverse(),te(new Te(new e.Uint8Array(ft).buffer),0)}}he.prototype.getUint8=Se(e.Uint8Array),he.prototype.getInt8=Se(e.Int8Array),he.prototype.getUint16=Se(e.Uint16Array),he.prototype.getInt16=Se(e.Int16Array),he.prototype.getUint32=Se(e.Uint32Array),he.prototype.getInt32=Se(e.Int32Array),he.prototype.getFloat32=Se(e.Float32Array),he.prototype.getFloat64=Se(e.Float64Array);function $e(Te){return function(Le,et,ut){if(Le=r.ToUint32(Le),Le+Te.BYTES_PER_ELEMENT>this.byteLength)throw new RangeError("Array index out of range");var ft=new Te([et]),Dt=new e.Uint8Array(ft.buffer),St=[],Ct,gt;for(Ct=0;Ct<Te.BYTES_PER_ELEMENT;Ct+=1)St.push(te(Dt,Ct));!!ut==!!Ce&&St.reverse(),gt=new e.Uint8Array(this.buffer,Le,Te.BYTES_PER_ELEMENT),gt.set(St);}}he.prototype.setUint8=$e(e.Uint8Array),he.prototype.setInt8=$e(e.Int8Array),he.prototype.setUint16=$e(e.Uint16Array),he.prototype.setInt16=$e(e.Int16Array),he.prototype.setUint32=$e(e.Uint32Array),he.prototype.setInt32=$e(e.Int32Array),he.prototype.setFloat32=$e(e.Float32Array),he.prototype.setFloat64=$e(e.Float64Array),e.DataView=e.DataView||he;})();}),Fv=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 h=c[this._id];return h&&h[0]===c?(delete c[this._id],true):false}),a(o.prototype,"get",function(c){if(s(this,"get"),!!i(c)){var h=c[this._id];if(h&&h[0]===c)return h[1]}}),a(o.prototype,"has",function(c){if(s(this,"has"),!i(c))return false;var h=c[this._id];return !!(h&&h[0]===c)}),a(o.prototype,"set",function(c,h){if(s(this,"set"),!i(c))throw new TypeError("Invalid value used as weak map key");var b=c[this._id];return b&&b[0]===c?(b[1]=h,this):(a(c,this._id,[c,h]),this)});function s(c,h){if(!i(c)||!r.call(c,"_id"))throw new TypeError(h+" 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 f<"u"?f:typeof g<"u"?g:e);}),mr=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 f>"u"?"undefined":fe(f))=="object"&&f)||r((typeof self>"u"?"undefined":fe(self))=="object"&&self)||r((typeof g>"u"?"undefined":fe(g))=="object"&&g)||r(fe(e)=="object"&&e)||(function(){return this})()||Function("return this")();}),hr=U(function(e,t){t.exports=function(r){try{return !!r()}catch{return true}};}),hi=U(function(e,t){var r=hr();t.exports=!r(function(){var n=function(){}.bind();return typeof n!="function"||n.hasOwnProperty("prototype")});}),Iv=U(function(e,t){var r=hi(),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)});}),ar=U(function(e,t){var r=hi(),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)}};}),gi=U(function(e,t){var r=ar(),n=r({}.toString),a=r("".slice);t.exports=function(i){return a(n(i),8,-1)};}),cc=U(function(e,t){var r=gi(),n=ar();t.exports=function(a){if(r(a)==="Function")return n(a)};}),Ut=U(function(e,t){var r=(typeof m>"u"?"undefined":fe(m))=="object"&&m.all;t.exports=typeof r>"u"&&r!==void 0?function(n){return typeof n=="function"||n===r}:function(n){return typeof n=="function"};}),_r=U(function(e,t){var r=hr();t.exports=!r(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7});}),hn=U(function(e,t){var r=hi(),n=Function.prototype.call;t.exports=r?n.bind(n):function(){return n.apply(n,arguments)};}),dc=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;}),vi=U(function(e,t){t.exports=function(r,n){return {enumerable:!(r&1),configurable:!(r&2),writable:!(r&4),value:n}};}),Lv=U(function(e,t){var r=ar(),n=hr(),a=gi(),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;}),ns=U(function(e,t){t.exports=function(r){return r==null};}),bi=U(function(e,t){var r=ns(),n=TypeError;t.exports=function(a){if(r(a))throw new n("Can't call method on "+a);return a};}),da=U(function(e,t){var r=Lv(),n=bi();t.exports=function(a){return r(n(a))};}),Kr=U(function(e,t){var r=Ut();t.exports=function(n){return fe(n)=="object"?n!==null:r(n)};}),fa=U(function(e,t){t.exports={};}),as=U(function(e,t){var r=fa(),n=mr(),a=Ut(),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]};}),Pv=U(function(e,t){var r=ar();t.exports=r({}.isPrototypeOf);}),Mv=U(function(e,t){var r=mr(),n=r.navigator,a=n&&n.userAgent;t.exports=a?String(a):"";}),Ov=U(function(e,t){var r=mr(),n=Mv(),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;}),fc=U(function(e,t){var r=Ov(),n=hr(),a=mr(),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});}),pc=U(function(e,t){var r=fc();t.exports=r&&!Symbol.sham&&fe(Symbol.iterator)=="symbol";}),mc=U(function(e,t){var r=as(),n=Ut(),a=Pv(),i=pc(),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))};}),hc=U(function(e,t){var r=String;t.exports=function(n){try{return r(n)}catch{return "Object"}};}),yi=U(function(e,t){var r=Ut(),n=hc(),a=TypeError;t.exports=function(i){if(r(i))return i;throw new a(n(i)+" is not a function")};}),is=U(function(e,t){var r=yi(),n=ns();t.exports=function(a,i){var o=a[i];return n(o)?void 0:r(o)};}),Nv=U(function(e,t){var r=hn(),n=Ut(),a=Kr(),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")};}),os=U(function(e,t){t.exports=true;}),qv=U(function(e,t){var r=mr(),n=Object.defineProperty;t.exports=function(a,i){try{n(r,a,{value:i,configurable:!0,writable:!0});}catch{r[a]=i;}return i};}),wi=U(function(e,t){var r=os(),n=mr(),a=qv(),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"});}),gc=U(function(e,t){var r=wi();t.exports=function(n,a){return r[n]||(r[n]=a||{})};}),ss=U(function(e,t){var r=bi(),n=Object;t.exports=function(a){return n(r(a))};}),Br=U(function(e,t){var r=ar(),n=ss(),a=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(o,s){return a(n(o),s)};}),vc=U(function(e,t){var r=ar(),n=0,a=Math.random(),i=r(1.1.toString);t.exports=function(o){return "Symbol("+(o===void 0?"":o)+")_"+i(++n+a,36)};}),Hr=U(function(e,t){var r=mr(),n=gc(),a=Br(),i=vc(),o=fc(),s=pc(),l=r.Symbol,u=n("wks"),c=s?l.for||l:l&&l.withoutSetter||i;t.exports=function(h){return a(u,h)||(u[h]=o&&a(l,h)?l[h]:c("Symbol."+h)),u[h]};}),Bv=U(function(e,t){var r=hn(),n=Kr(),a=mc(),i=is(),o=Nv(),s=Hr(),l=TypeError,u=s("toPrimitive");t.exports=function(c,h){if(!n(c)||a(c))return c;var b=i(c,u),A;if(b){if(h===void 0&&(h="default"),A=r(b,c,h),!n(A)||a(A))return A;throw new l("Can't convert object to primitive value")}return h===void 0&&(h="number"),o(c,h)};}),bc=U(function(e,t){var r=Bv(),n=mc();t.exports=function(a){var i=r(a,"string");return n(i)?i:i+""};}),yc=U(function(e,t){var r=mr(),n=Kr(),a=r.document,i=n(a)&&n(a.createElement);t.exports=function(o){return i?a.createElement(o):{}};}),wc=U(function(e,t){var r=_r(),n=hr(),a=yc();t.exports=!r&&!n(function(){return Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a!==7});}),Hv=U(function(e){var t=_r(),r=hn(),n=dc(),a=vi(),i=da(),o=bc(),s=Br(),l=wc(),u=Object.getOwnPropertyDescriptor;e.f=t?u:function(h,b){if(h=i(h),b=o(b),l)try{return u(h,b)}catch{}if(s(h,b))return a(!r(n.f,h,b),h[b])};}),Vv=U(function(e,t){var r=hr(),n=Ut(),a=/#|\.prototype\./,i=function(h,b){var A=s[o(h)];return A===u?true:A===l?false:n(b)?r(b):!!b},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;}),xc=U(function(e,t){var r=cc(),n=yi(),a=hi(),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)}};}),Dc=U(function(e,t){var r=_r(),n=hr();t.exports=r&&n(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:false}).prototype!==42});}),Rn=U(function(e,t){var r=Kr(),n=String,a=TypeError;t.exports=function(i){if(r(i))return i;throw new a(n(i)+" is not an object")};}),xi=U(function(e){var t=_r(),r=wc(),n=Dc(),a=Rn(),i=bc(),o=TypeError,s=Object.defineProperty,l=Object.getOwnPropertyDescriptor,u="enumerable",c="configurable",h="writable";e.f=t?n?function(A,L,N){if(a(A),L=i(L),a(N),typeof A=="function"&&L==="prototype"&&"value"in N&&h in N&&!N[h]){var q=l(A,L);q&&q[h]&&(A[L]=N.value,N={configurable:c in N?N[c]:q[c],enumerable:u in N?N[u]:q[u],writable:false});}return s(A,L,N)}:s:function(A,L,N){if(a(A),L=i(L),a(N),r)try{return s(A,L,N)}catch{}if("get"in N||"set"in N)throw new o("Accessors not supported");return "value"in N&&(A[L]=N.value),A};}),pa=U(function(e,t){var r=_r(),n=xi(),a=vi();t.exports=r?function(i,o,s){return n.f(i,o,a(1,s))}:function(i,o,s){return i[o]=s,i};}),Di=U(function(e,t){var r=mr(),n=Iv(),a=cc(),i=Ut(),o=Hv().f,s=Vv(),l=fa(),u=xc(),c=pa(),h=Br();wi();var b=function(L){var N=function($,z,W){if(this instanceof N){switch(arguments.length){case 0:return new L;case 1:return new L($);case 2:return new L($,z)}return new L($,z,W)}return n(L,this,arguments)};return N.prototype=L.prototype,N};t.exports=function(A,L){var N=A.target,q=A.global,$=A.stat,z=A.proto,W=q?r:$?r[N]:r[N]&&r[N].prototype,X=q?l:l[N]||c(l,N,{})[N],K=X.prototype,ne,se,pe,_e,le,ge,xe,Ee,Oe;for(_e in L)ne=s(q?_e:N+($?".":"#")+_e,A.forced),se=!ne&&W&&h(W,_e),ge=X[_e],se&&(A.dontCallGetSet?(Oe=o(W,_e),xe=Oe&&Oe.value):xe=W[_e]),le=se&&xe?xe:L[_e],!(!ne&&!z&&fe(ge)==fe(le))&&(A.bind&&se?Ee=u(le,r):A.wrap&&se?Ee=b(le):z&&i(le)?Ee=a(le):Ee=le,(A.sham||le&&le.sham||ge&&ge.sham)&&c(Ee,"sham",true),c(X,_e,Ee),z&&(pe=N+"Prototype",h(l,pe)||c(l,pe,{}),c(l[pe],_e,le),A.real&&K&&(ne||!K[_e])&&c(K,_e,le)));};}),$v=U(function(){var e=Di(),t=Br();e({target:"Object",stat:true},{hasOwn:t});}),jv=U(function(e,t){$v();var r=fa();t.exports=r.Object.hasOwn;}),zv=U(function(e,t){var r=jv();t.exports=r;}),Gv=U(function(e,t){var r=zv();t.exports=r;}),ls=U(function(e,t){var r=gc(),n=vc(),a=r("keys");t.exports=function(i){return a[i]||(a[i]=n(i))};}),Uv=U(function(e,t){var r=hr();t.exports=!r(function(){function n(){}return n.prototype.constructor=null,Object.getPrototypeOf(new n)!==n.prototype});}),us=U(function(e,t){var r=Br(),n=Ut(),a=ss(),i=ls(),o=Uv(),s=i("IE_PROTO"),l=Object,u=l.prototype;t.exports=o?l.getPrototypeOf:function(c){var h=a(c);if(r(h,s))return h[s];var b=h.constructor;return n(b)&&h instanceof b?b.prototype:h instanceof l?u:null};}),Wv=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)};}),cs=U(function(e,t){var r=Wv();t.exports=function(n){var a=+n;return a!==a||a===0?0:r(a)};}),Xv=U(function(e,t){var r=cs(),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)};}),Yv=U(function(e,t){var r=cs(),n=Math.min;t.exports=function(a){var i=r(a);return i>0?n(i,9007199254740991):0};}),Ac=U(function(e,t){var r=Yv();t.exports=function(n){return r(n.length)};}),Kv=U(function(e,t){var r=da(),n=Xv(),a=Ac(),i=function(s){return function(l,u,c){var h=r(l),b=a(h);if(b===0)return !s&&-1;var A=n(c,b),L;if(s&&u!==u){for(;b>A;)if(L=h[A++],L!==L)return true}else for(;b>A;A++)if((s||A in h)&&h[A]===u)return s||A||0;return !s&&-1}};t.exports={includes:i(true),indexOf:i(false)};}),ds=U(function(e,t){t.exports={};}),Jv=U(function(e,t){var r=ar(),n=Br(),a=da(),i=Kv().indexOf,o=ds(),s=r([].push);t.exports=function(l,u){var c=a(l),h=0,b=[],A;for(A in c)!n(o,A)&&n(c,A)&&s(b,A);for(;u.length>h;)n(c,A=u[h++])&&(~i(b,A)||s(b,A));return b};}),_c=U(function(e,t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"];}),Ec=U(function(e,t){var r=Jv(),n=_c();t.exports=Object.keys||function(i){return r(i,n)};}),Zv=U(function(e,t){var r=_r(),n=hr(),a=ar(),i=us(),o=Ec(),s=da(),l=dc().f,u=a(l),c=a([].push),h=r&&n(function(){var A=Object.create(null);return A[2]=2,!u(A,2)}),b=function(L){return function(N){for(var q=s(N),$=o(q),z=h&&i(q)===null,W=$.length,X=0,K=[],ne;W>X;)ne=$[X++],(!r||(z?ne in q:u(q,ne)))&&c(K,L?[ne,q[ne]]:q[ne]);return K}};t.exports={entries:b(true),values:b(false)};}),Qv=U(function(){var e=Di(),t=Zv().values;e({target:"Object",stat:true},{values:function(n){return t(n)}});}),eb=U(function(e,t){Qv();var r=fa();t.exports=r.Object.values;}),tb=U(function(e,t){var r=eb();t.exports=r;}),rb=U(function(e,t){var r=tb();t.exports=r;}),fs=U(function(e,t){var r=Hr(),n=r("toStringTag"),a={};a[n]="z",t.exports=String(a)==="[object z]";}),Ai=U(function(e,t){var r=fs(),n=Ut(),a=gi(),i=Hr(),o=i("toStringTag"),s=Object,l=a((function(){return arguments})())==="Arguments",u=function(h,b){try{return h[b]}catch{}};t.exports=r?a:function(c){var h,b,A;return c===void 0?"Undefined":c===null?"Null":typeof(b=u(h=s(c),o))=="string"?b:l?a(h):(A=a(h))==="Object"&&n(h.callee)?"Arguments":A};}),Cc=U(function(e,t){var r=Ai(),n=String;t.exports=function(a){if(r(a)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return n(a)};}),nb=U(function(e,t){var r=ar(),n=cs(),a=Cc(),i=bi(),o=r("".charAt),s=r("".charCodeAt),l=r("".slice),u=function(h){return function(b,A){var L=a(i(b)),N=n(A),q=L.length,$,z;return N<0||N>=q?h?"":void 0:($=s(L,N),$<55296||$>56319||N+1===q||(z=s(L,N+1))<56320||z>57343?h?o(L,N):$:h?l(L,N,N+2):($-55296<<10)+(z-56320)+65536)}};t.exports={codeAt:u(false),charAt:u(true)};}),ab=U(function(e,t){var r=mr(),n=Ut(),a=r.WeakMap;t.exports=n(a)&&/native code/.test(String(a));}),ib=U(function(e,t){var r=ab(),n=mr(),a=Kr(),i=pa(),o=Br(),s=wi(),l=ls(),u=ds(),c="Object already initialized",h=n.TypeError,b=n.WeakMap,A,L,N,q=function(K){return N(K)?L(K):A(K,{})},$=function(K){return function(ne){var se;if(!a(ne)||(se=L(ne)).type!==K)throw new h("Incompatible receiver, "+K+" required");return se}};r||s.state?(z=s.state||(s.state=new b),z.get=z.get,z.has=z.has,z.set=z.set,A=function(K,ne){if(z.has(K))throw new h(c);return ne.facade=K,z.set(K,ne),ne},L=function(K){return z.get(K)||{}},N=function(K){return z.has(K)}):(W=l("state"),u[W]=true,A=function(K,ne){if(o(K,W))throw new h(c);return ne.facade=K,i(K,W,ne),ne},L=function(K){return o(K,W)?K[W]:{}},N=function(K){return o(K,W)});var z,W;t.exports={set:A,get:L,has:N,enforce:q,getterFor:$};}),ob=U(function(e,t){var r=_r(),n=Br(),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};}),sb=U(function(e){var t=_r(),r=Dc(),n=xi(),a=Rn(),i=da(),o=Ec();e.f=t&&!r?Object.defineProperties:function(l,u){a(l);for(var c=i(u),h=o(u),b=h.length,A=0,L;b>A;)n.f(l,L=h[A++],c[L]);return l};}),lb=U(function(e,t){var r=as();t.exports=r("document","documentElement");}),Sc=U(function(e,t){var r=Rn(),n=sb(),a=_c(),i=ds(),o=lb(),s=yc(),l=ls(),u=">",c="<",h="prototype",b="script",A=l("IE_PROTO"),L=function(){},N=function(K){return c+b+u+K+c+"/"+b+u},q=function(K){K.write(N("")),K.close();var ne=K.parentWindow.Object;return K=null,ne},$=function(){var K=s("iframe"),ne="java"+b+":",se;return K.style.display="none",o.appendChild(K),K.src=String(ne),se=K.contentWindow.document,se.open(),se.write(N("document.F=Object")),se.close(),se.F},z,W=function(){try{z=new ActiveXObject("htmlfile");}catch{}W=typeof m<"u"?m.domain&&z?q(z):$():q(z);for(var K=a.length;K--;)delete W[h][a[K]];return W()};i[A]=true,t.exports=Object.create||function(K,ne){var se;return K!==null?(L[h]=r(K),se=new L,L[h]=null,se[A]=K):se=W(),ne===void 0?se:n.f(se,ne)};}),kc=U(function(e,t){var r=pa();t.exports=function(n,a,i,o){return o&&o.enumerable?n[a]=i:r(n,a,i),n};}),Tc=U(function(e,t){var r=hr(),n=Ut(),a=Kr(),i=Sc(),o=us(),s=kc(),l=Hr(),u=os(),c=l("iterator"),h=false,b,A,L;[].keys&&(L=[].keys(),"next"in L?(A=o(o(L)),A!==Object.prototype&&(b=A)):h=true);var N=!a(b)||r(function(){var q={};return b[c].call(q)!==q});N?b={}:u&&(b=i(b)),n(b[c])||s(b,c,function(){return this}),t.exports={IteratorPrototype:b,BUGGY_SAFARI_ITERATORS:h};}),ub=U(function(e,t){var r=fs(),n=Ai();t.exports=r?{}.toString:function(){return "[object "+n(this)+"]"};}),Rc=U(function(e,t){var r=fs(),n=xi().f,a=pa(),i=Br(),o=ub(),s=Hr(),l=s("toStringTag");t.exports=function(u,c,h,b){var A=h?u:u&&u.prototype;A&&(i(A,l)||n(A,l,{configurable:true,value:c}),b&&!r&&a(A,"toString",o));};}),_i=U(function(e,t){t.exports={};}),cb=U(function(e,t){var r=Tc().IteratorPrototype,n=Sc(),a=vi(),i=Rc(),o=_i(),s=function(){return this};t.exports=function(l,u,c,h){var b=u+" Iterator";return l.prototype=n(r,{next:a(+!h,c)}),i(l,b,false,true),o[b]=s,l};}),db=U(function(e,t){var r=ar(),n=yi();t.exports=function(a,i,o){try{return r(n(Object.getOwnPropertyDescriptor(a,i)[o]))}catch{}};}),fb=U(function(e,t){var r=Kr();t.exports=function(n){return r(n)||n===null};}),pb=U(function(e,t){var r=fb(),n=String,a=TypeError;t.exports=function(i){if(r(i))return i;throw new a("Can't set "+n(i)+" as a prototype")};}),mb=U(function(e,t){var r=db(),n=Kr(),a=bi(),i=pb();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,h){return a(c),i(h),n(c)&&(o?l(c,h):c.__proto__=h),c}})():void 0);}),hb=U(function(e,t){var r=Di(),n=hn(),a=os(),i=ob(),o=Ut(),s=cb(),l=us(),u=mb(),c=Rc(),h=pa(),b=kc(),A=Hr(),L=_i(),N=Tc(),q=i.PROPER,$=i.CONFIGURABLE,z=N.IteratorPrototype,W=N.BUGGY_SAFARI_ITERATORS,X=A("iterator"),K="keys",ne="values",se="entries",pe=function(){return this};t.exports=function(_e,le,ge,xe,Ee,Oe,je){s(ge,le,xe);var Re=function(et){if(et===Ee&&Ce)return Ce;if(!W&&et&&et in Pe)return Pe[et];switch(et){case K:return function(){return new ge(this,et)};case ne: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",be=false,Pe=_e.prototype,te=Pe[X]||Pe["@@iterator"]||Ee&&Pe[Ee],Ce=!W&&te||Re(Ee),he=le==="Array"&&Pe.entries||te,Se,$e,Te;if(he&&(Se=l(he.call(new _e)),Se!==Object.prototype&&Se.next&&(!a&&l(Se)!==z&&(u?u(Se,z):o(Se[X])||b(Se,X,pe)),c(Se,He,true,true),a&&(L[He]=pe))),q&&Ee===ne&&te&&te.name!==ne&&(!a&&$?h(Pe,"name",ne):(be=true,Ce=function(){return n(te,this)})),Ee)if($e={values:Re(ne),keys:Oe?Ce:Re(K),entries:Re(se)},je)for(Te in $e)(W||be||!(Te in Pe))&&b(Pe,Te,$e[Te]);else r({target:le,proto:true,forced:W||be},$e);return (!a||je)&&Pe[X]!==Ce&&b(Pe,X,Ce,{name:Ee}),L[le]=Ce,$e};}),gb=U(function(e,t){t.exports=function(r,n){return {value:r,done:n}};}),vb=U(function(){var e=nb().charAt,t=Cc(),r=ib(),n=hb(),a=gb(),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,h=u.index,b;return h>=c.length?a(void 0,true):(b=e(c,h),u.index+=b.length,a(b,false))});}),bb=U(function(e,t){var r=hn(),n=Rn(),a=is();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};}),yb=U(function(e,t){var r=Rn(),n=bb();t.exports=function(a,i,o,s){try{return s?i(r(o)[0],o[1]):i(o)}catch(l){n(a,"throw",l);}};}),wb=U(function(e,t){var r=Hr(),n=_i(),a=r("iterator"),i=Array.prototype;t.exports=function(o){return o!==void 0&&(n.Array===o||i[a]===o)};}),xb=U(function(e,t){var r=ar(),n=Ut(),a=wi(),i=r(Function.toString);n(a.inspectSource)||(a.inspectSource=function(o){return i(o)}),t.exports=a.inspectSource;}),Db=U(function(e,t){var r=ar(),n=hr(),a=Ut(),i=Ai(),o=as(),s=xb(),l=function(){},u=o("Reflect","construct"),c=/^\s*(?:class|function)\b/,h=r(c.exec),b=!c.test(l),A=function(q){if(!a(q))return false;try{return u(l,[],q),!0}catch{return false}},L=function(q){if(!a(q))return false;switch(i(q)){case "AsyncFunction":case "GeneratorFunction":case "AsyncGeneratorFunction":return false}try{return b||!!h(c,s(q))}catch{return true}};L.sham=true,t.exports=!u||n(function(){var N;return A(A.call)||!A(Object)||!A(function(){N=true;})||N})?L:A;}),Ab=U(function(e,t){var r=_r(),n=xi(),a=vi();t.exports=function(i,o,s){r?n.f(i,o,a(0,s)):i[o]=s;};}),_b=U(function(e,t){var r=gi();t.exports=Array.isArray||function(a){return r(a)==="Array"};}),Eb=U(function(e,t){var r=_r(),n=_b(),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};}),Fc=U(function(e,t){var r=Ai(),n=is(),a=ns(),i=_i(),o=Hr(),s=o("iterator");t.exports=function(l){if(!a(l))return n(l,s)||n(l,"@@iterator")||i[r(l)]};}),Cb=U(function(e,t){var r=hn(),n=yi(),a=Rn(),i=hc(),o=Fc(),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")};}),Sb=U(function(e,t){var r=xc(),n=hn(),a=ss(),i=yb(),o=wb(),s=Db(),l=Ac(),u=Ab(),c=Eb(),h=Cb(),b=Fc(),A=Array;t.exports=function(N){var q=a(N),$=s(this),z=arguments.length,W=z>1?arguments[1]:void 0,X=W!==void 0;X&&(W=r(W,z>2?arguments[2]:void 0));var K=b(q),ne=0,se,pe,_e,le,ge,xe;if(K&&!(this===A&&o(K)))for(pe=$?new this:[],le=h(q,K),ge=le.next;!(_e=n(ge,le)).done;ne++)xe=X?i(le,W,[_e.value,ne],true):_e.value,u(pe,ne,xe);else for(se=l(q),pe=$?new this(se):A(se);se>ne;ne++)xe=X?W(q[ne],ne):q[ne],u(pe,ne,xe);return c(pe,ne),pe};}),kb=U(function(e,t){var r=Hr(),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};}),Tb=U(function(){var e=Di(),t=Sb(),r=kb(),n=!r(function(a){Array.from(a);});e({target:"Array",stat:true,forced:n},{from:t});}),Rb=U(function(e,t){vb(),Tb();var r=fa();t.exports=r.Array.from;}),Fb=U(function(e,t){var r=Rb();t.exports=r;}),Ic=U(function(e,t){var r=Fb();t.exports=r;}),Lc=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 h=c.charCodeAt(0);if((h&63488)===55296){var b=o.charCodeAt(u++);if((h&64512)!==55296||(b&64512)!==56320)throw Error("UCS-2(decode): illegal sequence");h=((h&1023)<<10)+(b&1023)+65536;}l+="\\"+h.toString(16)+" ";}u++;}return l}e.escapeIdentifier=a;function i(o){for(var s=o.length,l="",u=0,c;u<s;){var h=o.charAt(u);h==='"'?h='\\"':h==="\\"?h="\\\\":(c=e.strReplacementsRev[h])!==void 0&&(h=c),l+=h,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 pn={};Dr(pn,{INJECT_ATTR:()=>Wr,OWN_TOOLING_SELECTOR:()=>Wo,attachMutations:()=>wL,dropToolingFindings:()=>_L,guardDetectorState:()=>xL,inject:()=>Pu,startProvenance:()=>vL,stopProvenance:()=>bL});async function Pu(d,f){let g=`${f.tool}:${Date.now().toString(36)}${Math.random().toString(36).slice(2,6)}`;if(f.css!==void 0){await d.evaluate(({attr:p,mark:w,css:D})=>{let x=document.createElement("style");x.setAttribute(p,w),x.textContent=D,document.documentElement.appendChild(x);},{attr:Wr,mark:g,css:f.css});return}if(f.url){let p=await d.addScriptTag({url:f.url});try{await p?.evaluate?.((w,D)=>w.setAttribute(D.attr,D.mark),{attr:Wr,mark:g});}catch{}return}let m=`document.currentScript&&document.currentScript.setAttribute(${JSON.stringify(Wr)},${JSON.stringify(g)});
|
|
363
|
+
`;await d.addScriptTag({content:m+(f.content??"")});}async function vL(d){try{await d.evaluate("if(typeof globalThis.__name==='undefined'){globalThis.__name=function(t){return t}}");}catch{}try{await d.evaluate(({key:f,attr:g,max:m})=>{let p=window;if(p[Symbol.for(f)]||typeof MutationObserver>"u")return;let w={tool:null,log:[],overflow:0,left:new Map};w.ours=D=>{let x=D&&D.nodeType===1?D:D?D.parentElement:null;for(;x;){if(x.hasAttribute(g))return !0;x=x.parentElement;}return !1},w.take=D=>{if(w.tool)for(let x of D){if(x.type==="attributes"&&x.attributeName===g||w.ours(x.target))continue;let S=x.type==="childList"?Array.from(x.addedNodes).filter(C=>!w.ours(C)):[];if(x.type==="childList"&&!S.length&&Array.from(x.removedNodes).every(C=>C.nodeType===1&&C.hasAttribute(g)))continue;let F=S.map(C=>C.nodeName.toLowerCase()+(C.nodeType===1&&C.getAttribute("id")?"#"+C.getAttribute("id"):""));w.log.length<m?w.log.push({tool:w.tool,type:x.type,attr:x.attributeName,target:x.target.nodeName,added:F}):w.overflow++;}},w.obs=new MutationObserver(D=>w.take(D)),w.obs.observe(document,{subtree:!0,childList:!0,attributes:!0,characterData:!0,attributeOldValue:!0}),p[Symbol.for(f)]=w;},{key:ii,attr:Wr,max:gL});}catch{}}async function bL(d){try{return await d.evaluate(f=>{let g=window,m=g[Symbol.for(f)];return m?(m.take(m.obs.takeRecords()),m.obs.disconnect(),delete g[Symbol.for(f)],{log:m.log,overflow:m.overflow}):null},ii)}catch{return null}}function wL(d,f){if(!f||!d.length)return;let g=f.log;for(let m of d){let p=g.filter(w=>w.tool===m.tool).slice(0,yL).map(({type:w,attr:D,target:x,added:S})=>({type:w,attr:D,target:x,added:S}));p.length&&(m.mutations=p);}}async function xL(d,f,g,m,p={}){let w=null;try{w=await d.evaluate(({key:D,prov:x,name:S,attr:F,widget:C,fsk:y})=>{let A=window;try{let V=A[Symbol.for(y)];V&&document.removeEventListener("focusin",V.h,!0);let q=new WeakMap,U=Q=>{let k=(new Error().stack||"").split(`
|
|
364
|
+
`).slice(1),v=/eval at evaluate/.test(k[0]||""),T=P=>/^\s*at /.test(P)&&!/UtilityScript|eval at evaluate/.test(P);q.set(Q.target,v&&k.length>1&&k.slice(1).some(T)?"page":"ours");};document.addEventListener("focusin",U,!0),A[Symbol.for(y)]={src:q,h:U};}catch{}let _=A[Symbol.for(x)];_&&(_.take(_.obs.takeRecords()),_.tool=S);let L=document.activeElement,I=!!L&&L!==document.body&&L!==document.documentElement,N=[];try{let V=typeof getSelection=="function"?getSelection():null;N=V?Array.from({length:V.rangeCount},(q,U)=>V.getRangeAt(U).cloneRange()):[];}catch{}let M=Array.from(document.querySelectorAll(`[${F}]:not(script):not([${F}="${C}"])`));return A[Symbol.for(D)]={el:I?L:null,ranges:N,marked:new Set(M)},{scrollX:window.scrollX,scrollY:window.scrollY,hadFocus:I,injected:M.length}},{key:Tg,prov:ii,name:f,attr:Wr,widget:Lu,fsk:Rg});}catch{w=null;}try{return await m()}finally{w&&await DL(d,f,w,g,p);}}async function DL(d,f,g,m,p){let w={leaks:[]};try{w=await d.evaluate(({key:D,prov:x,snap:S,attr:F,widget:C,fsk:y})=>{let A=window,_=[],L=A[Symbol.for(y)];L&&(document.removeEventListener("focusin",L.h,!0),delete A[Symbol.for(y)]);let I=A[Symbol.for(D)],N=I?.el??null;try{delete A[Symbol.for(D)];}catch{}let M=A[Symbol.for(x)];M&&M.take(M.obs.takeRecords());let V=document.activeElement,q=V&&V!==document.body&&V!==document.documentElement?V:null,U=!!q&&q!==N&&L?.src.get(q)==="page";if(q!==N&&!U){_.push("activeElement"),M&&q&&M.left.set(q,M.tool);try{q?.blur?.();}catch{}try{N&&N.isConnected&&N.focus({preventScroll:!0});}catch{}}let Q=null;try{Q=document.querySelector(":focus-visible");}catch{}if(Q&&Q!==N&&!(U&&Q===q)){_.push("focus-visible");try{Q.blur();}catch{}}!U&&(Math.abs(window.scrollX-S.scrollX)>1||Math.abs(window.scrollY-S.scrollY)>1)&&(_.push("scroll"),window.scrollTo({left:S.scrollX,top:S.scrollY,behavior:"instant"}));try{let v=getSelection(),T=I?.ranges??[];if(v&&(v.rangeCount!==T.length||T.some((P,H)=>P.compareBoundaryPoints(Range.START_TO_START,v.getRangeAt(H))!==0||P.compareBoundaryPoints(Range.END_TO_END,v.getRangeAt(H))!==0))){_.push("selection"),v.removeAllRanges();for(let P of T)v.addRange(P);}}catch{}let k=Array.from(document.querySelectorAll(`[${F}]:not(script):not([${F}="${C}"])`));k.length!==S.injected&&_.push(`injected-nodes ${S.injected}->${k.length}`);for(let v of k)if(I?.marked&&!I.marked.has(v))try{v.remove();}catch{}return M&&(M.tool=null),{leaks:_}},{key:Tg,prov:ii,snap:g,attr:Wr,widget:Lu,fsk:Rg});}catch{}if(w.leaks.length){let D=`tooling:state-not-restored (${f}: ${w.leaks.join(", ")}) \u2014 restored by the scanner`;if(p.bugs?.push({tool:f,kind:"state-not-restored",detail:w.leaks.join(", ")}),p.strict)throw new Error(D);m.push(D);}}async function _L(d,f,g){if(!f.length)return f;let m=Array.from(new Set(f.map(w=>w.selector).filter(Boolean))),p={};try{p=await d.evaluate(({sels:w,own:D,prov:x,attr:S,widget:F})=>{let C=window[Symbol.for(x)],y={};for(let A of w){y[A]=null;let _=null;try{_=document.querySelector(A.replace(/:(?:focus-visible|focus-within|focus|hover|active)$/,""));}catch{_=null;}if(!_)continue;let L=_.closest(D);if(L&&L!==document.body&&L!==document.documentElement){let I=L.closest(`[${S}]`)?.getAttribute(S);y[A]={tool:I&&I!==F?I.split(":")[0]:null,why:`on node injected by ${I}`};continue}C&&C.left.has(_)&&(y[A]={tool:C.left.get(_),why:"on the element the tool left focused"});}return y},{sels:m,own:Wo,prov:ii,attr:Wr,widget:Lu});}catch{return f}return f.filter(w=>{let D=p[w.selector];return D?(D.tool&&g?.push({tool:D.tool,kind:"finding-dropped",detail:`${w.type} ${D.why}`,selector:w.selector}),false):true})}var Wr,Lu,Wo,ii,gL,yL,Tg,Rg,Pr=xr(()=>{Wr="data-wa-injected",Lu="widget",Wo=`[${Wr}],[class*=asw-],[id*=webability-widget],[class*=webability-a11y]`,ii="wa.provenance",gL=500;yL=10;Tg="wa.stateGuard.active",Rg="wa.stateGuard.focusSource";});var Fg={};Dr(Fg,{applyPlatformTemplates:()=>SL,detectPlatform:()=>EL,isAriaHiddenSafeForTemplate:()=>Mu});function Mu(d){let f=d.trim().split(/[\s>~+]+/),m=f[f.length-1].trim().match(/^([a-zA-Z][a-zA-Z0-9-]*)/);if(!m)return true;let p=m[1].toLowerCase();return p==="body"||p==="html"?false:!new Set(["a","button","input","select","textarea"]).has(p)}function AL(){if(Zn)return Zn;try{let d=globalThis.process,f=d?.getBuiltinModule?.("fs"),g=d?.getBuiltinModule?.("path");if(!f||!g)throw new Error("fs unavailable");let m=f.readFileSync(g.join(__dirname,"platformTemplates.json"),"utf-8");return Zn=JSON.parse(m),Zn}catch{return Zn={},Zn}}async function EL(d){return d.evaluate(()=>{let f=[],g=document.documentElement.outerHTML.slice(0,5e4).toLowerCase(),p=(document.querySelector('meta[name="generator"]')?.getAttribute("content")||"").toLowerCase();return (g.includes("shopify")||g.includes("cdn.shopify.com")||window.Shopify)&&f.push("shopify"),(p.includes("wordpress")||g.includes("wp-content")||g.includes("wp-includes"))&&f.push("wordpress"),(g.includes("civicplus")||g.includes("civicalerts")||g.includes("cpslider")||document.querySelector(".cpSlider, #breadCrumbs, .rcPrev, .rcNext"))&&f.push("civicplus"),(g.includes("finalsite")||document.querySelector(".fsHeader, .fsCalendar, .fsPanelGroup, #fsPoweredByFinalsite"))&&f.push("finalsite"),(g.includes("dealersocket")||g.includes("dealer.com")||document.querySelector(".ddc-tracking, .inventory-listing-default, .vlp-refine"))&&f.push("dealer"),(g.includes("wix.com")||g.includes("wixsite.com"))&&f.push("wix"),(g.includes("squarespace")||p.includes("squarespace"))&&f.push("squarespace"),(g.includes("webflow")||p.includes("webflow"))&&f.push("webflow"),f.push("universal"),f.push("universal_iframe"),f})}function CL(d){return /^[a-z][a-z0-9]*$/i.test(d.trim())}async function SL(d,f,g="scan"){let m=AL(),p=[];for(let D of f)m[D]&&p.push(...m[D].filter(x=>!CL(x.selector)));return p.length?g==="manifest"?p.filter(D=>D.attribute==="aria-hidden"&&D.value==="true"?Mu(D.selector):true).map(D=>({selector:D.selector,attribute:D.attribute,currentValue:"",issueType:D.attribute==="alt"?"missing_alt":D.attribute==="aria-label"?"missing_label":"missing_semantic_role",wcag:D.attribute==="alt"?"1.1.1":"4.1.2",context:`platform:${D.platform} (template)`,needsAI:false,fixValue:D.value})):(await d.evaluate(D=>{let x=[];for(let S of D)try{let F=document.querySelectorAll(S.selector);if(F.length>0){let C=!1;for(let y of F){let A=y.getAttribute(S.attribute)||"";if(S.attribute==="alt"&&y.getAttribute("alt")===null)C=!0;else if(S.attribute==="alt"&&A===""&&S.value==="")C=!0;else if(S.attribute==="aria-label"&&!A)C=!0;else if(S.attribute==="title"&&!A)C=!0;else if(S.attribute==="role"&&A!==S.value)C=!0;else if(S.attribute==="aria-level"&&!y.getAttribute("aria-level"))C=!(y.tagName==="H1"&&S.value!=="1"&&document.querySelectorAll("h1").length<2);else if(S.attribute==="aria-hidden"&&y.getAttribute("aria-hidden")!=="true"){let _=y.tagName.toLowerCase(),L=_==="a"&&y.hasAttribute("href")||_==="button"||_==="input"||_==="select"||_==="textarea"||Number(y.getAttribute("tabindex")??-1)>=0;_!=="body"&&_!=="html"&&!L&&(C=!0);}if(C)break}C&&x.push({selector:S.selector,attribute:S.attribute,value:S.value,platform:S.platform,matchCount:F.length});}}catch{}return x},p.filter(D=>!(D.attribute==="aria-hidden"&&D.value==="true")||Mu(D.selector)).map(D=>({selector:D.selector,attribute:D.attribute,value:D.value,platform:D.platform})))).map(D=>({selector:D.selector,attribute:D.attribute,currentValue:"",issueType:D.attribute==="alt"?"missing_alt":D.attribute==="aria-label"?"missing_label":"missing_semantic_role",wcag:D.attribute==="alt"?"1.1.1":"4.1.2",context:`platform:${D.platform} (${D.matchCount} elements)`,needsAI:false,fixValue:D.value})):[]}var Zn,Ig=xr(()=>{Zn=null;});var ui=pI((Bg,li)=>{(function d(f){var g=f,m=f.document,p=p||{};p.version="4.11.3",typeof define=="function"&&define.amd&&define("axe-core",[],function(){return p}),(typeof li>"u"?"undefined":de(li))==="object"&&li.exports&&typeof d.toString=="function"&&(p.source="("+d.toString()+')(typeof window === "object" ? window : this);',li.exports=p),typeof f.getComputedStyle=="function"&&(f.axe=p);var D=["precision","format","inGamut"],x=["space"],S=["algorithm"],F=["method"],C=["maxDeltaE","deltaEMethod","steps","maxSteps"],y=["node"],A=["relatedNodes"],_=["node"],L=["variant"],I=["matches"],N=["chromium"],M=["noImplicit"],V=["noPresentational"],q=["node"],U=["environmentData"],Q=["environmentData"],k=["environmentData"],v=["environmentData"],T=["environmentData"];function P(re){return fr(re)||dt(re)||Nr(re)||Or()}function H(re){var oe=typeof Map=="function"?new Map:void 0;return H=function(ve){if(ve===null||!j(ve))return ve;if(typeof ve!="function")throw new TypeError("Super expression must either be null or a function");if(oe!==void 0){if(oe.has(ve))return oe.get(ve);oe.set(ve,Ue);}function Ue(){return K(ve,arguments,Te(this).constructor)}return Ue.prototype=Object.create(ve.prototype,{constructor:{value:Ue,enumerable:false,writable:true,configurable:true}}),Be(Ue,ve)},H(re)}function j(re){try{return Function.toString.call(re).indexOf("[native code]")!==-1}catch{return typeof re=="function"}}function G(re,oe,ue){return (oe=pi(oe))in re?Object.defineProperty(re,oe,{value:ue,enumerable:true,configurable:true,writable:true}):re[oe]=ue,re}function K(re,oe,ue){if(he())return Reflect.construct.apply(null,arguments);var ve=[null];ve.push.apply(ve,oe);var Ue=new(re.bind.apply(re,ve));return ue&&Be(Ue,ue.prototype),Ue}function Z(re,oe){if(re==null)return {};var ue,ve,Ue=ae(re,oe);if(Object.getOwnPropertySymbols){var tt=Object.getOwnPropertySymbols(re);for(ve=0;ve<tt.length;ve++)ue=tt[ve],oe.indexOf(ue)===-1&&{}.propertyIsEnumerable.call(re,ue)&&(Ue[ue]=re[ue]);}return Ue}function ae(re,oe){if(re==null)return {};var ue={};for(var ve in re)if({}.hasOwnProperty.call(re,ve)){if(oe.indexOf(ve)!==-1)continue;ue[ve]=re[ve];}return ue}function ee(re,oe,ue){return oe=Te(oe),ce(re,he()?Reflect.construct(oe,ue||[],Te(re).constructor):oe.apply(re,ue))}function ce(re,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 ke(re)}function ke(re){if(re===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return re}function he(){try{var re=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));}catch{}return (he=function(){return !!re})()}function Te(re){return Te=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(oe){return oe.__proto__||Object.getPrototypeOf(oe)},Te(re)}function Ge(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&&Be(re,oe);}function Be(re,oe){return Be=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(ue,ve){return ue.__proto__=ve,ue},Be(re,oe)}function we(){return we=Object.assign?Object.assign.bind():function(re){for(var oe=1;oe<arguments.length;oe++){var ue=arguments[oe];for(var ve in ue)({}).hasOwnProperty.call(ue,ve)&&(re[ve]=ue[ve]);}return re},we.apply(null,arguments)}function _e(re){return $e(re)||dt(re)||Nr(re)||Rt()}function Rt(){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 dt(re){if(typeof Symbol<"u"&&re[Symbol.iterator]!=null||re["@@iterator"]!=null)return Array.from(re)}function $e(re){if(Array.isArray(re))return mn(re)}function Nt(re,oe,ue){Mr(re,oe),oe.set(re,ue);}function fi(re,oe){Mr(re,oe),oe.add(re);}function Mr(re,oe){if(oe.has(re))throw new TypeError("Cannot initialize the same private elements twice on an object")}function zt(re,oe){return re.get(Yr(re,oe))}function It(re,oe,ue){return re.set(Yr(re,oe),ue),ue}function Yr(re,oe,ue){if(typeof re=="function"?re===oe:re.has(oe))return arguments.length<3?oe:ue;throw new TypeError("Private element is not present on this object")}function De(re,oe){return fr(re)||dr(re,oe)||Nr(re,oe)||Or()}function Or(){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 dr(re,oe){var ue=re==null?null:typeof Symbol<"u"&&re[Symbol.iterator]||re["@@iterator"];if(ue!=null){var ve,Ue,tt,ot,mt=[],Je=true,Oe=false;try{if(tt=(ue=ue.call(re)).next,oe===0){if(Object(ue)!==ue)return;Je=!1;}else for(;!(Je=(ve=tt.call(ue)).done)&&(mt.push(ve.value),mt.length!==oe);Je=!0);}catch(Yt){Oe=true,Ue=Yt;}finally{try{if(!Je&&ue.return!=null&&(ot=ue.return(),Object(ot)!==ot))return}finally{if(Oe)throw Ue}}return mt}}function fr(re){if(Array.isArray(re))return re}function nr(re,oe){if(!(re instanceof oe))throw new TypeError("Cannot call a class as a function")}function ua(re,oe){for(var ue=0;ue<oe.length;ue++){var ve=oe[ue];ve.enumerable=ve.enumerable||false,ve.configurable=true,"value"in ve&&(ve.writable=true),Object.defineProperty(re,pi(ve.key),ve);}}function Gt(re,oe,ue){return oe&&ua(re.prototype,oe),ue&&ua(re,ue),Object.defineProperty(re,"prototype",{writable:false}),re}function pi(re){var oe=mi(re,"string");return de(oe)=="symbol"?oe:oe+""}function mi(re,oe){if(de(re)!="object"||!re)return re;var ue=re[Symbol.toPrimitive];if(ue!==void 0){var ve=ue.call(re,oe);if(de(ve)!="object")return ve;throw new TypeError("@@toPrimitive must return a primitive value.")}return (oe==="string"?String:Number)(re)}function it(re,oe){var ue=typeof Symbol<"u"&&re[Symbol.iterator]||re["@@iterator"];if(!ue){if(Array.isArray(re)||(ue=Nr(re))||oe){ue&&(re=ue);var ve=0,Ue=function(){};return {s:Ue,n:function(){return ve>=re.length?{done:true}:{done:false,value:re[ve++]}},e:function(Oe){throw Oe},f:Ue}}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,ot=true,mt=false;return {s:function(){ue=ue.call(re);},n:function(){var Oe=ue.next();return ot=Oe.done,Oe},e:function(Oe){mt=true,tt=Oe;},f:function(){try{ot||ue.return==null||ue.return();}finally{if(mt)throw tt}}}}function Nr(re,oe){if(re){if(typeof re=="string")return mn(re,oe);var ue={}.toString.call(re).slice(8,-1);return ue==="Object"&&re.constructor&&(ue=re.constructor.name),ue==="Map"||ue==="Set"?Array.from(re):ue==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(ue)?mn(re,oe):void 0}}function mn(re,oe){(oe==null||oe>re.length)&&(oe=re.length);for(var ue=0,ve=Array(oe);ue<oe;ue++)ve[ue]=re[ue];return ve}function de(re){"@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(re)}((function(re,oe,ue,ve,Ue,tt,ot,mt,Je,Oe,Yt){var Kt=Object.create,qr=Object.defineProperty,ca=Object.getPrototypeOf,_v=Object.prototype.hasOwnProperty,Av=Object.getOwnPropertyNames,Ev=Object.getOwnPropertyDescriptor,Cv=function(t,r,n){return r in t?qr(t,r,{enumerable:true,configurable:true,writable:true,value:n}):t[r]=n},Sv=function(t){return qr(t,"__esModule",{value:true})},W=function(t,r){return function(){return r||t((r={exports:{}}).exports,r),r.exports}},pr=function(t,r){for(var n in r)qr(t,n,{get:r[n],enumerable:true});},kv=function(t,r,n){if(r&&de(r)==="object"||typeof r=="function"){var a=it(Av(r)),i;try{var o=function(){var l=i.value;!_v.call(t,l)&&l!=="default"&&qr(t,l,{get:function(){return r[l]},enumerable:!(n=Ev(r,l))||n.enumerable});};for(a.s();!(i=a.n()).done;)o();}catch(s){a.e(s);}finally{a.f();}}return t},_r=function(t){return kv(Sv(qr(t!=null?Kt(ca(t)):{},"default",t&&t.__esModule&&"default"in t?{get:function(){return t.default},enumerable:true}:{value:t,enumerable:true})),t)},uc=function(t,r,n){return Cv(t,de(r)!=="symbol"?r+"":r,n),n},Tv=W(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(ie){var pe=de(ie);return ie!==null&&(pe==="object"||pe==="function")}function n(ie){return typeof ie=="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,ye){ne[o]=pe,ne[o+1]=ye,o+=2,o===2&&(l?l(se):Ae());};function c(ie){l=ie;}function h(ie){u=ie;}var b=typeof f<"u"?f:void 0,E=b||{},R=E.MutationObserver||E.WebKitMutationObserver,O=typeof self>"u"&&typeof process<"u"&&{}.toString.call(process)==="[object process]",B=typeof Uint8ClampedArray<"u"&&typeof importScripts<"u"&&typeof MessageChannel<"u";function $(){return function(){return process.nextTick(se)}}function z(){return typeof s<"u"?function(){s(se);}:J()}function X(){var ie=0,pe=new R(se),ye=m.createTextNode("");return pe.observe(ye,{characterData:true}),function(){ye.data=ie=++ie%2;}}function Y(){var ie=new MessageChannel;return ie.port1.onmessage=se,function(){return ie.port2.postMessage(0)}}function J(){var ie=setTimeout;return function(){return ie(se,1)}}var ne=new Array(1e3);function se(){for(var ie=0;ie<o;ie+=2){var pe=ne[ie],ye=ne[ie+1];pe(ye),ne[ie]=void 0,ne[ie+1]=void 0;}o=0;}function fe(){try{var ie=Function("return this")().require("vertx");return s=ie.runOnLoop||ie.runOnContext,z()}catch{return J()}}var Ae=void 0;O?Ae=$():R?Ae=X():B?Ae=Y():b===void 0?Ae=fe():Ae=J();function le(ie,pe){var ye=this,Ie=new this.constructor(Ee);Ie[xe]===void 0&&vt(Ie);var ze=ye._state;if(ze){var Ze=arguments[ze-1];u(function(){return pt(ze,Ie,Ze,ye._result)});}else et(ye,Ie,ie,pe);return Ie}function ge(ie){var pe=this;if(ie&&de(ie)==="object"&&ie.constructor===pe)return ie;var ye=new pe(Ee);return Se(ye,ie),ye}var xe=Math.random().toString(36).substring(2);function Ee(){}var Me=void 0,je=1,Fe=2;function qe(){return new TypeError("You cannot resolve a promise with itself")}function be(){return new TypeError("A promises callback cannot return that same promise.")}function Pe(ie,pe,ye,Ie){try{ie.call(pe,ye,Ie);}catch(ze){return ze}}function te(ie,pe,ye){u(function(Ie){var ze=false,Ze=Pe(ye,pe,function(Ft){ze||(ze=true,pe!==Ft?Se(Ie,Ft):Re(Ie,Ft));},function(Ft){ze||(ze=true,Le(Ie,Ft));},"Settle: "+(Ie._label||" unknown promise"));!ze&&Ze&&(ze=true,Le(Ie,Ze));},ie);}function Ce(ie,pe){pe._state===je?Re(ie,pe._result):pe._state===Fe?Le(ie,pe._result):et(pe,void 0,function(ye){return Se(ie,ye)},function(ye){return Le(ie,ye)});}function me(ie,pe,ye){pe.constructor===ie.constructor&&ye===le&&pe.constructor.resolve===ge?Ce(ie,pe):ye===void 0?Re(ie,pe):n(ye)?te(ie,pe,ye):Re(ie,pe);}function Se(ie,pe){if(ie===pe)Le(ie,qe());else if(r(pe)){var ye=void 0;try{ye=pe.then;}catch(Ie){Le(ie,Ie);return}me(ie,pe,ye);}else Re(ie,pe);}function Ve(ie){ie._onerror&&ie._onerror(ie._result),ut(ie);}function Re(ie,pe){ie._state===Me&&(ie._result=pe,ie._state=je,ie._subscribers.length!==0&&u(ut,ie));}function Le(ie,pe){ie._state===Me&&(ie._state=Fe,ie._result=pe,u(Ve,ie));}function et(ie,pe,ye,Ie){var ze=ie._subscribers,Ze=ze.length;ie._onerror=null,ze[Ze]=pe,ze[Ze+je]=ye,ze[Ze+Fe]=Ie,Ze===0&&ie._state&&u(ut,ie);}function ut(ie){var pe=ie._subscribers,ye=ie._state;if(pe.length!==0){for(var Ie=void 0,ze=void 0,Ze=ie._result,Ft=0;Ft<pe.length;Ft+=3)Ie=pe[Ft],ze=pe[Ft+ye],Ie?pt(ye,Ie,ze,Ze):ze(Ze);ie._subscribers.length=0;}}function pt(ie,pe,ye,Ie){var ze=n(ye),Ze=void 0,Ft=void 0,Kn=true;if(ze){try{Ze=ye(Ie);}catch(Go){Kn=false,Ft=Go;}if(pe===Ze){Le(pe,be());return}}else Ze=Ie;pe._state!==Me||(ze&&Kn?Se(pe,Ze):Kn===false?Le(pe,Ft):ie===je?Re(pe,Ze):ie===Fe&&Le(pe,Ze));}function _t(ie,pe){try{pe(function(Ie){Se(ie,Ie);},function(Ie){Le(ie,Ie);});}catch(ye){Le(ie,ye);}}var kt=0;function St(){return kt++}function vt(ie){ie[xe]=kt++,ie._state=void 0,ie._result=void 0,ie._subscribers=[];}function Yn(){return new Error("Array Methods must be provided an Array")}var Ot=(function(){function ie(pe,ye){this._instanceConstructor=pe,this.promise=new pe(Ee),this.promise[xe]||vt(this.promise),i(ye)?(this.length=ye.length,this._remaining=ye.length,this._result=new Array(this.length),this.length===0?Re(this.promise,this._result):(this.length=this.length||0,this._enumerate(ye),this._remaining===0&&Re(this.promise,this._result))):Le(this.promise,Yn());}return ie.prototype._enumerate=function(ye){for(var Ie=0;this._state===Me&&Ie<ye.length;Ie++)this._eachEntry(ye[Ie],Ie);},ie.prototype._eachEntry=function(ye,Ie){var ze=this._instanceConstructor,Ze=ze.resolve;if(Ze===ge){var Ft=void 0,Kn=void 0,Go=false;try{Ft=ye.then;}catch(Ru){Go=true,Kn=Ru;}if(Ft===le&&ye._state!==Me)this._settledAt(ye._state,Ie,ye._result);else if(typeof Ft!="function")this._remaining--,this._result[Ie]=ye;else if(ze===xt){var Tu=new ze(Ee);Go?Le(Tu,Kn):me(Tu,ye,Ft),this._willSettleAt(Tu,Ie);}else this._willSettleAt(new ze(function(Ru){return Ru(ye)}),Ie);}else this._willSettleAt(Ze(ye),Ie);},ie.prototype._settledAt=function(ye,Ie,ze){var Ze=this.promise;Ze._state===Me&&(this._remaining--,ye===Fe?Le(Ze,ze):this._result[Ie]=ze),this._remaining===0&&Re(Ze,this._result);},ie.prototype._willSettleAt=function(ye,Ie){var ze=this;et(ye,void 0,function(Ze){return ze._settledAt(je,Ie,Ze)},function(Ze){return ze._settledAt(Fe,Ie,Ze)});},ie})();function bt(ie){return new Ot(this,ie).promise}function Tt(ie){var pe=this;return i(ie)?new pe(function(ye,Ie){for(var ze=ie.length,Ze=0;Ze<ze;Ze++)pe.resolve(ie[Ze]).then(ye,Ie);}):new pe(function(ye,Ie){return Ie(new TypeError("You must pass an array to race."))})}function At(ie){var pe=this,ye=new pe(Ee);return Le(ye,ie),ye}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 xt=(function(){function ie(pe){this[xe]=St(),this._result=this._state=void 0,this._subscribers=[],Ee!==pe&&(typeof pe!="function"&&Ht(),this instanceof ie?_t(this,pe):Vt());}return ie.prototype.catch=function(ye){return this.then(null,ye)},ie.prototype.finally=function(ye){var Ie=this,ze=Ie.constructor;return n(ye)?Ie.then(function(Ze){return ze.resolve(ye()).then(function(){return Ze})},function(Ze){return ze.resolve(ye()).then(function(){throw Ze})}):Ie.then(ye,ye)},ie})();xt.prototype.then=le,xt.all=bt,xt.race=Tt,xt.resolve=ge,xt.reject=At,xt._setScheduler=c,xt._setAsap=h,xt._asap=u;function ct(){var ie=void 0;if(typeof g<"u")ie=g;else if(typeof self<"u")ie=self;else try{ie=Function("return this")();}catch{throw new Error("polyfill failed because global object is unavailable in this environment")}var pe=ie.Promise;if(pe){var ye=null;try{ye=Object.prototype.toString.call(pe.resolve());}catch{}if(ye==="[object Promise]"&&!pe.cast)return}ie.Promise=xt;}return xt.polyfill=ct,xt.Promise=xt,xt});}),Rv=W(function(e){var t=1e5,r=(function(){var te=Object.prototype.toString,Ce=Object.prototype.hasOwnProperty;return {Class:function(Se){return te.call(Se).replace(/^\[object *|\]$/g,"")},HasProperty:function(Se,Ve){return Ve in Se},HasOwnProperty:function(Se,Ve){return Ce.call(Se,Ve)},IsCallable:function(Se){return typeof Se=="function"},ToInt32:function(Se){return Se>>0},ToUint32:function(Se){return Se>>>0}}})(),n=Math.LN2,a=Math.abs,i=Math.floor,o=Math.log,s=Math.min,l=Math.pow,u=Math.round;function c(te,Ce,me){return te<Ce?Ce:te>me?me:te}var h=Object.getOwnPropertyNames||function(te){if(te!==Object(te))throw new TypeError("Object.getOwnPropertyNames called on non-object");var Ce=[],me;for(me in te)r.HasOwnProperty(te,me)&&Ce.push(me);return Ce},b;Object.defineProperty&&(function(){try{return Object.defineProperty({},"x",{}),!0}catch{return false}})()?b=Object.defineProperty:b=function(Ce,me,Se){if(!Ce===Object(Ce))throw new TypeError("Object.defineProperty called on non-object");return r.HasProperty(Se,"get")&&Object.prototype.__defineGetter__&&Object.prototype.__defineGetter__.call(Ce,me,Se.get),r.HasProperty(Se,"set")&&Object.prototype.__defineSetter__&&Object.prototype.__defineSetter__.call(Ce,me,Se.set),r.HasProperty(Se,"value")&&(Ce[me]=Se.value),Ce};function E(te){if(h&&b){var Ce=h(te),me;for(me=0;me<Ce.length;me+=1)b(te,Ce[me],{value:te[Ce[me]],writable:false,enumerable:false,configurable:false});}}function R(te){if(!b)return;if(te.length>t)throw new RangeError("Array too large for polyfill");function Ce(Se){b(te,Se,{get:function(){return te._getter(Se)},set:function(Re){te._setter(Se,Re);},enumerable:true,configurable:false});}var me;for(me=0;me<te.length;me+=1)Ce(me);}function O(te,Ce){var me=32-Ce;return te<<me>>me}function B(te,Ce){var me=32-Ce;return te<<me>>>me}function $(te){return [te&255]}function z(te){return O(te[0],8)}function X(te){return [te&255]}function Y(te){return B(te[0],8)}function J(te){return te=u(Number(te)),[te<0?0:te>255?255:te&255]}function ne(te){return [te>>8&255,te&255]}function se(te){return O(te[0]<<8|te[1],16)}function fe(te){return [te>>8&255,te&255]}function Ae(te){return B(te[0]<<8|te[1],16)}function le(te){return [te>>24&255,te>>16&255,te>>8&255,te&255]}function ge(te){return O(te[0]<<24|te[1]<<16|te[2]<<8|te[3],32)}function xe(te){return [te>>24&255,te>>16&255,te>>8&255,te&255]}function Ee(te){return B(te[0]<<24|te[1]<<16|te[2]<<8|te[3],32)}function Me(te,Ce,me){var Se=(1<<Ce-1)-1,Ve,Re,Le,et,ut,pt,_t;function kt(St){var vt=i(St),Yn=St-vt;return Yn<.5?vt:Yn>.5||vt%2?vt+1:vt}for(te!==te?(Re=(1<<Ce)-1,Le=l(2,me-1),Ve=0):te===1/0||te===-1/0?(Re=(1<<Ce)-1,Le=0,Ve=te<0?1:0):te===0?(Re=0,Le=0,Ve=1/te===-1/0?1:0):(Ve=te<0,te=a(te),te>=l(2,1-Se)?(Re=s(i(o(te)/n),1023),Le=kt(te/l(2,Re)*l(2,me)),Le/l(2,me)>=2&&(Re=Re+1,Le=1),Re>Se?(Re=(1<<Ce)-1,Le=0):(Re=Re+Se,Le=Le-l(2,me))):(Re=0,Le=kt(te/l(2,1-Se-me)))),ut=[],et=me;et;et-=1)ut.push(Le%2?1:0),Le=i(Le/2);for(et=Ce;et;et-=1)ut.push(Re%2?1:0),Re=i(Re/2);for(ut.push(Ve?1:0),ut.reverse(),pt=ut.join(""),_t=[];pt.length;)_t.push(parseInt(pt.substring(0,8),2)),pt=pt.substring(8);return _t}function je(te,Ce,me){var Se=[],Ve,Re,Le,et,ut,pt,_t,kt;for(Ve=te.length;Ve;Ve-=1)for(Le=te[Ve-1],Re=8;Re;Re-=1)Se.push(Le%2?1:0),Le=Le>>1;return Se.reverse(),et=Se.join(""),ut=(1<<Ce-1)-1,pt=parseInt(et.substring(0,1),2)?-1:1,_t=parseInt(et.substring(1,1+Ce),2),kt=parseInt(et.substring(1+Ce),2),_t===(1<<Ce)-1?kt===0?pt*(1/0):NaN:_t>0?pt*l(2,_t-ut)*(1+kt/l(2,me)):kt!==0?pt*l(2,-(ut-1))*(kt/l(2,me)):pt<0?-0:0}function Fe(te){return je(te,11,52)}function qe(te){return Me(te,11,52)}function be(te){return je(te,8,23)}function Pe(te){return Me(te,8,23)}((function(){function te(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 vt;for(vt=0;vt<this.byteLength;vt+=1)this._bytes[vt]=0;E(this);}e.ArrayBuffer=e.ArrayBuffer||te;function Ce(){}function me(St,vt,Yn){var Ot;return Ot=function(Tt,At,Ht){var Vt,xt,ct,ie;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 te(this.byteLength),this.byteOffset=0;}else if(de(arguments[0])==="object"&&arguments[0].constructor===Ot)for(Vt=arguments[0],this.length=Vt.length,this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new te(this.byteLength),this.byteOffset=0,ct=0;ct<this.length;ct+=1)this._setter(ct,Vt._getter(ct));else if(de(arguments[0])==="object"&&!(arguments[0]instanceof te||r.Class(arguments[0])==="ArrayBuffer"))for(xt=arguments[0],this.length=r.ToUint32(xt.length),this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new te(this.byteLength),this.byteOffset=0,ct=0;ct<this.length;ct+=1)ie=xt[ct],this._setter(ct,Number(ie));else if(de(arguments[0])==="object"&&(arguments[0]instanceof te||r.Class(arguments[0])==="ArrayBuffer")){if(this.buffer=Tt,this.byteOffset=r.ToUint32(At),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=Ot,E(this),R(this);},Ot.prototype=new Ce,Ot.prototype.BYTES_PER_ELEMENT=St,Ot.prototype._pack=vt,Ot.prototype._unpack=Yn,Ot.BYTES_PER_ELEMENT=St,Ot.prototype._getter=function(bt){if(arguments.length<1)throw new SyntaxError("Not enough arguments");if(bt=r.ToUint32(bt),!(bt>=this.length)){for(var Tt=[],At=0,Ht=this.byteOffset+bt*this.BYTES_PER_ELEMENT;At<this.BYTES_PER_ELEMENT;At+=1,Ht+=1)Tt.push(this.buffer._bytes[Ht]);return this._unpack(Tt)}},Ot.prototype.get=Ot.prototype._getter,Ot.prototype._setter=function(bt,Tt){if(arguments.length<2)throw new SyntaxError("Not enough arguments");if(bt=r.ToUint32(bt),bt<this.length){var At=this._pack(Tt),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]=At[Ht];}},Ot.prototype.set=function(bt,Tt){if(arguments.length<1)throw new SyntaxError("Not enough arguments");var At,Ht,Vt,xt,ct,ie,pe,ye,Ie,ze;if(de(arguments[0])==="object"&&arguments[0].constructor===this.constructor){if(At=arguments[0],Vt=r.ToUint32(arguments[1]),Vt+At.length>this.length)throw new RangeError("Offset plus length of array is out of range");if(ye=this.byteOffset+Vt*this.BYTES_PER_ELEMENT,Ie=At.length*this.BYTES_PER_ELEMENT,At.buffer===this.buffer){for(ze=[],ct=0,ie=At.byteOffset;ct<Ie;ct+=1,ie+=1)ze[ct]=At.buffer._bytes[ie];for(ct=0,pe=ye;ct<Ie;ct+=1,pe+=1)this.buffer._bytes[pe]=ze[ct];}else for(ct=0,ie=At.byteOffset,pe=ye;ct<Ie;ct+=1,ie+=1,pe+=1)this.buffer._bytes[pe]=At.buffer._bytes[ie];}else if(de(arguments[0])==="object"&&typeof arguments[0].length<"u"){if(Ht=arguments[0],xt=r.ToUint32(Ht.length),Vt=r.ToUint32(arguments[1]),Vt+xt>this.length)throw new RangeError("Offset plus length of array is out of range");for(ct=0;ct<xt;ct+=1)ie=Ht[ct],this._setter(Vt+ct,Number(ie));}else throw new TypeError("Unexpected argument type(s)")},Ot.prototype.subarray=function(bt,Tt){bt=r.ToInt32(bt),Tt=r.ToInt32(Tt),arguments.length<1&&(bt=0),arguments.length<2&&(Tt=this.length),bt<0&&(bt=this.length+bt),Tt<0&&(Tt=this.length+Tt),bt=c(bt,0,this.length),Tt=c(Tt,0,this.length);var At=Tt-bt;return At<0&&(At=0),new this.constructor(this.buffer,this.byteOffset+bt*this.BYTES_PER_ELEMENT,At)},Ot}var Se=me(1,$,z),Ve=me(1,X,Y),Re=me(1,J,Y),Le=me(2,ne,se),et=me(2,fe,Ae),ut=me(4,le,ge),pt=me(4,xe,Ee),_t=me(4,Pe,be),kt=me(8,qe,Fe);e.Int8Array=e.Int8Array||Se,e.Uint8Array=e.Uint8Array||Ve,e.Uint8ClampedArray=e.Uint8ClampedArray||Re,e.Int16Array=e.Int16Array||Le,e.Uint16Array=e.Uint16Array||et,e.Int32Array=e.Int32Array||ut,e.Uint32Array=e.Uint32Array||pt,e.Float32Array=e.Float32Array||_t,e.Float64Array=e.Float64Array||kt;}))(),(function(){function te(Re,Le){return r.IsCallable(Re.get)?Re.get(Le):Re[Le]}var Ce=(function(){var Re=new e.Uint16Array([4660]),Le=new e.Uint8Array(Re.buffer);return te(Le,0)===18})();function me(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");E(this);}function Se(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),pt=[],_t;for(_t=0;_t<Re.BYTES_PER_ELEMENT;_t+=1)pt.push(te(ut,_t));return !!et==!!Ce&&pt.reverse(),te(new Re(new e.Uint8Array(pt).buffer),0)}}me.prototype.getUint8=Se(e.Uint8Array),me.prototype.getInt8=Se(e.Int8Array),me.prototype.getUint16=Se(e.Uint16Array),me.prototype.getInt16=Se(e.Int16Array),me.prototype.getUint32=Se(e.Uint32Array),me.prototype.getInt32=Se(e.Int32Array),me.prototype.getFloat32=Se(e.Float32Array),me.prototype.getFloat64=Se(e.Float64Array);function Ve(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 pt=new Re([et]),_t=new e.Uint8Array(pt.buffer),kt=[],St,vt;for(St=0;St<Re.BYTES_PER_ELEMENT;St+=1)kt.push(te(_t,St));!!ut==!!Ce&&kt.reverse(),vt=new e.Uint8Array(this.buffer,Le,Re.BYTES_PER_ELEMENT),vt.set(kt);}}me.prototype.setUint8=Ve(e.Uint8Array),me.prototype.setInt8=Ve(e.Int8Array),me.prototype.setUint16=Ve(e.Uint16Array),me.prototype.setInt16=Ve(e.Int16Array),me.prototype.setUint32=Ve(e.Uint32Array),me.prototype.setInt32=Ve(e.Int32Array),me.prototype.setFloat32=Ve(e.Float32Array),me.prototype.setFloat64=Ve(e.Float64Array),e.DataView=e.DataView||me;})();}),Fv=W(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 h=c[this._id];return h&&h[0]===c?(delete c[this._id],true):false}),a(o.prototype,"get",function(c){if(s(this,"get"),!!i(c)){var h=c[this._id];if(h&&h[0]===c)return h[1]}}),a(o.prototype,"has",function(c){if(s(this,"has"),!i(c))return false;var h=c[this._id];return !!(h&&h[0]===c)}),a(o.prototype,"set",function(c,h){if(s(this,"set"),!i(c))throw new TypeError("Invalid value used as weak map key");var b=c[this._id];return b&&b[0]===c?(b[1]=h,this):(a(c,this._id,[c,h]),this)});function s(c,h){if(!i(c)||!r.call(c,"_id"))throw new TypeError(h+" 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 f<"u"?f:typeof g<"u"?g:e);}),mr=W(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 f>"u"?"undefined":de(f))=="object"&&f)||r((typeof self>"u"?"undefined":de(self))=="object"&&self)||r((typeof g>"u"?"undefined":de(g))=="object"&&g)||r(de(e)=="object"&&e)||(function(){return this})()||Function("return this")();}),hr=W(function(e,t){t.exports=function(r){try{return !!r()}catch{return true}};}),hi=W(function(e,t){var r=hr();t.exports=!r(function(){var n=function(){}.bind();return typeof n!="function"||n.hasOwnProperty("prototype")});}),Iv=W(function(e,t){var r=hi(),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)});}),ar=W(function(e,t){var r=hi(),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)}};}),gi=W(function(e,t){var r=ar(),n=r({}.toString),a=r("".slice);t.exports=function(i){return a(n(i),8,-1)};}),cc=W(function(e,t){var r=gi(),n=ar();t.exports=function(a){if(r(a)==="Function")return n(a)};}),Ut=W(function(e,t){var r=(typeof m>"u"?"undefined":de(m))=="object"&&m.all;t.exports=typeof r>"u"&&r!==void 0?function(n){return typeof n=="function"||n===r}:function(n){return typeof n=="function"};}),Ar=W(function(e,t){var r=hr();t.exports=!r(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7});}),hn=W(function(e,t){var r=hi(),n=Function.prototype.call;t.exports=r?n.bind(n):function(){return n.apply(n,arguments)};}),dc=W(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;}),vi=W(function(e,t){t.exports=function(r,n){return {enumerable:!(r&1),configurable:!(r&2),writable:!(r&4),value:n}};}),Lv=W(function(e,t){var r=ar(),n=hr(),a=gi(),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;}),ns=W(function(e,t){t.exports=function(r){return r==null};}),bi=W(function(e,t){var r=ns(),n=TypeError;t.exports=function(a){if(r(a))throw new n("Can't call method on "+a);return a};}),da=W(function(e,t){var r=Lv(),n=bi();t.exports=function(a){return r(n(a))};}),Kr=W(function(e,t){var r=Ut();t.exports=function(n){return de(n)=="object"?n!==null:r(n)};}),fa=W(function(e,t){t.exports={};}),as=W(function(e,t){var r=fa(),n=mr(),a=Ut(),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]};}),Pv=W(function(e,t){var r=ar();t.exports=r({}.isPrototypeOf);}),Mv=W(function(e,t){var r=mr(),n=r.navigator,a=n&&n.userAgent;t.exports=a?String(a):"";}),Ov=W(function(e,t){var r=mr(),n=Mv(),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;}),fc=W(function(e,t){var r=Ov(),n=hr(),a=mr(),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});}),pc=W(function(e,t){var r=fc();t.exports=r&&!Symbol.sham&&de(Symbol.iterator)=="symbol";}),mc=W(function(e,t){var r=as(),n=Ut(),a=Pv(),i=pc(),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))};}),hc=W(function(e,t){var r=String;t.exports=function(n){try{return r(n)}catch{return "Object"}};}),yi=W(function(e,t){var r=Ut(),n=hc(),a=TypeError;t.exports=function(i){if(r(i))return i;throw new a(n(i)+" is not a function")};}),is=W(function(e,t){var r=yi(),n=ns();t.exports=function(a,i){var o=a[i];return n(o)?void 0:r(o)};}),Nv=W(function(e,t){var r=hn(),n=Ut(),a=Kr(),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")};}),os=W(function(e,t){t.exports=true;}),qv=W(function(e,t){var r=mr(),n=Object.defineProperty;t.exports=function(a,i){try{n(r,a,{value:i,configurable:!0,writable:!0});}catch{r[a]=i;}return i};}),wi=W(function(e,t){var r=os(),n=mr(),a=qv(),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"});}),gc=W(function(e,t){var r=wi();t.exports=function(n,a){return r[n]||(r[n]=a||{})};}),ss=W(function(e,t){var r=bi(),n=Object;t.exports=function(a){return n(r(a))};}),Br=W(function(e,t){var r=ar(),n=ss(),a=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(o,s){return a(n(o),s)};}),vc=W(function(e,t){var r=ar(),n=0,a=Math.random(),i=r(1.1.toString);t.exports=function(o){return "Symbol("+(o===void 0?"":o)+")_"+i(++n+a,36)};}),Hr=W(function(e,t){var r=mr(),n=gc(),a=Br(),i=vc(),o=fc(),s=pc(),l=r.Symbol,u=n("wks"),c=s?l.for||l:l&&l.withoutSetter||i;t.exports=function(h){return a(u,h)||(u[h]=o&&a(l,h)?l[h]:c("Symbol."+h)),u[h]};}),Bv=W(function(e,t){var r=hn(),n=Kr(),a=mc(),i=is(),o=Nv(),s=Hr(),l=TypeError,u=s("toPrimitive");t.exports=function(c,h){if(!n(c)||a(c))return c;var b=i(c,u),E;if(b){if(h===void 0&&(h="default"),E=r(b,c,h),!n(E)||a(E))return E;throw new l("Can't convert object to primitive value")}return h===void 0&&(h="number"),o(c,h)};}),bc=W(function(e,t){var r=Bv(),n=mc();t.exports=function(a){var i=r(a,"string");return n(i)?i:i+""};}),yc=W(function(e,t){var r=mr(),n=Kr(),a=r.document,i=n(a)&&n(a.createElement);t.exports=function(o){return i?a.createElement(o):{}};}),wc=W(function(e,t){var r=Ar(),n=hr(),a=yc();t.exports=!r&&!n(function(){return Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a!==7});}),Hv=W(function(e){var t=Ar(),r=hn(),n=dc(),a=vi(),i=da(),o=bc(),s=Br(),l=wc(),u=Object.getOwnPropertyDescriptor;e.f=t?u:function(h,b){if(h=i(h),b=o(b),l)try{return u(h,b)}catch{}if(s(h,b))return a(!r(n.f,h,b),h[b])};}),Vv=W(function(e,t){var r=hr(),n=Ut(),a=/#|\.prototype\./,i=function(h,b){var E=s[o(h)];return E===u?true:E===l?false:n(b)?r(b):!!b},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;}),xc=W(function(e,t){var r=cc(),n=yi(),a=hi(),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)}};}),Dc=W(function(e,t){var r=Ar(),n=hr();t.exports=r&&n(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:false}).prototype!==42});}),Rn=W(function(e,t){var r=Kr(),n=String,a=TypeError;t.exports=function(i){if(r(i))return i;throw new a(n(i)+" is not an object")};}),xi=W(function(e){var t=Ar(),r=wc(),n=Dc(),a=Rn(),i=bc(),o=TypeError,s=Object.defineProperty,l=Object.getOwnPropertyDescriptor,u="enumerable",c="configurable",h="writable";e.f=t?n?function(E,R,O){if(a(E),R=i(R),a(O),typeof E=="function"&&R==="prototype"&&"value"in O&&h in O&&!O[h]){var B=l(E,R);B&&B[h]&&(E[R]=O.value,O={configurable:c in O?O[c]:B[c],enumerable:u in O?O[u]:B[u],writable:false});}return s(E,R,O)}:s:function(E,R,O){if(a(E),R=i(R),a(O),r)try{return s(E,R,O)}catch{}if("get"in O||"set"in O)throw new o("Accessors not supported");return "value"in O&&(E[R]=O.value),E};}),pa=W(function(e,t){var r=Ar(),n=xi(),a=vi();t.exports=r?function(i,o,s){return n.f(i,o,a(1,s))}:function(i,o,s){return i[o]=s,i};}),Di=W(function(e,t){var r=mr(),n=Iv(),a=cc(),i=Ut(),o=Hv().f,s=Vv(),l=fa(),u=xc(),c=pa(),h=Br();wi();var b=function(R){var O=function($,z,X){if(this instanceof O){switch(arguments.length){case 0:return new R;case 1:return new R($);case 2:return new R($,z)}return new R($,z,X)}return n(R,this,arguments)};return O.prototype=R.prototype,O};t.exports=function(E,R){var O=E.target,B=E.global,$=E.stat,z=E.proto,X=B?r:$?r[O]:r[O]&&r[O].prototype,Y=B?l:l[O]||c(l,O,{})[O],J=Y.prototype,ne,se,fe,Ae,le,ge,xe,Ee,Me;for(Ae in R)ne=s(B?Ae:O+($?".":"#")+Ae,E.forced),se=!ne&&X&&h(X,Ae),ge=Y[Ae],se&&(E.dontCallGetSet?(Me=o(X,Ae),xe=Me&&Me.value):xe=X[Ae]),le=se&&xe?xe:R[Ae],!(!ne&&!z&&de(ge)==de(le))&&(E.bind&&se?Ee=u(le,r):E.wrap&&se?Ee=b(le):z&&i(le)?Ee=a(le):Ee=le,(E.sham||le&&le.sham||ge&&ge.sham)&&c(Ee,"sham",true),c(Y,Ae,Ee),z&&(fe=O+"Prototype",h(l,fe)||c(l,fe,{}),c(l[fe],Ae,le),E.real&&J&&(ne||!J[Ae])&&c(J,Ae,le)));};}),$v=W(function(){var e=Di(),t=Br();e({target:"Object",stat:true},{hasOwn:t});}),jv=W(function(e,t){$v();var r=fa();t.exports=r.Object.hasOwn;}),zv=W(function(e,t){var r=jv();t.exports=r;}),Gv=W(function(e,t){var r=zv();t.exports=r;}),ls=W(function(e,t){var r=gc(),n=vc(),a=r("keys");t.exports=function(i){return a[i]||(a[i]=n(i))};}),Uv=W(function(e,t){var r=hr();t.exports=!r(function(){function n(){}return n.prototype.constructor=null,Object.getPrototypeOf(new n)!==n.prototype});}),us=W(function(e,t){var r=Br(),n=Ut(),a=ss(),i=ls(),o=Uv(),s=i("IE_PROTO"),l=Object,u=l.prototype;t.exports=o?l.getPrototypeOf:function(c){var h=a(c);if(r(h,s))return h[s];var b=h.constructor;return n(b)&&h instanceof b?b.prototype:h instanceof l?u:null};}),Wv=W(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)};}),cs=W(function(e,t){var r=Wv();t.exports=function(n){var a=+n;return a!==a||a===0?0:r(a)};}),Xv=W(function(e,t){var r=cs(),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)};}),Yv=W(function(e,t){var r=cs(),n=Math.min;t.exports=function(a){var i=r(a);return i>0?n(i,9007199254740991):0};}),_c=W(function(e,t){var r=Yv();t.exports=function(n){return r(n.length)};}),Kv=W(function(e,t){var r=da(),n=Xv(),a=_c(),i=function(s){return function(l,u,c){var h=r(l),b=a(h);if(b===0)return !s&&-1;var E=n(c,b),R;if(s&&u!==u){for(;b>E;)if(R=h[E++],R!==R)return true}else for(;b>E;E++)if((s||E in h)&&h[E]===u)return s||E||0;return !s&&-1}};t.exports={includes:i(true),indexOf:i(false)};}),ds=W(function(e,t){t.exports={};}),Jv=W(function(e,t){var r=ar(),n=Br(),a=da(),i=Kv().indexOf,o=ds(),s=r([].push);t.exports=function(l,u){var c=a(l),h=0,b=[],E;for(E in c)!n(o,E)&&n(c,E)&&s(b,E);for(;u.length>h;)n(c,E=u[h++])&&(~i(b,E)||s(b,E));return b};}),Ac=W(function(e,t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"];}),Ec=W(function(e,t){var r=Jv(),n=Ac();t.exports=Object.keys||function(i){return r(i,n)};}),Zv=W(function(e,t){var r=Ar(),n=hr(),a=ar(),i=us(),o=Ec(),s=da(),l=dc().f,u=a(l),c=a([].push),h=r&&n(function(){var E=Object.create(null);return E[2]=2,!u(E,2)}),b=function(R){return function(O){for(var B=s(O),$=o(B),z=h&&i(B)===null,X=$.length,Y=0,J=[],ne;X>Y;)ne=$[Y++],(!r||(z?ne in B:u(B,ne)))&&c(J,R?[ne,B[ne]]:B[ne]);return J}};t.exports={entries:b(true),values:b(false)};}),Qv=W(function(){var e=Di(),t=Zv().values;e({target:"Object",stat:true},{values:function(n){return t(n)}});}),eb=W(function(e,t){Qv();var r=fa();t.exports=r.Object.values;}),tb=W(function(e,t){var r=eb();t.exports=r;}),rb=W(function(e,t){var r=tb();t.exports=r;}),fs=W(function(e,t){var r=Hr(),n=r("toStringTag"),a={};a[n]="z",t.exports=String(a)==="[object z]";}),_i=W(function(e,t){var r=fs(),n=Ut(),a=gi(),i=Hr(),o=i("toStringTag"),s=Object,l=a((function(){return arguments})())==="Arguments",u=function(h,b){try{return h[b]}catch{}};t.exports=r?a:function(c){var h,b,E;return c===void 0?"Undefined":c===null?"Null":typeof(b=u(h=s(c),o))=="string"?b:l?a(h):(E=a(h))==="Object"&&n(h.callee)?"Arguments":E};}),Cc=W(function(e,t){var r=_i(),n=String;t.exports=function(a){if(r(a)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return n(a)};}),nb=W(function(e,t){var r=ar(),n=cs(),a=Cc(),i=bi(),o=r("".charAt),s=r("".charCodeAt),l=r("".slice),u=function(h){return function(b,E){var R=a(i(b)),O=n(E),B=R.length,$,z;return O<0||O>=B?h?"":void 0:($=s(R,O),$<55296||$>56319||O+1===B||(z=s(R,O+1))<56320||z>57343?h?o(R,O):$:h?l(R,O,O+2):($-55296<<10)+(z-56320)+65536)}};t.exports={codeAt:u(false),charAt:u(true)};}),ab=W(function(e,t){var r=mr(),n=Ut(),a=r.WeakMap;t.exports=n(a)&&/native code/.test(String(a));}),ib=W(function(e,t){var r=ab(),n=mr(),a=Kr(),i=pa(),o=Br(),s=wi(),l=ls(),u=ds(),c="Object already initialized",h=n.TypeError,b=n.WeakMap,E,R,O,B=function(J){return O(J)?R(J):E(J,{})},$=function(J){return function(ne){var se;if(!a(ne)||(se=R(ne)).type!==J)throw new h("Incompatible receiver, "+J+" required");return se}};r||s.state?(z=s.state||(s.state=new b),z.get=z.get,z.has=z.has,z.set=z.set,E=function(J,ne){if(z.has(J))throw new h(c);return ne.facade=J,z.set(J,ne),ne},R=function(J){return z.get(J)||{}},O=function(J){return z.has(J)}):(X=l("state"),u[X]=true,E=function(J,ne){if(o(J,X))throw new h(c);return ne.facade=J,i(J,X,ne),ne},R=function(J){return o(J,X)?J[X]:{}},O=function(J){return o(J,X)});var z,X;t.exports={set:E,get:R,has:O,enforce:B,getterFor:$};}),ob=W(function(e,t){var r=Ar(),n=Br(),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};}),sb=W(function(e){var t=Ar(),r=Dc(),n=xi(),a=Rn(),i=da(),o=Ec();e.f=t&&!r?Object.defineProperties:function(l,u){a(l);for(var c=i(u),h=o(u),b=h.length,E=0,R;b>E;)n.f(l,R=h[E++],c[R]);return l};}),lb=W(function(e,t){var r=as();t.exports=r("document","documentElement");}),Sc=W(function(e,t){var r=Rn(),n=sb(),a=Ac(),i=ds(),o=lb(),s=yc(),l=ls(),u=">",c="<",h="prototype",b="script",E=l("IE_PROTO"),R=function(){},O=function(J){return c+b+u+J+c+"/"+b+u},B=function(J){J.write(O("")),J.close();var ne=J.parentWindow.Object;return J=null,ne},$=function(){var J=s("iframe"),ne="java"+b+":",se;return J.style.display="none",o.appendChild(J),J.src=String(ne),se=J.contentWindow.document,se.open(),se.write(O("document.F=Object")),se.close(),se.F},z,X=function(){try{z=new ActiveXObject("htmlfile");}catch{}X=typeof m<"u"?m.domain&&z?B(z):$():B(z);for(var J=a.length;J--;)delete X[h][a[J]];return X()};i[E]=true,t.exports=Object.create||function(J,ne){var se;return J!==null?(R[h]=r(J),se=new R,R[h]=null,se[E]=J):se=X(),ne===void 0?se:n.f(se,ne)};}),kc=W(function(e,t){var r=pa();t.exports=function(n,a,i,o){return o&&o.enumerable?n[a]=i:r(n,a,i),n};}),Tc=W(function(e,t){var r=hr(),n=Ut(),a=Kr(),i=Sc(),o=us(),s=kc(),l=Hr(),u=os(),c=l("iterator"),h=false,b,E,R;[].keys&&(R=[].keys(),"next"in R?(E=o(o(R)),E!==Object.prototype&&(b=E)):h=true);var O=!a(b)||r(function(){var B={};return b[c].call(B)!==B});O?b={}:u&&(b=i(b)),n(b[c])||s(b,c,function(){return this}),t.exports={IteratorPrototype:b,BUGGY_SAFARI_ITERATORS:h};}),ub=W(function(e,t){var r=fs(),n=_i();t.exports=r?{}.toString:function(){return "[object "+n(this)+"]"};}),Rc=W(function(e,t){var r=fs(),n=xi().f,a=pa(),i=Br(),o=ub(),s=Hr(),l=s("toStringTag");t.exports=function(u,c,h,b){var E=h?u:u&&u.prototype;E&&(i(E,l)||n(E,l,{configurable:true,value:c}),b&&!r&&a(E,"toString",o));};}),Ai=W(function(e,t){t.exports={};}),cb=W(function(e,t){var r=Tc().IteratorPrototype,n=Sc(),a=vi(),i=Rc(),o=Ai(),s=function(){return this};t.exports=function(l,u,c,h){var b=u+" Iterator";return l.prototype=n(r,{next:a(+!h,c)}),i(l,b,false,true),o[b]=s,l};}),db=W(function(e,t){var r=ar(),n=yi();t.exports=function(a,i,o){try{return r(n(Object.getOwnPropertyDescriptor(a,i)[o]))}catch{}};}),fb=W(function(e,t){var r=Kr();t.exports=function(n){return r(n)||n===null};}),pb=W(function(e,t){var r=fb(),n=String,a=TypeError;t.exports=function(i){if(r(i))return i;throw new a("Can't set "+n(i)+" as a prototype")};}),mb=W(function(e,t){var r=db(),n=Kr(),a=bi(),i=pb();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,h){return a(c),i(h),n(c)&&(o?l(c,h):c.__proto__=h),c}})():void 0);}),hb=W(function(e,t){var r=Di(),n=hn(),a=os(),i=ob(),o=Ut(),s=cb(),l=us(),u=mb(),c=Rc(),h=pa(),b=kc(),E=Hr(),R=Ai(),O=Tc(),B=i.PROPER,$=i.CONFIGURABLE,z=O.IteratorPrototype,X=O.BUGGY_SAFARI_ITERATORS,Y=E("iterator"),J="keys",ne="values",se="entries",fe=function(){return this};t.exports=function(Ae,le,ge,xe,Ee,Me,je){s(ge,le,xe);var Fe=function(et){if(et===Ee&&Ce)return Ce;if(!X&&et&&et in Pe)return Pe[et];switch(et){case J:return function(){return new ge(this,et)};case ne:return function(){return new ge(this,et)};case se:return function(){return new ge(this,et)}}return function(){return new ge(this)}},qe=le+" Iterator",be=false,Pe=Ae.prototype,te=Pe[Y]||Pe["@@iterator"]||Ee&&Pe[Ee],Ce=!X&&te||Fe(Ee),me=le==="Array"&&Pe.entries||te,Se,Ve,Re;if(me&&(Se=l(me.call(new Ae)),Se!==Object.prototype&&Se.next&&(!a&&l(Se)!==z&&(u?u(Se,z):o(Se[Y])||b(Se,Y,fe)),c(Se,qe,true,true),a&&(R[qe]=fe))),B&&Ee===ne&&te&&te.name!==ne&&(!a&&$?h(Pe,"name",ne):(be=true,Ce=function(){return n(te,this)})),Ee)if(Ve={values:Fe(ne),keys:Me?Ce:Fe(J),entries:Fe(se)},je)for(Re in Ve)(X||be||!(Re in Pe))&&b(Pe,Re,Ve[Re]);else r({target:le,proto:true,forced:X||be},Ve);return (!a||je)&&Pe[Y]!==Ce&&b(Pe,Y,Ce,{name:Ee}),R[le]=Ce,Ve};}),gb=W(function(e,t){t.exports=function(r,n){return {value:r,done:n}};}),vb=W(function(){var e=nb().charAt,t=Cc(),r=ib(),n=hb(),a=gb(),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,h=u.index,b;return h>=c.length?a(void 0,true):(b=e(c,h),u.index+=b.length,a(b,false))});}),bb=W(function(e,t){var r=hn(),n=Rn(),a=is();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};}),yb=W(function(e,t){var r=Rn(),n=bb();t.exports=function(a,i,o,s){try{return s?i(r(o)[0],o[1]):i(o)}catch(l){n(a,"throw",l);}};}),wb=W(function(e,t){var r=Hr(),n=Ai(),a=r("iterator"),i=Array.prototype;t.exports=function(o){return o!==void 0&&(n.Array===o||i[a]===o)};}),xb=W(function(e,t){var r=ar(),n=Ut(),a=wi(),i=r(Function.toString);n(a.inspectSource)||(a.inspectSource=function(o){return i(o)}),t.exports=a.inspectSource;}),Db=W(function(e,t){var r=ar(),n=hr(),a=Ut(),i=_i(),o=as(),s=xb(),l=function(){},u=o("Reflect","construct"),c=/^\s*(?:class|function)\b/,h=r(c.exec),b=!c.test(l),E=function(B){if(!a(B))return false;try{return u(l,[],B),!0}catch{return false}},R=function(B){if(!a(B))return false;switch(i(B)){case "AsyncFunction":case "GeneratorFunction":case "AsyncGeneratorFunction":return false}try{return b||!!h(c,s(B))}catch{return true}};R.sham=true,t.exports=!u||n(function(){var O;return E(E.call)||!E(Object)||!E(function(){O=true;})||O})?R:E;}),_b=W(function(e,t){var r=Ar(),n=xi(),a=vi();t.exports=function(i,o,s){r?n.f(i,o,a(0,s)):i[o]=s;};}),Ab=W(function(e,t){var r=gi();t.exports=Array.isArray||function(a){return r(a)==="Array"};}),Eb=W(function(e,t){var r=Ar(),n=Ab(),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};}),Fc=W(function(e,t){var r=_i(),n=is(),a=ns(),i=Ai(),o=Hr(),s=o("iterator");t.exports=function(l){if(!a(l))return n(l,s)||n(l,"@@iterator")||i[r(l)]};}),Cb=W(function(e,t){var r=hn(),n=yi(),a=Rn(),i=hc(),o=Fc(),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")};}),Sb=W(function(e,t){var r=xc(),n=hn(),a=ss(),i=yb(),o=wb(),s=Db(),l=_c(),u=_b(),c=Eb(),h=Cb(),b=Fc(),E=Array;t.exports=function(O){var B=a(O),$=s(this),z=arguments.length,X=z>1?arguments[1]:void 0,Y=X!==void 0;Y&&(X=r(X,z>2?arguments[2]:void 0));var J=b(B),ne=0,se,fe,Ae,le,ge,xe;if(J&&!(this===E&&o(J)))for(fe=$?new this:[],le=h(B,J),ge=le.next;!(Ae=n(ge,le)).done;ne++)xe=Y?i(le,X,[Ae.value,ne],true):Ae.value,u(fe,ne,xe);else for(se=l(B),fe=$?new this(se):E(se);se>ne;ne++)xe=Y?X(B[ne],ne):B[ne],u(fe,ne,xe);return c(fe,ne),fe};}),kb=W(function(e,t){var r=Hr(),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};}),Tb=W(function(){var e=Di(),t=Sb(),r=kb(),n=!r(function(a){Array.from(a);});e({target:"Array",stat:true,forced:n},{from:t});}),Rb=W(function(e,t){vb(),Tb();var r=fa();t.exports=r.Array.from;}),Fb=W(function(e,t){var r=Rb();t.exports=r;}),Ic=W(function(e,t){var r=Fb();t.exports=r;}),Lc=W(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 h=c.charCodeAt(0);if((h&63488)===55296){var b=o.charCodeAt(u++);if((h&64512)!==55296||(b&64512)!==56320)throw Error("UCS-2(decode): illegal sequence");h=((h&1023)<<10)+(b&1023)+65536;}l+="\\"+h.toString(16)+" ";}u++;}return l}e.escapeIdentifier=a;function i(o){for(var s=o.length,l="",u=0,c;u<s;){var h=o.charAt(u);h==='"'?h='\\"':h==="\\"?h="\\\\":(c=e.strReplacementsRev[h])!==void 0&&(h=c),l+=h,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","\\":"\\",'"':'"'};}),Ib=
|
|
370
|
-
`||c==="\r"||c==="\f";)z=true,a++,c=n.charAt(a);return z}function L(){var z=N();if(a<u)throw Error('Rule expected but "'+n.charAt(a)+'" found.');return z}function N(){var z=q();if(!z)return null;var W=z;for(c=n.charAt(a);c===",";){if(a++,A(),W.type!=="selectors"&&(W={type:"selectors",selectors:[z]}),z=q(),!z)throw Error('Rule expected after ",".');W.selectors.push(z);}return W}function q(){A();var z={type:"ruleSet"},W=$();if(!W)return null;for(var X=z;W&&(W.type="rule",X.rule=W,X=W,A(),c=n.charAt(a),!(a>=u||c===","||c===")"));)if(s[c]){var K=c;if(a++,A(),W=$(),!W)throw Error('Rule expected after "'+K+'".');W.nestingOperator=K;}else W=$(),W&&(W.nestingOperator=null);return z}function $(){for(var z=null;a<u;)if(c=n.charAt(a),c==="*")a++,(z=z||{}).tagName="*";else if(t.isIdentStart(c)||c==="\\")(z=z||{}).tagName=b();else if(c===".")a++,z=z||{},(z.classNames=z.classNames||[]).push(b());else if(c==="#")a++,(z=z||{}).id=b();else if(c==="["){a++,A();var W={name:b()};if(A(),c==="]")a++;else {var X="";if(o[c]&&(X=c,a++,c=n.charAt(a)),a>=u)throw Error('Expected "=" but end of file reached.');if(c!=="=")throw Error('Expected "=" but "'+c+'" found.');W.operator=X+"=",a++,A();var K="";if(W.valueType="string",c==='"')K=h('"',t.doubleQuotesEscapeChars);else if(c==="'")K=h("'",t.singleQuoteEscapeChars);else if(l&&c==="$")a++,K=b(),W.valueType="substitute";else {for(;a<u&&c!=="]";)K+=c,a++,c=n.charAt(a);K=K.trim();}if(A(),a>=u)throw Error('Expected "]" but end of file reached.');if(c!=="]")throw Error('Expected "]" but "'+c+'" found.');a++,W.value=K;}z=z||{},(z.attrs=z.attrs||[]).push(W);}else if(c===":"){a++;var ne=b(),se={name:ne};if(c==="("){a++;var pe="";if(A(),i[ne]==="selector")se.valueType="selector",pe=N();else {if(se.valueType=i[ne]||"string",c==='"')pe=h('"',t.doubleQuotesEscapeChars);else if(c==="'")pe=h("'",t.singleQuoteEscapeChars);else if(l&&c==="$")a++,pe=b(),se.valueType="substitute";else {for(;a<u&&c!==")";)pe+=c,a++,c=n.charAt(a);pe=pe.trim();}A();}if(a>=u)throw Error('Expected ")" but end of file reached.');if(c!==")")throw Error('Expected ")" but "'+c+'" found.');a++,se.value=pe;}z=z||{},(z.pseudos=z.pseudos||[]).push(se);}else break;return z}return L()}e.parseCssSelector=r;}),Lb=U(function(e){Object.defineProperty(e,"__esModule",{value:true});var t=Lc();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;}),Pb=U(function(e){Object.defineProperty(e,"__esModule",{value:true});var t=Ib(),r=Lb(),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;}),Mb=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{f.globalThis=(function(){if(typeof self<"u")return self;if(typeof f<"u")return f;if(typeof g<"u")return g;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(h){return l[h]||h}):""}},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,h,b,A){return h.indexOf("def.")===0&&(h=h.substring(4)),h in u||(b===":"?(s.defineParams&&A.replace(s.defineParams,function(L,N,q){u[h]={arg:N,text:q};}),h in u||(u[h]=A)):new Function("def","def['"+h+"']="+A)(u)),""}).replace(s.use||a,function(c,h){s.useParams&&(h=h.replace(s.useParams,function(A,L,N,q){if(u[N]&&u[N].arg&&q){var $=(N+":"+q).replace(/'|\\/g,"_");return u.__exp=u.__exp||{},u.__exp[$]=u[N].text.replace(new RegExp("(^|[^\\w$])"+u[N].arg+"([^\\w$])","g"),"$1"+q+"$2"),L+"def.__exp['"+$+"']"}}));var b=new Function("def","return "+h)(u);return b&&i(s,b,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,h,b=0,A,L=l.use||l.define?i(l,s,u||{}):s;L=("var out='"+(l.strip?L.replace(/(^|\r|\n)\t* +| +\t*(\r|\n|$)/g," ").replace(/\r|\n|\t|\/\*[\s\S]*?\*\//g,""):L).replace(/'|\\/g,"\\$&").replace(l.interpolate||a,function(N,q){return c.start+o(q)+c.end}).replace(l.encode||a,function(N,q){return h=true,c.startencode+o(q)+c.end}).replace(l.conditional||a,function(N,q,$){return q?$?"';}else if("+o($)+"){out+='":"';}else{out+='":$?"';if("+o($)+"){out+='":"';}out+='"}).replace(l.iterate||a,function(N,q,$,z){return q?(b+=1,A=z||"i"+b,q=o(q),"';var arr"+b+"="+q+";if(arr"+b+"){var "+$+","+A+"=-1,l"+b+"=arr"+b+".length-1;while("+A+"<l"+b+"){"+$+"=arr"+b+"["+A+"+=1];out+='"):"';} } out+='"}).replace(l.evaluate||a,function(N,q){return "';"+o(q)+"out+='"})+"';return out;").replace(/\n/g,"\\n").replace(/\t/g,"\\t").replace(/\r/g,"\\r").replace(/(\s|;|\}|^|\{)out\+='';/g,"$1").replace(/\+''/g,""),h&&(!l.selfcontained&&globalThis&&!globalThis._encodeHTML&&(globalThis._encodeHTML=r.encodeHTMLSource(l.doNotSkipEncoded)),L="var encodeHTML = typeof _encodeHTML !== 'undefined' ? _encodeHTML : ("+r.encodeHTMLSource.toString()+"("+(l.doNotSkipEncoded||"")+"));"+L);try{return new Function(l.varname,L)}catch(N){throw typeof console<"u"&&console.log("Could not create a template function: "+L),N}},r.compile=function(s,l){return r.template(s,null,l)};})();}),Ob=U(function(e,t){t.exports=function(){};}),gn=U(function(e,t){var r=Ob()();t.exports=function(n){return n!==r&&n!==null};}),Pc=U(function(e,t){var r=gn(),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};}),Nb=U(function(e,t){t.exports=function(){var r=Math.sign;return typeof r!="function"?false:r(10)===1&&r(-20)===-1};}),qb=U(function(e,t){t.exports=function(r){return r=Number(r),isNaN(r)||r===0?r:r>0?1:-1};}),Bb=U(function(e,t){t.exports=Nb()()?Math.sign:qb();}),Hb=U(function(e,t){var r=Bb(),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)))};}),vn=U(function(e,t){var r=Hb(),n=Math.max;t.exports=function(a){return n(0,r(a))};}),Mc=U(function(e,t){var r=vn();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)};}),Jr=U(function(e,t){t.exports=function(r){if(typeof r!="function")throw new TypeError(r+" is not a function");return r};}),Fn=U(function(e,t){var r=gn();t.exports=function(n){if(!r(n))throw new TypeError("Cannot use null or undefined");return n};}),Vb=U(function(e,t){var r=Jr(),n=Fn(),a=Function.prototype.bind,i=Function.prototype.call,o=Object.keys,s=Object.prototype.propertyIsEnumerable;t.exports=function(l,u){return function(c,h){var b,A=arguments[2],L=arguments[3];return c=Object(n(c)),r(h),b=o(c),L&&b.sort(typeof L=="function"?a.call(L,c):void 0),typeof l!="function"&&(l=b[l]),i.call(l,b,function(N,q){return s.call(c,N)?i.call(h,A,c[N],N,c,q):u})}};}),Ei=U(function(e,t){t.exports=Vb()("forEach");}),bn=U(function(){}),$b=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")};}),jb=U(function(e,t){t.exports=function(){try{return Object.keys("primitive"),!0}catch{return false}};}),zb=U(function(e,t){var r=gn(),n=Object.keys;t.exports=function(a){return n(r(a)?Object(a):a)};}),Gb=U(function(e,t){t.exports=jb()()?Object.keys:zb();}),Ub=U(function(e,t){var r=Gb(),n=Fn(),a=Math.max;t.exports=function(i,o){var s,l,u=a(arguments.length,2),c;for(i=Object(n(i)),c=function(b){try{i[b]=o[b];}catch(A){s||(s=A);}},l=1;l<u;++l)o=arguments[l],r(o).forEach(c);if(s!==void 0)throw s;return i};}),Oc=U(function(e,t){t.exports=$b()()?Object.assign:Ub();}),Wb=U(function(e,t){var r=gn(),n={function:true,object:true};t.exports=function(a){return r(a)&&n[fe(a)]||false};}),Xb=U(function(e,t){var r=Oc(),n=Wb(),a=gn(),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};}),Nc=U(function(e,t){var r=Fn(),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(h){try{n(s,h,a(l,h));}catch(b){u=b;}}),typeof o=="function"&&o(c).forEach(function(h){try{n(s,h,a(l,h));}catch(b){u=b;}}),u!==void 0)throw u;return s};}),qc=U(function(e,t){var r=vn(),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=Nc(),o=(function(){var l=[];return function(u){var c,h=0;if(l[u])return l[u];for(c=[];u--;)c.push("a"+(++h).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});}),Bc=U(function(e,t){var r=void 0;t.exports=function(n){return n!==r&&n!==null};}),Yb=U(function(e,t){var r=Bc(),n={object:true,function:true,undefined:true};t.exports=function(a){return r(a)?hasOwnProperty.call(n,fe(a)):false};}),Kb=U(function(e,t){var r=Yb();t.exports=function(n){if(!r(n))return false;try{return n.constructor?n.constructor.prototype===n:!1}catch{return false}};}),Jb=U(function(e,t){var r=Kb();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)};}),Zb=U(function(e,t){var r=Jb(),n=/^\s*class[\s{/}]/,a=Function.prototype.toString;t.exports=function(i){return !(!r(i)||n.test(a.call(i)))};}),Qb=U(function(e,t){var r="razdwatrzy";t.exports=function(){return typeof r.contains!="function"?false:r.contains("dwa")===true&&r.contains("foo")===false};}),ey=U(function(e,t){var r=String.prototype.indexOf;t.exports=function(n){return r.call(this,n,arguments[1])>-1};}),ty=U(function(e,t){t.exports=Qb()()?String.prototype.contains:ey();}),yn=U(function(e,t){var r=Bc(),n=Zb(),a=Oc(),i=Pc(),o=ty(),s=t.exports=function(l,u){var c,h,b,A,L;return arguments.length<2||typeof l!="string"?(A=u,u=l,l=null):A=arguments[2],r(l)?(c=o.call(l,"c"),h=o.call(l,"e"),b=o.call(l,"w")):(c=b=true,h=false),L={value:u,configurable:c,enumerable:h,writable:b},A?a(i(A),L):L};s.gs=function(l,u,c){var h,b,A,L;return typeof l!="string"?(A=c,c=u,u=l,l=null):A=arguments[3],r(u)?n(u)?r(c)?n(c)||(A=c,c=void 0):c=void 0:(A=u,u=c=void 0):u=void 0,r(l)?(h=o.call(l,"c"),b=o.call(l,"e")):(h=true,b=false),L={get:u,set:c,configurable:h,enumerable:b},A?a(i(A),L):L};}),ry=U(function(e,t){var r=yn(),n=Jr(),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},h,b,A,L,N,q,$;h=function(W,X){var K;return n(X),u.call(this,"__ee__")?K=this.__ee__:(K=c.value=o(null),s(this,"__ee__",c),c.value=null),K[W]?fe(K[W])==="object"?K[W].push(X):K[W]=[K[W],X]:K[W]=X,this},b=function(W,X){var K,ne;return n(X),ne=this,h.call(this,W,K=function(){A.call(ne,W,K),a.call(X,this,arguments);}),K.__eeOnceListener__=X,this},A=function(W,X){var K,ne,se,pe;if(n(X),!u.call(this,"__ee__"))return this;if(K=this.__ee__,!K[W])return this;if(ne=K[W],fe(ne)==="object")for(pe=0;se=ne[pe];++pe)(se===X||se.__eeOnceListener__===X)&&(ne.length===2?K[W]=ne[pe?0:1]:ne.splice(pe,1));else (ne===X||ne.__eeOnceListener__===X)&&delete K[W];return this},L=function(W){var X,K,ne,se,pe;if(u.call(this,"__ee__")&&(se=this.__ee__[W],!!se))if(fe(se)==="object"){for(K=arguments.length,pe=new Array(K-1),X=1;X<K;++X)pe[X-1]=arguments[X];for(se=se.slice(),X=0;ne=se[X];++X)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(K=arguments.length,pe=new Array(K-1),X=1;X<K;++X)pe[X-1]=arguments[X];a.call(se,this,pe);}},N={on:h,once:b,off:A,emit:L},q={on:r(h),once:r(b),off:r(A),emit:r(L)},$=l({},q),t.exports=e=function(W){return W==null?o($):l(Object(W),q)},e.methods=N;}),ny=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"))};}),ay=U(function(e,t){t.exports=function(){return (typeof globalThis>"u"?"undefined":fe(globalThis))!=="object"||!globalThis?false:globalThis.Array===Array};}),iy=U(function(e,t){var r=function(){if((typeof self>"u"?"undefined":fe(self))==="object"&&self)return self;if((typeof f>"u"?"undefined":fe(f))==="object"&&f)return f;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__;}})();}),Ci=U(function(e,t){t.exports=ay()()?globalThis:iy();}),oy=U(function(e,t){var r=Ci(),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)])};}),sy=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};}),Hc=U(function(e,t){var r=sy();t.exports=function(n){if(!r(n))throw new TypeError(n+" is not a symbol");return n};}),ly=U(function(e,t){var r=yn(),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(h){c||(c=true,a(this,u,r(h)),c=false);})),u};}),uy=U(function(e,t){var r=yn(),n=Ci().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"))})};}),cy=U(function(e,t){var r=yn(),n=Hc(),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})})};}),dy=U(function(e,t){var r=yn(),n=Hc(),a=Ci().Symbol,i=ly(),o=uy(),s=cy(),l=Object.create,u=Object.defineProperties,c=Object.defineProperty,h,b,A;if(typeof a=="function")try{String(a()),A=!0;}catch{}else a=null;b=function(N){if(this instanceof b)throw new TypeError("Symbol is not a constructor");return h(N)},t.exports=h=function L(N){var q;if(this instanceof L)throw new TypeError("Symbol is not a constructor");return A?a(N):(q=l(b.prototype),N=N===void 0?"":String(N),u(q,{__description__:r("",N),__name__:r("",i(N))}))},o(h),s(h),u(b.prototype,{constructor:r(h),toString:r("",function(){return this.__name__})}),u(h.prototype,{toString:r(function(){return "Symbol ("+n(this).__description__+")"}),valueOf:r(function(){return n(this)})}),c(h.prototype,h.toPrimitive,r("",function(){var L=n(this);return fe(L)==="symbol"?L:L.toString()})),c(h.prototype,h.toStringTag,r("c","Symbol")),c(b.prototype,h.toStringTag,r("c",h.prototype[h.toStringTag])),c(b.prototype,h.toPrimitive,r("c",h.prototype[h.toPrimitive]));}),fy=U(function(e,t){t.exports=oy()()?Ci().Symbol:dy();}),py=U(function(e,t){var r=Object.prototype.toString,n=r.call((function(){return arguments})());t.exports=function(a){return r.call(a)===n};}),my=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))};}),hy=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};}),gy=U(function(e,t){var r=fy().iterator,n=py(),a=my(),i=vn(),o=Jr(),s=Fn(),l=gn(),u=hy(),c=Array.isArray,h=Function.prototype.call,b={configurable:true,enumerable:true,writable:true,value:null},A=Object.defineProperty;t.exports=function(L){var N=arguments[1],q=arguments[2],$,z,W,X,K,ne,se,pe,_e,le;if(L=Object(s(L)),l(N)&&o(N),!this||this===Array||!a(this)){if(!N){if(n(L))return K=L.length,K!==1?Array.apply(null,L):(X=new Array(1),X[0]=L[0],X);if(c(L)){for(X=new Array(K=L.length),z=0;z<K;++z)X[z]=L[z];return X}}X=[];}else $=this;if(!c(L)){if((_e=L[r])!==void 0){for(se=o(_e).call(L),$&&(X=new $),pe=se.next(),z=0;!pe.done;)le=N?h.call(N,q,pe.value,z):pe.value,$?(b.value=le,A(X,z,b)):X[z]=le,pe=se.next(),++z;K=z;}else if(u(L)){for(K=L.length,$&&(X=new $),z=0,W=0;z<K;++z)le=L[z],z+1<K&&(ne=le.charCodeAt(0),ne>=55296&&ne<=56319&&(le+=L[++z])),le=N?h.call(N,q,le,W):le,$?(b.value=le,A(X,W,b)):X[W]=le,++W;K=W;}}if(K===void 0)for(K=i(L.length),$&&(X=new $(K)),z=0;z<K;++z)le=N?h.call(N,q,L[z],z):L[z],$?(b.value=le,A(X,z,b)):X[z]=le;return $&&(b.value=null,X.length=K),X};}),ps=U(function(e,t){t.exports=ny()()?Array.from:gy();}),vy=U(function(e,t){var r=ps(),n=Array.isArray;t.exports=function(a){return n(a)?a:r(a)};}),by=U(function(e,t){var r=vy(),n=gn(),a=Jr(),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)};}),yy=U(function(e,t){var r=Jr();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))};}),wy=U(function(e,t){var r=Xb(),n=qc(),a=yn(),i=ry().methods,o=by(),s=yy(),l=Function.prototype.apply,u=Function.prototype.call,c=Object.create,h=Object.defineProperties,b=i.on,A=i.emit;t.exports=function(L,N,q){var $=c(null),z,W,X,K,ne,se,pe,_e,le,ge,xe,Ee,Oe,je,Re;return N!==false?W=N:isNaN(L.length)?W=1:W=L.length,q.normalizer&&(ge=s(q.normalizer),X=ge.get,K=ge.set,ne=ge.delete,se=ge.clear),q.resolvers!=null&&(Re=o(q.resolvers)),X?je=n(function(He){var be,Pe,te=arguments;if(Re&&(te=Re(te)),be=X(te),be!==null&&hasOwnProperty.call($,be))return xe&&z.emit("get",be,te,this),$[be];if(te.length===1?Pe=u.call(L,this,te[0]):Pe=l.call(L,this,te),be===null){if(be=X(te),be!==null)throw r("Circular invocation","CIRCULAR_INVOCATION");be=K(te);}else if(hasOwnProperty.call($,be))throw r("Circular invocation","CIRCULAR_INVOCATION");return $[be]=Pe,Ee&&z.emit("set",be,null,Pe),Pe},W):N===0?je=function(){var be;if(hasOwnProperty.call($,"data"))return xe&&z.emit("get","data",arguments,this),$.data;if(arguments.length?be=l.call(L,this,arguments):be=u.call(L,this),hasOwnProperty.call($,"data"))throw r("Circular invocation","CIRCULAR_INVOCATION");return $.data=be,Ee&&z.emit("set","data",null,be),be}:je=function(be){var Pe,te=arguments,Ce;if(Re&&(te=Re(arguments)),Ce=String(te[0]),hasOwnProperty.call($,Ce))return xe&&z.emit("get",Ce,te,this),$[Ce];if(te.length===1?Pe=u.call(L,this,te[0]):Pe=l.call(L,this,te),hasOwnProperty.call($,Ce))throw r("Circular invocation","CIRCULAR_INVOCATION");return $[Ce]=Pe,Ee&&z.emit("set",Ce,null,Pe),Pe},z={original:L,memoized:je,profileName:q.profileName,get:function(be){return Re&&(be=Re(be)),X?X(be):String(be[0])},has:function(be){return hasOwnProperty.call($,be)},delete:function(be){var Pe;hasOwnProperty.call($,be)&&(ne&&ne(be),Pe=$[be],delete $[be],Oe&&z.emit("delete",be,Pe));},clear:function(){var be=$;se&&se(),$=c(null),z.emit("clear",be);},on:function(be,Pe){return be==="get"?xe=true:be==="set"?Ee=true:be==="delete"&&(Oe=true),b.call(this,be,Pe)},emit:A,updateEnv:function(){L=z.original;}},X?pe=n(function(He){var be,Pe=arguments;Re&&(Pe=Re(Pe)),be=X(Pe),be!==null&&z.delete(be);},W):N===0?pe=function(){return z.delete("data")}:pe=function(be){return Re&&(be=Re(arguments)[0]),z.delete(be)},_e=n(function(){var He,be=arguments;return N===0?$.data:(Re&&(be=Re(be)),X?He=X(be):He=String(be[0]),$[He])}),le=n(function(){var He,be=arguments;return N===0?z.has("data"):(Re&&(be=Re(be)),X?He=X(be):He=String(be[0]),He===null?false:z.has(He))}),h(je,{__memoized__:a(true),delete:a(pe),clear:a(z.clear),_get:a(_e),_has:a(le)}),z};}),xy=U(function(e,t){var r=Jr(),n=Ei(),a=bn(),i=wy(),o=Mc();t.exports=function s(l){var u,c,h;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),h=i(l,c,u),n(a,function(b,A){u[A]&&b(u[A],h,u);}),s.__profiler__&&s.__profiler__(h),h.updateEnv(),h.memoized)};}),Dy=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};}),Ay=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 ""}};}),_y=U(function(e,t){t.exports=function(){var r=Number.isNaN;return typeof r!="function"?false:!r({})&&r(NaN)&&!r(34)};}),Ey=U(function(e,t){t.exports=function(r){return r!==r};}),Cy=U(function(e,t){t.exports=_y()()?Number.isNaN:Ey();}),ms=U(function(e,t){var r=Cy(),n=vn(),a=Fn(),i=Array.prototype.indexOf,o=Object.prototype.hasOwnProperty,s=Math.abs,l=Math.floor;t.exports=function(u){var c,h,b,A;if(!r(u))return i.apply(this,arguments);for(h=n(a(this).length),b=arguments[1],isNaN(b)?b=0:b>=0?b=l(b):b=n(this.length)-l(s(b)),c=b;c<h;++c)if(o.call(this,c)&&(A=this[c],r(A)))return c;return -1};}),Sy=U(function(e,t){var r=ms(),n=Object.create;t.exports=function(){var a=0,i=[],o=n(null);return {get:function(l){var u=0,c=i,h,b=l.length;if(b===0)return c[b]||null;if(c=c[b]){for(;u<b-1;){if(h=r.call(c[0],l[u]),h===-1)return null;c=c[1][h],++u;}return h=r.call(c[0],l[u]),h===-1?null:c[1][h]||null}return null},set:function(l){var u=0,c=i,h,b=l.length;if(b===0)c[b]=++a;else {for(c[b]||(c[b]=[[],[]]),c=c[b];u<b-1;)h=r.call(c[0],l[u]),h===-1&&(h=c[0].push(l[u])-1,c[1].push([[],[]])),c=c[1][h],++u;h=r.call(c[0],l[u]),h===-1&&(h=c[0].push(l[u])-1),c[1][h]=++a;}return o[a]=l,a},delete:function(l){var u=0,c=i,h,b=o[l],A=b.length,L=[];if(A===0)delete c[A];else if(c=c[A]){for(;u<A-1;){if(h=r.call(c[0],b[u]),h===-1)return;L.push(c,h),c=c[1][h],++u;}if(h=r.call(c[0],b[u]),h===-1)return;for(l=c[1][h],c[0].splice(h,1),c[1].splice(h,1);!c[0].length&&L.length;)h=L.pop(),c=L.pop(),c[0].splice(h,1),c[1].splice(h,1);}delete o[l];},clear:function(){i=[],o=n(null);}}};}),ky=U(function(e,t){var r=ms();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=[];}}};}),Ty=U(function(e,t){var r=ms(),n=Object.create;t.exports=function(a){var i=0,o=[[],[]],s=n(null);return {get:function(u){for(var c=0,h=o,b;c<a-1;){if(b=r.call(h[0],u[c]),b===-1)return null;h=h[1][b],++c;}return b=r.call(h[0],u[c]),b===-1?null:h[1][b]||null},set:function(u){for(var c=0,h=o,b;c<a-1;)b=r.call(h[0],u[c]),b===-1&&(b=h[0].push(u[c])-1,h[1].push([[],[]])),h=h[1][b],++c;return b=r.call(h[0],u[c]),b===-1&&(b=h[0].push(u[c])-1),h[1][b]=++i,s[i]=u,i},delete:function(u){for(var c=0,h=o,b,A=[],L=s[u];c<a-1;){if(b=r.call(h[0],L[c]),b===-1)return;A.push(h,b),h=h[1][b],++c;}if(b=r.call(h[0],L[c]),b!==-1){for(u=h[1][b],h[0].splice(b,1),h[1].splice(b,1);!h[0].length&&A.length;)b=A.pop(),h=A.pop(),h[0].splice(b,1),h[1].splice(b,1);delete s[u];}},clear:function(){o=[[],[]],s=n(null);}}};}),Vc=U(function(e,t){var r=Jr(),n=Ei(),a=Function.prototype.call;t.exports=function(i,o){var s={},l=arguments[2];return r(o),n(i,function(u,c,h,b){s[c]=a.call(o,l,u,c,h,b);}),s};}),hs=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=m.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 m>"u"?"undefined":fe(m))==="object"&&m){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})();}),Ry=U(function(){var e=ps(),t=Vc(),r=Nc(),n=qc(),a=hs(),i=Array.prototype.slice,o=Function.prototype.apply,s=Object.create;bn().async=function(l,u){var c=s(null),h=s(null),b=u.memoized,A=u.original,L,N,q;u.memoized=n(function($){var z=arguments,W=z[z.length-1];return typeof W=="function"&&(L=W,z=i.call(z,0,-1)),b.apply(N=this,q=z)},b);try{r(u.memoized,b);}catch{}u.on("get",function($){var z,W,X;if(L){if(c[$]){typeof c[$]=="function"?c[$]=[c[$],L]:c[$].push(L),L=null;return}z=L,W=N,X=q,L=N=q=null,a(function(){var K;hasOwnProperty.call(h,$)?(K=h[$],u.emit("getasync",$,X,W),o.call(z,K.context,K.args)):(L=z,N=W,q=X,b.apply(W,X));});}}),u.original=function(){var $,z,W,X;return L?($=e(arguments),z=function K(ne){var se,pe,_e=K.id;if(_e==null){a(o.bind(K,this,arguments));return}if(delete K.id,se=c[_e],delete c[_e],!!se)return pe=e(arguments),u.has(_e)&&(ne?u.delete(_e):(h[_e]={context:this,args:pe},u.emit("setasync",_e,typeof se=="function"?1:se.length))),typeof se=="function"?X=o.call(se,this,pe):se.forEach(function(le){X=o.call(le,this,pe);},this),X},W=L,L=N=q=null,$.push(z),X=o.call(A,this,$),z.cb=W,L=z,X):o.call(A,this,arguments)},u.on("set",function($){if(!L){u.delete($);return}c[$]?typeof c[$]=="function"?c[$]=[c[$],L.cb]:c[$].push(L.cb):c[$]=L.cb,delete L.cb,L.id=$,L=null;}),u.on("delete",function($){var z;hasOwnProperty.call(c,$)||h[$]&&(z=h[$],delete h[$],u.emit("deleteasync",$,i.call(z.args,1)));}),u.on("clear",function(){var $=h;h=s(null),u.emit("clearasync",t($,function(z){return i.call(z.args,1)}));});};}),Fy=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};}),$c=U(function(e,t){t.exports=function(r){return typeof r=="function"};}),Iy=U(function(e,t){var r=$c();t.exports=function(n){try{return n&&r(n.toString)?n.toString():String(n)}catch{throw new TypeError("Passed argument cannot be stringifed")}};}),Ly=U(function(e,t){var r=Fn(),n=Iy();t.exports=function(a){return n(r(a))};}),Py=U(function(e,t){var r=$c();t.exports=function(n){try{return n&&r(n.toString)?n.toString():String(n)}catch{return "<Non-coercible to string value>"}};}),My=U(function(e,t){var r=Py(),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};}),jc=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"}}),Oy=U(function(){var e=Vc(),t=Fy(),r=Ly(),n=My(),a=jc(),i=hs(),o=Object.create,s=t("then","then:finally","done","done:finally");bn().promise=function(l,u){var c=o(null),h=o(null),b=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(A,L,N){var q=false;if(!a(N)){h[A]=N,u.emit("setasync",A,1);return}c[A]=1,b[A]=N;var $=function(ne){var se=c[A];if(q)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[A],h[A]=ne,u.emit("setasync",A,se));},z=function(){q=true,c[A]&&(delete c[A],delete b[A],u.delete(A));},W=l;if(W||(W="then"),W==="then"){var X=function(){i(z);};N=N.then(function(K){i($.bind(this,K));},X),typeof N.finally=="function"&&N.finally(X);}else if(W==="done"){if(typeof N.done!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done' mode");N.done($,z);}else if(W==="done:finally"){if(typeof N.done!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done:finally' mode");if(typeof N.finally!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'finally' in 'done:finally' mode");N.done($),N.finally(z);}}),u.on("get",function(A,L,N){var q;if(c[A]){++c[A];return}q=b[A];var $=function(){u.emit("getasync",A,L,N);};a(q)?typeof q.done=="function"?q.done($):q.then(function(){i($);}):$();}),u.on("delete",function(A){if(delete b[A],c[A]){delete c[A];return}if(hasOwnProperty.call(h,A)){var L=h[A];delete h[A],u.emit("deleteasync",A,[L]);}}),u.on("clear",function(){var A=h;h=o(null),c=o(null),b=o(null),u.emit("clearasync",e(A,function(L){return [L]}));});};}),Ny=U(function(){var e=Jr(),t=Ei(),r=bn(),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);});});};}),qy=U(function(e,t){t.exports=2147483647;}),By=U(function(e,t){var r=vn(),n=qy();t.exports=function(a){if(a=r(a),a>n)throw new TypeError(a+" exceeds maximum possible timeout");return a};}),Hy=U(function(){var e=ps(),t=Ei(),r=hs(),n=jc(),a=By(),i=bn(),o=Function.prototype,s=Math.max,l=Math.min,u=Object.create;i.maxAge=function(c,h,b){var A,L,N,q;c=a(c),c&&(A=u(null),L=b.async&&i.async||b.promise&&i.promise?"async":"",h.on("set"+L,function($){A[$]=setTimeout(function(){h.delete($);},c),typeof A[$].unref=="function"&&A[$].unref(),q&&(q[$]&&q[$]!=="nextTick"&&clearTimeout(q[$]),q[$]=setTimeout(function(){delete q[$];},N),typeof q[$].unref=="function"&&q[$].unref());}),h.on("delete"+L,function($){clearTimeout(A[$]),delete A[$],q&&(q[$]!=="nextTick"&&clearTimeout(q[$]),delete q[$]);}),b.preFetch&&(b.preFetch===true||isNaN(b.preFetch)?N=.333:N=s(l(Number(b.preFetch),1),0),N&&(q={},N=(1-N)*c,h.on("get"+L,function($,z,W){q[$]||(q[$]="nextTick",r(function(){var X;q[$]==="nextTick"&&(delete q[$],h.delete($),b.async&&(z=e(z),z.push(o)),X=h.memoized.apply(W,z),b.promise&&n(X)&&(typeof X.done=="function"?X.done(o,o):X.then(o,o)));}));}))),h.on("clear"+L,function(){t(A,function($){clearTimeout($);}),A={},q&&(t(q,function($){$!=="nextTick"&&clearTimeout($);}),q={});}));};}),Vy=U(function(e,t){var r=vn(),n=Object.create,a=Object.prototype.hasOwnProperty;t.exports=function(i){var o=0,s=1,l=n(null),u=n(null),c=0,h;return i=r(i),{hit:function(A){var L=u[A],N=++c;if(l[N]=A,u[A]=N,!L)return ++o,o<=i?void 0:(A=l[s],h(A),A);if(delete l[L],s===L)for(;!a.call(l,++s););},delete:h=function(A){var L=u[A];if(L&&(delete l[L],delete u[A],--o,s===L)){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;}}};}),$y=U(function(){var e=vn(),t=Vy(),r=bn();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));};}),jy=U(function(){var e=yn(),t=bn(),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]})});};}),zy=U(function(e,t){var r=Pc(),n=Mc(),a=xy();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=Dy():s>1&&(o.normalizer=Ay()(s)):s===false?o.normalizer=Sy()():s===1?o.normalizer=ky()():o.normalizer=Ty()(s))),o.async&&Ry(),o.promise&&Oy(),o.dispose&&Ny(),o.maxAge&&Hy(),o.max&&$y(),o.refCounter&&jy(),a(i,o)};}),Gy=[{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"}],gr={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"])};Gy.forEach(function(e){var t=e.name,r=e.value,n=e.priority,a=e.group;gr[t]=r,gr[t+"_PRIO"]=n,gr[t+"_GROUP"]=a,gr.results[n]=r,gr.resultGroups[n]=a,gr.resultGroupMap[r]=a;}),Object.freeze(gr.results),Object.freeze(gr.resultGroups),Object.freeze(gr.resultGroupMap),Object.freeze(gr);var We=gr;function Uy(){(typeof console>"u"?"undefined":fe(console))==="object"&&console.log&&Function.prototype.apply.call(console.log,console,arguments);}var wn=Uy,Wy=/[\t\r\n\f]/g,Xy=(function(){function e(){nr(this,e),this.parent=void 0;}return Gt(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(Wy," ").indexOf(a)>=0}}])})(),Ft=Xy,gs={};pr(gs,{DqElement:function(){return lr},RuleError:function(){return Io},aggregate:function(){return Si},aggregateChecks:function(){return Uc},aggregateNodeResults:function(){return Wc},aggregateResult:function(){return Xc},areStylesSet:function(){return t0},assert:function(){return nt},checkHelper:function(){return zs},clone:function(){return Vr},closest:function(){return Zt},collectResultsFromFrames:function(){return qf},contains:function(){return $r},convertSelector:function(){return Yi},cssParser:function(){return bf},deepMerge:function(){return nl},escapeSelector:function(){return xt},extendMetaData:function(){return al},filterHtmlAttrs:function(){return Qm},finalizeRuleResult:function(){return ma},findBy:function(){return La},getAllChecks:function(){return eo},getAncestry:function(){return Xi},getBaseLang:function(){return kn},getCheckMessage:function(){return w2},getCheckOption:function(){return Co},getElementSource:function(){return gf},getEnvironmentData:function(){return cn},getFlattenedTree:function(){return Ul},getFrameContexts:function(){return N2},getFriendlyUriEnd:function(){return Jc},getNodeAttributes:function(){return va},getNodeFromTree:function(){return Ye},getPreloadConfig:function(){return Ym},getRootNode:function(){return Pa},getRule:function(){return Lm},getScroll:function(){return Gr},getScrollState:function(){return H2},getSelector:function(){return $s},getSelectorData:function(){return Wi},getShadowSelector:function(){return Bs},getStandards:function(){return V2},getStyleSheetFactory:function(){return Om},getXpath:function(){return hf},injectStyle:function(){return z2},isArrayLike:function(){return Jl},isContextObject:function(){return Zl},isContextProp:function(){return ko},isContextSpec:function(){return Nm},isHidden:function(){return G2},isHtmlElement:function(){return eu},isLabelledFramesSelector:function(){return Ql},isLabelledShadowDomSelector:function(){return To},isNodeInContext:function(){return tu},isShadowRoot:function(){return ro},isValidLang:function(){return Po},isXHTML:function(){return Ca},matchAncestry:function(){return ru},matches:function(){return Us},matchesExpression:function(){return Mn},matchesSelector:function(){return In},memoize:function(){return mt},mergeResults:function(){return to},nodeLookup:function(){return rt},nodeSerializer:function(){return ur},nodeSorter:function(){return nu},objectHasOwn:function(){return Rr},parseCrossOriginStylesheet:function(){return iu},parseSameOriginStylesheet:function(){return Hm},parseStylesheet:function(){return au},parseTabindex:function(){return Fr},performanceTimer:function(){return st},pollyfillElementsFromPoint:function(){return Vm},preload:function(){return Wm},preloadCssom:function(){return jm},preloadMedia:function(){return Um},processMessage:function(){return Kl},publishMetaData:function(){return Ro},querySelectorAll:function(){return rr},querySelectorAllFilter:function(){return Ir},queue:function(){return Cr},respondable:function(){return yr},ruleShouldRun:function(){return Zm},select:function(){return ou},sendCommandToFrame:function(){return Pf},serializeError:function(){return Fo},setScrollState:function(){return _E},shadowSelect:function(){return EE},shadowSelectAll:function(){return su},shouldPreload:function(){return Xm},toArray:function(){return Kc},tokenList:function(){return Vt},uniqueArray:function(){return Ya},uuid:function(){return Tx},validInputTypes:function(){return Lo},validLangs:function(){return a1}});function Yy(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 Si=Yy,Ky=We.CANTTELL_PRIO,Jy=We.FAIL_PRIO,ki=[];ki[We.PASS_PRIO]=true,ki[We.CANTTELL_PRIO]=null,ki[We.FAIL_PRIO]=false;var zc=["any","all","none"];function Gc(e,t){return zc.reduce(function(r,n){return r[n]=(e[n]||[]).map(function(a){return t(a,n)}),r},{})}function Zy(e){var t=Object.assign({},e);Gc(t,function(a,i){var o=typeof a.result>"u"?-1:ki.indexOf(a.result);a.priority=o!==-1?o:We.CANTTELL_PRIO,i==="none"&&(a.priority===We.PASS_PRIO?a.priority=We.FAIL_PRIO:a.priority===We.FAIL_PRIO&&(a.priority=We.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 zc.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)});}),[Ky,Jy].includes(t.priority)?t.impact=Si(We.impact,n):t.impact=null,Gc(t,function(a){delete a.result,delete a.priority;}),t.result=We.results[t.priority],delete t.priority,t}var Uc=Zy;function ma(e){var t=p._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,Wc(e.nodes)),delete e.nodes,e}function Qy(e){var t={};if(e=e.map(function(i){if(i.any&&i.all&&i.none)return Uc(i);if(Array.isArray(i.node))return ma(i);throw new TypeError("Invalid Result type")}),e&&e.length){var r=e.map(function(i){return i.result});t.result=Si(We.results,r,t.result);}else t.result="inapplicable";We.resultGroups.forEach(function(i){return t[i]=[]}),e.forEach(function(i){var o=We.resultGroupMap[i.result];t[o].push(i);});var n=We.FAIL_GROUP;if(t[n].length===0&&(n=We.CANTTELL_GROUP),t[n].length>0){var a=t[n].map(function(i){return i.impact});t.impact=Si(We.impact,a)||null;}else t.impact=null;return t}var Wc=Qy;function vs(e,t,r){var n=Object.assign({},t);n.nodes=(n[r]||[]).concat(),We.resultGroups.forEach(function(a){delete n[a];}),e[r].push(n);}function e0(e){var t={};return We.resultGroups.forEach(function(r){return t[r]=[]}),e.forEach(function(r){r.error?vs(t,r,We.CANTTELL_GROUP):r.result===We.NA?vs(t,r,We.NA_GROUP):We.resultGroups.forEach(function(n){Array.isArray(r[n])&&r[n].length>0&&vs(t,r,n);});}),t}var Xc=e0;function Yc(e,t,r){var n=f.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:Yc(e.parentNode,t,r)}var t0=Yc;function r0(e,t){if(!e)throw new Error(t)}var nt=r0;function n0(e){return Array.prototype.slice.call(e)}var Kc=n0;function a0(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 xt=a0;function i0(){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 ha(e,t){return [e.substring(0,t),e.substring(t)]}function ga(e){return e.replace(/\s+$/,"")}function o0(e){var t=e,r="",n="",a="",i="",o="",s="";if(e.includes("#")){var l=ha(e,e.indexOf("#")),u=De(l,2);e=u[0],s=u[1];}if(e.includes("?")){var c=ha(e,e.indexOf("?")),h=De(c,2);e=h[0],o=h[1];}if(e.includes("://")){var b=e.split("://"),A=De(b,2);r=A[0],e=A[1];var L=ha(e,e.indexOf("/")),N=De(L,2);n=N[0],e=N[1];}else if(e.substr(0,2)==="//"){e=e.substr(2);var q=ha(e,e.indexOf("/")),$=De(q,2);n=$[0],e=$[1];}if(n.substr(0,4)==="www."&&(n=n.substr(4)),n&&n.includes(":")){var z=ha(n,n.indexOf(":")),W=De(z,2);n=W[0],a=W[1];}return i=e,{original:t,protocol:r,domain:n,port:a,path:i,query:o,hash:s}}function s0(){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=o0(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?ga(u+l):u.length<2&&l.length>2&&l.length<=a?ga(l):void 0;if(s&&s.length<a&&o.length<=1||o==="/"+u&&s&&r&&s!==r&&(s+o).length<=a)return ga(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})?/)&&!i0(u))return ga(u)}}var Jc=s0;function l0(e){return e.attributes instanceof f.NamedNodeMap?e.attributes:e.cloneNode(false).attributes}var va=l0,u0=(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}})(),In=u0,Zc={};pr(Zc,{ArrayFrom:function(){return uf.default},Colorjs:function(){return dt},CssSelectorParser:function(){return Qc.CssSelectorParser},doT:function(){return Zr.default},emojiRegexText:function(){return bs},memoize:function(){return ed.default}});var c0=Ar(Tv()),d0=Ar(Rv());Ar(Fv());var f0=Ar(Gv()),p0=Ar(rb()),m0=Ar(Ic());"hasOwn"in Object||(Object.hasOwn=f0.default),"values"in Object||(Object.values=p0.default),"Promise"in f||c0.default.polyfill(),"Uint32Array"in f||(f.Uint32Array=d0.Uint32Array),f.Uint32Array&&("some"in f.Uint32Array.prototype||Object.defineProperty(f.Uint32Array.prototype,"some",{value:Array.prototype.some}),"reduce"in f.Uint32Array.prototype||Object.defineProperty(f.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=m0.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}),f.Node&&!("isConnected"in f.Node.prototype)&&Object.defineProperty(f.Node.prototype,"isConnected",{get:function(){return !this.ownerDocument||!(this.ownerDocument.compareDocumentPosition(this)&this.DOCUMENT_POSITION_DISCONNECTED)}});var Qc=Ar(Pb()),Zr=Ar(Mb()),bs=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},ed=Ar(zy());function _t(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 h=c.value;l+=o*h;}}catch(A){u.e(A);}finally{u.f();}return l}for(var b=0;b<o.length;b++)l+=o[b]*(s[b]||0);return l})});return r===1&&(i=i[0]),n===1?i.map(function(o){return o[0]}):i}function ba(e){return Qr(e)==="string"}function Qr(e){var t=Object.prototype.toString.call(e);return (t.match(/^\[object\s+(.*?)\]$/)[1]||"").toLowerCase()}function Ti(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 td(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 rd(e){return e[e.length-1]}function Ri(e,t,r){return isNaN(e)?t:isNaN(t)?e:e+(t-e)*r}function nd(e,t,r){return (r-e)/(t-e)}function ys(e,t,r){return Ri(t[0],t[1],nd(e[0],e[1],r))}function ad(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 h0=Object.freeze({__proto__:null,isString:ba,type:Qr,toPrecision:Ti,parseFunction:td,last:rd,interpolate:Ri,interpolateInv:nd,mapRange:ys,parseCoordGrammar:ad,multiplyMatrices:_t}),g0=(function(){function e(){nr(this,e);}return Gt(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);});}}])})(),en=new g0,Er={gamut_mapping:"lch.c",precision:5,deltaE:"76"},vr={D50:[.3457/.3585,1,(1-.3457-.3585)/.3585],D65:[.3127/.329,1,(1-.3127-.329)/.329]};function ws(e){return Array.isArray(e)?e:vr[e]}function Fi(e,t,r){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};if(e=ws(e),t=ws(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(en.run("chromatic-adaptation-start",a),a.M||(a.W1===vr.D65&&a.W2===vr.D50?a.M=[[1.0479298208405488,.022946793341019088,-0.05019222954313557],[.029627815688159344,.990434484573249,-0.01707382502938514],[-0.009243058152591178,.015055144896577895,.7518742899580008]]:a.W1===vr.D50&&a.W2===vr.D65&&(a.M=[[.9554734527042182,-0.023098536874261423,.0632593086610217],[-0.028369706963208136,1.0099954580058226,.021041398966943008],[.012314001688319899,-0.020507696433477912,1.3303659366080753]])),en.run("chromatic-adaptation-end",a),a.M)return _t(a.M,a.XYZ);throw new TypeError("Only Bradford CAT with white points D50 and D65 supported for now.")}var v0=75e-6,br=(re=new WeakSet,oe=new WeakMap,(function(){function e(t){var r,n,a,i,o,s,l;nr(this,e),fi(this,re),Ot(this,oe,void 0),this.id=t.id,this.name=t.name,this.base=t.base?br.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=ws(c),this.formats=(i=t.formats)!==null&&i!==void 0?i:{};for(var h in this.formats){var b=this.formats[h];b.type||(b.type="function"),b.name||(b.name=h);}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,Rt(oe,this,Yr(re,this,b0).call(this).reverse()),en.run("colorspace-init-end",this);}return Gt(e,[{key:"inGamut",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=n.epsilon,i=a===void 0?v0: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=De(u.range,2),h=c[0],b=c[1];return (h===void 0||s>=h-i)&&(b===void 0||s<=b+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=Yr(re,this,id).call(this,r),r;var n;return r==="default"?n=Object.values(this.formats)[0]:n=this.formats[r],n?(n=Yr(re,this,id).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=br.get(r),this===r)return n;n=n.map(function(b){return Number.isNaN(b)?0:b});for(var i=zt(oe,this),o=zt(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 h=l+1;h<o.length;h++)n=o[h].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=br.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 ke(new Set(Object.values(br.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 br)return r;var n=Qr(r);if(n==="string"){var a=br.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 br.get.apply(br,o);throw new TypeError("".concat(r," is not a valid color space"))}},{key:"resolveCoord",value:function(r,n){var a=Qr(r),i,o;if(a==="string")if(r.includes(".")){var s=r.split("."),l=De(s,2);i=l[0],o=l[1];}else i=void 0,o=r;else if(Array.isArray(r)){var u=De(r,2);i=u[0],o=u[1];}else i=r.space,o=r.coordId;if(i=br.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=Qr(o),a==="number"||a==="string"&&o>=0){var c=Object.entries(i.coords)[o];if(c)return Fe({space:i,id:c[0],index:o},c[1])}i=br.get(i);var h=o.toLowerCase(),b=0;for(var A in i.coords){var L,N=i.coords[A];if(A.toLowerCase()===h||((L=N.name)===null||L===void 0?void 0:L.toLowerCase())===h)return Fe({space:i,id:A,index:b},N);b++;}throw new TypeError('No "'.concat(o,'" coordinate found in ').concat(i.name,". Its coordinates are: ").concat(Object.keys(i.coords).join(", ")))}}])})());function id(e){if(e.coords&&!e.coordGrammar){e.type||(e.type="function"),e.name||(e.name="color"),e.coordGrammar=ad(e.coords);var t=Object.entries(this.coords).map(function(r,n){var a=De(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=ys(s,l,a)),a=Ti(a,n),u&&(a+=u),a})};}return e}function b0(){for(var e=[this],t=this;t=t.base;)e.push(t);return e}var Be=br;uc(Be,"registry",{}),uc(Be,"DEFAULT_FORMAT",{type:"functions",name:"color"});var ir=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(nr(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=ir),r.toXYZ_M&&r.fromXYZ_M){var i,o;(i=r.toBase)!==null&&i!==void 0||(r.toBase=function(s){var l=_t(r.toXYZ_M,s);return a.white!==a.base.white&&(l=Fi(a.white,a.base.white,l)),l}),(o=r.fromBase)!==null&&o!==void 0||(r.fromBase=function(s){return s=Fi(a.base.white,a.white,s),_t(r.fromXYZ_M,s)});}return (n=r.referred)!==null&&n!==void 0||(r.referred="display"),a=Q(this,t,[r])}return Me(t,e),Gt(t)})(Be);function od(e){var t,r={str:(t=String(e))===null||t===void 0?void 0:t.trim()};if(en.run("parse-start",r),r.color)return r.color;if(r.parsed=td(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 _e=s.value,le=_e.getFormat("color");if(le){var ge;if(a===le.id||(ge=le.ids)!==null&&ge!==void 0&&ge.includes(a)){var xe=Object.keys(_e.coords).length,Ee=Array(xe).fill(0);return Ee.forEach(function(Oe,je){return Ee[je]=r.parsed.args[je]||0}),{v:{spaceId:_e.id,coords:Ee,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 h,b=(h=Be.registry[a].formats)===null||h===void 0||(h=h.functions)===null||h===void 0||(h=h.color)===null||h===void 0?void 0:h.id;b&&(c="Did you mean color(".concat(b,")?"));}throw new TypeError("Cannot parse color(".concat(a,"). ")+(c||"Missing a plugin?"))}else {var A=it(Be.all),L;try{var N=function(){var _e=L.value,le=_e.getFormat(n);if(le&&le.type==="function"){var ge=1;(le.lastAlpha||rd(r.parsed.args).alpha)&&(ge=r.parsed.args.pop());var xe=r.parsed.args;return le.coordGrammar&&Object.entries(_e.coords).forEach(function(Ee,Oe){var je,Re=De(Ee,2),He=Re[0],be=Re[1],Pe=le.coordGrammar[Oe],te=(je=xe[Oe])===null||je===void 0?void 0:je.type;if(Pe=Pe.find(function($e){return $e==te}),!Pe){var Ce=be.name||He;throw new TypeError("".concat(te," not allowed for ").concat(Ce," in ").concat(n,"()"))}var he=Pe.range;te==="<percentage>"&&(he||(he=[0,1]));var Se=be.range||be.refRange;he&&Se&&(xe[Oe]=ys(he,Se,xe[Oe]));}),{v:{spaceId:_e.id,coords:xe,alpha:ge}}}},q;for(A.s();!(L=A.n()).done;)if(q=N(),q)return q.v}catch(pe){A.e(pe);}finally{A.f();}}}else {var $=it(Be.all),z;try{for($.s();!(z=$.n()).done;){var W=z.value;for(var X in W.formats){var K=W.formats[X];if(K.type==="custom"&&!(K.test&&!K.test(r.str))){var ne=K.parse(r.str);if(ne){var se;return (se=ne.alpha)!==null&&se!==void 0||(ne.alpha=1),ne}}}}}catch(pe){$.e(pe);}finally{$.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");ba(e)&&(e=od(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 ya(e,t){return t=Be.get(t),t.from(e)}function or(e,t){var r=Be.resolveCoord(t,e.space),n=r.space,a=r.index,i=ya(e,n);return i[a]}function sd(e,t,r){return t=Be.get(t),e.coords=t.to(e.space,r),e}function tn(e,t,r){if(e=lt(e),arguments.length===2&&Qr(arguments[1])==="object"){var n=arguments[1];for(var a in n)tn(e,a,n[a]);}else {typeof r=="function"&&(r=r(or(e,t)));var i=Be.resolveCoord(t,e.space),o=i.space,s=i.index,l=ya(e,o);l[s]=r,sd(e,o,l);}return e}var xs=new Be({id:"xyz-d50",name:"XYZ D50",white:"D50",base:ir,fromBase:function(t){return Fi(ir.white,"D50",t)},toBase:function(t){return Fi("D50",ir.white,t)},formats:{color:{}}}),y0=216/24389,ld=24/116,Ii=24389/27,Ds=vr.D50,Jt=new Be({id:"lab",name:"Lab",coords:{l:{refRange:[0,100],name:"L"},a:{refRange:[-125,125]},b:{refRange:[-125,125]}},white:Ds,base:xs,fromBase:function(t){var r=t.map(function(a,i){return a/Ds[i]}),n=r.map(function(a){return a>y0?Math.cbrt(a):(Ii*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]>ld?Math.pow(r[0],3):(116*r[0]-16)/Ii,t[0]>8?Math.pow((t[0]+16)/116,3):t[0]/Ii,r[2]>ld?Math.pow(r[2],3):(116*r[2]-16)/Ii];return n.map(function(a,i){return a*Ds[i]})},formats:{lab:{coords:["<number> | <percentage>","<number>","<number>"]}}});function Li(e){return (e%360+360)%360}function w0(e,t){if(e==="raw")return t;var r=t.map(Li),n=De(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 wa=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:Jt,fromBase:function(t){var r=De(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)),Li(o)]},toBase:function(t){var r=De(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>"]}}}),ud=Math.pow(25,7),Pi=Math.PI,cd=180/Pi,Ln=Pi/180;function As(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=Jt.from(e),c=De(u,3),h=c[0],b=c[1],A=c[2],L=wa.from(Jt,[h,b,A])[1],N=Jt.from(t),q=De(N,3),$=q[0],z=q[1],W=q[2],X=wa.from(Jt,[$,z,W])[1];L<0&&(L=0),X<0&&(X=0);var K=(L+X)/2,ne=Math.pow(K,7),se=.5*(1-Math.sqrt(ne/(ne+ud))),pe=(1+se)*b,_e=(1+se)*z,le=Math.sqrt(Math.pow(pe,2)+Math.pow(A,2)),ge=Math.sqrt(Math.pow(_e,2)+Math.pow(W,2)),xe=pe===0&&A===0?0:Math.atan2(A,pe),Ee=_e===0&&W===0?0:Math.atan2(W,_e);xe<0&&(xe+=2*Pi),Ee<0&&(Ee+=2*Pi),xe*=cd,Ee*=cd;var Oe=$-h,je=ge-le,Re=Ee-xe,He=xe+Ee,be=Math.abs(Re),Pe;le*ge===0?Pe=0:be<=180?Pe=Re:Re>180?Pe=Re-360:Re<-180?Pe=Re+360:console.log("the unthinkable has happened");var te=2*Math.sqrt(ge*le)*Math.sin(Pe*Ln/2),Ce=(h+$)/2,he=(le+ge)/2,Se=Math.pow(he,7),$e;le*ge===0?$e=He:be<=180?$e=He/2:He<360?$e=(He+360)/2:$e=(He-360)/2;var Te=Math.pow(Ce-50,2),Le=1+.015*Te/Math.sqrt(20+Te),et=1+.045*he,ut=1;ut-=.17*Math.cos(($e-30)*Ln),ut+=.24*Math.cos(2*$e*Ln),ut+=.32*Math.cos((3*$e+6)*Ln),ut-=.2*Math.cos((4*$e-63)*Ln);var ft=1+.015*he*ut,Dt=30*Math.exp(-1*Math.pow(($e-275)/25,2)),St=2*Math.sqrt(Se/(Se+ud)),Ct=-1*Math.sin(2*Dt*Ln)*St,gt=Math.pow(Oe/(a*Le),2);return gt+=Math.pow(je/(o*et),2),gt+=Math.pow(te/(l*ft),2),gt+=Ct*(je/(o*et))*(te/(l*ft)),Math.sqrt(gt)}var x0=75e-6;function xa(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?x0: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 Da(e){return {space:e.space,coords:e.coords.slice(),alpha:e.alpha}}function rn(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.method,n=r===void 0?Er.gamut_mapping:r,a=t.space,i=a===void 0?e.space:a;if(ba(arguments[1])&&(i=arguments[1]),i=Be.get(i),xa(e,i,{epsilon:0}))return e;var o=sr(e,i);if(n!=="clip"&&!xa(e,i)){var s=rn(Da(o),{method:"clip",space:i});if(As(e,s)>2){for(var l=Be.resolveCoord(n),u=l.space,c=l.id,h=sr(o,u),b=l.range||l.refRange,A=b[0],L=.01,N=A,q=or(h,c);q-N>L;){var $=Da(h);$=rn($,{space:i,method:"clip"});var z=As(h,$);z-2<L?N=or(h,c):q=or(h,c),tn(h,c,(N+q)/2);}o=sr(h,i);}else o=s;}if(n==="clip"||!xa(o,i,{epsilon:0})){var W=Object.values(i.coords).map(function(X){return X.range||[]});o.coords=o.coords.map(function(X,K){var ne=De(W[K],2),se=ne[0],pe=ne[1];return se!==void 0&&(X=Math.max(se,X)),pe!==void 0&&(X=Math.min(X,pe)),X});}return i!==e.space&&(o=sr(o,e.space)),e.coords=o.coords,e}rn.returns="color";function sr(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=rn(i)),i}sr.returns="color";function Mi(e){var t,r,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=n.precision,i=a===void 0?Er.precision:a,o=n.format,s=o===void 0?"default":o,l=n.inGamut,u=l===void 0?true:l,c=ee(n,D),h;e=lt(e);var b=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 A=e.coords;if(A=A.map(function(X){return X||0}),u&&!xa(e)&&(A=rn(Da(e),u===true?void 0:u).coords),s.type==="custom")if(c.precision=i,s.serialize)h=s.serialize(A,e.alpha,c);else throw new TypeError("format ".concat(b," can only be used to parse colors, not for serialization"));else {var L=s.name||"color";s.serializeCoords?A=s.serializeCoords(A,i):i!==null&&(A=A.map(function(X){return Ti(X,i)}));var N=ke(A);if(L==="color"){var q,$=s.id||((q=s.ids)===null||q===void 0?void 0:q[0])||e.space.id;N.unshift($);}var z=e.alpha;i!==null&&(z=Ti(z,i));var W=e.alpha<1&&!s.noAlpha?"".concat(s.commas?",":" /"," ").concat(z):"";h="".concat(L,"(").concat(N.join(s.commas?", ":" ")).concat(W,")");}return h}var D0=[[.6369580483012914,.14461690358620832,.1688809751641721],[.2627002120112671,.6779980715188708,.05930171646986196],[0,.028072693049087428,1.060985057710791]],A0=[[1.716651187971268,-0.355670783776392,-0.25336628137366],[-0.666684351832489,1.616481236634939,.0157685458139111],[.017639857445311,-0.042770613257809,.942103121235474]],Oi=new Wt({id:"rec2020-linear",name:"Linear REC.2020",white:"D65",toXYZ_M:D0,fromXYZ_M:A0,formats:{color:{}}}),Ni=1.09929682680944,dd=.018053968510807,fd=new Wt({id:"rec2020",name:"REC.2020",base:Oi,toBase:function(t){return t.map(function(r){return r<dd*4.5?r/4.5:Math.pow((r+Ni-1)/Ni,1/.45)})},fromBase:function(t){return t.map(function(r){return r>=dd?Ni*Math.pow(r,.45)-(Ni-1):4.5*r})},formats:{color:{}}}),_0=[[.4865709486482162,.26566769316909306,.1982172852343625],[.2289745640697488,.6917385218365064,.079286914093745],[0,.04511338185890264,1.043944368900976]],E0=[[2.493496911941425,-0.9313836179191239,-0.40271078445071684],[-0.8294889695615747,1.7626640603183463,.023624685841943577],[.03584583024378447,-0.07617238926804182,.9568845240076872]],pd=new Wt({id:"p3-linear",name:"Linear P3",white:"D65",toXYZ_M:_0,fromXYZ_M:E0}),C0=[[.41239079926595934,.357584339383878,.1804807884018343],[.21263900587151027,.715168678767756,.07219231536073371],[.01933081871559182,.11919477979462598,.9505321522496607]],S0=[[3.2409699419045226,-1.537383177570094,-0.4986107602930034],[-0.9692436362808796,1.8759675015077202,.04155505740717559],[.05563007969699366,-0.20397695888897652,1.0569715142428786]],md=new Wt({id:"srgb-linear",name:"Linear sRGB",white:"D65",toXYZ_M:C0,fromXYZ_M:S0,formats:{color:{}}}),hd={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]},gd=Array(3).fill("<percentage> | <number>[0, 255]"),vd=Array(3).fill("<number>[0, 255]"),Aa=new Wt({id:"srgb",name:"sRGB",base:md,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:gd},rgb_number:{name:"rgb",commas:true,coords:vd,noAlpha:true},color:{},rgba:{coords:gd,commas:true,lastAlpha:true},rgba_number:{name:"rgba",commas:true,coords:vd},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=hd.black,r.alpha=0):r.coords=hd[t],r.coords)return r}}}}),bd=new Wt({id:"p3",name:"P3",base:pd,fromBase:Aa.fromBase,toBase:Aa.toBase,formats:{color:{id:"display-p3"}}});if(Er.display_space=Aa,typeof CSS<"u"&&(de=CSS)!==null&&de!==void 0&&de.supports)for(var _s=0,yd=[Jt,fd,bd];_s<yd.length;_s++){var Es=yd[_s],k0=Es.getMinCoords(),T0={space:Es,coords:k0,alpha:1},R0=Mi(T0);if(CSS.supports("color",R0)){Er.display_space=Es;break}}function F0(e){var t,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=r.space,a=n===void 0?Er.display_space:n,i=ee(r,x),o=Mi(e,i);if(typeof CSS>"u"||(t=CSS)!==null&&t!==void 0&&t.supports("color",o)||!Er.display_space)o=new String(o),o.color=e;else {var s=sr(e,a);o=new String(Mi(s,i)),o.color=s;}return o}function wd(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 I0(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 nn(e){return or(e,[ir,"y"])}function xd(e,t){tn(e,[ir,"y"],t);}function L0(e){Object.defineProperty(e.prototype,"luminance",{get:function(){return nn(this)},set:function(r){xd(this,r);}});}var P0=Object.freeze({__proto__:null,getLuminance:nn,setLuminance:xd,register:L0});function M0(e,t){e=lt(e),t=lt(t);var r=Math.max(nn(e),0),n=Math.max(nn(t),0);if(n>r){var a=[n,r];r=a[0],n=a[1];}return (r+.05)/(n+.05)}var O0=.56,N0=.57,q0=.62,B0=.65,Dd=.022,H0=1.414,V0=.1,$0=5e-4,j0=1.14,Ad=.027,z0=1.14;function _d(e){return e>=Dd?e:e+Math.pow(Dd-e,H0)}function Pn(e){var t=e<0?-1:1,r=Math.abs(e);return t*Math.pow(r,2.4)}function G0(e,t){t=lt(t),e=lt(e);var r,n,a,i,o,s;t=sr(t,"srgb");var l=De(t.coords,3);i=l[0],o=l[1],s=l[2];var u=Pn(i)*.2126729+Pn(o)*.7151522+Pn(s)*.072175;e=sr(e,"srgb");var c=De(e.coords,3);i=c[0],o=c[1],s=c[2];var h=Pn(i)*.2126729+Pn(o)*.7151522+Pn(s)*.072175,b=_d(u),A=_d(h),L=A>b;return Math.abs(A-b)<$0?n=0:L?(r=Math.pow(A,O0)-Math.pow(b,N0),n=r*j0):(r=Math.pow(A,B0)-Math.pow(b,q0),n=r*z0),Math.abs(n)<V0?a=0:n>0?a=n-Ad:a=n+Ad,a*100}function U0(e,t){e=lt(e),t=lt(t);var r=Math.max(nn(e),0),n=Math.max(nn(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 W0=5e4;function X0(e,t){e=lt(e),t=lt(t);var r=Math.max(nn(e),0),n=Math.max(nn(t),0);if(n>r){var a=[n,r];r=a[0],n=a[1];}return n===0?W0:(r-n)/n}function Y0(e,t){e=lt(e),t=lt(t);var r=or(e,[Jt,"l"]),n=or(t,[Jt,"l"]);return Math.abs(r-n)}var K0=216/24389,Ed=24/116,qi=24389/27,Cs=vr.D65,Ss=new Be({id:"lab-d65",name:"Lab D65",coords:{l:{refRange:[0,100],name:"L"},a:{refRange:[-125,125]},b:{refRange:[-125,125]}},white:Cs,base:ir,fromBase:function(t){var r=t.map(function(a,i){return a/Cs[i]}),n=r.map(function(a){return a>K0?Math.cbrt(a):(qi*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]>Ed?Math.pow(r[0],3):(116*r[0]-16)/qi,t[0]>8?Math.pow((t[0]+16)/116,3):t[0]/qi,r[2]>Ed?Math.pow(r[2],3):(116*r[2]-16)/qi];return n.map(function(a,i){return a*Cs[i]})},formats:{"lab-d65":{coords:["<number> | <percentage>","<number>","<number>"]}}}),ks=Math.pow(5,.5)*.5+.5;function J0(e,t){e=lt(e),t=lt(t);var r=or(e,[Ss,"l"]),n=or(t,[Ss,"l"]),a=Math.abs(Math.pow(r,ks)-Math.pow(n,ks)),i=Math.pow(a,1/ks)*Math.SQRT2-40;return i<7.5?0:i}var Bi=Object.freeze({__proto__:null,contrastWCAG21:M0,contrastAPCA:G0,contrastMichelson:U0,contrastWeber:X0,contrastLstar:Y0,contrastDeltaPhi:J0});function Z0(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};ba(r)&&(r={algorithm:r});var n=r,a=n.algorithm,i=ee(n,C);if(!a){var o=Object.keys(Bi).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 Bi)if("contrast"+a.toLowerCase()===s.toLowerCase())return Bi[s](e,t,i);throw new TypeError("Unknown contrast algorithm: ".concat(a))}function Cd(e){var t=ya(e,ir),r=De(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 Sd(e){var t=ya(e,ir),r=De(t,3),n=r[0],a=r[1],i=r[2],o=n+a+i;return [n/o,a/o]}function Q0(e){Object.defineProperty(e.prototype,"uv",{get:function(){return Cd(this)}}),Object.defineProperty(e.prototype,"xy",{get:function(){return Sd(this)}});}var ew=Object.freeze({__proto__:null,uv:Cd,xy:Sd,register:Q0});function tw(e,t){return wd(e,t,"lab")}var rw=Math.PI,kd=rw/180;function nw(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=Jt.from(e),l=De(s,3),u=l[0],c=l[1],h=l[2],b=wa.from(Jt,[u,c,h]),A=De(b,3),L=A[1],N=A[2],q=Jt.from(t),$=De(q,3),z=$[0],W=$[1],X=$[2],K=wa.from(Jt,[z,W,X])[1];L<0&&(L=0),K<0&&(K=0);var ne=u-z,se=L-K,pe=c-W,_e=h-X,le=Math.pow(pe,2)+Math.pow(_e,2)-Math.pow(se,2),ge=.511;u>=16&&(ge=.040975*u/(1+.01765*u));var xe=.0638*L/(1+.0131*L)+.638,Ee;Number.isNaN(N)&&(N=0),N>=164&&N<=345?Ee=.56+Math.abs(.2*Math.cos((N+168)*kd)):Ee=.36+Math.abs(.4*Math.cos((N+35)*kd));var Oe=Math.pow(L,4),je=Math.sqrt(Oe/(Oe+1900)),Re=xe*(je*Ee+1-je),He=Math.pow(ne/(a*ge),2);return He+=Math.pow(se/(o*xe),2),He+=le/Math.pow(Re,2),Math.sqrt(He)}var Td=203,Ts=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:ir,fromBase:function(t){return t.map(function(r){return Math.max(r*Td,0)})},toBase:function(t){return t.map(function(r){return Math.max(r/Td,0)})}}),Hi=1.15,Vi=.66,Rd=2610/Math.pow(2,14),aw=Math.pow(2,14)/2610,Fd=3424/Math.pow(2,12),Id=2413/Math.pow(2,7),Ld=2392/Math.pow(2,7),iw=1.7*2523/Math.pow(2,5),Pd=Math.pow(2,5)/(1.7*2523),$i=-0.56,Rs=16295499532821565e-27,ow=[[.41478972,.579999,.014648],[-0.20151,1.120649,.0531008],[-0.0166008,.2648,.6684799]],sw=[[1.9242264357876067,-1.0047923125953657,.037651404030618],[.35031676209499907,.7264811939316552,-0.06538442294808501],[-0.09098281098284752,-0.3127282905230739,1.5227665613052603]],lw=[[.5,.5,0],[3.524,-4.066708,.542708],[.199076,1.096799,-1.295875]],uw=[[1,.1386050432715393,.05804731615611886],[.9999999999999999,-0.1386050432715393,-0.05804731615611886],[.9999999999999998,-0.09601924202631895,-0.8118918960560388]],Md=new Be({id:"jzazbz",name:"Jzazbz",coords:{jz:{refRange:[0,1],name:"Jz"},az:{refRange:[-0.5,.5]},bz:{refRange:[-0.5,.5]}},base:Ts,fromBase:function(t){var r=De(t,3),n=r[0],a=r[1],i=r[2],o=Hi*n-(Hi-1)*i,s=Vi*a-(Vi-1)*n,l=_t(ow,[o,s,i]),u=l.map(function(q){var $=Fd+Id*Math.pow(q/1e4,Rd),z=1+Ld*Math.pow(q/1e4,Rd);return Math.pow($/z,iw)}),c=_t(lw,u),h=De(c,3),b=h[0],A=h[1],L=h[2],N=(1+$i)*b/(1+$i*b)-Rs;return [N,A,L]},toBase:function(t){var r=De(t,3),n=r[0],a=r[1],i=r[2],o=(n+Rs)/(1+$i-$i*(n+Rs)),s=_t(uw,[o,a,i]),l=s.map(function(q){var $=Fd-Math.pow(q,Pd),z=Ld*Math.pow(q,Pd)-Id,W=1e4*Math.pow($/z,aw);return W}),u=_t(sw,l),c=De(u,3),h=c[0],b=c[1],A=c[2],L=(h+(Hi-1)*A)/Hi,N=(b+(Vi-1)*L)/Vi;return [L,N,A]},formats:{color:{}}}),Fs=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:Md,fromBase:function(t){var r=De(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)),Li(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 cw(e,t){var r=Fs.from(e),n=De(r,3),a=n[0],i=n[1],o=n[2],s=Fs.from(t),l=De(s,3),u=l[0],c=l[1],h=l[2],b=a-u,A=i-c;Number.isNaN(o)&&Number.isNaN(h)?(o=0,h=0):Number.isNaN(o)?o=h:Number.isNaN(h)&&(h=o);var L=o-h,N=2*Math.sqrt(i*c)*Math.sin(L/2*(Math.PI/180));return Math.sqrt(Math.pow(b,2)+Math.pow(A,2)+Math.pow(N,2))}var Od=3424/4096,Nd=2413/128,qd=2392/128,Bd=2610/16384,dw=2523/32,fw=16384/2610,Hd=32/2523,pw=[[.3592,.6976,-0.0358],[-0.1922,1.1004,.0755],[.007,.0749,.8434]],mw=[[2048/4096,2048/4096,0],[6610/4096,-13613/4096,7003/4096],[17933/4096,-17390/4096,-543/4096]],hw=[[.9999888965628402,.008605050147287059,.11103437159861648],[1.00001110343716,-0.008605050147287059,-0.11103437159861648],[1.0000320633910054,.56004913547279,-0.3206339100541203]],gw=[[2.0701800566956137,-1.326456876103021,.20661600684785517],[.3649882500326575,.6804673628522352,-0.04542175307585323],[-0.04959554223893211,-0.04942116118675749,1.1879959417328034]],Is=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:Ts,fromBase:function(t){var r=_t(pw,t);return vw(r)},toBase:function(t){var r=bw(t);return _t(gw,r)},formats:{color:{}}});function vw(e){var t=e.map(function(r){var n=Od+Nd*Math.pow(r/1e4,Bd),a=1+qd*Math.pow(r/1e4,Bd);return Math.pow(n/a,dw)});return _t(mw,t)}function bw(e){var t=_t(hw,e),r=t.map(function(n){var a=Math.max(Math.pow(n,Hd)-Od,0),i=Nd-qd*Math.pow(n,Hd);return 1e4*Math.pow(a/i,fw)});return r}function yw(e,t){var r=Is.from(e),n=De(r,3),a=n[0],i=n[1],o=n[2],s=Is.from(t),l=De(s,3),u=l[0],c=l[1],h=l[2];return 720*Math.sqrt(Math.pow(a-u,2)+.25*Math.pow(i-c,2)+Math.pow(o-h,2))}var ww=[[.8190224432164319,.3619062562801221,-0.12887378261216414],[.0329836671980271,.9292868468965546,.03614466816999844],[.048177199566046255,.26423952494422764,.6335478258136937]],xw=[[1.2268798733741557,-0.5578149965554813,.28139105017721583],[-0.04057576262431372,1.1122868293970594,-0.07171106666151701],[-0.07637294974672142,-0.4214933239627914,1.5869240244272418]],Dw=[[.2104542553,.793617785,-0.0040720468],[1.9779984951,-2.428592205,.4505937099],[.0259040371,.7827717662,-0.808675766]],Aw=[[.9999999984505198,.39633779217376786,.2158037580607588],[1.0000000088817609,-0.10556134232365635,-0.06385417477170591],[1.0000000546724108,-0.08948418209496575,-1.2914855378640917]],ji=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:ir,fromBase:function(t){var r=_t(ww,t),n=r.map(function(a){return Math.cbrt(a)});return _t(Dw,n)},toBase:function(t){var r=_t(Aw,t),n=r.map(function(a){return Math.pow(a,3)});return _t(xw,n)},formats:{oklab:{coords:["<number> | <percentage>","<number>","<number>"]}}});function _w(e,t){var r=ji.from(e),n=De(r,3),a=n[0],i=n[1],o=n[2],s=ji.from(t),l=De(s,3),u=l[0],c=l[1],h=l[2],b=a-u,A=i-c,L=o-h;return Math.sqrt(Math.pow(b,2)+Math.pow(A,2)+Math.pow(L,2))}var Ls=Object.freeze({__proto__:null,deltaE76:tw,deltaECMC:nw,deltaE2000:As,deltaEJz:cw,deltaEITP:yw,deltaEOK:_w});function _a(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};ba(r)&&(r={method:r});var n=r,a=n.method,i=a===void 0?Er.deltaE:a,o=ee(n,I);e=lt(e),t=lt(t);for(var s in Ls)if("deltae"+i.toLowerCase()===s.toLowerCase())return Ls[s](e,t,o);throw new TypeError("Unknown deltaE method: ".concat(i))}function Ew(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:.25,r=Be.get("oklch","lch"),n=[r,"l"];return tn(e,n,function(a){return a*(1+t)})}function Cw(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:.25,r=Be.get("oklch","lch"),n=[r,"l"];return tn(e,n,function(a){return a*(1-t)})}var Sw=Object.freeze({__proto__:null,lighten:Ew,darken:Cw});function Vd(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],Qr(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=Ea(e,t,{space:s,outputSpace:l,premultiplied:u});return c(r)}function $d(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n;if(Ps(e)){n=e,r=t;var a=De(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,h=c===void 0?1e3:c,b=ee(i,E);if(!n){var A=[lt(e),lt(t)];e=A[0],t=A[1],n=Ea(e,t,b);}var L=_a(e,t),N=o>0?Math.max(u,Math.ceil(L/o)+1):u,q=[];if(h!==void 0&&(N=Math.min(N,h)),N===1)q=[{p:.5,color:n(.5)}];else {var $=1/(N-1);q=Array.from({length:N},function(pe,_e){var le=_e*$;return {p:le,color:n(le)}});}if(o>0)for(var z=q.reduce(function(pe,_e,le){if(le===0)return 0;var ge=_a(_e.color,q[le-1].color,s);return Math.max(pe,ge)},0);z>o;){z=0;for(var W=1;W<q.length&&q.length<h;W++){var X=q[W-1],K=q[W],ne=(K.p+X.p)/2,se=n(ne);z=Math.max(z,_a(se,X.color),_a(se,K.color)),q.splice(W,0,{p:ne,color:n(ne)}),W++;}}return q=q.map(function(pe){return pe.color}),q}function Ea(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(Ps(e)){var n=e,a=t;return Ea.apply(void 0,ke(n.rangeArgs.colors).concat([Fe({},n.rangeArgs.options,a)]))}var i=r.space,o=r.outputSpace,s=r.progression,l=r.premultiplied;e=lt(e),t=lt(t),e=Da(e),t=Da(t);var u={colors:[e,t],options:r};if(i?i=Be.get(i):i=Be.registry[Er.interpolationSpace]||e.space,o=o?Be.get(o):i,e=sr(e,i),t=sr(t,i),e=rn(e),t=rn(t),i.coords.h&&i.coords.h.type==="angle"){var c=r.hue=r.hue||"shorter",h=[i,"h"],b=[or(e,h),or(t,h)],A=b[0],L=b[1],N=w0(c,[A,L]),q=De(N,2);A=q[0],L=q[1],tn(e,h,A),tn(t,h,L);}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 z=e.coords.map(function(K,ne){var se=t.coords[ne];return Ri(K,se,$)}),W=Ri(e.alpha,t.alpha,$),X={space:i,coords:z,alpha:W};return l&&(X.coords=X.coords.map(function(K){return K/W})),o!==i&&(X=sr(X,o)),X},{rangeArgs:u})}function Ps(e){return Qr(e)==="function"&&!!e.rangeArgs}Er.interpolationSpace="lab";function kw(e){e.defineFunction("mix",Vd,{returns:"color"}),e.defineFunction("range",Ea,{returns:"function<color>"}),e.defineFunction("steps",$d,{returns:"array<color>"});}var Tw=Object.freeze({__proto__:null,mix:Vd,steps:$d,range:Ea,isRange:Ps,register:kw}),jd=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:Aa,fromBase:function(t){var r=Math.max.apply(Math,ke(t)),n=Math.min.apply(Math,ke(t)),a=De(t,3),i=a[0],o=a[1],s=a[2],l=NaN,u=0,c=(n+r)/2,h=r-n;if(h!==0){switch(u=c===0||c===1?0:(r-c)/Math.min(c,1-c),r){case i:l=(o-s)/h+(o<s?6:0);break;case o:l=(s-i)/h+2;break;case s:l=(i-o)/h+4;}l=l*60;}return [l,u*100,c*100]},toBase:function(t){var r=De(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}}}),zd=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:jd,fromBase:function(t){var r=De(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=De(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}}}),Rw=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:zd,fromBase:function(t){var r=De(t,3),n=r[0],a=r[1],i=r[2];return [n,i*(100-a)/100,100-i]},toBase:function(t){var r=De(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>"]}}}),Fw=[[.5766690429101305,.1855582379065463,.1882286462349947],[.29734497525053605,.6273635662554661,.07529145849399788],[.02703136138641234,.07068885253582723,.9913375368376388]],Iw=[[2.0415879038107465,-0.5650069742788596,-0.34473135077832956],[-0.9692436362808795,1.8759675015077202,.04155505740717557],[.013444280632031142,-0.11836239223101838,1.0151749943912054]],Gd=new Wt({id:"a98rgb-linear",name:"Linear Adobe\xAE 98 RGB compatible",white:"D65",toXYZ_M:Fw,fromXYZ_M:Iw}),Lw=new Wt({id:"a98rgb",name:"Adobe\xAE 98 RGB compatible",base:Gd,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"}}}),Pw=[[.7977604896723027,.13518583717574031,.0313493495815248],[.2880711282292934,.7118432178101014,8565396060525902e-20],[0,0,.8251046025104601]],Mw=[[1.3457989731028281,-0.25558010007997534,-0.05110628506753401],[-0.5446224939028347,1.5082327413132781,.02053603239147973],[0,0,1.2119675456389454]],Ud=new Wt({id:"prophoto-linear",name:"Linear ProPhoto",white:"D50",base:xs,toXYZ_M:Pw,fromXYZ_M:Mw}),Ow=1/512,Nw=16/512,qw=new Wt({id:"prophoto",name:"ProPhoto",base:Ud,toBase:function(t){return t.map(function(r){return r<Nw?r/16:Math.pow(r,1.8)})},fromBase:function(t){return t.map(function(r){return r>=Ow?Math.pow(r,1/1.8):16*r})},formats:{color:{id:"prophoto-rgb"}}}),Bw=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:ji,fromBase:function(t){var r=De(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)),Li(o)]},toBase:function(t){var r=De(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>"]}}}),Wd=203,Xd=2610/Math.pow(2,14),Hw=Math.pow(2,14)/2610,Vw=2523/Math.pow(2,5),Yd=Math.pow(2,5)/2523,Kd=3424/Math.pow(2,12),Jd=2413/Math.pow(2,7),Zd=2392/Math.pow(2,7),$w=new Wt({id:"rec2100pq",name:"REC.2100-PQ",base:Oi,toBase:function(t){return t.map(function(r){var n=Math.pow(Math.max(Math.pow(r,Yd)-Kd,0)/(Jd-Zd*Math.pow(r,Yd)),Hw);return n*1e4/Wd})},fromBase:function(t){return t.map(function(r){var n=Math.max(r*Wd/1e4,0),a=Kd+Jd*Math.pow(n,Xd),i=1+Zd*Math.pow(n,Xd);return Math.pow(a/i,Vw)})},formats:{color:{id:"rec2100-pq"}}}),Qd=.17883277,ef=.28466892,tf=.55991073,Ms=3.7743,jw=new Wt({id:"rec2100hlg",cssid:"rec2100-hlg",name:"REC.2100-HLG",referred:"scene",base:Oi,toBase:function(t){return t.map(function(r){return r<=.5?Math.pow(r,2)/3*Ms:Math.exp((r-tf)/Qd+ef)/12*Ms})},fromBase:function(t){return t.map(function(r){return r/=Ms,r<=1/12?Math.sqrt(3*r):Qd*Math.log(12*r-ef)+tf})},formats:{color:{id:"rec2100-hlg"}}}),rf={};en.add("chromatic-adaptation-start",function(e){e.options.method&&(e.M=nf(e.W1,e.W2,e.options.method));}),en.add("chromatic-adaptation-end",function(e){e.M||(e.M=nf(e.W1,e.W2,e.options.method));});function zi(e){var t=e.id;e.toCone_M;e.fromCone_M;rf[t]=arguments[0];}function nf(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"Bradford",n=rf[r],a=_t(n.toCone_M,e),i=De(a,3),o=i[0],s=i[1],l=i[2],u=_t(n.toCone_M,t),c=De(u,3),h=c[0],b=c[1],A=c[2],L=[[h/o,0,0],[0,b/s,0],[0,0,A/l]],N=_t(L,n.toCone_M),q=_t(n.fromCone_M,N);return q}zi({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]]}),zi({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]]}),zi({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]]}),zi({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(vr,{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]}),vr.ACES=[.32168/.33767,1,(1-.32168-.33767)/.33767];var zw=[[.6624541811085053,.13400420645643313,.1561876870049078],[.27222871678091454,.6740817658111484,.05368951740793705],[-0.005574649490394108,.004060733528982826,1.0103391003129971]],Gw=[[1.6410233796943257,-0.32480329418479,-0.23642469523761225],[-0.6636628587229829,1.6153315916573379,.016756347685530137],[.011721894328375376,-0.008284441996237409,.9883948585390215]],af=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:vr.ACES,toXYZ_M:zw,fromXYZ_M:Gw,formats:{color:{}}}),Gi=Math.pow(2,-16),Os=-0.35828683,Ui=(Math.log2(65504)+9.72)/17.52,Uw=new Wt({id:"acescc",name:"ACEScc",coords:{r:{range:[Os,Ui],name:"Red"},g:{range:[Os,Ui],name:"Green"},b:{range:[Os,Ui],name:"Blue"}},referred:"scene",base:af,toBase:function(t){var r=-0.3013698630136986;return t.map(function(n){return n<=r?(Math.pow(2,n*17.52-9.72)-Gi)*2:n<Ui?Math.pow(2,n*17.52-9.72):65504})},fromBase:function(t){return t.map(function(r){return r<=0?(Math.log2(Gi)+9.72)/17.52:r<Gi?(Math.log2(Gi+r*.5)+9.72)/17.52:(Math.log2(r)+9.72)/17.52})},formats:{color:{}}}),of=Object.freeze({__proto__:null,XYZ_D65:ir,XYZ_D50:xs,XYZ_ABS_D65:Ts,Lab_D65:Ss,Lab:Jt,LCH:wa,sRGB_Linear:md,sRGB:Aa,HSL:jd,HWB:Rw,HSV:zd,P3_Linear:pd,P3:bd,A98RGB_Linear:Gd,A98RGB:Lw,ProPhoto_Linear:Ud,ProPhoto:qw,REC_2020_Linear:Oi,REC_2020:fd,OKLab:ji,OKLCH:Bw,Jzazbz:Md,JzCzHz:Fs,ICTCP:Is,REC_2100_PQ:$w,REC_2100_HLG:jw,ACEScg:af,ACEScc:Uw}),dt=(ve=new WeakMap,(function(){function e(){var t=this;nr(this,e),Ot(this,ve,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]),Rt(ve,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(A){Object.defineProperty(t,A,{get:function(){return t.get(A)},set:function(N){return t.set(A,N)}});};for(var h in zt(ve,this).coords)c(h);}return Gt(e,[{key:"space",get:function(){return zt(ve,this)}},{key:"spaceId",get:function(){return zt(ve,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=F0.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 J(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 h=c;c=function(){var A=h.apply(void 0,arguments);return dt.get(A)},Object.assign(c,h);}else s==="array<color>"&&(c=c.map(function(b){return dt.get(b)}));return c};r in dt||(dt[r]=l),o&&(dt.prototype[r]=function(){for(var u=arguments.length,c=new Array(u),h=0;h<u;h++)c[h]=arguments[h];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:or,getAll:ya,set:tn,setAll:sd,to:sr,equals:I0,inGamut:xa,toGamut:rn,distance:wd,toString:Mi}),Object.assign(dt,{util:h0,hooks:en,WHITES:vr,Space:Be,spaces:Be.registry,parse:od,defaults:Er});for(var Ns=0,sf=Object.keys(of);Ns<sf.length;Ns++){var Ww=sf[Ns];Be.register(of[Ww]);}for(var lf in Be.registry)qs(lf,Be.registry[lf]);en.add("colorspace-init-end",function(e){var t;qs(e.id,e),(t=e.aliases)===null||t===void 0||t.forEach(function(r){qs(r,e);});});function qs(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]),h=c.index;if(h>=0)return s[h]}return Reflect.get(s,l,u)},set:function(s,l,u,c){if(l&&fe(l)!=="symbol"&&!(l in s)||l>=0){var h=Be.resolveCoord([t,l]),b=h.index;if(b>=0)return s[b]=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(Ls),dt.extend({deltaE:_a}),dt.extend(Sw),dt.extend({contrast:Z0}),dt.extend(ew),dt.extend(P0),dt.extend(Tw),dt.extend(Bi);var uf=Ar(Ic());Zr.default.templateSettings.strip=false,p._memoizedFns=[];function Xw(e){var t=(0, ed.default)(e);return p._memoizedFns.push(t),t}var mt=Xw,Yw=mt(function(e){return e!=null&&e.createElement?e.createElement("A").localName==="A":false}),Ca=Yw;function Bs(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!t)return "";var n=t.getRootNode&&t.getRootNode()||m;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 Kw=["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"],Jw=31,Zw=/([\\"])/g,Qw=/(\r\n|\r|\n)/g;function Hs(e){return e.replace(Zw,"\\$1").replace(Qw,"\\a ")}function cf(e,t){var r=t.name,n;if(r.indexOf("href")!==-1||r.indexOf("src")!==-1){var a=Jc(e.getAttribute(r));a?n=xt(t.name)+'$="'+Hs(a)+'"':n=xt(t.name)+'="'+Hs(e.getAttribute(r))+'"';}else n=xt(r)+'="'+Hs(t.value)+'"';return n}function Vs(e,t){return e.count<t.count?-1:e.count===t.count?0:1}function df(e){return !Kw.includes(e.name)&&e.name.indexOf(":")===-1&&(!e.value||e.value.length<Jw)}function Wi(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=xt(u);t.classes[c]?t.classes[c]++:t.classes[c]=1;}),s.hasAttributes()&&Array.from(va(s)).filter(df).forEach(function(u){var c=cf(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 ex(e,t){var r=[],n=t.classes,a=t.tags;return e.classList&&Array.from(e.classList).forEach(function(i){var o=xt(i);n[o]<a[e.nodeName]&&r.push({name:o,count:n[o],species:"class"});}),r.sort(Vs)}function tx(e,t){var r=e.parentNode&&Array.from(e.parentNode.children||"")||[],n=r.find(function(i){return i!==e&&In(i,t)});if(n){var a=1+r.indexOf(e);return ":nth-child("+a+")"}else return ""}function rx(e){if(e.getAttribute("id")){var t=e.getRootNode&&e.getRootNode()||m,r="#"+xt(e.getAttribute("id")||"");if(!r.match(/player_uid_/)&&t.querySelectorAll(r).length===1)return r}}function ff(e){var t=Ca(m);return xt(t?e.localName:e.nodeName.toLowerCase())}function nx(e,t){var r=[],n=t.attributes,a=t.tags;return e.hasAttributes()&&Array.from(va(e)).filter(df).forEach(function(i){var o=cf(e,i);o&&n[o]<a[e.nodeName]&&r.push({name:o,count:n[o],species:"attribute"});}),r.sort(Vs)}function ax(e,t){var r="",n,a=ex(e,t),i=nx(e,t);return a.length&&a[0].count===1?n=[a[0]]:i.length&&i[0].count===1?(n=[i[0]],r=ff(e)):(n=a.concat(i),n.sort(Vs),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=ff(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 ix(e,t,r){if(!p._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=rx(e);s||(s=ax(e,p._selectorData),s+=tx(e,s)),i?i=s+" > "+i:i=s,!o||o.length>We.selectorSimilarFilterLimit?o=sx(r,i):o=o.filter(function(l){return In(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 ox(e,t){return Bs(ix,e,t)}var $s=mt(ox),sx=mt(function(e,t){return Array.from(e.querySelectorAll(t))});function pf(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?pf(r)+" > "+t+a:t+a}function Xi(e,t){return Bs(pf,e,t)}function mf(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=mf(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&&xt(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 lx(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 ux(e){var t=mf(e);return lx(t)}var hf=ux,Sa={},cx={set:function(t,r){dx(t),Sa[t]=r;},get:function(t,r){if(fx(r),t in Sa)return Sa[t];if(typeof r=="function"){var n=r();return nt(n!==void 0,"Cache creator function should not return undefined"),this.set(t,n),Sa[t]}},clear:function(){Sa={};}};function dx(e){nt(typeof e=="string","key must be a string, "+fe(e)+" given"),nt(e!=="","key must not be empty");}function fx(e){nt(typeof e=="function"||typeof e>"u","creator must be a function or undefined, "+fe(e)+" given");}var Ue=cx;function px(e,t){var r=t||e;return Ue.get("nodeMap")?Ue.get("nodeMap").get(r):null}var Ye=px;function gf(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 js(s,n)}var l=mx(e);return l.length>n?hx(e,{maxLength:n,attrLimit:i}):l}function mx(e){var t=e.outerHTML;return !t&&typeof f.XMLSerializer=="function"&&(t=new f.XMLSerializer().serializeToString(e)),t||""}function hx(e,t){var r=t.maxLength,n=t.attrLimit,a=Ca(e.ownerDocument||m)?e.nodeName:e.nodeName.toLowerCase(),i=Array.from(va(e)).map(function(L){var N=L.name,q=L.value;return {name:N,value:q}}),o=i.reduce(function(L,N){var q=N.name,$=N.value;return L+q.length+$.length+4},0);2+a.length+o>r&&i.forEach(function(L){L.name=js(L.name,n),L.value=js(L.value,n);});var s="<".concat(a),l=">",u=" ...>",c=it(i),h;try{for(c.s();!(h=c.n()).done;){var b=h.value,A=" ".concat(b.name,'="').concat(b.value,'"');if(s.length+A.length>r-u.length){l=u;continue}s+=A;}}catch(L){c.e(L);}finally{c.f();}return s+l}function js(e,t){return e.length<=t?e:e.substring(0,t)+"..."}var vf="DqElm.RunOptions",xn=mt(function(t,r,n){var a,i;if(r??(r=null),n??(n={}),!r){var o;r=(o=Ue.get(vf))!==null&&o!==void 0?o:{};}if(this.spec=n,t instanceof Ft?(this._virtualNode=t,this._element=t.actualNode):(this._element=t,this._virtualNode=Ye(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,!p._audit.noHtml){var s;this.source=(s=this.spec.source)!==null&&s!==void 0?s:gf(this._element);}return this});xn.prototype={get selector(){return this.spec.selector||[$s(this.element,this._options)]},get ancestry(){return this.spec.ancestry||[Xi(this.element)]},get xpath(){return this.spec.xpath||[hf(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}},xn.fromFrame=function(t,r,n){var a=xn.mergeSpecs(t,n);return new xn(n.element,r,a)},xn.mergeSpecs=function(t,r){return Fe({},t,{selector:[].concat(ke(r.selector),ke(t.selector)),ancestry:[].concat(ke(r.ancestry),ke(t.ancestry)),xpath:[].concat(ke(r.xpath),ke(t.xpath)),nodeIndexes:[].concat(ke(r.nodeIndexes),ke(t.nodeIndexes)),fromFrame:true})},xn.setRunOptions=function(t){var r=t.elementRef,n=t.absolutePaths;Ue.set(vf,{elementRef:r,absolutePaths:n});};var lr=xn;function gx(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){f.Node&&(i instanceof f.Node||i instanceof Ft?i=[i]:i=Kc(i),e.relatedNodes=[],i.forEach(function(o){if(o instanceof Ft&&(o=o.actualNode),o instanceof f.Node){var s=new lr(o);e.relatedNodes.push(s);}}));}}}var zs=gx;function Vr(e){return Gs(e,new Map)}function Gs(e,t){var r,n;if(e===null||fe(e)!=="object"||(r=f)!==null&&r!==void 0&&r.Node&&e instanceof f.Node||(n=f)!==null&&n!==void 0&&n.HTMLCollection&&e instanceof f.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(Gs(s,t));}),a}var i={};t.set(e,i);for(var o in e)i[o]=Gs(e[o],t);return i}var ka=new Qc.CssSelectorParser;ka.registerSelectorPseudos("not"),ka.registerSelectorPseudos("is"),ka.registerNestingOperators(">"),ka.registerAttrEqualityMods("^","$","*","~");var bf=ka;function Us(e,t){var r=Yi(t);return r.some(function(n){return Mn(e,n)})}function vx(e,t){return e.props.nodeType===1&&(t.tag==="*"||e.props.nodeName===t.tag)}function bx(e,t){return !t.classes||t.classes.every(function(r){return e.hasClass(r.value)})}function yx(e,t){return !t.attributes||t.attributes.every(function(r){var n=e.attr(r.key);return n!==null&&r.test(n)})}function wx(e,t){return !t.id||e.props.id===t.id}function xx(e,t){return !!(!t.pseudos||t.pseudos.every(function(r){if(r.name==="not")return !r.expressions.some(function(n){return Mn(e,n)});if(r.name==="is")return r.expressions.some(function(n){return Mn(e,n)});throw new Error("the pseudo selector "+r.name+" has not yet been implemented")}))}function yf(e,t){return vx(e,t)&&bx(e,t)&&yx(e,t)&&wx(e,t)&&xx(e,t)}var Ta=(function(){var e=/(?=[\-\[\]{}()*+?.\\\^$|,#\s])/g,t="\\";return function(r){return r.replace(e,t)}})(),Ws=/\\/g;function Dx(e){if(e)return e.map(function(t){var r=t.name.replace(Ws,""),n=(t.value||"").replace(Ws,""),a,i;switch(t.operator){case "^=":i=new RegExp("^"+Ta(n));break;case "$=":i=new RegExp(Ta(n)+"$");break;case "~=":i=new RegExp("(^|\\s)"+Ta(n)+"(\\s|$)");break;case "|=":i=new RegExp("^"+Ta(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 Ax(e){if(e)return e.map(function(t){return t=t.replace(Ws,""),{value:t,regexp:new RegExp("(^|\\s)"+Ta(t)+"(\\s|$)")}})}function _x(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=wf(r)),{name:t.name,expressions:r,value:t.value}})}function wf(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:Dx(n.attrs),classes:Ax(n.classNames),pseudos:_x(n.pseudos)}),n=n.rule;return r})}function Yi(e){var t=bf.parse(e);return t=t.selectors?t.selectors:[t],wf(t)}function xf(e,t,r,n){if(!e)return false;for(var a=Array.isArray(t),i=a?t[r]:t,o=yf(e,i);!o&&n&&e.parent;)e=e.parent,o=yf(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&&xf(e.parent,t,r-1,i.combinator===" ");}return o}function Mn(e,t,r){return xf(e,t,t.length-1,r)}function Ex(e,t){for(;e;){if(Us(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 Zt=Ex;function Ki(){}function Xs(e){if(typeof e!="function")throw new TypeError("Queue methods require functions as arguments")}function Cx(){var e=[],t=0,r=0,n=Ki,a=false,i,o=function(A){i=A,setTimeout(function(){i!=null&&wn("Uncaught error (of queue)",i);},1);},s=o;function l(b){return function(A){e[b]=A,r-=1,!r&&n!==Ki&&(a=true,n(e));}}function u(b){return n=Ki,s(b),e}function c(){for(var b=e.length;t<b;t++){var A=e[t];try{A.call(null,l(t),u);}catch(L){u(L);}}}var h={defer:function(A){if(fe(A)==="object"&&A.then&&A.catch){var L=A;A=function(q,$){L.then(q).catch($);};}if(Xs(A),i===void 0){if(a)throw new Error("Queue already completed");return e.push(A),++r,c(),h}},then:function(A){if(Xs(A),n!==Ki)throw new Error("queue `then` already set");return i||(n=A,r||(a=true,n(e))),h},catch:function(A){if(Xs(A),s!==o)throw new Error("queue `catch` already set");return i?(A(i),i=null):s=A,h},abort:u};return h}var Cr=Cx,On,Nn,Ys=f.crypto||f.msCrypto;if(!Nn&&Ys&&Ys.getRandomValues){var Df=new Uint8Array(16);Nn=function(){return Ys.getRandomValues(Df),Df};}if(!Nn){var Af=new Array(16);Nn=function(){for(var t=0,r;t<16;t++)(t&3)===0&&(r=Math.random()*4294967296),Af[t]=r>>>((t&3)<<3)&255;return Af};}for(var _f=typeof f.Buffer=="function"?f.Buffer:Array,Ks=[],Ef={},qn=0;qn<256;qn++)Ks[qn]=(qn+256).toString(16).substr(1),Ef[Ks[qn]]=qn;function Sx(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++]=Ef[i]);});a<16;)t[n+a++]=0;return t}function Js(e,t){var r=t||0,n=Ks;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 an=Nn(),kx=[an[0]|1,an[1],an[2],an[3],an[4],an[5]],Cf=(an[6]<<8|an[7])&16383,Zs=0,Qs=0;function Sf(e,t,r){var n=t&&r||0,a=t||[];e=e||{};var i=e.clockseq!=null?e.clockseq:Cf,o=e.msecs!=null?e.msecs:new Date().getTime(),s=e.nsecs!=null?e.nsecs:Qs+1,l=o-Zs+(s-Qs)/1e4;if(l<0&&e.clockseq==null&&(i=i+1&16383),(l<0||o>Zs)&&e.nsecs==null&&(s=0),s>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");Zs=o,Qs=s,Cf=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 h=e.node||kx,b=0;b<6;b++)a[n+b]=h[b];return t||Js(a)}function Dn(e,t,r){var n=t&&r||0;typeof e=="string"&&(t=e=="binary"?new _f(16):null,e=null),e=e||{};var a=e.random||(e.rng||Nn)();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||Js(a)}On=Dn,On.v1=Sf,On.v4=Dn,On.parse=Sx,On.unparse=Js,On.BufferClass=_f,p._uuid=Sf();var Tx=Dn,Rx=Object.freeze(["EvalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"]);function Fx(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:kf()};return n instanceof Error?o.error={name:n.name,message:n.message,stack:n.stack}:o.payload=n,JSON.stringify(o)}function Ix(e){var t;try{t=JSON.parse(e);}catch{return}if(Lx(t)){var r=t,n=r.topic,a=r.channelId,i=r.messageId,o=r.keepalive,s=fe(t.error)==="object"?Px(t.error):t.payload;return {topic:n,message:s,messageId:i,channelId:a,keepalive:!!o}}}function Lx(e){return e!==null&&fe(e)==="object"&&typeof e.channelId=="string"&&e.source===kf()}function Px(e){var t=e.message||"Unknown error occurred",r=Rx.includes(e.name)?e.name:"Error",n=f[r]||Error;return e.stack&&(t+=`
|
|
372
|
-
`+e.stack.replace(e.message,"")),new n(t)}function kf(){var e="axeAPI",t="";return typeof p<"u"&&p._audit&&p._audit.application&&(e=p._audit.application),typeof p<"u"&&(t=p.version),e+"."+t}function el(e){Rf(e),nt(f.parent===e,"Source of the response must be the parent window.");}function Tf(e){Rf(e),nt(e.parent===f,"Respondable target must be a frame in the current window");}function Rf(e){nt(f!==e,"Messages can not be sent to the same window.");}var Ra={};function Mx(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:true;nt(!Object.prototype.hasOwnProperty.call(Ra,e),"A replyHandler already exists for this message channel."),Ra[e]={replyHandler:t,sendToParent:r};}function Ox(e){return Object.prototype.hasOwnProperty.call(Ra,e)?Ra[e]:void 0}function Nx(e){delete Ra[e];}var Ji=[];function tl(){var e="".concat(Dn(),":").concat(Dn());return Ji.includes(e)?tl():(Ji.push(e),e)}function qx(e){return Ji.includes(e)?false:(Ji.push(e),true)}function rl(e,t,r,n){if(r?el(e):Tf(e),t.message instanceof Error&&!r)return p.log(t.message),false;var a=Fx(Fe({messageId:tl()},t)),i=p._audit.allowedOrigins;return !i||!i.length?false:(typeof n=="function"&&Mx(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 Bx(e,t,r){if(!e.parent!==f)return p.log(t);try{rl(e,{topic:null,channelId:r,message:t,messageId:tl(),keepalive:!0},!0);}catch(n){return p.log(n)}}function Ff(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};rl(e,s,r,o);}}function Hx(e){var t=p._audit.allowedOrigins;return t&&t.includes("*")||t.includes(e)}function Vx(e,t){var r=e.origin,n=e.data,a=e.source;try{var i=Ix(n)||{},o=i.channelId,s=i.message,l=i.messageId;if(!Hx(r)||!qx(l))return;if(s instanceof Error&&a.parent!==f)return p.log(s),!1;try{if(i.topic){var u=Ff(a,o);el(a),t(i,u);}else $x(a,i);}catch(c){Bx(a,c,o);}}catch(c){return p.log(c),false}}function $x(e,t){var r=t.channelId,n=t.message,a=t.keepalive,i=Ox(r)||{},o=i.replyHandler,s=i.sendToParent;if(o){s?el(e):Tf(e);var l=Ff(e,r,s);!a&&r&&Nx(r);try{o(n,a,l);}catch(u){p.log(u),l(u,a);}}}var jx={open:function(t){if(typeof f.addEventListener=="function"){var r=function(a){Vx(a,t);};return f.addEventListener("message",r,false),function(){f.removeEventListener("message",r,false);}}},post:function(t,r,n){return typeof f.addEventListener!="function"?false:rl(t,r,false,n)}};function If(e){e.updateMessenger(jx);}var Zi,Lf,Qi={};function yr(e,t,r,n,a){var i={topic:t,message:r,channelId:"".concat(Dn(),":").concat(Dn()),keepalive:n};return Lf(e,i,a)}function zx(e,t){var r=e.topic,n=e.message,a=e.keepalive,i=Object.prototype.hasOwnProperty.call(Qi,r)?Qi[r]:void 0;if(i)try{i(n,a,t);}catch(o){p.log(o),t(o,a);}}yr.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"),Zi&&Zi();var a=r(zx);a?(nt(typeof a=="function","open callback must return a cleanup function"),Zi=a):Zi=null,Lf=n;},yr.subscribe=function(t,r){nt(typeof r=="function","Subscriber callback must be a function"),nt(!Object.prototype.hasOwnProperty.call(Qi,t),"Topic ".concat(t," is already registered to.")),Qi[t]=r;},yr.isInFrame=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:f;return !!t.frameElement},If(yr);function Pf(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){wn("Frame does not have a content window",e),r(null);return}if(s===0){Mf(e,t,r,n);return}var l=setTimeout(function(){l=setTimeout(function(){t.debug?n(Of("No response from frame",e)):r(null);},0);},s);yr(o,"axe.ping",null,void 0,function(){clearTimeout(l),Mf(e,t,r,n);});}function Mf(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(Of("Axe in frame timed out",e));},o);yr(s,"axe.start",t,void 0,function(u){clearTimeout(l),u instanceof Error?n(u):r(u);});}function Of(e,t){var r;return p._tree&&(r=$s(t)),new Error(e+": "+(r||t))}var Fa=null,Ia={update:function(t){nt(fe(t)==="object","serializer must be an object"),Fa=t;},toSpec:function(t){return Ia.dqElmToSpec(new lr(t))},dqElmToSpec:function(t,r){var n;return t instanceof lr?(r&&(t=Gx(t,r)),typeof((n=Fa)===null||n===void 0?void 0:n.toSpec)=="function"?Fa.toSpec(t):t.toJSON()):t},mergeSpecs:function(t,r){var n;return typeof((n=Fa)===null||n===void 0?void 0:n.mergeSpecs)=="function"?Fa.mergeSpecs(t,r):lr.mergeSpecs(t,r)},mapRawResults:function(t){return t.map(function(r){return Fe({},r,{nodes:Ia.mapRawNodeResults(r.nodes)})})},mapRawNodeResults:function(t){return t?.map(function(r){var n=r.node,a=ee(r,y);a.node=Ia.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=ee(l,_);return c.relatedNodes=u.map(Ia.dqElmToSpec),c});}return a})}},ur=Ia;function Gx(e,t){var r=e.fromFrame,n=t.ancestry,a=t.xpath,i=t.selectors!==false||r;return e=new lr(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 Ux(e){var t=[];return t.concat(e.any||[]).concat(e.all||[]).concat(e.none||[])}var eo=Ux;function Wx(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 La=Wx;function Xx(e,t,r){e.forEach(function(n){n.node=ur.mergeSpecs(n.node,r);var a=eo(n);a.forEach(function(i){i.relatedNodes=i.relatedNodes.map(function(o){return ur.mergeSpecs(o,r)});});});}function Yx(e,t){for(var r=t[0].node,n,a=0;a<e.length;a++){n=e[a].node;var i=Nf(n.nodeIndexes,r.nodeIndexes);if(i>0||i===0&&r.selector.length<n.selector.length){e.splice.apply(e,[a,0].concat(ke(t)));return}}e.push.apply(e,ke(t));}function Kx(e){return !e||!e.results?null:Array.isArray(e.results)?e.results.length?e.results:null:[e.results]}function Jx(e,t){var r=[];return e.forEach(function(n){var a=Kx(n);if(!(!a||!a.length)){var i=Zx(n);a.forEach(function(o){o.nodes&&i&&Xx(o.nodes,t,i);var s=La(r,"id",o.id);if(!s)r.push(o);else if(o.nodes.length&&Yx(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 Nf(a.node.nodeIndexes,i.node.nodeIndexes)});}),r}function Nf(){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 to=Jx;function Zx(e){return e.frameElement?ur.toSpec(e.frameElement):e.frameSpec?e.frameSpec:null}function qf(e,t,r,n,a,i){t=Fe({},t,{elementRef:false});var o=Cr(),s=e.frames;s.forEach(function(l){var u=l.node,c=ee(l,R);o.defer(function(h,b){var A={options:t,command:r,parameter:n,context:c};function L(N){return h(N?{results:N,frameElement:u}:null)}Pf(u,A,L,b);});}),o.then(function(l){a(to(l,t));}).catch(i);}function $r(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 Bf(){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]=Bf(e[s],a[s]);}}),e}var nl=Bf;function Qx(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 al=Qx,eD=["article","aside","blockquote","body","div","footer","h1","h2","h3","h4","h5","h6","header","main","nav","p","section","span"];function tD(e){if(e.shadowRoot){var t=e.nodeName.toLowerCase();if(eD.includes(t)||/^[a-z][a-z0-9_.-]*-[a-z0-9_.-]*$/.test(t))return true}return false}var ro=tD,il={};pr(il,{createGrid:function(){return Na},findElmsInContext:function(){return Hf},findNearbyElms:function(){return co},findUp:function(){return Hn},findUpVirtual:function(){return Bn},focusDisabled:function(){return hl},getComposedParent:function(){return It},getElementByReference:function(){return vl},getElementCoordinates:function(){return ll},getElementStack:function(){return xp},getModalDialog:function(){return gp},getNodeGrid:function(){return uo},getOverflowHiddenAncestors:function(){return Ma},getRootNode:function(){return Nt},getScrollOffset:function(){return tp},getTabbableElements:function(){return Dp},getTargetRects:function(){return po},getTargetSize:function(){return Ap},getTextElementStack:function(){return Ml},getViewportSize:function(){return no},getVisibleChildTextRects:function(){return Pl},hasContent:function(){return wo},hasContentVirtual:function(){return Ga},hasLangText:function(){return Nl},idrefs:function(){return Sr},insertedIntoFocusOrder:function(){return fm},isCurrentPageLink:function(){return gl},isFixedPosition:function(){return ao},isFocusable:function(){return Et},isHTML5:function(){return hm},isHiddenForEveryone:function(){return on},isHiddenWithCSS:function(){return k_},isInTabOrder:function(){return cr},isInTextBlock:function(){return ql},isInert:function(){return fo},isModalOpen:function(){return Ua},isMultiline:function(){return vm},isNativelyFocusable:function(){return wl},isNode:function(){return q_},isOffscreen:function(){return io},isOpaque:function(){return X_},isSkipLink:function(){return Vl},isVisible:function(){return e2},isVisibleOnScreen:function(){return Qt},isVisibleToScreenReaders:function(){return bt},isVisualContent:function(){return Ol},reduceToElementsBelowFloating:function(){return bm},shadowElementsFromPoint:function(){return n2},urlPropsFromAttribute:function(){return u2},visuallyContains:function(){return ym},visuallyOverlaps:function(){return $l},visuallySort:function(){return bl}});function rD(e){var t=e.getRootNode&&e.getRootNode()||m;return t===e&&(t=m),t}var Pa=rD,Nt=Pa;function nD(e){var t=e.context,r=e.value,n=e.attr,a=e.elm,i=a===void 0?"":a,o,s=xt(r);return t.nodeType===9||t.nodeType===11?o=t:o=Nt(t),Array.from(o.querySelectorAll(i+"["+n+"="+s+"]"))}var Hf=nD;function aD(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&&!In(r,t)&&r!==m.documentElement);return !r||!In(r,t)?null:r}var Bn=aD;function iD(e,t){return Bn(Ye(e),t)}var Hn=iD;function ol(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 Vf=mt(function(t){var r=[];if(!t)return r;var n=t.getComputedStylePropertyValue("overflow");return n==="hidden"&&r.push(t),r.concat(Vf(t.parent))}),Ma=Vf,oD=/rect\s*\(([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px\s*\)/,sD=/(\w+)\((\d+)/;function $f(e){return ["style","script","noscript","template"].includes(e.props.nodeName)}function jf(e){return e.props.nodeName==="area"?false:e.getComputedStylePropertyValue("display")==="none"}function zf(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.isAncestor;return !r&&["hidden","collapse"].includes(e.getComputedStylePropertyValue("visibility"))}function Gf(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.isAncestor;return !!r&&e.getComputedStylePropertyValue("content-visibility")==="hidden"}function Uf(e){return e.attr("aria-hidden")==="true"}function Wf(e){return e.getComputedStylePropertyValue("opacity")==="0"}function Xf(e){var t=Gr(e.actualNode),r=parseInt(e.getComputedStylePropertyValue("height")),n=parseInt(e.getComputedStylePropertyValue("width"));return !!t&&(r===0||n===0)}function Yf(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=Ma(e);if(!a.length)return false;var i=e.boundingClientRect;return a.some(function(o){if(n==="absolute"&&!lD(e,o)&&o.getComputedStylePropertyValue("position")==="static")return false;var s=o.boundingClientRect;return s.width<2||s.height<2?true:!ol(i,s)})}function Kf(e){var t=e.getComputedStylePropertyValue("clip").match(oD),r=e.getComputedStylePropertyValue("clip-path").match(sD);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 sl(e,t){var r=Zt(e,"map");if(!r)return true;var n=r.attr("name");if(!n)return true;var a=Pa(e.actualNode);if(!a||a.nodeType!==9)return true;var i=rr(p._tree,'img[usemap="#'.concat(xt(n),'"]'));return !i||!i.length?true:i.some(function(o){return !t(o)})}function Jf(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 lD(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 uD=[jf,zf,Gf,Jf];function on(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?Zf(e,a):Qf(e,a)}var Zf=mt(function(t,r){return $f(t)?true:t.actualNode?!!(uD.some(function(n){return n(t,{isAncestor:r})})||!t.actualNode.isConnected):false}),Qf=mt(function(t,r){return Zf(t,r)?true:t.parent?Qf(t.parent,true):false});function ep(e){if(e.assignedSlot)return ep(e.assignedSlot);if(e.parentNode){var t=e.parentNode;if(t.nodeType===1)return t;if(t.host)return t.host}return null}var It=ep;function cD(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 tp=cD;function dD(e){var t=tp(m),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 ll=dD;function fD(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 no=fD;function ao(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.skipAncestors,n=rt(e),a=n.vNode;return a?r?rp(a):np(a):false}var rp=mt(function(t){return t.getComputedStylePropertyValue("position")==="fixed"}),np=mt(function(t){return rp(t)?true:t.parent?np(t.parent):false});function pD(e,t){for(e=It(e);e&&e.nodeName.toLowerCase()!=="html";){if(e.scrollTop&&(t+=e.scrollTop,t>=0))return false;e=It(e);}return true}function mD(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=m.documentElement,o=f.getComputedStyle(a),s=f.getComputedStyle(m.body||i).getPropertyValue("direction"),l=ao(a),u=l?a.getBoundingClientRect():ll(a);if(u.top===0&&u.bottom===0||u.left===0&&u.right===0)return false;if(u.bottom<=0&&(pD(a,u.bottom)||o.position==="absolute"))return true;var c=no(f);if(l&&u.top>=c.height)return true;var h=Math.max(i.scrollWidth,c.width);return !!((l||s==="rtl")&&u.left>=h||(l||s==="ltr")&&u.right<=0)}}var io=mD,hD=[Wf,Xf,Yf,Kf,io];function Qt(e){return e=rt(e).vNode,ul(e)}var ul=mt(function(t,r){return t.actualNode&&t.props.nodeName==="area"?!sl(t,ul):on(t,{skipAncestors:true,isAncestor:r})||t.actualNode&&hD.some(function(n){return n(t,{isAncestor:r})})?false:t.parent?ul(t.parent,true):true});function cl(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 f.DOMRect(i,r,n-i,a-r)}function oo(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 ap={};pr(ap,{getBoundingRect:function(){return cl},getIntersectionRect:function(){return so},getOffset:function(){return op},getRectCenter:function(){return Oa},hasVisualOverlap:function(){return dl},isPointInRect:function(){return oo},rectHasMinimumSize:function(){return jr},rectsOverlap:function(){return ol},splitRects:function(){return fl}});function so(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 f.DOMRect(r,a,n-r,i-a)}function Oa(e){var t=e.left,r=e.top,n=e.width,a=e.height;return new f.DOMPoint(t+n/2,r+a/2)}var ip=.05;function jr(e,t){var r=t.width,n=t.height;return r+ip>=e&&n+ip>=e}function op(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:12,n=po(e),a=po(t);return !n.length||!a.length?null:n.reduce(function(i,o){var s=Oa(o),l=it(a),u;try{for(l.s();!(u=l.n()).done;){var c=u.value;if(oo(s,c))return 0;var h=gD(s,c),b=sp(s,h);i=Math.min(i,b);}}catch($){l.e($);}finally{l.f();}var A=Ap(t);if(jr(r*2,A))return i;var L=a.reduce(cl),N=Oa(L),q=sp(s,N)-r;return Math.max(0,Math.min(i,q))},1/0)}function gD(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 sp(e,t){return Math.hypot(e.x-t.x,e.y-t.y)}function dl(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:bl(e,t)>0}function fl(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(vD(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 vD(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(lo(t.top,r,a)&&s&&l.push({top:r,left:n,bottom:t.top,right:i}),lo(t.right,n,i)&&o&&l.push({top:r,left:t.right,bottom:a,right:i}),lo(t.bottom,r,a)&&s&&l.push({top:t.bottom,right:i,bottom:a,left:n}),lo(t.left,n,i)&&o&&l.push({top:r,left:n,bottom:a,right:t.left}),l.length===0){if(yD(e,t))return [];l.push(e);}return l.map(bD)}var lo=function(t,r,n){return t>r&&t<n};function bD(e){return new f.DOMRect(e.left,e.top,e.right-e.left,e.bottom-e.top)}function yD(e,t){return e.top>=t.top&&e.left>=t.left&&e.bottom<=t.bottom&&e.right<=t.right}var lp=0,wD=.1,up=.2,cp=.3,pl=0;function Na(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:m.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 We.gridSize;if(Ue.set("gridCreated",true),!r){var n=Ye(m.documentElement);if(n||(n=new jl(m.documentElement)),pl=0,n._stackingOrder=[pp(lp,pl++,null)],t??(t=new ml),mp(t,n),Gr(n.actualNode)){var a=new ml(n);n._subGrid=a;}}for(var i=m.createTreeWalker(e,f.NodeFilter.SHOW_ELEMENT,null,false),o=r?i.nextNode():i.currentNode;o;){var s=Ye(o);s&&s.parent?r=s.parent:o.assignedSlot?r=Ye(o.assignedSlot):o.parentElement?r=Ye(o.parentElement):o.parentNode&&Ye(o.parentNode)&&(r=Ye(o.parentNode)),s||(s=new p.VirtualNode(o,r)),s._stackingOrder=xD(s,r,pl++);var l=_D(s,r),u=l?l._subGrid:t;if(Gr(s.actualNode)){var c=new ml(s);s._subGrid=c;}var h=s.boundingClientRect;h.width!==0&&h.height!==0&&Qt(o)&&mp(u,s),ro(o)&&Na(o.shadowRoot,u,s),o=i.nextNode();}return We.gridSize}function dp(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 h=e.getComputedStylePropertyValue("-webkit-mask-border")||e.getComputedStylePropertyValue("mask-border")||"none";if(h!=="none"||e.getComputedStylePropertyValue("isolation")==="isolate")return true;var b=e.getComputedStylePropertyValue("will-change");if(b==="transform"||b==="opacity"||e.getComputedStylePropertyValue("-webkit-overflow-scrolling")==="touch")return true;var A=e.getComputedStylePropertyValue("contain");return !!(["layout","paint","strict","content"].includes(A)||n!=="auto"&&fp(t))}function fp(e){if(!e)return false;var t=e.getComputedStylePropertyValue("display");return ["flex","inline-flex","grid","inline-grid"].includes(t)}function xD(e,t,r){var n=t._stackingOrder.slice();if(dp(e,t)){var a=n.findIndex(function(o){var s=o.stackLevel;return [lp,up,cp].includes(s)});a!==-1&&n.splice(a,n.length-a);}var i=DD(e,t);return i!==null&&n.push(pp(i,r,e)),n}function pp(e,t,r){return {stackLevel:e,treeOrder:t,vNode:r}}function DD(e,t){var r=AD(e,t);return ["auto","0"].includes(r)?e.getComputedStylePropertyValue("position")!=="static"?cp:e.getComputedStylePropertyValue("float")!=="none"?up:dp(e,t)?wD:null:parseInt(r)}function AD(e,t){var r=e.getComputedStylePropertyValue("position");return r==="static"&&!fp(t)?"auto":e.getComputedStylePropertyValue("z-index")}function _D(e,t){for(var r=null,n=[e];t;){if(Gr(t.actualNode)){r=t;break}if(t._scrollRegionParent){r=t._scrollRegionParent;break}n.push(t),t=Ye(t.actualNode.parentElement||t.actualNode.parentNode);}return n.forEach(function(a){return a._scrollRegionParent=r}),r}function mp(e,t){var r=Ma(t);t.clientRects.forEach(function(n){var a,i=r.reduce(function(s,l){return s&&so(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 ml=(function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;nr(this,e),this.container=t,this.cells=[];}return Gt(e,[{key:"toGridIndex",value:function(r){return Math.floor(r/We.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(oo({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=cl(this.boundaries,r)),this.boundaries=r,hp(this.cells,s,l,function(u,c){hp(u,i,o,function(h,b){n(h,{row:c,col:b});});});}},{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 f.DOMRect(o,n,a-o,i-n)}}])})();function hp(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 uo(e){Na();var t=rt(e),r=t.vNode;return r._grid}function co(e){var t,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=uo(e);if(!(n!=null&&(t=n.cells)!==null&&t!==void 0&&t.length))return [];var a=e.boundingClientRect,i=ao(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 h=c.value;h&&h!==e&&!s.includes(h)&&i===ao(h)&&s.push(h);}}catch(b){u.e(b);}finally{u.f();}}),s}var ED=mt(function(){var t;if(!p._tree)return null;var r=Ir(p._tree[0],"dialog[open]",function(a){var i=a.boundingClientRect,o=m.elementsFromPoint(i.left+1,i.top+1);return o.includes(a.actualNode)&&Qt(a)});if(!r.length)return null;var n=r.find(function(a){var i=a.boundingClientRect,o=m.elementsFromPoint(i.left-10,i.top-10);return o.includes(a.actualNode)});return n||((t=r.find(function(a){var i,o=(i=CD(a))!==null&&i!==void 0?i:{},s=o.vNode,l=o.rect;if(!s)return false;var u=m.elementsFromPoint(l.left+1,l.top+1);return !u.includes(s.actualNode)}))!==null&&t!==void 0?t:null)}),gp=ED;function CD(e){Na();var t=p._tree[0]._grid,r=new f.DOMRect(0,0,f.innerWidth,f.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=so(u,r);if(l.props.nodeName!=="html"&&l!==e&&l.getComputedStylePropertyValue("pointer-events")!=="none"&&c)return {vNode:l,rect:c}}}}}function fo(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.skipAncestors,n=t.isAncestor;return r?vp(e,n):bp(e,n)}var vp=mt(function(t,r){if(t.hasAttr("inert"))return true;if(!r&&t.actualNode){var n=gp();if(n&&!$r(n,t))return true}return false}),bp=mt(function(t,r){return vp(t,r)?true:t.parent?bp(t.parent,true):false}),SD=["button","command","fieldset","keygen","optgroup","option","select","textarea","input"];function kD(e){return SD.includes(e)}function TD(e){var t=rt(e),r=t.vNode;if(kD(r.props.nodeName)&&r.hasAttr("disabled")||fo(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?on(r):false}var hl=TD,RD=/^\/\#/,FD=/^#[!/]/;function gl(e){var t,r=e.getAttribute("href");if(!r||r==="#")return false;if(RD.test(r))return true;var n=e.hash,a=e.protocol,i=e.hostname,o=e.port,s=e.pathname;if(FD.test(n))return false;if(r.charAt(0)==="#")return true;if(typeof((t=f.location)===null||t===void 0?void 0:t.origin)!="string"||f.location.origin.indexOf("://")===-1)return null;var l=f.location.origin+f.location.pathname,u;return i?u="".concat(a,"//").concat(i).concat(o?":".concat(o):""):u=f.location.origin,s?u+=(s[0]!=="/"?"/":"")+s:u+=f.location.pathname,u===l}function ID(e,t){var r=e.getAttribute(t);if(!r||t==="href"&&!gl(e))return null;r.indexOf("#")!==-1&&(r=decodeURIComponent(r.substr(r.indexOf("#")+1)));var n=m.getElementById(r);return n||(n=m.getElementsByName(r),n.length?n[0]:null)}var vl=ID;function bl(e,t){Na();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(q){return q.root===i.getRootNode()});)i=i.getRootNode().host;if(a=o.find(function(q){return q.root===i.getRootNode()}).node,a===i)return e.actualNode.getRootNode()!==a.getRootNode()?-1:1}var s=f.Node,l=s.DOCUMENT_POSITION_FOLLOWING,u=s.DOCUMENT_POSITION_CONTAINS,c=s.DOCUMENT_POSITION_CONTAINED_BY,h=a.compareDocumentPosition(i),b=h&l?1:-1,A=h&u||h&c,L=yp(e),N=yp(t);return L===N||A?b:N-L}function yp(e){return e.getComputedStylePropertyValue("display").indexOf("inline")!==-1?2:wp(e)?1:0}function wp(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=wp(e.parent);return e._isFloated=r,r}function yl(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:false,n=Oa(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 h=c.left,b=c.top;return i<Math.floor(h+c.width)&&i>=Math.floor(h)&&o<Math.floor(b+c.height)&&o>=Math.floor(b)})}),l=e.container;return l&&(s=yl(l._grid,l.boundingClientRect,true).concat(s)),r||(s=s.sort(bl).map(function(u){return u.actualNode}).concat(m.documentElement).filter(function(u,c,h){return h.indexOf(u)===c})),s}function LD(e){var t=uo(e);if(!t)return [];var r=Ye(e).boundingClientRect;return yl(t,r)}var xp=LD;function PD(e){var t=rr(e,"*"),r=t.filter(function(n){var a=n.isFocusable,i=Fr(n.actualNode.getAttribute("tabindex"));return i!==null?a&&i>=0:a});return r}var Dp=PD;function MD(e){var t=rt(e),r=t.vNode;if(!r||hl(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 !rr(r,"summary").length}return false}var wl=MD;function Et(e){var t=rt(e),r=t.vNode;if(r.props.nodeType!==1||hl(r))return false;if(wl(r))return true;var n=Fr(r.attr("tabindex"));return n!==null}function cr(e){var t=rt(e),r=t.vNode;if(r.props.nodeType!==1)return false;var n=Fr(r.attr("tabindex"));return n<=-1?false:Et(r)}var po=mt(OD);function OD(e){var t=e.getComputedStylePropertyValue("display"),r=t==="inline"?e.clientRects:[e.boundingClientRect],n=co(e).filter(function(i){return dl(e,i)&&i.getComputedStylePropertyValue("pointer-events")!=="none"&&!ND(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 fl(r,a)}function ND(e,t){return $r(e,t)&&!cr(t)}var Ap=mt(qD);function qD(e,t){var r=po(e);return BD(r,t)}function BD(e,t){return e.reduce(function(r,n){var a=jr(t,r),i=jr(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 qa={};pr(qa,{accessibleText:function(){return An},accessibleTextVirtual:function(){return Lt},autocomplete:function(){return En},formControlValue:function(){return em},formControlValueMethods:function(){return kl},hasUnicode:function(){return Fl},isHumanInterpretable:function(){return Ll},isIconLigature:function(){return Il},isValidAutocomplete:function(){return sm},label:function(){return h_},labelText:function(){return Tl},labelVirtual:function(){return bo},nativeElementType:function(){return v_},nativeTextAlternative:function(){return rm},nativeTextMethods:function(){return tm},removeUnicode:function(){return za},sanitize:function(){return Ve},subtreeText:function(){return un},titleText:function(){return ho},unsupported:function(){return zp},visible:function(){return lm},visibleTextNodes:function(){return b_},visibleVirtual:function(){return Tr}});function HD(e,t){e=e.actualNode||e;try{var r=Nt(e),n=[],a=e.getAttribute(t);if(a){a=Vt(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 Sr=HD;function VD(e,t){var r=Ye(e);return Lt(r,t)}var An=VD;function $D(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=Sr(n,"aria-labelledby").filter(function(i){return i});return a.reduce(function(i,o){var s=An(o,Fe({inLabelledByContext:true,startNode:t.startNode||n},t));return i?"".concat(i," ").concat(s):s},"")}var Ba=$D;function Ha(e){var t=rt(e),r=t.vNode;return r?.props.nodeType!==1?"":r.attr("aria-label")||""}var jD={"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}},_p=jD,zD={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"]}},Ep=zD,GD={"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"]}},UD=GD,WD={"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}},XD=WD,YD={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"]}},KD=YD,JD={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]},ZD=JD,Cp={ariaAttrs:_p,ariaRoles:Fe({},Ep,UD,XD),htmlElms:KD,cssColors:ZD},Vn=Fe({},Cp);function QD(e){Object.keys(Vn).forEach(function(t){e[t]&&(Vn[t]=nl(Vn[t],e[t]));});}function eA(){Object.keys(Vn).forEach(function(e){Vn[e]=Cp[e];});}var at=Vn;function tA(e){var t=at.ariaRoles[e];return t?!!t.unsupported:false}var xl=tA;function rA(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=xl(e);return !i||a&&o?false:r?true:i.type!=="abstract"}var Va=rA;function nA(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 Ft?e:Ye(e),e.props.nodeType!==1)return null;var i=(e.attr("role")||"").trim().toLowerCase(),o=r?Vt(i):[i],s=o.find(function(l){return !a&&l.substr(0,4)==="doc-"?false:Va(l,{allowAbstract:n})});return s||null}var Qe=nA;function aA(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 Dl=aA;function iA(){return Ue.get("globalAriaAttrs",function(){return Object.keys(at.ariaAttrs).filter(function(e){return at.ariaAttrs[e].global})})}var sn=iA;function oA(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"),h=parseInt(c)===0||i[s].rowspan===0?r.length:i[s].rowSpan,b=0;b<h;b++){for(t[n+b]=t[n+b]||[];t[n+b][o];)o++;t[n+b][o]=i[s];}o++;}}return t}var zr=mt(oA);function sA(e,t){var r,n;for(t||(t=zr(Hn(e,"table"))),r=0;r<t.length;r++)if(t[r]&&(n=t[r].indexOf(e),n!==-1))return {x:n,y:r}}var mo=mt(sA);function Al(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=zr(Hn(n,"table")),s=mo(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 lA(e){return ["col","auto"].indexOf(Al(e))!==-1}var $n=lA;function uA(e){return ["row","auto"].includes(Al(e))}var jn=uA;function cA(e){return e?e.replace(/\r\n/g,`
|
|
373
|
-
`).replace(/\u00A0/g," ").replace(/[\s]{2,}/g," ").trim():""}var Ve=cA,Sp=function(){return Ue.get("sectioningContentSelector",function(){return Dl("sectioning").map(function(t){return "".concat(t,":not([role])")}).join(", ")+" , [role=article], [role=complementary], [role=navigation], [role=region]"})},kp=function(){return Ue.get("sectioningContentPlusMainSelector",function(){return Sp()+" , main:not([role]), [role=main]"})};function _l(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.checkTitle,n=r===void 0?false:r;return !!(Ve(Ba(e))||Ve(Ha(e))||n&&e?.props.nodeType===1&&Ve(e.attr("title")))}var dA={a:function(t){return t.hasAttr("href")?"link":null},area:function(t){return t.hasAttr("href")?"link":null},article:"article",aside:function(t){return Zt(t.parent,Sp())&&!_l(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=Zt(t,kp());return r?null:"contentinfo"},form:function(t){return _l(t)?"form":null},h1:"heading",h2:"heading",h3:"heading",h4:"heading",h5:"heading",h6:"heading",header:function(t){var r=Zt(t,kp());return r?null:"banner"},hr:"separator",img:function(t){var r=t.hasAttr("alt")&&!t.attr("alt"),n=sn().find(function(a){return t.hasAttr(a)});return r&&!n&&!Et(t)?"presentation":"img"},input:function(t){var r;if(t.hasAttr("list")){var n=Sr(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 _l(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=Zt(t,"table"),n=Qe(r);return ["grid","treegrid"].includes(n)?"gridcell":"cell"},textarea:"textbox",tfoot:"rowgroup",th:function(t){if($n(t))return "columnheader";if(jn(t))return "rowheader"},thead:"rowgroup",tr:"row",ul:"list"},El=dA;function fA(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 _n=fA;function pA(e,t){return _n(!!Lt(e),t)}var Tp=pA;function mA(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 _n(e(n),t[n])})}var Cl=mA;function hA(e,t){return e=rt(e).vNode,Cl(function(r){return e.attr(r)},t)}var Rp=hA;function Fp(e,t){return !!t(e)}function gA(e,t){return _n(Qe(e),t)}var Ip=gA;function vA(e,t){return _n(kr(e),t)}var Lp=vA;function bA(e,t){return e=rt(e).vNode,_n(e.props.nodeName,t)}var Pp=bA;function yA(e,t){return e=rt(e).vNode,Cl(function(r){return e.props[r]},t)}var Mp=yA;function wA(e,t){return _n(Xe(e),t)}var Op=wA,Np={hasAccessibleName:Tp,attributes:Rp,condition:Fp,explicitRole:Ip,implicitRole:Lp,nodeName:Pp,properties:Mp,semanticRole:Op};function qp(e,t){return e=rt(e).vNode,Array.isArray(t)?t.some(function(r){return qp(e,r)}):typeof t=="string"?Us(e,t):Object.keys(t).every(function(r){if(!Np[r])throw new Error('Unknown matcher type "'.concat(r,'"'));var n=Np[r],a=t[r];return n(e,a)})}var Bp=qp;function xA(e,t){return Bp(e,t)}var er=xA;er.hasAccessibleName=Tp,er.attributes=Rp,er.condition=Fp,er.explicitRole=Ip,er.fromDefinition=Bp,er.fromFunction=Cl,er.fromPrimative=_n,er.implicitRole=Lp,er.nodeName=Pp,er.properties=Mp,er.semanticRole=Op;var $a=er;function DA(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=ee(a,S);for(var s in i)if(!(!i.hasOwnProperty(s)||s==="default")){for(var l=i[s],u=l.matches,c=ee(l,T),h=Array.isArray(u)?u:[u],b=0;b<h.length&&n;b++)if(h[b].hasOwnProperty("hasAccessibleName"))return a;if($a(e,u))for(var A in c)c.hasOwnProperty(A)&&(o[A]=c[A]);}for(var L in i.default)i.default.hasOwnProperty(L)&&typeof o[L]>"u"&&(o[L]=i.default[L]);return o}var ln=DA;function AA(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.chromium,n=e instanceof Ft?e:Ye(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=El[a];if(!i&&r){var o=ln(n),s=o.chromiumRole;return s||null}return typeof i=="function"?i(n):i||null}var kr=AA,_A={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 Hp(e,t){var r=_A[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)&&!$p(e.parent)?n:n?null:Hp(e.parent,t)}function Vp(e,t){var r=t.chromium,n=ee(t,M),a=kr(e,{chromium:r});if(!a)return null;var i=Hp(e,n);return i||a}function $p(e){var t=sn().some(function(r){return e.hasAttr(r)});return t||Et(e)}function EA(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.noImplicit,n=ee(t,O),a=rt(e),i=a.vNode;if(i.props.nodeType!==1)return null;var o=Qe(i,n);return o?["presentation","none"].includes(o)&&$p(i)?r?null:Vp(i,n):o:r?null:Vp(i,n)}function CA(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.noPresentational,n=ee(t,B),a=EA(e,n);return r&&["presentation","none"].includes(a)?null:a}var Xe=CA,SA=["iframe"];function kA(e){var t=rt(e),r=t.vNode;return r.props.nodeType!==1||!e.hasAttr("title")||!er(r,SA)&&["none","presentation"].includes(Xe(r))?"":r.attr("title")}var ho=kA;function TA(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.strict;if(e=e instanceof Ft?e:Ye(e),e.props.nodeType!==1)return false;var n=Xe(e),a=at.ariaRoles[n];return a&&a.nameFromContent?true:r?false:!a||["presentation","none"].includes(n)}var jp=TA;function RA(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=Sr(t,"aria-owns").filter(function(o){return !!o}).map(function(o){return p.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(ke(i),ke(a))}return ke(r)}var ja=RA,zp={accessibleNameFromFieldValue:["progressbar"]};function bt(e){return e=rt(e).vNode,Sl(e)}var Sl=mt(function(t,r){return Uf(t)||fo(t,{skipAncestors:true,isAncestor:r})?false:t.actualNode&&t.props.nodeName==="area"?!sl(t,Sl):on(t,{skipAncestors:true,isAncestor:r})?false:t.parent?Sl(t.parent,true):true});function Gp(e,t,r){var n=rt(e),a=n.vNode,i=t?bt:Qt,o=!e.actualNode||e.actualNode&&i(e),s=a.children.map(function(l){var u=l.props,c=u.nodeType,h=u.nodeValue;if(c===3){if(h&&o)return h}else if(!r)return Gp(l,t)}).join("");return Ve(s)}var Tr=Gp,FA=["button","checkbox","color","file","hidden","image","password","radio","reset","submit"];function IA(e){e=e instanceof Ft?e:Ye(e);var t=e.props.nodeName;return t==="textarea"||t==="input"&&!FA.includes((e.attr("type")||"").toLowerCase())}var Up=IA;function LA(e){e=e instanceof Ft?e:Ye(e);var t=e.props.nodeName;return t==="select"}var Wp=LA;function PA(e){var t=Qe(e);return t==="textbox"}var Xp=PA;function MA(e){var t=Qe(e);return t==="listbox"}var Yp=MA;function OA(e){var t=Qe(e);return t==="combobox"}var Kp=OA,NA=["progressbar","scrollbar","slider","spinbutton"];function qA(e){var t=Qe(e);return NA.includes(t)}var Jp=qA,Zp=["textbox","progressbar","scrollbar","slider","spinbutton","combobox","listbox"],kl={nativeTextboxValue:HA,nativeSelectValue:VA,ariaTextboxValue:$A,ariaListboxValue:Qp,ariaComboboxValue:jA,ariaRangeValue:zA};function BA(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=e.actualNode,n=zp.accessibleNameFromFieldValue||[],a=Xe(e);if(t.startNode===e||!Zp.includes(a)||n.includes(a))return "";var i=Object.keys(kl).map(function(s){return kl[s]}),o=i.reduce(function(s,l){return s||l(e,t)},"");return t.debug&&wn(o||"{empty-value}",r,t),o}function HA(e){var t=rt(e),r=t.vNode;return Up(r)&&r.props.value||""}function VA(e){var t=rt(e),r=t.vNode;if(!Wp(r))return "";var n=rr(r,"option"),a=n.filter(function(i){return i.props.selected});return a.length||a.push(n[0]),a.map(function(i){return Tr(i)}).join(" ")||""}function $A(e){var t=rt(e),r=t.vNode,n=t.domNode;return Xp(r)?!n||n&&!on(n)?Tr(r,true):n.textContent:""}function Qp(e,t){var r=rt(e),n=r.vNode;if(!Yp(n))return "";var a=ja(n).filter(function(i){return Xe(i)==="option"&&i.attr("aria-selected")==="true"});return a.length===0?"":Lt(a[0],t)}function jA(e,t){var r=rt(e),n=r.vNode;if(!Kp(n))return "";var a=ja(n).filter(function(i){return Xe(i)==="listbox"})[0];return a?Qp(a,t):""}function zA(e){var t=rt(e),r=t.vNode;if(!Jp(r)||!r.hasAttr("aria-valuenow"))return "";var n=+r.attr("aria-valuenow");return isNaN(n)?"0":String(n)}var em=BA;function GA(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=Lt.alreadyProcessed;t.startNode=t.startNode||e;var n=t,a=n.strict,i=n.inControlContext,o=n.inLabelledByContext,s=Xe(e),l=ln(e,{noMatchAccessibleName:true}),u=l.contentTypes;if(r(e,t)||e.props.nodeType!==1||u!=null&&u.includes("embedded")||Zp.includes(s)||!t.subtreeDescendant&&!t.inLabelledByContext&&!jp(e,{strict:a}))return "";if(!a){var c=!i&&!o;t=Fe({subtreeDescendant:c},t);}return ja(e).reduce(function(h,b){return WA(h,b,t)},"")}var UA=Dl("phrasing").concat(["#text"]);function WA(e,t,r){var n=t.props.nodeName,a=Lt(t,r);return a?(UA.includes(n)||(a[0]!==" "&&(a+=" "),e&&e[e.length-1]!==" "&&(a=" "+a)),e+a):e}var un=GA;function XA(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=Lt.alreadyProcessed;if(t.inControlContext||t.inLabelledByContext||r(e,t))return "";t.startNode||(t.startNode=e);var n=Fe({inControlContext:true},t),a=YA(e),i=Zt(e,"label"),o;return i?(o=[].concat(ke(a),[i.actualNode]),o.sort(nu)):o=a,o.map(function(s){return An(s,n)}).filter(function(s){return s!==""}).join(" ")}function YA(e){if(!e.attr("id"))return [];if(!e.actualNode)throw new TypeError("Cannot resolve explicit label reference for non-DOM nodes");return Hf({elm:"label",attr:"for",value:e.attr("id"),context:e.actualNode})}var Tl=XA,KA={submit:"Submit",image:"Submit",reset:"Reset",button:""},JA={valueText:function(t){return t.props.value||""},buttonDefaultText:function(t){return KA[t.props.type]||""},tableCaptionText:go.bind(null,"caption"),figureText:go.bind(null,"figcaption"),svgTitleText:go.bind(null,"title"),fieldsetLegendText:go.bind(null,"legend"),altText:Rl.bind(null,"alt"),tableSummaryText:Rl.bind(null,"summary"),titleText:ho,subtreeText:un,labelText:Tl,singleSpace:function(){return " "},placeholderText:Rl.bind(null,"placeholder")};function Rl(e,t){return t.attr(e)||""}function go(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?"":An(i,r)}var tm=JA;function rm(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=e.actualNode;if(e.props.nodeType!==1||["presentation","none"].includes(Xe(e)))return "";var n=ZA(e),a=n.reduce(function(i,o){return i||o(e,t)},"");return t.debug&&p.log(a||"{empty-value}",r,t),a}function ZA(e){var t=ln(e,{noMatchAccessibleName:true}),r=t.namingMethods||[];return r.map(function(n){return tm[n]})}function nm(){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 am(){return /[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&\xa3\xa2\xa5\xa7\u20ac()*+,\-.\/:;<=>?@\[\]^_`{|}~\xb1]/g}function im(){return /[\uDB80-\uDBBF][\uDC00-\uDFFF]/g}function om(){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 QA(e,t){var r=t.emoji,n=t.nonBmp,a=t.punctuations,i=false;return r&&(i||(i=bs().test(e))),n&&(i||(i=nm().test(e)||im().test(e)||om().test(e))),a&&(i||(i=am().test(e))),i}var Fl=QA;function Il(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)||Fl(n,{emoji:true,nonBmp:true}))return false;var a=Ue.get("canvasContext",function(){return m.createElement("canvas").getContext("2d",{willReadFrequently:true})}),i=a.canvas,o=Ue.get("fonts",function(){return {}}),s=f.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,h="".concat(c,"px ").concat(l);a.font=h;var b=n.charAt(0),A=a.measureText(b).width;if(A===0)return u.numLigatures++,true;if(A<30){var L=30/A;A*=L,c*=L,h="".concat(c,"px ").concat(l);}i.width=A,i.height=c,a.font=h,a.textAlign="left",a.textBaseline="top",a.fillText(b,0,0);var N=new Uint32Array(a.getImageData(0,0,A,c).data.buffer);if(!N.some(function(ne){return ne}))return u.numLigatures++,true;a.clearRect(0,0,A,c),a.fillText(n,0,0);var q=new Uint32Array(a.getImageData(0,0,A,c).data.buffer),$=N.reduce(function(ne,se,pe){return se===0&&q[pe]===0||se!==0&&q[pe]!==0?ne:++ne},0),z=n.split("").reduce(function(ne,se){return ne+a.measureText(se).width},0),W=a.measureText(n).width,X=$/N.length,K=1-W/z;return X>=t&&K>=t?(u.numLigatures++,true):false}function Lt(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(t=n_(e,t),t_(e,t)||r_(e,t))return "";var r=[Ba,Ha,rm,em,un,e_,ho],n=r.reduce(function(a,i){return t.startNode===e&&(a=Ve(a)),a!==""?a:i(e,t)},"");return t.debug&&p.log(n||"{empty-value}",e.actualNode,t),n}function e_(e){return e.props.nodeType!==3?"":e.props.nodeValue}function t_(e,t){return !e||e.props.nodeType!==1||t.includeHidden?false:!bt(e)}function r_(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:Il(e,a,i)}function n_(e,t){return t.startNode||(t=Fe({startNode:e},t)),e.props.nodeType===1&&t.inLabelledByContext&&t.includeHidden===void 0&&(t=Fe({includeHidden:!bt(e)},t)),t}Lt.alreadyProcessed=function(t,r){return r.processed=r.processed||[],r.processed.includes(t)?true:(r.processed.push(t),false)};function a_(e,t){var r=t.emoji,n=t.nonBmp,a=t.punctuations;return r&&(e=e.replace(bs(),"")),n&&(e=e.replace(nm(),"").replace(im(),"").replace(om(),"")),a&&(e=e.replace(am(),"")),e}var za=a_;function i_(e){return o_(e)||s_(e)||l_(e)||u_(e)?0:1}function o_(e){return Ve(e).length===0}function s_(e){return e.length===1&&e.match(/\D/)}function l_(e){var t=["aa","abc"];return t.includes(e.toLowerCase())}function u_(e){var t=za(e,{emoji:true,nonBmp:true,punctuations:true});return !Ve(t)}var Ll=i_,En={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 c_(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,h=c===void 0?[]:c,b=t.qualifiedTerms,A=b===void 0?[]:b,L=t.ignoredValues,N=L===void 0?[]:L;if(e=e.toLowerCase().trim(),i=i.concat(En.stateTerms),i.includes(e)||e==="")return true;u=u.concat(En.qualifiers),s=s.concat(En.locations),h=h.concat(En.standaloneTerms),A=A.concat(En.qualifiedTerms);var q=e.split(/\s+/g);if(q[q.length-1]==="webauthn"&&(q.pop(),q.length===0)||!n&&(q[0].length>8&&q[0].substr(0,8)==="section-"&&q.shift(),s.includes(q[0])&&q.shift(),u.includes(q[0])&&(q.shift(),h=[]),q.length!==1))return false;var $=q[q.length-1];if(!N.includes($))return h.includes($)||A.includes($)}var sm=c_;function d_(e){var t,r;return e.attr("aria-labelledby")&&(t=Sr(e.actualNode,"aria-labelledby"),r=t.map(function(n){var a=Ye(n);return a?Tr(a):""}).join(" ").trim(),r)||(r=e.attr("aria-label"),r&&(r=Ve(r),r))?r:null}var vo=d_;function f_(e,t,r){return e=Ye(e),Tr(e,t,r)}var lm=f_;function p_(e){var t,r,n;if(r=vo(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=xt(e.attr("id"));if(n=Nt(e.actualNode),t=n.querySelector('label[for="'+a+'"]'),r=t&&lm(t,true),r)return r}return t=Zt(e,"label"),r=t&&Tr(t,true),r||null}var bo=p_;function m_(e){return e=Ye(e),bo(e)}var h_=m_,g_=[{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"]}],v_=g_;function um(e){var t=Qt(e),r=[];return e.children.forEach(function(n){n.actualNode.nodeType===3?t&&r.push(n):r=r.concat(um(n));}),r}var b_=um,y_=mt(function(t){var r=Ye(t),n=r.boundingClientRect,a=[],i=Ma(r);return t.childNodes.forEach(function(o){if(!(o.nodeType!==3||Ve(o.nodeValue)==="")){var s=w_(o);x_(s,n)||a.push.apply(a,ke(cm(s,i)));}}),a.length?a:cm([n],i)}),Pl=y_;function w_(e){var t=m.createRange();return t.selectNodeContents(e),Array.from(t.getClientRects())}function x_(e,t){return e.some(function(r){var n=Oa(r);return !oo(n,t)})}function cm(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&&so(i,o.boundingClientRect)},n);a&&r.push(a);}}),r}function D_(e){var t=uo(e);if(!t)return [];var r=Pl(e);return r.map(function(n){return yl(t,n)})}var Ml=D_,A_=["checkbox","img","meter","progressbar","scrollbar","radio","slider","spinbutton","textbox"];function __(e){var t=rt(e),r=t.vNode,n=p.commons.aria.getExplicitRole(r);if(n)return A_.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 Ol=__,E_=["head","title","template","script","style","iframe","object","video","audio","noscript"];function yo(e){return E_.includes(e.props.nodeName)?false:e.children.some(function(t){var r=t.props;return r.nodeType===3&&r.nodeValue.trim()})}function dm(e,t,r){return yo(e)||Ol(e.actualNode)||!r&&!!vo(e)||!t&&e.children.some(function(n){return n.actualNode.nodeType===1&&dm(n)})}var Ga=dm;function C_(e,t,r){return e=Ye(e),Ga(e,t,r)}var wo=C_;function Nl(e){return typeof e.children>"u"||yo(e)?true:e.props.nodeType===1&&Ol(e)?!!p.commons.text.accessibleTextVirtual(e):e.children.some(function(t){return !t.attr("lang")&&Nl(t)&&!on(t)})}function S_(e){var t=Fr(e.getAttribute("tabindex"));return t>-1&&Et(e)&&!wl(e)}var fm=S_;function pm(e,t){var r=rt(e),n=r.vNode,a=r.domNode;return n?(n._isHiddenWithCSS===void 0&&(n._isHiddenWithCSS=mm(a,t)),n._isHiddenWithCSS):mm(a,t)}function mm(e,t){if(e.nodeType===9||(e.nodeType===11&&(e=e.host),["STYLE","SCRIPT"].includes(e.nodeName.toUpperCase())))return false;var r=f.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=It(e);return o&&!a.includes(i)?pm(o,i):false}var k_=pm;function T_(e){var t=e.doctype;return t===null?false:t.name==="html"&&!t.publicId&&!t.systemId}var hm=T_;function R_(e){var t;(e instanceof Ft||(t=f)!==null&&t!==void 0&&t.Node&&e instanceof f.Node)&&(e=p.commons.aria.getRole(e));var r=at.ariaRoles[e];return r?.type||null}var wr=R_,F_=["block","list-item","table","flex","grid"],I_=["inline-block","inline-flex","inline-grid"];function L_(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&&P_(o))return false;var l=M_(s),u="",c="",h=0;return gm(l,function(b){if(b===l.actualNode)return true;if(h===2)return false;if(b.nodeType===3&&(u+=b.nodeValue),b.nodeType===1){var A=(b.nodeName||"").toUpperCase();b===s&&(h=1);var L=Bl(b);if((L||["BR","HR"].includes(A))&&(h===0?(u="",c=""):h=2),L||b.style.display==="none"||b.style.overflow==="hidden"||!["",null,"none"].includes(b.style.float)||!["",null,"relative"].includes(b.style.position))return false;if(wr(b)==="widget")return c+=b.textContent,false}}),u=Ve(u),r?u.length!==0:(c=Ve(c),u.length>c.length)}var ql=L_;function Bl(e){var t=rt(e),r=t.vNode,n=r.getComputedStylePropertyValue("display");return F_.includes(n)||n.substr(0,6)==="table-"}function P_(e){var t=e.getComputedStylePropertyValue("display");return I_.includes(t)}function gm(e,t){t(e.actualNode)!==false&&e.children.forEach(function(r){return gm(r,t)});}function M_(e){for(var t=It(e);t&&!Bl(t);)t=It(t);return Ye(t)}function O_(e){e=e||{};var t=e.modalPercent||.75;if(Ue.get("isModalOpen"))return Ue.get("isModalOpen");var r=Ir(p._tree[0],"dialog, [role=dialog], [aria-modal=true]",Qt);if(r.length)return Ue.set("isModalOpen",true),true;for(var n=no(f),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(A){return Array.from(m.elementsFromPoint(A.x,A.y))}),c=function(){var L=u[b].find(function(N){var q=f.getComputedStyle(N);return parseInt(q.width,10)>=a&&parseInt(q.height,10)>=i&&q.getPropertyValue("pointer-events")!=="none"&&(q.position==="absolute"||q.position==="fixed")});if(L&&u.every(function(N){return N.includes(L)}))return Ue.set("isModalOpen",true),{v:true}},h,b=0;b<u.length;b++)if(h=c(),h)return h.v;Ue.set("isModalOpen",void 0);}var Ua=O_;function vm(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 N_(e){return e instanceof f.Node}var q_=N_,Hl="color.incompleteData",B_={set:function(t,r){if(typeof t!="string")throw new Error("Incomplete data: key must be a string");var n=Ue.get(Hl,function(){return {}});return r&&(n[t]=r),n[t]},get:function(t){var r=Ue.get(Hl);return r?.[t]},clear:function(){Ue.set(Hl,{});}},ht=B_;function H_(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||f.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 xo=H_,V_=/^#[0-9a-f]{3,8}$/i,$_=/hsl\(\s*([-\d.]+)(rad|turn)/,Wa=(Ge=new WeakMap,tt=new WeakMap,ot=new WeakMap,pt=new WeakMap,Je=new WeakMap,qe=new WeakMap,Yt=new WeakSet,(function(){function e(t,r,n){var a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(nr(this,e),fi(this,Yt),Ot(this,Ge,void 0),Ot(this,tt,void 0),Ot(this,ot,void 0),Ot(this,pt,void 0),Ot(this,Je,void 0),Ot(this,qe,void 0),t instanceof Wa){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 Gt(e,[{key:"r",get:function(){return zt(Ge,this)},set:function(r){Rt(Ge,this,r),Rt(pt,this,Math.round(zn(r,0,1)*255));}},{key:"g",get:function(){return zt(tt,this)},set:function(r){Rt(tt,this,r),Rt(Je,this,Math.round(zn(r,0,1)*255));}},{key:"b",get:function(){return zt(ot,this)},set:function(r){Rt(ot,this,r),Rt(qe,this,Math.round(zn(r,0,1)*255));}},{key:"red",get:function(){return zt(pt,this)},set:function(r){Rt(Ge,this,r/255),Rt(pt,this,zn(r,0,255));}},{key:"green",get:function(){return zt(Je,this)},set:function(r){Rt(tt,this,r/255),Rt(Je,this,zn(r,0,255));}},{key:"blue",get:function(){return zt(qe,this)},set:function(r){Rt(ot,this,r/255),Rt(qe,this,zn(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($_,function(i,o,s){var l=o+s;switch(s){case "rad":return i.replace(l,z_(o));case "turn":return i.replace(l,G_(o))}});try{var n;"Prototype"in f&&"Version"in f.Prototype&&(n=Array.from,Array.from=uf.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(V_)||[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 Yr(Yt,this,j_).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 Wa(this),a=[{name:"r",value:n.r},{name:"g",value:n.g},{name:"b",value:n.b}],i=a.sort(function(c,h){return c.value-h.value}),o=De(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 Wa(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 j_(e){var t=new Wa(this);return t.r+=e,t.g+=e,t.b+=e,t}var yt=Wa;function zn(e,t,r){return Math.min(Math.max(t,e),r)}function z_(e){return e*180/Math.PI}function G_(e){return e*360}function U_(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 Cn=U_;function W_(e){var t=f.getComputedStyle(e);return xo(e,t)||Cn(t).alpha===1}var X_=W_;function Vl(e){if(!e.href)return false;var t=Ue.get("firstPageLink",Y_);return t?e.compareDocumentPosition(t.actualNode)===e.DOCUMENT_POSITION_FOLLOWING:true}function Y_(){var e;return f.location.origin?e=rr(p._tree,'a[href]:not([href^="javascript:"])').find(function(t){return !gl(t.actualNode)}):e=rr(p._tree,'a:not([href^="#"]):not([href^="/#"]):not([href^="javascript:"])')[0],e||null}var K_=/rect\s*\(([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px\s*\)/,J_=/(\w+)\((\d+)/;function Z_(e){var t=e.getPropertyValue("clip").match(K_),r=e.getPropertyValue("clip-path").match(J_);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 Q_(e,t,r){var n=Hn(e,"map");if(!n)return false;var a=n.getAttribute("name");if(!a)return false;var i=Nt(e);if(!i||i.nodeType!==9)return false;var o=rr(p._tree,'img[usemap="#'.concat(xt(a),'"]'));return !o||!o.length?false:o.some(function(s){var l=s.actualNode;return Do(l,t,r)})}function Do(e,t,r){var n;if(!e)throw new TypeError("Cannot determine if element is visible for non-DOM nodes");var a=e instanceof Ft?e:Ye(e);e=a?a.actualNode:e;var i="_isVisible"+(t?"ScreenReader":""),o=(n=f.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 h=a?a.attr("aria-hidden"):e.getAttribute("aria-hidden");if(h==="true")return false}if(!e){var b=a.parent,A=true;return b&&(A=Do(b,t,true)),a&&(a[i]=A),A}var L=f.getComputedStyle(e,null);if(L===null)return false;if(c==="area")return Q_(e,t,r);if(L.getPropertyValue("display")==="none")return false;var N=parseInt(L.getPropertyValue("height")),q=parseInt(L.getPropertyValue("width")),$=Gr(e),z=$&&N===0,W=$&&q===0,X=L.getPropertyValue("position")==="absolute"&&(N<2||q<2)&&L.getPropertyValue("overflow")==="hidden";if(!t&&(Z_(L)||L.getPropertyValue("opacity")==="0"||z||W||X)||!r&&(L.getPropertyValue("visibility")==="hidden"||!t&&io(e)))return false;var K=e.assignedSlot?e.assignedSlot:e.parentNode,ne=false;return K&&(ne=Do(K,t,true)),a&&(a[i]=ne),ne}var e2=Do;function t2(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=f.getComputedStyle(o);if(!a&&r.indexOf(s.position)!==-1){n=[];continue}n.push(o);}return n}var bm=t2;function ym(e,t){var r=wm(t);do{var n=wm(e);if(n===r||n===t)return r2(e,t);e=n;}while(e);return false}function wm(e){for(var t=Ye(e),r=t.parent;r;){if(Gr(r.actualNode))return r.actualNode;r=r.parent;}}function r2(e,t){var r=f.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 f.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 xm(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:m,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 Nt(a)===r}).reduce(function(a,i){if(ro(i)){var o=xm(e,t,i.shadowRoot,n+1);a=a.concat(o),a.length&&ym(a[0],i)&&a.push(i);}else a.push(i);return a},[])}var n2=xm;function a2(e,t){if(e.hasAttribute(t)){var r=e.nodeName.toUpperCase(),n=e;(!["A","AREA"].includes(r)||e.ownerSVGElement)&&(n=m.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=o2(i),s=o.pathname,l=o.filename;return {protocol:a,hostname:n.hostname,port:i2(n.port),pathname:/\/$/.test(s)?s:"".concat(s,"/"),search:s2(n.search),hash:l2(n.hash),filename:l}}}function i2(e){var t=["443","80"];return t.includes(e)?"":e}function o2(e){var t=e.split("/").pop();return !t||t.indexOf(".")===-1?{pathname:e,filename:""}:{pathname:e.replace(t,""),filename:/index./.test(t)?"":t}}function s2(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=De(i,2),s=o[0],l=o[1],u=l===void 0?"":l;t[decodeURIComponent(s)]=decodeURIComponent(u);}return t}function l2(e){if(!e)return "";var t=/#!?\/?/g,r=e.match(t);if(!r)return "";var n=De(r,1),a=n[0];return a==="#"?"":e}var u2=a2;function c2(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=f.getComputedStyle(t);return e.left>r.right||e.top>r.bottom?o.overflow==="scroll"||o.overflow==="auto"||t instanceof f.HTMLBodyElement||t instanceof f.HTMLHtmlElement:true}var $l=c2,Dm=0,d2=(function(e){function t(r,n,a){var i;if(nr(this,t),i=Q(this,t),i.shadowId=a,i.children=[],i.actualNode=r,i.parent=n,n||(Dm=0),i.nodeIndex=Dm++,i._isHidden=null,i._cache={},i._isXHTML=Ca(r.ownerDocument),r.nodeName.toLowerCase()==="input"){var o=r.getAttribute("type");o=i._isXHTML?o:(o||"").toLowerCase(),Lo().includes(o)||(o="text"),i._type=o;}return Ue.get("nodeMap")&&Ue.get("nodeMap").set(r,i),i}return Me(t,e),Gt(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 f.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=f.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=Et(this.actualNode)),this._cache.isFocusable}},{key:"tabbableElements",get:function(){return this._cache.hasOwnProperty("tabbableElements")||(this._cache.tabbableElements=Dp(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}}])})(Ft),jl=d2;function f2(e){return (e||"").trim().replace(/\s{2,}/g," ").split(" ")}var Vt=f2,Sn=" [idsMap]";function Am(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 _m(l)}))return;var o=new Set;t.forEach(function(l){var u,c=p2(l,n,a);c==null||(u=c.nodes)===null||u===void 0||u.forEach(function(h){c.isComplexSelector&&!Mn(h,l)||o.add(h);});});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 p2(e,t,r){var n=e[e.length-1],a=null,i=e.length>1||!!n.pseudos||!!n.classes;if(_m(n))a=t["*"];else {if(n.id){var o;if(!t[Sn]||!Object.hasOwn(t[Sn],n.id)||!((o=t[Sn][n.id])!==null&&o!==void 0&&o.length))return;a=t[Sn][n.id].filter(function(N){return N.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?zl(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?zl(c,a):c;}if(n.attributes)for(var h=0;h<n.attributes.length;h++){var b,A=n.attributes[h];if(A.type==="attrValue"&&(i=true),!((b=t["[".concat(A.key,"]")])!==null&&b!==void 0&&b.length))return;var L=t["[".concat(A.key,"]")];a=a?zl(L,a):L;}}return {nodes:a,isComplexSelector:i}}function _m(e){return e.tag==="*"&&!e.attributes&&!e.id&&!e.classes}function zl(e,t){return e.filter(function(r){return t.includes(r)})}function Ao(e,t,r){Object.hasOwn(r,e)||(r[e]=[]),r[e].push(t);}function Em(e,t){e.props.nodeType===1&&(Ao(e.props.nodeName,e,t),Ao("*",e,t),e.attrNames.forEach(function(r){r==="id"&&(t[Sn]=t[Sn]||{},Vt(e.attr(r)).forEach(function(n){Ao(n,e,t[Sn]);})),Ao("[".concat(r,"]"),e,t);}));}var Gl;function Ul(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:m.documentElement,t=arguments.length>1?arguments[1]:void 0;Gl=false;var r={};Ue.set("nodeMap",new WeakMap),Ue.set("selectorMap",r);var n=Cm(e,t,null);return n[0]._selectorMap=r,n[0]._hasShadowRoot=Gl,n}function m2(e){var t=[];for(e=e.firstChild;e;)t.push(e),e=e.nextSibling;return t}function Wl(e,t,r){var n=new jl(e,t,r);return Em(n,Ue.get("selectorMap")),n}function _o(e,t,r){var n=[];return e.forEach(function(a){var i=Cm(a,r,t);i&&n.push.apply(n,ke(i));}),n}function Cm(e,t,r){var n,a;e.documentElement&&(e=e.documentElement);var i=e.nodeName.toLowerCase();if(ro(e))return Gl=true,n=Wl(e,r,t),t="a"+Math.random().toString().substring(2),a=Array.from(e.shadowRoot.childNodes),n.children=_o(a,n,t),[n];if(i==="content"&&typeof e.getDistributedNodes=="function")return a=Array.from(e.getDistributedNodes()),_o(a,r,t);if(i==="slot"&&typeof e.assignedNodes=="function"){a=Array.from(e.assignedNodes()),a.length||(a=m2(e));f.getComputedStyle(e);return _o(a,r,t)}if(e.nodeType===m.ELEMENT_NODE)return n=Wl(e,r,t),a=Array.from(e.childNodes),n.children=_o(a,n,t),[n];if(e.nodeType===m.TEXT_NODE)return [Wl(e,r)]}function h2(e){return e?e.trim().split("-")[0].toLowerCase():""}var kn=h2;function g2(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=p._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","\\":"\\",'"':'"'};}),Ib=W(function(e){Object.defineProperty(e,"__esModule",{value:true});var t=Lc();function r(n,a,i,o,s,l){var u=n.length,c="";function h(z,X){var Y="";for(a++,c=n.charAt(a);a<u;){if(c===z)return a++,Y;if(c==="\\"){a++,c=n.charAt(a);var J=void 0;if(c===z)Y+=z;else if((J=X[c])!==void 0)Y+=J;else if(t.isHex(c)){var ne=c;for(a++,c=n.charAt(a);t.isHex(c);)ne+=c,a++,c=n.charAt(a);c===" "&&(a++,c=n.charAt(a)),Y+=String.fromCharCode(parseInt(ne,16));continue}else Y+=c;}else Y+=c;a++,c=n.charAt(a);}return Y}function b(){var z="";for(c=n.charAt(a);a<u;){if(t.isIdent(c))z+=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])z+=c;else if(t.isHex(c)){var X=c;for(a++,c=n.charAt(a);t.isHex(c);)X+=c,a++,c=n.charAt(a);c===" "&&(a++,c=n.charAt(a)),z+=String.fromCharCode(parseInt(X,16));continue}else z+=c;}else return z;a++,c=n.charAt(a);}return z}function E(){c=n.charAt(a);for(var z=false;c===" "||c===" "||c===`
|
|
370
|
+
`||c==="\r"||c==="\f";)z=true,a++,c=n.charAt(a);return z}function R(){var z=O();if(a<u)throw Error('Rule expected but "'+n.charAt(a)+'" found.');return z}function O(){var z=B();if(!z)return null;var X=z;for(c=n.charAt(a);c===",";){if(a++,E(),X.type!=="selectors"&&(X={type:"selectors",selectors:[z]}),z=B(),!z)throw Error('Rule expected after ",".');X.selectors.push(z);}return X}function B(){E();var z={type:"ruleSet"},X=$();if(!X)return null;for(var Y=z;X&&(X.type="rule",Y.rule=X,Y=X,E(),c=n.charAt(a),!(a>=u||c===","||c===")"));)if(s[c]){var J=c;if(a++,E(),X=$(),!X)throw Error('Rule expected after "'+J+'".');X.nestingOperator=J;}else X=$(),X&&(X.nestingOperator=null);return z}function $(){for(var z=null;a<u;)if(c=n.charAt(a),c==="*")a++,(z=z||{}).tagName="*";else if(t.isIdentStart(c)||c==="\\")(z=z||{}).tagName=b();else if(c===".")a++,z=z||{},(z.classNames=z.classNames||[]).push(b());else if(c==="#")a++,(z=z||{}).id=b();else if(c==="["){a++,E();var X={name:b()};if(E(),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++,E();var J="";if(X.valueType="string",c==='"')J=h('"',t.doubleQuotesEscapeChars);else if(c==="'")J=h("'",t.singleQuoteEscapeChars);else if(l&&c==="$")a++,J=b(),X.valueType="substitute";else {for(;a<u&&c!=="]";)J+=c,a++,c=n.charAt(a);J=J.trim();}if(E(),a>=u)throw Error('Expected "]" but end of file reached.');if(c!=="]")throw Error('Expected "]" but "'+c+'" found.');a++,X.value=J;}z=z||{},(z.attrs=z.attrs||[]).push(X);}else if(c===":"){a++;var ne=b(),se={name:ne};if(c==="("){a++;var fe="";if(E(),i[ne]==="selector")se.valueType="selector",fe=O();else {if(se.valueType=i[ne]||"string",c==='"')fe=h('"',t.doubleQuotesEscapeChars);else if(c==="'")fe=h("'",t.singleQuoteEscapeChars);else if(l&&c==="$")a++,fe=b(),se.valueType="substitute";else {for(;a<u&&c!==")";)fe+=c,a++,c=n.charAt(a);fe=fe.trim();}E();}if(a>=u)throw Error('Expected ")" but end of file reached.');if(c!==")")throw Error('Expected ")" but "'+c+'" found.');a++,se.value=fe;}z=z||{},(z.pseudos=z.pseudos||[]).push(se);}else break;return z}return R()}e.parseCssSelector=r;}),Lb=W(function(e){Object.defineProperty(e,"__esModule",{value:true});var t=Lc();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;}),Pb=W(function(e){Object.defineProperty(e,"__esModule",{value:true});var t=Ib(),r=Lb(),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;}),Mb=W(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{f.globalThis=(function(){if(typeof self<"u")return self;if(typeof f<"u")return f;if(typeof g<"u")return g;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(h){return l[h]||h}):""}},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,h,b,E){return h.indexOf("def.")===0&&(h=h.substring(4)),h in u||(b===":"?(s.defineParams&&E.replace(s.defineParams,function(R,O,B){u[h]={arg:O,text:B};}),h in u||(u[h]=E)):new Function("def","def['"+h+"']="+E)(u)),""}).replace(s.use||a,function(c,h){s.useParams&&(h=h.replace(s.useParams,function(E,R,O,B){if(u[O]&&u[O].arg&&B){var $=(O+":"+B).replace(/'|\\/g,"_");return u.__exp=u.__exp||{},u.__exp[$]=u[O].text.replace(new RegExp("(^|[^\\w$])"+u[O].arg+"([^\\w$])","g"),"$1"+B+"$2"),R+"def.__exp['"+$+"']"}}));var b=new Function("def","return "+h)(u);return b&&i(s,b,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,h,b=0,E,R=l.use||l.define?i(l,s,u||{}):s;R=("var out='"+(l.strip?R.replace(/(^|\r|\n)\t* +| +\t*(\r|\n|$)/g," ").replace(/\r|\n|\t|\/\*[\s\S]*?\*\//g,""):R).replace(/'|\\/g,"\\$&").replace(l.interpolate||a,function(O,B){return c.start+o(B)+c.end}).replace(l.encode||a,function(O,B){return h=true,c.startencode+o(B)+c.end}).replace(l.conditional||a,function(O,B,$){return B?$?"';}else if("+o($)+"){out+='":"';}else{out+='":$?"';if("+o($)+"){out+='":"';}out+='"}).replace(l.iterate||a,function(O,B,$,z){return B?(b+=1,E=z||"i"+b,B=o(B),"';var arr"+b+"="+B+";if(arr"+b+"){var "+$+","+E+"=-1,l"+b+"=arr"+b+".length-1;while("+E+"<l"+b+"){"+$+"=arr"+b+"["+E+"+=1];out+='"):"';} } out+='"}).replace(l.evaluate||a,function(O,B){return "';"+o(B)+"out+='"})+"';return out;").replace(/\n/g,"\\n").replace(/\t/g,"\\t").replace(/\r/g,"\\r").replace(/(\s|;|\}|^|\{)out\+='';/g,"$1").replace(/\+''/g,""),h&&(!l.selfcontained&&globalThis&&!globalThis._encodeHTML&&(globalThis._encodeHTML=r.encodeHTMLSource(l.doNotSkipEncoded)),R="var encodeHTML = typeof _encodeHTML !== 'undefined' ? _encodeHTML : ("+r.encodeHTMLSource.toString()+"("+(l.doNotSkipEncoded||"")+"));"+R);try{return new Function(l.varname,R)}catch(O){throw typeof console<"u"&&console.log("Could not create a template function: "+R),O}},r.compile=function(s,l){return r.template(s,null,l)};})();}),Ob=W(function(e,t){t.exports=function(){};}),gn=W(function(e,t){var r=Ob()();t.exports=function(n){return n!==r&&n!==null};}),Pc=W(function(e,t){var r=gn(),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};}),Nb=W(function(e,t){t.exports=function(){var r=Math.sign;return typeof r!="function"?false:r(10)===1&&r(-20)===-1};}),qb=W(function(e,t){t.exports=function(r){return r=Number(r),isNaN(r)||r===0?r:r>0?1:-1};}),Bb=W(function(e,t){t.exports=Nb()()?Math.sign:qb();}),Hb=W(function(e,t){var r=Bb(),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)))};}),vn=W(function(e,t){var r=Hb(),n=Math.max;t.exports=function(a){return n(0,r(a))};}),Mc=W(function(e,t){var r=vn();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)};}),Jr=W(function(e,t){t.exports=function(r){if(typeof r!="function")throw new TypeError(r+" is not a function");return r};}),Fn=W(function(e,t){var r=gn();t.exports=function(n){if(!r(n))throw new TypeError("Cannot use null or undefined");return n};}),Vb=W(function(e,t){var r=Jr(),n=Fn(),a=Function.prototype.bind,i=Function.prototype.call,o=Object.keys,s=Object.prototype.propertyIsEnumerable;t.exports=function(l,u){return function(c,h){var b,E=arguments[2],R=arguments[3];return c=Object(n(c)),r(h),b=o(c),R&&b.sort(typeof R=="function"?a.call(R,c):void 0),typeof l!="function"&&(l=b[l]),i.call(l,b,function(O,B){return s.call(c,O)?i.call(h,E,c[O],O,c,B):u})}};}),Ei=W(function(e,t){t.exports=Vb()("forEach");}),bn=W(function(){}),$b=W(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")};}),jb=W(function(e,t){t.exports=function(){try{return Object.keys("primitive"),!0}catch{return false}};}),zb=W(function(e,t){var r=gn(),n=Object.keys;t.exports=function(a){return n(r(a)?Object(a):a)};}),Gb=W(function(e,t){t.exports=jb()()?Object.keys:zb();}),Ub=W(function(e,t){var r=Gb(),n=Fn(),a=Math.max;t.exports=function(i,o){var s,l,u=a(arguments.length,2),c;for(i=Object(n(i)),c=function(b){try{i[b]=o[b];}catch(E){s||(s=E);}},l=1;l<u;++l)o=arguments[l],r(o).forEach(c);if(s!==void 0)throw s;return i};}),Oc=W(function(e,t){t.exports=$b()()?Object.assign:Ub();}),Wb=W(function(e,t){var r=gn(),n={function:true,object:true};t.exports=function(a){return r(a)&&n[de(a)]||false};}),Xb=W(function(e,t){var r=Oc(),n=Wb(),a=gn(),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};}),Nc=W(function(e,t){var r=Fn(),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(h){try{n(s,h,a(l,h));}catch(b){u=b;}}),typeof o=="function"&&o(c).forEach(function(h){try{n(s,h,a(l,h));}catch(b){u=b;}}),u!==void 0)throw u;return s};}),qc=W(function(e,t){var r=vn(),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=Nc(),o=(function(){var l=[];return function(u){var c,h=0;if(l[u])return l[u];for(c=[];u--;)c.push("a"+(++h).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});}),Bc=W(function(e,t){var r=void 0;t.exports=function(n){return n!==r&&n!==null};}),Yb=W(function(e,t){var r=Bc(),n={object:true,function:true,undefined:true};t.exports=function(a){return r(a)?hasOwnProperty.call(n,de(a)):false};}),Kb=W(function(e,t){var r=Yb();t.exports=function(n){if(!r(n))return false;try{return n.constructor?n.constructor.prototype===n:!1}catch{return false}};}),Jb=W(function(e,t){var r=Kb();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)};}),Zb=W(function(e,t){var r=Jb(),n=/^\s*class[\s{/}]/,a=Function.prototype.toString;t.exports=function(i){return !(!r(i)||n.test(a.call(i)))};}),Qb=W(function(e,t){var r="razdwatrzy";t.exports=function(){return typeof r.contains!="function"?false:r.contains("dwa")===true&&r.contains("foo")===false};}),ey=W(function(e,t){var r=String.prototype.indexOf;t.exports=function(n){return r.call(this,n,arguments[1])>-1};}),ty=W(function(e,t){t.exports=Qb()()?String.prototype.contains:ey();}),yn=W(function(e,t){var r=Bc(),n=Zb(),a=Oc(),i=Pc(),o=ty(),s=t.exports=function(l,u){var c,h,b,E,R;return arguments.length<2||typeof l!="string"?(E=u,u=l,l=null):E=arguments[2],r(l)?(c=o.call(l,"c"),h=o.call(l,"e"),b=o.call(l,"w")):(c=b=true,h=false),R={value:u,configurable:c,enumerable:h,writable:b},E?a(i(E),R):R};s.gs=function(l,u,c){var h,b,E,R;return typeof l!="string"?(E=c,c=u,u=l,l=null):E=arguments[3],r(u)?n(u)?r(c)?n(c)||(E=c,c=void 0):c=void 0:(E=u,u=c=void 0):u=void 0,r(l)?(h=o.call(l,"c"),b=o.call(l,"e")):(h=true,b=false),R={get:u,set:c,configurable:h,enumerable:b},E?a(i(E),R):R};}),ry=W(function(e,t){var r=yn(),n=Jr(),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},h,b,E,R,O,B,$;h=function(X,Y){var J;return n(Y),u.call(this,"__ee__")?J=this.__ee__:(J=c.value=o(null),s(this,"__ee__",c),c.value=null),J[X]?de(J[X])==="object"?J[X].push(Y):J[X]=[J[X],Y]:J[X]=Y,this},b=function(X,Y){var J,ne;return n(Y),ne=this,h.call(this,X,J=function(){E.call(ne,X,J),a.call(Y,this,arguments);}),J.__eeOnceListener__=Y,this},E=function(X,Y){var J,ne,se,fe;if(n(Y),!u.call(this,"__ee__"))return this;if(J=this.__ee__,!J[X])return this;if(ne=J[X],de(ne)==="object")for(fe=0;se=ne[fe];++fe)(se===Y||se.__eeOnceListener__===Y)&&(ne.length===2?J[X]=ne[fe?0:1]:ne.splice(fe,1));else (ne===Y||ne.__eeOnceListener__===Y)&&delete J[X];return this},R=function(X){var Y,J,ne,se,fe;if(u.call(this,"__ee__")&&(se=this.__ee__[X],!!se))if(de(se)==="object"){for(J=arguments.length,fe=new Array(J-1),Y=1;Y<J;++Y)fe[Y-1]=arguments[Y];for(se=se.slice(),Y=0;ne=se[Y];++Y)a.call(ne,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(J=arguments.length,fe=new Array(J-1),Y=1;Y<J;++Y)fe[Y-1]=arguments[Y];a.call(se,this,fe);}},O={on:h,once:b,off:E,emit:R},B={on:r(h),once:r(b),off:r(E),emit:r(R)},$=l({},B),t.exports=e=function(X){return X==null?o($):l(Object(X),B)},e.methods=O;}),ny=W(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"))};}),ay=W(function(e,t){t.exports=function(){return (typeof globalThis>"u"?"undefined":de(globalThis))!=="object"||!globalThis?false:globalThis.Array===Array};}),iy=W(function(e,t){var r=function(){if((typeof self>"u"?"undefined":de(self))==="object"&&self)return self;if((typeof f>"u"?"undefined":de(f))==="object"&&f)return f;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__;}})();}),Ci=W(function(e,t){t.exports=ay()()?globalThis:iy();}),oy=W(function(e,t){var r=Ci(),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)])};}),sy=W(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};}),Hc=W(function(e,t){var r=sy();t.exports=function(n){if(!r(n))throw new TypeError(n+" is not a symbol");return n};}),ly=W(function(e,t){var r=yn(),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(h){c||(c=true,a(this,u,r(h)),c=false);})),u};}),uy=W(function(e,t){var r=yn(),n=Ci().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"))})};}),cy=W(function(e,t){var r=yn(),n=Hc(),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})})};}),dy=W(function(e,t){var r=yn(),n=Hc(),a=Ci().Symbol,i=ly(),o=uy(),s=cy(),l=Object.create,u=Object.defineProperties,c=Object.defineProperty,h,b,E;if(typeof a=="function")try{String(a()),E=!0;}catch{}else a=null;b=function(O){if(this instanceof b)throw new TypeError("Symbol is not a constructor");return h(O)},t.exports=h=function R(O){var B;if(this instanceof R)throw new TypeError("Symbol is not a constructor");return E?a(O):(B=l(b.prototype),O=O===void 0?"":String(O),u(B,{__description__:r("",O),__name__:r("",i(O))}))},o(h),s(h),u(b.prototype,{constructor:r(h),toString:r("",function(){return this.__name__})}),u(h.prototype,{toString:r(function(){return "Symbol ("+n(this).__description__+")"}),valueOf:r(function(){return n(this)})}),c(h.prototype,h.toPrimitive,r("",function(){var R=n(this);return de(R)==="symbol"?R:R.toString()})),c(h.prototype,h.toStringTag,r("c","Symbol")),c(b.prototype,h.toStringTag,r("c",h.prototype[h.toStringTag])),c(b.prototype,h.toPrimitive,r("c",h.prototype[h.toPrimitive]));}),fy=W(function(e,t){t.exports=oy()()?Ci().Symbol:dy();}),py=W(function(e,t){var r=Object.prototype.toString,n=r.call((function(){return arguments})());t.exports=function(a){return r.call(a)===n};}),my=W(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))};}),hy=W(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};}),gy=W(function(e,t){var r=fy().iterator,n=py(),a=my(),i=vn(),o=Jr(),s=Fn(),l=gn(),u=hy(),c=Array.isArray,h=Function.prototype.call,b={configurable:true,enumerable:true,writable:true,value:null},E=Object.defineProperty;t.exports=function(R){var O=arguments[1],B=arguments[2],$,z,X,Y,J,ne,se,fe,Ae,le;if(R=Object(s(R)),l(O)&&o(O),!this||this===Array||!a(this)){if(!O){if(n(R))return J=R.length,J!==1?Array.apply(null,R):(Y=new Array(1),Y[0]=R[0],Y);if(c(R)){for(Y=new Array(J=R.length),z=0;z<J;++z)Y[z]=R[z];return Y}}Y=[];}else $=this;if(!c(R)){if((Ae=R[r])!==void 0){for(se=o(Ae).call(R),$&&(Y=new $),fe=se.next(),z=0;!fe.done;)le=O?h.call(O,B,fe.value,z):fe.value,$?(b.value=le,E(Y,z,b)):Y[z]=le,fe=se.next(),++z;J=z;}else if(u(R)){for(J=R.length,$&&(Y=new $),z=0,X=0;z<J;++z)le=R[z],z+1<J&&(ne=le.charCodeAt(0),ne>=55296&&ne<=56319&&(le+=R[++z])),le=O?h.call(O,B,le,X):le,$?(b.value=le,E(Y,X,b)):Y[X]=le,++X;J=X;}}if(J===void 0)for(J=i(R.length),$&&(Y=new $(J)),z=0;z<J;++z)le=O?h.call(O,B,R[z],z):R[z],$?(b.value=le,E(Y,z,b)):Y[z]=le;return $&&(b.value=null,Y.length=J),Y};}),ps=W(function(e,t){t.exports=ny()()?Array.from:gy();}),vy=W(function(e,t){var r=ps(),n=Array.isArray;t.exports=function(a){return n(a)?a:r(a)};}),by=W(function(e,t){var r=vy(),n=gn(),a=Jr(),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)};}),yy=W(function(e,t){var r=Jr();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))};}),wy=W(function(e,t){var r=Xb(),n=qc(),a=yn(),i=ry().methods,o=by(),s=yy(),l=Function.prototype.apply,u=Function.prototype.call,c=Object.create,h=Object.defineProperties,b=i.on,E=i.emit;t.exports=function(R,O,B){var $=c(null),z,X,Y,J,ne,se,fe,Ae,le,ge,xe,Ee,Me,je,Fe;return O!==false?X=O:isNaN(R.length)?X=1:X=R.length,B.normalizer&&(ge=s(B.normalizer),Y=ge.get,J=ge.set,ne=ge.delete,se=ge.clear),B.resolvers!=null&&(Fe=o(B.resolvers)),Y?je=n(function(qe){var be,Pe,te=arguments;if(Fe&&(te=Fe(te)),be=Y(te),be!==null&&hasOwnProperty.call($,be))return xe&&z.emit("get",be,te,this),$[be];if(te.length===1?Pe=u.call(R,this,te[0]):Pe=l.call(R,this,te),be===null){if(be=Y(te),be!==null)throw r("Circular invocation","CIRCULAR_INVOCATION");be=J(te);}else if(hasOwnProperty.call($,be))throw r("Circular invocation","CIRCULAR_INVOCATION");return $[be]=Pe,Ee&&z.emit("set",be,null,Pe),Pe},X):O===0?je=function(){var be;if(hasOwnProperty.call($,"data"))return xe&&z.emit("get","data",arguments,this),$.data;if(arguments.length?be=l.call(R,this,arguments):be=u.call(R,this),hasOwnProperty.call($,"data"))throw r("Circular invocation","CIRCULAR_INVOCATION");return $.data=be,Ee&&z.emit("set","data",null,be),be}:je=function(be){var Pe,te=arguments,Ce;if(Fe&&(te=Fe(arguments)),Ce=String(te[0]),hasOwnProperty.call($,Ce))return xe&&z.emit("get",Ce,te,this),$[Ce];if(te.length===1?Pe=u.call(R,this,te[0]):Pe=l.call(R,this,te),hasOwnProperty.call($,Ce))throw r("Circular invocation","CIRCULAR_INVOCATION");return $[Ce]=Pe,Ee&&z.emit("set",Ce,null,Pe),Pe},z={original:R,memoized:je,profileName:B.profileName,get:function(be){return Fe&&(be=Fe(be)),Y?Y(be):String(be[0])},has:function(be){return hasOwnProperty.call($,be)},delete:function(be){var Pe;hasOwnProperty.call($,be)&&(ne&&ne(be),Pe=$[be],delete $[be],Me&&z.emit("delete",be,Pe));},clear:function(){var be=$;se&&se(),$=c(null),z.emit("clear",be);},on:function(be,Pe){return be==="get"?xe=true:be==="set"?Ee=true:be==="delete"&&(Me=true),b.call(this,be,Pe)},emit:E,updateEnv:function(){R=z.original;}},Y?fe=n(function(qe){var be,Pe=arguments;Fe&&(Pe=Fe(Pe)),be=Y(Pe),be!==null&&z.delete(be);},X):O===0?fe=function(){return z.delete("data")}:fe=function(be){return Fe&&(be=Fe(arguments)[0]),z.delete(be)},Ae=n(function(){var qe,be=arguments;return O===0?$.data:(Fe&&(be=Fe(be)),Y?qe=Y(be):qe=String(be[0]),$[qe])}),le=n(function(){var qe,be=arguments;return O===0?z.has("data"):(Fe&&(be=Fe(be)),Y?qe=Y(be):qe=String(be[0]),qe===null?false:z.has(qe))}),h(je,{__memoized__:a(true),delete:a(fe),clear:a(z.clear),_get:a(Ae),_has:a(le)}),z};}),xy=W(function(e,t){var r=Jr(),n=Ei(),a=bn(),i=wy(),o=Mc();t.exports=function s(l){var u,c,h;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),h=i(l,c,u),n(a,function(b,E){u[E]&&b(u[E],h,u);}),s.__profiler__&&s.__profiler__(h),h.updateEnv(),h.memoized)};}),Dy=W(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};}),_y=W(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 ""}};}),Ay=W(function(e,t){t.exports=function(){var r=Number.isNaN;return typeof r!="function"?false:!r({})&&r(NaN)&&!r(34)};}),Ey=W(function(e,t){t.exports=function(r){return r!==r};}),Cy=W(function(e,t){t.exports=Ay()()?Number.isNaN:Ey();}),ms=W(function(e,t){var r=Cy(),n=vn(),a=Fn(),i=Array.prototype.indexOf,o=Object.prototype.hasOwnProperty,s=Math.abs,l=Math.floor;t.exports=function(u){var c,h,b,E;if(!r(u))return i.apply(this,arguments);for(h=n(a(this).length),b=arguments[1],isNaN(b)?b=0:b>=0?b=l(b):b=n(this.length)-l(s(b)),c=b;c<h;++c)if(o.call(this,c)&&(E=this[c],r(E)))return c;return -1};}),Sy=W(function(e,t){var r=ms(),n=Object.create;t.exports=function(){var a=0,i=[],o=n(null);return {get:function(l){var u=0,c=i,h,b=l.length;if(b===0)return c[b]||null;if(c=c[b]){for(;u<b-1;){if(h=r.call(c[0],l[u]),h===-1)return null;c=c[1][h],++u;}return h=r.call(c[0],l[u]),h===-1?null:c[1][h]||null}return null},set:function(l){var u=0,c=i,h,b=l.length;if(b===0)c[b]=++a;else {for(c[b]||(c[b]=[[],[]]),c=c[b];u<b-1;)h=r.call(c[0],l[u]),h===-1&&(h=c[0].push(l[u])-1,c[1].push([[],[]])),c=c[1][h],++u;h=r.call(c[0],l[u]),h===-1&&(h=c[0].push(l[u])-1),c[1][h]=++a;}return o[a]=l,a},delete:function(l){var u=0,c=i,h,b=o[l],E=b.length,R=[];if(E===0)delete c[E];else if(c=c[E]){for(;u<E-1;){if(h=r.call(c[0],b[u]),h===-1)return;R.push(c,h),c=c[1][h],++u;}if(h=r.call(c[0],b[u]),h===-1)return;for(l=c[1][h],c[0].splice(h,1),c[1].splice(h,1);!c[0].length&&R.length;)h=R.pop(),c=R.pop(),c[0].splice(h,1),c[1].splice(h,1);}delete o[l];},clear:function(){i=[],o=n(null);}}};}),ky=W(function(e,t){var r=ms();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=[];}}};}),Ty=W(function(e,t){var r=ms(),n=Object.create;t.exports=function(a){var i=0,o=[[],[]],s=n(null);return {get:function(u){for(var c=0,h=o,b;c<a-1;){if(b=r.call(h[0],u[c]),b===-1)return null;h=h[1][b],++c;}return b=r.call(h[0],u[c]),b===-1?null:h[1][b]||null},set:function(u){for(var c=0,h=o,b;c<a-1;)b=r.call(h[0],u[c]),b===-1&&(b=h[0].push(u[c])-1,h[1].push([[],[]])),h=h[1][b],++c;return b=r.call(h[0],u[c]),b===-1&&(b=h[0].push(u[c])-1),h[1][b]=++i,s[i]=u,i},delete:function(u){for(var c=0,h=o,b,E=[],R=s[u];c<a-1;){if(b=r.call(h[0],R[c]),b===-1)return;E.push(h,b),h=h[1][b],++c;}if(b=r.call(h[0],R[c]),b!==-1){for(u=h[1][b],h[0].splice(b,1),h[1].splice(b,1);!h[0].length&&E.length;)b=E.pop(),h=E.pop(),h[0].splice(b,1),h[1].splice(b,1);delete s[u];}},clear:function(){o=[[],[]],s=n(null);}}};}),Vc=W(function(e,t){var r=Jr(),n=Ei(),a=Function.prototype.call;t.exports=function(i,o){var s={},l=arguments[2];return r(o),n(i,function(u,c,h,b){s[c]=a.call(o,l,u,c,h,b);}),s};}),hs=W(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=m.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 m>"u"?"undefined":de(m))==="object"&&m){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})();}),Ry=W(function(){var e=ps(),t=Vc(),r=Nc(),n=qc(),a=hs(),i=Array.prototype.slice,o=Function.prototype.apply,s=Object.create;bn().async=function(l,u){var c=s(null),h=s(null),b=u.memoized,E=u.original,R,O,B;u.memoized=n(function($){var z=arguments,X=z[z.length-1];return typeof X=="function"&&(R=X,z=i.call(z,0,-1)),b.apply(O=this,B=z)},b);try{r(u.memoized,b);}catch{}u.on("get",function($){var z,X,Y;if(R){if(c[$]){typeof c[$]=="function"?c[$]=[c[$],R]:c[$].push(R),R=null;return}z=R,X=O,Y=B,R=O=B=null,a(function(){var J;hasOwnProperty.call(h,$)?(J=h[$],u.emit("getasync",$,Y,X),o.call(z,J.context,J.args)):(R=z,O=X,B=Y,b.apply(X,Y));});}}),u.original=function(){var $,z,X,Y;return R?($=e(arguments),z=function J(ne){var se,fe,Ae=J.id;if(Ae==null){a(o.bind(J,this,arguments));return}if(delete J.id,se=c[Ae],delete c[Ae],!!se)return fe=e(arguments),u.has(Ae)&&(ne?u.delete(Ae):(h[Ae]={context:this,args:fe},u.emit("setasync",Ae,typeof se=="function"?1:se.length))),typeof se=="function"?Y=o.call(se,this,fe):se.forEach(function(le){Y=o.call(le,this,fe);},this),Y},X=R,R=O=B=null,$.push(z),Y=o.call(E,this,$),z.cb=X,R=z,Y):o.call(E,this,arguments)},u.on("set",function($){if(!R){u.delete($);return}c[$]?typeof c[$]=="function"?c[$]=[c[$],R.cb]:c[$].push(R.cb):c[$]=R.cb,delete R.cb,R.id=$,R=null;}),u.on("delete",function($){var z;hasOwnProperty.call(c,$)||h[$]&&(z=h[$],delete h[$],u.emit("deleteasync",$,i.call(z.args,1)));}),u.on("clear",function(){var $=h;h=s(null),u.emit("clearasync",t($,function(z){return i.call(z.args,1)}));});};}),Fy=W(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};}),$c=W(function(e,t){t.exports=function(r){return typeof r=="function"};}),Iy=W(function(e,t){var r=$c();t.exports=function(n){try{return n&&r(n.toString)?n.toString():String(n)}catch{throw new TypeError("Passed argument cannot be stringifed")}};}),Ly=W(function(e,t){var r=Fn(),n=Iy();t.exports=function(a){return n(r(a))};}),Py=W(function(e,t){var r=$c();t.exports=function(n){try{return n&&r(n.toString)?n.toString():String(n)}catch{return "<Non-coercible to string value>"}};}),My=W(function(e,t){var r=Py(),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};}),jc=W(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"}}),Oy=W(function(){var e=Vc(),t=Fy(),r=Ly(),n=My(),a=jc(),i=hs(),o=Object.create,s=t("then","then:finally","done","done:finally");bn().promise=function(l,u){var c=o(null),h=o(null),b=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(E,R,O){var B=false;if(!a(O)){h[E]=O,u.emit("setasync",E,1);return}c[E]=1,b[E]=O;var $=function(ne){var se=c[E];if(B)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[E],h[E]=ne,u.emit("setasync",E,se));},z=function(){B=true,c[E]&&(delete c[E],delete b[E],u.delete(E));},X=l;if(X||(X="then"),X==="then"){var Y=function(){i(z);};O=O.then(function(J){i($.bind(this,J));},Y),typeof O.finally=="function"&&O.finally(Y);}else if(X==="done"){if(typeof O.done!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done' mode");O.done($,z);}else if(X==="done:finally"){if(typeof O.done!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done:finally' mode");if(typeof O.finally!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'finally' in 'done:finally' mode");O.done($),O.finally(z);}}),u.on("get",function(E,R,O){var B;if(c[E]){++c[E];return}B=b[E];var $=function(){u.emit("getasync",E,R,O);};a(B)?typeof B.done=="function"?B.done($):B.then(function(){i($);}):$();}),u.on("delete",function(E){if(delete b[E],c[E]){delete c[E];return}if(hasOwnProperty.call(h,E)){var R=h[E];delete h[E],u.emit("deleteasync",E,[R]);}}),u.on("clear",function(){var E=h;h=o(null),c=o(null),b=o(null),u.emit("clearasync",e(E,function(R){return [R]}));});};}),Ny=W(function(){var e=Jr(),t=Ei(),r=bn(),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);});});};}),qy=W(function(e,t){t.exports=2147483647;}),By=W(function(e,t){var r=vn(),n=qy();t.exports=function(a){if(a=r(a),a>n)throw new TypeError(a+" exceeds maximum possible timeout");return a};}),Hy=W(function(){var e=ps(),t=Ei(),r=hs(),n=jc(),a=By(),i=bn(),o=Function.prototype,s=Math.max,l=Math.min,u=Object.create;i.maxAge=function(c,h,b){var E,R,O,B;c=a(c),c&&(E=u(null),R=b.async&&i.async||b.promise&&i.promise?"async":"",h.on("set"+R,function($){E[$]=setTimeout(function(){h.delete($);},c),typeof E[$].unref=="function"&&E[$].unref(),B&&(B[$]&&B[$]!=="nextTick"&&clearTimeout(B[$]),B[$]=setTimeout(function(){delete B[$];},O),typeof B[$].unref=="function"&&B[$].unref());}),h.on("delete"+R,function($){clearTimeout(E[$]),delete E[$],B&&(B[$]!=="nextTick"&&clearTimeout(B[$]),delete B[$]);}),b.preFetch&&(b.preFetch===true||isNaN(b.preFetch)?O=.333:O=s(l(Number(b.preFetch),1),0),O&&(B={},O=(1-O)*c,h.on("get"+R,function($,z,X){B[$]||(B[$]="nextTick",r(function(){var Y;B[$]==="nextTick"&&(delete B[$],h.delete($),b.async&&(z=e(z),z.push(o)),Y=h.memoized.apply(X,z),b.promise&&n(Y)&&(typeof Y.done=="function"?Y.done(o,o):Y.then(o,o)));}));}))),h.on("clear"+R,function(){t(E,function($){clearTimeout($);}),E={},B&&(t(B,function($){$!=="nextTick"&&clearTimeout($);}),B={});}));};}),Vy=W(function(e,t){var r=vn(),n=Object.create,a=Object.prototype.hasOwnProperty;t.exports=function(i){var o=0,s=1,l=n(null),u=n(null),c=0,h;return i=r(i),{hit:function(E){var R=u[E],O=++c;if(l[O]=E,u[E]=O,!R)return ++o,o<=i?void 0:(E=l[s],h(E),E);if(delete l[R],s===R)for(;!a.call(l,++s););},delete:h=function(E){var R=u[E];if(R&&(delete l[R],delete u[E],--o,s===R)){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;}}};}),$y=W(function(){var e=vn(),t=Vy(),r=bn();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));};}),jy=W(function(){var e=yn(),t=bn(),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]})});};}),zy=W(function(e,t){var r=Pc(),n=Mc(),a=xy();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=Dy():s>1&&(o.normalizer=_y()(s)):s===false?o.normalizer=Sy()():s===1?o.normalizer=ky()():o.normalizer=Ty()(s))),o.async&&Ry(),o.promise&&Oy(),o.dispose&&Ny(),o.maxAge&&Hy(),o.max&&$y(),o.refCounter&&jy(),a(i,o)};}),Gy=[{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"}],gr={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"])};Gy.forEach(function(e){var t=e.name,r=e.value,n=e.priority,a=e.group;gr[t]=r,gr[t+"_PRIO"]=n,gr[t+"_GROUP"]=a,gr.results[n]=r,gr.resultGroups[n]=a,gr.resultGroupMap[r]=a;}),Object.freeze(gr.results),Object.freeze(gr.resultGroups),Object.freeze(gr.resultGroupMap),Object.freeze(gr);var Xe=gr;function Uy(){(typeof console>"u"?"undefined":de(console))==="object"&&console.log&&Function.prototype.apply.call(console.log,console,arguments);}var wn=Uy,Wy=/[\t\r\n\f]/g,Xy=(function(){function e(){nr(this,e),this.parent=void 0;}return Gt(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(Wy," ").indexOf(a)>=0}}])})(),Lt=Xy,gs={};pr(gs,{DqElement:function(){return lr},RuleError:function(){return Io},aggregate:function(){return Si},aggregateChecks:function(){return Uc},aggregateNodeResults:function(){return Wc},aggregateResult:function(){return Xc},areStylesSet:function(){return t0},assert:function(){return nt},checkHelper:function(){return zs},clone:function(){return Vr},closest:function(){return Zt},collectResultsFromFrames:function(){return qf},contains:function(){return $r},convertSelector:function(){return Yi},cssParser:function(){return bf},deepMerge:function(){return nl},escapeSelector:function(){return Dt},extendMetaData:function(){return al},filterHtmlAttrs:function(){return Qm},finalizeRuleResult:function(){return ma},findBy:function(){return La},getAllChecks:function(){return eo},getAncestry:function(){return Xi},getBaseLang:function(){return kn},getCheckMessage:function(){return wA},getCheckOption:function(){return Co},getElementSource:function(){return gf},getEnvironmentData:function(){return cn},getFlattenedTree:function(){return Ul},getFrameContexts:function(){return NA},getFriendlyUriEnd:function(){return Jc},getNodeAttributes:function(){return va},getNodeFromTree:function(){return Ke},getPreloadConfig:function(){return Ym},getRootNode:function(){return Pa},getRule:function(){return Lm},getScroll:function(){return Gr},getScrollState:function(){return HA},getSelector:function(){return $s},getSelectorData:function(){return Wi},getShadowSelector:function(){return Bs},getStandards:function(){return VA},getStyleSheetFactory:function(){return Om},getXpath:function(){return hf},injectStyle:function(){return zA},isArrayLike:function(){return Jl},isContextObject:function(){return Zl},isContextProp:function(){return ko},isContextSpec:function(){return Nm},isHidden:function(){return GA},isHtmlElement:function(){return eu},isLabelledFramesSelector:function(){return Ql},isLabelledShadowDomSelector:function(){return To},isNodeInContext:function(){return tu},isShadowRoot:function(){return ro},isValidLang:function(){return Po},isXHTML:function(){return Ca},matchAncestry:function(){return ru},matches:function(){return Us},matchesExpression:function(){return Mn},matchesSelector:function(){return In},memoize:function(){return ht},mergeResults:function(){return to},nodeLookup:function(){return rt},nodeSerializer:function(){return ur},nodeSorter:function(){return nu},objectHasOwn:function(){return Rr},parseCrossOriginStylesheet:function(){return iu},parseSameOriginStylesheet:function(){return Hm},parseStylesheet:function(){return au},parseTabindex:function(){return Fr},performanceTimer:function(){return st},pollyfillElementsFromPoint:function(){return Vm},preload:function(){return Wm},preloadCssom:function(){return jm},preloadMedia:function(){return Um},processMessage:function(){return Kl},publishMetaData:function(){return Ro},querySelectorAll:function(){return rr},querySelectorAllFilter:function(){return Ir},queue:function(){return Cr},respondable:function(){return yr},ruleShouldRun:function(){return Zm},select:function(){return ou},sendCommandToFrame:function(){return Pf},serializeError:function(){return Fo},setScrollState:function(){return AE},shadowSelect:function(){return EE},shadowSelectAll:function(){return su},shouldPreload:function(){return Xm},toArray:function(){return Kc},tokenList:function(){return $t},uniqueArray:function(){return Ya},uuid:function(){return Tx},validInputTypes:function(){return Lo},validLangs:function(){return a1}});function Yy(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 Si=Yy,Ky=Xe.CANTTELL_PRIO,Jy=Xe.FAIL_PRIO,ki=[];ki[Xe.PASS_PRIO]=true,ki[Xe.CANTTELL_PRIO]=null,ki[Xe.FAIL_PRIO]=false;var zc=["any","all","none"];function Gc(e,t){return zc.reduce(function(r,n){return r[n]=(e[n]||[]).map(function(a){return t(a,n)}),r},{})}function Zy(e){var t=Object.assign({},e);Gc(t,function(a,i){var o=typeof a.result>"u"?-1:ki.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 zc.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)});}),[Ky,Jy].includes(t.priority)?t.impact=Si(Xe.impact,n):t.impact=null,Gc(t,function(a){delete a.result,delete a.priority;}),t.result=Xe.results[t.priority],delete t.priority,t}var Uc=Zy;function ma(e){var t=p._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,Wc(e.nodes)),delete e.nodes,e}function Qy(e){var t={};if(e=e.map(function(i){if(i.any&&i.all&&i.none)return Uc(i);if(Array.isArray(i.node))return ma(i);throw new TypeError("Invalid Result type")}),e&&e.length){var r=e.map(function(i){return i.result});t.result=Si(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=Si(Xe.impact,a)||null;}else t.impact=null;return t}var Wc=Qy;function vs(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 e0(e){var t={};return Xe.resultGroups.forEach(function(r){return t[r]=[]}),e.forEach(function(r){r.error?vs(t,r,Xe.CANTTELL_GROUP):r.result===Xe.NA?vs(t,r,Xe.NA_GROUP):Xe.resultGroups.forEach(function(n){Array.isArray(r[n])&&r[n].length>0&&vs(t,r,n);});}),t}var Xc=e0;function Yc(e,t,r){var n=f.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:Yc(e.parentNode,t,r)}var t0=Yc;function r0(e,t){if(!e)throw new Error(t)}var nt=r0;function n0(e){return Array.prototype.slice.call(e)}var Kc=n0;function a0(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=a0;function i0(){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 ha(e,t){return [e.substring(0,t),e.substring(t)]}function ga(e){return e.replace(/\s+$/,"")}function o0(e){var t=e,r="",n="",a="",i="",o="",s="";if(e.includes("#")){var l=ha(e,e.indexOf("#")),u=De(l,2);e=u[0],s=u[1];}if(e.includes("?")){var c=ha(e,e.indexOf("?")),h=De(c,2);e=h[0],o=h[1];}if(e.includes("://")){var b=e.split("://"),E=De(b,2);r=E[0],e=E[1];var R=ha(e,e.indexOf("/")),O=De(R,2);n=O[0],e=O[1];}else if(e.substr(0,2)==="//"){e=e.substr(2);var B=ha(e,e.indexOf("/")),$=De(B,2);n=$[0],e=$[1];}if(n.substr(0,4)==="www."&&(n=n.substr(4)),n&&n.includes(":")){var z=ha(n,n.indexOf(":")),X=De(z,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 s0(){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=o0(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?ga(u+l):u.length<2&&l.length>2&&l.length<=a?ga(l):void 0;if(s&&s.length<a&&o.length<=1||o==="/"+u&&s&&r&&s!==r&&(s+o).length<=a)return ga(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})?/)&&!i0(u))return ga(u)}}var Jc=s0;function l0(e){return e.attributes instanceof f.NamedNodeMap?e.attributes:e.cloneNode(false).attributes}var va=l0,u0=(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}})(),In=u0,Zc={};pr(Zc,{ArrayFrom:function(){return uf.default},Colorjs:function(){return ft},CssSelectorParser:function(){return Qc.CssSelectorParser},doT:function(){return Zr.default},emojiRegexText:function(){return bs},memoize:function(){return ed.default}});var c0=_r(Tv()),d0=_r(Rv());_r(Fv());var f0=_r(Gv()),p0=_r(rb()),m0=_r(Ic());"hasOwn"in Object||(Object.hasOwn=f0.default),"values"in Object||(Object.values=p0.default),"Promise"in f||c0.default.polyfill(),"Uint32Array"in f||(f.Uint32Array=d0.Uint32Array),f.Uint32Array&&("some"in f.Uint32Array.prototype||Object.defineProperty(f.Uint32Array.prototype,"some",{value:Array.prototype.some}),"reduce"in f.Uint32Array.prototype||Object.defineProperty(f.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=m0.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}),f.Node&&!("isConnected"in f.Node.prototype)&&Object.defineProperty(f.Node.prototype,"isConnected",{get:function(){return !this.ownerDocument||!(this.ownerDocument.compareDocumentPosition(this)&this.DOCUMENT_POSITION_DISCONNECTED)}});var Qc=_r(Pb()),Zr=_r(Mb()),bs=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},ed=_r(zy());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 h=c.value;l+=o*h;}}catch(E){u.e(E);}finally{u.f();}return l}for(var b=0;b<o.length;b++)l+=o[b]*(s[b]||0);return l})});return r===1&&(i=i[0]),n===1?i.map(function(o){return o[0]}):i}function ba(e){return Qr(e)==="string"}function Qr(e){var t=Object.prototype.toString.call(e);return (t.match(/^\[object\s+(.*?)\]$/)[1]||"").toLowerCase()}function Ti(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 td(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 rd(e){return e[e.length-1]}function Ri(e,t,r){return isNaN(e)?t:isNaN(t)?e:e+(t-e)*r}function nd(e,t,r){return (r-e)/(t-e)}function ys(e,t,r){return Ri(t[0],t[1],nd(e[0],e[1],r))}function ad(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 h0=Object.freeze({__proto__:null,isString:ba,type:Qr,toPrecision:Ti,parseFunction:td,last:rd,interpolate:Ri,interpolateInv:nd,mapRange:ys,parseCoordGrammar:ad,multiplyMatrices:Et}),g0=(function(){function e(){nr(this,e);}return Gt(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);});}}])})(),en=new g0,Er={gamut_mapping:"lch.c",precision:5,deltaE:"76"},vr={D50:[.3457/.3585,1,(1-.3457-.3585)/.3585],D65:[.3127/.329,1,(1-.3127-.329)/.329]};function ws(e){return Array.isArray(e)?e:vr[e]}function Fi(e,t,r){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};if(e=ws(e),t=ws(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(en.run("chromatic-adaptation-start",a),a.M||(a.W1===vr.D65&&a.W2===vr.D50?a.M=[[1.0479298208405488,.022946793341019088,-0.05019222954313557],[.029627815688159344,.990434484573249,-0.01707382502938514],[-0.009243058152591178,.015055144896577895,.7518742899580008]]:a.W1===vr.D50&&a.W2===vr.D65&&(a.M=[[.9554734527042182,-0.023098536874261423,.0632593086610217],[-0.028369706963208136,1.0099954580058226,.021041398966943008],[.012314001688319899,-0.020507696433477912,1.3303659366080753]])),en.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 v0=75e-6,br=(re=new WeakSet,oe=new WeakMap,(function(){function e(t){var r,n,a,i,o,s,l;nr(this,e),fi(this,re),Nt(this,oe,void 0),this.id=t.id,this.name=t.name,this.base=t.base?br.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=ws(c),this.formats=(i=t.formats)!==null&&i!==void 0?i:{};for(var h in this.formats){var b=this.formats[h];b.type||(b.type="function"),b.name||(b.name=h);}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,It(oe,this,Yr(re,this,b0).call(this).reverse()),en.run("colorspace-init-end",this);}return Gt(e,[{key:"inGamut",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=n.epsilon,i=a===void 0?v0: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=De(u.range,2),h=c[0],b=c[1];return (h===void 0||s>=h-i)&&(b===void 0||s<=b+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=Yr(re,this,id).call(this,r),r;var n;return r==="default"?n=Object.values(this.formats)[0]:n=this.formats[r],n?(n=Yr(re,this,id).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=br.get(r),this===r)return n;n=n.map(function(b){return Number.isNaN(b)?0:b});for(var i=zt(oe,this),o=zt(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 h=l+1;h<o.length;h++)n=o[h].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=br.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(br.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 br)return r;var n=Qr(r);if(n==="string"){var a=br.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 br.get.apply(br,o);throw new TypeError("".concat(r," is not a valid color space"))}},{key:"resolveCoord",value:function(r,n){var a=Qr(r),i,o;if(a==="string")if(r.includes(".")){var s=r.split("."),l=De(s,2);i=l[0],o=l[1];}else i=void 0,o=r;else if(Array.isArray(r)){var u=De(r,2);i=u[0],o=u[1];}else i=r.space,o=r.coordId;if(i=br.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=Qr(o),a==="number"||a==="string"&&o>=0){var c=Object.entries(i.coords)[o];if(c)return we({space:i,id:c[0],index:o},c[1])}i=br.get(i);var h=o.toLowerCase(),b=0;for(var E in i.coords){var R,O=i.coords[E];if(E.toLowerCase()===h||((R=O.name)===null||R===void 0?void 0:R.toLowerCase())===h)return we({space:i,id:E,index:b},O);b++;}throw new TypeError('No "'.concat(o,'" coordinate found in ').concat(i.name,". Its coordinates are: ").concat(Object.keys(i.coords).join(", ")))}}])})());function id(e){if(e.coords&&!e.coordGrammar){e.type||(e.type="function"),e.name||(e.name="color"),e.coordGrammar=ad(e.coords);var t=Object.entries(this.coords).map(function(r,n){var a=De(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=ys(s,l,a)),a=Ti(a,n),u&&(a+=u),a})};}return e}function b0(){for(var e=[this],t=this;t=t.base;)e.push(t);return e}var Ne=br;uc(Ne,"registry",{}),uc(Ne,"DEFAULT_FORMAT",{type:"functions",name:"color"});var ir=new Ne({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(nr(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=ir),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=Fi(a.white,a.base.white,l)),l}),(o=r.fromBase)!==null&&o!==void 0||(r.fromBase=function(s){return s=Fi(a.base.white,a.white,s),Et(r.fromXYZ_M,s)});}return (n=r.referred)!==null&&n!==void 0||(r.referred="display"),a=ee(this,t,[r])}return Ge(t,e),Gt(t)})(Ne);function od(e){var t,r={str:(t=String(e))===null||t===void 0?void 0:t.trim()};if(en.run("parse-start",r),r.color)return r.color;if(r.parsed=td(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(Ne.all),s;try{var l=function(){var Ae=s.value,le=Ae.getFormat("color");if(le){var ge;if(a===le.id||(ge=le.ids)!==null&&ge!==void 0&&ge.includes(a)){var xe=Object.keys(Ae.coords).length,Ee=Array(xe).fill(0);return Ee.forEach(function(Me,je){return Ee[je]=r.parsed.args[je]||0}),{v:{spaceId:Ae.id,coords:Ee,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 Ne.registry){var h,b=(h=Ne.registry[a].formats)===null||h===void 0||(h=h.functions)===null||h===void 0||(h=h.color)===null||h===void 0?void 0:h.id;b&&(c="Did you mean color(".concat(b,")?"));}throw new TypeError("Cannot parse color(".concat(a,"). ")+(c||"Missing a plugin?"))}else {var E=it(Ne.all),R;try{var O=function(){var Ae=R.value,le=Ae.getFormat(n);if(le&&le.type==="function"){var ge=1;(le.lastAlpha||rd(r.parsed.args).alpha)&&(ge=r.parsed.args.pop());var xe=r.parsed.args;return le.coordGrammar&&Object.entries(Ae.coords).forEach(function(Ee,Me){var je,Fe=De(Ee,2),qe=Fe[0],be=Fe[1],Pe=le.coordGrammar[Me],te=(je=xe[Me])===null||je===void 0?void 0:je.type;if(Pe=Pe.find(function(Ve){return Ve==te}),!Pe){var Ce=be.name||qe;throw new TypeError("".concat(te," not allowed for ").concat(Ce," in ").concat(n,"()"))}var me=Pe.range;te==="<percentage>"&&(me||(me=[0,1]));var Se=be.range||be.refRange;me&&Se&&(xe[Me]=ys(me,Se,xe[Me]));}),{v:{spaceId:Ae.id,coords:xe,alpha:ge}}}},B;for(E.s();!(R=E.n()).done;)if(B=O(),B)return B.v}catch(fe){E.e(fe);}finally{E.f();}}}else {var $=it(Ne.all),z;try{for($.s();!(z=$.n()).done;){var X=z.value;for(var Y in X.formats){var J=X.formats[Y];if(J.type==="custom"&&!(J.test&&!J.test(r.str))){var ne=J.parse(r.str);if(ne){var se;return (se=ne.alpha)!==null&&se!==void 0||(ne.alpha=1),ne}}}}}catch(fe){$.e(fe);}finally{$.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");ba(e)&&(e=od(e));var t=e.space||e.spaceId;return t instanceof Ne||(e.space=Ne.get(t)),e.alpha===void 0&&(e.alpha=1),e}function ya(e,t){return t=Ne.get(t),t.from(e)}function or(e,t){var r=Ne.resolveCoord(t,e.space),n=r.space,a=r.index,i=ya(e,n);return i[a]}function sd(e,t,r){return t=Ne.get(t),e.coords=t.to(e.space,r),e}function tn(e,t,r){if(e=lt(e),arguments.length===2&&Qr(arguments[1])==="object"){var n=arguments[1];for(var a in n)tn(e,a,n[a]);}else {typeof r=="function"&&(r=r(or(e,t)));var i=Ne.resolveCoord(t,e.space),o=i.space,s=i.index,l=ya(e,o);l[s]=r,sd(e,o,l);}return e}var xs=new Ne({id:"xyz-d50",name:"XYZ D50",white:"D50",base:ir,fromBase:function(t){return Fi(ir.white,"D50",t)},toBase:function(t){return Fi("D50",ir.white,t)},formats:{color:{}}}),y0=216/24389,ld=24/116,Ii=24389/27,Ds=vr.D50,Jt=new Ne({id:"lab",name:"Lab",coords:{l:{refRange:[0,100],name:"L"},a:{refRange:[-125,125]},b:{refRange:[-125,125]}},white:Ds,base:xs,fromBase:function(t){var r=t.map(function(a,i){return a/Ds[i]}),n=r.map(function(a){return a>y0?Math.cbrt(a):(Ii*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]>ld?Math.pow(r[0],3):(116*r[0]-16)/Ii,t[0]>8?Math.pow((t[0]+16)/116,3):t[0]/Ii,r[2]>ld?Math.pow(r[2],3):(116*r[2]-16)/Ii];return n.map(function(a,i){return a*Ds[i]})},formats:{lab:{coords:["<number> | <percentage>","<number>","<number>"]}}});function Li(e){return (e%360+360)%360}function w0(e,t){if(e==="raw")return t;var r=t.map(Li),n=De(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 wa=new Ne({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:Jt,fromBase:function(t){var r=De(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)),Li(o)]},toBase:function(t){var r=De(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>"]}}}),ud=Math.pow(25,7),Pi=Math.PI,cd=180/Pi,Ln=Pi/180;function _s(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=Jt.from(e),c=De(u,3),h=c[0],b=c[1],E=c[2],R=wa.from(Jt,[h,b,E])[1],O=Jt.from(t),B=De(O,3),$=B[0],z=B[1],X=B[2],Y=wa.from(Jt,[$,z,X])[1];R<0&&(R=0),Y<0&&(Y=0);var J=(R+Y)/2,ne=Math.pow(J,7),se=.5*(1-Math.sqrt(ne/(ne+ud))),fe=(1+se)*b,Ae=(1+se)*z,le=Math.sqrt(Math.pow(fe,2)+Math.pow(E,2)),ge=Math.sqrt(Math.pow(Ae,2)+Math.pow(X,2)),xe=fe===0&&E===0?0:Math.atan2(E,fe),Ee=Ae===0&&X===0?0:Math.atan2(X,Ae);xe<0&&(xe+=2*Pi),Ee<0&&(Ee+=2*Pi),xe*=cd,Ee*=cd;var Me=$-h,je=ge-le,Fe=Ee-xe,qe=xe+Ee,be=Math.abs(Fe),Pe;le*ge===0?Pe=0:be<=180?Pe=Fe:Fe>180?Pe=Fe-360:Fe<-180?Pe=Fe+360:console.log("the unthinkable has happened");var te=2*Math.sqrt(ge*le)*Math.sin(Pe*Ln/2),Ce=(h+$)/2,me=(le+ge)/2,Se=Math.pow(me,7),Ve;le*ge===0?Ve=qe:be<=180?Ve=qe/2:qe<360?Ve=(qe+360)/2:Ve=(qe-360)/2;var Re=Math.pow(Ce-50,2),Le=1+.015*Re/Math.sqrt(20+Re),et=1+.045*me,ut=1;ut-=.17*Math.cos((Ve-30)*Ln),ut+=.24*Math.cos(2*Ve*Ln),ut+=.32*Math.cos((3*Ve+6)*Ln),ut-=.2*Math.cos((4*Ve-63)*Ln);var pt=1+.015*me*ut,_t=30*Math.exp(-1*Math.pow((Ve-275)/25,2)),kt=2*Math.sqrt(Se/(Se+ud)),St=-1*Math.sin(2*_t*Ln)*kt,vt=Math.pow(Me/(a*Le),2);return vt+=Math.pow(je/(o*et),2),vt+=Math.pow(te/(l*pt),2),vt+=St*(je/(o*et))*(te/(l*pt)),Math.sqrt(vt)}var x0=75e-6;function xa(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?x0:n;e=lt(e),t=Ne.get(t);var i=e.coords;return t!==e.space&&(i=t.from(e)),t.inGamut(i,{epsilon:a})}function Da(e){return {space:e.space,coords:e.coords.slice(),alpha:e.alpha}}function rn(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.method,n=r===void 0?Er.gamut_mapping:r,a=t.space,i=a===void 0?e.space:a;if(ba(arguments[1])&&(i=arguments[1]),i=Ne.get(i),xa(e,i,{epsilon:0}))return e;var o=sr(e,i);if(n!=="clip"&&!xa(e,i)){var s=rn(Da(o),{method:"clip",space:i});if(_s(e,s)>2){for(var l=Ne.resolveCoord(n),u=l.space,c=l.id,h=sr(o,u),b=l.range||l.refRange,E=b[0],R=.01,O=E,B=or(h,c);B-O>R;){var $=Da(h);$=rn($,{space:i,method:"clip"});var z=_s(h,$);z-2<R?O=or(h,c):B=or(h,c),tn(h,c,(O+B)/2);}o=sr(h,i);}else o=s;}if(n==="clip"||!xa(o,i,{epsilon:0})){var X=Object.values(i.coords).map(function(Y){return Y.range||[]});o.coords=o.coords.map(function(Y,J){var ne=De(X[J],2),se=ne[0],fe=ne[1];return se!==void 0&&(Y=Math.max(se,Y)),fe!==void 0&&(Y=Math.min(Y,fe)),Y});}return i!==e.space&&(o=sr(o,e.space)),e.coords=o.coords,e}rn.returns="color";function sr(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=r.inGamut;e=lt(e),t=Ne.get(t);var a=t.from(e),i={space:t,coords:a,alpha:e.alpha};return n&&(i=rn(i)),i}sr.returns="color";function Mi(e){var t,r,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=n.precision,i=a===void 0?Er.precision:a,o=n.format,s=o===void 0?"default":o,l=n.inGamut,u=l===void 0?true:l,c=Z(n,D),h;e=lt(e);var b=s;s=(t=(r=e.space.getFormat(s))!==null&&r!==void 0?r:e.space.getFormat("default"))!==null&&t!==void 0?t:Ne.DEFAULT_FORMAT,u||(u=s.toGamut);var E=e.coords;if(E=E.map(function(Y){return Y||0}),u&&!xa(e)&&(E=rn(Da(e),u===true?void 0:u).coords),s.type==="custom")if(c.precision=i,s.serialize)h=s.serialize(E,e.alpha,c);else throw new TypeError("format ".concat(b," can only be used to parse colors, not for serialization"));else {var R=s.name||"color";s.serializeCoords?E=s.serializeCoords(E,i):i!==null&&(E=E.map(function(Y){return Ti(Y,i)}));var O=_e(E);if(R==="color"){var B,$=s.id||((B=s.ids)===null||B===void 0?void 0:B[0])||e.space.id;O.unshift($);}var z=e.alpha;i!==null&&(z=Ti(z,i));var X=e.alpha<1&&!s.noAlpha?"".concat(s.commas?",":" /"," ").concat(z):"";h="".concat(R,"(").concat(O.join(s.commas?", ":" ")).concat(X,")");}return h}var D0=[[.6369580483012914,.14461690358620832,.1688809751641721],[.2627002120112671,.6779980715188708,.05930171646986196],[0,.028072693049087428,1.060985057710791]],_0=[[1.716651187971268,-0.355670783776392,-0.25336628137366],[-0.666684351832489,1.616481236634939,.0157685458139111],[.017639857445311,-0.042770613257809,.942103121235474]],Oi=new Wt({id:"rec2020-linear",name:"Linear REC.2020",white:"D65",toXYZ_M:D0,fromXYZ_M:_0,formats:{color:{}}}),Ni=1.09929682680944,dd=.018053968510807,fd=new Wt({id:"rec2020",name:"REC.2020",base:Oi,toBase:function(t){return t.map(function(r){return r<dd*4.5?r/4.5:Math.pow((r+Ni-1)/Ni,1/.45)})},fromBase:function(t){return t.map(function(r){return r>=dd?Ni*Math.pow(r,.45)-(Ni-1):4.5*r})},formats:{color:{}}}),A0=[[.4865709486482162,.26566769316909306,.1982172852343625],[.2289745640697488,.6917385218365064,.079286914093745],[0,.04511338185890264,1.043944368900976]],E0=[[2.493496911941425,-0.9313836179191239,-0.40271078445071684],[-0.8294889695615747,1.7626640603183463,.023624685841943577],[.03584583024378447,-0.07617238926804182,.9568845240076872]],pd=new Wt({id:"p3-linear",name:"Linear P3",white:"D65",toXYZ_M:A0,fromXYZ_M:E0}),C0=[[.41239079926595934,.357584339383878,.1804807884018343],[.21263900587151027,.715168678767756,.07219231536073371],[.01933081871559182,.11919477979462598,.9505321522496607]],S0=[[3.2409699419045226,-1.537383177570094,-0.4986107602930034],[-0.9692436362808796,1.8759675015077202,.04155505740717559],[.05563007969699366,-0.20397695888897652,1.0569715142428786]],md=new Wt({id:"srgb-linear",name:"Linear sRGB",white:"D65",toXYZ_M:C0,fromXYZ_M:S0,formats:{color:{}}}),hd={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]},gd=Array(3).fill("<percentage> | <number>[0, 255]"),vd=Array(3).fill("<number>[0, 255]"),_a=new Wt({id:"srgb",name:"sRGB",base:md,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:gd},rgb_number:{name:"rgb",commas:true,coords:vd,noAlpha:true},color:{},rgba:{coords:gd,commas:true,lastAlpha:true},rgba_number:{name:"rgba",commas:true,coords:vd},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=hd.black,r.alpha=0):r.coords=hd[t],r.coords)return r}}}}),bd=new Wt({id:"p3",name:"P3",base:pd,fromBase:_a.fromBase,toBase:_a.toBase,formats:{color:{id:"display-p3"}}});if(Er.display_space=_a,typeof CSS<"u"&&(ue=CSS)!==null&&ue!==void 0&&ue.supports)for(var As=0,yd=[Jt,fd,bd];As<yd.length;As++){var Es=yd[As],k0=Es.getMinCoords(),T0={space:Es,coords:k0,alpha:1},R0=Mi(T0);if(CSS.supports("color",R0)){Er.display_space=Es;break}}function F0(e){var t,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=r.space,a=n===void 0?Er.display_space:n,i=Z(r,x),o=Mi(e,i);if(typeof CSS>"u"||(t=CSS)!==null&&t!==void 0&&t.supports("color",o)||!Er.display_space)o=new String(o),o.color=e;else {var s=sr(e,a);o=new String(Mi(s,i)),o.color=s;}return o}function wd(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"lab";r=Ne.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 I0(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 nn(e){return or(e,[ir,"y"])}function xd(e,t){tn(e,[ir,"y"],t);}function L0(e){Object.defineProperty(e.prototype,"luminance",{get:function(){return nn(this)},set:function(r){xd(this,r);}});}var P0=Object.freeze({__proto__:null,getLuminance:nn,setLuminance:xd,register:L0});function M0(e,t){e=lt(e),t=lt(t);var r=Math.max(nn(e),0),n=Math.max(nn(t),0);if(n>r){var a=[n,r];r=a[0],n=a[1];}return (r+.05)/(n+.05)}var O0=.56,N0=.57,q0=.62,B0=.65,Dd=.022,H0=1.414,V0=.1,$0=5e-4,j0=1.14,_d=.027,z0=1.14;function Ad(e){return e>=Dd?e:e+Math.pow(Dd-e,H0)}function Pn(e){var t=e<0?-1:1,r=Math.abs(e);return t*Math.pow(r,2.4)}function G0(e,t){t=lt(t),e=lt(e);var r,n,a,i,o,s;t=sr(t,"srgb");var l=De(t.coords,3);i=l[0],o=l[1],s=l[2];var u=Pn(i)*.2126729+Pn(o)*.7151522+Pn(s)*.072175;e=sr(e,"srgb");var c=De(e.coords,3);i=c[0],o=c[1],s=c[2];var h=Pn(i)*.2126729+Pn(o)*.7151522+Pn(s)*.072175,b=Ad(u),E=Ad(h),R=E>b;return Math.abs(E-b)<$0?n=0:R?(r=Math.pow(E,O0)-Math.pow(b,N0),n=r*j0):(r=Math.pow(E,B0)-Math.pow(b,q0),n=r*z0),Math.abs(n)<V0?a=0:n>0?a=n-_d:a=n+_d,a*100}function U0(e,t){e=lt(e),t=lt(t);var r=Math.max(nn(e),0),n=Math.max(nn(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 W0=5e4;function X0(e,t){e=lt(e),t=lt(t);var r=Math.max(nn(e),0),n=Math.max(nn(t),0);if(n>r){var a=[n,r];r=a[0],n=a[1];}return n===0?W0:(r-n)/n}function Y0(e,t){e=lt(e),t=lt(t);var r=or(e,[Jt,"l"]),n=or(t,[Jt,"l"]);return Math.abs(r-n)}var K0=216/24389,Ed=24/116,qi=24389/27,Cs=vr.D65,Ss=new Ne({id:"lab-d65",name:"Lab D65",coords:{l:{refRange:[0,100],name:"L"},a:{refRange:[-125,125]},b:{refRange:[-125,125]}},white:Cs,base:ir,fromBase:function(t){var r=t.map(function(a,i){return a/Cs[i]}),n=r.map(function(a){return a>K0?Math.cbrt(a):(qi*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]>Ed?Math.pow(r[0],3):(116*r[0]-16)/qi,t[0]>8?Math.pow((t[0]+16)/116,3):t[0]/qi,r[2]>Ed?Math.pow(r[2],3):(116*r[2]-16)/qi];return n.map(function(a,i){return a*Cs[i]})},formats:{"lab-d65":{coords:["<number> | <percentage>","<number>","<number>"]}}}),ks=Math.pow(5,.5)*.5+.5;function J0(e,t){e=lt(e),t=lt(t);var r=or(e,[Ss,"l"]),n=or(t,[Ss,"l"]),a=Math.abs(Math.pow(r,ks)-Math.pow(n,ks)),i=Math.pow(a,1/ks)*Math.SQRT2-40;return i<7.5?0:i}var Bi=Object.freeze({__proto__:null,contrastWCAG21:M0,contrastAPCA:G0,contrastMichelson:U0,contrastWeber:X0,contrastLstar:Y0,contrastDeltaPhi:J0});function Z0(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};ba(r)&&(r={algorithm:r});var n=r,a=n.algorithm,i=Z(n,S);if(!a){var o=Object.keys(Bi).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 Bi)if("contrast"+a.toLowerCase()===s.toLowerCase())return Bi[s](e,t,i);throw new TypeError("Unknown contrast algorithm: ".concat(a))}function Cd(e){var t=ya(e,ir),r=De(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 Sd(e){var t=ya(e,ir),r=De(t,3),n=r[0],a=r[1],i=r[2],o=n+a+i;return [n/o,a/o]}function Q0(e){Object.defineProperty(e.prototype,"uv",{get:function(){return Cd(this)}}),Object.defineProperty(e.prototype,"xy",{get:function(){return Sd(this)}});}var ew=Object.freeze({__proto__:null,uv:Cd,xy:Sd,register:Q0});function tw(e,t){return wd(e,t,"lab")}var rw=Math.PI,kd=rw/180;function nw(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=Jt.from(e),l=De(s,3),u=l[0],c=l[1],h=l[2],b=wa.from(Jt,[u,c,h]),E=De(b,3),R=E[1],O=E[2],B=Jt.from(t),$=De(B,3),z=$[0],X=$[1],Y=$[2],J=wa.from(Jt,[z,X,Y])[1];R<0&&(R=0),J<0&&(J=0);var ne=u-z,se=R-J,fe=c-X,Ae=h-Y,le=Math.pow(fe,2)+Math.pow(Ae,2)-Math.pow(se,2),ge=.511;u>=16&&(ge=.040975*u/(1+.01765*u));var xe=.0638*R/(1+.0131*R)+.638,Ee;Number.isNaN(O)&&(O=0),O>=164&&O<=345?Ee=.56+Math.abs(.2*Math.cos((O+168)*kd)):Ee=.36+Math.abs(.4*Math.cos((O+35)*kd));var Me=Math.pow(R,4),je=Math.sqrt(Me/(Me+1900)),Fe=xe*(je*Ee+1-je),qe=Math.pow(ne/(a*ge),2);return qe+=Math.pow(se/(o*xe),2),qe+=le/Math.pow(Fe,2),Math.sqrt(qe)}var Td=203,Ts=new Ne({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:ir,fromBase:function(t){return t.map(function(r){return Math.max(r*Td,0)})},toBase:function(t){return t.map(function(r){return Math.max(r/Td,0)})}}),Hi=1.15,Vi=.66,Rd=2610/Math.pow(2,14),aw=Math.pow(2,14)/2610,Fd=3424/Math.pow(2,12),Id=2413/Math.pow(2,7),Ld=2392/Math.pow(2,7),iw=1.7*2523/Math.pow(2,5),Pd=Math.pow(2,5)/(1.7*2523),$i=-0.56,Rs=16295499532821565e-27,ow=[[.41478972,.579999,.014648],[-0.20151,1.120649,.0531008],[-0.0166008,.2648,.6684799]],sw=[[1.9242264357876067,-1.0047923125953657,.037651404030618],[.35031676209499907,.7264811939316552,-0.06538442294808501],[-0.09098281098284752,-0.3127282905230739,1.5227665613052603]],lw=[[.5,.5,0],[3.524,-4.066708,.542708],[.199076,1.096799,-1.295875]],uw=[[1,.1386050432715393,.05804731615611886],[.9999999999999999,-0.1386050432715393,-0.05804731615611886],[.9999999999999998,-0.09601924202631895,-0.8118918960560388]],Md=new Ne({id:"jzazbz",name:"Jzazbz",coords:{jz:{refRange:[0,1],name:"Jz"},az:{refRange:[-0.5,.5]},bz:{refRange:[-0.5,.5]}},base:Ts,fromBase:function(t){var r=De(t,3),n=r[0],a=r[1],i=r[2],o=Hi*n-(Hi-1)*i,s=Vi*a-(Vi-1)*n,l=Et(ow,[o,s,i]),u=l.map(function(B){var $=Fd+Id*Math.pow(B/1e4,Rd),z=1+Ld*Math.pow(B/1e4,Rd);return Math.pow($/z,iw)}),c=Et(lw,u),h=De(c,3),b=h[0],E=h[1],R=h[2],O=(1+$i)*b/(1+$i*b)-Rs;return [O,E,R]},toBase:function(t){var r=De(t,3),n=r[0],a=r[1],i=r[2],o=(n+Rs)/(1+$i-$i*(n+Rs)),s=Et(uw,[o,a,i]),l=s.map(function(B){var $=Fd-Math.pow(B,Pd),z=Ld*Math.pow(B,Pd)-Id,X=1e4*Math.pow($/z,aw);return X}),u=Et(sw,l),c=De(u,3),h=c[0],b=c[1],E=c[2],R=(h+(Hi-1)*E)/Hi,O=(b+(Vi-1)*R)/Vi;return [R,O,E]},formats:{color:{}}}),Fs=new Ne({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:Md,fromBase:function(t){var r=De(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)),Li(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 cw(e,t){var r=Fs.from(e),n=De(r,3),a=n[0],i=n[1],o=n[2],s=Fs.from(t),l=De(s,3),u=l[0],c=l[1],h=l[2],b=a-u,E=i-c;Number.isNaN(o)&&Number.isNaN(h)?(o=0,h=0):Number.isNaN(o)?o=h:Number.isNaN(h)&&(h=o);var R=o-h,O=2*Math.sqrt(i*c)*Math.sin(R/2*(Math.PI/180));return Math.sqrt(Math.pow(b,2)+Math.pow(E,2)+Math.pow(O,2))}var Od=3424/4096,Nd=2413/128,qd=2392/128,Bd=2610/16384,dw=2523/32,fw=16384/2610,Hd=32/2523,pw=[[.3592,.6976,-0.0358],[-0.1922,1.1004,.0755],[.007,.0749,.8434]],mw=[[2048/4096,2048/4096,0],[6610/4096,-13613/4096,7003/4096],[17933/4096,-17390/4096,-543/4096]],hw=[[.9999888965628402,.008605050147287059,.11103437159861648],[1.00001110343716,-0.008605050147287059,-0.11103437159861648],[1.0000320633910054,.56004913547279,-0.3206339100541203]],gw=[[2.0701800566956137,-1.326456876103021,.20661600684785517],[.3649882500326575,.6804673628522352,-0.04542175307585323],[-0.04959554223893211,-0.04942116118675749,1.1879959417328034]],Is=new Ne({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:Ts,fromBase:function(t){var r=Et(pw,t);return vw(r)},toBase:function(t){var r=bw(t);return Et(gw,r)},formats:{color:{}}});function vw(e){var t=e.map(function(r){var n=Od+Nd*Math.pow(r/1e4,Bd),a=1+qd*Math.pow(r/1e4,Bd);return Math.pow(n/a,dw)});return Et(mw,t)}function bw(e){var t=Et(hw,e),r=t.map(function(n){var a=Math.max(Math.pow(n,Hd)-Od,0),i=Nd-qd*Math.pow(n,Hd);return 1e4*Math.pow(a/i,fw)});return r}function yw(e,t){var r=Is.from(e),n=De(r,3),a=n[0],i=n[1],o=n[2],s=Is.from(t),l=De(s,3),u=l[0],c=l[1],h=l[2];return 720*Math.sqrt(Math.pow(a-u,2)+.25*Math.pow(i-c,2)+Math.pow(o-h,2))}var ww=[[.8190224432164319,.3619062562801221,-0.12887378261216414],[.0329836671980271,.9292868468965546,.03614466816999844],[.048177199566046255,.26423952494422764,.6335478258136937]],xw=[[1.2268798733741557,-0.5578149965554813,.28139105017721583],[-0.04057576262431372,1.1122868293970594,-0.07171106666151701],[-0.07637294974672142,-0.4214933239627914,1.5869240244272418]],Dw=[[.2104542553,.793617785,-0.0040720468],[1.9779984951,-2.428592205,.4505937099],[.0259040371,.7827717662,-0.808675766]],_w=[[.9999999984505198,.39633779217376786,.2158037580607588],[1.0000000088817609,-0.10556134232365635,-0.06385417477170591],[1.0000000546724108,-0.08948418209496575,-1.2914855378640917]],ji=new Ne({id:"oklab",name:"OKLab",coords:{l:{refRange:[0,1],name:"L"},a:{refRange:[-0.4,.4]},b:{refRange:[-0.4,.4]}},white:"D65",base:ir,fromBase:function(t){var r=Et(ww,t),n=r.map(function(a){return Math.cbrt(a)});return Et(Dw,n)},toBase:function(t){var r=Et(_w,t),n=r.map(function(a){return Math.pow(a,3)});return Et(xw,n)},formats:{oklab:{coords:["<number> | <percentage>","<number>","<number>"]}}});function Aw(e,t){var r=ji.from(e),n=De(r,3),a=n[0],i=n[1],o=n[2],s=ji.from(t),l=De(s,3),u=l[0],c=l[1],h=l[2],b=a-u,E=i-c,R=o-h;return Math.sqrt(Math.pow(b,2)+Math.pow(E,2)+Math.pow(R,2))}var Ls=Object.freeze({__proto__:null,deltaE76:tw,deltaECMC:nw,deltaE2000:_s,deltaEJz:cw,deltaEITP:yw,deltaEOK:Aw});function Aa(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};ba(r)&&(r={method:r});var n=r,a=n.method,i=a===void 0?Er.deltaE:a,o=Z(n,F);e=lt(e),t=lt(t);for(var s in Ls)if("deltae"+i.toLowerCase()===s.toLowerCase())return Ls[s](e,t,o);throw new TypeError("Unknown deltaE method: ".concat(i))}function Ew(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:.25,r=Ne.get("oklch","lch"),n=[r,"l"];return tn(e,n,function(a){return a*(1+t)})}function Cw(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:.25,r=Ne.get("oklch","lch"),n=[r,"l"];return tn(e,n,function(a){return a*(1-t)})}var Sw=Object.freeze({__proto__:null,lighten:Ew,darken:Cw});function Vd(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],Qr(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=Ea(e,t,{space:s,outputSpace:l,premultiplied:u});return c(r)}function $d(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n;if(Ps(e)){n=e,r=t;var a=De(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,h=c===void 0?1e3:c,b=Z(i,C);if(!n){var E=[lt(e),lt(t)];e=E[0],t=E[1],n=Ea(e,t,b);}var R=Aa(e,t),O=o>0?Math.max(u,Math.ceil(R/o)+1):u,B=[];if(h!==void 0&&(O=Math.min(O,h)),O===1)B=[{p:.5,color:n(.5)}];else {var $=1/(O-1);B=Array.from({length:O},function(fe,Ae){var le=Ae*$;return {p:le,color:n(le)}});}if(o>0)for(var z=B.reduce(function(fe,Ae,le){if(le===0)return 0;var ge=Aa(Ae.color,B[le-1].color,s);return Math.max(fe,ge)},0);z>o;){z=0;for(var X=1;X<B.length&&B.length<h;X++){var Y=B[X-1],J=B[X],ne=(J.p+Y.p)/2,se=n(ne);z=Math.max(z,Aa(se,Y.color),Aa(se,J.color)),B.splice(X,0,{p:ne,color:n(ne)}),X++;}}return B=B.map(function(fe){return fe.color}),B}function Ea(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(Ps(e)){var n=e,a=t;return Ea.apply(void 0,_e(n.rangeArgs.colors).concat([we({},n.rangeArgs.options,a)]))}var i=r.space,o=r.outputSpace,s=r.progression,l=r.premultiplied;e=lt(e),t=lt(t),e=Da(e),t=Da(t);var u={colors:[e,t],options:r};if(i?i=Ne.get(i):i=Ne.registry[Er.interpolationSpace]||e.space,o=o?Ne.get(o):i,e=sr(e,i),t=sr(t,i),e=rn(e),t=rn(t),i.coords.h&&i.coords.h.type==="angle"){var c=r.hue=r.hue||"shorter",h=[i,"h"],b=[or(e,h),or(t,h)],E=b[0],R=b[1],O=w0(c,[E,R]),B=De(O,2);E=B[0],R=B[1],tn(e,h,E),tn(t,h,R);}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 z=e.coords.map(function(J,ne){var se=t.coords[ne];return Ri(J,se,$)}),X=Ri(e.alpha,t.alpha,$),Y={space:i,coords:z,alpha:X};return l&&(Y.coords=Y.coords.map(function(J){return J/X})),o!==i&&(Y=sr(Y,o)),Y},{rangeArgs:u})}function Ps(e){return Qr(e)==="function"&&!!e.rangeArgs}Er.interpolationSpace="lab";function kw(e){e.defineFunction("mix",Vd,{returns:"color"}),e.defineFunction("range",Ea,{returns:"function<color>"}),e.defineFunction("steps",$d,{returns:"array<color>"});}var Tw=Object.freeze({__proto__:null,mix:Vd,steps:$d,range:Ea,isRange:Ps,register:kw}),jd=new Ne({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:_a,fromBase:function(t){var r=Math.max.apply(Math,_e(t)),n=Math.min.apply(Math,_e(t)),a=De(t,3),i=a[0],o=a[1],s=a[2],l=NaN,u=0,c=(n+r)/2,h=r-n;if(h!==0){switch(u=c===0||c===1?0:(r-c)/Math.min(c,1-c),r){case i:l=(o-s)/h+(o<s?6:0);break;case o:l=(s-i)/h+2;break;case s:l=(i-o)/h+4;}l=l*60;}return [l,u*100,c*100]},toBase:function(t){var r=De(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}}}),zd=new Ne({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:jd,fromBase:function(t){var r=De(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=De(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}}}),Rw=new Ne({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:zd,fromBase:function(t){var r=De(t,3),n=r[0],a=r[1],i=r[2];return [n,i*(100-a)/100,100-i]},toBase:function(t){var r=De(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>"]}}}),Fw=[[.5766690429101305,.1855582379065463,.1882286462349947],[.29734497525053605,.6273635662554661,.07529145849399788],[.02703136138641234,.07068885253582723,.9913375368376388]],Iw=[[2.0415879038107465,-0.5650069742788596,-0.34473135077832956],[-0.9692436362808795,1.8759675015077202,.04155505740717557],[.013444280632031142,-0.11836239223101838,1.0151749943912054]],Gd=new Wt({id:"a98rgb-linear",name:"Linear Adobe\xAE 98 RGB compatible",white:"D65",toXYZ_M:Fw,fromXYZ_M:Iw}),Lw=new Wt({id:"a98rgb",name:"Adobe\xAE 98 RGB compatible",base:Gd,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"}}}),Pw=[[.7977604896723027,.13518583717574031,.0313493495815248],[.2880711282292934,.7118432178101014,8565396060525902e-20],[0,0,.8251046025104601]],Mw=[[1.3457989731028281,-0.25558010007997534,-0.05110628506753401],[-0.5446224939028347,1.5082327413132781,.02053603239147973],[0,0,1.2119675456389454]],Ud=new Wt({id:"prophoto-linear",name:"Linear ProPhoto",white:"D50",base:xs,toXYZ_M:Pw,fromXYZ_M:Mw}),Ow=1/512,Nw=16/512,qw=new Wt({id:"prophoto",name:"ProPhoto",base:Ud,toBase:function(t){return t.map(function(r){return r<Nw?r/16:Math.pow(r,1.8)})},fromBase:function(t){return t.map(function(r){return r>=Ow?Math.pow(r,1/1.8):16*r})},formats:{color:{id:"prophoto-rgb"}}}),Bw=new Ne({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:ji,fromBase:function(t){var r=De(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)),Li(o)]},toBase:function(t){var r=De(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>"]}}}),Wd=203,Xd=2610/Math.pow(2,14),Hw=Math.pow(2,14)/2610,Vw=2523/Math.pow(2,5),Yd=Math.pow(2,5)/2523,Kd=3424/Math.pow(2,12),Jd=2413/Math.pow(2,7),Zd=2392/Math.pow(2,7),$w=new Wt({id:"rec2100pq",name:"REC.2100-PQ",base:Oi,toBase:function(t){return t.map(function(r){var n=Math.pow(Math.max(Math.pow(r,Yd)-Kd,0)/(Jd-Zd*Math.pow(r,Yd)),Hw);return n*1e4/Wd})},fromBase:function(t){return t.map(function(r){var n=Math.max(r*Wd/1e4,0),a=Kd+Jd*Math.pow(n,Xd),i=1+Zd*Math.pow(n,Xd);return Math.pow(a/i,Vw)})},formats:{color:{id:"rec2100-pq"}}}),Qd=.17883277,ef=.28466892,tf=.55991073,Ms=3.7743,jw=new Wt({id:"rec2100hlg",cssid:"rec2100-hlg",name:"REC.2100-HLG",referred:"scene",base:Oi,toBase:function(t){return t.map(function(r){return r<=.5?Math.pow(r,2)/3*Ms:Math.exp((r-tf)/Qd+ef)/12*Ms})},fromBase:function(t){return t.map(function(r){return r/=Ms,r<=1/12?Math.sqrt(3*r):Qd*Math.log(12*r-ef)+tf})},formats:{color:{id:"rec2100-hlg"}}}),rf={};en.add("chromatic-adaptation-start",function(e){e.options.method&&(e.M=nf(e.W1,e.W2,e.options.method));}),en.add("chromatic-adaptation-end",function(e){e.M||(e.M=nf(e.W1,e.W2,e.options.method));});function zi(e){var t=e.id;e.toCone_M;e.fromCone_M;rf[t]=arguments[0];}function nf(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"Bradford",n=rf[r],a=Et(n.toCone_M,e),i=De(a,3),o=i[0],s=i[1],l=i[2],u=Et(n.toCone_M,t),c=De(u,3),h=c[0],b=c[1],E=c[2],R=[[h/o,0,0],[0,b/s,0],[0,0,E/l]],O=Et(R,n.toCone_M),B=Et(n.fromCone_M,O);return B}zi({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]]}),zi({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]]}),zi({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]]}),zi({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(vr,{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]}),vr.ACES=[.32168/.33767,1,(1-.32168-.33767)/.33767];var zw=[[.6624541811085053,.13400420645643313,.1561876870049078],[.27222871678091454,.6740817658111484,.05368951740793705],[-0.005574649490394108,.004060733528982826,1.0103391003129971]],Gw=[[1.6410233796943257,-0.32480329418479,-0.23642469523761225],[-0.6636628587229829,1.6153315916573379,.016756347685530137],[.011721894328375376,-0.008284441996237409,.9883948585390215]],af=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:vr.ACES,toXYZ_M:zw,fromXYZ_M:Gw,formats:{color:{}}}),Gi=Math.pow(2,-16),Os=-0.35828683,Ui=(Math.log2(65504)+9.72)/17.52,Uw=new Wt({id:"acescc",name:"ACEScc",coords:{r:{range:[Os,Ui],name:"Red"},g:{range:[Os,Ui],name:"Green"},b:{range:[Os,Ui],name:"Blue"}},referred:"scene",base:af,toBase:function(t){var r=-0.3013698630136986;return t.map(function(n){return n<=r?(Math.pow(2,n*17.52-9.72)-Gi)*2:n<Ui?Math.pow(2,n*17.52-9.72):65504})},fromBase:function(t){return t.map(function(r){return r<=0?(Math.log2(Gi)+9.72)/17.52:r<Gi?(Math.log2(Gi+r*.5)+9.72)/17.52:(Math.log2(r)+9.72)/17.52})},formats:{color:{}}}),of=Object.freeze({__proto__:null,XYZ_D65:ir,XYZ_D50:xs,XYZ_ABS_D65:Ts,Lab_D65:Ss,Lab:Jt,LCH:wa,sRGB_Linear:md,sRGB:_a,HSL:jd,HWB:Rw,HSV:zd,P3_Linear:pd,P3:bd,A98RGB_Linear:Gd,A98RGB:Lw,ProPhoto_Linear:Ud,ProPhoto:qw,REC_2020_Linear:Oi,REC_2020:fd,OKLab:ji,OKLCH:Bw,Jzazbz:Md,JzCzHz:Fs,ICTCP:Is,REC_2100_PQ:$w,REC_2100_HLG:jw,ACEScg:af,ACEScc:Uw}),ft=(ve=new WeakMap,(function(){function e(){var t=this;nr(this,e),Nt(this,ve,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]),It(ve,this,Ne.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(E){Object.defineProperty(t,E,{get:function(){return t.get(E)},set:function(O){return t.set(E,O)}});};for(var h in zt(ve,this).coords)c(h);}return Gt(e,[{key:"space",get:function(){return zt(ve,this)}},{key:"spaceId",get:function(){return zt(ve,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=F0.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 K(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 h=c;c=function(){var E=h.apply(void 0,arguments);return ft.get(E)},Object.assign(c,h);}else s==="array<color>"&&(c=c.map(function(b){return ft.get(b)}));return c};r in ft||(ft[r]=l),o&&(ft.prototype[r]=function(){for(var u=arguments.length,c=new Array(u),h=0;h<u;h++)c[h]=arguments[h];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:or,getAll:ya,set:tn,setAll:sd,to:sr,equals:I0,inGamut:xa,toGamut:rn,distance:wd,toString:Mi}),Object.assign(ft,{util:h0,hooks:en,WHITES:vr,Space:Ne,spaces:Ne.registry,parse:od,defaults:Er});for(var Ns=0,sf=Object.keys(of);Ns<sf.length;Ns++){var Ww=sf[Ns];Ne.register(of[Ww]);}for(var lf in Ne.registry)qs(lf,Ne.registry[lf]);en.add("colorspace-init-end",function(e){var t;qs(e.id,e),(t=e.aliases)===null||t===void 0||t.forEach(function(r){qs(r,e);});});function qs(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 Ne.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=Ne.resolveCoord([t,l]),h=c.index;if(h>=0)return s[h]}return Reflect.get(s,l,u)},set:function(s,l,u,c){if(l&&de(l)!=="symbol"&&!(l in s)||l>=0){var h=Ne.resolveCoord([t,l]),b=h.index;if(b>=0)return s[b]=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(Ls),ft.extend({deltaE:Aa}),ft.extend(Sw),ft.extend({contrast:Z0}),ft.extend(ew),ft.extend(P0),ft.extend(Tw),ft.extend(Bi);var uf=_r(Ic());Zr.default.templateSettings.strip=false,p._memoizedFns=[];function Xw(e){var t=(0, ed.default)(e);return p._memoizedFns.push(t),t}var ht=Xw,Yw=ht(function(e){return e!=null&&e.createElement?e.createElement("A").localName==="A":false}),Ca=Yw;function Bs(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!t)return "";var n=t.getRootNode&&t.getRootNode()||m;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 Kw=["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"],Jw=31,Zw=/([\\"])/g,Qw=/(\r\n|\r|\n)/g;function Hs(e){return e.replace(Zw,"\\$1").replace(Qw,"\\a ")}function cf(e,t){var r=t.name,n;if(r.indexOf("href")!==-1||r.indexOf("src")!==-1){var a=Jc(e.getAttribute(r));a?n=Dt(t.name)+'$="'+Hs(a)+'"':n=Dt(t.name)+'="'+Hs(e.getAttribute(r))+'"';}else n=Dt(r)+'="'+Hs(t.value)+'"';return n}function Vs(e,t){return e.count<t.count?-1:e.count===t.count?0:1}function df(e){return !Kw.includes(e.name)&&e.name.indexOf(":")===-1&&(!e.value||e.value.length<Jw)}function Wi(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(va(s)).filter(df).forEach(function(u){var c=cf(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 ex(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(Vs)}function tx(e,t){var r=e.parentNode&&Array.from(e.parentNode.children||"")||[],n=r.find(function(i){return i!==e&&In(i,t)});if(n){var a=1+r.indexOf(e);return ":nth-child("+a+")"}else return ""}function rx(e){if(e.getAttribute("id")){var t=e.getRootNode&&e.getRootNode()||m,r="#"+Dt(e.getAttribute("id")||"");if(!r.match(/player_uid_/)&&t.querySelectorAll(r).length===1)return r}}function ff(e){var t=Ca(m);return Dt(t?e.localName:e.nodeName.toLowerCase())}function nx(e,t){var r=[],n=t.attributes,a=t.tags;return e.hasAttributes()&&Array.from(va(e)).filter(df).forEach(function(i){var o=cf(e,i);o&&n[o]<a[e.nodeName]&&r.push({name:o,count:n[o],species:"attribute"});}),r.sort(Vs)}function ax(e,t){var r="",n,a=ex(e,t),i=nx(e,t);return a.length&&a[0].count===1?n=[a[0]]:i.length&&i[0].count===1?(n=[i[0]],r=ff(e)):(n=a.concat(i),n.sort(Vs),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=ff(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 ix(e,t,r){if(!p._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=rx(e);s||(s=ax(e,p._selectorData),s+=tx(e,s)),i?i=s+" > "+i:i=s,!o||o.length>Xe.selectorSimilarFilterLimit?o=sx(r,i):o=o.filter(function(l){return In(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 ox(e,t){return Bs(ix,e,t)}var $s=ht(ox),sx=ht(function(e,t){return Array.from(e.querySelectorAll(t))});function pf(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?pf(r)+" > "+t+a:t+a}function Xi(e,t){return Bs(pf,e,t)}function mf(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=mf(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 lx(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 ux(e){var t=mf(e);return lx(t)}var hf=ux,Sa={},cx={set:function(t,r){dx(t),Sa[t]=r;},get:function(t,r){if(fx(r),t in Sa)return Sa[t];if(typeof r=="function"){var n=r();return nt(n!==void 0,"Cache creator function should not return undefined"),this.set(t,n),Sa[t]}},clear:function(){Sa={};}};function dx(e){nt(typeof e=="string","key must be a string, "+de(e)+" given"),nt(e!=="","key must not be empty");}function fx(e){nt(typeof e=="function"||typeof e>"u","creator must be a function or undefined, "+de(e)+" given");}var We=cx;function px(e,t){var r=t||e;return We.get("nodeMap")?We.get("nodeMap").get(r):null}var Ke=px;function gf(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 js(s,n)}var l=mx(e);return l.length>n?hx(e,{maxLength:n,attrLimit:i}):l}function mx(e){var t=e.outerHTML;return !t&&typeof f.XMLSerializer=="function"&&(t=new f.XMLSerializer().serializeToString(e)),t||""}function hx(e,t){var r=t.maxLength,n=t.attrLimit,a=Ca(e.ownerDocument||m)?e.nodeName:e.nodeName.toLowerCase(),i=Array.from(va(e)).map(function(R){var O=R.name,B=R.value;return {name:O,value:B}}),o=i.reduce(function(R,O){var B=O.name,$=O.value;return R+B.length+$.length+4},0);2+a.length+o>r&&i.forEach(function(R){R.name=js(R.name,n),R.value=js(R.value,n);});var s="<".concat(a),l=">",u=" ...>",c=it(i),h;try{for(c.s();!(h=c.n()).done;){var b=h.value,E=" ".concat(b.name,'="').concat(b.value,'"');if(s.length+E.length>r-u.length){l=u;continue}s+=E;}}catch(R){c.e(R);}finally{c.f();}return s+l}function js(e,t){return e.length<=t?e:e.substring(0,t)+"..."}var vf="DqElm.RunOptions",xn=ht(function(t,r,n){var a,i;if(r??(r=null),n??(n={}),!r){var o;r=(o=We.get(vf))!==null&&o!==void 0?o:{};}if(this.spec=n,t instanceof Lt?(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,!p._audit.noHtml){var s;this.source=(s=this.spec.source)!==null&&s!==void 0?s:gf(this._element);}return this});xn.prototype={get selector(){return this.spec.selector||[$s(this.element,this._options)]},get ancestry(){return this.spec.ancestry||[Xi(this.element)]},get xpath(){return this.spec.xpath||[hf(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}},xn.fromFrame=function(t,r,n){var a=xn.mergeSpecs(t,n);return new xn(n.element,r,a)},xn.mergeSpecs=function(t,r){return we({},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})},xn.setRunOptions=function(t){var r=t.elementRef,n=t.absolutePaths;We.set(vf,{elementRef:r,absolutePaths:n});};var lr=xn;function gx(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){f.Node&&(i instanceof f.Node||i instanceof Lt?i=[i]:i=Kc(i),e.relatedNodes=[],i.forEach(function(o){if(o instanceof Lt&&(o=o.actualNode),o instanceof f.Node){var s=new lr(o);e.relatedNodes.push(s);}}));}}}var zs=gx;function Vr(e){return Gs(e,new Map)}function Gs(e,t){var r,n;if(e===null||de(e)!=="object"||(r=f)!==null&&r!==void 0&&r.Node&&e instanceof f.Node||(n=f)!==null&&n!==void 0&&n.HTMLCollection&&e instanceof f.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(Gs(s,t));}),a}var i={};t.set(e,i);for(var o in e)i[o]=Gs(e[o],t);return i}var ka=new Qc.CssSelectorParser;ka.registerSelectorPseudos("not"),ka.registerSelectorPseudos("is"),ka.registerNestingOperators(">"),ka.registerAttrEqualityMods("^","$","*","~");var bf=ka;function Us(e,t){var r=Yi(t);return r.some(function(n){return Mn(e,n)})}function vx(e,t){return e.props.nodeType===1&&(t.tag==="*"||e.props.nodeName===t.tag)}function bx(e,t){return !t.classes||t.classes.every(function(r){return e.hasClass(r.value)})}function yx(e,t){return !t.attributes||t.attributes.every(function(r){var n=e.attr(r.key);return n!==null&&r.test(n)})}function wx(e,t){return !t.id||e.props.id===t.id}function xx(e,t){return !!(!t.pseudos||t.pseudos.every(function(r){if(r.name==="not")return !r.expressions.some(function(n){return Mn(e,n)});if(r.name==="is")return r.expressions.some(function(n){return Mn(e,n)});throw new Error("the pseudo selector "+r.name+" has not yet been implemented")}))}function yf(e,t){return vx(e,t)&&bx(e,t)&&yx(e,t)&&wx(e,t)&&xx(e,t)}var Ta=(function(){var e=/(?=[\-\[\]{}()*+?.\\\^$|,#\s])/g,t="\\";return function(r){return r.replace(e,t)}})(),Ws=/\\/g;function Dx(e){if(e)return e.map(function(t){var r=t.name.replace(Ws,""),n=(t.value||"").replace(Ws,""),a,i;switch(t.operator){case "^=":i=new RegExp("^"+Ta(n));break;case "$=":i=new RegExp(Ta(n)+"$");break;case "~=":i=new RegExp("(^|\\s)"+Ta(n)+"(\\s|$)");break;case "|=":i=new RegExp("^"+Ta(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 _x(e){if(e)return e.map(function(t){return t=t.replace(Ws,""),{value:t,regexp:new RegExp("(^|\\s)"+Ta(t)+"(\\s|$)")}})}function Ax(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=wf(r)),{name:t.name,expressions:r,value:t.value}})}function wf(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:Dx(n.attrs),classes:_x(n.classNames),pseudos:Ax(n.pseudos)}),n=n.rule;return r})}function Yi(e){var t=bf.parse(e);return t=t.selectors?t.selectors:[t],wf(t)}function xf(e,t,r,n){if(!e)return false;for(var a=Array.isArray(t),i=a?t[r]:t,o=yf(e,i);!o&&n&&e.parent;)e=e.parent,o=yf(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&&xf(e.parent,t,r-1,i.combinator===" ");}return o}function Mn(e,t,r){return xf(e,t,t.length-1,r)}function Ex(e,t){for(;e;){if(Us(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 Zt=Ex;function Ki(){}function Xs(e){if(typeof e!="function")throw new TypeError("Queue methods require functions as arguments")}function Cx(){var e=[],t=0,r=0,n=Ki,a=false,i,o=function(E){i=E,setTimeout(function(){i!=null&&wn("Uncaught error (of queue)",i);},1);},s=o;function l(b){return function(E){e[b]=E,r-=1,!r&&n!==Ki&&(a=true,n(e));}}function u(b){return n=Ki,s(b),e}function c(){for(var b=e.length;t<b;t++){var E=e[t];try{E.call(null,l(t),u);}catch(R){u(R);}}}var h={defer:function(E){if(de(E)==="object"&&E.then&&E.catch){var R=E;E=function(B,$){R.then(B).catch($);};}if(Xs(E),i===void 0){if(a)throw new Error("Queue already completed");return e.push(E),++r,c(),h}},then:function(E){if(Xs(E),n!==Ki)throw new Error("queue `then` already set");return i||(n=E,r||(a=true,n(e))),h},catch:function(E){if(Xs(E),s!==o)throw new Error("queue `catch` already set");return i?(E(i),i=null):s=E,h},abort:u};return h}var Cr=Cx,On,Nn,Ys=f.crypto||f.msCrypto;if(!Nn&&Ys&&Ys.getRandomValues){var Df=new Uint8Array(16);Nn=function(){return Ys.getRandomValues(Df),Df};}if(!Nn){var _f=new Array(16);Nn=function(){for(var t=0,r;t<16;t++)(t&3)===0&&(r=Math.random()*4294967296),_f[t]=r>>>((t&3)<<3)&255;return _f};}for(var Af=typeof f.Buffer=="function"?f.Buffer:Array,Ks=[],Ef={},qn=0;qn<256;qn++)Ks[qn]=(qn+256).toString(16).substr(1),Ef[Ks[qn]]=qn;function Sx(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++]=Ef[i]);});a<16;)t[n+a++]=0;return t}function Js(e,t){var r=t||0,n=Ks;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 an=Nn(),kx=[an[0]|1,an[1],an[2],an[3],an[4],an[5]],Cf=(an[6]<<8|an[7])&16383,Zs=0,Qs=0;function Sf(e,t,r){var n=t&&r||0,a=t||[];e=e||{};var i=e.clockseq!=null?e.clockseq:Cf,o=e.msecs!=null?e.msecs:new Date().getTime(),s=e.nsecs!=null?e.nsecs:Qs+1,l=o-Zs+(s-Qs)/1e4;if(l<0&&e.clockseq==null&&(i=i+1&16383),(l<0||o>Zs)&&e.nsecs==null&&(s=0),s>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");Zs=o,Qs=s,Cf=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 h=e.node||kx,b=0;b<6;b++)a[n+b]=h[b];return t||Js(a)}function Dn(e,t,r){var n=t&&r||0;typeof e=="string"&&(t=e=="binary"?new Af(16):null,e=null),e=e||{};var a=e.random||(e.rng||Nn)();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||Js(a)}On=Dn,On.v1=Sf,On.v4=Dn,On.parse=Sx,On.unparse=Js,On.BufferClass=Af,p._uuid=Sf();var Tx=Dn,Rx=Object.freeze(["EvalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"]);function Fx(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:kf()};return n instanceof Error?o.error={name:n.name,message:n.message,stack:n.stack}:o.payload=n,JSON.stringify(o)}function Ix(e){var t;try{t=JSON.parse(e);}catch{return}if(Lx(t)){var r=t,n=r.topic,a=r.channelId,i=r.messageId,o=r.keepalive,s=de(t.error)==="object"?Px(t.error):t.payload;return {topic:n,message:s,messageId:i,channelId:a,keepalive:!!o}}}function Lx(e){return e!==null&&de(e)==="object"&&typeof e.channelId=="string"&&e.source===kf()}function Px(e){var t=e.message||"Unknown error occurred",r=Rx.includes(e.name)?e.name:"Error",n=f[r]||Error;return e.stack&&(t+=`
|
|
372
|
+
`+e.stack.replace(e.message,"")),new n(t)}function kf(){var e="axeAPI",t="";return typeof p<"u"&&p._audit&&p._audit.application&&(e=p._audit.application),typeof p<"u"&&(t=p.version),e+"."+t}function el(e){Rf(e),nt(f.parent===e,"Source of the response must be the parent window.");}function Tf(e){Rf(e),nt(e.parent===f,"Respondable target must be a frame in the current window");}function Rf(e){nt(f!==e,"Messages can not be sent to the same window.");}var Ra={};function Mx(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:true;nt(!Object.prototype.hasOwnProperty.call(Ra,e),"A replyHandler already exists for this message channel."),Ra[e]={replyHandler:t,sendToParent:r};}function Ox(e){return Object.prototype.hasOwnProperty.call(Ra,e)?Ra[e]:void 0}function Nx(e){delete Ra[e];}var Ji=[];function tl(){var e="".concat(Dn(),":").concat(Dn());return Ji.includes(e)?tl():(Ji.push(e),e)}function qx(e){return Ji.includes(e)?false:(Ji.push(e),true)}function rl(e,t,r,n){if(r?el(e):Tf(e),t.message instanceof Error&&!r)return p.log(t.message),false;var a=Fx(we({messageId:tl()},t)),i=p._audit.allowedOrigins;return !i||!i.length?false:(typeof n=="function"&&Mx(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 Bx(e,t,r){if(!e.parent!==f)return p.log(t);try{rl(e,{topic:null,channelId:r,message:t,messageId:tl(),keepalive:!0},!0);}catch(n){return p.log(n)}}function Ff(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};rl(e,s,r,o);}}function Hx(e){var t=p._audit.allowedOrigins;return t&&t.includes("*")||t.includes(e)}function Vx(e,t){var r=e.origin,n=e.data,a=e.source;try{var i=Ix(n)||{},o=i.channelId,s=i.message,l=i.messageId;if(!Hx(r)||!qx(l))return;if(s instanceof Error&&a.parent!==f)return p.log(s),!1;try{if(i.topic){var u=Ff(a,o);el(a),t(i,u);}else $x(a,i);}catch(c){Bx(a,c,o);}}catch(c){return p.log(c),false}}function $x(e,t){var r=t.channelId,n=t.message,a=t.keepalive,i=Ox(r)||{},o=i.replyHandler,s=i.sendToParent;if(o){s?el(e):Tf(e);var l=Ff(e,r,s);!a&&r&&Nx(r);try{o(n,a,l);}catch(u){p.log(u),l(u,a);}}}var jx={open:function(t){if(typeof f.addEventListener=="function"){var r=function(a){Vx(a,t);};return f.addEventListener("message",r,false),function(){f.removeEventListener("message",r,false);}}},post:function(t,r,n){return typeof f.addEventListener!="function"?false:rl(t,r,false,n)}};function If(e){e.updateMessenger(jx);}var Zi,Lf,Qi={};function yr(e,t,r,n,a){var i={topic:t,message:r,channelId:"".concat(Dn(),":").concat(Dn()),keepalive:n};return Lf(e,i,a)}function zx(e,t){var r=e.topic,n=e.message,a=e.keepalive,i=Object.prototype.hasOwnProperty.call(Qi,r)?Qi[r]:void 0;if(i)try{i(n,a,t);}catch(o){p.log(o),t(o,a);}}yr.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"),Zi&&Zi();var a=r(zx);a?(nt(typeof a=="function","open callback must return a cleanup function"),Zi=a):Zi=null,Lf=n;},yr.subscribe=function(t,r){nt(typeof r=="function","Subscriber callback must be a function"),nt(!Object.prototype.hasOwnProperty.call(Qi,t),"Topic ".concat(t," is already registered to.")),Qi[t]=r;},yr.isInFrame=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:f;return !!t.frameElement},If(yr);function Pf(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){wn("Frame does not have a content window",e),r(null);return}if(s===0){Mf(e,t,r,n);return}var l=setTimeout(function(){l=setTimeout(function(){t.debug?n(Of("No response from frame",e)):r(null);},0);},s);yr(o,"axe.ping",null,void 0,function(){clearTimeout(l),Mf(e,t,r,n);});}function Mf(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(Of("Axe in frame timed out",e));},o);yr(s,"axe.start",t,void 0,function(u){clearTimeout(l),u instanceof Error?n(u):r(u);});}function Of(e,t){var r;return p._tree&&(r=$s(t)),new Error(e+": "+(r||t))}var Fa=null,Ia={update:function(t){nt(de(t)==="object","serializer must be an object"),Fa=t;},toSpec:function(t){return Ia.dqElmToSpec(new lr(t))},dqElmToSpec:function(t,r){var n;return t instanceof lr?(r&&(t=Gx(t,r)),typeof((n=Fa)===null||n===void 0?void 0:n.toSpec)=="function"?Fa.toSpec(t):t.toJSON()):t},mergeSpecs:function(t,r){var n;return typeof((n=Fa)===null||n===void 0?void 0:n.mergeSpecs)=="function"?Fa.mergeSpecs(t,r):lr.mergeSpecs(t,r)},mapRawResults:function(t){return t.map(function(r){return we({},r,{nodes:Ia.mapRawNodeResults(r.nodes)})})},mapRawNodeResults:function(t){return t?.map(function(r){var n=r.node,a=Z(r,y);a.node=Ia.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=Z(l,A);return c.relatedNodes=u.map(Ia.dqElmToSpec),c});}return a})}},ur=Ia;function Gx(e,t){var r=e.fromFrame,n=t.ancestry,a=t.xpath,i=t.selectors!==false||r;return e=new lr(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 Ux(e){var t=[];return t.concat(e.any||[]).concat(e.all||[]).concat(e.none||[])}var eo=Ux;function Wx(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 La=Wx;function Xx(e,t,r){e.forEach(function(n){n.node=ur.mergeSpecs(n.node,r);var a=eo(n);a.forEach(function(i){i.relatedNodes=i.relatedNodes.map(function(o){return ur.mergeSpecs(o,r)});});});}function Yx(e,t){for(var r=t[0].node,n,a=0;a<e.length;a++){n=e[a].node;var i=Nf(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 Kx(e){return !e||!e.results?null:Array.isArray(e.results)?e.results.length?e.results:null:[e.results]}function Jx(e,t){var r=[];return e.forEach(function(n){var a=Kx(n);if(!(!a||!a.length)){var i=Zx(n);a.forEach(function(o){o.nodes&&i&&Xx(o.nodes,t,i);var s=La(r,"id",o.id);if(!s)r.push(o);else if(o.nodes.length&&Yx(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 Nf(a.node.nodeIndexes,i.node.nodeIndexes)});}),r}function Nf(){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 to=Jx;function Zx(e){return e.frameElement?ur.toSpec(e.frameElement):e.frameSpec?e.frameSpec:null}function qf(e,t,r,n,a,i){t=we({},t,{elementRef:false});var o=Cr(),s=e.frames;s.forEach(function(l){var u=l.node,c=Z(l,_);o.defer(function(h,b){var E={options:t,command:r,parameter:n,context:c};function R(O){return h(O?{results:O,frameElement:u}:null)}Pf(u,E,R,b);});}),o.then(function(l){a(to(l,t));}).catch(i);}function $r(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 Bf(){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]=Bf(e[s],a[s]);}}),e}var nl=Bf;function Qx(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 al=Qx,eD=["article","aside","blockquote","body","div","footer","h1","h2","h3","h4","h5","h6","header","main","nav","p","section","span"];function tD(e){if(e.shadowRoot){var t=e.nodeName.toLowerCase();if(eD.includes(t)||/^[a-z][a-z0-9_.-]*-[a-z0-9_.-]*$/.test(t))return true}return false}var ro=tD,il={};pr(il,{createGrid:function(){return Na},findElmsInContext:function(){return Hf},findNearbyElms:function(){return co},findUp:function(){return Hn},findUpVirtual:function(){return Bn},focusDisabled:function(){return hl},getComposedParent:function(){return Pt},getElementByReference:function(){return vl},getElementCoordinates:function(){return ll},getElementStack:function(){return xp},getModalDialog:function(){return gp},getNodeGrid:function(){return uo},getOverflowHiddenAncestors:function(){return Ma},getRootNode:function(){return qt},getScrollOffset:function(){return tp},getTabbableElements:function(){return Dp},getTargetRects:function(){return po},getTargetSize:function(){return _p},getTextElementStack:function(){return Ml},getViewportSize:function(){return no},getVisibleChildTextRects:function(){return Pl},hasContent:function(){return wo},hasContentVirtual:function(){return Ga},hasLangText:function(){return Nl},idrefs:function(){return Sr},insertedIntoFocusOrder:function(){return fm},isCurrentPageLink:function(){return gl},isFixedPosition:function(){return ao},isFocusable:function(){return Ct},isHTML5:function(){return hm},isHiddenForEveryone:function(){return on},isHiddenWithCSS:function(){return k_},isInTabOrder:function(){return cr},isInTextBlock:function(){return ql},isInert:function(){return fo},isModalOpen:function(){return Ua},isMultiline:function(){return vm},isNativelyFocusable:function(){return wl},isNode:function(){return q_},isOffscreen:function(){return io},isOpaque:function(){return X_},isSkipLink:function(){return Vl},isVisible:function(){return eA},isVisibleOnScreen:function(){return Qt},isVisibleToScreenReaders:function(){return yt},isVisualContent:function(){return Ol},reduceToElementsBelowFloating:function(){return bm},shadowElementsFromPoint:function(){return nA},urlPropsFromAttribute:function(){return uA},visuallyContains:function(){return ym},visuallyOverlaps:function(){return $l},visuallySort:function(){return bl}});function rD(e){var t=e.getRootNode&&e.getRootNode()||m;return t===e&&(t=m),t}var Pa=rD,qt=Pa;function nD(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 Hf=nD;function aD(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&&!In(r,t)&&r!==m.documentElement);return !r||!In(r,t)?null:r}var Bn=aD;function iD(e,t){return Bn(Ke(e),t)}var Hn=iD;function ol(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 Vf=ht(function(t){var r=[];if(!t)return r;var n=t.getComputedStylePropertyValue("overflow");return n==="hidden"&&r.push(t),r.concat(Vf(t.parent))}),Ma=Vf,oD=/rect\s*\(([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px\s*\)/,sD=/(\w+)\((\d+)/;function $f(e){return ["style","script","noscript","template"].includes(e.props.nodeName)}function jf(e){return e.props.nodeName==="area"?false:e.getComputedStylePropertyValue("display")==="none"}function zf(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.isAncestor;return !r&&["hidden","collapse"].includes(e.getComputedStylePropertyValue("visibility"))}function Gf(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.isAncestor;return !!r&&e.getComputedStylePropertyValue("content-visibility")==="hidden"}function Uf(e){return e.attr("aria-hidden")==="true"}function Wf(e){return e.getComputedStylePropertyValue("opacity")==="0"}function Xf(e){var t=Gr(e.actualNode),r=parseInt(e.getComputedStylePropertyValue("height")),n=parseInt(e.getComputedStylePropertyValue("width"));return !!t&&(r===0||n===0)}function Yf(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=Ma(e);if(!a.length)return false;var i=e.boundingClientRect;return a.some(function(o){if(n==="absolute"&&!lD(e,o)&&o.getComputedStylePropertyValue("position")==="static")return false;var s=o.boundingClientRect;return s.width<2||s.height<2?true:!ol(i,s)})}function Kf(e){var t=e.getComputedStylePropertyValue("clip").match(oD),r=e.getComputedStylePropertyValue("clip-path").match(sD);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 sl(e,t){var r=Zt(e,"map");if(!r)return true;var n=r.attr("name");if(!n)return true;var a=Pa(e.actualNode);if(!a||a.nodeType!==9)return true;var i=rr(p._tree,'img[usemap="#'.concat(Dt(n),'"]'));return !i||!i.length?true:i.some(function(o){return !t(o)})}function Jf(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 lD(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 uD=[jf,zf,Gf,Jf];function on(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?Zf(e,a):Qf(e,a)}var Zf=ht(function(t,r){return $f(t)?true:t.actualNode?!!(uD.some(function(n){return n(t,{isAncestor:r})})||!t.actualNode.isConnected):false}),Qf=ht(function(t,r){return Zf(t,r)?true:t.parent?Qf(t.parent,true):false});function ep(e){if(e.assignedSlot)return ep(e.assignedSlot);if(e.parentNode){var t=e.parentNode;if(t.nodeType===1)return t;if(t.host)return t.host}return null}var Pt=ep;function cD(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 tp=cD;function dD(e){var t=tp(m),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 ll=dD;function fD(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 no=fD;function ao(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.skipAncestors,n=rt(e),a=n.vNode;return a?r?rp(a):np(a):false}var rp=ht(function(t){return t.getComputedStylePropertyValue("position")==="fixed"}),np=ht(function(t){return rp(t)?true:t.parent?np(t.parent):false});function pD(e,t){for(e=Pt(e);e&&e.nodeName.toLowerCase()!=="html";){if(e.scrollTop&&(t+=e.scrollTop,t>=0))return false;e=Pt(e);}return true}function mD(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=m.documentElement,o=f.getComputedStyle(a),s=f.getComputedStyle(m.body||i).getPropertyValue("direction"),l=ao(a),u=l?a.getBoundingClientRect():ll(a);if(u.top===0&&u.bottom===0||u.left===0&&u.right===0)return false;if(u.bottom<=0&&(pD(a,u.bottom)||o.position==="absolute"))return true;var c=no(f);if(l&&u.top>=c.height)return true;var h=Math.max(i.scrollWidth,c.width);return !!((l||s==="rtl")&&u.left>=h||(l||s==="ltr")&&u.right<=0)}}var io=mD,hD=[Wf,Xf,Yf,Kf,io];function Qt(e){return e=rt(e).vNode,ul(e)}var ul=ht(function(t,r){return t.actualNode&&t.props.nodeName==="area"?!sl(t,ul):on(t,{skipAncestors:true,isAncestor:r})||t.actualNode&&hD.some(function(n){return n(t,{isAncestor:r})})?false:t.parent?ul(t.parent,true):true});function cl(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 f.DOMRect(i,r,n-i,a-r)}function oo(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 ap={};pr(ap,{getBoundingRect:function(){return cl},getIntersectionRect:function(){return so},getOffset:function(){return op},getRectCenter:function(){return Oa},hasVisualOverlap:function(){return dl},isPointInRect:function(){return oo},rectHasMinimumSize:function(){return jr},rectsOverlap:function(){return ol},splitRects:function(){return fl}});function so(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 f.DOMRect(r,a,n-r,i-a)}function Oa(e){var t=e.left,r=e.top,n=e.width,a=e.height;return new f.DOMPoint(t+n/2,r+a/2)}var ip=.05;function jr(e,t){var r=t.width,n=t.height;return r+ip>=e&&n+ip>=e}function op(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:12,n=po(e),a=po(t);return !n.length||!a.length?null:n.reduce(function(i,o){var s=Oa(o),l=it(a),u;try{for(l.s();!(u=l.n()).done;){var c=u.value;if(oo(s,c))return 0;var h=gD(s,c),b=sp(s,h);i=Math.min(i,b);}}catch($){l.e($);}finally{l.f();}var E=_p(t);if(jr(r*2,E))return i;var R=a.reduce(cl),O=Oa(R),B=sp(s,O)-r;return Math.max(0,Math.min(i,B))},1/0)}function gD(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 sp(e,t){return Math.hypot(e.x-t.x,e.y-t.y)}function dl(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:bl(e,t)>0}function fl(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(vD(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 vD(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(lo(t.top,r,a)&&s&&l.push({top:r,left:n,bottom:t.top,right:i}),lo(t.right,n,i)&&o&&l.push({top:r,left:t.right,bottom:a,right:i}),lo(t.bottom,r,a)&&s&&l.push({top:t.bottom,right:i,bottom:a,left:n}),lo(t.left,n,i)&&o&&l.push({top:r,left:n,bottom:a,right:t.left}),l.length===0){if(yD(e,t))return [];l.push(e);}return l.map(bD)}var lo=function(t,r,n){return t>r&&t<n};function bD(e){return new f.DOMRect(e.left,e.top,e.right-e.left,e.bottom-e.top)}function yD(e,t){return e.top>=t.top&&e.left>=t.left&&e.bottom<=t.bottom&&e.right<=t.right}var lp=0,wD=.1,up=.2,cp=.3,pl=0;function Na(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:m.body,t=arguments.length>1?arguments[1]:void 0,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(We.get("gridCreated")&&!r)return Xe.gridSize;if(We.set("gridCreated",true),!r){var n=Ke(m.documentElement);if(n||(n=new jl(m.documentElement)),pl=0,n._stackingOrder=[pp(lp,pl++,null)],t??(t=new ml),mp(t,n),Gr(n.actualNode)){var a=new ml(n);n._subGrid=a;}}for(var i=m.createTreeWalker(e,f.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 p.VirtualNode(o,r)),s._stackingOrder=xD(s,r,pl++);var l=AD(s,r),u=l?l._subGrid:t;if(Gr(s.actualNode)){var c=new ml(s);s._subGrid=c;}var h=s.boundingClientRect;h.width!==0&&h.height!==0&&Qt(o)&&mp(u,s),ro(o)&&Na(o.shadowRoot,u,s),o=i.nextNode();}return Xe.gridSize}function dp(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 h=e.getComputedStylePropertyValue("-webkit-mask-border")||e.getComputedStylePropertyValue("mask-border")||"none";if(h!=="none"||e.getComputedStylePropertyValue("isolation")==="isolate")return true;var b=e.getComputedStylePropertyValue("will-change");if(b==="transform"||b==="opacity"||e.getComputedStylePropertyValue("-webkit-overflow-scrolling")==="touch")return true;var E=e.getComputedStylePropertyValue("contain");return !!(["layout","paint","strict","content"].includes(E)||n!=="auto"&&fp(t))}function fp(e){if(!e)return false;var t=e.getComputedStylePropertyValue("display");return ["flex","inline-flex","grid","inline-grid"].includes(t)}function xD(e,t,r){var n=t._stackingOrder.slice();if(dp(e,t)){var a=n.findIndex(function(o){var s=o.stackLevel;return [lp,up,cp].includes(s)});a!==-1&&n.splice(a,n.length-a);}var i=DD(e,t);return i!==null&&n.push(pp(i,r,e)),n}function pp(e,t,r){return {stackLevel:e,treeOrder:t,vNode:r}}function DD(e,t){var r=_D(e,t);return ["auto","0"].includes(r)?e.getComputedStylePropertyValue("position")!=="static"?cp:e.getComputedStylePropertyValue("float")!=="none"?up:dp(e,t)?wD:null:parseInt(r)}function _D(e,t){var r=e.getComputedStylePropertyValue("position");return r==="static"&&!fp(t)?"auto":e.getComputedStylePropertyValue("z-index")}function AD(e,t){for(var r=null,n=[e];t;){if(Gr(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 mp(e,t){var r=Ma(t);t.clientRects.forEach(function(n){var a,i=r.reduce(function(s,l){return s&&so(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 ml=(function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;nr(this,e),this.container=t,this.cells=[];}return Gt(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(oo({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=cl(this.boundaries,r)),this.boundaries=r,hp(this.cells,s,l,function(u,c){hp(u,i,o,function(h,b){n(h,{row:c,col:b});});});}},{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 f.DOMRect(o,n,a-o,i-n)}}])})();function hp(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 uo(e){Na();var t=rt(e),r=t.vNode;return r._grid}function co(e){var t,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=uo(e);if(!(n!=null&&(t=n.cells)!==null&&t!==void 0&&t.length))return [];var a=e.boundingClientRect,i=ao(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 h=c.value;h&&h!==e&&!s.includes(h)&&i===ao(h)&&s.push(h);}}catch(b){u.e(b);}finally{u.f();}}),s}var ED=ht(function(){var t;if(!p._tree)return null;var r=Ir(p._tree[0],"dialog[open]",function(a){var i=a.boundingClientRect,o=m.elementsFromPoint(i.left+1,i.top+1);return o.includes(a.actualNode)&&Qt(a)});if(!r.length)return null;var n=r.find(function(a){var i=a.boundingClientRect,o=m.elementsFromPoint(i.left-10,i.top-10);return o.includes(a.actualNode)});return n||((t=r.find(function(a){var i,o=(i=CD(a))!==null&&i!==void 0?i:{},s=o.vNode,l=o.rect;if(!s)return false;var u=m.elementsFromPoint(l.left+1,l.top+1);return !u.includes(s.actualNode)}))!==null&&t!==void 0?t:null)}),gp=ED;function CD(e){Na();var t=p._tree[0]._grid,r=new f.DOMRect(0,0,f.innerWidth,f.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=so(u,r);if(l.props.nodeName!=="html"&&l!==e&&l.getComputedStylePropertyValue("pointer-events")!=="none"&&c)return {vNode:l,rect:c}}}}}function fo(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.skipAncestors,n=t.isAncestor;return r?vp(e,n):bp(e,n)}var vp=ht(function(t,r){if(t.hasAttr("inert"))return true;if(!r&&t.actualNode){var n=gp();if(n&&!$r(n,t))return true}return false}),bp=ht(function(t,r){return vp(t,r)?true:t.parent?bp(t.parent,true):false}),SD=["button","command","fieldset","keygen","optgroup","option","select","textarea","input"];function kD(e){return SD.includes(e)}function TD(e){var t=rt(e),r=t.vNode;if(kD(r.props.nodeName)&&r.hasAttr("disabled")||fo(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?on(r):false}var hl=TD,RD=/^\/\#/,FD=/^#[!/]/;function gl(e){var t,r=e.getAttribute("href");if(!r||r==="#")return false;if(RD.test(r))return true;var n=e.hash,a=e.protocol,i=e.hostname,o=e.port,s=e.pathname;if(FD.test(n))return false;if(r.charAt(0)==="#")return true;if(typeof((t=f.location)===null||t===void 0?void 0:t.origin)!="string"||f.location.origin.indexOf("://")===-1)return null;var l=f.location.origin+f.location.pathname,u;return i?u="".concat(a,"//").concat(i).concat(o?":".concat(o):""):u=f.location.origin,s?u+=(s[0]!=="/"?"/":"")+s:u+=f.location.pathname,u===l}function ID(e,t){var r=e.getAttribute(t);if(!r||t==="href"&&!gl(e))return null;r.indexOf("#")!==-1&&(r=decodeURIComponent(r.substr(r.indexOf("#")+1)));var n=m.getElementById(r);return n||(n=m.getElementsByName(r),n.length?n[0]:null)}var vl=ID;function bl(e,t){Na();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(B){return B.root===i.getRootNode()});)i=i.getRootNode().host;if(a=o.find(function(B){return B.root===i.getRootNode()}).node,a===i)return e.actualNode.getRootNode()!==a.getRootNode()?-1:1}var s=f.Node,l=s.DOCUMENT_POSITION_FOLLOWING,u=s.DOCUMENT_POSITION_CONTAINS,c=s.DOCUMENT_POSITION_CONTAINED_BY,h=a.compareDocumentPosition(i),b=h&l?1:-1,E=h&u||h&c,R=yp(e),O=yp(t);return R===O||E?b:O-R}function yp(e){return e.getComputedStylePropertyValue("display").indexOf("inline")!==-1?2:wp(e)?1:0}function wp(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=wp(e.parent);return e._isFloated=r,r}function yl(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:false,n=Oa(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 h=c.left,b=c.top;return i<Math.floor(h+c.width)&&i>=Math.floor(h)&&o<Math.floor(b+c.height)&&o>=Math.floor(b)})}),l=e.container;return l&&(s=yl(l._grid,l.boundingClientRect,true).concat(s)),r||(s=s.sort(bl).map(function(u){return u.actualNode}).concat(m.documentElement).filter(function(u,c,h){return h.indexOf(u)===c})),s}function LD(e){var t=uo(e);if(!t)return [];var r=Ke(e).boundingClientRect;return yl(t,r)}var xp=LD;function PD(e){var t=rr(e,"*"),r=t.filter(function(n){var a=n.isFocusable,i=Fr(n.actualNode.getAttribute("tabindex"));return i!==null?a&&i>=0:a});return r}var Dp=PD;function MD(e){var t=rt(e),r=t.vNode;if(!r||hl(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 !rr(r,"summary").length}return false}var wl=MD;function Ct(e){var t=rt(e),r=t.vNode;if(r.props.nodeType!==1||hl(r))return false;if(wl(r))return true;var n=Fr(r.attr("tabindex"));return n!==null}function cr(e){var t=rt(e),r=t.vNode;if(r.props.nodeType!==1)return false;var n=Fr(r.attr("tabindex"));return n<=-1?false:Ct(r)}var po=ht(OD);function OD(e){var t=e.getComputedStylePropertyValue("display"),r=t==="inline"?e.clientRects:[e.boundingClientRect],n=co(e).filter(function(i){return dl(e,i)&&i.getComputedStylePropertyValue("pointer-events")!=="none"&&!ND(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 fl(r,a)}function ND(e,t){return $r(e,t)&&!cr(t)}var _p=ht(qD);function qD(e,t){var r=po(e);return BD(r,t)}function BD(e,t){return e.reduce(function(r,n){var a=jr(t,r),i=jr(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 qa={};pr(qa,{accessibleText:function(){return _n},accessibleTextVirtual:function(){return Mt},autocomplete:function(){return En},formControlValue:function(){return em},formControlValueMethods:function(){return kl},hasUnicode:function(){return Fl},isHumanInterpretable:function(){return Ll},isIconLigature:function(){return Il},isValidAutocomplete:function(){return sm},label:function(){return h_},labelText:function(){return Tl},labelVirtual:function(){return bo},nativeElementType:function(){return v_},nativeTextAlternative:function(){return rm},nativeTextMethods:function(){return tm},removeUnicode:function(){return za},sanitize:function(){return He},subtreeText:function(){return un},titleText:function(){return ho},unsupported:function(){return zp},visible:function(){return lm},visibleTextNodes:function(){return b_},visibleVirtual:function(){return Tr}});function HD(e,t){e=e.actualNode||e;try{var r=qt(e),n=[],a=e.getAttribute(t);if(a){a=$t(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 Sr=HD;function VD(e,t){var r=Ke(e);return Mt(r,t)}var _n=VD;function $D(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=Sr(n,"aria-labelledby").filter(function(i){return i});return a.reduce(function(i,o){var s=_n(o,we({inLabelledByContext:true,startNode:t.startNode||n},t));return i?"".concat(i," ").concat(s):s},"")}var Ba=$D;function Ha(e){var t=rt(e),r=t.vNode;return r?.props.nodeType!==1?"":r.attr("aria-label")||""}var jD={"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}},Ap=jD,zD={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"]}},Ep=zD,GD={"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"]}},UD=GD,WD={"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}},XD=WD,YD={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"]}},KD=YD,JD={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]},ZD=JD,Cp={ariaAttrs:Ap,ariaRoles:we({},Ep,UD,XD),htmlElms:KD,cssColors:ZD},Vn=we({},Cp);function QD(e){Object.keys(Vn).forEach(function(t){e[t]&&(Vn[t]=nl(Vn[t],e[t]));});}function e2(){Object.keys(Vn).forEach(function(e){Vn[e]=Cp[e];});}var at=Vn;function t2(e){var t=at.ariaRoles[e];return t?!!t.unsupported:false}var xl=t2;function r2(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=xl(e);return !i||a&&o?false:r?true:i.type!=="abstract"}var Va=r2;function n2(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 Lt?e:Ke(e),e.props.nodeType!==1)return null;var i=(e.attr("role")||"").trim().toLowerCase(),o=r?$t(i):[i],s=o.find(function(l){return !a&&l.substr(0,4)==="doc-"?false:Va(l,{allowAbstract:n})});return s||null}var Qe=n2;function a2(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 Dl=a2;function i2(){return We.get("globalAriaAttrs",function(){return Object.keys(at.ariaAttrs).filter(function(e){return at.ariaAttrs[e].global})})}var sn=i2;function o2(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"),h=parseInt(c)===0||i[s].rowspan===0?r.length:i[s].rowSpan,b=0;b<h;b++){for(t[n+b]=t[n+b]||[];t[n+b][o];)o++;t[n+b][o]=i[s];}o++;}}return t}var zr=ht(o2);function s2(e,t){var r,n;for(t||(t=zr(Hn(e,"table"))),r=0;r<t.length;r++)if(t[r]&&(n=t[r].indexOf(e),n!==-1))return {x:n,y:r}}var mo=ht(s2);function _l(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=zr(Hn(n,"table")),s=mo(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 l2(e){return ["col","auto"].indexOf(_l(e))!==-1}var $n=l2;function u2(e){return ["row","auto"].includes(_l(e))}var jn=u2;function c2(e){return e?e.replace(/\r\n/g,`
|
|
373
|
+
`).replace(/\u00A0/g," ").replace(/[\s]{2,}/g," ").trim():""}var He=c2,Sp=function(){return We.get("sectioningContentSelector",function(){return Dl("sectioning").map(function(t){return "".concat(t,":not([role])")}).join(", ")+" , [role=article], [role=complementary], [role=navigation], [role=region]"})},kp=function(){return We.get("sectioningContentPlusMainSelector",function(){return Sp()+" , main:not([role]), [role=main]"})};function Al(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.checkTitle,n=r===void 0?false:r;return !!(He(Ba(e))||He(Ha(e))||n&&e?.props.nodeType===1&&He(e.attr("title")))}var d2={a:function(t){return t.hasAttr("href")?"link":null},area:function(t){return t.hasAttr("href")?"link":null},article:"article",aside:function(t){return Zt(t.parent,Sp())&&!Al(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=Zt(t,kp());return r?null:"contentinfo"},form:function(t){return Al(t)?"form":null},h1:"heading",h2:"heading",h3:"heading",h4:"heading",h5:"heading",h6:"heading",header:function(t){var r=Zt(t,kp());return r?null:"banner"},hr:"separator",img:function(t){var r=t.hasAttr("alt")&&!t.attr("alt"),n=sn().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=Sr(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 Al(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=Zt(t,"table"),n=Qe(r);return ["grid","treegrid"].includes(n)?"gridcell":"cell"},textarea:"textbox",tfoot:"rowgroup",th:function(t){if($n(t))return "columnheader";if(jn(t))return "rowheader"},thead:"rowgroup",tr:"row",ul:"list"},El=d2;function f2(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 An=f2;function p2(e,t){return An(!!Mt(e),t)}var Tp=p2;function m2(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 An(e(n),t[n])})}var Cl=m2;function h2(e,t){return e=rt(e).vNode,Cl(function(r){return e.attr(r)},t)}var Rp=h2;function Fp(e,t){return !!t(e)}function g2(e,t){return An(Qe(e),t)}var Ip=g2;function v2(e,t){return An(kr(e),t)}var Lp=v2;function b2(e,t){return e=rt(e).vNode,An(e.props.nodeName,t)}var Pp=b2;function y2(e,t){return e=rt(e).vNode,Cl(function(r){return e.props[r]},t)}var Mp=y2;function w2(e,t){return An(Ye(e),t)}var Op=w2,Np={hasAccessibleName:Tp,attributes:Rp,condition:Fp,explicitRole:Ip,implicitRole:Lp,nodeName:Pp,properties:Mp,semanticRole:Op};function qp(e,t){return e=rt(e).vNode,Array.isArray(t)?t.some(function(r){return qp(e,r)}):typeof t=="string"?Us(e,t):Object.keys(t).every(function(r){if(!Np[r])throw new Error('Unknown matcher type "'.concat(r,'"'));var n=Np[r],a=t[r];return n(e,a)})}var Bp=qp;function x2(e,t){return Bp(e,t)}var er=x2;er.hasAccessibleName=Tp,er.attributes=Rp,er.condition=Fp,er.explicitRole=Ip,er.fromDefinition=Bp,er.fromFunction=Cl,er.fromPrimative=An,er.implicitRole=Lp,er.nodeName=Pp,er.properties=Mp,er.semanticRole=Op;var $a=er;function D2(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=Z(a,L);for(var s in i)if(!(!i.hasOwnProperty(s)||s==="default")){for(var l=i[s],u=l.matches,c=Z(l,I),h=Array.isArray(u)?u:[u],b=0;b<h.length&&n;b++)if(h[b].hasOwnProperty("hasAccessibleName"))return a;if($a(e,u))for(var E in c)c.hasOwnProperty(E)&&(o[E]=c[E]);}for(var R in i.default)i.default.hasOwnProperty(R)&&typeof o[R]>"u"&&(o[R]=i.default[R]);return o}var ln=D2;function _2(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.chromium,n=e instanceof Lt?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=El[a];if(!i&&r){var o=ln(n),s=o.chromiumRole;return s||null}return typeof i=="function"?i(n):i||null}var kr=_2,A2={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 Hp(e,t){var r=A2[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)&&!$p(e.parent)?n:n?null:Hp(e.parent,t)}function Vp(e,t){var r=t.chromium,n=Z(t,N),a=kr(e,{chromium:r});if(!a)return null;var i=Hp(e,n);return i||a}function $p(e){var t=sn().some(function(r){return e.hasAttr(r)});return t||Ct(e)}function E2(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.noImplicit,n=Z(t,M),a=rt(e),i=a.vNode;if(i.props.nodeType!==1)return null;var o=Qe(i,n);return o?["presentation","none"].includes(o)&&$p(i)?r?null:Vp(i,n):o:r?null:Vp(i,n)}function C2(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.noPresentational,n=Z(t,V),a=E2(e,n);return r&&["presentation","none"].includes(a)?null:a}var Ye=C2,S2=["iframe"];function k2(e){var t=rt(e),r=t.vNode;return r.props.nodeType!==1||!e.hasAttr("title")||!er(r,S2)&&["none","presentation"].includes(Ye(r))?"":r.attr("title")}var ho=k2;function T2(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.strict;if(e=e instanceof Lt?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 jp=T2;function R2(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=Sr(t,"aria-owns").filter(function(o){return !!o}).map(function(o){return p.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 ja=R2,zp={accessibleNameFromFieldValue:["progressbar"]};function yt(e){return e=rt(e).vNode,Sl(e)}var Sl=ht(function(t,r){return Uf(t)||fo(t,{skipAncestors:true,isAncestor:r})?false:t.actualNode&&t.props.nodeName==="area"?!sl(t,Sl):on(t,{skipAncestors:true,isAncestor:r})?false:t.parent?Sl(t.parent,true):true});function Gp(e,t,r){var n=rt(e),a=n.vNode,i=t?yt:Qt,o=!e.actualNode||e.actualNode&&i(e),s=a.children.map(function(l){var u=l.props,c=u.nodeType,h=u.nodeValue;if(c===3){if(h&&o)return h}else if(!r)return Gp(l,t)}).join("");return He(s)}var Tr=Gp,F2=["button","checkbox","color","file","hidden","image","password","radio","reset","submit"];function I2(e){e=e instanceof Lt?e:Ke(e);var t=e.props.nodeName;return t==="textarea"||t==="input"&&!F2.includes((e.attr("type")||"").toLowerCase())}var Up=I2;function L2(e){e=e instanceof Lt?e:Ke(e);var t=e.props.nodeName;return t==="select"}var Wp=L2;function P2(e){var t=Qe(e);return t==="textbox"}var Xp=P2;function M2(e){var t=Qe(e);return t==="listbox"}var Yp=M2;function O2(e){var t=Qe(e);return t==="combobox"}var Kp=O2,N2=["progressbar","scrollbar","slider","spinbutton"];function q2(e){var t=Qe(e);return N2.includes(t)}var Jp=q2,Zp=["textbox","progressbar","scrollbar","slider","spinbutton","combobox","listbox"],kl={nativeTextboxValue:H2,nativeSelectValue:V2,ariaTextboxValue:$2,ariaListboxValue:Qp,ariaComboboxValue:j2,ariaRangeValue:z2};function B2(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=e.actualNode,n=zp.accessibleNameFromFieldValue||[],a=Ye(e);if(t.startNode===e||!Zp.includes(a)||n.includes(a))return "";var i=Object.keys(kl).map(function(s){return kl[s]}),o=i.reduce(function(s,l){return s||l(e,t)},"");return t.debug&&wn(o||"{empty-value}",r,t),o}function H2(e){var t=rt(e),r=t.vNode;return Up(r)&&r.props.value||""}function V2(e){var t=rt(e),r=t.vNode;if(!Wp(r))return "";var n=rr(r,"option"),a=n.filter(function(i){return i.props.selected});return a.length||a.push(n[0]),a.map(function(i){return Tr(i)}).join(" ")||""}function $2(e){var t=rt(e),r=t.vNode,n=t.domNode;return Xp(r)?!n||n&&!on(n)?Tr(r,true):n.textContent:""}function Qp(e,t){var r=rt(e),n=r.vNode;if(!Yp(n))return "";var a=ja(n).filter(function(i){return Ye(i)==="option"&&i.attr("aria-selected")==="true"});return a.length===0?"":Mt(a[0],t)}function j2(e,t){var r=rt(e),n=r.vNode;if(!Kp(n))return "";var a=ja(n).filter(function(i){return Ye(i)==="listbox"})[0];return a?Qp(a,t):""}function z2(e){var t=rt(e),r=t.vNode;if(!Jp(r)||!r.hasAttr("aria-valuenow"))return "";var n=+r.attr("aria-valuenow");return isNaN(n)?"0":String(n)}var em=B2;function G2(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=Mt.alreadyProcessed;t.startNode=t.startNode||e;var n=t,a=n.strict,i=n.inControlContext,o=n.inLabelledByContext,s=Ye(e),l=ln(e,{noMatchAccessibleName:true}),u=l.contentTypes;if(r(e,t)||e.props.nodeType!==1||u!=null&&u.includes("embedded")||Zp.includes(s)||!t.subtreeDescendant&&!t.inLabelledByContext&&!jp(e,{strict:a}))return "";if(!a){var c=!i&&!o;t=we({subtreeDescendant:c},t);}return ja(e).reduce(function(h,b){return W2(h,b,t)},"")}var U2=Dl("phrasing").concat(["#text"]);function W2(e,t,r){var n=t.props.nodeName,a=Mt(t,r);return a?(U2.includes(n)||(a[0]!==" "&&(a+=" "),e&&e[e.length-1]!==" "&&(a=" "+a)),e+a):e}var un=G2;function X2(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=Mt.alreadyProcessed;if(t.inControlContext||t.inLabelledByContext||r(e,t))return "";t.startNode||(t.startNode=e);var n=we({inControlContext:true},t),a=Y2(e),i=Zt(e,"label"),o;return i?(o=[].concat(_e(a),[i.actualNode]),o.sort(nu)):o=a,o.map(function(s){return _n(s,n)}).filter(function(s){return s!==""}).join(" ")}function Y2(e){if(!e.attr("id"))return [];if(!e.actualNode)throw new TypeError("Cannot resolve explicit label reference for non-DOM nodes");return Hf({elm:"label",attr:"for",value:e.attr("id"),context:e.actualNode})}var Tl=X2,K2={submit:"Submit",image:"Submit",reset:"Reset",button:""},J2={valueText:function(t){return t.props.value||""},buttonDefaultText:function(t){return K2[t.props.type]||""},tableCaptionText:go.bind(null,"caption"),figureText:go.bind(null,"figcaption"),svgTitleText:go.bind(null,"title"),fieldsetLegendText:go.bind(null,"legend"),altText:Rl.bind(null,"alt"),tableSummaryText:Rl.bind(null,"summary"),titleText:ho,subtreeText:un,labelText:Tl,singleSpace:function(){return " "},placeholderText:Rl.bind(null,"placeholder")};function Rl(e,t){return t.attr(e)||""}function go(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?"":_n(i,r)}var tm=J2;function rm(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=Z2(e),a=n.reduce(function(i,o){return i||o(e,t)},"");return t.debug&&p.log(a||"{empty-value}",r,t),a}function Z2(e){var t=ln(e,{noMatchAccessibleName:true}),r=t.namingMethods||[];return r.map(function(n){return tm[n]})}function nm(){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 am(){return /[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&\xa3\xa2\xa5\xa7\u20ac()*+,\-.\/:;<=>?@\[\]^_`{|}~\xb1]/g}function im(){return /[\uDB80-\uDBBF][\uDC00-\uDFFF]/g}function om(){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 Q2(e,t){var r=t.emoji,n=t.nonBmp,a=t.punctuations,i=false;return r&&(i||(i=bs().test(e))),n&&(i||(i=nm().test(e)||im().test(e)||om().test(e))),a&&(i||(i=am().test(e))),i}var Fl=Q2;function Il(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(!He(n)||Fl(n,{emoji:true,nonBmp:true}))return false;var a=We.get("canvasContext",function(){return m.createElement("canvas").getContext("2d",{willReadFrequently:true})}),i=a.canvas,o=We.get("fonts",function(){return {}}),s=f.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,h="".concat(c,"px ").concat(l);a.font=h;var b=n.charAt(0),E=a.measureText(b).width;if(E===0)return u.numLigatures++,true;if(E<30){var R=30/E;E*=R,c*=R,h="".concat(c,"px ").concat(l);}i.width=E,i.height=c,a.font=h,a.textAlign="left",a.textBaseline="top",a.fillText(b,0,0);var O=new Uint32Array(a.getImageData(0,0,E,c).data.buffer);if(!O.some(function(ne){return ne}))return u.numLigatures++,true;a.clearRect(0,0,E,c),a.fillText(n,0,0);var B=new Uint32Array(a.getImageData(0,0,E,c).data.buffer),$=O.reduce(function(ne,se,fe){return se===0&&B[fe]===0||se!==0&&B[fe]!==0?ne:++ne},0),z=n.split("").reduce(function(ne,se){return ne+a.measureText(se).width},0),X=a.measureText(n).width,Y=$/O.length,J=1-X/z;return Y>=t&&J>=t?(u.numLigatures++,true):false}function Mt(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(t=n_(e,t),t_(e,t)||r_(e,t))return "";var r=[Ba,Ha,rm,em,un,e_,ho],n=r.reduce(function(a,i){return t.startNode===e&&(a=He(a)),a!==""?a:i(e,t)},"");return t.debug&&p.log(n||"{empty-value}",e.actualNode,t),n}function e_(e){return e.props.nodeType!==3?"":e.props.nodeValue}function t_(e,t){return !e||e.props.nodeType!==1||t.includeHidden?false:!yt(e)}function r_(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:Il(e,a,i)}function n_(e,t){return t.startNode||(t=we({startNode:e},t)),e.props.nodeType===1&&t.inLabelledByContext&&t.includeHidden===void 0&&(t=we({includeHidden:!yt(e)},t)),t}Mt.alreadyProcessed=function(t,r){return r.processed=r.processed||[],r.processed.includes(t)?true:(r.processed.push(t),false)};function a_(e,t){var r=t.emoji,n=t.nonBmp,a=t.punctuations;return r&&(e=e.replace(bs(),"")),n&&(e=e.replace(nm(),"").replace(im(),"").replace(om(),"")),a&&(e=e.replace(am(),"")),e}var za=a_;function i_(e){return o_(e)||s_(e)||l_(e)||u_(e)?0:1}function o_(e){return He(e).length===0}function s_(e){return e.length===1&&e.match(/\D/)}function l_(e){var t=["aa","abc"];return t.includes(e.toLowerCase())}function u_(e){var t=za(e,{emoji:true,nonBmp:true,punctuations:true});return !He(t)}var Ll=i_,En={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 c_(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,h=c===void 0?[]:c,b=t.qualifiedTerms,E=b===void 0?[]:b,R=t.ignoredValues,O=R===void 0?[]:R;if(e=e.toLowerCase().trim(),i=i.concat(En.stateTerms),i.includes(e)||e==="")return true;u=u.concat(En.qualifiers),s=s.concat(En.locations),h=h.concat(En.standaloneTerms),E=E.concat(En.qualifiedTerms);var B=e.split(/\s+/g);if(B[B.length-1]==="webauthn"&&(B.pop(),B.length===0)||!n&&(B[0].length>8&&B[0].substr(0,8)==="section-"&&B.shift(),s.includes(B[0])&&B.shift(),u.includes(B[0])&&(B.shift(),h=[]),B.length!==1))return false;var $=B[B.length-1];if(!O.includes($))return h.includes($)||E.includes($)}var sm=c_;function d_(e){var t,r;return e.attr("aria-labelledby")&&(t=Sr(e.actualNode,"aria-labelledby"),r=t.map(function(n){var a=Ke(n);return a?Tr(a):""}).join(" ").trim(),r)||(r=e.attr("aria-label"),r&&(r=He(r),r))?r:null}var vo=d_;function f_(e,t,r){return e=Ke(e),Tr(e,t,r)}var lm=f_;function p_(e){var t,r,n;if(r=vo(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&&lm(t,true),r)return r}return t=Zt(e,"label"),r=t&&Tr(t,true),r||null}var bo=p_;function m_(e){return e=Ke(e),bo(e)}var h_=m_,g_=[{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"]}],v_=g_;function um(e){var t=Qt(e),r=[];return e.children.forEach(function(n){n.actualNode.nodeType===3?t&&r.push(n):r=r.concat(um(n));}),r}var b_=um,y_=ht(function(t){var r=Ke(t),n=r.boundingClientRect,a=[],i=Ma(r);return t.childNodes.forEach(function(o){if(!(o.nodeType!==3||He(o.nodeValue)==="")){var s=w_(o);x_(s,n)||a.push.apply(a,_e(cm(s,i)));}}),a.length?a:cm([n],i)}),Pl=y_;function w_(e){var t=m.createRange();return t.selectNodeContents(e),Array.from(t.getClientRects())}function x_(e,t){return e.some(function(r){var n=Oa(r);return !oo(n,t)})}function cm(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&&so(i,o.boundingClientRect)},n);a&&r.push(a);}}),r}function D_(e){var t=uo(e);if(!t)return [];var r=Pl(e);return r.map(function(n){return yl(t,n)})}var Ml=D_,__=["checkbox","img","meter","progressbar","scrollbar","radio","slider","spinbutton","textbox"];function A_(e){var t=rt(e),r=t.vNode,n=p.commons.aria.getExplicitRole(r);if(n)return __.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 Ol=A_,E_=["head","title","template","script","style","iframe","object","video","audio","noscript"];function yo(e){return E_.includes(e.props.nodeName)?false:e.children.some(function(t){var r=t.props;return r.nodeType===3&&r.nodeValue.trim()})}function dm(e,t,r){return yo(e)||Ol(e.actualNode)||!r&&!!vo(e)||!t&&e.children.some(function(n){return n.actualNode.nodeType===1&&dm(n)})}var Ga=dm;function C_(e,t,r){return e=Ke(e),Ga(e,t,r)}var wo=C_;function Nl(e){return typeof e.children>"u"||yo(e)?true:e.props.nodeType===1&&Ol(e)?!!p.commons.text.accessibleTextVirtual(e):e.children.some(function(t){return !t.attr("lang")&&Nl(t)&&!on(t)})}function S_(e){var t=Fr(e.getAttribute("tabindex"));return t>-1&&Ct(e)&&!wl(e)}var fm=S_;function pm(e,t){var r=rt(e),n=r.vNode,a=r.domNode;return n?(n._isHiddenWithCSS===void 0&&(n._isHiddenWithCSS=mm(a,t)),n._isHiddenWithCSS):mm(a,t)}function mm(e,t){if(e.nodeType===9||(e.nodeType===11&&(e=e.host),["STYLE","SCRIPT"].includes(e.nodeName.toUpperCase())))return false;var r=f.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=Pt(e);return o&&!a.includes(i)?pm(o,i):false}var k_=pm;function T_(e){var t=e.doctype;return t===null?false:t.name==="html"&&!t.publicId&&!t.systemId}var hm=T_;function R_(e){var t;(e instanceof Lt||(t=f)!==null&&t!==void 0&&t.Node&&e instanceof f.Node)&&(e=p.commons.aria.getRole(e));var r=at.ariaRoles[e];return r?.type||null}var wr=R_,F_=["block","list-item","table","flex","grid"],I_=["inline-block","inline-flex","inline-grid"];function L_(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&&P_(o))return false;var l=M_(s),u="",c="",h=0;return gm(l,function(b){if(b===l.actualNode)return true;if(h===2)return false;if(b.nodeType===3&&(u+=b.nodeValue),b.nodeType===1){var E=(b.nodeName||"").toUpperCase();b===s&&(h=1);var R=Bl(b);if((R||["BR","HR"].includes(E))&&(h===0?(u="",c=""):h=2),R||b.style.display==="none"||b.style.overflow==="hidden"||!["",null,"none"].includes(b.style.float)||!["",null,"relative"].includes(b.style.position))return false;if(wr(b)==="widget")return c+=b.textContent,false}}),u=He(u),r?u.length!==0:(c=He(c),u.length>c.length)}var ql=L_;function Bl(e){var t=rt(e),r=t.vNode,n=r.getComputedStylePropertyValue("display");return F_.includes(n)||n.substr(0,6)==="table-"}function P_(e){var t=e.getComputedStylePropertyValue("display");return I_.includes(t)}function gm(e,t){t(e.actualNode)!==false&&e.children.forEach(function(r){return gm(r,t)});}function M_(e){for(var t=Pt(e);t&&!Bl(t);)t=Pt(t);return Ke(t)}function O_(e){e=e||{};var t=e.modalPercent||.75;if(We.get("isModalOpen"))return We.get("isModalOpen");var r=Ir(p._tree[0],"dialog, [role=dialog], [aria-modal=true]",Qt);if(r.length)return We.set("isModalOpen",true),true;for(var n=no(f),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(E){return Array.from(m.elementsFromPoint(E.x,E.y))}),c=function(){var R=u[b].find(function(O){var B=f.getComputedStyle(O);return parseInt(B.width,10)>=a&&parseInt(B.height,10)>=i&&B.getPropertyValue("pointer-events")!=="none"&&(B.position==="absolute"||B.position==="fixed")});if(R&&u.every(function(O){return O.includes(R)}))return We.set("isModalOpen",true),{v:true}},h,b=0;b<u.length;b++)if(h=c(),h)return h.v;We.set("isModalOpen",void 0);}var Ua=O_;function vm(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 N_(e){return e instanceof f.Node}var q_=N_,Hl="color.incompleteData",B_={set:function(t,r){if(typeof t!="string")throw new Error("Incomplete data: key must be a string");var n=We.get(Hl,function(){return {}});return r&&(n[t]=r),n[t]},get:function(t){var r=We.get(Hl);return r?.[t]},clear:function(){We.set(Hl,{});}},gt=B_;function H_(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||f.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 xo=H_,V_=/^#[0-9a-f]{3,8}$/i,$_=/hsl\(\s*([-\d.]+)(rad|turn)/,Wa=(Ue=new WeakMap,tt=new WeakMap,ot=new WeakMap,mt=new WeakMap,Je=new WeakMap,Oe=new WeakMap,Yt=new WeakSet,(function(){function e(t,r,n){var a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(nr(this,e),fi(this,Yt),Nt(this,Ue,void 0),Nt(this,tt,void 0),Nt(this,ot,void 0),Nt(this,mt,void 0),Nt(this,Je,void 0),Nt(this,Oe,void 0),t instanceof Wa){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 Gt(e,[{key:"r",get:function(){return zt(Ue,this)},set:function(r){It(Ue,this,r),It(mt,this,Math.round(zn(r,0,1)*255));}},{key:"g",get:function(){return zt(tt,this)},set:function(r){It(tt,this,r),It(Je,this,Math.round(zn(r,0,1)*255));}},{key:"b",get:function(){return zt(ot,this)},set:function(r){It(ot,this,r),It(Oe,this,Math.round(zn(r,0,1)*255));}},{key:"red",get:function(){return zt(mt,this)},set:function(r){It(Ue,this,r/255),It(mt,this,zn(r,0,255));}},{key:"green",get:function(){return zt(Je,this)},set:function(r){It(tt,this,r/255),It(Je,this,zn(r,0,255));}},{key:"blue",get:function(){return zt(Oe,this)},set:function(r){It(ot,this,r/255),It(Oe,this,zn(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($_,function(i,o,s){var l=o+s;switch(s){case "rad":return i.replace(l,z_(o));case "turn":return i.replace(l,G_(o))}});try{var n;"Prototype"in f&&"Version"in f.Prototype&&(n=Array.from,Array.from=uf.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(V_)||[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 Yr(Yt,this,j_).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 Wa(this),a=[{name:"r",value:n.r},{name:"g",value:n.g},{name:"b",value:n.b}],i=a.sort(function(c,h){return c.value-h.value}),o=De(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 Wa(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 j_(e){var t=new Wa(this);return t.r+=e,t.g+=e,t.b+=e,t}var wt=Wa;function zn(e,t,r){return Math.min(Math.max(t,e),r)}function z_(e){return e*180/Math.PI}function G_(e){return e*360}function U_(e){var t=new wt;if(t.parseString(e.getPropertyValue("background-color")),t.alpha!==0){var r=e.getPropertyValue("opacity");t.alpha=t.alpha*r;}return t}var Cn=U_;function W_(e){var t=f.getComputedStyle(e);return xo(e,t)||Cn(t).alpha===1}var X_=W_;function Vl(e){if(!e.href)return false;var t=We.get("firstPageLink",Y_);return t?e.compareDocumentPosition(t.actualNode)===e.DOCUMENT_POSITION_FOLLOWING:true}function Y_(){var e;return f.location.origin?e=rr(p._tree,'a[href]:not([href^="javascript:"])').find(function(t){return !gl(t.actualNode)}):e=rr(p._tree,'a:not([href^="#"]):not([href^="/#"]):not([href^="javascript:"])')[0],e||null}var K_=/rect\s*\(([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px\s*\)/,J_=/(\w+)\((\d+)/;function Z_(e){var t=e.getPropertyValue("clip").match(K_),r=e.getPropertyValue("clip-path").match(J_);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 Q_(e,t,r){var n=Hn(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=rr(p._tree,'img[usemap="#'.concat(Dt(a),'"]'));return !o||!o.length?false:o.some(function(s){var l=s.actualNode;return Do(l,t,r)})}function Do(e,t,r){var n;if(!e)throw new TypeError("Cannot determine if element is visible for non-DOM nodes");var a=e instanceof Lt?e:Ke(e);e=a?a.actualNode:e;var i="_isVisible"+(t?"ScreenReader":""),o=(n=f.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 h=a?a.attr("aria-hidden"):e.getAttribute("aria-hidden");if(h==="true")return false}if(!e){var b=a.parent,E=true;return b&&(E=Do(b,t,true)),a&&(a[i]=E),E}var R=f.getComputedStyle(e,null);if(R===null)return false;if(c==="area")return Q_(e,t,r);if(R.getPropertyValue("display")==="none")return false;var O=parseInt(R.getPropertyValue("height")),B=parseInt(R.getPropertyValue("width")),$=Gr(e),z=$&&O===0,X=$&&B===0,Y=R.getPropertyValue("position")==="absolute"&&(O<2||B<2)&&R.getPropertyValue("overflow")==="hidden";if(!t&&(Z_(R)||R.getPropertyValue("opacity")==="0"||z||X||Y)||!r&&(R.getPropertyValue("visibility")==="hidden"||!t&&io(e)))return false;var J=e.assignedSlot?e.assignedSlot:e.parentNode,ne=false;return J&&(ne=Do(J,t,true)),a&&(a[i]=ne),ne}var eA=Do;function tA(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=f.getComputedStyle(o);if(!a&&r.indexOf(s.position)!==-1){n=[];continue}n.push(o);}return n}var bm=tA;function ym(e,t){var r=wm(t);do{var n=wm(e);if(n===r||n===t)return rA(e,t);e=n;}while(e);return false}function wm(e){for(var t=Ke(e),r=t.parent;r;){if(Gr(r.actualNode))return r.actualNode;r=r.parent;}}function rA(e,t){var r=f.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 f.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 xm(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:m,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(ro(i)){var o=xm(e,t,i.shadowRoot,n+1);a=a.concat(o),a.length&&ym(a[0],i)&&a.push(i);}else a.push(i);return a},[])}var nA=xm;function aA(e,t){if(e.hasAttribute(t)){var r=e.nodeName.toUpperCase(),n=e;(!["A","AREA"].includes(r)||e.ownerSVGElement)&&(n=m.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=oA(i),s=o.pathname,l=o.filename;return {protocol:a,hostname:n.hostname,port:iA(n.port),pathname:/\/$/.test(s)?s:"".concat(s,"/"),search:sA(n.search),hash:lA(n.hash),filename:l}}}function iA(e){var t=["443","80"];return t.includes(e)?"":e}function oA(e){var t=e.split("/").pop();return !t||t.indexOf(".")===-1?{pathname:e,filename:""}:{pathname:e.replace(t,""),filename:/index./.test(t)?"":t}}function sA(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=De(i,2),s=o[0],l=o[1],u=l===void 0?"":l;t[decodeURIComponent(s)]=decodeURIComponent(u);}return t}function lA(e){if(!e)return "";var t=/#!?\/?/g,r=e.match(t);if(!r)return "";var n=De(r,1),a=n[0];return a==="#"?"":e}var uA=aA;function cA(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=f.getComputedStyle(t);return e.left>r.right||e.top>r.bottom?o.overflow==="scroll"||o.overflow==="auto"||t instanceof f.HTMLBodyElement||t instanceof f.HTMLHtmlElement:true}var $l=cA,Dm=0,dA=(function(e){function t(r,n,a){var i;if(nr(this,t),i=ee(this,t),i.shadowId=a,i.children=[],i.actualNode=r,i.parent=n,n||(Dm=0),i.nodeIndex=Dm++,i._isHidden=null,i._cache={},i._isXHTML=Ca(r.ownerDocument),r.nodeName.toLowerCase()==="input"){var o=r.getAttribute("type");o=i._isXHTML?o:(o||"").toLowerCase(),Lo().includes(o)||(o="text"),i._type=o;}return We.get("nodeMap")&&We.get("nodeMap").set(r,i),i}return Ge(t,e),Gt(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 f.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=f.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=Dp(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}}])})(Lt),jl=dA;function fA(e){return (e||"").trim().replace(/\s{2,}/g," ").split(" ")}var $t=fA,Sn=" [idsMap]";function _m(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 Am(l)}))return;var o=new Set;t.forEach(function(l){var u,c=pA(l,n,a);c==null||(u=c.nodes)===null||u===void 0||u.forEach(function(h){c.isComplexSelector&&!Mn(h,l)||o.add(h);});});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 pA(e,t,r){var n=e[e.length-1],a=null,i=e.length>1||!!n.pseudos||!!n.classes;if(Am(n))a=t["*"];else {if(n.id){var o;if(!t[Sn]||!Object.hasOwn(t[Sn],n.id)||!((o=t[Sn][n.id])!==null&&o!==void 0&&o.length))return;a=t[Sn][n.id].filter(function(O){return O.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?zl(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?zl(c,a):c;}if(n.attributes)for(var h=0;h<n.attributes.length;h++){var b,E=n.attributes[h];if(E.type==="attrValue"&&(i=true),!((b=t["[".concat(E.key,"]")])!==null&&b!==void 0&&b.length))return;var R=t["[".concat(E.key,"]")];a=a?zl(R,a):R;}}return {nodes:a,isComplexSelector:i}}function Am(e){return e.tag==="*"&&!e.attributes&&!e.id&&!e.classes}function zl(e,t){return e.filter(function(r){return t.includes(r)})}function _o(e,t,r){Object.hasOwn(r,e)||(r[e]=[]),r[e].push(t);}function Em(e,t){e.props.nodeType===1&&(_o(e.props.nodeName,e,t),_o("*",e,t),e.attrNames.forEach(function(r){r==="id"&&(t[Sn]=t[Sn]||{},$t(e.attr(r)).forEach(function(n){_o(n,e,t[Sn]);})),_o("[".concat(r,"]"),e,t);}));}var Gl;function Ul(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:m.documentElement,t=arguments.length>1?arguments[1]:void 0;Gl=false;var r={};We.set("nodeMap",new WeakMap),We.set("selectorMap",r);var n=Cm(e,t,null);return n[0]._selectorMap=r,n[0]._hasShadowRoot=Gl,n}function mA(e){var t=[];for(e=e.firstChild;e;)t.push(e),e=e.nextSibling;return t}function Wl(e,t,r){var n=new jl(e,t,r);return Em(n,We.get("selectorMap")),n}function Ao(e,t,r){var n=[];return e.forEach(function(a){var i=Cm(a,r,t);i&&n.push.apply(n,_e(i));}),n}function Cm(e,t,r){var n,a;e.documentElement&&(e=e.documentElement);var i=e.nodeName.toLowerCase();if(ro(e))return Gl=true,n=Wl(e,r,t),t="a"+Math.random().toString().substring(2),a=Array.from(e.shadowRoot.childNodes),n.children=Ao(a,n,t),[n];if(i==="content"&&typeof e.getDistributedNodes=="function")return a=Array.from(e.getDistributedNodes()),Ao(a,r,t);if(i==="slot"&&typeof e.assignedNodes=="function"){a=Array.from(e.assignedNodes()),a.length||(a=mA(e));f.getComputedStyle(e);return Ao(a,r,t)}if(e.nodeType===m.ELEMENT_NODE)return n=Wl(e,r,t),a=Array.from(e.childNodes),n.children=Ao(a,n,t),[n];if(e.nodeType===m.TEXT_NODE)return [Wl(e,r)]}function hA(e){return e?e.trim().split("-")[0].toLowerCase():""}var kn=hA;function gA(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=p._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 Xl=
|
|
376
|
-
See: https://github.com/dequelabs/axe-core/blob/master/doc/context.md`));}function Im(e,t){for(var r=[],n=0,a=e[t].length;n<a;n++){var i=e[t][n];if(i instanceof f.Node)if(i.documentElement instanceof f.Node)r.push(e.flatTree[0]);else if(i.host instanceof f.Node){var o=Array.from(i.children).map(function(l){return Ye(l)});r.push.apply(r,ke(o));}else r.push(Ye(i));else if(i&&i.length)if(i.length>1)I2(e,t,i);else {var s=su(i[0]);r.push.apply(r,ke(s.map(function(l){return Ye(l)})));}}return r.filter(function(l){return l})}function I2(e,t,r){e.frames=e.frames||[];var n=r.shift(),a=su(n);a.forEach(function(i){var o=e.frames.find(function(s){return s.node===i});o||(o=Rm(i,e),e.frames.push(o)),o[t].push(r);});}function So(e,t){var r,n,a,i,o=this;e=Vr(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=C2(e),this.flatTree=t??Ul(O2(e)),this.exclude=e.exclude,this.include=e.include,this.include=Im(this,"include"),this.exclude=Im(this,"exclude"),ou("frame, iframe",this).forEach(function(s){tu(s,o)&&L2(o,s.actualNode);}),typeof this.page>"u"&&(this.page=P2(this),this.frames.forEach(function(s){s.page=o.page;})),M2(this),Array.isArray(this.include)||(this.include=Array.from(this.include)),this.include.sort(nu);}function L2(e,t){!bt(t)||La(e.frames,"node",t)||e.frames.push(Rm(t,e));}function P2(e){var t=e.include;return t.length===1&&t[0].actualNode===m.documentElement}function M2(e){if(e.include.length===0&&e.frames.length===0){var t=yr.isInFrame()?"frame":"page";throw new Error("No elements found for include in "+t+" Context")}}function O2(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 f.Element)return i.ownerDocument.documentElement;if(i instanceof f.Document)return i.documentElement}return m.documentElement}function N2(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(t.iframes===false)return [];var r=new So(e),n=r.frames;return n.map(function(a){var i=a.node,o=ee(a,H);o.initiator=false;var s=Xi(i);return {frameSelector:s,frameContext:o}})}function Lm(e){var t=p._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 q2(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=f.getComputedStyle(e),i=Pm(a,"overflow-x"),o=Pm(a,"overflow-y");if(r&&i||n&&o)return {elm:e,top:e.scrollTop,left:e.scrollLeft}}}function Pm(e,t){var r=e.getPropertyValue(t);return ["scroll","auto"].includes(r)}var Gr=mt(q2);function Mm(e){return Array.from(e.children||e.childNodes||[]).reduce(function(t,r){var n=Gr(r);return n&&t.push(n),t.concat(Mm(r))},[])}function B2(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:f,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(Mm(m.body))}var H2=B2;function V2(){return Vr(at)}function $2(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 h=e.createTextNode('@import "'.concat(r.href,'"'));c.appendChild(h);}else c.appendChild(e.createTextNode(r));return e.head.appendChild(c),{sheet:c.sheet,isCrossOrigin:a,shadowId:i,root:o,priority:s}}}var Om=$2,tr;function j2(e){if(tr&&tr.parentNode)return tr.styleSheet===void 0?tr.appendChild(m.createTextNode(e)):tr.styleSheet.cssText+=e,tr;if(e){var t=m.head||m.getElementsByTagName("head")[0];return tr=m.createElement("style"),tr.type="text/css",tr.styleSheet===void 0?tr.appendChild(m.createTextNode(e)):tr.styleSheet.cssText=e,t.appendChild(tr),tr}}var z2=j2;function Jl(e){return !!e&&fe(e)==="object"&&typeof e.length=="number"&&!(e instanceof f.Node)}function Rr(e,t){return !e||fe(e)!=="object"?false:Object.prototype.hasOwnProperty.call(e,t)}function Nm(e){return Zl(e)||ko(e)}function Zl(e){return ["include","exclude"].some(function(t){return Rr(e,t)&&ko(e[t])})}function ko(e){return typeof e=="string"||e instanceof f.Node||Ql(e)||To(e)||Jl(e)}function Ql(e){return Rr(e,"fromFrames")}function To(e){return Rr(e,"fromShadowDom")}function qm(e,t){var r=Ye(e);if(e.nodeType===9)return false;if(e.nodeType===11&&(e=e.host),r&&r._isHidden!==null)return r._isHidden;var n=f.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=qm(a,true);return r&&(r._isHidden=i),i}var G2=qm;function U2(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 eu=U2;function tu(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 $r(c,e)});if(o.length===0)return false;var s=i.filter(function(c){return $r(c,e)});if(s.length===0)return true;var l=Bm(o),u=Bm(s);return $r(u,l)}function Bm(e){var t,r=it(e),n;try{for(r.s();!(n=r.n()).done;){var a=n.value;(!t||!$r(a,t))&&(t=a);}}catch(i){r.e(i);}finally{r.f();}return t}function ru(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 W2(e,t){return e=e.actualNode||e,t=t.actualNode||t,e===t?0:e.compareDocumentPosition(t)&4?-1:1}var nu=W2;function rt(e){return e instanceof Ft?{vNode:e,domNode:e.actualNode}:{vNode:Ye(e),domNode:e}}function X2(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,h){var b=[].concat(ke(r),[h]),A=/^https?:\/\/|^\/\//i.test(c);return iu(c,t,b,n,A)}),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 Hm=X2;function Y2(e,t,r,n){var a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:false,i=K2(e);return i?Hm(e,t,r,n,a):iu(e.href,t,r,n,true)}function K2(e){try{var t=e.cssRules;return !(!t&&e.href)}catch{return false}}var au=Y2;function J2(e,t,r,n,a){return n.push(e),new Promise(function(i,o){var s=new f.XMLHttpRequest;s.open("GET",e),s.timeout=We.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 au(o.sheet,t,r,n,o.isCrossOrigin)})}var iu=J2;function Z2(e){if(typeof e!="string")return null;var t=e.trim().match(/^([-+]?\d+)/);return t?Number(t[1]):null}var Fr=Z2,Q2=(function(){function e(){if(f.performance&&f.performance)return f.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=f.performance)!==null&&i!==void 0&&i.mark&&f.performance.mark(a);},measure:function(a,i,o){var s,l=arguments.length>3&&arguments[3]!==void 0?arguments[3]:false;if((s=f.performance)!==null&&s!==void 0&&s.measure){try{f.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(N){return Array.isArray(N)?N[N.length-1]:N},u=function(N){i._log("Measure "+N.name+" took "+N.duration+"ms");};if(!(!((o=f.performance)!==null&&o!==void 0&&o.getEntriesByType)||!((s=f.performance)!==null&&s!==void 0&&s.getEntriesByName))){var c=l(f.performance.getEntriesByName("mark_axe_start"))||l(f.performance.getEntriesByName("mark_audit_start"));if(!c){this._log("Axe must be started before using performanceTimer");return}for(var h=f.performance.getEntriesByType("measure").filter(function(L){return L.startTime>=c.startTime}),b=0;b<h.length;++b){var A=h[b];if(A.name===a){u(A);return}else a||u(A);}}},timeElapsed:function(){var a=e();return a-t},clearMark:function(){var a;if((a=f.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];f.performance.clearMarks(c);}}},reset:function(){t=e();},_log:function(a){wn(a);}}})(),st=Q2;function Vm(){if(m.elementsFromPoint)return m.elementsFromPoint;if(m.msElementsFromPoint)return m.msElementsFromPoint;var e=(function(){var a=m.createElement("x");return a.style.cssText="pointer-events:auto",a.style.pointerEvents==="auto"})(),t=e?"pointer-events":"visibility",r=e?"none":"hidden",n=m.createElement("style");return n.innerHTML=e?"* { pointer-events: all }":"* { visibility: visible }",function(a,i){var o,s,l,u=[],c=[];for(m.head.appendChild(n);(o=m.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(m.documentElement)<u.length-1&&(u.splice(u.indexOf(m.documentElement),1),u.push(m.documentElement)),s=c.length;l=c[--s];)u[s].style.setProperty(t,l.value?l.value:"",l.priority);return m.head.removeChild(n),u}}typeof f.addEventListener=="function"&&(m.elementsFromPoint=Vm());function eE(e,t){return e.concat(t).filter(function(r,n,a){return a.indexOf(r)===n})}var Ya=eE;function $m(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 tE(e,t,r){for(var n=Ue.get("qsa.recycledLocalVariables",function(){return []}),a=[],i=Array.isArray(e)?e:[e],o=$m(i,t,null,e[0].shadowId,n.pop()),s=[];o.vNodesIndex<o.vNodes.length;){for(var l,u,c=o.vNodes[o.vNodesIndex++],h=null,b=null,A=(((l=o.anyLevel)===null||l===void 0?void 0:l.length)||0)+(((u=o.thisLevel)===null||u===void 0?void 0:u.length)||0),L=false,N=0;N<A;N++){var q,$,z,W=N<(((q=o.anyLevel)===null||q===void 0?void 0:q.length)||0)?o.anyLevel[N]:o.thisLevel[N-((($=o.anyLevel)===null||$===void 0?void 0:$.length)||0)];if((!W[0].id||c.shadowId===o.parentShadowId)&&Mn(c,W[0]))if(W.length===1)!L&&(!r||r(c))&&(s.push(c),L=true);else {var X=W.slice(1);if([" ",">"].includes(X[0].combinator)===false)throw new Error("axe.utils.querySelectorAll does not support the combinator: "+W[1].combinator);X[0].combinator===">"?(h=h||[]).push(X):(b=b||[]).push(X);}(!W[0].id||c.shadowId===o.parentShadowId)&&(z=o.anyLevel)!==null&&z!==void 0&&z.includes(W)&&(b=b||[]).push(W);}for(c.children&&c.children.length&&(a.push(o),o=$m(c.children,b,h,c.shadowId,n.pop()));o.vNodesIndex===o.vNodes.length&&a.length;)n.push(o),o=a.pop();}return s}function rE(e,t,r){e=Array.isArray(e)?e:[e];var n=Yi(t),a=Am(e,n,r);return a||tE(e,n,r)}var Ir=rE;function nE(e){var t=e.treeRoot,r=t===void 0?p._tree[0]:t,n=aE(r);if(!n.length)return Promise.resolve();var a=m.implementation.createHTMLDocument("Dynamic document for loading cssom"),i=Om(a);return iE(n,i).then(function(o){return zm(o)})}var jm=nE;function aE(e){var t=[],r=Ir(e,"*",function(n){return t.includes(n.shadowId)?false:(t.push(n.shadowId),true)}).map(function(n){return {shadowId:n.shadowId,rootNode:Pa(n.actualNode)}});return Ya(r,[])}function iE(e,t){var r=[];return e.forEach(function(n,a){var i=n.rootNode,o=n.shadowId,s=oE(i,o,t);if(!s)return Promise.all(r);var l=a+1,u={rootNode:i,shadowId:o,convertDataToStylesheet:t,rootIndex:l},c=[],h=Promise.all(s.map(function(b,A){var L=[l,A];return au(b,u,L,c)}));r.push(h);}),Promise.all(r)}function zm(e){return e.reduce(function(t,r){return Array.isArray(r)?t.concat(zm(r)):t.concat(r)},[])}function oE(e,t,r){var n;return e.nodeType===11&&t?n=sE(e,r):n=lE(e),cE(n)}function sE(e,t){return Array.from(e.children).filter(uE).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 lE(e){return Array.from(e.styleSheets).filter(function(t){return t.media?Gm(t.media.mediaText):false})}function uE(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&&Gm(e.media)}function Gm(e){return e?!e.toUpperCase().includes("PRINT"):true}function cE(e){var t=[];return e.filter(function(r){return r.href?t.includes(r.href)?false:(t.push(r.href),true):true})}function dE(e){var t=e.treeRoot,r=t===void 0?p._tree[0]:t,n=Ir(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 fE(i)}))}var Um=dE;function fE(e){return new Promise(function(t){e.readyState>0&&t(e);function r(){e.removeEventListener("loadedmetadata",r),t(e);}e.addEventListener("loadedmetadata",r);})}function Wm(e){var t={cssom:jm,media:Um};return Xm(e)?new Promise(function(r,n){var a=Ym(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 G({},l,u)})})).then(function(l){var u=l.reduce(function(c,h){return Fe({},c,h)},{});clearTimeout(s),r(u);}).catch(function(l){clearTimeout(s),n(l);});}):Promise.resolve()}function pE(e){return fe(e)==="object"&&Array.isArray(e.assets)}function Xm(e){return !e||e.preload===void 0||e.preload===null?true:typeof e.preload=="boolean"?e.preload:pE(e.preload)}function Ym(e){var t=We.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=Ya(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 Ro(e){var t=p._audit.data.checks||{},r=p._audit.data.rules||{},n=La(p._audit.rules,"id",e.id)||{};e.tags=Vr(n.tags||[]);var a=Km(t,true,n),i=Km(t,false,n);e.nodes.forEach(function(o){o.any.forEach(a),o.all.forEach(a),o.none.forEach(i);}),al(e,Vr(r[e.id]||{}));}function mE(e,t){function r(a){return a.incomplete&&a.incomplete.default?a.incomplete.default:Yl()}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 Km(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=mE(n.data,i)),o.message||(o.message=i.incomplete)):o.message=n.result===t?i.pass:i.fail,typeof o.message!="function"&&(o.message=Kl(o.message,n.data)),al(n,o);}}function hE(e,t){return Ir(e,t)}var rr=hE;function Jm(e,t){var r,n,a=p._audit&&p._audit.tagExclude?p._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 gE(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?Jm(e,n.values):Jm(e,[])}var Zm=gE;function Qm(e,t){if(!t)return e;var r=e.cloneNode(false),n=va(r);if(r.nodeType===1){var a=r.outerHTML;r=Ue.get(a,function(){return e1(r,n,e,t)});}else r=e1(r,n,e,t);return Array.from(e.childNodes).forEach(function(i){r.appendChild(Qm(i,t));}),r}function e1(e,t,r,n){return t&&(e=m.createElement(e.nodeName),Array.from(t).forEach(function(a){vE(r,a.name,n)||e.setAttribute(a.name,a.value);})),e}function vE(e,t,r){return typeof r[t]>"u"?false:r[t]===true?true:In(e,r[t])}function ou(e,t){var r=[],n;if(p._selectCache)for(var a=0,i=p._selectCache.length;a<i;a++){var o=p._selectCache[a];if(o.selector===e)return o.result}for(var s=bE(t.include),l=yE(t),u=0;u<s.length;u++){n=s[u];var c=Ir(n,e,l);r=wE(r,c);}return p._selectCache&&p._selectCache.push({selector:e,result:r}),r}function bE(e){return e.reduce(function(t,r){return (!t.length||!$r(t[t.length-1],r))&&t.push(r),t},[])}function yE(e){return !e.exclude||e.exclude.length===0?null:function(t){return tu(t,e)}}function wE(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 Fo(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(We.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?Fo(e.cause,t+1):"..."),r}var xE=(function(e){function t(r){var n,a,i=r.error,o=r.ruleId,s=r.method,l=r.errorNode;return nr(this,t),a=Q(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=Fo(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),Gt(t)})(V(Error)),Io=xE;function DE(e,t,r){if(e===f)return e.scroll(r,t);e.scrollTop=t,e.scrollLeft=r;}function AE(e){e.forEach(function(t){var r=t.elm,n=t.top,a=t.left;return DE(r,n,a)});}var _E=AE;function EE(e){var t=Array.isArray(e)?ke(e):[e];return t1(t,m)}function t1(e,t){var r=e.shift(),n=r?t.querySelector(r):null;return e.length===0?n:n!=null&&n.shadowRoot?t1(e,n.shadowRoot):null}function su(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:m,r=Array.isArray(e)?ke(e):[e];return e.length===0?[]:r1(r,t)}function r1(e,t){var r=P(e),n=r[0],a=mn(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,ke(r1(a,u.shadowRoot)));}}catch(c){s.e(c);}finally{s.f();}return o}function CE(){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 Lo=CE,n1=[,[,[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,,,,,,1,1,1,1,,,1,1,1,,1,,1,,1,1],[1,1,1,,1,1,,1,1,1,,1,,,1,1,1,,,1,1,1,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,,,,1,1,1,,1,1,1,1,1,1,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1],[,1,,,,,,1,,1,,,,,1,,1,,,1,1,1,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,,1,1,1,1,,,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,,,1,,,,1,1,1,1,,1,,1,,1,,,,,,1],[1,,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,,1,,1,,,,,1,,1,1,1,1,1,,,,1,1,1,1],[,1,1,1,1,1,,1,1,1,,1,,1,1,1,,,1,1,1,1,1,1,1,1],[,,1,,,1,,1,,,,1,1,1,,,,,,,,,,,1],[1,1,1,1,1,1,,1,1,1,,1,1,,1,1,1,1,1,1,1,1,,,1,1,1],[1,1,1,1,1,,,1,,,1,,,1,1,1,,,,,1,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,,1,1,,1,1,1,1,1,1,1,,1],[,1,,1,1,1,,1,1,,1,,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,,,1,1,1,,,1,1,,,,,,1,1],[1,1,1,,,,,1,,,,1,1,,1,,,,,,1,,,,,1],[,1,,,1,,,1,,,,,,1],[,1,,1,,,,1,,,,1],[1,,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,,1,,,1,1,1,1],[,1,1,1,1,1,,,1,,,1,,1,1,,1,,1,,,,,1,,1],[,1,,,,1,,,1,1,,1,,1,1,1,1,,1,1,,,1,,,1],[,1,1,,,,,,1,,,,1,1,1,1,,1,1,1,1,1,1,,1,1,1],[,1,,1,1,1,,,1,1,1,1,1,1,,1,,,,1,1,1,,1,,1],[,1,,1,,1,,1,,1,,1,1,1,1,1,,,1,1,1],[,1,1,1,,,,1,1,1,,1,1,,,1,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1],[,1,1,1,,1,1,1,,1,,,,,1,1,1,,,1,,1,,,1,1],[,,,,1,,,,,,,,,,,,,,,,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,,1,1,,,,1,1,1,1,1,,,1,1,1,,,,1,1],[1,1,1,1,,,,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,,,,,,,1,,,,,,,1],[,1,1,,1,1,,1,,,,,,,,,,,,,1],[,,,,,,,,1],[1,1,1,,,,,,,,,,,,,1],[,,,,,,,,1,,,1,,,1,1,,,,,1]],[,[1,1,,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,,1,1,1,1,,1,1,,1,1,1,1,1,1,1,,1,1,1,1,,1],[,,,1,,,,,,,,,,,,,,,1],[,1,,,1,1,,1,,1,1,,,,1,1,,,1,1,,,,1],[1,,,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1,,,1,,,,1],,[,1,1,1,1,1,,1,1,1,,1,1,,1,1,,,1,1,1,1,,1,1,,1],[,1,,,1,,,1,,1,,,1,1,1,1,,,1,1,,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,,,1,1,1,1,1,1,1,,,1,,,1,,1],[,1,,,,,,1,,,,1,1,,,,,,1,1,,,,,1],[,,,,,,,1,,,,1,,1,1],[,1,1,1,1,1,1,1,,,,1,1,1,1,1,,,1,1,,1,1,1,1,1],[,1,,,1,1,,1,,1,1,1,,,1,1,,,1,,1,1,1,1,,1],[,1,1,1,,1,1,,1,1,,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1],[,,,,,,,,,,,,,,,,1],,[,1,1,1,1,1,,1,1,1,,,1,,1,1,,1,1,1,1,1,,1,,1],[,,1,,,1,,,1,1,,1,1,,1,1,,1,,,,,,,,,1],[,1,1,,1,,,,1,1,,1,,1,1,1,1,,1,1,1,1,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[1,1],[,1,,,,,,,,,,1,1,,,,,,1,1,,1,,1,,1,1],,[,1,1,,1,,,1,,1,,,,1,1,1,,,1,,,1,,,,1],[1,1,,,1,1,,1,,,,,1,,1]],[,[,1],[,,,1,,,,1,,,,1,,,,1,,,1,,,1],[,,,,,,,,,,,,,,,,,,1,1,,,,,,1],,[1,,,,,1],[,1,,,,1,,,,1],[,1,,,,,,,,,,,1,1,,1,,,,,,,,,1,1],[,,,,,,,,,,,,,,,,,,,1,,1],[,,,,,,,,,,,,,,,,1,,,,1,,1],[,1],[,1,,1,,1,,1,,1,,1,1,1,,1,1,,1,,,,,,,1],[1,,,,,1,,,1,1,,1,,1,,1,1,,,,,1,,,1],[,1,1,,,1,,1,,1,,1,,1,1,1,1,1,,1,,1,,1,1,1,1],[1,1,1,1,1,,1,,1,,,,1,1,1,1,,1,1,,,1,1,1,1],[1,,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,1],,[,1,,,,,,1,1,1,,1,,,,1,,,1,1,1,,,1],[1,,,,,1,,1,1,1,,1,1,1,1,1,,1,,1,,1,,,1,1],[1,,1,1,,,,,1,,,,,,1,1,,,1,1,1,1,,,1,,1],[1,,,,1,,,,,,,,,,,,,1],[,,,,,1,,,1,,,,,,1],[,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,,1],[,1,,,,,,,,,,,,,,1],[,1,,,,1]],[,[1,1,1,,1,,1,1,1,1,1,1,1,1,1,,1,,1,,1,1,,,1,1,1],[,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1],,[,,,,,,,,,,,,,,,,,,1],[1,,,,,,,,,1,,,,1],[,,,,,,,,,,,,,,,,,,1],,[1,1,,,,1,1,,,,,,1,,,,1,,1,,1,1,,1],[1],[,,,,,,,,,,,1,,,,,,,,,,,1],[,1,,,,,,,1,1,,,1,,1,,,,1,,,,,,,1],[,,,,,,,,,,,,,,,,1,,,,,1],[,,1,,,,,1,,1],[1,,,,1,,,,,1,,,,1,1,,,,1,1,,,,,1],[,,,,,1],[,,,,,,,,,,,,,,,,,,,1],[1,,,1,1,,,,,,,1,,1,,1,1,1,1,1,1],[,,,,,1,,,,,,,1,,,,,,,1],,[,,1,1,1,1,1,,1,1,1,,,1,1,,,1,1,,1,1,1,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,,,,1],,[1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[,,,1,1,1,1,,,,,,1,,1,,,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,,,,1,,1,,,1,1,1,1,1],[,,,,,,,,,,,1,,,,,,,,,1,,,,1],[,1,1,,1,1,,1,,,,1,1,,1,1,,,1,,1,1,,1],[,1,,1,,1,,,1,,,1,1,,1,1,,,1,1,1],[,1,1,1,1,1,,1,1,1,,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,,,,,,,,,1,,1,,1,1,,,,1,,,1],[,1,,,1,1,,,,,,,,,1,1,1,,,,,1],[1,,1,1,1,,,,1,1,1,1,1,,,1,,,1,,,1,,1,,1],[,1,1,,1,1,,1,1,,,,1,1,1,,,1,1,,,1,1,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,,1,1,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,,1],[,1,,,,,,,,1,,,,,1,,,,1,,,1],[,1,1,1,1,,,1,1,1,1,1,,1,,1,,1,1,1,1,1,1,1,1,1,1],[,,,,,1,,1,,,,,1,1,1,1,1,,,1,,,,1],[,1,,,,,,,,1,,,,,,,,,,,,1],[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,,1,,1,1,,,,1,,1,1,1,1,1,,1,1,,,,,,1],[,1,1,1,1,1,1,1,,1,1,,,1,1,,,,1,,1,1,,1,1],[,,,,,,,,,,,,,,,,,,,,,,,,1],[,1,1,,1,1,1,1,,1,,,1,1,1,1,,,1,,,,,,,1,1],[,1,,,,,,,,1,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1],[,1,1,,,,,,,,,,,,1,1,,,,,,1],[,1,,,,,,,1],[,,,,,,,,,,,,,,1,,,,,1,,,,,,1],[1,1,,,1,,,1,1,1,,,,1],,[,,,,,,,,,,,,,1,,,,,,,,,,1],[,,,,,,,,,1,,,,,,,,,1,,,,,,,1],[1,1,1,,1,,1,1,1,1,1,1,1,1,,1,,,1,,1,,,1,1],[,,,,,,,,,1],[,1,,,,1,,,1,,,1,,,1,,,,,1],[,1,1,,1,1,,,,,,,,,,,,,,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,,,1,1,,1,1,1,1,,,1,1,1,,,,1,,1],[1,1,1,1,1,1,,,1,1,1,1,1,1,,1,1,,1,1,1,,1,1,,1,1],[,,,,,,,,,,,,,,,1,,,,1],,[1,1,,1,,1,,,,,,1,,1,,1,1,,1,,1,1,,1,1,,1],[,,1,,,,,,1,,,,1,,1,,,,,1],[1,,,,,,,,,1,,,,,,1,,,,1,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,,,1,,1,,,,,,1,,,1,,,,,,,,1],[,1,,1,,,,,,,,,,,,1],,[1,1,,,,,,,,,,,,,,,,,,,,,,1,1],[1]],[,[1,,,,,,,,,1,,,,,1,,1,,1],[,1,1,,1,1,,1,1,1,,,1,1,1,,,,1,,,1,,,,1],[,1,,,,,,,1,,,,1,,,,,,1],[1,1,1,1,1,1,,,,1,,,,,,,,,1,1,1,1],[1],[,1,1,,,1,1,,,,,1,,1,,,,,,,,1,,,,1],[1,,1,,,1,,1,,,,,1,1,1,1,,,,1,,,,1],[,,1,,,,,,,1,,,,,,,1,,,,,,,1],[1,,,,,,,,,,,,,,1,,,,1],[,,,1,,1,,,,,1,,,,1,1,,,,1],[1,,,,,1,,,1,1,,1,1,,,1,1,,1,1,1,,1,1,1,,1],[,1,1,,,,,1,,1,,1,1,1,,1,1,,,1,,1,1,1],[,1,,,,1,,,,1,,,1,,1,1,,,1,1,1,,,,,1],[1,,1,1,,1,,1,1,,1,,1,1,1,1,1,,,1,1,,,,,,1],[1,,,,,,,,,,,,,,,,,,1,,,1,,1],[,,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,,,,1,,1],[,1,,,,1,,,1,1,,1,,,1,1,,,1,,,1,,,1,1],[1,1,,1,1,1,,1,1,1,,1,,1,1,1,,,1,,1,1,1],[1,,1,1,1,1,,,,1,,1,1,1,,1,,,1,1,1,,1,1,1,1,1],[1,,,,,,,,,,,,,1],[,,1,,,,,,,,,,,,,,,,,,,,1],[1,,,,,,,,,,,1,,1,,1,,,,1],[,,,1,,,,,,,,,1],[,1,,,,,,,,,,,,,,1,,,,,,,,,1],[,,,,,,,,1,1,,,,1,,,,,1,,,,,,,,1]],[,[1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,,1,1,1,1,1,,,1,1,1],[,,,,,1,,,,1,1,1,,1,1,1,,,1,,1,1,,1],[,,,,,,,,,,,,,,,,,,,1,1],[,1,,,,,,1,,,,,,,,,,,,,1],[,,1,,,1,,1,1,1,,1,1,,1,,,,1,,1,1],,[,,1,,,1,,,,,,1,,,,1],[,,,,,,,,,1,,,,,,,,,,1],[1,1,1,1,1,1,,1,1,1,,,1,1,,1,,1,,,1,1,1,,,1],[,,,,,1,,,,,,,,,,,,,1],[,1,,,,,,,,,,,,1,,1,1,,1,1,,1],[,,,,,1,,,,,,,,,,,,,,1],[,1,1,1,1,,,,,1,,,1,,1,,,,1,1,,,,1,1],[,1,,,1,,,1,,1,1,,1,,,,,,,1],[,,1,,1,,,1,,,,,,,,,,,1,1,,,,1],[,1,,,,,,,,,,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,1,,,,,,,,,,,,,,,,1,,1,1],[,,,,,,,,,,,,1],,[,1,1,1,1,,,,1,1,,1,1,1,1,1,1,,1,1,1,1,,1,,1],[1,,,,1,,,,,,,,,,1],[1,,,,,,,,,1],,[,1,,,,1,,,,,,,,,,,,,,,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,,,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,,1,1,1,,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,,,1,1,1,,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1,,1,1,1,1],[1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,,,1,1,1,1,,1,,,,1,1,,,1,1,,1],[,1,1,,1,,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,,,,,,,,,,1],[1,1,1,,,,,1,1,1,,1,1,1,1,1,,1,1,1,1,1,,,,,1],[,1,,,,,,,1,1,,,1,1,1,,1,,,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,1],[,1,,,,1,,,,1,,,1,,,,1,,,,,,,1,1],[,1,1,1,1,1,,,1,1,1,,1,1,1,1,,,1,1,1,1,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1],[1,1,1,,1,,,1,1,1,1,,1,1,1,1,,,,1,,1,,1,,,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,,1,1,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,,1,,1,,1,,1,,1,1,1,1,1,,,1,,1,,1,,,,1],[,1,1,1,1,1,,1,1,1,,,1,1,1,1,1,,1,1,1,,1,1,,1],[1,,,1,,,,1,1,1,,,,,1,1,,,,1,,1],[1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,,,,,,,,1,,1,1,,,,,,,1,,1],[,1,,,,1,,1,1,,,,1,1,,1,,,,1,1,1,,1],[,,,,,,,,,,,,,1],[,1,,,,,,1,,,,,,,1],[,,,,,,,,1,,,,1,,1,,,,,,,,,,,,1]],[,[,1,1,,1,1,1,1,,1,1,1,,1,1,,1,1,,1,1,1,1,1,1,,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,1,,,1,,,,,,,,1,,,,,,1,,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,,1,1,1,,1,1,1,1,,,1,1,1,1,,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,,1,,1,,1,,1,1,1,1,1,1,1,,1,1,,,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1],[,1,1,,,,,1,1,1,,,1,,1,1,,,,1,,1,,,1,1],[,,,,,,,1,,,,1,1,1,1,1,,1,,,1,,,,,1],[1,1,1,1,,1,1,1,,1,,1,1,1,1,,1,,1,,1,1,,,1,,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,1,1,,1,,1,1,1,,1,,1,1,,1,1,,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,,,,,,,1,,,,,1,,1],[,1,1,1,,1,,1,,1,,,,1,,1,,,1,,,,,1,1,1],[,1,,,1,1,,1,,1,,1,1,1,1,1,,1,1,,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,,,1,,1,,1,,,,,1,1,,1,,,,1,1]],[,[,1,,1,,,,,,,,1,,,,,,,1,,,,1],[,,,,,,,,,1,,1,1,1,,1,,,1,,1,1],[1,1,,,,,,,1,,,,,1,,1,,,,,,1],[,1,,,,,,,,,,1,,,,,,,,,1,1],,[,,,,,,,,,,,,,,,1,,,,1,,1],[,,1,1,,1,,1,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,,,1,1],[,1,,,,1,,,,,,,,,1],[1,,1,1,,,,1,,,,,,,,,1,,,1,,,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,,1,1,,1,1,,1,,1],[,1,,,1,1,,,,,,1,,1,,1,,,1,,1,1],[1,1,1,1,,1,,1,,1,,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,,,1,,1,,1,1,1,,,1,1,1,,1,1,1,1,,1,1],[,,,,1,,,1,,,,,,,1,,,,1,1],[,1,,,,,,,,,,1,,1,,1,,,,,1,,,,,1],,[1,1,,1,,1,,1,1,,,,,,1,1,,,1,1,1,1,1,1,1,1,1],[1,1,,1,,,,,,1,,,,,1,1,1,,,,1,1,,,1],[,1,1,,1,1,,,,1,,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1],[,1,1,,,1,,,,1,,,,1,1],[,,,,1],[,,,,,,,,,1,,,1],,[,,1,,1,,,,,,,,,1,,,,,,,,,,,,1],[,,,,,,,,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,1,,1,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,,,,,1],[,1,,1,,,,,,1,,,,,1,1,,,,,1,1],[,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,,,1,,1,1,1],[,1,,,,1,,,,,,,1],[,1,,,1,,,1,,1,,1,1,,1,,,,,1,,1,,,,1,1],[,1,,,1,,,1,1,1,1,1,1,1,1,1,,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1],[,,,,,,,,,,,,,,,,,,,,1],[,1,1,1,,,,1,1,,,,,,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,1,1,1,1,1,1,1,,1,,1,1,1,1,1,,1,1,,1,1,1,1,1],[,1,,,,1,,,,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,1,,,,,,,,,,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,,1,1,1,,1,1,1,,,1,1,1,1,1,1,1,1,1,1,,1,,1],[1,1,,,,,,,1,1,,,,,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,,1,1,1,,1,,1,1,1,1,,1,1,,1,1,1,1],,[,1,1,,,,,1,,1,,,,1,1,1,,,1,,,,,1],[,,,,,,,,,,,,,1],[,,,,,1,,,,,,,,1,1,,,,,1,,1,,,1,1],[,,,,,1,,,1,,,,,,1]],[,[,1],,,,,,,,,,,,,,,,,,,,[1,1,1,1,1,,1,1,1,1,,1,1,1,1,,1,1,1,1,,,1,1,1,1,1],[,1,,1,,1,,,1,1,1,,1,1,1,1,1,,,1,,,,1,,1,1],[,1,,1,,1,,,1,,,,,1,,,,,,1,1],[,1,,1,,,,,1,,,,1,,1,1,1,1,1,1,1,1,,1],[,1,,,,,,,,,,,,,,,1]],[,[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,,,,,,,,,1,1,,,,1],[,,,,,,1],[,,1],[,1,1,,,1,,1,,1,1,,1,1,1,,,,1,1,1,,,,,1],,[,1,,,,1,,,,,,1,,,1,,,,1,1,,1],[,,,,,,,1,,,,,,,,,1],[,1,1,,,1,1,,,,,,1,1,1,,,,1,,1,1],[,,,,,,,1,,1,,,,,,,,,,1],[,1,1,,,,,,1,1,,,,1,,,,,,,1,,,1],,[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,1,,,1,,,,,1,,1,,1,,1,,,,,1],[1,1,1,1,1,1,1,1,,,,,1,1,,1,1,,1,,,1,,1],[,,,,,,,,,,,,,,1,,,,,,1],,[,,,,,,,,,1,,,,1,,1,,,,,1],[,,1,,,,,,,1,,1,1,1,1,,,,,,,,,1],[,,,1,,,,,1,,,,,1,,,,,,1,,,,1],[1,,1,1,,1,1,1,1,1,,1,,,,1,1,1,,,1,1,,,,1,1],,[1,1,,,,,,,,,,1,1,1,,1,,,1],[,,,,1,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,1,,,,,1,,1],[,,,,,,,,1]],[,[1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,,1,1,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,,1,,,1,,,,,,,,1,,,,,,1,,,,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,,,,1,1,1,1,1,1,,1,1,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1],[,,1,1,1,1,,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,,,,,,,1,,1,1,,1,1,1,,1,1,1,1,1,,,1],[1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,1,1,,1,,1,,1,1,1,1,1,,1,,1,1,1,1,,1,1,1,1,1],[1,1,1,1,,1,,,,,,1,,1,,,,,1,1,,,,,1],[1,,1,1,,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,1,,1,,1,,,,1,1,1,1,1,,,1,1,,1,,1],[,1,1,1,1,,,,,1,,1,1,1,1,1,,,1,1,,,,1,1,1],[,1,1,1,1,1,,1,,,,,1,,1,,1,,,1,,,1,1,,1]],[,[1,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,,,,,,1,,,,,1,1,,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,,,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,,1,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,,,,,,1,,1,1,,1,1,1,1,1,,,1,,1,,1],[1,1,1,,1,1,1,1,,,,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,,1,,,,,,,,,,1,1,1,1,1,1,1,,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,,,1,1,,,,1,,1,1,1,1,1,,,,1,1,1,,1,1,1],[1,1,1,1,1,1,1,1,1,,,,1,1,1,1,1,1,1,,1,1,,1,1,1],[,1,1,1,,1,,1,1,1,1,,,1,1,1,,1,1,1,1,1,,,1,1],[1,1,,,,1,,,1,1,1,,1,,1,,1,,1,1,1,1,1,,1,1,1],[,1,,,,,,,1,,1,,1,1,1,1,,,,,,,,,1]],[,[,,,,,,,,,,,,,1,1,,,,1],[,1,,,,,,,,1,,,1,,,,,,1,,,1,,,,1],,[,1,,,,1,,1,,1,1,,1,1,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,1],[1,1,1,,,1,,,1,,,,,,1,1,,,,,,,,,,1],[,1,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1,,,1],[,,,,,,,,,1],[1,1,,,,,,1,1,1,,1,1,,,,1,1,,1,,1,1,1,,1],[,1,1,1,,1,1,,,1,,1,1,1,1,,,,,,,1,,1,,1],[,1,1,1,1,,,1,,1,,,,1,1,1,1,,1,1,,1],[,1,,,1,1,,1,,1,,1,,1,1,,1,,1,,,1,,,1,,1],[,,,,,,,,,,,1,,,1],[,,,,,,,,,1,,,,,,,,,,,,,1],,[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1],[,1,,,,,,,1,1,,1,,,,,1,,,1,,1],[,1,,,,1,,,1,,,,,,,,1,,1,,,1],[,,,,,,,,,,,,,1,1,,,,1,,,1],[,,,,,1,,,1,,,,1],[,1],,[,1],[1,,,,,,,,,,,,,,1,,,,,1]],[,[,1,,,,1,1,1,1,1,1,,1,1,1,1,1,,1,1,,1,1,,,1],[,,1,,,,,,,,,1],,,[1,,,1,1,,,,,,,,1,1,,1,1,,1],,[,,,,,,,,,,,,,,,,,,1,,1],,[1,,,1,1,,1,1,,,,,1,,1,,,,,1,1,,1],[,,,,,,,,,,,1],[,1,,,,,,,,1,1,1,1,1,1,1,1,,,,1,1,,,,,1],[,,,,,,,,,,,,,,,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,,1,1,1,1,1,1],[,,,,,,,,,,,1,,1,,,1],[1,,,,,,,,,,,,,,,,,,1,,1],,,[,1,,,,,,,,,,,,,,1,,,,1,1],[,,,,,,,,,1,,,1,,1,,,,,,,,1],[,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,1,1,,,,,,1],,[,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,,1,1,,1,1,1,1,1,1,,,1,1,1,1,1,,1,1],[,1,,,,,,,,1],[,,,,1,,,1,,,1,1,,,,,,,,,1,1,,,,1],[,1,,1,1,,,1,1,1,,,,1,1,1,1,,1,1,1,1,,1],[,,,,,,,1],[,1,1,,,,,1,,1,,,,,,1,,,,,,1,,1,,1],[,1,,,,,,1,,,,1,,,,,,,,,,1],[,,1,1,,1,1,1,1,1,1,1,1,1,1,,,,1,,1,1,1,1,,1],[,1,,,,,,,,1],[,1,1,,1,,,,,,,,1,,,,,,1,,,1,,1,,1],[,1,,1,,1,,1,1,1,,1,1,1,,1,,,1,1,,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,,,,1,1,1,,,,1,1,,,1,1],[,,1,1,1,1,,1,,1,,1,,1,1,1,1,,,,,1,,1,,1],[1,1,1,1,1,1,1,1,,1,,1,,1,1,1,,,1,1,,,,1,,1],[,,,1],,[,1,1,,1,,,1,1,1,,1,1,1,1,1,1,,1,1,,1,1,1,1,1,1],[,1,,,,,,1,,1,,1,,,,,,,1,1,,1,1],[,,1,,,,1,,1,1,,1,,1,,,,,,,,,,1],[,1,1,,1,,,,1,,,,1,1,1,,,,1,,1,1,1,,1,1],,[,1,1,,,,,,,,,,,,,1,,,1,,,,,1],[,1,,,,,,,,,,,,,,,,,,,,,,1],[,1,1,,,,,,,1,,,,1,1,,,,1,,,,,,,1]],[,[,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[,1,1,1,1,1,,1,,1,1,,,1,1,1,1,,1,,,,,1,1,1],[,,1,1,,1,,1,1,,,,1,1,1,1,,,1,,1,1,1,1,,1],[,1,,1,,,,,,,,1,,1,,1,,1,,,,,,,,1],[,,1,,1,,,1,,,,,1,1,,,1,,1,1,1,1],[,1],[,1,1,,1,,1,1,,1,,,1,1,1,,,,1,,,1,,1],[1,1,,1,1,1,,,,,,,,1,,,,,1,,1,1,1],[,1,1,,,,,,,1,,,1,,1,,1,,1,1,,,1,,,1],[,,1,,,,,,,,,,,,,,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,,1,,,,,1,1,1,,,1,,1,,,,1],[,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,1,1,1,1,1,,1,1,1,,1,1,1,1,1,,,,1,1],[,,,1,1,,,1,,1,,1,,1,1,1,1,,1,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,,,,,,,,,,,,,,,,1],[,1,1,,1,1,,1,,1,,,,1,1,,,1,1,,1,1,,1],[,1,1,1,1,1,,,1,1,1,,1,1,1,1,1,1,1,1,,1,1,,,1],[,1,1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,,1,,,1,,,1,,1,1,1,1,1,,1,,1,1],[,,,,,1,,,,1,,,,,1,1,,,,1],[,1,,1,1,1,,1,,,1,1,1,,,1,,,1,,1,,,1],[,,1,,,,,,,,,1,,1,,,,,1,,1],[,1,1,,,,,,,,1,1,1,,,,,,,,1,,,,,1],[,,,,,,,,1,,,,,1,,,1]],[,[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,,,1,1,1,1,1,1,1,1,,,,,,,,,1,1],[,,,,,,,,1,,,,1,,1,,1,,1],[,1,,,1,1,,1,,,,1,,,,,,,,1],[,1,,1,,1,,,,1,1,,1,,1,,,,1,1,1,1,1,,,1],,[,1,,,,,,,,1,,,1,1,,,1,,1,1,,1,,1],[,1,,,1,,,,,,,,1,,,,,,,1],[1,1,,,,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1],,[,1,,,,,,1,1,1,,1,1,1,1,1,,,1,,1,1,,,,1],[,1,1,,,1,,1,,1,,,1,1,1,1,,,1,,,1,,,,1],[,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,,,1,,1],[,1,1,,1,1,,1,1,,,1,1,,1,1,,1,,1,,1],[1,,1,,,,,1,,1,,1,1,1,1,,,,,1,1,,,,1,1],[,1,1,,,,,1,1,,,1,,1,1,1,1,,,,,,,,,,1],,[,1,1,,,1,,,,1,,1,1,1,1,1,,,,1,,,,1,,1],[,,,1,1,,,1,,,,,1,1,1,1,1,,1,1,,,,,,1],[,1,,,,,,,,,,,1,,,,1,,,,,,,1,,1],[,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,,1,1,,1,1,1,1],[,1,,,,,,,,,,,,,,,,,,,1],[,1,,,,,,1,,,,,1,,1,,,1,1,,1,1,,1],[,1,,,,,,1,,,,,1,1,,,,,,,,1,,,,1],[,,,,,,,,,,,,,,,,,,1,,,1,,,,,1],[,,,,,,,1,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,,1,,,,,,,1,,,,,,,,1,1,,1],[,1,,,1,,,,1],[,,,,,,,,,,1],[,1,,,,,,1,1,,,,,1,1],,[,1,1,,,,,,1,,,,,1,1,,,,1],[1,,1,,1,,,,,1,,,,,1,,,,,,,,,1,1],[,1,1,,,,,,,,,1,1,1,1,,,,1,,,,,1,,,1],,[,1,1,,1,,,1,1,,,1,,,1,1,1,,1,,1,1,1,,,,1],[,1,,,,1,,,,,1,,,1,1,,,1,,1,,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,1,1,,1,,,,1,,,,,,,,1],[,,,1,,,,,1,,,,,1,,1,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,,1],[,1,,,,,,1,,,,,,,1,1,1,,,1],[,1,,,,,,,,,,1,1,1,,,,,1,,,1],[,,,,,1,,1,,,,,1,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 SE(e){for(var t=n1;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 a1(e){e=Array.isArray(e)?e:n1;var t=[];return e.forEach(function(r,n){var a=String.fromCharCode(n+96).replace("`","");Array.isArray(r)?t=t.concat(a1(r).map(function(i){return a+i})):t.push(a);}),t}var Po=SE,kE=(function(e){function t(r){var n;return nr(this,t),n=Q(this,t),n._props=RE(r),n._attrs=FE(r),n}return Me(t,e),Gt(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)}}])})(Ft),lu={"#cdata-section":2,"#text":3,"#comment":8,"#document":9,"#document-fragment":11},i1={},TE=Object.keys(lu);TE.forEach(function(e){i1[lu[e]]=e;});function RE(e){var t,r,n,a=(t=e.nodeName)!==null&&t!==void 0?t:i1[e.nodeType],i=(r=(n=e.nodeType)!==null&&n!==void 0?n:lu[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(),Lo().includes(o)||(o="text"));var s=Fe({},e,{nodeType:i,nodeName:a});return o&&(s.type=o),delete s.attributes,Object.freeze(s)}function FE(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 o1=kE;function IE(e,t){if(e=e||function(){},t=t||p.log,!p._audit)throw new Error("No audit configured");var r=p.utils.queue(),n=[];Object.keys(p.plugins).forEach(function(i){r.defer(function(o){var s=function(u){n.push(u),o();};try{p.plugins[i].cleanup(o,s);}catch(l){s(l);}});});var a=p.utils.getFlattenedTree(m.body);p.utils.querySelectorAll(a,"iframe, frame").forEach(function(i){r.defer(function(o,s){return p.utils.sendCommandToFrame(i.actualNode,{command:"cleanup-plugin"},o,s)});}),r.then(function(i){n.length===0?e(i):t(n);}).catch(t);}var s1=IE,Ka={},l1;function u1(e){return Ka.hasOwnProperty(e)}function uu(e){return typeof e=="string"&&Ka[e]?Ka[e]:typeof e=="function"?e:l1}function LE(e,t,r){Ka[e]=t,r&&(l1=t);}function PE(e){var t=p._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=De(n,2),i=a[0],o=a[1],s=i.split(".").map(Number),l=De(s,3),u=l[0],c=l[1],h=l[2],b=p.version.split("-"),A=De(b,2),L=A[0],N=A[1],q=L.split(".").map(Number),$=De(q,3),z=$[0],W=$[1],X=$[2];if(u!==z||W<c||W===c&&X<h||u===z&&c===W&&h===X&&o&&o!==N)throw new Error("Configured version ".concat(r," is not compatible with current axe version ").concat(p.version))}if(e.reporter&&(typeof e.reporter=="function"||u1(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 K=[];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"));K.push(ne.id),t.addRule(ne);});}if(e.disableOtherRules&&t.rules.forEach(function(ne){K.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&&QD(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(We.allOrigins,'" instead'));t.setAllowedOrigins(e.allowedOrigins);}}var ME=PE;function OE(e){yr.updateMessenger(e);}function NE(e){e=e||[];var t=e.length?p._audit.rules.filter(function(n){return !!e.filter(function(a){return n.tags.indexOf(a)!==-1}).length}):p._audit.rules,r=p._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 qE=NE;function BE(e,t,r){var n=["SCRIPT","HEAD","TITLE","NOSCRIPT","STYLE","TEMPLATE"];if(!n.includes(e.nodeName.toUpperCase())&&Ga(r)){var a=f.getComputedStyle(e);if(a.getPropertyValue("display")==="none")return;if(a.getPropertyValue("visibility")==="hidden"){var i=It(e),o=i&&f.getComputedStyle(i);if(!o||o.getPropertyValue("visibility")!=="hidden")return}}return true}var HE=BE,c1={};pr(c1,{getAllCells:function(){return cu},getCellPosition:function(){return mo},getHeaders:function(){return Mo},getScope:function(){return Al},isColumnHeader:function(){return $n},isDataCell:function(){return f1},isDataTable:function(){return Oo},isHeader:function(){return UE},isRowHeader:function(){return jn},toArray:function(){return zr},toGrid:function(){return zr},traverse:function(){return du}});function VE(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 cu=VE;function d1(e,t,r){for(var n=e==="row"?"_rowHeaders":"_colHeaders",a=e==="row"?jn:$n,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,h=t.x+o,b=e==="row"?t.y:0,A=e==="row"?0:t.x,L,N=[],q=c;q>=b&&!L;q--)for(var $=h;$>=A;$--){var z=r[q]?r[q][$]:void 0;if(z){var W=p.utils.getNodeFromTree(z);if(W[n]){L=W[n];break}N.push(z);}}return L=(L||[]).concat(N.filter(a)),N.forEach(function(X){var K=p.utils.getNodeFromTree(X);K[n]=L;}),L}function $E(e,t){if(e.getAttribute("headers")){var r=Sr(e,"headers");if(r.filter(function(o){return o}).length)return r}t||(t=zr(Hn(e,"table")));var n=mo(e,t),a=d1("row",n,t),i=d1("col",n,t);return [].concat(a,i).reverse()}var Mo=$E;function jE(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 f1=jE;function zE(e){var t=Qe(e);if((t==="presentation"||t==="none")&&!Et(e))return false;if(e.getAttribute("contenteditable")==="true"||Hn(e,'[contenteditable="true"]')||t==="grid"||t==="treegrid"||t==="table"||wr(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,h=o.cells.length;c<h;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 b=e.rows[Math.ceil(i/2)];if(b.cells.length===1&&b.cells[0].colSpan===1)return false;if(b.cells.length>=5||l)return true;for(var A,L,N=0;N<i;N++){if(o=e.rows[N],A&&A!==f.getComputedStyle(o).getPropertyValue("background-color")||(A=f.getComputedStyle(o).getPropertyValue("background-color"),L&&L!==f.getComputedStyle(o).getPropertyValue("background-image")))return true;L=f.getComputedStyle(o).getPropertyValue("background-image");}return i>=20?true:!(ll(e).width>no(f).width*.95||a<10||e.querySelector("object, embed, iframe, applet"))}var Oo=zE;function GE(e){if($n(e)||jn(e))return true;if(e.getAttribute("id")){var t=xt(e.getAttribute("id"));return !!m.querySelector('[headers~="'.concat(t,'"]'))}return false}var UE=GE;function p1(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=p1(e,{x:t.x+e.x,y:t.y+e.y},r,n),a.unshift(i),a):[]}function WE(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 p1(e,{x:t.x+e.x,y:t.y+e.y},r,n)}var du=WE,m1={};pr(m1,{allowedAttr:function(){return h1},arialabelText:function(){return Ha},arialabelledbyText:function(){return Ba},getAccessibleRefs:function(){return fu},getElementUnallowedRoles:function(){return b1},getExplicitRole:function(){return Qe},getImplicitRole:function(){return kr},getOwnedVirtual:function(){return ja},getRole:function(){return Xe},getRoleType:function(){return wr},getRolesByType:function(){return iC},getRolesWithNameFromContents:function(){return lC},implicitNodes:function(){return cC},implicitRole:function(){return kr},isAccessibleRef:function(){return No},isAriaRoleAllowedOnElement:function(){return v1},isComboboxPopup:function(){return mu},isUnsupportedRole:function(){return xl},isValidRole:function(){return Va},label:function(){return D1},labelVirtual:function(){return vo},lookupTable:function(){return w1},namedFromContents:function(){return jp},requiredAttr:function(){return A1},requiredContext:function(){return hu},requiredOwned:function(){return gu},validateAttr:function(){return qo},validateAttrValue:function(){return _1}});function XE(e){var t=at.ariaRoles[e],r=ke(sn());return t&&(t.allowedAttrs&&r.push.apply(r,ke(t.allowedAttrs)),t.requiredAttrs&&r.push.apply(r,ke(t.requiredAttrs))),r}var h1=XE,YE=/^idrefs?$/;function g1(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(Vt(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(h){s.e(h);}finally{s.f();}}}}for(var c=0;c<e.childNodes.length;c++)e.childNodes[c].nodeType===1&&g1(e.childNodes[c],t,r);}function KE(e){var t;e=e.actualNode||e;var r=Nt(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 YE.test(s)});g1(r,a,i);}return (t=a.get(e.id))!==null&&t!==void 0?t:[]}var fu=KE;function JE(e,t){var r=e instanceof Ft?e:Ye(e),n=kr(r),a=ln(r);return Array.isArray(a.allowedRoles)?a.allowedRoles.includes(t):t===n?false:!!a.allowedRoles}var v1=JE,ZE=["doc-backlink","doc-biblioentry","doc-biblioref","doc-cover","doc-endnote","doc-glossref","doc-noteref"],QE={header:"banner",footer:"contentinfo"};function eC(e){var t=[];if(!e)return t;if(e.hasAttr("role")){var r=Vt(e.attr("role").toLowerCase());t=t.concat(r);}return t.filter(function(n){return Va(n)})}function tC(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:true,r=rt(e),n=r.vNode;if(!eu(n))return [];var a=n.props.nodeName,i=kr(n)||QE[a],o=eC(n);return o.filter(function(s){return !rC(s,n,t,i)})}function rC(e,t,r,n){return r&&e===n?true:ZE.includes(e)&&wr(e)!==n?false:v1(t,e)}var b1=tC;function nC(e){return Object.keys(at.ariaRoles).filter(function(t){return at.ariaRoles[t].type===e})}var Gn=nC;function aC(e){return Gn(e)}var iC=aC;function oC(){return Ue.get("ariaRolesNameFromContent",function(){return Object.keys(at.ariaRoles).filter(function(e){return at.ariaRoles[e].nameFromContent})})}var pu=oC;function sC(){return pu()}var lC=sC,y1=function(t){return t===null},qt=function(t){return t!==null},Ur={};Ur.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}},Ur.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"],Ur.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:qt}}]},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:qt}}]},"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:qt}}]},"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:qt}}]},"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:qt}}]},"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:qt}}]},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:qt}}]},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:qt}}]},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:qt}}]},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:qt}}]},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:qt}}]},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:qt}}]},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:qt}}]},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:qt}}]},widget:{type:"abstract",unsupported:false},window:{nameFrom:["author"],type:"abstract",unsupported:false}},Ur.implicitHtmlRole=El,Ur.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:qt}},{nodeName:"input",properties:{type:["color","data","datatime","file","hidden","month","number","password","range","reset","submit","time","week"]}},{nodeName:"link",attributes:{href:qt}},{nodeName:"menu",attributes:{type:"context"}},{nodeName:"menuitem",attributes:{type:["command","checkbox","radio"]}},{nodeName:"select",condition:function(t){return t instanceof p.AbstractVirtualNode||(t=p.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"]}],Ur.elementsAllowedAnyRole=[{nodeName:"a",attributes:{href:y1}},{nodeName:"img",attributes:{alt:y1}},{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"]}],Ur.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=p.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=p.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}},Ur.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 w1=Ur;function uC(e){var t=null,r=w1.role[e];return r&&r.implicit&&(t=Vr(r.implicit)),t}var cC=uC;function dC(e){return !!fu(e).length}var No=dC;function mu(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.popupRoles,n=Xe(e);if(r??(r=_p["aria-haspopup"].values),!r.includes(n))return false;var a=fC(e);if(x1(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=Pa(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(x1)}var x1=function(t){return t&&Xe(t)==="combobox"};function fC(e){for(;e=e.parent;)if(Xe(e,{noPresentational:true})!==null)return e;return null}function pC(e){return e=Ye(e),vo(e)}var D1=pC;function mC(e){var t=at.ariaRoles[e];return !t||!Array.isArray(t.requiredAttrs)?[]:ke(t.requiredAttrs)}var A1=mC;function hC(e){var t=at.ariaRoles[e];return !t||!Array.isArray(t.requiredContext)?null:ke(t.requiredContext)}var hu=hC;function gC(e){var t=at.ariaRoles[e];return !t||!Array.isArray(t.requiredOwned)?null:ke(t.requiredOwned)}var gu=gC;function vC(e,t){e=e instanceof Ft?e:Ye(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=Vt(a),n.reduce(function(l,u){return l&&i.values.includes(u)},n.length!==0);case "idref":try{var o=Nt(e.actualNode);return !!(a&&o.getElementById(a))}catch{throw new TypeError("Cannot resolve id references for partial DOM")}case "idrefs":return Sr(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 _1=vC;function bC(e){var t=at.ariaAttrs[e];return !!t}var qo=bC;function yC(e){var t=cu(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=zr(e),o=true;return a.forEach(function(s){if(!(s.getAttribute("id")&&n.includes(s.getAttribute("id")))){var l=mo(s,i),u=false;$n(s)&&(u=du("down",l,i).find(function(c){return !$n(c)&&Mo(c,i).includes(s)})),!u&&jn(s)&&(u=du("right",l,i).find(function(c){return !jn(c)&&Mo(c,i).includes(s)})),u||r.relatedNodes(s),o=o&&u;}}),o?true:void 0}var wC=yC,Ja=["cell-header-not-in-table","cell-header-not-th","header-refs-self","empty-hdrs"],E1=Ja[0],C1=Ja[1],S1=Ja[2],vu=Ja[3];function xC(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]=Xe(o));}var l=G(G(G(G({},S1,new Set),E1,new Set),C1,new Set),vu,new Set);t.forEach(function(b){if(!(!b.hasAttribute("headers")||!bt(b))){var A=b.getAttribute("headers").trim();if(!A){l[vu].add(b);return}var L=b.getAttribute("id"),N=Vt(A);N.forEach(function(q){L&&q===L?l[S1].add(b):r[q]?["columnheader","rowheader"].includes(r[q])||l[C1].add(b):l[E1].add(b);});}});var u=it(Ja),c;try{for(u.s();!(c=u.n()).done;){var h=c.value;if(l[h].size>0)return this.relatedNodes(ke(l[h])),h===vu?void 0:(this.data({messageKey:h}),!1)}}catch(b){u.e(b);}finally{u.f();}return true}function DC(e){var t=[],r=cu(e),n=zr(e);return r.forEach(function(a){if(wo(a)&&f1(a)&&!D1(a)){var i=Mo(a,n).some(function(o){return o!==null&&!!wo(o)});i||t.push(a);}}),t.length?(this.relatedNodes(t),false):true}var AC=DC;function _C(e,t){var r=e.getAttribute("scope").toLowerCase();return t.values.indexOf(r)!==-1}var EC=_C,CC=SC;function SC(e,t,r){if(r.children!==void 0){var n=r.attr("summary"),a=r.children.find(kC),i=a?Ve(un(a)):false;return !i||!n?false:Ve(n).toLowerCase()===Ve(i).toLowerCase()}}function kC(e){return e.props.nodeName==="caption"}function TC(e){return hm(m)?e.nodeName.toUpperCase()==="TH":true}var RC=TC;function FC(e){var t=zr(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 IC=FC;function LC(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=un(n,{includeHidden:!0}).trim();if(a==="")return this.data({messageKey:"emptyTitle"}),!1}catch{return}return true}}var PC=LC,k1={};pr(k1,{getAriaRolesByType:function(){return Gn},getAriaRolesSupportingNameFromContent:function(){return pu},getElementSpec:function(){return ln},getElementsByContentType:function(){return Dl},getGlobalAriaAttrs:function(){return sn},implicitHtmlRoles:function(){return El}});function MC(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=Xe(r);if(["presentation","none"].includes(a))return this.data({role:a}),true;if(!["presentation","none"].includes(n))return false;var i=sn().some(function(l){return r.hasAttr(l)}),o=Et(r),s;return i&&!o?s="globalAria":!i&&o?s="focusable":s="both",this.data({messageKey:s,role:a}),false}function OC(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 NC=OC;function qC(e){return Qt(e)}var BC=qC;function HC(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&&!vm(e))return true;var c={};typeof a=="number"&&(c.minValue=a),typeof i=="number"&&(c.maxValue=i);var h=e.style.getPropertyValue(r);if(["inherit","unset","revert","revert-layer"].includes(h))return this.data(Fe({value:h},c)),true;var b=VC(e,{absoluteValues:n,cssProperty:r,normalValue:s});if(this.data(Fe({value:b},c)),typeof b=="number")return (typeof a!="number"||b>=a)&&(typeof i!="number"||b<=i)}function VC(e,t){var r=t.cssProperty,n=t.absoluteValues,a=t.normalValue,i=f.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 $C(e,t,r){var n=r.props.nodeName;return ["img","input","area"].includes(n)?r.hasAttr("alt"):false}var jC=$C;function zC(){}var GC=zC;function UC(){var e=m.title;return !!Ve(e)}var WC=UC;function XC(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 YC=XC;function KC(e,t,r){try{return !!Ve(Ba(r))}catch{return}}var JC=KC;function ZC(e,t,r){return !!Ve(Ha(r))}var QC=ZC;function eS(e){var t=e.getAttribute("id").trim();if(!t)return true;var r=Nt(e),n=Array.from(r.querySelectorAll('[id="'.concat(xt(t),'"]'))).filter(function(a){return a!==e});return n.length&&this.relatedNodes(n),this.data(t),n.length===0}var tS=eS;function rS(e){var t=[];return e.filter(function(r){return t.indexOf(r.data)===-1?(t.push(r.data),true):false})}var nS=rS;function aS(e,t,r){var n=Ve(r.attr("title")).toLowerCase();return this.data(n),true}var iS=aS;function oS(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 sS=oS;function lS(e){var t=vl(e,"href");return t?bt(t)||void 0:false}var uS=lS,cS=["alert","log","status"];function dS(e,t,r){this.data({isIframe:["iframe","frame"].includes(r.props.nodeName)});var n=Ue.get("regionlessNodes",function(){return fS(t)});return !n.includes(r)}function fS(e){var t=T1(p._tree[0],e).map(function(r){for(;r.parent&&!r.parent._hasRegionDescendant&&r.parent.actualNode!==m.body;)r=r.parent;return r}).filter(function(r,n,a){return a.indexOf(r)===n});return t}function T1(e,t){var r=e.actualNode;if(Xe(e)==="button"||mS(e,t)||["iframe","frame"].includes(e.props.nodeName)||Vl(e.actualNode)&&vl(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!==m.body&&wo(r,true)&&!pS(e)?[e]:e.children.filter(function(a){var i=a.actualNode;return i.nodeType===1}).map(function(a){return T1(a,t)}).reduce(function(a,i){return a.concat(i)},[])}function pS(e){return ["none","presentation"].includes(Xe(e))&&!yo(e)}function mS(e,t){var r=e.actualNode,n=Xe(e),a=(r.getAttribute("aria-live")||"").toLowerCase().trim(),i=Gn("landmark");return !!(["assertive","polite"].includes(a)||cS.includes(n)||i.includes(n)||t.regionMatcher&&$a(e,t.regionMatcher))}function hS(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(ru(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 gS=hS;function vS(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 bS(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 bu(e){var t=f.getComputedStyle(bS(e));return {fontWeight:vS(t.getPropertyValue("font-weight")),fontSize:parseInt(t.getPropertyValue("font-size")),isItalic:t.getPropertyValue("font-style")==="italic"}}function R1(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 yS(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(q){return q.nodeName.toUpperCase()==="P"}),s=n.slice(0,a).reverse().find(function(q){return q.nodeName.toUpperCase()==="P"}),l=bu(e),u=o?bu(o):null,c=s?bu(s):null,h=t.passLength,b=t.failLength,A=e.textContent.trim().length,L=o?.textContent.trim().length;if(A>L*h||!u||!R1(l,u,i))return true;var N=Bn(r,"blockquote");if(!(N&&N.nodeName.toUpperCase()==="BLOCKQUOTE")&&!(c&&!R1(l,c,i))&&!(A>L*b))return false}var wS=yS,xS=/[;,\s]/,DS=/^[0-9.]+$/;function AS(e,t,r){var n=t||{},a=n.minDelay,i=n.maxDelay,o=(r.attr("content")||"").trim(),s=o.split(xS),l=De(s,1),u=l[0];if(!u.match(DS))return true;var c=parseFloat(u);return this.data({redirectDelay:c}),typeof a=="number"&&c<=t.minDelay||typeof i=="number"&&c>t.maxDelay}function _S(e,t,r){var n=rr(r,"a[href]");return n.some(function(a){return /^#[^/!]/.test(a.attr("href"))})}var ES=_S,F1={};pr(F1,{aria:function(){return m1},color:function(){return I1},dom:function(){return il},forms:function(){return z1},matches:function(){return $a},math:function(){return ap},standards:function(){return k1},table:function(){return c1},text:function(){return qa},utils:function(){return gs}});var I1={};pr(I1,{Color:function(){return yt},centerPointOfRect:function(){return SS},elementHasImage:function(){return xo},elementIsDistinct:function(){return P1},filteredRectStack:function(){return FS},flattenColors:function(){return Lr},flattenShadowColors:function(){return wu},getBackgroundColor:function(){return Qa},getBackgroundStack:function(){return xu},getContrast:function(){return Un},getForegroundColor:function(){return Vo},getOwnBackgroundColor:function(){return Cn},getRectStack:function(){return M1},getStackingContext:function(){return Au},getStrokeColorsFromShadows:function(){return Du},getTextShadowColors:function(){return Ho},hasValidContrastRatio:function(){return QS},incompleteData:function(){return ht},parseTextShadows:function(){return q1},stackingContextToColor:function(){return Za}});function CS(e){if(!(e.left>f.innerWidth)&&!(e.top>f.innerHeight)){var t=Math.min(Math.ceil(e.left+e.width/2),f.innerWidth-1),r=Math.min(Math.ceil(e.top+e.height/2),f.innerHeight-1);return {x:t,y:r}}}var SS=CS;function L1(e){return e.getPropertyValue("font-family").split(/[,;]/g).map(function(t){return t.trim().toLowerCase()})}function kS(e,t){var r=f.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=f.getComputedStyle(t);if(L1(r)[0]!==L1(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 P1=kS;function TS(e){var t=xp(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 M1=TS;function RS(e){var t=M1(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 FS=RS,IS=["hue","saturation","color","luminosity"],O1={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 Lr(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"normal",n=PS(t,e,r),a=yu(e.red,e.alpha,t.red,t.alpha,n.r*255),i=yu(e.green,e.alpha,t.green,t.alpha,n.g*255),o=yu(e.blue,e.alpha,t.blue,t.alpha,n.b*255),s=LS(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 yu(e,t,r,n,a){return t*(1-n)*e+t*n*a+(1-t)*n*r}function LS(e,t,r){return Math.min(Math.max(t,e),r)}function PS(e,t,r){if(IS.includes(r))return O1[r](e,t);var n=new yt;return ["r","g","b"].forEach(function(a){n[a]=O1[r](e[a],t[a]);}),n}function wu(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 xu(e){for(var t=Ml(e).map(function(a){return a=bm(a,e),a=MS(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&&!OS(n,t[0]))return ht.set("bgColor","elmPartiallyObscuring"),null}return t[0]||null}function MS(e){var t=e.indexOf(m.body),r=e,n=Cn(f.getComputedStyle(m.documentElement));if(t>1&&n.alpha===0&&!xo(m.documentElement)){t>1&&(r.splice(t,1),r.push(m.body));var a=r.indexOf(m.documentElement);a>0&&(r.splice(a,1),r.push(m.documentElement));}return r}function OS(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 NS=.54,Bo=.5,qS=1.5,N1=["top","right","bottom","left"];function Du(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.ignoreEdgeCount,n=r===void 0?false:r,a=BS(e),i=Object.entries(a).map(function(o){var s=De(o,2),l=s[0],u=s[1],c=N1.filter(function(h){return u[h].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(HS).filter(function(o){return o!==null})}function BS(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=De(s,2),c=u[0],h=u[1];c>Bo?l.right.push(c):-c>Bo&&l.left.push(-c),h>Bo?l.bottom.push(h):-h>Bo&&l.top.push(-h);}}catch(b){r.e(b);}finally{r.f();}return t}function HS(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 N1.forEach(function(s){i+=r[s].length/4,o&&(o=r[s].every(function(l){return l>qS}));}),o||(a.alpha=1-Math.pow(NS,i)),a}function q1(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 Ho(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.minRatio,n=t.maxRatio,a=t.ignoreEdgeCount,i=[],o=f.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=[],h=q1(s),b=it(h),A;try{for(b.s();!(A=b.n()).done;){var L=A.value,N=L.colorStr||o.getPropertyValue("color"),q=De(L.pixels,3),$=q[0],z=q[1],W=q[2],X=W===void 0?0:W;if(!(n&&X>=u*n)){if(r&&X<u*r){c.push({colorStr:N,pixels:L.pixels});continue}if(c.length>0){var K=Du(c,{ignoreEdgeCount:a});if(K===null)return null;i.push.apply(i,ke(K)),c.splice(0,c.length);}var ne=VS({colorStr:N,offsetX:$,offsetY:z,blurRadius:X,fontSize:u});i.push(ne);}}}catch(pe){b.e(pe);}finally{b.f();}if(c.length>0){var se=Du(c,{ignoreEdgeCount:a});if(se===null)return null;i.push.apply(i,ke(se));}return i}function VS(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*=$S(a,i),o}function $S(e,t){if(e===0)return 1;var r=e/t;return .185/(r+.4)}function Au(e,t){var r=Ye(e);if(r._stackingContext)return r._stackingContext;var n=[],a=new Map;return t=t??xu(e),t.forEach(function(i){var o,s=Ye(i),l=GS(s),u=s._stackingOrder.filter(function(b){var A=b.vNode;return !!A});u.forEach(function(b,A){var L,N=b.vNode,q=(L=u[A-1])===null||L===void 0?void 0:L.vNode,$=H1(a,N,q);A===0&&!a.get(N)&&n.unshift($),a.set(N,$);});var c=(o=u[u.length-1])===null||o===void 0?void 0:o.vNode,h=H1(a,s,c);u.length||n.unshift(h),h.bgColor=l;}),r._stackingContext=n,n}function Za(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(jS,B1()),a=Lr(n,e.bgColor,e.descendants[0].blendMode);return a.alpha*=e.opacity,{color:a,blendMode:e.blendMode}}function jS(e,t){var r;e instanceof yt?r=e:r=Za(e).color;var n=Za(t).color;return Lr(n,r,t.blendMode)}function B1(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:zS(e?.getComputedStylePropertyValue("mix-blend-mode")),descendants:[]}}function zS(e){return e||void 0}function H1(e,t,r){var n,a=e.get(r),i=(n=e.get(t))!==null&&n!==void 0?n:B1(t,a);return a&&r!==t&&!a.descendants.includes(i)&&a.descendants.unshift(i),i}function GS(e){var t=new yt;return t.parseString(e.getComputedStylePropertyValue("background-color")),t}function Qa(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:.1,n=Ye(e),a=n._cache.getBackgroundColor;if(a)return t.push.apply(t,ke(a.bgElms)),ht.set("bgColor",a.incompleteData),a.bgColor;var i=US(e,t,r);return n._cache.getBackgroundColor={bgColor:i,bgElms:t,incompleteData:ht.get("bgColor")},i}function US(e,t,r){var n,a,i=xu(e);if(!i)return null;var o=Pl(e),s=(n=Ho(e,{minRatio:r,ignoreEdgeCount:true}))!==null&&n!==void 0?n:[];s.length&&(s=[{color:s.reduce(wu)}]);for(var l=0;l<i.length;l++){var u=i[l],c=f.getComputedStyle(u);if(xo(u,c))return t.push(u),null;var h=void 0;try{if(h=Cn(c),h.alpha===0)continue}catch(N){if(N&&ht.get("colorParse"))return null;throw N}if(c.getPropertyValue("display")!=="inline"&&!V1(u,o))return t.push(u),ht.set("bgColor","elmPartiallyObscured"),null;if(t.push(u),h.alpha===1)break}var b=Au(e,i);s=b.map(Za).concat(s);var A=WS(e,i.includes(m.body));if((a=s).unshift.apply(a,ke(A)),s.length===0)return new yt(255,255,255,1);var L=s.reduce(function(N,q){return Lr(q.color,N.color instanceof yt?N.color:N,q.blendMode)});return Lr(L.color instanceof yt?L.color:L,new yt(255,255,255,1))}function V1(e,t){t=Array.isArray(t)?t:[t];var r=e.getBoundingClientRect(),n=r.right,a=r.bottom,i=f.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 f.HTMLHtmlElement)&&(n=r.left+e.scrollWidth+s+l,a=r.top+e.scrollHeight+u+c),t.every(function(h){return h.top>=r.top&&h.bottom<=a&&h.left>=r.left&&h.right<=n})}function $1(e){return e||void 0}function WS(e,t){var r=[];if(!t){var n=m.documentElement,a=m.body,i=f.getComputedStyle(n),o=f.getComputedStyle(a),s=Cn(i),l=Cn(o),u=l.alpha!==0&&V1(a,e.getBoundingClientRect());(l.alpha!==0&&s.alpha===0||u&&l.alpha!==1)&&r.unshift({color:l,blendMode:$1(o.getPropertyValue("mix-blend-mode"))}),s.alpha!==0&&(!u||u&&l.alpha!==1)&&r.unshift({color:s,blendMode:$1(i.getPropertyValue("mix-blend-mode"))});}return r}function XS(e,t){if(!t||!e)return null;t.alpha<1&&(t=Lr(t,e));var r=e.getRelativeLuminance(),n=t.getRelativeLuminance();return (Math.max(n,r)+.05)/(Math.min(n,r)+.05)}var Un=XS;function Vo(e,t,r){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},a=f.getComputedStyle(e),i=[function(){return KS(a,n)},function(){return YS(a)},function(){return Ho(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(N){if(N&&ht.get("colorParse"))return null;throw N}var h=o.reduce(function(N,q){return Lr(N,q)});if(r??(r=Qa(e,[])),r===null){var b=ht.get("bgColor");return ht.set("fgColor",b),null}var A=Au(e),L=j1(A,e);return Lr(JS(h,L,A),new yt(255,255,255,1))}function YS(e){return new yt().parseString(e.getPropertyValue("-webkit-text-fill-color")||e.getPropertyValue("color"))}function KS(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 JS(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(Za);if(!i.length){t=t.ancestor;continue}var o=i.reduce(function(s,l){return Lr(l.color,s.color instanceof yt?s.color:s)},{color:new yt(0,0,0,0),blendMode:"normal"});e=Lr(e,o),t=t.ancestor;}return e}function j1(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=j1(i.descendants,t);if(o)return o}}catch(s){r.e(s);}finally{r.f();}}function ZS(e,t,r,n){var a=Un(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 QS=ZS,z1={};pr(z1,{isAriaCombobox:function(){return Kp},isAriaListbox:function(){return Yp},isAriaRange:function(){return Jp},isAriaTextbox:function(){return Xp},isDisabled:function(){return ei},isNativeSelect:function(){return Wp},isNativeTextbox:function(){return Up}});var ek=["fieldset","button","select","input","textarea"];function G1(e){var t=e._isDisabled;if(typeof t=="boolean")return t;var r=e.props.nodeName,n=e.attr("aria-disabled");return ek.includes(r)&&e.hasAttr("disabled")?t=true:n?t=n.toLowerCase()==="true":e.parent?t=G1(e.parent):t=false,e._isDisabled=t,t}var ei=G1;function tk(e,t,r){var n=qa.accessibleTextVirtual(r),a=qa.sanitize(qa.removeUnicode(n,{emoji:true,nonBmp:true,punctuations:true})).toLowerCase();if(a){var i={name:a,urlProps:il.urlPropsFromAttribute(e,"href")};return this.data(i),this.relatedNodes([e]),true}}var rk=tk;function U1(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"?U1(o,s):o===s});return a}function nk(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,h=c.name,b=c.urlProps;if(n[h])return 1;var A=t.filter(function(N,q){var $=N.data;return $.name===h&&q!==s}),L=A.every(function(N){var q=N.data;return U1(q.urlProps,b)});A.length&&!L&&(u.result=void 0),u.relatedNodes=[],(l=u.relatedNodes).push.apply(l,ke(A.map(function(N){return N.relatedNodes[0]}))),n[h]=A,r.push(u);},i=0;i<t.length;i++)a(i);return r}var ak=nk;function ik(e){var t=Xe(e),r=t&&t.includes("heading"),n=e.attr("aria-level"),a=parseInt(n,10),i=e.props.nodeName.match(/h(\d)/)||[],o=De(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 ok(){var e=Ue.get("headingOrder");if(e)return true;var t="h1, h2, h3, h4, h5, h6, [role=heading], iframe, frame",r=Ir(p._tree[0],t,bt);return e=r.map(function(n){return {ancestry:[Xi(n.actualNode)],level:ik(n)}}),this.data({headingOrder:e}),Ue.set("headingOrder",r),true}var sk=ok;function lk(e){var t=ck(e);return e.forEach(function(r){r.result=uk(r,t);}),e}function uk(e,t){var r,n,a,i,o=W1(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 ck(e){e=ke(e),e.sort(function(r,n){var a=r.node,i=n.node;return a.ancestry.length-i.ancestry.length});var t=e.reduce(dk,[]);return t.filter(function(r){var n=r.level;return n!==-1})}function dk(e,t){var r,n=(r=t.data)===null||r===void 0?void 0:r.headingOrder,a=X1(t.node.ancestry,1);if(!n)return e;var i=n.map(function(s){return pk(s,a)}),o=fk(e,a);return o===-1?e.push.apply(e,ke(i)):e.splice.apply(e,[o,0].concat(ke(i))),e}function fk(e,t){for(;t.length;){var r=W1(e,t);if(r!==-1)return r;t=X1(t,1);}return -1}function W1(e,t){return e.findIndex(function(r){return ru(r.ancestry,t)})}function pk(e,t){var r=t.concat(e.ancestry);return Fe({},e,{ancestry:r})}function X1(e,t){return e.slice(0,e.length-t)}function mk(e,t,r){var n=t?.minSize||24,a=r.boundingClientRect;if(jr(n*10,a))return this.data({messageKey:"large",minSize:n}),true;var i=jr.bind(null,n),o=co(r),s=hk(r,o),l=gk(r,o),u=l.fullyObscuringElms,c=l.partialObscuringElms;if(s.length&&(u.length||!i(a))){this.data({minSize:n,messageKey:"contentOverflow"}),this.relatedNodes(ti(s));return}if(u.length)return this.relatedNodes(ti(u)),this.data({messageKey:"obscured"}),true;var h=cr(r)?false:void 0;if(!i(a))return this.data(Fe({minSize:n},$o(a))),h;var b=yk(c);if(!b.length)return this.data(Fe({minSize:n},$o(a))),true;var A=vk(r,b,n);if(!A){this.data({minSize:n,messageKey:"tooManyRects"});return}if(!i(A)){if(s.length){this.data({minSize:n,messageKey:"contentOverflow"}),this.relatedNodes(ti(s));return}var L=b.every(cr),N="partiallyObscured".concat(L?"":"NonTabbable");return this.data(Fe({messageKey:N,minSize:n},$o(A))),this.relatedNodes(ti(b)),L?h:void 0}return this.data(Fe({minSize:n},$o(A||a))),this.relatedNodes(ti(b)),true}function hk(e,t){return t.filter(function(r){return !Y1(r,e)&&K1(e,r)})}function gk(e,t){var r=[],n=[],a=it(t),i;try{for(a.s();!(i=a.n()).done;){var o=i.value;!K1(e,o)&&dl(e,o)&&wk(o)!=="none"&&(Y1(e,o)?r.push(o):n.push(o));}}catch(s){a.e(s);}finally{a.f();}return {fullyObscuringElms:r,partialObscuringElms:n}}function vk(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=fl(n,a);}catch{return null}return bk(i,r)}function bk(e,t){return e.reduce(function(r,n){var a=jr(t,r),i=jr(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 yk(e){return e.filter(function(t){return wr(t)==="widget"&&Et(t)})}function Y1(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 wk(e){return e.getComputedStylePropertyValue("pointer-events")}function $o(e){return {width:Math.round(e.width*10)/10,height:Math.round(e.height*10)/10}}function K1(e,t){return $r(e,t)&&!cr(t)}function ti(e){return e.map(function(t){var r=t.actualNode;return r})}var xk=.05;function Dk(e,t,r){var n=t?.minOffset||24;if(jr(n*10,r.boundingClientRect))return this.data({messageKey:"large",minOffset:n}),true;var a=[],i=n,o=it(co(r,n)),s;try{for(o.s();!(s=o.n()).done;){var l=s.value;if(!(wr(l)!=="widget"||!Et(l))){var u=null;try{u=op(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=Ak(u)*2,!(u+xk>=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 h=c.actualNode;return h})),!a.some(cr)){this.data({messageKey:"nonTabbableNeighbor",closestOffset:i,minOffset:n});return}return this.data({closestOffset:i,minOffset:n}),cr(r)?false:void 0}function Ak(e){return Math.round(e*10)/10}function _k(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(h,b){var A=b.trim();if(!A)return h;var L=A.split("="),N=De(L,2),q=N[0],$=N[1];if(!q||!$)return h;var z=q.toLowerCase().trim(),W=$.toLowerCase().trim();return z==="maximum-scale"&&W==="yes"&&(W=1),z==="maximum-scale"&&parseFloat(W)<0||(h[z]=W),h},{});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 Ek=_k;function Ck(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,h=[],b=q(o),A=function(){var ge=N[L],xe=b[ge],Ee=xe.root,Oe=xe.rules,je=Oe.filter($);if(!je.length)return 1;je.forEach(function(Re){var He=Re.cssRules;Array.from(He).forEach(function(be){var Pe=z(be);if(Pe&&be.selectorText.toUpperCase()!=="HTML"){var te=Array.from(Ee.querySelectorAll(be.selectorText))||[];h=h.concat(te);}c=c||Pe;});});},L=0,N=Object.keys(b);L<N.length;L++)A();if(!c)return true;return h.length&&this.relatedNodes(h),false;function q(le){return le.reduce(function(ge,xe){var Ee=xe.sheet,Oe=xe.root,je=xe.shadowId,Re=je||"topDocument";if(ge[Re]||(ge[Re]={root:Oe,rules:[]}),!Ee||!Ee.cssRules)return ge;var He=Array.from(Ee.cssRules);return ge[Re].rules=ge[Re].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 z(le){var ge=le.selectorText,xe=le.style;if(!ge||xe.length<=0)return false;var Ee=xe.transform||xe.webkitTransform||xe.msTransform||false;if(!Ee&&!xe.rotate)return false;var Oe=W(Ee),je=X("rotate",xe.rotate),Re=Oe+je;return !Re||(Re=Math.abs(Re),Math.abs(Re-180)%180<=u)?false:Math.abs(Re-90)%90<=u}function W(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=De(ge,3),Ee=xe[1],Oe=xe[2];return X(Ee,Oe)}function X(le,ge){switch(le){case "rotate":case "rotateZ":return K(ge);case "rotate3d":var xe=ge.split(",").map(function(Re){return Re.trim()}),Ee=De(xe,4),Oe=Ee[2],je=Ee[3];return parseInt(Oe)===0?void 0:K(je);case "matrix":case "matrix3d":return ne(ge);default:return 0}}function K(le){var ge=le.match(/(deg|grad|rad|turn)/)||[],xe=De(ge,1),Ee=xe[0];if(!Ee)return 0;var Oe=parseFloat(le.replace(Ee,""));switch(Ee){case "rad":return se(Oe);case "grad":return pe(Oe);case "turn":return _e(Oe);default:return parseInt(Oe)}}function ne(le){var ge=le.split(",");if(ge.length<=6){var xe=De(ge,2),Ee=xe[0],Oe=xe[1],je=Math.atan2(parseFloat(Oe),parseFloat(Ee));return se(je)}var Re=parseFloat(ge[8]),He=Math.asin(Re),be=Math.cos(He),Pe=Math.acos(parseFloat(ge[0])/be);return se(Pe)}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 _e(le){return Math.round(360/(1/le))}}var Sk=Ck;function kk(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 h=De(c,2),b=h[1],A=b.split(",");return A.map(function(L){return /:/.test(L)?l(L):parseFloat(L)})}}function l(u){for(var c=u.split(":"),h=0,b=1;c.length>0;)h+=b*parseInt(c.pop(),10),b*=60;return parseFloat(h)}}var Tk=kk;function Rk(e,t){return t.isViolation?false:void 0}var Fk=Rk,J1=" > ";function Ik(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(J1);return t[a]=r,true}var i=r.node.ancestry.slice(0,r.node.ancestry.length-1).flat(1/0).join(J1);return t[i]&&(t[i].result=true),false})}var Lk=Ik;function Pk(e,t,r){var n=rr(r,"track"),a=n.some(function(i){return (i.attr("kind")||"").toLowerCase()==="captions"});return a?false:void 0}var Mk=Pk;function Ok(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 Nk=Ok;function qk(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 h=c.nodeName.toUpperCase()==="LI",b=Xe(u),A=b==="listitem";!h&&!A&&o.push(c),h&&!A&&(s.push(c),l.includes(b)||l.push(b)),A&&(a=true);}}),n||o.length?(this.relatedNodes(o),true):i||a?false:(this.relatedNodes(s),this.data({messageKey:"roleNotValid",roles:l.join(", ")}),true)}var Bk=qk;function Hk(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"&&Xe(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 h=Qe(u);(c!=="DT"&&c!=="DD"||h)&&(n.includes(h)||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 Vk(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&&Va(i)?(this.data({messageKey:"roleNotValid"}),false):["ul","ol","menu"].includes(a)}}function $k(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=Z1(r.children);i.length;){var o,s=i.shift(),l=s.vChild,u=s.nested;if(t.divGroups&&!u&&zk(l)){if(!l.children)return;var c=Z1(l.children,true);i.push.apply(i,ke(c));continue}var h=jk(l,u,t);h&&(a.includes(h)||a.push(h),(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 jk(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,h=t?"div > ":"";if(u===3&&c.trim()!=="")return h+"#text";if(u!==1||!bt(e))return false;var b=Qe(e);return b?a.includes(b)?false:h+"[role=".concat(b,"]"):o.includes(l)?false:h+l}function zk(e){return e.props.nodeName==="div"&&Qe(e)===null}function Z1(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:false;return e.map(function(r){return {vChild:r,nested:t}})}function Gk(e){var t=It(e),r=t.nodeName.toUpperCase(),n=Qe(t);return r==="DIV"&&["presentation","none",null].includes(n)&&(t=It(t),r=t.nodeName.toUpperCase(),n=Qe(t)),r!=="DL"?false:!!(!n||["presentation","none","list"].includes(n))}var Uk=Gk;function Wk(e,t,r){var n=kn(r.attr("lang")),a=kn(r.attr("xml:lang"));return n===a}var Xk=Wk;function Yk(e,t,r){var n=[];return t.attributes.forEach(function(a){var i=r.attr(a);if(typeof i=="string"){var o=kn(i),s=t.value?!t.value.map(kn).includes(o):!Po(o);(o!==""&&s||i!==""&&!Ve(i))&&n.push(a+'="'+r.attr(a)+'"');}}),!n.length||r.props.nodeName!=="html"&&!Nl(r)?false:(this.data(n),true)}var Kk=Yk;function _u(e){return (e||"").trim()!==""}function Jk(e,t,r){var n=typeof m<"u"?Ca(m):false;if(t.attributes.includes("xml:lang")&&t.attributes.includes("lang")&&_u(r.attr("xml:lang"))&&!_u(r.attr("lang"))&&!n)return this.data({messageKey:"noXHTML"}),false;var a=t.attributes.some(function(i){return _u(r.attr(i))});return a?true:(this.data({messageKey:"noLang"}),false)}var Zk=Jk;function Qk(e,t,r){var n=Xe(e),a=Lt(r);return a=a?a.toLowerCase():null,this.data({role:n,accessibleText:a}),this.relatedNodes([e]),true}var eT=Qk;function tT(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 rT=tT;function nT(e,t,r){var n=bo(r),a=ho(r),i=r.attr("aria-describedby");return !n&&!!(a||i)}var aT=nT;function iT(e){var t=xt(e.getAttribute("id")),r=e.parentNode,n=Nt(e);n=n.documentElement||n;var a=Array.from(n.querySelectorAll('label[for="'.concat(t,'"]')));for(a.length&&(a=a.filter(function(s){return !on(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=Sr(e,"aria-labelledby");return o.includes(i[0])?false:void 0}return false}var oT=iT;function sT(e,t){var r=Q1(t),n=Q1(e);return !r||!n?false:r.includes(n)}function Q1(e){var t=za(e,{emoji:true,nonBmp:true,punctuations:true});return Ve(t)}function lT(e,t,r){var n,a=t?.pixelThreshold,i=(n=t?.occurrenceThreshold)!==null&&n!==void 0?n:t?.occuranceThreshold,o=An(e).toLowerCase(),s=Ve(un(r,{subtreeDescendant:true,ignoreIconLigature:true,pixelThreshold:a,occurrenceThreshold:i})).toLowerCase();if(!s)return true;if(!(Ll(o)<1||Ll(s)<1))return sT(s,o)}var uT=lT;function cT(e,t,r){try{var n=Zt(r,"label");if(n){var a=Ve(Lt(n,{inControlContext:!0,startNode:r}));return n.actualNode&&this.relatedNodes([n.actualNode]),this.data({implicitLabel:a}),!!a}return !1}catch{return}}var dT=cT;function fT(e,t,r){if(r.hasAttr("id")){if(!r.actualNode)return;var n=Nt(e),a=xt(e.getAttribute("id")),i=n.querySelector('label[for="'.concat(a,'"]'));if(i&&!bt(i)){var o;try{o=Lt(r).trim();}catch{return}var s=o==="";return s}}return false}var pT=fT;function mT(e,t,r){var n=bo(r),a=e.getAttribute("title");if(!n)return false;if(!a&&(a="",e.getAttribute("aria-describedby"))){var i=Sr(e,"aria-describedby");a=i.map(function(o){return o?An(o):""}).join("");}return Ve(a)===Ve(n)}var hT=mT;function gT(e,t,r){var n=this;if(!r.attr("id"))return false;if(r.actualNode){var a=Nt(r.actualNode),i=xt(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(Qt(s)){var l=Ve(An(s,{inControlContext:!0,startNode:r}));return n.data({explicitLabel:l}),!!l}else return !0})}catch{return}}}var vT=gT;function bT(e,t,r){if(["none","presentation"].includes(Xe(r)))return false;var n=Zt(r,t.parentSelector);if(!n)return false;var a=Tr(n,true).toLowerCase();return a===""?false:a===Lt(r).toLowerCase()}var yT=bT;function wT(e,t,r){var n=r.attr("alt"),a=/^\s+$/;return typeof n=="string"&&a.test(n)}var xT=wT;function DT(e,t,r){var n=Fr(r.attr("tabindex"));return n===null||n<=0}var AT=DT;function _T(e,t,r){if(r.children)try{var n=eh(r);if(!n.length)return !0;var a=n.filter(ET);return a.length>0?(this.data({messageKey:"notHidden"}),this.relatedNodes(a)):this.relatedNodes(n),!1}catch{return}}function eh(e){if(!e.children){if(e.props.nodeType===1)throw new Error("Cannot determine children");return []}var t=[];return e.children.forEach(function(r){wr(r)==="widget"&&Et(r)?t.push(r):t.push.apply(t,ke(eh(r)));}),t}function ET(e){var t=Fr(e.attr("tabindex"));return t!==null&&t<0}function CT(e){var t=Gn("landmark"),r=It(e),n=Xe(e);for(this.data({role:n});r;){var a=Qe(r);if(!a&&r.nodeName.toUpperCase()!=="FORM"&&(a=kr(r)),a&&t.includes(a)&&!(a==="main"&&n==="complementary"))return false;r=It(r);}return true}var ST=CT;function kT(e,t,r){if(r.children)try{return !r.children.some(function(n){return th(n)})}catch{return}}function th(e){if(cr(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 th(t)})}function TT(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||Ua()?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 RT=TT;function FT(e,t,r){if(!cr(r))return false;try{return !Lt(r)}catch{return}}var IT=FT;function LT(e,t,r){var n=r.tabbableElements.map(function(a){var i=a.actualNode;return i});if(!n||!n.length)return true;if(Ua()){this.relatedNodes(n);return}return true}var PT=LT;function MT(e,t,r){if(r.hasAttr("contenteditable")&&n(r))return true;return cr(r);function n(a){var i=a.attr("contenteditable");if(i==="true"||i==="")return true;if(i==="false")return false;var o=Zt(r.parent,"[contenteditable]");return o?n(o):false}}var OT=MT;function NT(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||Ua()?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 qT=NT;function BT(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 HT=BT;function VT(e,t,r){return on(r)||(this.data(r.attr("accesskey")),this.relatedNodes([e])),true}var $T=VT;function jT(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 zT=jT;function GT(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=Ir(p._tree[0],t.selector,function(i){return bt(i)});return typeof t.nativeScopeFilter=="string"&&(a=a.filter(function(i){return i.actualNode.hasAttribute("role")||!Bn(i,t.nativeScopeFilter)})),typeof t.role=="string"&&(a=a.filter(function(i){return Xe(i)===t.role})),this.relatedNodes(a.filter(function(i){return i!==r}).map(function(i){return i.actualNode})),a.length<=1}var UT=GT;function WT(e){return e.filter(function(t){return t.data!=="ignored"})}var XT=WT;function YT(e,t,r){return $a(r,t.matcher)}var KT=YT;function JT(e,t,r){try{return Ve(un(r))!==""}catch{return}}function ZT(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&&Ua())return true;var n=Ir(r,t.selector,function(a){return bt(a)});return this.relatedNodes(n.map(function(a){return a.actualNode})),n.length>0}var QT=ZT;function e5(e){var t=e.some(function(r){return r.result===true});return t&&e.forEach(function(r){r.result=true;}),e}var t5=e5;function r5(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 n5=r5;function a5(e,t,r){var n=r.attr("autocomplete")||"";return sm(n,t)}var i5=a5;function o5(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(h){i[h]||(i[h]=[]),i[h]=i[h].concat(t[h]);});var o=r.attr("autocomplete"),s=o.split(/\s+/g).map(function(h){return h.toLowerCase()}),l=s[s.length-1];if(En.stateTerms.includes(l))return true;var u=i[l],c=r.hasAttr("type")?Ve(r.attr("type")).toLowerCase():"text";return c=Lo().includes(c)?c:"text",typeof u>"u"?c==="text":u.includes(c)}var s5=o5,l5=["block","list-item","table","flex","grid","inline-block"];function u5(e){if(rh(e))return false;for(var t=It(e);t&&t.nodeType===1&&!rh(t);)t=It(t);if(t){if(this.relatedNodes([t]),P1(e,t))return true;if(c5(e)){this.data({messageKey:"pseudoContent"});return}return false}}function rh(e){var t=f.getComputedStyle(e).getPropertyValue("display");return l5.indexOf(t)!==-1||t.substr(0,6)==="table-"}function c5(e){for(var t=0,r=["before","after"];t<r.length;t++){var n=r[t],a=f.getComputedStyle(e,":".concat(n)),i=a.getPropertyValue("content");if(i!=="none")return true}return false}function nh(e,t){var r=e.getRelativeLuminance(),n=t.getRelativeLuminance();return (Math.max(r,n)+.05)/(Math.min(r,n)+.05)}var d5=["block","list-item","table","flex","grid","inline-block"];function ah(e){var t=f.getComputedStyle(e).getPropertyValue("display");return d5.indexOf(t)!==-1||t.substr(0,6)==="table-"}function f5(e,t){var r=t.requiredContrastRatio,n=t.allowSameColor;if(ah(e))return false;for(var a=It(e);a&&a.nodeType===1&&!ah(a);)a=It(a);if(a){this.relatedNodes([a]);var i=Vo(e),o=Vo(a),s=Qa(e),l=Qa(a),u=i&&o?nh(i,o):void 0;if(u&&(u=Math.floor(u*100)/100),u&&u>=r)return true;var c=s&&l?nh(s,l):void 0;if(c&&(c=Math.floor(c*100)/100),c&&c>=r)return true;if(!c){var h,b=(h=ht.get("bgColor"))!==null&&h!==void 0?h:"bgContrast";this.data({messageKey:b}),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 p5=f5;function m5(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,h=t.pseudoSizeThreshold;if(!Qt(e))return this.data({messageKey:"hidden"}),true;var b=Tr(r,false,true);if(n&&g5(b)){this.data({messageKey:"nonBmp"});return}var A=f.getComputedStyle(e),L=parseFloat(A.getPropertyValue("font-size")),N=A.getPropertyValue("font-weight"),q=parseFloat(N)>=o||N==="bold",$=Math.ceil(L*72)/96,z=q&&$<s||!q&&$<l,W=z?u.normal:u.large,X=W.expected,K=W.minThreshold,ne=W.maxThreshold,se=h5(r,{ignorePseudo:i,pseudoSizeThreshold:h});if(se){this.data({fontSize:"".concat((L*72/96).toFixed(1),"pt (").concat(L,"px)"),fontWeight:q?"bold":"normal",messageKey:"pseudoContent",expectedContrastRatio:X+":1"}),this.relatedNodes(se.actualNode);return}var pe=Ho(e,{minRatio:.001,maxRatio:c});if(pe===null){this.data({messageKey:"complexTextShadows"});return}var _e=[],le=Qa(e,_e,c),ge=Vo(e,false,le,t),xe=null,Ee=null,Oe=null;if(pe.length===0)xe=Un(le,ge);else if(ge&&le){Oe=[].concat(ke(pe),[le]).reduce(wu);var je=Un(le,ge),Re=Un(le,Oe),He=Un(Oe,ge);xe=Math.max(je,Re,He),xe!==je&&(Ee=Re>He?"shadowOnBgColor":"fgOnShadowColor");}var be=xe>X;if(typeof K=="number"&&(typeof xe!="number"||xe<K)||typeof ne=="number"&&(typeof xe!="number"||xe>ne))return this.data({contrastRatio:xe}),true;var Pe=Math.floor(xe*100)/100,te,Ce;le===null?ht.get("colorParse")?(te="colorParse",Ce=ht.get("colorParse")):te=ht.get("bgColor"):be||(te=Ee),ge===null&&ht.get("colorParse")&&(te="colorParse",Ce=ht.get("colorParse"));var he=Pe===1,Se=b.length===1;if(he?te=ht.set("bgColor","equalRatio"):!be&&Se&&!a&&(te="shortTextContent"),this.data({fgColor:ge?ge.toHexString():void 0,bgColor:le?le.toHexString():void 0,contrastRatio:Pe,fontSize:"".concat((L*72/96).toFixed(1),"pt (").concat(L,"px)"),fontWeight:q?"bold":"normal",messageKey:te,expectedContrastRatio:X+":1",shadowColor:Oe?Oe.toHexString():void 0,colorParse:Ce}),ge===null||le===null||he||Se&&!a&&!be){te=null,ht.clear(),this.relatedNodes(_e);return}return be||this.relatedNodes(_e),be}function h5(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=ih(e.actualNode,":before"),u=ih(e.actualNode,":after");if(l+u>s)return e}while(e=e.parent)}}var ih=mt(function(t,r){var n=f.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||Cn(n).alpha===0&&a("background-image","none"))return 0;var i=oh(n.getPropertyValue("width")),o=oh(n.getPropertyValue("height"));return i.unit!=="px"||o.unit!=="px"?i.value===0||o.value===0?0:1/0:i.value*o.value});function g5(e){var t={nonBmp:true},r=Fl(e,t),n=Ve(za(e,t))==="";return r&&n}function oh(e){var t=/^([0-9.]+)([a-z]+)$/i,r=e.match(t)||[],n=De(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 v5={ARTICLE:true,ASIDE:true,NAV:true,SECTION:true},b5={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 y5(e){var t=e.nodeName.toUpperCase();return v5[t]||false}function w5(e,t){var r=Qe(e);return r&&(b5[r]||t.roles.includes(r))||false}function x5(e,t){return w5(e,t)||y5(e)}var D5=x5;function A5(e,t,r){var n=Xe(r,{dpub:true,fallback:true}),a=xl(n);return a&&this.data(n),a}var _5=A5;function E5(e,t,r){var n=Xe(r,{noImplicit:true});this.data(n);var a,i;try{a=Ve(Tl(r)).toLowerCase(),i=Ve(Lt(r)).toLowerCase();}catch{return}if(!i&&!a)return false;if(!(!i&&a)&&i.includes(a))return false}var C5=E5;function S5(e,t,r){return Et(r)}var k5=S5;function T5(e,t,r){var n=Vt(r.attr("role")),a=n.every(function(i){return !Va(i.toLowerCase(),{allowAbstract:true})});return a?(this.data(n),true):false}var R5=T5;function F5(e,t,r){var n=Qe(r);if(n===null)return false;var a=wr(n);return a==="widget"||a==="composite"}var I5=F5;function L5(e,t,r){var n=sn().filter(function(a){return r.hasAttr(a)});return this.data(n),n.length>0}var P5=L5;function M5(e,t){var r=kr(e);return !r&&t.length===2&&t.includes("none")&&t.includes("presentation")}function O5(e,t,r){var n=Vt(r.attr("role"));return n.length<=1?false:M5(r,n)?void 0:true}var N5=O5;function q5(e,t,r){var n=Xe(r,{dpub:true,fallback:true}),a=at.ariaRoles[n];return a!=null&&a.deprecated?(this.data(n),true):false}function B5(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 H5(e,t,r){var n,a=(n=r.attr("aria-braillelabel"))!==null&&n!==void 0?n:"";if(!a.trim())return true;try{return Ve(Lt(r))!==""}catch{return}}function V5(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=p._tree&&p._tree[0]._hasShadowRoot?"noIdShadow":"noId");},"aria-labelledby":function(c){c||(n='aria-labelledby="'.concat(r.attr("aria-labelledby"),'"'),a=p._tree&&p._tree[0]._hasShadowRoot?"noIdShadow":"noId");}};if(r.attrNames.forEach(function(u){if(!(s.includes(u)||t.includes(u)||!o.test(u))){var c,h=r.attr(u);try{c=_1(r,u);}catch{n="".concat(u,'="').concat(h,'"'),a="idrefs";return}(!l[u]||l[u](c))&&!c&&(h===""&&!$5(u)?(n=u,a="empty"):i.push("".concat(u,'="').concat(h,'"')));}}),i.length)return this.data(i),false;if(n){this.data({messageKey:a,needsReview:n});return}return true}function $5(e){var t;return ((t=at.ariaAttrs[e])===null||t===void 0?void 0:t.type)==="string"}function j5(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)&&!qo(i)&&n.push(i);}),n.length?(this.data(n),false):true}var z5=j5;function G5(e,t,r){var n=r.attrNames.filter(function(a){var i=at.ariaAttrs[a];if(!qo(a))return false;var o=i.unsupported;return fe(o)!=="object"?!!o:!$a(e,o.exceptions)});return n.length?(this.data(n),true):false}var U5=G5;function W5(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=Xe(r),a=t.supportedRoles||[];if(a.includes(n))return true;if(!(n&&n!=="presentation"&&n!=="none"))return false}var X5=W5;function sh(e,t,r,n){var a=Qe(e);if(r||(r=hu(a)),!r)return null;for(var i=r.includes("group"),o=n?e:e.parent;o;){var s=Xe(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 Y5(e){for(var t=[],r=null;e;){if(e.getAttribute("id")){var n=xt(e.getAttribute("id")),a=Nt(e);r=a.querySelector("[aria-owns~=".concat(n,"]")),r&&t.push(r);}e=e.parentElement;}return t.length?t:null}function K5(e,t,r){var n=t&&Array.isArray(t.ownGroupRoles)?t.ownGroupRoles:[],a=sh(r,n);if(!a)return true;var i=Y5(e);if(i){for(var o=0,s=i.length;o<s;o++)if(a=sh(Ye(i[o]),n,a,true),!a)return true}return this.data(a),false}var J5=K5;function Z5(e,t,r){var n=t&&Array.isArray(t.reviewEmpty)?t.reviewEmpty:[],a=Qe(r,{dpub:true}),i=gu(a);if(i===null)return true;var o=Q5(r,i),s=o.filter(function(u){var c=u.role,h=u.vNode;return h.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,h=u.attr;return rR(c,h)}).filter(function(u,c,h){return h.indexOf(u)===c}).join(", ")}),false}if(eR(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(nR)))return false}function Q5(e,t){for(var r,n=[],a=ja(e),i=function(){if(r.props.nodeType===3&&n.push({vNode:r,role:null}),r.props.nodeType!==1||!bt(r))return 1;var s=Xe(r,{noPresentational:true}),l=tR(r),u=!!l||Et(r);if(!s&&!u||["group","rowgroup"].includes(s)&&t.some(function(h){return h===s}))a.push.apply(a,ke(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 eR(e,t){return t.some(function(r){var n=r.role;return n&&e.includes(n)})}function tR(e){return sn().find(function(t){return e.hasAttr(t)})}function rR(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 nR(e){var t=e.vNode;return t.props.nodeType===3?t.props.nodeValue.trim().length>0:Ga(t,false,true)}function aR(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=A1(a);if(Array.isArray(r[a])&&(o=Ya(r[a],o)),!a||!i.length||!o.length||iR(n,a)||sR(n,a)||a==="slider"&&(t=n.attr("aria-valuetext"))!==null&&t!==void 0&&t.trim())return true;var s=ln(n),l=o.filter(function(u){return !n.attr(u)&&!oR(s,u)});return l.length?(this.data(l),false):true}function iR(e,t){return t==="separator"&&!Et(e)}function oR(e,t){var r;return ((r=e.implicitAttrs)===null||r===void 0?void 0:r[t])!==void 0}function sR(e,t){return t==="combobox"&&e.attr("aria-expanded")==="false"}function lR(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=Xe(r,{chromium:true,fallback:true}),o=uR(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=un(r,{subtreeDescendant:true});if(Ve(u)==="")return true}function uR(e,t,r,n){var a=at.ariaRoles[t];return a?a.prohibitedAttrs||[]:t||n.includes(r)||lh(e)==="widget"?[]:["aria-label","aria-labelledby"]}var lh=mt(function(t){if(t){var r=Xe(t,{noPresentational:true,chromium:true});return r?wr(r):lh(t.parent)}});function cR(e,t,r){var n=r.attr("aria-level"),a=parseInt(n,10);if(!(a>6))return true}var dR=cR;function fR(e,t,r){return r.attr("aria-hidden")!=="true"}var pR=fR;function mR(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=Vt(l);if(u.length>1)return this.data({messageKey:"unsupported",values:u}),false;var c;try{c=l&&Sr(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 h=Vt(r.attr("aria-describedby"));return Qe(c)==="alert"||c.getAttribute("aria-live")==="assertive"||c.getAttribute("aria-live")==="polite"||u.some(function(b){return h.includes(b)})}}return t.indexOf(n)===-1&&a?(this.data(Vt(n)),s.call(this,n)):true}function uh(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=hR(i),l=s&&Xe(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 hR(e){if(e.parent){var t='table:not([role]), [role~="treegrid"], [role~="table"], [role~="grid"]';return Zt(e,t)}}function ch(e,t,r){var n=r.props,a=n.nodeName,i=n.type,o=vR(r.attr("aria-checked"));if(a!=="input"||i!=="checkbox"||!o)return true;var s=gR(r);return o===s?true:(this.data({messageKey:"checkbox",checkState:s}),false)}function gR(e){return e.props.indeterminate?"mixed":e.props.checked?"true":"false"}function vR(e){return e?(e=e.toLowerCase(),["mixed","true"].includes(e)?e:"false"):""}var dh={row:uh,checkbox:ch};function bR(e,t,r){var n=Xe(r);return dh[n]?dh[n].call(this,e,t,r):true}function yR(e,t,r){return r.attr("aria-busy")==="true"}function wR(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=b1(r,a);return l.length?(this.data(l),bt(r)?false:void 0):true}var xR=wR;function DR(e,t,r){var n=[],a=Xe(r),i=h1(a);Array.isArray(t[a])&&(i=Ya(t[a].concat(i)));var o=it(r.attrNames),s;try{for(o.s();!(s=o.n()).done;){var l=s.value;qo(l)&&!i.includes(l)&&!AR(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&&!eu(r)&&!Et(r)))return false}function AR(e,t,r){return !!(e==="aria-required"&&t==="false"||e==="aria-multiline"&&t==="false"&&r.hasAttr("contenteditable"))}function _R(e,t,r){var n=ln(r);if(!n.allowedAriaAttrs)return true;var a=Qe(r);if(a)return true;var i=n.allowedAriaAttrs,o=sn(),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(b){l.e(b);}finally{l.f();}if(!s.length)return true;var h=s.length>1?"plural":"singular";return this.data({messageKey:h,nodeName:r.props.nodeName,values:s.map(function(b){return b+'="'+r.attr(b)+'"'}).join(", ")}),false}function ER(e,t,r){var n=Vt(r.attr("role")).filter(function(a){return wr(a)==="abstract"});return n.length>0?(this.data(n),true):false}var CR=ER;function SR(e){var t=kn(e.getAttribute("lang")),r=kn(e.getAttribute("xml:lang"));return Po(t)&&Po(r)}var kR=SR;function TR(e){return e.ownerDocument.defaultView.self===e.ownerDocument.defaultView.top}var RR=TR;function FR(e,t){try{var r=t.props.nodeName;return r==="svg"?!0:!!Zt(t,"svg")}catch{return false}}var Eu=FR;function IR(e,t){return LR.every(function(r){return r(e,t)})}var LR=[function(e,t){return fh(t)},function(e,t){return PR(t)},function(e,t){return !Eu(e,t)},function(e,t){return Et(t)},function(e,t){return cr(t)||!MR(t)},function(e){return !ql(e,{noLengthCompare:true,includeInlineBlock:true})}];function fh(e){return wr(e)==="widget"}function PR(e){return e.props.nodeName!=="area"}var MR=mt(function e(t){return t!=null&&t.parent?fh(t.parent)&&cr(t.parent)?true:e(t.parent):false});function OR(e,t){var r=Xe(t);return ["treegrid","grid","table"].includes(r)}function NR(e,t){var r=t.parent;if(r.props.nodeName!=="details"||qR(t))return false;var n=r.children.find(function(a){return a.props.nodeName==="summary"});return n===t}function qR(e){var t,r=(t=e.actualNode)===null||t===void 0?void 0:t.parentElement;return r&&r!==e.parent.actualNode}function BR(e){return Vl(e)&&io(e)}var HR=BR;function VR(e,t){return Gr(e,13)!==void 0&&mu(t)===false&&$R(t)}function $R(e){var t=e.boundingClientRect;return rr(e,"*").some(function(r){if(!Ga(r,true,true))return false;var n=[];if(yo(r)){var a;(a=n).push.apply(a,ke(jR(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 jR(e){var t=m.createRange();return t.selectNodeContents(e.actualNode),Array.from(t.getClientRects())}function zR(e,t){return kr(t,{chromiumRoles:true})!==null}var GR=zR;function UR(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 WR=UR;function XR(e,t){var r=Qe(t);if(!r||["none","presentation"].includes(r))return true;var n=Ep[r]||{},a=n.accessibleNameRequired;return !!(a||Et(t))}var ph=XR,YR=function(t,r){return [ph,KR].every(function(n){return n(t,r)})};function KR(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 JR(e,t){return t.props.nodeName!=="html"}var ZR=JR;function QR(e,t){return !t.attr("role")}var eF=QR;function tF(e,t){var r=Fr(t.attr("tabindex"));return r===null||r>=0}var rF=tF;function nF(e,t){var r=ln(t),n=r.namingMethods;return !(n&&n.length!==0||Qe(t)==="combobox"&&rr(t,'input:not([type="hidden"])').length||mu(t,{popupRoles:["listbox"]}))}var aF=nF;function iF(e,t){return !(!t.hasAttr("role")||!t.attr("role").trim())}var oF=iF;function sF(e){return !(!e.currentSrc||e.hasAttribute("paused")||e.hasAttribute("muted"))}var lF=sF;function uF(e,t){var r=Xe(t);return r?!!at.ariaRoles[r].childrenPresentational:false}var cF=uF;function dF(e){var t=Ve(e.innerText),r=Qe(e);return r&&r!=="link"||!t||!Qt(e)?false:ql(e)}var fF=dF;function pF(e){return !Oo(e)&&!Et(e)}var mF=pF;function hF(e,t){return gF(t)&&bt(t)}function gF(e){var t=Gn("landmark"),r=Xe(e);if(!r)return false;var n=e.props.nodeName;if(n==="section"||n==="form"){var a=Lt(e);return !!a}return t.indexOf(r)>=0||r==="region"}function vF(e,t){var r="article, aside, main, nav, section";return e.hasAttribute("role")||!Bn(t,r)}var bF=vF;function yF(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 wF=yF;function xF(e,t){var r=Xe(e);if(!r)return false;var n=Gn("widget"),a=n.includes(r);if(!a)return false;var i=pu();return !(!i.includes(r)||!Ve(Ha(t))&&!Ve(Ba(e))||!Ve(Tr(t)))}var DF=xF;function AF(e,t){return Qt(t)}function _F(e){return Qt(e)}function EF(e,t,r){return r.initiator}var mh=EF;function CF(e){return fm(e)}var SF=CF;function kF(e,t){var r=!!Lt(t);if(!r)return false;var n=Xe(e);return !(n&&n!=="link")}var TF=kF;function RF(e,t){return !Eu(e,t)}var FF=RF;function IF(e,t){return Xe(t)==="heading"}function LF(e,t){return kr(t,{chromium:true})!==null}var PF=LF;function MF(e){var t=e.getAttribute("title");return !!Ve(t)}var OF=MF;function NF(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 qF=NF;function BF(e){var t=e.getAttribute("id").trim(),r='*[id="'.concat(xt(t),'"]'),n=Array.from(Nt(e).querySelectorAll(r));return !No(e)&&n.every(function(a){return !Et(a)})}var HF=BF;function VF(e){return No(e)}var $F=VF;function jF(e){var t=e.getAttribute("id").trim(),r='*[id="'.concat(xt(t),'"]'),n=Array.from(Nt(e).querySelectorAll(r));return !No(e)&&n.some(Et)}var zF=jF;function GF(e){return Oo(e)}var UF=GF;function WF(e){if(Oo(e)){var t=zr(e);return t.length>=3&&t[0].length>=3&&t[1].length>=3&&t[2].length>=3}return false}var XF=WF;function YF(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)||ei(t)||fo(t))return false;var o=["input","select","textarea"];if(o.includes(n)){var s=f.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},!$l(u,e))return false}return true}var c=Bn(t,"label");if(n==="label"||c){var h=c||e,b=c?Ye(c):t;if(h.htmlFor){var A=Nt(h),L=A.getElementById(h.htmlFor),N=L&&Ye(L);if(N&&ei(N))return false}var q='input:not([type="hidden"],[type="image"],[type="button"],[type="submit"],[type="reset"]), select, textarea',$=rr(b,q)[0];if($&&ei($))return false}for(var z=[],W=t;W;){if(W.props.id){var X=fu(W).filter(function(ge){return Vt(ge.getAttribute("aria-labelledby")||"").includes(W.props.id)}).map(function(ge){return Ye(ge)});z.push.apply(z,ke(X));}W=W.parent;}if(z.length>0&&z.every(ei)||!ZF(t)||!parseFloat(t.getComputedStylePropertyValue("font-size")))return false;for(var K=m.createRange(),ne=t.children,se=0;se<ne.length;se++){var pe=ne[se];pe.actualNode.nodeType===3&&Ve(pe.actualNode.nodeValue)!==""&&K.selectNodeContents(pe.actualNode);}var _e=Array.from(K.getClientRects()),le=Ma(t);return _e.some(function(ge){var xe=$l(ge,e);if(!le.length)return xe;var Ee=le.some(function(Oe){return ol(ge,Oe.boundingClientRect)});return xe&&Ee})}var KF=YF,JF={emoji:true,nonBmp:false,punctuations:true};function ZF(e){var t=Tr(e,false,true);return t===""||za(t,JF)===""?false:e.children.some(function(r){return r.props.nodeName==="#text"&&!Il(r)})}function QF(e,t,r){return mh(e,t,r)?!!e.querySelector("a[href]"):true}var e3=QF;function t3(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=Fr(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&&!Qt(t)&&!bt(t))}var r3=t3;function n3(e,t){var r=Qe(t);return !!hu(r)}var a3=n3;function i3(e,t){var r=Qe(t,{dpub:true});return !!gu(r)}var o3=i3;function hh(e){return e?e.getAttribute("aria-hidden")==="true"?false:hh(It(e)):true}function s3(e){return hh(It(e))}var l3=s3;function u3(e,t){var r=/^aria-/;return t.attrNames.some(function(n){return r.test(n)})}var c3=u3;function d3(e,t){return Qe(t,{dpub:true,fallback:true})!==null}var f3=d3;function p3(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 m3=p3,h3={"abstractrole-evaluate":CR,"accesskeys-after":zT,"accesskeys-evaluate":$T,"alt-space-value-evaluate":xT,"aria-allowed-attr-elm-evaluate":_R,"aria-allowed-attr-evaluate":DR,"aria-allowed-attr-matches":m3,"aria-allowed-role-evaluate":xR,"aria-allowed-role-matches":f3,"aria-busy-evaluate":yR,"aria-conditional-attr-evaluate":bR,"aria-conditional-checkbox-attr-evaluate":ch,"aria-conditional-row-attr-evaluate":uh,"aria-errormessage-evaluate":mR,"aria-has-attr-matches":c3,"aria-hidden-body-evaluate":pR,"aria-hidden-focus-matches":l3,"aria-label-evaluate":QC,"aria-labelledby-evaluate":JC,"aria-level-evaluate":dR,"aria-prohibited-attr-evaluate":lR,"aria-required-attr-evaluate":aR,"aria-required-children-evaluate":Z5,"aria-required-children-matches":o3,"aria-required-parent-evaluate":J5,"aria-required-parent-matches":a3,"aria-roledescription-evaluate":X5,"aria-unsupported-attr-evaluate":U5,"aria-valid-attr-evaluate":z5,"aria-valid-attr-value-evaluate":V5,"attr-non-space-content-evaluate":n5,"autocomplete-appropriate-evaluate":s5,"autocomplete-matches":r3,"autocomplete-valid-evaluate":i5,"avoid-inline-spacing-evaluate":YC,"braille-label-equivalent-evaluate":H5,"braille-roledescription-equivalent-evaluate":B5,"bypass-matches":e3,"caption-evaluate":Mk,"caption-faked-evaluate":IC,"color-contrast-evaluate":m5,"color-contrast-matches":KF,"css-orientation-lock-evaluate":Sk,"data-table-large-matches":XF,"data-table-matches":UF,"deprecatedrole-evaluate":q5,"dlitem-evaluate":Uk,"doc-has-title-evaluate":WC,"duplicate-id-active-matches":zF,"duplicate-id-after":nS,"duplicate-id-aria-matches":$F,"duplicate-id-evaluate":tS,"duplicate-id-misc-matches":HF,"duplicate-img-label-evaluate":yT,"exists-evaluate":GC,"explicit-evaluate":vT,"fallbackrole-evaluate":N5,"focusable-content-evaluate":HT,"focusable-disabled-evaluate":qT,"focusable-element-evaluate":OT,"focusable-modal-open-evaluate":PT,"focusable-no-name-evaluate":IT,"focusable-not-tabbable-evaluate":RT,"frame-focusable-content-evaluate":kT,"frame-focusable-content-matches":qF,"frame-tested-after":Lk,"frame-tested-evaluate":Fk,"frame-title-has-text-matches":OF,"has-alt-evaluate":jC,"has-descendant-after":t5,"has-descendant-evaluate":QT,"has-global-aria-attribute-evaluate":P5,"has-implicit-chromium-role-matches":PF,"has-lang-evaluate":Zk,"has-text-content-evaluate":JT,"has-widget-role-evaluate":I5,"heading-matches":IF,"heading-order-after":lk,"heading-order-evaluate":sk,"help-same-as-label-evaluate":hT,"hidden-content-evaluate":HE,"hidden-explicit-label-evaluate":pT,"html-namespace-matches":FF,"html5-scope-evaluate":RC,"identical-links-same-purpose-after":ak,"identical-links-same-purpose-evaluate":rk,"identical-links-same-purpose-matches":TF,"implicit-evaluate":dT,"inline-style-property-evaluate":HC,"inserted-into-focus-order-matches":SF,"internal-link-present-evaluate":ES,"invalid-children-evaluate":$k,"invalidrole-evaluate":R5,"is-element-focusable-evaluate":k5,"is-initiator-matches":mh,"is-on-screen-evaluate":BC,"is-visible-matches":_F,"is-visible-on-screen-matches":AF,"label-content-name-mismatch-evaluate":uT,"label-content-name-mismatch-matches":DF,"label-matches":wF,"landmark-has-body-context-matches":bF,"landmark-is-top-level-evaluate":ST,"landmark-is-unique-after":rT,"landmark-is-unique-evaluate":eT,"landmark-unique-matches":hF,"layout-table-matches":mF,"link-in-text-block-evaluate":p5,"link-in-text-block-matches":fF,"link-in-text-block-style-evaluate":u5,"listitem-evaluate":Vk,"matches-definition-evaluate":KT,"meta-refresh-evaluate":AS,"meta-viewport-scale-evaluate":Ek,"multiple-label-evaluate":oT,"nested-interactive-matches":cF,"no-autoplay-audio-evaluate":Tk,"no-autoplay-audio-matches":lF,"no-empty-role-matches":oF,"no-explicit-name-required-matches":ph,"no-focusable-content-evaluate":_T,"no-implicit-explicit-label-evaluate":C5,"no-naming-method-matches":aF,"no-negative-tabindex-matches":rF,"no-role-matches":eF,"non-empty-if-present-evaluate":NC,"not-html-matches":ZR,"object-is-loaded-matches":YR,"only-dlitems-evaluate":Hk,"only-listitems-evaluate":Bk,"p-as-heading-evaluate":wS,"p-as-heading-matches":WR,"page-no-duplicate-after":XT,"page-no-duplicate-evaluate":UT,"presentation-role-conflict-matches":GR,"presentational-role-evaluate":MC,"region-after":gS,"region-evaluate":dS,"same-caption-summary-evaluate":CC,"scope-value-evaluate":EC,"scrollable-region-focusable-matches":VR,"skip-link-evaluate":uS,"skip-link-matches":HR,"structured-dlitems-evaluate":Nk,"summary-interactive-matches":NR,"svg-namespace-matches":Eu,"svg-non-empty-title-evaluate":PC,"tabindex-evaluate":AT,"table-or-grid-role-matches":OR,"target-offset-evaluate":Dk,"target-size-evaluate":mk,"td-has-header-evaluate":AC,"td-headers-attr-evaluate":xC,"th-has-data-cells-evaluate":wC,"title-only-evaluate":aT,"unique-frame-title-after":sS,"unique-frame-title-evaluate":iS,"unsupportedrole-evaluate":_5,"valid-lang-evaluate":Kk,"valid-scrollable-semantics-evaluate":D5,"widget-not-inline-matches":IR,"window-is-top-matches":RR,"xml-lang-mismatch-evaluate":Xk,"xml-lang-mismatch-matches":kR},jo=h3;function g3(e){this.id=e.id,this.data=null,this.relatedNodes=[],this.result=null;}var Cu=g3;function Su(e){if(typeof e=="string"){if(jo[e])return jo[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 gh(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return (Array.isArray(e)||fe(e)!=="object")&&(e={value:e}),e}function Wn(e){e&&(this.id=e.id,this.configure(e));}Wn.prototype.enabled=true,Wn.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 Cu(this),u=zs(l,r,a,i),c;try{c=this.evaluate.call(u,t.actualNode,s,t,n);}catch(h){t&&t.actualNode&&(h.errorNode=ur.toSpec(t)),i(h);return}u.isAsync||(l.result=c,a(l));}else a(null);},Wn.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 Cu(this),u=zs(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(h){throw t&&t.actualNode&&(h.errorNode=ur.toSpec(t)),h}return l.result=c,l},Wn.prototype.configure=function(t){var r=this;(!t.evaluate||jo[t.evaluate])&&(this._internalCheck=true),t.hasOwnProperty("enabled")&&(this.enabled=t.enabled),t.hasOwnProperty("options")&&(this._internalCheck?this.options=gh(t.options):this.options=t.options),["evaluate","after"].filter(function(n){return t.hasOwnProperty(n)}).forEach(function(n){return r[n]=Su(t[n])});},Wn.prototype.getOptions=function(t){return this._internalCheck?nl(this.options,gh(t||{})):t||this.options};var vh=Wn;function v3(e){this.id=e.id,this.result=We.NA,this.pageLevel=e.pageLevel,this.impact=null,this.nodes=[];}var zo=v3;function Xt(e,t){this._audit=t,this.id=e.id,this.selector=e.selector||"*",e.impact&&(nt(We.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=Su(e.matches));}Xt.prototype.matches=function(){return true},Xt.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=ou(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},Xt.prototype.runChecks=function(t,r,n,a,i,o){var s=this,l=Cr();this[t].forEach(function(u){var c=s._audit.checks[u.id||u],h=Co(c,s.id,n);l.defer(function(b,A){c.run(r,h,a,b,function(L){A(new Io({ruleId:s.id,method:"".concat(c.id,"#evaluate"),errorNode:new lr(r),error:L}));});});}),l.then(function(u){u=u.filter(function(c){return c}),i({type:t,results:u});}).catch(o);},Xt.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=Co(l,i.id,n);o.push(l.runSync(r,u,a));}),o=o.filter(function(s){return s}),{type:t,results:o}},Xt.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=Cr(),s=new zo(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,h){var b=Cr();["any","all","none"].forEach(function(A){b.defer(function(L,N){r.runChecks(A,u,n,t,L,N);});}),b.then(function(A){var L=bh(A);L&&(L.node=new lr(u),s.nodes.push(L),r.reviewOnFail&&(["any","all"].forEach(function(N){L[N].forEach(function(q){q.result===false&&(q.result=void 0);});}),L.none.forEach(function(N){N.result===true&&(N.result=void 0);}))),c();}).catch(function(A){return h(A)});});}),o.then(function(){n.performanceTimer&&r._logRulePerformance(),setTimeout(function(){a(s);},0);}).catch(function(u){n.performanceTimer&&r._logRulePerformance(),i(u);});},Xt.prototype.runSync=function(t){var r=this,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};n.performanceTimer&&this._trackPerformance();var a=new zo(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=bh(s);l&&(l.node=o.actualNode?new lr(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},Xt.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;},Xt.prototype._logGatherPerformance=function(t){wn("gather for ".concat(this.id," (").concat(t.length," nodes): ").concat(st.timeElapsed(),"ms")),st.mark(this._markChecksStart);},Xt.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 bh(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}}Xt.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 Io({ruleId:n.id,method:"#matches",errorNode:new lr(s),error:l})}}),r.performanceTimer&&(st.mark(i),st.measure("rule_"+this.id+"#matches",a,i)),o};function b3(e){return eo(e).map(function(t){var r=e._audit.checks[t.id||t];return r&&typeof r.after=="function"?r:null}).filter(Boolean)}function y3(e,t){var r=[];return e.forEach(function(n){var a=eo(n);a.forEach(function(i){i.id===t&&(i.node=n.node,r.push(i));});}),r}function w3(e){return e.filter(function(t){return t.filtered!==true})}function x3(e){var t=["any","all","none"],r=e.nodes.filter(function(n){var a=0;return t.forEach(function(i){n[i]=w3(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}Xt.prototype.after=function(t,r){var n=this,a=b3(this);return a.forEach(function(i){var o=y3(t.nodes,i.id),s=Co(i,n.id,r),l;try{l=i.after(o,s.options);}catch(c){var u;throw new Io({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 h=(n.any.includes(c.id)||n.all.includes(c.id))&&c.result===false,b=n.none.includes(c.id)&&c.result===true;(h||b)&&(c.result=void 0);}),o.forEach(function(c){delete c.node,l.indexOf(c)===-1&&(c.filtered=true);});}),t.nodes=x3(t),t},Xt.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=Su(t.matches)),t.impact&&(nt(We.impact.includes(t.impact),"Impact ".concat(t.impact," is not a valid impact")),this.impact=t.impact);};var Xn=/\{\{.+?\}\}/g,D3=(function(){function e(t){nr(this,e),this.lang="en",this.defaultConfig=t,this.standards=at,this._init(),this._defaultLocale=null;}return Gt(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 h=Object.keys(this.data.rules),b=0;b<h.length;b++){var A=h[b],L=this.data.rules[A],N=L.description,q=L.help;r.rules[A]={description:N,help:q};}for(var $=Object.keys(this.data.failureSummaries),z=0;z<$.length;z++){var W=$[z],X=this.data.failureSummaries[W],K=X.failureMessage;r.failureSummaries[W]={failureMessage:K};}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]=_3(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]=E3(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]=C3(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=S3(this.data.incompleteFallbackMessage,r.incompleteFallbackMessage)),r.lang&&(this.lang=r.lang);}},{key:"setAllowedOrigins",value:function(r){var n=wh();this.allowedOrigins=[];var a=it(r),i;try{for(a.s();!(i=a.n()).done;){var o=i.value;if(o===We.allOrigins){this.allowedOrigins=["*"];return}else o!==We.sameOrigin?this.allowedOrigins.push(o):n&&this.allowedOrigins.push(n);}}catch(s){a.e(s);}finally{a.f();}}},{key:"_init",value:function(){var r=A3(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,xh(r.rules,this,"addRule"),xh(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 Xt(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 vh(r);}},{key:"run",value:function(r,n,a,i){this.normalizeOptions(n),lr.setRunOptions(n),p._selectCache=[];var o=k3(this.rules,r,n),s=o.now,l=o.later,u=Cr();s.forEach(function(b){u.defer(Dh(b,r,n));});var c=Cr();l.length&&c.defer(function(b){Wm(n).then(function(A){return b(A)}).catch(function(A){console.warn("Couldn't load preload assets: ",A),b(void 0);});});var h=Cr();h.defer(u),h.defer(c),h.then(function(b){var A=b.pop();if(A&&A.length){var L=A[0];L&&(r=Fe({},r,L));}var N=b[0];if(!l.length){p._selectCache=void 0,a(N.filter(function($){return !!$}));return}var q=Cr();l.forEach(function($){var z=Dh($,r,n);q.defer(z);}),q.then(function($){p._selectCache=void 0,a(N.concat($).filter(function(z){return !!z}));}).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=La(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 Ah(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(h){a.includes(h)||a.push(h);});}),["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&&p.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=(p.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===_h(n,i.id,a))&&(o.helpUrl=_h(r,i.id,a));});}},{key:"resetRulesAndChecks",value:function(){this._init(),this._resetLocale();}}])})(),yh=D3;function wh(){if(f.origin&&f.origin!=="null")return f.origin;if(f.location&&f.location.origin&&f.location.origin!=="null")return f.location.origin}function A3(e){var t;if(e?(t=Vr(e),t.commons=e.commons):t={},t.reporter=t.reporter||null,t.noHtml=t.noHtml||false,!t.allowedOrigins){var r=wh();t.allowedOrigins=r?[r]:[];}return t.rules=t.rules||[],t.checks=t.checks||[],t.data=Fe({checks:{},rules:{}},t.data),t}function xh(e,t,r){var n,a;for(n=0,a=e.length;n<a;n++)t[r](e[n]);}var _3=function(t,r){var n=r.pass,a=r.fail;return typeof n=="string"&&Xn.test(n)&&(n=Zr.default.compile(n)),typeof a=="string"&&Xn.test(a)&&(a=Zr.default.compile(a)),Fe({},t,{messages:{pass:n||t.messages.pass,fail:a||t.messages.fail,incomplete:fe(t.messages.incomplete)==="object"?Fe({},t.messages.incomplete,r.incomplete):r.incomplete}})},E3=function(t,r){var n=r.help,a=r.description;return typeof n=="string"&&Xn.test(n)&&(n=Zr.default.compile(n)),typeof a=="string"&&Xn.test(a)&&(a=Zr.default.compile(a)),Fe({},t,{help:n||t.help,description:a||t.description})},C3=function(t,r){var n=r.failureMessage;return typeof n=="string"&&Xn.test(n)&&(n=Zr.default.compile(n)),Fe({},t,{failureMessage:n||t.failureMessage})},S3=function(t,r){return typeof r=="string"&&Xn.test(r)&&(r=Zr.default.compile(r)),r||t};function k3(e,t,r){var n={now:[],later:[]},a=e.reduce(function(i,o){return Zm(o,t,r)?o.preload?(i.later.push(o),i):(i.now.push(o),i):i},n);return a}function Dh(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(Ah(e,i));});}}function Ah(e,t){var r=t.errorNode,n=Fo(t),a=[{id:"error-occurred",result:void 0,data:n,relatedNodes:[]}],i=r||new lr(m.documentElement);return Object.assign(new zo(e),{error:n,result:We.CANTTELL,nodes:[{any:[],all:[],none:a,node:i}]})}function _h(e,t,r){var n=e.brand,a=e.application,i=e.lang;return We.helpUrlBase+n+"/"+(r||p.version.substring(0,p.version.lastIndexOf(".")))+"/"+t+"?application="+encodeURIComponent(a)+(i&&i!=="en"?"&lang="+encodeURIComponent(i):"")}function Eh(e){var t=f&&"Node"in f&&"NodeList"in f,r=!!m;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),m=e.ownerDocument),t||(Ue.set("globalWindowSet",true),f=m.defaultView);}}function T3(){Ue.get("globalDocumentSet")&&(Ue.set("globalDocumentSet",false),m=null),Ue.get("globalWindowSet")&&(Ue.set("globalWindowSet",false),f=null);}function R3(){T3(),p._memoizedFns.forEach(function(e){return e.clear()}),Ue.clear(),p._tree=void 0,p._selectorData=void 0,p._selectCache=void 0;}var fn=R3;function Ch(e,t,r,n){try{e=new So(e),p._tree=e.flatTree,p._selectorData=Wi(e.flatTree);}catch(o){return fn(),n(o)}var a=Cr(),i=p._audit;t.performanceTimer&&st.auditStart(),e.frames.length&&t.iframes!==false&&a.defer(function(o,s){qf(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=to(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(Ro),s=s.map(ma));try{r(s,fn);}catch(l){fn(),wn(l);}}catch(l){fn(),n(l);}}).catch(function(o){fn(),n(o);});}function F3(e){p._audit=new yh(e);}function I3(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=[m]);var o=e&&e.options||{};switch(e.command){case "rules":return Ch(i,o,function(s,l){s=ur.mapRawResults(s),n(s),l();},a);case "cleanup-plugin":return s1(n,a);default:if(p._audit&&p._audit.commands&&p._audit.commands[e.command])return p._audit.commands[e.command](e,r)}}f.top!==f&&(yr.subscribe("axe.start",I3),yr.subscribe("axe.ping",function(e,t,r){r({axe:true});}));function ri(e){this._run=e.run,this._collect=e.collect,this._registry={},e.commands.forEach(function(t){p._audit.registerCommand(t);});}ri.prototype.run=function(){return this._run.apply(this,arguments)},ri.prototype.collect=function(){return this._collect.apply(this,arguments)},ri.prototype.cleanup=function(t){var r=p.utils.queue(),n=this;Object.keys(this._registry).forEach(function(a){r.defer(function(i){n._registry[a].cleanup(i);});}),r.then(t);},ri.prototype.add=function(t){this._registry[t.id]=t;};function L3(e){p.plugins[e.id]=new ri(e);}var P3=L3;function M3(){var e=p._audit;if(!e)throw new Error("No audit configured");e.resetRulesAndChecks(),eA();}var O3=M3;function N3(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};r.reporter=r.reporter||p._audit.reporter||"v1",p._selectorData={},t instanceof Ft||(t=new o1(t));var n=Lm(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);Ro(i),ma(i);var o=Xc([i]);return o.violations.forEach(function(s){return s.nodes.forEach(function(l){l.failureSummary=Xl(l);})}),Fe({},cn(),o,{toolOptions:r})}function Sh(e){var t,r,n,a=De(e,3),i=a[0],o=a[1],s=a[2],l=new TypeError("axe.run arguments are invalid");if(!Nm(i)){if(s!==void 0)throw l;s=o,o=i,i=m;}if(fe(o)!=="object"){if(s!==void 0)throw l;s=o,o={};}if(typeof s!="function"&&s!==void 0)throw l;return o=Vr(o),o.reporter=(t=(r=o.reporter)!==null&&r!==void 0?r:(n=p._audit)===null||n===void 0?void 0:n.reporter)!==null&&t!==void 0?t:"v1",{context:i,options:o,callback:s}}var ku=function(){};function q3(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];Eh(t[0]);var n=Sh(t),a=n.context,i=n.options,o=n.callback,s=o===void 0?ku:o,l=B3(s),u=l.thenable,c=l.resolve,h=l.reject;try{nt(p._audit,"No audit configured"),nt(!p._running,"Axe is already running. Use `await axe.run()` to wait for the previous run to finish before starting a new run.");}catch(L){return V3(L,s)}p._running=true,i.performanceTimer&&st.start();function b(L,N){var q=function(W){i.performanceTimer&&(st.mark("reporterEnd"),st.measure("reporter","reporterStart","reporterEnd"),st.logMeasures("reporter"),st.end()),p._running=false,N();try{c(W);}catch(X){p.log(X);}},$=function(W){p._running=false,N();try{h(W);}catch(X){p.log(X);}};try{i.performanceTimer&&st.mark("reporterStart"),H3(L,i,q,$);}catch(z){$(z);}}function A(L){i.performanceTimer&&st.end(),p._running=false,s(L),h(L);}return p._runRules(a,i,b,A),u}function B3(e){var t,r,n;return typeof Promise=="function"&&e===ku?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 H3(e,t,r,n){var a=uu(t.reporter),i=a(e,t,r,n);i!==void 0&&r(i);}function V3(e,t){if(typeof t=="function"&&t!==ku){t(e.message);return}throw e}function $3(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=Sh(t),a=n.options,i=n.context;nt(p._audit,"Axe is not configured. Audit is missing."),nt(!p._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 So(i,p._tree);return p._tree=o.flatTree,p._selectorData=Wi(o.flatTree),p._running=true,a.elementRef=false,new Promise(function(s,l){p._audit.run(o,a,s,l);}).then(function(s){s=ur.mapRawResults(s);var l=o.frames.map(function(c){var h=c.node;return ur.toSpec(h)}),u;return o.initiator&&(u=cn()),p._running=false,fn(),{results:s,frames:l,environmentData:u}}).catch(function(s){return p._running=false,fn(),Promise.reject(s)})}function j3(e){var t,r,n,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};a=Vr(a);var i=e.find(function(l){return l.environmentData})||{},o=i.environmentData;p._audit.normalizeOptions(a),a.reporter=(t=(r=a.reporter)!==null&&r!==void 0?r:(n=p._audit)===null||n===void 0?void 0:n.reporter)!==null&&t!==void 0?t:"v1",z3(e);var s=to(e);return s=p._audit.after(s,a),s.forEach(Ro),s=s.map(ma),U3(s,Fe({environmentData:o},a))}function z3(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=G3(a);t.unshift.apply(t,ke(o));}}}catch(s){r.e(s);}finally{r.f();}}function G3(e){var t=e.frames,r=e.frameSpec;return r?t.map(function(n){return ur.mergeSpecs(n,r)}):t}function U3(e,t){return new Promise(function(r,n){var a=uu(t.reporter);a(e,t,r,n);})}function W3(e){if(p._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),Eh(e),p._tree=Ul(e),p._selectorData=Wi(p._tree),p._tree[0]}var X3=W3,Y3=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=ee(a,Y);n(Fe({},cn(i),{toolOptions:o},Xa(t,r)));},K3=Y3,J3=function(t,r,n){typeof r=="function"&&(n=r,r={});var a=r,i=a.environmentData,o=ee(a,Z);r.resultTypes=["violations"];var s=Xa(t,r),l=s.violations;n(Fe({},cn(i),{toolOptions:o,violations:l}));},Z3=J3,Q3=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=Fe({},i),s=["passes","violations","incomplete","inapplicable"],l=0,u=s;l<u.length;l++){var c=u[l];o[c]=ur.mapRawNodeResults(o[c]);}return o});n(a);},kh=Q3,eI=function(t,r,n){typeof r=="function"&&(n=r,r={});var a=r,i=a.environmentData,o=ee(a,k);kh(t,o,function(s){var l=cn(i);n({raw:s,env:l});});},tI=eI,rI=function(t,r,n){typeof r=="function"&&(n=r,r={});var a=r,i=a.environmentData,o=ee(a,v),s=Xa(t,r),l=function(c){c.nodes.forEach(function(h){h.failureSummary=Xl(h);});};s.incomplete.forEach(l),s.violations.forEach(l),n(Fe({},cn(i),{toolOptions:o},s));},nI=rI,aI=function(t,r,n){typeof r=="function"&&(n=r,r={});var a=r,i=a.environmentData,o=ee(a,F),s=Xa(t,r);n(Fe({},cn(i),{toolOptions:o},s));},iI=aI,oI={base:{Audit:yh,CheckResult:Cu,Check:vh,Context:So,RuleResult:zo,Rule:Xt,metadataFunctionMap:jo},public:{reporters:Ka},helpers:{failureSummary:Xl,incompleteFallbackMessage:Yl,processAggregate:Xa},utils:{setDefaultFrameMessenger:If,cacheNodeSelectors:Em,getNodesMatchingExpression:Am,convertSelector:Yi},commons:{dom:{nativelyHidden:$f,displayHidden:jf,visibilityHidden:zf,contentVisibiltyHidden:Gf,ariaHidden:Uf,opacityHidden:Wf,scrollHidden:Xf,overflowHidden:Yf,clipHidden:Kf,areaHidden:sl,detailsHidden:Jf}}},sI=oI;p._thisWillBeDeletedDoNotUse=sI,p.constants=We,p.log=wn,p.AbstractVirtualNode=Ft,p.SerialVirtualNode=o1,p.VirtualNode=jl,p._cache=Ue,p.imports=Zc,p.cleanup=s1,p.configure=ME,p.frameMessenger=OE,p.getRules=qE,p._load=F3,p.plugins={},p.registerPlugin=P3,p.hasReporter=u1,p.getReporter=uu,p.addReporter=LE,p.reset=O3,p._runRules=Ch,p.runVirtualRule=N3,p.run=q3,p.setup=X3,p.teardown=fn,p.runPartial=$3,p.finishRun=j3,p.commons=F1,p.utils=gs,p.addReporter("na",K3),p.addReporter("no-passes",Z3),p.addReporter("rawEnv",tI),p.addReporter("raw",kh),p.addReporter("v1",nI),p.addReporter("v2",iI,true);}))(),p._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 de="Fix any of the following:",ve=oe;if(ve)for(var Ge,tt=-1,ot=ve.length-1;tt<ot;)Ge=ve[tt+=1],de+=`
|
|
378
|
-
`+
|
|
375
|
+
`)}var Xl=gA;function Yl(){var e=p._audit.data.incompleteFallbackMessage;return typeof e=="function"&&(e=e()),typeof e!="string"?"":e}var Sm=Xe.resultGroups;function Xa(e,t){var r=p.utils.aggregateResult(e);return Sm.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=km(i.node,t);Object.assign(i,o);}return delete i.result,delete i.node,vA(i,t),i})),Sm.forEach(function(i){return delete a[i]}),delete a.pageLevel,delete a.result,a});}),r}function vA(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 km(a,t)});});});}function km(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;e=ur.dqElmToSpec(e,t);var r={};if(p._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 bA=/\$\{\s?data\s?\}/g;function Eo(e,t){if(typeof t=="string")return e.replace(bA,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 Tm(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 Eo(r,t)}return Eo(e,t)}if(typeof e=="string")return Eo(e,t);if(typeof t=="string"){var n=e[t];return Eo(n,t)}var a=e.default||Yl();return t&&t.messageKey&&e[t.messageKey]&&(a=e[t.messageKey]),Tm(a,t)}}var Kl=Tm;function yA(e,t,r){var n=p._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 Kl(n.messages[t],r)}var wA=yA;function xA(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 Co=xA;function cn(){var e,t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:f;return t&&de(t)==="object"?t:de(r)!=="object"?{}:{testEngine:{name:"axe-core",version:p.version},testRunner:{name:p._audit.brand},testEnvironment:DA(r),timestamp:new Date().toISOString(),url:(e=r.location)===null||e===void 0?void 0:e.href}}function DA(e){if(!e.navigator||de(e.navigator)!=="object")return {};var t=e.navigator,r=e.innerHeight,n=e.innerWidth,a=_A(e)||{},i=a.angle,o=a.type;return {userAgent:t.userAgent,windowWidth:n,windowHeight:r,orientationAngle:i,orientationType:o}}function _A(e){var t=e.screen;return t.orientation||t.msOrientation||t.mozOrientation}function Rm(e,t){var r=t.focusable,n=t.page;return {node:e,include:[],exclude:[],initiator:false,focusable:r&&AA(e),size:EA(e),page:n}}function AA(e){var t=Fr(e.getAttribute("tabindex"));return t===null||t>=0}function EA(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 CA(e){if(Zl(e)){var t=" must be used inside include or exclude. It should not be on the same object.";dn(!Rr(e,"fromFrames"),"fromFrames"+t),dn(!Rr(e,"fromShadowDom"),"fromShadowDom"+t);}else if(ko(e))e={include:e,exclude:[]};else return {include:[m],exclude:[]};var r=Fm(e.include);r.length===0&&r.push(m);var n=Fm(e.exclude);return {include:r,exclude:n}}function Fm(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=[];Jl(e)||(e=[e]);for(var r=0;r<e.length;r++){var n=SA(e[r]);n&&t.push(n);}return t}function SA(e){return e instanceof f.Node?e:typeof e=="string"?[e]:(Ql(e)?(TA(e),e=e.fromFrames):To(e)&&(e=[e]),kA(e))}function kA(e){if(Array.isArray(e)){var t=[],r=it(e),n;try{for(r.s();!(n=r.n()).done;){var a=n.value;if(To(a)&&(RA(a),a=a.fromShadowDom),typeof a!="string"&&!FA(a))return;t.push(a);}}catch(i){r.e(i);}finally{r.f();}return t}}function TA(e){dn(Array.isArray(e.fromFrames),"fromFrames property must be an array"),dn(e.fromFrames.every(function(t){return !Rr(t,"fromFrames")}),"Invalid context; fromFrames selector must be appended, rather than nested"),dn(!Rr(e,"fromShadowDom"),"fromFrames and fromShadowDom cannot be used on the same object");}function RA(e){dn(Array.isArray(e.fromShadowDom),"fromShadowDom property must be an array"),dn(e.fromShadowDom.every(function(t){return !Rr(t,"fromFrames")}),"shadow selector must be inside fromFrame instead"),dn(e.fromShadowDom.every(function(t){return !Rr(t,"fromShadowDom")}),"fromShadowDom selector must be appended, rather than nested");}function FA(e){return Array.isArray(e)&&e.every(function(t){return typeof t=="string"})}function dn(e,t){nt(e,"Invalid context; ".concat(t,`
|
|
376
|
+
See: https://github.com/dequelabs/axe-core/blob/master/doc/context.md`));}function Im(e,t){for(var r=[],n=0,a=e[t].length;n<a;n++){var i=e[t][n];if(i instanceof f.Node)if(i.documentElement instanceof f.Node)r.push(e.flatTree[0]);else if(i.host instanceof f.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)IA(e,t,i);else {var s=su(i[0]);r.push.apply(r,_e(s.map(function(l){return Ke(l)})));}}return r.filter(function(l){return l})}function IA(e,t,r){e.frames=e.frames||[];var n=r.shift(),a=su(n);a.forEach(function(i){var o=e.frames.find(function(s){return s.node===i});o||(o=Rm(i,e),e.frames.push(o)),o[t].push(r);});}function So(e,t){var r,n,a,i,o=this;e=Vr(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=CA(e),this.flatTree=t??Ul(OA(e)),this.exclude=e.exclude,this.include=e.include,this.include=Im(this,"include"),this.exclude=Im(this,"exclude"),ou("frame, iframe",this).forEach(function(s){tu(s,o)&&LA(o,s.actualNode);}),typeof this.page>"u"&&(this.page=PA(this),this.frames.forEach(function(s){s.page=o.page;})),MA(this),Array.isArray(this.include)||(this.include=Array.from(this.include)),this.include.sort(nu);}function LA(e,t){!yt(t)||La(e.frames,"node",t)||e.frames.push(Rm(t,e));}function PA(e){var t=e.include;return t.length===1&&t[0].actualNode===m.documentElement}function MA(e){if(e.include.length===0&&e.frames.length===0){var t=yr.isInFrame()?"frame":"page";throw new Error("No elements found for include in "+t+" Context")}}function OA(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 f.Element)return i.ownerDocument.documentElement;if(i instanceof f.Document)return i.documentElement}return m.documentElement}function NA(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(t.iframes===false)return [];var r=new So(e),n=r.frames;return n.map(function(a){var i=a.node,o=Z(a,q);o.initiator=false;var s=Xi(i);return {frameSelector:s,frameContext:o}})}function Lm(e){var t=p._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 qA(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=f.getComputedStyle(e),i=Pm(a,"overflow-x"),o=Pm(a,"overflow-y");if(r&&i||n&&o)return {elm:e,top:e.scrollTop,left:e.scrollLeft}}}function Pm(e,t){var r=e.getPropertyValue(t);return ["scroll","auto"].includes(r)}var Gr=ht(qA);function Mm(e){return Array.from(e.children||e.childNodes||[]).reduce(function(t,r){var n=Gr(r);return n&&t.push(n),t.concat(Mm(r))},[])}function BA(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:f,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(Mm(m.body))}var HA=BA;function VA(){return Vr(at)}function $A(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 h=e.createTextNode('@import "'.concat(r.href,'"'));c.appendChild(h);}else c.appendChild(e.createTextNode(r));return e.head.appendChild(c),{sheet:c.sheet,isCrossOrigin:a,shadowId:i,root:o,priority:s}}}var Om=$A,tr;function jA(e){if(tr&&tr.parentNode)return tr.styleSheet===void 0?tr.appendChild(m.createTextNode(e)):tr.styleSheet.cssText+=e,tr;if(e){var t=m.head||m.getElementsByTagName("head")[0];return tr=m.createElement("style"),tr.type="text/css",tr.styleSheet===void 0?tr.appendChild(m.createTextNode(e)):tr.styleSheet.cssText=e,t.appendChild(tr),tr}}var zA=jA;function Jl(e){return !!e&&de(e)==="object"&&typeof e.length=="number"&&!(e instanceof f.Node)}function Rr(e,t){return !e||de(e)!=="object"?false:Object.prototype.hasOwnProperty.call(e,t)}function Nm(e){return Zl(e)||ko(e)}function Zl(e){return ["include","exclude"].some(function(t){return Rr(e,t)&&ko(e[t])})}function ko(e){return typeof e=="string"||e instanceof f.Node||Ql(e)||To(e)||Jl(e)}function Ql(e){return Rr(e,"fromFrames")}function To(e){return Rr(e,"fromShadowDom")}function qm(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=f.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=qm(a,true);return r&&(r._isHidden=i),i}var GA=qm;function UA(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 eu=UA;function tu(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 $r(c,e)});if(o.length===0)return false;var s=i.filter(function(c){return $r(c,e)});if(s.length===0)return true;var l=Bm(o),u=Bm(s);return $r(u,l)}function Bm(e){var t,r=it(e),n;try{for(r.s();!(n=r.n()).done;){var a=n.value;(!t||!$r(a,t))&&(t=a);}}catch(i){r.e(i);}finally{r.f();}return t}function ru(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 WA(e,t){return e=e.actualNode||e,t=t.actualNode||t,e===t?0:e.compareDocumentPosition(t)&4?-1:1}var nu=WA;function rt(e){return e instanceof Lt?{vNode:e,domNode:e.actualNode}:{vNode:Ke(e),domNode:e}}function XA(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,h){var b=[].concat(_e(r),[h]),E=/^https?:\/\/|^\/\//i.test(c);return iu(c,t,b,n,E)}),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 Hm=XA;function YA(e,t,r,n){var a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:false,i=KA(e);return i?Hm(e,t,r,n,a):iu(e.href,t,r,n,true)}function KA(e){try{var t=e.cssRules;return !(!t&&e.href)}catch{return false}}var au=YA;function JA(e,t,r,n,a){return n.push(e),new Promise(function(i,o){var s=new f.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 au(o.sheet,t,r,n,o.isCrossOrigin)})}var iu=JA;function ZA(e){if(typeof e!="string")return null;var t=e.trim().match(/^([-+]?\d+)/);return t?Number(t[1]):null}var Fr=ZA,QA=(function(){function e(){if(f.performance&&f.performance)return f.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=f.performance)!==null&&i!==void 0&&i.mark&&f.performance.mark(a);},measure:function(a,i,o){var s,l=arguments.length>3&&arguments[3]!==void 0?arguments[3]:false;if((s=f.performance)!==null&&s!==void 0&&s.measure){try{f.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(O){return Array.isArray(O)?O[O.length-1]:O},u=function(O){i._log("Measure "+O.name+" took "+O.duration+"ms");};if(!(!((o=f.performance)!==null&&o!==void 0&&o.getEntriesByType)||!((s=f.performance)!==null&&s!==void 0&&s.getEntriesByName))){var c=l(f.performance.getEntriesByName("mark_axe_start"))||l(f.performance.getEntriesByName("mark_audit_start"));if(!c){this._log("Axe must be started before using performanceTimer");return}for(var h=f.performance.getEntriesByType("measure").filter(function(R){return R.startTime>=c.startTime}),b=0;b<h.length;++b){var E=h[b];if(E.name===a){u(E);return}else a||u(E);}}},timeElapsed:function(){var a=e();return a-t},clearMark:function(){var a;if((a=f.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];f.performance.clearMarks(c);}}},reset:function(){t=e();},_log:function(a){wn(a);}}})(),st=QA;function Vm(){if(m.elementsFromPoint)return m.elementsFromPoint;if(m.msElementsFromPoint)return m.msElementsFromPoint;var e=(function(){var a=m.createElement("x");return a.style.cssText="pointer-events:auto",a.style.pointerEvents==="auto"})(),t=e?"pointer-events":"visibility",r=e?"none":"hidden",n=m.createElement("style");return n.innerHTML=e?"* { pointer-events: all }":"* { visibility: visible }",function(a,i){var o,s,l,u=[],c=[];for(m.head.appendChild(n);(o=m.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(m.documentElement)<u.length-1&&(u.splice(u.indexOf(m.documentElement),1),u.push(m.documentElement)),s=c.length;l=c[--s];)u[s].style.setProperty(t,l.value?l.value:"",l.priority);return m.head.removeChild(n),u}}typeof f.addEventListener=="function"&&(m.elementsFromPoint=Vm());function eE(e,t){return e.concat(t).filter(function(r,n,a){return a.indexOf(r)===n})}var Ya=eE;function $m(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 tE(e,t,r){for(var n=We.get("qsa.recycledLocalVariables",function(){return []}),a=[],i=Array.isArray(e)?e:[e],o=$m(i,t,null,e[0].shadowId,n.pop()),s=[];o.vNodesIndex<o.vNodes.length;){for(var l,u,c=o.vNodes[o.vNodesIndex++],h=null,b=null,E=(((l=o.anyLevel)===null||l===void 0?void 0:l.length)||0)+(((u=o.thisLevel)===null||u===void 0?void 0:u.length)||0),R=false,O=0;O<E;O++){var B,$,z,X=O<(((B=o.anyLevel)===null||B===void 0?void 0:B.length)||0)?o.anyLevel[O]:o.thisLevel[O-((($=o.anyLevel)===null||$===void 0?void 0:$.length)||0)];if((!X[0].id||c.shadowId===o.parentShadowId)&&Mn(c,X[0]))if(X.length===1)!R&&(!r||r(c))&&(s.push(c),R=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===">"?(h=h||[]).push(Y):(b=b||[]).push(Y);}(!X[0].id||c.shadowId===o.parentShadowId)&&(z=o.anyLevel)!==null&&z!==void 0&&z.includes(X)&&(b=b||[]).push(X);}for(c.children&&c.children.length&&(a.push(o),o=$m(c.children,b,h,c.shadowId,n.pop()));o.vNodesIndex===o.vNodes.length&&a.length;)n.push(o),o=a.pop();}return s}function rE(e,t,r){e=Array.isArray(e)?e:[e];var n=Yi(t),a=_m(e,n,r);return a||tE(e,n,r)}var Ir=rE;function nE(e){var t=e.treeRoot,r=t===void 0?p._tree[0]:t,n=aE(r);if(!n.length)return Promise.resolve();var a=m.implementation.createHTMLDocument("Dynamic document for loading cssom"),i=Om(a);return iE(n,i).then(function(o){return zm(o)})}var jm=nE;function aE(e){var t=[],r=Ir(e,"*",function(n){return t.includes(n.shadowId)?false:(t.push(n.shadowId),true)}).map(function(n){return {shadowId:n.shadowId,rootNode:Pa(n.actualNode)}});return Ya(r,[])}function iE(e,t){var r=[];return e.forEach(function(n,a){var i=n.rootNode,o=n.shadowId,s=oE(i,o,t);if(!s)return Promise.all(r);var l=a+1,u={rootNode:i,shadowId:o,convertDataToStylesheet:t,rootIndex:l},c=[],h=Promise.all(s.map(function(b,E){var R=[l,E];return au(b,u,R,c)}));r.push(h);}),Promise.all(r)}function zm(e){return e.reduce(function(t,r){return Array.isArray(r)?t.concat(zm(r)):t.concat(r)},[])}function oE(e,t,r){var n;return e.nodeType===11&&t?n=sE(e,r):n=lE(e),cE(n)}function sE(e,t){return Array.from(e.children).filter(uE).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 lE(e){return Array.from(e.styleSheets).filter(function(t){return t.media?Gm(t.media.mediaText):false})}function uE(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&&Gm(e.media)}function Gm(e){return e?!e.toUpperCase().includes("PRINT"):true}function cE(e){var t=[];return e.filter(function(r){return r.href?t.includes(r.href)?false:(t.push(r.href),true):true})}function dE(e){var t=e.treeRoot,r=t===void 0?p._tree[0]:t,n=Ir(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 fE(i)}))}var Um=dE;function fE(e){return new Promise(function(t){e.readyState>0&&t(e);function r(){e.removeEventListener("loadedmetadata",r),t(e);}e.addEventListener("loadedmetadata",r);})}function Wm(e){var t={cssom:jm,media:Um};return Xm(e)?new Promise(function(r,n){var a=Ym(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 G({},l,u)})})).then(function(l){var u=l.reduce(function(c,h){return we({},c,h)},{});clearTimeout(s),r(u);}).catch(function(l){clearTimeout(s),n(l);});}):Promise.resolve()}function pE(e){return de(e)==="object"&&Array.isArray(e.assets)}function Xm(e){return !e||e.preload===void 0||e.preload===null?true:typeof e.preload=="boolean"?e.preload:pE(e.preload)}function Ym(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=Ya(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 Ro(e){var t=p._audit.data.checks||{},r=p._audit.data.rules||{},n=La(p._audit.rules,"id",e.id)||{};e.tags=Vr(n.tags||[]);var a=Km(t,true,n),i=Km(t,false,n);e.nodes.forEach(function(o){o.any.forEach(a),o.all.forEach(a),o.none.forEach(i);}),al(e,Vr(r[e.id]||{}));}function mE(e,t){function r(a){return a.incomplete&&a.incomplete.default?a.incomplete.default:Yl()}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 Km(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=mE(n.data,i)),o.message||(o.message=i.incomplete)):o.message=n.result===t?i.pass:i.fail,typeof o.message!="function"&&(o.message=Kl(o.message,n.data)),al(n,o);}}function hE(e,t){return Ir(e,t)}var rr=hE;function Jm(e,t){var r,n,a=p._audit&&p._audit.tagExclude?p._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 gE(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?Jm(e,n.values):Jm(e,[])}var Zm=gE;function Qm(e,t){if(!t)return e;var r=e.cloneNode(false),n=va(r);if(r.nodeType===1){var a=r.outerHTML;r=We.get(a,function(){return e1(r,n,e,t)});}else r=e1(r,n,e,t);return Array.from(e.childNodes).forEach(function(i){r.appendChild(Qm(i,t));}),r}function e1(e,t,r,n){return t&&(e=m.createElement(e.nodeName),Array.from(t).forEach(function(a){vE(r,a.name,n)||e.setAttribute(a.name,a.value);})),e}function vE(e,t,r){return typeof r[t]>"u"?false:r[t]===true?true:In(e,r[t])}function ou(e,t){var r=[],n;if(p._selectCache)for(var a=0,i=p._selectCache.length;a<i;a++){var o=p._selectCache[a];if(o.selector===e)return o.result}for(var s=bE(t.include),l=yE(t),u=0;u<s.length;u++){n=s[u];var c=Ir(n,e,l);r=wE(r,c);}return p._selectCache&&p._selectCache.push({selector:e,result:r}),r}function bE(e){return e.reduce(function(t,r){return (!t.length||!$r(t[t.length-1],r))&&t.push(r),t},[])}function yE(e){return !e.exclude||e.exclude.length===0?null:function(t){return tu(t,e)}}function wE(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 Fo(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=it(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?Fo(e.cause,t+1):"..."),r}var xE=(function(e){function t(r){var n,a,i=r.error,o=r.ruleId,s=r.method,l=r.errorNode;return nr(this,t),a=ee(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=Fo(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),Gt(t)})(H(Error)),Io=xE;function DE(e,t,r){if(e===f)return e.scroll(r,t);e.scrollTop=t,e.scrollLeft=r;}function _E(e){e.forEach(function(t){var r=t.elm,n=t.top,a=t.left;return DE(r,n,a)});}var AE=_E;function EE(e){var t=Array.isArray(e)?_e(e):[e];return t1(t,m)}function t1(e,t){var r=e.shift(),n=r?t.querySelector(r):null;return e.length===0?n:n!=null&&n.shadowRoot?t1(e,n.shadowRoot):null}function su(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:m,r=Array.isArray(e)?_e(e):[e];return e.length===0?[]:r1(r,t)}function r1(e,t){var r=P(e),n=r[0],a=mn(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(r1(a,u.shadowRoot)));}}catch(c){s.e(c);}finally{s.f();}return o}function CE(){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 Lo=CE,n1=[,[,[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,,,,,,1,1,1,1,,,1,1,1,,1,,1,,1,1],[1,1,1,,1,1,,1,1,1,,1,,,1,1,1,,,1,1,1,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,,,,1,1,1,,1,1,1,1,1,1,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1],[,1,,,,,,1,,1,,,,,1,,1,,,1,1,1,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,,1,1,1,1,,,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,,,1,,,,1,1,1,1,,1,,1,,1,,,,,,1],[1,,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,,1,,1,,,,,1,,1,1,1,1,1,,,,1,1,1,1],[,1,1,1,1,1,,1,1,1,,1,,1,1,1,,,1,1,1,1,1,1,1,1],[,,1,,,1,,1,,,,1,1,1,,,,,,,,,,,1],[1,1,1,1,1,1,,1,1,1,,1,1,,1,1,1,1,1,1,1,1,,,1,1,1],[1,1,1,1,1,,,1,,,1,,,1,1,1,,,,,1,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,,1,1,,1,1,1,1,1,1,1,,1],[,1,,1,1,1,,1,1,,1,,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,,,1,1,1,,,1,1,,,,,,1,1],[1,1,1,,,,,1,,,,1,1,,1,,,,,,1,,,,,1],[,1,,,1,,,1,,,,,,1],[,1,,1,,,,1,,,,1],[1,,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,,1,,,1,1,1,1],[,1,1,1,1,1,,,1,,,1,,1,1,,1,,1,,,,,1,,1],[,1,,,,1,,,1,1,,1,,1,1,1,1,,1,1,,,1,,,1],[,1,1,,,,,,1,,,,1,1,1,1,,1,1,1,1,1,1,,1,1,1],[,1,,1,1,1,,,1,1,1,1,1,1,,1,,,,1,1,1,,1,,1],[,1,,1,,1,,1,,1,,1,1,1,1,1,,,1,1,1],[,1,1,1,,,,1,1,1,,1,1,,,1,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1],[,1,1,1,,1,1,1,,1,,,,,1,1,1,,,1,,1,,,1,1],[,,,,1,,,,,,,,,,,,,,,,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,,1,1,,,,1,1,1,1,1,,,1,1,1,,,,1,1],[1,1,1,1,,,,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,,,,,,,1,,,,,,,1],[,1,1,,1,1,,1,,,,,,,,,,,,,1],[,,,,,,,,1],[1,1,1,,,,,,,,,,,,,1],[,,,,,,,,1,,,1,,,1,1,,,,,1]],[,[1,1,,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,,1,1,1,1,,1,1,,1,1,1,1,1,1,1,,1,1,1,1,,1],[,,,1,,,,,,,,,,,,,,,1],[,1,,,1,1,,1,,1,1,,,,1,1,,,1,1,,,,1],[1,,,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1,,,1,,,,1],,[,1,1,1,1,1,,1,1,1,,1,1,,1,1,,,1,1,1,1,,1,1,,1],[,1,,,1,,,1,,1,,,1,1,1,1,,,1,1,,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,,,1,1,1,1,1,1,1,,,1,,,1,,1],[,1,,,,,,1,,,,1,1,,,,,,1,1,,,,,1],[,,,,,,,1,,,,1,,1,1],[,1,1,1,1,1,1,1,,,,1,1,1,1,1,,,1,1,,1,1,1,1,1],[,1,,,1,1,,1,,1,1,1,,,1,1,,,1,,1,1,1,1,,1],[,1,1,1,,1,1,,1,1,,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1],[,,,,,,,,,,,,,,,,1],,[,1,1,1,1,1,,1,1,1,,,1,,1,1,,1,1,1,1,1,,1,,1],[,,1,,,1,,,1,1,,1,1,,1,1,,1,,,,,,,,,1],[,1,1,,1,,,,1,1,,1,,1,1,1,1,,1,1,1,1,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[1,1],[,1,,,,,,,,,,1,1,,,,,,1,1,,1,,1,,1,1],,[,1,1,,1,,,1,,1,,,,1,1,1,,,1,,,1,,,,1],[1,1,,,1,1,,1,,,,,1,,1]],[,[,1],[,,,1,,,,1,,,,1,,,,1,,,1,,,1],[,,,,,,,,,,,,,,,,,,1,1,,,,,,1],,[1,,,,,1],[,1,,,,1,,,,1],[,1,,,,,,,,,,,1,1,,1,,,,,,,,,1,1],[,,,,,,,,,,,,,,,,,,,1,,1],[,,,,,,,,,,,,,,,,1,,,,1,,1],[,1],[,1,,1,,1,,1,,1,,1,1,1,,1,1,,1,,,,,,,1],[1,,,,,1,,,1,1,,1,,1,,1,1,,,,,1,,,1],[,1,1,,,1,,1,,1,,1,,1,1,1,1,1,,1,,1,,1,1,1,1],[1,1,1,1,1,,1,,1,,,,1,1,1,1,,1,1,,,1,1,1,1],[1,,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,1],,[,1,,,,,,1,1,1,,1,,,,1,,,1,1,1,,,1],[1,,,,,1,,1,1,1,,1,1,1,1,1,,1,,1,,1,,,1,1],[1,,1,1,,,,,1,,,,,,1,1,,,1,1,1,1,,,1,,1],[1,,,,1,,,,,,,,,,,,,1],[,,,,,1,,,1,,,,,,1],[,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,,1],[,1,,,,,,,,,,,,,,1],[,1,,,,1]],[,[1,1,1,,1,,1,1,1,1,1,1,1,1,1,,1,,1,,1,1,,,1,1,1],[,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1],,[,,,,,,,,,,,,,,,,,,1],[1,,,,,,,,,1,,,,1],[,,,,,,,,,,,,,,,,,,1],,[1,1,,,,1,1,,,,,,1,,,,1,,1,,1,1,,1],[1],[,,,,,,,,,,,1,,,,,,,,,,,1],[,1,,,,,,,1,1,,,1,,1,,,,1,,,,,,,1],[,,,,,,,,,,,,,,,,1,,,,,1],[,,1,,,,,1,,1],[1,,,,1,,,,,1,,,,1,1,,,,1,1,,,,,1],[,,,,,1],[,,,,,,,,,,,,,,,,,,,1],[1,,,1,1,,,,,,,1,,1,,1,1,1,1,1,1],[,,,,,1,,,,,,,1,,,,,,,1],,[,,1,1,1,1,1,,1,1,1,,,1,1,,,1,1,,1,1,1,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,,,,1],,[1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[,,,1,1,1,1,,,,,,1,,1,,,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,,,,1,,1,,,1,1,1,1,1],[,,,,,,,,,,,1,,,,,,,,,1,,,,1],[,1,1,,1,1,,1,,,,1,1,,1,1,,,1,,1,1,,1],[,1,,1,,1,,,1,,,1,1,,1,1,,,1,1,1],[,1,1,1,1,1,,1,1,1,,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,,,,,,,,,1,,1,,1,1,,,,1,,,1],[,1,,,1,1,,,,,,,,,1,1,1,,,,,1],[1,,1,1,1,,,,1,1,1,1,1,,,1,,,1,,,1,,1,,1],[,1,1,,1,1,,1,1,,,,1,1,1,,,1,1,,,1,1,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,,1,1,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,,1],[,1,,,,,,,,1,,,,,1,,,,1,,,1],[,1,1,1,1,,,1,1,1,1,1,,1,,1,,1,1,1,1,1,1,1,1,1,1],[,,,,,1,,1,,,,,1,1,1,1,1,,,1,,,,1],[,1,,,,,,,,1,,,,,,,,,,,,1],[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,,1,,1,1,,,,1,,1,1,1,1,1,,1,1,,,,,,1],[,1,1,1,1,1,1,1,,1,1,,,1,1,,,,1,,1,1,,1,1],[,,,,,,,,,,,,,,,,,,,,,,,,1],[,1,1,,1,1,1,1,,1,,,1,1,1,1,,,1,,,,,,,1,1],[,1,,,,,,,,1,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1],[,1,1,,,,,,,,,,,,1,1,,,,,,1],[,1,,,,,,,1],[,,,,,,,,,,,,,,1,,,,,1,,,,,,1],[1,1,,,1,,,1,1,1,,,,1],,[,,,,,,,,,,,,,1,,,,,,,,,,1],[,,,,,,,,,1,,,,,,,,,1,,,,,,,1],[1,1,1,,1,,1,1,1,1,1,1,1,1,,1,,,1,,1,,,1,1],[,,,,,,,,,1],[,1,,,,1,,,1,,,1,,,1,,,,,1],[,1,1,,1,1,,,,,,,,,,,,,,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,,,1,1,,1,1,1,1,,,1,1,1,,,,1,,1],[1,1,1,1,1,1,,,1,1,1,1,1,1,,1,1,,1,1,1,,1,1,,1,1],[,,,,,,,,,,,,,,,1,,,,1],,[1,1,,1,,1,,,,,,1,,1,,1,1,,1,,1,1,,1,1,,1],[,,1,,,,,,1,,,,1,,1,,,,,1],[1,,,,,,,,,1,,,,,,1,,,,1,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,,,1,,1,,,,,,1,,,1,,,,,,,,1],[,1,,1,,,,,,,,,,,,1],,[1,1,,,,,,,,,,,,,,,,,,,,,,1,1],[1]],[,[1,,,,,,,,,1,,,,,1,,1,,1],[,1,1,,1,1,,1,1,1,,,1,1,1,,,,1,,,1,,,,1],[,1,,,,,,,1,,,,1,,,,,,1],[1,1,1,1,1,1,,,,1,,,,,,,,,1,1,1,1],[1],[,1,1,,,1,1,,,,,1,,1,,,,,,,,1,,,,1],[1,,1,,,1,,1,,,,,1,1,1,1,,,,1,,,,1],[,,1,,,,,,,1,,,,,,,1,,,,,,,1],[1,,,,,,,,,,,,,,1,,,,1],[,,,1,,1,,,,,1,,,,1,1,,,,1],[1,,,,,1,,,1,1,,1,1,,,1,1,,1,1,1,,1,1,1,,1],[,1,1,,,,,1,,1,,1,1,1,,1,1,,,1,,1,1,1],[,1,,,,1,,,,1,,,1,,1,1,,,1,1,1,,,,,1],[1,,1,1,,1,,1,1,,1,,1,1,1,1,1,,,1,1,,,,,,1],[1,,,,,,,,,,,,,,,,,,1,,,1,,1],[,,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,,,,1,,1],[,1,,,,1,,,1,1,,1,,,1,1,,,1,,,1,,,1,1],[1,1,,1,1,1,,1,1,1,,1,,1,1,1,,,1,,1,1,1],[1,,1,1,1,1,,,,1,,1,1,1,,1,,,1,1,1,,1,1,1,1,1],[1,,,,,,,,,,,,,1],[,,1,,,,,,,,,,,,,,,,,,,,1],[1,,,,,,,,,,,1,,1,,1,,,,1],[,,,1,,,,,,,,,1],[,1,,,,,,,,,,,,,,1,,,,,,,,,1],[,,,,,,,,1,1,,,,1,,,,,1,,,,,,,,1]],[,[1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,,1,1,1,1,1,,,1,1,1],[,,,,,1,,,,1,1,1,,1,1,1,,,1,,1,1,,1],[,,,,,,,,,,,,,,,,,,,1,1],[,1,,,,,,1,,,,,,,,,,,,,1],[,,1,,,1,,1,1,1,,1,1,,1,,,,1,,1,1],,[,,1,,,1,,,,,,1,,,,1],[,,,,,,,,,1,,,,,,,,,,1],[1,1,1,1,1,1,,1,1,1,,,1,1,,1,,1,,,1,1,1,,,1],[,,,,,1,,,,,,,,,,,,,1],[,1,,,,,,,,,,,,1,,1,1,,1,1,,1],[,,,,,1,,,,,,,,,,,,,,1],[,1,1,1,1,,,,,1,,,1,,1,,,,1,1,,,,1,1],[,1,,,1,,,1,,1,1,,1,,,,,,,1],[,,1,,1,,,1,,,,,,,,,,,1,1,,,,1],[,1,,,,,,,,,,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,1,,,,,,,,,,,,,,,,1,,1,1],[,,,,,,,,,,,,1],,[,1,1,1,1,,,,1,1,,1,1,1,1,1,1,,1,1,1,1,,1,,1],[1,,,,1,,,,,,,,,,1],[1,,,,,,,,,1],,[,1,,,,1,,,,,,,,,,,,,,,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,,,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,,1,1,1,,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,,,1,1,1,,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1,,1,1,1,1],[1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,,,1,1,1,1,,1,,,,1,1,,,1,1,,1],[,1,1,,1,,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,,,,,,,,,,1],[1,1,1,,,,,1,1,1,,1,1,1,1,1,,1,1,1,1,1,,,,,1],[,1,,,,,,,1,1,,,1,1,1,,1,,,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,1],[,1,,,,1,,,,1,,,1,,,,1,,,,,,,1,1],[,1,1,1,1,1,,,1,1,1,,1,1,1,1,,,1,1,1,1,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1],[1,1,1,,1,,,1,1,1,1,,1,1,1,1,,,,1,,1,,1,,,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,,1,1,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,,1,,1,,1,,1,,1,1,1,1,1,,,1,,1,,1,,,,1],[,1,1,1,1,1,,1,1,1,,,1,1,1,1,1,,1,1,1,,1,1,,1],[1,,,1,,,,1,1,1,,,,,1,1,,,,1,,1],[1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,,,,,,,,1,,1,1,,,,,,,1,,1],[,1,,,,1,,1,1,,,,1,1,,1,,,,1,1,1,,1],[,,,,,,,,,,,,,1],[,1,,,,,,1,,,,,,,1],[,,,,,,,,1,,,,1,,1,,,,,,,,,,,,1]],[,[,1,1,,1,1,1,1,,1,1,1,,1,1,,1,1,,1,1,1,1,1,1,,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,1,,,1,,,,,,,,1,,,,,,1,,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,,1,1,1,,1,1,1,1,,,1,1,1,1,,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,,1,,1,,1,,1,1,1,1,1,1,1,,1,1,,,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1],[,1,1,,,,,1,1,1,,,1,,1,1,,,,1,,1,,,1,1],[,,,,,,,1,,,,1,1,1,1,1,,1,,,1,,,,,1],[1,1,1,1,,1,1,1,,1,,1,1,1,1,,1,,1,,1,1,,,1,,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,1,1,,1,,1,1,1,,1,,1,1,,1,1,,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,,,,,,,1,,,,,1,,1],[,1,1,1,,1,,1,,1,,,,1,,1,,,1,,,,,1,1,1],[,1,,,1,1,,1,,1,,1,1,1,1,1,,1,1,,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,,,1,,1,,1,,,,,1,1,,1,,,,1,1]],[,[,1,,1,,,,,,,,1,,,,,,,1,,,,1],[,,,,,,,,,1,,1,1,1,,1,,,1,,1,1],[1,1,,,,,,,1,,,,,1,,1,,,,,,1],[,1,,,,,,,,,,1,,,,,,,,,1,1],,[,,,,,,,,,,,,,,,1,,,,1,,1],[,,1,1,,1,,1,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,,,1,1],[,1,,,,1,,,,,,,,,1],[1,,1,1,,,,1,,,,,,,,,1,,,1,,,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,,1,1,,1,1,,1,,1],[,1,,,1,1,,,,,,1,,1,,1,,,1,,1,1],[1,1,1,1,,1,,1,,1,,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,,,1,,1,,1,1,1,,,1,1,1,,1,1,1,1,,1,1],[,,,,1,,,1,,,,,,,1,,,,1,1],[,1,,,,,,,,,,1,,1,,1,,,,,1,,,,,1],,[1,1,,1,,1,,1,1,,,,,,1,1,,,1,1,1,1,1,1,1,1,1],[1,1,,1,,,,,,1,,,,,1,1,1,,,,1,1,,,1],[,1,1,,1,1,,,,1,,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1],[,1,1,,,1,,,,1,,,,1,1],[,,,,1],[,,,,,,,,,1,,,1],,[,,1,,1,,,,,,,,,1,,,,,,,,,,,,1],[,,,,,,,,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,1,,1,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,,,,,1],[,1,,1,,,,,,1,,,,,1,1,,,,,1,1],[,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,,,1,,1,1,1],[,1,,,,1,,,,,,,1],[,1,,,1,,,1,,1,,1,1,,1,,,,,1,,1,,,,1,1],[,1,,,1,,,1,1,1,1,1,1,1,1,1,,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1],[,,,,,,,,,,,,,,,,,,,,1],[,1,1,1,,,,1,1,,,,,,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,1,1,1,1,1,1,1,,1,,1,1,1,1,1,,1,1,,1,1,1,1,1],[,1,,,,1,,,,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,1,,,,,,,,,,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,,1,1,1,,1,1,1,,,1,1,1,1,1,1,1,1,1,1,,1,,1],[1,1,,,,,,,1,1,,,,,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,,1,1,1,,1,,1,1,1,1,,1,1,,1,1,1,1],,[,1,1,,,,,1,,1,,,,1,1,1,,,1,,,,,1],[,,,,,,,,,,,,,1],[,,,,,1,,,,,,,,1,1,,,,,1,,1,,,1,1],[,,,,,1,,,1,,,,,,1]],[,[,1],,,,,,,,,,,,,,,,,,,,[1,1,1,1,1,,1,1,1,1,,1,1,1,1,,1,1,1,1,,,1,1,1,1,1],[,1,,1,,1,,,1,1,1,,1,1,1,1,1,,,1,,,,1,,1,1],[,1,,1,,1,,,1,,,,,1,,,,,,1,1],[,1,,1,,,,,1,,,,1,,1,1,1,1,1,1,1,1,,1],[,1,,,,,,,,,,,,,,,1]],[,[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,,,,,,,,,1,1,,,,1],[,,,,,,1],[,,1],[,1,1,,,1,,1,,1,1,,1,1,1,,,,1,1,1,,,,,1],,[,1,,,,1,,,,,,1,,,1,,,,1,1,,1],[,,,,,,,1,,,,,,,,,1],[,1,1,,,1,1,,,,,,1,1,1,,,,1,,1,1],[,,,,,,,1,,1,,,,,,,,,,1],[,1,1,,,,,,1,1,,,,1,,,,,,,1,,,1],,[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,1,,,1,,,,,1,,1,,1,,1,,,,,1],[1,1,1,1,1,1,1,1,,,,,1,1,,1,1,,1,,,1,,1],[,,,,,,,,,,,,,,1,,,,,,1],,[,,,,,,,,,1,,,,1,,1,,,,,1],[,,1,,,,,,,1,,1,1,1,1,,,,,,,,,1],[,,,1,,,,,1,,,,,1,,,,,,1,,,,1],[1,,1,1,,1,1,1,1,1,,1,,,,1,1,1,,,1,1,,,,1,1],,[1,1,,,,,,,,,,1,1,1,,1,,,1],[,,,,1,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,1,,,,,1,,1],[,,,,,,,,1]],[,[1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,,1,1,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,,1,,,1,,,,,,,,1,,,,,,1,,,,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,,,,1,1,1,1,1,1,,1,1,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1],[,,1,1,1,1,,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,,,,,,,1,,1,1,,1,1,1,,1,1,1,1,1,,,1],[1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,1,1,,1,,1,,1,1,1,1,1,,1,,1,1,1,1,,1,1,1,1,1],[1,1,1,1,,1,,,,,,1,,1,,,,,1,1,,,,,1],[1,,1,1,,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,1,,1,,1,,,,1,1,1,1,1,,,1,1,,1,,1],[,1,1,1,1,,,,,1,,1,1,1,1,1,,,1,1,,,,1,1,1],[,1,1,1,1,1,,1,,,,,1,,1,,1,,,1,,,1,1,,1]],[,[1,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,,,,,,1,,,,,1,1,,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,,,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,,1,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,,,,,,1,,1,1,,1,1,1,1,1,,,1,,1,,1],[1,1,1,,1,1,1,1,,,,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,,1,,,,,,,,,,1,1,1,1,1,1,1,,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,,,1,1,,,,1,,1,1,1,1,1,,,,1,1,1,,1,1,1],[1,1,1,1,1,1,1,1,1,,,,1,1,1,1,1,1,1,,1,1,,1,1,1],[,1,1,1,,1,,1,1,1,1,,,1,1,1,,1,1,1,1,1,,,1,1],[1,1,,,,1,,,1,1,1,,1,,1,,1,,1,1,1,1,1,,1,1,1],[,1,,,,,,,1,,1,,1,1,1,1,,,,,,,,,1]],[,[,,,,,,,,,,,,,1,1,,,,1],[,1,,,,,,,,1,,,1,,,,,,1,,,1,,,,1],,[,1,,,,1,,1,,1,1,,1,1,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,1],[1,1,1,,,1,,,1,,,,,,1,1,,,,,,,,,,1],[,1,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1,,,1],[,,,,,,,,,1],[1,1,,,,,,1,1,1,,1,1,,,,1,1,,1,,1,1,1,,1],[,1,1,1,,1,1,,,1,,1,1,1,1,,,,,,,1,,1,,1],[,1,1,1,1,,,1,,1,,,,1,1,1,1,,1,1,,1],[,1,,,1,1,,1,,1,,1,,1,1,,1,,1,,,1,,,1,,1],[,,,,,,,,,,,1,,,1],[,,,,,,,,,1,,,,,,,,,,,,,1],,[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1],[,1,,,,,,,1,1,,1,,,,,1,,,1,,1],[,1,,,,1,,,1,,,,,,,,1,,1,,,1],[,,,,,,,,,,,,,1,1,,,,1,,,1],[,,,,,1,,,1,,,,1],[,1],,[,1],[1,,,,,,,,,,,,,,1,,,,,1]],[,[,1,,,,1,1,1,1,1,1,,1,1,1,1,1,,1,1,,1,1,,,1],[,,1,,,,,,,,,1],,,[1,,,1,1,,,,,,,,1,1,,1,1,,1],,[,,,,,,,,,,,,,,,,,,1,,1],,[1,,,1,1,,1,1,,,,,1,,1,,,,,1,1,,1],[,,,,,,,,,,,1],[,1,,,,,,,,1,1,1,1,1,1,1,1,,,,1,1,,,,,1],[,,,,,,,,,,,,,,,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,,1,1,1,1,1,1],[,,,,,,,,,,,1,,1,,,1],[1,,,,,,,,,,,,,,,,,,1,,1],,,[,1,,,,,,,,,,,,,,1,,,,1,1],[,,,,,,,,,1,,,1,,1,,,,,,,,1],[,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,1,1,,,,,,1],,[,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,,1,1,,1,1,1,1,1,1,,,1,1,1,1,1,,1,1],[,1,,,,,,,,1],[,,,,1,,,1,,,1,1,,,,,,,,,1,1,,,,1],[,1,,1,1,,,1,1,1,,,,1,1,1,1,,1,1,1,1,,1],[,,,,,,,1],[,1,1,,,,,1,,1,,,,,,1,,,,,,1,,1,,1],[,1,,,,,,1,,,,1,,,,,,,,,,1],[,,1,1,,1,1,1,1,1,1,1,1,1,1,,,,1,,1,1,1,1,,1],[,1,,,,,,,,1],[,1,1,,1,,,,,,,,1,,,,,,1,,,1,,1,,1],[,1,,1,,1,,1,1,1,,1,1,1,,1,,,1,1,,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,,,,1,1,1,,,,1,1,,,1,1],[,,1,1,1,1,,1,,1,,1,,1,1,1,1,,,,,1,,1,,1],[1,1,1,1,1,1,1,1,,1,,1,,1,1,1,,,1,1,,,,1,,1],[,,,1],,[,1,1,,1,,,1,1,1,,1,1,1,1,1,1,,1,1,,1,1,1,1,1,1],[,1,,,,,,1,,1,,1,,,,,,,1,1,,1,1],[,,1,,,,1,,1,1,,1,,1,,,,,,,,,,1],[,1,1,,1,,,,1,,,,1,1,1,,,,1,,1,1,1,,1,1],,[,1,1,,,,,,,,,,,,,1,,,1,,,,,1],[,1,,,,,,,,,,,,,,,,,,,,,,1],[,1,1,,,,,,,1,,,,1,1,,,,1,,,,,,,1]],[,[,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[,1,1,1,1,1,,1,,1,1,,,1,1,1,1,,1,,,,,1,1,1],[,,1,1,,1,,1,1,,,,1,1,1,1,,,1,,1,1,1,1,,1],[,1,,1,,,,,,,,1,,1,,1,,1,,,,,,,,1],[,,1,,1,,,1,,,,,1,1,,,1,,1,1,1,1],[,1],[,1,1,,1,,1,1,,1,,,1,1,1,,,,1,,,1,,1],[1,1,,1,1,1,,,,,,,,1,,,,,1,,1,1,1],[,1,1,,,,,,,1,,,1,,1,,1,,1,1,,,1,,,1],[,,1,,,,,,,,,,,,,,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,,1,,,,,1,1,1,,,1,,1,,,,1],[,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,1,1,1,1,1,,1,1,1,,1,1,1,1,1,,,,1,1],[,,,1,1,,,1,,1,,1,,1,1,1,1,,1,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,,,,,,,,,,,,,,,,1],[,1,1,,1,1,,1,,1,,,,1,1,,,1,1,,1,1,,1],[,1,1,1,1,1,,,1,1,1,,1,1,1,1,1,1,1,1,,1,1,,,1],[,1,1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,,1,,,1,,,1,,1,1,1,1,1,,1,,1,1],[,,,,,1,,,,1,,,,,1,1,,,,1],[,1,,1,1,1,,1,,,1,1,1,,,1,,,1,,1,,,1],[,,1,,,,,,,,,1,,1,,,,,1,,1],[,1,1,,,,,,,,1,1,1,,,,,,,,1,,,,,1],[,,,,,,,,1,,,,,1,,,1]],[,[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,,,1,1,1,1,1,1,1,1,,,,,,,,,1,1],[,,,,,,,,1,,,,1,,1,,1,,1],[,1,,,1,1,,1,,,,1,,,,,,,,1],[,1,,1,,1,,,,1,1,,1,,1,,,,1,1,1,1,1,,,1],,[,1,,,,,,,,1,,,1,1,,,1,,1,1,,1,,1],[,1,,,1,,,,,,,,1,,,,,,,1],[1,1,,,,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1],,[,1,,,,,,1,1,1,,1,1,1,1,1,,,1,,1,1,,,,1],[,1,1,,,1,,1,,1,,,1,1,1,1,,,1,,,1,,,,1],[,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,,,1,,1],[,1,1,,1,1,,1,1,,,1,1,,1,1,,1,,1,,1],[1,,1,,,,,1,,1,,1,1,1,1,,,,,1,1,,,,1,1],[,1,1,,,,,1,1,,,1,,1,1,1,1,,,,,,,,,,1],,[,1,1,,,1,,,,1,,1,1,1,1,1,,,,1,,,,1,,1],[,,,1,1,,,1,,,,,1,1,1,1,1,,1,1,,,,,,1],[,1,,,,,,,,,,,1,,,,1,,,,,,,1,,1],[,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,,1,1,,1,1,1,1],[,1,,,,,,,,,,,,,,,,,,,1],[,1,,,,,,1,,,,,1,,1,,,1,1,,1,1,,1],[,1,,,,,,1,,,,,1,1,,,,,,,,1,,,,1],[,,,,,,,,,,,,,,,,,,1,,,1,,,,,1],[,,,,,,,1,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,,1,,,,,,,1,,,,,,,,1,1,,1],[,1,,,1,,,,1],[,,,,,,,,,,1],[,1,,,,,,1,1,,,,,1,1],,[,1,1,,,,,,1,,,,,1,1,,,,1],[1,,1,,1,,,,,1,,,,,1,,,,,,,,,1,1],[,1,1,,,,,,,,,1,1,1,1,,,,1,,,,,1,,,1],,[,1,1,,1,,,1,1,,,1,,,1,1,1,,1,,1,1,1,,,,1],[,1,,,,1,,,,,1,,,1,1,,,1,,1,,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,1,1,,1,,,,1,,,,,,,,1],[,,,1,,,,,1,,,,,1,,1,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,,1],[,1,,,,,,1,,,,,,,1,1,1,,,1],[,1,,,,,,,,,,1,1,1,,,,,1,,,1],[,,,,,1,,1,,,,,1,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 SE(e){for(var t=n1;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 a1(e){e=Array.isArray(e)?e:n1;var t=[];return e.forEach(function(r,n){var a=String.fromCharCode(n+96).replace("`","");Array.isArray(r)?t=t.concat(a1(r).map(function(i){return a+i})):t.push(a);}),t}var Po=SE,kE=(function(e){function t(r){var n;return nr(this,t),n=ee(this,t),n._props=RE(r),n._attrs=FE(r),n}return Ge(t,e),Gt(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)}}])})(Lt),lu={"#cdata-section":2,"#text":3,"#comment":8,"#document":9,"#document-fragment":11},i1={},TE=Object.keys(lu);TE.forEach(function(e){i1[lu[e]]=e;});function RE(e){var t,r,n,a=(t=e.nodeName)!==null&&t!==void 0?t:i1[e.nodeType],i=(r=(n=e.nodeType)!==null&&n!==void 0?n:lu[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(),Lo().includes(o)||(o="text"));var s=we({},e,{nodeType:i,nodeName:a});return o&&(s.type=o),delete s.attributes,Object.freeze(s)}function FE(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(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 o1=kE;function IE(e,t){if(e=e||function(){},t=t||p.log,!p._audit)throw new Error("No audit configured");var r=p.utils.queue(),n=[];Object.keys(p.plugins).forEach(function(i){r.defer(function(o){var s=function(u){n.push(u),o();};try{p.plugins[i].cleanup(o,s);}catch(l){s(l);}});});var a=p.utils.getFlattenedTree(m.body);p.utils.querySelectorAll(a,"iframe, frame").forEach(function(i){r.defer(function(o,s){return p.utils.sendCommandToFrame(i.actualNode,{command:"cleanup-plugin"},o,s)});}),r.then(function(i){n.length===0?e(i):t(n);}).catch(t);}var s1=IE,Ka={},l1;function u1(e){return Ka.hasOwnProperty(e)}function uu(e){return typeof e=="string"&&Ka[e]?Ka[e]:typeof e=="function"?e:l1}function LE(e,t,r){Ka[e]=t,r&&(l1=t);}function PE(e){var t=p._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=De(n,2),i=a[0],o=a[1],s=i.split(".").map(Number),l=De(s,3),u=l[0],c=l[1],h=l[2],b=p.version.split("-"),E=De(b,2),R=E[0],O=E[1],B=R.split(".").map(Number),$=De(B,3),z=$[0],X=$[1],Y=$[2];if(u!==z||X<c||X===c&&Y<h||u===z&&c===X&&h===Y&&o&&o!==O)throw new Error("Configured version ".concat(r," is not compatible with current axe version ").concat(p.version))}if(e.reporter&&(typeof e.reporter=="function"||u1(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 J=[];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"));J.push(ne.id),t.addRule(ne);});}if(e.disableOtherRules&&t.rules.forEach(function(ne){J.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&&QD(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 ME=PE;function OE(e){yr.updateMessenger(e);}function NE(e){e=e||[];var t=e.length?p._audit.rules.filter(function(n){return !!e.filter(function(a){return n.tags.indexOf(a)!==-1}).length}):p._audit.rules,r=p._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 qE=NE;function BE(e,t,r){var n=["SCRIPT","HEAD","TITLE","NOSCRIPT","STYLE","TEMPLATE"];if(!n.includes(e.nodeName.toUpperCase())&&Ga(r)){var a=f.getComputedStyle(e);if(a.getPropertyValue("display")==="none")return;if(a.getPropertyValue("visibility")==="hidden"){var i=Pt(e),o=i&&f.getComputedStyle(i);if(!o||o.getPropertyValue("visibility")!=="hidden")return}}return true}var HE=BE,c1={};pr(c1,{getAllCells:function(){return cu},getCellPosition:function(){return mo},getHeaders:function(){return Mo},getScope:function(){return _l},isColumnHeader:function(){return $n},isDataCell:function(){return f1},isDataTable:function(){return Oo},isHeader:function(){return UE},isRowHeader:function(){return jn},toArray:function(){return zr},toGrid:function(){return zr},traverse:function(){return du}});function VE(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 cu=VE;function d1(e,t,r){for(var n=e==="row"?"_rowHeaders":"_colHeaders",a=e==="row"?jn:$n,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,h=t.x+o,b=e==="row"?t.y:0,E=e==="row"?0:t.x,R,O=[],B=c;B>=b&&!R;B--)for(var $=h;$>=E;$--){var z=r[B]?r[B][$]:void 0;if(z){var X=p.utils.getNodeFromTree(z);if(X[n]){R=X[n];break}O.push(z);}}return R=(R||[]).concat(O.filter(a)),O.forEach(function(Y){var J=p.utils.getNodeFromTree(Y);J[n]=R;}),R}function $E(e,t){if(e.getAttribute("headers")){var r=Sr(e,"headers");if(r.filter(function(o){return o}).length)return r}t||(t=zr(Hn(e,"table")));var n=mo(e,t),a=d1("row",n,t),i=d1("col",n,t);return [].concat(a,i).reverse()}var Mo=$E;function jE(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 f1=jE;function zE(e){var t=Qe(e);if((t==="presentation"||t==="none")&&!Ct(e))return false;if(e.getAttribute("contenteditable")==="true"||Hn(e,'[contenteditable="true"]')||t==="grid"||t==="treegrid"||t==="table"||wr(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,h=o.cells.length;c<h;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 b=e.rows[Math.ceil(i/2)];if(b.cells.length===1&&b.cells[0].colSpan===1)return false;if(b.cells.length>=5||l)return true;for(var E,R,O=0;O<i;O++){if(o=e.rows[O],E&&E!==f.getComputedStyle(o).getPropertyValue("background-color")||(E=f.getComputedStyle(o).getPropertyValue("background-color"),R&&R!==f.getComputedStyle(o).getPropertyValue("background-image")))return true;R=f.getComputedStyle(o).getPropertyValue("background-image");}return i>=20?true:!(ll(e).width>no(f).width*.95||a<10||e.querySelector("object, embed, iframe, applet"))}var Oo=zE;function GE(e){if($n(e)||jn(e))return true;if(e.getAttribute("id")){var t=Dt(e.getAttribute("id"));return !!m.querySelector('[headers~="'.concat(t,'"]'))}return false}var UE=GE;function p1(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=p1(e,{x:t.x+e.x,y:t.y+e.y},r,n),a.unshift(i),a):[]}function WE(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 p1(e,{x:t.x+e.x,y:t.y+e.y},r,n)}var du=WE,m1={};pr(m1,{allowedAttr:function(){return h1},arialabelText:function(){return Ha},arialabelledbyText:function(){return Ba},getAccessibleRefs:function(){return fu},getElementUnallowedRoles:function(){return b1},getExplicitRole:function(){return Qe},getImplicitRole:function(){return kr},getOwnedVirtual:function(){return ja},getRole:function(){return Ye},getRoleType:function(){return wr},getRolesByType:function(){return iC},getRolesWithNameFromContents:function(){return lC},implicitNodes:function(){return cC},implicitRole:function(){return kr},isAccessibleRef:function(){return No},isAriaRoleAllowedOnElement:function(){return v1},isComboboxPopup:function(){return mu},isUnsupportedRole:function(){return xl},isValidRole:function(){return Va},label:function(){return D1},labelVirtual:function(){return vo},lookupTable:function(){return w1},namedFromContents:function(){return jp},requiredAttr:function(){return _1},requiredContext:function(){return hu},requiredOwned:function(){return gu},validateAttr:function(){return qo},validateAttrValue:function(){return A1}});function XE(e){var t=at.ariaRoles[e],r=_e(sn());return t&&(t.allowedAttrs&&r.push.apply(r,_e(t.allowedAttrs)),t.requiredAttrs&&r.push.apply(r,_e(t.requiredAttrs))),r}var h1=XE,YE=/^idrefs?$/;function g1(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=He(e.getAttribute(i)||"");if(o){var s=it($t(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(h){s.e(h);}finally{s.f();}}}}for(var c=0;c<e.childNodes.length;c++)e.childNodes[c].nodeType===1&&g1(e.childNodes[c],t,r);}function KE(e){var t;e=e.actualNode||e;var r=qt(e);r=r.documentElement||r;var n=We.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 YE.test(s)});g1(r,a,i);}return (t=a.get(e.id))!==null&&t!==void 0?t:[]}var fu=KE;function JE(e,t){var r=e instanceof Lt?e:Ke(e),n=kr(r),a=ln(r);return Array.isArray(a.allowedRoles)?a.allowedRoles.includes(t):t===n?false:!!a.allowedRoles}var v1=JE,ZE=["doc-backlink","doc-biblioentry","doc-biblioref","doc-cover","doc-endnote","doc-glossref","doc-noteref"],QE={header:"banner",footer:"contentinfo"};function eC(e){var t=[];if(!e)return t;if(e.hasAttr("role")){var r=$t(e.attr("role").toLowerCase());t=t.concat(r);}return t.filter(function(n){return Va(n)})}function tC(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:true,r=rt(e),n=r.vNode;if(!eu(n))return [];var a=n.props.nodeName,i=kr(n)||QE[a],o=eC(n);return o.filter(function(s){return !rC(s,n,t,i)})}function rC(e,t,r,n){return r&&e===n?true:ZE.includes(e)&&wr(e)!==n?false:v1(t,e)}var b1=tC;function nC(e){return Object.keys(at.ariaRoles).filter(function(t){return at.ariaRoles[t].type===e})}var Gn=nC;function aC(e){return Gn(e)}var iC=aC;function oC(){return We.get("ariaRolesNameFromContent",function(){return Object.keys(at.ariaRoles).filter(function(e){return at.ariaRoles[e].nameFromContent})})}var pu=oC;function sC(){return pu()}var lC=sC,y1=function(t){return t===null},Bt=function(t){return t!==null},Ur={};Ur.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}},Ur.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"],Ur.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}},Ur.implicitHtmlRole=El,Ur.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 p.AbstractVirtualNode||(t=p.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"]}],Ur.elementsAllowedAnyRole=[{nodeName:"a",attributes:{href:y1}},{nodeName:"img",attributes:{alt:y1}},{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"]}],Ur.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=p.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=p.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}},Ur.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 w1=Ur;function uC(e){var t=null,r=w1.role[e];return r&&r.implicit&&(t=Vr(r.implicit)),t}var cC=uC;function dC(e){return !!fu(e).length}var No=dC;function mu(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.popupRoles,n=Ye(e);if(r??(r=Ap["aria-haspopup"].values),!r.includes(n))return false;var a=fC(e);if(x1(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=Pa(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(x1)}var x1=function(t){return t&&Ye(t)==="combobox"};function fC(e){for(;e=e.parent;)if(Ye(e,{noPresentational:true})!==null)return e;return null}function pC(e){return e=Ke(e),vo(e)}var D1=pC;function mC(e){var t=at.ariaRoles[e];return !t||!Array.isArray(t.requiredAttrs)?[]:_e(t.requiredAttrs)}var _1=mC;function hC(e){var t=at.ariaRoles[e];return !t||!Array.isArray(t.requiredContext)?null:_e(t.requiredContext)}var hu=hC;function gC(e){var t=at.ariaRoles[e];return !t||!Array.isArray(t.requiredOwned)?null:_e(t.requiredOwned)}var gu=gC;function vC(e,t){e=e instanceof Lt?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=$t(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 Sr(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 A1=vC;function bC(e){var t=at.ariaAttrs[e];return !!t}var qo=bC;function yC(e){var t=cu(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 He(s.textContent)===""?false:s.nodeName.toUpperCase()==="TH"||["rowheader","columnheader"].indexOf(Qe(s))!==-1}),i=zr(e),o=true;return a.forEach(function(s){if(!(s.getAttribute("id")&&n.includes(s.getAttribute("id")))){var l=mo(s,i),u=false;$n(s)&&(u=du("down",l,i).find(function(c){return !$n(c)&&Mo(c,i).includes(s)})),!u&&jn(s)&&(u=du("right",l,i).find(function(c){return !jn(c)&&Mo(c,i).includes(s)})),u||r.relatedNodes(s),o=o&&u;}}),o?true:void 0}var wC=yC,Ja=["cell-header-not-in-table","cell-header-not-th","header-refs-self","empty-hdrs"],E1=Ja[0],C1=Ja[1],S1=Ja[2],vu=Ja[3];function xC(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=G(G(G(G({},S1,new Set),E1,new Set),C1,new Set),vu,new Set);t.forEach(function(b){if(!(!b.hasAttribute("headers")||!yt(b))){var E=b.getAttribute("headers").trim();if(!E){l[vu].add(b);return}var R=b.getAttribute("id"),O=$t(E);O.forEach(function(B){R&&B===R?l[S1].add(b):r[B]?["columnheader","rowheader"].includes(r[B])||l[C1].add(b):l[E1].add(b);});}});var u=it(Ja),c;try{for(u.s();!(c=u.n()).done;){var h=c.value;if(l[h].size>0)return this.relatedNodes(_e(l[h])),h===vu?void 0:(this.data({messageKey:h}),!1)}}catch(b){u.e(b);}finally{u.f();}return true}function DC(e){var t=[],r=cu(e),n=zr(e);return r.forEach(function(a){if(wo(a)&&f1(a)&&!D1(a)){var i=Mo(a,n).some(function(o){return o!==null&&!!wo(o)});i||t.push(a);}}),t.length?(this.relatedNodes(t),false):true}var _C=DC;function AC(e,t){var r=e.getAttribute("scope").toLowerCase();return t.values.indexOf(r)!==-1}var EC=AC,CC=SC;function SC(e,t,r){if(r.children!==void 0){var n=r.attr("summary"),a=r.children.find(kC),i=a?He(un(a)):false;return !i||!n?false:He(n).toLowerCase()===He(i).toLowerCase()}}function kC(e){return e.props.nodeName==="caption"}function TC(e){return hm(m)?e.nodeName.toUpperCase()==="TH":true}var RC=TC;function FC(e){var t=zr(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 IC=FC;function LC(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=un(n,{includeHidden:!0}).trim();if(a==="")return this.data({messageKey:"emptyTitle"}),!1}catch{return}return true}}var PC=LC,k1={};pr(k1,{getAriaRolesByType:function(){return Gn},getAriaRolesSupportingNameFromContent:function(){return pu},getElementSpec:function(){return ln},getElementsByContentType:function(){return Dl},getGlobalAriaAttrs:function(){return sn},implicitHtmlRoles:function(){return El}});function MC(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=sn().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 OC(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 NC=OC;function qC(e){return Qt(e)}var BC=qC;function HC(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&&!vm(e))return true;var c={};typeof a=="number"&&(c.minValue=a),typeof i=="number"&&(c.maxValue=i);var h=e.style.getPropertyValue(r);if(["inherit","unset","revert","revert-layer"].includes(h))return this.data(we({value:h},c)),true;var b=VC(e,{absoluteValues:n,cssProperty:r,normalValue:s});if(this.data(we({value:b},c)),typeof b=="number")return (typeof a!="number"||b>=a)&&(typeof i!="number"||b<=i)}function VC(e,t){var r=t.cssProperty,n=t.absoluteValues,a=t.normalValue,i=f.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 $C(e,t,r){var n=r.props.nodeName;return ["img","input","area"].includes(n)?r.hasAttr("alt"):false}var jC=$C;function zC(){}var GC=zC;function UC(){var e=m.title;return !!He(e)}var WC=UC;function XC(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 YC=XC;function KC(e,t,r){try{return !!He(Ba(r))}catch{return}}var JC=KC;function ZC(e,t,r){return !!He(Ha(r))}var QC=ZC;function eS(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 tS=eS;function rS(e){var t=[];return e.filter(function(r){return t.indexOf(r.data)===-1?(t.push(r.data),true):false})}var nS=rS;function aS(e,t,r){var n=He(r.attr("title")).toLowerCase();return this.data(n),true}var iS=aS;function oS(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 sS=oS;function lS(e){var t=vl(e,"href");return t?yt(t)||void 0:false}var uS=lS,cS=["alert","log","status"];function dS(e,t,r){this.data({isIframe:["iframe","frame"].includes(r.props.nodeName)});var n=We.get("regionlessNodes",function(){return fS(t)});return !n.includes(r)}function fS(e){var t=T1(p._tree[0],e).map(function(r){for(;r.parent&&!r.parent._hasRegionDescendant&&r.parent.actualNode!==m.body;)r=r.parent;return r}).filter(function(r,n,a){return a.indexOf(r)===n});return t}function T1(e,t){var r=e.actualNode;if(Ye(e)==="button"||mS(e,t)||["iframe","frame"].includes(e.props.nodeName)||Vl(e.actualNode)&&vl(e.actualNode,"href")||!yt(r)){for(var n=e;n;)n._hasRegionDescendant=true,n=n.parent;return ["iframe","frame"].includes(e.props.nodeName)?[e]:[]}else return r!==m.body&&wo(r,true)&&!pS(e)?[e]:e.children.filter(function(a){var i=a.actualNode;return i.nodeType===1}).map(function(a){return T1(a,t)}).reduce(function(a,i){return a.concat(i)},[])}function pS(e){return ["none","presentation"].includes(Ye(e))&&!yo(e)}function mS(e,t){var r=e.actualNode,n=Ye(e),a=(r.getAttribute("aria-live")||"").toLowerCase().trim(),i=Gn("landmark");return !!(["assertive","polite"].includes(a)||cS.includes(n)||i.includes(n)||t.regionMatcher&&$a(e,t.regionMatcher))}function hS(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(ru(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 gS=hS;function vS(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 bS(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 bu(e){var t=f.getComputedStyle(bS(e));return {fontWeight:vS(t.getPropertyValue("font-weight")),fontSize:parseInt(t.getPropertyValue("font-size")),isItalic:t.getPropertyValue("font-style")==="italic"}}function R1(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 yS(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(B){return B.nodeName.toUpperCase()==="P"}),s=n.slice(0,a).reverse().find(function(B){return B.nodeName.toUpperCase()==="P"}),l=bu(e),u=o?bu(o):null,c=s?bu(s):null,h=t.passLength,b=t.failLength,E=e.textContent.trim().length,R=o?.textContent.trim().length;if(E>R*h||!u||!R1(l,u,i))return true;var O=Bn(r,"blockquote");if(!(O&&O.nodeName.toUpperCase()==="BLOCKQUOTE")&&!(c&&!R1(l,c,i))&&!(E>R*b))return false}var wS=yS,xS=/[;,\s]/,DS=/^[0-9.]+$/;function _S(e,t,r){var n=t||{},a=n.minDelay,i=n.maxDelay,o=(r.attr("content")||"").trim(),s=o.split(xS),l=De(s,1),u=l[0];if(!u.match(DS))return true;var c=parseFloat(u);return this.data({redirectDelay:c}),typeof a=="number"&&c<=t.minDelay||typeof i=="number"&&c>t.maxDelay}function AS(e,t,r){var n=rr(r,"a[href]");return n.some(function(a){return /^#[^/!]/.test(a.attr("href"))})}var ES=AS,F1={};pr(F1,{aria:function(){return m1},color:function(){return I1},dom:function(){return il},forms:function(){return z1},matches:function(){return $a},math:function(){return ap},standards:function(){return k1},table:function(){return c1},text:function(){return qa},utils:function(){return gs}});var I1={};pr(I1,{Color:function(){return wt},centerPointOfRect:function(){return SS},elementHasImage:function(){return xo},elementIsDistinct:function(){return P1},filteredRectStack:function(){return FS},flattenColors:function(){return Lr},flattenShadowColors:function(){return wu},getBackgroundColor:function(){return Qa},getBackgroundStack:function(){return xu},getContrast:function(){return Un},getForegroundColor:function(){return Vo},getOwnBackgroundColor:function(){return Cn},getRectStack:function(){return M1},getStackingContext:function(){return _u},getStrokeColorsFromShadows:function(){return Du},getTextShadowColors:function(){return Ho},hasValidContrastRatio:function(){return QS},incompleteData:function(){return gt},parseTextShadows:function(){return q1},stackingContextToColor:function(){return Za}});function CS(e){if(!(e.left>f.innerWidth)&&!(e.top>f.innerHeight)){var t=Math.min(Math.ceil(e.left+e.width/2),f.innerWidth-1),r=Math.min(Math.ceil(e.top+e.height/2),f.innerHeight-1);return {x:t,y:r}}}var SS=CS;function L1(e){return e.getPropertyValue("font-family").split(/[,;]/g).map(function(t){return t.trim().toLowerCase()})}function kS(e,t){var r=f.getComputedStyle(e);if(r.getPropertyValue("background-image")!=="none")return true;var n=["border-bottom","border-top","outline"].reduce(function(s,l){var u=new wt;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=f.getComputedStyle(t);if(L1(r)[0]!==L1(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 P1=kS;function TS(e){var t=xp(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 M1=TS;function RS(e){var t=M1(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 FS=RS,IS=["hue","saturation","color","luminosity"],O1={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 Lr(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"normal",n=PS(t,e,r),a=yu(e.red,e.alpha,t.red,t.alpha,n.r*255),i=yu(e.green,e.alpha,t.green,t.alpha,n.g*255),o=yu(e.blue,e.alpha,t.blue,t.alpha,n.b*255),s=LS(e.alpha+t.alpha*(1-e.alpha),0,1);if(s===0)return new wt(a,i,o,s);var l=Math.round(a/s),u=Math.round(i/s),c=Math.round(o/s);return new wt(l,u,c,s)}function yu(e,t,r,n,a){return t*(1-n)*e+t*n*a+(1-t)*n*r}function LS(e,t,r){return Math.min(Math.max(t,e),r)}function PS(e,t,r){if(IS.includes(r))return O1[r](e,t);var n=new wt;return ["r","g","b"].forEach(function(a){n[a]=O1[r](e[a],t[a]);}),n}function wu(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 wt(n,a,i,o)}function xu(e){for(var t=Ml(e).map(function(a){return a=bm(a,e),a=MS(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&&!OS(n,t[0]))return gt.set("bgColor","elmPartiallyObscuring"),null}return t[0]||null}function MS(e){var t=e.indexOf(m.body),r=e,n=Cn(f.getComputedStyle(m.documentElement));if(t>1&&n.alpha===0&&!xo(m.documentElement)){t>1&&(r.splice(t,1),r.push(m.body));var a=r.indexOf(m.documentElement);a>0&&(r.splice(a,1),r.push(m.documentElement));}return r}function OS(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 NS=.54,Bo=.5,qS=1.5,N1=["top","right","bottom","left"];function Du(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.ignoreEdgeCount,n=r===void 0?false:r,a=BS(e),i=Object.entries(a).map(function(o){var s=De(o,2),l=s[0],u=s[1],c=N1.filter(function(h){return u[h].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(HS).filter(function(o){return o!==null})}function BS(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=De(s,2),c=u[0],h=u[1];c>Bo?l.right.push(c):-c>Bo&&l.left.push(-c),h>Bo?l.bottom.push(h):-h>Bo&&l.top.push(-h);}}catch(b){r.e(b);}finally{r.f();}return t}function HS(e){var t=e.colorStr,r=e.sides,n=e.edgeCount;if(n!==4)return null;var a=new wt;a.parseString(t);var i=0,o=true;return N1.forEach(function(s){i+=r[s].length/4,o&&(o=r[s].every(function(l){return l>qS}));}),o||(a.alpha=1-Math.pow(NS,i)),a}function q1(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 Ho(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.minRatio,n=t.maxRatio,a=t.ignoreEdgeCount,i=[],o=f.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=[],h=q1(s),b=it(h),E;try{for(b.s();!(E=b.n()).done;){var R=E.value,O=R.colorStr||o.getPropertyValue("color"),B=De(R.pixels,3),$=B[0],z=B[1],X=B[2],Y=X===void 0?0:X;if(!(n&&Y>=u*n)){if(r&&Y<u*r){c.push({colorStr:O,pixels:R.pixels});continue}if(c.length>0){var J=Du(c,{ignoreEdgeCount:a});if(J===null)return null;i.push.apply(i,_e(J)),c.splice(0,c.length);}var ne=VS({colorStr:O,offsetX:$,offsetY:z,blurRadius:Y,fontSize:u});i.push(ne);}}}catch(fe){b.e(fe);}finally{b.f();}if(c.length>0){var se=Du(c,{ignoreEdgeCount:a});if(se===null)return null;i.push.apply(i,_e(se));}return i}function VS(e){var t=e.colorStr,r=e.offsetX,n=e.offsetY,a=e.blurRadius,i=e.fontSize;if(r>a||n>a)return new wt(0,0,0,0);var o=new wt;return o.parseString(t),o.alpha*=$S(a,i),o}function $S(e,t){if(e===0)return 1;var r=e/t;return .185/(r+.4)}function _u(e,t){var r=Ke(e);if(r._stackingContext)return r._stackingContext;var n=[],a=new Map;return t=t??xu(e),t.forEach(function(i){var o,s=Ke(i),l=GS(s),u=s._stackingOrder.filter(function(b){var E=b.vNode;return !!E});u.forEach(function(b,E){var R,O=b.vNode,B=(R=u[E-1])===null||R===void 0?void 0:R.vNode,$=H1(a,O,B);E===0&&!a.get(O)&&n.unshift($),a.set(O,$);});var c=(o=u[u.length-1])===null||o===void 0?void 0:o.vNode,h=H1(a,s,c);u.length||n.unshift(h),h.bgColor=l;}),r._stackingContext=n,n}function Za(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(jS,B1()),a=Lr(n,e.bgColor,e.descendants[0].blendMode);return a.alpha*=e.opacity,{color:a,blendMode:e.blendMode}}function jS(e,t){var r;e instanceof wt?r=e:r=Za(e).color;var n=Za(t).color;return Lr(n,r,t.blendMode)}function B1(e,t){var r;return {vNode:e,ancestor:t,opacity:parseFloat((r=e?.getComputedStylePropertyValue("opacity"))!==null&&r!==void 0?r:1),bgColor:new wt(0,0,0,0),blendMode:zS(e?.getComputedStylePropertyValue("mix-blend-mode")),descendants:[]}}function zS(e){return e||void 0}function H1(e,t,r){var n,a=e.get(r),i=(n=e.get(t))!==null&&n!==void 0?n:B1(t,a);return a&&r!==t&&!a.descendants.includes(i)&&a.descendants.unshift(i),i}function GS(e){var t=new wt;return t.parseString(e.getComputedStylePropertyValue("background-color")),t}function Qa(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)),gt.set("bgColor",a.incompleteData),a.bgColor;var i=US(e,t,r);return n._cache.getBackgroundColor={bgColor:i,bgElms:t,incompleteData:gt.get("bgColor")},i}function US(e,t,r){var n,a,i=xu(e);if(!i)return null;var o=Pl(e),s=(n=Ho(e,{minRatio:r,ignoreEdgeCount:true}))!==null&&n!==void 0?n:[];s.length&&(s=[{color:s.reduce(wu)}]);for(var l=0;l<i.length;l++){var u=i[l],c=f.getComputedStyle(u);if(xo(u,c))return t.push(u),null;var h=void 0;try{if(h=Cn(c),h.alpha===0)continue}catch(O){if(O&>.get("colorParse"))return null;throw O}if(c.getPropertyValue("display")!=="inline"&&!V1(u,o))return t.push(u),gt.set("bgColor","elmPartiallyObscured"),null;if(t.push(u),h.alpha===1)break}var b=_u(e,i);s=b.map(Za).concat(s);var E=WS(e,i.includes(m.body));if((a=s).unshift.apply(a,_e(E)),s.length===0)return new wt(255,255,255,1);var R=s.reduce(function(O,B){return Lr(B.color,O.color instanceof wt?O.color:O,B.blendMode)});return Lr(R.color instanceof wt?R.color:R,new wt(255,255,255,1))}function V1(e,t){t=Array.isArray(t)?t:[t];var r=e.getBoundingClientRect(),n=r.right,a=r.bottom,i=f.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 f.HTMLHtmlElement)&&(n=r.left+e.scrollWidth+s+l,a=r.top+e.scrollHeight+u+c),t.every(function(h){return h.top>=r.top&&h.bottom<=a&&h.left>=r.left&&h.right<=n})}function $1(e){return e||void 0}function WS(e,t){var r=[];if(!t){var n=m.documentElement,a=m.body,i=f.getComputedStyle(n),o=f.getComputedStyle(a),s=Cn(i),l=Cn(o),u=l.alpha!==0&&V1(a,e.getBoundingClientRect());(l.alpha!==0&&s.alpha===0||u&&l.alpha!==1)&&r.unshift({color:l,blendMode:$1(o.getPropertyValue("mix-blend-mode"))}),s.alpha!==0&&(!u||u&&l.alpha!==1)&&r.unshift({color:s,blendMode:$1(i.getPropertyValue("mix-blend-mode"))});}return r}function XS(e,t){if(!t||!e)return null;t.alpha<1&&(t=Lr(t,e));var r=e.getRelativeLuminance(),n=t.getRelativeLuminance();return (Math.max(n,r)+.05)/(Math.min(n,r)+.05)}var Un=XS;function Vo(e,t,r){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},a=f.getComputedStyle(e),i=[function(){return KS(a,n)},function(){return YS(a)},function(){return Ho(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(O){if(O&>.get("colorParse"))return null;throw O}var h=o.reduce(function(O,B){return Lr(O,B)});if(r??(r=Qa(e,[])),r===null){var b=gt.get("bgColor");return gt.set("fgColor",b),null}var E=_u(e),R=j1(E,e);return Lr(JS(h,R,E),new wt(255,255,255,1))}function YS(e){return new wt().parseString(e.getPropertyValue("-webkit-text-fill-color")||e.getPropertyValue("color"))}function KS(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 wt().parseString(s)}function JS(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(Za);if(!i.length){t=t.ancestor;continue}var o=i.reduce(function(s,l){return Lr(l.color,s.color instanceof wt?s.color:s)},{color:new wt(0,0,0,0),blendMode:"normal"});e=Lr(e,o),t=t.ancestor;}return e}function j1(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=j1(i.descendants,t);if(o)return o}}catch(s){r.e(s);}finally{r.f();}}function ZS(e,t,r,n){var a=Un(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 QS=ZS,z1={};pr(z1,{isAriaCombobox:function(){return Kp},isAriaListbox:function(){return Yp},isAriaRange:function(){return Jp},isAriaTextbox:function(){return Xp},isDisabled:function(){return ei},isNativeSelect:function(){return Wp},isNativeTextbox:function(){return Up}});var ek=["fieldset","button","select","input","textarea"];function G1(e){var t=e._isDisabled;if(typeof t=="boolean")return t;var r=e.props.nodeName,n=e.attr("aria-disabled");return ek.includes(r)&&e.hasAttr("disabled")?t=true:n?t=n.toLowerCase()==="true":e.parent?t=G1(e.parent):t=false,e._isDisabled=t,t}var ei=G1;function tk(e,t,r){var n=qa.accessibleTextVirtual(r),a=qa.sanitize(qa.removeUnicode(n,{emoji:true,nonBmp:true,punctuations:true})).toLowerCase();if(a){var i={name:a,urlProps:il.urlPropsFromAttribute(e,"href")};return this.data(i),this.relatedNodes([e]),true}}var rk=tk;function U1(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"?U1(o,s):o===s});return a}function nk(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,h=c.name,b=c.urlProps;if(n[h])return 1;var E=t.filter(function(O,B){var $=O.data;return $.name===h&&B!==s}),R=E.every(function(O){var B=O.data;return U1(B.urlProps,b)});E.length&&!R&&(u.result=void 0),u.relatedNodes=[],(l=u.relatedNodes).push.apply(l,_e(E.map(function(O){return O.relatedNodes[0]}))),n[h]=E,r.push(u);},i=0;i<t.length;i++)a(i);return r}var ak=nk;function ik(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=De(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 ok(){var e=We.get("headingOrder");if(e)return true;var t="h1, h2, h3, h4, h5, h6, [role=heading], iframe, frame",r=Ir(p._tree[0],t,yt);return e=r.map(function(n){return {ancestry:[Xi(n.actualNode)],level:ik(n)}}),this.data({headingOrder:e}),We.set("headingOrder",r),true}var sk=ok;function lk(e){var t=ck(e);return e.forEach(function(r){r.result=uk(r,t);}),e}function uk(e,t){var r,n,a,i,o=W1(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 ck(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(dk,[]);return t.filter(function(r){var n=r.level;return n!==-1})}function dk(e,t){var r,n=(r=t.data)===null||r===void 0?void 0:r.headingOrder,a=X1(t.node.ancestry,1);if(!n)return e;var i=n.map(function(s){return pk(s,a)}),o=fk(e,a);return o===-1?e.push.apply(e,_e(i)):e.splice.apply(e,[o,0].concat(_e(i))),e}function fk(e,t){for(;t.length;){var r=W1(e,t);if(r!==-1)return r;t=X1(t,1);}return -1}function W1(e,t){return e.findIndex(function(r){return ru(r.ancestry,t)})}function pk(e,t){var r=t.concat(e.ancestry);return we({},e,{ancestry:r})}function X1(e,t){return e.slice(0,e.length-t)}function mk(e,t,r){var n=t?.minSize||24,a=r.boundingClientRect;if(jr(n*10,a))return this.data({messageKey:"large",minSize:n}),true;var i=jr.bind(null,n),o=co(r),s=hk(r,o),l=gk(r,o),u=l.fullyObscuringElms,c=l.partialObscuringElms;if(s.length&&(u.length||!i(a))){this.data({minSize:n,messageKey:"contentOverflow"}),this.relatedNodes(ti(s));return}if(u.length)return this.relatedNodes(ti(u)),this.data({messageKey:"obscured"}),true;var h=cr(r)?false:void 0;if(!i(a))return this.data(we({minSize:n},$o(a))),h;var b=yk(c);if(!b.length)return this.data(we({minSize:n},$o(a))),true;var E=vk(r,b,n);if(!E){this.data({minSize:n,messageKey:"tooManyRects"});return}if(!i(E)){if(s.length){this.data({minSize:n,messageKey:"contentOverflow"}),this.relatedNodes(ti(s));return}var R=b.every(cr),O="partiallyObscured".concat(R?"":"NonTabbable");return this.data(we({messageKey:O,minSize:n},$o(E))),this.relatedNodes(ti(b)),R?h:void 0}return this.data(we({minSize:n},$o(E||a))),this.relatedNodes(ti(b)),true}function hk(e,t){return t.filter(function(r){return !Y1(r,e)&&K1(e,r)})}function gk(e,t){var r=[],n=[],a=it(t),i;try{for(a.s();!(i=a.n()).done;){var o=i.value;!K1(e,o)&&dl(e,o)&&wk(o)!=="none"&&(Y1(e,o)?r.push(o):n.push(o));}}catch(s){a.e(s);}finally{a.f();}return {fullyObscuringElms:r,partialObscuringElms:n}}function vk(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=fl(n,a);}catch{return null}return bk(i,r)}function bk(e,t){return e.reduce(function(r,n){var a=jr(t,r),i=jr(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 yk(e){return e.filter(function(t){return wr(t)==="widget"&&Ct(t)})}function Y1(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 wk(e){return e.getComputedStylePropertyValue("pointer-events")}function $o(e){return {width:Math.round(e.width*10)/10,height:Math.round(e.height*10)/10}}function K1(e,t){return $r(e,t)&&!cr(t)}function ti(e){return e.map(function(t){var r=t.actualNode;return r})}var xk=.05;function Dk(e,t,r){var n=t?.minOffset||24;if(jr(n*10,r.boundingClientRect))return this.data({messageKey:"large",minOffset:n}),true;var a=[],i=n,o=it(co(r,n)),s;try{for(o.s();!(s=o.n()).done;){var l=s.value;if(!(wr(l)!=="widget"||!Ct(l))){var u=null;try{u=op(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=_k(u)*2,!(u+xk>=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 h=c.actualNode;return h})),!a.some(cr)){this.data({messageKey:"nonTabbableNeighbor",closestOffset:i,minOffset:n});return}return this.data({closestOffset:i,minOffset:n}),cr(r)?false:void 0}function _k(e){return Math.round(e*10)/10}function Ak(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(h,b){var E=b.trim();if(!E)return h;var R=E.split("="),O=De(R,2),B=O[0],$=O[1];if(!B||!$)return h;var z=B.toLowerCase().trim(),X=$.toLowerCase().trim();return z==="maximum-scale"&&X==="yes"&&(X=1),z==="maximum-scale"&&parseFloat(X)<0||(h[z]=X),h},{});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 Ek=Ak;function Ck(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,h=[],b=B(o),E=function(){var ge=O[R],xe=b[ge],Ee=xe.root,Me=xe.rules,je=Me.filter($);if(!je.length)return 1;je.forEach(function(Fe){var qe=Fe.cssRules;Array.from(qe).forEach(function(be){var Pe=z(be);if(Pe&&be.selectorText.toUpperCase()!=="HTML"){var te=Array.from(Ee.querySelectorAll(be.selectorText))||[];h=h.concat(te);}c=c||Pe;});});},R=0,O=Object.keys(b);R<O.length;R++)E();if(!c)return true;return h.length&&this.relatedNodes(h),false;function B(le){return le.reduce(function(ge,xe){var Ee=xe.sheet,Me=xe.root,je=xe.shadowId,Fe=je||"topDocument";if(ge[Fe]||(ge[Fe]={root:Me,rules:[]}),!Ee||!Ee.cssRules)return ge;var qe=Array.from(Ee.cssRules);return ge[Fe].rules=ge[Fe].rules.concat(qe),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 z(le){var ge=le.selectorText,xe=le.style;if(!ge||xe.length<=0)return false;var Ee=xe.transform||xe.webkitTransform||xe.msTransform||false;if(!Ee&&!xe.rotate)return false;var Me=X(Ee),je=Y("rotate",xe.rotate),Fe=Me+je;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 ge=le.match(/(rotate|rotateZ|rotate3d|matrix|matrix3d)\(([^)]+)\)(?!.*(rotate|rotateZ|rotate3d|matrix|matrix3d))/);if(!ge)return 0;var xe=De(ge,3),Ee=xe[1],Me=xe[2];return Y(Ee,Me)}function Y(le,ge){switch(le){case "rotate":case "rotateZ":return J(ge);case "rotate3d":var xe=ge.split(",").map(function(Fe){return Fe.trim()}),Ee=De(xe,4),Me=Ee[2],je=Ee[3];return parseInt(Me)===0?void 0:J(je);case "matrix":case "matrix3d":return ne(ge);default:return 0}}function J(le){var ge=le.match(/(deg|grad|rad|turn)/)||[],xe=De(ge,1),Ee=xe[0];if(!Ee)return 0;var Me=parseFloat(le.replace(Ee,""));switch(Ee){case "rad":return se(Me);case "grad":return fe(Me);case "turn":return Ae(Me);default:return parseInt(Me)}}function ne(le){var ge=le.split(",");if(ge.length<=6){var xe=De(ge,2),Ee=xe[0],Me=xe[1],je=Math.atan2(parseFloat(Me),parseFloat(Ee));return se(je)}var Fe=parseFloat(ge[8]),qe=Math.asin(Fe),be=Math.cos(qe),Pe=Math.acos(parseFloat(ge[0])/be);return se(Pe)}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 Ae(le){return Math.round(360/(1/le))}}var Sk=Ck;function kk(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 h=De(c,2),b=h[1],E=b.split(",");return E.map(function(R){return /:/.test(R)?l(R):parseFloat(R)})}}function l(u){for(var c=u.split(":"),h=0,b=1;c.length>0;)h+=b*parseInt(c.pop(),10),b*=60;return parseFloat(h)}}var Tk=kk;function Rk(e,t){return t.isViolation?false:void 0}var Fk=Rk,J1=" > ";function Ik(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(J1);return t[a]=r,true}var i=r.node.ancestry.slice(0,r.node.ancestry.length-1).flat(1/0).join(J1);return t[i]&&(t[i].result=true),false})}var Lk=Ik;function Pk(e,t,r){var n=rr(r,"track"),a=n.some(function(i){return (i.attr("kind")||"").toLowerCase()==="captions"});return a?false:void 0}var Mk=Pk;function Ok(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 Nk=Ok;function qk(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||!yt(c))){i=false;var h=c.nodeName.toUpperCase()==="LI",b=Ye(u),E=b==="listitem";!h&&!E&&o.push(c),h&&!E&&(s.push(c),l.includes(b)||l.push(b)),E&&(a=true);}}),n||o.length?(this.relatedNodes(o),true):i||a?false:(this.relatedNodes(s),this.data({messageKey:"roleNotValid",roles:l.join(", ")}),true)}var Bk=qk;function Hk(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&&yt(u)){var h=Qe(u);(c!=="DT"&&c!=="DD"||h)&&(n.includes(h)||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 Vk(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&&Va(i)?(this.data({messageKey:"roleNotValid"}),false):["ul","ol","menu"].includes(a)}}function $k(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=Z1(r.children);i.length;){var o,s=i.shift(),l=s.vChild,u=s.nested;if(t.divGroups&&!u&&zk(l)){if(!l.children)return;var c=Z1(l.children,true);i.push.apply(i,_e(c));continue}var h=jk(l,u,t);h&&(a.includes(h)||a.push(h),(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 jk(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,h=t?"div > ":"";if(u===3&&c.trim()!=="")return h+"#text";if(u!==1||!yt(e))return false;var b=Qe(e);return b?a.includes(b)?false:h+"[role=".concat(b,"]"):o.includes(l)?false:h+l}function zk(e){return e.props.nodeName==="div"&&Qe(e)===null}function Z1(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:false;return e.map(function(r){return {vChild:r,nested:t}})}function Gk(e){var t=Pt(e),r=t.nodeName.toUpperCase(),n=Qe(t);return r==="DIV"&&["presentation","none",null].includes(n)&&(t=Pt(t),r=t.nodeName.toUpperCase(),n=Qe(t)),r!=="DL"?false:!!(!n||["presentation","none","list"].includes(n))}var Uk=Gk;function Wk(e,t,r){var n=kn(r.attr("lang")),a=kn(r.attr("xml:lang"));return n===a}var Xk=Wk;function Yk(e,t,r){var n=[];return t.attributes.forEach(function(a){var i=r.attr(a);if(typeof i=="string"){var o=kn(i),s=t.value?!t.value.map(kn).includes(o):!Po(o);(o!==""&&s||i!==""&&!He(i))&&n.push(a+'="'+r.attr(a)+'"');}}),!n.length||r.props.nodeName!=="html"&&!Nl(r)?false:(this.data(n),true)}var Kk=Yk;function Au(e){return (e||"").trim()!==""}function Jk(e,t,r){var n=typeof m<"u"?Ca(m):false;if(t.attributes.includes("xml:lang")&&t.attributes.includes("lang")&&Au(r.attr("xml:lang"))&&!Au(r.attr("lang"))&&!n)return this.data({messageKey:"noXHTML"}),false;var a=t.attributes.some(function(i){return Au(r.attr(i))});return a?true:(this.data({messageKey:"noLang"}),false)}var Zk=Jk;function Qk(e,t,r){var n=Ye(e),a=Mt(r);return a=a?a.toLowerCase():null,this.data({role:n,accessibleText:a}),this.relatedNodes([e]),true}var eT=Qk;function tT(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 rT=tT;function nT(e,t,r){var n=bo(r),a=ho(r),i=r.attr("aria-describedby");return !n&&!!(a||i)}var aT=nT;function iT(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 !on(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 yt(s)});if(i.length>1)return;var o=Sr(e,"aria-labelledby");return o.includes(i[0])?false:void 0}return false}var oT=iT;function sT(e,t){var r=Q1(t),n=Q1(e);return !r||!n?false:r.includes(n)}function Q1(e){var t=za(e,{emoji:true,nonBmp:true,punctuations:true});return He(t)}function lT(e,t,r){var n,a=t?.pixelThreshold,i=(n=t?.occurrenceThreshold)!==null&&n!==void 0?n:t?.occuranceThreshold,o=_n(e).toLowerCase(),s=He(un(r,{subtreeDescendant:true,ignoreIconLigature:true,pixelThreshold:a,occurrenceThreshold:i})).toLowerCase();if(!s)return true;if(!(Ll(o)<1||Ll(s)<1))return sT(s,o)}var uT=lT;function cT(e,t,r){try{var n=Zt(r,"label");if(n){var a=He(Mt(n,{inControlContext:!0,startNode:r}));return n.actualNode&&this.relatedNodes([n.actualNode]),this.data({implicitLabel:a}),!!a}return !1}catch{return}}var dT=cT;function fT(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&&!yt(i)){var o;try{o=Mt(r).trim();}catch{return}var s=o==="";return s}}return false}var pT=fT;function mT(e,t,r){var n=bo(r),a=e.getAttribute("title");if(!n)return false;if(!a&&(a="",e.getAttribute("aria-describedby"))){var i=Sr(e,"aria-describedby");a=i.map(function(o){return o?_n(o):""}).join("");}return He(a)===He(n)}var hT=mT;function gT(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(Qt(s)){var l=He(_n(s,{inControlContext:!0,startNode:r}));return n.data({explicitLabel:l}),!!l}else return !0})}catch{return}}}var vT=gT;function bT(e,t,r){if(["none","presentation"].includes(Ye(r)))return false;var n=Zt(r,t.parentSelector);if(!n)return false;var a=Tr(n,true).toLowerCase();return a===""?false:a===Mt(r).toLowerCase()}var yT=bT;function wT(e,t,r){var n=r.attr("alt"),a=/^\s+$/;return typeof n=="string"&&a.test(n)}var xT=wT;function DT(e,t,r){var n=Fr(r.attr("tabindex"));return n===null||n<=0}var _T=DT;function AT(e,t,r){if(r.children)try{var n=eh(r);if(!n.length)return !0;var a=n.filter(ET);return a.length>0?(this.data({messageKey:"notHidden"}),this.relatedNodes(a)):this.relatedNodes(n),!1}catch{return}}function eh(e){if(!e.children){if(e.props.nodeType===1)throw new Error("Cannot determine children");return []}var t=[];return e.children.forEach(function(r){wr(r)==="widget"&&Ct(r)?t.push(r):t.push.apply(t,_e(eh(r)));}),t}function ET(e){var t=Fr(e.attr("tabindex"));return t!==null&&t<0}function CT(e){var t=Gn("landmark"),r=Pt(e),n=Ye(e);for(this.data({role:n});r;){var a=Qe(r);if(!a&&r.nodeName.toUpperCase()!=="FORM"&&(a=kr(r)),a&&t.includes(a)&&!(a==="main"&&n==="complementary"))return false;r=Pt(r);}return true}var ST=CT;function kT(e,t,r){if(r.children)try{return !r.children.some(function(n){return th(n)})}catch{return}}function th(e){if(cr(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 th(t)})}function TT(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||Ua()?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 RT=TT;function FT(e,t,r){if(!cr(r))return false;try{return !Mt(r)}catch{return}}var IT=FT;function LT(e,t,r){var n=r.tabbableElements.map(function(a){var i=a.actualNode;return i});if(!n||!n.length)return true;if(Ua()){this.relatedNodes(n);return}return true}var PT=LT;function MT(e,t,r){if(r.hasAttr("contenteditable")&&n(r))return true;return cr(r);function n(a){var i=a.attr("contenteditable");if(i==="true"||i==="")return true;if(i==="false")return false;var o=Zt(r.parent,"[contenteditable]");return o?n(o):false}}var OT=MT;function NT(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||Ua()?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 qT=NT;function BT(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 HT=BT;function VT(e,t,r){return on(r)||(this.data(r.attr("accesskey")),this.relatedNodes([e])),true}var $T=VT;function jT(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 zT=jT;function GT(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(We.get(n)){this.data("ignored");return}We.set(n,true);var a=Ir(p._tree[0],t.selector,function(i){return yt(i)});return typeof t.nativeScopeFilter=="string"&&(a=a.filter(function(i){return i.actualNode.hasAttribute("role")||!Bn(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 UT=GT;function WT(e){return e.filter(function(t){return t.data!=="ignored"})}var XT=WT;function YT(e,t,r){return $a(r,t.matcher)}var KT=YT;function JT(e,t,r){try{return He(un(r))!==""}catch{return}}function ZT(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&&Ua())return true;var n=Ir(r,t.selector,function(a){return yt(a)});return this.relatedNodes(n.map(function(a){return a.actualNode})),n.length>0}var QT=ZT;function e5(e){var t=e.some(function(r){return r.result===true});return t&&e.forEach(function(r){r.result=true;}),e}var t5=e5;function r5(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=!He(n);return a?(this.data({messageKey:"emptyAttr"}),false):true}var n5=r5;function a5(e,t,r){var n=r.attr("autocomplete")||"";return sm(n,t)}var i5=a5;function o5(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(h){i[h]||(i[h]=[]),i[h]=i[h].concat(t[h]);});var o=r.attr("autocomplete"),s=o.split(/\s+/g).map(function(h){return h.toLowerCase()}),l=s[s.length-1];if(En.stateTerms.includes(l))return true;var u=i[l],c=r.hasAttr("type")?He(r.attr("type")).toLowerCase():"text";return c=Lo().includes(c)?c:"text",typeof u>"u"?c==="text":u.includes(c)}var s5=o5,l5=["block","list-item","table","flex","grid","inline-block"];function u5(e){if(rh(e))return false;for(var t=Pt(e);t&&t.nodeType===1&&!rh(t);)t=Pt(t);if(t){if(this.relatedNodes([t]),P1(e,t))return true;if(c5(e)){this.data({messageKey:"pseudoContent"});return}return false}}function rh(e){var t=f.getComputedStyle(e).getPropertyValue("display");return l5.indexOf(t)!==-1||t.substr(0,6)==="table-"}function c5(e){for(var t=0,r=["before","after"];t<r.length;t++){var n=r[t],a=f.getComputedStyle(e,":".concat(n)),i=a.getPropertyValue("content");if(i!=="none")return true}return false}function nh(e,t){var r=e.getRelativeLuminance(),n=t.getRelativeLuminance();return (Math.max(r,n)+.05)/(Math.min(r,n)+.05)}var d5=["block","list-item","table","flex","grid","inline-block"];function ah(e){var t=f.getComputedStyle(e).getPropertyValue("display");return d5.indexOf(t)!==-1||t.substr(0,6)==="table-"}function f5(e,t){var r=t.requiredContrastRatio,n=t.allowSameColor;if(ah(e))return false;for(var a=Pt(e);a&&a.nodeType===1&&!ah(a);)a=Pt(a);if(a){this.relatedNodes([a]);var i=Vo(e),o=Vo(a),s=Qa(e),l=Qa(a),u=i&&o?nh(i,o):void 0;if(u&&(u=Math.floor(u*100)/100),u&&u>=r)return true;var c=s&&l?nh(s,l):void 0;if(c&&(c=Math.floor(c*100)/100),c&&c>=r)return true;if(!c){var h,b=(h=gt.get("bgColor"))!==null&&h!==void 0?h:"bgContrast";this.data({messageKey:b}),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 p5=f5;function m5(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,h=t.pseudoSizeThreshold;if(!Qt(e))return this.data({messageKey:"hidden"}),true;var b=Tr(r,false,true);if(n&&g5(b)){this.data({messageKey:"nonBmp"});return}var E=f.getComputedStyle(e),R=parseFloat(E.getPropertyValue("font-size")),O=E.getPropertyValue("font-weight"),B=parseFloat(O)>=o||O==="bold",$=Math.ceil(R*72)/96,z=B&&$<s||!B&&$<l,X=z?u.normal:u.large,Y=X.expected,J=X.minThreshold,ne=X.maxThreshold,se=h5(r,{ignorePseudo:i,pseudoSizeThreshold:h});if(se){this.data({fontSize:"".concat((R*72/96).toFixed(1),"pt (").concat(R,"px)"),fontWeight:B?"bold":"normal",messageKey:"pseudoContent",expectedContrastRatio:Y+":1"}),this.relatedNodes(se.actualNode);return}var fe=Ho(e,{minRatio:.001,maxRatio:c});if(fe===null){this.data({messageKey:"complexTextShadows"});return}var Ae=[],le=Qa(e,Ae,c),ge=Vo(e,false,le,t),xe=null,Ee=null,Me=null;if(fe.length===0)xe=Un(le,ge);else if(ge&&le){Me=[].concat(_e(fe),[le]).reduce(wu);var je=Un(le,ge),Fe=Un(le,Me),qe=Un(Me,ge);xe=Math.max(je,Fe,qe),xe!==je&&(Ee=Fe>qe?"shadowOnBgColor":"fgOnShadowColor");}var be=xe>Y;if(typeof J=="number"&&(typeof xe!="number"||xe<J)||typeof ne=="number"&&(typeof xe!="number"||xe>ne))return this.data({contrastRatio:xe}),true;var Pe=Math.floor(xe*100)/100,te,Ce;le===null?gt.get("colorParse")?(te="colorParse",Ce=gt.get("colorParse")):te=gt.get("bgColor"):be||(te=Ee),ge===null&>.get("colorParse")&&(te="colorParse",Ce=gt.get("colorParse"));var me=Pe===1,Se=b.length===1;if(me?te=gt.set("bgColor","equalRatio"):!be&&Se&&!a&&(te="shortTextContent"),this.data({fgColor:ge?ge.toHexString():void 0,bgColor:le?le.toHexString():void 0,contrastRatio:Pe,fontSize:"".concat((R*72/96).toFixed(1),"pt (").concat(R,"px)"),fontWeight:B?"bold":"normal",messageKey:te,expectedContrastRatio:Y+":1",shadowColor:Me?Me.toHexString():void 0,colorParse:Ce}),ge===null||le===null||me||Se&&!a&&!be){te=null,gt.clear(),this.relatedNodes(Ae);return}return be||this.relatedNodes(Ae),be}function h5(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=ih(e.actualNode,":before"),u=ih(e.actualNode,":after");if(l+u>s)return e}while(e=e.parent)}}var ih=ht(function(t,r){var n=f.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||Cn(n).alpha===0&&a("background-image","none"))return 0;var i=oh(n.getPropertyValue("width")),o=oh(n.getPropertyValue("height"));return i.unit!=="px"||o.unit!=="px"?i.value===0||o.value===0?0:1/0:i.value*o.value});function g5(e){var t={nonBmp:true},r=Fl(e,t),n=He(za(e,t))==="";return r&&n}function oh(e){var t=/^([0-9.]+)([a-z]+)$/i,r=e.match(t)||[],n=De(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 v5={ARTICLE:true,ASIDE:true,NAV:true,SECTION:true},b5={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 y5(e){var t=e.nodeName.toUpperCase();return v5[t]||false}function w5(e,t){var r=Qe(e);return r&&(b5[r]||t.roles.includes(r))||false}function x5(e,t){return w5(e,t)||y5(e)}var D5=x5;function _5(e,t,r){var n=Ye(r,{dpub:true,fallback:true}),a=xl(n);return a&&this.data(n),a}var A5=_5;function E5(e,t,r){var n=Ye(r,{noImplicit:true});this.data(n);var a,i;try{a=He(Tl(r)).toLowerCase(),i=He(Mt(r)).toLowerCase();}catch{return}if(!i&&!a)return false;if(!(!i&&a)&&i.includes(a))return false}var C5=E5;function S5(e,t,r){return Ct(r)}var k5=S5;function T5(e,t,r){var n=$t(r.attr("role")),a=n.every(function(i){return !Va(i.toLowerCase(),{allowAbstract:true})});return a?(this.data(n),true):false}var R5=T5;function F5(e,t,r){var n=Qe(r);if(n===null)return false;var a=wr(n);return a==="widget"||a==="composite"}var I5=F5;function L5(e,t,r){var n=sn().filter(function(a){return r.hasAttr(a)});return this.data(n),n.length>0}var P5=L5;function M5(e,t){var r=kr(e);return !r&&t.length===2&&t.includes("none")&&t.includes("presentation")}function O5(e,t,r){var n=$t(r.attr("role"));return n.length<=1?false:M5(r,n)?void 0:true}var N5=O5;function q5(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 B5(e,t,r){var n,a=(n=r.attr("aria-brailleroledescription"))!==null&&n!==void 0?n:"";if(He(a)==="")return true;var i=r.attr("aria-roledescription");return typeof i!="string"?(this.data({messageKey:"noRoleDescription"}),false):He(i)===""?(this.data({messageKey:"emptyRoleDescription"}),false):true}function H5(e,t,r){var n,a=(n=r.attr("aria-braillelabel"))!==null&&n!==void 0?n:"";if(!a.trim())return true;try{return He(Mt(r))!==""}catch{return}}function V5(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=p._tree&&p._tree[0]._hasShadowRoot?"noIdShadow":"noId");},"aria-labelledby":function(c){c||(n='aria-labelledby="'.concat(r.attr("aria-labelledby"),'"'),a=p._tree&&p._tree[0]._hasShadowRoot?"noIdShadow":"noId");}};if(r.attrNames.forEach(function(u){if(!(s.includes(u)||t.includes(u)||!o.test(u))){var c,h=r.attr(u);try{c=A1(r,u);}catch{n="".concat(u,'="').concat(h,'"'),a="idrefs";return}(!l[u]||l[u](c))&&!c&&(h===""&&!$5(u)?(n=u,a="empty"):i.push("".concat(u,'="').concat(h,'"')));}}),i.length)return this.data(i),false;if(n){this.data({messageKey:a,needsReview:n});return}return true}function $5(e){var t;return ((t=at.ariaAttrs[e])===null||t===void 0?void 0:t.type)==="string"}function j5(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)&&!qo(i)&&n.push(i);}),n.length?(this.data(n),false):true}var z5=j5;function G5(e,t,r){var n=r.attrNames.filter(function(a){var i=at.ariaAttrs[a];if(!qo(a))return false;var o=i.unsupported;return de(o)!=="object"?!!o:!$a(e,o.exceptions)});return n.length?(this.data(n),true):false}var U5=G5;function W5(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 X5=W5;function sh(e,t,r,n){var a=Qe(e);if(r||(r=hu(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 Y5(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 K5(e,t,r){var n=t&&Array.isArray(t.ownGroupRoles)?t.ownGroupRoles:[],a=sh(r,n);if(!a)return true;var i=Y5(e);if(i){for(var o=0,s=i.length;o<s;o++)if(a=sh(Ke(i[o]),n,a,true),!a)return true}return this.data(a),false}var J5=K5;function Z5(e,t,r){var n=t&&Array.isArray(t.reviewEmpty)?t.reviewEmpty:[],a=Qe(r,{dpub:true}),i=gu(a);if(i===null)return true;var o=Q5(r,i),s=o.filter(function(u){var c=u.role,h=u.vNode;return h.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,h=u.attr;return rR(c,h)}).filter(function(u,c,h){return h.indexOf(u)===c}).join(", ")}),false}if(eR(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(nR)))return false}function Q5(e,t){for(var r,n=[],a=ja(e),i=function(){if(r.props.nodeType===3&&n.push({vNode:r,role:null}),r.props.nodeType!==1||!yt(r))return 1;var s=Ye(r,{noPresentational:true}),l=tR(r),u=!!l||Ct(r);if(!s&&!u||["group","rowgroup"].includes(s)&&t.some(function(h){return h===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 eR(e,t){return t.some(function(r){var n=r.role;return n&&e.includes(n)})}function tR(e){return sn().find(function(t){return e.hasAttr(t)})}function rR(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 nR(e){var t=e.vNode;return t.props.nodeType===3?t.props.nodeValue.trim().length>0:Ga(t,false,true)}function aR(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=_1(a);if(Array.isArray(r[a])&&(o=Ya(r[a],o)),!a||!i.length||!o.length||iR(n,a)||sR(n,a)||a==="slider"&&(t=n.attr("aria-valuetext"))!==null&&t!==void 0&&t.trim())return true;var s=ln(n),l=o.filter(function(u){return !n.attr(u)&&!oR(s,u)});return l.length?(this.data(l),false):true}function iR(e,t){return t==="separator"&&!Ct(e)}function oR(e,t){var r;return ((r=e.implicitAttrs)===null||r===void 0?void 0:r[t])!==void 0}function sR(e,t){return t==="combobox"&&e.attr("aria-expanded")==="false"}function lR(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=uR(r,i,a,n),s=o.filter(function(c){return r.attrNames.includes(c)?He(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=un(r,{subtreeDescendant:true});if(He(u)==="")return true}function uR(e,t,r,n){var a=at.ariaRoles[t];return a?a.prohibitedAttrs||[]:t||n.includes(r)||lh(e)==="widget"?[]:["aria-label","aria-labelledby"]}var lh=ht(function(t){if(t){var r=Ye(t,{noPresentational:true,chromium:true});return r?wr(r):lh(t.parent)}});function cR(e,t,r){var n=r.attr("aria-level"),a=parseInt(n,10);if(!(a>6))return true}var dR=cR;function fR(e,t,r){return r.attr("aria-hidden")!=="true"}var pR=fR;function mR(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=$t(l);if(u.length>1)return this.data({messageKey:"unsupported",values:u}),false;var c;try{c=l&&Sr(r,"aria-errormessage")[0];}catch{this.data({messageKey:"idrefs",values:u});return}if(c){if(!yt(c))return this.data({messageKey:"hidden",values:u}),false;var h=$t(r.attr("aria-describedby"));return Qe(c)==="alert"||c.getAttribute("aria-live")==="assertive"||c.getAttribute("aria-live")==="polite"||u.some(function(b){return h.includes(b)})}}return t.indexOf(n)===-1&&a?(this.data($t(n)),s.call(this,n)):true}function uh(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=hR(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 hR(e){if(e.parent){var t='table:not([role]), [role~="treegrid"], [role~="table"], [role~="grid"]';return Zt(e,t)}}function ch(e,t,r){var n=r.props,a=n.nodeName,i=n.type,o=vR(r.attr("aria-checked"));if(a!=="input"||i!=="checkbox"||!o)return true;var s=gR(r);return o===s?true:(this.data({messageKey:"checkbox",checkState:s}),false)}function gR(e){return e.props.indeterminate?"mixed":e.props.checked?"true":"false"}function vR(e){return e?(e=e.toLowerCase(),["mixed","true"].includes(e)?e:"false"):""}var dh={row:uh,checkbox:ch};function bR(e,t,r){var n=Ye(r);return dh[n]?dh[n].call(this,e,t,r):true}function yR(e,t,r){return r.attr("aria-busy")==="true"}function wR(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=b1(r,a);return l.length?(this.data(l),yt(r)?false:void 0):true}var xR=wR;function DR(e,t,r){var n=[],a=Ye(r),i=h1(a);Array.isArray(t[a])&&(i=Ya(t[a].concat(i)));var o=it(r.attrNames),s;try{for(o.s();!(s=o.n()).done;){var l=s.value;qo(l)&&!i.includes(l)&&!_R(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&&!eu(r)&&!Ct(r)))return false}function _R(e,t,r){return !!(e==="aria-required"&&t==="false"||e==="aria-multiline"&&t==="false"&&r.hasAttr("contenteditable"))}function AR(e,t,r){var n=ln(r);if(!n.allowedAriaAttrs)return true;var a=Qe(r);if(a)return true;var i=n.allowedAriaAttrs,o=sn(),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(b){l.e(b);}finally{l.f();}if(!s.length)return true;var h=s.length>1?"plural":"singular";return this.data({messageKey:h,nodeName:r.props.nodeName,values:s.map(function(b){return b+'="'+r.attr(b)+'"'}).join(", ")}),false}function ER(e,t,r){var n=$t(r.attr("role")).filter(function(a){return wr(a)==="abstract"});return n.length>0?(this.data(n),true):false}var CR=ER;function SR(e){var t=kn(e.getAttribute("lang")),r=kn(e.getAttribute("xml:lang"));return Po(t)&&Po(r)}var kR=SR;function TR(e){return e.ownerDocument.defaultView.self===e.ownerDocument.defaultView.top}var RR=TR;function FR(e,t){try{var r=t.props.nodeName;return r==="svg"?!0:!!Zt(t,"svg")}catch{return false}}var Eu=FR;function IR(e,t){return LR.every(function(r){return r(e,t)})}var LR=[function(e,t){return fh(t)},function(e,t){return PR(t)},function(e,t){return !Eu(e,t)},function(e,t){return Ct(t)},function(e,t){return cr(t)||!MR(t)},function(e){return !ql(e,{noLengthCompare:true,includeInlineBlock:true})}];function fh(e){return wr(e)==="widget"}function PR(e){return e.props.nodeName!=="area"}var MR=ht(function e(t){return t!=null&&t.parent?fh(t.parent)&&cr(t.parent)?true:e(t.parent):false});function OR(e,t){var r=Ye(t);return ["treegrid","grid","table"].includes(r)}function NR(e,t){var r=t.parent;if(r.props.nodeName!=="details"||qR(t))return false;var n=r.children.find(function(a){return a.props.nodeName==="summary"});return n===t}function qR(e){var t,r=(t=e.actualNode)===null||t===void 0?void 0:t.parentElement;return r&&r!==e.parent.actualNode}function BR(e){return Vl(e)&&io(e)}var HR=BR;function VR(e,t){return Gr(e,13)!==void 0&&mu(t)===false&&$R(t)}function $R(e){var t=e.boundingClientRect;return rr(e,"*").some(function(r){if(!Ga(r,true,true))return false;var n=[];if(yo(r)){var a;(a=n).push.apply(a,_e(jR(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 jR(e){var t=m.createRange();return t.selectNodeContents(e.actualNode),Array.from(t.getClientRects())}function zR(e,t){return kr(t,{chromiumRoles:true})!==null}var GR=zR;function UR(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 WR=UR;function XR(e,t){var r=Qe(t);if(!r||["none","presentation"].includes(r))return true;var n=Ep[r]||{},a=n.accessibleNameRequired;return !!(a||Ct(t))}var ph=XR,YR=function(t,r){return [ph,KR].every(function(n){return n(t,r)})};function KR(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 JR(e,t){return t.props.nodeName!=="html"}var ZR=JR;function QR(e,t){return !t.attr("role")}var eF=QR;function tF(e,t){var r=Fr(t.attr("tabindex"));return r===null||r>=0}var rF=tF;function nF(e,t){var r=ln(t),n=r.namingMethods;return !(n&&n.length!==0||Qe(t)==="combobox"&&rr(t,'input:not([type="hidden"])').length||mu(t,{popupRoles:["listbox"]}))}var aF=nF;function iF(e,t){return !(!t.hasAttr("role")||!t.attr("role").trim())}var oF=iF;function sF(e){return !(!e.currentSrc||e.hasAttribute("paused")||e.hasAttribute("muted"))}var lF=sF;function uF(e,t){var r=Ye(t);return r?!!at.ariaRoles[r].childrenPresentational:false}var cF=uF;function dF(e){var t=He(e.innerText),r=Qe(e);return r&&r!=="link"||!t||!Qt(e)?false:ql(e)}var fF=dF;function pF(e){return !Oo(e)&&!Ct(e)}var mF=pF;function hF(e,t){return gF(t)&&yt(t)}function gF(e){var t=Gn("landmark"),r=Ye(e);if(!r)return false;var n=e.props.nodeName;if(n==="section"||n==="form"){var a=Mt(e);return !!a}return t.indexOf(r)>=0||r==="region"}function vF(e,t){var r="article, aside, main, nav, section";return e.hasAttribute("role")||!Bn(t,r)}var bF=vF;function yF(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 wF=yF;function xF(e,t){var r=Ye(e);if(!r)return false;var n=Gn("widget"),a=n.includes(r);if(!a)return false;var i=pu();return !(!i.includes(r)||!He(Ha(t))&&!He(Ba(e))||!He(Tr(t)))}var DF=xF;function _F(e,t){return Qt(t)}function AF(e){return Qt(e)}function EF(e,t,r){return r.initiator}var mh=EF;function CF(e){return fm(e)}var SF=CF;function kF(e,t){var r=!!Mt(t);if(!r)return false;var n=Ye(e);return !(n&&n!=="link")}var TF=kF;function RF(e,t){return !Eu(e,t)}var FF=RF;function IF(e,t){return Ye(t)==="heading"}function LF(e,t){return kr(t,{chromium:true})!==null}var PF=LF;function MF(e){var t=e.getAttribute("title");return !!He(t)}var OF=MF;function NF(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 qF=NF;function BF(e){var t=e.getAttribute("id").trim(),r='*[id="'.concat(Dt(t),'"]'),n=Array.from(qt(e).querySelectorAll(r));return !No(e)&&n.every(function(a){return !Ct(a)})}var HF=BF;function VF(e){return No(e)}var $F=VF;function jF(e){var t=e.getAttribute("id").trim(),r='*[id="'.concat(Dt(t),'"]'),n=Array.from(qt(e).querySelectorAll(r));return !No(e)&&n.some(Ct)}var zF=jF;function GF(e){return Oo(e)}var UF=GF;function WF(e){if(Oo(e)){var t=zr(e);return t.length>=3&&t[0].length>=3&&t[1].length>=3&&t[2].length>=3}return false}var XF=WF;function YF(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)||ei(t)||fo(t))return false;var o=["input","select","textarea"];if(o.includes(n)){var s=f.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},!$l(u,e))return false}return true}var c=Bn(t,"label");if(n==="label"||c){var h=c||e,b=c?Ke(c):t;if(h.htmlFor){var E=qt(h),R=E.getElementById(h.htmlFor),O=R&&Ke(R);if(O&&ei(O))return false}var B='input:not([type="hidden"],[type="image"],[type="button"],[type="submit"],[type="reset"]), select, textarea',$=rr(b,B)[0];if($&&ei($))return false}for(var z=[],X=t;X;){if(X.props.id){var Y=fu(X).filter(function(ge){return $t(ge.getAttribute("aria-labelledby")||"").includes(X.props.id)}).map(function(ge){return Ke(ge)});z.push.apply(z,_e(Y));}X=X.parent;}if(z.length>0&&z.every(ei)||!ZF(t)||!parseFloat(t.getComputedStylePropertyValue("font-size")))return false;for(var J=m.createRange(),ne=t.children,se=0;se<ne.length;se++){var fe=ne[se];fe.actualNode.nodeType===3&&He(fe.actualNode.nodeValue)!==""&&J.selectNodeContents(fe.actualNode);}var Ae=Array.from(J.getClientRects()),le=Ma(t);return Ae.some(function(ge){var xe=$l(ge,e);if(!le.length)return xe;var Ee=le.some(function(Me){return ol(ge,Me.boundingClientRect)});return xe&&Ee})}var KF=YF,JF={emoji:true,nonBmp:false,punctuations:true};function ZF(e){var t=Tr(e,false,true);return t===""||za(t,JF)===""?false:e.children.some(function(r){return r.props.nodeName==="#text"&&!Il(r)})}function QF(e,t,r){return mh(e,t,r)?!!e.querySelector("a[href]"):true}var e3=QF;function t3(e,t){var r=t.attr("autocomplete");if(!r||He(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=Fr(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&&!Qt(t)&&!yt(t))}var r3=t3;function n3(e,t){var r=Qe(t);return !!hu(r)}var a3=n3;function i3(e,t){var r=Qe(t,{dpub:true});return !!gu(r)}var o3=i3;function hh(e){return e?e.getAttribute("aria-hidden")==="true"?false:hh(Pt(e)):true}function s3(e){return hh(Pt(e))}var l3=s3;function u3(e,t){var r=/^aria-/;return t.attrNames.some(function(n){return r.test(n)})}var c3=u3;function d3(e,t){return Qe(t,{dpub:true,fallback:true})!==null}var f3=d3;function p3(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 m3=p3,h3={"abstractrole-evaluate":CR,"accesskeys-after":zT,"accesskeys-evaluate":$T,"alt-space-value-evaluate":xT,"aria-allowed-attr-elm-evaluate":AR,"aria-allowed-attr-evaluate":DR,"aria-allowed-attr-matches":m3,"aria-allowed-role-evaluate":xR,"aria-allowed-role-matches":f3,"aria-busy-evaluate":yR,"aria-conditional-attr-evaluate":bR,"aria-conditional-checkbox-attr-evaluate":ch,"aria-conditional-row-attr-evaluate":uh,"aria-errormessage-evaluate":mR,"aria-has-attr-matches":c3,"aria-hidden-body-evaluate":pR,"aria-hidden-focus-matches":l3,"aria-label-evaluate":QC,"aria-labelledby-evaluate":JC,"aria-level-evaluate":dR,"aria-prohibited-attr-evaluate":lR,"aria-required-attr-evaluate":aR,"aria-required-children-evaluate":Z5,"aria-required-children-matches":o3,"aria-required-parent-evaluate":J5,"aria-required-parent-matches":a3,"aria-roledescription-evaluate":X5,"aria-unsupported-attr-evaluate":U5,"aria-valid-attr-evaluate":z5,"aria-valid-attr-value-evaluate":V5,"attr-non-space-content-evaluate":n5,"autocomplete-appropriate-evaluate":s5,"autocomplete-matches":r3,"autocomplete-valid-evaluate":i5,"avoid-inline-spacing-evaluate":YC,"braille-label-equivalent-evaluate":H5,"braille-roledescription-equivalent-evaluate":B5,"bypass-matches":e3,"caption-evaluate":Mk,"caption-faked-evaluate":IC,"color-contrast-evaluate":m5,"color-contrast-matches":KF,"css-orientation-lock-evaluate":Sk,"data-table-large-matches":XF,"data-table-matches":UF,"deprecatedrole-evaluate":q5,"dlitem-evaluate":Uk,"doc-has-title-evaluate":WC,"duplicate-id-active-matches":zF,"duplicate-id-after":nS,"duplicate-id-aria-matches":$F,"duplicate-id-evaluate":tS,"duplicate-id-misc-matches":HF,"duplicate-img-label-evaluate":yT,"exists-evaluate":GC,"explicit-evaluate":vT,"fallbackrole-evaluate":N5,"focusable-content-evaluate":HT,"focusable-disabled-evaluate":qT,"focusable-element-evaluate":OT,"focusable-modal-open-evaluate":PT,"focusable-no-name-evaluate":IT,"focusable-not-tabbable-evaluate":RT,"frame-focusable-content-evaluate":kT,"frame-focusable-content-matches":qF,"frame-tested-after":Lk,"frame-tested-evaluate":Fk,"frame-title-has-text-matches":OF,"has-alt-evaluate":jC,"has-descendant-after":t5,"has-descendant-evaluate":QT,"has-global-aria-attribute-evaluate":P5,"has-implicit-chromium-role-matches":PF,"has-lang-evaluate":Zk,"has-text-content-evaluate":JT,"has-widget-role-evaluate":I5,"heading-matches":IF,"heading-order-after":lk,"heading-order-evaluate":sk,"help-same-as-label-evaluate":hT,"hidden-content-evaluate":HE,"hidden-explicit-label-evaluate":pT,"html-namespace-matches":FF,"html5-scope-evaluate":RC,"identical-links-same-purpose-after":ak,"identical-links-same-purpose-evaluate":rk,"identical-links-same-purpose-matches":TF,"implicit-evaluate":dT,"inline-style-property-evaluate":HC,"inserted-into-focus-order-matches":SF,"internal-link-present-evaluate":ES,"invalid-children-evaluate":$k,"invalidrole-evaluate":R5,"is-element-focusable-evaluate":k5,"is-initiator-matches":mh,"is-on-screen-evaluate":BC,"is-visible-matches":AF,"is-visible-on-screen-matches":_F,"label-content-name-mismatch-evaluate":uT,"label-content-name-mismatch-matches":DF,"label-matches":wF,"landmark-has-body-context-matches":bF,"landmark-is-top-level-evaluate":ST,"landmark-is-unique-after":rT,"landmark-is-unique-evaluate":eT,"landmark-unique-matches":hF,"layout-table-matches":mF,"link-in-text-block-evaluate":p5,"link-in-text-block-matches":fF,"link-in-text-block-style-evaluate":u5,"listitem-evaluate":Vk,"matches-definition-evaluate":KT,"meta-refresh-evaluate":_S,"meta-viewport-scale-evaluate":Ek,"multiple-label-evaluate":oT,"nested-interactive-matches":cF,"no-autoplay-audio-evaluate":Tk,"no-autoplay-audio-matches":lF,"no-empty-role-matches":oF,"no-explicit-name-required-matches":ph,"no-focusable-content-evaluate":AT,"no-implicit-explicit-label-evaluate":C5,"no-naming-method-matches":aF,"no-negative-tabindex-matches":rF,"no-role-matches":eF,"non-empty-if-present-evaluate":NC,"not-html-matches":ZR,"object-is-loaded-matches":YR,"only-dlitems-evaluate":Hk,"only-listitems-evaluate":Bk,"p-as-heading-evaluate":wS,"p-as-heading-matches":WR,"page-no-duplicate-after":XT,"page-no-duplicate-evaluate":UT,"presentation-role-conflict-matches":GR,"presentational-role-evaluate":MC,"region-after":gS,"region-evaluate":dS,"same-caption-summary-evaluate":CC,"scope-value-evaluate":EC,"scrollable-region-focusable-matches":VR,"skip-link-evaluate":uS,"skip-link-matches":HR,"structured-dlitems-evaluate":Nk,"summary-interactive-matches":NR,"svg-namespace-matches":Eu,"svg-non-empty-title-evaluate":PC,"tabindex-evaluate":_T,"table-or-grid-role-matches":OR,"target-offset-evaluate":Dk,"target-size-evaluate":mk,"td-has-header-evaluate":_C,"td-headers-attr-evaluate":xC,"th-has-data-cells-evaluate":wC,"title-only-evaluate":aT,"unique-frame-title-after":sS,"unique-frame-title-evaluate":iS,"unsupportedrole-evaluate":A5,"valid-lang-evaluate":Kk,"valid-scrollable-semantics-evaluate":D5,"widget-not-inline-matches":IR,"window-is-top-matches":RR,"xml-lang-mismatch-evaluate":Xk,"xml-lang-mismatch-matches":kR},jo=h3;function g3(e){this.id=e.id,this.data=null,this.relatedNodes=[],this.result=null;}var Cu=g3;function Su(e){if(typeof e=="string"){if(jo[e])return jo[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 gh(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return (Array.isArray(e)||de(e)!=="object")&&(e={value:e}),e}function Wn(e){e&&(this.id=e.id,this.configure(e));}Wn.prototype.enabled=true,Wn.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 Cu(this),u=zs(l,r,a,i),c;try{c=this.evaluate.call(u,t.actualNode,s,t,n);}catch(h){t&&t.actualNode&&(h.errorNode=ur.toSpec(t)),i(h);return}u.isAsync||(l.result=c,a(l));}else a(null);},Wn.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 Cu(this),u=zs(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(h){throw t&&t.actualNode&&(h.errorNode=ur.toSpec(t)),h}return l.result=c,l},Wn.prototype.configure=function(t){var r=this;(!t.evaluate||jo[t.evaluate])&&(this._internalCheck=true),t.hasOwnProperty("enabled")&&(this.enabled=t.enabled),t.hasOwnProperty("options")&&(this._internalCheck?this.options=gh(t.options):this.options=t.options),["evaluate","after"].filter(function(n){return t.hasOwnProperty(n)}).forEach(function(n){return r[n]=Su(t[n])});},Wn.prototype.getOptions=function(t){return this._internalCheck?nl(this.options,gh(t||{})):t||this.options};var vh=Wn;function v3(e){this.id=e.id,this.result=Xe.NA,this.pageLevel=e.pageLevel,this.impact=null,this.nodes=[];}var zo=v3;function Xt(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=Su(e.matches));}Xt.prototype.matches=function(){return true},Xt.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=ou(this.selector,t);return this.excludeHidden&&(r.performanceTimer&&st.mark(i),s=s.filter(function(l){return yt(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},Xt.prototype.runChecks=function(t,r,n,a,i,o){var s=this,l=Cr();this[t].forEach(function(u){var c=s._audit.checks[u.id||u],h=Co(c,s.id,n);l.defer(function(b,E){c.run(r,h,a,b,function(R){E(new Io({ruleId:s.id,method:"".concat(c.id,"#evaluate"),errorNode:new lr(r),error:R}));});});}),l.then(function(u){u=u.filter(function(c){return c}),i({type:t,results:u});}).catch(o);},Xt.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=Co(l,i.id,n);o.push(l.runSync(r,u,a));}),o=o.filter(function(s){return s}),{type:t,results:o}},Xt.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=Cr(),s=new zo(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,h){var b=Cr();["any","all","none"].forEach(function(E){b.defer(function(R,O){r.runChecks(E,u,n,t,R,O);});}),b.then(function(E){var R=bh(E);R&&(R.node=new lr(u),s.nodes.push(R),r.reviewOnFail&&(["any","all"].forEach(function(O){R[O].forEach(function(B){B.result===false&&(B.result=void 0);});}),R.none.forEach(function(O){O.result===true&&(O.result=void 0);}))),c();}).catch(function(E){return h(E)});});}),o.then(function(){n.performanceTimer&&r._logRulePerformance(),setTimeout(function(){a(s);},0);}).catch(function(u){n.performanceTimer&&r._logRulePerformance(),i(u);});},Xt.prototype.runSync=function(t){var r=this,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};n.performanceTimer&&this._trackPerformance();var a=new zo(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=bh(s);l&&(l.node=o.actualNode?new lr(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},Xt.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;},Xt.prototype._logGatherPerformance=function(t){wn("gather for ".concat(this.id," (").concat(t.length," nodes): ").concat(st.timeElapsed(),"ms")),st.mark(this._markChecksStart);},Xt.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 bh(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}}Xt.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 Io({ruleId:n.id,method:"#matches",errorNode:new lr(s),error:l})}}),r.performanceTimer&&(st.mark(i),st.measure("rule_"+this.id+"#matches",a,i)),o};function b3(e){return eo(e).map(function(t){var r=e._audit.checks[t.id||t];return r&&typeof r.after=="function"?r:null}).filter(Boolean)}function y3(e,t){var r=[];return e.forEach(function(n){var a=eo(n);a.forEach(function(i){i.id===t&&(i.node=n.node,r.push(i));});}),r}function w3(e){return e.filter(function(t){return t.filtered!==true})}function x3(e){var t=["any","all","none"],r=e.nodes.filter(function(n){var a=0;return t.forEach(function(i){n[i]=w3(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}Xt.prototype.after=function(t,r){var n=this,a=b3(this);return a.forEach(function(i){var o=y3(t.nodes,i.id),s=Co(i,n.id,r),l;try{l=i.after(o,s.options);}catch(c){var u;throw new Io({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 h=(n.any.includes(c.id)||n.all.includes(c.id))&&c.result===false,b=n.none.includes(c.id)&&c.result===true;(h||b)&&(c.result=void 0);}),o.forEach(function(c){delete c.node,l.indexOf(c)===-1&&(c.filtered=true);});}),t.nodes=x3(t),t},Xt.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=Su(t.matches)),t.impact&&(nt(Xe.impact.includes(t.impact),"Impact ".concat(t.impact," is not a valid impact")),this.impact=t.impact);};var Xn=/\{\{.+?\}\}/g,D3=(function(){function e(t){nr(this,e),this.lang="en",this.defaultConfig=t,this.standards=at,this._init(),this._defaultLocale=null;}return Gt(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 h=Object.keys(this.data.rules),b=0;b<h.length;b++){var E=h[b],R=this.data.rules[E],O=R.description,B=R.help;r.rules[E]={description:O,help:B};}for(var $=Object.keys(this.data.failureSummaries),z=0;z<$.length;z++){var X=$[z],Y=this.data.failureSummaries[X],J=Y.failureMessage;r.failureSummaries[X]={failureMessage:J};}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]=A3(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]=E3(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]=C3(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=S3(this.data.incompleteFallbackMessage,r.incompleteFallbackMessage)),r.lang&&(this.lang=r.lang);}},{key:"setAllowedOrigins",value:function(r){var n=wh();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=_3(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,xh(r.rules,this,"addRule"),xh(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 Xt(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 vh(r);}},{key:"run",value:function(r,n,a,i){this.normalizeOptions(n),lr.setRunOptions(n),p._selectCache=[];var o=k3(this.rules,r,n),s=o.now,l=o.later,u=Cr();s.forEach(function(b){u.defer(Dh(b,r,n));});var c=Cr();l.length&&c.defer(function(b){Wm(n).then(function(E){return b(E)}).catch(function(E){console.warn("Couldn't load preload assets: ",E),b(void 0);});});var h=Cr();h.defer(u),h.defer(c),h.then(function(b){var E=b.pop();if(E&&E.length){var R=E[0];R&&(r=we({},r,R));}var O=b[0];if(!l.length){p._selectCache=void 0,a(O.filter(function($){return !!$}));return}var B=Cr();l.forEach(function($){var z=Dh($,r,n);B.defer(z);}),B.then(function($){p._selectCache=void 0,a(O.concat($).filter(function(z){return !!z}));}).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=La(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 _h(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(h){a.includes(h)||a.push(h);});}),["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&&p.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=(p.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===Ah(n,i.id,a))&&(o.helpUrl=Ah(r,i.id,a));});}},{key:"resetRulesAndChecks",value:function(){this._init(),this._resetLocale();}}])})(),yh=D3;function wh(){if(f.origin&&f.origin!=="null")return f.origin;if(f.location&&f.location.origin&&f.location.origin!=="null")return f.location.origin}function _3(e){var t;if(e?(t=Vr(e),t.commons=e.commons):t={},t.reporter=t.reporter||null,t.noHtml=t.noHtml||false,!t.allowedOrigins){var r=wh();t.allowedOrigins=r?[r]:[];}return t.rules=t.rules||[],t.checks=t.checks||[],t.data=we({checks:{},rules:{}},t.data),t}function xh(e,t,r){var n,a;for(n=0,a=e.length;n<a;n++)t[r](e[n]);}var A3=function(t,r){var n=r.pass,a=r.fail;return typeof n=="string"&&Xn.test(n)&&(n=Zr.default.compile(n)),typeof a=="string"&&Xn.test(a)&&(a=Zr.default.compile(a)),we({},t,{messages:{pass:n||t.messages.pass,fail:a||t.messages.fail,incomplete:de(t.messages.incomplete)==="object"?we({},t.messages.incomplete,r.incomplete):r.incomplete}})},E3=function(t,r){var n=r.help,a=r.description;return typeof n=="string"&&Xn.test(n)&&(n=Zr.default.compile(n)),typeof a=="string"&&Xn.test(a)&&(a=Zr.default.compile(a)),we({},t,{help:n||t.help,description:a||t.description})},C3=function(t,r){var n=r.failureMessage;return typeof n=="string"&&Xn.test(n)&&(n=Zr.default.compile(n)),we({},t,{failureMessage:n||t.failureMessage})},S3=function(t,r){return typeof r=="string"&&Xn.test(r)&&(r=Zr.default.compile(r)),r||t};function k3(e,t,r){var n={now:[],later:[]},a=e.reduce(function(i,o){return Zm(o,t,r)?o.preload?(i.later.push(o),i):(i.now.push(o),i):i},n);return a}function Dh(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(_h(e,i));});}}function _h(e,t){var r=t.errorNode,n=Fo(t),a=[{id:"error-occurred",result:void 0,data:n,relatedNodes:[]}],i=r||new lr(m.documentElement);return Object.assign(new zo(e),{error:n,result:Xe.CANTTELL,nodes:[{any:[],all:[],none:a,node:i}]})}function Ah(e,t,r){var n=e.brand,a=e.application,i=e.lang;return Xe.helpUrlBase+n+"/"+(r||p.version.substring(0,p.version.lastIndexOf(".")))+"/"+t+"?application="+encodeURIComponent(a)+(i&&i!=="en"?"&lang="+encodeURIComponent(i):"")}function Eh(e){var t=f&&"Node"in f&&"NodeList"in f,r=!!m;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||(We.set("globalDocumentSet",true),m=e.ownerDocument),t||(We.set("globalWindowSet",true),f=m.defaultView);}}function T3(){We.get("globalDocumentSet")&&(We.set("globalDocumentSet",false),m=null),We.get("globalWindowSet")&&(We.set("globalWindowSet",false),f=null);}function R3(){T3(),p._memoizedFns.forEach(function(e){return e.clear()}),We.clear(),p._tree=void 0,p._selectorData=void 0,p._selectCache=void 0;}var fn=R3;function Ch(e,t,r,n){try{e=new So(e),p._tree=e.flatTree,p._selectorData=Wi(e.flatTree);}catch(o){return fn(),n(o)}var a=Cr(),i=p._audit;t.performanceTimer&&st.auditStart(),e.frames.length&&t.iframes!==false&&a.defer(function(o,s){qf(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=to(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(Ro),s=s.map(ma));try{r(s,fn);}catch(l){fn(),wn(l);}}catch(l){fn(),n(l);}}).catch(function(o){fn(),n(o);});}function F3(e){p._audit=new yh(e);}function I3(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=[m]);var o=e&&e.options||{};switch(e.command){case "rules":return Ch(i,o,function(s,l){s=ur.mapRawResults(s),n(s),l();},a);case "cleanup-plugin":return s1(n,a);default:if(p._audit&&p._audit.commands&&p._audit.commands[e.command])return p._audit.commands[e.command](e,r)}}f.top!==f&&(yr.subscribe("axe.start",I3),yr.subscribe("axe.ping",function(e,t,r){r({axe:true});}));function ri(e){this._run=e.run,this._collect=e.collect,this._registry={},e.commands.forEach(function(t){p._audit.registerCommand(t);});}ri.prototype.run=function(){return this._run.apply(this,arguments)},ri.prototype.collect=function(){return this._collect.apply(this,arguments)},ri.prototype.cleanup=function(t){var r=p.utils.queue(),n=this;Object.keys(this._registry).forEach(function(a){r.defer(function(i){n._registry[a].cleanup(i);});}),r.then(t);},ri.prototype.add=function(t){this._registry[t.id]=t;};function L3(e){p.plugins[e.id]=new ri(e);}var P3=L3;function M3(){var e=p._audit;if(!e)throw new Error("No audit configured");e.resetRulesAndChecks(),e2();}var O3=M3;function N3(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};r.reporter=r.reporter||p._audit.reporter||"v1",p._selectorData={},t instanceof Lt||(t=new o1(t));var n=Lm(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);Ro(i),ma(i);var o=Xc([i]);return o.violations.forEach(function(s){return s.nodes.forEach(function(l){l.failureSummary=Xl(l);})}),we({},cn(),o,{toolOptions:r})}function Sh(e){var t,r,n,a=De(e,3),i=a[0],o=a[1],s=a[2],l=new TypeError("axe.run arguments are invalid");if(!Nm(i)){if(s!==void 0)throw l;s=o,o=i,i=m;}if(de(o)!=="object"){if(s!==void 0)throw l;s=o,o={};}if(typeof s!="function"&&s!==void 0)throw l;return o=Vr(o),o.reporter=(t=(r=o.reporter)!==null&&r!==void 0?r:(n=p._audit)===null||n===void 0?void 0:n.reporter)!==null&&t!==void 0?t:"v1",{context:i,options:o,callback:s}}var ku=function(){};function q3(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];Eh(t[0]);var n=Sh(t),a=n.context,i=n.options,o=n.callback,s=o===void 0?ku:o,l=B3(s),u=l.thenable,c=l.resolve,h=l.reject;try{nt(p._audit,"No audit configured"),nt(!p._running,"Axe is already running. Use `await axe.run()` to wait for the previous run to finish before starting a new run.");}catch(R){return V3(R,s)}p._running=true,i.performanceTimer&&st.start();function b(R,O){var B=function(X){i.performanceTimer&&(st.mark("reporterEnd"),st.measure("reporter","reporterStart","reporterEnd"),st.logMeasures("reporter"),st.end()),p._running=false,O();try{c(X);}catch(Y){p.log(Y);}},$=function(X){p._running=false,O();try{h(X);}catch(Y){p.log(Y);}};try{i.performanceTimer&&st.mark("reporterStart"),H3(R,i,B,$);}catch(z){$(z);}}function E(R){i.performanceTimer&&st.end(),p._running=false,s(R),h(R);}return p._runRules(a,i,b,E),u}function B3(e){var t,r,n;return typeof Promise=="function"&&e===ku?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 H3(e,t,r,n){var a=uu(t.reporter),i=a(e,t,r,n);i!==void 0&&r(i);}function V3(e,t){if(typeof t=="function"&&t!==ku){t(e.message);return}throw e}function $3(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=Sh(t),a=n.options,i=n.context;nt(p._audit,"Axe is not configured. Audit is missing."),nt(!p._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 So(i,p._tree);return p._tree=o.flatTree,p._selectorData=Wi(o.flatTree),p._running=true,a.elementRef=false,new Promise(function(s,l){p._audit.run(o,a,s,l);}).then(function(s){s=ur.mapRawResults(s);var l=o.frames.map(function(c){var h=c.node;return ur.toSpec(h)}),u;return o.initiator&&(u=cn()),p._running=false,fn(),{results:s,frames:l,environmentData:u}}).catch(function(s){return p._running=false,fn(),Promise.reject(s)})}function j3(e){var t,r,n,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};a=Vr(a);var i=e.find(function(l){return l.environmentData})||{},o=i.environmentData;p._audit.normalizeOptions(a),a.reporter=(t=(r=a.reporter)!==null&&r!==void 0?r:(n=p._audit)===null||n===void 0?void 0:n.reporter)!==null&&t!==void 0?t:"v1",z3(e);var s=to(e);return s=p._audit.after(s,a),s.forEach(Ro),s=s.map(ma),U3(s,we({environmentData:o},a))}function z3(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=G3(a);t.unshift.apply(t,_e(o));}}}catch(s){r.e(s);}finally{r.f();}}function G3(e){var t=e.frames,r=e.frameSpec;return r?t.map(function(n){return ur.mergeSpecs(n,r)}):t}function U3(e,t){return new Promise(function(r,n){var a=uu(t.reporter);a(e,t,r,n);})}function W3(e){if(p._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),Eh(e),p._tree=Ul(e),p._selectorData=Wi(p._tree),p._tree[0]}var X3=W3,Y3=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=Z(a,U);n(we({},cn(i),{toolOptions:o},Xa(t,r)));},K3=Y3,J3=function(t,r,n){typeof r=="function"&&(n=r,r={});var a=r,i=a.environmentData,o=Z(a,Q);r.resultTypes=["violations"];var s=Xa(t,r),l=s.violations;n(we({},cn(i),{toolOptions:o,violations:l}));},Z3=J3,Q3=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=we({},i),s=["passes","violations","incomplete","inapplicable"],l=0,u=s;l<u.length;l++){var c=u[l];o[c]=ur.mapRawNodeResults(o[c]);}return o});n(a);},kh=Q3,eI=function(t,r,n){typeof r=="function"&&(n=r,r={});var a=r,i=a.environmentData,o=Z(a,k);kh(t,o,function(s){var l=cn(i);n({raw:s,env:l});});},tI=eI,rI=function(t,r,n){typeof r=="function"&&(n=r,r={});var a=r,i=a.environmentData,o=Z(a,v),s=Xa(t,r),l=function(c){c.nodes.forEach(function(h){h.failureSummary=Xl(h);});};s.incomplete.forEach(l),s.violations.forEach(l),n(we({},cn(i),{toolOptions:o},s));},nI=rI,aI=function(t,r,n){typeof r=="function"&&(n=r,r={});var a=r,i=a.environmentData,o=Z(a,T),s=Xa(t,r);n(we({},cn(i),{toolOptions:o},s));},iI=aI,oI={base:{Audit:yh,CheckResult:Cu,Check:vh,Context:So,RuleResult:zo,Rule:Xt,metadataFunctionMap:jo},public:{reporters:Ka},helpers:{failureSummary:Xl,incompleteFallbackMessage:Yl,processAggregate:Xa},utils:{setDefaultFrameMessenger:If,cacheNodeSelectors:Em,getNodesMatchingExpression:_m,convertSelector:Yi},commons:{dom:{nativelyHidden:$f,displayHidden:jf,visibilityHidden:zf,contentVisibiltyHidden:Gf,ariaHidden:Uf,opacityHidden:Wf,scrollHidden:Xf,overflowHidden:Yf,clipHidden:Kf,areaHidden:sl,detailsHidden:Jf}}},sI=oI;p._thisWillBeDeletedDoNotUse=sI,p.constants=Xe,p.log=wn,p.AbstractVirtualNode=Lt,p.SerialVirtualNode=o1,p.VirtualNode=jl,p._cache=We,p.imports=Zc,p.cleanup=s1,p.configure=ME,p.frameMessenger=OE,p.getRules=qE,p._load=F3,p.plugins={},p.registerPlugin=P3,p.hasReporter=u1,p.getReporter=uu,p.addReporter=LE,p.reset=O3,p._runRules=Ch,p.runVirtualRule=N3,p.run=q3,p.setup=X3,p.teardown=fn,p.runPartial=$3,p.finishRun=j3,p.commons=F1,p.utils=gs,p.addReporter("na",K3),p.addReporter("no-passes",Z3),p.addReporter("rawEnv",tI),p.addReporter("raw",kh),p.addReporter("v1",nI),p.addReporter("v2",iI,true);}))(),p._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:",ve=oe;if(ve)for(var Ue,tt=-1,ot=ve.length-1;tt<ot;)Ue=ve[tt+=1],ue+=`
|
|
378
|
+
`+Ue.split(`
|
|
379
379
|
`).join(`
|
|
380
|
-
`);return
|
|
381
|
-
`+
|
|
380
|
+
`);return ue}},none:{failureMessage:function(oe){var ue="Fix all of the following:",ve=oe;if(ve)for(var Ue,tt=-1,ot=ve.length-1;tt<ot;)Ue=ve[tt+=1],ue+=`
|
|
381
|
+
`+Ue.split(`
|
|
382
382
|
`).join(`
|
|
383
|
-
`);return de}}},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:Bg);});var sv={};Dr(sv,{dismissModals:()=>ov});async function ov(d){await d.evaluate(f=>{for(let g of f){let m=document.querySelectorAll(g);for(let p of m)if(p.offsetParent!==null){p.click();return}}},_P),await new Promise(f=>setTimeout(f,500));}var _P,rc=xr(()=>{_P=['[class*="cookie"] button[class*="accept"]','[class*="cookie"] button[class*="agree"]','[class*="consent"] button[class*="accept"]','[class*="consent"] button[class*="agree"]','[id*="cookie"] button','[id*="consent"] button',".cc-dismiss",".cc-allow",".cc-btn",'[class*="gdpr"] button[class*="accept"]','[aria-label*="cookie" i] button','[aria-label*="consent" i] button','button[class*="close-banner"]','[class*="popup"] [class*="close"]','[class*="overlay"] [class*="close"]','[class*="modal"] [class*="close"]','[class*="notification"] [class*="close"]','button[aria-label="Close"]','button[aria-label="Dismiss"]'];});var Jo={};Dr(Jo,{pruneHiddenIframeIssues:()=>kP,pruneInvisibleContrast:()=>SP,waitForRenderSettle:()=>EP});async function EP(d,f=4e3){let g=Date.now()+f;try{await d.waitForLoadState?.("load",{timeout:Math.min(f/2,2e3)});}catch{}let m="";for(;Date.now()<g;){let p;try{p=await d.evaluate(()=>{let w=typeof document.getAnimations=="function"?document.getAnimations():[],D=0;for(let E of w){if(E.playState!=="running")continue;let y;try{y=E.effect?.getComputedTiming?.().iterations;}catch{y=void 0;}y!==1/0&&D++;}let x="",C=document.body?document.body.querySelectorAll('[style*="opacity"]'):[],I=Math.min(C.length,50);for(let E=0;E<I;E++)x+=getComputedStyle(C[E]).opacity+",";return D+"|"+x});}catch{return}if(p.indexOf("0|")===0&&p===m)return;m=p,await new Promise(w=>setTimeout(w,150));}}function lv(d){return CP.has(d.wcag)||/contrast/i.test(d.type||"")}async function SP(d,f){let g=Array.from(new Set(f.filter(D=>lv(D)&&D.selector).map(D=>D.selector))).slice(0,100);if(g.length===0)return f;let m;try{m=await d.evaluate(D=>{let x=[],C={},I=Math.max(document.documentElement.scrollWidth,window.innerWidth),E=Math.max(document.documentElement.scrollHeight,window.innerHeight),y=_=>{let R=_.match(/rgba?\(([^)]+)\)/);if(!R)return !1;let S=R[1].split(/[ ,/]+/).filter(Boolean);return S.length<4||parseFloat(S[3])>=.95};for(let _ of D){let R=null;try{R=document.querySelector(_);}catch{continue}if(!R)continue;let S=getComputedStyle(R),T=R.getBoundingClientRect(),M=S.clipPath&&S.clipPath!=="none"&&/inset\(\s*(?:50|100)%/.test(S.clipPath)||/rect\(\s*0(?:px)?\s*,?\s*0(?:px)?\s*,?\s*0(?:px)?\s*,?\s*0(?:px)?\s*\)/.test(S.clip||""),O=T.width<=1||T.height<=1,B=window.scrollX,H=window.scrollY,Y=T.right+B<=0||T.bottom+H<=0||T.left+B>=I||T.top+H>=E,Z=!1;if(Y)for(let G=R.parentElement;G&&G!==document.body&&G!==document.documentElement;G=G.parentElement){let J=getComputedStyle(G);if(J.overflowX!=="visible"||J.overflowY!=="visible"||J.transform&&J.transform!=="none"){Z=!0;break}}if(Y&&Z){C[_]="text is outside the visible page inside a scrolling / clipped container \u2014 check contrast where it is shown";continue}if(M||O||Y){x.push(_);continue}let k=R,v=!1;for(;k&&k!==document.documentElement;){if(parseFloat(getComputedStyle(k).opacity)===0){v=!0;break}k=k.parentElement;}if(v){C[_]="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 F=T.left+T.width/2,P=T.top+T.height/2,V=R,j=!1;for(let G=0;V&&V!==document.body&&G<8;G++){let J=getComputedStyle(V);if(y(J.backgroundColor)||J.backgroundImage&&J.backgroundImage!=="none")break;let ee=V.querySelectorAll("video, canvas, img, picture");for(let ae=0;ae<ee.length;ae++){let Q=ee[ae];if(Q.contains(R)||R.contains(Q))continue;let ce=Q.getBoundingClientRect();if(ce.width>0&&ce.height>0&&F>=ce.left&&F<=ce.right&&P>=ce.top&&P<=ce.bottom){j=!0;break}}if(j)break;V=V.parentElement;}j&&(C[_]="text sits over a video or image \u2014 the background behind the glyphs cannot be measured from CSS");}return {hidden:x,review:C}},g);}catch{return f}let p=new Set(m.hidden),w=[];for(let D of f){if(!lv(D)){w.push(D);continue}if(p.has(D.selector))continue;let x=m.review[D.selector];w.push(x&&D.confidence!=="needs_review"?{...D,confidence:"needs_review",reviewReason:x,...D.fix?{fix:{...D.fix,needsManualReview:true}}:{}}:D);}return w}async function kP(d,f){let g=Array.from(new Set(f.filter(w=>w.selector).map(w=>w.selector))).slice(0,200);if(g.length===0)return f;let m;try{m=await d.evaluate(w=>{let D=[];for(let x of w){let C=null;try{C=document.querySelector(x);}catch{continue}if(!C||C.tagName!=="IFRAME")continue;let I=getComputedStyle(C),E=C.getClientRects().length===0||I.visibility==="hidden"||I.visibility==="collapse",y=(C.getAttribute("src")||"").trim().toLowerCase().indexOf("javascript:")===0;(E||y)&&D.push(x);}return D},g);}catch{return f}if(m.length===0)return f;let p=new Set(m);return f.filter(w=>!p.has(w.selector))}var CP,Zo=xr(()=>{CP=new Set(["1.4.3","1.4.6","1.4.11"]);});var Qo={};Dr(Qo,{focusOnlyObscuredIndexes:()=>LP,resetInteractionState:()=>TP,restoreInteractionState:()=>FP,snapshotInteractionState:()=>RP});async function TP(d){try{await d.evaluate(()=>{try{document.activeElement?.blur?.();}catch{}try{window.scrollTo({left:0,top:0,behavior:"instant"});}catch{}});}catch{}}async function RP(d){try{await d.evaluate(()=>{let f=window;f.__waCallerState={el:document.activeElement,x:window.scrollX,y:window.scrollY};});}catch{}}async function FP(d){try{await d.evaluate(()=>{let f=window,g=f.__waCallerState;if(delete f.__waCallerState,!g)return;let m=g.el;if(m&&m!==document.body&&m!==document.documentElement&&m.isConnected)try{m.focus({preventScroll:!0});}catch{}try{window.scrollTo({left:g.x,top:g.y,behavior:"instant"});}catch{}});}catch{}}function IP(d){if(typeof d=="string")return d;if(!Array.isArray(d))return null;let f=d.flat(1/0).filter(g=>typeof g=="string");return f.length===1?f[0]:null}async function LP(d,f){let g=f.map(D=>{let C=[...D.any??[],...D.none??[]].flatMap(E=>E.relatedNodes??[]);if(!C.length)return null;let I=C.map(E=>IP(E.target));return I.every(E=>!!E)?I:null}),m=Array.from(new Set(g.flatMap(D=>D??[])));if(!m.length)return new Set;let p={};try{p=await d.evaluate(({sels:D,own:x})=>{let C=E=>{let y=E.getBoundingClientRect(),_=getComputedStyle(E);return !!((y.width<=1||y.height<=1)&&(_.overflow==="hidden"||_.position==="absolute"||_.position==="fixed")||/^rect\(\s*0(px)?[\s,]+0(px)?[\s,]+0(px)?[\s,]+0(px)?\s*\)$/.test(_.clip||"")||/inset\(\s*50%/.test(_.clipPath||""))},I={};for(let E of D){let y=null;try{y=document.querySelector(E);}catch{y=null;}if(!y){I[E]=!1;continue}let _=y.closest(x);if(_&&_!==document.body&&_!==document.documentElement){I[E]=!0;continue}if(y===document.activeElement){try{y.blur();}catch{}I[E]=C(y);continue}I[E]=C(y);}return I},{sels:m,own:Wo});}catch{return new Set}let w=new Set;return g.forEach((D,x)=>{D&&D.length&&D.every(C=>p[C]===true)&&w.add(x);}),w}var es=xr(()=>{Pr();});var aa={};Dr(aa,{dedupeByElementIdentity:()=>qP,deduplicateIssues:()=>PP});function PP(d){let f=new Map,g=[...d].sort((m,p)=>{let w={webability:0,"axe-core":1,"deep-analysis":2},D=w[m.source]??3,x=w[p.source]??3;return D-x});for(let m of g){let p=MP(m);f.has(p)?!f.get(p).fix?.suggestedValue&&m.fix?.suggestedValue&&f.set(p,m):f.set(p,m);}return Array.from(f.values())}function MP(d){let f=d.selector.replace(/:focus-visible$/,"").replace(/:focus$/,"").replace(/\[data-[^\]]+\]/g,"").trim(),g=d.wcag||"";return f&&g?`${f}::${g}`:`${d.type}::${f||d.id}`}async function qP(d,f){if(f.length<2)return f;let g=Array.from(new Set(f.map(E=>E.selector).filter(Boolean))),m;try{m=await d.evaluate(E=>{let y=Array.from(document.querySelectorAll("*")),_=new Map;y.forEach((S,T)=>_.set(S,T));let R={};for(let S of E){let T=null;try{T=document.querySelector(S);}catch{}if(!T){let M=S.replace(/:(?:focus-visible|focus-within|focus|hover|active)$/,"");if(M!==S)try{T=document.querySelector(M);}catch{}}if(T){let M=T.closest("table");R[S]={el:_.get(T),table:M?_.get(M):-1,doc:T===document.documentElement||T===document.body};}}return R},g);}catch{return f}let p={webability:0,"axe-core":1,"deep-analysis":2},w=E=>{let y=m[E.selector];if(!y)return null;let _=E.wcag||E.type;return y.doc?{key:NP.has(E.wcag||"")?`doc::${_}`:`doc::${_}::${E.type}`,owner:true}:y.table>=0&&OP.test(E.type)?{key:`${y.table}::${_}::table-headers`,owner:y.el===y.table}:{key:`${y.el}::${_}`,owner:true}},D=[...f].sort((E,y)=>{let _=w(E),R=w(y),S=_?.owner?0:1,T=R?.owner?0:1;return S-T||(p[E.source]??3)-(p[y.source]??3)}),x=new Map,C=[];for(let E of D){let y=w(E);if(!y){C.push(E);continue}let _=x.get(y.key);_?!_.fix?.suggestedValue&&E.fix?.suggestedValue&&(w(_)?.owner??true)===y.owner&&x.set(y.key,E):x.set(y.key,E);}let I=new Set([...x.values(),...C]);return f.filter(E=>I.has(E))}var OP,NP,ia=xr(()=>{OP=/^missing_table_header$|^td-has-header$|^th-has-data-cells$|^h43|^h63/,NP=new Set(["2.4.1","3.1.1","2.4.2"]);});var dv={};Dr(dv,{parseGif:()=>uv,playsOverFiveSeconds:()=>cv,verifyAnimatedGifs:()=>BP});function uv(d){if(String.fromCharCode(d[0]??0,d[1]??0,d[2]??0)!=="GIF")return null;let g=13,m=d[10]??0;m&128&&(g+=3*(1<<(m&7)+1));let p=0,w=0,D=0,x=null,C=()=>{for(;g<d.length;){let I=d[g++];if(I===0)return;g+=I;}};for(;g<d.length;){let I=d[g++];if(I===59)break;if(I===33){let E=d[g++];if(E===249)D=(d[g+2]??0)|(d[g+3]??0)<<8,g+=1+(d[g]??4),C();else if(E===255){let y=d[g]??0,_=String.fromCharCode(...Array.from(d.subarray(g+1,g+1+y)));g+=1+y,(_==="NETSCAPE2.0"||_==="ANIMEXTS1.0")&&d[g]===3&&d[g+1]===1&&(x=(d[g+2]??0)|(d[g+3]??0)<<8),C();}else C();}else if(I===44){let E=d[g+8]??0;g+=9,E&128&&(g+=3*(1<<(E&7)+1)),g+=1,C(),p++,w+=D<2?10:D,D=0;}else break}return {frames:p,seconds:w/100,loops:x}}function cv(d){if(d.frames<2)return false;if(d.loops===0)return true;let f=d.loops===null?1:d.loops+1;return d.seconds*f>5}async function BP(d,f){let g=f.filter(w=>w.type==="animated_gif_no_pause");if(!g.length)return f;let m=Array.from(new Set(g.map(w=>w.selector))),p={};try{p=await d.evaluate(async({sels:w,parserSrc:D})=>{let x=new Function("var __name = function (f) { return f }; return ("+D+")")(),C={};return await Promise.all(w.map(async I=>{C[I]=null;try{let E=document.querySelector(I),y=E&&(E.currentSrc||E.src);if(!y)return;let _=new AbortController,R=setTimeout(()=>_.abort(),5e3);try{let S=await fetch(y,{signal:_.signal,credentials:"same-origin"});if(!S.ok||Number(S.headers.get("content-length")||"0")>2e7)return;C[I]=x(new Uint8Array(await S.arrayBuffer()));}finally{clearTimeout(R);}}catch{}})),C},{sels:m,parserSrc:uv.toString()});}catch{p={};}return f.flatMap(w=>{if(w.type!=="animated_gif_no_pause")return [w];let D=p[w.selector];if(!D)return [{...w,message:`${w.message} \u2014 the GIF file could not be read from the page (cross-origin or blocked), so its frame count and duration were not measured`}];if(!cv(D))return [];let x=D.loops===0?"loops forever":`plays for ${(D.seconds*(D.loops===null?1:D.loops+1)).toFixed(1)}s`;return [{...w,message:`animated GIF (${D.frames} frames, ${x}) starts automatically with no pause control \u2014 replace it with a video that has controls or a static image, or add a pause button (WCAG 2.2.2)`}]})}var fv=xr(()=>{});var nc={};Dr(nc,{scopeIssuesToRoot:()=>HP});async function HP(d,f,g){let m=Array.from(new Set(f.map(w=>w.selector).filter(Boolean))),p;try{p=await d.evaluate(({rootSel:w,sels:D})=>{let x=E=>{try{let _=document.querySelector(E);if(_)return _}catch{}let y=E.replace(/:(?:focus-visible|focus-within|focus|hover|active)$/,"");if(y!==E)try{return document.querySelector(y)}catch{return null}return null},C=null;try{C=document.querySelector(w);}catch{return {invalid:!0,matched:!1,within:{}}}if(!C)return {invalid:!1,matched:!1,within:{}};let I={};for(let E of D){let y=x(E);I[E]=y?y===C||C.contains(y):!0;}return {invalid:!1,matched:!0,within:I}},{rootSel:g,sels:m});}catch{return {issues:f,warning:`scope:evaluate-failed (${g}) \u2014 results unfiltered`}}return p.invalid?{issues:f,warning:`scope:invalid-selector (${g}) \u2014 results unfiltered`}:p.matched?{issues:f.filter(w=>w.selector?p.within[w.selector]===true:true)}:{issues:[],warning:`scope:root-miss (${g} matched nothing \u2014 empty result)`}}var ac=xr(()=>{});var Iu=new Set(["adjacent_redundant_link","missing_button_type","decorative_image_with_title","nested_landmark"]),ni={weak_link_name:"2.4.4",weak_heading:"2.4.6",weak_iframe_title:"4.1.2",weak_page_title:"2.4.2",weak_svg_name:"1.1.1",missing_button_role:"4.1.2",missing_semantic_role:"4.1.2",missing_document_language:"3.1.1",svg_missing_name:"1.1.1",aria_hidden_focusable:"4.1.2",contrast_insufficient:"1.4.3",non_text_contrast_insufficient:"1.4.11",focus_not_visible:"2.4.7",empty_link:"2.4.4",unlabeled_button:"4.1.2",missing_label:"1.3.1",skip_link:"2.4.1",aria_live:"4.1.3",missing_alt:"1.1.1",identify_input_purpose:"1.3.5",redundant_role:"4.1.2",new_window_link:"3.2.5",missing_fieldset_legend:"1.3.1",missing_table_header:"1.3.1",missing_table_caption:"1.3.1",missing_table_scope:"1.3.1",external_link_warning:"3.2.5",download_link_warning:"3.2.5",form_missing_submit:"3.2.2",placeholder_link:"2.4.4",missing_autocomplete:"1.3.5",missing_media_controls:"2.2.2",unsafe_autoplay:"1.4.2",zoom_restriction:"1.4.4",resize_text_clipped:"1.4.4",link_consistency:"3.2.4",keyboard_trap:"2.1.1",keyboard_trap_self_focus:"2.1.2",focus_order_disruption:"2.4.3",missing_captions:"1.2.2",color_only_link:"1.4.1",label_in_name:"2.5.3",onfocus_context_change:"3.2.1",focus_obscured_by_sticky:"2.4.11",text_spacing_blocked:"1.4.12",motion_uncontrollable:"2.2.2",auto_refresh:"2.2.1",motion_without_reduced_motion:"2.3.3",flashing_content:"2.3.1",animated_gif_no_pause:"2.2.2",carousel_autoplay_no_pause:"2.2.2",missing_required_indicator:"3.3.2",background_image_unlabeled:"1.1.1",broken_aria_reference:"4.1.2",main_content_hidden:"4.1.2",meaningful_sequence:"1.3.2",sensory_characteristic:"1.3.3",image_of_text:"1.4.5",reflow_overflow:"1.4.10",missing_audio_description:"1.2.5",missing_transcript:"1.2.1",character_key_shortcut:"2.1.4",on_input_change:"3.2.2",pointer_gesture:"2.5.1",pointer_cancellation:"2.5.2",motion_actuation:"2.5.4",error_prevention_missing:"3.3.4",inconsistent_navigation:"3.2.3",adjacent_redundant_link:"2.4.4",missing_button_type:"3.2.2",decorative_image_with_title:"1.1.1",nested_landmark:"1.3.1"},ai={mobile:{width:375,height:667},tablet:{width:768,height:1024},desktop:{width:1280,height:720}};var hI=()=>{let d="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye]",g=[],m=new Set;function p(x){let C=(x.textContent||"").trim().replace(/\s+/g,""),I=x.querySelector("img, svg, picture")!==null,E=x.querySelector("i[class], span[class]")!==null;if(C.length>0&&!I&&!E)return false;if(I){let y=x.querySelectorAll("img"),_="";y.forEach(T=>{_+=(T.getAttribute("alt")||"").trim();});let R=C.replace(/\s+/g,""),S=_.replace(/\s+/g,"");return R===""||R===S}return false}function w(x){let C=x.nextElementSibling;for(;C;){if(isVisible(C))return C;C=C.nextElementSibling;}return null}return document.querySelectorAll("a[href]").forEach(x=>{if(g.length>=50||x.closest(d)||!isVisible(x)||m.has(x))return;let C=x.getAttribute("href");if(!C||C==="#")return;let I=w(x);if(!I||I.tagName!=="A"||I.getAttribute("href")!==C||m.has(I)||x.getAttribute("aria-hidden")==="true"||I.getAttribute("aria-hidden")==="true")return;let y=p(x),_=p(I);if(!y&&!_)return;let R=y?x:I,S=y?I:x;m.add(R),m.add(S);let T=uniqueSel(R),M=R.outerHTML.slice(0,300),O=(S.textContent||"").trim().slice(0,80);g.push({selector:T,attribute:"aria-hidden",currentValue:"",issueType:"adjacent_redundant_link",wcag:"2.4.4",context:JSON.stringify({href:C,imageLink:true,adjacentLinkText:O,suggestion:'Add aria-hidden="true" and tabindex="-1" to the image-only link'}),needsAI:false,fixValue:"true",outerHtml:M}),g.push({selector:T,attribute:"tabindex",currentValue:"",issueType:"adjacent_redundant_link",wcag:"2.4.4",context:JSON.stringify({supplementary:"Remove from tab order alongside aria-hidden",href:C}),needsAI:false,fixValue:"-1",outerHtml:M});}),g},Th={name:"adjacentLinks",cap:50,async detect(d){return d.evaluate(hI)}};var gI=()=>{let d="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=ae-exclude],[id*=ae_app],[id*=ae_],[class*=EquallyAI]",f='.slick-cloned,.slick-clone,.swiper-slide-duplicate,.owl-item.cloned,[data-slick-index^="-"],[data-swiper-slide-index]:not([data-swiper-slide-index=""])',g=["[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(","),m=new Set(["A","BUTTON","INPUT","SELECT","TEXTAREA"]),p=50,w=[],D=new Set;function x(E){let y=E,_=0;for(;y&&y.nodeType===1&&y!==document.body&&_<20;){try{let R=getComputedStyle(y);if(R.display==="none"||R.visibility==="hidden"||R.visibility==="collapse")return !0}catch{}y=y.parentElement,_++;}return false}function C(E){let y=E.tagName,_=E.getAttribute("tabindex");if(_!==null){let R=parseInt(_,10);if(!isNaN(R)&&R>=0)return true;if(!isNaN(R)&&R<0)return false}return m.has(y)?!(y==="A"&&!E.hasAttribute("href")||E.hasAttribute("disabled")):false}return document.querySelectorAll('[aria-hidden="true"]').forEach(E=>{if(w.length>=p||E.closest(d)||E.closest(f)||E.closest(g)||E.matches(g))return;let y=[];if(C(E)&&y.push(E),E.querySelectorAll("a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]").forEach(R=>{C(R)&&y.push(R);}),y.length!==0)for(let R of y){if(w.length>=p)return;let S=uniqueSel(R),T=S+"\0tabindex";if(D.has(T))continue;D.add(T);let M=x(R),O=!M;w.push({selector:S,attribute:"tabindex",currentValue:R.getAttribute("tabindex")||"",issueType:"aria_hidden_focusable",wcag:"4.1.2",context:JSON.stringify({tag:R.tagName.toLowerCase(),parentHidden:E.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.'}:{},...O?{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:(R.outerHTML||"").slice(0,300)});}}),w},Rh={name:"ariaHiddenFocusable",cap:50,async detect(d){return d.evaluate(gI)}};var vI=()=>{let d="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",g=[],m=new Set,p=[{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 w(D){if(!(D.textContent||"").trim())return true;let C=getComputedStyle(D);return !!(C.display==="none"||C.visibility==="hidden"||C.opacity==="0"||C.maxHeight==="0px"||C.height==="0px"||D.hasAttribute("data-bind")||D.hasAttribute("v-if")||D.hasAttribute("v-show")||D.hasAttribute("ng-if")||D.hasAttribute("ng-show")||D.hasAttribute(":class")||D.hasAttribute("x-show")||D.hasAttribute("x-if")||D.hasAttribute("aria-atomic"))}for(let D of p){if(g.length>=50)break;let x=document.querySelectorAll("*");for(let C of x){if(g.length>=50)break;if(m.has(C)||C.closest(d))continue;let I=C.className&&typeof C.className=="string"?C.className:"",E=C.getAttribute("id")||"";if(!D.regex.test(I)&&!D.regex.test(E)||C.getAttribute("aria-live"))continue;let y=C.getAttribute("role")||"";if(["alert","status","log","timer","marquee"].includes(y)||!/\btoast\b|\bsnackbar\b|error[-_]|success[-_]|alert[-_]|flash[-_]/i.test(I+" "+E)&&!w(C))continue;m.add(C);let R=uniqueSel(C),S=D.regex.test(I)?"class":"id",T=S==="class"?I.slice(0,60):E;g.push({selector:R,attribute:"aria-live",currentValue:"",issueType:"aria_live",wcag:"4.1.3",context:S+": "+T+" | pattern: "+D.regex.source,needsAI:false,fixValue:D.ariaLive});}}return g},Fh={name:"ariaLive",cap:50,async detect(d){return d.evaluate(vI)}};var bI=()=>{let d="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=ae-exclude],[id*=ae_app],[id*=ae_],[class*=EquallyAI]",g=[],m=new Set,p=["aria-labelledby","aria-describedby"];return document.querySelectorAll("[aria-labelledby],[aria-describedby]").forEach(x=>{if(!(g.length>=50)&&!x.closest(d)&&isVisible(x)&&!isHiddenFromAT(x)&&!x.getAttribute("aria-live")&&!x.closest("[aria-live]")&&!x.closest("template"))for(let C of p){let I=x.getAttribute(C);if(!I||!I.trim())continue;let E=I.trim().split(/\s+/).filter(H=>H.length>0);if(E.length===0||!E.every(H=>!document.getElementById(H)))continue;let _=x.getAttribute("aria-label");if(_&&_.trim())continue;let R=getAccessibleName(x);if(R&&R.trim())continue;let S=uniqueSel(x),T=S+"\0"+C;if(m.has(T))continue;m.add(T);let{nearbyHeading:M,parentTag:O,parentRole:B}=getNearbyContext(x);g.push({selector:S,attribute:"aria-label",currentValue:"",issueType:"broken_aria_reference",wcag:"4.1.2",context:JSON.stringify({tag:x.tagName.toLowerCase(),brokenAttr:C,brokenIds:E,nearbyHeading:M,parentTag:O,parentRole:B,suggestion:`All IDs in ${C}="${I}" are missing from the DOM. Element has no accessible name. Generate an aria-label.`}),needsAI:true,outerHtml:(x.outerHTML||"").slice(0,300)});}}),g},Ih={name:"brokenAriaReferences",cap:50,async detect(d){return d.evaluate(bI)}};var yI=()=>{let f=[],g=["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"],m=document.querySelectorAll("button");for(let p of m){if(f.length>=50)break;let w=p;if(isWidget(w)||w.hasAttribute("type")||!w.closest("form"))continue;let D=(w.textContent||"").trim().slice(0,60),x=(w.getAttribute("aria-label")||"").trim().slice(0,60),C=D||x||"(no label)",I=C.toLowerCase();g.some(y=>I.includes(y))||f.push({selector:uniqueSel(w),attribute:"type",currentValue:"",issueType:"missing_button_type",wcag:"3.2.2",context:"button inside <form> missing type attribute \u2014 defaults to submit | label: "+C,needsAI:false,fixValue:"button",outerHtml:(w.outerHTML||"").slice(0,300)});}return f},Lh={name:"buttonType",cap:50,async detect(d){return d.evaluate(yI)}};var wI=()=>{let f=[],g=document.querySelectorAll("video, audio");for(let m of Array.from(g)){if(f.length>=20)break;if(isWidget(m)||typeof isVisible=="function"&&!isVisible(m)||m.error)continue;let p=m.tagName==="VIDEO";if(p){let T=m.hasAttribute("muted")||m.muted,M=m.hasAttribute("controls"),O=m.hasAttribute("loop")||m.loop,B=/mute|unmute|sound|volume|audio|play|pause/i,H=!!m.parentElement?.querySelector('button, [role="button"]')||!!m.getAttribute("id")&&!!document.querySelector('[aria-controls~="'+(m.getAttribute("id")||"").replace(/"/g,"")+'"]');for(let Y=m.parentElement?.parentElement||null,Z=0;Y&&!H&&Z<3;Y=Y.parentElement,Z++)H=Array.from(Y.querySelectorAll('button, [role="button"]')).some(k=>B.test((k.getAttribute("aria-label")||"")+" "+(k.getAttribute("title")||"")+" "+(k.textContent||"")));if(T&&O&&!M&&!H)continue}let w=m.querySelectorAll("track"),D=false;for(let T of Array.from(w)){let M=(T.getAttribute("kind")||"").toLowerCase();if(M==="captions"||M==="subtitles"){D=true;break}}if(D)continue;let x=m.currentSrc||m.getAttribute("src")||"";if(x||(x=m.querySelector("source")?.getAttribute("src")||""),!x)continue;let C=x.toLowerCase();if(C.startsWith("blob:")||C.startsWith("data:")||C.startsWith("about:")||C.startsWith("javascript:")||C.endsWith(".m3u8")||C.includes(".m3u8?")||C.endsWith(".mpd")||C.includes(".mpd?"))continue;let I=x;try{I=new URL(x,location.href).toString();}catch{continue}let E=typeof uniqueSel=="function"?uniqueSel(m):"",y=m.getAttribute("title")||m.getAttribute("aria-label")||"",_=typeof getNearbyContext=="function"?getNearbyContext(m):{parentTag:m.tagName.toLowerCase(),nearbyHeading:""},R=[];R.push("media: "+m.tagName.toLowerCase()),R.push("src: "+I.slice(0,200)),y&&R.push("title: "+y.slice(0,80)),_.nearbyHeading&&R.push("heading: "+_.nearbyHeading),R.push("parent: "+_.parentTag);let S=p;f.push({selector:E,attribute:"data-needs-captions",currentValue:"",issueType:"missing_captions",wcag:"1.2.2",context:R.join(" | "),needsAI:true,...S?{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:I,outerHtml:(m.outerHTML||"").slice(0,300)});}return f},Ph={name:"captions",cap:20,async detect(d){return d.evaluate(wI)}};var xI=()=>{let d="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",g=[],m="p, li, blockquote, article, section, main, div",p=document.querySelectorAll("a[href]"),w=new Map;for(let D of Array.from(p)){if(g.length>=40)break;if(D.closest(d)||D.closest('nav, header, footer, aside, [role="navigation"], [role="banner"], [role="contentinfo"]')||typeof isVisible=="function"&&!isVisible(D))continue;let x=D.closest(m);if(!x)continue;let C=(D.textContent||"").trim();if(!C)continue;let I=w.get(x);if(I===void 0){I=0;let Y=document.createTreeWalker(x,NodeFilter.SHOW_TEXT),Z;for(;Z=Y.nextNode();){let k=Z.parentElement;!k||k.closest("a")||k.closest(m)===x&&(typeof isVisible=="function"&&!isVisible(k)||(I+=(Z.textContent||"").trim().length));}w.set(x,I);}if(I<20||D.querySelector("img, svg, [class*=icon], [class*=arrow]"))continue;let E=getComputedStyle(D),y=getComputedStyle(x);if((E.textDecorationLine||E.textDecoration||"").includes("underline")||(()=>{let Y=document.createTreeWalker(D,NodeFilter.SHOW_TEXT),Z,k=false;for(;Z=Y.nextNode();){if(!/[\p{L}\p{N}]/u.test(Z.textContent||""))continue;k=true;let v=false;for(let F=Z.parentElement;F&&F!==D;F=F.parentElement){let P=getComputedStyle(F),V=(P.textDecorationColor||"").replace(/\s/g,"");if((P.textDecorationLine||"").includes("underline")&&V!=="transparent"&&!/^rgba\([^)]*,0(?:\.0+)?\)$/.test(V)){v=true;break}let j=(P.borderBottomColor||"").replace(/\s/g,""),G=j==="transparent"||/^rgba\([^)]*,0(?:\.0+)?\)$/.test(j);if((P.borderBottomStyle||"none")!=="none"&&parseFloat(P.borderBottomWidth||"0")>0&&!G){v=true;break}}if(!v)return false}return k})())continue;let S=parseInt(E.fontWeight||"400",10),T=parseInt(y.fontWeight||"400",10);if(Number.isFinite(S)&&Number.isFinite(T)&&S-T>=300||(E.borderBottomStyle||"none")!=="none"&&(E.borderBottomWidth||"0px")!=="0px"||E.color===y.color)continue;let O=typeof uniqueSel=="function"?uniqueSel(D):"",B=typeof getNearbyContext=="function"?getNearbyContext(D):{parentTag:D.tagName.toLowerCase(),nearbyHeading:""},H=[];H.push("link: "+C.slice(0,40)),H.push("color: "+E.color),H.push("parent-color: "+y.color),B.nearbyHeading&&H.push("heading: "+B.nearbyHeading),H.push("parent: "+B.parentTag),g.push({selector:O,attribute:"style",currentValue:E.textDecoration||"",issueType:"color_only_link",wcag:"1.4.1",context:H.join(" | "),needsAI:false,fixValue:"text-decoration: underline !important;",outerHtml:(D.outerHTML||"").slice(0,300)});}return g},Mh={name:"colorOnly",cap:40,async detect(d){return d.evaluate(xI)}};var DI=()=>{let f=[],g=M=>typeof parseCssColor=="function"?parseCssColor(M):null,m=(M,O,B)=>typeof relLuminance=="function"?relLuminance(M,O,B):0,p=(M,O)=>typeof contrastRatio=="function"?contrastRatio(M,O):1;function w(M){let O=String(M.backgroundImage||"none");if(O==="none")return false;if(/gradient\(/i.test(O))return true;if(!/url\(/i.test(O))return false;let B=String(M.backgroundRepeat||"").toLowerCase(),H=String(M.backgroundSize||"").toLowerCase(),Y=B.split(",").map(k=>k.trim()).some(k=>k!==""&&k!=="no-repeat"),Z=/cover|contain|100%/.test(H);return Y||Z}function D(M){let O=document.documentElement,B=M,H=0;for(;B&&B!==O&&H<12;){let F=getComputedStyle(B);if(w(F))return null;let P=g(F.backgroundColor||"");if(P&&P[3]>.5)return [P[0],P[1],P[2]];B=B.parentElement,H++;}let Y=document.body;if(B&&B!==O&&Y&&Y.contains(B)){let F=getComputedStyle(Y);if(w(F))return null;let P=g(F.backgroundColor||"");if(P&&P[3]>.5)return [P[0],P[1],P[2]]}let Z=getComputedStyle(O);if(w(Z))return null;let k=g(Z.backgroundColor||""),v=k?Math.min(k[3],1):0;return !k||v<=0?[255,255,255]:[Math.round(k[0]*v+255*(1-v)),Math.round(k[1]*v+255*(1-v)),Math.round(k[2]*v+255*(1-v))]}function x(M,O,B){return "#"+[M,O,B].map(H=>{let Y=Math.max(0,Math.min(255,Math.round(H))).toString(16);return Y.length===1?"0"+Y:Y}).join("")}function C(M,O,B){let H=m(O[0],O[1],O[2])>.5;return I(M,O,B,H)||I(M,O,B,!H)}function I(M,O,B,H){let Y=0,Z=1,k=null;for(let v=0;v<20;v++){let F=(Y+Z)/2,P=H?[M[0]*(1-F),M[1]*(1-F),M[2]*(1-F)]:[M[0]+(255-M[0])*F,M[1]+(255-M[1])*F,M[2]+(255-M[2])*F],V=[Math.round(P[0]),Math.round(P[1]),Math.round(P[2])];p(V,O)>=B?(k=V,Z=F):Y=F;}return k}let E=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 B=M;B&&B.nodeType===1;B=B.parentElement){if(B.getAttribute("aria-disabled")!=="true")continue;let H=(B.getAttribute("role")||"").trim().toLowerCase().split(/\s+/)[0];if(H&&E.has(H))return true}let O=M.closest("label");if(O){let B=O.control;if(B&&(B.disabled||B.getAttribute("aria-disabled")==="true"))return true}return false}let _=document.createTreeWalker(document.body,4),R=new Set,S=[],T=_.nextNode();for(;T;){if((T.textContent||"").trim().length>=2){let O=T.parentElement;O&&!R.has(O)&&(R.add(O),S.push(O));}T=_.nextNode();}for(let M of S){if(f.length>=30)break;if(isWidget(M)||isHiddenFromAT(M)||!isVisible(M)||y(M))continue;let O=getComputedStyle(M),B=g(O.color||"");if(!B)continue;if(B[3]<.5){let Q=O.webkitBackgroundClip||O.backgroundClip||"",ce=O.backgroundImage||"";if(String(Q).includes("text")&&/gradient\(/i.test(ce)){let we=Array.from(M.childNodes).filter(ue=>ue.nodeType===3).map(ue=>(ue.textContent||"").trim()).join("");we&&f.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(we.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 H=D(M),Y=parseFloat(O.fontSize||"16"),Z=parseInt(O.fontWeight||"400",10),v=Y>=24||Y>=18.66&&Z>=700?3:4.5,F=Array.from(M.childNodes).filter(Q=>Q.nodeType===3).map(Q=>(Q.textContent||"").trim()).join("");if(!F)continue;let P=x(B[0],B[1],B[2]),V=uniqueSel(M);if(H===null){f.push({selector:V,attribute:"style",currentValue:P,message:"contrast: text "+P+" on a gradient or image background \u2014 the ratio cannot be computed from CSS; check it meets "+v+":1 where the background is lightest/darkest",issueType:"contrast_insufficient",wcag:"1.4.3",context:"fg="+P+" bg=<gradient-or-image> needs="+v+" text="+JSON.stringify(F.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 j=p([B[0],B[1],B[2]],H);if(j>=v)continue;let G=C([B[0],B[1],B[2]],H,v);if(!G)continue;let J=x(G[0],G[1],G[2]),ee=x(H[0],H[1],H[2]),ae="color:"+J+" !important;";f.push({selector:V,attribute:"style",currentValue:P,message:"contrast: "+P+" on "+ee+" is "+j.toFixed(2)+":1, needs "+v+":1 \u2014 e.g. color "+J,issueType:"contrast_insufficient",wcag:"1.4.3",context:"fg="+P+" bg="+ee+" ratio="+j.toFixed(2)+" needs="+v+" text="+JSON.stringify(F.slice(0,40)),needsAI:false,fixValue:ae,outerHtml:M.outerHTML.slice(0,200)});}return f},Oh={name:"contrast",cap:30,async detect(d){return d.evaluate(DI)}};var AI=()=>{let d="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye]",g=[],m=document.querySelectorAll("marquee, blink");for(let C of Array.from(m)){if(g.length>=30)break;if(C.closest(d))continue;let I=typeof uniqueSel=="function"?uniqueSel(C):C.tagName.toLowerCase();g.push({selector:I,attribute:"aria-hidden",currentValue:C.getAttribute("aria-hidden")||"",issueType:"motion_uncontrollable",wcag:"2.2.2",context:`deprecated ${C.tagName.toLowerCase()} element \u2014 uncontrollable motion`,needsAI:false,manualFix:true,fixValue:"true",outerHtml:(C.outerHTML||"").slice(0,300)});}let p=document.querySelectorAll('img[src*=".gif" i], img[src$=".gif" i]');for(let C of Array.from(p)){if(g.length>=30)break;if(C.closest(d))continue;let I=C.getAttribute("src")||"";if(!/\.gif(\?|#|$)/i.test(I)||typeof isVisible=="function"&&!isVisible(C))continue;let E=C.getBoundingClientRect();if(E.width<=40&&E.height<=40)continue;let y=typeof uniqueSel=="function"?uniqueSel(C):"img";g.push({selector:y,attribute:"data-asw-motion-review",currentValue:"",issueType:"animated_gif_no_pause",wcag:"2.2.2",context:`animated GIF without pause control: ${I.split("/").pop()?.slice(0,60)||I.slice(-60)}`,needsAI:true,outerHtml:(C.outerHTML||"").slice(0,300)});}let w=document.querySelectorAll('meta[http-equiv="refresh"], meta[http-equiv="Refresh"], meta[http-equiv="REFRESH"]');for(let C of Array.from(w)){if(g.length>=30)break;let I=(C.getAttribute("content")||"").trim(),E=parseInt((I.split(/[;,]/)[0]||"").trim(),10);!Number.isFinite(E)||E<=0||g.push({selector:`meta[http-equiv="refresh"][content*="${I.slice(0,20)}"]`,attribute:"data-auto-refresh",currentValue:I,issueType:"auto_refresh",wcag:"2.2.1",context:`auto-refresh every ${E}s \u2014 interrupts screen reader users mid-sentence (WCAG 2.2.1)`,needsAI:false,manualFix:true,outerHtml:(C.outerHTML||"").slice(0,200)});}try{let C=!1,I=!1;for(let E of Array.from(document.styleSheets)){let y=null;try{y=E.cssRules;}catch{continue}if(y)for(let _ of Array.from(y)){let R=_.cssText||"";if(/animation[^;]*\binfinite\b/i.test(R)&&/(keyframes|animation-name)/i.test(R+" "+(_.name||""))&&(C=!0),/prefers-reduced-motion[^{]*\(\s*reduce\s*\)/i.test(R)&&(I=!0),_.cssRules)for(let S of Array.from(_.cssRules)){let T=S.cssText||"";/animation[^;]*\binfinite\b/i.test(T)&&(C=!0);}}}C&&!I&&g.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 D=/\b(flash(ing)?|blink(ing)?|strobe)\b/i,x=document.querySelectorAll('[class*="flash" i], [class*="blink" i], [class*="strobe" i]');for(let C of Array.from(x)){if(g.length>=30)break;if(C.closest(d)||C.tagName==="BODY"||C.tagName==="HTML")continue;let I=C.className&&typeof C.className=="string"?C.className:"";if(!D.test(I)||typeof isVisible=="function"&&!isVisible(C))continue;let y=getComputedStyle(C).animationDuration,_=9999;if(y){let S=parseFloat(y);Number.isFinite(S)&&(_=/ms/i.test(y)?S:S*1e3);}if(_>333)continue;let R=typeof uniqueSel=="function"?uniqueSel(C):"";g.push({selector:R,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:(C.outerHTML||"").slice(0,300)});}return g},Nh={name:"cssAnimations",cap:30,async detect(d){return d.evaluate(AI)}};var _I=()=>{let f=[];function g(D){let x=(D.getAttribute("role")||"").toLowerCase();return x==="presentation"||x==="none"||(D.getAttribute("class")||"").toLowerCase().indexOf("layout")!==-1}function m(D){if(!D)return 0;let x=D.querySelectorAll("th, td"),C=0;for(let I=0;I<x.length;I++){let E=parseInt(x[I].getAttribute("colspan")||"1",10);C+=isNaN(E)||E<1?1:E;}return C}function p(D){let x=D.querySelectorAll("tr"),C=[];for(let I=0;I<x.length;I++){let E=x[I];E.closest("table")===D&&C.push(E);}return C}let w=document.querySelectorAll("table");for(let D=0;D<w.length&&!(f.length>=30);D++){let x=w[D];if(isWidget(x)||!isVisible(x)||g(x))continue;let C=p(x);if(C.length<=1)continue;let I=C[0],E=m(I);if(E<=1)continue;let y=uniqueSel(x),_=getNearbyContext(x),R=x.querySelectorAll("img, svg, picture").length>=2;if(R&&!(x.textContent||"").trim()){if(x.querySelector("input, select, textarea, button")&&(R=false),R&&x.querySelector("th, thead, caption, [scope], [headers]")&&(R=false),R){let v=Array.from(x.querySelectorAll("img")).map(F=>(F.getAttribute("alt")||"").trim().toLowerCase()).filter(Boolean);new Set(v).size<v.length&&(R=false);}}else if(R){let v=x.querySelectorAll("td, th"),F=0;for(let P=0;P<v.length&&R;P++){let V=v[P];if(V.closest("table")!==x)continue;let j=(V.textContent||"").trim(),G=!!V.querySelector("img, svg, picture");if(!j&&!G)continue;F++;let J=V.querySelectorAll("a[href]");R=V.tagName==="TD"&&J.length===1&&G&&(J[0].textContent||"").trim()===j;}F<2&&(R=false);}if(R){f.push({selector:y,attribute:"role",currentValue:x.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:C.length,cols:E,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:(x.outerHTML||"").slice(0,300)});continue}let S=null,T=x.querySelectorAll("thead");for(let v=0;v<T.length;v++)if(T[v].closest("table")===x){S=T[v];break}let M=S&&S.querySelector("tr")!==null,O=false;for(let v=0;v<C.length&&!O;v++){let F=C[v].children;for(let P=0;P<F.length&&!O;P++){let V=F[P],j=(V.tagName||"").toLowerCase();if(j!=="td"&&j!=="th")continue;if(j==="th"){O=true;break}let G=(V.getAttribute("headers")||"").trim();if(!G)continue;let J=G.split(/\s+/);for(let ee=0;ee<J.length;ee++){let ae=document.getElementById(J[ee]);if(ae&&(ae.tagName||"").toLowerCase()==="th"&&ae.closest("table")===x){O=true;break}}}}if(!M&&!O&&f.length<30&&f.push({selector:y,attribute:"thead",currentValue:S?"empty":"",issueType:"missing_table_header",wcag:"1.3.1",context:JSON.stringify({reason:S?"<thead> has no <tr>":"no <thead> element",rows:C.length,cols:E,nearbyHeading:_.nearbyHeading}),needsAI:false,fixValue:"wrap-first-row",outerHtml:(x.outerHTML||"").slice(0,300)}),E>2){let v=I.querySelectorAll("th, td"),F=v.length>0;for(let P=0;P<v.length;P++)if((v[P].tagName||"").toLowerCase()!=="td"){F=false;break}if(F)for(let P=0;P<v.length&&!(f.length>=30);P++){let V=v[P],j=uniqueSel(V),G=(V.textContent||"").trim().slice(0,60);f.push({selector:j,attribute:"role",currentValue:V.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:G,colIndex:P,nearbyHeading:_.nearbyHeading}),needsAI:false,fixValue:"columnheader",outerHtml:(V.outerHTML||"").slice(0,300)});}}let B=[],H=[],Y=new Map;for(let v=0;v<C.length;v++){let F=C[v],P=0;for(let V=0;V<F.children.length;V++){let j=F.children[V],G=(j.tagName||"").toLowerCase();if(G!=="td"&&G!=="th")continue;for(;B.some(Q=>Q.lane===P&&Q.untilRow>v);)P++;let J=parseInt(j.getAttribute("colspan")||"1",10);(isNaN(J)||J<1)&&(J=1);let ee={rowIdx:v,lane:P,span:J,headers:(j.getAttribute("headers")||"").trim()};G==="td"?H.push(ee):Y.set(j,ee);let ae=parseInt(j.getAttribute("rowspan")||"1",10)||1;if(ae>1)for(let Q=0;Q<J;Q++)B.push({lane:P+Q,untilRow:v+ae});P+=J;}}let Z=(v,F)=>F.lane<v.lane+v.span&&F.lane+F.span>v.lane,k=x.querySelectorAll("th");for(let v=0;v<k.length&&!(f.length>=30);v++){let F=k[v];if(F.closest("table")!==x)continue;let P=(F.getAttribute("scope")||"").trim().toLowerCase();if(P==="col"||P==="row"||P==="colgroup"||P==="rowgroup")continue;let V=false;if((F.getAttribute("headers")||"").trim())V=true;else {let ue=(F.getAttribute("id")||"").trim();if(ue)for(let Ae=0;Ae<H.length;Ae++){let Me=H[Ae].headers;if(Me&&Me.split(/\s+/).indexOf(ue)!==-1){V=true;break}}}if(V)continue;let j=F.closest("tr"),G=F.closest("thead")!==null,J=false;j&&C.length>0&&C[0]===j&&(J=true);let ee=false;if(j){let ue=j.querySelectorAll("th, td");ue.length>0&&ue[0]===F&&(ee=true);}let ae="col";G||J?ae="col":ee&&(ae="row");let Q=Y.get(F);if(!V&&Q){if(ae==="row")V=H.some(ue=>ue.rowIdx===Q.rowIdx&&!ue.headers&&ue.lane>=Q.lane+Q.span);else if(V=H.some(ue=>ue.rowIdx>Q.rowIdx&&!ue.headers&&Z(Q,ue)),!V)for(let ue=0;ue<k.length;ue++){let Ae=Y.get(k[ue]);if(!Ae||Ae.rowIdx<=Q.rowIdx||!Z(Q,Ae))continue;let Me=C[Ae.rowIdx],Ne=Me?Me.children:[];if(Ne.length>0&&Ne[0]===k[ue]&&k[ue].closest("table")===x){V=true;break}}}if(V)continue;let ce=uniqueSel(F),we=(F.textContent||"").trim().slice(0,60);f.push({selector:ce,attribute:"scope",currentValue:P,issueType:"missing_table_scope",wcag:"1.3.1",context:JSON.stringify({reason:"<th> missing scope attribute",inferred:ae,inThead:G,firstRow:J,firstCol:ee,headerText:we}),needsAI:false,fixValue:ae,outerHtml:(F.outerHTML||"").slice(0,300)});}}return f},qh={name:"dataTables",cap:30,async detect(d){return d.evaluate(_I)}};var EI=()=>{let f=[];for(let g of document.querySelectorAll("img[alt]")){if(f.length>=30)break;let m=g;if((m.getAttribute("alt")||"").trim()!=="")continue;let p=(m.getAttribute("title")||"").trim().replace(/\s+/g," ");if(!p||isWidget(m))continue;let w=(m.getAttribute("role")||"").toLowerCase();w==="presentation"||w==="none"||m.getAttribute("aria-hidden")==="true"||m.closest('[aria-hidden="true"]')||(m.getAttribute("aria-label")||"").trim()||(m.getAttribute("aria-labelledby")||"").trim()||isVisible(m)&&f.push({selector:uniqueSel(m),attribute:"data-asw-decorative-title",currentValue:"",issueType:"decorative_image_with_title",wcag:"1.1.1",context:'image with alt="" also has title="'+p.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 "'+p.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:(m.outerHTML||"").slice(0,300)});}return f},Bh={name:"decorativeImageTitle",cap:30,async detect(d){return d.evaluate(EI)}};var CI=()=>{let d="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",f=/^[^\p{L}\p{N}\s]*$/u,g=/^[\s\u00A0\u2000-\u200F\u2028-\u202F]*$/,p=[],w=document.querySelectorAll("a");for(let D of w){if(p.length>=50)break;if(D.closest(d)||D.getAttribute("aria-hidden")==="true"||D.getAttribute("role")==="presentation"||D.closest('[aria-hidden="true"]')||!isVisible(D))continue;let x=getAccessibleName(D);if(x&&x.length>0&&!g.test(x)&&!f.test(x))continue;let C=D.querySelectorAll("img[alt]"),I="";for(let Y of C){let Z=(Y.getAttribute("alt")||"").trim();Z&&(I+=Z+" ");}if(I.trim())continue;let E=D.getAttribute("aria-labelledby");if(E&&typeof __resolveIdRefs=="function"&&__resolveIdRefs(E))continue;let y=uniqueSel(D),_=D.getAttribute("href")||"",R=(D.textContent||"").trim(),S=getNearbyContext(D),T="";R&&g.test(R)?T="[whitespace only]":R&&f.test(R)&&(T=R);let M="",O=true;if(_&&_!=="#"&&!_.startsWith("javascript:")){if(_.startsWith("mailto:")){let Y=_.slice(7).split("?")[0];Y&&Y.includes("@")&&(M="Email "+Y,O=false);}else if(_.startsWith("tel:")){let Y=_.slice(4);try{Y=decodeURIComponent(Y);}catch{}Y=Y.replace(/^\+/,"").trim(),Y&&(M="Call "+Y,O=false);}}let B=[];D.closest("nav")&&B.push("inside nav"),S.nearbyHeading&&B.push("heading: "+S.nearbyHeading),_&&B.push("href: "+_.slice(0,120)),B.push("parent: "+S.parentTag);let H={selector:y,attribute:"aria-label",currentValue:T,issueType:"empty_link",wcag:"2.4.4",context:B.join(" | "),needsAI:O,outerHtml:D.outerHTML.slice(0,300)};!O&&M&&(H.fixValue=M),p.push(H);}return p},Hh={name:"emptyLinks",cap:50,async detect(d){return d.evaluate(CI)}};var SI=()=>{let f=[],g=new Set;function m(E){return (E||"").trim()}function p(E){let y=m(E.getAttribute("aria-label")||"");if(y)return y;let _=E.getAttribute("aria-labelledby");if(_){let S=_.split(/\s+/),T="";for(let M=0;M<S.length;M++){let O=document.getElementById(S[M]);O&&(T+=" "+(O.textContent||""));}if(m(T))return m(T)}let R=m(E.getAttribute("title")||"");return R||""}let w=document.querySelectorAll("fieldset");for(let E=0;E<w.length&&!(f.length>=30);E++){let y=w[E];if(isWidget(y)||!isVisible(y)||isHiddenFromAT(y))continue;if(p(y)){g.add(y);continue}let _=null,R=y.querySelectorAll("legend");for(let H=0;H<R.length;H++)if(R[H].closest("fieldset")===y){_=R[H];break}let S=_!==null,T=_?m(_.textContent||""):"";if(S&&T){g.add(y);continue}let M=getNearbyContext(y),O=y.querySelectorAll("input, select, textarea"),B=uniqueSel(y);f.push({selector:B,attribute:"aria-label",currentValue:"",issueType:"missing_fieldset_legend",wcag:"1.3.1",context:JSON.stringify({reason:S?"fieldset has empty <legend>":"fieldset missing <legend>",controlCount:O.length,nearbyHeading:M.nearbyHeading,parentTag:M.parentTag}),needsAI:true,outerHtml:(y.outerHTML||"").slice(0,300)}),g.add(y);}let D=document.querySelectorAll('[role="group"], [role="radiogroup"]');for(let E=0;E<D.length&&!(f.length>=30);E++){let y=D[E];if(isWidget(y)||!isVisible(y)||isHiddenFromAT(y)||g.has(y))continue;if(p(y)){g.add(y);continue}let _=y.getAttribute("role")||"",R=getNearbyContext(y),S=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 T=uniqueSel(y);f.push({selector:T,attribute:"aria-label",currentValue:"",issueType:"missing_fieldset_legend",wcag:"1.3.1",context:JSON.stringify({reason:'role="'+_+'" container without accessible name',role:_,controlCount:S.length,nearbyHeading:R.nearbyHeading,parentTag:R.parentTag}),needsAI:true,outerHtml:(y.outerHTML||"").slice(0,300)}),g.add(y);}let x={},C=document.querySelectorAll('input[type="radio"], input[type="checkbox"]');for(let E=0;E<C.length;E++){let y=C[E];if(isWidget(y)||!isVisible(y)||isHiddenFromAT(y))continue;let _=y.getAttribute("name")||"";if(!_)continue;let R=y.closest("form"),S=R?R.getAttribute("id")||R.getAttribute("action")||R.tagName:"no-form",T=(y.getAttribute("type")||"").toLowerCase(),M=S+"::"+T+"::"+_;x[M]||(x[M]=[]),x[M].push(y);}let I=Object.keys(x);for(let E=0;E<I.length&&!(f.length>=30);E++){let y=x[I[E]];if(y.length<3)continue;let _=y[0],R=_.closest('fieldset, [role="group"], [role="radiogroup"]'),S=false;if(R){S=true;for(let Y=1;Y<y.length;Y++)if(!R.contains(y[Y])){S=false;break}}if(S&&R)continue;let T=_.parentElement;for(;T&&T!==document.body;){let Y=true;for(let Z=1;Z<y.length;Z++)if(!T.contains(y[Z])){Y=false;break}if(Y)break;T=T.parentElement;}if(!T||T===document.body||g.has(T))continue;let M=(_.getAttribute("type")||"").toLowerCase(),O=_.getAttribute("name")||"",B=getNearbyContext(_),H=uniqueSel(T);f.push({selector:H,attribute:"role",currentValue:T.getAttribute("role")||"",issueType:"missing_fieldset_legend",wcag:"1.3.1",context:JSON.stringify({reason:"unwrapped "+M+" group ("+y.length+' inputs share name="'+O+'")',inputType:M,inputCount:y.length,name:O,nearbyHeading:B.nearbyHeading,parentTag:B.parentTag}),needsAI:false,fixValue:M==="radio"?"radiogroup":"group",outerHtml:(T.outerHTML||"").slice(0,300)}),g.add(T);}return f},Vh={name:"fieldsetLegend",cap:30,async detect(d){return d.evaluate(SI)}};var kI=()=>{let d=[],f=document.querySelectorAll('header, nav, div, [class*="header"], [class*="navbar"], [class*="sticky"], [role="banner"]'),g=0;for(let m of Array.from(f)){let p=getComputedStyle(m);if(p.display==="none"||p.visibility==="hidden"||p.position!=="sticky"&&p.position!=="fixed")continue;let w=m.getBoundingClientRect();if(w.top>50||w.bottom<=0)continue;let D=Math.round(w.height);D<40||D>240||D>g&&(g=D);}if(g>0){let m=window.scrollX,p=window.scrollY,w=0,D=0;try{let C=[],I=new Set;document.querySelectorAll('a[href^="#"]').forEach(E=>{let y=E.getAttribute("href").slice(1);if(!y)return;let _=document.getElementById(y);_&&!I.has(_)&&(I.add(_),C.push(_));});for(let E of C){if(D>=8)break;let y=getComputedStyle(E);if(y.display==="none"||y.visibility==="hidden")continue;D++,E.scrollIntoView({block:"start"});let _=E.getBoundingClientRect(),R=Math.max(_.height,1);Math.max(0,Math.min(_.bottom,g)-Math.max(_.top,0))/Math.min(R,g)>=.5&&w++;}}catch{}try{window.scrollTo(m,p);}catch{}let x=`scroll-margin-top: ${g+8}px; scroll-padding-top: ${g+8}px;`;D>0&&w>0?d.push({selector:"html",attribute:"style",currentValue:"",issueType:"focus_obscured_by_sticky",wcag:"2.4.11",context:`sticky header height: ${g}px \u2014 ${w}/${D} in-page anchor targets land under it on jump`,needsAI:false,fixValue:x}):D===0&&d.push({selector:"html",attribute:"style",currentValue:"",issueType:"focus_obscured_by_sticky",wcag:"2.4.11",context:`sticky header height: ${g}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:x});}return d},$h={name:"focusObscured",async detect(d){return d.evaluate(kI)}};var jh={name:"focusVisible",cap:40,async detect(d){let f=typeof d.keyboard?.press=="function";try{await d.evaluate(()=>{let g=document.activeElement;window[Symbol.for("wa.prevFocus")]=g&&g!==document.body&&g!==document.documentElement?g:null,window[Symbol.for("wa.prevScroll")]=[window.scrollX,window.scrollY];let m=getSelection();window[Symbol.for("wa.prevSelection")]=m?Array.from({length:m.rangeCount},(p,w)=>m.getRangeAt(w).cloneRange()):[];});}catch{}if(f)try{await d.keyboard.press("Tab");}catch{}return d.evaluate(g=>{let p=[],w=["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 D=document.querySelectorAll(w),x=Symbol.for("wa.prevFocus"),C=window[x]??null;try{delete window[x];}catch{}for(let I of D){if(p.length>=40)break;if(typeof isWidget=="function"&&isWidget(I)||typeof isHiddenFromAT=="function"&&isHiddenFromAT(I)||typeof isVisible=="function"&&!isVisible(I)||!I.offsetParent&&I.tagName!=="BODY")continue;let E=getComputedStyle(I),y=E.outline,_=E.outlineWidth,R=E.outlineStyle,S=E.boxShadow,T=E.border,M=E.backgroundColor;try{I.focus({preventScroll:!0});}catch{continue}if(document.activeElement!==I)continue;let O=getComputedStyle(I),B=O.outline,H=(O.outlineStyle||"").toLowerCase(),Y=parseFloat(O.outlineWidth||"0"),Z=O.boxShadow,k=O.border,v=O.backgroundColor,F=B!==y,P=H!=="none"&&H!=="hidden"&&Y>0;if(F&&P||Z!==S&&Z!=="none"&&Z!==""||k!==T||v!==M||parseFloat(_)>0&&R!=="none")continue;let ee=typeof uniqueSel=="function"?uniqueSel(I):I.tagName.toLowerCase();p.push({selector:ee,pseudo:":focus-visible",attribute:"style",currentValue:R+" "+_,issueType:"focus_not_visible",wcag:"2.4.7",context:`${I.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:I.outerHTML.slice(0,200),...g?{}:{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{C&&C.isConnected&&C.focus({preventScroll:!0});}catch{}try{let I=Symbol.for("wa.prevScroll"),E=window[I];delete window[I],E&&window.scrollTo({left:E[0],top:E[1],behavior:"instant"});}catch{}try{let I=Symbol.for("wa.prevSelection"),E=window[I];delete window[I];let y=getSelection();if(y&&E){y.removeAllRanges();for(let _ of E)y.addRange(_);}}catch{}return p},f)}};var TI=()=>{let f=[],g=["new","register","signup","sign-up","sign_up","create","change","reset"],m=["confirm","verify","retype","re-type","repeat","again"];function p(y){if(!y)return false;let _=" "+((y.getAttribute("id")||"")+" "+(y.getAttribute("class")||"")+" "+(y.getAttribute("name")||"")+" "+(y.getAttribute("action")||"")).toLowerCase()+" ";for(let R=0;R<g.length;R++)if(_.indexOf(g[R])!==-1)return true;return false}function w(y){let _=((y.getAttribute("name")||"")+" "+(y.getAttribute("id")||"")+" "+(y.getAttribute("placeholder")||"")+" "+(y.getAttribute("aria-label")||"")).toLowerCase();for(let R=0;R<m.length;R++)if(_.indexOf(m[R])!==-1)return true;return false}let D=document.querySelectorAll('input[type="password"], input[type="Password"]');for(let y of D){if(f.length>=30)break;let _=y;if(isWidget(_)||isHiddenFromAT(_)||!isVisible(_))continue;let R=(_.getAttribute("autocomplete")||"").trim().toLowerCase();if(w(_)){if(R==="new-password")continue;let B=uniqueSel(_);f.push({selector:B,attribute:"autocomplete",currentValue:R,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(R)continue;let T=_.form||_.closest("form"),M=p(T),O=uniqueSel(_);f.push({selector:O,attribute:"autocomplete",currentValue:"",issueType:"missing_autocomplete",wcag:"1.3.5",context:(M?"new/signup/change password form":"login form")+" | name: "+(_.getAttribute("name")||"")+" | id: "+(_.getAttribute("id")||""),needsAI:false,fixValue:M?"new-password":"current-password",outerHtml:(_.outerHTML||"").slice(0,300)});}let x=document.querySelectorAll("form"),C=/\*|\brequired\b|\bmandatory\b/i;for(let y of x){if(f.length>=30)break;let _=y;if(isWidget(_)||!isVisible(_))continue;let R=_.querySelectorAll("input[required], select[required], textarea[required]");if(!R.length)continue;let S=0;for(let H of R)isVisible(H)&&S++;if(S===0)continue;let T=_.querySelectorAll('input:not([type="hidden"]):not([type="submit"]):not([type="button"]), select, textarea'),M=0;for(let H of T)isVisible(H)&&M++;if(S>=M||(_.getAttribute("data-asw-required-hint")||"").trim())continue;let O=(_.textContent||"").trim();if(C.test(O))continue;let B=uniqueSel(_);f.push({selector:B,attribute:"data-asw-required-hint",currentValue:"",issueType:"missing_required_indicator",wcag:"3.3.2",context:`form has ${S} required input(s) but no visible "*" / "required" / "mandatory" marker`,needsAI:true,outerHtml:(_.outerHTML||"").slice(0,300)});}let I='input[type="submit" i], input[type="image" i], button:not([type]), button[type="submit" i], button[type=""]',E='input:not([type="hidden"]):not([type="submit"]):not([type="button"]):not([type="reset"]):not([type="image"]), select, textarea';for(let y of x){if(f.length>=30)break;let _=y;if(isWidget(_)||!isVisible(_)||isHiddenFromAT(_))continue;let R=[];for(let H of _.querySelectorAll(E))isVisible(H)&&R.push(H);if(R.length===0||_.querySelector(I))continue;let S=_.getAttribute("id");if(S){let H=false;for(let Y of document.querySelectorAll(I))if(Y.getAttribute("form")===S){H=true;break}if(H)continue}if(((_.getAttribute("role")||"").toLowerCase()==="search"||!!_.closest('[role="search"]'))&&R.length===1)continue;let M=R.slice(0,4).map(H=>H.tagName.toLowerCase()+(H.tagName==="INPUT"?"["+(H.getAttribute("type")||"text")+"]":"")).join(", "),O=[];for(let H of _.querySelectorAll('button:not([type="reset" i]), input[type="button" i], [role="button"]')){if(O.length>=3)break;let Y=H;if(!isVisible(Y))continue;let Z=((Y.tagName==="INPUT"?Y.getAttribute("value"):Y.textContent)||Y.getAttribute("aria-label")||"").trim().replace(/\s+/g," ").slice(0,30);O.push('"'+Z+'"');}if(O.length&&!(_.getAttribute("action")||"").trim())continue;let B=O.length?" Buttons present that are not a submit control (type=button or role=button): "+O.join(", ")+".":"";f.push({selector:uniqueSel(_),attribute:"data-asw-submit-control",currentValue:"",issueType:"form_missing_submit",wcag:"3.2.2",context:`form with ${R.length} visible field(s) (${M}) and no submit control`,needsAI:true,needsReview:true,reviewReason:"WCAG 3.2.2 On Input: this form has "+R.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."+B,outerHtml:(_.outerHTML||"").slice(0,300)});}return f},zh={name:"formAttributes",cap:30,async detect(d){return d.evaluate(TI)}};var RI=()=>{let d=document.documentElement;return d?(d.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"}]:[]},Gh={name:"htmlLang",async detect(d){return d.evaluate(RI)}};var FI=()=>{let d="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",g=[],m=[{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"}],p=x=>{let C;try{C=new URL(x,location.href);}catch{return null}let I=C.hostname.toLowerCase();for(let E of m)if((I===E.host||I.endsWith("."+E.host))&&(!E.path||E.path.test(C.pathname)))return E.title;return null},w=/^(iframe|embed|widget|frame|content|untitled)$/i,D=document.querySelectorAll("iframe");for(let x of D){if(g.length>=50)break;if(x.closest(d))continue;let C=false;for(let v=x;v;v=v.parentElement)if((v.getAttribute("aria-hidden")||"").trim()==="true"){C=true;break}let I=(x.getAttribute("role")||"").trim().toLowerCase();if(C||I==="presentation"||I==="none"||x.closest("[inert]"))continue;let E=/^[\t\n\f\r ]*([-+]?\d+)/.exec(x.getAttribute("tabindex")||"");if(E&&parseInt(E[1],10)<0)continue;let y=getComputedStyle(x);if(x.getClientRects().length===0||y.visibility==="hidden"||y.visibility==="collapse"||(x.getAttribute("src")||"").trim().toLowerCase().indexOf("javascript:")===0)continue;let _="",R=(x.getAttribute("aria-labelledby")||"").trim();if(R){let v=R.split(/\s+/);for(let F=0;F<v.length;F++){let P=document.getElementById(v[F]);P&&(_+=" "+(P.textContent||""));}_=_.trim();}if(_||(_=(x.getAttribute("aria-label")||"").trim()),_)continue;let S=(x.getAttribute("title")||"").trim(),T=S.length===0,M=!T&&(S.length<3||w.test(S));if(!T&&!M)continue;let O=(x.getAttribute("src")||"").toLowerCase(),B=uniqueSel(x),H=getNearbyContext(x),Y="src: "+O.slice(0,120)+(H.nearbyHeading?" | heading: "+H.nearbyHeading:""),Z=p(x.getAttribute("src")||""),k=Z!==null;Z&&g.push({selector:B,attribute:"title",currentValue:S,issueType:"missing_label",wcag:"4.1.2",context:Y,needsAI:false,fixValue:Z,outerHtml:x.outerHTML.slice(0,300)}),!k&&T&&g.push({selector:B,attribute:"title",currentValue:S,issueType:"missing_label",wcag:"4.1.2",context:Y,needsAI:true,outerHtml:x.outerHTML.slice(0,300)});}return g},Uh={name:"iframeTitle",cap:50,async detect(d){return d.evaluate(FI)}};var II=()=>{let d="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",f=["hidden","submit","button","reset","image","checkbox","radio","file","range","color"],m=[],p={email:"email",tel:"tel",password:"current-password"},w=[{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"}],D=document.querySelectorAll("input, select, textarea");for(let x of D){if(m.length>=50)break;if(x.closest(d))continue;let C=x,I=(C.getAttribute("type")||"text").toLowerCase();if(f.includes(I)||C.getAttribute("autocomplete")||!isVisible(C))continue;let E="";if(p[I]&&(E=p[I]),!E){let _=(C.getAttribute("name")||"").toLowerCase(),R=(C.getAttribute("id")||"").toLowerCase(),S=(C.getAttribute("placeholder")||"").toLowerCase(),T=_+" "+R+" "+S;for(let M of w)if(T.includes(M.pattern)){E=M.autocomplete;break}}if(!E)continue;if(E==="country"){let _=false;if(C.tagName==="SELECT"){let R=Array.from(C.options).map(S=>(S.value||"").trim()).filter(Boolean);_=R.length>0&&R.every(S=>/^[A-Za-z]{2}$/.test(S));}_||(E="country-name");}let y=uniqueSel(C);m.push({selector:y,attribute:"autocomplete",currentValue:"",issueType:"identify_input_purpose",wcag:"1.3.5",context:"type: "+I+" | name: "+(C.getAttribute("name")||"")+" | id: "+(C.getAttribute("id")||""),needsAI:false,fixValue:E});}return m},Wh={name:"inputPurpose",cap:50,async detect(d){return d.evaluate(II)}};var LI=()=>{let d="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",g=[],m=['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 p(_){let R=_.getBoundingClientRect();if(R.width===0&&R.height===0)return false;let S=-window.scrollX,T=-window.scrollY,M=document.documentElement,O=getComputedStyle(_).position;if(O==="fixed")return false;let B=O==="absolute";for(let H=_.parentElement;H&&H!==document.body&&H!==M;H=H.parentElement){let Y=getComputedStyle(H);if(B){if(Y.position==="static")continue;B=false;}if(/auto|scroll/.test(Y.overflowX+" "+Y.overflowY))return false;let Z=Y.overflowX==="hidden"||Y.overflowX==="clip",k=Y.overflowY==="hidden"||Y.overflowY==="clip";if(!Z&&!k)continue;let v=H.getBoundingClientRect();if(Z&&(R.right<=v.left||R.left>=v.right)||k&&(R.bottom<=v.top||R.top>=v.bottom))return true;if(O=Y.position,O==="fixed")return false;O==="absolute"&&(B=true);}return R.right<=S||R.bottom<=T||R.left>=S+M.scrollWidth||R.top>=T+M.scrollHeight}let w='[role="tablist"],[aria-roledescription="carousel" i],[aria-roledescription="slide" i],[class*="slick"],[class*="swiper"],[class*="owl"],[class*="splide"],[class*="flickity"]',D='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"]',x='a[href],area[href],button,input:not([type="hidden"]),select,textarea,summary,iframe';function C(_){if(_.tagName==="A"){let S=_.href;if(S){for(let T of document.querySelectorAll("a[href]"))if(!(T===_||T.href!==S||T.tabIndex<0)&&!T.closest('[aria-hidden="true"],[hidden],[inert]')&&!(typeof isVisible=="function"&&!isVisible(T)))return "another focusable link to the same href exists"}}if(_.closest(w))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 R=_.parentElement?.closest(D);if(R){let S=0;for(let T of R.querySelectorAll(x))T!==_&&T.getAttribute("tabindex")?.trim()==="-1"&&S++;if(S>=2)return `${S} other controls in the same <${R.tagName.toLowerCase()}> also carry tabindex="-1" (inert by design)`}for(let S=_.parentElement;S&&S!==document.body&&!S.matches(x);S=S.parentElement){let T=parseInt(S.getAttribute("tabindex")||"",10);if(!Number.isFinite(T)||T<0)continue;let M=[...S.querySelectorAll(x)];if(M.length>=2&&M.every(O=>O.getAttribute("tabindex")?.trim()==="-1"))return 'a focusable ancestor owns focus and every control inside it carries tabindex="-1"';break}return ""}let I=document.querySelectorAll(m);for(let _ of I){if(g.length>=30)break;if(_.closest(d)||!_.hasAttribute("tabindex"))continue;let R=_.getAttribute("tabindex")||"",S=parseInt(R,10);if(!Number.isFinite(S)||S===0||_.getAttribute("aria-disabled")==="true"||_.getAttribute("aria-hidden")==="true"||_.closest('[aria-hidden="true"]')||_.closest("[hidden]"))continue;let T=_.closest('[role="dialog"],[role="alertdialog"],dialog,[role="menu"],[role="listbox"]');if(T&&!(T.hasAttribute("open")||T.getAttribute("aria-modal")==="true"||T.getAttribute("aria-hidden")!=="true")||typeof isVisible=="function"&&!isVisible(_)||S<0&&p(_))continue;let M=(_.getAttribute("role")||"").toLowerCase();if(S<0&&_.closest('[role="tablist"],[role="menu"],[role="menubar"],[role="listbox"],[role="tree"],[role="treegrid"],[role="grid"],[role="radiogroup"],[role="toolbar"]'))continue;let B=typeof uniqueSel=="function"?uniqueSel(_):"",H=typeof getNearbyContext=="function"?getNearbyContext(_):{parentTag:_.tagName.toLowerCase(),nearbyHeading:""},Y,Z,k=S<0?C(_):"";S<0?(Y="keyboard_trap",Z="2.1.1"):(Y="focus_order_disruption",Z="2.4.3");let v=[];v.push("tabindex: "+S),v.push("tag: "+_.tagName.toLowerCase()),M&&v.push("role: "+M),H.nearbyHeading&&v.push("heading: "+H.nearbyHeading),v.push("parent: "+H.parentTag),k&&v.push('author tabindex="-1" looks intentional: '+k),g.push({selector:B,attribute:"tabindex",currentValue:String(S),issueType:Y,wcag:Z,context:v.join(" | "),needsAI:false,fixValue:"0",...k?{manualFix:true,reviewReason:`the author's tabindex="-1" looks intentional (${k}); 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 E=/\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(g.length>=30)break;if(_.closest(d))continue;let R=_.getAttribute("onblur")||"";!E.test(R)||y.test(R)||_.matches('[disabled], [aria-disabled="true"]')||_.closest('[aria-hidden="true"], [hidden]')||typeof isVisible=="function"&&!isVisible(_)||g.push({selector:typeof uniqueSel=="function"?uniqueSel(_):_.tagName.toLowerCase(),attribute:"onblur",currentValue:R.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 g},Xh={name:"keyboardTrap",cap:30,async detect(d){return d.evaluate(LI)}};var PI=()=>{let d="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",g=[],p=document.querySelectorAll('button, a[href], [role="button"], [role="link"], input[type="submit"], input[type="button"]');for(let w of Array.from(p)){if(g.length>=40)break;if(w.closest(d)||typeof isVisible=="function"&&!isVisible(w))continue;let D="",x=[],C=[];try{let k=/(?:^|[\s_-])(?:icon|material-icons|material-symbols(?:-\w+)?|fa|fas|far|fab|fal|glyphicon|dashicons)(?:[\s_-]|$)/i,v=/icon|awesome|glyph|material symbols|dashicons/i,F=!1;try{F=v.test(getComputedStyle(w).fontFamily||"");}catch{}let P=we=>parseFloat(we||"0")||0,V=we=>{if(we.hasAttribute("hidden"))return !0;let ue=(we.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 Ae=ue.match(/(?:left|top):(-\d+)/);if(Ae&&parseInt(Ae[1],10)<=-999)return !0}return !1},j=(we,ue)=>{if(we.hasAttribute("hidden")||P(ue.fontSize)===0)return !0;let Ae=(ue.clip||"").replace(/\s+/g,"");if(/^rect\(0(px)?,?0(px)?,?0(px)?,?0(px)?\)$/.test(Ae)||/inset\((50|100)%\)/.test(ue.clipPath||""))return !0;let Me=we.getBoundingClientRect();return !!(/hidden|clip/.test(ue.overflow||ue.overflowX+" "+ue.overflowY)&&(Me.width<=1||Me.height<=1)||(ue.position==="absolute"||ue.position==="fixed")&&(P(ue.left)<=-999||P(ue.top)<=-999||Me.right<=0||Me.bottom<=-window.scrollY))},G=!1,J=document.createTreeWalker(w,NodeFilter.SHOW_TEXT),ee;for(;ee=J.nextNode();){let we=ee.parentElement;if(!we)continue;let ue=(ee.textContent||"").trim();if(!ue||we===w&&F)continue;let Ae=!1,Me=!1;for(let Ne=we;Ne&&Ne!==w;Ne=Ne.parentElement){if(Ne.tagName==="KBD"&&(Me=!0),Ne.getAttribute("aria-hidden")==="true"){Ae=!0;break}if(k.test(Ne.getAttribute("class")||"")||k.test(Ne.getAttribute("id")||"")){Ae=!0;break}try{let Fe=getComputedStyle(Ne);if(Fe.display==="none"||Fe.visibility==="hidden"){Ae=!0;break}if(parseFloat(Fe.opacity||"1")===0){Ae=!0;break}if(v.test(Fe.fontFamily||"")){Ae=!0;break}if(j(Ne,Fe)){Ae=!0;break}}catch{if(V(Ne)){Ae=!0;break}Ne.tagName==="SPAN"&&(G=!0);}}!Ae&&/[\p{L}\p{N}]/u.test(ue)&&C.push({text:ue,kbd:Me});}let ae=0,Q=C.length;for(;ae<Q&&C[ae].kbd;)ae++;for(;Q>ae&&C[Q-1].kbd;)Q--;let ce=ae<Q?C.slice(ae,Q):C;for(let we of ce)x.push(we.text);D=G?"":x.join(" ").trim().toLowerCase();}catch{D=((w.innerText!=null?w.innerText:w.textContent)||"").trim().toLowerCase();}if(!D||!/[\p{L}\p{N}]/u.test(D)||/^\p{L}$/u.test(D))continue;let E=/[\p{L}\p{N}\p{M}]/u,y=(w.getAttribute("aria-label")||"").trim().toLowerCase();if(!y){let k=w.getAttribute("aria-labelledby");k&&(y=(typeof __resolveIdRefs=="function"?__resolveIdRefs(k):"").toLowerCase());}if(!y)continue;let _=k=>{let v=k.toLowerCase().replace(/\([^)]*\)/g," ");return (/[\p{L}\p{N}]/u.test(v)?v:k.toLowerCase()).replace(/[\p{S}\u2026*]/gu," ").replace(/\s+/g," ").trim().normalize("NFC")},R=_(y),S=/[\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,T=(k,v)=>!k||!E.test(k)||S.test(k)||S.test(v),M=(k,v)=>{if(v<=0)return "";let F=k.charCodeAt(v-1);return F>=56320&&F<=57343&&v>=2?k.slice(v-2,v):k.charAt(v-1)},O=(k,v)=>{let F=k.codePointAt(v);return F===void 0?"":String.fromCodePoint(F)},B=k=>{let v=k.substring(0,40);if(!v)return true;let F=k.length>=40,P=O(v,0),V=M(v,v.length);for(let j=0;;){let G=R.indexOf(v,j);if(G<0)return false;if(T(M(R,G),P)&&(F||T(O(R,G+v.length),V)))return true;j=G+1;}};if(B(_(D))||x.length>1&&B(_(x.join(""))))continue;if(x.length>1){let k=true,v=0;for(let F of x){let P=_(F.toLowerCase());if(!P)continue;let V=P.slice(0,40),j=-1;for(let G=v;;){let J=R.indexOf(V,G);if(J<0)break;let ee=T(M(R,J),O(V,0)),ae=V.length>=40||T(O(R,J+V.length),M(V,V.length));if(ee&&ae){j=J;break}G=J+1;}if(j<0){k=false;break}v=j+V.length;}if(k)continue}let H=typeof uniqueSel=="function"?uniqueSel(w):"",Y=typeof getNearbyContext=="function"?getNearbyContext(w):{parentTag:w.tagName.toLowerCase(),nearbyHeading:""},Z=[];Z.push("visible: "+D.slice(0,40)),Z.push("aria-label: "+y.slice(0,60)),Y.nearbyHeading&&Z.push("heading: "+Y.nearbyHeading),Z.push("parent: "+Y.parentTag),g.push({selector:H,attribute:"aria-label",currentValue:y,issueType:"label_in_name",wcag:"2.5.3",context:Z.join(" | "),needsAI:true,outerHtml:(w.outerHTML||"").slice(0,300)});}return g},Yh={name:"labelInName",cap:40,async detect(d){return d.evaluate(PI)}};var MI=()=>{let d="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=EquallyAI]",g=["click here","click","here","read more","more","link","this","go","info","details","learn more","see more","view","open","tap"],m=[];function p(E){if(!E)return "";let y=E.split("#")[0];return y.length>1&&y.charAt(y.length-1)==="/"&&(y=y.substring(0,y.length-1)),y}function w(E){let y=(E.getAttribute("aria-label")||"").trim();return y||(E.textContent||"").trim().replace(/\s+/g," ")}function D(E){return !!E.closest('nav, [role="navigation"], [role="menubar"], [class*=breadcrumb], [aria-label*="breadcrumb" i]')}let x={},C=document.querySelectorAll("a[href]");for(let E=0;E<C.length;E++){let y=C[E];if(y.closest(d)||y.getAttribute("aria-hidden")==="true"||!isVisible(y))continue;let _=y.getAttribute("href")||"";if(!_)continue;let R=_.toLowerCase();if(R.charAt(0)==="#"||R.indexOf("javascript:")===0||R.indexOf("mailto:")===0||R.indexOf("tel:")===0)continue;let S=y.href||_,T=p(S);if(!T||D(y))continue;let M=(y.textContent||"").trim(),O=!!y.querySelector("img, svg, picture");if(!M&&O)continue;let B=w(y);if(!B)continue;let H=B.toLowerCase();H===R||H===S.toLowerCase()||(x[T]||(x[T]=[]),x[T].push(y));}let I=Object.keys(x);for(let E=0;E<I.length&&!(m.length>=30);E++){let y=x[I[E]];if(!y||y.length<2)continue;let _={},R="";for(let O=0;O<y.length;O++){let B=w(y[O]),H=B.toLowerCase();_[H]=true,B.length>R.length&&(R=B);}if(Object.keys(_).length<2)continue;let T=R.toLowerCase().trim();if(T.length<5)continue;let M=false;for(let O=0;O<g.length;O++)if(T===g[O]){M=true;break}if(!M)for(let O=0;O<y.length&&!(m.length>=30);O++){let B=y[O],H=w(B);if(H.toLowerCase()===T)continue;let Y=uniqueSel(B);m.push({selector:Y,attribute:"aria-label",currentValue:H,issueType:"link_consistency",wcag:"3.2.4",context:"Same href as "+y.length+' link(s) on this page with different text (e.g. "'+R.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:B.outerHTML.slice(0,300)});}}return m},Kh={name:"linkConsistency",cap:30,async detect(d){return d.evaluate(MI)}};var OI=()=>{let f=[],g=[".pdf",".doc",".docx",".xls",".xlsx",".zip",".csv",".ppt",".pptx",".txt",".rtf",".epub"],m={".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"},p="";try{p=window.location&&window.location.hostname||"";}catch{p="";}p=(p||"").toLowerCase();function w(S,T){if(!S||!T)return false;if(S===T||S.endsWith("."+T)||T.endsWith("."+S))return true;let M=O=>{let B=O.split(".");if(B.length<=2)return O;let H=B[B.length-1],Y=B[B.length-2],Z=["co","com","net","org","ac","gov","edu"],k=H.length===2&&Z.indexOf(Y)>=0?3:2;return B.slice(-k).join(".")};return M(S)===M(T)}function D(S){return S.indexOf("www.")===0?S.slice(4):S}function x(S){if(!S)return "";let T=S.toLowerCase();if(T.charAt(0)==="#"||T.charAt(0)==="/"||T.charAt(0)==="?"||T.indexOf("javascript:")===0||T.indexOf("mailto:")===0||T.indexOf("tel:")===0)return "";try{return (new window.URL(S,window.location.href).hostname||"").toLowerCase()}catch{return ""}}function C(S){if(!S)return "";let T=S,M=T.indexOf("?");M>=0&&(T=T.slice(0,M));let O=T.indexOf("#");O>=0&&(T=T.slice(0,O)),T=T.toLowerCase();for(let B=0;B<g.length;B++){let H=g[B];if(T.length>=H.length&&T.slice(T.length-H.length)===H)return H}return ""}function I(S){let T=[],M=(S.getAttribute("aria-label")||"").trim();M&&T.push(M);let O=(S.getAttribute("title")||"").trim();O&&T.push(O);let B=S.getAttribute("aria-labelledby");if(B)try{let H=typeof __resolveIdRefs=="function"?__resolveIdRefs(B):"";H&&T.push(H);}catch{}return T.push((S.textContent||"").trim()),T.join(" ").toLowerCase()}function E(S,T,M){let O="";try{typeof getAccessibleName=="function"&&(O=(getAccessibleName(S)||"").trim());}catch{}let B=(T||M||O||S.textContent||"").replace(/\s+/g," ").trim();return B||(S.getAttribute("href")||"").trim().replace(/^https?:\/\//i,"").replace(/\/+$/,"")}function y(S,T){let O=200-T.length;O<8&&(O=8);let B=S;if(B.length>O){let H=B.slice(0,O),Y=H.lastIndexOf(" ");Y>O*.6&&(H=H.slice(0,Y)),B=H.replace(/[\s…,;:.\-]+$/,"")+"\u2026";}return (B+T).slice(0,200)}let _=document.querySelectorAll("a"),R=_.length;for(let S=0;S<R&&!(f.length>=50);S++){let T=_[S];if(!T||isWidget(T)||T.getAttribute("aria-hidden")==="true")continue;try{if(T.closest&&T.closest('[aria-hidden="true"]'))continue}catch{}if(!isVisible(T))continue;let M=T.getAttribute("href");if(M==null)continue;let O=String(M).trim();if(!O)continue;let B=O.toLowerCase(),H=I(T),Y=(T.getAttribute("rel")||"").toLowerCase(),Z=uniqueSel(T),k=(T.textContent||"").trim().slice(0,80),v=(T.getAttribute("target")||"").toLowerCase(),F=(T.outerHTML||"").slice(0,300),P=O==="#",V=B.indexOf("javascript:")===0;if((P||V)&&(T.getAttribute("role")||"").toLowerCase()!=="button"){let Q=T.hasAttribute&&T.hasAttribute("onclick"),ce=T.hasAttribute&&(T.hasAttribute("data-action")||T.hasAttribute("data-click")||T.hasAttribute("data-toggle")||T.hasAttribute("data-target")),we=typeof T.onclick=="function",ue=Q||ce||we,Ae=[];Ae.push("href: "+O),k&&Ae.push("text: "+k),Ae.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=ke=>{if(getComputedStyle(ke).visibility==="hidden")return false;for(let Mt=ke;Mt&&Mt.nodeType===1;Mt=Mt.parentElement)if(getComputedStyle(Mt).display==="none")return false;return true},Fe=Array.prototype.some.call(T.querySelectorAll(Me),ke=>Ne(ke)&&!isHiddenFromAT(ke));ue&&!Fe&&f.push({selector:Z,attribute:"role",currentValue:O,issueType:"placeholder_link",wcag:"2.4.4",context:Ae.join(" | "),needsAI:false,fixValue:"button",outerHtml:F});continue}if(O.charAt(0)==="#"&&O.length>1)continue;let j=C(B);if(j){let ae=T.hasAttribute&&T.hasAttribute("download"),Q=(m[j]||j).toLowerCase(),ce=H.indexOf(j)>=0||H.indexOf(Q)>=0||H.indexOf("download")>=0;if(!ae&&!ce){let we=E(T,(T.getAttribute("aria-label")||"").trim(),""),ue=y(we," ("+(m[j]||j)+" download)");f.push({selector:Z,attribute:"aria-label",currentValue:(T.getAttribute("aria-label")||"").trim(),issueType:"download_link_warning",wcag:"3.2.5",context:"download link \u2014 "+j+" | href: "+O.slice(0,120),needsAI:false,fixValue:ue,outerHtml:F});continue}}let G=x(O),J=B.indexOf("http://")===0||B.indexOf("https://")===0||B.indexOf("//")===0,ee=!!G&&!!p&&!w(D(G),D(p));if(v==="_blank"){let ae=Y.indexOf("noopener")>=0||Y.indexOf("noreferrer")>=0,Q=H.indexOf("new window")>=0||H.indexOf("new tab")>=0||H.indexOf("opens in")>=0;if(!Q){let ce=(T.getAttribute("aria-label")||"").trim(),we="",ue=T.getAttribute("aria-labelledby")||"";if(!ce&&ue)try{typeof __resolveIdRefs=="function"&&(we=(__resolveIdRefs(ue)||"").trim());}catch{}let Ae=E(T,ce,we),Me=y(Ae," (opens in new window)"),Ne=[];ae||Ne.push("missing rel=noopener"),Q||Ne.push('missing "new window" hint'),Ne.push("href: "+O.slice(0,120)),f.push({selector:Z,attribute:"aria-label",currentValue:(T.getAttribute("aria-label")||"").trim(),issueType:"new_window_link",wcag:"3.2.5",context:Ne.join(" | "),needsAI:false,fixValue:Me,outerHtml:F});continue}}if(ee&&J){let ae=Y.indexOf("external")>=0,Q=H.indexOf("external")>=0||H.indexOf("opens in")>=0||H.indexOf("new window")>=0||H.indexOf("new tab")>=0;if(!ae&&!Q){let ce=(T.getAttribute("aria-label")||"").trim(),we="",ue=T.getAttribute("aria-labelledby")||"";if(!ce&&ue)try{typeof __resolveIdRefs=="function"&&(we=(__resolveIdRefs(ue)||"").trim());}catch{}let Ae=E(T,ce,we),Me=y(Ae," (external link)");f.push({selector:Z,attribute:"aria-label",currentValue:(T.getAttribute("aria-label")||"").trim(),issueType:"external_link_warning",wcag:"3.2.5",context:"external: "+G+" (page: "+p+") | href: "+O.slice(0,120),needsAI:false,fixValue:Me,outerHtml:F});}}}return f},Jh={name:"linkWarnings",cap:50,async detect(d){return d.evaluate(OI)}};var NI=()=>{let d="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=ae-exclude],[id*=ae_app],[id*=ae_],[class*=EquallyAI]",g=[],m=new Set,p=document.querySelectorAll('main, [role="main"]'),w=[];return p.forEach(D=>{let x=getComputedStyle(D);x.display!=="none"&&x.visibility!=="hidden"&&w.push(D);}),p.forEach(D=>{if(g.length>=10||D.closest(d)||D.getAttribute("aria-hidden")!=="true")return;let x=getComputedStyle(D);if(x.display==="none"||x.visibility==="hidden"||D.closest('[role="dialog"]')||D.closest('[role="alertdialog"]')||D.closest("dialog")||w.some(y=>y!==D&&y.getAttribute("aria-hidden")!=="true"))return;let I=D.parentElement;for(;I&&I!==document.body&&I!==document.documentElement;){if(I.getAttribute("aria-hidden")==="true")return;I=I.parentElement;}let E=uniqueSel(D);m.has(E)||(m.add(E),g.push({selector:E,attribute:"aria-hidden",currentValue:"true",issueType:"main_content_hidden",wcag:"4.1.2",context:JSON.stringify({tag:D.tagName.toLowerCase(),role:D.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:(D.outerHTML||"").slice(0,300)}));}),g},Zh={name:"mainContentHidden",cap:10,async detect(d){return d.evaluate(NI)}};var qI=()=>{let f=[];function g(D){return !!(!D||isWidget(D)||(D.getAttribute("aria-hidden")||"").trim().toLowerCase()==="true")}function m(D){return (D.outerHTML||"").slice(0,300)}let p=document.querySelectorAll("video");for(let D of p){if(f.length>=10)break;let x=D;if(g(x))continue;let C=x.hasAttribute("controls"),I=x.hasAttribute("autoplay"),E=x.hasAttribute("muted"),y=I||!x.paused&&!x.ended,_=typeof isVisible=="function"?isVisible(x):true;if(!C&&y&&_&&(f.push({selector:uniqueSel(x),attribute:"controls",currentValue:"",issueType:"missing_media_controls",wcag:"2.2.2",context:"video element missing player controls",needsAI:false,fixValue:"",outerHtml:m(x)}),f.length>=10))break;I&&!E&&f.push({selector:uniqueSel(x),attribute:"muted",currentValue:"",issueType:"unsafe_autoplay",wcag:"1.4.2",context:"video autoplays with sound \u2014 add muted",needsAI:false,fixValue:"",outerHtml:m(x)});}let w=document.querySelectorAll("audio");for(let D of w){if(f.length>=10)break;let x=D;if(g(x))continue;let C=x.hasAttribute("controls"),I=x.hasAttribute("autoplay"),E=I||!x.paused&&!x.ended;if(!C&&E&&(f.push({selector:uniqueSel(x),attribute:"controls",currentValue:"",issueType:"missing_media_controls",wcag:"2.2.2",context:"audio element missing player controls",needsAI:false,fixValue:"",outerHtml:m(x)}),f.length>=10))break;I&&f.push({selector:uniqueSel(x),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:m(x)});}return f},Qh={name:"mediaControls",cap:10,async detect(d){return d.evaluate(qI)}};var BI=()=>{let d="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",g=[],m=[],p=/^(image|photo|img|picture|pic|untitled|banner|hero|\d{1,2})$/i,w=/^(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,D=/pixel|track|beacon|doubleclick|facebook\.com\/tr\b/i,x=(y,_)=>{let R=y.getAttribute(_);if(R===null)return false;let S=parseFloat(R);return !isNaN(S)&&S<=1},C=document.querySelectorAll("img");for(let y of C){if(g.length>=50)break;if(y.closest(d)||y.closest("template, noscript, script"))continue;let _=y.getAttribute("src")||"",R=y.getAttribute("alt");if(_.startsWith("data:")||x(y,"width")||x(y,"height"))continue;let S=y.naturalWidth||0,T=y.naturalHeight||0;if(S>0&&T>0&&S<=3&&T<=3||y.getAttribute("role")==="presentation"||y.getAttribute("role")==="none"||y.getAttribute("aria-hidden")==="true")continue;let M=S||y.width,O=T||y.height,B=y.getBoundingClientRect(),H=!isVisible(y)||M<=2&&O<=2||B.width<=2&&B.height<=2||!!y.closest('[aria-hidden="true"]');if(H&&(R!==null||m.length>=50||D.test(_)))continue;let Y=(y.getAttribute("aria-label")||"").trim(),Z=(y.getAttribute("aria-labelledby")||"").trim();if(Y||Z)continue;if(R===null){let V=uniqueSel(y),j=getNearbyContext(y),G=[],J=y.closest("figure");if(J){let ce=J.querySelector("figcaption");ce&&G.push("figcaption: "+(ce.textContent||"").trim().slice(0,80));}j.nearbyHeading&&G.push("heading: "+j.nearbyHeading);let ee=y.closest("a");if(ee){let ce=ee.getAttribute("href")||"",we=(ee.textContent||"").trim().replace(/\s+/g," ");we&&G.push("link text: "+we.slice(0,60)),ce&&G.push("link href: "+ce.slice(0,80));}_&&G.push("src: "+_.slice(0,120)),G.push("parent: "+j.parentTag);let ae=_;try{ae=new URL(_,document.baseURI).href;}catch{}(H?m:g).push({selector:V,attribute:"alt",currentValue:"",issueType:"missing_alt",wcag:"1.1.1",context:G.join(" | "),needsAI:true,imageSrc:ae,outerHtml:y.outerHTML.slice(0,300)});continue}let k=(R||"").trim();if(k==="")continue;let v=/\.(jpg|jpeg|png|gif|webp|svg|bmp|ico)$/i.test(k),F=p.test(k),P=w.test(k);if(v||F||P){let V=uniqueSel(y),j=getNearbyContext(y),G=[];j.nearbyHeading&&G.push("heading: "+j.nearbyHeading),_&&G.push("src: "+_.slice(0,120)),G.push("parent: "+j.parentTag);let J=_;try{J=new URL(_,document.baseURI).href;}catch{}g.push({selector:V,attribute:"alt",currentValue:k,issueType:"missing_alt",wcag:"1.1.1",context:G.join(" | "),needsAI:true,imageSrc:J,outerHtml:y.outerHTML.slice(0,300)});}}let I=globalThis;for(let y of Array.from(document.querySelectorAll("object"))){if(g.length>=50)break;if(y.closest(d)||y.closest('[aria-hidden="true"]')||y.getAttribute("aria-hidden")==="true")continue;let _=(y.getAttribute("role")||"").trim().toLowerCase();if(_==="presentation"||_==="none"||!I.isVisible(y))continue;let R=y.getAttribute("data")||"",S=(y.getAttribute("type")||"").trim().toLowerCase(),T=S.startsWith("image/"),M=/\.(png|jpe?g|gif|webp|bmp|svg)(\?[^#]*)?(#.*)?$/i.test(R);if(!R||!(T||!S&&M)||(y.getAttribute("aria-label")||"").trim()||(y.getAttribute("title")||"").trim())continue;let O=(y.getAttribute("aria-labelledby")||"").trim();O&&O.split(/\s+/).some(B=>(document.getElementById(B)?.textContent||"").trim())||y.closest('a, button, [role="button"], [role="link"]')||g.push({selector:I.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: "+R.slice(0,120),needsAI:false,outerHtml:y.outerHTML.slice(0,300)});}let E=Array.from(document.querySelectorAll("script:not([src])")).map(y=>y.textContent||"");for(let y of Array.from(document.querySelectorAll("canvas"))){if(g.length>=50)break;if(y.closest(d)||y.closest('[aria-hidden="true"]')||y.getAttribute("aria-hidden")==="true")continue;let _=(y.getAttribute("role")||"").trim().toLowerCase();if(_==="presentation"||_==="none"||!I.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 R=y.getBoundingClientRect();if(R.width<=30||R.height<=30)continue;let S=y.getAttribute("id");if(!S)continue;let T=new RegExp("#"+S.replace(/[^\w-]/g,"")+`\\b|getElementById\\(\\s*['"]`+S.replace(/[^\w-]/g,"")+`['"]`);E.some(O=>T.test(O)&&/\b(fillText|strokeText)\s*\(/.test(O))&&g.push({selector:I.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 m){if(g.length>=50)break;g.push(y);}return g},eg={name:"missingAlt",cap:50,async detect(d){return d.evaluate(BI)}};var HI=()=>{let d="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=EquallyAI],[id*=ae_],[class*=ae-exclude]",f='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"]',g=["onclick","data-action","ng-click","@click","v-on:click"],m=S=>{if(getComputedStyle(S).visibility==="hidden")return false;for(let T=S;T&&T.nodeType===1;T=T.parentElement)if(getComputedStyle(T).display==="none")return false;return true},p=S=>Array.prototype.some.call(S.querySelectorAll("a:not([href])"),T=>m(T)&&!isHiddenFromAT(T)&&g.some(M=>T.hasAttribute(M))),w=S=>Array.prototype.some.call(S.querySelectorAll(f),T=>m(T)&&!isHiddenFromAT(T)),x=[];return document.querySelectorAll("div[onclick], span[onclick]").forEach(S=>{if(x.length>=50||S.closest(d)||!isVisible(S)||isHiddenFromAT(S)||w(S)||p(S))return;let T=S.getAttribute("role");if(T==="button"||T==="link"||T==="tab"||T==="menuitem"||T==="checkbox"||T==="radio")return;let M=uniqueSel(S),O=S.outerHTML.slice(0,300);x.push({selector:M,attribute:"role",currentValue:T||"",issueType:"missing_button_role",wcag:"4.1.2",context:JSON.stringify({tag:S.tagName.toLowerCase(),hasOnclick:true,currentTabindex:S.getAttribute("tabindex")}),needsAI:false,fixValue:"button",outerHtml:O}),S.getAttribute("tabindex")===null&&x.push({selector:M,attribute:"tabindex",currentValue:"",issueType:"missing_button_role",wcag:"4.1.2",context:JSON.stringify({tag:S.tagName.toLowerCase(),supplementary:'tabindex needed alongside role="button"'}),needsAI:false,fixValue:"0",outerHtml:O});}),document.querySelectorAll('a:not([href]), a[href=""], a[href="#"], a[href="javascript:void(0)"], a[href="javascript:;"]').forEach(S=>{if(x.length>=50||S.closest(d)||!isVisible(S)||isHiddenFromAT(S)||S.getAttribute("role"))return;let M=S.hasAttribute("onclick"),O=S.getAttribute("data-action")||S.getAttribute("ng-click")||S.getAttribute("@click")||S.getAttribute("v-on:click");if(!M&&!O||w(S))return;let B=uniqueSel(S),H=S.outerHTML.slice(0,300);x.push({selector:B,attribute:"role",currentValue:"",issueType:"missing_button_role",wcag:"4.1.2",context:JSON.stringify({tag:"a",href:S.getAttribute("href")||"",hasOnclick:M}),needsAI:false,fixValue:"button",outerHtml:H});}),document.querySelectorAll('a[href^="#"]:not([href="#"]), a[href^="javascript:"]').forEach(S=>{if(x.length>=50||S.closest(d)||!isVisible(S)||isHiddenFromAT(S)||S.getAttribute("role"))return;let M=S.getAttribute("href")||"",O=false;if(M.startsWith("#")&&M.length>1){if(M.charAt(1)==="/")return;let Z=M.slice(1);if(document.getElementById(Z))return;try{if(document.querySelector('[name="'+CSS.escape(Z)+'"]'))return}catch{}O=true;}let B=M.startsWith("javascript:")||S.hasAttribute("onclick")||S.getAttribute("data-action")||S.getAttribute("ng-click")||S.getAttribute("@click")||S.getAttribute("v-on:click")||S.hasAttribute("aria-haspopup")||S.hasAttribute("aria-expanded")||S.hasAttribute("aria-controls"),H=O&&!B;if(w(S))return;let Y=uniqueSel(S);x.push({selector:Y,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:S.outerHTML.slice(0,300),...H?{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(S=>{if(x.length>=50||S.closest(d)||!isVisible(S)||isHiddenFromAT(S))return;let T=(S.className&&typeof S.className=="string"?S.className:"").toLowerCase(),M=(S.getAttribute("id")||"").toLowerCase();if(!T.includes("breadcrumb")&&!T.includes("crumb")&&!M.includes("breadcrumb")&&!M.includes("crumb"))return;let O=S.querySelectorAll("a");if(O.length<2)return;let B=(S.getAttribute("aria-label")||"").toLowerCase(),H=S.getAttribute("role");if(B.includes("breadcrumb")||B.includes("crumb")||H==="navigation"&&B)return;let Y=uniqueSel(S);x.push({selector:Y,attribute:"aria-label",currentValue:B,issueType:"missing_semantic_role",wcag:"4.1.2",context:JSON.stringify({tag:S.tagName.toLowerCase(),reason:"breadcrumb navigation missing aria-label",linkCount:O.length}),needsAI:false,fixValue:"Breadcrumb",outerHtml:S.outerHTML.slice(0,300)});}),document.querySelectorAll("form, section, div").forEach(S=>{if(x.length>=50||S.closest(d)||!isVisible(S)||isHiddenFromAT(S))return;let T=(S.className&&typeof S.className=="string"?S.className:"").toLowerCase(),M=(S.getAttribute("id")||"").toLowerCase();if(!T.includes("search")&&!M.includes("search")||!S.querySelector('input[type="search"], input[type="text"], input[name*="search"], input[placeholder*="earch"]'))return;let B=S.getAttribute("role");if(B==="search"||S.closest('[role="search"]')||S.querySelector('[role="search"]')||Array.prototype.some.call(S.querySelectorAll("form, section, div"),Z=>{let k=(Z.className&&typeof Z.className=="string"?Z.className:"").toLowerCase(),v=(Z.getAttribute("id")||"").toLowerCase();return !k.includes("search")&&!v.includes("search")||Z.getAttribute("role")==="search"?false:!!Z.querySelector('input[type="search"], input[type="text"], input[name*="search"], input[placeholder*="earch"]')}))return;let Y=uniqueSel(S);x.push({selector:Y,attribute:"role",currentValue:B||"",issueType:"missing_semantic_role",wcag:"4.1.2",context:JSON.stringify({tag:S.tagName.toLowerCase(),reason:'search section missing role="search"'}),needsAI:false,fixValue:"search",outerHtml:S.outerHTML.slice(0,300)});}),document.querySelectorAll('[role="menu"], [role="menubar"]').forEach(S=>{if(S.closest(d))return;let T=S.getAttribute("role")||"menu",M=Array.from(S.querySelectorAll("a")).filter(B=>{if(!isVisible(B)||isHiddenFromAT(B))return false;let H=B.getAttribute("role");return H!=="menuitem"&&H!=="menuitemcheckbox"&&H!=="menuitemradio"});if(M.length===0)return;let O=uniqueSel(S);x.push({selector:O,attribute:"role",currentValue:T,issueType:"missing_semantic_role",wcag:"4.1.2",context:JSON.stringify({tag:S.tagName.toLowerCase(),reason:`${M.length} link(s) inside role="${T}" without menuitem roles`,sample:M.slice(0,3).map(B=>(B.textContent||"").trim().slice(0,40))}),message:`container role="${T}" 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:S.outerHTML.slice(0,300)});}),x},tg={name:"missingRoles",cap:50,async detect(d){return d.evaluate(HI)}};var VI=()=>{let d="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye]",g=[],m={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[p,w]of Object.entries(m))document.querySelectorAll(w).forEach(x=>{if(g.length>=30||x.closest(d)||typeof isVisible=="function"&&!isVisible(x))return;let C=x.parentElement,I=null;for(;C&&C!==document.body;){if(C.matches(w)){I=C;break}C=C.parentElement;}if((p==="banner"||p==="contentinfo")&&x.closest("article, section, aside, main, nav")||!I||x.getAttribute("aria-label")?.trim()||x.getAttribute("aria-labelledby")?.trim())return;let E=typeof uniqueSel=="function"?uniqueSel(x):"",y=typeof getNearbyContext=="function"?getNearbyContext(x):{nearbyHeading:""};g.push({selector:E,attribute:"role",currentValue:x.getAttribute("role")||x.tagName.toLowerCase(),issueType:"nested_landmark",wcag:"1.3.1",context:`nested-in: ${p} | tag: ${x.tagName.toLowerCase()} | heading: ${y.nearbyHeading||""}`,needsAI:false,fixValue:"generic",outerHtml:(x.outerHTML||"").slice(0,300)});});return g},rg={name:"nestedLandmarks",cap:30,async detect(d){return d.evaluate(VI)}};var $I=()=>{let f=[],g=k=>typeof parseCssColor=="function"?parseCssColor(k):null,m=(k,v,F)=>typeof relLuminance=="function"?relLuminance(k,v,F):0,w=(k,v)=>typeof contrastRatio=="function"?contrastRatio(k,v):1;function D(k){let v=document.documentElement,F=k.parentElement,P=0;for(;F&&F!==v&&P<6;){let J=getComputedStyle(F).backgroundColor||"",ee=g(J);if(ee&&ee[3]>.5)return [ee[0],ee[1],ee[2]];F=F.parentElement,P++;}let V=document.body;if(F&&F!==v&&V&&V.contains(F)){let J=g(getComputedStyle(V).backgroundColor||"");if(J&&J[3]>.5)return [J[0],J[1],J[2]]}let j=g(getComputedStyle(v).backgroundColor||""),G=j?Math.min(j[3],1):0;return !j||G<=0?[255,255,255]:[Math.round(j[0]*G+255*(1-G)),Math.round(j[1]*G+255*(1-G)),Math.round(j[2]*G+255*(1-G))]}function x(k,v,F){return "#"+[k,v,F].map(P=>{let V=Math.max(0,Math.min(255,Math.round(P))).toString(16);return V.length===1?"0"+V:V}).join("")}function C(k,v,F){let P=m(v[0],v[1],v[2])>.5;return I(k,v,F,P)||I(k,v,F,!P)}function I(k,v,F,P){let V=0,j=1,G=null;for(let J=0;J<20;J++){let ee=(V+j)/2,ae=P?[k[0]*(1-ee),k[1]*(1-ee),k[2]*(1-ee)]:[k[0]+(255-k[0])*ee,k[1]+(255-k[1])*ee,k[2]+(255-k[2])*ee],Q=[Math.round(ae[0]),Math.round(ae[1]),Math.round(ae[2])];w(Q,v)>=F?(G=Q,j=ee):V=ee;}return G}let E=(k,v)=>{let F=Math.max(0,Math.min(1,k[3]));return [k[0]*F+v[0]*(1-F),k[1]*F+v[1]*(1-F),k[2]*F+v[2]*(1-F)]};function y(k,v){let F=k.boxShadow||"";if(!F||F==="none")return null;let P=[],V=0,j="";for(let J of F)J==="("&&V++,J===")"&&V--,J===","&&V===0?(P.push(j),j=""):j+=J;j&&P.push(j);let G=null;for(let J of P){let ee=J.match(/rgba?\([^)]*\)/),ae=ee?g(ee[0]):null;if(!ae||ae[3]<=0||(J.replace(/rgba?\([^)]*\)/,"").replace("inset","").trim().split(/\s+/).map(ue=>parseFloat(ue)).filter(ue=>Number.isFinite(ue))[3]??0)<=0)continue;let we=w(E(ae,v),v);(G===null||we>G)&&(G=we);}return G}function _(k){let v=getComputedStyle(k),F=D(k),P=null,V=parseFloat(v.borderTopWidth||"0"),j=(v.borderTopStyle||"").toLowerCase(),G=g(v.borderTopColor||"");V>0&&j!=="none"&&j!=="hidden"&&G&&G[3]>0&&(P=w(E(G,F),F));let J=g(v.backgroundColor||"");if(J&&J[3]>0){let ae=w(E(J,F),F);(P===null||ae>P)&&(P=ae);}let ee=y(v,F);return ee!==null&&(P===null||ee>P)&&(P=ee),P}function R(k){let v=k.getBoundingClientRect();if(v.width*v.height<=0)return null;let F='input, select, textarea, button, [role="button"], svg, img, i, label',P=k.parentElement,V=null;for(let j=0;P&&j<3&&!(P===document.body||P===document.documentElement);j++,P=P.parentElement){let G=P.getBoundingClientRect();if(G.width*G.height>4*v.width*v.height+1||G.height>Math.max(2.5*v.height,v.height+40))break;let J=false,ee=document.createTreeWalker(P,4),ae=ee.nextNode();for(;ae;){if((ae.textContent||"").trim()&&ae.parentElement&&!ae.parentElement.closest(F)&&isVisible(ae.parentElement)){J=true;break}ae=ee.nextNode();}if(J)break;let Q=_(P);Q!==null&&Q>1.01&&(V===null||Q>V)&&(V=Q);}return V}let S=k=>/^(img|picture|video|canvas|object|embed|iframe)$/.test((k.tagName||"").toLowerCase())||(getComputedStyle(k).backgroundImage||"none")!=="none",T=(k,v)=>{let F=Math.min(k.right,v.right)-Math.max(k.left,v.left),P=Math.min(k.bottom,v.bottom)-Math.max(k.top,v.top);return F>0&&P>0&&F*P/(k.width*k.height)>=.5},M=null;function O(k){let v=k.getBoundingClientRect();if(v.width*v.height<=0)return false;let F=v.left+v.width/2,P=v.top+v.height/2;if(F>=0&&P>=0&&F<window.innerWidth&&P<window.innerHeight&&typeof document.elementsFromPoint=="function"){let j=document.elementsFromPoint(F,P),G=j.indexOf(k);if(G>=0){for(let J of j.slice(G+1)){if(S(J))return true;let ee=g(getComputedStyle(J).backgroundColor||"");if(ee&&ee[3]>.5)return false}return false}}for(let j=k.parentElement,G=0;j&&G<8;j=j.parentElement,G++){let J=getComputedStyle(j);if((J.backgroundImage||"none")!=="none")return true;let ee=g(J.backgroundColor||"");if(ee&&ee[3]>.5||j===document.documentElement)break}M||(M=Array.from(document.querySelectorAll("img, picture, video, canvas, object, embed, iframe")));for(let j of M)if(!(j===k||k.contains(j)||j.contains(k))&&T(v,j.getBoundingClientRect())&&isVisible(j))return true;let V=k.offsetParent||k.parentElement;if(V&&V!==document.body&&V!==document.documentElement){let j=V.getElementsByTagName("*");for(let G=0;G<j.length&&G<400;G++){let J=j[G];if(!(J===k||k.contains(J)||J.contains(k))&&T(v,J.getBoundingClientRect())&&(getComputedStyle(J).backgroundImage||"none")!=="none"&&isVisible(J))return true}}return false}function B(k){for(let V=k.parentElement;V&&V.nodeType===1;V=V.parentElement)if(parseFloat(getComputedStyle(V).opacity||"1")<1)return false;let v=V=>{if(V.tagName.toLowerCase()!=="svg"){let J=g(getComputedStyle(V).color||"");return J&&J[3]>0?[J]:null}let j=[],G=Array.from(V.querySelectorAll("path, rect, circle, ellipse, polygon, polyline, line, text, use"));for(let J of G){let ee=J.getBoundingClientRect();if(ee.width===0&&ee.height===0)continue;let ae=getComputedStyle(J);if(ae.display==="none"||ae.visibility==="hidden"||parseFloat(ae.opacity||"1")<1)return null;for(let[Q,ce]of [[ae.fill,ae.fillOpacity],[ae.stroke,parseFloat(ae.strokeWidth||"0")>0?ae.strokeOpacity:"0"]]){let we=String(Q||"");if(!we||we==="none"||parseFloat(String(ce??"1"))===0)continue;if(we.startsWith("url"))return null;let ue=g(we);if(!ue)return null;ue[3]*=parseFloat(String(ce??"1")),ue[3]>0&&j.push(ue);}}return j.length?j:null},F=[];for(let V=0;V<=255;V+=17)F.push(V);let P=Array.from(k.querySelectorAll('svg, i[class], [class*="icon"]'));for(let V of P){let j=V.getBoundingClientRect();if(j.width*j.height===0)continue;let G=getComputedStyle(V);if(G.display==="none"||G.visibility==="hidden")continue;let J=v(V);if(!J)continue;let ee=null,ae=1,Q=true;for(let ue=V;ue;ue=ue===k?null:ue.parentElement){let Ae=getComputedStyle(ue),Me=parseFloat(Ae.opacity||"1");if(!ee){let Ne=g(Ae.backgroundColor||""),Fe=String(Ae.backgroundClip||"border-box").toLowerCase();if(!(String(Ae.backgroundImage||"none")==="none")){Q=false;break}if(Ne&&Ne[3]>=1&&Fe==="border-box")ee=[Ne[0],Ne[1],Ne[2]];else if(Me<1){Q=false;break}}ee&&(ae*=Me);}if(!ee||!Q)continue;let ce=ee,we=1/0;for(let ue of J){let Ae=E(ue,ce);for(let Me of F)for(let Ne of F)for(let Fe of F){let ke=[Me,Ne,Fe],Mt=E([Ae[0],Ae[1],Ae[2],ae],ke),jt=E([ce[0],ce[1],ce[2],ae],ke),Ke=w(Mt,jt);Ke<we&&(we=Ke);}}if(we>=3)return true}return false}let H="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 Y(k){let v=k.tagName.toLowerCase(),F=v==="input"||v==="select"||v==="textarea"?v+" field":v;f.push({selector:uniqueSel(k),message:"non-text contrast: "+F+" over an image backdrop \u2014 "+H,attribute:"style",currentValue:"?",issueType:"non_text_contrast_insufficient",wcag:"1.4.11",context:v+" backdrop=image needs=3",needsAI:false,needsReview:true,reviewReason:H,outerHtml:k.outerHTML.slice(0,200)});}let Z=document.querySelectorAll('input:not([type="hidden"]), select, textarea, button, [role="button"], [role="checkbox"], [role="radio"], [role="switch"]');for(let k of Z){if(f.length>=30)break;if(isWidget(k)||isHiddenFromAT(k)||!isVisible(k))continue;let v=getComputedStyle(k),F=D(k),P=g(v.backgroundColor||""),V=g(v.borderTopColor||""),j=parseFloat(v.borderTopWidth||"0"),G=(v.borderTopStyle||"").toLowerCase(),J=j>0&&G!=="none"&&G!=="hidden",ee=k.tagName.toLowerCase(),ae=ee==="input"||ee==="select"||ee==="textarea",Q=null;if(ee==="input"){let De=(k.type||"").toLowerCase(),Or=(v.appearance||v.webkitAppearance||"").toLowerCase();if(De==="checkbox"||De==="radio"){let dr=Or==="none"?"":String(v.accentColor||"").trim().toLowerCase(),fr=dr&&dr!=="auto"?g(dr):null;if(fr&&fr[3]>.5)Q=w([fr[0],fr[1],fr[2]],F);else if(Or&&Or!=="none")continue}}let ce=J&&V&&V[3]>.5?w([V[0],V[1],V[2]],F):null,we=P&&P[3]>.5?w([P[0],P[1],P[2]],F):Q,ue=y(v,F),Ae=ce===null&&we===null&&ue===null?null:Math.max(ce??0,we??0,ue??0);if(ae&&O(k)){Y(k);continue}if(ae&&(Ae===null||Ae<3)){let De=R(k);if(De!==null&&De>=3)continue}let Me=null,Ne=false,Fe="";if(ae)Ae!==null?(Me=Ae,Ae<3&&(Ne=true)):(Ne=true,Me=1);else {let De=false,Or=document.createTreeWalker(k,4),dr=Or.nextNode();for(;dr;){if((dr.textContent||"").trim()&&dr.parentElement&&isVisible(dr.parentElement)){De=true;break}dr=Or.nextNode();}if(De)continue;let fr=O(k);{let de=["Top","Right","Bottom","Left"].map(qe=>({w:parseFloat(v["border"+qe+"Width"]||"0"),s:String(v["border"+qe+"Style"]||"").toLowerCase(),c:g(v["border"+qe+"Color"]||"")})),ve=de.filter(qe=>qe.w>0&&qe.s!=="none"&&qe.s!=="hidden"&&qe.c&&qe.c[3]>.5),Ge=de.filter(qe=>qe.w>0&&qe.s!=="none"&&qe.s!=="hidden"&&qe.c&&qe.c[3]===0),tt=true;for(let qe=k.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(v.opacity||"1"))),pt=String(v.backgroundClip||"border-box").toLowerCase(),Je=!!P&&P[3]>=1&&ot>=1&&pt==="border-box";if(ve.length&&Ge.length&&tt&&(!fr||Je)){let qe=P&&P[3]>0?E(P,F):F,Yt=E([qe[0],qe[1],qe[2],ot],F),Kt=qr=>{let ca=E(qr,qe);return E([ca[0],ca[1],ca[2],ot],F)};if(ve.some(qr=>w(Kt(qr.c),Yt)>=3))continue}}if(fr){if(B(k))continue;Y(k);continue}let ua=Array.from(k.querySelectorAll('img, svg, picture, canvas, i[class], [class*="icon"]')),Gt=new Map,pi=de=>{let ve=de.getBoundingClientRect();if(ve.width*ve.height===0)return "absent";let Ge=parseFloat(getComputedStyle(k).opacity||"1");for(let tt=de;tt&&tt!==k;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";Ge*=parseFloat(ot.opacity||"1");}return Gt.set(de,Ge),"painted"},mi=ua.map(pi),it=ua.filter((de,ve)=>mi[ve]==="painted"),Nr=it.length>0,mn=!Nr&&mi.includes("hidden-at-rest"),fe=de=>{let ve=(de.tagName||"").toLowerCase();if(ve==="img"||ve==="picture"||ve==="canvas"||ve==="svg"&&de.querySelector("image, foreignObject, linearGradient, radialGradient, pattern"))return null;let Ge=[];if(ve==="svg"){let ot=de.querySelector("path, circle, rect, polygon, polyline, line, ellipse, use, text");for(let pt of [ot,de]){if(!pt)continue;let Je=getComputedStyle(pt),qe=1;for(let Kt=pt;Kt&&Kt!==de;Kt=Kt.parentElement||Kt.parentNode)qe*=parseFloat(getComputedStyle(Kt).opacity||"1");let Yt=Kt=>Number.isFinite(parseFloat(Kt))?parseFloat(Kt):1;if(Je.fill&&Je.fill!=="none"&&!Je.fill.startsWith("url")&&Ge.push({color:Je.fill,alpha:qe*Yt(Je.fillOpacity)}),Je.stroke&&Je.stroke!=="none"&&!Je.stroke.startsWith("url")&&parseFloat(Je.strokeWidth||"0")>0&&Ge.push({color:Je.stroke,alpha:qe*Yt(Je.strokeOpacity)}),Ge.length)break}}else ((de.textContent||"").trim()||getComputedStyle(de,"::before").content!=="none")&&Ge.push({color:getComputedStyle(de).color,alpha:1});let tt=null;for(let ot of Ge){let pt=g(ot.color);if(!pt)continue;let Je=pt[3]*ot.alpha*(Gt.get(de)??1),qe=[pt[0]*Je+F[0]*(1-Je),pt[1]*Je+F[1]*(1-Je),pt[2]*Je+F[2]*(1-Je)],Yt=w(qe,F);(tt===null||Yt>tt)&&(tt=Yt);}return tt};if(Nr&&it.map(fe).some(ve=>ve!==null&&ve>=3))continue;let re=false,oe=v.position;if((oe==="absolute"||oe==="fixed")&&k.parentElement){let de=k.getBoundingClientRect(),ve=k.parentElement.getBoundingClientRect(),Ge=ve.width*ve.height;Ge>0&&de.width*de.height/Ge>=.85&&(re=true);}if(Nr||re||mn){if(Ne=true,Me=J&&V&&V[3]>.5?w([V[0],V[1],V[2]],F):1,Me>=3)continue;Fe=Nr?"control is identified by an image or icon \u2014 verify the graphic itself has 3:1 contrast against its surroundings":mn?"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 Ae!==null?(Me=Ae,Ae<3&&(Ne=true)):(Ne=true,Me=1);}if(!Ne)continue;let ke=V&&V[3]>.5?[V[0],V[1],V[2]]:P&&P[3]>.5?[P[0],P[1],P[2]]:[128,128,128],Mt=C(ke,F,3);if(!Mt)continue;let jt=x(Mt[0],Mt[1],Mt[2]),Ke=x(F[0],F[1],F[2]),Ot="border: 1px solid "+jt+" !important;",fi=uniqueSel(k),Mr=k.tagName.toLowerCase(),zt=Ae===null&&!J?"invisible (no border, no fill: 1.00:1)":Me?Me.toFixed(2)+":1":"not measurable",Rt=Mr==="input"||Mr==="select"||Mr==="textarea"?Mr+" field":Mr,Yr=Fe?"non-text contrast: "+Rt+" boundary is "+zt+" against "+Ke+" (needs 3:1) \u2014 "+Fe:"non-text contrast: "+Rt+" boundary (border and fill) is "+zt+" against "+Ke+", needs 3:1 \u2014 e.g. border-color "+jt;f.push({selector:fi,message:Yr,attribute:"style",currentValue:Me?Me.toFixed(2):"?",issueType:"non_text_contrast_insufficient",wcag:"1.4.11",context:Mr+" bg="+Ke+" ratio="+(Me?Me.toFixed(2):"?")+" needs=3",needsAI:false,...Fe?{needsReview:true,reviewReason:Fe}:{fixValue:Ot},outerHtml:k.outerHTML.slice(0,200)});}return f},ng={name:"nonTextContrast",cap:30,async detect(d){return d.evaluate($I)}};var jI=()=>{let d="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",g=[],m=/location\s*[=.]|location\s*\.\s*href|\.submit\s*\(|window\s*\.\s*open|history\s*\.\s*(push|replace)/i,p=document.querySelectorAll("[onfocus]");for(let w of Array.from(p)){if(g.length>=20)break;if(w.closest(d))continue;let D=w.getAttribute("onfocus")||"";if(!D||!m.test(D))continue;let x=typeof uniqueSel=="function"?uniqueSel(w):"",C=typeof getNearbyContext=="function"?getNearbyContext(w):{parentTag:w.tagName.toLowerCase(),nearbyHeading:""},I=[];I.push("tag: "+w.tagName.toLowerCase()),I.push("onfocus: "+D.slice(0,100)),C.nearbyHeading&&I.push("heading: "+C.nearbyHeading),I.push("parent: "+C.parentTag),g.push({selector:x,attribute:"onfocus",currentValue:D.slice(0,200),issueType:"onfocus_context_change",wcag:"3.2.1",context:I.join(" | "),needsAI:true,outerHtml:(w.outerHTML||"").slice(0,300)});}return g},ag={name:"onFocus",cap:20,async detect(d){return d.evaluate(jI)}};var zI=()=>{let d="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",f=[],g=['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"]'],m=false;for(let y of g){let _=document.querySelector(y);if(_&&!_.closest(d)){m=true;break}}if(!m){let y=document.querySelectorAll('a[href^="#"]');for(let _ of y){if(_.closest(d))continue;let R=(_.textContent||"").toLowerCase();if(R.includes("skip")&&(R.includes("main")||R.includes("content")||R.includes("nav"))){m=true;break}}}if(!m){let y=document.querySelectorAll('button, input[type="button"], input[type="submit"]');for(let _ of Array.from(y)){if(_.closest(d))continue;let R=(_.getAttribute("value")||_.textContent||"").trim().toLowerCase();if(R.includes("skip")&&(R.includes("main")||R.includes("content")||R.includes("nav"))){m=true;break}}}if(!m){let y=document.body?document.body.firstElementChild:null;if(y&&y.matches('main, [role="main"], div#main')){let _=getComputedStyle(y),R=y.getBoundingClientRect();_.display!=="none"&&_.visibility!=="hidden"&&!y.closest('[hidden], [aria-hidden="true"]')&&R.width>0&&R.height>0&&(m=true);}}if(!m){let y=Array.from(document.querySelectorAll('main, [role="main"], div#main'));for(let _ of y){let R=getComputedStyle(_);if(R.display==="none"||R.visibility==="hidden"||_.closest('[hidden], [aria-hidden="true"]'))continue;if(Array.from(_.querySelectorAll("h1, h2, h3, h4, h5, h6")).some(T=>{let M=getComputedStyle(T);return M.display!=="none"&&M.visibility!=="hidden"&&!T.closest('[hidden], [aria-hidden="true"]')})){m=true;break}}}if(!m&&document.querySelector("nav")){let y=document.querySelectorAll("a, button");for(let _ of Array.from(y)){if(_.closest(d))continue;let R=(_.textContent||"").trim().toLowerCase();if((R.includes("toggle")||R.includes("hide")||R.includes("collapse")||R.includes("show"))&&R.includes("content")){m=true;break}}}if(m||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 R=y.getBoundingClientRect();return R.width>0&&R.height>0}).length===1)return f;let w="",D=document.querySelector('main[id], [role="main"][id]');if(D&&D.getAttribute("id"))w=D.getAttribute("id");else {let y=document.querySelector("h1[id]");if(y&&y.getAttribute("id"))w=y.getAttribute("id");else {let _=["main-content","maincontent","main","content","skip-content"];for(let R of _)if(document.getElementById(R)){w=R;break}}}let x=w==="",C=w||"main-content",E="<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="#'+C+'" class="wa-skip-link">Skip to main content</a>';return f.push({selector:"body",attribute:"prepend",currentValue:"",issueType:"skip_link",wcag:"2.4.1",context:x?'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 #"+C,needsAI:false,fixValue:E,...x?{manualFix:true}:{}}),f},ig={name:"skipLink",async detect(d){return d.evaluate(zI)}};var GI=()=>{let g=[],m=document.querySelectorAll("*"),p=0;for(let w of Array.from(m)){if(p++>5e3||g.length>=20)break;if(w.closest("[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye]")||typeof isVisible=="function"&&!isVisible(w))continue;let x=getComputedStyle(w).backgroundImage||"";if(!x||x==="none"||!x.includes("url("))continue;let C=x.match(/url\((['"]?)(.*?)\1\)/);if(!C)continue;let I=C[2];if(!I||I.startsWith("data:")&&I.length<256)continue;let E=w.getBoundingClientRect();if(E.width<32||E.height<32)continue;let y=w.tagName.toLowerCase(),_=w.getAttribute("role")||"",R=y==="a"||y==="button"||_==="button"||_==="link"||w.closest("a,button,[role=button],[role=link]")!==null,S=(w.textContent||"").trim().length>0,T=!!w.getAttribute("aria-label"),M=!!w.getAttribute("aria-labelledby"),O=!!w.getAttribute("title"),B=!!w.querySelector('img[alt]:not([alt=""])');if(w.closest('[aria-hidden="true"]')){let v=w.closest("a[href]");if(!!v&&Array.from(document.querySelectorAll("a[href]")).some(P=>P!==v&&P.href===v.href&&!P.closest('[aria-hidden="true"]')))continue}if(T||M||O||B||S||!R)continue;let H=w.closest("a,button,[role=button],[role=link]");if(H&&H!==w){let v=(H.textContent||"").trim(),F=H.getAttribute("aria-label")||H.getAttribute("title")||"",P=H.getAttribute("aria-labelledby"),V=!!H.querySelector('img[alt]:not([alt=""])');if(v||F.trim()||P||V)continue}let Y=I;try{Y=new URL(I,location.href).toString();}catch{continue}let Z=typeof uniqueSel=="function"?uniqueSel(w):"",k=typeof getNearbyContext=="function"?getNearbyContext(w):{parentTag:y,nearbyHeading:""};g.push({selector:Z,attribute:"aria-label",currentValue:"",issueType:"background_image_unlabeled",wcag:"1.1.1",context:`bg: ${Y.slice(0,140)} | tag: ${y} | role: ${_||"(none)"} | parent: ${k.parentTag}${k.nearbyHeading?" | heading: "+k.nearbyHeading:""}`,needsAI:true,imageSrc:Y,outerHtml:(w.outerHTML||"").slice(0,300)});}return g},og={name:"backgroundImages",cap:20,async detect(d){return d.evaluate(GI)}};var UI=()=>{let d="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye]",g=[];return document.querySelectorAll("svg").forEach(p=>{if(g.length>=50||p.closest(d)||!isVisible(p)||p.getAttribute("aria-hidden")==="true")return;let D=p.getAttribute("role");if(D==="presentation"||D==="none"||p.closest('[aria-hidden="true"]'))return;let x=p.getAttribute("aria-label")||"",C=p.getAttribute("aria-labelledby")||"",I=p.querySelector("title"),E=I?(I.textContent||"").trim():"";if(x.trim()||C.trim()||E)return;let y=p.getBoundingClientRect(),_=y.width<=16&&y.height<=16;if(y.width<=4||y.height<=4||p.getAttribute("preserveAspectRatio")==="none")return;let R=p.closest('a, button, [role="button"], [role="link"], [onclick]');if(R){if(R.getAttribute("aria-label")?.trim()||R.getAttribute("aria-labelledby")?.trim())return;let F=getAccessibleName(R),P=R.cloneNode(true);P.querySelectorAll("svg").forEach(j=>j.remove());let V=(P.textContent||"").trim().replace(/\s+/g," ");if(F&&V.length>0)return}else {if(_)return;let F=p.parentElement;if(F&&(F.textContent||"").trim().replace(/\s+/g," ").length>3)return}let S=uniqueSel(p),T=getNearbyContext(R||p),M=R&&R.getAttribute("href")||"",O=(R||p).outerHTML.slice(0,300),B=p.getAttribute("class")||"",H=p.getAttribute("data-icon")||"",Y=R||p,Z=Y&&Y!==p&&Y.getAttribute("class")||"",k=typeof lookupIconLabel=="function"?lookupIconLabel(String(B),H,"")||lookupIconLabel(String(Z),"",""):null,v=R?uniqueSel(R):S;g.push({selector:v,attribute:"aria-label",currentValue:"",issueType:"svg_missing_name",wcag:"1.1.1",context:JSON.stringify({parentTag:(R||p).tagName?(R||p).tagName.toLowerCase():"svg",href:M,nearbyHeading:T.nearbyHeading,parentRole:T.parentRole,svgClasses:B,iconLib:k||void 0,suggestion:"Add aria-label to the parent interactive element or <title> inside SVG"}),needsAI:!k,fixValue:k||void 0,outerHtml:O});}),g},sg={name:"svgNames",cap:50,async detect(d){return d.evaluate(UI)}};var WI=()=>{let d={"line-height":1.5,"letter-spacing":.12,"word-spacing":.16},f=1e-9,g=Object.keys(d),m=30,p="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",w={px:1,pt:1.333333,pc:16,in:96,cm:37.795,mm:3.7795,q:.37795},D=k=>{let v=[];for(let F of k.split(";")){let P=F.match(/^\s*([-a-zA-Z]+)\s*:\s*(.*?)\s*$/);if(!P)continue;let V=P[1].toLowerCase();if(!g.includes(V))continue;let j=P[2],G=/!\s*important\s*$/i.test(j);j=j.replace(/!\s*important\s*$/i,"").trim(),j&&(V!=="line-height"&&/^[-+]?\d+(\.\d+)?$/.test(j)&&parseFloat(j)!==0||v.push({prop:V,value:j,important:G}));}return v},x=(k,v,F,P)=>{let V=v.trim().toLowerCase();if(/^normal$|^initial$/.test(V))return {kind:"narrow"};if(/^inherit$|^revert$|^unset$/.test(V))return {kind:"notBlocked"};if(V.startsWith("var(")||V.startsWith("calc(")||V.startsWith("env("))return {kind:"undetermined"};if(/^-?[\d.]+$/.test(V)){let ae=parseFloat(V);return k==="line-height"?{kind:"ratio",factor:ae}:{kind:"ratio",factor:0}}let j=V.endsWith("%")&&/\d/.test(V),G=j?V.slice(0,-1).trim().match(/^([\d.]+)$/):V.match(/^([\d.]+)(em|rem|vw|vh|px|pt|cm|mm|pc|in|q)$/);if(!G)return {kind:"undetermined"};let J=parseFloat(G[1]);if(j||V.endsWith("em")){let ae=P??F;return ae&&F&&isFinite(ae)&&isFinite(F)&&ae>0&&F>0?j?{kind:"ratio",factor:J/100*(ae/F)}:{kind:"ratio",factor:J*(ae/F)}:j?{kind:"ratio",factor:J/100}:{kind:"ratio",factor:J}}let ee=V.match(/(rem|vw|vh|px|pt|cm|mm|pc|in|q)$/)?.[1];if(ee==="px"||ee&&w[ee]){let ae=ee==="px"?J:J*(w[ee]||0);return F===null||!isFinite(F)||F<=0?{kind:"undetermined"}:{kind:"ratio",factor:ae/F}}return {kind:"undetermined"}},C=(k,v,F)=>{let P=k;for(;P;){let V=v.get(P);if(V){let j=V.filter(G=>G.prop===F);if(j.length){let G=j.filter(ee=>ee.important);return {decl:G.length?G[G.length-1]:j[j.length-1],from:P}}}P=P.parentElement;}return null},I=k=>{let v=k;for(;v;){let F=v.style;if(F&&(F.display==="none"||F.visibility==="hidden")||F&&(F.position==="absolute"||F.position==="fixed")&&(E(F.top)||E(F.left)))return false;if(F&&(F.overflowX==="scroll"||F.overflowX==="auto")){for(let P=k;P!==v;P=P.parentElement)if(P.style&&y(P.style.width)>=900)return false}v=v.parentElement;}return true},E=k=>{if(!k)return false;let v=k.match(/^(-)([\d.]+)(px|em|rem|vh|vw)$/i);if(!v)return false;let F=parseFloat(v[2]),P=v[3].toLowerCase();return P==="px"?F>=100:P==="em"||P==="rem"?F>=4:F>=10},y=k=>{let v=k?k.match(/^([\d.]+)px$/):null;return v?parseFloat(v[1]):0},_=[],R=[],S=new Map,T=typeof getComputedStyle=="function"?getComputedStyle:null,M=k=>{try{let v=T?T(k).fontSize:"",F=v?v.match(/^([\d.]+)px$/):null;return F?parseFloat(F[1]):null}catch{return null}},O=new Map,B=Array.from(document.querySelectorAll('[style*="important" i]'));for(let k of B)k.closest(p)||O.set(k,D(k.getAttribute("style")||""));for(let k of document.querySelectorAll("body [style]"))k.closest(p)||O.has(k)||O.set(k,D(k.getAttribute("style")||""));let H=[],Y=document.createTreeWalker(document.body,1),Z=Y.currentNode;for(;Z;)Array.from(Z.childNodes).some(v=>v.nodeType===3&&/\S/.test(v.textContent||""))&&!Z.closest(p)&&H.push(Z),Z=Y.nextNode();for(let k of H){if(_.length>=m)break;if(I(k))for(let v of g){let F=C(k,O,v);if(!F||!F.decl.important)continue;let P=M(k),V=F.from===k?P:M(F.from)??P,j=x(v,F.decl.value,P,V);if(!(j.kind==="undetermined"||j.kind==="narrow"||j.kind==="ratio"&&j.factor+f<d[v]))continue;let J=S.get(F.from);J||(J=[],S.set(F.from,J),R.push({from:F.from,props:J})),J.includes(v)||J.push(v);}}for(let{from:k,props:v}of R){if(_.length>=m)break;let F=typeof uniqueSel=="function"?uniqueSel(k):"",P=typeof getNearbyContext=="function"?getNearbyContext(k):{parentTag:k.parentElement?.tagName.toLowerCase()||"",nearbyHeading:""},V=[];V.push("blocked: "+v.join(",")),V.push("tag: "+k.tagName.toLowerCase()),P.nearbyHeading&&V.push("heading: "+P.nearbyHeading),V.push("parent: "+P.parentTag),_.push({selector:F,attribute:"style",currentValue:(k.getAttribute("style")||"").slice(0,200),issueType:"text_spacing_blocked",wcag:"1.4.12",context:V.join(" | "),needsAI:true,outerHtml:(k.outerHTML||"").slice(0,300)});}return _},lg={name:"textSpacing",cap:30,async detect(d){return d.evaluate(WI)}};var XI=()=>{let d="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",g=[],m=document.querySelectorAll('button, input[type="submit"], input[type="button"], input[type="reset"], [role="button"]');for(let p of m){if(g.length>=50)break;if(p.closest(d)||!isVisible(p))continue;let w=p,D=w.tagName==="INPUT"?(w.getAttribute("type")||"").toLowerCase():"";if(D==="submit"||D==="reset")continue;let x=(w.getAttribute("role")||"").trim().toLowerCase().split(/\s+/)[0];if((x==="none"||x==="presentation")&&w.disabled===true)continue;let C=(w.getAttribute("aria-label")||"").trim(),I=w.getAttribute("aria-labelledby"),E=(w.getAttribute("title")||"").trim(),y=(w.getAttribute("value")||"").trim(),_=(w.textContent||"").trim().replace(/\s+/g," "),R="";I&&(R=typeof __resolveIdRefs=="function"?__resolveIdRefs(I):"");let S=w.querySelector('img[alt]:not([alt=""])'),T=w.querySelector("svg title"),M=w.querySelector("svg[aria-label]");if(!!(C||R||E||y||_||S||T||M))continue;let B=uniqueSel(w),H=getNearbyContext(w),Y=w.closest("form"),Z=Y&&(Y.getAttribute("id")||Y.getAttribute("name"))||"",k=w.getAttribute("class")||"",v=w.querySelector('i, svg, span[class*="icon"]'),F=v&&v.getAttribute("class")||"",P=v&&v.getAttribute("data-icon")||"",V=v?(v.textContent||"").trim():"",j=typeof lookupIconLabel=="function"?lookupIconLabel(String(F),P,V):null,G=!j&&typeof lookupIconLabel=="function"?lookupIconLabel(String(k),"",""):null,J=j||G,ee=[];Z&&ee.push("form: "+Z),H.nearbyHeading&&ee.push("heading: "+H.nearbyHeading),F&&ee.push("icon: "+String(F).slice(0,80)),k&&ee.push("class: "+String(k).slice(0,80)),ee.push("parent: "+H.parentTag),J&&ee.push("icon-lib: "+J),g.push({selector:B,attribute:"aria-label",currentValue:"",issueType:"unlabeled_button",wcag:"4.1.2",context:ee.join(" | "),needsAI:!J,fixValue:J||void 0,outerHtml:w.outerHTML.slice(0,300)});}return g},ug={name:"unlabeledButtons",cap:50,async detect(d){return d.evaluate(XI)}};var YI=()=>{let d=new Set(["more","info","click","click here","here","read more","learn more","see more","link","button","this"]),f=new Set(["submit","send","yes","no","next","prev","previous","back","view","details","continue","go","ok","open","close","apply","save"]),g={};function m(k){if(isWidget(k)||!isVisible(k))return;let v=getAccessibleName(k);if(!v)return;let F=v.toLowerCase().trim();g[F]=(g[F]||0)+1;}document.querySelectorAll("a[href]").forEach(k=>m(k));let p=new Set(["fa","fas","far","fab","fal","fad","material-icons","material-symbols","bi","glyphicon"]),w=["fa-","bi-","icon-","icofont-","dashicons-","heroicon","feather-","lucide-","material-"];function D(k){let v=k.toLowerCase();return p.has(v)||w.some(F=>v.startsWith(F))}let x=/[\u4e00-\u9fff\u3040-\u30ff\uac00-\ud7af]/;function C(k,v){return x.test(k)?1:v}let I=50,E=[];function y(k){if((k.textContent||"").trim().replace(/\s+/g," ").length>0)return false;let F=k.querySelectorAll("i, span, em");for(let P of F)if((typeof P.className=="string"?P.className:"").split(/\s+/).some(D))return true;return false}function _(k){let v=k.className||"";return typeof v!="string"?false:v.split(/\s+/).some(D)}function R(k){if(E.length>=I||isWidget(k)||!isVisible(k))return;let v=getAccessibleName(k);if(!v)return;let F=v.toLowerCase().trim(),P=false,V=v.length>=2&&/^[A-Z][A-Z0-9]+$/.test(v.trim()),j=/^[[(]?\d{1,4}[\])]?$/.test(v.trim());if(v.length<C(v,3)&&!V&&!j)P=true;else if(d.has(F))P=true;else if(f.has(F)&&(g[F]||0)>=2){let Q=(k.getAttribute("aria-label")||"").trim().toLowerCase(),ce=!!k.getAttribute("aria-labelledby")||!!Q&&Q!==F,we=k.querySelector&&k.querySelector('.sr-only, .visually-hidden, [class*="sr-only"], [class*="visually-hidden"], [class*="screen-reader"]'),ue=we?(we.textContent||"").trim().toLowerCase():"";!ce&&!(we&&ue!==F)&&(P=true);}else (y(k)||_(k)&&v.length===0)&&(k.getAttribute("aria-label")||k.getAttribute("aria-labelledby")||k.querySelector&&k.querySelector('.sr-only, .visually-hidden, [class*="sr-only"], [class*="visually-hidden"]')||(P=true));if(!P)return;let G=getNearbyContext(k),J=uniqueSel(k),ee=k.getAttribute("href")||"",ae=k.outerHTML.slice(0,300);E.push({selector:J,attribute:"aria-label",currentValue:(k.getAttribute("aria-label")||"").trim(),message:"weak link name: "+(k.getAttribute("aria-label")||k.getAttribute("aria-labelledby")?`"${v}" is too generic for a control \u2014 add distinguishing context`:`text "${v}" 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:v,href:ee,nearbyHeading:G.nearbyHeading,parentTag:G.parentTag,parentRole:G.parentRole,cardText:G.cardText||"",imgAlt:G.imgAlt||""}),needsAI:true,outerHtml:ae});}document.querySelectorAll("a[href]").forEach(k=>R(k));let S=/^(untitled(?:\s+document)?|new\s+page|new\s+document|home|page\s*\d*|document|untitled)$/i,T=/^(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 O(k){return !!(!k||k.getAttribute("aria-hidden")==="true"||k.closest('[aria-hidden="true"]'))}function B(k,v,F,P,V,j){if(E.length>=I)return;let G=uniqueSel(k),J=(k.outerHTML||"").slice(0,300);E.push({selector:G,attribute:v,currentValue:F,issueType:P,wcag:V,context:JSON.stringify(j),needsAI:true,outerHtml:J});}let H=document.querySelectorAll("h1,h2,h3,h4,h5,h6");for(let k=0;k<H.length&&!(E.length>=I);k++){let v=H[k];if(!v||isWidget(v)||O(v)||!isVisible(v))continue;let F=getAccessibleName(v);if(!F)continue;let P=F.toLowerCase().trim(),V=P.split(/\s+/).filter(Boolean),j=()=>{if(!/^\p{L}$/u.test(F))return false;let ee=v.nextElementSibling;if(!ee)return false;let ae=ee.tagName.toLowerCase(),Q=[];if(ae==="dl"?Q=Array.from(ee.querySelectorAll("dt")):ae==="ul"||ae==="ol"?Q=Array.from(ee.children).filter(we=>we.tagName==="LI"):ae==="table"&&(Q=Array.from(ee.querySelectorAll("tbody tr, tr")).map(we=>we.cells&&we.cells[0])),Q=Q.filter(Boolean),Q.length<1)return false;let ce=F.toLowerCase();return Q.every(we=>(we.textContent||"").trim().toLowerCase().startsWith(ce))},G=false;if(F.length<C(F,3)?G=!j():(V.length===1&&(d.has(P)||M.has(P))||/^page\s*\d+$/i.test(P)||/^section\s*\d+$/i.test(P)||/^chapter\s*\d+$/i.test(P)||/^[^\p{L}\p{N}]+$/u.test(F))&&(G=true),!G)continue;let J=getNearbyContext(v);B(v,"textContent",F,"weak_heading","2.4.6",{currentText:F,tag:v.tagName.toLowerCase(),nearbyHeading:J.nearbyHeading,parentTag:J.parentTag,parentRole:J.parentRole});}let Y=document.querySelectorAll("iframe");for(let k=0;k<Y.length&&!(E.length>=I);k++){let v=Y[k];if(!v||isWidget(v)||O(v))continue;let F=getComputedStyle(v);if(v.getClientRects().length===0||F.visibility==="hidden"||F.visibility==="collapse"||(v.getAttribute("src")||"").trim().toLowerCase().indexOf("javascript:")===0)continue;let P=(v.getAttribute("title")||"").trim();if(!P)continue;let V=P.toLowerCase(),j=false;if((P.length<C(P,3)||T.test(V)||d.has(V))&&(j=true),!j)continue;let G=(v.getAttribute("src")||"").slice(0,120),J=getNearbyContext(v);B(v,"title",P,"weak_iframe_title","4.1.2",{currentTitle:P,src:G,nearbyHeading:J.nearbyHeading,parentTag:J.parentTag});}if(E.length<I){let k=document.querySelector("head > title, title"),v=(document.title||"").trim();if(k&&v){let F=v.toLowerCase(),P=false;(v.length<C(v,5)||S.test(F)||/^untitled/i.test(v))&&(P=true),P&&E.push({selector:"title",attribute:"textContent",currentValue:v,issueType:"weak_page_title",wcag:"2.4.2",context:JSON.stringify({currentTitle:v,hostname:typeof location<"u"&&location&&location.hostname||"",pathname:typeof location<"u"&&location&&location.pathname||""}),needsAI:true,outerHtml:(k.outerHTML||"").slice(0,300)});}}let Z=document.querySelectorAll("svg");for(let k=0;k<Z.length&&!(E.length>=I);k++){let v=Z[k];if(!v||isWidget(v)||O(v)||v.getAttribute("role")==="presentation"||v.getAttribute("role")==="none"||!isVisible(v))continue;let F=v.querySelector("title"),P=F?(F.textContent||"").trim():"",V=(v.getAttribute("aria-label")||"").trim(),j=V||P;if(!j)continue;let G=j.toLowerCase(),J=false;if((j.length<C(j,3)||d.has(G)||/^(icon|svg|image|graphic|logo)$/i.test(j))&&(J=true),!J)continue;let ee=v.closest('a, button, [role="button"], [role="link"]'),ae=getNearbyContext(v);B(v,V?"aria-label":"title",j,"weak_svg_name","1.1.1",{currentName:j,svgClasses:v.getAttribute("class")||"",parentTag:ee?ee.tagName.toLowerCase():ae.parentTag,parentHref:ee&&ee.getAttribute("href")||"",nearbyHeading:ae.nearbyHeading});}return E},cg={name:"weakNames",cap:50,async detect(d){return d.evaluate(YI)}};var KI=()=>{let f=[],g=document.querySelector('meta[name="viewport"]');if(g){let p=(g.getAttribute("content")||"").trim(),w=p.toLowerCase(),D=false,x=[];(w.indexOf("user-scalable=no")>=0||w.indexOf("user-scalable=0")>=0)&&(D=true,x.push("user-scalable=no blocks pinch-zoom"));let C=["yes","no","device-width","device-height"],I=w.match(/user-scalable\s*=\s*([a-z][a-z-]*)/);I&&C.indexOf(I[1])<0&&(D=true,x.push("user-scalable="+I[1]+" (invalid, parsed as 0)"));let E=w.match(/maximum-scale\s*=\s*([a-z][a-z-]*)/);E&&C.indexOf(E[1])<0&&(D=true,x.push("maximum-scale="+E[1]+" (invalid, parsed as 0)"));let y=w.match(/maximum-scale\s*=\s*([\d.]+)/);y&&parseFloat(y[1])<2&&(D=true,x.push("maximum-scale="+y[1]+" (<2)")),D&&f.push({selector:'meta[name="viewport"]',attribute:"content",currentValue:p,issueType:"zoom_restriction",wcag:"1.4.4",context:"viewport blocks zoom: "+x.join(" | "),needsAI:false,fixValue:"width=device-width, initial-scale=1"});}let m=[{el:document.documentElement,selector:"html"},{el:document.body,selector:"body"}];for(let p=0;p<m.length&&!(f.length>=5);p++){let w=m[p];if(w.el)try{let x=(getComputedStyle(w.el).getPropertyValue("touch-action")||"").trim().toLowerCase();(x==="none"||x==="pinch-zoom")&&f.push({selector:w.selector,attribute:"style",currentValue:"touch-action: "+x,issueType:"zoom_restriction",wcag:"1.4.4",context:"CSS touch-action: "+x+" on <"+w.selector+"> prevents pinch-zoom",needsAI:!1,fixValue:"touch-action: manipulation !important;"});}catch{}}return f},dg={name:"zoomUnlock",cap:5,async detect(d){return d.evaluate(KI)}};var JI=()=>{let f=[],g=document.body?document.body.querySelectorAll("*"):[];for(let m=0;m<g.length&&f.length<10;m++){let p=g[m],w=p.tagName.toLowerCase();if(w==="script"||w==="style"||w==="svg"||w==="textarea"||w==="select")continue;let D="";for(let O=p.firstChild;O;O=O.nextSibling)O.nodeType===3&&(D+=O.nodeValue);if(!D.replace(/\s+/g,"").length)continue;let x=getComputedStyle(p);if(x.display==="none"||x.visibility==="hidden"||x.display==="contents")continue;let C=x.overflowX,I=x.overflowY,E=C==="hidden"||C==="clip",y=I==="hidden"||I==="clip";if(!E&&!y||p.closest('[aria-hidden="true"],[hidden],[inert]'))continue;let _=p.clientWidth,R=p.clientHeight;if(R<=1||_<=1)continue;let S=x.webkitLineClamp||x.getPropertyValue("-webkit-line-clamp");if(S&&S!=="none")continue;let T="";if(y&&p.scrollHeight>R+2?T="height "+R+"px < content "+p.scrollHeight+"px":E&&x.textOverflow!=="ellipsis"&&p.scrollWidth>_+2&&(T="width "+_+"px < content "+p.scrollWidth+"px"),!T){let O=parseFloat(x.fontSize);if(!(O>0))continue;let B=p.style.getPropertyValue("font-size"),H=p.style.getPropertyPriority("font-size");p.style.setProperty("font-size",O*2+"px","important");let Y=p.clientHeight,Z=p.clientWidth;y&&Y>1&&p.scrollHeight>Y+2?T="at 200%: height "+Y+"px < content "+p.scrollHeight+"px":E&&x.textOverflow!=="ellipsis"&&Z>1&&p.scrollWidth>Z+2&&(T="at 200%: width "+Z+"px < content "+p.scrollWidth+"px"),B?p.style.setProperty("font-size",B,H):p.style.removeProperty("font-size");}if(!T)continue;let M=typeof uniqueSel=="function"?uniqueSel(p):w;f.push({selector:M,attribute:"style",currentValue:(p.getAttribute("style")||"").slice(0,200),issueType:"resize_text_clipped",wcag:"1.4.4",context:"text clipped by overflow:hidden: "+T,needsAI:true,needsReview:true,reviewReason:"WCAG 1.4.4 Resize Text: this text is cut off by overflow:hidden ("+T+"). 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:(p.outerHTML||"").slice(0,300)});}return f},fg={name:"textClip",cap:10,async detect(d){return d.evaluate(JI)}};var ZI=()=>{let d=[],f=document.querySelectorAll('main *, [role="main"] *, body > div *'),g=new Set,m=Math.min(f.length,200);for(let p=0;p<m;p++){let w=f[p];if(g.has(w)||!w.offsetParent)continue;g.add(w);let D=getComputedStyle(w),x=parseInt(D.order||"0",10),C=D.position;if(x>=3){let I=w.getBoundingClientRect();if(I.width>0&&I.height>0){let E=(w.textContent?.trim().length||0)>10,y=!!w.querySelector("a, button, input, select, textarea");(E||y)&&d.push({selector:typeof uniqueSel=="function"?uniqueSel(w):w.tagName.toLowerCase(),attribute:"data-sequence-review",currentValue:`CSS order: ${x}`,issueType:"meaningful_sequence",wcag:"1.3.2",context:`Element uses CSS order:${x} \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(C==="absolute"){if(!!!w.querySelector("a, button, input, select, textarea"))continue;let E=w.parentElement;if(!E||E.children.length<=2)continue;let y=w.getBoundingClientRect(),_=E.getBoundingClientRect();(y.top<_.top-100||y.left<_.left-300)&&d.push({selector:typeof uniqueSel=="function"?uniqueSel(w):w.tagName.toLowerCase(),attribute:"data-sequence-review",currentValue:`position: ${C}, 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 d},pg={name:"meaningfulSequence",async detect(d){return d.evaluate(ZI)}};var mg={name:"sensoryCharacteristics",async detect(d){let{instructionalTexts:f,controlLabels:g,navCount:m,labelTexts:p}=await d.evaluate(()=>{let x=[],C=document.querySelectorAll('p, li, td, label, span, div, a, button, h1, h2, h3, h4, h5, h6, figcaption, [role="alert"], [role="status"]'),I=Math.min(C.length,300),E=[];document.querySelectorAll('button, a[href], [role="button"], input[type="button"], input[type="submit"]').forEach(S=>{let T=((S.textContent||"")+" "+(S.getAttribute("aria-label")||"")+" "+(S.getAttribute("value")||"")).trim().toLowerCase();T&&E.push(T);});let y=S=>!!S.offsetParent||getComputedStyle(S).position==="fixed",_=Array.from(document.querySelectorAll('nav, [role="navigation"]')).filter(y).length,R=[];document.querySelectorAll('h1, h2, h3, h4, h5, h6, nav, [role="navigation"], [role="menu"], [role="menubar"], [aria-label], summary, button, a, legend').forEach(S=>{if(!y(S))return;let T=((S.getAttribute("aria-label")||"")+" "+(S.tagName.match(/^(H\d|SUMMARY|BUTTON|A|LEGEND)$/)&&S.textContent||"")).trim().toLowerCase();T&&T.length<=60&&R.push(T);});for(let S=0;S<I;S++){let T=C[S];if(!T.offsetParent||T.children.length>3||T.querySelector("p, div, ul, ol, li, table, section, article, nav, header, footer, main, aside, form, h1, h2, h3, h4, h5, h6")||T.closest('[aria-hidden="true"]'))continue;let M=T.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)&&x.push({text:M,selector:typeof uniqueSel=="function"?uniqueSel(T):T.tagName.toLowerCase()});}return {instructionalTexts:x.slice(0,20),controlLabels:E,navCount:_,labelTexts:R}});if(f.length===0)return [];let w=[],D=x=>{let C=(x.toLowerCase().match(/\b(navigation|menu)\b/)||[])[1];return C?m===1?true:p.some(I=>I.indexOf(C)!==-1):false};for(let{text:x,selector:C}of f){x.toLowerCase();let E=/\b(round|square|circular|triangular|arrow-shaped)\b.*\b(button|icon|element|thing)\b/i.test(x)&&!/\b(submit|cancel|close|menu|search|delete|edit|save|back|next|previous|home)\b/i.test(x),y=/\b(header|footer|sidebar menu|breadcrumb)\b/i.test(x)||D(x),_=/\b(on the|to the|in the)\s+(left|right|top|bottom|upper|lower|above|below|sidebar)\b/i.test(x)&&!y&&/\b(click|tap|press|select|find)\b/i.test(x),R=/\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(x)&&!/\b(submit|cancel|close|delete|save|success|error|warning|danger)\b/i.test(x),S=/\b(large|small|big|tiny|narrow|wide)\s+(button|link|icon|box|area)\b/i.test(x)&&/\b(click|tap|press|select|find)\b/i.test(x),T=/\b(?:labell?ed|called|named|titled)\s+["'“‘]/i.test(x),M=(x.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],O=!!M&&g.some(B=>B.indexOf(M.toLowerCase())!==-1);if(!(T||O)&&(E||_||R||S)){let B=E?"shape":_?"position":R?"color":"size";w.push({selector:C,attribute:"data-sensory-review",currentValue:x.slice(0,100),issueType:"sensory_characteristic",wcag:"1.3.3",context:`Instruction relies on ${B} alone: "${x.slice(0,80)}". Provide a non-sensory way to identify the referenced element (e.g., by name, label, or function).`,needsAI:true});}}return w}};var QI=()=>{let d=[],f=document.querySelectorAll("img");for(let g of f){if(!g.offsetParent||g.width<50||g.height<20||g.complete&&g.naturalWidth===0)continue;let m=g.src||g.getAttribute("data-src")||"",p=m.indexOf(","),w=(m.toLowerCase().startsWith("data:")&&p!==-1?m.slice(0,p):m).toLowerCase(),D=g.getAttribute("alt")||"",x=g.getAttribute("role")||"";if(g.getAttribute("aria-hidden")==="true"||!!g.closest('[aria-hidden="true"]')||x==="presentation"||x==="none"||g.hasAttribute("alt")&&D.trim()==="")continue;let I=g.width>200&&g.height<80&&g.height>15,E=/banner|header|logo-text|title|heading|cta|promo|offer|button.*\.(?:png|jpg|gif|webp)/i.test(w);if(!(E||I)||/(?:^|\/)(?:img|dsc|dscn|dcim|pict)[-_]?\d|photo|gallery/i.test(w)&&!E)continue;let _=g.closest("a[href]"),R=(()=>{if(!_)return false;let Z=_.getAttribute("href")||"";if(Z==="/"||Z==="")return true;try{let k=new URL(_.href,location.href);return k.origin!==location.origin?!1:!!(k.pathname.replace(/\/+$/,"")===""||/^\/(?:index|home|default)(?:\.\w+)?$/i.test(k.pathname)||/^\/[a-z]{2}(?:-[a-z]{2})?(?:\.\w+)?$/i.test(k.pathname))}catch{return false}})();if(R&&(_.textContent||"").trim().length===0)continue;let T="";if(_&&!R&&(_.textContent||"").trim().length===0)try{let Z=new URL(_.href,location.href),k=D.trim().split(/\s+/).filter(Boolean);if(Z.origin!==location.origin&&/^https?:$/.test(Z.protocol)&&k.length>0&&k.length<=4&&D.trim().length<=40){let v=G=>G.toLowerCase().normalize("NFKD").replace(/[^\p{L}\p{N}]/gu,""),F=v(D),P=Z.hostname.toLowerCase().split(".").filter(G=>G&&G!=="www"),V=(P.length>1?P.slice(0,-1):P).map(v).filter(Boolean);T=F.length>=3&&(F===v(P.join(""))||F===V.join("")||V.some(G=>F===G||G.length>=5&&F.startsWith(G)))?"exempt":"review";}}catch{}let M=!!g.closest('header, [role="banner"], footer, [role="contentinfo"]'),O=g.height>0&&g.height<=120,B=M&&O,H=/logo|brand|wordmark|hero|banner-?(?:img|image)?|footer|marketing|promo|cover|screenshot|dashboard/i,Y=B||H.test(w)||H.test(g.className)||H.test(g.getAttribute("id")||"");w.includes("icon")||w.includes("avatar")||w.includes("emoji")||d.push({selector:typeof uniqueSel=="function"?uniqueSel(g):"img",attribute:"data-image-of-text",currentValue:w.split("/").pop()?.slice(0,60)||"",issueType:"image_of_text",wcag:"1.4.5",context:`Image may contain text (${g.width}x${g.height}px, alt="${D.slice(0,40)}"). Use real text with CSS styling instead.`,needsAI:true,imageSrc:g.src,...Y||T?{needsReview:true,reviewReason:B?"small graphic in the header/footer landmark \u2014 likely a logo, wordmark, or brand signature, which are exempt under WCAG 1.4.5 (logotypes)":T==="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":T==="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 d},hg={name:"imagesOfText",async detect(d){return d.evaluate(QI)}};var gg={name:"reflow",async detect(d){let f=d;if(!f.setViewport)return [];let g=f.viewport?.()??{width:1280,height:720},m=g.width??1280,p=g.height??720;try{return await f.setViewport({width:320,height:p}),await new Promise(D=>setTimeout(D,500)),await d.evaluate(D=>{let x=[],C=document.querySelectorAll("body *"),I=Math.min(C.length,500);for(let E=0;E<I;E++){let y=C[E];if(!y.offsetParent)continue;let _=y.tagName.toLowerCase();if(_==="script"||_==="style"||_==="noscript")continue;let R=y.getBoundingClientRect();R.right>D+5&&R.width>D*1.1&&x.push({selector:typeof uniqueSel=="function"?uniqueSel(y):_,attribute:"style",currentValue:`${Math.round(R.width)}px wide at ${D}px viewport`,issueType:"reflow_overflow",wcag:"1.4.10",context:`Element is ${Math.round(R.width)}px wide and overflows the ${D}px viewport by ${Math.round(R.right-D)}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>D+10&&x.push({selector:"html",attribute:"data-reflow",currentValue:`scrollWidth ${document.documentElement.scrollWidth}px at ${D}px viewport`,issueType:"reflow_overflow",wcag:"1.4.10",context:`Page has horizontal scrollbar at ${D}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"}),x},320)}finally{await f.setViewport({width:m,height:p}).catch(()=>{});}}};var eL=()=>{let d=[],f=document.querySelectorAll("video");for(let m of f){if(m.autoplay&&!m.muted&&d.push({selector:typeof uniqueSel=="function"?uniqueSel(m):"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"}),!(m.offsetParent!==null&&getComputedStyle(m).display!=="none"))continue;let w=m.getBoundingClientRect();if(w.width===0&&w.height===0||m.error)continue;let D=/mute|unmute|sound|volume|audio|play|pause/i,x=!!m.parentElement?.querySelector('button, [role="button"]')||!!m.getAttribute("id")&&!!document.querySelector('[aria-controls~="'+(m.getAttribute("id")||"").replace(/"/g,"")+'"]');for(let R=m.parentElement?.parentElement||null,S=0;R&&!x&&S<3;R=R.parentElement,S++)x=Array.from(R.querySelectorAll('button, [role="button"]')).some(T=>D.test((T.getAttribute("aria-label")||"")+" "+(T.getAttribute("title")||"")+" "+(T.textContent||"")));if((m.muted||m.hasAttribute("muted"))&&(m.loop||m.hasAttribute("loop"))&&!m.hasAttribute("controls")&&!x)continue;let C=m.querySelectorAll("track"),I=Array.from(C).find(R=>R.kind==="captions"||R.kind==="subtitles"),E=Array.from(C).find(R=>R.kind==="descriptions");m.src||m.querySelector("source")?.src||"";let _=typeof uniqueSel=="function"?uniqueSel(m):"video";I||d.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)"}),E||d.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 g=document.querySelectorAll("audio");for(let m of g){let p=typeof uniqueSel=="function"?uniqueSel(m):"audio";m.closest("figure, div, section")?.querySelector('a[href*="transcript"], [class*="transcript"]')||d.push({selector:p,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}),m.autoplay&&!m.muted&&d.push({selector:p,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 d},vg={name:"mediaAlternatives",cap:50,async detect(d){return (await d.evaluate(eL)).slice(0,50)}};var tL=()=>{let d=[],f=document.querySelector('meta[http-equiv="refresh"]');if(f){let k=f.getAttribute("content")||"",v=parseInt(k,10);!isNaN(v)&&v>0&&v<72e3&&d.push({selector:`meta[http-equiv="refresh"][content*="${k.trim().slice(0,20)}"]`,attribute:"data-auto-refresh",currentValue:k,issueType:"auto_refresh",wcag:"2.2.1",context:`Page auto-refreshes after ${v}s. Users must be able to turn off, adjust, or extend time limits (WCAG 2.2.1).`,needsAI:false,manualFix:true});}let g=document.querySelectorAll("[accesskey]");for(let k of g){let v=k.getAttribute("accesskey")||"";if(v.length===1){let F=typeof uniqueSel=="function"?uniqueSel(k):k.tagName.toLowerCase();d.push({selector:F,attribute:"accesskey",currentValue:v,issueType:"character_key_shortcut",wcag:"2.1.4",context:`Single character accesskey "${v}". 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 m=document.querySelectorAll("select");for(let k of m){let v=k.hasAttribute("onchange"),F=k.getAttribute("onchange")||"";if(v&&/submit|location|href|navigate|window\./i.test(F)){let P=typeof uniqueSel=="function"?uniqueSel(k):"select";d.push({selector:P,attribute:"onchange",currentValue:F.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 p=document.querySelectorAll("[ontouchstart], [ontouchmove], [ongesturestart], [ongesturechange]");for(let k of p)if(!(k.hasAttribute("onclick")||k.hasAttribute("onkeydown")||k.hasAttribute("onkeyup"))){let F=typeof uniqueSel=="function"?uniqueSel(k):k.tagName.toLowerCase();d.push({selector:F,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 w=document.querySelectorAll("[onmousedown]");for(let k of w){let v=k.hasAttribute("onmouseup"),F=k.tagName.toLowerCase();if(!v&&F!=="a"&&F!=="button"&&F!=="input"){let P=typeof uniqueSel=="function"?uniqueSel(k):F;d.push({selector:P,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 D=/devicemotion|deviceorientation|accelerometer|gyroscope/i,x=/addEventListener\(\s*['"](?:devicemotion|deviceorientation)['"]\s*,\s*(?:\(\s*\)\s*=>|function\s*\(\s*\))\s*\{\s*(?:[A-Za-z_$][\w$]*\s*(?:\+\+|--)\s*;?\s*)+\}\s*\)/gi,C=/addEventListener\(\s*['"](?:click|keydown|keyup|input|change|pointerup|touchend)['"]/i,I=/(?: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 E(){let k=document.querySelectorAll('label, button, [role="button"], [role="switch"], input[type="button"], input[type="checkbox"]');for(let v of Array.from(k)){let F=(v.textContent||"")+" "+(v.getAttribute("aria-label")||"")+" "+(v.getAttribute("value")||"");if(I.test(F))return true}return false}function y(k){return !D.test(k.replace(x,""))||C.test(k)?true:E()}let _=document.querySelectorAll("script:not([src]):not([data-wa-injected])");for(let k of _){let v=k.textContent||"";if(D.test(v)&&!y(v)){let F=[],P=k;for(;P&&P!==document.body&&P!==document.documentElement;){let G=P.parentElement,J=P.tagName.toLowerCase(),ee=G?Array.from(G.children).filter(Q=>Q.tagName===P.tagName):[],ae=ee.indexOf(P)+1;F.unshift(ae>1||ee.length>1?J+":nth-of-type("+ae+")":J),P=G;}let V=P===document.body?"body":P===document.documentElement?"html":"",j=(V?V+" > ":"")+F.join(" > ");d.push({selector:j||"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 R=document.querySelectorAll("form"),S='input:not([type="hidden"]):not([type="submit"]):not([type="button"]):not([type="reset"]):not([type="image"]), select, textarea',T=/\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,O=/\b(?:pay|buy|purchase|donate|subscribe and pay|place (?:your |my )?order|complete (?:order|purchase|payment)|confirm (?:order|purchase|payment)|check ?out)\b/i,B=/\b(?:delete|remove|close|deactivate|cancel|terminate)\b[^.]{0,30}\b(?:account|profile|subscription|membership|data|records?)\b/i,H=/\b(?:e-?)?sign\b(?![\s\u00a0-]*(?:up|in|on|out)\b)|\bagree and (?:submit|continue|sign)\b/i,Y=/\b(?:save|update|change)\b/i,Z=/e-?mail|name|phone|tel\b|zip|postal|company|organi[sz]ation|country/i;for(let k of R){let v=Array.from(k.querySelectorAll(S)),F=Ke=>[Ke.getAttribute("name"),Ke.getAttribute("id"),Ke.getAttribute("autocomplete"),Ke.getAttribute("placeholder"),Ke.getAttribute("aria-label")].join(" "),P=Array.from(k.querySelectorAll('button, input[type="submit"], input[type="image"]')).filter(Ke=>Ke.tagName!=="BUTTON"||!Ke.getAttribute("type")||(Ke.getAttribute("type")||"").toLowerCase()==="submit").map(Ke=>(Ke.getAttribute("value")||"")+" "+(Ke.textContent||"")+" "+(Ke.getAttribute("aria-label")||"")).join(" . "),V=v.some(Ke=>T.test(F(Ke)))||Array.from(k.querySelectorAll("iframe")).some(Ke=>M.test((Ke.getAttribute("title")||"")+" "+(Ke.getAttribute("name")||""))),j=v.some(Ke=>/signature/i.test(F(Ke))),G=V||O.test(P),J=B.test(P),ee=j||H.test(P),ae=v.length>0&&v.some(Ke=>(Ke.getAttribute("type")||"").toLowerCase()==="email"||/e-?mail/i.test(F(Ke)))&&v.every(Ke=>{let Ot=Ke.tagName.toLowerCase()==="input"?(Ke.getAttribute("type")||"text").toLowerCase():Ke.tagName.toLowerCase();return Ot==="email"||Ot==="checkbox"||Ot==="tel"?true:Ot==="text"||Ot==="search"?Z.test(F(Ke)+" "+(Ke.closest("label")?.textContent||"")):false}),Q=(k.textContent||"").toLowerCase(),ce=/payment|credit card|billing|purchase|\border\b|checkout|bank|account number/i.test(Q),we=/\bagree|terms|contract|binding|signature|consent|waiver/i.test(Q),ue=/delete.*account|remove.*data|cancel.*account/i.test(Q),Ae=G||J||ee,Me=ae&&(Y.test(P)||ue),Ne=!Ae&&(!ae&&(ce||we||ue)||Me);if(!Ae&&!Ne)continue;let Fe=!!k.querySelector('[type="checkbox"][required], [class*="confirm"], [id*="confirm"], [name*="confirm"]'),ke=!!k.querySelector('[class*="review"], [class*="summary"], [id*="review"]');if(Fe||ke)continue;let Mt=typeof uniqueSel=="function"?uniqueSel(k):"form",jt=Ae?G?"financial":J?"data-deletion":"legal":Me?ue?"data-deletion":"data-modification":ce?"financial":we?"legal":"data-deletion";d.push({selector:Mt,attribute:"data-error-prevention",currentValue:jt,issueType:"error_prevention_missing",wcag:"3.3.4",context:`${jt.charAt(0).toUpperCase()+jt.slice(1)} form lacks a confirmation/review step. For ${jt} 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 ${jt} topics but its controls show no ${jt} transaction (no payment fields, pay/order/delete submit, or signature) \u2014 confirm whether submitting it commits the user`}:{}});}return d},bg={name:"timingAndInput",async detect(d){return d.evaluate(tL)}};var rL=()=>{let d=[],f=document.querySelectorAll('nav, [role="navigation"]');for(let p of f){if(!p.offsetParent||p.closest('footer, aside, [role="contentinfo"], [role="complementary"]')||p.parentElement?.closest('nav, [role="navigation"]'))continue;let w=p.getBoundingClientRect();if(w.top<=window.innerHeight)continue;let D=typeof uniqueSel=="function"?uniqueSel(p):"nav";d.push({selector:D,attribute:"data-nav-position",currentValue:`top: ${Math.round(w.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 g=document.querySelectorAll('[class*="blink" i], [class*="flash" i], [class*="strobe" i], blink, marquee');for(let p of g){if(!p.offsetParent)continue;let w=p.getBoundingClientRect();if(w.width<1||w.height<1||!(p.textContent||"").trim()&&!p.querySelector("img, svg, video, canvas, picture")&&getComputedStyle(p).backgroundImage==="none")continue;let D=typeof uniqueSel=="function"?uniqueSel(p):p.tagName.toLowerCase();d.push({selector:D,attribute:"data-flashing",currentValue:p.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 m=document.querySelectorAll('img[src*=".gif"]');for(let p of m){if(!p.offsetParent||p.width<25||p.height<25)continue;let w=p.getBoundingClientRect();if(w.width>100&&w.height>100){let D=typeof uniqueSel=="function"?uniqueSel(p):"img";d.push({selector:D,attribute:"data-animated-gif",currentValue:(p.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 d},yg={name:"navigationAndWayfinding",async detect(d){return d.evaluate(rL)}};var wg={name:"flashDetection",async detect(d){let f=[];if(!d.screenshot)return f;let m=await d.evaluate(()=>{let E=document.documentElement.style.getPropertyValue("--wa-animations-frozen")==="1";if(E){let y=document.querySelectorAll("*");for(let _ of y)_.style.removeProperty("animation-play-state"),_.style.removeProperty("transition");}return E}),p=8,w=120,D=9,x=3,C=[];for(let I=0;I<p;I++){let E=await d.evaluate(y=>{let _=window.innerWidth,R=window.innerHeight,S=3,T=3,M=[];for(let O=0;O<T;O++)for(let B=0;B<S;B++){let H=Math.floor((B+.5)*(_/S)),Y=Math.floor((O+.5)*(R/T)),Z=document.elementFromPoint(H,Y);if(!Z){M.push(0);continue}let v=getComputedStyle(Z).backgroundColor||"rgba(0,0,0,0)",F=typeof parseCssColor=="function"?parseCssColor(v):null;if(!F){M.push(0);continue}let P=.2126*F[0]+.7152*F[1]+.0722*F[2];M.push(P);}return M},D);C.push(E),I<p-1&&await new Promise(y=>setTimeout(y,w));}m&&await d.evaluate(()=>{let I=document.querySelectorAll("*");for(let E of I)E.style.setProperty("animation-play-state","paused","important"),E.style.setProperty("transition","none","important");});for(let I=0;I<D;I++){let E=0,y=C[0][I],_=null;for(let T=1;T<p;T++){let M=C[T][I];if(Math.abs(M-y)>25){let B=M>y?"up":"down";_&&B!==_&&E++,_=B;}y=M;}let R=p*w/1e3,S=E/R;if(S>=x){let T=I%3,M=Math.floor(I/3);f.push({selector:"body",attribute:"data-flash-detected",currentValue:`${S.toFixed(1)} flashes/sec in region (${T},${M})`,issueType:"flashing_content",wcag:"2.3.1",context:`Content flashes ${S.toFixed(1)} times/second in screen region (row ${M}, col ${T}). 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 f}};var xg={name:"reducedMotion",async detect(d){let f=[],g=await d.evaluate(()=>{let m=false,p=false;for(let D of document.styleSheets)try{for(let x of D.cssRules){let C=x.cssText||"";/animation|transition|@keyframes/i.test(C)&&!/prefers-reduced-motion/.test(C)&&(m=!0),x instanceof CSSMediaRule&&/prefers-reduced-motion/i.test(x.conditionText||x.media?.mediaText||"")&&(p=!0);}}catch{}let w=document.querySelectorAll('[class*="animate"], [class*="slide"], [class*="fade"], [class*="bounce"], [class*="spin"], [class*="pulse"]');return w.length>0&&(m=true),{hasAnimations:m,hasReducedMotionQuery:p,animatedCount:w.length}});return g.hasAnimations&&!g.hasReducedMotionQuery&&f.push({selector:"html",attribute:"data-reduced-motion",currentValue:`${g.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; } }"}),f}};var nL=()=>{let d="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",g=[],m=/^(0+(\.0+)?|false|off|no|none|disabled?)$/i,p=v=>v!==null&&!m.test(v.trim()),w=v=>{let F=parseFloat((v||"").trim());return Number.isFinite(F)&&F>0},D=/^(carousel|slider|slideshow|slides|slick|swiper|splide|flickity|owl|flexslider|glide|layerslider|ls|rotator|gallery)$/i,x=v=>v.split(/[\s_-]+/).filter(Boolean),C=v=>{if((v.getAttribute("aria-roledescription")||"").trim().toLowerCase()==="carousel")return true;let F=typeof v.className=="string"?v.className:v.getAttribute("class")||"";return x(F).some(P=>D.test(P))},I=/^(autoplay|autoPlay|auto_play|autoStart|autostart|auto_start)$/,E=v=>{let F=v.trim();if(!F.startsWith("{"))return "";let P;try{P=JSON.parse(F);}catch{try{P=JSON.parse(F.replace(/'/g,'"'));}catch{return ""}}if(!P||typeof P!="object")return "";for(let V of Object.keys(P)){if(!I.test(V))continue;let j=P[V];if(j===true||typeof j=="number"&&j>0||typeof j=="string"&&p(j)&&j.trim()!==""||j&&typeof j=="object")return `${V}: ${JSON.stringify(j).slice(0,40)}`}return ""},y=v=>{for(let V of ["data-autoplay","data-auto","data-autostart","data-bs-autoplay","data-auto-play"]){if(!v.hasAttribute(V))continue;let j=v.getAttribute(V)||"";if((j.trim()===""||p(j))&&(C(v)||Y(v)>=2))return {attr:V,value:j}}let F=["data-interval","data-bs-interval"].some(V=>v.hasAttribute(V)&&m.test((v.getAttribute(V)||"").trim()));for(let V of ["data-ride","data-bs-ride"])if((v.getAttribute(V)||"").trim().toLowerCase()==="carousel"&&!F)return {attr:V,value:"carousel"};for(let V of ["data-interval","data-bs-interval"]){let j=v.getAttribute(V);if(w(j)&&C(v))return {attr:V,value:j||""}}let P=C(v);for(let V of Array.from(v.attributes)){if(!V.name.startsWith("data-")||!P&&!x(V.name.slice(5)).some(G=>D.test(G)))continue;let j=E(V.value);if(j)return {attr:V.name,value:j}}if((v.getAttribute("aria-roledescription")||"").trim().toLowerCase()==="carousel"){let V=/autoplay["']?\s*[:=]\s*["']?(false|0|off|no)\b/i;for(let j of Array.from(v.attributes)){if(/(^|-)autoplay$/i.test(j.name)&&(j.value.trim()===""||p(j.value)))return {attr:j.name,value:j.value.slice(0,60)};if(/autoplay/i.test(j.value)&&!V.test(j.value))return {attr:j.name,value:j.value.slice(0,60)}}}return null},_=/^(pause|stop|play|playpause|resume)$/i,R=/\b(pause|stop|play|resume)\b/i,S=v=>{let F=[v.getAttribute("aria-label")||"",v.getAttribute("title")||"",v.getAttribute("value")||"",(v.textContent||"").trim().slice(0,80)],P=(v.getAttribute("aria-labelledby")||"").trim();if(P)for(let V of P.split(/\s+/))F.push(document.getElementById(V)?.textContent||"");for(let V of Array.from(v.querySelectorAll("img[alt]")))F.push(V.getAttribute("alt")||"");return F.join(" ")},T=v=>{let F=v.getAttribute("class")||"";return x(F).some(P=>_.test(P))?true:v.matches('a, button, input, [role="button"], [role="switch"], [role="checkbox"], [tabindex]')?R.test(S(v)):false},M=/^(section|article|main|nav|aside|header|footer|form|dialog)$/i,O=v=>C(v)||y(v)!==null||Array.from(v.querySelectorAll("*")).some(F=>C(F)||y(F)!==null),B=v=>{if(v.querySelector("[aria-pressed]"))return true;let F=[v];for(let j of Array.from(v.parentElement?.children||[]))j===v||M.test(j.tagName)||O(j)||F.push(j);let P=v.getAttribute("id"),V=j=>{let G=[...(j.getAttribute("aria-controls")||"").split(/\s+/),(j.getAttribute("data-bs-target")||j.getAttribute("data-target")||"").replace(/^#/,"")].filter(Boolean);return G.length>0&&!G.includes(P||"")};for(let j of F){if(j!==v&&T(j)&&!V(j))return true;for(let G of Array.from(j.querySelectorAll("*")))if(T(G)&&!V(G))return true}if(P){let j=typeof CSS<"u"&&CSS.escape?CSS.escape(P):P.replace(/["\\]/g,"\\$&");for(let G of Array.from(document.querySelectorAll(`[aria-controls~="${j}"], [data-target="#${j}"], [data-bs-target="#${j}"]`)))if(T(G))return true}return false},H=/^(slide|cell)$/i,Y=v=>{let F=G=>x(G.getAttribute("class")||"").some(J=>H.test(J))&&!/(^|[\s_-])cloned?([\s_-]|$)/i.test(G.getAttribute("class")||""),P=Array.from(v.querySelectorAll("[class]")).filter(F),V=P.filter(G=>!P.some(J=>J!==G&&J.contains(G)));if(!V.length)return 0;let j=V.length;for(let G of V){let J=Array.from(G.parentElement?.children||[]).filter(ee=>ee.tagName===G.tagName&&!/(^|[\s_-])cloned?([\s_-]|$)/i.test(ee.getAttribute("class")||""));j=Math.max(j,J.length);}return j},Z=new Set,k=(v,F)=>{if(g.length>=10||Z.has(v)||(Z.add(v),v.closest(d))||v.closest('[aria-hidden="true"], [hidden], template, noscript')||typeof isVisible=="function"&&!isVisible(v)||Y(v)===1||B(v))return;let P=typeof uniqueSel=="function"?uniqueSel(v):v.tagName.toLowerCase();g.push({selector:P,attribute:F.attr,currentValue:F.value.slice(0,100),issueType:"carousel_autoplay_no_pause",wcag:"2.2.2",context:`slider markup declares autoplay (${F.attr}="${F.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:v.cloneNode(false).outerHTML.slice(0,300)});};for(let v of Array.from(document.body?document.body.querySelectorAll("*"):[])){if(g.length>=10)break;if(!v.attributes.length)continue;if(v.hasAttribute("data-swiper-autoplay")&&w(v.getAttribute("data-swiper-autoplay"))){let P=v.closest('.swiper, .swiper-container, [class*="swiper"]:not(.swiper-slide):not(.swiper-wrapper)')||v.parentElement?.parentElement||v;k(P,{attr:"data-swiper-autoplay",value:v.getAttribute("data-swiper-autoplay")||""});continue}let F=y(v);F&&k(v,F);}return g},Dg={name:"carouselAutoplay",cap:10,async detect(d){return d.evaluate(nL)}};var Lg=[cg,tg,sg,Rh,Uh,Gh,Oh,ng,Hh,ug,Vh,ig,Fh,eg,Wh,qh,Jh,zh,Qh,Xh,dg,fg,Kh,Ph,Mh,Yh,ag,lg,Nh,og,Ih,Zh,pg,mg,hg,gg,vg,bg,yg,wg,xg,Dg],kL=[Th,Lh,Bh,rg];function Pg(d,f,g){d?.push({tool:f,kind:"engine-failed",detail:`detector threw, its findings are absent: ${g?.message??String(g)}`});}async function Ou(d,f,g,m){let p=f??[];try{let{UNIQUE_SELECTOR_JS:M,IS_VISIBLE_JS:O,ACCESSIBLE_NAME_JS:B,WIDGET_SKIP_JS:H,IS_HIDDEN_FROM_AT_JS:Y,IS_TRACKING_PIXEL_JS:Z,NEARBY_CONTEXT_JS:k}=await Promise.resolve().then(()=>(_g(),Ag)),{ICON_LABELS_JS:v}=await Promise.resolve().then(()=>(Cg(),Eg)),{COLOR_MATH_JS:F}=await Promise.resolve().then(()=>(kg(),Sg)),V=`if(typeof __name==='undefined'){var __name=function(t,v){return t};var __defProp=Object.defineProperty;}
|
|
384
|
-
`+[M,
|
|
385
|
-
`),{inject:j}=await Promise.resolve().then(()=>(Pr(),pn));try{await j(d,{tool:"detector-helpers",content:V});}catch{await d.evaluate(`(0,eval)(${JSON.stringify(V)})`);}}catch(M){console.warn("[webability] helper injection failed:",M.message),(g??[]).push("color:kernel-injection-failed");}let w=[];try{let{detectPlatform:M,applyPlatformTemplates:O}=await Promise.resolve().then(()=>(Ig(),Fg)),B=await M(d);w=await O(d,B);}catch{}let{guardDetectorState:D}=await Promise.resolve().then(()=>(Pr(),pn)),x=globalThis.process?.env?.WA_STRICT_STATE==="1",C={strict:x,bugs:m?.internalBugs},I=await D(d,"detectors:parallel",g??[],()=>Promise.allSettled((m?.experimental?[...Lg,...kL]:Lg).map(async M=>{try{let O=await M.detect(d);return M.cap&&O.length>=M.cap&&p.push({detector:M.name,cap:M.cap}),O}catch(O){return Pg(m?.internalBugs,M.name,O),[]}})),C),E=[];m?.skipFocusMutating&&(g??[]).push("focus:mutating-detectors-skipped (live-tab scan; focus visibility and focus obscured were not checked)");let y=[...m?.skipFocusMutating?[]:[jh,$h],...m?.extraSerialDetectors??[]];for(let M of y){let O=[];try{O=await D(d,M.name,g??[],()=>M.detect(d).catch(B=>(Pg(m?.internalBugs,M.name,B),[])),C);}catch(B){if(x)throw B}try{M.cap&&O.length>=M.cap&&p.push({detector:M.name,cap:M.cap}),E=E.concat(O);}catch{}}let _=[...I.flatMap(M=>M.status==="fulfilled"?M.value:[]),...E],R=[...w,..._],S=RL(R),T=["wp-ada-compliance","webability-widget","webability-a11y","asw-","userway","acsb","audioeye","equallyai"];return S.filter(M=>{let O=M.selector.toLowerCase();return O.trim()?!T.some(B=>O.includes(B)):false})}async function TL(d){try{return await d.evaluate(()=>{let f=getComputedStyle(document.documentElement),g={};for(let C of f)C.startsWith("--")&&/color|bg|background|text|primary|secondary|accent/i.test(C)&&(g[C]=f.getPropertyValue(C).trim());let m={},p={},w=document.querySelectorAll("body *:not(script):not(style):not(noscript)"),D=Math.min(w.length,500);for(let C=0;C<D;C++){let I=getComputedStyle(w[C]);if(I.display==="none"||I.visibility==="hidden")continue;let E=I.backgroundColor,y=I.color;E&&E!=="rgba(0, 0, 0, 0)"&&(m[E]=(m[E]||0)+1),y&&(p[y]=(p[y]||0)+1);}let x=C=>Object.entries(C).sort((I,E)=>E[1]-I[1]).slice(0,8).map(([I,E])=>({color:I,count:E}));return {cssVars:g,topBgColors:x(m),topTextColors:x(p)}})}catch{return {cssVars:{},topBgColors:[],topTextColors:[]}}}function RL(d){let f=new Set;return d.filter(g=>{let m=`${g.selector}::${g.issueType}`;return f.has(m)?false:(f.add(m),true)})}var Mg="1.12.0";var Nu=["wcag2a","wcag2aa","wcag21aa","wcag22aa"];function qu(d){return d.includes("wcag21aa")||d.includes("wcag22aa")||d.includes("wcag134")?{"css-orientation-lock":{enabled:true}}:{}}function Og(d,f){return f==="AAA"&&!d.includes("wcag2aaa")?[...d,"wcag2aaa"]:d}var Xo={"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 Ng(d){return Xo[d]}var oi={A:1,AA:2,AAA:3};function Bu(d){let f=String(d.wcag||"").split(/[,\s]+/).filter(m=>/^\d+\.\d+\.\d+$/.test(m));if(f.length===0)return d.level??"AA";let g;for(let m of f){let p=Ng(m);p&&(!g||oi[p]<oi[g])&&(g=p);}return g}function Tn(d,f="AA"){let g=oi[f]??oi.AA;return d.filter(m=>{let p=Bu(m);return !!p&&oi[p]<=g})}var FL=new Set(["new_window_link","external_link_warning","download_link_warning"]);function qg(d){let f=FL.has(d.issueType)?"minor":d.needsAI?"serious":"moderate",g=d.attribute==="style",m=d.attribute.startsWith("data-"),p=g&&d.fixValue?IL(d.fixValue):d.fixValue;return {id:`wa-${d.issueType}-${si(d.selector)}`,source:"webability",type:d.issueType,wcag:d.wcag,level:Bu({wcag:d.wcag})??"AA",impact:f,message:LL(d,p,m),selector:d.selector,html:d.outerHtml,...d.needsReview?{confidence:"needs_review"}:{},...d.reviewReason?{reviewReason:d.reviewReason}:{},fix:{attribute:d.attribute,currentValue:d.currentValue,suggestedValue:p,needsManualReview:d.needsAI||g||m||!!d.needsReview||!!d.manualFix}}}function IL(d){let f=d.trim();if(!f)return "";let g=f.endsWith(";"),p=f.split(";").map(w=>{let x=w.toLowerCase().lastIndexOf("!important");return x===-1?w.trim():w.slice(0,x).trim()}).filter(w=>w.length>0);return p.length===0?"":p.join(";")+(g?";":"")}function LL(d,f,g){if(d.message)return d.message;let m=d.issueType.replace(/_/g," "),p=f??d.fixValue;return g?p?`${m}: ${p}`:d.currentValue?`${m}: ${d.currentValue}`:d.context?`${m}: ${d.context}`:m:p?`${m}: set ${d.attribute}="${p}"`:d.currentValue?`${m}: ${d.attribute} is "${d.currentValue}"`:`${m}: missing ${d.attribute}`}function Qn(d){return Array.isArray(d)?d.flat(1/0).filter(g=>typeof g=="string").join(" >>> "):typeof d=="string"?d:""}function si(d){let f=0;for(let g=0;g<d.length;g++)f=(f<<5)-f+d.charCodeAt(g)|0;return Math.abs(f).toString(36)}function Hu(d){return d==="critical"||d==="serious"||d==="moderate"||d==="minor"?d:"moderate"}function Vu(d,f=[]){return {total:d.length,critical:d.filter(g=>g.impact==="critical").length,serious:d.filter(g=>g.impact==="serious").length,moderate:d.filter(g=>g.impact==="moderate").length,minor:d.filter(g=>g.impact==="minor").length,incomplete:0}}function Yo(d){let f=/^wcag(\d)(\d)(\d{1,2})$/.exec(d);return f?`${f[1]}.${f[2]}.${f[3]}`:""}function $u(d){for(let f of d){let g=Yo(f);if(g)return g}return ""}function ju(d){return d.includes("wcag2aaa")?"AAA":d.includes("wcag2aa")||d.includes("wcag21aa")||d.includes("wcag22aa")?"AA":"A"}async function zu(d,f){try{let{AxeBuilder:g}=await import('@axe-core/playwright'),m=typeof d.mainFrame=="function"?d:d.axePage?.()??d;return await new g({page:m}).options({rules:qu(f)}).withTags(f).analyze()}catch{return PL(d,f)}}async function PL(d,f){let g=await Promise.resolve().then(()=>Uo(ui())),m=g.source??g.default?.source;if(!m)throw new Error("axe-core source unavailable");try{await d.evaluate(m);}catch{let{inject:w}=await Promise.resolve().then(()=>(Pr(),pn));await w(d,{tool:"axe",content:m});}return await d.evaluate(({wcagTags:w,rules:D})=>new Promise((x,C)=>{let I=window;if(!I.axe)return C(new Error("axe-core not loaded"));I.axe.run(document,{runOnly:{type:"tag",values:w},rules:D,resultTypes:["violations","incomplete"]}).then(x).catch(C);}),{wcagTags:f,rules:qu(f)})}function Gu(d){let f=[],g=[];for(let m of d)m.confidence==="needs_review"||OL(m)?g.push(m):f.push(ML(m));return {verdicts:f,undecided:g}}function ML(d){if(d.confidence===void 0&&d.reviewReason===void 0)return d;let{confidence:f,reviewReason:g,...m}=d;return m}function OL(d){let f=(d.type||"").toLowerCase(),g=d.wcag||"",m=d.html||"",p=(d.message||"").toLowerCase();if((f==="contrast_insufficient"||f==="color-contrast"||g==="1.4.3"||g==="1.4.11")&&NL(m))return "background uses gradient or image";if(f==="image_of_text"||g==="1.4.5"){let w=Hg(m,"src").toLowerCase();w.startsWith("data:")&&(w=w.split(",")[0]);let D=Hg(m,"alt").toLowerCase();if(/\b(logo|brand|wordmark|hero|banner|footer|marketing|promo|cover)\b/.test(w))return "brand imagery";if(D.length>0&&/\b(logo|brand|product screenshot|dashboard)\b/.test(D))return "branded imagery"}return (f==="inconsistent_navigation"||p.includes("inconsistent navigation"))&&(/<footer/i.test(m)||/<aside/i.test(m))?"footer/aside nav":""}function NL(d){return /background(-image)?\s*:\s*(?:linear-gradient|radial-gradient|conic-gradient|url\()/i.test(d)}function Hg(d,f){let g=new RegExp(`\\b${f}\\s*=\\s*"([^"]*)"`,"i"),m=d.match(g);return m?m[1]:""}Pr();var qL=60,BL=3,HL=120,VL=1200,$L=300,jL=2e5,zL=8e3,GL=new Set(["bgImage","bgGradient","bgOverlap","elmPartiallyObscured","elmPartiallyObscuring"]),UL="*,*::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 WL(d){let{selectors:f,maxBoxes:g,maxW:m,maxH:p,maxArea:w}=d,D=document.documentElement.scrollWidth,x=document.documentElement.scrollHeight,C=document.createElement("canvas");C.width=C.height=1;let I=C.getContext("2d",{willReadFrequently:true}),E=M=>{try{I.clearRect(0,0,1,1),I.fillStyle="#000",I.fillStyle=M,I.fillRect(0,0,1,1);let O=I.getImageData(0,0,1,1).data;return [O[0],O[1],O[2],O[3]]}catch{return null}},y={},_=document.querySelectorAll("video,canvas,iframe,embed,object");if(_.length>200){for(let M of f)y[M]=null;return y}let R=Array.from(_).map(M=>M.getBoundingClientRect()),S=window.scrollX,T=window.scrollY;for(let M of f){y[M]=null;let O=null;try{O=document.querySelector(M);}catch{continue}if(!O)continue;let B=getComputedStyle(O);if(B.visibility!=="visible"||B.display==="none"||B.webkitBackgroundClip==="text"||B.backgroundClip==="text")continue;let H=false,Y=0;for(let Q=O;Q;Q=Q.parentElement){if(++Y>64){H=true;break}let ce=getComputedStyle(Q);parseFloat(ce.opacity)<1&&(H=true),(ce.transform!=="none"||ce.mixBlendMode!=="normal"||ce.filter!=="none")&&(H=true);}if(H)continue;let Z=E(B.color);if(!Z||Z[3]<255)continue;let k=parseFloat(B.fontSize),v=parseInt(B.fontWeight,10)>=700,F=k>=24||v&&k>=18.66,P=[],V=O.getBoundingClientRect();if(V.height>p*g||V.width>m*2)continue;let j=document.createTreeWalker(O,NodeFilter.SHOW_TEXT),G,J=0,ee=false;for(;!ee&&(G=j.nextNode());){if(++J>50){ee=true;break}if(G.parentElement!==O)continue;let Q=G.textContent||"";if(Q.length>2e3){ee=true;break}if(!Q.trim())continue;let ce=document.createRange();ce.selectNodeContents(G);let we=ce.getClientRects();if(we.length>g){ee=true;break}for(let ue=0;ue<we.length;ue++){let Ae=we[ue];if(!(Ae.width<2||Ae.height<2)&&(P.push({x:Math.round(Ae.left+S),y:Math.round(Ae.top+T),w:Math.max(1,Math.round(Ae.width)),h:Math.max(1,Math.round(Ae.height))}),P.length>g)){ee=true;break}}}ee||P.length===0||P.length>g||P.some(Q=>Q.w>m||Q.h>p||Q.w*Q.h>w||Q.x<0||Q.y<0||Q.x+Q.w>D||Q.y+Q.h>x)||P.some(Q=>R.some(ce=>Q.x<ce.right+S&&Q.x+Q.w>ce.left+S&&Q.y<ce.bottom+T&&Q.y+Q.h>ce.top+T))||(y[M]={fg:`rgb(${Z[0]},${Z[1]},${Z[2]})`,threshold:F?3:4.5,boxes:P});}return y}async function XL(d){let{b64:f,fg:g}=d,m=atob(f),p=new Uint8Array(m.length);for(let H=0;H<m.length;H++)p[H]=m.charCodeAt(H);let w=await createImageBitmap(new Blob([p],{type:"image/png"})),D=document.createElement("canvas");D.width=w.width,D.height=w.height;let x=D.getContext("2d",{willReadFrequently:true});x.drawImage(w,0,0);let C=x.getImageData(0,0,D.width,D.height).data,I=H=>{let Y=H/255;return Y<=.03928?Y/12.92:Math.pow((Y+.055)/1.055,2.4)},E=(H,Y,Z)=>.2126*I(H)+.7152*I(Y)+.0722*I(Z),y=g.match(/\d+/g).map(Number),_=E(y[0],y[1],y[2]),R=Math.max(1,Math.floor(Math.sqrt(D.width*D.height/1500))),S=0,T=1/0,M="",O="",B=0;for(let H=0;H<D.height;H+=R)for(let Y=0;Y<D.width;Y+=R){let Z=(H*D.width+Y)*4;if(C[Z+3]<255)continue;let k=E(C[Z],C[Z+1],C[Z+2]),v=Math.max(_,k),F=Math.min(_,k),P=(v+.05)/(F+.05);P>S&&(S=P,O=`rgb(${C[Z]},${C[Z+1]},${C[Z+2]})`),P<T&&(T=P,M=`rgb(${C[Z]},${C[Z+1]},${C[Z+2]})`),B++;}return B===0?null:{best:S,worst:T,worstBg:M,bestBg:O}}var Ko=class extends Error{};function ci(d,f){let g=f-Date.now();if(g<=0)return Promise.reject(new Ko("pixel pass deadline"));let m,p=new Promise((w,D)=>{m=setTimeout(()=>D(new Ko("pixel pass deadline")),g);});return Promise.race([d,p]).finally(()=>clearTimeout(m))}async function Uu(d,f){let g=d.screenshot;if(typeof g!="function"||f.length===0)return [];let m=Array.from(new Set(f)).slice(0,qL),p=[],w=false,D=Date.now()+zL;try{await ci(d.evaluate("if(typeof globalThis.__name==='undefined'){globalThis.__name=function(t){return t}}"),D);let x=await ci(d.evaluate(WL,{selectors:m,maxBoxes:BL,maxW:VL,maxH:$L,maxArea:jL}),D);await ci(Pu(d,{tool:"contrast-pixels",css:UL}),D),w=!0;let C=0;for(let I of m){let E=x[I];if(!E)continue;if(Date.now()>D||C+E.boxes.length>HL)break;let y=0,_=1/0,R="",S="",T=!0;for(let M of E.boxes){C++;let O=await ci(g.call(d,{clip:{x:M.x,y:M.y,width:M.w,height:M.h},fullPage:!0,type:"png",animations:"disabled"}),D),B=globalThis.Buffer,H=B?B.from(O).toString("base64"):"",Y=await ci(d.evaluate(XL,{b64:H,fg:E.fg}),D);if(!Y){T=!1;break}Y.best>y&&(y=Y.best,S=Y.bestBg),Y.worst<_&&(_=Y.worst,R=Y.worstBg);}T&&p.push({selector:I,fail:y<E.threshold*.97,bestRatio:y,worstRatio:_,...R?{worstBg:R}:{},...S?{bestBg:S}:{},threshold:E.threshold,fg:E.fg});}}catch(x){globalThis.process?.env?.WA_DEBUG_PIXELS&&console.error("pixel judge failed",x);}finally{if(w)try{await Promise.race([d.evaluate(()=>document.querySelectorAll('style[data-wa-injected^="contrast-pixels:"]').forEach(x=>x.remove())),new Promise(x=>setTimeout(x,1e3))]);}catch{}}return p}function YL(d,f){let{confidence:g,reviewReason:m,...p}=d;return {...p,id:d.id.replace("axe-incomplete-","axe-"),impact:"serious",message:`contrast: ${f.fg} text on its rendered background is at best ${f.bestRatio.toFixed(2)}:1 (measured from pixels, every background pixel behind the text fails), needs ${f.threshold}:1`}}async function Vg(d,f,g,m){let p=f.filter(I=>I.wcag!=="1.4.3"||!I.selector?false:I.source==="axe-core"?GL.has(g.get(I.id)??""):I.type==="contrast_insufficient"&&/gradient or image/.test(I.reviewReason??""));if(p.length===0)return [];let w=await Uu(d,p.map(I=>I.selector));if(m)for(let I of w)m.set(I.selector,I);globalThis.process?.env?.WA_DEBUG_PIXELS&&console.error(`pixel judge: ${p.length} candidates, ${w.length} measured, ${w.filter(I=>I.fail).length} fail`);let D=new Map(w.filter(I=>I.fail).map(I=>[I.selector,I])),x=[],C=new Set;for(let I of p){let E=D.get(I.selector);!E||C.has(I.selector)||(C.add(I.selector),x.push(YL(I,E)));}return x}function KL(d){d=d.replace("#",""),d.length===3&&(d=d[0]+d[0]+d[1]+d[1]+d[2]+d[2]);let f=parseInt(d,16);return [f>>16&255,f>>8&255,f&255]}function JL(d,f,g){return "#"+[d,f,g].map(m=>Math.round(m).toString(16).padStart(2,"0")).join("")}function Wu(d){let f=d/255;return f<=.03928?f/12.92:Math.pow((f+.055)/1.055,2.4)}function ea(d,f,g){return .2126*Wu(d)+.7152*Wu(f)+.0722*Wu(g)}function Xu(d,f){let g=Math.max(d,f),m=Math.min(d,f);return (g+.05)/(m+.05)}function Xr(d){if(d.startsWith("#"))return KL(d);let f=d.match(/rgba?\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)/);return f?[parseInt(f[1]),parseInt(f[2]),parseInt(f[3])]:null}function $t(d,f){let g=Xr(d),m=Xr(f);return !g||!m?0:Xu(ea(...g),ea(...m))}function ta(d,f,g=4.5){let m=Xr(d),p=Xr(f);if(!m||!p)return null;let w=ea(...p),D=Xu(ea(...m),w);if(D>=g)return null;let C=ea(...m)>w,I=0,E=1,y=m;for(let S=0;S<20;S++){let T=(I+E)/2,M=C?[m[0]*(1-T),m[1]*(1-T),m[2]*(1-T)]:[m[0]+(255-m[0])*T,m[1]+(255-m[1])*T,m[2]+(255-m[2])*T],O=ea(M[0],M[1],M[2]);Xu(O,w)>=g?(y=M,E=T):I=T;}let _=JL(y[0],y[1],y[2]),R=$t(_,f);return {currentColor:d,suggestedColor:_,currentRatio:Math.round(D*100)/100,suggestedRatio:Math.round(R*100)/100,requiredRatio:g,bgColor:f}}var ZL=30,QL=10,Wg=2e4,eP=30,tP=400*1024,Xg="https://openrouter.ai/api/v1",Yg="anthropic/claude-haiku-4.5",Ku="deepseek/deepseek-v4-flash",$g=400,jg=125,Yu=160,rP=2e3,di=new Map;function nP(){di.clear();}function aP(d){let f=0;for(let g=0;g<d.length;g++)f=(f<<5)-f+d.charCodeAt(g)|0;return Math.abs(f).toString(36)}var Ju=d=>d.wcag||d.type,zg=(d,f,g)=>`${d}|${f.selector}|${Ju(f)}|${aP(g)}`,Zu=()=>!!globalThis.process?.env?.WA_DEBUG_JUDGE;function iP(d){let{selectors:f,maxHtml:g}=d,m={elements:{}},p=[],w=M=>/\(\s*prefers-reduced-motion\s*(:\s*reduce\s*)?\)/i.test(M)&&!/^\s*not\b/i.test(M),D=M=>{let O=M.split(",").map(B=>B.trim()).filter(Boolean);return O.length?O.every(B=>{let H=B.match(/^(-?[\d.]+)(ms|s)$/i);return H?parseFloat(H[1])*(H[2].toLowerCase()==="s"?1e3:1)<=10:false}):false},x=(M,O,B)=>{if(!(B>8))for(let H of Array.from(M)){let Y=H.media?.mediaText,Z=O||typeof Y=="string"&&w(Y),k=H.style,v=H.selectorText;if(Z&&k&&typeof v=="string"){let V=k.getPropertyValue("animation-name").trim(),j=/^none(\s*,\s*none)*$/i.test(V)||D(k.getPropertyValue("animation-duration"))||/^paused/i.test(k.getPropertyValue("animation-play-state").trim()),G=/^none(\s*,\s*none)*$/i.test(k.getPropertyValue("transition-property").trim())||D(k.getPropertyValue("transition-duration"));(j||G)&&p.push({selector:v,anim:j,trans:G});}let F=H.cssRules;F&&F.length&&x(F,Z,B+1);let P=H.styleSheet;if(P)try{x(P.cssRules,Z||w(H.media?.mediaText||""),B+1);}catch{}}};try{for(let M of Array.from(document.styleSheets))try{x(M.cssRules,w(M.media?.mediaText||""),0);}catch{}}catch{}let C=(M,O)=>{try{return M.matches(O)}catch{return false}},I=M=>M.split(",").map(O=>{let B=O.trim().match(/^(-?[\d.]+)(ms|s)$/i);return B?parseFloat(B[1])*(B[2].toLowerCase()==="s"?1e3:1):0}),E=M=>{let O=M.cloneNode(true);O.querySelectorAll("script, style").forEach(H=>H.remove());let B=(O.textContent||"").replace(/\s+/g," ").trim();if(!B){for(let H of Array.from(M.querySelectorAll("img[alt], [aria-label]")))if(B=(H.getAttribute("alt")||H.getAttribute("aria-label")||"").trim(),B)break}return B},y=M=>{let O=(M.getAttribute("aria-label")||"").trim();if(O)return O;let H=(M.getAttribute("aria-labelledby")||"").split(/\s+/).filter(Boolean).map(k=>{let v=document.getElementById(k);return v?(v.textContent||"").replace(/\s+/g," ").trim():""}).filter(Boolean).join(" ");if(H)return H;let Y=E(M);if(Y)return Y;let Z=M instanceof HTMLInputElement&&/^(submit|button|reset|image)$/i.test(M.type)?(M.value||M.alt||"").trim():"";return Z||(M.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"])',R=window.scrollX||0,S=window.scrollY||0,T=[];for(let M of f){let O=null;try{O=document.querySelector(M);}catch{}if(!O){m.elements[M]={found:false};continue}let B=T.indexOf(O);B<0&&(B=T.push(O)-1);let H=getComputedStyle(O),Y=O.getBoundingClientRect(),Z=O.tagName.toLowerCase(),k={found:true,elementKey:B,tag:Z,html:(O.outerHTML||"").slice(0,g),rect:{x:Y.left+R,y:Y.top+S,w:Y.width,h:Y.height},role:(O.getAttribute("role")||"").toLowerCase(),ariaHidden:O.getAttribute("aria-hidden")==="true"||!!O.closest('[aria-hidden="true"]'),hidden:H.display==="none"||H.visibility==="hidden"||!!O.closest("[hidden]"),cssBackgroundImage:/url\(/i.test(H.backgroundImage||""),reducedMotionHandled:false,nearText:"",fg:H.color,bg:H.backgroundColor,fontSize:parseFloat(H.fontSize)||0,fontWeight:parseInt(H.fontWeight,10)||400};if(Z==="img"){let G=O;k.img={src:(G.currentSrc||G.getAttribute("src")||"").slice(0,300),alt:G.getAttribute("alt"),naturalW:G.naturalWidth||0,naturalH:G.naturalHeight||0,attrW:parseInt(G.getAttribute("width")||"0",10)||0,attrH:parseInt(G.getAttribute("height")||"0",10)||0};}if(k.cssBackgroundImage){let G=O.closest(_);G&&(k.control={tag:G.tagName.toLowerCase(),name:y(G).slice(0,120)});}if(!/^(img|video|canvas|iframe|object|embed|svg)$/.test(Z)){let G=H.animationName.split(",").some(ce=>ce.trim()&&ce.trim()!=="none")&&I(H.animationDuration).some(ce=>ce>10),J=I(H.transitionDuration).some(ce=>ce>10)&&H.transitionProperty.trim()!=="none",ee=p.filter(ce=>C(O,ce.selector)),ae=!G||ee.some(ce=>ce.anim),Q=!J||ee.some(ce=>ce.trans);k.reducedMotionHandled=(G||J)&&ae&&Q;}let v=O.closest('a[href], button, [role="button"], [role="link"]');if(v&&v!==O){let G=v.cloneNode(true);G.querySelectorAll("img, svg").forEach(ae=>ae.remove());let J=(G.textContent||"").replace(/\s+/g," ").trim(),ee=(v.getAttribute("aria-label")||"").trim();k.parentInteractive={tag:v.tagName.toLowerCase(),text:(J||ee).slice(0,120)};}let F=G=>{let J=G.cloneNode(true);return J.querySelectorAll("script, style").forEach(ee=>ee.remove()),(J.textContent||"").replace(/\s+/g," ").trim()},P=O.matches('a[href], [role="link"]'),V=F(O),j=O.parentElement;if(P&&(j=O.closest("p, li, td, th, dd, dt, figcaption, blockquote")||O.parentElement),j){let G=F(j),J=P&&V?G.indexOf(V):-1,ee=J>120?J-120:0;k.nearText=(ee?"\u2026":"")+G.slice(ee,ee+240);}m.elements[M]=k;}return m}function oP(d,f){let g=(d.type||"").toLowerCase(),m=d.wcag||"";return g==="decorative_image_with_title"?"generic":m==="1.1.1"&&(f?.tag==="img"||/alt|image/.test(g))?"alt":m==="1.4.3"||m==="1.4.6"||g==="color-contrast"||g==="contrast_insufficient"||g==="contrast_enhanced"?"contrast":m==="2.2.2"||m==="2.3.3"||/motion|animation|reduced_motion/.test(g)?"motion":"generic"}function Qu(d){return !!d&&d.tag!=="img"&&d.cssBackgroundImage&&!d.img}var sP=/\b(needs?|requires?|for)\s+(a\s+)?(human|manual)?\s*review\b|\bhuman review\b|\bmanual review\b|\bincomplete\b/gi;function lP(d){let f=String(d??"").replace(/\s+/g," ").replace(sP,"judged").trim();if(f.length<=Yu)return f;let g=f.slice(0,Yu-1),m=g.lastIndexOf(" ");return (m>Yu/2?g.slice(0,m):g).replace(/[\s,;:–—-]+$/,"")+"\u2026"}function uP(d){let f=String(d??"").replace(/\s+/g," ").trim();if(f=f.replace(/^(an?\s+|the\s+)?(image|picture|photo|photograph|graphic|icon|illustration|screenshot)\s+(of|showing|depicting)(\s+|$)(an?\s+|the\s+)?/i,""),f=f.replace(/^["'“”]+|["'“”]+$/g,"").trim(),f.length>jg){f=f.slice(0,jg);let g=f.lastIndexOf(" ");g>60&&(f=f.slice(0,g)),f=f.replace(/[\s,;:–—-]+$/,"");}return f&&(f=f[0].toUpperCase()+f.slice(1)),f}function ra(d){let f=d.match(/\d+(\.\d+)?/g);return !f||f.length<3?d:"#"+f.slice(0,3).map(g=>Math.round(Number(g)).toString(16).padStart(2,"0")).join("")}var Kg=/^#?([0-9a-f]{6})$/i;function cP(d){let f=String(d??"").trim().match(Kg);return f?"#"+f[1].toLowerCase():null}function dP(d){let{confidence:f,reviewReason:g,...m}=d;return {...m,id:d.id.replace("axe-incomplete-","axe-")}}function fP(d){let f=d;if(typeof d=="string"){let p=d.replace(/```json\s*/gi,"").replace(/```/g,"").match(/\[[\s\S]*\]/);if(!p)return null;try{f=JSON.parse(p[0]);}catch{return null}}else d&&typeof d=="object"&&Array.isArray(d.verdicts)&&(f=d.verdicts);if(!Array.isArray(f))return null;let g=[];for(let m of f){if(!m||typeof m!="object")continue;let{id:p,verdict:w,reason:D,fix:x}=m;if(typeof p!="string"||w!=="pass"&&w!=="violation")continue;let C=x&&typeof x=="object"?x:void 0;g.push({id:p,verdict:w,reason:typeof D=="string"?D:void 0,fix:C?{attribute:typeof C.attribute=="string"?C.attribute:void 0,value:typeof C.value=="string"?C.value:void 0}:void 0});}return g}var na=class extends Error{},Jg=`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:Bg);});var sv={};Dr(sv,{dismissModals:()=>ov});async function ov(d){await d.evaluate(f=>{for(let g of f){let m=document.querySelectorAll(g);for(let p of m)if(p.offsetParent!==null){p.click();return}}},AP),await new Promise(f=>setTimeout(f,500));}var AP,rc=xr(()=>{AP=['[class*="cookie"] button[class*="accept"]','[class*="cookie"] button[class*="agree"]','[class*="consent"] button[class*="accept"]','[class*="consent"] button[class*="agree"]','[id*="cookie"] button','[id*="consent"] button',".cc-dismiss",".cc-allow",".cc-btn",'[class*="gdpr"] button[class*="accept"]','[aria-label*="cookie" i] button','[aria-label*="consent" i] button','button[class*="close-banner"]','[class*="popup"] [class*="close"]','[class*="overlay"] [class*="close"]','[class*="modal"] [class*="close"]','[class*="notification"] [class*="close"]','button[aria-label="Close"]','button[aria-label="Dismiss"]'];});var Jo={};Dr(Jo,{pruneHiddenIframeIssues:()=>kP,pruneInvisibleContrast:()=>SP,waitForRenderSettle:()=>EP});async function EP(d,f=4e3){let g=Date.now()+f;try{await d.waitForLoadState?.("load",{timeout:Math.min(f/2,2e3)});}catch{}let m="";for(;Date.now()<g;){let p;try{p=await d.evaluate(()=>{let w=typeof document.getAnimations=="function"?document.getAnimations():[],D=0;for(let C of w){if(C.playState!=="running")continue;let y;try{y=C.effect?.getComputedTiming?.().iterations;}catch{y=void 0;}y!==1/0&&D++;}let x="",S=document.body?document.body.querySelectorAll('[style*="opacity"]'):[],F=Math.min(S.length,50);for(let C=0;C<F;C++)x+=getComputedStyle(S[C]).opacity+",";return D+"|"+x});}catch{return}if(p.indexOf("0|")===0&&p===m)return;m=p,await new Promise(w=>setTimeout(w,150));}}function lv(d){return CP.has(d.wcag)||/contrast/i.test(d.type||"")}async function SP(d,f){let g=Array.from(new Set(f.filter(D=>lv(D)&&D.selector).map(D=>D.selector))).slice(0,100);if(g.length===0)return f;let m;try{m=await d.evaluate(D=>{let x=[],S={},F=Math.max(document.documentElement.scrollWidth,window.innerWidth),C=Math.max(document.documentElement.scrollHeight,window.innerHeight),y=A=>{let _=A.match(/rgba?\(([^)]+)\)/);if(!_)return !1;let L=_[1].split(/[ ,/]+/).filter(Boolean);return L.length<4||parseFloat(L[3])>=.95};for(let A of D){let _=null;try{_=document.querySelector(A);}catch{continue}if(!_)continue;let L=getComputedStyle(_),I=_.getBoundingClientRect(),N=L.clipPath&&L.clipPath!=="none"&&/inset\(\s*(?:50|100)%/.test(L.clipPath)||/rect\(\s*0(?:px)?\s*,?\s*0(?:px)?\s*,?\s*0(?:px)?\s*,?\s*0(?:px)?\s*\)/.test(L.clip||""),M=I.width<=1||I.height<=1,V=window.scrollX,q=window.scrollY,U=I.right+V<=0||I.bottom+q<=0||I.left+V>=F||I.top+q>=C,Q=!1;if(U)for(let G=_.parentElement;G&&G!==document.body&&G!==document.documentElement;G=G.parentElement){let K=getComputedStyle(G);if(K.overflowX!=="visible"||K.overflowY!=="visible"||K.transform&&K.transform!=="none"){Q=!0;break}}if(U&&Q){S[A]="text is outside the visible page inside a scrolling / clipped container \u2014 check contrast where it is shown";continue}if(N||M||U){x.push(A);continue}let k=_,v=!1;for(;k&&k!==document.documentElement;){if(parseFloat(getComputedStyle(k).opacity)===0){v=!0;break}k=k.parentElement;}if(v){S[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 T=I.left+I.width/2,P=I.top+I.height/2,H=_,j=!1;for(let G=0;H&&H!==document.body&&G<8;G++){let K=getComputedStyle(H);if(y(K.backgroundColor)||K.backgroundImage&&K.backgroundImage!=="none")break;let Z=H.querySelectorAll("video, canvas, img, picture");for(let ae=0;ae<Z.length;ae++){let ee=Z[ae];if(ee.contains(_)||_.contains(ee))continue;let ce=ee.getBoundingClientRect();if(ce.width>0&&ce.height>0&&T>=ce.left&&T<=ce.right&&P>=ce.top&&P<=ce.bottom){j=!0;break}}if(j)break;H=H.parentElement;}j&&(S[A]="text sits over a video or image \u2014 the background behind the glyphs cannot be measured from CSS");}return {hidden:x,review:S}},g);}catch{return f}let p=new Set(m.hidden),w=[];for(let D of f){if(!lv(D)){w.push(D);continue}if(p.has(D.selector))continue;let x=m.review[D.selector];w.push(x&&D.confidence!=="needs_review"?{...D,confidence:"needs_review",reviewReason:x,...D.fix?{fix:{...D.fix,needsManualReview:true}}:{}}:D);}return w}async function kP(d,f){let g=Array.from(new Set(f.filter(w=>w.selector).map(w=>w.selector))).slice(0,200);if(g.length===0)return f;let m;try{m=await d.evaluate(w=>{let D=[];for(let x of w){let S=null;try{S=document.querySelector(x);}catch{continue}if(!S||S.tagName!=="IFRAME")continue;let F=getComputedStyle(S),C=S.getClientRects().length===0||F.visibility==="hidden"||F.visibility==="collapse",y=(S.getAttribute("src")||"").trim().toLowerCase().indexOf("javascript:")===0;(C||y)&&D.push(x);}return D},g);}catch{return f}if(m.length===0)return f;let p=new Set(m);return f.filter(w=>!p.has(w.selector))}var CP,Zo=xr(()=>{CP=new Set(["1.4.3","1.4.6","1.4.11"]);});var Qo={};Dr(Qo,{focusOnlyObscuredIndexes:()=>LP,resetInteractionState:()=>TP,restoreInteractionState:()=>FP,snapshotInteractionState:()=>RP});async function TP(d){try{await d.evaluate(()=>{try{document.activeElement?.blur?.();}catch{}try{window.scrollTo({left:0,top:0,behavior:"instant"});}catch{}});}catch{}}async function RP(d){try{await d.evaluate(()=>{let f=window;f.__waCallerState={el:document.activeElement,x:window.scrollX,y:window.scrollY};});}catch{}}async function FP(d){try{await d.evaluate(()=>{let f=window,g=f.__waCallerState;if(delete f.__waCallerState,!g)return;let m=g.el;if(m&&m!==document.body&&m!==document.documentElement&&m.isConnected)try{m.focus({preventScroll:!0});}catch{}try{window.scrollTo({left:g.x,top:g.y,behavior:"instant"});}catch{}});}catch{}}function IP(d){if(typeof d=="string")return d;if(!Array.isArray(d))return null;let f=d.flat(1/0).filter(g=>typeof g=="string");return f.length===1?f[0]:null}async function LP(d,f){let g=f.map(D=>{let S=[...D.any??[],...D.none??[]].flatMap(C=>C.relatedNodes??[]);if(!S.length)return null;let F=S.map(C=>IP(C.target));return F.every(C=>!!C)?F:null}),m=Array.from(new Set(g.flatMap(D=>D??[])));if(!m.length)return new Set;let p={};try{p=await d.evaluate(({sels:D,own:x})=>{let S=C=>{let y=C.getBoundingClientRect(),A=getComputedStyle(C);return !!((y.width<=1||y.height<=1)&&(A.overflow==="hidden"||A.position==="absolute"||A.position==="fixed")||/^rect\(\s*0(px)?[\s,]+0(px)?[\s,]+0(px)?[\s,]+0(px)?\s*\)$/.test(A.clip||"")||/inset\(\s*50%/.test(A.clipPath||""))},F={};for(let C of D){let y=null;try{y=document.querySelector(C);}catch{y=null;}if(!y){F[C]=!1;continue}let A=y.closest(x);if(A&&A!==document.body&&A!==document.documentElement){F[C]=!0;continue}if(y===document.activeElement){try{y.blur();}catch{}F[C]=S(y);continue}F[C]=S(y);}return F},{sels:m,own:Wo});}catch{return new Set}let w=new Set;return g.forEach((D,x)=>{D&&D.length&&D.every(S=>p[S]===true)&&w.add(x);}),w}var es=xr(()=>{Pr();});var aa={};Dr(aa,{dedupeByElementIdentity:()=>qP,deduplicateIssues:()=>PP});function PP(d){let f=new Map,g=[...d].sort((m,p)=>{let w={webability:0,"axe-core":1,"deep-analysis":2},D=w[m.source]??3,x=w[p.source]??3;return D-x});for(let m of g){let p=MP(m);f.has(p)?!f.get(p).fix?.suggestedValue&&m.fix?.suggestedValue&&f.set(p,m):f.set(p,m);}return Array.from(f.values())}function MP(d){let f=d.selector.replace(/:focus-visible$/,"").replace(/:focus$/,"").replace(/\[data-[^\]]+\]/g,"").trim(),g=d.wcag||"";return f&&g?`${f}::${g}`:`${d.type}::${f||d.id}`}async function qP(d,f){if(f.length<2)return f;let g=Array.from(new Set(f.map(C=>C.selector).filter(Boolean))),m;try{m=await d.evaluate(C=>{let y=Array.from(document.querySelectorAll("*")),A=new Map;y.forEach((L,I)=>A.set(L,I));let _={};for(let L of C){let I=null;try{I=document.querySelector(L);}catch{}if(!I){let N=L.replace(/:(?:focus-visible|focus-within|focus|hover|active)$/,"");if(N!==L)try{I=document.querySelector(N);}catch{}}if(I){let N=I.closest("table");_[L]={el:A.get(I),table:N?A.get(N):-1,doc:I===document.documentElement||I===document.body};}}return _},g);}catch{return f}let p={webability:0,"axe-core":1,"deep-analysis":2},w=C=>{let y=m[C.selector];if(!y)return null;let A=C.wcag||C.type;return y.doc?{key:NP.has(C.wcag||"")?`doc::${A}`:`doc::${A}::${C.type}`,owner:true}:y.table>=0&&OP.test(C.type)?{key:`${y.table}::${A}::table-headers`,owner:y.el===y.table}:{key:`${y.el}::${A}`,owner:true}},D=[...f].sort((C,y)=>{let A=w(C),_=w(y),L=A?.owner?0:1,I=_?.owner?0:1;return L-I||(p[C.source]??3)-(p[y.source]??3)}),x=new Map,S=[];for(let C of D){let y=w(C);if(!y){S.push(C);continue}let A=x.get(y.key);A?!A.fix?.suggestedValue&&C.fix?.suggestedValue&&(w(A)?.owner??true)===y.owner&&x.set(y.key,C):x.set(y.key,C);}let F=new Set([...x.values(),...S]);return f.filter(C=>F.has(C))}var OP,NP,ia=xr(()=>{OP=/^missing_table_header$|^td-has-header$|^th-has-data-cells$|^h43|^h63/,NP=new Set(["2.4.1","3.1.1","2.4.2"]);});var dv={};Dr(dv,{parseGif:()=>uv,playsOverFiveSeconds:()=>cv,verifyAnimatedGifs:()=>BP});function uv(d){if(String.fromCharCode(d[0]??0,d[1]??0,d[2]??0)!=="GIF")return null;let g=13,m=d[10]??0;m&128&&(g+=3*(1<<(m&7)+1));let p=0,w=0,D=0,x=null,S=()=>{for(;g<d.length;){let F=d[g++];if(F===0)return;g+=F;}};for(;g<d.length;){let F=d[g++];if(F===59)break;if(F===33){let C=d[g++];if(C===249)D=(d[g+2]??0)|(d[g+3]??0)<<8,g+=1+(d[g]??4),S();else if(C===255){let y=d[g]??0,A=String.fromCharCode(...Array.from(d.subarray(g+1,g+1+y)));g+=1+y,(A==="NETSCAPE2.0"||A==="ANIMEXTS1.0")&&d[g]===3&&d[g+1]===1&&(x=(d[g+2]??0)|(d[g+3]??0)<<8),S();}else S();}else if(F===44){let C=d[g+8]??0;g+=9,C&128&&(g+=3*(1<<(C&7)+1)),g+=1,S(),p++,w+=D<2?10:D,D=0;}else break}return {frames:p,seconds:w/100,loops:x}}function cv(d){if(d.frames<2)return false;if(d.loops===0)return true;let f=d.loops===null?1:d.loops+1;return d.seconds*f>5}async function BP(d,f){let g=f.filter(w=>w.type==="animated_gif_no_pause");if(!g.length)return f;let m=Array.from(new Set(g.map(w=>w.selector))),p={};try{p=await d.evaluate(async({sels:w,parserSrc:D})=>{let x=new Function("var __name = function (f) { return f }; return ("+D+")")(),S={};return await Promise.all(w.map(async F=>{S[F]=null;try{let C=document.querySelector(F),y=C&&(C.currentSrc||C.src);if(!y)return;let A=new AbortController,_=setTimeout(()=>A.abort(),5e3);try{let L=await fetch(y,{signal:A.signal,credentials:"same-origin"});if(!L.ok||Number(L.headers.get("content-length")||"0")>2e7)return;S[F]=x(new Uint8Array(await L.arrayBuffer()));}finally{clearTimeout(_);}}catch{}})),S},{sels:m,parserSrc:uv.toString()});}catch{p={};}return f.flatMap(w=>{if(w.type!=="animated_gif_no_pause")return [w];let D=p[w.selector];if(!D)return [{...w,message:`${w.message} \u2014 the GIF file could not be read from the page (cross-origin or blocked), so its frame count and duration were not measured`}];if(!cv(D))return [];let x=D.loops===0?"loops forever":`plays for ${(D.seconds*(D.loops===null?1:D.loops+1)).toFixed(1)}s`;return [{...w,message:`animated GIF (${D.frames} frames, ${x}) starts automatically with no pause control \u2014 replace it with a video that has controls or a static image, or add a pause button (WCAG 2.2.2)`}]})}var fv=xr(()=>{});var nc={};Dr(nc,{scopeIssuesToRoot:()=>HP});async function HP(d,f,g){let m=Array.from(new Set(f.map(w=>w.selector).filter(Boolean))),p;try{p=await d.evaluate(({rootSel:w,sels:D})=>{let x=C=>{try{let A=document.querySelector(C);if(A)return A}catch{}let y=C.replace(/:(?:focus-visible|focus-within|focus|hover|active)$/,"");if(y!==C)try{return document.querySelector(y)}catch{return null}return null},S=null;try{S=document.querySelector(w);}catch{return {invalid:!0,matched:!1,within:{}}}if(!S)return {invalid:!1,matched:!1,within:{}};let F={};for(let C of D){let y=x(C);F[C]=y?y===S||S.contains(y):!0;}return {invalid:!1,matched:!0,within:F}},{rootSel:g,sels:m});}catch{return {issues:f,warning:`scope:evaluate-failed (${g}) \u2014 results unfiltered`}}return p.invalid?{issues:f,warning:`scope:invalid-selector (${g}) \u2014 results unfiltered`}:p.matched?{issues:f.filter(w=>w.selector?p.within[w.selector]===true:true)}:{issues:[],warning:`scope:root-miss (${g} matched nothing \u2014 empty result)`}}var ac=xr(()=>{});var Iu=new Set(["adjacent_redundant_link","missing_button_type","decorative_image_with_title","nested_landmark"]),ni={weak_link_name:"2.4.4",weak_heading:"2.4.6",weak_iframe_title:"4.1.2",weak_page_title:"2.4.2",weak_svg_name:"1.1.1",missing_button_role:"4.1.2",missing_semantic_role:"4.1.2",missing_document_language:"3.1.1",svg_missing_name:"1.1.1",aria_hidden_focusable:"4.1.2",contrast_insufficient:"1.4.3",non_text_contrast_insufficient:"1.4.11",focus_not_visible:"2.4.7",empty_link:"2.4.4",unlabeled_button:"4.1.2",missing_label:"1.3.1",skip_link:"2.4.1",aria_live:"4.1.3",missing_alt:"1.1.1",identify_input_purpose:"1.3.5",redundant_role:"4.1.2",new_window_link:"3.2.5",missing_fieldset_legend:"1.3.1",missing_table_header:"1.3.1",missing_table_caption:"1.3.1",missing_table_scope:"1.3.1",external_link_warning:"3.2.5",download_link_warning:"3.2.5",form_missing_submit:"3.2.2",placeholder_link:"2.4.4",missing_autocomplete:"1.3.5",missing_media_controls:"2.2.2",unsafe_autoplay:"1.4.2",zoom_restriction:"1.4.4",resize_text_clipped:"1.4.4",link_consistency:"3.2.4",keyboard_trap:"2.1.1",keyboard_trap_self_focus:"2.1.2",focus_order_disruption:"2.4.3",missing_captions:"1.2.2",color_only_link:"1.4.1",label_in_name:"2.5.3",onfocus_context_change:"3.2.1",focus_obscured_by_sticky:"2.4.11",text_spacing_blocked:"1.4.12",motion_uncontrollable:"2.2.2",auto_refresh:"2.2.1",motion_without_reduced_motion:"2.3.3",flashing_content:"2.3.1",animated_gif_no_pause:"2.2.2",carousel_autoplay_no_pause:"2.2.2",missing_required_indicator:"3.3.2",background_image_unlabeled:"1.1.1",broken_aria_reference:"4.1.2",main_content_hidden:"4.1.2",meaningful_sequence:"1.3.2",sensory_characteristic:"1.3.3",image_of_text:"1.4.5",reflow_overflow:"1.4.10",missing_audio_description:"1.2.5",missing_transcript:"1.2.1",character_key_shortcut:"2.1.4",on_input_change:"3.2.2",pointer_gesture:"2.5.1",pointer_cancellation:"2.5.2",motion_actuation:"2.5.4",error_prevention_missing:"3.3.4",inconsistent_navigation:"3.2.3",adjacent_redundant_link:"2.4.4",missing_button_type:"3.2.2",decorative_image_with_title:"1.1.1",nested_landmark:"1.3.1"},ai={mobile:{width:375,height:667},tablet:{width:768,height:1024},desktop:{width:1280,height:720}};var hI=()=>{let d="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye]",g=[],m=new Set;function p(x){let S=(x.textContent||"").trim().replace(/\s+/g,""),F=x.querySelector("img, svg, picture")!==null,C=x.querySelector("i[class], span[class]")!==null;if(S.length>0&&!F&&!C)return false;if(F){let y=x.querySelectorAll("img"),A="";y.forEach(I=>{A+=(I.getAttribute("alt")||"").trim();});let _=S.replace(/\s+/g,""),L=A.replace(/\s+/g,"");return _===""||_===L}return false}function w(x){let S=x.nextElementSibling;for(;S;){if(isVisible(S))return S;S=S.nextElementSibling;}return null}return document.querySelectorAll("a[href]").forEach(x=>{if(g.length>=50||x.closest(d)||!isVisible(x)||m.has(x))return;let S=x.getAttribute("href");if(!S||S==="#")return;let F=w(x);if(!F||F.tagName!=="A"||F.getAttribute("href")!==S||m.has(F)||x.getAttribute("aria-hidden")==="true"||F.getAttribute("aria-hidden")==="true")return;let y=p(x),A=p(F);if(!y&&!A)return;let _=y?x:F,L=y?F:x;m.add(_),m.add(L);let I=uniqueSel(_),N=_.outerHTML.slice(0,300),M=(L.textContent||"").trim().slice(0,80);g.push({selector:I,attribute:"aria-hidden",currentValue:"",issueType:"adjacent_redundant_link",wcag:"2.4.4",context:JSON.stringify({href:S,imageLink:true,adjacentLinkText:M,suggestion:'Add aria-hidden="true" and tabindex="-1" to the image-only link'}),needsAI:false,fixValue:"true",outerHtml:N}),g.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:S}),needsAI:false,fixValue:"-1",outerHtml:N});}),g},Th={name:"adjacentLinks",cap:50,async detect(d){return d.evaluate(hI)}};var gI=()=>{let d="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=ae-exclude],[id*=ae_app],[id*=ae_],[class*=EquallyAI]",f='.slick-cloned,.slick-clone,.swiper-slide-duplicate,.owl-item.cloned,[data-slick-index^="-"],[data-swiper-slide-index]:not([data-swiper-slide-index=""])',g=["[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(","),m=new Set(["A","BUTTON","INPUT","SELECT","TEXTAREA"]),p=50,w=[],D=new Set;function x(C){let y=C,A=0;for(;y&&y.nodeType===1&&y!==document.body&&A<20;){try{let _=getComputedStyle(y);if(_.display==="none"||_.visibility==="hidden"||_.visibility==="collapse")return !0}catch{}y=y.parentElement,A++;}return false}function S(C){let y=C.tagName,A=C.getAttribute("tabindex");if(A!==null){let _=parseInt(A,10);if(!isNaN(_)&&_>=0)return true;if(!isNaN(_)&&_<0)return false}return m.has(y)?!(y==="A"&&!C.hasAttribute("href")||C.hasAttribute("disabled")):false}return document.querySelectorAll('[aria-hidden="true"]').forEach(C=>{if(w.length>=p||C.closest(d)||C.closest(f)||C.closest(g)||C.matches(g))return;let y=[];if(S(C)&&y.push(C),C.querySelectorAll("a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]").forEach(_=>{S(_)&&y.push(_);}),y.length!==0)for(let _ of y){if(w.length>=p)return;let L=uniqueSel(_),I=L+"\0tabindex";if(D.has(I))continue;D.add(I);let N=x(_),M=!N;w.push({selector:L,attribute:"tabindex",currentValue:_.getAttribute("tabindex")||"",issueType:"aria_hidden_focusable",wcag:"4.1.2",context:JSON.stringify({tag:_.tagName.toLowerCase(),parentHidden:C.tagName.toLowerCase(),collapsed:N,suggestion:N?"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",...N?{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:(_.outerHTML||"").slice(0,300)});}}),w},Rh={name:"ariaHiddenFocusable",cap:50,async detect(d){return d.evaluate(gI)}};var vI=()=>{let d="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",g=[],m=new Set,p=[/\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 w(D){if((D.textContent||"").trim())return false;if(typeof D.checkVisibility=="function")return D.checkVisibility({visibilityProperty:true});for(let x=D;x&&x.nodeType===1;x=x.parentElement)if(getComputedStyle(x).display==="none")return false;return getComputedStyle(D).visibility!=="hidden"}for(let D of p){if(g.length>=50)break;let x=document.querySelectorAll("*");for(let S of x){if(g.length>=50)break;if(m.has(S)||S.closest(d))continue;let F=S.className&&typeof S.className=="string"?S.className:"",C=S.getAttribute("id")||"";if(!D.test(F)&&!D.test(C)||S.getAttribute("aria-live"))continue;let y=S.getAttribute("role")||"";if(["alert","status","log","timer","marquee"].includes(y)||!w(S))continue;m.add(S);let A=uniqueSel(S),_=D.test(F)?"class":"id",L=_==="class"?F.slice(0,60):C;g.push({selector:A,attribute:"aria-live",currentValue:"",issueType:"aria_live",wcag:"4.1.3",context:_+": "+L+" | pattern: "+D.source,needsAI:false,fixValue:"polite"});}}return g},Fh={name:"ariaLive",cap:50,async detect(d){return d.evaluate(vI)}};var bI=()=>{let d="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=ae-exclude],[id*=ae_app],[id*=ae_],[class*=EquallyAI]",g=[],m=new Set,p=["aria-labelledby","aria-describedby"];return document.querySelectorAll("[aria-labelledby],[aria-describedby]").forEach(x=>{if(!(g.length>=50)&&!x.closest(d)&&isVisible(x)&&!isHiddenFromAT(x)&&!x.getAttribute("aria-live")&&!x.closest("[aria-live]")&&!x.closest("template"))for(let S of p){let F=x.getAttribute(S);if(!F||!F.trim())continue;let C=F.trim().split(/\s+/).filter(q=>q.length>0);if(C.length===0||!C.every(q=>!document.getElementById(q)))continue;let A=x.getAttribute("aria-label");if(A&&A.trim())continue;let _=getAccessibleName(x);if(_&&_.trim())continue;let L=uniqueSel(x),I=L+"\0"+S;if(m.has(I))continue;m.add(I);let{nearbyHeading:N,parentTag:M,parentRole:V}=getNearbyContext(x);g.push({selector:L,attribute:"aria-label",currentValue:"",issueType:"broken_aria_reference",wcag:"4.1.2",context:JSON.stringify({tag:x.tagName.toLowerCase(),brokenAttr:S,brokenIds:C,nearbyHeading:N,parentTag:M,parentRole:V,suggestion:`All IDs in ${S}="${F}" are missing from the DOM. Element has no accessible name. Generate an aria-label.`}),needsAI:true,outerHtml:(x.outerHTML||"").slice(0,300)});}}),g},Ih={name:"brokenAriaReferences",cap:50,async detect(d){return d.evaluate(bI)}};var yI=()=>{let f=[],g=["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"],m=document.querySelectorAll("button");for(let p of m){if(f.length>=50)break;let w=p;if(isWidget(w)||w.hasAttribute("type")||!w.closest("form"))continue;let D=(w.textContent||"").trim().slice(0,60),x=(w.getAttribute("aria-label")||"").trim().slice(0,60),S=D||x||"(no label)",F=S.toLowerCase();g.some(y=>F.includes(y))||f.push({selector:uniqueSel(w),attribute:"type",currentValue:"",issueType:"missing_button_type",wcag:"3.2.2",context:"button inside <form> missing type attribute \u2014 defaults to submit | label: "+S,needsAI:false,fixValue:"button",outerHtml:(w.outerHTML||"").slice(0,300)});}return f},Lh={name:"buttonType",cap:50,async detect(d){return d.evaluate(yI)}};var wI=()=>{let f=[],g=document.querySelectorAll("video, audio");for(let m of Array.from(g)){if(f.length>=20)break;if(isWidget(m)||typeof isVisible=="function"&&!isVisible(m)||m.error)continue;let p=m.tagName==="VIDEO";if(p){let I=m.hasAttribute("muted")||m.muted,N=m.hasAttribute("controls"),M=m.hasAttribute("loop")||m.loop,V=/mute|unmute|sound|volume|audio|play|pause/i,q=!!m.parentElement?.querySelector('button, [role="button"]')||!!m.getAttribute("id")&&!!document.querySelector('[aria-controls~="'+(m.getAttribute("id")||"").replace(/"/g,"")+'"]');for(let U=m.parentElement?.parentElement||null,Q=0;U&&!q&&Q<3;U=U.parentElement,Q++)q=Array.from(U.querySelectorAll('button, [role="button"]')).some(k=>V.test((k.getAttribute("aria-label")||"")+" "+(k.getAttribute("title")||"")+" "+(k.textContent||"")));if(I&&M&&!N&&!q)continue}let w=m.querySelectorAll("track"),D=false;for(let I of Array.from(w)){let N=(I.getAttribute("kind")||"").toLowerCase();if(N==="captions"||N==="subtitles"){D=true;break}}if(D)continue;let x=m.currentSrc||m.getAttribute("src")||"";if(x||(x=m.querySelector("source")?.getAttribute("src")||""),!x)continue;let S=x.toLowerCase();if(S.startsWith("blob:")||S.startsWith("data:")||S.startsWith("about:")||S.startsWith("javascript:")||S.endsWith(".m3u8")||S.includes(".m3u8?")||S.endsWith(".mpd")||S.includes(".mpd?"))continue;let F=x;try{F=new URL(x,location.href).toString();}catch{continue}let C=typeof uniqueSel=="function"?uniqueSel(m):"",y=m.getAttribute("title")||m.getAttribute("aria-label")||"",A=typeof getNearbyContext=="function"?getNearbyContext(m):{parentTag:m.tagName.toLowerCase(),nearbyHeading:""},_=[];_.push("media: "+m.tagName.toLowerCase()),_.push("src: "+F.slice(0,200)),y&&_.push("title: "+y.slice(0,80)),A.nearbyHeading&&_.push("heading: "+A.nearbyHeading),_.push("parent: "+A.parentTag);let L=p;f.push({selector:C,attribute:"data-needs-captions",currentValue:"",issueType:"missing_captions",wcag:"1.2.2",context:_.join(" | "),needsAI:true,...L?{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:F,outerHtml:(m.outerHTML||"").slice(0,300)});}return f},Ph={name:"captions",cap:20,async detect(d){return d.evaluate(wI)}};var xI=()=>{let d="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",g=[],m="p, li, blockquote, article, section, main, div",p=document.querySelectorAll("a[href]"),w=new Map;for(let D of Array.from(p)){if(g.length>=40)break;if(D.closest(d)||D.closest('nav, header, footer, aside, [role="navigation"], [role="banner"], [role="contentinfo"]')||typeof isVisible=="function"&&!isVisible(D))continue;let x=D.closest(m);if(!x)continue;let S=(D.textContent||"").trim();if(!S)continue;let F=w.get(x);if(F===void 0){F=0;let U=document.createTreeWalker(x,NodeFilter.SHOW_TEXT),Q;for(;Q=U.nextNode();){let k=Q.parentElement;!k||k.closest("a")||k.closest(m)===x&&(typeof isVisible=="function"&&!isVisible(k)||(F+=(Q.textContent||"").trim().length));}w.set(x,F);}if(F<20||D.querySelector("img, svg, [class*=icon], [class*=arrow]"))continue;let C=getComputedStyle(D),y=getComputedStyle(x);if((C.textDecorationLine||C.textDecoration||"").includes("underline")||(()=>{let U=document.createTreeWalker(D,NodeFilter.SHOW_TEXT),Q,k=false;for(;Q=U.nextNode();){if(!/[\p{L}\p{N}]/u.test(Q.textContent||""))continue;k=true;let v=false;for(let T=Q.parentElement;T&&T!==D;T=T.parentElement){let P=getComputedStyle(T),H=(P.textDecorationColor||"").replace(/\s/g,"");if((P.textDecorationLine||"").includes("underline")&&H!=="transparent"&&!/^rgba\([^)]*,0(?:\.0+)?\)$/.test(H)){v=true;break}let j=(P.borderBottomColor||"").replace(/\s/g,""),G=j==="transparent"||/^rgba\([^)]*,0(?:\.0+)?\)$/.test(j);if((P.borderBottomStyle||"none")!=="none"&&parseFloat(P.borderBottomWidth||"0")>0&&!G){v=true;break}}if(!v)return false}return k})())continue;let L=parseInt(C.fontWeight||"400",10),I=parseInt(y.fontWeight||"400",10);if(Number.isFinite(L)&&Number.isFinite(I)&&L-I>=300||(C.borderBottomStyle||"none")!=="none"&&(C.borderBottomWidth||"0px")!=="0px"||C.color===y.color)continue;let M=typeof uniqueSel=="function"?uniqueSel(D):"",V=typeof getNearbyContext=="function"?getNearbyContext(D):{parentTag:D.tagName.toLowerCase(),nearbyHeading:""},q=[];q.push("link: "+S.slice(0,40)),q.push("color: "+C.color),q.push("parent-color: "+y.color),V.nearbyHeading&&q.push("heading: "+V.nearbyHeading),q.push("parent: "+V.parentTag),g.push({selector:M,attribute:"style",currentValue:C.textDecoration||"",issueType:"color_only_link",wcag:"1.4.1",context:q.join(" | "),needsAI:false,fixValue:"text-decoration: underline !important;",outerHtml:(D.outerHTML||"").slice(0,300)});}return g},Mh={name:"colorOnly",cap:40,async detect(d){return d.evaluate(xI)}};var DI=()=>{let f=[],g=M=>typeof parseCssColor=="function"?parseCssColor(M):null,m=(M,V,q)=>typeof relLuminance=="function"?relLuminance(M,V,q):0,p=(M,V)=>typeof contrastRatio=="function"?contrastRatio(M,V):1;function w(M){let V=String(M.backgroundImage||"none");if(V==="none")return false;if(/gradient\(/i.test(V))return true;if(!/url\(/i.test(V))return false;let q=String(M.backgroundRepeat||"").toLowerCase(),U=String(M.backgroundSize||"").toLowerCase(),Q=q.split(",").map(v=>v.trim()).some(v=>v!==""&&v!=="no-repeat"),k=/cover|contain|100%/.test(U);return Q||k}function D(M){let V=document.documentElement,q=[0,0,0],U=0,Q=()=>U>=1-1e-9,k=()=>[Math.round(Math.min(255,q[0]/U)),Math.round(Math.min(255,q[1]/U)),Math.round(Math.min(255,q[2]/U))],v=G=>{if(w(G))return false;let K=g(G.backgroundColor||"");if(!K)return true;let Z=Math.max(0,Math.min(1,K[3]));if(Z<=0)return true;let ae=Z*(1-U);return q[0]+=K[0]*ae,q[1]+=K[1]*ae,q[2]+=K[2]*ae,U+=ae,true},T=M,P=0;for(;T&&T!==V&&P<12;){if(!v(getComputedStyle(T)))return null;if(Q())return k();T=T.parentElement,P++;}let H=document.body;if(T&&T!==V&&H&&H.contains(T)){if(!v(getComputedStyle(H)))return null;if(Q())return k()}if(!v(getComputedStyle(V)))return null;let j=1-U;return j>0&&(q[0]+=255*j,q[1]+=255*j,q[2]+=255*j,U=1),k()}function x(M,V,q){return "#"+[M,V,q].map(U=>{let Q=Math.max(0,Math.min(255,Math.round(U))).toString(16);return Q.length===1?"0"+Q:Q}).join("")}let S=.1;function F(M,V,q){let U=m(V[0],V[1],V[2])>.5;for(let Q of [q+S,q]){let k=C(M,V,Q,U)||C(M,V,Q,!U);if(k)return k}return null}function C(M,V,q,U){let Q=0,k=1,v=null;for(let T=0;T<20;T++){let P=(Q+k)/2,H=U?[M[0]*(1-P),M[1]*(1-P),M[2]*(1-P)]:[M[0]+(255-M[0])*P,M[1]+(255-M[1])*P,M[2]+(255-M[2])*P],j=[Math.round(H[0]),Math.round(H[1]),Math.round(H[2])];p(j,V)>=q?(v=j,k=P):Q=P;}return v}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 A(M){if(M.closest("button:disabled, input:disabled, select:disabled, textarea:disabled, optgroup:disabled, option:disabled"))return true;for(let q=M;q&&q.nodeType===1;q=q.parentElement){if(q.getAttribute("aria-disabled")!=="true")continue;let U=(q.getAttribute("role")||"").trim().toLowerCase().split(/\s+/)[0];if(U&&y.has(U))return true}let V=M.closest("label");if(V){let q=V.control;if(q&&(q.disabled||q.getAttribute("aria-disabled")==="true"))return true}return false}let _=document.createTreeWalker(document.body,4),L=new Set,I=[],N=_.nextNode();for(;N;){if((N.textContent||"").trim().length>=2){let V=N.parentElement;V&&!L.has(V)&&(L.add(V),I.push(V));}N=_.nextNode();}for(let M of I){if(f.length>=30)break;if(isWidget(M)||isHiddenFromAT(M)||!isVisible(M)||A(M))continue;let V=getComputedStyle(M),q=g(V.color||"");if(!q)continue;if(q[3]<.5){let ce=V.webkitBackgroundClip||V.backgroundClip||"",ke=V.backgroundImage||"";if(String(ce).includes("text")&&/gradient\(/i.test(ke)){let he=Array.from(M.childNodes).filter(Te=>Te.nodeType===3).map(Te=>(Te.textContent||"").trim()).join("");he&&f.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(he.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 U=D(M),Q=parseFloat(V.fontSize||"16"),k=parseInt(V.fontWeight||"400",10),T=Q>=24||Q>=18.66&&k>=700?3:4.5,P=Array.from(M.childNodes).filter(ce=>ce.nodeType===3).map(ce=>(ce.textContent||"").trim()).join("");if(!P)continue;let H=x(q[0],q[1],q[2]),j=uniqueSel(M);if(U===null){f.push({selector:j,attribute:"style",currentValue:H,message:"contrast: text "+H+" on a gradient or image background \u2014 the ratio cannot be computed from CSS; check it meets "+T+":1 where the background is lightest/darkest",issueType:"contrast_insufficient",wcag:"1.4.3",context:"fg="+H+" bg=<gradient-or-image> needs="+T+" text="+JSON.stringify(P.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 G=p([q[0],q[1],q[2]],U);if(G>=T)continue;let K=F([q[0],q[1],q[2]],U,T);if(!K)continue;let Z=x(K[0],K[1],K[2]),ae=x(U[0],U[1],U[2]),ee="color:"+Z+" !important;";f.push({selector:j,attribute:"style",currentValue:H,message:"contrast: "+H+" on "+ae+" is "+G.toFixed(2)+":1, needs "+T+":1 \u2014 e.g. color "+Z,issueType:"contrast_insufficient",wcag:"1.4.3",context:"fg="+H+" bg="+ae+" ratio="+G.toFixed(2)+" needs="+T+" text="+JSON.stringify(P.slice(0,40)),needsAI:false,fixValue:ee,outerHtml:M.outerHTML.slice(0,200)});}return f},Oh={name:"contrast",cap:30,async detect(d){return d.evaluate(DI)}};var _I=()=>{let d="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye]",g=[],m=document.querySelectorAll("marquee, blink");for(let S of Array.from(m)){if(g.length>=30)break;if(S.closest(d))continue;let F=typeof uniqueSel=="function"?uniqueSel(S):S.tagName.toLowerCase();g.push({selector:F,attribute:"aria-hidden",currentValue:S.getAttribute("aria-hidden")||"",issueType:"motion_uncontrollable",wcag:"2.2.2",context:`deprecated ${S.tagName.toLowerCase()} element \u2014 uncontrollable motion`,needsAI:false,manualFix:true,fixValue:"true",outerHtml:(S.outerHTML||"").slice(0,300)});}let p=document.querySelectorAll('img[src*=".gif" i], img[src$=".gif" i]');for(let S of Array.from(p)){if(g.length>=30)break;if(S.closest(d))continue;let F=S.getAttribute("src")||"";if(!/\.gif(\?|#|$)/i.test(F)||typeof isVisible=="function"&&!isVisible(S))continue;let C=S.getBoundingClientRect();if(C.width<=40&&C.height<=40)continue;let y=typeof uniqueSel=="function"?uniqueSel(S):"img";g.push({selector:y,attribute:"data-asw-motion-review",currentValue:"",issueType:"animated_gif_no_pause",wcag:"2.2.2",context:`animated GIF without pause control: ${F.split("/").pop()?.slice(0,60)||F.slice(-60)}`,needsAI:true,outerHtml:(S.outerHTML||"").slice(0,300)});}let w=document.querySelectorAll('meta[http-equiv="refresh"], meta[http-equiv="Refresh"], meta[http-equiv="REFRESH"]');for(let S of Array.from(w)){if(g.length>=30)break;let F=(S.getAttribute("content")||"").trim(),C=parseInt((F.split(/[;,]/)[0]||"").trim(),10);!Number.isFinite(C)||C<=0||g.push({selector:`meta[http-equiv="refresh"][content*="${F.slice(0,20)}"]`,attribute:"data-auto-refresh",currentValue:F,issueType:"auto_refresh",wcag:"2.2.1",context:`auto-refresh every ${C}s \u2014 interrupts screen reader users mid-sentence (WCAG 2.2.1)`,needsAI:false,manualFix:true,outerHtml:(S.outerHTML||"").slice(0,200)});}try{let S=!1,F=!1;for(let C of Array.from(document.styleSheets)){let y=null;try{y=C.cssRules;}catch{continue}if(y)for(let A of Array.from(y)){let _=A.cssText||"";if(/animation[^;]*\binfinite\b/i.test(_)&&/(keyframes|animation-name)/i.test(_+" "+(A.name||""))&&(S=!0),/prefers-reduced-motion[^{]*\(\s*reduce\s*\)/i.test(_)&&(F=!0),A.cssRules)for(let L of Array.from(A.cssRules)){let I=L.cssText||"";/animation[^;]*\binfinite\b/i.test(I)&&(S=!0);}}}S&&!F&&g.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 D=/\b(flash(ing)?|blink(ing)?|strobe)\b/i,x=document.querySelectorAll('[class*="flash" i], [class*="blink" i], [class*="strobe" i]');for(let S of Array.from(x)){if(g.length>=30)break;if(S.closest(d)||S.tagName==="BODY"||S.tagName==="HTML")continue;let F=S.className&&typeof S.className=="string"?S.className:"";if(!D.test(F)||typeof isVisible=="function"&&!isVisible(S))continue;let y=getComputedStyle(S).animationDuration,A=9999;if(y){let L=parseFloat(y);Number.isFinite(L)&&(A=/ms/i.test(y)?L:L*1e3);}if(A>333)continue;let _=typeof uniqueSel=="function"?uniqueSel(S):"";g.push({selector:_,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:(S.outerHTML||"").slice(0,300)});}return g},Nh={name:"cssAnimations",cap:30,async detect(d){return d.evaluate(_I)}};var AI=()=>{let f=[];function g(D){let x=(D.getAttribute("role")||"").toLowerCase();return x==="presentation"||x==="none"||(D.getAttribute("class")||"").toLowerCase().indexOf("layout")!==-1}function m(D){if(!D)return 0;let x=D.querySelectorAll("th, td"),S=0;for(let F=0;F<x.length;F++){let C=parseInt(x[F].getAttribute("colspan")||"1",10);S+=isNaN(C)||C<1?1:C;}return S}function p(D){let x=D.querySelectorAll("tr"),S=[];for(let F=0;F<x.length;F++){let C=x[F];C.closest("table")===D&&S.push(C);}return S}let w=document.querySelectorAll("table");for(let D=0;D<w.length&&!(f.length>=30);D++){let x=w[D];if(isWidget(x)||!isVisible(x)||g(x))continue;let S=p(x);if(S.length<=1)continue;let F=S[0],C=m(F);if(C<=1)continue;let y=uniqueSel(x),A=getNearbyContext(x),_=x.querySelectorAll("img, svg, picture").length>=2;if(_&&!(x.textContent||"").trim()){if(x.querySelector("input, select, textarea, button")&&(_=false),_&&x.querySelector("th, thead, caption, [scope], [headers]")&&(_=false),_){let v=Array.from(x.querySelectorAll("img")).map(T=>(T.getAttribute("alt")||"").trim().toLowerCase()).filter(Boolean);new Set(v).size<v.length&&(_=false);}}else if(_){let v=x.querySelectorAll("td, th"),T=0;for(let P=0;P<v.length&&_;P++){let H=v[P];if(H.closest("table")!==x)continue;let j=(H.textContent||"").trim(),G=!!H.querySelector("img, svg, picture");if(!j&&!G)continue;T++;let K=H.querySelectorAll("a[href]");_=H.tagName==="TD"&&K.length===1&&G&&(K[0].textContent||"").trim()===j;}T<2&&(_=false);}if(_){f.push({selector:y,attribute:"role",currentValue:x.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:S.length,cols:C,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:(x.outerHTML||"").slice(0,300)});continue}let L=null,I=x.querySelectorAll("thead");for(let v=0;v<I.length;v++)if(I[v].closest("table")===x){L=I[v];break}let N=L&&L.querySelector("tr")!==null,M=false;for(let v=0;v<S.length&&!M;v++){let T=S[v].children;for(let P=0;P<T.length&&!M;P++){let H=T[P],j=(H.tagName||"").toLowerCase();if(j!=="td"&&j!=="th")continue;if(j==="th"){M=true;break}let G=(H.getAttribute("headers")||"").trim();if(!G)continue;let K=G.split(/\s+/);for(let Z=0;Z<K.length;Z++){let ae=document.getElementById(K[Z]);if(ae&&(ae.tagName||"").toLowerCase()==="th"&&ae.closest("table")===x){M=true;break}}}}if(!N&&!M&&f.length<30&&f.push({selector:y,attribute:"thead",currentValue:L?"empty":"",issueType:"missing_table_header",wcag:"1.3.1",context:JSON.stringify({reason:L?"<thead> has no <tr>":"no <thead> element",rows:S.length,cols:C,nearbyHeading:A.nearbyHeading}),needsAI:false,fixValue:"wrap-first-row",outerHtml:(x.outerHTML||"").slice(0,300)}),C>2){let v=F.querySelectorAll("th, td"),T=v.length>0;for(let P=0;P<v.length;P++)if((v[P].tagName||"").toLowerCase()!=="td"){T=false;break}if(T)for(let P=0;P<v.length&&!(f.length>=30);P++){let H=v[P],j=uniqueSel(H),G=(H.textContent||"").trim().slice(0,60);f.push({selector:j,attribute:"role",currentValue:H.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:G,colIndex:P,nearbyHeading:A.nearbyHeading}),needsAI:false,fixValue:"columnheader",outerHtml:(H.outerHTML||"").slice(0,300)});}}let V=[],q=[],U=new Map;for(let v=0;v<S.length;v++){let T=S[v],P=0;for(let H=0;H<T.children.length;H++){let j=T.children[H],G=(j.tagName||"").toLowerCase();if(G!=="td"&&G!=="th")continue;for(;V.some(ee=>ee.lane===P&&ee.untilRow>v);)P++;let K=parseInt(j.getAttribute("colspan")||"1",10);(isNaN(K)||K<1)&&(K=1);let Z={rowIdx:v,lane:P,span:K,headers:(j.getAttribute("headers")||"").trim()};G==="td"?q.push(Z):U.set(j,Z);let ae=parseInt(j.getAttribute("rowspan")||"1",10)||1;if(ae>1)for(let ee=0;ee<K;ee++)V.push({lane:P+ee,untilRow:v+ae});P+=K;}}let Q=(v,T)=>T.lane<v.lane+v.span&&T.lane+T.span>v.lane,k=x.querySelectorAll("th");for(let v=0;v<k.length&&!(f.length>=30);v++){let T=k[v];if(T.closest("table")!==x)continue;let P=(T.getAttribute("scope")||"").trim().toLowerCase();if(P==="col"||P==="row"||P==="colgroup"||P==="rowgroup")continue;let H=false;if((T.getAttribute("headers")||"").trim())H=true;else {let he=(T.getAttribute("id")||"").trim();if(he)for(let Te=0;Te<q.length;Te++){let Ge=q[Te].headers;if(Ge&&Ge.split(/\s+/).indexOf(he)!==-1){H=true;break}}}if(H)continue;let j=T.closest("tr"),G=T.closest("thead")!==null,K=false;j&&S.length>0&&S[0]===j&&(K=true);let Z=false;if(j){let he=j.querySelectorAll("th, td");he.length>0&&he[0]===T&&(Z=true);}let ae="col";G||K?ae="col":Z&&(ae="row");let ee=U.get(T);if(!H&&ee){if(ae==="row")H=q.some(he=>he.rowIdx===ee.rowIdx&&!he.headers&&he.lane>=ee.lane+ee.span);else if(H=q.some(he=>he.rowIdx>ee.rowIdx&&!he.headers&&Q(ee,he)),!H)for(let he=0;he<k.length;he++){let Te=U.get(k[he]);if(!Te||Te.rowIdx<=ee.rowIdx||!Q(ee,Te))continue;let Ge=S[Te.rowIdx],Be=Ge?Ge.children:[];if(Be.length>0&&Be[0]===k[he]&&k[he].closest("table")===x){H=true;break}}}if(H)continue;let ce=uniqueSel(T),ke=(T.textContent||"").trim().slice(0,60);f.push({selector:ce,attribute:"scope",currentValue:P,issueType:"missing_table_scope",wcag:"1.3.1",context:JSON.stringify({reason:"<th> missing scope attribute",inferred:ae,inThead:G,firstRow:K,firstCol:Z,headerText:ke}),needsAI:false,fixValue:ae,outerHtml:(T.outerHTML||"").slice(0,300)});}}return f},qh={name:"dataTables",cap:30,async detect(d){return d.evaluate(AI)}};var EI=()=>{let f=[];for(let g of document.querySelectorAll("img[alt]")){if(f.length>=30)break;let m=g;if((m.getAttribute("alt")||"").trim()!=="")continue;let p=(m.getAttribute("title")||"").trim().replace(/\s+/g," ");if(!p||isWidget(m))continue;let w=(m.getAttribute("role")||"").toLowerCase();w==="presentation"||w==="none"||m.getAttribute("aria-hidden")==="true"||m.closest('[aria-hidden="true"]')||(m.getAttribute("aria-label")||"").trim()||(m.getAttribute("aria-labelledby")||"").trim()||isVisible(m)&&f.push({selector:uniqueSel(m),attribute:"data-asw-decorative-title",currentValue:"",issueType:"decorative_image_with_title",wcag:"1.1.1",context:'image with alt="" also has title="'+p.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 "'+p.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:(m.outerHTML||"").slice(0,300)});}return f},Bh={name:"decorativeImageTitle",cap:30,async detect(d){return d.evaluate(EI)}};var CI=()=>{let d="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",f=/^[^\p{L}\p{N}\s]*$/u,g=/^[\s\u00A0\u2000-\u200F\u2028-\u202F]*$/,p=[],w=document.querySelectorAll("a");for(let D of w){if(p.length>=50)break;if(D.closest(d)||D.getAttribute("aria-hidden")==="true"||D.getAttribute("role")==="presentation"||D.closest('[aria-hidden="true"]')||!isVisible(D))continue;let x=getAccessibleName(D);if(x&&x.length>0&&!g.test(x)&&!f.test(x))continue;let S=D.querySelectorAll("img[alt]"),F="";for(let U of S){let Q=(U.getAttribute("alt")||"").trim();Q&&(F+=Q+" ");}if(F.trim())continue;let C=D.getAttribute("aria-labelledby");if(C&&typeof __resolveIdRefs=="function"&&__resolveIdRefs(C))continue;let y=uniqueSel(D),A=D.getAttribute("href")||"",_=(D.textContent||"").trim(),L=getNearbyContext(D),I="";_&&g.test(_)?I="[whitespace only]":_&&f.test(_)&&(I=_);let N="",M=true;if(A&&A!=="#"&&!A.startsWith("javascript:")){if(A.startsWith("mailto:")){let U=A.slice(7).split("?")[0];U&&U.includes("@")&&(N="Email "+U,M=false);}else if(A.startsWith("tel:")){let U=A.slice(4);try{U=decodeURIComponent(U);}catch{}U=U.replace(/^\+/,"").trim(),U&&(N="Call "+U,M=false);}}let V=[];D.closest("nav")&&V.push("inside nav"),L.nearbyHeading&&V.push("heading: "+L.nearbyHeading),A&&V.push("href: "+A.slice(0,120)),V.push("parent: "+L.parentTag);let q={selector:y,attribute:"aria-label",currentValue:I,issueType:"empty_link",wcag:"2.4.4",context:V.join(" | "),needsAI:M,outerHtml:D.outerHTML.slice(0,300)};!M&&N&&(q.fixValue=N),p.push(q);}return p},Hh={name:"emptyLinks",cap:50,async detect(d){return d.evaluate(CI)}};var SI=()=>{let f=[],g=new Set;function m(C){return (C||"").trim()}function p(C){let y=m(C.getAttribute("aria-label")||"");if(y)return y;let A=C.getAttribute("aria-labelledby");if(A){let L=A.split(/\s+/),I="";for(let N=0;N<L.length;N++){let M=document.getElementById(L[N]);M&&(I+=" "+(M.textContent||""));}if(m(I))return m(I)}let _=m(C.getAttribute("title")||"");return _||""}let w=document.querySelectorAll("fieldset");for(let C=0;C<w.length&&!(f.length>=30);C++){let y=w[C];if(isWidget(y)||!isVisible(y)||isHiddenFromAT(y))continue;if(p(y)){g.add(y);continue}let A=null,_=y.querySelectorAll("legend");for(let q=0;q<_.length;q++)if(_[q].closest("fieldset")===y){A=_[q];break}let L=A!==null,I=A?m(A.textContent||""):"";if(L&&I){g.add(y);continue}let N=getNearbyContext(y),M=y.querySelectorAll("input, select, textarea"),V=uniqueSel(y);f.push({selector:V,attribute:"aria-label",currentValue:"",issueType:"missing_fieldset_legend",wcag:"1.3.1",context:JSON.stringify({reason:L?"fieldset has empty <legend>":"fieldset missing <legend>",controlCount:M.length,nearbyHeading:N.nearbyHeading,parentTag:N.parentTag}),needsAI:true,outerHtml:(y.outerHTML||"").slice(0,300)}),g.add(y);}let D=document.querySelectorAll('[role="group"], [role="radiogroup"]');for(let C=0;C<D.length&&!(f.length>=30);C++){let y=D[C];if(isWidget(y)||!isVisible(y)||isHiddenFromAT(y)||g.has(y))continue;if(p(y)){g.add(y);continue}let A=y.getAttribute("role")||"",_=getNearbyContext(y),L=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 I=uniqueSel(y);f.push({selector:I,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:L.length,nearbyHeading:_.nearbyHeading,parentTag:_.parentTag}),needsAI:true,outerHtml:(y.outerHTML||"").slice(0,300)}),g.add(y);}let x={},S=document.querySelectorAll('input[type="radio"], input[type="checkbox"]');for(let C=0;C<S.length;C++){let y=S[C];if(isWidget(y)||!isVisible(y)||isHiddenFromAT(y))continue;let A=y.getAttribute("name")||"";if(!A)continue;let _=y.closest("form"),L=_?_.getAttribute("id")||_.getAttribute("action")||_.tagName:"no-form",I=(y.getAttribute("type")||"").toLowerCase(),N=L+"::"+I+"::"+A;x[N]||(x[N]=[]),x[N].push(y);}let F=Object.keys(x);for(let C=0;C<F.length&&!(f.length>=30);C++){let y=x[F[C]];if(y.length<3)continue;let A=y[0],_=A.closest('fieldset, [role="group"], [role="radiogroup"]'),L=false;if(_){L=true;for(let U=1;U<y.length;U++)if(!_.contains(y[U])){L=false;break}}if(L&&_)continue;let I=A.parentElement;for(;I&&I!==document.body;){let U=true;for(let Q=1;Q<y.length;Q++)if(!I.contains(y[Q])){U=false;break}if(U)break;I=I.parentElement;}if(!I||I===document.body||g.has(I))continue;let N=(A.getAttribute("type")||"").toLowerCase(),M=A.getAttribute("name")||"",V=getNearbyContext(A),q=uniqueSel(I);f.push({selector:q,attribute:"role",currentValue:I.getAttribute("role")||"",issueType:"missing_fieldset_legend",wcag:"1.3.1",context:JSON.stringify({reason:"unwrapped "+N+" group ("+y.length+' inputs share name="'+M+'")',inputType:N,inputCount:y.length,name:M,nearbyHeading:V.nearbyHeading,parentTag:V.parentTag}),needsAI:false,fixValue:N==="radio"?"radiogroup":"group",outerHtml:(I.outerHTML||"").slice(0,300)}),g.add(I);}return f},Vh={name:"fieldsetLegend",cap:30,async detect(d){return d.evaluate(SI)}};var kI=()=>{let d=[],f=document.querySelectorAll('header, nav, div, [class*="header"], [class*="navbar"], [class*="sticky"], [role="banner"]'),g=0;for(let m of Array.from(f)){let p=getComputedStyle(m);if(p.display==="none"||p.visibility==="hidden"||p.position!=="sticky"&&p.position!=="fixed")continue;let w=m.getBoundingClientRect();if(w.top>50||w.bottom<=0)continue;let D=Math.round(w.height);D<40||D>240||D>g&&(g=D);}if(g>0){let m=window.scrollX,p=window.scrollY,w=0,D=0;try{let S=[],F=new Set;document.querySelectorAll('a[href^="#"]').forEach(C=>{let y=C.getAttribute("href").slice(1);if(!y)return;let A=document.getElementById(y);A&&!F.has(A)&&(F.add(A),S.push(A));});for(let C of S){if(D>=8)break;let y=getComputedStyle(C);if(y.display==="none"||y.visibility==="hidden")continue;D++,C.scrollIntoView({block:"start"});let A=C.getBoundingClientRect(),_=Math.max(A.height,1);Math.max(0,Math.min(A.bottom,g)-Math.max(A.top,0))/Math.min(_,g)>=.5&&w++;}}catch{}try{window.scrollTo(m,p);}catch{}let x=`scroll-margin-top: ${g+8}px; scroll-padding-top: ${g+8}px;`;D>0&&w>0?d.push({selector:"html",attribute:"style",currentValue:"",issueType:"focus_obscured_by_sticky",wcag:"2.4.11",context:`sticky header height: ${g}px \u2014 ${w}/${D} in-page anchor targets land under it on jump`,needsAI:false,fixValue:x}):D===0&&d.push({selector:"html",attribute:"style",currentValue:"",issueType:"focus_obscured_by_sticky",wcag:"2.4.11",context:`sticky header height: ${g}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:x});}return d},$h={name:"focusObscured",async detect(d){return d.evaluate(kI)}};var jh={name:"focusVisible",cap:40,async detect(d){let f=typeof d.keyboard?.press=="function";try{await d.evaluate(()=>{let g=document.activeElement;window[Symbol.for("wa.prevFocus")]=g&&g!==document.body&&g!==document.documentElement?g:null,window[Symbol.for("wa.prevScroll")]=[window.scrollX,window.scrollY];let m=getSelection();window[Symbol.for("wa.prevSelection")]=m?Array.from({length:m.rangeCount},(p,w)=>m.getRangeAt(w).cloneRange()):[];});}catch{}if(f)try{await d.keyboard.press("Tab");}catch{}return d.evaluate(g=>{let p=[],w=["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 D=document.querySelectorAll(w),x=Symbol.for("wa.prevFocus"),S=window[x]??null;try{delete window[x];}catch{}for(let F of D){if(p.length>=40)break;if(typeof isWidget=="function"&&isWidget(F)||typeof isHiddenFromAT=="function"&&isHiddenFromAT(F)||typeof isVisible=="function"&&!isVisible(F)||!F.offsetParent&&F.tagName!=="BODY")continue;let C=getComputedStyle(F),y=C.outline,A=C.outlineWidth,_=C.outlineStyle,L=C.boxShadow,I=C.border,N=C.backgroundColor;try{F.focus({preventScroll:!0});}catch{continue}if(document.activeElement!==F)continue;let M=getComputedStyle(F),V=M.outline,q=(M.outlineStyle||"").toLowerCase(),U=parseFloat(M.outlineWidth||"0"),Q=M.boxShadow,k=M.border,v=M.backgroundColor,T=V!==y,P=q!=="none"&&q!=="hidden"&&U>0;if(T&&P||Q!==L&&Q!=="none"&&Q!==""||k!==I||v!==N||parseFloat(A)>0&&_!=="none")continue;let Z=typeof uniqueSel=="function"?uniqueSel(F):F.tagName.toLowerCase();p.push({selector:Z,pseudo:":focus-visible",attribute:"style",currentValue:_+" "+A,issueType:"focus_not_visible",wcag:"2.4.7",context:`${F.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:F.outerHTML.slice(0,200),...g?{}:{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{S&&S.isConnected&&S.focus({preventScroll:!0});}catch{}try{let F=Symbol.for("wa.prevScroll"),C=window[F];delete window[F],C&&window.scrollTo({left:C[0],top:C[1],behavior:"instant"});}catch{}try{let F=Symbol.for("wa.prevSelection"),C=window[F];delete window[F];let y=getSelection();if(y&&C){y.removeAllRanges();for(let A of C)y.addRange(A);}}catch{}return p},f)}};var TI=()=>{let f=[],g=["new","register","signup","sign-up","sign_up","create","change","reset"],m=["confirm","verify","retype","re-type","repeat","again"];function p(y){if(!y)return false;let A=" "+((y.getAttribute("id")||"")+" "+(y.getAttribute("class")||"")+" "+(y.getAttribute("name")||"")+" "+(y.getAttribute("action")||"")).toLowerCase()+" ";for(let _=0;_<g.length;_++)if(A.indexOf(g[_])!==-1)return true;return false}function w(y){let A=((y.getAttribute("name")||"")+" "+(y.getAttribute("id")||"")+" "+(y.getAttribute("placeholder")||"")+" "+(y.getAttribute("aria-label")||"")).toLowerCase();for(let _=0;_<m.length;_++)if(A.indexOf(m[_])!==-1)return true;return false}let D=document.querySelectorAll('input[type="password"], input[type="Password"]');for(let y of D){if(f.length>=30)break;let A=y;if(isWidget(A)||isHiddenFromAT(A)||!isVisible(A))continue;let _=(A.getAttribute("autocomplete")||"").trim().toLowerCase();if(w(A)){if(_==="new-password")continue;let V=uniqueSel(A);f.push({selector:V,attribute:"autocomplete",currentValue:_,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(_)continue;let I=A.form||A.closest("form"),N=p(I),M=uniqueSel(A);f.push({selector:M,attribute:"autocomplete",currentValue:"",issueType:"missing_autocomplete",wcag:"1.3.5",context:(N?"new/signup/change password form":"login form")+" | name: "+(A.getAttribute("name")||"")+" | id: "+(A.getAttribute("id")||""),needsAI:false,fixValue:N?"new-password":"current-password",outerHtml:(A.outerHTML||"").slice(0,300)});}let x=document.querySelectorAll("form"),S=/\*|\brequired\b|\bmandatory\b/i;for(let y of x){if(f.length>=30)break;let A=y;if(isWidget(A)||!isVisible(A))continue;let _=A.querySelectorAll("input[required], select[required], textarea[required]");if(!_.length)continue;let L=0;for(let q of _)isVisible(q)&&L++;if(L===0)continue;let I=A.querySelectorAll('input:not([type="hidden"]):not([type="submit"]):not([type="button"]), select, textarea'),N=0;for(let q of I)isVisible(q)&&N++;if(L>=N||(A.getAttribute("data-asw-required-hint")||"").trim())continue;let M=(A.textContent||"").trim();if(S.test(M))continue;let V=uniqueSel(A);f.push({selector:V,attribute:"data-asw-required-hint",currentValue:"",issueType:"missing_required_indicator",wcag:"3.3.2",context:`form has ${L} required input(s) but no visible "*" / "required" / "mandatory" marker`,needsAI:true,outerHtml:(A.outerHTML||"").slice(0,300)});}let F='input[type="submit" i], input[type="image" i], button:not([type]), button[type="submit" i], button[type=""]',C='input:not([type="hidden"]):not([type="submit"]):not([type="button"]):not([type="reset"]):not([type="image"]), select, textarea';for(let y of x){if(f.length>=30)break;let A=y;if(isWidget(A)||!isVisible(A)||isHiddenFromAT(A))continue;let _=[];for(let q of A.querySelectorAll(C))isVisible(q)&&_.push(q);if(_.length===0||A.querySelector(F))continue;let L=A.getAttribute("id");if(L){let q=false;for(let U of document.querySelectorAll(F))if(U.getAttribute("form")===L){q=true;break}if(q)continue}if(((A.getAttribute("role")||"").toLowerCase()==="search"||!!A.closest('[role="search"]'))&&_.length===1)continue;let N=_.slice(0,4).map(q=>q.tagName.toLowerCase()+(q.tagName==="INPUT"?"["+(q.getAttribute("type")||"text")+"]":"")).join(", "),M=[];for(let q of A.querySelectorAll('button:not([type="reset" i]), input[type="button" i], [role="button"]')){if(M.length>=3)break;let U=q;if(!isVisible(U))continue;let Q=((U.tagName==="INPUT"?U.getAttribute("value"):U.textContent)||U.getAttribute("aria-label")||"").trim().replace(/\s+/g," ").slice(0,30);M.push('"'+Q+'"');}if(M.length&&!(A.getAttribute("action")||"").trim())continue;let V=M.length?" Buttons present that are not a submit control (type=button or role=button): "+M.join(", ")+".":"";f.push({selector:uniqueSel(A),attribute:"data-asw-submit-control",currentValue:"",issueType:"form_missing_submit",wcag:"3.2.2",context:`form with ${_.length} visible field(s) (${N}) and no submit control`,needsAI:true,needsReview:true,reviewReason:"WCAG 3.2.2 On Input: this form has "+_.length+" visible field(s) ("+N+") 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."+V,outerHtml:(A.outerHTML||"").slice(0,300)});}return f},zh={name:"formAttributes",cap:30,async detect(d){return d.evaluate(TI)}};var RI=()=>{let d=document.documentElement;return d?(d.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"}]:[]},Gh={name:"htmlLang",async detect(d){return d.evaluate(RI)}};var FI=()=>{let d="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",g=[],m=[{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"}],p=x=>{let S;try{S=new URL(x,location.href);}catch{return null}let F=S.hostname.toLowerCase();for(let C of m)if((F===C.host||F.endsWith("."+C.host))&&(!C.path||C.path.test(S.pathname)))return C.title;return null},w=/^(iframe|embed|widget|frame|content|untitled)$/i,D=document.querySelectorAll("iframe");for(let x of D){if(g.length>=50)break;if(x.closest(d))continue;let S=false;for(let v=x;v;v=v.parentElement)if((v.getAttribute("aria-hidden")||"").trim()==="true"){S=true;break}let F=(x.getAttribute("role")||"").trim().toLowerCase();if(S||F==="presentation"||F==="none"||x.closest("[inert]"))continue;let C=/^[\t\n\f\r ]*([-+]?\d+)/.exec(x.getAttribute("tabindex")||"");if(C&&parseInt(C[1],10)<0)continue;let y=getComputedStyle(x);if(x.getClientRects().length===0||y.visibility==="hidden"||y.visibility==="collapse"||(x.getAttribute("src")||"").trim().toLowerCase().indexOf("javascript:")===0)continue;let A="",_=(x.getAttribute("aria-labelledby")||"").trim();if(_){let v=_.split(/\s+/);for(let T=0;T<v.length;T++){let P=document.getElementById(v[T]);P&&(A+=" "+(P.textContent||""));}A=A.trim();}if(A||(A=(x.getAttribute("aria-label")||"").trim()),A)continue;let L=(x.getAttribute("title")||"").trim(),I=L.length===0,N=!I&&(L.length<3||w.test(L));if(!I&&!N)continue;let M=(x.getAttribute("src")||"").toLowerCase(),V=uniqueSel(x),q=getNearbyContext(x),U="src: "+M.slice(0,120)+(q.nearbyHeading?" | heading: "+q.nearbyHeading:""),Q=p(x.getAttribute("src")||""),k=Q!==null;Q&&g.push({selector:V,attribute:"title",currentValue:L,issueType:"missing_label",wcag:"4.1.2",context:U,needsAI:false,fixValue:Q,outerHtml:x.outerHTML.slice(0,300)}),!k&&I&&g.push({selector:V,attribute:"title",currentValue:L,issueType:"missing_label",wcag:"4.1.2",context:U,needsAI:true,outerHtml:x.outerHTML.slice(0,300)});}return g},Uh={name:"iframeTitle",cap:50,async detect(d){return d.evaluate(FI)}};var II=()=>{let d="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",f=["hidden","submit","button","reset","image","checkbox","radio","file","range","color"],m=[],p={email:"email",tel:"tel",password:"current-password"},w=[{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"}],D=document.querySelectorAll("input, select, textarea");for(let x of D){if(m.length>=50)break;if(x.closest(d))continue;let S=x,F=(S.getAttribute("type")||"text").toLowerCase();if(f.includes(F)||S.getAttribute("autocomplete")||!isVisible(S))continue;let C="";if(p[F]&&(C=p[F]),!C){let A=(S.getAttribute("name")||"").toLowerCase(),_=(S.getAttribute("id")||"").toLowerCase(),L=(S.getAttribute("placeholder")||"").toLowerCase(),I=A+" "+_+" "+L;for(let N of w)if(I.includes(N.pattern)){C=N.autocomplete;break}}if(!C)continue;if(C==="country"){let A=false;if(S.tagName==="SELECT"){let _=Array.from(S.options).map(L=>(L.value||"").trim()).filter(Boolean);A=_.length>0&&_.every(L=>/^[A-Za-z]{2}$/.test(L));}A||(C="country-name");}let y=uniqueSel(S);m.push({selector:y,attribute:"autocomplete",currentValue:"",issueType:"identify_input_purpose",wcag:"1.3.5",context:"type: "+F+" | name: "+(S.getAttribute("name")||"")+" | id: "+(S.getAttribute("id")||""),needsAI:false,fixValue:C});}return m},Wh={name:"inputPurpose",cap:50,async detect(d){return d.evaluate(II)}};var LI=()=>{let d="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",g=[],m=['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 p(A){let _=A.getBoundingClientRect();if(_.width===0&&_.height===0)return false;let L=-window.scrollX,I=-window.scrollY,N=document.documentElement,M=getComputedStyle(A).position;if(M==="fixed")return false;let V=M==="absolute";for(let q=A.parentElement;q&&q!==document.body&&q!==N;q=q.parentElement){let U=getComputedStyle(q);if(V){if(U.position==="static")continue;V=false;}if(/auto|scroll/.test(U.overflowX+" "+U.overflowY))return false;let Q=U.overflowX==="hidden"||U.overflowX==="clip",k=U.overflowY==="hidden"||U.overflowY==="clip";if(!Q&&!k)continue;let v=q.getBoundingClientRect();if(Q&&(_.right<=v.left||_.left>=v.right)||k&&(_.bottom<=v.top||_.top>=v.bottom))return true;if(M=U.position,M==="fixed")return false;M==="absolute"&&(V=true);}return _.right<=L||_.bottom<=I||_.left>=L+N.scrollWidth||_.top>=I+N.scrollHeight}let w='[role="tablist"],[aria-roledescription="carousel" i],[aria-roledescription="slide" i],[class*="slick"],[class*="swiper"],[class*="owl"],[class*="splide"],[class*="flickity"]',D='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"]',x='a[href],area[href],button,input:not([type="hidden"]),select,textarea,summary,iframe';function S(A){if(A.tagName==="A"){let L=A.href;if(L){for(let I of document.querySelectorAll("a[href]"))if(!(I===A||I.href!==L||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(A.closest(w))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 _=A.parentElement?.closest(D);if(_){let L=0;for(let I of _.querySelectorAll(x))I!==A&&I.getAttribute("tabindex")?.trim()==="-1"&&L++;if(L>=2)return `${L} other controls in the same <${_.tagName.toLowerCase()}> also carry tabindex="-1" (inert by design)`}for(let L=A.parentElement;L&&L!==document.body&&!L.matches(x);L=L.parentElement){let I=parseInt(L.getAttribute("tabindex")||"",10);if(!Number.isFinite(I)||I<0)continue;let N=[...L.querySelectorAll(x)];if(N.length>=2&&N.every(M=>M.getAttribute("tabindex")?.trim()==="-1"))return 'a focusable ancestor owns focus and every control inside it carries tabindex="-1"';break}return ""}let F=document.querySelectorAll(m);for(let A of F){if(g.length>=30)break;if(A.closest(d)||!A.hasAttribute("tabindex"))continue;let _=A.getAttribute("tabindex")||"",L=parseInt(_,10);if(!Number.isFinite(L)||L===0||A.getAttribute("aria-disabled")==="true"||A.getAttribute("aria-hidden")==="true"||A.closest('[aria-hidden="true"]')||A.closest("[hidden]"))continue;let I=A.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(A)||L<0&&p(A))continue;let N=(A.getAttribute("role")||"").toLowerCase();if(L<0&&A.closest('[role="tablist"],[role="menu"],[role="menubar"],[role="listbox"],[role="tree"],[role="treegrid"],[role="grid"],[role="radiogroup"],[role="toolbar"]'))continue;if(L<0&&A.tagName==="A"){if((A.getAttribute("aria-current")||"").trim().toLowerCase()==="page")continue;let T=(A.getAttribute("href")||"").trim();if(T&&!T.includes("#"))try{let P=new URL(T,document.baseURI),H=new URL(location.href);if(P.hash="",H.hash="",P.href===H.href)continue}catch{}}let V=typeof uniqueSel=="function"?uniqueSel(A):"",q=typeof getNearbyContext=="function"?getNearbyContext(A):{parentTag:A.tagName.toLowerCase(),nearbyHeading:""},U,Q,k=L<0?S(A):"";L<0?(U="keyboard_trap",Q="2.1.1"):(U="focus_order_disruption",Q="2.4.3");let v=[];v.push("tabindex: "+L),v.push("tag: "+A.tagName.toLowerCase()),N&&v.push("role: "+N),q.nearbyHeading&&v.push("heading: "+q.nearbyHeading),v.push("parent: "+q.parentTag),k&&v.push('author tabindex="-1" looks intentional: '+k),g.push({selector:V,attribute:"tabindex",currentValue:String(L),issueType:U,wcag:Q,context:v.join(" | "),needsAI:false,fixValue:"0",...k?{manualFix:true,reviewReason:`the author's tabindex="-1" looks intentional (${k}); 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 C=/\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(g.length>=30)break;if(A.closest(d))continue;let _=A.getAttribute("onblur")||"";!C.test(_)||y.test(_)||A.matches('[disabled], [aria-disabled="true"]')||A.closest('[aria-hidden="true"], [hidden]')||typeof isVisible=="function"&&!isVisible(A)||g.push({selector:typeof uniqueSel=="function"?uniqueSel(A):A.tagName.toLowerCase(),attribute:"onblur",currentValue:_.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 g},Xh={name:"keyboardTrap",cap:30,async detect(d){return d.evaluate(LI)}};var PI=()=>{let d="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",g=[],p=document.querySelectorAll('button, a[href], [role="button"], [role="link"], input[type="submit"], input[type="button"]');for(let w of Array.from(p)){if(g.length>=40)break;if(w.closest(d)||typeof isVisible=="function"&&!isVisible(w))continue;let D="",x=[],S=[];try{let k=/(?:^|[\s_-])(?:icon|material-icons|material-symbols(?:-\w+)?|fa|fas|far|fab|fal|glyphicon|dashicons)(?:[\s_-]|$)/i,v=/icon|awesome|glyph|material symbols|dashicons/i,T=!1;try{T=v.test(getComputedStyle(w).fontFamily||"");}catch{}let P=Be=>parseFloat(Be||"0")||0,H=Be=>{if(Be.hasAttribute("hidden"))return !0;let we=(Be.getAttribute("style")||"").toLowerCase().replace(/\s+/g,"");if(/clip:rect\(0/.test(we)||/clip-path:inset\((50|100)%/.test(we))return !0;if(/position:(absolute|fixed)/.test(we)){if(/(width|height):[01](px)?(;|!|$)/.test(we))return !0;let _e=we.match(/(?:left|top):(-\d+)/);if(_e&&parseInt(_e[1],10)<=-999)return !0}return !1},j=(Be,we)=>{if(Be.hasAttribute("hidden")||P(we.fontSize)===0)return !0;let _e=(we.clip||"").replace(/\s+/g,"");if(/^rect\(0(px)?,?0(px)?,?0(px)?,?0(px)?\)$/.test(_e)||/inset\((50|100)%\)/.test(we.clipPath||""))return !0;let Rt=Be.getBoundingClientRect();return !!(/hidden|clip/.test(we.overflow||we.overflowX+" "+we.overflowY)&&(Rt.width<=1||Rt.height<=1)||(we.position==="absolute"||we.position==="fixed")&&(P(we.left)<=-999||P(we.top)<=-999||Rt.right<=0||Rt.bottom<=-window.scrollY))},G=!1,K=w.querySelector('h1, h2, h3, h4, h5, h6, [role="heading"]'),Z=!!K&&!K.closest('[aria-hidden="true"]')&&/[\p{L}\p{N}]/u.test(K.innerText||""),ae=0;try{ae=P(getComputedStyle(w).fontSize);}catch{}let ee=Be=>{if(!Z||K.contains(Be))return !1;for(let we=Be;we&&we!==w;we=we.parentElement)if(we.tagName==="TIME"||we.tagName==="SMALL")return !0;try{let we=P(getComputedStyle(Be).fontSize);return ae>0&&we>0&&we<ae}catch{return !1}},ce=document.createTreeWalker(w,NodeFilter.SHOW_TEXT),ke;for(;ke=ce.nextNode();){let Be=ke.parentElement;if(!Be)continue;let we=(ke.textContent||"").trim();if(!we||Be===w&&T)continue;let _e=!1,Rt=!1;for(let dt=Be;dt&&dt!==w;dt=dt.parentElement){if(dt.tagName==="KBD"&&(Rt=!0),dt.getAttribute("aria-hidden")==="true"){_e=!0;break}if(k.test(dt.getAttribute("class")||"")||k.test(dt.getAttribute("id")||"")){_e=!0;break}try{let $e=getComputedStyle(dt);if($e.display==="none"||$e.visibility==="hidden"){_e=!0;break}if(parseFloat($e.opacity||"1")===0){_e=!0;break}if(v.test($e.fontFamily||"")){_e=!0;break}if(j(dt,$e)){_e=!0;break}}catch{if(H(dt)){_e=!0;break}dt.tagName==="SPAN"&&(G=!0);}}!_e&&/[\p{L}\p{N}]/u.test(we)&&!ee(Be)&&S.push({text:we,kbd:Rt});}let he=0,Te=S.length;for(;he<Te&&S[he].kbd;)he++;for(;Te>he&&S[Te-1].kbd;)Te--;let Ge=he<Te?S.slice(he,Te):S;for(let Be of Ge)x.push(Be.text);D=G?"":x.join(" ").trim().toLowerCase();}catch{D=((w.innerText!=null?w.innerText:w.textContent)||"").trim().toLowerCase();}if(!D||!/[\p{L}\p{N}]/u.test(D)||/^\p{L}$/u.test(D))continue;let C=/[\p{L}\p{N}\p{M}]/u,y=(w.getAttribute("aria-label")||"").trim().toLowerCase();if(!y){let k=w.getAttribute("aria-labelledby");k&&(y=(typeof __resolveIdRefs=="function"?__resolveIdRefs(k):"").toLowerCase());}if(!y)continue;let A=k=>{let v=k.toLowerCase().replace(/\([^)]*\)/g," ");return (/[\p{L}\p{N}]/u.test(v)?v:k.toLowerCase()).replace(/[\p{S}\u2026*]/gu," ").replace(/\s+/g," ").trim().normalize("NFC")},_=A(y),L=/[\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=(k,v)=>!k||!C.test(k)||L.test(k)||L.test(v),N=(k,v)=>{if(v<=0)return "";let T=k.charCodeAt(v-1);return T>=56320&&T<=57343&&v>=2?k.slice(v-2,v):k.charAt(v-1)},M=(k,v)=>{let T=k.codePointAt(v);return T===void 0?"":String.fromCodePoint(T)},V=k=>{let v=k.substring(0,40);if(!v)return true;let T=k.length>=40,P=M(v,0),H=N(v,v.length);for(let j=0;;){let G=_.indexOf(v,j);if(G<0)return false;if(I(N(_,G),P)&&(T||I(M(_,G+v.length),H)))return true;j=G+1;}};if(V(A(D))||x.length>1&&V(A(x.join(""))))continue;if(x.length>1){let k=true,v=0;for(let T of x){let P=A(T.toLowerCase());if(!P)continue;let H=P.slice(0,40),j=-1;for(let G=v;;){let K=_.indexOf(H,G);if(K<0)break;let Z=I(N(_,K),M(H,0)),ae=H.length>=40||I(M(_,K+H.length),N(H,H.length));if(Z&&ae){j=K;break}G=K+1;}if(j<0){k=false;break}v=j+H.length;}if(k)continue}let q=typeof uniqueSel=="function"?uniqueSel(w):"",U=typeof getNearbyContext=="function"?getNearbyContext(w):{parentTag:w.tagName.toLowerCase(),nearbyHeading:""},Q=[];Q.push("visible: "+D.slice(0,40)),Q.push("aria-label: "+y.slice(0,60)),U.nearbyHeading&&Q.push("heading: "+U.nearbyHeading),Q.push("parent: "+U.parentTag),g.push({selector:q,attribute:"aria-label",currentValue:y,issueType:"label_in_name",wcag:"2.5.3",context:Q.join(" | "),needsAI:true,outerHtml:(w.outerHTML||"").slice(0,300)});}return g},Yh={name:"labelInName",cap:40,async detect(d){return d.evaluate(PI)}};var MI=()=>{let d="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=EquallyAI]",g=["click here","click","here","read more","more","link","this","go","info","details","learn more","see more","view","open","tap"],m=[];function p(C){if(!C)return "";let y=C.split("#")[0];return y.length>1&&y.charAt(y.length-1)==="/"&&(y=y.substring(0,y.length-1)),y}function w(C){let y=(C.getAttribute("aria-label")||"").trim();return y||(C.textContent||"").trim().replace(/\s+/g," ")}function D(C){return !!C.closest('nav, [role="navigation"], [role="menubar"], [class*=breadcrumb], [aria-label*="breadcrumb" i]')}let x={},S=document.querySelectorAll("a[href]");for(let C=0;C<S.length;C++){let y=S[C];if(y.closest(d)||y.getAttribute("aria-hidden")==="true"||!isVisible(y))continue;let A=y.getAttribute("href")||"";if(!A)continue;let _=A.toLowerCase();if(_.charAt(0)==="#"||_.indexOf("javascript:")===0||_.indexOf("mailto:")===0||_.indexOf("tel:")===0)continue;let L=y.href||A,I=p(L);if(!I||D(y))continue;let N=(y.textContent||"").trim(),M=!!y.querySelector("img, svg, picture");if(!N&&M)continue;let V=w(y);if(!V)continue;let q=V.toLowerCase();q===_||q===L.toLowerCase()||(x[I]||(x[I]=[]),x[I].push(y));}let F=Object.keys(x);for(let C=0;C<F.length&&!(m.length>=30);C++){let y=x[F[C]];if(!y||y.length<2)continue;let A={},_="";for(let M=0;M<y.length;M++){let V=w(y[M]),q=V.toLowerCase();A[q]=true,V.length>_.length&&(_=V);}if(Object.keys(A).length<2)continue;let I=_.toLowerCase().trim();if(I.length<5)continue;let N=false;for(let M=0;M<g.length;M++)if(I===g[M]){N=true;break}if(!N)for(let M=0;M<y.length&&!(m.length>=30);M++){let V=y[M],q=w(V);if(q.toLowerCase()===I)continue;let U=uniqueSel(V);m.push({selector:U,attribute:"aria-label",currentValue:q,issueType:"link_consistency",wcag:"3.2.4",context:"Same href as "+y.length+' link(s) on this page with different text (e.g. "'+_.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:V.outerHTML.slice(0,300)});}}return m},Kh={name:"linkConsistency",cap:30,async detect(d){return d.evaluate(MI)}};var OI=()=>{let f=[],g=[".pdf",".doc",".docx",".xls",".xlsx",".zip",".csv",".ppt",".pptx",".txt",".rtf",".epub"],m={".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"},p="";try{p=window.location&&window.location.hostname||"";}catch{p="";}p=(p||"").toLowerCase();function w(L,I){if(!L||!I)return false;if(L===I||L.endsWith("."+I)||I.endsWith("."+L))return true;let N=M=>{let V=M.split(".");if(V.length<=2)return M;let q=V[V.length-1],U=V[V.length-2],Q=["co","com","net","org","ac","gov","edu"],k=q.length===2&&Q.indexOf(U)>=0?3:2;return V.slice(-k).join(".")};return N(L)===N(I)}function D(L){return L.indexOf("www.")===0?L.slice(4):L}function x(L){if(!L)return "";let I=L.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(L,window.location.href).hostname||"").toLowerCase()}catch{return ""}}function S(L){if(!L)return "";let I=L,N=I.indexOf("?");N>=0&&(I=I.slice(0,N));let M=I.indexOf("#");M>=0&&(I=I.slice(0,M)),I=I.toLowerCase();for(let V=0;V<g.length;V++){let q=g[V];if(I.length>=q.length&&I.slice(I.length-q.length)===q)return q}return ""}function F(L){let I=[],N=(L.getAttribute("aria-label")||"").trim();N&&I.push(N);let M=(L.getAttribute("title")||"").trim();M&&I.push(M);let V=L.getAttribute("aria-labelledby");if(V)try{let q=typeof __resolveIdRefs=="function"?__resolveIdRefs(V):"";q&&I.push(q);}catch{}return I.push((L.textContent||"").trim()),I.join(" ").toLowerCase()}function C(L,I,N){let M="";try{typeof getAccessibleName=="function"&&(M=(getAccessibleName(L)||"").trim());}catch{}let V=(I||N||M||L.textContent||"").replace(/\s+/g," ").trim();return V||(L.getAttribute("href")||"").trim().replace(/^https?:\/\//i,"").replace(/\/+$/,"")}function y(L,I){let M=200-I.length;M<8&&(M=8);let V=L;if(V.length>M){let q=V.slice(0,M),U=q.lastIndexOf(" ");U>M*.6&&(q=q.slice(0,U)),V=q.replace(/[\s…,;:.\-]+$/,"")+"\u2026";}return (V+I).slice(0,200)}let A=document.querySelectorAll("a"),_=A.length;for(let L=0;L<_&&!(f.length>=50);L++){let I=A[L];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 N=I.getAttribute("href");if(N==null)continue;let M=String(N).trim();if(!M)continue;let V=M.toLowerCase(),q=F(I),U=(I.getAttribute("rel")||"").toLowerCase(),Q=uniqueSel(I),k=(I.getAttribute("target")||"").toLowerCase(),v=(I.outerHTML||"").slice(0,300);if(M==="#"||V.indexOf("javascript:")===0||M.charAt(0)==="#"&&M.length>1)continue;let T=S(V);if(T){let G=I.hasAttribute&&I.hasAttribute("download"),K=(m[T]||T).toLowerCase(),Z=q.indexOf(T)>=0||q.indexOf(K)>=0||q.indexOf("download")>=0;if(!G&&!Z){let ae=C(I,(I.getAttribute("aria-label")||"").trim(),""),ee=y(ae," ("+(m[T]||T)+" download)");f.push({selector:Q,attribute:"aria-label",currentValue:(I.getAttribute("aria-label")||"").trim(),issueType:"download_link_warning",wcag:"3.2.5",context:"download link \u2014 "+T+" | href: "+M.slice(0,120),needsAI:false,fixValue:ee,outerHtml:v});continue}}let P=x(M),H=V.indexOf("http://")===0||V.indexOf("https://")===0||V.indexOf("//")===0,j=!!P&&!!p&&!w(D(P),D(p));if(k==="_blank"){let G=U.indexOf("noopener")>=0||U.indexOf("noreferrer")>=0,K=q.indexOf("new window")>=0||q.indexOf("new tab")>=0||q.indexOf("opens in")>=0;if(!K){let Z=(I.getAttribute("aria-label")||"").trim(),ae="",ee=I.getAttribute("aria-labelledby")||"";if(!Z&&ee)try{typeof __resolveIdRefs=="function"&&(ae=(__resolveIdRefs(ee)||"").trim());}catch{}let ce=C(I,Z,ae),ke=y(ce," (opens in new window)"),he=[];G||he.push("missing rel=noopener"),K||he.push('missing "new window" hint'),he.push("href: "+M.slice(0,120)),f.push({selector:Q,attribute:"aria-label",currentValue:(I.getAttribute("aria-label")||"").trim(),issueType:"new_window_link",wcag:"3.2.5",context:he.join(" | "),needsAI:false,fixValue:ke,outerHtml:v});continue}}if(j&&H){let G=U.indexOf("external")>=0,K=q.indexOf("external")>=0||q.indexOf("opens in")>=0||q.indexOf("new window")>=0||q.indexOf("new tab")>=0;if(!G&&!K){let Z=(I.getAttribute("aria-label")||"").trim(),ae="",ee=I.getAttribute("aria-labelledby")||"";if(!Z&&ee)try{typeof __resolveIdRefs=="function"&&(ae=(__resolveIdRefs(ee)||"").trim());}catch{}let ce=C(I,Z,ae),ke=y(ce," (external link)");f.push({selector:Q,attribute:"aria-label",currentValue:(I.getAttribute("aria-label")||"").trim(),issueType:"external_link_warning",wcag:"3.2.5",context:"external: "+P+" (page: "+p+") | href: "+M.slice(0,120),needsAI:false,fixValue:ke,outerHtml:v});}}}return f},Jh={name:"linkWarnings",cap:50,async detect(d){return d.evaluate(OI)}};var NI=()=>{let d="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=ae-exclude],[id*=ae_app],[id*=ae_],[class*=EquallyAI]",g=[],m=new Set,p=document.querySelectorAll('main, [role="main"]'),w=[];return p.forEach(D=>{let x=getComputedStyle(D);x.display!=="none"&&x.visibility!=="hidden"&&w.push(D);}),p.forEach(D=>{if(g.length>=10||D.closest(d)||D.getAttribute("aria-hidden")!=="true")return;let x=getComputedStyle(D);if(x.display==="none"||x.visibility==="hidden"||D.closest('[role="dialog"]')||D.closest('[role="alertdialog"]')||D.closest("dialog")||w.some(y=>y!==D&&y.getAttribute("aria-hidden")!=="true"))return;let F=D.parentElement;for(;F&&F!==document.body&&F!==document.documentElement;){if(F.getAttribute("aria-hidden")==="true")return;F=F.parentElement;}let C=uniqueSel(D);m.has(C)||(m.add(C),g.push({selector:C,attribute:"aria-hidden",currentValue:"true",issueType:"main_content_hidden",wcag:"4.1.2",context:JSON.stringify({tag:D.tagName.toLowerCase(),role:D.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:(D.outerHTML||"").slice(0,300)}));}),g},Zh={name:"mainContentHidden",cap:10,async detect(d){return d.evaluate(NI)}};var qI=()=>{let f=[];function g(D){return !!(!D||isWidget(D)||(D.getAttribute("aria-hidden")||"").trim().toLowerCase()==="true")}function m(D){return (D.outerHTML||"").slice(0,300)}let p=document.querySelectorAll("video");for(let D of p){if(f.length>=10)break;let x=D;if(g(x))continue;let S=x.hasAttribute("controls"),F=x.hasAttribute("autoplay"),C=x.hasAttribute("muted"),y=F||!x.paused&&!x.ended,A=typeof isVisible=="function"?isVisible(x):true;if(!S&&y&&A&&(f.push({selector:uniqueSel(x),attribute:"controls",currentValue:"",issueType:"missing_media_controls",wcag:"2.2.2",context:"video element missing player controls",needsAI:false,fixValue:"",outerHtml:m(x)}),f.length>=10))break;F&&!C&&f.push({selector:uniqueSel(x),attribute:"muted",currentValue:"",issueType:"unsafe_autoplay",wcag:"1.4.2",context:"video autoplays with sound \u2014 add muted",needsAI:false,fixValue:"",outerHtml:m(x)});}let w=document.querySelectorAll("audio");for(let D of w){if(f.length>=10)break;let x=D;if(g(x))continue;let S=x.hasAttribute("controls"),F=x.hasAttribute("autoplay"),C=F||!x.paused&&!x.ended;if(!S&&C&&(f.push({selector:uniqueSel(x),attribute:"controls",currentValue:"",issueType:"missing_media_controls",wcag:"2.2.2",context:"audio element missing player controls",needsAI:false,fixValue:"",outerHtml:m(x)}),f.length>=10))break;F&&f.push({selector:uniqueSel(x),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:m(x)});}return f},Qh={name:"mediaControls",cap:10,async detect(d){return d.evaluate(qI)}};var BI=()=>{let d="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",g=[],m=[],p=/^(image|photo|img|picture|pic|untitled|banner|hero|\d{1,2})$/i,w=/^(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,D=/pixel|track|beacon|doubleclick|facebook\.com\/tr\b/i,x=(y,A)=>{let _=y.getAttribute(A);if(_===null)return false;let L=parseFloat(_);return !isNaN(L)&&L<=1},S=document.querySelectorAll("img");for(let y of S){if(g.length>=50)break;if(y.closest(d)||y.closest("template, noscript, script"))continue;let A=y.getAttribute("src")||"",_=y.getAttribute("alt");if(A.startsWith("data:")||x(y,"width")||x(y,"height"))continue;let L=y.naturalWidth||0,I=y.naturalHeight||0;if(L>0&&I>0&&L<=3&&I<=3||y.getAttribute("role")==="presentation"||y.getAttribute("role")==="none"||y.getAttribute("aria-hidden")==="true")continue;let N=L||y.width,M=I||y.height,V=y.getBoundingClientRect(),q=!isVisible(y)||N<=2&&M<=2||V.width<=2&&V.height<=2||!!y.closest('[aria-hidden="true"]');if(q&&(_!==null||m.length>=50||D.test(A)))continue;let U=(y.getAttribute("aria-label")||"").trim(),Q=(y.getAttribute("aria-labelledby")||"").trim();if(U||Q)continue;if(_===null){let H=uniqueSel(y),j=getNearbyContext(y),G=[],K=y.closest("figure");if(K){let ce=K.querySelector("figcaption");ce&&G.push("figcaption: "+(ce.textContent||"").trim().slice(0,80));}j.nearbyHeading&&G.push("heading: "+j.nearbyHeading);let Z=y.closest("a");if(Z){let ce=Z.getAttribute("href")||"",ke=(Z.textContent||"").trim().replace(/\s+/g," ");ke&&G.push("link text: "+ke.slice(0,60)),ce&&G.push("link href: "+ce.slice(0,80));}A&&G.push("src: "+A.slice(0,120)),G.push("parent: "+j.parentTag);let ae=A;try{ae=new URL(A,document.baseURI).href;}catch{}(q?m:g).push({selector:H,attribute:"alt",currentValue:"",issueType:"missing_alt",wcag:"1.1.1",context:G.join(" | "),needsAI:true,imageSrc:ae,outerHtml:y.outerHTML.slice(0,300)});continue}let k=(_||"").trim();if(k==="")continue;let v=/\.(jpg|jpeg|png|gif|webp|svg|bmp|ico)$/i.test(k),T=p.test(k),P=w.test(k);if(v||T||P){let H=uniqueSel(y),j=getNearbyContext(y),G=[];j.nearbyHeading&&G.push("heading: "+j.nearbyHeading),A&&G.push("src: "+A.slice(0,120)),G.push("parent: "+j.parentTag);let K=A;try{K=new URL(A,document.baseURI).href;}catch{}g.push({selector:H,attribute:"alt",currentValue:k,issueType:"missing_alt",wcag:"1.1.1",context:G.join(" | "),needsAI:true,imageSrc:K,outerHtml:y.outerHTML.slice(0,300)});}}let F=globalThis;for(let y of Array.from(document.querySelectorAll("object"))){if(g.length>=50)break;if(y.closest(d)||y.closest('[aria-hidden="true"]')||y.getAttribute("aria-hidden")==="true")continue;let A=(y.getAttribute("role")||"").trim().toLowerCase();if(A==="presentation"||A==="none"||!F.isVisible(y))continue;let _=y.getAttribute("data")||"",L=(y.getAttribute("type")||"").trim().toLowerCase(),I=L.startsWith("image/"),N=/\.(png|jpe?g|gif|webp|bmp|svg)(\?[^#]*)?(#.*)?$/i.test(_);if(!_||!(I||!L&&N)||(y.getAttribute("aria-label")||"").trim()||(y.getAttribute("title")||"").trim())continue;let M=(y.getAttribute("aria-labelledby")||"").trim();M&&M.split(/\s+/).some(V=>(document.getElementById(V)?.textContent||"").trim())||y.closest('a, button, [role="button"], [role="link"]')||g.push({selector:F.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: "+_.slice(0,120),needsAI:false,outerHtml:y.outerHTML.slice(0,300)});}let C=Array.from(document.querySelectorAll("script:not([src])")).map(y=>y.textContent||"");for(let y of Array.from(document.querySelectorAll("canvas"))){if(g.length>=50)break;if(y.closest(d)||y.closest('[aria-hidden="true"]')||y.getAttribute("aria-hidden")==="true")continue;let A=(y.getAttribute("role")||"").trim().toLowerCase();if(A==="presentation"||A==="none"||!F.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 _=y.getBoundingClientRect();if(_.width<=30||_.height<=30)continue;let L=y.getAttribute("id");if(!L)continue;let I=new RegExp("#"+L.replace(/[^\w-]/g,"")+`\\b|getElementById\\(\\s*['"]`+L.replace(/[^\w-]/g,"")+`['"]`);C.some(M=>I.test(M)&&/\b(fillText|strokeText)\s*\(/.test(M))&&g.push({selector:F.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 m){if(g.length>=50)break;g.push(y);}return g},eg={name:"missingAlt",cap:50,async detect(d){return d.evaluate(BI)}};var HI=()=>{let d="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=EquallyAI],[id*=ae_],[class*=ae-exclude]",f='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"]',g=["onclick","data-action","ng-click","@click","v-on:click"],m=_=>{if(getComputedStyle(_).visibility==="hidden")return false;for(let L=_;L&&L.nodeType===1;L=L.parentElement)if(getComputedStyle(L).display==="none")return false;return true},p=_=>Array.prototype.some.call(_.querySelectorAll("a:not([href])"),L=>m(L)&&!isHiddenFromAT(L)&&g.some(I=>L.hasAttribute(I))),w=_=>Array.prototype.some.call(_.querySelectorAll(f),L=>m(L)&&!isHiddenFromAT(L)),x=[];return document.querySelectorAll("div[onclick], span[onclick]").forEach(_=>{if(x.length>=50||_.closest(d)||!isVisible(_)||isHiddenFromAT(_)||w(_)||p(_))return;let L=_.getAttribute("role");if(L==="button"||L==="link"||L==="tab"||L==="menuitem"||L==="checkbox"||L==="radio")return;let I=uniqueSel(_),N=_.outerHTML.slice(0,300);x.push({selector:I,attribute:"role",currentValue:L||"",issueType:"missing_button_role",wcag:"4.1.2",context:JSON.stringify({tag:_.tagName.toLowerCase(),hasOnclick:true,currentTabindex:_.getAttribute("tabindex")}),needsAI:false,fixValue:"button",outerHtml:N}),_.getAttribute("tabindex")===null&&x.push({selector:I,attribute:"tabindex",currentValue:"",issueType:"missing_button_role",wcag:"4.1.2",context:JSON.stringify({tag:_.tagName.toLowerCase(),supplementary:'tabindex needed alongside role="button"'}),needsAI:false,fixValue:"0",outerHtml:N});}),document.querySelectorAll("a:not([href])").forEach(_=>{if(x.length>=50||_.closest(d)||!isVisible(_)||isHiddenFromAT(_)||_.getAttribute("role"))return;let I=_.hasAttribute("onclick"),N=_.getAttribute("data-action")||_.getAttribute("ng-click")||_.getAttribute("@click")||_.getAttribute("v-on:click");if(!I&&!N||w(_))return;let M=uniqueSel(_),V=_.outerHTML.slice(0,300);x.push({selector:M,attribute:"role",currentValue:"",issueType:"missing_button_role",wcag:"4.1.2",context:JSON.stringify({tag:"a",href:_.getAttribute("href")||"",hasOnclick:I}),needsAI:false,fixValue:"button",outerHtml:V});}),document.querySelectorAll("nav, ol, ul").forEach(_=>{if(x.length>=50||_.closest(d)||!isVisible(_)||isHiddenFromAT(_))return;let L=(_.className&&typeof _.className=="string"?_.className:"").toLowerCase(),I=(_.getAttribute("id")||"").toLowerCase();if(!L.includes("breadcrumb")&&!L.includes("crumb")&&!I.includes("breadcrumb")&&!I.includes("crumb"))return;let N=_.querySelectorAll("a");if(N.length<2)return;let M=(_.getAttribute("aria-label")||"").toLowerCase(),V=_.getAttribute("role");if(M.includes("breadcrumb")||M.includes("crumb")||V==="navigation"&&M)return;let q=uniqueSel(_);x.push({selector:q,attribute:"aria-label",currentValue:M,issueType:"missing_semantic_role",wcag:"4.1.2",context:JSON.stringify({tag:_.tagName.toLowerCase(),reason:"breadcrumb navigation missing aria-label",linkCount:N.length}),needsAI:false,fixValue:"Breadcrumb",outerHtml:_.outerHTML.slice(0,300)});}),document.querySelectorAll("form, section, div").forEach(_=>{if(x.length>=50||_.closest(d)||!isVisible(_)||isHiddenFromAT(_))return;let L=(_.className&&typeof _.className=="string"?_.className:"").toLowerCase(),I=(_.getAttribute("id")||"").toLowerCase();if(!L.includes("search")&&!I.includes("search")||!_.querySelector('input[type="search"], input[type="text"], input[name*="search"], input[placeholder*="earch"]'))return;let M=_.getAttribute("role");if(M==="search"||_.closest('[role="search"]')||_.querySelector('[role="search"]')||Array.prototype.some.call(_.querySelectorAll("form, section, div"),U=>{let Q=(U.className&&typeof U.className=="string"?U.className:"").toLowerCase(),k=(U.getAttribute("id")||"").toLowerCase();return !Q.includes("search")&&!k.includes("search")||U.getAttribute("role")==="search"?false:!!U.querySelector('input[type="search"], input[type="text"], input[name*="search"], input[placeholder*="earch"]')}))return;let q=uniqueSel(_);x.push({selector:q,attribute:"role",currentValue:M||"",issueType:"missing_semantic_role",wcag:"4.1.2",context:JSON.stringify({tag:_.tagName.toLowerCase(),reason:'search section missing role="search"'}),needsAI:false,fixValue:"search",outerHtml:_.outerHTML.slice(0,300)});}),document.querySelectorAll('[role="menu"], [role="menubar"]').forEach(_=>{if(_.closest(d))return;let L=_.getAttribute("role")||"menu",I=Array.from(_.querySelectorAll("a")).filter(M=>{if(!isVisible(M)||isHiddenFromAT(M))return false;let V=M.getAttribute("role");return V!=="menuitem"&&V!=="menuitemcheckbox"&&V!=="menuitemradio"});if(I.length===0)return;let N=uniqueSel(_);x.push({selector:N,attribute:"role",currentValue:L,issueType:"missing_semantic_role",wcag:"4.1.2",context:JSON.stringify({tag:_.tagName.toLowerCase(),reason:`${I.length} link(s) inside role="${L}" without menuitem roles`,sample:I.slice(0,3).map(M=>(M.textContent||"").trim().slice(0,40))}),message:`container role="${L}" 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:_.outerHTML.slice(0,300)});}),x},tg={name:"missingRoles",cap:50,async detect(d){return d.evaluate(HI)}};var VI=()=>{let d="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye]",g=[],m={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[p,w]of Object.entries(m))document.querySelectorAll(w).forEach(x=>{if(g.length>=30||x.closest(d)||typeof isVisible=="function"&&!isVisible(x))return;let S=x.parentElement,F=null;for(;S&&S!==document.body;){if(S.matches(w)){F=S;break}S=S.parentElement;}if((p==="banner"||p==="contentinfo")&&x.closest("article, section, aside, main, nav")||!F||x.getAttribute("aria-label")?.trim()||x.getAttribute("aria-labelledby")?.trim())return;let C=typeof uniqueSel=="function"?uniqueSel(x):"",y=typeof getNearbyContext=="function"?getNearbyContext(x):{nearbyHeading:""};g.push({selector:C,attribute:"role",currentValue:x.getAttribute("role")||x.tagName.toLowerCase(),issueType:"nested_landmark",wcag:"1.3.1",context:`nested-in: ${p} | tag: ${x.tagName.toLowerCase()} | heading: ${y.nearbyHeading||""}`,needsAI:false,fixValue:"generic",outerHtml:(x.outerHTML||"").slice(0,300)});});return g},rg={name:"nestedLandmarks",cap:30,async detect(d){return d.evaluate(VI)}};var $I=()=>{let f=[],g=k=>typeof parseCssColor=="function"?parseCssColor(k):null,m=(k,v,T)=>typeof relLuminance=="function"?relLuminance(k,v,T):0,w=(k,v)=>typeof contrastRatio=="function"?contrastRatio(k,v):1;function D(k){let v=document.documentElement,T=k.parentElement,P=0;for(;T&&T!==v&&P<6;){let K=getComputedStyle(T).backgroundColor||"",Z=g(K);if(Z&&Z[3]>.5)return [Z[0],Z[1],Z[2]];T=T.parentElement,P++;}let H=document.body;if(T&&T!==v&&H&&H.contains(T)){let K=g(getComputedStyle(H).backgroundColor||"");if(K&&K[3]>.5)return [K[0],K[1],K[2]]}let j=g(getComputedStyle(v).backgroundColor||""),G=j?Math.min(j[3],1):0;return !j||G<=0?[255,255,255]:[Math.round(j[0]*G+255*(1-G)),Math.round(j[1]*G+255*(1-G)),Math.round(j[2]*G+255*(1-G))]}function x(k,v,T){return "#"+[k,v,T].map(P=>{let H=Math.max(0,Math.min(255,Math.round(P))).toString(16);return H.length===1?"0"+H:H}).join("")}function S(k,v,T){let P=m(v[0],v[1],v[2])>.5;return F(k,v,T,P)||F(k,v,T,!P)}function F(k,v,T,P){let H=0,j=1,G=null;for(let K=0;K<20;K++){let Z=(H+j)/2,ae=P?[k[0]*(1-Z),k[1]*(1-Z),k[2]*(1-Z)]:[k[0]+(255-k[0])*Z,k[1]+(255-k[1])*Z,k[2]+(255-k[2])*Z],ee=[Math.round(ae[0]),Math.round(ae[1]),Math.round(ae[2])];w(ee,v)>=T?(G=ee,j=Z):H=Z;}return G}let C=(k,v)=>{let T=Math.max(0,Math.min(1,k[3]));return [k[0]*T+v[0]*(1-T),k[1]*T+v[1]*(1-T),k[2]*T+v[2]*(1-T)]};function y(k,v){let T=k.boxShadow||"";if(!T||T==="none")return null;let P=[],H=0,j="";for(let K of T)K==="("&&H++,K===")"&&H--,K===","&&H===0?(P.push(j),j=""):j+=K;j&&P.push(j);let G=null;for(let K of P){let Z=K.match(/rgba?\([^)]*\)/),ae=Z?g(Z[0]):null;if(!ae||ae[3]<=0||(K.replace(/rgba?\([^)]*\)/,"").replace("inset","").trim().split(/\s+/).map(he=>parseFloat(he)).filter(he=>Number.isFinite(he))[3]??0)<=0)continue;let ke=w(C(ae,v),v);(G===null||ke>G)&&(G=ke);}return G}function A(k){let v=getComputedStyle(k),T=D(k),P=null,H=parseFloat(v.borderTopWidth||"0"),j=(v.borderTopStyle||"").toLowerCase(),G=g(v.borderTopColor||"");H>0&&j!=="none"&&j!=="hidden"&&G&&G[3]>0&&(P=w(C(G,T),T));let K=g(v.backgroundColor||"");if(K&&K[3]>0){let ae=w(C(K,T),T);(P===null||ae>P)&&(P=ae);}let Z=y(v,T);return Z!==null&&(P===null||Z>P)&&(P=Z),P}function _(k){let v=k.getBoundingClientRect();if(v.width*v.height<=0)return null;let T='input, select, textarea, button, [role="button"], svg, img, i, label',P=k.parentElement,H=null;for(let j=0;P&&j<3&&!(P===document.body||P===document.documentElement);j++,P=P.parentElement){let G=P.getBoundingClientRect();if(G.width*G.height>4*v.width*v.height+1||G.height>Math.max(2.5*v.height,v.height+40))break;let K=false,Z=document.createTreeWalker(P,4),ae=Z.nextNode();for(;ae;){if((ae.textContent||"").trim()&&ae.parentElement&&!ae.parentElement.closest(T)&&isVisible(ae.parentElement)){K=true;break}ae=Z.nextNode();}if(K)break;let ee=A(P);ee!==null&&ee>1.01&&(H===null||ee>H)&&(H=ee);}return H}let L=k=>/^(img|picture|video|canvas|object|embed|iframe)$/.test((k.tagName||"").toLowerCase())||(getComputedStyle(k).backgroundImage||"none")!=="none",I=(k,v)=>{let T=Math.min(k.right,v.right)-Math.max(k.left,v.left),P=Math.min(k.bottom,v.bottom)-Math.max(k.top,v.top);return T>0&&P>0&&T*P/(k.width*k.height)>=.5},N=null;function M(k){let v=k.getBoundingClientRect();if(v.width*v.height<=0)return false;let T=v.left+v.width/2,P=v.top+v.height/2;if(T>=0&&P>=0&&T<window.innerWidth&&P<window.innerHeight&&typeof document.elementsFromPoint=="function"){let j=document.elementsFromPoint(T,P),G=j.indexOf(k);if(G>=0){for(let K of j.slice(G+1)){if(L(K))return true;let Z=g(getComputedStyle(K).backgroundColor||"");if(Z&&Z[3]>.5)return false}return false}}for(let j=k.parentElement,G=0;j&&G<8;j=j.parentElement,G++){let K=getComputedStyle(j);if((K.backgroundImage||"none")!=="none")return true;let Z=g(K.backgroundColor||"");if(Z&&Z[3]>.5||j===document.documentElement)break}N||(N=Array.from(document.querySelectorAll("img, picture, video, canvas, object, embed, iframe")));for(let j of N)if(!(j===k||k.contains(j)||j.contains(k))&&I(v,j.getBoundingClientRect())&&isVisible(j))return true;let H=k.offsetParent||k.parentElement;if(H&&H!==document.body&&H!==document.documentElement){let j=H.getElementsByTagName("*");for(let G=0;G<j.length&&G<400;G++){let K=j[G];if(!(K===k||k.contains(K)||K.contains(k))&&I(v,K.getBoundingClientRect())&&(getComputedStyle(K).backgroundImage||"none")!=="none"&&isVisible(K))return true}}return false}function V(k){for(let H=k.parentElement;H&&H.nodeType===1;H=H.parentElement)if(parseFloat(getComputedStyle(H).opacity||"1")<1)return false;let v=H=>{if(H.tagName.toLowerCase()!=="svg"){let K=g(getComputedStyle(H).color||"");return K&&K[3]>0?[K]:null}let j=[],G=Array.from(H.querySelectorAll("path, rect, circle, ellipse, polygon, polyline, line, text, use"));for(let K of G){let Z=K.getBoundingClientRect();if(Z.width===0&&Z.height===0)continue;let ae=getComputedStyle(K);if(ae.display==="none"||ae.visibility==="hidden"||parseFloat(ae.opacity||"1")<1)return null;for(let[ee,ce]of [[ae.fill,ae.fillOpacity],[ae.stroke,parseFloat(ae.strokeWidth||"0")>0?ae.strokeOpacity:"0"]]){let ke=String(ee||"");if(!ke||ke==="none"||parseFloat(String(ce??"1"))===0)continue;if(ke.startsWith("url"))return null;let he=g(ke);if(!he)return null;he[3]*=parseFloat(String(ce??"1")),he[3]>0&&j.push(he);}}return j.length?j:null},T=[];for(let H=0;H<=255;H+=17)T.push(H);let P=Array.from(k.querySelectorAll('svg, i[class], [class*="icon"]'));for(let H of P){let j=H.getBoundingClientRect();if(j.width*j.height===0)continue;let G=getComputedStyle(H);if(G.display==="none"||G.visibility==="hidden")continue;let K=v(H);if(!K)continue;let Z=null,ae=1,ee=true;for(let he=H;he;he=he===k?null:he.parentElement){let Te=getComputedStyle(he),Ge=parseFloat(Te.opacity||"1");if(!Z){let Be=g(Te.backgroundColor||""),we=String(Te.backgroundClip||"border-box").toLowerCase();if(!(String(Te.backgroundImage||"none")==="none")){ee=false;break}if(Be&&Be[3]>=1&&we==="border-box")Z=[Be[0],Be[1],Be[2]];else if(Ge<1){ee=false;break}}Z&&(ae*=Ge);}if(!Z||!ee)continue;let ce=Z,ke=1/0;for(let he of K){let Te=C(he,ce);for(let Ge of T)for(let Be of T)for(let we of T){let _e=[Ge,Be,we],Rt=C([Te[0],Te[1],Te[2],ae],_e),dt=C([ce[0],ce[1],ce[2],ae],_e),$e=w(Rt,dt);$e<ke&&(ke=$e);}}if(ke>=3)return true}return false}let q="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 U(k){let v=k.tagName.toLowerCase(),T=v==="input"||v==="select"||v==="textarea"?v+" field":v;f.push({selector:uniqueSel(k),message:"non-text contrast: "+T+" over an image backdrop \u2014 "+q,attribute:"style",currentValue:"?",issueType:"non_text_contrast_insufficient",wcag:"1.4.11",context:v+" backdrop=image needs=3",needsAI:false,needsReview:true,reviewReason:q,outerHtml:k.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 k of Q){if(f.length>=30)break;if(isWidget(k)||isHiddenFromAT(k)||!isVisible(k))continue;let v=getComputedStyle(k),T=D(k),P=g(v.backgroundColor||""),H=g(v.borderTopColor||""),j=parseFloat(v.borderTopWidth||"0"),G=(v.borderTopStyle||"").toLowerCase(),K=j>0&&G!=="none"&&G!=="hidden",Z=k.tagName.toLowerCase(),ae=Z==="input"||Z==="select"||Z==="textarea",ee=null;if(Z==="input"){let De=(k.type||"").toLowerCase(),Or=(v.appearance||v.webkitAppearance||"").toLowerCase();if(De==="checkbox"||De==="radio"){let dr=Or==="none"?"":String(v.accentColor||"").trim().toLowerCase(),fr=dr&&dr!=="auto"?g(dr):null;if(fr&&fr[3]>.5)ee=w([fr[0],fr[1],fr[2]],T);else if(Or&&Or!=="none")continue}}let ce=K&&H&&H[3]>.5?w([H[0],H[1],H[2]],T):null,ke=P&&P[3]>.5?w([P[0],P[1],P[2]],T):ee,he=y(v,T),Te=ce===null&&ke===null&&he===null?null:Math.max(ce??0,ke??0,he??0);if(ae&&M(k)){U(k);continue}if(ae&&(Te===null||Te<3)){let De=_(k);if(De!==null&&De>=3)continue}let Ge=null,Be=false,we="";if(ae)Te!==null?(Ge=Te,Te<3&&(Be=true)):(Be=true,Ge=1);else {let De=false,Or=document.createTreeWalker(k,4),dr=Or.nextNode();for(;dr;){if((dr.textContent||"").trim()&&dr.parentElement&&isVisible(dr.parentElement)){De=true;break}dr=Or.nextNode();}if(De)continue;let fr=M(k);{let ue=["Top","Right","Bottom","Left"].map(Oe=>({w:parseFloat(v["border"+Oe+"Width"]||"0"),s:String(v["border"+Oe+"Style"]||"").toLowerCase(),c:g(v["border"+Oe+"Color"]||"")})),ve=ue.filter(Oe=>Oe.w>0&&Oe.s!=="none"&&Oe.s!=="hidden"&&Oe.c&&Oe.c[3]>.5),Ue=ue.filter(Oe=>Oe.w>0&&Oe.s!=="none"&&Oe.s!=="hidden"&&Oe.c&&Oe.c[3]===0),tt=true;for(let Oe=k.parentElement;Oe&&Oe.nodeType===1;Oe=Oe.parentElement)if(parseFloat(getComputedStyle(Oe).opacity||"1")<1){tt=false;break}let ot=Math.max(0,Math.min(1,parseFloat(v.opacity||"1"))),mt=String(v.backgroundClip||"border-box").toLowerCase(),Je=!!P&&P[3]>=1&&ot>=1&&mt==="border-box";if(ve.length&&Ue.length&&tt&&(!fr||Je)){let Oe=P&&P[3]>0?C(P,T):T,Yt=C([Oe[0],Oe[1],Oe[2],ot],T),Kt=qr=>{let ca=C(qr,Oe);return C([ca[0],ca[1],ca[2],ot],T)};if(ve.some(qr=>w(Kt(qr.c),Yt)>=3))continue}}if(fr){if(V(k))continue;U(k);continue}let ua=Array.from(k.querySelectorAll('img, svg, picture, canvas, i[class], [class*="icon"]')),Gt=new Map,pi=ue=>{let ve=ue.getBoundingClientRect();if(ve.width*ve.height===0)return "absent";let Ue=parseFloat(getComputedStyle(k).opacity||"1");for(let tt=ue;tt&&tt!==k;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";Ue*=parseFloat(ot.opacity||"1");}return Gt.set(ue,Ue),"painted"},mi=ua.map(pi),it=ua.filter((ue,ve)=>mi[ve]==="painted"),Nr=it.length>0,mn=!Nr&&mi.includes("hidden-at-rest"),de=ue=>{let ve=(ue.tagName||"").toLowerCase();if(ve==="img"||ve==="picture"||ve==="canvas"||ve==="svg"&&ue.querySelector("image, foreignObject, linearGradient, radialGradient, pattern"))return null;let Ue=[];if(ve==="svg"){let ot=ue.querySelector("path, circle, rect, polygon, polyline, line, ellipse, use, text");for(let mt of [ot,ue]){if(!mt)continue;let Je=getComputedStyle(mt),Oe=1;for(let Kt=mt;Kt&&Kt!==ue;Kt=Kt.parentElement||Kt.parentNode)Oe*=parseFloat(getComputedStyle(Kt).opacity||"1");let Yt=Kt=>Number.isFinite(parseFloat(Kt))?parseFloat(Kt):1;if(Je.fill&&Je.fill!=="none"&&!Je.fill.startsWith("url")&&Ue.push({color:Je.fill,alpha:Oe*Yt(Je.fillOpacity)}),Je.stroke&&Je.stroke!=="none"&&!Je.stroke.startsWith("url")&&parseFloat(Je.strokeWidth||"0")>0&&Ue.push({color:Je.stroke,alpha:Oe*Yt(Je.strokeOpacity)}),Ue.length)break}}else ((ue.textContent||"").trim()||getComputedStyle(ue,"::before").content!=="none")&&Ue.push({color:getComputedStyle(ue).color,alpha:1});let tt=null;for(let ot of Ue){let mt=g(ot.color);if(!mt)continue;let Je=mt[3]*ot.alpha*(Gt.get(ue)??1),Oe=[mt[0]*Je+T[0]*(1-Je),mt[1]*Je+T[1]*(1-Je),mt[2]*Je+T[2]*(1-Je)],Yt=w(Oe,T);(tt===null||Yt>tt)&&(tt=Yt);}return tt};if(Nr&&it.map(de).some(ve=>ve!==null&&ve>=3))continue;let re=false,oe=v.position;if((oe==="absolute"||oe==="fixed")&&k.parentElement){let ue=k.getBoundingClientRect(),ve=k.parentElement.getBoundingClientRect(),Ue=ve.width*ve.height;Ue>0&&ue.width*ue.height/Ue>=.85&&(re=true);}if(Nr||re||mn){if(Be=true,Ge=K&&H&&H[3]>.5?w([H[0],H[1],H[2]],T):1,Ge>=3)continue;we=Nr?"control is identified by an image or icon \u2014 verify the graphic itself has 3:1 contrast against its surroundings":mn?"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 Te!==null?(Ge=Te,Te<3&&(Be=true)):(Be=true,Ge=1);}if(!Be)continue;let _e=H&&H[3]>.5?[H[0],H[1],H[2]]:P&&P[3]>.5?[P[0],P[1],P[2]]:[128,128,128],Rt=S(_e,T,3);if(!Rt)continue;let dt=x(Rt[0],Rt[1],Rt[2]),$e=x(T[0],T[1],T[2]),Nt="border: 1px solid "+dt+" !important;",fi=uniqueSel(k),Mr=k.tagName.toLowerCase(),zt=Te===null&&!K?"invisible (no border, no fill: 1.00:1)":Ge?Ge.toFixed(2)+":1":"not measurable",It=Mr==="input"||Mr==="select"||Mr==="textarea"?Mr+" field":Mr,Yr=we?"non-text contrast: "+It+" boundary is "+zt+" against "+$e+" (needs 3:1) \u2014 "+we:"non-text contrast: "+It+" boundary (border and fill) is "+zt+" against "+$e+", needs 3:1 \u2014 e.g. border-color "+dt;f.push({selector:fi,message:Yr,attribute:"style",currentValue:Ge?Ge.toFixed(2):"?",issueType:"non_text_contrast_insufficient",wcag:"1.4.11",context:Mr+" bg="+$e+" ratio="+(Ge?Ge.toFixed(2):"?")+" needs=3",needsAI:false,...we?{needsReview:true,reviewReason:we}:{fixValue:Nt},outerHtml:k.outerHTML.slice(0,200)});}return f},ng={name:"nonTextContrast",cap:30,async detect(d){return d.evaluate($I)}};var jI=()=>{let d="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",g=[],m=/location\s*[=.]|location\s*\.\s*href|\.submit\s*\(|window\s*\.\s*open|history\s*\.\s*(push|replace)/i,p=document.querySelectorAll("[onfocus]");for(let w of Array.from(p)){if(g.length>=20)break;if(w.closest(d))continue;let D=w.getAttribute("onfocus")||"";if(!D||!m.test(D))continue;let x=typeof uniqueSel=="function"?uniqueSel(w):"",S=typeof getNearbyContext=="function"?getNearbyContext(w):{parentTag:w.tagName.toLowerCase(),nearbyHeading:""},F=[];F.push("tag: "+w.tagName.toLowerCase()),F.push("onfocus: "+D.slice(0,100)),S.nearbyHeading&&F.push("heading: "+S.nearbyHeading),F.push("parent: "+S.parentTag),g.push({selector:x,attribute:"onfocus",currentValue:D.slice(0,200),issueType:"onfocus_context_change",wcag:"3.2.1",context:F.join(" | "),needsAI:true,outerHtml:(w.outerHTML||"").slice(0,300)});}return g},ag={name:"onFocus",cap:20,async detect(d){return d.evaluate(jI)}};var zI=()=>{let d="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",f=[],g=['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"]'],m=false;for(let y of g){let A=document.querySelector(y);if(A&&!A.closest(d)){m=true;break}}if(!m){let y=document.querySelectorAll('a[href^="#"]');for(let A of y){if(A.closest(d))continue;let _=(A.textContent||"").toLowerCase();if(_.includes("skip")&&(_.includes("main")||_.includes("content")||_.includes("nav"))){m=true;break}}}if(!m){let y=document.querySelectorAll('button, input[type="button"], input[type="submit"]');for(let A of Array.from(y)){if(A.closest(d))continue;let _=(A.getAttribute("value")||A.textContent||"").trim().toLowerCase();if(_.includes("skip")&&(_.includes("main")||_.includes("content")||_.includes("nav"))){m=true;break}}}if(!m){let y=document.body?document.body.firstElementChild:null;if(y&&y.matches('main, [role="main"], div#main')){let A=getComputedStyle(y),_=y.getBoundingClientRect();A.display!=="none"&&A.visibility!=="hidden"&&!y.closest('[hidden], [aria-hidden="true"]')&&_.width>0&&_.height>0&&(m=true);}}if(!m){let y=Array.from(document.querySelectorAll('main, [role="main"], div#main'));for(let A of y){let _=getComputedStyle(A);if(_.display==="none"||_.visibility==="hidden"||A.closest('[hidden], [aria-hidden="true"]'))continue;if(Array.from(A.querySelectorAll("h1, h2, h3, h4, h5, h6")).some(I=>{let N=getComputedStyle(I);return N.display!=="none"&&N.visibility!=="hidden"&&!I.closest('[hidden], [aria-hidden="true"]')})){m=true;break}}}if(!m&&document.querySelector("nav")){let y=document.querySelectorAll("a, button");for(let A of Array.from(y)){if(A.closest(d))continue;let _=(A.textContent||"").trim().toLowerCase();if((_.includes("toggle")||_.includes("hide")||_.includes("collapse")||_.includes("show"))&&_.includes("content")){m=true;break}}}if(m||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 _=y.getBoundingClientRect();return _.width>0&&_.height>0}).length===1)return f;let w="",D=document.querySelector('main[id], [role="main"][id]');if(D&&D.getAttribute("id"))w=D.getAttribute("id");else {let y=document.querySelector("h1[id]");if(y&&y.getAttribute("id"))w=y.getAttribute("id");else {let A=["main-content","maincontent","main","content","skip-content"];for(let _ of A)if(document.getElementById(_)){w=_;break}}}let x=w==="",S=w||"main-content",C="<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="#'+S+'" class="wa-skip-link">Skip to main content</a>';return f.push({selector:"body",attribute:"prepend",currentValue:"",issueType:"skip_link",wcag:"2.4.1",context:x?'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 #"+S,needsAI:false,fixValue:C,...x?{manualFix:true}:{}}),f},ig={name:"skipLink",async detect(d){return d.evaluate(zI)}};var GI=()=>{let g=[],m=document.querySelectorAll("*"),p=0;for(let w of Array.from(m)){if(p++>5e3||g.length>=20)break;if(w.closest("[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye]")||typeof isVisible=="function"&&!isVisible(w))continue;let x=getComputedStyle(w).backgroundImage||"";if(!x||x==="none"||!x.includes("url("))continue;let S=x.match(/url\((['"]?)(.*?)\1\)/);if(!S)continue;let F=S[2];if(!F||F.startsWith("data:")&&F.length<256)continue;let C=w.getBoundingClientRect();if(C.width<32||C.height<32)continue;let y=w.tagName.toLowerCase(),A=w.getAttribute("role")||"",_=y==="a"||y==="button"||A==="button"||A==="link"||w.closest("a,button,[role=button],[role=link]")!==null,L=(w.textContent||"").trim().length>0,I=!!w.getAttribute("aria-label"),N=!!w.getAttribute("aria-labelledby"),M=!!w.getAttribute("title"),V=!!w.querySelector('img[alt]:not([alt=""])');if(w.closest('[aria-hidden="true"]')){let v=w.closest("a[href]");if(!!v&&Array.from(document.querySelectorAll("a[href]")).some(P=>P!==v&&P.href===v.href&&!P.closest('[aria-hidden="true"]')))continue}if(I||N||M||V||L||!_)continue;let q=w.closest("a,button,[role=button],[role=link]");if(q&&q!==w){let v=(q.textContent||"").trim(),T=q.getAttribute("aria-label")||q.getAttribute("title")||"",P=q.getAttribute("aria-labelledby"),H=!!q.querySelector('img[alt]:not([alt=""])');if(v||T.trim()||P||H)continue}let U=F;try{U=new URL(F,location.href).toString();}catch{continue}let Q=typeof uniqueSel=="function"?uniqueSel(w):"",k=typeof getNearbyContext=="function"?getNearbyContext(w):{parentTag:y,nearbyHeading:""};g.push({selector:Q,attribute:"aria-label",currentValue:"",issueType:"background_image_unlabeled",wcag:"1.1.1",context:`bg: ${U.slice(0,140)} | tag: ${y} | role: ${A||"(none)"} | parent: ${k.parentTag}${k.nearbyHeading?" | heading: "+k.nearbyHeading:""}`,needsAI:true,imageSrc:U,outerHtml:(w.outerHTML||"").slice(0,300)});}return g},og={name:"backgroundImages",cap:20,async detect(d){return d.evaluate(GI)}};var UI=()=>{let d="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye]",g=[];return document.querySelectorAll("svg").forEach(p=>{if(g.length>=50||p.closest(d)||!isVisible(p)||p.getAttribute("aria-hidden")==="true")return;let D=p.getAttribute("role");if(D==="presentation"||D==="none"||p.closest('[aria-hidden="true"]'))return;let x=p.getAttribute("aria-label")||"",S=p.getAttribute("aria-labelledby")||"",F=p.querySelector("title"),C=F?(F.textContent||"").trim():"";if(x.trim()||S.trim()||C)return;let y=p.getBoundingClientRect(),A=y.width<=16&&y.height<=16;if(y.width<=4||y.height<=4||p.getAttribute("preserveAspectRatio")==="none")return;let _=p.closest('a, button, [role="button"], [role="link"], [onclick]');if(_){if(_.getAttribute("aria-label")?.trim()||_.getAttribute("aria-labelledby")?.trim())return;let T=getAccessibleName(_),P=_.cloneNode(true);P.querySelectorAll("svg").forEach(j=>j.remove());let H=(P.textContent||"").trim().replace(/\s+/g," ");if(T&&H.length>0)return}else {if(!/^(img|graphics-document|graphics-symbol)$/i.test((D||"").trim().split(/\s+/)[0])||A)return;let T=p.parentElement;if(T&&(T.textContent||"").trim().replace(/\s+/g," ").length>3)return}let L=uniqueSel(p),I=getNearbyContext(_||p),N=_&&_.getAttribute("href")||"",M=(_||p).outerHTML.slice(0,300),V=p.getAttribute("class")||"",q=p.getAttribute("data-icon")||"",U=_||p,Q=U&&U!==p&&U.getAttribute("class")||"",k=typeof lookupIconLabel=="function"?lookupIconLabel(String(V),q,"")||lookupIconLabel(String(Q),"",""):null,v=_?uniqueSel(_):L;g.push({selector:v,attribute:"aria-label",currentValue:"",issueType:"svg_missing_name",wcag:"1.1.1",context:JSON.stringify({parentTag:(_||p).tagName?(_||p).tagName.toLowerCase():"svg",href:N,nearbyHeading:I.nearbyHeading,parentRole:I.parentRole,svgClasses:V,iconLib:k||void 0,suggestion:"Add aria-label to the parent interactive element or <title> inside SVG"}),needsAI:!k,fixValue:k||void 0,outerHtml:M});}),g},sg={name:"svgNames",cap:50,async detect(d){return d.evaluate(UI)}};var WI=()=>{let d={"line-height":1.5,"letter-spacing":.12,"word-spacing":.16},f=1e-9,g=Object.keys(d),m=30,p="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",w={px:1,pt:1.333333,pc:16,in:96,cm:37.795,mm:3.7795,q:.37795},D=k=>{let v=[];for(let T of k.split(";")){let P=T.match(/^\s*([-a-zA-Z]+)\s*:\s*(.*?)\s*$/);if(!P)continue;let H=P[1].toLowerCase();if(!g.includes(H))continue;let j=P[2],G=/!\s*important\s*$/i.test(j);j=j.replace(/!\s*important\s*$/i,"").trim(),j&&(H!=="line-height"&&/^[-+]?\d+(\.\d+)?$/.test(j)&&parseFloat(j)!==0||v.push({prop:H,value:j,important:G}));}return v},x=(k,v,T,P)=>{let H=v.trim().toLowerCase();if(/^normal$|^initial$/.test(H))return {kind:"narrow"};if(/^inherit$|^revert$|^unset$/.test(H))return {kind:"notBlocked"};if(H.startsWith("var(")||H.startsWith("calc(")||H.startsWith("env("))return {kind:"undetermined"};if(/^-?[\d.]+$/.test(H)){let ae=parseFloat(H);return k==="line-height"?{kind:"ratio",factor:ae}:{kind:"ratio",factor:0}}let j=H.endsWith("%")&&/\d/.test(H),G=j?H.slice(0,-1).trim().match(/^([\d.]+)$/):H.match(/^([\d.]+)(em|rem|vw|vh|px|pt|cm|mm|pc|in|q)$/);if(!G)return {kind:"undetermined"};let K=parseFloat(G[1]);if(j||H.endsWith("em")){let ae=P??T;return ae&&T&&isFinite(ae)&&isFinite(T)&&ae>0&&T>0?j?{kind:"ratio",factor:K/100*(ae/T)}:{kind:"ratio",factor:K*(ae/T)}:j?{kind:"ratio",factor:K/100}:{kind:"ratio",factor:K}}let Z=H.match(/(rem|vw|vh|px|pt|cm|mm|pc|in|q)$/)?.[1];if(Z==="px"||Z&&w[Z]){let ae=Z==="px"?K:K*(w[Z]||0);return T===null||!isFinite(T)||T<=0?{kind:"undetermined"}:{kind:"ratio",factor:ae/T}}return {kind:"undetermined"}},S=(k,v,T)=>{let P=k;for(;P;){let H=v.get(P);if(H){let j=H.filter(G=>G.prop===T);if(j.length){let G=j.filter(Z=>Z.important);return {decl:G.length?G[G.length-1]:j[j.length-1],from:P}}}P=P.parentElement;}return null},F=k=>{let v=k;for(;v;){let T=v.style;if(T&&(T.display==="none"||T.visibility==="hidden")||T&&(T.position==="absolute"||T.position==="fixed")&&(C(T.top)||C(T.left)))return false;if(T&&(T.overflowX==="scroll"||T.overflowX==="auto")){for(let P=k;P!==v;P=P.parentElement)if(P.style&&y(P.style.width)>=900)return false}v=v.parentElement;}return true},C=k=>{if(!k)return false;let v=k.match(/^(-)([\d.]+)(px|em|rem|vh|vw)$/i);if(!v)return false;let T=parseFloat(v[2]),P=v[3].toLowerCase();return P==="px"?T>=100:P==="em"||P==="rem"?T>=4:T>=10},y=k=>{let v=k?k.match(/^([\d.]+)px$/):null;return v?parseFloat(v[1]):0},A=[],_=[],L=new Map,I=typeof getComputedStyle=="function"?getComputedStyle:null,N=k=>{try{let v=I?I(k).fontSize:"",T=v?v.match(/^([\d.]+)px$/):null;return T?parseFloat(T[1]):null}catch{return null}},M=new Map,V=Array.from(document.querySelectorAll('[style*="important" i]'));for(let k of V)k.closest(p)||M.set(k,D(k.getAttribute("style")||""));for(let k of document.querySelectorAll("body [style]"))k.closest(p)||M.has(k)||M.set(k,D(k.getAttribute("style")||""));let q=[],U=document.createTreeWalker(document.body,1),Q=U.currentNode;for(;Q;)Array.from(Q.childNodes).some(v=>v.nodeType===3&&/\S/.test(v.textContent||""))&&!Q.closest(p)&&q.push(Q),Q=U.nextNode();for(let k of q){if(A.length>=m)break;if(F(k))for(let v of g){let T=S(k,M,v);if(!T||!T.decl.important)continue;let P=N(k),H=T.from===k?P:N(T.from)??P,j=x(v,T.decl.value,P,H);if(!(j.kind==="undetermined"||j.kind==="narrow"||j.kind==="ratio"&&j.factor+f<d[v]))continue;let K=L.get(T.from);K||(K=[],L.set(T.from,K),_.push({from:T.from,props:K})),K.includes(v)||K.push(v);}}for(let{from:k,props:v}of _){if(A.length>=m)break;let T=typeof uniqueSel=="function"?uniqueSel(k):"",P=typeof getNearbyContext=="function"?getNearbyContext(k):{parentTag:k.parentElement?.tagName.toLowerCase()||"",nearbyHeading:""},H=[];H.push("blocked: "+v.join(",")),H.push("tag: "+k.tagName.toLowerCase()),P.nearbyHeading&&H.push("heading: "+P.nearbyHeading),H.push("parent: "+P.parentTag),A.push({selector:T,attribute:"style",currentValue:(k.getAttribute("style")||"").slice(0,200),issueType:"text_spacing_blocked",wcag:"1.4.12",context:H.join(" | "),needsAI:true,outerHtml:(k.outerHTML||"").slice(0,300)});}return A},lg={name:"textSpacing",cap:30,async detect(d){return d.evaluate(WI)}};var XI=()=>{let d="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",g=[],m=document.querySelectorAll('button, input[type="submit"], input[type="button"], input[type="reset"], [role="button"]');for(let p of m){if(g.length>=50)break;if(p.closest(d)||!isVisible(p))continue;let w=p,D=w.tagName==="INPUT"?(w.getAttribute("type")||"").toLowerCase():"";if(D==="submit"||D==="reset")continue;let x=(w.getAttribute("role")||"").trim().toLowerCase().split(/\s+/)[0];if((x==="none"||x==="presentation")&&w.disabled===true)continue;let S=(w.getAttribute("aria-label")||"").trim(),F=w.getAttribute("aria-labelledby"),C=(w.getAttribute("title")||"").trim(),y=(w.getAttribute("value")||"").trim(),A=(w.textContent||"").trim().replace(/\s+/g," "),_="";F&&(_=typeof __resolveIdRefs=="function"?__resolveIdRefs(F):"");let L=w.querySelector('img[alt]:not([alt=""])'),I=w.querySelector("svg title"),N=w.querySelector("svg[aria-label]");if(!!(S||_||C||y||A||L||I||N))continue;let V=uniqueSel(w),q=getNearbyContext(w),U=w.closest("form"),Q=U&&(U.getAttribute("id")||U.getAttribute("name"))||"",k=w.getAttribute("class")||"",v=w.querySelector('i, svg, span[class*="icon"]'),T=v&&v.getAttribute("class")||"",P=v&&v.getAttribute("data-icon")||"",H=v?(v.textContent||"").trim():"",j=typeof lookupIconLabel=="function"?lookupIconLabel(String(T),P,H):null,G=!j&&typeof lookupIconLabel=="function"?lookupIconLabel(String(k),"",""):null,K=j||G,Z=[];Q&&Z.push("form: "+Q),q.nearbyHeading&&Z.push("heading: "+q.nearbyHeading),T&&Z.push("icon: "+String(T).slice(0,80)),k&&Z.push("class: "+String(k).slice(0,80)),Z.push("parent: "+q.parentTag),K&&Z.push("icon-lib: "+K),g.push({selector:V,attribute:"aria-label",currentValue:"",issueType:"unlabeled_button",wcag:"4.1.2",context:Z.join(" | "),needsAI:!K,fixValue:K||void 0,outerHtml:w.outerHTML.slice(0,300)});}return g},ug={name:"unlabeledButtons",cap:50,async detect(d){return d.evaluate(XI)}};var YI=()=>{let d=new Set(["more","info","click","click here","here","read more","learn more","see more","link","button","this"]),f=new Set(["submit","send","yes","no","next","prev","previous","back","view","details","continue","go","ok","open","close","apply","save"]),g={};function m(k){if(isWidget(k)||!isVisible(k))return;let v=getAccessibleName(k);if(!v)return;let T=v.toLowerCase().trim();g[T]=(g[T]||0)+1;}document.querySelectorAll("a[href]").forEach(k=>m(k));let p=new Set(["fa","fas","far","fab","fal","fad","material-icons","material-symbols","bi","glyphicon"]),w=["fa-","bi-","icon-","icofont-","dashicons-","heroicon","feather-","lucide-","material-"];function D(k){let v=k.toLowerCase();return p.has(v)||w.some(T=>v.startsWith(T))}let x=/[\u4e00-\u9fff\u3040-\u30ff\uac00-\ud7af]/;function S(k,v){return x.test(k)?1:v}let F=50,C=[];function y(k){if((k.textContent||"").trim().replace(/\s+/g," ").length>0)return false;let T=k.querySelectorAll("i, span, em");for(let P of T)if((typeof P.className=="string"?P.className:"").split(/\s+/).some(D))return true;return false}function A(k){let v=k.className||"";return typeof v!="string"?false:v.split(/\s+/).some(D)}function _(k){if(C.length>=F||isWidget(k)||!isVisible(k))return;let v=getAccessibleName(k);if(!v)return;let T=v.toLowerCase().trim(),P=false,H=v.length>=2&&/^[A-Z][A-Z0-9]+$/.test(v.trim()),j=/^[[(]?\d{1,4}[\])]?$/.test(v.trim());if(v.length<S(v,3)&&!H&&!j)P=true;else if(d.has(T))P=true;else if(f.has(T)&&(g[T]||0)>=2){let ee=(k.getAttribute("aria-label")||"").trim().toLowerCase(),ce=!!k.getAttribute("aria-labelledby")||!!ee&&ee!==T,ke=k.querySelector&&k.querySelector('.sr-only, .visually-hidden, [class*="sr-only"], [class*="visually-hidden"], [class*="screen-reader"]'),he=ke?(ke.textContent||"").trim().toLowerCase():"";!ce&&!(ke&&he!==T)&&(P=true);}else (y(k)||A(k)&&v.length===0)&&(k.getAttribute("aria-label")||k.getAttribute("aria-labelledby")||k.querySelector&&k.querySelector('.sr-only, .visually-hidden, [class*="sr-only"], [class*="visually-hidden"]')||(P=true));if(!P)return;let G=getNearbyContext(k),K=uniqueSel(k),Z=k.getAttribute("href")||"",ae=k.outerHTML.slice(0,300);C.push({selector:K,attribute:"aria-label",currentValue:(k.getAttribute("aria-label")||"").trim(),message:"weak link name: "+(k.getAttribute("aria-label")||k.getAttribute("aria-labelledby")?`"${v}" is too generic for a control \u2014 add distinguishing context`:`text "${v}" 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:v,href:Z,nearbyHeading:G.nearbyHeading,parentTag:G.parentTag,parentRole:G.parentRole,cardText:G.cardText||"",imgAlt:G.imgAlt||""}),needsAI:true,outerHtml:ae});}document.querySelectorAll("a[href]").forEach(k=>_(k));let L=/^(untitled(?:\s+document)?|new\s+page|new\s+document|home|page\s*\d*|document|untitled)$/i,I=/^(iframe|embed|widget|frame|content|untitled)$/i,N=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(k){return !!(!k||k.getAttribute("aria-hidden")==="true"||k.closest('[aria-hidden="true"]'))}function V(k,v,T,P,H,j){if(C.length>=F)return;let G=uniqueSel(k),K=(k.outerHTML||"").slice(0,300);C.push({selector:G,attribute:v,currentValue:T,issueType:P,wcag:H,context:JSON.stringify(j),needsAI:true,outerHtml:K});}let q=document.querySelectorAll("h1,h2,h3,h4,h5,h6");for(let k=0;k<q.length&&!(C.length>=F);k++){let v=q[k];if(!v||isWidget(v)||M(v)||!isVisible(v))continue;let T=getAccessibleName(v);if(!T)continue;let P=T.toLowerCase().trim(),H=P.split(/\s+/).filter(Boolean),j=()=>{if(!/^\p{L}$/u.test(T))return false;let Z=v.nextElementSibling;if(!Z)return false;let ae=Z.tagName.toLowerCase(),ee=[];if(ae==="dl"?ee=Array.from(Z.querySelectorAll("dt")):ae==="ul"||ae==="ol"?ee=Array.from(Z.children).filter(ke=>ke.tagName==="LI"):ae==="table"&&(ee=Array.from(Z.querySelectorAll("tbody tr, tr")).map(ke=>ke.cells&&ke.cells[0])),ee=ee.filter(Boolean),ee.length<1)return false;let ce=T.toLowerCase();return ee.every(ke=>(ke.textContent||"").trim().toLowerCase().startsWith(ce))},G=false;if(T.length<S(T,3)?G=!j():(H.length===1&&(d.has(P)||N.has(P))||/^page\s*\d+$/i.test(P)||/^section\s*\d+$/i.test(P)||/^chapter\s*\d+$/i.test(P)||/^[^\p{L}\p{N}]+$/u.test(T))&&(G=true),!G)continue;let K=getNearbyContext(v);V(v,"textContent",T,"weak_heading","2.4.6",{currentText:T,tag:v.tagName.toLowerCase(),nearbyHeading:K.nearbyHeading,parentTag:K.parentTag,parentRole:K.parentRole});}let U=document.querySelectorAll("iframe");for(let k=0;k<U.length&&!(C.length>=F);k++){let v=U[k];if(!v||isWidget(v)||M(v))continue;let T=getComputedStyle(v);if(v.getClientRects().length===0||T.visibility==="hidden"||T.visibility==="collapse"||(v.getAttribute("src")||"").trim().toLowerCase().indexOf("javascript:")===0)continue;let P=(v.getAttribute("title")||"").trim();if(!P)continue;let H=P.toLowerCase(),j=false;if((P.length<S(P,3)||I.test(H)||d.has(H))&&(j=true),!j)continue;let G=(v.getAttribute("src")||"").slice(0,120),K=getNearbyContext(v);V(v,"title",P,"weak_iframe_title","4.1.2",{currentTitle:P,src:G,nearbyHeading:K.nearbyHeading,parentTag:K.parentTag});}if(C.length<F){let k=document.querySelector("head > title, title"),v=(document.title||"").trim();if(k&&v){let T=v.toLowerCase(),P=false;(v.length<S(v,5)||L.test(T)||/^untitled/i.test(v))&&(P=true),P&&C.push({selector:"title",attribute:"textContent",currentValue:v,issueType:"weak_page_title",wcag:"2.4.2",context:JSON.stringify({currentTitle:v,hostname:typeof location<"u"&&location&&location.hostname||"",pathname:typeof location<"u"&&location&&location.pathname||""}),needsAI:true,outerHtml:(k.outerHTML||"").slice(0,300)});}}let Q=document.querySelectorAll("svg");for(let k=0;k<Q.length&&!(C.length>=F);k++){let v=Q[k];if(!v||isWidget(v)||M(v)||v.getAttribute("role")==="presentation"||v.getAttribute("role")==="none"||!isVisible(v))continue;let T=v.querySelector("title"),P=T?(T.textContent||"").trim():"",H=(v.getAttribute("aria-label")||"").trim(),j=H||P;if(!j)continue;let G=j.toLowerCase(),K=false;if((j.length<S(j,3)||d.has(G)||/^(icon|svg|image|graphic|logo)$/i.test(j))&&(K=true),!K)continue;let Z=v.closest('a, button, [role="button"], [role="link"]'),ae=getNearbyContext(v);V(v,H?"aria-label":"title",j,"weak_svg_name","1.1.1",{currentName:j,svgClasses:v.getAttribute("class")||"",parentTag:Z?Z.tagName.toLowerCase():ae.parentTag,parentHref:Z&&Z.getAttribute("href")||"",nearbyHeading:ae.nearbyHeading});}return C},cg={name:"weakNames",cap:50,async detect(d){return d.evaluate(YI)}};var KI=()=>{let f=[],g=document.querySelector('meta[name="viewport"]');if(g){let p=(g.getAttribute("content")||"").trim(),w=p.toLowerCase(),D=false,x=[];(w.indexOf("user-scalable=no")>=0||w.indexOf("user-scalable=0")>=0)&&(D=true,x.push("user-scalable=no blocks pinch-zoom"));let S=["yes","no","device-width","device-height"],F=w.match(/user-scalable\s*=\s*([a-z][a-z-]*)/);F&&S.indexOf(F[1])<0&&(D=true,x.push("user-scalable="+F[1]+" (invalid, parsed as 0)"));let C=w.match(/maximum-scale\s*=\s*([a-z][a-z-]*)/);C&&S.indexOf(C[1])<0&&(D=true,x.push("maximum-scale="+C[1]+" (invalid, parsed as 0)"));let y=w.match(/maximum-scale\s*=\s*([\d.]+)/);y&&parseFloat(y[1])<2&&(D=true,x.push("maximum-scale="+y[1]+" (<2)")),D&&f.push({selector:'meta[name="viewport"]',attribute:"content",currentValue:p,issueType:"zoom_restriction",wcag:"1.4.4",context:"viewport blocks zoom: "+x.join(" | "),needsAI:false,fixValue:"width=device-width, initial-scale=1"});}let m=[{el:document.documentElement,selector:"html"},{el:document.body,selector:"body"}];for(let p=0;p<m.length&&!(f.length>=5);p++){let w=m[p];if(w.el)try{let x=(getComputedStyle(w.el).getPropertyValue("touch-action")||"").trim().toLowerCase();(x==="none"||x==="pinch-zoom")&&f.push({selector:w.selector,attribute:"style",currentValue:"touch-action: "+x,issueType:"zoom_restriction",wcag:"1.4.4",context:"CSS touch-action: "+x+" on <"+w.selector+"> prevents pinch-zoom",needsAI:!1,fixValue:"touch-action: manipulation !important;"});}catch{}}return f},dg={name:"zoomUnlock",cap:5,async detect(d){return d.evaluate(KI)}};var JI=()=>{let f=[],g=document.body?document.body.querySelectorAll("*"):[];for(let m=0;m<g.length&&f.length<10;m++){let p=g[m],w=p.tagName.toLowerCase();if(w==="script"||w==="style"||w==="svg"||w==="textarea"||w==="select")continue;let D="";for(let M=p.firstChild;M;M=M.nextSibling)M.nodeType===3&&(D+=M.nodeValue);if(!D.replace(/\s+/g,"").length)continue;let x=getComputedStyle(p);if(x.display==="none"||x.visibility==="hidden"||x.display==="contents")continue;let S=x.overflowX,F=x.overflowY,C=S==="hidden"||S==="clip",y=F==="hidden"||F==="clip";if(!C&&!y||p.closest('[aria-hidden="true"],[hidden],[inert]'))continue;let A=p.clientWidth,_=p.clientHeight;if(_<=1||A<=1)continue;let L=x.webkitLineClamp||x.getPropertyValue("-webkit-line-clamp");if(L&&L!=="none")continue;let I="";if(y&&p.scrollHeight>_+2?I="height "+_+"px < content "+p.scrollHeight+"px":C&&x.textOverflow!=="ellipsis"&&p.scrollWidth>A+2&&(I="width "+A+"px < content "+p.scrollWidth+"px"),!I){let M=parseFloat(x.fontSize);if(!(M>0))continue;let V=p.style.getPropertyValue("font-size"),q=p.style.getPropertyPriority("font-size");p.style.setProperty("font-size",M*2+"px","important");let U=p.clientHeight,Q=p.clientWidth;y&&U>1&&p.scrollHeight>U+2?I="at 200%: height "+U+"px < content "+p.scrollHeight+"px":C&&x.textOverflow!=="ellipsis"&&Q>1&&p.scrollWidth>Q+2&&(I="at 200%: width "+Q+"px < content "+p.scrollWidth+"px"),V?p.style.setProperty("font-size",V,q):p.style.removeProperty("font-size");}if(!I)continue;let N=typeof uniqueSel=="function"?uniqueSel(p):w;f.push({selector:N,attribute:"style",currentValue:(p.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:(p.outerHTML||"").slice(0,300)});}return f},fg={name:"textClip",cap:10,async detect(d){return d.evaluate(JI)}};var ZI=()=>{let d=[],f=document.querySelectorAll('main *, [role="main"] *, body > div *'),g=new Set,m=Math.min(f.length,200);for(let p=0;p<m;p++){let w=f[p];if(g.has(w)||!w.offsetParent)continue;g.add(w);let D=getComputedStyle(w),x=parseInt(D.order||"0",10),S=D.position;if(x>=3){let F=w.getBoundingClientRect();if(F.width>0&&F.height>0){let C=(w.textContent?.trim().length||0)>10,y=!!w.querySelector("a, button, input, select, textarea");(C||y)&&d.push({selector:typeof uniqueSel=="function"?uniqueSel(w):w.tagName.toLowerCase(),attribute:"data-sequence-review",currentValue:`CSS order: ${x}`,issueType:"meaningful_sequence",wcag:"1.3.2",context:`Element uses CSS order:${x} \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(S==="absolute"){if(!!!w.querySelector("a, button, input, select, textarea"))continue;let C=w.parentElement;if(!C||C.children.length<=2)continue;let y=w.getBoundingClientRect(),A=C.getBoundingClientRect();(y.top<A.top-100||y.left<A.left-300)&&d.push({selector:typeof uniqueSel=="function"?uniqueSel(w):w.tagName.toLowerCase(),attribute:"data-sequence-review",currentValue:`position: ${S}, 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 d},pg={name:"meaningfulSequence",async detect(d){return d.evaluate(ZI)}};var mg={name:"sensoryCharacteristics",async detect(d){let{instructionalTexts:f,controlLabels:g,navCount:m,labelTexts:p}=await d.evaluate(()=>{let x=[],S=document.querySelectorAll('p, li, td, label, span, div, a, button, h1, h2, h3, h4, h5, h6, figcaption, [role="alert"], [role="status"]'),F=Math.min(S.length,300),C=[];document.querySelectorAll('button, a[href], [role="button"], input[type="button"], input[type="submit"]').forEach(L=>{let I=((L.textContent||"")+" "+(L.getAttribute("aria-label")||"")+" "+(L.getAttribute("value")||"")).trim().toLowerCase();I&&C.push(I);});let y=L=>!!L.offsetParent||getComputedStyle(L).position==="fixed",A=Array.from(document.querySelectorAll('nav, [role="navigation"]')).filter(y).length,_=[];document.querySelectorAll('h1, h2, h3, h4, h5, h6, nav, [role="navigation"], [role="menu"], [role="menubar"], [aria-label], summary, button, a, legend').forEach(L=>{if(!y(L))return;let I=((L.getAttribute("aria-label")||"")+" "+(L.tagName.match(/^(H\d|SUMMARY|BUTTON|A|LEGEND)$/)&&L.textContent||"")).trim().toLowerCase();I&&I.length<=60&&_.push(I);});for(let L=0;L<F;L++){let I=S[L];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 N=I.textContent?.trim()||"";N.length<15||N.length>300||/click|tap|press|select|choose|find|look|see|drag|scroll|hover|go to|navigate/i.test(N)&&x.push({text:N,selector:typeof uniqueSel=="function"?uniqueSel(I):I.tagName.toLowerCase()});}return {instructionalTexts:x.slice(0,20),controlLabels:C,navCount:A,labelTexts:_}});if(f.length===0)return [];let w=[],D=x=>{let S=(x.toLowerCase().match(/\b(navigation|menu)\b/)||[])[1];return S?m===1?true:p.some(F=>F.indexOf(S)!==-1):false};for(let{text:x,selector:S}of f){x.toLowerCase();let C=/\b(round|square|circular|triangular|arrow-shaped)\b.*\b(button|icon|element|thing)\b/i.test(x)&&!/\b(submit|cancel|close|menu|search|delete|edit|save|back|next|previous|home)\b/i.test(x),y=/\b(header|footer|sidebar menu|breadcrumb)\b/i.test(x)||D(x),A=/\b(on the|to the|in the)\s+(left|right|top|bottom|upper|lower|above|below|sidebar)\b/i.test(x)&&!y&&/\b(click|tap|press|select|find)\b/i.test(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(x)&&!/\b(submit|cancel|close|delete|save|success|error|warning|danger)\b/i.test(x),L=/\b(large|small|big|tiny|narrow|wide)\s+(button|link|icon|box|area)\b/i.test(x)&&/\b(click|tap|press|select|find)\b/i.test(x),I=/\b(?:labell?ed|called|named|titled)\s+["'“‘]/i.test(x),N=(x.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=!!N&&g.some(V=>V.indexOf(N.toLowerCase())!==-1);if(!(I||M)&&(C||A||_||L)){let V=C?"shape":A?"position":_?"color":"size";w.push({selector:S,attribute:"data-sensory-review",currentValue:x.slice(0,100),issueType:"sensory_characteristic",wcag:"1.3.3",context:`Instruction relies on ${V} alone: "${x.slice(0,80)}". Provide a non-sensory way to identify the referenced element (e.g., by name, label, or function).`,needsAI:true});}}return w}};var QI=()=>{let d=[],f=document.querySelectorAll("img");for(let g of f){if(!g.offsetParent||g.width<50||g.height<20||g.complete&&g.naturalWidth===0)continue;let m=g.src||g.getAttribute("data-src")||"",p=m.indexOf(","),w=(m.toLowerCase().startsWith("data:")&&p!==-1?m.slice(0,p):m).toLowerCase(),D=g.getAttribute("alt")||"",x=g.getAttribute("role")||"";if(g.getAttribute("aria-hidden")==="true"||!!g.closest('[aria-hidden="true"]')||x==="presentation"||x==="none"||g.hasAttribute("alt")&&D.trim()==="")continue;let F=g.width>200&&g.height<80&&g.height>15,C=/banner|header|logo-text|title|heading|cta|promo|offer|button.*\.(?:png|jpg|gif|webp)/i.test(w);if(!(C||F)||/(?:^|\/)(?:img|dsc|dscn|dcim|pict)[-_]?\d|photo|gallery/i.test(w)&&!C)continue;let A=g.closest("a[href]"),_=(()=>{if(!A)return false;let Q=A.getAttribute("href")||"";if(Q==="/"||Q==="")return true;try{let k=new URL(A.href,location.href);return k.origin!==location.origin?!1:!!(k.pathname.replace(/\/+$/,"")===""||/^\/(?:index|home|default)(?:\.\w+)?$/i.test(k.pathname)||/^\/[a-z]{2}(?:-[a-z]{2})?(?:\.\w+)?$/i.test(k.pathname))}catch{return false}})();if(_&&(A.textContent||"").trim().length===0)continue;let I="";if(A&&!_&&(A.textContent||"").trim().length===0)try{let Q=new URL(A.href,location.href),k=D.trim().split(/\s+/).filter(Boolean);if(Q.origin!==location.origin&&/^https?:$/.test(Q.protocol)&&k.length>0&&k.length<=4&&D.trim().length<=40){let v=G=>G.toLowerCase().normalize("NFKD").replace(/[^\p{L}\p{N}]/gu,""),T=v(D),P=Q.hostname.toLowerCase().split(".").filter(G=>G&&G!=="www"),H=(P.length>1?P.slice(0,-1):P).map(v).filter(Boolean);I=T.length>=3&&(T===v(P.join(""))||T===H.join("")||H.some(G=>T===G||G.length>=5&&T.startsWith(G)))?"exempt":"review";}}catch{}let N=!!g.closest('header, [role="banner"], footer, [role="contentinfo"]'),M=g.height>0&&g.height<=120,V=N&&M,q=/logo|brand|wordmark|hero|banner-?(?:img|image)?|footer|marketing|promo|cover|screenshot|dashboard/i,U=V||q.test(w)||q.test(g.className)||q.test(g.getAttribute("id")||"");w.includes("icon")||w.includes("avatar")||w.includes("emoji")||d.push({selector:typeof uniqueSel=="function"?uniqueSel(g):"img",attribute:"data-image-of-text",currentValue:w.split("/").pop()?.slice(0,60)||"",issueType:"image_of_text",wcag:"1.4.5",context:`Image may contain text (${g.width}x${g.height}px, alt="${D.slice(0,40)}"). Use real text with CSS styling instead.`,needsAI:true,imageSrc:g.src,...U||I?{needsReview:true,reviewReason:V?"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 d},hg={name:"imagesOfText",async detect(d){return d.evaluate(QI)}};var gg={name:"reflow",async detect(d){let f=d;if(!f.setViewport)return [];let g=f.viewport?.()??{width:1280,height:720},m=g.width??1280,p=g.height??720;try{return await f.setViewport({width:320,height:p}),await new Promise(D=>setTimeout(D,500)),await d.evaluate(D=>{let x=[],S=document.querySelectorAll("body *"),F=Math.min(S.length,500);for(let C=0;C<F;C++){let y=S[C];if(!y.offsetParent)continue;let A=y.tagName.toLowerCase();if(A==="script"||A==="style"||A==="noscript")continue;let _=y.getBoundingClientRect();_.right>D+5&&_.width>D*1.1&&x.push({selector:typeof uniqueSel=="function"?uniqueSel(y):A,attribute:"style",currentValue:`${Math.round(_.width)}px wide at ${D}px viewport`,issueType:"reflow_overflow",wcag:"1.4.10",context:`Element is ${Math.round(_.width)}px wide and overflows the ${D}px viewport by ${Math.round(_.right-D)}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>D+10&&x.push({selector:"html",attribute:"data-reflow",currentValue:`scrollWidth ${document.documentElement.scrollWidth}px at ${D}px viewport`,issueType:"reflow_overflow",wcag:"1.4.10",context:`Page has horizontal scrollbar at ${D}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"}),x},320)}finally{await f.setViewport({width:m,height:p}).catch(()=>{});}}};var eL=()=>{let d=[],f=document.querySelectorAll("video");for(let m of f){if(m.autoplay&&!m.muted&&d.push({selector:typeof uniqueSel=="function"?uniqueSel(m):"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"}),!(m.offsetParent!==null&&getComputedStyle(m).display!=="none"))continue;let w=m.getBoundingClientRect();if(w.width===0&&w.height===0||m.error)continue;let D=/mute|unmute|sound|volume|audio|play|pause/i,x=!!m.parentElement?.querySelector('button, [role="button"]')||!!m.getAttribute("id")&&!!document.querySelector('[aria-controls~="'+(m.getAttribute("id")||"").replace(/"/g,"")+'"]');for(let _=m.parentElement?.parentElement||null,L=0;_&&!x&&L<3;_=_.parentElement,L++)x=Array.from(_.querySelectorAll('button, [role="button"]')).some(I=>D.test((I.getAttribute("aria-label")||"")+" "+(I.getAttribute("title")||"")+" "+(I.textContent||"")));if((m.muted||m.hasAttribute("muted"))&&(m.loop||m.hasAttribute("loop"))&&!m.hasAttribute("controls")&&!x)continue;let S=m.querySelectorAll("track"),F=Array.from(S).find(_=>_.kind==="captions"||_.kind==="subtitles"),C=Array.from(S).find(_=>_.kind==="descriptions");m.src||m.querySelector("source")?.src||"";let A=typeof uniqueSel=="function"?uniqueSel(m):"video";F||d.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)"}),C||d.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 g=document.querySelectorAll("audio");for(let m of g){let p=typeof uniqueSel=="function"?uniqueSel(m):"audio";m.closest("figure, div, section")?.querySelector('a[href*="transcript"], [class*="transcript"]')||d.push({selector:p,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}),m.autoplay&&!m.muted&&d.push({selector:p,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 d},vg={name:"mediaAlternatives",cap:50,async detect(d){return (await d.evaluate(eL)).slice(0,50)}};var tL=()=>{let d=[],f=document.querySelector('meta[http-equiv="refresh"]');if(f){let k=f.getAttribute("content")||"",v=parseInt(k,10);!isNaN(v)&&v>0&&v<72e3&&d.push({selector:`meta[http-equiv="refresh"][content*="${k.trim().slice(0,20)}"]`,attribute:"data-auto-refresh",currentValue:k,issueType:"auto_refresh",wcag:"2.2.1",context:`Page auto-refreshes after ${v}s. Users must be able to turn off, adjust, or extend time limits (WCAG 2.2.1).`,needsAI:false,manualFix:true});}let g=document.querySelectorAll("[accesskey]");for(let k of g){let v=k.getAttribute("accesskey")||"";if(v.length===1){let T=typeof uniqueSel=="function"?uniqueSel(k):k.tagName.toLowerCase();d.push({selector:T,attribute:"accesskey",currentValue:v,issueType:"character_key_shortcut",wcag:"2.1.4",context:`Single character accesskey "${v}". 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 m=document.querySelectorAll("select");for(let k of m){let v=k.hasAttribute("onchange"),T=k.getAttribute("onchange")||"";if(v&&/submit|location|href|navigate|window\./i.test(T)){let P=typeof uniqueSel=="function"?uniqueSel(k):"select";d.push({selector:P,attribute:"onchange",currentValue:T.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 p=document.querySelectorAll("[ontouchstart], [ontouchmove], [ongesturestart], [ongesturechange]");for(let k of p)if(!(k.hasAttribute("onclick")||k.hasAttribute("onkeydown")||k.hasAttribute("onkeyup"))){let T=typeof uniqueSel=="function"?uniqueSel(k):k.tagName.toLowerCase();d.push({selector:T,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 w=document.querySelectorAll("[onmousedown]");for(let k of w){let v=k.hasAttribute("onmouseup"),T=k.tagName.toLowerCase();if(!v&&T!=="a"&&T!=="button"&&T!=="input"){let P=typeof uniqueSel=="function"?uniqueSel(k):T;d.push({selector:P,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 D=/devicemotion|deviceorientation|accelerometer|gyroscope/i,x=/addEventListener\(\s*['"](?:devicemotion|deviceorientation)['"]\s*,\s*(?:\(\s*\)\s*=>|function\s*\(\s*\))\s*\{\s*(?:[A-Za-z_$][\w$]*\s*(?:\+\+|--)\s*;?\s*)+\}\s*\)/gi,S=/addEventListener\(\s*['"](?:click|keydown|keyup|input|change|pointerup|touchend)['"]/i,F=/(?: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 C(){let k=document.querySelectorAll('label, button, [role="button"], [role="switch"], input[type="button"], input[type="checkbox"]');for(let v of Array.from(k)){let T=(v.textContent||"")+" "+(v.getAttribute("aria-label")||"")+" "+(v.getAttribute("value")||"");if(F.test(T))return true}return false}function y(k){return !D.test(k.replace(x,""))||S.test(k)?true:C()}let A=document.querySelectorAll("script:not([src]):not([data-wa-injected])");for(let k of A){let v=k.textContent||"";if(D.test(v)&&!y(v)){let T=[],P=k;for(;P&&P!==document.body&&P!==document.documentElement;){let G=P.parentElement,K=P.tagName.toLowerCase(),Z=G?Array.from(G.children).filter(ee=>ee.tagName===P.tagName):[],ae=Z.indexOf(P)+1;T.unshift(ae>1||Z.length>1?K+":nth-of-type("+ae+")":K),P=G;}let H=P===document.body?"body":P===document.documentElement?"html":"",j=(H?H+" > ":"")+T.join(" > ");d.push({selector:j||"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 _=document.querySelectorAll("form"),L='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,N=/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,V=/\b(?:delete|remove|close|deactivate|cancel|terminate)\b[^.]{0,30}\b(?:account|profile|subscription|membership|data|records?)\b/i,q=/\b(?:e-?)?sign\b(?![\s\u00a0-]*(?:up|in|on|out)\b)|\bagree and (?:submit|continue|sign)\b/i,U=/\b(?:save|update|change)\b/i,Q=/e-?mail|name|phone|tel\b|zip|postal|company|organi[sz]ation|country/i;for(let k of _){let v=Array.from(k.querySelectorAll(L)),T=$e=>[$e.getAttribute("name"),$e.getAttribute("id"),$e.getAttribute("autocomplete"),$e.getAttribute("placeholder"),$e.getAttribute("aria-label")].join(" "),P=Array.from(k.querySelectorAll('button, input[type="submit"], input[type="image"]')).filter($e=>$e.tagName!=="BUTTON"||!$e.getAttribute("type")||($e.getAttribute("type")||"").toLowerCase()==="submit").map($e=>($e.getAttribute("value")||"")+" "+($e.textContent||"")+" "+($e.getAttribute("aria-label")||"")).join(" . "),H=v.some($e=>I.test(T($e)))||Array.from(k.querySelectorAll("iframe")).some($e=>N.test(($e.getAttribute("title")||"")+" "+($e.getAttribute("name")||""))),j=v.some($e=>/signature/i.test(T($e))),G=H||M.test(P),K=V.test(P),Z=j||q.test(P),ae=v.length>0&&v.some($e=>($e.getAttribute("type")||"").toLowerCase()==="email"||/e-?mail/i.test(T($e)))&&v.every($e=>{let Nt=$e.tagName.toLowerCase()==="input"?($e.getAttribute("type")||"text").toLowerCase():$e.tagName.toLowerCase();return Nt==="email"||Nt==="checkbox"||Nt==="tel"?true:Nt==="text"||Nt==="search"?Q.test(T($e)+" "+($e.closest("label")?.textContent||"")):false}),ee=(k.textContent||"").toLowerCase(),ce=/payment|credit card|billing|purchase|\border\b|checkout|bank|account number/i.test(ee),ke=/\bagree|terms|contract|binding|signature|consent|waiver/i.test(ee),he=/delete.*account|remove.*data|cancel.*account/i.test(ee),Te=G||K||Z,Ge=ae&&(U.test(P)||he),Be=!Te&&(!ae&&(ce||ke||he)||Ge);if(!Te&&!Be)continue;let we=!!k.querySelector('[type="checkbox"][required], [class*="confirm"], [id*="confirm"], [name*="confirm"]'),_e=!!k.querySelector('[class*="review"], [class*="summary"], [id*="review"]');if(we||_e)continue;let Rt=typeof uniqueSel=="function"?uniqueSel(k):"form",dt=Te?G?"financial":K?"data-deletion":"legal":Ge?he?"data-deletion":"data-modification":ce?"financial":ke?"legal":"data-deletion";d.push({selector:Rt,attribute:"data-error-prevention",currentValue:dt,issueType:"error_prevention_missing",wcag:"3.3.4",context:`${dt.charAt(0).toUpperCase()+dt.slice(1)} form lacks a confirmation/review step. For ${dt} transactions, provide: (1) a review step before submission, (2) ability to check/correct input, or (3) ability to reverse the submission.`,needsAI:true,...Be?{needsReview:true,reviewReason:Ge&&he?"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 ${dt} topics but its controls show no ${dt} transaction (no payment fields, pay/order/delete submit, or signature) \u2014 confirm whether submitting it commits the user`}:{}});}return d},bg={name:"timingAndInput",async detect(d){return d.evaluate(tL)}};var rL=()=>{let d=[],f=document.querySelectorAll('nav, [role="navigation"]');for(let p of f){if(!p.offsetParent||p.closest('footer, aside, [role="contentinfo"], [role="complementary"]')||p.parentElement?.closest('nav, [role="navigation"]'))continue;let w=p.getBoundingClientRect();if(w.top<=window.innerHeight)continue;let D=typeof uniqueSel=="function"?uniqueSel(p):"nav";d.push({selector:D,attribute:"data-nav-position",currentValue:`top: ${Math.round(w.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 g=document.querySelectorAll('[class*="blink" i], [class*="flash" i], [class*="strobe" i], blink, marquee');for(let p of g){if(!p.offsetParent)continue;let w=p.getBoundingClientRect();if(w.width<1||w.height<1||!(p.textContent||"").trim()&&!p.querySelector("img, svg, video, canvas, picture")&&getComputedStyle(p).backgroundImage==="none")continue;let D=typeof uniqueSel=="function"?uniqueSel(p):p.tagName.toLowerCase();d.push({selector:D,attribute:"data-flashing",currentValue:p.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 m=document.querySelectorAll('img[src*=".gif"]');for(let p of m){if(!p.offsetParent||p.width<25||p.height<25)continue;let w=p.getBoundingClientRect();if(w.width>100&&w.height>100){let D=typeof uniqueSel=="function"?uniqueSel(p):"img";d.push({selector:D,attribute:"data-animated-gif",currentValue:(p.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 d},yg={name:"navigationAndWayfinding",async detect(d){return d.evaluate(rL)}};var wg={name:"flashDetection",async detect(d){let f=[];if(!d.screenshot)return f;let m=await d.evaluate(()=>{let C=document.documentElement.style.getPropertyValue("--wa-animations-frozen")==="1";if(C){let y=document.querySelectorAll("*");for(let A of y)A.style.removeProperty("animation-play-state"),A.style.removeProperty("transition");}return C}),p=8,w=120,D=9,x=3,S=[];for(let F=0;F<p;F++){let C=await d.evaluate(y=>{let A=window.innerWidth,_=window.innerHeight,L=3,I=3,N=[];for(let M=0;M<I;M++)for(let V=0;V<L;V++){let q=Math.floor((V+.5)*(A/L)),U=Math.floor((M+.5)*(_/I)),Q=document.elementFromPoint(q,U);if(!Q){N.push(0);continue}let v=getComputedStyle(Q).backgroundColor||"rgba(0,0,0,0)",T=typeof parseCssColor=="function"?parseCssColor(v):null;if(!T){N.push(0);continue}let P=.2126*T[0]+.7152*T[1]+.0722*T[2];N.push(P);}return N},D);S.push(C),F<p-1&&await new Promise(y=>setTimeout(y,w));}m&&await d.evaluate(()=>{let F=document.querySelectorAll("*");for(let C of F)C.style.setProperty("animation-play-state","paused","important"),C.style.setProperty("transition","none","important");});for(let F=0;F<D;F++){let C=0,y=S[0][F],A=null;for(let I=1;I<p;I++){let N=S[I][F];if(Math.abs(N-y)>25){let V=N>y?"up":"down";A&&V!==A&&C++,A=V;}y=N;}let _=p*w/1e3,L=C/_;if(L>=x){let I=F%3,N=Math.floor(F/3);f.push({selector:"body",attribute:"data-flash-detected",currentValue:`${L.toFixed(1)} flashes/sec in region (${I},${N})`,issueType:"flashing_content",wcag:"2.3.1",context:`Content flashes ${L.toFixed(1)} times/second in screen region (row ${N}, 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 f}};var xg={name:"reducedMotion",async detect(d){let f=[],g=await d.evaluate(()=>{let m=false,p=false;for(let D of document.styleSheets)try{for(let x of D.cssRules){let S=x.cssText||"";/animation|transition|@keyframes/i.test(S)&&!/prefers-reduced-motion/.test(S)&&(m=!0),x instanceof CSSMediaRule&&/prefers-reduced-motion/i.test(x.conditionText||x.media?.mediaText||"")&&(p=!0);}}catch{}let w=document.querySelectorAll('[class*="animate"], [class*="slide"], [class*="fade"], [class*="bounce"], [class*="spin"], [class*="pulse"]');return w.length>0&&(m=true),{hasAnimations:m,hasReducedMotionQuery:p,animatedCount:w.length}});return g.hasAnimations&&!g.hasReducedMotionQuery&&f.push({selector:"html",attribute:"data-reduced-motion",currentValue:`${g.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; } }"}),f}};var nL=()=>{let d="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",g=[],m=/^(0+(\.0+)?|false|off|no|none|disabled?)$/i,p=v=>v!==null&&!m.test(v.trim()),w=v=>{let T=parseFloat((v||"").trim());return Number.isFinite(T)&&T>0},D=/^(carousel|slider|slideshow|slides|slick|swiper|splide|flickity|owl|flexslider|glide|layerslider|ls|rotator|gallery)$/i,x=v=>v.split(/[\s_-]+/).filter(Boolean),S=v=>{if((v.getAttribute("aria-roledescription")||"").trim().toLowerCase()==="carousel")return true;let T=typeof v.className=="string"?v.className:v.getAttribute("class")||"";return x(T).some(P=>D.test(P))},F=/^(autoplay|autoPlay|auto_play|autoStart|autostart|auto_start)$/,C=v=>{let T=v.trim();if(!T.startsWith("{"))return "";let P;try{P=JSON.parse(T);}catch{try{P=JSON.parse(T.replace(/'/g,'"'));}catch{return ""}}if(!P||typeof P!="object")return "";for(let H of Object.keys(P)){if(!F.test(H))continue;let j=P[H];if(j===true||typeof j=="number"&&j>0||typeof j=="string"&&p(j)&&j.trim()!==""||j&&typeof j=="object")return `${H}: ${JSON.stringify(j).slice(0,40)}`}return ""},y=v=>{for(let H of ["data-autoplay","data-auto","data-autostart","data-bs-autoplay","data-auto-play"]){if(!v.hasAttribute(H))continue;let j=v.getAttribute(H)||"";if((j.trim()===""||p(j))&&(S(v)||U(v)>=2))return {attr:H,value:j}}let T=["data-interval","data-bs-interval"].some(H=>v.hasAttribute(H)&&m.test((v.getAttribute(H)||"").trim()));for(let H of ["data-ride","data-bs-ride"])if((v.getAttribute(H)||"").trim().toLowerCase()==="carousel"&&!T)return {attr:H,value:"carousel"};for(let H of ["data-interval","data-bs-interval"]){let j=v.getAttribute(H);if(w(j)&&S(v))return {attr:H,value:j||""}}let P=S(v);for(let H of Array.from(v.attributes)){if(!H.name.startsWith("data-")||!P&&!x(H.name.slice(5)).some(G=>D.test(G)))continue;let j=C(H.value);if(j)return {attr:H.name,value:j}}if((v.getAttribute("aria-roledescription")||"").trim().toLowerCase()==="carousel"){let H=/autoplay["']?\s*[:=]\s*["']?(false|0|off|no)\b/i;for(let j of Array.from(v.attributes)){if(/(^|-)autoplay$/i.test(j.name)&&(j.value.trim()===""||p(j.value)))return {attr:j.name,value:j.value.slice(0,60)};if(/autoplay/i.test(j.value)&&!H.test(j.value))return {attr:j.name,value:j.value.slice(0,60)}}}return null},A=/^(pause|stop|play|playpause|resume)$/i,_=/\b(pause|stop|play|resume)\b/i,L=v=>{let T=[v.getAttribute("aria-label")||"",v.getAttribute("title")||"",v.getAttribute("value")||"",(v.textContent||"").trim().slice(0,80)],P=(v.getAttribute("aria-labelledby")||"").trim();if(P)for(let H of P.split(/\s+/))T.push(document.getElementById(H)?.textContent||"");for(let H of Array.from(v.querySelectorAll("img[alt]")))T.push(H.getAttribute("alt")||"");return T.join(" ")},I=v=>{let T=v.getAttribute("class")||"";return x(T).some(P=>A.test(P))?true:v.matches('a, button, input, [role="button"], [role="switch"], [role="checkbox"], [tabindex]')?_.test(L(v)):false},N=/^(section|article|main|nav|aside|header|footer|form|dialog)$/i,M=v=>S(v)||y(v)!==null||Array.from(v.querySelectorAll("*")).some(T=>S(T)||y(T)!==null),V=v=>{if(v.querySelector("[aria-pressed]"))return true;let T=[v];for(let j of Array.from(v.parentElement?.children||[]))j===v||N.test(j.tagName)||M(j)||T.push(j);let P=v.getAttribute("id"),H=j=>{let G=[...(j.getAttribute("aria-controls")||"").split(/\s+/),(j.getAttribute("data-bs-target")||j.getAttribute("data-target")||"").replace(/^#/,"")].filter(Boolean);return G.length>0&&!G.includes(P||"")};for(let j of T){if(j!==v&&I(j)&&!H(j))return true;for(let G of Array.from(j.querySelectorAll("*")))if(I(G)&&!H(G))return true}if(P){let j=typeof CSS<"u"&&CSS.escape?CSS.escape(P):P.replace(/["\\]/g,"\\$&");for(let G of Array.from(document.querySelectorAll(`[aria-controls~="${j}"], [data-target="#${j}"], [data-bs-target="#${j}"]`)))if(I(G))return true}return false},q=/^(slide|cell)$/i,U=v=>{let T=G=>x(G.getAttribute("class")||"").some(K=>q.test(K))&&!/(^|[\s_-])cloned?([\s_-]|$)/i.test(G.getAttribute("class")||""),P=Array.from(v.querySelectorAll("[class]")).filter(T),H=P.filter(G=>!P.some(K=>K!==G&&K.contains(G)));if(!H.length)return 0;let j=H.length;for(let G of H){let K=Array.from(G.parentElement?.children||[]).filter(Z=>Z.tagName===G.tagName&&!/(^|[\s_-])cloned?([\s_-]|$)/i.test(Z.getAttribute("class")||""));j=Math.max(j,K.length);}return j},Q=new Set,k=(v,T)=>{if(g.length>=10||Q.has(v)||(Q.add(v),v.closest(d))||v.closest('[aria-hidden="true"], [hidden], template, noscript')||typeof isVisible=="function"&&!isVisible(v)||U(v)===1||V(v))return;let P=typeof uniqueSel=="function"?uniqueSel(v):v.tagName.toLowerCase();g.push({selector:P,attribute:T.attr,currentValue:T.value.slice(0,100),issueType:"carousel_autoplay_no_pause",wcag:"2.2.2",context:`slider markup declares autoplay (${T.attr}="${T.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:v.cloneNode(false).outerHTML.slice(0,300)});};for(let v of Array.from(document.body?document.body.querySelectorAll("*"):[])){if(g.length>=10)break;if(!v.attributes.length)continue;if(v.hasAttribute("data-swiper-autoplay")&&w(v.getAttribute("data-swiper-autoplay"))){let P=v.closest('.swiper, .swiper-container, [class*="swiper"]:not(.swiper-slide):not(.swiper-wrapper)')||v.parentElement?.parentElement||v;k(P,{attr:"data-swiper-autoplay",value:v.getAttribute("data-swiper-autoplay")||""});continue}let T=y(v);T&&k(v,T);}return g},Dg={name:"carouselAutoplay",cap:10,async detect(d){return d.evaluate(nL)}};var Lg=[cg,tg,sg,Rh,Uh,Gh,Oh,ng,Hh,ug,Vh,ig,Fh,eg,Wh,qh,Jh,zh,Qh,Xh,dg,fg,Kh,Ph,Mh,Yh,ag,lg,Nh,og,Ih,Zh,pg,mg,hg,gg,vg,bg,yg,wg,xg,Dg],kL=[Th,Lh,Bh,rg];function Pg(d,f,g){d?.push({tool:f,kind:"engine-failed",detail:`detector threw, its findings are absent: ${g?.message??String(g)}`});}async function Ou(d,f,g,m){let p=f??[];try{let{UNIQUE_SELECTOR_JS:N,IS_VISIBLE_JS:M,ACCESSIBLE_NAME_JS:V,WIDGET_SKIP_JS:q,IS_HIDDEN_FROM_AT_JS:U,IS_TRACKING_PIXEL_JS:Q,NEARBY_CONTEXT_JS:k}=await Promise.resolve().then(()=>(Ag(),_g)),{ICON_LABELS_JS:v}=await Promise.resolve().then(()=>(Cg(),Eg)),{COLOR_MATH_JS:T}=await Promise.resolve().then(()=>(kg(),Sg)),H=`if(typeof __name==='undefined'){var __name=function(t,v){return t};var __defProp=Object.defineProperty;}
|
|
384
|
+
`+[N,M,V,q,U,Q,k,v,T].join(`
|
|
385
|
+
`),{inject:j}=await Promise.resolve().then(()=>(Pr(),pn));try{await j(d,{tool:"detector-helpers",content:H});}catch{await d.evaluate(`(0,eval)(${JSON.stringify(H)})`);}}catch(N){console.warn("[webability] helper injection failed:",N.message),(g??[]).push("color:kernel-injection-failed");}let w=[];try{let{detectPlatform:N,applyPlatformTemplates:M}=await Promise.resolve().then(()=>(Ig(),Fg)),V=await N(d);w=await M(d,V);}catch{}let{guardDetectorState:D}=await Promise.resolve().then(()=>(Pr(),pn)),x=globalThis.process?.env?.WA_STRICT_STATE==="1",S={strict:x,bugs:m?.internalBugs},F=await D(d,"detectors:parallel",g??[],()=>Promise.allSettled((m?.experimental?[...Lg,...kL]:Lg).map(async N=>{try{let M=await N.detect(d);return N.cap&&M.length>=N.cap&&p.push({detector:N.name,cap:N.cap}),M}catch(M){return Pg(m?.internalBugs,N.name,M),[]}})),S),C=[];m?.skipFocusMutating&&(g??[]).push("focus:mutating-detectors-skipped (live-tab scan; focus visibility and focus obscured were not checked)");let y=[...m?.skipFocusMutating?[]:[jh,$h],...m?.extraSerialDetectors??[]];for(let N of y){let M=[];try{M=await D(d,N.name,g??[],()=>N.detect(d).catch(V=>(Pg(m?.internalBugs,N.name,V),[])),S);}catch(V){if(x)throw V}try{N.cap&&M.length>=N.cap&&p.push({detector:N.name,cap:N.cap}),C=C.concat(M);}catch{}}let A=[...F.flatMap(N=>N.status==="fulfilled"?N.value:[]),...C],_=[...w,...A],L=RL(_),I=["wp-ada-compliance","webability-widget","webability-a11y","asw-","userway","acsb","audioeye","equallyai"];return L.filter(N=>{let M=N.selector.toLowerCase();return M.trim()?!I.some(V=>M.includes(V)):false})}async function TL(d){try{return await d.evaluate(()=>{let f=getComputedStyle(document.documentElement),g={};for(let S of f)S.startsWith("--")&&/color|bg|background|text|primary|secondary|accent/i.test(S)&&(g[S]=f.getPropertyValue(S).trim());let m={},p={},w=document.querySelectorAll("body *:not(script):not(style):not(noscript)"),D=Math.min(w.length,500);for(let S=0;S<D;S++){let F=getComputedStyle(w[S]);if(F.display==="none"||F.visibility==="hidden")continue;let C=F.backgroundColor,y=F.color;C&&C!=="rgba(0, 0, 0, 0)"&&(m[C]=(m[C]||0)+1),y&&(p[y]=(p[y]||0)+1);}let x=S=>Object.entries(S).sort((F,C)=>C[1]-F[1]).slice(0,8).map(([F,C])=>({color:F,count:C}));return {cssVars:g,topBgColors:x(m),topTextColors:x(p)}})}catch{return {cssVars:{},topBgColors:[],topTextColors:[]}}}function RL(d){let f=new Set;return d.filter(g=>{let m=`${g.selector}::${g.issueType}`;return f.has(m)?false:(f.add(m),true)})}var Mg="1.13.0";var Nu=["wcag2a","wcag2aa","wcag21aa","wcag22aa"];function qu(d){return d.includes("wcag21aa")||d.includes("wcag22aa")||d.includes("wcag134")?{"css-orientation-lock":{enabled:true}}:{}}function Og(d,f){return f==="AAA"&&!d.includes("wcag2aaa")?[...d,"wcag2aaa"]:d}var Xo={"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 Ng(d){return Xo[d]}var oi={A:1,AA:2,AAA:3};function Bu(d){let f=String(d.wcag||"").split(/[,\s]+/).filter(m=>/^\d+\.\d+\.\d+$/.test(m));if(f.length===0)return d.level??"AA";let g;for(let m of f){let p=Ng(m);p&&(!g||oi[p]<oi[g])&&(g=p);}return g}function Tn(d,f="AA"){let g=oi[f]??oi.AA;return d.filter(m=>{let p=Bu(m);return !!p&&oi[p]<=g})}var FL=new Set(["new_window_link","external_link_warning","download_link_warning"]);function qg(d){let f=FL.has(d.issueType)?"minor":d.needsAI?"serious":"moderate",g=d.attribute==="style",m=d.attribute.startsWith("data-"),p=g&&d.fixValue?IL(d.fixValue):d.fixValue;return {id:`wa-${d.issueType}-${si(d.selector)}`,source:"webability",type:d.issueType,wcag:d.wcag,level:Bu({wcag:d.wcag})??"AA",impact:f,message:LL(d,p,m),selector:d.selector,html:d.outerHtml,...d.needsReview?{confidence:"needs_review"}:{},...d.reviewReason?{reviewReason:d.reviewReason}:{},fix:{attribute:d.attribute,currentValue:d.currentValue,suggestedValue:p,needsManualReview:d.needsAI||g||m||!!d.needsReview||!!d.manualFix}}}function IL(d){let f=d.trim();if(!f)return "";let g=f.endsWith(";"),p=f.split(";").map(w=>{let x=w.toLowerCase().lastIndexOf("!important");return x===-1?w.trim():w.slice(0,x).trim()}).filter(w=>w.length>0);return p.length===0?"":p.join(";")+(g?";":"")}function LL(d,f,g){if(d.message)return d.message;let m=d.issueType.replace(/_/g," "),p=f??d.fixValue;return g?p?`${m}: ${p}`:d.currentValue?`${m}: ${d.currentValue}`:d.context?`${m}: ${d.context}`:m:p?`${m}: set ${d.attribute}="${p}"`:d.currentValue?`${m}: ${d.attribute} is "${d.currentValue}"`:`${m}: missing ${d.attribute}`}function Qn(d){return Array.isArray(d)?d.flat(1/0).filter(g=>typeof g=="string").join(" >>> "):typeof d=="string"?d:""}function si(d){let f=0;for(let g=0;g<d.length;g++)f=(f<<5)-f+d.charCodeAt(g)|0;return Math.abs(f).toString(36)}function Hu(d){return d==="critical"||d==="serious"||d==="moderate"||d==="minor"?d:"moderate"}function Vu(d,f=[]){return {total:d.length,critical:d.filter(g=>g.impact==="critical").length,serious:d.filter(g=>g.impact==="serious").length,moderate:d.filter(g=>g.impact==="moderate").length,minor:d.filter(g=>g.impact==="minor").length,incomplete:0}}function Yo(d){let f=/^wcag(\d)(\d)(\d{1,2})$/.exec(d);return f?`${f[1]}.${f[2]}.${f[3]}`:""}function $u(d){for(let f of d){let g=Yo(f);if(g)return g}return ""}function ju(d){return d.includes("wcag2aaa")?"AAA":d.includes("wcag2aa")||d.includes("wcag21aa")||d.includes("wcag22aa")?"AA":"A"}async function zu(d,f){try{let{AxeBuilder:g}=await import('@axe-core/playwright'),m=typeof d.mainFrame=="function"?d:d.axePage?.()??d;return await new g({page:m}).options({rules:qu(f)}).withTags(f).analyze()}catch{return PL(d,f)}}async function PL(d,f){let g=await Promise.resolve().then(()=>Uo(ui())),m=g.source??g.default?.source;if(!m)throw new Error("axe-core source unavailable");try{await d.evaluate(m);}catch{let{inject:w}=await Promise.resolve().then(()=>(Pr(),pn));await w(d,{tool:"axe",content:m});}return await d.evaluate(({wcagTags:w,rules:D})=>new Promise((x,S)=>{let F=window;if(!F.axe)return S(new Error("axe-core not loaded"));F.axe.run(document,{runOnly:{type:"tag",values:w},rules:D,resultTypes:["violations","incomplete"]}).then(x).catch(S);}),{wcagTags:f,rules:qu(f)})}function Gu(d){let f=[],g=[];for(let m of d)m.confidence==="needs_review"||OL(m)?g.push(m):f.push(ML(m));return {verdicts:f,undecided:g}}function ML(d){if(d.confidence===void 0&&d.reviewReason===void 0)return d;let{confidence:f,reviewReason:g,...m}=d;return m}function OL(d){let f=(d.type||"").toLowerCase(),g=d.wcag||"",m=d.html||"",p=(d.message||"").toLowerCase();if((f==="contrast_insufficient"||f==="color-contrast"||g==="1.4.3"||g==="1.4.11")&&NL(m))return "background uses gradient or image";if(f==="image_of_text"||g==="1.4.5"){let w=Hg(m,"src").toLowerCase();w.startsWith("data:")&&(w=w.split(",")[0]);let D=Hg(m,"alt").toLowerCase();if(/\b(logo|brand|wordmark|hero|banner|footer|marketing|promo|cover)\b/.test(w))return "brand imagery";if(D.length>0&&/\b(logo|brand|product screenshot|dashboard)\b/.test(D))return "branded imagery"}return (f==="inconsistent_navigation"||p.includes("inconsistent navigation"))&&(/<footer/i.test(m)||/<aside/i.test(m))?"footer/aside nav":""}function NL(d){return /background(-image)?\s*:\s*(?:linear-gradient|radial-gradient|conic-gradient|url\()/i.test(d)}function Hg(d,f){let g=new RegExp(`\\b${f}\\s*=\\s*"([^"]*)"`,"i"),m=d.match(g);return m?m[1]:""}Pr();var qL=60,BL=3,HL=120,VL=1200,$L=300,jL=2e5,zL=8e3,GL=new Set(["bgImage","bgGradient","bgOverlap","elmPartiallyObscured","elmPartiallyObscuring"]),UL="*,*::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 WL(d){let{selectors:f,maxBoxes:g,maxW:m,maxH:p,maxArea:w}=d,D=document.documentElement.scrollWidth,x=document.documentElement.scrollHeight,S=document.createElement("canvas");S.width=S.height=1;let F=S.getContext("2d",{willReadFrequently:true}),C=N=>{try{F.clearRect(0,0,1,1),F.fillStyle="#000",F.fillStyle=N,F.fillRect(0,0,1,1);let M=F.getImageData(0,0,1,1).data;return [M[0],M[1],M[2],M[3]]}catch{return null}},y={},A=document.querySelectorAll("video,canvas,iframe,embed,object");if(A.length>200){for(let N of f)y[N]=null;return y}let _=Array.from(A).map(N=>N.getBoundingClientRect()),L=window.scrollX,I=window.scrollY;for(let N of f){y[N]=null;let M=null;try{M=document.querySelector(N);}catch{continue}if(!M)continue;let V=getComputedStyle(M);if(V.visibility!=="visible"||V.display==="none"||V.webkitBackgroundClip==="text"||V.backgroundClip==="text")continue;let q=false,U=0;for(let ee=M;ee;ee=ee.parentElement){if(++U>64){q=true;break}let ce=getComputedStyle(ee);parseFloat(ce.opacity)<1&&(q=true),(ce.transform!=="none"||ce.mixBlendMode!=="normal"||ce.filter!=="none")&&(q=true);}if(q)continue;let Q=C(V.color);if(!Q||Q[3]<255)continue;let k=parseFloat(V.fontSize),v=parseInt(V.fontWeight,10)>=700,T=k>=24||v&&k>=18.66,P=[],H=M.getBoundingClientRect();if(H.height>p*g||H.width>m*2)continue;let j=document.createTreeWalker(M,NodeFilter.SHOW_TEXT),G,K=0,Z=false;for(;!Z&&(G=j.nextNode());){if(++K>50){Z=true;break}if(G.parentElement!==M)continue;let ee=G.textContent||"";if(ee.length>2e3){Z=true;break}if(!ee.trim())continue;let ce=document.createRange();ce.selectNodeContents(G);let ke=ce.getClientRects();if(ke.length>g){Z=true;break}for(let he=0;he<ke.length;he++){let Te=ke[he];if(!(Te.width<2||Te.height<2)&&(P.push({x:Math.round(Te.left+L),y:Math.round(Te.top+I),w:Math.max(1,Math.round(Te.width)),h:Math.max(1,Math.round(Te.height))}),P.length>g)){Z=true;break}}}Z||P.length===0||P.length>g||P.some(ee=>ee.w>m||ee.h>p||ee.w*ee.h>w||ee.x<0||ee.y<0||ee.x+ee.w>D||ee.y+ee.h>x)||P.some(ee=>_.some(ce=>ee.x<ce.right+L&&ee.x+ee.w>ce.left+L&&ee.y<ce.bottom+I&&ee.y+ee.h>ce.top+I))||(y[N]={fg:`rgb(${Q[0]},${Q[1]},${Q[2]})`,threshold:T?3:4.5,boxes:P});}return y}async function XL(d){let{b64:f,fg:g}=d,m=atob(f),p=new Uint8Array(m.length);for(let q=0;q<m.length;q++)p[q]=m.charCodeAt(q);let w=await createImageBitmap(new Blob([p],{type:"image/png"})),D=document.createElement("canvas");D.width=w.width,D.height=w.height;let x=D.getContext("2d",{willReadFrequently:true});x.drawImage(w,0,0);let S=x.getImageData(0,0,D.width,D.height).data,F=q=>{let U=q/255;return U<=.03928?U/12.92:Math.pow((U+.055)/1.055,2.4)},C=(q,U,Q)=>.2126*F(q)+.7152*F(U)+.0722*F(Q),y=g.match(/\d+/g).map(Number),A=C(y[0],y[1],y[2]),_=Math.max(1,Math.floor(Math.sqrt(D.width*D.height/1500))),L=0,I=1/0,N="",M="",V=0;for(let q=0;q<D.height;q+=_)for(let U=0;U<D.width;U+=_){let Q=(q*D.width+U)*4;if(S[Q+3]<255)continue;let k=C(S[Q],S[Q+1],S[Q+2]),v=Math.max(A,k),T=Math.min(A,k),P=(v+.05)/(T+.05);P>L&&(L=P,M=`rgb(${S[Q]},${S[Q+1]},${S[Q+2]})`),P<I&&(I=P,N=`rgb(${S[Q]},${S[Q+1]},${S[Q+2]})`),V++;}return V===0?null:{best:L,worst:I,worstBg:N,bestBg:M}}var Ko=class extends Error{};function ci(d,f){let g=f-Date.now();if(g<=0)return Promise.reject(new Ko("pixel pass deadline"));let m,p=new Promise((w,D)=>{m=setTimeout(()=>D(new Ko("pixel pass deadline")),g);});return Promise.race([d,p]).finally(()=>clearTimeout(m))}async function Uu(d,f){let g=d.screenshot;if(typeof g!="function"||f.length===0)return [];let m=Array.from(new Set(f)).slice(0,qL),p=[],w=false,D=Date.now()+zL;try{await ci(d.evaluate("if(typeof globalThis.__name==='undefined'){globalThis.__name=function(t){return t}}"),D);let x=await ci(d.evaluate(WL,{selectors:m,maxBoxes:BL,maxW:VL,maxH:$L,maxArea:jL}),D);await ci(Pu(d,{tool:"contrast-pixels",css:UL}),D),w=!0;let S=0;for(let F of m){let C=x[F];if(!C)continue;if(Date.now()>D||S+C.boxes.length>HL)break;let y=0,A=1/0,_="",L="",I=!0;for(let N of C.boxes){S++;let M=await ci(g.call(d,{clip:{x:N.x,y:N.y,width:N.w,height:N.h},fullPage:!0,type:"png",animations:"disabled"}),D),V=globalThis.Buffer,q=V?V.from(M).toString("base64"):"",U=await ci(d.evaluate(XL,{b64:q,fg:C.fg}),D);if(!U){I=!1;break}U.best>y&&(y=U.best,L=U.bestBg),U.worst<A&&(A=U.worst,_=U.worstBg);}I&&p.push({selector:F,fail:y<C.threshold*.97,bestRatio:y,worstRatio:A,..._?{worstBg:_}:{},...L?{bestBg:L}:{},threshold:C.threshold,fg:C.fg});}}catch(x){globalThis.process?.env?.WA_DEBUG_PIXELS&&console.error("pixel judge failed",x);}finally{if(w)try{await Promise.race([d.evaluate(()=>document.querySelectorAll('style[data-wa-injected^="contrast-pixels:"]').forEach(x=>x.remove())),new Promise(x=>setTimeout(x,1e3))]);}catch{}}return p}function YL(d,f){let{confidence:g,reviewReason:m,...p}=d;return {...p,id:d.id.replace("axe-incomplete-","axe-"),impact:"serious",message:`contrast: ${f.fg} text on its rendered background is at best ${f.bestRatio.toFixed(2)}:1 (measured from pixels, every background pixel behind the text fails), needs ${f.threshold}:1`}}async function Vg(d,f,g,m){let p=f.filter(F=>F.wcag!=="1.4.3"||!F.selector?false:F.source==="axe-core"?GL.has(g.get(F.id)??""):F.type==="contrast_insufficient"&&/gradient or image/.test(F.reviewReason??""));if(p.length===0)return [];let w=await Uu(d,p.map(F=>F.selector));if(m)for(let F of w)m.set(F.selector,F);globalThis.process?.env?.WA_DEBUG_PIXELS&&console.error(`pixel judge: ${p.length} candidates, ${w.length} measured, ${w.filter(F=>F.fail).length} fail`);let D=new Map(w.filter(F=>F.fail).map(F=>[F.selector,F])),x=[],S=new Set;for(let F of p){let C=D.get(F.selector);!C||S.has(F.selector)||(S.add(F.selector),x.push(YL(F,C)));}return x}function KL(d){d=d.replace("#",""),d.length===3&&(d=d[0]+d[0]+d[1]+d[1]+d[2]+d[2]);let f=parseInt(d,16);return [f>>16&255,f>>8&255,f&255]}function JL(d,f,g){return "#"+[d,f,g].map(m=>Math.round(m).toString(16).padStart(2,"0")).join("")}function Wu(d){let f=d/255;return f<=.03928?f/12.92:Math.pow((f+.055)/1.055,2.4)}function ea(d,f,g){return .2126*Wu(d)+.7152*Wu(f)+.0722*Wu(g)}function Xu(d,f){let g=Math.max(d,f),m=Math.min(d,f);return (g+.05)/(m+.05)}function Xr(d){if(d.startsWith("#"))return KL(d);let f=d.match(/rgba?\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)/);return f?[parseInt(f[1]),parseInt(f[2]),parseInt(f[3])]:null}function jt(d,f){let g=Xr(d),m=Xr(f);return !g||!m?0:Xu(ea(...g),ea(...m))}function ta(d,f,g=4.5){let m=Xr(d),p=Xr(f);if(!m||!p)return null;let w=ea(...p),D=Xu(ea(...m),w);if(D>=g)return null;let S=ea(...m)>w,F=0,C=1,y=m;for(let L=0;L<20;L++){let I=(F+C)/2,N=S?[m[0]*(1-I),m[1]*(1-I),m[2]*(1-I)]:[m[0]+(255-m[0])*I,m[1]+(255-m[1])*I,m[2]+(255-m[2])*I],M=ea(N[0],N[1],N[2]);Xu(M,w)>=g?(y=N,C=I):F=I;}let A=JL(y[0],y[1],y[2]),_=jt(A,f);return {currentColor:d,suggestedColor:A,currentRatio:Math.round(D*100)/100,suggestedRatio:Math.round(_*100)/100,requiredRatio:g,bgColor:f}}var ZL=30,QL=10,Wg=2e4,eP=30,tP=400*1024,Xg="https://openrouter.ai/api/v1",Yg="anthropic/claude-haiku-4.5",Ku="deepseek/deepseek-v4-flash",$g=400,jg=125,Yu=160,rP=2e3,di=new Map;function nP(){di.clear();}function aP(d){let f=0;for(let g=0;g<d.length;g++)f=(f<<5)-f+d.charCodeAt(g)|0;return Math.abs(f).toString(36)}var Ju=d=>d.wcag||d.type,zg=(d,f,g)=>`${d}|${f.selector}|${Ju(f)}|${aP(g)}`,Zu=()=>!!globalThis.process?.env?.WA_DEBUG_JUDGE;function iP(d){let{selectors:f,maxHtml:g}=d,m={elements:{}},p=[],w=N=>/\(\s*prefers-reduced-motion\s*(:\s*reduce\s*)?\)/i.test(N)&&!/^\s*not\b/i.test(N),D=N=>{let M=N.split(",").map(V=>V.trim()).filter(Boolean);return M.length?M.every(V=>{let q=V.match(/^(-?[\d.]+)(ms|s)$/i);return q?parseFloat(q[1])*(q[2].toLowerCase()==="s"?1e3:1)<=10:false}):false},x=(N,M,V)=>{if(!(V>8))for(let q of Array.from(N)){let U=q.media?.mediaText,Q=M||typeof U=="string"&&w(U),k=q.style,v=q.selectorText;if(Q&&k&&typeof v=="string"){let H=k.getPropertyValue("animation-name").trim(),j=/^none(\s*,\s*none)*$/i.test(H)||D(k.getPropertyValue("animation-duration"))||/^paused/i.test(k.getPropertyValue("animation-play-state").trim()),G=/^none(\s*,\s*none)*$/i.test(k.getPropertyValue("transition-property").trim())||D(k.getPropertyValue("transition-duration"));(j||G)&&p.push({selector:v,anim:j,trans:G});}let T=q.cssRules;T&&T.length&&x(T,Q,V+1);let P=q.styleSheet;if(P)try{x(P.cssRules,Q||w(q.media?.mediaText||""),V+1);}catch{}}};try{for(let N of Array.from(document.styleSheets))try{x(N.cssRules,w(N.media?.mediaText||""),0);}catch{}}catch{}let S=(N,M)=>{try{return N.matches(M)}catch{return false}},F=N=>N.split(",").map(M=>{let V=M.trim().match(/^(-?[\d.]+)(ms|s)$/i);return V?parseFloat(V[1])*(V[2].toLowerCase()==="s"?1e3:1):0}),C=N=>{let M=N.cloneNode(true);M.querySelectorAll("script, style").forEach(q=>q.remove());let V=(M.textContent||"").replace(/\s+/g," ").trim();if(!V){for(let q of Array.from(N.querySelectorAll("img[alt], [aria-label]")))if(V=(q.getAttribute("alt")||q.getAttribute("aria-label")||"").trim(),V)break}return V},y=N=>{let M=(N.getAttribute("aria-label")||"").trim();if(M)return M;let q=(N.getAttribute("aria-labelledby")||"").split(/\s+/).filter(Boolean).map(k=>{let v=document.getElementById(k);return v?(v.textContent||"").replace(/\s+/g," ").trim():""}).filter(Boolean).join(" ");if(q)return q;let U=C(N);if(U)return U;let Q=N instanceof HTMLInputElement&&/^(submit|button|reset|image)$/i.test(N.type)?(N.value||N.alt||"").trim():"";return Q||(N.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"])',_=window.scrollX||0,L=window.scrollY||0,I=[];for(let N of f){let M=null;try{M=document.querySelector(N);}catch{}if(!M){m.elements[N]={found:false};continue}let V=I.indexOf(M);V<0&&(V=I.push(M)-1);let q=getComputedStyle(M),U=M.getBoundingClientRect(),Q=M.tagName.toLowerCase(),k={found:true,elementKey:V,tag:Q,html:(M.outerHTML||"").slice(0,g),rect:{x:U.left+_,y:U.top+L,w:U.width,h:U.height},role:(M.getAttribute("role")||"").toLowerCase(),ariaHidden:M.getAttribute("aria-hidden")==="true"||!!M.closest('[aria-hidden="true"]'),hidden:q.display==="none"||q.visibility==="hidden"||!!M.closest("[hidden]"),cssBackgroundImage:/url\(/i.test(q.backgroundImage||""),reducedMotionHandled:false,nearText:"",fg:q.color,bg:q.backgroundColor,fontSize:parseFloat(q.fontSize)||0,fontWeight:parseInt(q.fontWeight,10)||400};if(Q==="img"){let G=M;k.img={src:(G.currentSrc||G.getAttribute("src")||"").slice(0,300),alt:G.getAttribute("alt"),naturalW:G.naturalWidth||0,naturalH:G.naturalHeight||0,attrW:parseInt(G.getAttribute("width")||"0",10)||0,attrH:parseInt(G.getAttribute("height")||"0",10)||0};}if(k.cssBackgroundImage){let G=M.closest(A);G&&(k.control={tag:G.tagName.toLowerCase(),name:y(G).slice(0,120)});}if(!/^(img|video|canvas|iframe|object|embed|svg)$/.test(Q)){let G=q.animationName.split(",").some(ce=>ce.trim()&&ce.trim()!=="none")&&F(q.animationDuration).some(ce=>ce>10),K=F(q.transitionDuration).some(ce=>ce>10)&&q.transitionProperty.trim()!=="none",Z=p.filter(ce=>S(M,ce.selector)),ae=!G||Z.some(ce=>ce.anim),ee=!K||Z.some(ce=>ce.trans);k.reducedMotionHandled=(G||K)&&ae&ⅇ}let v=M.closest('a[href], button, [role="button"], [role="link"]');if(v&&v!==M){let G=v.cloneNode(true);G.querySelectorAll("img, svg").forEach(ae=>ae.remove());let K=(G.textContent||"").replace(/\s+/g," ").trim(),Z=(v.getAttribute("aria-label")||"").trim();k.parentInteractive={tag:v.tagName.toLowerCase(),text:(K||Z).slice(0,120)};}let T=G=>{let K=G.cloneNode(true);return K.querySelectorAll("script, style").forEach(Z=>Z.remove()),(K.textContent||"").replace(/\s+/g," ").trim()},P=M.matches('a[href], [role="link"]'),H=T(M),j=M.parentElement;if(P&&(j=M.closest("p, li, td, th, dd, dt, figcaption, blockquote")||M.parentElement),j){let G=T(j),K=P&&H?G.indexOf(H):-1,Z=K>120?K-120:0;k.nearText=(Z?"\u2026":"")+G.slice(Z,Z+240);}m.elements[N]=k;}return m}function oP(d,f){let g=(d.type||"").toLowerCase(),m=d.wcag||"";return g==="decorative_image_with_title"?"generic":m==="1.1.1"&&(f?.tag==="img"||/alt|image/.test(g))?"alt":m==="1.4.3"||m==="1.4.6"||g==="color-contrast"||g==="contrast_insufficient"||g==="contrast_enhanced"?"contrast":m==="2.2.2"||m==="2.3.3"||/motion|animation|reduced_motion/.test(g)?"motion":"generic"}function Qu(d){return !!d&&d.tag!=="img"&&d.cssBackgroundImage&&!d.img}var sP=/\b(needs?|requires?|for)\s+(a\s+)?(human|manual)?\s*review\b|\bhuman review\b|\bmanual review\b|\bincomplete\b/gi;function lP(d){let f=String(d??"").replace(/\s+/g," ").replace(sP,"judged").trim();if(f.length<=Yu)return f;let g=f.slice(0,Yu-1),m=g.lastIndexOf(" ");return (m>Yu/2?g.slice(0,m):g).replace(/[\s,;:–—-]+$/,"")+"\u2026"}function uP(d){let f=String(d??"").replace(/\s+/g," ").trim();if(f=f.replace(/^(an?\s+|the\s+)?(image|picture|photo|photograph|graphic|icon|illustration|screenshot)\s+(of|showing|depicting)(\s+|$)(an?\s+|the\s+)?/i,""),f=f.replace(/^["'“”]+|["'“”]+$/g,"").trim(),f.length>jg){f=f.slice(0,jg);let g=f.lastIndexOf(" ");g>60&&(f=f.slice(0,g)),f=f.replace(/[\s,;:–—-]+$/,"");}return f&&(f=f[0].toUpperCase()+f.slice(1)),f}function ra(d){let f=d.match(/\d+(\.\d+)?/g);return !f||f.length<3?d:"#"+f.slice(0,3).map(g=>Math.round(Number(g)).toString(16).padStart(2,"0")).join("")}var Kg=/^#?([0-9a-f]{6})$/i;function cP(d){let f=String(d??"").trim().match(Kg);return f?"#"+f[1].toLowerCase():null}function dP(d){let{confidence:f,reviewReason:g,...m}=d;return {...m,id:d.id.replace("axe-incomplete-","axe-")}}function fP(d){let f=d;if(typeof d=="string"){let p=d.replace(/```json\s*/gi,"").replace(/```/g,"").match(/\[[\s\S]*\]/);if(!p)return null;try{f=JSON.parse(p[0]);}catch{return null}}else d&&typeof d=="object"&&Array.isArray(d.verdicts)&&(f=d.verdicts);if(!Array.isArray(f))return null;let g=[];for(let m of f){if(!m||typeof m!="object")continue;let{id:p,verdict:w,reason:D,fix:x}=m;if(typeof p!="string"||w!=="pass"&&w!=="violation")continue;let S=x&&typeof x=="object"?x:void 0;g.push({id:p,verdict:w,reason:typeof D=="string"?D:void 0,fix:S?{attribute:typeof S.attribute=="string"?S.attribute:void 0,value:typeof S.value=="string"?S.value:void 0}:void 0});}return g}var na=class extends Error{},Jg=`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 pP(d){let f=d.items.map(({screenshot:g,...m})=>
|
|
|
402
402
|
Conformance level: ${d.level}
|
|
403
403
|
|
|
404
404
|
Findings:
|
|
405
|
-
${JSON.stringify(f,null,1)}`}function Zg(d,f={}){let g=d.vision&&d.items.some(w=>w.screenshot),m=g?f.visionModel||Yg:f.textModel||Ku,p=[{type:"text",text:pP(d)}];if(g)for(let w of d.items)w.screenshot&&(p.push({type:"text",text:`Crop for ${w.id}:`}),p.push({type:"image_url",image_url:{url:`data:image/png;base64,${w.screenshot}`}}));return {model:m,temperature:0,max_tokens:4096,...m===Ku&&f.disableTextModelReasoning?{reasoning:{enabled:false}}:{},messages:[{role:"system",content:Jg},{role:"user",content:p}]}}function Qg(d){let f=(d.baseUrl||Xg).replace(/\/+$/,""),g=false;try{let m=new URL(f).hostname;g=m==="openrouter.ai"||m.endsWith(".openrouter.ai");}catch{}return async(m,p)=>{let w=await fetch(`${f}/chat/completions`,{method:"POST",signal:p,headers:{"Content-Type":"application/json",Authorization:`Bearer ${d.apiKey}`,"HTTP-Referer":"https://webability.io","X-Title":"WebAbility scanner judge"},body:JSON.stringify(Zg(m,{visionModel:d.visionModel,textModel:d.textModel,disableTextModelReasoning:g}))});if(!w.ok)throw new na(`judge model HTTP ${w.status}`);let x=(await w.json()).choices?.[0]?.message?.content;if(typeof x=="string")return x;if(Array.isArray(x))return x.map(C=>typeof C?.text=="string"?C.text:"").join("");throw new Error("judge model returned no content")}}function ev(d){let f=d.apiUrl.replace(/\/+$/,"");return async(g,m)=>{let p=await fetch(`${f}/api/judge-incomplete`,{method:"POST",signal:m,redirect:"manual",headers:{"Content-Type":"application/json",...d.token?{Authorization:`Bearer ${d.token}`}:{},...d.internalSecret?{"x-mcp-internal":d.internalSecret}:{}},body:JSON.stringify(g)});if(p.status>=300&&p.status<400)throw new na(`judge endpoint redirected (HTTP ${p.status}); not followed`);if(!p.ok)throw new na(`judge endpoint HTTP ${p.status}`);return p.json()}}function mP(d){return d.transport?d.transport:d.apiKey?Qg({apiKey:d.apiKey,baseUrl:d.baseUrl,visionModel:d.visionModel,textModel:d.textModel}):d.apiUrl?ev({apiUrl:d.apiUrl,token:d.apiToken,internalSecret:d.internalSecret}):null}function hP(d){return d.maxCropChars??(!d.transport&&!d.apiKey&&d.apiUrl?tP:void 0)}async function ec(d,f,g){let m={promoted:[],judged:[]},p=mP(g);if(f.length===0)return m;let w=g.level??"AA",D=g.timeoutMs??Wg,x=Date.now()+D,C=Tn([...f],w);if(C.length===0)return m;let I=new Map;for(let v of C){let F=`${v.selector}|${Ju(v)}`,P=I.get(F);P?P.members.push(v):I.set(F,{key:F,members:[v],rep:v,ctx:void 0,kind:"generic"});}let E={elements:{}};if(d)try{await d.evaluate("if(typeof globalThis.__name==='undefined'){globalThis.__name=function(t){return t}}"),E=await d.evaluate(iP,{selectors:[...I.keys()].map(v=>I.get(v).rep.selector),maxHtml:$g});}catch{}for(let v of I.values())v.ctx=E.elements[v.rep.selector],v.ctx&&!v.ctx.found&&(v.ctx=void 0),v.kind=oP(v.rep,v.ctx);let y=new Map;for(let[v,F]of [...I]){if(!F.ctx)continue;let P=`${F.ctx.elementKey}|${Ju(F.rep)}`,V=y.get(P);if(!V){y.set(P,F);continue}V.members.push(...F.members),I.delete(v);}let _={promoted:[],judged:[]},R=(v,F)=>{for(let P of v.members){if(F.verdict==="violation"){let V=vP(P,v,F);if(!V)continue;_.promoted.push(V);}_.judged.push({id:P.id.replace("axe-incomplete-","axe-"),type:P.type,verdict:F.verdict,reason:F.reason});}},S=[...I.values()].filter(v=>v.kind==="contrast");if(S.length&&d){for(let F of S)F.pixels=g.measured?.get(F.rep.selector);let v=S.filter(F=>!F.pixels).map(F=>F.rep.selector);if(v.length)try{for(let F of await Uu(d,v))for(let P of S)P.rep.selector===F.selector&&(P.pixels=F);}catch{}}let T=[];for(let v of I.values()){let F=p?di.get(zg(g.url,v.rep,v.ctx?.html??v.rep.html??"")):void 0;if(F){R(v,F);continue}let P=gP(v);if(P!=="drop"){if(P){R(v,P);continue}T.push(v);}}if(T.length===0||!p)return _;let M=g.vision!==false&&!!d&&typeof d.screenshot=="function",O=new Map,B=new Set,H=0,Y=hP(g),Z=v=>({id:v.rep.id,type:v.rep.type,wcag:v.rep.wcag,message:v.rep.message,selector:v.rep.selector,html:(v.ctx?.html??v.rep.html??"").slice(0,$g),context:B.has(v.key)?{...Gg(v),cropNote:"no image attached: the crop was too large to send"}:Gg(v),...O.has(v.key)?{screenshot:O.get(v.key)}:{}}),k=M?QL:ZL;for(let v=0;v<T.length;v+=k){let F=x-Date.now();if(F<=0)break;let P=T.slice(v,v+k);if(M){for(let Q of P){if(H>=eP||Date.now()>x)break;let ce=await wP(d,Q.ctx,Y);ce&&(H++,ce.data?O.set(Q.key,ce.data):B.add(Q.key));}if(Date.now()>x)break}let V=new Map(P.map(Q=>[Q.rep.id,Q])),j=new AbortController,G=setTimeout(()=>j.abort(),F),J=null,ee=false,ae=Date.now();try{let Q=await Promise.race([p({url:g.url,level:w,vision:M,items:P.map(Z)},j.signal),new Promise((ce,we)=>j.signal.addEventListener("abort",()=>we(new Error("judge deadline"))))]);J=fP(Q),Zu()&&console.error(`ai judge: batch ${P.length} items, ${P.filter(ce=>O.has(ce.key)).length} crops, ${Date.now()-ae}ms, ${J?J.length+" verdicts":"MALFORMED: "+String(Q).slice(0,200)}`);}catch(Q){Zu()&&console.error(`ai judge: batch ${P.length} items failed after ${Date.now()-ae}ms: ${Q.message}`),J=null,ee=Q instanceof na;}finally{clearTimeout(G);}if(!J){if(j.signal.aborted||ee)break;continue}for(let Q of J){let ce=V.get(Q.id);if(!ce)continue;V.delete(Q.id);let we={verdict:Q.verdict,reason:lP(Q.reason),fix:Q.fix};di.size>=rP&&di.clear(),di.set(zg(g.url,ce.rep,ce.ctx?.html??ce.rep.html??""),we),R(ce,we);}}return _}function gP(d){let f=d.ctx;if(d.kind==="alt"){if(f?.role==="presentation"||f?.role==="none")return {verdict:"pass",reason:"declared decorative (role=presentation)"};if(f?.ariaHidden)return {verdict:"pass",reason:"hidden from assistive technology (aria-hidden)"};if(f?.img){let{attrW:g,attrH:m,naturalW:p,naturalH:w}=f.img;if(g>0&&g<=1&&m>0&&m<=1||p>0&&p<=1&&w>0&&w<=1)return {verdict:"pass",reason:"1x1 tracking/spacer pixel"}}return f&&Qu(f)?f.control?f.control.name?{verdict:"pass",reason:`${f.control.tag} is named ("${f.control.name.slice(0,40)}"); the background image needs no text`}:null:{verdict:"pass",reason:"CSS background image on a non-interactive element; decorative"}:f?.parentInteractive?.text?{verdict:"pass",reason:`${f.parentInteractive.tag} is named by its visible link text ("${f.parentInteractive.text.slice(0,40)}"); alt may be empty`}:null}if(d.kind==="motion")return f?.reducedMotionHandled?{verdict:"pass",reason:"a prefers-reduced-motion: reduce rule stops this element's animation"}:null;if(d.kind==="contrast"){if(!d.pixels)return "drop";let g=tc(d.rep,d.pixels.threshold);return d.pixels.worstRatio>=g?{verdict:"pass",reason:`measured ${d.pixels.worstRatio.toFixed(2)}:1 at worst behind the text, meets ${g}:1`}:d.pixels.bestRatio<g*.97?{verdict:"violation",reason:`measured ${d.pixels.bestRatio.toFixed(2)}:1 at best behind the text, below ${g}:1 everywhere`}:null}return null}function Gg(d){let f=d.ctx,g={};return d.rep.reviewReason&&(g.engineNote=d.rep.reviewReason),f&&(g.tag=f.tag,f.nearText&&(g.nearbyText=f.nearText),f.parentInteractive&&(g.parentControl=f.parentInteractive),d.kind==="alt"&&Qu(f)&&f.control&&(g.control={tag:f.control.tag,accessibleName:f.control.name}),d.kind==="alt"&&f.img&&(g.image={src:f.img.src,alt:f.img.alt,width:f.img.naturalW||f.img.attrW||f.rect.w,height:f.img.naturalH||f.img.attrH||f.rect.h}),d.kind==="contrast"&&d.pixels&&(g.fg=ra(d.pixels.fg),g.threshold=tc(d.rep,d.pixels.threshold),g.bestRatio=Ug(d.pixels.bestRatio),g.worstRatio=Ug(d.pixels.worstRatio),g.fontSize=f.fontSize,g.fontWeight=f.fontWeight),d.kind==="generic"&&(g.fg=ra(f.fg),g.bg=ra(f.bg),g.size={w:Math.round(f.rect.w),h:Math.round(f.rect.h)})),g}function tc(d,f){return d.wcag==="1.4.6"||d.type==="contrast_enhanced"?f===3?4.5:7:f}var Ug=d=>Math.round(d*100)/100;function vP(d,f,g){let m=dP(d);if(f.kind==="alt"){let w=uP(g.fix?.value);return w?Qu(f.ctx)?{...m,fix:{attribute:"aria-label",currentValue:"",suggestedValue:w,needsManualReview:false}}:{...m,fix:{attribute:"alt",currentValue:f.ctx?.img?.alt??d.fix?.currentValue??"",suggestedValue:w,needsManualReview:false}}:null}if(f.kind==="contrast"){let w=f.pixels;if(!w)return null;let D=ra(w.fg),x=tc(d,w.threshold),C=w.worstBg?ra(w.worstBg):null,I=w.bestBg?ra(w.bestBg):null,E=S=>!!S&&!!C&&$t(S,C)>=x&&(!I||$t(S,I)>=x),y,_=cP(g.fix?.value),R=C?bP(D,C,x):null;return _&&_!==D.toLowerCase()&&E(_)?y=`color:${_} !important;`:E(R)?y=`color:${R} !important;`:I&&$t(D,I)>=x&&(y=`background-color:${I} !important;`),{...m,impact:"serious",message:`contrast: ${D} text on its rendered background measures ${w.worstRatio.toFixed(2)}:1 at worst (${w.bestRatio.toFixed(2)}:1 at best, from pixels; judge: ${g.reason||"not readable"}), needs ${x}:1`,fix:{attribute:"style",currentValue:D,...y?{suggestedValue:y}:{},needsManualReview:true}}}let p=d.fix;return p?{...m,fix:p}:g.fix?.attribute&&g.fix.value?{...m,fix:{attribute:g.fix.attribute,currentValue:"",suggestedValue:g.fix.value,needsManualReview:true}}:m}function bP(d,f,g){let m=d.match(Kg);if(!m)return null;let p=parseInt(m[1],16),w=[p>>16&255,p>>8&255,p&255],D=I=>"#"+I.map(E=>Math.round(Math.min(255,Math.max(0,E))).toString(16).padStart(2,"0")).join(""),x=(I,E)=>D(w.map(y=>E?y*(1-I):y+(255-y)*I)),C=null;for(let I of [true,false]){if($t(x(1,I),f)<g)continue;let E=0,y=1;for(let R=0;R<24;R++){let S=(E+y)/2;$t(x(S,I),f)>=g?y=S:E=S;}let _=x(y,I);$t(_,f)>=g&&(!C||y<C.t)&&(C={t:y,hex:_});}return C?.hex??null}var yP=[1,.6,.35];async function wP(d,f,g){let m=d.screenshot;if(typeof m!="function"||!f||f.rect.w<2||f.rect.h<2||f.hidden)return null;try{let w=Math.min(1200,f.rect.w+16),D=Math.min(600,f.rect.h+16),x=f.rect.x+f.rect.w/2,C=f.rect.y+f.rect.h/2,I=globalThis.Buffer;if(!I)return null;let E=0;for(let y of g===void 0?[1]:yP){let _=Math.max(2,Math.round(w*y)),R=Math.max(2,Math.round(D*y)),S=y===1?Math.max(0,f.rect.x-8):Math.max(0,x-_/2),T=y===1?Math.max(0,f.rect.y-8):Math.max(0,C-R/2),M=await m.call(d,{clip:{x:S,y:T,width:_,height:R},fullPage:!0,type:"png",animations:"disabled"}),O=I.from(M).toString("base64");if(E=O.length,g===void 0||O.length<=g)return {data:O}}return Zu()&&console.error(`ai judge: crop for ${f.tag} left out (${E} base64 chars > ${g} at the smallest clip)`),{}}catch{return null}}async function xP(d){let f=S=>({verdict:"drop",why:S}),g=null;try{g=document.querySelector(d.selector);}catch{return f("bad selector")}if(!g||g.tagName!=="VIDEO")return f("not a video");let m=getComputedStyle(g),p=g.getBoundingClientRect();if(m.display==="none"||m.visibility==="hidden"||g.closest("[hidden]")||p.width<100||p.height<50)return f("not visible/large enough");if(g.error)return f("failed load");let w=g.currentSrc||g.getAttribute("src")||g.querySelector("source")?.getAttribute("src")||"";if(!w||/^(blob|data|about|javascript):/i.test(w)||/\.(m3u8|mpd)(\?|$)/i.test(w))return f("no direct src / MSE");let D=g.hasAttribute("muted")||g.muted,x=g.hasAttribute("controls"),C=g.hasAttribute("autoplay")||g.autoplay,I=g.hasAttribute("loop")||g.loop,E=x||C&&!D;if(!E){let S=/play|pause|mute|unmute|sound|volume/i;for(let T=g.parentElement,M=0;T&&M<3&&!E;T=T.parentElement,M++)E=Array.from(T.querySelectorAll('button, [role="button"]')).some(O=>S.test((O.getAttribute("aria-label")||"")+" "+(O.getAttribute("title")||"")+" "+(O.textContent||"")));}if(!E)return f("not user-playable");if(D&&I&&!x)return f("decorative loop");if(g.hasAttribute("muted")&&!x&&!C)return f("muted");if(Number.isFinite(g.duration)&&g.duration>0&&g.duration<5)return f("under 5s");await new Promise(S=>setTimeout(S,2e3));for(let S of Array.from(g.querySelectorAll("track"))){let T=(S.getAttribute("kind")||"subtitles").toLowerCase();if((T==="captions"||T==="subtitles")&&S.getAttribute("src"))return f("has caption track")}let y=g.textTracks;for(let S=0;y&&S<y.length;S++)if(y[S].kind==="captions"||y[S].kind==="subtitles")return f("has text track");let _=g,R=null;if(typeof _.mozHasAudio=="boolean"?R=_.mozHasAudio:_.audioTracks&&typeof _.audioTracks.length=="number"&&(R=_.audioTracks.length>0?true:null),R===null&&typeof _.webkitAudioDecodedByteCount=="number"&&_.webkitAudioDecodedByteCount>0&&(R=true),R===null)try{let S=new AbortController,T=setTimeout(()=>S.abort(),d.fetchMs),M=await fetch(w,{headers:{Range:"bytes=0-"+(d.rangeBytes-1)},signal:S.signal}),O=new Uint8Array(d.rangeBytes),B=0,H=M.body?M.body.getReader():null;if(H)try{for(;B<d.rangeBytes;){let{done:k,value:v}=await H.read();if(k||!v)break;let F=Math.min(v.length,d.rangeBytes-B);O.set(v.subarray(0,F),B),B+=F;}}finally{try{await H.cancel();}catch{}}clearTimeout(T);let Y=(k,v=0)=>{e:for(let F=v;F<=B-k.length;F++){for(let P=0;P<k.length;P++)if(O[F+P]!==k[P])continue e;return F}return -1},Z=k=>Array.from(k).map(v=>v.charCodeAt(0));Y(Z("ftyp"))>=0&&Y(Z("moov"))>=0?R=Y(Z("hdlr"))>=0&&Y(Z("soun"))>=0:O[0]===26&&O[1]===69&&O[2]===223&&O[3]===163&&Y([22,84,174,107])>=0&&(R=Y([131,129,2])>=0);}catch{R=null;}return R!==true?f(R===false?"silent":"audio unknowable"):{verdict:"violation"}}async function tv(d,f){let g=f.filter(w=>w.type==="missing_captions"&&/^<video\b/i.test(w.html??"")&&w.selector).slice(0,10);if(g.length===0)return [];let m=[],p=Date.now()+1e4;try{await d.evaluate("if(typeof globalThis.__name==='undefined'){globalThis.__name=function(t){return t}}");for(let w of g){if(Date.now()>p)break;let D=p-Date.now(),x,C=await Promise.race([d.evaluate(xP,{selector:w.selector,rangeBytes:1048576,fetchMs:4e3}),new Promise(I=>{x=setTimeout(()=>I(null),D);})]).finally(()=>x&&clearTimeout(x));if(!C)break;if(C.verdict==="violation"){let{confidence:I,reviewReason:E,...y}=w;m.push({...y,id:w.id.replace("axe-incomplete-","axe-"),message:"video has an audio track, can be played by the user, and has no captions or subtitles track (WCAG 1.2.2)"});}}}catch{}return m}function av(){let d=p=>{let w=p.getBoundingClientRect();if(w.width===0||w.height===0)return false;let D=window.getComputedStyle(p);return D.visibility!=="hidden"&&D.display!=="none"&&D.opacity!=="0"},f=Array.from(document.querySelectorAll('input[type="password"]')),g=Array.from(document.querySelectorAll('button, input[type="submit"], a[role="button"]')).filter(d).map(p=>(p.value||p.textContent||"").trim().toLowerCase()).filter(p=>p.length>0&&p.length<40),m=Array.from(document.querySelectorAll("button, a")).filter(d).filter(p=>/sign in with|continue with|log in with/i.test(p.textContent||"")).length;return {passwordFields:f.length,visiblePasswordFields:f.filter(d).length,submitLabels:g,oauthButtons:m,formCount:document.querySelectorAll("form").length,bodyTextLength:(document.body?.innerText||"").trim().length,headingText:(document.querySelector("h1, h2")?.textContent||"").trim().slice(0,120).toLowerCase()}}var DP=/\b(log ?in|sign ?in|sign ?on|authenticate)\b/,AP=/\b(log ?in|sign ?in|sign ?on|authentication|welcome back|access denied|unauthori[sz]ed)\b/;function rv(d){try{let f=new URL(d).pathname.toLowerCase();return /(^|\/)(login|signin|sign-in|log-in|auth|sso|session\/new|users\/sign_in)(\/|$)/.test(f)}catch{return false}}function iv(d,f,g){if(rv(f))return null;let m=nv(f)!==nv(g),p=d.submitLabels.some(y=>DP.test(y)),w=AP.test(d.headingText),D=rv(g),x=[];D&&x.push("url"),p&&x.push("submit"),w&&x.push("heading"),m&&x.push("redirected");let C=d.visiblePasswordFields>0,I=d.oauthButtons>0&&d.bodyTextLength<600&&d.formCount<=1;if(!C&&!I||x.length<2)return null;let E=`${C?"password-field":"oauth-only"}+${x.join("+")}`;return {reason:`Scan did not reach the requested page \u2014 it landed on a sign-in page at ${g}. The findings would describe the login screen, not the intended page. Configure site authentication for this site, or scan a page that does not require a session.`,signal:E,finalUrl:g}}function nv(d){try{let f=new URL(d);return `${f.origin}${f.pathname.replace(/\/+$/,"")}`.toLowerCase()}catch{return d.toLowerCase()}}async function VP(d){try{return await d.evaluate(()=>{let f=(document.title||"").toLowerCase(),g=[["just a moment","Cloudflare"],["attention required","Cloudflare"],["checking your browser","Cloudflare"],["access to this page has been denied","PerimeterX/HUMAN"],["please verify you are a human","PerimeterX/HUMAN"],["verify you are human","bot-challenge"],["are you a robot","bot-challenge"],["you have been blocked","bot-challenge"],["request unsuccessful","Imperva/Incapsula"],["human verification","bot-challenge"],["additional security check is required","bot-challenge"]];for(let[w,D]of g)if(f.includes(w))return {vendor:D,signal:`title:"${document.title}"`,needsCorroboration:!1};let m=[["#cf-chl-widget","Cloudflare"],["#challenge-running","Cloudflare"],["#cf-challenge-running","Cloudflare"],[".cf-browser-verification","Cloudflare"],["#cf-please-wait","Cloudflare"],["div.cf-error-details","Cloudflare"],["#px-captcha","PerimeterX/HUMAN"],["#distilCaptchaForm","Distil"],["form#challenge-form","bot-challenge"]];for(let[w,D]of m)if(document.querySelector(w))return {vendor:D,signal:`marker:${w}`,needsCorroboration:!1};if(window._cf_chl_opt)return {vendor:"Cloudflare",signal:"marker:window._cf_chl_opt",needsCorroboration:!1};let p=[["please wait...","Cloudflare"],["access denied","bot-challenge"]];for(let[w,D]of p)if(f.includes(w))return {vendor:D,signal:`title:"${document.title}"`,needsCorroboration:!0};return null})}catch{return null}}async function $P(d){try{return await d.evaluate(()=>{let f=document.querySelectorAll("body *").length;if(f>250)return null;let g=['[id*="captcha" i]','[class*="captcha" i]','img[src*="captcha" i]','iframe[src*="recaptcha" i]','iframe[src*="hcaptcha" i]','iframe[src*="turnstile" i]','[name*="captcha" i]'];for(let p of g)try{if(document.querySelector(p))return {signal:`marker:${p}`,elements:f}}catch{}let m=(document.title||"").toLowerCase();return m.includes("captcha")||m.includes("security check")||m.includes("bot verification")?{signal:`title:"${document.title}"`,elements:f}:null})}catch{return null}}async function jP(d,f){let g=await VP(d),m=typeof f=="number"&&f>=400,p=g&&(!g.needsCorroboration||m)?g:null;if(!p&&!m)return null;let w=[];return p&&w.push(`served a ${p.vendor} bot-challenge / interstitial page`),m&&w.push(`main document returned HTTP ${f}`),{reason:`Scan did not reach the real page \u2014 the target ${w.join(" and ")}. The returned issue list reflects the challenge/error page, not the intended site.`,...p?{vendor:p.vendor}:{},...typeof f=="number"?{status:f}:{},...p?{signal:p.signal}:m?{signal:`status:${f}`}:{}}}async function zP(d,f){let g=typeof d=="string",m={wcagTags:Nu,includeAxe:true,deep:false,dismissModals:g,...f},p,w,D,x;if(g){D=d.startsWith("http")?d:`https://${d}`;let C=typeof m.viewport=="string"?ai[m.viewport]??ai.desktop:m.viewport??ai.desktop;w=await(await import('playwright')).chromium.launch({headless:m.browser?.headless??true}),p=await(await w.newContext({viewport:C})).newPage();let y=await p.goto(D,{waitUntil:"domcontentloaded",timeout:m.browser?.timeout??3e4});x=typeof y?.status=="function"?y.status():void 0;}else p=d,D=p.url(),x=m.mainStatus;if(m.dismissModals)try{let{dismissModals:C}=await Promise.resolve().then(()=>(rc(),sv));await C(p);}catch{}if(m.settle!==false)try{let{waitForRenderSettle:C}=await Promise.resolve().then(()=>(Zo(),Jo));await C(p,typeof m.settle=="number"?m.settle:void 0);}catch{}if(!w){let{snapshotInteractionState:C}=await Promise.resolve().then(()=>(es(),Qo));await C(p);}try{let C=await p.evaluate(()=>performance.timeOrigin);try{let ae=await p.evaluate(av),Q=iv(ae,D,typeof p.url=="function"?p.url():D);if(Q)return {url:D,timestamp:new Date().toISOString(),blocked:{reason:Q.reason,signal:`auth-wall:${Q.signal}`,...typeof x=="number"?{status:x}:{}},issues:[],incomplete:[],internal_bugs:[],summary:{total:0,critical:0,serious:0,moderate:0,minor:0,incomplete:0}}}catch{}let I=await jP(p,x);if(I)return {url:D,timestamp:new Date().toISOString(),blocked:I,issues:[],incomplete:[],internal_bugs:[],summary:{total:0,critical:0,serious:0,moderate:0,minor:0,incomplete:0}};let E=[],y=new Map,_=[],R=[],S=[],{guardDetectorState:T,dropToolingFindings:M}=await Promise.resolve().then(()=>(Pr(),pn)),O=await $P(p);O&&R.push(`challenge:suspected-interstitial (${O.signal}; ${O.elements} elements) \u2014 this looks like a bot-challenge/CAPTCHA page, not the real site; results may be invalid`),await(await Promise.resolve().then(()=>(Pr(),pn))).startProvenance(p);let B=await Ou(p,_,R,{internalBugs:S,extraSerialDetectors:m.extraSerialDetectors,experimental:m.experimental});E.push(...B.map(qg));let{resetInteractionState:H,focusOnlyObscuredIndexes:Y}=await Promise.resolve().then(()=>(es(),Qo));if(await H(p),m.includeAxe)try{let ae=await T(p,"axe",R,()=>zu(p,Og(m.wcagTags??Nu,m.level)),{bugs:S});for(let Q of ae.violations){let ce=Q.id==="target-size"?await Y(p,Q.nodes):new Set;for(let[we,ue]of Q.nodes.entries()){if(ce.has(we)){S.push({tool:"axe",kind:"finding-dropped",detail:"target-size obscured only by a focus-only element (scanner focus state)",selector:Qn(ue.target)});continue}E.push({id:`axe-${Q.id}-${si(Qn(ue.target))}`,source:"axe-core",type:Q.id,wcag:$u(Q.tags),level:ju(Q.tags),impact:Hu(Q.impact),message:Q.help,selector:Qn(ue.target),html:ue.html?.slice(0,300)});}}for(let Q of ae.incomplete??[])for(let ce of Q.nodes){let we=`axe-incomplete-${Q.id}-${si(Qn(ce.target))}`,ue=ce.any?.[0]?.data?.messageKey;ue&&y.set(we,ue),E.push({id:we,source:"axe-core",type:Q.id,wcag:$u(Q.tags),level:ju(Q.tags),impact:Hu(Q.impact),message:Q.help,selector:Qn(ce.target),html:ce.html?.slice(0,300),confidence:"needs_review",reviewReason:"axe-core flagged this as needing human review"});}}catch(ae){S.push({tool:"axe",kind:"engine-failed",detail:`axe-core threw, its findings are absent: ${ae?.message??String(ae)}`});}let{deduplicateIssues:Z}=await Promise.resolve().then(()=>(ia(),aa)),k=Gu(E),v=Z(k.verdicts);try{let{pruneInvisibleContrast:ae}=await Promise.resolve().then(()=>(Zo(),Jo));v=await ae(p,v);}catch{}try{let{pruneHiddenIframeIssues:ae}=await Promise.resolve().then(()=>(Zo(),Jo));v=await ae(p,v);}catch{}try{let{dedupeByElementIdentity:ae}=await Promise.resolve().then(()=>(ia(),aa));v=await ae(p,v);}catch{}try{v=await M(p,v,S);}catch{}try{let{verifyAnimatedGifs:ae}=await Promise.resolve().then(()=>(fv(),dv));v=await ae(p,v);}catch{}if(m.deep&&m.deepApiKey)try{let ae=await GP(D,v,m);v.push(...ae);}catch{}if(m.rootSelector)try{let{scopeIssuesToRoot:ae}=await Promise.resolve().then(()=>(ac(),nc)),Q=await ae(p,v,m.rootSelector);v=Q.issues,Q.warning&&R.push(Q.warning);}catch{}v=Tn(v,m.level??"AA");let F=Gu(v),P=F.verdicts,V=[],j=[],G=new Set;try{if(j=[...k.undecided,...F.undecided],m.rootSelector){let{scopeIssuesToRoot:ue}=await Promise.resolve().then(()=>(ac(),nc));j=(await ue(p,j,m.rootSelector)).issues;}let ae=new Map;await H(p);let Q=await T(p,"contrast-pixels",R,()=>Vg(p,j,y,ae),{bugs:S}),ce=await tv(p,j),we=[...Q,...ce];if(G=new Set(we.map(ue=>`${ue.selector}|${ue.wcag}`)),we.length){let{deduplicateIssues:ue}=await Promise.resolve().then(()=>(ia(),aa));P=ue([...P,...we]);}{let ue=j.filter(Me=>!G.has(`${Me.selector}|${Me.wcag}`)),Ae=await ec(p,ue,{...m.judge,url:D,level:m.judge?.level??m.level??"AA",measured:ae});if(globalThis.process?.env?.WA_DEBUG_JUDGE&&console.error(`ai judge: ${ue.length} undecided before judge, ${Ae.promoted.length} promoted, ${Ae.judged.filter(Me=>Me.verdict==="pass").length} passed`),V=Ae.judged,Ae.promoted.length){let{deduplicateIssues:Me}=await Promise.resolve().then(()=>(ia(),aa));P=Me([...P,...Tn(Ae.promoted,m.level??"AA")]);}}}catch{}let J;{let ae=new Set(V.map(ce=>ce.id)),Q=Tn(j,m.level??"AA").filter(ce=>!G.has(`${ce.selector}|${ce.wcag}`)&&!ae.has(ce.id.replace("axe-incomplete-","axe-")));Q.length&&(J={count:Q.length,wcag:[...new Set(Q.map(ce=>ce.wcag))].sort()});}try{let{dedupeByElementIdentity:ae}=await Promise.resolve().then(()=>(ia(),aa));P=await ae(p,P);}catch{}try{P=await M(p,P,S);}catch{}if(await p.evaluate(()=>performance.timeOrigin)!==C)throw new Error(`the page's document was replaced during the scan (navigation to ${p.url()}); the findings mix two documents`);{let{attachMutations:ae,stopProvenance:Q}=await Promise.resolve().then(()=>(Pr(),pn));ae(S,await Q(p));}let ee={url:D,timestamp:new Date().toISOString(),engine:Mg,issues:P,internal_bugs:S,incomplete:[],...V.length?{judged:V}:{},..._.length?{truncated:_}:{},...R.length?{engineWarnings:R}:{},...J?{unsettled:J}:{},...m.keepDetected?{detected:B}:{},summary:Vu(P)};if(m.review!==!1&&m.deepApiKey)try{ee=await UP(ee,m);}catch{}return ee}finally{let{stopProvenance:C}=await Promise.resolve().then(()=>(Pr(),pn));if(await C(p),w)await w.close();else {let{restoreInteractionState:I}=await Promise.resolve().then(()=>(es(),Qo));await I(p);}}}async function GP(d,f,g){let m=g.deepApiUrl||"https://api.webability.io",p=await fetch(`${m}/cli/deep-scan`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`Bearer ${g.deepApiKey}`},body:JSON.stringify({url:d,standardIssues:f.slice(0,30).map(({source:D,...x})=>x)})});return p.ok?((await p.json()).issues??[]).map((D,x)=>({id:`deep-${x}-${si(D.selector||D.element||"")}`,source:"deep-analysis",type:`wcag-${D.wcag}`,wcag:D.wcag,level:"AA",impact:D.severity==="High"?"critical":D.severity==="Medium"?"serious":"moderate",message:D.message,selector:D.selector||D.element||""})):[]}function pv(d){let f=d.fix?.attribute??"";return !!d.fix?.needsManualReview&&f!=="style"&&!f.startsWith("data-")}async function UP(d,f){let g=f.deepApiUrl||"https://api.webability.io",m=d.issues.filter(pv);if(m.length===0)return d;try{let p=await fetch(`${g}/review-findings`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`Bearer ${f.deepApiKey}`},body:JSON.stringify({url:d.url,issues:m.slice(0,30).map(({source:C,...I})=>I)})});if(!p.ok)return d;let w=await p.json();if(!w.confirmed_ids)return d;let D=new Set(w.confirmed_ids),x=d.issues.filter(C=>!pv(C)||D.has(C.id));return {...d,issues:x,summary:Vu(x)}}catch{return d}}var oa={"not-found":"selector matched no elements","not-verifiable":"not checked by any WebAbility tool",unknown_rule:"not a known rule id","unsupported-selector":'selectors that pierce shadow DOM (">>>") or iframes cannot be scoped by verify_fix'};function hv(d){let f=d.replace(/"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'/g,'""').replace(/\[[^\]]*\]/g,"[]");return f.includes(">>>")||/\s>>\s/.test(f)}var sa=d=>d.trim().toLowerCase().replace(/-/g,"_"),WP=()=>Object.entries(ni).filter(([d])=>!Iu.has(d)).map(([,d])=>d),oc={axeRules:async()=>(await Promise.resolve().then(()=>Uo(ui()))).default.getRules(),detectorCriteria:WP,ruleIds:async()=>[...Object.keys(ni),...(await Promise.resolve().then(()=>Uo(ui()))).default.getRules().map(d=>d.ruleId)],ruleCriteria:async d=>{let f=ni[sa(d)];return f?[f]:((await Promise.resolve().then(()=>Uo(ui()))).default.getRules().find(m=>sa(m.ruleId)===sa(d))?.tags??[]).map(Yo).filter(Boolean)}},gv=d=>!!Xo[d],XP=new Set(["3.2.3","3.2.4","1.2.5","2.4.9"]),ic;async function vv(d){if(!d&&ic)return ic;let f=d??oc,g=new Set;for(let m of await f.axeRules())for(let p of m.tags??[]){let w=Yo(p);w&&g.add(w);}for(let m of f.detectorCriteria())g.add(String(m).trim());for(let m of XP)g.delete(m);for(let m of [...g])gv(m)||g.delete(m);return !d&&g.size>0&&(ic=g),g}async function bv(d,f){try{let g=await vv(f),m=d.trim();if(g.size>0){if(g.has(m))return {verifiable:!0};if(/^\d+(\.\d+)?$/.test(m)&&[...g].some(p=>p.startsWith(m+".")))return {verifiable:!0}}}catch{}return {verifiable:false,reason:"not-verifiable"}}async function mv(d,f){try{return (await(f??oc).ruleIds()).some(m=>sa(m)===sa(d))}catch{return false}}async function YP(d,f){try{let g=(f??oc).ruleCriteria;return g?(await g(d)).some(p=>gv(String(p).trim())):!0}catch{return false}}async function KP(d,f,g){let m=d?.trim();if(m&&/^\d+(\.\d+)*$/.test(m)){let p=await bv(m,g);if(!p.verifiable)return {reason:p.reason,text:`UNVERIFIED: WCAG ${d} is not checked by the engines verify_fix uses, so a clean result would prove nothing (${oa[p.reason]}).`}}else {if(m&&Iu.has(sa(m)))return {reason:"not-verifiable",text:`UNVERIFIED: "${d}" is an experimental best-practice check that verify_fix does not run, so a clean result would prove nothing (${oa["not-verifiable"]}).`};if(m&&await mv(m,g)&&!await YP(m,g))return {reason:"not-verifiable",text:`UNVERIFIED: "${d}" only maps to criteria outside WCAG 2.2 (no conformance level), which the scan never reports, so a clean result would prove nothing (${oa["not-verifiable"]}).`};if(m&&!await mv(m,g))return {reason:"unknown_rule",isError:true,text:`UNVERIFIED: "${d}" is ${oa.unknown_rule}, so nothing was checked. Pass a WCAG criterion (e.g. "1.1.1", "1.4.3") or a rule id from get_rules (e.g. "image-alt", "missing_alt", "color-contrast").`}}return hv(f)?{reason:"unsupported-selector",text:`UNVERIFIED: \`${f}\` crosses a shadow root or iframe boundary; ${oa["unsupported-selector"]}. Scope to the host element in the main document, or use scan_page.`}:null}rc();function JP(d){let f={critical:"#dc2626",serious:"#ea580c",moderate:"#ca8a04",minor:"#6b7280"},g=d.issues.map(m=>`
|
|
405
|
+
${JSON.stringify(f,null,1)}`}function Zg(d,f={}){let g=d.vision&&d.items.some(w=>w.screenshot),m=g?f.visionModel||Yg:f.textModel||Ku,p=[{type:"text",text:pP(d)}];if(g)for(let w of d.items)w.screenshot&&(p.push({type:"text",text:`Crop for ${w.id}:`}),p.push({type:"image_url",image_url:{url:`data:image/png;base64,${w.screenshot}`}}));return {model:m,temperature:0,max_tokens:4096,...m===Ku&&f.disableTextModelReasoning?{reasoning:{enabled:false}}:{},messages:[{role:"system",content:Jg},{role:"user",content:p}]}}function Qg(d){let f=(d.baseUrl||Xg).replace(/\/+$/,""),g=false;try{let m=new URL(f).hostname;g=m==="openrouter.ai"||m.endsWith(".openrouter.ai");}catch{}return async(m,p)=>{let w=await fetch(`${f}/chat/completions`,{method:"POST",signal:p,headers:{"Content-Type":"application/json",Authorization:`Bearer ${d.apiKey}`,"HTTP-Referer":"https://webability.io","X-Title":"WebAbility scanner judge"},body:JSON.stringify(Zg(m,{visionModel:d.visionModel,textModel:d.textModel,disableTextModelReasoning:g}))});if(!w.ok)throw new na(`judge model HTTP ${w.status}`);let x=(await w.json()).choices?.[0]?.message?.content;if(typeof x=="string")return x;if(Array.isArray(x))return x.map(S=>typeof S?.text=="string"?S.text:"").join("");throw new Error("judge model returned no content")}}function ev(d){let f=d.apiUrl.replace(/\/+$/,"");return async(g,m)=>{let p=await fetch(`${f}/api/judge-incomplete`,{method:"POST",signal:m,redirect:"manual",headers:{"Content-Type":"application/json",...d.token?{Authorization:`Bearer ${d.token}`}:{},...d.internalSecret?{"x-mcp-internal":d.internalSecret}:{}},body:JSON.stringify(g)});if(p.status>=300&&p.status<400)throw new na(`judge endpoint redirected (HTTP ${p.status}); not followed`);if(!p.ok)throw new na(`judge endpoint HTTP ${p.status}`);return p.json()}}function mP(d){return d.transport?d.transport:d.apiKey?Qg({apiKey:d.apiKey,baseUrl:d.baseUrl,visionModel:d.visionModel,textModel:d.textModel}):d.apiUrl?ev({apiUrl:d.apiUrl,token:d.apiToken,internalSecret:d.internalSecret}):null}function hP(d){return d.maxCropChars??(!d.transport&&!d.apiKey&&d.apiUrl?tP:void 0)}async function ec(d,f,g){let m={promoted:[],judged:[]},p=mP(g);if(f.length===0)return m;let w=g.level??"AA",D=g.timeoutMs??Wg,x=Date.now()+D,S=Tn([...f],w);if(S.length===0)return m;let F=new Map;for(let v of S){let T=`${v.selector}|${Ju(v)}`,P=F.get(T);P?P.members.push(v):F.set(T,{key:T,members:[v],rep:v,ctx:void 0,kind:"generic"});}let C={elements:{}};if(d)try{await d.evaluate("if(typeof globalThis.__name==='undefined'){globalThis.__name=function(t){return t}}"),C=await d.evaluate(iP,{selectors:[...F.keys()].map(v=>F.get(v).rep.selector),maxHtml:$g});}catch{}for(let v of F.values())v.ctx=C.elements[v.rep.selector],v.ctx&&!v.ctx.found&&(v.ctx=void 0),v.kind=oP(v.rep,v.ctx);let y=new Map;for(let[v,T]of [...F]){if(!T.ctx)continue;let P=`${T.ctx.elementKey}|${Ju(T.rep)}`,H=y.get(P);if(!H){y.set(P,T);continue}H.members.push(...T.members),F.delete(v);}let A={promoted:[],judged:[]},_=(v,T)=>{for(let P of v.members){if(T.verdict==="violation"){let H=vP(P,v,T);if(!H)continue;A.promoted.push(H);}A.judged.push({id:P.id.replace("axe-incomplete-","axe-"),type:P.type,verdict:T.verdict,reason:T.reason});}},L=[...F.values()].filter(v=>v.kind==="contrast");if(L.length&&d){for(let T of L)T.pixels=g.measured?.get(T.rep.selector);let v=L.filter(T=>!T.pixels).map(T=>T.rep.selector);if(v.length)try{for(let T of await Uu(d,v))for(let P of L)P.rep.selector===T.selector&&(P.pixels=T);}catch{}}let I=[];for(let v of F.values()){let T=p?di.get(zg(g.url,v.rep,v.ctx?.html??v.rep.html??"")):void 0;if(T){_(v,T);continue}let P=gP(v);if(P!=="drop"){if(P){_(v,P);continue}I.push(v);}}if(I.length===0||!p)return A;let N=g.vision!==false&&!!d&&typeof d.screenshot=="function",M=new Map,V=new Set,q=0,U=hP(g),Q=v=>({id:v.rep.id,type:v.rep.type,wcag:v.rep.wcag,message:v.rep.message,selector:v.rep.selector,html:(v.ctx?.html??v.rep.html??"").slice(0,$g),context:V.has(v.key)?{...Gg(v),cropNote:"no image attached: the crop was too large to send"}:Gg(v),...M.has(v.key)?{screenshot:M.get(v.key)}:{}}),k=N?QL:ZL;for(let v=0;v<I.length;v+=k){let T=x-Date.now();if(T<=0)break;let P=I.slice(v,v+k);if(N){for(let ee of P){if(q>=eP||Date.now()>x)break;let ce=await wP(d,ee.ctx,U);ce&&(q++,ce.data?M.set(ee.key,ce.data):V.add(ee.key));}if(Date.now()>x)break}let H=new Map(P.map(ee=>[ee.rep.id,ee])),j=new AbortController,G=setTimeout(()=>j.abort(),T),K=null,Z=false,ae=Date.now();try{let ee=await Promise.race([p({url:g.url,level:w,vision:N,items:P.map(Q)},j.signal),new Promise((ce,ke)=>j.signal.addEventListener("abort",()=>ke(new Error("judge deadline"))))]);K=fP(ee),Zu()&&console.error(`ai judge: batch ${P.length} items, ${P.filter(ce=>M.has(ce.key)).length} crops, ${Date.now()-ae}ms, ${K?K.length+" verdicts":"MALFORMED: "+String(ee).slice(0,200)}`);}catch(ee){Zu()&&console.error(`ai judge: batch ${P.length} items failed after ${Date.now()-ae}ms: ${ee.message}`),K=null,Z=ee instanceof na;}finally{clearTimeout(G);}if(!K){if(j.signal.aborted||Z)break;continue}for(let ee of K){let ce=H.get(ee.id);if(!ce)continue;H.delete(ee.id);let ke={verdict:ee.verdict,reason:lP(ee.reason),fix:ee.fix};di.size>=rP&&di.clear(),di.set(zg(g.url,ce.rep,ce.ctx?.html??ce.rep.html??""),ke),_(ce,ke);}}return A}function gP(d){let f=d.ctx;if(d.kind==="alt"){if(f?.role==="presentation"||f?.role==="none")return {verdict:"pass",reason:"declared decorative (role=presentation)"};if(f?.ariaHidden)return {verdict:"pass",reason:"hidden from assistive technology (aria-hidden)"};if(f?.img){let{attrW:g,attrH:m,naturalW:p,naturalH:w}=f.img;if(g>0&&g<=1&&m>0&&m<=1||p>0&&p<=1&&w>0&&w<=1)return {verdict:"pass",reason:"1x1 tracking/spacer pixel"}}return f&&Qu(f)?f.control?f.control.name?{verdict:"pass",reason:`${f.control.tag} is named ("${f.control.name.slice(0,40)}"); the background image needs no text`}:null:{verdict:"pass",reason:"CSS background image on a non-interactive element; decorative"}:f?.parentInteractive?.text?{verdict:"pass",reason:`${f.parentInteractive.tag} is named by its visible link text ("${f.parentInteractive.text.slice(0,40)}"); alt may be empty`}:null}if(d.kind==="motion")return f?.reducedMotionHandled?{verdict:"pass",reason:"a prefers-reduced-motion: reduce rule stops this element's animation"}:null;if(d.kind==="contrast"){if(!d.pixels)return "drop";let g=tc(d.rep,d.pixels.threshold);return d.pixels.worstRatio>=g?{verdict:"pass",reason:`measured ${d.pixels.worstRatio.toFixed(2)}:1 at worst behind the text, meets ${g}:1`}:d.pixels.bestRatio<g*.97?{verdict:"violation",reason:`measured ${d.pixels.bestRatio.toFixed(2)}:1 at best behind the text, below ${g}:1 everywhere`}:null}return null}function Gg(d){let f=d.ctx,g={};return d.rep.reviewReason&&(g.engineNote=d.rep.reviewReason),f&&(g.tag=f.tag,f.nearText&&(g.nearbyText=f.nearText),f.parentInteractive&&(g.parentControl=f.parentInteractive),d.kind==="alt"&&Qu(f)&&f.control&&(g.control={tag:f.control.tag,accessibleName:f.control.name}),d.kind==="alt"&&f.img&&(g.image={src:f.img.src,alt:f.img.alt,width:f.img.naturalW||f.img.attrW||f.rect.w,height:f.img.naturalH||f.img.attrH||f.rect.h}),d.kind==="contrast"&&d.pixels&&(g.fg=ra(d.pixels.fg),g.threshold=tc(d.rep,d.pixels.threshold),g.bestRatio=Ug(d.pixels.bestRatio),g.worstRatio=Ug(d.pixels.worstRatio),g.fontSize=f.fontSize,g.fontWeight=f.fontWeight),d.kind==="generic"&&(g.fg=ra(f.fg),g.bg=ra(f.bg),g.size={w:Math.round(f.rect.w),h:Math.round(f.rect.h)})),g}function tc(d,f){return d.wcag==="1.4.6"||d.type==="contrast_enhanced"?f===3?4.5:7:f}var Ug=d=>Math.round(d*100)/100;function vP(d,f,g){let m=dP(d);if(f.kind==="alt"){let w=uP(g.fix?.value);return w?Qu(f.ctx)?{...m,fix:{attribute:"aria-label",currentValue:"",suggestedValue:w,needsManualReview:false}}:{...m,fix:{attribute:"alt",currentValue:f.ctx?.img?.alt??d.fix?.currentValue??"",suggestedValue:w,needsManualReview:false}}:null}if(f.kind==="contrast"){let w=f.pixels;if(!w)return null;let D=ra(w.fg),x=tc(d,w.threshold),S=w.worstBg?ra(w.worstBg):null,F=w.bestBg?ra(w.bestBg):null,C=L=>!!L&&!!S&&jt(L,S)>=x&&(!F||jt(L,F)>=x),y,A=cP(g.fix?.value),_=S?bP(D,S,x):null;return A&&A!==D.toLowerCase()&&C(A)?y=`color:${A} !important;`:C(_)?y=`color:${_} !important;`:F&&jt(D,F)>=x&&(y=`background-color:${F} !important;`),{...m,impact:"serious",message:`contrast: ${D} text on its rendered background measures ${w.worstRatio.toFixed(2)}:1 at worst (${w.bestRatio.toFixed(2)}:1 at best, from pixels; judge: ${g.reason||"not readable"}), needs ${x}:1`,fix:{attribute:"style",currentValue:D,...y?{suggestedValue:y}:{},needsManualReview:true}}}let p=d.fix;return p?{...m,fix:p}:g.fix?.attribute&&g.fix.value?{...m,fix:{attribute:g.fix.attribute,currentValue:"",suggestedValue:g.fix.value,needsManualReview:true}}:m}function bP(d,f,g){let m=d.match(Kg);if(!m)return null;let p=parseInt(m[1],16),w=[p>>16&255,p>>8&255,p&255],D=F=>"#"+F.map(C=>Math.round(Math.min(255,Math.max(0,C))).toString(16).padStart(2,"0")).join(""),x=(F,C)=>D(w.map(y=>C?y*(1-F):y+(255-y)*F)),S=null;for(let F of [true,false]){if(jt(x(1,F),f)<g)continue;let C=0,y=1;for(let _=0;_<24;_++){let L=(C+y)/2;jt(x(L,F),f)>=g?y=L:C=L;}let A=x(y,F);jt(A,f)>=g&&(!S||y<S.t)&&(S={t:y,hex:A});}return S?.hex??null}var yP=[1,.6,.35];async function wP(d,f,g){let m=d.screenshot;if(typeof m!="function"||!f||f.rect.w<2||f.rect.h<2||f.hidden)return null;try{let w=Math.min(1200,f.rect.w+16),D=Math.min(600,f.rect.h+16),x=f.rect.x+f.rect.w/2,S=f.rect.y+f.rect.h/2,F=globalThis.Buffer;if(!F)return null;let C=0;for(let y of g===void 0?[1]:yP){let A=Math.max(2,Math.round(w*y)),_=Math.max(2,Math.round(D*y)),L=y===1?Math.max(0,f.rect.x-8):Math.max(0,x-A/2),I=y===1?Math.max(0,f.rect.y-8):Math.max(0,S-_/2),N=await m.call(d,{clip:{x:L,y:I,width:A,height:_},fullPage:!0,type:"png",animations:"disabled"}),M=F.from(N).toString("base64");if(C=M.length,g===void 0||M.length<=g)return {data:M}}return Zu()&&console.error(`ai judge: crop for ${f.tag} left out (${C} base64 chars > ${g} at the smallest clip)`),{}}catch{return null}}async function xP(d){let f=L=>({verdict:"drop",why:L}),g=null;try{g=document.querySelector(d.selector);}catch{return f("bad selector")}if(!g||g.tagName!=="VIDEO")return f("not a video");let m=getComputedStyle(g),p=g.getBoundingClientRect();if(m.display==="none"||m.visibility==="hidden"||g.closest("[hidden]")||p.width<100||p.height<50)return f("not visible/large enough");if(g.error)return f("failed load");let w=g.currentSrc||g.getAttribute("src")||g.querySelector("source")?.getAttribute("src")||"";if(!w||/^(blob|data|about|javascript):/i.test(w)||/\.(m3u8|mpd)(\?|$)/i.test(w))return f("no direct src / MSE");let D=g.hasAttribute("muted")||g.muted,x=g.hasAttribute("controls"),S=g.hasAttribute("autoplay")||g.autoplay,F=g.hasAttribute("loop")||g.loop,C=x||S&&!D;if(!C){let L=/play|pause|mute|unmute|sound|volume/i;for(let I=g.parentElement,N=0;I&&N<3&&!C;I=I.parentElement,N++)C=Array.from(I.querySelectorAll('button, [role="button"]')).some(M=>L.test((M.getAttribute("aria-label")||"")+" "+(M.getAttribute("title")||"")+" "+(M.textContent||"")));}if(!C)return f("not user-playable");if(D&&F&&!x)return f("decorative loop");if(g.hasAttribute("muted")&&!x&&!S)return f("muted");if(Number.isFinite(g.duration)&&g.duration>0&&g.duration<5)return f("under 5s");await new Promise(L=>setTimeout(L,2e3));for(let L of Array.from(g.querySelectorAll("track"))){let I=(L.getAttribute("kind")||"subtitles").toLowerCase();if((I==="captions"||I==="subtitles")&&L.getAttribute("src"))return f("has caption track")}let y=g.textTracks;for(let L=0;y&&L<y.length;L++)if(y[L].kind==="captions"||y[L].kind==="subtitles")return f("has text track");let A=g,_=null;if(typeof A.mozHasAudio=="boolean"?_=A.mozHasAudio:A.audioTracks&&typeof A.audioTracks.length=="number"&&(_=A.audioTracks.length>0?true:null),_===null&&typeof A.webkitAudioDecodedByteCount=="number"&&A.webkitAudioDecodedByteCount>0&&(_=true),_===null)try{let L=new AbortController,I=setTimeout(()=>L.abort(),d.fetchMs),N=await fetch(w,{headers:{Range:"bytes=0-"+(d.rangeBytes-1)},signal:L.signal}),M=new Uint8Array(d.rangeBytes),V=0,q=N.body?N.body.getReader():null;if(q)try{for(;V<d.rangeBytes;){let{done:k,value:v}=await q.read();if(k||!v)break;let T=Math.min(v.length,d.rangeBytes-V);M.set(v.subarray(0,T),V),V+=T;}}finally{try{await q.cancel();}catch{}}clearTimeout(I);let U=(k,v=0)=>{e:for(let T=v;T<=V-k.length;T++){for(let P=0;P<k.length;P++)if(M[T+P]!==k[P])continue e;return T}return -1},Q=k=>Array.from(k).map(v=>v.charCodeAt(0));U(Q("ftyp"))>=0&&U(Q("moov"))>=0?_=U(Q("hdlr"))>=0&&U(Q("soun"))>=0:M[0]===26&&M[1]===69&&M[2]===223&&M[3]===163&&U([22,84,174,107])>=0&&(_=U([131,129,2])>=0);}catch{_=null;}return _!==true?f(_===false?"silent":"audio unknowable"):{verdict:"violation"}}async function tv(d,f){let g=f.filter(w=>w.type==="missing_captions"&&/^<video\b/i.test(w.html??"")&&w.selector).slice(0,10);if(g.length===0)return [];let m=[],p=Date.now()+1e4;try{await d.evaluate("if(typeof globalThis.__name==='undefined'){globalThis.__name=function(t){return t}}");for(let w of g){if(Date.now()>p)break;let D=p-Date.now(),x,S=await Promise.race([d.evaluate(xP,{selector:w.selector,rangeBytes:1048576,fetchMs:4e3}),new Promise(F=>{x=setTimeout(()=>F(null),D);})]).finally(()=>x&&clearTimeout(x));if(!S)break;if(S.verdict==="violation"){let{confidence:F,reviewReason:C,...y}=w;m.push({...y,id:w.id.replace("axe-incomplete-","axe-"),message:"video has an audio track, can be played by the user, and has no captions or subtitles track (WCAG 1.2.2)"});}}}catch{}return m}function av(){let d=p=>{let w=p.getBoundingClientRect();if(w.width===0||w.height===0)return false;let D=window.getComputedStyle(p);return D.visibility!=="hidden"&&D.display!=="none"&&D.opacity!=="0"},f=Array.from(document.querySelectorAll('input[type="password"]')),g=Array.from(document.querySelectorAll('button, input[type="submit"], a[role="button"]')).filter(d).map(p=>(p.value||p.textContent||"").trim().toLowerCase()).filter(p=>p.length>0&&p.length<40),m=Array.from(document.querySelectorAll("button, a")).filter(d).filter(p=>/sign in with|continue with|log in with/i.test(p.textContent||"")).length;return {passwordFields:f.length,visiblePasswordFields:f.filter(d).length,submitLabels:g,oauthButtons:m,formCount:document.querySelectorAll("form").length,bodyTextLength:(document.body?.innerText||"").trim().length,headingText:(document.querySelector("h1, h2")?.textContent||"").trim().slice(0,120).toLowerCase()}}var DP=/\b(log ?in|sign ?in|sign ?on|authenticate)\b/,_P=/\b(log ?in|sign ?in|sign ?on|authentication|welcome back|access denied|unauthori[sz]ed)\b/;function rv(d){try{let f=new URL(d).pathname.toLowerCase();return /(^|\/)(login|signin|sign-in|log-in|auth|sso|session\/new|users\/sign_in)(\/|$)/.test(f)}catch{return false}}function iv(d,f,g){if(rv(f))return null;let m=nv(f)!==nv(g),p=d.submitLabels.some(y=>DP.test(y)),w=_P.test(d.headingText),D=rv(g),x=[];D&&x.push("url"),p&&x.push("submit"),w&&x.push("heading"),m&&x.push("redirected");let S=d.visiblePasswordFields>0,F=d.oauthButtons>0&&d.bodyTextLength<600&&d.formCount<=1;if(!S&&!F||x.length<2)return null;let C=`${S?"password-field":"oauth-only"}+${x.join("+")}`;return {reason:`Scan did not reach the requested page \u2014 it landed on a sign-in page at ${g}. The findings would describe the login screen, not the intended page. Configure site authentication for this site, or scan a page that does not require a session.`,signal:C,finalUrl:g}}function nv(d){try{let f=new URL(d);return `${f.origin}${f.pathname.replace(/\/+$/,"")}`.toLowerCase()}catch{return d.toLowerCase()}}async function VP(d){try{return await d.evaluate(()=>{let f=(document.title||"").toLowerCase(),g=[["just a moment","Cloudflare"],["attention required","Cloudflare"],["checking your browser","Cloudflare"],["access to this page has been denied","PerimeterX/HUMAN"],["please verify you are a human","PerimeterX/HUMAN"],["verify you are human","bot-challenge"],["are you a robot","bot-challenge"],["you have been blocked","bot-challenge"],["request unsuccessful","Imperva/Incapsula"],["human verification","bot-challenge"],["additional security check is required","bot-challenge"]];for(let[w,D]of g)if(f.includes(w))return {vendor:D,signal:`title:"${document.title}"`,needsCorroboration:!1};let m=[["#cf-chl-widget","Cloudflare"],["#challenge-running","Cloudflare"],["#cf-challenge-running","Cloudflare"],[".cf-browser-verification","Cloudflare"],["#cf-please-wait","Cloudflare"],["div.cf-error-details","Cloudflare"],["#px-captcha","PerimeterX/HUMAN"],["#distilCaptchaForm","Distil"],["form#challenge-form","bot-challenge"]];for(let[w,D]of m)if(document.querySelector(w))return {vendor:D,signal:`marker:${w}`,needsCorroboration:!1};if(window._cf_chl_opt)return {vendor:"Cloudflare",signal:"marker:window._cf_chl_opt",needsCorroboration:!1};let p=[["please wait...","Cloudflare"],["access denied","bot-challenge"]];for(let[w,D]of p)if(f.includes(w))return {vendor:D,signal:`title:"${document.title}"`,needsCorroboration:!0};return null})}catch{return null}}async function $P(d){try{return await d.evaluate(()=>{let f=document.querySelectorAll("body *").length;if(f>250)return null;let g=['[id*="captcha" i]','[class*="captcha" i]','img[src*="captcha" i]','iframe[src*="recaptcha" i]','iframe[src*="hcaptcha" i]','iframe[src*="turnstile" i]','[name*="captcha" i]'];for(let p of g)try{if(document.querySelector(p))return {signal:`marker:${p}`,elements:f}}catch{}let m=(document.title||"").toLowerCase();return m.includes("captcha")||m.includes("security check")||m.includes("bot verification")?{signal:`title:"${document.title}"`,elements:f}:null})}catch{return null}}async function jP(d,f){let g=await VP(d),m=typeof f=="number"&&f>=400,p=g&&(!g.needsCorroboration||m)?g:null;if(!p&&!m)return null;let w=[];return p&&w.push(`served a ${p.vendor} bot-challenge / interstitial page`),m&&w.push(`main document returned HTTP ${f}`),{reason:`Scan did not reach the real page \u2014 the target ${w.join(" and ")}. The returned issue list reflects the challenge/error page, not the intended site.`,...p?{vendor:p.vendor}:{},...typeof f=="number"?{status:f}:{},...p?{signal:p.signal}:m?{signal:`status:${f}`}:{}}}async function zP(d,f){let g=typeof d=="string",m={wcagTags:Nu,includeAxe:true,deep:false,dismissModals:g,...f},p,w,D,x;if(g){D=d.startsWith("http")?d:`https://${d}`;let S=typeof m.viewport=="string"?ai[m.viewport]??ai.desktop:m.viewport??ai.desktop;w=await(await import('playwright')).chromium.launch({headless:m.browser?.headless??true}),p=await(await w.newContext({viewport:S})).newPage();let y=await p.goto(D,{waitUntil:"domcontentloaded",timeout:m.browser?.timeout??3e4});x=typeof y?.status=="function"?y.status():void 0;}else p=d,D=p.url(),x=m.mainStatus;if(m.dismissModals)try{let{dismissModals:S}=await Promise.resolve().then(()=>(rc(),sv));await S(p);}catch{}if(m.settle!==false)try{let{waitForRenderSettle:S}=await Promise.resolve().then(()=>(Zo(),Jo));await S(p,typeof m.settle=="number"?m.settle:void 0);}catch{}if(!w){let{snapshotInteractionState:S}=await Promise.resolve().then(()=>(es(),Qo));await S(p);}try{let S=await p.evaluate(()=>performance.timeOrigin);try{let ae=await p.evaluate(av),ee=iv(ae,D,typeof p.url=="function"?p.url():D);if(ee)return {url:D,timestamp:new Date().toISOString(),blocked:{reason:ee.reason,signal:`auth-wall:${ee.signal}`,...typeof x=="number"?{status:x}:{}},issues:[],incomplete:[],internal_bugs:[],summary:{total:0,critical:0,serious:0,moderate:0,minor:0,incomplete:0}}}catch{}let F=await jP(p,x);if(F)return {url:D,timestamp:new Date().toISOString(),blocked:F,issues:[],incomplete:[],internal_bugs:[],summary:{total:0,critical:0,serious:0,moderate:0,minor:0,incomplete:0}};let C=[],y=new Map,A=[],_=[],L=[],{guardDetectorState:I,dropToolingFindings:N}=await Promise.resolve().then(()=>(Pr(),pn)),M=await $P(p);M&&_.push(`challenge:suspected-interstitial (${M.signal}; ${M.elements} elements) \u2014 this looks like a bot-challenge/CAPTCHA page, not the real site; results may be invalid`),await(await Promise.resolve().then(()=>(Pr(),pn))).startProvenance(p);let V=await Ou(p,A,_,{internalBugs:L,extraSerialDetectors:m.extraSerialDetectors,experimental:m.experimental});C.push(...V.map(qg));let{resetInteractionState:q,focusOnlyObscuredIndexes:U}=await Promise.resolve().then(()=>(es(),Qo));if(await q(p),m.includeAxe)try{let ae=await I(p,"axe",_,()=>zu(p,Og(m.wcagTags??Nu,m.level)),{bugs:L});for(let ee of ae.violations){let ce=ee.id==="target-size"?await U(p,ee.nodes):new Set;for(let[ke,he]of ee.nodes.entries()){if(ce.has(ke)){L.push({tool:"axe",kind:"finding-dropped",detail:"target-size obscured only by a focus-only element (scanner focus state)",selector:Qn(he.target)});continue}C.push({id:`axe-${ee.id}-${si(Qn(he.target))}`,source:"axe-core",type:ee.id,wcag:$u(ee.tags),level:ju(ee.tags),impact:Hu(ee.impact),message:ee.help,selector:Qn(he.target),html:he.html?.slice(0,300)});}}for(let ee of ae.incomplete??[])for(let ce of ee.nodes){let ke=`axe-incomplete-${ee.id}-${si(Qn(ce.target))}`,he=ce.any?.[0]?.data?.messageKey;he&&y.set(ke,he),C.push({id:ke,source:"axe-core",type:ee.id,wcag:$u(ee.tags),level:ju(ee.tags),impact:Hu(ee.impact),message:ee.help,selector:Qn(ce.target),html:ce.html?.slice(0,300),confidence:"needs_review",reviewReason:"axe-core flagged this as needing human review"});}}catch(ae){L.push({tool:"axe",kind:"engine-failed",detail:`axe-core threw, its findings are absent: ${ae?.message??String(ae)}`});}let{deduplicateIssues:Q}=await Promise.resolve().then(()=>(ia(),aa)),k=Gu(C),v=Q(k.verdicts);try{let{pruneInvisibleContrast:ae}=await Promise.resolve().then(()=>(Zo(),Jo));v=await ae(p,v);}catch{}try{let{pruneHiddenIframeIssues:ae}=await Promise.resolve().then(()=>(Zo(),Jo));v=await ae(p,v);}catch{}try{let{dedupeByElementIdentity:ae}=await Promise.resolve().then(()=>(ia(),aa));v=await ae(p,v);}catch{}try{v=await N(p,v,L);}catch{}try{let{verifyAnimatedGifs:ae}=await Promise.resolve().then(()=>(fv(),dv));v=await ae(p,v);}catch{}if(m.deep&&m.deepApiKey)try{let ae=await GP(D,v,m);v.push(...ae);}catch{}if(m.rootSelector)try{let{scopeIssuesToRoot:ae}=await Promise.resolve().then(()=>(ac(),nc)),ee=await ae(p,v,m.rootSelector);v=ee.issues,ee.warning&&_.push(ee.warning);}catch{}v=Tn(v,m.level??"AA");let T=Gu(v),P=T.verdicts,H=[],j=[],G=new Set;try{if(j=[...k.undecided,...T.undecided],m.rootSelector){let{scopeIssuesToRoot:he}=await Promise.resolve().then(()=>(ac(),nc));j=(await he(p,j,m.rootSelector)).issues;}let ae=new Map;await q(p);let ee=await I(p,"contrast-pixels",_,()=>Vg(p,j,y,ae),{bugs:L}),ce=await tv(p,j),ke=[...ee,...ce];if(G=new Set(ke.map(he=>`${he.selector}|${he.wcag}`)),ke.length){let{deduplicateIssues:he}=await Promise.resolve().then(()=>(ia(),aa));P=he([...P,...ke]);}{let he=j.filter(Ge=>!G.has(`${Ge.selector}|${Ge.wcag}`)),Te=await ec(p,he,{...m.judge,url:D,level:m.judge?.level??m.level??"AA",measured:ae});if(globalThis.process?.env?.WA_DEBUG_JUDGE&&console.error(`ai judge: ${he.length} undecided before judge, ${Te.promoted.length} promoted, ${Te.judged.filter(Ge=>Ge.verdict==="pass").length} passed`),H=Te.judged,Te.promoted.length){let{deduplicateIssues:Ge}=await Promise.resolve().then(()=>(ia(),aa));P=Ge([...P,...Tn(Te.promoted,m.level??"AA")]);}}}catch{}let K;{let ae=new Set(H.map(ce=>ce.id)),ee=Tn(j,m.level??"AA").filter(ce=>!G.has(`${ce.selector}|${ce.wcag}`)&&!ae.has(ce.id.replace("axe-incomplete-","axe-")));ee.length&&(K={count:ee.length,wcag:[...new Set(ee.map(ce=>ce.wcag))].sort()});}try{let{dedupeByElementIdentity:ae}=await Promise.resolve().then(()=>(ia(),aa));P=await ae(p,P);}catch{}try{P=await N(p,P,L);}catch{}if(await p.evaluate(()=>performance.timeOrigin)!==S)throw new Error(`the page's document was replaced during the scan (navigation to ${p.url()}); the findings mix two documents`);{let{attachMutations:ae,stopProvenance:ee}=await Promise.resolve().then(()=>(Pr(),pn));ae(L,await ee(p));}let Z={url:D,timestamp:new Date().toISOString(),engine:Mg,issues:P,internal_bugs:L,incomplete:[],...H.length?{judged:H}:{},...A.length?{truncated:A}:{},..._.length?{engineWarnings:_}:{},...K?{unsettled:K}:{},...m.keepDetected?{detected:V}:{},summary:Vu(P)};if(m.review!==!1&&m.deepApiKey)try{Z=await UP(Z,m);}catch{}return Z}finally{let{stopProvenance:S}=await Promise.resolve().then(()=>(Pr(),pn));if(await S(p),w)await w.close();else {let{restoreInteractionState:F}=await Promise.resolve().then(()=>(es(),Qo));await F(p);}}}async function GP(d,f,g){let m=g.deepApiUrl||"https://api.webability.io",p=await fetch(`${m}/cli/deep-scan`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`Bearer ${g.deepApiKey}`},body:JSON.stringify({url:d,standardIssues:f.slice(0,30).map(({source:D,...x})=>x)})});return p.ok?((await p.json()).issues??[]).map((D,x)=>({id:`deep-${x}-${si(D.selector||D.element||"")}`,source:"deep-analysis",type:`wcag-${D.wcag}`,wcag:D.wcag,level:"AA",impact:D.severity==="High"?"critical":D.severity==="Medium"?"serious":"moderate",message:D.message,selector:D.selector||D.element||""})):[]}function pv(d){let f=d.fix?.attribute??"";return !!d.fix?.needsManualReview&&f!=="style"&&!f.startsWith("data-")}async function UP(d,f){let g=f.deepApiUrl||"https://api.webability.io",m=d.issues.filter(pv);if(m.length===0)return d;try{let p=await fetch(`${g}/review-findings`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`Bearer ${f.deepApiKey}`},body:JSON.stringify({url:d.url,issues:m.slice(0,30).map(({source:S,...F})=>F)})});if(!p.ok)return d;let w=await p.json();if(!w.confirmed_ids)return d;let D=new Set(w.confirmed_ids),x=d.issues.filter(S=>!pv(S)||D.has(S.id));return {...d,issues:x,summary:Vu(x)}}catch{return d}}var oa={"not-found":"selector matched no elements","not-verifiable":"not checked by any WebAbility tool",unknown_rule:"not a known rule id","unsupported-selector":'selectors that pierce shadow DOM (">>>") or iframes cannot be scoped by verify_fix'};function hv(d){let f=d.replace(/"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'/g,'""').replace(/\[[^\]]*\]/g,"[]");return f.includes(">>>")||/\s>>\s/.test(f)}var sa=d=>d.trim().toLowerCase().replace(/-/g,"_"),WP=()=>Object.entries(ni).filter(([d])=>!Iu.has(d)).map(([,d])=>d),oc={axeRules:async()=>(await Promise.resolve().then(()=>Uo(ui()))).default.getRules(),detectorCriteria:WP,ruleIds:async()=>[...Object.keys(ni),...(await Promise.resolve().then(()=>Uo(ui()))).default.getRules().map(d=>d.ruleId)],ruleCriteria:async d=>{let f=ni[sa(d)];return f?[f]:((await Promise.resolve().then(()=>Uo(ui()))).default.getRules().find(m=>sa(m.ruleId)===sa(d))?.tags??[]).map(Yo).filter(Boolean)}},gv=d=>!!Xo[d],XP=new Set(["3.2.3","3.2.4","1.2.5","2.4.9"]),ic;async function vv(d){if(!d&&ic)return ic;let f=d??oc,g=new Set;for(let m of await f.axeRules())for(let p of m.tags??[]){let w=Yo(p);w&&g.add(w);}for(let m of f.detectorCriteria())g.add(String(m).trim());for(let m of XP)g.delete(m);for(let m of [...g])gv(m)||g.delete(m);return !d&&g.size>0&&(ic=g),g}async function bv(d,f){try{let g=await vv(f),m=d.trim();if(g.size>0){if(g.has(m))return {verifiable:!0};if(/^\d+(\.\d+)?$/.test(m)&&[...g].some(p=>p.startsWith(m+".")))return {verifiable:!0}}}catch{}return {verifiable:false,reason:"not-verifiable"}}async function mv(d,f){try{return (await(f??oc).ruleIds()).some(m=>sa(m)===sa(d))}catch{return false}}async function YP(d,f){try{let g=(f??oc).ruleCriteria;return g?(await g(d)).some(p=>gv(String(p).trim())):!0}catch{return false}}async function KP(d,f,g){let m=d?.trim();if(m&&/^\d+(\.\d+)*$/.test(m)){let p=await bv(m,g);if(!p.verifiable)return {reason:p.reason,text:`UNVERIFIED: WCAG ${d} is not checked by the engines verify_fix uses, so a clean result would prove nothing (${oa[p.reason]}).`}}else {if(m&&Iu.has(sa(m)))return {reason:"not-verifiable",text:`UNVERIFIED: "${d}" is an experimental best-practice check that verify_fix does not run, so a clean result would prove nothing (${oa["not-verifiable"]}).`};if(m&&await mv(m,g)&&!await YP(m,g))return {reason:"not-verifiable",text:`UNVERIFIED: "${d}" only maps to criteria outside WCAG 2.2 (no conformance level), which the scan never reports, so a clean result would prove nothing (${oa["not-verifiable"]}).`};if(m&&!await mv(m,g))return {reason:"unknown_rule",isError:true,text:`UNVERIFIED: "${d}" is ${oa.unknown_rule}, so nothing was checked. Pass a WCAG criterion (e.g. "1.1.1", "1.4.3") or a rule id from get_rules (e.g. "image-alt", "missing_alt", "color-contrast").`}}return hv(f)?{reason:"unsupported-selector",text:`UNVERIFIED: \`${f}\` crosses a shadow root or iframe boundary; ${oa["unsupported-selector"]}. Scope to the host element in the main document, or use scan_page.`}:null}rc();function JP(d){let f={critical:"#dc2626",serious:"#ea580c",moderate:"#ca8a04",minor:"#6b7280"},g=d.issues.map(m=>`
|
|
406
406
|
<tr>
|
|
407
407
|
<td><span class="badge" style="background:${f[m.impact]||"#6b7280"}">${m.impact}</span></td>
|
|
408
408
|
<td>${la(m.wcag)}</td>
|
|
@@ -454,8 +454,8 @@ ${JSON.stringify(f,null,1)}`}function Zg(d,f={}){let g=d.vision&&d.items.some(w=
|
|
|
454
454
|
<p class="footer">Generated by WebAbility</p>
|
|
455
455
|
</div>
|
|
456
456
|
</body>
|
|
457
|
-
</html>`}function la(d){return d.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""")}async function yv(d){return d.evaluate(()=>{let f=document.documentElement.outerHTML,g=Array.from(document.querySelectorAll("[class]")).slice(0,200).map(
|
|
458
|
-
<svg aria-label="Search icon" ... (meaningful)`,wcagLink:w};if(d.type==="new_window_link")return {issue:d,problem:"Link opens in a new tab without warning \u2014 disorienting for screen reader users.",fix:'Add "(opens in new tab)" to the link text or aria-label.',wcagLink:w};if(d.type==="missing_required_indicator")return {issue:d,problem:"Required form field has no visual indicator \u2014 users don't know it's mandatory.",fix:'Add aria-required="true" and a visual asterisk (*) to the label.',wcagLink:w};if(d.type==="redundant_role")return {issue:d,problem:"Element has a redundant ARIA role matching its implicit HTML role.",fix:'Remove the role attribute \u2014 <nav> already implies role="navigation".',wcagLink:w};if(d.type==="image_of_text")return {issue:d,problem:"Image appears to contain text \u2014 text in images can't be resized, translated, or read by screen readers.",fix:"Replace the image with real text styled with CSS. Exception: logos are exempt.",wcagLink:w};if(d.type==="focus_obscured_by_sticky")return {issue:d,problem:"Sticky header may obscure focused elements when tabbing \u2014 users can't see where focus is.",fix:f==="tailwind"?"Add scroll-pt-20 to the html element, or scroll-padding-top: 80px to account for the sticky header height.":"Add scroll-padding-top: 80px to html { } in your CSS.",wcagLink:w};if(d.type==="missing_media_controls")return {issue:d,problem:"Video/audio element has no visible controls \u2014 users can't pause, stop, or adjust volume.",fix:"Add the controls attribute to <video> or <audio>, or implement custom accessible controls with proper ARIA.",wcagLink:w};let D=d.message.replace(/: set .*/,"").replace(/: missing .*/,""),x=D!==d.message.replace(/: set .*/,""),
|
|
457
|
+
</html>`}function la(d){return d.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""")}async function yv(d){return d.evaluate(()=>{let f=document.documentElement.outerHTML,g=Array.from(document.querySelectorAll("[class]")).slice(0,200).map(_=>_.className).join(" "),m=/\b(text-(?:gray|slate|zinc|neutral|stone|red|orange|amber|yellow|green|emerald|teal|cyan|sky|blue|indigo|violet|purple|fuchsia|pink|rose)-\d{2,3}|bg-(?:gray|slate|blue|red|green)-\d{2,3}|flex|grid|p-\d|m-\d|rounded|shadow|border-\[|text-\[|w-\d|h-\d)\b/g,p=g.match(m)||[],w=Math.min(p.length/10,1),D=/\b(btn-(?:primary|secondary|danger|warning|success)|col-(?:sm|md|lg|xl)-\d|container-fluid|navbar-(?:expand|collapse)|form-control|card-body|modal-dialog)\b/g,x=g.match(D)||[],S=Math.min(x.length/5,1),F=/\b(Mui[A-Z]|MuiButton|MuiTypography|MuiPaper|css-[a-z0-9]{5,}|makeStyles)\b/g,C=(g+" "+f.slice(0,5e3)).match(F)||[],y=Math.min(C.length/5,1),A=!!document.querySelector("style[data-tw]")||f.includes("tailwindcss")||g.includes("antialiased");return w>.3||A?{framework:"tailwind",version:(document.documentElement.style.cssText||"").includes("oklch")||!!document.querySelector('[class*="text-[oklch"]')?"4":"3",confidence:Math.max(w,A?.8:0)}:S>.3?{framework:"bootstrap",confidence:S}:y>.3?{framework:"mui",confidence:y}:{framework:"plain-css",confidence:.5}})}var ts={slate:{50:"#f8fafc",100:"#f1f5f9",200:"#e2e8f0",300:"#cbd5e1",400:"#94a3b8",500:"#64748b",600:"#475569",700:"#334155",800:"#1e293b",900:"#0f172a",950:"#020617"},gray:{50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827",950:"#030712"},zinc:{50:"#fafafa",100:"#f4f4f5",200:"#e4e4e7",300:"#d4d4d8",400:"#a1a1aa",500:"#71717a",600:"#52525b",700:"#3f3f46",800:"#27272a",900:"#18181b",950:"#09090b"},neutral:{50:"#fafafa",100:"#f5f5f5",200:"#e5e5e5",300:"#d4d4d4",400:"#a3a3a3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717",950:"#0a0a0a"},red:{50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d",950:"#450a0a"},blue:{50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a",950:"#172554"},green:{50:"#f0fdf4",100:"#dcfce7",200:"#bbf7d0",300:"#86efac",400:"#4ade80",500:"#22c55e",600:"#16a34a",700:"#15803d",800:"#166534",900:"#14532d",950:"#052e16"},indigo:{50:"#eef2ff",100:"#e0e7ff",200:"#c7d2fe",300:"#a5b4fc",400:"#818cf8",500:"#6366f1",600:"#4f46e5",700:"#4338ca",800:"#3730a3",900:"#312e81",950:"#1e1b4e"},purple:{50:"#faf5ff",100:"#f3e8ff",200:"#e9d5ff",300:"#d8b4fe",400:"#c084fc",500:"#a855f7",600:"#9333ea",700:"#7e22ce",800:"#6b21a8",900:"#581c87",950:"#3b0764"},amber:{50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f",950:"#451a03"}};function wv(d,f){let g=Xr(d),m=Xr(f);return !g||!m?1/0:Math.sqrt((g[0]-m[0])**2+(g[1]-m[1])**2+(g[2]-m[2])**2)}function sc(d,f="text"){let g=null,m=1/0;for(let[p,w]of Object.entries(ts))for(let[D,x]of Object.entries(w)){let S=wv(d.toLowerCase(),x);S<m&&(m=S,g=`${f}-${p}-${D}`);}return m<30?g:null}function rs(d,f,g=4.5,m="text"){let p=sc(d,m),w=jt(d,f);if(w>=g)return null;let D="gray",S=1/0;for(let[L,I]of Object.entries(ts))for(let[N,M]of Object.entries(I)){let V=wv(d.toLowerCase(),M);V<S&&(S=V,D=L,N);}let F=Object.entries(ts[D]||ts.gray),C=Xr(f);if(!C)return null;let A=(C[0]+C[1]+C[2])/3>128?F.sort((L,I)=>parseInt(I[0])-parseInt(L[0])):F.sort((L,I)=>parseInt(L[0])-parseInt(I[0]));for(let[L,I]of A){let N=jt(I,f);if(N>=g)return {currentClass:p,suggestedClass:`${m}-${D}-${L}`,currentHex:d,suggestedHex:I,currentRatio:Math.round(w*100)/100,suggestedRatio:Math.round(N*100)/100,requiredRatio:g}}let _=ta(d,f,g);return _?{currentClass:p,suggestedClass:sc(_.suggestedColor,m)||`${m}-[${_.suggestedColor}]`,currentHex:d,suggestedHex:_.suggestedColor,currentRatio:_.currentRatio,suggestedRatio:_.suggestedRatio,requiredRatio:g}:null}function xv(d,f,g,m,p){let w=`https://www.w3.org/WAI/WCAG21/Understanding/${d.wcag.replace(/\./g,"")}`;if(d.type==="contrast_insufficient"||d.type==="color-contrast")return eM(d,f,g,m,p,w);if(d.type==="non_text_contrast_insufficient")return tM(d,f,g,w);if(d.type==="focus_not_visible")return rM(d,f,w);if(d.type==="missing_alt")return {issue:d,problem:"Image has no alt text \u2014 screen readers skip it entirely.",fix:f==="tailwind"?'Add alt="description" to the <img>. For decorative images, use alt="" (empty).':'Add alt="description" to the <img>. For decorative images, use alt="" and role="presentation".',wcagLink:w};if(d.type==="missing_label")return {issue:d,problem:"Form input has no label \u2014 screen readers can't identify what to enter.",fix:f==="tailwind"?'Add a <label htmlFor="id"> or aria-label="description" to the input.':'Add a <label for="id"> element or aria-label attribute.',wcagLink:w};if(d.type==="skip_link")return {issue:d,problem:"Page has no skip navigation link \u2014 keyboard users must tab through the entire header on every page.",fix:'Add a visually-hidden skip link as the first focusable element: <a href="#main-content" class="sr-only focus:not-sr-only">Skip to content</a>',wcagLink:w};if(d.type==="motion_without_reduced_motion")return {issue:d,problem:'Page has animations but no @media (prefers-reduced-motion) query. Users who set "Reduce motion" in OS settings still see all animations.',fix:f==="tailwind"?"Use Tailwind's motion-safe: and motion-reduce: variants, or add @media (prefers-reduced-motion: reduce) to globals.css.":"Add @media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } }",wcagLink:w};if(d.type==="weak_link_name"){let y=d.fix?.currentValue||"",A="where it goes",_=`aria-label "" doesn't say ${A}.`;return {issue:d,problem:y?`aria-label "${lc(y,Math.max(12,ZP-_.length))}" doesn't say ${A}.`:`This link's name doesn't tell users ${A}.`,fix:"Use text that names the destination, or add an aria-label that does.",wcagLink:w}}if(d.type==="svg_missing_name")return {issue:d,problem:'SVG has no accessible name \u2014 screen readers announce it as "image" with no description.',fix:'If decorative: add aria-hidden="true". If meaningful: add aria-label="description" or <title> inside the SVG.',before:"<svg ...",after:`<svg aria-hidden="true" ... (decorative)
|
|
458
|
+
<svg aria-label="Search icon" ... (meaningful)`,wcagLink:w};if(d.type==="new_window_link")return {issue:d,problem:"Link opens in a new tab without warning \u2014 disorienting for screen reader users.",fix:'Add "(opens in new tab)" to the link text or aria-label.',wcagLink:w};if(d.type==="missing_required_indicator")return {issue:d,problem:"Required form field has no visual indicator \u2014 users don't know it's mandatory.",fix:'Add aria-required="true" and a visual asterisk (*) to the label.',wcagLink:w};if(d.type==="redundant_role")return {issue:d,problem:"Element has a redundant ARIA role matching its implicit HTML role.",fix:'Remove the role attribute \u2014 <nav> already implies role="navigation".',wcagLink:w};if(d.type==="image_of_text")return {issue:d,problem:"Image appears to contain text \u2014 text in images can't be resized, translated, or read by screen readers.",fix:"Replace the image with real text styled with CSS. Exception: logos are exempt.",wcagLink:w};if(d.type==="focus_obscured_by_sticky")return {issue:d,problem:"Sticky header may obscure focused elements when tabbing \u2014 users can't see where focus is.",fix:f==="tailwind"?"Add scroll-pt-20 to the html element, or scroll-padding-top: 80px to account for the sticky header height.":"Add scroll-padding-top: 80px to html { } in your CSS.",wcagLink:w};if(d.type==="missing_media_controls")return {issue:d,problem:"Video/audio element has no visible controls \u2014 users can't pause, stop, or adjust volume.",fix:"Add the controls attribute to <video> or <audio>, or implement custom accessible controls with proper ARIA.",wcagLink:w};let D=d.message.replace(/: set .*/,"").replace(/: missing .*/,""),x=D!==d.message.replace(/: set .*/,""),S=/^(missing|empty|no)\b/i.test(D),F=(d.fix?.attribute??"").startsWith("data-"),C="Manual step: ";return {issue:d,problem:x&&!S?`${D} is missing`:D,fix:F&&d.fix?.suggestedValue?`${C}${lc(d.fix.suggestedValue,Dv-C.length)}`:d.fix?.suggestedValue&&!d.fix.suggestedValue.includes("!important")?`Set ${d.fix.attribute}="${lc(d.fix.suggestedValue,QP(d.fix.attribute))}"`:`Review this element for WCAG ${d.wcag} compliance.`,wcagLink:w}}var ZP=72,Dv=70;function QP(d){return Math.max(12,Dv-d.length-7)}function lc(d,f){if(d.length<=f)return d;let g=d.slice(0,f-1),m=g.lastIndexOf(" ");return (m>f/2?g.slice(0,m):g)+"\u2026"}function eM(d,f,g,m,p,w=""){let D=m||d.fix?.currentValue||"",x=p||"#ffffff";D&&x?jt(D,x):0;let F=4.5;if(f==="tailwind"&&D&&x){let y=rs(D,x,F);if(y)return {issue:d,problem:`Contrast ratio ${y.currentRatio}:1 \u2014 needs ${F}:1 for WCAG AA.`,fix:y.currentClass?`Change ${y.currentClass} \u2192 ${y.suggestedClass}`:`Use ${y.suggestedClass} (${y.suggestedHex})`,before:y.currentClass||void 0,after:y.suggestedClass,contrast:{current:y.currentRatio,required:F,suggested:y.suggestedRatio,fgColor:D,bgColor:x,suggestedColor:y.suggestedHex},wcagLink:w}}let C=D&&x?ta(D,x,F):null;return C?{issue:d,problem:`Contrast ratio ${C.currentRatio}:1 \u2014 needs ${F}:1 for WCAG AA.`,fix:`Change color from ${C.currentColor} to ${C.suggestedColor}`,contrast:{current:C.currentRatio,required:F,suggested:C.suggestedRatio,fgColor:D,bgColor:x,suggestedColor:C.suggestedColor},wcagLink:w}:{issue:d,problem:"Text contrast is below WCAG AA minimum.",fix:"Darken the text color or lighten the background to achieve at least 4.5:1 contrast ratio.",wcagLink:w}}function tM(d,f,g,m=""){return {issue:d,problem:"Non-text element (border, icon, UI component) has contrast below 3:1 against its background.",fix:f==="tailwind"?"Use a darker border color \u2014 e.g., border-gray-400 instead of border-gray-200. Non-text elements need 3:1 contrast.":"Darken the border/outline color to achieve at least 3:1 contrast against the background.",wcagLink:m}}function rM(d,f,g=""){return {issue:d,problem:"Element has no visible focus indicator \u2014 keyboard users can't see where they are.",fix:f==="tailwind"?"Add focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:ring-offset-2 to the element.":"Add :focus-visible { outline: 2px solid #2563eb; outline-offset: 2px; } to the element's CSS.",before:f==="tailwind"?'className="..."':void 0,after:f==="tailwind"?'className="... focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:ring-offset-2"':void 0,wcagLink:g}}/*! Bundled license information:
|
|
459
459
|
|
|
460
460
|
axe-core/axe.js:
|
|
461
461
|
(*! axe v4.11.3
|
|
@@ -469,4 +469,4 @@ axe-core/axe.js:
|
|
|
469
469
|
* distribute or in any file that contains substantial portions of this source
|
|
470
470
|
* code.
|
|
471
471
|
*)
|
|
472
|
-
*/export{Xg as DEFAULT_JUDGE_BASE_URL,Ku as DEFAULT_JUDGE_TEXT_MODEL,Yg as DEFAULT_JUDGE_VISION_MODEL,Wg as JUDGE_DEFAULT_TIMEOUT_MS,Jg as JUDGE_SYSTEM_PROMPT,oa as REASON_TEXT,ai as VIEWPORT_SIZES,ni as WCAG_BY_ISSUE,Xo as WCAG_LEVEL_MAP,Zg as buildJudgeChatBody,vv as coveredCriteria,bv as criterionVerifiability,yv as detectFramework,ov as dismissModals,TL as extractSiteTheme,xv as generateDevSuggestion
|
|
472
|
+
*/export{Xg as DEFAULT_JUDGE_BASE_URL,Ku as DEFAULT_JUDGE_TEXT_MODEL,Yg as DEFAULT_JUDGE_VISION_MODEL,Wg as JUDGE_DEFAULT_TIMEOUT_MS,Jg as JUDGE_SYSTEM_PROMPT,oa as REASON_TEXT,ai as VIEWPORT_SIZES,ni as WCAG_BY_ISSUE,Xo as WCAG_LEVEL_MAP,Zg as buildJudgeChatBody,vv as coveredCriteria,bv as criterionVerifiability,yv as detectFramework,ov as dismissModals,TL as extractSiteTheme,xv as generateDevSuggestion,jt as getContrastRatio,Ng as getWcagLevel,ev as hostedJudgeTransport,hv as isPiercingSelector,Bu as issueLevel,ec as judgeUndecided,Qg as openAiCompatibleTransport,nP as resetJudgeCache,zu as runAxe,Ou as runDetectors,zP as scan,ta as solveContrast,rs as suggestTailwindFix,JP as toHtmlReport,KP as verifyFixRefusal,Tn as withinLevel};
|