@webability/core 1.19.0 → 1.19.1

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/index.cjs CHANGED
@@ -1,4 +1,4 @@
1
- 'use strict';var lP=Object.create;var rc=Object.defineProperty;var uP=Object.getOwnPropertyDescriptor;var cP=Object.getOwnPropertyNames;var dP=Object.getPrototypeOf,fP=Object.prototype.hasOwnProperty;var Fe=(u,c)=>()=>(u&&(c=u(u=0)),c);var pP=(u,c)=>()=>(c||u((c={exports:{}}).exports,c),c.exports),mr=(u,c)=>{for(var h in c)rc(u,h,{get:c[h],enumerable:true});},mP=(u,c,h,p)=>{if(c&&typeof c=="object"||typeof c=="function")for(let m of cP(c))!fP.call(u,m)&&m!==h&&rc(u,m,{get:()=>c[m],enumerable:!(p=uP(c,m))||p.enumerable});return u};var ds=(u,c,h)=>(h=u!=null?lP(dP(u)):{},mP(rc(h,"default",{value:u,enumerable:true}),u));function f1(u,c){let h=u??"";if(h.trimStart().startsWith("{"))try{let p=JSON.parse(h);if(p&&typeof p=="object"&&!Array.isArray(p))return JSON.stringify({...p,platform:c})}catch{}return (h?h+" | ":"")+"platform: "+c}var p1=Fe(()=>{});var hP,m1,h1=Fe(()=>{hP=()=>{let u="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye]",h=[],p=new Set;function m(w){let E=(w.textContent||"").trim().replace(/\s+/g,""),C=w.querySelector("img, svg, picture")!==null,x=w.querySelector("i[class], span[class]")!==null;if(E.length>0&&!C&&!x)return false;if(C){let b=w.querySelectorAll("img"),_="";b.forEach(I=>{_+=(I.getAttribute("alt")||"").trim();});let D=E.replace(/\s+/g,""),T=_.replace(/\s+/g,"");return D===""||D===T}return false}function v(w){let E=w.nextElementSibling;for(;E;){if(isVisible(E))return E;E=E.nextElementSibling;}return null}return document.querySelectorAll("a[href]").forEach(w=>{if(h.length>=50||w.closest(u)||!isVisible(w)||p.has(w))return;let E=w.getAttribute("href");if(!E||E==="#")return;let C=v(w);if(!C||C.tagName!=="A"||C.getAttribute("href")!==E||p.has(C)||w.getAttribute("aria-hidden")==="true"||C.getAttribute("aria-hidden")==="true")return;let b=m(w),_=m(C);if(!b&&!_)return;let D=b?w:C,T=b?C:w;p.add(D),p.add(T);let I=uniqueSel(D),B=D.outerHTML.slice(0,300),F=(T.textContent||"").trim().slice(0,80);h.push({selector:I,attribute:"aria-hidden",currentValue:"",issueType:"adjacent_redundant_link",wcag:"2.4.4",context:JSON.stringify({href:E,imageLink:true,adjacentLinkText:F,suggestion:'Add aria-hidden="true" and tabindex="-1" to the image-only link'}),needsAI:false,fixValue:"true",outerHtml:B}),h.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:E}),needsAI:false,fixValue:"-1",outerHtml:B});}),h},m1={name:"adjacentLinks",cap:50,async detect(u){return u.evaluate(hP)}};});var gP,g1,v1=Fe(()=>{gP=()=>{let u="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=ae-exclude],[id*=ae_app],[id*=ae_],[class*=EquallyAI]",c='.slick-cloned,.slick-clone,.swiper-slide-duplicate,.owl-item.cloned,[data-slick-index^="-"],[data-swiper-slide-index]:not([data-swiper-slide-index=""])',h=["[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(","),p=new Set(["A","BUTTON","INPUT","SELECT","TEXTAREA"]),m=50,v=[],y=new Set;function w(x){let b=x,_=0;for(;b&&b.nodeType===1&&b!==document.body&&_<20;){try{let D=getComputedStyle(b);if(D.display==="none"||D.visibility==="hidden"||D.visibility==="collapse")return !0}catch{}b=b.parentElement,_++;}return false}function E(x){let b=x.tagName,_=x.getAttribute("tabindex");if(_!==null){let D=parseInt(_,10);if(!isNaN(D)&&D>=0)return true;if(!isNaN(D)&&D<0)return false}return p.has(b)?!(b==="A"&&!x.hasAttribute("href")||x.hasAttribute("disabled")):false}return document.querySelectorAll('[aria-hidden="true"]').forEach(x=>{if(v.length>=m||x.closest(u)||x.closest(c)||x.closest(h)||x.matches(h))return;let b=[];if(E(x)&&b.push(x),x.querySelectorAll("a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]").forEach(D=>{E(D)&&b.push(D);}),b.length!==0)for(let D of b){if(v.length>=m)return;let T=uniqueSel(D),I=T+"\0tabindex";if(y.has(I))continue;y.add(I);let B=w(D),F=!B;v.push({selector:T,attribute:"tabindex",currentValue:D.getAttribute("tabindex")||"",issueType:"aria_hidden_focusable",wcag:"4.1.2",context:JSON.stringify({tag:D.tagName.toLowerCase(),parentHidden:x.tagName.toLowerCase(),collapsed:B,suggestion:B?"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",...B?{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.'}:{},...F?{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:(D.outerHTML||"").slice(0,300)});}}),v},g1={name:"ariaHiddenFocusable",cap:50,async detect(u){return u.evaluate(gP)}};});var vP,b1,y1=Fe(()=>{vP=()=>{let u="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",h=[],p=new Set,m=[/\btoast\b/i,/\bsnackbar\b/i,/error[-_]message|error[-_]msg|form[-_]error|validation[-_]error/i,/success[-_]message|success[-_]msg/i,/alert[-_]message|alert[-_]banner/i,/flash[-_]message|flash[-_]notice/i,/cart[-_]count|cart[-_]badge|cart[-_]quantity/i,/loading[-_]spinner|loading[-_]indicator/i,/search[-_]results?[-_]count/i,/\blive[-_]region\b/i,/notification[-_](bar|area|container|popup|wrapper)/i,/status[-_]message/i];function v(y){if((y.textContent||"").trim())return false;if(typeof y.checkVisibility=="function")return y.checkVisibility({visibilityProperty:true});for(let w=y;w&&w.nodeType===1;w=w.parentElement)if(getComputedStyle(w).display==="none")return false;return getComputedStyle(y).visibility!=="hidden"}for(let y of m){if(h.length>=50)break;let w=document.querySelectorAll("*");for(let E of w){if(h.length>=50)break;if(p.has(E)||E.closest(u))continue;let C=E.className&&typeof E.className=="string"?E.className:"",x=E.getAttribute("id")||"";if(!y.test(C)&&!y.test(x)||E.getAttribute("aria-live"))continue;let b=E.getAttribute("role")||"";if(["alert","status","log","timer","marquee"].includes(b)||!v(E))continue;p.add(E);let _=uniqueSel(E),D=y.test(C)?"class":"id",T=D==="class"?C.slice(0,60):x;h.push({selector:_,attribute:"aria-live",currentValue:"",issueType:"aria_live",wcag:"4.1.3",context:D+": "+T+" | pattern: "+y.source,needsAI:false,fixValue:"polite"});}}return h},b1={name:"ariaLive",cap:50,async detect(u){return u.evaluate(vP)}};});var bP,w1,x1=Fe(()=>{bP=()=>{let u="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=ae-exclude],[id*=ae_app],[id*=ae_],[class*=EquallyAI]",h=[],p=new Set,m=["aria-labelledby","aria-describedby"];return document.querySelectorAll("[aria-labelledby],[aria-describedby]").forEach(w=>{if(!(h.length>=50)&&!w.closest(u)&&isVisible(w)&&!isHiddenFromAT(w)&&!w.getAttribute("aria-live")&&!w.closest("[aria-live]")&&!w.closest("template"))for(let E of m){let C=w.getAttribute(E);if(!C||!C.trim())continue;let x=C.trim().split(/\s+/).filter(M=>M.length>0);if(x.length===0||!x.every(M=>!document.getElementById(M)))continue;let _=w.getAttribute("aria-label");if(_&&_.trim())continue;let D=getAccessibleName(w);if(D&&D.trim())continue;let T=uniqueSel(w),I=T+"\0"+E;if(p.has(I))continue;p.add(I);let{nearbyHeading:B,parentTag:F,parentRole:$}=getNearbyContext(w);h.push({selector:T,attribute:"aria-label",currentValue:"",issueType:"broken_aria_reference",wcag:"4.1.2",context:JSON.stringify({tag:w.tagName.toLowerCase(),brokenAttr:E,brokenIds:x,nearbyHeading:B,parentTag:F,parentRole:$,suggestion:`All IDs in ${E}="${C}" are missing from the DOM. Element has no accessible name. Generate an aria-label.`}),needsAI:true,outerHtml:(w.outerHTML||"").slice(0,300)});}}),h},w1={name:"brokenAriaReferences",cap:50,async detect(u){return u.evaluate(bP)}};});var yP,A1,_1=Fe(()=>{yP=()=>{let c=[],h=["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"],p=document.querySelectorAll("button");for(let m of p){if(c.length>=50)break;let v=m;if(isWidget(v)||v.hasAttribute("type")||!v.closest("form"))continue;let y=(v.textContent||"").trim().slice(0,60),w=(v.getAttribute("aria-label")||"").trim().slice(0,60),E=y||w||"(no label)",C=E.toLowerCase();h.some(b=>C.includes(b))||c.push({selector:uniqueSel(v),attribute:"type",currentValue:"",issueType:"missing_button_type",wcag:"3.2.2",context:"button inside <form> missing type attribute \u2014 defaults to submit | label: "+E,needsAI:false,fixValue:"button",outerHtml:(v.outerHTML||"").slice(0,300)});}return c},A1={name:"buttonType",cap:50,async detect(u){return u.evaluate(yP)}};});var wP,D1,E1=Fe(()=>{wP=()=>{let c=[],h=document.querySelectorAll("video, audio");for(let p of Array.from(h)){if(c.length>=20)break;if(isWidget(p)||typeof isVisible=="function"&&!isVisible(p)||p.error)continue;let m=p.tagName==="VIDEO";if(m){let I=p.hasAttribute("muted")||p.muted,B=p.hasAttribute("controls"),F=p.hasAttribute("loop")||p.loop,$=/mute|unmute|sound|volume|audio|play|pause/i,M=!!p.parentElement?.querySelector('button, [role="button"]')||!!p.getAttribute("id")&&!!document.querySelector('[aria-controls~="'+(p.getAttribute("id")||"").replace(/"/g,"")+'"]');for(let H=p.parentElement?.parentElement||null,ee=0;H&&!M&&ee<3;H=H.parentElement,ee++)M=Array.from(H.querySelectorAll('button, [role="button"]')).some(N=>$.test((N.getAttribute("aria-label")||"")+" "+(N.getAttribute("title")||"")+" "+(N.textContent||"")));if(I&&F&&!B&&!M)continue}let v=p.querySelectorAll("track"),y=false;for(let I of Array.from(v)){let B=(I.getAttribute("kind")||"").toLowerCase();if(B==="captions"||B==="subtitles"){y=true;break}}if(y)continue;let w=p.currentSrc||p.getAttribute("src")||"";if(w||(w=p.querySelector("source")?.getAttribute("src")||""),!w)continue;let E=w.toLowerCase();if(E.startsWith("blob:")||E.startsWith("data:")||E.startsWith("about:")||E.startsWith("javascript:")||E.endsWith(".m3u8")||E.includes(".m3u8?")||E.endsWith(".mpd")||E.includes(".mpd?"))continue;let C=w;try{C=new URL(w,location.href).toString();}catch{continue}let x=typeof uniqueSel=="function"?uniqueSel(p):"",b=p.getAttribute("title")||p.getAttribute("aria-label")||"",_=typeof getNearbyContext=="function"?getNearbyContext(p):{parentTag:p.tagName.toLowerCase(),nearbyHeading:""},D=[];D.push("media: "+p.tagName.toLowerCase()),D.push("src: "+C.slice(0,200)),b&&D.push("title: "+b.slice(0,80)),_.nearbyHeading&&D.push("heading: "+_.nearbyHeading),D.push("parent: "+_.parentTag);let T=m;c.push({selector:x,attribute:"data-needs-captions",currentValue:"",issueType:"missing_captions",wcag:"1.2.2",context:D.join(" | "),needsAI:true,...T?{needsReview:true,reviewReason:"cannot verify an audio track in-page \u2014 confirm the video has speech content before transcribing (silent videos need no captions)"}:{},imageSrc:C,outerHtml:(p.outerHTML||"").slice(0,300)});}return c},D1={name:"captions",cap:20,async detect(u){return u.evaluate(wP)}};});var xP,C1,k1=Fe(()=>{xP=()=>{let u="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",h=[],p="p, li, blockquote, article, section, main, div",m=document.querySelectorAll("a[href]"),v=new Map;for(let y of Array.from(m)){if(h.length>=40)break;if(y.closest(u)||y.closest('nav, header, footer, aside, [role="navigation"], [role="banner"], [role="contentinfo"]')||typeof isVisible=="function"&&!isVisible(y))continue;let w=y.closest(p);if(!w)continue;let E=(y.textContent||"").trim();if(!E)continue;let C=v.get(w);if(C===void 0){C=0;let ee=document.createTreeWalker(w,NodeFilter.SHOW_TEXT),N;for(;N=ee.nextNode();){let R=N.parentElement;!R||R.closest("a")||R.closest(p)===w&&(typeof isVisible=="function"&&!isVisible(R)||(C+=(N.textContent||"").trim().length));}v.set(w,C);}if(C<20||y.querySelector("img, svg, [class*=icon], [class*=arrow]"))continue;let x=getComputedStyle(y),b=getComputedStyle(w);if((x.textDecorationLine||x.textDecoration||"").includes("underline")||(()=>{let ee=document.createTreeWalker(y,NodeFilter.SHOW_TEXT),N,R=false;for(;N=ee.nextNode();){if(!/[\p{L}\p{N}]/u.test(N.textContent||""))continue;R=true;let S=false;for(let P=N.parentElement;P&&P!==y;P=P.parentElement){let q=getComputedStyle(P),j=(q.textDecorationColor||"").replace(/\s/g,"");if((q.textDecorationLine||"").includes("underline")&&j!=="transparent"&&!/^rgba\([^)]*,0(?:\.0+)?\)$/.test(j)){S=true;break}let W=(q.borderBottomColor||"").replace(/\s/g,""),Z=W==="transparent"||/^rgba\([^)]*,0(?:\.0+)?\)$/.test(W);if((q.borderBottomStyle||"none")!=="none"&&parseFloat(q.borderBottomWidth||"0")>0&&!Z){S=true;break}}if(!S)return false}return R})())continue;let T=parseInt(x.fontWeight||"400",10),I=parseInt(b.fontWeight||"400",10);if(Number.isFinite(T)&&Number.isFinite(I)&&T-I>=300)continue;let B=Number.isFinite(T)&&Number.isFinite(I)&&T!==I;if((x.borderBottomStyle||"none")!=="none"&&(x.borderBottomWidth||"0px")!=="0px"||x.color===b.color)continue;let $=typeof uniqueSel=="function"?uniqueSel(y):"",M=typeof getNearbyContext=="function"?getNearbyContext(y):{parentTag:y.tagName.toLowerCase(),nearbyHeading:""},H=[];H.push("link: "+E.slice(0,40)),H.push("color: "+x.color),H.push("parent-color: "+b.color),M.nearbyHeading&&H.push("heading: "+M.nearbyHeading),H.push("parent: "+M.parentTag),h.push({selector:$,attribute:"style",currentValue:x.textDecoration||"",issueType:"color_only_link",wcag:"1.4.1",context:H.join(" | "),needsAI:false,fixValue:"text-decoration: underline !important;",...B?{needsReview:true,reviewReason:"the link differs from its text in font weight as well as colour; decide whether the weight change is a visible cue",evidence:{linkFontWeight:T,textFontWeight:I,linkColor:x.color,textColor:b.color,fontSize:x.fontSize}}:{},outerHtml:(y.outerHTML||"").slice(0,300)});}return h},C1={name:"colorOnly",cap:40,async detect(u){return u.evaluate(xP)}};});var AP,S1,T1=Fe(()=>{AP=()=>{let u=[],c=S=>typeof parseCssColor=="function"?parseCssColor(S):null,h=(S,P,q)=>typeof relLuminance=="function"?relLuminance(S,P,q):0,p=(S,P)=>typeof contrastRatio=="function"?contrastRatio(S,P):1;function m(S,P,q){let j=String(S.backgroundImage||"none");if(j==="none")return false;if(/gradient\(/i.test(j))return true;if(!/url\(/i.test(j))return false;let W=oe=>{let L=[],z=0,K="";for(let J of oe)J==="("&&z++,J===")"&&z--,J===","&&z===0?(L.push(K.trim()),K=""):K+=J;return L.push(K.trim()),L},Z=W(j),ne=W(String(S.backgroundRepeat||"")),le=W(String(S.backgroundSize||"auto")),fe=W(String(S.backgroundPosition||"0% 0%")),me=(oe,L)=>(oe.length?oe[L%oe.length]:"").toLowerCase();for(let oe=0;oe<Z.length;oe++){let L=/url\(\s*["']?(.*?)["']?\s*\)/i.exec(Z[oe]);if(!L)continue;let z=me(ne,oe).split(/\s+/).some(J=>J!==""&&J!=="no-repeat"),K=me(le,oe);if(z||/cover|contain|100%/.test(K))return true;if(!(!P||!q)&&v(P,S,L[1],K,me(fe,oe),q()))return true}return false}function v(S,P,q,j,W,Z){let ne=S.getBoundingClientRect(),le=_t=>parseFloat(_t||"0")||0,fe=String(P.backgroundOrigin||"padding-box").toLowerCase(),me=ne.left,oe=ne.top,L=ne.width,z=ne.height;fe!=="border-box"&&(me+=le(P.borderLeftWidth),oe+=le(P.borderTopWidth),L-=le(P.borderLeftWidth)+le(P.borderRightWidth),z-=le(P.borderTopWidth)+le(P.borderBottomWidth)),fe==="content-box"&&(me+=le(P.paddingLeft),oe+=le(P.paddingTop),L-=le(P.paddingLeft)+le(P.paddingRight),z-=le(P.paddingTop)+le(P.paddingBottom));let K=0,J=0;try{let _t=new Image;_t.src=q,_t.complete&&(K=_t.naturalWidth,J=_t.naturalHeight);}catch{}let Y=(_t,kt)=>/^-?[\d.]+px$/.test(_t)?parseFloat(_t):/^-?[\d.]+%$/.test(_t)?parseFloat(_t)/100*kt:null,ie=(j||"auto").split(/\s+/),be=ie[0]==="auto"?null:Y(ie[0],L),Pe=(ie[1]||"auto")==="auto"?null:Y(ie[1],z);if(ie[0]!=="auto"&&be===null||ie[1]&&ie[1]!=="auto"&&Pe===null)return true;let Re,pe;if(be!==null&&Pe!==null)Re=be,pe=Pe;else {if(!K||!J)return true;Re=be!==null?be:Pe!==null?Pe*K/J:K,pe=Pe!==null?Pe:be!==null?be*J/K:J;}let Be=(W||"0% 0%").split(/\s+/);if(Be.length!==2)return true;let at=/%$/.test(Be[0])?parseFloat(Be[0])/100*(L-Re):Y(Be[0],L),ze=/%$/.test(Be[1])?parseFloat(Be[1])/100*(z-pe):Y(Be[1],z);if(at===null||ze===null||!Number.isFinite(at)||!Number.isFinite(ze))return true;let ft=Math.max(me+at,ne.left),It=Math.max(oe+ze,ne.top),Se=Math.min(me+at+Re,ne.right),At=Math.min(oe+ze+pe,ne.bottom);return Math.min(Se,Z.right)>Math.max(ft,Z.left)&&Math.min(At,Z.bottom)>Math.max(It,Z.top)}let y=new Map;function w(S){let P=[],q=false;for(let j=S;j&&j.nodeType===1;j=j.parentElement){let W=y.get(j);if(W!==void 0){q=W;break}if(P.push(j),parseFloat(getComputedStyle(j).opacity||"1")<1){q=true;break}}for(let j of P)y.set(j,q);return q}let E=new Map;function C(S){let P=E.get(S);if(P)return P;P=[];let q=Array.from(S.children);for(let j=0;j<q.length;j++){let W=getComputedStyle(q[j]);W.position==="static"||W.display==="none"||W.visibility!=="visible"||parseFloat(W.opacity||"1")<=0||P.push({el:q[j],z:W.zIndex==="auto"?0:parseInt(W.zIndex,10)||0,i:j});}return E.set(S,P),P}function x(S){if(S===document.documentElement)return true;let P=getComputedStyle(S);return !!(P.position==="fixed"||P.position==="sticky"||P.zIndex!=="auto"&&P.position!=="static"||P.zIndex!=="auto"&&S.parentElement&&/flex|grid/.test(getComputedStyle(S.parentElement).display||"")||parseFloat(P.opacity||"1")<1||P.transform&&P.transform!=="none"||P.filter&&P.filter!=="none"||P.isolation==="isolate"||P.mixBlendMode&&P.mixBlendMode!=="normal"||/paint|strict|content/.test(P.contain||""))}function b(S,P,q,j){let W=C(S);if(!W.length||W.length===1&&W[0].el===P)return [];let Z=-1/0;for(let fe=q;fe&&fe!==S;fe=fe.parentElement){let me=getComputedStyle(fe);if(me.position==="static")continue;let oe=me.zIndex==="auto"?0:parseInt(me.zIndex,10)||0;oe>Z&&(Z=oe);}let ne=Array.prototype.indexOf.call(S.children,P),le=[];for(let fe of W){if(fe.el===P||!(fe.z<0?x(S):Z>fe.z||Z===fe.z&&fe.i<ne))continue;let oe=fe.el.getBoundingClientRect();oe.left>j.left+1||oe.top>j.top+1||oe.right<j.right-1||oe.bottom<j.bottom-1||le.push(fe);}return le.sort((fe,me)=>me.z-fe.z||me.i-fe.i),le.map(fe=>fe.el)}function _(S){try{let q=document.createRange(),j=null;for(let W of Array.from(S.childNodes)){if(W.nodeType!==3||!(W.textContent||"").trim())continue;q.selectNodeContents(W);let Z=q.getBoundingClientRect();Z.width<=0||Z.height<=0||(j=j?{left:Math.min(j.left,Z.left),top:Math.min(j.top,Z.top),right:Math.max(j.right,Z.right),bottom:Math.max(j.bottom,Z.bottom)}:{left:Z.left,top:Z.top,right:Z.right,bottom:Z.bottom});}if(j)return j}catch{}let P=S.getBoundingClientRect();return {left:P.left,top:P.top,right:P.right,bottom:P.bottom}}function D(S,P){let q=document.documentElement,j=null,W=[{acc:[0,0,0],cover:0},{acc:[0,0,0],cover:0},{acc:[0,0,0],cover:0}],Z=Math.max(0,Math.min(1,P[3]));W[0].acc=[P[0]*Z,P[1]*Z,P[2]*Z],W[0].cover=Z,W[2].cover=1;let ne=1,le=()=>W.some(J=>J.cover<1-1e-9),fe=(J,Y=1,ie)=>{if(!le())return true;let be=c(J.backgroundColor||""),Pe=m(J,ie,()=>j||(j=_(S)));for(let Re of W){if(Re.cover>=1-1e-9)continue;if(Pe)return false;if(!be)continue;let pe=Math.max(0,Math.min(1,be[3]))*Y;if(pe<=0)continue;let Be=pe*(1-Re.cover);Re.acc[0]+=be[0]*Be,Re.acc[1]+=be[1]*Be,Re.acc[2]+=be[2]*Be,Re.cover+=Be;}return true},me=J=>{let Y=Math.max(0,Math.min(1,parseFloat(J.opacity||"1")));if(!(Y>=1)){for(let ie of W)ie.acc=ie.acc.map(be=>be*Y),ie.cover*=Y;ne*=Y;}},oe=S,L=null;for(;oe&&oe!==q&&!(!le()&&!w(oe));){let J=getComputedStyle(oe);if(L&&C(oe).length){j||(j=_(S));for(let Y of b(oe,L,S,j)){let ie=getComputedStyle(Y);if(!fe(ie,Math.max(0,Math.min(1,parseFloat(ie.opacity||"1"))),Y))return null}}if(!fe(J,1,oe))return null;me(J),L=oe,oe=oe.parentElement;}if(oe===q){let J=getComputedStyle(q);if(!fe(J,1,q))return null;me(J);}for(let J of W){let Y=1-J.cover;Y>0&&(J.acc=J.acc.map(ie=>ie+255*Y),J.cover=1);}let z=J=>[Math.round(Math.min(255,J.acc[0])),Math.round(Math.min(255,J.acc[1])),Math.round(Math.min(255,J.acc[2]))],K=W[2].acc.map(J=>Math.min(255,J));return {fg:z(W[0]),bg:z(W[1]),k:ne,rest:K}}function T(S,P,q){return "#"+[S,P,q].map(j=>{let W=Math.max(0,Math.min(255,Math.round(j))).toString(16);return W.length===1?"0"+W:W}).join("")}let I=.1;function B(S,P,q,j=1,W=[0,0,0]){let Z=h(P[0],P[1],P[2])>.5;for(let ne of [q+I,q]){let le=F(S,P,ne,Z,j,W)||F(S,P,ne,!Z,j,W);if(le)return le}return null}function F(S,P,q,j,W,Z){let ne=0,le=1,fe=null;for(let me=0;me<20;me++){let oe=(ne+le)/2,L=j?[S[0]*(1-oe),S[1]*(1-oe),S[2]*(1-oe)]:[S[0]+(255-S[0])*oe,S[1]+(255-S[1])*oe,S[2]+(255-S[2])*oe],z=[Math.round(L[0]),Math.round(L[1]),Math.round(L[2])],K=[z[0]*W+Z[0],z[1]*W+Z[1],z[2]*W+Z[2]];p(K,P)>=q?(fe=z,le=oe):ne=oe;}return fe}let $=new Set(["application","button","checkbox","columnheader","combobox","grid","gridcell","group","link","listbox","menu","menubar","menuitem","menuitemcheckbox","menuitemradio","option","radio","radiogroup","row","rowheader","scrollbar","searchbox","separator","slider","spinbutton","switch","tab","tablist","textbox","toolbar","tree","treegrid","treeitem"]);function M(S){if(S.closest("button:disabled, input:disabled, select:disabled, textarea:disabled, optgroup:disabled, option:disabled"))return true;for(let q=S;q&&q.nodeType===1;q=q.parentElement){if(q.getAttribute("aria-disabled")!=="true")continue;let j=(q.getAttribute("role")||"").trim().toLowerCase().split(/\s+/)[0];if(j&&$.has(j))return true}let P=S.closest("label");if(P){let q=P.control;if(q&&(q.disabled||q.getAttribute("aria-disabled")==="true"))return true}return false}let H=document.createTreeWalker(document.body,4),ee=new Set,N=[],R=H.nextNode();for(;R;){let S=(R.textContent||"").trim();if(S.length>=2||/[\p{L}\p{N}]/u.test(S)){let P=R.parentElement;P&&!ee.has(P)&&(ee.add(P),N.push(P));}R=H.nextNode();}for(let S of N){if(isWidget(S)||isHiddenFromAT(S)||!isVisible(S)||M(S))continue;let P=getComputedStyle(S),q=c(P.webkitTextFillColor||P.color||"");if(!q)continue;if(q[3]<.5){let pe=P.webkitBackgroundClip||P.backgroundClip||"",Be=P.backgroundImage||"";if(String(pe).includes("text")&&/gradient\(/i.test(Be)){let at=Array.from(S.childNodes).filter(ze=>ze.nodeType===3).map(ze=>(ze.textContent||"").trim()).join("");at&&u.push({selector:uniqueSel(S),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(at.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:S.outerHTML.slice(0,200)});}continue}let j=parseFloat(P.fontSize||"16"),W=parseInt(P.fontWeight||"400",10),ne=j>=24||j>=18.66&&W>=700?3:4.5,le=Array.from(S.childNodes).filter(pe=>pe.nodeType===3).map(pe=>(pe.textContent||"").trim()).join("");if(!le||!hasRenderedText(S))continue;let fe=T(q[0],q[1],q[2]),me=uniqueSel(S),oe=D(S,q),L=oe?oe.bg:null;if(L===null){u.push({selector:me,attribute:"style",currentValue:fe,message:"contrast: text "+fe+" on a gradient or image background \u2014 the ratio cannot be computed from CSS; check it meets "+ne+":1 where the background is lightest/darkest",issueType:"contrast_insufficient",wcag:"1.4.3",context:"fg="+fe+" bg=<gradient-or-image> needs="+ne+" text="+JSON.stringify(le.slice(0,40)),needsAI:true,needsReview:true,reviewReason:"background uses gradient or image \u2014 contrast cannot be reliably computed",outerHtml:S.outerHTML.slice(0,200)});continue}let z=oe,K=p(z.fg,L);if(K>=ne)continue;let J=B([q[0],q[1],q[2]],L,ne,z.k,z.rest);if(!J)continue;let Y=T(J[0],J[1],J[2]),ie=T(L[0],L[1],L[2]),be=T(z.fg[0],z.fg[1],z.fg[2]),Pe=be===fe?"":" (shown as "+be+" after opacity/alpha)",Re="color:"+Y+" !important;";u.push({selector:me,attribute:"style",currentValue:fe,message:"contrast: "+fe+Pe+" on "+ie+" is "+K.toFixed(2)+":1, needs "+ne+":1 \u2014 e.g. color "+Y,issueType:"contrast_insufficient",wcag:"1.4.3",context:"fg="+be+" bg="+ie+" ratio="+K.toFixed(2)+" needs="+ne+" text="+JSON.stringify(le.slice(0,40)),needsAI:false,fixValue:Re,outerHtml:S.outerHTML.slice(0,200)});}return u},S1={name:"contrast",async detect(u){return u.evaluate(AP)}};});var _P,R1,F1=Fe(()=>{_P=()=>{let u="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye]",h=[],p=document.querySelectorAll("marquee, blink");for(let E of Array.from(p)){if(h.length>=30)break;if(E.closest(u))continue;let C=typeof uniqueSel=="function"?uniqueSel(E):E.tagName.toLowerCase();h.push({selector:C,attribute:"aria-hidden",currentValue:E.getAttribute("aria-hidden")||"",issueType:"motion_uncontrollable",wcag:"2.2.2",context:`deprecated ${E.tagName.toLowerCase()} element \u2014 uncontrollable motion`,needsAI:false,manualFix:true,fixValue:"true",outerHtml:(E.outerHTML||"").slice(0,300)});}let m=document.querySelectorAll('img[src*=".gif" i], img[src$=".gif" i]');for(let E of Array.from(m)){if(h.length>=30)break;if(E.closest(u))continue;let C=E.getAttribute("src")||"";if(!/\.gif(\?|#|$)/i.test(C)||typeof isVisible=="function"&&!isVisible(E))continue;let x=1;for(let D=E.parentElement;D;D=D.parentElement)x*=parseFloat(getComputedStyle(D).opacity||"1");let b=E.getBoundingClientRect();if(b.width<=40&&b.height<=40)continue;let _=typeof uniqueSel=="function"?uniqueSel(E):"img";h.push({selector:_,attribute:"data-asw-motion-review",currentValue:"",issueType:"animated_gif_no_pause",wcag:"2.2.2",context:`animated GIF without pause control: ${C.split("/").pop()?.slice(0,60)||C.slice(-60)}`,needsAI:true,...x<1?{needsReview:true,reviewReason:"an ancestor fades this GIF; decide whether it is seen moving on screen",evidence:{effectiveOpacity:Math.round(x*1e3)/1e3}}:{},outerHtml:(E.outerHTML||"").slice(0,300)});}let v=document.querySelectorAll('meta[http-equiv="refresh"], meta[http-equiv="Refresh"], meta[http-equiv="REFRESH"]');for(let E of Array.from(v)){if(h.length>=30)break;let C=(E.getAttribute("content")||"").trim(),x=parseInt((C.split(/[;,]/)[0]||"").trim(),10);!Number.isFinite(x)||x<=0||h.push({selector:`meta[http-equiv="refresh"][content*="${C.slice(0,20)}"]`,attribute:"data-auto-refresh",currentValue:C,issueType:"auto_refresh",wcag:"2.2.1",context:`auto-refresh every ${x}s \u2014 interrupts screen reader users mid-sentence (WCAG 2.2.1)`,needsAI:false,manualFix:true,outerHtml:(E.outerHTML||"").slice(0,200)});}try{let E=!1,C=!1;for(let x of Array.from(document.styleSheets)){let b=null;try{b=x.cssRules;}catch{continue}if(b)for(let _ of Array.from(b)){let D=_.cssText||"";if(/animation[^;]*\binfinite\b/i.test(D)&&/(keyframes|animation-name)/i.test(D+" "+(_.name||""))&&(E=!0),/prefers-reduced-motion[^{]*\(\s*reduce\s*\)/i.test(D)&&(C=!0),_.cssRules)for(let T of Array.from(_.cssRules)){let I=T.cssText||"";/animation[^;]*\binfinite\b/i.test(I)&&(E=!0);}}}E&&!C&&h.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 y=/\b(flash(ing)?|blink(ing)?|strobe)\b/i,w=document.querySelectorAll('[class*="flash" i], [class*="blink" i], [class*="strobe" i]');for(let E of Array.from(w)){if(h.length>=30)break;if(E.closest(u)||E.tagName==="BODY"||E.tagName==="HTML")continue;let C=E.className&&typeof E.className=="string"?E.className:"";if(!y.test(C)||typeof isVisible=="function"&&!isVisible(E))continue;let b=getComputedStyle(E).animationDuration,_=9999;if(b){let T=parseFloat(b);Number.isFinite(T)&&(_=/ms/i.test(b)?T:T*1e3);}if(_>333)continue;let D=typeof uniqueSel=="function"?uniqueSel(E):"";h.push({selector:D,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:(E.outerHTML||"").slice(0,300)});}return h},R1={name:"cssAnimations",cap:30,async detect(u){return u.evaluate(_P)}};});var DP,I1,M1=Fe(()=>{DP=()=>{let c=[];function h(y){let w=(y.getAttribute("role")||"").toLowerCase();return w==="presentation"||w==="none"||(y.getAttribute("class")||"").toLowerCase().indexOf("layout")!==-1}function p(y){if(!y)return 0;let w=y.querySelectorAll("th, td"),E=0;for(let C=0;C<w.length;C++){let x=parseInt(w[C].getAttribute("colspan")||"1",10);E+=isNaN(x)||x<1?1:x;}return E}function m(y){let w=y.querySelectorAll("tr"),E=[];for(let C=0;C<w.length;C++){let x=w[C];x.closest("table")===y&&E.push(x);}return E}let v=document.querySelectorAll("table");for(let y=0;y<v.length&&!(c.length>=30);y++){let w=v[y];if(isWidget(w)||!isVisible(w)||h(w))continue;let E=m(w);if(E.length<=1)continue;let C=E[0],x=p(C);if(x<=1)continue;let b=uniqueSel(w),_=getNearbyContext(w),D=w.querySelectorAll("img, svg, picture").length>=2;if(D&&!(w.textContent||"").trim()){if(w.querySelector("input, select, textarea, button")&&(D=false),D&&w.querySelector("th, thead, caption, [scope], [headers]")&&(D=false),D){let R=Array.from(w.querySelectorAll("img")).map(S=>(S.getAttribute("alt")||"").trim().toLowerCase()).filter(Boolean);new Set(R).size<R.length&&(D=false);}}else if(D){let R=w.querySelectorAll("td, th"),S=0;for(let P=0;P<R.length&&D;P++){let q=R[P];if(q.closest("table")!==w)continue;let j=(q.textContent||"").trim(),W=!!q.querySelector("img, svg, picture");if(!j&&!W)continue;S++;let Z=q.querySelectorAll("a[href]");D=q.tagName==="TD"&&Z.length===1&&W&&(Z[0].textContent||"").trim()===j;}S<2&&(D=false);}if(D){c.push({selector:b,attribute:"role",currentValue:w.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:E.length,cols:x,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:(w.outerHTML||"").slice(0,300)});continue}let T=null,I=w.querySelectorAll("thead");for(let R=0;R<I.length;R++)if(I[R].closest("table")===w){T=I[R];break}let B=T&&T.querySelector("tr")!==null,F=false;for(let R=0;R<E.length&&!F;R++){let S=E[R].children;for(let P=0;P<S.length&&!F;P++){let q=S[P],j=(q.tagName||"").toLowerCase();if(j!=="td"&&j!=="th")continue;if(j==="th"){F=true;break}let W=(q.getAttribute("headers")||"").trim();if(!W)continue;let Z=W.split(/\s+/);for(let ne=0;ne<Z.length;ne++){let le=document.getElementById(Z[ne]);if(le&&(le.tagName||"").toLowerCase()==="th"&&le.closest("table")===w){F=true;break}}}}if(!B&&!F&&c.length<30&&c.push({selector:b,attribute:"thead",currentValue:T?"empty":"",issueType:"missing_table_header",wcag:"1.3.1",context:JSON.stringify({reason:T?"<thead> has no <tr>":"no <thead> element",rows:E.length,cols:x,nearbyHeading:_.nearbyHeading}),needsAI:false,fixValue:"wrap-first-row",outerHtml:(w.outerHTML||"").slice(0,300)}),x>2){let R=C.querySelectorAll("th, td"),S=R.length>0;for(let P=0;P<R.length;P++)if((R[P].tagName||"").toLowerCase()!=="td"){S=false;break}if(S)for(let P=0;P<R.length&&!(c.length>=30);P++){let q=R[P],j=uniqueSel(q),W=(q.textContent||"").trim().slice(0,60);c.push({selector:j,attribute:"role",currentValue:q.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:W,colIndex:P,nearbyHeading:_.nearbyHeading}),needsAI:false,fixValue:"columnheader",outerHtml:(q.outerHTML||"").slice(0,300)});}}let $=[],M=[],H=new Map;for(let R=0;R<E.length;R++){let S=E[R],P=0;for(let q=0;q<S.children.length;q++){let j=S.children[q],W=(j.tagName||"").toLowerCase();if(W!=="td"&&W!=="th")continue;for(;$.some(fe=>fe.lane===P&&fe.untilRow>R);)P++;let Z=parseInt(j.getAttribute("colspan")||"1",10);(isNaN(Z)||Z<1)&&(Z=1);let ne={rowIdx:R,lane:P,span:Z,headers:(j.getAttribute("headers")||"").trim()};W==="td"?M.push(ne):H.set(j,ne);let le=parseInt(j.getAttribute("rowspan")||"1",10)||1;if(le>1)for(let fe=0;fe<Z;fe++)$.push({lane:P+fe,untilRow:R+le});P+=Z;}}let ee=(R,S)=>S.lane<R.lane+R.span&&S.lane+S.span>R.lane,N=w.querySelectorAll("th");for(let R=0;R<N.length&&!(c.length>=30);R++){let S=N[R];if(S.closest("table")!==w)continue;let P=(S.getAttribute("scope")||"").trim().toLowerCase();if(P==="col"||P==="row"||P==="colgroup"||P==="rowgroup")continue;let q=false;if((S.getAttribute("headers")||"").trim())q=true;else {let L=(S.getAttribute("id")||"").trim();if(L)for(let z=0;z<M.length;z++){let K=M[z].headers;if(K&&K.split(/\s+/).indexOf(L)!==-1){q=true;break}}}if(q)continue;let j=S.closest("tr"),W=S.closest("thead")!==null,Z=false;j&&E.length>0&&E[0]===j&&(Z=true);let ne=false;if(j){let L=j.querySelectorAll("th, td");L.length>0&&L[0]===S&&(ne=true);}let le="col";W||Z?le="col":ne&&(le="row");let fe=H.get(S);if(!q&&fe){if(le==="row")q=M.some(L=>L.rowIdx===fe.rowIdx&&!L.headers&&L.lane>=fe.lane+fe.span);else if(q=M.some(L=>L.rowIdx>fe.rowIdx&&!L.headers&&ee(fe,L)),!q)for(let L=0;L<N.length;L++){let z=H.get(N[L]);if(!z||z.rowIdx<=fe.rowIdx||!ee(fe,z))continue;let K=E[z.rowIdx],J=K?K.children:[];if(J.length>0&&J[0]===N[L]&&N[L].closest("table")===w){q=true;break}}}if(q)continue;let me=uniqueSel(S),oe=(S.textContent||"").trim().slice(0,60);c.push({selector:me,attribute:"scope",currentValue:P,issueType:"missing_table_scope",wcag:"1.3.1",context:JSON.stringify({reason:"<th> missing scope attribute",inferred:le,inThead:W,firstRow:Z,firstCol:ne,headerText:oe}),needsAI:false,fixValue:le,outerHtml:(S.outerHTML||"").slice(0,300)});}}return c},I1={name:"dataTables",cap:30,async detect(u){return u.evaluate(DP)}};});var EP,P1,L1=Fe(()=>{EP=()=>{let c=[];for(let h of document.querySelectorAll("img[alt]")){if(c.length>=30)break;let p=h;if((p.getAttribute("alt")||"").trim()!=="")continue;let m=(p.getAttribute("title")||"").trim().replace(/\s+/g," ");if(!m||isWidget(p))continue;let v=(p.getAttribute("role")||"").toLowerCase();v==="presentation"||v==="none"||p.getAttribute("aria-hidden")==="true"||p.closest('[aria-hidden="true"]')||(p.getAttribute("aria-label")||"").trim()||(p.getAttribute("aria-labelledby")||"").trim()||isVisible(p)&&c.push({selector:uniqueSel(p),attribute:"data-asw-decorative-title",currentValue:"",issueType:"decorative_image_with_title",wcag:"1.1.1",context:'image with alt="" also has title="'+m.slice(0,80)+'"',needsAI:true,needsReview:true,reviewReason:'WCAG 1.1.1 Non-text Content: this image has an empty alt (declared decorative) but also a title of "'+m.slice(0,80)+'". Violation when the picture conveys information the title names (a logo, a chart, a labelled icon), so the empty alt hides it. Pass when the picture is purely decorative and the title only repeats nearby text or adds nothing.',outerHtml:(p.outerHTML||"").slice(0,300)});}return c},P1={name:"decorativeImageTitle",cap:30,async detect(u){return u.evaluate(EP)}};});var CP,O1,N1=Fe(()=>{CP=()=>{let u="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",c=/^[^\p{L}\p{N}\s]*$/u,h=/^[\s\u00A0\u2000-\u200F\u2028-\u202F]*$/,p=/^[\p{Co}\s]*$/u,v=[],y=["link","button","menuitem","menuitemcheckbox","menuitemradio","tab","checkbox","radio","switch","option","treeitem","gridcell","combobox","textbox","searchbox","slider","spinbutton","img","heading","listitem","none","presentation","generic","navigation","region","group","dialog"],w=x=>{let b=x.computedRole;if(typeof b=="string")return b.toLowerCase();let _=(x.getAttribute("role")||"").trim().toLowerCase().split(/\s+/);for(let D of _)if(y.indexOf(D)>=0)return D;return x.hasAttribute("href")?"link":"generic"},E=x=>{let b=w(x);if(b==="link"||x.hasAttribute("href"))return true;if(b&&b!=="generic")return false;let _=x.getAttribute("tabindex");if(_===null)return false;let D=parseInt(_,10);return !isNaN(D)&&D>=0},C=document.querySelectorAll("a");for(let x of C){if(v.length>=50)break;if(!E(x)||x.closest(u)||x.getAttribute("aria-hidden")==="true"||x.getAttribute("role")==="presentation"||x.closest('[aria-hidden="true"]')||!isVisible(x))continue;let b=getAccessibleName(x);if(b&&b.length>0&&!h.test(b)&&!p.test(b))continue;let _=x.querySelectorAll("img[alt]"),D="";for(let R of _){let S=(R.getAttribute("alt")||"").trim();S&&(D+=S+" ");}if(D.trim())continue;let T=x.getAttribute("aria-labelledby");if(T&&typeof __resolveIdRefs=="function"&&__resolveIdRefs(T))continue;let I=uniqueSel(x),B=x.getAttribute("href")||"",F=(x.textContent||"").trim(),$=getNearbyContext(x),M="";F&&h.test(F)?M="[whitespace only]":F&&c.test(F)&&(M=F);let H=(document.documentElement.getAttribute("lang")||"").trim(),ee=[];x.closest("nav")&&ee.push("inside nav"),$.nearbyHeading&&ee.push("heading: "+$.nearbyHeading),B&&ee.push("href: "+B.slice(0,120)),ee.push("parent: "+$.parentTag),H&&ee.push("page language: "+H);let N={selector:I,attribute:"aria-label",currentValue:M,issueType:"empty_link",wcag:"2.4.4",context:ee.join(" | "),needsAI:true,outerHtml:x.outerHTML.slice(0,300)};v.push(N);}return v},O1={name:"emptyLinks",cap:50,async detect(u){return u.evaluate(CP)}};});var kP,q1,B1=Fe(()=>{kP=()=>{let c=[],h=new Set;function p(x){return (x||"").trim()}function m(x){let b=p(x.getAttribute("aria-label")||"");if(b)return b;let _=x.getAttribute("aria-labelledby");if(_){let T=_.split(/\s+/),I="";for(let B=0;B<T.length;B++){let F=document.getElementById(T[B]);F&&(I+=" "+(F.textContent||""));}if(p(I))return p(I)}let D=p(x.getAttribute("title")||"");return D||""}let v=document.querySelectorAll("fieldset");for(let x=0;x<v.length&&!(c.length>=30);x++){let b=v[x];if(isWidget(b)||!isVisible(b)||isHiddenFromAT(b))continue;if(m(b)){h.add(b);continue}let _=null,D=b.querySelectorAll("legend");for(let M=0;M<D.length;M++)if(D[M].closest("fieldset")===b){_=D[M];break}let T=_!==null,I=_?p(_.textContent||""):"";if(T&&I){h.add(b);continue}let B=getNearbyContext(b),F=b.querySelectorAll("input, select, textarea"),$=uniqueSel(b);c.push({selector:$,attribute:"aria-label",currentValue:"",issueType:"missing_fieldset_legend",wcag:"1.3.1",context:JSON.stringify({reason:T?"fieldset has empty <legend>":"fieldset missing <legend>",controlCount:F.length,nearbyHeading:B.nearbyHeading,parentTag:B.parentTag}),needsAI:true,outerHtml:(b.outerHTML||"").slice(0,300)}),h.add(b);}let y=document.querySelectorAll('[role="group"], [role="radiogroup"]');for(let x=0;x<y.length&&!(c.length>=30);x++){let b=y[x];if(isWidget(b)||!isVisible(b)||isHiddenFromAT(b)||h.has(b))continue;if(m(b)){h.add(b);continue}let _=b.getAttribute("role")||"",D=getNearbyContext(b),T=b.querySelectorAll("input, select, textarea");if(_==="group"&&b.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(b);c.push({selector:I,attribute:"aria-label",currentValue:"",issueType:"missing_fieldset_legend",wcag:"1.3.1",context:JSON.stringify({reason:'role="'+_+'" container without accessible name',role:_,controlCount:T.length,nearbyHeading:D.nearbyHeading,parentTag:D.parentTag}),needsAI:true,outerHtml:(b.outerHTML||"").slice(0,300)}),h.add(b);}let w={},E=document.querySelectorAll('input[type="radio"], input[type="checkbox"]');for(let x=0;x<E.length;x++){let b=E[x];if(isWidget(b)||!isVisible(b)||isHiddenFromAT(b))continue;let _=b.getAttribute("name")||"";if(!_)continue;let D=b.closest("form"),T=D?D.getAttribute("id")||D.getAttribute("action")||D.tagName:"no-form",I=(b.getAttribute("type")||"").toLowerCase(),B=T+"::"+I+"::"+_;w[B]||(w[B]=[]),w[B].push(b);}let C=Object.keys(w);for(let x=0;x<C.length&&!(c.length>=30);x++){let b=w[C[x]];if(b.length<3)continue;let _=b[0],D=_.closest('fieldset, [role="group"], [role="radiogroup"]'),T=false;if(D){T=true;for(let H=1;H<b.length;H++)if(!D.contains(b[H])){T=false;break}}if(T&&D)continue;let I=_.parentElement;for(;I&&I!==document.body;){let H=true;for(let ee=1;ee<b.length;ee++)if(!I.contains(b[ee])){H=false;break}if(H)break;I=I.parentElement;}if(!I||I===document.body||h.has(I))continue;let B=(_.getAttribute("type")||"").toLowerCase(),F=_.getAttribute("name")||"",$=getNearbyContext(_),M=uniqueSel(I);c.push({selector:M,attribute:"role",currentValue:I.getAttribute("role")||"",issueType:"missing_fieldset_legend",wcag:"1.3.1",context:JSON.stringify({reason:"unwrapped "+B+" group ("+b.length+' inputs share name="'+F+'")',inputType:B,inputCount:b.length,name:F,nearbyHeading:$.nearbyHeading,parentTag:$.parentTag}),needsAI:false,fixValue:B==="radio"?"radiogroup":"group",outerHtml:(I.outerHTML||"").slice(0,300)}),h.add(I);}return c},q1={name:"fieldsetLegend",cap:30,async detect(u){return u.evaluate(kP)}};});var SP,H1,V1=Fe(()=>{SP=()=>{let u=[],c=document.querySelectorAll('header, nav, div, [class*="header"], [class*="navbar"], [class*="sticky"], [role="banner"]'),h=0;for(let p of Array.from(c)){let m=getComputedStyle(p);if(m.display==="none"||m.visibility==="hidden"||m.position!=="sticky"&&m.position!=="fixed")continue;let v=p.getBoundingClientRect();if(v.top>50||v.bottom<=0)continue;let y=Math.round(v.height);y<40||y>240||y>h&&(h=y);}if(h>0){let p=window.scrollX,m=window.scrollY,v=0,y=0;try{let E=[],C=new Set;document.querySelectorAll('a[href^="#"]').forEach(x=>{let b=x.getAttribute("href").slice(1);if(!b)return;let _=document.getElementById(b);_&&!C.has(_)&&(C.add(_),E.push(_));});for(let x of E){if(y>=8)break;let b=getComputedStyle(x);if(b.display==="none"||b.visibility==="hidden")continue;y++,x.scrollIntoView({block:"start"});let _=x.getBoundingClientRect(),D=Math.max(_.height,1);Math.max(0,Math.min(_.bottom,h)-Math.max(_.top,0))/Math.min(D,h)>=.5&&v++;}}catch{}try{window.scrollTo(p,m);}catch{}let w=`scroll-margin-top: ${h+8}px; scroll-padding-top: ${h+8}px;`;y>0&&v>0?u.push({selector:"html",attribute:"style",currentValue:"",issueType:"focus_obscured_by_sticky",wcag:"2.4.11",context:`sticky header height: ${h}px \u2014 ${v}/${y} in-page anchor targets land under it on jump`,needsAI:false,fixValue:w}):y===0&&u.push({selector:"html",attribute:"style",currentValue:"",issueType:"focus_obscured_by_sticky",wcag:"2.4.11",context:`sticky header height: ${h}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:w});}return u},H1={name:"focusObscured",async detect(u){return u.evaluate(SP)}};});var bi={};mr(bi,{pruneHiddenIframeIssues:()=>MP,pruneInvisibleContrast:()=>IP,trackPageActivity:()=>RP,waitForInteractionSettle:()=>ac,waitForRenderSettle:()=>TP});async function TP(u,c=4e3){let h=Date.now()+c;try{await u.waitForLoadState?.("load",{timeout:Math.min(c/2,2e3)});}catch{}let p="";for(;Date.now()<h;){let m;try{m=await u.evaluate(()=>{let v=typeof document.getAnimations=="function"?document.getAnimations():[],y=0;for(let x of v){if(x.playState!=="running")continue;let b;try{b=x.effect?.getComputedTiming?.().iterations;}catch{b=void 0;}b!==1/0&&y++;}let w="",E=document.body?document.body.querySelectorAll('[style*="opacity"]'):[],C=Math.min(E.length,50);for(let x=0;x<C;x++)w+=getComputedStyle(E[x]).opacity+",";return y+"|"+w});}catch{return}if(m.indexOf("0|")===0&&m===p)return;p=m,await new Promise(v=>setTimeout(v,150));}}async function RP(u){try{await u.evaluate(c=>{let h=Symbol.for(c),p=window;if(p[h])return;let m={input:-1,mutated:performance.now(),settled:-1,off:()=>{}},v=()=>{m.input=performance.now();},y=["keydown","mousemove","mousedown","pointerdown","wheel"];for(let E of y)window.addEventListener(E,v,!0);let w=new MutationObserver(()=>{m.mutated=performance.now();});w.observe(document,{childList:!0,subtree:!0}),m.off=()=>{for(let E of y)window.removeEventListener(E,v,!0);w.disconnect();},p[h]=m;},nc);}catch{}}async function ac(u,c={}){let h=c.graceMs??900,p=c.quietMs??250,m=Date.now()+(c.capMs??1500);try{for(;;){let v=await u.evaluate(w=>{let E=window[Symbol.for(w)];if(!E)return null;let C=performance.now(),x=E.settled>=0&&E.input<=E.settled;return {input:E.input<0||x||!document.querySelector("script:not([data-wa-injected])")?null:C-E.input,mutated:C-E.mutated}},nc);if(!v||v.input===null)return;let y=Math.max(h-v.input,p-v.mutated);if(y<=0||Date.now()>=m)return;await new Promise(w=>setTimeout(w,Math.min(y,100,Math.max(m-Date.now(),0))+1));}}catch{}finally{try{await u.evaluate(({name:v,keep:y})=>{let w=window,E=Symbol.for(v);if(y){w[E]&&(w[E].settled=performance.now());return}w[E]?.off?.(),delete w[E];},{name:nc,keep:!!c.keepTracking});}catch{}}}function $1(u){return FP.has(u.wcag)||/contrast/i.test(u.type||"")}async function IP(u,c){let h=Array.from(new Set(c.filter(y=>$1(y)&&y.selector).map(y=>y.selector))).slice(0,100);if(h.length===0)return c;let p;try{p=await u.evaluate(y=>{let w=[],E={},C=Math.max(document.documentElement.scrollWidth,window.innerWidth),x=Math.max(document.documentElement.scrollHeight,window.innerHeight),b=_=>{let D=_.match(/rgba?\(([^)]+)\)/);if(!D)return !1;let T=D[1].split(/[ ,/]+/).filter(Boolean);return T.length<4||parseFloat(T[3])>=.95};for(let _ of y){let D=null;try{D=document.querySelector(_);}catch{continue}if(!D)continue;let T=getComputedStyle(D),I=D.getBoundingClientRect(),B=T.clipPath&&T.clipPath!=="none"&&/inset\(\s*(?:50|100)%/.test(T.clipPath)||/rect\(\s*0(?:px)?\s*,?\s*0(?:px)?\s*,?\s*0(?:px)?\s*,?\s*0(?:px)?\s*\)/.test(T.clip||""),F=I.width<=1||I.height<=1,$=window.scrollX,M=window.scrollY,H=I.right+$<=0||I.bottom+M<=0||I.left+$>=C||I.top+M>=x,ee=!1;if(H)for(let W=D.parentElement;W&&W!==document.body&&W!==document.documentElement;W=W.parentElement){let Z=getComputedStyle(W);if(Z.overflowX!=="visible"||Z.overflowY!=="visible"||Z.transform&&Z.transform!=="none"){ee=!0;break}}if(B||F||I.right+$<=0||I.bottom+M<=0||H&&!ee){w.push(_);continue}let N=D,R=!1;for(;N&&N!==document.documentElement;){if(parseFloat(getComputedStyle(N).opacity)===0){R=!0;break}N=N.parentElement;}if(R){E[_]="text is inside an opacity:0 element (hidden slide or pre-animation state) \u2014 check contrast in the state where it is shown";continue}let S=I.left+I.width/2,P=I.top+I.height/2,q=D,j=!1;for(let W=0;q&&q!==document.body&&W<8;W++){let Z=getComputedStyle(q);if(b(Z.backgroundColor)||Z.backgroundImage&&Z.backgroundImage!=="none")break;let ne=q.querySelectorAll("video, canvas, img, picture");for(let le=0;le<ne.length;le++){let fe=ne[le];if(fe.contains(D)||D.contains(fe))continue;let me=fe.getBoundingClientRect();if(me.width>0&&me.height>0&&S>=me.left&&S<=me.right&&P>=me.top&&P<=me.bottom){j=!0;break}}if(j)break;q=q.parentElement;}j&&(E[_]="text sits over a video or image \u2014 the background behind the glyphs cannot be measured from CSS");}return {hidden:w,review:E}},h);}catch{return c}let m=new Set(p.hidden),v=[];for(let y of c){if(!$1(y)){v.push(y);continue}if(m.has(y.selector))continue;let w=p.review[y.selector];v.push(w&&y.confidence!=="needs_review"?{...y,confidence:"needs_review",reviewReason:w,...y.fix?{fix:{...y.fix,needsManualReview:true}}:{}}:y);}return v}async function MP(u,c){let h=Array.from(new Set(c.filter(v=>v.selector).map(v=>v.selector))).slice(0,200);if(h.length===0)return c;let p;try{p=await u.evaluate(v=>{let y=[];for(let w of v){let E=null;try{E=document.querySelector(w);}catch{continue}if(!E||E.tagName!=="IFRAME")continue;let C=getComputedStyle(E),x=E.getClientRects().length===0||C.visibility==="hidden"||C.visibility==="collapse",b=(E.getAttribute("src")||"").trim().toLowerCase().indexOf("javascript:")===0;(x||b)&&y.push(w);}return y},h);}catch{return c}if(p.length===0)return c;let m=new Set(p);return c.filter(v=>!m.has(v.selector))}var nc,FP,fa=Fe(()=>{nc="wa.activity";FP=new Set(["1.4.3","1.4.6","1.4.11"]);});var j1,z1=Fe(()=>{fa();j1={name:"focusVisible",cap:40,async detect(u){let c=typeof u.keyboard?.press=="function";try{await u.evaluate(()=>{let h=document.activeElement;window[Symbol.for("wa.prevFocus")]=h&&h!==document.body&&h!==document.documentElement?h:null,window[Symbol.for("wa.prevScroll")]=[window.scrollX,window.scrollY];let p=getSelection();window[Symbol.for("wa.prevSelection")]=p?Array.from({length:p.rangeCount},(m,v)=>p.getRangeAt(v).cloneRange()):[];});}catch{}if(c){try{await u.keyboard.press("Tab");}catch{}await ac(u,{keepTracking:true,graceMs:2e3,quietMs:400,capMs:4e3});}return u.evaluate(async h=>{let m=[],v=["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 y=x=>["Top","Right","Bottom","Left"].map(b=>{let _=x["border"+b+"Style"],D=parseFloat(x["border"+b+"Width"]||"0");return _!=="none"&&_!=="hidden"&&D>0?_+" "+D+" "+x["border"+b+"Color"]:"-"}).join("|"),w=document.querySelectorAll(v),E=Symbol.for("wa.prevFocus"),C=window[E]??null;try{delete window[E];}catch{}for(let x of w){if(m.length>=40)break;if(typeof isWidget=="function"&&isWidget(x)||typeof isHiddenFromAT=="function"&&isHiddenFromAT(x)||typeof isVisible=="function"&&!isVisible(x)||!x.offsetParent&&x.tagName!=="BODY")continue;let b=x.hasAttribute("style"),_=x.getAttribute("style"),D=["transition-property","transition-duration","transition-timing-function","transition-delay","transition-behavior"],T=x.style?D.map(j=>[j,x.style.getPropertyValue(j),x.style.getPropertyPriority(j)]):[];x.style&&(x.style.transition="none");let I=()=>{if(x.style){x.style.removeProperty("transition");for(let[j,W,Z]of T)W&&x.style.setProperty(j,W,Z);!b&&!x.getAttribute("style")?x.removeAttribute("style"):b&&_!==null&&_.trim()===""&&x.getAttribute("style")===""&&x.setAttribute("style",_);}},B=getComputedStyle(x),F=B.outline,$=B.outlineWidth,M=B.outlineStyle,H=B.boxShadow,ee=y(B),N=B.backgroundColor;try{x.focus({preventScroll:!0});}catch{I();continue}if(document.activeElement!==x){I();continue}let R=()=>{let j=getComputedStyle(x),W=(j.outlineStyle||"").toLowerCase(),Z=parseFloat(j.outlineWidth||"0"),ne=j.outline!==F,le=W!=="none"&&W!=="hidden"&&Z>0,fe=j.boxShadow!==H&&j.boxShadow!=="none"&&j.boxShadow!=="",me=y(j)!==ee,oe=j.backgroundColor!==N;return ne&&le||fe||me||oe},S=R(),P=typeof x.getAnimations=="function"&&x.getAnimations().some(j=>j.playState==="running"&&!("transitionProperty"in j));if(!S&&!P){let j=W=>typeof requestAnimationFrame=="function"?requestAnimationFrame(W):setTimeout(W,16);if(await new Promise(W=>setTimeout(()=>j(()=>W()),20)),document.activeElement!==x){I();continue}S=R();}if(I(),S||parseFloat($)>0&&M!=="none")continue;let q=typeof uniqueSel=="function"?uniqueSel(x):x.tagName.toLowerCase();m.push({selector:q,pseudo:":focus-visible",attribute:"style",currentValue:M+" "+$,issueType:"focus_not_visible",wcag:"2.4.7",context:`${x.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:x.outerHTML.slice(0,200),...h?{}:{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 x=Symbol.for("wa.prevScroll"),b=window[x];delete window[x],b&&window.scrollTo({left:b[0],top:b[1],behavior:"instant"});}catch{}try{let x=Symbol.for("wa.prevSelection"),b=window[x];delete window[x];let _=getSelection();if(_&&b){_.removeAllRanges();for(let D of b)_.addRange(D);}}catch{}return m},c)}};});var PP,G1,W1=Fe(()=>{PP=()=>{let c=[],h=["new","register","signup","sign-up","sign_up","create","change","reset"],p=["confirm","verify","retype","re-type","repeat","again"];function m(b){if(!b)return false;let _=" "+((b.getAttribute("id")||"")+" "+(b.getAttribute("class")||"")+" "+(b.getAttribute("name")||"")+" "+(b.getAttribute("action")||"")).toLowerCase()+" ";for(let D=0;D<h.length;D++)if(_.indexOf(h[D])!==-1)return true;return false}function v(b){let _=((b.getAttribute("name")||"")+" "+(b.getAttribute("id")||"")+" "+(b.getAttribute("placeholder")||"")+" "+(b.getAttribute("aria-label")||"")).toLowerCase();for(let D=0;D<p.length;D++)if(_.indexOf(p[D])!==-1)return true;return false}let y=document.querySelectorAll('input[type="password"], input[type="Password"]');for(let b of y){if(c.length>=30)break;let _=b;if(isWidget(_)||isHiddenFromAT(_)||!isVisible(_))continue;let D=(_.getAttribute("autocomplete")||"").trim().toLowerCase();if(v(_)){if(D==="new-password")continue;let $=uniqueSel(_);c.push({selector:$,attribute:"autocomplete",currentValue:D,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(D)continue;let I=_.form||_.closest("form"),B=m(I),F=uniqueSel(_);c.push({selector:F,attribute:"autocomplete",currentValue:"",issueType:"missing_autocomplete",wcag:"1.3.5",context:(B?"new/signup/change password form":"login form")+" | name: "+(_.getAttribute("name")||"")+" | id: "+(_.getAttribute("id")||""),needsAI:false,fixValue:B?"new-password":"current-password",outerHtml:(_.outerHTML||"").slice(0,300)});}let w=document.querySelectorAll("form"),E=/\*|\brequired\b|\bmandatory\b/i;for(let b of w){if(c.length>=30)break;let _=b;if(isWidget(_)||!isVisible(_))continue;let D=_.querySelectorAll("input[required], select[required], textarea[required]");if(!D.length)continue;let T=0;for(let M of D)isVisible(M)&&T++;if(T===0)continue;let I=_.querySelectorAll('input:not([type="hidden"]):not([type="submit"]):not([type="button"]), select, textarea'),B=0;for(let M of I)isVisible(M)&&B++;if(T>=B||(_.getAttribute("data-asw-required-hint")||"").trim())continue;let F=(_.textContent||"").trim();if(E.test(F))continue;let $=uniqueSel(_);c.push({selector:$,attribute:"data-asw-required-hint",currentValue:"",issueType:"missing_required_indicator",wcag:"3.3.2",context:`form has ${T} required input(s) but no visible "*" / "required" / "mandatory" marker`,needsAI:true,outerHtml:(_.outerHTML||"").slice(0,300)});}let C='input[type="submit" i], input[type="image" i], button:not([type]), button[type="submit" i], button[type=""]',x='input:not([type="hidden"]):not([type="submit"]):not([type="button"]):not([type="reset"]):not([type="image"]), select, textarea';for(let b of w){if(c.length>=30)break;let _=b;if(isWidget(_)||!isVisible(_)||isHiddenFromAT(_))continue;let D=[];for(let M of _.querySelectorAll(x))isVisible(M)&&D.push(M);if(D.length===0||_.querySelector(C))continue;let T=_.getAttribute("id");if(T){let M=false;for(let H of document.querySelectorAll(C))if(H.getAttribute("form")===T){M=true;break}if(M)continue}if(((_.getAttribute("role")||"").toLowerCase()==="search"||!!_.closest('[role="search"]'))&&D.length===1)continue;let B=D.slice(0,4).map(M=>M.tagName.toLowerCase()+(M.tagName==="INPUT"?"["+(M.getAttribute("type")||"text")+"]":"")).join(", "),F=[];for(let M of _.querySelectorAll('button:not([type="reset" i]), input[type="button" i], [role="button"]')){if(F.length>=3)break;let H=M;if(!isVisible(H))continue;let ee=((H.tagName==="INPUT"?H.getAttribute("value"):H.textContent)||H.getAttribute("aria-label")||"").trim().replace(/\s+/g," ").slice(0,30);F.push('"'+ee+'"');}if(F.length&&!(_.getAttribute("action")||"").trim())continue;let $=F.length?" Buttons present that are not a submit control (type=button or role=button): "+F.join(", ")+".":"";c.push({selector:uniqueSel(_),attribute:"data-asw-submit-control",currentValue:"",issueType:"form_missing_submit",wcag:"3.2.2",context:`form with ${D.length} visible field(s) (${B}) and no submit control`,needsAI:true,needsReview:true,reviewReason:"WCAG 3.2.2 On Input: this form has "+D.length+" visible field(s) ("+B+") 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."+$,outerHtml:(_.outerHTML||"").slice(0,300)});}return c},G1={name:"formAttributes",cap:30,async detect(u){return u.evaluate(PP)}};});function OP(u){if(!/^[a-z]{2,3}$/.test(u))return false;if(yi===void 0)try{yi=new Intl.DisplayNames(["en"],{type:"language",fallback:"none"});}catch{yi=null;}if(!yi)return u.length===2;try{let c=yi.of(u);return !!c&&c.toLowerCase()!==u}catch{return false}}function ic(u){let c=String(u||"").trim().toLowerCase().match(/^([a-z]{2,3})(?:[-_][a-z0-9]{2,8})*$/);return !c||c[1]==="und"||c[1]==="mul"||c[1]==="zxx"?"":OP(c[1])?c[1]:""}function NP(u){if(!u)return "";let c;try{c=new URL(/^[a-z][a-z0-9+.-]*:\/\//i.test(u)?u:`https://${u}`);}catch{return ""}let h=/^([a-z]{2})(?:[-_][a-z]{2,4})?$/i,p=c.hostname.toLowerCase().split(".");if(p.length>=3&&h.test(p[0])){let v=ic(p[0]);if(v)return v}let m=c.pathname.split("/").filter(Boolean)[0]||"";return h.test(m)?ic(m):""}function qP(u){let c=String(u||"").slice(0,2e4),h={lean:null,confident:false,ruledOut:new Set};if(!c.trim())return h;let p=(c.match(/\p{L}/gu)||[]).length;if(p>=40){let H=LP.map(([P,q])=>[P,(c.match(q)||[]).length]),ee=H.find(([P])=>P==="ja")[1],N=H.find(([P])=>P==="zh")[1],R=ee>=Math.max(5,(ee+N)*.05)?[["ja",ee+N]]:[["zh",N]],S=[...H.filter(([P])=>P!=="ja"&&P!=="zh"),...R].sort((P,q)=>q[1]-P[1]);if(S[0][1]/p>=.6)return {lean:S[0][0],confident:true,ruledOut:new Set(ps.keys())}}let m=c.toLowerCase().match(/\p{L}+/gu)||[];if(!m.length)return h;let v={};for(let H of m){let ee=U1.get(H);if(ee)for(let[N,R]of ee)v[N]=(v[N]||0)+R;}let y=new Map;for(let H of m)U1.has(H)&&y.set(H,(y.get(H)||0)+1);let w=new Map,E=new Map;for(let[H,ee]of ps){let N=0,R=0;for(let[S,P]of y)ee.has(S)&&(N+=P,R++);w.set(H,N/m.length),E.set(H,R);}let C=m.length>=30,x=new Set(C?[...w].filter(([,H])=>H<.12).map(([H])=>H):[]),b=(H,ee)=>{let N=ps.get(H),R=ps.get(ee),S=0;for(let[P,q]of y)N.has(P)&&!R.has(P)&&(S+=q);return S},_=Object.entries(v).sort((H,ee)=>ee[1]-H[1]);if(!_.length)return {...h,ruledOut:x};let[D,T]=_[0],I=_[1]?.[1]||0,F=(C?[...w].filter(([H,ee])=>H!==D&&ee>=.12).map(([H])=>H):[]).every(H=>{let ee=b(D,H);return ee>=5&&ee>=b(H,D)*2}),$=C&&T>=5&&(w.get(D)||0)>=.12&&(E.get(D)||0)>=6&&F,M=T>=2&&($||T>=I*1.5)?D:null;return {lean:M,confident:!!M&&$,ruledOut:x}}function J1(u){let c=[...new Set((u.declared||[]).map(ic).filter(Boolean))],h=NP(u.url),p=qP(u.text);if(p.confident&&p.lean)return c.some(m=>m!==p.lean)||h&&h!==p.lean?null:{lang:p.lean,source:"text"};if(c.length===1){let m=c[0];return p.lean&&p.lean!==m||p.ruledOut.has(m)||h&&h!==m?null:{lang:m,source:"declared"}}return c.length>1?null:h&&p.lean===h&&!p.ruledOut.has(h)?{lang:h,source:"url"}:null}var X1,ps,U1,LP,yi,K1=Fe(()=>{X1={en:"the and of to is in that for with on are this you it be as at by from or your our we not have has was will can an all more about which their they",de:"der die das und ist nicht mit sich des den dem ein eine einen einer auf f\xFCr von zu im in auch sie wir ihr bei oder wird sind werden \xFCber nach aus wie noch nur unsere ihre sowie k\xF6nnen zum zur",nl:"de het een en van is dat op te in zijn voor met niet aan er ook als bij door wordt om uit worden naar onze uw jouw maar dan nog deze kunt wij u ons of wat die kan was",fr:"le la les et des est une du que pour dans qui pas sur au avec ce plus sont vous nous par ou leur cette mais \xEAtre aux votre vos notre nos",es:"el la los las y es una del que por para con se en no su sus m\xE1s al como pero este esta son nuestro nuestra nuestros usted tambi\xE9n de",it:"il lo la gli le e \xE8 di che per in una un del della con non sono pi\xF9 dei delle nel alla come anche questo questa nostro nostra nostri ti",pt:"o a os as e \xE9 de do da dos das que para com n\xE3o uma um em no na por mais seu sua nosso nossa voc\xEA tamb\xE9m s\xE3o",da:"og er det en at til af p\xE5 med for ikke den som de har vi kan vil fra jeres vores ogs\xE5 eller jer hvis efter",sv:"och \xE4r det en att till av p\xE5 med f\xF6r inte den som har vi kan ska fr\xE5n ocks\xE5 eller v\xE5ra v\xE5r din dina",nb:"og er det en at til av p\xE5 med for ikke den som har vi kan skal fra ogs\xE5 eller v\xE5re v\xE5r deg dine",pl:"i w na z do \u017Ce si\u0119 jest nie to o od jak dla po przez s\u0105 lub oraz nasz nasze mo\u017Ce tak\u017Ce jego",cs:"a v na se je \u017Ee s z do o to jako pro by nen\xED jsou nebo tak\xE9 ale jeho na\u0161e",ca:"el la els les i \xE9s de del dels que per amb en un una no es al als com m\xE9s per\xF2 aquest aquesta aquests s\xF3n seu seva nostre nostra hi ho ja tamb\xE9 o",gl:"o a os as e \xE9 de do da dos das que para con non unha un en no na nos nas por m\xE1is seu s\xFAa cando tam\xE9n pero este esta moi",af:"die en van is in dat op te vir nie met om wat sy hy hulle ons jy u was het aan as by ook maar of kan sal hierdie n ek julle deur baie"},ps=new Map(Object.entries(X1).map(([u,c])=>[u,new Set(c.split(" "))])),U1=(()=>{let u=new Map;for(let[h,p]of Object.entries(X1))for(let m of new Set(p.split(" "))){let v=u.get(m)||[];v.push(h),u.set(m,v);}let c=new Map;for(let[h,p]of u)c.set(h,p.map(m=>[m,1/p.length]));return c})(),LP=[["ko",/\p{Script=Hangul}/gu],["el",/\p{Script=Greek}/gu],["he",/\p{Script=Hebrew}/gu],["th",/\p{Script=Thai}/gu],["ja",/[\p{Script=Hiragana}\p{Script=Katakana}]/gu],["zh",/\p{Script=Han}/gu]];});function BP(){let u=document.documentElement;if(!u||(u.getAttribute("lang")||"").trim())return null;let c=String(typeof location<"u"&&location.href||""),h=v=>v.replace(/[#?].*$/,"").replace(/\/+$/,""),p=null;try{let v=document.querySelectorAll('link[rel="alternate"][hreflang]');for(let y=0;y<v.length;y++){let w=v[y],E=w.getAttribute("hreflang")||"";if(E&&E.toLowerCase()!=="x-default"&&w.href&&h(w.href)===h(c)){p=E;break}}}catch{}return {url:c,text:(()=>{let v=document.body;if(!v)return "";if(typeof v.innerText=="string")return v.innerText.slice(0,2e4);let y=v.cloneNode(true);return y.querySelectorAll('script, style, noscript, template, [hidden], [aria-hidden="true"]').forEach(w=>w.remove()),String(y.textContent||"").replace(/\s+/g," ").slice(0,2e4)})(),declared:[u.getAttribute("xml:lang"),document.querySelector('meta[http-equiv="content-language" i]')?.getAttribute("content")??null,document.querySelector('meta[name="language" i]')?.getAttribute("content")??null,document.querySelector('meta[property="og:locale"]')?.getAttribute("content")??null,document.body?.getAttribute("lang")??null,p]}}function HP(u){if(!u)return [];let c=J1(u),h={selector:"html",attribute:"lang",currentValue:"",issueType:"missing_document_language",wcag:"3.1.1",needsAI:false};return c?[{...h,context:`Document language not declared; detected "${c.lang}" from page ${c.source}`,fixValue:c.lang}]:[{...h,context:"Document language not declared, and the page text does not settle which language it is (short, mixed, conflicting, or a language without a detector list) \u2014 set <html lang> by hand",manualFix:true}]}var Y1,Z1=Fe(()=>{K1();Y1={name:"htmlLang",async detect(u){let c=await u.evaluate(BP);return HP(c)}};});var VP,Q1,ev=Fe(()=>{VP=()=>{let u="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",h=[],p=document.querySelectorAll("iframe");for(let m of p){if(h.length>=50)break;if(m.closest(u))continue;let v=false;for(let $=m;$;$=$.parentElement)if(($.getAttribute("aria-hidden")||"").trim()==="true"){v=true;break}let y=(m.getAttribute("role")||"").trim().toLowerCase();if(v||y==="presentation"||y==="none"||m.closest("[inert]"))continue;let w=/^[\t\n\f\r ]*([-+]?\d+)/.exec(m.getAttribute("tabindex")||"");if(w&&parseInt(w[1],10)<0)continue;let E=getComputedStyle(m);if(m.getClientRects().length===0||E.visibility==="hidden"||E.visibility==="collapse"||(m.getAttribute("src")||"").trim().toLowerCase().indexOf("javascript:")===0)continue;let C="",x=(m.getAttribute("aria-labelledby")||"").trim();if(x){let $=x.split(/\s+/);for(let M=0;M<$.length;M++){let H=document.getElementById($[M]);H&&(C+=" "+(H.textContent||""));}C=C.trim();}if(C||(C=(m.getAttribute("aria-label")||"").trim()),C)continue;let b=(m.getAttribute("title")||"").trim(),_=b.length===0;if(!_)continue;let D=(m.getAttribute("src")||"").toLowerCase(),T=uniqueSel(m),I=getNearbyContext(m),B=(document.documentElement.getAttribute("lang")||"").trim(),F="src: "+D.slice(0,120)+(I.nearbyHeading?" | heading: "+I.nearbyHeading:"")+(I.cardText?" | nearby text: "+I.cardText:"")+(B?" | page language: "+B:"");_&&h.push({selector:T,attribute:"title",currentValue:b,issueType:"missing_label",wcag:"4.1.2",context:F,needsAI:true,outerHtml:m.outerHTML.slice(0,300)});}return h},Q1={name:"iframeTitle",cap:50,async detect(u){return u.evaluate(VP)}};});var $P,tv,rv=Fe(()=>{$P=()=>{let u="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",c=["hidden","submit","button","reset","image","checkbox","radio","file","range","color"],p=[],m={email:"email",tel:"tel",password:"current-password"},v=[{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"}],y=document.querySelectorAll("input, select, textarea");for(let w of y){if(p.length>=50)break;if(w.closest(u))continue;let E=w,C=(E.getAttribute("type")||"text").toLowerCase();if(c.includes(C)||E.getAttribute("autocomplete")||!isVisible(E))continue;let x="";if(m[C]&&(x=m[C]),!x){let _=(E.getAttribute("name")||"").toLowerCase(),D=(E.getAttribute("id")||"").toLowerCase(),T=(E.getAttribute("placeholder")||"").toLowerCase(),I=_+" "+D+" "+T;for(let B of v)if(I.includes(B.pattern)){x=B.autocomplete;break}}if(!x)continue;if(x==="country"){let _=false;if(E.tagName==="SELECT"){let D=Array.from(E.options).map(T=>(T.value||"").trim()).filter(Boolean);_=D.length>0&&D.every(T=>/^[A-Za-z]{2}$/.test(T));}_||(x="country-name");}let b=uniqueSel(E);p.push({selector:b,attribute:"autocomplete",currentValue:"",issueType:"identify_input_purpose",wcag:"1.3.5",context:"type: "+C+" | name: "+(E.getAttribute("name")||"")+" | id: "+(E.getAttribute("id")||""),needsAI:false,fixValue:x});}return p},tv={name:"inputPurpose",cap:50,async detect(u){return u.evaluate($P)}};});var jP,nv,av=Fe(()=>{jP=()=>{let u="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",h=[],p=['a[href]:not([href=""])',"button:not([disabled])",'input:not([type="hidden"]):not([disabled])',"select:not([disabled])","textarea:not([disabled])",'[role="button"]:not([aria-disabled="true"])','[role="link"]:not([aria-disabled="true"])','[role="menuitem"]:not([aria-disabled="true"])','[role="tab"]:not([aria-disabled="true"])','[role="checkbox"]:not([aria-disabled="true"])','[role="radio"]:not([aria-disabled="true"])'].join(",");function m(_){let D=_.getBoundingClientRect();if(D.width===0&&D.height===0)return false;let T=-window.scrollX,I=-window.scrollY,B=document.documentElement,F=getComputedStyle(_).position;if(F==="fixed")return false;let $=F==="absolute";for(let M=_.parentElement;M&&M!==document.body&&M!==B;M=M.parentElement){let H=getComputedStyle(M);if($){if(H.position==="static")continue;$=false;}if(/auto|scroll/.test(H.overflowX+" "+H.overflowY))return false;let ee=H.overflowX==="hidden"||H.overflowX==="clip",N=H.overflowY==="hidden"||H.overflowY==="clip";if(!ee&&!N)continue;let R=M.getBoundingClientRect();if(ee&&(D.right<=R.left||D.left>=R.right)||N&&(D.bottom<=R.top||D.top>=R.bottom))return true;if(F=H.position,F==="fixed")return false;F==="absolute"&&($=true);}return D.right<=T||D.bottom<=I||D.left>=T+B.scrollWidth||D.top>=I+B.scrollHeight}let v='[role="tablist"],[aria-roledescription="carousel" i],[aria-roledescription="slide" i],[class*="slick"],[class*="swiper"],[class*="owl"],[class*="splide"],[class*="flickity"]',y='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"]',w='a[href],area[href],button,input:not([type="hidden"]),select,textarea,summary,iframe';function E(_){if(_.tagName==="A"){let T=_.href;if(T){for(let I of document.querySelectorAll("a[href]"))if(!(I===_||I.href!==T||I.tabIndex<0)&&!I.closest('[aria-hidden="true"],[hidden],[inert]')&&!(typeof isVisible=="function"&&!isVisible(I)))return "another focusable link to the same href exists"}}if(_.closest(v))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 D=_.parentElement?.closest(y);if(D){let T=0;for(let I of D.querySelectorAll(w))I!==_&&I.getAttribute("tabindex")?.trim()==="-1"&&T++;if(T>=2)return `${T} other controls in the same <${D.tagName.toLowerCase()}> also carry tabindex="-1" (inert by design)`}for(let T=_.parentElement;T&&T!==document.body&&!T.matches(w);T=T.parentElement){let I=parseInt(T.getAttribute("tabindex")||"",10);if(!Number.isFinite(I)||I<0)continue;let B=[...T.querySelectorAll(w)];if(B.length>=2&&B.every(F=>F.getAttribute("tabindex")?.trim()==="-1"))return 'a focusable ancestor owns focus and every control inside it carries tabindex="-1"';break}return ""}let C=document.querySelectorAll(p);for(let _ of C){if(h.length>=30)break;if(_.closest(u)||!_.hasAttribute("tabindex"))continue;let D=_.getAttribute("tabindex")||"",T=parseInt(D,10);if(!Number.isFinite(T)||T===0||_.getAttribute("aria-disabled")==="true"||_.getAttribute("aria-hidden")==="true"||_.closest('[aria-hidden="true"]')||_.closest("[hidden]"))continue;let I=_.closest('[role="dialog"],[role="alertdialog"],dialog,[role="menu"],[role="listbox"]');if(I&&!(I.hasAttribute("open")||I.getAttribute("aria-modal")==="true"||I.getAttribute("aria-hidden")!=="true")||typeof isVisible=="function"&&!isVisible(_)||T<0&&m(_))continue;let B=(_.getAttribute("role")||"").toLowerCase();if(T<0&&_.closest('[role="tablist"],[role="menu"],[role="menubar"],[role="listbox"],[role="tree"],[role="treegrid"],[role="grid"],[role="radiogroup"],[role="toolbar"]'))continue;if(T<0&&_.tagName==="A"){if((_.getAttribute("aria-current")||"").trim().toLowerCase()==="page")continue;let S=(_.getAttribute("href")||"").trim();if(S&&!S.includes("#"))try{let P=new URL(S,document.baseURI),q=new URL(location.href);if(P.hash="",q.hash="",P.href===q.href)continue}catch{}}let $=typeof uniqueSel=="function"?uniqueSel(_):"",M=typeof getNearbyContext=="function"?getNearbyContext(_):{parentTag:_.tagName.toLowerCase(),nearbyHeading:""},H,ee,N=T<0?E(_):"";T<0?(H="keyboard_trap",ee="2.1.1"):(H="focus_order_disruption",ee="2.4.3");let R=[];R.push("tabindex: "+T),R.push("tag: "+_.tagName.toLowerCase()),B&&R.push("role: "+B),M.nearbyHeading&&R.push("heading: "+M.nearbyHeading),R.push("parent: "+M.parentTag),N&&R.push('author tabindex="-1" looks intentional: '+N),h.push({selector:$,attribute:"tabindex",currentValue:String(T),issueType:H,wcag:ee,context:R.join(" | "),needsAI:false,fixValue:"0",...N?{manualFix:true,reviewReason:`the author's tabindex="-1" looks intentional (${N}); 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 x=/\b(?:this|(?:event|evt|e)\.(?:target|currentTarget))\.focus\s*\(\s*\)/,b=/\b(?:if|else|switch|while|for)\b|&&|\|\||\?/;for(let _ of document.querySelectorAll("[onblur]")){if(h.length>=30)break;if(_.closest(u))continue;let D=_.getAttribute("onblur")||"";!x.test(D)||b.test(D)||_.matches('[disabled], [aria-disabled="true"]')||_.closest('[aria-hidden="true"], [hidden]')||typeof isVisible=="function"&&!isVisible(_)||h.push({selector:typeof uniqueSel=="function"?uniqueSel(_):_.tagName.toLowerCase(),attribute:"onblur",currentValue:D.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 h},nv={name:"keyboardTrap",cap:30,async detect(u){return u.evaluate(jP)}};});var zP,iv,ov=Fe(()=>{zP=()=>{let u="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=EquallyAI]",h=["click here","click","here","read more","more","link","this","go","info","details","learn more","see more","view","open","tap"],p=[];function m(b){if(!b)return "";let _=b.split("#")[0];return _.length>1&&_.charAt(_.length-1)==="/"&&(_=_.substring(0,_.length-1)),_}function v(b){let _=(b.getAttribute("aria-label")||"").trim();return _||(b.textContent||"").trim().replace(/\s+/g," ")}function y(b){return !!b.closest('nav, [role="navigation"], [role="menubar"], [class*=breadcrumb], [aria-label*="breadcrumb" i]')}let w={},E=document.querySelectorAll("a[href]");for(let b=0;b<E.length;b++){let _=E[b];if(_.closest(u)||_.getAttribute("aria-hidden")==="true"||!isVisible(_))continue;let D=_.getAttribute("href")||"";if(!D)continue;let T=D.toLowerCase();if(T.charAt(0)==="#"||T.indexOf("javascript:")===0||T.indexOf("mailto:")===0||T.indexOf("tel:")===0)continue;let I=_.href||D,B=m(I);if(!B||y(_))continue;let F=(_.textContent||"").trim(),$=!!_.querySelector("img, svg, picture");if(!F&&$)continue;let M=v(_);if(!M)continue;let H=M.toLowerCase();H===T||H===I.toLowerCase()||(w[B]||(w[B]=[]),w[B].push(_));}let C=Object.keys(w),x={};for(let b=0;b<C.length;b++){let _={};for(let D of w[C[b]]||[])_[v(D).toLowerCase()]=true;for(let D of Object.keys(_))x[D]=(x[D]||0)+1;}for(let b=0;b<C.length&&!(p.length>=30);b++){let _=w[C[b]];if(!_||_.length<2)continue;let D={},T="";for(let $=0;$<_.length;$++){let M=v(_[$]),H=M.toLowerCase();D[H]=true,M.length>T.length&&(T=M);}if(Object.keys(D).length<2)continue;let B=T.toLowerCase().trim();if(B.length<5)continue;let F=false;for(let $=0;$<h.length;$++)if(B===h[$]){F=true;break}if(!F)for(let $=0;$<_.length&&!(p.length>=30);$++){let M=_[$],H=v(M);if(H.toLowerCase()===B)continue;let ee=uniqueSel(M);p.push({selector:ee,attribute:"aria-label",currentValue:(M.getAttribute("aria-label")||"").trim(),message:'link consistency: link text "'+H.slice(0,80)+'" and "'+T.slice(0,80)+'" lead to the same page',issueType:"link_consistency",wcag:"3.2.4",context:"Same href as "+_.length+' link(s) on this page with different text (e.g. "'+T.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",evidence:{href:C[b],namesForThisDestination:_.map(N=>v(N).slice(0,80)),destinationsUsingThisName:x[H.toLowerCase()]||1},outerHtml:M.outerHTML.slice(0,300)});}}return p},iv={name:"linkConsistency",cap:30,async detect(u){return u.evaluate(zP)}};});var GP,sv,lv=Fe(()=>{GP=()=>{let c=[],h=[".pdf",".doc",".docx",".xls",".xlsx",".zip",".csv",".ppt",".pptx",".txt",".rtf",".epub"],p="";try{p=window.location&&window.location.hostname||"";}catch{p="";}p=(p||"").toLowerCase();function m(T,I){if(!T||!I)return false;if(T===I||T.endsWith("."+I)||I.endsWith("."+T))return true;let B=F=>{let $=F.split(".");if($.length<=2)return F;let M=$[$.length-1],H=$[$.length-2],ee=["co","com","net","org","ac","gov","edu"],N=M.length===2&&ee.indexOf(H)>=0?3:2;return $.slice(-N).join(".")};return B(T)===B(I)}function v(T){return T.indexOf("www.")===0?T.slice(4):T}function y(T){if(!T)return "";let I=T.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(T,window.location.href).hostname||"").toLowerCase()}catch{return ""}}function w(T){if(!T)return "";let I=T,B=I.indexOf("?");B>=0&&(I=I.slice(0,B));let F=I.indexOf("#");F>=0&&(I=I.slice(0,F)),I=I.toLowerCase();for(let $=0;$<h.length;$++){let M=h[$];if(I.length>=M.length&&I.slice(I.length-M.length)===M)return M}return ""}function E(T){let I=[],B=(T.getAttribute("aria-label")||"").trim();B&&I.push(B);let F=(T.getAttribute("title")||"").trim();F&&I.push(F);let $=T.getAttribute("aria-labelledby");if($)try{let M=typeof __resolveIdRefs=="function"?__resolveIdRefs($):"";M&&I.push(M);}catch{}return I.push((T.textContent||"").trim()),I.join(" ").toLowerCase()}function C(T,I,B){let F="";try{typeof getAccessibleName=="function"&&(F=(getAccessibleName(T)||"").trim());}catch{}let $=(I||B||F||T.textContent||"").replace(/\s+/g," ").trim();return $||(T.getAttribute("href")||"").trim().replace(/^https?:\/\//i,"").replace(/\/+$/,"")}let x=(document.documentElement.getAttribute("lang")||"").trim();function b(T){return "current name: "+T.slice(0,200)+(x?" | page language: "+x:"")+" | keep the current name and add the notice, in the page language"}let _=document.querySelectorAll("a"),D=_.length;for(let T=0;T<D&&!(c.length>=50);T++){let I=_[T];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 B=I.getAttribute("href");if(B==null)continue;let F=String(B).trim();if(!F)continue;let $=F.toLowerCase(),M=E(I),H=(I.getAttribute("rel")||"").toLowerCase(),ee=uniqueSel(I),N=(I.getAttribute("target")||"").toLowerCase(),R=(I.outerHTML||"").slice(0,300);if(F==="#"||$.indexOf("javascript:")===0||F.charAt(0)==="#"&&F.length>1)continue;let S=w($);if(S){let W=I.hasAttribute&&I.hasAttribute("download"),Z=M.indexOf(S)>=0||new RegExp("\\b"+S.slice(1)+"\\b").test(M)||M.indexOf("download")>=0;if(!W&&!Z){let ne=C(I,(I.getAttribute("aria-label")||"").trim(),"");c.push({selector:ee,attribute:"aria-label",currentValue:(I.getAttribute("aria-label")||"").trim(),issueType:"download_link_warning",wcag:"3.2.5",context:"download link \u2014 file type "+S+" | href: "+F.slice(0,120)+" | "+b(ne),needsAI:true,outerHtml:R});continue}}let P=y(F),q=$.indexOf("http://")===0||$.indexOf("https://")===0||$.indexOf("//")===0,j=!!P&&!!p&&!m(v(P),v(p));if(N==="_blank"){let W=H.indexOf("noopener")>=0||H.indexOf("noreferrer")>=0,Z=M.indexOf("new window")>=0||M.indexOf("new tab")>=0||M.indexOf("opens in")>=0;if(!Z){let ne=(I.getAttribute("aria-label")||"").trim(),le="",fe=I.getAttribute("aria-labelledby")||"";if(!ne&&fe)try{typeof __resolveIdRefs=="function"&&(le=(__resolveIdRefs(fe)||"").trim());}catch{}let me=C(I,ne,le),oe=[];W||oe.push("missing rel=noopener"),Z||oe.push('missing "new window" hint'),oe.push("href: "+F.slice(0,120)),c.push({selector:ee,attribute:"aria-label",currentValue:(I.getAttribute("aria-label")||"").trim(),issueType:"new_window_link",wcag:"3.2.5",context:oe.join(" | ")+" | opens in a new window | "+b(me),needsAI:true,outerHtml:R});continue}}if(j&&q){let W=H.indexOf("external")>=0,Z=M.indexOf("external")>=0||M.indexOf("opens in")>=0||M.indexOf("new window")>=0||M.indexOf("new tab")>=0;if(!W&&!Z){let ne=(I.getAttribute("aria-label")||"").trim(),le="",fe=I.getAttribute("aria-labelledby")||"";if(!ne&&fe)try{typeof __resolveIdRefs=="function"&&(le=(__resolveIdRefs(fe)||"").trim());}catch{}let me=C(I,ne,le);c.push({selector:ee,attribute:"aria-label",currentValue:(I.getAttribute("aria-label")||"").trim(),issueType:"external_link_warning",wcag:"3.2.5",context:"external: "+P+" (page: "+p+") | href: "+F.slice(0,120)+" | "+b(me),needsAI:true,outerHtml:R});}}}return c},sv={name:"linkWarnings",cap:50,async detect(u){return u.evaluate(GP)}};});var WP,uv,cv=Fe(()=>{WP=()=>{let u="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=ae-exclude],[id*=ae_app],[id*=ae_],[class*=EquallyAI]",h=[],p=new Set,m=document.querySelectorAll('main, [role="main"]'),v=[];return m.forEach(y=>{let w=getComputedStyle(y);w.display!=="none"&&w.visibility!=="hidden"&&v.push(y);}),m.forEach(y=>{if(h.length>=10||y.closest(u)||y.getAttribute("aria-hidden")!=="true")return;let w=getComputedStyle(y);if(w.display==="none"||w.visibility==="hidden"||y.closest('[role="dialog"]')||y.closest('[role="alertdialog"]')||y.closest("dialog")||v.some(b=>b!==y&&b.getAttribute("aria-hidden")!=="true"))return;let C=y.parentElement;for(;C&&C!==document.body&&C!==document.documentElement;){if(C.getAttribute("aria-hidden")==="true")return;C=C.parentElement;}let x=uniqueSel(y);p.has(x)||(p.add(x),h.push({selector:x,attribute:"aria-hidden",currentValue:"true",issueType:"main_content_hidden",wcag:"4.1.2",context:JSON.stringify({tag:y.tagName.toLowerCase(),role:y.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:(y.outerHTML||"").slice(0,300)}));}),h},uv={name:"mainContentHidden",cap:10,async detect(u){return u.evaluate(WP)}};});var UP,dv,fv=Fe(()=>{UP=()=>{let c=[];function h(y){return !!(!y||isWidget(y)||(y.getAttribute("aria-hidden")||"").trim().toLowerCase()==="true")}function p(y){return (y.outerHTML||"").slice(0,300)}let m=document.querySelectorAll("video");for(let y of m){if(c.length>=10)break;let w=y;if(h(w))continue;let E=w.hasAttribute("controls"),C=w.hasAttribute("autoplay"),x=w.hasAttribute("muted"),b=C||!w.paused&&!w.ended,_=typeof isVisible=="function"?isVisible(w):true;if(!E&&b&&_&&(c.push({selector:uniqueSel(w),attribute:"controls",currentValue:"",issueType:"missing_media_controls",wcag:"2.2.2",context:"video element missing player controls",needsAI:false,fixValue:"",outerHtml:p(w)}),c.length>=10))break;C&&!x&&c.push({selector:uniqueSel(w),attribute:"muted",currentValue:"",issueType:"unsafe_autoplay",wcag:"1.4.2",context:"video autoplays with sound \u2014 add muted",needsAI:false,fixValue:"",outerHtml:p(w)});}let v=document.querySelectorAll("audio");for(let y of v){if(c.length>=10)break;let w=y;if(h(w))continue;let E=w.hasAttribute("controls"),C=w.hasAttribute("autoplay"),x=C||!w.paused&&!w.ended;if(!E&&x&&(c.push({selector:uniqueSel(w),attribute:"controls",currentValue:"",issueType:"missing_media_controls",wcag:"2.2.2",context:"audio element missing player controls",needsAI:false,fixValue:"",outerHtml:p(w)}),c.length>=10))break;C&&c.push({selector:uniqueSel(w),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:p(w)});}return c},dv={name:"mediaControls",cap:10,async detect(u){return u.evaluate(UP)}};});var XP,pv,mv=Fe(()=>{XP=()=>{let u="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",h=[],p=[],m=/^(image|photo|img|picture|pic|untitled|banner|hero|\d{1,2})$/i,v=/^(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,y=/pixel|track|beacon|doubleclick|facebook\.com\/tr\b/i,w=(b,_)=>{let D=b.getAttribute(_);if(D===null)return false;let T=parseFloat(D);return !isNaN(T)&&T<=1},E=document.querySelectorAll("img");for(let b of E){if(h.length>=50)break;if(b.closest(u)||b.closest("template, noscript, script"))continue;let _=b.getAttribute("src")||"",D=b.getAttribute("alt");if(_.startsWith("data:")||w(b,"width")||w(b,"height"))continue;let T=b.naturalWidth||0,I=b.naturalHeight||0;if(T>0&&I>0&&T<=3&&I<=3||b.getAttribute("role")==="presentation"||b.getAttribute("role")==="none"||b.getAttribute("aria-hidden")==="true")continue;let B=T||b.width,F=I||b.height,$=b.getBoundingClientRect(),M=!isVisible(b)||B<=2&&F<=2||$.width<=2&&$.height<=2||!!b.closest('[aria-hidden="true"]');if(M&&(D!==null||p.length>=50||y.test(_)))continue;let H=(b.getAttribute("aria-label")||"").trim(),ee=(b.getAttribute("aria-labelledby")||"").trim();if(H||ee)continue;if(D===null){let q=uniqueSel(b),j=getNearbyContext(b),W=[],Z=b.closest("figure");if(Z){let me=Z.querySelector("figcaption");me&&W.push("figcaption: "+(me.textContent||"").trim().slice(0,80));}j.nearbyHeading&&W.push("heading: "+j.nearbyHeading);let ne=b.closest("a");if(ne){let me=ne.getAttribute("href")||"",oe=(ne.textContent||"").trim().replace(/\s+/g," ");oe&&W.push("link text: "+oe.slice(0,60)),me&&W.push("link href: "+me.slice(0,80));}_&&W.push("src: "+_.slice(0,120)),W.push("parent: "+j.parentTag);let le=_;try{le=new URL(_,document.baseURI).href;}catch{}(M?p:h).push({selector:q,attribute:"alt",currentValue:"",issueType:"missing_alt",wcag:"1.1.1",context:W.join(" | "),needsAI:true,imageSrc:le,outerHtml:b.outerHTML.slice(0,300)});continue}let N=(D||"").trim();if(N==="")continue;let R=/\.(jpg|jpeg|png|gif|webp|svg|bmp|ico)$/i.test(N),S=m.test(N),P=v.test(N);if(R||S||P){let q=uniqueSel(b),j=getNearbyContext(b),W=[];j.nearbyHeading&&W.push("heading: "+j.nearbyHeading),_&&W.push("src: "+_.slice(0,120)),W.push("parent: "+j.parentTag);let Z=_;try{Z=new URL(_,document.baseURI).href;}catch{}h.push({selector:q,attribute:"alt",currentValue:N,issueType:"missing_alt",wcag:"1.1.1",context:W.join(" | "),needsAI:true,imageSrc:Z,outerHtml:b.outerHTML.slice(0,300)});}}let C=globalThis;for(let b of Array.from(document.querySelectorAll("object"))){if(h.length>=50)break;if(b.closest(u)||b.closest('[aria-hidden="true"]')||b.getAttribute("aria-hidden")==="true")continue;let _=(b.getAttribute("role")||"").trim().toLowerCase();if(_==="presentation"||_==="none"||!C.isVisible(b))continue;let D=b.getAttribute("data")||"",T=(b.getAttribute("type")||"").trim().toLowerCase(),I=T.startsWith("image/"),B=/\.(png|jpe?g|gif|webp|bmp|svg)(\?[^#]*)?(#.*)?$/i.test(D);if(!D||!(I||!T&&B)||(b.getAttribute("aria-label")||"").trim()||(b.getAttribute("title")||"").trim())continue;let F=(b.getAttribute("aria-labelledby")||"").trim();F&&F.split(/\s+/).some($=>(document.getElementById($)?.textContent||"").trim())||b.closest('a, button, [role="button"], [role="link"]')||h.push({selector:C.uniqueSel(b),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: "+D.slice(0,120),needsAI:false,outerHtml:b.outerHTML.slice(0,300)});}let x=Array.from(document.querySelectorAll("script:not([src])")).map(b=>b.textContent||"");for(let b of Array.from(document.querySelectorAll("canvas"))){if(h.length>=50)break;if(b.closest(u)||b.closest('[aria-hidden="true"]')||b.getAttribute("aria-hidden")==="true")continue;let _=(b.getAttribute("role")||"").trim().toLowerCase();if(_==="presentation"||_==="none"||!C.isVisible(b)||(b.getAttribute("aria-label")||"").trim()||(b.getAttribute("aria-labelledby")||"").trim()||(b.getAttribute("title")||"").trim()||(b.textContent||"").trim()||b.children.length||b.closest('a, button, label, figure, [role="img"], [role="button"], [role="link"], [aria-label], [aria-labelledby], [aria-describedby]'))continue;let D=b.getBoundingClientRect();if(D.width<=30||D.height<=30)continue;let T=b.getAttribute("id");if(!T)continue;let I=new RegExp("#"+T.replace(/[^\w-]/g,"")+`\\b|getElementById\\(\\s*['"]`+T.replace(/[^\w-]/g,"")+`['"]`);x.some(F=>I.test(F)&&/\b(fillText|strokeText)\s*\(/.test(F))&&h.push({selector:C.uniqueSel(b),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:b.outerHTML.slice(0,300)});}for(let b of p){if(h.length>=50)break;h.push(b);}return h},pv={name:"missingAlt",cap:50,async detect(u){return u.evaluate(XP)}};});var JP,hv,gv=Fe(()=>{JP=()=>{let u="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=EquallyAI],[id*=ae_],[class*=ae-exclude]",c='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"]',h=["onclick","data-action","ng-click","@click","v-on:click"],p=D=>{if(getComputedStyle(D).visibility==="hidden")return false;for(let T=D;T&&T.nodeType===1;T=T.parentElement)if(getComputedStyle(T).display==="none")return false;return true},m=D=>Array.prototype.some.call(D.querySelectorAll("a:not([href])"),T=>p(T)&&!isHiddenFromAT(T)&&h.some(I=>T.hasAttribute(I))),v=D=>Array.prototype.some.call(D.querySelectorAll(c),T=>p(T)&&!isHiddenFromAT(T)),w=[];return document.querySelectorAll("div[onclick], span[onclick]").forEach(D=>{if(w.length>=50||D.closest(u)||!isVisible(D)||isHiddenFromAT(D)||v(D)||m(D))return;let T=D.getAttribute("role");if(T==="button"||T==="link"||T==="tab"||T==="menuitem"||T==="checkbox"||T==="radio")return;let I=uniqueSel(D),B=D.outerHTML.slice(0,300);w.push({selector:I,attribute:"role",currentValue:T||"",issueType:"missing_button_role",wcag:"4.1.2",context:JSON.stringify({tag:D.tagName.toLowerCase(),hasOnclick:true,currentTabindex:D.getAttribute("tabindex")}),needsAI:false,fixValue:"button",outerHtml:B}),D.getAttribute("tabindex")===null&&w.push({selector:I,attribute:"tabindex",currentValue:"",issueType:"missing_button_role",wcag:"4.1.2",context:JSON.stringify({tag:D.tagName.toLowerCase(),supplementary:'tabindex needed alongside role="button"'}),needsAI:false,fixValue:"0",outerHtml:B});}),document.querySelectorAll("a:not([href])").forEach(D=>{if(w.length>=50||D.closest(u)||!isVisible(D)||isHiddenFromAT(D)||D.getAttribute("role"))return;let I=D.hasAttribute("onclick"),B=D.getAttribute("data-action")||D.getAttribute("ng-click")||D.getAttribute("@click")||D.getAttribute("v-on:click");if(!I&&!B||v(D))return;let F=uniqueSel(D),$=D.outerHTML.slice(0,300);w.push({selector:F,attribute:"role",currentValue:"",issueType:"missing_button_role",wcag:"4.1.2",context:JSON.stringify({tag:"a",href:D.getAttribute("href")||"",hasOnclick:I}),needsAI:false,fixValue:"button",outerHtml:$});}),document.querySelectorAll("nav, ol, ul").forEach(D=>{if(w.length>=50||D.closest(u)||!isVisible(D)||isHiddenFromAT(D))return;let T=(D.className&&typeof D.className=="string"?D.className:"").toLowerCase(),I=(D.getAttribute("id")||"").toLowerCase();if(!T.includes("breadcrumb")&&!T.includes("crumb")&&!I.includes("breadcrumb")&&!I.includes("crumb"))return;let B=D.querySelectorAll("a");if(B.length<2)return;let F=(D.getAttribute("aria-label")||"").toLowerCase(),$=D.getAttribute("role");if(F.includes("breadcrumb")||F.includes("crumb")||$==="navigation"&&F)return;let M=uniqueSel(D);w.push({selector:M,attribute:"aria-label",currentValue:F,issueType:"missing_semantic_role",wcag:"4.1.2",context:JSON.stringify({tag:D.tagName.toLowerCase(),reason:"breadcrumb navigation missing aria-label",linkCount:B.length,pageLang:(document.documentElement.getAttribute("lang")||"").trim(),links:Array.prototype.slice.call(B,0,6).map(H=>(H.textContent||"").trim().slice(0,40)),otherLandmarkLabels:Array.prototype.slice.call(document.querySelectorAll('nav[aria-label], [role="navigation"][aria-label], [role="region"][aria-label], aside[aria-label]'),0,8).filter(H=>H!==D).map(H=>(H.getAttribute("aria-label")||"").trim().slice(0,60))}),needsAI:true,outerHtml:D.outerHTML.slice(0,300)});}),document.querySelectorAll("form, section, div").forEach(D=>{if(w.length>=50||D.closest(u)||!isVisible(D)||isHiddenFromAT(D))return;let T=(D.className&&typeof D.className=="string"?D.className:"").toLowerCase(),I=(D.getAttribute("id")||"").toLowerCase();if(!T.includes("search")&&!I.includes("search")||!D.querySelector('input[type="search"], input[type="text"], input[name*="search"], input[placeholder*="earch"]'))return;let F=D.getAttribute("role");if(F==="search"||D.closest('[role="search"]')||D.querySelector('[role="search"]')||Array.prototype.some.call(D.querySelectorAll("form, section, div"),H=>{let ee=(H.className&&typeof H.className=="string"?H.className:"").toLowerCase(),N=(H.getAttribute("id")||"").toLowerCase();return !ee.includes("search")&&!N.includes("search")||H.getAttribute("role")==="search"?false:!!H.querySelector('input[type="search"], input[type="text"], input[name*="search"], input[placeholder*="earch"]')}))return;let M=uniqueSel(D);w.push({selector:M,attribute:"role",currentValue:F||"",issueType:"missing_semantic_role",wcag:"4.1.2",context:JSON.stringify({tag:D.tagName.toLowerCase(),reason:'search section missing role="search"'}),needsAI:false,fixValue:"search",outerHtml:D.outerHTML.slice(0,300)});}),document.querySelectorAll('[role="menu"], [role="menubar"]').forEach(D=>{if(D.closest(u))return;let T=D.getAttribute("role")||"menu",I=Array.from(D.querySelectorAll("a")).filter(F=>{if(!isVisible(F)||isHiddenFromAT(F))return false;let $=F.getAttribute("role");return $!=="menuitem"&&$!=="menuitemcheckbox"&&$!=="menuitemradio"});if(I.length===0)return;let B=uniqueSel(D);w.push({selector:B,attribute:"role",currentValue:T,issueType:"missing_semantic_role",wcag:"4.1.2",context:JSON.stringify({tag:D.tagName.toLowerCase(),reason:`${I.length} link(s) inside role="${T}" without menuitem roles`,sample:I.slice(0,3).map(F=>(F.textContent||"").trim().slice(0,40))}),message:`container role="${T}" 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:D.outerHTML.slice(0,300)});}),w},hv={name:"missingRoles",cap:50,async detect(u){return u.evaluate(JP)}};});var KP,vv,bv=Fe(()=>{KP=()=>{let u="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye]",h=[],p={main:'main, [role="main"]',navigation:'nav, [role="navigation"]',banner:'header, [role="banner"]',contentinfo:'footer, [role="contentinfo"]',complementary:'aside, [role="complementary"]',search:'[role="search"]'};for(let[m,v]of Object.entries(p))document.querySelectorAll(v).forEach(w=>{if(h.length>=30||w.closest(u)||typeof isVisible=="function"&&!isVisible(w))return;let E=w.parentElement,C=null;for(;E&&E!==document.body;){if(E.matches(v)){C=E;break}E=E.parentElement;}if((m==="banner"||m==="contentinfo")&&w.closest("article, section, aside, main, nav")||!C||w.getAttribute("aria-label")?.trim()||w.getAttribute("aria-labelledby")?.trim())return;let x=typeof uniqueSel=="function"?uniqueSel(w):"",b=typeof getNearbyContext=="function"?getNearbyContext(w):{nearbyHeading:""};h.push({selector:x,attribute:"role",currentValue:w.getAttribute("role")||w.tagName.toLowerCase(),issueType:"nested_landmark",wcag:"1.3.1",context:`nested-in: ${m} | tag: ${w.tagName.toLowerCase()} | heading: ${b.nearbyHeading||""}`,needsAI:false,fixValue:"generic",outerHtml:(w.outerHTML||"").slice(0,300)});});return h},vv={name:"nestedLandmarks",cap:30,async detect(u){return u.evaluate(KP)}};});var YP,yv,wv=Fe(()=>{YP=()=>{let c=[],h=N=>typeof parseCssColor=="function"?parseCssColor(N):null,p=(N,R,S)=>typeof relLuminance=="function"?relLuminance(N,R,S):0,v=(N,R)=>typeof contrastRatio=="function"?contrastRatio(N,R):1;function y(N){let S=[0,0,0],P=0,q=W=>{let Z=h(W||"");if(!Z)return;let ne=Math.max(0,Math.min(1,Z[3]));if(ne<=0)return;let le=ne*(1-P);S[0]+=Z[0]*le,S[1]+=Z[1]*le,S[2]+=Z[2]*le,P+=le;};for(let W=N.parentElement;W&&P<.999999999;W=W.parentElement)q(getComputedStyle(W).backgroundColor);let j=1-P;return [Math.round(Math.min(255,S[0]+255*j)),Math.round(Math.min(255,S[1]+255*j)),Math.round(Math.min(255,S[2]+255*j))]}function w(N,R,S){return "#"+[N,R,S].map(P=>{let q=Math.max(0,Math.min(255,Math.round(P))).toString(16);return q.length===1?"0"+q:q}).join("")}function E(N,R,S){let P=p(R[0],R[1],R[2])>.5;return C(N,R,S,P)||C(N,R,S,!P)}function C(N,R,S,P){let q=0,j=1,W=null;for(let Z=0;Z<20;Z++){let ne=(q+j)/2,le=P?[N[0]*(1-ne),N[1]*(1-ne),N[2]*(1-ne)]:[N[0]+(255-N[0])*ne,N[1]+(255-N[1])*ne,N[2]+(255-N[2])*ne],fe=[Math.round(le[0]),Math.round(le[1]),Math.round(le[2])];v(fe,R)>=S?(W=fe,j=ne):q=ne;}return W}let x=(N,R)=>{let S=Math.max(0,Math.min(1,N[3]));return [N[0]*S+R[0]*(1-S),N[1]*S+R[1]*(1-S),N[2]*S+R[2]*(1-S)]};function b(N,R){let S=N.boxShadow||"";if(!S||S==="none")return null;let P=[],q=0,j="";for(let Z of S)Z==="("&&q++,Z===")"&&q--,Z===","&&q===0?(P.push(j),j=""):j+=Z;j&&P.push(j);let W=null;for(let Z of P){let ne=Z.match(/rgba?\([^)]*\)/),le=ne?h(ne[0]):null;if(!le||le[3]<=0||(Z.replace(/rgba?\([^)]*\)/,"").replace("inset","").trim().split(/\s+/).map(L=>parseFloat(L)).filter(L=>Number.isFinite(L))[3]??0)<=0)continue;let oe=v(x(le,R),R);(W===null||oe>W)&&(W=oe);}return W}function _(N){let R=getComputedStyle(N),S=y(N),P=null,q=parseFloat(R.borderTopWidth||"0"),j=(R.borderTopStyle||"").toLowerCase(),W=h(R.borderTopColor||"");q>0&&j!=="none"&&j!=="hidden"&&W&&W[3]>0&&(P=v(x(W,S),S));let Z=h(R.backgroundColor||"");if(Z&&Z[3]>0){let le=v(x(Z,S),S);(P===null||le>P)&&(P=le);}let ne=b(R,S);return ne!==null&&(P===null||ne>P)&&(P=ne),P}function D(N){let R=N.getBoundingClientRect();if(R.width*R.height<=0)return null;let S='input, select, textarea, button, [role="button"], svg, img, i, label',P=N.parentElement,q=null;for(let j=0;P&&j<3&&!(P===document.body||P===document.documentElement);j++,P=P.parentElement){let W=P.getBoundingClientRect();if(W.width*W.height>4*R.width*R.height+1||W.height>Math.max(2.5*R.height,R.height+40))break;let Z=false,ne=document.createTreeWalker(P,4),le=ne.nextNode();for(;le;){if((le.textContent||"").trim()&&le.parentElement&&!le.parentElement.closest(S)&&isVisible(le.parentElement)){Z=true;break}le=ne.nextNode();}if(Z)break;let fe=_(P);fe!==null&&fe>1.01&&(q===null||fe>q)&&(q=fe);}return q}let T=N=>/^(img|picture|video|canvas|object|embed|iframe)$/.test((N.tagName||"").toLowerCase())||(getComputedStyle(N).backgroundImage||"none")!=="none",I=(N,R)=>{let S=Math.min(N.right,R.right)-Math.max(N.left,R.left),P=Math.min(N.bottom,R.bottom)-Math.max(N.top,R.top);return S>0&&P>0&&S*P/(N.width*N.height)>=.5},B=null;function F(N){let R=N.getBoundingClientRect();if(R.width*R.height<=0)return false;let S=R.left+R.width/2,P=R.top+R.height/2;if(S>=0&&P>=0&&S<window.innerWidth&&P<window.innerHeight&&typeof document.elementsFromPoint=="function"){let j=document.elementsFromPoint(S,P),W=j.indexOf(N);if(W>=0){for(let Z of j.slice(W+1)){if(T(Z))return true;let ne=h(getComputedStyle(Z).backgroundColor||"");if(ne&&ne[3]>.5)return false}return false}}for(let j=N.parentElement,W=0;j&&W<8;j=j.parentElement,W++){let Z=getComputedStyle(j);if((Z.backgroundImage||"none")!=="none")return true;let ne=h(Z.backgroundColor||"");if(ne&&ne[3]>.5||j===document.documentElement)break}B||(B=Array.from(document.querySelectorAll("img, picture, video, canvas, object, embed, iframe")));for(let j of B)if(!(j===N||N.contains(j)||j.contains(N))&&I(R,j.getBoundingClientRect())&&isVisible(j))return true;let q=N.offsetParent||N.parentElement;if(q&&q!==document.body&&q!==document.documentElement){let j=q.getElementsByTagName("*");for(let W=0;W<j.length&&W<400;W++){let Z=j[W];if(!(Z===N||N.contains(Z)||Z.contains(N))&&I(R,Z.getBoundingClientRect())&&(getComputedStyle(Z).backgroundImage||"none")!=="none"&&isVisible(Z))return true}}return false}function $(N){for(let q=N.parentElement;q&&q.nodeType===1;q=q.parentElement)if(parseFloat(getComputedStyle(q).opacity||"1")<1)return false;let R=q=>{if(q.tagName.toLowerCase()!=="svg"){let Z=h(getComputedStyle(q).color||"");return Z&&Z[3]>0?[Z]:null}let j=[],W=Array.from(q.querySelectorAll("path, rect, circle, ellipse, polygon, polyline, line, text, use"));for(let Z of W){let ne=Z.getBoundingClientRect();if(ne.width===0&&ne.height===0)continue;let le=getComputedStyle(Z);if(le.display==="none"||le.visibility==="hidden"||parseFloat(le.opacity||"1")<1)return null;for(let[fe,me]of [[le.fill,le.fillOpacity],[le.stroke,parseFloat(le.strokeWidth||"0")>0?le.strokeOpacity:"0"]]){let oe=String(fe||"");if(!oe||oe==="none"||parseFloat(String(me??"1"))===0)continue;if(oe.startsWith("url"))return null;let L=h(oe);if(!L)return null;L[3]*=parseFloat(String(me??"1")),L[3]>0&&j.push(L);}}return j.length?j:null},S=[];for(let q=0;q<=255;q+=17)S.push(q);let P=Array.from(N.querySelectorAll('svg, i[class], [class*="icon"]'));for(let q of P){let j=q.getBoundingClientRect();if(j.width*j.height===0)continue;let W=getComputedStyle(q);if(W.display==="none"||W.visibility==="hidden")continue;let Z=R(q);if(!Z)continue;let ne=null,le=1,fe=true;for(let L=q;L;L=L===N?null:L.parentElement){let z=getComputedStyle(L),K=parseFloat(z.opacity||"1");if(!ne){let J=h(z.backgroundColor||""),Y=String(z.backgroundClip||"border-box").toLowerCase();if(!(String(z.backgroundImage||"none")==="none")){fe=false;break}if(J&&J[3]>=1&&Y==="border-box")ne=[J[0],J[1],J[2]];else if(K<1){fe=false;break}}ne&&(le*=K);}if(!ne||!fe)continue;let me=ne,oe=1/0;for(let L of Z){let z=x(L,me);for(let K of S)for(let J of S)for(let Y of S){let ie=[K,J,Y],be=x([z[0],z[1],z[2],le],ie),Pe=x([me[0],me[1],me[2],le],ie),Re=v(be,Pe);Re<oe&&(oe=Re);}}if(oe>=3)return true}return false}let M="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 H(N){let R=N.tagName.toLowerCase(),S=R==="input"||R==="select"||R==="textarea"?R+" field":R;c.push({selector:uniqueSel(N),message:"non-text contrast: "+S+" over an image backdrop \u2014 "+M,attribute:"style",currentValue:"?",issueType:"non_text_contrast_insufficient",wcag:"1.4.11",context:R+" backdrop=image needs=3",needsAI:false,needsReview:true,reviewReason:M,outerHtml:N.outerHTML.slice(0,200)});}let ee=document.querySelectorAll('input:not([type="hidden"]), select, textarea, button, [role="button"], [role="checkbox"], [role="radio"], [role="switch"]');for(let N of ee){if(c.length>=30)break;if(isWidget(N)||isHiddenFromAT(N)||!isVisible(N))continue;let R=getComputedStyle(N),S=y(N),P=h(R.backgroundColor||""),q=h(R.borderTopColor||""),j=parseFloat(R.borderTopWidth||"0"),W=(R.borderTopStyle||"").toLowerCase(),Z=j>0&&W!=="none"&&W!=="hidden",ne=N.tagName.toLowerCase(),le=ne==="input"||ne==="select"||ne==="textarea",fe=null;if(ne==="input"){let At=(N.type||"").toLowerCase(),_t=(R.appearance||R.webkitAppearance||"").toLowerCase();if(At==="checkbox"||At==="radio"){let kt=_t==="none"?"":String(R.accentColor||"").trim().toLowerCase(),Pt=kt&&kt!=="auto"?h(kt):null;if(Pt&&Pt[3]>.5)fe=v(x(Pt,S),S);else if(_t&&_t!=="none")continue}}let me=Z&&q&&q[3]>.5?v(x(q,S),S):null,oe=P&&P[3]>.5?v(x(P,S),S):fe,L=b(R,S),z=me===null&&oe===null&&L===null?null:Math.max(me??0,oe??0,L??0);if(le&&F(N)){H(N);continue}if(le&&(z===null||z<3)){let At=D(N);if(At!==null&&At>=3)continue}let K=null,J=false,Y="",ie=null;if(le)z!==null?(K=z,z<3&&(J=true)):(J=true,K=1);else {let At=false,_t=document.createTreeWalker(N,4),kt=_t.nextNode();for(;kt;){if((kt.textContent||"").trim()&&kt.parentElement&&isVisible(kt.parentElement)){At=true;break}kt=_t.nextNode();}if(At)continue;let Pt=F(N);{let Ae=["Top","Right","Bottom","Left"].map(it=>({w:parseFloat(R["border"+it+"Width"]||"0"),s:String(R["border"+it+"Style"]||"").toLowerCase(),c:h(R["border"+it+"Color"]||"")})),Ge=Ae.filter(it=>it.w>0&&it.s!=="none"&&it.s!=="hidden"&&it.c&&it.c[3]>.5),ct=Ae.filter(it=>it.w>0&&it.s!=="none"&&it.s!=="hidden"&&it.c&&it.c[3]===0),gt=true;for(let it=N.parentElement;it&&it.nodeType===1;it=it.parentElement)if(parseFloat(getComputedStyle(it).opacity||"1")<1){gt=false;break}let Dt=Math.max(0,Math.min(1,parseFloat(R.opacity||"1"))),bt=String(R.backgroundClip||"border-box").toLowerCase(),lt=!!P&&P[3]>=1&&Dt>=1&&bt==="border-box";if(Ge.length&&ct.length&&gt&&(!Pt||lt)){let it=P&&P[3]>0?x(P,S):S,Gr=x([it[0],it[1],it[2],Dt],S),Ut=_a=>{let Da=x(_a,it);return x([Da[0],Da[1],Da[2],Dt],S)};if(Ge.some(_a=>v(Ut(_a.c),Gr)>=3))continue}}if(Pt){if($(N))continue;H(N);continue}let We=Array.from(N.querySelectorAll('img, svg, picture, canvas, i[class], [class*="icon"]')),Mt=new Map,jn=Ae=>{let Ge=Ae.getBoundingClientRect();if(Ge.width*Ge.height===0)return "absent";let ct=parseFloat(getComputedStyle(N).opacity||"1");for(let gt=Ae;gt&&gt!==N;gt=gt.parentElement){let Dt=getComputedStyle(gt);if(Dt.display==="none")return "absent";if(Dt.visibility==="hidden"||parseFloat(Dt.opacity||"1")===0)return "hidden-at-rest";ct*=parseFloat(Dt.opacity||"1");}return Mt.set(Ae,ct),"painted"},dt=We.map(jn),Zt=We.filter((Ae,Ge)=>dt[Ge]==="painted"),zr=Zt.length>0,ye=!zr&&dt.includes("hidden-at-rest"),ue=Ae=>{let Ge=(Ae.tagName||"").toLowerCase();if(Ge==="img"||Ge==="picture"||Ge==="canvas"||Ge==="svg"&&Ae.querySelector("image, foreignObject, linearGradient, radialGradient, pattern"))return null;let ct=[];if(Ge==="svg"){let Dt=Ae.querySelector("path, circle, rect, polygon, polyline, line, ellipse, use, text");for(let bt of [Dt,Ae]){if(!bt)continue;let lt=getComputedStyle(bt),it=1;for(let Ut=bt;Ut&&Ut!==Ae;Ut=Ut.parentElement||Ut.parentNode)it*=parseFloat(getComputedStyle(Ut).opacity||"1");let Gr=Ut=>Number.isFinite(parseFloat(Ut))?parseFloat(Ut):1;if(lt.fill&&lt.fill!=="none"&&!lt.fill.startsWith("url")&&ct.push({color:lt.fill,alpha:it*Gr(lt.fillOpacity)}),lt.stroke&&lt.stroke!=="none"&&!lt.stroke.startsWith("url")&&parseFloat(lt.strokeWidth||"0")>0&&ct.push({color:lt.stroke,alpha:it*Gr(lt.strokeOpacity)}),ct.length)break}}else ((Ae.textContent||"").trim()||getComputedStyle(Ae,"::before").content!=="none")&&ct.push({color:getComputedStyle(Ae).color,alpha:1});let gt=null;for(let Dt of ct){let bt=h(Dt.color);if(!bt)continue;let lt=bt[3]*Dt.alpha*(Mt.get(Ae)??1),it=[bt[0]*lt+S[0]*(1-lt),bt[1]*lt+S[1]*(1-lt),bt[2]*lt+S[2]*(1-lt)],Gr=v(it,S);(gt===null||Gr>gt)&&(gt=Gr);}return gt};if(zr){let Ae=Zt.map(ue);if(Ae.some(Ge=>Ge!==null&&Ge>=3))continue;ie={glyphRatiosAgainstPage:Ae.map(Ge=>Ge===null?null:Math.round(Ge*100)/100),glyphOnOwnFillMeets3to1:$(N)};}let he=false,De=R.position;if((De==="absolute"||De==="fixed")&&N.parentElement){let Ae=N.getBoundingClientRect(),Ge=N.parentElement.getBoundingClientRect(),ct=Ge.width*Ge.height;ct>0&&Ae.width*Ae.height/ct>=.85&&(he=true);}if(zr||he||ye){if(J=true,K=Z&&q&&q[3]>.5?v(x(q,S),S):1,K>=3)continue;Y=zr?"control is identified by an image or icon \u2014 verify the graphic itself has 3:1 contrast against its surroundings":ye?"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 z!==null?(K=z,z<3&&(J=true)):(J=true,K=1);}if(!J)continue;let be=q&&q[3]>.5?[q[0],q[1],q[2]]:P&&P[3]>.5?[P[0],P[1],P[2]]:[128,128,128],Pe=E(be,S,3);if(!Pe)continue;let Re=w(Pe[0],Pe[1],Pe[2]),pe=w(S[0],S[1],S[2]),Be="border: 1px solid "+Re+" !important;",at=uniqueSel(N),ze=N.tagName.toLowerCase(),ft=z===null&&!Z?"invisible (no border, no fill: 1.00:1)":K?K.toFixed(2)+":1":"not measurable",It=ze==="input"||ze==="select"||ze==="textarea"?ze+" field":ze,Se=Y?"non-text contrast: "+It+" boundary is "+ft+" against "+pe+" (needs 3:1) \u2014 "+Y:"non-text contrast: "+It+" boundary (border and fill) is "+ft+" against "+pe+", needs 3:1 \u2014 e.g. border-color "+Re;c.push({selector:at,message:Se,attribute:"style",currentValue:K?K.toFixed(2):"?",issueType:"non_text_contrast_insufficient",wcag:"1.4.11",context:ze+" bg="+pe+" ratio="+(K?K.toFixed(2):"?")+" needs=3",needsAI:false,...Y?{needsReview:true,reviewReason:Y}:{fixValue:Be},...Y&&ie?{evidence:ie}:{},outerHtml:N.outerHTML.slice(0,200)});}return c},yv={name:"nonTextContrast",cap:30,async detect(u){return u.evaluate(YP)}};});var ZP,xv,Av=Fe(()=>{ZP=()=>{let u="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",h=[],p=/location\s*[=.]|location\s*\.\s*href|\.submit\s*\(|window\s*\.\s*open|history\s*\.\s*(push|replace)/i,m=document.querySelectorAll("[onfocus]");for(let v of Array.from(m)){if(h.length>=20)break;if(v.closest(u))continue;let y=v.getAttribute("onfocus")||"";if(!y||!p.test(y))continue;let w=typeof uniqueSel=="function"?uniqueSel(v):"",E=typeof getNearbyContext=="function"?getNearbyContext(v):{parentTag:v.tagName.toLowerCase(),nearbyHeading:""},C=[];C.push("tag: "+v.tagName.toLowerCase()),C.push("onfocus: "+y.slice(0,100)),E.nearbyHeading&&C.push("heading: "+E.nearbyHeading),C.push("parent: "+E.parentTag),h.push({selector:w,attribute:"onfocus",currentValue:y.slice(0,200),issueType:"onfocus_context_change",wcag:"3.2.1",context:C.join(" | "),needsAI:true,outerHtml:(v.outerHTML||"").slice(0,300)});}return h},xv={name:"onFocus",cap:20,async detect(u){return u.evaluate(ZP)}};});var QP,_v,Dv=Fe(()=>{QP=()=>{let u="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",c=[],h=['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"]'],p=false;for(let B of h){let F=document.querySelector(B);if(F&&!F.closest(u)){p=true;break}}if(!p){let B=document.querySelectorAll('a[href^="#"]');for(let F of B){if(F.closest(u))continue;let $=(F.textContent||"").toLowerCase();if($.includes("skip")&&($.includes("main")||$.includes("content")||$.includes("nav"))){p=true;break}}}if(!p){let B=document.querySelectorAll('button, input[type="button"], input[type="submit"]');for(let F of Array.from(B)){if(F.closest(u))continue;let $=(F.getAttribute("value")||F.textContent||"").trim().toLowerCase();if($.includes("skip")&&($.includes("main")||$.includes("content")||$.includes("nav"))){p=true;break}}}if(!p){let B=document.body?document.body.firstElementChild:null;if(B&&B.matches('main, [role="main"], div#main')){let F=getComputedStyle(B),$=B.getBoundingClientRect();F.display!=="none"&&F.visibility!=="hidden"&&!B.closest('[hidden], [aria-hidden="true"]')&&$.width>0&&$.height>0&&(p=true);}}if(!p){let B=Array.from(document.querySelectorAll('main, [role="main"], div#main'));for(let F of B){let $=getComputedStyle(F);if($.display==="none"||$.visibility==="hidden"||F.closest('[hidden], [aria-hidden="true"]'))continue;if(Array.from(F.querySelectorAll("h1, h2, h3, h4, h5, h6")).some(H=>{let ee=getComputedStyle(H);return ee.display!=="none"&&ee.visibility!=="hidden"&&!H.closest('[hidden], [aria-hidden="true"]')})){p=true;break}}}if(!p&&document.querySelector("nav")){let B=document.querySelectorAll("a, button");for(let F of Array.from(B)){if(F.closest(u))continue;let $=(F.textContent||"").trim().toLowerCase();if(($.includes("toggle")||$.includes("hide")||$.includes("collapse")||$.includes("show"))&&$.includes("content")){p=true;break}}}if(p||Array.from(document.querySelectorAll('main, [role="main"]')).filter(B=>{let F=getComputedStyle(B);if(F.display==="none"||F.visibility==="hidden"||B.closest('[hidden], [aria-hidden="true"]'))return false;let $=B.getBoundingClientRect();return $.width>0&&$.height>0}).length===1)return c;let v="",y=document.querySelector('main[id], [role="main"][id]');if(y&&y.getAttribute("id"))v=y.getAttribute("id");else {let B=document.querySelector("h1[id]");if(B&&B.getAttribute("id"))v=B.getAttribute("id");else {let F=["main-content","maincontent","main","content","skip-content"];for(let $ of F)if(document.getElementById($)){v=$;break}}}let w=v==="",E=v||"main-content",x="<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="#'+E+'" class="wa-skip-link">{TEXT}</a>',b=(document.documentElement.getAttribute("lang")||"").trim(),_=document.querySelector('main, [role="main"]'),D=_?(_.getAttribute("aria-label")||"").trim():"",T=document.querySelector("h1"),I=T?(T.textContent||"").trim().replace(/\s+/g," ").slice(0,80):"";return c.push({selector:"body",attribute:"prepend",currentValue:"",issueType:"skip_link",wcag:"2.4.1",context:(w?'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 #"+E)+(b?" | page language: "+b:"")+(D?" | main landmark label: "+D:"")+(I?" | page heading: "+I:"")+" | html template (replace {TEXT} with the link text, in the page language): "+x,needsAI:true,...w?{manualFix:true}:{}}),c},_v={name:"skipLink",async detect(u){return u.evaluate(QP)}};});var eL,Ev,Cv=Fe(()=>{eL=()=>{let h=[],p=document.querySelectorAll("*"),m=0;for(let v of Array.from(p)){if(m++>5e3||h.length>=20)break;if(v.closest("[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye]")||typeof isVisible=="function"&&!isVisible(v))continue;let w=getComputedStyle(v).backgroundImage||"";if(!w||w==="none"||!w.includes("url("))continue;let E=w.match(/url\((['"]?)(.*?)\1\)/);if(!E)continue;let C=E[2];if(!C||C.startsWith("data:")&&C.length<256)continue;let x=v.getBoundingClientRect();if(x.width<32||x.height<32)continue;let b=v.tagName.toLowerCase(),_=v.getAttribute("role")||"",D=b==="a"||b==="button"||_==="button"||_==="link"||v.closest("a,button,[role=button],[role=link]")!==null,T=(v.textContent||"").trim().length>0,I=!!v.getAttribute("aria-label"),B=!!v.getAttribute("aria-labelledby"),F=!!v.getAttribute("title"),$=!!v.querySelector('img[alt]:not([alt=""])');if(v.closest('[aria-hidden="true"]')){let R=v.closest("a[href]");if(!!R&&Array.from(document.querySelectorAll("a[href]")).some(P=>P!==R&&P.href===R.href&&!P.closest('[aria-hidden="true"]')))continue}if(I||B||F||$||T||!D)continue;let M=v.closest("a,button,[role=button],[role=link]");if(M&&M!==v){let R=(M.textContent||"").trim(),S=M.getAttribute("aria-label")||M.getAttribute("title")||"",P=M.getAttribute("aria-labelledby"),q=!!M.querySelector('img[alt]:not([alt=""])');if(R||S.trim()||P||q)continue}let H=C;try{H=new URL(C,location.href).toString();}catch{continue}let ee=typeof uniqueSel=="function"?uniqueSel(v):"",N=typeof getNearbyContext=="function"?getNearbyContext(v):{parentTag:b,nearbyHeading:""};h.push({selector:ee,attribute:"aria-label",currentValue:"",issueType:"background_image_unlabeled",wcag:"1.1.1",context:`bg: ${H.slice(0,140)} | tag: ${b} | role: ${_||"(none)"} | parent: ${N.parentTag}${N.nearbyHeading?" | heading: "+N.nearbyHeading:""}`,needsAI:true,imageSrc:H,outerHtml:(v.outerHTML||"").slice(0,300)});}return h},Ev={name:"backgroundImages",cap:20,async detect(u){return u.evaluate(eL)}};});var tL,kv,Sv=Fe(()=>{tL=()=>{let u="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye]",h=[];return document.querySelectorAll("svg").forEach(m=>{if(h.length>=50||m.closest(u)||!isVisible(m)||m.getAttribute("aria-hidden")==="true")return;let y=m.getAttribute("role");if(y==="presentation"||y==="none"||m.closest('[aria-hidden="true"]'))return;let w=m.getAttribute("aria-label")||"",E=m.getAttribute("aria-labelledby")||"",C=m.querySelector("title"),x=C?(C.textContent||"").trim():"";if(w.trim()||E.trim()||x)return;let b=m.getBoundingClientRect(),_=b.width<=16&&b.height<=16;if(b.width<=4||b.height<=4||m.getAttribute("preserveAspectRatio")==="none")return;let D=m.closest('a, button, [role="button"], [role="link"], [onclick]');if(D){if(D.getAttribute("aria-label")?.trim()||D.getAttribute("aria-labelledby")?.trim())return;let S=getAccessibleName(D),P=D.cloneNode(true);P.querySelectorAll("svg").forEach(j=>j.remove());let q=(P.textContent||"").trim().replace(/\s+/g," ");if(S&&q.length>0)return}else {if(!/^(img|graphics-document|graphics-symbol)$/i.test((y||"").trim().split(/\s+/)[0])||_)return;let S=m.parentElement;if(S&&(S.textContent||"").trim().replace(/\s+/g," ").length>3)return}let T=uniqueSel(m),I=getNearbyContext(D||m),B=D&&D.getAttribute("href")||"",F=(D||m).outerHTML.slice(0,300),$=m.getAttribute("class")||"",M=m.getAttribute("data-icon")||"",H=D||m,ee=H&&H!==m&&H.getAttribute("class")||"",N=typeof lookupIconLabel=="function"?lookupIconLabel(String($),M,"")||lookupIconLabel(String(ee),"",""):null,R=D?uniqueSel(D):T;h.push({selector:R,attribute:"aria-label",currentValue:"",issueType:"svg_missing_name",wcag:"1.1.1",context:JSON.stringify({parentTag:(D||m).tagName?(D||m).tagName.toLowerCase():"svg",href:B,nearbyHeading:I.nearbyHeading,parentRole:I.parentRole,svgClasses:$,iconLib:N||void 0,suggestion:"Add aria-label to the parent interactive element or <title> inside SVG"}),needsAI:true,outerHtml:F});}),h},kv={name:"svgNames",cap:50,async detect(u){return u.evaluate(tL)}};});var rL,Tv,Rv=Fe(()=>{rL=()=>{let u={"line-height":1.5,"letter-spacing":.12,"word-spacing":.16},c=1e-9,h=Object.keys(u),p=30,m="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",v={px:1,pt:1.333333,pc:16,in:96,cm:37.795,mm:3.7795,q:.37795},y=N=>{let R=[];for(let S of N.split(";")){let P=S.match(/^\s*([-a-zA-Z]+)\s*:\s*(.*?)\s*$/);if(!P)continue;let q=P[1].toLowerCase();if(!h.includes(q))continue;let j=P[2],W=/!\s*important\s*$/i.test(j);j=j.replace(/!\s*important\s*$/i,"").trim(),j&&(q!=="line-height"&&/^[-+]?\d+(\.\d+)?$/.test(j)&&parseFloat(j)!==0||R.push({prop:q,value:j,important:W}));}return R},w=(N,R,S,P)=>{let q=R.trim().toLowerCase();if(/^normal$|^initial$/.test(q))return {kind:"narrow"};if(/^inherit$|^revert$|^unset$/.test(q))return {kind:"notBlocked"};if(q.startsWith("var(")||q.startsWith("calc(")||q.startsWith("env("))return {kind:"undetermined"};if(/^-?[\d.]+$/.test(q)){let le=parseFloat(q);return N==="line-height"?{kind:"ratio",factor:le}:{kind:"ratio",factor:0}}let j=q.endsWith("%")&&/\d/.test(q),W=j?q.slice(0,-1).trim().match(/^([\d.]+)$/):q.match(/^([\d.]+)(em|rem|vw|vh|px|pt|cm|mm|pc|in|q)$/);if(!W)return {kind:"undetermined"};let Z=parseFloat(W[1]);if(j||q.endsWith("em")){let le=P??S;return le&&S&&isFinite(le)&&isFinite(S)&&le>0&&S>0?j?{kind:"ratio",factor:Z/100*(le/S)}:{kind:"ratio",factor:Z*(le/S)}:j?{kind:"ratio",factor:Z/100}:{kind:"ratio",factor:Z}}let ne=q.match(/(rem|vw|vh|px|pt|cm|mm|pc|in|q)$/)?.[1];if(ne==="px"||ne&&v[ne]){let le=ne==="px"?Z:Z*(v[ne]||0);return S===null||!isFinite(S)||S<=0?{kind:"undetermined"}:{kind:"ratio",factor:le/S}}return {kind:"undetermined"}},E=(N,R,S)=>{let P=N;for(;P;){let q=R.get(P);if(q){let j=q.filter(W=>W.prop===S);if(j.length){let W=j.filter(ne=>ne.important);return {decl:W.length?W[W.length-1]:j[j.length-1],from:P}}}P=P.parentElement;}return null},C=N=>{let R=N;for(;R;){let S=R.style;if(S&&(S.display==="none"||S.visibility==="hidden")||S&&(S.position==="absolute"||S.position==="fixed")&&(x(S.top)||x(S.left)))return false;if(S&&(S.overflowX==="scroll"||S.overflowX==="auto")){for(let P=N;P!==R;P=P.parentElement)if(P.style&&b(P.style.width)>=900)return false}R=R.parentElement;}return true},x=N=>{if(!N)return false;let R=N.match(/^(-)([\d.]+)(px|em|rem|vh|vw)$/i);if(!R)return false;let S=parseFloat(R[2]),P=R[3].toLowerCase();return P==="px"?S>=100:P==="em"||P==="rem"?S>=4:S>=10},b=N=>{let R=N?N.match(/^([\d.]+)px$/):null;return R?parseFloat(R[1]):0},_=[],D=[],T=new Map,I=typeof getComputedStyle=="function"?getComputedStyle:null,B=N=>{try{let R=I?I(N).fontSize:"",S=R?R.match(/^([\d.]+)px$/):null;return S?parseFloat(S[1]):null}catch{return null}},F=new Map,$=Array.from(document.querySelectorAll('[style*="important" i]'));for(let N of $)N.closest(m)||F.set(N,y(N.getAttribute("style")||""));for(let N of document.querySelectorAll("body [style]"))N.closest(m)||F.has(N)||F.set(N,y(N.getAttribute("style")||""));let M=[],H=document.createTreeWalker(document.body,1),ee=H.currentNode;for(;ee;)Array.from(ee.childNodes).some(R=>R.nodeType===3&&/\S/.test(R.textContent||""))&&!ee.closest(m)&&M.push(ee),ee=H.nextNode();for(let N of M){if(_.length>=p)break;if(C(N))for(let R of h){let S=E(N,F,R);if(!S||!S.decl.important)continue;let P=B(N),q=S.from===N?P:B(S.from)??P,j=w(R,S.decl.value,P,q);if(!(j.kind==="undetermined"||j.kind==="narrow"||j.kind==="ratio"&&j.factor+c<u[R]))continue;let Z=T.get(S.from);Z||(Z=[],T.set(S.from,Z),D.push({from:S.from,props:Z})),Z.includes(R)||Z.push(R);}}for(let{from:N,props:R}of D){if(_.length>=p)break;let S=typeof uniqueSel=="function"?uniqueSel(N):"",P=typeof getNearbyContext=="function"?getNearbyContext(N):{parentTag:N.parentElement?.tagName.toLowerCase()||"",nearbyHeading:""},q=[];q.push("blocked: "+R.join(",")),q.push("tag: "+N.tagName.toLowerCase()),P.nearbyHeading&&q.push("heading: "+P.nearbyHeading),q.push("parent: "+P.parentTag),_.push({selector:S,attribute:"style",currentValue:(N.getAttribute("style")||"").slice(0,200),issueType:"text_spacing_blocked",wcag:"1.4.12",context:q.join(" | "),needsAI:true,outerHtml:(N.outerHTML||"").slice(0,300)});}return _},Tv={name:"textSpacing",cap:30,async detect(u){return u.evaluate(rL)}};});var nL,Fv,Iv=Fe(()=>{nL=()=>{let u="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",h=[],p=document.querySelectorAll('button, input[type="submit"], input[type="button"], input[type="reset"], [role="button"]');for(let m of p){if(h.length>=50)break;if(m.closest(u)||!isVisible(m))continue;let v=m,y=v.tagName==="INPUT"?(v.getAttribute("type")||"").toLowerCase():"";if(y==="submit"||y==="reset")continue;let w=(v.getAttribute("role")||"").trim().toLowerCase().split(/\s+/)[0];if((w==="none"||w==="presentation")&&v.disabled===true)continue;let E=(v.getAttribute("aria-label")||"").trim(),C=v.getAttribute("aria-labelledby"),x=(v.getAttribute("title")||"").trim(),b=(v.getAttribute("value")||"").trim(),_=(v.textContent||"").trim().replace(/\s+/g," "),D="";C&&(D=typeof __resolveIdRefs=="function"?__resolveIdRefs(C):"");let T=v.querySelector('img[alt]:not([alt=""])'),I=v.querySelector("svg title"),B=v.querySelector("svg[aria-label]");if(!!(E||D||x||b||_||T||I||B))continue;let $=uniqueSel(v),M=getNearbyContext(v),H=v.closest("form"),ee=H&&(H.getAttribute("id")||H.getAttribute("name"))||"",N=v.getAttribute("class")||"",R=v.querySelector('i, svg, span[class*="icon"]'),S=R&&R.getAttribute("class")||"",P=R&&R.getAttribute("data-icon")||"",q=R?(R.textContent||"").trim():"",j=typeof lookupIconLabel=="function"?lookupIconLabel(String(S),P,q):null,W=!j&&typeof lookupIconLabel=="function"?lookupIconLabel(String(N),"",""):null,Z=j||W,ne=[];for(let me of ["type","name","id"]){let oe=(v.getAttribute(me)||"").trim();oe&&ne.push(me+"="+oe.slice(0,40));}let le=[];if(H){let me=(H.getAttribute("action")||"").trim();if(me){let L=me;try{L=new URL(me,document.baseURI).pathname;}catch{}le.push("action: "+L.slice(0,80));}let oe=[];for(let L of H.querySelectorAll("input:not([type=hidden]):not([type=submit]):not([type=button]), textarea, select")){let z=(L.getAttribute("aria-label")||L.getAttribute("placeholder")||L.id&&Array.from(H.querySelectorAll("label[for]")).find(K=>K.getAttribute("for")===L.id)?.textContent||L.getAttribute("name")||"").trim().replace(/\s+/g," ");if(oe.push(z.slice(0,40)||L.getAttribute("type")||L.tagName.toLowerCase()),oe.length>=4)break}oe.length&&le.push("fields: "+oe.join(", "));}let fe=[];ee&&fe.push("form: "+ee),M.nearbyHeading&&fe.push("heading: "+M.nearbyHeading),S&&fe.push("icon: "+String(S).slice(0,80)),N&&fe.push("class: "+String(N).slice(0,80)),fe.push("parent: "+M.parentTag),ne.length&&fe.push("control: "+ne.join(" "));for(let me of le)fe.push("form "+me);Z&&fe.push("icon-hint (glyph name only, not the action): "+Z),h.push({selector:$,attribute:"aria-label",currentValue:"",issueType:"unlabeled_button",wcag:"4.1.2",context:fe.join(" | "),needsAI:true,outerHtml:v.outerHTML.slice(0,300)});}return h},Fv={name:"unlabeledButtons",cap:50,async detect(u){return u.evaluate(nL)}};});var aL,Mv,Pv=Fe(()=>{aL=()=>{let u=new Set(["more","info","click","click here","here","read more","learn more","see more","link","button","this"]),c=new Set(["submit","send","yes","no","next","prev","previous","back","view","details","continue","go","ok","open","close","apply","save"]),h={};function p(M){if(isWidget(M)||!isVisible(M))return;let H=getAccessibleName(M);if(!H)return;let ee=H.toLowerCase().trim();h[ee]=(h[ee]||0)+1;}document.querySelectorAll("a[href]").forEach(M=>p(M));let m=new Set(["fa","fas","far","fab","fal","fad","material-icons","material-symbols","bi","glyphicon"]),v=["fa-","bi-","icon-","icofont-","dashicons-","heroicon","feather-","lucide-","material-"];function y(M){let H=M.toLowerCase();return m.has(H)||v.some(ee=>H.startsWith(ee))}let w=/[\u4e00-\u9fff\u3040-\u30ff\uac00-\ud7af]/;function E(M,H){return w.test(M)?1:H}let C=50,x=[];function b(M){if((M.textContent||"").trim().replace(/\s+/g," ").length>0)return false;let ee=M.querySelectorAll("i, span, em");for(let N of ee)if((typeof N.className=="string"?N.className:"").split(/\s+/).some(y))return true;return false}function _(M){let H=M.className||"";return typeof H!="string"?false:H.split(/\s+/).some(y)}function D(M){if(x.length>=C||isWidget(M)||!isVisible(M))return;let H=getAccessibleName(M);if(!H)return;let ee=H.toLowerCase().trim(),N=false,R=H.length>=2&&/^[A-Z][A-Z0-9]+$/.test(H.trim()),S=/^[[(]?\d{1,4}[\])]?$/.test(H.trim());if(H.length<E(H,3)&&!R&&!S)N=true;else if(u.has(ee))N=true;else if(c.has(ee)&&(h[ee]||0)>=2){let Z=(M.getAttribute("aria-label")||"").trim().toLowerCase(),ne=!!M.getAttribute("aria-labelledby")||!!Z&&Z!==ee,le=M.querySelector&&M.querySelector('.sr-only, .visually-hidden, [class*="sr-only"], [class*="visually-hidden"], [class*="screen-reader"]'),fe=le?(le.textContent||"").trim().toLowerCase():"";!ne&&!(le&&fe!==ee)&&(N=true);}else (b(M)||_(M)&&H.length===0)&&(M.getAttribute("aria-label")||M.getAttribute("aria-labelledby")||M.querySelector&&M.querySelector('.sr-only, .visually-hidden, [class*="sr-only"], [class*="visually-hidden"]')||(N=true));if(!N)return;let P=getNearbyContext(M),q=uniqueSel(M),j=M.getAttribute("href")||"",W=M.outerHTML.slice(0,300);x.push({selector:q,attribute:"aria-label",currentValue:(M.getAttribute("aria-label")||"").trim(),message:"weak link name: "+(M.getAttribute("aria-label")||M.getAttribute("aria-labelledby")?`"${H}" is too generic for a control \u2014 add distinguishing context`:`text "${H}" is too generic for a control \u2014 add distinguishing context`),issueType:"weak_link_name",wcag:"2.4.4",needsReview:true,reviewReason:"WCAG 2.4.4 (AA) judges link purpose in context: the link text together with its sentence, paragraph, list item or table cell (nearbyText). A link whose text names its destination page or topic passes, even as one word in a menu. Fail only generic text (here, more, click here, read more) whose context still does not say where the link goes.",context:JSON.stringify({currentText:H,href:j,nearbyHeading:P.nearbyHeading,parentTag:P.parentTag,parentRole:P.parentRole,cardText:P.cardText||"",imgAlt:P.imgAlt||""}),needsAI:true,outerHtml:W});}document.querySelectorAll("a[href]").forEach(M=>D(M));let T=/^(iframe|embed|widget|frame|content|untitled)$/i;function I(M){return !!(!M||M.getAttribute("aria-hidden")==="true"||M.closest('[aria-hidden="true"]'))}function B(M,H,ee,N,R,S){if(x.length>=C)return;let P=uniqueSel(M),q=(M.outerHTML||"").slice(0,300);x.push({selector:P,attribute:H,currentValue:ee,issueType:N,wcag:R,context:JSON.stringify(S),needsAI:true,outerHtml:q});}let F=document.querySelectorAll("iframe");for(let M=0;M<F.length&&!(x.length>=C);M++){let H=F[M];if(!H||isWidget(H)||I(H))continue;let ee=getComputedStyle(H);if(H.getClientRects().length===0||ee.visibility==="hidden"||ee.visibility==="collapse"||(H.getAttribute("src")||"").trim().toLowerCase().indexOf("javascript:")===0)continue;let N=(H.getAttribute("title")||"").trim();if(!N)continue;let R=N.toLowerCase(),S=false;if((N.length<E(N,3)||T.test(R)||u.has(R))&&(S=true),!S)continue;let P=(H.getAttribute("src")||"").slice(0,120),q=getNearbyContext(H);B(H,"title",N,"weak_iframe_title","4.1.2",{currentTitle:N,src:P,nearbyHeading:q.nearbyHeading,parentTag:q.parentTag});}let $=document.querySelectorAll("svg");for(let M=0;M<$.length&&!(x.length>=C);M++){let H=$[M];if(!H||isWidget(H)||I(H)||H.getAttribute("role")==="presentation"||H.getAttribute("role")==="none"||!isVisible(H))continue;let ee=H.querySelector("title"),N=ee?(ee.textContent||"").trim():"",R=(H.getAttribute("aria-label")||"").trim(),S=R||N;if(!S)continue;let P=S.toLowerCase(),q=false;if((S.length<E(S,3)||u.has(P)||/^(icon|svg|image|graphic|logo)$/i.test(S))&&(q=true),!q)continue;let j=H.closest('a, button, [role="button"], [role="link"]'),W=getNearbyContext(H);B(H,R?"aria-label":"title",S,"weak_svg_name","1.1.1",{currentName:S,svgClasses:H.getAttribute("class")||"",parentTag:j?j.tagName.toLowerCase():W.parentTag,parentHref:j&&j.getAttribute("href")||"",nearbyHeading:W.nearbyHeading});}return x},Mv={name:"weakNames",cap:50,async detect(u){return u.evaluate(aL)}};});var iL,Lv,Ov=Fe(()=>{iL=()=>{let c=[],h=document.querySelector('meta[name="viewport"]');if(h){let m=(h.getAttribute("content")||"").trim(),v=m.toLowerCase(),y=false,w=[];(v.indexOf("user-scalable=no")>=0||v.indexOf("user-scalable=0")>=0)&&(y=true,w.push("user-scalable=no blocks pinch-zoom"));let E=["yes","no","device-width","device-height"],C=v.match(/user-scalable\s*=\s*([a-z][a-z-]*)/);C&&E.indexOf(C[1])<0&&(y=true,w.push("user-scalable="+C[1]+" (invalid, parsed as 0)"));let x=v.match(/maximum-scale\s*=\s*([a-z][a-z-]*)/);x&&E.indexOf(x[1])<0&&(y=true,w.push("maximum-scale="+x[1]+" (invalid, parsed as 0)"));let b=v.match(/maximum-scale\s*=\s*([\d.]+)/);b&&parseFloat(b[1])<2&&(y=true,w.push("maximum-scale="+b[1]+" (<2)")),y&&c.push({selector:'meta[name="viewport"]',attribute:"content",currentValue:m,issueType:"zoom_restriction",wcag:"1.4.4",context:"viewport blocks zoom: "+w.join(" | "),needsAI:false,fixValue:"width=device-width, initial-scale=1"});}let p=[{el:document.documentElement,selector:"html"},{el:document.body,selector:"body"}];for(let m=0;m<p.length&&!(c.length>=5);m++){let v=p[m];if(v.el)try{let w=(getComputedStyle(v.el).getPropertyValue("touch-action")||"").trim().toLowerCase();(w==="none"||w==="pinch-zoom")&&c.push({selector:v.selector,attribute:"style",currentValue:"touch-action: "+w,issueType:"zoom_restriction",wcag:"1.4.4",context:"CSS touch-action: "+w+" on <"+v.selector+"> prevents pinch-zoom",needsAI:!1,fixValue:"touch-action: manipulation !important;"});}catch{}}return c},Lv={name:"zoomUnlock",cap:5,async detect(u){return u.evaluate(iL)}};});var oL,Nv,qv=Fe(()=>{oL=()=>{let c=[],h=document.body?document.body.querySelectorAll("*"):[];for(let p=0;p<h.length&&c.length<10;p++){let m=h[p],v=m.tagName.toLowerCase();if(v==="script"||v==="style"||v==="svg"||v==="textarea"||v==="select")continue;let y="";for(let F=m.firstChild;F;F=F.nextSibling)F.nodeType===3&&(y+=F.nodeValue);if(!y.replace(/\s+/g,"").length)continue;let w=getComputedStyle(m);if(w.display==="none"||w.visibility==="hidden"||w.display==="contents")continue;let E=w.overflowX,C=w.overflowY,x=E==="hidden"||E==="clip",b=C==="hidden"||C==="clip";if(!x&&!b||m.closest('[aria-hidden="true"],[hidden],[inert]'))continue;let _=m.clientWidth,D=m.clientHeight;if(D<=1||_<=1)continue;let T=w.webkitLineClamp||w.getPropertyValue("-webkit-line-clamp");if(T&&T!=="none")continue;let I="";if(b&&m.scrollHeight>D+2?I="height "+D+"px < content "+m.scrollHeight+"px":x&&w.textOverflow!=="ellipsis"&&m.scrollWidth>_+2&&(I="width "+_+"px < content "+m.scrollWidth+"px"),!I){let F=parseFloat(w.fontSize);if(!(F>0))continue;let $=m.style.getPropertyValue("font-size"),M=m.style.getPropertyPriority("font-size");m.style.setProperty("font-size",F*2+"px","important");let H=m.clientHeight,ee=m.clientWidth;b&&H>1&&m.scrollHeight>H+2?I="at 200%: height "+H+"px < content "+m.scrollHeight+"px":x&&w.textOverflow!=="ellipsis"&&ee>1&&m.scrollWidth>ee+2&&(I="at 200%: width "+ee+"px < content "+m.scrollWidth+"px"),$?m.style.setProperty("font-size",$,M):m.style.removeProperty("font-size");}if(!I)continue;let B=typeof uniqueSel=="function"?uniqueSel(m):v;c.push({selector:B,attribute:"style",currentValue:(m.getAttribute("style")||"").slice(0,200),issueType:"resize_text_clipped",wcag:"1.4.4",context:"text clipped by overflow:hidden: "+I,needsAI:true,needsReview:true,reviewReason:"WCAG 1.4.4 Resize Text: this text is cut off by overflow:hidden ("+I+"). Violation when content or function is lost at 200% text size and no other mechanism shows it. Pass when the clipped part is decorative or repeated elsewhere, or the box grows or scrolls when text is resized.",outerHtml:(m.outerHTML||"").slice(0,300)});}return c},Nv={name:"textClip",cap:10,async detect(u){return u.evaluate(oL)}};});var sL,Bv,Hv=Fe(()=>{sL=()=>{let u=[],c=document.querySelectorAll('main *, [role="main"] *, body > div *'),h=new Set,p=Math.min(c.length,200);for(let m=0;m<p;m++){let v=c[m];if(h.has(v)||!v.offsetParent)continue;h.add(v);let y=getComputedStyle(v),w=parseInt(y.order||"0",10),E=y.position;if(w>=3){let C=v.getBoundingClientRect();if(C.width>0&&C.height>0){let x=(v.textContent?.trim().length||0)>10,b=!!v.querySelector("a, button, input, select, textarea");(x||b)&&u.push({selector:typeof uniqueSel=="function"?uniqueSel(v):v.tagName.toLowerCase(),attribute:"data-sequence-review",currentValue:`CSS order: ${w}`,issueType:"meaningful_sequence",wcag:"1.3.2",context:`Element uses CSS order:${w} \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(E==="absolute"){if(!!!v.querySelector("a, button, input, select, textarea"))continue;let x=v.parentElement;if(!x||x.children.length<=2)continue;let b=v.getBoundingClientRect(),_=x.getBoundingClientRect();(b.top<_.top-100||b.left<_.left-300)&&u.push({selector:typeof uniqueSel=="function"?uniqueSel(v):v.tagName.toLowerCase(),attribute:"data-sequence-review",currentValue:`position: ${E}, displaced ${Math.round(Math.abs(b.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 u},Bv={name:"meaningfulSequence",async detect(u){return u.evaluate(sL)}};});var Vv,$v=Fe(()=>{Vv={name:"sensoryCharacteristics",async detect(u){let{instructionalTexts:c,controlLabels:h,navCount:p,labelTexts:m}=await u.evaluate(()=>{let w=[],E=document.querySelectorAll('p, li, td, label, span, div, a, button, h1, h2, h3, h4, h5, h6, figcaption, [role="alert"], [role="status"]'),C=Math.min(E.length,300),x=[];document.querySelectorAll('button, a[href], [role="button"], input[type="button"], input[type="submit"]').forEach(T=>{let I=((T.textContent||"")+" "+(T.getAttribute("aria-label")||"")+" "+(T.getAttribute("value")||"")).trim().toLowerCase();I&&x.push(I);});let b=T=>!!T.offsetParent||getComputedStyle(T).position==="fixed",_=Array.from(document.querySelectorAll('nav, [role="navigation"]')).filter(b).length,D=[];document.querySelectorAll('h1, h2, h3, h4, h5, h6, nav, [role="navigation"], [role="menu"], [role="menubar"], [aria-label], summary, button, a, legend').forEach(T=>{if(!b(T))return;let I=((T.getAttribute("aria-label")||"")+" "+(T.tagName.match(/^(H\d|SUMMARY|BUTTON|A|LEGEND)$/)&&T.textContent||"")).trim().toLowerCase();I&&I.length<=60&&D.push(I);});for(let T=0;T<C;T++){let I=E[T];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 B=I.textContent?.trim()||"";B.length<15||B.length>300||/click|tap|press|select|choose|find|look|see|drag|scroll|hover|go to|navigate/i.test(B)&&w.push({text:B,selector:typeof uniqueSel=="function"?uniqueSel(I):I.tagName.toLowerCase()});}return {instructionalTexts:w.slice(0,20),controlLabels:x,navCount:_,labelTexts:D}});if(c.length===0)return [];let v=[],y=w=>{let E=(w.toLowerCase().match(/\b(navigation|menu)\b/)||[])[1];return E?p===1?true:m.some(C=>C.indexOf(E)!==-1):false};for(let{text:w,selector:E}of c){w.toLowerCase();let x=/\b(round|square|circular|triangular|arrow-shaped)\b.*\b(button|icon|element|thing)\b/i.test(w)&&!/\b(submit|cancel|close|menu|search|delete|edit|save|back|next|previous|home)\b/i.test(w),b=/\b(header|footer|sidebar menu|breadcrumb)\b/i.test(w)||y(w),_=/\b(on the|to the|in the)\s+(left|right|top|bottom|upper|lower|above|below|sidebar)\b/i.test(w)&&!b&&/\b(click|tap|press|select|find)\b/i.test(w),D=/\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(w)&&!/\b(submit|cancel|close|delete|save|success|error|warning|danger)\b/i.test(w),T=/\b(large|small|big|tiny|narrow|wide)\s+(button|link|icon|box|area)\b/i.test(w)&&/\b(click|tap|press|select|find)\b/i.test(w),I=/\b(?:labell?ed|called|named|titled)\s+["'“‘]/i.test(w),B=(w.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],F=!!B&&h.some($=>$.indexOf(B.toLowerCase())!==-1);if(!(I||F)&&(x||_||D||T)){let $=x?"shape":_?"position":D?"color":"size";v.push({selector:E,attribute:"data-sensory-review",currentValue:w.slice(0,100),issueType:"sensory_characteristic",wcag:"1.3.3",context:`Instruction relies on ${$} alone: "${w.slice(0,80)}". Provide a non-sensory way to identify the referenced element (e.g., by name, label, or function).`,needsAI:true});}}return v}};});var jv,zv=Fe(()=>{jv={name:"reflow",async detect(u){let c=u;if(!c.setViewport)return [];let h=c.viewport?.()??{width:1280,height:720},p=h.width??1280,m=h.height??720;try{return await c.setViewport({width:320,height:m}),await new Promise(y=>setTimeout(y,500)),await u.evaluate(y=>{let w=[],E=document.querySelectorAll("body *"),C=Math.min(E.length,500);for(let x=0;x<C;x++){let b=E[x];if(!b.offsetParent)continue;let _=b.tagName.toLowerCase();if(_==="script"||_==="style"||_==="noscript")continue;let D=b.getBoundingClientRect();D.right>y+5&&D.width>y*1.1&&w.push({selector:typeof uniqueSel=="function"?uniqueSel(b):_,attribute:"style",currentValue:`${Math.round(D.width)}px wide at ${y}px viewport`,issueType:"reflow_overflow",wcag:"1.4.10",context:`Element is ${Math.round(D.width)}px wide and overflows the ${y}px viewport by ${Math.round(D.right-y)}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>y+10&&w.push({selector:"html",attribute:"data-reflow",currentValue:`scrollWidth ${document.documentElement.scrollWidth}px at ${y}px viewport`,issueType:"reflow_overflow",wcag:"1.4.10",context:`Page has horizontal scrollbar at ${y}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"}),w},320)}finally{await c.setViewport({width:p,height:m}).catch(()=>{});}}};});var lL,Gv,Wv=Fe(()=>{lL=()=>{let u=[],c=document.querySelectorAll("video");for(let p of c){if(p.autoplay&&!p.muted&&u.push({selector:typeof uniqueSel=="function"?uniqueSel(p):"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"}),!(p.offsetParent!==null&&getComputedStyle(p).display!=="none"))continue;let v=p.getBoundingClientRect();if(v.width===0&&v.height===0||p.error)continue;let y=/mute|unmute|sound|volume|audio|play|pause/i,w=!!p.parentElement?.querySelector('button, [role="button"]')||!!p.getAttribute("id")&&!!document.querySelector('[aria-controls~="'+(p.getAttribute("id")||"").replace(/"/g,"")+'"]');for(let D=p.parentElement?.parentElement||null,T=0;D&&!w&&T<3;D=D.parentElement,T++)w=Array.from(D.querySelectorAll('button, [role="button"]')).some(I=>y.test((I.getAttribute("aria-label")||"")+" "+(I.getAttribute("title")||"")+" "+(I.textContent||"")));if((p.muted||p.hasAttribute("muted"))&&(p.loop||p.hasAttribute("loop"))&&!p.hasAttribute("controls")&&!w)continue;let E=p.querySelectorAll("track"),C=Array.from(E).find(D=>D.kind==="captions"||D.kind==="subtitles"),x=Array.from(E).find(D=>D.kind==="descriptions");p.src||p.querySelector("source")?.src||"";let _=typeof uniqueSel=="function"?uniqueSel(p):"video";C||u.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. Page language: ${(document.documentElement.getAttribute("lang")||"").trim()||"not declared"}; the caption track's srclang and label follow the spoken language, which only the audio settles.`,needsAI:false,fixValue:'Add a <track kind="captions" src="captions.vtt" srclang="[spoken language]" label="[language name]" default> element',needsReview:true,reviewReason:"cannot verify an audio track in-page \u2014 confirm the video has speech content before adding captions (silent videos need none)"}),x||u.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 h=document.querySelectorAll("audio");for(let p of h){let m=typeof uniqueSel=="function"?uniqueSel(p):"audio";p.closest("figure, div, section")?.querySelector('a[href*="transcript"], [class*="transcript"]')||u.push({selector:m,attribute:"data-transcript-missing",currentValue:"",issueType:"missing_transcript",wcag:"1.2.1",context:"Audio element has no associated transcript. Provide a text transcript for all prerecorded audio-only content.",needsAI:true}),p.autoplay&&!p.muted&&u.push({selector:m,attribute:"muted",currentValue:"autoplay without muted",issueType:"unsafe_autoplay",wcag:"1.4.2",context:"Audio autoplays with sound. Provide a way to pause/stop/mute, or limit to 3 seconds.",needsAI:false,fixValue:"true"});}return u},Gv={name:"mediaAlternatives",cap:50,async detect(u){return (await u.evaluate(lL)).slice(0,50)}};});var uL,Uv,Xv=Fe(()=>{uL=()=>{let u=[],c=document.querySelector('meta[http-equiv="refresh"]');if(c){let N=c.getAttribute("content")||"",R=parseInt(N,10);!isNaN(R)&&R>0&&R<72e3&&u.push({selector:`meta[http-equiv="refresh"][content*="${N.trim().slice(0,20)}"]`,attribute:"data-auto-refresh",currentValue:N,issueType:"auto_refresh",wcag:"2.2.1",context:`Page auto-refreshes after ${R}s. Users must be able to turn off, adjust, or extend time limits (WCAG 2.2.1).`,needsAI:false,manualFix:true});}let h=document.querySelectorAll("[accesskey]");for(let N of h){let R=N.getAttribute("accesskey")||"";if(R.length===1){let S=typeof uniqueSel=="function"?uniqueSel(N):N.tagName.toLowerCase();u.push({selector:S,attribute:"accesskey",currentValue:R,issueType:"character_key_shortcut",wcag:"2.1.4",context:`Single character accesskey "${R}". 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 p=document.querySelectorAll("select");for(let N of p){let R=N.hasAttribute("onchange"),S=N.getAttribute("onchange")||"";if(R&&/submit|location|href|navigate|window\./i.test(S)){let P=typeof uniqueSel=="function"?uniqueSel(N):"select";u.push({selector:P,attribute:"onchange",currentValue:S.slice(0,80),issueType:"on_input_change",wcag:"3.2.2",context:"Select element changes context on input (navigates or submits). Add an explicit submit button instead of auto-submitting on selection change.",needsAI:false,fixValue:"Add a submit button; remove auto-navigation from onchange"});}}let m=document.querySelectorAll("[ontouchstart], [ontouchmove], [ongesturestart], [ongesturechange]");for(let N of m)if(!(N.hasAttribute("onclick")||N.hasAttribute("onkeydown")||N.hasAttribute("onkeyup"))){let S=typeof uniqueSel=="function"?uniqueSel(N):N.tagName.toLowerCase();u.push({selector:S,attribute:"data-pointer-gesture",currentValue:"touch/gesture handler without keyboard alternative",issueType:"pointer_gesture",wcag:"2.5.1",context:"Element has touch/gesture handler but no keyboard or click alternative. All multipoint/path-based gestures must have single-pointer alternatives.",needsAI:true});}let v=document.querySelectorAll("[onmousedown]");for(let N of v){let R=N.hasAttribute("onmouseup"),S=N.tagName.toLowerCase();if(!R&&S!=="a"&&S!=="button"&&S!=="input"){let P=typeof uniqueSel=="function"?uniqueSel(N):S;u.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 y=/devicemotion|deviceorientation|accelerometer|gyroscope/i,w=/addEventListener\(\s*['"](?:devicemotion|deviceorientation)['"]\s*,\s*(?:\(\s*\)\s*=>|function\s*\(\s*\))\s*\{\s*(?:[A-Za-z_$][\w$]*\s*(?:\+\+|--)\s*;?\s*)+\}\s*\)/gi,E=/addEventListener\(\s*['"](?:click|keydown|keyup|input|change|pointerup|touchend)['"]/i,C=/(?: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 x(){let N=document.querySelectorAll('label, button, [role="button"], [role="switch"], input[type="button"], input[type="checkbox"]');for(let R of Array.from(N)){let S=(R.textContent||"")+" "+(R.getAttribute("aria-label")||"")+" "+(R.getAttribute("value")||"");if(C.test(S))return true}return false}function b(N){return !y.test(N.replace(w,""))||E.test(N)?true:x()}let _=document.querySelectorAll("script:not([src]):not([data-wa-injected])");for(let N of _){let R=N.textContent||"";if(y.test(R)&&!b(R)){let S=[],P=N;for(;P&&P!==document.body&&P!==document.documentElement;){let W=P.parentElement,Z=P.tagName.toLowerCase(),ne=W?Array.from(W.children).filter(fe=>fe.tagName===P.tagName):[],le=ne.indexOf(P)+1;S.unshift(le>1||ne.length>1?Z+":nth-of-type("+le+")":Z),P=W;}let q=P===document.body?"body":P===document.documentElement?"html":"",j=(q?q+" > ":"")+S.join(" > ");u.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 D=document.querySelectorAll("form"),T='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,B=/card|payment/i,F=/\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(?:delete|remove|close|deactivate|cancel|terminate)\b[^.]{0,30}\b(?:account|profile|subscription|membership|data|records?)\b/i,M=/\b(?:e-?)?sign\b(?![\s\u00a0-]*(?:up|in|on|out)\b)|\bagree and (?:submit|continue|sign)\b/i,H=/\b(?:save|update|change)\b/i,ee=/e-?mail|name|phone|tel\b|zip|postal|company|organi[sz]ation|country/i;for(let N of D){let R=Array.from(N.querySelectorAll(T)),S=Re=>[Re.getAttribute("name"),Re.getAttribute("id"),Re.getAttribute("autocomplete"),Re.getAttribute("placeholder"),Re.getAttribute("aria-label")].join(" "),P=Array.from(N.querySelectorAll('button, input[type="submit"], input[type="image"]')).filter(Re=>Re.tagName!=="BUTTON"||!Re.getAttribute("type")||(Re.getAttribute("type")||"").toLowerCase()==="submit").map(Re=>(Re.getAttribute("value")||"")+" "+(Re.textContent||"")+" "+(Re.getAttribute("aria-label")||"")).join(" . "),q=R.some(Re=>I.test(S(Re)))||Array.from(N.querySelectorAll("iframe")).some(Re=>B.test((Re.getAttribute("title")||"")+" "+(Re.getAttribute("name")||""))),j=R.some(Re=>/signature/i.test(S(Re))),W=q||F.test(P),Z=$.test(P),ne=j||M.test(P),le=R.length>0&&R.some(Re=>(Re.getAttribute("type")||"").toLowerCase()==="email"||/e-?mail/i.test(S(Re)))&&R.every(Re=>{let pe=Re.tagName.toLowerCase()==="input"?(Re.getAttribute("type")||"text").toLowerCase():Re.tagName.toLowerCase();return pe==="email"||pe==="checkbox"||pe==="tel"?true:pe==="text"||pe==="search"?ee.test(S(Re)+" "+(Re.closest("label")?.textContent||"")):false}),fe=(N.textContent||"").toLowerCase(),me=/payment|credit card|billing|purchase|\border\b|checkout|bank|account number/i.test(fe),oe=/\bagree|terms|contract|binding|signature|consent|waiver/i.test(fe),L=/delete.*account|remove.*data|cancel.*account/i.test(fe),z=W||Z||ne,K=le&&(H.test(P)||L),J=!z&&(!le&&(me||oe||L)||K);if(!z&&!J)continue;let Y=!!N.querySelector('[type="checkbox"][required], [class*="confirm"], [id*="confirm"], [name*="confirm"]'),ie=!!N.querySelector('[class*="review"], [class*="summary"], [id*="review"]');if(Y||ie)continue;let be=typeof uniqueSel=="function"?uniqueSel(N):"form",Pe=z?W?"financial":Z?"data-deletion":"legal":K?L?"data-deletion":"data-modification":me?"financial":oe?"legal":"data-deletion";u.push({selector:be,attribute:"data-error-prevention",currentValue:Pe,issueType:"error_prevention_missing",wcag:"3.3.4",context:`${Pe.charAt(0).toUpperCase()+Pe.slice(1)} form lacks a confirmation/review step. For ${Pe} transactions, provide: (1) a review step before submission, (2) ability to check/correct input, or (3) ability to reverse the submission.`,needsAI:true,...J?{needsReview:true,reviewReason:K&&L?"form text is about deleting an account or data and its submit is generic \u2014 confirm whether submitting it deletes stored user data":K?"form saves contact/account details \u2014 confirm whether submitting it changes stored user data that cannot be reviewed or reversed":`form text mentions ${Pe} topics but its controls show no ${Pe} transaction (no payment fields, pay/order/delete submit, or signature) \u2014 confirm whether submitting it commits the user`}:{}});}return u},Uv={name:"timingAndInput",async detect(u){return u.evaluate(uL)}};});var cL,Jv,Kv=Fe(()=>{cL=()=>{let u=[],c=document.querySelectorAll('nav, [role="navigation"]');for(let m of c){if(!m.offsetParent||m.closest('footer, aside, [role="contentinfo"], [role="complementary"]')||m.parentElement?.closest('nav, [role="navigation"]'))continue;let v=m.getBoundingClientRect();if(v.top<=window.innerHeight)continue;let y=typeof uniqueSel=="function"?uniqueSel(m):"nav";u.push({selector:y,attribute:"data-nav-position",currentValue:`top: ${Math.round(v.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 h=document.querySelectorAll('[class*="blink" i], [class*="flash" i], [class*="strobe" i], blink, marquee');for(let m of h){if(!m.offsetParent)continue;let v=m.getBoundingClientRect();if(v.width<1||v.height<1||!(m.textContent||"").trim()&&!m.querySelector("img, svg, video, canvas, picture")&&getComputedStyle(m).backgroundImage==="none")continue;let y=typeof uniqueSel=="function"?uniqueSel(m):m.tagName.toLowerCase();u.push({selector:y,attribute:"data-flashing",currentValue:m.tagName.toLowerCase(),issueType:"flashing_content",wcag:"2.3.1",context:"Element may produce flashing content. Content must not flash more than 3 times per second. Remove blinking/flashing effects or ensure they are below the threshold.",needsAI:true});}let p=document.querySelectorAll('img[src*=".gif"]');for(let m of p){if(!m.offsetParent||m.width<25||m.height<25)continue;let v=m.getBoundingClientRect();if(v.width>100&&v.height>100){let y=typeof uniqueSel=="function"?uniqueSel(m):"img";u.push({selector:y,attribute:"data-animated-gif",currentValue:(m.src||"").split("/").pop()?.slice(0,40)||"",issueType:"animated_gif_no_pause",wcag:"2.2.2",context:"Animated GIF detected. If this GIF is animated and loops continuously, provide a pause mechanism. Also verify it does not flash more than 3 times per second (WCAG 2.3.1).",needsAI:true});}}return u},Jv={name:"navigationAndWayfinding",async detect(u){return u.evaluate(cL)}};});var Yv,Zv=Fe(()=>{Yv={name:"flashDetection",async detect(u){let c=[];if(!u.screenshot)return c;let p=await u.evaluate(()=>{let x=document.documentElement.style.getPropertyValue("--wa-animations-frozen")==="1";if(x){let b=document.querySelectorAll("*");for(let _ of b)_.style.removeProperty("animation-play-state"),_.style.removeProperty("transition");}return x}),m=8,v=120,y=9,w=3,E=[];for(let C=0;C<m;C++){let x=await u.evaluate(b=>{let _=window.innerWidth,D=window.innerHeight,T=3,I=3,B=[];for(let F=0;F<I;F++)for(let $=0;$<T;$++){let M=Math.floor(($+.5)*(_/T)),H=Math.floor((F+.5)*(D/I)),ee=document.elementFromPoint(M,H);if(!ee){B.push(0);continue}let R=getComputedStyle(ee).backgroundColor||"rgba(0,0,0,0)",S=typeof parseCssColor=="function"?parseCssColor(R):null;if(!S){B.push(0);continue}let P=.2126*S[0]+.7152*S[1]+.0722*S[2];B.push(P);}return B},y);E.push(x),C<m-1&&await new Promise(b=>setTimeout(b,v));}p&&await u.evaluate(()=>{let C=document.querySelectorAll("*");for(let x of C)x.style.setProperty("animation-play-state","paused","important"),x.style.setProperty("transition","none","important");});for(let C=0;C<y;C++){let x=0,b=E[0][C],_=null;for(let I=1;I<m;I++){let B=E[I][C];if(Math.abs(B-b)>25){let $=B>b?"up":"down";_&&$!==_&&x++,_=$;}b=B;}let D=m*v/1e3,T=x/D;if(T>=w){let I=C%3,B=Math.floor(C/3);c.push({selector:"body",attribute:"data-flash-detected",currentValue:`${T.toFixed(1)} flashes/sec in region (${I},${B})`,issueType:"flashing_content",wcag:"2.3.1",context:`Content flashes ${T.toFixed(1)} times/second in screen region (row ${B}, 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 c}};});var Qv,eb=Fe(()=>{Qv={name:"reducedMotion",async detect(u){let c=[],h=await u.evaluate(()=>{let p=false,m=false;for(let y of document.styleSheets)try{for(let w of y.cssRules){let E=w.cssText||"";/animation|transition|@keyframes/i.test(E)&&!/prefers-reduced-motion/.test(E)&&(p=!0),w instanceof CSSMediaRule&&/prefers-reduced-motion/i.test(w.conditionText||w.media?.mediaText||"")&&(m=!0);}}catch{}let v=document.querySelectorAll('[class*="animate"], [class*="slide"], [class*="fade"], [class*="bounce"], [class*="spin"], [class*="pulse"]');return v.length>0&&(p=true),{hasAnimations:p,hasReducedMotionQuery:m,animatedCount:v.length}});return h.hasAnimations&&!h.hasReducedMotionQuery&&c.push({selector:"html",attribute:"data-reduced-motion",currentValue:`${h.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; } }"}),c}};});var dL,tb,rb=Fe(()=>{dL=()=>{let u="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",h=[],p=/^(0+(\.0+)?|false|off|no|none|disabled?)$/i,m=R=>R!==null&&!p.test(R.trim()),v=R=>{let S=parseFloat((R||"").trim());return Number.isFinite(S)&&S>0},y=/^(carousel|slider|slideshow|slides|slick|swiper|splide|flickity|owl|flexslider|glide|layerslider|ls|rotator|gallery)$/i,w=R=>R.split(/[\s_-]+/).filter(Boolean),E=R=>{if((R.getAttribute("aria-roledescription")||"").trim().toLowerCase()==="carousel")return true;let S=typeof R.className=="string"?R.className:R.getAttribute("class")||"";return w(S).some(P=>y.test(P))},C=/^(autoplay|autoPlay|auto_play|autoStart|autostart|auto_start)$/,x=R=>{let S=R.trim();if(!S.startsWith("{"))return "";let P;try{P=JSON.parse(S);}catch{try{P=JSON.parse(S.replace(/'/g,'"'));}catch{return ""}}if(!P||typeof P!="object")return "";for(let q of Object.keys(P)){if(!C.test(q))continue;let j=P[q];if(j===true||typeof j=="number"&&j>0||typeof j=="string"&&m(j)&&j.trim()!==""||j&&typeof j=="object")return `${q}: ${JSON.stringify(j).slice(0,40)}`}return ""},b=R=>{for(let q of ["data-autoplay","data-auto","data-autostart","data-bs-autoplay","data-auto-play"]){if(!R.hasAttribute(q))continue;let j=R.getAttribute(q)||"";if((j.trim()===""||m(j))&&(E(R)||H(R)>=2))return {attr:q,value:j}}let S=["data-interval","data-bs-interval"].some(q=>R.hasAttribute(q)&&p.test((R.getAttribute(q)||"").trim()));for(let q of ["data-ride","data-bs-ride"])if((R.getAttribute(q)||"").trim().toLowerCase()==="carousel"&&!S)return {attr:q,value:"carousel"};for(let q of ["data-interval","data-bs-interval"]){let j=R.getAttribute(q);if(v(j)&&E(R))return {attr:q,value:j||""}}let P=E(R);for(let q of Array.from(R.attributes)){if(!q.name.startsWith("data-")||!P&&!w(q.name.slice(5)).some(W=>y.test(W)))continue;let j=x(q.value);if(j)return {attr:q.name,value:j}}if((R.getAttribute("aria-roledescription")||"").trim().toLowerCase()==="carousel"){let q=/autoplay["']?\s*[:=]\s*["']?(false|0|off|no)\b/i;for(let j of Array.from(R.attributes)){if(/(^|-)autoplay$/i.test(j.name)&&(j.value.trim()===""||m(j.value)))return {attr:j.name,value:j.value.slice(0,60)};if(/autoplay/i.test(j.value)&&!q.test(j.value))return {attr:j.name,value:j.value.slice(0,60)}}}return null},_=/^(pause|stop|play|playpause|resume)$/i,D=/\b(pause|stop|play|resume)\b/i,T=R=>{let S=[R.getAttribute("aria-label")||"",R.getAttribute("title")||"",R.getAttribute("value")||"",(R.textContent||"").trim().slice(0,80)],P=(R.getAttribute("aria-labelledby")||"").trim();if(P)for(let q of P.split(/\s+/))S.push(document.getElementById(q)?.textContent||"");for(let q of Array.from(R.querySelectorAll("img[alt]")))S.push(q.getAttribute("alt")||"");return S.join(" ")},I=R=>{let S=R.getAttribute("class")||"";return w(S).some(P=>_.test(P))?true:R.matches('a, button, input, [role="button"], [role="switch"], [role="checkbox"], [tabindex]')?D.test(T(R)):false},B=/^(section|article|main|nav|aside|header|footer|form|dialog)$/i,F=R=>E(R)||b(R)!==null||Array.from(R.querySelectorAll("*")).some(S=>E(S)||b(S)!==null),$=R=>{if(R.querySelector("[aria-pressed]"))return true;let S=[R];for(let j of Array.from(R.parentElement?.children||[]))j===R||B.test(j.tagName)||F(j)||S.push(j);let P=R.getAttribute("id"),q=j=>{let W=[...(j.getAttribute("aria-controls")||"").split(/\s+/),(j.getAttribute("data-bs-target")||j.getAttribute("data-target")||"").replace(/^#/,"")].filter(Boolean);return W.length>0&&!W.includes(P||"")};for(let j of S){if(j!==R&&I(j)&&!q(j))return true;for(let W of Array.from(j.querySelectorAll("*")))if(I(W)&&!q(W))return true}if(P){let j=typeof CSS<"u"&&CSS.escape?CSS.escape(P):P.replace(/["\\]/g,"\\$&");for(let W of Array.from(document.querySelectorAll(`[aria-controls~="${j}"], [data-target="#${j}"], [data-bs-target="#${j}"]`)))if(I(W))return true}return false},M=/^(slide|cell)$/i,H=R=>{let S=W=>w(W.getAttribute("class")||"").some(Z=>M.test(Z))&&!/(^|[\s_-])cloned?([\s_-]|$)/i.test(W.getAttribute("class")||""),P=Array.from(R.querySelectorAll("[class]")).filter(S),q=P.filter(W=>!P.some(Z=>Z!==W&&Z.contains(W)));if(!q.length)return 0;let j=q.length;for(let W of q){let Z=Array.from(W.parentElement?.children||[]).filter(ne=>ne.tagName===W.tagName&&!/(^|[\s_-])cloned?([\s_-]|$)/i.test(ne.getAttribute("class")||""));j=Math.max(j,Z.length);}return j},ee=new Set,N=(R,S)=>{if(h.length>=10||ee.has(R)||(ee.add(R),R.closest(u))||R.closest('[aria-hidden="true"], [hidden], template, noscript')||typeof isVisible=="function"&&!isVisible(R)||H(R)===1||$(R))return;let P=typeof uniqueSel=="function"?uniqueSel(R):R.tagName.toLowerCase();h.push({selector:P,attribute:S.attr,currentValue:S.value.slice(0,100),issueType:"carousel_autoplay_no_pause",wcag:"2.2.2",context:`slider markup declares autoplay (${S.attr}="${S.value.slice(0,60)}") and no pause / stop control sits in or beside it`,message:"carousel starts automatically and has no pause or stop control",needsAI:false,manualFix:true,reviewReason:"add a visible pause / stop control for the slider (or turn autoplay off); no attribute write fixes this",outerHtml:R.cloneNode(false).outerHTML.slice(0,300)});};for(let R of Array.from(document.body?document.body.querySelectorAll("*"):[])){if(h.length>=10)break;if(!R.attributes.length)continue;if(R.hasAttribute("data-swiper-autoplay")&&v(R.getAttribute("data-swiper-autoplay"))){let P=R.closest('.swiper, .swiper-container, [class*="swiper"]:not(.swiper-slide):not(.swiper-wrapper)')||R.parentElement?.parentElement||R;N(P,{attr:"data-swiper-autoplay",value:R.getAttribute("data-swiper-autoplay")||""});continue}let S=b(R);S&&N(R,S);}return h},tb={name:"carouselAutoplay",cap:10,async detect(u){return u.evaluate(dL)}};});var oc={};mr(oc,{applyPlatformTemplates:()=>hL,detectPlatform:()=>pL,isStructuralTemplate:()=>nb});function nb(u){return u.attribute==="role"?u.value!=="presentation"&&u.value!=="none":u.attribute==="aria-level"||u.attribute==="tabindex"}function fL(){if(pa)return pa;try{let u=globalThis.process,c=u?.getBuiltinModule?.("fs"),h=u?.getBuiltinModule?.("path");if(!c||!h)throw new Error("fs unavailable");let p=c.readFileSync(h.join(__dirname,"platformTemplates.json"),"utf-8"),m=JSON.parse(p);for(let v of Object.keys(m))m[v]=m[v].filter(nb);return pa=m,pa}catch{return pa={},pa}}async function pL(u){return u.evaluate(()=>{let c=[],h=document.implementation.createHTMLDocument("").importNode(document.documentElement,true);h.querySelectorAll("[data-wa-injected]").forEach(y=>y.remove());let p=h.outerHTML.slice(0,5e4).toLowerCase(),v=(document.querySelector('meta[name="generator"]')?.getAttribute("content")||"").toLowerCase();return (p.includes("shopify")||p.includes("cdn.shopify.com")||window.Shopify)&&c.push("shopify"),(v.includes("wordpress")||p.includes("wp-content")||p.includes("wp-includes"))&&c.push("wordpress"),(p.includes("civicplus")||p.includes("civicalerts")||p.includes("cpslider")||document.querySelector(".cpSlider, #breadCrumbs, .rcPrev, .rcNext"))&&c.push("civicplus"),(p.includes("finalsite")||document.querySelector(".fsHeader, .fsCalendar, .fsPanelGroup, #fsPoweredByFinalsite"))&&c.push("finalsite"),(p.includes("dealersocket")||p.includes("dealer.com")||document.querySelector(".ddc-tracking, .inventory-listing-default, .vlp-refine"))&&c.push("dealer"),(p.includes("wix.com")||p.includes("wixsite.com"))&&c.push("wix"),(p.includes("squarespace")||v.includes("squarespace"))&&c.push("squarespace"),(p.includes("webflow")||v.includes("webflow"))&&c.push("webflow"),c.push("universal"),c.push("universal_iframe"),c})}function mL(u){return /^[a-z][a-z0-9]*$/i.test(u.trim())}async function hL(u,c,h="scan"){let p=fL(),m=[];for(let y of c)p[y]&&m.push(...p[y].filter(w=>!mL(w.selector)));return m.length?h==="manifest"?m.map(y=>({selector:y.selector,attribute:y.attribute,currentValue:"",issueType:y.attribute==="alt"?"missing_alt":y.attribute==="aria-label"?"missing_label":"missing_semantic_role",wcag:y.attribute==="alt"?"1.1.1":"4.1.2",context:`platform:${y.platform} (template)`,needsAI:false,fixValue:y.value})):(await u.evaluate(y=>{let w=[];for(let E of y)try{let C=document.querySelectorAll(E.selector);if(C.length>0){let x=!1;for(let b of C){let _=b.getAttribute(E.attribute)||"";if(E.attribute==="role"&&_!==E.value?x=!0:E.attribute==="aria-level"&&!b.getAttribute("aria-level")&&(x=!(b.tagName==="H1"&&E.value!=="1"&&document.querySelectorAll("h1").length<2)),x)break}x&&w.push({selector:E.selector,attribute:E.attribute,value:E.value,platform:E.platform,matchCount:C.length});}}catch{}return w},m.map(y=>({selector:y.selector,attribute:y.attribute,value:y.value,platform:y.platform})))).map(y=>({selector:y.selector,attribute:y.attribute,currentValue:"",issueType:y.attribute==="alt"?"missing_alt":y.attribute==="aria-label"?"missing_label":"missing_semantic_role",wcag:y.attribute==="alt"?"1.1.1":"4.1.2",context:`platform:${y.platform} (${y.matchCount} elements)`,needsAI:false,fixValue:y.value})):[]}var pa,sc=Fe(()=>{pa=null;});var ab={};mr(ab,{ACCESSIBLE_NAME_JS:()=>bL,IS_HIDDEN_FROM_AT_JS:()=>wL,IS_TRACKING_PIXEL_JS:()=>xL,IS_VISIBLE_JS:()=>vL,NEARBY_CONTEXT_JS:()=>AL,UNIQUE_SELECTOR_JS:()=>gL,WIDGET_SKIP_JS:()=>yL});var gL,vL,bL,yL,wL,xL,AL,ib=Fe(()=>{gL=`
1
+ 'use strict';var lP=Object.create;var rc=Object.defineProperty;var uP=Object.getOwnPropertyDescriptor;var cP=Object.getOwnPropertyNames;var dP=Object.getPrototypeOf,fP=Object.prototype.hasOwnProperty;var Fe=(u,c)=>()=>(u&&(c=u(u=0)),c);var pP=(u,c)=>()=>(c||u((c={exports:{}}).exports,c),c.exports),mr=(u,c)=>{for(var h in c)rc(u,h,{get:c[h],enumerable:true});},mP=(u,c,h,p)=>{if(c&&typeof c=="object"||typeof c=="function")for(let m of cP(c))!fP.call(u,m)&&m!==h&&rc(u,m,{get:()=>c[m],enumerable:!(p=uP(c,m))||p.enumerable});return u};var ds=(u,c,h)=>(h=u!=null?lP(dP(u)):{},mP(rc(h,"default",{value:u,enumerable:true}),u));function f1(u,c){let h=u??"";if(h.trimStart().startsWith("{"))try{let p=JSON.parse(h);if(p&&typeof p=="object"&&!Array.isArray(p))return JSON.stringify({...p,platform:c})}catch{}return (h?h+" | ":"")+"platform: "+c}var p1=Fe(()=>{});var hP,m1,h1=Fe(()=>{hP=()=>{let u="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye]",h=[],p=new Set;function m(w){let E=(w.textContent||"").trim().replace(/\s+/g,""),C=w.querySelector("img, svg, picture")!==null,x=w.querySelector("i[class], span[class]")!==null;if(E.length>0&&!C&&!x)return false;if(C){let b=w.querySelectorAll("img"),_="";b.forEach(I=>{_+=(I.getAttribute("alt")||"").trim();});let D=E.replace(/\s+/g,""),T=_.replace(/\s+/g,"");return D===""||D===T}return false}function v(w){let E=w.nextElementSibling;for(;E;){if(isVisible(E))return E;E=E.nextElementSibling;}return null}return document.querySelectorAll("a[href]").forEach(w=>{if(h.length>=50||w.closest(u)||!isVisible(w)||p.has(w))return;let E=w.getAttribute("href");if(!E||E==="#")return;let C=v(w);if(!C||C.tagName!=="A"||C.getAttribute("href")!==E||p.has(C)||w.getAttribute("aria-hidden")==="true"||C.getAttribute("aria-hidden")==="true")return;let b=m(w),_=m(C);if(!b&&!_)return;let D=b?w:C,T=b?C:w;p.add(D),p.add(T);let I=uniqueSel(D),B=D.outerHTML.slice(0,300),R=(T.textContent||"").trim().slice(0,80);h.push({selector:I,attribute:"aria-hidden",currentValue:"",issueType:"adjacent_redundant_link",wcag:"2.4.4",context:JSON.stringify({href:E,imageLink:true,adjacentLinkText:R,suggestion:'Add aria-hidden="true" and tabindex="-1" to the image-only link'}),needsAI:false,fixValue:"true",outerHtml:B}),h.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:E}),needsAI:false,fixValue:"-1",outerHtml:B});}),h},m1={name:"adjacentLinks",cap:50,async detect(u){return u.evaluate(hP)}};});var gP,g1,v1=Fe(()=>{gP=()=>{let u="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=ae-exclude],[id*=ae_app],[id*=ae_],[class*=EquallyAI]",c='.slick-cloned,.slick-clone,.swiper-slide-duplicate,.owl-item.cloned,[data-slick-index^="-"],[data-swiper-slide-index]:not([data-swiper-slide-index=""])',h=["[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(","),p=new Set(["A","BUTTON","INPUT","SELECT","TEXTAREA"]),m=50,v=[],y=new Set;function w(x){let b=x,_=0;for(;b&&b.nodeType===1&&b!==document.body&&_<20;){try{let D=getComputedStyle(b);if(D.display==="none"||D.visibility==="hidden"||D.visibility==="collapse")return !0}catch{}b=b.parentElement,_++;}return false}function E(x){let b=x.tagName,_=x.getAttribute("tabindex");if(_!==null){let D=parseInt(_,10);if(!isNaN(D)&&D>=0)return true;if(!isNaN(D)&&D<0)return false}return p.has(b)?!(b==="A"&&!x.hasAttribute("href")||x.hasAttribute("disabled")):false}return document.querySelectorAll('[aria-hidden="true"]').forEach(x=>{if(v.length>=m||x.closest(u)||x.closest(c)||x.closest(h)||x.matches(h))return;let b=[];if(E(x)&&b.push(x),x.querySelectorAll("a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]").forEach(D=>{E(D)&&b.push(D);}),b.length!==0)for(let D of b){if(v.length>=m)return;let T=uniqueSel(D),I=T+"\0tabindex";if(y.has(I))continue;y.add(I);let B=w(D),R=!B;v.push({selector:T,attribute:"tabindex",currentValue:D.getAttribute("tabindex")||"",issueType:"aria_hidden_focusable",wcag:"4.1.2",context:JSON.stringify({tag:D.tagName.toLowerCase(),parentHidden:x.tagName.toLowerCase(),collapsed:B,suggestion:B?"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",...B?{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.'}:{},...R?{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:(D.outerHTML||"").slice(0,300)});}}),v},g1={name:"ariaHiddenFocusable",cap:50,async detect(u){return u.evaluate(gP)}};});var vP,b1,y1=Fe(()=>{vP=()=>{let u="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",h=[],p=new Set,m=[/\btoast\b/i,/\bsnackbar\b/i,/error[-_]message|error[-_]msg|form[-_]error|validation[-_]error/i,/success[-_]message|success[-_]msg/i,/alert[-_]message|alert[-_]banner/i,/flash[-_]message|flash[-_]notice/i,/cart[-_]count|cart[-_]badge|cart[-_]quantity/i,/loading[-_]spinner|loading[-_]indicator/i,/search[-_]results?[-_]count/i,/\blive[-_]region\b/i,/notification[-_](bar|area|container|popup|wrapper)/i,/status[-_]message/i];function v(y){if((y.textContent||"").trim())return false;if(typeof y.checkVisibility=="function")return y.checkVisibility({visibilityProperty:true});for(let w=y;w&&w.nodeType===1;w=w.parentElement)if(getComputedStyle(w).display==="none")return false;return getComputedStyle(y).visibility!=="hidden"}for(let y of m){if(h.length>=50)break;let w=document.querySelectorAll("*");for(let E of w){if(h.length>=50)break;if(p.has(E)||E.closest(u))continue;let C=E.className&&typeof E.className=="string"?E.className:"",x=E.getAttribute("id")||"";if(!y.test(C)&&!y.test(x)||E.getAttribute("aria-live"))continue;let b=E.getAttribute("role")||"";if(["alert","status","log","timer","marquee"].includes(b)||!v(E))continue;p.add(E);let _=uniqueSel(E),D=y.test(C)?"class":"id",T=D==="class"?C.slice(0,60):x;h.push({selector:_,attribute:"aria-live",currentValue:"",issueType:"aria_live",wcag:"4.1.3",context:D+": "+T+" | pattern: "+y.source,needsAI:false,fixValue:"polite"});}}return h},b1={name:"ariaLive",cap:50,async detect(u){return u.evaluate(vP)}};});var bP,w1,x1=Fe(()=>{bP=()=>{let u="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=ae-exclude],[id*=ae_app],[id*=ae_],[class*=EquallyAI]",h=[],p=new Set,m=["aria-labelledby","aria-describedby"];return document.querySelectorAll("[aria-labelledby],[aria-describedby]").forEach(w=>{if(!(h.length>=50)&&!w.closest(u)&&isVisible(w)&&!isHiddenFromAT(w)&&!w.getAttribute("aria-live")&&!w.closest("[aria-live]")&&!w.closest("template"))for(let E of m){let C=w.getAttribute(E);if(!C||!C.trim())continue;let x=C.trim().split(/\s+/).filter(M=>M.length>0);if(x.length===0||!x.every(M=>!document.getElementById(M)))continue;let _=w.getAttribute("aria-label");if(_&&_.trim())continue;let D=getAccessibleName(w);if(D&&D.trim())continue;let T=uniqueSel(w),I=T+"\0"+E;if(p.has(I))continue;p.add(I);let{nearbyHeading:B,parentTag:R,parentRole:$}=getNearbyContext(w);h.push({selector:T,attribute:"aria-label",currentValue:"",issueType:"broken_aria_reference",wcag:"4.1.2",context:JSON.stringify({tag:w.tagName.toLowerCase(),brokenAttr:E,brokenIds:x,nearbyHeading:B,parentTag:R,parentRole:$,suggestion:`All IDs in ${E}="${C}" are missing from the DOM. Element has no accessible name. Generate an aria-label.`}),needsAI:true,outerHtml:(w.outerHTML||"").slice(0,300)});}}),h},w1={name:"brokenAriaReferences",cap:50,async detect(u){return u.evaluate(bP)}};});var yP,A1,_1=Fe(()=>{yP=()=>{let c=[],h=["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"],p=document.querySelectorAll("button");for(let m of p){if(c.length>=50)break;let v=m;if(isWidget(v)||v.hasAttribute("type")||!v.closest("form"))continue;let y=(v.textContent||"").trim().slice(0,60),w=(v.getAttribute("aria-label")||"").trim().slice(0,60),E=y||w||"(no label)",C=E.toLowerCase();h.some(b=>C.includes(b))||c.push({selector:uniqueSel(v),attribute:"type",currentValue:"",issueType:"missing_button_type",wcag:"3.2.2",context:"button inside <form> missing type attribute \u2014 defaults to submit | label: "+E,needsAI:false,fixValue:"button",outerHtml:(v.outerHTML||"").slice(0,300)});}return c},A1={name:"buttonType",cap:50,async detect(u){return u.evaluate(yP)}};});var wP,D1,E1=Fe(()=>{wP=()=>{let c=[],h=document.querySelectorAll("video, audio");for(let p of Array.from(h)){if(c.length>=20)break;if(isWidget(p)||typeof isVisible=="function"&&!isVisible(p)||p.error)continue;let m=p.tagName==="VIDEO";if(m){let I=p.hasAttribute("muted")||p.muted,B=p.hasAttribute("controls"),R=p.hasAttribute("loop")||p.loop,$=/mute|unmute|sound|volume|audio|play|pause/i,M=!!p.parentElement?.querySelector('button, [role="button"]')||!!p.getAttribute("id")&&!!document.querySelector('[aria-controls~="'+(p.getAttribute("id")||"").replace(/"/g,"")+'"]');for(let H=p.parentElement?.parentElement||null,ee=0;H&&!M&&ee<3;H=H.parentElement,ee++)M=Array.from(H.querySelectorAll('button, [role="button"]')).some(N=>$.test((N.getAttribute("aria-label")||"")+" "+(N.getAttribute("title")||"")+" "+(N.textContent||"")));if(I&&R&&!B&&!M)continue}let v=p.querySelectorAll("track"),y=false;for(let I of Array.from(v)){let B=(I.getAttribute("kind")||"").toLowerCase();if(B==="captions"||B==="subtitles"){y=true;break}}if(y)continue;let w=p.currentSrc||p.getAttribute("src")||"";if(w||(w=p.querySelector("source")?.getAttribute("src")||""),!w)continue;let E=w.toLowerCase();if(E.startsWith("blob:")||E.startsWith("data:")||E.startsWith("about:")||E.startsWith("javascript:")||E.endsWith(".m3u8")||E.includes(".m3u8?")||E.endsWith(".mpd")||E.includes(".mpd?"))continue;let C=w;try{C=new URL(w,location.href).toString();}catch{continue}let x=typeof uniqueSel=="function"?uniqueSel(p):"",b=p.getAttribute("title")||p.getAttribute("aria-label")||"",_=typeof getNearbyContext=="function"?getNearbyContext(p):{parentTag:p.tagName.toLowerCase(),nearbyHeading:""},D=[];D.push("media: "+p.tagName.toLowerCase()),D.push("src: "+C.slice(0,200)),b&&D.push("title: "+b.slice(0,80)),_.nearbyHeading&&D.push("heading: "+_.nearbyHeading),D.push("parent: "+_.parentTag);let T=m;c.push({selector:x,attribute:"data-needs-captions",currentValue:"",issueType:"missing_captions",wcag:"1.2.2",context:D.join(" | "),needsAI:true,...T?{needsReview:true,reviewReason:"cannot verify an audio track in-page \u2014 confirm the video has speech content before transcribing (silent videos need no captions)"}:{},imageSrc:C,outerHtml:(p.outerHTML||"").slice(0,300)});}return c},D1={name:"captions",cap:20,async detect(u){return u.evaluate(wP)}};});var xP,C1,k1=Fe(()=>{xP=()=>{let u="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",h=[],p="p, li, blockquote, article, section, main, div",m=document.querySelectorAll("a[href]"),v=new Map;for(let y of Array.from(m)){if(h.length>=40)break;if(y.closest(u)||y.closest('nav, header, footer, aside, [role="navigation"], [role="banner"], [role="contentinfo"]')||typeof isVisible=="function"&&!isVisible(y))continue;let w=y.closest(p);if(!w)continue;let E=(y.textContent||"").trim();if(!E)continue;let C=v.get(w);if(C===void 0){C=0;let ee=document.createTreeWalker(w,NodeFilter.SHOW_TEXT),N;for(;N=ee.nextNode();){let F=N.parentElement;!F||F.closest("a")||F.closest(p)===w&&(typeof isVisible=="function"&&!isVisible(F)||(C+=(N.textContent||"").trim().length));}v.set(w,C);}if(C<20||y.querySelector("img, svg, [class*=icon], [class*=arrow]"))continue;let x=getComputedStyle(y),b=getComputedStyle(w);if((x.textDecorationLine||x.textDecoration||"").includes("underline")||(()=>{let ee=document.createTreeWalker(y,NodeFilter.SHOW_TEXT),N,F=false;for(;N=ee.nextNode();){if(!/[\p{L}\p{N}]/u.test(N.textContent||""))continue;F=true;let S=false;for(let P=N.parentElement;P&&P!==y;P=P.parentElement){let q=getComputedStyle(P),j=(q.textDecorationColor||"").replace(/\s/g,"");if((q.textDecorationLine||"").includes("underline")&&j!=="transparent"&&!/^rgba\([^)]*,0(?:\.0+)?\)$/.test(j)){S=true;break}let W=(q.borderBottomColor||"").replace(/\s/g,""),Z=W==="transparent"||/^rgba\([^)]*,0(?:\.0+)?\)$/.test(W);if((q.borderBottomStyle||"none")!=="none"&&parseFloat(q.borderBottomWidth||"0")>0&&!Z){S=true;break}}if(!S)return false}return F})())continue;let T=parseInt(x.fontWeight||"400",10),I=parseInt(b.fontWeight||"400",10);if(Number.isFinite(T)&&Number.isFinite(I)&&T-I>=300)continue;let B=Number.isFinite(T)&&Number.isFinite(I)&&T!==I;if((x.borderBottomStyle||"none")!=="none"&&(x.borderBottomWidth||"0px")!=="0px"||x.color===b.color)continue;let $=typeof uniqueSel=="function"?uniqueSel(y):"",M=typeof getNearbyContext=="function"?getNearbyContext(y):{parentTag:y.tagName.toLowerCase(),nearbyHeading:""},H=[];H.push("link: "+E.slice(0,40)),H.push("color: "+x.color),H.push("parent-color: "+b.color),M.nearbyHeading&&H.push("heading: "+M.nearbyHeading),H.push("parent: "+M.parentTag),h.push({selector:$,attribute:"style",currentValue:x.textDecoration||"",issueType:"color_only_link",wcag:"1.4.1",context:H.join(" | "),needsAI:false,fixValue:"text-decoration: underline !important;",...B?{needsReview:true,reviewReason:"the link differs from its text in font weight as well as colour; decide whether the weight change is a visible cue",evidence:{linkFontWeight:T,textFontWeight:I,linkColor:x.color,textColor:b.color,fontSize:x.fontSize}}:{},outerHtml:(y.outerHTML||"").slice(0,300)});}return h},C1={name:"colorOnly",cap:40,async detect(u){return u.evaluate(xP)}};});var AP,S1,T1=Fe(()=>{AP=()=>{let u=[],c=S=>typeof parseCssColor=="function"?parseCssColor(S):null,h=(S,P,q)=>typeof relLuminance=="function"?relLuminance(S,P,q):0,p=(S,P)=>typeof contrastRatio=="function"?contrastRatio(S,P):1;function m(S,P,q){let j=String(S.backgroundImage||"none");if(j==="none")return false;if(/gradient\(/i.test(j))return true;if(!/url\(/i.test(j))return false;let W=oe=>{let L=[],z=0,K="";for(let J of oe)J==="("&&z++,J===")"&&z--,J===","&&z===0?(L.push(K.trim()),K=""):K+=J;return L.push(K.trim()),L},Z=W(j),ne=W(String(S.backgroundRepeat||"")),le=W(String(S.backgroundSize||"auto")),fe=W(String(S.backgroundPosition||"0% 0%")),me=(oe,L)=>(oe.length?oe[L%oe.length]:"").toLowerCase();for(let oe=0;oe<Z.length;oe++){let L=/url\(\s*["']?(.*?)["']?\s*\)/i.exec(Z[oe]);if(!L)continue;let z=me(ne,oe).split(/\s+/).some(J=>J!==""&&J!=="no-repeat"),K=me(le,oe);if(z||/cover|contain|100%/.test(K))return true;if(!(!P||!q)&&v(P,S,L[1],K,me(fe,oe),q()))return true}return false}function v(S,P,q,j,W,Z){let ne=S.getBoundingClientRect(),le=_t=>parseFloat(_t||"0")||0,fe=String(P.backgroundOrigin||"padding-box").toLowerCase(),me=ne.left,oe=ne.top,L=ne.width,z=ne.height;fe!=="border-box"&&(me+=le(P.borderLeftWidth),oe+=le(P.borderTopWidth),L-=le(P.borderLeftWidth)+le(P.borderRightWidth),z-=le(P.borderTopWidth)+le(P.borderBottomWidth)),fe==="content-box"&&(me+=le(P.paddingLeft),oe+=le(P.paddingTop),L-=le(P.paddingLeft)+le(P.paddingRight),z-=le(P.paddingTop)+le(P.paddingBottom));let K=0,J=0;try{let _t=new Image;_t.src=q,_t.complete&&(K=_t.naturalWidth,J=_t.naturalHeight);}catch{}let Y=(_t,kt)=>/^-?[\d.]+px$/.test(_t)?parseFloat(_t):/^-?[\d.]+%$/.test(_t)?parseFloat(_t)/100*kt:null,ie=(j||"auto").split(/\s+/),be=ie[0]==="auto"?null:Y(ie[0],L),Pe=(ie[1]||"auto")==="auto"?null:Y(ie[1],z);if(ie[0]!=="auto"&&be===null||ie[1]&&ie[1]!=="auto"&&Pe===null)return true;let Re,pe;if(be!==null&&Pe!==null)Re=be,pe=Pe;else {if(!K||!J)return true;Re=be!==null?be:Pe!==null?Pe*K/J:K,pe=Pe!==null?Pe:be!==null?be*J/K:J;}let Be=(W||"0% 0%").split(/\s+/);if(Be.length!==2)return true;let at=/%$/.test(Be[0])?parseFloat(Be[0])/100*(L-Re):Y(Be[0],L),ze=/%$/.test(Be[1])?parseFloat(Be[1])/100*(z-pe):Y(Be[1],z);if(at===null||ze===null||!Number.isFinite(at)||!Number.isFinite(ze))return true;let ft=Math.max(me+at,ne.left),It=Math.max(oe+ze,ne.top),Se=Math.min(me+at+Re,ne.right),At=Math.min(oe+ze+pe,ne.bottom);return Math.min(Se,Z.right)>Math.max(ft,Z.left)&&Math.min(At,Z.bottom)>Math.max(It,Z.top)}let y=new Map;function w(S){let P=[],q=false;for(let j=S;j&&j.nodeType===1;j=j.parentElement){let W=y.get(j);if(W!==void 0){q=W;break}if(P.push(j),parseFloat(getComputedStyle(j).opacity||"1")<1){q=true;break}}for(let j of P)y.set(j,q);return q}let E=new Map;function C(S){let P=E.get(S);if(P)return P;P=[];let q=Array.from(S.children);for(let j=0;j<q.length;j++){let W=getComputedStyle(q[j]);W.position==="static"||W.display==="none"||W.visibility!=="visible"||parseFloat(W.opacity||"1")<=0||P.push({el:q[j],z:W.zIndex==="auto"?0:parseInt(W.zIndex,10)||0,i:j});}return E.set(S,P),P}function x(S){if(S===document.documentElement)return true;let P=getComputedStyle(S);return !!(P.position==="fixed"||P.position==="sticky"||P.zIndex!=="auto"&&P.position!=="static"||P.zIndex!=="auto"&&S.parentElement&&/flex|grid/.test(getComputedStyle(S.parentElement).display||"")||parseFloat(P.opacity||"1")<1||P.transform&&P.transform!=="none"||P.filter&&P.filter!=="none"||P.isolation==="isolate"||P.mixBlendMode&&P.mixBlendMode!=="normal"||/paint|strict|content/.test(P.contain||""))}function b(S,P,q,j){let W=C(S);if(!W.length||W.length===1&&W[0].el===P)return [];let Z=-1/0;for(let fe=q;fe&&fe!==S;fe=fe.parentElement){let me=getComputedStyle(fe);if(me.position==="static")continue;let oe=me.zIndex==="auto"?0:parseInt(me.zIndex,10)||0;oe>Z&&(Z=oe);}let ne=Array.prototype.indexOf.call(S.children,P),le=[];for(let fe of W){if(fe.el===P||!(fe.z<0?x(S):Z>fe.z||Z===fe.z&&fe.i<ne))continue;let oe=fe.el.getBoundingClientRect();oe.left>j.left+1||oe.top>j.top+1||oe.right<j.right-1||oe.bottom<j.bottom-1||le.push(fe);}return le.sort((fe,me)=>me.z-fe.z||me.i-fe.i),le.map(fe=>fe.el)}function _(S){try{let q=document.createRange(),j=null;for(let W of Array.from(S.childNodes)){if(W.nodeType!==3||!(W.textContent||"").trim())continue;q.selectNodeContents(W);let Z=q.getBoundingClientRect();Z.width<=0||Z.height<=0||(j=j?{left:Math.min(j.left,Z.left),top:Math.min(j.top,Z.top),right:Math.max(j.right,Z.right),bottom:Math.max(j.bottom,Z.bottom)}:{left:Z.left,top:Z.top,right:Z.right,bottom:Z.bottom});}if(j)return j}catch{}let P=S.getBoundingClientRect();return {left:P.left,top:P.top,right:P.right,bottom:P.bottom}}function D(S,P){let q=document.documentElement,j=null,W=[{acc:[0,0,0],cover:0},{acc:[0,0,0],cover:0},{acc:[0,0,0],cover:0}],Z=Math.max(0,Math.min(1,P[3]));W[0].acc=[P[0]*Z,P[1]*Z,P[2]*Z],W[0].cover=Z,W[2].cover=1;let ne=1,le=()=>W.some(J=>J.cover<1-1e-9),fe=(J,Y=1,ie)=>{if(!le())return true;let be=c(J.backgroundColor||""),Pe=m(J,ie,()=>j||(j=_(S)));for(let Re of W){if(Re.cover>=1-1e-9)continue;if(Pe)return false;if(!be)continue;let pe=Math.max(0,Math.min(1,be[3]))*Y;if(pe<=0)continue;let Be=pe*(1-Re.cover);Re.acc[0]+=be[0]*Be,Re.acc[1]+=be[1]*Be,Re.acc[2]+=be[2]*Be,Re.cover+=Be;}return true},me=J=>{let Y=Math.max(0,Math.min(1,parseFloat(J.opacity||"1")));if(!(Y>=1)){for(let ie of W)ie.acc=ie.acc.map(be=>be*Y),ie.cover*=Y;ne*=Y;}},oe=S,L=null;for(;oe&&oe!==q&&!(!le()&&!w(oe));){let J=getComputedStyle(oe);if(L&&C(oe).length){j||(j=_(S));for(let Y of b(oe,L,S,j)){let ie=getComputedStyle(Y);if(!fe(ie,Math.max(0,Math.min(1,parseFloat(ie.opacity||"1"))),Y))return null}}if(!fe(J,1,oe))return null;me(J),L=oe,oe=oe.parentElement;}if(oe===q){let J=getComputedStyle(q);if(!fe(J,1,q))return null;me(J);}for(let J of W){let Y=1-J.cover;Y>0&&(J.acc=J.acc.map(ie=>ie+255*Y),J.cover=1);}let z=J=>[Math.round(Math.min(255,J.acc[0])),Math.round(Math.min(255,J.acc[1])),Math.round(Math.min(255,J.acc[2]))],K=W[2].acc.map(J=>Math.min(255,J));return {fg:z(W[0]),bg:z(W[1]),k:ne,rest:K}}function T(S,P,q){return "#"+[S,P,q].map(j=>{let W=Math.max(0,Math.min(255,Math.round(j))).toString(16);return W.length===1?"0"+W:W}).join("")}let I=.1;function B(S,P,q,j=1,W=[0,0,0]){let Z=h(P[0],P[1],P[2])>.5;for(let ne of [q+I,q]){let le=R(S,P,ne,Z,j,W)||R(S,P,ne,!Z,j,W);if(le)return le}return null}function R(S,P,q,j,W,Z){let ne=0,le=1,fe=null;for(let me=0;me<20;me++){let oe=(ne+le)/2,L=j?[S[0]*(1-oe),S[1]*(1-oe),S[2]*(1-oe)]:[S[0]+(255-S[0])*oe,S[1]+(255-S[1])*oe,S[2]+(255-S[2])*oe],z=[Math.round(L[0]),Math.round(L[1]),Math.round(L[2])],K=[z[0]*W+Z[0],z[1]*W+Z[1],z[2]*W+Z[2]];p(K,P)>=q?(fe=z,le=oe):ne=oe;}return fe}let $=new Set(["application","button","checkbox","columnheader","combobox","grid","gridcell","group","link","listbox","menu","menubar","menuitem","menuitemcheckbox","menuitemradio","option","radio","radiogroup","row","rowheader","scrollbar","searchbox","separator","slider","spinbutton","switch","tab","tablist","textbox","toolbar","tree","treegrid","treeitem"]);function M(S){if(S.closest("button:disabled, input:disabled, select:disabled, textarea:disabled, optgroup:disabled, option:disabled"))return true;for(let q=S;q&&q.nodeType===1;q=q.parentElement){if(q.getAttribute("aria-disabled")!=="true")continue;let j=(q.getAttribute("role")||"").trim().toLowerCase().split(/\s+/)[0];if(j&&$.has(j))return true}let P=S.closest("label");if(P){let q=P.control;if(q&&(q.disabled||q.getAttribute("aria-disabled")==="true"))return true}return false}let H=document.createTreeWalker(document.body,4),ee=new Set,N=[],F=H.nextNode();for(;F;){let S=(F.textContent||"").trim();if(S.length>=2||/[\p{L}\p{N}]/u.test(S)){let P=F.parentElement;P&&!ee.has(P)&&(ee.add(P),N.push(P));}F=H.nextNode();}for(let S of N){if(isWidget(S)||isHiddenFromAT(S)||!isVisible(S)||M(S))continue;let P=getComputedStyle(S),q=c(P.webkitTextFillColor||P.color||"");if(!q)continue;if(q[3]<.5){let pe=P.webkitBackgroundClip||P.backgroundClip||"",Be=P.backgroundImage||"";if(String(pe).includes("text")&&/gradient\(/i.test(Be)){let at=Array.from(S.childNodes).filter(ze=>ze.nodeType===3).map(ze=>(ze.textContent||"").trim()).join("");at&&u.push({selector:uniqueSel(S),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(at.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:S.outerHTML.slice(0,200)});}continue}let j=parseFloat(P.fontSize||"16"),W=parseInt(P.fontWeight||"400",10),ne=j>=24||j>=18.66&&W>=700?3:4.5,le=Array.from(S.childNodes).filter(pe=>pe.nodeType===3).map(pe=>(pe.textContent||"").trim()).join("");if(!le||!hasRenderedText(S))continue;let fe=T(q[0],q[1],q[2]),me=uniqueSel(S),oe=D(S,q),L=oe?oe.bg:null;if(L===null){u.push({selector:me,attribute:"style",currentValue:fe,message:"contrast: text "+fe+" on a gradient or image background \u2014 the ratio cannot be computed from CSS; check it meets "+ne+":1 where the background is lightest/darkest",issueType:"contrast_insufficient",wcag:"1.4.3",context:"fg="+fe+" bg=<gradient-or-image> needs="+ne+" text="+JSON.stringify(le.slice(0,40)),needsAI:true,needsReview:true,reviewReason:"background uses gradient or image \u2014 contrast cannot be reliably computed",outerHtml:S.outerHTML.slice(0,200)});continue}let z=oe,K=p(z.fg,L);if(K>=ne)continue;let J=B([q[0],q[1],q[2]],L,ne,z.k,z.rest);if(!J)continue;let Y=T(J[0],J[1],J[2]),ie=T(L[0],L[1],L[2]),be=T(z.fg[0],z.fg[1],z.fg[2]),Pe=be===fe?"":" (shown as "+be+" after opacity/alpha)",Re="color:"+Y+" !important;";u.push({selector:me,attribute:"style",currentValue:fe,message:"contrast: "+fe+Pe+" on "+ie+" is "+K.toFixed(2)+":1, needs "+ne+":1 \u2014 e.g. color "+Y,issueType:"contrast_insufficient",wcag:"1.4.3",context:"fg="+be+" bg="+ie+" ratio="+K.toFixed(2)+" needs="+ne+" text="+JSON.stringify(le.slice(0,40)),needsAI:false,fixValue:Re,outerHtml:S.outerHTML.slice(0,200)});}return u},S1={name:"contrast",async detect(u){return u.evaluate(AP)}};});var _P,R1,F1=Fe(()=>{_P=()=>{let u="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye]",h=[],p=document.querySelectorAll("marquee, blink");for(let E of Array.from(p)){if(h.length>=30)break;if(E.closest(u))continue;let C=typeof uniqueSel=="function"?uniqueSel(E):E.tagName.toLowerCase();h.push({selector:C,attribute:"aria-hidden",currentValue:E.getAttribute("aria-hidden")||"",issueType:"motion_uncontrollable",wcag:"2.2.2",context:`deprecated ${E.tagName.toLowerCase()} element \u2014 uncontrollable motion`,needsAI:false,manualFix:true,fixValue:"true",outerHtml:(E.outerHTML||"").slice(0,300)});}let m=document.querySelectorAll('img[src*=".gif" i], img[src$=".gif" i]');for(let E of Array.from(m)){if(h.length>=30)break;if(E.closest(u))continue;let C=E.getAttribute("src")||"";if(!/\.gif(\?|#|$)/i.test(C)||typeof isVisible=="function"&&!isVisible(E))continue;let x=1;for(let D=E.parentElement;D;D=D.parentElement)x*=parseFloat(getComputedStyle(D).opacity||"1");let b=E.getBoundingClientRect();if(b.width<=40&&b.height<=40)continue;let _=typeof uniqueSel=="function"?uniqueSel(E):"img";h.push({selector:_,attribute:"data-asw-motion-review",currentValue:"",issueType:"animated_gif_no_pause",wcag:"2.2.2",context:`animated GIF without pause control: ${C.split("/").pop()?.slice(0,60)||C.slice(-60)}`,needsAI:true,...x<1?{needsReview:true,reviewReason:"an ancestor fades this GIF; decide whether it is seen moving on screen",evidence:{effectiveOpacity:Math.round(x*1e3)/1e3}}:{},outerHtml:(E.outerHTML||"").slice(0,300)});}let v=document.querySelectorAll('meta[http-equiv="refresh"], meta[http-equiv="Refresh"], meta[http-equiv="REFRESH"]');for(let E of Array.from(v)){if(h.length>=30)break;let C=(E.getAttribute("content")||"").trim(),x=parseInt((C.split(/[;,]/)[0]||"").trim(),10);!Number.isFinite(x)||x<=0||h.push({selector:`meta[http-equiv="refresh"][content*="${C.slice(0,20)}"]`,attribute:"data-auto-refresh",currentValue:C,issueType:"auto_refresh",wcag:"2.2.1",context:`auto-refresh every ${x}s \u2014 interrupts screen reader users mid-sentence (WCAG 2.2.1)`,needsAI:false,manualFix:true,outerHtml:(E.outerHTML||"").slice(0,200)});}try{let E=!1,C=!1;for(let x of Array.from(document.styleSheets)){let b=null;try{b=x.cssRules;}catch{continue}if(b)for(let _ of Array.from(b)){let D=_.cssText||"";if(/animation[^;]*\binfinite\b/i.test(D)&&/(keyframes|animation-name)/i.test(D+" "+(_.name||""))&&(E=!0),/prefers-reduced-motion[^{]*\(\s*reduce\s*\)/i.test(D)&&(C=!0),_.cssRules)for(let T of Array.from(_.cssRules)){let I=T.cssText||"";/animation[^;]*\binfinite\b/i.test(I)&&(E=!0);}}}E&&!C&&h.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 y=/\b(flash(ing)?|blink(ing)?|strobe)\b/i,w=document.querySelectorAll('[class*="flash" i], [class*="blink" i], [class*="strobe" i]');for(let E of Array.from(w)){if(h.length>=30)break;if(E.closest(u)||E.tagName==="BODY"||E.tagName==="HTML")continue;let C=E.className&&typeof E.className=="string"?E.className:"";if(!y.test(C)||typeof isVisible=="function"&&!isVisible(E))continue;let b=getComputedStyle(E).animationDuration,_=9999;if(b){let T=parseFloat(b);Number.isFinite(T)&&(_=/ms/i.test(b)?T:T*1e3);}if(_>333)continue;let D=typeof uniqueSel=="function"?uniqueSel(E):"";h.push({selector:D,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:(E.outerHTML||"").slice(0,300)});}return h},R1={name:"cssAnimations",cap:30,async detect(u){return u.evaluate(_P)}};});var DP,I1,M1=Fe(()=>{DP=()=>{let c=[];function h(y){let w=(y.getAttribute("role")||"").toLowerCase();return w==="presentation"||w==="none"||(y.getAttribute("class")||"").toLowerCase().indexOf("layout")!==-1}function p(y){if(!y)return 0;let w=y.querySelectorAll("th, td"),E=0;for(let C=0;C<w.length;C++){let x=parseInt(w[C].getAttribute("colspan")||"1",10);E+=isNaN(x)||x<1?1:x;}return E}function m(y){let w=y.querySelectorAll("tr"),E=[];for(let C=0;C<w.length;C++){let x=w[C];x.closest("table")===y&&E.push(x);}return E}let v=document.querySelectorAll("table");for(let y=0;y<v.length&&!(c.length>=30);y++){let w=v[y];if(isWidget(w)||!isVisible(w)||h(w))continue;let E=m(w);if(E.length<=1)continue;let C=E[0],x=p(C);if(x<=1)continue;let b=uniqueSel(w),_=getNearbyContext(w),D=w.querySelectorAll("img, svg, picture").length>=2;if(D&&!(w.textContent||"").trim()){if(w.querySelector("input, select, textarea, button")&&(D=false),D&&w.querySelector("th, thead, caption, [scope], [headers]")&&(D=false),D){let F=Array.from(w.querySelectorAll("img")).map(S=>(S.getAttribute("alt")||"").trim().toLowerCase()).filter(Boolean);new Set(F).size<F.length&&(D=false);}}else if(D){let F=w.querySelectorAll("td, th"),S=0;for(let P=0;P<F.length&&D;P++){let q=F[P];if(q.closest("table")!==w)continue;let j=(q.textContent||"").trim(),W=!!q.querySelector("img, svg, picture");if(!j&&!W)continue;S++;let Z=q.querySelectorAll("a[href]");D=q.tagName==="TD"&&Z.length===1&&W&&(Z[0].textContent||"").trim()===j;}S<2&&(D=false);}if(D){c.push({selector:b,attribute:"role",currentValue:w.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:E.length,cols:x,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:(w.outerHTML||"").slice(0,300)});continue}let T=null,I=w.querySelectorAll("thead");for(let F=0;F<I.length;F++)if(I[F].closest("table")===w){T=I[F];break}let B=T&&T.querySelector("tr")!==null,R=false;for(let F=0;F<E.length&&!R;F++){let S=E[F].children;for(let P=0;P<S.length&&!R;P++){let q=S[P],j=(q.tagName||"").toLowerCase();if(j!=="td"&&j!=="th")continue;if(j==="th"){R=true;break}let W=(q.getAttribute("headers")||"").trim();if(!W)continue;let Z=W.split(/\s+/);for(let ne=0;ne<Z.length;ne++){let le=document.getElementById(Z[ne]);if(le&&(le.tagName||"").toLowerCase()==="th"&&le.closest("table")===w){R=true;break}}}}if(!B&&!R&&c.length<30&&c.push({selector:b,attribute:"thead",currentValue:T?"empty":"",issueType:"missing_table_header",wcag:"1.3.1",context:JSON.stringify({reason:T?"<thead> has no <tr>":"no <thead> element",rows:E.length,cols:x,nearbyHeading:_.nearbyHeading}),needsAI:false,fixValue:"wrap-first-row",outerHtml:(w.outerHTML||"").slice(0,300)}),x>2){let F=C.querySelectorAll("th, td"),S=F.length>0;for(let P=0;P<F.length;P++)if((F[P].tagName||"").toLowerCase()!=="td"){S=false;break}if(S)for(let P=0;P<F.length&&!(c.length>=30);P++){let q=F[P],j=uniqueSel(q),W=(q.textContent||"").trim().slice(0,60);c.push({selector:j,attribute:"role",currentValue:q.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:W,colIndex:P,nearbyHeading:_.nearbyHeading}),needsAI:false,fixValue:"columnheader",outerHtml:(q.outerHTML||"").slice(0,300)});}}let $=[],M=[],H=new Map;for(let F=0;F<E.length;F++){let S=E[F],P=0;for(let q=0;q<S.children.length;q++){let j=S.children[q],W=(j.tagName||"").toLowerCase();if(W!=="td"&&W!=="th")continue;for(;$.some(fe=>fe.lane===P&&fe.untilRow>F);)P++;let Z=parseInt(j.getAttribute("colspan")||"1",10);(isNaN(Z)||Z<1)&&(Z=1);let ne={rowIdx:F,lane:P,span:Z,headers:(j.getAttribute("headers")||"").trim()};W==="td"?M.push(ne):H.set(j,ne);let le=parseInt(j.getAttribute("rowspan")||"1",10)||1;if(le>1)for(let fe=0;fe<Z;fe++)$.push({lane:P+fe,untilRow:F+le});P+=Z;}}let ee=(F,S)=>S.lane<F.lane+F.span&&S.lane+S.span>F.lane,N=w.querySelectorAll("th");for(let F=0;F<N.length&&!(c.length>=30);F++){let S=N[F];if(S.closest("table")!==w)continue;let P=(S.getAttribute("scope")||"").trim().toLowerCase();if(P==="col"||P==="row"||P==="colgroup"||P==="rowgroup")continue;let q=false;if((S.getAttribute("headers")||"").trim())q=true;else {let L=(S.getAttribute("id")||"").trim();if(L)for(let z=0;z<M.length;z++){let K=M[z].headers;if(K&&K.split(/\s+/).indexOf(L)!==-1){q=true;break}}}if(q)continue;let j=S.closest("tr"),W=S.closest("thead")!==null,Z=false;j&&E.length>0&&E[0]===j&&(Z=true);let ne=false;if(j){let L=j.querySelectorAll("th, td");L.length>0&&L[0]===S&&(ne=true);}let le="col";W||Z?le="col":ne&&(le="row");let fe=H.get(S);if(!q&&fe){if(le==="row")q=M.some(L=>L.rowIdx===fe.rowIdx&&!L.headers&&L.lane>=fe.lane+fe.span);else if(q=M.some(L=>L.rowIdx>fe.rowIdx&&!L.headers&&ee(fe,L)),!q)for(let L=0;L<N.length;L++){let z=H.get(N[L]);if(!z||z.rowIdx<=fe.rowIdx||!ee(fe,z))continue;let K=E[z.rowIdx],J=K?K.children:[];if(J.length>0&&J[0]===N[L]&&N[L].closest("table")===w){q=true;break}}}if(q)continue;let me=uniqueSel(S),oe=(S.textContent||"").trim().slice(0,60);c.push({selector:me,attribute:"scope",currentValue:P,issueType:"missing_table_scope",wcag:"1.3.1",context:JSON.stringify({reason:"<th> missing scope attribute",inferred:le,inThead:W,firstRow:Z,firstCol:ne,headerText:oe}),needsAI:false,fixValue:le,outerHtml:(S.outerHTML||"").slice(0,300)});}}return c},I1={name:"dataTables",cap:30,async detect(u){return u.evaluate(DP)}};});var EP,P1,L1=Fe(()=>{EP=()=>{let c=[];for(let h of document.querySelectorAll("img[alt]")){if(c.length>=30)break;let p=h;if((p.getAttribute("alt")||"").trim()!=="")continue;let m=(p.getAttribute("title")||"").trim().replace(/\s+/g," ");if(!m||isWidget(p))continue;let v=(p.getAttribute("role")||"").toLowerCase();v==="presentation"||v==="none"||p.getAttribute("aria-hidden")==="true"||p.closest('[aria-hidden="true"]')||(p.getAttribute("aria-label")||"").trim()||(p.getAttribute("aria-labelledby")||"").trim()||isVisible(p)&&c.push({selector:uniqueSel(p),attribute:"data-asw-decorative-title",currentValue:"",issueType:"decorative_image_with_title",wcag:"1.1.1",context:'image with alt="" also has title="'+m.slice(0,80)+'"',needsAI:true,needsReview:true,reviewReason:'WCAG 1.1.1 Non-text Content: this image has an empty alt (declared decorative) but also a title of "'+m.slice(0,80)+'". Violation when the picture conveys information the title names (a logo, a chart, a labelled icon), so the empty alt hides it. Pass when the picture is purely decorative and the title only repeats nearby text or adds nothing.',outerHtml:(p.outerHTML||"").slice(0,300)});}return c},P1={name:"decorativeImageTitle",cap:30,async detect(u){return u.evaluate(EP)}};});var CP,O1,N1=Fe(()=>{CP=()=>{let u="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",c=/^[^\p{L}\p{N}\s]*$/u,h=/^[\s\u00A0\u2000-\u200F\u2028-\u202F]*$/,p=/^[\p{Co}\s]*$/u,v=[],y=["link","button","menuitem","menuitemcheckbox","menuitemradio","tab","checkbox","radio","switch","option","treeitem","gridcell","combobox","textbox","searchbox","slider","spinbutton","img","heading","listitem","none","presentation","generic","navigation","region","group","dialog"],w=x=>{let b=x.computedRole;if(typeof b=="string")return b.toLowerCase();let _=(x.getAttribute("role")||"").trim().toLowerCase().split(/\s+/);for(let D of _)if(y.indexOf(D)>=0)return D;return x.hasAttribute("href")?"link":"generic"},E=x=>{let b=w(x);if(b==="link"||x.hasAttribute("href"))return true;if(b&&b!=="generic")return false;let _=x.getAttribute("tabindex");if(_===null)return false;let D=parseInt(_,10);return !isNaN(D)&&D>=0},C=document.querySelectorAll("a");for(let x of C){if(v.length>=50)break;if(!E(x)||x.closest(u)||x.getAttribute("aria-hidden")==="true"||x.getAttribute("role")==="presentation"||x.closest('[aria-hidden="true"]')||!isVisible(x))continue;let b=getAccessibleName(x);if(b&&b.length>0&&!h.test(b)&&!p.test(b))continue;let _=x.querySelectorAll("img[alt]"),D="";for(let F of _){let S=(F.getAttribute("alt")||"").trim();S&&(D+=S+" ");}if(D.trim())continue;let T=x.getAttribute("aria-labelledby");if(T&&typeof __resolveIdRefs=="function"&&__resolveIdRefs(T))continue;let I=uniqueSel(x),B=x.getAttribute("href")||"",R=(x.textContent||"").trim(),$=getNearbyContext(x),M="";R&&h.test(R)?M="[whitespace only]":R&&c.test(R)&&(M=R);let H=(document.documentElement.getAttribute("lang")||"").trim(),ee=[];x.closest("nav")&&ee.push("inside nav"),$.nearbyHeading&&ee.push("heading: "+$.nearbyHeading),B&&ee.push("href: "+B.slice(0,120)),ee.push("parent: "+$.parentTag),H&&ee.push("page language: "+H);let N={selector:I,attribute:"aria-label",currentValue:M,issueType:"empty_link",wcag:"2.4.4",context:ee.join(" | "),needsAI:true,outerHtml:x.outerHTML.slice(0,300)};v.push(N);}return v},O1={name:"emptyLinks",cap:50,async detect(u){return u.evaluate(CP)}};});var kP,q1,B1=Fe(()=>{kP=()=>{let c=[],h=new Set;function p(x){return (x||"").trim()}function m(x){let b=p(x.getAttribute("aria-label")||"");if(b)return b;let _=x.getAttribute("aria-labelledby");if(_){let T=_.split(/\s+/),I="";for(let B=0;B<T.length;B++){let R=document.getElementById(T[B]);R&&(I+=" "+(R.textContent||""));}if(p(I))return p(I)}let D=p(x.getAttribute("title")||"");return D||""}let v=document.querySelectorAll("fieldset");for(let x=0;x<v.length&&!(c.length>=30);x++){let b=v[x];if(isWidget(b)||!isVisible(b)||isHiddenFromAT(b))continue;if(m(b)){h.add(b);continue}let _=null,D=b.querySelectorAll("legend");for(let M=0;M<D.length;M++)if(D[M].closest("fieldset")===b){_=D[M];break}let T=_!==null,I=_?p(_.textContent||""):"";if(T&&I){h.add(b);continue}let B=getNearbyContext(b),R=b.querySelectorAll("input, select, textarea"),$=uniqueSel(b);c.push({selector:$,attribute:"aria-label",currentValue:"",issueType:"missing_fieldset_legend",wcag:"1.3.1",context:JSON.stringify({reason:T?"fieldset has empty <legend>":"fieldset missing <legend>",controlCount:R.length,nearbyHeading:B.nearbyHeading,parentTag:B.parentTag}),needsAI:true,outerHtml:(b.outerHTML||"").slice(0,300)}),h.add(b);}let y=document.querySelectorAll('[role="group"], [role="radiogroup"]');for(let x=0;x<y.length&&!(c.length>=30);x++){let b=y[x];if(isWidget(b)||!isVisible(b)||isHiddenFromAT(b)||h.has(b))continue;if(m(b)){h.add(b);continue}let _=b.getAttribute("role")||"",D=getNearbyContext(b),T=b.querySelectorAll("input, select, textarea");if(_==="group"&&b.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(b);c.push({selector:I,attribute:"aria-label",currentValue:"",issueType:"missing_fieldset_legend",wcag:"1.3.1",context:JSON.stringify({reason:'role="'+_+'" container without accessible name',role:_,controlCount:T.length,nearbyHeading:D.nearbyHeading,parentTag:D.parentTag}),needsAI:true,outerHtml:(b.outerHTML||"").slice(0,300)}),h.add(b);}let w={},E=document.querySelectorAll('input[type="radio"], input[type="checkbox"]');for(let x=0;x<E.length;x++){let b=E[x];if(isWidget(b)||!isVisible(b)||isHiddenFromAT(b))continue;let _=b.getAttribute("name")||"";if(!_)continue;let D=b.closest("form"),T=D?D.getAttribute("id")||D.getAttribute("action")||D.tagName:"no-form",I=(b.getAttribute("type")||"").toLowerCase(),B=T+"::"+I+"::"+_;w[B]||(w[B]=[]),w[B].push(b);}let C=Object.keys(w);for(let x=0;x<C.length&&!(c.length>=30);x++){let b=w[C[x]];if(b.length<3)continue;let _=b[0],D=_.closest('fieldset, [role="group"], [role="radiogroup"]'),T=false;if(D){T=true;for(let H=1;H<b.length;H++)if(!D.contains(b[H])){T=false;break}}if(T&&D)continue;let I=_.parentElement;for(;I&&I!==document.body;){let H=true;for(let ee=1;ee<b.length;ee++)if(!I.contains(b[ee])){H=false;break}if(H)break;I=I.parentElement;}if(!I||I===document.body||h.has(I))continue;let B=(_.getAttribute("type")||"").toLowerCase(),R=_.getAttribute("name")||"",$=getNearbyContext(_),M=uniqueSel(I);c.push({selector:M,attribute:"role",currentValue:I.getAttribute("role")||"",issueType:"missing_fieldset_legend",wcag:"1.3.1",context:JSON.stringify({reason:"unwrapped "+B+" group ("+b.length+' inputs share name="'+R+'")',inputType:B,inputCount:b.length,name:R,nearbyHeading:$.nearbyHeading,parentTag:$.parentTag}),needsAI:false,fixValue:B==="radio"?"radiogroup":"group",outerHtml:(I.outerHTML||"").slice(0,300)}),h.add(I);}return c},q1={name:"fieldsetLegend",cap:30,async detect(u){return u.evaluate(kP)}};});var SP,H1,V1=Fe(()=>{SP=()=>{let u=[],c=document.querySelectorAll('header, nav, div, [class*="header"], [class*="navbar"], [class*="sticky"], [role="banner"]'),h=0;for(let p of Array.from(c)){let m=getComputedStyle(p);if(m.display==="none"||m.visibility==="hidden"||m.position!=="sticky"&&m.position!=="fixed")continue;let v=p.getBoundingClientRect();if(v.top>50||v.bottom<=0)continue;let y=Math.round(v.height);y<40||y>240||y>h&&(h=y);}if(h>0){let p=window.scrollX,m=window.scrollY,v=0,y=0;try{let E=[],C=new Set;document.querySelectorAll('a[href^="#"]').forEach(x=>{let b=x.getAttribute("href").slice(1);if(!b)return;let _=document.getElementById(b);_&&!C.has(_)&&(C.add(_),E.push(_));});for(let x of E){if(y>=8)break;let b=getComputedStyle(x);if(b.display==="none"||b.visibility==="hidden")continue;y++,x.scrollIntoView({block:"start"});let _=x.getBoundingClientRect(),D=Math.max(_.height,1);Math.max(0,Math.min(_.bottom,h)-Math.max(_.top,0))/Math.min(D,h)>=.5&&v++;}}catch{}try{window.scrollTo(p,m);}catch{}let w=`scroll-margin-top: ${h+8}px; scroll-padding-top: ${h+8}px;`;y>0&&v>0?u.push({selector:"html",attribute:"style",currentValue:"",issueType:"focus_obscured_by_sticky",wcag:"2.4.11",context:`sticky header height: ${h}px \u2014 ${v}/${y} in-page anchor targets land under it on jump`,needsAI:false,fixValue:w}):y===0&&u.push({selector:"html",attribute:"style",currentValue:"",issueType:"focus_obscured_by_sticky",wcag:"2.4.11",context:`sticky header height: ${h}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:w});}return u},H1={name:"focusObscured",async detect(u){return u.evaluate(SP)}};});var bi={};mr(bi,{pruneHiddenIframeIssues:()=>MP,pruneInvisibleContrast:()=>IP,trackPageActivity:()=>RP,waitForInteractionSettle:()=>ac,waitForRenderSettle:()=>TP});async function TP(u,c=4e3){let h=Date.now()+c;try{await u.waitForLoadState?.("load",{timeout:Math.min(c/2,2e3)});}catch{}let p="";for(;Date.now()<h;){let m;try{m=await u.evaluate(()=>{let v=typeof document.getAnimations=="function"?document.getAnimations():[],y=0;for(let x of v){if(x.playState!=="running")continue;let b;try{b=x.effect?.getComputedTiming?.().iterations;}catch{b=void 0;}b!==1/0&&y++;}let w="",E=document.body?document.body.querySelectorAll('[style*="opacity"]'):[],C=Math.min(E.length,50);for(let x=0;x<C;x++)w+=getComputedStyle(E[x]).opacity+",";return y+"|"+w});}catch{return}if(m.indexOf("0|")===0&&m===p)return;p=m,await new Promise(v=>setTimeout(v,150));}}async function RP(u){try{await u.evaluate(c=>{let h=Symbol.for(c),p=window;if(p[h])return;let m={input:-1,mutated:performance.now(),settled:-1,off:()=>{}},v=()=>{m.input=performance.now();},y=["keydown","mousemove","mousedown","pointerdown","wheel"];for(let E of y)window.addEventListener(E,v,!0);let w=new MutationObserver(()=>{m.mutated=performance.now();});w.observe(document,{childList:!0,subtree:!0}),m.off=()=>{for(let E of y)window.removeEventListener(E,v,!0);w.disconnect();},p[h]=m;},nc);}catch{}}async function ac(u,c={}){let h=c.graceMs??900,p=c.quietMs??250,m=Date.now()+(c.capMs??1500);try{for(;;){let v=await u.evaluate(w=>{let E=window[Symbol.for(w)];if(!E)return null;let C=performance.now(),x=E.settled>=0&&E.input<=E.settled;return {input:E.input<0||x||!document.querySelector("script:not([data-wa-injected])")?null:C-E.input,mutated:C-E.mutated}},nc);if(!v||v.input===null)return;let y=Math.max(h-v.input,p-v.mutated);if(y<=0||Date.now()>=m)return;await new Promise(w=>setTimeout(w,Math.min(y,100,Math.max(m-Date.now(),0))+1));}}catch{}finally{try{await u.evaluate(({name:v,keep:y})=>{let w=window,E=Symbol.for(v);if(y){w[E]&&(w[E].settled=performance.now());return}w[E]?.off?.(),delete w[E];},{name:nc,keep:!!c.keepTracking});}catch{}}}function $1(u){return FP.has(u.wcag)||/contrast/i.test(u.type||"")}async function IP(u,c){let h=Array.from(new Set(c.filter(y=>$1(y)&&y.selector).map(y=>y.selector))).slice(0,100);if(h.length===0)return c;let p;try{p=await u.evaluate(y=>{let w=[],E={},C=Math.max(document.documentElement.scrollWidth,window.innerWidth),x=Math.max(document.documentElement.scrollHeight,window.innerHeight),b=_=>{let D=_.match(/rgba?\(([^)]+)\)/);if(!D)return !1;let T=D[1].split(/[ ,/]+/).filter(Boolean);return T.length<4||parseFloat(T[3])>=.95};for(let _ of y){let D=null;try{D=document.querySelector(_);}catch{continue}if(!D)continue;let T=getComputedStyle(D),I=D.getBoundingClientRect(),B=T.clipPath&&T.clipPath!=="none"&&/inset\(\s*(?:50|100)%/.test(T.clipPath)||/rect\(\s*0(?:px)?\s*,?\s*0(?:px)?\s*,?\s*0(?:px)?\s*,?\s*0(?:px)?\s*\)/.test(T.clip||""),R=I.width<=1||I.height<=1,$=window.scrollX,M=window.scrollY,H=I.right+$<=0||I.bottom+M<=0||I.left+$>=C||I.top+M>=x,ee=!1;if(H)for(let W=D.parentElement;W&&W!==document.body&&W!==document.documentElement;W=W.parentElement){let Z=getComputedStyle(W);if(Z.overflowX!=="visible"||Z.overflowY!=="visible"||Z.transform&&Z.transform!=="none"){ee=!0;break}}if(B||R||I.right+$<=0||I.bottom+M<=0||H&&!ee){w.push(_);continue}let N=D,F=!1;for(;N&&N!==document.documentElement;){if(parseFloat(getComputedStyle(N).opacity)===0){F=!0;break}N=N.parentElement;}if(F){E[_]="text is inside an opacity:0 element (hidden slide or pre-animation state) \u2014 check contrast in the state where it is shown";continue}let S=I.left+I.width/2,P=I.top+I.height/2,q=D,j=!1;for(let W=0;q&&q!==document.body&&W<8;W++){let Z=getComputedStyle(q);if(b(Z.backgroundColor)||Z.backgroundImage&&Z.backgroundImage!=="none")break;let ne=q.querySelectorAll("video, canvas, img, picture");for(let le=0;le<ne.length;le++){let fe=ne[le];if(fe.contains(D)||D.contains(fe))continue;let me=fe.getBoundingClientRect();if(me.width>0&&me.height>0&&S>=me.left&&S<=me.right&&P>=me.top&&P<=me.bottom){j=!0;break}}if(j)break;q=q.parentElement;}j&&(E[_]="text sits over a video or image \u2014 the background behind the glyphs cannot be measured from CSS");}return {hidden:w,review:E}},h);}catch{return c}let m=new Set(p.hidden),v=[];for(let y of c){if(!$1(y)){v.push(y);continue}if(m.has(y.selector))continue;let w=p.review[y.selector];v.push(w&&y.confidence!=="needs_review"?{...y,confidence:"needs_review",reviewReason:w,...y.fix?{fix:{...y.fix,needsManualReview:true}}:{}}:y);}return v}async function MP(u,c){let h=Array.from(new Set(c.filter(v=>v.selector).map(v=>v.selector))).slice(0,200);if(h.length===0)return c;let p;try{p=await u.evaluate(v=>{let y=[];for(let w of v){let E=null;try{E=document.querySelector(w);}catch{continue}if(!E||E.tagName!=="IFRAME")continue;let C=getComputedStyle(E),x=E.getClientRects().length===0||C.visibility==="hidden"||C.visibility==="collapse",b=(E.getAttribute("src")||"").trim().toLowerCase().indexOf("javascript:")===0;(x||b)&&y.push(w);}return y},h);}catch{return c}if(p.length===0)return c;let m=new Set(p);return c.filter(v=>!m.has(v.selector))}var nc,FP,fa=Fe(()=>{nc="wa.activity";FP=new Set(["1.4.3","1.4.6","1.4.11"]);});var j1,z1=Fe(()=>{fa();j1={name:"focusVisible",cap:40,async detect(u){let c=typeof u.keyboard?.press=="function";try{await u.evaluate(()=>{let h=document.activeElement;window[Symbol.for("wa.prevFocus")]=h&&h!==document.body&&h!==document.documentElement?h:null,window[Symbol.for("wa.prevScroll")]=[window.scrollX,window.scrollY];let p=getSelection();window[Symbol.for("wa.prevSelection")]=p?Array.from({length:p.rangeCount},(m,v)=>p.getRangeAt(v).cloneRange()):[];});}catch{}if(c){try{await u.keyboard.press("Tab");}catch{}await ac(u,{keepTracking:true,graceMs:2e3,quietMs:400,capMs:4e3});}return u.evaluate(async h=>{let m=[],v=["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 y=x=>["Top","Right","Bottom","Left"].map(b=>{let _=x["border"+b+"Style"],D=parseFloat(x["border"+b+"Width"]||"0");return _!=="none"&&_!=="hidden"&&D>0?_+" "+D+" "+x["border"+b+"Color"]:"-"}).join("|"),w=document.querySelectorAll(v),E=Symbol.for("wa.prevFocus"),C=window[E]??null;try{delete window[E];}catch{}for(let x of w){if(m.length>=40)break;if(typeof isWidget=="function"&&isWidget(x)||typeof isHiddenFromAT=="function"&&isHiddenFromAT(x)||typeof isVisible=="function"&&!isVisible(x)||!x.offsetParent&&x.tagName!=="BODY")continue;let b=x.hasAttribute("style"),_=x.getAttribute("style"),D=["transition-property","transition-duration","transition-timing-function","transition-delay","transition-behavior"],T=x.style?D.map(j=>[j,x.style.getPropertyValue(j),x.style.getPropertyPriority(j)]):[];x.style&&(x.style.transition="none");let I=()=>{if(x.style){x.style.removeProperty("transition");for(let[j,W,Z]of T)W&&x.style.setProperty(j,W,Z);!b&&!x.getAttribute("style")?x.removeAttribute("style"):b&&_!==null&&_.trim()===""&&x.getAttribute("style")===""&&x.setAttribute("style",_);}},B=getComputedStyle(x),R=B.outline,$=B.outlineWidth,M=B.outlineStyle,H=B.boxShadow,ee=y(B),N=B.backgroundColor;try{x.focus({preventScroll:!0});}catch{I();continue}if(document.activeElement!==x){I();continue}let F=()=>{let j=getComputedStyle(x),W=(j.outlineStyle||"").toLowerCase(),Z=parseFloat(j.outlineWidth||"0"),ne=j.outline!==R,le=W!=="none"&&W!=="hidden"&&Z>0,fe=j.boxShadow!==H&&j.boxShadow!=="none"&&j.boxShadow!=="",me=y(j)!==ee,oe=j.backgroundColor!==N;return ne&&le||fe||me||oe},S=F(),P=typeof x.getAnimations=="function"&&x.getAnimations().some(j=>j.playState==="running"&&!("transitionProperty"in j));if(!S&&!P){let j=W=>typeof requestAnimationFrame=="function"?requestAnimationFrame(W):setTimeout(W,16);if(await new Promise(W=>setTimeout(()=>j(()=>W()),20)),document.activeElement!==x){I();continue}S=F();}if(I(),S||parseFloat($)>0&&M!=="none")continue;let q=typeof uniqueSel=="function"?uniqueSel(x):x.tagName.toLowerCase();m.push({selector:q,pseudo:":focus-visible",attribute:"style",currentValue:M+" "+$,issueType:"focus_not_visible",wcag:"2.4.7",context:`${x.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:x.outerHTML.slice(0,200),...h?{}:{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 x=Symbol.for("wa.prevScroll"),b=window[x];delete window[x],b&&window.scrollTo({left:b[0],top:b[1],behavior:"instant"});}catch{}try{let x=Symbol.for("wa.prevSelection"),b=window[x];delete window[x];let _=getSelection();if(_&&b){_.removeAllRanges();for(let D of b)_.addRange(D);}}catch{}return m},c)}};});var PP,G1,W1=Fe(()=>{PP=()=>{let c=[],h=["new","register","signup","sign-up","sign_up","create","change","reset"],p=["confirm","verify","retype","re-type","repeat","again"];function m(b){if(!b)return false;let _=" "+((b.getAttribute("id")||"")+" "+(b.getAttribute("class")||"")+" "+(b.getAttribute("name")||"")+" "+(b.getAttribute("action")||"")).toLowerCase()+" ";for(let D=0;D<h.length;D++)if(_.indexOf(h[D])!==-1)return true;return false}function v(b){let _=((b.getAttribute("name")||"")+" "+(b.getAttribute("id")||"")+" "+(b.getAttribute("placeholder")||"")+" "+(b.getAttribute("aria-label")||"")).toLowerCase();for(let D=0;D<p.length;D++)if(_.indexOf(p[D])!==-1)return true;return false}let y=document.querySelectorAll('input[type="password"], input[type="Password"]');for(let b of y){if(c.length>=30)break;let _=b;if(isWidget(_)||isHiddenFromAT(_)||!isVisible(_))continue;let D=(_.getAttribute("autocomplete")||"").trim().toLowerCase();if(v(_)){if(D==="new-password")continue;let $=uniqueSel(_);c.push({selector:$,attribute:"autocomplete",currentValue:D,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(D)continue;let I=_.form||_.closest("form"),B=m(I),R=uniqueSel(_);c.push({selector:R,attribute:"autocomplete",currentValue:"",issueType:"missing_autocomplete",wcag:"1.3.5",context:(B?"new/signup/change password form":"login form")+" | name: "+(_.getAttribute("name")||"")+" | id: "+(_.getAttribute("id")||""),needsAI:false,fixValue:B?"new-password":"current-password",outerHtml:(_.outerHTML||"").slice(0,300)});}let w=document.querySelectorAll("form"),E=/\*|\brequired\b|\bmandatory\b/i;for(let b of w){if(c.length>=30)break;let _=b;if(isWidget(_)||!isVisible(_))continue;let D=_.querySelectorAll("input[required], select[required], textarea[required]");if(!D.length)continue;let T=0;for(let M of D)isVisible(M)&&T++;if(T===0)continue;let I=_.querySelectorAll('input:not([type="hidden"]):not([type="submit"]):not([type="button"]), select, textarea'),B=0;for(let M of I)isVisible(M)&&B++;if(T>=B||(_.getAttribute("data-asw-required-hint")||"").trim())continue;let R=(_.textContent||"").trim();if(E.test(R))continue;let $=uniqueSel(_);c.push({selector:$,attribute:"data-asw-required-hint",currentValue:"",issueType:"missing_required_indicator",wcag:"3.3.2",context:`form has ${T} required input(s) but no visible "*" / "required" / "mandatory" marker`,needsAI:true,outerHtml:(_.outerHTML||"").slice(0,300)});}let C='input[type="submit" i], input[type="image" i], button:not([type]), button[type="submit" i], button[type=""]',x='input:not([type="hidden"]):not([type="submit"]):not([type="button"]):not([type="reset"]):not([type="image"]), select, textarea';for(let b of w){if(c.length>=30)break;let _=b;if(isWidget(_)||!isVisible(_)||isHiddenFromAT(_))continue;let D=[];for(let M of _.querySelectorAll(x))isVisible(M)&&D.push(M);if(D.length===0||_.querySelector(C))continue;let T=_.getAttribute("id");if(T){let M=false;for(let H of document.querySelectorAll(C))if(H.getAttribute("form")===T){M=true;break}if(M)continue}if(((_.getAttribute("role")||"").toLowerCase()==="search"||!!_.closest('[role="search"]'))&&D.length===1)continue;let B=D.slice(0,4).map(M=>M.tagName.toLowerCase()+(M.tagName==="INPUT"?"["+(M.getAttribute("type")||"text")+"]":"")).join(", "),R=[];for(let M of _.querySelectorAll('button:not([type="reset" i]), input[type="button" i], [role="button"]')){if(R.length>=3)break;let H=M;if(!isVisible(H))continue;let ee=((H.tagName==="INPUT"?H.getAttribute("value"):H.textContent)||H.getAttribute("aria-label")||"").trim().replace(/\s+/g," ").slice(0,30);R.push('"'+ee+'"');}if(R.length&&!(_.getAttribute("action")||"").trim())continue;let $=R.length?" Buttons present that are not a submit control (type=button or role=button): "+R.join(", ")+".":"";c.push({selector:uniqueSel(_),attribute:"data-asw-submit-control",currentValue:"",issueType:"form_missing_submit",wcag:"3.2.2",context:`form with ${D.length} visible field(s) (${B}) and no submit control`,needsAI:true,needsReview:true,reviewReason:"WCAG 3.2.2 On Input: this form has "+D.length+" visible field(s) ("+B+") 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."+$,outerHtml:(_.outerHTML||"").slice(0,300)});}return c},G1={name:"formAttributes",cap:30,async detect(u){return u.evaluate(PP)}};});function OP(u){if(!/^[a-z]{2,3}$/.test(u))return false;if(yi===void 0)try{yi=new Intl.DisplayNames(["en"],{type:"language",fallback:"none"});}catch{yi=null;}if(!yi)return u.length===2;try{let c=yi.of(u);return !!c&&c.toLowerCase()!==u}catch{return false}}function ic(u){let c=String(u||"").trim().toLowerCase().match(/^([a-z]{2,3})(?:[-_][a-z0-9]{2,8})*$/);return !c||c[1]==="und"||c[1]==="mul"||c[1]==="zxx"?"":OP(c[1])?c[1]:""}function NP(u){if(!u)return "";let c;try{c=new URL(/^[a-z][a-z0-9+.-]*:\/\//i.test(u)?u:`https://${u}`);}catch{return ""}let h=/^([a-z]{2})(?:[-_][a-z]{2,4})?$/i,p=c.hostname.toLowerCase().split(".");if(p.length>=3&&h.test(p[0])){let v=ic(p[0]);if(v)return v}let m=c.pathname.split("/").filter(Boolean)[0]||"";return h.test(m)?ic(m):""}function qP(u){let c=String(u||"").slice(0,2e4),h={lean:null,confident:false,ruledOut:new Set};if(!c.trim())return h;let p=(c.match(/\p{L}/gu)||[]).length;if(p>=40){let H=LP.map(([P,q])=>[P,(c.match(q)||[]).length]),ee=H.find(([P])=>P==="ja")[1],N=H.find(([P])=>P==="zh")[1],F=ee>=Math.max(5,(ee+N)*.05)?[["ja",ee+N]]:[["zh",N]],S=[...H.filter(([P])=>P!=="ja"&&P!=="zh"),...F].sort((P,q)=>q[1]-P[1]);if(S[0][1]/p>=.6)return {lean:S[0][0],confident:true,ruledOut:new Set(ps.keys())}}let m=c.toLowerCase().match(/\p{L}+/gu)||[];if(!m.length)return h;let v={};for(let H of m){let ee=U1.get(H);if(ee)for(let[N,F]of ee)v[N]=(v[N]||0)+F;}let y=new Map;for(let H of m)U1.has(H)&&y.set(H,(y.get(H)||0)+1);let w=new Map,E=new Map;for(let[H,ee]of ps){let N=0,F=0;for(let[S,P]of y)ee.has(S)&&(N+=P,F++);w.set(H,N/m.length),E.set(H,F);}let C=m.length>=30,x=new Set(C?[...w].filter(([,H])=>H<.12).map(([H])=>H):[]),b=(H,ee)=>{let N=ps.get(H),F=ps.get(ee),S=0;for(let[P,q]of y)N.has(P)&&!F.has(P)&&(S+=q);return S},_=Object.entries(v).sort((H,ee)=>ee[1]-H[1]);if(!_.length)return {...h,ruledOut:x};let[D,T]=_[0],I=_[1]?.[1]||0,R=(C?[...w].filter(([H,ee])=>H!==D&&ee>=.12).map(([H])=>H):[]).every(H=>{let ee=b(D,H);return ee>=5&&ee>=b(H,D)*2}),$=C&&T>=5&&(w.get(D)||0)>=.12&&(E.get(D)||0)>=6&&R,M=T>=2&&($||T>=I*1.5)?D:null;return {lean:M,confident:!!M&&$,ruledOut:x}}function J1(u){let c=[...new Set((u.declared||[]).map(ic).filter(Boolean))],h=NP(u.url),p=qP(u.text);if(p.confident&&p.lean)return c.some(m=>m!==p.lean)||h&&h!==p.lean?null:{lang:p.lean,source:"text"};if(c.length===1){let m=c[0];return p.lean&&p.lean!==m||p.ruledOut.has(m)||h&&h!==m?null:{lang:m,source:"declared"}}return c.length>1?null:h&&p.lean===h&&!p.ruledOut.has(h)?{lang:h,source:"url"}:null}var X1,ps,U1,LP,yi,K1=Fe(()=>{X1={en:"the and of to is in that for with on are this you it be as at by from or your our we not have has was will can an all more about which their they",de:"der die das und ist nicht mit sich des den dem ein eine einen einer auf f\xFCr von zu im in auch sie wir ihr bei oder wird sind werden \xFCber nach aus wie noch nur unsere ihre sowie k\xF6nnen zum zur",nl:"de het een en van is dat op te in zijn voor met niet aan er ook als bij door wordt om uit worden naar onze uw jouw maar dan nog deze kunt wij u ons of wat die kan was",fr:"le la les et des est une du que pour dans qui pas sur au avec ce plus sont vous nous par ou leur cette mais \xEAtre aux votre vos notre nos",es:"el la los las y es una del que por para con se en no su sus m\xE1s al como pero este esta son nuestro nuestra nuestros usted tambi\xE9n de",it:"il lo la gli le e \xE8 di che per in una un del della con non sono pi\xF9 dei delle nel alla come anche questo questa nostro nostra nostri ti",pt:"o a os as e \xE9 de do da dos das que para com n\xE3o uma um em no na por mais seu sua nosso nossa voc\xEA tamb\xE9m s\xE3o",da:"og er det en at til af p\xE5 med for ikke den som de har vi kan vil fra jeres vores ogs\xE5 eller jer hvis efter",sv:"och \xE4r det en att till av p\xE5 med f\xF6r inte den som har vi kan ska fr\xE5n ocks\xE5 eller v\xE5ra v\xE5r din dina",nb:"og er det en at til av p\xE5 med for ikke den som har vi kan skal fra ogs\xE5 eller v\xE5re v\xE5r deg dine",pl:"i w na z do \u017Ce si\u0119 jest nie to o od jak dla po przez s\u0105 lub oraz nasz nasze mo\u017Ce tak\u017Ce jego",cs:"a v na se je \u017Ee s z do o to jako pro by nen\xED jsou nebo tak\xE9 ale jeho na\u0161e",ca:"el la els les i \xE9s de del dels que per amb en un una no es al als com m\xE9s per\xF2 aquest aquesta aquests s\xF3n seu seva nostre nostra hi ho ja tamb\xE9 o",gl:"o a os as e \xE9 de do da dos das que para con non unha un en no na nos nas por m\xE1is seu s\xFAa cando tam\xE9n pero este esta moi",af:"die en van is in dat op te vir nie met om wat sy hy hulle ons jy u was het aan as by ook maar of kan sal hierdie n ek julle deur baie"},ps=new Map(Object.entries(X1).map(([u,c])=>[u,new Set(c.split(" "))])),U1=(()=>{let u=new Map;for(let[h,p]of Object.entries(X1))for(let m of new Set(p.split(" "))){let v=u.get(m)||[];v.push(h),u.set(m,v);}let c=new Map;for(let[h,p]of u)c.set(h,p.map(m=>[m,1/p.length]));return c})(),LP=[["ko",/\p{Script=Hangul}/gu],["el",/\p{Script=Greek}/gu],["he",/\p{Script=Hebrew}/gu],["th",/\p{Script=Thai}/gu],["ja",/[\p{Script=Hiragana}\p{Script=Katakana}]/gu],["zh",/\p{Script=Han}/gu]];});function BP(){let u=document.documentElement;if(!u||(u.getAttribute("lang")||"").trim())return null;let c=String(typeof location<"u"&&location.href||""),h=v=>v.replace(/[#?].*$/,"").replace(/\/+$/,""),p=null;try{let v=document.querySelectorAll('link[rel="alternate"][hreflang]');for(let y=0;y<v.length;y++){let w=v[y],E=w.getAttribute("hreflang")||"";if(E&&E.toLowerCase()!=="x-default"&&w.href&&h(w.href)===h(c)){p=E;break}}}catch{}return {url:c,text:(()=>{let v=document.body;if(!v)return "";if(typeof v.innerText=="string")return v.innerText.slice(0,2e4);let y=v.cloneNode(true);return y.querySelectorAll('script, style, noscript, template, [hidden], [aria-hidden="true"]').forEach(w=>w.remove()),String(y.textContent||"").replace(/\s+/g," ").slice(0,2e4)})(),declared:[u.getAttribute("xml:lang"),document.querySelector('meta[http-equiv="content-language" i]')?.getAttribute("content")??null,document.querySelector('meta[name="language" i]')?.getAttribute("content")??null,document.querySelector('meta[property="og:locale"]')?.getAttribute("content")??null,document.body?.getAttribute("lang")??null,p]}}function HP(u){if(!u)return [];let c=J1(u),h={selector:"html",attribute:"lang",currentValue:"",issueType:"missing_document_language",wcag:"3.1.1",needsAI:false};return c?[{...h,context:`Document language not declared; detected "${c.lang}" from page ${c.source}`,fixValue:c.lang}]:[{...h,context:"Document language not declared, and the page text does not settle which language it is (short, mixed, conflicting, or a language without a detector list) \u2014 set <html lang> by hand",manualFix:true}]}var Y1,Z1=Fe(()=>{K1();Y1={name:"htmlLang",async detect(u){let c=await u.evaluate(BP);return HP(c)}};});var VP,Q1,ev=Fe(()=>{VP=()=>{let u="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",h=[],p=document.querySelectorAll("iframe");for(let m of p){if(h.length>=50)break;if(m.closest(u))continue;let v=false;for(let $=m;$;$=$.parentElement)if(($.getAttribute("aria-hidden")||"").trim()==="true"){v=true;break}let y=(m.getAttribute("role")||"").trim().toLowerCase();if(v||y==="presentation"||y==="none"||m.closest("[inert]"))continue;let w=/^[\t\n\f\r ]*([-+]?\d+)/.exec(m.getAttribute("tabindex")||"");if(w&&parseInt(w[1],10)<0)continue;let E=getComputedStyle(m);if(m.getClientRects().length===0||E.visibility==="hidden"||E.visibility==="collapse"||(m.getAttribute("src")||"").trim().toLowerCase().indexOf("javascript:")===0)continue;let C="",x=(m.getAttribute("aria-labelledby")||"").trim();if(x){let $=x.split(/\s+/);for(let M=0;M<$.length;M++){let H=document.getElementById($[M]);H&&(C+=" "+(H.textContent||""));}C=C.trim();}if(C||(C=(m.getAttribute("aria-label")||"").trim()),C)continue;let b=(m.getAttribute("title")||"").trim(),_=b.length===0;if(!_)continue;let D=(m.getAttribute("src")||"").toLowerCase(),T=uniqueSel(m),I=getNearbyContext(m),B=(document.documentElement.getAttribute("lang")||"").trim(),R="src: "+D.slice(0,120)+(I.nearbyHeading?" | heading: "+I.nearbyHeading:"")+(I.cardText?" | nearby text: "+I.cardText:"")+(B?" | page language: "+B:"");_&&h.push({selector:T,attribute:"title",currentValue:b,issueType:"missing_label",wcag:"4.1.2",context:R,needsAI:true,outerHtml:m.outerHTML.slice(0,300)});}return h},Q1={name:"iframeTitle",cap:50,async detect(u){return u.evaluate(VP)}};});var $P,tv,rv=Fe(()=>{$P=()=>{let u="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",c=["hidden","submit","button","reset","image","checkbox","radio","file","range","color"],p=[],m={email:"email",tel:"tel",password:"current-password"},v=[{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"}],y=document.querySelectorAll("input, select, textarea");for(let w of y){if(p.length>=50)break;if(w.closest(u))continue;let E=w,C=(E.getAttribute("type")||"text").toLowerCase();if(c.includes(C)||E.getAttribute("autocomplete")||!isVisible(E))continue;let x="";if(m[C]&&(x=m[C]),!x){let _=(E.getAttribute("name")||"").toLowerCase(),D=(E.getAttribute("id")||"").toLowerCase(),T=(E.getAttribute("placeholder")||"").toLowerCase(),I=_+" "+D+" "+T;for(let B of v)if(I.includes(B.pattern)){x=B.autocomplete;break}}if(!x)continue;if(x==="country"){let _=false;if(E.tagName==="SELECT"){let D=Array.from(E.options).map(T=>(T.value||"").trim()).filter(Boolean);_=D.length>0&&D.every(T=>/^[A-Za-z]{2}$/.test(T));}_||(x="country-name");}let b=uniqueSel(E);p.push({selector:b,attribute:"autocomplete",currentValue:"",issueType:"identify_input_purpose",wcag:"1.3.5",context:"type: "+C+" | name: "+(E.getAttribute("name")||"")+" | id: "+(E.getAttribute("id")||""),needsAI:false,fixValue:x});}return p},tv={name:"inputPurpose",cap:50,async detect(u){return u.evaluate($P)}};});var jP,nv,av=Fe(()=>{jP=()=>{let u="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",h=[],p=['a[href]:not([href=""])',"button:not([disabled])",'input:not([type="hidden"]):not([disabled])',"select:not([disabled])","textarea:not([disabled])",'[role="button"]:not([aria-disabled="true"])','[role="link"]:not([aria-disabled="true"])','[role="menuitem"]:not([aria-disabled="true"])','[role="tab"]:not([aria-disabled="true"])','[role="checkbox"]:not([aria-disabled="true"])','[role="radio"]:not([aria-disabled="true"])'].join(",");function m(_){let D=_.getBoundingClientRect();if(D.width===0&&D.height===0)return false;let T=-window.scrollX,I=-window.scrollY,B=document.documentElement,R=getComputedStyle(_).position;if(R==="fixed")return false;let $=R==="absolute";for(let M=_.parentElement;M&&M!==document.body&&M!==B;M=M.parentElement){let H=getComputedStyle(M);if($){if(H.position==="static")continue;$=false;}if(/auto|scroll/.test(H.overflowX+" "+H.overflowY))return false;let ee=H.overflowX==="hidden"||H.overflowX==="clip",N=H.overflowY==="hidden"||H.overflowY==="clip";if(!ee&&!N)continue;let F=M.getBoundingClientRect();if(ee&&(D.right<=F.left||D.left>=F.right)||N&&(D.bottom<=F.top||D.top>=F.bottom))return true;if(R=H.position,R==="fixed")return false;R==="absolute"&&($=true);}return D.right<=T||D.bottom<=I||D.left>=T+B.scrollWidth||D.top>=I+B.scrollHeight}let v='[role="tablist"],[aria-roledescription="carousel" i],[aria-roledescription="slide" i],[class*="slick"],[class*="swiper"],[class*="owl"],[class*="splide"],[class*="flickity"]',y='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"]',w='a[href],area[href],button,input:not([type="hidden"]),select,textarea,summary,iframe';function E(_){if(_.tagName==="A"){let T=_.href;if(T){for(let I of document.querySelectorAll("a[href]"))if(!(I===_||I.href!==T||I.tabIndex<0)&&!I.closest('[aria-hidden="true"],[hidden],[inert]')&&!(typeof isVisible=="function"&&!isVisible(I)))return "another focusable link to the same href exists"}}if(_.closest(v))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 D=_.parentElement?.closest(y);if(D){let T=0;for(let I of D.querySelectorAll(w))I!==_&&I.getAttribute("tabindex")?.trim()==="-1"&&T++;if(T>=2)return `${T} other controls in the same <${D.tagName.toLowerCase()}> also carry tabindex="-1" (inert by design)`}for(let T=_.parentElement;T&&T!==document.body&&!T.matches(w);T=T.parentElement){let I=parseInt(T.getAttribute("tabindex")||"",10);if(!Number.isFinite(I)||I<0)continue;let B=[...T.querySelectorAll(w)];if(B.length>=2&&B.every(R=>R.getAttribute("tabindex")?.trim()==="-1"))return 'a focusable ancestor owns focus and every control inside it carries tabindex="-1"';break}return ""}let C=document.querySelectorAll(p);for(let _ of C){if(h.length>=30)break;if(_.closest(u)||!_.hasAttribute("tabindex"))continue;let D=_.getAttribute("tabindex")||"",T=parseInt(D,10);if(!Number.isFinite(T)||T===0||_.getAttribute("aria-disabled")==="true"||_.getAttribute("aria-hidden")==="true"||_.closest('[aria-hidden="true"]')||_.closest("[hidden]"))continue;let I=_.closest('[role="dialog"],[role="alertdialog"],dialog,[role="menu"],[role="listbox"]');if(I&&!(I.hasAttribute("open")||I.getAttribute("aria-modal")==="true"||I.getAttribute("aria-hidden")!=="true")||typeof isVisible=="function"&&!isVisible(_)||T<0&&m(_))continue;let B=(_.getAttribute("role")||"").toLowerCase();if(T<0&&_.closest('[role="tablist"],[role="menu"],[role="menubar"],[role="listbox"],[role="tree"],[role="treegrid"],[role="grid"],[role="radiogroup"],[role="toolbar"]'))continue;if(T<0&&_.tagName==="A"){if((_.getAttribute("aria-current")||"").trim().toLowerCase()==="page")continue;let S=(_.getAttribute("href")||"").trim();if(S&&!S.includes("#"))try{let P=new URL(S,document.baseURI),q=new URL(location.href);if(P.hash="",q.hash="",P.href===q.href)continue}catch{}}let $=typeof uniqueSel=="function"?uniqueSel(_):"",M=typeof getNearbyContext=="function"?getNearbyContext(_):{parentTag:_.tagName.toLowerCase(),nearbyHeading:""},H,ee,N=T<0?E(_):"";T<0?(H="keyboard_trap",ee="2.1.1"):(H="focus_order_disruption",ee="2.4.3");let F=[];F.push("tabindex: "+T),F.push("tag: "+_.tagName.toLowerCase()),B&&F.push("role: "+B),M.nearbyHeading&&F.push("heading: "+M.nearbyHeading),F.push("parent: "+M.parentTag),N&&F.push('author tabindex="-1" looks intentional: '+N),h.push({selector:$,attribute:"tabindex",currentValue:String(T),issueType:H,wcag:ee,context:F.join(" | "),needsAI:false,fixValue:"0",...N?{manualFix:true,reviewReason:`the author's tabindex="-1" looks intentional (${N}); 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 x=/\b(?:this|(?:event|evt|e)\.(?:target|currentTarget))\.focus\s*\(\s*\)/,b=/\b(?:if|else|switch|while|for)\b|&&|\|\||\?/;for(let _ of document.querySelectorAll("[onblur]")){if(h.length>=30)break;if(_.closest(u))continue;let D=_.getAttribute("onblur")||"";!x.test(D)||b.test(D)||_.matches('[disabled], [aria-disabled="true"]')||_.closest('[aria-hidden="true"], [hidden]')||typeof isVisible=="function"&&!isVisible(_)||h.push({selector:typeof uniqueSel=="function"?uniqueSel(_):_.tagName.toLowerCase(),attribute:"onblur",currentValue:D.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 h},nv={name:"keyboardTrap",cap:30,async detect(u){return u.evaluate(jP)}};});var zP,iv,ov=Fe(()=>{zP=()=>{let u="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=EquallyAI]",h=["click here","click","here","read more","more","link","this","go","info","details","learn more","see more","view","open","tap"],p=[];function m(b){if(!b)return "";let _=b.split("#")[0];return _.length>1&&_.charAt(_.length-1)==="/"&&(_=_.substring(0,_.length-1)),_}function v(b){let _=(b.getAttribute("aria-label")||"").trim();return _||(b.textContent||"").trim().replace(/\s+/g," ")}function y(b){return !!b.closest('nav, [role="navigation"], [role="menubar"], [class*=breadcrumb], [aria-label*="breadcrumb" i]')}let w={},E=document.querySelectorAll("a[href]");for(let b=0;b<E.length;b++){let _=E[b];if(_.closest(u)||_.getAttribute("aria-hidden")==="true"||!isVisible(_))continue;let D=_.getAttribute("href")||"";if(!D)continue;let T=D.toLowerCase();if(T.charAt(0)==="#"||T.indexOf("javascript:")===0||T.indexOf("mailto:")===0||T.indexOf("tel:")===0)continue;let I=_.href||D,B=m(I);if(!B||y(_))continue;let R=(_.textContent||"").trim(),$=!!_.querySelector("img, svg, picture");if(!R&&$)continue;let M=v(_);if(!M)continue;let H=M.toLowerCase();H===T||H===I.toLowerCase()||(w[B]||(w[B]=[]),w[B].push(_));}let C=Object.keys(w),x={};for(let b=0;b<C.length;b++){let _={};for(let D of w[C[b]]||[])_[v(D).toLowerCase()]=true;for(let D of Object.keys(_))x[D]=(x[D]||0)+1;}for(let b=0;b<C.length&&!(p.length>=30);b++){let _=w[C[b]];if(!_||_.length<2)continue;let D={},T="";for(let $=0;$<_.length;$++){let M=v(_[$]),H=M.toLowerCase();D[H]=true,M.length>T.length&&(T=M);}if(Object.keys(D).length<2)continue;let B=T.toLowerCase().trim();if(B.length<5)continue;let R=false;for(let $=0;$<h.length;$++)if(B===h[$]){R=true;break}if(!R)for(let $=0;$<_.length&&!(p.length>=30);$++){let M=_[$],H=v(M);if(H.toLowerCase()===B)continue;let ee=uniqueSel(M);p.push({selector:ee,attribute:"aria-label",currentValue:(M.getAttribute("aria-label")||"").trim(),message:'link consistency: link text "'+H.slice(0,80)+'" and "'+T.slice(0,80)+'" lead to the same page',issueType:"link_consistency",wcag:"3.2.4",context:"Same href as "+_.length+' link(s) on this page with different text (e.g. "'+T.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",evidence:{href:C[b],namesForThisDestination:_.map(N=>v(N).slice(0,80)),destinationsUsingThisName:x[H.toLowerCase()]||1},outerHtml:M.outerHTML.slice(0,300)});}}return p},iv={name:"linkConsistency",cap:30,async detect(u){return u.evaluate(zP)}};});var GP,sv,lv=Fe(()=>{GP=()=>{let c=[],h=[".pdf",".doc",".docx",".xls",".xlsx",".zip",".csv",".ppt",".pptx",".txt",".rtf",".epub"],p="";try{p=window.location&&window.location.hostname||"";}catch{p="";}p=(p||"").toLowerCase();function m(T,I){if(!T||!I)return false;if(T===I||T.endsWith("."+I)||I.endsWith("."+T))return true;let B=R=>{let $=R.split(".");if($.length<=2)return R;let M=$[$.length-1],H=$[$.length-2],ee=["co","com","net","org","ac","gov","edu"],N=M.length===2&&ee.indexOf(H)>=0?3:2;return $.slice(-N).join(".")};return B(T)===B(I)}function v(T){return T.indexOf("www.")===0?T.slice(4):T}function y(T){if(!T)return "";let I=T.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(T,window.location.href).hostname||"").toLowerCase()}catch{return ""}}function w(T){if(!T)return "";let I=T,B=I.indexOf("?");B>=0&&(I=I.slice(0,B));let R=I.indexOf("#");R>=0&&(I=I.slice(0,R)),I=I.toLowerCase();for(let $=0;$<h.length;$++){let M=h[$];if(I.length>=M.length&&I.slice(I.length-M.length)===M)return M}return ""}function E(T){let I=[],B=(T.getAttribute("aria-label")||"").trim();B&&I.push(B);let R=(T.getAttribute("title")||"").trim();R&&I.push(R);let $=T.getAttribute("aria-labelledby");if($)try{let M=typeof __resolveIdRefs=="function"?__resolveIdRefs($):"";M&&I.push(M);}catch{}return I.push((T.textContent||"").trim()),I.join(" ").toLowerCase()}function C(T,I,B){let R="";try{typeof getAccessibleName=="function"&&(R=(getAccessibleName(T)||"").trim());}catch{}let $=(I||B||R||T.textContent||"").replace(/\s+/g," ").trim();return $||(T.getAttribute("href")||"").trim().replace(/^https?:\/\//i,"").replace(/\/+$/,"")}let x=(document.documentElement.getAttribute("lang")||"").trim();function b(T){return "current name: "+T.slice(0,200)+(x?" | page language: "+x:"")+" | keep the current name and add the notice, in the page language"}let _=document.querySelectorAll("a"),D=_.length;for(let T=0;T<D&&!(c.length>=50);T++){let I=_[T];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 B=I.getAttribute("href");if(B==null)continue;let R=String(B).trim();if(!R)continue;let $=R.toLowerCase(),M=E(I),H=(I.getAttribute("rel")||"").toLowerCase(),ee=uniqueSel(I),N=(I.getAttribute("target")||"").toLowerCase(),F=(I.outerHTML||"").slice(0,300);if(R==="#"||$.indexOf("javascript:")===0||R.charAt(0)==="#"&&R.length>1)continue;let S=w($);if(S){let W=I.hasAttribute&&I.hasAttribute("download"),Z=M.indexOf(S)>=0||new RegExp("\\b"+S.slice(1)+"\\b").test(M)||M.indexOf("download")>=0;if(!W&&!Z){let ne=C(I,(I.getAttribute("aria-label")||"").trim(),"");c.push({selector:ee,attribute:"aria-label",currentValue:(I.getAttribute("aria-label")||"").trim(),issueType:"download_link_warning",wcag:"3.2.5",context:"download link \u2014 file type "+S+" | href: "+R.slice(0,120)+" | "+b(ne),needsAI:true,outerHtml:F});continue}}let P=y(R),q=$.indexOf("http://")===0||$.indexOf("https://")===0||$.indexOf("//")===0,j=!!P&&!!p&&!m(v(P),v(p));if(N==="_blank"){let W=H.indexOf("noopener")>=0||H.indexOf("noreferrer")>=0,Z=M.indexOf("new window")>=0||M.indexOf("new tab")>=0||M.indexOf("opens in")>=0;if(!Z){let ne=(I.getAttribute("aria-label")||"").trim(),le="",fe=I.getAttribute("aria-labelledby")||"";if(!ne&&fe)try{typeof __resolveIdRefs=="function"&&(le=(__resolveIdRefs(fe)||"").trim());}catch{}let me=C(I,ne,le),oe=[];W||oe.push("missing rel=noopener"),Z||oe.push('missing "new window" hint'),oe.push("href: "+R.slice(0,120)),c.push({selector:ee,attribute:"aria-label",currentValue:(I.getAttribute("aria-label")||"").trim(),issueType:"new_window_link",wcag:"3.2.5",context:oe.join(" | ")+" | opens in a new window | "+b(me),needsAI:true,outerHtml:F});continue}}if(j&&q){let W=H.indexOf("external")>=0,Z=M.indexOf("external")>=0||M.indexOf("opens in")>=0||M.indexOf("new window")>=0||M.indexOf("new tab")>=0;if(!W&&!Z){let ne=(I.getAttribute("aria-label")||"").trim(),le="",fe=I.getAttribute("aria-labelledby")||"";if(!ne&&fe)try{typeof __resolveIdRefs=="function"&&(le=(__resolveIdRefs(fe)||"").trim());}catch{}let me=C(I,ne,le);c.push({selector:ee,attribute:"aria-label",currentValue:(I.getAttribute("aria-label")||"").trim(),issueType:"external_link_warning",wcag:"3.2.5",context:"external: "+P+" (page: "+p+") | href: "+R.slice(0,120)+" | "+b(me),needsAI:true,outerHtml:F});}}}return c},sv={name:"linkWarnings",cap:50,async detect(u){return u.evaluate(GP)}};});var WP,uv,cv=Fe(()=>{WP=()=>{let u="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=ae-exclude],[id*=ae_app],[id*=ae_],[class*=EquallyAI]",h=[],p=new Set,m=document.querySelectorAll('main, [role="main"]'),v=[];return m.forEach(y=>{let w=getComputedStyle(y);w.display!=="none"&&w.visibility!=="hidden"&&v.push(y);}),m.forEach(y=>{if(h.length>=10||y.closest(u)||y.getAttribute("aria-hidden")!=="true")return;let w=getComputedStyle(y);if(w.display==="none"||w.visibility==="hidden"||y.closest('[role="dialog"]')||y.closest('[role="alertdialog"]')||y.closest("dialog")||v.some(b=>b!==y&&b.getAttribute("aria-hidden")!=="true"))return;let C=y.parentElement;for(;C&&C!==document.body&&C!==document.documentElement;){if(C.getAttribute("aria-hidden")==="true")return;C=C.parentElement;}let x=uniqueSel(y);p.has(x)||(p.add(x),h.push({selector:x,attribute:"aria-hidden",currentValue:"true",issueType:"main_content_hidden",wcag:"4.1.2",context:JSON.stringify({tag:y.tagName.toLowerCase(),role:y.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:(y.outerHTML||"").slice(0,300)}));}),h},uv={name:"mainContentHidden",cap:10,async detect(u){return u.evaluate(WP)}};});var UP,dv,fv=Fe(()=>{UP=()=>{let c=[];function h(y){return !!(!y||isWidget(y)||(y.getAttribute("aria-hidden")||"").trim().toLowerCase()==="true")}function p(y){return (y.outerHTML||"").slice(0,300)}let m=document.querySelectorAll("video");for(let y of m){if(c.length>=10)break;let w=y;if(h(w))continue;let E=w.hasAttribute("controls"),C=w.hasAttribute("autoplay"),x=w.hasAttribute("muted"),b=C||!w.paused&&!w.ended,_=typeof isVisible=="function"?isVisible(w):true;if(!E&&b&&_&&(c.push({selector:uniqueSel(w),attribute:"controls",currentValue:"",issueType:"missing_media_controls",wcag:"2.2.2",context:"video element missing player controls",needsAI:false,fixValue:"",outerHtml:p(w)}),c.length>=10))break;C&&!x&&c.push({selector:uniqueSel(w),attribute:"muted",currentValue:"",issueType:"unsafe_autoplay",wcag:"1.4.2",context:"video autoplays with sound \u2014 add muted",needsAI:false,fixValue:"",outerHtml:p(w)});}let v=document.querySelectorAll("audio");for(let y of v){if(c.length>=10)break;let w=y;if(h(w))continue;let E=w.hasAttribute("controls"),C=w.hasAttribute("autoplay"),x=C||!w.paused&&!w.ended;if(!E&&x&&(c.push({selector:uniqueSel(w),attribute:"controls",currentValue:"",issueType:"missing_media_controls",wcag:"2.2.2",context:"audio element missing player controls",needsAI:false,fixValue:"",outerHtml:p(w)}),c.length>=10))break;C&&c.push({selector:uniqueSel(w),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:p(w)});}return c},dv={name:"mediaControls",cap:10,async detect(u){return u.evaluate(UP)}};});var XP,pv,mv=Fe(()=>{XP=()=>{let u="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",h=[],p=[],m=/^(image|photo|img|picture|pic|untitled|banner|hero|\d{1,2})$/i,v=/^(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,y=/pixel|track|beacon|doubleclick|facebook\.com\/tr\b/i,w=(b,_)=>{let D=b.getAttribute(_);if(D===null)return false;let T=parseFloat(D);return !isNaN(T)&&T<=1},E=document.querySelectorAll("img");for(let b of E){if(h.length>=50)break;if(b.closest(u)||b.closest("template, noscript, script"))continue;let _=b.getAttribute("src")||"",D=b.getAttribute("alt");if(_.startsWith("data:")||w(b,"width")||w(b,"height"))continue;let T=b.naturalWidth||0,I=b.naturalHeight||0;if(T>0&&I>0&&T<=3&&I<=3||b.getAttribute("role")==="presentation"||b.getAttribute("role")==="none"||b.getAttribute("aria-hidden")==="true")continue;let B=T||b.width,R=I||b.height,$=b.getBoundingClientRect(),M=!isVisible(b)||B<=2&&R<=2||$.width<=2&&$.height<=2||!!b.closest('[aria-hidden="true"]');if(M&&(D!==null||p.length>=50||y.test(_)))continue;let H=(b.getAttribute("aria-label")||"").trim(),ee=(b.getAttribute("aria-labelledby")||"").trim();if(H||ee)continue;if(D===null){let q=uniqueSel(b),j=getNearbyContext(b),W=[],Z=b.closest("figure");if(Z){let me=Z.querySelector("figcaption");me&&W.push("figcaption: "+(me.textContent||"").trim().slice(0,80));}j.nearbyHeading&&W.push("heading: "+j.nearbyHeading);let ne=b.closest("a");if(ne){let me=ne.getAttribute("href")||"",oe=(ne.textContent||"").trim().replace(/\s+/g," ");oe&&W.push("link text: "+oe.slice(0,60)),me&&W.push("link href: "+me.slice(0,80));}_&&W.push("src: "+_.slice(0,120)),W.push("parent: "+j.parentTag);let le=_;try{le=new URL(_,document.baseURI).href;}catch{}(M?p:h).push({selector:q,attribute:"alt",currentValue:"",issueType:"missing_alt",wcag:"1.1.1",context:W.join(" | "),needsAI:true,imageSrc:le,outerHtml:b.outerHTML.slice(0,300)});continue}let N=(D||"").trim();if(N==="")continue;let F=/\.(jpg|jpeg|png|gif|webp|svg|bmp|ico)$/i.test(N),S=m.test(N),P=v.test(N);if(F||S||P){let q=uniqueSel(b),j=getNearbyContext(b),W=[];j.nearbyHeading&&W.push("heading: "+j.nearbyHeading),_&&W.push("src: "+_.slice(0,120)),W.push("parent: "+j.parentTag);let Z=_;try{Z=new URL(_,document.baseURI).href;}catch{}h.push({selector:q,attribute:"alt",currentValue:N,issueType:"missing_alt",wcag:"1.1.1",context:W.join(" | "),needsAI:true,imageSrc:Z,outerHtml:b.outerHTML.slice(0,300)});}}let C=globalThis;for(let b of Array.from(document.querySelectorAll("object"))){if(h.length>=50)break;if(b.closest(u)||b.closest('[aria-hidden="true"]')||b.getAttribute("aria-hidden")==="true")continue;let _=(b.getAttribute("role")||"").trim().toLowerCase();if(_==="presentation"||_==="none"||!C.isVisible(b))continue;let D=b.getAttribute("data")||"",T=(b.getAttribute("type")||"").trim().toLowerCase(),I=T.startsWith("image/"),B=/\.(png|jpe?g|gif|webp|bmp|svg)(\?[^#]*)?(#.*)?$/i.test(D);if(!D||!(I||!T&&B)||(b.getAttribute("aria-label")||"").trim()||(b.getAttribute("title")||"").trim())continue;let R=(b.getAttribute("aria-labelledby")||"").trim();R&&R.split(/\s+/).some($=>(document.getElementById($)?.textContent||"").trim())||b.closest('a, button, [role="button"], [role="link"]')||h.push({selector:C.uniqueSel(b),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: "+D.slice(0,120),needsAI:false,outerHtml:b.outerHTML.slice(0,300)});}let x=Array.from(document.querySelectorAll("script:not([src])")).map(b=>b.textContent||"");for(let b of Array.from(document.querySelectorAll("canvas"))){if(h.length>=50)break;if(b.closest(u)||b.closest('[aria-hidden="true"]')||b.getAttribute("aria-hidden")==="true")continue;let _=(b.getAttribute("role")||"").trim().toLowerCase();if(_==="presentation"||_==="none"||!C.isVisible(b)||(b.getAttribute("aria-label")||"").trim()||(b.getAttribute("aria-labelledby")||"").trim()||(b.getAttribute("title")||"").trim()||(b.textContent||"").trim()||b.children.length||b.closest('a, button, label, figure, [role="img"], [role="button"], [role="link"], [aria-label], [aria-labelledby], [aria-describedby]'))continue;let D=b.getBoundingClientRect();if(D.width<=30||D.height<=30)continue;let T=b.getAttribute("id");if(!T)continue;let I=new RegExp("#"+T.replace(/[^\w-]/g,"")+`\\b|getElementById\\(\\s*['"]`+T.replace(/[^\w-]/g,"")+`['"]`);x.some(R=>I.test(R)&&/\b(fillText|strokeText)\s*\(/.test(R))&&h.push({selector:C.uniqueSel(b),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:b.outerHTML.slice(0,300)});}for(let b of p){if(h.length>=50)break;h.push(b);}return h},pv={name:"missingAlt",cap:50,async detect(u){return u.evaluate(XP)}};});var JP,hv,gv=Fe(()=>{JP=()=>{let u="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=EquallyAI],[id*=ae_],[class*=ae-exclude]",c='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"]',h=["onclick","data-action","ng-click","@click","v-on:click"],p=D=>{if(getComputedStyle(D).visibility==="hidden")return false;for(let T=D;T&&T.nodeType===1;T=T.parentElement)if(getComputedStyle(T).display==="none")return false;return true},m=D=>Array.prototype.some.call(D.querySelectorAll("a:not([href])"),T=>p(T)&&!isHiddenFromAT(T)&&h.some(I=>T.hasAttribute(I))),v=D=>Array.prototype.some.call(D.querySelectorAll(c),T=>p(T)&&!isHiddenFromAT(T)),w=[];return document.querySelectorAll("div[onclick], span[onclick]").forEach(D=>{if(w.length>=50||D.closest(u)||!isVisible(D)||isHiddenFromAT(D)||v(D)||m(D))return;let T=D.getAttribute("role");if(T==="button"||T==="link"||T==="tab"||T==="menuitem"||T==="checkbox"||T==="radio")return;let I=uniqueSel(D),B=D.outerHTML.slice(0,300);w.push({selector:I,attribute:"role",currentValue:T||"",issueType:"missing_button_role",wcag:"4.1.2",context:JSON.stringify({tag:D.tagName.toLowerCase(),hasOnclick:true,currentTabindex:D.getAttribute("tabindex")}),needsAI:false,fixValue:"button",outerHtml:B}),D.getAttribute("tabindex")===null&&w.push({selector:I,attribute:"tabindex",currentValue:"",issueType:"missing_button_role",wcag:"4.1.2",context:JSON.stringify({tag:D.tagName.toLowerCase(),supplementary:'tabindex needed alongside role="button"'}),needsAI:false,fixValue:"0",outerHtml:B});}),document.querySelectorAll("a:not([href])").forEach(D=>{if(w.length>=50||D.closest(u)||!isVisible(D)||isHiddenFromAT(D)||D.getAttribute("role"))return;let I=D.hasAttribute("onclick"),B=D.getAttribute("data-action")||D.getAttribute("ng-click")||D.getAttribute("@click")||D.getAttribute("v-on:click");if(!I&&!B||v(D))return;let R=uniqueSel(D),$=D.outerHTML.slice(0,300);w.push({selector:R,attribute:"role",currentValue:"",issueType:"missing_button_role",wcag:"4.1.2",context:JSON.stringify({tag:"a",href:D.getAttribute("href")||"",hasOnclick:I}),needsAI:false,fixValue:"button",outerHtml:$});}),document.querySelectorAll("nav, ol, ul").forEach(D=>{if(w.length>=50||D.closest(u)||!isVisible(D)||isHiddenFromAT(D))return;let T=(D.className&&typeof D.className=="string"?D.className:"").toLowerCase(),I=(D.getAttribute("id")||"").toLowerCase();if(!T.includes("breadcrumb")&&!T.includes("crumb")&&!I.includes("breadcrumb")&&!I.includes("crumb"))return;let B=D.querySelectorAll("a");if(B.length<2)return;let R=(D.getAttribute("aria-label")||"").toLowerCase(),$=D.getAttribute("role");if(R.includes("breadcrumb")||R.includes("crumb")||$==="navigation"&&R)return;let M=uniqueSel(D);w.push({selector:M,attribute:"aria-label",currentValue:R,issueType:"missing_semantic_role",wcag:"4.1.2",context:JSON.stringify({tag:D.tagName.toLowerCase(),reason:"breadcrumb navigation missing aria-label",linkCount:B.length,pageLang:(document.documentElement.getAttribute("lang")||"").trim(),links:Array.prototype.slice.call(B,0,6).map(H=>(H.textContent||"").trim().slice(0,40)),otherLandmarkLabels:Array.prototype.slice.call(document.querySelectorAll('nav[aria-label], [role="navigation"][aria-label], [role="region"][aria-label], aside[aria-label]'),0,8).filter(H=>H!==D).map(H=>(H.getAttribute("aria-label")||"").trim().slice(0,60))}),needsAI:true,outerHtml:D.outerHTML.slice(0,300)});}),document.querySelectorAll("form, section, div").forEach(D=>{if(w.length>=50||D.closest(u)||!isVisible(D)||isHiddenFromAT(D))return;let T=(D.className&&typeof D.className=="string"?D.className:"").toLowerCase(),I=(D.getAttribute("id")||"").toLowerCase();if(!T.includes("search")&&!I.includes("search")||!D.querySelector('input[type="search"], input[type="text"], input[name*="search"], input[placeholder*="earch"]'))return;let R=D.getAttribute("role");if(R==="search"||D.closest('[role="search"]')||D.querySelector('[role="search"]')||Array.prototype.some.call(D.querySelectorAll("form, section, div"),H=>{let ee=(H.className&&typeof H.className=="string"?H.className:"").toLowerCase(),N=(H.getAttribute("id")||"").toLowerCase();return !ee.includes("search")&&!N.includes("search")||H.getAttribute("role")==="search"?false:!!H.querySelector('input[type="search"], input[type="text"], input[name*="search"], input[placeholder*="earch"]')}))return;let M=uniqueSel(D);w.push({selector:M,attribute:"role",currentValue:R||"",issueType:"missing_semantic_role",wcag:"4.1.2",context:JSON.stringify({tag:D.tagName.toLowerCase(),reason:'search section missing role="search"'}),needsAI:false,fixValue:"search",outerHtml:D.outerHTML.slice(0,300)});}),document.querySelectorAll('[role="menu"], [role="menubar"]').forEach(D=>{if(D.closest(u))return;let T=D.getAttribute("role")||"menu",I=Array.from(D.querySelectorAll("a")).filter(R=>{if(!isVisible(R)||isHiddenFromAT(R))return false;let $=R.getAttribute("role");return $!=="menuitem"&&$!=="menuitemcheckbox"&&$!=="menuitemradio"});if(I.length===0)return;let B=uniqueSel(D);w.push({selector:B,attribute:"role",currentValue:T,issueType:"missing_semantic_role",wcag:"4.1.2",context:JSON.stringify({tag:D.tagName.toLowerCase(),reason:`${I.length} link(s) inside role="${T}" without menuitem roles`,sample:I.slice(0,3).map(R=>(R.textContent||"").trim().slice(0,40))}),message:`container role="${T}" 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:D.outerHTML.slice(0,300)});}),w},hv={name:"missingRoles",cap:50,async detect(u){return u.evaluate(JP)}};});var KP,vv,bv=Fe(()=>{KP=()=>{let u="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye]",h=[],p={main:'main, [role="main"]',navigation:'nav, [role="navigation"]',banner:'header, [role="banner"]',contentinfo:'footer, [role="contentinfo"]',complementary:'aside, [role="complementary"]',search:'[role="search"]'};for(let[m,v]of Object.entries(p))document.querySelectorAll(v).forEach(w=>{if(h.length>=30||w.closest(u)||typeof isVisible=="function"&&!isVisible(w))return;let E=w.parentElement,C=null;for(;E&&E!==document.body;){if(E.matches(v)){C=E;break}E=E.parentElement;}if((m==="banner"||m==="contentinfo")&&w.closest("article, section, aside, main, nav")||!C||w.getAttribute("aria-label")?.trim()||w.getAttribute("aria-labelledby")?.trim())return;let x=typeof uniqueSel=="function"?uniqueSel(w):"",b=typeof getNearbyContext=="function"?getNearbyContext(w):{nearbyHeading:""};h.push({selector:x,attribute:"role",currentValue:w.getAttribute("role")||w.tagName.toLowerCase(),issueType:"nested_landmark",wcag:"1.3.1",context:`nested-in: ${m} | tag: ${w.tagName.toLowerCase()} | heading: ${b.nearbyHeading||""}`,needsAI:false,fixValue:"generic",outerHtml:(w.outerHTML||"").slice(0,300)});});return h},vv={name:"nestedLandmarks",cap:30,async detect(u){return u.evaluate(KP)}};});var YP,yv,wv=Fe(()=>{YP=()=>{let c=[],h=N=>typeof parseCssColor=="function"?parseCssColor(N):null,p=(N,F,S)=>typeof relLuminance=="function"?relLuminance(N,F,S):0,v=(N,F)=>typeof contrastRatio=="function"?contrastRatio(N,F):1;function y(N){let S=[0,0,0],P=0,q=W=>{let Z=h(W||"");if(!Z)return;let ne=Math.max(0,Math.min(1,Z[3]));if(ne<=0)return;let le=ne*(1-P);S[0]+=Z[0]*le,S[1]+=Z[1]*le,S[2]+=Z[2]*le,P+=le;};for(let W=N.parentElement;W&&P<.999999999;W=W.parentElement)q(getComputedStyle(W).backgroundColor);let j=1-P;return [Math.round(Math.min(255,S[0]+255*j)),Math.round(Math.min(255,S[1]+255*j)),Math.round(Math.min(255,S[2]+255*j))]}function w(N,F,S){return "#"+[N,F,S].map(P=>{let q=Math.max(0,Math.min(255,Math.round(P))).toString(16);return q.length===1?"0"+q:q}).join("")}function E(N,F,S){let P=p(F[0],F[1],F[2])>.5;return C(N,F,S,P)||C(N,F,S,!P)}function C(N,F,S,P){let q=0,j=1,W=null;for(let Z=0;Z<20;Z++){let ne=(q+j)/2,le=P?[N[0]*(1-ne),N[1]*(1-ne),N[2]*(1-ne)]:[N[0]+(255-N[0])*ne,N[1]+(255-N[1])*ne,N[2]+(255-N[2])*ne],fe=[Math.round(le[0]),Math.round(le[1]),Math.round(le[2])];v(fe,F)>=S?(W=fe,j=ne):q=ne;}return W}let x=(N,F)=>{let S=Math.max(0,Math.min(1,N[3]));return [N[0]*S+F[0]*(1-S),N[1]*S+F[1]*(1-S),N[2]*S+F[2]*(1-S)]};function b(N,F){let S=N.boxShadow||"";if(!S||S==="none")return null;let P=[],q=0,j="";for(let Z of S)Z==="("&&q++,Z===")"&&q--,Z===","&&q===0?(P.push(j),j=""):j+=Z;j&&P.push(j);let W=null;for(let Z of P){let ne=Z.match(/rgba?\([^)]*\)/),le=ne?h(ne[0]):null;if(!le||le[3]<=0||(Z.replace(/rgba?\([^)]*\)/,"").replace("inset","").trim().split(/\s+/).map(L=>parseFloat(L)).filter(L=>Number.isFinite(L))[3]??0)<=0)continue;let oe=v(x(le,F),F);(W===null||oe>W)&&(W=oe);}return W}function _(N){let F=getComputedStyle(N),S=y(N),P=null,q=parseFloat(F.borderTopWidth||"0"),j=(F.borderTopStyle||"").toLowerCase(),W=h(F.borderTopColor||"");q>0&&j!=="none"&&j!=="hidden"&&W&&W[3]>0&&(P=v(x(W,S),S));let Z=h(F.backgroundColor||"");if(Z&&Z[3]>0){let le=v(x(Z,S),S);(P===null||le>P)&&(P=le);}let ne=b(F,S);return ne!==null&&(P===null||ne>P)&&(P=ne),P}function D(N){let F=N.getBoundingClientRect();if(F.width*F.height<=0)return null;let S='input, select, textarea, button, [role="button"], svg, img, i, label',P=N.parentElement,q=null;for(let j=0;P&&j<3&&!(P===document.body||P===document.documentElement);j++,P=P.parentElement){let W=P.getBoundingClientRect();if(W.width*W.height>4*F.width*F.height+1||W.height>Math.max(2.5*F.height,F.height+40))break;let Z=false,ne=document.createTreeWalker(P,4),le=ne.nextNode();for(;le;){if((le.textContent||"").trim()&&le.parentElement&&!le.parentElement.closest(S)&&isVisible(le.parentElement)){Z=true;break}le=ne.nextNode();}if(Z)break;let fe=_(P);fe!==null&&fe>1.01&&(q===null||fe>q)&&(q=fe);}return q}let T=N=>/^(img|picture|video|canvas|object|embed|iframe)$/.test((N.tagName||"").toLowerCase())||(getComputedStyle(N).backgroundImage||"none")!=="none",I=(N,F)=>{let S=Math.min(N.right,F.right)-Math.max(N.left,F.left),P=Math.min(N.bottom,F.bottom)-Math.max(N.top,F.top);return S>0&&P>0&&S*P/(N.width*N.height)>=.5},B=null;function R(N){let F=N.getBoundingClientRect();if(F.width*F.height<=0)return false;let S=F.left+F.width/2,P=F.top+F.height/2;if(S>=0&&P>=0&&S<window.innerWidth&&P<window.innerHeight&&typeof document.elementsFromPoint=="function"){let j=document.elementsFromPoint(S,P),W=j.indexOf(N);if(W>=0){for(let Z of j.slice(W+1)){if(T(Z))return true;let ne=h(getComputedStyle(Z).backgroundColor||"");if(ne&&ne[3]>.5)return false}return false}}for(let j=N.parentElement,W=0;j&&W<8;j=j.parentElement,W++){let Z=getComputedStyle(j);if((Z.backgroundImage||"none")!=="none")return true;let ne=h(Z.backgroundColor||"");if(ne&&ne[3]>.5||j===document.documentElement)break}B||(B=Array.from(document.querySelectorAll("img, picture, video, canvas, object, embed, iframe")));for(let j of B)if(!(j===N||N.contains(j)||j.contains(N))&&I(F,j.getBoundingClientRect())&&isVisible(j))return true;let q=N.offsetParent||N.parentElement;if(q&&q!==document.body&&q!==document.documentElement){let j=q.getElementsByTagName("*");for(let W=0;W<j.length&&W<400;W++){let Z=j[W];if(!(Z===N||N.contains(Z)||Z.contains(N))&&I(F,Z.getBoundingClientRect())&&(getComputedStyle(Z).backgroundImage||"none")!=="none"&&isVisible(Z))return true}}return false}function $(N){for(let q=N.parentElement;q&&q.nodeType===1;q=q.parentElement)if(parseFloat(getComputedStyle(q).opacity||"1")<1)return false;let F=q=>{if(q.tagName.toLowerCase()!=="svg"){let Z=h(getComputedStyle(q).color||"");return Z&&Z[3]>0?[Z]:null}let j=[],W=Array.from(q.querySelectorAll("path, rect, circle, ellipse, polygon, polyline, line, text, use"));for(let Z of W){let ne=Z.getBoundingClientRect();if(ne.width===0&&ne.height===0)continue;let le=getComputedStyle(Z);if(le.display==="none"||le.visibility==="hidden"||parseFloat(le.opacity||"1")<1)return null;for(let[fe,me]of [[le.fill,le.fillOpacity],[le.stroke,parseFloat(le.strokeWidth||"0")>0?le.strokeOpacity:"0"]]){let oe=String(fe||"");if(!oe||oe==="none"||parseFloat(String(me??"1"))===0)continue;if(oe.startsWith("url"))return null;let L=h(oe);if(!L)return null;L[3]*=parseFloat(String(me??"1")),L[3]>0&&j.push(L);}}return j.length?j:null},S=[];for(let q=0;q<=255;q+=17)S.push(q);let P=Array.from(N.querySelectorAll('svg, i[class], [class*="icon"]'));for(let q of P){let j=q.getBoundingClientRect();if(j.width*j.height===0)continue;let W=getComputedStyle(q);if(W.display==="none"||W.visibility==="hidden")continue;let Z=F(q);if(!Z)continue;let ne=null,le=1,fe=true;for(let L=q;L;L=L===N?null:L.parentElement){let z=getComputedStyle(L),K=parseFloat(z.opacity||"1");if(!ne){let J=h(z.backgroundColor||""),Y=String(z.backgroundClip||"border-box").toLowerCase();if(!(String(z.backgroundImage||"none")==="none")){fe=false;break}if(J&&J[3]>=1&&Y==="border-box")ne=[J[0],J[1],J[2]];else if(K<1){fe=false;break}}ne&&(le*=K);}if(!ne||!fe)continue;let me=ne,oe=1/0;for(let L of Z){let z=x(L,me);for(let K of S)for(let J of S)for(let Y of S){let ie=[K,J,Y],be=x([z[0],z[1],z[2],le],ie),Pe=x([me[0],me[1],me[2],le],ie),Re=v(be,Pe);Re<oe&&(oe=Re);}}if(oe>=3)return true}return false}let M="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 H(N){let F=N.tagName.toLowerCase(),S=F==="input"||F==="select"||F==="textarea"?F+" field":F;c.push({selector:uniqueSel(N),message:"non-text contrast: "+S+" over an image backdrop \u2014 "+M,attribute:"style",currentValue:"?",issueType:"non_text_contrast_insufficient",wcag:"1.4.11",context:F+" backdrop=image needs=3",needsAI:false,needsReview:true,reviewReason:M,outerHtml:N.outerHTML.slice(0,200)});}let ee=document.querySelectorAll('input:not([type="hidden"]), select, textarea, button, [role="button"], [role="checkbox"], [role="radio"], [role="switch"]');for(let N of ee){if(c.length>=30)break;if(isWidget(N)||isHiddenFromAT(N)||!isVisible(N))continue;let F=getComputedStyle(N),S=y(N),P=h(F.backgroundColor||""),q=h(F.borderTopColor||""),j=parseFloat(F.borderTopWidth||"0"),W=(F.borderTopStyle||"").toLowerCase(),Z=j>0&&W!=="none"&&W!=="hidden",ne=N.tagName.toLowerCase(),le=ne==="input"||ne==="select"||ne==="textarea",fe=null;if(ne==="input"){let At=(N.type||"").toLowerCase(),_t=(F.appearance||F.webkitAppearance||"").toLowerCase();if(At==="checkbox"||At==="radio"){let kt=_t==="none"?"":String(F.accentColor||"").trim().toLowerCase(),Pt=kt&&kt!=="auto"?h(kt):null;if(Pt&&Pt[3]>.5)fe=v(x(Pt,S),S);else if(_t&&_t!=="none")continue}}let me=Z&&q&&q[3]>.5?v(x(q,S),S):null,oe=P&&P[3]>.5?v(x(P,S),S):fe,L=b(F,S),z=me===null&&oe===null&&L===null?null:Math.max(me??0,oe??0,L??0);if(le&&R(N)){H(N);continue}if(le&&(z===null||z<3)){let At=D(N);if(At!==null&&At>=3)continue}let K=null,J=false,Y="",ie=null;if(le)z!==null?(K=z,z<3&&(J=true)):(J=true,K=1);else {let At=false,_t=document.createTreeWalker(N,4),kt=_t.nextNode();for(;kt;){if((kt.textContent||"").trim()&&kt.parentElement&&isVisible(kt.parentElement)){At=true;break}kt=_t.nextNode();}if(At)continue;let Pt=R(N);{let Ae=["Top","Right","Bottom","Left"].map(it=>({w:parseFloat(F["border"+it+"Width"]||"0"),s:String(F["border"+it+"Style"]||"").toLowerCase(),c:h(F["border"+it+"Color"]||"")})),Ge=Ae.filter(it=>it.w>0&&it.s!=="none"&&it.s!=="hidden"&&it.c&&it.c[3]>.5),ct=Ae.filter(it=>it.w>0&&it.s!=="none"&&it.s!=="hidden"&&it.c&&it.c[3]===0),gt=true;for(let it=N.parentElement;it&&it.nodeType===1;it=it.parentElement)if(parseFloat(getComputedStyle(it).opacity||"1")<1){gt=false;break}let Dt=Math.max(0,Math.min(1,parseFloat(F.opacity||"1"))),bt=String(F.backgroundClip||"border-box").toLowerCase(),lt=!!P&&P[3]>=1&&Dt>=1&&bt==="border-box";if(Ge.length&&ct.length&&gt&&(!Pt||lt)){let it=P&&P[3]>0?x(P,S):S,Gr=x([it[0],it[1],it[2],Dt],S),Ut=_a=>{let Da=x(_a,it);return x([Da[0],Da[1],Da[2],Dt],S)};if(Ge.some(_a=>v(Ut(_a.c),Gr)>=3))continue}}if(Pt){if($(N))continue;H(N);continue}let We=Array.from(N.querySelectorAll('img, svg, picture, canvas, i[class], [class*="icon"]')),Mt=new Map,jn=Ae=>{let Ge=Ae.getBoundingClientRect();if(Ge.width*Ge.height===0)return "absent";let ct=parseFloat(getComputedStyle(N).opacity||"1");for(let gt=Ae;gt&&gt!==N;gt=gt.parentElement){let Dt=getComputedStyle(gt);if(Dt.display==="none")return "absent";if(Dt.visibility==="hidden"||parseFloat(Dt.opacity||"1")===0)return "hidden-at-rest";ct*=parseFloat(Dt.opacity||"1");}return Mt.set(Ae,ct),"painted"},dt=We.map(jn),Zt=We.filter((Ae,Ge)=>dt[Ge]==="painted"),zr=Zt.length>0,ye=!zr&&dt.includes("hidden-at-rest"),ue=Ae=>{let Ge=(Ae.tagName||"").toLowerCase();if(Ge==="img"||Ge==="picture"||Ge==="canvas"||Ge==="svg"&&Ae.querySelector("image, foreignObject, linearGradient, radialGradient, pattern"))return null;let ct=[];if(Ge==="svg"){let Dt=Ae.querySelector("path, circle, rect, polygon, polyline, line, ellipse, use, text");for(let bt of [Dt,Ae]){if(!bt)continue;let lt=getComputedStyle(bt),it=1;for(let Ut=bt;Ut&&Ut!==Ae;Ut=Ut.parentElement||Ut.parentNode)it*=parseFloat(getComputedStyle(Ut).opacity||"1");let Gr=Ut=>Number.isFinite(parseFloat(Ut))?parseFloat(Ut):1;if(lt.fill&&lt.fill!=="none"&&!lt.fill.startsWith("url")&&ct.push({color:lt.fill,alpha:it*Gr(lt.fillOpacity)}),lt.stroke&&lt.stroke!=="none"&&!lt.stroke.startsWith("url")&&parseFloat(lt.strokeWidth||"0")>0&&ct.push({color:lt.stroke,alpha:it*Gr(lt.strokeOpacity)}),ct.length)break}}else ((Ae.textContent||"").trim()||getComputedStyle(Ae,"::before").content!=="none")&&ct.push({color:getComputedStyle(Ae).color,alpha:1});let gt=null;for(let Dt of ct){let bt=h(Dt.color);if(!bt)continue;let lt=bt[3]*Dt.alpha*(Mt.get(Ae)??1),it=[bt[0]*lt+S[0]*(1-lt),bt[1]*lt+S[1]*(1-lt),bt[2]*lt+S[2]*(1-lt)],Gr=v(it,S);(gt===null||Gr>gt)&&(gt=Gr);}return gt};if(zr){let Ae=Zt.map(ue);if(Ae.some(Ge=>Ge!==null&&Ge>=3))continue;ie={glyphRatiosAgainstPage:Ae.map(Ge=>Ge===null?null:Math.round(Ge*100)/100),glyphOnOwnFillMeets3to1:$(N)};}let he=false,De=F.position;if((De==="absolute"||De==="fixed")&&N.parentElement){let Ae=N.getBoundingClientRect(),Ge=N.parentElement.getBoundingClientRect(),ct=Ge.width*Ge.height;ct>0&&Ae.width*Ae.height/ct>=.85&&(he=true);}if(zr||he||ye){if(J=true,K=Z&&q&&q[3]>.5?v(x(q,S),S):1,K>=3)continue;Y=zr?"control is identified by an image or icon \u2014 verify the graphic itself has 3:1 contrast against its surroundings":ye?"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 z!==null?(K=z,z<3&&(J=true)):(J=true,K=1);}if(!J)continue;let be=q&&q[3]>.5?[q[0],q[1],q[2]]:P&&P[3]>.5?[P[0],P[1],P[2]]:[128,128,128],Pe=E(be,S,3);if(!Pe)continue;let Re=w(Pe[0],Pe[1],Pe[2]),pe=w(S[0],S[1],S[2]),Be="border: 1px solid "+Re+" !important;",at=uniqueSel(N),ze=N.tagName.toLowerCase(),ft=z===null&&!Z?"invisible (no border, no fill: 1.00:1)":K?K.toFixed(2)+":1":"not measurable",It=ze==="input"||ze==="select"||ze==="textarea"?ze+" field":ze,Se=Y?"non-text contrast: "+It+" boundary is "+ft+" against "+pe+" (needs 3:1) \u2014 "+Y:"non-text contrast: "+It+" boundary (border and fill) is "+ft+" against "+pe+", needs 3:1 \u2014 e.g. border-color "+Re;c.push({selector:at,message:Se,attribute:"style",currentValue:K?K.toFixed(2):"?",issueType:"non_text_contrast_insufficient",wcag:"1.4.11",context:ze+" bg="+pe+" ratio="+(K?K.toFixed(2):"?")+" needs=3",needsAI:false,...Y?{needsReview:true,reviewReason:Y}:{fixValue:Be},...Y&&ie?{evidence:ie}:{},outerHtml:N.outerHTML.slice(0,200)});}return c},yv={name:"nonTextContrast",cap:30,async detect(u){return u.evaluate(YP)}};});var ZP,xv,Av=Fe(()=>{ZP=()=>{let u="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",h=[],p=/location\s*[=.]|location\s*\.\s*href|\.submit\s*\(|window\s*\.\s*open|history\s*\.\s*(push|replace)/i,m=document.querySelectorAll("[onfocus]");for(let v of Array.from(m)){if(h.length>=20)break;if(v.closest(u))continue;let y=v.getAttribute("onfocus")||"";if(!y||!p.test(y))continue;let w=typeof uniqueSel=="function"?uniqueSel(v):"",E=typeof getNearbyContext=="function"?getNearbyContext(v):{parentTag:v.tagName.toLowerCase(),nearbyHeading:""},C=[];C.push("tag: "+v.tagName.toLowerCase()),C.push("onfocus: "+y.slice(0,100)),E.nearbyHeading&&C.push("heading: "+E.nearbyHeading),C.push("parent: "+E.parentTag),h.push({selector:w,attribute:"onfocus",currentValue:y.slice(0,200),issueType:"onfocus_context_change",wcag:"3.2.1",context:C.join(" | "),needsAI:true,outerHtml:(v.outerHTML||"").slice(0,300)});}return h},xv={name:"onFocus",cap:20,async detect(u){return u.evaluate(ZP)}};});var QP,_v,Dv=Fe(()=>{QP=()=>{let u="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",c=[],h=['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"]'],p=false;for(let B of h){let R=document.querySelector(B);if(R&&!R.closest(u)){p=true;break}}if(!p){let B=document.querySelectorAll('a[href^="#"]');for(let R of B){if(R.closest(u))continue;let $=(R.textContent||"").toLowerCase();if($.includes("skip")&&($.includes("main")||$.includes("content")||$.includes("nav"))){p=true;break}}}if(!p){let B=document.querySelectorAll('button, input[type="button"], input[type="submit"]');for(let R of Array.from(B)){if(R.closest(u))continue;let $=(R.getAttribute("value")||R.textContent||"").trim().toLowerCase();if($.includes("skip")&&($.includes("main")||$.includes("content")||$.includes("nav"))){p=true;break}}}if(!p){let B=document.body?document.body.firstElementChild:null;if(B&&B.matches('main, [role="main"], div#main')){let R=getComputedStyle(B),$=B.getBoundingClientRect();R.display!=="none"&&R.visibility!=="hidden"&&!B.closest('[hidden], [aria-hidden="true"]')&&$.width>0&&$.height>0&&(p=true);}}if(!p){let B=Array.from(document.querySelectorAll('main, [role="main"], div#main'));for(let R of B){let $=getComputedStyle(R);if($.display==="none"||$.visibility==="hidden"||R.closest('[hidden], [aria-hidden="true"]'))continue;if(Array.from(R.querySelectorAll("h1, h2, h3, h4, h5, h6")).some(H=>{let ee=getComputedStyle(H);return ee.display!=="none"&&ee.visibility!=="hidden"&&!H.closest('[hidden], [aria-hidden="true"]')})){p=true;break}}}if(!p&&document.querySelector("nav")){let B=document.querySelectorAll("a, button");for(let R of Array.from(B)){if(R.closest(u))continue;let $=(R.textContent||"").trim().toLowerCase();if(($.includes("toggle")||$.includes("hide")||$.includes("collapse")||$.includes("show"))&&$.includes("content")){p=true;break}}}if(p||Array.from(document.querySelectorAll('main, [role="main"]')).filter(B=>{let R=getComputedStyle(B);if(R.display==="none"||R.visibility==="hidden"||B.closest('[hidden], [aria-hidden="true"]'))return false;let $=B.getBoundingClientRect();return $.width>0&&$.height>0}).length===1)return c;let v="",y=document.querySelector('main[id], [role="main"][id]');if(y&&y.getAttribute("id"))v=y.getAttribute("id");else {let B=document.querySelector("h1[id]");if(B&&B.getAttribute("id"))v=B.getAttribute("id");else {let R=["main-content","maincontent","main","content","skip-content"];for(let $ of R)if(document.getElementById($)){v=$;break}}}let w=v==="",E=v||"main-content",x="<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="#'+E+'" class="wa-skip-link">{TEXT}</a>',b=(document.documentElement.getAttribute("lang")||"").trim(),_=document.querySelector('main, [role="main"]'),D=_?(_.getAttribute("aria-label")||"").trim():"",T=document.querySelector("h1"),I=T?(T.textContent||"").trim().replace(/\s+/g," ").slice(0,80):"";return c.push({selector:"body",attribute:"prepend",currentValue:"",issueType:"skip_link",wcag:"2.4.1",context:(w?'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 #"+E)+(b?" | page language: "+b:"")+(D?" | main landmark label: "+D:"")+(I?" | page heading: "+I:"")+" | html template (replace {TEXT} with the link text, in the page language): "+x,needsAI:true,...w?{manualFix:true}:{}}),c},_v={name:"skipLink",async detect(u){return u.evaluate(QP)}};});var eL,Ev,Cv=Fe(()=>{eL=()=>{let h=[],p=document.querySelectorAll("*"),m=0;for(let v of Array.from(p)){if(m++>5e3||h.length>=20)break;if(v.closest("[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye]")||typeof isVisible=="function"&&!isVisible(v))continue;let w=getComputedStyle(v).backgroundImage||"";if(!w||w==="none"||!w.includes("url("))continue;let E=w.match(/url\((['"]?)(.*?)\1\)/);if(!E)continue;let C=E[2];if(!C||C.startsWith("data:")&&C.length<256)continue;let x=v.getBoundingClientRect();if(x.width<32||x.height<32)continue;let b=v.tagName.toLowerCase(),_=v.getAttribute("role")||"",D=b==="a"||b==="button"||_==="button"||_==="link"||v.closest("a,button,[role=button],[role=link]")!==null,T=(v.textContent||"").trim().length>0,I=!!v.getAttribute("aria-label"),B=!!v.getAttribute("aria-labelledby"),R=!!v.getAttribute("title"),$=!!v.querySelector('img[alt]:not([alt=""])');if(v.closest('[aria-hidden="true"]')){let F=v.closest("a[href]");if(!!F&&Array.from(document.querySelectorAll("a[href]")).some(P=>P!==F&&P.href===F.href&&!P.closest('[aria-hidden="true"]')))continue}if(I||B||R||$||T||!D)continue;let M=v.closest("a,button,[role=button],[role=link]");if(M&&M!==v){let F=(M.textContent||"").trim(),S=M.getAttribute("aria-label")||M.getAttribute("title")||"",P=M.getAttribute("aria-labelledby"),q=!!M.querySelector('img[alt]:not([alt=""])');if(F||S.trim()||P||q)continue}let H=C;try{H=new URL(C,location.href).toString();}catch{continue}let ee=typeof uniqueSel=="function"?uniqueSel(v):"",N=typeof getNearbyContext=="function"?getNearbyContext(v):{parentTag:b,nearbyHeading:""};h.push({selector:ee,attribute:"aria-label",currentValue:"",issueType:"background_image_unlabeled",wcag:"1.1.1",context:`bg: ${H.slice(0,140)} | tag: ${b} | role: ${_||"(none)"} | parent: ${N.parentTag}${N.nearbyHeading?" | heading: "+N.nearbyHeading:""}`,needsAI:true,imageSrc:H,outerHtml:(v.outerHTML||"").slice(0,300)});}return h},Ev={name:"backgroundImages",cap:20,async detect(u){return u.evaluate(eL)}};});var tL,kv,Sv=Fe(()=>{tL=()=>{let u="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye]",h=[];return document.querySelectorAll("svg").forEach(m=>{if(h.length>=50||m.closest(u)||!isVisible(m)||m.getAttribute("aria-hidden")==="true")return;let y=m.getAttribute("role");if(y==="presentation"||y==="none"||m.closest('[aria-hidden="true"]'))return;let w=m.getAttribute("aria-label")||"",E=m.getAttribute("aria-labelledby")||"",C=m.querySelector("title"),x=C?(C.textContent||"").trim():"";if(w.trim()||E.trim()||x)return;let b=m.getBoundingClientRect(),_=b.width<=16&&b.height<=16;if(b.width<=4||b.height<=4||m.getAttribute("preserveAspectRatio")==="none")return;let D=m.closest('a, button, [role="button"], [role="link"], [onclick]');if(D){if(D.getAttribute("aria-label")?.trim()||D.getAttribute("aria-labelledby")?.trim())return;let S=getAccessibleName(D),P=D.cloneNode(true);P.querySelectorAll("svg").forEach(j=>j.remove());let q=(P.textContent||"").trim().replace(/\s+/g," ");if(S&&q.length>0)return}else {if(!/^(img|graphics-document|graphics-symbol)$/i.test((y||"").trim().split(/\s+/)[0])||_)return;let S=m.parentElement;if(S&&(S.textContent||"").trim().replace(/\s+/g," ").length>3)return}let T=uniqueSel(m),I=getNearbyContext(D||m),B=D&&D.getAttribute("href")||"",R=(D||m).outerHTML.slice(0,300),$=m.getAttribute("class")||"",M=m.getAttribute("data-icon")||"",H=D||m,ee=H&&H!==m&&H.getAttribute("class")||"",N=typeof lookupIconLabel=="function"?lookupIconLabel(String($),M,"")||lookupIconLabel(String(ee),"",""):null,F=D?uniqueSel(D):T;h.push({selector:F,attribute:"aria-label",currentValue:"",issueType:"svg_missing_name",wcag:"1.1.1",context:JSON.stringify({parentTag:(D||m).tagName?(D||m).tagName.toLowerCase():"svg",href:B,nearbyHeading:I.nearbyHeading,parentRole:I.parentRole,svgClasses:$,iconLib:N||void 0,suggestion:"Add aria-label to the parent interactive element or <title> inside SVG"}),needsAI:true,outerHtml:R});}),h},kv={name:"svgNames",cap:50,async detect(u){return u.evaluate(tL)}};});var rL,Tv,Rv=Fe(()=>{rL=()=>{let u={"line-height":1.5,"letter-spacing":.12,"word-spacing":.16},c=1e-9,h=Object.keys(u),p=30,m="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",v={px:1,pt:1.333333,pc:16,in:96,cm:37.795,mm:3.7795,q:.37795},y=N=>{let F=[];for(let S of N.split(";")){let P=S.match(/^\s*([-a-zA-Z]+)\s*:\s*(.*?)\s*$/);if(!P)continue;let q=P[1].toLowerCase();if(!h.includes(q))continue;let j=P[2],W=/!\s*important\s*$/i.test(j);j=j.replace(/!\s*important\s*$/i,"").trim(),j&&(q!=="line-height"&&/^[-+]?\d+(\.\d+)?$/.test(j)&&parseFloat(j)!==0||F.push({prop:q,value:j,important:W}));}return F},w=(N,F,S,P)=>{let q=F.trim().toLowerCase();if(/^normal$|^initial$/.test(q))return {kind:"narrow"};if(/^inherit$|^revert$|^unset$/.test(q))return {kind:"notBlocked"};if(q.startsWith("var(")||q.startsWith("calc(")||q.startsWith("env("))return {kind:"undetermined"};if(/^-?[\d.]+$/.test(q)){let le=parseFloat(q);return N==="line-height"?{kind:"ratio",factor:le}:{kind:"ratio",factor:0}}let j=q.endsWith("%")&&/\d/.test(q),W=j?q.slice(0,-1).trim().match(/^([\d.]+)$/):q.match(/^([\d.]+)(em|rem|vw|vh|px|pt|cm|mm|pc|in|q)$/);if(!W)return {kind:"undetermined"};let Z=parseFloat(W[1]);if(j||q.endsWith("em")){let le=P??S;return le&&S&&isFinite(le)&&isFinite(S)&&le>0&&S>0?j?{kind:"ratio",factor:Z/100*(le/S)}:{kind:"ratio",factor:Z*(le/S)}:j?{kind:"ratio",factor:Z/100}:{kind:"ratio",factor:Z}}let ne=q.match(/(rem|vw|vh|px|pt|cm|mm|pc|in|q)$/)?.[1];if(ne==="px"||ne&&v[ne]){let le=ne==="px"?Z:Z*(v[ne]||0);return S===null||!isFinite(S)||S<=0?{kind:"undetermined"}:{kind:"ratio",factor:le/S}}return {kind:"undetermined"}},E=(N,F,S)=>{let P=N;for(;P;){let q=F.get(P);if(q){let j=q.filter(W=>W.prop===S);if(j.length){let W=j.filter(ne=>ne.important);return {decl:W.length?W[W.length-1]:j[j.length-1],from:P}}}P=P.parentElement;}return null},C=N=>{let F=N;for(;F;){let S=F.style;if(S&&(S.display==="none"||S.visibility==="hidden")||S&&(S.position==="absolute"||S.position==="fixed")&&(x(S.top)||x(S.left)))return false;if(S&&(S.overflowX==="scroll"||S.overflowX==="auto")){for(let P=N;P!==F;P=P.parentElement)if(P.style&&b(P.style.width)>=900)return false}F=F.parentElement;}return true},x=N=>{if(!N)return false;let F=N.match(/^(-)([\d.]+)(px|em|rem|vh|vw)$/i);if(!F)return false;let S=parseFloat(F[2]),P=F[3].toLowerCase();return P==="px"?S>=100:P==="em"||P==="rem"?S>=4:S>=10},b=N=>{let F=N?N.match(/^([\d.]+)px$/):null;return F?parseFloat(F[1]):0},_=[],D=[],T=new Map,I=typeof getComputedStyle=="function"?getComputedStyle:null,B=N=>{try{let F=I?I(N).fontSize:"",S=F?F.match(/^([\d.]+)px$/):null;return S?parseFloat(S[1]):null}catch{return null}},R=new Map,$=Array.from(document.querySelectorAll('[style*="important" i]'));for(let N of $)N.closest(m)||R.set(N,y(N.getAttribute("style")||""));for(let N of document.querySelectorAll("body [style]"))N.closest(m)||R.has(N)||R.set(N,y(N.getAttribute("style")||""));let M=[],H=document.createTreeWalker(document.body,1),ee=H.currentNode;for(;ee;)Array.from(ee.childNodes).some(F=>F.nodeType===3&&/\S/.test(F.textContent||""))&&!ee.closest(m)&&M.push(ee),ee=H.nextNode();for(let N of M){if(_.length>=p)break;if(C(N))for(let F of h){let S=E(N,R,F);if(!S||!S.decl.important)continue;let P=B(N),q=S.from===N?P:B(S.from)??P,j=w(F,S.decl.value,P,q);if(!(j.kind==="undetermined"||j.kind==="narrow"||j.kind==="ratio"&&j.factor+c<u[F]))continue;let Z=T.get(S.from);Z||(Z=[],T.set(S.from,Z),D.push({from:S.from,props:Z})),Z.includes(F)||Z.push(F);}}for(let{from:N,props:F}of D){if(_.length>=p)break;let S=typeof uniqueSel=="function"?uniqueSel(N):"",P=typeof getNearbyContext=="function"?getNearbyContext(N):{parentTag:N.parentElement?.tagName.toLowerCase()||"",nearbyHeading:""},q=[];q.push("blocked: "+F.join(",")),q.push("tag: "+N.tagName.toLowerCase()),P.nearbyHeading&&q.push("heading: "+P.nearbyHeading),q.push("parent: "+P.parentTag),_.push({selector:S,attribute:"style",currentValue:(N.getAttribute("style")||"").slice(0,200),issueType:"text_spacing_blocked",wcag:"1.4.12",context:q.join(" | "),needsAI:true,outerHtml:(N.outerHTML||"").slice(0,300)});}return _},Tv={name:"textSpacing",cap:30,async detect(u){return u.evaluate(rL)}};});var nL,Fv,Iv=Fe(()=>{nL=()=>{let u="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",h=[],p=document.querySelectorAll('button, input[type="submit"], input[type="button"], input[type="reset"], [role="button"]');for(let m of p){if(h.length>=50)break;if(m.closest(u)||!isVisible(m))continue;let v=m,y=v.tagName==="INPUT"?(v.getAttribute("type")||"").toLowerCase():"";if(y==="submit"||y==="reset")continue;let w=(v.getAttribute("role")||"").trim().toLowerCase().split(/\s+/)[0];if((w==="none"||w==="presentation")&&v.disabled===true)continue;let E=(v.getAttribute("aria-label")||"").trim(),C=v.getAttribute("aria-labelledby"),x=(v.getAttribute("title")||"").trim(),b=(v.getAttribute("value")||"").trim(),_=(v.textContent||"").trim().replace(/\s+/g," "),D="";C&&(D=typeof __resolveIdRefs=="function"?__resolveIdRefs(C):"");let T=v.querySelector('img[alt]:not([alt=""])'),I=v.querySelector("svg title"),B=v.querySelector("svg[aria-label]");if(!!(E||D||x||b||_||T||I||B))continue;let $=uniqueSel(v),M=getNearbyContext(v),H=v.closest("form"),ee=H&&(H.getAttribute("id")||H.getAttribute("name"))||"",N=v.getAttribute("class")||"",F=v.querySelector('i, svg, span[class*="icon"]'),S=F&&F.getAttribute("class")||"",P=F&&F.getAttribute("data-icon")||"",q=F?(F.textContent||"").trim():"",j=typeof lookupIconLabel=="function"?lookupIconLabel(String(S),P,q):null,W=!j&&typeof lookupIconLabel=="function"?lookupIconLabel(String(N),"",""):null,Z=j||W,ne=[];for(let me of ["type","name","id"]){let oe=(v.getAttribute(me)||"").trim();oe&&ne.push(me+"="+oe.slice(0,40));}let le=[];if(H){let me=(H.getAttribute("action")||"").trim();if(me){let L=me;try{L=new URL(me,document.baseURI).pathname;}catch{}le.push("action: "+L.slice(0,80));}let oe=[];for(let L of H.querySelectorAll("input:not([type=hidden]):not([type=submit]):not([type=button]), textarea, select")){let z=(L.getAttribute("aria-label")||L.getAttribute("placeholder")||L.id&&Array.from(H.querySelectorAll("label[for]")).find(K=>K.getAttribute("for")===L.id)?.textContent||L.getAttribute("name")||"").trim().replace(/\s+/g," ");if(oe.push(z.slice(0,40)||L.getAttribute("type")||L.tagName.toLowerCase()),oe.length>=4)break}oe.length&&le.push("fields: "+oe.join(", "));}let fe=[];ee&&fe.push("form: "+ee),M.nearbyHeading&&fe.push("heading: "+M.nearbyHeading),S&&fe.push("icon: "+String(S).slice(0,80)),N&&fe.push("class: "+String(N).slice(0,80)),fe.push("parent: "+M.parentTag),ne.length&&fe.push("control: "+ne.join(" "));for(let me of le)fe.push("form "+me);Z&&fe.push("icon-hint (glyph name only, not the action): "+Z),h.push({selector:$,attribute:"aria-label",currentValue:"",issueType:"unlabeled_button",wcag:"4.1.2",context:fe.join(" | "),needsAI:true,outerHtml:v.outerHTML.slice(0,300)});}return h},Fv={name:"unlabeledButtons",cap:50,async detect(u){return u.evaluate(nL)}};});var aL,Mv,Pv=Fe(()=>{aL=()=>{let u=new Set(["more","info","click","click here","here","read more","learn more","see more","link","button","this"]),c=new Set(["submit","send","yes","no","next","prev","previous","back","view","details","continue","go","ok","open","close","apply","save"]),h={};function p(M){if(isWidget(M)||!isVisible(M))return;let H=getAccessibleName(M);if(!H)return;let ee=H.toLowerCase().trim();h[ee]=(h[ee]||0)+1;}document.querySelectorAll("a[href]").forEach(M=>p(M));let m=new Set(["fa","fas","far","fab","fal","fad","material-icons","material-symbols","bi","glyphicon"]),v=["fa-","bi-","icon-","icofont-","dashicons-","heroicon","feather-","lucide-","material-"];function y(M){let H=M.toLowerCase();return m.has(H)||v.some(ee=>H.startsWith(ee))}let w=/[\u4e00-\u9fff\u3040-\u30ff\uac00-\ud7af]/;function E(M,H){return w.test(M)?1:H}let C=50,x=[];function b(M){if((M.textContent||"").trim().replace(/\s+/g," ").length>0)return false;let ee=M.querySelectorAll("i, span, em");for(let N of ee)if((typeof N.className=="string"?N.className:"").split(/\s+/).some(y))return true;return false}function _(M){let H=M.className||"";return typeof H!="string"?false:H.split(/\s+/).some(y)}function D(M){if(x.length>=C||isWidget(M)||!isVisible(M))return;let H=getAccessibleName(M);if(!H)return;let ee=H.toLowerCase().trim(),N=false,F=H.length>=2&&/^[A-Z][A-Z0-9]+$/.test(H.trim()),S=/^[[(]?\d{1,4}[\])]?$/.test(H.trim());if(H.length<E(H,3)&&!F&&!S)N=true;else if(u.has(ee))N=true;else if(c.has(ee)&&(h[ee]||0)>=2){let Z=(M.getAttribute("aria-label")||"").trim().toLowerCase(),ne=!!M.getAttribute("aria-labelledby")||!!Z&&Z!==ee,le=M.querySelector&&M.querySelector('.sr-only, .visually-hidden, [class*="sr-only"], [class*="visually-hidden"], [class*="screen-reader"]'),fe=le?(le.textContent||"").trim().toLowerCase():"";!ne&&!(le&&fe!==ee)&&(N=true);}else (b(M)||_(M)&&H.length===0)&&(M.getAttribute("aria-label")||M.getAttribute("aria-labelledby")||M.querySelector&&M.querySelector('.sr-only, .visually-hidden, [class*="sr-only"], [class*="visually-hidden"]')||(N=true));if(!N)return;let P=getNearbyContext(M),q=uniqueSel(M),j=M.getAttribute("href")||"",W=M.outerHTML.slice(0,300);x.push({selector:q,attribute:"aria-label",currentValue:(M.getAttribute("aria-label")||"").trim(),message:"weak link name: "+(M.getAttribute("aria-label")||M.getAttribute("aria-labelledby")?`"${H}" is too generic for a control \u2014 add distinguishing context`:`text "${H}" is too generic for a control \u2014 add distinguishing context`),issueType:"weak_link_name",wcag:"2.4.4",needsReview:true,reviewReason:"WCAG 2.4.4 (AA) judges link purpose in context: the link text together with its sentence, paragraph, list item or table cell (nearbyText). A link whose text names its destination page or topic passes, even as one word in a menu. Fail only generic text (here, more, click here, read more) whose context still does not say where the link goes.",context:JSON.stringify({currentText:H,href:j,nearbyHeading:P.nearbyHeading,parentTag:P.parentTag,parentRole:P.parentRole,cardText:P.cardText||"",imgAlt:P.imgAlt||""}),needsAI:true,outerHtml:W});}document.querySelectorAll("a[href]").forEach(M=>D(M));let T=/^(iframe|embed|widget|frame|content|untitled)$/i;function I(M){return !!(!M||M.getAttribute("aria-hidden")==="true"||M.closest('[aria-hidden="true"]'))}function B(M,H,ee,N,F,S){if(x.length>=C)return;let P=uniqueSel(M),q=(M.outerHTML||"").slice(0,300);x.push({selector:P,attribute:H,currentValue:ee,issueType:N,wcag:F,context:JSON.stringify(S),needsAI:true,outerHtml:q});}let R=document.querySelectorAll("iframe");for(let M=0;M<R.length&&!(x.length>=C);M++){let H=R[M];if(!H||isWidget(H)||I(H))continue;let ee=getComputedStyle(H);if(H.getClientRects().length===0||ee.visibility==="hidden"||ee.visibility==="collapse"||(H.getAttribute("src")||"").trim().toLowerCase().indexOf("javascript:")===0)continue;let N=(H.getAttribute("title")||"").trim();if(!N)continue;let F=N.toLowerCase(),S=false;if((N.length<E(N,3)||T.test(F)||u.has(F))&&(S=true),!S)continue;let P=(H.getAttribute("src")||"").slice(0,120),q=getNearbyContext(H);B(H,"title",N,"weak_iframe_title","4.1.2",{currentTitle:N,src:P,nearbyHeading:q.nearbyHeading,parentTag:q.parentTag});}let $=document.querySelectorAll("svg");for(let M=0;M<$.length&&!(x.length>=C);M++){let H=$[M];if(!H||isWidget(H)||I(H)||H.getAttribute("role")==="presentation"||H.getAttribute("role")==="none"||!isVisible(H))continue;let ee=H.querySelector("title"),N=ee?(ee.textContent||"").trim():"",F=(H.getAttribute("aria-label")||"").trim(),S=F||N;if(!S)continue;let P=S.toLowerCase(),q=false;if((S.length<E(S,3)||u.has(P)||/^(icon|svg|image|graphic|logo)$/i.test(S))&&(q=true),!q)continue;let j=H.closest('a, button, [role="button"], [role="link"]'),W=getNearbyContext(H);B(H,F?"aria-label":"title",S,"weak_svg_name","1.1.1",{currentName:S,svgClasses:H.getAttribute("class")||"",parentTag:j?j.tagName.toLowerCase():W.parentTag,parentHref:j&&j.getAttribute("href")||"",nearbyHeading:W.nearbyHeading});}return x},Mv={name:"weakNames",cap:50,async detect(u){return u.evaluate(aL)}};});var iL,Lv,Ov=Fe(()=>{iL=()=>{let c=[],h=document.querySelector('meta[name="viewport"]');if(h){let m=(h.getAttribute("content")||"").trim(),v=m.toLowerCase(),y=false,w=[];(v.indexOf("user-scalable=no")>=0||v.indexOf("user-scalable=0")>=0)&&(y=true,w.push("user-scalable=no blocks pinch-zoom"));let E=["yes","no","device-width","device-height"],C=v.match(/user-scalable\s*=\s*([a-z][a-z-]*)/);C&&E.indexOf(C[1])<0&&(y=true,w.push("user-scalable="+C[1]+" (invalid, parsed as 0)"));let x=v.match(/maximum-scale\s*=\s*([a-z][a-z-]*)/);x&&E.indexOf(x[1])<0&&(y=true,w.push("maximum-scale="+x[1]+" (invalid, parsed as 0)"));let b=v.match(/maximum-scale\s*=\s*([\d.]+)/);b&&parseFloat(b[1])<2&&(y=true,w.push("maximum-scale="+b[1]+" (<2)")),y&&c.push({selector:'meta[name="viewport"]',attribute:"content",currentValue:m,issueType:"zoom_restriction",wcag:"1.4.4",context:"viewport blocks zoom: "+w.join(" | "),needsAI:false,fixValue:"width=device-width, initial-scale=1"});}let p=[{el:document.documentElement,selector:"html"},{el:document.body,selector:"body"}];for(let m=0;m<p.length&&!(c.length>=5);m++){let v=p[m];if(v.el)try{let w=(getComputedStyle(v.el).getPropertyValue("touch-action")||"").trim().toLowerCase();(w==="none"||w==="pinch-zoom")&&c.push({selector:v.selector,attribute:"style",currentValue:"touch-action: "+w,issueType:"zoom_restriction",wcag:"1.4.4",context:"CSS touch-action: "+w+" on <"+v.selector+"> prevents pinch-zoom",needsAI:!1,fixValue:"touch-action: manipulation !important;"});}catch{}}return c},Lv={name:"zoomUnlock",cap:5,async detect(u){return u.evaluate(iL)}};});var oL,Nv,qv=Fe(()=>{oL=()=>{let c=[],h=document.body?document.body.querySelectorAll("*"):[];for(let p=0;p<h.length&&c.length<10;p++){let m=h[p],v=m.tagName.toLowerCase();if(v==="script"||v==="style"||v==="svg"||v==="textarea"||v==="select")continue;let y="";for(let R=m.firstChild;R;R=R.nextSibling)R.nodeType===3&&(y+=R.nodeValue);if(!y.replace(/\s+/g,"").length)continue;let w=getComputedStyle(m);if(w.display==="none"||w.visibility==="hidden"||w.display==="contents")continue;let E=w.overflowX,C=w.overflowY,x=E==="hidden"||E==="clip",b=C==="hidden"||C==="clip";if(!x&&!b||m.closest('[aria-hidden="true"],[hidden],[inert]'))continue;let _=m.clientWidth,D=m.clientHeight;if(D<=1||_<=1)continue;let T=w.webkitLineClamp||w.getPropertyValue("-webkit-line-clamp");if(T&&T!=="none")continue;let I="";if(b&&m.scrollHeight>D+2?I="height "+D+"px < content "+m.scrollHeight+"px":x&&w.textOverflow!=="ellipsis"&&m.scrollWidth>_+2&&(I="width "+_+"px < content "+m.scrollWidth+"px"),!I){let R=parseFloat(w.fontSize);if(!(R>0))continue;let $=m.style.getPropertyValue("font-size"),M=m.style.getPropertyPriority("font-size");m.style.setProperty("font-size",R*2+"px","important");let H=m.clientHeight,ee=m.clientWidth;b&&H>1&&m.scrollHeight>H+2?I="at 200%: height "+H+"px < content "+m.scrollHeight+"px":x&&w.textOverflow!=="ellipsis"&&ee>1&&m.scrollWidth>ee+2&&(I="at 200%: width "+ee+"px < content "+m.scrollWidth+"px"),$?m.style.setProperty("font-size",$,M):m.style.removeProperty("font-size");}if(!I)continue;let B=typeof uniqueSel=="function"?uniqueSel(m):v;c.push({selector:B,attribute:"style",currentValue:(m.getAttribute("style")||"").slice(0,200),issueType:"resize_text_clipped",wcag:"1.4.4",context:"text clipped by overflow:hidden: "+I,needsAI:true,needsReview:true,reviewReason:"WCAG 1.4.4 Resize Text: this text is cut off by overflow:hidden ("+I+"). Violation when content or function is lost at 200% text size and no other mechanism shows it. Pass when the clipped part is decorative or repeated elsewhere, or the box grows or scrolls when text is resized.",outerHtml:(m.outerHTML||"").slice(0,300)});}return c},Nv={name:"textClip",cap:10,async detect(u){return u.evaluate(oL)}};});var sL,Bv,Hv=Fe(()=>{sL=()=>{let u=[],c=document.querySelectorAll('main *, [role="main"] *, body > div *'),h=new Set,p=Math.min(c.length,200);for(let m=0;m<p;m++){let v=c[m];if(h.has(v)||!v.offsetParent)continue;h.add(v);let y=getComputedStyle(v),w=parseInt(y.order||"0",10),E=y.position;if(w>=3){let C=v.getBoundingClientRect();if(C.width>0&&C.height>0){let x=(v.textContent?.trim().length||0)>10,b=!!v.querySelector("a, button, input, select, textarea");(x||b)&&u.push({selector:typeof uniqueSel=="function"?uniqueSel(v):v.tagName.toLowerCase(),attribute:"data-sequence-review",currentValue:`CSS order: ${w}`,issueType:"meaningful_sequence",wcag:"1.3.2",context:`Element uses CSS order:${w} \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(E==="absolute"){if(!!!v.querySelector("a, button, input, select, textarea"))continue;let x=v.parentElement;if(!x||x.children.length<=2)continue;let b=v.getBoundingClientRect(),_=x.getBoundingClientRect();(b.top<_.top-100||b.left<_.left-300)&&u.push({selector:typeof uniqueSel=="function"?uniqueSel(v):v.tagName.toLowerCase(),attribute:"data-sequence-review",currentValue:`position: ${E}, displaced ${Math.round(Math.abs(b.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 u},Bv={name:"meaningfulSequence",async detect(u){return u.evaluate(sL)}};});var Vv,$v=Fe(()=>{Vv={name:"sensoryCharacteristics",async detect(u){let{instructionalTexts:c,controlLabels:h,navCount:p,labelTexts:m}=await u.evaluate(()=>{let w=[],E=document.querySelectorAll('p, li, td, label, span, div, a, button, h1, h2, h3, h4, h5, h6, figcaption, [role="alert"], [role="status"]'),C=Math.min(E.length,300),x=[];document.querySelectorAll('button, a[href], [role="button"], input[type="button"], input[type="submit"]').forEach(T=>{let I=((T.textContent||"")+" "+(T.getAttribute("aria-label")||"")+" "+(T.getAttribute("value")||"")).trim().toLowerCase();I&&x.push(I);});let b=T=>!!T.offsetParent||getComputedStyle(T).position==="fixed",_=Array.from(document.querySelectorAll('nav, [role="navigation"]')).filter(b).length,D=[];document.querySelectorAll('h1, h2, h3, h4, h5, h6, nav, [role="navigation"], [role="menu"], [role="menubar"], [aria-label], summary, button, a, legend').forEach(T=>{if(!b(T))return;let I=((T.getAttribute("aria-label")||"")+" "+(T.tagName.match(/^(H\d|SUMMARY|BUTTON|A|LEGEND)$/)&&T.textContent||"")).trim().toLowerCase();I&&I.length<=60&&D.push(I);});for(let T=0;T<C;T++){let I=E[T];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 B=I.textContent?.trim()||"";B.length<15||B.length>300||/click|tap|press|select|choose|find|look|see|drag|scroll|hover|go to|navigate/i.test(B)&&w.push({text:B,selector:typeof uniqueSel=="function"?uniqueSel(I):I.tagName.toLowerCase()});}return {instructionalTexts:w.slice(0,20),controlLabels:x,navCount:_,labelTexts:D}});if(c.length===0)return [];let v=[],y=w=>{let E=(w.toLowerCase().match(/\b(navigation|menu)\b/)||[])[1];return E?p===1?true:m.some(C=>C.indexOf(E)!==-1):false};for(let{text:w,selector:E}of c){w.toLowerCase();let x=/\b(round|square|circular|triangular|arrow-shaped)\b.*\b(button|icon|element|thing)\b/i.test(w)&&!/\b(submit|cancel|close|menu|search|delete|edit|save|back|next|previous|home)\b/i.test(w),b=/\b(header|footer|sidebar menu|breadcrumb)\b/i.test(w)||y(w),_=/\b(on the|to the|in the)\s+(left|right|top|bottom|upper|lower|above|below|sidebar)\b/i.test(w)&&!b&&/\b(click|tap|press|select|find)\b/i.test(w),D=/\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(w)&&!/\b(submit|cancel|close|delete|save|success|error|warning|danger)\b/i.test(w),T=/\b(large|small|big|tiny|narrow|wide)\s+(button|link|icon|box|area)\b/i.test(w)&&/\b(click|tap|press|select|find)\b/i.test(w),I=/\b(?:labell?ed|called|named|titled)\s+["'“‘]/i.test(w),B=(w.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],R=!!B&&h.some($=>$.indexOf(B.toLowerCase())!==-1);if(!(I||R)&&(x||_||D||T)){let $=x?"shape":_?"position":D?"color":"size";v.push({selector:E,attribute:"data-sensory-review",currentValue:w.slice(0,100),issueType:"sensory_characteristic",wcag:"1.3.3",context:`Instruction relies on ${$} alone: "${w.slice(0,80)}". Provide a non-sensory way to identify the referenced element (e.g., by name, label, or function).`,needsAI:true});}}return v}};});var jv,zv=Fe(()=>{jv={name:"reflow",async detect(u){let c=u;if(!c.setViewport)return [];let h=c.viewport?.()??{width:1280,height:720},p=h.width??1280,m=h.height??720;try{return await c.setViewport({width:320,height:m}),await new Promise(y=>setTimeout(y,500)),await u.evaluate(y=>{let w=[],E=document.querySelectorAll("body *"),C=Math.min(E.length,500);for(let x=0;x<C;x++){let b=E[x];if(!b.offsetParent)continue;let _=b.tagName.toLowerCase();if(_==="script"||_==="style"||_==="noscript")continue;let D=b.getBoundingClientRect();D.right>y+5&&D.width>y*1.1&&w.push({selector:typeof uniqueSel=="function"?uniqueSel(b):_,attribute:"style",currentValue:`${Math.round(D.width)}px wide at ${y}px viewport`,issueType:"reflow_overflow",wcag:"1.4.10",context:`Element is ${Math.round(D.width)}px wide and overflows the ${y}px viewport by ${Math.round(D.right-y)}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>y+10&&w.push({selector:"html",attribute:"data-reflow",currentValue:`scrollWidth ${document.documentElement.scrollWidth}px at ${y}px viewport`,issueType:"reflow_overflow",wcag:"1.4.10",context:`Page has horizontal scrollbar at ${y}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"}),w},320)}finally{await c.setViewport({width:p,height:m}).catch(()=>{});}}};});var lL,Gv,Wv=Fe(()=>{lL=()=>{let u=[],c=document.querySelectorAll("video");for(let p of c){if(p.autoplay&&!p.muted&&u.push({selector:typeof uniqueSel=="function"?uniqueSel(p):"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"}),!(p.offsetParent!==null&&getComputedStyle(p).display!=="none"))continue;let v=p.getBoundingClientRect();if(v.width===0&&v.height===0||p.error)continue;let y=/mute|unmute|sound|volume|audio|play|pause/i,w=!!p.parentElement?.querySelector('button, [role="button"]')||!!p.getAttribute("id")&&!!document.querySelector('[aria-controls~="'+(p.getAttribute("id")||"").replace(/"/g,"")+'"]');for(let D=p.parentElement?.parentElement||null,T=0;D&&!w&&T<3;D=D.parentElement,T++)w=Array.from(D.querySelectorAll('button, [role="button"]')).some(I=>y.test((I.getAttribute("aria-label")||"")+" "+(I.getAttribute("title")||"")+" "+(I.textContent||"")));if((p.muted||p.hasAttribute("muted"))&&(p.loop||p.hasAttribute("loop"))&&!p.hasAttribute("controls")&&!w)continue;let E=p.querySelectorAll("track"),C=Array.from(E).find(D=>D.kind==="captions"||D.kind==="subtitles"),x=Array.from(E).find(D=>D.kind==="descriptions");p.src||p.querySelector("source")?.src||"";let _=typeof uniqueSel=="function"?uniqueSel(p):"video";C||u.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. Page language: ${(document.documentElement.getAttribute("lang")||"").trim()||"not declared"}; the caption track's srclang and label follow the spoken language, which only the audio settles.`,needsAI:false,fixValue:'Add a <track kind="captions" src="captions.vtt" srclang="[spoken language]" label="[language name]" default> element',needsReview:true,reviewReason:"cannot verify an audio track in-page \u2014 confirm the video has speech content before adding captions (silent videos need none)"}),x||u.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 h=document.querySelectorAll("audio");for(let p of h){let m=typeof uniqueSel=="function"?uniqueSel(p):"audio";p.closest("figure, div, section")?.querySelector('a[href*="transcript"], [class*="transcript"]')||u.push({selector:m,attribute:"data-transcript-missing",currentValue:"",issueType:"missing_transcript",wcag:"1.2.1",context:"Audio element has no associated transcript. Provide a text transcript for all prerecorded audio-only content.",needsAI:true}),p.autoplay&&!p.muted&&u.push({selector:m,attribute:"muted",currentValue:"autoplay without muted",issueType:"unsafe_autoplay",wcag:"1.4.2",context:"Audio autoplays with sound. Provide a way to pause/stop/mute, or limit to 3 seconds.",needsAI:false,fixValue:"true"});}return u},Gv={name:"mediaAlternatives",cap:50,async detect(u){return (await u.evaluate(lL)).slice(0,50)}};});var uL,Uv,Xv=Fe(()=>{uL=()=>{let u=[],c=document.querySelector('meta[http-equiv="refresh"]');if(c){let N=c.getAttribute("content")||"",F=parseInt(N,10);!isNaN(F)&&F>0&&F<72e3&&u.push({selector:`meta[http-equiv="refresh"][content*="${N.trim().slice(0,20)}"]`,attribute:"data-auto-refresh",currentValue:N,issueType:"auto_refresh",wcag:"2.2.1",context:`Page auto-refreshes after ${F}s. Users must be able to turn off, adjust, or extend time limits (WCAG 2.2.1).`,needsAI:false,manualFix:true});}let h=document.querySelectorAll("[accesskey]");for(let N of h){let F=N.getAttribute("accesskey")||"";if(F.length===1){let S=typeof uniqueSel=="function"?uniqueSel(N):N.tagName.toLowerCase();u.push({selector:S,attribute:"accesskey",currentValue:F,issueType:"character_key_shortcut",wcag:"2.1.4",context:`Single character accesskey "${F}". 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 p=document.querySelectorAll("select");for(let N of p){let F=N.hasAttribute("onchange"),S=N.getAttribute("onchange")||"";if(F&&/submit|location|href|navigate|window\./i.test(S)){let P=typeof uniqueSel=="function"?uniqueSel(N):"select";u.push({selector:P,attribute:"onchange",currentValue:S.slice(0,80),issueType:"on_input_change",wcag:"3.2.2",context:"Select element changes context on input (navigates or submits). Add an explicit submit button instead of auto-submitting on selection change.",needsAI:false,fixValue:"Add a submit button; remove auto-navigation from onchange"});}}let m=document.querySelectorAll("[ontouchstart], [ontouchmove], [ongesturestart], [ongesturechange]");for(let N of m)if(!(N.hasAttribute("onclick")||N.hasAttribute("onkeydown")||N.hasAttribute("onkeyup"))){let S=typeof uniqueSel=="function"?uniqueSel(N):N.tagName.toLowerCase();u.push({selector:S,attribute:"data-pointer-gesture",currentValue:"touch/gesture handler without keyboard alternative",issueType:"pointer_gesture",wcag:"2.5.1",context:"Element has touch/gesture handler but no keyboard or click alternative. All multipoint/path-based gestures must have single-pointer alternatives.",needsAI:true});}let v=document.querySelectorAll("[onmousedown]");for(let N of v){let F=N.hasAttribute("onmouseup"),S=N.tagName.toLowerCase();if(!F&&S!=="a"&&S!=="button"&&S!=="input"){let P=typeof uniqueSel=="function"?uniqueSel(N):S;u.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 y=/devicemotion|deviceorientation|accelerometer|gyroscope/i,w=/addEventListener\(\s*['"](?:devicemotion|deviceorientation)['"]\s*,\s*(?:\(\s*\)\s*=>|function\s*\(\s*\))\s*\{\s*(?:[A-Za-z_$][\w$]*\s*(?:\+\+|--)\s*;?\s*)+\}\s*\)/gi,E=/addEventListener\(\s*['"](?:click|keydown|keyup|input|change|pointerup|touchend)['"]/i,C=/(?: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 x(){let N=document.querySelectorAll('label, button, [role="button"], [role="switch"], input[type="button"], input[type="checkbox"]');for(let F of Array.from(N)){let S=(F.textContent||"")+" "+(F.getAttribute("aria-label")||"")+" "+(F.getAttribute("value")||"");if(C.test(S))return true}return false}function b(N){return !y.test(N.replace(w,""))||E.test(N)?true:x()}let _=document.querySelectorAll("script:not([src]):not([data-wa-injected])");for(let N of _){let F=N.textContent||"";if(y.test(F)&&!b(F)){let S=[],P=N;for(;P&&P!==document.body&&P!==document.documentElement;){let W=P.parentElement,Z=P.tagName.toLowerCase(),ne=W?Array.from(W.children).filter(fe=>fe.tagName===P.tagName):[],le=ne.indexOf(P)+1;S.unshift(le>1||ne.length>1?Z+":nth-of-type("+le+")":Z),P=W;}let q=P===document.body?"body":P===document.documentElement?"html":"",j=(q?q+" > ":"")+S.join(" > ");u.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 D=document.querySelectorAll("form"),T='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,B=/card|payment/i,R=/\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(?:delete|remove|close|deactivate|cancel|terminate)\b[^.]{0,30}\b(?:account|profile|subscription|membership|data|records?)\b/i,M=/\b(?:e-?)?sign\b(?![\s\u00a0-]*(?:up|in|on|out)\b)|\bagree and (?:submit|continue|sign)\b/i,H=/\b(?:save|update|change)\b/i,ee=/e-?mail|name|phone|tel\b|zip|postal|company|organi[sz]ation|country/i;for(let N of D){let F=Array.from(N.querySelectorAll(T)),S=Re=>[Re.getAttribute("name"),Re.getAttribute("id"),Re.getAttribute("autocomplete"),Re.getAttribute("placeholder"),Re.getAttribute("aria-label")].join(" "),P=Array.from(N.querySelectorAll('button, input[type="submit"], input[type="image"]')).filter(Re=>Re.tagName!=="BUTTON"||!Re.getAttribute("type")||(Re.getAttribute("type")||"").toLowerCase()==="submit").map(Re=>(Re.getAttribute("value")||"")+" "+(Re.textContent||"")+" "+(Re.getAttribute("aria-label")||"")).join(" . "),q=F.some(Re=>I.test(S(Re)))||Array.from(N.querySelectorAll("iframe")).some(Re=>B.test((Re.getAttribute("title")||"")+" "+(Re.getAttribute("name")||""))),j=F.some(Re=>/signature/i.test(S(Re))),W=q||R.test(P),Z=$.test(P),ne=j||M.test(P),le=F.length>0&&F.some(Re=>(Re.getAttribute("type")||"").toLowerCase()==="email"||/e-?mail/i.test(S(Re)))&&F.every(Re=>{let pe=Re.tagName.toLowerCase()==="input"?(Re.getAttribute("type")||"text").toLowerCase():Re.tagName.toLowerCase();return pe==="email"||pe==="checkbox"||pe==="tel"?true:pe==="text"||pe==="search"?ee.test(S(Re)+" "+(Re.closest("label")?.textContent||"")):false}),fe=(N.textContent||"").toLowerCase(),me=/payment|credit card|billing|purchase|\border\b|checkout|bank|account number/i.test(fe),oe=/\bagree|terms|contract|binding|signature|consent|waiver/i.test(fe),L=/delete.*account|remove.*data|cancel.*account/i.test(fe),z=W||Z||ne,K=le&&(H.test(P)||L),J=!z&&(!le&&(me||oe||L)||K);if(!z&&!J)continue;let Y=!!N.querySelector('[type="checkbox"][required], [class*="confirm"], [id*="confirm"], [name*="confirm"]'),ie=!!N.querySelector('[class*="review"], [class*="summary"], [id*="review"]');if(Y||ie)continue;let be=typeof uniqueSel=="function"?uniqueSel(N):"form",Pe=z?W?"financial":Z?"data-deletion":"legal":K?L?"data-deletion":"data-modification":me?"financial":oe?"legal":"data-deletion";u.push({selector:be,attribute:"data-error-prevention",currentValue:Pe,issueType:"error_prevention_missing",wcag:"3.3.4",context:`${Pe.charAt(0).toUpperCase()+Pe.slice(1)} form lacks a confirmation/review step. For ${Pe} transactions, provide: (1) a review step before submission, (2) ability to check/correct input, or (3) ability to reverse the submission.`,needsAI:true,...J?{needsReview:true,reviewReason:K&&L?"form text is about deleting an account or data and its submit is generic \u2014 confirm whether submitting it deletes stored user data":K?"form saves contact/account details \u2014 confirm whether submitting it changes stored user data that cannot be reviewed or reversed":`form text mentions ${Pe} topics but its controls show no ${Pe} transaction (no payment fields, pay/order/delete submit, or signature) \u2014 confirm whether submitting it commits the user`}:{}});}return u},Uv={name:"timingAndInput",async detect(u){return u.evaluate(uL)}};});var cL,Jv,Kv=Fe(()=>{cL=()=>{let u=[],c=document.querySelectorAll('nav, [role="navigation"]');for(let m of c){if(!m.offsetParent||m.closest('footer, aside, [role="contentinfo"], [role="complementary"]')||m.parentElement?.closest('nav, [role="navigation"]'))continue;let v=m.getBoundingClientRect();if(v.top<=window.innerHeight)continue;let y=typeof uniqueSel=="function"?uniqueSel(m):"nav";u.push({selector:y,attribute:"data-nav-position",currentValue:`top: ${Math.round(v.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 h=document.querySelectorAll('[class*="blink" i], [class*="flash" i], [class*="strobe" i], blink, marquee');for(let m of h){if(!m.offsetParent)continue;let v=m.getBoundingClientRect();if(v.width<1||v.height<1||!(m.textContent||"").trim()&&!m.querySelector("img, svg, video, canvas, picture")&&getComputedStyle(m).backgroundImage==="none")continue;let y=typeof uniqueSel=="function"?uniqueSel(m):m.tagName.toLowerCase();u.push({selector:y,attribute:"data-flashing",currentValue:m.tagName.toLowerCase(),issueType:"flashing_content",wcag:"2.3.1",context:"Element may produce flashing content. Content must not flash more than 3 times per second. Remove blinking/flashing effects or ensure they are below the threshold.",needsAI:true});}let p=document.querySelectorAll('img[src*=".gif"]');for(let m of p){if(!m.offsetParent||m.width<25||m.height<25)continue;let v=m.getBoundingClientRect();if(v.width>100&&v.height>100){let y=typeof uniqueSel=="function"?uniqueSel(m):"img";u.push({selector:y,attribute:"data-animated-gif",currentValue:(m.src||"").split("/").pop()?.slice(0,40)||"",issueType:"animated_gif_no_pause",wcag:"2.2.2",context:"Animated GIF detected. If this GIF is animated and loops continuously, provide a pause mechanism. Also verify it does not flash more than 3 times per second (WCAG 2.3.1).",needsAI:true});}}return u},Jv={name:"navigationAndWayfinding",async detect(u){return u.evaluate(cL)}};});var Yv,Zv=Fe(()=>{Yv={name:"flashDetection",async detect(u){let c=[];if(!u.screenshot)return c;let p=await u.evaluate(()=>{let x=document.documentElement.style.getPropertyValue("--wa-animations-frozen")==="1";if(x){let b=document.querySelectorAll("*");for(let _ of b)_.style.removeProperty("animation-play-state"),_.style.removeProperty("transition");}return x}),m=8,v=120,y=9,w=3,E=[];for(let C=0;C<m;C++){let x=await u.evaluate(b=>{let _=window.innerWidth,D=window.innerHeight,T=3,I=3,B=[];for(let R=0;R<I;R++)for(let $=0;$<T;$++){let M=Math.floor(($+.5)*(_/T)),H=Math.floor((R+.5)*(D/I)),ee=document.elementFromPoint(M,H);if(!ee){B.push(0);continue}let F=getComputedStyle(ee).backgroundColor||"rgba(0,0,0,0)",S=typeof parseCssColor=="function"?parseCssColor(F):null;if(!S){B.push(0);continue}let P=.2126*S[0]+.7152*S[1]+.0722*S[2];B.push(P);}return B},y);E.push(x),C<m-1&&await new Promise(b=>setTimeout(b,v));}p&&await u.evaluate(()=>{let C=document.querySelectorAll("*");for(let x of C)x.style.setProperty("animation-play-state","paused","important"),x.style.setProperty("transition","none","important");});for(let C=0;C<y;C++){let x=0,b=E[0][C],_=null;for(let I=1;I<m;I++){let B=E[I][C];if(Math.abs(B-b)>25){let $=B>b?"up":"down";_&&$!==_&&x++,_=$;}b=B;}let D=m*v/1e3,T=x/D;if(T>=w){let I=C%3,B=Math.floor(C/3);c.push({selector:"body",attribute:"data-flash-detected",currentValue:`${T.toFixed(1)} flashes/sec in region (${I},${B})`,issueType:"flashing_content",wcag:"2.3.1",context:`Content flashes ${T.toFixed(1)} times/second in screen region (row ${B}, 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 c}};});var Qv,eb=Fe(()=>{Qv={name:"reducedMotion",async detect(u){let c=[],h=await u.evaluate(()=>{let p=false,m=false;for(let y of document.styleSheets)try{for(let w of y.cssRules){let E=w.cssText||"";/animation|transition|@keyframes/i.test(E)&&!/prefers-reduced-motion/.test(E)&&(p=!0),w instanceof CSSMediaRule&&/prefers-reduced-motion/i.test(w.conditionText||w.media?.mediaText||"")&&(m=!0);}}catch{}let v=document.querySelectorAll('[class*="animate"], [class*="slide"], [class*="fade"], [class*="bounce"], [class*="spin"], [class*="pulse"]');return v.length>0&&(p=true),{hasAnimations:p,hasReducedMotionQuery:m,animatedCount:v.length}});return h.hasAnimations&&!h.hasReducedMotionQuery&&c.push({selector:"html",attribute:"data-reduced-motion",currentValue:`${h.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; } }"}),c}};});var dL,tb,rb=Fe(()=>{dL=()=>{let u="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",h=[],p=/^(0+(\.0+)?|false|off|no|none|disabled?)$/i,m=F=>F!==null&&!p.test(F.trim()),v=F=>{let S=parseFloat((F||"").trim());return Number.isFinite(S)&&S>0},y=/^(carousel|slider|slideshow|slides|slick|swiper|splide|flickity|owl|flexslider|glide|layerslider|ls|rotator|gallery)$/i,w=F=>F.split(/[\s_-]+/).filter(Boolean),E=F=>{if((F.getAttribute("aria-roledescription")||"").trim().toLowerCase()==="carousel")return true;let S=typeof F.className=="string"?F.className:F.getAttribute("class")||"";return w(S).some(P=>y.test(P))},C=/^(autoplay|autoPlay|auto_play|autoStart|autostart|auto_start)$/,x=F=>{let S=F.trim();if(!S.startsWith("{"))return "";let P;try{P=JSON.parse(S);}catch{try{P=JSON.parse(S.replace(/'/g,'"'));}catch{return ""}}if(!P||typeof P!="object")return "";for(let q of Object.keys(P)){if(!C.test(q))continue;let j=P[q];if(j===true||typeof j=="number"&&j>0||typeof j=="string"&&m(j)&&j.trim()!==""||j&&typeof j=="object")return `${q}: ${JSON.stringify(j).slice(0,40)}`}return ""},b=F=>{for(let q of ["data-autoplay","data-auto","data-autostart","data-bs-autoplay","data-auto-play"]){if(!F.hasAttribute(q))continue;let j=F.getAttribute(q)||"";if((j.trim()===""||m(j))&&(E(F)||H(F)>=2))return {attr:q,value:j}}let S=["data-interval","data-bs-interval"].some(q=>F.hasAttribute(q)&&p.test((F.getAttribute(q)||"").trim()));for(let q of ["data-ride","data-bs-ride"])if((F.getAttribute(q)||"").trim().toLowerCase()==="carousel"&&!S)return {attr:q,value:"carousel"};for(let q of ["data-interval","data-bs-interval"]){let j=F.getAttribute(q);if(v(j)&&E(F))return {attr:q,value:j||""}}let P=E(F);for(let q of Array.from(F.attributes)){if(!q.name.startsWith("data-")||!P&&!w(q.name.slice(5)).some(W=>y.test(W)))continue;let j=x(q.value);if(j)return {attr:q.name,value:j}}if((F.getAttribute("aria-roledescription")||"").trim().toLowerCase()==="carousel"){let q=/autoplay["']?\s*[:=]\s*["']?(false|0|off|no)\b/i;for(let j of Array.from(F.attributes)){if(/(^|-)autoplay$/i.test(j.name)&&(j.value.trim()===""||m(j.value)))return {attr:j.name,value:j.value.slice(0,60)};if(/autoplay/i.test(j.value)&&!q.test(j.value))return {attr:j.name,value:j.value.slice(0,60)}}}return null},_=/^(pause|stop|play|playpause|resume)$/i,D=/\b(pause|stop|play|resume)\b/i,T=F=>{let S=[F.getAttribute("aria-label")||"",F.getAttribute("title")||"",F.getAttribute("value")||"",(F.textContent||"").trim().slice(0,80)],P=(F.getAttribute("aria-labelledby")||"").trim();if(P)for(let q of P.split(/\s+/))S.push(document.getElementById(q)?.textContent||"");for(let q of Array.from(F.querySelectorAll("img[alt]")))S.push(q.getAttribute("alt")||"");return S.join(" ")},I=F=>{let S=F.getAttribute("class")||"";return w(S).some(P=>_.test(P))?true:F.matches('a, button, input, [role="button"], [role="switch"], [role="checkbox"], [tabindex]')?D.test(T(F)):false},B=/^(section|article|main|nav|aside|header|footer|form|dialog)$/i,R=F=>E(F)||b(F)!==null||Array.from(F.querySelectorAll("*")).some(S=>E(S)||b(S)!==null),$=F=>{if(F.querySelector("[aria-pressed]"))return true;let S=[F];for(let j of Array.from(F.parentElement?.children||[]))j===F||B.test(j.tagName)||R(j)||S.push(j);let P=F.getAttribute("id"),q=j=>{let W=[...(j.getAttribute("aria-controls")||"").split(/\s+/),(j.getAttribute("data-bs-target")||j.getAttribute("data-target")||"").replace(/^#/,"")].filter(Boolean);return W.length>0&&!W.includes(P||"")};for(let j of S){if(j!==F&&I(j)&&!q(j))return true;for(let W of Array.from(j.querySelectorAll("*")))if(I(W)&&!q(W))return true}if(P){let j=typeof CSS<"u"&&CSS.escape?CSS.escape(P):P.replace(/["\\]/g,"\\$&");for(let W of Array.from(document.querySelectorAll(`[aria-controls~="${j}"], [data-target="#${j}"], [data-bs-target="#${j}"]`)))if(I(W))return true}return false},M=/^(slide|cell)$/i,H=F=>{let S=W=>w(W.getAttribute("class")||"").some(Z=>M.test(Z))&&!/(^|[\s_-])cloned?([\s_-]|$)/i.test(W.getAttribute("class")||""),P=Array.from(F.querySelectorAll("[class]")).filter(S),q=P.filter(W=>!P.some(Z=>Z!==W&&Z.contains(W)));if(!q.length)return 0;let j=q.length;for(let W of q){let Z=Array.from(W.parentElement?.children||[]).filter(ne=>ne.tagName===W.tagName&&!/(^|[\s_-])cloned?([\s_-]|$)/i.test(ne.getAttribute("class")||""));j=Math.max(j,Z.length);}return j},ee=new Set,N=(F,S)=>{if(h.length>=10||ee.has(F)||(ee.add(F),F.closest(u))||F.closest('[aria-hidden="true"], [hidden], template, noscript')||typeof isVisible=="function"&&!isVisible(F)||H(F)===1||$(F))return;let P=typeof uniqueSel=="function"?uniqueSel(F):F.tagName.toLowerCase();h.push({selector:P,attribute:S.attr,currentValue:S.value.slice(0,100),issueType:"carousel_autoplay_no_pause",wcag:"2.2.2",context:`slider markup declares autoplay (${S.attr}="${S.value.slice(0,60)}") and no pause / stop control sits in or beside it`,message:"carousel starts automatically and has no pause or stop control",needsAI:false,manualFix:true,reviewReason:"add a visible pause / stop control for the slider (or turn autoplay off); no attribute write fixes this",outerHtml:F.cloneNode(false).outerHTML.slice(0,300)});};for(let F of Array.from(document.body?document.body.querySelectorAll("*"):[])){if(h.length>=10)break;if(!F.attributes.length)continue;if(F.hasAttribute("data-swiper-autoplay")&&v(F.getAttribute("data-swiper-autoplay"))){let P=F.closest('.swiper, .swiper-container, [class*="swiper"]:not(.swiper-slide):not(.swiper-wrapper)')||F.parentElement?.parentElement||F;N(P,{attr:"data-swiper-autoplay",value:F.getAttribute("data-swiper-autoplay")||""});continue}let S=b(F);S&&N(F,S);}return h},tb={name:"carouselAutoplay",cap:10,async detect(u){return u.evaluate(dL)}};});var oc={};mr(oc,{applyPlatformTemplates:()=>hL,detectPlatform:()=>pL,isStructuralTemplate:()=>nb});function nb(u){return u.attribute==="role"?u.value!=="presentation"&&u.value!=="none":u.attribute==="aria-level"||u.attribute==="tabindex"}function fL(){if(pa)return pa;try{let u=globalThis.process,c=u?.getBuiltinModule?.("fs"),h=u?.getBuiltinModule?.("path");if(!c||!h)throw new Error("fs unavailable");let p=c.readFileSync(h.join(__dirname,"platformTemplates.json"),"utf-8"),m=JSON.parse(p);for(let v of Object.keys(m))m[v]=m[v].filter(nb);return pa=m,pa}catch{return pa={},pa}}async function pL(u){return u.evaluate(()=>{let c=[],h=document.implementation.createHTMLDocument("").importNode(document.documentElement,true);h.querySelectorAll("[data-wa-injected]").forEach(y=>y.remove());let p=h.outerHTML.slice(0,5e4).toLowerCase(),v=(document.querySelector('meta[name="generator"]')?.getAttribute("content")||"").toLowerCase();return (p.includes("shopify")||p.includes("cdn.shopify.com")||window.Shopify)&&c.push("shopify"),(v.includes("wordpress")||p.includes("wp-content")||p.includes("wp-includes"))&&c.push("wordpress"),(p.includes("civicplus")||p.includes("civicalerts")||p.includes("cpslider")||document.querySelector(".cpSlider, #breadCrumbs, .rcPrev, .rcNext"))&&c.push("civicplus"),(p.includes("finalsite")||document.querySelector(".fsHeader, .fsCalendar, .fsPanelGroup, #fsPoweredByFinalsite"))&&c.push("finalsite"),(p.includes("dealersocket")||p.includes("dealer.com")||document.querySelector(".ddc-tracking, .inventory-listing-default, .vlp-refine"))&&c.push("dealer"),(p.includes("wix.com")||p.includes("wixsite.com"))&&c.push("wix"),(p.includes("squarespace")||v.includes("squarespace"))&&c.push("squarespace"),(p.includes("webflow")||v.includes("webflow"))&&c.push("webflow"),c.push("universal"),c.push("universal_iframe"),c})}function mL(u){return /^[a-z][a-z0-9]*$/i.test(u.trim())}async function hL(u,c,h="scan"){let p=fL(),m=[];for(let y of c)p[y]&&m.push(...p[y].filter(w=>!mL(w.selector)));return m.length?h==="manifest"?m.map(y=>({selector:y.selector,attribute:y.attribute,currentValue:"",issueType:y.attribute==="alt"?"missing_alt":y.attribute==="aria-label"?"missing_label":"missing_semantic_role",wcag:y.attribute==="alt"?"1.1.1":"4.1.2",context:`platform:${y.platform} (template)`,needsAI:false,fixValue:y.value})):(await u.evaluate(y=>{let w=[];for(let E of y)try{let C=document.querySelectorAll(E.selector);if(C.length>0){let x=!1;for(let b of C){let _=b.getAttribute(E.attribute)||"";if(E.attribute==="role"&&_!==E.value?x=!0:E.attribute==="aria-level"&&!b.getAttribute("aria-level")&&(x=!(b.tagName==="H1"&&E.value!=="1"&&document.querySelectorAll("h1").length<2)),x)break}x&&w.push({selector:E.selector,attribute:E.attribute,value:E.value,platform:E.platform,matchCount:C.length});}}catch{}return w},m.map(y=>({selector:y.selector,attribute:y.attribute,value:y.value,platform:y.platform})))).map(y=>({selector:y.selector,attribute:y.attribute,currentValue:"",issueType:y.attribute==="alt"?"missing_alt":y.attribute==="aria-label"?"missing_label":"missing_semantic_role",wcag:y.attribute==="alt"?"1.1.1":"4.1.2",context:`platform:${y.platform} (${y.matchCount} elements)`,needsAI:false,fixValue:y.value})):[]}var pa,sc=Fe(()=>{pa=null;});var ab={};mr(ab,{ACCESSIBLE_NAME_JS:()=>bL,IS_HIDDEN_FROM_AT_JS:()=>wL,IS_TRACKING_PIXEL_JS:()=>xL,IS_VISIBLE_JS:()=>vL,NEARBY_CONTEXT_JS:()=>AL,UNIQUE_SELECTOR_JS:()=>gL,WIDGET_SKIP_JS:()=>yL});var gL,vL,bL,yL,wL,xL,AL,ib=Fe(()=>{gL=`
2
2
  function __isUnique(sel) {
3
3
  try { return document.querySelectorAll(sel).length === 1; } catch { return false; }
4
4
  }
@@ -412,9 +412,9 @@
412
412
  }
413
413
  `;});var yn={};mr(yn,{INJECT_ATTR:()=>en,OWN_TOOLING_SELECTOR:()=>ha,attachMutations:()=>IL,dropToolingFindings:()=>cc,guardDetectorState:()=>uc,inject:()=>ms,startProvenance:()=>TL,stopProvenance:()=>RL});async function ms(u,c){let h=`${c.tool}:${Date.now().toString(36)}${Math.random().toString(36).slice(2,6)}`;if(c.css!==void 0){await u.evaluate(({attr:m,mark:v,css:y})=>{let w=document.createElement("style");w.setAttribute(m,v),w.textContent=y,document.documentElement.appendChild(w);},{attr:en,mark:h,css:c.css});return}if(c.url){let m=await u.addScriptTag({url:c.url});try{await m?.evaluate?.((v,y)=>v.setAttribute(y.attr,y.mark),{attr:en,mark:h});}catch{}return}let p=`document.currentScript&&document.currentScript.setAttribute(${JSON.stringify(en)},${JSON.stringify(h)});
414
414
  `;await u.addScriptTag({content:p+(c.content??"")});}async function TL(u){try{await u.evaluate("if(typeof globalThis.__name==='undefined'){globalThis.__name=function(t){return t}}");}catch{}try{await u.evaluate(({key:c,attr:h,max:p})=>{let m=window;if(m[Symbol.for(c)]||typeof MutationObserver>"u")return;let v={tool:null,log:[],overflow:0,left:new Map};v.ours=y=>{let w=y&&y.nodeType===1?y:y?y.parentElement:null;for(;w;){if(w.hasAttribute(h))return !0;w=w.parentElement;}return !1},v.take=y=>{if(v.tool)for(let w of y){if(w.type==="attributes"&&w.attributeName===h||v.ours(w.target))continue;let E=w.type==="childList"?Array.from(w.addedNodes).filter(x=>!v.ours(x)):[];if(w.type==="childList"&&!E.length&&Array.from(w.removedNodes).every(x=>x.nodeType===1&&x.hasAttribute(h)))continue;let C=E.map(x=>x.nodeName.toLowerCase()+(x.nodeType===1&&x.getAttribute("id")?"#"+x.getAttribute("id"):""));v.log.length<p?v.log.push({tool:v.tool,type:w.type,attr:w.attributeName,target:w.target.nodeName,added:C}):v.overflow++;}},v.obs=new MutationObserver(y=>v.take(y)),v.obs.observe(document,{subtree:!0,childList:!0,attributes:!0,characterData:!0,attributeOldValue:!0}),m[Symbol.for(c)]=v;},{key:wi,attr:en,max:SL});}catch{}}async function RL(u){try{return await u.evaluate(c=>{let h=window,p=h[Symbol.for(c)];return p?(p.take(p.obs.takeRecords()),p.obs.disconnect(),delete h[Symbol.for(c)],{log:p.log,overflow:p.overflow}):null},wi)}catch{return null}}function IL(u,c){if(!c||!u.length)return;let h=c.log;for(let p of u){let m=h.filter(v=>v.tool===p.tool).slice(0,FL).map(({type:v,attr:y,target:w,added:E})=>({type:v,attr:y,target:w,added:E}));m.length&&(p.mutations=m);}}async function uc(u,c,h,p,m={}){let v=null;try{v=await u.evaluate(({key:y,prov:w,name:E,attr:C,widget:x,fsk:b})=>{let _=window;try{let $=_[Symbol.for(b)];$&&document.removeEventListener("focusin",$.h,!0);let M=new WeakMap,H=ee=>{let N=(new Error().stack||"").split(`
415
- `).slice(1),R=/eval at evaluate/.test(N[0]||""),S=P=>/^\s*at /.test(P)&&!/UtilityScript|eval at evaluate/.test(P);M.set(ee.target,R&&N.length>1&&N.slice(1).some(S)?"page":"ours");};document.addEventListener("focusin",H,!0),_[Symbol.for(b)]={src:M,h:H};}catch{}let D=_[Symbol.for(w)];D&&(D.take(D.obs.takeRecords()),D.tool=E);let T=document.activeElement,I=!!T&&T!==document.body&&T!==document.documentElement,B=[];try{let $=typeof getSelection=="function"?getSelection():null;B=$?Array.from({length:$.rangeCount},(M,H)=>$.getRangeAt(H).cloneRange()):[];}catch{}let F=Array.from(document.querySelectorAll(`[${C}]:not(script):not([${C}="${x}"])`));return _[Symbol.for(y)]={el:I?T:null,ranges:B,marked:new Set(F)},{scrollX:window.scrollX,scrollY:window.scrollY,hadFocus:I,injected:F.length}},{key:cb,prov:wi,name:c,attr:en,widget:lc,fsk:db});}catch{v=null;}try{return await p()}finally{v&&await ML(u,c,v,h,m);}}async function ML(u,c,h,p,m){let v={leaks:[]};try{v=await u.evaluate(({key:y,prov:w,snap:E,attr:C,widget:x,fsk:b})=>{let _=window,D=[],T=_[Symbol.for(b)];T&&(document.removeEventListener("focusin",T.h,!0),delete _[Symbol.for(b)]);let I=_[Symbol.for(y)],B=I?.el??null;try{delete _[Symbol.for(y)];}catch{}let F=_[Symbol.for(w)];F&&F.take(F.obs.takeRecords());let $=document.activeElement,M=$&&$!==document.body&&$!==document.documentElement?$:null,H=!!M&&M!==B&&T?.src.get(M)==="page";if(M!==B&&!H){D.push("activeElement"),F&&M&&F.left.set(M,F.tool);try{M?.blur?.();}catch{}try{B&&B.isConnected&&B.focus({preventScroll:!0});}catch{}}let ee=null;try{ee=document.querySelector(":focus-visible");}catch{}if(ee&&ee!==B&&!(H&&ee===M)){D.push("focus-visible");try{ee.blur();}catch{}}!H&&(Math.abs(window.scrollX-E.scrollX)>1||Math.abs(window.scrollY-E.scrollY)>1)&&(D.push("scroll"),window.scrollTo({left:E.scrollX,top:E.scrollY,behavior:"instant"}));try{let R=getSelection(),S=I?.ranges??[];if(R&&(R.rangeCount!==S.length||S.some((P,q)=>P.compareBoundaryPoints(Range.START_TO_START,R.getRangeAt(q))!==0||P.compareBoundaryPoints(Range.END_TO_END,R.getRangeAt(q))!==0))){D.push("selection"),R.removeAllRanges();for(let P of S)R.addRange(P);}}catch{}let N=Array.from(document.querySelectorAll(`[${C}]:not(script):not([${C}="${x}"])`));N.length!==E.injected&&D.push(`injected-nodes ${E.injected}->${N.length}`);for(let R of N)if(I?.marked&&!I.marked.has(R))try{R.remove();}catch{}return F&&(F.tool=null),{leaks:D}},{key:cb,prov:wi,snap:h,attr:en,widget:lc,fsk:db});}catch{}if(v.leaks.length){let y=`tooling:state-not-restored (${c}: ${v.leaks.join(", ")}) \u2014 restored by the scanner`;if(m.bugs?.push({tool:c,kind:"state-not-restored",detail:v.leaks.join(", ")}),m.strict)throw new Error(y);p.push(y);}}async function cc(u,c,h){if(!c.length)return c;let p=Array.from(new Set(c.map(v=>v.selector).filter(Boolean))),m={};try{m=await u.evaluate(({sels:v,own:y,prov:w,attr:E,widget:C})=>{let x=window[Symbol.for(w)],b={};for(let _ of v){b[_]=null;let D=null;try{D=document.querySelector(_.replace(/:(?:focus-visible|focus-within|focus|hover|active)$/,""));}catch{D=null;}if(!D)continue;let T=D.closest(y);if(T&&T!==document.body&&T!==document.documentElement){let I=T.closest(`[${E}]`)?.getAttribute(E);b[_]={tool:I&&I!==C?I.split(":")[0]:null,why:`on node injected by ${I}`};continue}x&&x.left.has(D)&&(b[_]={tool:x.left.get(D),why:"on the element the tool left focused"});}return b},{sels:p,own:ha,prov:wi,attr:en,widget:lc});}catch{return c}return c.filter(v=>{let y=m[v.selector];return y?(y.tool&&h?.push({tool:y.tool,kind:"finding-dropped",detail:`${v.type} ${y.why}`,selector:v.selector}),false):true})}var en,lc,ha,wi,SL,FL,cb,db,Ar=Fe(()=>{en="data-wa-injected",lc="widget",ha=`[${en}],[class*=asw-],[id*=webability-widget],[class*=webability-a11y]`,wi="wa.provenance",SL=500;FL=10;cb="wa.stateGuard.active",db="wa.stateGuard.focusSource";});function pb(u,c,h){u?.push({tool:c,kind:"engine-failed",detail:`detector threw, its findings are absent: ${h?.message??String(h)}`});}async function dc(u,c,h,p){let m=c??[],v=[];try{let{detectPlatform:y}=await Promise.resolve().then(()=>(sc(),oc));v=await y(u);}catch{}return await fc(u,h),LL(u,m,v,h,p)}async function fc(u,c){try{let{UNIQUE_SELECTOR_JS:h,IS_VISIBLE_JS:p,ACCESSIBLE_NAME_JS:m,WIDGET_SKIP_JS:v,IS_HIDDEN_FROM_AT_JS:y,IS_TRACKING_PIXEL_JS:w,NEARBY_CONTEXT_JS:E}=await Promise.resolve().then(()=>(ib(),ab)),{ICON_LABELS_JS:C}=await Promise.resolve().then(()=>(sb(),ob)),{COLOR_MATH_JS:x}=await Promise.resolve().then(()=>(ub(),lb)),_=`if(typeof __name==='undefined'){var __name=function(t,v){return t};var __defProp=Object.defineProperty;}
415
+ `).slice(1),F=/eval at evaluate/.test(N[0]||""),S=P=>/^\s*at /.test(P)&&!/UtilityScript|eval at evaluate/.test(P);M.set(ee.target,F&&N.length>1&&N.slice(1).some(S)?"page":"ours");};document.addEventListener("focusin",H,!0),_[Symbol.for(b)]={src:M,h:H};}catch{}let D=_[Symbol.for(w)];D&&(D.take(D.obs.takeRecords()),D.tool=E);let T=document.activeElement,I=!!T&&T!==document.body&&T!==document.documentElement,B=[];try{let $=typeof getSelection=="function"?getSelection():null;B=$?Array.from({length:$.rangeCount},(M,H)=>$.getRangeAt(H).cloneRange()):[];}catch{}let R=Array.from(document.querySelectorAll(`[${C}]:not(script):not([${C}="${x}"])`));return _[Symbol.for(y)]={el:I?T:null,ranges:B,marked:new Set(R)},{scrollX:window.scrollX,scrollY:window.scrollY,hadFocus:I,injected:R.length}},{key:cb,prov:wi,name:c,attr:en,widget:lc,fsk:db});}catch{v=null;}try{return await p()}finally{v&&await ML(u,c,v,h,m);}}async function ML(u,c,h,p,m){let v={leaks:[]};try{v=await u.evaluate(({key:y,prov:w,snap:E,attr:C,widget:x,fsk:b})=>{let _=window,D=[],T=_[Symbol.for(b)];T&&(document.removeEventListener("focusin",T.h,!0),delete _[Symbol.for(b)]);let I=_[Symbol.for(y)],B=I?.el??null;try{delete _[Symbol.for(y)];}catch{}let R=_[Symbol.for(w)];R&&R.take(R.obs.takeRecords());let $=document.activeElement,M=$&&$!==document.body&&$!==document.documentElement?$:null,H=!!M&&M!==B&&T?.src.get(M)==="page";if(M!==B&&!H){D.push("activeElement"),R&&M&&R.left.set(M,R.tool);try{M?.blur?.();}catch{}try{B&&B.isConnected&&B.focus({preventScroll:!0});}catch{}}let ee=null;try{ee=document.querySelector(":focus-visible");}catch{}if(ee&&ee!==B&&!(H&&ee===M)){D.push("focus-visible");try{ee.blur();}catch{}}!H&&(Math.abs(window.scrollX-E.scrollX)>1||Math.abs(window.scrollY-E.scrollY)>1)&&(D.push("scroll"),window.scrollTo({left:E.scrollX,top:E.scrollY,behavior:"instant"}));try{let F=getSelection(),S=I?.ranges??[];if(F&&(F.rangeCount!==S.length||S.some((P,q)=>P.compareBoundaryPoints(Range.START_TO_START,F.getRangeAt(q))!==0||P.compareBoundaryPoints(Range.END_TO_END,F.getRangeAt(q))!==0))){D.push("selection"),F.removeAllRanges();for(let P of S)F.addRange(P);}}catch{}let N=Array.from(document.querySelectorAll(`[${C}]:not(script):not([${C}="${x}"])`));N.length!==E.injected&&D.push(`injected-nodes ${E.injected}->${N.length}`);for(let F of N)if(I?.marked&&!I.marked.has(F))try{F.remove();}catch{}return R&&(R.tool=null),{leaks:D}},{key:cb,prov:wi,snap:h,attr:en,widget:lc,fsk:db});}catch{}if(v.leaks.length){let y=`tooling:state-not-restored (${c}: ${v.leaks.join(", ")}) \u2014 restored by the scanner`;if(m.bugs?.push({tool:c,kind:"state-not-restored",detail:v.leaks.join(", ")}),m.strict)throw new Error(y);p.push(y);}}async function cc(u,c,h){if(!c.length)return c;let p=Array.from(new Set(c.map(v=>v.selector).filter(Boolean))),m={};try{m=await u.evaluate(({sels:v,own:y,prov:w,attr:E,widget:C})=>{let x=window[Symbol.for(w)],b={};for(let _ of v){b[_]=null;let D=null;try{D=document.querySelector(_.replace(/:(?:focus-visible|focus-within|focus|hover|active)$/,""));}catch{D=null;}if(!D)continue;let T=D.closest(y);if(T&&T!==document.body&&T!==document.documentElement){let I=T.closest(`[${E}]`)?.getAttribute(E);b[_]={tool:I&&I!==C?I.split(":")[0]:null,why:`on node injected by ${I}`};continue}x&&x.left.has(D)&&(b[_]={tool:x.left.get(D),why:"on the element the tool left focused"});}return b},{sels:p,own:ha,prov:wi,attr:en,widget:lc});}catch{return c}return c.filter(v=>{let y=m[v.selector];return y?(y.tool&&h?.push({tool:y.tool,kind:"finding-dropped",detail:`${v.type} ${y.why}`,selector:v.selector}),false):true})}var en,lc,ha,wi,SL,FL,cb,db,Ar=Fe(()=>{en="data-wa-injected",lc="widget",ha=`[${en}],[class*=asw-],[id*=webability-widget],[class*=webability-a11y]`,wi="wa.provenance",SL=500;FL=10;cb="wa.stateGuard.active",db="wa.stateGuard.focusSource";});function pb(u,c,h){u?.push({tool:c,kind:"engine-failed",detail:`detector threw, its findings are absent: ${h?.message??String(h)}`});}async function dc(u,c,h,p){let m=c??[],v=[];try{let{detectPlatform:y}=await Promise.resolve().then(()=>(sc(),oc));v=await y(u);}catch{}return await fc(u,h),LL(u,m,v,h,p)}async function fc(u,c){try{let{UNIQUE_SELECTOR_JS:h,IS_VISIBLE_JS:p,ACCESSIBLE_NAME_JS:m,WIDGET_SKIP_JS:v,IS_HIDDEN_FROM_AT_JS:y,IS_TRACKING_PIXEL_JS:w,NEARBY_CONTEXT_JS:E}=await Promise.resolve().then(()=>(ib(),ab)),{ICON_LABELS_JS:C}=await Promise.resolve().then(()=>(sb(),ob)),{COLOR_MATH_JS:x}=await Promise.resolve().then(()=>(ub(),lb)),_=`if(typeof __name==='undefined'){var __name=function(t,v){return t};var __defProp=Object.defineProperty;}
416
416
  `+[h,p,m,v,y,w,E,C,x].join(`
417
- `),{inject:D}=await Promise.resolve().then(()=>(Ar(),yn));try{await D(u,{tool:"detector-helpers",content:_});}catch{await u.evaluate(`(0,eval)(${JSON.stringify(_)})`);}}catch(h){console.warn("[webability] helper injection failed:",h.message),(c??[]).push("color:kernel-injection-failed");}}async function LL(u,c,h,p,m){let v=[],y="";try{let{applyPlatformTemplates:F}=await Promise.resolve().then(()=>(sc(),oc)),$=h;y=$.filter(M=>M!=="universal"&&M!=="universal_iframe").join(", "),v=await F(u,$);}catch{}let{guardDetectorState:w}=await Promise.resolve().then(()=>(Ar(),yn)),E=globalThis.process?.env?.WA_STRICT_STATE==="1",C={strict:E,bugs:m?.internalBugs},x=await w(u,"detectors:parallel",p??[],()=>Promise.allSettled((m?.experimental?[...fb,...PL]:fb).map(async F=>{try{let $=await F.detect(u);return F.cap&&$.length>=F.cap&&c.push({detector:F.name,cap:F.cap}),$}catch($){return pb(m?.internalBugs,F.name,$),[]}})),C),b=[];m?.skipFocusMutating&&(p??[]).push("focus:mutating-detectors-skipped (live-tab scan; focus visibility and focus obscured were not checked)");let _=[...m?.skipFocusMutating?[]:[j1,H1],...m?.extraSerialDetectors??[]];for(let F of _){let $=[];try{$=await w(u,F.name,p??[],()=>F.detect(u).catch(M=>(pb(m?.internalBugs,F.name,M),[])),C);}catch(M){if(E)throw M}try{F.cap&&$.length>=F.cap&&c.push({detector:F.name,cap:F.cap}),b=b.concat($);}catch{}}let D=[...x.flatMap(F=>F.status==="fulfilled"?F.value:[]),...b];if(y)for(let F of D)F.needsAI&&(F.context=f1(F.context,y));let T=[...v,...D],I=NL(T),B=["wp-ada-compliance","webability-widget","webability-a11y","asw-","userway","acsb","audioeye","equallyai"];return I.filter(F=>{let $=F.selector.toLowerCase();return $.trim()?!B.some(M=>$.includes(M)):false})}async function OL(u){try{return await u.evaluate(()=>{let c=getComputedStyle(document.documentElement),h={};for(let E of c)E.startsWith("--")&&/color|bg|background|text|primary|secondary|accent/i.test(E)&&(h[E]=c.getPropertyValue(E).trim());let p={},m={},v=document.querySelectorAll("body *:not(script):not(style):not(noscript)"),y=Math.min(v.length,500);for(let E=0;E<y;E++){let C=getComputedStyle(v[E]);if(C.display==="none"||C.visibility==="hidden")continue;let x=C.backgroundColor,b=C.color;x&&x!=="rgba(0, 0, 0, 0)"&&(p[x]=(p[x]||0)+1),b&&(m[b]=(m[b]||0)+1);}let w=E=>Object.entries(E).sort((C,x)=>x[1]-C[1]).slice(0,8).map(([C,x])=>({color:C,count:x}));return {cssVars:h,topBgColors:w(p),topTextColors:w(m)}})}catch{return {cssVars:{},topBgColors:[],topTextColors:[]}}}function NL(u){let c=new Set;return u.filter(h=>{let p=`${h.selector}::${h.issueType}`;return c.has(p)?false:(c.add(p),true)})}var fb,PL,hs=Fe(()=>{p1();h1();v1();y1();x1();_1();E1();k1();T1();F1();M1();L1();N1();B1();V1();z1();W1();Z1();ev();rv();av();ov();lv();cv();fv();mv();gv();bv();wv();Av();Dv();Cv();Sv();Rv();Iv();Pv();Ov();qv();Hv();$v();zv();Wv();Xv();Kv();Zv();eb();rb();fb=[Mv,hv,kv,g1,Q1,Y1,S1,yv,O1,Fv,q1,_v,b1,pv,tv,I1,sv,G1,dv,nv,Lv,Nv,iv,D1,C1,xv,Tv,R1,Ev,w1,uv,Bv,Vv,jv,Gv,Uv,Jv,Yv,Qv,tb],PL=[m1,A1,P1,vv];});function mc(u){return u.includes("wcag21aa")||u.includes("wcag22aa")||u.includes("wcag134")?{"css-orientation-lock":{enabled:true}}:{}}function hb(u,c){return c==="AAA"&&!u.includes("wcag2aaa")?[...u,"wcag2aaa"]:u}function Ai(u){return exports.WCAG_LEVEL_MAP[u]}function hc(u){let c=String(u.wcag||"").split(/[,\s]+/).filter(p=>/^\d+\.\d+\.\d+$/.test(p));if(c.length===0)return u.level??"AA";let h;for(let p of c){let m=Ai(p);m&&(!h||xi[m]<xi[h])&&(h=m);}return h}function jr(u,c="AA"){let h=xi[c]??xi.AA;return u.filter(p=>{let m=hc(p);return !!m&&xi[m]<=h})}function gb(u){let c=qL.has(u.issueType)?"minor":u.needsAI?"serious":"moderate",h=u.attribute==="style",p=u.attribute.startsWith("data-"),m=h&&u.fixValue?BL(u.fixValue):u.fixValue;return {id:`wa-${u.issueType}-${On(u.selector)}`,source:"webability",type:u.issueType,wcag:u.wcag,level:hc({wcag:u.wcag})??"AA",impact:c,message:HL(u,m,p),selector:u.selector,html:u.outerHtml,...u.needsReview?{confidence:"needs_review"}:{},...u.reviewReason?{reviewReason:u.reviewReason}:{},...u.evidence?{evidence:u.evidence}:{},fix:{attribute:u.attribute,currentValue:u.currentValue,suggestedValue:m,needsManualReview:u.needsAI||h||p||!!u.needsReview||!!u.manualFix}}}function BL(u){let c=u.trim();if(!c)return "";let h=c.endsWith(";"),m=c.split(";").map(v=>{let w=v.toLowerCase().lastIndexOf("!important");return w===-1?v.trim():v.slice(0,w).trim()}).filter(v=>v.length>0);return m.length===0?"":m.join(";")+(h?";":"")}function HL(u,c,h){if(u.message)return u.message;let p=u.issueType.replace(/_/g," "),m=c??u.fixValue;return h?m?`${p}: ${m}`:u.currentValue?`${p}: ${u.currentValue}`:u.context?`${p}: ${u.context}`:p:m?`${p}: set ${u.attribute}="${m}"`:u.currentValue?`${p}: ${u.attribute} is "${u.currentValue}"`:`${p}: missing ${u.attribute}`}function ga(u){return Array.isArray(u)?u.flat(1/0).filter(h=>typeof h=="string").join(" >>> "):typeof u=="string"?u:""}function On(u){let c=0;for(let h=0;h<u.length;h++)c=(c<<5)-c+u.charCodeAt(h)|0;return Math.abs(c).toString(36)}function gc(u){return u==="critical"||u==="serious"||u==="moderate"||u==="minor"?u:"moderate"}function vc(u,c=[]){return {total:u.length,critical:u.filter(h=>h.impact==="critical").length,serious:u.filter(h=>h.impact==="serious").length,moderate:u.filter(h=>h.impact==="moderate").length,minor:u.filter(h=>h.impact==="minor").length,incomplete:0}}function _i(u){let c=/^wcag(\d)(\d)(\d{1,2})$/.exec(u);return c?`${c[1]}.${c[2]}.${c[3]}`:""}function bc(u){for(let c of u){let h=_i(c);if(h)return h}return ""}function yc(u){return u.includes("wcag2aaa")?"AAA":u.includes("wcag2aa")||u.includes("wcag21aa")||u.includes("wcag22aa")?"AA":"A"}var pc;exports.WCAG_LEVEL_MAP=void 0;var xi,qL,wn=Fe(()=>{pc=["wcag2a","wcag2aa","wcag21aa","wcag22aa"];exports.WCAG_LEVEL_MAP={"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"};xi={A:1,AA:2,AAA:3};qL=new Set(["new_window_link","external_link_warning","download_link_warning"]);});var bb={};mr(bb,{takeTurn:()=>wc});function wc(u,c,h){let p=typeof c.mainFrame=="function"?c:c.axePage?.()??c,m=vb.get(u);m||vb.set(u,m=new WeakMap);let v=(m.get(p)??Promise.resolve()).catch(()=>{}).then(h);return m.set(p,v),v}var vb,xc=Fe(()=>{vb=new Map;});var Ei=pP((yb,Di)=>{(function u(c){var h=c,p=c.document,m=m||{};m.version="4.11.3",typeof define=="function"&&define.amd&&define("axe-core",[],function(){return m}),(typeof Di>"u"?"undefined":ye(Di))==="object"&&Di.exports&&typeof u.toString=="function"&&(m.source="("+u.toString()+')(typeof window === "object" ? window : this);',Di.exports=m),typeof c.getComputedStyle=="function"&&(c.axe=m);var y=["precision","format","inGamut"],w=["space"],E=["algorithm"],C=["method"],x=["maxDeltaE","deltaEMethod","steps","maxSteps"],b=["node"],_=["relatedNodes"],D=["node"],T=["variant"],I=["matches"],B=["chromium"],F=["noImplicit"],$=["noPresentational"],M=["node"],H=["environmentData"],ee=["environmentData"],N=["environmentData"],R=["environmentData"],S=["environmentData"];function P(ue){return kt(ue)||Pe(ue)||Zt(ue)||At()}function q(ue){var he=typeof Map=="function"?new Map:void 0;return q=function(Ae){if(Ae===null||!j(Ae))return Ae;if(typeof Ae!="function")throw new TypeError("Super expression must either be null or a function");if(he!==void 0){if(he.has(Ae))return he.get(Ae);he.set(Ae,Ge);}function Ge(){return Z(Ae,arguments,z(this).constructor)}return Ge.prototype=Object.create(Ae.prototype,{constructor:{value:Ge,enumerable:false,writable:true,configurable:true}}),J(Ge,Ae)},q(ue)}function j(ue){try{return Function.toString.call(ue).indexOf("[native code]")!==-1}catch{return typeof ue=="function"}}function W(ue,he,De){return (he=Mt(he))in ue?Object.defineProperty(ue,he,{value:De,enumerable:true,configurable:true,writable:true}):ue[he]=De,ue}function Z(ue,he,De){if(L())return Reflect.construct.apply(null,arguments);var Ae=[null];Ae.push.apply(Ae,he);var Ge=new(ue.bind.apply(ue,Ae));return De&&J(Ge,De.prototype),Ge}function ne(ue,he){if(ue==null)return {};var De,Ae,Ge=le(ue,he);if(Object.getOwnPropertySymbols){var ct=Object.getOwnPropertySymbols(ue);for(Ae=0;Ae<ct.length;Ae++)De=ct[Ae],he.indexOf(De)===-1&&{}.propertyIsEnumerable.call(ue,De)&&(Ge[De]=ue[De]);}return Ge}function le(ue,he){if(ue==null)return {};var De={};for(var Ae in ue)if({}.hasOwnProperty.call(ue,Ae)){if(he.indexOf(Ae)!==-1)continue;De[Ae]=ue[Ae];}return De}function fe(ue,he,De){return he=z(he),me(ue,L()?Reflect.construct(he,De||[],z(ue).constructor):he.apply(ue,De))}function me(ue,he){if(he&&(ye(he)=="object"||typeof he=="function"))return he;if(he!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return oe(ue)}function oe(ue){if(ue===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return ue}function L(){try{var ue=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));}catch{}return (L=function(){return !!ue})()}function z(ue){return z=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(he){return he.__proto__||Object.getPrototypeOf(he)},z(ue)}function K(ue,he){if(typeof he!="function"&&he!==null)throw new TypeError("Super expression must either be null or a function");ue.prototype=Object.create(he&&he.prototype,{constructor:{value:ue,writable:true,configurable:true}}),Object.defineProperty(ue,"prototype",{writable:false}),he&&J(ue,he);}function J(ue,he){return J=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(De,Ae){return De.__proto__=Ae,De},J(ue,he)}function Y(){return Y=Object.assign?Object.assign.bind():function(ue){for(var he=1;he<arguments.length;he++){var De=arguments[he];for(var Ae in De)({}).hasOwnProperty.call(De,Ae)&&(ue[Ae]=De[Ae]);}return ue},Y.apply(null,arguments)}function ie(ue){return Re(ue)||Pe(ue)||Zt(ue)||be()}function be(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
417
+ `),{inject:D}=await Promise.resolve().then(()=>(Ar(),yn));try{await D(u,{tool:"detector-helpers",content:_});}catch{await u.evaluate(`(0,eval)(${JSON.stringify(_)})`);}}catch(h){console.warn("[webability] helper injection failed:",h.message),(c??[]).push("color:kernel-injection-failed");}}async function LL(u,c,h,p,m){let v=[],y="";try{let{applyPlatformTemplates:R}=await Promise.resolve().then(()=>(sc(),oc)),$=h;y=$.filter(M=>M!=="universal"&&M!=="universal_iframe").join(", "),v=await R(u,$);}catch{}let{guardDetectorState:w}=await Promise.resolve().then(()=>(Ar(),yn)),E=globalThis.process?.env?.WA_STRICT_STATE==="1",C={strict:E,bugs:m?.internalBugs},x=await w(u,"detectors:parallel",p??[],()=>Promise.allSettled((m?.experimental?[...fb,...PL]:fb).map(async R=>{try{let $=await R.detect(u);return R.cap&&$.length>=R.cap&&c.push({detector:R.name,cap:R.cap}),$}catch($){return pb(m?.internalBugs,R.name,$),[]}})),C),b=[];m?.skipFocusMutating&&(p??[]).push("focus:mutating-detectors-skipped (live-tab scan; focus visibility and focus obscured were not checked)");let _=[...m?.skipFocusMutating?[]:[j1,H1],...m?.extraSerialDetectors??[]];for(let R of _){let $=[];try{$=await w(u,R.name,p??[],()=>R.detect(u).catch(M=>(pb(m?.internalBugs,R.name,M),[])),C);}catch(M){if(E)throw M}try{R.cap&&$.length>=R.cap&&c.push({detector:R.name,cap:R.cap}),b=b.concat($);}catch{}}let D=[...x.flatMap(R=>R.status==="fulfilled"?R.value:[]),...b];if(y)for(let R of D)R.needsAI&&(R.context=f1(R.context,y));let T=[...v,...D],I=NL(T),B=["wp-ada-compliance","webability-widget","webability-a11y","asw-","userway","acsb","audioeye","equallyai"];return I.filter(R=>{let $=R.selector.toLowerCase();return $.trim()?!B.some(M=>$.includes(M)):false})}async function OL(u){try{return await u.evaluate(()=>{let c=getComputedStyle(document.documentElement),h={};for(let E of c)E.startsWith("--")&&/color|bg|background|text|primary|secondary|accent/i.test(E)&&(h[E]=c.getPropertyValue(E).trim());let p={},m={},v=document.querySelectorAll("body *:not(script):not(style):not(noscript)"),y=Math.min(v.length,500);for(let E=0;E<y;E++){let C=getComputedStyle(v[E]);if(C.display==="none"||C.visibility==="hidden")continue;let x=C.backgroundColor,b=C.color;x&&x!=="rgba(0, 0, 0, 0)"&&(p[x]=(p[x]||0)+1),b&&(m[b]=(m[b]||0)+1);}let w=E=>Object.entries(E).sort((C,x)=>x[1]-C[1]).slice(0,8).map(([C,x])=>({color:C,count:x}));return {cssVars:h,topBgColors:w(p),topTextColors:w(m)}})}catch{return {cssVars:{},topBgColors:[],topTextColors:[]}}}function NL(u){let c=new Set;return u.filter(h=>{let p=`${h.selector}::${h.issueType}`;return c.has(p)?false:(c.add(p),true)})}var fb,PL,hs=Fe(()=>{p1();h1();v1();y1();x1();_1();E1();k1();T1();F1();M1();L1();N1();B1();V1();z1();W1();Z1();ev();rv();av();ov();lv();cv();fv();mv();gv();bv();wv();Av();Dv();Cv();Sv();Rv();Iv();Pv();Ov();qv();Hv();$v();zv();Wv();Xv();Kv();Zv();eb();rb();fb=[Mv,hv,kv,g1,Q1,Y1,S1,yv,O1,Fv,q1,_v,b1,pv,tv,I1,sv,G1,dv,nv,Lv,Nv,iv,D1,C1,xv,Tv,R1,Ev,w1,uv,Bv,Vv,jv,Gv,Uv,Jv,Yv,Qv,tb],PL=[m1,A1,P1,vv];});function mc(u){return u.includes("wcag21aa")||u.includes("wcag22aa")||u.includes("wcag134")?{"css-orientation-lock":{enabled:true}}:{}}function hb(u,c){return c==="AAA"&&!u.includes("wcag2aaa")?[...u,"wcag2aaa"]:u}function Ai(u){return exports.WCAG_LEVEL_MAP[u]}function hc(u){let c=String(u.wcag||"").split(/[,\s]+/).filter(p=>/^\d+\.\d+\.\d+$/.test(p));if(c.length===0)return u.level??"AA";let h;for(let p of c){let m=Ai(p);m&&(!h||xi[m]<xi[h])&&(h=m);}return h}function jr(u,c="AA"){let h=xi[c]??xi.AA;return u.filter(p=>{let m=hc(p);return !!m&&xi[m]<=h})}function gb(u){let c=qL.has(u.issueType)?"minor":u.needsAI?"serious":"moderate",h=u.attribute==="style",p=u.attribute.startsWith("data-"),m=h&&u.fixValue?BL(u.fixValue):u.fixValue;return {id:`wa-${u.issueType}-${On(u.selector)}`,source:"webability",type:u.issueType,wcag:u.wcag,level:hc({wcag:u.wcag})??"AA",impact:c,message:HL(u,m,p),selector:u.selector,html:u.outerHtml,...u.needsReview?{confidence:"needs_review"}:{},...u.reviewReason?{reviewReason:u.reviewReason}:{},...u.evidence?{evidence:u.evidence}:{},fix:{attribute:u.attribute,currentValue:u.currentValue,suggestedValue:m,needsManualReview:u.needsAI||h||p||!!u.needsReview||!!u.manualFix}}}function BL(u){let c=u.trim();if(!c)return "";let h=c.endsWith(";"),m=c.split(";").map(v=>{let w=v.toLowerCase().lastIndexOf("!important");return w===-1?v.trim():v.slice(0,w).trim()}).filter(v=>v.length>0);return m.length===0?"":m.join(";")+(h?";":"")}function HL(u,c,h){if(u.message)return u.message;let p=u.issueType.replace(/_/g," "),m=c??u.fixValue;return h?m?`${p}: ${m}`:u.currentValue?`${p}: ${u.currentValue}`:u.context?`${p}: ${u.context}`:p:m?`${p}: set ${u.attribute}="${m}"`:u.currentValue?`${p}: ${u.attribute} is "${u.currentValue}"`:`${p}: missing ${u.attribute}`}function ga(u){return Array.isArray(u)?u.flat(1/0).filter(h=>typeof h=="string").join(" >>> "):typeof u=="string"?u:""}function On(u){let c=0;for(let h=0;h<u.length;h++)c=(c<<5)-c+u.charCodeAt(h)|0;return Math.abs(c).toString(36)}function gc(u){return u==="critical"||u==="serious"||u==="moderate"||u==="minor"?u:"moderate"}function vc(u,c=[]){return {total:u.length,critical:u.filter(h=>h.impact==="critical").length,serious:u.filter(h=>h.impact==="serious").length,moderate:u.filter(h=>h.impact==="moderate").length,minor:u.filter(h=>h.impact==="minor").length,incomplete:0}}function _i(u){let c=/^wcag(\d)(\d)(\d{1,2})$/.exec(u);return c?`${c[1]}.${c[2]}.${c[3]}`:""}function bc(u){for(let c of u){let h=_i(c);if(h)return h}return ""}function yc(u){return u.includes("wcag2aaa")?"AAA":u.includes("wcag2aa")||u.includes("wcag21aa")||u.includes("wcag22aa")?"AA":"A"}var pc;exports.WCAG_LEVEL_MAP=void 0;var xi,qL,wn=Fe(()=>{pc=["wcag2a","wcag2aa","wcag21aa","wcag22aa"];exports.WCAG_LEVEL_MAP={"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"};xi={A:1,AA:2,AAA:3};qL=new Set(["new_window_link","external_link_warning","download_link_warning"]);});var bb={};mr(bb,{takeTurn:()=>wc});function wc(u,c,h){let p=typeof c.mainFrame=="function"?c:c.axePage?.()??c,m=vb.get(u);m||vb.set(u,m=new WeakMap);let v=(m.get(p)??Promise.resolve()).catch(()=>{}).then(h);return m.set(p,v),v}var vb,xc=Fe(()=>{vb=new Map;});var Ei=pP((yb,Di)=>{(function u(c){var h=c,p=c.document,m=m||{};m.version="4.11.3",typeof define=="function"&&define.amd&&define("axe-core",[],function(){return m}),(typeof Di>"u"?"undefined":ye(Di))==="object"&&Di.exports&&typeof u.toString=="function"&&(m.source="("+u.toString()+')(typeof window === "object" ? window : this);',Di.exports=m),typeof c.getComputedStyle=="function"&&(c.axe=m);var y=["precision","format","inGamut"],w=["space"],E=["algorithm"],C=["method"],x=["maxDeltaE","deltaEMethod","steps","maxSteps"],b=["node"],_=["relatedNodes"],D=["node"],T=["variant"],I=["matches"],B=["chromium"],R=["noImplicit"],$=["noPresentational"],M=["node"],H=["environmentData"],ee=["environmentData"],N=["environmentData"],F=["environmentData"],S=["environmentData"];function P(ue){return kt(ue)||Pe(ue)||Zt(ue)||At()}function q(ue){var he=typeof Map=="function"?new Map:void 0;return q=function(Ae){if(Ae===null||!j(Ae))return Ae;if(typeof Ae!="function")throw new TypeError("Super expression must either be null or a function");if(he!==void 0){if(he.has(Ae))return he.get(Ae);he.set(Ae,Ge);}function Ge(){return Z(Ae,arguments,z(this).constructor)}return Ge.prototype=Object.create(Ae.prototype,{constructor:{value:Ge,enumerable:false,writable:true,configurable:true}}),J(Ge,Ae)},q(ue)}function j(ue){try{return Function.toString.call(ue).indexOf("[native code]")!==-1}catch{return typeof ue=="function"}}function W(ue,he,De){return (he=Mt(he))in ue?Object.defineProperty(ue,he,{value:De,enumerable:true,configurable:true,writable:true}):ue[he]=De,ue}function Z(ue,he,De){if(L())return Reflect.construct.apply(null,arguments);var Ae=[null];Ae.push.apply(Ae,he);var Ge=new(ue.bind.apply(ue,Ae));return De&&J(Ge,De.prototype),Ge}function ne(ue,he){if(ue==null)return {};var De,Ae,Ge=le(ue,he);if(Object.getOwnPropertySymbols){var ct=Object.getOwnPropertySymbols(ue);for(Ae=0;Ae<ct.length;Ae++)De=ct[Ae],he.indexOf(De)===-1&&{}.propertyIsEnumerable.call(ue,De)&&(Ge[De]=ue[De]);}return Ge}function le(ue,he){if(ue==null)return {};var De={};for(var Ae in ue)if({}.hasOwnProperty.call(ue,Ae)){if(he.indexOf(Ae)!==-1)continue;De[Ae]=ue[Ae];}return De}function fe(ue,he,De){return he=z(he),me(ue,L()?Reflect.construct(he,De||[],z(ue).constructor):he.apply(ue,De))}function me(ue,he){if(he&&(ye(he)=="object"||typeof he=="function"))return he;if(he!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return oe(ue)}function oe(ue){if(ue===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return ue}function L(){try{var ue=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));}catch{}return (L=function(){return !!ue})()}function z(ue){return z=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(he){return he.__proto__||Object.getPrototypeOf(he)},z(ue)}function K(ue,he){if(typeof he!="function"&&he!==null)throw new TypeError("Super expression must either be null or a function");ue.prototype=Object.create(he&&he.prototype,{constructor:{value:ue,writable:true,configurable:true}}),Object.defineProperty(ue,"prototype",{writable:false}),he&&J(ue,he);}function J(ue,he){return J=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(De,Ae){return De.__proto__=Ae,De},J(ue,he)}function Y(){return Y=Object.assign?Object.assign.bind():function(ue){for(var he=1;he<arguments.length;he++){var De=arguments[he];for(var Ae in De)({}).hasOwnProperty.call(De,Ae)&&(ue[Ae]=De[Ae]);}return ue},Y.apply(null,arguments)}function ie(ue){return Re(ue)||Pe(ue)||Zt(ue)||be()}function be(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
418
418
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Pe(ue){if(typeof Symbol<"u"&&ue[Symbol.iterator]!=null||ue["@@iterator"]!=null)return Array.from(ue)}function Re(ue){if(Array.isArray(ue))return zr(ue)}function pe(ue,he,De){at(ue,he),he.set(ue,De);}function Be(ue,he){at(ue,he),he.add(ue);}function at(ue,he){if(he.has(ue))throw new TypeError("Cannot initialize the same private elements twice on an object")}function ze(ue,he){return ue.get(It(ue,he))}function ft(ue,he,De){return ue.set(It(ue,he),De),De}function It(ue,he,De){if(typeof ue=="function"?ue===he:ue.has(he))return arguments.length<3?he:De;throw new TypeError("Private element is not present on this object")}function Se(ue,he){return kt(ue)||_t(ue,he)||Zt(ue,he)||At()}function At(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
419
419
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _t(ue,he){var De=ue==null?null:typeof Symbol<"u"&&ue[Symbol.iterator]||ue["@@iterator"];if(De!=null){var Ae,Ge,ct,gt,Dt=[],bt=true,lt=false;try{if(ct=(De=De.call(ue)).next,he===0){if(Object(De)!==De)return;bt=!1;}else for(;!(bt=(Ae=ct.call(De)).done)&&(Dt.push(Ae.value),Dt.length!==he);bt=!0);}catch(it){lt=true,Ge=it;}finally{try{if(!bt&&De.return!=null&&(gt=De.return(),Object(gt)!==gt))return}finally{if(lt)throw Ge}}return Dt}}function kt(ue){if(Array.isArray(ue))return ue}function Pt(ue,he){if(!(ue instanceof he))throw new TypeError("Cannot call a class as a function")}function Qe(ue,he){for(var De=0;De<he.length;De++){var Ae=he[De];Ae.enumerable=Ae.enumerable||false,Ae.configurable=true,"value"in Ae&&(Ae.writable=true),Object.defineProperty(ue,Mt(Ae.key),Ae);}}function We(ue,he,De){return he&&Qe(ue.prototype,he),De&&Qe(ue,De),Object.defineProperty(ue,"prototype",{writable:false}),ue}function Mt(ue){var he=jn(ue,"string");return ye(he)=="symbol"?he:he+""}function jn(ue,he){if(ye(ue)!="object"||!ue)return ue;var De=ue[Symbol.toPrimitive];if(De!==void 0){var Ae=De.call(ue,he);if(ye(Ae)!="object")return Ae;throw new TypeError("@@toPrimitive must return a primitive value.")}return (he==="string"?String:Number)(ue)}function dt(ue,he){var De=typeof Symbol<"u"&&ue[Symbol.iterator]||ue["@@iterator"];if(!De){if(Array.isArray(ue)||(De=Zt(ue))||he){De&&(ue=De);var Ae=0,Ge=function(){};return {s:Ge,n:function(){return Ae>=ue.length?{done:true}:{done:false,value:ue[Ae++]}},e:function(lt){throw lt},f:Ge}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
420
420
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var ct,gt=true,Dt=false;return {s:function(){De=De.call(ue);},n:function(){var lt=De.next();return gt=lt.done,lt},e:function(lt){Dt=true,ct=lt;},f:function(){try{gt||De.return==null||De.return();}finally{if(Dt)throw ct}}}}function Zt(ue,he){if(ue){if(typeof ue=="string")return zr(ue,he);var De={}.toString.call(ue).slice(8,-1);return De==="Object"&&ue.constructor&&(De=ue.constructor.name),De==="Map"||De==="Set"?Array.from(ue):De==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(De)?zr(ue,he):void 0}}function zr(ue,he){(he==null||he>ue.length)&&(he=ue.length);for(var De=0,Ae=Array(he);De<he;De++)Ae[De]=ue[De];return Ae}function ye(ue){"@babel/helpers - typeof";return ye=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(he){return typeof he}:function(he){return he&&typeof Symbol=="function"&&he.constructor===Symbol&&he!==Symbol.prototype?"symbol":typeof he},ye(ue)}((function(ue,he,De,Ae,Ge,ct,gt,Dt,bt,lt,it){var Gr=Object.create,Ut=Object.defineProperty,_a=Object.getPrototypeOf,Da=Object.prototype.hasOwnProperty,Dy=Object.getOwnPropertyNames,Ey=Object.getOwnPropertyDescriptor,Cy=function(t,r,n){return r in t?Ut(t,r,{enumerable:true,configurable:true,writable:true,value:n}):t[r]=n},ky=function(t){return Ut(t,"__esModule",{value:true})},Q=function(t,r){return function(){return r||t((r={exports:{}}).exports,r),r.exports}},_r=function(t,r){for(var n in r)Ut(t,n,{get:r[n],enumerable:true});},Sy=function(t,r,n){if(r&&ye(r)==="object"||typeof r=="function"){var a=dt(Dy(r)),i;try{var o=function(){var l=i.value;!Da.call(t,l)&&l!=="default"&&Ut(t,l,{get:function(){return r[l]},enumerable:!(n=Ey(r,l))||n.enumerable});};for(a.s();!(i=a.n()).done;)o();}catch(s){a.e(s);}finally{a.f();}}return t},Ir=function(t){return Sy(ky(Ut(t!=null?Gr(_a(t)):{},"default",t&&t.__esModule&&"default"in t?{get:function(){return t.default},enumerable:true}:{value:t,enumerable:true})),t)},Wc=function(t,r,n){return Cy(t,ye(r)!=="symbol"?r+"":r,n),n},Ty=Q(function(e,t){(function(r,n){ye(e)==="object"&&typeof t<"u"?t.exports=n():typeof define=="function"&&define.amd?define(n):r.ES6Promise=n();})(e,function(){function r(de){var xe=ye(de);return de!==null&&(xe==="object"||xe==="function")}function n(de){return typeof de=="function"}var a=void 0;Array.isArray?a=Array.isArray:a=function(xe){return Object.prototype.toString.call(xe)==="[object Array]"};var i=a,o=0,s=void 0,l=void 0,d=function(xe,ke){ce[o]=xe,ce[o+1]=ke,o+=2,o===2&&(l?l(ge):Ie());};function f(de){l=de;}function g(de){d=de;}var A=typeof c<"u"?c:void 0,k=A||{},O=k.MutationObserver||k.WebKitMutationObserver,V=typeof self>"u"&&typeof process<"u"&&{}.toString.call(process)==="[object process]",G=typeof Uint8ClampedArray<"u"&&typeof importScripts<"u"&&typeof MessageChannel<"u";function U(){return function(){return process.nextTick(ge)}}function X(){return typeof s<"u"?function(){s(ge);}:ae()}function te(){var de=0,xe=new O(ge),ke=p.createTextNode("");return xe.observe(ke,{characterData:true}),function(){ke.data=de=++de%2;}}function re(){var de=new MessageChannel;return de.port1.onmessage=ge,function(){return de.port2.postMessage(0)}}function ae(){var de=setTimeout;return function(){return de(ge,1)}}var ce=new Array(1e3);function ge(){for(var de=0;de<o;de+=2){var xe=ce[de],ke=ce[de+1];xe(ke),ce[de]=void 0,ce[de+1]=void 0;}o=0;}function we(){try{var de=Function("return this")().require("vertx");return s=de.runOnLoop||de.runOnContext,X()}catch{return ae()}}var Ie=void 0;V?Ie=U():O?Ie=te():G?Ie=re():A===void 0?Ie=we():Ie=ae();function ve(de,xe){var ke=this,He=new this.constructor(Me);He[Te]===void 0&&Rt(He);var Ze=ke._state;if(Ze){var ot=arguments[Ze-1];d(function(){return Ct(Ze,He,ot,ke._result)});}else ut(ke,He,de,xe);return He}function Ee(de){var xe=this;if(de&&ye(de)==="object"&&de.constructor===xe)return de;var ke=new xe(Me);return Oe(ke,de),ke}var Te=Math.random().toString(36).substring(2);function Me(){}var je=void 0,Ye=1,qe=2;function Xe(){return new TypeError("You cannot resolve a promise with itself")}function Ce(){return new TypeError("A promises callback cannot return that same promise.")}function $e(de,xe,ke,He){try{de.call(xe,ke,He);}catch(Ze){return Ze}}function se(de,xe,ke){d(function(He){var Ze=false,ot=$e(ke,xe,function(Wt){Ze||(Ze=true,xe!==Wt?Oe(He,Wt):Ne(He,Wt));},function(Wt){Ze||(Ze=true,Ve(He,Wt));},"Settle: "+(He._label||" unknown promise"));!Ze&&ot&&(Ze=true,Ve(He,ot));},de);}function Le(de,xe){xe._state===Ye?Ne(de,xe._result):xe._state===qe?Ve(de,xe._result):ut(xe,void 0,function(ke){return Oe(de,ke)},function(ke){return Ve(de,ke)});}function _e(de,xe,ke){xe.constructor===de.constructor&&ke===ve&&xe.constructor.resolve===Ee?Le(de,xe):ke===void 0?Ne(de,xe):n(ke)?se(de,xe,ke):Ne(de,xe);}function Oe(de,xe){if(de===xe)Ve(de,Xe());else if(r(xe)){var ke=void 0;try{ke=xe.then;}catch(He){Ve(de,He);return}_e(de,xe,ke);}else Ne(de,xe);}function Ke(de){de._onerror&&de._onerror(de._result),wt(de);}function Ne(de,xe){de._state===je&&(de._result=xe,de._state=Ye,de._subscribers.length!==0&&d(wt,de));}function Ve(de,xe){de._state===je&&(de._state=qe,de._result=xe,d(Ke,de));}function ut(de,xe,ke,He){var Ze=de._subscribers,ot=Ze.length;de._onerror=null,Ze[ot]=xe,Ze[ot+Ye]=ke,Ze[ot+qe]=He,ot===0&&de._state&&d(wt,de);}function wt(de){var xe=de._subscribers,ke=de._state;if(xe.length!==0){for(var He=void 0,Ze=void 0,ot=de._result,Wt=0;Wt<xe.length;Wt+=3)He=xe[Wt],Ze=xe[Wt+ke],He?Ct(ke,He,Ze,ot):Ze(ot);de._subscribers.length=0;}}function Ct(de,xe,ke,He){var Ze=n(ke),ot=void 0,Wt=void 0,ca=true;if(Ze){try{ot=ke(He);}catch(cs){ca=false,Wt=cs;}if(xe===ot){Ve(xe,Ce());return}}else ot=He;xe._state!==je||(Ze&&ca?Oe(xe,ot):ca===false?Ve(xe,Wt):de===Ye?Ne(xe,ot):de===qe&&Ve(xe,ot));}function Bt(de,xe){try{xe(function(He){Oe(de,He);},function(He){Ve(de,He);});}catch(ke){Ve(de,ke);}}var zt=0;function jt(){return zt++}function Rt(de){de[Te]=zt++,de._state=void 0,de._result=void 0,de._subscribers=[];}function ua(){return new Error("Array Methods must be provided an Array")}var Yt=(function(){function de(xe,ke){this._instanceConstructor=xe,this.promise=new xe(Me),this.promise[Te]||Rt(this.promise),i(ke)?(this.length=ke.length,this._remaining=ke.length,this._result=new Array(this.length),this.length===0?Ne(this.promise,this._result):(this.length=this.length||0,this._enumerate(ke),this._remaining===0&&Ne(this.promise,this._result))):Ve(this.promise,ua());}return de.prototype._enumerate=function(ke){for(var He=0;this._state===je&&He<ke.length;He++)this._eachEntry(ke[He],He);},de.prototype._eachEntry=function(ke,He){var Ze=this._instanceConstructor,ot=Ze.resolve;if(ot===Ee){var Wt=void 0,ca=void 0,cs=false;try{Wt=ke.then;}catch(tc){cs=true,ca=tc;}if(Wt===ve&&ke._state!==je)this._settledAt(ke._state,He,ke._result);else if(typeof Wt!="function")this._remaining--,this._result[He]=ke;else if(Ze===Nt){var ec=new Ze(Me);cs?Ve(ec,ca):_e(ec,ke,Wt),this._willSettleAt(ec,He);}else this._willSettleAt(new Ze(function(tc){return tc(ke)}),He);}else this._willSettleAt(ot(ke),He);},de.prototype._settledAt=function(ke,He,Ze){var ot=this.promise;ot._state===je&&(this._remaining--,ke===qe?Ve(ot,Ze):this._result[He]=Ze),this._remaining===0&&Ne(ot,this._result);},de.prototype._willSettleAt=function(ke,He){var Ze=this;ut(ke,void 0,function(ot){return Ze._settledAt(Ye,He,ot)},function(ot){return Ze._settledAt(qe,He,ot)});},de})();function Ft(de){return new Yt(this,de).promise}function Gt(de){var xe=this;return i(de)?new xe(function(ke,He){for(var Ze=de.length,ot=0;ot<Ze;ot++)xe.resolve(de[ot]).then(ke,He);}):new xe(function(ke,He){return He(new TypeError("You must pass an array to race."))})}function Ht(de){var xe=this,ke=new xe(Me);return Ve(ke,de),ke}function tr(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function rr(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}var Nt=(function(){function de(xe){this[Te]=jt(),this._result=this._state=void 0,this._subscribers=[],Me!==xe&&(typeof xe!="function"&&tr(),this instanceof de?Bt(this,xe):rr());}return de.prototype.catch=function(ke){return this.then(null,ke)},de.prototype.finally=function(ke){var He=this,Ze=He.constructor;return n(ke)?He.then(function(ot){return Ze.resolve(ke()).then(function(){return ot})},function(ot){return Ze.resolve(ke()).then(function(){throw ot})}):He.then(ke,ke)},de})();Nt.prototype.then=ve,Nt.all=Ft,Nt.race=Gt,Nt.resolve=Ee,Nt.reject=Ht,Nt._setScheduler=f,Nt._setAsap=g,Nt._asap=d;function xt(){var de=void 0;if(typeof h<"u")de=h;else if(typeof self<"u")de=self;else try{de=Function("return this")();}catch{throw new Error("polyfill failed because global object is unavailable in this environment")}var xe=de.Promise;if(xe){var ke=null;try{ke=Object.prototype.toString.call(xe.resolve());}catch{}if(ke==="[object Promise]"&&!xe.cast)return}de.Promise=Nt;}return Nt.polyfill=xt,Nt.Promise=Nt,Nt});}),Ry=Q(function(e){var t=1e5,r=(function(){var se=Object.prototype.toString,Le=Object.prototype.hasOwnProperty;return {Class:function(Oe){return se.call(Oe).replace(/^\[object *|\]$/g,"")},HasProperty:function(Oe,Ke){return Ke in Oe},HasOwnProperty:function(Oe,Ke){return Le.call(Oe,Ke)},IsCallable:function(Oe){return typeof Oe=="function"},ToInt32:function(Oe){return Oe>>0},ToUint32:function(Oe){return Oe>>>0}}})(),n=Math.LN2,a=Math.abs,i=Math.floor,o=Math.log,s=Math.min,l=Math.pow,d=Math.round;function f(se,Le,_e){return se<Le?Le:se>_e?_e:se}var g=Object.getOwnPropertyNames||function(se){if(se!==Object(se))throw new TypeError("Object.getOwnPropertyNames called on non-object");var Le=[],_e;for(_e in se)r.HasOwnProperty(se,_e)&&Le.push(_e);return Le},A;Object.defineProperty&&(function(){try{return Object.defineProperty({},"x",{}),!0}catch{return false}})()?A=Object.defineProperty:A=function(Le,_e,Oe){if(!Le===Object(Le))throw new TypeError("Object.defineProperty called on non-object");return r.HasProperty(Oe,"get")&&Object.prototype.__defineGetter__&&Object.prototype.__defineGetter__.call(Le,_e,Oe.get),r.HasProperty(Oe,"set")&&Object.prototype.__defineSetter__&&Object.prototype.__defineSetter__.call(Le,_e,Oe.set),r.HasProperty(Oe,"value")&&(Le[_e]=Oe.value),Le};function k(se){if(g&&A){var Le=g(se),_e;for(_e=0;_e<Le.length;_e+=1)A(se,Le[_e],{value:se[Le[_e]],writable:false,enumerable:false,configurable:false});}}function O(se){if(!A)return;if(se.length>t)throw new RangeError("Array too large for polyfill");function Le(Oe){A(se,Oe,{get:function(){return se._getter(Oe)},set:function(Ne){se._setter(Oe,Ne);},enumerable:true,configurable:false});}var _e;for(_e=0;_e<se.length;_e+=1)Le(_e);}function V(se,Le){var _e=32-Le;return se<<_e>>_e}function G(se,Le){var _e=32-Le;return se<<_e>>>_e}function U(se){return [se&255]}function X(se){return V(se[0],8)}function te(se){return [se&255]}function re(se){return G(se[0],8)}function ae(se){return se=d(Number(se)),[se<0?0:se>255?255:se&255]}function ce(se){return [se>>8&255,se&255]}function ge(se){return V(se[0]<<8|se[1],16)}function we(se){return [se>>8&255,se&255]}function Ie(se){return G(se[0]<<8|se[1],16)}function ve(se){return [se>>24&255,se>>16&255,se>>8&255,se&255]}function Ee(se){return V(se[0]<<24|se[1]<<16|se[2]<<8|se[3],32)}function Te(se){return [se>>24&255,se>>16&255,se>>8&255,se&255]}function Me(se){return G(se[0]<<24|se[1]<<16|se[2]<<8|se[3],32)}function je(se,Le,_e){var Oe=(1<<Le-1)-1,Ke,Ne,Ve,ut,wt,Ct,Bt;function zt(jt){var Rt=i(jt),ua=jt-Rt;return ua<.5?Rt:ua>.5||Rt%2?Rt+1:Rt}for(se!==se?(Ne=(1<<Le)-1,Ve=l(2,_e-1),Ke=0):se===1/0||se===-1/0?(Ne=(1<<Le)-1,Ve=0,Ke=se<0?1:0):se===0?(Ne=0,Ve=0,Ke=1/se===-1/0?1:0):(Ke=se<0,se=a(se),se>=l(2,1-Oe)?(Ne=s(i(o(se)/n),1023),Ve=zt(se/l(2,Ne)*l(2,_e)),Ve/l(2,_e)>=2&&(Ne=Ne+1,Ve=1),Ne>Oe?(Ne=(1<<Le)-1,Ve=0):(Ne=Ne+Oe,Ve=Ve-l(2,_e))):(Ne=0,Ve=zt(se/l(2,1-Oe-_e)))),wt=[],ut=_e;ut;ut-=1)wt.push(Ve%2?1:0),Ve=i(Ve/2);for(ut=Le;ut;ut-=1)wt.push(Ne%2?1:0),Ne=i(Ne/2);for(wt.push(Ke?1:0),wt.reverse(),Ct=wt.join(""),Bt=[];Ct.length;)Bt.push(parseInt(Ct.substring(0,8),2)),Ct=Ct.substring(8);return Bt}function Ye(se,Le,_e){var Oe=[],Ke,Ne,Ve,ut,wt,Ct,Bt,zt;for(Ke=se.length;Ke;Ke-=1)for(Ve=se[Ke-1],Ne=8;Ne;Ne-=1)Oe.push(Ve%2?1:0),Ve=Ve>>1;return Oe.reverse(),ut=Oe.join(""),wt=(1<<Le-1)-1,Ct=parseInt(ut.substring(0,1),2)?-1:1,Bt=parseInt(ut.substring(1,1+Le),2),zt=parseInt(ut.substring(1+Le),2),Bt===(1<<Le)-1?zt===0?Ct*(1/0):NaN:Bt>0?Ct*l(2,Bt-wt)*(1+zt/l(2,_e)):zt!==0?Ct*l(2,-(wt-1))*(zt/l(2,_e)):Ct<0?-0:0}function qe(se){return Ye(se,11,52)}function Xe(se){return je(se,11,52)}function Ce(se){return Ye(se,8,23)}function $e(se){return je(se,8,23)}((function(){function se(jt){if(jt=r.ToInt32(jt),jt<0)throw new RangeError("ArrayBuffer size is not a small enough positive integer");this.byteLength=jt,this._bytes=[],this._bytes.length=jt;var Rt;for(Rt=0;Rt<this.byteLength;Rt+=1)this._bytes[Rt]=0;k(this);}e.ArrayBuffer=e.ArrayBuffer||se;function Le(){}function _e(jt,Rt,ua){var Yt;return Yt=function(Gt,Ht,tr){var rr,Nt,xt,de;if(!arguments.length||typeof arguments[0]=="number"){if(this.length=r.ToInt32(arguments[0]),tr<0)throw new RangeError("ArrayBufferView size is not a small enough positive integer");this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new se(this.byteLength),this.byteOffset=0;}else if(ye(arguments[0])==="object"&&arguments[0].constructor===Yt)for(rr=arguments[0],this.length=rr.length,this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new se(this.byteLength),this.byteOffset=0,xt=0;xt<this.length;xt+=1)this._setter(xt,rr._getter(xt));else if(ye(arguments[0])==="object"&&!(arguments[0]instanceof se||r.Class(arguments[0])==="ArrayBuffer"))for(Nt=arguments[0],this.length=r.ToUint32(Nt.length),this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new se(this.byteLength),this.byteOffset=0,xt=0;xt<this.length;xt+=1)de=Nt[xt],this._setter(xt,Number(de));else if(ye(arguments[0])==="object"&&(arguments[0]instanceof se||r.Class(arguments[0])==="ArrayBuffer")){if(this.buffer=Gt,this.byteOffset=r.ToUint32(Ht),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(tr),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=Yt,k(this),O(this);},Yt.prototype=new Le,Yt.prototype.BYTES_PER_ELEMENT=jt,Yt.prototype._pack=Rt,Yt.prototype._unpack=ua,Yt.BYTES_PER_ELEMENT=jt,Yt.prototype._getter=function(Ft){if(arguments.length<1)throw new SyntaxError("Not enough arguments");if(Ft=r.ToUint32(Ft),!(Ft>=this.length)){for(var Gt=[],Ht=0,tr=this.byteOffset+Ft*this.BYTES_PER_ELEMENT;Ht<this.BYTES_PER_ELEMENT;Ht+=1,tr+=1)Gt.push(this.buffer._bytes[tr]);return this._unpack(Gt)}},Yt.prototype.get=Yt.prototype._getter,Yt.prototype._setter=function(Ft,Gt){if(arguments.length<2)throw new SyntaxError("Not enough arguments");if(Ft=r.ToUint32(Ft),Ft<this.length){var Ht=this._pack(Gt),tr,rr;for(tr=0,rr=this.byteOffset+Ft*this.BYTES_PER_ELEMENT;tr<this.BYTES_PER_ELEMENT;tr+=1,rr+=1)this.buffer._bytes[rr]=Ht[tr];}},Yt.prototype.set=function(Ft,Gt){if(arguments.length<1)throw new SyntaxError("Not enough arguments");var Ht,tr,rr,Nt,xt,de,xe,ke,He,Ze;if(ye(arguments[0])==="object"&&arguments[0].constructor===this.constructor){if(Ht=arguments[0],rr=r.ToUint32(arguments[1]),rr+Ht.length>this.length)throw new RangeError("Offset plus length of array is out of range");if(ke=this.byteOffset+rr*this.BYTES_PER_ELEMENT,He=Ht.length*this.BYTES_PER_ELEMENT,Ht.buffer===this.buffer){for(Ze=[],xt=0,de=Ht.byteOffset;xt<He;xt+=1,de+=1)Ze[xt]=Ht.buffer._bytes[de];for(xt=0,xe=ke;xt<He;xt+=1,xe+=1)this.buffer._bytes[xe]=Ze[xt];}else for(xt=0,de=Ht.byteOffset,xe=ke;xt<He;xt+=1,de+=1,xe+=1)this.buffer._bytes[xe]=Ht.buffer._bytes[de];}else if(ye(arguments[0])==="object"&&typeof arguments[0].length<"u"){if(tr=arguments[0],Nt=r.ToUint32(tr.length),rr=r.ToUint32(arguments[1]),rr+Nt>this.length)throw new RangeError("Offset plus length of array is out of range");for(xt=0;xt<Nt;xt+=1)de=tr[xt],this._setter(rr+xt,Number(de));}else throw new TypeError("Unexpected argument type(s)")},Yt.prototype.subarray=function(Ft,Gt){Ft=r.ToInt32(Ft),Gt=r.ToInt32(Gt),arguments.length<1&&(Ft=0),arguments.length<2&&(Gt=this.length),Ft<0&&(Ft=this.length+Ft),Gt<0&&(Gt=this.length+Gt),Ft=f(Ft,0,this.length),Gt=f(Gt,0,this.length);var Ht=Gt-Ft;return Ht<0&&(Ht=0),new this.constructor(this.buffer,this.byteOffset+Ft*this.BYTES_PER_ELEMENT,Ht)},Yt}var Oe=_e(1,U,X),Ke=_e(1,te,re),Ne=_e(1,ae,re),Ve=_e(2,ce,ge),ut=_e(2,we,Ie),wt=_e(4,ve,Ee),Ct=_e(4,Te,Me),Bt=_e(4,$e,Ce),zt=_e(8,Xe,qe);e.Int8Array=e.Int8Array||Oe,e.Uint8Array=e.Uint8Array||Ke,e.Uint8ClampedArray=e.Uint8ClampedArray||Ne,e.Int16Array=e.Int16Array||Ve,e.Uint16Array=e.Uint16Array||ut,e.Int32Array=e.Int32Array||wt,e.Uint32Array=e.Uint32Array||Ct,e.Float32Array=e.Float32Array||Bt,e.Float64Array=e.Float64Array||zt;}))(),(function(){function se(Ne,Ve){return r.IsCallable(Ne.get)?Ne.get(Ve):Ne[Ve]}var Le=(function(){var Ne=new e.Uint16Array([4660]),Ve=new e.Uint8Array(Ne.buffer);return se(Ve,0)===18})();function _e(Ne,Ve,ut){if(arguments.length===0)Ne=new e.ArrayBuffer(0);else if(!(Ne instanceof e.ArrayBuffer||r.Class(Ne)==="ArrayBuffer"))throw new TypeError("TypeError");if(this.buffer=Ne||new e.ArrayBuffer(0),this.byteOffset=r.ToUint32(Ve),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(ut),this.byteOffset+this.byteLength>this.buffer.byteLength)throw new RangeError("byteOffset and length reference an area beyond the end of the buffer");k(this);}function Oe(Ne){return function(Ve,ut){if(Ve=r.ToUint32(Ve),Ve+Ne.BYTES_PER_ELEMENT>this.byteLength)throw new RangeError("Array index out of range");Ve+=this.byteOffset;var wt=new e.Uint8Array(this.buffer,Ve,Ne.BYTES_PER_ELEMENT),Ct=[],Bt;for(Bt=0;Bt<Ne.BYTES_PER_ELEMENT;Bt+=1)Ct.push(se(wt,Bt));return !!ut==!!Le&&Ct.reverse(),se(new Ne(new e.Uint8Array(Ct).buffer),0)}}_e.prototype.getUint8=Oe(e.Uint8Array),_e.prototype.getInt8=Oe(e.Int8Array),_e.prototype.getUint16=Oe(e.Uint16Array),_e.prototype.getInt16=Oe(e.Int16Array),_e.prototype.getUint32=Oe(e.Uint32Array),_e.prototype.getInt32=Oe(e.Int32Array),_e.prototype.getFloat32=Oe(e.Float32Array),_e.prototype.getFloat64=Oe(e.Float64Array);function Ke(Ne){return function(Ve,ut,wt){if(Ve=r.ToUint32(Ve),Ve+Ne.BYTES_PER_ELEMENT>this.byteLength)throw new RangeError("Array index out of range");var Ct=new Ne([ut]),Bt=new e.Uint8Array(Ct.buffer),zt=[],jt,Rt;for(jt=0;jt<Ne.BYTES_PER_ELEMENT;jt+=1)zt.push(se(Bt,jt));!!wt==!!Le&&zt.reverse(),Rt=new e.Uint8Array(this.buffer,Ve,Ne.BYTES_PER_ELEMENT),Rt.set(zt);}}_e.prototype.setUint8=Ke(e.Uint8Array),_e.prototype.setInt8=Ke(e.Int8Array),_e.prototype.setUint16=Ke(e.Uint16Array),_e.prototype.setInt16=Ke(e.Int16Array),_e.prototype.setUint32=Ke(e.Uint32Array),_e.prototype.setInt32=Ke(e.Int32Array),_e.prototype.setFloat32=Ke(e.Float32Array),_e.prototype.setFloat64=Ke(e.Float64Array),e.DataView=e.DataView||_e;})();}),Fy=Q(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,d){n?Object.defineProperty(s,l,{configurable:true,writable:true,value:d}):s[l]=d;};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(f){if(s(this,"delete"),!i(f))return false;var g=f[this._id];return g&&g[0]===f?(delete f[this._id],true):false}),a(o.prototype,"get",function(f){if(s(this,"get"),!!i(f)){var g=f[this._id];if(g&&g[0]===f)return g[1]}}),a(o.prototype,"has",function(f){if(s(this,"has"),!i(f))return false;var g=f[this._id];return !!(g&&g[0]===f)}),a(o.prototype,"set",function(f,g){if(s(this,"set"),!i(f))throw new TypeError("Invalid value used as weak map key");var A=f[this._id];return A&&A[0]===f?(A[1]=g,this):(a(f,this._id,[f,g]),this)});function s(f,g){if(!i(f)||!r.call(f,"_id"))throw new TypeError(g+" method called on incompatible receiver "+ye(f))}function l(f){return f+"_"+d()+"."+d()}function d(){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 c<"u"?c:typeof h<"u"?h:e);}),Dr=Q(function(e,t){var r=function(a){return a&&a.Math===Math&&a};t.exports=r((typeof globalThis>"u"?"undefined":ye(globalThis))=="object"&&globalThis)||r((typeof c>"u"?"undefined":ye(c))=="object"&&c)||r((typeof self>"u"?"undefined":ye(self))=="object"&&self)||r((typeof h>"u"?"undefined":ye(h))=="object"&&h)||r(ye(e)=="object"&&e)||(function(){return this})()||Function("return this")();}),Er=Q(function(e,t){t.exports=function(r){try{return !!r()}catch{return true}};}),Pi=Q(function(e,t){var r=Er();t.exports=!r(function(){var n=function(){}.bind();return typeof n!="function"||n.hasOwnProperty("prototype")});}),Iy=Q(function(e,t){var r=Pi(),n=Function.prototype,a=n.apply,i=n.call;t.exports=(typeof Reflect>"u"?"undefined":ye(Reflect))=="object"&&Reflect.apply||(r?i.bind(a):function(){return i.apply(a,arguments)});}),hr=Q(function(e,t){var r=Pi(),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)}};}),Li=Q(function(e,t){var r=hr(),n=r({}.toString),a=r("".slice);t.exports=function(i){return a(n(i),8,-1)};}),Uc=Q(function(e,t){var r=Li(),n=hr();t.exports=function(a){if(r(a)==="Function")return n(a)};}),ir=Q(function(e,t){var r=(typeof p>"u"?"undefined":ye(p))=="object"&&p.all;t.exports=typeof r>"u"&&r!==void 0?function(n){return typeof n=="function"||n===r}:function(n){return typeof n=="function"};}),Mr=Q(function(e,t){var r=Er();t.exports=!r(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7});}),An=Q(function(e,t){var r=Pi(),n=Function.prototype.call;t.exports=r?n.bind(n):function(){return n.apply(n,arguments)};}),Xc=Q(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;}),Oi=Q(function(e,t){t.exports=function(r,n){return {enumerable:!(r&1),configurable:!(r&2),writable:!(r&4),value:n}};}),My=Q(function(e,t){var r=hr(),n=Er(),a=Li(),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;}),Ss=Q(function(e,t){t.exports=function(r){return r==null};}),Ni=Q(function(e,t){var r=Ss(),n=TypeError;t.exports=function(a){if(r(a))throw new n("Can't call method on "+a);return a};}),Ea=Q(function(e,t){var r=My(),n=Ni();t.exports=function(a){return r(n(a))};}),rn=Q(function(e,t){var r=ir();t.exports=function(n){return ye(n)=="object"?n!==null:r(n)};}),Ca=Q(function(e,t){t.exports={};}),Ts=Q(function(e,t){var r=Ca(),n=Dr(),a=ir(),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]};}),Py=Q(function(e,t){var r=hr();t.exports=r({}.isPrototypeOf);}),Ly=Q(function(e,t){var r=Dr(),n=r.navigator,a=n&&n.userAgent;t.exports=a?String(a):"";}),Oy=Q(function(e,t){var r=Dr(),n=Ly(),a=r.process,i=r.Deno,o=a&&a.versions||i&&i.version,s=o&&o.v8,l,d;s&&(l=s.split("."),d=l[0]>0&&l[0]<4?1:+(l[0]+l[1])),!d&&n&&(l=n.match(/Edge\/(\d+)/),(!l||l[1]>=74)&&(l=n.match(/Chrome\/(\d+)/),l&&(d=+l[1]))),t.exports=d;}),Jc=Q(function(e,t){var r=Oy(),n=Er(),a=Dr(),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});}),Kc=Q(function(e,t){var r=Jc();t.exports=r&&!Symbol.sham&&ye(Symbol.iterator)=="symbol";}),Yc=Q(function(e,t){var r=Ts(),n=ir(),a=Py(),i=Kc(),o=Object;t.exports=i?function(s){return ye(s)=="symbol"}:function(s){var l=r("Symbol");return n(l)&&a(l.prototype,o(s))};}),Zc=Q(function(e,t){var r=String;t.exports=function(n){try{return r(n)}catch{return "Object"}};}),qi=Q(function(e,t){var r=ir(),n=Zc(),a=TypeError;t.exports=function(i){if(r(i))return i;throw new a(n(i)+" is not a function")};}),Rs=Q(function(e,t){var r=qi(),n=Ss();t.exports=function(a,i){var o=a[i];return n(o)?void 0:r(o)};}),Ny=Q(function(e,t){var r=An(),n=ir(),a=rn(),i=TypeError;t.exports=function(o,s){var l,d;if(s==="string"&&n(l=o.toString)&&!a(d=r(l,o))||n(l=o.valueOf)&&!a(d=r(l,o))||s!=="string"&&n(l=o.toString)&&!a(d=r(l,o)))return d;throw new i("Can't convert object to primitive value")};}),Fs=Q(function(e,t){t.exports=true;}),qy=Q(function(e,t){var r=Dr(),n=Object.defineProperty;t.exports=function(a,i){try{n(r,a,{value:i,configurable:!0,writable:!0});}catch{r[a]=i;}return i};}),Bi=Q(function(e,t){var r=Fs(),n=Dr(),a=qy(),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"});}),Qc=Q(function(e,t){var r=Bi();t.exports=function(n,a){return r[n]||(r[n]=a||{})};}),Is=Q(function(e,t){var r=Ni(),n=Object;t.exports=function(a){return n(r(a))};}),Wr=Q(function(e,t){var r=hr(),n=Is(),a=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(o,s){return a(n(o),s)};}),ed=Q(function(e,t){var r=hr(),n=0,a=Math.random(),i=r(1.1.toString);t.exports=function(o){return "Symbol("+(o===void 0?"":o)+")_"+i(++n+a,36)};}),Ur=Q(function(e,t){var r=Dr(),n=Qc(),a=Wr(),i=ed(),o=Jc(),s=Kc(),l=r.Symbol,d=n("wks"),f=s?l.for||l:l&&l.withoutSetter||i;t.exports=function(g){return a(d,g)||(d[g]=o&&a(l,g)?l[g]:f("Symbol."+g)),d[g]};}),By=Q(function(e,t){var r=An(),n=rn(),a=Yc(),i=Rs(),o=Ny(),s=Ur(),l=TypeError,d=s("toPrimitive");t.exports=function(f,g){if(!n(f)||a(f))return f;var A=i(f,d),k;if(A){if(g===void 0&&(g="default"),k=r(A,f,g),!n(k)||a(k))return k;throw new l("Can't convert object to primitive value")}return g===void 0&&(g="number"),o(f,g)};}),td=Q(function(e,t){var r=By(),n=Yc();t.exports=function(a){var i=r(a,"string");return n(i)?i:i+""};}),rd=Q(function(e,t){var r=Dr(),n=rn(),a=r.document,i=n(a)&&n(a.createElement);t.exports=function(o){return i?a.createElement(o):{}};}),nd=Q(function(e,t){var r=Mr(),n=Er(),a=rd();t.exports=!r&&!n(function(){return Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a!==7});}),Hy=Q(function(e){var t=Mr(),r=An(),n=Xc(),a=Oi(),i=Ea(),o=td(),s=Wr(),l=nd(),d=Object.getOwnPropertyDescriptor;e.f=t?d:function(g,A){if(g=i(g),A=o(A),l)try{return d(g,A)}catch{}if(s(g,A))return a(!r(n.f,g,A),g[A])};}),Vy=Q(function(e,t){var r=Er(),n=ir(),a=/#|\.prototype\./,i=function(g,A){var k=s[o(g)];return k===d?true:k===l?false:n(A)?r(A):!!A},o=i.normalize=function(f){return String(f).replace(a,".").toLowerCase()},s=i.data={},l=i.NATIVE="N",d=i.POLYFILL="P";t.exports=i;}),ad=Q(function(e,t){var r=Uc(),n=qi(),a=Pi(),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)}};}),id=Q(function(e,t){var r=Mr(),n=Er();t.exports=r&&n(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:false}).prototype!==42});}),zn=Q(function(e,t){var r=rn(),n=String,a=TypeError;t.exports=function(i){if(r(i))return i;throw new a(n(i)+" is not an object")};}),Hi=Q(function(e){var t=Mr(),r=nd(),n=id(),a=zn(),i=td(),o=TypeError,s=Object.defineProperty,l=Object.getOwnPropertyDescriptor,d="enumerable",f="configurable",g="writable";e.f=t?n?function(k,O,V){if(a(k),O=i(O),a(V),typeof k=="function"&&O==="prototype"&&"value"in V&&g in V&&!V[g]){var G=l(k,O);G&&G[g]&&(k[O]=V.value,V={configurable:f in V?V[f]:G[f],enumerable:d in V?V[d]:G[d],writable:false});}return s(k,O,V)}:s:function(k,O,V){if(a(k),O=i(O),a(V),r)try{return s(k,O,V)}catch{}if("get"in V||"set"in V)throw new o("Accessors not supported");return "value"in V&&(k[O]=V.value),k};}),ka=Q(function(e,t){var r=Mr(),n=Hi(),a=Oi();t.exports=r?function(i,o,s){return n.f(i,o,a(1,s))}:function(i,o,s){return i[o]=s,i};}),Vi=Q(function(e,t){var r=Dr(),n=Iy(),a=Uc(),i=ir(),o=Hy().f,s=Vy(),l=Ca(),d=ad(),f=ka(),g=Wr();Bi();var A=function(O){var V=function(U,X,te){if(this instanceof V){switch(arguments.length){case 0:return new O;case 1:return new O(U);case 2:return new O(U,X)}return new O(U,X,te)}return n(O,this,arguments)};return V.prototype=O.prototype,V};t.exports=function(k,O){var V=k.target,G=k.global,U=k.stat,X=k.proto,te=G?r:U?r[V]:r[V]&&r[V].prototype,re=G?l:l[V]||f(l,V,{})[V],ae=re.prototype,ce,ge,we,Ie,ve,Ee,Te,Me,je;for(Ie in O)ce=s(G?Ie:V+(U?".":"#")+Ie,k.forced),ge=!ce&&te&&g(te,Ie),Ee=re[Ie],ge&&(k.dontCallGetSet?(je=o(te,Ie),Te=je&&je.value):Te=te[Ie]),ve=ge&&Te?Te:O[Ie],!(!ce&&!X&&ye(Ee)==ye(ve))&&(k.bind&&ge?Me=d(ve,r):k.wrap&&ge?Me=A(ve):X&&i(ve)?Me=a(ve):Me=ve,(k.sham||ve&&ve.sham||Ee&&Ee.sham)&&f(Me,"sham",true),f(re,Ie,Me),X&&(we=V+"Prototype",g(l,we)||f(l,we,{}),f(l[we],Ie,ve),k.real&&ae&&(ce||!ae[Ie])&&f(ae,Ie,ve)));};}),$y=Q(function(){var e=Vi(),t=Wr();e({target:"Object",stat:true},{hasOwn:t});}),jy=Q(function(e,t){$y();var r=Ca();t.exports=r.Object.hasOwn;}),zy=Q(function(e,t){var r=jy();t.exports=r;}),Gy=Q(function(e,t){var r=zy();t.exports=r;}),Ms=Q(function(e,t){var r=Qc(),n=ed(),a=r("keys");t.exports=function(i){return a[i]||(a[i]=n(i))};}),Wy=Q(function(e,t){var r=Er();t.exports=!r(function(){function n(){}return n.prototype.constructor=null,Object.getPrototypeOf(new n)!==n.prototype});}),Ps=Q(function(e,t){var r=Wr(),n=ir(),a=Is(),i=Ms(),o=Wy(),s=i("IE_PROTO"),l=Object,d=l.prototype;t.exports=o?l.getPrototypeOf:function(f){var g=a(f);if(r(g,s))return g[s];var A=g.constructor;return n(A)&&g instanceof A?A.prototype:g instanceof l?d:null};}),Uy=Q(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)};}),Ls=Q(function(e,t){var r=Uy();t.exports=function(n){var a=+n;return a!==a||a===0?0:r(a)};}),Xy=Q(function(e,t){var r=Ls(),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)};}),Jy=Q(function(e,t){var r=Ls(),n=Math.min;t.exports=function(a){var i=r(a);return i>0?n(i,9007199254740991):0};}),od=Q(function(e,t){var r=Jy();t.exports=function(n){return r(n.length)};}),Ky=Q(function(e,t){var r=Ea(),n=Xy(),a=od(),i=function(s){return function(l,d,f){var g=r(l),A=a(g);if(A===0)return !s&&-1;var k=n(f,A),O;if(s&&d!==d){for(;A>k;)if(O=g[k++],O!==O)return true}else for(;A>k;k++)if((s||k in g)&&g[k]===d)return s||k||0;return !s&&-1}};t.exports={includes:i(true),indexOf:i(false)};}),Os=Q(function(e,t){t.exports={};}),Yy=Q(function(e,t){var r=hr(),n=Wr(),a=Ea(),i=Ky().indexOf,o=Os(),s=r([].push);t.exports=function(l,d){var f=a(l),g=0,A=[],k;for(k in f)!n(o,k)&&n(f,k)&&s(A,k);for(;d.length>g;)n(f,k=d[g++])&&(~i(A,k)||s(A,k));return A};}),sd=Q(function(e,t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"];}),ld=Q(function(e,t){var r=Yy(),n=sd();t.exports=Object.keys||function(i){return r(i,n)};}),Zy=Q(function(e,t){var r=Mr(),n=Er(),a=hr(),i=Ps(),o=ld(),s=Ea(),l=Xc().f,d=a(l),f=a([].push),g=r&&n(function(){var k=Object.create(null);return k[2]=2,!d(k,2)}),A=function(O){return function(V){for(var G=s(V),U=o(G),X=g&&i(G)===null,te=U.length,re=0,ae=[],ce;te>re;)ce=U[re++],(!r||(X?ce in G:d(G,ce)))&&f(ae,O?[ce,G[ce]]:G[ce]);return ae}};t.exports={entries:A(true),values:A(false)};}),Qy=Q(function(){var e=Vi(),t=Zy().values;e({target:"Object",stat:true},{values:function(n){return t(n)}});}),e0=Q(function(e,t){Qy();var r=Ca();t.exports=r.Object.values;}),t0=Q(function(e,t){var r=e0();t.exports=r;}),r0=Q(function(e,t){var r=t0();t.exports=r;}),Ns=Q(function(e,t){var r=Ur(),n=r("toStringTag"),a={};a[n]="z",t.exports=String(a)==="[object z]";}),$i=Q(function(e,t){var r=Ns(),n=ir(),a=Li(),i=Ur(),o=i("toStringTag"),s=Object,l=a((function(){return arguments})())==="Arguments",d=function(g,A){try{return g[A]}catch{}};t.exports=r?a:function(f){var g,A,k;return f===void 0?"Undefined":f===null?"Null":typeof(A=d(g=s(f),o))=="string"?A:l?a(g):(k=a(g))==="Object"&&n(g.callee)?"Arguments":k};}),ud=Q(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)};}),n0=Q(function(e,t){var r=hr(),n=Ls(),a=ud(),i=Ni(),o=r("".charAt),s=r("".charCodeAt),l=r("".slice),d=function(g){return function(A,k){var O=a(i(A)),V=n(k),G=O.length,U,X;return V<0||V>=G?g?"":void 0:(U=s(O,V),U<55296||U>56319||V+1===G||(X=s(O,V+1))<56320||X>57343?g?o(O,V):U:g?l(O,V,V+2):(U-55296<<10)+(X-56320)+65536)}};t.exports={codeAt:d(false),charAt:d(true)};}),a0=Q(function(e,t){var r=Dr(),n=ir(),a=r.WeakMap;t.exports=n(a)&&/native code/.test(String(a));}),i0=Q(function(e,t){var r=a0(),n=Dr(),a=rn(),i=ka(),o=Wr(),s=Bi(),l=Ms(),d=Os(),f="Object already initialized",g=n.TypeError,A=n.WeakMap,k,O,V,G=function(ae){return V(ae)?O(ae):k(ae,{})},U=function(ae){return function(ce){var ge;if(!a(ce)||(ge=O(ce)).type!==ae)throw new g("Incompatible receiver, "+ae+" required");return ge}};r||s.state?(X=s.state||(s.state=new A),X.get=X.get,X.has=X.has,X.set=X.set,k=function(ae,ce){if(X.has(ae))throw new g(f);return ce.facade=ae,X.set(ae,ce),ce},O=function(ae){return X.get(ae)||{}},V=function(ae){return X.has(ae)}):(te=l("state"),d[te]=true,k=function(ae,ce){if(o(ae,te))throw new g(f);return ce.facade=ae,i(ae,te,ce),ce},O=function(ae){return o(ae,te)?ae[te]:{}},V=function(ae){return o(ae,te)});var X,te;t.exports={set:k,get:O,has:V,enforce:G,getterFor:U};}),o0=Q(function(e,t){var r=Mr(),n=Wr(),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};}),s0=Q(function(e){var t=Mr(),r=id(),n=Hi(),a=zn(),i=Ea(),o=ld();e.f=t&&!r?Object.defineProperties:function(l,d){a(l);for(var f=i(d),g=o(d),A=g.length,k=0,O;A>k;)n.f(l,O=g[k++],f[O]);return l};}),l0=Q(function(e,t){var r=Ts();t.exports=r("document","documentElement");}),cd=Q(function(e,t){var r=zn(),n=s0(),a=sd(),i=Os(),o=l0(),s=rd(),l=Ms(),d=">",f="<",g="prototype",A="script",k=l("IE_PROTO"),O=function(){},V=function(ae){return f+A+d+ae+f+"/"+A+d},G=function(ae){ae.write(V("")),ae.close();var ce=ae.parentWindow.Object;return ae=null,ce},U=function(){var ae=s("iframe"),ce="java"+A+":",ge;return ae.style.display="none",o.appendChild(ae),ae.src=String(ce),ge=ae.contentWindow.document,ge.open(),ge.write(V("document.F=Object")),ge.close(),ge.F},X,te=function(){try{X=new ActiveXObject("htmlfile");}catch{}te=typeof p<"u"?p.domain&&X?G(X):U():G(X);for(var ae=a.length;ae--;)delete te[g][a[ae]];return te()};i[k]=true,t.exports=Object.create||function(ae,ce){var ge;return ae!==null?(O[g]=r(ae),ge=new O,O[g]=null,ge[k]=ae):ge=te(),ce===void 0?ge:n.f(ge,ce)};}),dd=Q(function(e,t){var r=ka();t.exports=function(n,a,i,o){return o&&o.enumerable?n[a]=i:r(n,a,i),n};}),fd=Q(function(e,t){var r=Er(),n=ir(),a=rn(),i=cd(),o=Ps(),s=dd(),l=Ur(),d=Fs(),f=l("iterator"),g=false,A,k,O;[].keys&&(O=[].keys(),"next"in O?(k=o(o(O)),k!==Object.prototype&&(A=k)):g=true);var V=!a(A)||r(function(){var G={};return A[f].call(G)!==G});V?A={}:d&&(A=i(A)),n(A[f])||s(A,f,function(){return this}),t.exports={IteratorPrototype:A,BUGGY_SAFARI_ITERATORS:g};}),u0=Q(function(e,t){var r=Ns(),n=$i();t.exports=r?{}.toString:function(){return "[object "+n(this)+"]"};}),pd=Q(function(e,t){var r=Ns(),n=Hi().f,a=ka(),i=Wr(),o=u0(),s=Ur(),l=s("toStringTag");t.exports=function(d,f,g,A){var k=g?d:d&&d.prototype;k&&(i(k,l)||n(k,l,{configurable:true,value:f}),A&&!r&&a(k,"toString",o));};}),ji=Q(function(e,t){t.exports={};}),c0=Q(function(e,t){var r=fd().IteratorPrototype,n=cd(),a=Oi(),i=pd(),o=ji(),s=function(){return this};t.exports=function(l,d,f,g){var A=d+" Iterator";return l.prototype=n(r,{next:a(+!g,f)}),i(l,A,false,true),o[A]=s,l};}),d0=Q(function(e,t){var r=hr(),n=qi();t.exports=function(a,i,o){try{return r(n(Object.getOwnPropertyDescriptor(a,i)[o]))}catch{}};}),f0=Q(function(e,t){var r=rn();t.exports=function(n){return r(n)||n===null};}),p0=Q(function(e,t){var r=f0(),n=String,a=TypeError;t.exports=function(i){if(r(i))return i;throw new a("Can't set "+n(i)+" as a prototype")};}),m0=Q(function(e,t){var r=d0(),n=rn(),a=Ni(),i=p0();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(f,g){return a(f),i(g),n(f)&&(o?l(f,g):f.__proto__=g),f}})():void 0);}),h0=Q(function(e,t){var r=Vi(),n=An(),a=Fs(),i=o0(),o=ir(),s=c0(),l=Ps(),d=m0(),f=pd(),g=ka(),A=dd(),k=Ur(),O=ji(),V=fd(),G=i.PROPER,U=i.CONFIGURABLE,X=V.IteratorPrototype,te=V.BUGGY_SAFARI_ITERATORS,re=k("iterator"),ae="keys",ce="values",ge="entries",we=function(){return this};t.exports=function(Ie,ve,Ee,Te,Me,je,Ye){s(Ee,ve,Te);var qe=function(ut){if(ut===Me&&Le)return Le;if(!te&&ut&&ut in $e)return $e[ut];switch(ut){case ae:return function(){return new Ee(this,ut)};case ce:return function(){return new Ee(this,ut)};case ge:return function(){return new Ee(this,ut)}}return function(){return new Ee(this)}},Xe=ve+" Iterator",Ce=false,$e=Ie.prototype,se=$e[re]||$e["@@iterator"]||Me&&$e[Me],Le=!te&&se||qe(Me),_e=ve==="Array"&&$e.entries||se,Oe,Ke,Ne;if(_e&&(Oe=l(_e.call(new Ie)),Oe!==Object.prototype&&Oe.next&&(!a&&l(Oe)!==X&&(d?d(Oe,X):o(Oe[re])||A(Oe,re,we)),f(Oe,Xe,true,true),a&&(O[Xe]=we))),G&&Me===ce&&se&&se.name!==ce&&(!a&&U?g($e,"name",ce):(Ce=true,Le=function(){return n(se,this)})),Me)if(Ke={values:qe(ce),keys:je?Le:qe(ae),entries:qe(ge)},Ye)for(Ne in Ke)(te||Ce||!(Ne in $e))&&A($e,Ne,Ke[Ne]);else r({target:ve,proto:true,forced:te||Ce},Ke);return (!a||Ye)&&$e[re]!==Le&&A($e,re,Le,{name:Me}),O[ve]=Le,Ke};}),g0=Q(function(e,t){t.exports=function(r,n){return {value:r,done:n}};}),v0=Q(function(){var e=n0().charAt,t=ud(),r=i0(),n=h0(),a=g0(),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 d=s(this),f=d.string,g=d.index,A;return g>=f.length?a(void 0,true):(A=e(f,g),d.index+=A.length,a(A,false))});}),b0=Q(function(e,t){var r=An(),n=zn(),a=Rs();t.exports=function(i,o,s){var l,d;n(i);try{if(l=a(i,"return"),!l){if(o==="throw")throw s;return s}l=r(l,i);}catch(f){d=true,l=f;}if(o==="throw")throw s;if(d)throw l;return n(l),s};}),y0=Q(function(e,t){var r=zn(),n=b0();t.exports=function(a,i,o,s){try{return s?i(r(o)[0],o[1]):i(o)}catch(l){n(a,"throw",l);}};}),w0=Q(function(e,t){var r=Ur(),n=ji(),a=r("iterator"),i=Array.prototype;t.exports=function(o){return o!==void 0&&(n.Array===o||i[a]===o)};}),x0=Q(function(e,t){var r=hr(),n=ir(),a=Bi(),i=r(Function.toString);n(a.inspectSource)||(a.inspectSource=function(o){return i(o)}),t.exports=a.inspectSource;}),A0=Q(function(e,t){var r=hr(),n=Er(),a=ir(),i=$i(),o=Ts(),s=x0(),l=function(){},d=o("Reflect","construct"),f=/^\s*(?:class|function)\b/,g=r(f.exec),A=!f.test(l),k=function(G){if(!a(G))return false;try{return d(l,[],G),!0}catch{return false}},O=function(G){if(!a(G))return false;switch(i(G)){case "AsyncFunction":case "GeneratorFunction":case "AsyncGeneratorFunction":return false}try{return A||!!g(f,s(G))}catch{return true}};O.sham=true,t.exports=!d||n(function(){var V;return k(k.call)||!k(Object)||!k(function(){V=true;})||V})?O:k;}),_0=Q(function(e,t){var r=Mr(),n=Hi(),a=Oi();t.exports=function(i,o,s){r?n.f(i,o,a(0,s)):i[o]=s;};}),D0=Q(function(e,t){var r=Li();t.exports=Array.isArray||function(a){return r(a)==="Array"};}),E0=Q(function(e,t){var r=Mr(),n=D0(),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};}),md=Q(function(e,t){var r=$i(),n=Rs(),a=Ss(),i=ji(),o=Ur(),s=o("iterator");t.exports=function(l){if(!a(l))return n(l,s)||n(l,"@@iterator")||i[r(l)]};}),C0=Q(function(e,t){var r=An(),n=qi(),a=zn(),i=Zc(),o=md(),s=TypeError;t.exports=function(l,d){var f=arguments.length<2?o(l):d;if(n(f))return a(r(f,l));throw new s(i(l)+" is not iterable")};}),k0=Q(function(e,t){var r=ad(),n=An(),a=Is(),i=y0(),o=w0(),s=A0(),l=od(),d=_0(),f=E0(),g=C0(),A=md(),k=Array;t.exports=function(V){var G=a(V),U=s(this),X=arguments.length,te=X>1?arguments[1]:void 0,re=te!==void 0;re&&(te=r(te,X>2?arguments[2]:void 0));var ae=A(G),ce=0,ge,we,Ie,ve,Ee,Te;if(ae&&!(this===k&&o(ae)))for(we=U?new this:[],ve=g(G,ae),Ee=ve.next;!(Ie=n(Ee,ve)).done;ce++)Te=re?i(ve,te,[Ie.value,ce],true):Ie.value,d(we,ce,Te);else for(ge=l(G),we=U?new this(ge):k(ge);ge>ce;ce++)Te=re?te(G[ce],ce):G[ce],d(we,ce,Te);return f(we,ce),we};}),S0=Q(function(e,t){var r=Ur(),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 d=false;try{var f={};f[n]=function(){return {next:function(){return {done:d=!0}}}},s(f);}catch{}return d};}),T0=Q(function(){var e=Vi(),t=k0(),r=S0(),n=!r(function(a){Array.from(a);});e({target:"Array",stat:true,forced:n},{from:t});}),R0=Q(function(e,t){v0(),T0();var r=Ca();t.exports=r.Array.from;}),F0=Q(function(e,t){var r=R0();t.exports=r;}),hd=Q(function(e,t){var r=F0();t.exports=r;}),gd=Q(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="",d=0;d<s;){var f=o.charAt(d);if(e.identSpecialChars[f])l+="\\"+f;else if(f==="_"||f==="-"||f>="A"&&f<="Z"||f>="a"&&f<="z"||d!==0&&f>="0"&&f<="9")l+=f;else {var g=f.charCodeAt(0);if((g&63488)===55296){var A=o.charCodeAt(d++);if((g&64512)!==55296||(A&64512)!==56320)throw Error("UCS-2(decode): illegal sequence");g=((g&1023)<<10)+(A&1023)+65536;}l+="\\"+g.toString(16)+" ";}d++;}return l}e.escapeIdentifier=a;function i(o){for(var s=o.length,l="",d=0,f;d<s;){var g=o.charAt(d);g==='"'?g='\\"':g==="\\"?g="\\\\":(f=e.strReplacementsRev[g])!==void 0&&(g=f),l+=g,d++;}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:`
@@ -423,17 +423,17 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
423
423
  `||f==="\r"||f==="\f";)X=true,a++,f=n.charAt(a);return X}function O(){var X=V();if(a<d)throw Error('Rule expected but "'+n.charAt(a)+'" found.');return X}function V(){var X=G();if(!X)return null;var te=X;for(f=n.charAt(a);f===",";){if(a++,k(),te.type!=="selectors"&&(te={type:"selectors",selectors:[X]}),X=G(),!X)throw Error('Rule expected after ",".');te.selectors.push(X);}return te}function G(){k();var X={type:"ruleSet"},te=U();if(!te)return null;for(var re=X;te&&(te.type="rule",re.rule=te,re=te,k(),f=n.charAt(a),!(a>=d||f===","||f===")"));)if(s[f]){var ae=f;if(a++,k(),te=U(),!te)throw Error('Rule expected after "'+ae+'".');te.nestingOperator=ae;}else te=U(),te&&(te.nestingOperator=null);return X}function U(){for(var X=null;a<d;)if(f=n.charAt(a),f==="*")a++,(X=X||{}).tagName="*";else if(t.isIdentStart(f)||f==="\\")(X=X||{}).tagName=A();else if(f===".")a++,X=X||{},(X.classNames=X.classNames||[]).push(A());else if(f==="#")a++,(X=X||{}).id=A();else if(f==="["){a++,k();var te={name:A()};if(k(),f==="]")a++;else {var re="";if(o[f]&&(re=f,a++,f=n.charAt(a)),a>=d)throw Error('Expected "=" but end of file reached.');if(f!=="=")throw Error('Expected "=" but "'+f+'" found.');te.operator=re+"=",a++,k();var ae="";if(te.valueType="string",f==='"')ae=g('"',t.doubleQuotesEscapeChars);else if(f==="'")ae=g("'",t.singleQuoteEscapeChars);else if(l&&f==="$")a++,ae=A(),te.valueType="substitute";else {for(;a<d&&f!=="]";)ae+=f,a++,f=n.charAt(a);ae=ae.trim();}if(k(),a>=d)throw Error('Expected "]" but end of file reached.');if(f!=="]")throw Error('Expected "]" but "'+f+'" found.');a++,te.value=ae;}X=X||{},(X.attrs=X.attrs||[]).push(te);}else if(f===":"){a++;var ce=A(),ge={name:ce};if(f==="("){a++;var we="";if(k(),i[ce]==="selector")ge.valueType="selector",we=V();else {if(ge.valueType=i[ce]||"string",f==='"')we=g('"',t.doubleQuotesEscapeChars);else if(f==="'")we=g("'",t.singleQuoteEscapeChars);else if(l&&f==="$")a++,we=A(),ge.valueType="substitute";else {for(;a<d&&f!==")";)we+=f,a++,f=n.charAt(a);we=we.trim();}k();}if(a>=d)throw Error('Expected ")" but end of file reached.');if(f!==")")throw Error('Expected ")" but "'+f+'" found.');a++,ge.value=we;}X=X||{},(X.pseudos=X.pseudos||[]).push(ge);}else break;return X}return O()}e.parseCssSelector=r;}),M0=Q(function(e){Object.defineProperty(e,"__esModule",{value:true});var t=gd();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;}),P0=Q(function(e){Object.defineProperty(e,"__esModule",{value:true});var t=I0(),r=M0(),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 d=l[s];this.pseudos[d]="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 d=l[s];delete this.pseudos[d];}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 d=l[s];this.pseudos[d]="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 d=l[s];delete this.pseudos[d];}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 d=l[s];this.ruleNestingOperators[d]=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 d=l[s];delete this.ruleNestingOperators[d];}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 d=l[s];this.attrEqualityMods[d]=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 d=l[s];delete this.attrEqualityMods[d];}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;}),L0=Q(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":ye(globalThis))!=="object")try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__;}catch{c.globalThis=(function(){if(typeof self<"u")return self;if(typeof c<"u")return c;if(typeof h<"u")return h;if(typeof this<"u")return this;throw new Error("Unable to locate global `this`")})();}}))(),r.encodeHTMLSource=function(s){var l={"&":"&#38;","<":"&#60;",">":"&#62;",'"':"&#34;","'":"&#39;","/":"&#47;"},d=s?/[&<>"'\/]/g:/&(?!#?\w+;)|<|>|"|'|\//g;return function(f){return f?f.toString().replace(d,function(g){return l[g]||g}):""}},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,d){return (typeof l=="string"?l:l.toString()).replace(s.define||a,function(f,g,A,k){return g.indexOf("def.")===0&&(g=g.substring(4)),g in d||(A===":"?(s.defineParams&&k.replace(s.defineParams,function(O,V,G){d[g]={arg:V,text:G};}),g in d||(d[g]=k)):new Function("def","def['"+g+"']="+k)(d)),""}).replace(s.use||a,function(f,g){s.useParams&&(g=g.replace(s.useParams,function(k,O,V,G){if(d[V]&&d[V].arg&&G){var U=(V+":"+G).replace(/'|\\/g,"_");return d.__exp=d.__exp||{},d.__exp[U]=d[V].text.replace(new RegExp("(^|[^\\w$])"+d[V].arg+"([^\\w$])","g"),"$1"+G+"$2"),O+"def.__exp['"+U+"']"}}));var A=new Function("def","return "+g)(d);return A&&i(s,A,d)})}function o(s){return s.replace(/\\('|\\)/g,"$1").replace(/[\r\t\n]/g," ")}r.template=function(s,l,d){l=l||r.templateSettings;var f=l.append?n.append:n.split,g,A=0,k,O=l.use||l.define?i(l,s,d||{}):s;O=("var out='"+(l.strip?O.replace(/(^|\r|\n)\t* +| +\t*(\r|\n|$)/g," ").replace(/\r|\n|\t|\/\*[\s\S]*?\*\//g,""):O).replace(/'|\\/g,"\\$&").replace(l.interpolate||a,function(V,G){return f.start+o(G)+f.end}).replace(l.encode||a,function(V,G){return g=true,f.startencode+o(G)+f.end}).replace(l.conditional||a,function(V,G,U){return G?U?"';}else if("+o(U)+"){out+='":"';}else{out+='":U?"';if("+o(U)+"){out+='":"';}out+='"}).replace(l.iterate||a,function(V,G,U,X){return G?(A+=1,k=X||"i"+A,G=o(G),"';var arr"+A+"="+G+";if(arr"+A+"){var "+U+","+k+"=-1,l"+A+"=arr"+A+".length-1;while("+k+"<l"+A+"){"+U+"=arr"+A+"["+k+"+=1];out+='"):"';} } out+='"}).replace(l.evaluate||a,function(V,G){return "';"+o(G)+"out+='"})+"';return out;").replace(/\n/g,"\\n").replace(/\t/g,"\\t").replace(/\r/g,"\\r").replace(/(\s|;|\}|^|\{)out\+='';/g,"$1").replace(/\+''/g,""),g&&(!l.selfcontained&&globalThis&&!globalThis._encodeHTML&&(globalThis._encodeHTML=r.encodeHTMLSource(l.doNotSkipEncoded)),O="var encodeHTML = typeof _encodeHTML !== 'undefined' ? _encodeHTML : ("+r.encodeHTMLSource.toString()+"("+(l.doNotSkipEncoded||"")+"));"+O);try{return new Function(l.varname,O)}catch(V){throw typeof console<"u"&&console.log("Could not create a template function: "+O),V}},r.compile=function(s,l){return r.template(s,null,l)};})();}),O0=Q(function(e,t){t.exports=function(){};}),_n=Q(function(e,t){var r=O0()();t.exports=function(n){return n!==r&&n!==null};}),vd=Q(function(e,t){var r=_n(),n=Array.prototype.forEach,a=Object.create,i=function(s,l){var d;for(d in s)l[d]=s[d];};t.exports=function(o){var s=a(null);return n.call(arguments,function(l){r(l)&&i(Object(l),s);}),s};}),N0=Q(function(e,t){t.exports=function(){var r=Math.sign;return typeof r!="function"?false:r(10)===1&&r(-20)===-1};}),q0=Q(function(e,t){t.exports=function(r){return r=Number(r),isNaN(r)||r===0?r:r>0?1:-1};}),B0=Q(function(e,t){t.exports=N0()()?Math.sign:q0();}),H0=Q(function(e,t){var r=B0(),n=Math.abs,a=Math.floor;t.exports=function(i){return isNaN(i)?0:(i=Number(i),i===0||!isFinite(i)?i:r(i)*a(n(i)))};}),Dn=Q(function(e,t){var r=H0(),n=Math.max;t.exports=function(a){return n(0,r(a))};}),bd=Q(function(e,t){var r=Dn();t.exports=function(n,a,i){var o;return isNaN(n)?(o=a,o>=0?i&&o?o-1:o:1):n===false?false:r(n)};}),nn=Q(function(e,t){t.exports=function(r){if(typeof r!="function")throw new TypeError(r+" is not a function");return r};}),Gn=Q(function(e,t){var r=_n();t.exports=function(n){if(!r(n))throw new TypeError("Cannot use null or undefined");return n};}),V0=Q(function(e,t){var r=nn(),n=Gn(),a=Function.prototype.bind,i=Function.prototype.call,o=Object.keys,s=Object.prototype.propertyIsEnumerable;t.exports=function(l,d){return function(f,g){var A,k=arguments[2],O=arguments[3];return f=Object(n(f)),r(g),A=o(f),O&&A.sort(typeof O=="function"?a.call(O,f):void 0),typeof l!="function"&&(l=A[l]),i.call(l,A,function(V,G){return s.call(f,V)?i.call(g,k,f[V],V,f,G):d})}};}),zi=Q(function(e,t){t.exports=V0()("forEach");}),En=Q(function(){}),$0=Q(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")};}),j0=Q(function(e,t){t.exports=function(){try{return Object.keys("primitive"),!0}catch{return false}};}),z0=Q(function(e,t){var r=_n(),n=Object.keys;t.exports=function(a){return n(r(a)?Object(a):a)};}),G0=Q(function(e,t){t.exports=j0()()?Object.keys:z0();}),W0=Q(function(e,t){var r=G0(),n=Gn(),a=Math.max;t.exports=function(i,o){var s,l,d=a(arguments.length,2),f;for(i=Object(n(i)),f=function(A){try{i[A]=o[A];}catch(k){s||(s=k);}},l=1;l<d;++l)o=arguments[l],r(o).forEach(f);if(s!==void 0)throw s;return i};}),yd=Q(function(e,t){t.exports=$0()()?Object.assign:W0();}),U0=Q(function(e,t){var r=_n(),n={function:true,object:true};t.exports=function(a){return r(a)&&n[ye(a)]||false};}),X0=Q(function(e,t){var r=yd(),n=U0(),a=_n(),i=Error.captureStackTrace;t.exports=function(o){var s=new Error(o),l=arguments[1],d=arguments[2];return a(d)||n(l)&&(d=l,l=null),a(d)&&r(s,d),a(l)&&(s.code=l),i&&i(s,t.exports),s};}),wd=Q(function(e,t){var r=Gn(),n=Object.defineProperty,a=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,o=Object.getOwnPropertySymbols;t.exports=function(s,l){var d,f=Object(r(l));if(s=Object(r(s)),i(f).forEach(function(g){try{n(s,g,a(l,g));}catch(A){d=A;}}),typeof o=="function"&&o(f).forEach(function(g){try{n(s,g,a(l,g));}catch(A){d=A;}}),d!==void 0)throw d;return s};}),xd=Q(function(e,t){var r=Dn(),n=function(d,f){return f},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,d){return d=r(d),l.length===d?l:(a.value=d,i(l,"length",a))}):(s=wd(),o=(function(){var l=[];return function(d){var f,g=0;if(l[d])return l[d];for(f=[];d--;)f.push("a"+(++g).toString(36));return new Function("fn","return function ("+f.join(", ")+") { return fn.apply(this, arguments); };")}})(),t.exports=function(l,d){var f;if(d=r(d),l.length===d)return l;f=o(d)(l);try{s(f,l);}catch{}return f});}),Ad=Q(function(e,t){var r=void 0;t.exports=function(n){return n!==r&&n!==null};}),J0=Q(function(e,t){var r=Ad(),n={object:true,function:true,undefined:true};t.exports=function(a){return r(a)?hasOwnProperty.call(n,ye(a)):false};}),K0=Q(function(e,t){var r=J0();t.exports=function(n){if(!r(n))return false;try{return n.constructor?n.constructor.prototype===n:!1}catch{return false}};}),Y0=Q(function(e,t){var r=K0();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)};}),Z0=Q(function(e,t){var r=Y0(),n=/^\s*class[\s{/}]/,a=Function.prototype.toString;t.exports=function(i){return !(!r(i)||n.test(a.call(i)))};}),Q0=Q(function(e,t){var r="razdwatrzy";t.exports=function(){return typeof r.contains!="function"?false:r.contains("dwa")===true&&r.contains("foo")===false};}),ew=Q(function(e,t){var r=String.prototype.indexOf;t.exports=function(n){return r.call(this,n,arguments[1])>-1};}),tw=Q(function(e,t){t.exports=Q0()()?String.prototype.contains:ew();}),Cn=Q(function(e,t){var r=Ad(),n=Z0(),a=yd(),i=vd(),o=tw(),s=t.exports=function(l,d){var f,g,A,k,O;return arguments.length<2||typeof l!="string"?(k=d,d=l,l=null):k=arguments[2],r(l)?(f=o.call(l,"c"),g=o.call(l,"e"),A=o.call(l,"w")):(f=A=true,g=false),O={value:d,configurable:f,enumerable:g,writable:A},k?a(i(k),O):O};s.gs=function(l,d,f){var g,A,k,O;return typeof l!="string"?(k=f,f=d,d=l,l=null):k=arguments[3],r(d)?n(d)?r(f)?n(f)||(k=f,f=void 0):f=void 0:(k=d,d=f=void 0):d=void 0,r(l)?(g=o.call(l,"c"),A=o.call(l,"e")):(g=true,A=false),O={get:d,set:f,configurable:g,enumerable:A},k?a(i(k),O):O};}),rw=Q(function(e,t){var r=Cn(),n=nn(),a=Function.prototype.apply,i=Function.prototype.call,o=Object.create,s=Object.defineProperty,l=Object.defineProperties,d=Object.prototype.hasOwnProperty,f={configurable:true,enumerable:false,writable:true},g,A,k,O,V,G,U;g=function(te,re){var ae;return n(re),d.call(this,"__ee__")?ae=this.__ee__:(ae=f.value=o(null),s(this,"__ee__",f),f.value=null),ae[te]?ye(ae[te])==="object"?ae[te].push(re):ae[te]=[ae[te],re]:ae[te]=re,this},A=function(te,re){var ae,ce;return n(re),ce=this,g.call(this,te,ae=function(){k.call(ce,te,ae),a.call(re,this,arguments);}),ae.__eeOnceListener__=re,this},k=function(te,re){var ae,ce,ge,we;if(n(re),!d.call(this,"__ee__"))return this;if(ae=this.__ee__,!ae[te])return this;if(ce=ae[te],ye(ce)==="object")for(we=0;ge=ce[we];++we)(ge===re||ge.__eeOnceListener__===re)&&(ce.length===2?ae[te]=ce[we?0:1]:ce.splice(we,1));else (ce===re||ce.__eeOnceListener__===re)&&delete ae[te];return this},O=function(te){var re,ae,ce,ge,we;if(d.call(this,"__ee__")&&(ge=this.__ee__[te],!!ge))if(ye(ge)==="object"){for(ae=arguments.length,we=new Array(ae-1),re=1;re<ae;++re)we[re-1]=arguments[re];for(ge=ge.slice(),re=0;ce=ge[re];++re)a.call(ce,this,we);}else switch(arguments.length){case 1:i.call(ge,this);break;case 2:i.call(ge,this,arguments[1]);break;case 3:i.call(ge,this,arguments[1],arguments[2]);break;default:for(ae=arguments.length,we=new Array(ae-1),re=1;re<ae;++re)we[re-1]=arguments[re];a.call(ge,this,we);}},V={on:g,once:A,off:k,emit:O},G={on:r(g),once:r(A),off:r(k),emit:r(O)},U=l({},G),t.exports=e=function(te){return te==null?o(U):l(Object(te),G)},e.methods=V;}),nw=Q(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"))};}),aw=Q(function(e,t){t.exports=function(){return (typeof globalThis>"u"?"undefined":ye(globalThis))!=="object"||!globalThis?false:globalThis.Array===Array};}),iw=Q(function(e,t){var r=function(){if((typeof self>"u"?"undefined":ye(self))==="object"&&self)return self;if((typeof c>"u"?"undefined":ye(c))==="object"&&c)return c;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__;}})();}),Gi=Q(function(e,t){t.exports=aw()()?globalThis:iw();}),ow=Q(function(e,t){var r=Gi(),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[ye(a.iterator)]||!n[ye(a.toPrimitive)]||!n[ye(a.toStringTag)])};}),sw=Q(function(e,t){t.exports=function(r){return r?ye(r)==="symbol"?true:!r.constructor||r.constructor.name!=="Symbol"?false:r[r.constructor.toStringTag]==="Symbol":false};}),_d=Q(function(e,t){var r=sw();t.exports=function(n){if(!r(n))throw new TypeError(n+" is not a symbol");return n};}),lw=Q(function(e,t){var r=Cn(),n=Object.create,a=Object.defineProperty,i=Object.prototype,o=n(null);t.exports=function(s){for(var l=0,d,f;o[s+(l||"")];)++l;return s+=l||"",o[s]=true,d="@@"+s,a(i,d,r.gs(null,function(g){f||(f=true,a(this,d,r(g)),f=false);})),d};}),uw=Q(function(e,t){var r=Cn(),n=Gi().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"))})};}),cw=Q(function(e,t){var r=Cn(),n=_d(),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})})};}),dw=Q(function(e,t){var r=Cn(),n=_d(),a=Gi().Symbol,i=lw(),o=uw(),s=cw(),l=Object.create,d=Object.defineProperties,f=Object.defineProperty,g,A,k;if(typeof a=="function")try{String(a()),k=!0;}catch{}else a=null;A=function(V){if(this instanceof A)throw new TypeError("Symbol is not a constructor");return g(V)},t.exports=g=function O(V){var G;if(this instanceof O)throw new TypeError("Symbol is not a constructor");return k?a(V):(G=l(A.prototype),V=V===void 0?"":String(V),d(G,{__description__:r("",V),__name__:r("",i(V))}))},o(g),s(g),d(A.prototype,{constructor:r(g),toString:r("",function(){return this.__name__})}),d(g.prototype,{toString:r(function(){return "Symbol ("+n(this).__description__+")"}),valueOf:r(function(){return n(this)})}),f(g.prototype,g.toPrimitive,r("",function(){var O=n(this);return ye(O)==="symbol"?O:O.toString()})),f(g.prototype,g.toStringTag,r("c","Symbol")),f(A.prototype,g.toStringTag,r("c",g.prototype[g.toStringTag])),f(A.prototype,g.toPrimitive,r("c",g.prototype[g.toPrimitive]));}),fw=Q(function(e,t){t.exports=ow()()?Gi().Symbol:dw();}),pw=Q(function(e,t){var r=Object.prototype.toString,n=r.call((function(){return arguments})());t.exports=function(a){return r.call(a)===n};}),mw=Q(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))};}),hw=Q(function(e,t){var r=Object.prototype.toString,n=r.call("");t.exports=function(a){return typeof a=="string"||a&&ye(a)==="object"&&(a instanceof String||r.call(a)===n)||false};}),gw=Q(function(e,t){var r=fw().iterator,n=pw(),a=mw(),i=Dn(),o=nn(),s=Gn(),l=_n(),d=hw(),f=Array.isArray,g=Function.prototype.call,A={configurable:true,enumerable:true,writable:true,value:null},k=Object.defineProperty;t.exports=function(O){var V=arguments[1],G=arguments[2],U,X,te,re,ae,ce,ge,we,Ie,ve;if(O=Object(s(O)),l(V)&&o(V),!this||this===Array||!a(this)){if(!V){if(n(O))return ae=O.length,ae!==1?Array.apply(null,O):(re=new Array(1),re[0]=O[0],re);if(f(O)){for(re=new Array(ae=O.length),X=0;X<ae;++X)re[X]=O[X];return re}}re=[];}else U=this;if(!f(O)){if((Ie=O[r])!==void 0){for(ge=o(Ie).call(O),U&&(re=new U),we=ge.next(),X=0;!we.done;)ve=V?g.call(V,G,we.value,X):we.value,U?(A.value=ve,k(re,X,A)):re[X]=ve,we=ge.next(),++X;ae=X;}else if(d(O)){for(ae=O.length,U&&(re=new U),X=0,te=0;X<ae;++X)ve=O[X],X+1<ae&&(ce=ve.charCodeAt(0),ce>=55296&&ce<=56319&&(ve+=O[++X])),ve=V?g.call(V,G,ve,te):ve,U?(A.value=ve,k(re,te,A)):re[te]=ve,++te;ae=te;}}if(ae===void 0)for(ae=i(O.length),U&&(re=new U(ae)),X=0;X<ae;++X)ve=V?g.call(V,G,O[X],X):O[X],U?(A.value=ve,k(re,X,A)):re[X]=ve;return U&&(A.value=null,re.length=ae),re};}),qs=Q(function(e,t){t.exports=nw()()?Array.from:gw();}),vw=Q(function(e,t){var r=qs(),n=Array.isArray;t.exports=function(a){return n(a)?a:r(a)};}),bw=Q(function(e,t){var r=vw(),n=_n(),a=nn(),i=Array.prototype.slice,o;o=function(l){return this.map(function(d,f){return d?d(l[f]):l[f]}).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)};}),yw=Q(function(e,t){var r=nn();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))};}),ww=Q(function(e,t){var r=X0(),n=xd(),a=Cn(),i=rw().methods,o=bw(),s=yw(),l=Function.prototype.apply,d=Function.prototype.call,f=Object.create,g=Object.defineProperties,A=i.on,k=i.emit;t.exports=function(O,V,G){var U=f(null),X,te,re,ae,ce,ge,we,Ie,ve,Ee,Te,Me,je,Ye,qe;return V!==false?te=V:isNaN(O.length)?te=1:te=O.length,G.normalizer&&(Ee=s(G.normalizer),re=Ee.get,ae=Ee.set,ce=Ee.delete,ge=Ee.clear),G.resolvers!=null&&(qe=o(G.resolvers)),re?Ye=n(function(Xe){var Ce,$e,se=arguments;if(qe&&(se=qe(se)),Ce=re(se),Ce!==null&&hasOwnProperty.call(U,Ce))return Te&&X.emit("get",Ce,se,this),U[Ce];if(se.length===1?$e=d.call(O,this,se[0]):$e=l.call(O,this,se),Ce===null){if(Ce=re(se),Ce!==null)throw r("Circular invocation","CIRCULAR_INVOCATION");Ce=ae(se);}else if(hasOwnProperty.call(U,Ce))throw r("Circular invocation","CIRCULAR_INVOCATION");return U[Ce]=$e,Me&&X.emit("set",Ce,null,$e),$e},te):V===0?Ye=function(){var Ce;if(hasOwnProperty.call(U,"data"))return Te&&X.emit("get","data",arguments,this),U.data;if(arguments.length?Ce=l.call(O,this,arguments):Ce=d.call(O,this),hasOwnProperty.call(U,"data"))throw r("Circular invocation","CIRCULAR_INVOCATION");return U.data=Ce,Me&&X.emit("set","data",null,Ce),Ce}:Ye=function(Ce){var $e,se=arguments,Le;if(qe&&(se=qe(arguments)),Le=String(se[0]),hasOwnProperty.call(U,Le))return Te&&X.emit("get",Le,se,this),U[Le];if(se.length===1?$e=d.call(O,this,se[0]):$e=l.call(O,this,se),hasOwnProperty.call(U,Le))throw r("Circular invocation","CIRCULAR_INVOCATION");return U[Le]=$e,Me&&X.emit("set",Le,null,$e),$e},X={original:O,memoized:Ye,profileName:G.profileName,get:function(Ce){return qe&&(Ce=qe(Ce)),re?re(Ce):String(Ce[0])},has:function(Ce){return hasOwnProperty.call(U,Ce)},delete:function(Ce){var $e;hasOwnProperty.call(U,Ce)&&(ce&&ce(Ce),$e=U[Ce],delete U[Ce],je&&X.emit("delete",Ce,$e));},clear:function(){var Ce=U;ge&&ge(),U=f(null),X.emit("clear",Ce);},on:function(Ce,$e){return Ce==="get"?Te=true:Ce==="set"?Me=true:Ce==="delete"&&(je=true),A.call(this,Ce,$e)},emit:k,updateEnv:function(){O=X.original;}},re?we=n(function(Xe){var Ce,$e=arguments;qe&&($e=qe($e)),Ce=re($e),Ce!==null&&X.delete(Ce);},te):V===0?we=function(){return X.delete("data")}:we=function(Ce){return qe&&(Ce=qe(arguments)[0]),X.delete(Ce)},Ie=n(function(){var Xe,Ce=arguments;return V===0?U.data:(qe&&(Ce=qe(Ce)),re?Xe=re(Ce):Xe=String(Ce[0]),U[Xe])}),ve=n(function(){var Xe,Ce=arguments;return V===0?X.has("data"):(qe&&(Ce=qe(Ce)),re?Xe=re(Ce):Xe=String(Ce[0]),Xe===null?false:X.has(Xe))}),g(Ye,{__memoized__:a(true),delete:a(we),clear:a(X.clear),_get:a(Ie),_has:a(ve)}),X};}),xw=Q(function(e,t){var r=nn(),n=zi(),a=En(),i=ww(),o=bd();t.exports=function s(l){var d,f,g;if(r(l),d=Object(arguments[1]),d.async&&d.promise)throw new Error("Options 'async' and 'promise' cannot be used together");return hasOwnProperty.call(l,"__memoized__")&&!d.force?l:(f=o(d.length,l.length,d.async&&a.async),g=i(l,f,d),n(a,function(A,k){d[k]&&A(d[k],g,d);}),s.__profiler__&&s.__profiler__(g),g.updateEnv(),g.memoized)};}),Aw=Q(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};}),_w=Q(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 ""}};}),Dw=Q(function(e,t){t.exports=function(){var r=Number.isNaN;return typeof r!="function"?false:!r({})&&r(NaN)&&!r(34)};}),Ew=Q(function(e,t){t.exports=function(r){return r!==r};}),Cw=Q(function(e,t){t.exports=Dw()()?Number.isNaN:Ew();}),Bs=Q(function(e,t){var r=Cw(),n=Dn(),a=Gn(),i=Array.prototype.indexOf,o=Object.prototype.hasOwnProperty,s=Math.abs,l=Math.floor;t.exports=function(d){var f,g,A,k;if(!r(d))return i.apply(this,arguments);for(g=n(a(this).length),A=arguments[1],isNaN(A)?A=0:A>=0?A=l(A):A=n(this.length)-l(s(A)),f=A;f<g;++f)if(o.call(this,f)&&(k=this[f],r(k)))return f;return -1};}),kw=Q(function(e,t){var r=Bs(),n=Object.create;t.exports=function(){var a=0,i=[],o=n(null);return {get:function(l){var d=0,f=i,g,A=l.length;if(A===0)return f[A]||null;if(f=f[A]){for(;d<A-1;){if(g=r.call(f[0],l[d]),g===-1)return null;f=f[1][g],++d;}return g=r.call(f[0],l[d]),g===-1?null:f[1][g]||null}return null},set:function(l){var d=0,f=i,g,A=l.length;if(A===0)f[A]=++a;else {for(f[A]||(f[A]=[[],[]]),f=f[A];d<A-1;)g=r.call(f[0],l[d]),g===-1&&(g=f[0].push(l[d])-1,f[1].push([[],[]])),f=f[1][g],++d;g=r.call(f[0],l[d]),g===-1&&(g=f[0].push(l[d])-1),f[1][g]=++a;}return o[a]=l,a},delete:function(l){var d=0,f=i,g,A=o[l],k=A.length,O=[];if(k===0)delete f[k];else if(f=f[k]){for(;d<k-1;){if(g=r.call(f[0],A[d]),g===-1)return;O.push(f,g),f=f[1][g],++d;}if(g=r.call(f[0],A[d]),g===-1)return;for(l=f[1][g],f[0].splice(g,1),f[1].splice(g,1);!f[0].length&&O.length;)g=O.pop(),f=O.pop(),f[0].splice(g,1),f[1].splice(g,1);}delete o[l];},clear:function(){i=[],o=n(null);}}};}),Sw=Q(function(e,t){var r=Bs();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=[];}}};}),Tw=Q(function(e,t){var r=Bs(),n=Object.create;t.exports=function(a){var i=0,o=[[],[]],s=n(null);return {get:function(d){for(var f=0,g=o,A;f<a-1;){if(A=r.call(g[0],d[f]),A===-1)return null;g=g[1][A],++f;}return A=r.call(g[0],d[f]),A===-1?null:g[1][A]||null},set:function(d){for(var f=0,g=o,A;f<a-1;)A=r.call(g[0],d[f]),A===-1&&(A=g[0].push(d[f])-1,g[1].push([[],[]])),g=g[1][A],++f;return A=r.call(g[0],d[f]),A===-1&&(A=g[0].push(d[f])-1),g[1][A]=++i,s[i]=d,i},delete:function(d){for(var f=0,g=o,A,k=[],O=s[d];f<a-1;){if(A=r.call(g[0],O[f]),A===-1)return;k.push(g,A),g=g[1][A],++f;}if(A=r.call(g[0],O[f]),A!==-1){for(d=g[1][A],g[0].splice(A,1),g[1].splice(A,1);!g[0].length&&k.length;)A=k.pop(),g=k.pop(),g[0].splice(A,1),g[1].splice(A,1);delete s[d];}},clear:function(){o=[[],[]],s=n(null);}}};}),Dd=Q(function(e,t){var r=nn(),n=zi(),a=Function.prototype.call;t.exports=function(i,o){var s={},l=arguments[2];return r(o),n(i,function(d,f,g,A){s[f]=a.call(o,l,d,f,g,A);}),s};}),Hs=Q(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=p.createTextNode(""),s,l,d=0;return new i(function(){var f;if(s)l&&(s=l.concat(s));else {if(!l)return;s=l;}if(l=s,s=null,typeof l=="function"){f=l,l=null,f();return}for(o.data=d=++d%2;l;)f=l.shift(),l.length||(l=null),f();}).observe(o,{characterData:true}),function(f){if(r(f),s){typeof s=="function"?s=[s,f]:s.push(f);return}s=f,o.data=d=++d%2;}};t.exports=(function(){if((typeof process>"u"?"undefined":ye(process))==="object"&&process&&typeof process.nextTick=="function")return process.nextTick;if(typeof queueMicrotask=="function")return function(a){queueMicrotask(r(a));};if((typeof p>"u"?"undefined":ye(p))==="object"&&p){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":ye(setTimeout))==="object"?function(a){setTimeout(r(a),0);}:null})();}),Rw=Q(function(){var e=qs(),t=Dd(),r=wd(),n=xd(),a=Hs(),i=Array.prototype.slice,o=Function.prototype.apply,s=Object.create;En().async=function(l,d){var f=s(null),g=s(null),A=d.memoized,k=d.original,O,V,G;d.memoized=n(function(U){var X=arguments,te=X[X.length-1];return typeof te=="function"&&(O=te,X=i.call(X,0,-1)),A.apply(V=this,G=X)},A);try{r(d.memoized,A);}catch{}d.on("get",function(U){var X,te,re;if(O){if(f[U]){typeof f[U]=="function"?f[U]=[f[U],O]:f[U].push(O),O=null;return}X=O,te=V,re=G,O=V=G=null,a(function(){var ae;hasOwnProperty.call(g,U)?(ae=g[U],d.emit("getasync",U,re,te),o.call(X,ae.context,ae.args)):(O=X,V=te,G=re,A.apply(te,re));});}}),d.original=function(){var U,X,te,re;return O?(U=e(arguments),X=function ae(ce){var ge,we,Ie=ae.id;if(Ie==null){a(o.bind(ae,this,arguments));return}if(delete ae.id,ge=f[Ie],delete f[Ie],!!ge)return we=e(arguments),d.has(Ie)&&(ce?d.delete(Ie):(g[Ie]={context:this,args:we},d.emit("setasync",Ie,typeof ge=="function"?1:ge.length))),typeof ge=="function"?re=o.call(ge,this,we):ge.forEach(function(ve){re=o.call(ve,this,we);},this),re},te=O,O=V=G=null,U.push(X),re=o.call(k,this,U),X.cb=te,O=X,re):o.call(k,this,arguments)},d.on("set",function(U){if(!O){d.delete(U);return}f[U]?typeof f[U]=="function"?f[U]=[f[U],O.cb]:f[U].push(O.cb):f[U]=O.cb,delete O.cb,O.id=U,O=null;}),d.on("delete",function(U){var X;hasOwnProperty.call(f,U)||g[U]&&(X=g[U],delete g[U],d.emit("deleteasync",U,i.call(X.args,1)));}),d.on("clear",function(){var U=g;g=s(null),d.emit("clearasync",t(U,function(X){return i.call(X.args,1)}));});};}),Fw=Q(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};}),Ed=Q(function(e,t){t.exports=function(r){return typeof r=="function"};}),Iw=Q(function(e,t){var r=Ed();t.exports=function(n){try{return n&&r(n.toString)?n.toString():String(n)}catch{throw new TypeError("Passed argument cannot be stringifed")}};}),Mw=Q(function(e,t){var r=Gn(),n=Iw();t.exports=function(a){return n(r(a))};}),Pw=Q(function(e,t){var r=Ed();t.exports=function(n){try{return n&&r(n.toString)?n.toString():String(n)}catch{return "<Non-coercible to string value>"}};}),Lw=Q(function(e,t){var r=Pw(),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};}),Cd=Q(function(e,t){t.exports=r,t.exports.default=r;function r(n){return !!n&&(ye(n)==="object"||typeof n=="function")&&typeof n.then=="function"}}),Ow=Q(function(){var e=Dd(),t=Fw(),r=Mw(),n=Lw(),a=Cd(),i=Hs(),o=Object.create,s=t("then","then:finally","done","done:finally");En().promise=function(l,d){var f=o(null),g=o(null),A=o(null);if(l===true)l=null;else if(l=r(l),!s[l])throw new TypeError("'"+n(l)+"' is not valid promise mode");d.on("set",function(k,O,V){var G=false;if(!a(V)){g[k]=V,d.emit("setasync",k,1);return}f[k]=1,A[k]=V;var U=function(ce){var ge=f[k];if(G)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)
424
424
  Consider to rely on 'then' or 'done' mode instead.`);ge&&(delete f[k],g[k]=ce,d.emit("setasync",k,ge));},X=function(){G=true,f[k]&&(delete f[k],delete A[k],d.delete(k));},te=l;if(te||(te="then"),te==="then"){var re=function(){i(X);};V=V.then(function(ae){i(U.bind(this,ae));},re),typeof V.finally=="function"&&V.finally(re);}else if(te==="done"){if(typeof V.done!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done' mode");V.done(U,X);}else if(te==="done:finally"){if(typeof V.done!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done:finally' mode");if(typeof V.finally!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'finally' in 'done:finally' mode");V.done(U),V.finally(X);}}),d.on("get",function(k,O,V){var G;if(f[k]){++f[k];return}G=A[k];var U=function(){d.emit("getasync",k,O,V);};a(G)?typeof G.done=="function"?G.done(U):G.then(function(){i(U);}):U();}),d.on("delete",function(k){if(delete A[k],f[k]){delete f[k];return}if(hasOwnProperty.call(g,k)){var O=g[k];delete g[k],d.emit("deleteasync",k,[O]);}}),d.on("clear",function(){var k=g;g=o(null),f=o(null),A=o(null),d.emit("clearasync",e(k,function(O){return [O]}));});};}),Nw=Q(function(){var e=nn(),t=zi(),r=En(),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(d,f){n.call(a,null,f);}),i.on("clearasync",function(l){t(l,function(d,f){s(f,d);});});return}i.on("delete",s=function(d,f){a(f);}),i.on("clear",function(l){t(l,function(d,f){s(f,d);});});};}),qw=Q(function(e,t){t.exports=2147483647;}),Bw=Q(function(e,t){var r=Dn(),n=qw();t.exports=function(a){if(a=r(a),a>n)throw new TypeError(a+" exceeds maximum possible timeout");return a};}),Hw=Q(function(){var e=qs(),t=zi(),r=Hs(),n=Cd(),a=Bw(),i=En(),o=Function.prototype,s=Math.max,l=Math.min,d=Object.create;i.maxAge=function(f,g,A){var k,O,V,G;f=a(f),f&&(k=d(null),O=A.async&&i.async||A.promise&&i.promise?"async":"",g.on("set"+O,function(U){k[U]=setTimeout(function(){g.delete(U);},f),typeof k[U].unref=="function"&&k[U].unref(),G&&(G[U]&&G[U]!=="nextTick"&&clearTimeout(G[U]),G[U]=setTimeout(function(){delete G[U];},V),typeof G[U].unref=="function"&&G[U].unref());}),g.on("delete"+O,function(U){clearTimeout(k[U]),delete k[U],G&&(G[U]!=="nextTick"&&clearTimeout(G[U]),delete G[U]);}),A.preFetch&&(A.preFetch===true||isNaN(A.preFetch)?V=.333:V=s(l(Number(A.preFetch),1),0),V&&(G={},V=(1-V)*f,g.on("get"+O,function(U,X,te){G[U]||(G[U]="nextTick",r(function(){var re;G[U]==="nextTick"&&(delete G[U],g.delete(U),A.async&&(X=e(X),X.push(o)),re=g.memoized.apply(te,X),A.promise&&n(re)&&(typeof re.done=="function"?re.done(o,o):re.then(o,o)));}));}))),g.on("clear"+O,function(){t(k,function(U){clearTimeout(U);}),k={},G&&(t(G,function(U){U!=="nextTick"&&clearTimeout(U);}),G={});}));};}),Vw=Q(function(e,t){var r=Dn(),n=Object.create,a=Object.prototype.hasOwnProperty;t.exports=function(i){var o=0,s=1,l=n(null),d=n(null),f=0,g;return i=r(i),{hit:function(k){var O=d[k],V=++f;if(l[V]=k,d[k]=V,!O)return ++o,o<=i?void 0:(k=l[s],g(k),k);if(delete l[O],s===O)for(;!a.call(l,++s););},delete:g=function(k){var O=d[k];if(O&&(delete l[O],delete d[k],--o,s===O)){if(!o){f=0,s=1;return}for(;!a.call(l,++s););}},clear:function(){o=0,s=1,l=n(null),d=n(null),f=0;}}};}),$w=Q(function(){var e=Dn(),t=Vw(),r=En();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(f){f=s.hit(f),f!==void 0&&a.delete(f);}),a.on("get"+o,l),a.on("delete"+o,s.delete),a.on("clear"+o,s.clear));};}),jw=Q(function(){var e=Cn(),t=En(),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(d,f){s[d]=f||1;}),i.on("get"+l,function(d){++s[d];}),i.on("delete"+l,function(d){delete s[d];}),i.on("clear"+l,function(){s={};}),n(i.memoized,{deleteRef:e(function(){var d=i.get(arguments);return d===null||!s[d]?null:--s[d]?false:(i.delete(d),true)}),getRefCount:e(function(){var d=i.get(arguments);return d===null||!s[d]?0:s[d]})});};}),zw=Q(function(e,t){var r=vd(),n=bd(),a=xw();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=Aw():s>1&&(o.normalizer=_w()(s)):s===false?o.normalizer=kw()():s===1?o.normalizer=Sw()():o.normalizer=Tw()(s))),o.async&&Rw(),o.promise&&Ow(),o.dispose&&Nw(),o.maxAge&&Hw(),o.max&&$w(),o.refCounter&&jw(),a(i,o)};}),Gw=[{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"}],Cr={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"])};Gw.forEach(function(e){var t=e.name,r=e.value,n=e.priority,a=e.group;Cr[t]=r,Cr[t+"_PRIO"]=n,Cr[t+"_GROUP"]=a,Cr.results[n]=r,Cr.resultGroups[n]=a,Cr.resultGroupMap[r]=a;}),Object.freeze(Cr.results),Object.freeze(Cr.resultGroups),Object.freeze(Cr.resultGroupMap),Object.freeze(Cr);var tt=Cr;function Ww(){(typeof console>"u"?"undefined":ye(console))==="object"&&console.log&&Function.prototype.apply.call(console.log,console,arguments);}var kn=Ww,Uw=/[\t\r\n\f]/g,Xw=(function(){function e(){Pt(this,e),this.parent=void 0;}return We(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(Uw," ").indexOf(a)>=0}}])})(),Xt=Xw,Vs={};_r(Vs,{DqElement:function(){return yr},RuleError:function(){return Yo},aggregate:function(){return Wi},aggregateChecks:function(){return Td},aggregateNodeResults:function(){return Rd},aggregateResult:function(){return Fd},areStylesSet:function(){return tx},assert:function(){return mt},checkHelper:function(){return hl},clone:function(){return Xr},closest:function(){return ur},collectResultsFromFrames:function(){return xp},contains:function(){return Jr},convertSelector:function(){return ho},cssParser:function(){return tp},deepMerge:function(){return Sl},escapeSelector:function(){return qt},extendMetaData:function(){return Tl},filterHtmlAttrs:function(){return Oh},finalizeRuleResult:function(){return Sa},findBy:function(){return Ua},getAllChecks:function(){return wo},getAncestry:function(){return mo},getBaseLang:function(){return Ln},getCheckMessage:function(){return wC},getCheckOption:function(){return Go},getElementSource:function(){return Qf},getEnvironmentData:function(){return gn},getFlattenedTree:function(){return vu},getFrameContexts:function(){return NC},getFriendlyUriEnd:function(){return Pd},getNodeAttributes:function(){return Fa},getNodeFromTree:function(){return nt},getPreloadConfig:function(){return Ih},getRootNode:function(){return Xa},getRule:function(){return gh},getScroll:function(){return Zr},getScrollState:function(){return HC},getSelector:function(){return pl},getSelectorData:function(){return po},getShadowSelector:function(){return cl},getStandards:function(){return VC},getStyleSheetFactory:function(){return yh},getXpath:function(){return Zf},injectStyle:function(){return zC},isArrayLike:function(){return Au},isContextObject:function(){return _u},isContextProp:function(){return Uo},isContextSpec:function(){return wh},isHidden:function(){return GC},isHtmlElement:function(){return Eu},isLabelledFramesSelector:function(){return Du},isLabelledShadowDomSelector:function(){return Xo},isNodeInContext:function(){return Cu},isShadowRoot:function(){return Ao},isValidLang:function(){return Qo},isXHTML:function(){return Ha},matchAncestry:function(){return ku},matches:function(){return vl},matchesExpression:function(){return Jn},matchesSelector:function(){return Wn},memoize:function(){return St},mergeResults:function(){return xo},nodeLookup:function(){return pt},nodeSerializer:function(){return wr},nodeSorter:function(){return Su},objectHasOwn:function(){return Br},parseCrossOriginStylesheet:function(){return Ru},parseSameOriginStylesheet:function(){return _h},parseStylesheet:function(){return Tu},parseTabindex:function(){return Hr},performanceTimer:function(){return vt},pollyfillElementsFromPoint:function(){return Dh},preload:function(){return Rh},preloadCssom:function(){return Ch},preloadMedia:function(){return Th},processMessage:function(){return xu},publishMetaData:function(){return Jo},querySelectorAll:function(){return pr},querySelectorAllFilter:function(){return Vr},queue:function(){return Lr},respondable:function(){return Tr},ruleShouldRun:function(){return Lh},select:function(){return Fu},sendCommandToFrame:function(){return vp},serializeError:function(){return Ko},setScrollState:function(){return Dk},shadowSelect:function(){return Ek},shadowSelectAll:function(){return Iu},shouldPreload:function(){return Fh},toArray:function(){return Md},tokenList:function(){return nr},uniqueArray:function(){return ui},uuid:function(){return T2},validInputTypes:function(){return Zo},validLangs:function(){return Vh}});function Jw(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 Wi=Jw,Kw=tt.CANTTELL_PRIO,Yw=tt.FAIL_PRIO,Ui=[];Ui[tt.PASS_PRIO]=true,Ui[tt.CANTTELL_PRIO]=null,Ui[tt.FAIL_PRIO]=false;var kd=["any","all","none"];function Sd(e,t){return kd.reduce(function(r,n){return r[n]=(e[n]||[]).map(function(a){return t(a,n)}),r},{})}function Zw(e){var t=Object.assign({},e);Sd(t,function(a,i){var o=typeof a.result>"u"?-1:Ui.indexOf(a.result);a.priority=o!==-1?o:tt.CANTTELL_PRIO,i==="none"&&(a.priority===tt.PASS_PRIO?a.priority=tt.FAIL_PRIO:a.priority===tt.FAIL_PRIO&&(a.priority=tt.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 kd.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)});}),[Kw,Yw].includes(t.priority)?t.impact=Wi(tt.impact,n):t.impact=null,Sd(t,function(a){delete a.result,delete a.priority;}),t.result=tt.results[t.priority],delete t.priority,t}var Td=Zw;function Sa(e){var t=m._audit.rules.find(function(r){var n=r.id;return n===e.id});return t&&t.impact&&e.nodes.forEach(function(r){["any","all","none"].forEach(function(n){(r[n]||[]).forEach(function(a){a.impact=t.impact;});});}),Object.assign(e,Rd(e.nodes)),delete e.nodes,e}function Qw(e){var t={};if(e=e.map(function(i){if(i.any&&i.all&&i.none)return Td(i);if(Array.isArray(i.node))return Sa(i);throw new TypeError("Invalid Result type")}),e&&e.length){var r=e.map(function(i){return i.result});t.result=Wi(tt.results,r,t.result);}else t.result="inapplicable";tt.resultGroups.forEach(function(i){return t[i]=[]}),e.forEach(function(i){var o=tt.resultGroupMap[i.result];t[o].push(i);});var n=tt.FAIL_GROUP;if(t[n].length===0&&(n=tt.CANTTELL_GROUP),t[n].length>0){var a=t[n].map(function(i){return i.impact});t.impact=Wi(tt.impact,a)||null;}else t.impact=null;return t}var Rd=Qw;function $s(e,t,r){var n=Object.assign({},t);n.nodes=(n[r]||[]).concat(),tt.resultGroups.forEach(function(a){delete n[a];}),e[r].push(n);}function ex(e){var t={};return tt.resultGroups.forEach(function(r){return t[r]=[]}),e.forEach(function(r){r.error?$s(t,r,tt.CANTTELL_GROUP):r.result===tt.NA?$s(t,r,tt.NA_GROUP):tt.resultGroups.forEach(function(n){Array.isArray(r[n])&&r[n].length>0&&$s(t,r,n);});}),t}var Fd=ex;function Id(e,t,r){var n=c.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:Id(e.parentNode,t,r)}var tx=Id;function rx(e,t){if(!e)throw new Error(t)}var mt=rx;function nx(e){return Array.prototype.slice.call(e)}var Md=nx;function ax(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 qt=ax;function ix(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return e.length!==0&&(e.match(/[0-9]/g)||"").length>=e.length/2}function Ta(e,t){return [e.substring(0,t),e.substring(t)]}function Ra(e){return e.replace(/\s+$/,"")}function ox(e){var t=e,r="",n="",a="",i="",o="",s="";if(e.includes("#")){var l=Ta(e,e.indexOf("#")),d=Se(l,2);e=d[0],s=d[1];}if(e.includes("?")){var f=Ta(e,e.indexOf("?")),g=Se(f,2);e=g[0],o=g[1];}if(e.includes("://")){var A=e.split("://"),k=Se(A,2);r=k[0],e=k[1];var O=Ta(e,e.indexOf("/")),V=Se(O,2);n=V[0],e=V[1];}else if(e.substr(0,2)==="//"){e=e.substr(2);var G=Ta(e,e.indexOf("/")),U=Se(G,2);n=U[0],e=U[1];}if(n.substr(0,4)==="www."&&(n=n.substr(4)),n&&n.includes(":")){var X=Ta(n,n.indexOf(":")),te=Se(X,2);n=te[0],a=te[1];}return i=e,{original:t,protocol:r,domain:n,port:a,path:i,query:o,hash:s}}function sx(){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=ox(e),o=i.path,s=i.domain,l=i.hash,d=o.substr(o.substr(0,o.length-2).lastIndexOf("/")+1);if(l)return d&&(d+l).length<=a?Ra(d+l):d.length<2&&l.length>2&&l.length<=a?Ra(l):void 0;if(s&&s.length<a&&o.length<=1||o==="/"+d&&s&&r&&s!==r&&(s+o).length<=a)return Ra(s+o);var f=d.lastIndexOf(".");if((f===-1||f>1)&&(f!==-1||d.length>2)&&d.length<=a&&!d.match(/index(\.[a-zA-Z]{2-4})?/)&&!ix(d))return Ra(d)}}var Pd=sx;function lx(e){return e.attributes instanceof c.NamedNodeMap?e.attributes:e.cloneNode(false).attributes}var Fa=lx,ux=(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}})(),Wn=ux,Ld={};_r(Ld,{ArrayFrom:function(){return Wf.default},Colorjs:function(){return Et},CssSelectorParser:function(){return Od.CssSelectorParser},doT:function(){return an.default},emojiRegexText:function(){return js},memoize:function(){return Nd.default}});var cx=Ir(Ty()),dx=Ir(Ry());Ir(Fy());var fx=Ir(Gy()),px=Ir(r0()),mx=Ir(hd());"hasOwn"in Object||(Object.hasOwn=fx.default),"values"in Object||(Object.values=px.default),"Promise"in c||cx.default.polyfill(),"Uint32Array"in c||(c.Uint32Array=dx.Uint32Array),c.Uint32Array&&("some"in c.Uint32Array.prototype||Object.defineProperty(c.Uint32Array.prototype,"some",{value:Array.prototype.some}),"reduce"in c.Uint32Array.prototype||Object.defineProperty(c.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=mx.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}),c.Node&&!("isConnected"in c.Node.prototype)&&Object.defineProperty(c.Node.prototype,"isConnected",{get:function(){return !this.ownerDocument||!(this.ownerDocument.compareDocumentPosition(this)&this.DOCUMENT_POSITION_DISCONNECTED)}});var Od=Ir(P0()),an=Ir(L0()),js=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},Nd=Ir(zw());function Vt(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 d=dt(s),f;try{for(d.s();!(f=d.n()).done;){var g=f.value;l+=o*g;}}catch(k){d.e(k);}finally{d.f();}return l}for(var A=0;A<o.length;A++)l+=o[A]*(s[A]||0);return l})});return r===1&&(i=i[0]),n===1?i.map(function(o){return o[0]}):i}function Ia(e){return on(e)==="string"}function on(e){var t=Object.prototype.toString.call(e);return (t.match(/^\[object\s+(.*?)\]$/)[1]||"").toLowerCase()}function Xi(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 qd(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 Bd(e){return e[e.length-1]}function Ji(e,t,r){return isNaN(e)?t:isNaN(t)?e:e+(t-e)*r}function Hd(e,t,r){return (r-e)/(t-e)}function zs(e,t,r){return Ji(t[0],t[1],Hd(e[0],e[1],r))}function Vd(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 hx=Object.freeze({__proto__:null,isString:Ia,type:on,toPrecision:Xi,parseFunction:qd,last:Bd,interpolate:Ji,interpolateInv:Hd,mapRange:zs,parseCoordGrammar:Vd,multiplyMatrices:Vt}),gx=(function(){function e(){Pt(this,e);}return We(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);});}}])})(),sn=new gx,Pr={gamut_mapping:"lch.c",precision:5,deltaE:"76"},kr={D50:[.3457/.3585,1,(1-.3457-.3585)/.3585],D65:[.3127/.329,1,(1-.3127-.329)/.329]};function Gs(e){return Array.isArray(e)?e:kr[e]}function Ki(e,t,r){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};if(e=Gs(e),t=Gs(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(sn.run("chromatic-adaptation-start",a),a.M||(a.W1===kr.D65&&a.W2===kr.D50?a.M=[[1.0479298208405488,.022946793341019088,-0.05019222954313557],[.029627815688159344,.990434484573249,-0.01707382502938514],[-0.009243058152591178,.015055144896577895,.7518742899580008]]:a.W1===kr.D50&&a.W2===kr.D65&&(a.M=[[.9554734527042182,-0.023098536874261423,.0632593086610217],[-0.028369706963208136,1.0099954580058226,.021041398966943008],[.012314001688319899,-0.020507696433477912,1.3303659366080753]])),sn.run("chromatic-adaptation-end",a),a.M)return Vt(a.M,a.XYZ);throw new TypeError("Only Bradford CAT with white points D50 and D65 supported for now.")}var vx=75e-6,Sr=(ue=new WeakSet,he=new WeakMap,(function(){function e(t){var r,n,a,i,o,s,l;Pt(this,e),Be(this,ue),pe(this,he,void 0),this.id=t.id,this.name=t.name,this.base=t.base?Sr.get(t.base):null,this.aliases=t.aliases,this.base&&(this.fromBase=t.fromBase,this.toBase=t.toBase);var d=(r=t.coords)!==null&&r!==void 0?r:this.base.coords;this.coords=d;var f=(n=(a=t.white)!==null&&a!==void 0?a:this.base.white)!==null&&n!==void 0?n:"D65";this.white=Gs(f),this.formats=(i=t.formats)!==null&&i!==void 0?i:{};for(var g in this.formats){var A=this.formats[g];A.type||(A.type="function"),A.name||(A.name=g);}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,ft(he,this,It(ue,this,bx).call(this).reverse()),sn.run("colorspace-init-end",this);}return We(e,[{key:"inGamut",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=n.epsilon,i=a===void 0?vx: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 d=o[l];if(d.type!=="angle"&&d.range){if(Number.isNaN(s))return true;var f=Se(d.range,2),g=f[0],A=f[1];return (g===void 0||s>=g-i)&&(A===void 0||s<=A+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(ye(r)==="object")return r=It(ue,this,$d).call(this,r),r;var n;return r==="default"?n=Object.values(this.formats)[0]:n=this.formats[r],n?(n=It(ue,this,$d).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=Sr.get(r),this===r)return n;n=n.map(function(A){return Number.isNaN(A)?0:A});for(var i=ze(he,this),o=ze(he,r),s,l,d=0;d<i.length&&i[d]===o[d];d++)s=i[d],l=d;if(!s)throw new Error("Cannot convert between color spaces ".concat(this," and ").concat(r,": no connection space was found"));for(var f=i.length-1;f>l;f--)n=i[f].toBase(n);for(var g=l+1;g<o.length;g++)n=o[g].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=Sr.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 ie(new Set(Object.values(Sr.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=dt(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 Sr)return r;var n=on(r);if(n==="string"){var a=Sr.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 Sr.get.apply(Sr,o);throw new TypeError("".concat(r," is not a valid color space"))}},{key:"resolveCoord",value:function(r,n){var a=on(r),i,o;if(a==="string")if(r.includes(".")){var s=r.split("."),l=Se(s,2);i=l[0],o=l[1];}else i=void 0,o=r;else if(Array.isArray(r)){var d=Se(r,2);i=d[0],o=d[1];}else i=r.space,o=r.coordId;if(i=Sr.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=on(o),a==="number"||a==="string"&&o>=0){var f=Object.entries(i.coords)[o];if(f)return Y({space:i,id:f[0],index:o},f[1])}i=Sr.get(i);var g=o.toLowerCase(),A=0;for(var k in i.coords){var O,V=i.coords[k];if(k.toLowerCase()===g||((O=V.name)===null||O===void 0?void 0:O.toLowerCase())===g)return Y({space:i,id:k,index:A},V);A++;}throw new TypeError('No "'.concat(o,'" coordinate found in ').concat(i.name,". Its coordinates are: ").concat(Object.keys(i.coords).join(", ")))}}])})());function $d(e){if(e.coords&&!e.coordGrammar){e.type||(e.type="function"),e.name||(e.name="color"),e.coordGrammar=Vd(e.coords);var t=Object.entries(this.coords).map(function(r,n){var a=Se(r,2);a[0];var o=a[1],s=e.coordGrammar[n][0],l=o.range||o.refRange,d=s.range,f="";return s=="<percentage>"?(d=[0,100],f="%"):s=="<angle>"&&(f="deg"),{fromRange:l,toRange:d,suffix:f}});e.serializeCoords=function(r,n){return r.map(function(a,i){var o=t[i],s=o.fromRange,l=o.toRange,d=o.suffix;return s&&l&&(a=zs(s,l,a)),a=Xi(a,n),d&&(a+=d),a})};}return e}function bx(){for(var e=[this],t=this;t=t.base;)e.push(t);return e}var Ue=Sr;Wc(Ue,"registry",{}),Wc(Ue,"DEFAULT_FORMAT",{type:"functions",name:"color"});var gr=new Ue({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"]}),or=(function(e){function t(r){var n,a;if(Pt(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=gr),r.toXYZ_M&&r.fromXYZ_M){var i,o;(i=r.toBase)!==null&&i!==void 0||(r.toBase=function(s){var l=Vt(r.toXYZ_M,s);return a.white!==a.base.white&&(l=Ki(a.white,a.base.white,l)),l}),(o=r.fromBase)!==null&&o!==void 0||(r.fromBase=function(s){return s=Ki(a.base.white,a.white,s),Vt(r.fromXYZ_M,s)});}return (n=r.referred)!==null&&n!==void 0||(r.referred="display"),a=fe(this,t,[r])}return K(t,e),We(t)})(Ue);function jd(e){var t,r={str:(t=String(e))===null||t===void 0?void 0:t.trim()};if(sn.run("parse-start",r),r.color)return r.color;if(r.parsed=qd(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=dt(Ue.all),s;try{var l=function(){var Ie=s.value,ve=Ie.getFormat("color");if(ve){var Ee;if(a===ve.id||(Ee=ve.ids)!==null&&Ee!==void 0&&Ee.includes(a)){var Te=Object.keys(Ie.coords).length,Me=Array(Te).fill(0);return Me.forEach(function(je,Ye){return Me[Ye]=r.parsed.args[Ye]||0}),{v:{spaceId:Ie.id,coords:Me,alpha:i}}}}},d;for(o.s();!(s=o.n()).done;)if(d=l(),d)return d.v}catch(we){o.e(we);}finally{o.f();}var f="";if(a in Ue.registry){var g,A=(g=Ue.registry[a].formats)===null||g===void 0||(g=g.functions)===null||g===void 0||(g=g.color)===null||g===void 0?void 0:g.id;A&&(f="Did you mean color(".concat(A,")?"));}throw new TypeError("Cannot parse color(".concat(a,"). ")+(f||"Missing a plugin?"))}else {var k=dt(Ue.all),O;try{var V=function(){var Ie=O.value,ve=Ie.getFormat(n);if(ve&&ve.type==="function"){var Ee=1;(ve.lastAlpha||Bd(r.parsed.args).alpha)&&(Ee=r.parsed.args.pop());var Te=r.parsed.args;return ve.coordGrammar&&Object.entries(Ie.coords).forEach(function(Me,je){var Ye,qe=Se(Me,2),Xe=qe[0],Ce=qe[1],$e=ve.coordGrammar[je],se=(Ye=Te[je])===null||Ye===void 0?void 0:Ye.type;if($e=$e.find(function(Ke){return Ke==se}),!$e){var Le=Ce.name||Xe;throw new TypeError("".concat(se," not allowed for ").concat(Le," in ").concat(n,"()"))}var _e=$e.range;se==="<percentage>"&&(_e||(_e=[0,1]));var Oe=Ce.range||Ce.refRange;_e&&Oe&&(Te[je]=zs(_e,Oe,Te[je]));}),{v:{spaceId:Ie.id,coords:Te,alpha:Ee}}}},G;for(k.s();!(O=k.n()).done;)if(G=V(),G)return G.v}catch(we){k.e(we);}finally{k.f();}}}else {var U=dt(Ue.all),X;try{for(U.s();!(X=U.n()).done;){var te=X.value;for(var re in te.formats){var ae=te.formats[re];if(ae.type==="custom"&&!(ae.test&&!ae.test(r.str))){var ce=ae.parse(r.str);if(ce){var ge;return (ge=ce.alpha)!==null&&ge!==void 0||(ce.alpha=1),ce}}}}}catch(we){U.e(we);}finally{U.f();}}throw new TypeError("Could not parse ".concat(e," as a color. Missing a plugin?"))}function yt(e){if(!e)throw new TypeError("Empty color reference");Ia(e)&&(e=jd(e));var t=e.space||e.spaceId;return t instanceof Ue||(e.space=Ue.get(t)),e.alpha===void 0&&(e.alpha=1),e}function Ma(e,t){return t=Ue.get(t),t.from(e)}function vr(e,t){var r=Ue.resolveCoord(t,e.space),n=r.space,a=r.index,i=Ma(e,n);return i[a]}function zd(e,t,r){return t=Ue.get(t),e.coords=t.to(e.space,r),e}function ln(e,t,r){if(e=yt(e),arguments.length===2&&on(arguments[1])==="object"){var n=arguments[1];for(var a in n)ln(e,a,n[a]);}else {typeof r=="function"&&(r=r(vr(e,t)));var i=Ue.resolveCoord(t,e.space),o=i.space,s=i.index,l=Ma(e,o);l[s]=r,zd(e,o,l);}return e}var Ws=new Ue({id:"xyz-d50",name:"XYZ D50",white:"D50",base:gr,fromBase:function(t){return Ki(gr.white,"D50",t)},toBase:function(t){return Ki("D50",gr.white,t)},formats:{color:{}}}),yx=216/24389,Gd=24/116,Yi=24389/27,Us=kr.D50,lr=new Ue({id:"lab",name:"Lab",coords:{l:{refRange:[0,100],name:"L"},a:{refRange:[-125,125]},b:{refRange:[-125,125]}},white:Us,base:Ws,fromBase:function(t){var r=t.map(function(a,i){return a/Us[i]}),n=r.map(function(a){return a>yx?Math.cbrt(a):(Yi*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]>Gd?Math.pow(r[0],3):(116*r[0]-16)/Yi,t[0]>8?Math.pow((t[0]+16)/116,3):t[0]/Yi,r[2]>Gd?Math.pow(r[2],3):(116*r[2]-16)/Yi];return n.map(function(a,i){return a*Us[i]})},formats:{lab:{coords:["<number> | <percentage>","<number>","<number>"]}}});function Zi(e){return (e%360+360)%360}function wx(e,t){if(e==="raw")return t;var r=t.map(Zi),n=Se(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 Pa=new Ue({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:lr,fromBase:function(t){var r=Se(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)),Zi(o)]},toBase:function(t){var r=Se(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>"]}}}),Wd=Math.pow(25,7),Qi=Math.PI,Ud=180/Qi,Un=Qi/180;function Xs(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,d=lr.from(e),f=Se(d,3),g=f[0],A=f[1],k=f[2],O=Pa.from(lr,[g,A,k])[1],V=lr.from(t),G=Se(V,3),U=G[0],X=G[1],te=G[2],re=Pa.from(lr,[U,X,te])[1];O<0&&(O=0),re<0&&(re=0);var ae=(O+re)/2,ce=Math.pow(ae,7),ge=.5*(1-Math.sqrt(ce/(ce+Wd))),we=(1+ge)*A,Ie=(1+ge)*X,ve=Math.sqrt(Math.pow(we,2)+Math.pow(k,2)),Ee=Math.sqrt(Math.pow(Ie,2)+Math.pow(te,2)),Te=we===0&&k===0?0:Math.atan2(k,we),Me=Ie===0&&te===0?0:Math.atan2(te,Ie);Te<0&&(Te+=2*Qi),Me<0&&(Me+=2*Qi),Te*=Ud,Me*=Ud;var je=U-g,Ye=Ee-ve,qe=Me-Te,Xe=Te+Me,Ce=Math.abs(qe),$e;ve*Ee===0?$e=0:Ce<=180?$e=qe:qe>180?$e=qe-360:qe<-180?$e=qe+360:console.log("the unthinkable has happened");var se=2*Math.sqrt(Ee*ve)*Math.sin($e*Un/2),Le=(g+U)/2,_e=(ve+Ee)/2,Oe=Math.pow(_e,7),Ke;ve*Ee===0?Ke=Xe:Ce<=180?Ke=Xe/2:Xe<360?Ke=(Xe+360)/2:Ke=(Xe-360)/2;var Ne=Math.pow(Le-50,2),Ve=1+.015*Ne/Math.sqrt(20+Ne),ut=1+.045*_e,wt=1;wt-=.17*Math.cos((Ke-30)*Un),wt+=.24*Math.cos(2*Ke*Un),wt+=.32*Math.cos((3*Ke+6)*Un),wt-=.2*Math.cos((4*Ke-63)*Un);var Ct=1+.015*_e*wt,Bt=30*Math.exp(-1*Math.pow((Ke-275)/25,2)),zt=2*Math.sqrt(Oe/(Oe+Wd)),jt=-1*Math.sin(2*Bt*Un)*zt,Rt=Math.pow(je/(a*Ve),2);return Rt+=Math.pow(Ye/(o*ut),2),Rt+=Math.pow(se/(l*Ct),2),Rt+=jt*(Ye/(o*ut))*(se/(l*Ct)),Math.sqrt(Rt)}var xx=75e-6;function La(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?xx:n;e=yt(e),t=Ue.get(t);var i=e.coords;return t!==e.space&&(i=t.from(e)),t.inGamut(i,{epsilon:a})}function Oa(e){return {space:e.space,coords:e.coords.slice(),alpha:e.alpha}}function un(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.method,n=r===void 0?Pr.gamut_mapping:r,a=t.space,i=a===void 0?e.space:a;if(Ia(arguments[1])&&(i=arguments[1]),i=Ue.get(i),La(e,i,{epsilon:0}))return e;var o=br(e,i);if(n!=="clip"&&!La(e,i)){var s=un(Oa(o),{method:"clip",space:i});if(Xs(e,s)>2){for(var l=Ue.resolveCoord(n),d=l.space,f=l.id,g=br(o,d),A=l.range||l.refRange,k=A[0],O=.01,V=k,G=vr(g,f);G-V>O;){var U=Oa(g);U=un(U,{space:i,method:"clip"});var X=Xs(g,U);X-2<O?V=vr(g,f):G=vr(g,f),ln(g,f,(V+G)/2);}o=br(g,i);}else o=s;}if(n==="clip"||!La(o,i,{epsilon:0})){var te=Object.values(i.coords).map(function(re){return re.range||[]});o.coords=o.coords.map(function(re,ae){var ce=Se(te[ae],2),ge=ce[0],we=ce[1];return ge!==void 0&&(re=Math.max(ge,re)),we!==void 0&&(re=Math.min(re,we)),re});}return i!==e.space&&(o=br(o,e.space)),e.coords=o.coords,e}un.returns="color";function br(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=r.inGamut;e=yt(e),t=Ue.get(t);var a=t.from(e),i={space:t,coords:a,alpha:e.alpha};return n&&(i=un(i)),i}br.returns="color";function eo(e){var t,r,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=n.precision,i=a===void 0?Pr.precision:a,o=n.format,s=o===void 0?"default":o,l=n.inGamut,d=l===void 0?true:l,f=ne(n,y),g;e=yt(e);var A=s;s=(t=(r=e.space.getFormat(s))!==null&&r!==void 0?r:e.space.getFormat("default"))!==null&&t!==void 0?t:Ue.DEFAULT_FORMAT,d||(d=s.toGamut);var k=e.coords;if(k=k.map(function(re){return re||0}),d&&!La(e)&&(k=un(Oa(e),d===true?void 0:d).coords),s.type==="custom")if(f.precision=i,s.serialize)g=s.serialize(k,e.alpha,f);else throw new TypeError("format ".concat(A," can only be used to parse colors, not for serialization"));else {var O=s.name||"color";s.serializeCoords?k=s.serializeCoords(k,i):i!==null&&(k=k.map(function(re){return Xi(re,i)}));var V=ie(k);if(O==="color"){var G,U=s.id||((G=s.ids)===null||G===void 0?void 0:G[0])||e.space.id;V.unshift(U);}var X=e.alpha;i!==null&&(X=Xi(X,i));var te=e.alpha<1&&!s.noAlpha?"".concat(s.commas?",":" /"," ").concat(X):"";g="".concat(O,"(").concat(V.join(s.commas?", ":" ")).concat(te,")");}return g}var Ax=[[.6369580483012914,.14461690358620832,.1688809751641721],[.2627002120112671,.6779980715188708,.05930171646986196],[0,.028072693049087428,1.060985057710791]],_x=[[1.716651187971268,-0.355670783776392,-0.25336628137366],[-0.666684351832489,1.616481236634939,.0157685458139111],[.017639857445311,-0.042770613257809,.942103121235474]],to=new or({id:"rec2020-linear",name:"Linear REC.2020",white:"D65",toXYZ_M:Ax,fromXYZ_M:_x,formats:{color:{}}}),ro=1.09929682680944,Xd=.018053968510807,Jd=new or({id:"rec2020",name:"REC.2020",base:to,toBase:function(t){return t.map(function(r){return r<Xd*4.5?r/4.5:Math.pow((r+ro-1)/ro,1/.45)})},fromBase:function(t){return t.map(function(r){return r>=Xd?ro*Math.pow(r,.45)-(ro-1):4.5*r})},formats:{color:{}}}),Dx=[[.4865709486482162,.26566769316909306,.1982172852343625],[.2289745640697488,.6917385218365064,.079286914093745],[0,.04511338185890264,1.043944368900976]],Ex=[[2.493496911941425,-0.9313836179191239,-0.40271078445071684],[-0.8294889695615747,1.7626640603183463,.023624685841943577],[.03584583024378447,-0.07617238926804182,.9568845240076872]],Kd=new or({id:"p3-linear",name:"Linear P3",white:"D65",toXYZ_M:Dx,fromXYZ_M:Ex}),Cx=[[.41239079926595934,.357584339383878,.1804807884018343],[.21263900587151027,.715168678767756,.07219231536073371],[.01933081871559182,.11919477979462598,.9505321522496607]],kx=[[3.2409699419045226,-1.537383177570094,-0.4986107602930034],[-0.9692436362808796,1.8759675015077202,.04155505740717559],[.05563007969699366,-0.20397695888897652,1.0569715142428786]],Yd=new or({id:"srgb-linear",name:"Linear sRGB",white:"D65",toXYZ_M:Cx,fromXYZ_M:kx,formats:{color:{}}}),Zd={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]},Qd=Array(3).fill("<percentage> | <number>[0, 255]"),ef=Array(3).fill("<number>[0, 255]"),Na=new or({id:"srgb",name:"sRGB",base:Yd,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:Qd},rgb_number:{name:"rgb",commas:true,coords:ef,noAlpha:true},color:{},rgba:{coords:Qd,commas:true,lastAlpha:true},rgba_number:{name:"rgba",commas:true,coords:ef},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=Zd.black,r.alpha=0):r.coords=Zd[t],r.coords)return r}}}}),tf=new or({id:"p3",name:"P3",base:Kd,fromBase:Na.fromBase,toBase:Na.toBase,formats:{color:{id:"display-p3"}}});if(Pr.display_space=Na,typeof CSS<"u"&&(De=CSS)!==null&&De!==void 0&&De.supports)for(var Js=0,rf=[lr,Jd,tf];Js<rf.length;Js++){var Ks=rf[Js],Sx=Ks.getMinCoords(),Tx={space:Ks,coords:Sx,alpha:1},Rx=eo(Tx);if(CSS.supports("color",Rx)){Pr.display_space=Ks;break}}function Fx(e){var t,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=r.space,a=n===void 0?Pr.display_space:n,i=ne(r,w),o=eo(e,i);if(typeof CSS>"u"||(t=CSS)!==null&&t!==void 0&&t.supports("color",o)||!Pr.display_space)o=new String(o),o.color=e;else {var s=br(e,a);o=new String(eo(s,i)),o.color=s;}return o}function nf(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"lab";r=Ue.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 Ix(e,t){return e=yt(e),t=yt(t),e.space===t.space&&e.alpha===t.alpha&&e.coords.every(function(r,n){return r===t.coords[n]})}function cn(e){return vr(e,[gr,"y"])}function af(e,t){ln(e,[gr,"y"],t);}function Mx(e){Object.defineProperty(e.prototype,"luminance",{get:function(){return cn(this)},set:function(r){af(this,r);}});}var Px=Object.freeze({__proto__:null,getLuminance:cn,setLuminance:af,register:Mx});function Lx(e,t){e=yt(e),t=yt(t);var r=Math.max(cn(e),0),n=Math.max(cn(t),0);if(n>r){var a=[n,r];r=a[0],n=a[1];}return (r+.05)/(n+.05)}var Ox=.56,Nx=.57,qx=.62,Bx=.65,of=.022,Hx=1.414,Vx=.1,$x=5e-4,jx=1.14,sf=.027,zx=1.14;function lf(e){return e>=of?e:e+Math.pow(of-e,Hx)}function Xn(e){var t=e<0?-1:1,r=Math.abs(e);return t*Math.pow(r,2.4)}function Gx(e,t){t=yt(t),e=yt(e);var r,n,a,i,o,s;t=br(t,"srgb");var l=Se(t.coords,3);i=l[0],o=l[1],s=l[2];var d=Xn(i)*.2126729+Xn(o)*.7151522+Xn(s)*.072175;e=br(e,"srgb");var f=Se(e.coords,3);i=f[0],o=f[1],s=f[2];var g=Xn(i)*.2126729+Xn(o)*.7151522+Xn(s)*.072175,A=lf(d),k=lf(g),O=k>A;return Math.abs(k-A)<$x?n=0:O?(r=Math.pow(k,Ox)-Math.pow(A,Nx),n=r*jx):(r=Math.pow(k,Bx)-Math.pow(A,qx),n=r*zx),Math.abs(n)<Vx?a=0:n>0?a=n-sf:a=n+sf,a*100}function Wx(e,t){e=yt(e),t=yt(t);var r=Math.max(cn(e),0),n=Math.max(cn(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 Ux=5e4;function Xx(e,t){e=yt(e),t=yt(t);var r=Math.max(cn(e),0),n=Math.max(cn(t),0);if(n>r){var a=[n,r];r=a[0],n=a[1];}return n===0?Ux:(r-n)/n}function Jx(e,t){e=yt(e),t=yt(t);var r=vr(e,[lr,"l"]),n=vr(t,[lr,"l"]);return Math.abs(r-n)}var Kx=216/24389,uf=24/116,no=24389/27,Ys=kr.D65,Zs=new Ue({id:"lab-d65",name:"Lab D65",coords:{l:{refRange:[0,100],name:"L"},a:{refRange:[-125,125]},b:{refRange:[-125,125]}},white:Ys,base:gr,fromBase:function(t){var r=t.map(function(a,i){return a/Ys[i]}),n=r.map(function(a){return a>Kx?Math.cbrt(a):(no*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]>uf?Math.pow(r[0],3):(116*r[0]-16)/no,t[0]>8?Math.pow((t[0]+16)/116,3):t[0]/no,r[2]>uf?Math.pow(r[2],3):(116*r[2]-16)/no];return n.map(function(a,i){return a*Ys[i]})},formats:{"lab-d65":{coords:["<number> | <percentage>","<number>","<number>"]}}}),Qs=Math.pow(5,.5)*.5+.5;function Yx(e,t){e=yt(e),t=yt(t);var r=vr(e,[Zs,"l"]),n=vr(t,[Zs,"l"]),a=Math.abs(Math.pow(r,Qs)-Math.pow(n,Qs)),i=Math.pow(a,1/Qs)*Math.SQRT2-40;return i<7.5?0:i}var ao=Object.freeze({__proto__:null,contrastWCAG21:Lx,contrastAPCA:Gx,contrastMichelson:Wx,contrastWeber:Xx,contrastLstar:Jx,contrastDeltaPhi:Yx});function Zx(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};Ia(r)&&(r={algorithm:r});var n=r,a=n.algorithm,i=ne(n,E);if(!a){var o=Object.keys(ao).map(function(l){return l.replace(/^contrast/,"")}).join(", ");throw new TypeError("contrast() function needs a contrast algorithm. Please specify one of: ".concat(o))}e=yt(e),t=yt(t);for(var s in ao)if("contrast"+a.toLowerCase()===s.toLowerCase())return ao[s](e,t,i);throw new TypeError("Unknown contrast algorithm: ".concat(a))}function cf(e){var t=Ma(e,gr),r=Se(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 df(e){var t=Ma(e,gr),r=Se(t,3),n=r[0],a=r[1],i=r[2],o=n+a+i;return [n/o,a/o]}function Qx(e){Object.defineProperty(e.prototype,"uv",{get:function(){return cf(this)}}),Object.defineProperty(e.prototype,"xy",{get:function(){return df(this)}});}var eA=Object.freeze({__proto__:null,uv:cf,xy:df,register:Qx});function tA(e,t){return nf(e,t,"lab")}var rA=Math.PI,ff=rA/180;function nA(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=lr.from(e),l=Se(s,3),d=l[0],f=l[1],g=l[2],A=Pa.from(lr,[d,f,g]),k=Se(A,3),O=k[1],V=k[2],G=lr.from(t),U=Se(G,3),X=U[0],te=U[1],re=U[2],ae=Pa.from(lr,[X,te,re])[1];O<0&&(O=0),ae<0&&(ae=0);var ce=d-X,ge=O-ae,we=f-te,Ie=g-re,ve=Math.pow(we,2)+Math.pow(Ie,2)-Math.pow(ge,2),Ee=.511;d>=16&&(Ee=.040975*d/(1+.01765*d));var Te=.0638*O/(1+.0131*O)+.638,Me;Number.isNaN(V)&&(V=0),V>=164&&V<=345?Me=.56+Math.abs(.2*Math.cos((V+168)*ff)):Me=.36+Math.abs(.4*Math.cos((V+35)*ff));var je=Math.pow(O,4),Ye=Math.sqrt(je/(je+1900)),qe=Te*(Ye*Me+1-Ye),Xe=Math.pow(ce/(a*Ee),2);return Xe+=Math.pow(ge/(o*Te),2),Xe+=ve/Math.pow(qe,2),Math.sqrt(Xe)}var pf=203,el=new Ue({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:gr,fromBase:function(t){return t.map(function(r){return Math.max(r*pf,0)})},toBase:function(t){return t.map(function(r){return Math.max(r/pf,0)})}}),io=1.15,oo=.66,mf=2610/Math.pow(2,14),aA=Math.pow(2,14)/2610,hf=3424/Math.pow(2,12),gf=2413/Math.pow(2,7),vf=2392/Math.pow(2,7),iA=1.7*2523/Math.pow(2,5),bf=Math.pow(2,5)/(1.7*2523),so=-0.56,tl=16295499532821565e-27,oA=[[.41478972,.579999,.014648],[-0.20151,1.120649,.0531008],[-0.0166008,.2648,.6684799]],sA=[[1.9242264357876067,-1.0047923125953657,.037651404030618],[.35031676209499907,.7264811939316552,-0.06538442294808501],[-0.09098281098284752,-0.3127282905230739,1.5227665613052603]],lA=[[.5,.5,0],[3.524,-4.066708,.542708],[.199076,1.096799,-1.295875]],uA=[[1,.1386050432715393,.05804731615611886],[.9999999999999999,-0.1386050432715393,-0.05804731615611886],[.9999999999999998,-0.09601924202631895,-0.8118918960560388]],yf=new Ue({id:"jzazbz",name:"Jzazbz",coords:{jz:{refRange:[0,1],name:"Jz"},az:{refRange:[-0.5,.5]},bz:{refRange:[-0.5,.5]}},base:el,fromBase:function(t){var r=Se(t,3),n=r[0],a=r[1],i=r[2],o=io*n-(io-1)*i,s=oo*a-(oo-1)*n,l=Vt(oA,[o,s,i]),d=l.map(function(G){var U=hf+gf*Math.pow(G/1e4,mf),X=1+vf*Math.pow(G/1e4,mf);return Math.pow(U/X,iA)}),f=Vt(lA,d),g=Se(f,3),A=g[0],k=g[1],O=g[2],V=(1+so)*A/(1+so*A)-tl;return [V,k,O]},toBase:function(t){var r=Se(t,3),n=r[0],a=r[1],i=r[2],o=(n+tl)/(1+so-so*(n+tl)),s=Vt(uA,[o,a,i]),l=s.map(function(G){var U=hf-Math.pow(G,bf),X=vf*Math.pow(G,bf)-gf,te=1e4*Math.pow(U/X,aA);return te}),d=Vt(sA,l),f=Se(d,3),g=f[0],A=f[1],k=f[2],O=(g+(io-1)*k)/io,V=(A+(oo-1)*O)/oo;return [O,V,k]},formats:{color:{}}}),rl=new Ue({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:yf,fromBase:function(t){var r=Se(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)),Zi(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 cA(e,t){var r=rl.from(e),n=Se(r,3),a=n[0],i=n[1],o=n[2],s=rl.from(t),l=Se(s,3),d=l[0],f=l[1],g=l[2],A=a-d,k=i-f;Number.isNaN(o)&&Number.isNaN(g)?(o=0,g=0):Number.isNaN(o)?o=g:Number.isNaN(g)&&(g=o);var O=o-g,V=2*Math.sqrt(i*f)*Math.sin(O/2*(Math.PI/180));return Math.sqrt(Math.pow(A,2)+Math.pow(k,2)+Math.pow(V,2))}var wf=3424/4096,xf=2413/128,Af=2392/128,_f=2610/16384,dA=2523/32,fA=16384/2610,Df=32/2523,pA=[[.3592,.6976,-0.0358],[-0.1922,1.1004,.0755],[.007,.0749,.8434]],mA=[[2048/4096,2048/4096,0],[6610/4096,-13613/4096,7003/4096],[17933/4096,-17390/4096,-543/4096]],hA=[[.9999888965628402,.008605050147287059,.11103437159861648],[1.00001110343716,-0.008605050147287059,-0.11103437159861648],[1.0000320633910054,.56004913547279,-0.3206339100541203]],gA=[[2.0701800566956137,-1.326456876103021,.20661600684785517],[.3649882500326575,.6804673628522352,-0.04542175307585323],[-0.04959554223893211,-0.04942116118675749,1.1879959417328034]],nl=new Ue({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:el,fromBase:function(t){var r=Vt(pA,t);return vA(r)},toBase:function(t){var r=bA(t);return Vt(gA,r)},formats:{color:{}}});function vA(e){var t=e.map(function(r){var n=wf+xf*Math.pow(r/1e4,_f),a=1+Af*Math.pow(r/1e4,_f);return Math.pow(n/a,dA)});return Vt(mA,t)}function bA(e){var t=Vt(hA,e),r=t.map(function(n){var a=Math.max(Math.pow(n,Df)-wf,0),i=xf-Af*Math.pow(n,Df);return 1e4*Math.pow(a/i,fA)});return r}function yA(e,t){var r=nl.from(e),n=Se(r,3),a=n[0],i=n[1],o=n[2],s=nl.from(t),l=Se(s,3),d=l[0],f=l[1],g=l[2];return 720*Math.sqrt(Math.pow(a-d,2)+.25*Math.pow(i-f,2)+Math.pow(o-g,2))}var wA=[[.8190224432164319,.3619062562801221,-0.12887378261216414],[.0329836671980271,.9292868468965546,.03614466816999844],[.048177199566046255,.26423952494422764,.6335478258136937]],xA=[[1.2268798733741557,-0.5578149965554813,.28139105017721583],[-0.04057576262431372,1.1122868293970594,-0.07171106666151701],[-0.07637294974672142,-0.4214933239627914,1.5869240244272418]],AA=[[.2104542553,.793617785,-0.0040720468],[1.9779984951,-2.428592205,.4505937099],[.0259040371,.7827717662,-0.808675766]],_A=[[.9999999984505198,.39633779217376786,.2158037580607588],[1.0000000088817609,-0.10556134232365635,-0.06385417477170591],[1.0000000546724108,-0.08948418209496575,-1.2914855378640917]],lo=new Ue({id:"oklab",name:"OKLab",coords:{l:{refRange:[0,1],name:"L"},a:{refRange:[-0.4,.4]},b:{refRange:[-0.4,.4]}},white:"D65",base:gr,fromBase:function(t){var r=Vt(wA,t),n=r.map(function(a){return Math.cbrt(a)});return Vt(AA,n)},toBase:function(t){var r=Vt(_A,t),n=r.map(function(a){return Math.pow(a,3)});return Vt(xA,n)},formats:{oklab:{coords:["<number> | <percentage>","<number>","<number>"]}}});function DA(e,t){var r=lo.from(e),n=Se(r,3),a=n[0],i=n[1],o=n[2],s=lo.from(t),l=Se(s,3),d=l[0],f=l[1],g=l[2],A=a-d,k=i-f,O=o-g;return Math.sqrt(Math.pow(A,2)+Math.pow(k,2)+Math.pow(O,2))}var al=Object.freeze({__proto__:null,deltaE76:tA,deltaECMC:nA,deltaE2000:Xs,deltaEJz:cA,deltaEITP:yA,deltaEOK:DA});function qa(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};Ia(r)&&(r={method:r});var n=r,a=n.method,i=a===void 0?Pr.deltaE:a,o=ne(n,C);e=yt(e),t=yt(t);for(var s in al)if("deltae"+i.toLowerCase()===s.toLowerCase())return al[s](e,t,o);throw new TypeError("Unknown deltaE method: ".concat(i))}function EA(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:.25,r=Ue.get("oklch","lch"),n=[r,"l"];return ln(e,n,function(a){return a*(1+t)})}function CA(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:.25,r=Ue.get("oklch","lch"),n=[r,"l"];return ln(e,n,function(a){return a*(1-t)})}var kA=Object.freeze({__proto__:null,lighten:EA,darken:CA});function Ef(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=[yt(e),yt(t)];if(e=a[0],t=a[1],on(r)==="object"){var i=[.5,r];r=i[0],n=i[1];}var o=n,s=o.space,l=o.outputSpace,d=o.premultiplied,f=Ba(e,t,{space:s,outputSpace:l,premultiplied:d});return f(r)}function Cf(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n;if(il(e)){n=e,r=t;var a=Se(n.rangeArgs.colors,2);e=a[0],t=a[1];}var i=r,o=i.maxDeltaE,s=i.deltaEMethod,l=i.steps,d=l===void 0?2:l,f=i.maxSteps,g=f===void 0?1e3:f,A=ne(i,x);if(!n){var k=[yt(e),yt(t)];e=k[0],t=k[1],n=Ba(e,t,A);}var O=qa(e,t),V=o>0?Math.max(d,Math.ceil(O/o)+1):d,G=[];if(g!==void 0&&(V=Math.min(V,g)),V===1)G=[{p:.5,color:n(.5)}];else {var U=1/(V-1);G=Array.from({length:V},function(we,Ie){var ve=Ie*U;return {p:ve,color:n(ve)}});}if(o>0)for(var X=G.reduce(function(we,Ie,ve){if(ve===0)return 0;var Ee=qa(Ie.color,G[ve-1].color,s);return Math.max(we,Ee)},0);X>o;){X=0;for(var te=1;te<G.length&&G.length<g;te++){var re=G[te-1],ae=G[te],ce=(ae.p+re.p)/2,ge=n(ce);X=Math.max(X,qa(ge,re.color),qa(ge,ae.color)),G.splice(te,0,{p:ce,color:n(ce)}),te++;}}return G=G.map(function(we){return we.color}),G}function Ba(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(il(e)){var n=e,a=t;return Ba.apply(void 0,ie(n.rangeArgs.colors).concat([Y({},n.rangeArgs.options,a)]))}var i=r.space,o=r.outputSpace,s=r.progression,l=r.premultiplied;e=yt(e),t=yt(t),e=Oa(e),t=Oa(t);var d={colors:[e,t],options:r};if(i?i=Ue.get(i):i=Ue.registry[Pr.interpolationSpace]||e.space,o=o?Ue.get(o):i,e=br(e,i),t=br(t,i),e=un(e),t=un(t),i.coords.h&&i.coords.h.type==="angle"){var f=r.hue=r.hue||"shorter",g=[i,"h"],A=[vr(e,g),vr(t,g)],k=A[0],O=A[1],V=wx(f,[k,O]),G=Se(V,2);k=G[0],O=G[1],ln(e,g,k),ln(t,g,O);}return l&&(e.coords=e.coords.map(function(U){return U*e.alpha}),t.coords=t.coords.map(function(U){return U*t.alpha})),Object.assign(function(U){U=s?s(U):U;var X=e.coords.map(function(ae,ce){var ge=t.coords[ce];return Ji(ae,ge,U)}),te=Ji(e.alpha,t.alpha,U),re={space:i,coords:X,alpha:te};return l&&(re.coords=re.coords.map(function(ae){return ae/te})),o!==i&&(re=br(re,o)),re},{rangeArgs:d})}function il(e){return on(e)==="function"&&!!e.rangeArgs}Pr.interpolationSpace="lab";function SA(e){e.defineFunction("mix",Ef,{returns:"color"}),e.defineFunction("range",Ba,{returns:"function<color>"}),e.defineFunction("steps",Cf,{returns:"array<color>"});}var TA=Object.freeze({__proto__:null,mix:Ef,steps:Cf,range:Ba,isRange:il,register:SA}),kf=new Ue({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:Na,fromBase:function(t){var r=Math.max.apply(Math,ie(t)),n=Math.min.apply(Math,ie(t)),a=Se(t,3),i=a[0],o=a[1],s=a[2],l=NaN,d=0,f=(n+r)/2,g=r-n;if(g!==0){switch(d=f===0||f===1?0:(r-f)/Math.min(f,1-f),r){case i:l=(o-s)/g+(o<s?6:0);break;case o:l=(s-i)/g+2;break;case s:l=(i-o)/g+4;}l=l*60;}return [l,d*100,f*100]},toBase:function(t){var r=Se(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,d=a*Math.min(i,1-i);return i-d*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}}}),Sf=new Ue({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:kf,fromBase:function(t){var r=Se(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=Se(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}}}),RA=new Ue({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:Sf,fromBase:function(t){var r=Se(t,3),n=r[0],a=r[1],i=r[2];return [n,i*(100-a)/100,100-i]},toBase:function(t){var r=Se(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,d=l===0?0:1-a/l;return [n,d*100,l*100]},formats:{hwb:{toGamut:true,coords:["<number> | <angle>","<percentage>","<percentage>"]}}}),FA=[[.5766690429101305,.1855582379065463,.1882286462349947],[.29734497525053605,.6273635662554661,.07529145849399788],[.02703136138641234,.07068885253582723,.9913375368376388]],IA=[[2.0415879038107465,-0.5650069742788596,-0.34473135077832956],[-0.9692436362808795,1.8759675015077202,.04155505740717557],[.013444280632031142,-0.11836239223101838,1.0151749943912054]],Tf=new or({id:"a98rgb-linear",name:"Linear Adobe\xAE 98 RGB compatible",white:"D65",toXYZ_M:FA,fromXYZ_M:IA}),MA=new or({id:"a98rgb",name:"Adobe\xAE 98 RGB compatible",base:Tf,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"}}}),PA=[[.7977604896723027,.13518583717574031,.0313493495815248],[.2880711282292934,.7118432178101014,8565396060525902e-20],[0,0,.8251046025104601]],LA=[[1.3457989731028281,-0.25558010007997534,-0.05110628506753401],[-0.5446224939028347,1.5082327413132781,.02053603239147973],[0,0,1.2119675456389454]],Rf=new or({id:"prophoto-linear",name:"Linear ProPhoto",white:"D50",base:Ws,toXYZ_M:PA,fromXYZ_M:LA}),OA=1/512,NA=16/512,qA=new or({id:"prophoto",name:"ProPhoto",base:Rf,toBase:function(t){return t.map(function(r){return r<NA?r/16:Math.pow(r,1.8)})},fromBase:function(t){return t.map(function(r){return r>=OA?Math.pow(r,1/1.8):16*r})},formats:{color:{id:"prophoto-rgb"}}}),BA=new Ue({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:lo,fromBase:function(t){var r=Se(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)),Zi(o)]},toBase:function(t){var r=Se(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>"]}}}),Ff=203,If=2610/Math.pow(2,14),HA=Math.pow(2,14)/2610,VA=2523/Math.pow(2,5),Mf=Math.pow(2,5)/2523,Pf=3424/Math.pow(2,12),Lf=2413/Math.pow(2,7),Of=2392/Math.pow(2,7),$A=new or({id:"rec2100pq",name:"REC.2100-PQ",base:to,toBase:function(t){return t.map(function(r){var n=Math.pow(Math.max(Math.pow(r,Mf)-Pf,0)/(Lf-Of*Math.pow(r,Mf)),HA);return n*1e4/Ff})},fromBase:function(t){return t.map(function(r){var n=Math.max(r*Ff/1e4,0),a=Pf+Lf*Math.pow(n,If),i=1+Of*Math.pow(n,If);return Math.pow(a/i,VA)})},formats:{color:{id:"rec2100-pq"}}}),Nf=.17883277,qf=.28466892,Bf=.55991073,ol=3.7743,jA=new or({id:"rec2100hlg",cssid:"rec2100-hlg",name:"REC.2100-HLG",referred:"scene",base:to,toBase:function(t){return t.map(function(r){return r<=.5?Math.pow(r,2)/3*ol:Math.exp((r-Bf)/Nf+qf)/12*ol})},fromBase:function(t){return t.map(function(r){return r/=ol,r<=1/12?Math.sqrt(3*r):Nf*Math.log(12*r-qf)+Bf})},formats:{color:{id:"rec2100-hlg"}}}),Hf={};sn.add("chromatic-adaptation-start",function(e){e.options.method&&(e.M=Vf(e.W1,e.W2,e.options.method));}),sn.add("chromatic-adaptation-end",function(e){e.M||(e.M=Vf(e.W1,e.W2,e.options.method));});function uo(e){var t=e.id;e.toCone_M;e.fromCone_M;Hf[t]=arguments[0];}function Vf(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"Bradford",n=Hf[r],a=Vt(n.toCone_M,e),i=Se(a,3),o=i[0],s=i[1],l=i[2],d=Vt(n.toCone_M,t),f=Se(d,3),g=f[0],A=f[1],k=f[2],O=[[g/o,0,0],[0,A/s,0],[0,0,k/l]],V=Vt(O,n.toCone_M),G=Vt(n.fromCone_M,V);return G}uo({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]]}),uo({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]]}),uo({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]]}),uo({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(kr,{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]}),kr.ACES=[.32168/.33767,1,(1-.32168-.33767)/.33767];var zA=[[.6624541811085053,.13400420645643313,.1561876870049078],[.27222871678091454,.6740817658111484,.05368951740793705],[-0.005574649490394108,.004060733528982826,1.0103391003129971]],GA=[[1.6410233796943257,-0.32480329418479,-0.23642469523761225],[-0.6636628587229829,1.6153315916573379,.016756347685530137],[.011721894328375376,-0.008284441996237409,.9883948585390215]],$f=new or({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:kr.ACES,toXYZ_M:zA,fromXYZ_M:GA,formats:{color:{}}}),co=Math.pow(2,-16),sl=-0.35828683,fo=(Math.log2(65504)+9.72)/17.52,WA=new or({id:"acescc",name:"ACEScc",coords:{r:{range:[sl,fo],name:"Red"},g:{range:[sl,fo],name:"Green"},b:{range:[sl,fo],name:"Blue"}},referred:"scene",base:$f,toBase:function(t){var r=-0.3013698630136986;return t.map(function(n){return n<=r?(Math.pow(2,n*17.52-9.72)-co)*2:n<fo?Math.pow(2,n*17.52-9.72):65504})},fromBase:function(t){return t.map(function(r){return r<=0?(Math.log2(co)+9.72)/17.52:r<co?(Math.log2(co+r*.5)+9.72)/17.52:(Math.log2(r)+9.72)/17.52})},formats:{color:{}}}),jf=Object.freeze({__proto__:null,XYZ_D65:gr,XYZ_D50:Ws,XYZ_ABS_D65:el,Lab_D65:Zs,Lab:lr,LCH:Pa,sRGB_Linear:Yd,sRGB:Na,HSL:kf,HWB:RA,HSV:Sf,P3_Linear:Kd,P3:tf,A98RGB_Linear:Tf,A98RGB:MA,ProPhoto_Linear:Rf,ProPhoto:qA,REC_2020_Linear:to,REC_2020:Jd,OKLab:lo,OKLCH:BA,Jzazbz:yf,JzCzHz:rl,ICTCP:nl,REC_2100_PQ:$A,REC_2100_HLG:jA,ACEScg:$f,ACEScc:WA}),Et=(Ae=new WeakMap,(function(){function e(){var t=this;Pt(this,e),pe(this,Ae,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=yt(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]),ft(Ae,this,Ue.get(o)),this.coords=s?s.slice():[0,0,0],this.alpha=l<1?l:1;for(var d=0;d<this.coords.length;d++)this.coords[d]==="NaN"&&(this.coords[d]=NaN);var f=function(k){Object.defineProperty(t,k,{get:function(){return t.get(k)},set:function(V){return t.set(k,V)}});};for(var g in ze(Ae,this).coords)f(g);}return We(e,[{key:"space",get:function(){return ze(Ae,this)}},{key:"spaceId",get:function(){return ze(Ae,this).id}},{key:"clone",value:function(){return new Et(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=Fx.apply(void 0,[this].concat(n));return i.color=new Et(i.color),i}}],[{key:"get",value:function(r){if(r instanceof Et)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 Z(Et,[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 f=n.apply(void 0,arguments);if(s==="color")f=Et.get(f);else if(s==="function<color>"){var g=f;f=function(){var k=g.apply(void 0,arguments);return Et.get(k)},Object.assign(f,g);}else s==="array<color>"&&(f=f.map(function(A){return Et.get(A)}));return f};r in Et||(Et[r]=l),o&&(Et.prototype[r]=function(){for(var d=arguments.length,f=new Array(d),g=0;g<d;g++)f[g]=arguments[g];return l.apply(void 0,[this].concat(f))});}},{key:"defineFunctions",value:function(r){for(var n in r)Et.defineFunction(n,r[n],r[n]);}},{key:"extend",value:function(r){if(r.register)r.register(Et);else for(var n in r)Et.defineFunction(n,r[n]);}}])})());Et.defineFunctions({get:vr,getAll:Ma,set:ln,setAll:zd,to:br,equals:Ix,inGamut:La,toGamut:un,distance:nf,toString:eo}),Object.assign(Et,{util:hx,hooks:sn,WHITES:kr,Space:Ue,spaces:Ue.registry,parse:jd,defaults:Pr});for(var ll=0,zf=Object.keys(jf);ll<zf.length;ll++){var UA=zf[ll];Ue.register(jf[UA]);}for(var Gf in Ue.registry)ul(Gf,Ue.registry[Gf]);sn.add("colorspace-init-end",function(e){var t;ul(e.id,e),(t=e.aliases)===null||t===void 0||t.forEach(function(r){ul(r,e);});});function ul(e,t){Object.keys(t.coords),Object.values(t.coords).map(function(n){return n.name});var r=e.replace(/-/g,"_");Object.defineProperty(Et.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 Ue.resolveCoord([t,l]),!0}catch{}return Reflect.has(s,l)},get:function(s,l,d){if(l&&ye(l)!=="symbol"&&!(l in s)){var f=Ue.resolveCoord([t,l]),g=f.index;if(g>=0)return s[g]}return Reflect.get(s,l,d)},set:function(s,l,d,f){if(l&&ye(l)!=="symbol"&&!(l in s)||l>=0){var g=Ue.resolveCoord([t,l]),A=g.index;if(A>=0)return s[A]=d,a.setAll(e,s),true}return Reflect.set(s,l,d,f)}})},set:function(a){this.setAll(e,a);},configurable:true,enumerable:true});}Et.extend(al),Et.extend({deltaE:qa}),Et.extend(kA),Et.extend({contrast:Zx}),Et.extend(eA),Et.extend(Px),Et.extend(TA),Et.extend(ao);var Wf=Ir(hd());an.default.templateSettings.strip=false,m._memoizedFns=[];function XA(e){var t=(0, Nd.default)(e);return m._memoizedFns.push(t),t}var St=XA,JA=St(function(e){return e!=null&&e.createElement?e.createElement("A").localName==="A":false}),Ha=JA;function cl(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!t)return "";var n=t.getRootNode&&t.getRootNode()||p;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 KA=["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"],YA=31,ZA=/([\\"])/g,QA=/(\r\n|\r|\n)/g;function dl(e){return e.replace(ZA,"\\$1").replace(QA,"\\a ")}function Uf(e,t){var r=t.name,n;if(r.indexOf("href")!==-1||r.indexOf("src")!==-1){var a=Pd(e.getAttribute(r));a?n=qt(t.name)+'$="'+dl(a)+'"':n=qt(t.name)+'="'+dl(e.getAttribute(r))+'"';}else n=qt(r)+'="'+dl(t.value)+'"';return n}function fl(e,t){return e.count<t.count?-1:e.count===t.count?0:1}function Xf(e){return !KA.includes(e.name)&&e.name.indexOf(":")===-1&&(!e.value||e.value.length<YA)}function po(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(d){var f=qt(d);t.classes[f]?t.classes[f]++:t.classes[f]=1;}),s.hasAttributes()&&Array.from(Fa(s)).filter(Xf).forEach(function(d){var f=Uf(s,d);f&&(t.attributes[f]?t.attributes[f]++:t.attributes[f]=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 e2(e,t){var r=[],n=t.classes,a=t.tags;return e.classList&&Array.from(e.classList).forEach(function(i){var o=qt(i);n[o]<a[e.nodeName]&&r.push({name:o,count:n[o],species:"class"});}),r.sort(fl)}function t2(e,t){var r=e.parentNode&&Array.from(e.parentNode.children||"")||[],n=r.find(function(i){return i!==e&&Wn(i,t)});if(n){var a=1+r.indexOf(e);return ":nth-child("+a+")"}else return ""}function r2(e){if(e.getAttribute("id")){var t=e.getRootNode&&e.getRootNode()||p,r="#"+qt(e.getAttribute("id")||"");if(!r.match(/player_uid_/)&&t.querySelectorAll(r).length===1)return r}}function Jf(e){var t=Ha(p);return qt(t?e.localName:e.nodeName.toLowerCase())}function n2(e,t){var r=[],n=t.attributes,a=t.tags;return e.hasAttributes()&&Array.from(Fa(e)).filter(Xf).forEach(function(i){var o=Uf(e,i);o&&n[o]<a[e.nodeName]&&r.push({name:o,count:n[o],species:"attribute"});}),r.sort(fl)}function a2(e,t){var r="",n,a=e2(e,t),i=n2(e,t);return a.length&&a[0].count===1?n=[a[0]]:i.length&&i[0].count===1?(n=[i[0]],r=Jf(e)):(n=a.concat(i),n.sort(fl),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=Jf(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 i2(e,t,r){if(!m._selectorData)throw new Error("Expect axe._selectorData to be set up");var n=t.toRoot,a=n===void 0?false:n,i,o;do{var s=r2(e);s||(s=a2(e,m._selectorData),s+=t2(e,s)),i?i=s+" > "+i:i=s,!o||o.length>tt.selectorSimilarFilterLimit?o=s2(r,i):o=o.filter(function(l){return Wn(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 o2(e,t){return cl(i2,e,t)}var pl=St(o2),s2=St(function(e,t){return Array.from(e.querySelectorAll(t))});function Kf(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?Kf(r)+" > "+t+a:t+a}function mo(e,t){return cl(Kf,e,t)}function Yf(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=Yf(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&&qt(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 l2(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 u2(e){var t=Yf(e);return l2(t)}var Zf=u2,Va={},c2={set:function(t,r){d2(t),Va[t]=r;},get:function(t,r){if(f2(r),t in Va)return Va[t];if(typeof r=="function"){var n=r();return mt(n!==void 0,"Cache creator function should not return undefined"),this.set(t,n),Va[t]}},clear:function(){Va={};}};function d2(e){mt(typeof e=="string","key must be a string, "+ye(e)+" given"),mt(e!=="","key must not be empty");}function f2(e){mt(typeof e=="function"||typeof e>"u","creator must be a function or undefined, "+ye(e)+" given");}var et=c2;function p2(e,t){var r=t||e;return et.get("nodeMap")?et.get("nodeMap").get(r):null}var nt=p2;function Qf(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 ml(s,n)}var l=m2(e);return l.length>n?h2(e,{maxLength:n,attrLimit:i}):l}function m2(e){var t=e.outerHTML;return !t&&typeof c.XMLSerializer=="function"&&(t=new c.XMLSerializer().serializeToString(e)),t||""}function h2(e,t){var r=t.maxLength,n=t.attrLimit,a=Ha(e.ownerDocument||p)?e.nodeName:e.nodeName.toLowerCase(),i=Array.from(Fa(e)).map(function(O){var V=O.name,G=O.value;return {name:V,value:G}}),o=i.reduce(function(O,V){var G=V.name,U=V.value;return O+G.length+U.length+4},0);2+a.length+o>r&&i.forEach(function(O){O.name=ml(O.name,n),O.value=ml(O.value,n);});var s="<".concat(a),l=">",d=" ...>",f=dt(i),g;try{for(f.s();!(g=f.n()).done;){var A=g.value,k=" ".concat(A.name,'="').concat(A.value,'"');if(s.length+k.length>r-d.length){l=d;continue}s+=k;}}catch(O){f.e(O);}finally{f.f();}return s+l}function ml(e,t){return e.length<=t?e:e.substring(0,t)+"..."}var ep="DqElm.RunOptions",Sn=St(function(t,r,n){var a,i;if(r??(r=null),n??(n={}),!r){var o;r=(o=et.get(ep))!==null&&o!==void 0?o:{};}if(this.spec=n,t instanceof Xt?(this._virtualNode=t,this._element=t.actualNode):(this._element=t,this._virtualNode=nt(t)),this.fromFrame=((a=this.spec.selector)===null||a===void 0?void 0:a.length)>1,this._includeElementInJson=r.elementRef,r.absolutePaths&&(this._options={toRoot:true}),this.nodeIndexes=[],Array.isArray(this.spec.nodeIndexes)?this.nodeIndexes=this.spec.nodeIndexes:typeof((i=this._virtualNode)===null||i===void 0?void 0:i.nodeIndex)=="number"&&(this.nodeIndexes=[this._virtualNode.nodeIndex]),this.source=null,!m._audit.noHtml){var s;this.source=(s=this.spec.source)!==null&&s!==void 0?s:Qf(this._element);}return this});Sn.prototype={get selector(){return this.spec.selector||[pl(this.element,this._options)]},get ancestry(){return this.spec.ancestry||[mo(this.element)]},get xpath(){return this.spec.xpath||[Zf(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}},Sn.fromFrame=function(t,r,n){var a=Sn.mergeSpecs(t,n);return new Sn(n.element,r,a)},Sn.mergeSpecs=function(t,r){return Y({},t,{selector:[].concat(ie(r.selector),ie(t.selector)),ancestry:[].concat(ie(r.ancestry),ie(t.ancestry)),xpath:[].concat(ie(r.xpath),ie(t.xpath)),nodeIndexes:[].concat(ie(r.nodeIndexes),ie(t.nodeIndexes)),fromFrame:true})},Sn.setRunOptions=function(t){var r=t.elementRef,n=t.absolutePaths;et.set(ep,{elementRef:r,absolutePaths:n});};var yr=Sn;function g2(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){c.Node&&(i instanceof c.Node||i instanceof Xt?i=[i]:i=Md(i),e.relatedNodes=[],i.forEach(function(o){if(o instanceof Xt&&(o=o.actualNode),o instanceof c.Node){var s=new yr(o);e.relatedNodes.push(s);}}));}}}var hl=g2;function Xr(e){return gl(e,new Map)}function gl(e,t){var r,n;if(e===null||ye(e)!=="object"||(r=c)!==null&&r!==void 0&&r.Node&&e instanceof c.Node||(n=c)!==null&&n!==void 0&&n.HTMLCollection&&e instanceof c.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(gl(s,t));}),a}var i={};t.set(e,i);for(var o in e)i[o]=gl(e[o],t);return i}var $a=new Od.CssSelectorParser;$a.registerSelectorPseudos("not"),$a.registerSelectorPseudos("is"),$a.registerNestingOperators(">"),$a.registerAttrEqualityMods("^","$","*","~");var tp=$a;function vl(e,t){var r=ho(t);return r.some(function(n){return Jn(e,n)})}function v2(e,t){return e.props.nodeType===1&&(t.tag==="*"||e.props.nodeName===t.tag)}function b2(e,t){return !t.classes||t.classes.every(function(r){return e.hasClass(r.value)})}function y2(e,t){return !t.attributes||t.attributes.every(function(r){var n=e.attr(r.key);return n!==null&&r.test(n)})}function w2(e,t){return !t.id||e.props.id===t.id}function x2(e,t){return !!(!t.pseudos||t.pseudos.every(function(r){if(r.name==="not")return !r.expressions.some(function(n){return Jn(e,n)});if(r.name==="is")return r.expressions.some(function(n){return Jn(e,n)});throw new Error("the pseudo selector "+r.name+" has not yet been implemented")}))}function rp(e,t){return v2(e,t)&&b2(e,t)&&y2(e,t)&&w2(e,t)&&x2(e,t)}var ja=(function(){var e=/(?=[\-\[\]{}()*+?.\\\^$|,#\s])/g,t="\\";return function(r){return r.replace(e,t)}})(),bl=/\\/g;function A2(e){if(e)return e.map(function(t){var r=t.name.replace(bl,""),n=(t.value||"").replace(bl,""),a,i;switch(t.operator){case "^=":i=new RegExp("^"+ja(n));break;case "$=":i=new RegExp(ja(n)+"$");break;case "~=":i=new RegExp("(^|\\s)"+ja(n)+"(\\s|$)");break;case "|=":i=new RegExp("^"+ja(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 _2(e){if(e)return e.map(function(t){return t=t.replace(bl,""),{value:t,regexp:new RegExp("(^|\\s)"+ja(t)+"(\\s|$)")}})}function D2(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=np(r)),{name:t.name,expressions:r,value:t.value}})}function np(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:A2(n.attrs),classes:_2(n.classNames),pseudos:D2(n.pseudos)}),n=n.rule;return r})}function ho(e){var t=tp.parse(e);return t=t.selectors?t.selectors:[t],np(t)}function ap(e,t,r,n){if(!e)return false;for(var a=Array.isArray(t),i=a?t[r]:t,o=rp(e,i);!o&&n&&e.parent;)e=e.parent,o=rp(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&&ap(e.parent,t,r-1,i.combinator===" ");}return o}function Jn(e,t,r){return ap(e,t,t.length-1,r)}function E2(e,t){for(;e;){if(vl(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 ur=E2;function go(){}function yl(e){if(typeof e!="function")throw new TypeError("Queue methods require functions as arguments")}function C2(){var e=[],t=0,r=0,n=go,a=false,i,o=function(k){i=k,setTimeout(function(){i!=null&&kn("Uncaught error (of queue)",i);},1);},s=o;function l(A){return function(k){e[A]=k,r-=1,!r&&n!==go&&(a=true,n(e));}}function d(A){return n=go,s(A),e}function f(){for(var A=e.length;t<A;t++){var k=e[t];try{k.call(null,l(t),d);}catch(O){d(O);}}}var g={defer:function(k){if(ye(k)==="object"&&k.then&&k.catch){var O=k;k=function(G,U){O.then(G).catch(U);};}if(yl(k),i===void 0){if(a)throw new Error("Queue already completed");return e.push(k),++r,f(),g}},then:function(k){if(yl(k),n!==go)throw new Error("queue `then` already set");return i||(n=k,r||(a=true,n(e))),g},catch:function(k){if(yl(k),s!==o)throw new Error("queue `catch` already set");return i?(k(i),i=null):s=k,g},abort:d};return g}var Lr=C2,Kn,Yn,wl=c.crypto||c.msCrypto;if(!Yn&&wl&&wl.getRandomValues){var ip=new Uint8Array(16);Yn=function(){return wl.getRandomValues(ip),ip};}if(!Yn){var op=new Array(16);Yn=function(){for(var t=0,r;t<16;t++)(t&3)===0&&(r=Math.random()*4294967296),op[t]=r>>>((t&3)<<3)&255;return op};}for(var sp=typeof c.Buffer=="function"?c.Buffer:Array,xl=[],lp={},Zn=0;Zn<256;Zn++)xl[Zn]=(Zn+256).toString(16).substr(1),lp[xl[Zn]]=Zn;function k2(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++]=lp[i]);});a<16;)t[n+a++]=0;return t}function Al(e,t){var r=t||0,n=xl;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 dn=Yn(),S2=[dn[0]|1,dn[1],dn[2],dn[3],dn[4],dn[5]],up=(dn[6]<<8|dn[7])&16383,_l=0,Dl=0;function cp(e,t,r){var n=t&&r||0,a=t||[];e=e||{};var i=e.clockseq!=null?e.clockseq:up,o=e.msecs!=null?e.msecs:new Date().getTime(),s=e.nsecs!=null?e.nsecs:Dl+1,l=o-_l+(s-Dl)/1e4;if(l<0&&e.clockseq==null&&(i=i+1&16383),(l<0||o>_l)&&e.nsecs==null&&(s=0),s>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");_l=o,Dl=s,up=i,o+=122192928e5;var d=((o&268435455)*1e4+s)%4294967296;a[n++]=d>>>24&255,a[n++]=d>>>16&255,a[n++]=d>>>8&255,a[n++]=d&255;var f=o/4294967296*1e4&268435455;a[n++]=f>>>8&255,a[n++]=f&255,a[n++]=f>>>24&15|16,a[n++]=f>>>16&255,a[n++]=i>>>8|128,a[n++]=i&255;for(var g=e.node||S2,A=0;A<6;A++)a[n+A]=g[A];return t||Al(a)}function Tn(e,t,r){var n=t&&r||0;typeof e=="string"&&(t=e=="binary"?new sp(16):null,e=null),e=e||{};var a=e.random||(e.rng||Yn)();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||Al(a)}Kn=Tn,Kn.v1=cp,Kn.v4=Tn,Kn.parse=k2,Kn.unparse=Al,Kn.BufferClass=sp,m._uuid=cp();var T2=Tn,R2=Object.freeze(["EvalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"]);function F2(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:dp()};return n instanceof Error?o.error={name:n.name,message:n.message,stack:n.stack}:o.payload=n,JSON.stringify(o)}function I2(e){var t;try{t=JSON.parse(e);}catch{return}if(M2(t)){var r=t,n=r.topic,a=r.channelId,i=r.messageId,o=r.keepalive,s=ye(t.error)==="object"?P2(t.error):t.payload;return {topic:n,message:s,messageId:i,channelId:a,keepalive:!!o}}}function M2(e){return e!==null&&ye(e)==="object"&&typeof e.channelId=="string"&&e.source===dp()}function P2(e){var t=e.message||"Unknown error occurred",r=R2.includes(e.name)?e.name:"Error",n=c[r]||Error;return e.stack&&(t+=`
425
425
  `+e.stack.replace(e.message,"")),new n(t)}function dp(){var e="axeAPI",t="";return typeof m<"u"&&m._audit&&m._audit.application&&(e=m._audit.application),typeof m<"u"&&(t=m.version),e+"."+t}function El(e){pp(e),mt(c.parent===e,"Source of the response must be the parent window.");}function fp(e){pp(e),mt(e.parent===c,"Respondable target must be a frame in the current window");}function pp(e){mt(c!==e,"Messages can not be sent to the same window.");}var za={};function L2(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:true;mt(!Object.prototype.hasOwnProperty.call(za,e),"A replyHandler already exists for this message channel."),za[e]={replyHandler:t,sendToParent:r};}function O2(e){return Object.prototype.hasOwnProperty.call(za,e)?za[e]:void 0}function N2(e){delete za[e];}var vo=[];function Cl(){var e="".concat(Tn(),":").concat(Tn());return vo.includes(e)?Cl():(vo.push(e),e)}function q2(e){return vo.includes(e)?false:(vo.push(e),true)}function kl(e,t,r,n){if(r?El(e):fp(e),t.message instanceof Error&&!r)return m.log(t.message),false;var a=F2(Y({messageId:Cl()},t)),i=m._audit.allowedOrigins;return !i||!i.length?false:(typeof n=="function"&&L2(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 B2(e,t,r){if(!e.parent!==c)return m.log(t);try{kl(e,{topic:null,channelId:r,message:t,messageId:Cl(),keepalive:!0},!0);}catch(n){return m.log(n)}}function mp(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};kl(e,s,r,o);}}function H2(e){var t=m._audit.allowedOrigins;return t&&t.includes("*")||t.includes(e)}function V2(e,t){var r=e.origin,n=e.data,a=e.source;try{var i=I2(n)||{},o=i.channelId,s=i.message,l=i.messageId;if(!H2(r)||!q2(l))return;if(s instanceof Error&&a.parent!==c)return m.log(s),!1;try{if(i.topic){var d=mp(a,o);El(a),t(i,d);}else $2(a,i);}catch(f){B2(a,f,o);}}catch(f){return m.log(f),false}}function $2(e,t){var r=t.channelId,n=t.message,a=t.keepalive,i=O2(r)||{},o=i.replyHandler,s=i.sendToParent;if(o){s?El(e):fp(e);var l=mp(e,r,s);!a&&r&&N2(r);try{o(n,a,l);}catch(d){m.log(d),l(d,a);}}}var j2={open:function(t){if(typeof c.addEventListener=="function"){var r=function(a){V2(a,t);};return c.addEventListener("message",r,false),function(){c.removeEventListener("message",r,false);}}},post:function(t,r,n){return typeof c.addEventListener!="function"?false:kl(t,r,false,n)}};function hp(e){e.updateMessenger(j2);}var bo,gp,yo={};function Tr(e,t,r,n,a){var i={topic:t,message:r,channelId:"".concat(Tn(),":").concat(Tn()),keepalive:n};return gp(e,i,a)}function z2(e,t){var r=e.topic,n=e.message,a=e.keepalive,i=Object.prototype.hasOwnProperty.call(yo,r)?yo[r]:void 0;if(i)try{i(n,a,t);}catch(o){m.log(o),t(o,a);}}Tr.updateMessenger=function(t){var r=t.open,n=t.post;mt(typeof r=="function","open callback must be a function"),mt(typeof n=="function","post callback must be a function"),bo&&bo();var a=r(z2);a?(mt(typeof a=="function","open callback must return a cleanup function"),bo=a):bo=null,gp=n;},Tr.subscribe=function(t,r){mt(typeof r=="function","Subscriber callback must be a function"),mt(!Object.prototype.hasOwnProperty.call(yo,t),"Topic ".concat(t," is already registered to.")),yo[t]=r;},Tr.isInFrame=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:c;return !!t.frameElement},hp(Tr);function vp(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){kn("Frame does not have a content window",e),r(null);return}if(s===0){bp(e,t,r,n);return}var l=setTimeout(function(){l=setTimeout(function(){t.debug?n(yp("No response from frame",e)):r(null);},0);},s);Tr(o,"axe.ping",null,void 0,function(){clearTimeout(l),bp(e,t,r,n);});}function bp(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(yp("Axe in frame timed out",e));},o);Tr(s,"axe.start",t,void 0,function(d){clearTimeout(l),d instanceof Error?n(d):r(d);});}function yp(e,t){var r;return m._tree&&(r=pl(t)),new Error(e+": "+(r||t))}var Ga=null,Wa={update:function(t){mt(ye(t)==="object","serializer must be an object"),Ga=t;},toSpec:function(t){return Wa.dqElmToSpec(new yr(t))},dqElmToSpec:function(t,r){var n;return t instanceof yr?(r&&(t=G2(t,r)),typeof((n=Ga)===null||n===void 0?void 0:n.toSpec)=="function"?Ga.toSpec(t):t.toJSON()):t},mergeSpecs:function(t,r){var n;return typeof((n=Ga)===null||n===void 0?void 0:n.mergeSpecs)=="function"?Ga.mergeSpecs(t,r):yr.mergeSpecs(t,r)},mapRawResults:function(t){return t.map(function(r){return Y({},r,{nodes:Wa.mapRawNodeResults(r.nodes)})})},mapRawNodeResults:function(t){return t?.map(function(r){var n=r.node,a=ne(r,b);a.node=Wa.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 d=l.relatedNodes,f=ne(l,_);return f.relatedNodes=d.map(Wa.dqElmToSpec),f});}return a})}},wr=Wa;function G2(e,t){var r=e.fromFrame,n=t.ancestry,a=t.xpath,i=t.selectors!==false||r;return e=new yr(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 W2(e){var t=[];return t.concat(e.any||[]).concat(e.all||[]).concat(e.none||[])}var wo=W2;function U2(e,t,r){if(Array.isArray(e))return e.find(function(n){return n!==null&&ye(n)==="object"&&Object.hasOwn(n,t)&&n[t]===r})}var Ua=U2;function X2(e,t,r){e.forEach(function(n){n.node=wr.mergeSpecs(n.node,r);var a=wo(n);a.forEach(function(i){i.relatedNodes=i.relatedNodes.map(function(o){return wr.mergeSpecs(o,r)});});});}function J2(e,t){for(var r=t[0].node,n,a=0;a<e.length;a++){n=e[a].node;var i=wp(n.nodeIndexes,r.nodeIndexes);if(i>0||i===0&&r.selector.length<n.selector.length){e.splice.apply(e,[a,0].concat(ie(t)));return}}e.push.apply(e,ie(t));}function K2(e){return !e||!e.results?null:Array.isArray(e.results)?e.results.length?e.results:null:[e.results]}function Y2(e,t){var r=[];return e.forEach(function(n){var a=K2(n);if(!(!a||!a.length)){var i=Z2(n);a.forEach(function(o){o.nodes&&i&&X2(o.nodes,t,i);var s=Ua(r,"id",o.id);if(!s)r.push(o);else if(o.nodes.length&&J2(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 wp(a.node.nodeIndexes,i.node.nodeIndexes)});}),r}function wp(){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 xo=Y2;function Z2(e){return e.frameElement?wr.toSpec(e.frameElement):e.frameSpec?e.frameSpec:null}function xp(e,t,r,n,a,i){t=Y({},t,{elementRef:false});var o=Lr(),s=e.frames;s.forEach(function(l){var d=l.node,f=ne(l,D);o.defer(function(g,A){var k={options:t,command:r,parameter:n,context:f};function O(V){return g(V?{results:V,frameElement:d}:null)}vp(d,k,O,A);});}),o.then(function(l){a(xo(l,t));}).catch(i);}function Jr(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 Ap(){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||ye(a)!=="object"||Array.isArray(a)))for(var i=0,o=Object.keys(a);i<o.length;i++){var s=o[i];!e.hasOwnProperty(s)||ye(a[s])!=="object"||Array.isArray(e[s])?e[s]=a[s]:e[s]=Ap(e[s],a[s]);}}),e}var Sl=Ap;function Q2(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 Tl=Q2,e_=["article","aside","blockquote","body","div","footer","h1","h2","h3","h4","h5","h6","header","main","nav","p","section","span"];function t_(e){if(e.shadowRoot){var t=e.nodeName.toLowerCase();if(e_.includes(t)||/^[a-z][a-z0-9_.-]*-[a-z0-9_.-]*$/.test(t))return true}return false}var Ao=t_,Rl={};_r(Rl,{createGrid:function(){return Ya},findElmsInContext:function(){return _p},findNearbyElms:function(){return Ro},findUp:function(){return ea},findUpVirtual:function(){return Qn},focusDisabled:function(){return Hl},getComposedParent:function(){return Jt},getElementByReference:function(){return $l},getElementCoordinates:function(){return Ml},getElementStack:function(){return am},getModalDialog:function(){return Qp},getNodeGrid:function(){return To},getOverflowHiddenAncestors:function(){return Ja},getRootNode:function(){return Qt},getScrollOffset:function(){return qp},getTabbableElements:function(){return im},getTargetRects:function(){return Io},getTargetSize:function(){return om},getTextElementStack:function(){return ou},getViewportSize:function(){return _o},getVisibleChildTextRects:function(){return iu},hasContent:function(){return Bo},hasContentVirtual:function(){return ii},hasLangText:function(){return lu},idrefs:function(){return Or},insertedIntoFocusOrder:function(){return Jm},isCurrentPageLink:function(){return Vl},isFixedPosition:function(){return Do},isFocusable:function(){return $t},isHTML5:function(){return Zm},isHiddenForEveryone:function(){return fn},isHiddenWithCSS:function(){return SE},isInTabOrder:function(){return xr},isInTextBlock:function(){return uu},isInert:function(){return Fo},isModalOpen:function(){return oi},isMultiline:function(){return eh},isNativelyFocusable:function(){return Gl},isNode:function(){return qE},isOffscreen:function(){return Eo},isOpaque:function(){return XE},isSkipLink:function(){return fu},isVisible:function(){return eC},isVisibleOnScreen:function(){return cr},isVisibleToScreenReaders:function(){return Lt},isVisualContent:function(){return su},reduceToElementsBelowFloating:function(){return th},shadowElementsFromPoint:function(){return nC},urlPropsFromAttribute:function(){return uC},visuallyContains:function(){return rh},visuallyOverlaps:function(){return pu},visuallySort:function(){return jl}});function r_(e){var t=e.getRootNode&&e.getRootNode()||p;return t===e&&(t=p),t}var Xa=r_,Qt=Xa;function n_(e){var t=e.context,r=e.value,n=e.attr,a=e.elm,i=a===void 0?"":a,o,s=qt(r);return t.nodeType===9||t.nodeType===11?o=t:o=Qt(t),Array.from(o.querySelectorAll(i+"["+n+"="+s+"]"))}var _p=n_;function a_(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&&!Wn(r,t)&&r!==p.documentElement);return !r||!Wn(r,t)?null:r}var Qn=a_;function i_(e,t){return Qn(nt(e),t)}var ea=i_;function Fl(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 Dp=St(function(t){var r=[];if(!t)return r;var n=t.getComputedStylePropertyValue("overflow");return n==="hidden"&&r.push(t),r.concat(Dp(t.parent))}),Ja=Dp,o_=/rect\s*\(([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px\s*\)/,s_=/(\w+)\((\d+)/;function Ep(e){return ["style","script","noscript","template"].includes(e.props.nodeName)}function Cp(e){return e.props.nodeName==="area"?false:e.getComputedStylePropertyValue("display")==="none"}function kp(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.isAncestor;return !r&&["hidden","collapse"].includes(e.getComputedStylePropertyValue("visibility"))}function Sp(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.isAncestor;return !!r&&e.getComputedStylePropertyValue("content-visibility")==="hidden"}function Tp(e){return e.attr("aria-hidden")==="true"}function Rp(e){return e.getComputedStylePropertyValue("opacity")==="0"}function Fp(e){var t=Zr(e.actualNode),r=parseInt(e.getComputedStylePropertyValue("height")),n=parseInt(e.getComputedStylePropertyValue("width"));return !!t&&(r===0||n===0)}function Ip(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=Ja(e);if(!a.length)return false;var i=e.boundingClientRect;return a.some(function(o){if(n==="absolute"&&!l_(e,o)&&o.getComputedStylePropertyValue("position")==="static")return false;var s=o.boundingClientRect;return s.width<2||s.height<2?true:!Fl(i,s)})}function Mp(e){var t=e.getComputedStylePropertyValue("clip").match(o_),r=e.getComputedStylePropertyValue("clip-path").match(s_);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 Il(e,t){var r=ur(e,"map");if(!r)return true;var n=r.attr("name");if(!n)return true;var a=Xa(e.actualNode);if(!a||a.nodeType!==9)return true;var i=pr(m._tree,'img[usemap="#'.concat(qt(n),'"]'));return !i||!i.length?true:i.some(function(o){return !t(o)})}function Pp(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 l_(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 u_=[Cp,kp,Sp,Pp];function fn(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=pt(e).vNode,r?Lp(e,a):Op(e,a)}var Lp=St(function(t,r){return Ep(t)?true:t.actualNode?!!(u_.some(function(n){return n(t,{isAncestor:r})})||!t.actualNode.isConnected):false}),Op=St(function(t,r){return Lp(t,r)?true:t.parent?Op(t.parent,true):false});function Np(e){if(e.assignedSlot)return Np(e.assignedSlot);if(e.parentNode){var t=e.parentNode;if(t.nodeType===1)return t;if(t.host)return t.host}return null}var Jt=Np;function c_(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 qp=c_;function d_(e){var t=qp(p),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 Ml=d_;function f_(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 _o=f_;function Do(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.skipAncestors,n=pt(e),a=n.vNode;return a?r?Bp(a):Hp(a):false}var Bp=St(function(t){return t.getComputedStylePropertyValue("position")==="fixed"}),Hp=St(function(t){return Bp(t)?true:t.parent?Hp(t.parent):false});function p_(e,t){for(e=Jt(e);e&&e.nodeName.toLowerCase()!=="html";){if(e.scrollTop&&(t+=e.scrollTop,t>=0))return false;e=Jt(e);}return true}function m_(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.isAncestor;if(r)return false;var n=pt(e),a=n.domNode;if(a){var i=p.documentElement,o=c.getComputedStyle(a),s=c.getComputedStyle(p.body||i).getPropertyValue("direction"),l=Do(a),d=l?a.getBoundingClientRect():Ml(a);if(d.top===0&&d.bottom===0||d.left===0&&d.right===0)return false;if(d.bottom<=0&&(p_(a,d.bottom)||o.position==="absolute"))return true;var f=_o(c);if(l&&d.top>=f.height)return true;var g=Math.max(i.scrollWidth,f.width);return !!((l||s==="rtl")&&d.left>=g||(l||s==="ltr")&&d.right<=0)}}var Eo=m_,h_=[Rp,Fp,Ip,Mp,Eo];function cr(e){return e=pt(e).vNode,Pl(e)}var Pl=St(function(t,r){return t.actualNode&&t.props.nodeName==="area"?!Il(t,Pl):fn(t,{skipAncestors:true,isAncestor:r})||t.actualNode&&h_.some(function(n){return n(t,{isAncestor:r})})?false:t.parent?Pl(t.parent,true):true});function Ll(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 c.DOMRect(i,r,n-i,a-r)}function Co(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 Vp={};_r(Vp,{getBoundingRect:function(){return Ll},getIntersectionRect:function(){return ko},getOffset:function(){return jp},getRectCenter:function(){return Ka},hasVisualOverlap:function(){return Ol},isPointInRect:function(){return Co},rectHasMinimumSize:function(){return Kr},rectsOverlap:function(){return Fl},splitRects:function(){return Nl}});function ko(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 c.DOMRect(r,a,n-r,i-a)}function Ka(e){var t=e.left,r=e.top,n=e.width,a=e.height;return new c.DOMPoint(t+n/2,r+a/2)}var $p=.05;function Kr(e,t){var r=t.width,n=t.height;return r+$p>=e&&n+$p>=e}function jp(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:12,n=Io(e),a=Io(t);return !n.length||!a.length?null:n.reduce(function(i,o){var s=Ka(o),l=dt(a),d;try{for(l.s();!(d=l.n()).done;){var f=d.value;if(Co(s,f))return 0;var g=g_(s,f),A=zp(s,g);i=Math.min(i,A);}}catch(U){l.e(U);}finally{l.f();}var k=om(t);if(Kr(r*2,k))return i;var O=a.reduce(Ll),V=Ka(O),G=zp(s,V)-r;return Math.max(0,Math.min(i,G))},1/0)}function g_(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 zp(e,t){return Math.hypot(e.x-t.x,e.y-t.y)}function Ol(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:jl(e,t)>0}function Nl(e,t){var r=Array.isArray(e)?e:[e],n=dt(t),a;try{var i=function(){var s=a.value;if(r=r.reduce(function(l,d){return l.concat(v_(d,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 v_(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(So(t.top,r,a)&&s&&l.push({top:r,left:n,bottom:t.top,right:i}),So(t.right,n,i)&&o&&l.push({top:r,left:t.right,bottom:a,right:i}),So(t.bottom,r,a)&&s&&l.push({top:t.bottom,right:i,bottom:a,left:n}),So(t.left,n,i)&&o&&l.push({top:r,left:n,bottom:a,right:t.left}),l.length===0){if(y_(e,t))return [];l.push(e);}return l.map(b_)}var So=function(t,r,n){return t>r&&t<n};function b_(e){return new c.DOMRect(e.left,e.top,e.right-e.left,e.bottom-e.top)}function y_(e,t){return e.top>=t.top&&e.left>=t.left&&e.bottom<=t.bottom&&e.right<=t.right}var Gp=0,w_=.1,Wp=.2,Up=.3,ql=0;function Ya(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:p.body,t=arguments.length>1?arguments[1]:void 0,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(et.get("gridCreated")&&!r)return tt.gridSize;if(et.set("gridCreated",true),!r){var n=nt(p.documentElement);if(n||(n=new mu(p.documentElement)),ql=0,n._stackingOrder=[Kp(Gp,ql++,null)],t??(t=new Bl),Yp(t,n),Zr(n.actualNode)){var a=new Bl(n);n._subGrid=a;}}for(var i=p.createTreeWalker(e,c.NodeFilter.SHOW_ELEMENT,null,false),o=r?i.nextNode():i.currentNode;o;){var s=nt(o);s&&s.parent?r=s.parent:o.assignedSlot?r=nt(o.assignedSlot):o.parentElement?r=nt(o.parentElement):o.parentNode&&nt(o.parentNode)&&(r=nt(o.parentNode)),s||(s=new m.VirtualNode(o,r)),s._stackingOrder=x_(s,r,ql++);var l=D_(s,r),d=l?l._subGrid:t;if(Zr(s.actualNode)){var f=new Bl(s);s._subGrid=f;}var g=s.boundingClientRect;g.width!==0&&g.height!==0&&cr(o)&&Yp(d,s),Ao(o)&&Ya(o.shadowRoot,d,s),o=i.nextNode();}return tt.gridSize}function Xp(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 d=e.getComputedStylePropertyValue("-webkit-mask")||e.getComputedStylePropertyValue("mask")||"none";if(d!=="none")return true;var f=e.getComputedStylePropertyValue("-webkit-mask-image")||e.getComputedStylePropertyValue("mask-image")||"none";if(f!=="none")return true;var g=e.getComputedStylePropertyValue("-webkit-mask-border")||e.getComputedStylePropertyValue("mask-border")||"none";if(g!=="none"||e.getComputedStylePropertyValue("isolation")==="isolate")return true;var A=e.getComputedStylePropertyValue("will-change");if(A==="transform"||A==="opacity"||e.getComputedStylePropertyValue("-webkit-overflow-scrolling")==="touch")return true;var k=e.getComputedStylePropertyValue("contain");return !!(["layout","paint","strict","content"].includes(k)||n!=="auto"&&Jp(t))}function Jp(e){if(!e)return false;var t=e.getComputedStylePropertyValue("display");return ["flex","inline-flex","grid","inline-grid"].includes(t)}function x_(e,t,r){var n=t._stackingOrder.slice();if(Xp(e,t)){var a=n.findIndex(function(o){var s=o.stackLevel;return [Gp,Wp,Up].includes(s)});a!==-1&&n.splice(a,n.length-a);}var i=A_(e,t);return i!==null&&n.push(Kp(i,r,e)),n}function Kp(e,t,r){return {stackLevel:e,treeOrder:t,vNode:r}}function A_(e,t){var r=__(e,t);return ["auto","0"].includes(r)?e.getComputedStylePropertyValue("position")!=="static"?Up:e.getComputedStylePropertyValue("float")!=="none"?Wp:Xp(e,t)?w_:null:parseInt(r)}function __(e,t){var r=e.getComputedStylePropertyValue("position");return r==="static"&&!Jp(t)?"auto":e.getComputedStylePropertyValue("z-index")}function D_(e,t){for(var r=null,n=[e];t;){if(Zr(t.actualNode)){r=t;break}if(t._scrollRegionParent){r=t._scrollRegionParent;break}n.push(t),t=nt(t.actualNode.parentElement||t.actualNode.parentNode);}return n.forEach(function(a){return a._scrollRegionParent=r}),r}function Yp(e,t){var r=Ja(t);t.clientRects.forEach(function(n){var a,i=r.reduce(function(s,l){return s&&ko(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 Bl=(function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;Pt(this,e),this.container=t,this.cells=[];}return We(e,[{key:"toGridIndex",value:function(r){return Math.floor(r/tt.gridSize)}},{key:"getCellFromPoint",value:function(r){var n,a,i=r.x,o=r.y;mt(this.boundaries,"Grid does not have cells added");var s=this.toGridIndex(o),l=this.toGridIndex(i);mt(Co({y:s,x:l},this.boundaries),"Element midpoint exceeds the grid bounds");var d=(n=this.cells[s-this.cells._negativeIndex])!==null&&n!==void 0?n:[];return (a=d[l-d._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=Ll(this.boundaries,r)),this.boundaries=r,Zp(this.cells,s,l,function(d,f){Zp(d,i,o,function(g,A){n(g,{row:f,col:A});});});}},{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 c.DOMRect(o,n,a-o,i-n)}}])})();function Zp(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 d,f;(f=e[d=l])!==null&&f!==void 0||(e[d]=[]),n(e[l],l+e._negativeIndex);}}function To(e){Ya();var t=pt(e),r=t.vNode;return r._grid}function Ro(e){var t,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=To(e);if(!(n!=null&&(t=n.cells)!==null&&t!==void 0&&t.length))return [];var a=e.boundingClientRect,i=Do(e),o=n.getGridPositionOfRect(a,r),s=[];return n.loopGridPosition(o,function(l){var d=dt(l),f;try{for(d.s();!(f=d.n()).done;){var g=f.value;g&&g!==e&&!s.includes(g)&&i===Do(g)&&s.push(g);}}catch(A){d.e(A);}finally{d.f();}}),s}var E_=St(function(){var t;if(!m._tree)return null;var r=Vr(m._tree[0],"dialog[open]",function(a){var i=a.boundingClientRect,o=p.elementsFromPoint(i.left+1,i.top+1);return o.includes(a.actualNode)&&cr(a)});if(!r.length)return null;var n=r.find(function(a){var i=a.boundingClientRect,o=p.elementsFromPoint(i.left-10,i.top-10);return o.includes(a.actualNode)});return n||((t=r.find(function(a){var i,o=(i=C_(a))!==null&&i!==void 0?i:{},s=o.vNode,l=o.rect;if(!s)return false;var d=p.elementsFromPoint(l.left+1,l.top+1);return !d.includes(s.actualNode)}))!==null&&t!==void 0?t:null)}),Qp=E_;function C_(e){Ya();var t=m._tree[0]._grid,r=new c.DOMRect(0,0,c.innerWidth,c.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],d=l.boundingClientRect,f=ko(d,r);if(l.props.nodeName!=="html"&&l!==e&&l.getComputedStylePropertyValue("pointer-events")!=="none"&&f)return {vNode:l,rect:f}}}}}function Fo(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.skipAncestors,n=t.isAncestor;return r?em(e,n):tm(e,n)}var em=St(function(t,r){if(t.hasAttr("inert"))return true;if(!r&&t.actualNode){var n=Qp();if(n&&!Jr(n,t))return true}return false}),tm=St(function(t,r){return em(t,r)?true:t.parent?tm(t.parent,true):false}),k_=["button","command","fieldset","keygen","optgroup","option","select","textarea","input"];function S_(e){return k_.includes(e)}function T_(e){var t=pt(e),r=t.vNode;if(S_(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?fn(r):false}var Hl=T_,R_=/^\/\#/,F_=/^#[!/]/;function Vl(e){var t,r=e.getAttribute("href");if(!r||r==="#")return false;if(R_.test(r))return true;var n=e.hash,a=e.protocol,i=e.hostname,o=e.port,s=e.pathname;if(F_.test(n))return false;if(r.charAt(0)==="#")return true;if(typeof((t=c.location)===null||t===void 0?void 0:t.origin)!="string"||c.location.origin.indexOf("://")===-1)return null;var l=c.location.origin+c.location.pathname,d;return i?d="".concat(a,"//").concat(i).concat(o?":".concat(o):""):d=c.location.origin,s?d+=(s[0]!=="/"?"/":"")+s:d+=c.location.pathname,d===l}function I_(e,t){var r=e.getAttribute(t);if(!r||t==="href"&&!Vl(e))return null;r.indexOf("#")!==-1&&(r=decodeURIComponent(r.substr(r.indexOf("#")+1)));var n=p.getElementById(r);return n||(n=p.getElementsByName(r),n.length?n[0]:null)}var $l=I_;function jl(e,t){Ya();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(G){return G.root===i.getRootNode()});)i=i.getRootNode().host;if(a=o.find(function(G){return G.root===i.getRootNode()}).node,a===i)return e.actualNode.getRootNode()!==a.getRootNode()?-1:1}var s=c.Node,l=s.DOCUMENT_POSITION_FOLLOWING,d=s.DOCUMENT_POSITION_CONTAINS,f=s.DOCUMENT_POSITION_CONTAINED_BY,g=a.compareDocumentPosition(i),A=g&l?1:-1,k=g&d||g&f,O=rm(e),V=rm(t);return O===V||k?A:V-O}function rm(e){return e.getComputedStylePropertyValue("display").indexOf("inline")!==-1?2:nm(e)?1:0}function nm(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=nm(e.parent);return e._isFloated=r,r}function zl(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:false,n=Ka(t),a=e.getCellFromPoint(n)||[],i=Math.floor(n.x),o=Math.floor(n.y),s=a.filter(function(d){return d.clientRects.some(function(f){var g=f.left,A=f.top;return i<Math.floor(g+f.width)&&i>=Math.floor(g)&&o<Math.floor(A+f.height)&&o>=Math.floor(A)})}),l=e.container;return l&&(s=zl(l._grid,l.boundingClientRect,true).concat(s)),r||(s=s.sort(jl).map(function(d){return d.actualNode}).concat(p.documentElement).filter(function(d,f,g){return g.indexOf(d)===f})),s}function M_(e){var t=To(e);if(!t)return [];var r=nt(e).boundingClientRect;return zl(t,r)}var am=M_;function P_(e){var t=pr(e,"*"),r=t.filter(function(n){var a=n.isFocusable,i=Hr(n.actualNode.getAttribute("tabindex"));return i!==null?a&&i>=0:a});return r}var im=P_;function L_(e){var t=pt(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 !pr(r,"summary").length}return false}var Gl=L_;function $t(e){var t=pt(e),r=t.vNode;if(r.props.nodeType!==1||Hl(r))return false;if(Gl(r))return true;var n=Hr(r.attr("tabindex"));return n!==null}function xr(e){var t=pt(e),r=t.vNode;if(r.props.nodeType!==1)return false;var n=Hr(r.attr("tabindex"));return n<=-1?false:$t(r)}var Io=St(O_);function O_(e){var t=e.getComputedStylePropertyValue("display"),r=t==="inline"?e.clientRects:[e.boundingClientRect],n=Ro(e).filter(function(i){return Ol(e,i)&&i.getComputedStylePropertyValue("pointer-events")!=="none"&&!N_(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 Nl(r,a)}function N_(e,t){return Jr(e,t)&&!xr(t)}var om=St(q_);function q_(e,t){var r=Io(e);return B_(r,t)}function B_(e,t){return e.reduce(function(r,n){var a=Kr(t,r),i=Kr(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 Za={};_r(Za,{accessibleText:function(){return Rn},accessibleTextVirtual:function(){return Kt},autocomplete:function(){return In},formControlValue:function(){return Nm},formControlValueMethods:function(){return Ql},hasUnicode:function(){return ru},isHumanInterpretable:function(){return au},isIconLigature:function(){return nu},isValidAutocomplete:function(){return zm},label:function(){return hE},labelText:function(){return eu},labelVirtual:function(){return No},nativeElementType:function(){return vE},nativeTextAlternative:function(){return Bm},nativeTextMethods:function(){return qm},removeUnicode:function(){return ai},sanitize:function(){return Je},subtreeText:function(){return hn},titleText:function(){return Po},unsupported:function(){return km},visible:function(){return Gm},visibleTextNodes:function(){return bE},visibleVirtual:function(){return qr}});function H_(e,t){e=e.actualNode||e;try{var r=Qt(e),n=[],a=e.getAttribute(t);if(a){a=nr(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 Or=H_;function V_(e,t){var r=nt(e);return Kt(r,t)}var Rn=V_;function $_(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=pt(e),n=r.vNode;if(n?.props.nodeType!==1||n.props.nodeType!==1||t.inLabelledByContext||t.inControlContext||!n.attr("aria-labelledby"))return "";var a=Or(n,"aria-labelledby").filter(function(i){return i});return a.reduce(function(i,o){var s=Rn(o,Y({inLabelledByContext:true,startNode:t.startNode||n},t));return i?"".concat(i," ").concat(s):s},"")}var Qa=$_;function ei(e){var t=pt(e),r=t.vNode;return r?.props.nodeType!==1?"":r.attr("aria-label")||""}var j_={"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}},sm=j_,z_={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"]}},lm=z_,G_={"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"]}},W_=G_,U_={"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}},X_=U_,J_={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"]}},K_=J_,Y_={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]},Z_=Y_,um={ariaAttrs:sm,ariaRoles:Y({},lm,W_,X_),htmlElms:K_,cssColors:Z_},ta=Y({},um);function Q_(e){Object.keys(ta).forEach(function(t){e[t]&&(ta[t]=Sl(ta[t],e[t]));});}function eD(){Object.keys(ta).forEach(function(e){ta[e]=um[e];});}var ht=ta;function tD(e){var t=ht.ariaRoles[e];return t?!!t.unsupported:false}var Wl=tD;function rD(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=ht.ariaRoles[e],o=Wl(e);return !i||a&&o?false:r?true:i.type!=="abstract"}var ti=rD;function nD(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 Xt?e:nt(e),e.props.nodeType!==1)return null;var i=(e.attr("role")||"").trim().toLowerCase(),o=r?nr(i):[i],s=o.find(function(l){return !a&&l.substr(0,4)==="doc-"?false:ti(l,{allowAbstract:n})});return s||null}var st=nD;function aD(e){return Object.keys(ht.htmlElms).filter(function(t){var r=ht.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 Ul=aD;function iD(){return et.get("globalAriaAttrs",function(){return Object.keys(ht.ariaAttrs).filter(function(e){return ht.ariaAttrs[e].global})})}var pn=iD;function oD(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 d=0;d<i[s].colSpan;d++){for(var f=i[s].getAttribute("rowspan"),g=parseInt(f)===0||i[s].rowspan===0?r.length:i[s].rowSpan,A=0;A<g;A++){for(t[n+A]=t[n+A]||[];t[n+A][o];)o++;t[n+A][o]=i[s];}o++;}}return t}var Yr=St(oD);function sD(e,t){var r,n;for(t||(t=Yr(ea(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=St(sD);function Xl(e){var t=pt(e),r=t.vNode,n=t.domNode,a=r.attr("scope"),i=st(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=Yr(ea(n,"table")),s=Mo(n,o),l=o[s.y].every(function(f){return f.nodeName.toUpperCase()==="TH"});if(l)return "col";var d=o.map(function(f){return f[s.x]}).every(function(f){return f&&f.nodeName.toUpperCase()==="TH"});return d?"row":"auto"}function lD(e){return ["col","auto"].indexOf(Xl(e))!==-1}var ra=lD;function uD(e){return ["row","auto"].includes(Xl(e))}var na=uD;function cD(e){return e?e.replace(/\r\n/g,`
426
- `).replace(/\u00A0/g," ").replace(/[\s]{2,}/g," ").trim():""}var Je=cD,cm=function(){return et.get("sectioningContentSelector",function(){return Ul("sectioning").map(function(t){return "".concat(t,":not([role])")}).join(", ")+" , [role=article], [role=complementary], [role=navigation], [role=region]"})},dm=function(){return et.get("sectioningContentPlusMainSelector",function(){return cm()+" , main:not([role]), [role=main]"})};function Jl(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.checkTitle,n=r===void 0?false:r;return !!(Je(Qa(e))||Je(ei(e))||n&&e?.props.nodeType===1&&Je(e.attr("title")))}var dD={a:function(t){return t.hasAttr("href")?"link":null},area:function(t){return t.hasAttr("href")?"link":null},article:"article",aside:function(t){return ur(t.parent,cm())&&!Jl(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=ur(t,dm());return r?null:"contentinfo"},form:function(t){return Jl(t)?"form":null},h1:"heading",h2:"heading",h3:"heading",h4:"heading",h5:"heading",h6:"heading",header:function(t){var r=ur(t,dm());return r?null:"banner"},hr:"separator",img:function(t){var r=t.hasAttr("alt")&&!t.attr("alt"),n=pn().find(function(a){return t.hasAttr(a)});return r&&!n&&!$t(t)?"presentation":"img"},input:function(t){var r;if(t.hasAttr("list")){var n=Or(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 Jl(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=ur(t,"table"),n=st(r);return ["grid","treegrid"].includes(n)?"gridcell":"cell"},textarea:"textbox",tfoot:"rowgroup",th:function(t){if(ra(t))return "columnheader";if(na(t))return "rowheader"},thead:"rowgroup",tr:"row",ul:"list"},Kl=dD;function fD(e,t){var r=ye(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 Fn=fD;function pD(e,t){return Fn(!!Kt(e),t)}var fm=pD;function mD(e,t){var r=ye(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 Fn(e(n),t[n])})}var Yl=mD;function hD(e,t){return e=pt(e).vNode,Yl(function(r){return e.attr(r)},t)}var pm=hD;function mm(e,t){return !!t(e)}function gD(e,t){return Fn(st(e),t)}var hm=gD;function vD(e,t){return Fn(Nr(e),t)}var gm=vD;function bD(e,t){return e=pt(e).vNode,Fn(e.props.nodeName,t)}var vm=bD;function yD(e,t){return e=pt(e).vNode,Yl(function(r){return e.props[r]},t)}var bm=yD;function wD(e,t){return Fn(rt(e),t)}var ym=wD,wm={hasAccessibleName:fm,attributes:pm,condition:mm,explicitRole:hm,implicitRole:gm,nodeName:vm,properties:bm,semanticRole:ym};function xm(e,t){return e=pt(e).vNode,Array.isArray(t)?t.some(function(r){return xm(e,r)}):typeof t=="string"?vl(e,t):Object.keys(t).every(function(r){if(!wm[r])throw new Error('Unknown matcher type "'.concat(r,'"'));var n=wm[r],a=t[r];return n(e,a)})}var Am=xm;function xD(e,t){return Am(e,t)}var dr=xD;dr.hasAccessibleName=fm,dr.attributes=pm,dr.condition=mm,dr.explicitRole=hm,dr.fromDefinition=Am,dr.fromFunction=Yl,dr.fromPrimative=Fn,dr.implicitRole=gm,dr.nodeName=vm,dr.properties=bm,dr.semanticRole=ym;var ri=dr;function AD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.noMatchAccessibleName,n=r===void 0?false:r,a=ht.htmlElms[e.props.nodeName];if(!a)return {};if(!a.variant)return a;var i=a.variant,o=ne(a,T);for(var s in i)if(!(!i.hasOwnProperty(s)||s==="default")){for(var l=i[s],d=l.matches,f=ne(l,I),g=Array.isArray(d)?d:[d],A=0;A<g.length&&n;A++)if(g[A].hasOwnProperty("hasAccessibleName"))return a;if(ri(e,d))for(var k in f)f.hasOwnProperty(k)&&(o[k]=f[k]);}for(var O in i.default)i.default.hasOwnProperty(O)&&typeof o[O]>"u"&&(o[O]=i.default[O]);return o}var mn=AD;function _D(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.chromium,n=e instanceof Xt?e:nt(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=Kl[a];if(!i&&r){var o=mn(n),s=o.chromiumRole;return s||null}return typeof i=="function"?i(n):i||null}var Nr=_D,DD={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 _m(e,t){var r=DD[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=st(e.parent,t);return ["none","presentation"].includes(n)&&!Em(e.parent)?n:n?null:_m(e.parent,t)}function Dm(e,t){var r=t.chromium,n=ne(t,B),a=Nr(e,{chromium:r});if(!a)return null;var i=_m(e,n);return i||a}function Em(e){var t=pn().some(function(r){return e.hasAttr(r)});return t||$t(e)}function ED(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.noImplicit,n=ne(t,F),a=pt(e),i=a.vNode;if(i.props.nodeType!==1)return null;var o=st(i,n);return o?["presentation","none"].includes(o)&&Em(i)?r?null:Dm(i,n):o:r?null:Dm(i,n)}function CD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.noPresentational,n=ne(t,$),a=ED(e,n);return r&&["presentation","none"].includes(a)?null:a}var rt=CD,kD=["iframe"];function SD(e){var t=pt(e),r=t.vNode;return r.props.nodeType!==1||!e.hasAttr("title")||!dr(r,kD)&&["none","presentation"].includes(rt(r))?"":r.attr("title")}var Po=SD;function TD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.strict;if(e=e instanceof Xt?e:nt(e),e.props.nodeType!==1)return false;var n=rt(e),a=ht.ariaRoles[n];return a&&a.nameFromContent?true:r?false:!a||["presentation","none"].includes(n)}var Cm=TD;function RD(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=Or(t,"aria-owns").filter(function(o){return !!o}).map(function(o){return m.utils.getNodeFromTree(o)}),a=n.filter(function(o,s){return n.indexOf(o)===s}),i=r.filter(function(o){return !a.includes(o)});return [].concat(ie(i),ie(a))}return ie(r)}var ni=RD,km={accessibleNameFromFieldValue:["progressbar"]};function Lt(e){return e=pt(e).vNode,Zl(e)}var Zl=St(function(t,r){return Tp(t)||Fo(t,{skipAncestors:true,isAncestor:r})?false:t.actualNode&&t.props.nodeName==="area"?!Il(t,Zl):fn(t,{skipAncestors:true,isAncestor:r})?false:t.parent?Zl(t.parent,true):true});function Sm(e,t,r){var n=pt(e),a=n.vNode,i=t?Lt:cr,o=!e.actualNode||e.actualNode&&i(e),s=a.children.map(function(l){var d=l.props,f=d.nodeType,g=d.nodeValue;if(f===3){if(g&&o)return g}else if(!r)return Sm(l,t)}).join("");return Je(s)}var qr=Sm,FD=["button","checkbox","color","file","hidden","image","password","radio","reset","submit"];function ID(e){e=e instanceof Xt?e:nt(e);var t=e.props.nodeName;return t==="textarea"||t==="input"&&!FD.includes((e.attr("type")||"").toLowerCase())}var Tm=ID;function MD(e){e=e instanceof Xt?e:nt(e);var t=e.props.nodeName;return t==="select"}var Rm=MD;function PD(e){var t=st(e);return t==="textbox"}var Fm=PD;function LD(e){var t=st(e);return t==="listbox"}var Im=LD;function OD(e){var t=st(e);return t==="combobox"}var Mm=OD,ND=["progressbar","scrollbar","slider","spinbutton"];function qD(e){var t=st(e);return ND.includes(t)}var Pm=qD,Lm=["textbox","progressbar","scrollbar","slider","spinbutton","combobox","listbox"],Ql={nativeTextboxValue:HD,nativeSelectValue:VD,ariaTextboxValue:$D,ariaListboxValue:Om,ariaComboboxValue:jD,ariaRangeValue:zD};function BD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=e.actualNode,n=km.accessibleNameFromFieldValue||[],a=rt(e);if(t.startNode===e||!Lm.includes(a)||n.includes(a))return "";var i=Object.keys(Ql).map(function(s){return Ql[s]}),o=i.reduce(function(s,l){return s||l(e,t)},"");return t.debug&&kn(o||"{empty-value}",r,t),o}function HD(e){var t=pt(e),r=t.vNode;return Tm(r)&&r.props.value||""}function VD(e){var t=pt(e),r=t.vNode;if(!Rm(r))return "";var n=pr(r,"option"),a=n.filter(function(i){return i.props.selected});return a.length||a.push(n[0]),a.map(function(i){return qr(i)}).join(" ")||""}function $D(e){var t=pt(e),r=t.vNode,n=t.domNode;return Fm(r)?!n||n&&!fn(n)?qr(r,true):n.textContent:""}function Om(e,t){var r=pt(e),n=r.vNode;if(!Im(n))return "";var a=ni(n).filter(function(i){return rt(i)==="option"&&i.attr("aria-selected")==="true"});return a.length===0?"":Kt(a[0],t)}function jD(e,t){var r=pt(e),n=r.vNode;if(!Mm(n))return "";var a=ni(n).filter(function(i){return rt(i)==="listbox"})[0];return a?Om(a,t):""}function zD(e){var t=pt(e),r=t.vNode;if(!Pm(r)||!r.hasAttr("aria-valuenow"))return "";var n=+r.attr("aria-valuenow");return isNaN(n)?"0":String(n)}var Nm=BD;function GD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=Kt.alreadyProcessed;t.startNode=t.startNode||e;var n=t,a=n.strict,i=n.inControlContext,o=n.inLabelledByContext,s=rt(e),l=mn(e,{noMatchAccessibleName:true}),d=l.contentTypes;if(r(e,t)||e.props.nodeType!==1||d!=null&&d.includes("embedded")||Lm.includes(s)||!t.subtreeDescendant&&!t.inLabelledByContext&&!Cm(e,{strict:a}))return "";if(!a){var f=!i&&!o;t=Y({subtreeDescendant:f},t);}return ni(e).reduce(function(g,A){return UD(g,A,t)},"")}var WD=Ul("phrasing").concat(["#text"]);function UD(e,t,r){var n=t.props.nodeName,a=Kt(t,r);return a?(WD.includes(n)||(a[0]!==" "&&(a+=" "),e&&e[e.length-1]!==" "&&(a=" "+a)),e+a):e}var hn=GD;function XD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=Kt.alreadyProcessed;if(t.inControlContext||t.inLabelledByContext||r(e,t))return "";t.startNode||(t.startNode=e);var n=Y({inControlContext:true},t),a=JD(e),i=ur(e,"label"),o;return i?(o=[].concat(ie(a),[i.actualNode]),o.sort(Su)):o=a,o.map(function(s){return Rn(s,n)}).filter(function(s){return s!==""}).join(" ")}function JD(e){if(!e.attr("id"))return [];if(!e.actualNode)throw new TypeError("Cannot resolve explicit label reference for non-DOM nodes");return _p({elm:"label",attr:"for",value:e.attr("id"),context:e.actualNode})}var eu=XD,KD={submit:"Submit",image:"Submit",reset:"Reset",button:""},YD={valueText:function(t){return t.props.value||""},buttonDefaultText:function(t){return KD[t.props.type]||""},tableCaptionText:Lo.bind(null,"caption"),figureText:Lo.bind(null,"figcaption"),svgTitleText:Lo.bind(null,"title"),fieldsetLegendText:Lo.bind(null,"legend"),altText:tu.bind(null,"alt"),tableSummaryText:tu.bind(null,"summary"),titleText:Po,subtreeText:hn,labelText:eu,singleSpace:function(){return " "},placeholderText:tu.bind(null,"placeholder")};function tu(e,t){return t.attr(e)||""}function Lo(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?"":Rn(i,r)}var qm=YD;function Bm(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=e.actualNode;if(e.props.nodeType!==1||["presentation","none"].includes(rt(e)))return "";var n=ZD(e),a=n.reduce(function(i,o){return i||o(e,t)},"");return t.debug&&m.log(a||"{empty-value}",r,t),a}function ZD(e){var t=mn(e,{noMatchAccessibleName:true}),r=t.namingMethods||[];return r.map(function(n){return qm[n]})}function Hm(){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 Vm(){return /[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&\xa3\xa2\xa5\xa7\u20ac()*+,\-.\/:;<=>?@\[\]^_`{|}~\xb1]/g}function $m(){return /[\uDB80-\uDBBF][\uDC00-\uDFFF]/g}function jm(){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 QD(e,t){var r=t.emoji,n=t.nonBmp,a=t.punctuations,i=false;return r&&(i||(i=js().test(e))),n&&(i||(i=Hm().test(e)||$m().test(e)||jm().test(e))),a&&(i||(i=Vm().test(e))),i}var ru=QD;function nu(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(!Je(n)||ru(n,{emoji:true,nonBmp:true}))return false;var a=et.get("canvasContext",function(){return p.createElement("canvas").getContext("2d",{willReadFrequently:true})}),i=a.canvas,o=et.get("fonts",function(){return {}}),s=c.getComputedStyle(e.parent.actualNode),l=s.getPropertyValue("font-family");o[l]||(o[l]={occurrences:0,numLigatures:0});var d=o[l];if(d.occurrences>=r){if(d.numLigatures/d.occurrences===1)return true;if(d.numLigatures===0)return false}d.occurrences++;var f=30,g="".concat(f,"px ").concat(l);a.font=g;var A=n.charAt(0),k=a.measureText(A).width;if(k===0)return d.numLigatures++,true;if(k<30){var O=30/k;k*=O,f*=O,g="".concat(f,"px ").concat(l);}i.width=k,i.height=f,a.font=g,a.textAlign="left",a.textBaseline="top",a.fillText(A,0,0);var V=new Uint32Array(a.getImageData(0,0,k,f).data.buffer);if(!V.some(function(ce){return ce}))return d.numLigatures++,true;a.clearRect(0,0,k,f),a.fillText(n,0,0);var G=new Uint32Array(a.getImageData(0,0,k,f).data.buffer),U=V.reduce(function(ce,ge,we){return ge===0&&G[we]===0||ge!==0&&G[we]!==0?ce:++ce},0),X=n.split("").reduce(function(ce,ge){return ce+a.measureText(ge).width},0),te=a.measureText(n).width,re=U/V.length,ae=1-te/X;return re>=t&&ae>=t?(d.numLigatures++,true):false}function Kt(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(t=nE(e,t),tE(e,t)||rE(e,t))return "";var r=[Qa,ei,Bm,Nm,hn,eE,Po],n=r.reduce(function(a,i){return t.startNode===e&&(a=Je(a)),a!==""?a:i(e,t)},"");return t.debug&&m.log(n||"{empty-value}",e.actualNode,t),n}function eE(e){return e.props.nodeType!==3?"":e.props.nodeValue}function tE(e,t){return !e||e.props.nodeType!==1||t.includeHidden?false:!Lt(e)}function rE(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:nu(e,a,i)}function nE(e,t){return t.startNode||(t=Y({startNode:e},t)),e.props.nodeType===1&&t.inLabelledByContext&&t.includeHidden===void 0&&(t=Y({includeHidden:!Lt(e)},t)),t}Kt.alreadyProcessed=function(t,r){return r.processed=r.processed||[],r.processed.includes(t)?true:(r.processed.push(t),false)};function aE(e,t){var r=t.emoji,n=t.nonBmp,a=t.punctuations;return r&&(e=e.replace(js(),"")),n&&(e=e.replace(Hm(),"").replace($m(),"").replace(jm(),"")),a&&(e=e.replace(Vm(),"")),e}var ai=aE;function iE(e){return oE(e)||sE(e)||lE(e)||uE(e)?0:1}function oE(e){return Je(e).length===0}function sE(e){return e.length===1&&e.match(/\D/)}function lE(e){var t=["aa","abc"];return t.includes(e.toLowerCase())}function uE(e){var t=ai(e,{emoji:true,nonBmp:true,punctuations:true});return !Je(t)}var au=iE,In={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 cE(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,d=l===void 0?[]:l,f=t.standaloneTerms,g=f===void 0?[]:f,A=t.qualifiedTerms,k=A===void 0?[]:A,O=t.ignoredValues,V=O===void 0?[]:O;if(e=e.toLowerCase().trim(),i=i.concat(In.stateTerms),i.includes(e)||e==="")return true;d=d.concat(In.qualifiers),s=s.concat(In.locations),g=g.concat(In.standaloneTerms),k=k.concat(In.qualifiedTerms);var G=e.split(/\s+/g);if(G[G.length-1]==="webauthn"&&(G.pop(),G.length===0)||!n&&(G[0].length>8&&G[0].substr(0,8)==="section-"&&G.shift(),s.includes(G[0])&&G.shift(),d.includes(G[0])&&(G.shift(),g=[]),G.length!==1))return false;var U=G[G.length-1];if(!V.includes(U))return g.includes(U)||k.includes(U)}var zm=cE;function dE(e){var t,r;return e.attr("aria-labelledby")&&(t=Or(e.actualNode,"aria-labelledby"),r=t.map(function(n){var a=nt(n);return a?qr(a):""}).join(" ").trim(),r)||(r=e.attr("aria-label"),r&&(r=Je(r),r))?r:null}var Oo=dE;function fE(e,t,r){return e=nt(e),qr(e,t,r)}var Gm=fE;function pE(e){var t,r,n;if(r=Oo(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=qt(e.attr("id"));if(n=Qt(e.actualNode),t=n.querySelector('label[for="'+a+'"]'),r=t&&Gm(t,true),r)return r}return t=ur(e,"label"),r=t&&qr(t,true),r||null}var No=pE;function mE(e){return e=nt(e),No(e)}var hE=mE,gE=[{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"]}],vE=gE;function Wm(e){var t=cr(e),r=[];return e.children.forEach(function(n){n.actualNode.nodeType===3?t&&r.push(n):r=r.concat(Wm(n));}),r}var bE=Wm,yE=St(function(t){var r=nt(t),n=r.boundingClientRect,a=[],i=Ja(r);return t.childNodes.forEach(function(o){if(!(o.nodeType!==3||Je(o.nodeValue)==="")){var s=wE(o);xE(s,n)||a.push.apply(a,ie(Um(s,i)));}}),a.length?a:Um([n],i)}),iu=yE;function wE(e){var t=p.createRange();return t.selectNodeContents(e),Array.from(t.getClientRects())}function xE(e,t){return e.some(function(r){var n=Ka(r);return !Co(n,t)})}function Um(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&&ko(i,o.boundingClientRect)},n);a&&r.push(a);}}),r}function AE(e){var t=To(e);if(!t)return [];var r=iu(e);return r.map(function(n){return zl(t,n)})}var ou=AE,_E=["checkbox","img","meter","progressbar","scrollbar","radio","slider","spinbutton","textbox"];function DE(e){var t=pt(e),r=t.vNode,n=m.commons.aria.getExplicitRole(r);if(n)return _E.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 su=DE,EE=["head","title","template","script","style","iframe","object","video","audio","noscript"];function qo(e){return EE.includes(e.props.nodeName)?false:e.children.some(function(t){var r=t.props;return r.nodeType===3&&r.nodeValue.trim()})}function Xm(e,t,r){return qo(e)||su(e.actualNode)||!r&&!!Oo(e)||!t&&e.children.some(function(n){return n.actualNode.nodeType===1&&Xm(n)})}var ii=Xm;function CE(e,t,r){return e=nt(e),ii(e,t,r)}var Bo=CE;function lu(e){return typeof e.children>"u"||qo(e)?true:e.props.nodeType===1&&su(e)?!!m.commons.text.accessibleTextVirtual(e):e.children.some(function(t){return !t.attr("lang")&&lu(t)&&!fn(t)})}function kE(e){var t=Hr(e.getAttribute("tabindex"));return t>-1&&$t(e)&&!Gl(e)}var Jm=kE;function Km(e,t){var r=pt(e),n=r.vNode,a=r.domNode;return n?(n._isHiddenWithCSS===void 0&&(n._isHiddenWithCSS=Ym(a,t)),n._isHiddenWithCSS):Ym(a,t)}function Ym(e,t){if(e.nodeType===9||(e.nodeType===11&&(e=e.host),["STYLE","SCRIPT"].includes(e.nodeName.toUpperCase())))return false;var r=c.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=Jt(e);return o&&!a.includes(i)?Km(o,i):false}var SE=Km;function TE(e){var t=e.doctype;return t===null?false:t.name==="html"&&!t.publicId&&!t.systemId}var Zm=TE;function RE(e){var t;(e instanceof Xt||(t=c)!==null&&t!==void 0&&t.Node&&e instanceof c.Node)&&(e=m.commons.aria.getRole(e));var r=ht.ariaRoles[e];return r?.type||null}var Rr=RE,FE=["block","list-item","table","flex","grid"],IE=["inline-block","inline-flex","inline-grid"];function ME(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=pt(e),o=i.vNode,s=i.domNode;if(cu(s)||!a&&PE(o))return false;var l=LE(s),d="",f="",g=0;return Qm(l,function(A){if(A===l.actualNode)return true;if(g===2)return false;if(A.nodeType===3&&(d+=A.nodeValue),A.nodeType===1){var k=(A.nodeName||"").toUpperCase();A===s&&(g=1);var O=cu(A);if((O||["BR","HR"].includes(k))&&(g===0?(d="",f=""):g=2),O||A.style.display==="none"||A.style.overflow==="hidden"||!["",null,"none"].includes(A.style.float)||!["",null,"relative"].includes(A.style.position))return false;if(Rr(A)==="widget")return f+=A.textContent,false}}),d=Je(d),r?d.length!==0:(f=Je(f),d.length>f.length)}var uu=ME;function cu(e){var t=pt(e),r=t.vNode,n=r.getComputedStylePropertyValue("display");return FE.includes(n)||n.substr(0,6)==="table-"}function PE(e){var t=e.getComputedStylePropertyValue("display");return IE.includes(t)}function Qm(e,t){t(e.actualNode)!==false&&e.children.forEach(function(r){return Qm(r,t)});}function LE(e){for(var t=Jt(e);t&&!cu(t);)t=Jt(t);return nt(t)}function OE(e){e=e||{};var t=e.modalPercent||.75;if(et.get("isModalOpen"))return et.get("isModalOpen");var r=Vr(m._tree[0],"dialog, [role=dialog], [aria-modal=true]",cr);if(r.length)return et.set("isModalOpen",true),true;for(var n=_o(c),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}],d=l.map(function(k){return Array.from(p.elementsFromPoint(k.x,k.y))}),f=function(){var O=d[A].find(function(V){var G=c.getComputedStyle(V);return parseInt(G.width,10)>=a&&parseInt(G.height,10)>=i&&G.getPropertyValue("pointer-events")!=="none"&&(G.position==="absolute"||G.position==="fixed")});if(O&&d.every(function(V){return V.includes(O)}))return et.set("isModalOpen",true),{v:true}},g,A=0;A<d.length;A++)if(g=f(),g)return g.v;et.set("isModalOpen",void 0);}var oi=OE;function eh(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=dt(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 NE(e){return e instanceof c.Node}var qE=NE,du="color.incompleteData",BE={set:function(t,r){if(typeof t!="string")throw new Error("Incomplete data: key must be a string");var n=et.get(du,function(){return {}});return r&&(n[t]=r),n[t]},get:function(t){var r=et.get(du);return r?.[t]},clear:function(){et.set(du,{});}},Tt=BE;function HE(e,t){var r=["IMG","CANVAS","OBJECT","IFRAME","VIDEO","SVG"],n=e.nodeName.toUpperCase();if(r.includes(n))return Tt.set("bgColor","imgNode"),true;t=t||c.getComputedStyle(e);var a=t.getPropertyValue("background-image"),i=a!=="none";if(i){var o=/gradient/.test(a);Tt.set("bgColor",o?"bgGradient":"bgImage");}return i}var Ho=HE,VE=/^#[0-9a-f]{3,8}$/i,$E=/hsl\(\s*([-\d.]+)(rad|turn)/,si=(Ge=new WeakMap,ct=new WeakMap,gt=new WeakMap,Dt=new WeakMap,bt=new WeakMap,lt=new WeakMap,it=new WeakSet,(function(){function e(t,r,n){var a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(Pt(this,e),Be(this,it),pe(this,Ge,void 0),pe(this,ct,void 0),pe(this,gt,void 0),pe(this,Dt,void 0),pe(this,bt,void 0),pe(this,lt,void 0),t instanceof si){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 We(e,[{key:"r",get:function(){return ze(Ge,this)},set:function(r){ft(Ge,this,r),ft(Dt,this,Math.round(aa(r,0,1)*255));}},{key:"g",get:function(){return ze(ct,this)},set:function(r){ft(ct,this,r),ft(bt,this,Math.round(aa(r,0,1)*255));}},{key:"b",get:function(){return ze(gt,this)},set:function(r){ft(gt,this,r),ft(lt,this,Math.round(aa(r,0,1)*255));}},{key:"red",get:function(){return ze(Dt,this)},set:function(r){ft(Ge,this,r/255),ft(Dt,this,aa(r,0,255));}},{key:"green",get:function(){return ze(bt,this)},set:function(r){ft(ct,this,r/255),ft(bt,this,aa(r,0,255));}},{key:"blue",get:function(){return ze(lt,this)},set:function(r){ft(gt,this,r/255),ft(lt,this,aa(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($E,function(i,o,s){var l=o+s;switch(s){case "rad":return i.replace(l,zE(o));case "turn":return i.replace(l,GE(o))}});try{var n;"Prototype"in c&&"Version"in c.Prototype&&(n=Array.from,Array.from=Wf.default);var a=new Et(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 Tt.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(VE)||[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 It(it,this,jE).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 si(this),a=[{name:"r",value:n.r},{name:"g",value:n.g},{name:"b",value:n.b}],i=a.sort(function(f,g){return f.value-g.value}),o=Se(i,3),s=o[0],l=o[1],d=o[2];return d.value>s.value?(l.value=(l.value-s.value)*r/(d.value-s.value),d.value=r):l.value=d.value=0,s.value=0,n[d.name]=d.value,n[s.name]=s.value,n[l.name]=l.value,n}},{key:"clip",value:function(){var r=new si(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 jE(e){var t=new si(this);return t.r+=e,t.g+=e,t.b+=e,t}var Ot=si;function aa(e,t,r){return Math.min(Math.max(t,e),r)}function zE(e){return e*180/Math.PI}function GE(e){return e*360}function WE(e){var t=new Ot;if(t.parseString(e.getPropertyValue("background-color")),t.alpha!==0){var r=e.getPropertyValue("opacity");t.alpha=t.alpha*r;}return t}var Mn=WE;function UE(e){var t=c.getComputedStyle(e);return Ho(e,t)||Mn(t).alpha===1}var XE=UE;function fu(e){if(!e.href)return false;var t=et.get("firstPageLink",JE);return t?e.compareDocumentPosition(t.actualNode)===e.DOCUMENT_POSITION_FOLLOWING:true}function JE(){var e;return c.location.origin?e=pr(m._tree,'a[href]:not([href^="javascript:"])').find(function(t){return !Vl(t.actualNode)}):e=pr(m._tree,'a:not([href^="#"]):not([href^="/#"]):not([href^="javascript:"])')[0],e||null}var KE=/rect\s*\(([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px\s*\)/,YE=/(\w+)\((\d+)/;function ZE(e){var t=e.getPropertyValue("clip").match(KE),r=e.getPropertyValue("clip-path").match(YE);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 QE(e,t,r){var n=ea(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=pr(m._tree,'img[usemap="#'.concat(qt(a),'"]'));return !o||!o.length?false:o.some(function(s){var l=s.actualNode;return Vo(l,t,r)})}function Vo(e,t,r){var n;if(!e)throw new TypeError("Cannot determine if element is visible for non-DOM nodes");var a=e instanceof Xt?e:nt(e);e=a?a.actualNode:e;var i="_isVisible"+(t?"ScreenReader":""),o=(n=c.Node)!==null&&n!==void 0?n:{},s=o.DOCUMENT_NODE,l=o.DOCUMENT_FRAGMENT_NODE,d=a?a.props.nodeType:e.nodeType,f=a?a.props.nodeName:e.nodeName.toLowerCase();if(a&&typeof a[i]<"u")return a[i];if(d===s)return true;if(["style","script","noscript","template"].includes(f))return false;if(e&&d===l&&(e=e.host),t){var g=a?a.attr("aria-hidden"):e.getAttribute("aria-hidden");if(g==="true")return false}if(!e){var A=a.parent,k=true;return A&&(k=Vo(A,t,true)),a&&(a[i]=k),k}var O=c.getComputedStyle(e,null);if(O===null)return false;if(f==="area")return QE(e,t,r);if(O.getPropertyValue("display")==="none")return false;var V=parseInt(O.getPropertyValue("height")),G=parseInt(O.getPropertyValue("width")),U=Zr(e),X=U&&V===0,te=U&&G===0,re=O.getPropertyValue("position")==="absolute"&&(V<2||G<2)&&O.getPropertyValue("overflow")==="hidden";if(!t&&(ZE(O)||O.getPropertyValue("opacity")==="0"||X||te||re)||!r&&(O.getPropertyValue("visibility")==="hidden"||!t&&Eo(e)))return false;var ae=e.assignedSlot?e.assignedSlot:e.parentNode,ce=false;return ae&&(ce=Vo(ae,t,true)),a&&(a[i]=ce),ce}var eC=Vo;function tC(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=c.getComputedStyle(o);if(!a&&r.indexOf(s.position)!==-1){n=[];continue}n.push(o);}return n}var th=tC;function rh(e,t){var r=nh(t);do{var n=nh(e);if(n===r||n===t)return rC(e,t);e=n;}while(e);return false}function nh(e){for(var t=nt(e),r=t.parent;r;){if(Zr(r.actualNode))return r.actualNode;r=r.parent;}}function rC(e,t){var r=c.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 c.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 ah(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:p,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(Ao(i)){var o=ah(e,t,i.shadowRoot,n+1);a=a.concat(o),a.length&&rh(a[0],i)&&a.push(i);}else a.push(i);return a},[])}var nC=ah;function aC(e,t){if(e.hasAttribute(t)){var r=e.nodeName.toUpperCase(),n=e;(!["A","AREA"].includes(r)||e.ownerSVGElement)&&(n=p.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=oC(i),s=o.pathname,l=o.filename;return {protocol:a,hostname:n.hostname,port:iC(n.port),pathname:/\/$/.test(s)?s:"".concat(s,"/"),search:sC(n.search),hash:lC(n.hash),filename:l}}}function iC(e){var t=["443","80"];return t.includes(e)?"":e}function oC(e){var t=e.split("/").pop();return !t||t.indexOf(".")===-1?{pathname:e,filename:""}:{pathname:e.replace(t,""),filename:/index./.test(t)?"":t}}function sC(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=Se(i,2),s=o[0],l=o[1],d=l===void 0?"":l;t[decodeURIComponent(s)]=decodeURIComponent(d);}return t}function lC(e){if(!e)return "";var t=/#!?\/?/g,r=e.match(t);if(!r)return "";var n=Se(r,1),a=n[0];return a==="#"?"":e}var uC=aC;function cC(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=c.getComputedStyle(t);return e.left>r.right||e.top>r.bottom?o.overflow==="scroll"||o.overflow==="auto"||t instanceof c.HTMLBodyElement||t instanceof c.HTMLHtmlElement:true}var pu=cC,ih=0,dC=(function(e){function t(r,n,a){var i;if(Pt(this,t),i=fe(this,t),i.shadowId=a,i.children=[],i.actualNode=r,i.parent=n,n||(ih=0),i.nodeIndex=ih++,i._isHidden=null,i._cache={},i._isXHTML=Ha(r.ownerDocument),r.nodeName.toLowerCase()==="input"){var o=r.getAttribute("type");o=i._isXHTML?o:(o||"").toLowerCase(),Zo().includes(o)||(o="text"),i._type=o;}return et.get("nodeMap")&&et.get("nodeMap").set(r,i),i}return K(t,e),We(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 c.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=c.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=$t(this.actualNode)),this._cache.isFocusable}},{key:"tabbableElements",get:function(){return this._cache.hasOwnProperty("tabbableElements")||(this._cache.tabbableElements=im(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}}])})(Xt),mu=dC;function fC(e){return (e||"").trim().replace(/\s{2,}/g," ").split(" ")}var nr=fC,Pn=" [idsMap]";function oh(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 sh(l)}))return;var o=new Set;t.forEach(function(l){var d,f=pC(l,n,a);f==null||(d=f.nodes)===null||d===void 0||d.forEach(function(g){f.isComplexSelector&&!Jn(g,l)||o.add(g);});});var s=[];return o.forEach(function(l){return s.push(l)}),r&&(s=s.filter(r)),s.sort(function(l,d){return l.nodeIndex-d.nodeIndex})}}function pC(e,t,r){var n=e[e.length-1],a=null,i=e.length>1||!!n.pseudos||!!n.classes;if(sh(n))a=t["*"];else {if(n.id){var o;if(!t[Pn]||!Object.hasOwn(t[Pn],n.id)||!((o=t[Pn][n.id])!==null&&o!==void 0&&o.length))return;a=t[Pn][n.id].filter(function(V){return V.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?hu(l,a):l;}if(n.classes){var d;if(!((d=t["[class]"])!==null&&d!==void 0&&d.length))return;var f=t["[class]"];a=a?hu(f,a):f;}if(n.attributes)for(var g=0;g<n.attributes.length;g++){var A,k=n.attributes[g];if(k.type==="attrValue"&&(i=true),!((A=t["[".concat(k.key,"]")])!==null&&A!==void 0&&A.length))return;var O=t["[".concat(k.key,"]")];a=a?hu(O,a):O;}}return {nodes:a,isComplexSelector:i}}function sh(e){return e.tag==="*"&&!e.attributes&&!e.id&&!e.classes}function hu(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 lh(e,t){e.props.nodeType===1&&($o(e.props.nodeName,e,t),$o("*",e,t),e.attrNames.forEach(function(r){r==="id"&&(t[Pn]=t[Pn]||{},nr(e.attr(r)).forEach(function(n){$o(n,e,t[Pn]);})),$o("[".concat(r,"]"),e,t);}));}var gu;function vu(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:p.documentElement,t=arguments.length>1?arguments[1]:void 0;gu=false;var r={};et.set("nodeMap",new WeakMap),et.set("selectorMap",r);var n=uh(e,t,null);return n[0]._selectorMap=r,n[0]._hasShadowRoot=gu,n}function mC(e){var t=[];for(e=e.firstChild;e;)t.push(e),e=e.nextSibling;return t}function bu(e,t,r){var n=new mu(e,t,r);return lh(n,et.get("selectorMap")),n}function jo(e,t,r){var n=[];return e.forEach(function(a){var i=uh(a,r,t);i&&n.push.apply(n,ie(i));}),n}function uh(e,t,r){var n,a;e.documentElement&&(e=e.documentElement);var i=e.nodeName.toLowerCase();if(Ao(e))return gu=true,n=bu(e,r,t),t="a"+Math.random().toString().substring(2),a=Array.from(e.shadowRoot.childNodes),n.children=jo(a,n,t),[n];if(i==="content"&&typeof e.getDistributedNodes=="function")return a=Array.from(e.getDistributedNodes()),jo(a,r,t);if(i==="slot"&&typeof e.assignedNodes=="function"){a=Array.from(e.assignedNodes()),a.length||(a=mC(e));c.getComputedStyle(e);return jo(a,r,t)}if(e.nodeType===p.ELEMENT_NODE)return n=bu(e,r,t),a=Array.from(e.childNodes),n.children=jo(a,n,t),[n];if(e.nodeType===p.TEXT_NODE)return [bu(e,r)]}function hC(e){return e?e.trim().split("-")[0].toLowerCase():""}var Ln=hC;function gC(e){var t={};return t.none=e.none.concat(e.all),t.any=e.any,Object.keys(t).map(function(r){if(t[r].length){var n=m._audit.data.failureSummaries[r];if(n&&typeof n.failureMessage=="function")return n.failureMessage(t[r].map(function(a){return a.message||""}))}}).filter(function(r){return r!==void 0}).join(`
426
+ `).replace(/\u00A0/g," ").replace(/[\s]{2,}/g," ").trim():""}var Je=cD,cm=function(){return et.get("sectioningContentSelector",function(){return Ul("sectioning").map(function(t){return "".concat(t,":not([role])")}).join(", ")+" , [role=article], [role=complementary], [role=navigation], [role=region]"})},dm=function(){return et.get("sectioningContentPlusMainSelector",function(){return cm()+" , main:not([role]), [role=main]"})};function Jl(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.checkTitle,n=r===void 0?false:r;return !!(Je(Qa(e))||Je(ei(e))||n&&e?.props.nodeType===1&&Je(e.attr("title")))}var dD={a:function(t){return t.hasAttr("href")?"link":null},area:function(t){return t.hasAttr("href")?"link":null},article:"article",aside:function(t){return ur(t.parent,cm())&&!Jl(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=ur(t,dm());return r?null:"contentinfo"},form:function(t){return Jl(t)?"form":null},h1:"heading",h2:"heading",h3:"heading",h4:"heading",h5:"heading",h6:"heading",header:function(t){var r=ur(t,dm());return r?null:"banner"},hr:"separator",img:function(t){var r=t.hasAttr("alt")&&!t.attr("alt"),n=pn().find(function(a){return t.hasAttr(a)});return r&&!n&&!$t(t)?"presentation":"img"},input:function(t){var r;if(t.hasAttr("list")){var n=Or(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 Jl(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=ur(t,"table"),n=st(r);return ["grid","treegrid"].includes(n)?"gridcell":"cell"},textarea:"textbox",tfoot:"rowgroup",th:function(t){if(ra(t))return "columnheader";if(na(t))return "rowheader"},thead:"rowgroup",tr:"row",ul:"list"},Kl=dD;function fD(e,t){var r=ye(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 Fn=fD;function pD(e,t){return Fn(!!Kt(e),t)}var fm=pD;function mD(e,t){var r=ye(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 Fn(e(n),t[n])})}var Yl=mD;function hD(e,t){return e=pt(e).vNode,Yl(function(r){return e.attr(r)},t)}var pm=hD;function mm(e,t){return !!t(e)}function gD(e,t){return Fn(st(e),t)}var hm=gD;function vD(e,t){return Fn(Nr(e),t)}var gm=vD;function bD(e,t){return e=pt(e).vNode,Fn(e.props.nodeName,t)}var vm=bD;function yD(e,t){return e=pt(e).vNode,Yl(function(r){return e.props[r]},t)}var bm=yD;function wD(e,t){return Fn(rt(e),t)}var ym=wD,wm={hasAccessibleName:fm,attributes:pm,condition:mm,explicitRole:hm,implicitRole:gm,nodeName:vm,properties:bm,semanticRole:ym};function xm(e,t){return e=pt(e).vNode,Array.isArray(t)?t.some(function(r){return xm(e,r)}):typeof t=="string"?vl(e,t):Object.keys(t).every(function(r){if(!wm[r])throw new Error('Unknown matcher type "'.concat(r,'"'));var n=wm[r],a=t[r];return n(e,a)})}var Am=xm;function xD(e,t){return Am(e,t)}var dr=xD;dr.hasAccessibleName=fm,dr.attributes=pm,dr.condition=mm,dr.explicitRole=hm,dr.fromDefinition=Am,dr.fromFunction=Yl,dr.fromPrimative=Fn,dr.implicitRole=gm,dr.nodeName=vm,dr.properties=bm,dr.semanticRole=ym;var ri=dr;function AD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.noMatchAccessibleName,n=r===void 0?false:r,a=ht.htmlElms[e.props.nodeName];if(!a)return {};if(!a.variant)return a;var i=a.variant,o=ne(a,T);for(var s in i)if(!(!i.hasOwnProperty(s)||s==="default")){for(var l=i[s],d=l.matches,f=ne(l,I),g=Array.isArray(d)?d:[d],A=0;A<g.length&&n;A++)if(g[A].hasOwnProperty("hasAccessibleName"))return a;if(ri(e,d))for(var k in f)f.hasOwnProperty(k)&&(o[k]=f[k]);}for(var O in i.default)i.default.hasOwnProperty(O)&&typeof o[O]>"u"&&(o[O]=i.default[O]);return o}var mn=AD;function _D(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.chromium,n=e instanceof Xt?e:nt(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=Kl[a];if(!i&&r){var o=mn(n),s=o.chromiumRole;return s||null}return typeof i=="function"?i(n):i||null}var Nr=_D,DD={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 _m(e,t){var r=DD[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=st(e.parent,t);return ["none","presentation"].includes(n)&&!Em(e.parent)?n:n?null:_m(e.parent,t)}function Dm(e,t){var r=t.chromium,n=ne(t,B),a=Nr(e,{chromium:r});if(!a)return null;var i=_m(e,n);return i||a}function Em(e){var t=pn().some(function(r){return e.hasAttr(r)});return t||$t(e)}function ED(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.noImplicit,n=ne(t,R),a=pt(e),i=a.vNode;if(i.props.nodeType!==1)return null;var o=st(i,n);return o?["presentation","none"].includes(o)&&Em(i)?r?null:Dm(i,n):o:r?null:Dm(i,n)}function CD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.noPresentational,n=ne(t,$),a=ED(e,n);return r&&["presentation","none"].includes(a)?null:a}var rt=CD,kD=["iframe"];function SD(e){var t=pt(e),r=t.vNode;return r.props.nodeType!==1||!e.hasAttr("title")||!dr(r,kD)&&["none","presentation"].includes(rt(r))?"":r.attr("title")}var Po=SD;function TD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.strict;if(e=e instanceof Xt?e:nt(e),e.props.nodeType!==1)return false;var n=rt(e),a=ht.ariaRoles[n];return a&&a.nameFromContent?true:r?false:!a||["presentation","none"].includes(n)}var Cm=TD;function RD(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=Or(t,"aria-owns").filter(function(o){return !!o}).map(function(o){return m.utils.getNodeFromTree(o)}),a=n.filter(function(o,s){return n.indexOf(o)===s}),i=r.filter(function(o){return !a.includes(o)});return [].concat(ie(i),ie(a))}return ie(r)}var ni=RD,km={accessibleNameFromFieldValue:["progressbar"]};function Lt(e){return e=pt(e).vNode,Zl(e)}var Zl=St(function(t,r){return Tp(t)||Fo(t,{skipAncestors:true,isAncestor:r})?false:t.actualNode&&t.props.nodeName==="area"?!Il(t,Zl):fn(t,{skipAncestors:true,isAncestor:r})?false:t.parent?Zl(t.parent,true):true});function Sm(e,t,r){var n=pt(e),a=n.vNode,i=t?Lt:cr,o=!e.actualNode||e.actualNode&&i(e),s=a.children.map(function(l){var d=l.props,f=d.nodeType,g=d.nodeValue;if(f===3){if(g&&o)return g}else if(!r)return Sm(l,t)}).join("");return Je(s)}var qr=Sm,FD=["button","checkbox","color","file","hidden","image","password","radio","reset","submit"];function ID(e){e=e instanceof Xt?e:nt(e);var t=e.props.nodeName;return t==="textarea"||t==="input"&&!FD.includes((e.attr("type")||"").toLowerCase())}var Tm=ID;function MD(e){e=e instanceof Xt?e:nt(e);var t=e.props.nodeName;return t==="select"}var Rm=MD;function PD(e){var t=st(e);return t==="textbox"}var Fm=PD;function LD(e){var t=st(e);return t==="listbox"}var Im=LD;function OD(e){var t=st(e);return t==="combobox"}var Mm=OD,ND=["progressbar","scrollbar","slider","spinbutton"];function qD(e){var t=st(e);return ND.includes(t)}var Pm=qD,Lm=["textbox","progressbar","scrollbar","slider","spinbutton","combobox","listbox"],Ql={nativeTextboxValue:HD,nativeSelectValue:VD,ariaTextboxValue:$D,ariaListboxValue:Om,ariaComboboxValue:jD,ariaRangeValue:zD};function BD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=e.actualNode,n=km.accessibleNameFromFieldValue||[],a=rt(e);if(t.startNode===e||!Lm.includes(a)||n.includes(a))return "";var i=Object.keys(Ql).map(function(s){return Ql[s]}),o=i.reduce(function(s,l){return s||l(e,t)},"");return t.debug&&kn(o||"{empty-value}",r,t),o}function HD(e){var t=pt(e),r=t.vNode;return Tm(r)&&r.props.value||""}function VD(e){var t=pt(e),r=t.vNode;if(!Rm(r))return "";var n=pr(r,"option"),a=n.filter(function(i){return i.props.selected});return a.length||a.push(n[0]),a.map(function(i){return qr(i)}).join(" ")||""}function $D(e){var t=pt(e),r=t.vNode,n=t.domNode;return Fm(r)?!n||n&&!fn(n)?qr(r,true):n.textContent:""}function Om(e,t){var r=pt(e),n=r.vNode;if(!Im(n))return "";var a=ni(n).filter(function(i){return rt(i)==="option"&&i.attr("aria-selected")==="true"});return a.length===0?"":Kt(a[0],t)}function jD(e,t){var r=pt(e),n=r.vNode;if(!Mm(n))return "";var a=ni(n).filter(function(i){return rt(i)==="listbox"})[0];return a?Om(a,t):""}function zD(e){var t=pt(e),r=t.vNode;if(!Pm(r)||!r.hasAttr("aria-valuenow"))return "";var n=+r.attr("aria-valuenow");return isNaN(n)?"0":String(n)}var Nm=BD;function GD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=Kt.alreadyProcessed;t.startNode=t.startNode||e;var n=t,a=n.strict,i=n.inControlContext,o=n.inLabelledByContext,s=rt(e),l=mn(e,{noMatchAccessibleName:true}),d=l.contentTypes;if(r(e,t)||e.props.nodeType!==1||d!=null&&d.includes("embedded")||Lm.includes(s)||!t.subtreeDescendant&&!t.inLabelledByContext&&!Cm(e,{strict:a}))return "";if(!a){var f=!i&&!o;t=Y({subtreeDescendant:f},t);}return ni(e).reduce(function(g,A){return UD(g,A,t)},"")}var WD=Ul("phrasing").concat(["#text"]);function UD(e,t,r){var n=t.props.nodeName,a=Kt(t,r);return a?(WD.includes(n)||(a[0]!==" "&&(a+=" "),e&&e[e.length-1]!==" "&&(a=" "+a)),e+a):e}var hn=GD;function XD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=Kt.alreadyProcessed;if(t.inControlContext||t.inLabelledByContext||r(e,t))return "";t.startNode||(t.startNode=e);var n=Y({inControlContext:true},t),a=JD(e),i=ur(e,"label"),o;return i?(o=[].concat(ie(a),[i.actualNode]),o.sort(Su)):o=a,o.map(function(s){return Rn(s,n)}).filter(function(s){return s!==""}).join(" ")}function JD(e){if(!e.attr("id"))return [];if(!e.actualNode)throw new TypeError("Cannot resolve explicit label reference for non-DOM nodes");return _p({elm:"label",attr:"for",value:e.attr("id"),context:e.actualNode})}var eu=XD,KD={submit:"Submit",image:"Submit",reset:"Reset",button:""},YD={valueText:function(t){return t.props.value||""},buttonDefaultText:function(t){return KD[t.props.type]||""},tableCaptionText:Lo.bind(null,"caption"),figureText:Lo.bind(null,"figcaption"),svgTitleText:Lo.bind(null,"title"),fieldsetLegendText:Lo.bind(null,"legend"),altText:tu.bind(null,"alt"),tableSummaryText:tu.bind(null,"summary"),titleText:Po,subtreeText:hn,labelText:eu,singleSpace:function(){return " "},placeholderText:tu.bind(null,"placeholder")};function tu(e,t){return t.attr(e)||""}function Lo(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?"":Rn(i,r)}var qm=YD;function Bm(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=e.actualNode;if(e.props.nodeType!==1||["presentation","none"].includes(rt(e)))return "";var n=ZD(e),a=n.reduce(function(i,o){return i||o(e,t)},"");return t.debug&&m.log(a||"{empty-value}",r,t),a}function ZD(e){var t=mn(e,{noMatchAccessibleName:true}),r=t.namingMethods||[];return r.map(function(n){return qm[n]})}function Hm(){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 Vm(){return /[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&\xa3\xa2\xa5\xa7\u20ac()*+,\-.\/:;<=>?@\[\]^_`{|}~\xb1]/g}function $m(){return /[\uDB80-\uDBBF][\uDC00-\uDFFF]/g}function jm(){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 QD(e,t){var r=t.emoji,n=t.nonBmp,a=t.punctuations,i=false;return r&&(i||(i=js().test(e))),n&&(i||(i=Hm().test(e)||$m().test(e)||jm().test(e))),a&&(i||(i=Vm().test(e))),i}var ru=QD;function nu(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(!Je(n)||ru(n,{emoji:true,nonBmp:true}))return false;var a=et.get("canvasContext",function(){return p.createElement("canvas").getContext("2d",{willReadFrequently:true})}),i=a.canvas,o=et.get("fonts",function(){return {}}),s=c.getComputedStyle(e.parent.actualNode),l=s.getPropertyValue("font-family");o[l]||(o[l]={occurrences:0,numLigatures:0});var d=o[l];if(d.occurrences>=r){if(d.numLigatures/d.occurrences===1)return true;if(d.numLigatures===0)return false}d.occurrences++;var f=30,g="".concat(f,"px ").concat(l);a.font=g;var A=n.charAt(0),k=a.measureText(A).width;if(k===0)return d.numLigatures++,true;if(k<30){var O=30/k;k*=O,f*=O,g="".concat(f,"px ").concat(l);}i.width=k,i.height=f,a.font=g,a.textAlign="left",a.textBaseline="top",a.fillText(A,0,0);var V=new Uint32Array(a.getImageData(0,0,k,f).data.buffer);if(!V.some(function(ce){return ce}))return d.numLigatures++,true;a.clearRect(0,0,k,f),a.fillText(n,0,0);var G=new Uint32Array(a.getImageData(0,0,k,f).data.buffer),U=V.reduce(function(ce,ge,we){return ge===0&&G[we]===0||ge!==0&&G[we]!==0?ce:++ce},0),X=n.split("").reduce(function(ce,ge){return ce+a.measureText(ge).width},0),te=a.measureText(n).width,re=U/V.length,ae=1-te/X;return re>=t&&ae>=t?(d.numLigatures++,true):false}function Kt(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(t=nE(e,t),tE(e,t)||rE(e,t))return "";var r=[Qa,ei,Bm,Nm,hn,eE,Po],n=r.reduce(function(a,i){return t.startNode===e&&(a=Je(a)),a!==""?a:i(e,t)},"");return t.debug&&m.log(n||"{empty-value}",e.actualNode,t),n}function eE(e){return e.props.nodeType!==3?"":e.props.nodeValue}function tE(e,t){return !e||e.props.nodeType!==1||t.includeHidden?false:!Lt(e)}function rE(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:nu(e,a,i)}function nE(e,t){return t.startNode||(t=Y({startNode:e},t)),e.props.nodeType===1&&t.inLabelledByContext&&t.includeHidden===void 0&&(t=Y({includeHidden:!Lt(e)},t)),t}Kt.alreadyProcessed=function(t,r){return r.processed=r.processed||[],r.processed.includes(t)?true:(r.processed.push(t),false)};function aE(e,t){var r=t.emoji,n=t.nonBmp,a=t.punctuations;return r&&(e=e.replace(js(),"")),n&&(e=e.replace(Hm(),"").replace($m(),"").replace(jm(),"")),a&&(e=e.replace(Vm(),"")),e}var ai=aE;function iE(e){return oE(e)||sE(e)||lE(e)||uE(e)?0:1}function oE(e){return Je(e).length===0}function sE(e){return e.length===1&&e.match(/\D/)}function lE(e){var t=["aa","abc"];return t.includes(e.toLowerCase())}function uE(e){var t=ai(e,{emoji:true,nonBmp:true,punctuations:true});return !Je(t)}var au=iE,In={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 cE(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,d=l===void 0?[]:l,f=t.standaloneTerms,g=f===void 0?[]:f,A=t.qualifiedTerms,k=A===void 0?[]:A,O=t.ignoredValues,V=O===void 0?[]:O;if(e=e.toLowerCase().trim(),i=i.concat(In.stateTerms),i.includes(e)||e==="")return true;d=d.concat(In.qualifiers),s=s.concat(In.locations),g=g.concat(In.standaloneTerms),k=k.concat(In.qualifiedTerms);var G=e.split(/\s+/g);if(G[G.length-1]==="webauthn"&&(G.pop(),G.length===0)||!n&&(G[0].length>8&&G[0].substr(0,8)==="section-"&&G.shift(),s.includes(G[0])&&G.shift(),d.includes(G[0])&&(G.shift(),g=[]),G.length!==1))return false;var U=G[G.length-1];if(!V.includes(U))return g.includes(U)||k.includes(U)}var zm=cE;function dE(e){var t,r;return e.attr("aria-labelledby")&&(t=Or(e.actualNode,"aria-labelledby"),r=t.map(function(n){var a=nt(n);return a?qr(a):""}).join(" ").trim(),r)||(r=e.attr("aria-label"),r&&(r=Je(r),r))?r:null}var Oo=dE;function fE(e,t,r){return e=nt(e),qr(e,t,r)}var Gm=fE;function pE(e){var t,r,n;if(r=Oo(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=qt(e.attr("id"));if(n=Qt(e.actualNode),t=n.querySelector('label[for="'+a+'"]'),r=t&&Gm(t,true),r)return r}return t=ur(e,"label"),r=t&&qr(t,true),r||null}var No=pE;function mE(e){return e=nt(e),No(e)}var hE=mE,gE=[{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"]}],vE=gE;function Wm(e){var t=cr(e),r=[];return e.children.forEach(function(n){n.actualNode.nodeType===3?t&&r.push(n):r=r.concat(Wm(n));}),r}var bE=Wm,yE=St(function(t){var r=nt(t),n=r.boundingClientRect,a=[],i=Ja(r);return t.childNodes.forEach(function(o){if(!(o.nodeType!==3||Je(o.nodeValue)==="")){var s=wE(o);xE(s,n)||a.push.apply(a,ie(Um(s,i)));}}),a.length?a:Um([n],i)}),iu=yE;function wE(e){var t=p.createRange();return t.selectNodeContents(e),Array.from(t.getClientRects())}function xE(e,t){return e.some(function(r){var n=Ka(r);return !Co(n,t)})}function Um(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&&ko(i,o.boundingClientRect)},n);a&&r.push(a);}}),r}function AE(e){var t=To(e);if(!t)return [];var r=iu(e);return r.map(function(n){return zl(t,n)})}var ou=AE,_E=["checkbox","img","meter","progressbar","scrollbar","radio","slider","spinbutton","textbox"];function DE(e){var t=pt(e),r=t.vNode,n=m.commons.aria.getExplicitRole(r);if(n)return _E.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 su=DE,EE=["head","title","template","script","style","iframe","object","video","audio","noscript"];function qo(e){return EE.includes(e.props.nodeName)?false:e.children.some(function(t){var r=t.props;return r.nodeType===3&&r.nodeValue.trim()})}function Xm(e,t,r){return qo(e)||su(e.actualNode)||!r&&!!Oo(e)||!t&&e.children.some(function(n){return n.actualNode.nodeType===1&&Xm(n)})}var ii=Xm;function CE(e,t,r){return e=nt(e),ii(e,t,r)}var Bo=CE;function lu(e){return typeof e.children>"u"||qo(e)?true:e.props.nodeType===1&&su(e)?!!m.commons.text.accessibleTextVirtual(e):e.children.some(function(t){return !t.attr("lang")&&lu(t)&&!fn(t)})}function kE(e){var t=Hr(e.getAttribute("tabindex"));return t>-1&&$t(e)&&!Gl(e)}var Jm=kE;function Km(e,t){var r=pt(e),n=r.vNode,a=r.domNode;return n?(n._isHiddenWithCSS===void 0&&(n._isHiddenWithCSS=Ym(a,t)),n._isHiddenWithCSS):Ym(a,t)}function Ym(e,t){if(e.nodeType===9||(e.nodeType===11&&(e=e.host),["STYLE","SCRIPT"].includes(e.nodeName.toUpperCase())))return false;var r=c.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=Jt(e);return o&&!a.includes(i)?Km(o,i):false}var SE=Km;function TE(e){var t=e.doctype;return t===null?false:t.name==="html"&&!t.publicId&&!t.systemId}var Zm=TE;function RE(e){var t;(e instanceof Xt||(t=c)!==null&&t!==void 0&&t.Node&&e instanceof c.Node)&&(e=m.commons.aria.getRole(e));var r=ht.ariaRoles[e];return r?.type||null}var Rr=RE,FE=["block","list-item","table","flex","grid"],IE=["inline-block","inline-flex","inline-grid"];function ME(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=pt(e),o=i.vNode,s=i.domNode;if(cu(s)||!a&&PE(o))return false;var l=LE(s),d="",f="",g=0;return Qm(l,function(A){if(A===l.actualNode)return true;if(g===2)return false;if(A.nodeType===3&&(d+=A.nodeValue),A.nodeType===1){var k=(A.nodeName||"").toUpperCase();A===s&&(g=1);var O=cu(A);if((O||["BR","HR"].includes(k))&&(g===0?(d="",f=""):g=2),O||A.style.display==="none"||A.style.overflow==="hidden"||!["",null,"none"].includes(A.style.float)||!["",null,"relative"].includes(A.style.position))return false;if(Rr(A)==="widget")return f+=A.textContent,false}}),d=Je(d),r?d.length!==0:(f=Je(f),d.length>f.length)}var uu=ME;function cu(e){var t=pt(e),r=t.vNode,n=r.getComputedStylePropertyValue("display");return FE.includes(n)||n.substr(0,6)==="table-"}function PE(e){var t=e.getComputedStylePropertyValue("display");return IE.includes(t)}function Qm(e,t){t(e.actualNode)!==false&&e.children.forEach(function(r){return Qm(r,t)});}function LE(e){for(var t=Jt(e);t&&!cu(t);)t=Jt(t);return nt(t)}function OE(e){e=e||{};var t=e.modalPercent||.75;if(et.get("isModalOpen"))return et.get("isModalOpen");var r=Vr(m._tree[0],"dialog, [role=dialog], [aria-modal=true]",cr);if(r.length)return et.set("isModalOpen",true),true;for(var n=_o(c),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}],d=l.map(function(k){return Array.from(p.elementsFromPoint(k.x,k.y))}),f=function(){var O=d[A].find(function(V){var G=c.getComputedStyle(V);return parseInt(G.width,10)>=a&&parseInt(G.height,10)>=i&&G.getPropertyValue("pointer-events")!=="none"&&(G.position==="absolute"||G.position==="fixed")});if(O&&d.every(function(V){return V.includes(O)}))return et.set("isModalOpen",true),{v:true}},g,A=0;A<d.length;A++)if(g=f(),g)return g.v;et.set("isModalOpen",void 0);}var oi=OE;function eh(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=dt(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 NE(e){return e instanceof c.Node}var qE=NE,du="color.incompleteData",BE={set:function(t,r){if(typeof t!="string")throw new Error("Incomplete data: key must be a string");var n=et.get(du,function(){return {}});return r&&(n[t]=r),n[t]},get:function(t){var r=et.get(du);return r?.[t]},clear:function(){et.set(du,{});}},Tt=BE;function HE(e,t){var r=["IMG","CANVAS","OBJECT","IFRAME","VIDEO","SVG"],n=e.nodeName.toUpperCase();if(r.includes(n))return Tt.set("bgColor","imgNode"),true;t=t||c.getComputedStyle(e);var a=t.getPropertyValue("background-image"),i=a!=="none";if(i){var o=/gradient/.test(a);Tt.set("bgColor",o?"bgGradient":"bgImage");}return i}var Ho=HE,VE=/^#[0-9a-f]{3,8}$/i,$E=/hsl\(\s*([-\d.]+)(rad|turn)/,si=(Ge=new WeakMap,ct=new WeakMap,gt=new WeakMap,Dt=new WeakMap,bt=new WeakMap,lt=new WeakMap,it=new WeakSet,(function(){function e(t,r,n){var a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(Pt(this,e),Be(this,it),pe(this,Ge,void 0),pe(this,ct,void 0),pe(this,gt,void 0),pe(this,Dt,void 0),pe(this,bt,void 0),pe(this,lt,void 0),t instanceof si){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 We(e,[{key:"r",get:function(){return ze(Ge,this)},set:function(r){ft(Ge,this,r),ft(Dt,this,Math.round(aa(r,0,1)*255));}},{key:"g",get:function(){return ze(ct,this)},set:function(r){ft(ct,this,r),ft(bt,this,Math.round(aa(r,0,1)*255));}},{key:"b",get:function(){return ze(gt,this)},set:function(r){ft(gt,this,r),ft(lt,this,Math.round(aa(r,0,1)*255));}},{key:"red",get:function(){return ze(Dt,this)},set:function(r){ft(Ge,this,r/255),ft(Dt,this,aa(r,0,255));}},{key:"green",get:function(){return ze(bt,this)},set:function(r){ft(ct,this,r/255),ft(bt,this,aa(r,0,255));}},{key:"blue",get:function(){return ze(lt,this)},set:function(r){ft(gt,this,r/255),ft(lt,this,aa(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($E,function(i,o,s){var l=o+s;switch(s){case "rad":return i.replace(l,zE(o));case "turn":return i.replace(l,GE(o))}});try{var n;"Prototype"in c&&"Version"in c.Prototype&&(n=Array.from,Array.from=Wf.default);var a=new Et(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 Tt.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(VE)||[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 It(it,this,jE).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 si(this),a=[{name:"r",value:n.r},{name:"g",value:n.g},{name:"b",value:n.b}],i=a.sort(function(f,g){return f.value-g.value}),o=Se(i,3),s=o[0],l=o[1],d=o[2];return d.value>s.value?(l.value=(l.value-s.value)*r/(d.value-s.value),d.value=r):l.value=d.value=0,s.value=0,n[d.name]=d.value,n[s.name]=s.value,n[l.name]=l.value,n}},{key:"clip",value:function(){var r=new si(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 jE(e){var t=new si(this);return t.r+=e,t.g+=e,t.b+=e,t}var Ot=si;function aa(e,t,r){return Math.min(Math.max(t,e),r)}function zE(e){return e*180/Math.PI}function GE(e){return e*360}function WE(e){var t=new Ot;if(t.parseString(e.getPropertyValue("background-color")),t.alpha!==0){var r=e.getPropertyValue("opacity");t.alpha=t.alpha*r;}return t}var Mn=WE;function UE(e){var t=c.getComputedStyle(e);return Ho(e,t)||Mn(t).alpha===1}var XE=UE;function fu(e){if(!e.href)return false;var t=et.get("firstPageLink",JE);return t?e.compareDocumentPosition(t.actualNode)===e.DOCUMENT_POSITION_FOLLOWING:true}function JE(){var e;return c.location.origin?e=pr(m._tree,'a[href]:not([href^="javascript:"])').find(function(t){return !Vl(t.actualNode)}):e=pr(m._tree,'a:not([href^="#"]):not([href^="/#"]):not([href^="javascript:"])')[0],e||null}var KE=/rect\s*\(([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px\s*\)/,YE=/(\w+)\((\d+)/;function ZE(e){var t=e.getPropertyValue("clip").match(KE),r=e.getPropertyValue("clip-path").match(YE);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 QE(e,t,r){var n=ea(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=pr(m._tree,'img[usemap="#'.concat(qt(a),'"]'));return !o||!o.length?false:o.some(function(s){var l=s.actualNode;return Vo(l,t,r)})}function Vo(e,t,r){var n;if(!e)throw new TypeError("Cannot determine if element is visible for non-DOM nodes");var a=e instanceof Xt?e:nt(e);e=a?a.actualNode:e;var i="_isVisible"+(t?"ScreenReader":""),o=(n=c.Node)!==null&&n!==void 0?n:{},s=o.DOCUMENT_NODE,l=o.DOCUMENT_FRAGMENT_NODE,d=a?a.props.nodeType:e.nodeType,f=a?a.props.nodeName:e.nodeName.toLowerCase();if(a&&typeof a[i]<"u")return a[i];if(d===s)return true;if(["style","script","noscript","template"].includes(f))return false;if(e&&d===l&&(e=e.host),t){var g=a?a.attr("aria-hidden"):e.getAttribute("aria-hidden");if(g==="true")return false}if(!e){var A=a.parent,k=true;return A&&(k=Vo(A,t,true)),a&&(a[i]=k),k}var O=c.getComputedStyle(e,null);if(O===null)return false;if(f==="area")return QE(e,t,r);if(O.getPropertyValue("display")==="none")return false;var V=parseInt(O.getPropertyValue("height")),G=parseInt(O.getPropertyValue("width")),U=Zr(e),X=U&&V===0,te=U&&G===0,re=O.getPropertyValue("position")==="absolute"&&(V<2||G<2)&&O.getPropertyValue("overflow")==="hidden";if(!t&&(ZE(O)||O.getPropertyValue("opacity")==="0"||X||te||re)||!r&&(O.getPropertyValue("visibility")==="hidden"||!t&&Eo(e)))return false;var ae=e.assignedSlot?e.assignedSlot:e.parentNode,ce=false;return ae&&(ce=Vo(ae,t,true)),a&&(a[i]=ce),ce}var eC=Vo;function tC(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=c.getComputedStyle(o);if(!a&&r.indexOf(s.position)!==-1){n=[];continue}n.push(o);}return n}var th=tC;function rh(e,t){var r=nh(t);do{var n=nh(e);if(n===r||n===t)return rC(e,t);e=n;}while(e);return false}function nh(e){for(var t=nt(e),r=t.parent;r;){if(Zr(r.actualNode))return r.actualNode;r=r.parent;}}function rC(e,t){var r=c.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 c.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 ah(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:p,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(Ao(i)){var o=ah(e,t,i.shadowRoot,n+1);a=a.concat(o),a.length&&rh(a[0],i)&&a.push(i);}else a.push(i);return a},[])}var nC=ah;function aC(e,t){if(e.hasAttribute(t)){var r=e.nodeName.toUpperCase(),n=e;(!["A","AREA"].includes(r)||e.ownerSVGElement)&&(n=p.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=oC(i),s=o.pathname,l=o.filename;return {protocol:a,hostname:n.hostname,port:iC(n.port),pathname:/\/$/.test(s)?s:"".concat(s,"/"),search:sC(n.search),hash:lC(n.hash),filename:l}}}function iC(e){var t=["443","80"];return t.includes(e)?"":e}function oC(e){var t=e.split("/").pop();return !t||t.indexOf(".")===-1?{pathname:e,filename:""}:{pathname:e.replace(t,""),filename:/index./.test(t)?"":t}}function sC(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=Se(i,2),s=o[0],l=o[1],d=l===void 0?"":l;t[decodeURIComponent(s)]=decodeURIComponent(d);}return t}function lC(e){if(!e)return "";var t=/#!?\/?/g,r=e.match(t);if(!r)return "";var n=Se(r,1),a=n[0];return a==="#"?"":e}var uC=aC;function cC(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=c.getComputedStyle(t);return e.left>r.right||e.top>r.bottom?o.overflow==="scroll"||o.overflow==="auto"||t instanceof c.HTMLBodyElement||t instanceof c.HTMLHtmlElement:true}var pu=cC,ih=0,dC=(function(e){function t(r,n,a){var i;if(Pt(this,t),i=fe(this,t),i.shadowId=a,i.children=[],i.actualNode=r,i.parent=n,n||(ih=0),i.nodeIndex=ih++,i._isHidden=null,i._cache={},i._isXHTML=Ha(r.ownerDocument),r.nodeName.toLowerCase()==="input"){var o=r.getAttribute("type");o=i._isXHTML?o:(o||"").toLowerCase(),Zo().includes(o)||(o="text"),i._type=o;}return et.get("nodeMap")&&et.get("nodeMap").set(r,i),i}return K(t,e),We(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 c.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=c.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=$t(this.actualNode)),this._cache.isFocusable}},{key:"tabbableElements",get:function(){return this._cache.hasOwnProperty("tabbableElements")||(this._cache.tabbableElements=im(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}}])})(Xt),mu=dC;function fC(e){return (e||"").trim().replace(/\s{2,}/g," ").split(" ")}var nr=fC,Pn=" [idsMap]";function oh(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 sh(l)}))return;var o=new Set;t.forEach(function(l){var d,f=pC(l,n,a);f==null||(d=f.nodes)===null||d===void 0||d.forEach(function(g){f.isComplexSelector&&!Jn(g,l)||o.add(g);});});var s=[];return o.forEach(function(l){return s.push(l)}),r&&(s=s.filter(r)),s.sort(function(l,d){return l.nodeIndex-d.nodeIndex})}}function pC(e,t,r){var n=e[e.length-1],a=null,i=e.length>1||!!n.pseudos||!!n.classes;if(sh(n))a=t["*"];else {if(n.id){var o;if(!t[Pn]||!Object.hasOwn(t[Pn],n.id)||!((o=t[Pn][n.id])!==null&&o!==void 0&&o.length))return;a=t[Pn][n.id].filter(function(V){return V.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?hu(l,a):l;}if(n.classes){var d;if(!((d=t["[class]"])!==null&&d!==void 0&&d.length))return;var f=t["[class]"];a=a?hu(f,a):f;}if(n.attributes)for(var g=0;g<n.attributes.length;g++){var A,k=n.attributes[g];if(k.type==="attrValue"&&(i=true),!((A=t["[".concat(k.key,"]")])!==null&&A!==void 0&&A.length))return;var O=t["[".concat(k.key,"]")];a=a?hu(O,a):O;}}return {nodes:a,isComplexSelector:i}}function sh(e){return e.tag==="*"&&!e.attributes&&!e.id&&!e.classes}function hu(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 lh(e,t){e.props.nodeType===1&&($o(e.props.nodeName,e,t),$o("*",e,t),e.attrNames.forEach(function(r){r==="id"&&(t[Pn]=t[Pn]||{},nr(e.attr(r)).forEach(function(n){$o(n,e,t[Pn]);})),$o("[".concat(r,"]"),e,t);}));}var gu;function vu(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:p.documentElement,t=arguments.length>1?arguments[1]:void 0;gu=false;var r={};et.set("nodeMap",new WeakMap),et.set("selectorMap",r);var n=uh(e,t,null);return n[0]._selectorMap=r,n[0]._hasShadowRoot=gu,n}function mC(e){var t=[];for(e=e.firstChild;e;)t.push(e),e=e.nextSibling;return t}function bu(e,t,r){var n=new mu(e,t,r);return lh(n,et.get("selectorMap")),n}function jo(e,t,r){var n=[];return e.forEach(function(a){var i=uh(a,r,t);i&&n.push.apply(n,ie(i));}),n}function uh(e,t,r){var n,a;e.documentElement&&(e=e.documentElement);var i=e.nodeName.toLowerCase();if(Ao(e))return gu=true,n=bu(e,r,t),t="a"+Math.random().toString().substring(2),a=Array.from(e.shadowRoot.childNodes),n.children=jo(a,n,t),[n];if(i==="content"&&typeof e.getDistributedNodes=="function")return a=Array.from(e.getDistributedNodes()),jo(a,r,t);if(i==="slot"&&typeof e.assignedNodes=="function"){a=Array.from(e.assignedNodes()),a.length||(a=mC(e));c.getComputedStyle(e);return jo(a,r,t)}if(e.nodeType===p.ELEMENT_NODE)return n=bu(e,r,t),a=Array.from(e.childNodes),n.children=jo(a,n,t),[n];if(e.nodeType===p.TEXT_NODE)return [bu(e,r)]}function hC(e){return e?e.trim().split("-")[0].toLowerCase():""}var Ln=hC;function gC(e){var t={};return t.none=e.none.concat(e.all),t.any=e.any,Object.keys(t).map(function(r){if(t[r].length){var n=m._audit.data.failureSummaries[r];if(n&&typeof n.failureMessage=="function")return n.failureMessage(t[r].map(function(a){return a.message||""}))}}).filter(function(r){return r!==void 0}).join(`
427
427
 
428
428
  `)}var yu=gC;function wu(){var e=m._audit.data.incompleteFallbackMessage;return typeof e=="function"&&(e=e()),typeof e!="string"?"":e}var ch=tt.resultGroups;function li(e,t){var r=m.utils.aggregateResult(e);return ch.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(ye(i.node)==="object"){var o=dh(i.node,t);Object.assign(i,o);}return delete i.result,delete i.node,vC(i,t),i})),ch.forEach(function(i){return delete a[i]}),delete a.pageLevel,delete a.result,a});}),r}function vC(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 dh(a,t)});});});}function dh(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;e=wr.dqElmToSpec(e,t);var r={};if(m._audit.noHtml)r.html=null;else {var n;r.html=(n=e.source)!==null&&n!==void 0?n:"Undefined";}if(t.elementRef&&!e.fromFrame){var a;r.element=(a=e.element)!==null&&a!==void 0?a:null;}if(t.selectors!==false||e.fromFrame){var i;r.target=(i=e.selector)!==null&&i!==void 0?i:[":root"];}if(t.ancestry){var o;r.ancestry=(o=e.ancestry)!==null&&o!==void 0?o:[":root"];}if(t.xpath){var s;r.xpath=(s=e.xpath)!==null&&s!==void 0?s:["/"];}return r}var bC=/\$\{\s?data\s?\}/g;function zo(e,t){if(typeof t=="string")return e.replace(bC,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 fh(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 zo(r,t)}return zo(e,t)}if(typeof e=="string")return zo(e,t);if(typeof t=="string"){var n=e[t];return zo(n,t)}var a=e.default||wu();return t&&t.messageKey&&e[t.messageKey]&&(a=e[t.messageKey]),fh(a,t)}}var xu=fh;function yC(e,t,r){var n=m._audit.data.checks[e];if(!n)throw new Error("Cannot get message for unknown check: ".concat(e,"."));if(!n.messages[t])throw new Error('Check "'.concat(e,'"" does not have a "').concat(t,'" message.'));return xu(n.messages[t],r)}var wC=yC;function xC(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 Go=xC;function gn(){var e,t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:c;return t&&ye(t)==="object"?t:ye(r)!=="object"?{}:{testEngine:{name:"axe-core",version:m.version},testRunner:{name:m._audit.brand},testEnvironment:AC(r),timestamp:new Date().toISOString(),url:(e=r.location)===null||e===void 0?void 0:e.href}}function AC(e){if(!e.navigator||ye(e.navigator)!=="object")return {};var t=e.navigator,r=e.innerHeight,n=e.innerWidth,a=_C(e)||{},i=a.angle,o=a.type;return {userAgent:t.userAgent,windowWidth:n,windowHeight:r,orientationAngle:i,orientationType:o}}function _C(e){var t=e.screen;return t.orientation||t.msOrientation||t.mozOrientation}function ph(e,t){var r=t.focusable,n=t.page;return {node:e,include:[],exclude:[],initiator:false,focusable:r&&DC(e),size:EC(e),page:n}}function DC(e){var t=Hr(e.getAttribute("tabindex"));return t===null||t>=0}function EC(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 CC(e){if(_u(e)){var t=" must be used inside include or exclude. It should not be on the same object.";vn(!Br(e,"fromFrames"),"fromFrames"+t),vn(!Br(e,"fromShadowDom"),"fromShadowDom"+t);}else if(Uo(e))e={include:e,exclude:[]};else return {include:[p],exclude:[]};var r=mh(e.include);r.length===0&&r.push(p);var n=mh(e.exclude);return {include:r,exclude:n}}function mh(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=[];Au(e)||(e=[e]);for(var r=0;r<e.length;r++){var n=kC(e[r]);n&&t.push(n);}return t}function kC(e){return e instanceof c.Node?e:typeof e=="string"?[e]:(Du(e)?(TC(e),e=e.fromFrames):Xo(e)&&(e=[e]),SC(e))}function SC(e){if(Array.isArray(e)){var t=[],r=dt(e),n;try{for(r.s();!(n=r.n()).done;){var a=n.value;if(Xo(a)&&(RC(a),a=a.fromShadowDom),typeof a!="string"&&!FC(a))return;t.push(a);}}catch(i){r.e(i);}finally{r.f();}return t}}function TC(e){vn(Array.isArray(e.fromFrames),"fromFrames property must be an array"),vn(e.fromFrames.every(function(t){return !Br(t,"fromFrames")}),"Invalid context; fromFrames selector must be appended, rather than nested"),vn(!Br(e,"fromShadowDom"),"fromFrames and fromShadowDom cannot be used on the same object");}function RC(e){vn(Array.isArray(e.fromShadowDom),"fromShadowDom property must be an array"),vn(e.fromShadowDom.every(function(t){return !Br(t,"fromFrames")}),"shadow selector must be inside fromFrame instead"),vn(e.fromShadowDom.every(function(t){return !Br(t,"fromShadowDom")}),"fromShadowDom selector must be appended, rather than nested");}function FC(e){return Array.isArray(e)&&e.every(function(t){return typeof t=="string"})}function vn(e,t){mt(e,"Invalid context; ".concat(t,`
429
429
  See: https://github.com/dequelabs/axe-core/blob/master/doc/context.md`));}function hh(e,t){for(var r=[],n=0,a=e[t].length;n<a;n++){var i=e[t][n];if(i instanceof c.Node)if(i.documentElement instanceof c.Node)r.push(e.flatTree[0]);else if(i.host instanceof c.Node){var o=Array.from(i.children).map(function(l){return nt(l)});r.push.apply(r,ie(o));}else r.push(nt(i));else if(i&&i.length)if(i.length>1)IC(e,t,i);else {var s=Iu(i[0]);r.push.apply(r,ie(s.map(function(l){return nt(l)})));}}return r.filter(function(l){return l})}function IC(e,t,r){e.frames=e.frames||[];var n=r.shift(),a=Iu(n);a.forEach(function(i){var o=e.frames.find(function(s){return s.node===i});o||(o=ph(i,e),e.frames.push(o)),o[t].push(r);});}function Wo(e,t){var r,n,a,i,o=this;e=Xr(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=ye((i=e)===null||i===void 0?void 0:i.size)==="object"?e.size:{},e=CC(e),this.flatTree=t??vu(OC(e)),this.exclude=e.exclude,this.include=e.include,this.include=hh(this,"include"),this.exclude=hh(this,"exclude"),Fu("frame, iframe",this).forEach(function(s){Cu(s,o)&&MC(o,s.actualNode);}),typeof this.page>"u"&&(this.page=PC(this),this.frames.forEach(function(s){s.page=o.page;})),LC(this),Array.isArray(this.include)||(this.include=Array.from(this.include)),this.include.sort(Su);}function MC(e,t){!Lt(t)||Ua(e.frames,"node",t)||e.frames.push(ph(t,e));}function PC(e){var t=e.include;return t.length===1&&t[0].actualNode===p.documentElement}function LC(e){if(e.include.length===0&&e.frames.length===0){var t=Tr.isInFrame()?"frame":"page";throw new Error("No elements found for include in "+t+" Context")}}function OC(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 c.Element)return i.ownerDocument.documentElement;if(i instanceof c.Document)return i.documentElement}return p.documentElement}function NC(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(t.iframes===false)return [];var r=new Wo(e),n=r.frames;return n.map(function(a){var i=a.node,o=ne(a,M);o.initiator=false;var s=mo(i);return {frameSelector:s,frameContext:o}})}function gh(e){var t=m._audit.rules.find(function(r){var n=r.id;return n===e});if(!t)throw new Error("Cannot find rule by id: ".concat(e));return t}function qC(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=c.getComputedStyle(e),i=vh(a,"overflow-x"),o=vh(a,"overflow-y");if(r&&i||n&&o)return {elm:e,top:e.scrollTop,left:e.scrollLeft}}}function vh(e,t){var r=e.getPropertyValue(t);return ["scroll","auto"].includes(r)}var Zr=St(qC);function bh(e){return Array.from(e.children||e.childNodes||[]).reduce(function(t,r){var n=Zr(r);return n&&t.push(n),t.concat(bh(r))},[])}function BC(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:c,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(bh(p.body))}var HC=BC;function VC(){return Xr(ht)}function $C(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,d=l===void 0?false:l,f=e.createElement("style");if(d){var g=e.createTextNode('@import "'.concat(r.href,'"'));f.appendChild(g);}else f.appendChild(e.createTextNode(r));return e.head.appendChild(f),{sheet:f.sheet,isCrossOrigin:a,shadowId:i,root:o,priority:s}}}var yh=$C,fr;function jC(e){if(fr&&fr.parentNode)return fr.styleSheet===void 0?fr.appendChild(p.createTextNode(e)):fr.styleSheet.cssText+=e,fr;if(e){var t=p.head||p.getElementsByTagName("head")[0];return fr=p.createElement("style"),fr.type="text/css",fr.styleSheet===void 0?fr.appendChild(p.createTextNode(e)):fr.styleSheet.cssText=e,t.appendChild(fr),fr}}var zC=jC;function Au(e){return !!e&&ye(e)==="object"&&typeof e.length=="number"&&!(e instanceof c.Node)}function Br(e,t){return !e||ye(e)!=="object"?false:Object.prototype.hasOwnProperty.call(e,t)}function wh(e){return _u(e)||Uo(e)}function _u(e){return ["include","exclude"].some(function(t){return Br(e,t)&&Uo(e[t])})}function Uo(e){return typeof e=="string"||e instanceof c.Node||Du(e)||Xo(e)||Au(e)}function Du(e){return Br(e,"fromFrames")}function Xo(e){return Br(e,"fromShadowDom")}function xh(e,t){var r=nt(e);if(e.nodeType===9)return false;if(e.nodeType===11&&(e=e.host),r&&r._isHidden!==null)return r._isHidden;var n=c.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=xh(a,true);return r&&(r._isHidden=i),i}var GC=xh;function WC(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:!!ht.htmlElms[n]}var Eu=WC;function Cu(e,t){var r=t.include,n=r===void 0?[]:r,a=t.exclude,i=a===void 0?[]:a,o=n.filter(function(f){return Jr(f,e)});if(o.length===0)return false;var s=i.filter(function(f){return Jr(f,e)});if(s.length===0)return true;var l=Ah(o),d=Ah(s);return Jr(d,l)}function Ah(e){var t,r=dt(e),n;try{for(r.s();!(n=r.n()).done;){var a=n.value;(!t||!Jr(a,t))&&(t=a);}}catch(i){r.e(i);}finally{r.f();}return t}function ku(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 UC(e,t){return e=e.actualNode||e,t=t.actualNode||t,e===t?0:e.compareDocumentPosition(t)&4?-1:1}var Su=UC;function pt(e){return e instanceof Xt?{vNode:e,domNode:e.actualNode}:{vNode:nt(e),domNode:e}}function XC(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(f){return f.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(f){return f.href}).map(function(f){return f.href}).filter(function(f){return !n.includes(f)}),l=s.map(function(f,g){var A=[].concat(ie(r),[g]),k=/^https?:\/\/|^\/\//i.test(f);return Ru(f,t,A,n,k)}),d=i.filter(function(f){return f.type!==3});return d.length&&l.push(Promise.resolve(t.convertDataToStylesheet({data:d.map(function(f){return f.cssText}).join(),isCrossOrigin:a,priority:r,root:t.rootNode,shadowId:t.shadowId}))),Promise.all(l)}var _h=XC;function JC(e,t,r,n){var a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:false,i=KC(e);return i?_h(e,t,r,n,a):Ru(e.href,t,r,n,true)}function KC(e){try{var t=e.cssRules;return !(!t&&e.href)}catch{return false}}var Tu=JC;function YC(e,t,r,n,a){return n.push(e),new Promise(function(i,o){var s=new c.XMLHttpRequest;s.open("GET",e),s.timeout=tt.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 Tu(o.sheet,t,r,n,o.isCrossOrigin)})}var Ru=YC;function ZC(e){if(typeof e!="string")return null;var t=e.trim().match(/^([-+]?\d+)/);return t?Number(t[1]):null}var Hr=ZC,QC=(function(){function e(){if(c.performance&&c.performance)return c.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=c.performance)!==null&&i!==void 0&&i.mark&&c.performance.mark(a);},measure:function(a,i,o){var s,l=arguments.length>3&&arguments[3]!==void 0?arguments[3]:false;if((s=c.performance)!==null&&s!==void 0&&s.measure){try{c.performance.measure(a,i,o);}catch(d){this._log(d);}l||this.clearMark(i,o);}},logMeasures:function(a){var i=this,o,s,l=function(V){return Array.isArray(V)?V[V.length-1]:V},d=function(V){i._log("Measure "+V.name+" took "+V.duration+"ms");};if(!(!((o=c.performance)!==null&&o!==void 0&&o.getEntriesByType)||!((s=c.performance)!==null&&s!==void 0&&s.getEntriesByName))){var f=l(c.performance.getEntriesByName("mark_axe_start"))||l(c.performance.getEntriesByName("mark_audit_start"));if(!f){this._log("Axe must be started before using performanceTimer");return}for(var g=c.performance.getEntriesByType("measure").filter(function(O){return O.startTime>=f.startTime}),A=0;A<g.length;++A){var k=g[A];if(k.name===a){d(k);return}else a||d(k);}}},timeElapsed:function(){var a=e();return a-t},clearMark:function(){var a;if((a=c.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,d=o;l<d.length;l++){var f=d[l];c.performance.clearMarks(f);}}},reset:function(){t=e();},_log:function(a){kn(a);}}})(),vt=QC;function Dh(){if(p.elementsFromPoint)return p.elementsFromPoint;if(p.msElementsFromPoint)return p.msElementsFromPoint;var e=(function(){var a=p.createElement("x");return a.style.cssText="pointer-events:auto",a.style.pointerEvents==="auto"})(),t=e?"pointer-events":"visibility",r=e?"none":"hidden",n=p.createElement("style");return n.innerHTML=e?"* { pointer-events: all }":"* { visibility: visible }",function(a,i){var o,s,l,d=[],f=[];for(p.head.appendChild(n);(o=p.elementFromPoint(a,i))&&d.indexOf(o)===-1;)d.push(o),f.push({value:o.style.getPropertyValue(t),priority:o.style.getPropertyPriority(t)}),o.style.setProperty(t,r,"important");for(d.indexOf(p.documentElement)<d.length-1&&(d.splice(d.indexOf(p.documentElement),1),d.push(p.documentElement)),s=f.length;l=f[--s];)d[s].style.setProperty(t,l.value?l.value:"",l.priority);return p.head.removeChild(n),d}}typeof c.addEventListener=="function"&&(p.elementsFromPoint=Dh());function ek(e,t){return e.concat(t).filter(function(r,n,a){return a.indexOf(r)===n})}var ui=ek;function Eh(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 tk(e,t,r){for(var n=et.get("qsa.recycledLocalVariables",function(){return []}),a=[],i=Array.isArray(e)?e:[e],o=Eh(i,t,null,e[0].shadowId,n.pop()),s=[];o.vNodesIndex<o.vNodes.length;){for(var l,d,f=o.vNodes[o.vNodesIndex++],g=null,A=null,k=(((l=o.anyLevel)===null||l===void 0?void 0:l.length)||0)+(((d=o.thisLevel)===null||d===void 0?void 0:d.length)||0),O=false,V=0;V<k;V++){var G,U,X,te=V<(((G=o.anyLevel)===null||G===void 0?void 0:G.length)||0)?o.anyLevel[V]:o.thisLevel[V-(((U=o.anyLevel)===null||U===void 0?void 0:U.length)||0)];if((!te[0].id||f.shadowId===o.parentShadowId)&&Jn(f,te[0]))if(te.length===1)!O&&(!r||r(f))&&(s.push(f),O=true);else {var re=te.slice(1);if([" ",">"].includes(re[0].combinator)===false)throw new Error("axe.utils.querySelectorAll does not support the combinator: "+te[1].combinator);re[0].combinator===">"?(g=g||[]).push(re):(A=A||[]).push(re);}(!te[0].id||f.shadowId===o.parentShadowId)&&(X=o.anyLevel)!==null&&X!==void 0&&X.includes(te)&&(A=A||[]).push(te);}for(f.children&&f.children.length&&(a.push(o),o=Eh(f.children,A,g,f.shadowId,n.pop()));o.vNodesIndex===o.vNodes.length&&a.length;)n.push(o),o=a.pop();}return s}function rk(e,t,r){e=Array.isArray(e)?e:[e];var n=ho(t),a=oh(e,n,r);return a||tk(e,n,r)}var Vr=rk;function nk(e){var t=e.treeRoot,r=t===void 0?m._tree[0]:t,n=ak(r);if(!n.length)return Promise.resolve();var a=p.implementation.createHTMLDocument("Dynamic document for loading cssom"),i=yh(a);return ik(n,i).then(function(o){return kh(o)})}var Ch=nk;function ak(e){var t=[],r=Vr(e,"*",function(n){return t.includes(n.shadowId)?false:(t.push(n.shadowId),true)}).map(function(n){return {shadowId:n.shadowId,rootNode:Xa(n.actualNode)}});return ui(r,[])}function ik(e,t){var r=[];return e.forEach(function(n,a){var i=n.rootNode,o=n.shadowId,s=ok(i,o,t);if(!s)return Promise.all(r);var l=a+1,d={rootNode:i,shadowId:o,convertDataToStylesheet:t,rootIndex:l},f=[],g=Promise.all(s.map(function(A,k){var O=[l,k];return Tu(A,d,O,f)}));r.push(g);}),Promise.all(r)}function kh(e){return e.reduce(function(t,r){return Array.isArray(r)?t.concat(kh(r)):t.concat(r)},[])}function ok(e,t,r){var n;return e.nodeType===11&&t?n=sk(e,r):n=lk(e),ck(n)}function sk(e,t){return Array.from(e.children).filter(uk).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 lk(e){return Array.from(e.styleSheets).filter(function(t){return t.media?Sh(t.media.mediaText):false})}function uk(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&&Sh(e.media)}function Sh(e){return e?!e.toUpperCase().includes("PRINT"):true}function ck(e){var t=[];return e.filter(function(r){return r.href?t.includes(r.href)?false:(t.push(r.href),true):true})}function dk(e){var t=e.treeRoot,r=t===void 0?m._tree[0]:t,n=Vr(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 fk(i)}))}var Th=dk;function fk(e){return new Promise(function(t){e.readyState>0&&t(e);function r(){e.removeEventListener("loadedmetadata",r),t(e);}e.addEventListener("loadedmetadata",r);})}function Rh(e){var t={cssom:Ch,media:Th};return Fh(e)?new Promise(function(r,n){var a=Ih(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(d){return W({},l,d)})})).then(function(l){var d=l.reduce(function(f,g){return Y({},f,g)},{});clearTimeout(s),r(d);}).catch(function(l){clearTimeout(s),n(l);});}):Promise.resolve()}function pk(e){return ye(e)==="object"&&Array.isArray(e.assets)}function Fh(e){return !e||e.preload===void 0||e.preload===null?true:typeof e.preload=="boolean"?e.preload:pk(e.preload)}function Ih(e){var t=tt.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=ui(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 Jo(e){var t=m._audit.data.checks||{},r=m._audit.data.rules||{},n=Ua(m._audit.rules,"id",e.id)||{};e.tags=Xr(n.tags||[]);var a=Mh(t,true,n),i=Mh(t,false,n);e.nodes.forEach(function(o){o.any.forEach(a),o.all.forEach(a),o.none.forEach(i);}),Tl(e,Xr(r[e.id]||{}));}function mk(e,t){function r(a){return a.incomplete&&a.incomplete.default?a.incomplete.default:wu()}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 Mh(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?(ye(i.incomplete)==="object"&&!Array.isArray(n.data)&&(o.message=mk(n.data,i)),o.message||(o.message=i.incomplete)):o.message=n.result===t?i.pass:i.fail,typeof o.message!="function"&&(o.message=xu(o.message,n.data)),Tl(n,o);}}function hk(e,t){return Vr(e,t)}var pr=hk;function Ph(e,t){var r,n,a=m._audit&&m._audit.tagExclude?m._audit.tagExclude:[];t.hasOwnProperty("include")||t.hasOwnProperty("exclude")?(r=t.include||[],r=Array.isArray(r)?r:[r],n=t.exclude||[],n=Array.isArray(n)?n:[n],n=n.concat(a.filter(function(o){return r.indexOf(o)===-1}))):(r=Array.isArray(t)?t:[t],n=a.filter(function(o){return r.indexOf(o)===-1}));var i=r.some(function(o){return e.tags.indexOf(o)!==-1});return i||r.length===0&&e.enabled!==false?n.every(function(o){return e.tags.indexOf(o)===-1}):false}function gk(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?Ph(e,n.values):Ph(e,[])}var Lh=gk;function Oh(e,t){if(!t)return e;var r=e.cloneNode(false),n=Fa(r);if(r.nodeType===1){var a=r.outerHTML;r=et.get(a,function(){return Nh(r,n,e,t)});}else r=Nh(r,n,e,t);return Array.from(e.childNodes).forEach(function(i){r.appendChild(Oh(i,t));}),r}function Nh(e,t,r,n){return t&&(e=p.createElement(e.nodeName),Array.from(t).forEach(function(a){vk(r,a.name,n)||e.setAttribute(a.name,a.value);})),e}function vk(e,t,r){return typeof r[t]>"u"?false:r[t]===true?true:Wn(e,r[t])}function Fu(e,t){var r=[],n;if(m._selectCache)for(var a=0,i=m._selectCache.length;a<i;a++){var o=m._selectCache[a];if(o.selector===e)return o.result}for(var s=bk(t.include),l=yk(t),d=0;d<s.length;d++){n=s[d];var f=Vr(n,e,l);r=wk(r,f);}return m._selectCache&&m._selectCache.push({selector:e,result:r}),r}function bk(e){return e.reduce(function(t,r){return (!t.length||!Jr(t[t.length-1],r))&&t.push(r),t},[])}function yk(e){return !e.exclude||e.exclude.length===0?null:function(t){return Cu(t,e)}}function wk(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 Ko(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;if(ye(e)!=="object"||e===null)return {message:String(e)};var r={},n=dt(tt.serializableErrorProps),a;try{for(n.s();!(a=n.n()).done;){var i=a.value;["string","number","boolean"].includes(ye(e[i]))&&(r[i]=e[i]);}}catch(o){n.e(o);}finally{n.f();}return e.cause&&(r.cause=t<10?Ko(e.cause,t+1):"..."),r}var xk=(function(e){function t(r){var n,a,i=r.error,o=r.ruleId,s=r.method,l=r.errorNode;return Pt(this,t),a=fe(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=Ko(i.cause)),o&&(a.ruleId=o,a.message+=" Skipping ".concat(a.ruleId," rule.")),s&&(a.method=s),l&&(a.errorNode=l),a}return K(t,e),We(t)})(q(Error)),Yo=xk;function Ak(e,t,r){if(e===c)return e.scroll(r,t);e.scrollTop=t,e.scrollLeft=r;}function _k(e){e.forEach(function(t){var r=t.elm,n=t.top,a=t.left;return Ak(r,n,a)});}var Dk=_k;function Ek(e){var t=Array.isArray(e)?ie(e):[e];return qh(t,p)}function qh(e,t){var r=e.shift(),n=r?t.querySelector(r):null;return e.length===0?n:n!=null&&n.shadowRoot?qh(e,n.shadowRoot):null}function Iu(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:p,r=Array.isArray(e)?ie(e):[e];return e.length===0?[]:Bh(r,t)}function Bh(e,t){var r=P(e),n=r[0],a=zr(r).slice(1),i=t.querySelectorAll(n);if(a.length===0)return Array.from(i);var o=[],s=dt(i),l;try{for(s.s();!(l=s.n()).done;){var d=l.value;d!=null&&d.shadowRoot&&o.push.apply(o,ie(Bh(a,d.shadowRoot)));}}catch(f){s.e(f);}finally{s.f();}return o}function Ck(){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 Zo=Ck,Hh=[,[,[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,,,,,,1,1,1,1,,,1,1,1,,1,,1,,1,1],[1,1,1,,1,1,,1,1,1,,1,,,1,1,1,,,1,1,1,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,,,,1,1,1,,1,1,1,1,1,1,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1],[,1,,,,,,1,,1,,,,,1,,1,,,1,1,1,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,,1,1,1,1,,,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,,,1,,,,1,1,1,1,,1,,1,,1,,,,,,1],[1,,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,,1,,1,,,,,1,,1,1,1,1,1,,,,1,1,1,1],[,1,1,1,1,1,,1,1,1,,1,,1,1,1,,,1,1,1,1,1,1,1,1],[,,1,,,1,,1,,,,1,1,1,,,,,,,,,,,1],[1,1,1,1,1,1,,1,1,1,,1,1,,1,1,1,1,1,1,1,1,,,1,1,1],[1,1,1,1,1,,,1,,,1,,,1,1,1,,,,,1,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,,1,1,,1,1,1,1,1,1,1,,1],[,1,,1,1,1,,1,1,,1,,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,,,1,1,1,,,1,1,,,,,,1,1],[1,1,1,,,,,1,,,,1,1,,1,,,,,,1,,,,,1],[,1,,,1,,,1,,,,,,1],[,1,,1,,,,1,,,,1],[1,,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,,1,,,1,1,1,1],[,1,1,1,1,1,,,1,,,1,,1,1,,1,,1,,,,,1,,1],[,1,,,,1,,,1,1,,1,,1,1,1,1,,1,1,,,1,,,1],[,1,1,,,,,,1,,,,1,1,1,1,,1,1,1,1,1,1,,1,1,1],[,1,,1,1,1,,,1,1,1,1,1,1,,1,,,,1,1,1,,1,,1],[,1,,1,,1,,1,,1,,1,1,1,1,1,,,1,1,1],[,1,1,1,,,,1,1,1,,1,1,,,1,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1],[,1,1,1,,1,1,1,,1,,,,,1,1,1,,,1,,1,,,1,1],[,,,,1,,,,,,,,,,,,,,,,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,,1,1,,,,1,1,1,1,1,,,1,1,1,,,,1,1],[1,1,1,1,,,,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,,,,,,,1,,,,,,,1],[,1,1,,1,1,,1,,,,,,,,,,,,,1],[,,,,,,,,1],[1,1,1,,,,,,,,,,,,,1],[,,,,,,,,1,,,1,,,1,1,,,,,1]],[,[1,1,,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,,1,1,1,1,,1,1,,1,1,1,1,1,1,1,,1,1,1,1,,1],[,,,1,,,,,,,,,,,,,,,1],[,1,,,1,1,,1,,1,1,,,,1,1,,,1,1,,,,1],[1,,,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1,,,1,,,,1],,[,1,1,1,1,1,,1,1,1,,1,1,,1,1,,,1,1,1,1,,1,1,,1],[,1,,,1,,,1,,1,,,1,1,1,1,,,1,1,,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,,,1,1,1,1,1,1,1,,,1,,,1,,1],[,1,,,,,,1,,,,1,1,,,,,,1,1,,,,,1],[,,,,,,,1,,,,1,,1,1],[,1,1,1,1,1,1,1,,,,1,1,1,1,1,,,1,1,,1,1,1,1,1],[,1,,,1,1,,1,,1,1,1,,,1,1,,,1,,1,1,1,1,,1],[,1,1,1,,1,1,,1,1,,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1],[,,,,,,,,,,,,,,,,1],,[,1,1,1,1,1,,1,1,1,,,1,,1,1,,1,1,1,1,1,,1,,1],[,,1,,,1,,,1,1,,1,1,,1,1,,1,,,,,,,,,1],[,1,1,,1,,,,1,1,,1,,1,1,1,1,,1,1,1,1,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[1,1],[,1,,,,,,,,,,1,1,,,,,,1,1,,1,,1,,1,1],,[,1,1,,1,,,1,,1,,,,1,1,1,,,1,,,1,,,,1],[1,1,,,1,1,,1,,,,,1,,1]],[,[,1],[,,,1,,,,1,,,,1,,,,1,,,1,,,1],[,,,,,,,,,,,,,,,,,,1,1,,,,,,1],,[1,,,,,1],[,1,,,,1,,,,1],[,1,,,,,,,,,,,1,1,,1,,,,,,,,,1,1],[,,,,,,,,,,,,,,,,,,,1,,1],[,,,,,,,,,,,,,,,,1,,,,1,,1],[,1],[,1,,1,,1,,1,,1,,1,1,1,,1,1,,1,,,,,,,1],[1,,,,,1,,,1,1,,1,,1,,1,1,,,,,1,,,1],[,1,1,,,1,,1,,1,,1,,1,1,1,1,1,,1,,1,,1,1,1,1],[1,1,1,1,1,,1,,1,,,,1,1,1,1,,1,1,,,1,1,1,1],[1,,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,1],,[,1,,,,,,1,1,1,,1,,,,1,,,1,1,1,,,1],[1,,,,,1,,1,1,1,,1,1,1,1,1,,1,,1,,1,,,1,1],[1,,1,1,,,,,1,,,,,,1,1,,,1,1,1,1,,,1,,1],[1,,,,1,,,,,,,,,,,,,1],[,,,,,1,,,1,,,,,,1],[,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,,1],[,1,,,,,,,,,,,,,,1],[,1,,,,1]],[,[1,1,1,,1,,1,1,1,1,1,1,1,1,1,,1,,1,,1,1,,,1,1,1],[,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1],,[,,,,,,,,,,,,,,,,,,1],[1,,,,,,,,,1,,,,1],[,,,,,,,,,,,,,,,,,,1],,[1,1,,,,1,1,,,,,,1,,,,1,,1,,1,1,,1],[1],[,,,,,,,,,,,1,,,,,,,,,,,1],[,1,,,,,,,1,1,,,1,,1,,,,1,,,,,,,1],[,,,,,,,,,,,,,,,,1,,,,,1],[,,1,,,,,1,,1],[1,,,,1,,,,,1,,,,1,1,,,,1,1,,,,,1],[,,,,,1],[,,,,,,,,,,,,,,,,,,,1],[1,,,1,1,,,,,,,1,,1,,1,1,1,1,1,1],[,,,,,1,,,,,,,1,,,,,,,1],,[,,1,1,1,1,1,,1,1,1,,,1,1,,,1,1,,1,1,1,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,,,,1],,[1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[,,,1,1,1,1,,,,,,1,,1,,,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,,,,1,,1,,,1,1,1,1,1],[,,,,,,,,,,,1,,,,,,,,,1,,,,1],[,1,1,,1,1,,1,,,,1,1,,1,1,,,1,,1,1,,1],[,1,,1,,1,,,1,,,1,1,,1,1,,,1,1,1],[,1,1,1,1,1,,1,1,1,,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,,,,,,,,,1,,1,,1,1,,,,1,,,1],[,1,,,1,1,,,,,,,,,1,1,1,,,,,1],[1,,1,1,1,,,,1,1,1,1,1,,,1,,,1,,,1,,1,,1],[,1,1,,1,1,,1,1,,,,1,1,1,,,1,1,,,1,1,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,,1,1,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,,1],[,1,,,,,,,,1,,,,,1,,,,1,,,1],[,1,1,1,1,,,1,1,1,1,1,,1,,1,,1,1,1,1,1,1,1,1,1,1],[,,,,,1,,1,,,,,1,1,1,1,1,,,1,,,,1],[,1,,,,,,,,1,,,,,,,,,,,,1],[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,,1,,1,1,,,,1,,1,1,1,1,1,,1,1,,,,,,1],[,1,1,1,1,1,1,1,,1,1,,,1,1,,,,1,,1,1,,1,1],[,,,,,,,,,,,,,,,,,,,,,,,,1],[,1,1,,1,1,1,1,,1,,,1,1,1,1,,,1,,,,,,,1,1],[,1,,,,,,,,1,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1],[,1,1,,,,,,,,,,,,1,1,,,,,,1],[,1,,,,,,,1],[,,,,,,,,,,,,,,1,,,,,1,,,,,,1],[1,1,,,1,,,1,1,1,,,,1],,[,,,,,,,,,,,,,1,,,,,,,,,,1],[,,,,,,,,,1,,,,,,,,,1,,,,,,,1],[1,1,1,,1,,1,1,1,1,1,1,1,1,,1,,,1,,1,,,1,1],[,,,,,,,,,1],[,1,,,,1,,,1,,,1,,,1,,,,,1],[,1,1,,1,1,,,,,,,,,,,,,,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,,,1,1,,1,1,1,1,,,1,1,1,,,,1,,1],[1,1,1,1,1,1,,,1,1,1,1,1,1,,1,1,,1,1,1,,1,1,,1,1],[,,,,,,,,,,,,,,,1,,,,1],,[1,1,,1,,1,,,,,,1,,1,,1,1,,1,,1,1,,1,1,,1],[,,1,,,,,,1,,,,1,,1,,,,,1],[1,,,,,,,,,1,,,,,,1,,,,1,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,,,1,,1,,,,,,1,,,1,,,,,,,,1],[,1,,1,,,,,,,,,,,,1],,[1,1,,,,,,,,,,,,,,,,,,,,,,1,1],[1]],[,[1,,,,,,,,,1,,,,,1,,1,,1],[,1,1,,1,1,,1,1,1,,,1,1,1,,,,1,,,1,,,,1],[,1,,,,,,,1,,,,1,,,,,,1],[1,1,1,1,1,1,,,,1,,,,,,,,,1,1,1,1],[1],[,1,1,,,1,1,,,,,1,,1,,,,,,,,1,,,,1],[1,,1,,,1,,1,,,,,1,1,1,1,,,,1,,,,1],[,,1,,,,,,,1,,,,,,,1,,,,,,,1],[1,,,,,,,,,,,,,,1,,,,1],[,,,1,,1,,,,,1,,,,1,1,,,,1],[1,,,,,1,,,1,1,,1,1,,,1,1,,1,1,1,,1,1,1,,1],[,1,1,,,,,1,,1,,1,1,1,,1,1,,,1,,1,1,1],[,1,,,,1,,,,1,,,1,,1,1,,,1,1,1,,,,,1],[1,,1,1,,1,,1,1,,1,,1,1,1,1,1,,,1,1,,,,,,1],[1,,,,,,,,,,,,,,,,,,1,,,1,,1],[,,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,,,,1,,1],[,1,,,,1,,,1,1,,1,,,1,1,,,1,,,1,,,1,1],[1,1,,1,1,1,,1,1,1,,1,,1,1,1,,,1,,1,1,1],[1,,1,1,1,1,,,,1,,1,1,1,,1,,,1,1,1,,1,1,1,1,1],[1,,,,,,,,,,,,,1],[,,1,,,,,,,,,,,,,,,,,,,,1],[1,,,,,,,,,,,1,,1,,1,,,,1],[,,,1,,,,,,,,,1],[,1,,,,,,,,,,,,,,1,,,,,,,,,1],[,,,,,,,,1,1,,,,1,,,,,1,,,,,,,,1]],[,[1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,,1,1,1,1,1,,,1,1,1],[,,,,,1,,,,1,1,1,,1,1,1,,,1,,1,1,,1],[,,,,,,,,,,,,,,,,,,,1,1],[,1,,,,,,1,,,,,,,,,,,,,1],[,,1,,,1,,1,1,1,,1,1,,1,,,,1,,1,1],,[,,1,,,1,,,,,,1,,,,1],[,,,,,,,,,1,,,,,,,,,,1],[1,1,1,1,1,1,,1,1,1,,,1,1,,1,,1,,,1,1,1,,,1],[,,,,,1,,,,,,,,,,,,,1],[,1,,,,,,,,,,,,1,,1,1,,1,1,,1],[,,,,,1,,,,,,,,,,,,,,1],[,1,1,1,1,,,,,1,,,1,,1,,,,1,1,,,,1,1],[,1,,,1,,,1,,1,1,,1,,,,,,,1],[,,1,,1,,,1,,,,,,,,,,,1,1,,,,1],[,1,,,,,,,,,,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,1,,,,,,,,,,,,,,,,1,,1,1],[,,,,,,,,,,,,1],,[,1,1,1,1,,,,1,1,,1,1,1,1,1,1,,1,1,1,1,,1,,1],[1,,,,1,,,,,,,,,,1],[1,,,,,,,,,1],,[,1,,,,1,,,,,,,,,,,,,,,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,,,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,,1,1,1,,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,,,1,1,1,,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1,,1,1,1,1],[1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,,,1,1,1,1,,1,,,,1,1,,,1,1,,1],[,1,1,,1,,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,,,,,,,,,,1],[1,1,1,,,,,1,1,1,,1,1,1,1,1,,1,1,1,1,1,,,,,1],[,1,,,,,,,1,1,,,1,1,1,,1,,,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,1],[,1,,,,1,,,,1,,,1,,,,1,,,,,,,1,1],[,1,1,1,1,1,,,1,1,1,,1,1,1,1,,,1,1,1,1,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1],[1,1,1,,1,,,1,1,1,1,,1,1,1,1,,,,1,,1,,1,,,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,,1,1,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,,1,,1,,1,,1,,1,1,1,1,1,,,1,,1,,1,,,,1],[,1,1,1,1,1,,1,1,1,,,1,1,1,1,1,,1,1,1,,1,1,,1],[1,,,1,,,,1,1,1,,,,,1,1,,,,1,,1],[1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,,,,,,,,1,,1,1,,,,,,,1,,1],[,1,,,,1,,1,1,,,,1,1,,1,,,,1,1,1,,1],[,,,,,,,,,,,,,1],[,1,,,,,,1,,,,,,,1],[,,,,,,,,1,,,,1,,1,,,,,,,,,,,,1]],[,[,1,1,,1,1,1,1,,1,1,1,,1,1,,1,1,,1,1,1,1,1,1,,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,1,,,1,,,,,,,,1,,,,,,1,,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,,1,1,1,,1,1,1,1,,,1,1,1,1,,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,,1,,1,,1,,1,1,1,1,1,1,1,,1,1,,,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1],[,1,1,,,,,1,1,1,,,1,,1,1,,,,1,,1,,,1,1],[,,,,,,,1,,,,1,1,1,1,1,,1,,,1,,,,,1],[1,1,1,1,,1,1,1,,1,,1,1,1,1,,1,,1,,1,1,,,1,,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,1,1,,1,,1,1,1,,1,,1,1,,1,1,,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,,,,,,,1,,,,,1,,1],[,1,1,1,,1,,1,,1,,,,1,,1,,,1,,,,,1,1,1],[,1,,,1,1,,1,,1,,1,1,1,1,1,,1,1,,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,,,1,,1,,1,,,,,1,1,,1,,,,1,1]],[,[,1,,1,,,,,,,,1,,,,,,,1,,,,1],[,,,,,,,,,1,,1,1,1,,1,,,1,,1,1],[1,1,,,,,,,1,,,,,1,,1,,,,,,1],[,1,,,,,,,,,,1,,,,,,,,,1,1],,[,,,,,,,,,,,,,,,1,,,,1,,1],[,,1,1,,1,,1,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,,,1,1],[,1,,,,1,,,,,,,,,1],[1,,1,1,,,,1,,,,,,,,,1,,,1,,,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,,1,1,,1,1,,1,,1],[,1,,,1,1,,,,,,1,,1,,1,,,1,,1,1],[1,1,1,1,,1,,1,,1,,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,,,1,,1,,1,1,1,,,1,1,1,,1,1,1,1,,1,1],[,,,,1,,,1,,,,,,,1,,,,1,1],[,1,,,,,,,,,,1,,1,,1,,,,,1,,,,,1],,[1,1,,1,,1,,1,1,,,,,,1,1,,,1,1,1,1,1,1,1,1,1],[1,1,,1,,,,,,1,,,,,1,1,1,,,,1,1,,,1],[,1,1,,1,1,,,,1,,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1],[,1,1,,,1,,,,1,,,,1,1],[,,,,1],[,,,,,,,,,1,,,1],,[,,1,,1,,,,,,,,,1,,,,,,,,,,,,1],[,,,,,,,,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,1,,1,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,,,,,1],[,1,,1,,,,,,1,,,,,1,1,,,,,1,1],[,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,,,1,,1,1,1],[,1,,,,1,,,,,,,1],[,1,,,1,,,1,,1,,1,1,,1,,,,,1,,1,,,,1,1],[,1,,,1,,,1,1,1,1,1,1,1,1,1,,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1],[,,,,,,,,,,,,,,,,,,,,1],[,1,1,1,,,,1,1,,,,,,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,1,1,1,1,1,1,1,,1,,1,1,1,1,1,,1,1,,1,1,1,1,1],[,1,,,,1,,,,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,1,,,,,,,,,,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,,1,1,1,,1,1,1,,,1,1,1,1,1,1,1,1,1,1,,1,,1],[1,1,,,,,,,1,1,,,,,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,,1,1,1,,1,,1,1,1,1,,1,1,,1,1,1,1],,[,1,1,,,,,1,,1,,,,1,1,1,,,1,,,,,1],[,,,,,,,,,,,,,1],[,,,,,1,,,,,,,,1,1,,,,,1,,1,,,1,1],[,,,,,1,,,1,,,,,,1]],[,[,1],,,,,,,,,,,,,,,,,,,,[1,1,1,1,1,,1,1,1,1,,1,1,1,1,,1,1,1,1,,,1,1,1,1,1],[,1,,1,,1,,,1,1,1,,1,1,1,1,1,,,1,,,,1,,1,1],[,1,,1,,1,,,1,,,,,1,,,,,,1,1],[,1,,1,,,,,1,,,,1,,1,1,1,1,1,1,1,1,,1],[,1,,,,,,,,,,,,,,,1]],[,[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,,,,,,,,,1,1,,,,1],[,,,,,,1],[,,1],[,1,1,,,1,,1,,1,1,,1,1,1,,,,1,1,1,,,,,1],,[,1,,,,1,,,,,,1,,,1,,,,1,1,,1],[,,,,,,,1,,,,,,,,,1],[,1,1,,,1,1,,,,,,1,1,1,,,,1,,1,1],[,,,,,,,1,,1,,,,,,,,,,1],[,1,1,,,,,,1,1,,,,1,,,,,,,1,,,1],,[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,1,,,1,,,,,1,,1,,1,,1,,,,,1],[1,1,1,1,1,1,1,1,,,,,1,1,,1,1,,1,,,1,,1],[,,,,,,,,,,,,,,1,,,,,,1],,[,,,,,,,,,1,,,,1,,1,,,,,1],[,,1,,,,,,,1,,1,1,1,1,,,,,,,,,1],[,,,1,,,,,1,,,,,1,,,,,,1,,,,1],[1,,1,1,,1,1,1,1,1,,1,,,,1,1,1,,,1,1,,,,1,1],,[1,1,,,,,,,,,,1,1,1,,1,,,1],[,,,,1,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,1,,,,,1,,1],[,,,,,,,,1]],[,[1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,,1,1,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,,1,,,1,,,,,,,,1,,,,,,1,,,,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,,,,1,1,1,1,1,1,,1,1,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1],[,,1,1,1,1,,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,,,,,,,1,,1,1,,1,1,1,,1,1,1,1,1,,,1],[1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,1,1,,1,,1,,1,1,1,1,1,,1,,1,1,1,1,,1,1,1,1,1],[1,1,1,1,,1,,,,,,1,,1,,,,,1,1,,,,,1],[1,,1,1,,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,1,,1,,1,,,,1,1,1,1,1,,,1,1,,1,,1],[,1,1,1,1,,,,,1,,1,1,1,1,1,,,1,1,,,,1,1,1],[,1,1,1,1,1,,1,,,,,1,,1,,1,,,1,,,1,1,,1]],[,[1,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,,,,,,1,,,,,1,1,,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,,,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,,1,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,,,,,,1,,1,1,,1,1,1,1,1,,,1,,1,,1],[1,1,1,,1,1,1,1,,,,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,,1,,,,,,,,,,1,1,1,1,1,1,1,,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,,,1,1,,,,1,,1,1,1,1,1,,,,1,1,1,,1,1,1],[1,1,1,1,1,1,1,1,1,,,,1,1,1,1,1,1,1,,1,1,,1,1,1],[,1,1,1,,1,,1,1,1,1,,,1,1,1,,1,1,1,1,1,,,1,1],[1,1,,,,1,,,1,1,1,,1,,1,,1,,1,1,1,1,1,,1,1,1],[,1,,,,,,,1,,1,,1,1,1,1,,,,,,,,,1]],[,[,,,,,,,,,,,,,1,1,,,,1],[,1,,,,,,,,1,,,1,,,,,,1,,,1,,,,1],,[,1,,,,1,,1,,1,1,,1,1,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,1],[1,1,1,,,1,,,1,,,,,,1,1,,,,,,,,,,1],[,1,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1,,,1],[,,,,,,,,,1],[1,1,,,,,,1,1,1,,1,1,,,,1,1,,1,,1,1,1,,1],[,1,1,1,,1,1,,,1,,1,1,1,1,,,,,,,1,,1,,1],[,1,1,1,1,,,1,,1,,,,1,1,1,1,,1,1,,1],[,1,,,1,1,,1,,1,,1,,1,1,,1,,1,,,1,,,1,,1],[,,,,,,,,,,,1,,,1],[,,,,,,,,,1,,,,,,,,,,,,,1],,[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1],[,1,,,,,,,1,1,,1,,,,,1,,,1,,1],[,1,,,,1,,,1,,,,,,,,1,,1,,,1],[,,,,,,,,,,,,,1,1,,,,1,,,1],[,,,,,1,,,1,,,,1],[,1],,[,1],[1,,,,,,,,,,,,,,1,,,,,1]],[,[,1,,,,1,1,1,1,1,1,,1,1,1,1,1,,1,1,,1,1,,,1],[,,1,,,,,,,,,1],,,[1,,,1,1,,,,,,,,1,1,,1,1,,1],,[,,,,,,,,,,,,,,,,,,1,,1],,[1,,,1,1,,1,1,,,,,1,,1,,,,,1,1,,1],[,,,,,,,,,,,1],[,1,,,,,,,,1,1,1,1,1,1,1,1,,,,1,1,,,,,1],[,,,,,,,,,,,,,,,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,,1,1,1,1,1,1],[,,,,,,,,,,,1,,1,,,1],[1,,,,,,,,,,,,,,,,,,1,,1],,,[,1,,,,,,,,,,,,,,1,,,,1,1],[,,,,,,,,,1,,,1,,1,,,,,,,,1],[,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,1,1,,,,,,1],,[,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,,1,1,,1,1,1,1,1,1,,,1,1,1,1,1,,1,1],[,1,,,,,,,,1],[,,,,1,,,1,,,1,1,,,,,,,,,1,1,,,,1],[,1,,1,1,,,1,1,1,,,,1,1,1,1,,1,1,1,1,,1],[,,,,,,,1],[,1,1,,,,,1,,1,,,,,,1,,,,,,1,,1,,1],[,1,,,,,,1,,,,1,,,,,,,,,,1],[,,1,1,,1,1,1,1,1,1,1,1,1,1,,,,1,,1,1,1,1,,1],[,1,,,,,,,,1],[,1,1,,1,,,,,,,,1,,,,,,1,,,1,,1,,1],[,1,,1,,1,,1,1,1,,1,1,1,,1,,,1,1,,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,,,,1,1,1,,,,1,1,,,1,1],[,,1,1,1,1,,1,,1,,1,,1,1,1,1,,,,,1,,1,,1],[1,1,1,1,1,1,1,1,,1,,1,,1,1,1,,,1,1,,,,1,,1],[,,,1],,[,1,1,,1,,,1,1,1,,1,1,1,1,1,1,,1,1,,1,1,1,1,1,1],[,1,,,,,,1,,1,,1,,,,,,,1,1,,1,1],[,,1,,,,1,,1,1,,1,,1,,,,,,,,,,1],[,1,1,,1,,,,1,,,,1,1,1,,,,1,,1,1,1,,1,1],,[,1,1,,,,,,,,,,,,,1,,,1,,,,,1],[,1,,,,,,,,,,,,,,,,,,,,,,1],[,1,1,,,,,,,1,,,,1,1,,,,1,,,,,,,1]],[,[,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[,1,1,1,1,1,,1,,1,1,,,1,1,1,1,,1,,,,,1,1,1],[,,1,1,,1,,1,1,,,,1,1,1,1,,,1,,1,1,1,1,,1],[,1,,1,,,,,,,,1,,1,,1,,1,,,,,,,,1],[,,1,,1,,,1,,,,,1,1,,,1,,1,1,1,1],[,1],[,1,1,,1,,1,1,,1,,,1,1,1,,,,1,,,1,,1],[1,1,,1,1,1,,,,,,,,1,,,,,1,,1,1,1],[,1,1,,,,,,,1,,,1,,1,,1,,1,1,,,1,,,1],[,,1,,,,,,,,,,,,,,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,,1,,,,,1,1,1,,,1,,1,,,,1],[,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,1,1,1,1,1,,1,1,1,,1,1,1,1,1,,,,1,1],[,,,1,1,,,1,,1,,1,,1,1,1,1,,1,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,,,,,,,,,,,,,,,,1],[,1,1,,1,1,,1,,1,,,,1,1,,,1,1,,1,1,,1],[,1,1,1,1,1,,,1,1,1,,1,1,1,1,1,1,1,1,,1,1,,,1],[,1,1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,,1,,,1,,,1,,1,1,1,1,1,,1,,1,1],[,,,,,1,,,,1,,,,,1,1,,,,1],[,1,,1,1,1,,1,,,1,1,1,,,1,,,1,,1,,,1],[,,1,,,,,,,,,1,,1,,,,,1,,1],[,1,1,,,,,,,,1,1,1,,,,,,,,1,,,,,1],[,,,,,,,,1,,,,,1,,,1]],[,[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,,,1,1,1,1,1,1,1,1,,,,,,,,,1,1],[,,,,,,,,1,,,,1,,1,,1,,1],[,1,,,1,1,,1,,,,1,,,,,,,,1],[,1,,1,,1,,,,1,1,,1,,1,,,,1,1,1,1,1,,,1],,[,1,,,,,,,,1,,,1,1,,,1,,1,1,,1,,1],[,1,,,1,,,,,,,,1,,,,,,,1],[1,1,,,,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1],,[,1,,,,,,1,1,1,,1,1,1,1,1,,,1,,1,1,,,,1],[,1,1,,,1,,1,,1,,,1,1,1,1,,,1,,,1,,,,1],[,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,,,1,,1],[,1,1,,1,1,,1,1,,,1,1,,1,1,,1,,1,,1],[1,,1,,,,,1,,1,,1,1,1,1,,,,,1,1,,,,1,1],[,1,1,,,,,1,1,,,1,,1,1,1,1,,,,,,,,,,1],,[,1,1,,,1,,,,1,,1,1,1,1,1,,,,1,,,,1,,1],[,,,1,1,,,1,,,,,1,1,1,1,1,,1,1,,,,,,1],[,1,,,,,,,,,,,1,,,,1,,,,,,,1,,1],[,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,,1,1,,1,1,1,1],[,1,,,,,,,,,,,,,,,,,,,1],[,1,,,,,,1,,,,,1,,1,,,1,1,,1,1,,1],[,1,,,,,,1,,,,,1,1,,,,,,,,1,,,,1],[,,,,,,,,,,,,,,,,,,1,,,1,,,,,1],[,,,,,,,1,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,,1,,,,,,,1,,,,,,,,1,1,,1],[,1,,,1,,,,1],[,,,,,,,,,,1],[,1,,,,,,1,1,,,,,1,1],,[,1,1,,,,,,1,,,,,1,1,,,,1],[1,,1,,1,,,,,1,,,,,1,,,,,,,,,1,1],[,1,1,,,,,,,,,1,1,1,1,,,,1,,,,,1,,,1],,[,1,1,,1,,,1,1,,,1,,,1,1,1,,1,,1,1,1,,,,1],[,1,,,,1,,,,,1,,,1,1,,,1,,1,,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,1,1,,1,,,,1,,,,,,,,1],[,,,1,,,,,1,,,,,1,,1,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,,1],[,1,,,,,,1,,,,,,,1,1,1,,,1],[,1,,,,,,,,,,1,1,1,,,,,1,,,1],[,,,,,1,,1,,,,,1,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 kk(e){for(var t=Hh;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 Vh(e){e=Array.isArray(e)?e:Hh;var t=[];return e.forEach(function(r,n){var a=String.fromCharCode(n+96).replace("`","");Array.isArray(r)?t=t.concat(Vh(r).map(function(i){return a+i})):t.push(a);}),t}var Qo=kk,Sk=(function(e){function t(r){var n;return Pt(this,t),n=fe(this,t),n._props=Rk(r),n._attrs=Fk(r),n}return K(t,e),We(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)}}])})(Xt),Mu={"#cdata-section":2,"#text":3,"#comment":8,"#document":9,"#document-fragment":11},$h={},Tk=Object.keys(Mu);Tk.forEach(function(e){$h[Mu[e]]=e;});function Rk(e){var t,r,n,a=(t=e.nodeName)!==null&&t!==void 0?t:$h[e.nodeType],i=(r=(n=e.nodeType)!==null&&n!==void 0?n:Mu[e.nodeName])!==null&&r!==void 0?r:1;mt(typeof i=="number","nodeType has to be a number, got '".concat(i,"'")),mt(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(),Zo().includes(o)||(o="text"));var s=Y({},e,{nodeType:i,nodeName:a});return o&&(s.type=o),delete s.attributes,Object.freeze(s)}function Fk(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(mt(ye(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 jh=Sk;function Ik(e,t){if(e=e||function(){},t=t||m.log,!m._audit)throw new Error("No audit configured");var r=m.utils.queue(),n=[];Object.keys(m.plugins).forEach(function(i){r.defer(function(o){var s=function(d){n.push(d),o();};try{m.plugins[i].cleanup(o,s);}catch(l){s(l);}});});var a=m.utils.getFlattenedTree(p.body);m.utils.querySelectorAll(a,"iframe, frame").forEach(function(i){r.defer(function(o,s){return m.utils.sendCommandToFrame(i.actualNode,{command:"cleanup-plugin"},o,s)});}),r.then(function(i){n.length===0?e(i):t(n);}).catch(t);}var zh=Ik,ci={},Gh;function Wh(e){return ci.hasOwnProperty(e)}function Pu(e){return typeof e=="string"&&ci[e]?ci[e]:typeof e=="function"?e:Gh}function Mk(e,t,r){ci[e]=t,r&&(Gh=t);}function Pk(e){var t=m._audit;if(!t)throw new Error("No audit configured");if(e.axeVersion||e.ver){var r=e.axeVersion||e.ver;if(!/^\d+\.\d+\.\d+(-canary)?/.test(r))throw new Error("Invalid configured version ".concat(r));var n=r.split("-"),a=Se(n,2),i=a[0],o=a[1],s=i.split(".").map(Number),l=Se(s,3),d=l[0],f=l[1],g=l[2],A=m.version.split("-"),k=Se(A,2),O=k[0],V=k[1],G=O.split(".").map(Number),U=Se(G,3),X=U[0],te=U[1],re=U[2];if(d!==X||te<f||te===f&&re<g||d===X&&f===te&&g===re&&o&&o!==V)throw new Error("Configured version ".concat(r," is not compatible with current axe version ").concat(m.version))}if(e.reporter&&(typeof e.reporter=="function"||Wh(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(ce){if(!ce.id)throw new TypeError("Configured check ".concat(JSON.stringify(ce)," is invalid. Checks must be an object with at least an id property"));t.addCheck(ce);});}var ae=[];if(e.rules){if(!Array.isArray(e.rules))throw new TypeError("Rules property must be an array");e.rules.forEach(function(ce){if(!ce.id)throw new TypeError("Configured rule ".concat(JSON.stringify(ce)," is invalid. Rules must be an object with at least an id property"));ae.push(ce.id),t.addRule(ce);});}if(e.disableOtherRules&&t.rules.forEach(function(ce){ae.includes(ce.id)===false&&(ce.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&&Q_(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(tt.allOrigins,'" instead'));t.setAllowedOrigins(e.allowedOrigins);}}var Lk=Pk;function Ok(e){Tr.updateMessenger(e);}function Nk(e){e=e||[];var t=e.length?m._audit.rules.filter(function(n){return !!e.filter(function(a){return n.tags.indexOf(a)!==-1}).length}):m._audit.rules,r=m._audit.data.rules||{};return t.map(function(n){var a=r[n.id]||{};return {ruleId:n.id,description:a.description,help:a.help,helpUrl:a.helpUrl,tags:n.tags,actIds:n.actIds}})}var qk=Nk;function Bk(e,t,r){var n=["SCRIPT","HEAD","TITLE","NOSCRIPT","STYLE","TEMPLATE"];if(!n.includes(e.nodeName.toUpperCase())&&ii(r)){var a=c.getComputedStyle(e);if(a.getPropertyValue("display")==="none")return;if(a.getPropertyValue("visibility")==="hidden"){var i=Jt(e),o=i&&c.getComputedStyle(i);if(!o||o.getPropertyValue("visibility")!=="hidden")return}}return true}var Hk=Bk,Uh={};_r(Uh,{getAllCells:function(){return Lu},getCellPosition:function(){return Mo},getHeaders:function(){return es},getScope:function(){return Xl},isColumnHeader:function(){return ra},isDataCell:function(){return Jh},isDataTable:function(){return ts},isHeader:function(){return Wk},isRowHeader:function(){return na},toArray:function(){return Yr},toGrid:function(){return Yr},traverse:function(){return Ou}});function Vk(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 Lu=Vk;function Xh(e,t,r){for(var n=e==="row"?"_rowHeaders":"_colHeaders",a=e==="row"?na:ra,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,d=l-1,f=t.y+d,g=t.x+o,A=e==="row"?t.y:0,k=e==="row"?0:t.x,O,V=[],G=f;G>=A&&!O;G--)for(var U=g;U>=k;U--){var X=r[G]?r[G][U]:void 0;if(X){var te=m.utils.getNodeFromTree(X);if(te[n]){O=te[n];break}V.push(X);}}return O=(O||[]).concat(V.filter(a)),V.forEach(function(re){var ae=m.utils.getNodeFromTree(re);ae[n]=O;}),O}function $k(e,t){if(e.getAttribute("headers")){var r=Or(e,"headers");if(r.filter(function(o){return o}).length)return r}t||(t=Yr(ea(e,"table")));var n=Mo(e,t),a=Xh("row",n,t),i=Xh("col",n,t);return [].concat(a,i).reverse()}var es=$k;function jk(e){if(!e.children.length&&!e.textContent.trim())return false;var t=st(e);return t?["cell","gridcell"].includes(t):e.nodeName.toUpperCase()==="TD"}var Jh=jk;function zk(e){var t=st(e);if((t==="presentation"||t==="none")&&!$t(e))return false;if(e.getAttribute("contenteditable")==="true"||ea(e,'[contenteditable="true"]')||t==="grid"||t==="treegrid"||t==="table"||Rr(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,d=0;d<i;d++){o=e.rows[d];for(var f=0,g=o.cells.length;f<g;f++){if(s=o.cells[f],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(st(s))||s.children.length===1&&s.children[0].nodeName.toUpperCase()==="ABBR")return true;a++;}}if(e.getElementsByTagName("table").length||i<2)return false;var A=e.rows[Math.ceil(i/2)];if(A.cells.length===1&&A.cells[0].colSpan===1)return false;if(A.cells.length>=5||l)return true;for(var k,O,V=0;V<i;V++){if(o=e.rows[V],k&&k!==c.getComputedStyle(o).getPropertyValue("background-color")||(k=c.getComputedStyle(o).getPropertyValue("background-color"),O&&O!==c.getComputedStyle(o).getPropertyValue("background-image")))return true;O=c.getComputedStyle(o).getPropertyValue("background-image");}return i>=20?true:!(Ml(e).width>_o(c).width*.95||a<10||e.querySelector("object, embed, iframe, applet"))}var ts=zk;function Gk(e){if(ra(e)||na(e))return true;if(e.getAttribute("id")){var t=qt(e.getAttribute("id"));return !!p.querySelector('[headers~="'.concat(t,'"]'))}return false}var Wk=Gk;function Kh(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=Kh(e,{x:t.x+e.x,y:t.y+e.y},r,n),a.unshift(i),a):[]}function Uk(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 Kh(e,{x:t.x+e.x,y:t.y+e.y},r,n)}var Ou=Uk,Yh={};_r(Yh,{allowedAttr:function(){return Zh},arialabelText:function(){return ei},arialabelledbyText:function(){return Qa},getAccessibleRefs:function(){return Nu},getElementUnallowedRoles:function(){return tg},getExplicitRole:function(){return st},getImplicitRole:function(){return Nr},getOwnedVirtual:function(){return ni},getRole:function(){return rt},getRoleType:function(){return Rr},getRolesByType:function(){return iS},getRolesWithNameFromContents:function(){return lS},implicitNodes:function(){return cS},implicitRole:function(){return Nr},isAccessibleRef:function(){return rs},isAriaRoleAllowedOnElement:function(){return eg},isComboboxPopup:function(){return Bu},isUnsupportedRole:function(){return Wl},isValidRole:function(){return ti},label:function(){return ig},labelVirtual:function(){return Oo},lookupTable:function(){return ng},namedFromContents:function(){return Cm},requiredAttr:function(){return og},requiredContext:function(){return Hu},requiredOwned:function(){return Vu},validateAttr:function(){return ns},validateAttrValue:function(){return sg}});function Xk(e){var t=ht.ariaRoles[e],r=ie(pn());return t&&(t.allowedAttrs&&r.push.apply(r,ie(t.allowedAttrs)),t.requiredAttrs&&r.push.apply(r,ie(t.requiredAttrs))),r}var Zh=Xk,Jk=/^idrefs?$/;function Qh(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=Je(e.getAttribute(i)||"");if(o){var s=dt(nr(o)),l;try{for(s.s();!(l=s.n()).done;){var d=l.value;t.has(d)?t.get(d).push(e):t.set(d,[e]);}}catch(g){s.e(g);}finally{s.f();}}}}for(var f=0;f<e.childNodes.length;f++)e.childNodes[f].nodeType===1&&Qh(e.childNodes[f],t,r);}function Kk(e){var t;e=e.actualNode||e;var r=Qt(e);r=r.documentElement||r;var n=et.get("idRefsByRoot",function(){return new Map}),a=n.get(r);if(!a){a=new Map,n.set(r,a);var i=Object.keys(ht.ariaAttrs).filter(function(o){var s=ht.ariaAttrs[o].type;return Jk.test(s)});Qh(r,a,i);}return (t=a.get(e.id))!==null&&t!==void 0?t:[]}var Nu=Kk;function Yk(e,t){var r=e instanceof Xt?e:nt(e),n=Nr(r),a=mn(r);return Array.isArray(a.allowedRoles)?a.allowedRoles.includes(t):t===n?false:!!a.allowedRoles}var eg=Yk,Zk=["doc-backlink","doc-biblioentry","doc-biblioref","doc-cover","doc-endnote","doc-glossref","doc-noteref"],Qk={header:"banner",footer:"contentinfo"};function eS(e){var t=[];if(!e)return t;if(e.hasAttr("role")){var r=nr(e.attr("role").toLowerCase());t=t.concat(r);}return t.filter(function(n){return ti(n)})}function tS(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:true,r=pt(e),n=r.vNode;if(!Eu(n))return [];var a=n.props.nodeName,i=Nr(n)||Qk[a],o=eS(n);return o.filter(function(s){return !rS(s,n,t,i)})}function rS(e,t,r,n){return r&&e===n?true:Zk.includes(e)&&Rr(e)!==n?false:eg(t,e)}var tg=tS;function nS(e){return Object.keys(ht.ariaRoles).filter(function(t){return ht.ariaRoles[t].type===e})}var ia=nS;function aS(e){return ia(e)}var iS=aS;function oS(){return et.get("ariaRolesNameFromContent",function(){return Object.keys(ht.ariaRoles).filter(function(e){return ht.ariaRoles[e].nameFromContent})})}var qu=oS;function sS(){return qu()}var lS=sS,rg=function(t){return t===null},er=function(t){return t!==null},Qr={};Qr.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}},Qr.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"],Qr.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:er}}]},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:er}}]},"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:er}}]},"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:er}}]},"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:er}}]},"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:er}}]},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:er}}]},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:er}}]},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:er}}]},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:er}}]},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:er}}]},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:er}}]},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:er}}]},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:er}}]},widget:{type:"abstract",unsupported:false},window:{nameFrom:["author"],type:"abstract",unsupported:false}},Qr.implicitHtmlRole=Kl,Qr.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:er}},{nodeName:"input",properties:{type:["color","data","datatime","file","hidden","month","number","password","range","reset","submit","time","week"]}},{nodeName:"link",attributes:{href:er}},{nodeName:"menu",attributes:{type:"context"}},{nodeName:"menuitem",attributes:{type:["command","checkbox","radio"]}},{nodeName:"select",condition:function(t){return t instanceof m.AbstractVirtualNode||(t=m.utils.getNodeFromTree(t)),Number(t.attr("size"))>1},properties:{multiple:true}},{nodeName:["clippath","cursor","defs","desc","feblend","fecolormatrix","fecomponenttransfer","fecomposite","feconvolvematrix","fediffuselighting","fedisplacementmap","fedistantlight","fedropshadow","feflood","fefunca","fefuncb","fefuncg","fefuncr","fegaussianblur","feimage","femerge","femergenode","femorphology","feoffset","fepointlight","fespecularlighting","fespotlight","fetile","feturbulence","filter","hatch","hatchpath","lineargradient","marker","mask","meshgradient","meshpatch","meshrow","metadata","mpath","pattern","radialgradient","solidcolor","stop","switch","view"]}],Qr.elementsAllowedAnyRole=[{nodeName:"a",attributes:{href:rg}},{nodeName:"img",attributes:{alt:rg}},{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"]}],Qr.evaluateRoleForElement={A:function(t){var r=t.node,n=t.out;return r.namespaceURI==="http://www.w3.org/2000/svg"?true:r.href.length?n:true},AREA:function(t){var r=t.node;return !r.href},BUTTON:function(t){var r=t.node,n=t.role,a=t.out;return r.getAttribute("type")==="menu"?n==="menuitem":a},IMG:function(t){var r=t.node,n=t.role,a=t.out;switch(r.alt){case null:return a;case "":return n==="presentation"||n==="none";default:return n!=="presentation"&&n!=="none"}},INPUT:function(t){var r=t.node,n=t.role,a=t.out;switch(r.type){case "button":case "image":return a;case "checkbox":return n==="button"&&r.hasAttribute("aria-pressed")?true:a;case "radio":return n==="menuitemradio";case "text":return n==="combobox"||n==="searchbox"||n==="spinbutton";case "tel":return n==="combobox"||n==="spinbutton";case "url":case "search":case "email":return n==="combobox";default:return false}},LI:function(t){var r=t.node,n=t.out,a=m.utils.matchesSelector(r,"ol li, ul li");return a?n:true},MENU:function(t){var r=t.node;return r.getAttribute("type")!=="context"},OPTION:function(t){var r=t.node,n=m.utils.matchesSelector(r,"select > option, datalist > option, optgroup > option");return !n},SELECT:function(t){var r=t.node,n=t.role;return !r.multiple&&r.size<=1&&n==="menu"},SVG:function(t){var r=t.node,n=t.out;return r.parentNode&&r.parentNode.namespaceURI==="http://www.w3.org/2000/svg"?true:n}},Qr.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 ng=Qr;function uS(e){var t=null,r=ng.role[e];return r&&r.implicit&&(t=Xr(r.implicit)),t}var cS=uS;function dS(e){return !!Nu(e).length}var rs=dS;function Bu(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.popupRoles,n=rt(e);if(r??(r=sm["aria-haspopup"].values),!r.includes(n))return false;var a=fS(e);if(ag(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=Xa(e.actualNode),s=o.querySelectorAll('[aria-owns~="'.concat(i,`"][role~="combobox"]:not(select),
430
- [aria-controls~="`).concat(i,'"][role~="combobox"]:not(select)'));return Array.from(s).some(ag)}var ag=function(t){return t&&rt(t)==="combobox"};function fS(e){for(;e=e.parent;)if(rt(e,{noPresentational:true})!==null)return e;return null}function pS(e){return e=nt(e),Oo(e)}var ig=pS;function mS(e){var t=ht.ariaRoles[e];return !t||!Array.isArray(t.requiredAttrs)?[]:ie(t.requiredAttrs)}var og=mS;function hS(e){var t=ht.ariaRoles[e];return !t||!Array.isArray(t.requiredContext)?null:ie(t.requiredContext)}var Hu=hS;function gS(e){var t=ht.ariaRoles[e];return !t||!Array.isArray(t.requiredOwned)?null:ie(t.requiredOwned)}var Vu=gS;function vS(e,t){e=e instanceof Xt?e:nt(e);var r,n,a=e.attr(t),i=ht.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=nr(a),n.reduce(function(l,d){return l&&i.values.includes(d)},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 Or(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 sg=vS;function bS(e){var t=ht.ariaAttrs[e];return !!t}var ns=bS;function yS(e){var t=Lu(e),r=this,n=[];t.forEach(function(s){var l=s.getAttribute("headers");l&&(n=n.concat(l.split(/\s+/)));var d=s.getAttribute("aria-labelledby");d&&(n=n.concat(d.split(/\s+/)));});var a=t.filter(function(s){return Je(s.textContent)===""?false:s.nodeName.toUpperCase()==="TH"||["rowheader","columnheader"].indexOf(st(s))!==-1}),i=Yr(e),o=true;return a.forEach(function(s){if(!(s.getAttribute("id")&&n.includes(s.getAttribute("id")))){var l=Mo(s,i),d=false;ra(s)&&(d=Ou("down",l,i).find(function(f){return !ra(f)&&es(f,i).includes(s)})),!d&&na(s)&&(d=Ou("right",l,i).find(function(f){return !na(f)&&es(f,i).includes(s)})),d||r.relatedNodes(s),o=o&&d;}}),o?true:void 0}var wS=yS,di=["cell-header-not-in-table","cell-header-not-th","header-refs-self","empty-hdrs"],lg=di[0],ug=di[1],cg=di[2],$u=di[3];function xS(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]=rt(o));}var l=W(W(W(W({},cg,new Set),lg,new Set),ug,new Set),$u,new Set);t.forEach(function(A){if(!(!A.hasAttribute("headers")||!Lt(A))){var k=A.getAttribute("headers").trim();if(!k){l[$u].add(A);return}var O=A.getAttribute("id"),V=nr(k);V.forEach(function(G){O&&G===O?l[cg].add(A):r[G]?["columnheader","rowheader"].includes(r[G])||l[ug].add(A):l[lg].add(A);});}});var d=dt(di),f;try{for(d.s();!(f=d.n()).done;){var g=f.value;if(l[g].size>0)return this.relatedNodes(ie(l[g])),g===$u?void 0:(this.data({messageKey:g}),!1)}}catch(A){d.e(A);}finally{d.f();}return true}function AS(e){var t=[],r=Lu(e),n=Yr(e);return r.forEach(function(a){if(Bo(a)&&Jh(a)&&!ig(a)){var i=es(a,n).some(function(o){return o!==null&&!!Bo(o)});i||t.push(a);}}),t.length?(this.relatedNodes(t),false):true}var _S=AS;function DS(e,t){var r=e.getAttribute("scope").toLowerCase();return t.values.indexOf(r)!==-1}var ES=DS,CS=kS;function kS(e,t,r){if(r.children!==void 0){var n=r.attr("summary"),a=r.children.find(SS),i=a?Je(hn(a)):false;return !i||!n?false:Je(n).toLowerCase()===Je(i).toLowerCase()}}function SS(e){return e.props.nodeName==="caption"}function TS(e){return Zm(p)?e.nodeName.toUpperCase()==="TH":true}var RS=TS;function FS(e){var t=Yr(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 IS=FS;function MS(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=hn(n,{includeHidden:!0}).trim();if(a==="")return this.data({messageKey:"emptyTitle"}),!1}catch{return}return true}}var PS=MS,dg={};_r(dg,{getAriaRolesByType:function(){return ia},getAriaRolesSupportingNameFromContent:function(){return qu},getElementSpec:function(){return mn},getElementsByContentType:function(){return Ul},getGlobalAriaAttrs:function(){return pn},implicitHtmlRoles:function(){return Kl}});function LS(e,t,r){var n=st(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=rt(r);if(["presentation","none"].includes(a))return this.data({role:a}),true;if(!["presentation","none"].includes(n))return false;var i=pn().some(function(l){return r.hasAttr(l)}),o=$t(r),s;return i&&!o?s="globalAria":!i&&o?s="focusable":s="both",this.data({messageKey:s,role:a}),false}function OS(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 NS=OS;function qS(e){return cr(e)}var BS=qS;function HS(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,d=t.multiLineOnly;if(!l&&e.style.getPropertyPriority(r)!=="important"||d&&!eh(e))return true;var f={};typeof a=="number"&&(f.minValue=a),typeof i=="number"&&(f.maxValue=i);var g=e.style.getPropertyValue(r);if(["inherit","unset","revert","revert-layer"].includes(g))return this.data(Y({value:g},f)),true;var A=VS(e,{absoluteValues:n,cssProperty:r,normalValue:s});if(this.data(Y({value:A},f)),typeof A=="number")return (typeof a!="number"||A>=a)&&(typeof i!="number"||A<=i)}function VS(e,t){var r=t.cssProperty,n=t.absoluteValues,a=t.normalValue,i=c.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")),d=Math.round(s/l*100)/100;return isNaN(d)?o:d}function $S(e,t,r){var n=r.props.nodeName;return ["img","input","area"].includes(n)?r.hasAttr("alt"):false}var jS=$S;function zS(){}var GS=zS;function WS(){var e=p.title;return !!Je(e)}var US=WS;function XS(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 JS=XS;function KS(e,t,r){try{return !!Je(Qa(r))}catch{return}}var YS=KS;function ZS(e,t,r){return !!Je(ei(r))}var QS=ZS;function eT(e){var t=e.getAttribute("id").trim();if(!t)return true;var r=Qt(e),n=Array.from(r.querySelectorAll('[id="'.concat(qt(t),'"]'))).filter(function(a){return a!==e});return n.length&&this.relatedNodes(n),this.data(t),n.length===0}var tT=eT;function rT(e){var t=[];return e.filter(function(r){return t.indexOf(r.data)===-1?(t.push(r.data),true):false})}var nT=rT;function aT(e,t,r){var n=Je(r.attr("title")).toLowerCase();return this.data(n),true}var iT=aT;function oT(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 sT=oT;function lT(e){var t=$l(e,"href");return t?Lt(t)||void 0:false}var uT=lT,cT=["alert","log","status"];function dT(e,t,r){this.data({isIframe:["iframe","frame"].includes(r.props.nodeName)});var n=et.get("regionlessNodes",function(){return fT(t)});return !n.includes(r)}function fT(e){var t=fg(m._tree[0],e).map(function(r){for(;r.parent&&!r.parent._hasRegionDescendant&&r.parent.actualNode!==p.body;)r=r.parent;return r}).filter(function(r,n,a){return a.indexOf(r)===n});return t}function fg(e,t){var r=e.actualNode;if(rt(e)==="button"||mT(e,t)||["iframe","frame"].includes(e.props.nodeName)||fu(e.actualNode)&&$l(e.actualNode,"href")||!Lt(r)){for(var n=e;n;)n._hasRegionDescendant=true,n=n.parent;return ["iframe","frame"].includes(e.props.nodeName)?[e]:[]}else return r!==p.body&&Bo(r,true)&&!pT(e)?[e]:e.children.filter(function(a){var i=a.actualNode;return i.nodeType===1}).map(function(a){return fg(a,t)}).reduce(function(a,i){return a.concat(i)},[])}function pT(e){return ["none","presentation"].includes(rt(e))&&!qo(e)}function mT(e,t){var r=e.actualNode,n=rt(e),a=(r.getAttribute("aria-live")||"").toLowerCase().trim(),i=ia("landmark");return !!(["assertive","polite"].includes(a)||cT.includes(n)||i.includes(n)||t.regionMatcher&&ri(e,t.regionMatcher))}function hT(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=dt(t),i;try{for(a.s();!(i=a.n()).done;){var o=i.value;if(ku(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 gT=hT;function vT(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 bT(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 ju(e){var t=c.getComputedStyle(bT(e));return {fontWeight:vT(t.getPropertyValue("font-weight")),fontSize:parseInt(t.getPropertyValue("font-size")),isItalic:t.getPropertyValue("font-style")==="italic"}}function pg(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 yT(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(G){return G.nodeName.toUpperCase()==="P"}),s=n.slice(0,a).reverse().find(function(G){return G.nodeName.toUpperCase()==="P"}),l=ju(e),d=o?ju(o):null,f=s?ju(s):null,g=t.passLength,A=t.failLength,k=e.textContent.trim().length,O=o?.textContent.trim().length;if(k>O*g||!d||!pg(l,d,i))return true;var V=Qn(r,"blockquote");if(!(V&&V.nodeName.toUpperCase()==="BLOCKQUOTE")&&!(f&&!pg(l,f,i))&&!(k>O*A))return false}var wT=yT,xT=/[;,\s]/,AT=/^[0-9.]+$/;function _T(e,t,r){var n=t||{},a=n.minDelay,i=n.maxDelay,o=(r.attr("content")||"").trim(),s=o.split(xT),l=Se(s,1),d=l[0];if(!d.match(AT))return true;var f=parseFloat(d);return this.data({redirectDelay:f}),typeof a=="number"&&f<=t.minDelay||typeof i=="number"&&f>t.maxDelay}function DT(e,t,r){var n=pr(r,"a[href]");return n.some(function(a){return /^#[^/!]/.test(a.attr("href"))})}var ET=DT,mg={};_r(mg,{aria:function(){return Yh},color:function(){return hg},dom:function(){return Rl},forms:function(){return kg},matches:function(){return ri},math:function(){return Vp},standards:function(){return dg},table:function(){return Uh},text:function(){return Za},utils:function(){return Vs}});var hg={};_r(hg,{Color:function(){return Ot},centerPointOfRect:function(){return kT},elementHasImage:function(){return Ho},elementIsDistinct:function(){return vg},filteredRectStack:function(){return FT},flattenColors:function(){return $r},flattenShadowColors:function(){return Gu},getBackgroundColor:function(){return pi},getBackgroundStack:function(){return Wu},getContrast:function(){return oa},getForegroundColor:function(){return os},getOwnBackgroundColor:function(){return Mn},getRectStack:function(){return bg},getStackingContext:function(){return Xu},getStrokeColorsFromShadows:function(){return Uu},getTextShadowColors:function(){return is},hasValidContrastRatio:function(){return QT},incompleteData:function(){return Tt},parseTextShadows:function(){return xg},stackingContextToColor:function(){return fi}});function CT(e){if(!(e.left>c.innerWidth)&&!(e.top>c.innerHeight)){var t=Math.min(Math.ceil(e.left+e.width/2),c.innerWidth-1),r=Math.min(Math.ceil(e.top+e.height/2),c.innerHeight-1);return {x:t,y:r}}}var kT=CT;function gg(e){return e.getPropertyValue("font-family").split(/[,;]/g).map(function(t){return t.trim().toLowerCase()})}function ST(e,t){var r=c.getComputedStyle(e);if(r.getPropertyValue("background-image")!=="none")return true;var n=["border-bottom","border-top","outline"].reduce(function(s,l){var d=new Ot;return d.parseString(r.getPropertyValue(l+"-color")),s||r.getPropertyValue(l+"-style")!=="none"&&parseFloat(r.getPropertyValue(l+"-width"))>0&&d.alpha!==0},false);if(n)return true;var a=c.getComputedStyle(t);if(gg(r)[0]!==gg(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 vg=ST;function TT(e){var t=am(e),r=ou(e);return !r||r.length<=1?[t]:r.some(function(n){return n===void 0})?null:(r.splice(0,0,t),r)}var bg=TT;function RT(e){var t=bg(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,d){return l===s[d]})||r.includes(e);}}),n?t[0]:(Tt.set("bgColor","elmPartiallyObscuring"),null)}return Tt.set("bgColor","outsideViewport"),null}var FT=RT,IT=["hue","saturation","color","luminosity"],yg={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 $r(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"normal",n=PT(t,e,r),a=zu(e.red,e.alpha,t.red,t.alpha,n.r*255),i=zu(e.green,e.alpha,t.green,t.alpha,n.g*255),o=zu(e.blue,e.alpha,t.blue,t.alpha,n.b*255),s=MT(e.alpha+t.alpha*(1-e.alpha),0,1);if(s===0)return new Ot(a,i,o,s);var l=Math.round(a/s),d=Math.round(i/s),f=Math.round(o/s);return new Ot(l,d,f,s)}function zu(e,t,r,n,a){return t*(1-n)*e+t*n*a+(1-t)*n*r}function MT(e,t,r){return Math.min(Math.max(t,e),r)}function PT(e,t,r){if(IT.includes(r))return yg[r](e,t);var n=new Ot;return ["r","g","b"].forEach(function(a){n[a]=yg[r](e[a],t[a]);}),n}function Gu(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 Ot(n,a,i,o)}function Wu(e){for(var t=ou(e).map(function(a){return a=th(a,e),a=LT(a),a}),r=0;r<t.length;r++){var n=t[r];if(n[0]!==e)return Tt.set("bgColor","bgOverlap"),null;if(r!==0&&!OT(n,t[0]))return Tt.set("bgColor","elmPartiallyObscuring"),null}return t[0]||null}function LT(e){var t=e.indexOf(p.body),r=e,n=Mn(c.getComputedStyle(p.documentElement));if(t>1&&n.alpha===0&&!Ho(p.documentElement)){t>1&&(r.splice(t,1),r.push(p.body));var a=r.indexOf(p.documentElement);a>0&&(r.splice(a,1),r.push(p.documentElement));}return r}function OT(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 NT=.54,as=.5,qT=1.5,wg=["top","right","bottom","left"];function Uu(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.ignoreEdgeCount,n=r===void 0?false:r,a=BT(e),i=Object.entries(a).map(function(o){var s=Se(o,2),l=s[0],d=s[1],f=wg.filter(function(g){return d[g].length!==0}).length;return {colorStr:l,sides:d,edgeCount:f}});return !n&&i.some(function(o){var s=o.edgeCount;return s>1&&s<4})?null:i.map(HT).filter(function(o){return o!==null})}function BT(e){var t={},r=dt(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],d=Se(s,2),f=d[0],g=d[1];f>as?l.right.push(f):-f>as&&l.left.push(-f),g>as?l.bottom.push(g):-g>as&&l.top.push(-g);}}catch(A){r.e(A);}finally{r.f();}return t}function HT(e){var t=e.colorStr,r=e.sides,n=e.edgeCount;if(n!==4)return null;var a=new Ot;a.parseString(t);var i=0,o=true;return wg.forEach(function(s){i+=r[s].length/4,o&&(o=r[s].every(function(l){return l>qT}));}),o||(a.alpha=1-Math.pow(NT,i)),a}function xg(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)mt(!t.colorStr,"Multiple colors identified in text-shadow: ".concat(e)),r=r.replace(a[0],"").trim(),t.colorStr=a[0];else if(i){mt(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]===",")mt(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 is(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.minRatio,n=t.maxRatio,a=t.ignoreEdgeCount,i=[],o=c.getComputedStyle(e),s=o.getPropertyValue("text-shadow");if(s==="none")return i;var l=o.getPropertyValue("font-size"),d=parseInt(l);mt(isNaN(d)===false,"Unable to determine font-size value ".concat(l));var f=[],g=xg(s),A=dt(g),k;try{for(A.s();!(k=A.n()).done;){var O=k.value,V=O.colorStr||o.getPropertyValue("color"),G=Se(O.pixels,3),U=G[0],X=G[1],te=G[2],re=te===void 0?0:te;if(!(n&&re>=d*n)){if(r&&re<d*r){f.push({colorStr:V,pixels:O.pixels});continue}if(f.length>0){var ae=Uu(f,{ignoreEdgeCount:a});if(ae===null)return null;i.push.apply(i,ie(ae)),f.splice(0,f.length);}var ce=VT({colorStr:V,offsetX:U,offsetY:X,blurRadius:re,fontSize:d});i.push(ce);}}}catch(we){A.e(we);}finally{A.f();}if(f.length>0){var ge=Uu(f,{ignoreEdgeCount:a});if(ge===null)return null;i.push.apply(i,ie(ge));}return i}function VT(e){var t=e.colorStr,r=e.offsetX,n=e.offsetY,a=e.blurRadius,i=e.fontSize;if(r>a||n>a)return new Ot(0,0,0,0);var o=new Ot;return o.parseString(t),o.alpha*=$T(a,i),o}function $T(e,t){if(e===0)return 1;var r=e/t;return .185/(r+.4)}function Xu(e,t){var r=nt(e);if(r._stackingContext)return r._stackingContext;var n=[],a=new Map;return t=t??Wu(e),t.forEach(function(i){var o,s=nt(i),l=GT(s),d=s._stackingOrder.filter(function(A){var k=A.vNode;return !!k});d.forEach(function(A,k){var O,V=A.vNode,G=(O=d[k-1])===null||O===void 0?void 0:O.vNode,U=_g(a,V,G);k===0&&!a.get(V)&&n.unshift(U),a.set(V,U);});var f=(o=d[d.length-1])===null||o===void 0?void 0:o.vNode,g=_g(a,s,f);d.length||n.unshift(g),g.bgColor=l;}),r._stackingContext=n,n}function fi(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(jT,Ag()),a=$r(n,e.bgColor,e.descendants[0].blendMode);return a.alpha*=e.opacity,{color:a,blendMode:e.blendMode}}function jT(e,t){var r;e instanceof Ot?r=e:r=fi(e).color;var n=fi(t).color;return $r(n,r,t.blendMode)}function Ag(e,t){var r;return {vNode:e,ancestor:t,opacity:parseFloat((r=e?.getComputedStylePropertyValue("opacity"))!==null&&r!==void 0?r:1),bgColor:new Ot(0,0,0,0),blendMode:zT(e?.getComputedStylePropertyValue("mix-blend-mode")),descendants:[]}}function zT(e){return e||void 0}function _g(e,t,r){var n,a=e.get(r),i=(n=e.get(t))!==null&&n!==void 0?n:Ag(t,a);return a&&r!==t&&!a.descendants.includes(i)&&a.descendants.unshift(i),i}function GT(e){var t=new Ot;return t.parseString(e.getComputedStylePropertyValue("background-color")),t}function pi(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:.1,n=nt(e),a=n._cache.getBackgroundColor;if(a)return t.push.apply(t,ie(a.bgElms)),Tt.set("bgColor",a.incompleteData),a.bgColor;var i=WT(e,t,r);return n._cache.getBackgroundColor={bgColor:i,bgElms:t,incompleteData:Tt.get("bgColor")},i}function WT(e,t,r){var n,a,i=Wu(e);if(!i)return null;var o=iu(e),s=(n=is(e,{minRatio:r,ignoreEdgeCount:true}))!==null&&n!==void 0?n:[];s.length&&(s=[{color:s.reduce(Gu)}]);for(var l=0;l<i.length;l++){var d=i[l],f=c.getComputedStyle(d);if(Ho(d,f))return t.push(d),null;var g=void 0;try{if(g=Mn(f),g.alpha===0)continue}catch(V){if(V&&Tt.get("colorParse"))return null;throw V}if(f.getPropertyValue("display")!=="inline"&&!Dg(d,o))return t.push(d),Tt.set("bgColor","elmPartiallyObscured"),null;if(t.push(d),g.alpha===1)break}var A=Xu(e,i);s=A.map(fi).concat(s);var k=UT(e,i.includes(p.body));if((a=s).unshift.apply(a,ie(k)),s.length===0)return new Ot(255,255,255,1);var O=s.reduce(function(V,G){return $r(G.color,V.color instanceof Ot?V.color:V,G.blendMode)});return $r(O.color instanceof Ot?O.color:O,new Ot(255,255,255,1))}function Dg(e,t){t=Array.isArray(t)?t:[t];var r=e.getBoundingClientRect(),n=r.right,a=r.bottom,i=c.getComputedStyle(e),o=i.getPropertyValue("overflow"),s=parseInt(i.getPropertyValue("padding-left"),10),l=parseInt(i.getPropertyValue("padding-right"),10),d=parseInt(i.getPropertyValue("padding-top"),10),f=parseInt(i.getPropertyValue("padding-bottom"),10);return (["scroll","auto"].includes(o)||e instanceof c.HTMLHtmlElement)&&(n=r.left+e.scrollWidth+s+l,a=r.top+e.scrollHeight+d+f),t.every(function(g){return g.top>=r.top&&g.bottom<=a&&g.left>=r.left&&g.right<=n})}function Eg(e){return e||void 0}function UT(e,t){var r=[];if(!t){var n=p.documentElement,a=p.body,i=c.getComputedStyle(n),o=c.getComputedStyle(a),s=Mn(i),l=Mn(o),d=l.alpha!==0&&Dg(a,e.getBoundingClientRect());(l.alpha!==0&&s.alpha===0||d&&l.alpha!==1)&&r.unshift({color:l,blendMode:Eg(o.getPropertyValue("mix-blend-mode"))}),s.alpha!==0&&(!d||d&&l.alpha!==1)&&r.unshift({color:s,blendMode:Eg(i.getPropertyValue("mix-blend-mode"))});}return r}function XT(e,t){if(!t||!e)return null;t.alpha<1&&(t=$r(t,e));var r=e.getRelativeLuminance(),n=t.getRelativeLuminance();return (Math.max(n,r)+.05)/(Math.min(n,r)+.05)}var oa=XT;function os(e,t,r){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},a=c.getComputedStyle(e),i=[function(){return KT(a,n)},function(){return JT(a)},function(){return is(e,{minRatio:0})}],o=[];try{for(var s=0,l=i;s<l.length;s++){var d=l[s],f=d();if(f&&(o=o.concat(f),f.alpha===1))break}}catch(V){if(V&&Tt.get("colorParse"))return null;throw V}var g=o.reduce(function(V,G){return $r(V,G)});if(r??(r=pi(e,[])),r===null){var A=Tt.get("bgColor");return Tt.set("fgColor",A),null}var k=Xu(e),O=Cg(k,e);return $r(YT(g,O,k),new Ot(255,255,255,1))}function JT(e){return new Ot().parseString(e.getPropertyValue("-webkit-text-fill-color")||e.getPropertyValue("color"))}function KT(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 Ot().parseString(s)}function YT(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(fi);if(!i.length){t=t.ancestor;continue}var o=i.reduce(function(s,l){return $r(l.color,s.color instanceof Ot?s.color:s)},{color:new Ot(0,0,0,0),blendMode:"normal"});e=$r(e,o),t=t.ancestor;}return e}function Cg(e,t){var r=dt(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=Cg(i.descendants,t);if(o)return o}}catch(s){r.e(s);}finally{r.f();}}function ZT(e,t,r,n){var a=oa(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 QT=ZT,kg={};_r(kg,{isAriaCombobox:function(){return Mm},isAriaListbox:function(){return Im},isAriaRange:function(){return Pm},isAriaTextbox:function(){return Fm},isDisabled:function(){return mi},isNativeSelect:function(){return Rm},isNativeTextbox:function(){return Tm}});var e5=["fieldset","button","select","input","textarea"];function Sg(e){var t=e._isDisabled;if(typeof t=="boolean")return t;var r=e.props.nodeName,n=e.attr("aria-disabled");return e5.includes(r)&&e.hasAttr("disabled")?t=true:n?t=n.toLowerCase()==="true":e.parent?t=Sg(e.parent):t=false,e._isDisabled=t,t}var mi=Sg;function t5(e,t,r){var n=Za.accessibleTextVirtual(r),a=Za.sanitize(Za.removeUnicode(n,{emoji:true,nonBmp:true,punctuations:true})).toLowerCase();if(a){var i={name:a,urlProps:Rl.urlPropsFromAttribute(e,"href")};return this.data(i),this.relatedNodes([e]),true}}var r5=t5;function Tg(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 ye(o)!==ye(s)?false:ye(o)==="object"||ye(s)==="object"?Tg(o,s):o===s});return a}function n5(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,d=t[s],f=d.data,g=f.name,A=f.urlProps;if(n[g])return 1;var k=t.filter(function(V,G){var U=V.data;return U.name===g&&G!==s}),O=k.every(function(V){var G=V.data;return Tg(G.urlProps,A)});k.length&&!O&&(d.result=void 0),d.relatedNodes=[],(l=d.relatedNodes).push.apply(l,ie(k.map(function(V){return V.relatedNodes[0]}))),n[g]=k,r.push(d);},i=0;i<t.length;i++)a(i);return r}var a5=n5;function i5(e){var t=rt(e),r=t&&t.includes("heading"),n=e.attr("aria-level"),a=parseInt(n,10),i=e.props.nodeName.match(/h(\d)/)||[],o=Se(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 o5(){var e=et.get("headingOrder");if(e)return true;var t="h1, h2, h3, h4, h5, h6, [role=heading], iframe, frame",r=Vr(m._tree[0],t,Lt);return e=r.map(function(n){return {ancestry:[mo(n.actualNode)],level:i5(n)}}),this.data({headingOrder:e}),et.set("headingOrder",r),true}var s5=o5;function l5(e){var t=c5(e);return e.forEach(function(r){r.result=u5(r,t);}),e}function u5(e,t){var r,n,a,i,o=Rg(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 c5(e){e=ie(e),e.sort(function(r,n){var a=r.node,i=n.node;return a.ancestry.length-i.ancestry.length});var t=e.reduce(d5,[]);return t.filter(function(r){var n=r.level;return n!==-1})}function d5(e,t){var r,n=(r=t.data)===null||r===void 0?void 0:r.headingOrder,a=Fg(t.node.ancestry,1);if(!n)return e;var i=n.map(function(s){return p5(s,a)}),o=f5(e,a);return o===-1?e.push.apply(e,ie(i)):e.splice.apply(e,[o,0].concat(ie(i))),e}function f5(e,t){for(;t.length;){var r=Rg(e,t);if(r!==-1)return r;t=Fg(t,1);}return -1}function Rg(e,t){return e.findIndex(function(r){return ku(r.ancestry,t)})}function p5(e,t){var r=t.concat(e.ancestry);return Y({},e,{ancestry:r})}function Fg(e,t){return e.slice(0,e.length-t)}function m5(e,t,r){var n=t?.minSize||24,a=r.boundingClientRect;if(Kr(n*10,a))return this.data({messageKey:"large",minSize:n}),true;var i=Kr.bind(null,n),o=Ro(r),s=h5(r,o),l=g5(r,o),d=l.fullyObscuringElms,f=l.partialObscuringElms;if(s.length&&(d.length||!i(a))){this.data({minSize:n,messageKey:"contentOverflow"}),this.relatedNodes(hi(s));return}if(d.length)return this.relatedNodes(hi(d)),this.data({messageKey:"obscured"}),true;var g=xr(r)?false:void 0;if(!i(a))return this.data(Y({minSize:n},ss(a))),g;var A=y5(f);if(!A.length)return this.data(Y({minSize:n},ss(a))),true;var k=v5(r,A,n);if(!k){this.data({minSize:n,messageKey:"tooManyRects"});return}if(!i(k)){if(s.length){this.data({minSize:n,messageKey:"contentOverflow"}),this.relatedNodes(hi(s));return}var O=A.every(xr),V="partiallyObscured".concat(O?"":"NonTabbable");return this.data(Y({messageKey:V,minSize:n},ss(k))),this.relatedNodes(hi(A)),O?g:void 0}return this.data(Y({minSize:n},ss(k||a))),this.relatedNodes(hi(A)),true}function h5(e,t){return t.filter(function(r){return !Ig(r,e)&&Mg(e,r)})}function g5(e,t){var r=[],n=[],a=dt(t),i;try{for(a.s();!(i=a.n()).done;){var o=i.value;!Mg(e,o)&&Ol(e,o)&&w5(o)!=="none"&&(Ig(e,o)?r.push(o):n.push(o));}}catch(s){a.e(s);}finally{a.f();}return {fullyObscuringElms:r,partialObscuringElms:n}}function v5(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=Nl(n,a);}catch{return null}return b5(i,r)}function b5(e,t){return e.reduce(function(r,n){var a=Kr(t,r),i=Kr(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 y5(e){return e.filter(function(t){return Rr(t)==="widget"&&$t(t)})}function Ig(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 w5(e){return e.getComputedStylePropertyValue("pointer-events")}function ss(e){return {width:Math.round(e.width*10)/10,height:Math.round(e.height*10)/10}}function Mg(e,t){return Jr(e,t)&&!xr(t)}function hi(e){return e.map(function(t){var r=t.actualNode;return r})}var x5=.05;function A5(e,t,r){var n=t?.minOffset||24;if(Kr(n*10,r.boundingClientRect))return this.data({messageKey:"large",minOffset:n}),true;var a=[],i=n,o=dt(Ro(r,n)),s;try{for(o.s();!(s=o.n()).done;){var l=s.value;if(!(Rr(l)!=="widget"||!$t(l))){var d=null;try{d=jp(r,l,n/2);}catch(f){if(f.message.startsWith("splitRects")){this.data({messageKey:"tooManyRects",closestOffset:0,minOffset:n});return}throw f}d!==null&&(d=_5(d)*2,!(d+x5>=n)&&(i=Math.min(i,d),a.push(l)));}}}catch(f){o.e(f);}finally{o.f();}if(a.length===0)return this.data({closestOffset:i,minOffset:n}),true;if(this.relatedNodes(a.map(function(f){var g=f.actualNode;return g})),!a.some(xr)){this.data({messageKey:"nonTabbableNeighbor",closestOffset:i,minOffset:n});return}return this.data({closestOffset:i,minOffset:n}),xr(r)?false:void 0}function _5(e){return Math.round(e*10)/10}function D5(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 d=l.split(/[;,]/).reduce(function(g,A){var k=A.trim();if(!k)return g;var O=k.split("="),V=Se(O,2),G=V[0],U=V[1];if(!G||!U)return g;var X=G.toLowerCase().trim(),te=U.toLowerCase().trim();return X==="maximum-scale"&&te==="yes"&&(te=1),X==="maximum-scale"&&parseFloat(te)<0||(g[X]=te),g},{});if(s&&d["maximum-scale"]&&parseFloat(d["maximum-scale"])<s)return true;if(!s&&d["user-scalable"]==="no")return this.data("user-scalable=no"),false;var f=parseFloat(d["user-scalable"]);return !s&&d["user-scalable"]&&(f||f===0)&&f>-1&&f<1?(this.data("user-scalable"),false):d["maximum-scale"]&&parseFloat(d["maximum-scale"])<i?(this.data("maximum-scale"),false):true}var E5=D5;function C5(e,t,r,n){var a=n||{},i=a.cssom,o=i===void 0?void 0:i,s=t||{},l=s.degreeThreshold,d=l===void 0?0:l;if(!o||!o.length)return;for(var f=false,g=[],A=G(o),k=function(){var Ee=V[O],Te=A[Ee],Me=Te.root,je=Te.rules,Ye=je.filter(U);if(!Ye.length)return 1;Ye.forEach(function(qe){var Xe=qe.cssRules;Array.from(Xe).forEach(function(Ce){var $e=X(Ce);if($e&&Ce.selectorText.toUpperCase()!=="HTML"){var se=Array.from(Me.querySelectorAll(Ce.selectorText))||[];g=g.concat(se);}f=f||$e;});});},O=0,V=Object.keys(A);O<V.length;O++)k();if(!f)return true;return g.length&&this.relatedNodes(g),false;function G(ve){return ve.reduce(function(Ee,Te){var Me=Te.sheet,je=Te.root,Ye=Te.shadowId,qe=Ye||"topDocument";if(Ee[qe]||(Ee[qe]={root:je,rules:[]}),!Me||!Me.cssRules)return Ee;var Xe=Array.from(Me.cssRules);return Ee[qe].rules=Ee[qe].rules.concat(Xe),Ee},{})}function U(ve){var Ee=ve.type,Te=ve.cssText;return Ee!==4?false:/orientation:\s*landscape/i.test(Te)||/orientation:\s*portrait/i.test(Te)}function X(ve){var Ee=ve.selectorText,Te=ve.style;if(!Ee||Te.length<=0)return false;var Me=Te.transform||Te.webkitTransform||Te.msTransform||false;if(!Me&&!Te.rotate)return false;var je=te(Me),Ye=re("rotate",Te.rotate),qe=je+Ye;return !qe||(qe=Math.abs(qe),Math.abs(qe-180)%180<=d)?false:Math.abs(qe-90)%90<=d}function te(ve){if(!ve)return 0;var Ee=ve.match(/(rotate|rotateZ|rotate3d|matrix|matrix3d)\(([^)]+)\)(?!.*(rotate|rotateZ|rotate3d|matrix|matrix3d))/);if(!Ee)return 0;var Te=Se(Ee,3),Me=Te[1],je=Te[2];return re(Me,je)}function re(ve,Ee){switch(ve){case "rotate":case "rotateZ":return ae(Ee);case "rotate3d":var Te=Ee.split(",").map(function(qe){return qe.trim()}),Me=Se(Te,4),je=Me[2],Ye=Me[3];return parseInt(je)===0?void 0:ae(Ye);case "matrix":case "matrix3d":return ce(Ee);default:return 0}}function ae(ve){var Ee=ve.match(/(deg|grad|rad|turn)/)||[],Te=Se(Ee,1),Me=Te[0];if(!Me)return 0;var je=parseFloat(ve.replace(Me,""));switch(Me){case "rad":return ge(je);case "grad":return we(je);case "turn":return Ie(je);default:return parseInt(je)}}function ce(ve){var Ee=ve.split(",");if(Ee.length<=6){var Te=Se(Ee,2),Me=Te[0],je=Te[1],Ye=Math.atan2(parseFloat(je),parseFloat(Me));return ge(Ye)}var qe=parseFloat(Ee[8]),Xe=Math.asin(qe),Ce=Math.cos(Xe),$e=Math.acos(parseFloat(Ee[0])/Ce);return ge($e)}function ge(ve){return Math.round(ve*(180/Math.PI))}function we(ve){return ve=ve%400,ve<0&&(ve+=400),Math.round(ve/400*360)}function Ie(ve){return Math.round(360/(1/ve))}}var k5=C5;function S5(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(d){if(!d.currentSrc)return 0;var f=s(d.currentSrc);return f?f.length===1?Math.abs(d.duration-f[0]):Math.abs(f[1]-f[0]):Math.abs(d.duration-(d.currentTime||0))}function s(d){var f=d.match(/#t=(.*)/);if(f){var g=Se(f,2),A=g[1],k=A.split(",");return k.map(function(O){return /:/.test(O)?l(O):parseFloat(O)})}}function l(d){for(var f=d.split(":"),g=0,A=1;f.length>0;)g+=A*parseInt(f.pop(),10),A*=60;return parseFloat(g)}}var T5=S5;function R5(e,t){return t.isViolation?false:void 0}var F5=R5,Pg=" > ";function I5(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(Pg);return t[a]=r,true}var i=r.node.ancestry.slice(0,r.node.ancestry.length-1).flat(1/0).join(Pg);return t[i]&&(t[i].result=true),false})}var M5=I5;function P5(e,t,r){var n=pr(r,"track"),a=n.some(function(i){return (i.attr("kind")||"").toLowerCase()==="captions"});return a?false:void 0}var L5=P5;function O5(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 N5=O5;function q5(e,t,r){var n=false,a=false,i=true,o=[],s=[],l=[];return r.children.forEach(function(d){var f=d.actualNode;if(f.nodeType===3&&f.nodeValue.trim()!==""){n=true;return}if(!(f.nodeType!==1||!Lt(f))){i=false;var g=f.nodeName.toUpperCase()==="LI",A=rt(d),k=A==="listitem";!g&&!k&&o.push(f),g&&!k&&(s.push(f),l.includes(A)||l.push(A)),k&&(a=true);}}),n||o.length?(this.relatedNodes(o),true):i||a?false:(this.relatedNodes(s),this.data({messageKey:"roleNotValid",roles:l.join(", ")}),true)}var B5=q5;function H5(e,t,r){var n=["definition","term","list"],a={badNodes:[],hasNonEmptyTextNode:false},i=r.children.reduce(function(s,l){var d=l.actualNode;return d.nodeName.toUpperCase()==="DIV"&&rt(d)===null?s.concat(l.children):s.concat(l)},[]),o=i.reduce(function(s,l){var d=l.actualNode,f=d.nodeName.toUpperCase();if(d.nodeType===1&&Lt(d)){var g=st(d);(f!=="DT"&&f!=="DD"||g)&&(n.includes(g)||s.badNodes.push(d));}else d.nodeType===3&&d.nodeValue.trim()!==""&&(s.hasNonEmptyTextNode=true);return s},a);return o.badNodes.length&&this.relatedNodes(o.badNodes),!!o.badNodes.length||o.hasNonEmptyTextNode}function V5(e,t,r){var n=r.parent;if(n){var a=n.props.nodeName,i=st(n);return ["presentation","none","list"].includes(i)?true:i&&ti(i)?(this.data({messageKey:"roleNotValid"}),false):["ul","ol","menu"].includes(a)}}function $5(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=Lg(r.children);i.length;){var o,s=i.shift(),l=s.vChild,d=s.nested;if(t.divGroups&&!d&&z5(l)){if(!l.children)return;var f=Lg(l.children,true);i.push.apply(i,ie(f));continue}var g=j5(l,d,t);g&&(a.includes(g)||a.push(g),(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 j5(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,d=s.nodeType,f=s.nodeValue,g=t?"div > ":"";if(d===3&&f.trim()!=="")return g+"#text";if(d!==1||!Lt(e))return false;var A=st(e);return A?a.includes(A)?false:g+"[role=".concat(A,"]"):o.includes(l)?false:g+l}function z5(e){return e.props.nodeName==="div"&&st(e)===null}function Lg(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:false;return e.map(function(r){return {vChild:r,nested:t}})}function G5(e){var t=Jt(e),r=t.nodeName.toUpperCase(),n=st(t);return r==="DIV"&&["presentation","none",null].includes(n)&&(t=Jt(t),r=t.nodeName.toUpperCase(),n=st(t)),r!=="DL"?false:!!(!n||["presentation","none","list"].includes(n))}var W5=G5;function U5(e,t,r){var n=Ln(r.attr("lang")),a=Ln(r.attr("xml:lang"));return n===a}var X5=U5;function J5(e,t,r){var n=[];return t.attributes.forEach(function(a){var i=r.attr(a);if(typeof i=="string"){var o=Ln(i),s=t.value?!t.value.map(Ln).includes(o):!Qo(o);(o!==""&&s||i!==""&&!Je(i))&&n.push(a+'="'+r.attr(a)+'"');}}),!n.length||r.props.nodeName!=="html"&&!lu(r)?false:(this.data(n),true)}var K5=J5;function Ju(e){return (e||"").trim()!==""}function Y5(e,t,r){var n=typeof p<"u"?Ha(p):false;if(t.attributes.includes("xml:lang")&&t.attributes.includes("lang")&&Ju(r.attr("xml:lang"))&&!Ju(r.attr("lang"))&&!n)return this.data({messageKey:"noXHTML"}),false;var a=t.attributes.some(function(i){return Ju(r.attr(i))});return a?true:(this.data({messageKey:"noLang"}),false)}var Z5=Y5;function Q5(e,t,r){var n=rt(e),a=Kt(r);return a=a?a.toLowerCase():null,this.data({role:n,accessibleText:a}),this.relatedNodes([e]),true}var eR=Q5;function tR(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 rR=tR;function nR(e,t,r){var n=No(r),a=Po(r),i=r.attr("aria-describedby");return !n&&!!(a||i)}var aR=nR;function iR(e){var t=qt(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 !fn(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 Lt(s)});if(i.length>1)return;var o=Or(e,"aria-labelledby");return o.includes(i[0])?false:void 0}return false}var oR=iR;function sR(e,t){var r=Og(t),n=Og(e);return !r||!n?false:r.includes(n)}function Og(e){var t=ai(e,{emoji:true,nonBmp:true,punctuations:true});return Je(t)}function lR(e,t,r){var n,a=t?.pixelThreshold,i=(n=t?.occurrenceThreshold)!==null&&n!==void 0?n:t?.occuranceThreshold,o=Rn(e).toLowerCase(),s=Je(hn(r,{subtreeDescendant:true,ignoreIconLigature:true,pixelThreshold:a,occurrenceThreshold:i})).toLowerCase();if(!s)return true;if(!(au(o)<1||au(s)<1))return sR(s,o)}var uR=lR;function cR(e,t,r){try{var n=ur(r,"label");if(n){var a=Je(Kt(n,{inControlContext:!0,startNode:r}));return n.actualNode&&this.relatedNodes([n.actualNode]),this.data({implicitLabel:a}),!!a}return !1}catch{return}}var dR=cR;function fR(e,t,r){if(r.hasAttr("id")){if(!r.actualNode)return;var n=Qt(e),a=qt(e.getAttribute("id")),i=n.querySelector('label[for="'.concat(a,'"]'));if(i&&!Lt(i)){var o;try{o=Kt(r).trim();}catch{return}var s=o==="";return s}}return false}var pR=fR;function mR(e,t,r){var n=No(r),a=e.getAttribute("title");if(!n)return false;if(!a&&(a="",e.getAttribute("aria-describedby"))){var i=Or(e,"aria-describedby");a=i.map(function(o){return o?Rn(o):""}).join("");}return Je(a)===Je(n)}var hR=mR;function gR(e,t,r){var n=this;if(!r.attr("id"))return false;if(r.actualNode){var a=Qt(r.actualNode),i=qt(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(cr(s)){var l=Je(Rn(s,{inControlContext:!0,startNode:r}));return n.data({explicitLabel:l}),!!l}else return !0})}catch{return}}}var vR=gR;function bR(e,t,r){if(["none","presentation"].includes(rt(r)))return false;var n=ur(r,t.parentSelector);if(!n)return false;var a=qr(n,true).toLowerCase();return a===""?false:a===Kt(r).toLowerCase()}var yR=bR;function wR(e,t,r){var n=r.attr("alt"),a=/^\s+$/;return typeof n=="string"&&a.test(n)}var xR=wR;function AR(e,t,r){var n=Hr(r.attr("tabindex"));return n===null||n<=0}var _R=AR;function DR(e,t,r){if(r.children)try{var n=Ng(r);if(!n.length)return !0;var a=n.filter(ER);return a.length>0?(this.data({messageKey:"notHidden"}),this.relatedNodes(a)):this.relatedNodes(n),!1}catch{return}}function Ng(e){if(!e.children){if(e.props.nodeType===1)throw new Error("Cannot determine children");return []}var t=[];return e.children.forEach(function(r){Rr(r)==="widget"&&$t(r)?t.push(r):t.push.apply(t,ie(Ng(r)));}),t}function ER(e){var t=Hr(e.attr("tabindex"));return t!==null&&t<0}function CR(e){var t=ia("landmark"),r=Jt(e),n=rt(e);for(this.data({role:n});r;){var a=st(r);if(!a&&r.nodeName.toUpperCase()!=="FORM"&&(a=Nr(r)),a&&t.includes(a)&&!(a==="main"&&n==="complementary"))return false;r=Jt(r);}return true}var kR=CR;function SR(e,t,r){if(r.children)try{return !r.children.some(function(n){return qg(n)})}catch{return}}function qg(e){if(xr(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 qg(t)})}function TR(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||oi()?true:i.every(function(o){var s=o.getComputedStylePropertyValue("pointer-events"),l=parseInt(o.getComputedStylePropertyValue("width")),d=parseInt(o.getComputedStylePropertyValue("height"));return o.actualNode.onfocus||(l===0||d===0)&&s==="none"})?void 0:false}var RR=TR;function FR(e,t,r){if(!xr(r))return false;try{return !Kt(r)}catch{return}}var IR=FR;function MR(e,t,r){var n=r.tabbableElements.map(function(a){var i=a.actualNode;return i});if(!n||!n.length)return true;if(oi()){this.relatedNodes(n);return}return true}var PR=MR;function LR(e,t,r){if(r.hasAttr("contenteditable")&&n(r))return true;return xr(r);function n(a){var i=a.attr("contenteditable");if(i==="true"||i==="")return true;if(i==="false")return false;var o=ur(r.parent,"[contenteditable]");return o?n(o):false}}var OR=LR;function NR(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||oi()?true:i.every(function(o){var s=o.getComputedStylePropertyValue("pointer-events"),l=parseInt(o.getComputedStylePropertyValue("width")),d=parseInt(o.getComputedStylePropertyValue("height"));return o.actualNode.onfocus||(l===0||d===0)&&s==="none"})?void 0:false}var qR=NR;function BR(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 HR=BR;function VR(e,t,r){return fn(r)||(this.data(r.attr("accesskey")),this.relatedNodes([e])),true}var $R=VR;function jR(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 zR=jR;function GR(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(et.get(n)){this.data("ignored");return}et.set(n,true);var a=Vr(m._tree[0],t.selector,function(i){return Lt(i)});return typeof t.nativeScopeFilter=="string"&&(a=a.filter(function(i){return i.actualNode.hasAttribute("role")||!Qn(i,t.nativeScopeFilter)})),typeof t.role=="string"&&(a=a.filter(function(i){return rt(i)===t.role})),this.relatedNodes(a.filter(function(i){return i!==r}).map(function(i){return i.actualNode})),a.length<=1}var WR=GR;function UR(e){return e.filter(function(t){return t.data!=="ignored"})}var XR=UR;function JR(e,t,r){return ri(r,t.matcher)}var KR=JR;function YR(e,t,r){try{return Je(hn(r))!==""}catch{return}}function ZR(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&&oi())return true;var n=Vr(r,t.selector,function(a){return Lt(a)});return this.relatedNodes(n.map(function(a){return a.actualNode})),n.length>0}var QR=ZR;function eF(e){var t=e.some(function(r){return r.result===true});return t&&e.forEach(function(r){r.result=true;}),e}var tF=eF;function rF(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=!Je(n);return a?(this.data({messageKey:"emptyAttr"}),false):true}var nF=rF;function aF(e,t,r){var n=r.attr("autocomplete")||"";return zm(n,t)}var iF=aF;function oF(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};ye(t)==="object"&&Object.keys(t).forEach(function(g){i[g]||(i[g]=[]),i[g]=i[g].concat(t[g]);});var o=r.attr("autocomplete"),s=o.split(/\s+/g).map(function(g){return g.toLowerCase()}),l=s[s.length-1];if(In.stateTerms.includes(l))return true;var d=i[l],f=r.hasAttr("type")?Je(r.attr("type")).toLowerCase():"text";return f=Zo().includes(f)?f:"text",typeof d>"u"?f==="text":d.includes(f)}var sF=oF,lF=["block","list-item","table","flex","grid","inline-block"];function uF(e){if(Bg(e))return false;for(var t=Jt(e);t&&t.nodeType===1&&!Bg(t);)t=Jt(t);if(t){if(this.relatedNodes([t]),vg(e,t))return true;if(cF(e)){this.data({messageKey:"pseudoContent"});return}return false}}function Bg(e){var t=c.getComputedStyle(e).getPropertyValue("display");return lF.indexOf(t)!==-1||t.substr(0,6)==="table-"}function cF(e){for(var t=0,r=["before","after"];t<r.length;t++){var n=r[t],a=c.getComputedStyle(e,":".concat(n)),i=a.getPropertyValue("content");if(i!=="none")return true}return false}function Hg(e,t){var r=e.getRelativeLuminance(),n=t.getRelativeLuminance();return (Math.max(r,n)+.05)/(Math.min(r,n)+.05)}var dF=["block","list-item","table","flex","grid","inline-block"];function Vg(e){var t=c.getComputedStyle(e).getPropertyValue("display");return dF.indexOf(t)!==-1||t.substr(0,6)==="table-"}function fF(e,t){var r=t.requiredContrastRatio,n=t.allowSameColor;if(Vg(e))return false;for(var a=Jt(e);a&&a.nodeType===1&&!Vg(a);)a=Jt(a);if(a){this.relatedNodes([a]);var i=os(e),o=os(a),s=pi(e),l=pi(a),d=i&&o?Hg(i,o):void 0;if(d&&(d=Math.floor(d*100)/100),d&&d>=r)return true;var f=s&&l?Hg(s,l):void 0;if(f&&(f=Math.floor(f*100)/100),f&&f>=r)return true;if(!f){var g,A=(g=Tt.get("bgColor"))!==null&&g!==void 0?g:"bgContrast";this.data({messageKey:A}),Tt.clear();return}if(d)return n&&d===1&&f===1?true:d===1&&f>1?(this.data({messageKey:"bgContrast",contrastRatio:f,requiredContrastRatio:r,nodeBackgroundColor:s?s.toHexString():void 0,parentBackgroundColor:l?l.toHexString():void 0}),false):(this.data({messageKey:"fgContrast",contrastRatio:d,requiredContrastRatio:r,nodeColor:i?i.toHexString():void 0,parentColor:o?o.toHexString():void 0}),false)}}var pF=fF;function mF(e,t,r){var n=t.ignoreUnicode,a=t.ignoreLength,i=t.ignorePseudo,o=t.boldValue,s=t.boldTextPt,l=t.largeTextPt,d=t.contrastRatio,f=t.shadowOutlineEmMax,g=t.pseudoSizeThreshold;if(!cr(e))return this.data({messageKey:"hidden"}),true;var A=qr(r,false,true);if(n&&gF(A)){this.data({messageKey:"nonBmp"});return}var k=c.getComputedStyle(e),O=parseFloat(k.getPropertyValue("font-size")),V=k.getPropertyValue("font-weight"),G=parseFloat(V)>=o||V==="bold",U=Math.ceil(O*72)/96,X=G&&U<s||!G&&U<l,te=X?d.normal:d.large,re=te.expected,ae=te.minThreshold,ce=te.maxThreshold,ge=hF(r,{ignorePseudo:i,pseudoSizeThreshold:g});if(ge){this.data({fontSize:"".concat((O*72/96).toFixed(1),"pt (").concat(O,"px)"),fontWeight:G?"bold":"normal",messageKey:"pseudoContent",expectedContrastRatio:re+":1"}),this.relatedNodes(ge.actualNode);return}var we=is(e,{minRatio:.001,maxRatio:f});if(we===null){this.data({messageKey:"complexTextShadows"});return}var Ie=[],ve=pi(e,Ie,f),Ee=os(e,false,ve,t),Te=null,Me=null,je=null;if(we.length===0)Te=oa(ve,Ee);else if(Ee&&ve){je=[].concat(ie(we),[ve]).reduce(Gu);var Ye=oa(ve,Ee),qe=oa(ve,je),Xe=oa(je,Ee);Te=Math.max(Ye,qe,Xe),Te!==Ye&&(Me=qe>Xe?"shadowOnBgColor":"fgOnShadowColor");}var Ce=Te>re;if(typeof ae=="number"&&(typeof Te!="number"||Te<ae)||typeof ce=="number"&&(typeof Te!="number"||Te>ce))return this.data({contrastRatio:Te}),true;var $e=Math.floor(Te*100)/100,se,Le;ve===null?Tt.get("colorParse")?(se="colorParse",Le=Tt.get("colorParse")):se=Tt.get("bgColor"):Ce||(se=Me),Ee===null&&Tt.get("colorParse")&&(se="colorParse",Le=Tt.get("colorParse"));var _e=$e===1,Oe=A.length===1;if(_e?se=Tt.set("bgColor","equalRatio"):!Ce&&Oe&&!a&&(se="shortTextContent"),this.data({fgColor:Ee?Ee.toHexString():void 0,bgColor:ve?ve.toHexString():void 0,contrastRatio:$e,fontSize:"".concat((O*72/96).toFixed(1),"pt (").concat(O,"px)"),fontWeight:G?"bold":"normal",messageKey:se,expectedContrastRatio:re+":1",shadowColor:je?je.toHexString():void 0,colorParse:Le}),Ee===null||ve===null||_e||Oe&&!a&&!Ce){se=null,Tt.clear(),this.relatedNodes(Ie);return}return Ce||this.relatedNodes(Ie),Ce}function hF(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=$g(e.actualNode,":before"),d=$g(e.actualNode,":after");if(l+d>s)return e}while(e=e.parent)}}var $g=St(function(t,r){var n=c.getComputedStyle(t,r),a=function(l,d){return n.getPropertyValue(l)===d};if(a("content","none")||a("display","none")||a("visibility","hidden")||a("position","absolute")===false||Mn(n).alpha===0&&a("background-image","none"))return 0;var i=jg(n.getPropertyValue("width")),o=jg(n.getPropertyValue("height"));return i.unit!=="px"||o.unit!=="px"?i.value===0||o.value===0?0:1/0:i.value*o.value});function gF(e){var t={nonBmp:true},r=ru(e,t),n=Je(ai(e,t))==="";return r&&n}function jg(e){var t=/^([0-9.]+)([a-z]+)$/i,r=e.match(t)||[],n=Se(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 vF={ARTICLE:true,ASIDE:true,NAV:true,SECTION:true},bF={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 yF(e){var t=e.nodeName.toUpperCase();return vF[t]||false}function wF(e,t){var r=st(e);return r&&(bF[r]||t.roles.includes(r))||false}function xF(e,t){return wF(e,t)||yF(e)}var AF=xF;function _F(e,t,r){var n=rt(r,{dpub:true,fallback:true}),a=Wl(n);return a&&this.data(n),a}var DF=_F;function EF(e,t,r){var n=rt(r,{noImplicit:true});this.data(n);var a,i;try{a=Je(eu(r)).toLowerCase(),i=Je(Kt(r)).toLowerCase();}catch{return}if(!i&&!a)return false;if(!(!i&&a)&&i.includes(a))return false}var CF=EF;function kF(e,t,r){return $t(r)}var SF=kF;function TF(e,t,r){var n=nr(r.attr("role")),a=n.every(function(i){return !ti(i.toLowerCase(),{allowAbstract:true})});return a?(this.data(n),true):false}var RF=TF;function FF(e,t,r){var n=st(r);if(n===null)return false;var a=Rr(n);return a==="widget"||a==="composite"}var IF=FF;function MF(e,t,r){var n=pn().filter(function(a){return r.hasAttr(a)});return this.data(n),n.length>0}var PF=MF;function LF(e,t){var r=Nr(e);return !r&&t.length===2&&t.includes("none")&&t.includes("presentation")}function OF(e,t,r){var n=nr(r.attr("role"));return n.length<=1?false:LF(r,n)?void 0:true}var NF=OF;function qF(e,t,r){var n=rt(r,{dpub:true,fallback:true}),a=ht.ariaRoles[n];return a!=null&&a.deprecated?(this.data(n),true):false}function BF(e,t,r){var n,a=(n=r.attr("aria-brailleroledescription"))!==null&&n!==void 0?n:"";if(Je(a)==="")return true;var i=r.attr("aria-roledescription");return typeof i!="string"?(this.data({messageKey:"noRoleDescription"}),false):Je(i)===""?(this.data({messageKey:"emptyRoleDescription"}),false):true}function HF(e,t,r){var n,a=(n=r.attr("aria-braillelabel"))!==null&&n!==void 0?n:"";if(!a.trim())return true;try{return Je(Kt(r))!==""}catch{return}}function VF(e,t,r){t=Array.isArray(t.value)?t.value:[];var n="",a="",i=[],o=/^aria-/,s=["aria-errormessage"],l={"aria-controls":function(){var f=["false",null].includes(r.attr("aria-haspopup"))===false;return f&&(n='aria-controls="'.concat(r.attr("aria-controls"),'"'),a="controlsWithinPopup"),r.attr("aria-expanded")!=="false"&&r.attr("aria-selected")!=="false"&&f===false},"aria-current":function(f){f||(n='aria-current="'.concat(r.attr("aria-current"),'"'),a="ariaCurrent");},"aria-owns":function(){return r.attr("aria-expanded")!=="false"},"aria-describedby":function(f){f||(n='aria-describedby="'.concat(r.attr("aria-describedby"),'"'),a=m._tree&&m._tree[0]._hasShadowRoot?"noIdShadow":"noId");},"aria-labelledby":function(f){f||(n='aria-labelledby="'.concat(r.attr("aria-labelledby"),'"'),a=m._tree&&m._tree[0]._hasShadowRoot?"noIdShadow":"noId");}};if(r.attrNames.forEach(function(d){if(!(s.includes(d)||t.includes(d)||!o.test(d))){var f,g=r.attr(d);try{f=sg(r,d);}catch{n="".concat(d,'="').concat(g,'"'),a="idrefs";return}(!l[d]||l[d](f))&&!f&&(g===""&&!$F(d)?(n=d,a="empty"):i.push("".concat(d,'="').concat(g,'"')));}}),i.length)return this.data(i),false;if(n){this.data({messageKey:a,needsReview:n});return}return true}function $F(e){var t;return ((t=ht.ariaAttrs[e])===null||t===void 0?void 0:t.type)==="string"}function jF(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)&&!ns(i)&&n.push(i);}),n.length?(this.data(n),false):true}var zF=jF;function GF(e,t,r){var n=r.attrNames.filter(function(a){var i=ht.ariaAttrs[a];if(!ns(a))return false;var o=i.unsupported;return ye(o)!=="object"?!!o:!ri(e,o.exceptions)});return n.length?(this.data(n),true):false}var WF=GF;function UF(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=rt(r),a=t.supportedRoles||[];if(a.includes(n))return true;if(!(n&&n!=="presentation"&&n!=="none"))return false}var XF=UF;function zg(e,t,r,n){var a=st(e);if(r||(r=Hu(a)),!r)return null;for(var i=r.includes("group"),o=n?e:e.parent;o;){var s=rt(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 JF(e){for(var t=[],r=null;e;){if(e.getAttribute("id")){var n=qt(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 KF(e,t,r){var n=t&&Array.isArray(t.ownGroupRoles)?t.ownGroupRoles:[],a=zg(r,n);if(!a)return true;var i=JF(e);if(i){for(var o=0,s=i.length;o<s;o++)if(a=zg(nt(i[o]),n,a,true),!a)return true}return this.data(a),false}var YF=KF;function ZF(e,t,r){var n=t&&Array.isArray(t.reviewEmpty)?t.reviewEmpty:[],a=st(r,{dpub:true}),i=Vu(a);if(i===null)return true;var o=QF(r,i),s=o.filter(function(d){var f=d.role,g=d.vNode;return g.props.nodeType===1&&!i.includes(f)});if(s.length){this.relatedNodes(s.map(function(d){var f=d.vNode;return f}));var l=r.attr("aria-busy")==="true"?"aria-busy-fail":"unallowed";return this.data({messageKey:l,values:s.map(function(d){var f=d.vNode,g=d.attr;return r3(f,g)}).filter(function(d,f,g){return g.indexOf(d)===f}).join(", ")}),false}if(e3(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(n3)))return false}function QF(e,t){for(var r,n=[],a=ni(e),i=function(){if(r.props.nodeType===3&&n.push({vNode:r,role:null}),r.props.nodeType!==1||!Lt(r))return 1;var s=rt(r,{noPresentational:true}),l=t3(r),d=!!l||$t(r);if(!s&&!d||["group","rowgroup"].includes(s)&&t.some(function(g){return g===s}))a.push.apply(a,ie(r.children));else if(s||d){var f=l||"tabindex";n.push({role:s,attr:f,vNode:r});}};r=a.shift();)i();return n}function e3(e,t){return t.some(function(r){var n=r.role;return n&&e.includes(n)})}function t3(e){return pn().find(function(t){return e.hasAttr(t)})}function r3(e,t){var r=e.props,n=r.nodeName,a=r.nodeType;if(a===3)return "#text";var i=st(e,{dpub:true});return i?"[role=".concat(i,"]"):t?n+"[".concat(t,"]"):n}function n3(e){var t=e.vNode;return t.props.nodeType===3?t.props.nodeValue.trim().length>0:ii(t,false,true)}function a3(e){var t,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,a=st(n),i=n.attrNames,o=og(a);if(Array.isArray(r[a])&&(o=ui(r[a],o)),!a||!i.length||!o.length||i3(n,a)||s3(n,a)||a==="slider"&&(t=n.attr("aria-valuetext"))!==null&&t!==void 0&&t.trim())return true;var s=mn(n),l=o.filter(function(d){return !n.attr(d)&&!o3(s,d)});return l.length?(this.data(l),false):true}function i3(e,t){return t==="separator"&&!$t(e)}function o3(e,t){var r;return ((r=e.implicitAttrs)===null||r===void 0?void 0:r[t])!==void 0}function s3(e,t){return t==="combobox"&&e.attr("aria-expanded")==="false"}function l3(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=rt(r,{chromium:true,fallback:true}),o=u3(r,i,a,n),s=o.filter(function(f){return r.attrNames.includes(f)?Je(r.attr(f))!=="":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 d=hn(r,{subtreeDescendant:true});if(Je(d)==="")return true}function u3(e,t,r,n){var a=ht.ariaRoles[t];return a?a.prohibitedAttrs||[]:t||n.includes(r)||Gg(e)==="widget"?[]:["aria-label","aria-labelledby"]}var Gg=St(function(t){if(t){var r=rt(t,{noPresentational:true,chromium:true});return r?Rr(r):Gg(t.parent)}});function c3(e,t,r){var n=r.attr("aria-level"),a=parseInt(n,10);if(!(a>6))return true}var d3=c3;function f3(e,t,r){return r.attr("aria-hidden")!=="true"}var p3=f3;function m3(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 ht.ariaAttrs["aria-errormessage"].allowEmpty;var d=nr(l);if(d.length>1)return this.data({messageKey:"unsupported",values:d}),false;var f;try{f=l&&Or(r,"aria-errormessage")[0];}catch{this.data({messageKey:"idrefs",values:d});return}if(f){if(!Lt(f))return this.data({messageKey:"hidden",values:d}),false;var g=nr(r.attr("aria-describedby"));return st(f)==="alert"||f.getAttribute("aria-live")==="assertive"||f.getAttribute("aria-live")==="polite"||d.some(function(A){return g.includes(A)})}}return t.indexOf(n)===-1&&a?(this.data(nr(n)),s.call(this,n)):true}function Wg(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(f){return i.hasAttr(f)}))!==null&&t!==void 0?t:[];if(o.length===0)return true;var s=h3(i),l=s&&rt(s);if(!l||l==="treegrid")return true;var d="row".concat(o.length>1?"Plural":"Singular");return this.data({messageKey:d,invalidAttrs:o,ownerRole:l}),false}function h3(e){if(e.parent){var t='table:not([role]), [role~="treegrid"], [role~="table"], [role~="grid"]';return ur(e,t)}}function Ug(e,t,r){var n=r.props,a=n.nodeName,i=n.type,o=v3(r.attr("aria-checked"));if(a!=="input"||i!=="checkbox"||!o)return true;var s=g3(r);return o===s?true:(this.data({messageKey:"checkbox",checkState:s}),false)}function g3(e){return e.props.indeterminate?"mixed":e.props.checked?"true":"false"}function v3(e){return e?(e=e.toLowerCase(),["mixed","true"].includes(e)?e:"false"):""}var Xg={row:Wg,checkbox:Ug};function b3(e,t,r){var n=rt(r);return Xg[n]?Xg[n].call(this,e,t,r):true}function y3(e,t,r){return r.attr("aria-busy")==="true"}function w3(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(d){return d.toLowerCase()}).includes(s))return true;var l=tg(r,a);return l.length?(this.data(l),Lt(r)?false:void 0):true}var x3=w3;function A3(e,t,r){var n=[],a=rt(r),i=Zh(a);Array.isArray(t[a])&&(i=ui(t[a].concat(i)));var o=dt(r.attrNames),s;try{for(o.s();!(s=o.n()).done;){var l=s.value;ns(l)&&!i.includes(l)&&!_3(l,r.attr(l),r)&&n.push(l);}}catch(d){o.e(d);}finally{o.f();}if(!n.length)return true;if(this.data(n.map(function(d){return d+'="'+r.attr(d)+'"'})),!(!a&&!Eu(r)&&!$t(r)))return false}function _3(e,t,r){return !!(e==="aria-required"&&t==="false"||e==="aria-multiline"&&t==="false"&&r.hasAttr("contenteditable"))}function D3(e,t,r){var n=mn(r);if(!n.allowedAriaAttrs)return true;var a=st(r);if(a)return true;var i=n.allowedAriaAttrs,o=pn(),s=[],l=dt(r.attrNames),d;try{for(l.s();!(d=l.n()).done;){var f=d.value;o.includes(f)&&!i.includes(f)&&s.push(f);}}catch(A){l.e(A);}finally{l.f();}if(!s.length)return true;var g=s.length>1?"plural":"singular";return this.data({messageKey:g,nodeName:r.props.nodeName,values:s.map(function(A){return A+'="'+r.attr(A)+'"'}).join(", ")}),false}function E3(e,t,r){var n=nr(r.attr("role")).filter(function(a){return Rr(a)==="abstract"});return n.length>0?(this.data(n),true):false}var C3=E3;function k3(e){var t=Ln(e.getAttribute("lang")),r=Ln(e.getAttribute("xml:lang"));return Qo(t)&&Qo(r)}var S3=k3;function T3(e){return e.ownerDocument.defaultView.self===e.ownerDocument.defaultView.top}var R3=T3;function F3(e,t){try{var r=t.props.nodeName;return r==="svg"?!0:!!ur(t,"svg")}catch{return false}}var Ku=F3;function I3(e,t){return M3.every(function(r){return r(e,t)})}var M3=[function(e,t){return Jg(t)},function(e,t){return P3(t)},function(e,t){return !Ku(e,t)},function(e,t){return $t(t)},function(e,t){return xr(t)||!L3(t)},function(e){return !uu(e,{noLengthCompare:true,includeInlineBlock:true})}];function Jg(e){return Rr(e)==="widget"}function P3(e){return e.props.nodeName!=="area"}var L3=St(function e(t){return t!=null&&t.parent?Jg(t.parent)&&xr(t.parent)?true:e(t.parent):false});function O3(e,t){var r=rt(t);return ["treegrid","grid","table"].includes(r)}function N3(e,t){var r=t.parent;if(r.props.nodeName!=="details"||q3(t))return false;var n=r.children.find(function(a){return a.props.nodeName==="summary"});return n===t}function q3(e){var t,r=(t=e.actualNode)===null||t===void 0?void 0:t.parentElement;return r&&r!==e.parent.actualNode}function B3(e){return fu(e)&&Eo(e)}var H3=B3;function V3(e,t){return Zr(e,13)!==void 0&&Bu(t)===false&&$3(t)}function $3(e){var t=e.boundingClientRect;return pr(e,"*").some(function(r){if(!ii(r,true,true))return false;var n=[];if(qo(r)){var a;(a=n).push.apply(a,ie(j3(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 j3(e){var t=p.createRange();return t.selectNodeContents(e.actualNode),Array.from(t.getClientRects())}function z3(e,t){return Nr(t,{chromiumRoles:true})!==null}var G3=z3;function W3(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 U3=W3;function X3(e,t){var r=st(t);if(!r||["none","presentation"].includes(r))return true;var n=lm[r]||{},a=n.accessibleNameRequired;return !!(a||$t(t))}var Kg=X3,J3=function(t,r){return [Kg,K3].every(function(n){return n(t,r)})};function K3(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 Y3(e,t){return t.props.nodeName!=="html"}var Z3=Y3;function Q3(e,t){return !t.attr("role")}var eI=Q3;function tI(e,t){var r=Hr(t.attr("tabindex"));return r===null||r>=0}var rI=tI;function nI(e,t){var r=mn(t),n=r.namingMethods;return !(n&&n.length!==0||st(t)==="combobox"&&pr(t,'input:not([type="hidden"])').length||Bu(t,{popupRoles:["listbox"]}))}var aI=nI;function iI(e,t){return !(!t.hasAttr("role")||!t.attr("role").trim())}var oI=iI;function sI(e){return !(!e.currentSrc||e.hasAttribute("paused")||e.hasAttribute("muted"))}var lI=sI;function uI(e,t){var r=rt(t);return r?!!ht.ariaRoles[r].childrenPresentational:false}var cI=uI;function dI(e){var t=Je(e.innerText),r=st(e);return r&&r!=="link"||!t||!cr(e)?false:uu(e)}var fI=dI;function pI(e){return !ts(e)&&!$t(e)}var mI=pI;function hI(e,t){return gI(t)&&Lt(t)}function gI(e){var t=ia("landmark"),r=rt(e);if(!r)return false;var n=e.props.nodeName;if(n==="section"||n==="form"){var a=Kt(e);return !!a}return t.indexOf(r)>=0||r==="region"}function vI(e,t){var r="article, aside, main, nav, section";return e.hasAttribute("role")||!Qn(t,r)}var bI=vI;function yI(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 wI=yI;function xI(e,t){var r=rt(e);if(!r)return false;var n=ia("widget"),a=n.includes(r);if(!a)return false;var i=qu();return !(!i.includes(r)||!Je(ei(t))&&!Je(Qa(e))||!Je(qr(t)))}var AI=xI;function _I(e,t){return cr(t)}function DI(e){return cr(e)}function EI(e,t,r){return r.initiator}var Yg=EI;function CI(e){return Jm(e)}var kI=CI;function SI(e,t){var r=!!Kt(t);if(!r)return false;var n=rt(e);return !(n&&n!=="link")}var TI=SI;function RI(e,t){return !Ku(e,t)}var FI=RI;function II(e,t){return rt(t)==="heading"}function MI(e,t){return Nr(t,{chromium:true})!==null}var PI=MI;function LI(e){var t=e.getAttribute("title");return !!Je(t)}var OI=LI;function NI(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 qI=NI;function BI(e){var t=e.getAttribute("id").trim(),r='*[id="'.concat(qt(t),'"]'),n=Array.from(Qt(e).querySelectorAll(r));return !rs(e)&&n.every(function(a){return !$t(a)})}var HI=BI;function VI(e){return rs(e)}var $I=VI;function jI(e){var t=e.getAttribute("id").trim(),r='*[id="'.concat(qt(t),'"]'),n=Array.from(Qt(e).querySelectorAll(r));return !rs(e)&&n.some($t)}var zI=jI;function GI(e){return ts(e)}var WI=GI;function UI(e){if(ts(e)){var t=Yr(e);return t.length>=3&&t[0].length>=3&&t[1].length>=3&&t[2].length>=3}return false}var XI=UI;function JI(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)||mi(t)||Fo(t))return false;var o=["input","select","textarea"];if(o.includes(n)){var s=c.getComputedStyle(e),l=parseInt(s.getPropertyValue("text-indent"),10);if(l){var d=e.getBoundingClientRect();if(d={top:d.top,bottom:d.bottom,left:d.left+l,right:d.right+l},!pu(d,e))return false}return true}var f=Qn(t,"label");if(n==="label"||f){var g=f||e,A=f?nt(f):t;if(g.htmlFor){var k=Qt(g),O=k.getElementById(g.htmlFor),V=O&&nt(O);if(V&&mi(V))return false}var G='input:not([type="hidden"],[type="image"],[type="button"],[type="submit"],[type="reset"]), select, textarea',U=pr(A,G)[0];if(U&&mi(U))return false}for(var X=[],te=t;te;){if(te.props.id){var re=Nu(te).filter(function(Ee){return nr(Ee.getAttribute("aria-labelledby")||"").includes(te.props.id)}).map(function(Ee){return nt(Ee)});X.push.apply(X,ie(re));}te=te.parent;}if(X.length>0&&X.every(mi)||!ZI(t)||!parseFloat(t.getComputedStylePropertyValue("font-size")))return false;for(var ae=p.createRange(),ce=t.children,ge=0;ge<ce.length;ge++){var we=ce[ge];we.actualNode.nodeType===3&&Je(we.actualNode.nodeValue)!==""&&ae.selectNodeContents(we.actualNode);}var Ie=Array.from(ae.getClientRects()),ve=Ja(t);return Ie.some(function(Ee){var Te=pu(Ee,e);if(!ve.length)return Te;var Me=ve.some(function(je){return Fl(Ee,je.boundingClientRect)});return Te&&Me})}var KI=JI,YI={emoji:true,nonBmp:false,punctuations:true};function ZI(e){var t=qr(e,false,true);return t===""||ai(t,YI)===""?false:e.children.some(function(r){return r.props.nodeName==="#text"&&!nu(r)})}function QI(e,t,r){return Yg(e,t,r)?!!e.querySelector("a[href]"):true}var eM=QI;function tM(e,t){var r=t.attr("autocomplete");if(!r||Je(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=st(t),l=Hr(t.attr("tabindex"));if(l<0&&t.hasAttr("role")){var d=ht.ariaRoles[s];if(d===void 0||d.type!=="widget")return false}return !(l<0&&t.actualNode&&!cr(t)&&!Lt(t))}var rM=tM;function nM(e,t){var r=st(t);return !!Hu(r)}var aM=nM;function iM(e,t){var r=st(t,{dpub:true});return !!Vu(r)}var oM=iM;function Zg(e){return e?e.getAttribute("aria-hidden")==="true"?false:Zg(Jt(e)):true}function sM(e){return Zg(Jt(e))}var lM=sM;function uM(e,t){var r=/^aria-/;return t.attrNames.some(function(n){return r.test(n)})}var cM=uM;function dM(e,t){return st(t,{dpub:true,fallback:true})!==null}var fM=dM;function pM(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 mM=pM,hM={"abstractrole-evaluate":C3,"accesskeys-after":zR,"accesskeys-evaluate":$R,"alt-space-value-evaluate":xR,"aria-allowed-attr-elm-evaluate":D3,"aria-allowed-attr-evaluate":A3,"aria-allowed-attr-matches":mM,"aria-allowed-role-evaluate":x3,"aria-allowed-role-matches":fM,"aria-busy-evaluate":y3,"aria-conditional-attr-evaluate":b3,"aria-conditional-checkbox-attr-evaluate":Ug,"aria-conditional-row-attr-evaluate":Wg,"aria-errormessage-evaluate":m3,"aria-has-attr-matches":cM,"aria-hidden-body-evaluate":p3,"aria-hidden-focus-matches":lM,"aria-label-evaluate":QS,"aria-labelledby-evaluate":YS,"aria-level-evaluate":d3,"aria-prohibited-attr-evaluate":l3,"aria-required-attr-evaluate":a3,"aria-required-children-evaluate":ZF,"aria-required-children-matches":oM,"aria-required-parent-evaluate":YF,"aria-required-parent-matches":aM,"aria-roledescription-evaluate":XF,"aria-unsupported-attr-evaluate":WF,"aria-valid-attr-evaluate":zF,"aria-valid-attr-value-evaluate":VF,"attr-non-space-content-evaluate":nF,"autocomplete-appropriate-evaluate":sF,"autocomplete-matches":rM,"autocomplete-valid-evaluate":iF,"avoid-inline-spacing-evaluate":JS,"braille-label-equivalent-evaluate":HF,"braille-roledescription-equivalent-evaluate":BF,"bypass-matches":eM,"caption-evaluate":L5,"caption-faked-evaluate":IS,"color-contrast-evaluate":mF,"color-contrast-matches":KI,"css-orientation-lock-evaluate":k5,"data-table-large-matches":XI,"data-table-matches":WI,"deprecatedrole-evaluate":qF,"dlitem-evaluate":W5,"doc-has-title-evaluate":US,"duplicate-id-active-matches":zI,"duplicate-id-after":nT,"duplicate-id-aria-matches":$I,"duplicate-id-evaluate":tT,"duplicate-id-misc-matches":HI,"duplicate-img-label-evaluate":yR,"exists-evaluate":GS,"explicit-evaluate":vR,"fallbackrole-evaluate":NF,"focusable-content-evaluate":HR,"focusable-disabled-evaluate":qR,"focusable-element-evaluate":OR,"focusable-modal-open-evaluate":PR,"focusable-no-name-evaluate":IR,"focusable-not-tabbable-evaluate":RR,"frame-focusable-content-evaluate":SR,"frame-focusable-content-matches":qI,"frame-tested-after":M5,"frame-tested-evaluate":F5,"frame-title-has-text-matches":OI,"has-alt-evaluate":jS,"has-descendant-after":tF,"has-descendant-evaluate":QR,"has-global-aria-attribute-evaluate":PF,"has-implicit-chromium-role-matches":PI,"has-lang-evaluate":Z5,"has-text-content-evaluate":YR,"has-widget-role-evaluate":IF,"heading-matches":II,"heading-order-after":l5,"heading-order-evaluate":s5,"help-same-as-label-evaluate":hR,"hidden-content-evaluate":Hk,"hidden-explicit-label-evaluate":pR,"html-namespace-matches":FI,"html5-scope-evaluate":RS,"identical-links-same-purpose-after":a5,"identical-links-same-purpose-evaluate":r5,"identical-links-same-purpose-matches":TI,"implicit-evaluate":dR,"inline-style-property-evaluate":HS,"inserted-into-focus-order-matches":kI,"internal-link-present-evaluate":ET,"invalid-children-evaluate":$5,"invalidrole-evaluate":RF,"is-element-focusable-evaluate":SF,"is-initiator-matches":Yg,"is-on-screen-evaluate":BS,"is-visible-matches":DI,"is-visible-on-screen-matches":_I,"label-content-name-mismatch-evaluate":uR,"label-content-name-mismatch-matches":AI,"label-matches":wI,"landmark-has-body-context-matches":bI,"landmark-is-top-level-evaluate":kR,"landmark-is-unique-after":rR,"landmark-is-unique-evaluate":eR,"landmark-unique-matches":hI,"layout-table-matches":mI,"link-in-text-block-evaluate":pF,"link-in-text-block-matches":fI,"link-in-text-block-style-evaluate":uF,"listitem-evaluate":V5,"matches-definition-evaluate":KR,"meta-refresh-evaluate":_T,"meta-viewport-scale-evaluate":E5,"multiple-label-evaluate":oR,"nested-interactive-matches":cI,"no-autoplay-audio-evaluate":T5,"no-autoplay-audio-matches":lI,"no-empty-role-matches":oI,"no-explicit-name-required-matches":Kg,"no-focusable-content-evaluate":DR,"no-implicit-explicit-label-evaluate":CF,"no-naming-method-matches":aI,"no-negative-tabindex-matches":rI,"no-role-matches":eI,"non-empty-if-present-evaluate":NS,"not-html-matches":Z3,"object-is-loaded-matches":J3,"only-dlitems-evaluate":H5,"only-listitems-evaluate":B5,"p-as-heading-evaluate":wT,"p-as-heading-matches":U3,"page-no-duplicate-after":XR,"page-no-duplicate-evaluate":WR,"presentation-role-conflict-matches":G3,"presentational-role-evaluate":LS,"region-after":gT,"region-evaluate":dT,"same-caption-summary-evaluate":CS,"scope-value-evaluate":ES,"scrollable-region-focusable-matches":V3,"skip-link-evaluate":uT,"skip-link-matches":H3,"structured-dlitems-evaluate":N5,"summary-interactive-matches":N3,"svg-namespace-matches":Ku,"svg-non-empty-title-evaluate":PS,"tabindex-evaluate":_R,"table-or-grid-role-matches":O3,"target-offset-evaluate":A5,"target-size-evaluate":m5,"td-has-header-evaluate":_S,"td-headers-attr-evaluate":xS,"th-has-data-cells-evaluate":wS,"title-only-evaluate":aR,"unique-frame-title-after":sT,"unique-frame-title-evaluate":iT,"unsupportedrole-evaluate":DF,"valid-lang-evaluate":K5,"valid-scrollable-semantics-evaluate":AF,"widget-not-inline-matches":I3,"window-is-top-matches":R3,"xml-lang-mismatch-evaluate":X5,"xml-lang-mismatch-matches":S3},ls=hM;function gM(e){this.id=e.id,this.data=null,this.relatedNodes=[],this.result=null;}var Yu=gM;function Zu(e){if(typeof e=="string"){if(ls[e])return ls[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 Qg(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return (Array.isArray(e)||ye(e)!=="object")&&(e={value:e}),e}function sa(e){e&&(this.id=e.id,this.configure(e));}sa.prototype.enabled=true,sa.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 Yu(this),d=hl(l,r,a,i),f;try{f=this.evaluate.call(d,t.actualNode,s,t,n);}catch(g){t&&t.actualNode&&(g.errorNode=wr.toSpec(t)),i(g);return}d.isAsync||(l.result=f,a(l));}else a(null);},sa.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 Yu(this),d=hl(l);d.async=function(){throw new Error("Cannot run async check while in a synchronous run")};var f;try{f=this.evaluate.call(d,t.actualNode,s,t,n);}catch(g){throw t&&t.actualNode&&(g.errorNode=wr.toSpec(t)),g}return l.result=f,l},sa.prototype.configure=function(t){var r=this;(!t.evaluate||ls[t.evaluate])&&(this._internalCheck=true),t.hasOwnProperty("enabled")&&(this.enabled=t.enabled),t.hasOwnProperty("options")&&(this._internalCheck?this.options=Qg(t.options):this.options=t.options),["evaluate","after"].filter(function(n){return t.hasOwnProperty(n)}).forEach(function(n){return r[n]=Zu(t[n])});},sa.prototype.getOptions=function(t){return this._internalCheck?Sl(this.options,Qg(t||{})):t||this.options};var e1=sa;function vM(e){this.id=e.id,this.result=tt.NA,this.pageLevel=e.pageLevel,this.impact=null,this.nodes=[];}var us=vM;function sr(e,t){this._audit=t,this.id=e.id,this.selector=e.selector||"*",e.impact&&(mt(tt.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=Zu(e.matches));}sr.prototype.matches=function(){return true},sr.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&&vt.mark(n);var s=Fu(this.selector,t);return this.excludeHidden&&(r.performanceTimer&&vt.mark(i),s=s.filter(function(l){return Lt(l)}),r.performanceTimer&&(vt.mark(o),vt.measure("rule_"+this.id+"#gather_axe.utils.isVisibleToScreenReaders",i,o))),r.performanceTimer&&(vt.mark(a),vt.measure("rule_"+this.id+"#gather",n,a)),s},sr.prototype.runChecks=function(t,r,n,a,i,o){var s=this,l=Lr();this[t].forEach(function(d){var f=s._audit.checks[d.id||d],g=Go(f,s.id,n);l.defer(function(A,k){f.run(r,g,a,A,function(O){k(new Yo({ruleId:s.id,method:"".concat(f.id,"#evaluate"),errorNode:new yr(r),error:O}));});});}),l.then(function(d){d=d.filter(function(f){return f}),i({type:t,results:d});}).catch(o);},sr.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],d=Go(l,i.id,n);o.push(l.runSync(r,d,a));}),o=o.filter(function(s){return s}),{type:t,results:o}},sr.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=Lr(),s=new us(this),l;try{l=this.gatherAndMatchNodes(t,n);}catch(d){i(d);return}n.performanceTimer&&this._logGatherPerformance(l),l.forEach(function(d){o.defer(function(f,g){var A=Lr();["any","all","none"].forEach(function(k){A.defer(function(O,V){r.runChecks(k,d,n,t,O,V);});}),A.then(function(k){var O=t1(k);O&&(O.node=new yr(d),s.nodes.push(O),r.reviewOnFail&&(["any","all"].forEach(function(V){O[V].forEach(function(G){G.result===false&&(G.result=void 0);});}),O.none.forEach(function(V){V.result===true&&(V.result=void 0);}))),f();}).catch(function(k){return g(k)});});}),o.then(function(){n.performanceTimer&&r._logRulePerformance(),setTimeout(function(){a(s);},0);}).catch(function(d){n.performanceTimer&&r._logRulePerformance(),i(d);});},sr.prototype.runSync=function(t){var r=this,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};n.performanceTimer&&this._trackPerformance();var a=new us(this),i=this.gatherAndMatchNodes(t,n);return n.performanceTimer&&this._logGatherPerformance(i),i.forEach(function(o){var s=[];["any","all","none"].forEach(function(d){s.push(r.runChecksSync(d,o,n,t));});var l=t1(s);l&&(l.node=o.actualNode?new yr(o):null,a.nodes.push(l),r.reviewOnFail&&(["any","all"].forEach(function(d){l[d].forEach(function(f){f.result===false&&(f.result=void 0);});}),l.none.forEach(function(d){d.result===true&&(d.result=void 0);})));}),n.performanceTimer&&this._logRulePerformance(),a},sr.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;},sr.prototype._logGatherPerformance=function(t){kn("gather for ".concat(this.id," (").concat(t.length," nodes): ").concat(vt.timeElapsed(),"ms")),vt.mark(this._markChecksStart);},sr.prototype._logRulePerformance=function(){vt.mark(this._markChecksEnd),vt.mark(this._markEnd),vt.measure("runchecks_"+this.id,this._markChecksStart,this._markChecksEnd),vt.measure("rule_"+this.id,this._markStart,this._markEnd);};function t1(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}}sr.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&&vt.mark(a),o=o.filter(function(s){try{return n.matches(s.actualNode,s,t)}catch(l){throw new Yo({ruleId:n.id,method:"#matches",errorNode:new yr(s),error:l})}}),r.performanceTimer&&(vt.mark(i),vt.measure("rule_"+this.id+"#matches",a,i)),o};function bM(e){return wo(e).map(function(t){var r=e._audit.checks[t.id||t];return r&&typeof r.after=="function"?r:null}).filter(Boolean)}function yM(e,t){var r=[];return e.forEach(function(n){var a=wo(n);a.forEach(function(i){i.id===t&&(i.node=n.node,r.push(i));});}),r}function wM(e){return e.filter(function(t){return t.filtered!==true})}function xM(e){var t=["any","all","none"],r=e.nodes.filter(function(n){var a=0;return t.forEach(function(i){n[i]=wM(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}sr.prototype.after=function(t,r){var n=this,a=bM(this);return a.forEach(function(i){var o=yM(t.nodes,i.id),s=Go(i,n.id,r),l;try{l=i.after(o,s.options);}catch(f){var d;throw new Yo({ruleId:n.id,method:"".concat(i.id,"#after"),errorNode:(d=t.nodes)===null||d===void 0||(d=d[0])===null||d===void 0?void 0:d.node,error:f})}n.reviewOnFail&&l.forEach(function(f){var g=(n.any.includes(f.id)||n.all.includes(f.id))&&f.result===false,A=n.none.includes(f.id)&&f.result===true;(g||A)&&(f.result=void 0);}),o.forEach(function(f){delete f.node,l.indexOf(f)===-1&&(f.filtered=true);});}),t.nodes=xM(t),t},sr.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=Zu(t.matches)),t.impact&&(mt(tt.impact.includes(t.impact),"Impact ".concat(t.impact," is not a valid impact")),this.impact=t.impact);};var la=/\{\{.+?\}\}/g,AM=(function(){function e(t){Pt(this,e),this.lang="en",this.defaultConfig=t,this.standards=ht,this._init(),this._defaultLocale=null;}return We(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,d=s.fail,f=s.incomplete;r.checks[i]={pass:l,fail:d,incomplete:f};}for(var g=Object.keys(this.data.rules),A=0;A<g.length;A++){var k=g[A],O=this.data.rules[k],V=O.description,G=O.help;r.rules[k]={description:V,help:G};}for(var U=Object.keys(this.data.failureSummaries),X=0;X<U.length;X++){var te=U[X],re=this.data.failureSummaries[te],ae=re.failureMessage;r.failureSummaries[te]={failureMessage:ae};}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]=DM(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]=EM(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]=CM(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=kM(this.data.incompleteFallbackMessage,r.incompleteFallbackMessage)),r.lang&&(this.lang=r.lang);}},{key:"setAllowedOrigins",value:function(r){var n=n1();this.allowedOrigins=[];var a=dt(r),i;try{for(a.s();!(i=a.n()).done;){var o=i.value;if(o===tt.allOrigins){this.allowedOrigins=["*"];return}else o!==tt.sameOrigin?this.allowedOrigins.push(o):n&&this.allowedOrigins.push(n);}}catch(s){a.e(s);}finally{a.f();}}},{key:"_init",value:function(){var r=_M(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,a1(r.rules,this,"addRule"),a1(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 sr(r,this));}},{key:"addCheck",value:function(r){var n=r.metadata;ye(n)==="object"&&(this.data.checks[r.id]=n,ye(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 e1(r);}},{key:"run",value:function(r,n,a,i){this.normalizeOptions(n),yr.setRunOptions(n),m._selectCache=[];var o=SM(this.rules,r,n),s=o.now,l=o.later,d=Lr();s.forEach(function(A){d.defer(i1(A,r,n));});var f=Lr();l.length&&f.defer(function(A){Rh(n).then(function(k){return A(k)}).catch(function(k){console.warn("Couldn't load preload assets: ",k),A(void 0);});});var g=Lr();g.defer(d),g.defer(f),g.then(function(A){var k=A.pop();if(k&&k.length){var O=k[0];O&&(r=Y({},r,O));}var V=A[0];if(!l.length){m._selectCache=void 0,a(V.filter(function(U){return !!U}));return}var G=Lr();l.forEach(function(U){var X=i1(U,r,n);G.defer(X);}),G.then(function(U){m._selectCache=void 0,a(V.concat(U).filter(function(X){return !!X}));}).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=Ua(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 o1(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(f){i.push(f.id),f.tags.forEach(function(g){a.includes(g)||a.push(g);});}),["object","string"].includes(ye(r.runOnly))){if(typeof r.runOnly=="string"&&(r.runOnly=[r.runOnly]),Array.isArray(r.runOnly)){var o=r.runOnly.find(function(f){return a.includes(f)}),s=r.runOnly.find(function(f){return i.includes(f)});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(f){if(!i.includes(f))throw new Error("unknown rule `"+f+"` in options.runOnly")});else if(["tag","tags",void 0].includes(l.type)){l.type="tag";var d=l.values.filter(function(f){return !a.includes(f)&&!/wcag2[1-3]a{1,3}/.test(f)});d.length!==0&&m.log("Could not find tags `"+d.join("`, `")+"`");}else throw new Error("Unknown runOnly type '".concat(l.type,"'"))}return ye(r.rules)==="object"&&Object.keys(r.rules).forEach(function(f){if(!i.includes(f))throw new Error("unknown rule `"+f+"` in options.rules")}),r}},{key:"setBranding",value:function(r){var n={brand:this.brand,application:this.application};typeof r=="string"&&(this.application=r),r&&r.hasOwnProperty("brand")&&r.brand&&typeof r.brand=="string"&&(this.brand=r.brand),r&&r.hasOwnProperty("application")&&r.application&&typeof r.application=="string"&&(this.application=r.application),this._constructHelpUrls(n);}},{key:"_constructHelpUrls",value:function(){var r=this,n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,a=(m.version.match(/^[1-9][0-9]*\.[0-9]+/)||["x.y"])[0];this.rules.forEach(function(i){r.data.rules[i.id]||(r.data.rules[i.id]={});var o=r.data.rules[i.id];(typeof o.helpUrl!="string"||n&&o.helpUrl===s1(n,i.id,a))&&(o.helpUrl=s1(r,i.id,a));});}},{key:"resetRulesAndChecks",value:function(){this._init(),this._resetLocale();}}])})(),r1=AM;function n1(){if(c.origin&&c.origin!=="null")return c.origin;if(c.location&&c.location.origin&&c.location.origin!=="null")return c.location.origin}function _M(e){var t;if(e?(t=Xr(e),t.commons=e.commons):t={},t.reporter=t.reporter||null,t.noHtml=t.noHtml||false,!t.allowedOrigins){var r=n1();t.allowedOrigins=r?[r]:[];}return t.rules=t.rules||[],t.checks=t.checks||[],t.data=Y({checks:{},rules:{}},t.data),t}function a1(e,t,r){var n,a;for(n=0,a=e.length;n<a;n++)t[r](e[n]);}var DM=function(t,r){var n=r.pass,a=r.fail;return typeof n=="string"&&la.test(n)&&(n=an.default.compile(n)),typeof a=="string"&&la.test(a)&&(a=an.default.compile(a)),Y({},t,{messages:{pass:n||t.messages.pass,fail:a||t.messages.fail,incomplete:ye(t.messages.incomplete)==="object"?Y({},t.messages.incomplete,r.incomplete):r.incomplete}})},EM=function(t,r){var n=r.help,a=r.description;return typeof n=="string"&&la.test(n)&&(n=an.default.compile(n)),typeof a=="string"&&la.test(a)&&(a=an.default.compile(a)),Y({},t,{help:n||t.help,description:a||t.description})},CM=function(t,r){var n=r.failureMessage;return typeof n=="string"&&la.test(n)&&(n=an.default.compile(n)),Y({},t,{failureMessage:n||t.failureMessage})},kM=function(t,r){return typeof r=="string"&&la.test(r)&&(r=an.default.compile(r)),r||t};function SM(e,t,r){var n={now:[],later:[]},a=e.reduce(function(i,o){return Lh(o,t,r)?o.preload?(i.later.push(o),i):(i.now.push(o),i):i},n);return a}function i1(e,t,r){return r.performanceTimer&&vt.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(o1(e,i));});}}function o1(e,t){var r=t.errorNode,n=Ko(t),a=[{id:"error-occurred",result:void 0,data:n,relatedNodes:[]}],i=r||new yr(p.documentElement);return Object.assign(new us(e),{error:n,result:tt.CANTTELL,nodes:[{any:[],all:[],none:a,node:i}]})}function s1(e,t,r){var n=e.brand,a=e.application,i=e.lang;return tt.helpUrlBase+n+"/"+(r||m.version.substring(0,m.version.lastIndexOf(".")))+"/"+t+"?application="+encodeURIComponent(a)+(i&&i!=="en"?"&lang="+encodeURIComponent(i):"")}function l1(e){var t=c&&"Node"in c&&"NodeList"in c,r=!!p;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||(et.set("globalDocumentSet",true),p=e.ownerDocument),t||(et.set("globalWindowSet",true),c=p.defaultView);}}function TM(){et.get("globalDocumentSet")&&(et.set("globalDocumentSet",false),p=null),et.get("globalWindowSet")&&(et.set("globalWindowSet",false),c=null);}function RM(){TM(),m._memoizedFns.forEach(function(e){return e.clear()}),et.clear(),m._tree=void 0,m._selectorData=void 0,m._selectCache=void 0;}var bn=RM;function u1(e,t,r,n){try{e=new Wo(e),m._tree=e.flatTree,m._selectorData=po(e.flatTree);}catch(o){return bn(),n(o)}var a=Lr(),i=m._audit;t.performanceTimer&&vt.auditStart(),e.frames.length&&t.iframes!==false&&a.defer(function(o,s){xp(e,t,"rules",null,o,s);}),a.defer(function(o,s){i.run(e,t,o,s);}),a.then(function(o){try{t.performanceTimer&&vt.auditEnd();var s=xo(o.map(function(l){return {results:l}}));e.initiator&&(t.performanceTimer&&vt.mark("auditAfterStart"),s=i.after(s,t),t.performanceTimer&&(vt.mark("auditAfterEnd"),vt.measure("audit.after","auditAfterStart","auditAfterEnd"),vt.logMeasures("audit.after")),s.forEach(Jo),s=s.map(Sa));try{r(s,bn);}catch(l){bn(),kn(l);}}catch(l){bn(),n(l);}}).catch(function(o){bn(),n(o);});}function FM(e){m._audit=new r1(e);}function IM(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=[p]);var o=e&&e.options||{};switch(e.command){case "rules":return u1(i,o,function(s,l){s=wr.mapRawResults(s),n(s),l();},a);case "cleanup-plugin":return zh(n,a);default:if(m._audit&&m._audit.commands&&m._audit.commands[e.command])return m._audit.commands[e.command](e,r)}}c.top!==c&&(Tr.subscribe("axe.start",IM),Tr.subscribe("axe.ping",function(e,t,r){r({axe:true});}));function gi(e){this._run=e.run,this._collect=e.collect,this._registry={},e.commands.forEach(function(t){m._audit.registerCommand(t);});}gi.prototype.run=function(){return this._run.apply(this,arguments)},gi.prototype.collect=function(){return this._collect.apply(this,arguments)},gi.prototype.cleanup=function(t){var r=m.utils.queue(),n=this;Object.keys(this._registry).forEach(function(a){r.defer(function(i){n._registry[a].cleanup(i);});}),r.then(t);},gi.prototype.add=function(t){this._registry[t.id]=t;};function MM(e){m.plugins[e.id]=new gi(e);}var PM=MM;function LM(){var e=m._audit;if(!e)throw new Error("No audit configured");e.resetRulesAndChecks(),eD();}var OM=LM;function NM(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};r.reporter=r.reporter||m._audit.reporter||"v1",m._selectorData={},t instanceof Xt||(t=new jh(t));var n=gh(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);Jo(i),Sa(i);var o=Fd([i]);return o.violations.forEach(function(s){return s.nodes.forEach(function(l){l.failureSummary=yu(l);})}),Y({},gn(),o,{toolOptions:r})}function c1(e){var t,r,n,a=Se(e,3),i=a[0],o=a[1],s=a[2],l=new TypeError("axe.run arguments are invalid");if(!wh(i)){if(s!==void 0)throw l;s=o,o=i,i=p;}if(ye(o)!=="object"){if(s!==void 0)throw l;s=o,o={};}if(typeof s!="function"&&s!==void 0)throw l;return o=Xr(o),o.reporter=(t=(r=o.reporter)!==null&&r!==void 0?r:(n=m._audit)===null||n===void 0?void 0:n.reporter)!==null&&t!==void 0?t:"v1",{context:i,options:o,callback:s}}var Qu=function(){};function qM(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];l1(t[0]);var n=c1(t),a=n.context,i=n.options,o=n.callback,s=o===void 0?Qu:o,l=BM(s),d=l.thenable,f=l.resolve,g=l.reject;try{mt(m._audit,"No audit configured"),mt(!m._running,"Axe is already running. Use `await axe.run()` to wait for the previous run to finish before starting a new run.");}catch(O){return VM(O,s)}m._running=true,i.performanceTimer&&vt.start();function A(O,V){var G=function(te){i.performanceTimer&&(vt.mark("reporterEnd"),vt.measure("reporter","reporterStart","reporterEnd"),vt.logMeasures("reporter"),vt.end()),m._running=false,V();try{f(te);}catch(re){m.log(re);}},U=function(te){m._running=false,V();try{g(te);}catch(re){m.log(re);}};try{i.performanceTimer&&vt.mark("reporterStart"),HM(O,i,G,U);}catch(X){U(X);}}function k(O){i.performanceTimer&&vt.end(),m._running=false,s(O),g(O);}return m._runRules(a,i,A,k),d}function BM(e){var t,r,n;return typeof Promise=="function"&&e===Qu?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 HM(e,t,r,n){var a=Pu(t.reporter),i=a(e,t,r,n);i!==void 0&&r(i);}function VM(e,t){if(typeof t=="function"&&t!==Qu){t(e.message);return}throw e}function $M(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=c1(t),a=n.options,i=n.context;mt(m._audit,"Axe is not configured. Audit is missing."),mt(!m._running,"Axe is already running. Use `await axe.run()` to wait for the previous run to finish before starting a new run.");var o=new Wo(i,m._tree);return m._tree=o.flatTree,m._selectorData=po(o.flatTree),m._running=true,a.elementRef=false,new Promise(function(s,l){m._audit.run(o,a,s,l);}).then(function(s){s=wr.mapRawResults(s);var l=o.frames.map(function(f){var g=f.node;return wr.toSpec(g)}),d;return o.initiator&&(d=gn()),m._running=false,bn(),{results:s,frames:l,environmentData:d}}).catch(function(s){return m._running=false,bn(),Promise.reject(s)})}function jM(e){var t,r,n,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};a=Xr(a);var i=e.find(function(l){return l.environmentData})||{},o=i.environmentData;m._audit.normalizeOptions(a),a.reporter=(t=(r=a.reporter)!==null&&r!==void 0?r:(n=m._audit)===null||n===void 0?void 0:n.reporter)!==null&&t!==void 0?t:"v1",zM(e);var s=xo(e);return s=m._audit.after(s,a),s.forEach(Jo),s=s.map(Sa),WM(s,Y({environmentData:o},a))}function zM(e){var t=[],r=dt(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=GM(a);t.unshift.apply(t,ie(o));}}}catch(s){r.e(s);}finally{r.f();}}function GM(e){var t=e.frames,r=e.frameSpec;return r?t.map(function(n){return wr.mergeSpecs(n,r)}):t}function WM(e,t){return new Promise(function(r,n){var a=Pu(t.reporter);a(e,t,r,n);})}function UM(e){if(m._tree)throw new Error("Axe is already setup. Call `axe.teardown()` before calling `axe.setup` again.");return e&&ye(e.documentElement)==="object"&&ye(e.defaultView)==="object"&&(e=e.documentElement),l1(e),m._tree=vu(e),m._selectorData=po(m._tree),m._tree[0]}var XM=UM,JM=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=ne(a,H);n(Y({},gn(i),{toolOptions:o},li(t,r)));},KM=JM,YM=function(t,r,n){typeof r=="function"&&(n=r,r={});var a=r,i=a.environmentData,o=ne(a,ee);r.resultTypes=["violations"];var s=li(t,r),l=s.violations;n(Y({},gn(i),{toolOptions:o,violations:l}));},ZM=YM,QM=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=Y({},i),s=["passes","violations","incomplete","inapplicable"],l=0,d=s;l<d.length;l++){var f=d[l];o[f]=wr.mapRawNodeResults(o[f]);}return o});n(a);},d1=QM,eP=function(t,r,n){typeof r=="function"&&(n=r,r={});var a=r,i=a.environmentData,o=ne(a,N);d1(t,o,function(s){var l=gn(i);n({raw:s,env:l});});},tP=eP,rP=function(t,r,n){typeof r=="function"&&(n=r,r={});var a=r,i=a.environmentData,o=ne(a,R),s=li(t,r),l=function(f){f.nodes.forEach(function(g){g.failureSummary=yu(g);});};s.incomplete.forEach(l),s.violations.forEach(l),n(Y({},gn(i),{toolOptions:o},s));},nP=rP,aP=function(t,r,n){typeof r=="function"&&(n=r,r={});var a=r,i=a.environmentData,o=ne(a,S),s=li(t,r);n(Y({},gn(i),{toolOptions:o},s));},iP=aP,oP={base:{Audit:r1,CheckResult:Yu,Check:e1,Context:Wo,RuleResult:us,Rule:sr,metadataFunctionMap:ls},public:{reporters:ci},helpers:{failureSummary:yu,incompleteFallbackMessage:wu,processAggregate:li},utils:{setDefaultFrameMessenger:hp,cacheNodeSelectors:lh,getNodesMatchingExpression:oh,convertSelector:ho},commons:{dom:{nativelyHidden:Ep,displayHidden:Cp,visibilityHidden:kp,contentVisibiltyHidden:Sp,ariaHidden:Tp,opacityHidden:Rp,scrollHidden:Fp,overflowHidden:Ip,clipHidden:Mp,areaHidden:Il,detailsHidden:Pp}}},sP=oP;m._thisWillBeDeletedDoNotUse=sP,m.constants=tt,m.log=kn,m.AbstractVirtualNode=Xt,m.SerialVirtualNode=jh,m.VirtualNode=mu,m._cache=et,m.imports=Ld,m.cleanup=zh,m.configure=Lk,m.frameMessenger=Ok,m.getRules=qk,m._load=FM,m.plugins={},m.registerPlugin=PM,m.hasReporter=Wh,m.getReporter=Pu,m.addReporter=Mk,m.reset=OM,m._runRules=u1,m.runVirtualRule=NM,m.run=qM,m.setup=XM,m.teardown=bn,m.runPartial=$M,m.finishRun=jM,m.commons=mg,m.utils=Vs,m.addReporter("na",KM),m.addReporter("no-passes",ZM),m.addReporter("rawEnv",tP),m.addReporter("raw",d1),m.addReporter("v1",nP),m.addReporter("v2",iP,true);}))(),m._load({lang:"en",data:{rules:{accesskeys:{description:"Ensure every accesskey attribute value is unique",help:"accesskey attribute value should be unique"},"area-alt":{description:"Ensure <area> elements of image maps have alternative text",help:"Active <area> elements must have alternative text"},"aria-allowed-attr":{description:"Ensure an element's role supports its ARIA attributes",help:"Elements must only use supported ARIA attributes"},"aria-allowed-role":{description:"Ensure role attribute has an appropriate value for the element",help:"ARIA role should be appropriate for the element"},"aria-braille-equivalent":{description:"Ensure aria-braillelabel and aria-brailleroledescription have a non-braille equivalent",help:"aria-braille attributes must have a non-braille equivalent"},"aria-command-name":{description:"Ensure every ARIA button, link and menuitem has an accessible name",help:"ARIA commands must have an accessible name"},"aria-conditional-attr":{description:"Ensure ARIA attributes are used as described in the specification of the element's role",help:"ARIA attributes must be used as specified for the element's role"},"aria-deprecated-role":{description:"Ensure elements do not use deprecated roles",help:"Deprecated ARIA roles must not be used"},"aria-dialog-name":{description:"Ensure every ARIA dialog and alertdialog node has an accessible name",help:"ARIA dialog and alertdialog nodes should have an accessible name"},"aria-hidden-body":{description:'Ensure aria-hidden="true" is not present on the document body.',help:'aria-hidden="true" must not be present on the document body'},"aria-hidden-focus":{description:"Ensure aria-hidden elements are not focusable nor contain focusable elements",help:"ARIA hidden element must not be focusable or contain focusable elements"},"aria-input-field-name":{description:"Ensure every ARIA input field has an accessible name",help:"ARIA input fields must have an accessible name"},"aria-meter-name":{description:"Ensure every ARIA meter node has an accessible name",help:"ARIA meter nodes must have an accessible name"},"aria-progressbar-name":{description:"Ensure every ARIA progressbar node has an accessible name",help:"ARIA progressbar nodes must have an accessible name"},"aria-prohibited-attr":{description:"Ensure ARIA attributes are not prohibited for an element's role",help:"Elements must only use permitted ARIA attributes"},"aria-required-attr":{description:"Ensure elements with ARIA roles have all required ARIA attributes",help:"Required ARIA attributes must be provided"},"aria-required-children":{description:"Ensure elements with an ARIA role that require child roles contain them",help:"Certain ARIA roles must contain particular children"},"aria-required-parent":{description:"Ensure elements with an ARIA role that require parent roles are contained by them",help:"Certain ARIA roles must be contained by particular parents"},"aria-roledescription":{description:"Ensure aria-roledescription is only used on elements with an implicit or explicit role",help:"aria-roledescription must be on elements with a semantic role"},"aria-roles":{description:"Ensure all elements with a role attribute use a valid value",help:"ARIA roles used must conform to valid values"},"aria-text":{description:'Ensure role="text" is used on elements with no focusable descendants',help:'"role=text" should have no focusable descendants'},"aria-toggle-field-name":{description:"Ensure every ARIA toggle field has an accessible name",help:"ARIA toggle fields must have an accessible name"},"aria-tooltip-name":{description:"Ensure every ARIA tooltip node has an accessible name",help:"ARIA tooltip nodes must have an accessible name"},"aria-treeitem-name":{description:"Ensure every ARIA treeitem node has an accessible name",help:"ARIA treeitem nodes should have an accessible name"},"aria-valid-attr-value":{description:"Ensure all ARIA attributes have valid values",help:"ARIA attributes must conform to valid values"},"aria-valid-attr":{description:"Ensure attributes that begin with aria- are valid ARIA attributes",help:"ARIA attributes must conform to valid names"},"audio-caption":{description:"Ensure <audio> elements have captions",help:"<audio> elements must have a captions track"},"autocomplete-valid":{description:"Ensure the autocomplete attribute is correct and suitable for the form field",help:"autocomplete attribute must be used correctly"},"avoid-inline-spacing":{description:"Ensure that text spacing set through style attributes can be adjusted with custom stylesheets",help:"Inline text spacing must be adjustable with custom stylesheets"},blink:{description:"Ensure <blink> elements are not used",help:"<blink> elements are deprecated and must not be used"},"button-name":{description:"Ensure buttons have discernible text",help:"Buttons must have discernible text"},bypass:{description:"Ensure each page has at least one mechanism for a user to bypass navigation and jump straight to the content",help:"Page must have means to bypass repeated blocks"},"color-contrast-enhanced":{description:"Ensure the contrast between foreground and background colors meets WCAG 2 AAA enhanced contrast ratio thresholds",help:"Elements must meet enhanced color contrast ratio thresholds"},"color-contrast":{description:"Ensure the contrast between foreground and background colors meets WCAG 2 AA minimum contrast ratio thresholds",help:"Elements must meet minimum color contrast ratio thresholds"},"css-orientation-lock":{description:"Ensure content is not locked to any specific display orientation, and the content is operable in all display orientations",help:"CSS Media queries must not lock display orientation"},"definition-list":{description:"Ensure <dl> elements are structured correctly",help:"<dl> elements must only directly contain properly-ordered <dt> and <dd> groups, <script>, <template> or <div> elements"},dlitem:{description:"Ensure <dt> and <dd> elements are contained by a <dl>",help:"<dt> and <dd> elements must be contained by a <dl>"},"document-title":{description:"Ensure each HTML document contains a non-empty <title> element",help:"Documents must have <title> element to aid in navigation"},"duplicate-id-active":{description:"Ensure every id attribute value of active elements is unique",help:"IDs of active elements must be unique"},"duplicate-id-aria":{description:"Ensure every id attribute value used in ARIA and in labels is unique",help:"IDs used in ARIA and labels must be unique"},"duplicate-id":{description:"Ensure every id attribute value is unique",help:"id attribute value must be unique"},"empty-heading":{description:"Ensure headings have discernible text",help:"Headings should not be empty"},"empty-table-header":{description:"Ensure table headers have discernible text",help:"Table header text should not be empty"},"focus-order-semantics":{description:"Ensure elements in the focus order have a role appropriate for interactive content",help:"Elements in the focus order should have an appropriate role"},"form-field-multiple-labels":{description:"Ensure form field does not have multiple label elements",help:"Form field must not have multiple label elements"},"frame-focusable-content":{description:"Ensure <frame> and <iframe> elements with focusable content do not have tabindex=-1",help:"Frames with focusable content must not have tabindex=-1"},"frame-tested":{description:"Ensure <iframe> and <frame> elements contain the axe-core script",help:"Frames should be tested with axe-core"},"frame-title-unique":{description:"Ensure <iframe> and <frame> elements contain a unique title attribute",help:"Frames must have a unique title attribute"},"frame-title":{description:"Ensure <iframe> and <frame> elements have an accessible name",help:"Frames must have an accessible name"},"heading-order":{description:"Ensure the order of headings is semantically correct",help:"Heading levels should only increase by one"},"hidden-content":{description:"Inform users about hidden content.",help:"Hidden content on the page should be analyzed"},"html-has-lang":{description:"Ensure every HTML document has a lang attribute",help:"<html> element must have a lang attribute"},"html-lang-valid":{description:"Ensure the lang attribute of the <html> element has a valid value",help:"<html> element must have a valid value for the lang attribute"},"html-xml-lang-mismatch":{description:"Ensure that HTML elements with both valid lang and xml:lang attributes agree on the base language of the page",help:"HTML elements with lang and xml:lang must have the same base language"},"identical-links-same-purpose":{description:"Ensure that links with the same accessible name serve a similar purpose",help:"Links with the same name must have a similar purpose"},"image-alt":{description:"Ensure <img> elements have alternative text or a role of none or presentation",help:"Images must have alternative text"},"image-redundant-alt":{description:"Ensure image alternative is not repeated as text",help:"Alternative text of images should not be repeated as text"},"input-button-name":{description:"Ensure input buttons have discernible text",help:"Input buttons must have discernible text"},"input-image-alt":{description:'Ensure <input type="image"> elements have alternative text',help:"Image buttons must have alternative text"},"label-content-name-mismatch":{description:"Ensure that elements labelled through their content must have their visible text as part of their accessible name",help:"Elements must have their visible text as part of their accessible name"},"label-title-only":{description:"Ensure that every form element has a visible label and is not solely labeled using hidden labels, or the title or aria-describedby attributes",help:"Form elements should have a visible label"},label:{description:"Ensure every form element has a label",help:"Form elements must have labels"},"landmark-banner-is-top-level":{description:"Ensure the banner landmark is at top level",help:"Banner landmark should not be contained in another landmark"},"landmark-complementary-is-top-level":{description:"Ensure the complementary landmark or aside is at top level",help:"Aside should not be contained in another landmark"},"landmark-contentinfo-is-top-level":{description:"Ensure the contentinfo landmark is at top level",help:"Contentinfo landmark should not be contained in another landmark"},"landmark-main-is-top-level":{description:"Ensure the main landmark is at top level",help:"Main landmark should not be contained in another landmark"},"landmark-no-duplicate-banner":{description:"Ensure the document has at most one banner landmark",help:"Document should not have more than one banner landmark"},"landmark-no-duplicate-contentinfo":{description:"Ensure the document has at most one contentinfo landmark",help:"Document should not have more than one contentinfo landmark"},"landmark-no-duplicate-main":{description:"Ensure the document has at most one main landmark",help:"Document should not have more than one main landmark"},"landmark-one-main":{description:"Ensure the document has a main landmark",help:"Document should have one main landmark"},"landmark-unique":{description:"Ensure landmarks are unique",help:"Landmarks should have a unique role or role/label/title (i.e. accessible name) combination"},"link-in-text-block":{description:"Ensure links are distinguished from surrounding text in a way that does not rely on color",help:"Links must be distinguishable without relying on color"},"link-name":{description:"Ensure links have discernible text",help:"Links must have discernible text"},list:{description:"Ensure that lists are structured correctly",help:"<ul> and <ol> must only directly contain <li>, <script> or <template> elements"},listitem:{description:"Ensure <li> elements are used semantically",help:"<li> elements must be contained in a <ul> or <ol>"},marquee:{description:"Ensure <marquee> elements are not used",help:"<marquee> elements are deprecated and must not be used"},"meta-refresh-no-exceptions":{description:'Ensure <meta http-equiv="refresh"> is not used for delayed refresh',help:"Delayed refresh must not be used"},"meta-refresh":{description:'Ensure <meta http-equiv="refresh"> is not used for delayed refresh',help:"Delayed refresh under 20 hours must not be used"},"meta-viewport-large":{description:'Ensure <meta name="viewport"> can scale a significant amount',help:"Users should be able to zoom and scale the text up to 500%"},"meta-viewport":{description:'Ensure <meta name="viewport"> does not disable text scaling and zooming',help:"Zooming and scaling must not be disabled"},"nested-interactive":{description:"Ensure interactive controls are not nested as they are not always announced by screen readers or can cause focus problems for assistive technologies",help:"Interactive controls must not be nested"},"no-autoplay-audio":{description:"Ensure <video> or <audio> elements do not autoplay audio for more than 3 seconds without a control mechanism to stop or mute the audio",help:"<video> or <audio> elements must not play automatically"},"object-alt":{description:"Ensure <object> elements have alternative text",help:"<object> elements must have alternative text"},"p-as-heading":{description:"Ensure bold, italic text and font-size is not used to style <p> elements as a heading",help:"Styled <p> elements must not be used as headings"},"page-has-heading-one":{description:"Ensure that the page, or at least one of its frames contains a level-one heading",help:"Page should contain a level-one heading"},"presentation-role-conflict":{description:"Ensure elements marked as presentational do not have global ARIA or tabindex so that all screen readers ignore them",help:"Elements marked as presentational should be consistently ignored"},region:{description:"Ensure all page content is contained by landmarks",help:"All page content should be contained by landmarks"},"role-img-alt":{description:'Ensure [role="img"] elements have alternative text',help:'[role="img"] elements must have alternative text'},"scope-attr-valid":{description:"Ensure the scope attribute is used correctly on tables",help:"scope attribute should be used correctly"},"scrollable-region-focusable":{description:"Ensure elements that have scrollable content are accessible by keyboard in Safari",help:"Scrollable region must have keyboard access"},"select-name":{description:"Ensure select element has an accessible name",help:"Select element must have an accessible name"},"server-side-image-map":{description:"Ensure that server-side image maps are not used",help:"Server-side image maps must not be used"},"skip-link":{description:"Ensure all skip links have a focusable target",help:"The skip-link target should exist and be focusable"},"summary-name":{description:"Ensure summary elements have discernible text",help:"Summary elements must have discernible text"},"svg-img-alt":{description:"Ensure <svg> elements with an img, graphics-document or graphics-symbol role have accessible text",help:"<svg> elements with an img role must have alternative text"},tabindex:{description:"Ensure tabindex attribute values are not greater than 0",help:"Elements should not have tabindex greater than zero"},"table-duplicate-name":{description:"Ensure the <caption> element does not contain the same text as the summary attribute",help:"Tables should not have the same summary and caption"},"table-fake-caption":{description:"Ensure that tables with a caption use the <caption> element.",help:"Data or header cells must not be used to give caption to a data table."},"target-size":{description:"Ensure touch targets have sufficient size and space",help:"All touch targets must be 24px large, or leave sufficient space"},"td-has-header":{description:"Ensure that each non-empty data cell in a <table> larger than 3 by 3 has one or more table headers",help:"Non-empty <td> elements in larger <table> must have an associated table header"},"td-headers-attr":{description:"Ensure that each cell in a table that uses the headers attribute refers only to other <th> elements in that table",help:"Table cell headers attributes must refer to other <th> elements in the same table"},"th-has-data-cells":{description:"Ensure that <th> elements and elements with role=columnheader/rowheader have data cells they describe",help:"Table headers in a data table must refer to data cells"},"valid-lang":{description:"Ensure lang attributes have valid values",help:"lang attribute must have a valid value"},"video-caption":{description:"Ensure <video> elements have captions",help:"<video> elements must have captions"}},checks:{abstractrole:{impact:"serious",messages:{pass:"Abstract roles are not used",fail:{singular:"Abstract role cannot be directly used: ${data.values}",plural:"Abstract roles cannot be directly used: ${data.values}"}}},"aria-allowed-attr-elm":{messages:{pass:"ARIA attributes are allowed for this element",fail:{singular:"ARIA attribute is not allowed on ${data.nodeName} elements: ${data.values}",plural:"ARIA attributes are not allowed on ${data.nodeName} elements: ${data.values}"}}},"aria-allowed-attr":{impact:"critical",messages:{pass:"ARIA attributes are used correctly for the defined role",fail:{singular:"ARIA attribute is not allowed: ${data.values}",plural:"ARIA attributes are not allowed: ${data.values}"},incomplete:"Check that there is no problem if the ARIA attribute is ignored on this element: ${data.values}"}},"aria-allowed-role":{impact:"minor",messages:{pass:"ARIA role is allowed for given element",fail:{singular:"ARIA role ${data.values} is not allowed for given element",plural:"ARIA roles ${data.values} are not allowed for given element"},incomplete:{singular:"ARIA role ${data.values} must be removed when the element is made visible, as it is not allowed for the element",plural:"ARIA roles ${data.values} must be removed when the element is made visible, as they are not allowed for the element"}}},"aria-busy":{impact:"serious",messages:{pass:"Element has an aria-busy attribute",fail:'Element uses aria-busy="true" while showing a loader'}},"aria-conditional-attr":{impact:"serious",messages:{pass:"ARIA attribute is allowed",fail:{checkbox:'Remove aria-checked, or set it to "${data.checkState}" to match the real checkbox state',rowSingular:"This attribute is supported with treegrid rows, but not ${data.ownerRole}: ${data.invalidAttrs}",rowPlural:"These attributes are supported with treegrid rows, but not ${data.ownerRole}: ${data.invalidAttrs}"}}},"aria-errormessage":{impact:"critical",messages:{pass:"aria-errormessage exists and references elements visible to screen readers that use a supported aria-errormessage technique",fail:{singular:"aria-errormessage value `${data.values}` must use a technique to announce the message (e.g., aria-live, aria-describedby, role=alert, etc.)",plural:"aria-errormessage values `${data.values}` must use a technique to announce the message (e.g., aria-live, aria-describedby, role=alert, etc.)",unsupported:"Multiple IDs in aria-errormessage is not widely supported in assistive technologies",hidden:"aria-errormessage value `${data.values}` cannot reference a hidden element"},incomplete:{singular:"Ensure aria-errormessage value `${data.values}` references an existing element",plural:"Ensure aria-errormessage values `${data.values}` reference existing elements",idrefs:"Unable to determine if aria-errormessage element exists on the page: ${data.values}"}}},"aria-hidden-body":{impact:"critical",messages:{pass:"No aria-hidden attribute is present on document body",fail:"aria-hidden=true should not be present on the document body"}},"aria-level":{impact:"serious",messages:{pass:"aria-level values are valid",incomplete:"aria-level values greater than 6 are not supported in all screenreader and browser combinations"}},"aria-prohibited-attr":{impact:"serious",messages:{pass:"ARIA attribute is allowed",fail:{hasRolePlural:'${data.prohibited} attributes cannot be used with role "${data.role}".',hasRoleSingular:'${data.prohibited} attribute cannot be used with role "${data.role}".',noRolePlural:"${data.prohibited} attributes cannot be used on a ${data.nodeName} with no valid role attribute.",noRoleSingular:"${data.prohibited} attribute cannot be used on a ${data.nodeName} with no valid role attribute."},incomplete:{hasRoleSingular:'${data.prohibited} attribute is not well supported with role "${data.role}".',hasRolePlural:'${data.prohibited} attributes are not well supported with role "${data.role}".',noRoleSingular:"${data.prohibited} attribute is not well supported on a ${data.nodeName} with no valid role attribute.",noRolePlural:"${data.prohibited} attributes are not well supported on a ${data.nodeName} with no valid role attribute."}}},"aria-required-attr":{impact:"critical",messages:{pass:"All required ARIA attributes are present",fail:{singular:"Required ARIA attribute not present: ${data.values}",plural:"Required ARIA attributes not present: ${data.values}"}}},"aria-required-children":{impact:"critical",messages:{pass:{default:"Required ARIA children are present","aria-busy":"Element has an aria-busy attribute, so it is allowed to omit required children"},fail:{singular:"Required ARIA child role not present: ${data.values}",plural:"Required ARIA children role not present: ${data.values}",unallowed:"Element has children which are not allowed: ${data.values}","aria-busy-fail":'Element has children which are not allowed: ${data.values}; Having aria-busy="true" does not allow children with roles that are not allowed'},incomplete:{singular:"Expecting ARIA child role to be added: ${data.values}",plural:"Expecting ARIA children role to be added: ${data.values}"}}},"aria-required-parent":{impact:"critical",messages:{pass:"Required ARIA parent role present",fail:{singular:"Required ARIA parent role not present: ${data.values}",plural:"Required ARIA parents role not present: ${data.values}"}}},"aria-roledescription":{impact:"serious",messages:{pass:"aria-roledescription used on a supported semantic role",incomplete:"Check that the aria-roledescription is announced by supported screen readers",fail:"Give the element a role that supports aria-roledescription"}},"aria-unsupported-attr":{impact:"critical",messages:{pass:"ARIA attribute is supported",fail:"ARIA attribute is not widely supported in screen readers and assistive technologies: ${data.values}"}},"aria-valid-attr-value":{impact:"critical",messages:{pass:"ARIA attribute values are valid",fail:{singular:"Invalid ARIA attribute value: ${data.values}",plural:"Invalid ARIA attribute values: ${data.values}"},incomplete:{noId:"ARIA attribute element ID does not exist on the page: ${data.needsReview}",noIdShadow:"ARIA attribute element ID does not exist on the page or is a descendant of a different shadow DOM tree: ${data.needsReview}",ariaCurrent:'ARIA attribute value is invalid and will be treated as "aria-current=true": ${data.needsReview}',idrefs:"Unable to determine if ARIA attribute element ID exists on the page: ${data.needsReview}",empty:"ARIA attribute value is ignored while empty: ${data.needsReview}",controlsWithinPopup:"Unable to determine if aria-controls referenced ID exists on the page while using aria-haspopup: ${data.needsReview}"}}},"aria-valid-attr":{impact:"critical",messages:{pass:"ARIA attribute name is valid",fail:{singular:"Invalid ARIA attribute name: ${data.values}",plural:"Invalid ARIA attribute names: ${data.values}"}}},"braille-label-equivalent":{impact:"serious",messages:{pass:"aria-braillelabel is used on an element with accessible text",fail:"aria-braillelabel is used on an element with no accessible text",incomplete:"Unable to compute accessible text"}},"braille-roledescription-equivalent":{impact:"serious",messages:{pass:"aria-brailleroledescription is used on an element with aria-roledescription",fail:{noRoleDescription:"aria-brailleroledescription is used on an element with no aria-roledescription",emptyRoleDescription:"aria-brailleroledescription is used on an element with an empty aria-roledescription"}}},deprecatedrole:{impact:"minor",messages:{pass:"ARIA role is not deprecated",fail:"The role used is deprecated: ${data}"}},fallbackrole:{impact:"serious",messages:{pass:"Only one role value used",fail:"Use only one role value, since fallback roles are not supported in older browsers",incomplete:"Use only role 'presentation' or 'none' since they are synonymous."}},"has-global-aria-attribute":{impact:"minor",messages:{pass:{singular:"Element has global ARIA attribute: ${data.values}",plural:"Element has global ARIA attributes: ${data.values}"},fail:"Element does not have global ARIA attribute"}},"has-widget-role":{impact:"minor",messages:{pass:"Element has a widget role.",fail:"Element does not have a widget role."}},invalidrole:{impact:"critical",messages:{pass:"ARIA role is valid",fail:{singular:"Role must be one of the valid ARIA roles: ${data.values}",plural:"Roles must be one of the valid ARIA roles: ${data.values}"}}},"is-element-focusable":{impact:"minor",messages:{pass:"Element is focusable.",fail:"Element is not focusable."}},"no-implicit-explicit-label":{impact:"serious",messages:{pass:"There is no mismatch between a <label> and accessible name",incomplete:"Check that the <label> does not need be part of the ARIA ${data} field's name"}},unsupportedrole:{impact:"critical",messages:{pass:"ARIA role is supported",fail:"The role used is not widely supported in screen readers and assistive technologies: ${data}"}},"valid-scrollable-semantics":{impact:"minor",messages:{pass:"Element has valid semantics for an element in the focus order.",fail:"Element has invalid semantics for an element in the focus order."}},"color-contrast-enhanced":{impact:"serious",messages:{pass:"Element has sufficient color contrast of ${data.contrastRatio}",fail:{default:"Element has insufficient color contrast of ${data.contrastRatio} (foreground color: ${data.fgColor}, background color: ${data.bgColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}",fgOnShadowColor:"Element has insufficient color contrast of ${data.contrastRatio} between the foreground and shadow color (foreground color: ${data.fgColor}, text-shadow color: ${data.shadowColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}",shadowOnBgColor:"Element has insufficient color contrast of ${data.contrastRatio} between the shadow color and background color (text-shadow color: ${data.shadowColor}, background color: ${data.bgColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}"},incomplete:{default:"Unable to determine contrast ratio",bgImage:"Element's background color could not be determined due to a background image",bgGradient:"Element's background color could not be determined due to a background gradient",imgNode:"Element's background color could not be determined because element contains an image node",bgOverlap:"Element's background color could not be determined because it is overlapped by another element",fgAlpha:"Element's foreground color could not be determined because of alpha transparency",elmPartiallyObscured:"Element's background color could not be determined because it's partially obscured by another element",elmPartiallyObscuring:"Element's background color could not be determined because it partially overlaps other elements",outsideViewport:"Element's background color could not be determined because it's outside the viewport",equalRatio:"Element has a 1:1 contrast ratio with the background",shortTextContent:"Element content is too short to determine if it is actual text content",nonBmp:"Element content contains only non-text characters",pseudoContent:"Element's background color could not be determined due to a pseudo element",colorParse:"Could not parse color string ${data.colorParse}"}}},"color-contrast":{impact:"serious",messages:{pass:{default:"Element has sufficient color contrast of ${data.contrastRatio}",hidden:"Element is hidden"},fail:{default:"Element has insufficient color contrast of ${data.contrastRatio} (foreground color: ${data.fgColor}, background color: ${data.bgColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}",fgOnShadowColor:"Element has insufficient color contrast of ${data.contrastRatio} between the foreground and shadow color (foreground color: ${data.fgColor}, text-shadow color: ${data.shadowColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}",shadowOnBgColor:"Element has insufficient color contrast of ${data.contrastRatio} between the shadow color and background color (text-shadow color: ${data.shadowColor}, background color: ${data.bgColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}"},incomplete:{default:"Unable to determine contrast ratio",bgImage:"Element's background color could not be determined due to a background image",bgGradient:"Element's background color could not be determined due to a background gradient",imgNode:"Element's background color could not be determined because element contains an image node",bgOverlap:"Element's background color could not be determined because it is overlapped by another element",complexTextShadows:"Element's contrast could not be determined because it uses complex text shadows",fgAlpha:"Element's foreground color could not be determined because of alpha transparency",elmPartiallyObscured:"Element's background color could not be determined because it's partially obscured by another element",elmPartiallyObscuring:"Element's background color could not be determined because it partially overlaps other elements",outsideViewport:"Element's background color could not be determined because it's outside the viewport",equalRatio:"Element has a 1:1 contrast ratio with the background",shortTextContent:"Element content is too short to determine if it is actual text content",nonBmp:"Element content contains only non-text characters",pseudoContent:"Element's background color could not be determined due to a pseudo element",colorParse:"Could not parse color string ${data.colorParse}"}}},"link-in-text-block-style":{impact:"serious",messages:{pass:"Links can be distinguished from surrounding text by visual styling",incomplete:{default:"Check if the link needs styling to distinguish it from nearby text",pseudoContent:"Check if the link's pseudo style is sufficient to distinguish it from the surrounding text"},fail:"The link has no styling (such as underline) to distinguish it from the surrounding text"}},"link-in-text-block":{impact:"serious",messages:{pass:"Links can be distinguished from surrounding text in some way other than by color",fail:{fgContrast:"The link has insufficient color contrast of ${data.contrastRatio}:1 with the surrounding text. (Minimum contrast is ${data.requiredContrastRatio}:1, link text: ${data.nodeColor}, surrounding text: ${data.parentColor})",bgContrast:"The link background has insufficient color contrast of ${data.contrastRatio} (Minimum contrast is ${data.requiredContrastRatio}:1, link background color: ${data.nodeBackgroundColor}, surrounding background color: ${data.parentBackgroundColor})"},incomplete:{default:"Element's foreground contrast ratio could not be determined",bgContrast:"Element's background contrast ratio could not be determined",bgImage:"Element's contrast ratio could not be determined due to a background image",bgGradient:"Element's contrast ratio could not be determined due to a background gradient",imgNode:"Element's contrast ratio could not be determined because element contains an image node",bgOverlap:"Element's contrast ratio could not be determined because of element overlap"}}},"autocomplete-appropriate":{impact:"serious",messages:{pass:"The autocomplete value is on an appropriate element",fail:"The autocomplete value is inappropriate for this type of input"}},"autocomplete-valid":{impact:"serious",messages:{pass:"the autocomplete attribute is correctly formatted",fail:"the autocomplete attribute is incorrectly formatted",incomplete:"the autocomplete attribute has a non-standard value. Check whether any standard value could be used instead."}},accesskeys:{impact:"serious",messages:{pass:"Accesskey attribute value is unique",fail:"Document has multiple elements with the same accesskey"}},"focusable-content":{impact:"serious",messages:{pass:"Element contains focusable elements",fail:"Element should have focusable content"}},"focusable-disabled":{impact:"serious",messages:{pass:"No focusable elements contained within element",incomplete:"Check if the focusable elements immediately move the focus indicator",fail:"Focusable content should be disabled or be removed from the DOM"}},"focusable-element":{impact:"serious",messages:{pass:"Element is focusable",fail:"Element should be focusable"}},"focusable-modal-open":{impact:"serious",messages:{pass:"No focusable elements while a modal is open",incomplete:"Check that focusable elements are not tabbable in the current state"}},"focusable-no-name":{impact:"serious",messages:{pass:"Element is not in tab order or has accessible text",fail:"Element is in tab order and does not have accessible text",incomplete:"Unable to determine if element has an accessible name"}},"focusable-not-tabbable":{impact:"serious",messages:{pass:"No focusable elements contained within element",incomplete:"Check if the focusable elements immediately move the focus indicator",fail:'Focusable content should have tabindex="-1" or be removed from the DOM'}},"frame-focusable-content":{impact:"serious",messages:{pass:"Element does not have focusable descendants",fail:"Element has focusable descendants",incomplete:"Could not determine if element has descendants"}},"landmark-is-top-level":{impact:"moderate",messages:{pass:"The ${data.role} landmark is at the top level.",fail:"The ${data.role} landmark is contained in another landmark."}},"no-focusable-content":{impact:"serious",messages:{pass:"Element does not have focusable descendants",fail:{default:"Element has focusable descendants",notHidden:'Using a negative tabindex on an element inside an interactive control does not prevent assistive technologies from focusing the element (even with aria-hidden="true")'},incomplete:"Could not determine if element has descendants"}},"page-has-heading-one":{impact:"moderate",messages:{pass:"Page has at least one level-one heading",fail:"Page must have a level-one heading"}},"page-has-main":{impact:"moderate",messages:{pass:"Document has at least one main landmark",fail:"Document does not have a main landmark"}},"page-no-duplicate-banner":{impact:"moderate",messages:{pass:"Document does not have more than one banner landmark",fail:"Document has more than one banner landmark"}},"page-no-duplicate-contentinfo":{impact:"moderate",messages:{pass:"Document does not have more than one contentinfo landmark",fail:"Document has more than one contentinfo landmark"}},"page-no-duplicate-main":{impact:"moderate",messages:{pass:"Document does not have more than one main landmark",fail:"Document has more than one main landmark"}},tabindex:{impact:"serious",messages:{pass:"Element does not have a tabindex greater than 0",fail:"Element has a tabindex greater than 0"}},"alt-space-value":{impact:"critical",messages:{pass:"Element has a valid alt attribute value",fail:"Element has an alt attribute containing only a space character, which is not ignored by all screen readers"}},"duplicate-img-label":{impact:"minor",messages:{pass:"Element does not duplicate existing text in <img> alt text",fail:"Element contains <img> element with alt text that duplicates existing text"}},"explicit-label":{impact:"critical",messages:{pass:"Element has an explicit <label>",fail:"Element does not have an explicit <label>",incomplete:"Unable to determine if form element has an explicit <label>"}},"help-same-as-label":{impact:"minor",messages:{pass:"Help text (title or aria-describedby) does not duplicate label text",fail:"Help text (title or aria-describedby) text is the same as the label text"}},"hidden-explicit-label":{impact:"critical",messages:{pass:"Form element has a visible explicit <label>",fail:"Form element has explicit <label> that is hidden",incomplete:"Unable to determine if form element has explicit <label> that is hidden"}},"implicit-label":{impact:"critical",messages:{pass:"Element has an implicit (wrapped) <label>",fail:"Element does not have an implicit (wrapped) <label>",incomplete:"Unable to determine if form element has an implicit (wrapped) <label>"}},"label-content-name-mismatch":{impact:"serious",messages:{pass:"Element contains visible text as part of it's accessible name",fail:"Text inside the element is not included in the accessible name"}},"multiple-label":{impact:"moderate",messages:{pass:"Form field does not have multiple label elements",incomplete:"Multiple label elements is not widely supported in assistive technologies. Ensure the first label contains all necessary information."}},"title-only":{impact:"serious",messages:{pass:"Form element does not solely use title attribute for its label",fail:"Only title used to generate label for form element"}},"landmark-is-unique":{impact:"moderate",messages:{pass:"Landmarks must have a unique role or role/label/title (i.e. accessible name) combination",fail:"The landmark must have a unique aria-label, aria-labelledby, or title to make landmarks distinguishable"}},"has-lang":{impact:"serious",messages:{pass:"The <html> element has a lang attribute",fail:{noXHTML:"The xml:lang attribute is not valid on HTML pages, use the lang attribute.",noLang:"The <html> element does not have a lang attribute"}}},"valid-lang":{impact:"serious",messages:{pass:"Value of lang attribute is included in the list of valid languages",fail:"Value of lang attribute not included in the list of valid languages"}},"xml-lang-mismatch":{impact:"moderate",messages:{pass:"Lang and xml:lang attributes have the same base language",fail:"Lang and xml:lang attributes do not have the same base language"}},dlitem:{impact:"serious",messages:{pass:"Description list item has a <dl> parent element",fail:"Description list item does not have a <dl> parent element"}},listitem:{impact:"serious",messages:{pass:'List item has a <ul>, <ol> or role="list" parent element',fail:{default:"List item does not have a <ul>, <ol> parent element",roleNotValid:'List item parent element has a role that is not role="list"'}}},"only-dlitems":{impact:"serious",messages:{pass:"dl element only has direct children that are allowed inside; <dt>, <dd>, or <div> elements",fail:"dl element has direct children that are not allowed: ${data.values}"}},"only-listitems":{impact:"serious",messages:{pass:"List element only has direct children that are allowed inside <li> elements",fail:"List element has direct children that are not allowed: ${data.values}"}},"structured-dlitems":{impact:"serious",messages:{pass:"When not empty, element has both <dt> and <dd> elements",fail:"When not empty, element does not have at least one <dt> element followed by at least one <dd> element"}},caption:{impact:"critical",messages:{pass:"The multimedia element has a captions track",incomplete:"Check that captions are available for the element"}},"frame-tested":{impact:"critical",messages:{pass:"The iframe was tested with axe-core",fail:"The iframe could not be tested with axe-core",incomplete:"The iframe still has to be tested with axe-core"}},"no-autoplay-audio":{impact:"moderate",messages:{pass:"<video> or <audio> does not output audio for more than allowed duration or has controls mechanism",fail:"<video> or <audio> outputs audio for more than allowed duration and does not have a controls mechanism",incomplete:"Check that the <video> or <audio> does not output audio for more than allowed duration or provides a controls mechanism"}},"css-orientation-lock":{impact:"serious",messages:{pass:"Display is operable, and orientation lock does not exist",fail:"CSS Orientation lock is applied, and makes display inoperable",incomplete:"CSS Orientation lock cannot be determined"}},"meta-viewport-large":{impact:"minor",messages:{pass:"<meta> tag does not prevent significant zooming on mobile devices",fail:"<meta> tag limits zooming on mobile devices"}},"meta-viewport":{impact:"critical",messages:{pass:"<meta> tag does not disable zooming on mobile devices",fail:"${data} on <meta> tag disables zooming on mobile devices"}},"target-offset":{impact:"serious",messages:{pass:{default:"Target has sufficient space from its closest neighbors. Safe clickable space has a diameter of ${data.closestOffset}px which is at least ${data.minOffset}px.",large:"Target far exceeds the minimum size of ${data.minOffset}px."},fail:"Target has insufficient space to its closest neighbors. Safe clickable space has a diameter of ${data.closestOffset}px instead of at least ${data.minOffset}px.",incomplete:{default:"Element with negative tabindex has insufficient space to its closest neighbors. Safe clickable space has a diameter of ${data.closestOffset}px instead of at least ${data.minOffset}px. Is this a target?",nonTabbableNeighbor:"Target has insufficient space to its closest neighbors. Safe clickable space has a diameter of ${data.closestOffset}px instead of at least ${data.minOffset}px. Is the neighbor a target?",tooManyRects:"Could not get the target size because there are too many overlapping elements"}}},"target-size":{impact:"serious",messages:{pass:{default:"Control has sufficient size (${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px)",obscured:"Control is ignored because it is fully obscured and thus not clickable",large:"Target far exceeds the minimum size of ${data.minSize}px."},fail:{default:"Target has insufficient size (${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px)",partiallyObscured:"Target has insufficient size because it is partially obscured (smallest space is ${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px)"},incomplete:{default:"Element with negative tabindex has insufficient size (${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px). Is this a target?",contentOverflow:"Element size could not be accurately determined due to overflow content",partiallyObscured:"Element with negative tabindex has insufficient size because it is partially obscured (smallest space is ${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px). Is this a target?",partiallyObscuredNonTabbable:"Target has insufficient size because it is partially obscured by a neighbor with negative tabindex (smallest space is ${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px). Is the neighbor a target?",tooManyRects:"Could not get the target size because there are too many overlapping elements"}}},"header-present":{impact:"serious",messages:{pass:"Page has a heading",fail:"Page does not have a heading"}},"heading-order":{impact:"moderate",messages:{pass:"Heading order valid",fail:"Heading order invalid",incomplete:"Unable to determine previous heading"}},"identical-links-same-purpose":{impact:"minor",messages:{pass:"There are no other links with the same name, that go to a different URL",incomplete:"Check that links have the same purpose, or are intentionally ambiguous."}},"internal-link-present":{impact:"serious",messages:{pass:"Valid skip link found",fail:"No valid skip link found"}},landmark:{impact:"serious",messages:{pass:"Page has a landmark region",fail:"Page does not have a landmark region"}},"meta-refresh-no-exceptions":{impact:"minor",messages:{pass:"<meta> tag does not immediately refresh the page",fail:"<meta> tag forces timed refresh of page"}},"meta-refresh":{impact:"critical",messages:{pass:"<meta> tag does not immediately refresh the page",fail:"<meta> tag forces timed refresh of page (less than 20 hours)"}},"p-as-heading":{impact:"serious",messages:{pass:"<p> elements are not styled as headings",fail:"Heading elements should be used instead of styled <p> elements",incomplete:"Unable to determine if <p> elements are styled as headings"}},region:{impact:"moderate",messages:{pass:"All page content is contained by landmarks",fail:"Some page content is not contained by landmarks"}},"skip-link":{impact:"moderate",messages:{pass:"Skip link target exists",incomplete:"Skip link target should become visible on activation",fail:"No skip link target"}},"unique-frame-title":{impact:"serious",messages:{pass:"Element's title attribute is unique",fail:"Element's title attribute is not unique"}},"duplicate-id-active":{impact:"serious",messages:{pass:"Document has no active elements that share the same id attribute",fail:"Document has active elements with the same id attribute: ${data}"}},"duplicate-id-aria":{impact:"critical",messages:{pass:"Document has no elements referenced with ARIA or labels that share the same id attribute",fail:"Document has multiple elements referenced with ARIA with the same id attribute: ${data}"}},"duplicate-id":{impact:"minor",messages:{pass:"Document has no static elements that share the same id attribute",fail:"Document has multiple static elements with the same id attribute: ${data}"}},"aria-label":{impact:"serious",messages:{pass:"aria-label attribute exists and is not empty",fail:"aria-label attribute does not exist or is empty"}},"aria-labelledby":{impact:"serious",messages:{pass:"aria-labelledby attribute exists and references elements that are visible to screen readers",fail:"aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty",incomplete:"Ensure aria-labelledby references an existing element"}},"avoid-inline-spacing":{impact:"serious",messages:{pass:"No inline styles with '!important' that affect text spacing has been specified",fail:{singular:"Remove '!important' from inline style ${data.values}, as overriding this is not supported by most browsers",plural:"Remove '!important' from inline styles ${data.values}, as overriding this is not supported by most browsers"}}},"button-has-visible-text":{impact:"critical",messages:{pass:"Element has inner text that is visible to screen readers",fail:"Element does not have inner text that is visible to screen readers",incomplete:"Unable to determine if element has children"}},"doc-has-title":{impact:"serious",messages:{pass:"Document has a non-empty <title> element",fail:"Document does not have a non-empty <title> element"}},"error-occurred":{messages:{pass:"",incomplete:"Axe encountered an error; test the page for this type of problem manually"}},exists:{impact:"minor",messages:{pass:"Element does not exist",incomplete:"Element exists"}},"has-alt":{impact:"critical",messages:{pass:"Element has an alt attribute",fail:"Element does not have an alt attribute"}},"has-visible-text":{impact:"minor",messages:{pass:"Element has text that is visible to screen readers",fail:"Element does not have text that is visible to screen readers",incomplete:"Unable to determine if element has children"}},"important-letter-spacing":{impact:"serious",messages:{pass:"Letter-spacing in the style attribute is not set to !important, or meets the minimum",fail:"letter-spacing in the style attribute must not use !important, or be at ${data.minValue}em (current ${data.value}em)"}},"important-line-height":{impact:"serious",messages:{pass:"line-height in the style attribute is not set to !important, or meets the minimum",fail:"line-height in the style attribute must not use !important, or be at ${data.minValue}em (current ${data.value}em)"}},"important-word-spacing":{impact:"serious",messages:{pass:"word-spacing in the style attribute is not set to !important, or meets the minimum",fail:"word-spacing in the style attribute must not use !important, or be at ${data.minValue}em (current ${data.value}em)"}},"is-on-screen":{impact:"serious",messages:{pass:"Element is not visible",fail:"Element is visible"}},"non-empty-alt":{impact:"critical",messages:{pass:"Element has a non-empty alt attribute",fail:{noAttr:"Element has no alt attribute",emptyAttr:"Element has an empty alt attribute"}}},"non-empty-if-present":{impact:"critical",messages:{pass:{default:"Element does not have a value attribute","has-label":"Element has a non-empty value attribute"},fail:"Element has a value attribute and the value attribute is empty"}},"non-empty-placeholder":{impact:"serious",messages:{pass:"Element has a placeholder attribute",fail:{noAttr:"Element has no placeholder attribute",emptyAttr:"Element has an empty placeholder attribute"}}},"non-empty-title":{impact:"serious",messages:{pass:"Element has a title attribute",fail:{noAttr:"Element has no title attribute",emptyAttr:"Element has an empty title attribute"}}},"non-empty-value":{impact:"critical",messages:{pass:"Element has a non-empty value attribute",fail:{noAttr:"Element has no value attribute",emptyAttr:"Element has an empty value attribute"}}},"presentational-role":{impact:"minor",messages:{pass:'Element\'s default semantics were overridden with role="${data.role}"',fail:{default:`Element's default semantics were not overridden with role="none" or role="presentation"`,globalAria:"Element's role is not presentational because it has a global ARIA attribute",focusable:"Element's role is not presentational because it is focusable",both:"Element's role is not presentational because it has a global ARIA attribute and is focusable",iframe:'Using the "title" attribute on an ${data.nodeName} element with a presentational role behaves inconsistently between screen readers'}}},"role-none":{impact:"minor",messages:{pass:`Element's default semantics were overridden with role="none"`,fail:`Element's default semantics were not overridden with role="none"`}},"role-presentation":{impact:"minor",messages:{pass:`Element's default semantics were overridden with role="presentation"`,fail:`Element's default semantics were not overridden with role="presentation"`}},"svg-non-empty-title":{impact:"serious",messages:{pass:"Element has a child that is a title",fail:{noTitle:"Element has no child that is a title",emptyTitle:"Element child title is empty"},incomplete:"Unable to determine element has a child that is a title"}},"caption-faked":{impact:"serious",messages:{pass:"The first row of a table is not used as a caption",fail:"The first child of the table should be a caption instead of a table cell"}},"html5-scope":{impact:"moderate",messages:{pass:"Scope attribute is only used on table header elements (<th>)",fail:"In HTML 5, scope attributes may only be used on table header elements (<th>)"}},"same-caption-summary":{impact:"minor",messages:{pass:"Content of summary attribute and <caption> are not duplicated",fail:"Content of summary attribute and <caption> element are identical",incomplete:"Unable to determine if <table> element has a caption"}},"scope-value":{impact:"critical",messages:{pass:"Scope attribute is used correctly",fail:"The value of the scope attribute may only be 'row' or 'col'"}},"td-has-header":{impact:"critical",messages:{pass:"All non-empty data cells have table headers",fail:"Some non-empty data cells do not have table headers"}},"td-headers-attr":{impact:"serious",messages:{pass:"The headers attribute is exclusively used to refer to other header cells in the table",incomplete:"The headers attribute is empty",fail:{"cell-header-not-in-table":"The headers attribute is not exclusively used to refer to other header cells in the table","cell-header-not-th":"The headers attribute must refer to header cells, not data cells","header-refs-self":"The element with headers attribute refers to itself"}}},"th-has-data-cells":{impact:"serious",messages:{pass:"All table header cells refer to data cells",fail:"Not all table header cells refer to data cells",incomplete:"Table data cells are missing or empty"}},"hidden-content":{impact:"minor",messages:{pass:"All content on the page has been analyzed.",fail:"There were problems analyzing the content on this page.",incomplete:"There is hidden content on the page that was not analyzed. You will need to trigger the display of this content in order to analyze it."}}},failureSummaries:{any:{failureMessage:function(he){var De="Fix any of the following:",Ae=he;if(Ae)for(var Ge,ct=-1,gt=Ae.length-1;ct<gt;)Ge=Ae[ct+=1],De+=`
430
+ [aria-controls~="`).concat(i,'"][role~="combobox"]:not(select)'));return Array.from(s).some(ag)}var ag=function(t){return t&&rt(t)==="combobox"};function fS(e){for(;e=e.parent;)if(rt(e,{noPresentational:true})!==null)return e;return null}function pS(e){return e=nt(e),Oo(e)}var ig=pS;function mS(e){var t=ht.ariaRoles[e];return !t||!Array.isArray(t.requiredAttrs)?[]:ie(t.requiredAttrs)}var og=mS;function hS(e){var t=ht.ariaRoles[e];return !t||!Array.isArray(t.requiredContext)?null:ie(t.requiredContext)}var Hu=hS;function gS(e){var t=ht.ariaRoles[e];return !t||!Array.isArray(t.requiredOwned)?null:ie(t.requiredOwned)}var Vu=gS;function vS(e,t){e=e instanceof Xt?e:nt(e);var r,n,a=e.attr(t),i=ht.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=nr(a),n.reduce(function(l,d){return l&&i.values.includes(d)},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 Or(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 sg=vS;function bS(e){var t=ht.ariaAttrs[e];return !!t}var ns=bS;function yS(e){var t=Lu(e),r=this,n=[];t.forEach(function(s){var l=s.getAttribute("headers");l&&(n=n.concat(l.split(/\s+/)));var d=s.getAttribute("aria-labelledby");d&&(n=n.concat(d.split(/\s+/)));});var a=t.filter(function(s){return Je(s.textContent)===""?false:s.nodeName.toUpperCase()==="TH"||["rowheader","columnheader"].indexOf(st(s))!==-1}),i=Yr(e),o=true;return a.forEach(function(s){if(!(s.getAttribute("id")&&n.includes(s.getAttribute("id")))){var l=Mo(s,i),d=false;ra(s)&&(d=Ou("down",l,i).find(function(f){return !ra(f)&&es(f,i).includes(s)})),!d&&na(s)&&(d=Ou("right",l,i).find(function(f){return !na(f)&&es(f,i).includes(s)})),d||r.relatedNodes(s),o=o&&d;}}),o?true:void 0}var wS=yS,di=["cell-header-not-in-table","cell-header-not-th","header-refs-self","empty-hdrs"],lg=di[0],ug=di[1],cg=di[2],$u=di[3];function xS(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]=rt(o));}var l=W(W(W(W({},cg,new Set),lg,new Set),ug,new Set),$u,new Set);t.forEach(function(A){if(!(!A.hasAttribute("headers")||!Lt(A))){var k=A.getAttribute("headers").trim();if(!k){l[$u].add(A);return}var O=A.getAttribute("id"),V=nr(k);V.forEach(function(G){O&&G===O?l[cg].add(A):r[G]?["columnheader","rowheader"].includes(r[G])||l[ug].add(A):l[lg].add(A);});}});var d=dt(di),f;try{for(d.s();!(f=d.n()).done;){var g=f.value;if(l[g].size>0)return this.relatedNodes(ie(l[g])),g===$u?void 0:(this.data({messageKey:g}),!1)}}catch(A){d.e(A);}finally{d.f();}return true}function AS(e){var t=[],r=Lu(e),n=Yr(e);return r.forEach(function(a){if(Bo(a)&&Jh(a)&&!ig(a)){var i=es(a,n).some(function(o){return o!==null&&!!Bo(o)});i||t.push(a);}}),t.length?(this.relatedNodes(t),false):true}var _S=AS;function DS(e,t){var r=e.getAttribute("scope").toLowerCase();return t.values.indexOf(r)!==-1}var ES=DS,CS=kS;function kS(e,t,r){if(r.children!==void 0){var n=r.attr("summary"),a=r.children.find(SS),i=a?Je(hn(a)):false;return !i||!n?false:Je(n).toLowerCase()===Je(i).toLowerCase()}}function SS(e){return e.props.nodeName==="caption"}function TS(e){return Zm(p)?e.nodeName.toUpperCase()==="TH":true}var RS=TS;function FS(e){var t=Yr(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 IS=FS;function MS(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=hn(n,{includeHidden:!0}).trim();if(a==="")return this.data({messageKey:"emptyTitle"}),!1}catch{return}return true}}var PS=MS,dg={};_r(dg,{getAriaRolesByType:function(){return ia},getAriaRolesSupportingNameFromContent:function(){return qu},getElementSpec:function(){return mn},getElementsByContentType:function(){return Ul},getGlobalAriaAttrs:function(){return pn},implicitHtmlRoles:function(){return Kl}});function LS(e,t,r){var n=st(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=rt(r);if(["presentation","none"].includes(a))return this.data({role:a}),true;if(!["presentation","none"].includes(n))return false;var i=pn().some(function(l){return r.hasAttr(l)}),o=$t(r),s;return i&&!o?s="globalAria":!i&&o?s="focusable":s="both",this.data({messageKey:s,role:a}),false}function OS(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 NS=OS;function qS(e){return cr(e)}var BS=qS;function HS(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,d=t.multiLineOnly;if(!l&&e.style.getPropertyPriority(r)!=="important"||d&&!eh(e))return true;var f={};typeof a=="number"&&(f.minValue=a),typeof i=="number"&&(f.maxValue=i);var g=e.style.getPropertyValue(r);if(["inherit","unset","revert","revert-layer"].includes(g))return this.data(Y({value:g},f)),true;var A=VS(e,{absoluteValues:n,cssProperty:r,normalValue:s});if(this.data(Y({value:A},f)),typeof A=="number")return (typeof a!="number"||A>=a)&&(typeof i!="number"||A<=i)}function VS(e,t){var r=t.cssProperty,n=t.absoluteValues,a=t.normalValue,i=c.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")),d=Math.round(s/l*100)/100;return isNaN(d)?o:d}function $S(e,t,r){var n=r.props.nodeName;return ["img","input","area"].includes(n)?r.hasAttr("alt"):false}var jS=$S;function zS(){}var GS=zS;function WS(){var e=p.title;return !!Je(e)}var US=WS;function XS(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 JS=XS;function KS(e,t,r){try{return !!Je(Qa(r))}catch{return}}var YS=KS;function ZS(e,t,r){return !!Je(ei(r))}var QS=ZS;function eT(e){var t=e.getAttribute("id").trim();if(!t)return true;var r=Qt(e),n=Array.from(r.querySelectorAll('[id="'.concat(qt(t),'"]'))).filter(function(a){return a!==e});return n.length&&this.relatedNodes(n),this.data(t),n.length===0}var tT=eT;function rT(e){var t=[];return e.filter(function(r){return t.indexOf(r.data)===-1?(t.push(r.data),true):false})}var nT=rT;function aT(e,t,r){var n=Je(r.attr("title")).toLowerCase();return this.data(n),true}var iT=aT;function oT(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 sT=oT;function lT(e){var t=$l(e,"href");return t?Lt(t)||void 0:false}var uT=lT,cT=["alert","log","status"];function dT(e,t,r){this.data({isIframe:["iframe","frame"].includes(r.props.nodeName)});var n=et.get("regionlessNodes",function(){return fT(t)});return !n.includes(r)}function fT(e){var t=fg(m._tree[0],e).map(function(r){for(;r.parent&&!r.parent._hasRegionDescendant&&r.parent.actualNode!==p.body;)r=r.parent;return r}).filter(function(r,n,a){return a.indexOf(r)===n});return t}function fg(e,t){var r=e.actualNode;if(rt(e)==="button"||mT(e,t)||["iframe","frame"].includes(e.props.nodeName)||fu(e.actualNode)&&$l(e.actualNode,"href")||!Lt(r)){for(var n=e;n;)n._hasRegionDescendant=true,n=n.parent;return ["iframe","frame"].includes(e.props.nodeName)?[e]:[]}else return r!==p.body&&Bo(r,true)&&!pT(e)?[e]:e.children.filter(function(a){var i=a.actualNode;return i.nodeType===1}).map(function(a){return fg(a,t)}).reduce(function(a,i){return a.concat(i)},[])}function pT(e){return ["none","presentation"].includes(rt(e))&&!qo(e)}function mT(e,t){var r=e.actualNode,n=rt(e),a=(r.getAttribute("aria-live")||"").toLowerCase().trim(),i=ia("landmark");return !!(["assertive","polite"].includes(a)||cT.includes(n)||i.includes(n)||t.regionMatcher&&ri(e,t.regionMatcher))}function hT(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=dt(t),i;try{for(a.s();!(i=a.n()).done;){var o=i.value;if(ku(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 gT=hT;function vT(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 bT(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 ju(e){var t=c.getComputedStyle(bT(e));return {fontWeight:vT(t.getPropertyValue("font-weight")),fontSize:parseInt(t.getPropertyValue("font-size")),isItalic:t.getPropertyValue("font-style")==="italic"}}function pg(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 yT(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(G){return G.nodeName.toUpperCase()==="P"}),s=n.slice(0,a).reverse().find(function(G){return G.nodeName.toUpperCase()==="P"}),l=ju(e),d=o?ju(o):null,f=s?ju(s):null,g=t.passLength,A=t.failLength,k=e.textContent.trim().length,O=o?.textContent.trim().length;if(k>O*g||!d||!pg(l,d,i))return true;var V=Qn(r,"blockquote");if(!(V&&V.nodeName.toUpperCase()==="BLOCKQUOTE")&&!(f&&!pg(l,f,i))&&!(k>O*A))return false}var wT=yT,xT=/[;,\s]/,AT=/^[0-9.]+$/;function _T(e,t,r){var n=t||{},a=n.minDelay,i=n.maxDelay,o=(r.attr("content")||"").trim(),s=o.split(xT),l=Se(s,1),d=l[0];if(!d.match(AT))return true;var f=parseFloat(d);return this.data({redirectDelay:f}),typeof a=="number"&&f<=t.minDelay||typeof i=="number"&&f>t.maxDelay}function DT(e,t,r){var n=pr(r,"a[href]");return n.some(function(a){return /^#[^/!]/.test(a.attr("href"))})}var ET=DT,mg={};_r(mg,{aria:function(){return Yh},color:function(){return hg},dom:function(){return Rl},forms:function(){return kg},matches:function(){return ri},math:function(){return Vp},standards:function(){return dg},table:function(){return Uh},text:function(){return Za},utils:function(){return Vs}});var hg={};_r(hg,{Color:function(){return Ot},centerPointOfRect:function(){return kT},elementHasImage:function(){return Ho},elementIsDistinct:function(){return vg},filteredRectStack:function(){return FT},flattenColors:function(){return $r},flattenShadowColors:function(){return Gu},getBackgroundColor:function(){return pi},getBackgroundStack:function(){return Wu},getContrast:function(){return oa},getForegroundColor:function(){return os},getOwnBackgroundColor:function(){return Mn},getRectStack:function(){return bg},getStackingContext:function(){return Xu},getStrokeColorsFromShadows:function(){return Uu},getTextShadowColors:function(){return is},hasValidContrastRatio:function(){return QT},incompleteData:function(){return Tt},parseTextShadows:function(){return xg},stackingContextToColor:function(){return fi}});function CT(e){if(!(e.left>c.innerWidth)&&!(e.top>c.innerHeight)){var t=Math.min(Math.ceil(e.left+e.width/2),c.innerWidth-1),r=Math.min(Math.ceil(e.top+e.height/2),c.innerHeight-1);return {x:t,y:r}}}var kT=CT;function gg(e){return e.getPropertyValue("font-family").split(/[,;]/g).map(function(t){return t.trim().toLowerCase()})}function ST(e,t){var r=c.getComputedStyle(e);if(r.getPropertyValue("background-image")!=="none")return true;var n=["border-bottom","border-top","outline"].reduce(function(s,l){var d=new Ot;return d.parseString(r.getPropertyValue(l+"-color")),s||r.getPropertyValue(l+"-style")!=="none"&&parseFloat(r.getPropertyValue(l+"-width"))>0&&d.alpha!==0},false);if(n)return true;var a=c.getComputedStyle(t);if(gg(r)[0]!==gg(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 vg=ST;function TT(e){var t=am(e),r=ou(e);return !r||r.length<=1?[t]:r.some(function(n){return n===void 0})?null:(r.splice(0,0,t),r)}var bg=TT;function RT(e){var t=bg(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,d){return l===s[d]})||r.includes(e);}}),n?t[0]:(Tt.set("bgColor","elmPartiallyObscuring"),null)}return Tt.set("bgColor","outsideViewport"),null}var FT=RT,IT=["hue","saturation","color","luminosity"],yg={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 $r(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"normal",n=PT(t,e,r),a=zu(e.red,e.alpha,t.red,t.alpha,n.r*255),i=zu(e.green,e.alpha,t.green,t.alpha,n.g*255),o=zu(e.blue,e.alpha,t.blue,t.alpha,n.b*255),s=MT(e.alpha+t.alpha*(1-e.alpha),0,1);if(s===0)return new Ot(a,i,o,s);var l=Math.round(a/s),d=Math.round(i/s),f=Math.round(o/s);return new Ot(l,d,f,s)}function zu(e,t,r,n,a){return t*(1-n)*e+t*n*a+(1-t)*n*r}function MT(e,t,r){return Math.min(Math.max(t,e),r)}function PT(e,t,r){if(IT.includes(r))return yg[r](e,t);var n=new Ot;return ["r","g","b"].forEach(function(a){n[a]=yg[r](e[a],t[a]);}),n}function Gu(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 Ot(n,a,i,o)}function Wu(e){for(var t=ou(e).map(function(a){return a=th(a,e),a=LT(a),a}),r=0;r<t.length;r++){var n=t[r];if(n[0]!==e)return Tt.set("bgColor","bgOverlap"),null;if(r!==0&&!OT(n,t[0]))return Tt.set("bgColor","elmPartiallyObscuring"),null}return t[0]||null}function LT(e){var t=e.indexOf(p.body),r=e,n=Mn(c.getComputedStyle(p.documentElement));if(t>1&&n.alpha===0&&!Ho(p.documentElement)){t>1&&(r.splice(t,1),r.push(p.body));var a=r.indexOf(p.documentElement);a>0&&(r.splice(a,1),r.push(p.documentElement));}return r}function OT(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 NT=.54,as=.5,qT=1.5,wg=["top","right","bottom","left"];function Uu(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.ignoreEdgeCount,n=r===void 0?false:r,a=BT(e),i=Object.entries(a).map(function(o){var s=Se(o,2),l=s[0],d=s[1],f=wg.filter(function(g){return d[g].length!==0}).length;return {colorStr:l,sides:d,edgeCount:f}});return !n&&i.some(function(o){var s=o.edgeCount;return s>1&&s<4})?null:i.map(HT).filter(function(o){return o!==null})}function BT(e){var t={},r=dt(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],d=Se(s,2),f=d[0],g=d[1];f>as?l.right.push(f):-f>as&&l.left.push(-f),g>as?l.bottom.push(g):-g>as&&l.top.push(-g);}}catch(A){r.e(A);}finally{r.f();}return t}function HT(e){var t=e.colorStr,r=e.sides,n=e.edgeCount;if(n!==4)return null;var a=new Ot;a.parseString(t);var i=0,o=true;return wg.forEach(function(s){i+=r[s].length/4,o&&(o=r[s].every(function(l){return l>qT}));}),o||(a.alpha=1-Math.pow(NT,i)),a}function xg(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)mt(!t.colorStr,"Multiple colors identified in text-shadow: ".concat(e)),r=r.replace(a[0],"").trim(),t.colorStr=a[0];else if(i){mt(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]===",")mt(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 is(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.minRatio,n=t.maxRatio,a=t.ignoreEdgeCount,i=[],o=c.getComputedStyle(e),s=o.getPropertyValue("text-shadow");if(s==="none")return i;var l=o.getPropertyValue("font-size"),d=parseInt(l);mt(isNaN(d)===false,"Unable to determine font-size value ".concat(l));var f=[],g=xg(s),A=dt(g),k;try{for(A.s();!(k=A.n()).done;){var O=k.value,V=O.colorStr||o.getPropertyValue("color"),G=Se(O.pixels,3),U=G[0],X=G[1],te=G[2],re=te===void 0?0:te;if(!(n&&re>=d*n)){if(r&&re<d*r){f.push({colorStr:V,pixels:O.pixels});continue}if(f.length>0){var ae=Uu(f,{ignoreEdgeCount:a});if(ae===null)return null;i.push.apply(i,ie(ae)),f.splice(0,f.length);}var ce=VT({colorStr:V,offsetX:U,offsetY:X,blurRadius:re,fontSize:d});i.push(ce);}}}catch(we){A.e(we);}finally{A.f();}if(f.length>0){var ge=Uu(f,{ignoreEdgeCount:a});if(ge===null)return null;i.push.apply(i,ie(ge));}return i}function VT(e){var t=e.colorStr,r=e.offsetX,n=e.offsetY,a=e.blurRadius,i=e.fontSize;if(r>a||n>a)return new Ot(0,0,0,0);var o=new Ot;return o.parseString(t),o.alpha*=$T(a,i),o}function $T(e,t){if(e===0)return 1;var r=e/t;return .185/(r+.4)}function Xu(e,t){var r=nt(e);if(r._stackingContext)return r._stackingContext;var n=[],a=new Map;return t=t??Wu(e),t.forEach(function(i){var o,s=nt(i),l=GT(s),d=s._stackingOrder.filter(function(A){var k=A.vNode;return !!k});d.forEach(function(A,k){var O,V=A.vNode,G=(O=d[k-1])===null||O===void 0?void 0:O.vNode,U=_g(a,V,G);k===0&&!a.get(V)&&n.unshift(U),a.set(V,U);});var f=(o=d[d.length-1])===null||o===void 0?void 0:o.vNode,g=_g(a,s,f);d.length||n.unshift(g),g.bgColor=l;}),r._stackingContext=n,n}function fi(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(jT,Ag()),a=$r(n,e.bgColor,e.descendants[0].blendMode);return a.alpha*=e.opacity,{color:a,blendMode:e.blendMode}}function jT(e,t){var r;e instanceof Ot?r=e:r=fi(e).color;var n=fi(t).color;return $r(n,r,t.blendMode)}function Ag(e,t){var r;return {vNode:e,ancestor:t,opacity:parseFloat((r=e?.getComputedStylePropertyValue("opacity"))!==null&&r!==void 0?r:1),bgColor:new Ot(0,0,0,0),blendMode:zT(e?.getComputedStylePropertyValue("mix-blend-mode")),descendants:[]}}function zT(e){return e||void 0}function _g(e,t,r){var n,a=e.get(r),i=(n=e.get(t))!==null&&n!==void 0?n:Ag(t,a);return a&&r!==t&&!a.descendants.includes(i)&&a.descendants.unshift(i),i}function GT(e){var t=new Ot;return t.parseString(e.getComputedStylePropertyValue("background-color")),t}function pi(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:.1,n=nt(e),a=n._cache.getBackgroundColor;if(a)return t.push.apply(t,ie(a.bgElms)),Tt.set("bgColor",a.incompleteData),a.bgColor;var i=WT(e,t,r);return n._cache.getBackgroundColor={bgColor:i,bgElms:t,incompleteData:Tt.get("bgColor")},i}function WT(e,t,r){var n,a,i=Wu(e);if(!i)return null;var o=iu(e),s=(n=is(e,{minRatio:r,ignoreEdgeCount:true}))!==null&&n!==void 0?n:[];s.length&&(s=[{color:s.reduce(Gu)}]);for(var l=0;l<i.length;l++){var d=i[l],f=c.getComputedStyle(d);if(Ho(d,f))return t.push(d),null;var g=void 0;try{if(g=Mn(f),g.alpha===0)continue}catch(V){if(V&&Tt.get("colorParse"))return null;throw V}if(f.getPropertyValue("display")!=="inline"&&!Dg(d,o))return t.push(d),Tt.set("bgColor","elmPartiallyObscured"),null;if(t.push(d),g.alpha===1)break}var A=Xu(e,i);s=A.map(fi).concat(s);var k=UT(e,i.includes(p.body));if((a=s).unshift.apply(a,ie(k)),s.length===0)return new Ot(255,255,255,1);var O=s.reduce(function(V,G){return $r(G.color,V.color instanceof Ot?V.color:V,G.blendMode)});return $r(O.color instanceof Ot?O.color:O,new Ot(255,255,255,1))}function Dg(e,t){t=Array.isArray(t)?t:[t];var r=e.getBoundingClientRect(),n=r.right,a=r.bottom,i=c.getComputedStyle(e),o=i.getPropertyValue("overflow"),s=parseInt(i.getPropertyValue("padding-left"),10),l=parseInt(i.getPropertyValue("padding-right"),10),d=parseInt(i.getPropertyValue("padding-top"),10),f=parseInt(i.getPropertyValue("padding-bottom"),10);return (["scroll","auto"].includes(o)||e instanceof c.HTMLHtmlElement)&&(n=r.left+e.scrollWidth+s+l,a=r.top+e.scrollHeight+d+f),t.every(function(g){return g.top>=r.top&&g.bottom<=a&&g.left>=r.left&&g.right<=n})}function Eg(e){return e||void 0}function UT(e,t){var r=[];if(!t){var n=p.documentElement,a=p.body,i=c.getComputedStyle(n),o=c.getComputedStyle(a),s=Mn(i),l=Mn(o),d=l.alpha!==0&&Dg(a,e.getBoundingClientRect());(l.alpha!==0&&s.alpha===0||d&&l.alpha!==1)&&r.unshift({color:l,blendMode:Eg(o.getPropertyValue("mix-blend-mode"))}),s.alpha!==0&&(!d||d&&l.alpha!==1)&&r.unshift({color:s,blendMode:Eg(i.getPropertyValue("mix-blend-mode"))});}return r}function XT(e,t){if(!t||!e)return null;t.alpha<1&&(t=$r(t,e));var r=e.getRelativeLuminance(),n=t.getRelativeLuminance();return (Math.max(n,r)+.05)/(Math.min(n,r)+.05)}var oa=XT;function os(e,t,r){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},a=c.getComputedStyle(e),i=[function(){return KT(a,n)},function(){return JT(a)},function(){return is(e,{minRatio:0})}],o=[];try{for(var s=0,l=i;s<l.length;s++){var d=l[s],f=d();if(f&&(o=o.concat(f),f.alpha===1))break}}catch(V){if(V&&Tt.get("colorParse"))return null;throw V}var g=o.reduce(function(V,G){return $r(V,G)});if(r??(r=pi(e,[])),r===null){var A=Tt.get("bgColor");return Tt.set("fgColor",A),null}var k=Xu(e),O=Cg(k,e);return $r(YT(g,O,k),new Ot(255,255,255,1))}function JT(e){return new Ot().parseString(e.getPropertyValue("-webkit-text-fill-color")||e.getPropertyValue("color"))}function KT(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 Ot().parseString(s)}function YT(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(fi);if(!i.length){t=t.ancestor;continue}var o=i.reduce(function(s,l){return $r(l.color,s.color instanceof Ot?s.color:s)},{color:new Ot(0,0,0,0),blendMode:"normal"});e=$r(e,o),t=t.ancestor;}return e}function Cg(e,t){var r=dt(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=Cg(i.descendants,t);if(o)return o}}catch(s){r.e(s);}finally{r.f();}}function ZT(e,t,r,n){var a=oa(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 QT=ZT,kg={};_r(kg,{isAriaCombobox:function(){return Mm},isAriaListbox:function(){return Im},isAriaRange:function(){return Pm},isAriaTextbox:function(){return Fm},isDisabled:function(){return mi},isNativeSelect:function(){return Rm},isNativeTextbox:function(){return Tm}});var e5=["fieldset","button","select","input","textarea"];function Sg(e){var t=e._isDisabled;if(typeof t=="boolean")return t;var r=e.props.nodeName,n=e.attr("aria-disabled");return e5.includes(r)&&e.hasAttr("disabled")?t=true:n?t=n.toLowerCase()==="true":e.parent?t=Sg(e.parent):t=false,e._isDisabled=t,t}var mi=Sg;function t5(e,t,r){var n=Za.accessibleTextVirtual(r),a=Za.sanitize(Za.removeUnicode(n,{emoji:true,nonBmp:true,punctuations:true})).toLowerCase();if(a){var i={name:a,urlProps:Rl.urlPropsFromAttribute(e,"href")};return this.data(i),this.relatedNodes([e]),true}}var r5=t5;function Tg(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 ye(o)!==ye(s)?false:ye(o)==="object"||ye(s)==="object"?Tg(o,s):o===s});return a}function n5(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,d=t[s],f=d.data,g=f.name,A=f.urlProps;if(n[g])return 1;var k=t.filter(function(V,G){var U=V.data;return U.name===g&&G!==s}),O=k.every(function(V){var G=V.data;return Tg(G.urlProps,A)});k.length&&!O&&(d.result=void 0),d.relatedNodes=[],(l=d.relatedNodes).push.apply(l,ie(k.map(function(V){return V.relatedNodes[0]}))),n[g]=k,r.push(d);},i=0;i<t.length;i++)a(i);return r}var a5=n5;function i5(e){var t=rt(e),r=t&&t.includes("heading"),n=e.attr("aria-level"),a=parseInt(n,10),i=e.props.nodeName.match(/h(\d)/)||[],o=Se(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 o5(){var e=et.get("headingOrder");if(e)return true;var t="h1, h2, h3, h4, h5, h6, [role=heading], iframe, frame",r=Vr(m._tree[0],t,Lt);return e=r.map(function(n){return {ancestry:[mo(n.actualNode)],level:i5(n)}}),this.data({headingOrder:e}),et.set("headingOrder",r),true}var s5=o5;function l5(e){var t=c5(e);return e.forEach(function(r){r.result=u5(r,t);}),e}function u5(e,t){var r,n,a,i,o=Rg(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 c5(e){e=ie(e),e.sort(function(r,n){var a=r.node,i=n.node;return a.ancestry.length-i.ancestry.length});var t=e.reduce(d5,[]);return t.filter(function(r){var n=r.level;return n!==-1})}function d5(e,t){var r,n=(r=t.data)===null||r===void 0?void 0:r.headingOrder,a=Fg(t.node.ancestry,1);if(!n)return e;var i=n.map(function(s){return p5(s,a)}),o=f5(e,a);return o===-1?e.push.apply(e,ie(i)):e.splice.apply(e,[o,0].concat(ie(i))),e}function f5(e,t){for(;t.length;){var r=Rg(e,t);if(r!==-1)return r;t=Fg(t,1);}return -1}function Rg(e,t){return e.findIndex(function(r){return ku(r.ancestry,t)})}function p5(e,t){var r=t.concat(e.ancestry);return Y({},e,{ancestry:r})}function Fg(e,t){return e.slice(0,e.length-t)}function m5(e,t,r){var n=t?.minSize||24,a=r.boundingClientRect;if(Kr(n*10,a))return this.data({messageKey:"large",minSize:n}),true;var i=Kr.bind(null,n),o=Ro(r),s=h5(r,o),l=g5(r,o),d=l.fullyObscuringElms,f=l.partialObscuringElms;if(s.length&&(d.length||!i(a))){this.data({minSize:n,messageKey:"contentOverflow"}),this.relatedNodes(hi(s));return}if(d.length)return this.relatedNodes(hi(d)),this.data({messageKey:"obscured"}),true;var g=xr(r)?false:void 0;if(!i(a))return this.data(Y({minSize:n},ss(a))),g;var A=y5(f);if(!A.length)return this.data(Y({minSize:n},ss(a))),true;var k=v5(r,A,n);if(!k){this.data({minSize:n,messageKey:"tooManyRects"});return}if(!i(k)){if(s.length){this.data({minSize:n,messageKey:"contentOverflow"}),this.relatedNodes(hi(s));return}var O=A.every(xr),V="partiallyObscured".concat(O?"":"NonTabbable");return this.data(Y({messageKey:V,minSize:n},ss(k))),this.relatedNodes(hi(A)),O?g:void 0}return this.data(Y({minSize:n},ss(k||a))),this.relatedNodes(hi(A)),true}function h5(e,t){return t.filter(function(r){return !Ig(r,e)&&Mg(e,r)})}function g5(e,t){var r=[],n=[],a=dt(t),i;try{for(a.s();!(i=a.n()).done;){var o=i.value;!Mg(e,o)&&Ol(e,o)&&w5(o)!=="none"&&(Ig(e,o)?r.push(o):n.push(o));}}catch(s){a.e(s);}finally{a.f();}return {fullyObscuringElms:r,partialObscuringElms:n}}function v5(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=Nl(n,a);}catch{return null}return b5(i,r)}function b5(e,t){return e.reduce(function(r,n){var a=Kr(t,r),i=Kr(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 y5(e){return e.filter(function(t){return Rr(t)==="widget"&&$t(t)})}function Ig(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 w5(e){return e.getComputedStylePropertyValue("pointer-events")}function ss(e){return {width:Math.round(e.width*10)/10,height:Math.round(e.height*10)/10}}function Mg(e,t){return Jr(e,t)&&!xr(t)}function hi(e){return e.map(function(t){var r=t.actualNode;return r})}var x5=.05;function A5(e,t,r){var n=t?.minOffset||24;if(Kr(n*10,r.boundingClientRect))return this.data({messageKey:"large",minOffset:n}),true;var a=[],i=n,o=dt(Ro(r,n)),s;try{for(o.s();!(s=o.n()).done;){var l=s.value;if(!(Rr(l)!=="widget"||!$t(l))){var d=null;try{d=jp(r,l,n/2);}catch(f){if(f.message.startsWith("splitRects")){this.data({messageKey:"tooManyRects",closestOffset:0,minOffset:n});return}throw f}d!==null&&(d=_5(d)*2,!(d+x5>=n)&&(i=Math.min(i,d),a.push(l)));}}}catch(f){o.e(f);}finally{o.f();}if(a.length===0)return this.data({closestOffset:i,minOffset:n}),true;if(this.relatedNodes(a.map(function(f){var g=f.actualNode;return g})),!a.some(xr)){this.data({messageKey:"nonTabbableNeighbor",closestOffset:i,minOffset:n});return}return this.data({closestOffset:i,minOffset:n}),xr(r)?false:void 0}function _5(e){return Math.round(e*10)/10}function D5(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 d=l.split(/[;,]/).reduce(function(g,A){var k=A.trim();if(!k)return g;var O=k.split("="),V=Se(O,2),G=V[0],U=V[1];if(!G||!U)return g;var X=G.toLowerCase().trim(),te=U.toLowerCase().trim();return X==="maximum-scale"&&te==="yes"&&(te=1),X==="maximum-scale"&&parseFloat(te)<0||(g[X]=te),g},{});if(s&&d["maximum-scale"]&&parseFloat(d["maximum-scale"])<s)return true;if(!s&&d["user-scalable"]==="no")return this.data("user-scalable=no"),false;var f=parseFloat(d["user-scalable"]);return !s&&d["user-scalable"]&&(f||f===0)&&f>-1&&f<1?(this.data("user-scalable"),false):d["maximum-scale"]&&parseFloat(d["maximum-scale"])<i?(this.data("maximum-scale"),false):true}var E5=D5;function C5(e,t,r,n){var a=n||{},i=a.cssom,o=i===void 0?void 0:i,s=t||{},l=s.degreeThreshold,d=l===void 0?0:l;if(!o||!o.length)return;for(var f=false,g=[],A=G(o),k=function(){var Ee=V[O],Te=A[Ee],Me=Te.root,je=Te.rules,Ye=je.filter(U);if(!Ye.length)return 1;Ye.forEach(function(qe){var Xe=qe.cssRules;Array.from(Xe).forEach(function(Ce){var $e=X(Ce);if($e&&Ce.selectorText.toUpperCase()!=="HTML"){var se=Array.from(Me.querySelectorAll(Ce.selectorText))||[];g=g.concat(se);}f=f||$e;});});},O=0,V=Object.keys(A);O<V.length;O++)k();if(!f)return true;return g.length&&this.relatedNodes(g),false;function G(ve){return ve.reduce(function(Ee,Te){var Me=Te.sheet,je=Te.root,Ye=Te.shadowId,qe=Ye||"topDocument";if(Ee[qe]||(Ee[qe]={root:je,rules:[]}),!Me||!Me.cssRules)return Ee;var Xe=Array.from(Me.cssRules);return Ee[qe].rules=Ee[qe].rules.concat(Xe),Ee},{})}function U(ve){var Ee=ve.type,Te=ve.cssText;return Ee!==4?false:/orientation:\s*landscape/i.test(Te)||/orientation:\s*portrait/i.test(Te)}function X(ve){var Ee=ve.selectorText,Te=ve.style;if(!Ee||Te.length<=0)return false;var Me=Te.transform||Te.webkitTransform||Te.msTransform||false;if(!Me&&!Te.rotate)return false;var je=te(Me),Ye=re("rotate",Te.rotate),qe=je+Ye;return !qe||(qe=Math.abs(qe),Math.abs(qe-180)%180<=d)?false:Math.abs(qe-90)%90<=d}function te(ve){if(!ve)return 0;var Ee=ve.match(/(rotate|rotateZ|rotate3d|matrix|matrix3d)\(([^)]+)\)(?!.*(rotate|rotateZ|rotate3d|matrix|matrix3d))/);if(!Ee)return 0;var Te=Se(Ee,3),Me=Te[1],je=Te[2];return re(Me,je)}function re(ve,Ee){switch(ve){case "rotate":case "rotateZ":return ae(Ee);case "rotate3d":var Te=Ee.split(",").map(function(qe){return qe.trim()}),Me=Se(Te,4),je=Me[2],Ye=Me[3];return parseInt(je)===0?void 0:ae(Ye);case "matrix":case "matrix3d":return ce(Ee);default:return 0}}function ae(ve){var Ee=ve.match(/(deg|grad|rad|turn)/)||[],Te=Se(Ee,1),Me=Te[0];if(!Me)return 0;var je=parseFloat(ve.replace(Me,""));switch(Me){case "rad":return ge(je);case "grad":return we(je);case "turn":return Ie(je);default:return parseInt(je)}}function ce(ve){var Ee=ve.split(",");if(Ee.length<=6){var Te=Se(Ee,2),Me=Te[0],je=Te[1],Ye=Math.atan2(parseFloat(je),parseFloat(Me));return ge(Ye)}var qe=parseFloat(Ee[8]),Xe=Math.asin(qe),Ce=Math.cos(Xe),$e=Math.acos(parseFloat(Ee[0])/Ce);return ge($e)}function ge(ve){return Math.round(ve*(180/Math.PI))}function we(ve){return ve=ve%400,ve<0&&(ve+=400),Math.round(ve/400*360)}function Ie(ve){return Math.round(360/(1/ve))}}var k5=C5;function S5(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(d){if(!d.currentSrc)return 0;var f=s(d.currentSrc);return f?f.length===1?Math.abs(d.duration-f[0]):Math.abs(f[1]-f[0]):Math.abs(d.duration-(d.currentTime||0))}function s(d){var f=d.match(/#t=(.*)/);if(f){var g=Se(f,2),A=g[1],k=A.split(",");return k.map(function(O){return /:/.test(O)?l(O):parseFloat(O)})}}function l(d){for(var f=d.split(":"),g=0,A=1;f.length>0;)g+=A*parseInt(f.pop(),10),A*=60;return parseFloat(g)}}var T5=S5;function R5(e,t){return t.isViolation?false:void 0}var F5=R5,Pg=" > ";function I5(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(Pg);return t[a]=r,true}var i=r.node.ancestry.slice(0,r.node.ancestry.length-1).flat(1/0).join(Pg);return t[i]&&(t[i].result=true),false})}var M5=I5;function P5(e,t,r){var n=pr(r,"track"),a=n.some(function(i){return (i.attr("kind")||"").toLowerCase()==="captions"});return a?false:void 0}var L5=P5;function O5(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 N5=O5;function q5(e,t,r){var n=false,a=false,i=true,o=[],s=[],l=[];return r.children.forEach(function(d){var f=d.actualNode;if(f.nodeType===3&&f.nodeValue.trim()!==""){n=true;return}if(!(f.nodeType!==1||!Lt(f))){i=false;var g=f.nodeName.toUpperCase()==="LI",A=rt(d),k=A==="listitem";!g&&!k&&o.push(f),g&&!k&&(s.push(f),l.includes(A)||l.push(A)),k&&(a=true);}}),n||o.length?(this.relatedNodes(o),true):i||a?false:(this.relatedNodes(s),this.data({messageKey:"roleNotValid",roles:l.join(", ")}),true)}var B5=q5;function H5(e,t,r){var n=["definition","term","list"],a={badNodes:[],hasNonEmptyTextNode:false},i=r.children.reduce(function(s,l){var d=l.actualNode;return d.nodeName.toUpperCase()==="DIV"&&rt(d)===null?s.concat(l.children):s.concat(l)},[]),o=i.reduce(function(s,l){var d=l.actualNode,f=d.nodeName.toUpperCase();if(d.nodeType===1&&Lt(d)){var g=st(d);(f!=="DT"&&f!=="DD"||g)&&(n.includes(g)||s.badNodes.push(d));}else d.nodeType===3&&d.nodeValue.trim()!==""&&(s.hasNonEmptyTextNode=true);return s},a);return o.badNodes.length&&this.relatedNodes(o.badNodes),!!o.badNodes.length||o.hasNonEmptyTextNode}function V5(e,t,r){var n=r.parent;if(n){var a=n.props.nodeName,i=st(n);return ["presentation","none","list"].includes(i)?true:i&&ti(i)?(this.data({messageKey:"roleNotValid"}),false):["ul","ol","menu"].includes(a)}}function $5(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=Lg(r.children);i.length;){var o,s=i.shift(),l=s.vChild,d=s.nested;if(t.divGroups&&!d&&z5(l)){if(!l.children)return;var f=Lg(l.children,true);i.push.apply(i,ie(f));continue}var g=j5(l,d,t);g&&(a.includes(g)||a.push(g),(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 j5(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,d=s.nodeType,f=s.nodeValue,g=t?"div > ":"";if(d===3&&f.trim()!=="")return g+"#text";if(d!==1||!Lt(e))return false;var A=st(e);return A?a.includes(A)?false:g+"[role=".concat(A,"]"):o.includes(l)?false:g+l}function z5(e){return e.props.nodeName==="div"&&st(e)===null}function Lg(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:false;return e.map(function(r){return {vChild:r,nested:t}})}function G5(e){var t=Jt(e),r=t.nodeName.toUpperCase(),n=st(t);return r==="DIV"&&["presentation","none",null].includes(n)&&(t=Jt(t),r=t.nodeName.toUpperCase(),n=st(t)),r!=="DL"?false:!!(!n||["presentation","none","list"].includes(n))}var W5=G5;function U5(e,t,r){var n=Ln(r.attr("lang")),a=Ln(r.attr("xml:lang"));return n===a}var X5=U5;function J5(e,t,r){var n=[];return t.attributes.forEach(function(a){var i=r.attr(a);if(typeof i=="string"){var o=Ln(i),s=t.value?!t.value.map(Ln).includes(o):!Qo(o);(o!==""&&s||i!==""&&!Je(i))&&n.push(a+'="'+r.attr(a)+'"');}}),!n.length||r.props.nodeName!=="html"&&!lu(r)?false:(this.data(n),true)}var K5=J5;function Ju(e){return (e||"").trim()!==""}function Y5(e,t,r){var n=typeof p<"u"?Ha(p):false;if(t.attributes.includes("xml:lang")&&t.attributes.includes("lang")&&Ju(r.attr("xml:lang"))&&!Ju(r.attr("lang"))&&!n)return this.data({messageKey:"noXHTML"}),false;var a=t.attributes.some(function(i){return Ju(r.attr(i))});return a?true:(this.data({messageKey:"noLang"}),false)}var Z5=Y5;function Q5(e,t,r){var n=rt(e),a=Kt(r);return a=a?a.toLowerCase():null,this.data({role:n,accessibleText:a}),this.relatedNodes([e]),true}var eR=Q5;function tR(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 rR=tR;function nR(e,t,r){var n=No(r),a=Po(r),i=r.attr("aria-describedby");return !n&&!!(a||i)}var aR=nR;function iR(e){var t=qt(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 !fn(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 Lt(s)});if(i.length>1)return;var o=Or(e,"aria-labelledby");return o.includes(i[0])?false:void 0}return false}var oR=iR;function sR(e,t){var r=Og(t),n=Og(e);return !r||!n?false:r.includes(n)}function Og(e){var t=ai(e,{emoji:true,nonBmp:true,punctuations:true});return Je(t)}function lR(e,t,r){var n,a=t?.pixelThreshold,i=(n=t?.occurrenceThreshold)!==null&&n!==void 0?n:t?.occuranceThreshold,o=Rn(e).toLowerCase(),s=Je(hn(r,{subtreeDescendant:true,ignoreIconLigature:true,pixelThreshold:a,occurrenceThreshold:i})).toLowerCase();if(!s)return true;if(!(au(o)<1||au(s)<1))return sR(s,o)}var uR=lR;function cR(e,t,r){try{var n=ur(r,"label");if(n){var a=Je(Kt(n,{inControlContext:!0,startNode:r}));return n.actualNode&&this.relatedNodes([n.actualNode]),this.data({implicitLabel:a}),!!a}return !1}catch{return}}var dR=cR;function fR(e,t,r){if(r.hasAttr("id")){if(!r.actualNode)return;var n=Qt(e),a=qt(e.getAttribute("id")),i=n.querySelector('label[for="'.concat(a,'"]'));if(i&&!Lt(i)){var o;try{o=Kt(r).trim();}catch{return}var s=o==="";return s}}return false}var pR=fR;function mR(e,t,r){var n=No(r),a=e.getAttribute("title");if(!n)return false;if(!a&&(a="",e.getAttribute("aria-describedby"))){var i=Or(e,"aria-describedby");a=i.map(function(o){return o?Rn(o):""}).join("");}return Je(a)===Je(n)}var hR=mR;function gR(e,t,r){var n=this;if(!r.attr("id"))return false;if(r.actualNode){var a=Qt(r.actualNode),i=qt(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(cr(s)){var l=Je(Rn(s,{inControlContext:!0,startNode:r}));return n.data({explicitLabel:l}),!!l}else return !0})}catch{return}}}var vR=gR;function bR(e,t,r){if(["none","presentation"].includes(rt(r)))return false;var n=ur(r,t.parentSelector);if(!n)return false;var a=qr(n,true).toLowerCase();return a===""?false:a===Kt(r).toLowerCase()}var yR=bR;function wR(e,t,r){var n=r.attr("alt"),a=/^\s+$/;return typeof n=="string"&&a.test(n)}var xR=wR;function AR(e,t,r){var n=Hr(r.attr("tabindex"));return n===null||n<=0}var _R=AR;function DR(e,t,r){if(r.children)try{var n=Ng(r);if(!n.length)return !0;var a=n.filter(ER);return a.length>0?(this.data({messageKey:"notHidden"}),this.relatedNodes(a)):this.relatedNodes(n),!1}catch{return}}function Ng(e){if(!e.children){if(e.props.nodeType===1)throw new Error("Cannot determine children");return []}var t=[];return e.children.forEach(function(r){Rr(r)==="widget"&&$t(r)?t.push(r):t.push.apply(t,ie(Ng(r)));}),t}function ER(e){var t=Hr(e.attr("tabindex"));return t!==null&&t<0}function CR(e){var t=ia("landmark"),r=Jt(e),n=rt(e);for(this.data({role:n});r;){var a=st(r);if(!a&&r.nodeName.toUpperCase()!=="FORM"&&(a=Nr(r)),a&&t.includes(a)&&!(a==="main"&&n==="complementary"))return false;r=Jt(r);}return true}var kR=CR;function SR(e,t,r){if(r.children)try{return !r.children.some(function(n){return qg(n)})}catch{return}}function qg(e){if(xr(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 qg(t)})}function TR(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||oi()?true:i.every(function(o){var s=o.getComputedStylePropertyValue("pointer-events"),l=parseInt(o.getComputedStylePropertyValue("width")),d=parseInt(o.getComputedStylePropertyValue("height"));return o.actualNode.onfocus||(l===0||d===0)&&s==="none"})?void 0:false}var RR=TR;function FR(e,t,r){if(!xr(r))return false;try{return !Kt(r)}catch{return}}var IR=FR;function MR(e,t,r){var n=r.tabbableElements.map(function(a){var i=a.actualNode;return i});if(!n||!n.length)return true;if(oi()){this.relatedNodes(n);return}return true}var PR=MR;function LR(e,t,r){if(r.hasAttr("contenteditable")&&n(r))return true;return xr(r);function n(a){var i=a.attr("contenteditable");if(i==="true"||i==="")return true;if(i==="false")return false;var o=ur(r.parent,"[contenteditable]");return o?n(o):false}}var OR=LR;function NR(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||oi()?true:i.every(function(o){var s=o.getComputedStylePropertyValue("pointer-events"),l=parseInt(o.getComputedStylePropertyValue("width")),d=parseInt(o.getComputedStylePropertyValue("height"));return o.actualNode.onfocus||(l===0||d===0)&&s==="none"})?void 0:false}var qR=NR;function BR(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 HR=BR;function VR(e,t,r){return fn(r)||(this.data(r.attr("accesskey")),this.relatedNodes([e])),true}var $R=VR;function jR(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 zR=jR;function GR(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(et.get(n)){this.data("ignored");return}et.set(n,true);var a=Vr(m._tree[0],t.selector,function(i){return Lt(i)});return typeof t.nativeScopeFilter=="string"&&(a=a.filter(function(i){return i.actualNode.hasAttribute("role")||!Qn(i,t.nativeScopeFilter)})),typeof t.role=="string"&&(a=a.filter(function(i){return rt(i)===t.role})),this.relatedNodes(a.filter(function(i){return i!==r}).map(function(i){return i.actualNode})),a.length<=1}var WR=GR;function UR(e){return e.filter(function(t){return t.data!=="ignored"})}var XR=UR;function JR(e,t,r){return ri(r,t.matcher)}var KR=JR;function YR(e,t,r){try{return Je(hn(r))!==""}catch{return}}function ZR(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&&oi())return true;var n=Vr(r,t.selector,function(a){return Lt(a)});return this.relatedNodes(n.map(function(a){return a.actualNode})),n.length>0}var QR=ZR;function eF(e){var t=e.some(function(r){return r.result===true});return t&&e.forEach(function(r){r.result=true;}),e}var tF=eF;function rF(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=!Je(n);return a?(this.data({messageKey:"emptyAttr"}),false):true}var nF=rF;function aF(e,t,r){var n=r.attr("autocomplete")||"";return zm(n,t)}var iF=aF;function oF(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};ye(t)==="object"&&Object.keys(t).forEach(function(g){i[g]||(i[g]=[]),i[g]=i[g].concat(t[g]);});var o=r.attr("autocomplete"),s=o.split(/\s+/g).map(function(g){return g.toLowerCase()}),l=s[s.length-1];if(In.stateTerms.includes(l))return true;var d=i[l],f=r.hasAttr("type")?Je(r.attr("type")).toLowerCase():"text";return f=Zo().includes(f)?f:"text",typeof d>"u"?f==="text":d.includes(f)}var sF=oF,lF=["block","list-item","table","flex","grid","inline-block"];function uF(e){if(Bg(e))return false;for(var t=Jt(e);t&&t.nodeType===1&&!Bg(t);)t=Jt(t);if(t){if(this.relatedNodes([t]),vg(e,t))return true;if(cF(e)){this.data({messageKey:"pseudoContent"});return}return false}}function Bg(e){var t=c.getComputedStyle(e).getPropertyValue("display");return lF.indexOf(t)!==-1||t.substr(0,6)==="table-"}function cF(e){for(var t=0,r=["before","after"];t<r.length;t++){var n=r[t],a=c.getComputedStyle(e,":".concat(n)),i=a.getPropertyValue("content");if(i!=="none")return true}return false}function Hg(e,t){var r=e.getRelativeLuminance(),n=t.getRelativeLuminance();return (Math.max(r,n)+.05)/(Math.min(r,n)+.05)}var dF=["block","list-item","table","flex","grid","inline-block"];function Vg(e){var t=c.getComputedStyle(e).getPropertyValue("display");return dF.indexOf(t)!==-1||t.substr(0,6)==="table-"}function fF(e,t){var r=t.requiredContrastRatio,n=t.allowSameColor;if(Vg(e))return false;for(var a=Jt(e);a&&a.nodeType===1&&!Vg(a);)a=Jt(a);if(a){this.relatedNodes([a]);var i=os(e),o=os(a),s=pi(e),l=pi(a),d=i&&o?Hg(i,o):void 0;if(d&&(d=Math.floor(d*100)/100),d&&d>=r)return true;var f=s&&l?Hg(s,l):void 0;if(f&&(f=Math.floor(f*100)/100),f&&f>=r)return true;if(!f){var g,A=(g=Tt.get("bgColor"))!==null&&g!==void 0?g:"bgContrast";this.data({messageKey:A}),Tt.clear();return}if(d)return n&&d===1&&f===1?true:d===1&&f>1?(this.data({messageKey:"bgContrast",contrastRatio:f,requiredContrastRatio:r,nodeBackgroundColor:s?s.toHexString():void 0,parentBackgroundColor:l?l.toHexString():void 0}),false):(this.data({messageKey:"fgContrast",contrastRatio:d,requiredContrastRatio:r,nodeColor:i?i.toHexString():void 0,parentColor:o?o.toHexString():void 0}),false)}}var pF=fF;function mF(e,t,r){var n=t.ignoreUnicode,a=t.ignoreLength,i=t.ignorePseudo,o=t.boldValue,s=t.boldTextPt,l=t.largeTextPt,d=t.contrastRatio,f=t.shadowOutlineEmMax,g=t.pseudoSizeThreshold;if(!cr(e))return this.data({messageKey:"hidden"}),true;var A=qr(r,false,true);if(n&&gF(A)){this.data({messageKey:"nonBmp"});return}var k=c.getComputedStyle(e),O=parseFloat(k.getPropertyValue("font-size")),V=k.getPropertyValue("font-weight"),G=parseFloat(V)>=o||V==="bold",U=Math.ceil(O*72)/96,X=G&&U<s||!G&&U<l,te=X?d.normal:d.large,re=te.expected,ae=te.minThreshold,ce=te.maxThreshold,ge=hF(r,{ignorePseudo:i,pseudoSizeThreshold:g});if(ge){this.data({fontSize:"".concat((O*72/96).toFixed(1),"pt (").concat(O,"px)"),fontWeight:G?"bold":"normal",messageKey:"pseudoContent",expectedContrastRatio:re+":1"}),this.relatedNodes(ge.actualNode);return}var we=is(e,{minRatio:.001,maxRatio:f});if(we===null){this.data({messageKey:"complexTextShadows"});return}var Ie=[],ve=pi(e,Ie,f),Ee=os(e,false,ve,t),Te=null,Me=null,je=null;if(we.length===0)Te=oa(ve,Ee);else if(Ee&&ve){je=[].concat(ie(we),[ve]).reduce(Gu);var Ye=oa(ve,Ee),qe=oa(ve,je),Xe=oa(je,Ee);Te=Math.max(Ye,qe,Xe),Te!==Ye&&(Me=qe>Xe?"shadowOnBgColor":"fgOnShadowColor");}var Ce=Te>re;if(typeof ae=="number"&&(typeof Te!="number"||Te<ae)||typeof ce=="number"&&(typeof Te!="number"||Te>ce))return this.data({contrastRatio:Te}),true;var $e=Math.floor(Te*100)/100,se,Le;ve===null?Tt.get("colorParse")?(se="colorParse",Le=Tt.get("colorParse")):se=Tt.get("bgColor"):Ce||(se=Me),Ee===null&&Tt.get("colorParse")&&(se="colorParse",Le=Tt.get("colorParse"));var _e=$e===1,Oe=A.length===1;if(_e?se=Tt.set("bgColor","equalRatio"):!Ce&&Oe&&!a&&(se="shortTextContent"),this.data({fgColor:Ee?Ee.toHexString():void 0,bgColor:ve?ve.toHexString():void 0,contrastRatio:$e,fontSize:"".concat((O*72/96).toFixed(1),"pt (").concat(O,"px)"),fontWeight:G?"bold":"normal",messageKey:se,expectedContrastRatio:re+":1",shadowColor:je?je.toHexString():void 0,colorParse:Le}),Ee===null||ve===null||_e||Oe&&!a&&!Ce){se=null,Tt.clear(),this.relatedNodes(Ie);return}return Ce||this.relatedNodes(Ie),Ce}function hF(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=$g(e.actualNode,":before"),d=$g(e.actualNode,":after");if(l+d>s)return e}while(e=e.parent)}}var $g=St(function(t,r){var n=c.getComputedStyle(t,r),a=function(l,d){return n.getPropertyValue(l)===d};if(a("content","none")||a("display","none")||a("visibility","hidden")||a("position","absolute")===false||Mn(n).alpha===0&&a("background-image","none"))return 0;var i=jg(n.getPropertyValue("width")),o=jg(n.getPropertyValue("height"));return i.unit!=="px"||o.unit!=="px"?i.value===0||o.value===0?0:1/0:i.value*o.value});function gF(e){var t={nonBmp:true},r=ru(e,t),n=Je(ai(e,t))==="";return r&&n}function jg(e){var t=/^([0-9.]+)([a-z]+)$/i,r=e.match(t)||[],n=Se(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 vF={ARTICLE:true,ASIDE:true,NAV:true,SECTION:true},bF={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 yF(e){var t=e.nodeName.toUpperCase();return vF[t]||false}function wF(e,t){var r=st(e);return r&&(bF[r]||t.roles.includes(r))||false}function xF(e,t){return wF(e,t)||yF(e)}var AF=xF;function _F(e,t,r){var n=rt(r,{dpub:true,fallback:true}),a=Wl(n);return a&&this.data(n),a}var DF=_F;function EF(e,t,r){var n=rt(r,{noImplicit:true});this.data(n);var a,i;try{a=Je(eu(r)).toLowerCase(),i=Je(Kt(r)).toLowerCase();}catch{return}if(!i&&!a)return false;if(!(!i&&a)&&i.includes(a))return false}var CF=EF;function kF(e,t,r){return $t(r)}var SF=kF;function TF(e,t,r){var n=nr(r.attr("role")),a=n.every(function(i){return !ti(i.toLowerCase(),{allowAbstract:true})});return a?(this.data(n),true):false}var RF=TF;function FF(e,t,r){var n=st(r);if(n===null)return false;var a=Rr(n);return a==="widget"||a==="composite"}var IF=FF;function MF(e,t,r){var n=pn().filter(function(a){return r.hasAttr(a)});return this.data(n),n.length>0}var PF=MF;function LF(e,t){var r=Nr(e);return !r&&t.length===2&&t.includes("none")&&t.includes("presentation")}function OF(e,t,r){var n=nr(r.attr("role"));return n.length<=1?false:LF(r,n)?void 0:true}var NF=OF;function qF(e,t,r){var n=rt(r,{dpub:true,fallback:true}),a=ht.ariaRoles[n];return a!=null&&a.deprecated?(this.data(n),true):false}function BF(e,t,r){var n,a=(n=r.attr("aria-brailleroledescription"))!==null&&n!==void 0?n:"";if(Je(a)==="")return true;var i=r.attr("aria-roledescription");return typeof i!="string"?(this.data({messageKey:"noRoleDescription"}),false):Je(i)===""?(this.data({messageKey:"emptyRoleDescription"}),false):true}function HF(e,t,r){var n,a=(n=r.attr("aria-braillelabel"))!==null&&n!==void 0?n:"";if(!a.trim())return true;try{return Je(Kt(r))!==""}catch{return}}function VF(e,t,r){t=Array.isArray(t.value)?t.value:[];var n="",a="",i=[],o=/^aria-/,s=["aria-errormessage"],l={"aria-controls":function(){var f=["false",null].includes(r.attr("aria-haspopup"))===false;return f&&(n='aria-controls="'.concat(r.attr("aria-controls"),'"'),a="controlsWithinPopup"),r.attr("aria-expanded")!=="false"&&r.attr("aria-selected")!=="false"&&f===false},"aria-current":function(f){f||(n='aria-current="'.concat(r.attr("aria-current"),'"'),a="ariaCurrent");},"aria-owns":function(){return r.attr("aria-expanded")!=="false"},"aria-describedby":function(f){f||(n='aria-describedby="'.concat(r.attr("aria-describedby"),'"'),a=m._tree&&m._tree[0]._hasShadowRoot?"noIdShadow":"noId");},"aria-labelledby":function(f){f||(n='aria-labelledby="'.concat(r.attr("aria-labelledby"),'"'),a=m._tree&&m._tree[0]._hasShadowRoot?"noIdShadow":"noId");}};if(r.attrNames.forEach(function(d){if(!(s.includes(d)||t.includes(d)||!o.test(d))){var f,g=r.attr(d);try{f=sg(r,d);}catch{n="".concat(d,'="').concat(g,'"'),a="idrefs";return}(!l[d]||l[d](f))&&!f&&(g===""&&!$F(d)?(n=d,a="empty"):i.push("".concat(d,'="').concat(g,'"')));}}),i.length)return this.data(i),false;if(n){this.data({messageKey:a,needsReview:n});return}return true}function $F(e){var t;return ((t=ht.ariaAttrs[e])===null||t===void 0?void 0:t.type)==="string"}function jF(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)&&!ns(i)&&n.push(i);}),n.length?(this.data(n),false):true}var zF=jF;function GF(e,t,r){var n=r.attrNames.filter(function(a){var i=ht.ariaAttrs[a];if(!ns(a))return false;var o=i.unsupported;return ye(o)!=="object"?!!o:!ri(e,o.exceptions)});return n.length?(this.data(n),true):false}var WF=GF;function UF(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=rt(r),a=t.supportedRoles||[];if(a.includes(n))return true;if(!(n&&n!=="presentation"&&n!=="none"))return false}var XF=UF;function zg(e,t,r,n){var a=st(e);if(r||(r=Hu(a)),!r)return null;for(var i=r.includes("group"),o=n?e:e.parent;o;){var s=rt(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 JF(e){for(var t=[],r=null;e;){if(e.getAttribute("id")){var n=qt(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 KF(e,t,r){var n=t&&Array.isArray(t.ownGroupRoles)?t.ownGroupRoles:[],a=zg(r,n);if(!a)return true;var i=JF(e);if(i){for(var o=0,s=i.length;o<s;o++)if(a=zg(nt(i[o]),n,a,true),!a)return true}return this.data(a),false}var YF=KF;function ZF(e,t,r){var n=t&&Array.isArray(t.reviewEmpty)?t.reviewEmpty:[],a=st(r,{dpub:true}),i=Vu(a);if(i===null)return true;var o=QF(r,i),s=o.filter(function(d){var f=d.role,g=d.vNode;return g.props.nodeType===1&&!i.includes(f)});if(s.length){this.relatedNodes(s.map(function(d){var f=d.vNode;return f}));var l=r.attr("aria-busy")==="true"?"aria-busy-fail":"unallowed";return this.data({messageKey:l,values:s.map(function(d){var f=d.vNode,g=d.attr;return r3(f,g)}).filter(function(d,f,g){return g.indexOf(d)===f}).join(", ")}),false}if(e3(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(n3)))return false}function QF(e,t){for(var r,n=[],a=ni(e),i=function(){if(r.props.nodeType===3&&n.push({vNode:r,role:null}),r.props.nodeType!==1||!Lt(r))return 1;var s=rt(r,{noPresentational:true}),l=t3(r),d=!!l||$t(r);if(!s&&!d||["group","rowgroup"].includes(s)&&t.some(function(g){return g===s}))a.push.apply(a,ie(r.children));else if(s||d){var f=l||"tabindex";n.push({role:s,attr:f,vNode:r});}};r=a.shift();)i();return n}function e3(e,t){return t.some(function(r){var n=r.role;return n&&e.includes(n)})}function t3(e){return pn().find(function(t){return e.hasAttr(t)})}function r3(e,t){var r=e.props,n=r.nodeName,a=r.nodeType;if(a===3)return "#text";var i=st(e,{dpub:true});return i?"[role=".concat(i,"]"):t?n+"[".concat(t,"]"):n}function n3(e){var t=e.vNode;return t.props.nodeType===3?t.props.nodeValue.trim().length>0:ii(t,false,true)}function a3(e){var t,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,a=st(n),i=n.attrNames,o=og(a);if(Array.isArray(r[a])&&(o=ui(r[a],o)),!a||!i.length||!o.length||i3(n,a)||s3(n,a)||a==="slider"&&(t=n.attr("aria-valuetext"))!==null&&t!==void 0&&t.trim())return true;var s=mn(n),l=o.filter(function(d){return !n.attr(d)&&!o3(s,d)});return l.length?(this.data(l),false):true}function i3(e,t){return t==="separator"&&!$t(e)}function o3(e,t){var r;return ((r=e.implicitAttrs)===null||r===void 0?void 0:r[t])!==void 0}function s3(e,t){return t==="combobox"&&e.attr("aria-expanded")==="false"}function l3(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=rt(r,{chromium:true,fallback:true}),o=u3(r,i,a,n),s=o.filter(function(f){return r.attrNames.includes(f)?Je(r.attr(f))!=="":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 d=hn(r,{subtreeDescendant:true});if(Je(d)==="")return true}function u3(e,t,r,n){var a=ht.ariaRoles[t];return a?a.prohibitedAttrs||[]:t||n.includes(r)||Gg(e)==="widget"?[]:["aria-label","aria-labelledby"]}var Gg=St(function(t){if(t){var r=rt(t,{noPresentational:true,chromium:true});return r?Rr(r):Gg(t.parent)}});function c3(e,t,r){var n=r.attr("aria-level"),a=parseInt(n,10);if(!(a>6))return true}var d3=c3;function f3(e,t,r){return r.attr("aria-hidden")!=="true"}var p3=f3;function m3(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 ht.ariaAttrs["aria-errormessage"].allowEmpty;var d=nr(l);if(d.length>1)return this.data({messageKey:"unsupported",values:d}),false;var f;try{f=l&&Or(r,"aria-errormessage")[0];}catch{this.data({messageKey:"idrefs",values:d});return}if(f){if(!Lt(f))return this.data({messageKey:"hidden",values:d}),false;var g=nr(r.attr("aria-describedby"));return st(f)==="alert"||f.getAttribute("aria-live")==="assertive"||f.getAttribute("aria-live")==="polite"||d.some(function(A){return g.includes(A)})}}return t.indexOf(n)===-1&&a?(this.data(nr(n)),s.call(this,n)):true}function Wg(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(f){return i.hasAttr(f)}))!==null&&t!==void 0?t:[];if(o.length===0)return true;var s=h3(i),l=s&&rt(s);if(!l||l==="treegrid")return true;var d="row".concat(o.length>1?"Plural":"Singular");return this.data({messageKey:d,invalidAttrs:o,ownerRole:l}),false}function h3(e){if(e.parent){var t='table:not([role]), [role~="treegrid"], [role~="table"], [role~="grid"]';return ur(e,t)}}function Ug(e,t,r){var n=r.props,a=n.nodeName,i=n.type,o=v3(r.attr("aria-checked"));if(a!=="input"||i!=="checkbox"||!o)return true;var s=g3(r);return o===s?true:(this.data({messageKey:"checkbox",checkState:s}),false)}function g3(e){return e.props.indeterminate?"mixed":e.props.checked?"true":"false"}function v3(e){return e?(e=e.toLowerCase(),["mixed","true"].includes(e)?e:"false"):""}var Xg={row:Wg,checkbox:Ug};function b3(e,t,r){var n=rt(r);return Xg[n]?Xg[n].call(this,e,t,r):true}function y3(e,t,r){return r.attr("aria-busy")==="true"}function w3(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(d){return d.toLowerCase()}).includes(s))return true;var l=tg(r,a);return l.length?(this.data(l),Lt(r)?false:void 0):true}var x3=w3;function A3(e,t,r){var n=[],a=rt(r),i=Zh(a);Array.isArray(t[a])&&(i=ui(t[a].concat(i)));var o=dt(r.attrNames),s;try{for(o.s();!(s=o.n()).done;){var l=s.value;ns(l)&&!i.includes(l)&&!_3(l,r.attr(l),r)&&n.push(l);}}catch(d){o.e(d);}finally{o.f();}if(!n.length)return true;if(this.data(n.map(function(d){return d+'="'+r.attr(d)+'"'})),!(!a&&!Eu(r)&&!$t(r)))return false}function _3(e,t,r){return !!(e==="aria-required"&&t==="false"||e==="aria-multiline"&&t==="false"&&r.hasAttr("contenteditable"))}function D3(e,t,r){var n=mn(r);if(!n.allowedAriaAttrs)return true;var a=st(r);if(a)return true;var i=n.allowedAriaAttrs,o=pn(),s=[],l=dt(r.attrNames),d;try{for(l.s();!(d=l.n()).done;){var f=d.value;o.includes(f)&&!i.includes(f)&&s.push(f);}}catch(A){l.e(A);}finally{l.f();}if(!s.length)return true;var g=s.length>1?"plural":"singular";return this.data({messageKey:g,nodeName:r.props.nodeName,values:s.map(function(A){return A+'="'+r.attr(A)+'"'}).join(", ")}),false}function E3(e,t,r){var n=nr(r.attr("role")).filter(function(a){return Rr(a)==="abstract"});return n.length>0?(this.data(n),true):false}var C3=E3;function k3(e){var t=Ln(e.getAttribute("lang")),r=Ln(e.getAttribute("xml:lang"));return Qo(t)&&Qo(r)}var S3=k3;function T3(e){return e.ownerDocument.defaultView.self===e.ownerDocument.defaultView.top}var R3=T3;function F3(e,t){try{var r=t.props.nodeName;return r==="svg"?!0:!!ur(t,"svg")}catch{return false}}var Ku=F3;function I3(e,t){return M3.every(function(r){return r(e,t)})}var M3=[function(e,t){return Jg(t)},function(e,t){return P3(t)},function(e,t){return !Ku(e,t)},function(e,t){return $t(t)},function(e,t){return xr(t)||!L3(t)},function(e){return !uu(e,{noLengthCompare:true,includeInlineBlock:true})}];function Jg(e){return Rr(e)==="widget"}function P3(e){return e.props.nodeName!=="area"}var L3=St(function e(t){return t!=null&&t.parent?Jg(t.parent)&&xr(t.parent)?true:e(t.parent):false});function O3(e,t){var r=rt(t);return ["treegrid","grid","table"].includes(r)}function N3(e,t){var r=t.parent;if(r.props.nodeName!=="details"||q3(t))return false;var n=r.children.find(function(a){return a.props.nodeName==="summary"});return n===t}function q3(e){var t,r=(t=e.actualNode)===null||t===void 0?void 0:t.parentElement;return r&&r!==e.parent.actualNode}function B3(e){return fu(e)&&Eo(e)}var H3=B3;function V3(e,t){return Zr(e,13)!==void 0&&Bu(t)===false&&$3(t)}function $3(e){var t=e.boundingClientRect;return pr(e,"*").some(function(r){if(!ii(r,true,true))return false;var n=[];if(qo(r)){var a;(a=n).push.apply(a,ie(j3(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 j3(e){var t=p.createRange();return t.selectNodeContents(e.actualNode),Array.from(t.getClientRects())}function z3(e,t){return Nr(t,{chromiumRoles:true})!==null}var G3=z3;function W3(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 U3=W3;function X3(e,t){var r=st(t);if(!r||["none","presentation"].includes(r))return true;var n=lm[r]||{},a=n.accessibleNameRequired;return !!(a||$t(t))}var Kg=X3,J3=function(t,r){return [Kg,K3].every(function(n){return n(t,r)})};function K3(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 Y3(e,t){return t.props.nodeName!=="html"}var Z3=Y3;function Q3(e,t){return !t.attr("role")}var eI=Q3;function tI(e,t){var r=Hr(t.attr("tabindex"));return r===null||r>=0}var rI=tI;function nI(e,t){var r=mn(t),n=r.namingMethods;return !(n&&n.length!==0||st(t)==="combobox"&&pr(t,'input:not([type="hidden"])').length||Bu(t,{popupRoles:["listbox"]}))}var aI=nI;function iI(e,t){return !(!t.hasAttr("role")||!t.attr("role").trim())}var oI=iI;function sI(e){return !(!e.currentSrc||e.hasAttribute("paused")||e.hasAttribute("muted"))}var lI=sI;function uI(e,t){var r=rt(t);return r?!!ht.ariaRoles[r].childrenPresentational:false}var cI=uI;function dI(e){var t=Je(e.innerText),r=st(e);return r&&r!=="link"||!t||!cr(e)?false:uu(e)}var fI=dI;function pI(e){return !ts(e)&&!$t(e)}var mI=pI;function hI(e,t){return gI(t)&&Lt(t)}function gI(e){var t=ia("landmark"),r=rt(e);if(!r)return false;var n=e.props.nodeName;if(n==="section"||n==="form"){var a=Kt(e);return !!a}return t.indexOf(r)>=0||r==="region"}function vI(e,t){var r="article, aside, main, nav, section";return e.hasAttribute("role")||!Qn(t,r)}var bI=vI;function yI(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 wI=yI;function xI(e,t){var r=rt(e);if(!r)return false;var n=ia("widget"),a=n.includes(r);if(!a)return false;var i=qu();return !(!i.includes(r)||!Je(ei(t))&&!Je(Qa(e))||!Je(qr(t)))}var AI=xI;function _I(e,t){return cr(t)}function DI(e){return cr(e)}function EI(e,t,r){return r.initiator}var Yg=EI;function CI(e){return Jm(e)}var kI=CI;function SI(e,t){var r=!!Kt(t);if(!r)return false;var n=rt(e);return !(n&&n!=="link")}var TI=SI;function RI(e,t){return !Ku(e,t)}var FI=RI;function II(e,t){return rt(t)==="heading"}function MI(e,t){return Nr(t,{chromium:true})!==null}var PI=MI;function LI(e){var t=e.getAttribute("title");return !!Je(t)}var OI=LI;function NI(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 qI=NI;function BI(e){var t=e.getAttribute("id").trim(),r='*[id="'.concat(qt(t),'"]'),n=Array.from(Qt(e).querySelectorAll(r));return !rs(e)&&n.every(function(a){return !$t(a)})}var HI=BI;function VI(e){return rs(e)}var $I=VI;function jI(e){var t=e.getAttribute("id").trim(),r='*[id="'.concat(qt(t),'"]'),n=Array.from(Qt(e).querySelectorAll(r));return !rs(e)&&n.some($t)}var zI=jI;function GI(e){return ts(e)}var WI=GI;function UI(e){if(ts(e)){var t=Yr(e);return t.length>=3&&t[0].length>=3&&t[1].length>=3&&t[2].length>=3}return false}var XI=UI;function JI(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)||mi(t)||Fo(t))return false;var o=["input","select","textarea"];if(o.includes(n)){var s=c.getComputedStyle(e),l=parseInt(s.getPropertyValue("text-indent"),10);if(l){var d=e.getBoundingClientRect();if(d={top:d.top,bottom:d.bottom,left:d.left+l,right:d.right+l},!pu(d,e))return false}return true}var f=Qn(t,"label");if(n==="label"||f){var g=f||e,A=f?nt(f):t;if(g.htmlFor){var k=Qt(g),O=k.getElementById(g.htmlFor),V=O&&nt(O);if(V&&mi(V))return false}var G='input:not([type="hidden"],[type="image"],[type="button"],[type="submit"],[type="reset"]), select, textarea',U=pr(A,G)[0];if(U&&mi(U))return false}for(var X=[],te=t;te;){if(te.props.id){var re=Nu(te).filter(function(Ee){return nr(Ee.getAttribute("aria-labelledby")||"").includes(te.props.id)}).map(function(Ee){return nt(Ee)});X.push.apply(X,ie(re));}te=te.parent;}if(X.length>0&&X.every(mi)||!ZI(t)||!parseFloat(t.getComputedStylePropertyValue("font-size")))return false;for(var ae=p.createRange(),ce=t.children,ge=0;ge<ce.length;ge++){var we=ce[ge];we.actualNode.nodeType===3&&Je(we.actualNode.nodeValue)!==""&&ae.selectNodeContents(we.actualNode);}var Ie=Array.from(ae.getClientRects()),ve=Ja(t);return Ie.some(function(Ee){var Te=pu(Ee,e);if(!ve.length)return Te;var Me=ve.some(function(je){return Fl(Ee,je.boundingClientRect)});return Te&&Me})}var KI=JI,YI={emoji:true,nonBmp:false,punctuations:true};function ZI(e){var t=qr(e,false,true);return t===""||ai(t,YI)===""?false:e.children.some(function(r){return r.props.nodeName==="#text"&&!nu(r)})}function QI(e,t,r){return Yg(e,t,r)?!!e.querySelector("a[href]"):true}var eM=QI;function tM(e,t){var r=t.attr("autocomplete");if(!r||Je(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=st(t),l=Hr(t.attr("tabindex"));if(l<0&&t.hasAttr("role")){var d=ht.ariaRoles[s];if(d===void 0||d.type!=="widget")return false}return !(l<0&&t.actualNode&&!cr(t)&&!Lt(t))}var rM=tM;function nM(e,t){var r=st(t);return !!Hu(r)}var aM=nM;function iM(e,t){var r=st(t,{dpub:true});return !!Vu(r)}var oM=iM;function Zg(e){return e?e.getAttribute("aria-hidden")==="true"?false:Zg(Jt(e)):true}function sM(e){return Zg(Jt(e))}var lM=sM;function uM(e,t){var r=/^aria-/;return t.attrNames.some(function(n){return r.test(n)})}var cM=uM;function dM(e,t){return st(t,{dpub:true,fallback:true})!==null}var fM=dM;function pM(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 mM=pM,hM={"abstractrole-evaluate":C3,"accesskeys-after":zR,"accesskeys-evaluate":$R,"alt-space-value-evaluate":xR,"aria-allowed-attr-elm-evaluate":D3,"aria-allowed-attr-evaluate":A3,"aria-allowed-attr-matches":mM,"aria-allowed-role-evaluate":x3,"aria-allowed-role-matches":fM,"aria-busy-evaluate":y3,"aria-conditional-attr-evaluate":b3,"aria-conditional-checkbox-attr-evaluate":Ug,"aria-conditional-row-attr-evaluate":Wg,"aria-errormessage-evaluate":m3,"aria-has-attr-matches":cM,"aria-hidden-body-evaluate":p3,"aria-hidden-focus-matches":lM,"aria-label-evaluate":QS,"aria-labelledby-evaluate":YS,"aria-level-evaluate":d3,"aria-prohibited-attr-evaluate":l3,"aria-required-attr-evaluate":a3,"aria-required-children-evaluate":ZF,"aria-required-children-matches":oM,"aria-required-parent-evaluate":YF,"aria-required-parent-matches":aM,"aria-roledescription-evaluate":XF,"aria-unsupported-attr-evaluate":WF,"aria-valid-attr-evaluate":zF,"aria-valid-attr-value-evaluate":VF,"attr-non-space-content-evaluate":nF,"autocomplete-appropriate-evaluate":sF,"autocomplete-matches":rM,"autocomplete-valid-evaluate":iF,"avoid-inline-spacing-evaluate":JS,"braille-label-equivalent-evaluate":HF,"braille-roledescription-equivalent-evaluate":BF,"bypass-matches":eM,"caption-evaluate":L5,"caption-faked-evaluate":IS,"color-contrast-evaluate":mF,"color-contrast-matches":KI,"css-orientation-lock-evaluate":k5,"data-table-large-matches":XI,"data-table-matches":WI,"deprecatedrole-evaluate":qF,"dlitem-evaluate":W5,"doc-has-title-evaluate":US,"duplicate-id-active-matches":zI,"duplicate-id-after":nT,"duplicate-id-aria-matches":$I,"duplicate-id-evaluate":tT,"duplicate-id-misc-matches":HI,"duplicate-img-label-evaluate":yR,"exists-evaluate":GS,"explicit-evaluate":vR,"fallbackrole-evaluate":NF,"focusable-content-evaluate":HR,"focusable-disabled-evaluate":qR,"focusable-element-evaluate":OR,"focusable-modal-open-evaluate":PR,"focusable-no-name-evaluate":IR,"focusable-not-tabbable-evaluate":RR,"frame-focusable-content-evaluate":SR,"frame-focusable-content-matches":qI,"frame-tested-after":M5,"frame-tested-evaluate":F5,"frame-title-has-text-matches":OI,"has-alt-evaluate":jS,"has-descendant-after":tF,"has-descendant-evaluate":QR,"has-global-aria-attribute-evaluate":PF,"has-implicit-chromium-role-matches":PI,"has-lang-evaluate":Z5,"has-text-content-evaluate":YR,"has-widget-role-evaluate":IF,"heading-matches":II,"heading-order-after":l5,"heading-order-evaluate":s5,"help-same-as-label-evaluate":hR,"hidden-content-evaluate":Hk,"hidden-explicit-label-evaluate":pR,"html-namespace-matches":FI,"html5-scope-evaluate":RS,"identical-links-same-purpose-after":a5,"identical-links-same-purpose-evaluate":r5,"identical-links-same-purpose-matches":TI,"implicit-evaluate":dR,"inline-style-property-evaluate":HS,"inserted-into-focus-order-matches":kI,"internal-link-present-evaluate":ET,"invalid-children-evaluate":$5,"invalidrole-evaluate":RF,"is-element-focusable-evaluate":SF,"is-initiator-matches":Yg,"is-on-screen-evaluate":BS,"is-visible-matches":DI,"is-visible-on-screen-matches":_I,"label-content-name-mismatch-evaluate":uR,"label-content-name-mismatch-matches":AI,"label-matches":wI,"landmark-has-body-context-matches":bI,"landmark-is-top-level-evaluate":kR,"landmark-is-unique-after":rR,"landmark-is-unique-evaluate":eR,"landmark-unique-matches":hI,"layout-table-matches":mI,"link-in-text-block-evaluate":pF,"link-in-text-block-matches":fI,"link-in-text-block-style-evaluate":uF,"listitem-evaluate":V5,"matches-definition-evaluate":KR,"meta-refresh-evaluate":_T,"meta-viewport-scale-evaluate":E5,"multiple-label-evaluate":oR,"nested-interactive-matches":cI,"no-autoplay-audio-evaluate":T5,"no-autoplay-audio-matches":lI,"no-empty-role-matches":oI,"no-explicit-name-required-matches":Kg,"no-focusable-content-evaluate":DR,"no-implicit-explicit-label-evaluate":CF,"no-naming-method-matches":aI,"no-negative-tabindex-matches":rI,"no-role-matches":eI,"non-empty-if-present-evaluate":NS,"not-html-matches":Z3,"object-is-loaded-matches":J3,"only-dlitems-evaluate":H5,"only-listitems-evaluate":B5,"p-as-heading-evaluate":wT,"p-as-heading-matches":U3,"page-no-duplicate-after":XR,"page-no-duplicate-evaluate":WR,"presentation-role-conflict-matches":G3,"presentational-role-evaluate":LS,"region-after":gT,"region-evaluate":dT,"same-caption-summary-evaluate":CS,"scope-value-evaluate":ES,"scrollable-region-focusable-matches":V3,"skip-link-evaluate":uT,"skip-link-matches":H3,"structured-dlitems-evaluate":N5,"summary-interactive-matches":N3,"svg-namespace-matches":Ku,"svg-non-empty-title-evaluate":PS,"tabindex-evaluate":_R,"table-or-grid-role-matches":O3,"target-offset-evaluate":A5,"target-size-evaluate":m5,"td-has-header-evaluate":_S,"td-headers-attr-evaluate":xS,"th-has-data-cells-evaluate":wS,"title-only-evaluate":aR,"unique-frame-title-after":sT,"unique-frame-title-evaluate":iT,"unsupportedrole-evaluate":DF,"valid-lang-evaluate":K5,"valid-scrollable-semantics-evaluate":AF,"widget-not-inline-matches":I3,"window-is-top-matches":R3,"xml-lang-mismatch-evaluate":X5,"xml-lang-mismatch-matches":S3},ls=hM;function gM(e){this.id=e.id,this.data=null,this.relatedNodes=[],this.result=null;}var Yu=gM;function Zu(e){if(typeof e=="string"){if(ls[e])return ls[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 Qg(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return (Array.isArray(e)||ye(e)!=="object")&&(e={value:e}),e}function sa(e){e&&(this.id=e.id,this.configure(e));}sa.prototype.enabled=true,sa.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 Yu(this),d=hl(l,r,a,i),f;try{f=this.evaluate.call(d,t.actualNode,s,t,n);}catch(g){t&&t.actualNode&&(g.errorNode=wr.toSpec(t)),i(g);return}d.isAsync||(l.result=f,a(l));}else a(null);},sa.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 Yu(this),d=hl(l);d.async=function(){throw new Error("Cannot run async check while in a synchronous run")};var f;try{f=this.evaluate.call(d,t.actualNode,s,t,n);}catch(g){throw t&&t.actualNode&&(g.errorNode=wr.toSpec(t)),g}return l.result=f,l},sa.prototype.configure=function(t){var r=this;(!t.evaluate||ls[t.evaluate])&&(this._internalCheck=true),t.hasOwnProperty("enabled")&&(this.enabled=t.enabled),t.hasOwnProperty("options")&&(this._internalCheck?this.options=Qg(t.options):this.options=t.options),["evaluate","after"].filter(function(n){return t.hasOwnProperty(n)}).forEach(function(n){return r[n]=Zu(t[n])});},sa.prototype.getOptions=function(t){return this._internalCheck?Sl(this.options,Qg(t||{})):t||this.options};var e1=sa;function vM(e){this.id=e.id,this.result=tt.NA,this.pageLevel=e.pageLevel,this.impact=null,this.nodes=[];}var us=vM;function sr(e,t){this._audit=t,this.id=e.id,this.selector=e.selector||"*",e.impact&&(mt(tt.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=Zu(e.matches));}sr.prototype.matches=function(){return true},sr.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&&vt.mark(n);var s=Fu(this.selector,t);return this.excludeHidden&&(r.performanceTimer&&vt.mark(i),s=s.filter(function(l){return Lt(l)}),r.performanceTimer&&(vt.mark(o),vt.measure("rule_"+this.id+"#gather_axe.utils.isVisibleToScreenReaders",i,o))),r.performanceTimer&&(vt.mark(a),vt.measure("rule_"+this.id+"#gather",n,a)),s},sr.prototype.runChecks=function(t,r,n,a,i,o){var s=this,l=Lr();this[t].forEach(function(d){var f=s._audit.checks[d.id||d],g=Go(f,s.id,n);l.defer(function(A,k){f.run(r,g,a,A,function(O){k(new Yo({ruleId:s.id,method:"".concat(f.id,"#evaluate"),errorNode:new yr(r),error:O}));});});}),l.then(function(d){d=d.filter(function(f){return f}),i({type:t,results:d});}).catch(o);},sr.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],d=Go(l,i.id,n);o.push(l.runSync(r,d,a));}),o=o.filter(function(s){return s}),{type:t,results:o}},sr.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=Lr(),s=new us(this),l;try{l=this.gatherAndMatchNodes(t,n);}catch(d){i(d);return}n.performanceTimer&&this._logGatherPerformance(l),l.forEach(function(d){o.defer(function(f,g){var A=Lr();["any","all","none"].forEach(function(k){A.defer(function(O,V){r.runChecks(k,d,n,t,O,V);});}),A.then(function(k){var O=t1(k);O&&(O.node=new yr(d),s.nodes.push(O),r.reviewOnFail&&(["any","all"].forEach(function(V){O[V].forEach(function(G){G.result===false&&(G.result=void 0);});}),O.none.forEach(function(V){V.result===true&&(V.result=void 0);}))),f();}).catch(function(k){return g(k)});});}),o.then(function(){n.performanceTimer&&r._logRulePerformance(),setTimeout(function(){a(s);},0);}).catch(function(d){n.performanceTimer&&r._logRulePerformance(),i(d);});},sr.prototype.runSync=function(t){var r=this,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};n.performanceTimer&&this._trackPerformance();var a=new us(this),i=this.gatherAndMatchNodes(t,n);return n.performanceTimer&&this._logGatherPerformance(i),i.forEach(function(o){var s=[];["any","all","none"].forEach(function(d){s.push(r.runChecksSync(d,o,n,t));});var l=t1(s);l&&(l.node=o.actualNode?new yr(o):null,a.nodes.push(l),r.reviewOnFail&&(["any","all"].forEach(function(d){l[d].forEach(function(f){f.result===false&&(f.result=void 0);});}),l.none.forEach(function(d){d.result===true&&(d.result=void 0);})));}),n.performanceTimer&&this._logRulePerformance(),a},sr.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;},sr.prototype._logGatherPerformance=function(t){kn("gather for ".concat(this.id," (").concat(t.length," nodes): ").concat(vt.timeElapsed(),"ms")),vt.mark(this._markChecksStart);},sr.prototype._logRulePerformance=function(){vt.mark(this._markChecksEnd),vt.mark(this._markEnd),vt.measure("runchecks_"+this.id,this._markChecksStart,this._markChecksEnd),vt.measure("rule_"+this.id,this._markStart,this._markEnd);};function t1(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}}sr.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&&vt.mark(a),o=o.filter(function(s){try{return n.matches(s.actualNode,s,t)}catch(l){throw new Yo({ruleId:n.id,method:"#matches",errorNode:new yr(s),error:l})}}),r.performanceTimer&&(vt.mark(i),vt.measure("rule_"+this.id+"#matches",a,i)),o};function bM(e){return wo(e).map(function(t){var r=e._audit.checks[t.id||t];return r&&typeof r.after=="function"?r:null}).filter(Boolean)}function yM(e,t){var r=[];return e.forEach(function(n){var a=wo(n);a.forEach(function(i){i.id===t&&(i.node=n.node,r.push(i));});}),r}function wM(e){return e.filter(function(t){return t.filtered!==true})}function xM(e){var t=["any","all","none"],r=e.nodes.filter(function(n){var a=0;return t.forEach(function(i){n[i]=wM(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}sr.prototype.after=function(t,r){var n=this,a=bM(this);return a.forEach(function(i){var o=yM(t.nodes,i.id),s=Go(i,n.id,r),l;try{l=i.after(o,s.options);}catch(f){var d;throw new Yo({ruleId:n.id,method:"".concat(i.id,"#after"),errorNode:(d=t.nodes)===null||d===void 0||(d=d[0])===null||d===void 0?void 0:d.node,error:f})}n.reviewOnFail&&l.forEach(function(f){var g=(n.any.includes(f.id)||n.all.includes(f.id))&&f.result===false,A=n.none.includes(f.id)&&f.result===true;(g||A)&&(f.result=void 0);}),o.forEach(function(f){delete f.node,l.indexOf(f)===-1&&(f.filtered=true);});}),t.nodes=xM(t),t},sr.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=Zu(t.matches)),t.impact&&(mt(tt.impact.includes(t.impact),"Impact ".concat(t.impact," is not a valid impact")),this.impact=t.impact);};var la=/\{\{.+?\}\}/g,AM=(function(){function e(t){Pt(this,e),this.lang="en",this.defaultConfig=t,this.standards=ht,this._init(),this._defaultLocale=null;}return We(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,d=s.fail,f=s.incomplete;r.checks[i]={pass:l,fail:d,incomplete:f};}for(var g=Object.keys(this.data.rules),A=0;A<g.length;A++){var k=g[A],O=this.data.rules[k],V=O.description,G=O.help;r.rules[k]={description:V,help:G};}for(var U=Object.keys(this.data.failureSummaries),X=0;X<U.length;X++){var te=U[X],re=this.data.failureSummaries[te],ae=re.failureMessage;r.failureSummaries[te]={failureMessage:ae};}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]=DM(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]=EM(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]=CM(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=kM(this.data.incompleteFallbackMessage,r.incompleteFallbackMessage)),r.lang&&(this.lang=r.lang);}},{key:"setAllowedOrigins",value:function(r){var n=n1();this.allowedOrigins=[];var a=dt(r),i;try{for(a.s();!(i=a.n()).done;){var o=i.value;if(o===tt.allOrigins){this.allowedOrigins=["*"];return}else o!==tt.sameOrigin?this.allowedOrigins.push(o):n&&this.allowedOrigins.push(n);}}catch(s){a.e(s);}finally{a.f();}}},{key:"_init",value:function(){var r=_M(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,a1(r.rules,this,"addRule"),a1(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 sr(r,this));}},{key:"addCheck",value:function(r){var n=r.metadata;ye(n)==="object"&&(this.data.checks[r.id]=n,ye(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 e1(r);}},{key:"run",value:function(r,n,a,i){this.normalizeOptions(n),yr.setRunOptions(n),m._selectCache=[];var o=SM(this.rules,r,n),s=o.now,l=o.later,d=Lr();s.forEach(function(A){d.defer(i1(A,r,n));});var f=Lr();l.length&&f.defer(function(A){Rh(n).then(function(k){return A(k)}).catch(function(k){console.warn("Couldn't load preload assets: ",k),A(void 0);});});var g=Lr();g.defer(d),g.defer(f),g.then(function(A){var k=A.pop();if(k&&k.length){var O=k[0];O&&(r=Y({},r,O));}var V=A[0];if(!l.length){m._selectCache=void 0,a(V.filter(function(U){return !!U}));return}var G=Lr();l.forEach(function(U){var X=i1(U,r,n);G.defer(X);}),G.then(function(U){m._selectCache=void 0,a(V.concat(U).filter(function(X){return !!X}));}).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=Ua(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 o1(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(f){i.push(f.id),f.tags.forEach(function(g){a.includes(g)||a.push(g);});}),["object","string"].includes(ye(r.runOnly))){if(typeof r.runOnly=="string"&&(r.runOnly=[r.runOnly]),Array.isArray(r.runOnly)){var o=r.runOnly.find(function(f){return a.includes(f)}),s=r.runOnly.find(function(f){return i.includes(f)});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(f){if(!i.includes(f))throw new Error("unknown rule `"+f+"` in options.runOnly")});else if(["tag","tags",void 0].includes(l.type)){l.type="tag";var d=l.values.filter(function(f){return !a.includes(f)&&!/wcag2[1-3]a{1,3}/.test(f)});d.length!==0&&m.log("Could not find tags `"+d.join("`, `")+"`");}else throw new Error("Unknown runOnly type '".concat(l.type,"'"))}return ye(r.rules)==="object"&&Object.keys(r.rules).forEach(function(f){if(!i.includes(f))throw new Error("unknown rule `"+f+"` in options.rules")}),r}},{key:"setBranding",value:function(r){var n={brand:this.brand,application:this.application};typeof r=="string"&&(this.application=r),r&&r.hasOwnProperty("brand")&&r.brand&&typeof r.brand=="string"&&(this.brand=r.brand),r&&r.hasOwnProperty("application")&&r.application&&typeof r.application=="string"&&(this.application=r.application),this._constructHelpUrls(n);}},{key:"_constructHelpUrls",value:function(){var r=this,n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,a=(m.version.match(/^[1-9][0-9]*\.[0-9]+/)||["x.y"])[0];this.rules.forEach(function(i){r.data.rules[i.id]||(r.data.rules[i.id]={});var o=r.data.rules[i.id];(typeof o.helpUrl!="string"||n&&o.helpUrl===s1(n,i.id,a))&&(o.helpUrl=s1(r,i.id,a));});}},{key:"resetRulesAndChecks",value:function(){this._init(),this._resetLocale();}}])})(),r1=AM;function n1(){if(c.origin&&c.origin!=="null")return c.origin;if(c.location&&c.location.origin&&c.location.origin!=="null")return c.location.origin}function _M(e){var t;if(e?(t=Xr(e),t.commons=e.commons):t={},t.reporter=t.reporter||null,t.noHtml=t.noHtml||false,!t.allowedOrigins){var r=n1();t.allowedOrigins=r?[r]:[];}return t.rules=t.rules||[],t.checks=t.checks||[],t.data=Y({checks:{},rules:{}},t.data),t}function a1(e,t,r){var n,a;for(n=0,a=e.length;n<a;n++)t[r](e[n]);}var DM=function(t,r){var n=r.pass,a=r.fail;return typeof n=="string"&&la.test(n)&&(n=an.default.compile(n)),typeof a=="string"&&la.test(a)&&(a=an.default.compile(a)),Y({},t,{messages:{pass:n||t.messages.pass,fail:a||t.messages.fail,incomplete:ye(t.messages.incomplete)==="object"?Y({},t.messages.incomplete,r.incomplete):r.incomplete}})},EM=function(t,r){var n=r.help,a=r.description;return typeof n=="string"&&la.test(n)&&(n=an.default.compile(n)),typeof a=="string"&&la.test(a)&&(a=an.default.compile(a)),Y({},t,{help:n||t.help,description:a||t.description})},CM=function(t,r){var n=r.failureMessage;return typeof n=="string"&&la.test(n)&&(n=an.default.compile(n)),Y({},t,{failureMessage:n||t.failureMessage})},kM=function(t,r){return typeof r=="string"&&la.test(r)&&(r=an.default.compile(r)),r||t};function SM(e,t,r){var n={now:[],later:[]},a=e.reduce(function(i,o){return Lh(o,t,r)?o.preload?(i.later.push(o),i):(i.now.push(o),i):i},n);return a}function i1(e,t,r){return r.performanceTimer&&vt.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(o1(e,i));});}}function o1(e,t){var r=t.errorNode,n=Ko(t),a=[{id:"error-occurred",result:void 0,data:n,relatedNodes:[]}],i=r||new yr(p.documentElement);return Object.assign(new us(e),{error:n,result:tt.CANTTELL,nodes:[{any:[],all:[],none:a,node:i}]})}function s1(e,t,r){var n=e.brand,a=e.application,i=e.lang;return tt.helpUrlBase+n+"/"+(r||m.version.substring(0,m.version.lastIndexOf(".")))+"/"+t+"?application="+encodeURIComponent(a)+(i&&i!=="en"?"&lang="+encodeURIComponent(i):"")}function l1(e){var t=c&&"Node"in c&&"NodeList"in c,r=!!p;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||(et.set("globalDocumentSet",true),p=e.ownerDocument),t||(et.set("globalWindowSet",true),c=p.defaultView);}}function TM(){et.get("globalDocumentSet")&&(et.set("globalDocumentSet",false),p=null),et.get("globalWindowSet")&&(et.set("globalWindowSet",false),c=null);}function RM(){TM(),m._memoizedFns.forEach(function(e){return e.clear()}),et.clear(),m._tree=void 0,m._selectorData=void 0,m._selectCache=void 0;}var bn=RM;function u1(e,t,r,n){try{e=new Wo(e),m._tree=e.flatTree,m._selectorData=po(e.flatTree);}catch(o){return bn(),n(o)}var a=Lr(),i=m._audit;t.performanceTimer&&vt.auditStart(),e.frames.length&&t.iframes!==false&&a.defer(function(o,s){xp(e,t,"rules",null,o,s);}),a.defer(function(o,s){i.run(e,t,o,s);}),a.then(function(o){try{t.performanceTimer&&vt.auditEnd();var s=xo(o.map(function(l){return {results:l}}));e.initiator&&(t.performanceTimer&&vt.mark("auditAfterStart"),s=i.after(s,t),t.performanceTimer&&(vt.mark("auditAfterEnd"),vt.measure("audit.after","auditAfterStart","auditAfterEnd"),vt.logMeasures("audit.after")),s.forEach(Jo),s=s.map(Sa));try{r(s,bn);}catch(l){bn(),kn(l);}}catch(l){bn(),n(l);}}).catch(function(o){bn(),n(o);});}function FM(e){m._audit=new r1(e);}function IM(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=[p]);var o=e&&e.options||{};switch(e.command){case "rules":return u1(i,o,function(s,l){s=wr.mapRawResults(s),n(s),l();},a);case "cleanup-plugin":return zh(n,a);default:if(m._audit&&m._audit.commands&&m._audit.commands[e.command])return m._audit.commands[e.command](e,r)}}c.top!==c&&(Tr.subscribe("axe.start",IM),Tr.subscribe("axe.ping",function(e,t,r){r({axe:true});}));function gi(e){this._run=e.run,this._collect=e.collect,this._registry={},e.commands.forEach(function(t){m._audit.registerCommand(t);});}gi.prototype.run=function(){return this._run.apply(this,arguments)},gi.prototype.collect=function(){return this._collect.apply(this,arguments)},gi.prototype.cleanup=function(t){var r=m.utils.queue(),n=this;Object.keys(this._registry).forEach(function(a){r.defer(function(i){n._registry[a].cleanup(i);});}),r.then(t);},gi.prototype.add=function(t){this._registry[t.id]=t;};function MM(e){m.plugins[e.id]=new gi(e);}var PM=MM;function LM(){var e=m._audit;if(!e)throw new Error("No audit configured");e.resetRulesAndChecks(),eD();}var OM=LM;function NM(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};r.reporter=r.reporter||m._audit.reporter||"v1",m._selectorData={},t instanceof Xt||(t=new jh(t));var n=gh(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);Jo(i),Sa(i);var o=Fd([i]);return o.violations.forEach(function(s){return s.nodes.forEach(function(l){l.failureSummary=yu(l);})}),Y({},gn(),o,{toolOptions:r})}function c1(e){var t,r,n,a=Se(e,3),i=a[0],o=a[1],s=a[2],l=new TypeError("axe.run arguments are invalid");if(!wh(i)){if(s!==void 0)throw l;s=o,o=i,i=p;}if(ye(o)!=="object"){if(s!==void 0)throw l;s=o,o={};}if(typeof s!="function"&&s!==void 0)throw l;return o=Xr(o),o.reporter=(t=(r=o.reporter)!==null&&r!==void 0?r:(n=m._audit)===null||n===void 0?void 0:n.reporter)!==null&&t!==void 0?t:"v1",{context:i,options:o,callback:s}}var Qu=function(){};function qM(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];l1(t[0]);var n=c1(t),a=n.context,i=n.options,o=n.callback,s=o===void 0?Qu:o,l=BM(s),d=l.thenable,f=l.resolve,g=l.reject;try{mt(m._audit,"No audit configured"),mt(!m._running,"Axe is already running. Use `await axe.run()` to wait for the previous run to finish before starting a new run.");}catch(O){return VM(O,s)}m._running=true,i.performanceTimer&&vt.start();function A(O,V){var G=function(te){i.performanceTimer&&(vt.mark("reporterEnd"),vt.measure("reporter","reporterStart","reporterEnd"),vt.logMeasures("reporter"),vt.end()),m._running=false,V();try{f(te);}catch(re){m.log(re);}},U=function(te){m._running=false,V();try{g(te);}catch(re){m.log(re);}};try{i.performanceTimer&&vt.mark("reporterStart"),HM(O,i,G,U);}catch(X){U(X);}}function k(O){i.performanceTimer&&vt.end(),m._running=false,s(O),g(O);}return m._runRules(a,i,A,k),d}function BM(e){var t,r,n;return typeof Promise=="function"&&e===Qu?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 HM(e,t,r,n){var a=Pu(t.reporter),i=a(e,t,r,n);i!==void 0&&r(i);}function VM(e,t){if(typeof t=="function"&&t!==Qu){t(e.message);return}throw e}function $M(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=c1(t),a=n.options,i=n.context;mt(m._audit,"Axe is not configured. Audit is missing."),mt(!m._running,"Axe is already running. Use `await axe.run()` to wait for the previous run to finish before starting a new run.");var o=new Wo(i,m._tree);return m._tree=o.flatTree,m._selectorData=po(o.flatTree),m._running=true,a.elementRef=false,new Promise(function(s,l){m._audit.run(o,a,s,l);}).then(function(s){s=wr.mapRawResults(s);var l=o.frames.map(function(f){var g=f.node;return wr.toSpec(g)}),d;return o.initiator&&(d=gn()),m._running=false,bn(),{results:s,frames:l,environmentData:d}}).catch(function(s){return m._running=false,bn(),Promise.reject(s)})}function jM(e){var t,r,n,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};a=Xr(a);var i=e.find(function(l){return l.environmentData})||{},o=i.environmentData;m._audit.normalizeOptions(a),a.reporter=(t=(r=a.reporter)!==null&&r!==void 0?r:(n=m._audit)===null||n===void 0?void 0:n.reporter)!==null&&t!==void 0?t:"v1",zM(e);var s=xo(e);return s=m._audit.after(s,a),s.forEach(Jo),s=s.map(Sa),WM(s,Y({environmentData:o},a))}function zM(e){var t=[],r=dt(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=GM(a);t.unshift.apply(t,ie(o));}}}catch(s){r.e(s);}finally{r.f();}}function GM(e){var t=e.frames,r=e.frameSpec;return r?t.map(function(n){return wr.mergeSpecs(n,r)}):t}function WM(e,t){return new Promise(function(r,n){var a=Pu(t.reporter);a(e,t,r,n);})}function UM(e){if(m._tree)throw new Error("Axe is already setup. Call `axe.teardown()` before calling `axe.setup` again.");return e&&ye(e.documentElement)==="object"&&ye(e.defaultView)==="object"&&(e=e.documentElement),l1(e),m._tree=vu(e),m._selectorData=po(m._tree),m._tree[0]}var XM=UM,JM=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=ne(a,H);n(Y({},gn(i),{toolOptions:o},li(t,r)));},KM=JM,YM=function(t,r,n){typeof r=="function"&&(n=r,r={});var a=r,i=a.environmentData,o=ne(a,ee);r.resultTypes=["violations"];var s=li(t,r),l=s.violations;n(Y({},gn(i),{toolOptions:o,violations:l}));},ZM=YM,QM=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=Y({},i),s=["passes","violations","incomplete","inapplicable"],l=0,d=s;l<d.length;l++){var f=d[l];o[f]=wr.mapRawNodeResults(o[f]);}return o});n(a);},d1=QM,eP=function(t,r,n){typeof r=="function"&&(n=r,r={});var a=r,i=a.environmentData,o=ne(a,N);d1(t,o,function(s){var l=gn(i);n({raw:s,env:l});});},tP=eP,rP=function(t,r,n){typeof r=="function"&&(n=r,r={});var a=r,i=a.environmentData,o=ne(a,F),s=li(t,r),l=function(f){f.nodes.forEach(function(g){g.failureSummary=yu(g);});};s.incomplete.forEach(l),s.violations.forEach(l),n(Y({},gn(i),{toolOptions:o},s));},nP=rP,aP=function(t,r,n){typeof r=="function"&&(n=r,r={});var a=r,i=a.environmentData,o=ne(a,S),s=li(t,r);n(Y({},gn(i),{toolOptions:o},s));},iP=aP,oP={base:{Audit:r1,CheckResult:Yu,Check:e1,Context:Wo,RuleResult:us,Rule:sr,metadataFunctionMap:ls},public:{reporters:ci},helpers:{failureSummary:yu,incompleteFallbackMessage:wu,processAggregate:li},utils:{setDefaultFrameMessenger:hp,cacheNodeSelectors:lh,getNodesMatchingExpression:oh,convertSelector:ho},commons:{dom:{nativelyHidden:Ep,displayHidden:Cp,visibilityHidden:kp,contentVisibiltyHidden:Sp,ariaHidden:Tp,opacityHidden:Rp,scrollHidden:Fp,overflowHidden:Ip,clipHidden:Mp,areaHidden:Il,detailsHidden:Pp}}},sP=oP;m._thisWillBeDeletedDoNotUse=sP,m.constants=tt,m.log=kn,m.AbstractVirtualNode=Xt,m.SerialVirtualNode=jh,m.VirtualNode=mu,m._cache=et,m.imports=Ld,m.cleanup=zh,m.configure=Lk,m.frameMessenger=Ok,m.getRules=qk,m._load=FM,m.plugins={},m.registerPlugin=PM,m.hasReporter=Wh,m.getReporter=Pu,m.addReporter=Mk,m.reset=OM,m._runRules=u1,m.runVirtualRule=NM,m.run=qM,m.setup=XM,m.teardown=bn,m.runPartial=$M,m.finishRun=jM,m.commons=mg,m.utils=Vs,m.addReporter("na",KM),m.addReporter("no-passes",ZM),m.addReporter("rawEnv",tP),m.addReporter("raw",d1),m.addReporter("v1",nP),m.addReporter("v2",iP,true);}))(),m._load({lang:"en",data:{rules:{accesskeys:{description:"Ensure every accesskey attribute value is unique",help:"accesskey attribute value should be unique"},"area-alt":{description:"Ensure <area> elements of image maps have alternative text",help:"Active <area> elements must have alternative text"},"aria-allowed-attr":{description:"Ensure an element's role supports its ARIA attributes",help:"Elements must only use supported ARIA attributes"},"aria-allowed-role":{description:"Ensure role attribute has an appropriate value for the element",help:"ARIA role should be appropriate for the element"},"aria-braille-equivalent":{description:"Ensure aria-braillelabel and aria-brailleroledescription have a non-braille equivalent",help:"aria-braille attributes must have a non-braille equivalent"},"aria-command-name":{description:"Ensure every ARIA button, link and menuitem has an accessible name",help:"ARIA commands must have an accessible name"},"aria-conditional-attr":{description:"Ensure ARIA attributes are used as described in the specification of the element's role",help:"ARIA attributes must be used as specified for the element's role"},"aria-deprecated-role":{description:"Ensure elements do not use deprecated roles",help:"Deprecated ARIA roles must not be used"},"aria-dialog-name":{description:"Ensure every ARIA dialog and alertdialog node has an accessible name",help:"ARIA dialog and alertdialog nodes should have an accessible name"},"aria-hidden-body":{description:'Ensure aria-hidden="true" is not present on the document body.',help:'aria-hidden="true" must not be present on the document body'},"aria-hidden-focus":{description:"Ensure aria-hidden elements are not focusable nor contain focusable elements",help:"ARIA hidden element must not be focusable or contain focusable elements"},"aria-input-field-name":{description:"Ensure every ARIA input field has an accessible name",help:"ARIA input fields must have an accessible name"},"aria-meter-name":{description:"Ensure every ARIA meter node has an accessible name",help:"ARIA meter nodes must have an accessible name"},"aria-progressbar-name":{description:"Ensure every ARIA progressbar node has an accessible name",help:"ARIA progressbar nodes must have an accessible name"},"aria-prohibited-attr":{description:"Ensure ARIA attributes are not prohibited for an element's role",help:"Elements must only use permitted ARIA attributes"},"aria-required-attr":{description:"Ensure elements with ARIA roles have all required ARIA attributes",help:"Required ARIA attributes must be provided"},"aria-required-children":{description:"Ensure elements with an ARIA role that require child roles contain them",help:"Certain ARIA roles must contain particular children"},"aria-required-parent":{description:"Ensure elements with an ARIA role that require parent roles are contained by them",help:"Certain ARIA roles must be contained by particular parents"},"aria-roledescription":{description:"Ensure aria-roledescription is only used on elements with an implicit or explicit role",help:"aria-roledescription must be on elements with a semantic role"},"aria-roles":{description:"Ensure all elements with a role attribute use a valid value",help:"ARIA roles used must conform to valid values"},"aria-text":{description:'Ensure role="text" is used on elements with no focusable descendants',help:'"role=text" should have no focusable descendants'},"aria-toggle-field-name":{description:"Ensure every ARIA toggle field has an accessible name",help:"ARIA toggle fields must have an accessible name"},"aria-tooltip-name":{description:"Ensure every ARIA tooltip node has an accessible name",help:"ARIA tooltip nodes must have an accessible name"},"aria-treeitem-name":{description:"Ensure every ARIA treeitem node has an accessible name",help:"ARIA treeitem nodes should have an accessible name"},"aria-valid-attr-value":{description:"Ensure all ARIA attributes have valid values",help:"ARIA attributes must conform to valid values"},"aria-valid-attr":{description:"Ensure attributes that begin with aria- are valid ARIA attributes",help:"ARIA attributes must conform to valid names"},"audio-caption":{description:"Ensure <audio> elements have captions",help:"<audio> elements must have a captions track"},"autocomplete-valid":{description:"Ensure the autocomplete attribute is correct and suitable for the form field",help:"autocomplete attribute must be used correctly"},"avoid-inline-spacing":{description:"Ensure that text spacing set through style attributes can be adjusted with custom stylesheets",help:"Inline text spacing must be adjustable with custom stylesheets"},blink:{description:"Ensure <blink> elements are not used",help:"<blink> elements are deprecated and must not be used"},"button-name":{description:"Ensure buttons have discernible text",help:"Buttons must have discernible text"},bypass:{description:"Ensure each page has at least one mechanism for a user to bypass navigation and jump straight to the content",help:"Page must have means to bypass repeated blocks"},"color-contrast-enhanced":{description:"Ensure the contrast between foreground and background colors meets WCAG 2 AAA enhanced contrast ratio thresholds",help:"Elements must meet enhanced color contrast ratio thresholds"},"color-contrast":{description:"Ensure the contrast between foreground and background colors meets WCAG 2 AA minimum contrast ratio thresholds",help:"Elements must meet minimum color contrast ratio thresholds"},"css-orientation-lock":{description:"Ensure content is not locked to any specific display orientation, and the content is operable in all display orientations",help:"CSS Media queries must not lock display orientation"},"definition-list":{description:"Ensure <dl> elements are structured correctly",help:"<dl> elements must only directly contain properly-ordered <dt> and <dd> groups, <script>, <template> or <div> elements"},dlitem:{description:"Ensure <dt> and <dd> elements are contained by a <dl>",help:"<dt> and <dd> elements must be contained by a <dl>"},"document-title":{description:"Ensure each HTML document contains a non-empty <title> element",help:"Documents must have <title> element to aid in navigation"},"duplicate-id-active":{description:"Ensure every id attribute value of active elements is unique",help:"IDs of active elements must be unique"},"duplicate-id-aria":{description:"Ensure every id attribute value used in ARIA and in labels is unique",help:"IDs used in ARIA and labels must be unique"},"duplicate-id":{description:"Ensure every id attribute value is unique",help:"id attribute value must be unique"},"empty-heading":{description:"Ensure headings have discernible text",help:"Headings should not be empty"},"empty-table-header":{description:"Ensure table headers have discernible text",help:"Table header text should not be empty"},"focus-order-semantics":{description:"Ensure elements in the focus order have a role appropriate for interactive content",help:"Elements in the focus order should have an appropriate role"},"form-field-multiple-labels":{description:"Ensure form field does not have multiple label elements",help:"Form field must not have multiple label elements"},"frame-focusable-content":{description:"Ensure <frame> and <iframe> elements with focusable content do not have tabindex=-1",help:"Frames with focusable content must not have tabindex=-1"},"frame-tested":{description:"Ensure <iframe> and <frame> elements contain the axe-core script",help:"Frames should be tested with axe-core"},"frame-title-unique":{description:"Ensure <iframe> and <frame> elements contain a unique title attribute",help:"Frames must have a unique title attribute"},"frame-title":{description:"Ensure <iframe> and <frame> elements have an accessible name",help:"Frames must have an accessible name"},"heading-order":{description:"Ensure the order of headings is semantically correct",help:"Heading levels should only increase by one"},"hidden-content":{description:"Inform users about hidden content.",help:"Hidden content on the page should be analyzed"},"html-has-lang":{description:"Ensure every HTML document has a lang attribute",help:"<html> element must have a lang attribute"},"html-lang-valid":{description:"Ensure the lang attribute of the <html> element has a valid value",help:"<html> element must have a valid value for the lang attribute"},"html-xml-lang-mismatch":{description:"Ensure that HTML elements with both valid lang and xml:lang attributes agree on the base language of the page",help:"HTML elements with lang and xml:lang must have the same base language"},"identical-links-same-purpose":{description:"Ensure that links with the same accessible name serve a similar purpose",help:"Links with the same name must have a similar purpose"},"image-alt":{description:"Ensure <img> elements have alternative text or a role of none or presentation",help:"Images must have alternative text"},"image-redundant-alt":{description:"Ensure image alternative is not repeated as text",help:"Alternative text of images should not be repeated as text"},"input-button-name":{description:"Ensure input buttons have discernible text",help:"Input buttons must have discernible text"},"input-image-alt":{description:'Ensure <input type="image"> elements have alternative text',help:"Image buttons must have alternative text"},"label-content-name-mismatch":{description:"Ensure that elements labelled through their content must have their visible text as part of their accessible name",help:"Elements must have their visible text as part of their accessible name"},"label-title-only":{description:"Ensure that every form element has a visible label and is not solely labeled using hidden labels, or the title or aria-describedby attributes",help:"Form elements should have a visible label"},label:{description:"Ensure every form element has a label",help:"Form elements must have labels"},"landmark-banner-is-top-level":{description:"Ensure the banner landmark is at top level",help:"Banner landmark should not be contained in another landmark"},"landmark-complementary-is-top-level":{description:"Ensure the complementary landmark or aside is at top level",help:"Aside should not be contained in another landmark"},"landmark-contentinfo-is-top-level":{description:"Ensure the contentinfo landmark is at top level",help:"Contentinfo landmark should not be contained in another landmark"},"landmark-main-is-top-level":{description:"Ensure the main landmark is at top level",help:"Main landmark should not be contained in another landmark"},"landmark-no-duplicate-banner":{description:"Ensure the document has at most one banner landmark",help:"Document should not have more than one banner landmark"},"landmark-no-duplicate-contentinfo":{description:"Ensure the document has at most one contentinfo landmark",help:"Document should not have more than one contentinfo landmark"},"landmark-no-duplicate-main":{description:"Ensure the document has at most one main landmark",help:"Document should not have more than one main landmark"},"landmark-one-main":{description:"Ensure the document has a main landmark",help:"Document should have one main landmark"},"landmark-unique":{description:"Ensure landmarks are unique",help:"Landmarks should have a unique role or role/label/title (i.e. accessible name) combination"},"link-in-text-block":{description:"Ensure links are distinguished from surrounding text in a way that does not rely on color",help:"Links must be distinguishable without relying on color"},"link-name":{description:"Ensure links have discernible text",help:"Links must have discernible text"},list:{description:"Ensure that lists are structured correctly",help:"<ul> and <ol> must only directly contain <li>, <script> or <template> elements"},listitem:{description:"Ensure <li> elements are used semantically",help:"<li> elements must be contained in a <ul> or <ol>"},marquee:{description:"Ensure <marquee> elements are not used",help:"<marquee> elements are deprecated and must not be used"},"meta-refresh-no-exceptions":{description:'Ensure <meta http-equiv="refresh"> is not used for delayed refresh',help:"Delayed refresh must not be used"},"meta-refresh":{description:'Ensure <meta http-equiv="refresh"> is not used for delayed refresh',help:"Delayed refresh under 20 hours must not be used"},"meta-viewport-large":{description:'Ensure <meta name="viewport"> can scale a significant amount',help:"Users should be able to zoom and scale the text up to 500%"},"meta-viewport":{description:'Ensure <meta name="viewport"> does not disable text scaling and zooming',help:"Zooming and scaling must not be disabled"},"nested-interactive":{description:"Ensure interactive controls are not nested as they are not always announced by screen readers or can cause focus problems for assistive technologies",help:"Interactive controls must not be nested"},"no-autoplay-audio":{description:"Ensure <video> or <audio> elements do not autoplay audio for more than 3 seconds without a control mechanism to stop or mute the audio",help:"<video> or <audio> elements must not play automatically"},"object-alt":{description:"Ensure <object> elements have alternative text",help:"<object> elements must have alternative text"},"p-as-heading":{description:"Ensure bold, italic text and font-size is not used to style <p> elements as a heading",help:"Styled <p> elements must not be used as headings"},"page-has-heading-one":{description:"Ensure that the page, or at least one of its frames contains a level-one heading",help:"Page should contain a level-one heading"},"presentation-role-conflict":{description:"Ensure elements marked as presentational do not have global ARIA or tabindex so that all screen readers ignore them",help:"Elements marked as presentational should be consistently ignored"},region:{description:"Ensure all page content is contained by landmarks",help:"All page content should be contained by landmarks"},"role-img-alt":{description:'Ensure [role="img"] elements have alternative text',help:'[role="img"] elements must have alternative text'},"scope-attr-valid":{description:"Ensure the scope attribute is used correctly on tables",help:"scope attribute should be used correctly"},"scrollable-region-focusable":{description:"Ensure elements that have scrollable content are accessible by keyboard in Safari",help:"Scrollable region must have keyboard access"},"select-name":{description:"Ensure select element has an accessible name",help:"Select element must have an accessible name"},"server-side-image-map":{description:"Ensure that server-side image maps are not used",help:"Server-side image maps must not be used"},"skip-link":{description:"Ensure all skip links have a focusable target",help:"The skip-link target should exist and be focusable"},"summary-name":{description:"Ensure summary elements have discernible text",help:"Summary elements must have discernible text"},"svg-img-alt":{description:"Ensure <svg> elements with an img, graphics-document or graphics-symbol role have accessible text",help:"<svg> elements with an img role must have alternative text"},tabindex:{description:"Ensure tabindex attribute values are not greater than 0",help:"Elements should not have tabindex greater than zero"},"table-duplicate-name":{description:"Ensure the <caption> element does not contain the same text as the summary attribute",help:"Tables should not have the same summary and caption"},"table-fake-caption":{description:"Ensure that tables with a caption use the <caption> element.",help:"Data or header cells must not be used to give caption to a data table."},"target-size":{description:"Ensure touch targets have sufficient size and space",help:"All touch targets must be 24px large, or leave sufficient space"},"td-has-header":{description:"Ensure that each non-empty data cell in a <table> larger than 3 by 3 has one or more table headers",help:"Non-empty <td> elements in larger <table> must have an associated table header"},"td-headers-attr":{description:"Ensure that each cell in a table that uses the headers attribute refers only to other <th> elements in that table",help:"Table cell headers attributes must refer to other <th> elements in the same table"},"th-has-data-cells":{description:"Ensure that <th> elements and elements with role=columnheader/rowheader have data cells they describe",help:"Table headers in a data table must refer to data cells"},"valid-lang":{description:"Ensure lang attributes have valid values",help:"lang attribute must have a valid value"},"video-caption":{description:"Ensure <video> elements have captions",help:"<video> elements must have captions"}},checks:{abstractrole:{impact:"serious",messages:{pass:"Abstract roles are not used",fail:{singular:"Abstract role cannot be directly used: ${data.values}",plural:"Abstract roles cannot be directly used: ${data.values}"}}},"aria-allowed-attr-elm":{messages:{pass:"ARIA attributes are allowed for this element",fail:{singular:"ARIA attribute is not allowed on ${data.nodeName} elements: ${data.values}",plural:"ARIA attributes are not allowed on ${data.nodeName} elements: ${data.values}"}}},"aria-allowed-attr":{impact:"critical",messages:{pass:"ARIA attributes are used correctly for the defined role",fail:{singular:"ARIA attribute is not allowed: ${data.values}",plural:"ARIA attributes are not allowed: ${data.values}"},incomplete:"Check that there is no problem if the ARIA attribute is ignored on this element: ${data.values}"}},"aria-allowed-role":{impact:"minor",messages:{pass:"ARIA role is allowed for given element",fail:{singular:"ARIA role ${data.values} is not allowed for given element",plural:"ARIA roles ${data.values} are not allowed for given element"},incomplete:{singular:"ARIA role ${data.values} must be removed when the element is made visible, as it is not allowed for the element",plural:"ARIA roles ${data.values} must be removed when the element is made visible, as they are not allowed for the element"}}},"aria-busy":{impact:"serious",messages:{pass:"Element has an aria-busy attribute",fail:'Element uses aria-busy="true" while showing a loader'}},"aria-conditional-attr":{impact:"serious",messages:{pass:"ARIA attribute is allowed",fail:{checkbox:'Remove aria-checked, or set it to "${data.checkState}" to match the real checkbox state',rowSingular:"This attribute is supported with treegrid rows, but not ${data.ownerRole}: ${data.invalidAttrs}",rowPlural:"These attributes are supported with treegrid rows, but not ${data.ownerRole}: ${data.invalidAttrs}"}}},"aria-errormessage":{impact:"critical",messages:{pass:"aria-errormessage exists and references elements visible to screen readers that use a supported aria-errormessage technique",fail:{singular:"aria-errormessage value `${data.values}` must use a technique to announce the message (e.g., aria-live, aria-describedby, role=alert, etc.)",plural:"aria-errormessage values `${data.values}` must use a technique to announce the message (e.g., aria-live, aria-describedby, role=alert, etc.)",unsupported:"Multiple IDs in aria-errormessage is not widely supported in assistive technologies",hidden:"aria-errormessage value `${data.values}` cannot reference a hidden element"},incomplete:{singular:"Ensure aria-errormessage value `${data.values}` references an existing element",plural:"Ensure aria-errormessage values `${data.values}` reference existing elements",idrefs:"Unable to determine if aria-errormessage element exists on the page: ${data.values}"}}},"aria-hidden-body":{impact:"critical",messages:{pass:"No aria-hidden attribute is present on document body",fail:"aria-hidden=true should not be present on the document body"}},"aria-level":{impact:"serious",messages:{pass:"aria-level values are valid",incomplete:"aria-level values greater than 6 are not supported in all screenreader and browser combinations"}},"aria-prohibited-attr":{impact:"serious",messages:{pass:"ARIA attribute is allowed",fail:{hasRolePlural:'${data.prohibited} attributes cannot be used with role "${data.role}".',hasRoleSingular:'${data.prohibited} attribute cannot be used with role "${data.role}".',noRolePlural:"${data.prohibited} attributes cannot be used on a ${data.nodeName} with no valid role attribute.",noRoleSingular:"${data.prohibited} attribute cannot be used on a ${data.nodeName} with no valid role attribute."},incomplete:{hasRoleSingular:'${data.prohibited} attribute is not well supported with role "${data.role}".',hasRolePlural:'${data.prohibited} attributes are not well supported with role "${data.role}".',noRoleSingular:"${data.prohibited} attribute is not well supported on a ${data.nodeName} with no valid role attribute.",noRolePlural:"${data.prohibited} attributes are not well supported on a ${data.nodeName} with no valid role attribute."}}},"aria-required-attr":{impact:"critical",messages:{pass:"All required ARIA attributes are present",fail:{singular:"Required ARIA attribute not present: ${data.values}",plural:"Required ARIA attributes not present: ${data.values}"}}},"aria-required-children":{impact:"critical",messages:{pass:{default:"Required ARIA children are present","aria-busy":"Element has an aria-busy attribute, so it is allowed to omit required children"},fail:{singular:"Required ARIA child role not present: ${data.values}",plural:"Required ARIA children role not present: ${data.values}",unallowed:"Element has children which are not allowed: ${data.values}","aria-busy-fail":'Element has children which are not allowed: ${data.values}; Having aria-busy="true" does not allow children with roles that are not allowed'},incomplete:{singular:"Expecting ARIA child role to be added: ${data.values}",plural:"Expecting ARIA children role to be added: ${data.values}"}}},"aria-required-parent":{impact:"critical",messages:{pass:"Required ARIA parent role present",fail:{singular:"Required ARIA parent role not present: ${data.values}",plural:"Required ARIA parents role not present: ${data.values}"}}},"aria-roledescription":{impact:"serious",messages:{pass:"aria-roledescription used on a supported semantic role",incomplete:"Check that the aria-roledescription is announced by supported screen readers",fail:"Give the element a role that supports aria-roledescription"}},"aria-unsupported-attr":{impact:"critical",messages:{pass:"ARIA attribute is supported",fail:"ARIA attribute is not widely supported in screen readers and assistive technologies: ${data.values}"}},"aria-valid-attr-value":{impact:"critical",messages:{pass:"ARIA attribute values are valid",fail:{singular:"Invalid ARIA attribute value: ${data.values}",plural:"Invalid ARIA attribute values: ${data.values}"},incomplete:{noId:"ARIA attribute element ID does not exist on the page: ${data.needsReview}",noIdShadow:"ARIA attribute element ID does not exist on the page or is a descendant of a different shadow DOM tree: ${data.needsReview}",ariaCurrent:'ARIA attribute value is invalid and will be treated as "aria-current=true": ${data.needsReview}',idrefs:"Unable to determine if ARIA attribute element ID exists on the page: ${data.needsReview}",empty:"ARIA attribute value is ignored while empty: ${data.needsReview}",controlsWithinPopup:"Unable to determine if aria-controls referenced ID exists on the page while using aria-haspopup: ${data.needsReview}"}}},"aria-valid-attr":{impact:"critical",messages:{pass:"ARIA attribute name is valid",fail:{singular:"Invalid ARIA attribute name: ${data.values}",plural:"Invalid ARIA attribute names: ${data.values}"}}},"braille-label-equivalent":{impact:"serious",messages:{pass:"aria-braillelabel is used on an element with accessible text",fail:"aria-braillelabel is used on an element with no accessible text",incomplete:"Unable to compute accessible text"}},"braille-roledescription-equivalent":{impact:"serious",messages:{pass:"aria-brailleroledescription is used on an element with aria-roledescription",fail:{noRoleDescription:"aria-brailleroledescription is used on an element with no aria-roledescription",emptyRoleDescription:"aria-brailleroledescription is used on an element with an empty aria-roledescription"}}},deprecatedrole:{impact:"minor",messages:{pass:"ARIA role is not deprecated",fail:"The role used is deprecated: ${data}"}},fallbackrole:{impact:"serious",messages:{pass:"Only one role value used",fail:"Use only one role value, since fallback roles are not supported in older browsers",incomplete:"Use only role 'presentation' or 'none' since they are synonymous."}},"has-global-aria-attribute":{impact:"minor",messages:{pass:{singular:"Element has global ARIA attribute: ${data.values}",plural:"Element has global ARIA attributes: ${data.values}"},fail:"Element does not have global ARIA attribute"}},"has-widget-role":{impact:"minor",messages:{pass:"Element has a widget role.",fail:"Element does not have a widget role."}},invalidrole:{impact:"critical",messages:{pass:"ARIA role is valid",fail:{singular:"Role must be one of the valid ARIA roles: ${data.values}",plural:"Roles must be one of the valid ARIA roles: ${data.values}"}}},"is-element-focusable":{impact:"minor",messages:{pass:"Element is focusable.",fail:"Element is not focusable."}},"no-implicit-explicit-label":{impact:"serious",messages:{pass:"There is no mismatch between a <label> and accessible name",incomplete:"Check that the <label> does not need be part of the ARIA ${data} field's name"}},unsupportedrole:{impact:"critical",messages:{pass:"ARIA role is supported",fail:"The role used is not widely supported in screen readers and assistive technologies: ${data}"}},"valid-scrollable-semantics":{impact:"minor",messages:{pass:"Element has valid semantics for an element in the focus order.",fail:"Element has invalid semantics for an element in the focus order."}},"color-contrast-enhanced":{impact:"serious",messages:{pass:"Element has sufficient color contrast of ${data.contrastRatio}",fail:{default:"Element has insufficient color contrast of ${data.contrastRatio} (foreground color: ${data.fgColor}, background color: ${data.bgColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}",fgOnShadowColor:"Element has insufficient color contrast of ${data.contrastRatio} between the foreground and shadow color (foreground color: ${data.fgColor}, text-shadow color: ${data.shadowColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}",shadowOnBgColor:"Element has insufficient color contrast of ${data.contrastRatio} between the shadow color and background color (text-shadow color: ${data.shadowColor}, background color: ${data.bgColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}"},incomplete:{default:"Unable to determine contrast ratio",bgImage:"Element's background color could not be determined due to a background image",bgGradient:"Element's background color could not be determined due to a background gradient",imgNode:"Element's background color could not be determined because element contains an image node",bgOverlap:"Element's background color could not be determined because it is overlapped by another element",fgAlpha:"Element's foreground color could not be determined because of alpha transparency",elmPartiallyObscured:"Element's background color could not be determined because it's partially obscured by another element",elmPartiallyObscuring:"Element's background color could not be determined because it partially overlaps other elements",outsideViewport:"Element's background color could not be determined because it's outside the viewport",equalRatio:"Element has a 1:1 contrast ratio with the background",shortTextContent:"Element content is too short to determine if it is actual text content",nonBmp:"Element content contains only non-text characters",pseudoContent:"Element's background color could not be determined due to a pseudo element",colorParse:"Could not parse color string ${data.colorParse}"}}},"color-contrast":{impact:"serious",messages:{pass:{default:"Element has sufficient color contrast of ${data.contrastRatio}",hidden:"Element is hidden"},fail:{default:"Element has insufficient color contrast of ${data.contrastRatio} (foreground color: ${data.fgColor}, background color: ${data.bgColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}",fgOnShadowColor:"Element has insufficient color contrast of ${data.contrastRatio} between the foreground and shadow color (foreground color: ${data.fgColor}, text-shadow color: ${data.shadowColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}",shadowOnBgColor:"Element has insufficient color contrast of ${data.contrastRatio} between the shadow color and background color (text-shadow color: ${data.shadowColor}, background color: ${data.bgColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}"},incomplete:{default:"Unable to determine contrast ratio",bgImage:"Element's background color could not be determined due to a background image",bgGradient:"Element's background color could not be determined due to a background gradient",imgNode:"Element's background color could not be determined because element contains an image node",bgOverlap:"Element's background color could not be determined because it is overlapped by another element",complexTextShadows:"Element's contrast could not be determined because it uses complex text shadows",fgAlpha:"Element's foreground color could not be determined because of alpha transparency",elmPartiallyObscured:"Element's background color could not be determined because it's partially obscured by another element",elmPartiallyObscuring:"Element's background color could not be determined because it partially overlaps other elements",outsideViewport:"Element's background color could not be determined because it's outside the viewport",equalRatio:"Element has a 1:1 contrast ratio with the background",shortTextContent:"Element content is too short to determine if it is actual text content",nonBmp:"Element content contains only non-text characters",pseudoContent:"Element's background color could not be determined due to a pseudo element",colorParse:"Could not parse color string ${data.colorParse}"}}},"link-in-text-block-style":{impact:"serious",messages:{pass:"Links can be distinguished from surrounding text by visual styling",incomplete:{default:"Check if the link needs styling to distinguish it from nearby text",pseudoContent:"Check if the link's pseudo style is sufficient to distinguish it from the surrounding text"},fail:"The link has no styling (such as underline) to distinguish it from the surrounding text"}},"link-in-text-block":{impact:"serious",messages:{pass:"Links can be distinguished from surrounding text in some way other than by color",fail:{fgContrast:"The link has insufficient color contrast of ${data.contrastRatio}:1 with the surrounding text. (Minimum contrast is ${data.requiredContrastRatio}:1, link text: ${data.nodeColor}, surrounding text: ${data.parentColor})",bgContrast:"The link background has insufficient color contrast of ${data.contrastRatio} (Minimum contrast is ${data.requiredContrastRatio}:1, link background color: ${data.nodeBackgroundColor}, surrounding background color: ${data.parentBackgroundColor})"},incomplete:{default:"Element's foreground contrast ratio could not be determined",bgContrast:"Element's background contrast ratio could not be determined",bgImage:"Element's contrast ratio could not be determined due to a background image",bgGradient:"Element's contrast ratio could not be determined due to a background gradient",imgNode:"Element's contrast ratio could not be determined because element contains an image node",bgOverlap:"Element's contrast ratio could not be determined because of element overlap"}}},"autocomplete-appropriate":{impact:"serious",messages:{pass:"The autocomplete value is on an appropriate element",fail:"The autocomplete value is inappropriate for this type of input"}},"autocomplete-valid":{impact:"serious",messages:{pass:"the autocomplete attribute is correctly formatted",fail:"the autocomplete attribute is incorrectly formatted",incomplete:"the autocomplete attribute has a non-standard value. Check whether any standard value could be used instead."}},accesskeys:{impact:"serious",messages:{pass:"Accesskey attribute value is unique",fail:"Document has multiple elements with the same accesskey"}},"focusable-content":{impact:"serious",messages:{pass:"Element contains focusable elements",fail:"Element should have focusable content"}},"focusable-disabled":{impact:"serious",messages:{pass:"No focusable elements contained within element",incomplete:"Check if the focusable elements immediately move the focus indicator",fail:"Focusable content should be disabled or be removed from the DOM"}},"focusable-element":{impact:"serious",messages:{pass:"Element is focusable",fail:"Element should be focusable"}},"focusable-modal-open":{impact:"serious",messages:{pass:"No focusable elements while a modal is open",incomplete:"Check that focusable elements are not tabbable in the current state"}},"focusable-no-name":{impact:"serious",messages:{pass:"Element is not in tab order or has accessible text",fail:"Element is in tab order and does not have accessible text",incomplete:"Unable to determine if element has an accessible name"}},"focusable-not-tabbable":{impact:"serious",messages:{pass:"No focusable elements contained within element",incomplete:"Check if the focusable elements immediately move the focus indicator",fail:'Focusable content should have tabindex="-1" or be removed from the DOM'}},"frame-focusable-content":{impact:"serious",messages:{pass:"Element does not have focusable descendants",fail:"Element has focusable descendants",incomplete:"Could not determine if element has descendants"}},"landmark-is-top-level":{impact:"moderate",messages:{pass:"The ${data.role} landmark is at the top level.",fail:"The ${data.role} landmark is contained in another landmark."}},"no-focusable-content":{impact:"serious",messages:{pass:"Element does not have focusable descendants",fail:{default:"Element has focusable descendants",notHidden:'Using a negative tabindex on an element inside an interactive control does not prevent assistive technologies from focusing the element (even with aria-hidden="true")'},incomplete:"Could not determine if element has descendants"}},"page-has-heading-one":{impact:"moderate",messages:{pass:"Page has at least one level-one heading",fail:"Page must have a level-one heading"}},"page-has-main":{impact:"moderate",messages:{pass:"Document has at least one main landmark",fail:"Document does not have a main landmark"}},"page-no-duplicate-banner":{impact:"moderate",messages:{pass:"Document does not have more than one banner landmark",fail:"Document has more than one banner landmark"}},"page-no-duplicate-contentinfo":{impact:"moderate",messages:{pass:"Document does not have more than one contentinfo landmark",fail:"Document has more than one contentinfo landmark"}},"page-no-duplicate-main":{impact:"moderate",messages:{pass:"Document does not have more than one main landmark",fail:"Document has more than one main landmark"}},tabindex:{impact:"serious",messages:{pass:"Element does not have a tabindex greater than 0",fail:"Element has a tabindex greater than 0"}},"alt-space-value":{impact:"critical",messages:{pass:"Element has a valid alt attribute value",fail:"Element has an alt attribute containing only a space character, which is not ignored by all screen readers"}},"duplicate-img-label":{impact:"minor",messages:{pass:"Element does not duplicate existing text in <img> alt text",fail:"Element contains <img> element with alt text that duplicates existing text"}},"explicit-label":{impact:"critical",messages:{pass:"Element has an explicit <label>",fail:"Element does not have an explicit <label>",incomplete:"Unable to determine if form element has an explicit <label>"}},"help-same-as-label":{impact:"minor",messages:{pass:"Help text (title or aria-describedby) does not duplicate label text",fail:"Help text (title or aria-describedby) text is the same as the label text"}},"hidden-explicit-label":{impact:"critical",messages:{pass:"Form element has a visible explicit <label>",fail:"Form element has explicit <label> that is hidden",incomplete:"Unable to determine if form element has explicit <label> that is hidden"}},"implicit-label":{impact:"critical",messages:{pass:"Element has an implicit (wrapped) <label>",fail:"Element does not have an implicit (wrapped) <label>",incomplete:"Unable to determine if form element has an implicit (wrapped) <label>"}},"label-content-name-mismatch":{impact:"serious",messages:{pass:"Element contains visible text as part of it's accessible name",fail:"Text inside the element is not included in the accessible name"}},"multiple-label":{impact:"moderate",messages:{pass:"Form field does not have multiple label elements",incomplete:"Multiple label elements is not widely supported in assistive technologies. Ensure the first label contains all necessary information."}},"title-only":{impact:"serious",messages:{pass:"Form element does not solely use title attribute for its label",fail:"Only title used to generate label for form element"}},"landmark-is-unique":{impact:"moderate",messages:{pass:"Landmarks must have a unique role or role/label/title (i.e. accessible name) combination",fail:"The landmark must have a unique aria-label, aria-labelledby, or title to make landmarks distinguishable"}},"has-lang":{impact:"serious",messages:{pass:"The <html> element has a lang attribute",fail:{noXHTML:"The xml:lang attribute is not valid on HTML pages, use the lang attribute.",noLang:"The <html> element does not have a lang attribute"}}},"valid-lang":{impact:"serious",messages:{pass:"Value of lang attribute is included in the list of valid languages",fail:"Value of lang attribute not included in the list of valid languages"}},"xml-lang-mismatch":{impact:"moderate",messages:{pass:"Lang and xml:lang attributes have the same base language",fail:"Lang and xml:lang attributes do not have the same base language"}},dlitem:{impact:"serious",messages:{pass:"Description list item has a <dl> parent element",fail:"Description list item does not have a <dl> parent element"}},listitem:{impact:"serious",messages:{pass:'List item has a <ul>, <ol> or role="list" parent element',fail:{default:"List item does not have a <ul>, <ol> parent element",roleNotValid:'List item parent element has a role that is not role="list"'}}},"only-dlitems":{impact:"serious",messages:{pass:"dl element only has direct children that are allowed inside; <dt>, <dd>, or <div> elements",fail:"dl element has direct children that are not allowed: ${data.values}"}},"only-listitems":{impact:"serious",messages:{pass:"List element only has direct children that are allowed inside <li> elements",fail:"List element has direct children that are not allowed: ${data.values}"}},"structured-dlitems":{impact:"serious",messages:{pass:"When not empty, element has both <dt> and <dd> elements",fail:"When not empty, element does not have at least one <dt> element followed by at least one <dd> element"}},caption:{impact:"critical",messages:{pass:"The multimedia element has a captions track",incomplete:"Check that captions are available for the element"}},"frame-tested":{impact:"critical",messages:{pass:"The iframe was tested with axe-core",fail:"The iframe could not be tested with axe-core",incomplete:"The iframe still has to be tested with axe-core"}},"no-autoplay-audio":{impact:"moderate",messages:{pass:"<video> or <audio> does not output audio for more than allowed duration or has controls mechanism",fail:"<video> or <audio> outputs audio for more than allowed duration and does not have a controls mechanism",incomplete:"Check that the <video> or <audio> does not output audio for more than allowed duration or provides a controls mechanism"}},"css-orientation-lock":{impact:"serious",messages:{pass:"Display is operable, and orientation lock does not exist",fail:"CSS Orientation lock is applied, and makes display inoperable",incomplete:"CSS Orientation lock cannot be determined"}},"meta-viewport-large":{impact:"minor",messages:{pass:"<meta> tag does not prevent significant zooming on mobile devices",fail:"<meta> tag limits zooming on mobile devices"}},"meta-viewport":{impact:"critical",messages:{pass:"<meta> tag does not disable zooming on mobile devices",fail:"${data} on <meta> tag disables zooming on mobile devices"}},"target-offset":{impact:"serious",messages:{pass:{default:"Target has sufficient space from its closest neighbors. Safe clickable space has a diameter of ${data.closestOffset}px which is at least ${data.minOffset}px.",large:"Target far exceeds the minimum size of ${data.minOffset}px."},fail:"Target has insufficient space to its closest neighbors. Safe clickable space has a diameter of ${data.closestOffset}px instead of at least ${data.minOffset}px.",incomplete:{default:"Element with negative tabindex has insufficient space to its closest neighbors. Safe clickable space has a diameter of ${data.closestOffset}px instead of at least ${data.minOffset}px. Is this a target?",nonTabbableNeighbor:"Target has insufficient space to its closest neighbors. Safe clickable space has a diameter of ${data.closestOffset}px instead of at least ${data.minOffset}px. Is the neighbor a target?",tooManyRects:"Could not get the target size because there are too many overlapping elements"}}},"target-size":{impact:"serious",messages:{pass:{default:"Control has sufficient size (${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px)",obscured:"Control is ignored because it is fully obscured and thus not clickable",large:"Target far exceeds the minimum size of ${data.minSize}px."},fail:{default:"Target has insufficient size (${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px)",partiallyObscured:"Target has insufficient size because it is partially obscured (smallest space is ${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px)"},incomplete:{default:"Element with negative tabindex has insufficient size (${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px). Is this a target?",contentOverflow:"Element size could not be accurately determined due to overflow content",partiallyObscured:"Element with negative tabindex has insufficient size because it is partially obscured (smallest space is ${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px). Is this a target?",partiallyObscuredNonTabbable:"Target has insufficient size because it is partially obscured by a neighbor with negative tabindex (smallest space is ${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px). Is the neighbor a target?",tooManyRects:"Could not get the target size because there are too many overlapping elements"}}},"header-present":{impact:"serious",messages:{pass:"Page has a heading",fail:"Page does not have a heading"}},"heading-order":{impact:"moderate",messages:{pass:"Heading order valid",fail:"Heading order invalid",incomplete:"Unable to determine previous heading"}},"identical-links-same-purpose":{impact:"minor",messages:{pass:"There are no other links with the same name, that go to a different URL",incomplete:"Check that links have the same purpose, or are intentionally ambiguous."}},"internal-link-present":{impact:"serious",messages:{pass:"Valid skip link found",fail:"No valid skip link found"}},landmark:{impact:"serious",messages:{pass:"Page has a landmark region",fail:"Page does not have a landmark region"}},"meta-refresh-no-exceptions":{impact:"minor",messages:{pass:"<meta> tag does not immediately refresh the page",fail:"<meta> tag forces timed refresh of page"}},"meta-refresh":{impact:"critical",messages:{pass:"<meta> tag does not immediately refresh the page",fail:"<meta> tag forces timed refresh of page (less than 20 hours)"}},"p-as-heading":{impact:"serious",messages:{pass:"<p> elements are not styled as headings",fail:"Heading elements should be used instead of styled <p> elements",incomplete:"Unable to determine if <p> elements are styled as headings"}},region:{impact:"moderate",messages:{pass:"All page content is contained by landmarks",fail:"Some page content is not contained by landmarks"}},"skip-link":{impact:"moderate",messages:{pass:"Skip link target exists",incomplete:"Skip link target should become visible on activation",fail:"No skip link target"}},"unique-frame-title":{impact:"serious",messages:{pass:"Element's title attribute is unique",fail:"Element's title attribute is not unique"}},"duplicate-id-active":{impact:"serious",messages:{pass:"Document has no active elements that share the same id attribute",fail:"Document has active elements with the same id attribute: ${data}"}},"duplicate-id-aria":{impact:"critical",messages:{pass:"Document has no elements referenced with ARIA or labels that share the same id attribute",fail:"Document has multiple elements referenced with ARIA with the same id attribute: ${data}"}},"duplicate-id":{impact:"minor",messages:{pass:"Document has no static elements that share the same id attribute",fail:"Document has multiple static elements with the same id attribute: ${data}"}},"aria-label":{impact:"serious",messages:{pass:"aria-label attribute exists and is not empty",fail:"aria-label attribute does not exist or is empty"}},"aria-labelledby":{impact:"serious",messages:{pass:"aria-labelledby attribute exists and references elements that are visible to screen readers",fail:"aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty",incomplete:"Ensure aria-labelledby references an existing element"}},"avoid-inline-spacing":{impact:"serious",messages:{pass:"No inline styles with '!important' that affect text spacing has been specified",fail:{singular:"Remove '!important' from inline style ${data.values}, as overriding this is not supported by most browsers",plural:"Remove '!important' from inline styles ${data.values}, as overriding this is not supported by most browsers"}}},"button-has-visible-text":{impact:"critical",messages:{pass:"Element has inner text that is visible to screen readers",fail:"Element does not have inner text that is visible to screen readers",incomplete:"Unable to determine if element has children"}},"doc-has-title":{impact:"serious",messages:{pass:"Document has a non-empty <title> element",fail:"Document does not have a non-empty <title> element"}},"error-occurred":{messages:{pass:"",incomplete:"Axe encountered an error; test the page for this type of problem manually"}},exists:{impact:"minor",messages:{pass:"Element does not exist",incomplete:"Element exists"}},"has-alt":{impact:"critical",messages:{pass:"Element has an alt attribute",fail:"Element does not have an alt attribute"}},"has-visible-text":{impact:"minor",messages:{pass:"Element has text that is visible to screen readers",fail:"Element does not have text that is visible to screen readers",incomplete:"Unable to determine if element has children"}},"important-letter-spacing":{impact:"serious",messages:{pass:"Letter-spacing in the style attribute is not set to !important, or meets the minimum",fail:"letter-spacing in the style attribute must not use !important, or be at ${data.minValue}em (current ${data.value}em)"}},"important-line-height":{impact:"serious",messages:{pass:"line-height in the style attribute is not set to !important, or meets the minimum",fail:"line-height in the style attribute must not use !important, or be at ${data.minValue}em (current ${data.value}em)"}},"important-word-spacing":{impact:"serious",messages:{pass:"word-spacing in the style attribute is not set to !important, or meets the minimum",fail:"word-spacing in the style attribute must not use !important, or be at ${data.minValue}em (current ${data.value}em)"}},"is-on-screen":{impact:"serious",messages:{pass:"Element is not visible",fail:"Element is visible"}},"non-empty-alt":{impact:"critical",messages:{pass:"Element has a non-empty alt attribute",fail:{noAttr:"Element has no alt attribute",emptyAttr:"Element has an empty alt attribute"}}},"non-empty-if-present":{impact:"critical",messages:{pass:{default:"Element does not have a value attribute","has-label":"Element has a non-empty value attribute"},fail:"Element has a value attribute and the value attribute is empty"}},"non-empty-placeholder":{impact:"serious",messages:{pass:"Element has a placeholder attribute",fail:{noAttr:"Element has no placeholder attribute",emptyAttr:"Element has an empty placeholder attribute"}}},"non-empty-title":{impact:"serious",messages:{pass:"Element has a title attribute",fail:{noAttr:"Element has no title attribute",emptyAttr:"Element has an empty title attribute"}}},"non-empty-value":{impact:"critical",messages:{pass:"Element has a non-empty value attribute",fail:{noAttr:"Element has no value attribute",emptyAttr:"Element has an empty value attribute"}}},"presentational-role":{impact:"minor",messages:{pass:'Element\'s default semantics were overridden with role="${data.role}"',fail:{default:`Element's default semantics were not overridden with role="none" or role="presentation"`,globalAria:"Element's role is not presentational because it has a global ARIA attribute",focusable:"Element's role is not presentational because it is focusable",both:"Element's role is not presentational because it has a global ARIA attribute and is focusable",iframe:'Using the "title" attribute on an ${data.nodeName} element with a presentational role behaves inconsistently between screen readers'}}},"role-none":{impact:"minor",messages:{pass:`Element's default semantics were overridden with role="none"`,fail:`Element's default semantics were not overridden with role="none"`}},"role-presentation":{impact:"minor",messages:{pass:`Element's default semantics were overridden with role="presentation"`,fail:`Element's default semantics were not overridden with role="presentation"`}},"svg-non-empty-title":{impact:"serious",messages:{pass:"Element has a child that is a title",fail:{noTitle:"Element has no child that is a title",emptyTitle:"Element child title is empty"},incomplete:"Unable to determine element has a child that is a title"}},"caption-faked":{impact:"serious",messages:{pass:"The first row of a table is not used as a caption",fail:"The first child of the table should be a caption instead of a table cell"}},"html5-scope":{impact:"moderate",messages:{pass:"Scope attribute is only used on table header elements (<th>)",fail:"In HTML 5, scope attributes may only be used on table header elements (<th>)"}},"same-caption-summary":{impact:"minor",messages:{pass:"Content of summary attribute and <caption> are not duplicated",fail:"Content of summary attribute and <caption> element are identical",incomplete:"Unable to determine if <table> element has a caption"}},"scope-value":{impact:"critical",messages:{pass:"Scope attribute is used correctly",fail:"The value of the scope attribute may only be 'row' or 'col'"}},"td-has-header":{impact:"critical",messages:{pass:"All non-empty data cells have table headers",fail:"Some non-empty data cells do not have table headers"}},"td-headers-attr":{impact:"serious",messages:{pass:"The headers attribute is exclusively used to refer to other header cells in the table",incomplete:"The headers attribute is empty",fail:{"cell-header-not-in-table":"The headers attribute is not exclusively used to refer to other header cells in the table","cell-header-not-th":"The headers attribute must refer to header cells, not data cells","header-refs-self":"The element with headers attribute refers to itself"}}},"th-has-data-cells":{impact:"serious",messages:{pass:"All table header cells refer to data cells",fail:"Not all table header cells refer to data cells",incomplete:"Table data cells are missing or empty"}},"hidden-content":{impact:"minor",messages:{pass:"All content on the page has been analyzed.",fail:"There were problems analyzing the content on this page.",incomplete:"There is hidden content on the page that was not analyzed. You will need to trigger the display of this content in order to analyze it."}}},failureSummaries:{any:{failureMessage:function(he){var De="Fix any of the following:",Ae=he;if(Ae)for(var Ge,ct=-1,gt=Ae.length-1;ct<gt;)Ge=Ae[ct+=1],De+=`
431
431
  `+Ge.split(`
432
432
  `).join(`
433
433
  `);return De}},none:{failureMessage:function(he){var De="Fix all of the following:",Ae=he;if(Ae)for(var Ge,ct=-1,gt=Ae.length-1;ct<gt;)Ge=Ae[ct+=1],De+=`
434
434
  `+Ge.split(`
435
435
  `).join(`
436
- `);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:yb);});function KL(u){let{selectors:c,maxBoxes:h,maxW:p,maxH:m,maxArea:v,fgBySelector:y}=u,w=document.documentElement.scrollWidth,E=document.documentElement.scrollHeight,C=document.createElement("canvas");C.width=C.height=1;let x=C.getContext("2d",{willReadFrequently:true}),b=F=>{try{x.clearRect(0,0,1,1),x.fillStyle="#000",x.fillStyle=F,x.fillRect(0,0,1,1);let $=x.getImageData(0,0,1,1).data;return [$[0],$[1],$[2],$[3]]}catch{return null}},_={},D=document.querySelectorAll("video,canvas,iframe,embed,object");if(D.length>200){for(let F of c)_[F]=null;return _}let T=Array.from(D).map(F=>F.getBoundingClientRect()),I=window.scrollX,B=window.scrollY;for(let F of c){_[F]=null;let $=null;try{$=document.querySelector(F);}catch{continue}if(!$)continue;let M=getComputedStyle($);if(M.visibility!=="visible"||M.display==="none"||M.webkitBackgroundClip==="text"||M.backgroundClip==="text")continue;let H=false,ee=0;for(let oe=$;oe;oe=oe.parentElement){if(++ee>64){H=true;break}let L=getComputedStyle(oe);parseFloat(L.opacity)<1&&(H=true),(L.mixBlendMode!=="normal"||L.filter!=="none")&&(H=true);}if(H)continue;let N=b(M.color);if(!N||N[3]<255)continue;let R=parseFloat(M.fontSize),S=parseInt(M.fontWeight,10)>=700,P=R>=24||S&&R>=18.66,q=[],j=$.getBoundingClientRect();if(j.height>m*h||j.width>p*2)continue;let W=document.createTreeWalker($,NodeFilter.SHOW_TEXT),Z,ne=0,le=false;for(;!le&&(Z=W.nextNode());){if(++ne>50){le=true;break}if(Z.parentElement!==$)continue;let oe=Z.textContent||"";if(oe.length>2e3){le=true;break}if(!oe.trim())continue;let L=document.createRange();L.selectNodeContents(Z);let z=L.getClientRects();if(z.length>h){le=true;break}for(let K=0;K<z.length;K++){let J=z[K];if(!(J.width<2||J.height<2)&&(q.push({x:Math.round(J.left+I),y:Math.round(J.top+B),w:Math.max(1,Math.round(J.width)),h:Math.max(1,Math.round(J.height))}),q.length>h)){le=true;break}}}if(le||q.length===0||q.length>h||q.some(oe=>oe.w>p||oe.h>m||oe.w*oe.h>v||oe.x<0||oe.y<0||oe.x+oe.w>w||oe.y+oe.h>E)||q.some(oe=>T.some(L=>oe.x<L.right+I&&oe.x+oe.w>L.left+I&&oe.y<L.bottom+B&&oe.y+oe.h>L.top+B)))continue;let me=y[F];_[F]={fg:me||`rgb(${N[0]},${N[1]},${N[2]})`,threshold:P?3:4.5,boxes:q};}return _}async function YL(u){let{b64:c,fg:h}=u,p=atob(c),m=new Uint8Array(p.length);for(let M=0;M<p.length;M++)m[M]=p.charCodeAt(M);let v=await createImageBitmap(new Blob([m],{type:"image/png"})),y=document.createElement("canvas");y.width=v.width,y.height=v.height;let w=y.getContext("2d",{willReadFrequently:true});w.drawImage(v,0,0);let E=w.getImageData(0,0,y.width,y.height).data,C=M=>{let H=M/255;return H<=.03928?H/12.92:Math.pow((H+.055)/1.055,2.4)},x=(M,H,ee)=>.2126*C(M)+.7152*C(H)+.0722*C(ee),b=h.match(/\d+/g).map(Number),_=x(b[0],b[1],b[2]),D=Math.max(1,Math.floor(Math.sqrt(y.width*y.height/1500))),T=0,I=1/0,B="",F="",$=0;for(let M=0;M<y.height;M+=D)for(let H=0;H<y.width;H+=D){let ee=(M*y.width+H)*4;if(E[ee+3]<255)continue;let N=x(E[ee],E[ee+1],E[ee+2]),R=Math.max(_,N),S=Math.min(_,N),P=(R+.05)/(S+.05);P>T&&(T=P,F=`rgb(${E[ee]},${E[ee+1]},${E[ee+2]})`),P<I&&(I=P,B=`rgb(${E[ee]},${E[ee+1]},${E[ee+2]})`),$++;}return $===0?null:{best:T,worst:I,worstBg:B,bestBg:F}}function Fr(u,c){let h=c-Date.now();if(h<=0)return u.catch(()=>{}),Promise.reject(new vs("pixel pass deadline"));let p,m=new Promise((v,y)=>{p=setTimeout(()=>y(new vs("pixel pass deadline")),h);});return Promise.race([u,m]).finally(()=>clearTimeout(p))}function ZL(u){let c=(u??"").trim(),h=c.match(/^#([0-9a-f]{3})$/i);if(h)return `rgb(${[...h[1]].map(p=>parseInt(p+p,16)).join(",")})`;if(h=c.match(/^#([0-9a-f]{6})$/i),h)return `rgb(${[0,2,4].map(p=>parseInt(h[1].slice(p,p+2),16)).join(",")})`;if(h=c.match(/^rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/i),h&&[h[1],h[2],h[3]].every(p=>Number(p)<=255))return `rgb(${Number(h[1])},${Number(h[2])},${Number(h[3])})`}function bs(u){return u.source!=="axe-core"&&u.type==="contrast_insufficient"?u.fix?.currentValue:void 0}async function QL(u,c){try{return await u.evaluate("if(typeof globalThis.__name==='undefined'){globalThis.__name=function(t){return t}}"),await u.evaluate(h=>{let p=new Map;return h.map(m=>{try{let v=document.querySelector(m);return v?(p.has(v)||p.set(v,p.size),p.get(v)):-1}catch{return -1}})},c)}catch{return c.map(()=>-1)}}async function Dc(u,c){let h=u.screenshot;if(typeof h!="function"||c.length===0)return [];let p={},m=[];for(let C of c){let x=typeof C=="string"?C:C.selector;m.push(x);let b=typeof C=="string"?void 0:ZL(C.fg);b&&!(x in p)&&(p[x]=b);}let v=Array.from(new Set(m)).slice(0,xb),y=[],w=false,E=Date.now()+kb;try{await Fr(u.evaluate("if(typeof globalThis.__name==='undefined'){globalThis.__name=function(t){return t}}"),E);let C=await Fr(u.evaluate(KL,{selectors:v,maxBoxes:Ab,maxW:Db,maxH:Eb,maxArea:Cb,fgBySelector:p}),E);await Fr(ms(u,{tool:"contrast-pixels",css:JL}),E),w=!0;let x=0;for(let b of v){let _=C[b];if(!_)continue;if(Date.now()>E||x+_.boxes.length>_b)break;let D=0,T=1/0,I="",B="",F=!0;for(let $ of _.boxes){x++;let M=await Fr(h.call(u,{clip:{x:$.x,y:$.y,width:$.w,height:$.h},fullPage:!0,type:"png",animations:"disabled"}),E),H=globalThis.Buffer,ee=H?H.from(M).toString("base64"):"",N=await Fr(u.evaluate(YL,{b64:ee,fg:_.fg}),E);if(!N){F=!1;break}N.best>D&&(D=N.best,B=N.bestBg),N.worst<T&&(T=N.worst,I=N.worstBg);}F&&y.push({selector:b,fail:D<_.threshold*.97,bestRatio:D,worstRatio:T,...I?{worstBg:I}:{},...B?{bestBg:B}:{},threshold:_.threshold,fg:_.fg});}}catch(C){globalThis.process?.env?.WA_DEBUG_PIXELS&&console.error("pixel judge failed",C);}finally{if(w)try{await Promise.race([u.evaluate(()=>document.querySelectorAll('style[data-wa-injected^="contrast-pixels:"]').forEach(C=>C.remove())),new Promise(C=>setTimeout(C,1e3))]);}catch{}}return y}function eO(u){let{selectors:c,maxBoxes:h,maxW:p,maxH:m,maxArea:v,solid:y}=u,w=document.documentElement.scrollWidth,E=document.documentElement.scrollHeight,C=window.scrollX,x=window.scrollY,b={};for(let _ of c){b[_]=null;let D=null;try{D=document.querySelector(_);}catch{continue}if(!D)continue;let T=getComputedStyle(D);if(T.visibility!=="visible"||T.display==="none"||!y&&!(T.webkitBackgroundClip==="text"||T.backgroundClip==="text"))continue;let I=false,B=0;for(let P=D;P;P=P.parentElement){if(++B>64){I=true;break}let q=getComputedStyle(P);(parseFloat(q.opacity)<1||q.mixBlendMode!=="normal"||q.filter!=="none")&&(I=true);}if(I)continue;let F=parseFloat(T.fontSize),$=parseInt(T.fontWeight,10)>=700,M=F>=24||$&&F>=18.66,H=[],ee=document.createTreeWalker(D,NodeFilter.SHOW_TEXT),N,R=0,S=false;for(;!S&&(N=ee.nextNode());){if(++R>50){S=true;break}if(!(N.textContent||"").trim())continue;let P=document.createRange();P.selectNodeContents(N);let q=P.getClientRects();for(let j=0;j<q.length;j++){let W=q[j];if(!(W.width<2||W.height<2)&&(H.push({x:Math.round(W.left+C),y:Math.round(W.top+x),w:Math.max(1,Math.round(W.width)),h:Math.max(1,Math.round(W.height))}),H.length>h)){S=true;break}}}S||H.length===0||H.some(P=>P.w>p||P.h>m||P.w*P.h>v||P.x<0||P.y<0||P.x+P.w>w||P.y+P.h>E)||(b[_]={threshold:M?3:4.5,fg:T.color,boxes:H});}return b}async function tO(u){let c=async B=>{let F=atob(B),$=new Uint8Array(F.length);for(let N=0;N<F.length;N++)$[N]=F.charCodeAt(N);let M=await createImageBitmap(new Blob([$],{type:"image/png"})),H=document.createElement("canvas");H.width=M.width,H.height=M.height;let ee=H.getContext("2d",{willReadFrequently:true});return ee.drawImage(M,0,0),{w:H.width,h:H.height,d:ee.getImageData(0,0,H.width,H.height).data}},h=await c(u.painted),p=await c(u.backdrop);if(h.w!==p.w||h.h!==p.h)return null;let m=u.inverse?await c(u.inverse):null;if(m&&(m.w!==h.w||m.h!==h.h))return null;let v=u.fg?(u.fg.match(/[\d.]+/g)||[]).map(Number):null,y=B=>{let F=B/255;return F<=.03928?F/12.92:Math.pow((F+.055)/1.055,2.4)},w=(B,F,$)=>.2126*y(B)+.7152*y(F)+.0722*y($),E=h.w,C=h.h,x=new Uint8Array(E*C);for(let B=0;B<E*C;B++){let F=B*4,$=m??p;x[B]=Math.abs(h.d[F]-$.d[F])+Math.abs(h.d[F+1]-$.d[F+1])+Math.abs(h.d[F+2]-$.d[F+2])>48?1:0;}let b=u.coreRadius??2,_=[];for(let B=b;B<C-b;B++)for(let F=b;F<E-b;F++){let $=B*E+F;if(!x[$])continue;let M=true;for(let R=-b;R<=b&&M;R++)for(let S=-b;S<=b;S++)if(!x[$+R*E+S]){M=false;break}if(!M)continue;let H=$*4,ee=v&&v.length>=3?w(v[0],v[1],v[2]):w(h.d[H],h.d[H+1],h.d[H+2]),N=w(p.d[H],p.d[H+1],p.d[H+2]);_.push({ratio:(Math.max(ee,N)+.05)/(Math.min(ee,N)+.05),fg:v?`rgb(${v[0]},${v[1]},${v[2]})`:`rgb(${h.d[H]},${h.d[H+1]},${h.d[H+2]})`,bg:`rgb(${p.d[H]},${p.d[H+1]},${p.d[H+2]})`});}if(_.length<40)return null;_.sort((B,F)=>B.ratio-F.ratio);let D=_[Math.floor(_.length*.02)],T=B=>_[Math.floor(_.length*B)].ratio,I=u.threshold?_.filter(B=>B.ratio<u.threshold).length/_.length:0;return {worst:D.ratio,best:_[_.length-1].ratio,worstFg:D.fg,worstBg:D.bg,core:_.length,min:_[0].ratio,p05:T(.05),p50:T(.5),below:I}}async function rO(u,c){return Tb(u,c,false)}async function Sb(u,c){return Tb(u,c,true)}async function Tb(u,c,h){let p=u.screenshot;if(typeof p!="function"||c.length===0)return [];let m=Array.from(new Set(c)).slice(0,xb),v=[],y=false,w=Date.now()+kb;try{await Fr(u.evaluate("if(typeof globalThis.__name==='undefined'){globalThis.__name=function(t){return t}}"),w);let E=await Fr(u.evaluate(eO,{selectors:m,maxBoxes:Ab,maxW:Db,maxH:Eb,maxArea:Cb,solid:h}),w),C=(_,D)=>`[data-wa-gt="${_}"],[data-wa-gt="${_}"] *{color:${D}!important;-webkit-text-fill-color:${D}!important;text-shadow:none!important;text-decoration-color:${D}!important}`,x=h?C("1","transparent")+C("k","#000")+C("w","#fff"):"[data-wa-gt]{background-image:none!important;background-color:transparent!important}";await Fr(ms(u,{tool:"contrast-gradient-text",css:x}),w),y=!0;let b=0;for(let _ of m){let D=E[_];if(!D)continue;let T=h?3:2;if(Date.now()>w||b+D.boxes.length*T>_b)break;let I=1/0,B=0,F="",$="",M=1/0,H=1/0,ee=1/0,N=0,R=!0,S=globalThis.Buffer;for(let q of D.boxes){b+=T;let j={x:q.x,y:q.y,width:q.w,height:q.h},W=()=>Fr(p.call(u,{clip:j,fullPage:!0,type:"png",animations:"disabled"}),w),Z=L=>Fr(u.evaluate(z=>{document.querySelector(z.s)?.setAttribute("data-wa-gt",z.v);},{s:_,v:L}),w),ne,le,fe=null;try{h?(await Z("k"),ne=await W(),await Z("w"),fe=await W()):ne=await W(),await Z("1"),le=await W();}finally{await u.evaluate(L=>{document.querySelector(L)?.removeAttribute("data-wa-gt");},_).catch(()=>{});}let me=L=>S?S.from(L).toString("base64"):"",oe=await Fr(u.evaluate(tO,{painted:me(ne),backdrop:me(le),threshold:D.threshold,coreRadius:h?1:2,...fe?{inverse:me(fe),fg:D.fg}:{}}),w);if(!oe){R=!1;break}M=Math.min(M,oe.min),H=Math.min(H,oe.p05),ee=Math.min(ee,oe.p50),N=Math.max(N,oe.below),oe.worst<I&&(I=oe.worst,F=oe.worstFg,$=oe.worstBg),oe.best>B&&(B=oe.best);}if(!R||!isFinite(I))continue;let P={min:M,p02:I,p05:H,p50:ee,fractionBelow:N};v.push({selector:_,fail:I<D.threshold*.97,bestRatio:B,worstRatio:I,worstBg:$,threshold:D.threshold,fg:F,glyph:P,...h?{}:{gradientText:!0}});}}catch(E){globalThis.process?.env?.WA_DEBUG_PIXELS&&console.error("gradient text judge failed",E);}finally{if(y)try{await Promise.race([u.evaluate(()=>{document.querySelectorAll('style[data-wa-injected^="contrast-gradient-text:"]').forEach(E=>E.remove()),document.querySelectorAll("[data-wa-gt]").forEach(E=>E.removeAttribute("data-wa-gt"));}),new Promise(E=>setTimeout(E,1e3))]);}catch{}}return v}function nO(u,c){let{confidence:h,reviewReason:p,evidence:m,...v}=u;return {...v,id:u.id.replace("axe-incomplete-","axe-"),impact:"serious",message:c.gradientText?`contrast: gradient text \u2014 worst stop ${c.fg} is ${c.worstRatio.toFixed(2)}:1 on ${c.worstBg??"its backdrop"}, needs ${c.threshold}:1 (measured from the painted glyph pixels)`:`contrast: ${c.fg} text on its rendered background is at best ${c.bestRatio.toFixed(2)}:1 (measured from pixels, every background pixel behind the text fails), needs ${c.threshold}:1`}}async function Rb(u,c,h,p){let m=c.filter(M=>M.wcag!=="1.4.3"||!M.selector?false:M.source==="axe-core"?XL.has(h.get(M.id)??""):M.type==="contrast_insufficient"&&/gradient or image|gradient-clipped/.test(M.reviewReason??""));if(m.length===0)return [];let v=M=>/gradient-clipped/.test(M.reviewReason??""),y=await QL(u,m.map(M=>M.selector)),w=M=>M.source==="axe-core"?1:0,E=new Map;m.forEach((M,H)=>{if(y[H]<0)return;let ee=E.get(y[H]);(!ee||w(M)<w(ee))&&E.set(y[H],M);});let C=m.filter((M,H)=>y[H]<0||E.get(y[H])===M),x=C.filter(M=>!v(M)),b=x.map(M=>y[m.indexOf(M)]),_=new Map;m.forEach((M,H)=>{let ee=bs(M);ee&&y[H]>=0&&!_.has(y[H])&&_.set(y[H],ee);});let D=[...await Dc(u,x.map((M,H)=>({selector:M.selector,fg:bs(M)??_.get(b[H])}))),...await rO(u,C.filter(v).map(M=>M.selector))],T=new Map(D.map(M=>[M.selector,M])),I=(M,H)=>{let ee=y[H]>=0?E.get(y[H]):M,N=ee?T.get(ee.selector):void 0;return N&&N.selector!==M.selector?{...N,selector:M.selector}:N},B=m.map((M,H)=>I(M,H));if(p)for(let M of B)M&&p.set(M.selector,M);globalThis.process?.env?.WA_DEBUG_PIXELS&&console.error(`pixel judge: ${m.length} candidates, ${C.length} elements, ${D.length} measured, ${D.filter(M=>M.fail).length} fail`);let F=[],$=new Set;return m.forEach((M,H)=>{let ee=B[H];!ee||!ee.fail||$.has(M.selector)||($.add(M.selector),F.push(nO(M,ee)));}),F}var xb,Ab,_b,Db,Eb,Cb,kb,XL,JL,vs,Ec=Fe(()=>{Ar();xb=120,Ab=3,_b=120,Db=1200,Eb=300,Cb=2e5,kb=8e3,XL=new Set(["bgImage","bgGradient","bgOverlap","elmPartiallyObscured","elmPartiallyObscuring"]),JL="*,*::before,*::after{color:transparent!important;-webkit-text-fill-color:transparent!important;text-shadow:none!important;text-decoration-color:transparent!important;caret-color:transparent!important}";vs=class extends Error{};});function aO(u){u=u.replace("#",""),u.length===3&&(u=u[0]+u[0]+u[1]+u[1]+u[2]+u[2]);let c=parseInt(u,16);return [c>>16&255,c>>8&255,c&255]}function iO(u,c,h){return "#"+[u,c,h].map(p=>Math.round(p).toString(16).padStart(2,"0")).join("")}function Cc(u){let c=u/255;return c<=.03928?c/12.92:Math.pow((c+.055)/1.055,2.4)}function va(u,c,h){return .2126*Cc(u)+.7152*Cc(c)+.0722*Cc(h)}function kc(u,c){let h=Math.max(u,c),p=Math.min(u,c);return (h+.05)/(p+.05)}function tn(u){if(u.startsWith("#"))return aO(u);let c=u.match(/rgba?\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)/);return c?[parseInt(c[1]),parseInt(c[2]),parseInt(c[3])]:null}function ar(u,c){let h=tn(u),p=tn(c);return !h||!p?0:kc(va(...h),va(...p))}function ba(u,c,h=4.5){let p=tn(u),m=tn(c);if(!p||!m)return null;let v=va(...m),y=kc(va(...p),v);if(y>=h)return null;let E=va(...p)>v,C=0,x=1,b=p;for(let T=0;T<20;T++){let I=(C+x)/2,B=E?[p[0]*(1-I),p[1]*(1-I),p[2]*(1-I)]:[p[0]+(255-p[0])*I,p[1]+(255-p[1])*I,p[2]+(255-p[2])*I],F=va(B[0],B[1],B[2]);kc(F,v)>=h?(b=B,x=I):C=I;}let _=iO(b[0],b[1],b[2]),D=ar(_,c);return {currentColor:u,suggestedColor:_,currentRatio:Math.round(y*100)/100,suggestedRatio:Math.round(D*100)/100,requiredRatio:h,bgColor:c}}var Ci=Fe(()=>{});var Fb,Ib=Fe(()=>{Fb={"1.1.1-hidden-image-decorative.md":'---\nid: hidden-image-decorative\ntitle: Image hidden from assistive technology is decorative\nact: e88epe\nsc: 1.1.1\nissueType: hidden_image_not_decorative\nimpact: serious\nevidence: image\nwhere: inTree=false, rendered=true, insideNamedControl=false, cssBackground=false\nvision: true\nstatus: below-bar\nnote: Opt-in: not in the hosted scope. Live sweep 2026-11-10 (12 control sites, alibaba/qwen3.8-flash): 32 new findings, none on origin/main, mostly false positives (informative icons read as decorative). Runs only when named in `aspects`.\n---\n## Aspect\nAn image that is removed from the accessibility tree (`alt=""`, `role=none` or `role=presentation`, `aria-hidden=true`, or an `svg` / `canvas` with no role and no name) must be purely decorative: it conveys no information a user needs (WCAG 1.1.1 Non-text Content, decoration exception).\n\n## Applicability\nEach candidate is a rendered `img`, `svg`, `canvas` or `role=img` element that is NOT in the accessibility tree. Images inside a link or button named by its own `aria-label`, and CSS background images, are not candidates (filtered before the call).\n- "inapplicable" when the crop is blank (an empty canvas, a failed load).\n\n## Evidence\n- crop: the rendered pixels.\n- `alt`, `role`, `ariaHidden`: how it was hidden.\n- `nearbyText`: text next to it on the page.\n\n## Decision\n- "passed" when the picture is decoration: ornament, mood photography or illustration that repeats nothing the page needs, a shape or pattern, or a picture whose information is already given in adjacent text (e.g. fireworks next to "Happy new year!").\n- "failed" when the picture conveys information: a logo, rendered text or words, a chart, a labelled diagram, an identifiable product or person the page refers to, or a picture that a nearby caption introduces ("Best W3C logo:").\n- An image that shows text (for example a canvas that draws a phrase) is "failed": the text is information.\n',"1.1.1-image-name-descriptive.md":`---
436
+ `);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:yb);});function KL(u){let{selectors:c,maxBoxes:h,maxW:p,maxH:m,maxArea:v,fgBySelector:y}=u,w=document.documentElement.scrollWidth,E=document.documentElement.scrollHeight,C=document.createElement("canvas");C.width=C.height=1;let x=C.getContext("2d",{willReadFrequently:true}),b=R=>{try{x.clearRect(0,0,1,1),x.fillStyle="#000",x.fillStyle=R,x.fillRect(0,0,1,1);let $=x.getImageData(0,0,1,1).data;return [$[0],$[1],$[2],$[3]]}catch{return null}},_={},D=document.querySelectorAll("video,canvas,iframe,embed,object");if(D.length>200){for(let R of c)_[R]=null;return _}let T=Array.from(D).map(R=>R.getBoundingClientRect()),I=window.scrollX,B=window.scrollY;for(let R of c){_[R]=null;let $=null;try{$=document.querySelector(R);}catch{continue}if(!$)continue;let M=getComputedStyle($);if(M.visibility!=="visible"||M.display==="none"||M.webkitBackgroundClip==="text"||M.backgroundClip==="text")continue;let H=false,ee=0;for(let oe=$;oe;oe=oe.parentElement){if(++ee>64){H=true;break}let L=getComputedStyle(oe);parseFloat(L.opacity)<1&&(H=true),(L.mixBlendMode!=="normal"||L.filter!=="none")&&(H=true);}if(H)continue;let N=b(M.color);if(!N||N[3]<255)continue;let F=parseFloat(M.fontSize),S=parseInt(M.fontWeight,10)>=700,P=F>=24||S&&F>=18.66,q=[],j=$.getBoundingClientRect();if(j.height>m*h||j.width>p*2)continue;let W=document.createTreeWalker($,NodeFilter.SHOW_TEXT),Z,ne=0,le=false;for(;!le&&(Z=W.nextNode());){if(++ne>50){le=true;break}if(Z.parentElement!==$)continue;let oe=Z.textContent||"";if(oe.length>2e3){le=true;break}if(!oe.trim())continue;let L=document.createRange();L.selectNodeContents(Z);let z=L.getClientRects();if(z.length>h){le=true;break}for(let K=0;K<z.length;K++){let J=z[K];if(!(J.width<2||J.height<2)&&(q.push({x:Math.round(J.left+I),y:Math.round(J.top+B),w:Math.max(1,Math.round(J.width)),h:Math.max(1,Math.round(J.height))}),q.length>h)){le=true;break}}}if(le||q.length===0||q.length>h||q.some(oe=>oe.w>p||oe.h>m||oe.w*oe.h>v||oe.x<0||oe.y<0||oe.x+oe.w>w||oe.y+oe.h>E)||q.some(oe=>T.some(L=>oe.x<L.right+I&&oe.x+oe.w>L.left+I&&oe.y<L.bottom+B&&oe.y+oe.h>L.top+B)))continue;let me=y[R];_[R]={fg:me||`rgb(${N[0]},${N[1]},${N[2]})`,threshold:P?3:4.5,boxes:q};}return _}async function YL(u){let{b64:c,fg:h}=u,p=atob(c),m=new Uint8Array(p.length);for(let M=0;M<p.length;M++)m[M]=p.charCodeAt(M);let v=await createImageBitmap(new Blob([m],{type:"image/png"})),y=document.createElement("canvas");y.width=v.width,y.height=v.height;let w=y.getContext("2d",{willReadFrequently:true});w.drawImage(v,0,0);let E=w.getImageData(0,0,y.width,y.height).data,C=M=>{let H=M/255;return H<=.03928?H/12.92:Math.pow((H+.055)/1.055,2.4)},x=(M,H,ee)=>.2126*C(M)+.7152*C(H)+.0722*C(ee),b=h.match(/\d+/g).map(Number),_=x(b[0],b[1],b[2]),D=Math.max(1,Math.floor(Math.sqrt(y.width*y.height/1500))),T=0,I=1/0,B="",R="",$=0;for(let M=0;M<y.height;M+=D)for(let H=0;H<y.width;H+=D){let ee=(M*y.width+H)*4;if(E[ee+3]<255)continue;let N=x(E[ee],E[ee+1],E[ee+2]),F=Math.max(_,N),S=Math.min(_,N),P=(F+.05)/(S+.05);P>T&&(T=P,R=`rgb(${E[ee]},${E[ee+1]},${E[ee+2]})`),P<I&&(I=P,B=`rgb(${E[ee]},${E[ee+1]},${E[ee+2]})`),$++;}return $===0?null:{best:T,worst:I,worstBg:B,bestBg:R}}function Fr(u,c){let h=c-Date.now();if(h<=0)return u.catch(()=>{}),Promise.reject(new vs("pixel pass deadline"));let p,m=new Promise((v,y)=>{p=setTimeout(()=>y(new vs("pixel pass deadline")),h);});return Promise.race([u,m]).finally(()=>clearTimeout(p))}function ZL(u){let c=(u??"").trim(),h=c.match(/^#([0-9a-f]{3})$/i);if(h)return `rgb(${[...h[1]].map(p=>parseInt(p+p,16)).join(",")})`;if(h=c.match(/^#([0-9a-f]{6})$/i),h)return `rgb(${[0,2,4].map(p=>parseInt(h[1].slice(p,p+2),16)).join(",")})`;if(h=c.match(/^rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/i),h&&[h[1],h[2],h[3]].every(p=>Number(p)<=255))return `rgb(${Number(h[1])},${Number(h[2])},${Number(h[3])})`}function bs(u){return u.source!=="axe-core"&&u.type==="contrast_insufficient"?u.fix?.currentValue:void 0}async function QL(u,c){try{return await u.evaluate("if(typeof globalThis.__name==='undefined'){globalThis.__name=function(t){return t}}"),await u.evaluate(h=>{let p=new Map;return h.map(m=>{try{let v=document.querySelector(m);return v?(p.has(v)||p.set(v,p.size),p.get(v)):-1}catch{return -1}})},c)}catch{return c.map(()=>-1)}}async function Dc(u,c){let h=u.screenshot;if(typeof h!="function"||c.length===0)return [];let p={},m=[];for(let C of c){let x=typeof C=="string"?C:C.selector;m.push(x);let b=typeof C=="string"?void 0:ZL(C.fg);b&&!(x in p)&&(p[x]=b);}let v=Array.from(new Set(m)).slice(0,xb),y=[],w=false,E=Date.now()+kb;try{await Fr(u.evaluate("if(typeof globalThis.__name==='undefined'){globalThis.__name=function(t){return t}}"),E);let C=await Fr(u.evaluate(KL,{selectors:v,maxBoxes:Ab,maxW:Db,maxH:Eb,maxArea:Cb,fgBySelector:p}),E);await Fr(ms(u,{tool:"contrast-pixels",css:JL}),E),w=!0;let x=0;for(let b of v){let _=C[b];if(!_)continue;if(Date.now()>E||x+_.boxes.length>_b)break;let D=0,T=1/0,I="",B="",R=!0;for(let $ of _.boxes){x++;let M=await Fr(h.call(u,{clip:{x:$.x,y:$.y,width:$.w,height:$.h},fullPage:!0,type:"png",animations:"disabled"}),E),H=globalThis.Buffer,ee=H?H.from(M).toString("base64"):"",N=await Fr(u.evaluate(YL,{b64:ee,fg:_.fg}),E);if(!N){R=!1;break}N.best>D&&(D=N.best,B=N.bestBg),N.worst<T&&(T=N.worst,I=N.worstBg);}R&&y.push({selector:b,fail:D<_.threshold*.97,bestRatio:D,worstRatio:T,...I?{worstBg:I}:{},...B?{bestBg:B}:{},threshold:_.threshold,fg:_.fg});}}catch(C){globalThis.process?.env?.WA_DEBUG_PIXELS&&console.error("pixel judge failed",C);}finally{if(w)try{await Promise.race([u.evaluate(()=>document.querySelectorAll('style[data-wa-injected^="contrast-pixels:"]').forEach(C=>C.remove())),new Promise(C=>setTimeout(C,1e3))]);}catch{}}return y}function eO(u){let{selectors:c,maxBoxes:h,maxW:p,maxH:m,maxArea:v,solid:y}=u,w=document.documentElement.scrollWidth,E=document.documentElement.scrollHeight,C=window.scrollX,x=window.scrollY,b={};for(let _ of c){b[_]=null;let D=null;try{D=document.querySelector(_);}catch{continue}if(!D)continue;let T=getComputedStyle(D);if(T.visibility!=="visible"||T.display==="none"||!y&&!(T.webkitBackgroundClip==="text"||T.backgroundClip==="text"))continue;let I=false,B=0;for(let P=D;P;P=P.parentElement){if(++B>64){I=true;break}let q=getComputedStyle(P);(parseFloat(q.opacity)<1||q.mixBlendMode!=="normal"||q.filter!=="none")&&(I=true);}if(I)continue;let R=parseFloat(T.fontSize),$=parseInt(T.fontWeight,10)>=700,M=R>=24||$&&R>=18.66,H=[],ee=document.createTreeWalker(D,NodeFilter.SHOW_TEXT),N,F=0,S=false;for(;!S&&(N=ee.nextNode());){if(++F>50){S=true;break}if(!(N.textContent||"").trim())continue;let P=document.createRange();P.selectNodeContents(N);let q=P.getClientRects();for(let j=0;j<q.length;j++){let W=q[j];if(!(W.width<2||W.height<2)&&(H.push({x:Math.round(W.left+C),y:Math.round(W.top+x),w:Math.max(1,Math.round(W.width)),h:Math.max(1,Math.round(W.height))}),H.length>h)){S=true;break}}}S||H.length===0||H.some(P=>P.w>p||P.h>m||P.w*P.h>v||P.x<0||P.y<0||P.x+P.w>w||P.y+P.h>E)||(b[_]={threshold:M?3:4.5,fg:T.color,boxes:H});}return b}async function tO(u){let c=async B=>{let R=atob(B),$=new Uint8Array(R.length);for(let N=0;N<R.length;N++)$[N]=R.charCodeAt(N);let M=await createImageBitmap(new Blob([$],{type:"image/png"})),H=document.createElement("canvas");H.width=M.width,H.height=M.height;let ee=H.getContext("2d",{willReadFrequently:true});return ee.drawImage(M,0,0),{w:H.width,h:H.height,d:ee.getImageData(0,0,H.width,H.height).data}},h=await c(u.painted),p=await c(u.backdrop);if(h.w!==p.w||h.h!==p.h)return null;let m=u.inverse?await c(u.inverse):null;if(m&&(m.w!==h.w||m.h!==h.h))return null;let v=u.fg?(u.fg.match(/[\d.]+/g)||[]).map(Number):null,y=B=>{let R=B/255;return R<=.03928?R/12.92:Math.pow((R+.055)/1.055,2.4)},w=(B,R,$)=>.2126*y(B)+.7152*y(R)+.0722*y($),E=h.w,C=h.h,x=new Uint8Array(E*C);for(let B=0;B<E*C;B++){let R=B*4,$=m??p;x[B]=Math.abs(h.d[R]-$.d[R])+Math.abs(h.d[R+1]-$.d[R+1])+Math.abs(h.d[R+2]-$.d[R+2])>48?1:0;}let b=u.coreRadius??2,_=[];for(let B=b;B<C-b;B++)for(let R=b;R<E-b;R++){let $=B*E+R;if(!x[$])continue;let M=true;for(let F=-b;F<=b&&M;F++)for(let S=-b;S<=b;S++)if(!x[$+F*E+S]){M=false;break}if(!M)continue;let H=$*4,ee=v&&v.length>=3?w(v[0],v[1],v[2]):w(h.d[H],h.d[H+1],h.d[H+2]),N=w(p.d[H],p.d[H+1],p.d[H+2]);_.push({ratio:(Math.max(ee,N)+.05)/(Math.min(ee,N)+.05),fg:v?`rgb(${v[0]},${v[1]},${v[2]})`:`rgb(${h.d[H]},${h.d[H+1]},${h.d[H+2]})`,bg:`rgb(${p.d[H]},${p.d[H+1]},${p.d[H+2]})`});}if(_.length<40)return null;_.sort((B,R)=>B.ratio-R.ratio);let D=_[Math.floor(_.length*.02)],T=B=>_[Math.floor(_.length*B)].ratio,I=u.threshold?_.filter(B=>B.ratio<u.threshold).length/_.length:0;return {worst:D.ratio,best:_[_.length-1].ratio,worstFg:D.fg,worstBg:D.bg,core:_.length,min:_[0].ratio,p05:T(.05),p50:T(.5),below:I}}async function rO(u,c){return Tb(u,c,false)}async function Sb(u,c){return Tb(u,c,true)}async function Tb(u,c,h){let p=u.screenshot;if(typeof p!="function"||c.length===0)return [];let m=Array.from(new Set(c)).slice(0,xb),v=[],y=false,w=Date.now()+kb;try{await Fr(u.evaluate("if(typeof globalThis.__name==='undefined'){globalThis.__name=function(t){return t}}"),w);let E=await Fr(u.evaluate(eO,{selectors:m,maxBoxes:Ab,maxW:Db,maxH:Eb,maxArea:Cb,solid:h}),w),C=(_,D)=>`[data-wa-gt="${_}"],[data-wa-gt="${_}"] *{color:${D}!important;-webkit-text-fill-color:${D}!important;text-shadow:none!important;text-decoration-color:${D}!important}`,x=h?C("1","transparent")+C("k","#000")+C("w","#fff"):"[data-wa-gt]{background-image:none!important;background-color:transparent!important}";await Fr(ms(u,{tool:"contrast-gradient-text",css:x}),w),y=!0;let b=0;for(let _ of m){let D=E[_];if(!D)continue;let T=h?3:2;if(Date.now()>w||b+D.boxes.length*T>_b)break;let I=1/0,B=0,R="",$="",M=1/0,H=1/0,ee=1/0,N=0,F=!0,S=globalThis.Buffer;for(let q of D.boxes){b+=T;let j={x:q.x,y:q.y,width:q.w,height:q.h},W=()=>Fr(p.call(u,{clip:j,fullPage:!0,type:"png",animations:"disabled"}),w),Z=L=>Fr(u.evaluate(z=>{document.querySelector(z.s)?.setAttribute("data-wa-gt",z.v);},{s:_,v:L}),w),ne,le,fe=null;try{h?(await Z("k"),ne=await W(),await Z("w"),fe=await W()):ne=await W(),await Z("1"),le=await W();}finally{await u.evaluate(L=>{document.querySelector(L)?.removeAttribute("data-wa-gt");},_).catch(()=>{});}let me=L=>S?S.from(L).toString("base64"):"",oe=await Fr(u.evaluate(tO,{painted:me(ne),backdrop:me(le),threshold:D.threshold,coreRadius:h?1:2,...fe?{inverse:me(fe),fg:D.fg}:{}}),w);if(!oe){F=!1;break}M=Math.min(M,oe.min),H=Math.min(H,oe.p05),ee=Math.min(ee,oe.p50),N=Math.max(N,oe.below),oe.worst<I&&(I=oe.worst,R=oe.worstFg,$=oe.worstBg),oe.best>B&&(B=oe.best);}if(!F||!isFinite(I))continue;let P={min:M,p02:I,p05:H,p50:ee,fractionBelow:N};v.push({selector:_,fail:I<D.threshold*.97,bestRatio:B,worstRatio:I,worstBg:$,threshold:D.threshold,fg:R,glyph:P,...h?{}:{gradientText:!0}});}}catch(E){globalThis.process?.env?.WA_DEBUG_PIXELS&&console.error("gradient text judge failed",E);}finally{if(y)try{await Promise.race([u.evaluate(()=>{document.querySelectorAll('style[data-wa-injected^="contrast-gradient-text:"]').forEach(E=>E.remove()),document.querySelectorAll("[data-wa-gt]").forEach(E=>E.removeAttribute("data-wa-gt"));}),new Promise(E=>setTimeout(E,1e3))]);}catch{}}return v}function nO(u,c){let{confidence:h,reviewReason:p,evidence:m,...v}=u;return {...v,id:u.id.replace("axe-incomplete-","axe-"),impact:"serious",message:c.gradientText?`contrast: gradient text \u2014 worst stop ${c.fg} is ${c.worstRatio.toFixed(2)}:1 on ${c.worstBg??"its backdrop"}, needs ${c.threshold}:1 (measured from the painted glyph pixels)`:`contrast: ${c.fg} text on its rendered background is at best ${c.bestRatio.toFixed(2)}:1 (measured from pixels, every background pixel behind the text fails), needs ${c.threshold}:1`}}async function Rb(u,c,h,p){let m=c.filter(M=>M.wcag!=="1.4.3"||!M.selector?false:M.source==="axe-core"?XL.has(h.get(M.id)??""):M.type==="contrast_insufficient"&&/gradient or image|gradient-clipped/.test(M.reviewReason??""));if(m.length===0)return [];let v=M=>/gradient-clipped/.test(M.reviewReason??""),y=await QL(u,m.map(M=>M.selector)),w=M=>M.source==="axe-core"?1:0,E=new Map;m.forEach((M,H)=>{if(y[H]<0)return;let ee=E.get(y[H]);(!ee||w(M)<w(ee))&&E.set(y[H],M);});let C=m.filter((M,H)=>y[H]<0||E.get(y[H])===M),x=C.filter(M=>!v(M)),b=x.map(M=>y[m.indexOf(M)]),_=new Map;m.forEach((M,H)=>{let ee=bs(M);ee&&y[H]>=0&&!_.has(y[H])&&_.set(y[H],ee);});let D=[...await Dc(u,x.map((M,H)=>({selector:M.selector,fg:bs(M)??_.get(b[H])}))),...await rO(u,C.filter(v).map(M=>M.selector))],T=new Map(D.map(M=>[M.selector,M])),I=(M,H)=>{let ee=y[H]>=0?E.get(y[H]):M,N=ee?T.get(ee.selector):void 0;return N&&N.selector!==M.selector?{...N,selector:M.selector}:N},B=m.map((M,H)=>I(M,H));if(p)for(let M of B)M&&p.set(M.selector,M);globalThis.process?.env?.WA_DEBUG_PIXELS&&console.error(`pixel judge: ${m.length} candidates, ${C.length} elements, ${D.length} measured, ${D.filter(M=>M.fail).length} fail`);let R=[],$=new Set;return m.forEach((M,H)=>{let ee=B[H];!ee||!ee.fail||$.has(M.selector)||($.add(M.selector),R.push(nO(M,ee)));}),R}var xb,Ab,_b,Db,Eb,Cb,kb,XL,JL,vs,Ec=Fe(()=>{Ar();xb=120,Ab=3,_b=120,Db=1200,Eb=300,Cb=2e5,kb=8e3,XL=new Set(["bgImage","bgGradient","bgOverlap","elmPartiallyObscured","elmPartiallyObscuring"]),JL="*,*::before,*::after{color:transparent!important;-webkit-text-fill-color:transparent!important;text-shadow:none!important;text-decoration-color:transparent!important;caret-color:transparent!important}";vs=class extends Error{};});function aO(u){u=u.replace("#",""),u.length===3&&(u=u[0]+u[0]+u[1]+u[1]+u[2]+u[2]);let c=parseInt(u,16);return [c>>16&255,c>>8&255,c&255]}function iO(u,c,h){return "#"+[u,c,h].map(p=>Math.round(p).toString(16).padStart(2,"0")).join("")}function Cc(u){let c=u/255;return c<=.03928?c/12.92:Math.pow((c+.055)/1.055,2.4)}function va(u,c,h){return .2126*Cc(u)+.7152*Cc(c)+.0722*Cc(h)}function kc(u,c){let h=Math.max(u,c),p=Math.min(u,c);return (h+.05)/(p+.05)}function tn(u){if(u.startsWith("#"))return aO(u);let c=u.match(/rgba?\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)/);return c?[parseInt(c[1]),parseInt(c[2]),parseInt(c[3])]:null}function ar(u,c){let h=tn(u),p=tn(c);return !h||!p?0:kc(va(...h),va(...p))}function ba(u,c,h=4.5){let p=tn(u),m=tn(c);if(!p||!m)return null;let v=va(...m),y=kc(va(...p),v);if(y>=h)return null;let E=va(...p)>v,C=0,x=1,b=p;for(let T=0;T<20;T++){let I=(C+x)/2,B=E?[p[0]*(1-I),p[1]*(1-I),p[2]*(1-I)]:[p[0]+(255-p[0])*I,p[1]+(255-p[1])*I,p[2]+(255-p[2])*I],R=va(B[0],B[1],B[2]);kc(R,v)>=h?(b=B,x=I):C=I;}let _=iO(b[0],b[1],b[2]),D=ar(_,c);return {currentColor:u,suggestedColor:_,currentRatio:Math.round(y*100)/100,suggestedRatio:Math.round(D*100)/100,requiredRatio:h,bgColor:c}}var Ci=Fe(()=>{});var Fb,Ib=Fe(()=>{Fb={"1.1.1-hidden-image-decorative.md":'---\nid: hidden-image-decorative\ntitle: Image hidden from assistive technology is decorative\nact: e88epe\nsc: 1.1.1\nissueType: hidden_image_not_decorative\nimpact: serious\nevidence: image\nwhere: inTree=false, rendered=true, insideNamedControl=false, cssBackground=false\nvision: true\nstatus: below-bar\nnote: Opt-in: not in the hosted scope. Live sweep 2026-11-10 (12 control sites, alibaba/qwen3.8-flash): 32 new findings, none on origin/main, mostly false positives (informative icons read as decorative). Runs only when named in `aspects`.\n---\n## Aspect\nAn image that is removed from the accessibility tree (`alt=""`, `role=none` or `role=presentation`, `aria-hidden=true`, or an `svg` / `canvas` with no role and no name) must be purely decorative: it conveys no information a user needs (WCAG 1.1.1 Non-text Content, decoration exception).\n\n## Applicability\nEach candidate is a rendered `img`, `svg`, `canvas` or `role=img` element that is NOT in the accessibility tree. Images inside a link or button named by its own `aria-label`, and CSS background images, are not candidates (filtered before the call).\n- "inapplicable" when the crop is blank (an empty canvas, a failed load).\n\n## Evidence\n- crop: the rendered pixels.\n- `alt`, `role`, `ariaHidden`: how it was hidden.\n- `nearbyText`: text next to it on the page.\n\n## Decision\n- "passed" when the picture is decoration: ornament, mood photography or illustration that repeats nothing the page needs, a shape or pattern, or a picture whose information is already given in adjacent text (e.g. fireworks next to "Happy new year!").\n- "failed" when the picture conveys information: a logo, rendered text or words, a chart, a labelled diagram, an identifiable product or person the page refers to, or a picture that a nearby caption introduces ("Best W3C logo:").\n- An image that shows text (for example a canvas that draws a phrase) is "failed": the text is information.\n',"1.1.1-image-name-descriptive.md":`---
437
437
  id: image-name-descriptive
438
438
  title: Image accessible name describes the image
439
439
  act: qt1vmo
@@ -829,6 +829,8 @@ impact: moderate
829
829
  evidence: heading
830
830
  where: linkTitle=false
831
831
  vision: false
832
+ status: below-bar
833
+ note: Opt-in (Sid, 2026-11-11). Live sweep 2026-11-10/11 (16 control sites, alibaba/qwen3.8-flash, 3 runs): new weak_heading findings on 5 sites, mostly false positives (slogans, sr-only headings, card titles). Runs only when named in \`aspects\` or \`judge.rubrics\`.
832
834
  ---
833
835
  ## Aspect
834
836
  A heading must describe the topic or purpose of the content it introduces (WCAG 2.4.6 Headings and Labels).
@@ -989,7 +991,7 @@ Respond with ONLY a JSON array, one object per candidate, same ids:
989
991
  ${u.evidence==="finding"?`Add "fix" only to a "failed" verdict, and only as the rubric's Fix section says; leave it out otherwise.
990
992
  `:""}
991
993
  # Rubric: ${u.title}
992
- ${u.body}`}function ya(u){let c=u;if(typeof u=="string"){let p=u.replace(/```json\s*/gi,"").replace(/```/g,"").trim();c=void 0;for(let m of [p,p.match(/\[[\s\S]*\]/)?.[0],p.match(/\{[\s\S]*\}/)?.[0]])if(m)try{c=JSON.parse(m);break}catch{}}if(c&&typeof c=="object"&&!Array.isArray(c)){let p=c,m=Object.values(p).find(v=>Array.isArray(v));c=typeof p.id=="string"?[p]:m;}if(!Array.isArray(c))return null;let h=[];for(let p of c){if(!p||typeof p!="object")continue;let{id:m,verdict:v,reason:y,fix:w}=p;if(typeof m!="string"||!["passed","failed","inapplicable","cantTell"].includes(v))continue;let E=w&&typeof w=="object"?w:null,C=v==="failed"&&E&&typeof E.attribute=="string"&&typeof E.value=="string"&&E.attribute&&E.value;h.push({id:m,verdict:v,reason:typeof y=="string"?y:"",...C?{fix:{attribute:E.attribute,value:E.value}}:{}});}return h}function wa(u){let c=0xcbf29ce484222325n;for(let h of new TextEncoder().encode(Nn(u)))c=BigInt.asUintN(64,(c^BigInt(h))*0x100000001b3n);return c.toString(16).padStart(16,"0")}var Tc=Fe(()=>{});function hO(){Ti.clear();}function gO(u){let c=0;for(let h=0;h<u.length;h++)c=(c<<5)-c+u.charCodeAt(h)|0;return Math.abs(c).toString(36)}function vO(u){let{selectors:c,maxHtml:h}=u,p={elements:{}},m=[],v=B=>/\(\s*prefers-reduced-motion\s*(:\s*reduce\s*)?\)/i.test(B)&&!/^\s*not\b/i.test(B),y=B=>{let F=B.split(",").map($=>$.trim()).filter(Boolean);return F.length?F.every($=>{let M=$.match(/^(-?[\d.]+)(ms|s)$/i);return M?parseFloat(M[1])*(M[2].toLowerCase()==="s"?1e3:1)<=10:false}):false},w=(B,F,$)=>{if(!($>8))for(let M of Array.from(B)){let H=M.media?.mediaText,ee=F||typeof H=="string"&&v(H),N=M.style,R=M.selectorText;if(ee&&N&&typeof R=="string"){let q=N.getPropertyValue("animation-name").trim(),j=/^none(\s*,\s*none)*$/i.test(q)||y(N.getPropertyValue("animation-duration"))||/^paused/i.test(N.getPropertyValue("animation-play-state").trim()),W=/^none(\s*,\s*none)*$/i.test(N.getPropertyValue("transition-property").trim())||y(N.getPropertyValue("transition-duration"));(j||W)&&m.push({selector:R,anim:j,trans:W});}let S=M.cssRules;S&&S.length&&w(S,ee,$+1);let P=M.styleSheet;if(P)try{w(P.cssRules,ee||v(M.media?.mediaText||""),$+1);}catch{}}};try{for(let B of Array.from(document.styleSheets))try{w(B.cssRules,v(B.media?.mediaText||""),0);}catch{}}catch{}let E=(B,F)=>{try{return B.matches(F)}catch{return false}},C=B=>B.split(",").map(F=>{let $=F.trim().match(/^(-?[\d.]+)(ms|s)$/i);return $?parseFloat($[1])*($[2].toLowerCase()==="s"?1e3:1):0}),x=B=>{let F=B.cloneNode(true);F.querySelectorAll("script, style").forEach(M=>M.remove());let $=(F.textContent||"").replace(/\s+/g," ").trim();if(!$){for(let M of Array.from(B.querySelectorAll("img[alt], [aria-label]")))if($=(M.getAttribute("alt")||M.getAttribute("aria-label")||"").trim(),$)break}return $},b=B=>{let F=(B.getAttribute("aria-label")||"").trim();if(F)return F;let M=(B.getAttribute("aria-labelledby")||"").split(/\s+/).filter(Boolean).map(N=>{let R=document.getElementById(N);return R?(R.textContent||"").replace(/\s+/g," ").trim():""}).filter(Boolean).join(" ");if(M)return M;let H=x(B);if(H)return H;let ee=B instanceof HTMLInputElement&&/^(submit|button|reset|image)$/i.test(B.type)?(B.value||B.alt||"").trim():"";return ee||(B.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"])',D=window.scrollX||0,T=window.scrollY||0,I=[];for(let B of c){let F=null;try{F=document.querySelector(B);}catch{}if(!F){p.elements[B]={found:false};continue}let $=I.indexOf(F);$<0&&($=I.push(F)-1);let M=getComputedStyle(F),H=F.getBoundingClientRect(),ee=F.tagName.toLowerCase(),N={found:true,elementKey:$,tag:ee,html:(F.outerHTML||"").slice(0,h),rect:{x:H.left+D,y:H.top+T,w:H.width,h:H.height},role:(F.getAttribute("role")||"").toLowerCase(),ariaHidden:F.getAttribute("aria-hidden")==="true"||!!F.closest('[aria-hidden="true"]'),hidden:M.display==="none"||M.visibility==="hidden"||!!F.closest("[hidden]"),cssBackgroundImage:/url\(/i.test(M.backgroundImage||""),reducedMotionHandled:false,nearText:"",fg:M.color,bg:M.backgroundColor,fontSize:parseFloat(M.fontSize)||0,fontWeight:parseInt(M.fontWeight,10)||400};if(ee==="img"){let W=F;N.img={src:(W.currentSrc||W.getAttribute("src")||"").slice(0,300),alt:W.getAttribute("alt"),naturalW:W.naturalWidth||0,naturalH:W.naturalHeight||0,attrW:parseInt(W.getAttribute("width")||"0",10)||0,attrH:parseInt(W.getAttribute("height")||"0",10)||0};}if(N.cssBackgroundImage){let W=F.closest(_);W&&(N.control={tag:W.tagName.toLowerCase(),name:b(W).slice(0,120)});}if(!/^(img|video|canvas|iframe|object|embed|svg)$/.test(ee)){let W=M.animationName.split(",").some(me=>me.trim()&&me.trim()!=="none")&&C(M.animationDuration).some(me=>me>10),Z=C(M.transitionDuration).some(me=>me>10)&&M.transitionProperty.trim()!=="none",ne=m.filter(me=>E(F,me.selector)),le=!W||ne.some(me=>me.anim),fe=!Z||ne.some(me=>me.trans);N.reducedMotionHandled=(W||Z)&&le&&fe;}let R=F.closest('a[href], button, [role="button"], [role="link"]');if(R&&R!==F){let W=R.cloneNode(true);W.querySelectorAll("img, svg").forEach(le=>le.remove());let Z=(W.textContent||"").replace(/\s+/g," ").trim(),ne=(R.getAttribute("aria-label")||"").trim();N.parentInteractive={tag:R.tagName.toLowerCase(),text:(Z||ne).slice(0,120)};}let S=W=>{let Z=W.cloneNode(true);return Z.querySelectorAll("script, style").forEach(ne=>ne.remove()),(Z.textContent||"").replace(/\s+/g," ").trim()},P=F.matches('a[href], [role="link"]'),q=S(F),j=F.parentElement;if(P&&(j=F.closest("p, li, td, th, dd, dt, figcaption, blockquote")||F.parentElement),j){let W=S(j),Z=P&&q?W.indexOf(q):-1,ne=Z>120?Z-120:0;N.nearText=(ne?"\u2026":"")+W.slice(ne,ne+240);}p.elements[B]=N;}return p}function bO(u,c){let h=(u.type||"").toLowerCase(),p=u.wcag||"";return h==="decorative_image_with_title"?"generic":p==="1.1.1"&&(c?.tag==="img"||/alt|image/.test(h))?"alt":p==="1.4.3"||p==="1.4.6"||h==="color-contrast"||h==="contrast_insufficient"||h==="contrast_enhanced"?"contrast":p==="2.2.2"||p==="2.3.3"||/motion|animation|reduced_motion/.test(h)?"motion":"generic"}function Lc(u){return !!u&&u.tag!=="img"&&u.cssBackgroundImage&&!u.img}function Oc(u){let c=String(u??"").replace(/\s+/g," ").replace(yO,"judged").trim();if(c.length<=Rc)return c;let h=c.slice(0,Rc-1),p=h.lastIndexOf(" ");return (p>Rc/2?h.slice(0,p):h).replace(/[\s,;:–—-]+$/,"")+"\u2026"}function wO(u){let c=String(u??"").replace(/\s+/g," ").trim();if(c=c.replace(/^(an?\s+|the\s+)?(image|picture|photo|photograph|graphic|icon|illustration|screenshot)\s+(of|showing|depicting)(\s+|$)(an?\s+|the\s+)?/i,""),c=c.replace(/^["'“”]+|["'“”]+$/g,"").trim(),c.length>Ob){c=c.slice(0,Ob);let h=c.lastIndexOf(" ");h>60&&(c=c.slice(0,h)),c=c.replace(/[\s,;:–—-]+$/,"");}return c&&(c=c[0].toUpperCase()+c.slice(1)),c}function xa(u){let c=u.match(/\d+(\.\d+)?/g);return !c||c.length<3?u:"#"+c.slice(0,3).map(h=>Math.round(Number(h)).toString(16).padStart(2,"0")).join("")}function xO(u){let c=String(u??"").trim().match(Vb);return c?"#"+c[1].toLowerCase():null}function AO(u){let{confidence:c,reviewReason:h,evidence:p,...m}=u;return {...m,id:u.id.replace("axe-incomplete-","axe-")}}function _O(u){let c=u;if(typeof u=="string"){let m=u.replace(/```json\s*/gi,"").replace(/```/g,"").match(/\[[\s\S]*\]/);if(!m)return null;try{c=JSON.parse(m[0]);}catch{return null}}else u&&typeof u=="object"&&Array.isArray(u.verdicts)&&(c=u.verdicts);if(!Array.isArray(c))return null;let h=[];for(let p of c){if(!p||typeof p!="object")continue;let{id:m,verdict:v,reason:y,fix:w}=p;if(typeof m!="string"||v!=="pass"&&v!=="violation")continue;let E=w&&typeof w=="object"?w:void 0;h.push({id:m,verdict:v,reason:typeof y=="string"?y:void 0,fix:E?{attribute:typeof E.attribute=="string"?E.attribute:void 0,value:typeof E.value=="string"?E.value:void 0}:void 0});}return h}function DO(u){let c=ya(u);if(!c)return null;let h=[];for(let p of c)p.verdict!=="cantTell"&&h.push({id:p.id,verdict:p.verdict==="failed"?"violation":"pass",reason:p.reason||void 0,...p.fix?{fix:p.fix}:{}});return h}function EO(u){let c=u.items.map(({screenshot:h,...p})=>({...p,...h?{screenshot:"attached (crop, same order)"}:u.vision?{screenshot:"no image attached for this item: judge it from the markup and context only"}:{}}));return u.system?`Page: ${u.url}
994
+ ${u.body}`}function ya(u){let c=u;if(typeof u=="string"){let p=u.replace(/```json\s*/gi,"").replace(/```/g,"").trim();c=void 0;for(let m of [p,p.match(/\[[\s\S]*\]/)?.[0],p.match(/\{[\s\S]*\}/)?.[0]])if(m)try{c=JSON.parse(m);break}catch{}}if(c&&typeof c=="object"&&!Array.isArray(c)){let p=c,m=Object.values(p).find(v=>Array.isArray(v));c=typeof p.id=="string"?[p]:m;}if(!Array.isArray(c))return null;let h=[];for(let p of c){if(!p||typeof p!="object")continue;let{id:m,verdict:v,reason:y,fix:w}=p;if(typeof m!="string"||!["passed","failed","inapplicable","cantTell"].includes(v))continue;let E=w&&typeof w=="object"?w:null,C=v==="failed"&&E&&typeof E.attribute=="string"&&typeof E.value=="string"&&E.attribute&&E.value;h.push({id:m,verdict:v,reason:typeof y=="string"?y:"",...C?{fix:{attribute:E.attribute,value:E.value}}:{}});}return h}function wa(u){let c=0xcbf29ce484222325n;for(let h of new TextEncoder().encode(Nn(u)))c=BigInt.asUintN(64,(c^BigInt(h))*0x100000001b3n);return c.toString(16).padStart(16,"0")}var Tc=Fe(()=>{});function hO(){Ti.clear();}function gO(u){let c=0;for(let h=0;h<u.length;h++)c=(c<<5)-c+u.charCodeAt(h)|0;return Math.abs(c).toString(36)}function vO(u){let{selectors:c,maxHtml:h}=u,p={elements:{}},m=[],v=B=>/\(\s*prefers-reduced-motion\s*(:\s*reduce\s*)?\)/i.test(B)&&!/^\s*not\b/i.test(B),y=B=>{let R=B.split(",").map($=>$.trim()).filter(Boolean);return R.length?R.every($=>{let M=$.match(/^(-?[\d.]+)(ms|s)$/i);return M?parseFloat(M[1])*(M[2].toLowerCase()==="s"?1e3:1)<=10:false}):false},w=(B,R,$)=>{if(!($>8))for(let M of Array.from(B)){let H=M.media?.mediaText,ee=R||typeof H=="string"&&v(H),N=M.style,F=M.selectorText;if(ee&&N&&typeof F=="string"){let q=N.getPropertyValue("animation-name").trim(),j=/^none(\s*,\s*none)*$/i.test(q)||y(N.getPropertyValue("animation-duration"))||/^paused/i.test(N.getPropertyValue("animation-play-state").trim()),W=/^none(\s*,\s*none)*$/i.test(N.getPropertyValue("transition-property").trim())||y(N.getPropertyValue("transition-duration"));(j||W)&&m.push({selector:F,anim:j,trans:W});}let S=M.cssRules;S&&S.length&&w(S,ee,$+1);let P=M.styleSheet;if(P)try{w(P.cssRules,ee||v(M.media?.mediaText||""),$+1);}catch{}}};try{for(let B of Array.from(document.styleSheets))try{w(B.cssRules,v(B.media?.mediaText||""),0);}catch{}}catch{}let E=(B,R)=>{try{return B.matches(R)}catch{return false}},C=B=>B.split(",").map(R=>{let $=R.trim().match(/^(-?[\d.]+)(ms|s)$/i);return $?parseFloat($[1])*($[2].toLowerCase()==="s"?1e3:1):0}),x=B=>{let R=B.cloneNode(true);R.querySelectorAll("script, style").forEach(M=>M.remove());let $=(R.textContent||"").replace(/\s+/g," ").trim();if(!$){for(let M of Array.from(B.querySelectorAll("img[alt], [aria-label]")))if($=(M.getAttribute("alt")||M.getAttribute("aria-label")||"").trim(),$)break}return $},b=B=>{let R=(B.getAttribute("aria-label")||"").trim();if(R)return R;let M=(B.getAttribute("aria-labelledby")||"").split(/\s+/).filter(Boolean).map(N=>{let F=document.getElementById(N);return F?(F.textContent||"").replace(/\s+/g," ").trim():""}).filter(Boolean).join(" ");if(M)return M;let H=x(B);if(H)return H;let ee=B instanceof HTMLInputElement&&/^(submit|button|reset|image)$/i.test(B.type)?(B.value||B.alt||"").trim():"";return ee||(B.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"])',D=window.scrollX||0,T=window.scrollY||0,I=[];for(let B of c){let R=null;try{R=document.querySelector(B);}catch{}if(!R){p.elements[B]={found:false};continue}let $=I.indexOf(R);$<0&&($=I.push(R)-1);let M=getComputedStyle(R),H=R.getBoundingClientRect(),ee=R.tagName.toLowerCase(),N={found:true,elementKey:$,tag:ee,html:(R.outerHTML||"").slice(0,h),rect:{x:H.left+D,y:H.top+T,w:H.width,h:H.height},role:(R.getAttribute("role")||"").toLowerCase(),ariaHidden:R.getAttribute("aria-hidden")==="true"||!!R.closest('[aria-hidden="true"]'),hidden:M.display==="none"||M.visibility==="hidden"||!!R.closest("[hidden]"),cssBackgroundImage:/url\(/i.test(M.backgroundImage||""),reducedMotionHandled:false,nearText:"",fg:M.color,bg:M.backgroundColor,fontSize:parseFloat(M.fontSize)||0,fontWeight:parseInt(M.fontWeight,10)||400};if(ee==="img"){let W=R;N.img={src:(W.currentSrc||W.getAttribute("src")||"").slice(0,300),alt:W.getAttribute("alt"),naturalW:W.naturalWidth||0,naturalH:W.naturalHeight||0,attrW:parseInt(W.getAttribute("width")||"0",10)||0,attrH:parseInt(W.getAttribute("height")||"0",10)||0};}if(N.cssBackgroundImage){let W=R.closest(_);W&&(N.control={tag:W.tagName.toLowerCase(),name:b(W).slice(0,120)});}if(!/^(img|video|canvas|iframe|object|embed|svg)$/.test(ee)){let W=M.animationName.split(",").some(me=>me.trim()&&me.trim()!=="none")&&C(M.animationDuration).some(me=>me>10),Z=C(M.transitionDuration).some(me=>me>10)&&M.transitionProperty.trim()!=="none",ne=m.filter(me=>E(R,me.selector)),le=!W||ne.some(me=>me.anim),fe=!Z||ne.some(me=>me.trans);N.reducedMotionHandled=(W||Z)&&le&&fe;}let F=R.closest('a[href], button, [role="button"], [role="link"]');if(F&&F!==R){let W=F.cloneNode(true);W.querySelectorAll("img, svg").forEach(le=>le.remove());let Z=(W.textContent||"").replace(/\s+/g," ").trim(),ne=(F.getAttribute("aria-label")||"").trim();N.parentInteractive={tag:F.tagName.toLowerCase(),text:(Z||ne).slice(0,120)};}let S=W=>{let Z=W.cloneNode(true);return Z.querySelectorAll("script, style").forEach(ne=>ne.remove()),(Z.textContent||"").replace(/\s+/g," ").trim()},P=R.matches('a[href], [role="link"]'),q=S(R),j=R.parentElement;if(P&&(j=R.closest("p, li, td, th, dd, dt, figcaption, blockquote")||R.parentElement),j){let W=S(j),Z=P&&q?W.indexOf(q):-1,ne=Z>120?Z-120:0;N.nearText=(ne?"\u2026":"")+W.slice(ne,ne+240);}p.elements[B]=N;}return p}function bO(u,c){let h=(u.type||"").toLowerCase(),p=u.wcag||"";return h==="decorative_image_with_title"?"generic":p==="1.1.1"&&(c?.tag==="img"||/alt|image/.test(h))?"alt":p==="1.4.3"||p==="1.4.6"||h==="color-contrast"||h==="contrast_insufficient"||h==="contrast_enhanced"?"contrast":p==="2.2.2"||p==="2.3.3"||/motion|animation|reduced_motion/.test(h)?"motion":"generic"}function Lc(u){return !!u&&u.tag!=="img"&&u.cssBackgroundImage&&!u.img}function Oc(u){let c=String(u??"").replace(/\s+/g," ").replace(yO,"judged").trim();if(c.length<=Rc)return c;let h=c.slice(0,Rc-1),p=h.lastIndexOf(" ");return (p>Rc/2?h.slice(0,p):h).replace(/[\s,;:–—-]+$/,"")+"\u2026"}function wO(u){let c=String(u??"").replace(/\s+/g," ").trim();if(c=c.replace(/^(an?\s+|the\s+)?(image|picture|photo|photograph|graphic|icon|illustration|screenshot)\s+(of|showing|depicting)(\s+|$)(an?\s+|the\s+)?/i,""),c=c.replace(/^["'“”]+|["'“”]+$/g,"").trim(),c.length>Ob){c=c.slice(0,Ob);let h=c.lastIndexOf(" ");h>60&&(c=c.slice(0,h)),c=c.replace(/[\s,;:–—-]+$/,"");}return c&&(c=c[0].toUpperCase()+c.slice(1)),c}function xa(u){let c=u.match(/\d+(\.\d+)?/g);return !c||c.length<3?u:"#"+c.slice(0,3).map(h=>Math.round(Number(h)).toString(16).padStart(2,"0")).join("")}function xO(u){let c=String(u??"").trim().match(Vb);return c?"#"+c[1].toLowerCase():null}function AO(u){let{confidence:c,reviewReason:h,evidence:p,...m}=u;return {...m,id:u.id.replace("axe-incomplete-","axe-")}}function _O(u){let c=u;if(typeof u=="string"){let m=u.replace(/```json\s*/gi,"").replace(/```/g,"").match(/\[[\s\S]*\]/);if(!m)return null;try{c=JSON.parse(m[0]);}catch{return null}}else u&&typeof u=="object"&&Array.isArray(u.verdicts)&&(c=u.verdicts);if(!Array.isArray(c))return null;let h=[];for(let p of c){if(!p||typeof p!="object")continue;let{id:m,verdict:v,reason:y,fix:w}=p;if(typeof m!="string"||v!=="pass"&&v!=="violation")continue;let E=w&&typeof w=="object"?w:void 0;h.push({id:m,verdict:v,reason:typeof y=="string"?y:void 0,fix:E?{attribute:typeof E.attribute=="string"?E.attribute:void 0,value:typeof E.value=="string"?E.value:void 0}:void 0});}return h}function DO(u){let c=ya(u);if(!c)return null;let h=[];for(let p of c)p.verdict!=="cantTell"&&h.push({id:p.id,verdict:p.verdict==="failed"?"violation":"pass",reason:p.reason||void 0,...p.fix?{fix:p.fix}:{}});return h}function EO(u){let c=u.items.map(({screenshot:h,...p})=>({...p,...h?{screenshot:"attached (crop, same order)"}:u.vision?{screenshot:"no image attached for this item: judge it from the markup and context only"}:{}}));return u.system?`Page: ${u.url}
993
995
  ${u.page?`Page evidence:
994
996
  ${JSON.stringify(u.page,null,1)}
995
997
  `:""}
@@ -998,7 +1000,7 @@ ${JSON.stringify(c,null,1)}`:`Page: ${u.url}
998
1000
  Conformance level: ${u.level}
999
1001
 
1000
1002
  Findings:
1001
- ${JSON.stringify(c,null,1)}`}function jb(u,c={}){let h=u.vision&&u.items.some(v=>v.screenshot),p=h?c.visionModel||exports.DEFAULT_JUDGE_VISION_MODEL:c.textModel||exports.DEFAULT_JUDGE_TEXT_MODEL,m=[{type:"text",text:EO(u)}];if(h)for(let v of u.items)v.screenshot&&(m.push({type:"text",text:`Crop for ${v.id}:`}),m.push({type:"image_url",image_url:{url:`data:image/png;base64,${v.screenshot}`}}));return {model:p,temperature:0,max_tokens:4096,...c.disableTextModelReasoning&&(p===exports.DEFAULT_JUDGE_TEXT_MODEL||p===exports.DEFAULT_JUDGE_VISION_MODEL||u.system)?{reasoning:{enabled:false}}:{},messages:[{role:"system",content:u.system||exports.JUDGE_SYSTEM_PROMPT},{role:"user",content:m}]}}function ys(u){let c=(u.baseUrl||exports.DEFAULT_JUDGE_BASE_URL).replace(/\/+$/,""),h=false;try{let p=new URL(c).hostname;h=p==="openrouter.ai"||p.endsWith(".openrouter.ai")||p==="ai-gateway.vercel.sh";}catch{}return async(p,m)=>{let v=await fetch(`${c}/chat/completions`,{method:"POST",signal:m,headers:{"Content-Type":"application/json",Authorization:`Bearer ${u.apiKey}`,"HTTP-Referer":"https://webability.io","X-Title":"WebAbility scanner judge"},body:JSON.stringify(jb(p,{visionModel:u.visionModel,textModel:u.textModel,disableTextModelReasoning:h}))});if(!v.ok)throw new xn(`judge model HTTP ${v.status}`);let w=(await v.json()).choices?.[0]?.message?.content;if(typeof w=="string")return w;if(Array.isArray(w))return w.map(E=>typeof E?.text=="string"?E.text:"").join("");throw new Error("judge model returned no content")}}function ws(u){let c=u.apiUrl.replace(/\/+$/,"");return async(h,p)=>{let m=await fetch(`${c}/api/judge-incomplete`,{method:"POST",signal:p,redirect:"manual",headers:{"Content-Type":"application/json",...u.token?{Authorization:`Bearer ${u.token}`}:{},...u.internalSecret?{"x-mcp-internal":u.internalSecret}:{}},body:JSON.stringify(h.rubric?{...h,system:void 0}:h)});if(m.status>=300&&m.status<400)throw new xn(`judge endpoint redirected (HTTP ${m.status}); not followed`);if(!m.ok)throw new xn(`judge endpoint HTTP ${m.status}`);return m.json()}}function CO(u){return u.transport?u.transport:u.apiKey?ys({apiKey:u.apiKey,baseUrl:u.baseUrl,visionModel:u.visionModel,textModel:u.textModel}):u.apiUrl?ws({apiUrl:u.apiUrl,token:u.apiToken,internalSecret:u.internalSecret}):null}function Nc(u){return u.maxCropChars??(!u.transport&&!u.apiKey&&u.apiUrl?pO:void 0)}async function qc(u,c,h){let p={promoted:[],judged:[]},m=CO(h);if(c.length===0)return p;let v=h.level??"AA",y=h.timeoutMs??exports.JUDGE_DEFAULT_TIMEOUT_MS,w=Date.now()+y,E=jr([...c],v);if(E.length===0)return p;let C=new Map;for(let L of E){let z=`${L.selector}|${Mc(L)}`,K=C.get(z);K?K.members.push(L):C.set(z,{key:z,members:[L],rep:L,ctx:void 0,kind:"generic"});}let x={elements:{}};if(u)try{await u.evaluate("if(typeof globalThis.__name==='undefined'){globalThis.__name=function(t){return t}}"),x=await u.evaluate(vO,{selectors:[...C.keys()].map(L=>C.get(L).rep.selector),maxHtml:Lb});}catch{}for(let L of C.values())L.ctx=x.elements[L.rep.selector],L.ctx&&!L.ctx.found&&(L.ctx=void 0),L.kind=bO(L.rep,L.ctx);let b=new Map;for(let[L,z]of [...C]){if(!z.ctx)continue;let K=`${z.ctx.elementKey}|${Mc(z.rep)}`,J=b.get(K);if(!J){b.set(K,z);continue}J.members.push(...z.members),C.delete(L);}let _={promoted:[],judged:[]},D=(L,z)=>{for(let K of L.members){if(z.verdict==="violation"){let J=SO(K,L,z);if(!J)continue;_.promoted.push(J);}_.judged.push({id:K.id.replace("axe-incomplete-","axe-"),type:K.type,verdict:z.verdict,reason:z.reason});}},T=[...C.values()].filter(L=>L.kind==="contrast");if(T.length&&u){for(let K of T)K.pixels=h.measured?.get(K.rep.selector);let L=T.filter(K=>!K.pixels).map(K=>({selector:K.rep.selector,fg:bs(K.rep)}));if(L.length)try{for(let K of await Dc(u,L))for(let J of T)J.rep.selector===K.selector&&(J.pixels=K);}catch{}let z=T.filter(K=>K.pixels&&!K.pixels.glyph&&K.pixels.worstRatio<Ri(K.rep,K.pixels.threshold)&&K.pixels.bestRatio>=Ri(K.rep,K.pixels.threshold)*.97);if(z.length)try{for(let K of await Sb(u,z.map(J=>J.rep.selector)))for(let J of z)J.rep.selector===K.selector&&K.glyph&&(J.pixels={...J.pixels,glyph:K.glyph});}catch{}}let I=[];for(let L of C.values()){let z=m?Ti.get(Nb(h.url,L.rep,L.ctx?.html??L.rep.html??"")):void 0;if(z){D(L,z);continue}let K=kO(L);if(K!=="drop"){if(K){D(L,K);continue}I.push(L);}}if(I.length===0||!m)return _;let B=h.vision!==false&&!!u&&typeof u.screenshot=="function",F=new Map,$=new Set,M=0,H=Nc(h),ee=L=>({id:L.rep.id,type:L.rep.type,wcag:L.rep.wcag,message:L.rep.message,selector:L.rep.selector,html:(L.ctx?.html??L.rep.html??"").slice(0,Lb),context:$.has(L.key)?{...qb(L),cropNote:"no image attached: the crop was too large to send"}:qb(L),...F.has(L.key)?{screenshot:F.get(L.key)}:{}}),N=new Map;for(let L of I){let z=Pb({type:L.rep.type,evidence:L.members.find(J=>J.evidence)?.evidence}),K=z?.id??"";N.has(K)||N.set(K,{rubric:z,groups:[]}),N.get(K).groups.push(L);}let R=B?cO:uO,S=[],P=[...N.values()].sort((L,z)=>+!!L.rubric-+!!z.rubric);for(let L of P)for(let z=0;z<L.groups.length;z+=R)S.push({rubric:L.rubric,groups:L.groups.slice(z,z+R)});let q=Promise.resolve(),j=L=>{let z=q.then(async()=>{for(let K of L){if(M>=dO||Date.now()>w)break;let J=await Bc(u,K.ctx,H);J&&(M++,J.data?F.set(K.key,J.data):$.add(K.key));}});return q=z.catch(()=>{}),z},W=new Set,Z=new AbortController,ne=w-Date.now();if(ne<=0)return _;let le=setTimeout(()=>Z.abort(),ne),fe=false,me=[...S],oe=async({rubric:L,groups:z})=>{let K=new Map(z.map(be=>[be.rep.id,be])),J=null,Y=false,ie=Date.now();try{let be=await Promise.race([m({url:h.url,level:v,vision:B,items:z.map(ee),...L?{system:Nn(L),rubric:{id:L.id,hash:wa(L)}}:{}},Z.signal),new Promise((Pe,Re)=>Z.signal.addEventListener("abort",()=>Re(new Error("judge deadline"))))]);J=L?DO(be):_O(be),Pc()&&console.error(`ai judge: batch ${z.length} items, ${z.filter(Pe=>F.has(Pe.key)).length} crops, ${Date.now()-ie}ms, ${J?J.length+" verdicts":"MALFORMED: "+String(be).slice(0,200)}`);}catch(be){Pc()&&console.error(`ai judge: batch ${z.length} items failed after ${Date.now()-ie}ms: ${be.message}`),J=null,Y=be instanceof xn;}if(!J){Y&&L?W.add(L.id):Y&&(fe=true);return}for(let be of J){let Pe=K.get(be.id);if(!Pe)continue;K.delete(be.id);let Re={verdict:be.verdict,reason:Oc(be.reason),fix:be.fix};Ti.size>=mO&&Ti.clear(),Ti.set(Nb(h.url,Pe.rep,Pe.ctx?.html??Pe.rep.html??""),Re),D(Pe,Re);}};try{await Promise.all(Array.from({length:Math.min(fO,me.length)},async()=>{for(let L=me.shift();L;L=me.shift()){if(fe||Z.signal.aborted)return;if(!(L.rubric&&W.has(L.rubric.id))){if(B&&await j(L.groups),fe||Z.signal.aborted||Date.now()>w)return;await oe(L);}}}));}finally{clearTimeout(le);}return _}function kO(u){let c=u.ctx;if(u.rep.type==="non_text_contrast_insufficient"&&u.members.every(h=>h.evidence?.glyphOnOwnFillMeets3to1===true))return {verdict:"pass",reason:"measured: the icon meets 3:1 against the control's own fill"};if(u.kind==="alt"){if(c?.role==="presentation"||c?.role==="none")return {verdict:"pass",reason:"declared decorative (role=presentation)"};if(c?.ariaHidden)return {verdict:"pass",reason:"hidden from assistive technology (aria-hidden)"};if(c?.img){let{attrW:h,attrH:p,naturalW:m,naturalH:v}=c.img;if(h>0&&h<=1&&p>0&&p<=1||m>0&&m<=1&&v>0&&v<=1)return {verdict:"pass",reason:"1x1 tracking/spacer pixel"}}return c&&Lc(c)?c.control?c.control.name?{verdict:"pass",reason:`${c.control.tag} is named ("${c.control.name.slice(0,40)}"); the background image needs no text`}:null:{verdict:"pass",reason:"CSS background image on a non-interactive element; decorative"}:c?.parentInteractive?.text?{verdict:"pass",reason:`${c.parentInteractive.tag} is named by its visible link text ("${c.parentInteractive.text.slice(0,40)}"); alt may be empty`}:null}if(u.kind==="motion")return c?.reducedMotionHandled?{verdict:"pass",reason:"a prefers-reduced-motion: reduce rule stops this element's animation"}:null;if(u.kind==="contrast"){if(!u.pixels)return "drop";let h=Ri(u.rep,u.pixels.threshold),p=u.pixels.glyph;return p&&p.p02>=h?{verdict:"pass",reason:`measured ${p.p02.toFixed(2)}:1 at the 2nd-percentile glyph pixel, meets ${h}:1`}:p&&p.p02<h*.97?{verdict:"violation",reason:`measured ${p.p02.toFixed(2)}:1 at the 2nd-percentile glyph pixel (${Math.round(p.fractionBelow*100)}% of glyph pixels below ${h}:1)`}:u.pixels.worstRatio>=h?{verdict:"pass",reason:`measured ${u.pixels.worstRatio.toFixed(2)}:1 at worst behind the text, meets ${h}:1`}:u.pixels.bestRatio<h*.97?{verdict:"violation",reason:`measured ${u.pixels.bestRatio.toFixed(2)}:1 at best behind the text, below ${h}:1 everywhere`}:null}return null}function qb(u){let c=u.ctx,h={};u.rep.reviewReason&&(h.engineNote=u.rep.reviewReason);for(let p of u.members)if(p.evidence)for(let[m,v]of Object.entries(p.evidence))m in h||(h[m]=v);if(!c)return h;if(h.tag=c.tag,c.nearText&&(h.nearbyText=c.nearText),c.parentInteractive&&(h.parentControl=c.parentInteractive),u.kind==="alt"&&Lc(c)&&c.control&&(h.control={tag:c.control.tag,accessibleName:c.control.name}),u.kind==="alt"&&c.img&&(h.image={src:c.img.src,alt:c.img.alt,width:c.img.naturalW||c.img.attrW||c.rect.w,height:c.img.naturalH||c.img.attrH||c.rect.h}),u.kind==="contrast"&&u.pixels){h.fg=xa(u.pixels.fg),h.threshold=Ri(u.rep,u.pixels.threshold),h.bestRatio=qn(u.pixels.bestRatio),h.worstRatio=qn(u.pixels.worstRatio);let p=u.pixels.glyph;p&&Object.assign(h,{glyphMinRatio:qn(p.min),glyphP02Ratio:qn(p.p02),glyphP05Ratio:qn(p.p05),glyphMedianRatio:qn(p.p50),glyphFractionBelow:qn(p.fractionBelow)}),h.fontSize=c.fontSize,h.fontWeight=c.fontWeight;}return u.kind==="generic"&&(h.fg=xa(c.fg),h.bg=xa(c.bg),h.size={w:Math.round(c.rect.w),h:Math.round(c.rect.h)}),h}function Ri(u,c){return u.wcag==="1.4.6"||u.type==="contrast_enhanced"?c===3?4.5:7:c}function SO(u,c,h){let p=AO(u);if(c.kind==="alt"){let v=wO(h.fix?.value);return v?Lc(c.ctx)?{...p,fix:{attribute:"aria-label",currentValue:"",suggestedValue:v,needsManualReview:false}}:{...p,fix:{attribute:"alt",currentValue:c.ctx?.img?.alt??u.fix?.currentValue??"",suggestedValue:v,needsManualReview:false}}:null}if(c.kind==="contrast"){let v=c.pixels;if(!v)return null;let y=xa(v.fg),w=Ri(u,v.threshold),E=v.worstBg?xa(v.worstBg):null,C=v.bestBg?xa(v.bestBg):null,x=T=>!!T&&!!E&&ar(T,E)>=w&&(!C||ar(T,C)>=w),b,_=xO(h.fix?.value),D=E?TO(y,E,w):null;return _&&_!==y.toLowerCase()&&x(_)?b=`color:${_} !important;`:x(D)?b=`color:${D} !important;`:C&&ar(y,C)>=w&&(b=`background-color:${C} !important;`),{...p,impact:"serious",message:`contrast: ${y} text on its rendered background measures ${v.worstRatio.toFixed(2)}:1 at worst (${v.bestRatio.toFixed(2)}:1 at best, from pixels; judge: ${h.reason||"not readable"}), needs ${w}:1`,fix:{attribute:"style",currentValue:y,...b?{suggestedValue:b}:{},needsManualReview:true}}}let m=u.fix;return m?{...p,fix:m}:h.fix?.attribute&&h.fix.value?{...p,fix:{attribute:h.fix.attribute,currentValue:"",suggestedValue:h.fix.value,needsManualReview:true}}:p}function TO(u,c,h){let p=u.match(Vb);if(!p)return null;let m=parseInt(p[1],16),v=[m>>16&255,m>>8&255,m&255],y=C=>"#"+C.map(x=>Math.round(Math.min(255,Math.max(0,x))).toString(16).padStart(2,"0")).join(""),w=(C,x)=>y(v.map(b=>x?b*(1-C):b+(255-b)*C)),E=null;for(let C of [true,false]){if(ar(w(1,C),c)<h)continue;let x=0,b=1;for(let D=0;D<24;D++){let T=(x+b)/2;ar(w(T,C),c)>=h?b=T:x=T;}let _=w(b,C);ar(_,c)>=h&&(!E||b<E.t)&&(E={t:b,hex:_});}return E?.hex??null}async function Bc(u,c,h){let p=u.screenshot;if(typeof p!="function"||!c||c.rect.w<2||c.rect.h<2||c.hidden)return null;try{let v=Math.min(1200,c.rect.w+16),y=Math.min(600,c.rect.h+16),w=c.rect.x+c.rect.w/2,E=c.rect.y+c.rect.h/2,C=globalThis.Buffer;if(!C)return null;let x=0;for(let b of h===void 0?[1]:RO){let _=Math.max(2,Math.round(v*b)),D=Math.max(2,Math.round(y*b)),T=b===1?Math.max(0,c.rect.x-8):Math.max(0,w-_/2),I=b===1?Math.max(0,c.rect.y-8):Math.max(0,E-D/2),B=await p.call(u,{clip:{x:T,y:I,width:_,height:D},fullPage:!0,type:"png",animations:"disabled"}),F=C.from(B).toString("base64");if(x=F.length,h===void 0||F.length<=h)return {data:F}}return Pc()&&console.error(`ai judge: crop for ${c.tag} left out (${x} base64 chars > ${h} at the smallest clip)`),{}}catch{return null}}var uO,cO;exports.JUDGE_DEFAULT_TIMEOUT_MS=void 0;var dO,fO,pO;exports.DEFAULT_JUDGE_BASE_URL=void 0;exports.DEFAULT_JUDGE_VISION_MODEL=void 0;exports.DEFAULT_JUDGE_TEXT_MODEL=void 0;var Lb,Ob,Rc,mO,Ti,Mc,Nb,Pc,yO,Vb,xn;exports.JUDGE_SYSTEM_PROMPT=void 0;var qn,RO,xs=Fe(()=>{wn();Ec();Ci();Si();Tc();uO=30,cO=10,exports.JUDGE_DEFAULT_TIMEOUT_MS=2e4,dO=30,fO=3,pO=400*1024,exports.DEFAULT_JUDGE_BASE_URL="https://openrouter.ai/api/v1",exports.DEFAULT_JUDGE_VISION_MODEL="qwen/qwen3.6-35b-a3b",exports.DEFAULT_JUDGE_TEXT_MODEL="deepseek/deepseek-v4-flash",Lb=400,Ob=125,Rc=160,mO=2e3,Ti=new Map;Mc=u=>u.wcag||u.type,Nb=(u,c,h)=>`${u}|${c.selector}|${Mc(c)}|${gO(h)}`,Pc=()=>!!globalThis.process?.env?.WA_DEBUG_JUDGE;yO=/\b(needs?|requires?|for)\s+(a\s+)?(human|manual)?\s*review\b|\bhuman review\b|\bmanual review\b|\bincomplete\b/gi;Vb=/^#?([0-9a-f]{6})$/i;xn=class extends Error{},exports.JUDGE_SYSTEM_PROMPT=`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.
1003
+ ${JSON.stringify(c,null,1)}`}function jb(u,c={}){let h=u.vision&&u.items.some(v=>v.screenshot),p=h?c.visionModel||exports.DEFAULT_JUDGE_VISION_MODEL:c.textModel||exports.DEFAULT_JUDGE_TEXT_MODEL,m=[{type:"text",text:EO(u)}];if(h)for(let v of u.items)v.screenshot&&(m.push({type:"text",text:`Crop for ${v.id}:`}),m.push({type:"image_url",image_url:{url:`data:image/png;base64,${v.screenshot}`}}));return {model:p,temperature:0,max_tokens:4096,...c.disableTextModelReasoning&&(p===exports.DEFAULT_JUDGE_TEXT_MODEL||p===exports.DEFAULT_JUDGE_VISION_MODEL||u.system)?{reasoning:{enabled:false}}:{},messages:[{role:"system",content:u.system||exports.JUDGE_SYSTEM_PROMPT},{role:"user",content:m}]}}function ys(u){let c=(u.baseUrl||exports.DEFAULT_JUDGE_BASE_URL).replace(/\/+$/,""),h=false;try{let p=new URL(c).hostname;h=p==="openrouter.ai"||p.endsWith(".openrouter.ai")||p==="ai-gateway.vercel.sh";}catch{}return async(p,m)=>{let v=await fetch(`${c}/chat/completions`,{method:"POST",signal:m,headers:{"Content-Type":"application/json",Authorization:`Bearer ${u.apiKey}`,"HTTP-Referer":"https://webability.io","X-Title":"WebAbility scanner judge"},body:JSON.stringify(jb(p,{visionModel:u.visionModel,textModel:u.textModel,disableTextModelReasoning:h}))});if(!v.ok)throw new xn(`judge model HTTP ${v.status}`);let w=(await v.json()).choices?.[0]?.message?.content;if(typeof w=="string")return w;if(Array.isArray(w))return w.map(E=>typeof E?.text=="string"?E.text:"").join("");throw new Error("judge model returned no content")}}function ws(u){let c=u.apiUrl.replace(/\/+$/,"");return async(h,p)=>{let m=await fetch(`${c}/api/judge-incomplete`,{method:"POST",signal:p,redirect:"manual",headers:{"Content-Type":"application/json",...u.token?{Authorization:`Bearer ${u.token}`}:{},...u.internalSecret?{"x-mcp-internal":u.internalSecret}:{}},body:JSON.stringify(h.rubric?{...h,system:void 0}:h)});if(m.status>=300&&m.status<400)throw new xn(`judge endpoint redirected (HTTP ${m.status}); not followed`);if(!m.ok)throw new xn(`judge endpoint HTTP ${m.status}`);return m.json()}}function CO(u){return u.transport?u.transport:u.apiKey?ys({apiKey:u.apiKey,baseUrl:u.baseUrl,visionModel:u.visionModel,textModel:u.textModel}):u.apiUrl?ws({apiUrl:u.apiUrl,token:u.apiToken,internalSecret:u.internalSecret}):null}function Nc(u){return u.maxCropChars??(!u.transport&&!u.apiKey&&u.apiUrl?pO:void 0)}async function qc(u,c,h){let p={promoted:[],judged:[]},m=CO(h);if(c.length===0)return p;let v=h.level??"AA",y=h.timeoutMs??exports.JUDGE_DEFAULT_TIMEOUT_MS,w=Date.now()+y,E=jr([...c],v);if(E.length===0)return p;let C=new Map;for(let L of E){let z=`${L.selector}|${Mc(L)}`,K=C.get(z);K?K.members.push(L):C.set(z,{key:z,members:[L],rep:L,ctx:void 0,kind:"generic"});}let x={elements:{}};if(u)try{await u.evaluate("if(typeof globalThis.__name==='undefined'){globalThis.__name=function(t){return t}}"),x=await u.evaluate(vO,{selectors:[...C.keys()].map(L=>C.get(L).rep.selector),maxHtml:Lb});}catch{}for(let L of C.values())L.ctx=x.elements[L.rep.selector],L.ctx&&!L.ctx.found&&(L.ctx=void 0),L.kind=bO(L.rep,L.ctx);let b=new Map;for(let[L,z]of [...C]){if(!z.ctx)continue;let K=`${z.ctx.elementKey}|${Mc(z.rep)}`,J=b.get(K);if(!J){b.set(K,z);continue}J.members.push(...z.members),C.delete(L);}let _={promoted:[],judged:[]},D=(L,z)=>{for(let K of L.members){if(z.verdict==="violation"){let J=SO(K,L,z);if(!J)continue;_.promoted.push(J);}_.judged.push({id:K.id.replace("axe-incomplete-","axe-"),type:K.type,verdict:z.verdict,reason:z.reason});}},T=[...C.values()].filter(L=>L.kind==="contrast");if(T.length&&u){for(let K of T)K.pixels=h.measured?.get(K.rep.selector);let L=T.filter(K=>!K.pixels).map(K=>({selector:K.rep.selector,fg:bs(K.rep)}));if(L.length)try{for(let K of await Dc(u,L))for(let J of T)J.rep.selector===K.selector&&(J.pixels=K);}catch{}let z=T.filter(K=>K.pixels&&!K.pixels.glyph&&K.pixels.worstRatio<Ri(K.rep,K.pixels.threshold)&&K.pixels.bestRatio>=Ri(K.rep,K.pixels.threshold)*.97);if(z.length)try{for(let K of await Sb(u,z.map(J=>J.rep.selector)))for(let J of z)J.rep.selector===K.selector&&K.glyph&&(J.pixels={...J.pixels,glyph:K.glyph});}catch{}}let I=[];for(let L of C.values()){let z=m?Ti.get(Nb(h.url,L.rep,L.ctx?.html??L.rep.html??"")):void 0;if(z){D(L,z);continue}let K=kO(L);if(K!=="drop"){if(K){D(L,K);continue}I.push(L);}}if(I.length===0||!m)return _;let B=h.vision!==false&&!!u&&typeof u.screenshot=="function",R=new Map,$=new Set,M=0,H=Nc(h),ee=L=>({id:L.rep.id,type:L.rep.type,wcag:L.rep.wcag,message:L.rep.message,selector:L.rep.selector,html:(L.ctx?.html??L.rep.html??"").slice(0,Lb),context:$.has(L.key)?{...qb(L),cropNote:"no image attached: the crop was too large to send"}:qb(L),...R.has(L.key)?{screenshot:R.get(L.key)}:{}}),N=new Map;for(let L of I){let z=Pb({type:L.rep.type,evidence:L.members.find(J=>J.evidence)?.evidence}),K=z?.id??"";N.has(K)||N.set(K,{rubric:z,groups:[]}),N.get(K).groups.push(L);}let F=B?cO:uO,S=[],P=[...N.values()].sort((L,z)=>+!!L.rubric-+!!z.rubric);for(let L of P)for(let z=0;z<L.groups.length;z+=F)S.push({rubric:L.rubric,groups:L.groups.slice(z,z+F)});let q=Promise.resolve(),j=L=>{let z=q.then(async()=>{for(let K of L){if(M>=dO||Date.now()>w)break;let J=await Bc(u,K.ctx,H);J&&(M++,J.data?R.set(K.key,J.data):$.add(K.key));}});return q=z.catch(()=>{}),z},W=new Set,Z=new AbortController,ne=w-Date.now();if(ne<=0)return _;let le=setTimeout(()=>Z.abort(),ne),fe=false,me=[...S],oe=async({rubric:L,groups:z})=>{let K=new Map(z.map(be=>[be.rep.id,be])),J=null,Y=false,ie=Date.now();try{let be=await Promise.race([m({url:h.url,level:v,vision:B,items:z.map(ee),...L?{system:Nn(L),rubric:{id:L.id,hash:wa(L)}}:{}},Z.signal),new Promise((Pe,Re)=>Z.signal.addEventListener("abort",()=>Re(new Error("judge deadline"))))]);J=L?DO(be):_O(be),Pc()&&console.error(`ai judge: batch ${z.length} items, ${z.filter(Pe=>R.has(Pe.key)).length} crops, ${Date.now()-ie}ms, ${J?J.length+" verdicts":"MALFORMED: "+String(be).slice(0,200)}`);}catch(be){Pc()&&console.error(`ai judge: batch ${z.length} items failed after ${Date.now()-ie}ms: ${be.message}`),J=null,Y=be instanceof xn;}if(!J){Y&&L?W.add(L.id):Y&&(fe=true);return}for(let be of J){let Pe=K.get(be.id);if(!Pe)continue;K.delete(be.id);let Re={verdict:be.verdict,reason:Oc(be.reason),fix:be.fix};Ti.size>=mO&&Ti.clear(),Ti.set(Nb(h.url,Pe.rep,Pe.ctx?.html??Pe.rep.html??""),Re),D(Pe,Re);}};try{await Promise.all(Array.from({length:Math.min(fO,me.length)},async()=>{for(let L=me.shift();L;L=me.shift()){if(fe||Z.signal.aborted)return;if(!(L.rubric&&W.has(L.rubric.id))){if(B&&await j(L.groups),fe||Z.signal.aborted||Date.now()>w)return;await oe(L);}}}));}finally{clearTimeout(le);}return _}function kO(u){let c=u.ctx;if(u.rep.type==="non_text_contrast_insufficient"&&u.members.every(h=>h.evidence?.glyphOnOwnFillMeets3to1===true))return {verdict:"pass",reason:"measured: the icon meets 3:1 against the control's own fill"};if(u.kind==="alt"){if(c?.role==="presentation"||c?.role==="none")return {verdict:"pass",reason:"declared decorative (role=presentation)"};if(c?.ariaHidden)return {verdict:"pass",reason:"hidden from assistive technology (aria-hidden)"};if(c?.img){let{attrW:h,attrH:p,naturalW:m,naturalH:v}=c.img;if(h>0&&h<=1&&p>0&&p<=1||m>0&&m<=1&&v>0&&v<=1)return {verdict:"pass",reason:"1x1 tracking/spacer pixel"}}return c&&Lc(c)?c.control?c.control.name?{verdict:"pass",reason:`${c.control.tag} is named ("${c.control.name.slice(0,40)}"); the background image needs no text`}:null:{verdict:"pass",reason:"CSS background image on a non-interactive element; decorative"}:c?.parentInteractive?.text?{verdict:"pass",reason:`${c.parentInteractive.tag} is named by its visible link text ("${c.parentInteractive.text.slice(0,40)}"); alt may be empty`}:null}if(u.kind==="motion")return c?.reducedMotionHandled?{verdict:"pass",reason:"a prefers-reduced-motion: reduce rule stops this element's animation"}:null;if(u.kind==="contrast"){if(!u.pixels)return "drop";let h=Ri(u.rep,u.pixels.threshold),p=u.pixels.glyph;return p&&p.p02>=h?{verdict:"pass",reason:`measured ${p.p02.toFixed(2)}:1 at the 2nd-percentile glyph pixel, meets ${h}:1`}:p&&p.p02<h*.97?{verdict:"violation",reason:`measured ${p.p02.toFixed(2)}:1 at the 2nd-percentile glyph pixel (${Math.round(p.fractionBelow*100)}% of glyph pixels below ${h}:1)`}:u.pixels.worstRatio>=h?{verdict:"pass",reason:`measured ${u.pixels.worstRatio.toFixed(2)}:1 at worst behind the text, meets ${h}:1`}:u.pixels.bestRatio<h*.97?{verdict:"violation",reason:`measured ${u.pixels.bestRatio.toFixed(2)}:1 at best behind the text, below ${h}:1 everywhere`}:null}return null}function qb(u){let c=u.ctx,h={};u.rep.reviewReason&&(h.engineNote=u.rep.reviewReason);for(let p of u.members)if(p.evidence)for(let[m,v]of Object.entries(p.evidence))m in h||(h[m]=v);if(!c)return h;if(h.tag=c.tag,c.nearText&&(h.nearbyText=c.nearText),c.parentInteractive&&(h.parentControl=c.parentInteractive),u.kind==="alt"&&Lc(c)&&c.control&&(h.control={tag:c.control.tag,accessibleName:c.control.name}),u.kind==="alt"&&c.img&&(h.image={src:c.img.src,alt:c.img.alt,width:c.img.naturalW||c.img.attrW||c.rect.w,height:c.img.naturalH||c.img.attrH||c.rect.h}),u.kind==="contrast"&&u.pixels){h.fg=xa(u.pixels.fg),h.threshold=Ri(u.rep,u.pixels.threshold),h.bestRatio=qn(u.pixels.bestRatio),h.worstRatio=qn(u.pixels.worstRatio);let p=u.pixels.glyph;p&&Object.assign(h,{glyphMinRatio:qn(p.min),glyphP02Ratio:qn(p.p02),glyphP05Ratio:qn(p.p05),glyphMedianRatio:qn(p.p50),glyphFractionBelow:qn(p.fractionBelow)}),h.fontSize=c.fontSize,h.fontWeight=c.fontWeight;}return u.kind==="generic"&&(h.fg=xa(c.fg),h.bg=xa(c.bg),h.size={w:Math.round(c.rect.w),h:Math.round(c.rect.h)}),h}function Ri(u,c){return u.wcag==="1.4.6"||u.type==="contrast_enhanced"?c===3?4.5:7:c}function SO(u,c,h){let p=AO(u);if(c.kind==="alt"){let v=wO(h.fix?.value);return v?Lc(c.ctx)?{...p,fix:{attribute:"aria-label",currentValue:"",suggestedValue:v,needsManualReview:false}}:{...p,fix:{attribute:"alt",currentValue:c.ctx?.img?.alt??u.fix?.currentValue??"",suggestedValue:v,needsManualReview:false}}:null}if(c.kind==="contrast"){let v=c.pixels;if(!v)return null;let y=xa(v.fg),w=Ri(u,v.threshold),E=v.worstBg?xa(v.worstBg):null,C=v.bestBg?xa(v.bestBg):null,x=T=>!!T&&!!E&&ar(T,E)>=w&&(!C||ar(T,C)>=w),b,_=xO(h.fix?.value),D=E?TO(y,E,w):null;return _&&_!==y.toLowerCase()&&x(_)?b=`color:${_} !important;`:x(D)?b=`color:${D} !important;`:C&&ar(y,C)>=w&&(b=`background-color:${C} !important;`),{...p,impact:"serious",message:`contrast: ${y} text on its rendered background measures ${v.worstRatio.toFixed(2)}:1 at worst (${v.bestRatio.toFixed(2)}:1 at best, from pixels; judge: ${h.reason||"not readable"}), needs ${w}:1`,fix:{attribute:"style",currentValue:y,...b?{suggestedValue:b}:{},needsManualReview:true}}}let m=u.fix;return m?{...p,fix:m}:h.fix?.attribute&&h.fix.value?{...p,fix:{attribute:h.fix.attribute,currentValue:"",suggestedValue:h.fix.value,needsManualReview:true}}:p}function TO(u,c,h){let p=u.match(Vb);if(!p)return null;let m=parseInt(p[1],16),v=[m>>16&255,m>>8&255,m&255],y=C=>"#"+C.map(x=>Math.round(Math.min(255,Math.max(0,x))).toString(16).padStart(2,"0")).join(""),w=(C,x)=>y(v.map(b=>x?b*(1-C):b+(255-b)*C)),E=null;for(let C of [true,false]){if(ar(w(1,C),c)<h)continue;let x=0,b=1;for(let D=0;D<24;D++){let T=(x+b)/2;ar(w(T,C),c)>=h?b=T:x=T;}let _=w(b,C);ar(_,c)>=h&&(!E||b<E.t)&&(E={t:b,hex:_});}return E?.hex??null}async function Bc(u,c,h){let p=u.screenshot;if(typeof p!="function"||!c||c.rect.w<2||c.rect.h<2||c.hidden)return null;try{let v=Math.min(1200,c.rect.w+16),y=Math.min(600,c.rect.h+16),w=c.rect.x+c.rect.w/2,E=c.rect.y+c.rect.h/2,C=globalThis.Buffer;if(!C)return null;let x=0;for(let b of h===void 0?[1]:RO){let _=Math.max(2,Math.round(v*b)),D=Math.max(2,Math.round(y*b)),T=b===1?Math.max(0,c.rect.x-8):Math.max(0,w-_/2),I=b===1?Math.max(0,c.rect.y-8):Math.max(0,E-D/2),B=await p.call(u,{clip:{x:T,y:I,width:_,height:D},fullPage:!0,type:"png",animations:"disabled"}),R=C.from(B).toString("base64");if(x=R.length,h===void 0||R.length<=h)return {data:R}}return Pc()&&console.error(`ai judge: crop for ${c.tag} left out (${x} base64 chars > ${h} at the smallest clip)`),{}}catch{return null}}var uO,cO;exports.JUDGE_DEFAULT_TIMEOUT_MS=void 0;var dO,fO,pO;exports.DEFAULT_JUDGE_BASE_URL=void 0;exports.DEFAULT_JUDGE_VISION_MODEL=void 0;exports.DEFAULT_JUDGE_TEXT_MODEL=void 0;var Lb,Ob,Rc,mO,Ti,Mc,Nb,Pc,yO,Vb,xn;exports.JUDGE_SYSTEM_PROMPT=void 0;var qn,RO,xs=Fe(()=>{wn();Ec();Ci();Si();Tc();uO=30,cO=10,exports.JUDGE_DEFAULT_TIMEOUT_MS=2e4,dO=30,fO=3,pO=400*1024,exports.DEFAULT_JUDGE_BASE_URL="https://openrouter.ai/api/v1",exports.DEFAULT_JUDGE_VISION_MODEL="qwen/qwen3.6-35b-a3b",exports.DEFAULT_JUDGE_TEXT_MODEL="deepseek/deepseek-v4-flash",Lb=400,Ob=125,Rc=160,mO=2e3,Ti=new Map;Mc=u=>u.wcag||u.type,Nb=(u,c,h)=>`${u}|${c.selector}|${Mc(c)}|${gO(h)}`,Pc=()=>!!globalThis.process?.env?.WA_DEBUG_JUDGE;yO=/\b(needs?|requires?|for)\s+(a\s+)?(human|manual)?\s*review\b|\bhuman review\b|\bmanual review\b|\bincomplete\b/gi;Vb=/^#?([0-9a-f]{6})$/i;xn=class extends Error{},exports.JUDGE_SYSTEM_PROMPT=`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.
1002
1004
 
1003
1005
  Rules:
1004
1006
  - 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.
@@ -1014,8 +1016,8 @@ Rules:
1014
1016
 
1015
1017
  Respond with ONLY a JSON array, one object per item, same ids:
1016
1018
  [{"id": "...", "verdict": "pass" | "violation", "reason": "one sentence", "fix": {"attribute": "...", "value": "..."}}]
1017
- Omit "fix" for passes.`;qn=u=>Math.round(u*100)/100;RO=[1,.6,.35];});var Kb={};mr(Kb,{dismissModals:()=>Jb});async function Jb(u){await u.evaluate(c=>{for(let h of c){let p=document.querySelectorAll(h);for(let m of p)if(m.offsetParent!==null){m.click();return}}},PO),await new Promise(c=>setTimeout(c,500));}var PO,Hc=Fe(()=>{PO=['[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 As={};mr(As,{focusOnlyObscuredIndexes:()=>BO,resetInteractionState:()=>LO,restoreInteractionState:()=>NO,snapshotInteractionState:()=>OO});async function LO(u){try{await u.evaluate(()=>{try{document.activeElement?.blur?.();}catch{}try{window.scrollTo({left:0,top:0,behavior:"instant"});}catch{}});}catch{}}async function OO(u){try{await u.evaluate(()=>{let c=window;c.__waCallerState={el:document.activeElement,x:window.scrollX,y:window.scrollY};});}catch{}}async function NO(u){try{await u.evaluate(()=>{let c=window,h=c.__waCallerState;if(delete c.__waCallerState,!h)return;let p=h.el;if(p&&p!==document.body&&p!==document.documentElement&&p.isConnected)try{p.focus({preventScroll:!0});}catch{}try{window.scrollTo({left:h.x,top:h.y,behavior:"instant"});}catch{}});}catch{}}function qO(u){if(typeof u=="string")return u;if(!Array.isArray(u))return null;let c=u.flat(1/0).filter(h=>typeof h=="string");return c.length===1?c[0]:null}async function BO(u,c){let h=c.map(y=>{let E=[...y.any??[],...y.none??[]].flatMap(x=>x.relatedNodes??[]);if(!E.length)return null;let C=E.map(x=>qO(x.target));return C.every(x=>!!x)?C:null}),p=Array.from(new Set(h.flatMap(y=>y??[])));if(!p.length)return new Set;let m={};try{m=await u.evaluate(({sels:y,own:w})=>{let E=x=>{let b=x.getBoundingClientRect(),_=getComputedStyle(x);return !!((b.width<=1||b.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||""))},C={};for(let x of y){let b=null;try{b=document.querySelector(x);}catch{b=null;}if(!b){C[x]=!1;continue}let _=b.closest(w);if(_&&_!==document.body&&_!==document.documentElement){C[x]=!0;continue}if(b===document.activeElement){try{b.blur();}catch{}C[x]=E(b);continue}C[x]=E(b);}return C},{sels:p,own:ha});}catch{return new Set}let v=new Set;return h.forEach((y,w)=>{y&&y.length&&y.every(E=>m[E]===true)&&v.add(w);}),v}var _s=Fe(()=>{Ar();});var Bn={};mr(Bn,{dedupeByElementIdentity:()=>zO,deduplicateIssues:()=>HO});function HO(u){let c=new Map,h=[...u].sort((p,m)=>{let v={webability:0,"axe-core":1,"deep-analysis":2},y=v[p.source]??3,w=v[m.source]??3;return y-w});for(let p of h){let m=VO(p);c.has(m)?!c.get(m).fix?.suggestedValue&&p.fix?.suggestedValue&&c.set(m,p):c.set(m,p);}return Array.from(c.values())}function VO(u){let c=u.selector.replace(/:focus-visible$/,"").replace(/:focus$/,"").replace(/\[data-[^\]]+\]/g,"").trim(),h=u.wcag||"";return c&&h?`${c}::${h}`:`${u.type}::${c||u.id}`}async function zO(u,c){if(c.length<2)return c;let h=Array.from(new Set(c.map(x=>x.selector).filter(Boolean))),p;try{p=await u.evaluate(x=>{let b=Array.from(document.querySelectorAll("*")),_=new Map;b.forEach((T,I)=>_.set(T,I));let D={};for(let T of x){let I=null;try{I=document.querySelector(T);}catch{}if(!I){let B=T.replace(/:(?:focus-visible|focus-within|focus|hover|active)$/,"");if(B!==T)try{I=document.querySelector(B);}catch{}}if(I){let B=I.closest("table");D[T]={el:_.get(I),table:B?_.get(B):-1,doc:I===document.documentElement||I===document.body};}}return D},h);}catch{return c}let m={webability:0,"axe-core":1,"deep-analysis":2},v=x=>{let b=p[x.selector];if(!b)return null;let _=x.wcag||x.type;return b.doc?{key:jO.has(x.wcag||"")?`doc::${_}`:`doc::${_}::${x.type}`,owner:true}:b.table>=0&&$O.test(x.type)?{key:`${b.table}::${_}::table-headers`,owner:b.el===b.table}:Ds.has(x.type)?{key:`${b.el}::accessible-name`,owner:true}:{key:`${b.el}::${_}`,owner:true}},y=[...c].sort((x,b)=>{let _=v(x),D=v(b),T=_?.owner?0:1,I=D?.owner?0:1,B=Ds.has(x.type)&&Ds.has(b.type),F=B&&x.confidence==="needs_review"?1:0,$=B&&b.confidence==="needs_review"?1:0,M=B?Zb(x.type)-Zb(b.type):0;return T-I||F-$||(m[x.source]??3)-(m[b.source]??3)||M}),w=new Map,E=[];for(let x of y){let b=v(x);if(!b){E.push(x);continue}let _=w.get(b.key);_?!Ds.has(_.type)&&!_.fix?.suggestedValue&&x.fix?.suggestedValue&&(v(_)?.owner??true)===b.owner&&w.set(b.key,x):w.set(b.key,x);}let C=new Set([...w.values(),...E]);return c.filter(x=>C.has(x))}var $O,jO,Ds,Yb,Zb,Hn=Fe(()=>{$O=/^missing_table_header$|^td-has-header$|^th-has-data-cells$|^h43|^h63/,jO=new Set(["2.4.1","3.1.1","2.4.2"]),Ds=new Set(["missing_label","label","select-name","aria-input-field-name","empty_link","link-name","missing_alt","image-alt","background_image_unlabeled","unlabeled_button","button-name","input-button-name","svg_missing_name","svg-img-alt","role-img-alt"]),Yb=["background_image_unlabeled","unlabeled_button","missing_label","empty_link","missing_alt","svg_missing_name"],Zb=u=>{let c=Yb.indexOf(u);return c<0?Yb.length:c};});var ty={};mr(ty,{parseGif:()=>Qb,playsOverFiveSeconds:()=>ey,verifyAnimatedGifs:()=>GO});function Qb(u){if(String.fromCharCode(u[0]??0,u[1]??0,u[2]??0)!=="GIF")return null;let h=13,p=u[10]??0;p&128&&(h+=3*(1<<(p&7)+1));let m=0,v=0,y=0,w=null,E=()=>{for(;h<u.length;){let C=u[h++];if(C===0)return;h+=C;}};for(;h<u.length;){let C=u[h++];if(C===59)break;if(C===33){let x=u[h++];if(x===249)y=(u[h+2]??0)|(u[h+3]??0)<<8,h+=1+(u[h]??4),E();else if(x===255){let b=u[h]??0,_=String.fromCharCode(...Array.from(u.subarray(h+1,h+1+b)));h+=1+b,(_==="NETSCAPE2.0"||_==="ANIMEXTS1.0")&&u[h]===3&&u[h+1]===1&&(w=(u[h+2]??0)|(u[h+3]??0)<<8),E();}else E();}else if(C===44){let x=u[h+8]??0;h+=9,x&128&&(h+=3*(1<<(x&7)+1)),h+=1,E(),m++,v+=y<2?10:y,y=0;}else break}return {frames:m,seconds:v/100,loops:w}}function ey(u){if(u.frames<2)return false;if(u.loops===0)return true;let c=u.loops===null?1:u.loops+1;return u.seconds*c>5}async function GO(u,c){let h=c.filter(v=>v.type==="animated_gif_no_pause");if(!h.length)return c;let p=Array.from(new Set(h.map(v=>v.selector))),m={};try{m=await u.evaluate(async({sels:v,parserSrc:y})=>{let w=new Function("var __name = function (f) { return f }; return ("+y+")")(),E={};return await Promise.all(v.map(async C=>{E[C]=null;try{let x=document.querySelector(C),b=x&&(x.currentSrc||x.src);if(!b)return;let _=new AbortController,D=setTimeout(()=>_.abort(),5e3);try{let T=await fetch(b,{signal:_.signal,credentials:"same-origin"});if(!T.ok||Number(T.headers.get("content-length")||"0")>2e7)return;E[C]=w(new Uint8Array(await T.arrayBuffer()));}finally{clearTimeout(D);}}catch{}})),E},{sels:p,parserSrc:Qb.toString()});}catch{m={};}return c.flatMap(v=>{if(v.type!=="animated_gif_no_pause")return [v];let y=m[v.selector];if(!y)return [{...v,message:`${v.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(!ey(y))return [];let w=y.loops===0?"loops forever":`plays for ${(y.seconds*(y.loops===null?1:y.loops+1)).toFixed(1)}s`;return [{...v,message:`animated GIF (${y.frames} frames, ${w}) 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 ry=Fe(()=>{});var Fi={};mr(Fi,{scopeIssuesToRoot:()=>WO});async function WO(u,c,h){let p=Array.from(new Set(c.map(v=>v.selector).filter(Boolean))),m;try{m=await u.evaluate(({rootSel:v,sels:y})=>{let w=x=>{try{let _=document.querySelector(x);if(_)return _}catch{}let b=x.replace(/:(?:focus-visible|focus-within|focus|hover|active)$/,"");if(b!==x)try{return document.querySelector(b)}catch{return null}return null},E=null;try{E=document.querySelector(v);}catch{return {invalid:!0,matched:!1,within:{}}}if(!E)return {invalid:!1,matched:!1,within:{}};let C={};for(let x of y){let b=w(x);C[x]=b?b===E||E.contains(b):!0;}return {invalid:!1,matched:!0,within:C}},{rootSel:h,sels:p});}catch{return {issues:c,warning:`scope:evaluate-failed (${h}) \u2014 results unfiltered`}}return m.invalid?{issues:c,warning:`scope:invalid-selector (${h}) \u2014 results unfiltered`}:m.matched?{issues:c.filter(v=>v.selector?m.within[v.selector]===true:true)}:{issues:[],warning:`scope:root-miss (${h} matched nothing \u2014 empty result)`}}var Ii=Fe(()=>{});function XO(u){let{kinds:c,max:h,caps:p,own:m}=u,v=globalThis,y=new Set(c),w={},E={},C=(L,z)=>{let K=(L||"").replace(/\s+/g," ").trim();return K.length>z?K.slice(0,z-1)+"\u2026":K},x=L=>{try{if(L.closest(m)||typeof v.isWidget=="function"&&v.isWidget(L))return !0}catch{}return false},b=L=>{if(L===document.documentElement)return "html";try{if(typeof v.uniqueSel=="function")return v.uniqueSel(L)}catch{}let z=[];for(let K=L;K&&K!==document.documentElement;K=K.parentElement){let J=K.parentElement,Y=J?Array.from(J.children).filter(ie=>ie.tagName===K.tagName):[];z.unshift(K.tagName.toLowerCase()+(Y.length>1?`:nth-of-type(${Y.indexOf(K)+1})`:""));}return z.join(" > ")},_=window.scrollX||0,D=window.scrollY||0,T=L=>{let z=L.getBoundingClientRect();return {x:z.left+_,y:z.top+D,w:z.width,h:z.height}},I=L=>C(L.outerHTML||"",300),B=L=>getComputedStyle(L),F=L=>!!L.closest('[aria-hidden="true"]'),$=L=>{if(L.closest?.("[hidden]"))return false;let z=L;if(typeof z.checkVisibility=="function")return z.checkVisibility({visibilityProperty:true});let K=B(L);return K.display!=="none"&&K.visibility!=="hidden"},M=L=>{if(!$(L))return false;let z=T(L);return z.w>1&&z.h>1&&z.x+z.w>0&&z.y+z.h>0},H=L=>{let z=B(L),K=L.getBoundingClientRect();return /inset\(\s*(50|100)%/.test(z.clipPath||"")||/rect\(\s*0(px)?[\s,]+0(px)?[\s,]+0(px)?[\s,]+0(px)?\s*\)/.test(z.clip||"")?true:(K.width<=1||K.height<=1)&&z.overflow==="hidden"},ee=L=>{let z=Qe=>parseFloat(Qe||"0")||0,K=(Qe,We)=>{if(We.display==="none"||We.visibility==="hidden"||parseFloat(We.opacity||"1")===0||z(We.fontSize)===0||H(Qe))return true;if(We.position==="absolute"||We.position==="fixed"){let Mt=Qe.getBoundingClientRect();if(z(We.left)<=-999||z(We.top)<=-999||Mt.right<=0||Mt.bottom<=-(window.scrollY||0))return true}return false},J=[],Y=document.createTreeWalker(L,NodeFilter.SHOW_TEXT);for(let Qe=Y.nextNode();Qe;Qe=Y.nextNode()){let We=Qe.parentElement,Mt=(Qe.textContent||"").replace(/\s+/g," ").trim();if(!We||!Mt||!/[\p{L}\p{N}]/u.test(Mt))continue;let jn=false,dt=false;for(let Zt=We;Zt;Zt=Zt===L?null:Zt.parentElement)if(Zt.tagName==="KBD"&&(dt=true),/^(NOSCRIPT|SCRIPT|STYLE|TEMPLATE)$/.test(Zt.tagName)||K(Zt,B(Zt))){jn=true;break}jn||J.push({text:Mt,raw:Qe.textContent||"",kbd:dt,p:We});}let ie=0,be=J.length;for(;ie<be&&J[ie].kbd;)ie++;for(;be>ie&&J[be-1].kbd;)be--;let Pe=ie<be?J.slice(ie,be):J,Re="h1, h2, h3, h4, h5, h6, [role=heading]",pe=Pe.map(Qe=>{let We=B(Qe.p);return {size:z(We.fontSize),weight:parseInt(We.fontWeight||"400",10)||400,head:!!Qe.p.closest(Re)&&L.contains(Qe.p.closest(Re))}}),Be=Qe=>{for(let We=Qe;We&&We!==L;We=We.parentElement)if(!/^inline(?!-block)|^contents$/.test(B(We).display||""))return We;return L},at=Pe.map(Qe=>Be(Qe.p)),ze=pe.map(Qe=>Qe.size).filter(Qe=>Qe>0),ft=ze.length?Math.max(...ze):0,It=ze.length?Math.min(...ze):0,Se=pe.length?Math.min(...pe.map(Qe=>Qe.weight)):400,At=0;pe.forEach(Qe=>{!Qe.head&&Qe.weight<600&&Qe.size>At&&(At=Qe.size);});let _t=Qe=>Pe.some((We,Mt)=>at[Mt]===at[Qe]&&pe[Mt].weight<600&&!pe[Mt].head),kt=Pe.map((Qe,We)=>pe[We].head||ft>It&&pe[We].size>=ft||pe[We].weight>=600&&Se<600&&pe[We].size>=At&&!_t(We)),Pt=kt.every(Boolean);return Pe.map((Qe,We)=>({text:Qe.text,raw:Qe.raw,block:at[We],prominent:!Pt&&kt[We]}))},N=L=>{for(let z=L.parentElement;z;z=z.parentElement){let K=(z.getAttribute("role")||"").trim().toLowerCase();if(/^(banner|contentinfo|navigation|main|complementary)$/.test(K))return K;let J=z.tagName;if(J==="MAIN")return "main";if(J==="NAV")return "navigation";if(J==="ASIDE")return "complementary";if(J==="HEADER"||J==="FOOTER"){if(z.parentElement?.closest("article, aside, main, nav, section"))continue;return J==="HEADER"?"banner":"contentinfo"}}return ""},R=(L,z)=>{if(!z||z.tagName!=="A")return false;let K=(z.getAttribute("href")||"").trim(),J=/^\/(index\.\w+)?([?#].*)?$/.test(K);if(!J)try{let ie=new URL(K,location.href);J=ie.origin===location.origin&&/^\/(index\.\w+)?$/.test(ie.pathname);}catch{}return J?!z.innerText.replace(/\s+/g,"")&&z.querySelectorAll("img, svg, [role=img]").length>=1&&z.contains(L):false},S=L=>(L||"").split(/\s+/).filter(Boolean).map(z=>document.getElementById(z)).filter(Boolean).map(z=>C(z.textContent||"",200)).join(" ").trim(),P=L=>{let z="";for(let K of Array.from(L.childNodes))if(K.nodeType===3)z+=K.textContent;else if(K.nodeType===1){let J=K;if(/^(script|style|template)$/i.test(J.tagName))continue;J.tagName==="IMG"?z+=" "+(J.getAttribute("alt")||"")+" ":z+=" "+P(J)+" ";}return z},q=L=>{let z=S(L.getAttribute("aria-labelledby"));if(z)return z;let K=(L.getAttribute("aria-label")||"").trim();if(K)return K;let J=L.tagName.toLowerCase();if(J==="img"||J==="area"||J==="input"&&L.type==="image"){let Y=L.getAttribute("alt");if(Y!==null)return Y.trim()}if(/^(input|select|textarea)$/.test(J)){let ie=Array.from(L.labels||[]).map(be=>C(be.textContent||"",120)).join(" ").trim();if(ie)return ie}if(J==="svg"){let Y=L.querySelector(":scope > title");if(Y&&(Y.textContent||"").trim())return C(Y.textContent||"",120)}if(J==="object")return (L.getAttribute("title")||"").trim();if(L.matches("a, button, [role=link], [role=button], [role=heading], h1, h2, h3, h4, h5, h6, summary, [role=menuitem], [role=tab], [role=option]")){let Y=C(P(L),200);if(Y)return Y}return (L.getAttribute("title")||"").trim()},j=L=>(L.getAttribute("role")||"").trim().toLowerCase().split(/\s+/)[0]||"",W=(L,z)=>{let K=L.parentElement?.closest("p, li, figure, td, th, dd, blockquote, section, article, div, body");return K?C(K.innerText||K.textContent||"",z):""},Z=L=>{let z=L.previousElementSibling;return z?C(z.innerText||z.textContent||"",160):""},ne=(L,z)=>{let K=w[L]||=[];K.length<(p[L]??h)?K.push(z):E[L]=(E[L]||0)+1;};if(y.has("image")){let L=new Set,z=Array.from(document.querySelectorAll("img, svg, canvas, input[type=image], object, embed, [role=img]")).filter(pe=>!(pe.tagName.toLowerCase()==="svg"&&pe.parentElement?.closest("svg"))),K=[],J=document.body?Array.from(document.body.querySelectorAll("*")).slice(0,3e3):[];for(let pe of J)/url\(/i.test(B(pe).backgroundImage||"")&&!z.includes(pe)&&K.push(pe);let Y=[],ie=new Map;for(let pe of [...z,...K]){if(L.has(pe)||x(pe))continue;L.add(pe);let Be=pe.tagName.toLowerCase(),at=j(pe),ze=K.includes(pe),ft=q(pe),It=F(pe),Se=at==="none"||at==="presentation",At=$(pe)&&!It&&!Se;Be==="img"&&pe.getAttribute("alt")===""&&!pe.getAttribute("aria-label")&&!pe.getAttribute("aria-labelledby")&&!pe.getAttribute("title")&&(At=false),(Be==="svg"||Be==="canvas"||ze)&&at!=="img"&&!ft&&(At=false),ze&&at!=="img"&&(At=false);let _t=true;if(Be==="img"){let Mt=pe;_t=!(Mt.complete&&(Mt.naturalWidth===0||Mt.naturalWidth<=1&&Mt.naturalHeight<=1));}let kt=pe.parentElement?.closest("a[href], button, [role=button], [role=link]")||null,Pt=!!kt&&!!((kt.getAttribute("aria-label")||"").trim()||kt.getAttribute("aria-labelledby")),Qe=ze?(B(pe).backgroundImage.match(/url\(["']?([^"')]+)/)||[])[1]||"":pe.currentSrc||pe.getAttribute("src")||pe.getAttribute("data")||pe.querySelector("image")?.getAttribute("href")||"",We={selector:b(pe),html:I(pe),rect:T(pe),tag:Be,role:at,name:ft,alt:pe.getAttribute("alt"),ariaHidden:It,inTree:At,hasName:!!ft,rendered:M(pe)&&_t,cssBackground:ze,svgText:Be==="svg"&&!!pe.querySelector("text"),ownText:ze?C(ee(pe).map(Mt=>Mt.text).join(" "),160):"",src:/^data:/i.test(Qe)?Qe.slice(0,60):C(Qe,200),insideNamedControl:Pt,controlName:kt?C(q(kt),120):"",landmark:N(pe),homeLink:R(pe,kt),nearbyText:C([Z(pe),W(pe,200)].filter(Boolean).join(" | "),260)};Y.push(We),ie.set(We,pe);}Y.sort((pe,Be)=>+!!Be.rendered-+!!pe.rendered);let be=window.scrollX,Pe=window.scrollY;for(let pe of Y.slice(0,p.image??h)){if(pe.covered=false,!pe.rendered)continue;let Be=ie.get(pe);if(Be)try{Be.scrollIntoView({block:"center",inline:"center"});let at=Be.getBoundingClientRect(),ze=document.elementFromPoint(at.left+at.width/2,at.top+at.height/2);pe.covered=!!ze&&ze!==Be&&!Be.contains(ze)&&!ze.contains(Be)&&!(Be.tagName.toLowerCase()==="svg"&&Be.contains(ze));}catch{}}window.scrollTo(be,Pe);let Re=p.image??h;Y.forEach((pe,Be)=>{Be<Re?ne("image",pe):pe.rendered&&!pe.svgText&&(E.image=(E.image||0)+1);});}if(y.has("link"))for(let L of Array.from(document.querySelectorAll("a[href], area[href], [role=link]"))){if(x(L))continue;let z=j(L);if(z&&z!=="link"||!$(L)||F(L))continue;let K=q(L);if(!K)continue;let J=[];for(let Be=L.closest("li");Be;Be=Be.parentElement?.closest("li")||null){let at="";for(let ze of Array.from(Be.childNodes))(ze.nodeType===3||ze.nodeType===1&&!/^(ul|ol)$/i.test(ze.tagName))&&(at+=" "+(ze.innerText??ze.textContent??""));J.push(C(at,160));}let Y=L.closest("td, th"),ie=[];if(Y){let Be=Y.parentElement,at=Y.closest("table"),ze=Array.from(Be?.children||[]).indexOf(Y);for(let ft of (Y.getAttribute("headers")||"").split(/\s+/).filter(Boolean)){let It=document.getElementById(ft);It&&ie.push(C(It.textContent||"",80));}if(at&&ze>=0){for(let It of Array.from(at.querySelectorAll("tr"))){let Se=It.children[ze];Se&&Se!==Y&&Se.tagName==="TH"&&ie.push(C(Se.textContent||"",80));let At=It.children[0];It===Be&&At&&At!==Y&&At.tagName==="TH"&&ie.push(C(At.textContent||"",80));}let ft=at.querySelector("tr > th[colspan]");ft&&ft!==Y&&!ie.length&&ie.push(C(ft.textContent||"",80));}}let be=L.closest("p"),Pe=be||J.length||Y?null:L.parentElement,Re=L.getAttribute("href")||"",pe=Re.startsWith("#")&&Re.length>1?document.getElementById(decodeURIComponent(Re.slice(1))):null;ne("link",{selector:b(L),html:I(L),rect:T(L),name:C(K,160),href:C(Re,200),describedBy:S(L.getAttribute("aria-describedby")),context:{paragraph:be?C(be.innerText||be.textContent||"",300):"",listItems:J,cell:Y?C(Y.innerText||"",160):"",headers:ie},siblingText:C([Z(L.closest("ul, ol, table, p")||L),Pe&&Pe!==document.body?Pe.innerText:""].filter(Boolean).join(" | "),240),target:pe?C(pe.innerText||pe.textContent||"",160):""});}let le=L=>{let z=L.tagName.match(/^H([1-6])$/);return z?Number(z[1]):j(L)==="heading"?Number(L.getAttribute("aria-level"))||2:0},fe=()=>Array.from(document.querySelectorAll("h1, h2, h3, h4, h5, h6, [role=heading]")).filter(L=>$(L)&&!F(L)&&!x(L));if(y.has("heading"))for(let L of fe()){let z=le(L),K=C(q(L),160);if(!K)continue;let J=(L.textContent||"").trim().length,Y=document.body;for(let pe=L.parentElement;pe&&pe!==document.body;pe=pe.parentElement)if((pe.textContent||"").trim().length-J>=40){Y=pe;break}let ie="",be=document.createTreeWalker(document.body,NodeFilter.SHOW_TEXT);be.currentNode=L;for(let pe=be.nextNode();pe&&ie.length<400&&Y.contains(pe);pe=be.nextNode()){let Be=pe.parentElement;if(!Be||L.contains(Be)||/^(script|style|noscript|template)$/i.test(Be.tagName)||F(Be)||!$(Be))continue;let at=Be.closest("h1, h2, h3, h4, h5, h6, [role=heading]");if(at&&at!==L&&le(at)<=z)break;at||(ie+=" "+(pe.textContent||""));}let Pe=Array.from(L.querySelectorAll("a[href]")),Re=Pe.length===1&&(Pe[0].textContent||"").replace(/\s+/g," ").trim()===(L.textContent||"").replace(/\s+/g," ").trim();ne("heading",{selector:b(L),html:I(L),rect:T(L),level:z,text:K,visible:M(L)&&!H(L),section:C(ie,400),linkTitle:Re});}if(y.has("formField")){let L=Array.from(document.querySelectorAll("input, select, textarea, [role=textbox], [role=combobox], [role=searchbox], [role=spinbutton], [role=listbox]")).filter(J=>!/^(hidden|submit|button|reset|image)$/i.test(J.type||"")&&!x(J)),z=J=>C(Array.from(J.labels||[]).map(Y=>Y.textContent||"").join(" ")||S(J.getAttribute("aria-labelledby")),60),K=fe();for(let J of L){let Y=[...Array.from(J.labels||[])];for(let pe of (J.getAttribute("aria-labelledby")||"").split(/\s+/).filter(Boolean)){let Be=document.getElementById(pe);Be&&Y.push(Be);}if(/^(none|presentation)$/.test(j(J)))continue;let ie=Y.map(pe=>({text:C(pe.textContent||"",120),visible:M(pe)&&!H(pe),inTree:$(pe)&&!F(pe)})).filter(pe=>pe.visible);if(!ie.length)continue;let be=J.closest("fieldset")?.querySelector("legend"),Pe=K.filter(pe=>pe.compareDocumentPosition(J)&Node.DOCUMENT_POSITION_FOLLOWING).pop(),Re=be||Pe||null;ne("formField",{selector:b(J),html:I(J),rect:T(J),type:J.type||J.tagName.toLowerCase(),role:j(J),nameAttr:J.getAttribute("name")||"",rendered:M(J),disabled:J.disabled===true,labels:ie,groupHeading:Re?{text:C(Re.textContent||"",100),visible:M(Re)}:null,otherLabels:L.filter(pe=>pe!==J).map(z).filter(Boolean).slice(0,10)});}}if(y.has("control")){let L="button, a[href], [role=button], [role=link], [role=checkbox], [role=menuitem], [role=menuitemcheckbox], [role=menuitemradio], [role=option], [role=radio], [role=switch], [role=tab], [role=treeitem], [role=gridcell]";for(let z of Array.from(document.querySelectorAll(L))){if(x(z)||!$(z)||F(z)||!z.hasAttribute("aria-label")&&!z.hasAttribute("aria-labelledby"))continue;let K=ee(z),J=C(K.map((ie,be)=>(be&&K[be-1].block!==ie.block?" ":"")+ie.raw).join(""),200);if(!J)continue;let Y=C(K.filter(ie=>ie.prominent).map(ie=>ie.text).join(" "),200);ne("control",{selector:b(z),html:I(z),rect:T(z),role:j(z)||z.tagName.toLowerCase(),name:C(q(z),200),visibleText:J,titleText:Y,fontFamily:C(B(z).fontFamily,80)});}}let me=L=>{let z=(L||"").trim().split("-")[0].toLowerCase();if(!/^[a-z]{2,3}$/.test(z))return false;try{let J=new Intl.DisplayNames(["en"],{type:"language"}).of(z);return !!J&&J.toLowerCase()!==z}catch{return z.length===2}},oe=L=>{let z="",K=[],J=L===document.documentElement&&document.body||L;if(!J)return {text:z,names:K};let Y=document.createTreeWalker(J,NodeFilter.SHOW_TEXT);for(let ie=Y.nextNode();ie&&z.length<600;ie=Y.nextNode()){let be=ie.parentElement;!be||/^(script|style|title)$/i.test(be.tagName)||be.closest("[lang]")===L&&(!$(be)||F(be)||(z+=" "+(ie.textContent||"")));}for(let ie of Array.from(J.querySelectorAll("[alt], [aria-label], [aria-labelledby]"))){if(ie.closest("[lang]")!==L||F(ie))continue;let be=C(q(ie),120);if(be&&K.push(be),K.length>=8)break}return {text:C(z,600),names:K}};if(y.has("page")&&document.documentElement.namespaceURI==="http://www.w3.org/1999/xhtml"){let L=document.documentElement,z=L.getAttribute("lang")||"",K=oe(L);ne("page",{selector:"html",html:C(`<html lang="${z}"><title>${document.title}</title>`,300),title:C(document.title||"",200),hasTitle:!!(document.title||"").trim(),lang:z,hasLang:me(z)&&!!(K.text||K.names.length),headings:fe().slice(0,10).map(J=>`h${le(J)} ${C(q(J),80)}`),text:C(document.body?.innerText||"",500),ownText:K.text,ownNames:K.names});}if(y.has("langElement"))for(let L of Array.from(document.querySelectorAll("body [lang], body[lang]"))){if(x(L))continue;let z=L.getAttribute("lang")||"";if(!me(z))continue;let K=oe(L);!K.text&&!K.names.length||ne("langElement",{selector:b(L),html:I(L),rect:T(L),lang:z,ownText:K.text,ownNames:K.names});}if(y.has("form"))for(let L of Array.from(document.querySelectorAll("form"))){if(x(L))continue;let K=Array.from(L.querySelectorAll("input, select, textarea")).filter(Y=>!/^(hidden|submit|button|reset|image)$/i.test(Y.type||"")).slice(0,15).map(Y=>{let ie=Y;return {label:C(q(Y),80),type:ie.type||Y.tagName.toLowerCase(),value:C(ie.value||"",40),required:ie.required===true,ariaInvalid:Y.getAttribute("aria-invalid")||"",valid:typeof ie.checkValidity=="function"?ie.checkValidity():true,describedBy:S(Y.getAttribute("aria-describedby")||Y.getAttribute("aria-errormessage"))}}),J=[];for(let Y of Array.from(L.querySelectorAll("*")))if(!(/^(label|legend|button|option|script|style|input|select|textarea)$/i.test(Y.tagName)||Y.closest("label, legend, button")||!Array.from(Y.childNodes).filter(be=>be.nodeType===3).map(be=>be.textContent||"").join(" ").trim())&&(J.push({text:C(Y.textContent||"",200),visible:M(Y),ariaHidden:F(Y)}),J.length>=10))break;ne("form",{selector:b(L),html:I(L),rect:T(L),hasMessages:J.length>0,fields:K,messages:J});}if(y.has("iframeGroup")){let L=[],z=(J,Y,ie,be)=>{if(!(be>3)){for(let Pe of Array.from(J.querySelectorAll("*")))if(Pe.shadowRoot&&z(Pe.shadowRoot,"shadow",ie||Pe,be+1),Pe.tagName==="IFRAME"){L.push({el:Pe,scope:Y,host:ie||Pe});try{let Re=Pe.contentDocument;Re&&z(Re,"nested-frame",ie||Pe,be+1);}catch{}}}};z(document,"top",null,0);let K=new Map;for(let J of L){if(x(J.host)||!$(J.el)||F(J.el))continue;let Y=C(q(J.el),120).toLowerCase();Y&&(K.get(Y)||K.set(Y,[]).get(Y)).push(J);}for(let[J,Y]of K)Y.length<2||ne("iframeGroup",{selector:b(Y[0].host),html:I(Y[0].el),rect:T(Y[0].host),name:J,frames:Y.slice(0,6).map(ie=>{let be="",Pe="";try{let Re=ie.el.contentDocument;be=C(Re?.title||"",100),Pe=C(Re?.body?.innerText||Re?.body?.textContent||"",300);}catch{}return {selector:b(ie.el),scope:ie.scope,src:C(ie.el.getAttribute("src")||(ie.el.hasAttribute("srcdoc")?"srcdoc":""),200),docTitle:be,text:Pe,inTree:$(ie.el)&&!F(ie.el)}})});}if(y.has("textBlocks")){let L=[];for(let Y of fe().slice(0,12))L.push(`heading h${le(Y)}: ${C(q(Y),60)}`);let z=Array.from(document.querySelectorAll("nav, main, aside, header, footer, [role=navigation], [role=main], [role=complementary], [role=banner], [role=contentinfo], [role=region], [role=search]")).filter(Y=>$(Y));for(let Y of z.slice(0,10))L.push(`landmark ${j(Y)||Y.tagName.toLowerCase()}${Y.getAttribute("aria-label")||Y.getAttribute("aria-labelledby")?` named "${C(q(Y)||S(Y.getAttribute("aria-labelledby")),40)}"`:" (unnamed)"}`);for(let Y of Array.from(document.querySelectorAll("button, a[href], [role=button]")).filter(ie=>$(ie)).slice(0,15))L.push(`${Y.tagName.toLowerCase()==="a"?"link":"button"}: ${C(q(Y),50)}`);for(let Y of Array.from(document.querySelectorAll("iframe")).slice(0,4)){let ie="";try{let be=Y.contentDocument;ie=be?Array.from(be.querySelectorAll("h1, h2, h3, h4, h5, h6")).map(Pe=>C(Pe.textContent||"",40)).join("; "):"";}catch{}L.push(`iframe title "${C(Y.getAttribute("title")||"",40)}" headings inside: ${ie||"none"}`);}let K=L.join(`
1018
- `),J=Array.from(document.querySelectorAll("p, li, td, th, dd, dt, label, figcaption, blockquote, caption, div, span")).filter(Y=>!x(Y)&&Array.from(Y.childNodes).some(ie=>ie.nodeType===3&&(ie.textContent||"").trim().length>2));for(let Y of J){if(Y.parentElement&&J.includes(Y.parentElement))continue;let ie=M(Y)&&!H(Y);!$(Y)||!ie&&F(Y)||ne("textBlocks",{selector:b(Y),html:I(Y),rect:T(Y),text:C(Y.textContent||"",220),visible:ie,ariaHidden:F(Y),outline:K});}}return {...w,cut:E}}async function iy(u,c,h=ny){if(!c.length)return {};try{await u.evaluate("if(typeof globalThis.__name==='undefined'){globalThis.__name=function(t){return t}}");}catch{}try{return await u.evaluate(XO,{kinds:c,max:h,caps:{...ay,...h<ny?Object.fromEntries(Object.keys(ay).map(p=>[p,h])):{}},own:ha})}catch{return {}}}var ny,UO,ay,oy=Fe(()=>{Ar();ny=40,UO=400,ay={control:UO};});function sy(u){let c=u;for(let h="";h!==c;)h=c,c=c.replace(KO," ");return c=c.toLowerCase().normalize("NFKD").replace(JO," ").trim(),c?c.split(/\s+/):[]}function YO(u){let c=sy(u);return c.length===1&&[...c[0].replace(/\p{M}/gu,"")].length===1&&/^\p{L}/u.test(c[0])?[]:c}function ly(u,c){let h=YO(u);if(!h.length)return true;let p=sy(c);for(let m=0;m+h.length<=p.length;m++){let v=true;for(let y=0;y<h.length&&v;y++)v=p[m+y]===h[y];if(v)return true}return false}var JO,KO,uy=Fe(()=>{JO=/[^\p{L}\p{N}\p{M}]+/gu,KO=/\([^()]*\)/g;});var fy={};mr(fy,{RUBRIC_BATCH_SIZE:()=>cy,parseRubricVerdicts:()=>ya,rubricPromptHash:()=>wa,rubricSystemPrompt:()=>Nn,rubricTransport:()=>Vc,runRubrics:()=>dy});function Vc(u){return u.transport?u.transport:u.apiKey?ys({apiKey:u.apiKey,baseUrl:u.baseUrl,visionModel:u.visionModel,textModel:u.textModel}):u.apiUrl?ws({apiUrl:u.apiUrl,token:u.apiToken,internalSecret:u.internalSecret}):null}function eN(u,c){if(u.evidence==="control"){let h=c;if(h.visibleText.trim()&&ly(h.visibleText,h.name))return {aspect:u.id,selector:h.selector,verdict:"passed",reason:"the ACT label-in-name algorithm finds the visible label in the accessible name",by:"rule"}}return null}function rN(u){let{selector:c,html:h,rect:p,outline:m,...v}=u;return v}async function dy(u,c){let h={findings:[],verdicts:[],inapplicable:[],undecided:0,undecidedWcag:[],calls:0,errors:[]},p=Vc(c.judge);if(!p)return h;let m=c.level??c.judge.level??"AA",v=exports.RUNNABLE_RUBRICS.filter(F=>(c.aspects?c.aspects.includes(F.id):F.status!=="below-bar")&&jr([{wcag:F.sc.join(","),level:F.level}],m).length>0);if(!v.length)return h;let y=Date.now()+(c.timeoutMs??c.judge.timeoutMs??ZO),w=c.warnings??[];await fc(u,w);let E=[...new Set(v.map(F=>F.evidence))],C=globalThis.process?.env?.WA_STRICT_STATE==="1",x=await uc(u,"rubric-evidence",w,()=>iy(u,E),{strict:C,bugs:c.bugs});if(c.rootSelector){let{scopeIssuesToRoot:F}=await Promise.resolve().then(()=>(Ii(),Fi));for(let $ of E){let M=x[$]||[];if(!M.length)continue;let H=new Set((await F(u,M,c.rootSelector)).issues);x[$]=M.filter(ee=>H.has(ee));}}let b=c.judge.vision!==false&&typeof u.screenshot=="function",_=c.batchSize??cy,D=Nc(c.judge),T=async F=>{let $=(x[F.evidence]||[]).filter(R=>tN(F,R)),M=[];for(let R of $){let S=eN(F,R);S?h.verdicts.push(S):M.push(R);}let H=x.cut?.[F.evidence]??0,ee=R=>{R<=0||(h.undecided+=R,h.undecidedWcag.includes(F.sc[0])||h.undecidedWcag.push(F.sc[0]));};if(H&&(ee(H),h.errors.push(`${F.id}: ${H} candidates over the evidence cap`)),!$.length){H||h.inapplicable.push(F.id);return}let N=0;for(let R=0;R<M.length;R+=_){let S=y-Date.now();if(S<=0){ee(M.length-R),h.errors.push(`${F.id}: deadline`);return}let P=M.slice(R,R+_),q=[];for(let[me,oe]of P.entries()){let L;if(F.vision&&b&&N<QO&&oe.rect){let z=await Bc(u,{rect:oe.rect,hidden:false,tag:String(oe.tag||"")},D);N++,L=z?.data;}q.push({id:`${F.id}#${R+me}`,type:F.issueType,wcag:F.sc[0],message:F.title,selector:String(oe.selector),html:String(oe.html||""),context:rN(oe),...L?{screenshot:L}:{}});}let j=P.find(me=>typeof me.outline=="string")?.outline,W=new AbortController,Z=setTimeout(()=>W.abort(),S),ne=null,le=false;h.calls++;try{let me=await Promise.race([p({url:c.url,level:m,vision:F.vision&&b,items:q,system:Nn(F),rubric:{id:F.id,hash:wa(F)},...j?{page:{outline:j}}:{}},W.signal),new Promise((oe,L)=>W.signal.addEventListener("abort",()=>L(new Error("rubric deadline"))))]);ne=ya(me),ne||h.errors.push(`${F.id}: malformed output`);}catch(me){h.errors.push(`${F.id}: ${me.message.slice(0,80)}`),le=me instanceof xn;}finally{clearTimeout(Z);}let fe=new Map(q.map((me,oe)=>[me.id,P[oe]]));for(let me of ne||[]){let oe=fe.get(me.id);if(!oe||me.verdict==="cantTell")continue;fe.delete(me.id);let L=Oc(me.reason);h.verdicts.push({aspect:F.id,selector:String(oe.selector),verdict:me.verdict,reason:L,by:"model"}),me.verdict==="failed"&&h.findings.push({id:`rubric-${F.id}-${On(String(oe.selector))}`,source:"webability",type:F.issueType,wcag:F.sc[0],level:F.level,impact:F.impact,message:`${F.title}: ${L||"failed the rubric"}`,selector:String(oe.selector),html:String(oe.html||"")});}if(ee(fe.size),le){ee(M.length-R-P.length);return}}},I=[...v],B=Array.from({length:Math.max(1,c.concurrency??3)},async()=>{for(let F=I.shift();F;F=I.shift())await T(F);});return await Promise.all(B),h.findings=await cc(u,h.findings,c.bugs),h}var cy,ZO,QO,tN,$c=Fe(()=>{wn();xs();Ar();hs();Si();Tc();oy();uy();cy=8,ZO=45e3,QO=12;tN=(u,c)=>u.where.every(h=>c[h.field]===h.value);});var fs=new Set(["adjacent_redundant_link","missing_button_type","decorative_image_with_title","nested_landmark"]),da={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",image_name_not_descriptive:"1.1.1",hidden_image_not_decorative:"1.1.1",weak_form_label:"2.4.6",page_language_mismatch:"3.1.1",element_language_mismatch:"3.1.2",error_message_not_descriptive:"3.3.1",iframe_same_name_different_content:"4.1.2",identical_links_different_purpose:"2.4.4",auto_update_no_pause:"2.2.2",adjacent_redundant_link:"2.4.4",missing_button_type:"3.2.2",decorative_image_with_title:"1.1.1",nested_landmark:"1.3.1"},vi={mobile:{width:375,height:667},tablet:{width:768,height:1024},desktop:{width:1280,height:720}};hs();var mb="1.19.0";wn();xc();async function Ac(u,c){return wc("axe",u,()=>VL(u,c))}async function VL(u,c){try{let{AxeBuilder:h}=await import('@axe-core/playwright'),p=typeof u.mainFrame=="function"?u:u.axePage?.()??u,m=await new h({page:p}).options({rules:mc(c)}).withTags(c).analyze();return await zL(u,m)}catch{return $L(u,c)}}async function $L(u,c){let h=await Promise.resolve().then(()=>ds(Ei())),p=h.source??h.default?.source;if(!p)throw new Error("axe-core source unavailable");try{await u.evaluate(p);}catch{let{inject:v}=await Promise.resolve().then(()=>(Ar(),yn));await v(u,{tool:"axe",content:p});}return await u.evaluate(({wcagTags:v,rules:y})=>new Promise((w,E)=>{let C=window;if(!C.axe)return E(new Error("axe-core not loaded"));C.axe.run(document,{runOnly:{type:"tag",values:v},rules:y,resultTypes:["violations","incomplete"]}).then(w).catch(E);}),{wcagTags:c,rules:mc(c)})}function jL(u,c){if(u=u.toLowerCase().replace(/^www\./,""),c=c.toLowerCase().replace(/^www\./,""),!u||!c)return false;if(u===c||u.endsWith("."+c)||c.endsWith("."+u))return true;let h=p=>{let m=p.split(".");if(m.length<=2)return p;let v=m[m.length-1],y=m[m.length-2],w=v.length===2&&["co","com","net","org","ac","gov","edu"].includes(y)?3:2;return m.slice(-w).join(".")};return h(u)===h(c)}async function zL(u,c){let h=new Set,p=C=>!Array.isArray(C)||C.length<2?null:JSON.stringify(C[0]);for(let C of [c.violations,c.incomplete])for(let x of C??[])for(let b of x.nodes??[]){let _=p(b.target);_&&h.add(_);}if(!h.size)return c;let m;try{m=await u.evaluate(C=>{let x={};for(let b of C){x[b]=null;try{let _=JSON.parse(b),D=Array.isArray(_)?_:[_],T=document,I=null;for(let M=0;M<D.length&&(I=T.querySelector(D[M]),!(!I||(M<D.length-1&&(T=I.shadowRoot),!T)));M++);if(!I||I.tagName!=="IFRAME"&&I.tagName!=="FRAME"||I.hasAttribute("srcdoc"))continue;let B=M=>M&&/^https?:/i.test(M)?M:"",F="",$=!1;try{F=B(I.contentWindow.location.href);}catch{$=!0;}if(F||(F=B(I.src)||B(I.getAttribute("data-src"))||B(I.getAttribute("data-lazy-src"))),!F){$&&(x[b]={frame:"",page:location.hostname});continue}x[b]={frame:new URL(F).hostname,page:location.hostname};}catch{}}return x},[...h]);}catch{return c}let v=C=>{let x=p(C),b=x?m[x]:null;return !b||b.frame&&jL(b.frame,b.page)?null:{insideFrameFrom:b.frame||"a cross-origin frame whose address cannot be read",pageHost:b.page,thirdPartyDocument:true}},y=[],w=(c.violations??[]).flatMap(C=>{let x=C.nodes??[],b=x.filter(D=>!v(D.target)),_=x.filter(D=>v(D.target)).map(D=>({...D,waEvidence:v(D.target)}));return _.length&&y.push({...C,nodes:_}),_.length?b.length?[{...C,nodes:b}]:[]:[C]}),E=(c.incomplete??[]).map(C=>C.nodes?.some(x=>v(x.target))?{...C,nodes:C.nodes.map(x=>v(x.target)?{...x,waEvidence:v(x.target)}:x)}:C);return {...c,violations:w,incomplete:[...E,...y]}}function _c(u){let c=[],h=[];for(let p of u)p.confidence==="needs_review"||WL(p)?h.push(p):c.push(GL(p));return {verdicts:c,undecided:h}}function GL(u){if(u.confidence===void 0&&u.reviewReason===void 0&&u.evidence===void 0)return u;let{confidence:c,reviewReason:h,evidence:p,...m}=u;return m}function WL(u){let c=(u.type||"").toLowerCase(),h=u.wcag||"",p=u.html||"",m=(u.message||"").toLowerCase();if((c==="contrast_insufficient"||c==="color-contrast"||h==="1.4.3"||h==="1.4.11")&&UL(p))return "background uses gradient or image";if(c==="image_of_text"||h==="1.4.5"){let v=wb(p,"src").toLowerCase();v.startsWith("data:")&&(v=v.split(",")[0]);let y=wb(p,"alt").toLowerCase();if(/\b(logo|brand|wordmark|hero|banner|footer|marketing|promo|cover)\b/.test(v))return "brand imagery";if(y.length>0&&/\b(logo|brand|product screenshot|dashboard)\b/.test(y))return "branded imagery"}return (c==="inconsistent_navigation"||m.includes("inconsistent navigation"))&&(/<footer/i.test(p)||/<aside/i.test(p))?"footer/aside nav":""}function UL(u){return /background(-image)?\s*:\s*(?:linear-gradient|radial-gradient|conic-gradient|url\()/i.test(u)}function wb(u,c){let h=new RegExp(`\\b${c}\\s*=\\s*"([^"]*)"`,"i"),p=u.match(h);return p?p[1]:""}Ec();xs();async function FO(u){let c=T=>({verdict:"drop",why:T}),h=null;try{h=document.querySelector(u.selector);}catch{return c("bad selector")}if(!h||h.tagName!=="VIDEO")return c("not a video");let p=getComputedStyle(h),m=h.getBoundingClientRect();if(p.display==="none"||p.visibility==="hidden"||h.closest("[hidden]")||m.width<100||m.height<50)return c("not visible/large enough");if(h.error)return c("failed load");let v=h.currentSrc||h.getAttribute("src")||h.querySelector("source")?.getAttribute("src")||"";if(!v||/^(blob|data|about|javascript):/i.test(v)||/\.(m3u8|mpd)(\?|$)/i.test(v))return c("no direct src / MSE");let y=h.hasAttribute("muted")||h.muted,w=h.hasAttribute("controls"),E=h.hasAttribute("autoplay")||h.autoplay,C=h.hasAttribute("loop")||h.loop,x=w||E&&!y;if(!x){let T=/play|pause|mute|unmute|sound|volume/i;for(let I=h.parentElement,B=0;I&&B<3&&!x;I=I.parentElement,B++)x=Array.from(I.querySelectorAll('button, [role="button"]')).some(F=>T.test((F.getAttribute("aria-label")||"")+" "+(F.getAttribute("title")||"")+" "+(F.textContent||"")));}if(!x)return c("not user-playable");if(y&&C&&!w)return c("decorative loop");if(h.hasAttribute("muted")&&!w&&!E)return c("muted");if(Number.isFinite(h.duration)&&h.duration>0&&h.duration<5)return c("under 5s");await new Promise(T=>setTimeout(T,2e3));for(let T of Array.from(h.querySelectorAll("track"))){let I=(T.getAttribute("kind")||"subtitles").toLowerCase();if((I==="captions"||I==="subtitles")&&T.getAttribute("src"))return c("has caption track")}let b=h.textTracks;for(let T=0;b&&T<b.length;T++)if(b[T].kind==="captions"||b[T].kind==="subtitles")return c("has text track");let _=h,D=null;if(typeof _.mozHasAudio=="boolean"?D=_.mozHasAudio:_.audioTracks&&typeof _.audioTracks.length=="number"&&(D=_.audioTracks.length>0?true:null),D===null&&typeof _.webkitAudioDecodedByteCount=="number"&&_.webkitAudioDecodedByteCount>0&&(D=true),D===null)try{let T=new AbortController,I=setTimeout(()=>T.abort(),u.fetchMs),B=await fetch(v,{headers:{Range:"bytes=0-"+(u.rangeBytes-1)},signal:T.signal}),F=new Uint8Array(u.rangeBytes),$=0,M=B.body?B.body.getReader():null;if(M)try{for(;$<u.rangeBytes;){let{done:N,value:R}=await M.read();if(N||!R)break;let S=Math.min(R.length,u.rangeBytes-$);F.set(R.subarray(0,S),$),$+=S;}}finally{try{await M.cancel();}catch{}}clearTimeout(I);let H=(N,R=0)=>{e:for(let S=R;S<=$-N.length;S++){for(let P=0;P<N.length;P++)if(F[S+P]!==N[P])continue e;return S}return -1},ee=N=>Array.from(N).map(R=>R.charCodeAt(0));H(ee("ftyp"))>=0&&H(ee("moov"))>=0?D=H(ee("hdlr"))>=0&&H(ee("soun"))>=0:F[0]===26&&F[1]===69&&F[2]===223&&F[3]===163&&H([22,84,174,107])>=0&&(D=H([131,129,2])>=0);}catch{D=null;}return D!==true?c(D===false?"silent":"audio unknowable"):{verdict:"violation"}}async function zb(u,c){let h=c.filter(v=>v.type==="missing_captions"&&/^<video\b/i.test(v.html??"")&&v.selector).slice(0,10);if(h.length===0)return [];let p=[],m=Date.now()+1e4;try{await u.evaluate("if(typeof globalThis.__name==='undefined'){globalThis.__name=function(t){return t}}");for(let v of h){if(Date.now()>m)break;let y=m-Date.now(),w,E=await Promise.race([u.evaluate(FO,{selector:v.selector,rangeBytes:1048576,fetchMs:4e3}),new Promise(C=>{w=setTimeout(()=>C(null),y);})]).finally(()=>w&&clearTimeout(w));if(!E)break;if(E.verdict==="violation"){let{confidence:C,reviewReason:x,evidence:b,..._}=v;p.push({..._,id:v.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 p}function Ub(){let u=m=>{let v=m.getBoundingClientRect();if(v.width===0||v.height===0)return false;let y=window.getComputedStyle(m);return y.visibility!=="hidden"&&y.display!=="none"&&y.opacity!=="0"},c=Array.from(document.querySelectorAll('input[type="password"]')),h=Array.from(document.querySelectorAll('button, input[type="submit"], a[role="button"]')).filter(u).map(m=>(m.value||m.textContent||"").trim().toLowerCase()).filter(m=>m.length>0&&m.length<40),p=Array.from(document.querySelectorAll("button, a")).filter(u).filter(m=>/sign in with|continue with|log in with/i.test(m.textContent||"")).length;return {passwordFields:c.length,visiblePasswordFields:c.filter(u).length,submitLabels:h,oauthButtons:p,formCount:document.querySelectorAll("form").length,bodyTextLength:(document.body?.innerText||"").trim().length,headingText:(document.querySelector("h1, h2")?.textContent||"").trim().slice(0,120).toLowerCase()}}var IO=/\b(log ?in|sign ?in|sign ?on|authenticate)\b/,MO=/\b(log ?in|sign ?in|sign ?on|authentication|welcome back|access denied|unauthori[sz]ed)\b/;function Gb(u){try{let c=new URL(u).pathname.toLowerCase();return /(^|\/)(login|signin|sign-in|log-in|auth|sso|session\/new|users\/sign_in)(\/|$)/.test(c)}catch{return false}}function Xb(u,c,h){if(Gb(c))return null;let p=Wb(c)!==Wb(h),m=u.submitLabels.some(b=>IO.test(b)),v=MO.test(u.headingText),y=Gb(h),w=[];y&&w.push("url"),m&&w.push("submit"),v&&w.push("heading"),p&&w.push("redirected");let E=u.visiblePasswordFields>0,C=u.oauthButtons>0&&u.bodyTextLength<600&&u.formCount<=1;if(!E&&!C||w.length<2)return null;let x=`${E?"password-field":"oauth-only"}+${w.join("+")}`;return {reason:`Scan did not reach the requested page \u2014 it landed on a sign-in page at ${h}. 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:x,finalUrl:h}}function Wb(u){try{let c=new URL(u);return `${c.origin}${c.pathname.replace(/\/+$/,"")}`.toLowerCase()}catch{return u.toLowerCase()}}wn();async function nN(u){try{return await u.evaluate(()=>{let c=(document.title||"").toLowerCase(),h=[["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[v,y]of h)if(c.includes(v))return {vendor:y,signal:`title:"${document.title}"`,needsCorroboration:!1};let p=[["#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[v,y]of p)if(document.querySelector(v))return {vendor:y,signal:`marker:${v}`,needsCorroboration:!1};if(window._cf_chl_opt)return {vendor:"Cloudflare",signal:"marker:window._cf_chl_opt",needsCorroboration:!1};let m=[["please wait...","Cloudflare"],["access denied","bot-challenge"]];for(let[v,y]of m)if(c.includes(v))return {vendor:y,signal:`title:"${document.title}"`,needsCorroboration:!0};return null})}catch{return null}}async function aN(u){try{return await u.evaluate(()=>{let c=document.querySelectorAll("body *").length;if(c>250)return null;let h=['[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 m of h)try{if(document.querySelector(m))return {signal:`marker:${m}`,elements:c}}catch{}let p=(document.title||"").toLowerCase();return p.includes("captcha")||p.includes("security check")||p.includes("bot verification")?{signal:`title:"${document.title}"`,elements:c}:null})}catch{return null}}async function iN(u,c){let h=await nN(u),p=typeof c=="number"&&c>=400,m=h&&(!h.needsCorroboration||p)?h:null;if(!m&&!p)return null;let v=[];return m&&v.push(`served a ${m.vendor} bot-challenge / interstitial page`),p&&v.push(`main document returned HTTP ${c}`),{reason:`Scan did not reach the real page \u2014 the target ${v.join(" and ")}. The returned issue list reflects the challenge/error page, not the intended site.`,...m?{vendor:m.vendor}:{},...typeof c=="number"?{status:c}:{},...m?{signal:m.signal}:p?{signal:`status:${c}`}:{}}}async function oN(u,c){let h=typeof u=="string",p={wcagTags:pc,includeAxe:true,deep:false,dismissModals:h,...c},m,v,y,w;if(h){y=u.startsWith("http")?u:`https://${u}`;let E=typeof p.viewport=="string"?vi[p.viewport]??vi.desktop:p.viewport??vi.desktop;v=await(await import('playwright')).chromium.launch({headless:p.browser?.headless??true}),m=await(await v.newContext({viewport:E})).newPage();let b=await m.goto(y,{waitUntil:"domcontentloaded",timeout:p.browser?.timeout??3e4});w=typeof b?.status=="function"?b.status():void 0;}else m=u,y=m.url(),w=p.mainStatus;if(p.dismissModals)try{let{dismissModals:E}=await Promise.resolve().then(()=>(Hc(),Kb));await E(m);}catch{}if(p.settle!==false)try{let{waitForRenderSettle:E}=await Promise.resolve().then(()=>(fa(),bi));await E(m,typeof p.settle=="number"?p.settle:void 0);}catch{}if(!v){let{snapshotInteractionState:E}=await Promise.resolve().then(()=>(_s(),As));await E(m);}try{let E=await m.evaluate(()=>performance.timeOrigin);try{let L=await m.evaluate(Ub),z=Xb(L,y,typeof m.url=="function"?m.url():y);if(z)return {url:y,timestamp:new Date().toISOString(),blocked:{reason:z.reason,signal:`auth-wall:${z.signal}`,...typeof w=="number"?{status:w}:{}},issues:[],incomplete:[],internal_bugs:[],summary:{total:0,critical:0,serious:0,moderate:0,minor:0,incomplete:0}}}catch{}let C=await iN(m,w);if(C)return {url:y,timestamp:new Date().toISOString(),blocked:C,issues:[],incomplete:[],internal_bugs:[],summary:{total:0,critical:0,serious:0,moderate:0,minor:0,incomplete:0}};let x=[],b=new Map,_=[],D=[],T=[],{guardDetectorState:I,dropToolingFindings:B}=await Promise.resolve().then(()=>(Ar(),yn)),F=await aN(m);F&&D.push(`challenge:suspected-interstitial (${F.signal}; ${F.elements} elements) \u2014 this looks like a bot-challenge/CAPTCHA page, not the real site; results may be invalid`),await(await Promise.resolve().then(()=>(Ar(),yn))).startProvenance(m);let{trackPageActivity:$,waitForInteractionSettle:M}=await Promise.resolve().then(()=>(fa(),bi));p.settle!==!1&&await $(m);let{takeTurn:H}=await Promise.resolve().then(()=>(xc(),bb)),ee=await H("detectors",m,()=>dc(m,_,D,{internalBugs:T,extraSerialDetectors:p.extraSerialDetectors,experimental:p.experimental}));x.push(...ee.map(gb));let{resetInteractionState:N,focusOnlyObscuredIndexes:R}=await Promise.resolve().then(()=>(_s(),As));if(await N(m),p.settle!==!1&&await M(m),p.includeAxe)try{let L=await I(m,"axe",D,()=>Ac(m,hb(p.wcagTags??pc,p.level)),{bugs:T});for(let z of L.violations){let K=z.id==="target-size"?await R(m,z.nodes):new Set;for(let[J,Y]of z.nodes.entries()){if(K.has(J)){T.push({tool:"axe",kind:"finding-dropped",detail:"target-size obscured only by a focus-only element (scanner focus state)",selector:ga(Y.target)});continue}x.push({id:`axe-${z.id}-${On(ga(Y.target))}`,source:"axe-core",type:z.id,wcag:bc(z.tags),level:yc(z.tags),impact:gc(z.impact),message:z.help,selector:ga(Y.target),html:Y.html?.slice(0,300)});}}for(let z of L.incomplete??[])for(let K of z.nodes){let J=`axe-incomplete-${z.id}-${On(ga(K.target))}`,Y=K.any?.[0]?.data?.messageKey;Y&&b.set(J,Y),x.push({id:J,source:"axe-core",type:z.id,wcag:bc(z.tags),level:yc(z.tags),impact:gc(z.impact),message:z.help,selector:ga(K.target),html:K.html?.slice(0,300),confidence:"needs_review",...K.waEvidence?{reviewReason:"this node is inside a frame served by another site; decide whether the page owner is responsible for it",evidence:K.waEvidence}:{reviewReason:"axe-core flagged this as needing human review"}});}}catch(L){T.push({tool:"axe",kind:"engine-failed",detail:`axe-core threw, its findings are absent: ${L?.message??String(L)}`});}let{deduplicateIssues:S}=await Promise.resolve().then(()=>(Hn(),Bn)),P=_c(x),q=S(P.verdicts);try{let{pruneInvisibleContrast:L}=await Promise.resolve().then(()=>(fa(),bi));q=await L(m,q);}catch{}try{let{pruneHiddenIframeIssues:L}=await Promise.resolve().then(()=>(fa(),bi));q=await L(m,q);}catch{}try{let{dedupeByElementIdentity:L}=await Promise.resolve().then(()=>(Hn(),Bn));q=await L(m,q);}catch{}try{q=await B(m,q,T);}catch{}try{let{verifyAnimatedGifs:L}=await Promise.resolve().then(()=>(ry(),ty));q=await L(m,q);}catch{}if(p.deep&&p.deepApiKey)try{let L=await sN(y,q,p);q.push(...L);}catch{}if(p.rootSelector)try{let{scopeIssuesToRoot:L}=await Promise.resolve().then(()=>(Ii(),Fi)),z=await L(m,q,p.rootSelector);q=z.issues,z.warning&&D.push(z.warning);}catch{}q=jr(q,p.level??"AA");let j=_c(q),W=j.verdicts,Z=[],ne=[],le=new Set;try{if(ne=[...P.undecided,...j.undecided],p.rootSelector){let{scopeIssuesToRoot:Y}=await Promise.resolve().then(()=>(Ii(),Fi));ne=(await Y(m,ne,p.rootSelector)).issues;}let L=new Map;await N(m);let z=await I(m,"contrast-pixels",D,()=>Rb(m,ne,b,L),{bugs:T}),K=await zb(m,ne),J=[...z,...K];if(le=new Set(J.map(Y=>`${Y.selector}|${Y.wcag}`)),J.length){let{deduplicateIssues:Y}=await Promise.resolve().then(()=>(Hn(),Bn));W=Y([...W,...J]);}{let Y=ne.filter(be=>!le.has(`${be.selector}|${be.wcag}`)),ie=await qc(m,Y,{...p.judge,url:y,level:p.judge?.level??p.level??"AA",measured:L});if(globalThis.process?.env?.WA_DEBUG_JUDGE&&console.error(`ai judge: ${Y.length} undecided before judge, ${ie.promoted.length} promoted, ${ie.judged.filter(be=>be.verdict==="pass").length} passed`),Z=ie.judged,ie.promoted.length){let{deduplicateIssues:be}=await Promise.resolve().then(()=>(Hn(),Bn));W=be([...W,...jr(ie.promoted,p.level??"AA")]);}}}catch{}let fe={count:0,wcag:[]};if(p.judge)try{let{runRubrics:L,rubricTransport:z}=await Promise.resolve().then(()=>($c(),fy));if(z(p.judge)){await N(m);let K=await L(m,{url:y,judge:p.judge,level:p.level??"AA",timeoutMs:p.judge.timeoutMs,bugs:T,warnings:D,rootSelector:p.rootSelector});fe={count:K.undecided,wcag:K.undecidedWcag};for(let Y of K.errors)D.push(`rubric ${Y}`);let J=jr(K.findings,p.level??"AA");if(J.length&&p.rootSelector){let{scopeIssuesToRoot:Y}=await Promise.resolve().then(()=>(Ii(),Fi));J=(await Y(m,J,p.rootSelector)).issues;}if(J.length){let{deduplicateIssues:Y}=await Promise.resolve().then(()=>(Hn(),Bn));W=Y([...W,...J]);}}}catch{}let me;{let L=new Set(Z.map(J=>J.id)),z=jr(ne,p.level??"AA").filter(J=>!le.has(`${J.selector}|${J.wcag}`)&&!L.has(J.id.replace("axe-incomplete-","axe-"))),K=z.length+fe.count;K&&(me={count:K,wcag:[...new Set([...z.map(J=>J.wcag),...fe.wcag])].sort()});}try{let{dedupeByElementIdentity:L}=await Promise.resolve().then(()=>(Hn(),Bn));W=await L(m,W);}catch{}try{W=await B(m,W,T);}catch{}if(await m.evaluate(()=>performance.timeOrigin)!==E)throw new Error(`the page's document was replaced during the scan (navigation to ${m.url()}); the findings mix two documents`);{let{attachMutations:L,stopProvenance:z}=await Promise.resolve().then(()=>(Ar(),yn));L(T,await z(m));}let oe={url:y,timestamp:new Date().toISOString(),engine:mb,issues:W,internal_bugs:T,incomplete:[],...Z.length?{judged:Z}:{},..._.length?{truncated:_}:{},...D.length?{engineWarnings:D}:{},...me?{unsettled:me}:{},...p.keepDetected?{detected:ee}:{},summary:vc(W)};if(p.review!==!1&&p.deepApiKey)try{oe=await lN(oe,p);}catch{}return oe}finally{let{stopProvenance:E}=await Promise.resolve().then(()=>(Ar(),yn));if(await E(m),v)await v.close();else {let{restoreInteractionState:C}=await Promise.resolve().then(()=>(_s(),As));await C(m);}}}async function sN(u,c,h){let p=h.deepApiUrl||"https://api.webability.io",m=await fetch(`${p}/cli/deep-scan`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`Bearer ${h.deepApiKey}`},body:JSON.stringify({url:u,standardIssues:c.slice(0,30).map(({source:y,...w})=>w)})});return m.ok?((await m.json()).issues??[]).map((y,w)=>({id:`deep-${w}-${On(y.selector||y.element||"")}`,source:"deep-analysis",type:`wcag-${y.wcag}`,wcag:y.wcag,level:"AA",impact:y.severity==="High"?"critical":y.severity==="Medium"?"serious":"moderate",message:y.message,selector:y.selector||y.element||""})):[]}function py(u){let c=u.fix?.attribute??"";return !!u.fix?.needsManualReview&&c!=="style"&&!c.startsWith("data-")}async function lN(u,c){let h=c.deepApiUrl||"https://api.webability.io",p=u.issues.filter(py);if(p.length===0)return u;try{let m=await fetch(`${h}/review-findings`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`Bearer ${c.deepApiKey}`},body:JSON.stringify({url:u.url,issues:p.slice(0,30).map(({source:E,...C})=>C)})});if(!m.ok)return u;let v=await m.json();if(!v.confirmed_ids)return u;let y=new Set(v.confirmed_ids),w=u.issues.filter(E=>!py(E)||y.has(E.id));return {...u,issues:w,summary:vc(w)}}catch{return u}}xs();$c();Si();var uN=20,Mi=class extends Error{constructor(h,p){super(h);this.status=p;this.name="FixJudgeHttpError";}status};function cN(u){let c=u.apiUrl.replace(/\/+$/,"");return async(h,p)=>{let m=await fetch(`${c}/api/judge-fixes`,{method:"POST",signal:p,redirect:"manual",headers:{"Content-Type":"application/json",...u.token?{Authorization:`Bearer ${u.token}`}:{},...u.mcpInternalSecret?{"x-mcp-internal":u.mcpInternalSecret}:{}},body:JSON.stringify(h)});if(m.status>=300&&m.status<400)throw new Mi(`fix judge endpoint redirected (HTTP ${m.status}); not followed`,m.status);if(!m.ok)throw new Mi(`fix judge endpoint HTTP ${m.status}`,m.status);return await m.json()}}wn();hs();wn();Si();var Vn={"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 hy(u){let c=u.replace(/"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'/g,'""').replace(/\[[^\]]*\]/g,"[]");return c.includes(">>>")||/\s>>\s/.test(c)}var $n=u=>u.trim().toLowerCase().replace(/-/g,"_"),dN=()=>Object.entries(da).filter(([u])=>!fs.has(u)).map(([,u])=>u),Es={axeRules:async()=>(await Promise.resolve().then(()=>ds(Ei()))).default.getRules(),detectorCriteria:dN,ruleIds:async()=>[...Object.keys(da),...(await Promise.resolve().then(()=>ds(Ei()))).default.getRules().map(u=>u.ruleId)],ruleCriteria:async u=>{let c=da[$n(u)];return c?[c]:((await Promise.resolve().then(()=>ds(Ei()))).default.getRules().find(p=>$n(p.ruleId)===$n(u))?.tags??[]).map(_i).filter(Boolean)}},gy=u=>!!exports.WCAG_LEVEL_MAP[u],fN=new Set(["3.2.3","3.2.4","1.2.5","2.4.9"]),jc;async function vy(u){if(!u&&jc)return jc;let c=u??Es,h=new Set;for(let p of await c.axeRules())for(let m of p.tags??[]){let v=_i(m);v&&h.add(v);}for(let p of c.detectorCriteria())h.add(String(p).trim());for(let p of fN)h.delete(p);for(let p of [...h])gy(p)||h.delete(p);return !u&&h.size>0&&(jc=h),h}async function by(u,c){try{let h=await vy(c),p=u.trim();if(h.size>0){if(h.has(p))return {verifiable:!0};if(/^\d+(\.\d+)?$/.test(p)&&[...h].some(m=>m.startsWith(p+".")))return {verifiable:!0}}}catch{}return {verifiable:false,reason:"not-verifiable"}}async function my(u,c){try{return (await(c??Es).ruleIds()).some(p=>$n(p)===$n(u))}catch{return false}}async function pN(u,c){try{let h=(c??Es).ruleCriteria;return h?(await h(u)).some(m=>gy(String(m).trim())):!0}catch{return false}}var yy=new Set(exports.RUNNABLE_RUBRICS.map(u=>u.issueType));async function mN(u,c){let h=c??Es;try{for(let m of await h.axeRules())for(let v of m.tags??[])if(_i(v)===u)return !1}catch{return true}let p=Object.entries(da).filter(([m,v])=>String(v).trim()===u&&!fs.has(m)).map(([m])=>m);return p.length>0&&p.every(m=>yy.has(m))}async function hN(u,c,h,p={judge:true}){let m=u?.trim(),v=y=>({reason:"not-verifiable",text:`UNVERIFIED: ${y} is decided only by the rubric agent, which needs an AI judge, and this scan has none, so a clean result would prove nothing (${Vn["not-verifiable"]}).`});if(m&&/^\d+(\.\d+)*$/.test(m)){let y=await by(m,h);if(!y.verifiable)return {reason:y.reason,text:`UNVERIFIED: WCAG ${u} is not checked by the engines verify_fix uses, so a clean result would prove nothing (${Vn[y.reason]}).`};if(!p.judge&&await mN(m,h))return v(`WCAG ${u}`)}else {if(m&&!p.judge&&yy.has($n(m)))return v(`"${u}"`);if(m&&fs.has($n(m)))return {reason:"not-verifiable",text:`UNVERIFIED: "${u}" is an experimental best-practice check that verify_fix does not run, so a clean result would prove nothing (${Vn["not-verifiable"]}).`};if(m&&await my(m,h)&&!await pN(m,h))return {reason:"not-verifiable",text:`UNVERIFIED: "${u}" only maps to criteria outside WCAG 2.2 (no conformance level), which the scan never reports, so a clean result would prove nothing (${Vn["not-verifiable"]}).`};if(m&&!await my(m,h))return {reason:"unknown_rule",isError:true,text:`UNVERIFIED: "${u}" is ${Vn.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 hy(c)?{reason:"unsupported-selector",text:`UNVERIFIED: \`${c}\` crosses a shadow root or iframe boundary; ${Vn["unsupported-selector"]}. Scope to the host element in the main document, or use scan_page.`}:null}Hc();function gN(u){let c={critical:"#dc2626",serious:"#ea580c",moderate:"#ca8a04",minor:"#6b7280"},h=u.issues.map(p=>`
1019
+ Omit "fix" for passes.`;qn=u=>Math.round(u*100)/100;RO=[1,.6,.35];});var Kb={};mr(Kb,{dismissModals:()=>Jb});async function Jb(u){await u.evaluate(c=>{for(let h of c){let p=document.querySelectorAll(h);for(let m of p)if(m.offsetParent!==null){m.click();return}}},PO),await new Promise(c=>setTimeout(c,500));}var PO,Hc=Fe(()=>{PO=['[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 As={};mr(As,{focusOnlyObscuredIndexes:()=>BO,resetInteractionState:()=>LO,restoreInteractionState:()=>NO,snapshotInteractionState:()=>OO});async function LO(u){try{await u.evaluate(()=>{try{document.activeElement?.blur?.();}catch{}try{window.scrollTo({left:0,top:0,behavior:"instant"});}catch{}});}catch{}}async function OO(u){try{await u.evaluate(()=>{let c=window;c.__waCallerState={el:document.activeElement,x:window.scrollX,y:window.scrollY};});}catch{}}async function NO(u){try{await u.evaluate(()=>{let c=window,h=c.__waCallerState;if(delete c.__waCallerState,!h)return;let p=h.el;if(p&&p!==document.body&&p!==document.documentElement&&p.isConnected)try{p.focus({preventScroll:!0});}catch{}try{window.scrollTo({left:h.x,top:h.y,behavior:"instant"});}catch{}});}catch{}}function qO(u){if(typeof u=="string")return u;if(!Array.isArray(u))return null;let c=u.flat(1/0).filter(h=>typeof h=="string");return c.length===1?c[0]:null}async function BO(u,c){let h=c.map(y=>{let E=[...y.any??[],...y.none??[]].flatMap(x=>x.relatedNodes??[]);if(!E.length)return null;let C=E.map(x=>qO(x.target));return C.every(x=>!!x)?C:null}),p=Array.from(new Set(h.flatMap(y=>y??[])));if(!p.length)return new Set;let m={};try{m=await u.evaluate(({sels:y,own:w})=>{let E=x=>{let b=x.getBoundingClientRect(),_=getComputedStyle(x);return !!((b.width<=1||b.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||""))},C={};for(let x of y){let b=null;try{b=document.querySelector(x);}catch{b=null;}if(!b){C[x]=!1;continue}let _=b.closest(w);if(_&&_!==document.body&&_!==document.documentElement){C[x]=!0;continue}if(b===document.activeElement){try{b.blur();}catch{}C[x]=E(b);continue}C[x]=E(b);}return C},{sels:p,own:ha});}catch{return new Set}let v=new Set;return h.forEach((y,w)=>{y&&y.length&&y.every(E=>m[E]===true)&&v.add(w);}),v}var _s=Fe(()=>{Ar();});var Bn={};mr(Bn,{dedupeByElementIdentity:()=>zO,deduplicateIssues:()=>HO});function HO(u){let c=new Map,h=[...u].sort((p,m)=>{let v={webability:0,"axe-core":1,"deep-analysis":2},y=v[p.source]??3,w=v[m.source]??3;return y-w});for(let p of h){let m=VO(p);c.has(m)?!c.get(m).fix?.suggestedValue&&p.fix?.suggestedValue&&c.set(m,p):c.set(m,p);}return Array.from(c.values())}function VO(u){let c=u.selector.replace(/:focus-visible$/,"").replace(/:focus$/,"").replace(/\[data-[^\]]+\]/g,"").trim(),h=u.wcag||"";return c&&h?`${c}::${h}`:`${u.type}::${c||u.id}`}async function zO(u,c){if(c.length<2)return c;let h=Array.from(new Set(c.map(x=>x.selector).filter(Boolean))),p;try{p=await u.evaluate(x=>{let b=Array.from(document.querySelectorAll("*")),_=new Map;b.forEach((T,I)=>_.set(T,I));let D={};for(let T of x){let I=null;try{I=document.querySelector(T);}catch{}if(!I){let B=T.replace(/:(?:focus-visible|focus-within|focus|hover|active)$/,"");if(B!==T)try{I=document.querySelector(B);}catch{}}if(I){let B=I.closest("table");D[T]={el:_.get(I),table:B?_.get(B):-1,doc:I===document.documentElement||I===document.body};}}return D},h);}catch{return c}let m={webability:0,"axe-core":1,"deep-analysis":2},v=x=>{let b=p[x.selector];if(!b)return null;let _=x.wcag||x.type;return b.doc?{key:jO.has(x.wcag||"")?`doc::${_}`:`doc::${_}::${x.type}`,owner:true}:b.table>=0&&$O.test(x.type)?{key:`${b.table}::${_}::table-headers`,owner:b.el===b.table}:Ds.has(x.type)?{key:`${b.el}::accessible-name`,owner:true}:{key:`${b.el}::${_}`,owner:true}},y=[...c].sort((x,b)=>{let _=v(x),D=v(b),T=_?.owner?0:1,I=D?.owner?0:1,B=Ds.has(x.type)&&Ds.has(b.type),R=B&&x.confidence==="needs_review"?1:0,$=B&&b.confidence==="needs_review"?1:0,M=B?Zb(x.type)-Zb(b.type):0;return T-I||R-$||(m[x.source]??3)-(m[b.source]??3)||M}),w=new Map,E=[];for(let x of y){let b=v(x);if(!b){E.push(x);continue}let _=w.get(b.key);_?!Ds.has(_.type)&&!_.fix?.suggestedValue&&x.fix?.suggestedValue&&(v(_)?.owner??true)===b.owner&&w.set(b.key,x):w.set(b.key,x);}let C=new Set([...w.values(),...E]);return c.filter(x=>C.has(x))}var $O,jO,Ds,Yb,Zb,Hn=Fe(()=>{$O=/^missing_table_header$|^td-has-header$|^th-has-data-cells$|^h43|^h63/,jO=new Set(["2.4.1","3.1.1","2.4.2"]),Ds=new Set(["missing_label","label","select-name","aria-input-field-name","empty_link","link-name","missing_alt","image-alt","background_image_unlabeled","unlabeled_button","button-name","input-button-name","svg_missing_name","svg-img-alt","role-img-alt"]),Yb=["background_image_unlabeled","unlabeled_button","missing_label","empty_link","missing_alt","svg_missing_name"],Zb=u=>{let c=Yb.indexOf(u);return c<0?Yb.length:c};});var ty={};mr(ty,{parseGif:()=>Qb,playsOverFiveSeconds:()=>ey,verifyAnimatedGifs:()=>GO});function Qb(u){if(String.fromCharCode(u[0]??0,u[1]??0,u[2]??0)!=="GIF")return null;let h=13,p=u[10]??0;p&128&&(h+=3*(1<<(p&7)+1));let m=0,v=0,y=0,w=null,E=()=>{for(;h<u.length;){let C=u[h++];if(C===0)return;h+=C;}};for(;h<u.length;){let C=u[h++];if(C===59)break;if(C===33){let x=u[h++];if(x===249)y=(u[h+2]??0)|(u[h+3]??0)<<8,h+=1+(u[h]??4),E();else if(x===255){let b=u[h]??0,_=String.fromCharCode(...Array.from(u.subarray(h+1,h+1+b)));h+=1+b,(_==="NETSCAPE2.0"||_==="ANIMEXTS1.0")&&u[h]===3&&u[h+1]===1&&(w=(u[h+2]??0)|(u[h+3]??0)<<8),E();}else E();}else if(C===44){let x=u[h+8]??0;h+=9,x&128&&(h+=3*(1<<(x&7)+1)),h+=1,E(),m++,v+=y<2?10:y,y=0;}else break}return {frames:m,seconds:v/100,loops:w}}function ey(u){if(u.frames<2)return false;if(u.loops===0)return true;let c=u.loops===null?1:u.loops+1;return u.seconds*c>5}async function GO(u,c){let h=c.filter(v=>v.type==="animated_gif_no_pause");if(!h.length)return c;let p=Array.from(new Set(h.map(v=>v.selector))),m={};try{m=await u.evaluate(async({sels:v,parserSrc:y})=>{let w=new Function("var __name = function (f) { return f }; return ("+y+")")(),E={};return await Promise.all(v.map(async C=>{E[C]=null;try{let x=document.querySelector(C),b=x&&(x.currentSrc||x.src);if(!b)return;let _=new AbortController,D=setTimeout(()=>_.abort(),5e3);try{let T=await fetch(b,{signal:_.signal,credentials:"same-origin"});if(!T.ok||Number(T.headers.get("content-length")||"0")>2e7)return;E[C]=w(new Uint8Array(await T.arrayBuffer()));}finally{clearTimeout(D);}}catch{}})),E},{sels:p,parserSrc:Qb.toString()});}catch{m={};}return c.flatMap(v=>{if(v.type!=="animated_gif_no_pause")return [v];let y=m[v.selector];if(!y)return [{...v,message:`${v.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(!ey(y))return [];let w=y.loops===0?"loops forever":`plays for ${(y.seconds*(y.loops===null?1:y.loops+1)).toFixed(1)}s`;return [{...v,message:`animated GIF (${y.frames} frames, ${w}) 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 ry=Fe(()=>{});var Fi={};mr(Fi,{scopeIssuesToRoot:()=>WO});async function WO(u,c,h){let p=Array.from(new Set(c.map(v=>v.selector).filter(Boolean))),m;try{m=await u.evaluate(({rootSel:v,sels:y})=>{let w=x=>{try{let _=document.querySelector(x);if(_)return _}catch{}let b=x.replace(/:(?:focus-visible|focus-within|focus|hover|active)$/,"");if(b!==x)try{return document.querySelector(b)}catch{return null}return null},E=null;try{E=document.querySelector(v);}catch{return {invalid:!0,matched:!1,within:{}}}if(!E)return {invalid:!1,matched:!1,within:{}};let C={};for(let x of y){let b=w(x);C[x]=b?b===E||E.contains(b):!0;}return {invalid:!1,matched:!0,within:C}},{rootSel:h,sels:p});}catch{return {issues:c,warning:`scope:evaluate-failed (${h}) \u2014 results unfiltered`}}return m.invalid?{issues:c,warning:`scope:invalid-selector (${h}) \u2014 results unfiltered`}:m.matched?{issues:c.filter(v=>v.selector?m.within[v.selector]===true:true)}:{issues:[],warning:`scope:root-miss (${h} matched nothing \u2014 empty result)`}}var Ii=Fe(()=>{});function XO(u){let{kinds:c,max:h,caps:p,own:m}=u,v=globalThis,y=new Set(c),w={},E={},C=(L,z)=>{let K=(L||"").replace(/\s+/g," ").trim();return K.length>z?K.slice(0,z-1)+"\u2026":K},x=L=>{try{if(L.closest(m)||typeof v.isWidget=="function"&&v.isWidget(L))return !0}catch{}return false},b=L=>{if(L===document.documentElement)return "html";try{if(typeof v.uniqueSel=="function")return v.uniqueSel(L)}catch{}let z=[];for(let K=L;K&&K!==document.documentElement;K=K.parentElement){let J=K.parentElement,Y=J?Array.from(J.children).filter(ie=>ie.tagName===K.tagName):[];z.unshift(K.tagName.toLowerCase()+(Y.length>1?`:nth-of-type(${Y.indexOf(K)+1})`:""));}return z.join(" > ")},_=window.scrollX||0,D=window.scrollY||0,T=L=>{let z=L.getBoundingClientRect();return {x:z.left+_,y:z.top+D,w:z.width,h:z.height}},I=L=>C(L.outerHTML||"",300),B=L=>getComputedStyle(L),R=L=>!!L.closest('[aria-hidden="true"]'),$=L=>{if(L.closest?.("[hidden]"))return false;let z=L;if(typeof z.checkVisibility=="function")return z.checkVisibility({visibilityProperty:true});let K=B(L);return K.display!=="none"&&K.visibility!=="hidden"},M=L=>{if(!$(L))return false;let z=T(L);return z.w>1&&z.h>1&&z.x+z.w>0&&z.y+z.h>0},H=L=>{let z=B(L),K=L.getBoundingClientRect();return /inset\(\s*(50|100)%/.test(z.clipPath||"")||/rect\(\s*0(px)?[\s,]+0(px)?[\s,]+0(px)?[\s,]+0(px)?\s*\)/.test(z.clip||"")?true:(K.width<=1||K.height<=1)&&z.overflow==="hidden"},ee=L=>{let z=Qe=>parseFloat(Qe||"0")||0,K=(Qe,We)=>{if(We.display==="none"||We.visibility==="hidden"||parseFloat(We.opacity||"1")===0||z(We.fontSize)===0||H(Qe))return true;if(We.position==="absolute"||We.position==="fixed"){let Mt=Qe.getBoundingClientRect();if(z(We.left)<=-999||z(We.top)<=-999||Mt.right<=0||Mt.bottom<=-(window.scrollY||0))return true}return false},J=[],Y=document.createTreeWalker(L,NodeFilter.SHOW_TEXT);for(let Qe=Y.nextNode();Qe;Qe=Y.nextNode()){let We=Qe.parentElement,Mt=(Qe.textContent||"").replace(/\s+/g," ").trim();if(!We||!Mt||!/[\p{L}\p{N}]/u.test(Mt))continue;let jn=false,dt=false;for(let Zt=We;Zt;Zt=Zt===L?null:Zt.parentElement)if(Zt.tagName==="KBD"&&(dt=true),/^(NOSCRIPT|SCRIPT|STYLE|TEMPLATE)$/.test(Zt.tagName)||K(Zt,B(Zt))){jn=true;break}jn||J.push({text:Mt,raw:Qe.textContent||"",kbd:dt,p:We});}let ie=0,be=J.length;for(;ie<be&&J[ie].kbd;)ie++;for(;be>ie&&J[be-1].kbd;)be--;let Pe=ie<be?J.slice(ie,be):J,Re="h1, h2, h3, h4, h5, h6, [role=heading]",pe=Pe.map(Qe=>{let We=B(Qe.p);return {size:z(We.fontSize),weight:parseInt(We.fontWeight||"400",10)||400,head:!!Qe.p.closest(Re)&&L.contains(Qe.p.closest(Re))}}),Be=Qe=>{for(let We=Qe;We&&We!==L;We=We.parentElement)if(!/^inline(?!-block)|^contents$/.test(B(We).display||""))return We;return L},at=Pe.map(Qe=>Be(Qe.p)),ze=pe.map(Qe=>Qe.size).filter(Qe=>Qe>0),ft=ze.length?Math.max(...ze):0,It=ze.length?Math.min(...ze):0,Se=pe.length?Math.min(...pe.map(Qe=>Qe.weight)):400,At=0;pe.forEach(Qe=>{!Qe.head&&Qe.weight<600&&Qe.size>At&&(At=Qe.size);});let _t=Qe=>Pe.some((We,Mt)=>at[Mt]===at[Qe]&&pe[Mt].weight<600&&!pe[Mt].head),kt=Pe.map((Qe,We)=>pe[We].head||ft>It&&pe[We].size>=ft||pe[We].weight>=600&&Se<600&&pe[We].size>=At&&!_t(We)),Pt=kt.every(Boolean);return Pe.map((Qe,We)=>({text:Qe.text,raw:Qe.raw,block:at[We],prominent:!Pt&&kt[We]}))},N=L=>{for(let z=L.parentElement;z;z=z.parentElement){let K=(z.getAttribute("role")||"").trim().toLowerCase();if(/^(banner|contentinfo|navigation|main|complementary)$/.test(K))return K;let J=z.tagName;if(J==="MAIN")return "main";if(J==="NAV")return "navigation";if(J==="ASIDE")return "complementary";if(J==="HEADER"||J==="FOOTER"){if(z.parentElement?.closest("article, aside, main, nav, section"))continue;return J==="HEADER"?"banner":"contentinfo"}}return ""},F=(L,z)=>{if(!z||z.tagName!=="A")return false;let K=(z.getAttribute("href")||"").trim(),J=/^\/(index\.\w+)?([?#].*)?$/.test(K);if(!J)try{let ie=new URL(K,location.href);J=ie.origin===location.origin&&/^\/(index\.\w+)?$/.test(ie.pathname);}catch{}return J?!z.innerText.replace(/\s+/g,"")&&z.querySelectorAll("img, svg, [role=img]").length>=1&&z.contains(L):false},S=L=>(L||"").split(/\s+/).filter(Boolean).map(z=>document.getElementById(z)).filter(Boolean).map(z=>C(z.textContent||"",200)).join(" ").trim(),P=L=>{let z="";for(let K of Array.from(L.childNodes))if(K.nodeType===3)z+=K.textContent;else if(K.nodeType===1){let J=K;if(/^(script|style|template)$/i.test(J.tagName))continue;J.tagName==="IMG"?z+=" "+(J.getAttribute("alt")||"")+" ":z+=" "+P(J)+" ";}return z},q=L=>{let z=S(L.getAttribute("aria-labelledby"));if(z)return z;let K=(L.getAttribute("aria-label")||"").trim();if(K)return K;let J=L.tagName.toLowerCase();if(J==="img"||J==="area"||J==="input"&&L.type==="image"){let Y=L.getAttribute("alt");if(Y!==null)return Y.trim()}if(/^(input|select|textarea)$/.test(J)){let ie=Array.from(L.labels||[]).map(be=>C(be.textContent||"",120)).join(" ").trim();if(ie)return ie}if(J==="svg"){let Y=L.querySelector(":scope > title");if(Y&&(Y.textContent||"").trim())return C(Y.textContent||"",120)}if(J==="object")return (L.getAttribute("title")||"").trim();if(L.matches("a, button, [role=link], [role=button], [role=heading], h1, h2, h3, h4, h5, h6, summary, [role=menuitem], [role=tab], [role=option]")){let Y=C(P(L),200);if(Y)return Y}return (L.getAttribute("title")||"").trim()},j=L=>(L.getAttribute("role")||"").trim().toLowerCase().split(/\s+/)[0]||"",W=(L,z)=>{let K=L.parentElement?.closest("p, li, figure, td, th, dd, blockquote, section, article, div, body");return K?C(K.innerText||K.textContent||"",z):""},Z=L=>{let z=L.previousElementSibling;return z?C(z.innerText||z.textContent||"",160):""},ne=(L,z)=>{let K=w[L]||=[];K.length<(p[L]??h)?K.push(z):E[L]=(E[L]||0)+1;};if(y.has("image")){let L=new Set,z=Array.from(document.querySelectorAll("img, svg, canvas, input[type=image], object, embed, [role=img]")).filter(pe=>!(pe.tagName.toLowerCase()==="svg"&&pe.parentElement?.closest("svg"))),K=[],J=document.body?Array.from(document.body.querySelectorAll("*")).slice(0,3e3):[];for(let pe of J)/url\(/i.test(B(pe).backgroundImage||"")&&!z.includes(pe)&&K.push(pe);let Y=[],ie=new Map;for(let pe of [...z,...K]){if(L.has(pe)||x(pe))continue;L.add(pe);let Be=pe.tagName.toLowerCase(),at=j(pe),ze=K.includes(pe),ft=q(pe),It=R(pe),Se=at==="none"||at==="presentation",At=$(pe)&&!It&&!Se;Be==="img"&&pe.getAttribute("alt")===""&&!pe.getAttribute("aria-label")&&!pe.getAttribute("aria-labelledby")&&!pe.getAttribute("title")&&(At=false),(Be==="svg"||Be==="canvas"||ze)&&at!=="img"&&!ft&&(At=false),ze&&at!=="img"&&(At=false);let _t=true;if(Be==="img"){let Mt=pe;_t=!(Mt.complete&&(Mt.naturalWidth===0||Mt.naturalWidth<=1&&Mt.naturalHeight<=1));}let kt=pe.parentElement?.closest("a[href], button, [role=button], [role=link]")||null,Pt=!!kt&&!!((kt.getAttribute("aria-label")||"").trim()||kt.getAttribute("aria-labelledby")),Qe=ze?(B(pe).backgroundImage.match(/url\(["']?([^"')]+)/)||[])[1]||"":pe.currentSrc||pe.getAttribute("src")||pe.getAttribute("data")||pe.querySelector("image")?.getAttribute("href")||"",We={selector:b(pe),html:I(pe),rect:T(pe),tag:Be,role:at,name:ft,alt:pe.getAttribute("alt"),ariaHidden:It,inTree:At,hasName:!!ft,rendered:M(pe)&&_t,cssBackground:ze,svgText:Be==="svg"&&!!pe.querySelector("text"),ownText:ze?C(ee(pe).map(Mt=>Mt.text).join(" "),160):"",src:/^data:/i.test(Qe)?Qe.slice(0,60):C(Qe,200),insideNamedControl:Pt,controlName:kt?C(q(kt),120):"",landmark:N(pe),homeLink:F(pe,kt),nearbyText:C([Z(pe),W(pe,200)].filter(Boolean).join(" | "),260)};Y.push(We),ie.set(We,pe);}Y.sort((pe,Be)=>+!!Be.rendered-+!!pe.rendered);let be=window.scrollX,Pe=window.scrollY;for(let pe of Y.slice(0,p.image??h)){if(pe.covered=false,!pe.rendered)continue;let Be=ie.get(pe);if(Be)try{Be.scrollIntoView({block:"center",inline:"center"});let at=Be.getBoundingClientRect(),ze=document.elementFromPoint(at.left+at.width/2,at.top+at.height/2);pe.covered=!!ze&&ze!==Be&&!Be.contains(ze)&&!ze.contains(Be)&&!(Be.tagName.toLowerCase()==="svg"&&Be.contains(ze));}catch{}}window.scrollTo(be,Pe);let Re=p.image??h;Y.forEach((pe,Be)=>{Be<Re?ne("image",pe):pe.rendered&&!pe.svgText&&(E.image=(E.image||0)+1);});}if(y.has("link"))for(let L of Array.from(document.querySelectorAll("a[href], area[href], [role=link]"))){if(x(L))continue;let z=j(L);if(z&&z!=="link"||!$(L)||R(L))continue;let K=q(L);if(!K)continue;let J=[];for(let Be=L.closest("li");Be;Be=Be.parentElement?.closest("li")||null){let at="";for(let ze of Array.from(Be.childNodes))(ze.nodeType===3||ze.nodeType===1&&!/^(ul|ol)$/i.test(ze.tagName))&&(at+=" "+(ze.innerText??ze.textContent??""));J.push(C(at,160));}let Y=L.closest("td, th"),ie=[];if(Y){let Be=Y.parentElement,at=Y.closest("table"),ze=Array.from(Be?.children||[]).indexOf(Y);for(let ft of (Y.getAttribute("headers")||"").split(/\s+/).filter(Boolean)){let It=document.getElementById(ft);It&&ie.push(C(It.textContent||"",80));}if(at&&ze>=0){for(let It of Array.from(at.querySelectorAll("tr"))){let Se=It.children[ze];Se&&Se!==Y&&Se.tagName==="TH"&&ie.push(C(Se.textContent||"",80));let At=It.children[0];It===Be&&At&&At!==Y&&At.tagName==="TH"&&ie.push(C(At.textContent||"",80));}let ft=at.querySelector("tr > th[colspan]");ft&&ft!==Y&&!ie.length&&ie.push(C(ft.textContent||"",80));}}let be=L.closest("p"),Pe=be||J.length||Y?null:L.parentElement,Re=L.getAttribute("href")||"",pe=Re.startsWith("#")&&Re.length>1?document.getElementById(decodeURIComponent(Re.slice(1))):null;ne("link",{selector:b(L),html:I(L),rect:T(L),name:C(K,160),href:C(Re,200),describedBy:S(L.getAttribute("aria-describedby")),context:{paragraph:be?C(be.innerText||be.textContent||"",300):"",listItems:J,cell:Y?C(Y.innerText||"",160):"",headers:ie},siblingText:C([Z(L.closest("ul, ol, table, p")||L),Pe&&Pe!==document.body?Pe.innerText:""].filter(Boolean).join(" | "),240),target:pe?C(pe.innerText||pe.textContent||"",160):""});}let le=L=>{let z=L.tagName.match(/^H([1-6])$/);return z?Number(z[1]):j(L)==="heading"?Number(L.getAttribute("aria-level"))||2:0},fe=()=>Array.from(document.querySelectorAll("h1, h2, h3, h4, h5, h6, [role=heading]")).filter(L=>$(L)&&!R(L)&&!x(L));if(y.has("heading"))for(let L of fe()){let z=le(L),K=C(q(L),160);if(!K)continue;let J=(L.textContent||"").trim().length,Y=document.body;for(let pe=L.parentElement;pe&&pe!==document.body;pe=pe.parentElement)if((pe.textContent||"").trim().length-J>=40){Y=pe;break}let ie="",be=document.createTreeWalker(document.body,NodeFilter.SHOW_TEXT);be.currentNode=L;for(let pe=be.nextNode();pe&&ie.length<400&&Y.contains(pe);pe=be.nextNode()){let Be=pe.parentElement;if(!Be||L.contains(Be)||/^(script|style|noscript|template)$/i.test(Be.tagName)||R(Be)||!$(Be))continue;let at=Be.closest("h1, h2, h3, h4, h5, h6, [role=heading]");if(at&&at!==L&&le(at)<=z)break;at||(ie+=" "+(pe.textContent||""));}let Pe=Array.from(L.querySelectorAll("a[href]")),Re=Pe.length===1&&(Pe[0].textContent||"").replace(/\s+/g," ").trim()===(L.textContent||"").replace(/\s+/g," ").trim();ne("heading",{selector:b(L),html:I(L),rect:T(L),level:z,text:K,visible:M(L)&&!H(L),section:C(ie,400),linkTitle:Re});}if(y.has("formField")){let L=Array.from(document.querySelectorAll("input, select, textarea, [role=textbox], [role=combobox], [role=searchbox], [role=spinbutton], [role=listbox]")).filter(J=>!/^(hidden|submit|button|reset|image)$/i.test(J.type||"")&&!x(J)),z=J=>C(Array.from(J.labels||[]).map(Y=>Y.textContent||"").join(" ")||S(J.getAttribute("aria-labelledby")),60),K=fe();for(let J of L){let Y=[...Array.from(J.labels||[])];for(let pe of (J.getAttribute("aria-labelledby")||"").split(/\s+/).filter(Boolean)){let Be=document.getElementById(pe);Be&&Y.push(Be);}if(/^(none|presentation)$/.test(j(J)))continue;let ie=Y.map(pe=>({text:C(pe.textContent||"",120),visible:M(pe)&&!H(pe),inTree:$(pe)&&!R(pe)})).filter(pe=>pe.visible);if(!ie.length)continue;let be=J.closest("fieldset")?.querySelector("legend"),Pe=K.filter(pe=>pe.compareDocumentPosition(J)&Node.DOCUMENT_POSITION_FOLLOWING).pop(),Re=be||Pe||null;ne("formField",{selector:b(J),html:I(J),rect:T(J),type:J.type||J.tagName.toLowerCase(),role:j(J),nameAttr:J.getAttribute("name")||"",rendered:M(J),disabled:J.disabled===true,labels:ie,groupHeading:Re?{text:C(Re.textContent||"",100),visible:M(Re)}:null,otherLabels:L.filter(pe=>pe!==J).map(z).filter(Boolean).slice(0,10)});}}if(y.has("control")){let L="button, a[href], [role=button], [role=link], [role=checkbox], [role=menuitem], [role=menuitemcheckbox], [role=menuitemradio], [role=option], [role=radio], [role=switch], [role=tab], [role=treeitem], [role=gridcell]";for(let z of Array.from(document.querySelectorAll(L))){if(x(z)||!$(z)||R(z)||!z.hasAttribute("aria-label")&&!z.hasAttribute("aria-labelledby"))continue;let K=ee(z),J=C(K.map((ie,be)=>(be&&K[be-1].block!==ie.block?" ":"")+ie.raw).join(""),200);if(!J)continue;let Y=C(K.filter(ie=>ie.prominent).map(ie=>ie.text).join(" "),200);ne("control",{selector:b(z),html:I(z),rect:T(z),role:j(z)||z.tagName.toLowerCase(),name:C(q(z),200),visibleText:J,titleText:Y,fontFamily:C(B(z).fontFamily,80)});}}let me=L=>{let z=(L||"").trim().split("-")[0].toLowerCase();if(!/^[a-z]{2,3}$/.test(z))return false;try{let J=new Intl.DisplayNames(["en"],{type:"language"}).of(z);return !!J&&J.toLowerCase()!==z}catch{return z.length===2}},oe=L=>{let z="",K=[],J=L===document.documentElement&&document.body||L;if(!J)return {text:z,names:K};let Y=document.createTreeWalker(J,NodeFilter.SHOW_TEXT);for(let ie=Y.nextNode();ie&&z.length<600;ie=Y.nextNode()){let be=ie.parentElement;!be||/^(script|style|title)$/i.test(be.tagName)||be.closest("[lang]")===L&&(!$(be)||R(be)||(z+=" "+(ie.textContent||"")));}for(let ie of Array.from(J.querySelectorAll("[alt], [aria-label], [aria-labelledby]"))){if(ie.closest("[lang]")!==L||R(ie))continue;let be=C(q(ie),120);if(be&&K.push(be),K.length>=8)break}return {text:C(z,600),names:K}};if(y.has("page")&&document.documentElement.namespaceURI==="http://www.w3.org/1999/xhtml"){let L=document.documentElement,z=L.getAttribute("lang")||"",K=oe(L);ne("page",{selector:"html",html:C(`<html lang="${z}"><title>${document.title}</title>`,300),title:C(document.title||"",200),hasTitle:!!(document.title||"").trim(),lang:z,hasLang:me(z)&&!!(K.text||K.names.length),headings:fe().slice(0,10).map(J=>`h${le(J)} ${C(q(J),80)}`),text:C(document.body?.innerText||"",500),ownText:K.text,ownNames:K.names});}if(y.has("langElement"))for(let L of Array.from(document.querySelectorAll("body [lang], body[lang]"))){if(x(L))continue;let z=L.getAttribute("lang")||"";if(!me(z))continue;let K=oe(L);!K.text&&!K.names.length||ne("langElement",{selector:b(L),html:I(L),rect:T(L),lang:z,ownText:K.text,ownNames:K.names});}if(y.has("form"))for(let L of Array.from(document.querySelectorAll("form"))){if(x(L))continue;let K=Array.from(L.querySelectorAll("input, select, textarea")).filter(Y=>!/^(hidden|submit|button|reset|image)$/i.test(Y.type||"")).slice(0,15).map(Y=>{let ie=Y;return {label:C(q(Y),80),type:ie.type||Y.tagName.toLowerCase(),value:C(ie.value||"",40),required:ie.required===true,ariaInvalid:Y.getAttribute("aria-invalid")||"",valid:typeof ie.checkValidity=="function"?ie.checkValidity():true,describedBy:S(Y.getAttribute("aria-describedby")||Y.getAttribute("aria-errormessage"))}}),J=[];for(let Y of Array.from(L.querySelectorAll("*")))if(!(/^(label|legend|button|option|script|style|input|select|textarea)$/i.test(Y.tagName)||Y.closest("label, legend, button")||!Array.from(Y.childNodes).filter(be=>be.nodeType===3).map(be=>be.textContent||"").join(" ").trim())&&(J.push({text:C(Y.textContent||"",200),visible:M(Y),ariaHidden:R(Y)}),J.length>=10))break;ne("form",{selector:b(L),html:I(L),rect:T(L),hasMessages:J.length>0,fields:K,messages:J});}if(y.has("iframeGroup")){let L=[],z=(J,Y,ie,be)=>{if(!(be>3)){for(let Pe of Array.from(J.querySelectorAll("*")))if(Pe.shadowRoot&&z(Pe.shadowRoot,"shadow",ie||Pe,be+1),Pe.tagName==="IFRAME"){L.push({el:Pe,scope:Y,host:ie||Pe});try{let Re=Pe.contentDocument;Re&&z(Re,"nested-frame",ie||Pe,be+1);}catch{}}}};z(document,"top",null,0);let K=new Map;for(let J of L){if(x(J.host)||!$(J.el)||R(J.el))continue;let Y=C(q(J.el),120).toLowerCase();Y&&(K.get(Y)||K.set(Y,[]).get(Y)).push(J);}for(let[J,Y]of K)Y.length<2||ne("iframeGroup",{selector:b(Y[0].host),html:I(Y[0].el),rect:T(Y[0].host),name:J,frames:Y.slice(0,6).map(ie=>{let be="",Pe="";try{let Re=ie.el.contentDocument;be=C(Re?.title||"",100),Pe=C(Re?.body?.innerText||Re?.body?.textContent||"",300);}catch{}return {selector:b(ie.el),scope:ie.scope,src:C(ie.el.getAttribute("src")||(ie.el.hasAttribute("srcdoc")?"srcdoc":""),200),docTitle:be,text:Pe,inTree:$(ie.el)&&!R(ie.el)}})});}if(y.has("textBlocks")){let L=[];for(let Y of fe().slice(0,12))L.push(`heading h${le(Y)}: ${C(q(Y),60)}`);let z=Array.from(document.querySelectorAll("nav, main, aside, header, footer, [role=navigation], [role=main], [role=complementary], [role=banner], [role=contentinfo], [role=region], [role=search]")).filter(Y=>$(Y));for(let Y of z.slice(0,10))L.push(`landmark ${j(Y)||Y.tagName.toLowerCase()}${Y.getAttribute("aria-label")||Y.getAttribute("aria-labelledby")?` named "${C(q(Y)||S(Y.getAttribute("aria-labelledby")),40)}"`:" (unnamed)"}`);for(let Y of Array.from(document.querySelectorAll("button, a[href], [role=button]")).filter(ie=>$(ie)).slice(0,15))L.push(`${Y.tagName.toLowerCase()==="a"?"link":"button"}: ${C(q(Y),50)}`);for(let Y of Array.from(document.querySelectorAll("iframe")).slice(0,4)){let ie="";try{let be=Y.contentDocument;ie=be?Array.from(be.querySelectorAll("h1, h2, h3, h4, h5, h6")).map(Pe=>C(Pe.textContent||"",40)).join("; "):"";}catch{}L.push(`iframe title "${C(Y.getAttribute("title")||"",40)}" headings inside: ${ie||"none"}`);}let K=L.join(`
1020
+ `),J=Array.from(document.querySelectorAll("p, li, td, th, dd, dt, label, figcaption, blockquote, caption, div, span")).filter(Y=>!x(Y)&&Array.from(Y.childNodes).some(ie=>ie.nodeType===3&&(ie.textContent||"").trim().length>2));for(let Y of J){if(Y.parentElement&&J.includes(Y.parentElement))continue;let ie=M(Y)&&!H(Y);!$(Y)||!ie&&R(Y)||ne("textBlocks",{selector:b(Y),html:I(Y),rect:T(Y),text:C(Y.textContent||"",220),visible:ie,ariaHidden:R(Y),outline:K});}}return {...w,cut:E}}async function iy(u,c,h=ny){if(!c.length)return {};try{await u.evaluate("if(typeof globalThis.__name==='undefined'){globalThis.__name=function(t){return t}}");}catch{}try{return await u.evaluate(XO,{kinds:c,max:h,caps:{...ay,...h<ny?Object.fromEntries(Object.keys(ay).map(p=>[p,h])):{}},own:ha})}catch{return {}}}var ny,UO,ay,oy=Fe(()=>{Ar();ny=40,UO=400,ay={control:UO};});function sy(u){let c=u;for(let h="";h!==c;)h=c,c=c.replace(KO," ");return c=c.toLowerCase().normalize("NFKD").replace(JO," ").trim(),c?c.split(/\s+/):[]}function YO(u){let c=sy(u);return c.length===1&&[...c[0].replace(/\p{M}/gu,"")].length===1&&/^\p{L}/u.test(c[0])?[]:c}function ly(u,c){let h=YO(u);if(!h.length)return true;let p=sy(c);for(let m=0;m+h.length<=p.length;m++){let v=true;for(let y=0;y<h.length&&v;y++)v=p[m+y]===h[y];if(v)return true}return false}var JO,KO,uy=Fe(()=>{JO=/[^\p{L}\p{N}\p{M}]+/gu,KO=/\([^()]*\)/g;});var fy={};mr(fy,{RUBRIC_BATCH_SIZE:()=>cy,parseRubricVerdicts:()=>ya,rubricPromptHash:()=>wa,rubricSystemPrompt:()=>Nn,rubricTransport:()=>Vc,runRubrics:()=>dy});function Vc(u){return u.transport?u.transport:u.apiKey?ys({apiKey:u.apiKey,baseUrl:u.baseUrl,visionModel:u.visionModel,textModel:u.textModel}):u.apiUrl?ws({apiUrl:u.apiUrl,token:u.apiToken,internalSecret:u.internalSecret}):null}function eN(u,c){if(u.evidence==="control"){let h=c;if(h.visibleText.trim()&&ly(h.visibleText,h.name))return {aspect:u.id,selector:h.selector,verdict:"passed",reason:"the ACT label-in-name algorithm finds the visible label in the accessible name",by:"rule"}}return null}function rN(u){let{selector:c,html:h,rect:p,outline:m,...v}=u;return v}async function dy(u,c){let h={findings:[],verdicts:[],inapplicable:[],undecided:0,undecidedWcag:[],calls:0,errors:[]},p=Vc(c.judge);if(!p)return h;let m=c.level??c.judge.level??"AA",v=exports.RUNNABLE_RUBRICS.filter(R=>(c.aspects?c.aspects.includes(R.id):R.status!=="below-bar"||!!c.judge.rubrics?.includes(R.id))&&jr([{wcag:R.sc.join(","),level:R.level}],m).length>0);if(!v.length)return h;let y=Date.now()+(c.timeoutMs??c.judge.timeoutMs??ZO),w=c.warnings??[];await fc(u,w);let E=[...new Set(v.map(R=>R.evidence))],C=globalThis.process?.env?.WA_STRICT_STATE==="1",x=await uc(u,"rubric-evidence",w,()=>iy(u,E),{strict:C,bugs:c.bugs});if(c.rootSelector){let{scopeIssuesToRoot:R}=await Promise.resolve().then(()=>(Ii(),Fi));for(let $ of E){let M=x[$]||[];if(!M.length)continue;let H=new Set((await R(u,M,c.rootSelector)).issues);x[$]=M.filter(ee=>H.has(ee));}}let b=c.judge.vision!==false&&typeof u.screenshot=="function",_=c.batchSize??cy,D=Nc(c.judge),T=async R=>{let $=(x[R.evidence]||[]).filter(F=>tN(R,F)),M=[];for(let F of $){let S=eN(R,F);S?h.verdicts.push(S):M.push(F);}let H=x.cut?.[R.evidence]??0,ee=F=>{F<=0||(h.undecided+=F,h.undecidedWcag.includes(R.sc[0])||h.undecidedWcag.push(R.sc[0]));};if(H&&(ee(H),h.errors.push(`${R.id}: ${H} candidates over the evidence cap`)),!$.length){H||h.inapplicable.push(R.id);return}let N=0;for(let F=0;F<M.length;F+=_){let S=y-Date.now();if(S<=0){ee(M.length-F),h.errors.push(`${R.id}: deadline`);return}let P=M.slice(F,F+_),q=[];for(let[me,oe]of P.entries()){let L;if(R.vision&&b&&N<QO&&oe.rect){let z=await Bc(u,{rect:oe.rect,hidden:false,tag:String(oe.tag||"")},D);N++,L=z?.data;}q.push({id:`${R.id}#${F+me}`,type:R.issueType,wcag:R.sc[0],message:R.title,selector:String(oe.selector),html:String(oe.html||""),context:rN(oe),...L?{screenshot:L}:{}});}let j=P.find(me=>typeof me.outline=="string")?.outline,W=new AbortController,Z=setTimeout(()=>W.abort(),S),ne=null,le=false;h.calls++;try{let me=await Promise.race([p({url:c.url,level:m,vision:R.vision&&b,items:q,system:Nn(R),rubric:{id:R.id,hash:wa(R)},...j?{page:{outline:j}}:{}},W.signal),new Promise((oe,L)=>W.signal.addEventListener("abort",()=>L(new Error("rubric deadline"))))]);ne=ya(me),ne||h.errors.push(`${R.id}: malformed output`);}catch(me){h.errors.push(`${R.id}: ${me.message.slice(0,80)}`),le=me instanceof xn;}finally{clearTimeout(Z);}let fe=new Map(q.map((me,oe)=>[me.id,P[oe]]));for(let me of ne||[]){let oe=fe.get(me.id);if(!oe||me.verdict==="cantTell")continue;fe.delete(me.id);let L=Oc(me.reason);h.verdicts.push({aspect:R.id,selector:String(oe.selector),verdict:me.verdict,reason:L,by:"model"}),me.verdict==="failed"&&h.findings.push({id:`rubric-${R.id}-${On(String(oe.selector))}`,source:"webability",type:R.issueType,wcag:R.sc[0],level:R.level,impact:R.impact,message:`${R.title}: ${L||"failed the rubric"}`,selector:String(oe.selector),html:String(oe.html||"")});}if(ee(fe.size),le){ee(M.length-F-P.length);return}}},I=[...v],B=Array.from({length:Math.max(1,c.concurrency??3)},async()=>{for(let R=I.shift();R;R=I.shift())await T(R);});return await Promise.all(B),h.findings=await cc(u,h.findings,c.bugs),h}var cy,ZO,QO,tN,$c=Fe(()=>{wn();xs();Ar();hs();Si();Tc();oy();uy();cy=8,ZO=45e3,QO=12;tN=(u,c)=>u.where.every(h=>c[h.field]===h.value);});var fs=new Set(["adjacent_redundant_link","missing_button_type","decorative_image_with_title","nested_landmark"]),da={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",image_name_not_descriptive:"1.1.1",hidden_image_not_decorative:"1.1.1",weak_form_label:"2.4.6",page_language_mismatch:"3.1.1",element_language_mismatch:"3.1.2",error_message_not_descriptive:"3.3.1",iframe_same_name_different_content:"4.1.2",identical_links_different_purpose:"2.4.4",auto_update_no_pause:"2.2.2",adjacent_redundant_link:"2.4.4",missing_button_type:"3.2.2",decorative_image_with_title:"1.1.1",nested_landmark:"1.3.1"},vi={mobile:{width:375,height:667},tablet:{width:768,height:1024},desktop:{width:1280,height:720}};hs();var mb="1.19.1";wn();xc();async function Ac(u,c){return wc("axe",u,()=>VL(u,c))}async function VL(u,c){try{let{AxeBuilder:h}=await import('@axe-core/playwright'),p=typeof u.mainFrame=="function"?u:u.axePage?.()??u,m=await new h({page:p}).options({rules:mc(c)}).withTags(c).analyze();return await zL(u,m)}catch{return $L(u,c)}}async function $L(u,c){let h=await Promise.resolve().then(()=>ds(Ei())),p=h.source??h.default?.source;if(!p)throw new Error("axe-core source unavailable");try{await u.evaluate(p);}catch{let{inject:v}=await Promise.resolve().then(()=>(Ar(),yn));await v(u,{tool:"axe",content:p});}return await u.evaluate(({wcagTags:v,rules:y})=>new Promise((w,E)=>{let C=window;if(!C.axe)return E(new Error("axe-core not loaded"));C.axe.run(document,{runOnly:{type:"tag",values:v},rules:y,resultTypes:["violations","incomplete"]}).then(w).catch(E);}),{wcagTags:c,rules:mc(c)})}function jL(u,c){if(u=u.toLowerCase().replace(/^www\./,""),c=c.toLowerCase().replace(/^www\./,""),!u||!c)return false;if(u===c||u.endsWith("."+c)||c.endsWith("."+u))return true;let h=p=>{let m=p.split(".");if(m.length<=2)return p;let v=m[m.length-1],y=m[m.length-2],w=v.length===2&&["co","com","net","org","ac","gov","edu"].includes(y)?3:2;return m.slice(-w).join(".")};return h(u)===h(c)}async function zL(u,c){let h=new Set,p=C=>!Array.isArray(C)||C.length<2?null:JSON.stringify(C[0]);for(let C of [c.violations,c.incomplete])for(let x of C??[])for(let b of x.nodes??[]){let _=p(b.target);_&&h.add(_);}if(!h.size)return c;let m;try{m=await u.evaluate(C=>{let x={};for(let b of C){x[b]=null;try{let _=JSON.parse(b),D=Array.isArray(_)?_:[_],T=document,I=null;for(let M=0;M<D.length&&(I=T.querySelector(D[M]),!(!I||(M<D.length-1&&(T=I.shadowRoot),!T)));M++);if(!I||I.tagName!=="IFRAME"&&I.tagName!=="FRAME"||I.hasAttribute("srcdoc"))continue;let B=M=>M&&/^https?:/i.test(M)?M:"",R="",$=!1;try{R=B(I.contentWindow.location.href);}catch{$=!0;}if(R||(R=B(I.src)||B(I.getAttribute("data-src"))||B(I.getAttribute("data-lazy-src"))),!R){$&&(x[b]={frame:"",page:location.hostname});continue}x[b]={frame:new URL(R).hostname,page:location.hostname};}catch{}}return x},[...h]);}catch{return c}let v=C=>{let x=p(C),b=x?m[x]:null;return !b||b.frame&&jL(b.frame,b.page)?null:{insideFrameFrom:b.frame||"a cross-origin frame whose address cannot be read",pageHost:b.page,thirdPartyDocument:true}},y=[],w=(c.violations??[]).flatMap(C=>{let x=C.nodes??[],b=x.filter(D=>!v(D.target)),_=x.filter(D=>v(D.target)).map(D=>({...D,waEvidence:v(D.target)}));return _.length&&y.push({...C,nodes:_}),_.length?b.length?[{...C,nodes:b}]:[]:[C]}),E=(c.incomplete??[]).map(C=>C.nodes?.some(x=>v(x.target))?{...C,nodes:C.nodes.map(x=>v(x.target)?{...x,waEvidence:v(x.target)}:x)}:C);return {...c,violations:w,incomplete:[...E,...y]}}function _c(u){let c=[],h=[];for(let p of u)p.confidence==="needs_review"||WL(p)?h.push(p):c.push(GL(p));return {verdicts:c,undecided:h}}function GL(u){if(u.confidence===void 0&&u.reviewReason===void 0&&u.evidence===void 0)return u;let{confidence:c,reviewReason:h,evidence:p,...m}=u;return m}function WL(u){let c=(u.type||"").toLowerCase(),h=u.wcag||"",p=u.html||"",m=(u.message||"").toLowerCase();if((c==="contrast_insufficient"||c==="color-contrast"||h==="1.4.3"||h==="1.4.11")&&UL(p))return "background uses gradient or image";if(c==="image_of_text"||h==="1.4.5"){let v=wb(p,"src").toLowerCase();v.startsWith("data:")&&(v=v.split(",")[0]);let y=wb(p,"alt").toLowerCase();if(/\b(logo|brand|wordmark|hero|banner|footer|marketing|promo|cover)\b/.test(v))return "brand imagery";if(y.length>0&&/\b(logo|brand|product screenshot|dashboard)\b/.test(y))return "branded imagery"}return (c==="inconsistent_navigation"||m.includes("inconsistent navigation"))&&(/<footer/i.test(p)||/<aside/i.test(p))?"footer/aside nav":""}function UL(u){return /background(-image)?\s*:\s*(?:linear-gradient|radial-gradient|conic-gradient|url\()/i.test(u)}function wb(u,c){let h=new RegExp(`\\b${c}\\s*=\\s*"([^"]*)"`,"i"),p=u.match(h);return p?p[1]:""}Ec();xs();async function FO(u){let c=T=>({verdict:"drop",why:T}),h=null;try{h=document.querySelector(u.selector);}catch{return c("bad selector")}if(!h||h.tagName!=="VIDEO")return c("not a video");let p=getComputedStyle(h),m=h.getBoundingClientRect();if(p.display==="none"||p.visibility==="hidden"||h.closest("[hidden]")||m.width<100||m.height<50)return c("not visible/large enough");if(h.error)return c("failed load");let v=h.currentSrc||h.getAttribute("src")||h.querySelector("source")?.getAttribute("src")||"";if(!v||/^(blob|data|about|javascript):/i.test(v)||/\.(m3u8|mpd)(\?|$)/i.test(v))return c("no direct src / MSE");let y=h.hasAttribute("muted")||h.muted,w=h.hasAttribute("controls"),E=h.hasAttribute("autoplay")||h.autoplay,C=h.hasAttribute("loop")||h.loop,x=w||E&&!y;if(!x){let T=/play|pause|mute|unmute|sound|volume/i;for(let I=h.parentElement,B=0;I&&B<3&&!x;I=I.parentElement,B++)x=Array.from(I.querySelectorAll('button, [role="button"]')).some(R=>T.test((R.getAttribute("aria-label")||"")+" "+(R.getAttribute("title")||"")+" "+(R.textContent||"")));}if(!x)return c("not user-playable");if(y&&C&&!w)return c("decorative loop");if(h.hasAttribute("muted")&&!w&&!E)return c("muted");if(Number.isFinite(h.duration)&&h.duration>0&&h.duration<5)return c("under 5s");await new Promise(T=>setTimeout(T,2e3));for(let T of Array.from(h.querySelectorAll("track"))){let I=(T.getAttribute("kind")||"subtitles").toLowerCase();if((I==="captions"||I==="subtitles")&&T.getAttribute("src"))return c("has caption track")}let b=h.textTracks;for(let T=0;b&&T<b.length;T++)if(b[T].kind==="captions"||b[T].kind==="subtitles")return c("has text track");let _=h,D=null;if(typeof _.mozHasAudio=="boolean"?D=_.mozHasAudio:_.audioTracks&&typeof _.audioTracks.length=="number"&&(D=_.audioTracks.length>0?true:null),D===null&&typeof _.webkitAudioDecodedByteCount=="number"&&_.webkitAudioDecodedByteCount>0&&(D=true),D===null)try{let T=new AbortController,I=setTimeout(()=>T.abort(),u.fetchMs),B=await fetch(v,{headers:{Range:"bytes=0-"+(u.rangeBytes-1)},signal:T.signal}),R=new Uint8Array(u.rangeBytes),$=0,M=B.body?B.body.getReader():null;if(M)try{for(;$<u.rangeBytes;){let{done:N,value:F}=await M.read();if(N||!F)break;let S=Math.min(F.length,u.rangeBytes-$);R.set(F.subarray(0,S),$),$+=S;}}finally{try{await M.cancel();}catch{}}clearTimeout(I);let H=(N,F=0)=>{e:for(let S=F;S<=$-N.length;S++){for(let P=0;P<N.length;P++)if(R[S+P]!==N[P])continue e;return S}return -1},ee=N=>Array.from(N).map(F=>F.charCodeAt(0));H(ee("ftyp"))>=0&&H(ee("moov"))>=0?D=H(ee("hdlr"))>=0&&H(ee("soun"))>=0:R[0]===26&&R[1]===69&&R[2]===223&&R[3]===163&&H([22,84,174,107])>=0&&(D=H([131,129,2])>=0);}catch{D=null;}return D!==true?c(D===false?"silent":"audio unknowable"):{verdict:"violation"}}async function zb(u,c){let h=c.filter(v=>v.type==="missing_captions"&&/^<video\b/i.test(v.html??"")&&v.selector).slice(0,10);if(h.length===0)return [];let p=[],m=Date.now()+1e4;try{await u.evaluate("if(typeof globalThis.__name==='undefined'){globalThis.__name=function(t){return t}}");for(let v of h){if(Date.now()>m)break;let y=m-Date.now(),w,E=await Promise.race([u.evaluate(FO,{selector:v.selector,rangeBytes:1048576,fetchMs:4e3}),new Promise(C=>{w=setTimeout(()=>C(null),y);})]).finally(()=>w&&clearTimeout(w));if(!E)break;if(E.verdict==="violation"){let{confidence:C,reviewReason:x,evidence:b,..._}=v;p.push({..._,id:v.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 p}function Ub(){let u=m=>{let v=m.getBoundingClientRect();if(v.width===0||v.height===0)return false;let y=window.getComputedStyle(m);return y.visibility!=="hidden"&&y.display!=="none"&&y.opacity!=="0"},c=Array.from(document.querySelectorAll('input[type="password"]')),h=Array.from(document.querySelectorAll('button, input[type="submit"], a[role="button"]')).filter(u).map(m=>(m.value||m.textContent||"").trim().toLowerCase()).filter(m=>m.length>0&&m.length<40),p=Array.from(document.querySelectorAll("button, a")).filter(u).filter(m=>/sign in with|continue with|log in with/i.test(m.textContent||"")).length;return {passwordFields:c.length,visiblePasswordFields:c.filter(u).length,submitLabels:h,oauthButtons:p,formCount:document.querySelectorAll("form").length,bodyTextLength:(document.body?.innerText||"").trim().length,headingText:(document.querySelector("h1, h2")?.textContent||"").trim().slice(0,120).toLowerCase()}}var IO=/\b(log ?in|sign ?in|sign ?on|authenticate)\b/,MO=/\b(log ?in|sign ?in|sign ?on|authentication|welcome back|access denied|unauthori[sz]ed)\b/;function Gb(u){try{let c=new URL(u).pathname.toLowerCase();return /(^|\/)(login|signin|sign-in|log-in|auth|sso|session\/new|users\/sign_in)(\/|$)/.test(c)}catch{return false}}function Xb(u,c,h){if(Gb(c))return null;let p=Wb(c)!==Wb(h),m=u.submitLabels.some(b=>IO.test(b)),v=MO.test(u.headingText),y=Gb(h),w=[];y&&w.push("url"),m&&w.push("submit"),v&&w.push("heading"),p&&w.push("redirected");let E=u.visiblePasswordFields>0,C=u.oauthButtons>0&&u.bodyTextLength<600&&u.formCount<=1;if(!E&&!C||w.length<2)return null;let x=`${E?"password-field":"oauth-only"}+${w.join("+")}`;return {reason:`Scan did not reach the requested page \u2014 it landed on a sign-in page at ${h}. 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:x,finalUrl:h}}function Wb(u){try{let c=new URL(u);return `${c.origin}${c.pathname.replace(/\/+$/,"")}`.toLowerCase()}catch{return u.toLowerCase()}}wn();async function nN(u){try{return await u.evaluate(()=>{let c=(document.title||"").toLowerCase(),h=[["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[v,y]of h)if(c.includes(v))return {vendor:y,signal:`title:"${document.title}"`,needsCorroboration:!1};let p=[["#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[v,y]of p)if(document.querySelector(v))return {vendor:y,signal:`marker:${v}`,needsCorroboration:!1};if(window._cf_chl_opt)return {vendor:"Cloudflare",signal:"marker:window._cf_chl_opt",needsCorroboration:!1};let m=[["please wait...","Cloudflare"],["access denied","bot-challenge"]];for(let[v,y]of m)if(c.includes(v))return {vendor:y,signal:`title:"${document.title}"`,needsCorroboration:!0};return null})}catch{return null}}async function aN(u){try{return await u.evaluate(()=>{let c=document.querySelectorAll("body *").length;if(c>250)return null;let h=['[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 m of h)try{if(document.querySelector(m))return {signal:`marker:${m}`,elements:c}}catch{}let p=(document.title||"").toLowerCase();return p.includes("captcha")||p.includes("security check")||p.includes("bot verification")?{signal:`title:"${document.title}"`,elements:c}:null})}catch{return null}}async function iN(u,c){let h=await nN(u),p=typeof c=="number"&&c>=400,m=h&&(!h.needsCorroboration||p)?h:null;if(!m&&!p)return null;let v=[];return m&&v.push(`served a ${m.vendor} bot-challenge / interstitial page`),p&&v.push(`main document returned HTTP ${c}`),{reason:`Scan did not reach the real page \u2014 the target ${v.join(" and ")}. The returned issue list reflects the challenge/error page, not the intended site.`,...m?{vendor:m.vendor}:{},...typeof c=="number"?{status:c}:{},...m?{signal:m.signal}:p?{signal:`status:${c}`}:{}}}async function oN(u,c){let h=typeof u=="string",p={wcagTags:pc,includeAxe:true,deep:false,dismissModals:h,...c},m,v,y,w;if(h){y=u.startsWith("http")?u:`https://${u}`;let E=typeof p.viewport=="string"?vi[p.viewport]??vi.desktop:p.viewport??vi.desktop;v=await(await import('playwright')).chromium.launch({headless:p.browser?.headless??true}),m=await(await v.newContext({viewport:E})).newPage();let b=await m.goto(y,{waitUntil:"domcontentloaded",timeout:p.browser?.timeout??3e4});w=typeof b?.status=="function"?b.status():void 0;}else m=u,y=m.url(),w=p.mainStatus;if(p.dismissModals)try{let{dismissModals:E}=await Promise.resolve().then(()=>(Hc(),Kb));await E(m);}catch{}if(p.settle!==false)try{let{waitForRenderSettle:E}=await Promise.resolve().then(()=>(fa(),bi));await E(m,typeof p.settle=="number"?p.settle:void 0);}catch{}if(!v){let{snapshotInteractionState:E}=await Promise.resolve().then(()=>(_s(),As));await E(m);}try{let E=await m.evaluate(()=>performance.timeOrigin);try{let L=await m.evaluate(Ub),z=Xb(L,y,typeof m.url=="function"?m.url():y);if(z)return {url:y,timestamp:new Date().toISOString(),blocked:{reason:z.reason,signal:`auth-wall:${z.signal}`,...typeof w=="number"?{status:w}:{}},issues:[],incomplete:[],internal_bugs:[],summary:{total:0,critical:0,serious:0,moderate:0,minor:0,incomplete:0}}}catch{}let C=await iN(m,w);if(C)return {url:y,timestamp:new Date().toISOString(),blocked:C,issues:[],incomplete:[],internal_bugs:[],summary:{total:0,critical:0,serious:0,moderate:0,minor:0,incomplete:0}};let x=[],b=new Map,_=[],D=[],T=[],{guardDetectorState:I,dropToolingFindings:B}=await Promise.resolve().then(()=>(Ar(),yn)),R=await aN(m);R&&D.push(`challenge:suspected-interstitial (${R.signal}; ${R.elements} elements) \u2014 this looks like a bot-challenge/CAPTCHA page, not the real site; results may be invalid`),await(await Promise.resolve().then(()=>(Ar(),yn))).startProvenance(m);let{trackPageActivity:$,waitForInteractionSettle:M}=await Promise.resolve().then(()=>(fa(),bi));p.settle!==!1&&await $(m);let{takeTurn:H}=await Promise.resolve().then(()=>(xc(),bb)),ee=await H("detectors",m,()=>dc(m,_,D,{internalBugs:T,extraSerialDetectors:p.extraSerialDetectors,experimental:p.experimental}));x.push(...ee.map(gb));let{resetInteractionState:N,focusOnlyObscuredIndexes:F}=await Promise.resolve().then(()=>(_s(),As));if(await N(m),p.settle!==!1&&await M(m),p.includeAxe)try{let L=await I(m,"axe",D,()=>Ac(m,hb(p.wcagTags??pc,p.level)),{bugs:T});for(let z of L.violations){let K=z.id==="target-size"?await F(m,z.nodes):new Set;for(let[J,Y]of z.nodes.entries()){if(K.has(J)){T.push({tool:"axe",kind:"finding-dropped",detail:"target-size obscured only by a focus-only element (scanner focus state)",selector:ga(Y.target)});continue}x.push({id:`axe-${z.id}-${On(ga(Y.target))}`,source:"axe-core",type:z.id,wcag:bc(z.tags),level:yc(z.tags),impact:gc(z.impact),message:z.help,selector:ga(Y.target),html:Y.html?.slice(0,300)});}}for(let z of L.incomplete??[])for(let K of z.nodes){let J=`axe-incomplete-${z.id}-${On(ga(K.target))}`,Y=K.any?.[0]?.data?.messageKey;Y&&b.set(J,Y),x.push({id:J,source:"axe-core",type:z.id,wcag:bc(z.tags),level:yc(z.tags),impact:gc(z.impact),message:z.help,selector:ga(K.target),html:K.html?.slice(0,300),confidence:"needs_review",...K.waEvidence?{reviewReason:"this node is inside a frame served by another site; decide whether the page owner is responsible for it",evidence:K.waEvidence}:{reviewReason:"axe-core flagged this as needing human review"}});}}catch(L){T.push({tool:"axe",kind:"engine-failed",detail:`axe-core threw, its findings are absent: ${L?.message??String(L)}`});}let{deduplicateIssues:S}=await Promise.resolve().then(()=>(Hn(),Bn)),P=_c(x),q=S(P.verdicts);try{let{pruneInvisibleContrast:L}=await Promise.resolve().then(()=>(fa(),bi));q=await L(m,q);}catch{}try{let{pruneHiddenIframeIssues:L}=await Promise.resolve().then(()=>(fa(),bi));q=await L(m,q);}catch{}try{let{dedupeByElementIdentity:L}=await Promise.resolve().then(()=>(Hn(),Bn));q=await L(m,q);}catch{}try{q=await B(m,q,T);}catch{}try{let{verifyAnimatedGifs:L}=await Promise.resolve().then(()=>(ry(),ty));q=await L(m,q);}catch{}if(p.deep&&p.deepApiKey)try{let L=await sN(y,q,p);q.push(...L);}catch{}if(p.rootSelector)try{let{scopeIssuesToRoot:L}=await Promise.resolve().then(()=>(Ii(),Fi)),z=await L(m,q,p.rootSelector);q=z.issues,z.warning&&D.push(z.warning);}catch{}q=jr(q,p.level??"AA");let j=_c(q),W=j.verdicts,Z=[],ne=[],le=new Set;try{if(ne=[...P.undecided,...j.undecided],p.rootSelector){let{scopeIssuesToRoot:Y}=await Promise.resolve().then(()=>(Ii(),Fi));ne=(await Y(m,ne,p.rootSelector)).issues;}let L=new Map;await N(m);let z=await I(m,"contrast-pixels",D,()=>Rb(m,ne,b,L),{bugs:T}),K=await zb(m,ne),J=[...z,...K];if(le=new Set(J.map(Y=>`${Y.selector}|${Y.wcag}`)),J.length){let{deduplicateIssues:Y}=await Promise.resolve().then(()=>(Hn(),Bn));W=Y([...W,...J]);}{let Y=ne.filter(be=>!le.has(`${be.selector}|${be.wcag}`)),ie=await qc(m,Y,{...p.judge,url:y,level:p.judge?.level??p.level??"AA",measured:L});if(globalThis.process?.env?.WA_DEBUG_JUDGE&&console.error(`ai judge: ${Y.length} undecided before judge, ${ie.promoted.length} promoted, ${ie.judged.filter(be=>be.verdict==="pass").length} passed`),Z=ie.judged,ie.promoted.length){let{deduplicateIssues:be}=await Promise.resolve().then(()=>(Hn(),Bn));W=be([...W,...jr(ie.promoted,p.level??"AA")]);}}}catch{}let fe={count:0,wcag:[]};if(p.judge)try{let{runRubrics:L,rubricTransport:z}=await Promise.resolve().then(()=>($c(),fy));if(z(p.judge)){await N(m);let K=await L(m,{url:y,judge:p.judge,level:p.level??"AA",timeoutMs:p.judge.timeoutMs,bugs:T,warnings:D,rootSelector:p.rootSelector});fe={count:K.undecided,wcag:K.undecidedWcag};for(let Y of K.errors)D.push(`rubric ${Y}`);let J=jr(K.findings,p.level??"AA");if(J.length&&p.rootSelector){let{scopeIssuesToRoot:Y}=await Promise.resolve().then(()=>(Ii(),Fi));J=(await Y(m,J,p.rootSelector)).issues;}if(J.length){let{deduplicateIssues:Y}=await Promise.resolve().then(()=>(Hn(),Bn));W=Y([...W,...J]);}}}catch{}let me;{let L=new Set(Z.map(J=>J.id)),z=jr(ne,p.level??"AA").filter(J=>!le.has(`${J.selector}|${J.wcag}`)&&!L.has(J.id.replace("axe-incomplete-","axe-"))),K=z.length+fe.count;K&&(me={count:K,wcag:[...new Set([...z.map(J=>J.wcag),...fe.wcag])].sort()});}try{let{dedupeByElementIdentity:L}=await Promise.resolve().then(()=>(Hn(),Bn));W=await L(m,W);}catch{}try{W=await B(m,W,T);}catch{}if(await m.evaluate(()=>performance.timeOrigin)!==E)throw new Error(`the page's document was replaced during the scan (navigation to ${m.url()}); the findings mix two documents`);{let{attachMutations:L,stopProvenance:z}=await Promise.resolve().then(()=>(Ar(),yn));L(T,await z(m));}let oe={url:y,timestamp:new Date().toISOString(),engine:mb,issues:W,internal_bugs:T,incomplete:[],...Z.length?{judged:Z}:{},..._.length?{truncated:_}:{},...D.length?{engineWarnings:D}:{},...me?{unsettled:me}:{},...p.keepDetected?{detected:ee}:{},summary:vc(W)};if(p.review!==!1&&p.deepApiKey)try{oe=await lN(oe,p);}catch{}return oe}finally{let{stopProvenance:E}=await Promise.resolve().then(()=>(Ar(),yn));if(await E(m),v)await v.close();else {let{restoreInteractionState:C}=await Promise.resolve().then(()=>(_s(),As));await C(m);}}}async function sN(u,c,h){let p=h.deepApiUrl||"https://api.webability.io",m=await fetch(`${p}/cli/deep-scan`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`Bearer ${h.deepApiKey}`},body:JSON.stringify({url:u,standardIssues:c.slice(0,30).map(({source:y,...w})=>w)})});return m.ok?((await m.json()).issues??[]).map((y,w)=>({id:`deep-${w}-${On(y.selector||y.element||"")}`,source:"deep-analysis",type:`wcag-${y.wcag}`,wcag:y.wcag,level:"AA",impact:y.severity==="High"?"critical":y.severity==="Medium"?"serious":"moderate",message:y.message,selector:y.selector||y.element||""})):[]}function py(u){let c=u.fix?.attribute??"";return !!u.fix?.needsManualReview&&c!=="style"&&!c.startsWith("data-")}async function lN(u,c){let h=c.deepApiUrl||"https://api.webability.io",p=u.issues.filter(py);if(p.length===0)return u;try{let m=await fetch(`${h}/review-findings`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`Bearer ${c.deepApiKey}`},body:JSON.stringify({url:u.url,issues:p.slice(0,30).map(({source:E,...C})=>C)})});if(!m.ok)return u;let v=await m.json();if(!v.confirmed_ids)return u;let y=new Set(v.confirmed_ids),w=u.issues.filter(E=>!py(E)||y.has(E.id));return {...u,issues:w,summary:vc(w)}}catch{return u}}xs();$c();Si();var uN=20,Mi=class extends Error{constructor(h,p){super(h);this.status=p;this.name="FixJudgeHttpError";}status};function cN(u){let c=u.apiUrl.replace(/\/+$/,"");return async(h,p)=>{let m=await fetch(`${c}/api/judge-fixes`,{method:"POST",signal:p,redirect:"manual",headers:{"Content-Type":"application/json",...u.token?{Authorization:`Bearer ${u.token}`}:{},...u.mcpInternalSecret?{"x-mcp-internal":u.mcpInternalSecret}:{}},body:JSON.stringify(h)});if(m.status>=300&&m.status<400)throw new Mi(`fix judge endpoint redirected (HTTP ${m.status}); not followed`,m.status);if(!m.ok)throw new Mi(`fix judge endpoint HTTP ${m.status}`,m.status);return await m.json()}}wn();hs();wn();Si();var Vn={"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 hy(u){let c=u.replace(/"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'/g,'""').replace(/\[[^\]]*\]/g,"[]");return c.includes(">>>")||/\s>>\s/.test(c)}var $n=u=>u.trim().toLowerCase().replace(/-/g,"_"),dN=()=>Object.entries(da).filter(([u])=>!fs.has(u)).map(([,u])=>u),Es={axeRules:async()=>(await Promise.resolve().then(()=>ds(Ei()))).default.getRules(),detectorCriteria:dN,ruleIds:async()=>[...Object.keys(da),...(await Promise.resolve().then(()=>ds(Ei()))).default.getRules().map(u=>u.ruleId)],ruleCriteria:async u=>{let c=da[$n(u)];return c?[c]:((await Promise.resolve().then(()=>ds(Ei()))).default.getRules().find(p=>$n(p.ruleId)===$n(u))?.tags??[]).map(_i).filter(Boolean)}},gy=u=>!!exports.WCAG_LEVEL_MAP[u],fN=new Set(["3.2.3","3.2.4","1.2.5","2.4.9"]),jc;async function vy(u){if(!u&&jc)return jc;let c=u??Es,h=new Set;for(let p of await c.axeRules())for(let m of p.tags??[]){let v=_i(m);v&&h.add(v);}for(let p of c.detectorCriteria())h.add(String(p).trim());for(let p of fN)h.delete(p);for(let p of [...h])gy(p)||h.delete(p);return !u&&h.size>0&&(jc=h),h}async function by(u,c){try{let h=await vy(c),p=u.trim();if(h.size>0){if(h.has(p))return {verifiable:!0};if(/^\d+(\.\d+)?$/.test(p)&&[...h].some(m=>m.startsWith(p+".")))return {verifiable:!0}}}catch{}return {verifiable:false,reason:"not-verifiable"}}async function my(u,c){try{return (await(c??Es).ruleIds()).some(p=>$n(p)===$n(u))}catch{return false}}async function pN(u,c){try{let h=(c??Es).ruleCriteria;return h?(await h(u)).some(m=>gy(String(m).trim())):!0}catch{return false}}var yy=new Set(exports.RUNNABLE_RUBRICS.map(u=>u.issueType));async function mN(u,c){let h=c??Es;try{for(let m of await h.axeRules())for(let v of m.tags??[])if(_i(v)===u)return !1}catch{return true}let p=Object.entries(da).filter(([m,v])=>String(v).trim()===u&&!fs.has(m)).map(([m])=>m);return p.length>0&&p.every(m=>yy.has(m))}async function hN(u,c,h,p={judge:true}){let m=u?.trim(),v=y=>({reason:"not-verifiable",text:`UNVERIFIED: ${y} is decided only by the rubric agent, which needs an AI judge, and this scan has none, so a clean result would prove nothing (${Vn["not-verifiable"]}).`});if(m&&/^\d+(\.\d+)*$/.test(m)){let y=await by(m,h);if(!y.verifiable)return {reason:y.reason,text:`UNVERIFIED: WCAG ${u} is not checked by the engines verify_fix uses, so a clean result would prove nothing (${Vn[y.reason]}).`};if(!p.judge&&await mN(m,h))return v(`WCAG ${u}`)}else {if(m&&!p.judge&&yy.has($n(m)))return v(`"${u}"`);if(m&&fs.has($n(m)))return {reason:"not-verifiable",text:`UNVERIFIED: "${u}" is an experimental best-practice check that verify_fix does not run, so a clean result would prove nothing (${Vn["not-verifiable"]}).`};if(m&&await my(m,h)&&!await pN(m,h))return {reason:"not-verifiable",text:`UNVERIFIED: "${u}" only maps to criteria outside WCAG 2.2 (no conformance level), which the scan never reports, so a clean result would prove nothing (${Vn["not-verifiable"]}).`};if(m&&!await my(m,h))return {reason:"unknown_rule",isError:true,text:`UNVERIFIED: "${u}" is ${Vn.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 hy(c)?{reason:"unsupported-selector",text:`UNVERIFIED: \`${c}\` crosses a shadow root or iframe boundary; ${Vn["unsupported-selector"]}. Scope to the host element in the main document, or use scan_page.`}:null}Hc();function gN(u){let c={critical:"#dc2626",serious:"#ea580c",moderate:"#ca8a04",minor:"#6b7280"},h=u.issues.map(p=>`
1019
1021
  <tr>
1020
1022
  <td><span class="badge" style="background:${c[p.impact]||"#6b7280"}">${p.impact}</span></td>
1021
1023
  <td>${Aa(p.wcag)}</td>
@@ -1067,7 +1069,7 @@ Omit "fix" for passes.`;qn=u=>Math.round(u*100)/100;RO=[1,.6,.35];});var Kb={};m
1067
1069
  <p class="footer">Generated by WebAbility</p>
1068
1070
  </div>
1069
1071
  </body>
1070
- </html>`}function Aa(u){return u.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;")}async function wy(u){return u.evaluate(()=>{let c=document.documentElement.outerHTML,h=Array.from(document.querySelectorAll("[class]")).slice(0,200).map(D=>D.className).join(" "),p=/\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,m=h.match(p)||[],v=Math.min(m.length/10,1),y=/\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,w=h.match(y)||[],E=Math.min(w.length/5,1),C=/\b(Mui[A-Z]|MuiButton|MuiTypography|MuiPaper|css-[a-z0-9]{5,}|makeStyles)\b/g,x=(h+" "+c.slice(0,5e3)).match(C)||[],b=Math.min(x.length/5,1),_=!!document.querySelector("style[data-tw]")||c.includes("tailwindcss")||h.includes("antialiased");return v>.3||_?{framework:"tailwind",version:(document.documentElement.style.cssText||"").includes("oklch")||!!document.querySelector('[class*="text-[oklch"]')?"4":"3",confidence:Math.max(v,_?.8:0)}:E>.3?{framework:"bootstrap",confidence:E}:b>.3?{framework:"mui",confidence:b}:{framework:"plain-css",confidence:.5}})}Ci();Ci();var Cs={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 xy(u,c){let h=tn(u),p=tn(c);return !h||!p?1/0:Math.sqrt((h[0]-p[0])**2+(h[1]-p[1])**2+(h[2]-p[2])**2)}function zc(u,c="text"){let h=null,p=1/0;for(let[m,v]of Object.entries(Cs))for(let[y,w]of Object.entries(v)){let E=xy(u.toLowerCase(),w);E<p&&(p=E,h=`${c}-${m}-${y}`);}return p<30?h:null}function ks(u,c,h=4.5,p="text"){let m=zc(u,p),v=ar(u,c);if(v>=h)return null;let y="gray",E=1/0;for(let[T,I]of Object.entries(Cs))for(let[B,F]of Object.entries(I)){let $=xy(u.toLowerCase(),F);$<E&&(E=$,y=T,B);}let C=Object.entries(Cs[y]||Cs.gray),x=tn(c);if(!x)return null;let _=(x[0]+x[1]+x[2])/3>128?C.sort((T,I)=>parseInt(I[0])-parseInt(T[0])):C.sort((T,I)=>parseInt(T[0])-parseInt(I[0]));for(let[T,I]of _){let B=ar(I,c);if(B>=h)return {currentClass:m,suggestedClass:`${p}-${y}-${T}`,currentHex:u,suggestedHex:I,currentRatio:Math.round(v*100)/100,suggestedRatio:Math.round(B*100)/100,requiredRatio:h}}let D=ba(u,c,h);return D?{currentClass:m,suggestedClass:zc(D.suggestedColor,p)||`${p}-[${D.suggestedColor}]`,currentHex:u,suggestedHex:D.suggestedColor,currentRatio:D.currentRatio,suggestedRatio:D.suggestedRatio,requiredRatio:h}:null}Ci();function Ay(u,c,h,p,m){let v=`https://www.w3.org/WAI/WCAG21/Understanding/${u.wcag.replace(/\./g,"")}`;if(u.type==="contrast_insufficient"||u.type==="color-contrast")return yN(u,c,h,p,m,v);if(u.type==="non_text_contrast_insufficient")return wN(u,c,h,v);if(u.type==="focus_not_visible")return xN(u,c,v);if(u.type==="missing_alt")return {issue:u,problem:"Image has no alt text \u2014 screen readers skip it entirely.",fix:c==="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:v};if(u.type==="missing_label")return {issue:u,problem:"Form input has no label \u2014 screen readers can't identify what to enter.",fix:c==="tailwind"?'Add a <label htmlFor="id"> or aria-label="description" to the input.':'Add a <label for="id"> element or aria-label attribute.',wcagLink:v};if(u.type==="skip_link")return {issue:u,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:v};if(u.type==="motion_without_reduced_motion")return {issue:u,problem:'Page has animations but no @media (prefers-reduced-motion) query. Users who set "Reduce motion" in OS settings still see all animations.',fix:c==="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:v};if(u.type==="weak_link_name"){let b=u.fix?.currentValue||"",_="where it goes",D=`aria-label "" doesn't say ${_}.`;return {issue:u,problem:b?`aria-label "${Gc(b,Math.max(12,vN-D.length))}" doesn't say ${_}.`:`This link's name doesn't tell users ${_}.`,fix:"Use text that names the destination, or add an aria-label that does.",wcagLink:v}}if(u.type==="svg_missing_name")return {issue:u,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)
1072
+ </html>`}function Aa(u){return u.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;")}async function wy(u){return u.evaluate(()=>{let c=document.documentElement.outerHTML,h=Array.from(document.querySelectorAll("[class]")).slice(0,200).map(D=>D.className).join(" "),p=/\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,m=h.match(p)||[],v=Math.min(m.length/10,1),y=/\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,w=h.match(y)||[],E=Math.min(w.length/5,1),C=/\b(Mui[A-Z]|MuiButton|MuiTypography|MuiPaper|css-[a-z0-9]{5,}|makeStyles)\b/g,x=(h+" "+c.slice(0,5e3)).match(C)||[],b=Math.min(x.length/5,1),_=!!document.querySelector("style[data-tw]")||c.includes("tailwindcss")||h.includes("antialiased");return v>.3||_?{framework:"tailwind",version:(document.documentElement.style.cssText||"").includes("oklch")||!!document.querySelector('[class*="text-[oklch"]')?"4":"3",confidence:Math.max(v,_?.8:0)}:E>.3?{framework:"bootstrap",confidence:E}:b>.3?{framework:"mui",confidence:b}:{framework:"plain-css",confidence:.5}})}Ci();Ci();var Cs={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 xy(u,c){let h=tn(u),p=tn(c);return !h||!p?1/0:Math.sqrt((h[0]-p[0])**2+(h[1]-p[1])**2+(h[2]-p[2])**2)}function zc(u,c="text"){let h=null,p=1/0;for(let[m,v]of Object.entries(Cs))for(let[y,w]of Object.entries(v)){let E=xy(u.toLowerCase(),w);E<p&&(p=E,h=`${c}-${m}-${y}`);}return p<30?h:null}function ks(u,c,h=4.5,p="text"){let m=zc(u,p),v=ar(u,c);if(v>=h)return null;let y="gray",E=1/0;for(let[T,I]of Object.entries(Cs))for(let[B,R]of Object.entries(I)){let $=xy(u.toLowerCase(),R);$<E&&(E=$,y=T,B);}let C=Object.entries(Cs[y]||Cs.gray),x=tn(c);if(!x)return null;let _=(x[0]+x[1]+x[2])/3>128?C.sort((T,I)=>parseInt(I[0])-parseInt(T[0])):C.sort((T,I)=>parseInt(T[0])-parseInt(I[0]));for(let[T,I]of _){let B=ar(I,c);if(B>=h)return {currentClass:m,suggestedClass:`${p}-${y}-${T}`,currentHex:u,suggestedHex:I,currentRatio:Math.round(v*100)/100,suggestedRatio:Math.round(B*100)/100,requiredRatio:h}}let D=ba(u,c,h);return D?{currentClass:m,suggestedClass:zc(D.suggestedColor,p)||`${p}-[${D.suggestedColor}]`,currentHex:u,suggestedHex:D.suggestedColor,currentRatio:D.currentRatio,suggestedRatio:D.suggestedRatio,requiredRatio:h}:null}Ci();function Ay(u,c,h,p,m){let v=`https://www.w3.org/WAI/WCAG21/Understanding/${u.wcag.replace(/\./g,"")}`;if(u.type==="contrast_insufficient"||u.type==="color-contrast")return yN(u,c,h,p,m,v);if(u.type==="non_text_contrast_insufficient")return wN(u,c,h,v);if(u.type==="focus_not_visible")return xN(u,c,v);if(u.type==="missing_alt")return {issue:u,problem:"Image has no alt text \u2014 screen readers skip it entirely.",fix:c==="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:v};if(u.type==="missing_label")return {issue:u,problem:"Form input has no label \u2014 screen readers can't identify what to enter.",fix:c==="tailwind"?'Add a <label htmlFor="id"> or aria-label="description" to the input.':'Add a <label for="id"> element or aria-label attribute.',wcagLink:v};if(u.type==="skip_link")return {issue:u,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:v};if(u.type==="motion_without_reduced_motion")return {issue:u,problem:'Page has animations but no @media (prefers-reduced-motion) query. Users who set "Reduce motion" in OS settings still see all animations.',fix:c==="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:v};if(u.type==="weak_link_name"){let b=u.fix?.currentValue||"",_="where it goes",D=`aria-label "" doesn't say ${_}.`;return {issue:u,problem:b?`aria-label "${Gc(b,Math.max(12,vN-D.length))}" doesn't say ${_}.`:`This link's name doesn't tell users ${_}.`,fix:"Use text that names the destination, or add an aria-label that does.",wcagLink:v}}if(u.type==="svg_missing_name")return {issue:u,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)
1071
1073
  <svg aria-label="Search icon" ... (meaningful)`,wcagLink:v};if(u.type==="new_window_link")return {issue:u,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:v};if(u.type==="missing_required_indicator")return {issue:u,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:v};if(u.type==="redundant_role")return {issue:u,problem:"Element has a redundant ARIA role matching its implicit HTML role.",fix:'Remove the role attribute \u2014 <nav> already implies role="navigation".',wcagLink:v};if(u.type==="image_of_text")return {issue:u,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:v};if(u.type==="focus_obscured_by_sticky")return {issue:u,problem:"Sticky header may obscure focused elements when tabbing \u2014 users can't see where focus is.",fix:c==="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:v};if(u.type==="missing_media_controls")return {issue:u,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:v};let y=u.message.replace(/: set .*/,"").replace(/: missing .*/,""),w=y!==u.message.replace(/: set .*/,""),E=/^(missing|empty|no)\b/i.test(y),C=(u.fix?.attribute??"").startsWith("data-"),x="Manual step: ";return {issue:u,problem:w&&!E?`${y} is missing`:y,fix:C&&u.fix?.suggestedValue?`${x}${Gc(u.fix.suggestedValue,_y-x.length)}`:u.fix?.suggestedValue&&!u.fix.suggestedValue.includes("!important")?`Set ${u.fix.attribute}="${Gc(u.fix.suggestedValue,bN(u.fix.attribute))}"`:`Review this element for WCAG ${u.wcag} compliance.`,wcagLink:v}}var vN=72,_y=70;function bN(u){return Math.max(12,_y-u.length-7)}function Gc(u,c){if(u.length<=c)return u;let h=u.slice(0,c-1),p=h.lastIndexOf(" ");return (p>c/2?h.slice(0,p):h)+"\u2026"}function yN(u,c,h,p,m,v=""){let y=p||u.fix?.currentValue||"",w=m||"#ffffff";y&&w?ar(y,w):0;let C=4.5;if(c==="tailwind"&&y&&w){let b=ks(y,w,C);if(b)return {issue:u,problem:`Contrast ratio ${b.currentRatio}:1 \u2014 needs ${C}:1 for WCAG AA.`,fix:b.currentClass?`Change ${b.currentClass} \u2192 ${b.suggestedClass}`:`Use ${b.suggestedClass} (${b.suggestedHex})`,before:b.currentClass||void 0,after:b.suggestedClass,contrast:{current:b.currentRatio,required:C,suggested:b.suggestedRatio,fgColor:y,bgColor:w,suggestedColor:b.suggestedHex},wcagLink:v}}let x=y&&w?ba(y,w,C):null;return x?{issue:u,problem:`Contrast ratio ${x.currentRatio}:1 \u2014 needs ${C}:1 for WCAG AA.`,fix:`Change color from ${x.currentColor} to ${x.suggestedColor}`,contrast:{current:x.currentRatio,required:C,suggested:x.suggestedRatio,fgColor:y,bgColor:w,suggestedColor:x.suggestedColor},wcagLink:v}:{issue:u,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:v}}function wN(u,c,h,p=""){return {issue:u,problem:"Non-text element (border, icon, UI component) has contrast below 3:1 against its background.",fix:c==="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:p}}function xN(u,c,h=""){return {issue:u,problem:"Element has no visible focus indicator \u2014 keyboard users can't see where they are.",fix:c==="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:c==="tailwind"?'className="..."':void 0,after:c==="tailwind"?'className="... focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:ring-offset-2"':void 0,wcagLink:h}}/*! Bundled license information:
1072
1074
 
1073
1075
  axe-core/axe.js: