@webability/core 1.5.0 → 1.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- var gR=Object.create;var ou=Object.defineProperty;var vR=Object.getOwnPropertyDescriptor;var bR=Object.getOwnPropertyNames;var yR=Object.getPrototypeOf,wR=Object.prototype.hasOwnProperty;var qr=(f,p)=>()=>(f&&(p=f(f=0)),p);var xR=(f,p)=>()=>(p||f((p={exports:{}}).exports,p),p.exports),Br=(f,p)=>{for(var y in p)ou(f,y,{get:p[y],enumerable:true});},DR=(f,p,y,h)=>{if(p&&typeof p=="object"||typeof p=="function")for(let m of bR(p))!wR.call(f,m)&&m!==y&&ou(f,m,{get:()=>p[m],enumerable:!(h=vR(p,m))||h.enumerable});return f};var _R=(f,p,y)=>(y=f!=null?gR(yR(f)):{},DR(ou(y,"default",{value:f,enumerable:true}),f));var su={};Br(su,{ACCESSIBLE_NAME_JS:()=>FI,IS_HIDDEN_FROM_AT_JS:()=>II,IS_TRACKING_PIXEL_JS:()=>LI,IS_VISIBLE_JS:()=>TI,NEARBY_CONTEXT_JS:()=>PI,UNIQUE_SELECTOR_JS:()=>kI,WIDGET_SKIP_JS:()=>RI});var kI,TI,FI,RI,II,LI,PI,lu=qr(()=>{kI=`
1
+ var CR=Object.create;var pu=Object.defineProperty;var SR=Object.getOwnPropertyDescriptor;var kR=Object.getOwnPropertyNames;var TR=Object.getPrototypeOf,FR=Object.prototype.hasOwnProperty;var Rr=(d,p)=>()=>(d&&(p=d(d=0)),p);var RR=(d,p)=>()=>(p||d((p={exports:{}}).exports,p),p.exports),Vr=(d,p)=>{for(var g in p)pu(d,g,{get:p[g],enumerable:true});},IR=(d,p,g,m)=>{if(p&&typeof p=="object"||typeof p=="function")for(let h of kR(p))!FR.call(d,h)&&h!==g&&pu(d,h,{get:()=>p[h],enumerable:!(m=SR(p,h))||m.enumerable});return d};var LR=(d,p,g)=>(g=d!=null?CR(TR(d)):{},IR(pu(g,"default",{value:d,enumerable:true}),d));var mu={};Vr(mu,{ACCESSIBLE_NAME_JS:()=>BI,IS_HIDDEN_FROM_AT_JS:()=>VI,IS_TRACKING_PIXEL_JS:()=>jI,IS_VISIBLE_JS:()=>qI,NEARBY_CONTEXT_JS:()=>$I,UNIQUE_SELECTOR_JS:()=>NI,WIDGET_SKIP_JS:()=>HI});var NI,qI,BI,HI,VI,jI,$I,hu=Rr(()=>{NI=`
2
2
  function __isUnique(sel) {
3
3
  try { return document.querySelectorAll(sel).length === 1; } catch { return false; }
4
4
  }
@@ -152,7 +152,7 @@ var gR=Object.create;var ou=Object.defineProperty;var vR=Object.getOwnPropertyDe
152
152
  // (an empty selector is unactionable downstream).
153
153
  return candidate || full || __tagWithClass(el);
154
154
  }
155
- `,TI=`
155
+ `,qI=`
156
156
  function isVisible(el) {
157
157
  if (!el) return false;
158
158
  const s = getComputedStyle(el);
@@ -175,7 +175,7 @@ var gR=Object.create;var ou=Object.defineProperty;var vR=Object.getOwnPropertyDe
175
175
  if (/rect\\(\\s*0(?:px)?\\s*,?\\s*0(?:px)?\\s*,?\\s*0(?:px)?\\s*,?\\s*0(?:px)?\\s*\\)/.test(s.clip || '')) return false;
176
176
  return true;
177
177
  }
178
- `,FI=`
178
+ `,BI=`
179
179
  // aria-labelledby/-describedby take SPACE-SEPARATED idref lists; resolving
180
180
  // the whole attribute with getElementById silently failed on multi-ID
181
181
  // references (bug existed in 7 copies across detectors \u2014 now one kernel).
@@ -226,13 +226,13 @@ var gR=Object.create;var ou=Object.defineProperty;var vR=Object.getOwnPropertyDe
226
226
  var title = el.getAttribute('title') || '';
227
227
  return title.trim();
228
228
  }
229
- `,RI=`
229
+ `,HI=`
230
230
  const WIDGET_SKIP = '[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=EquallyAI],[id*=ae_],[class*=ae-exclude],[id*=goog-gt],[class*=goog-te],[id*=recaptcha],[class*=intercom],[class*=drift-],[class*=crisp-],[class*=tawk-],[class*=hubspot-],[class*=fb-],[class*=wistia],#wpadminbar,[class*=cmplz-btn],[class*=cmplz-link],[id*=cmplz-],[class*=onetrust],[class*=cookiebot],[class*=borlabs],[class*=brlbs-],[id*=wp-ada-compliance],[class*=wp-ada-compliance],[id*=webability-widget],[class*=webability-a11y]';
231
231
  function isWidget(el) {
232
232
  if (!el) return false;
233
233
  return el.closest(WIDGET_SKIP) !== null;
234
234
  }
235
- `,II=`
235
+ `,VI=`
236
236
  function isHiddenFromAT(el) {
237
237
  if (!el) return false;
238
238
  if (el.getAttribute('aria-hidden') === 'true') return true;
@@ -249,7 +249,7 @@ var gR=Object.create;var ou=Object.defineProperty;var vR=Object.getOwnPropertyDe
249
249
  }
250
250
  return false;
251
251
  }
252
- `,LI=`
252
+ `,jI=`
253
253
  function isTrackingPixel(img) {
254
254
  const w = img.naturalWidth || img.width || 0;
255
255
  const h = img.naturalHeight || img.height || 0;
@@ -260,7 +260,7 @@ var gR=Object.create;var ou=Object.defineProperty;var vR=Object.getOwnPropertyDe
260
260
  if (src.includes('pixel') || src.includes('beacon') || src.includes('tracker') || src.includes('analytics') || src.includes('adsrvr') || src.includes('doubleclick') || src.includes('facebook.com/tr')) return true;
261
261
  return false;
262
262
  }
263
- `,PI=`
263
+ `,$I=`
264
264
  function getNearbyContext(el) {
265
265
  // Walk up to the nearest semantic container
266
266
  var container = el.closest('article,section,li,.card,[class*=card],[class*=post],[class*=item],[class*=product],[class*=entry]');
@@ -287,8 +287,8 @@ var gR=Object.create;var ou=Object.defineProperty;var vR=Object.getOwnPropertyDe
287
287
 
288
288
  return { nearbyHeading: hText, parentTag: parentTag, parentRole: parentRole, cardText: cardText, imgAlt: imgAlt };
289
289
  }
290
- `;});var Zh={};Br(Zh,{ICON_LABELS_JS:()=>qI,ICON_LABELS_JSON:()=>NI,lookupIconLabel:()=>OI});function OI(f,p="",y=""){let h=[];if(f)for(let m of f.split(/\s+/)){if(!m)continue;let w=m.toLowerCase().replace(MI,"").replace(/^icon-/,"");w&&w!==m.toLowerCase()&&h.push(w);}if(p&&h.push(p.toLowerCase().trim()),y){let m=y.trim().toLowerCase();m.length<30&&/^[a-z_-]+$/.test(m)&&h.push(m.replace(/_/g,"-"));}for(let m of h)if(ja[m])return ja[m];for(let m of h)for(let w of m.split("-"))if(ja[w])return ja[w];return null}var ja,MI,NI,qI,Qh=qr(()=>{ja={times:"Close",x:"Close","x-lg":"Close","x-circle":"Close","x-mark":"Close",close:"Close","close-circle":"Close",clear:"Clear",cancel:"Cancel",dismiss:"Dismiss","chevron-right":"Next","arrow-right":"Next","caret-right":"Next","angle-right":"Next","chevron-left":"Previous","arrow-left":"Previous","caret-left":"Previous","angle-left":"Previous","chevron-up":"Collapse","arrow-up":"Up","caret-up":"Collapse","angle-up":"Collapse","chevron-down":"Expand","arrow-down":"Down","caret-down":"Expand","angle-down":"Expand",menu:"Menu",bars:"Menu",hamburger:"Menu",list:"Menu",grid:"Grid view",th:"Grid view",search:"Search","magnifying-glass":"Search",magnify:"Search",zoom:"Zoom",user:"User profile",person:"User profile",profile:"User profile","account-circle":"User profile",cart:"Shopping cart","shopping-cart":"Shopping cart",basket:"Shopping cart",bag:"Shopping bag",heart:"Favorite",bookmark:"Bookmark",star:"Rate",home:"Home",house:"Home",gear:"Settings",cog:"Settings",settings:"Settings",tool:"Tools",trash:"Delete","trash-can":"Delete",delete:"Delete",edit:"Edit",pencil:"Edit",pen:"Edit",plus:"Add",add:"Add","plus-circle":"Add",minus:"Remove","minus-circle":"Remove",check:"Confirm","check-circle":"Confirm",checkmark:"Confirm",info:"Information","info-circle":"Information",question:"Help","question-circle":"Help",help:"Help",warning:"Warning",exclamation:"Warning","exclamation-triangle":"Warning",alert:"Alert","external-link":"Open in new tab","external-link-alt":"Open in new tab","box-arrow-up-right":"Open in new tab",download:"Download",upload:"Upload",share:"Share","share-alt":"Share",copy:"Copy",clipboard:"Copy to clipboard",print:"Print",save:"Save",envelope:"Email",email:"Email",mail:"Email",at:"Email",phone:"Phone",telephone:"Phone",mobile:"Mobile phone",location:"Location","map-marker":"Location","map-pin":"Location","geo-alt":"Location",calendar:"Calendar","calendar-alt":"Calendar",clock:"Time",stopwatch:"Timer",eye:"Show","eye-slash":"Hide","eye-off":"Hide",lock:"Lock",unlock:"Unlock",padlock:"Lock",filter:"Filter",sliders:"Adjust",sort:"Sort","sort-alpha-down":"Sort ascending","sort-alpha-up":"Sort descending",refresh:"Refresh",reload:"Refresh",sync:"Refresh","arrows-rotate":"Refresh",play:"Play","play-circle":"Play",pause:"Pause",stop:"Stop","volume-up":"Volume up","volume-down":"Volume down","volume-mute":"Mute",mute:"Mute",speaker:"Audio",twitter:"Twitter","x-twitter":"X (Twitter)","square-x-twitter":"X (Twitter)",facebook:"Facebook","facebook-f":"Facebook","facebook-square":"Facebook","square-facebook":"Facebook","facebook-messenger":"Facebook Messenger",instagram:"Instagram","square-instagram":"Instagram",linkedin:"LinkedIn","linkedin-in":"LinkedIn","square-linkedin":"LinkedIn",youtube:"YouTube","youtube-square":"YouTube","square-youtube":"YouTube",github:"GitHub","github-alt":"GitHub",gitlab:"GitLab",bitbucket:"Bitbucket",tiktok:"TikTok",pinterest:"Pinterest","pinterest-p":"Pinterest","square-pinterest":"Pinterest",rss:"RSS feed","rss-square":"RSS feed",snapchat:"Snapchat","snapchat-ghost":"Snapchat",reddit:"Reddit","reddit-alien":"Reddit",discord:"Discord",slack:"Slack",whatsapp:"WhatsApp",telegram:"Telegram","telegram-plane":"Telegram",vimeo:"Vimeo","vimeo-v":"Vimeo",twitch:"Twitch",tumblr:"Tumblr",medium:"Medium",dribbble:"Dribbble",behance:"Behance",flickr:"Flickr",threads:"Threads",mastodon:"Mastodon",bluesky:"Bluesky",meetup:"Meetup",weibo:"Weibo",wechat:"WeChat",line:"Line",viber:"Viber",skype:"Skype",microsoft:"Microsoft",apple:"Apple",google:"Google","google-plus":"Google+",yelp:"Yelp",tripadvisor:"TripAdvisor",spotify:"Spotify",soundcloud:"SoundCloud",amazon:"Amazon",etsy:"Etsy",ebay:"eBay","arrow-up-right-from-square":"Open in new tab","square-arrow-up-right":"Open in new tab","up-right-from-square":"Open in new tab",back:"Back",forward:"Forward",return:"Return",reply:"Reply","reply-all":"Reply all","forward-arrow":"Forward",redo:"Redo",undo:"Undo","undo-alt":"Undo","rotate-left":"Undo","rotate-right":"Redo",expand:"Expand","expand-arrows-alt":"Expand",compress:"Collapse",minimize:"Minimize",maximize:"Maximize",fullscreen:"Enter fullscreen","fullscreen-exit":"Exit fullscreen",move:"Move",arrows:"Move","arrows-alt":"Move",drag:"Drag",grip:"Drag handle","grip-vertical":"Drag handle","grip-lines":"Drag handle",ellipsis:"More actions","ellipsis-v":"More actions","ellipsis-vertical":"More actions","ellipsis-h":"More actions","ellipsis-horizontal":"More actions","more-vert":"More actions","more-horiz":"More actions","more-vertical":"More actions","more-horizontal":"More actions","dots-vertical":"More actions","three-dots":"More actions","three-dots-vertical":"More actions","play-fill":"Play","pause-fill":"Pause","stop-fill":"Stop","play-pause":"Play/pause",backward:"Rewind","forward-step":"Next track","backward-step":"Previous track","fast-forward":"Fast forward",rewind:"Rewind","skip-forward":"Skip forward","skip-backward":"Skip backward","skip-next":"Next track","skip-previous":"Previous track",volume:"Volume","volume-off":"Mute","volume-x":"Mute","speaker-mute":"Mute",headphones:"Audio",microphone:"Microphone",mic:"Microphone","mic-off":"Mute microphone","microphone-slash":"Mute microphone",video:"Video","video-camera":"Video",camera:"Camera","camera-retro":"Camera",picture:"Picture",image:"Image",images:"Images",photo:"Photo",film:"Video",record:"Record",broadcast:"Broadcast","chevron-right-circle":"Next","chevron-left-circle":"Previous","double-arrow-right":"Next","double-arrow-left":"Previous","angles-right":"Next","angles-left":"Previous","angles-up":"Collapse","angles-down":"Expand",send:"Send","paper-plane":"Send",submit:"Submit",paperclip:"Attach file",attach:"Attach","file-attachment":"Attach file",signature:"Signature","pen-to-square":"Edit","pencil-square":"Edit","pencil-alt":"Edit","square-pen":"Edit",file:"File","file-alt":"Text file","file-text":"Text file","file-lines":"Text file","file-pdf":"PDF document","file-word":"Word document","file-excel":"Excel spreadsheet","file-powerpoint":"PowerPoint presentation","file-zip":"ZIP archive","file-archive":"Archive","file-image":"Image file","file-video":"Video file","file-audio":"Audio file","file-code":"Code file","file-csv":"CSV file",folder:"Folder","folder-open":"Open folder",book:"Book","book-open":"Book",newspaper:"News","bookmark-fill":"Bookmark","cart-plus":"Add to cart","cart-check":"Added to cart","cart-arrow-down":"Add to cart",truck:"Shipping",box:"Package",gift:"Gift",tag:"Tag",tags:"Tags",percent:"Discount","credit-card":"Credit card",wallet:"Wallet",money:"Money","money-bill":"Money","dollar-sign":"Price","euro-sign":"Price","pound-sign":"Price",receipt:"Receipt",store:"Store",shop:"Shop","basket-plus":"Add to basket","heart-fill":"Favorited","star-fill":"Rated","thumbs-up":"Like","thumbs-down":"Dislike",like:"Like",dislike:"Dislike",comment:"Comment",comments:"Comments",chat:"Chat","chat-bubble":"Chat",message:"Message","message-circle":"Message","message-square":"Message",bell:"Notifications","bell-fill":"Notifications",notifications:"Notifications",inbox:"Inbox",archive:"Archive",flag:"Flag",pin:"Pin","pin-fill":"Pinned",thumbtack:"Pin","sign-in":"Sign in","sign-in-alt":"Sign in","sign-out":"Sign out","sign-out-alt":"Sign out","log-in":"Log in","log-out":"Log out",logout:"Log out",login:"Log in","user-plus":"Add user","user-minus":"Remove user","user-circle":"User profile","user-avatar":"User avatar",users:"Users",key:"Password",shield:"Security","shield-check":"Security verified","id-card":"ID card","id-badge":"ID badge","universal-access":"Accessibility","accessible-icon":"Accessibility",wheelchair:"Wheelchair access",braille:"Braille","sign-language":"Sign language","closed-captioning":"Captions",cc:"Captions",sun:"Light mode",moon:"Dark mode",contrast:"Contrast",palette:"Theme",brush:"Theme",globe:"Global",earth:"Global",map:"Map",compass:"Compass",directions:"Directions",route:"Route",navigation:"Navigation",crosshairs:"Locate",spinner:"Loading",loader:"Loading",loading:"Loading","circle-notch":"Loading",hourglass:"Waiting","clock-fill":"Time","check-square":"Confirm","square-check":"Confirm","circle-check":"Confirm","circle-x":"Close",ban:"Blocked",block:"Block","times-circle":"Close",xmark:"Close","xmark-circle":"Close",columns:"Columns view",rows:"Rows view",layout:"Layout",sidebar:"Sidebar","sidebar-toggle":"Toggle sidebar","panel-left":"Left panel","panel-right":"Right panel","list-view":"List view","grid-view":"Grid view",wifi:"Wi-Fi","wifi-off":"Wi-Fi off",bluetooth:"Bluetooth",signal:"Signal",battery:"Battery","battery-full":"Battery full",plug:"Plug",power:"Power","power-off":"Power off","chart-bar":"Bar chart","chart-line":"Line chart","chart-pie":"Pie chart","chart-area":"Area chart","bar-chart":"Bar chart","line-chart":"Line chart","pie-chart":"Pie chart",analytics:"Analytics",statistics:"Statistics","trending-up":"Trending up","trending-down":"Trending down"},MI=/^(fa|fas|far|fab|fal|fad|fass|bi|bi-icon|material-icons|material-symbols|ion|ionicon|feather|lucide|dashicons|glyphicon|icofont|heroicon)-/;NI=JSON.stringify(ja),qI=`
291
- var __ICON_LABELS = ${JSON.stringify(ja)};
290
+ `;});var og={};Vr(og,{ICON_LABELS_JS:()=>UI,ICON_LABELS_JSON:()=>WI,lookupIconLabel:()=>GI});function GI(d,p="",g=""){let m=[];if(d)for(let h of d.split(/\s+/)){if(!h)continue;let x=h.toLowerCase().replace(zI,"").replace(/^icon-/,"");x&&x!==h.toLowerCase()&&m.push(x);}if(p&&m.push(p.toLowerCase().trim()),g){let h=g.trim().toLowerCase();h.length<30&&/^[a-z_-]+$/.test(h)&&m.push(h.replace(/_/g,"-"));}for(let h of m)if($a[h])return $a[h];for(let h of m)for(let x of h.split("-"))if($a[x])return $a[x];return null}var $a,zI,WI,UI,sg=Rr(()=>{$a={times:"Close",x:"Close","x-lg":"Close","x-circle":"Close","x-mark":"Close",close:"Close","close-circle":"Close",clear:"Clear",cancel:"Cancel",dismiss:"Dismiss","chevron-right":"Next","arrow-right":"Next","caret-right":"Next","angle-right":"Next","chevron-left":"Previous","arrow-left":"Previous","caret-left":"Previous","angle-left":"Previous","chevron-up":"Collapse","arrow-up":"Up","caret-up":"Collapse","angle-up":"Collapse","chevron-down":"Expand","arrow-down":"Down","caret-down":"Expand","angle-down":"Expand",menu:"Menu",bars:"Menu",hamburger:"Menu",list:"Menu",grid:"Grid view",th:"Grid view",search:"Search","magnifying-glass":"Search",magnify:"Search",zoom:"Zoom",user:"User profile",person:"User profile",profile:"User profile","account-circle":"User profile",cart:"Shopping cart","shopping-cart":"Shopping cart",basket:"Shopping cart",bag:"Shopping bag",heart:"Favorite",bookmark:"Bookmark",star:"Rate",home:"Home",house:"Home",gear:"Settings",cog:"Settings",settings:"Settings",tool:"Tools",trash:"Delete","trash-can":"Delete",delete:"Delete",edit:"Edit",pencil:"Edit",pen:"Edit",plus:"Add",add:"Add","plus-circle":"Add",minus:"Remove","minus-circle":"Remove",check:"Confirm","check-circle":"Confirm",checkmark:"Confirm",info:"Information","info-circle":"Information",question:"Help","question-circle":"Help",help:"Help",warning:"Warning",exclamation:"Warning","exclamation-triangle":"Warning",alert:"Alert","external-link":"Open in new tab","external-link-alt":"Open in new tab","box-arrow-up-right":"Open in new tab",download:"Download",upload:"Upload",share:"Share","share-alt":"Share",copy:"Copy",clipboard:"Copy to clipboard",print:"Print",save:"Save",envelope:"Email",email:"Email",mail:"Email",at:"Email",phone:"Phone",telephone:"Phone",mobile:"Mobile phone",location:"Location","map-marker":"Location","map-pin":"Location","geo-alt":"Location",calendar:"Calendar","calendar-alt":"Calendar",clock:"Time",stopwatch:"Timer",eye:"Show","eye-slash":"Hide","eye-off":"Hide",lock:"Lock",unlock:"Unlock",padlock:"Lock",filter:"Filter",sliders:"Adjust",sort:"Sort","sort-alpha-down":"Sort ascending","sort-alpha-up":"Sort descending",refresh:"Refresh",reload:"Refresh",sync:"Refresh","arrows-rotate":"Refresh",play:"Play","play-circle":"Play",pause:"Pause",stop:"Stop","volume-up":"Volume up","volume-down":"Volume down","volume-mute":"Mute",mute:"Mute",speaker:"Audio",twitter:"Twitter","x-twitter":"X (Twitter)","square-x-twitter":"X (Twitter)",facebook:"Facebook","facebook-f":"Facebook","facebook-square":"Facebook","square-facebook":"Facebook","facebook-messenger":"Facebook Messenger",instagram:"Instagram","square-instagram":"Instagram",linkedin:"LinkedIn","linkedin-in":"LinkedIn","square-linkedin":"LinkedIn",youtube:"YouTube","youtube-square":"YouTube","square-youtube":"YouTube",github:"GitHub","github-alt":"GitHub",gitlab:"GitLab",bitbucket:"Bitbucket",tiktok:"TikTok",pinterest:"Pinterest","pinterest-p":"Pinterest","square-pinterest":"Pinterest",rss:"RSS feed","rss-square":"RSS feed",snapchat:"Snapchat","snapchat-ghost":"Snapchat",reddit:"Reddit","reddit-alien":"Reddit",discord:"Discord",slack:"Slack",whatsapp:"WhatsApp",telegram:"Telegram","telegram-plane":"Telegram",vimeo:"Vimeo","vimeo-v":"Vimeo",twitch:"Twitch",tumblr:"Tumblr",medium:"Medium",dribbble:"Dribbble",behance:"Behance",flickr:"Flickr",threads:"Threads",mastodon:"Mastodon",bluesky:"Bluesky",meetup:"Meetup",weibo:"Weibo",wechat:"WeChat",line:"Line",viber:"Viber",skype:"Skype",microsoft:"Microsoft",apple:"Apple",google:"Google","google-plus":"Google+",yelp:"Yelp",tripadvisor:"TripAdvisor",spotify:"Spotify",soundcloud:"SoundCloud",amazon:"Amazon",etsy:"Etsy",ebay:"eBay","arrow-up-right-from-square":"Open in new tab","square-arrow-up-right":"Open in new tab","up-right-from-square":"Open in new tab",back:"Back",forward:"Forward",return:"Return",reply:"Reply","reply-all":"Reply all","forward-arrow":"Forward",redo:"Redo",undo:"Undo","undo-alt":"Undo","rotate-left":"Undo","rotate-right":"Redo",expand:"Expand","expand-arrows-alt":"Expand",compress:"Collapse",minimize:"Minimize",maximize:"Maximize",fullscreen:"Enter fullscreen","fullscreen-exit":"Exit fullscreen",move:"Move",arrows:"Move","arrows-alt":"Move",drag:"Drag",grip:"Drag handle","grip-vertical":"Drag handle","grip-lines":"Drag handle",ellipsis:"More actions","ellipsis-v":"More actions","ellipsis-vertical":"More actions","ellipsis-h":"More actions","ellipsis-horizontal":"More actions","more-vert":"More actions","more-horiz":"More actions","more-vertical":"More actions","more-horizontal":"More actions","dots-vertical":"More actions","three-dots":"More actions","three-dots-vertical":"More actions","play-fill":"Play","pause-fill":"Pause","stop-fill":"Stop","play-pause":"Play/pause",backward:"Rewind","forward-step":"Next track","backward-step":"Previous track","fast-forward":"Fast forward",rewind:"Rewind","skip-forward":"Skip forward","skip-backward":"Skip backward","skip-next":"Next track","skip-previous":"Previous track",volume:"Volume","volume-off":"Mute","volume-x":"Mute","speaker-mute":"Mute",headphones:"Audio",microphone:"Microphone",mic:"Microphone","mic-off":"Mute microphone","microphone-slash":"Mute microphone",video:"Video","video-camera":"Video",camera:"Camera","camera-retro":"Camera",picture:"Picture",image:"Image",images:"Images",photo:"Photo",film:"Video",record:"Record",broadcast:"Broadcast","chevron-right-circle":"Next","chevron-left-circle":"Previous","double-arrow-right":"Next","double-arrow-left":"Previous","angles-right":"Next","angles-left":"Previous","angles-up":"Collapse","angles-down":"Expand",send:"Send","paper-plane":"Send",submit:"Submit",paperclip:"Attach file",attach:"Attach","file-attachment":"Attach file",signature:"Signature","pen-to-square":"Edit","pencil-square":"Edit","pencil-alt":"Edit","square-pen":"Edit",file:"File","file-alt":"Text file","file-text":"Text file","file-lines":"Text file","file-pdf":"PDF document","file-word":"Word document","file-excel":"Excel spreadsheet","file-powerpoint":"PowerPoint presentation","file-zip":"ZIP archive","file-archive":"Archive","file-image":"Image file","file-video":"Video file","file-audio":"Audio file","file-code":"Code file","file-csv":"CSV file",folder:"Folder","folder-open":"Open folder",book:"Book","book-open":"Book",newspaper:"News","bookmark-fill":"Bookmark","cart-plus":"Add to cart","cart-check":"Added to cart","cart-arrow-down":"Add to cart",truck:"Shipping",box:"Package",gift:"Gift",tag:"Tag",tags:"Tags",percent:"Discount","credit-card":"Credit card",wallet:"Wallet",money:"Money","money-bill":"Money","dollar-sign":"Price","euro-sign":"Price","pound-sign":"Price",receipt:"Receipt",store:"Store",shop:"Shop","basket-plus":"Add to basket","heart-fill":"Favorited","star-fill":"Rated","thumbs-up":"Like","thumbs-down":"Dislike",like:"Like",dislike:"Dislike",comment:"Comment",comments:"Comments",chat:"Chat","chat-bubble":"Chat",message:"Message","message-circle":"Message","message-square":"Message",bell:"Notifications","bell-fill":"Notifications",notifications:"Notifications",inbox:"Inbox",archive:"Archive",flag:"Flag",pin:"Pin","pin-fill":"Pinned",thumbtack:"Pin","sign-in":"Sign in","sign-in-alt":"Sign in","sign-out":"Sign out","sign-out-alt":"Sign out","log-in":"Log in","log-out":"Log out",logout:"Log out",login:"Log in","user-plus":"Add user","user-minus":"Remove user","user-circle":"User profile","user-avatar":"User avatar",users:"Users",key:"Password",shield:"Security","shield-check":"Security verified","id-card":"ID card","id-badge":"ID badge","universal-access":"Accessibility","accessible-icon":"Accessibility",wheelchair:"Wheelchair access",braille:"Braille","sign-language":"Sign language","closed-captioning":"Captions",cc:"Captions",sun:"Light mode",moon:"Dark mode",contrast:"Contrast",palette:"Theme",brush:"Theme",globe:"Global",earth:"Global",map:"Map",compass:"Compass",directions:"Directions",route:"Route",navigation:"Navigation",crosshairs:"Locate",spinner:"Loading",loader:"Loading",loading:"Loading","circle-notch":"Loading",hourglass:"Waiting","clock-fill":"Time","check-square":"Confirm","square-check":"Confirm","circle-check":"Confirm","circle-x":"Close",ban:"Blocked",block:"Block","times-circle":"Close",xmark:"Close","xmark-circle":"Close",columns:"Columns view",rows:"Rows view",layout:"Layout",sidebar:"Sidebar","sidebar-toggle":"Toggle sidebar","panel-left":"Left panel","panel-right":"Right panel","list-view":"List view","grid-view":"Grid view",wifi:"Wi-Fi","wifi-off":"Wi-Fi off",bluetooth:"Bluetooth",signal:"Signal",battery:"Battery","battery-full":"Battery full",plug:"Plug",power:"Power","power-off":"Power off","chart-bar":"Bar chart","chart-line":"Line chart","chart-pie":"Pie chart","chart-area":"Area chart","bar-chart":"Bar chart","line-chart":"Line chart","pie-chart":"Pie chart",analytics:"Analytics",statistics:"Statistics","trending-up":"Trending up","trending-down":"Trending down"},zI=/^(fa|fas|far|fab|fal|fad|fass|bi|bi-icon|material-icons|material-symbols|ion|ionicon|feather|lucide|dashicons|glyphicon|icofont|heroicon)-/;WI=JSON.stringify($a),UI=`
291
+ var __ICON_LABELS = ${JSON.stringify($a)};
292
292
  var __ICON_PREFIX_STRIP = /^(fa|fas|far|fab|fal|fad|fass|bi|bi-icon|material-icons|material-symbols|ion|ionicon|feather|lucide|dashicons|glyphicon|icofont|heroicon)-/;
293
293
  function lookupIconLabel(classString, dataIcon, textContent) {
294
294
  var parts = [];
@@ -317,7 +317,7 @@ var gR=Object.create;var ou=Object.defineProperty;var vR=Object.getOwnPropertyDe
317
317
  }
318
318
  return null;
319
319
  }
320
- `;});var eg={};Br(eg,{COLOR_MATH_JS:()=>BI});var BI,tg=qr(()=>{BI=`
320
+ `;});var lg={};Vr(lg,{COLOR_MATH_JS:()=>XI});var XI,ug=Rr(()=>{XI=`
321
321
  var __colorCtx;
322
322
  function parseCssColor(str) {
323
323
  if (!str) return null;
@@ -354,44 +354,44 @@ var gR=Object.create;var ou=Object.defineProperty;var vR=Object.getOwnPropertyDe
354
354
  var hi = Math.max(l1, l2), lo = Math.min(l1, l2);
355
355
  return (hi + 0.05) / (lo + 0.05);
356
356
  }
357
- `;});var rg={};Br(rg,{applyPlatformTemplates:()=>jI,detectPlatform:()=>VI,isAriaHiddenSafeForTemplate:()=>uu});function uu(f){let p=f.trim().split(/[\s>~+]+/),h=p[p.length-1].trim().match(/^([a-zA-Z][a-zA-Z0-9-]*)/);if(!h)return true;let m=h[1].toLowerCase();return m==="body"||m==="html"?false:!new Set(["a","button","input","select","textarea"]).has(m)}function HI(){if($a)return $a;try{let f=globalThis.process,p=f?.getBuiltinModule?.("fs"),y=f?.getBuiltinModule?.("path");if(!p||!y)throw new Error("fs unavailable");let h=p.readFileSync(y.join(__dirname,"platformTemplates.json"),"utf-8");return $a=JSON.parse(h),$a}catch{return $a={},$a}}async function VI(f){return f.evaluate(()=>{let p=[],y=document.documentElement.outerHTML.slice(0,5e4).toLowerCase(),m=(document.querySelector('meta[name="generator"]')?.getAttribute("content")||"").toLowerCase();return (y.includes("shopify")||y.includes("cdn.shopify.com")||window.Shopify)&&p.push("shopify"),(m.includes("wordpress")||y.includes("wp-content")||y.includes("wp-includes"))&&p.push("wordpress"),(y.includes("civicplus")||y.includes("civicalerts")||y.includes("cpslider")||document.querySelector(".cpSlider, #breadCrumbs, .rcPrev, .rcNext"))&&p.push("civicplus"),(y.includes("finalsite")||document.querySelector(".fsHeader, .fsCalendar, .fsPanelGroup, #fsPoweredByFinalsite"))&&p.push("finalsite"),(y.includes("dealersocket")||y.includes("dealer.com")||document.querySelector(".ddc-tracking, .inventory-listing-default, .vlp-refine"))&&p.push("dealer"),(y.includes("wix.com")||y.includes("wixsite.com"))&&p.push("wix"),(y.includes("squarespace")||m.includes("squarespace"))&&p.push("squarespace"),(y.includes("webflow")||m.includes("webflow"))&&p.push("webflow"),p.push("universal"),p.push("universal_iframe"),p})}async function jI(f,p,y="scan"){let h=HI(),m=[];for(let v of p)h[v]&&m.push(...h[v]);return m.length?y==="manifest"?m.filter(v=>v.attribute==="aria-hidden"&&v.value==="true"?uu(v.selector):true).map(v=>({selector:v.selector,attribute:v.attribute,currentValue:"",issueType:v.attribute==="alt"?"missing_alt":v.attribute==="aria-label"?"missing_label":"missing_semantic_role",wcag:v.attribute==="alt"?"1.1.1":"4.1.2",context:`platform:${v.platform} (template)`,needsAI:false,fixValue:v.value})):(await f.evaluate(v=>{let b=[];for(let A of v)try{let k=document.querySelectorAll(A.selector);if(k.length>0){let x=!1;for(let _ of k){let T=_.getAttribute(A.attribute)||"";if(A.attribute==="alt"&&_.getAttribute("alt")===null)x=!0;else if(A.attribute==="alt"&&T===""&&A.value==="")x=!0;else if(A.attribute==="aria-label"&&!T)x=!0;else if(A.attribute==="title"&&!T)x=!0;else if(A.attribute==="role"&&T!==A.value)x=!0;else if(A.attribute==="aria-level"&&!_.getAttribute("aria-level"))x=!0;else if(A.attribute==="aria-hidden"&&_.getAttribute("aria-hidden")!=="true"){let S=_.tagName.toLowerCase(),E=S==="a"&&_.hasAttribute("href")||S==="button"||S==="input"||S==="select"||S==="textarea"||Number(_.getAttribute("tabindex")??-1)>=0;S!=="body"&&S!=="html"&&!E&&(x=!0);}if(x)break}x&&b.push({selector:A.selector,attribute:A.attribute,value:A.value,platform:A.platform,matchCount:k.length});}}catch{}return b},m.filter(v=>!(v.attribute==="aria-hidden"&&v.value==="true")||uu(v.selector)).map(v=>({selector:v.selector,attribute:v.attribute,value:v.value,platform:v.platform})))).map(v=>({selector:v.selector,attribute:v.attribute,currentValue:"",issueType:v.attribute==="alt"?"missing_alt":v.attribute==="aria-label"?"missing_label":"missing_semantic_role",wcag:v.attribute==="alt"?"1.1.1":"4.1.2",context:`platform:${v.platform} (${v.matchCount} elements)`,needsAI:false,fixValue:v.value})):[]}var $a,ag=qr(()=>{$a=null;});var og=xR((ig,zn)=>{(function f(p){var y=p,h=p.document,m=m||{};m.version="4.11.3",typeof define=="function"&&define.amd&&define("axe-core",[],function(){return m}),(typeof zn>"u"?"undefined":ae(zn))==="object"&&zn.exports&&typeof f.toString=="function"&&(m.source="("+f.toString()+')(typeof window === "object" ? window : this);',zn.exports=m),typeof p.getComputedStyle=="function"&&(p.axe=m);var v=["precision","format","inGamut"],b=["space"],A=["algorithm"],k=["method"],x=["maxDeltaE","deltaEMethod","steps","maxSteps"],_=["node"],T=["relatedNodes"],S=["node"],E=["variant"],F=["matches"],L=["chromium"],O=["noImplicit"],H=["noPresentational"],$=["node"],z=["environmentData"],K=["environmentData"],j=["environmentData"],W=["environmentData"],Z=["environmentData"];function te(U){return Wt(U)||Un(U)||Yn(U)||At()}function ie(U){var J=typeof Map=="function"?new Map:void 0;return ie=function(ye){if(ye===null||!re(ye))return ye;if(typeof ye!="function")throw new TypeError("Super expression must either be null or a function");if(J!==void 0){if(J.has(ye))return J.get(ye);J.set(ye,ot);}function ot(){return Ie(ye,arguments,Ye(this).constructor)}return ot.prototype=Object.create(ye.prototype,{constructor:{value:ot,enumerable:false,writable:true,configurable:true}}),Ue(ot,ye)},ie(U)}function re(U){try{return Function.toString.call(U).indexOf("[native code]")!==-1}catch{return typeof U=="function"}}function me(U,J,ce){return (J=Vr(J))in U?Object.defineProperty(U,J,{value:ce,enumerable:true,configurable:true,writable:true}):U[J]=ce,U}function Ie(U,J,ce){if(Ze())return Reflect.construct.apply(null,arguments);var ye=[null];ye.push.apply(ye,J);var ot=new(U.bind.apply(U,ye));return ce&&Ue(ot,ce.prototype),ot}function Ce(U,J){if(U==null)return {};var ce,ye,ot=qe(U,J);if(Object.getOwnPropertySymbols){var wt=Object.getOwnPropertySymbols(U);for(ye=0;ye<wt.length;ye++)ce=wt[ye],J.indexOf(ce)===-1&&{}.propertyIsEnumerable.call(U,ce)&&(ot[ce]=U[ce]);}return ot}function qe(U,J){if(U==null)return {};var ce={};for(var ye in U)if({}.hasOwnProperty.call(U,ye)){if(J.indexOf(ye)!==-1)continue;ce[ye]=U[ye];}return ce}function ke(U,J,ce){return J=Ye(J),ze(U,Ze()?Reflect.construct(J,ce||[],Ye(U).constructor):J.apply(U,ce))}function ze(U,J){if(J&&(ae(J)=="object"||typeof J=="function"))return J;if(J!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Ke(U)}function Ke(U){if(U===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return U}function Ze(){try{var U=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));}catch{}return (Ze=function(){return !!U})()}function Ye(U){return Ye=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(J){return J.__proto__||Object.getPrototypeOf(J)},Ye(U)}function Le(U,J){if(typeof J!="function"&&J!==null)throw new TypeError("Super expression must either be null or a function");U.prototype=Object.create(J&&J.prototype,{constructor:{value:U,writable:true,configurable:true}}),Object.defineProperty(U,"prototype",{writable:false}),J&&Ue(U,J);}function Ue(U,J){return Ue=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(ce,ye){return ce.__proto__=ye,ce},Ue(U,J)}function Te(){return Te=Object.assign?Object.assign.bind():function(U){for(var J=1;J<arguments.length;J++){var ce=arguments[J];for(var ye in ce)({}).hasOwnProperty.call(ce,ye)&&(U[ye]=ce[ye]);}return U},Te.apply(null,arguments)}function _e(U){return Xn(U)||Un(U)||Yn(U)||vr()}function vr(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
358
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Un(U){if(typeof Symbol<"u"&&U[Symbol.iterator]!=null||U["@@iterator"]!=null)return Array.from(U)}function Xn(U){if(Array.isArray(U))return Kn(U)}function lr(U,J,ce){Ua(U,J),J.set(U,ce);}function ia(U,J){Ua(U,J),J.add(U);}function Ua(U,J){if(J.has(U))throw new TypeError("Cannot initialize the same private elements twice on an object")}function zt(U,J){return U.get(Tr(U,J))}function kt(U,J,ce){return U.set(Tr(U,J),ce),ce}function Tr(U,J,ce){if(typeof U=="function"?U===J:U.has(J))return arguments.length<3?J:ce;throw new TypeError("Private element is not present on this object")}function le(U,J){return Wt(U)||Gt(U,J)||Yn(U,J)||At()}function At(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
359
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Gt(U,J){var ce=U==null?null:typeof Symbol<"u"&&U[Symbol.iterator]||U["@@iterator"];if(ce!=null){var ye,ot,wt,Pt,er=[],Tt=true,Bt=false;try{if(wt=(ce=ce.call(U)).next,J===0){if(Object(ce)!==ce)return;Tt=!1;}else for(;!(Tt=(ye=wt.call(ce)).done)&&(er.push(ye.value),er.length!==J);Tt=!0);}catch(Xa){Bt=true,ot=Xa;}finally{try{if(!Tt&&ce.return!=null&&(Pt=ce.return(),Object(Pt)!==Pt))return}finally{if(Bt)throw ot}}return er}}function Wt(U){if(Array.isArray(U))return U}function gt(U,J){if(!(U instanceof J))throw new TypeError("Cannot call a class as a function")}function Qt(U,J){for(var ce=0;ce<J.length;ce++){var ye=J[ce];ye.enumerable=ye.enumerable||false,ye.configurable=true,"value"in ye&&(ye.writable=true),Object.defineProperty(U,Vr(ye.key),ye);}}function tt(U,J,ce){return J&&Qt(U.prototype,J),ce&&Qt(U,ce),Object.defineProperty(U,"prototype",{writable:false}),U}function Vr(U){var J=oa(U,"string");return ae(J)=="symbol"?J:J+""}function oa(U,J){if(ae(U)!="object"||!U)return U;var ce=U[Symbol.toPrimitive];if(ce!==void 0){var ye=ce.call(U,J);if(ae(ye)!="object")return ye;throw new TypeError("@@toPrimitive must return a primitive value.")}return (J==="string"?String:Number)(U)}function Ge(U,J){var ce=typeof Symbol<"u"&&U[Symbol.iterator]||U["@@iterator"];if(!ce){if(Array.isArray(U)||(ce=Yn(U))||J){ce&&(U=ce);var ye=0,ot=function(){};return {s:ot,n:function(){return ye>=U.length?{done:true}:{done:false,value:U[ye++]}},e:function(Bt){throw Bt},f:ot}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
360
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var wt,Pt=true,er=false;return {s:function(){ce=ce.call(U);},n:function(){var Bt=ce.next();return Pt=Bt.done,Bt},e:function(Bt){er=true,wt=Bt;},f:function(){try{Pt||ce.return==null||ce.return();}finally{if(er)throw wt}}}}function Yn(U,J){if(U){if(typeof U=="string")return Kn(U,J);var ce={}.toString.call(U).slice(8,-1);return ce==="Object"&&U.constructor&&(ce=U.constructor.name),ce==="Map"||ce==="Set"?Array.from(U):ce==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(ce)?Kn(U,J):void 0}}function Kn(U,J){(J==null||J>U.length)&&(J=U.length);for(var ce=0,ye=Array(J);ce<J;ce++)ye[ce]=U[ce];return ye}function ae(U){"@babel/helpers - typeof";return ae=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(J){return typeof J}:function(J){return J&&typeof Symbol=="function"&&J.constructor===Symbol&&J!==Symbol.prototype?"symbol":typeof J},ae(U)}((function(U,J,ce,ye,ot,wt,Pt,er,Tt,Bt,Xa){var Tg=Object.create,Ya=Object.defineProperty,Fg=Object.getPrototypeOf,Rg=Object.prototype.hasOwnProperty,Ig=Object.getOwnPropertyNames,Lg=Object.getOwnPropertyDescriptor,Pg=function(t,r,a){return r in t?Ya(t,r,{enumerable:true,configurable:true,writable:true,value:a}):t[r]=a},Mg=function(t){return Ya(t,"__esModule",{value:true})},N=function(t,r){return function(){return r||t((r={exports:{}}).exports,r),r.exports}},ur=function(t,r){for(var a in r)Ya(t,a,{get:r[a],enumerable:true});},Og=function(t,r,a){if(r&&ae(r)==="object"||typeof r=="function"){var n=Ge(Ig(r)),i;try{var o=function(){var l=i.value;!Rg.call(t,l)&&l!=="default"&&Ya(t,l,{get:function(){return r[l]},enumerable:!(a=Lg(r,l))||a.enumerable});};for(n.s();!(i=n.n()).done;)o();}catch(s){n.e(s);}finally{n.f();}}return t},br=function(t){return Og(Mg(Ya(t!=null?Tg(Fg(t)):{},"default",t&&t.__esModule&&"default"in t?{get:function(){return t.default},enumerable:true}:{value:t,enumerable:true})),t)},Au=function(t,r,a){return Pg(t,ae(r)!=="symbol"?r+"":r,a),a},Ng=N(function(e,t){(function(r,a){ae(e)==="object"&&typeof t<"u"?t.exports=a():typeof define=="function"&&define.amd?define(a):r.ES6Promise=a();})(e,function(){function r(Y){var oe=ae(Y);return Y!==null&&(oe==="object"||oe==="function")}function a(Y){return typeof Y=="function"}var n=void 0;Array.isArray?n=Array.isArray:n=function(oe){return Object.prototype.toString.call(oe)==="[object Array]"};var i=n,o=0,s=void 0,l=void 0,u=function(oe,fe){X[o]=oe,X[o+1]=fe,o+=2,o===2&&(l?l(Q):he());};function c(Y){l=Y;}function d(Y){u=Y;}var g=typeof p<"u"?p:void 0,D=g||{},C=D.MutationObserver||D.WebKitMutationObserver,R=typeof self>"u"&&typeof process<"u"&&{}.toString.call(process)==="[object process]",I=typeof Uint8ClampedArray<"u"&&typeof importScripts<"u"&&typeof MessageChannel<"u";function P(){return function(){return process.nextTick(Q)}}function M(){return typeof s<"u"?function(){s(Q);}:V()}function q(){var Y=0,oe=new C(Q),fe=h.createTextNode("");return oe.observe(fe,{characterData:true}),function(){fe.data=Y=++Y%2;}}function B(){var Y=new MessageChannel;return Y.port1.onmessage=Q,function(){return Y.port2.postMessage(0)}}function V(){var Y=setTimeout;return function(){return Y(Q,1)}}var X=new Array(1e3);function Q(){for(var Y=0;Y<o;Y+=2){var oe=X[Y],fe=X[Y+1];oe(fe),X[Y]=void 0,X[Y+1]=void 0;}o=0;}function ne(){try{var Y=Function("return this")().require("vertx");return s=Y.runOnLoop||Y.runOnContext,M()}catch{return V()}}var he=void 0;R?he=P():C?he=q():I?he=B():g===void 0?he=ne():he=V();function ee(Y,oe){var fe=this,De=new this.constructor(ge);De[pe]===void 0&&dt(De);var Ne=fe._state;if(Ne){var $e=arguments[Ne-1];u(function(){return lt(Ne,De,$e,fe._result)});}else Xe(fe,De,Y,oe);return De}function ue(Y){var oe=this;if(Y&&ae(Y)==="object"&&Y.constructor===oe)return Y;var fe=new oe(ge);return be(fe,Y),fe}var pe=Math.random().toString(36).substring(2);function ge(){}var Se=void 0,Oe=1,xe=2;function Re(){return new TypeError("You cannot resolve a promise with itself")}function de(){return new TypeError("A promises callback cannot return that same promise.")}function Ee(Y,oe,fe,De){try{Y.call(oe,fe,De);}catch(Ne){return Ne}}function G(Y,oe,fe){u(function(De){var Ne=false,$e=Ee(fe,oe,function(St){Ne||(Ne=true,oe!==St?be(De,St):we(De,St));},function(St){Ne||(Ne=true,Ae(De,St));},"Settle: "+(De._label||" unknown promise"));!Ne&&$e&&(Ne=true,Ae(De,$e));},Y);}function ve(Y,oe){oe._state===Oe?we(Y,oe._result):oe._state===xe?Ae(Y,oe._result):Xe(oe,void 0,function(fe){return be(Y,fe)},function(fe){return Ae(Y,fe)});}function se(Y,oe,fe){oe.constructor===Y.constructor&&fe===ee&&oe.constructor.resolve===ue?ve(Y,oe):fe===void 0?we(Y,oe):a(fe)?G(Y,oe,fe):we(Y,oe);}function be(Y,oe){if(Y===oe)Ae(Y,Re());else if(r(oe)){var fe=void 0;try{fe=oe.then;}catch(De){Ae(Y,De);return}se(Y,oe,fe);}else we(Y,oe);}function Me(Y){Y._onerror&&Y._onerror(Y._result),nt(Y);}function we(Y,oe){Y._state===Se&&(Y._result=oe,Y._state=Oe,Y._subscribers.length!==0&&u(nt,Y));}function Ae(Y,oe){Y._state===Se&&(Y._state=xe,Y._result=oe,u(Me,Y));}function Xe(Y,oe,fe,De){var Ne=Y._subscribers,$e=Ne.length;Y._onerror=null,Ne[$e]=oe,Ne[$e+Oe]=fe,Ne[$e+xe]=De,$e===0&&Y._state&&u(nt,Y);}function nt(Y){var oe=Y._subscribers,fe=Y._state;if(oe.length!==0){for(var De=void 0,Ne=void 0,$e=Y._result,St=0;St<oe.length;St+=3)De=oe[St],Ne=oe[St+fe],De?lt(fe,De,Ne,$e):Ne($e);Y._subscribers.length=0;}}function lt(Y,oe,fe,De){var Ne=a(fe),$e=void 0,St=void 0,Va=true;if(Ne){try{$e=fe(De);}catch(So){Va=false,St=So;}if(oe===$e){Ae(oe,de());return}}else $e=De;oe._state!==Se||(Ne&&Va?be(oe,$e):Va===false?Ae(oe,St):Y===Oe?we(oe,$e):Y===xe&&Ae(oe,$e));}function bt(Y,oe){try{oe(function(De){be(Y,De);},function(De){Ae(Y,De);});}catch(fe){Ae(Y,fe);}}var Et=0;function _t(){return Et++}function dt(Y){Y[pe]=Et++,Y._state=void 0,Y._result=void 0,Y._subscribers=[];}function Ha(){return new Error("Array Methods must be provided an Array")}var Lt=(function(){function Y(oe,fe){this._instanceConstructor=oe,this.promise=new oe(ge),this.promise[pe]||dt(this.promise),i(fe)?(this.length=fe.length,this._remaining=fe.length,this._result=new Array(this.length),this.length===0?we(this.promise,this._result):(this.length=this.length||0,this._enumerate(fe),this._remaining===0&&we(this.promise,this._result))):Ae(this.promise,Ha());}return Y.prototype._enumerate=function(fe){for(var De=0;this._state===Se&&De<fe.length;De++)this._eachEntry(fe[De],De);},Y.prototype._eachEntry=function(fe,De){var Ne=this._instanceConstructor,$e=Ne.resolve;if($e===ue){var St=void 0,Va=void 0,So=false;try{St=fe.then;}catch(iu){So=true,Va=iu;}if(St===ee&&fe._state!==Se)this._settledAt(fe._state,De,fe._result);else if(typeof St!="function")this._remaining--,this._result[De]=fe;else if(Ne===ht){var nu=new Ne(ge);So?Ae(nu,Va):se(nu,fe,St),this._willSettleAt(nu,De);}else this._willSettleAt(new Ne(function(iu){return iu(fe)}),De);}else this._willSettleAt($e(fe),De);},Y.prototype._settledAt=function(fe,De,Ne){var $e=this.promise;$e._state===Se&&(this._remaining--,fe===xe?Ae($e,Ne):this._result[De]=Ne),this._remaining===0&&we($e,this._result);},Y.prototype._willSettleAt=function(fe,De){var Ne=this;Xe(fe,void 0,function($e){return Ne._settledAt(Oe,De,$e)},function($e){return Ne._settledAt(xe,De,$e)});},Y})();function ft(Y){return new Lt(this,Y).promise}function Ct(Y){var oe=this;return i(Y)?new oe(function(fe,De){for(var Ne=Y.length,$e=0;$e<Ne;$e++)oe.resolve(Y[$e]).then(fe,De);}):new oe(function(fe,De){return De(new TypeError("You must pass an array to race."))})}function yt(Y){var oe=this,fe=new oe(ge);return Ae(fe,Y),fe}function Nt(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function qt(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}var ht=(function(){function Y(oe){this[pe]=_t(),this._result=this._state=void 0,this._subscribers=[],ge!==oe&&(typeof oe!="function"&&Nt(),this instanceof Y?bt(this,oe):qt());}return Y.prototype.catch=function(fe){return this.then(null,fe)},Y.prototype.finally=function(fe){var De=this,Ne=De.constructor;return a(fe)?De.then(function($e){return Ne.resolve(fe()).then(function(){return $e})},function($e){return Ne.resolve(fe()).then(function(){throw $e})}):De.then(fe,fe)},Y})();ht.prototype.then=ee,ht.all=ft,ht.race=Ct,ht.resolve=ue,ht.reject=yt,ht._setScheduler=c,ht._setAsap=d,ht._asap=u;function it(){var Y=void 0;if(typeof y<"u")Y=y;else if(typeof self<"u")Y=self;else try{Y=Function("return this")();}catch{throw new Error("polyfill failed because global object is unavailable in this environment")}var oe=Y.Promise;if(oe){var fe=null;try{fe=Object.prototype.toString.call(oe.resolve());}catch{}if(fe==="[object Promise]"&&!oe.cast)return}Y.Promise=ht;}return ht.polyfill=it,ht.Promise=ht,ht});}),qg=N(function(e){var t=1e5,r=(function(){var G=Object.prototype.toString,ve=Object.prototype.hasOwnProperty;return {Class:function(be){return G.call(be).replace(/^\[object *|\]$/g,"")},HasProperty:function(be,Me){return Me in be},HasOwnProperty:function(be,Me){return ve.call(be,Me)},IsCallable:function(be){return typeof be=="function"},ToInt32:function(be){return be>>0},ToUint32:function(be){return be>>>0}}})(),a=Math.LN2,n=Math.abs,i=Math.floor,o=Math.log,s=Math.min,l=Math.pow,u=Math.round;function c(G,ve,se){return G<ve?ve:G>se?se:G}var d=Object.getOwnPropertyNames||function(G){if(G!==Object(G))throw new TypeError("Object.getOwnPropertyNames called on non-object");var ve=[],se;for(se in G)r.HasOwnProperty(G,se)&&ve.push(se);return ve},g;Object.defineProperty&&(function(){try{return Object.defineProperty({},"x",{}),!0}catch{return false}})()?g=Object.defineProperty:g=function(ve,se,be){if(!ve===Object(ve))throw new TypeError("Object.defineProperty called on non-object");return r.HasProperty(be,"get")&&Object.prototype.__defineGetter__&&Object.prototype.__defineGetter__.call(ve,se,be.get),r.HasProperty(be,"set")&&Object.prototype.__defineSetter__&&Object.prototype.__defineSetter__.call(ve,se,be.set),r.HasProperty(be,"value")&&(ve[se]=be.value),ve};function D(G){if(d&&g){var ve=d(G),se;for(se=0;se<ve.length;se+=1)g(G,ve[se],{value:G[ve[se]],writable:false,enumerable:false,configurable:false});}}function C(G){if(!g)return;if(G.length>t)throw new RangeError("Array too large for polyfill");function ve(be){g(G,be,{get:function(){return G._getter(be)},set:function(we){G._setter(be,we);},enumerable:true,configurable:false});}var se;for(se=0;se<G.length;se+=1)ve(se);}function R(G,ve){var se=32-ve;return G<<se>>se}function I(G,ve){var se=32-ve;return G<<se>>>se}function P(G){return [G&255]}function M(G){return R(G[0],8)}function q(G){return [G&255]}function B(G){return I(G[0],8)}function V(G){return G=u(Number(G)),[G<0?0:G>255?255:G&255]}function X(G){return [G>>8&255,G&255]}function Q(G){return R(G[0]<<8|G[1],16)}function ne(G){return [G>>8&255,G&255]}function he(G){return I(G[0]<<8|G[1],16)}function ee(G){return [G>>24&255,G>>16&255,G>>8&255,G&255]}function ue(G){return R(G[0]<<24|G[1]<<16|G[2]<<8|G[3],32)}function pe(G){return [G>>24&255,G>>16&255,G>>8&255,G&255]}function ge(G){return I(G[0]<<24|G[1]<<16|G[2]<<8|G[3],32)}function Se(G,ve,se){var be=(1<<ve-1)-1,Me,we,Ae,Xe,nt,lt,bt;function Et(_t){var dt=i(_t),Ha=_t-dt;return Ha<.5?dt:Ha>.5||dt%2?dt+1:dt}for(G!==G?(we=(1<<ve)-1,Ae=l(2,se-1),Me=0):G===1/0||G===-1/0?(we=(1<<ve)-1,Ae=0,Me=G<0?1:0):G===0?(we=0,Ae=0,Me=1/G===-1/0?1:0):(Me=G<0,G=n(G),G>=l(2,1-be)?(we=s(i(o(G)/a),1023),Ae=Et(G/l(2,we)*l(2,se)),Ae/l(2,se)>=2&&(we=we+1,Ae=1),we>be?(we=(1<<ve)-1,Ae=0):(we=we+be,Ae=Ae-l(2,se))):(we=0,Ae=Et(G/l(2,1-be-se)))),nt=[],Xe=se;Xe;Xe-=1)nt.push(Ae%2?1:0),Ae=i(Ae/2);for(Xe=ve;Xe;Xe-=1)nt.push(we%2?1:0),we=i(we/2);for(nt.push(Me?1:0),nt.reverse(),lt=nt.join(""),bt=[];lt.length;)bt.push(parseInt(lt.substring(0,8),2)),lt=lt.substring(8);return bt}function Oe(G,ve,se){var be=[],Me,we,Ae,Xe,nt,lt,bt,Et;for(Me=G.length;Me;Me-=1)for(Ae=G[Me-1],we=8;we;we-=1)be.push(Ae%2?1:0),Ae=Ae>>1;return be.reverse(),Xe=be.join(""),nt=(1<<ve-1)-1,lt=parseInt(Xe.substring(0,1),2)?-1:1,bt=parseInt(Xe.substring(1,1+ve),2),Et=parseInt(Xe.substring(1+ve),2),bt===(1<<ve)-1?Et===0?lt*(1/0):NaN:bt>0?lt*l(2,bt-nt)*(1+Et/l(2,se)):Et!==0?lt*l(2,-(nt-1))*(Et/l(2,se)):lt<0?-0:0}function xe(G){return Oe(G,11,52)}function Re(G){return Se(G,11,52)}function de(G){return Oe(G,8,23)}function Ee(G){return Se(G,8,23)}((function(){function G(_t){if(_t=r.ToInt32(_t),_t<0)throw new RangeError("ArrayBuffer size is not a small enough positive integer");this.byteLength=_t,this._bytes=[],this._bytes.length=_t;var dt;for(dt=0;dt<this.byteLength;dt+=1)this._bytes[dt]=0;D(this);}e.ArrayBuffer=e.ArrayBuffer||G;function ve(){}function se(_t,dt,Ha){var Lt;return Lt=function(Ct,yt,Nt){var qt,ht,it,Y;if(!arguments.length||typeof arguments[0]=="number"){if(this.length=r.ToInt32(arguments[0]),Nt<0)throw new RangeError("ArrayBufferView size is not a small enough positive integer");this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new G(this.byteLength),this.byteOffset=0;}else if(ae(arguments[0])==="object"&&arguments[0].constructor===Lt)for(qt=arguments[0],this.length=qt.length,this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new G(this.byteLength),this.byteOffset=0,it=0;it<this.length;it+=1)this._setter(it,qt._getter(it));else if(ae(arguments[0])==="object"&&!(arguments[0]instanceof G||r.Class(arguments[0])==="ArrayBuffer"))for(ht=arguments[0],this.length=r.ToUint32(ht.length),this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new G(this.byteLength),this.byteOffset=0,it=0;it<this.length;it+=1)Y=ht[it],this._setter(it,Number(Y));else if(ae(arguments[0])==="object"&&(arguments[0]instanceof G||r.Class(arguments[0])==="ArrayBuffer")){if(this.buffer=Ct,this.byteOffset=r.ToUint32(yt),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(Nt),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=Lt,D(this),C(this);},Lt.prototype=new ve,Lt.prototype.BYTES_PER_ELEMENT=_t,Lt.prototype._pack=dt,Lt.prototype._unpack=Ha,Lt.BYTES_PER_ELEMENT=_t,Lt.prototype._getter=function(ft){if(arguments.length<1)throw new SyntaxError("Not enough arguments");if(ft=r.ToUint32(ft),!(ft>=this.length)){for(var Ct=[],yt=0,Nt=this.byteOffset+ft*this.BYTES_PER_ELEMENT;yt<this.BYTES_PER_ELEMENT;yt+=1,Nt+=1)Ct.push(this.buffer._bytes[Nt]);return this._unpack(Ct)}},Lt.prototype.get=Lt.prototype._getter,Lt.prototype._setter=function(ft,Ct){if(arguments.length<2)throw new SyntaxError("Not enough arguments");if(ft=r.ToUint32(ft),ft<this.length){var yt=this._pack(Ct),Nt,qt;for(Nt=0,qt=this.byteOffset+ft*this.BYTES_PER_ELEMENT;Nt<this.BYTES_PER_ELEMENT;Nt+=1,qt+=1)this.buffer._bytes[qt]=yt[Nt];}},Lt.prototype.set=function(ft,Ct){if(arguments.length<1)throw new SyntaxError("Not enough arguments");var yt,Nt,qt,ht,it,Y,oe,fe,De,Ne;if(ae(arguments[0])==="object"&&arguments[0].constructor===this.constructor){if(yt=arguments[0],qt=r.ToUint32(arguments[1]),qt+yt.length>this.length)throw new RangeError("Offset plus length of array is out of range");if(fe=this.byteOffset+qt*this.BYTES_PER_ELEMENT,De=yt.length*this.BYTES_PER_ELEMENT,yt.buffer===this.buffer){for(Ne=[],it=0,Y=yt.byteOffset;it<De;it+=1,Y+=1)Ne[it]=yt.buffer._bytes[Y];for(it=0,oe=fe;it<De;it+=1,oe+=1)this.buffer._bytes[oe]=Ne[it];}else for(it=0,Y=yt.byteOffset,oe=fe;it<De;it+=1,Y+=1,oe+=1)this.buffer._bytes[oe]=yt.buffer._bytes[Y];}else if(ae(arguments[0])==="object"&&typeof arguments[0].length<"u"){if(Nt=arguments[0],ht=r.ToUint32(Nt.length),qt=r.ToUint32(arguments[1]),qt+ht>this.length)throw new RangeError("Offset plus length of array is out of range");for(it=0;it<ht;it+=1)Y=Nt[it],this._setter(qt+it,Number(Y));}else throw new TypeError("Unexpected argument type(s)")},Lt.prototype.subarray=function(ft,Ct){ft=r.ToInt32(ft),Ct=r.ToInt32(Ct),arguments.length<1&&(ft=0),arguments.length<2&&(Ct=this.length),ft<0&&(ft=this.length+ft),Ct<0&&(Ct=this.length+Ct),ft=c(ft,0,this.length),Ct=c(Ct,0,this.length);var yt=Ct-ft;return yt<0&&(yt=0),new this.constructor(this.buffer,this.byteOffset+ft*this.BYTES_PER_ELEMENT,yt)},Lt}var be=se(1,P,M),Me=se(1,q,B),we=se(1,V,B),Ae=se(2,X,Q),Xe=se(2,ne,he),nt=se(4,ee,ue),lt=se(4,pe,ge),bt=se(4,Ee,de),Et=se(8,Re,xe);e.Int8Array=e.Int8Array||be,e.Uint8Array=e.Uint8Array||Me,e.Uint8ClampedArray=e.Uint8ClampedArray||we,e.Int16Array=e.Int16Array||Ae,e.Uint16Array=e.Uint16Array||Xe,e.Int32Array=e.Int32Array||nt,e.Uint32Array=e.Uint32Array||lt,e.Float32Array=e.Float32Array||bt,e.Float64Array=e.Float64Array||Et;}))(),(function(){function G(we,Ae){return r.IsCallable(we.get)?we.get(Ae):we[Ae]}var ve=(function(){var we=new e.Uint16Array([4660]),Ae=new e.Uint8Array(we.buffer);return G(Ae,0)===18})();function se(we,Ae,Xe){if(arguments.length===0)we=new e.ArrayBuffer(0);else if(!(we instanceof e.ArrayBuffer||r.Class(we)==="ArrayBuffer"))throw new TypeError("TypeError");if(this.buffer=we||new e.ArrayBuffer(0),this.byteOffset=r.ToUint32(Ae),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(Xe),this.byteOffset+this.byteLength>this.buffer.byteLength)throw new RangeError("byteOffset and length reference an area beyond the end of the buffer");D(this);}function be(we){return function(Ae,Xe){if(Ae=r.ToUint32(Ae),Ae+we.BYTES_PER_ELEMENT>this.byteLength)throw new RangeError("Array index out of range");Ae+=this.byteOffset;var nt=new e.Uint8Array(this.buffer,Ae,we.BYTES_PER_ELEMENT),lt=[],bt;for(bt=0;bt<we.BYTES_PER_ELEMENT;bt+=1)lt.push(G(nt,bt));return !!Xe==!!ve&&lt.reverse(),G(new we(new e.Uint8Array(lt).buffer),0)}}se.prototype.getUint8=be(e.Uint8Array),se.prototype.getInt8=be(e.Int8Array),se.prototype.getUint16=be(e.Uint16Array),se.prototype.getInt16=be(e.Int16Array),se.prototype.getUint32=be(e.Uint32Array),se.prototype.getInt32=be(e.Int32Array),se.prototype.getFloat32=be(e.Float32Array),se.prototype.getFloat64=be(e.Float64Array);function Me(we){return function(Ae,Xe,nt){if(Ae=r.ToUint32(Ae),Ae+we.BYTES_PER_ELEMENT>this.byteLength)throw new RangeError("Array index out of range");var lt=new we([Xe]),bt=new e.Uint8Array(lt.buffer),Et=[],_t,dt;for(_t=0;_t<we.BYTES_PER_ELEMENT;_t+=1)Et.push(G(bt,_t));!!nt==!!ve&&Et.reverse(),dt=new e.Uint8Array(this.buffer,Ae,we.BYTES_PER_ELEMENT),dt.set(Et);}}se.prototype.setUint8=Me(e.Uint8Array),se.prototype.setInt8=Me(e.Int8Array),se.prototype.setUint16=Me(e.Uint16Array),se.prototype.setInt16=Me(e.Int16Array),se.prototype.setUint32=Me(e.Uint32Array),se.prototype.setInt32=Me(e.Int32Array),se.prototype.setFloat32=Me(e.Float32Array),se.prototype.setFloat64=Me(e.Float64Array),e.DataView=e.DataView||se;})();}),Bg=N(function(e){(function(t){if(t.WeakMap)return;var r=Object.prototype.hasOwnProperty,a=Object.defineProperty&&(function(){try{return Object.defineProperty({},"x",{value:1}).x===1}catch{}})(),n=function(s,l,u){a?Object.defineProperty(s,l,{configurable:true,writable:true,value:u}):s[l]=u;};t.WeakMap=(function(){function o(){if(this===void 0)throw new TypeError("Constructor WeakMap requires 'new'");if(n(this,"_id",l("_WeakMap")),arguments.length>0)throw new TypeError("WeakMap iterable is not supported")}n(o.prototype,"delete",function(c){if(s(this,"delete"),!i(c))return false;var d=c[this._id];return d&&d[0]===c?(delete c[this._id],true):false}),n(o.prototype,"get",function(c){if(s(this,"get"),!!i(c)){var d=c[this._id];if(d&&d[0]===c)return d[1]}}),n(o.prototype,"has",function(c){if(s(this,"has"),!i(c))return false;var d=c[this._id];return !!(d&&d[0]===c)}),n(o.prototype,"set",function(c,d){if(s(this,"set"),!i(c))throw new TypeError("Invalid value used as weak map key");var g=c[this._id];return g&&g[0]===c?(g[1]=d,this):(n(c,this._id,[c,d]),this)});function s(c,d){if(!i(c)||!r.call(c,"_id"))throw new TypeError(d+" method called on incompatible receiver "+ae(c))}function l(c){return c+"_"+u()+"."+u()}function u(){return Math.random().toString().substring(2)}return n(o,"_polyfill",true),o})();function i(o){return Object(o)===o}})(typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof p<"u"?p:typeof y<"u"?y:e);}),cr=N(function(e,t){var r=function(n){return n&&n.Math===Math&&n};t.exports=r((typeof globalThis>"u"?"undefined":ae(globalThis))=="object"&&globalThis)||r((typeof p>"u"?"undefined":ae(p))=="object"&&p)||r((typeof self>"u"?"undefined":ae(self))=="object"&&self)||r((typeof y>"u"?"undefined":ae(y))=="object"&&y)||r(ae(e)=="object"&&e)||(function(){return this})()||Function("return this")();}),dr=N(function(e,t){t.exports=function(r){try{return !!r()}catch{return true}};}),Jn=N(function(e,t){var r=dr();t.exports=!r(function(){var a=function(){}.bind();return typeof a!="function"||a.hasOwnProperty("prototype")});}),Hg=N(function(e,t){var r=Jn(),a=Function.prototype,n=a.apply,i=a.call;t.exports=(typeof Reflect>"u"?"undefined":ae(Reflect))=="object"&&Reflect.apply||(r?i.bind(n):function(){return i.apply(n,arguments)});}),tr=N(function(e,t){var r=Jn(),a=Function.prototype,n=a.call,i=r&&a.bind.bind(n,n);t.exports=r?i:function(o){return function(){return n.apply(o,arguments)}};}),Zn=N(function(e,t){var r=tr(),a=r({}.toString),n=r("".slice);t.exports=function(i){return n(a(i),8,-1)};}),Eu=N(function(e,t){var r=Zn(),a=tr();t.exports=function(n){if(r(n)==="Function")return a(n)};}),Vt=N(function(e,t){var r=(typeof h>"u"?"undefined":ae(h))=="object"&&h.all;t.exports=typeof r>"u"&&r!==void 0?function(a){return typeof a=="function"||a===r}:function(a){return typeof a=="function"};}),yr=N(function(e,t){var r=dr();t.exports=!r(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7});}),sa=N(function(e,t){var r=Jn(),a=Function.prototype.call;t.exports=r?a.bind(a):function(){return a.apply(a,arguments)};}),Cu=N(function(e){var t={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,a=r&&!t.call({1:2},1);e.f=a?function(i){var o=r(this,i);return !!o&&o.enumerable}:t;}),Qn=N(function(e,t){t.exports=function(r,a){return {enumerable:!(r&1),configurable:!(r&2),writable:!(r&4),value:a}};}),Vg=N(function(e,t){var r=tr(),a=dr(),n=Zn(),i=Object,o=r("".split);t.exports=a(function(){return !i("z").propertyIsEnumerable(0)})?function(s){return n(s)==="String"?o(s,""):i(s)}:i;}),Io=N(function(e,t){t.exports=function(r){return r==null};}),ei=N(function(e,t){var r=Io(),a=TypeError;t.exports=function(n){if(r(n))throw new a("Can't call method on "+n);return n};}),Ka=N(function(e,t){var r=Vg(),a=ei();t.exports=function(n){return r(a(n))};}),jr=N(function(e,t){var r=Vt();t.exports=function(a){return ae(a)=="object"?a!==null:r(a)};}),Ja=N(function(e,t){t.exports={};}),Lo=N(function(e,t){var r=Ja(),a=cr(),n=Vt(),i=function(s){return n(s)?s:void 0};t.exports=function(o,s){return arguments.length<2?i(r[o])||i(a[o]):r[o]&&r[o][s]||a[o]&&a[o][s]};}),jg=N(function(e,t){var r=tr();t.exports=r({}.isPrototypeOf);}),$g=N(function(e,t){var r=cr(),a=r.navigator,n=a&&a.userAgent;t.exports=n?String(n):"";}),zg=N(function(e,t){var r=cr(),a=$g(),n=r.process,i=r.Deno,o=n&&n.versions||i&&i.version,s=o&&o.v8,l,u;s&&(l=s.split("."),u=l[0]>0&&l[0]<4?1:+(l[0]+l[1])),!u&&a&&(l=a.match(/Edge\/(\d+)/),(!l||l[1]>=74)&&(l=a.match(/Chrome\/(\d+)/),l&&(u=+l[1]))),t.exports=u;}),Su=N(function(e,t){var r=zg(),a=dr(),n=cr(),i=n.String;t.exports=!!Object.getOwnPropertySymbols&&!a(function(){var o=Symbol("symbol detection");return !i(o)||!(Object(o)instanceof Symbol)||!Symbol.sham&&r&&r<41});}),ku=N(function(e,t){var r=Su();t.exports=r&&!Symbol.sham&&ae(Symbol.iterator)=="symbol";}),Tu=N(function(e,t){var r=Lo(),a=Vt(),n=jg(),i=ku(),o=Object;t.exports=i?function(s){return ae(s)=="symbol"}:function(s){var l=r("Symbol");return a(l)&&n(l.prototype,o(s))};}),Fu=N(function(e,t){var r=String;t.exports=function(a){try{return r(a)}catch{return "Object"}};}),ti=N(function(e,t){var r=Vt(),a=Fu(),n=TypeError;t.exports=function(i){if(r(i))return i;throw new n(a(i)+" is not a function")};}),Po=N(function(e,t){var r=ti(),a=Io();t.exports=function(n,i){var o=n[i];return a(o)?void 0:r(o)};}),Gg=N(function(e,t){var r=sa(),a=Vt(),n=jr(),i=TypeError;t.exports=function(o,s){var l,u;if(s==="string"&&a(l=o.toString)&&!n(u=r(l,o))||a(l=o.valueOf)&&!n(u=r(l,o))||s!=="string"&&a(l=o.toString)&&!n(u=r(l,o)))return u;throw new i("Can't convert object to primitive value")};}),Mo=N(function(e,t){t.exports=true;}),Wg=N(function(e,t){var r=cr(),a=Object.defineProperty;t.exports=function(n,i){try{a(r,n,{value:i,configurable:!0,writable:!0});}catch{r[n]=i;}return i};}),ri=N(function(e,t){var r=Mo(),a=cr(),n=Wg(),i="__core-js_shared__",o=t.exports=a[i]||n(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"});}),Ru=N(function(e,t){var r=ri();t.exports=function(a,n){return r[a]||(r[a]=n||{})};}),Oo=N(function(e,t){var r=ei(),a=Object;t.exports=function(n){return a(r(n))};}),Fr=N(function(e,t){var r=tr(),a=Oo(),n=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(o,s){return n(a(o),s)};}),Iu=N(function(e,t){var r=tr(),a=0,n=Math.random(),i=r(1.1.toString);t.exports=function(o){return "Symbol("+(o===void 0?"":o)+")_"+i(++a+n,36)};}),Rr=N(function(e,t){var r=cr(),a=Ru(),n=Fr(),i=Iu(),o=Su(),s=ku(),l=r.Symbol,u=a("wks"),c=s?l.for||l:l&&l.withoutSetter||i;t.exports=function(d){return n(u,d)||(u[d]=o&&n(l,d)?l[d]:c("Symbol."+d)),u[d]};}),Ug=N(function(e,t){var r=sa(),a=jr(),n=Tu(),i=Po(),o=Gg(),s=Rr(),l=TypeError,u=s("toPrimitive");t.exports=function(c,d){if(!a(c)||n(c))return c;var g=i(c,u),D;if(g){if(d===void 0&&(d="default"),D=r(g,c,d),!a(D)||n(D))return D;throw new l("Can't convert object to primitive value")}return d===void 0&&(d="number"),o(c,d)};}),Lu=N(function(e,t){var r=Ug(),a=Tu();t.exports=function(n){var i=r(n,"string");return a(i)?i:i+""};}),Pu=N(function(e,t){var r=cr(),a=jr(),n=r.document,i=a(n)&&a(n.createElement);t.exports=function(o){return i?n.createElement(o):{}};}),Mu=N(function(e,t){var r=yr(),a=dr(),n=Pu();t.exports=!r&&!a(function(){return Object.defineProperty(n("div"),"a",{get:function(){return 7}}).a!==7});}),Xg=N(function(e){var t=yr(),r=sa(),a=Cu(),n=Qn(),i=Ka(),o=Lu(),s=Fr(),l=Mu(),u=Object.getOwnPropertyDescriptor;e.f=t?u:function(d,g){if(d=i(d),g=o(g),l)try{return u(d,g)}catch{}if(s(d,g))return n(!r(a.f,d,g),d[g])};}),Yg=N(function(e,t){var r=dr(),a=Vt(),n=/#|\.prototype\./,i=function(d,g){var D=s[o(d)];return D===u?true:D===l?false:a(g)?r(g):!!g},o=i.normalize=function(c){return String(c).replace(n,".").toLowerCase()},s=i.data={},l=i.NATIVE="N",u=i.POLYFILL="P";t.exports=i;}),Ou=N(function(e,t){var r=Eu(),a=ti(),n=Jn(),i=r(r.bind);t.exports=function(o,s){return a(o),s===void 0?o:n?i(o,s):function(){return o.apply(s,arguments)}};}),Nu=N(function(e,t){var r=yr(),a=dr();t.exports=r&&a(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:false}).prototype!==42});}),xa=N(function(e,t){var r=jr(),a=String,n=TypeError;t.exports=function(i){if(r(i))return i;throw new n(a(i)+" is not an object")};}),ai=N(function(e){var t=yr(),r=Mu(),a=Nu(),n=xa(),i=Lu(),o=TypeError,s=Object.defineProperty,l=Object.getOwnPropertyDescriptor,u="enumerable",c="configurable",d="writable";e.f=t?a?function(D,C,R){if(n(D),C=i(C),n(R),typeof D=="function"&&C==="prototype"&&"value"in R&&d in R&&!R[d]){var I=l(D,C);I&&I[d]&&(D[C]=R.value,R={configurable:c in R?R[c]:I[c],enumerable:u in R?R[u]:I[u],writable:false});}return s(D,C,R)}:s:function(D,C,R){if(n(D),C=i(C),n(R),r)try{return s(D,C,R)}catch{}if("get"in R||"set"in R)throw new o("Accessors not supported");return "value"in R&&(D[C]=R.value),D};}),Za=N(function(e,t){var r=yr(),a=ai(),n=Qn();t.exports=r?function(i,o,s){return a.f(i,o,n(1,s))}:function(i,o,s){return i[o]=s,i};}),ni=N(function(e,t){var r=cr(),a=Hg(),n=Eu(),i=Vt(),o=Xg().f,s=Yg(),l=Ja(),u=Ou(),c=Za(),d=Fr();ri();var g=function(C){var R=function(P,M,q){if(this instanceof R){switch(arguments.length){case 0:return new C;case 1:return new C(P);case 2:return new C(P,M)}return new C(P,M,q)}return a(C,this,arguments)};return R.prototype=C.prototype,R};t.exports=function(D,C){var R=D.target,I=D.global,P=D.stat,M=D.proto,q=I?r:P?r[R]:r[R]&&r[R].prototype,B=I?l:l[R]||c(l,R,{})[R],V=B.prototype,X,Q,ne,he,ee,ue,pe,ge,Se;for(he in C)X=s(I?he:R+(P?".":"#")+he,D.forced),Q=!X&&q&&d(q,he),ue=B[he],Q&&(D.dontCallGetSet?(Se=o(q,he),pe=Se&&Se.value):pe=q[he]),ee=Q&&pe?pe:C[he],!(!X&&!M&&ae(ue)==ae(ee))&&(D.bind&&Q?ge=u(ee,r):D.wrap&&Q?ge=g(ee):M&&i(ee)?ge=n(ee):ge=ee,(D.sham||ee&&ee.sham||ue&&ue.sham)&&c(ge,"sham",true),c(B,he,ge),M&&(ne=R+"Prototype",d(l,ne)||c(l,ne,{}),c(l[ne],he,ee),D.real&&V&&(X||!V[he])&&c(V,he,ee)));};}),Kg=N(function(){var e=ni(),t=Fr();e({target:"Object",stat:true},{hasOwn:t});}),Jg=N(function(e,t){Kg();var r=Ja();t.exports=r.Object.hasOwn;}),Zg=N(function(e,t){var r=Jg();t.exports=r;}),Qg=N(function(e,t){var r=Zg();t.exports=r;}),No=N(function(e,t){var r=Ru(),a=Iu(),n=r("keys");t.exports=function(i){return n[i]||(n[i]=a(i))};}),ev=N(function(e,t){var r=dr();t.exports=!r(function(){function a(){}return a.prototype.constructor=null,Object.getPrototypeOf(new a)!==a.prototype});}),qo=N(function(e,t){var r=Fr(),a=Vt(),n=Oo(),i=No(),o=ev(),s=i("IE_PROTO"),l=Object,u=l.prototype;t.exports=o?l.getPrototypeOf:function(c){var d=n(c);if(r(d,s))return d[s];var g=d.constructor;return a(g)&&d instanceof g?g.prototype:d instanceof l?u:null};}),tv=N(function(e,t){var r=Math.ceil,a=Math.floor;t.exports=Math.trunc||function(i){var o=+i;return (o>0?a:r)(o)};}),Bo=N(function(e,t){var r=tv();t.exports=function(a){var n=+a;return n!==n||n===0?0:r(n)};}),rv=N(function(e,t){var r=Bo(),a=Math.max,n=Math.min;t.exports=function(i,o){var s=r(i);return s<0?a(s+o,0):n(s,o)};}),av=N(function(e,t){var r=Bo(),a=Math.min;t.exports=function(n){var i=r(n);return i>0?a(i,9007199254740991):0};}),qu=N(function(e,t){var r=av();t.exports=function(a){return r(a.length)};}),nv=N(function(e,t){var r=Ka(),a=rv(),n=qu(),i=function(s){return function(l,u,c){var d=r(l),g=n(d);if(g===0)return !s&&-1;var D=a(c,g),C;if(s&&u!==u){for(;g>D;)if(C=d[D++],C!==C)return true}else for(;g>D;D++)if((s||D in d)&&d[D]===u)return s||D||0;return !s&&-1}};t.exports={includes:i(true),indexOf:i(false)};}),Ho=N(function(e,t){t.exports={};}),iv=N(function(e,t){var r=tr(),a=Fr(),n=Ka(),i=nv().indexOf,o=Ho(),s=r([].push);t.exports=function(l,u){var c=n(l),d=0,g=[],D;for(D in c)!a(o,D)&&a(c,D)&&s(g,D);for(;u.length>d;)a(c,D=u[d++])&&(~i(g,D)||s(g,D));return g};}),Bu=N(function(e,t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"];}),Hu=N(function(e,t){var r=iv(),a=Bu();t.exports=Object.keys||function(i){return r(i,a)};}),ov=N(function(e,t){var r=yr(),a=dr(),n=tr(),i=qo(),o=Hu(),s=Ka(),l=Cu().f,u=n(l),c=n([].push),d=r&&a(function(){var D=Object.create(null);return D[2]=2,!u(D,2)}),g=function(C){return function(R){for(var I=s(R),P=o(I),M=d&&i(I)===null,q=P.length,B=0,V=[],X;q>B;)X=P[B++],(!r||(M?X in I:u(I,X)))&&c(V,C?[X,I[X]]:I[X]);return V}};t.exports={entries:g(true),values:g(false)};}),sv=N(function(){var e=ni(),t=ov().values;e({target:"Object",stat:true},{values:function(a){return t(a)}});}),lv=N(function(e,t){sv();var r=Ja();t.exports=r.Object.values;}),uv=N(function(e,t){var r=lv();t.exports=r;}),cv=N(function(e,t){var r=uv();t.exports=r;}),Vo=N(function(e,t){var r=Rr(),a=r("toStringTag"),n={};n[a]="z",t.exports=String(n)==="[object z]";}),ii=N(function(e,t){var r=Vo(),a=Vt(),n=Zn(),i=Rr(),o=i("toStringTag"),s=Object,l=n((function(){return arguments})())==="Arguments",u=function(d,g){try{return d[g]}catch{}};t.exports=r?n:function(c){var d,g,D;return c===void 0?"Undefined":c===null?"Null":typeof(g=u(d=s(c),o))=="string"?g:l?n(d):(D=n(d))==="Object"&&a(d.callee)?"Arguments":D};}),Vu=N(function(e,t){var r=ii(),a=String;t.exports=function(n){if(r(n)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return a(n)};}),dv=N(function(e,t){var r=tr(),a=Bo(),n=Vu(),i=ei(),o=r("".charAt),s=r("".charCodeAt),l=r("".slice),u=function(d){return function(g,D){var C=n(i(g)),R=a(D),I=C.length,P,M;return R<0||R>=I?d?"":void 0:(P=s(C,R),P<55296||P>56319||R+1===I||(M=s(C,R+1))<56320||M>57343?d?o(C,R):P:d?l(C,R,R+2):(P-55296<<10)+(M-56320)+65536)}};t.exports={codeAt:u(false),charAt:u(true)};}),fv=N(function(e,t){var r=cr(),a=Vt(),n=r.WeakMap;t.exports=a(n)&&/native code/.test(String(n));}),pv=N(function(e,t){var r=fv(),a=cr(),n=jr(),i=Za(),o=Fr(),s=ri(),l=No(),u=Ho(),c="Object already initialized",d=a.TypeError,g=a.WeakMap,D,C,R,I=function(V){return R(V)?C(V):D(V,{})},P=function(V){return function(X){var Q;if(!n(X)||(Q=C(X)).type!==V)throw new d("Incompatible receiver, "+V+" required");return Q}};r||s.state?(M=s.state||(s.state=new g),M.get=M.get,M.has=M.has,M.set=M.set,D=function(V,X){if(M.has(V))throw new d(c);return X.facade=V,M.set(V,X),X},C=function(V){return M.get(V)||{}},R=function(V){return M.has(V)}):(q=l("state"),u[q]=true,D=function(V,X){if(o(V,q))throw new d(c);return X.facade=V,i(V,q,X),X},C=function(V){return o(V,q)?V[q]:{}},R=function(V){return o(V,q)});var M,q;t.exports={set:D,get:C,has:R,enforce:I,getterFor:P};}),mv=N(function(e,t){var r=yr(),a=Fr(),n=Function.prototype,i=r&&Object.getOwnPropertyDescriptor,o=a(n,"name"),s=o&&function(){}.name==="something",l=o&&(!r||r&&i(n,"name").configurable);t.exports={EXISTS:o,PROPER:s,CONFIGURABLE:l};}),hv=N(function(e){var t=yr(),r=Nu(),a=ai(),n=xa(),i=Ka(),o=Hu();e.f=t&&!r?Object.defineProperties:function(l,u){n(l);for(var c=i(u),d=o(u),g=d.length,D=0,C;g>D;)a.f(l,C=d[D++],c[C]);return l};}),gv=N(function(e,t){var r=Lo();t.exports=r("document","documentElement");}),ju=N(function(e,t){var r=xa(),a=hv(),n=Bu(),i=Ho(),o=gv(),s=Pu(),l=No(),u=">",c="<",d="prototype",g="script",D=l("IE_PROTO"),C=function(){},R=function(V){return c+g+u+V+c+"/"+g+u},I=function(V){V.write(R("")),V.close();var X=V.parentWindow.Object;return V=null,X},P=function(){var V=s("iframe"),X="java"+g+":",Q;return V.style.display="none",o.appendChild(V),V.src=String(X),Q=V.contentWindow.document,Q.open(),Q.write(R("document.F=Object")),Q.close(),Q.F},M,q=function(){try{M=new ActiveXObject("htmlfile");}catch{}q=typeof h<"u"?h.domain&&M?I(M):P():I(M);for(var V=n.length;V--;)delete q[d][n[V]];return q()};i[D]=true,t.exports=Object.create||function(V,X){var Q;return V!==null?(C[d]=r(V),Q=new C,C[d]=null,Q[D]=V):Q=q(),X===void 0?Q:a.f(Q,X)};}),$u=N(function(e,t){var r=Za();t.exports=function(a,n,i,o){return o&&o.enumerable?a[n]=i:r(a,n,i),a};}),zu=N(function(e,t){var r=dr(),a=Vt(),n=jr(),i=ju(),o=qo(),s=$u(),l=Rr(),u=Mo(),c=l("iterator"),d=false,g,D,C;[].keys&&(C=[].keys(),"next"in C?(D=o(o(C)),D!==Object.prototype&&(g=D)):d=true);var R=!n(g)||r(function(){var I={};return g[c].call(I)!==I});R?g={}:u&&(g=i(g)),a(g[c])||s(g,c,function(){return this}),t.exports={IteratorPrototype:g,BUGGY_SAFARI_ITERATORS:d};}),vv=N(function(e,t){var r=Vo(),a=ii();t.exports=r?{}.toString:function(){return "[object "+a(this)+"]"};}),Gu=N(function(e,t){var r=Vo(),a=ai().f,n=Za(),i=Fr(),o=vv(),s=Rr(),l=s("toStringTag");t.exports=function(u,c,d,g){var D=d?u:u&&u.prototype;D&&(i(D,l)||a(D,l,{configurable:true,value:c}),g&&!r&&n(D,"toString",o));};}),oi=N(function(e,t){t.exports={};}),bv=N(function(e,t){var r=zu().IteratorPrototype,a=ju(),n=Qn(),i=Gu(),o=oi(),s=function(){return this};t.exports=function(l,u,c,d){var g=u+" Iterator";return l.prototype=a(r,{next:n(+!d,c)}),i(l,g,false,true),o[g]=s,l};}),yv=N(function(e,t){var r=tr(),a=ti();t.exports=function(n,i,o){try{return r(a(Object.getOwnPropertyDescriptor(n,i)[o]))}catch{}};}),wv=N(function(e,t){var r=jr();t.exports=function(a){return r(a)||a===null};}),xv=N(function(e,t){var r=wv(),a=String,n=TypeError;t.exports=function(i){if(r(i))return i;throw new n("Can't set "+a(i)+" as a prototype")};}),Dv=N(function(e,t){var r=yv(),a=jr(),n=ei(),i=xv();t.exports=Object.setPrototypeOf||("__proto__"in{}?(function(){var o=false,s={},l;try{l=r(Object.prototype,"__proto__","set"),l(s,[]),o=s instanceof Array;}catch{}return function(c,d){return n(c),i(d),a(c)&&(o?l(c,d):c.__proto__=d),c}})():void 0);}),_v=N(function(e,t){var r=ni(),a=sa(),n=Mo(),i=mv(),o=Vt(),s=bv(),l=qo(),u=Dv(),c=Gu(),d=Za(),g=$u(),D=Rr(),C=oi(),R=zu(),I=i.PROPER,P=i.CONFIGURABLE,M=R.IteratorPrototype,q=R.BUGGY_SAFARI_ITERATORS,B=D("iterator"),V="keys",X="values",Q="entries",ne=function(){return this};t.exports=function(he,ee,ue,pe,ge,Se,Oe){s(ue,ee,pe);var xe=function(Xe){if(Xe===ge&&ve)return ve;if(!q&&Xe&&Xe in Ee)return Ee[Xe];switch(Xe){case V:return function(){return new ue(this,Xe)};case X:return function(){return new ue(this,Xe)};case Q:return function(){return new ue(this,Xe)}}return function(){return new ue(this)}},Re=ee+" Iterator",de=false,Ee=he.prototype,G=Ee[B]||Ee["@@iterator"]||ge&&Ee[ge],ve=!q&&G||xe(ge),se=ee==="Array"&&Ee.entries||G,be,Me,we;if(se&&(be=l(se.call(new he)),be!==Object.prototype&&be.next&&(!n&&l(be)!==M&&(u?u(be,M):o(be[B])||g(be,B,ne)),c(be,Re,true,true),n&&(C[Re]=ne))),I&&ge===X&&G&&G.name!==X&&(!n&&P?d(Ee,"name",X):(de=true,ve=function(){return a(G,this)})),ge)if(Me={values:xe(X),keys:Se?ve:xe(V),entries:xe(Q)},Oe)for(we in Me)(q||de||!(we in Ee))&&g(Ee,we,Me[we]);else r({target:ee,proto:true,forced:q||de},Me);return (!n||Oe)&&Ee[B]!==ve&&g(Ee,B,ve,{name:ge}),C[ee]=ve,Me};}),Av=N(function(e,t){t.exports=function(r,a){return {value:r,done:a}};}),Ev=N(function(){var e=dv().charAt,t=Vu(),r=pv(),a=_v(),n=Av(),i="String Iterator",o=r.set,s=r.getterFor(i);a(String,"String",function(l){o(this,{type:i,string:t(l),index:0});},function(){var u=s(this),c=u.string,d=u.index,g;return d>=c.length?n(void 0,true):(g=e(c,d),u.index+=g.length,n(g,false))});}),Cv=N(function(e,t){var r=sa(),a=xa(),n=Po();t.exports=function(i,o,s){var l,u;a(i);try{if(l=n(i,"return"),!l){if(o==="throw")throw s;return s}l=r(l,i);}catch(c){u=true,l=c;}if(o==="throw")throw s;if(u)throw l;return a(l),s};}),Sv=N(function(e,t){var r=xa(),a=Cv();t.exports=function(n,i,o,s){try{return s?i(r(o)[0],o[1]):i(o)}catch(l){a(n,"throw",l);}};}),kv=N(function(e,t){var r=Rr(),a=oi(),n=r("iterator"),i=Array.prototype;t.exports=function(o){return o!==void 0&&(a.Array===o||i[n]===o)};}),Tv=N(function(e,t){var r=tr(),a=Vt(),n=ri(),i=r(Function.toString);a(n.inspectSource)||(n.inspectSource=function(o){return i(o)}),t.exports=n.inspectSource;}),Fv=N(function(e,t){var r=tr(),a=dr(),n=Vt(),i=ii(),o=Lo(),s=Tv(),l=function(){},u=o("Reflect","construct"),c=/^\s*(?:class|function)\b/,d=r(c.exec),g=!c.test(l),D=function(I){if(!n(I))return false;try{return u(l,[],I),!0}catch{return false}},C=function(I){if(!n(I))return false;switch(i(I)){case "AsyncFunction":case "GeneratorFunction":case "AsyncGeneratorFunction":return false}try{return g||!!d(c,s(I))}catch{return true}};C.sham=true,t.exports=!u||a(function(){var R;return D(D.call)||!D(Object)||!D(function(){R=true;})||R})?C:D;}),Rv=N(function(e,t){var r=yr(),a=ai(),n=Qn();t.exports=function(i,o,s){r?a.f(i,o,n(0,s)):i[o]=s;};}),Iv=N(function(e,t){var r=Zn();t.exports=Array.isArray||function(n){return r(n)==="Array"};}),Lv=N(function(e,t){var r=yr(),a=Iv(),n=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(a(s)&&!i(s,"length").writable)throw new n("Cannot set read only .length");return s.length=l}:function(s,l){return s.length=l};}),Wu=N(function(e,t){var r=ii(),a=Po(),n=Io(),i=oi(),o=Rr(),s=o("iterator");t.exports=function(l){if(!n(l))return a(l,s)||a(l,"@@iterator")||i[r(l)]};}),Pv=N(function(e,t){var r=sa(),a=ti(),n=xa(),i=Fu(),o=Wu(),s=TypeError;t.exports=function(l,u){var c=arguments.length<2?o(l):u;if(a(c))return n(r(c,l));throw new s(i(l)+" is not iterable")};}),Mv=N(function(e,t){var r=Ou(),a=sa(),n=Oo(),i=Sv(),o=kv(),s=Fv(),l=qu(),u=Rv(),c=Lv(),d=Pv(),g=Wu(),D=Array;t.exports=function(R){var I=n(R),P=s(this),M=arguments.length,q=M>1?arguments[1]:void 0,B=q!==void 0;B&&(q=r(q,M>2?arguments[2]:void 0));var V=g(I),X=0,Q,ne,he,ee,ue,pe;if(V&&!(this===D&&o(V)))for(ne=P?new this:[],ee=d(I,V),ue=ee.next;!(he=a(ue,ee)).done;X++)pe=B?i(ee,q,[he.value,X],true):he.value,u(ne,X,pe);else for(Q=l(I),ne=P?new this(Q):D(Q);Q>X;X++)pe=B?q(I[X],X):I[X],u(ne,X,pe);return c(ne,X),ne};}),Ov=N(function(e,t){var r=Rr(),a=r("iterator"),n=false;try{i=0,o={next:function(){return {done:!!i++}},return:function(){n=!0;}},o[a]=function(){return this},Array.from(o,function(){throw 2});}catch{}var i,o;t.exports=function(s,l){try{if(!l&&!n)return !1}catch{return false}var u=false;try{var c={};c[a]=function(){return {next:function(){return {done:u=!0}}}},s(c);}catch{}return u};}),Nv=N(function(){var e=ni(),t=Mv(),r=Ov(),a=!r(function(n){Array.from(n);});e({target:"Array",stat:true,forced:a},{from:t});}),qv=N(function(e,t){Ev(),Nv();var r=Ja();t.exports=r.Array.from;}),Bv=N(function(e,t){var r=qv();t.exports=r;}),Uu=N(function(e,t){var r=Bv();t.exports=r;}),Xu=N(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 a(o){return o>="a"&&o<="f"||o>="A"&&o<="F"||o>="0"&&o<="9"}e.isHex=a;function n(o){for(var s=o.length,l="",u=0;u<s;){var c=o.charAt(u);if(e.identSpecialChars[c])l+="\\"+c;else if(c==="_"||c==="-"||c>="A"&&c<="Z"||c>="a"&&c<="z"||u!==0&&c>="0"&&c<="9")l+=c;else {var d=c.charCodeAt(0);if((d&63488)===55296){var g=o.charCodeAt(u++);if((d&64512)!==55296||(g&64512)!==56320)throw Error("UCS-2(decode): illegal sequence");d=((d&1023)<<10)+(g&1023)+65536;}l+="\\"+d.toString(16)+" ";}u++;}return l}e.escapeIdentifier=n;function i(o){for(var s=o.length,l="",u=0,c;u<s;){var d=o.charAt(u);d==='"'?d='\\"':d==="\\"?d="\\\\":(c=e.strReplacementsRev[d])!==void 0&&(d=c),l+=d,u++;}return '"'+l+'"'}e.escapeStr=i,e.identSpecialChars={"!":true,'"':true,"#":true,$:true,"%":true,"&":true,"'":true,"(":true,")":true,"*":true,"+":true,",":true,".":true,"/":true,";":true,"<":true,"=":true,">":true,"?":true,"@":true,"[":true,"\\":true,"]":true,"^":true,"`":true,"{":true,"|":true,"}":true,"~":true},e.strReplacementsRev={"\n":"\\n","\r":"\\r"," ":"\\t","\f":"\\f","\v":"\\v"},e.singleQuoteEscapeChars={n:`
357
+ `;});var cg={};Vr(cg,{applyPlatformTemplates:()=>JI,detectPlatform:()=>KI,isAriaHiddenSafeForTemplate:()=>gu});function gu(d){let p=d.trim().split(/[\s>~+]+/),m=p[p.length-1].trim().match(/^([a-zA-Z][a-zA-Z0-9-]*)/);if(!m)return true;let h=m[1].toLowerCase();return h==="body"||h==="html"?false:!new Set(["a","button","input","select","textarea"]).has(h)}function YI(){if(za)return za;try{let d=globalThis.process,p=d?.getBuiltinModule?.("fs"),g=d?.getBuiltinModule?.("path");if(!p||!g)throw new Error("fs unavailable");let m=p.readFileSync(g.join(__dirname,"platformTemplates.json"),"utf-8");return za=JSON.parse(m),za}catch{return za={},za}}async function KI(d){return d.evaluate(()=>{let p=[],g=document.documentElement.outerHTML.slice(0,5e4).toLowerCase(),h=(document.querySelector('meta[name="generator"]')?.getAttribute("content")||"").toLowerCase();return (g.includes("shopify")||g.includes("cdn.shopify.com")||window.Shopify)&&p.push("shopify"),(h.includes("wordpress")||g.includes("wp-content")||g.includes("wp-includes"))&&p.push("wordpress"),(g.includes("civicplus")||g.includes("civicalerts")||g.includes("cpslider")||document.querySelector(".cpSlider, #breadCrumbs, .rcPrev, .rcNext"))&&p.push("civicplus"),(g.includes("finalsite")||document.querySelector(".fsHeader, .fsCalendar, .fsPanelGroup, #fsPoweredByFinalsite"))&&p.push("finalsite"),(g.includes("dealersocket")||g.includes("dealer.com")||document.querySelector(".ddc-tracking, .inventory-listing-default, .vlp-refine"))&&p.push("dealer"),(g.includes("wix.com")||g.includes("wixsite.com"))&&p.push("wix"),(g.includes("squarespace")||h.includes("squarespace"))&&p.push("squarespace"),(g.includes("webflow")||h.includes("webflow"))&&p.push("webflow"),p.push("universal"),p.push("universal_iframe"),p})}async function JI(d,p,g="scan"){let m=YI(),h=[];for(let v of p)m[v]&&h.push(...m[v]);return h.length?g==="manifest"?h.filter(v=>v.attribute==="aria-hidden"&&v.value==="true"?gu(v.selector):true).map(v=>({selector:v.selector,attribute:v.attribute,currentValue:"",issueType:v.attribute==="alt"?"missing_alt":v.attribute==="aria-label"?"missing_label":"missing_semantic_role",wcag:v.attribute==="alt"?"1.1.1":"4.1.2",context:`platform:${v.platform} (template)`,needsAI:false,fixValue:v.value})):(await d.evaluate(v=>{let y=[];for(let D of v)try{let F=document.querySelectorAll(D.selector);if(F.length>0){let S=!1;for(let w of F){let T=w.getAttribute(D.attribute)||"";if(D.attribute==="alt"&&w.getAttribute("alt")===null)S=!0;else if(D.attribute==="alt"&&T===""&&D.value==="")S=!0;else if(D.attribute==="aria-label"&&!T)S=!0;else if(D.attribute==="title"&&!T)S=!0;else if(D.attribute==="role"&&T!==D.value)S=!0;else if(D.attribute==="aria-level"&&!w.getAttribute("aria-level"))S=!0;else if(D.attribute==="aria-hidden"&&w.getAttribute("aria-hidden")!=="true"){let E=w.tagName.toLowerCase(),_=E==="a"&&w.hasAttribute("href")||E==="button"||E==="input"||E==="select"||E==="textarea"||Number(w.getAttribute("tabindex")??-1)>=0;E!=="body"&&E!=="html"&&!_&&(S=!0);}if(S)break}S&&y.push({selector:D.selector,attribute:D.attribute,value:D.value,platform:D.platform,matchCount:F.length});}}catch{}return y},h.filter(v=>!(v.attribute==="aria-hidden"&&v.value==="true")||gu(v.selector)).map(v=>({selector:v.selector,attribute:v.attribute,value:v.value,platform:v.platform})))).map(v=>({selector:v.selector,attribute:v.attribute,currentValue:"",issueType:v.attribute==="alt"?"missing_alt":v.attribute==="aria-label"?"missing_label":"missing_semantic_role",wcag:v.attribute==="alt"?"1.1.1":"4.1.2",context:`platform:${v.platform} (${v.matchCount} elements)`,needsAI:false,fixValue:v.value})):[]}var za,dg=Rr(()=>{za=null;});var mg=RR((pg,Un)=>{(function d(p){var g=p,m=p.document,h=h||{};h.version="4.11.3",typeof define=="function"&&define.amd&&define("axe-core",[],function(){return h}),(typeof Un>"u"?"undefined":ie(Un))==="object"&&Un.exports&&typeof d.toString=="function"&&(h.source="("+d.toString()+')(typeof window === "object" ? window : this);',Un.exports=h),typeof p.getComputedStyle=="function"&&(p.axe=h);var v=["precision","format","inGamut"],y=["space"],D=["algorithm"],F=["method"],S=["maxDeltaE","deltaEMethod","steps","maxSteps"],w=["node"],T=["relatedNodes"],E=["node"],_=["variant"],C=["matches"],R=["chromium"],L=["noImplicit"],N=["noPresentational"],$=["node"],W=["environmentData"],G=["environmentData"],q=["environmentData"],j=["environmentData"],K=["environmentData"];function Z(X){return zt(X)||Ya(X)||Gt(X)||gt()}function Q(X){var ee=typeof Map=="function"?new Map:void 0;return Q=function(De){if(De===null||!ae(De))return De;if(typeof De!="function")throw new TypeError("Super expression must either be null or a function");if(ee!==void 0){if(ee.has(De))return ee.get(De);ee.set(De,it);}function it(){return _e(De,arguments,He(this).constructor)}return it.prototype=Object.create(De.prototype,{constructor:{value:it,enumerable:false,writable:true,configurable:true}}),Je(it,De)},Q(X)}function ae(X){try{return Function.toString.call(X).indexOf("[native code]")!==-1}catch{return typeof X=="function"}}function ne(X,ee,ce){return (ee=bt(ee))in X?Object.defineProperty(X,ee,{value:ce,enumerable:true,configurable:true,writable:true}):X[ee]=ce,X}function _e(X,ee,ce){if(Xe())return Reflect.construct.apply(null,arguments);var De=[null];De.push.apply(De,ee);var it=new(X.bind.apply(X,De));return ce&&Je(it,ce.prototype),it}function he(X,ee){if(X==null)return {};var ce,De,it=Ie(X,ee);if(Object.getOwnPropertySymbols){var Dt=Object.getOwnPropertySymbols(X);for(De=0;De<Dt.length;De++)ce=Dt[De],ee.indexOf(ce)===-1&&{}.propertyIsEnumerable.call(X,ce)&&(it[ce]=X[ce]);}return it}function Ie(X,ee){if(X==null)return {};var ce={};for(var De in X)if({}.hasOwnProperty.call(X,De)){if(ee.indexOf(De)!==-1)continue;ce[De]=X[De];}return ce}function me(X,ee,ce){return ee=He(ee),ye(X,Xe()?Reflect.construct(ee,ce||[],He(X).constructor):ee.apply(X,ce))}function ye(X,ee){if(ee&&(ie(ee)=="object"||typeof ee=="function"))return ee;if(ee!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Ue(X)}function Ue(X){if(X===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return X}function Xe(){try{var X=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));}catch{}return (Xe=function(){return !!X})()}function He(X){return He=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(ee){return ee.__proto__||Object.getPrototypeOf(ee)},He(X)}function Me(X,ee){if(typeof ee!="function"&&ee!==null)throw new TypeError("Super expression must either be null or a function");X.prototype=Object.create(ee&&ee.prototype,{constructor:{value:X,writable:true,configurable:true}}),Object.defineProperty(X,"prototype",{writable:false}),ee&&Je(X,ee);}function Je(X,ee){return Je=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(ce,De){return ce.__proto__=De,ce},Je(X,ee)}function Re(){return Re=Object.assign?Object.assign.bind():function(X){for(var ee=1;ee<arguments.length;ee++){var ce=arguments[ee];for(var De in ce)({}).hasOwnProperty.call(ce,De)&&(X[De]=ce[De]);}return X},Re.apply(null,arguments)}function ke(X){return qo(X)||Ya(X)||Gt(X)||yr()}function yr(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
358
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ya(X){if(typeof Symbol<"u"&&X[Symbol.iterator]!=null||X["@@iterator"]!=null)return Array.from(X)}function qo(X){if(Array.isArray(X))return Zn(X)}function cr(X,ee,ce){oa(X,ee),ee.set(X,ce);}function Ka(X,ee){oa(X,ee),ee.add(X);}function oa(X,ee){if(ee.has(X))throw new TypeError("Cannot initialize the same private elements twice on an object")}function $t(X,ee){return X.get(Ir(X,ee))}function Mt(X,ee,ce){return X.set(Ir(X,ee),ce),ce}function Ir(X,ee,ce){if(typeof X=="function"?X===ee:X.has(ee))return arguments.length<3?ee:ce;throw new TypeError("Private element is not present on this object")}function ge(X,ee){return zt(X)||kt(X,ee)||Gt(X,ee)||gt()}function gt(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
359
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function kt(X,ee){var ce=X==null?null:typeof Symbol<"u"&&X[Symbol.iterator]||X["@@iterator"];if(ce!=null){var De,it,Dt,Ot,rr=[],Ft=true,Vt=false;try{if(Dt=(ce=ce.call(X)).next,ee===0){if(Object(ce)!==ce)return;Ft=!1;}else for(;!(Ft=(De=Dt.call(ce)).done)&&(rr.push(De.value),rr.length!==ee);Ft=!0);}catch(Ja){Vt=true,it=Ja;}finally{try{if(!Ft&&ce.return!=null&&(Ot=ce.return(),Object(Ot)!==Ot))return}finally{if(Vt)throw it}}return rr}}function zt(X){if(Array.isArray(X))return X}function ft(X,ee){if(!(X instanceof ee))throw new TypeError("Cannot call a class as a function")}function tr(X,ee){for(var ce=0;ce<ee.length;ce++){var De=ee[ce];De.enumerable=De.enumerable||false,De.configurable=true,"value"in De&&(De.writable=true),Object.defineProperty(X,bt(De.key),De);}}function vt(X,ee,ce){return ee&&tr(X.prototype,ee),ce&&tr(X,ce),Object.defineProperty(X,"prototype",{writable:false}),X}function bt(X){var ee=sa(X,"string");return ie(ee)=="symbol"?ee:ee+""}function sa(X,ee){if(ie(X)!="object"||!X)return X;var ce=X[Symbol.toPrimitive];if(ce!==void 0){var De=ce.call(X,ee);if(ie(De)!="object")return De;throw new TypeError("@@toPrimitive must return a primitive value.")}return (ee==="string"?String:Number)(X)}function Ke(X,ee){var ce=typeof Symbol<"u"&&X[Symbol.iterator]||X["@@iterator"];if(!ce){if(Array.isArray(X)||(ce=Gt(X))||ee){ce&&(X=ce);var De=0,it=function(){};return {s:it,n:function(){return De>=X.length?{done:true}:{done:false,value:X[De++]}},e:function(Vt){throw Vt},f:it}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
360
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Dt,Ot=true,rr=false;return {s:function(){ce=ce.call(X);},n:function(){var Vt=ce.next();return Ot=Vt.done,Vt},e:function(Vt){rr=true,Dt=Vt;},f:function(){try{Ot||ce.return==null||ce.return();}finally{if(rr)throw Dt}}}}function Gt(X,ee){if(X){if(typeof X=="string")return Zn(X,ee);var ce={}.toString.call(X).slice(8,-1);return ce==="Object"&&X.constructor&&(ce=X.constructor.name),ce==="Map"||ce==="Set"?Array.from(X):ce==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(ce)?Zn(X,ee):void 0}}function Zn(X,ee){(ee==null||ee>X.length)&&(ee=X.length);for(var ce=0,De=Array(ee);ce<ee;ce++)De[ce]=X[ce];return De}function ie(X){"@babel/helpers - typeof";return ie=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(ee){return typeof ee}:function(ee){return ee&&typeof Symbol=="function"&&ee.constructor===Symbol&&ee!==Symbol.prototype?"symbol":typeof ee},ie(X)}((function(X,ee,ce,De,it,Dt,Ot,rr,Ft,Vt,Ja){var Bg=Object.create,Za=Object.defineProperty,Hg=Object.getPrototypeOf,Vg=Object.prototype.hasOwnProperty,jg=Object.getOwnPropertyNames,$g=Object.getOwnPropertyDescriptor,zg=function(t,r,a){return r in t?Za(t,r,{enumerable:true,configurable:true,writable:true,value:a}):t[r]=a},Gg=function(t){return Za(t,"__esModule",{value:true})},B=function(t,r){return function(){return r||t((r={exports:{}}).exports,r),r.exports}},dr=function(t,r){for(var a in r)Za(t,a,{get:r[a],enumerable:true});},Wg=function(t,r,a){if(r&&ie(r)==="object"||typeof r=="function"){var n=Ke(jg(r)),i;try{var o=function(){var l=i.value;!Vg.call(t,l)&&l!=="default"&&Za(t,l,{get:function(){return r[l]},enumerable:!(a=$g(r,l))||a.enumerable});};for(n.s();!(i=n.n()).done;)o();}catch(s){n.e(s);}finally{n.f();}}return t},wr=function(t){return Wg(Gg(Za(t!=null?Bg(Hg(t)):{},"default",t&&t.__esModule&&"default"in t?{get:function(){return t.default},enumerable:true}:{value:t,enumerable:true})),t)},Lu=function(t,r,a){return zg(t,ie(r)!=="symbol"?r+"":r,a),a},Ug=B(function(e,t){(function(r,a){ie(e)==="object"&&typeof t<"u"?t.exports=a():typeof define=="function"&&define.amd?define(a):r.ES6Promise=a();})(e,function(){function r(J){var se=ie(J);return J!==null&&(se==="object"||se==="function")}function a(J){return typeof J=="function"}var n=void 0;Array.isArray?n=Array.isArray:n=function(se){return Object.prototype.toString.call(se)==="[object Array]"};var i=n,o=0,s=void 0,l=void 0,u=function(se,fe){Y[o]=se,Y[o+1]=fe,o+=2,o===2&&(l?l(te):ve());};function c(J){l=J;}function f(J){u=J;}var b=typeof p<"u"?p:void 0,A=b||{},k=A.MutationObserver||A.WebKitMutationObserver,I=typeof self>"u"&&typeof process<"u"&&{}.toString.call(process)==="[object process]",P=typeof Uint8ClampedArray<"u"&&typeof importScripts<"u"&&typeof MessageChannel<"u";function M(){return function(){return process.nextTick(te)}}function O(){return typeof s<"u"?function(){s(te);}:z()}function H(){var J=0,se=new k(te),fe=m.createTextNode("");return se.observe(fe,{characterData:true}),function(){fe.data=J=++J%2;}}function V(){var J=new MessageChannel;return J.port1.onmessage=te,function(){return J.port2.postMessage(0)}}function z(){var J=setTimeout;return function(){return J(te,1)}}var Y=new Array(1e3);function te(){for(var J=0;J<o;J+=2){var se=Y[J],fe=Y[J+1];se(fe),Y[J]=void 0,Y[J+1]=void 0;}o=0;}function oe(){try{var J=Function("return this")().require("vertx");return s=J.runOnLoop||J.runOnContext,O()}catch{return z()}}var ve=void 0;I?ve=M():k?ve=H():P?ve=V():b===void 0?ve=oe():ve=z();function re(J,se){var fe=this,Ce=new this.constructor(be);Ce[pe]===void 0&&ct(Ce);var Be=fe._state;if(Be){var Ge=arguments[Be-1];u(function(){return st(Be,Ce,Ge,fe._result)});}else Ye(fe,Ce,J,se);return Ce}function ue(J){var se=this;if(J&&ie(J)==="object"&&J.constructor===se)return J;var fe=new se(be);return xe(fe,J),fe}var pe=Math.random().toString(36).substring(2);function be(){}var Fe=void 0,qe=1,Ee=2;function Pe(){return new TypeError("You cannot resolve a promise with itself")}function de(){return new TypeError("A promises callback cannot return that same promise.")}function Te(J,se,fe,Ce){try{J.call(se,fe,Ce);}catch(Be){return Be}}function U(J,se,fe){u(function(Ce){var Be=false,Ge=Te(fe,se,function(Tt){Be||(Be=true,se!==Tt?xe(Ce,Tt):Ae(Ce,Tt));},function(Tt){Be||(Be=true,Se(Ce,Tt));},"Settle: "+(Ce._label||" unknown promise"));!Be&&Ge&&(Be=true,Se(Ce,Ge));},J);}function we(J,se){se._state===qe?Ae(J,se._result):se._state===Ee?Se(J,se._result):Ye(se,void 0,function(fe){return xe(J,fe)},function(fe){return Se(J,fe)});}function le(J,se,fe){se.constructor===J.constructor&&fe===re&&se.constructor.resolve===ue?we(J,se):fe===void 0?Ae(J,se):a(fe)?U(J,se,fe):Ae(J,se);}function xe(J,se){if(J===se)Se(J,Pe());else if(r(se)){var fe=void 0;try{fe=se.then;}catch(Ce){Se(J,Ce);return}le(J,se,fe);}else Ae(J,se);}function Ne(J){J._onerror&&J._onerror(J._result),at(J);}function Ae(J,se){J._state===Fe&&(J._result=se,J._state=qe,J._subscribers.length!==0&&u(at,J));}function Se(J,se){J._state===Fe&&(J._state=Ee,J._result=se,u(Ne,J));}function Ye(J,se,fe,Ce){var Be=J._subscribers,Ge=Be.length;J._onerror=null,Be[Ge]=se,Be[Ge+qe]=fe,Be[Ge+Ee]=Ce,Ge===0&&J._state&&u(at,J);}function at(J){var se=J._subscribers,fe=J._state;if(se.length!==0){for(var Ce=void 0,Be=void 0,Ge=J._result,Tt=0;Tt<se.length;Tt+=3)Ce=se[Tt],Be=se[Tt+fe],Ce?st(fe,Ce,Be,Ge):Be(Ge);J._subscribers.length=0;}}function st(J,se,fe,Ce){var Be=a(fe),Ge=void 0,Tt=void 0,ja=true;if(Be){try{Ge=fe(Ce);}catch(To){ja=false,Tt=To;}if(se===Ge){Se(se,de());return}}else Ge=Ce;se._state!==Fe||(Be&&ja?xe(se,Ge):ja===false?Se(se,Tt):J===qe?Ae(se,Ge):J===Ee&&Se(se,Ge));}function wt(J,se){try{se(function(Ce){xe(J,Ce);},function(Ce){Se(J,Ce);});}catch(fe){Se(J,fe);}}var Ct=0;function Et(){return Ct++}function ct(J){J[pe]=Ct++,J._state=void 0,J._result=void 0,J._subscribers=[];}function Va(){return new Error("Array Methods must be provided an Array")}var Pt=(function(){function J(se,fe){this._instanceConstructor=se,this.promise=new se(be),this.promise[pe]||ct(this.promise),i(fe)?(this.length=fe.length,this._remaining=fe.length,this._result=new Array(this.length),this.length===0?Ae(this.promise,this._result):(this.length=this.length||0,this._enumerate(fe),this._remaining===0&&Ae(this.promise,this._result))):Se(this.promise,Va());}return J.prototype._enumerate=function(fe){for(var Ce=0;this._state===Fe&&Ce<fe.length;Ce++)this._eachEntry(fe[Ce],Ce);},J.prototype._eachEntry=function(fe,Ce){var Be=this._instanceConstructor,Ge=Be.resolve;if(Ge===ue){var Tt=void 0,ja=void 0,To=false;try{Tt=fe.then;}catch(fu){To=true,ja=fu;}if(Tt===re&&fe._state!==Fe)this._settledAt(fe._state,Ce,fe._result);else if(typeof Tt!="function")this._remaining--,this._result[Ce]=fe;else if(Be===ht){var du=new Be(be);To?Se(du,ja):le(du,fe,Tt),this._willSettleAt(du,Ce);}else this._willSettleAt(new Be(function(fu){return fu(fe)}),Ce);}else this._willSettleAt(Ge(fe),Ce);},J.prototype._settledAt=function(fe,Ce,Be){var Ge=this.promise;Ge._state===Fe&&(this._remaining--,fe===Ee?Se(Ge,Be):this._result[Ce]=Be),this._remaining===0&&Ae(Ge,this._result);},J.prototype._willSettleAt=function(fe,Ce){var Be=this;Ye(fe,void 0,function(Ge){return Be._settledAt(qe,Ce,Ge)},function(Ge){return Be._settledAt(Ee,Ce,Ge)});},J})();function dt(J){return new Pt(this,J).promise}function St(J){var se=this;return i(J)?new se(function(fe,Ce){for(var Be=J.length,Ge=0;Ge<Be;Ge++)se.resolve(J[Ge]).then(fe,Ce);}):new se(function(fe,Ce){return Ce(new TypeError("You must pass an array to race."))})}function xt(J){var se=this,fe=new se(be);return Se(fe,J),fe}function Bt(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function Ht(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}var ht=(function(){function J(se){this[pe]=Et(),this._result=this._state=void 0,this._subscribers=[],be!==se&&(typeof se!="function"&&Bt(),this instanceof J?wt(this,se):Ht());}return J.prototype.catch=function(fe){return this.then(null,fe)},J.prototype.finally=function(fe){var Ce=this,Be=Ce.constructor;return a(fe)?Ce.then(function(Ge){return Be.resolve(fe()).then(function(){return Ge})},function(Ge){return Be.resolve(fe()).then(function(){throw Ge})}):Ce.then(fe,fe)},J})();ht.prototype.then=re,ht.all=dt,ht.race=St,ht.resolve=ue,ht.reject=xt,ht._setScheduler=c,ht._setAsap=f,ht._asap=u;function nt(){var J=void 0;if(typeof g<"u")J=g;else if(typeof self<"u")J=self;else try{J=Function("return this")();}catch{throw new Error("polyfill failed because global object is unavailable in this environment")}var se=J.Promise;if(se){var fe=null;try{fe=Object.prototype.toString.call(se.resolve());}catch{}if(fe==="[object Promise]"&&!se.cast)return}J.Promise=ht;}return ht.polyfill=nt,ht.Promise=ht,ht});}),Xg=B(function(e){var t=1e5,r=(function(){var U=Object.prototype.toString,we=Object.prototype.hasOwnProperty;return {Class:function(xe){return U.call(xe).replace(/^\[object *|\]$/g,"")},HasProperty:function(xe,Ne){return Ne in xe},HasOwnProperty:function(xe,Ne){return we.call(xe,Ne)},IsCallable:function(xe){return typeof xe=="function"},ToInt32:function(xe){return xe>>0},ToUint32:function(xe){return xe>>>0}}})(),a=Math.LN2,n=Math.abs,i=Math.floor,o=Math.log,s=Math.min,l=Math.pow,u=Math.round;function c(U,we,le){return U<we?we:U>le?le:U}var f=Object.getOwnPropertyNames||function(U){if(U!==Object(U))throw new TypeError("Object.getOwnPropertyNames called on non-object");var we=[],le;for(le in U)r.HasOwnProperty(U,le)&&we.push(le);return we},b;Object.defineProperty&&(function(){try{return Object.defineProperty({},"x",{}),!0}catch{return false}})()?b=Object.defineProperty:b=function(we,le,xe){if(!we===Object(we))throw new TypeError("Object.defineProperty called on non-object");return r.HasProperty(xe,"get")&&Object.prototype.__defineGetter__&&Object.prototype.__defineGetter__.call(we,le,xe.get),r.HasProperty(xe,"set")&&Object.prototype.__defineSetter__&&Object.prototype.__defineSetter__.call(we,le,xe.set),r.HasProperty(xe,"value")&&(we[le]=xe.value),we};function A(U){if(f&&b){var we=f(U),le;for(le=0;le<we.length;le+=1)b(U,we[le],{value:U[we[le]],writable:false,enumerable:false,configurable:false});}}function k(U){if(!b)return;if(U.length>t)throw new RangeError("Array too large for polyfill");function we(xe){b(U,xe,{get:function(){return U._getter(xe)},set:function(Ae){U._setter(xe,Ae);},enumerable:true,configurable:false});}var le;for(le=0;le<U.length;le+=1)we(le);}function I(U,we){var le=32-we;return U<<le>>le}function P(U,we){var le=32-we;return U<<le>>>le}function M(U){return [U&255]}function O(U){return I(U[0],8)}function H(U){return [U&255]}function V(U){return P(U[0],8)}function z(U){return U=u(Number(U)),[U<0?0:U>255?255:U&255]}function Y(U){return [U>>8&255,U&255]}function te(U){return I(U[0]<<8|U[1],16)}function oe(U){return [U>>8&255,U&255]}function ve(U){return P(U[0]<<8|U[1],16)}function re(U){return [U>>24&255,U>>16&255,U>>8&255,U&255]}function ue(U){return I(U[0]<<24|U[1]<<16|U[2]<<8|U[3],32)}function pe(U){return [U>>24&255,U>>16&255,U>>8&255,U&255]}function be(U){return P(U[0]<<24|U[1]<<16|U[2]<<8|U[3],32)}function Fe(U,we,le){var xe=(1<<we-1)-1,Ne,Ae,Se,Ye,at,st,wt;function Ct(Et){var ct=i(Et),Va=Et-ct;return Va<.5?ct:Va>.5||ct%2?ct+1:ct}for(U!==U?(Ae=(1<<we)-1,Se=l(2,le-1),Ne=0):U===1/0||U===-1/0?(Ae=(1<<we)-1,Se=0,Ne=U<0?1:0):U===0?(Ae=0,Se=0,Ne=1/U===-1/0?1:0):(Ne=U<0,U=n(U),U>=l(2,1-xe)?(Ae=s(i(o(U)/a),1023),Se=Ct(U/l(2,Ae)*l(2,le)),Se/l(2,le)>=2&&(Ae=Ae+1,Se=1),Ae>xe?(Ae=(1<<we)-1,Se=0):(Ae=Ae+xe,Se=Se-l(2,le))):(Ae=0,Se=Ct(U/l(2,1-xe-le)))),at=[],Ye=le;Ye;Ye-=1)at.push(Se%2?1:0),Se=i(Se/2);for(Ye=we;Ye;Ye-=1)at.push(Ae%2?1:0),Ae=i(Ae/2);for(at.push(Ne?1:0),at.reverse(),st=at.join(""),wt=[];st.length;)wt.push(parseInt(st.substring(0,8),2)),st=st.substring(8);return wt}function qe(U,we,le){var xe=[],Ne,Ae,Se,Ye,at,st,wt,Ct;for(Ne=U.length;Ne;Ne-=1)for(Se=U[Ne-1],Ae=8;Ae;Ae-=1)xe.push(Se%2?1:0),Se=Se>>1;return xe.reverse(),Ye=xe.join(""),at=(1<<we-1)-1,st=parseInt(Ye.substring(0,1),2)?-1:1,wt=parseInt(Ye.substring(1,1+we),2),Ct=parseInt(Ye.substring(1+we),2),wt===(1<<we)-1?Ct===0?st*(1/0):NaN:wt>0?st*l(2,wt-at)*(1+Ct/l(2,le)):Ct!==0?st*l(2,-(at-1))*(Ct/l(2,le)):st<0?-0:0}function Ee(U){return qe(U,11,52)}function Pe(U){return Fe(U,11,52)}function de(U){return qe(U,8,23)}function Te(U){return Fe(U,8,23)}((function(){function U(Et){if(Et=r.ToInt32(Et),Et<0)throw new RangeError("ArrayBuffer size is not a small enough positive integer");this.byteLength=Et,this._bytes=[],this._bytes.length=Et;var ct;for(ct=0;ct<this.byteLength;ct+=1)this._bytes[ct]=0;A(this);}e.ArrayBuffer=e.ArrayBuffer||U;function we(){}function le(Et,ct,Va){var Pt;return Pt=function(St,xt,Bt){var Ht,ht,nt,J;if(!arguments.length||typeof arguments[0]=="number"){if(this.length=r.ToInt32(arguments[0]),Bt<0)throw new RangeError("ArrayBufferView size is not a small enough positive integer");this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new U(this.byteLength),this.byteOffset=0;}else if(ie(arguments[0])==="object"&&arguments[0].constructor===Pt)for(Ht=arguments[0],this.length=Ht.length,this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new U(this.byteLength),this.byteOffset=0,nt=0;nt<this.length;nt+=1)this._setter(nt,Ht._getter(nt));else if(ie(arguments[0])==="object"&&!(arguments[0]instanceof U||r.Class(arguments[0])==="ArrayBuffer"))for(ht=arguments[0],this.length=r.ToUint32(ht.length),this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new U(this.byteLength),this.byteOffset=0,nt=0;nt<this.length;nt+=1)J=ht[nt],this._setter(nt,Number(J));else if(ie(arguments[0])==="object"&&(arguments[0]instanceof U||r.Class(arguments[0])==="ArrayBuffer")){if(this.buffer=St,this.byteOffset=r.ToUint32(xt),this.byteOffset>this.buffer.byteLength)throw new RangeError("byteOffset out of range");if(this.byteOffset%this.BYTES_PER_ELEMENT)throw new RangeError("ArrayBuffer length minus the byteOffset is not a multiple of the element size.");if(arguments.length<3){if(this.byteLength=this.buffer.byteLength-this.byteOffset,this.byteLength%this.BYTES_PER_ELEMENT)throw new RangeError("length of buffer minus byteOffset not a multiple of the element size");this.length=this.byteLength/this.BYTES_PER_ELEMENT;}else this.length=r.ToUint32(Bt),this.byteLength=this.length*this.BYTES_PER_ELEMENT;if(this.byteOffset+this.byteLength>this.buffer.byteLength)throw new RangeError("byteOffset and length reference an area beyond the end of the buffer")}else throw new TypeError("Unexpected argument type(s)");this.constructor=Pt,A(this),k(this);},Pt.prototype=new we,Pt.prototype.BYTES_PER_ELEMENT=Et,Pt.prototype._pack=ct,Pt.prototype._unpack=Va,Pt.BYTES_PER_ELEMENT=Et,Pt.prototype._getter=function(dt){if(arguments.length<1)throw new SyntaxError("Not enough arguments");if(dt=r.ToUint32(dt),!(dt>=this.length)){for(var St=[],xt=0,Bt=this.byteOffset+dt*this.BYTES_PER_ELEMENT;xt<this.BYTES_PER_ELEMENT;xt+=1,Bt+=1)St.push(this.buffer._bytes[Bt]);return this._unpack(St)}},Pt.prototype.get=Pt.prototype._getter,Pt.prototype._setter=function(dt,St){if(arguments.length<2)throw new SyntaxError("Not enough arguments");if(dt=r.ToUint32(dt),dt<this.length){var xt=this._pack(St),Bt,Ht;for(Bt=0,Ht=this.byteOffset+dt*this.BYTES_PER_ELEMENT;Bt<this.BYTES_PER_ELEMENT;Bt+=1,Ht+=1)this.buffer._bytes[Ht]=xt[Bt];}},Pt.prototype.set=function(dt,St){if(arguments.length<1)throw new SyntaxError("Not enough arguments");var xt,Bt,Ht,ht,nt,J,se,fe,Ce,Be;if(ie(arguments[0])==="object"&&arguments[0].constructor===this.constructor){if(xt=arguments[0],Ht=r.ToUint32(arguments[1]),Ht+xt.length>this.length)throw new RangeError("Offset plus length of array is out of range");if(fe=this.byteOffset+Ht*this.BYTES_PER_ELEMENT,Ce=xt.length*this.BYTES_PER_ELEMENT,xt.buffer===this.buffer){for(Be=[],nt=0,J=xt.byteOffset;nt<Ce;nt+=1,J+=1)Be[nt]=xt.buffer._bytes[J];for(nt=0,se=fe;nt<Ce;nt+=1,se+=1)this.buffer._bytes[se]=Be[nt];}else for(nt=0,J=xt.byteOffset,se=fe;nt<Ce;nt+=1,J+=1,se+=1)this.buffer._bytes[se]=xt.buffer._bytes[J];}else if(ie(arguments[0])==="object"&&typeof arguments[0].length<"u"){if(Bt=arguments[0],ht=r.ToUint32(Bt.length),Ht=r.ToUint32(arguments[1]),Ht+ht>this.length)throw new RangeError("Offset plus length of array is out of range");for(nt=0;nt<ht;nt+=1)J=Bt[nt],this._setter(Ht+nt,Number(J));}else throw new TypeError("Unexpected argument type(s)")},Pt.prototype.subarray=function(dt,St){dt=r.ToInt32(dt),St=r.ToInt32(St),arguments.length<1&&(dt=0),arguments.length<2&&(St=this.length),dt<0&&(dt=this.length+dt),St<0&&(St=this.length+St),dt=c(dt,0,this.length),St=c(St,0,this.length);var xt=St-dt;return xt<0&&(xt=0),new this.constructor(this.buffer,this.byteOffset+dt*this.BYTES_PER_ELEMENT,xt)},Pt}var xe=le(1,M,O),Ne=le(1,H,V),Ae=le(1,z,V),Se=le(2,Y,te),Ye=le(2,oe,ve),at=le(4,re,ue),st=le(4,pe,be),wt=le(4,Te,de),Ct=le(8,Pe,Ee);e.Int8Array=e.Int8Array||xe,e.Uint8Array=e.Uint8Array||Ne,e.Uint8ClampedArray=e.Uint8ClampedArray||Ae,e.Int16Array=e.Int16Array||Se,e.Uint16Array=e.Uint16Array||Ye,e.Int32Array=e.Int32Array||at,e.Uint32Array=e.Uint32Array||st,e.Float32Array=e.Float32Array||wt,e.Float64Array=e.Float64Array||Ct;}))(),(function(){function U(Ae,Se){return r.IsCallable(Ae.get)?Ae.get(Se):Ae[Se]}var we=(function(){var Ae=new e.Uint16Array([4660]),Se=new e.Uint8Array(Ae.buffer);return U(Se,0)===18})();function le(Ae,Se,Ye){if(arguments.length===0)Ae=new e.ArrayBuffer(0);else if(!(Ae instanceof e.ArrayBuffer||r.Class(Ae)==="ArrayBuffer"))throw new TypeError("TypeError");if(this.buffer=Ae||new e.ArrayBuffer(0),this.byteOffset=r.ToUint32(Se),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(Ye),this.byteOffset+this.byteLength>this.buffer.byteLength)throw new RangeError("byteOffset and length reference an area beyond the end of the buffer");A(this);}function xe(Ae){return function(Se,Ye){if(Se=r.ToUint32(Se),Se+Ae.BYTES_PER_ELEMENT>this.byteLength)throw new RangeError("Array index out of range");Se+=this.byteOffset;var at=new e.Uint8Array(this.buffer,Se,Ae.BYTES_PER_ELEMENT),st=[],wt;for(wt=0;wt<Ae.BYTES_PER_ELEMENT;wt+=1)st.push(U(at,wt));return !!Ye==!!we&&st.reverse(),U(new Ae(new e.Uint8Array(st).buffer),0)}}le.prototype.getUint8=xe(e.Uint8Array),le.prototype.getInt8=xe(e.Int8Array),le.prototype.getUint16=xe(e.Uint16Array),le.prototype.getInt16=xe(e.Int16Array),le.prototype.getUint32=xe(e.Uint32Array),le.prototype.getInt32=xe(e.Int32Array),le.prototype.getFloat32=xe(e.Float32Array),le.prototype.getFloat64=xe(e.Float64Array);function Ne(Ae){return function(Se,Ye,at){if(Se=r.ToUint32(Se),Se+Ae.BYTES_PER_ELEMENT>this.byteLength)throw new RangeError("Array index out of range");var st=new Ae([Ye]),wt=new e.Uint8Array(st.buffer),Ct=[],Et,ct;for(Et=0;Et<Ae.BYTES_PER_ELEMENT;Et+=1)Ct.push(U(wt,Et));!!at==!!we&&Ct.reverse(),ct=new e.Uint8Array(this.buffer,Se,Ae.BYTES_PER_ELEMENT),ct.set(Ct);}}le.prototype.setUint8=Ne(e.Uint8Array),le.prototype.setInt8=Ne(e.Int8Array),le.prototype.setUint16=Ne(e.Uint16Array),le.prototype.setInt16=Ne(e.Int16Array),le.prototype.setUint32=Ne(e.Uint32Array),le.prototype.setInt32=Ne(e.Int32Array),le.prototype.setFloat32=Ne(e.Float32Array),le.prototype.setFloat64=Ne(e.Float64Array),e.DataView=e.DataView||le;})();}),Yg=B(function(e){(function(t){if(t.WeakMap)return;var r=Object.prototype.hasOwnProperty,a=Object.defineProperty&&(function(){try{return Object.defineProperty({},"x",{value:1}).x===1}catch{}})(),n=function(s,l,u){a?Object.defineProperty(s,l,{configurable:true,writable:true,value:u}):s[l]=u;};t.WeakMap=(function(){function o(){if(this===void 0)throw new TypeError("Constructor WeakMap requires 'new'");if(n(this,"_id",l("_WeakMap")),arguments.length>0)throw new TypeError("WeakMap iterable is not supported")}n(o.prototype,"delete",function(c){if(s(this,"delete"),!i(c))return false;var f=c[this._id];return f&&f[0]===c?(delete c[this._id],true):false}),n(o.prototype,"get",function(c){if(s(this,"get"),!!i(c)){var f=c[this._id];if(f&&f[0]===c)return f[1]}}),n(o.prototype,"has",function(c){if(s(this,"has"),!i(c))return false;var f=c[this._id];return !!(f&&f[0]===c)}),n(o.prototype,"set",function(c,f){if(s(this,"set"),!i(c))throw new TypeError("Invalid value used as weak map key");var b=c[this._id];return b&&b[0]===c?(b[1]=f,this):(n(c,this._id,[c,f]),this)});function s(c,f){if(!i(c)||!r.call(c,"_id"))throw new TypeError(f+" method called on incompatible receiver "+ie(c))}function l(c){return c+"_"+u()+"."+u()}function u(){return Math.random().toString().substring(2)}return n(o,"_polyfill",true),o})();function i(o){return Object(o)===o}})(typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof p<"u"?p:typeof g<"u"?g:e);}),fr=B(function(e,t){var r=function(n){return n&&n.Math===Math&&n};t.exports=r((typeof globalThis>"u"?"undefined":ie(globalThis))=="object"&&globalThis)||r((typeof p>"u"?"undefined":ie(p))=="object"&&p)||r((typeof self>"u"?"undefined":ie(self))=="object"&&self)||r((typeof g>"u"?"undefined":ie(g))=="object"&&g)||r(ie(e)=="object"&&e)||(function(){return this})()||Function("return this")();}),pr=B(function(e,t){t.exports=function(r){try{return !!r()}catch{return true}};}),Qn=B(function(e,t){var r=pr();t.exports=!r(function(){var a=function(){}.bind();return typeof a!="function"||a.hasOwnProperty("prototype")});}),Kg=B(function(e,t){var r=Qn(),a=Function.prototype,n=a.apply,i=a.call;t.exports=(typeof Reflect>"u"?"undefined":ie(Reflect))=="object"&&Reflect.apply||(r?i.bind(n):function(){return i.apply(n,arguments)});}),ar=B(function(e,t){var r=Qn(),a=Function.prototype,n=a.call,i=r&&a.bind.bind(n,n);t.exports=r?i:function(o){return function(){return n.apply(o,arguments)}};}),ei=B(function(e,t){var r=ar(),a=r({}.toString),n=r("".slice);t.exports=function(i){return n(a(i),8,-1)};}),Pu=B(function(e,t){var r=ei(),a=ar();t.exports=function(n){if(r(n)==="Function")return a(n)};}),Wt=B(function(e,t){var r=(typeof m>"u"?"undefined":ie(m))=="object"&&m.all;t.exports=typeof r>"u"&&r!==void 0?function(a){return typeof a=="function"||a===r}:function(a){return typeof a=="function"};}),xr=B(function(e,t){var r=pr();t.exports=!r(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7});}),la=B(function(e,t){var r=Qn(),a=Function.prototype.call;t.exports=r?a.bind(a):function(){return a.apply(a,arguments)};}),Mu=B(function(e){var t={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,a=r&&!t.call({1:2},1);e.f=a?function(i){var o=r(this,i);return !!o&&o.enumerable}:t;}),ti=B(function(e,t){t.exports=function(r,a){return {enumerable:!(r&1),configurable:!(r&2),writable:!(r&4),value:a}};}),Jg=B(function(e,t){var r=ar(),a=pr(),n=ei(),i=Object,o=r("".split);t.exports=a(function(){return !i("z").propertyIsEnumerable(0)})?function(s){return n(s)==="String"?o(s,""):i(s)}:i;}),Bo=B(function(e,t){t.exports=function(r){return r==null};}),ri=B(function(e,t){var r=Bo(),a=TypeError;t.exports=function(n){if(r(n))throw new a("Can't call method on "+n);return n};}),Qa=B(function(e,t){var r=Jg(),a=ri();t.exports=function(n){return r(a(n))};}),$r=B(function(e,t){var r=Wt();t.exports=function(a){return ie(a)=="object"?a!==null:r(a)};}),en=B(function(e,t){t.exports={};}),Ho=B(function(e,t){var r=en(),a=fr(),n=Wt(),i=function(s){return n(s)?s:void 0};t.exports=function(o,s){return arguments.length<2?i(r[o])||i(a[o]):r[o]&&r[o][s]||a[o]&&a[o][s]};}),Zg=B(function(e,t){var r=ar();t.exports=r({}.isPrototypeOf);}),Qg=B(function(e,t){var r=fr(),a=r.navigator,n=a&&a.userAgent;t.exports=n?String(n):"";}),ev=B(function(e,t){var r=fr(),a=Qg(),n=r.process,i=r.Deno,o=n&&n.versions||i&&i.version,s=o&&o.v8,l,u;s&&(l=s.split("."),u=l[0]>0&&l[0]<4?1:+(l[0]+l[1])),!u&&a&&(l=a.match(/Edge\/(\d+)/),(!l||l[1]>=74)&&(l=a.match(/Chrome\/(\d+)/),l&&(u=+l[1]))),t.exports=u;}),Ou=B(function(e,t){var r=ev(),a=pr(),n=fr(),i=n.String;t.exports=!!Object.getOwnPropertySymbols&&!a(function(){var o=Symbol("symbol detection");return !i(o)||!(Object(o)instanceof Symbol)||!Symbol.sham&&r&&r<41});}),Nu=B(function(e,t){var r=Ou();t.exports=r&&!Symbol.sham&&ie(Symbol.iterator)=="symbol";}),qu=B(function(e,t){var r=Ho(),a=Wt(),n=Zg(),i=Nu(),o=Object;t.exports=i?function(s){return ie(s)=="symbol"}:function(s){var l=r("Symbol");return a(l)&&n(l.prototype,o(s))};}),Bu=B(function(e,t){var r=String;t.exports=function(a){try{return r(a)}catch{return "Object"}};}),ai=B(function(e,t){var r=Wt(),a=Bu(),n=TypeError;t.exports=function(i){if(r(i))return i;throw new n(a(i)+" is not a function")};}),Vo=B(function(e,t){var r=ai(),a=Bo();t.exports=function(n,i){var o=n[i];return a(o)?void 0:r(o)};}),tv=B(function(e,t){var r=la(),a=Wt(),n=$r(),i=TypeError;t.exports=function(o,s){var l,u;if(s==="string"&&a(l=o.toString)&&!n(u=r(l,o))||a(l=o.valueOf)&&!n(u=r(l,o))||s!=="string"&&a(l=o.toString)&&!n(u=r(l,o)))return u;throw new i("Can't convert object to primitive value")};}),jo=B(function(e,t){t.exports=true;}),rv=B(function(e,t){var r=fr(),a=Object.defineProperty;t.exports=function(n,i){try{a(r,n,{value:i,configurable:!0,writable:!0});}catch{r[n]=i;}return i};}),ni=B(function(e,t){var r=jo(),a=fr(),n=rv(),i="__core-js_shared__",o=t.exports=a[i]||n(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"});}),Hu=B(function(e,t){var r=ni();t.exports=function(a,n){return r[a]||(r[a]=n||{})};}),$o=B(function(e,t){var r=ri(),a=Object;t.exports=function(n){return a(r(n))};}),Lr=B(function(e,t){var r=ar(),a=$o(),n=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(o,s){return n(a(o),s)};}),Vu=B(function(e,t){var r=ar(),a=0,n=Math.random(),i=r(1.1.toString);t.exports=function(o){return "Symbol("+(o===void 0?"":o)+")_"+i(++a+n,36)};}),Pr=B(function(e,t){var r=fr(),a=Hu(),n=Lr(),i=Vu(),o=Ou(),s=Nu(),l=r.Symbol,u=a("wks"),c=s?l.for||l:l&&l.withoutSetter||i;t.exports=function(f){return n(u,f)||(u[f]=o&&n(l,f)?l[f]:c("Symbol."+f)),u[f]};}),av=B(function(e,t){var r=la(),a=$r(),n=qu(),i=Vo(),o=tv(),s=Pr(),l=TypeError,u=s("toPrimitive");t.exports=function(c,f){if(!a(c)||n(c))return c;var b=i(c,u),A;if(b){if(f===void 0&&(f="default"),A=r(b,c,f),!a(A)||n(A))return A;throw new l("Can't convert object to primitive value")}return f===void 0&&(f="number"),o(c,f)};}),ju=B(function(e,t){var r=av(),a=qu();t.exports=function(n){var i=r(n,"string");return a(i)?i:i+""};}),$u=B(function(e,t){var r=fr(),a=$r(),n=r.document,i=a(n)&&a(n.createElement);t.exports=function(o){return i?n.createElement(o):{}};}),zu=B(function(e,t){var r=xr(),a=pr(),n=$u();t.exports=!r&&!a(function(){return Object.defineProperty(n("div"),"a",{get:function(){return 7}}).a!==7});}),nv=B(function(e){var t=xr(),r=la(),a=Mu(),n=ti(),i=Qa(),o=ju(),s=Lr(),l=zu(),u=Object.getOwnPropertyDescriptor;e.f=t?u:function(f,b){if(f=i(f),b=o(b),l)try{return u(f,b)}catch{}if(s(f,b))return n(!r(a.f,f,b),f[b])};}),iv=B(function(e,t){var r=pr(),a=Wt(),n=/#|\.prototype\./,i=function(f,b){var A=s[o(f)];return A===u?true:A===l?false:a(b)?r(b):!!b},o=i.normalize=function(c){return String(c).replace(n,".").toLowerCase()},s=i.data={},l=i.NATIVE="N",u=i.POLYFILL="P";t.exports=i;}),Gu=B(function(e,t){var r=Pu(),a=ai(),n=Qn(),i=r(r.bind);t.exports=function(o,s){return a(o),s===void 0?o:n?i(o,s):function(){return o.apply(s,arguments)}};}),Wu=B(function(e,t){var r=xr(),a=pr();t.exports=r&&a(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:false}).prototype!==42});}),Da=B(function(e,t){var r=$r(),a=String,n=TypeError;t.exports=function(i){if(r(i))return i;throw new n(a(i)+" is not an object")};}),ii=B(function(e){var t=xr(),r=zu(),a=Wu(),n=Da(),i=ju(),o=TypeError,s=Object.defineProperty,l=Object.getOwnPropertyDescriptor,u="enumerable",c="configurable",f="writable";e.f=t?a?function(A,k,I){if(n(A),k=i(k),n(I),typeof A=="function"&&k==="prototype"&&"value"in I&&f in I&&!I[f]){var P=l(A,k);P&&P[f]&&(A[k]=I.value,I={configurable:c in I?I[c]:P[c],enumerable:u in I?I[u]:P[u],writable:false});}return s(A,k,I)}:s:function(A,k,I){if(n(A),k=i(k),n(I),r)try{return s(A,k,I)}catch{}if("get"in I||"set"in I)throw new o("Accessors not supported");return "value"in I&&(A[k]=I.value),A};}),tn=B(function(e,t){var r=xr(),a=ii(),n=ti();t.exports=r?function(i,o,s){return a.f(i,o,n(1,s))}:function(i,o,s){return i[o]=s,i};}),oi=B(function(e,t){var r=fr(),a=Kg(),n=Pu(),i=Wt(),o=nv().f,s=iv(),l=en(),u=Gu(),c=tn(),f=Lr();ni();var b=function(k){var I=function(M,O,H){if(this instanceof I){switch(arguments.length){case 0:return new k;case 1:return new k(M);case 2:return new k(M,O)}return new k(M,O,H)}return a(k,this,arguments)};return I.prototype=k.prototype,I};t.exports=function(A,k){var I=A.target,P=A.global,M=A.stat,O=A.proto,H=P?r:M?r[I]:r[I]&&r[I].prototype,V=P?l:l[I]||c(l,I,{})[I],z=V.prototype,Y,te,oe,ve,re,ue,pe,be,Fe;for(ve in k)Y=s(P?ve:I+(M?".":"#")+ve,A.forced),te=!Y&&H&&f(H,ve),ue=V[ve],te&&(A.dontCallGetSet?(Fe=o(H,ve),pe=Fe&&Fe.value):pe=H[ve]),re=te&&pe?pe:k[ve],!(!Y&&!O&&ie(ue)==ie(re))&&(A.bind&&te?be=u(re,r):A.wrap&&te?be=b(re):O&&i(re)?be=n(re):be=re,(A.sham||re&&re.sham||ue&&ue.sham)&&c(be,"sham",true),c(V,ve,be),O&&(oe=I+"Prototype",f(l,oe)||c(l,oe,{}),c(l[oe],ve,re),A.real&&z&&(Y||!z[ve])&&c(z,ve,re)));};}),ov=B(function(){var e=oi(),t=Lr();e({target:"Object",stat:true},{hasOwn:t});}),sv=B(function(e,t){ov();var r=en();t.exports=r.Object.hasOwn;}),lv=B(function(e,t){var r=sv();t.exports=r;}),uv=B(function(e,t){var r=lv();t.exports=r;}),zo=B(function(e,t){var r=Hu(),a=Vu(),n=r("keys");t.exports=function(i){return n[i]||(n[i]=a(i))};}),cv=B(function(e,t){var r=pr();t.exports=!r(function(){function a(){}return a.prototype.constructor=null,Object.getPrototypeOf(new a)!==a.prototype});}),Go=B(function(e,t){var r=Lr(),a=Wt(),n=$o(),i=zo(),o=cv(),s=i("IE_PROTO"),l=Object,u=l.prototype;t.exports=o?l.getPrototypeOf:function(c){var f=n(c);if(r(f,s))return f[s];var b=f.constructor;return a(b)&&f instanceof b?b.prototype:f instanceof l?u:null};}),dv=B(function(e,t){var r=Math.ceil,a=Math.floor;t.exports=Math.trunc||function(i){var o=+i;return (o>0?a:r)(o)};}),Wo=B(function(e,t){var r=dv();t.exports=function(a){var n=+a;return n!==n||n===0?0:r(n)};}),fv=B(function(e,t){var r=Wo(),a=Math.max,n=Math.min;t.exports=function(i,o){var s=r(i);return s<0?a(s+o,0):n(s,o)};}),pv=B(function(e,t){var r=Wo(),a=Math.min;t.exports=function(n){var i=r(n);return i>0?a(i,9007199254740991):0};}),Uu=B(function(e,t){var r=pv();t.exports=function(a){return r(a.length)};}),mv=B(function(e,t){var r=Qa(),a=fv(),n=Uu(),i=function(s){return function(l,u,c){var f=r(l),b=n(f);if(b===0)return !s&&-1;var A=a(c,b),k;if(s&&u!==u){for(;b>A;)if(k=f[A++],k!==k)return true}else for(;b>A;A++)if((s||A in f)&&f[A]===u)return s||A||0;return !s&&-1}};t.exports={includes:i(true),indexOf:i(false)};}),Uo=B(function(e,t){t.exports={};}),hv=B(function(e,t){var r=ar(),a=Lr(),n=Qa(),i=mv().indexOf,o=Uo(),s=r([].push);t.exports=function(l,u){var c=n(l),f=0,b=[],A;for(A in c)!a(o,A)&&a(c,A)&&s(b,A);for(;u.length>f;)a(c,A=u[f++])&&(~i(b,A)||s(b,A));return b};}),Xu=B(function(e,t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"];}),Yu=B(function(e,t){var r=hv(),a=Xu();t.exports=Object.keys||function(i){return r(i,a)};}),gv=B(function(e,t){var r=xr(),a=pr(),n=ar(),i=Go(),o=Yu(),s=Qa(),l=Mu().f,u=n(l),c=n([].push),f=r&&a(function(){var A=Object.create(null);return A[2]=2,!u(A,2)}),b=function(k){return function(I){for(var P=s(I),M=o(P),O=f&&i(P)===null,H=M.length,V=0,z=[],Y;H>V;)Y=M[V++],(!r||(O?Y in P:u(P,Y)))&&c(z,k?[Y,P[Y]]:P[Y]);return z}};t.exports={entries:b(true),values:b(false)};}),vv=B(function(){var e=oi(),t=gv().values;e({target:"Object",stat:true},{values:function(a){return t(a)}});}),bv=B(function(e,t){vv();var r=en();t.exports=r.Object.values;}),yv=B(function(e,t){var r=bv();t.exports=r;}),wv=B(function(e,t){var r=yv();t.exports=r;}),Xo=B(function(e,t){var r=Pr(),a=r("toStringTag"),n={};n[a]="z",t.exports=String(n)==="[object z]";}),si=B(function(e,t){var r=Xo(),a=Wt(),n=ei(),i=Pr(),o=i("toStringTag"),s=Object,l=n((function(){return arguments})())==="Arguments",u=function(f,b){try{return f[b]}catch{}};t.exports=r?n:function(c){var f,b,A;return c===void 0?"Undefined":c===null?"Null":typeof(b=u(f=s(c),o))=="string"?b:l?n(f):(A=n(f))==="Object"&&a(f.callee)?"Arguments":A};}),Ku=B(function(e,t){var r=si(),a=String;t.exports=function(n){if(r(n)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return a(n)};}),xv=B(function(e,t){var r=ar(),a=Wo(),n=Ku(),i=ri(),o=r("".charAt),s=r("".charCodeAt),l=r("".slice),u=function(f){return function(b,A){var k=n(i(b)),I=a(A),P=k.length,M,O;return I<0||I>=P?f?"":void 0:(M=s(k,I),M<55296||M>56319||I+1===P||(O=s(k,I+1))<56320||O>57343?f?o(k,I):M:f?l(k,I,I+2):(M-55296<<10)+(O-56320)+65536)}};t.exports={codeAt:u(false),charAt:u(true)};}),Dv=B(function(e,t){var r=fr(),a=Wt(),n=r.WeakMap;t.exports=a(n)&&/native code/.test(String(n));}),_v=B(function(e,t){var r=Dv(),a=fr(),n=$r(),i=tn(),o=Lr(),s=ni(),l=zo(),u=Uo(),c="Object already initialized",f=a.TypeError,b=a.WeakMap,A,k,I,P=function(z){return I(z)?k(z):A(z,{})},M=function(z){return function(Y){var te;if(!n(Y)||(te=k(Y)).type!==z)throw new f("Incompatible receiver, "+z+" required");return te}};r||s.state?(O=s.state||(s.state=new b),O.get=O.get,O.has=O.has,O.set=O.set,A=function(z,Y){if(O.has(z))throw new f(c);return Y.facade=z,O.set(z,Y),Y},k=function(z){return O.get(z)||{}},I=function(z){return O.has(z)}):(H=l("state"),u[H]=true,A=function(z,Y){if(o(z,H))throw new f(c);return Y.facade=z,i(z,H,Y),Y},k=function(z){return o(z,H)?z[H]:{}},I=function(z){return o(z,H)});var O,H;t.exports={set:A,get:k,has:I,enforce:P,getterFor:M};}),Av=B(function(e,t){var r=xr(),a=Lr(),n=Function.prototype,i=r&&Object.getOwnPropertyDescriptor,o=a(n,"name"),s=o&&function(){}.name==="something",l=o&&(!r||r&&i(n,"name").configurable);t.exports={EXISTS:o,PROPER:s,CONFIGURABLE:l};}),Ev=B(function(e){var t=xr(),r=Wu(),a=ii(),n=Da(),i=Qa(),o=Yu();e.f=t&&!r?Object.defineProperties:function(l,u){n(l);for(var c=i(u),f=o(u),b=f.length,A=0,k;b>A;)a.f(l,k=f[A++],c[k]);return l};}),Cv=B(function(e,t){var r=Ho();t.exports=r("document","documentElement");}),Ju=B(function(e,t){var r=Da(),a=Ev(),n=Xu(),i=Uo(),o=Cv(),s=$u(),l=zo(),u=">",c="<",f="prototype",b="script",A=l("IE_PROTO"),k=function(){},I=function(z){return c+b+u+z+c+"/"+b+u},P=function(z){z.write(I("")),z.close();var Y=z.parentWindow.Object;return z=null,Y},M=function(){var z=s("iframe"),Y="java"+b+":",te;return z.style.display="none",o.appendChild(z),z.src=String(Y),te=z.contentWindow.document,te.open(),te.write(I("document.F=Object")),te.close(),te.F},O,H=function(){try{O=new ActiveXObject("htmlfile");}catch{}H=typeof m<"u"?m.domain&&O?P(O):M():P(O);for(var z=n.length;z--;)delete H[f][n[z]];return H()};i[A]=true,t.exports=Object.create||function(z,Y){var te;return z!==null?(k[f]=r(z),te=new k,k[f]=null,te[A]=z):te=H(),Y===void 0?te:a.f(te,Y)};}),Zu=B(function(e,t){var r=tn();t.exports=function(a,n,i,o){return o&&o.enumerable?a[n]=i:r(a,n,i),a};}),Qu=B(function(e,t){var r=pr(),a=Wt(),n=$r(),i=Ju(),o=Go(),s=Zu(),l=Pr(),u=jo(),c=l("iterator"),f=false,b,A,k;[].keys&&(k=[].keys(),"next"in k?(A=o(o(k)),A!==Object.prototype&&(b=A)):f=true);var I=!n(b)||r(function(){var P={};return b[c].call(P)!==P});I?b={}:u&&(b=i(b)),a(b[c])||s(b,c,function(){return this}),t.exports={IteratorPrototype:b,BUGGY_SAFARI_ITERATORS:f};}),Sv=B(function(e,t){var r=Xo(),a=si();t.exports=r?{}.toString:function(){return "[object "+a(this)+"]"};}),ec=B(function(e,t){var r=Xo(),a=ii().f,n=tn(),i=Lr(),o=Sv(),s=Pr(),l=s("toStringTag");t.exports=function(u,c,f,b){var A=f?u:u&&u.prototype;A&&(i(A,l)||a(A,l,{configurable:true,value:c}),b&&!r&&n(A,"toString",o));};}),li=B(function(e,t){t.exports={};}),kv=B(function(e,t){var r=Qu().IteratorPrototype,a=Ju(),n=ti(),i=ec(),o=li(),s=function(){return this};t.exports=function(l,u,c,f){var b=u+" Iterator";return l.prototype=a(r,{next:n(+!f,c)}),i(l,b,false,true),o[b]=s,l};}),Tv=B(function(e,t){var r=ar(),a=ai();t.exports=function(n,i,o){try{return r(a(Object.getOwnPropertyDescriptor(n,i)[o]))}catch{}};}),Fv=B(function(e,t){var r=$r();t.exports=function(a){return r(a)||a===null};}),Rv=B(function(e,t){var r=Fv(),a=String,n=TypeError;t.exports=function(i){if(r(i))return i;throw new n("Can't set "+a(i)+" as a prototype")};}),Iv=B(function(e,t){var r=Tv(),a=$r(),n=ri(),i=Rv();t.exports=Object.setPrototypeOf||("__proto__"in{}?(function(){var o=false,s={},l;try{l=r(Object.prototype,"__proto__","set"),l(s,[]),o=s instanceof Array;}catch{}return function(c,f){return n(c),i(f),a(c)&&(o?l(c,f):c.__proto__=f),c}})():void 0);}),Lv=B(function(e,t){var r=oi(),a=la(),n=jo(),i=Av(),o=Wt(),s=kv(),l=Go(),u=Iv(),c=ec(),f=tn(),b=Zu(),A=Pr(),k=li(),I=Qu(),P=i.PROPER,M=i.CONFIGURABLE,O=I.IteratorPrototype,H=I.BUGGY_SAFARI_ITERATORS,V=A("iterator"),z="keys",Y="values",te="entries",oe=function(){return this};t.exports=function(ve,re,ue,pe,be,Fe,qe){s(ue,re,pe);var Ee=function(Ye){if(Ye===be&&we)return we;if(!H&&Ye&&Ye in Te)return Te[Ye];switch(Ye){case z:return function(){return new ue(this,Ye)};case Y:return function(){return new ue(this,Ye)};case te:return function(){return new ue(this,Ye)}}return function(){return new ue(this)}},Pe=re+" Iterator",de=false,Te=ve.prototype,U=Te[V]||Te["@@iterator"]||be&&Te[be],we=!H&&U||Ee(be),le=re==="Array"&&Te.entries||U,xe,Ne,Ae;if(le&&(xe=l(le.call(new ve)),xe!==Object.prototype&&xe.next&&(!n&&l(xe)!==O&&(u?u(xe,O):o(xe[V])||b(xe,V,oe)),c(xe,Pe,true,true),n&&(k[Pe]=oe))),P&&be===Y&&U&&U.name!==Y&&(!n&&M?f(Te,"name",Y):(de=true,we=function(){return a(U,this)})),be)if(Ne={values:Ee(Y),keys:Fe?we:Ee(z),entries:Ee(te)},qe)for(Ae in Ne)(H||de||!(Ae in Te))&&b(Te,Ae,Ne[Ae]);else r({target:re,proto:true,forced:H||de},Ne);return (!n||qe)&&Te[V]!==we&&b(Te,V,we,{name:be}),k[re]=we,Ne};}),Pv=B(function(e,t){t.exports=function(r,a){return {value:r,done:a}};}),Mv=B(function(){var e=xv().charAt,t=Ku(),r=_v(),a=Lv(),n=Pv(),i="String Iterator",o=r.set,s=r.getterFor(i);a(String,"String",function(l){o(this,{type:i,string:t(l),index:0});},function(){var u=s(this),c=u.string,f=u.index,b;return f>=c.length?n(void 0,true):(b=e(c,f),u.index+=b.length,n(b,false))});}),Ov=B(function(e,t){var r=la(),a=Da(),n=Vo();t.exports=function(i,o,s){var l,u;a(i);try{if(l=n(i,"return"),!l){if(o==="throw")throw s;return s}l=r(l,i);}catch(c){u=true,l=c;}if(o==="throw")throw s;if(u)throw l;return a(l),s};}),Nv=B(function(e,t){var r=Da(),a=Ov();t.exports=function(n,i,o,s){try{return s?i(r(o)[0],o[1]):i(o)}catch(l){a(n,"throw",l);}};}),qv=B(function(e,t){var r=Pr(),a=li(),n=r("iterator"),i=Array.prototype;t.exports=function(o){return o!==void 0&&(a.Array===o||i[n]===o)};}),Bv=B(function(e,t){var r=ar(),a=Wt(),n=ni(),i=r(Function.toString);a(n.inspectSource)||(n.inspectSource=function(o){return i(o)}),t.exports=n.inspectSource;}),Hv=B(function(e,t){var r=ar(),a=pr(),n=Wt(),i=si(),o=Ho(),s=Bv(),l=function(){},u=o("Reflect","construct"),c=/^\s*(?:class|function)\b/,f=r(c.exec),b=!c.test(l),A=function(P){if(!n(P))return false;try{return u(l,[],P),!0}catch{return false}},k=function(P){if(!n(P))return false;switch(i(P)){case "AsyncFunction":case "GeneratorFunction":case "AsyncGeneratorFunction":return false}try{return b||!!f(c,s(P))}catch{return true}};k.sham=true,t.exports=!u||a(function(){var I;return A(A.call)||!A(Object)||!A(function(){I=true;})||I})?k:A;}),Vv=B(function(e,t){var r=xr(),a=ii(),n=ti();t.exports=function(i,o,s){r?a.f(i,o,n(0,s)):i[o]=s;};}),jv=B(function(e,t){var r=ei();t.exports=Array.isArray||function(n){return r(n)==="Array"};}),$v=B(function(e,t){var r=xr(),a=jv(),n=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(a(s)&&!i(s,"length").writable)throw new n("Cannot set read only .length");return s.length=l}:function(s,l){return s.length=l};}),tc=B(function(e,t){var r=si(),a=Vo(),n=Bo(),i=li(),o=Pr(),s=o("iterator");t.exports=function(l){if(!n(l))return a(l,s)||a(l,"@@iterator")||i[r(l)]};}),zv=B(function(e,t){var r=la(),a=ai(),n=Da(),i=Bu(),o=tc(),s=TypeError;t.exports=function(l,u){var c=arguments.length<2?o(l):u;if(a(c))return n(r(c,l));throw new s(i(l)+" is not iterable")};}),Gv=B(function(e,t){var r=Gu(),a=la(),n=$o(),i=Nv(),o=qv(),s=Hv(),l=Uu(),u=Vv(),c=$v(),f=zv(),b=tc(),A=Array;t.exports=function(I){var P=n(I),M=s(this),O=arguments.length,H=O>1?arguments[1]:void 0,V=H!==void 0;V&&(H=r(H,O>2?arguments[2]:void 0));var z=b(P),Y=0,te,oe,ve,re,ue,pe;if(z&&!(this===A&&o(z)))for(oe=M?new this:[],re=f(P,z),ue=re.next;!(ve=a(ue,re)).done;Y++)pe=V?i(re,H,[ve.value,Y],true):ve.value,u(oe,Y,pe);else for(te=l(P),oe=M?new this(te):A(te);te>Y;Y++)pe=V?H(P[Y],Y):P[Y],u(oe,Y,pe);return c(oe,Y),oe};}),Wv=B(function(e,t){var r=Pr(),a=r("iterator"),n=false;try{i=0,o={next:function(){return {done:!!i++}},return:function(){n=!0;}},o[a]=function(){return this},Array.from(o,function(){throw 2});}catch{}var i,o;t.exports=function(s,l){try{if(!l&&!n)return !1}catch{return false}var u=false;try{var c={};c[a]=function(){return {next:function(){return {done:u=!0}}}},s(c);}catch{}return u};}),Uv=B(function(){var e=oi(),t=Gv(),r=Wv(),a=!r(function(n){Array.from(n);});e({target:"Array",stat:true,forced:a},{from:t});}),Xv=B(function(e,t){Mv(),Uv();var r=en();t.exports=r.Array.from;}),Yv=B(function(e,t){var r=Xv();t.exports=r;}),rc=B(function(e,t){var r=Yv();t.exports=r;}),ac=B(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 a(o){return o>="a"&&o<="f"||o>="A"&&o<="F"||o>="0"&&o<="9"}e.isHex=a;function n(o){for(var s=o.length,l="",u=0;u<s;){var c=o.charAt(u);if(e.identSpecialChars[c])l+="\\"+c;else if(c==="_"||c==="-"||c>="A"&&c<="Z"||c>="a"&&c<="z"||u!==0&&c>="0"&&c<="9")l+=c;else {var f=c.charCodeAt(0);if((f&63488)===55296){var b=o.charCodeAt(u++);if((f&64512)!==55296||(b&64512)!==56320)throw Error("UCS-2(decode): illegal sequence");f=((f&1023)<<10)+(b&1023)+65536;}l+="\\"+f.toString(16)+" ";}u++;}return l}e.escapeIdentifier=n;function i(o){for(var s=o.length,l="",u=0,c;u<s;){var f=o.charAt(u);f==='"'?f='\\"':f==="\\"?f="\\\\":(c=e.strReplacementsRev[f])!==void 0&&(f=c),l+=f,u++;}return '"'+l+'"'}e.escapeStr=i,e.identSpecialChars={"!":true,'"':true,"#":true,$:true,"%":true,"&":true,"'":true,"(":true,")":true,"*":true,"+":true,",":true,".":true,"/":true,";":true,"<":true,"=":true,">":true,"?":true,"@":true,"[":true,"\\":true,"]":true,"^":true,"`":true,"{":true,"|":true,"}":true,"~":true},e.strReplacementsRev={"\n":"\\n","\r":"\\r"," ":"\\t","\f":"\\f","\v":"\\v"},e.singleQuoteEscapeChars={n:`
361
361
  `,r:"\r",t:" ",f:"\f","\\":"\\","'":"'"},e.doubleQuotesEscapeChars={n:`
362
- `,r:"\r",t:" ",f:"\f","\\":"\\",'"':'"'};}),Hv=N(function(e){Object.defineProperty(e,"__esModule",{value:true});var t=Xu();function r(a,n,i,o,s,l){var u=a.length,c="";function d(M,q){var B="";for(n++,c=a.charAt(n);n<u;){if(c===M)return n++,B;if(c==="\\"){n++,c=a.charAt(n);var V=void 0;if(c===M)B+=M;else if((V=q[c])!==void 0)B+=V;else if(t.isHex(c)){var X=c;for(n++,c=a.charAt(n);t.isHex(c);)X+=c,n++,c=a.charAt(n);c===" "&&(n++,c=a.charAt(n)),B+=String.fromCharCode(parseInt(X,16));continue}else B+=c;}else B+=c;n++,c=a.charAt(n);}return B}function g(){var M="";for(c=a.charAt(n);n<u;){if(t.isIdent(c))M+=c;else if(c==="\\"){if(n++,n>=u)throw Error("Expected symbol but end of file reached.");if(c=a.charAt(n),t.identSpecialChars[c])M+=c;else if(t.isHex(c)){var q=c;for(n++,c=a.charAt(n);t.isHex(c);)q+=c,n++,c=a.charAt(n);c===" "&&(n++,c=a.charAt(n)),M+=String.fromCharCode(parseInt(q,16));continue}else M+=c;}else return M;n++,c=a.charAt(n);}return M}function D(){c=a.charAt(n);for(var M=false;c===" "||c===" "||c===`
363
- `||c==="\r"||c==="\f";)M=true,n++,c=a.charAt(n);return M}function C(){var M=R();if(n<u)throw Error('Rule expected but "'+a.charAt(n)+'" found.');return M}function R(){var M=I();if(!M)return null;var q=M;for(c=a.charAt(n);c===",";){if(n++,D(),q.type!=="selectors"&&(q={type:"selectors",selectors:[M]}),M=I(),!M)throw Error('Rule expected after ",".');q.selectors.push(M);}return q}function I(){D();var M={type:"ruleSet"},q=P();if(!q)return null;for(var B=M;q&&(q.type="rule",B.rule=q,B=q,D(),c=a.charAt(n),!(n>=u||c===","||c===")"));)if(s[c]){var V=c;if(n++,D(),q=P(),!q)throw Error('Rule expected after "'+V+'".');q.nestingOperator=V;}else q=P(),q&&(q.nestingOperator=null);return M}function P(){for(var M=null;n<u;)if(c=a.charAt(n),c==="*")n++,(M=M||{}).tagName="*";else if(t.isIdentStart(c)||c==="\\")(M=M||{}).tagName=g();else if(c===".")n++,M=M||{},(M.classNames=M.classNames||[]).push(g());else if(c==="#")n++,(M=M||{}).id=g();else if(c==="["){n++,D();var q={name:g()};if(D(),c==="]")n++;else {var B="";if(o[c]&&(B=c,n++,c=a.charAt(n)),n>=u)throw Error('Expected "=" but end of file reached.');if(c!=="=")throw Error('Expected "=" but "'+c+'" found.');q.operator=B+"=",n++,D();var V="";if(q.valueType="string",c==='"')V=d('"',t.doubleQuotesEscapeChars);else if(c==="'")V=d("'",t.singleQuoteEscapeChars);else if(l&&c==="$")n++,V=g(),q.valueType="substitute";else {for(;n<u&&c!=="]";)V+=c,n++,c=a.charAt(n);V=V.trim();}if(D(),n>=u)throw Error('Expected "]" but end of file reached.');if(c!=="]")throw Error('Expected "]" but "'+c+'" found.');n++,q.value=V;}M=M||{},(M.attrs=M.attrs||[]).push(q);}else if(c===":"){n++;var X=g(),Q={name:X};if(c==="("){n++;var ne="";if(D(),i[X]==="selector")Q.valueType="selector",ne=R();else {if(Q.valueType=i[X]||"string",c==='"')ne=d('"',t.doubleQuotesEscapeChars);else if(c==="'")ne=d("'",t.singleQuoteEscapeChars);else if(l&&c==="$")n++,ne=g(),Q.valueType="substitute";else {for(;n<u&&c!==")";)ne+=c,n++,c=a.charAt(n);ne=ne.trim();}D();}if(n>=u)throw Error('Expected ")" but end of file reached.');if(c!==")")throw Error('Expected ")" but "'+c+'" found.');n++,Q.value=ne;}M=M||{},(M.pseudos=M.pseudos||[]).push(Q);}else break;return M}return C()}e.parseCssSelector=r;}),Vv=N(function(e){Object.defineProperty(e,"__esModule",{value:true});var t=Xu();function r(a){var n="";switch(a.type){case "ruleSet":for(var i=a.rule,o=[];i;)i.nestingOperator&&o.push(i.nestingOperator),o.push(r(i)),i=i.rule;n=o.join(" ");break;case "selectors":n=a.selectors.map(r).join(", ");break;case "rule":a.tagName&&(a.tagName==="*"?n="*":n=t.escapeIdentifier(a.tagName)),a.id&&(n+="#"+t.escapeIdentifier(a.id)),a.classNames&&(n+=a.classNames.map(function(s){return "."+t.escapeIdentifier(s)}).join("")),a.attrs&&(n+=a.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("")),a.pseudos&&(n+=a.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: "'+a.type+'".')}return n}e.renderEntity=r;}),jv=N(function(e){Object.defineProperty(e,"__esModule",{value:true});var t=Hv(),r=Vv(),a=(function(){function n(){this.pseudos={},this.attrEqualityMods={},this.ruleNestingOperators={},this.substitutesEnabled=false;}return n.prototype.registerSelectorPseudos=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];for(var s=0,l=i;s<l.length;s++){var u=l[s];this.pseudos[u]="selector";}return this},n.prototype.unregisterSelectorPseudos=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];for(var s=0,l=i;s<l.length;s++){var u=l[s];delete this.pseudos[u];}return this},n.prototype.registerNumericPseudos=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];for(var s=0,l=i;s<l.length;s++){var u=l[s];this.pseudos[u]="numeric";}return this},n.prototype.unregisterNumericPseudos=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];for(var s=0,l=i;s<l.length;s++){var u=l[s];delete this.pseudos[u];}return this},n.prototype.registerNestingOperators=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];for(var s=0,l=i;s<l.length;s++){var u=l[s];this.ruleNestingOperators[u]=true;}return this},n.prototype.unregisterNestingOperators=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];for(var s=0,l=i;s<l.length;s++){var u=l[s];delete this.ruleNestingOperators[u];}return this},n.prototype.registerAttrEqualityMods=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];for(var s=0,l=i;s<l.length;s++){var u=l[s];this.attrEqualityMods[u]=true;}return this},n.prototype.unregisterAttrEqualityMods=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];for(var s=0,l=i;s<l.length;s++){var u=l[s];delete this.attrEqualityMods[u];}return this},n.prototype.enableSubstitutes=function(){return this.substitutesEnabled=true,this},n.prototype.disableSubstitutes=function(){return this.substitutesEnabled=false,this},n.prototype.parse=function(i){return t.parseCssSelector(i,0,this.pseudos,this.attrEqualityMods,this.ruleNestingOperators,this.substitutesEnabled)},n.prototype.render=function(i){return r.renderEntity(i).trim()},n})();e.CssSelectorParser=a;}),$v=N(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":ae(globalThis))!=="object")try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__;}catch{p.globalThis=(function(){if(typeof self<"u")return self;if(typeof p<"u")return p;if(typeof y<"u")return y;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;"},u=s?/[&<>"'\/]/g:/&(?!#?\w+;)|<|>|"|'|\//g;return function(c){return c?c.toString().replace(u,function(d){return l[d]||d}):""}},typeof t<"u"&&t.exports?t.exports=r:typeof define=="function"&&define.amd?define(function(){return r}):globalThis.doT=r;var a={append:{start:"'+(",end:")+'",startencode:"'+encodeHTML("},split:{start:"';out+=(",end:");out+='",startencode:"';out+=encodeHTML("}},n=/$^/;function i(s,l,u){return (typeof l=="string"?l:l.toString()).replace(s.define||n,function(c,d,g,D){return d.indexOf("def.")===0&&(d=d.substring(4)),d in u||(g===":"?(s.defineParams&&D.replace(s.defineParams,function(C,R,I){u[d]={arg:R,text:I};}),d in u||(u[d]=D)):new Function("def","def['"+d+"']="+D)(u)),""}).replace(s.use||n,function(c,d){s.useParams&&(d=d.replace(s.useParams,function(D,C,R,I){if(u[R]&&u[R].arg&&I){var P=(R+":"+I).replace(/'|\\/g,"_");return u.__exp=u.__exp||{},u.__exp[P]=u[R].text.replace(new RegExp("(^|[^\\w$])"+u[R].arg+"([^\\w$])","g"),"$1"+I+"$2"),C+"def.__exp['"+P+"']"}}));var g=new Function("def","return "+d)(u);return g&&i(s,g,u)})}function o(s){return s.replace(/\\('|\\)/g,"$1").replace(/[\r\t\n]/g," ")}r.template=function(s,l,u){l=l||r.templateSettings;var c=l.append?a.append:a.split,d,g=0,D,C=l.use||l.define?i(l,s,u||{}):s;C=("var out='"+(l.strip?C.replace(/(^|\r|\n)\t* +| +\t*(\r|\n|$)/g," ").replace(/\r|\n|\t|\/\*[\s\S]*?\*\//g,""):C).replace(/'|\\/g,"\\$&").replace(l.interpolate||n,function(R,I){return c.start+o(I)+c.end}).replace(l.encode||n,function(R,I){return d=true,c.startencode+o(I)+c.end}).replace(l.conditional||n,function(R,I,P){return I?P?"';}else if("+o(P)+"){out+='":"';}else{out+='":P?"';if("+o(P)+"){out+='":"';}out+='"}).replace(l.iterate||n,function(R,I,P,M){return I?(g+=1,D=M||"i"+g,I=o(I),"';var arr"+g+"="+I+";if(arr"+g+"){var "+P+","+D+"=-1,l"+g+"=arr"+g+".length-1;while("+D+"<l"+g+"){"+P+"=arr"+g+"["+D+"+=1];out+='"):"';} } out+='"}).replace(l.evaluate||n,function(R,I){return "';"+o(I)+"out+='"})+"';return out;").replace(/\n/g,"\\n").replace(/\t/g,"\\t").replace(/\r/g,"\\r").replace(/(\s|;|\}|^|\{)out\+='';/g,"$1").replace(/\+''/g,""),d&&(!l.selfcontained&&globalThis&&!globalThis._encodeHTML&&(globalThis._encodeHTML=r.encodeHTMLSource(l.doNotSkipEncoded)),C="var encodeHTML = typeof _encodeHTML !== 'undefined' ? _encodeHTML : ("+r.encodeHTMLSource.toString()+"("+(l.doNotSkipEncoded||"")+"));"+C);try{return new Function(l.varname,C)}catch(R){throw typeof console<"u"&&console.log("Could not create a template function: "+C),R}},r.compile=function(s,l){return r.template(s,null,l)};})();}),zv=N(function(e,t){t.exports=function(){};}),la=N(function(e,t){var r=zv()();t.exports=function(a){return a!==r&&a!==null};}),Yu=N(function(e,t){var r=la(),a=Array.prototype.forEach,n=Object.create,i=function(s,l){var u;for(u in s)l[u]=s[u];};t.exports=function(o){var s=n(null);return a.call(arguments,function(l){r(l)&&i(Object(l),s);}),s};}),Gv=N(function(e,t){t.exports=function(){var r=Math.sign;return typeof r!="function"?false:r(10)===1&&r(-20)===-1};}),Wv=N(function(e,t){t.exports=function(r){return r=Number(r),isNaN(r)||r===0?r:r>0?1:-1};}),Uv=N(function(e,t){t.exports=Gv()()?Math.sign:Wv();}),Xv=N(function(e,t){var r=Uv(),a=Math.abs,n=Math.floor;t.exports=function(i){return isNaN(i)?0:(i=Number(i),i===0||!isFinite(i)?i:r(i)*n(a(i)))};}),ua=N(function(e,t){var r=Xv(),a=Math.max;t.exports=function(n){return a(0,r(n))};}),Ku=N(function(e,t){var r=ua();t.exports=function(a,n,i){var o;return isNaN(a)?(o=n,o>=0?i&&o?o-1:o:1):a===false?false:r(a)};}),$r=N(function(e,t){t.exports=function(r){if(typeof r!="function")throw new TypeError(r+" is not a function");return r};}),Da=N(function(e,t){var r=la();t.exports=function(a){if(!r(a))throw new TypeError("Cannot use null or undefined");return a};}),Yv=N(function(e,t){var r=$r(),a=Da(),n=Function.prototype.bind,i=Function.prototype.call,o=Object.keys,s=Object.prototype.propertyIsEnumerable;t.exports=function(l,u){return function(c,d){var g,D=arguments[2],C=arguments[3];return c=Object(a(c)),r(d),g=o(c),C&&g.sort(typeof C=="function"?n.call(C,c):void 0),typeof l!="function"&&(l=g[l]),i.call(l,g,function(R,I){return s.call(c,R)?i.call(d,D,c[R],R,c,I):u})}};}),si=N(function(e,t){t.exports=Yv()("forEach");}),ca=N(function(){}),Kv=N(function(e,t){t.exports=function(){var r=Object.assign,a;return typeof r!="function"?false:(a={foo:"raz"},r(a,{bar:"dwa"},{trzy:"trzy"}),a.foo+a.bar+a.trzy==="razdwatrzy")};}),Jv=N(function(e,t){t.exports=function(){try{return Object.keys("primitive"),!0}catch{return false}};}),Zv=N(function(e,t){var r=la(),a=Object.keys;t.exports=function(n){return a(r(n)?Object(n):n)};}),Qv=N(function(e,t){t.exports=Jv()()?Object.keys:Zv();}),eb=N(function(e,t){var r=Qv(),a=Da(),n=Math.max;t.exports=function(i,o){var s,l,u=n(arguments.length,2),c;for(i=Object(a(i)),c=function(g){try{i[g]=o[g];}catch(D){s||(s=D);}},l=1;l<u;++l)o=arguments[l],r(o).forEach(c);if(s!==void 0)throw s;return i};}),Ju=N(function(e,t){t.exports=Kv()()?Object.assign:eb();}),tb=N(function(e,t){var r=la(),a={function:true,object:true};t.exports=function(n){return r(n)&&a[ae(n)]||false};}),rb=N(function(e,t){var r=Ju(),a=tb(),n=la(),i=Error.captureStackTrace;t.exports=function(o){var s=new Error(o),l=arguments[1],u=arguments[2];return n(u)||a(l)&&(u=l,l=null),n(u)&&r(s,u),n(l)&&(s.code=l),i&&i(s,t.exports),s};}),Zu=N(function(e,t){var r=Da(),a=Object.defineProperty,n=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,o=Object.getOwnPropertySymbols;t.exports=function(s,l){var u,c=Object(r(l));if(s=Object(r(s)),i(c).forEach(function(d){try{a(s,d,n(l,d));}catch(g){u=g;}}),typeof o=="function"&&o(c).forEach(function(d){try{a(s,d,n(l,d));}catch(g){u=g;}}),u!==void 0)throw u;return s};}),Qu=N(function(e,t){var r=ua(),a=function(u,c){return c},n,i,o,s;try{Object.defineProperty(a,"length",{configurable:!0,writable:!1,enumerable:!1,value:1});}catch{}a.length===1?(n={configurable:true,writable:false,enumerable:false},i=Object.defineProperty,t.exports=function(l,u){return u=r(u),l.length===u?l:(n.value=u,i(l,"length",n))}):(s=Zu(),o=(function(){var l=[];return function(u){var c,d=0;if(l[u])return l[u];for(c=[];u--;)c.push("a"+(++d).toString(36));return new Function("fn","return function ("+c.join(", ")+") { return fn.apply(this, arguments); };")}})(),t.exports=function(l,u){var c;if(u=r(u),l.length===u)return l;c=o(u)(l);try{s(c,l);}catch{}return c});}),ec=N(function(e,t){var r=void 0;t.exports=function(a){return a!==r&&a!==null};}),ab=N(function(e,t){var r=ec(),a={object:true,function:true,undefined:true};t.exports=function(n){return r(n)?hasOwnProperty.call(a,ae(n)):false};}),nb=N(function(e,t){var r=ab();t.exports=function(a){if(!r(a))return false;try{return a.constructor?a.constructor.prototype===a:!1}catch{return false}};}),ib=N(function(e,t){var r=nb();t.exports=function(a){if(typeof a!="function"||!hasOwnProperty.call(a,"length"))return false;try{if(typeof a.length!="number"||typeof a.call!="function"||typeof a.apply!="function")return !1}catch{return false}return !r(a)};}),ob=N(function(e,t){var r=ib(),a=/^\s*class[\s{/}]/,n=Function.prototype.toString;t.exports=function(i){return !(!r(i)||a.test(n.call(i)))};}),sb=N(function(e,t){var r="razdwatrzy";t.exports=function(){return typeof r.contains!="function"?false:r.contains("dwa")===true&&r.contains("foo")===false};}),lb=N(function(e,t){var r=String.prototype.indexOf;t.exports=function(a){return r.call(this,a,arguments[1])>-1};}),ub=N(function(e,t){t.exports=sb()()?String.prototype.contains:lb();}),da=N(function(e,t){var r=ec(),a=ob(),n=Ju(),i=Yu(),o=ub(),s=t.exports=function(l,u){var c,d,g,D,C;return arguments.length<2||typeof l!="string"?(D=u,u=l,l=null):D=arguments[2],r(l)?(c=o.call(l,"c"),d=o.call(l,"e"),g=o.call(l,"w")):(c=g=true,d=false),C={value:u,configurable:c,enumerable:d,writable:g},D?n(i(D),C):C};s.gs=function(l,u,c){var d,g,D,C;return typeof l!="string"?(D=c,c=u,u=l,l=null):D=arguments[3],r(u)?a(u)?r(c)?a(c)||(D=c,c=void 0):c=void 0:(D=u,u=c=void 0):u=void 0,r(l)?(d=o.call(l,"c"),g=o.call(l,"e")):(d=true,g=false),C={get:u,set:c,configurable:d,enumerable:g},D?n(i(D),C):C};}),cb=N(function(e,t){var r=da(),a=$r(),n=Function.prototype.apply,i=Function.prototype.call,o=Object.create,s=Object.defineProperty,l=Object.defineProperties,u=Object.prototype.hasOwnProperty,c={configurable:true,enumerable:false,writable:true},d,g,D,C,R,I,P;d=function(q,B){var V;return a(B),u.call(this,"__ee__")?V=this.__ee__:(V=c.value=o(null),s(this,"__ee__",c),c.value=null),V[q]?ae(V[q])==="object"?V[q].push(B):V[q]=[V[q],B]:V[q]=B,this},g=function(q,B){var V,X;return a(B),X=this,d.call(this,q,V=function(){D.call(X,q,V),n.call(B,this,arguments);}),V.__eeOnceListener__=B,this},D=function(q,B){var V,X,Q,ne;if(a(B),!u.call(this,"__ee__"))return this;if(V=this.__ee__,!V[q])return this;if(X=V[q],ae(X)==="object")for(ne=0;Q=X[ne];++ne)(Q===B||Q.__eeOnceListener__===B)&&(X.length===2?V[q]=X[ne?0:1]:X.splice(ne,1));else (X===B||X.__eeOnceListener__===B)&&delete V[q];return this},C=function(q){var B,V,X,Q,ne;if(u.call(this,"__ee__")&&(Q=this.__ee__[q],!!Q))if(ae(Q)==="object"){for(V=arguments.length,ne=new Array(V-1),B=1;B<V;++B)ne[B-1]=arguments[B];for(Q=Q.slice(),B=0;X=Q[B];++B)n.call(X,this,ne);}else switch(arguments.length){case 1:i.call(Q,this);break;case 2:i.call(Q,this,arguments[1]);break;case 3:i.call(Q,this,arguments[1],arguments[2]);break;default:for(V=arguments.length,ne=new Array(V-1),B=1;B<V;++B)ne[B-1]=arguments[B];n.call(Q,this,ne);}},R={on:d,once:g,off:D,emit:C},I={on:r(d),once:r(g),off:r(D),emit:r(C)},P=l({},I),t.exports=e=function(q){return q==null?o(P):l(Object(q),I)},e.methods=R;}),db=N(function(e,t){t.exports=function(){var r=Array.from,a,n;return typeof r!="function"?false:(a=["raz","dwa"],n=r(a),!!(n&&n!==a&&n[1]==="dwa"))};}),fb=N(function(e,t){t.exports=function(){return (typeof globalThis>"u"?"undefined":ae(globalThis))!=="object"||!globalThis?false:globalThis.Array===Array};}),pb=N(function(e,t){var r=function(){if((typeof self>"u"?"undefined":ae(self))==="object"&&self)return self;if((typeof p>"u"?"undefined":ae(p))==="object"&&p)return p;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__;}})();}),li=N(function(e,t){t.exports=fb()()?globalThis:pb();}),mb=N(function(e,t){var r=li(),a={object:true,symbol:true};t.exports=function(){var n=r.Symbol,i;if(typeof n!="function")return false;i=n("test symbol");try{String(i);}catch{return false}return !(!a[ae(n.iterator)]||!a[ae(n.toPrimitive)]||!a[ae(n.toStringTag)])};}),hb=N(function(e,t){t.exports=function(r){return r?ae(r)==="symbol"?true:!r.constructor||r.constructor.name!=="Symbol"?false:r[r.constructor.toStringTag]==="Symbol":false};}),tc=N(function(e,t){var r=hb();t.exports=function(a){if(!r(a))throw new TypeError(a+" is not a symbol");return a};}),gb=N(function(e,t){var r=da(),a=Object.create,n=Object.defineProperty,i=Object.prototype,o=a(null);t.exports=function(s){for(var l=0,u,c;o[s+(l||"")];)++l;return s+=l||"",o[s]=true,u="@@"+s,n(i,u,r.gs(null,function(d){c||(c=true,n(this,u,r(d)),c=false);})),u};}),vb=N(function(e,t){var r=da(),a=li().Symbol;t.exports=function(n){return Object.defineProperties(n,{hasInstance:r("",a&&a.hasInstance||n("hasInstance")),isConcatSpreadable:r("",a&&a.isConcatSpreadable||n("isConcatSpreadable")),iterator:r("",a&&a.iterator||n("iterator")),match:r("",a&&a.match||n("match")),replace:r("",a&&a.replace||n("replace")),search:r("",a&&a.search||n("search")),species:r("",a&&a.species||n("species")),split:r("",a&&a.split||n("split")),toPrimitive:r("",a&&a.toPrimitive||n("toPrimitive")),toStringTag:r("",a&&a.toStringTag||n("toStringTag")),unscopables:r("",a&&a.unscopables||n("unscopables"))})};}),bb=N(function(e,t){var r=da(),a=tc(),n=Object.create(null);t.exports=function(i){return Object.defineProperties(i,{for:r(function(o){return n[o]?n[o]:n[o]=i(String(o))}),keyFor:r(function(o){var s;a(o);for(s in n)if(n[s]===o)return s})})};}),yb=N(function(e,t){var r=da(),a=tc(),n=li().Symbol,i=gb(),o=vb(),s=bb(),l=Object.create,u=Object.defineProperties,c=Object.defineProperty,d,g,D;if(typeof n=="function")try{String(n()),D=!0;}catch{}else n=null;g=function(R){if(this instanceof g)throw new TypeError("Symbol is not a constructor");return d(R)},t.exports=d=function C(R){var I;if(this instanceof C)throw new TypeError("Symbol is not a constructor");return D?n(R):(I=l(g.prototype),R=R===void 0?"":String(R),u(I,{__description__:r("",R),__name__:r("",i(R))}))},o(d),s(d),u(g.prototype,{constructor:r(d),toString:r("",function(){return this.__name__})}),u(d.prototype,{toString:r(function(){return "Symbol ("+a(this).__description__+")"}),valueOf:r(function(){return a(this)})}),c(d.prototype,d.toPrimitive,r("",function(){var C=a(this);return ae(C)==="symbol"?C:C.toString()})),c(d.prototype,d.toStringTag,r("c","Symbol")),c(g.prototype,d.toStringTag,r("c",d.prototype[d.toStringTag])),c(g.prototype,d.toPrimitive,r("c",d.prototype[d.toPrimitive]));}),wb=N(function(e,t){t.exports=mb()()?li().Symbol:yb();}),xb=N(function(e,t){var r=Object.prototype.toString,a=r.call((function(){return arguments})());t.exports=function(n){return r.call(n)===a};}),Db=N(function(e,t){var r=Object.prototype.toString,a=RegExp.prototype.test.bind(/^[object [A-Za-z0-9]*Function]$/);t.exports=function(n){return typeof n=="function"&&a(r.call(n))};}),_b=N(function(e,t){var r=Object.prototype.toString,a=r.call("");t.exports=function(n){return typeof n=="string"||n&&ae(n)==="object"&&(n instanceof String||r.call(n)===a)||false};}),Ab=N(function(e,t){var r=wb().iterator,a=xb(),n=Db(),i=ua(),o=$r(),s=Da(),l=la(),u=_b(),c=Array.isArray,d=Function.prototype.call,g={configurable:true,enumerable:true,writable:true,value:null},D=Object.defineProperty;t.exports=function(C){var R=arguments[1],I=arguments[2],P,M,q,B,V,X,Q,ne,he,ee;if(C=Object(s(C)),l(R)&&o(R),!this||this===Array||!n(this)){if(!R){if(a(C))return V=C.length,V!==1?Array.apply(null,C):(B=new Array(1),B[0]=C[0],B);if(c(C)){for(B=new Array(V=C.length),M=0;M<V;++M)B[M]=C[M];return B}}B=[];}else P=this;if(!c(C)){if((he=C[r])!==void 0){for(Q=o(he).call(C),P&&(B=new P),ne=Q.next(),M=0;!ne.done;)ee=R?d.call(R,I,ne.value,M):ne.value,P?(g.value=ee,D(B,M,g)):B[M]=ee,ne=Q.next(),++M;V=M;}else if(u(C)){for(V=C.length,P&&(B=new P),M=0,q=0;M<V;++M)ee=C[M],M+1<V&&(X=ee.charCodeAt(0),X>=55296&&X<=56319&&(ee+=C[++M])),ee=R?d.call(R,I,ee,q):ee,P?(g.value=ee,D(B,q,g)):B[q]=ee,++q;V=q;}}if(V===void 0)for(V=i(C.length),P&&(B=new P(V)),M=0;M<V;++M)ee=R?d.call(R,I,C[M],M):C[M],P?(g.value=ee,D(B,M,g)):B[M]=ee;return P&&(g.value=null,B.length=V),B};}),jo=N(function(e,t){t.exports=db()()?Array.from:Ab();}),Eb=N(function(e,t){var r=jo(),a=Array.isArray;t.exports=function(n){return a(n)?n:r(n)};}),Cb=N(function(e,t){var r=Eb(),a=la(),n=$r(),i=Array.prototype.slice,o;o=function(l){return this.map(function(u,c){return u?u(l[c]):l[c]}).concat(i.call(l,this.length))},t.exports=function(s){return s=r(s),s.forEach(function(l){a(l)&&n(l);}),o.bind(s)};}),Sb=N(function(e,t){var r=$r();t.exports=function(a){var n;return typeof a=="function"?{set:a,get:a}:(n={get:r(a.get)},a.set!==void 0?(n.set=r(a.set),a.delete&&(n.delete=r(a.delete)),a.clear&&(n.clear=r(a.clear)),n):(n.set=n.get,n))};}),kb=N(function(e,t){var r=rb(),a=Qu(),n=da(),i=cb().methods,o=Cb(),s=Sb(),l=Function.prototype.apply,u=Function.prototype.call,c=Object.create,d=Object.defineProperties,g=i.on,D=i.emit;t.exports=function(C,R,I){var P=c(null),M,q,B,V,X,Q,ne,he,ee,ue,pe,ge,Se,Oe,xe;return R!==false?q=R:isNaN(C.length)?q=1:q=C.length,I.normalizer&&(ue=s(I.normalizer),B=ue.get,V=ue.set,X=ue.delete,Q=ue.clear),I.resolvers!=null&&(xe=o(I.resolvers)),B?Oe=a(function(Re){var de,Ee,G=arguments;if(xe&&(G=xe(G)),de=B(G),de!==null&&hasOwnProperty.call(P,de))return pe&&M.emit("get",de,G,this),P[de];if(G.length===1?Ee=u.call(C,this,G[0]):Ee=l.call(C,this,G),de===null){if(de=B(G),de!==null)throw r("Circular invocation","CIRCULAR_INVOCATION");de=V(G);}else if(hasOwnProperty.call(P,de))throw r("Circular invocation","CIRCULAR_INVOCATION");return P[de]=Ee,ge&&M.emit("set",de,null,Ee),Ee},q):R===0?Oe=function(){var de;if(hasOwnProperty.call(P,"data"))return pe&&M.emit("get","data",arguments,this),P.data;if(arguments.length?de=l.call(C,this,arguments):de=u.call(C,this),hasOwnProperty.call(P,"data"))throw r("Circular invocation","CIRCULAR_INVOCATION");return P.data=de,ge&&M.emit("set","data",null,de),de}:Oe=function(de){var Ee,G=arguments,ve;if(xe&&(G=xe(arguments)),ve=String(G[0]),hasOwnProperty.call(P,ve))return pe&&M.emit("get",ve,G,this),P[ve];if(G.length===1?Ee=u.call(C,this,G[0]):Ee=l.call(C,this,G),hasOwnProperty.call(P,ve))throw r("Circular invocation","CIRCULAR_INVOCATION");return P[ve]=Ee,ge&&M.emit("set",ve,null,Ee),Ee},M={original:C,memoized:Oe,profileName:I.profileName,get:function(de){return xe&&(de=xe(de)),B?B(de):String(de[0])},has:function(de){return hasOwnProperty.call(P,de)},delete:function(de){var Ee;hasOwnProperty.call(P,de)&&(X&&X(de),Ee=P[de],delete P[de],Se&&M.emit("delete",de,Ee));},clear:function(){var de=P;Q&&Q(),P=c(null),M.emit("clear",de);},on:function(de,Ee){return de==="get"?pe=true:de==="set"?ge=true:de==="delete"&&(Se=true),g.call(this,de,Ee)},emit:D,updateEnv:function(){C=M.original;}},B?ne=a(function(Re){var de,Ee=arguments;xe&&(Ee=xe(Ee)),de=B(Ee),de!==null&&M.delete(de);},q):R===0?ne=function(){return M.delete("data")}:ne=function(de){return xe&&(de=xe(arguments)[0]),M.delete(de)},he=a(function(){var Re,de=arguments;return R===0?P.data:(xe&&(de=xe(de)),B?Re=B(de):Re=String(de[0]),P[Re])}),ee=a(function(){var Re,de=arguments;return R===0?M.has("data"):(xe&&(de=xe(de)),B?Re=B(de):Re=String(de[0]),Re===null?false:M.has(Re))}),d(Oe,{__memoized__:n(true),delete:n(ne),clear:n(M.clear),_get:n(he),_has:n(ee)}),M};}),Tb=N(function(e,t){var r=$r(),a=si(),n=ca(),i=kb(),o=Ku();t.exports=function s(l){var u,c,d;if(r(l),u=Object(arguments[1]),u.async&&u.promise)throw new Error("Options 'async' and 'promise' cannot be used together");return hasOwnProperty.call(l,"__memoized__")&&!u.force?l:(c=o(u.length,l.length,u.async&&n.async),d=i(l,c,u),a(n,function(g,D){u[D]&&g(u[D],d,u);}),s.__profiler__&&s.__profiler__(d),d.updateEnv(),d.memoized)};}),Fb=N(function(e,t){t.exports=function(r){var a,n,i=r.length;if(!i)return "";for(a=String(r[n=0]);--i;)a+=""+r[++n];return a};}),Rb=N(function(e,t){t.exports=function(r){return r?function(a){for(var n=String(a[0]),i=0,o=r;--o;)n+=""+a[++i];return n}:function(){return ""}};}),Ib=N(function(e,t){t.exports=function(){var r=Number.isNaN;return typeof r!="function"?false:!r({})&&r(NaN)&&!r(34)};}),Lb=N(function(e,t){t.exports=function(r){return r!==r};}),Pb=N(function(e,t){t.exports=Ib()()?Number.isNaN:Lb();}),$o=N(function(e,t){var r=Pb(),a=ua(),n=Da(),i=Array.prototype.indexOf,o=Object.prototype.hasOwnProperty,s=Math.abs,l=Math.floor;t.exports=function(u){var c,d,g,D;if(!r(u))return i.apply(this,arguments);for(d=a(n(this).length),g=arguments[1],isNaN(g)?g=0:g>=0?g=l(g):g=a(this.length)-l(s(g)),c=g;c<d;++c)if(o.call(this,c)&&(D=this[c],r(D)))return c;return -1};}),Mb=N(function(e,t){var r=$o(),a=Object.create;t.exports=function(){var n=0,i=[],o=a(null);return {get:function(l){var u=0,c=i,d,g=l.length;if(g===0)return c[g]||null;if(c=c[g]){for(;u<g-1;){if(d=r.call(c[0],l[u]),d===-1)return null;c=c[1][d],++u;}return d=r.call(c[0],l[u]),d===-1?null:c[1][d]||null}return null},set:function(l){var u=0,c=i,d,g=l.length;if(g===0)c[g]=++n;else {for(c[g]||(c[g]=[[],[]]),c=c[g];u<g-1;)d=r.call(c[0],l[u]),d===-1&&(d=c[0].push(l[u])-1,c[1].push([[],[]])),c=c[1][d],++u;d=r.call(c[0],l[u]),d===-1&&(d=c[0].push(l[u])-1),c[1][d]=++n;}return o[n]=l,n},delete:function(l){var u=0,c=i,d,g=o[l],D=g.length,C=[];if(D===0)delete c[D];else if(c=c[D]){for(;u<D-1;){if(d=r.call(c[0],g[u]),d===-1)return;C.push(c,d),c=c[1][d],++u;}if(d=r.call(c[0],g[u]),d===-1)return;for(l=c[1][d],c[0].splice(d,1),c[1].splice(d,1);!c[0].length&&C.length;)d=C.pop(),c=C.pop(),c[0].splice(d,1),c[1].splice(d,1);}delete o[l];},clear:function(){i=[],o=a(null);}}};}),Ob=N(function(e,t){var r=$o();t.exports=function(){var a=0,n=[],i=[];return {get:function(s){var l=r.call(n,s[0]);return l===-1?null:i[l]},set:function(s){return n.push(s[0]),i.push(++a),a},delete:function(s){var l=r.call(i,s);l!==-1&&(n.splice(l,1),i.splice(l,1));},clear:function(){n=[],i=[];}}};}),Nb=N(function(e,t){var r=$o(),a=Object.create;t.exports=function(n){var i=0,o=[[],[]],s=a(null);return {get:function(u){for(var c=0,d=o,g;c<n-1;){if(g=r.call(d[0],u[c]),g===-1)return null;d=d[1][g],++c;}return g=r.call(d[0],u[c]),g===-1?null:d[1][g]||null},set:function(u){for(var c=0,d=o,g;c<n-1;)g=r.call(d[0],u[c]),g===-1&&(g=d[0].push(u[c])-1,d[1].push([[],[]])),d=d[1][g],++c;return g=r.call(d[0],u[c]),g===-1&&(g=d[0].push(u[c])-1),d[1][g]=++i,s[i]=u,i},delete:function(u){for(var c=0,d=o,g,D=[],C=s[u];c<n-1;){if(g=r.call(d[0],C[c]),g===-1)return;D.push(d,g),d=d[1][g],++c;}if(g=r.call(d[0],C[c]),g!==-1){for(u=d[1][g],d[0].splice(g,1),d[1].splice(g,1);!d[0].length&&D.length;)g=D.pop(),d=D.pop(),d[0].splice(g,1),d[1].splice(g,1);delete s[u];}},clear:function(){o=[[],[]],s=a(null);}}};}),rc=N(function(e,t){var r=$r(),a=si(),n=Function.prototype.call;t.exports=function(i,o){var s={},l=arguments[2];return r(o),a(i,function(u,c,d,g){s[c]=n.call(o,l,u,c,d,g);}),s};}),zo=N(function(e,t){var r=function(i){if(typeof i!="function")throw new TypeError(i+" is not a function");return i},a=function(i){var o=h.createTextNode(""),s,l,u=0;return new i(function(){var c;if(s)l&&(s=l.concat(s));else {if(!l)return;s=l;}if(l=s,s=null,typeof l=="function"){c=l,l=null,c();return}for(o.data=u=++u%2;l;)c=l.shift(),l.length||(l=null),c();}).observe(o,{characterData:true}),function(c){if(r(c),s){typeof s=="function"?s=[s,c]:s.push(c);return}s=c,o.data=u=++u%2;}};t.exports=(function(){if((typeof process>"u"?"undefined":ae(process))==="object"&&process&&typeof process.nextTick=="function")return process.nextTick;if(typeof queueMicrotask=="function")return function(n){queueMicrotask(r(n));};if((typeof h>"u"?"undefined":ae(h))==="object"&&h){if(typeof MutationObserver=="function")return a(MutationObserver);if(typeof WebKitMutationObserver=="function")return a(WebKitMutationObserver)}return typeof setImmediate=="function"?function(n){setImmediate(r(n));}:typeof setTimeout=="function"||(typeof setTimeout>"u"?"undefined":ae(setTimeout))==="object"?function(n){setTimeout(r(n),0);}:null})();}),qb=N(function(){var e=jo(),t=rc(),r=Zu(),a=Qu(),n=zo(),i=Array.prototype.slice,o=Function.prototype.apply,s=Object.create;ca().async=function(l,u){var c=s(null),d=s(null),g=u.memoized,D=u.original,C,R,I;u.memoized=a(function(P){var M=arguments,q=M[M.length-1];return typeof q=="function"&&(C=q,M=i.call(M,0,-1)),g.apply(R=this,I=M)},g);try{r(u.memoized,g);}catch{}u.on("get",function(P){var M,q,B;if(C){if(c[P]){typeof c[P]=="function"?c[P]=[c[P],C]:c[P].push(C),C=null;return}M=C,q=R,B=I,C=R=I=null,n(function(){var V;hasOwnProperty.call(d,P)?(V=d[P],u.emit("getasync",P,B,q),o.call(M,V.context,V.args)):(C=M,R=q,I=B,g.apply(q,B));});}}),u.original=function(){var P,M,q,B;return C?(P=e(arguments),M=function V(X){var Q,ne,he=V.id;if(he==null){n(o.bind(V,this,arguments));return}if(delete V.id,Q=c[he],delete c[he],!!Q)return ne=e(arguments),u.has(he)&&(X?u.delete(he):(d[he]={context:this,args:ne},u.emit("setasync",he,typeof Q=="function"?1:Q.length))),typeof Q=="function"?B=o.call(Q,this,ne):Q.forEach(function(ee){B=o.call(ee,this,ne);},this),B},q=C,C=R=I=null,P.push(M),B=o.call(D,this,P),M.cb=q,C=M,B):o.call(D,this,arguments)},u.on("set",function(P){if(!C){u.delete(P);return}c[P]?typeof c[P]=="function"?c[P]=[c[P],C.cb]:c[P].push(C.cb):c[P]=C.cb,delete C.cb,C.id=P,C=null;}),u.on("delete",function(P){var M;hasOwnProperty.call(c,P)||d[P]&&(M=d[P],delete d[P],u.emit("deleteasync",P,i.call(M.args,1)));}),u.on("clear",function(){var P=d;d=s(null),u.emit("clearasync",t(P,function(M){return i.call(M.args,1)}));});};}),Bb=N(function(e,t){var r=Array.prototype.forEach,a=Object.create;t.exports=function(n){var i=a(null);return r.call(arguments,function(o){i[o]=true;}),i};}),ac=N(function(e,t){t.exports=function(r){return typeof r=="function"};}),Hb=N(function(e,t){var r=ac();t.exports=function(a){try{return a&&r(a.toString)?a.toString():String(a)}catch{throw new TypeError("Passed argument cannot be stringifed")}};}),Vb=N(function(e,t){var r=Da(),a=Hb();t.exports=function(n){return a(r(n))};}),jb=N(function(e,t){var r=ac();t.exports=function(a){try{return a&&r(a.toString)?a.toString():String(a)}catch{return "<Non-coercible to string value>"}};}),$b=N(function(e,t){var r=jb(),a=/[\n\r\u2028\u2029]/g;t.exports=function(n){var i=r(n);return i.length>100&&(i=i.slice(0,99)+"\u2026"),i=i.replace(a,function(o){return JSON.stringify(o).slice(1,-1)}),i};}),nc=N(function(e,t){t.exports=r,t.exports.default=r;function r(a){return !!a&&(ae(a)==="object"||typeof a=="function")&&typeof a.then=="function"}}),zb=N(function(){var e=rc(),t=Bb(),r=Vb(),a=$b(),n=nc(),i=zo(),o=Object.create,s=t("then","then:finally","done","done:finally");ca().promise=function(l,u){var c=o(null),d=o(null),g=o(null);if(l===true)l=null;else if(l=r(l),!s[l])throw new TypeError("'"+a(l)+"' is not valid promise mode");u.on("set",function(D,C,R){var I=false;if(!n(R)){d[D]=R,u.emit("setasync",D,1);return}c[D]=1,g[D]=R;var P=function(X){var Q=c[D];if(I)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)
364
- Consider to rely on 'then' or 'done' mode instead.`);Q&&(delete c[D],d[D]=X,u.emit("setasync",D,Q));},M=function(){I=true,c[D]&&(delete c[D],delete g[D],u.delete(D));},q=l;if(q||(q="then"),q==="then"){var B=function(){i(M);};R=R.then(function(V){i(P.bind(this,V));},B),typeof R.finally=="function"&&R.finally(B);}else if(q==="done"){if(typeof R.done!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done' mode");R.done(P,M);}else if(q==="done:finally"){if(typeof R.done!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done:finally' mode");if(typeof R.finally!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'finally' in 'done:finally' mode");R.done(P),R.finally(M);}}),u.on("get",function(D,C,R){var I;if(c[D]){++c[D];return}I=g[D];var P=function(){u.emit("getasync",D,C,R);};n(I)?typeof I.done=="function"?I.done(P):I.then(function(){i(P);}):P();}),u.on("delete",function(D){if(delete g[D],c[D]){delete c[D];return}if(hasOwnProperty.call(d,D)){var C=d[D];delete d[D],u.emit("deleteasync",D,[C]);}}),u.on("clear",function(){var D=d;d=o(null),c=o(null),g=o(null),u.emit("clearasync",e(D,function(C){return [C]}));});};}),Gb=N(function(){var e=$r(),t=si(),r=ca(),a=Function.prototype.apply;r.dispose=function(n,i,o){var s;if(e(n),o.async&&r.async||o.promise&&r.promise){i.on("deleteasync",s=function(u,c){a.call(n,null,c);}),i.on("clearasync",function(l){t(l,function(u,c){s(c,u);});});return}i.on("delete",s=function(u,c){n(c);}),i.on("clear",function(l){t(l,function(u,c){s(c,u);});});};}),Wb=N(function(e,t){t.exports=2147483647;}),Ub=N(function(e,t){var r=ua(),a=Wb();t.exports=function(n){if(n=r(n),n>a)throw new TypeError(n+" exceeds maximum possible timeout");return n};}),Xb=N(function(){var e=jo(),t=si(),r=zo(),a=nc(),n=Ub(),i=ca(),o=Function.prototype,s=Math.max,l=Math.min,u=Object.create;i.maxAge=function(c,d,g){var D,C,R,I;c=n(c),c&&(D=u(null),C=g.async&&i.async||g.promise&&i.promise?"async":"",d.on("set"+C,function(P){D[P]=setTimeout(function(){d.delete(P);},c),typeof D[P].unref=="function"&&D[P].unref(),I&&(I[P]&&I[P]!=="nextTick"&&clearTimeout(I[P]),I[P]=setTimeout(function(){delete I[P];},R),typeof I[P].unref=="function"&&I[P].unref());}),d.on("delete"+C,function(P){clearTimeout(D[P]),delete D[P],I&&(I[P]!=="nextTick"&&clearTimeout(I[P]),delete I[P]);}),g.preFetch&&(g.preFetch===true||isNaN(g.preFetch)?R=.333:R=s(l(Number(g.preFetch),1),0),R&&(I={},R=(1-R)*c,d.on("get"+C,function(P,M,q){I[P]||(I[P]="nextTick",r(function(){var B;I[P]==="nextTick"&&(delete I[P],d.delete(P),g.async&&(M=e(M),M.push(o)),B=d.memoized.apply(q,M),g.promise&&a(B)&&(typeof B.done=="function"?B.done(o,o):B.then(o,o)));}));}))),d.on("clear"+C,function(){t(D,function(P){clearTimeout(P);}),D={},I&&(t(I,function(P){P!=="nextTick"&&clearTimeout(P);}),I={});}));};}),Yb=N(function(e,t){var r=ua(),a=Object.create,n=Object.prototype.hasOwnProperty;t.exports=function(i){var o=0,s=1,l=a(null),u=a(null),c=0,d;return i=r(i),{hit:function(D){var C=u[D],R=++c;if(l[R]=D,u[D]=R,!C)return ++o,o<=i?void 0:(D=l[s],d(D),D);if(delete l[C],s===C)for(;!n.call(l,++s););},delete:d=function(D){var C=u[D];if(C&&(delete l[C],delete u[D],--o,s===C)){if(!o){c=0,s=1;return}for(;!n.call(l,++s););}},clear:function(){o=0,s=1,l=a(null),u=a(null),c=0;}}};}),Kb=N(function(){var e=ua(),t=Yb(),r=ca();r.max=function(a,n,i){var o,s,l;a=e(a),a&&(s=t(a),o=i.async&&r.async||i.promise&&r.promise?"async":"",n.on("set"+o,l=function(c){c=s.hit(c),c!==void 0&&n.delete(c);}),n.on("get"+o,l),n.on("delete"+o,s.delete),n.on("clear"+o,s.clear));};}),Jb=N(function(){var e=da(),t=ca(),r=Object.create,a=Object.defineProperties;t.refCounter=function(n,i,o){var s,l;s=r(null),l=o.async&&t.async||o.promise&&t.promise?"async":"",i.on("set"+l,function(u,c){s[u]=c||1;}),i.on("get"+l,function(u){++s[u];}),i.on("delete"+l,function(u){delete s[u];}),i.on("clear"+l,function(){s={};}),a(i.memoized,{deleteRef:e(function(){var u=i.get(arguments);return u===null||!s[u]?null:--s[u]?false:(i.delete(u),true)}),getRefCount:e(function(){var u=i.get(arguments);return u===null||!s[u]?0:s[u]})});};}),Zb=N(function(e,t){var r=Yu(),a=Ku(),n=Tb();t.exports=function(i){var o=r(arguments[1]),s;return o.normalizer||(s=o.length=a(o.length,i.length,o.async),s!==0&&(o.primitive?s===false?o.normalizer=Fb():s>1&&(o.normalizer=Rb()(s)):s===false?o.normalizer=Mb()():s===1?o.normalizer=Ob()():o.normalizer=Nb()(s))),o.async&&qb(),o.promise&&zb(),o.dispose&&Gb(),o.maxAge&&Xb(),o.max&&Kb(),o.refCounter&&Jb(),n(i,o)};}),Qb=[{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"}],fr={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"])};Qb.forEach(function(e){var t=e.name,r=e.value,a=e.priority,n=e.group;fr[t]=r,fr[t+"_PRIO"]=a,fr[t+"_GROUP"]=n,fr.results[a]=r,fr.resultGroups[a]=n,fr.resultGroupMap[r]=n;}),Object.freeze(fr.results),Object.freeze(fr.resultGroups),Object.freeze(fr.resultGroupMap),Object.freeze(fr);var He=fr;function ey(){(typeof console>"u"?"undefined":ae(console))==="object"&&console.log&&Function.prototype.apply.call(console.log,console,arguments);}var fa=ey,ty=/[\t\r\n\f]/g,ry=(function(){function e(){gt(this,e),this.parent=void 0;}return tt(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 a=this.attr("class");if(!a)return false;var n=" "+r+" ";return (" "+a+" ").replace(ty," ").indexOf(n)>=0}}])})(),Ft=ry,Go={};ur(Go,{DqElement:function(){return ir},RuleError:function(){return mo},aggregate:function(){return ui},aggregateChecks:function(){return sc},aggregateNodeResults:function(){return lc},aggregateResult:function(){return uc},areStylesSet:function(){return uy},assert:function(){return Qe},checkHelper:function(){return ys},clone:function(){return Ir},closest:function(){return Xt},collectResultsFromFrames:function(){return Zd},contains:function(){return Lr},convertSelector:function(){return Ri},cssParser:function(){return Id},deepMerge:function(){return Is},escapeSelector:function(){return vt},extendMetaData:function(){return Ls},filterHtmlAttrs:function(){return mm},finalizeRuleResult:function(){return Qa},findBy:function(){return yn},getAllChecks:function(){return Oi},getAncestry:function(){return Fi},getBaseLang:function(){return wa},getCheckMessage:function(){return k2},getCheckOption:function(){return so},getElementSource:function(){return Fd},getEnvironmentData:function(){return ta},getFlattenedTree:function(){return xl},getFrameContexts:function(){return G2},getFriendlyUriEnd:function(){return fc},getNodeAttributes:function(){return rn},getNodeFromTree:function(){return je},getPreloadConfig:function(){return cm},getRootNode:function(){return wn},getRule:function(){return Xp},getScroll:function(){return Or},getScrollState:function(){return X2},getSelector:function(){return vs},getSelectorData:function(){return Ti},getShadowSelector:function(){return ms},getStandards:function(){return Y2},getStyleSheetFactory:function(){return Jp},getXpath:function(){return Td},injectStyle:function(){return Z2},isArrayLike:function(){return Cl},isContextObject:function(){return Sl},isContextProp:function(){return uo},isContextSpec:function(){return Zp},isHidden:function(){return Q2},isHtmlElement:function(){return Tl},isLabelledFramesSelector:function(){return kl},isLabelledShadowDomSelector:function(){return co},isNodeInContext:function(){return Fl},isShadowRoot:function(){return qi},isValidLang:function(){return go},isXHTML:function(){return fn},matchAncestry:function(){return Rl},matches:function(){return xs},matchesExpression:function(){return Ca},matchesSelector:function(){return _a},memoize:function(){return ut},mergeResults:function(){return Ni},nodeLookup:function(){return Je},nodeSerializer:function(){return or},nodeSorter:function(){return Il},objectHasOwn:function(){return Er},parseCrossOriginStylesheet:function(){return Pl},parseSameOriginStylesheet:function(){return tm},parseStylesheet:function(){return Ll},parseTabindex:function(){return Cr},performanceTimer:function(){return rt},pollyfillElementsFromPoint:function(){return rm},preload:function(){return lm},preloadCssom:function(){return nm},preloadMedia:function(){return sm},processMessage:function(){return El},publishMetaData:function(){return fo},querySelectorAll:function(){return Zt},querySelectorAllFilter:function(){return Sr},queue:function(){return xr},respondable:function(){return hr},ruleShouldRun:function(){return pm},select:function(){return Ml},sendCommandToFrame:function(){return Xd},serializeError:function(){return po},setScrollState:function(){return IA},shadowSelect:function(){return LA},shadowSelectAll:function(){return Ol},shouldPreload:function(){return um},toArray:function(){return dc},tokenList:function(){return Ht},uniqueArray:function(){return Mn},uuid:function(){return Nw},validInputTypes:function(){return ho},validLangs:function(){return ym}});function ay(e,t,r){t=t.slice(),r&&t.push(r);var a=t.map(function(n){return e.indexOf(n)}).sort();return e[a.pop()]}var ui=ay,ny=He.CANTTELL_PRIO,iy=He.FAIL_PRIO,ci=[];ci[He.PASS_PRIO]=true,ci[He.CANTTELL_PRIO]=null,ci[He.FAIL_PRIO]=false;var ic=["any","all","none"];function oc(e,t){return ic.reduce(function(r,a){return r[a]=(e[a]||[]).map(function(n){return t(n,a)}),r},{})}function oy(e){var t=Object.assign({},e);oc(t,function(n,i){var o=typeof n.result>"u"?-1:ci.indexOf(n.result);n.priority=o!==-1?o:He.CANTTELL_PRIO,i==="none"&&(n.priority===He.PASS_PRIO?n.priority=He.FAIL_PRIO:n.priority===He.FAIL_PRIO&&(n.priority=He.PASS_PRIO));});var r={all:t.all.reduce(function(n,i){return Math.max(n,i.priority)},0),none:t.none.reduce(function(n,i){return Math.max(n,i.priority)},0),any:t.any.reduce(function(n,i){return Math.min(n,i.priority)},4)%4};t.priority=Math.max(r.all,r.none,r.any);var a=[];return ic.forEach(function(n){t[n]=t[n].filter(function(i){return i.priority===t.priority&&i.priority===r[n]}),t[n].forEach(function(i){return a.push(i.impact)});}),[ny,iy].includes(t.priority)?t.impact=ui(He.impact,a):t.impact=null,oc(t,function(n){delete n.result,delete n.priority;}),t.result=He.results[t.priority],delete t.priority,t}var sc=oy;function Qa(e){var t=m._audit.rules.find(function(r){var a=r.id;return a===e.id});return t&&t.impact&&e.nodes.forEach(function(r){["any","all","none"].forEach(function(a){(r[a]||[]).forEach(function(n){n.impact=t.impact;});});}),Object.assign(e,lc(e.nodes)),delete e.nodes,e}function sy(e){var t={};if(e=e.map(function(i){if(i.any&&i.all&&i.none)return sc(i);if(Array.isArray(i.node))return Qa(i);throw new TypeError("Invalid Result type")}),e&&e.length){var r=e.map(function(i){return i.result});t.result=ui(He.results,r,t.result);}else t.result="inapplicable";He.resultGroups.forEach(function(i){return t[i]=[]}),e.forEach(function(i){var o=He.resultGroupMap[i.result];t[o].push(i);});var a=He.FAIL_GROUP;if(t[a].length===0&&(a=He.CANTTELL_GROUP),t[a].length>0){var n=t[a].map(function(i){return i.impact});t.impact=ui(He.impact,n)||null;}else t.impact=null;return t}var lc=sy;function Wo(e,t,r){var a=Object.assign({},t);a.nodes=(a[r]||[]).concat(),He.resultGroups.forEach(function(n){delete a[n];}),e[r].push(a);}function ly(e){var t={};return He.resultGroups.forEach(function(r){return t[r]=[]}),e.forEach(function(r){r.error?Wo(t,r,He.CANTTELL_GROUP):r.result===He.NA?Wo(t,r,He.NA_GROUP):He.resultGroups.forEach(function(a){Array.isArray(r[a])&&r[a].length>0&&Wo(t,r,a);});}),t}var uc=ly;function cc(e,t,r){var a=p.getComputedStyle(e,null);if(!a)return false;for(var n=0;n<t.length;++n){var i=t[n];if(a.getPropertyValue(i.property)===i.value)return true}return !e.parentNode||e.nodeName.toUpperCase()===r.toUpperCase()?false:cc(e.parentNode,t,r)}var uy=cc;function cy(e,t){if(!e)throw new Error(t)}var Qe=cy;function dy(e){return Array.prototype.slice.call(e)}var dc=dy;function fy(e){for(var t=String(e),r=t.length,a=-1,n,i="",o=t.charCodeAt(0);++a<r;){if(n=t.charCodeAt(a),n==0){i+="\uFFFD";continue}if(n>=1&&n<=31||n==127||a==0&&n>=48&&n<=57||a==1&&n>=48&&n<=57&&o==45){i+="\\"+n.toString(16)+" ";continue}if(a==0&&r==1&&n==45){i+="\\"+t.charAt(a);continue}if(n>=128||n==45||n==95||n>=48&&n<=57||n>=65&&n<=90||n>=97&&n<=122){i+=t.charAt(a);continue}i+="\\"+t.charAt(a);}return i}var vt=fy;function py(){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 en(e,t){return [e.substring(0,t),e.substring(t)]}function tn(e){return e.replace(/\s+$/,"")}function my(e){var t=e,r="",a="",n="",i="",o="",s="";if(e.includes("#")){var l=en(e,e.indexOf("#")),u=le(l,2);e=u[0],s=u[1];}if(e.includes("?")){var c=en(e,e.indexOf("?")),d=le(c,2);e=d[0],o=d[1];}if(e.includes("://")){var g=e.split("://"),D=le(g,2);r=D[0],e=D[1];var C=en(e,e.indexOf("/")),R=le(C,2);a=R[0],e=R[1];}else if(e.substr(0,2)==="//"){e=e.substr(2);var I=en(e,e.indexOf("/")),P=le(I,2);a=P[0],e=P[1];}if(a.substr(0,4)==="www."&&(a=a.substr(4)),a&&a.includes(":")){var M=en(a,a.indexOf(":")),q=le(M,2);a=q[0],n=q[1];}return i=e,{original:t,protocol:r,domain:a,port:n,path:i,query:o,hash:s}}function hy(){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,a=t.maxLength,n=a===void 0?25:a,i=my(e),o=i.path,s=i.domain,l=i.hash,u=o.substr(o.substr(0,o.length-2).lastIndexOf("/")+1);if(l)return u&&(u+l).length<=n?tn(u+l):u.length<2&&l.length>2&&l.length<=n?tn(l):void 0;if(s&&s.length<n&&o.length<=1||o==="/"+u&&s&&r&&s!==r&&(s+o).length<=n)return tn(s+o);var c=u.lastIndexOf(".");if((c===-1||c>1)&&(c!==-1||u.length>2)&&u.length<=n&&!u.match(/index(\.[a-zA-Z]{2-4})?/)&&!py(u))return tn(u)}}var fc=hy;function gy(e){return e.attributes instanceof p.NamedNodeMap?e.attributes:e.cloneNode(false).attributes}var rn=gy,vy=(function(){var e;function t(r){var a=["matches","matchesSelector","mozMatchesSelector","webkitMatchesSelector","msMatchesSelector"],n=a.length,i,o;for(i=0;i<n;i++)if(o=a[i],r[o])return o}return function(r,a){return (!e||!r[e])&&(e=t(r)),r[e]?r[e](a):false}})(),_a=vy,pc={};ur(pc,{ArrayFrom:function(){return _d.default},Colorjs:function(){return st},CssSelectorParser:function(){return mc.CssSelectorParser},doT:function(){return zr.default},emojiRegexText:function(){return Uo},memoize:function(){return hc.default}});var by=br(Ng()),yy=br(qg());br(Bg());var wy=br(Qg()),xy=br(cv()),Dy=br(Uu());"hasOwn"in Object||(Object.hasOwn=wy.default),"values"in Object||(Object.values=xy.default),"Promise"in p||by.default.polyfill(),"Uint32Array"in p||(p.Uint32Array=yy.Uint32Array),p.Uint32Array&&("some"in p.Uint32Array.prototype||Object.defineProperty(p.Uint32Array.prototype,"some",{value:Array.prototype.some}),"reduce"in p.Uint32Array.prototype||Object.defineProperty(p.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 a=arguments[r];if(a!=null)for(var n in a)a.hasOwnProperty(n)&&(t[n]=a[n]);}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),a=r.length>>>0,n=arguments[1],i,o=0;o<a;o++)if(i=r[o],t.call(n,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 a=Object(this),n=a.length>>>0,i,o=0;o<n;o++)if(i=a[o],t.call(r,i,o,a))return o;return -1}}),Array.prototype.includes||Object.defineProperty(Array.prototype,"includes",{value:function(t){var r=Object(this),a=parseInt(r.length,10)||0;if(a===0)return false;var n=parseInt(arguments[1],10)||0,i;n>=0?i=n:(i=a+n,i<0&&(i=0));for(var o;i<a;){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),a=r.length>>>0,n=arguments.length>=2?arguments[1]:void 0,i=0;i<a;i++)if(i in r&&t.call(n,r[i],i,r))return true;return false}}),Array.from||(Array.from=Dy.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,a){return Array.isArray(a)?r.push.apply(r,e.call(a,t-1)):r.push(a),r},[]):Array.prototype.slice.call(this)},writable:true}),p.Node&&!("isConnected"in p.Node.prototype)&&Object.defineProperty(p.Node.prototype,"isConnected",{get:function(){return !this.ownerDocument||!(this.ownerDocument.compareDocumentPosition(this)&this.DOCUMENT_POSITION_DISCONNECTED)}});var mc=br(jv()),zr=br($v()),Uo=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},hc=br(Zb());function xt(e,t){var r=e.length;Array.isArray(e[0])||(e=[e]),Array.isArray(t[0])||(t=t.map(function(o){return [o]}));var a=t[0].length,n=t[0].map(function(o,s){return t.map(function(l){return l[s]})}),i=e.map(function(o){return n.map(function(s){var l=0;if(!Array.isArray(o)){var u=Ge(s),c;try{for(u.s();!(c=u.n()).done;){var d=c.value;l+=o*d;}}catch(D){u.e(D);}finally{u.f();}return l}for(var g=0;g<o.length;g++)l+=o[g]*(s[g]||0);return l})});return r===1&&(i=i[0]),a===1?i.map(function(o){return o[0]}):i}function an(e){return Gr(e)==="string"}function Gr(e){var t=Object.prototype.toString.call(e);return (t.match(/^\[object\s+(.*?)\]$/)[1]||"").toLowerCase()}function di(e,t){e=+e,t=+t;var r=(Math.floor(e)+"").length;if(t>r)return +e.toFixed(t-r);var a=Math.pow(10,r-t);return Math.round(e/a)*a}function gc(e){if(e){e=e.trim();var t=/^([a-z]+)\((.+?)\)$/i,r=/^-?[\d.]+$/,a=e.match(t);if(a){var n=[];return a[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),n.push(o);}),{name:a[1].toLowerCase(),rawName:a[1],rawArgs:a[2],args:n}}}}function vc(e){return e[e.length-1]}function fi(e,t,r){return isNaN(e)?t:isNaN(t)?e:e+(t-e)*r}function bc(e,t,r){return (r-e)/(t-e)}function Xo(e,t,r){return fi(t[0],t[1],bc(e[0],e[1],r))}function yc(e){return e.map(function(t){return t.split("|").map(function(r){r=r.trim();var a=r.match(/^(<[a-z]+>)\[(-?[.\d]+),\s*(-?[.\d]+)\]?$/);if(a){var n=new String(a[1]);return n.range=[+a[2],+a[3]],n}return r})})}var _y=Object.freeze({__proto__:null,isString:an,type:Gr,toPrecision:di,parseFunction:gc,last:vc,interpolate:fi,interpolateInv:bc,mapRange:Xo,parseCoordGrammar:yc,multiplyMatrices:xt}),Ay=(function(){function e(){gt(this,e);}return tt(e,[{key:"add",value:function(r,a,n){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]||[],a&&this[i][n?"unshift":"push"](a);},this);}},{key:"run",value:function(r,a){this[r]=this[r]||[],this[r].forEach(function(n){n.call(a&&a.context?a.context:a,a);});}}])})(),Wr=new Ay,wr={gamut_mapping:"lch.c",precision:5,deltaE:"76"},pr={D50:[.3457/.3585,1,(1-.3457-.3585)/.3585],D65:[.3127/.329,1,(1-.3127-.329)/.329]};function Yo(e){return Array.isArray(e)?e:pr[e]}function pi(e,t,r){var a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};if(e=Yo(e),t=Yo(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 n={W1:e,W2:t,XYZ:r,options:a};if(Wr.run("chromatic-adaptation-start",n),n.M||(n.W1===pr.D65&&n.W2===pr.D50?n.M=[[1.0479298208405488,.022946793341019088,-0.05019222954313557],[.029627815688159344,.990434484573249,-0.01707382502938514],[-0.009243058152591178,.015055144896577895,.7518742899580008]]:n.W1===pr.D50&&n.W2===pr.D65&&(n.M=[[.9554734527042182,-0.023098536874261423,.0632593086610217],[-0.028369706963208136,1.0099954580058226,.021041398966943008],[.012314001688319899,-0.020507696433477912,1.3303659366080753]])),Wr.run("chromatic-adaptation-end",n),n.M)return xt(n.M,n.XYZ);throw new TypeError("Only Bradford CAT with white points D50 and D65 supported for now.")}var Ey=75e-6,mr=(U=new WeakSet,J=new WeakMap,(function(){function e(t){var r,a,n,i,o,s,l;gt(this,e),ia(this,U),lr(this,J,void 0),this.id=t.id,this.name=t.name,this.base=t.base?mr.get(t.base):null,this.aliases=t.aliases,this.base&&(this.fromBase=t.fromBase,this.toBase=t.toBase);var u=(r=t.coords)!==null&&r!==void 0?r:this.base.coords;this.coords=u;var c=(a=(n=t.white)!==null&&n!==void 0?n:this.base.white)!==null&&a!==void 0?a:"D65";this.white=Yo(c),this.formats=(i=t.formats)!==null&&i!==void 0?i:{};for(var d in this.formats){var g=this.formats[d];g.type||(g.type="function"),g.name||(g.name=d);}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,kt(J,this,Tr(U,this,Cy).call(this).reverse()),Wr.run("colorspace-init-end",this);}return tt(e,[{key:"inGamut",value:function(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=a.epsilon,i=n===void 0?Ey:n;if(this.isPolar)return r=this.toBase(r),this.base.inGamut(r,{epsilon:i});var o=Object.values(this.coords);return r.every(function(s,l){var u=o[l];if(u.type!=="angle"&&u.range){if(Number.isNaN(s))return true;var c=le(u.range,2),d=c[0],g=c[1];return (d===void 0||s>=d-i)&&(g===void 0||s<=g+i)}return true})}},{key:"cssId",get:function(){var r;return ((r=this.formats.functions)===null||r===void 0||(r=r.color)===null||r===void 0?void 0:r.id)||this.id}},{key:"isPolar",get:function(){for(var r in this.coords)if(this.coords[r].type==="angle")return true;return false}},{key:"getFormat",value:function(r){if(ae(r)==="object")return r=Tr(U,this,wc).call(this,r),r;var a;return r==="default"?a=Object.values(this.formats)[0]:a=this.formats[r],a?(a=Tr(U,this,wc).call(this,a),a):null}},{key:"to",value:function(r,a){if(arguments.length===1){var n=[r.space,r.coords];r=n[0],a=n[1];}if(r=mr.get(r),this===r)return a;a=a.map(function(g){return Number.isNaN(g)?0:g});for(var i=zt(J,this),o=zt(J,r),s,l,u=0;u<i.length&&i[u]===o[u];u++)s=i[u],l=u;if(!s)throw new Error("Cannot convert between color spaces ".concat(this," and ").concat(r,": no connection space was found"));for(var c=i.length-1;c>l;c--)a=i[c].toBase(a);for(var d=l+1;d<o.length;d++)a=o[d].fromBase(a);return a}},{key:"from",value:function(r,a){if(arguments.length===1){var n=[r.space,r.coords];r=n[0],a=n[1];}return r=mr.get(r),r.to(this,a)}},{key:"toString",value:function(){return "".concat(this.name," (").concat(this.id,")")}},{key:"getMinCoords",value:function(){var r=[];for(var a in this.coords){var n,i=this.coords[a],o=i.range||i.refRange;r.push((n=o?.min)!==null&&n!==void 0?n:0);}return r}}],[{key:"all",get:function(){return _e(new Set(Object.values(mr.registry)))}},{key:"register",value:function(r,a){if(arguments.length===1&&(a=arguments[0],r=a.id),a=this.get(a),this.registry[r]&&this.registry[r]!==a)throw new Error("Duplicate color space registration: '".concat(r,"'"));if(this.registry[r]=a,arguments.length===1&&a.aliases){var n=Ge(a.aliases),i;try{for(n.s();!(i=n.n()).done;){var o=i.value;this.register(o,a);}}catch(s){n.e(s);}finally{n.f();}}return a}},{key:"get",value:function(r){if(!r||r instanceof mr)return r;var a=Gr(r);if(a==="string"){var n=mr.registry[r.toLowerCase()];if(!n)throw new TypeError('No color space found with id = "'.concat(r,'"'));return n}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 mr.get.apply(mr,o);throw new TypeError("".concat(r," is not a valid color space"))}},{key:"resolveCoord",value:function(r,a){var n=Gr(r),i,o;if(n==="string")if(r.includes(".")){var s=r.split("."),l=le(s,2);i=l[0],o=l[1];}else i=void 0,o=r;else if(Array.isArray(r)){var u=le(r,2);i=u[0],o=u[1];}else i=r.space,o=r.coordId;if(i=mr.get(i),i||(i=a),!i)throw new TypeError("Cannot resolve coordinate reference ".concat(r,": No color space specified and relative references are not allowed here"));if(n=Gr(o),n==="number"||n==="string"&&o>=0){var c=Object.entries(i.coords)[o];if(c)return Te({space:i,id:c[0],index:o},c[1])}i=mr.get(i);var d=o.toLowerCase(),g=0;for(var D in i.coords){var C,R=i.coords[D];if(D.toLowerCase()===d||((C=R.name)===null||C===void 0?void 0:C.toLowerCase())===d)return Te({space:i,id:D,index:g},R);g++;}throw new TypeError('No "'.concat(o,'" coordinate found in ').concat(i.name,". Its coordinates are: ").concat(Object.keys(i.coords).join(", ")))}}])})());function wc(e){if(e.coords&&!e.coordGrammar){e.type||(e.type="function"),e.name||(e.name="color"),e.coordGrammar=yc(e.coords);var t=Object.entries(this.coords).map(function(r,a){var n=le(r,2);n[0];var o=n[1],s=e.coordGrammar[a][0],l=o.range||o.refRange,u=s.range,c="";return s=="<percentage>"?(u=[0,100],c="%"):s=="<angle>"&&(c="deg"),{fromRange:l,toRange:u,suffix:c}});e.serializeCoords=function(r,a){return r.map(function(n,i){var o=t[i],s=o.fromRange,l=o.toRange,u=o.suffix;return s&&l&&(n=Xo(s,l,n)),n=di(n,a),u&&(n+=u),n})};}return e}function Cy(){for(var e=[this],t=this;t=t.base;)e.push(t);return e}var Fe=mr;Au(Fe,"registry",{}),Au(Fe,"DEFAULT_FORMAT",{type:"functions",name:"color"});var rr=new Fe({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"]}),jt=(function(e){function t(r){var a,n;if(gt(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=rr),r.toXYZ_M&&r.fromXYZ_M){var i,o;(i=r.toBase)!==null&&i!==void 0||(r.toBase=function(s){var l=xt(r.toXYZ_M,s);return n.white!==n.base.white&&(l=pi(n.white,n.base.white,l)),l}),(o=r.fromBase)!==null&&o!==void 0||(r.fromBase=function(s){return s=pi(n.base.white,n.white,s),xt(r.fromXYZ_M,s)});}return (a=r.referred)!==null&&a!==void 0||(r.referred="display"),n=ke(this,t,[r])}return Le(t,e),tt(t)})(Fe);function xc(e){var t,r={str:(t=String(e))===null||t===void 0?void 0:t.trim()};if(Wr.run("parse-start",r),r.color)return r.color;if(r.parsed=gc(r.str),r.parsed){var a=r.parsed.name;if(a==="color"){var n=r.parsed.args.shift(),i=r.parsed.rawArgs.indexOf("/")>0?r.parsed.args.pop():1,o=Ge(Fe.all),s;try{var l=function(){var he=s.value,ee=he.getFormat("color");if(ee){var ue;if(n===ee.id||(ue=ee.ids)!==null&&ue!==void 0&&ue.includes(n)){var pe=Object.keys(he.coords).length,ge=Array(pe).fill(0);return ge.forEach(function(Se,Oe){return ge[Oe]=r.parsed.args[Oe]||0}),{v:{spaceId:he.id,coords:ge,alpha:i}}}}},u;for(o.s();!(s=o.n()).done;)if(u=l(),u)return u.v}catch(ne){o.e(ne);}finally{o.f();}var c="";if(n in Fe.registry){var d,g=(d=Fe.registry[n].formats)===null||d===void 0||(d=d.functions)===null||d===void 0||(d=d.color)===null||d===void 0?void 0:d.id;g&&(c="Did you mean color(".concat(g,")?"));}throw new TypeError("Cannot parse color(".concat(n,"). ")+(c||"Missing a plugin?"))}else {var D=Ge(Fe.all),C;try{var R=function(){var he=C.value,ee=he.getFormat(a);if(ee&&ee.type==="function"){var ue=1;(ee.lastAlpha||vc(r.parsed.args).alpha)&&(ue=r.parsed.args.pop());var pe=r.parsed.args;return ee.coordGrammar&&Object.entries(he.coords).forEach(function(ge,Se){var Oe,xe=le(ge,2),Re=xe[0],de=xe[1],Ee=ee.coordGrammar[Se],G=(Oe=pe[Se])===null||Oe===void 0?void 0:Oe.type;if(Ee=Ee.find(function(Me){return Me==G}),!Ee){var ve=de.name||Re;throw new TypeError("".concat(G," not allowed for ").concat(ve," in ").concat(a,"()"))}var se=Ee.range;G==="<percentage>"&&(se||(se=[0,1]));var be=de.range||de.refRange;se&&be&&(pe[Se]=Xo(se,be,pe[Se]));}),{v:{spaceId:he.id,coords:pe,alpha:ue}}}},I;for(D.s();!(C=D.n()).done;)if(I=R(),I)return I.v}catch(ne){D.e(ne);}finally{D.f();}}}else {var P=Ge(Fe.all),M;try{for(P.s();!(M=P.n()).done;){var q=M.value;for(var B in q.formats){var V=q.formats[B];if(V.type==="custom"&&!(V.test&&!V.test(r.str))){var X=V.parse(r.str);if(X){var Q;return (Q=X.alpha)!==null&&Q!==void 0||(X.alpha=1),X}}}}}catch(ne){P.e(ne);}finally{P.f();}}throw new TypeError("Could not parse ".concat(e," as a color. Missing a plugin?"))}function at(e){if(!e)throw new TypeError("Empty color reference");an(e)&&(e=xc(e));var t=e.space||e.spaceId;return t instanceof Fe||(e.space=Fe.get(t)),e.alpha===void 0&&(e.alpha=1),e}function nn(e,t){return t=Fe.get(t),t.from(e)}function ar(e,t){var r=Fe.resolveCoord(t,e.space),a=r.space,n=r.index,i=nn(e,a);return i[n]}function Dc(e,t,r){return t=Fe.get(t),e.coords=t.to(e.space,r),e}function Ur(e,t,r){if(e=at(e),arguments.length===2&&Gr(arguments[1])==="object"){var a=arguments[1];for(var n in a)Ur(e,n,a[n]);}else {typeof r=="function"&&(r=r(ar(e,t)));var i=Fe.resolveCoord(t,e.space),o=i.space,s=i.index,l=nn(e,o);l[s]=r,Dc(e,o,l);}return e}var Ko=new Fe({id:"xyz-d50",name:"XYZ D50",white:"D50",base:rr,fromBase:function(t){return pi(rr.white,"D50",t)},toBase:function(t){return pi("D50",rr.white,t)},formats:{color:{}}}),Sy=216/24389,_c=24/116,mi=24389/27,Jo=pr.D50,Ut=new Fe({id:"lab",name:"Lab",coords:{l:{refRange:[0,100],name:"L"},a:{refRange:[-125,125]},b:{refRange:[-125,125]}},white:Jo,base:Ko,fromBase:function(t){var r=t.map(function(n,i){return n/Jo[i]}),a=r.map(function(n){return n>Sy?Math.cbrt(n):(mi*n+16)/116});return [116*a[1]-16,500*(a[0]-a[1]),200*(a[1]-a[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 a=[r[0]>_c?Math.pow(r[0],3):(116*r[0]-16)/mi,t[0]>8?Math.pow((t[0]+16)/116,3):t[0]/mi,r[2]>_c?Math.pow(r[2],3):(116*r[2]-16)/mi];return a.map(function(n,i){return n*Jo[i]})},formats:{lab:{coords:["<number> | <percentage>","<number>","<number>"]}}});function hi(e){return (e%360+360)%360}function ky(e,t){if(e==="raw")return t;var r=t.map(hi),a=le(r,2),n=a[0],i=a[1],o=i-n;return e==="increasing"?o<0&&(i+=360):e==="decreasing"?o>0&&(n+=360):e==="longer"?-180<o&&o<180&&(o>0?i+=360:n+=360):e==="shorter"&&(o>180?n+=360:o<-180&&(i+=360)),[n,i]}var on=new Fe({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:Ut,fromBase:function(t){var r=le(t,3),a=r[0],n=r[1],i=r[2],o,s=.02;return Math.abs(n)<s&&Math.abs(i)<s?o=NaN:o=Math.atan2(i,n)*180/Math.PI,[a,Math.sqrt(Math.pow(n,2)+Math.pow(i,2)),hi(o)]},toBase:function(t){var r=le(t,3),a=r[0],n=r[1],i=r[2];return n<0&&(n=0),isNaN(i)&&(i=0),[a,n*Math.cos(i*Math.PI/180),n*Math.sin(i*Math.PI/180)]},formats:{lch:{coords:["<number> | <percentage>","<number>","<number> | <angle>"]}}}),Ac=Math.pow(25,7),gi=Math.PI,Ec=180/gi,Aa=gi/180;function Zo(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=r.kL,n=a===void 0?1:a,i=r.kC,o=i===void 0?1:i,s=r.kH,l=s===void 0?1:s,u=Ut.from(e),c=le(u,3),d=c[0],g=c[1],D=c[2],C=on.from(Ut,[d,g,D])[1],R=Ut.from(t),I=le(R,3),P=I[0],M=I[1],q=I[2],B=on.from(Ut,[P,M,q])[1];C<0&&(C=0),B<0&&(B=0);var V=(C+B)/2,X=Math.pow(V,7),Q=.5*(1-Math.sqrt(X/(X+Ac))),ne=(1+Q)*g,he=(1+Q)*M,ee=Math.sqrt(Math.pow(ne,2)+Math.pow(D,2)),ue=Math.sqrt(Math.pow(he,2)+Math.pow(q,2)),pe=ne===0&&D===0?0:Math.atan2(D,ne),ge=he===0&&q===0?0:Math.atan2(q,he);pe<0&&(pe+=2*gi),ge<0&&(ge+=2*gi),pe*=Ec,ge*=Ec;var Se=P-d,Oe=ue-ee,xe=ge-pe,Re=pe+ge,de=Math.abs(xe),Ee;ee*ue===0?Ee=0:de<=180?Ee=xe:xe>180?Ee=xe-360:xe<-180?Ee=xe+360:console.log("the unthinkable has happened");var G=2*Math.sqrt(ue*ee)*Math.sin(Ee*Aa/2),ve=(d+P)/2,se=(ee+ue)/2,be=Math.pow(se,7),Me;ee*ue===0?Me=Re:de<=180?Me=Re/2:Re<360?Me=(Re+360)/2:Me=(Re-360)/2;var we=Math.pow(ve-50,2),Ae=1+.015*we/Math.sqrt(20+we),Xe=1+.045*se,nt=1;nt-=.17*Math.cos((Me-30)*Aa),nt+=.24*Math.cos(2*Me*Aa),nt+=.32*Math.cos((3*Me+6)*Aa),nt-=.2*Math.cos((4*Me-63)*Aa);var lt=1+.015*se*nt,bt=30*Math.exp(-1*Math.pow((Me-275)/25,2)),Et=2*Math.sqrt(be/(be+Ac)),_t=-1*Math.sin(2*bt*Aa)*Et,dt=Math.pow(Se/(n*Ae),2);return dt+=Math.pow(Oe/(o*Xe),2),dt+=Math.pow(G/(l*lt),2),dt+=_t*(Oe/(o*Xe))*(G/(l*lt)),Math.sqrt(dt)}var Ty=75e-6;function sn(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e.space,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=r.epsilon,n=a===void 0?Ty:a;e=at(e),t=Fe.get(t);var i=e.coords;return t!==e.space&&(i=t.from(e)),t.inGamut(i,{epsilon:n})}function ln(e){return {space:e.space,coords:e.coords.slice(),alpha:e.alpha}}function Xr(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.method,a=r===void 0?wr.gamut_mapping:r,n=t.space,i=n===void 0?e.space:n;if(an(arguments[1])&&(i=arguments[1]),i=Fe.get(i),sn(e,i,{epsilon:0}))return e;var o=nr(e,i);if(a!=="clip"&&!sn(e,i)){var s=Xr(ln(o),{method:"clip",space:i});if(Zo(e,s)>2){for(var l=Fe.resolveCoord(a),u=l.space,c=l.id,d=nr(o,u),g=l.range||l.refRange,D=g[0],C=.01,R=D,I=ar(d,c);I-R>C;){var P=ln(d);P=Xr(P,{space:i,method:"clip"});var M=Zo(d,P);M-2<C?R=ar(d,c):I=ar(d,c),Ur(d,c,(R+I)/2);}o=nr(d,i);}else o=s;}if(a==="clip"||!sn(o,i,{epsilon:0})){var q=Object.values(i.coords).map(function(B){return B.range||[]});o.coords=o.coords.map(function(B,V){var X=le(q[V],2),Q=X[0],ne=X[1];return Q!==void 0&&(B=Math.max(Q,B)),ne!==void 0&&(B=Math.min(B,ne)),B});}return i!==e.space&&(o=nr(o,e.space)),e.coords=o.coords,e}Xr.returns="color";function nr(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=r.inGamut;e=at(e),t=Fe.get(t);var n=t.from(e),i={space:t,coords:n,alpha:e.alpha};return a&&(i=Xr(i)),i}nr.returns="color";function vi(e){var t,r,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=a.precision,i=n===void 0?wr.precision:n,o=a.format,s=o===void 0?"default":o,l=a.inGamut,u=l===void 0?true:l,c=Ce(a,v),d;e=at(e);var g=s;s=(t=(r=e.space.getFormat(s))!==null&&r!==void 0?r:e.space.getFormat("default"))!==null&&t!==void 0?t:Fe.DEFAULT_FORMAT,u||(u=s.toGamut);var D=e.coords;if(D=D.map(function(B){return B||0}),u&&!sn(e)&&(D=Xr(ln(e),u===true?void 0:u).coords),s.type==="custom")if(c.precision=i,s.serialize)d=s.serialize(D,e.alpha,c);else throw new TypeError("format ".concat(g," can only be used to parse colors, not for serialization"));else {var C=s.name||"color";s.serializeCoords?D=s.serializeCoords(D,i):i!==null&&(D=D.map(function(B){return di(B,i)}));var R=_e(D);if(C==="color"){var I,P=s.id||((I=s.ids)===null||I===void 0?void 0:I[0])||e.space.id;R.unshift(P);}var M=e.alpha;i!==null&&(M=di(M,i));var q=e.alpha<1&&!s.noAlpha?"".concat(s.commas?",":" /"," ").concat(M):"";d="".concat(C,"(").concat(R.join(s.commas?", ":" ")).concat(q,")");}return d}var Fy=[[.6369580483012914,.14461690358620832,.1688809751641721],[.2627002120112671,.6779980715188708,.05930171646986196],[0,.028072693049087428,1.060985057710791]],Ry=[[1.716651187971268,-0.355670783776392,-0.25336628137366],[-0.666684351832489,1.616481236634939,.0157685458139111],[.017639857445311,-0.042770613257809,.942103121235474]],bi=new jt({id:"rec2020-linear",name:"Linear REC.2020",white:"D65",toXYZ_M:Fy,fromXYZ_M:Ry,formats:{color:{}}}),yi=1.09929682680944,Cc=.018053968510807,Sc=new jt({id:"rec2020",name:"REC.2020",base:bi,toBase:function(t){return t.map(function(r){return r<Cc*4.5?r/4.5:Math.pow((r+yi-1)/yi,1/.45)})},fromBase:function(t){return t.map(function(r){return r>=Cc?yi*Math.pow(r,.45)-(yi-1):4.5*r})},formats:{color:{}}}),Iy=[[.4865709486482162,.26566769316909306,.1982172852343625],[.2289745640697488,.6917385218365064,.079286914093745],[0,.04511338185890264,1.043944368900976]],Ly=[[2.493496911941425,-0.9313836179191239,-0.40271078445071684],[-0.8294889695615747,1.7626640603183463,.023624685841943577],[.03584583024378447,-0.07617238926804182,.9568845240076872]],kc=new jt({id:"p3-linear",name:"Linear P3",white:"D65",toXYZ_M:Iy,fromXYZ_M:Ly}),Py=[[.41239079926595934,.357584339383878,.1804807884018343],[.21263900587151027,.715168678767756,.07219231536073371],[.01933081871559182,.11919477979462598,.9505321522496607]],My=[[3.2409699419045226,-1.537383177570094,-0.4986107602930034],[-0.9692436362808796,1.8759675015077202,.04155505740717559],[.05563007969699366,-0.20397695888897652,1.0569715142428786]],Tc=new jt({id:"srgb-linear",name:"Linear sRGB",white:"D65",toXYZ_M:Py,fromXYZ_M:My,formats:{color:{}}}),Fc={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]},Rc=Array(3).fill("<percentage> | <number>[0, 255]"),Ic=Array(3).fill("<number>[0, 255]"),un=new jt({id:"srgb",name:"sRGB",base:Tc,fromBase:function(t){return t.map(function(r){var a=r<0?-1:1,n=r*a;return n>.0031308?a*(1.055*Math.pow(n,1/2.4)-.055):12.92*r})},toBase:function(t){return t.map(function(r){var a=r<0?-1:1,n=r*a;return n<.04045?r/12.92:a*Math.pow((n+.055)/1.055,2.4)})},formats:{rgb:{coords:Rc},rgb_number:{name:"rgb",commas:true,coords:Ic,noAlpha:true},color:{},rgba:{coords:Rc,commas:true,lastAlpha:true},rgba_number:{name:"rgba",commas:true,coords:Ic},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(a){r.push(parseInt(a,16)/255);}),{spaceId:"srgb",coords:r.slice(0,3),alpha:r.slice(3)[0]}},serialize:function(t,r){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=a.collapse,i=n===void 0?true:n;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=Fc.black,r.alpha=0):r.coords=Fc[t],r.coords)return r}}}}),Lc=new jt({id:"p3",name:"P3",base:kc,fromBase:un.fromBase,toBase:un.toBase,formats:{color:{id:"display-p3"}}});if(wr.display_space=un,typeof CSS<"u"&&(ce=CSS)!==null&&ce!==void 0&&ce.supports)for(var Qo=0,Pc=[Ut,Sc,Lc];Qo<Pc.length;Qo++){var es=Pc[Qo],Oy=es.getMinCoords(),Ny={space:es,coords:Oy,alpha:1},qy=vi(Ny);if(CSS.supports("color",qy)){wr.display_space=es;break}}function By(e){var t,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=r.space,n=a===void 0?wr.display_space:a,i=Ce(r,b),o=vi(e,i);if(typeof CSS>"u"||(t=CSS)!==null&&t!==void 0&&t.supports("color",o)||!wr.display_space)o=new String(o),o.color=e;else {var s=nr(e,n);o=new String(vi(s,i)),o.color=s;}return o}function Mc(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"lab";r=Fe.get(r);var a=r.from(e),n=r.from(t);return Math.sqrt(a.reduce(function(i,o,s){var l=n[s];return isNaN(o)||isNaN(l)?i:i+Math.pow(l-o,2)},0))}function Hy(e,t){return e=at(e),t=at(t),e.space===t.space&&e.alpha===t.alpha&&e.coords.every(function(r,a){return r===t.coords[a]})}function Yr(e){return ar(e,[rr,"y"])}function Oc(e,t){Ur(e,[rr,"y"],t);}function Vy(e){Object.defineProperty(e.prototype,"luminance",{get:function(){return Yr(this)},set:function(r){Oc(this,r);}});}var jy=Object.freeze({__proto__:null,getLuminance:Yr,setLuminance:Oc,register:Vy});function $y(e,t){e=at(e),t=at(t);var r=Math.max(Yr(e),0),a=Math.max(Yr(t),0);if(a>r){var n=[a,r];r=n[0],a=n[1];}return (r+.05)/(a+.05)}var zy=.56,Gy=.57,Wy=.62,Uy=.65,Nc=.022,Xy=1.414,Yy=.1,Ky=5e-4,Jy=1.14,qc=.027,Zy=1.14;function Bc(e){return e>=Nc?e:e+Math.pow(Nc-e,Xy)}function Ea(e){var t=e<0?-1:1,r=Math.abs(e);return t*Math.pow(r,2.4)}function Qy(e,t){t=at(t),e=at(e);var r,a,n,i,o,s;t=nr(t,"srgb");var l=le(t.coords,3);i=l[0],o=l[1],s=l[2];var u=Ea(i)*.2126729+Ea(o)*.7151522+Ea(s)*.072175;e=nr(e,"srgb");var c=le(e.coords,3);i=c[0],o=c[1],s=c[2];var d=Ea(i)*.2126729+Ea(o)*.7151522+Ea(s)*.072175,g=Bc(u),D=Bc(d),C=D>g;return Math.abs(D-g)<Ky?a=0:C?(r=Math.pow(D,zy)-Math.pow(g,Gy),a=r*Jy):(r=Math.pow(D,Uy)-Math.pow(g,Wy),a=r*Zy),Math.abs(a)<Yy?n=0:a>0?n=a-qc:n=a+qc,n*100}function e0(e,t){e=at(e),t=at(t);var r=Math.max(Yr(e),0),a=Math.max(Yr(t),0);if(a>r){var n=[a,r];r=n[0],a=n[1];}var i=r+a;return i===0?0:(r-a)/i}var t0=5e4;function r0(e,t){e=at(e),t=at(t);var r=Math.max(Yr(e),0),a=Math.max(Yr(t),0);if(a>r){var n=[a,r];r=n[0],a=n[1];}return a===0?t0:(r-a)/a}function a0(e,t){e=at(e),t=at(t);var r=ar(e,[Ut,"l"]),a=ar(t,[Ut,"l"]);return Math.abs(r-a)}var n0=216/24389,Hc=24/116,wi=24389/27,ts=pr.D65,rs=new Fe({id:"lab-d65",name:"Lab D65",coords:{l:{refRange:[0,100],name:"L"},a:{refRange:[-125,125]},b:{refRange:[-125,125]}},white:ts,base:rr,fromBase:function(t){var r=t.map(function(n,i){return n/ts[i]}),a=r.map(function(n){return n>n0?Math.cbrt(n):(wi*n+16)/116});return [116*a[1]-16,500*(a[0]-a[1]),200*(a[1]-a[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 a=[r[0]>Hc?Math.pow(r[0],3):(116*r[0]-16)/wi,t[0]>8?Math.pow((t[0]+16)/116,3):t[0]/wi,r[2]>Hc?Math.pow(r[2],3):(116*r[2]-16)/wi];return a.map(function(n,i){return n*ts[i]})},formats:{"lab-d65":{coords:["<number> | <percentage>","<number>","<number>"]}}}),as=Math.pow(5,.5)*.5+.5;function i0(e,t){e=at(e),t=at(t);var r=ar(e,[rs,"l"]),a=ar(t,[rs,"l"]),n=Math.abs(Math.pow(r,as)-Math.pow(a,as)),i=Math.pow(n,1/as)*Math.SQRT2-40;return i<7.5?0:i}var xi=Object.freeze({__proto__:null,contrastWCAG21:$y,contrastAPCA:Qy,contrastMichelson:e0,contrastWeber:r0,contrastLstar:a0,contrastDeltaPhi:i0});function o0(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};an(r)&&(r={algorithm:r});var a=r,n=a.algorithm,i=Ce(a,A);if(!n){var o=Object.keys(xi).map(function(l){return l.replace(/^contrast/,"")}).join(", ");throw new TypeError("contrast() function needs a contrast algorithm. Please specify one of: ".concat(o))}e=at(e),t=at(t);for(var s in xi)if("contrast"+n.toLowerCase()===s.toLowerCase())return xi[s](e,t,i);throw new TypeError("Unknown contrast algorithm: ".concat(n))}function Vc(e){var t=nn(e,rr),r=le(t,3),a=r[0],n=r[1],i=r[2],o=a+15*n+3*i;return [4*a/o,9*n/o]}function jc(e){var t=nn(e,rr),r=le(t,3),a=r[0],n=r[1],i=r[2],o=a+n+i;return [a/o,n/o]}function s0(e){Object.defineProperty(e.prototype,"uv",{get:function(){return Vc(this)}}),Object.defineProperty(e.prototype,"xy",{get:function(){return jc(this)}});}var l0=Object.freeze({__proto__:null,uv:Vc,xy:jc,register:s0});function u0(e,t){return Mc(e,t,"lab")}var c0=Math.PI,$c=c0/180;function d0(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=r.l,n=a===void 0?2:a,i=r.c,o=i===void 0?1:i,s=Ut.from(e),l=le(s,3),u=l[0],c=l[1],d=l[2],g=on.from(Ut,[u,c,d]),D=le(g,3),C=D[1],R=D[2],I=Ut.from(t),P=le(I,3),M=P[0],q=P[1],B=P[2],V=on.from(Ut,[M,q,B])[1];C<0&&(C=0),V<0&&(V=0);var X=u-M,Q=C-V,ne=c-q,he=d-B,ee=Math.pow(ne,2)+Math.pow(he,2)-Math.pow(Q,2),ue=.511;u>=16&&(ue=.040975*u/(1+.01765*u));var pe=.0638*C/(1+.0131*C)+.638,ge;Number.isNaN(R)&&(R=0),R>=164&&R<=345?ge=.56+Math.abs(.2*Math.cos((R+168)*$c)):ge=.36+Math.abs(.4*Math.cos((R+35)*$c));var Se=Math.pow(C,4),Oe=Math.sqrt(Se/(Se+1900)),xe=pe*(Oe*ge+1-Oe),Re=Math.pow(X/(n*ue),2);return Re+=Math.pow(Q/(o*pe),2),Re+=ee/Math.pow(xe,2),Math.sqrt(Re)}var zc=203,ns=new Fe({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:rr,fromBase:function(t){return t.map(function(r){return Math.max(r*zc,0)})},toBase:function(t){return t.map(function(r){return Math.max(r/zc,0)})}}),Di=1.15,_i=.66,Gc=2610/Math.pow(2,14),f0=Math.pow(2,14)/2610,Wc=3424/Math.pow(2,12),Uc=2413/Math.pow(2,7),Xc=2392/Math.pow(2,7),p0=1.7*2523/Math.pow(2,5),Yc=Math.pow(2,5)/(1.7*2523),Ai=-0.56,is=16295499532821565e-27,m0=[[.41478972,.579999,.014648],[-0.20151,1.120649,.0531008],[-0.0166008,.2648,.6684799]],h0=[[1.9242264357876067,-1.0047923125953657,.037651404030618],[.35031676209499907,.7264811939316552,-0.06538442294808501],[-0.09098281098284752,-0.3127282905230739,1.5227665613052603]],g0=[[.5,.5,0],[3.524,-4.066708,.542708],[.199076,1.096799,-1.295875]],v0=[[1,.1386050432715393,.05804731615611886],[.9999999999999999,-0.1386050432715393,-0.05804731615611886],[.9999999999999998,-0.09601924202631895,-0.8118918960560388]],Kc=new Fe({id:"jzazbz",name:"Jzazbz",coords:{jz:{refRange:[0,1],name:"Jz"},az:{refRange:[-0.5,.5]},bz:{refRange:[-0.5,.5]}},base:ns,fromBase:function(t){var r=le(t,3),a=r[0],n=r[1],i=r[2],o=Di*a-(Di-1)*i,s=_i*n-(_i-1)*a,l=xt(m0,[o,s,i]),u=l.map(function(I){var P=Wc+Uc*Math.pow(I/1e4,Gc),M=1+Xc*Math.pow(I/1e4,Gc);return Math.pow(P/M,p0)}),c=xt(g0,u),d=le(c,3),g=d[0],D=d[1],C=d[2],R=(1+Ai)*g/(1+Ai*g)-is;return [R,D,C]},toBase:function(t){var r=le(t,3),a=r[0],n=r[1],i=r[2],o=(a+is)/(1+Ai-Ai*(a+is)),s=xt(v0,[o,n,i]),l=s.map(function(I){var P=Wc-Math.pow(I,Yc),M=Xc*Math.pow(I,Yc)-Uc,q=1e4*Math.pow(P/M,f0);return q}),u=xt(h0,l),c=le(u,3),d=c[0],g=c[1],D=c[2],C=(d+(Di-1)*D)/Di,R=(g+(_i-1)*C)/_i;return [C,R,D]},formats:{color:{}}}),os=new Fe({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:Kc,fromBase:function(t){var r=le(t,3),a=r[0],n=r[1],i=r[2],o,s=2e-4;return Math.abs(n)<s&&Math.abs(i)<s?o=NaN:o=Math.atan2(i,n)*180/Math.PI,[a,Math.sqrt(Math.pow(n,2)+Math.pow(i,2)),hi(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 b0(e,t){var r=os.from(e),a=le(r,3),n=a[0],i=a[1],o=a[2],s=os.from(t),l=le(s,3),u=l[0],c=l[1],d=l[2],g=n-u,D=i-c;Number.isNaN(o)&&Number.isNaN(d)?(o=0,d=0):Number.isNaN(o)?o=d:Number.isNaN(d)&&(d=o);var C=o-d,R=2*Math.sqrt(i*c)*Math.sin(C/2*(Math.PI/180));return Math.sqrt(Math.pow(g,2)+Math.pow(D,2)+Math.pow(R,2))}var Jc=3424/4096,Zc=2413/128,Qc=2392/128,ed=2610/16384,y0=2523/32,w0=16384/2610,td=32/2523,x0=[[.3592,.6976,-0.0358],[-0.1922,1.1004,.0755],[.007,.0749,.8434]],D0=[[2048/4096,2048/4096,0],[6610/4096,-13613/4096,7003/4096],[17933/4096,-17390/4096,-543/4096]],_0=[[.9999888965628402,.008605050147287059,.11103437159861648],[1.00001110343716,-0.008605050147287059,-0.11103437159861648],[1.0000320633910054,.56004913547279,-0.3206339100541203]],A0=[[2.0701800566956137,-1.326456876103021,.20661600684785517],[.3649882500326575,.6804673628522352,-0.04542175307585323],[-0.04959554223893211,-0.04942116118675749,1.1879959417328034]],ss=new Fe({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:ns,fromBase:function(t){var r=xt(x0,t);return E0(r)},toBase:function(t){var r=C0(t);return xt(A0,r)},formats:{color:{}}});function E0(e){var t=e.map(function(r){var a=Jc+Zc*Math.pow(r/1e4,ed),n=1+Qc*Math.pow(r/1e4,ed);return Math.pow(a/n,y0)});return xt(D0,t)}function C0(e){var t=xt(_0,e),r=t.map(function(a){var n=Math.max(Math.pow(a,td)-Jc,0),i=Zc-Qc*Math.pow(a,td);return 1e4*Math.pow(n/i,w0)});return r}function S0(e,t){var r=ss.from(e),a=le(r,3),n=a[0],i=a[1],o=a[2],s=ss.from(t),l=le(s,3),u=l[0],c=l[1],d=l[2];return 720*Math.sqrt(Math.pow(n-u,2)+.25*Math.pow(i-c,2)+Math.pow(o-d,2))}var k0=[[.8190224432164319,.3619062562801221,-0.12887378261216414],[.0329836671980271,.9292868468965546,.03614466816999844],[.048177199566046255,.26423952494422764,.6335478258136937]],T0=[[1.2268798733741557,-0.5578149965554813,.28139105017721583],[-0.04057576262431372,1.1122868293970594,-0.07171106666151701],[-0.07637294974672142,-0.4214933239627914,1.5869240244272418]],F0=[[.2104542553,.793617785,-0.0040720468],[1.9779984951,-2.428592205,.4505937099],[.0259040371,.7827717662,-0.808675766]],R0=[[.9999999984505198,.39633779217376786,.2158037580607588],[1.0000000088817609,-0.10556134232365635,-0.06385417477170591],[1.0000000546724108,-0.08948418209496575,-1.2914855378640917]],Ei=new Fe({id:"oklab",name:"OKLab",coords:{l:{refRange:[0,1],name:"L"},a:{refRange:[-0.4,.4]},b:{refRange:[-0.4,.4]}},white:"D65",base:rr,fromBase:function(t){var r=xt(k0,t),a=r.map(function(n){return Math.cbrt(n)});return xt(F0,a)},toBase:function(t){var r=xt(R0,t),a=r.map(function(n){return Math.pow(n,3)});return xt(T0,a)},formats:{oklab:{coords:["<number> | <percentage>","<number>","<number>"]}}});function I0(e,t){var r=Ei.from(e),a=le(r,3),n=a[0],i=a[1],o=a[2],s=Ei.from(t),l=le(s,3),u=l[0],c=l[1],d=l[2],g=n-u,D=i-c,C=o-d;return Math.sqrt(Math.pow(g,2)+Math.pow(D,2)+Math.pow(C,2))}var ls=Object.freeze({__proto__:null,deltaE76:u0,deltaECMC:d0,deltaE2000:Zo,deltaEJz:b0,deltaEITP:S0,deltaEOK:I0});function cn(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};an(r)&&(r={method:r});var a=r,n=a.method,i=n===void 0?wr.deltaE:n,o=Ce(a,k);e=at(e),t=at(t);for(var s in ls)if("deltae"+i.toLowerCase()===s.toLowerCase())return ls[s](e,t,o);throw new TypeError("Unknown deltaE method: ".concat(i))}function L0(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:.25,r=Fe.get("oklch","lch"),a=[r,"l"];return Ur(e,a,function(n){return n*(1+t)})}function P0(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:.25,r=Fe.get("oklch","lch"),a=[r,"l"];return Ur(e,a,function(n){return n*(1-t)})}var M0=Object.freeze({__proto__:null,lighten:L0,darken:P0});function rd(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:.5,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},n=[at(e),at(t)];if(e=n[0],t=n[1],Gr(r)==="object"){var i=[.5,r];r=i[0],a=i[1];}var o=a,s=o.space,l=o.outputSpace,u=o.premultiplied,c=dn(e,t,{space:s,outputSpace:l,premultiplied:u});return c(r)}function ad(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a;if(us(e)){a=e,r=t;var n=le(a.rangeArgs.colors,2);e=n[0],t=n[1];}var i=r,o=i.maxDeltaE,s=i.deltaEMethod,l=i.steps,u=l===void 0?2:l,c=i.maxSteps,d=c===void 0?1e3:c,g=Ce(i,x);if(!a){var D=[at(e),at(t)];e=D[0],t=D[1],a=dn(e,t,g);}var C=cn(e,t),R=o>0?Math.max(u,Math.ceil(C/o)+1):u,I=[];if(d!==void 0&&(R=Math.min(R,d)),R===1)I=[{p:.5,color:a(.5)}];else {var P=1/(R-1);I=Array.from({length:R},function(ne,he){var ee=he*P;return {p:ee,color:a(ee)}});}if(o>0)for(var M=I.reduce(function(ne,he,ee){if(ee===0)return 0;var ue=cn(he.color,I[ee-1].color,s);return Math.max(ne,ue)},0);M>o;){M=0;for(var q=1;q<I.length&&I.length<d;q++){var B=I[q-1],V=I[q],X=(V.p+B.p)/2,Q=a(X);M=Math.max(M,cn(Q,B.color),cn(Q,V.color)),I.splice(q,0,{p:X,color:a(X)}),q++;}}return I=I.map(function(ne){return ne.color}),I}function dn(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(us(e)){var a=e,n=t;return dn.apply(void 0,_e(a.rangeArgs.colors).concat([Te({},a.rangeArgs.options,n)]))}var i=r.space,o=r.outputSpace,s=r.progression,l=r.premultiplied;e=at(e),t=at(t),e=ln(e),t=ln(t);var u={colors:[e,t],options:r};if(i?i=Fe.get(i):i=Fe.registry[wr.interpolationSpace]||e.space,o=o?Fe.get(o):i,e=nr(e,i),t=nr(t,i),e=Xr(e),t=Xr(t),i.coords.h&&i.coords.h.type==="angle"){var c=r.hue=r.hue||"shorter",d=[i,"h"],g=[ar(e,d),ar(t,d)],D=g[0],C=g[1],R=ky(c,[D,C]),I=le(R,2);D=I[0],C=I[1],Ur(e,d,D),Ur(t,d,C);}return l&&(e.coords=e.coords.map(function(P){return P*e.alpha}),t.coords=t.coords.map(function(P){return P*t.alpha})),Object.assign(function(P){P=s?s(P):P;var M=e.coords.map(function(V,X){var Q=t.coords[X];return fi(V,Q,P)}),q=fi(e.alpha,t.alpha,P),B={space:i,coords:M,alpha:q};return l&&(B.coords=B.coords.map(function(V){return V/q})),o!==i&&(B=nr(B,o)),B},{rangeArgs:u})}function us(e){return Gr(e)==="function"&&!!e.rangeArgs}wr.interpolationSpace="lab";function O0(e){e.defineFunction("mix",rd,{returns:"color"}),e.defineFunction("range",dn,{returns:"function<color>"}),e.defineFunction("steps",ad,{returns:"array<color>"});}var N0=Object.freeze({__proto__:null,mix:rd,steps:ad,range:dn,isRange:us,register:O0}),nd=new Fe({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:un,fromBase:function(t){var r=Math.max.apply(Math,_e(t)),a=Math.min.apply(Math,_e(t)),n=le(t,3),i=n[0],o=n[1],s=n[2],l=NaN,u=0,c=(a+r)/2,d=r-a;if(d!==0){switch(u=c===0||c===1?0:(r-c)/Math.min(c,1-c),r){case i:l=(o-s)/d+(o<s?6:0);break;case o:l=(s-i)/d+2;break;case s:l=(i-o)/d+4;}l=l*60;}return [l,u*100,c*100]},toBase:function(t){var r=le(t,3),a=r[0],n=r[1],i=r[2];a=a%360,a<0&&(a+=360),n/=100,i/=100;function o(s){var l=(s+a/30)%12,u=n*Math.min(i,1-i);return i-u*Math.max(-1,Math.min(l-3,9-l,1))}return [o(0),o(8),o(4)]},formats:{hsl:{toGamut:true,coords:["<number> | <angle>","<percentage>","<percentage>"]},hsla:{coords:["<number> | <angle>","<percentage>","<percentage>"],commas:true,lastAlpha:true}}}),id=new Fe({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:nd,fromBase:function(t){var r=le(t,3),a=r[0],n=r[1],i=r[2];n/=100,i/=100;var o=i+n*Math.min(i,1-i);return [a,o===0?0:200*(1-i/o),100*o]},toBase:function(t){var r=le(t,3),a=r[0],n=r[1],i=r[2];n/=100,i/=100;var o=i*(1-n/2);return [a,o===0||o===1?0:(i-o)/Math.min(o,1-o)*100,o*100]},formats:{color:{toGamut:true}}}),q0=new Fe({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:id,fromBase:function(t){var r=le(t,3),a=r[0],n=r[1],i=r[2];return [a,i*(100-n)/100,100-i]},toBase:function(t){var r=le(t,3),a=r[0],n=r[1],i=r[2];n/=100,i/=100;var o=n+i;if(o>=1){var s=n/o;return [a,0,s*100]}var l=1-i,u=l===0?0:1-n/l;return [a,u*100,l*100]},formats:{hwb:{toGamut:true,coords:["<number> | <angle>","<percentage>","<percentage>"]}}}),B0=[[.5766690429101305,.1855582379065463,.1882286462349947],[.29734497525053605,.6273635662554661,.07529145849399788],[.02703136138641234,.07068885253582723,.9913375368376388]],H0=[[2.0415879038107465,-0.5650069742788596,-0.34473135077832956],[-0.9692436362808795,1.8759675015077202,.04155505740717557],[.013444280632031142,-0.11836239223101838,1.0151749943912054]],od=new jt({id:"a98rgb-linear",name:"Linear Adobe\xAE 98 RGB compatible",white:"D65",toXYZ_M:B0,fromXYZ_M:H0}),V0=new jt({id:"a98rgb",name:"Adobe\xAE 98 RGB compatible",base:od,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"}}}),j0=[[.7977604896723027,.13518583717574031,.0313493495815248],[.2880711282292934,.7118432178101014,8565396060525902e-20],[0,0,.8251046025104601]],$0=[[1.3457989731028281,-0.25558010007997534,-0.05110628506753401],[-0.5446224939028347,1.5082327413132781,.02053603239147973],[0,0,1.2119675456389454]],sd=new jt({id:"prophoto-linear",name:"Linear ProPhoto",white:"D50",base:Ko,toXYZ_M:j0,fromXYZ_M:$0}),z0=1/512,G0=16/512,W0=new jt({id:"prophoto",name:"ProPhoto",base:sd,toBase:function(t){return t.map(function(r){return r<G0?r/16:Math.pow(r,1.8)})},fromBase:function(t){return t.map(function(r){return r>=z0?Math.pow(r,1/1.8):16*r})},formats:{color:{id:"prophoto-rgb"}}}),U0=new Fe({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:Ei,fromBase:function(t){var r=le(t,3),a=r[0],n=r[1],i=r[2],o,s=2e-4;return Math.abs(n)<s&&Math.abs(i)<s?o=NaN:o=Math.atan2(i,n)*180/Math.PI,[a,Math.sqrt(Math.pow(n,2)+Math.pow(i,2)),hi(o)]},toBase:function(t){var r=le(t,3),a=r[0],n=r[1],i=r[2],o,s;return isNaN(i)?(o=0,s=0):(o=n*Math.cos(i*Math.PI/180),s=n*Math.sin(i*Math.PI/180)),[a,o,s]},formats:{oklch:{coords:["<number> | <percentage>","<number>","<number> | <angle>"]}}}),ld=203,ud=2610/Math.pow(2,14),X0=Math.pow(2,14)/2610,Y0=2523/Math.pow(2,5),cd=Math.pow(2,5)/2523,dd=3424/Math.pow(2,12),fd=2413/Math.pow(2,7),pd=2392/Math.pow(2,7),K0=new jt({id:"rec2100pq",name:"REC.2100-PQ",base:bi,toBase:function(t){return t.map(function(r){var a=Math.pow(Math.max(Math.pow(r,cd)-dd,0)/(fd-pd*Math.pow(r,cd)),X0);return a*1e4/ld})},fromBase:function(t){return t.map(function(r){var a=Math.max(r*ld/1e4,0),n=dd+fd*Math.pow(a,ud),i=1+pd*Math.pow(a,ud);return Math.pow(n/i,Y0)})},formats:{color:{id:"rec2100-pq"}}}),md=.17883277,hd=.28466892,gd=.55991073,cs=3.7743,J0=new jt({id:"rec2100hlg",cssid:"rec2100-hlg",name:"REC.2100-HLG",referred:"scene",base:bi,toBase:function(t){return t.map(function(r){return r<=.5?Math.pow(r,2)/3*cs:Math.exp((r-gd)/md+hd)/12*cs})},fromBase:function(t){return t.map(function(r){return r/=cs,r<=1/12?Math.sqrt(3*r):md*Math.log(12*r-hd)+gd})},formats:{color:{id:"rec2100-hlg"}}}),vd={};Wr.add("chromatic-adaptation-start",function(e){e.options.method&&(e.M=bd(e.W1,e.W2,e.options.method));}),Wr.add("chromatic-adaptation-end",function(e){e.M||(e.M=bd(e.W1,e.W2,e.options.method));});function Ci(e){var t=e.id;e.toCone_M;e.fromCone_M;vd[t]=arguments[0];}function bd(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"Bradford",a=vd[r],n=xt(a.toCone_M,e),i=le(n,3),o=i[0],s=i[1],l=i[2],u=xt(a.toCone_M,t),c=le(u,3),d=c[0],g=c[1],D=c[2],C=[[d/o,0,0],[0,g/s,0],[0,0,D/l]],R=xt(C,a.toCone_M),I=xt(a.fromCone_M,R);return I}Ci({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]]}),Ci({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]]}),Ci({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]]}),Ci({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(pr,{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]}),pr.ACES=[.32168/.33767,1,(1-.32168-.33767)/.33767];var Z0=[[.6624541811085053,.13400420645643313,.1561876870049078],[.27222871678091454,.6740817658111484,.05368951740793705],[-0.005574649490394108,.004060733528982826,1.0103391003129971]],Q0=[[1.6410233796943257,-0.32480329418479,-0.23642469523761225],[-0.6636628587229829,1.6153315916573379,.016756347685530137],[.011721894328375376,-0.008284441996237409,.9883948585390215]],yd=new jt({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:pr.ACES,toXYZ_M:Z0,fromXYZ_M:Q0,formats:{color:{}}}),Si=Math.pow(2,-16),ds=-0.35828683,ki=(Math.log2(65504)+9.72)/17.52,ew=new jt({id:"acescc",name:"ACEScc",coords:{r:{range:[ds,ki],name:"Red"},g:{range:[ds,ki],name:"Green"},b:{range:[ds,ki],name:"Blue"}},referred:"scene",base:yd,toBase:function(t){var r=-0.3013698630136986;return t.map(function(a){return a<=r?(Math.pow(2,a*17.52-9.72)-Si)*2:a<ki?Math.pow(2,a*17.52-9.72):65504})},fromBase:function(t){return t.map(function(r){return r<=0?(Math.log2(Si)+9.72)/17.52:r<Si?(Math.log2(Si+r*.5)+9.72)/17.52:(Math.log2(r)+9.72)/17.52})},formats:{color:{}}}),wd=Object.freeze({__proto__:null,XYZ_D65:rr,XYZ_D50:Ko,XYZ_ABS_D65:ns,Lab_D65:rs,Lab:Ut,LCH:on,sRGB_Linear:Tc,sRGB:un,HSL:nd,HWB:q0,HSV:id,P3_Linear:kc,P3:Lc,A98RGB_Linear:od,A98RGB:V0,ProPhoto_Linear:sd,ProPhoto:W0,REC_2020_Linear:bi,REC_2020:Sc,OKLab:Ei,OKLCH:U0,Jzazbz:Kc,JzCzHz:os,ICTCP:ss,REC_2100_PQ:K0,REC_2100_HLG:J0,ACEScg:yd,ACEScc:ew}),st=(ye=new WeakMap,(function(){function e(){var t=this;gt(this,e),lr(this,ye,void 0);for(var r,a=arguments.length,n=new Array(a),i=0;i<a;i++)n[i]=arguments[i];n.length===1&&(r=at(n[0]));var o,s,l;r?(o=r.space||r.spaceId,s=r.coords,l=r.alpha):(o=n[0],s=n[1],l=n[2]),kt(ye,this,Fe.get(o)),this.coords=s?s.slice():[0,0,0],this.alpha=l<1?l:1;for(var u=0;u<this.coords.length;u++)this.coords[u]==="NaN"&&(this.coords[u]=NaN);var c=function(D){Object.defineProperty(t,D,{get:function(){return t.get(D)},set:function(R){return t.set(D,R)}});};for(var d in zt(ye,this).coords)c(d);}return tt(e,[{key:"space",get:function(){return zt(ye,this)}},{key:"spaceId",get:function(){return zt(ye,this).id}},{key:"clone",value:function(){return new st(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,a=new Array(r),n=0;n<r;n++)a[n]=arguments[n];var i=By.apply(void 0,[this].concat(a));return i.color=new st(i.color),i}}],[{key:"get",value:function(r){if(r instanceof st)return r;for(var a=arguments.length,n=new Array(a>1?a-1:0),i=1;i<a;i++)n[i-1]=arguments[i];return Ie(st,[r].concat(n))}},{key:"defineFunction",value:function(r,a){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:a,i=n.instance,o=i===void 0?true:i,s=n.returns,l=function(){var c=a.apply(void 0,arguments);if(s==="color")c=st.get(c);else if(s==="function<color>"){var d=c;c=function(){var D=d.apply(void 0,arguments);return st.get(D)},Object.assign(c,d);}else s==="array<color>"&&(c=c.map(function(g){return st.get(g)}));return c};r in st||(st[r]=l),o&&(st.prototype[r]=function(){for(var u=arguments.length,c=new Array(u),d=0;d<u;d++)c[d]=arguments[d];return l.apply(void 0,[this].concat(c))});}},{key:"defineFunctions",value:function(r){for(var a in r)st.defineFunction(a,r[a],r[a]);}},{key:"extend",value:function(r){if(r.register)r.register(st);else for(var a in r)st.defineFunction(a,r[a]);}}])})());st.defineFunctions({get:ar,getAll:nn,set:Ur,setAll:Dc,to:nr,equals:Hy,inGamut:sn,toGamut:Xr,distance:Mc,toString:vi}),Object.assign(st,{util:_y,hooks:Wr,WHITES:pr,Space:Fe,spaces:Fe.registry,parse:xc,defaults:wr});for(var fs=0,xd=Object.keys(wd);fs<xd.length;fs++){var tw=xd[fs];Fe.register(wd[tw]);}for(var Dd in Fe.registry)ps(Dd,Fe.registry[Dd]);Wr.add("colorspace-init-end",function(e){var t;ps(e.id,e),(t=e.aliases)===null||t===void 0||t.forEach(function(r){ps(r,e);});});function ps(e,t){Object.keys(t.coords),Object.values(t.coords).map(function(a){return a.name});var r=e.replace(/-/g,"_");Object.defineProperty(st.prototype,r,{get:function(){var n=this,i=this.getAll(e);return typeof Proxy>"u"?i:new Proxy(i,{has:function(s,l){try{return Fe.resolveCoord([t,l]),!0}catch{}return Reflect.has(s,l)},get:function(s,l,u){if(l&&ae(l)!=="symbol"&&!(l in s)){var c=Fe.resolveCoord([t,l]),d=c.index;if(d>=0)return s[d]}return Reflect.get(s,l,u)},set:function(s,l,u,c){if(l&&ae(l)!=="symbol"&&!(l in s)||l>=0){var d=Fe.resolveCoord([t,l]),g=d.index;if(g>=0)return s[g]=u,n.setAll(e,s),true}return Reflect.set(s,l,u,c)}})},set:function(n){this.setAll(e,n);},configurable:true,enumerable:true});}st.extend(ls),st.extend({deltaE:cn}),st.extend(M0),st.extend({contrast:o0}),st.extend(l0),st.extend(jy),st.extend(N0),st.extend(xi);var _d=br(Uu());zr.default.templateSettings.strip=false,m._memoizedFns=[];function rw(e){var t=(0, hc.default)(e);return m._memoizedFns.push(t),t}var ut=rw,aw=ut(function(e){return e!=null&&e.createElement?e.createElement("A").localName==="A":false}),fn=aw;function ms(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!t)return "";var a=t.getRootNode&&t.getRootNode()||h;if(a.nodeType!==11)return e(t,r,a);for(var n=[];a.nodeType===11;){if(!a.host)return "";n.unshift({elm:t,doc:a}),t=a.host,a=t.getRootNode();}return n.unshift({elm:t,doc:a}),n.map(function(i){return e(i.elm,r,i.doc)})}var nw=["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"],iw=31,ow=/([\\"])/g,sw=/(\r\n|\r|\n)/g;function hs(e){return e.replace(ow,"\\$1").replace(sw,"\\a ")}function Ad(e,t){var r=t.name,a;if(r.indexOf("href")!==-1||r.indexOf("src")!==-1){var n=fc(e.getAttribute(r));n?a=vt(t.name)+'$="'+hs(n)+'"':a=vt(t.name)+'="'+hs(e.getAttribute(r))+'"';}else a=vt(r)+'="'+hs(t.value)+'"';return a}function gs(e,t){return e.count<t.count?-1:e.count===t.count?0:1}function Ed(e){return !nw.includes(e.name)&&e.name.indexOf(":")===-1&&(!e.value||e.value.length<iw)}function Ti(e){var t={classes:{},tags:{},attributes:{}};e=Array.isArray(e)?e:[e];for(var r=e.slice(),a=[],n=function(){var o=r.pop(),s=o.actualNode;if(s.querySelectorAll){var l=s.nodeName;t.tags[l]?t.tags[l]++:t.tags[l]=1,s.classList&&Array.from(s.classList).forEach(function(u){var c=vt(u);t.classes[c]?t.classes[c]++:t.classes[c]=1;}),s.hasAttributes()&&Array.from(rn(s)).filter(Ed).forEach(function(u){var c=Ad(s,u);c&&(t.attributes[c]?t.attributes[c]++:t.attributes[c]=1);});}for(o.children.length&&(a.push(r),r=o.children.slice());!r.length&&a.length;)r=a.pop();};r.length;)n();return t}function lw(e,t){var r=[],a=t.classes,n=t.tags;return e.classList&&Array.from(e.classList).forEach(function(i){var o=vt(i);a[o]<n[e.nodeName]&&r.push({name:o,count:a[o],species:"class"});}),r.sort(gs)}function uw(e,t){var r=e.parentNode&&Array.from(e.parentNode.children||"")||[],a=r.find(function(i){return i!==e&&_a(i,t)});if(a){var n=1+r.indexOf(e);return ":nth-child("+n+")"}else return ""}function cw(e){if(e.getAttribute("id")){var t=e.getRootNode&&e.getRootNode()||h,r="#"+vt(e.getAttribute("id")||"");if(!r.match(/player_uid_/)&&t.querySelectorAll(r).length===1)return r}}function Cd(e){var t=fn(h);return vt(t?e.localName:e.nodeName.toLowerCase())}function dw(e,t){var r=[],a=t.attributes,n=t.tags;return e.hasAttributes()&&Array.from(rn(e)).filter(Ed).forEach(function(i){var o=Ad(e,i);o&&a[o]<n[e.nodeName]&&r.push({name:o,count:a[o],species:"attribute"});}),r.sort(gs)}function fw(e,t){var r="",a,n=lw(e,t),i=dw(e,t);return n.length&&n[0].count===1?a=[n[0]]:i.length&&i[0].count===1?(a=[i[0]],r=Cd(e)):(a=n.concat(i),a.sort(gs),a=a.slice(0,3),a.some(function(o){return o.species==="class"})?a.sort(function(o,s){return o.species!==s.species&&o.species==="class"?-1:o.species===s.species?0:1}):r=Cd(e)),r+=a.reduce(function(o,s){switch(s.species){case "class":return o+"."+s.name;case "attribute":return o+"["+s.name+"]"}return o},"")}function pw(e,t,r){if(!m._selectorData)throw new Error("Expect axe._selectorData to be set up");var a=t.toRoot,n=a===void 0?false:a,i,o;do{var s=cw(e);s||(s=fw(e,m._selectorData),s+=uw(e,s)),i?i=s+" > "+i:i=s,!o||o.length>He.selectorSimilarFilterLimit?o=hw(r,i):o=o.filter(function(l){return _a(l,i)}),e=e.parentElement;}while((o.length>1||n)&&e&&e.nodeType!==11);return o.length===1?i:i.indexOf(" > ")!==-1?":root"+i.substring(i.indexOf(" > ")):":root"}function mw(e,t){return ms(pw,e,t)}var vs=ut(mw),hw=ut(function(e,t){return Array.from(e.querySelectorAll(t))});function Sd(e){var t=e.nodeName.toLowerCase(),r=e.parentElement,a=e.parentNode,n="";if(t!=="head"&&t!=="body"&&a?.children.length>1){var i=Array.prototype.indexOf.call(a.children,e)+1;n=":nth-child(".concat(i,")");}return r?Sd(r)+" > "+t+n:t+n}function Fi(e,t){return ms(Sd,e,t)}function kd(e,t){var r,a;if(!e)return [];if(!t&&e.nodeType===9)return t=[{str:"html"}],t;if(t=t||[],e.parentNode&&e.parentNode!==e&&(t=kd(e.parentNode,t)),e.previousSibling){a=1,r=e.previousSibling;do r.nodeType===1&&r.nodeName===e.nodeName&&a++,r=r.previousSibling;while(r);a===1&&(a=null);}else if(e.nextSibling){r=e.nextSibling;do r.nodeType===1&&r.nodeName===e.nodeName?(a=1,r=null):(a=null,r=r.previousSibling);while(r)}if(e.nodeType===1){var n={};n.str=e.nodeName.toLowerCase();var i=e.getAttribute&&vt(e.getAttribute("id"));i&&e.ownerDocument.querySelectorAll("#"+i).length===1&&(n.id=e.getAttribute("id")),a>1&&(n.count=a),t.push(n);}return t}function gw(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 vw(e){var t=kd(e);return gw(t)}var Td=vw,pn={},bw={set:function(t,r){yw(t),pn[t]=r;},get:function(t,r){if(ww(r),t in pn)return pn[t];if(typeof r=="function"){var a=r();return Qe(a!==void 0,"Cache creator function should not return undefined"),this.set(t,a),pn[t]}},clear:function(){pn={};}};function yw(e){Qe(typeof e=="string","key must be a string, "+ae(e)+" given"),Qe(e!=="","key must not be empty");}function ww(e){Qe(typeof e=="function"||typeof e>"u","creator must be a function or undefined, "+ae(e)+" given");}var Be=bw;function xw(e,t){var r=t||e;return Be.get("nodeMap")?Be.get("nodeMap").get(r):null}var je=xw;function Fd(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.maxLength,a=r===void 0?300:r,n=t.attrLimit,i=n===void 0?20:n;if(!e)return "";if(e.nodeType!==1){var o,s=(o=e.nodeValue)!==null&&o!==void 0?o:"";return bs(s,a)}var l=Dw(e);return l.length>a?_w(e,{maxLength:a,attrLimit:i}):l}function Dw(e){var t=e.outerHTML;return !t&&typeof p.XMLSerializer=="function"&&(t=new p.XMLSerializer().serializeToString(e)),t||""}function _w(e,t){var r=t.maxLength,a=t.attrLimit,n=fn(e.ownerDocument||h)?e.nodeName:e.nodeName.toLowerCase(),i=Array.from(rn(e)).map(function(C){var R=C.name,I=C.value;return {name:R,value:I}}),o=i.reduce(function(C,R){var I=R.name,P=R.value;return C+I.length+P.length+4},0);2+n.length+o>r&&i.forEach(function(C){C.name=bs(C.name,a),C.value=bs(C.value,a);});var s="<".concat(n),l=">",u=" ...>",c=Ge(i),d;try{for(c.s();!(d=c.n()).done;){var g=d.value,D=" ".concat(g.name,'="').concat(g.value,'"');if(s.length+D.length>r-u.length){l=u;continue}s+=D;}}catch(C){c.e(C);}finally{c.f();}return s+l}function bs(e,t){return e.length<=t?e:e.substring(0,t)+"..."}var Rd="DqElm.RunOptions",pa=ut(function(t,r,a){var n,i;if(r??(r=null),a??(a={}),!r){var o;r=(o=Be.get(Rd))!==null&&o!==void 0?o:{};}if(this.spec=a,t instanceof Ft?(this._virtualNode=t,this._element=t.actualNode):(this._element=t,this._virtualNode=je(t)),this.fromFrame=((n=this.spec.selector)===null||n===void 0?void 0:n.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:Fd(this._element);}return this});pa.prototype={get selector(){return this.spec.selector||[vs(this.element,this._options)]},get ancestry(){return this.spec.ancestry||[Fi(this.element)]},get xpath(){return this.spec.xpath||[Td(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}},pa.fromFrame=function(t,r,a){var n=pa.mergeSpecs(t,a);return new pa(a.element,r,n)},pa.mergeSpecs=function(t,r){return Te({},t,{selector:[].concat(_e(r.selector),_e(t.selector)),ancestry:[].concat(_e(r.ancestry),_e(t.ancestry)),xpath:[].concat(_e(r.xpath),_e(t.xpath)),nodeIndexes:[].concat(_e(r.nodeIndexes),_e(t.nodeIndexes)),fromFrame:true})},pa.setRunOptions=function(t){var r=t.elementRef,a=t.absolutePaths;Be.set(Rd,{elementRef:r,absolutePaths:a});};var ir=pa;function Aw(e,t,r,a){return {isAsync:false,async:function(){return this.isAsync=true,function(i){i instanceof Error?a(i):(e.result=i,r(e));}},data:function(i){e.data=i;},relatedNodes:function(i){p.Node&&(i instanceof p.Node||i instanceof Ft?i=[i]:i=dc(i),e.relatedNodes=[],i.forEach(function(o){if(o instanceof Ft&&(o=o.actualNode),o instanceof p.Node){var s=new ir(o);e.relatedNodes.push(s);}}));}}}var ys=Aw;function Ir(e){return ws(e,new Map)}function ws(e,t){var r,a;if(e===null||ae(e)!=="object"||(r=p)!==null&&r!==void 0&&r.Node&&e instanceof p.Node||(a=p)!==null&&a!==void 0&&a.HTMLCollection&&e instanceof p.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 n=[];return t.set(e,n),e.forEach(function(s){n.push(ws(s,t));}),n}var i={};t.set(e,i);for(var o in e)i[o]=ws(e[o],t);return i}var mn=new mc.CssSelectorParser;mn.registerSelectorPseudos("not"),mn.registerSelectorPseudos("is"),mn.registerNestingOperators(">"),mn.registerAttrEqualityMods("^","$","*","~");var Id=mn;function xs(e,t){var r=Ri(t);return r.some(function(a){return Ca(e,a)})}function Ew(e,t){return e.props.nodeType===1&&(t.tag==="*"||e.props.nodeName===t.tag)}function Cw(e,t){return !t.classes||t.classes.every(function(r){return e.hasClass(r.value)})}function Sw(e,t){return !t.attributes||t.attributes.every(function(r){var a=e.attr(r.key);return a!==null&&r.test(a)})}function kw(e,t){return !t.id||e.props.id===t.id}function Tw(e,t){return !!(!t.pseudos||t.pseudos.every(function(r){if(r.name==="not")return !r.expressions.some(function(a){return Ca(e,a)});if(r.name==="is")return r.expressions.some(function(a){return Ca(e,a)});throw new Error("the pseudo selector "+r.name+" has not yet been implemented")}))}function Ld(e,t){return Ew(e,t)&&Cw(e,t)&&Sw(e,t)&&kw(e,t)&&Tw(e,t)}var hn=(function(){var e=/(?=[\-\[\]{}()*+?.\\\^$|,#\s])/g,t="\\";return function(r){return r.replace(e,t)}})(),Ds=/\\/g;function Fw(e){if(e)return e.map(function(t){var r=t.name.replace(Ds,""),a=(t.value||"").replace(Ds,""),n,i;switch(t.operator){case "^=":i=new RegExp("^"+hn(a));break;case "$=":i=new RegExp(hn(a)+"$");break;case "~=":i=new RegExp("(^|\\s)"+hn(a)+"(\\s|$)");break;case "|=":i=new RegExp("^"+hn(a)+"(-|$)");break;case "=":n=function(s){return a===s};break;case "*=":n=function(s){return s&&s.includes(a)};break;case "!=":n=function(s){return a!==s};break;default:n=function(s){return s!==null};}return a===""&&/^[*$^]=$/.test(t.operator)&&(n=function(){return false}),n||(n=function(s){return s&&i.test(s)}),{key:r,value:a,type:typeof t.value>"u"?"attrExist":"attrValue",test:n}})}function Rw(e){if(e)return e.map(function(t){return t=t.replace(Ds,""),{value:t,regexp:new RegExp("(^|\\s)"+hn(t)+"(\\s|$)")}})}function Iw(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=Pd(r)),{name:t.name,expressions:r,value:t.value}})}function Pd(e){return e.map(function(t){for(var r=[],a=t.rule;a;)r.push({tag:a.tagName?a.tagName.toLowerCase():"*",combinator:a.nestingOperator?a.nestingOperator:" ",id:a.id,attributes:Fw(a.attrs),classes:Rw(a.classNames),pseudos:Iw(a.pseudos)}),a=a.rule;return r})}function Ri(e){var t=Id.parse(e);return t=t.selectors?t.selectors:[t],Pd(t)}function Md(e,t,r,a){if(!e)return false;for(var n=Array.isArray(t),i=n?t[r]:t,o=Ld(e,i);!o&&a&&e.parent;)e=e.parent,o=Ld(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&&Md(e.parent,t,r-1,i.combinator===" ");}return o}function Ca(e,t,r){return Md(e,t,t.length-1,r)}function Lw(e,t){for(;e;){if(xs(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 Xt=Lw;function Ii(){}function _s(e){if(typeof e!="function")throw new TypeError("Queue methods require functions as arguments")}function Pw(){var e=[],t=0,r=0,a=Ii,n=false,i,o=function(D){i=D,setTimeout(function(){i!=null&&fa("Uncaught error (of queue)",i);},1);},s=o;function l(g){return function(D){e[g]=D,r-=1,!r&&a!==Ii&&(n=true,a(e));}}function u(g){return a=Ii,s(g),e}function c(){for(var g=e.length;t<g;t++){var D=e[t];try{D.call(null,l(t),u);}catch(C){u(C);}}}var d={defer:function(D){if(ae(D)==="object"&&D.then&&D.catch){var C=D;D=function(I,P){C.then(I).catch(P);};}if(_s(D),i===void 0){if(n)throw new Error("Queue already completed");return e.push(D),++r,c(),d}},then:function(D){if(_s(D),a!==Ii)throw new Error("queue `then` already set");return i||(a=D,r||(n=true,a(e))),d},catch:function(D){if(_s(D),s!==o)throw new Error("queue `catch` already set");return i?(D(i),i=null):s=D,d},abort:u};return d}var xr=Pw,Sa,ka,As=p.crypto||p.msCrypto;if(!ka&&As&&As.getRandomValues){var Od=new Uint8Array(16);ka=function(){return As.getRandomValues(Od),Od};}if(!ka){var Nd=new Array(16);ka=function(){for(var t=0,r;t<16;t++)(t&3)===0&&(r=Math.random()*4294967296),Nd[t]=r>>>((t&3)<<3)&255;return Nd};}for(var qd=typeof p.Buffer=="function"?p.Buffer:Array,Es=[],Bd={},Ta=0;Ta<256;Ta++)Es[Ta]=(Ta+256).toString(16).substr(1),Bd[Es[Ta]]=Ta;function Mw(e,t,r){var a=t&&r||0,n=0;for(t=t||[],e.toLowerCase().replace(/[0-9a-f]{2}/g,function(i){n<16&&(t[a+n++]=Bd[i]);});n<16;)t[a+n++]=0;return t}function Cs(e,t){var r=t||0,a=Es;return a[e[r++]]+a[e[r++]]+a[e[r++]]+a[e[r++]]+"-"+a[e[r++]]+a[e[r++]]+"-"+a[e[r++]]+a[e[r++]]+"-"+a[e[r++]]+a[e[r++]]+"-"+a[e[r++]]+a[e[r++]]+a[e[r++]]+a[e[r++]]+a[e[r++]]+a[e[r++]]}var Kr=ka(),Ow=[Kr[0]|1,Kr[1],Kr[2],Kr[3],Kr[4],Kr[5]],Hd=(Kr[6]<<8|Kr[7])&16383,Ss=0,ks=0;function Vd(e,t,r){var a=t&&r||0,n=t||[];e=e||{};var i=e.clockseq!=null?e.clockseq:Hd,o=e.msecs!=null?e.msecs:new Date().getTime(),s=e.nsecs!=null?e.nsecs:ks+1,l=o-Ss+(s-ks)/1e4;if(l<0&&e.clockseq==null&&(i=i+1&16383),(l<0||o>Ss)&&e.nsecs==null&&(s=0),s>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");Ss=o,ks=s,Hd=i,o+=122192928e5;var u=((o&268435455)*1e4+s)%4294967296;n[a++]=u>>>24&255,n[a++]=u>>>16&255,n[a++]=u>>>8&255,n[a++]=u&255;var c=o/4294967296*1e4&268435455;n[a++]=c>>>8&255,n[a++]=c&255,n[a++]=c>>>24&15|16,n[a++]=c>>>16&255,n[a++]=i>>>8|128,n[a++]=i&255;for(var d=e.node||Ow,g=0;g<6;g++)n[a+g]=d[g];return t||Cs(n)}function ma(e,t,r){var a=t&&r||0;typeof e=="string"&&(t=e=="binary"?new qd(16):null,e=null),e=e||{};var n=e.random||(e.rng||ka)();if(n[6]=n[6]&15|64,n[8]=n[8]&63|128,t)for(var i=0;i<16;i++)t[a+i]=n[i];return t||Cs(n)}Sa=ma,Sa.v1=Vd,Sa.v4=ma,Sa.parse=Mw,Sa.unparse=Cs,Sa.BufferClass=qd,m._uuid=Vd();var Nw=ma,qw=Object.freeze(["EvalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"]);function Bw(e){var t=e.topic,r=e.channelId,a=e.message,n=e.messageId,i=e.keepalive,o={channelId:r,topic:t,messageId:n,keepalive:!!i,source:jd()};return a instanceof Error?o.error={name:a.name,message:a.message,stack:a.stack}:o.payload=a,JSON.stringify(o)}function Hw(e){var t;try{t=JSON.parse(e);}catch{return}if(Vw(t)){var r=t,a=r.topic,n=r.channelId,i=r.messageId,o=r.keepalive,s=ae(t.error)==="object"?jw(t.error):t.payload;return {topic:a,message:s,messageId:i,channelId:n,keepalive:!!o}}}function Vw(e){return e!==null&&ae(e)==="object"&&typeof e.channelId=="string"&&e.source===jd()}function jw(e){var t=e.message||"Unknown error occurred",r=qw.includes(e.name)?e.name:"Error",a=p[r]||Error;return e.stack&&(t+=`
365
- `+e.stack.replace(e.message,"")),new a(t)}function jd(){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 Ts(e){zd(e),Qe(p.parent===e,"Source of the response must be the parent window.");}function $d(e){zd(e),Qe(e.parent===p,"Respondable target must be a frame in the current window");}function zd(e){Qe(p!==e,"Messages can not be sent to the same window.");}var gn={};function $w(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:true;Qe(!Object.prototype.hasOwnProperty.call(gn,e),"A replyHandler already exists for this message channel."),gn[e]={replyHandler:t,sendToParent:r};}function zw(e){return Object.prototype.hasOwnProperty.call(gn,e)?gn[e]:void 0}function Gw(e){delete gn[e];}var Li=[];function Fs(){var e="".concat(ma(),":").concat(ma());return Li.includes(e)?Fs():(Li.push(e),e)}function Ww(e){return Li.includes(e)?false:(Li.push(e),true)}function Rs(e,t,r,a){if(r?Ts(e):$d(e),t.message instanceof Error&&!r)return m.log(t.message),false;var n=Bw(Te({messageId:Fs()},t)),i=m._audit.allowedOrigins;return !i||!i.length?false:(typeof a=="function"&&$w(t.channelId,a,r),i.forEach(function(o){try{e.postMessage(n,o);}catch(s){throw s instanceof e.DOMException?new Error('allowedOrigins value "'.concat(o,'" is not a valid origin')):s}}),true)}function Uw(e,t,r){if(!e.parent!==p)return m.log(t);try{Rs(e,{topic:null,channelId:r,message:t,messageId:Fs(),keepalive:!0},!0);}catch(a){return m.log(a)}}function Gd(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:true;return function(n,i,o){var s={channelId:t,message:n,keepalive:i};Rs(e,s,r,o);}}function Xw(e){var t=m._audit.allowedOrigins;return t&&t.includes("*")||t.includes(e)}function Yw(e,t){var r=e.origin,a=e.data,n=e.source;try{var i=Hw(a)||{},o=i.channelId,s=i.message,l=i.messageId;if(!Xw(r)||!Ww(l))return;if(s instanceof Error&&n.parent!==p)return m.log(s),!1;try{if(i.topic){var u=Gd(n,o);Ts(n),t(i,u);}else Kw(n,i);}catch(c){Uw(n,c,o);}}catch(c){return m.log(c),false}}function Kw(e,t){var r=t.channelId,a=t.message,n=t.keepalive,i=zw(r)||{},o=i.replyHandler,s=i.sendToParent;if(o){s?Ts(e):$d(e);var l=Gd(e,r,s);!n&&r&&Gw(r);try{o(a,n,l);}catch(u){m.log(u),l(u,n);}}}var Jw={open:function(t){if(typeof p.addEventListener=="function"){var r=function(n){Yw(n,t);};return p.addEventListener("message",r,false),function(){p.removeEventListener("message",r,false);}}},post:function(t,r,a){return typeof p.addEventListener!="function"?false:Rs(t,r,false,a)}};function Wd(e){e.updateMessenger(Jw);}var Pi,Ud,Mi={};function hr(e,t,r,a,n){var i={topic:t,message:r,channelId:"".concat(ma(),":").concat(ma()),keepalive:a};return Ud(e,i,n)}function Zw(e,t){var r=e.topic,a=e.message,n=e.keepalive,i=Object.prototype.hasOwnProperty.call(Mi,r)?Mi[r]:void 0;if(i)try{i(a,n,t);}catch(o){m.log(o),t(o,n);}}hr.updateMessenger=function(t){var r=t.open,a=t.post;Qe(typeof r=="function","open callback must be a function"),Qe(typeof a=="function","post callback must be a function"),Pi&&Pi();var n=r(Zw);n?(Qe(typeof n=="function","open callback must return a cleanup function"),Pi=n):Pi=null,Ud=a;},hr.subscribe=function(t,r){Qe(typeof r=="function","Subscriber callback must be a function"),Qe(!Object.prototype.hasOwnProperty.call(Mi,t),"Topic ".concat(t," is already registered to.")),Mi[t]=r;},hr.isInFrame=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:p;return !!t.frameElement},Wd(hr);function Xd(e,t,r,a){var n,i,o=e.contentWindow,s=(n=(i=t.options)===null||i===void 0?void 0:i.pingWaitTime)!==null&&n!==void 0?n:500;if(!o){fa("Frame does not have a content window",e),r(null);return}if(s===0){Yd(e,t,r,a);return}var l=setTimeout(function(){l=setTimeout(function(){t.debug?a(Kd("No response from frame",e)):r(null);},0);},s);hr(o,"axe.ping",null,void 0,function(){clearTimeout(l),Yd(e,t,r,a);});}function Yd(e,t,r,a){var n,i,o=(n=(i=t.options)===null||i===void 0?void 0:i.frameWaitTime)!==null&&n!==void 0?n:6e4,s=e.contentWindow,l=setTimeout(function(){a(Kd("Axe in frame timed out",e));},o);hr(s,"axe.start",t,void 0,function(u){clearTimeout(l),u instanceof Error?a(u):r(u);});}function Kd(e,t){var r;return m._tree&&(r=vs(t)),new Error(e+": "+(r||t))}var vn=null,bn={update:function(t){Qe(ae(t)==="object","serializer must be an object"),vn=t;},toSpec:function(t){return bn.dqElmToSpec(new ir(t))},dqElmToSpec:function(t,r){var a;return t instanceof ir?(r&&(t=Qw(t,r)),typeof((a=vn)===null||a===void 0?void 0:a.toSpec)=="function"?vn.toSpec(t):t.toJSON()):t},mergeSpecs:function(t,r){var a;return typeof((a=vn)===null||a===void 0?void 0:a.mergeSpecs)=="function"?vn.mergeSpecs(t,r):ir.mergeSpecs(t,r)},mapRawResults:function(t){return t.map(function(r){return Te({},r,{nodes:bn.mapRawNodeResults(r.nodes)})})},mapRawNodeResults:function(t){return t?.map(function(r){var a=r.node,n=Ce(r,_);n.node=bn.dqElmToSpec(a);for(var i=0,o=["any","all","none"];i<o.length;i++){var s=o[i];n[s]=n[s].map(function(l){var u=l.relatedNodes,c=Ce(l,T);return c.relatedNodes=u.map(bn.dqElmToSpec),c});}return n})}},or=bn;function Qw(e,t){var r=e.fromFrame,a=t.ancestry,n=t.xpath,i=t.selectors!==false||r;return e=new ir(e.element,t,{source:e.source,nodeIndexes:e.nodeIndexes,selector:i?e.selector:[":root"],ancestry:a?e.ancestry:[":root"],xpath:n?e.xpath:"/"}),e.fromFrame=r,e}function ex(e){var t=[];return t.concat(e.any||[]).concat(e.all||[]).concat(e.none||[])}var Oi=ex;function tx(e,t,r){if(Array.isArray(e))return e.find(function(a){return a!==null&&ae(a)==="object"&&Object.hasOwn(a,t)&&a[t]===r})}var yn=tx;function rx(e,t,r){e.forEach(function(a){a.node=or.mergeSpecs(a.node,r);var n=Oi(a);n.forEach(function(i){i.relatedNodes=i.relatedNodes.map(function(o){return or.mergeSpecs(o,r)});});});}function ax(e,t){for(var r=t[0].node,a,n=0;n<e.length;n++){a=e[n].node;var i=Jd(a.nodeIndexes,r.nodeIndexes);if(i>0||i===0&&r.selector.length<a.selector.length){e.splice.apply(e,[n,0].concat(_e(t)));return}}e.push.apply(e,_e(t));}function nx(e){return !e||!e.results?null:Array.isArray(e.results)?e.results.length?e.results:null:[e.results]}function ix(e,t){var r=[];return e.forEach(function(a){var n=nx(a);if(!(!n||!n.length)){var i=ox(a);n.forEach(function(o){o.nodes&&i&&rx(o.nodes,t,i);var s=yn(r,"id",o.id);if(!s)r.push(o);else if(o.nodes.length&&ax(s.nodes,o.nodes),o.error){var l;(l=s.error)!==null&&l!==void 0||(s.error=o.error);}});}}),r.forEach(function(a){a.nodes&&a.nodes.sort(function(n,i){return Jd(n.node.nodeIndexes,i.node.nodeIndexes)});}),r}function Jd(){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),a=0;a<r;a++){var n=e?.[a],i=t?.[a];if(typeof n!="number"||isNaN(n))return a===0?1:-1;if(typeof i!="number"||isNaN(i))return a===0?-1:1;if(n!==i)return n-i}return 0}var Ni=ix;function ox(e){return e.frameElement?or.toSpec(e.frameElement):e.frameSpec?e.frameSpec:null}function Zd(e,t,r,a,n,i){t=Te({},t,{elementRef:false});var o=xr(),s=e.frames;s.forEach(function(l){var u=l.node,c=Ce(l,S);o.defer(function(d,g){var D={options:t,command:r,parameter:a,context:c};function C(R){return d(R?{results:R,frameElement:u}:null)}Xd(u,D,C,g);});}),o.then(function(l){n(Ni(l,t));}).catch(i);}function Lr(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 Qd(){for(var e={},t=arguments.length,r=new Array(t),a=0;a<t;a++)r[a]=arguments[a];return r.forEach(function(n){if(!(!n||ae(n)!=="object"||Array.isArray(n)))for(var i=0,o=Object.keys(n);i<o.length;i++){var s=o[i];!e.hasOwnProperty(s)||ae(n[s])!=="object"||Array.isArray(e[s])?e[s]=n[s]:e[s]=Qd(e[s],n[s]);}}),e}var Is=Qd;function sx(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 Ls=sx,lx=["article","aside","blockquote","body","div","footer","h1","h2","h3","h4","h5","h6","header","main","nav","p","section","span"];function ux(e){if(e.shadowRoot){var t=e.nodeName.toLowerCase();if(lx.includes(t)||/^[a-z][a-z0-9_.-]*-[a-z0-9_.-]*$/.test(t))return true}return false}var qi=ux,Ps={};ur(Ps,{createGrid:function(){return _n},findElmsInContext:function(){return ef},findNearbyElms:function(){return Wi},findUp:function(){return Ra},findUpVirtual:function(){return Fa},focusDisabled:function(){return zs},getComposedParent:function(){return Rt},getElementByReference:function(){return Ws},getElementCoordinates:function(){return Ns},getElementStack:function(){return Of},getModalDialog:function(){return Rf},getNodeGrid:function(){return Gi},getOverflowHiddenAncestors:function(){return xn},getRootNode:function(){return Mt},getScrollOffset:function(){return gf},getTabbableElements:function(){return Nf},getTargetRects:function(){return Xi},getTargetSize:function(){return qf},getTextElementStack:function(){return cl},getViewportSize:function(){return Bi},getVisibleChildTextRects:function(){return ul},hasContent:function(){return to},hasContentVirtual:function(){return Rn},hasLangText:function(){return fl},idrefs:function(){return Dr},insertedIntoFocusOrder:function(){return Sp},isCurrentPageLink:function(){return Gs},isFixedPosition:function(){return Hi},isFocusable:function(){return Dt},isHTML5:function(){return Fp},isHiddenForEveryone:function(){return Jr},isHiddenWithCSS:function(){return O_},isInTabOrder:function(){return sr},isInTextBlock:function(){return pl},isInert:function(){return Ui},isModalOpen:function(){return In},isMultiline:function(){return Ip},isNativelyFocusable:function(){return Ys},isNode:function(){return W_},isOffscreen:function(){return Vi},isOpaque:function(){return r2},isSkipLink:function(){return gl},isVisible:function(){return l2},isVisibleOnScreen:function(){return Yt},isVisibleToScreenReaders:function(){return pt},isVisualContent:function(){return dl},reduceToElementsBelowFloating:function(){return Lp},shadowElementsFromPoint:function(){return d2},urlPropsFromAttribute:function(){return v2},visuallyContains:function(){return Pp},visuallyOverlaps:function(){return vl},visuallySort:function(){return Us}});function cx(e){var t=e.getRootNode&&e.getRootNode()||h;return t===e&&(t=h),t}var wn=cx,Mt=wn;function dx(e){var t=e.context,r=e.value,a=e.attr,n=e.elm,i=n===void 0?"":n,o,s=vt(r);return t.nodeType===9||t.nodeType===11?o=t:o=Mt(t),Array.from(o.querySelectorAll(i+"["+a+"="+s+"]"))}var ef=dx;function fx(e,t){var r;if(r=e.actualNode,!e.shadowId&&typeof e.actualNode.closest=="function"){var a=e.actualNode.closest(t);return a||null}do r=r.assignedSlot?r.assignedSlot:r.parentNode,r&&r.nodeType===11&&(r=r.host);while(r&&!_a(r,t)&&r!==h.documentElement);return !r||!_a(r,t)?null:r}var Fa=fx;function px(e,t){return Fa(je(e),t)}var Ra=px;function Ms(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 tf=ut(function(t){var r=[];if(!t)return r;var a=t.getComputedStylePropertyValue("overflow");return a==="hidden"&&r.push(t),r.concat(tf(t.parent))}),xn=tf,mx=/rect\s*\(([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px\s*\)/,hx=/(\w+)\((\d+)/;function rf(e){return ["style","script","noscript","template"].includes(e.props.nodeName)}function af(e){return e.props.nodeName==="area"?false:e.getComputedStylePropertyValue("display")==="none"}function nf(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.isAncestor;return !r&&["hidden","collapse"].includes(e.getComputedStylePropertyValue("visibility"))}function of(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.isAncestor;return !!r&&e.getComputedStylePropertyValue("content-visibility")==="hidden"}function sf(e){return e.attr("aria-hidden")==="true"}function lf(e){return e.getComputedStylePropertyValue("opacity")==="0"}function uf(e){var t=Or(e.actualNode),r=parseInt(e.getComputedStylePropertyValue("height")),a=parseInt(e.getComputedStylePropertyValue("width"));return !!t&&(r===0||a===0)}function cf(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.isAncestor;if(r)return false;var a=e.getComputedStylePropertyValue("position");if(a==="fixed")return false;var n=xn(e);if(!n.length)return false;var i=e.boundingClientRect;return n.some(function(o){if(a==="absolute"&&!gx(e,o)&&o.getComputedStylePropertyValue("position")==="static")return false;var s=o.boundingClientRect;return s.width<2||s.height<2?true:!Ms(i,s)})}function df(e){var t=e.getComputedStylePropertyValue("clip").match(mx),r=e.getComputedStylePropertyValue("clip-path").match(hx);if(t&&t.length===5){var a=e.getComputedStylePropertyValue("position");if(["fixed","absolute"].includes(a))return t[3]-t[1]<=0&&t[2]-t[4]<=0}if(r){var n=r[1],i=parseInt(r[2],10);switch(n){case "inset":return i>=50;case "circle":return i===0;}}return false}function Os(e,t){var r=Xt(e,"map");if(!r)return true;var a=r.attr("name");if(!a)return true;var n=wn(e.actualNode);if(!n||n.nodeType!==9)return true;var i=Zt(m._tree,'img[usemap="#'.concat(vt(a),'"]'));return !i||!i.length?true:i.some(function(o){return !t(o)})}function ff(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(a){return a.props.nodeName==="summary"});if(r===e)return false}return !e.parent.hasAttr("open")}function gx(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 vx=[af,nf,of,ff];function Jr(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.skipAncestors,a=t.isAncestor,n=a===void 0?false:a;return e=Je(e).vNode,r?pf(e,n):mf(e,n)}var pf=ut(function(t,r){return rf(t)?true:t.actualNode?!!(vx.some(function(a){return a(t,{isAncestor:r})})||!t.actualNode.isConnected):false}),mf=ut(function(t,r){return pf(t,r)?true:t.parent?mf(t.parent,true):false});function hf(e){if(e.assignedSlot)return hf(e.assignedSlot);if(e.parentNode){var t=e.parentNode;if(t.nodeType===1)return t;if(t.host)return t.host}return null}var Rt=hf;function bx(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 gf=bx;function yx(e){var t=gf(h),r=t.left,a=t.top,n=e.getBoundingClientRect();return {top:n.top+a,right:n.right+r,bottom:n.bottom+a,left:n.left+r,width:n.right-n.left,height:n.bottom-n.top}}var Ns=yx;function wx(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 a=t.body;return {width:a.clientWidth,height:a.clientHeight}}var Bi=wx;function Hi(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.skipAncestors,a=Je(e),n=a.vNode;return n?r?vf(n):bf(n):false}var vf=ut(function(t){return t.getComputedStylePropertyValue("position")==="fixed"}),bf=ut(function(t){return vf(t)?true:t.parent?bf(t.parent):false});function xx(e,t){for(e=Rt(e);e&&e.nodeName.toLowerCase()!=="html";){if(e.scrollTop&&(t+=e.scrollTop,t>=0))return false;e=Rt(e);}return true}function Dx(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.isAncestor;if(r)return false;var a=Je(e),n=a.domNode;if(n){var i=h.documentElement,o=p.getComputedStyle(n),s=p.getComputedStyle(h.body||i).getPropertyValue("direction"),l=Hi(n),u=l?n.getBoundingClientRect():Ns(n);if(u.top===0&&u.bottom===0||u.left===0&&u.right===0)return false;if(u.bottom<=0&&(xx(n,u.bottom)||o.position==="absolute"))return true;var c=Bi(p);if(l&&u.top>=c.height)return true;var d=Math.max(i.scrollWidth,c.width);return !!((l||s==="rtl")&&u.left>=d||(l||s==="ltr")&&u.right<=0)}}var Vi=Dx,_x=[lf,uf,cf,df,Vi];function Yt(e){return e=Je(e).vNode,qs(e)}var qs=ut(function(t,r){return t.actualNode&&t.props.nodeName==="area"?!Os(t,qs):Jr(t,{skipAncestors:true,isAncestor:r})||t.actualNode&&_x.some(function(a){return a(t,{isAncestor:r})})?false:t.parent?qs(t.parent,true):true});function Bs(e,t){var r=Math.min(e.top,t.top),a=Math.max(e.right,t.right),n=Math.max(e.bottom,t.bottom),i=Math.min(e.left,t.left);return new p.DOMRect(i,r,a-i,n-r)}function ji(e,t){var r=e.x,a=e.y,n=t.top,i=t.right,o=t.bottom,s=t.left;return a>=n&&r<=i&&a<=o&&r>=s}var yf={};ur(yf,{getBoundingRect:function(){return Bs},getIntersectionRect:function(){return $i},getOffset:function(){return xf},getRectCenter:function(){return Dn},hasVisualOverlap:function(){return Hs},isPointInRect:function(){return ji},rectHasMinimumSize:function(){return Pr},rectsOverlap:function(){return Ms},splitRects:function(){return Vs}});function $i(e,t){var r=Math.max(e.left,t.left),a=Math.min(e.right,t.right),n=Math.max(e.top,t.top),i=Math.min(e.bottom,t.bottom);return r>=a||n>=i?null:new p.DOMRect(r,n,a-r,i-n)}function Dn(e){var t=e.left,r=e.top,a=e.width,n=e.height;return new p.DOMPoint(t+a/2,r+n/2)}var wf=.05;function Pr(e,t){var r=t.width,a=t.height;return r+wf>=e&&a+wf>=e}function xf(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:12,a=Xi(e),n=Xi(t);return !a.length||!n.length?null:a.reduce(function(i,o){var s=Dn(o),l=Ge(n),u;try{for(l.s();!(u=l.n()).done;){var c=u.value;if(ji(s,c))return 0;var d=Ax(s,c),g=Df(s,d);i=Math.min(i,g);}}catch(P){l.e(P);}finally{l.f();}var D=qf(t);if(Pr(r*2,D))return i;var C=n.reduce(Bs),R=Dn(C),I=Df(s,R)-r;return Math.max(0,Math.min(i,I))},1/0)}function Ax(e,t){var r,a;return e.x<t.left?r=t.left:e.x>t.right?r=t.right:r=e.x,e.y<t.top?a=t.top:e.y>t.bottom?a=t.bottom:a=e.y,{x:r,y:a}}function Df(e,t){return Math.hypot(e.x-t.x,e.y-t.y)}function Hs(e,t){var r=e.boundingClientRect,a=t.boundingClientRect;return r.left>=a.right||r.right<=a.left||r.top>=a.bottom||r.bottom<=a.top?false:Us(e,t)>0}function Vs(e,t){var r=Array.isArray(e)?e:[e],a=Ge(t),n;try{var i=function(){var s=n.value;if(r=r.reduce(function(l,u){return l.concat(Ex(u,s))},[]),r.length>4e3)throw new Error("splitRects: Too many rects")};for(a.s();!(n=a.n()).done;)i();}catch(o){a.e(o);}finally{a.f();}return r}function Ex(e,t){var r=e.top,a=e.left,n=e.bottom,i=e.right,o=r<t.bottom&&n>t.top,s=a<t.right&&i>t.left,l=[];if(zi(t.top,r,n)&&s&&l.push({top:r,left:a,bottom:t.top,right:i}),zi(t.right,a,i)&&o&&l.push({top:r,left:t.right,bottom:n,right:i}),zi(t.bottom,r,n)&&s&&l.push({top:t.bottom,right:i,bottom:n,left:a}),zi(t.left,a,i)&&o&&l.push({top:r,left:a,bottom:n,right:t.left}),l.length===0){if(Sx(e,t))return [];l.push(e);}return l.map(Cx)}var zi=function(t,r,a){return t>r&&t<a};function Cx(e){return new p.DOMRect(e.left,e.top,e.right-e.left,e.bottom-e.top)}function Sx(e,t){return e.top>=t.top&&e.left>=t.left&&e.bottom<=t.bottom&&e.right<=t.right}var _f=0,kx=.1,Af=.2,Ef=.3,js=0;function _n(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:h.body,t=arguments.length>1?arguments[1]:void 0,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(Be.get("gridCreated")&&!r)return He.gridSize;if(Be.set("gridCreated",true),!r){var a=je(h.documentElement);if(a||(a=new bl(h.documentElement)),js=0,a._stackingOrder=[kf(_f,js++,null)],t??(t=new $s),Tf(t,a),Or(a.actualNode)){var n=new $s(a);a._subGrid=n;}}for(var i=h.createTreeWalker(e,p.NodeFilter.SHOW_ELEMENT,null,false),o=r?i.nextNode():i.currentNode;o;){var s=je(o);s&&s.parent?r=s.parent:o.assignedSlot?r=je(o.assignedSlot):o.parentElement?r=je(o.parentElement):o.parentNode&&je(o.parentNode)&&(r=je(o.parentNode)),s||(s=new m.VirtualNode(o,r)),s._stackingOrder=Tx(s,r,js++);var l=Ix(s,r),u=l?l._subGrid:t;if(Or(s.actualNode)){var c=new $s(s);s._subGrid=c;}var d=s.boundingClientRect;d.width!==0&&d.height!==0&&Yt(o)&&Tf(u,s),qi(o)&&_n(o.shadowRoot,u,s),o=i.nextNode();}return He.gridSize}function Cf(e,t){var r=e.getComputedStylePropertyValue("position"),a=e.getComputedStylePropertyValue("z-index");if(r==="fixed"||r==="sticky"||a!=="auto"&&r!=="static"||e.getComputedStylePropertyValue("opacity")!=="1")return true;var n=e.getComputedStylePropertyValue("-webkit-transform")||e.getComputedStylePropertyValue("-ms-transform")||e.getComputedStylePropertyValue("transform")||"none";if(n!=="none")return true;var i=e.getComputedStylePropertyValue("mix-blend-mode");if(i&&i!=="normal")return true;var o=e.getComputedStylePropertyValue("filter");if(o&&o!=="none")return true;var s=e.getComputedStylePropertyValue("perspective");if(s&&s!=="none")return true;var l=e.getComputedStylePropertyValue("clip-path");if(l&&l!=="none")return true;var u=e.getComputedStylePropertyValue("-webkit-mask")||e.getComputedStylePropertyValue("mask")||"none";if(u!=="none")return true;var c=e.getComputedStylePropertyValue("-webkit-mask-image")||e.getComputedStylePropertyValue("mask-image")||"none";if(c!=="none")return true;var d=e.getComputedStylePropertyValue("-webkit-mask-border")||e.getComputedStylePropertyValue("mask-border")||"none";if(d!=="none"||e.getComputedStylePropertyValue("isolation")==="isolate")return true;var g=e.getComputedStylePropertyValue("will-change");if(g==="transform"||g==="opacity"||e.getComputedStylePropertyValue("-webkit-overflow-scrolling")==="touch")return true;var D=e.getComputedStylePropertyValue("contain");return !!(["layout","paint","strict","content"].includes(D)||a!=="auto"&&Sf(t))}function Sf(e){if(!e)return false;var t=e.getComputedStylePropertyValue("display");return ["flex","inline-flex","grid","inline-grid"].includes(t)}function Tx(e,t,r){var a=t._stackingOrder.slice();if(Cf(e,t)){var n=a.findIndex(function(o){var s=o.stackLevel;return [_f,Af,Ef].includes(s)});n!==-1&&a.splice(n,a.length-n);}var i=Fx(e,t);return i!==null&&a.push(kf(i,r,e)),a}function kf(e,t,r){return {stackLevel:e,treeOrder:t,vNode:r}}function Fx(e,t){var r=Rx(e,t);return ["auto","0"].includes(r)?e.getComputedStylePropertyValue("position")!=="static"?Ef:e.getComputedStylePropertyValue("float")!=="none"?Af:Cf(e,t)?kx:null:parseInt(r)}function Rx(e,t){var r=e.getComputedStylePropertyValue("position");return r==="static"&&!Sf(t)?"auto":e.getComputedStylePropertyValue("z-index")}function Ix(e,t){for(var r=null,a=[e];t;){if(Or(t.actualNode)){r=t;break}if(t._scrollRegionParent){r=t._scrollRegionParent;break}a.push(t),t=je(t.actualNode.parentElement||t.actualNode.parentNode);}return a.forEach(function(n){return n._scrollRegionParent=r}),r}function Tf(e,t){var r=xn(t);t.clientRects.forEach(function(a){var n,i=r.reduce(function(s,l){return s&&$i(s,l.boundingClientRect)},a);if(i){(n=t._grid)!==null&&n!==void 0||(t._grid=e);var o=e.getGridPositionOfRect(i);e.loopGridPosition(o,function(s){s.includes(t)||s.push(t);});}});}var $s=(function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;gt(this,e),this.container=t,this.cells=[];}return tt(e,[{key:"toGridIndex",value:function(r){return Math.floor(r/He.gridSize)}},{key:"getCellFromPoint",value:function(r){var a,n,i=r.x,o=r.y;Qe(this.boundaries,"Grid does not have cells added");var s=this.toGridIndex(o),l=this.toGridIndex(i);Qe(ji({y:s,x:l},this.boundaries),"Element midpoint exceeds the grid bounds");var u=(a=this.cells[s-this.cells._negativeIndex])!==null&&a!==void 0?a:[];return (n=u[l-u._negativeIndex])!==null&&n!==void 0?n:[]}},{key:"loopGridPosition",value:function(r,a){var n=r,i=n.left,o=n.right,s=n.top,l=n.bottom;this.boundaries&&(r=Bs(this.boundaries,r)),this.boundaries=r,Ff(this.cells,s,l,function(u,c){Ff(u,i,o,function(d,g){a(d,{row:c,col:g});});});}},{key:"getGridPositionOfRect",value:function(r){var a=r.top,n=r.right,i=r.bottom,o=r.left,s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return a=this.toGridIndex(a-s),n=this.toGridIndex(n+s-1),i=this.toGridIndex(i+s-1),o=this.toGridIndex(o-s),new p.DOMRect(o,a,n-o,i-a)}}])})();function Ff(e,t,r,a){var n;if((n=e._negativeIndex)!==null&&n!==void 0||(e._negativeIndex=0),t<e._negativeIndex){for(var i=0;i<e._negativeIndex-t;i++)e.splice(0,0,[]);e._negativeIndex=t;}for(var o=t-e._negativeIndex,s=r-e._negativeIndex,l=o;l<=s;l++){var u,c;(c=e[u=l])!==null&&c!==void 0||(e[u]=[]),a(e[l],l+e._negativeIndex);}}function Gi(e){_n();var t=Je(e),r=t.vNode;return r._grid}function Wi(e){var t,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,a=Gi(e);if(!(a!=null&&(t=a.cells)!==null&&t!==void 0&&t.length))return [];var n=e.boundingClientRect,i=Hi(e),o=a.getGridPositionOfRect(n,r),s=[];return a.loopGridPosition(o,function(l){var u=Ge(l),c;try{for(u.s();!(c=u.n()).done;){var d=c.value;d&&d!==e&&!s.includes(d)&&i===Hi(d)&&s.push(d);}}catch(g){u.e(g);}finally{u.f();}}),s}var Lx=ut(function(){var t;if(!m._tree)return null;var r=Sr(m._tree[0],"dialog[open]",function(n){var i=n.boundingClientRect,o=h.elementsFromPoint(i.left+1,i.top+1);return o.includes(n.actualNode)&&Yt(n)});if(!r.length)return null;var a=r.find(function(n){var i=n.boundingClientRect,o=h.elementsFromPoint(i.left-10,i.top-10);return o.includes(n.actualNode)});return a||((t=r.find(function(n){var i,o=(i=Px(n))!==null&&i!==void 0?i:{},s=o.vNode,l=o.rect;if(!s)return false;var u=h.elementsFromPoint(l.left+1,l.top+1);return !u.includes(s.actualNode)}))!==null&&t!==void 0?t:null)}),Rf=Lx;function Px(e){_n();var t=m._tree[0]._grid,r=new p.DOMRect(0,0,p.innerWidth,p.innerHeight);if(t)for(var a=0;a<t.cells.length;a++){var n=t.cells[a];if(n)for(var i=0;i<n.length;i++){var o=n[i];if(o)for(var s=0;s<o.length;s++){var l=o[s],u=l.boundingClientRect,c=$i(u,r);if(l.props.nodeName!=="html"&&l!==e&&l.getComputedStylePropertyValue("pointer-events")!=="none"&&c)return {vNode:l,rect:c}}}}}function Ui(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.skipAncestors,a=t.isAncestor;return r?If(e,a):Lf(e,a)}var If=ut(function(t,r){if(t.hasAttr("inert"))return true;if(!r&&t.actualNode){var a=Rf();if(a&&!Lr(a,t))return true}return false}),Lf=ut(function(t,r){return If(t,r)?true:t.parent?Lf(t.parent,true):false}),Mx=["button","command","fieldset","keygen","optgroup","option","select","textarea","input"];function Ox(e){return Mx.includes(e)}function Nx(e){var t=Je(e),r=t.vNode;if(Ox(r.props.nodeName)&&r.hasAttr("disabled")||Ui(r))return true;for(var a=r.parent,n=[],i=false;a&&a.shadowId===r.shadowId&&!i&&(n.push(a),a.props.nodeName!=="legend");){if(a._inDisabledFieldset!==void 0){i=a._inDisabledFieldset;break}a.props.nodeName==="fieldset"&&a.hasAttr("disabled")&&(i=true),a=a.parent;}return n.forEach(function(o){return o._inDisabledFieldset=i}),i?true:r.props.nodeName!=="area"&&r.actualNode?Jr(r):false}var zs=Nx,qx=/^\/\#/,Bx=/^#[!/]/;function Gs(e){var t,r=e.getAttribute("href");if(!r||r==="#")return false;if(qx.test(r))return true;var a=e.hash,n=e.protocol,i=e.hostname,o=e.port,s=e.pathname;if(Bx.test(a))return false;if(r.charAt(0)==="#")return true;if(typeof((t=p.location)===null||t===void 0?void 0:t.origin)!="string"||p.location.origin.indexOf("://")===-1)return null;var l=p.location.origin+p.location.pathname,u;return i?u="".concat(n,"//").concat(i).concat(o?":".concat(o):""):u=p.location.origin,s?u+=(s[0]!=="/"?"/":"")+s:u+=p.location.pathname,u===l}function Hx(e,t){var r=e.getAttribute(t);if(!r||t==="href"&&!Gs(e))return null;r.indexOf("#")!==-1&&(r=decodeURIComponent(r.substr(r.indexOf("#")+1)));var a=h.getElementById(r);return a||(a=h.getElementsByName(r),a.length?a[0]:null)}var Ws=Hx;function Us(e,t){_n();for(var r=Math.max(e._stackingOrder.length,t._stackingOrder.length),a=0;a<r;a++){if(typeof t._stackingOrder[a]>"u")return -1;if(typeof e._stackingOrder[a]>"u"||t._stackingOrder[a].stackLevel>e._stackingOrder[a].stackLevel)return 1;if(t._stackingOrder[a].stackLevel<e._stackingOrder[a].stackLevel)return -1;if(t._stackingOrder[a].treeOrder!==e._stackingOrder[a].treeOrder)return t._stackingOrder[a].treeOrder-e._stackingOrder[a].treeOrder}var n=e.actualNode,i=t.actualNode;if(n.getRootNode&&n.getRootNode()!==i.getRootNode()){for(var o=[];n;)o.push({root:n.getRootNode(),node:n}),n=n.getRootNode().host;for(;i&&!o.find(function(I){return I.root===i.getRootNode()});)i=i.getRootNode().host;if(n=o.find(function(I){return I.root===i.getRootNode()}).node,n===i)return e.actualNode.getRootNode()!==n.getRootNode()?-1:1}var s=p.Node,l=s.DOCUMENT_POSITION_FOLLOWING,u=s.DOCUMENT_POSITION_CONTAINS,c=s.DOCUMENT_POSITION_CONTAINED_BY,d=n.compareDocumentPosition(i),g=d&l?1:-1,D=d&u||d&c,C=Pf(e),R=Pf(t);return C===R||D?g:R-C}function Pf(e){return e.getComputedStylePropertyValue("display").indexOf("inline")!==-1?2:Mf(e)?1:0}function Mf(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=Mf(e.parent);return e._isFloated=r,r}function Xs(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:false,a=Dn(t),n=e.getCellFromPoint(a)||[],i=Math.floor(a.x),o=Math.floor(a.y),s=n.filter(function(u){return u.clientRects.some(function(c){var d=c.left,g=c.top;return i<Math.floor(d+c.width)&&i>=Math.floor(d)&&o<Math.floor(g+c.height)&&o>=Math.floor(g)})}),l=e.container;return l&&(s=Xs(l._grid,l.boundingClientRect,true).concat(s)),r||(s=s.sort(Us).map(function(u){return u.actualNode}).concat(h.documentElement).filter(function(u,c,d){return d.indexOf(u)===c})),s}function Vx(e){var t=Gi(e);if(!t)return [];var r=je(e).boundingClientRect;return Xs(t,r)}var Of=Vx;function jx(e){var t=Zt(e,"*"),r=t.filter(function(a){var n=a.isFocusable,i=Cr(a.actualNode.getAttribute("tabindex"));return i!==null?n&&i>=0:n});return r}var Nf=jx;function $x(e){var t=Je(e),r=t.vNode;if(!r||zs(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 !Zt(r,"summary").length}return false}var Ys=$x;function Dt(e){var t=Je(e),r=t.vNode;if(r.props.nodeType!==1||zs(r))return false;if(Ys(r))return true;var a=Cr(r.attr("tabindex"));return a!==null}function sr(e){var t=Je(e),r=t.vNode;if(r.props.nodeType!==1)return false;var a=Cr(r.attr("tabindex"));return a<=-1?false:Dt(r)}var Xi=ut(zx);function zx(e){var t=e.getComputedStylePropertyValue("display"),r=t==="inline"?e.clientRects:[e.boundingClientRect],a=Wi(e).filter(function(i){return Hs(e,i)&&i.getComputedStylePropertyValue("pointer-events")!=="none"&&!Gx(e,i)});if(!a.length)return r;var n=a.map(function(i){var o=i.getComputedStylePropertyValue("display");return o==="inline"?i.clientRects:i.boundingClientRect}).flat(1/0);return Vs(r,n)}function Gx(e,t){return Lr(e,t)&&!sr(t)}var qf=ut(Wx);function Wx(e,t){var r=Xi(e);return Ux(r,t)}function Ux(e,t){return e.reduce(function(r,a){var n=Pr(t,r),i=Pr(t,a);if(n!==i)return n?r:a;var o=r.width*r.height,s=a.width*a.height;return o>s?r:a})}var An={};ur(An,{accessibleText:function(){return ha},accessibleTextVirtual:function(){return It},autocomplete:function(){return va},formControlValue:function(){return hp},formControlValueMethods:function(){return al},hasUnicode:function(){return ol},isHumanInterpretable:function(){return ll},isIconLigature:function(){return sl},isValidAutocomplete:function(){return Dp},label:function(){return __},labelText:function(){return nl},labelVirtual:function(){return Qi},nativeElementType:function(){return E_},nativeTextAlternative:function(){return vp},nativeTextMethods:function(){return gp},removeUnicode:function(){return Fn},sanitize:function(){return Pe},subtreeText:function(){return ea},titleText:function(){return Ki},unsupported:function(){return ip},visible:function(){return _p},visibleTextNodes:function(){return C_},visibleVirtual:function(){return Ar}});function Xx(e,t){e=e.actualNode||e;try{var r=Mt(e),a=[],n=e.getAttribute(t);if(n){n=Ht(n);for(var i=0;i<n.length;i++)a.push(r.getElementById(n[i]));}return a}catch{throw new TypeError("Cannot resolve id references for non-DOM nodes")}}var Dr=Xx;function Yx(e,t){var r=je(e);return It(r,t)}var ha=Yx;function Kx(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=Je(e),a=r.vNode;if(a?.props.nodeType!==1||a.props.nodeType!==1||t.inLabelledByContext||t.inControlContext||!a.attr("aria-labelledby"))return "";var n=Dr(a,"aria-labelledby").filter(function(i){return i});return n.reduce(function(i,o){var s=ha(o,Te({inLabelledByContext:true,startNode:t.startNode||a},t));return i?"".concat(i," ").concat(s):s},"")}var En=Kx;function Cn(e){var t=Je(e),r=t.vNode;return r?.props.nodeType!==1?"":r.attr("aria-label")||""}var Jx={"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}},Bf=Jx,Zx={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"]}},Hf=Zx,Qx={"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"]}},eD=Qx,tD={"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}},rD=tD,aD={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"]}},nD=aD,iD={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]},oD=iD,Vf={ariaAttrs:Bf,ariaRoles:Te({},Hf,eD,rD),htmlElms:nD,cssColors:oD},Ia=Te({},Vf);function sD(e){Object.keys(Ia).forEach(function(t){e[t]&&(Ia[t]=Is(Ia[t],e[t]));});}function lD(){Object.keys(Ia).forEach(function(e){Ia[e]=Vf[e];});}var et=Ia;function uD(e){var t=et.ariaRoles[e];return t?!!t.unsupported:false}var Ks=uD;function cD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.allowAbstract,a=t.flagUnsupported,n=a===void 0?false:a,i=et.ariaRoles[e],o=Ks(e);return !i||n&&o?false:r?true:i.type!=="abstract"}var Sn=cD;function dD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.fallback,a=t.abstracts,n=t.dpub;if(e=e instanceof Ft?e:je(e),e.props.nodeType!==1)return null;var i=(e.attr("role")||"").trim().toLowerCase(),o=r?Ht(i):[i],s=o.find(function(l){return !n&&l.substr(0,4)==="doc-"?false:Sn(l,{allowAbstract:a})});return s||null}var We=dD;function fD(e){return Object.keys(et.htmlElms).filter(function(t){var r=et.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 Js=fD;function pD(){return Be.get("globalAriaAttrs",function(){return Object.keys(et.ariaAttrs).filter(function(e){return et.ariaAttrs[e].global})})}var Zr=pD;function mD(e){for(var t=[],r=e.rows,a=0,n=r.length;a<n;a++){var i=r[a].cells;t[a]=t[a]||[];for(var o=0,s=0,l=i.length;s<l;s++)for(var u=0;u<i[s].colSpan;u++){for(var c=i[s].getAttribute("rowspan"),d=parseInt(c)===0||i[s].rowspan===0?r.length:i[s].rowSpan,g=0;g<d;g++){for(t[a+g]=t[a+g]||[];t[a+g][o];)o++;t[a+g][o]=i[s];}o++;}}return t}var Mr=ut(mD);function hD(e,t){var r,a;for(t||(t=Mr(Ra(e,"table"))),r=0;r<t.length;r++)if(t[r]&&(a=t[r].indexOf(e),a!==-1))return {x:a,y:r}}var Yi=ut(hD);function Zs(e){var t=Je(e),r=t.vNode,a=t.domNode,n=r.attr("scope"),i=We(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(n==="col"||n==="row")return n;if(r.props.nodeName!=="th")return false;if(!r.actualNode)return "auto";var o=Mr(Ra(a,"table")),s=Yi(a,o),l=o[s.y].every(function(c){return c.nodeName.toUpperCase()==="TH"});if(l)return "col";var u=o.map(function(c){return c[s.x]}).every(function(c){return c&&c.nodeName.toUpperCase()==="TH"});return u?"row":"auto"}function gD(e){return ["col","auto"].indexOf(Zs(e))!==-1}var La=gD;function vD(e){return ["row","auto"].includes(Zs(e))}var Pa=vD;function bD(e){return e?e.replace(/\r\n/g,`
366
- `).replace(/\u00A0/g," ").replace(/[\s]{2,}/g," ").trim():""}var Pe=bD,jf=function(){return Be.get("sectioningContentSelector",function(){return Js("sectioning").map(function(t){return "".concat(t,":not([role])")}).join(", ")+" , [role=article], [role=complementary], [role=navigation], [role=region]"})},$f=function(){return Be.get("sectioningContentPlusMainSelector",function(){return jf()+" , main:not([role]), [role=main]"})};function Qs(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.checkTitle,a=r===void 0?false:r;return !!(Pe(En(e))||Pe(Cn(e))||a&&e?.props.nodeType===1&&Pe(e.attr("title")))}var yD={a:function(t){return t.hasAttr("href")?"link":null},area:function(t){return t.hasAttr("href")?"link":null},article:"article",aside:function(t){return Xt(t.parent,jf())&&!Qs(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=Xt(t,$f());return r?null:"contentinfo"},form:function(t){return Qs(t)?"form":null},h1:"heading",h2:"heading",h3:"heading",h4:"heading",h5:"heading",h6:"heading",header:function(t){var r=Xt(t,$f());return r?null:"banner"},hr:"separator",img:function(t){var r=t.hasAttr("alt")&&!t.attr("alt"),a=Zr().find(function(n){return t.hasAttr(n)});return r&&!a&&!Dt(t)?"presentation":"img"},input:function(t){var r;if(t.hasAttr("list")){var a=Dr(t.actualNode,"list").filter(function(n){return !!n})[0];r=a&&a.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 Qs(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=Xt(t,"table"),a=We(r);return ["grid","treegrid"].includes(a)?"gridcell":"cell"},textarea:"textbox",tfoot:"rowgroup",th:function(t){if(La(t))return "columnheader";if(Pa(t))return "rowheader"},thead:"rowgroup",tr:"row",ul:"list"},el=yD;function wD(e,t){var r=ae(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 a=t.substring(1,t.length-1);return new RegExp(a).test(e)}}return t===e}var ga=wD;function xD(e,t){return ga(!!It(e),t)}var zf=xD;function DD(e,t){var r=ae(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(a){return ga(e(a),t[a])})}var tl=DD;function _D(e,t){return e=Je(e).vNode,tl(function(r){return e.attr(r)},t)}var Gf=_D;function Wf(e,t){return !!t(e)}function AD(e,t){return ga(We(e),t)}var Uf=AD;function ED(e,t){return ga(_r(e),t)}var Xf=ED;function CD(e,t){return e=Je(e).vNode,ga(e.props.nodeName,t)}var Yf=CD;function SD(e,t){return e=Je(e).vNode,tl(function(r){return e.props[r]},t)}var Kf=SD;function kD(e,t){return ga(Ve(e),t)}var Jf=kD,Zf={hasAccessibleName:zf,attributes:Gf,condition:Wf,explicitRole:Uf,implicitRole:Xf,nodeName:Yf,properties:Kf,semanticRole:Jf};function Qf(e,t){return e=Je(e).vNode,Array.isArray(t)?t.some(function(r){return Qf(e,r)}):typeof t=="string"?xs(e,t):Object.keys(t).every(function(r){if(!Zf[r])throw new Error('Unknown matcher type "'.concat(r,'"'));var a=Zf[r],n=t[r];return a(e,n)})}var ep=Qf;function TD(e,t){return ep(e,t)}var Kt=TD;Kt.hasAccessibleName=zf,Kt.attributes=Gf,Kt.condition=Wf,Kt.explicitRole=Uf,Kt.fromDefinition=ep,Kt.fromFunction=tl,Kt.fromPrimative=ga,Kt.implicitRole=Xf,Kt.nodeName=Yf,Kt.properties=Kf,Kt.semanticRole=Jf;var kn=Kt;function FD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.noMatchAccessibleName,a=r===void 0?false:r,n=et.htmlElms[e.props.nodeName];if(!n)return {};if(!n.variant)return n;var i=n.variant,o=Ce(n,E);for(var s in i)if(!(!i.hasOwnProperty(s)||s==="default")){for(var l=i[s],u=l.matches,c=Ce(l,F),d=Array.isArray(u)?u:[u],g=0;g<d.length&&a;g++)if(d[g].hasOwnProperty("hasAccessibleName"))return n;if(kn(e,u))for(var D in c)c.hasOwnProperty(D)&&(o[D]=c[D]);}for(var C in i.default)i.default.hasOwnProperty(C)&&typeof o[C]>"u"&&(o[C]=i.default[C]);return o}var Qr=FD;function RD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.chromium,a=e instanceof Ft?e:je(e);if(e=a.actualNode,!a)throw new ReferenceError("Cannot get implicit role of a node outside the current scope.");var n=a.props.nodeName,i=el[n];if(!i&&r){var o=Qr(a),s=o.chromiumRole;return s||null}return typeof i=="function"?i(a):i||null}var _r=RD,ID={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 tp(e,t){var r=ID[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 a=We(e.parent,t);return ["none","presentation"].includes(a)&&!ap(e.parent)?a:a?null:tp(e.parent,t)}function rp(e,t){var r=t.chromium,a=Ce(t,L),n=_r(e,{chromium:r});if(!n)return null;var i=tp(e,a);return i||n}function ap(e){var t=Zr().some(function(r){return e.hasAttr(r)});return t||Dt(e)}function LD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.noImplicit,a=Ce(t,O),n=Je(e),i=n.vNode;if(i.props.nodeType!==1)return null;var o=We(i,a);return o?["presentation","none"].includes(o)&&ap(i)?r?null:rp(i,a):o:r?null:rp(i,a)}function PD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.noPresentational,a=Ce(t,H),n=LD(e,a);return r&&["presentation","none"].includes(n)?null:n}var Ve=PD,MD=["iframe"];function OD(e){var t=Je(e),r=t.vNode;return r.props.nodeType!==1||!e.hasAttr("title")||!Kt(r,MD)&&["none","presentation"].includes(Ve(r))?"":r.attr("title")}var Ki=OD;function ND(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.strict;if(e=e instanceof Ft?e:je(e),e.props.nodeType!==1)return false;var a=Ve(e),n=et.ariaRoles[a];return n&&n.nameFromContent?true:r?false:!n||["presentation","none"].includes(a)}var np=ND;function qD(e){var t=e.actualNode,r=e.children;if(!r)throw new Error("getOwnedVirtual requires a virtual node");if(e.hasAttr("aria-owns")){var a=Dr(t,"aria-owns").filter(function(o){return !!o}).map(function(o){return m.utils.getNodeFromTree(o)}),n=a.filter(function(o,s){return a.indexOf(o)===s}),i=r.filter(function(o){return !n.includes(o)});return [].concat(_e(i),_e(n))}return _e(r)}var Tn=qD,ip={accessibleNameFromFieldValue:["progressbar"]};function pt(e){return e=Je(e).vNode,rl(e)}var rl=ut(function(t,r){return sf(t)||Ui(t,{skipAncestors:true,isAncestor:r})?false:t.actualNode&&t.props.nodeName==="area"?!Os(t,rl):Jr(t,{skipAncestors:true,isAncestor:r})?false:t.parent?rl(t.parent,true):true});function op(e,t,r){var a=Je(e),n=a.vNode,i=t?pt:Yt,o=!e.actualNode||e.actualNode&&i(e),s=n.children.map(function(l){var u=l.props,c=u.nodeType,d=u.nodeValue;if(c===3){if(d&&o)return d}else if(!r)return op(l,t)}).join("");return Pe(s)}var Ar=op,BD=["button","checkbox","color","file","hidden","image","password","radio","reset","submit"];function HD(e){e=e instanceof Ft?e:je(e);var t=e.props.nodeName;return t==="textarea"||t==="input"&&!BD.includes((e.attr("type")||"").toLowerCase())}var sp=HD;function VD(e){e=e instanceof Ft?e:je(e);var t=e.props.nodeName;return t==="select"}var lp=VD;function jD(e){var t=We(e);return t==="textbox"}var up=jD;function $D(e){var t=We(e);return t==="listbox"}var cp=$D;function zD(e){var t=We(e);return t==="combobox"}var dp=zD,GD=["progressbar","scrollbar","slider","spinbutton"];function WD(e){var t=We(e);return GD.includes(t)}var fp=WD,pp=["textbox","progressbar","scrollbar","slider","spinbutton","combobox","listbox"],al={nativeTextboxValue:XD,nativeSelectValue:YD,ariaTextboxValue:KD,ariaListboxValue:mp,ariaComboboxValue:JD,ariaRangeValue:ZD};function UD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=e.actualNode,a=ip.accessibleNameFromFieldValue||[],n=Ve(e);if(t.startNode===e||!pp.includes(n)||a.includes(n))return "";var i=Object.keys(al).map(function(s){return al[s]}),o=i.reduce(function(s,l){return s||l(e,t)},"");return t.debug&&fa(o||"{empty-value}",r,t),o}function XD(e){var t=Je(e),r=t.vNode;return sp(r)&&r.props.value||""}function YD(e){var t=Je(e),r=t.vNode;if(!lp(r))return "";var a=Zt(r,"option"),n=a.filter(function(i){return i.props.selected});return n.length||n.push(a[0]),n.map(function(i){return Ar(i)}).join(" ")||""}function KD(e){var t=Je(e),r=t.vNode,a=t.domNode;return up(r)?!a||a&&!Jr(a)?Ar(r,true):a.textContent:""}function mp(e,t){var r=Je(e),a=r.vNode;if(!cp(a))return "";var n=Tn(a).filter(function(i){return Ve(i)==="option"&&i.attr("aria-selected")==="true"});return n.length===0?"":It(n[0],t)}function JD(e,t){var r=Je(e),a=r.vNode;if(!dp(a))return "";var n=Tn(a).filter(function(i){return Ve(i)==="listbox"})[0];return n?mp(n,t):""}function ZD(e){var t=Je(e),r=t.vNode;if(!fp(r)||!r.hasAttr("aria-valuenow"))return "";var a=+r.attr("aria-valuenow");return isNaN(a)?"0":String(a)}var hp=UD;function QD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=It.alreadyProcessed;t.startNode=t.startNode||e;var a=t,n=a.strict,i=a.inControlContext,o=a.inLabelledByContext,s=Ve(e),l=Qr(e,{noMatchAccessibleName:true}),u=l.contentTypes;if(r(e,t)||e.props.nodeType!==1||u!=null&&u.includes("embedded")||pp.includes(s)||!t.subtreeDescendant&&!t.inLabelledByContext&&!np(e,{strict:n}))return "";if(!n){var c=!i&&!o;t=Te({subtreeDescendant:c},t);}return Tn(e).reduce(function(d,g){return t_(d,g,t)},"")}var e_=Js("phrasing").concat(["#text"]);function t_(e,t,r){var a=t.props.nodeName,n=It(t,r);return n?(e_.includes(a)||(n[0]!==" "&&(n+=" "),e&&e[e.length-1]!==" "&&(n=" "+n)),e+n):e}var ea=QD;function r_(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=It.alreadyProcessed;if(t.inControlContext||t.inLabelledByContext||r(e,t))return "";t.startNode||(t.startNode=e);var a=Te({inControlContext:true},t),n=a_(e),i=Xt(e,"label"),o;return i?(o=[].concat(_e(n),[i.actualNode]),o.sort(Il)):o=n,o.map(function(s){return ha(s,a)}).filter(function(s){return s!==""}).join(" ")}function a_(e){if(!e.attr("id"))return [];if(!e.actualNode)throw new TypeError("Cannot resolve explicit label reference for non-DOM nodes");return ef({elm:"label",attr:"for",value:e.attr("id"),context:e.actualNode})}var nl=r_,n_={submit:"Submit",image:"Submit",reset:"Reset",button:""},i_={valueText:function(t){return t.props.value||""},buttonDefaultText:function(t){return n_[t.props.type]||""},tableCaptionText:Ji.bind(null,"caption"),figureText:Ji.bind(null,"figcaption"),svgTitleText:Ji.bind(null,"title"),fieldsetLegendText:Ji.bind(null,"legend"),altText:il.bind(null,"alt"),tableSummaryText:il.bind(null,"summary"),titleText:Ki,subtreeText:ea,labelText:nl,singleSpace:function(){return " "},placeholderText:il.bind(null,"placeholder")};function il(e,t){return t.attr(e)||""}function Ji(e,t,r){var a=t.actualNode;e=e.toLowerCase();var n=[e,a.nodeName.toLowerCase()].join(","),i=a.querySelector(n);return !i||i.nodeName.toLowerCase()!==e?"":ha(i,r)}var gp=i_;function vp(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=e.actualNode;if(e.props.nodeType!==1||["presentation","none"].includes(Ve(e)))return "";var a=o_(e),n=a.reduce(function(i,o){return i||o(e,t)},"");return t.debug&&m.log(n||"{empty-value}",r,t),n}function o_(e){var t=Qr(e,{noMatchAccessibleName:true}),r=t.namingMethods||[];return r.map(function(a){return gp[a]})}function bp(){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 yp(){return /[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&\xa3\xa2\xa5\xa7\u20ac()*+,\-.\/:;<=>?@\[\]^_`{|}~\xb1]/g}function wp(){return /[\uDB80-\uDBBF][\uDC00-\uDFFF]/g}function xp(){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 s_(e,t){var r=t.emoji,a=t.nonBmp,n=t.punctuations,i=false;return r&&(i||(i=Uo().test(e))),a&&(i||(i=bp().test(e)||wp().test(e)||xp().test(e))),n&&(i||(i=yp().test(e))),i}var ol=s_;function sl(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:.15,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:3,a=e.actualNode.nodeValue.trim();if(!Pe(a)||ol(a,{emoji:true,nonBmp:true}))return false;var n=Be.get("canvasContext",function(){return h.createElement("canvas").getContext("2d",{willReadFrequently:true})}),i=n.canvas,o=Be.get("fonts",function(){return {}}),s=p.getComputedStyle(e.parent.actualNode),l=s.getPropertyValue("font-family");o[l]||(o[l]={occurrences:0,numLigatures:0});var u=o[l];if(u.occurrences>=r){if(u.numLigatures/u.occurrences===1)return true;if(u.numLigatures===0)return false}u.occurrences++;var c=30,d="".concat(c,"px ").concat(l);n.font=d;var g=a.charAt(0),D=n.measureText(g).width;if(D===0)return u.numLigatures++,true;if(D<30){var C=30/D;D*=C,c*=C,d="".concat(c,"px ").concat(l);}i.width=D,i.height=c,n.font=d,n.textAlign="left",n.textBaseline="top",n.fillText(g,0,0);var R=new Uint32Array(n.getImageData(0,0,D,c).data.buffer);if(!R.some(function(X){return X}))return u.numLigatures++,true;n.clearRect(0,0,D,c),n.fillText(a,0,0);var I=new Uint32Array(n.getImageData(0,0,D,c).data.buffer),P=R.reduce(function(X,Q,ne){return Q===0&&I[ne]===0||Q!==0&&I[ne]!==0?X:++X},0),M=a.split("").reduce(function(X,Q){return X+n.measureText(Q).width},0),q=n.measureText(a).width,B=P/R.length,V=1-q/M;return B>=t&&V>=t?(u.numLigatures++,true):false}function It(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(t=d_(e,t),u_(e,t)||c_(e,t))return "";var r=[En,Cn,vp,hp,ea,l_,Ki],a=r.reduce(function(n,i){return t.startNode===e&&(n=Pe(n)),n!==""?n:i(e,t)},"");return t.debug&&m.log(a||"{empty-value}",e.actualNode,t),a}function l_(e){return e.props.nodeType!==3?"":e.props.nodeValue}function u_(e,t){return !e||e.props.nodeType!==1||t.includeHidden?false:!pt(e)}function c_(e,t){var r,a=t.ignoreIconLigature,n=t.pixelThreshold,i=(r=t.occurrenceThreshold)!==null&&r!==void 0?r:t.occuranceThreshold;return e.props.nodeType!==3||!a?false:sl(e,n,i)}function d_(e,t){return t.startNode||(t=Te({startNode:e},t)),e.props.nodeType===1&&t.inLabelledByContext&&t.includeHidden===void 0&&(t=Te({includeHidden:!pt(e)},t)),t}It.alreadyProcessed=function(t,r){return r.processed=r.processed||[],r.processed.includes(t)?true:(r.processed.push(t),false)};function f_(e,t){var r=t.emoji,a=t.nonBmp,n=t.punctuations;return r&&(e=e.replace(Uo(),"")),a&&(e=e.replace(bp(),"").replace(wp(),"").replace(xp(),"")),n&&(e=e.replace(yp(),"")),e}var Fn=f_;function p_(e){return m_(e)||h_(e)||g_(e)||v_(e)?0:1}function m_(e){return Pe(e).length===0}function h_(e){return e.length===1&&e.match(/\D/)}function g_(e){var t=["aa","abc"];return t.includes(e.toLowerCase())}function v_(e){var t=Fn(e,{emoji:true,nonBmp:true,punctuations:true});return !Pe(t)}var ll=p_,va={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 b_(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.looseTyped,a=r===void 0?false:r,n=t.stateTerms,i=n===void 0?[]:n,o=t.locations,s=o===void 0?[]:o,l=t.qualifiers,u=l===void 0?[]:l,c=t.standaloneTerms,d=c===void 0?[]:c,g=t.qualifiedTerms,D=g===void 0?[]:g,C=t.ignoredValues,R=C===void 0?[]:C;if(e=e.toLowerCase().trim(),i=i.concat(va.stateTerms),i.includes(e)||e==="")return true;u=u.concat(va.qualifiers),s=s.concat(va.locations),d=d.concat(va.standaloneTerms),D=D.concat(va.qualifiedTerms);var I=e.split(/\s+/g);if(I[I.length-1]==="webauthn"&&(I.pop(),I.length===0)||!a&&(I[0].length>8&&I[0].substr(0,8)==="section-"&&I.shift(),s.includes(I[0])&&I.shift(),u.includes(I[0])&&(I.shift(),d=[]),I.length!==1))return false;var P=I[I.length-1];if(!R.includes(P))return d.includes(P)||D.includes(P)}var Dp=b_;function y_(e){var t,r;return e.attr("aria-labelledby")&&(t=Dr(e.actualNode,"aria-labelledby"),r=t.map(function(a){var n=je(a);return n?Ar(n):""}).join(" ").trim(),r)||(r=e.attr("aria-label"),r&&(r=Pe(r),r))?r:null}var Zi=y_;function w_(e,t,r){return e=je(e),Ar(e,t,r)}var _p=w_;function x_(e){var t,r,a;if(r=Zi(e),r)return r;if(e.attr("id")){if(!e.actualNode)throw new TypeError("Cannot resolve explicit label reference for non-DOM nodes");var n=vt(e.attr("id"));if(a=Mt(e.actualNode),t=a.querySelector('label[for="'+n+'"]'),r=t&&_p(t,true),r)return r}return t=Xt(e,"label"),r=t&&Ar(t,true),r||null}var Qi=x_;function D_(e){return e=je(e),Qi(e)}var __=D_,A_=[{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"]}],E_=A_;function Ap(e){var t=Yt(e),r=[];return e.children.forEach(function(a){a.actualNode.nodeType===3?t&&r.push(a):r=r.concat(Ap(a));}),r}var C_=Ap,S_=ut(function(t){var r=je(t),a=r.boundingClientRect,n=[],i=xn(r);return t.childNodes.forEach(function(o){if(!(o.nodeType!==3||Pe(o.nodeValue)==="")){var s=k_(o);T_(s,a)||n.push.apply(n,_e(Ep(s,i)));}}),n.length?n:Ep([a],i)}),ul=S_;function k_(e){var t=h.createRange();return t.selectNodeContents(e),Array.from(t.getClientRects())}function T_(e,t){return e.some(function(r){var a=Dn(r);return !ji(a,t)})}function Ep(e,t){var r=[];return e.forEach(function(a){if(!(a.width<1||a.height<1)){var n=t.reduce(function(i,o){return i&&$i(i,o.boundingClientRect)},a);n&&r.push(n);}}),r}function F_(e){var t=Gi(e);if(!t)return [];var r=ul(e);return r.map(function(a){return Xs(t,a)})}var cl=F_,R_=["checkbox","img","meter","progressbar","scrollbar","radio","slider","spinbutton","textbox"];function I_(e){var t=Je(e),r=t.vNode,a=m.commons.aria.getExplicitRole(r);if(a)return R_.indexOf(a)!==-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 dl=I_,L_=["head","title","template","script","style","iframe","object","video","audio","noscript"];function eo(e){return L_.includes(e.props.nodeName)?false:e.children.some(function(t){var r=t.props;return r.nodeType===3&&r.nodeValue.trim()})}function Cp(e,t,r){return eo(e)||dl(e.actualNode)||!r&&!!Zi(e)||!t&&e.children.some(function(a){return a.actualNode.nodeType===1&&Cp(a)})}var Rn=Cp;function P_(e,t,r){return e=je(e),Rn(e,t,r)}var to=P_;function fl(e){return typeof e.children>"u"||eo(e)?true:e.props.nodeType===1&&dl(e)?!!m.commons.text.accessibleTextVirtual(e):e.children.some(function(t){return !t.attr("lang")&&fl(t)&&!Jr(t)})}function M_(e){var t=Cr(e.getAttribute("tabindex"));return t>-1&&Dt(e)&&!Ys(e)}var Sp=M_;function kp(e,t){var r=Je(e),a=r.vNode,n=r.domNode;return a?(a._isHiddenWithCSS===void 0&&(a._isHiddenWithCSS=Tp(n,t)),a._isHiddenWithCSS):Tp(n,t)}function Tp(e,t){if(e.nodeType===9||(e.nodeType===11&&(e=e.host),["STYLE","SCRIPT"].includes(e.nodeName.toUpperCase())))return false;var r=p.getComputedStyle(e,null);if(!r)throw new Error("Style does not exist for the given element.");var a=r.getPropertyValue("display");if(a==="none")return true;var n=["hidden","collapse"],i=r.getPropertyValue("visibility");if(n.includes(i)&&!t||n.includes(i)&&t&&n.includes(t))return true;var o=Rt(e);return o&&!n.includes(i)?kp(o,i):false}var O_=kp;function N_(e){var t=e.doctype;return t===null?false:t.name==="html"&&!t.publicId&&!t.systemId}var Fp=N_;function q_(e){var t;(e instanceof Ft||(t=p)!==null&&t!==void 0&&t.Node&&e instanceof p.Node)&&(e=m.commons.aria.getRole(e));var r=et.ariaRoles[e];return r?.type||null}var gr=q_,B_=["block","list-item","table","flex","grid"],H_=["inline-block","inline-flex","inline-grid"];function V_(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.noLengthCompare,a=t.includeInlineBlock,n=a===void 0?false:a,i=Je(e),o=i.vNode,s=i.domNode;if(ml(s)||!n&&j_(o))return false;var l=$_(s),u="",c="",d=0;return Rp(l,function(g){if(g===l.actualNode)return true;if(d===2)return false;if(g.nodeType===3&&(u+=g.nodeValue),g.nodeType===1){var D=(g.nodeName||"").toUpperCase();g===s&&(d=1);var C=ml(g);if((C||["BR","HR"].includes(D))&&(d===0?(u="",c=""):d=2),C||g.style.display==="none"||g.style.overflow==="hidden"||!["",null,"none"].includes(g.style.float)||!["",null,"relative"].includes(g.style.position))return false;if(gr(g)==="widget")return c+=g.textContent,false}}),u=Pe(u),r?u.length!==0:(c=Pe(c),u.length>c.length)}var pl=V_;function ml(e){var t=Je(e),r=t.vNode,a=r.getComputedStylePropertyValue("display");return B_.includes(a)||a.substr(0,6)==="table-"}function j_(e){var t=e.getComputedStylePropertyValue("display");return H_.includes(t)}function Rp(e,t){t(e.actualNode)!==false&&e.children.forEach(function(r){return Rp(r,t)});}function $_(e){for(var t=Rt(e);t&&!ml(t);)t=Rt(t);return je(t)}function z_(e){e=e||{};var t=e.modalPercent||.75;if(Be.get("isModalOpen"))return Be.get("isModalOpen");var r=Sr(m._tree[0],"dialog, [role=dialog], [aria-modal=true]",Yt);if(r.length)return Be.set("isModalOpen",true),true;for(var a=Bi(p),n=a.width*t,i=a.height*t,o=(a.width-n)/2,s=(a.height-i)/2,l=[{x:o,y:s},{x:a.width-o,y:s},{x:a.width/2,y:a.height/2},{x:o,y:a.height-s},{x:a.width-o,y:a.height-s}],u=l.map(function(D){return Array.from(h.elementsFromPoint(D.x,D.y))}),c=function(){var C=u[g].find(function(R){var I=p.getComputedStyle(R);return parseInt(I.width,10)>=n&&parseInt(I.height,10)>=i&&I.getPropertyValue("pointer-events")!=="none"&&(I.position==="absolute"||I.position==="fixed")});if(C&&u.every(function(R){return R.includes(C)}))return Be.set("isModalOpen",true),{v:true}},d,g=0;g<u.length;g++)if(d=c(),d)return d.v;Be.set("isModalOpen",void 0);}var In=z_;function Ip(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 a=0,n=0,i=Ge(r.getClientRects()),o;try{for(i.s();!(o=i.n()).done;){var s=o.value;if(!(s.height<=t))if(a>s.top+t)a=Math.max(a,s.bottom);else if(n===0)a=s.bottom,n++;else return !0}}catch(l){i.e(l);}finally{i.f();}return false}function G_(e){return e instanceof p.Node}var W_=G_,hl="color.incompleteData",U_={set:function(t,r){if(typeof t!="string")throw new Error("Incomplete data: key must be a string");var a=Be.get(hl,function(){return {}});return r&&(a[t]=r),a[t]},get:function(t){var r=Be.get(hl);return r?.[t]},clear:function(){Be.set(hl,{});}},ct=U_;function X_(e,t){var r=["IMG","CANVAS","OBJECT","IFRAME","VIDEO","SVG"],a=e.nodeName.toUpperCase();if(r.includes(a))return ct.set("bgColor","imgNode"),true;t=t||p.getComputedStyle(e);var n=t.getPropertyValue("background-image"),i=n!=="none";if(i){var o=/gradient/.test(n);ct.set("bgColor",o?"bgGradient":"bgImage");}return i}var ro=X_,Y_=/^#[0-9a-f]{3,8}$/i,K_=/hsl\(\s*([-\d.]+)(rad|turn)/,Ln=(ot=new WeakMap,wt=new WeakMap,Pt=new WeakMap,er=new WeakMap,Tt=new WeakMap,Bt=new WeakMap,Xa=new WeakSet,(function(){function e(t,r,a){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(gt(this,e),ia(this,Xa),lr(this,ot,void 0),lr(this,wt,void 0),lr(this,Pt,void 0),lr(this,er,void 0),lr(this,Tt,void 0),lr(this,Bt,void 0),t instanceof Ln){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=a,this.alpha=n;}return tt(e,[{key:"r",get:function(){return zt(ot,this)},set:function(r){kt(ot,this,r),kt(er,this,Math.round(Ma(r,0,1)*255));}},{key:"g",get:function(){return zt(wt,this)},set:function(r){kt(wt,this,r),kt(Tt,this,Math.round(Ma(r,0,1)*255));}},{key:"b",get:function(){return zt(Pt,this)},set:function(r){kt(Pt,this,r),kt(Bt,this,Math.round(Ma(r,0,1)*255));}},{key:"red",get:function(){return zt(er,this)},set:function(r){kt(ot,this,r/255),kt(er,this,Ma(r,0,255));}},{key:"green",get:function(){return zt(Tt,this)},set:function(r){kt(wt,this,r/255),kt(Tt,this,Ma(r,0,255));}},{key:"blue",get:function(){return zt(Bt,this)},set:function(r){kt(Pt,this,r/255),kt(Bt,this,Ma(r,0,255));}},{key:"toHexString",value:function(){var r=Math.round(this.red).toString(16),a=Math.round(this.green).toString(16),n=Math.round(this.blue).toString(16);return "#"+(this.red>15.5?r:"0"+r)+(this.green>15.5?a:"0"+a)+(this.blue>15.5?n:"0"+n)}},{key:"toJSON",value:function(){var r=this.red,a=this.green,n=this.blue,i=this.alpha;return {red:r,green:a,blue:n,alpha:i}}},{key:"parseString",value:function(r){r=r.replace(K_,function(i,o,s){var l=o+s;switch(s){case "rad":return i.replace(l,Z_(o));case "turn":return i.replace(l,Q_(o))}});try{var a;"Prototype"in p&&"Version"in p.Prototype&&(a=Array.from,Array.from=_d.default);var n=new st(r).toGamut({space:"srgb",method:"clip"}).to("srgb");a&&(Array.from=a,a=null),this.r=n.r,this.g=n.g,this.b=n.b,this.alpha=+n.alpha;}catch{throw ct.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(Y_)||[6,8].includes(r.length)||this.parseString(r);}},{key:"parseColorFnString",value:function(r){this.parseString(r);}},{key:"getRelativeLuminance",value:function(){var r=this.r,a=this.g,n=this.b,i=r<=.04045?r/12.92:Math.pow((r+.055)/1.055,2.4),o=a<=.04045?a/12.92:Math.pow((a+.055)/1.055,2.4),s=n<=.04045?n/12.92:Math.pow((n+.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 a=r-this.getLuminosity();return Tr(Xa,this,J_).call(this,a).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 a=new Ln(this),n=[{name:"r",value:a.r},{name:"g",value:a.g},{name:"b",value:a.b}],i=n.sort(function(c,d){return c.value-d.value}),o=le(i,3),s=o[0],l=o[1],u=o[2];return u.value>s.value?(l.value=(l.value-s.value)*r/(u.value-s.value),u.value=r):l.value=u.value=0,s.value=0,a[u.name]=u.value,a[s.name]=s.value,a[l.name]=l.value,a}},{key:"clip",value:function(){var r=new Ln(this),a=r.getLuminosity(),n=Math.min(r.r,r.g,r.b),i=Math.max(r.r,r.g,r.b);return n<0&&(r.r=a+(r.r-a)*a/(a-n),r.g=a+(r.g-a)*a/(a-n),r.b=a+(r.b-a)*a/(a-n)),i>1&&(r.r=a+(r.r-a)*(1-a)/(i-a),r.g=a+(r.g-a)*(1-a)/(i-a),r.b=a+(r.b-a)*(1-a)/(i-a)),r}}])})());function J_(e){var t=new Ln(this);return t.r+=e,t.g+=e,t.b+=e,t}var mt=Ln;function Ma(e,t,r){return Math.min(Math.max(t,e),r)}function Z_(e){return e*180/Math.PI}function Q_(e){return e*360}function e2(e){var t=new mt;if(t.parseString(e.getPropertyValue("background-color")),t.alpha!==0){var r=e.getPropertyValue("opacity");t.alpha=t.alpha*r;}return t}var ba=e2;function t2(e){var t=p.getComputedStyle(e);return ro(e,t)||ba(t).alpha===1}var r2=t2;function gl(e){if(!e.href)return false;var t=Be.get("firstPageLink",a2);return t?e.compareDocumentPosition(t.actualNode)===e.DOCUMENT_POSITION_FOLLOWING:true}function a2(){var e;return p.location.origin?e=Zt(m._tree,'a[href]:not([href^="javascript:"])').find(function(t){return !Gs(t.actualNode)}):e=Zt(m._tree,'a:not([href^="#"]):not([href^="/#"]):not([href^="javascript:"])')[0],e||null}var n2=/rect\s*\(([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px\s*\)/,i2=/(\w+)\((\d+)/;function o2(e){var t=e.getPropertyValue("clip").match(n2),r=e.getPropertyValue("clip-path").match(i2);if(t&&t.length===5){var a=e.getPropertyValue("position");if(["fixed","absolute"].includes(a))return t[3]-t[1]<=0&&t[2]-t[4]<=0}if(r){var n=r[1],i=parseInt(r[2],10);switch(n){case "inset":return i>=50;case "circle":return i===0;}}return false}function s2(e,t,r){var a=Ra(e,"map");if(!a)return false;var n=a.getAttribute("name");if(!n)return false;var i=Mt(e);if(!i||i.nodeType!==9)return false;var o=Zt(m._tree,'img[usemap="#'.concat(vt(n),'"]'));return !o||!o.length?false:o.some(function(s){var l=s.actualNode;return ao(l,t,r)})}function ao(e,t,r){var a;if(!e)throw new TypeError("Cannot determine if element is visible for non-DOM nodes");var n=e instanceof Ft?e:je(e);e=n?n.actualNode:e;var i="_isVisible"+(t?"ScreenReader":""),o=(a=p.Node)!==null&&a!==void 0?a:{},s=o.DOCUMENT_NODE,l=o.DOCUMENT_FRAGMENT_NODE,u=n?n.props.nodeType:e.nodeType,c=n?n.props.nodeName:e.nodeName.toLowerCase();if(n&&typeof n[i]<"u")return n[i];if(u===s)return true;if(["style","script","noscript","template"].includes(c))return false;if(e&&u===l&&(e=e.host),t){var d=n?n.attr("aria-hidden"):e.getAttribute("aria-hidden");if(d==="true")return false}if(!e){var g=n.parent,D=true;return g&&(D=ao(g,t,true)),n&&(n[i]=D),D}var C=p.getComputedStyle(e,null);if(C===null)return false;if(c==="area")return s2(e,t,r);if(C.getPropertyValue("display")==="none")return false;var R=parseInt(C.getPropertyValue("height")),I=parseInt(C.getPropertyValue("width")),P=Or(e),M=P&&R===0,q=P&&I===0,B=C.getPropertyValue("position")==="absolute"&&(R<2||I<2)&&C.getPropertyValue("overflow")==="hidden";if(!t&&(o2(C)||C.getPropertyValue("opacity")==="0"||M||q||B)||!r&&(C.getPropertyValue("visibility")==="hidden"||!t&&Vi(e)))return false;var V=e.assignedSlot?e.assignedSlot:e.parentNode,X=false;return V&&(X=ao(V,t,true)),n&&(n[i]=X),X}var l2=ao;function u2(e,t){for(var r=["fixed","sticky"],a=[],n=false,i=0;i<e.length;++i){var o=e[i];o===t&&(n=true);var s=p.getComputedStyle(o);if(!n&&r.indexOf(s.position)!==-1){a=[];continue}a.push(o);}return a}var Lp=u2;function Pp(e,t){var r=Mp(t);do{var a=Mp(e);if(a===r||a===t)return c2(e,t);e=a;}while(e);return false}function Mp(e){for(var t=je(e),r=t.parent;r;){if(Or(r.actualNode))return r.actualNode;r=r.parent;}}function c2(e,t){var r=p.getComputedStyle(t),a=r.getPropertyValue("overflow");if(r.getPropertyValue("display")==="inline")return true;var n=Array.from(e.getClientRects()),i=t.getBoundingClientRect(),o={left:i.left,top:i.top,width:i.width,height:i.height};return (["scroll","auto"].includes(a)||t instanceof p.HTMLHtmlElement)&&(o.width=t.scrollWidth,o.height=t.scrollHeight),n.length===1&&a==="hidden"&&r.getPropertyValue("white-space")==="nowrap"&&(n[0]=o),n.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 Op(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:h,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;if(a>999)throw new Error("Infinite loop detected");return Array.from(r.elementsFromPoint(e,t)||[]).filter(function(n){return Mt(n)===r}).reduce(function(n,i){if(qi(i)){var o=Op(e,t,i.shadowRoot,a+1);n=n.concat(o),n.length&&Pp(n[0],i)&&n.push(i);}else n.push(i);return n},[])}var d2=Op;function f2(e,t){if(e.hasAttribute(t)){var r=e.nodeName.toUpperCase(),a=e;(!["A","AREA"].includes(r)||e.ownerSVGElement)&&(a=h.createElement("a"),a.href=e.getAttribute(t));var n=["https:","ftps:"].includes(a.protocol)?a.protocol.replace(/s:$/,":"):a.protocol,i=/^\//.test(a.pathname)?a.pathname:"/".concat(a.pathname),o=m2(i),s=o.pathname,l=o.filename;return {protocol:n,hostname:a.hostname,port:p2(a.port),pathname:/\/$/.test(s)?s:"".concat(s,"/"),search:h2(a.search),hash:g2(a.hash),filename:l}}}function p2(e){var t=["443","80"];return t.includes(e)?"":e}function m2(e){var t=e.split("/").pop();return !t||t.indexOf(".")===-1?{pathname:e,filename:""}:{pathname:e.replace(t,""),filename:/index./.test(t)?"":t}}function h2(e){var t={};if(!e||!e.length)return t;var r=e.substring(1).split("&");if(!r||!r.length)return t;for(var a=0;a<r.length;a++){var n=r[a],i=n.split("="),o=le(i,2),s=o[0],l=o[1],u=l===void 0?"":l;t[decodeURIComponent(s)]=decodeURIComponent(u);}return t}function g2(e){if(!e)return "";var t=/#!?\/?/g,r=e.match(t);if(!r)return "";var a=le(r,1),n=a[0];return n==="#"?"":e}var v2=f2;function b2(e,t){var r=t.getBoundingClientRect(),a=r.top,n=r.left,i={top:a-t.scrollTop,bottom:a-t.scrollTop+t.scrollHeight,left:n-t.scrollLeft,right:n-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=p.getComputedStyle(t);return e.left>r.right||e.top>r.bottom?o.overflow==="scroll"||o.overflow==="auto"||t instanceof p.HTMLBodyElement||t instanceof p.HTMLHtmlElement:true}var vl=b2,Np=0,y2=(function(e){function t(r,a,n){var i;if(gt(this,t),i=ke(this,t),i.shadowId=n,i.children=[],i.actualNode=r,i.parent=a,a||(Np=0),i.nodeIndex=Np++,i._isHidden=null,i._cache={},i._isXHTML=fn(r.ownerDocument),r.nodeName.toLowerCase()==="input"){var o=r.getAttribute("type");o=i._isXHTML?o:(o||"").toLowerCase(),ho().includes(o)||(o="text"),i._type=o;}return Be.get("nodeMap")&&Be.get("nodeMap").set(r,i),i}return Le(t,e),tt(t,[{key:"props",get:function(){if(!this._cache.hasOwnProperty("props")){var a=this.actualNode,n=a.nodeType,i=a.nodeName,o=a.id,s=a.nodeValue;this._cache.props={nodeType:n,nodeName:this._isXHTML?i:i.toLowerCase(),id:o,type:this._type,nodeValue:s},n===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(a){return typeof this.actualNode.getAttribute!="function"?null:this.actualNode.getAttribute(a)}},{key:"hasAttr",value:function(a){return typeof this.actualNode.hasAttribute!="function"?false:this.actualNode.hasAttribute(a)}},{key:"attrNames",get:function(){if(!this._cache.hasOwnProperty("attrNames")){var a;this.actualNode.attributes instanceof p.NamedNodeMap?a=this.actualNode.attributes:a=this.actualNode.cloneNode(false).attributes,this._cache.attrNames=Array.from(a).map(function(n){return n.name});}return this._cache.attrNames}},{key:"getComputedStylePropertyValue",value:function(a){var n="computedStyle_"+a;return this._cache.hasOwnProperty(n)||(this._cache.hasOwnProperty("computedStyle")||(this._cache.computedStyle=p.getComputedStyle(this.actualNode)),this._cache[n]=this._cache.computedStyle.getPropertyValue(a)),this._cache[n]}},{key:"isFocusable",get:function(){return this._cache.hasOwnProperty("isFocusable")||(this._cache.isFocusable=Dt(this.actualNode)),this._cache.isFocusable}},{key:"tabbableElements",get:function(){return this._cache.hasOwnProperty("tabbableElements")||(this._cache.tabbableElements=Nf(this)),this._cache.tabbableElements}},{key:"clientRects",get:function(){return this._cache.hasOwnProperty("clientRects")||(this._cache.clientRects=Array.from(this.actualNode.getClientRects()).filter(function(a){return a.width>0})),this._cache.clientRects}},{key:"boundingClientRect",get:function(){return this._cache.hasOwnProperty("boundingClientRect")||(this._cache.boundingClientRect=this.actualNode.getBoundingClientRect()),this._cache.boundingClientRect}}])})(Ft),bl=y2;function w2(e){return (e||"").trim().replace(/\s{2,}/g," ").split(" ")}var Ht=w2,ya=" [idsMap]";function qp(e,t,r){var a=e[0]._selectorMap;if(a){for(var n=e[0].shadowId,i=0;i<t.length;i++)if(t[i].length>1&&t[i].some(function(l){return Bp(l)}))return;var o=new Set;t.forEach(function(l){var u,c=x2(l,a,n);c==null||(u=c.nodes)===null||u===void 0||u.forEach(function(d){c.isComplexSelector&&!Ca(d,l)||o.add(d);});});var s=[];return o.forEach(function(l){return s.push(l)}),r&&(s=s.filter(r)),s.sort(function(l,u){return l.nodeIndex-u.nodeIndex})}}function x2(e,t,r){var a=e[e.length-1],n=null,i=e.length>1||!!a.pseudos||!!a.classes;if(Bp(a))n=t["*"];else {if(a.id){var o;if(!t[ya]||!Object.hasOwn(t[ya],a.id)||!((o=t[ya][a.id])!==null&&o!==void 0&&o.length))return;n=t[ya][a.id].filter(function(R){return R.shadowId===r});}if(a.tag&&a.tag!=="*"){var s;if(!((s=t[a.tag])!==null&&s!==void 0&&s.length))return;var l=t[a.tag];n=n?yl(l,n):l;}if(a.classes){var u;if(!((u=t["[class]"])!==null&&u!==void 0&&u.length))return;var c=t["[class]"];n=n?yl(c,n):c;}if(a.attributes)for(var d=0;d<a.attributes.length;d++){var g,D=a.attributes[d];if(D.type==="attrValue"&&(i=true),!((g=t["[".concat(D.key,"]")])!==null&&g!==void 0&&g.length))return;var C=t["[".concat(D.key,"]")];n=n?yl(C,n):C;}}return {nodes:n,isComplexSelector:i}}function Bp(e){return e.tag==="*"&&!e.attributes&&!e.id&&!e.classes}function yl(e,t){return e.filter(function(r){return t.includes(r)})}function no(e,t,r){Object.hasOwn(r,e)||(r[e]=[]),r[e].push(t);}function Hp(e,t){e.props.nodeType===1&&(no(e.props.nodeName,e,t),no("*",e,t),e.attrNames.forEach(function(r){r==="id"&&(t[ya]=t[ya]||{},Ht(e.attr(r)).forEach(function(a){no(a,e,t[ya]);})),no("[".concat(r,"]"),e,t);}));}var wl;function xl(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:h.documentElement,t=arguments.length>1?arguments[1]:void 0;wl=false;var r={};Be.set("nodeMap",new WeakMap),Be.set("selectorMap",r);var a=Vp(e,t,null);return a[0]._selectorMap=r,a[0]._hasShadowRoot=wl,a}function D2(e){var t=[];for(e=e.firstChild;e;)t.push(e),e=e.nextSibling;return t}function Dl(e,t,r){var a=new bl(e,t,r);return Hp(a,Be.get("selectorMap")),a}function io(e,t,r){var a=[];return e.forEach(function(n){var i=Vp(n,r,t);i&&a.push.apply(a,_e(i));}),a}function Vp(e,t,r){var a,n;e.documentElement&&(e=e.documentElement);var i=e.nodeName.toLowerCase();if(qi(e))return wl=true,a=Dl(e,r,t),t="a"+Math.random().toString().substring(2),n=Array.from(e.shadowRoot.childNodes),a.children=io(n,a,t),[a];if(i==="content"&&typeof e.getDistributedNodes=="function")return n=Array.from(e.getDistributedNodes()),io(n,r,t);if(i==="slot"&&typeof e.assignedNodes=="function"){n=Array.from(e.assignedNodes()),n.length||(n=D2(e));p.getComputedStyle(e);return io(n,r,t)}if(e.nodeType===h.ELEMENT_NODE)return a=Dl(e,r,t),n=Array.from(e.childNodes),a.children=io(n,a,t),[a];if(e.nodeType===h.TEXT_NODE)return [Dl(e,r)]}function _2(e){return e?e.trim().split("-")[0].toLowerCase():""}var wa=_2;function A2(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 a=m._audit.data.failureSummaries[r];if(a&&typeof a.failureMessage=="function")return a.failureMessage(t[r].map(function(n){return n.message||""}))}}).filter(function(r){return r!==void 0}).join(`
362
+ `,r:"\r",t:" ",f:"\f","\\":"\\",'"':'"'};}),Kv=B(function(e){Object.defineProperty(e,"__esModule",{value:true});var t=ac();function r(a,n,i,o,s,l){var u=a.length,c="";function f(O,H){var V="";for(n++,c=a.charAt(n);n<u;){if(c===O)return n++,V;if(c==="\\"){n++,c=a.charAt(n);var z=void 0;if(c===O)V+=O;else if((z=H[c])!==void 0)V+=z;else if(t.isHex(c)){var Y=c;for(n++,c=a.charAt(n);t.isHex(c);)Y+=c,n++,c=a.charAt(n);c===" "&&(n++,c=a.charAt(n)),V+=String.fromCharCode(parseInt(Y,16));continue}else V+=c;}else V+=c;n++,c=a.charAt(n);}return V}function b(){var O="";for(c=a.charAt(n);n<u;){if(t.isIdent(c))O+=c;else if(c==="\\"){if(n++,n>=u)throw Error("Expected symbol but end of file reached.");if(c=a.charAt(n),t.identSpecialChars[c])O+=c;else if(t.isHex(c)){var H=c;for(n++,c=a.charAt(n);t.isHex(c);)H+=c,n++,c=a.charAt(n);c===" "&&(n++,c=a.charAt(n)),O+=String.fromCharCode(parseInt(H,16));continue}else O+=c;}else return O;n++,c=a.charAt(n);}return O}function A(){c=a.charAt(n);for(var O=false;c===" "||c===" "||c===`
363
+ `||c==="\r"||c==="\f";)O=true,n++,c=a.charAt(n);return O}function k(){var O=I();if(n<u)throw Error('Rule expected but "'+a.charAt(n)+'" found.');return O}function I(){var O=P();if(!O)return null;var H=O;for(c=a.charAt(n);c===",";){if(n++,A(),H.type!=="selectors"&&(H={type:"selectors",selectors:[O]}),O=P(),!O)throw Error('Rule expected after ",".');H.selectors.push(O);}return H}function P(){A();var O={type:"ruleSet"},H=M();if(!H)return null;for(var V=O;H&&(H.type="rule",V.rule=H,V=H,A(),c=a.charAt(n),!(n>=u||c===","||c===")"));)if(s[c]){var z=c;if(n++,A(),H=M(),!H)throw Error('Rule expected after "'+z+'".');H.nestingOperator=z;}else H=M(),H&&(H.nestingOperator=null);return O}function M(){for(var O=null;n<u;)if(c=a.charAt(n),c==="*")n++,(O=O||{}).tagName="*";else if(t.isIdentStart(c)||c==="\\")(O=O||{}).tagName=b();else if(c===".")n++,O=O||{},(O.classNames=O.classNames||[]).push(b());else if(c==="#")n++,(O=O||{}).id=b();else if(c==="["){n++,A();var H={name:b()};if(A(),c==="]")n++;else {var V="";if(o[c]&&(V=c,n++,c=a.charAt(n)),n>=u)throw Error('Expected "=" but end of file reached.');if(c!=="=")throw Error('Expected "=" but "'+c+'" found.');H.operator=V+"=",n++,A();var z="";if(H.valueType="string",c==='"')z=f('"',t.doubleQuotesEscapeChars);else if(c==="'")z=f("'",t.singleQuoteEscapeChars);else if(l&&c==="$")n++,z=b(),H.valueType="substitute";else {for(;n<u&&c!=="]";)z+=c,n++,c=a.charAt(n);z=z.trim();}if(A(),n>=u)throw Error('Expected "]" but end of file reached.');if(c!=="]")throw Error('Expected "]" but "'+c+'" found.');n++,H.value=z;}O=O||{},(O.attrs=O.attrs||[]).push(H);}else if(c===":"){n++;var Y=b(),te={name:Y};if(c==="("){n++;var oe="";if(A(),i[Y]==="selector")te.valueType="selector",oe=I();else {if(te.valueType=i[Y]||"string",c==='"')oe=f('"',t.doubleQuotesEscapeChars);else if(c==="'")oe=f("'",t.singleQuoteEscapeChars);else if(l&&c==="$")n++,oe=b(),te.valueType="substitute";else {for(;n<u&&c!==")";)oe+=c,n++,c=a.charAt(n);oe=oe.trim();}A();}if(n>=u)throw Error('Expected ")" but end of file reached.');if(c!==")")throw Error('Expected ")" but "'+c+'" found.');n++,te.value=oe;}O=O||{},(O.pseudos=O.pseudos||[]).push(te);}else break;return O}return k()}e.parseCssSelector=r;}),Jv=B(function(e){Object.defineProperty(e,"__esModule",{value:true});var t=ac();function r(a){var n="";switch(a.type){case "ruleSet":for(var i=a.rule,o=[];i;)i.nestingOperator&&o.push(i.nestingOperator),o.push(r(i)),i=i.rule;n=o.join(" ");break;case "selectors":n=a.selectors.map(r).join(", ");break;case "rule":a.tagName&&(a.tagName==="*"?n="*":n=t.escapeIdentifier(a.tagName)),a.id&&(n+="#"+t.escapeIdentifier(a.id)),a.classNames&&(n+=a.classNames.map(function(s){return "."+t.escapeIdentifier(s)}).join("")),a.attrs&&(n+=a.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("")),a.pseudos&&(n+=a.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: "'+a.type+'".')}return n}e.renderEntity=r;}),Zv=B(function(e){Object.defineProperty(e,"__esModule",{value:true});var t=Kv(),r=Jv(),a=(function(){function n(){this.pseudos={},this.attrEqualityMods={},this.ruleNestingOperators={},this.substitutesEnabled=false;}return n.prototype.registerSelectorPseudos=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];for(var s=0,l=i;s<l.length;s++){var u=l[s];this.pseudos[u]="selector";}return this},n.prototype.unregisterSelectorPseudos=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];for(var s=0,l=i;s<l.length;s++){var u=l[s];delete this.pseudos[u];}return this},n.prototype.registerNumericPseudos=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];for(var s=0,l=i;s<l.length;s++){var u=l[s];this.pseudos[u]="numeric";}return this},n.prototype.unregisterNumericPseudos=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];for(var s=0,l=i;s<l.length;s++){var u=l[s];delete this.pseudos[u];}return this},n.prototype.registerNestingOperators=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];for(var s=0,l=i;s<l.length;s++){var u=l[s];this.ruleNestingOperators[u]=true;}return this},n.prototype.unregisterNestingOperators=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];for(var s=0,l=i;s<l.length;s++){var u=l[s];delete this.ruleNestingOperators[u];}return this},n.prototype.registerAttrEqualityMods=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];for(var s=0,l=i;s<l.length;s++){var u=l[s];this.attrEqualityMods[u]=true;}return this},n.prototype.unregisterAttrEqualityMods=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];for(var s=0,l=i;s<l.length;s++){var u=l[s];delete this.attrEqualityMods[u];}return this},n.prototype.enableSubstitutes=function(){return this.substitutesEnabled=true,this},n.prototype.disableSubstitutes=function(){return this.substitutesEnabled=false,this},n.prototype.parse=function(i){return t.parseCssSelector(i,0,this.pseudos,this.attrEqualityMods,this.ruleNestingOperators,this.substitutesEnabled)},n.prototype.render=function(i){return r.renderEntity(i).trim()},n})();e.CssSelectorParser=a;}),Qv=B(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":ie(globalThis))!=="object")try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__;}catch{p.globalThis=(function(){if(typeof self<"u")return self;if(typeof p<"u")return p;if(typeof g<"u")return g;if(typeof this<"u")return this;throw new Error("Unable to locate global `this`")})();}}))(),r.encodeHTMLSource=function(s){var l={"&":"&#38;","<":"&#60;",">":"&#62;",'"':"&#34;","'":"&#39;","/":"&#47;"},u=s?/[&<>"'\/]/g:/&(?!#?\w+;)|<|>|"|'|\//g;return function(c){return c?c.toString().replace(u,function(f){return l[f]||f}):""}},typeof t<"u"&&t.exports?t.exports=r:typeof define=="function"&&define.amd?define(function(){return r}):globalThis.doT=r;var a={append:{start:"'+(",end:")+'",startencode:"'+encodeHTML("},split:{start:"';out+=(",end:");out+='",startencode:"';out+=encodeHTML("}},n=/$^/;function i(s,l,u){return (typeof l=="string"?l:l.toString()).replace(s.define||n,function(c,f,b,A){return f.indexOf("def.")===0&&(f=f.substring(4)),f in u||(b===":"?(s.defineParams&&A.replace(s.defineParams,function(k,I,P){u[f]={arg:I,text:P};}),f in u||(u[f]=A)):new Function("def","def['"+f+"']="+A)(u)),""}).replace(s.use||n,function(c,f){s.useParams&&(f=f.replace(s.useParams,function(A,k,I,P){if(u[I]&&u[I].arg&&P){var M=(I+":"+P).replace(/'|\\/g,"_");return u.__exp=u.__exp||{},u.__exp[M]=u[I].text.replace(new RegExp("(^|[^\\w$])"+u[I].arg+"([^\\w$])","g"),"$1"+P+"$2"),k+"def.__exp['"+M+"']"}}));var b=new Function("def","return "+f)(u);return b&&i(s,b,u)})}function o(s){return s.replace(/\\('|\\)/g,"$1").replace(/[\r\t\n]/g," ")}r.template=function(s,l,u){l=l||r.templateSettings;var c=l.append?a.append:a.split,f,b=0,A,k=l.use||l.define?i(l,s,u||{}):s;k=("var out='"+(l.strip?k.replace(/(^|\r|\n)\t* +| +\t*(\r|\n|$)/g," ").replace(/\r|\n|\t|\/\*[\s\S]*?\*\//g,""):k).replace(/'|\\/g,"\\$&").replace(l.interpolate||n,function(I,P){return c.start+o(P)+c.end}).replace(l.encode||n,function(I,P){return f=true,c.startencode+o(P)+c.end}).replace(l.conditional||n,function(I,P,M){return P?M?"';}else if("+o(M)+"){out+='":"';}else{out+='":M?"';if("+o(M)+"){out+='":"';}out+='"}).replace(l.iterate||n,function(I,P,M,O){return P?(b+=1,A=O||"i"+b,P=o(P),"';var arr"+b+"="+P+";if(arr"+b+"){var "+M+","+A+"=-1,l"+b+"=arr"+b+".length-1;while("+A+"<l"+b+"){"+M+"=arr"+b+"["+A+"+=1];out+='"):"';} } out+='"}).replace(l.evaluate||n,function(I,P){return "';"+o(P)+"out+='"})+"';return out;").replace(/\n/g,"\\n").replace(/\t/g,"\\t").replace(/\r/g,"\\r").replace(/(\s|;|\}|^|\{)out\+='';/g,"$1").replace(/\+''/g,""),f&&(!l.selfcontained&&globalThis&&!globalThis._encodeHTML&&(globalThis._encodeHTML=r.encodeHTMLSource(l.doNotSkipEncoded)),k="var encodeHTML = typeof _encodeHTML !== 'undefined' ? _encodeHTML : ("+r.encodeHTMLSource.toString()+"("+(l.doNotSkipEncoded||"")+"));"+k);try{return new Function(l.varname,k)}catch(I){throw typeof console<"u"&&console.log("Could not create a template function: "+k),I}},r.compile=function(s,l){return r.template(s,null,l)};})();}),eb=B(function(e,t){t.exports=function(){};}),ua=B(function(e,t){var r=eb()();t.exports=function(a){return a!==r&&a!==null};}),nc=B(function(e,t){var r=ua(),a=Array.prototype.forEach,n=Object.create,i=function(s,l){var u;for(u in s)l[u]=s[u];};t.exports=function(o){var s=n(null);return a.call(arguments,function(l){r(l)&&i(Object(l),s);}),s};}),tb=B(function(e,t){t.exports=function(){var r=Math.sign;return typeof r!="function"?false:r(10)===1&&r(-20)===-1};}),rb=B(function(e,t){t.exports=function(r){return r=Number(r),isNaN(r)||r===0?r:r>0?1:-1};}),ab=B(function(e,t){t.exports=tb()()?Math.sign:rb();}),nb=B(function(e,t){var r=ab(),a=Math.abs,n=Math.floor;t.exports=function(i){return isNaN(i)?0:(i=Number(i),i===0||!isFinite(i)?i:r(i)*n(a(i)))};}),ca=B(function(e,t){var r=nb(),a=Math.max;t.exports=function(n){return a(0,r(n))};}),ic=B(function(e,t){var r=ca();t.exports=function(a,n,i){var o;return isNaN(a)?(o=n,o>=0?i&&o?o-1:o:1):a===false?false:r(a)};}),zr=B(function(e,t){t.exports=function(r){if(typeof r!="function")throw new TypeError(r+" is not a function");return r};}),_a=B(function(e,t){var r=ua();t.exports=function(a){if(!r(a))throw new TypeError("Cannot use null or undefined");return a};}),ib=B(function(e,t){var r=zr(),a=_a(),n=Function.prototype.bind,i=Function.prototype.call,o=Object.keys,s=Object.prototype.propertyIsEnumerable;t.exports=function(l,u){return function(c,f){var b,A=arguments[2],k=arguments[3];return c=Object(a(c)),r(f),b=o(c),k&&b.sort(typeof k=="function"?n.call(k,c):void 0),typeof l!="function"&&(l=b[l]),i.call(l,b,function(I,P){return s.call(c,I)?i.call(f,A,c[I],I,c,P):u})}};}),ui=B(function(e,t){t.exports=ib()("forEach");}),da=B(function(){}),ob=B(function(e,t){t.exports=function(){var r=Object.assign,a;return typeof r!="function"?false:(a={foo:"raz"},r(a,{bar:"dwa"},{trzy:"trzy"}),a.foo+a.bar+a.trzy==="razdwatrzy")};}),sb=B(function(e,t){t.exports=function(){try{return Object.keys("primitive"),!0}catch{return false}};}),lb=B(function(e,t){var r=ua(),a=Object.keys;t.exports=function(n){return a(r(n)?Object(n):n)};}),ub=B(function(e,t){t.exports=sb()()?Object.keys:lb();}),cb=B(function(e,t){var r=ub(),a=_a(),n=Math.max;t.exports=function(i,o){var s,l,u=n(arguments.length,2),c;for(i=Object(a(i)),c=function(b){try{i[b]=o[b];}catch(A){s||(s=A);}},l=1;l<u;++l)o=arguments[l],r(o).forEach(c);if(s!==void 0)throw s;return i};}),oc=B(function(e,t){t.exports=ob()()?Object.assign:cb();}),db=B(function(e,t){var r=ua(),a={function:true,object:true};t.exports=function(n){return r(n)&&a[ie(n)]||false};}),fb=B(function(e,t){var r=oc(),a=db(),n=ua(),i=Error.captureStackTrace;t.exports=function(o){var s=new Error(o),l=arguments[1],u=arguments[2];return n(u)||a(l)&&(u=l,l=null),n(u)&&r(s,u),n(l)&&(s.code=l),i&&i(s,t.exports),s};}),sc=B(function(e,t){var r=_a(),a=Object.defineProperty,n=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,o=Object.getOwnPropertySymbols;t.exports=function(s,l){var u,c=Object(r(l));if(s=Object(r(s)),i(c).forEach(function(f){try{a(s,f,n(l,f));}catch(b){u=b;}}),typeof o=="function"&&o(c).forEach(function(f){try{a(s,f,n(l,f));}catch(b){u=b;}}),u!==void 0)throw u;return s};}),lc=B(function(e,t){var r=ca(),a=function(u,c){return c},n,i,o,s;try{Object.defineProperty(a,"length",{configurable:!0,writable:!1,enumerable:!1,value:1});}catch{}a.length===1?(n={configurable:true,writable:false,enumerable:false},i=Object.defineProperty,t.exports=function(l,u){return u=r(u),l.length===u?l:(n.value=u,i(l,"length",n))}):(s=sc(),o=(function(){var l=[];return function(u){var c,f=0;if(l[u])return l[u];for(c=[];u--;)c.push("a"+(++f).toString(36));return new Function("fn","return function ("+c.join(", ")+") { return fn.apply(this, arguments); };")}})(),t.exports=function(l,u){var c;if(u=r(u),l.length===u)return l;c=o(u)(l);try{s(c,l);}catch{}return c});}),uc=B(function(e,t){var r=void 0;t.exports=function(a){return a!==r&&a!==null};}),pb=B(function(e,t){var r=uc(),a={object:true,function:true,undefined:true};t.exports=function(n){return r(n)?hasOwnProperty.call(a,ie(n)):false};}),mb=B(function(e,t){var r=pb();t.exports=function(a){if(!r(a))return false;try{return a.constructor?a.constructor.prototype===a:!1}catch{return false}};}),hb=B(function(e,t){var r=mb();t.exports=function(a){if(typeof a!="function"||!hasOwnProperty.call(a,"length"))return false;try{if(typeof a.length!="number"||typeof a.call!="function"||typeof a.apply!="function")return !1}catch{return false}return !r(a)};}),gb=B(function(e,t){var r=hb(),a=/^\s*class[\s{/}]/,n=Function.prototype.toString;t.exports=function(i){return !(!r(i)||a.test(n.call(i)))};}),vb=B(function(e,t){var r="razdwatrzy";t.exports=function(){return typeof r.contains!="function"?false:r.contains("dwa")===true&&r.contains("foo")===false};}),bb=B(function(e,t){var r=String.prototype.indexOf;t.exports=function(a){return r.call(this,a,arguments[1])>-1};}),yb=B(function(e,t){t.exports=vb()()?String.prototype.contains:bb();}),fa=B(function(e,t){var r=uc(),a=gb(),n=oc(),i=nc(),o=yb(),s=t.exports=function(l,u){var c,f,b,A,k;return arguments.length<2||typeof l!="string"?(A=u,u=l,l=null):A=arguments[2],r(l)?(c=o.call(l,"c"),f=o.call(l,"e"),b=o.call(l,"w")):(c=b=true,f=false),k={value:u,configurable:c,enumerable:f,writable:b},A?n(i(A),k):k};s.gs=function(l,u,c){var f,b,A,k;return typeof l!="string"?(A=c,c=u,u=l,l=null):A=arguments[3],r(u)?a(u)?r(c)?a(c)||(A=c,c=void 0):c=void 0:(A=u,u=c=void 0):u=void 0,r(l)?(f=o.call(l,"c"),b=o.call(l,"e")):(f=true,b=false),k={get:u,set:c,configurable:f,enumerable:b},A?n(i(A),k):k};}),wb=B(function(e,t){var r=fa(),a=zr(),n=Function.prototype.apply,i=Function.prototype.call,o=Object.create,s=Object.defineProperty,l=Object.defineProperties,u=Object.prototype.hasOwnProperty,c={configurable:true,enumerable:false,writable:true},f,b,A,k,I,P,M;f=function(H,V){var z;return a(V),u.call(this,"__ee__")?z=this.__ee__:(z=c.value=o(null),s(this,"__ee__",c),c.value=null),z[H]?ie(z[H])==="object"?z[H].push(V):z[H]=[z[H],V]:z[H]=V,this},b=function(H,V){var z,Y;return a(V),Y=this,f.call(this,H,z=function(){A.call(Y,H,z),n.call(V,this,arguments);}),z.__eeOnceListener__=V,this},A=function(H,V){var z,Y,te,oe;if(a(V),!u.call(this,"__ee__"))return this;if(z=this.__ee__,!z[H])return this;if(Y=z[H],ie(Y)==="object")for(oe=0;te=Y[oe];++oe)(te===V||te.__eeOnceListener__===V)&&(Y.length===2?z[H]=Y[oe?0:1]:Y.splice(oe,1));else (Y===V||Y.__eeOnceListener__===V)&&delete z[H];return this},k=function(H){var V,z,Y,te,oe;if(u.call(this,"__ee__")&&(te=this.__ee__[H],!!te))if(ie(te)==="object"){for(z=arguments.length,oe=new Array(z-1),V=1;V<z;++V)oe[V-1]=arguments[V];for(te=te.slice(),V=0;Y=te[V];++V)n.call(Y,this,oe);}else switch(arguments.length){case 1:i.call(te,this);break;case 2:i.call(te,this,arguments[1]);break;case 3:i.call(te,this,arguments[1],arguments[2]);break;default:for(z=arguments.length,oe=new Array(z-1),V=1;V<z;++V)oe[V-1]=arguments[V];n.call(te,this,oe);}},I={on:f,once:b,off:A,emit:k},P={on:r(f),once:r(b),off:r(A),emit:r(k)},M=l({},P),t.exports=e=function(H){return H==null?o(M):l(Object(H),P)},e.methods=I;}),xb=B(function(e,t){t.exports=function(){var r=Array.from,a,n;return typeof r!="function"?false:(a=["raz","dwa"],n=r(a),!!(n&&n!==a&&n[1]==="dwa"))};}),Db=B(function(e,t){t.exports=function(){return (typeof globalThis>"u"?"undefined":ie(globalThis))!=="object"||!globalThis?false:globalThis.Array===Array};}),_b=B(function(e,t){var r=function(){if((typeof self>"u"?"undefined":ie(self))==="object"&&self)return self;if((typeof p>"u"?"undefined":ie(p))==="object"&&p)return p;throw new Error("Unable to resolve global `this`")};t.exports=(function(){if(this)return this;try{Object.defineProperty(Object.prototype,"__global__",{get:function(){return this},configurable:!0});}catch{return r()}try{return __global__||r()}finally{delete Object.prototype.__global__;}})();}),ci=B(function(e,t){t.exports=Db()()?globalThis:_b();}),Ab=B(function(e,t){var r=ci(),a={object:true,symbol:true};t.exports=function(){var n=r.Symbol,i;if(typeof n!="function")return false;i=n("test symbol");try{String(i);}catch{return false}return !(!a[ie(n.iterator)]||!a[ie(n.toPrimitive)]||!a[ie(n.toStringTag)])};}),Eb=B(function(e,t){t.exports=function(r){return r?ie(r)==="symbol"?true:!r.constructor||r.constructor.name!=="Symbol"?false:r[r.constructor.toStringTag]==="Symbol":false};}),cc=B(function(e,t){var r=Eb();t.exports=function(a){if(!r(a))throw new TypeError(a+" is not a symbol");return a};}),Cb=B(function(e,t){var r=fa(),a=Object.create,n=Object.defineProperty,i=Object.prototype,o=a(null);t.exports=function(s){for(var l=0,u,c;o[s+(l||"")];)++l;return s+=l||"",o[s]=true,u="@@"+s,n(i,u,r.gs(null,function(f){c||(c=true,n(this,u,r(f)),c=false);})),u};}),Sb=B(function(e,t){var r=fa(),a=ci().Symbol;t.exports=function(n){return Object.defineProperties(n,{hasInstance:r("",a&&a.hasInstance||n("hasInstance")),isConcatSpreadable:r("",a&&a.isConcatSpreadable||n("isConcatSpreadable")),iterator:r("",a&&a.iterator||n("iterator")),match:r("",a&&a.match||n("match")),replace:r("",a&&a.replace||n("replace")),search:r("",a&&a.search||n("search")),species:r("",a&&a.species||n("species")),split:r("",a&&a.split||n("split")),toPrimitive:r("",a&&a.toPrimitive||n("toPrimitive")),toStringTag:r("",a&&a.toStringTag||n("toStringTag")),unscopables:r("",a&&a.unscopables||n("unscopables"))})};}),kb=B(function(e,t){var r=fa(),a=cc(),n=Object.create(null);t.exports=function(i){return Object.defineProperties(i,{for:r(function(o){return n[o]?n[o]:n[o]=i(String(o))}),keyFor:r(function(o){var s;a(o);for(s in n)if(n[s]===o)return s})})};}),Tb=B(function(e,t){var r=fa(),a=cc(),n=ci().Symbol,i=Cb(),o=Sb(),s=kb(),l=Object.create,u=Object.defineProperties,c=Object.defineProperty,f,b,A;if(typeof n=="function")try{String(n()),A=!0;}catch{}else n=null;b=function(I){if(this instanceof b)throw new TypeError("Symbol is not a constructor");return f(I)},t.exports=f=function k(I){var P;if(this instanceof k)throw new TypeError("Symbol is not a constructor");return A?n(I):(P=l(b.prototype),I=I===void 0?"":String(I),u(P,{__description__:r("",I),__name__:r("",i(I))}))},o(f),s(f),u(b.prototype,{constructor:r(f),toString:r("",function(){return this.__name__})}),u(f.prototype,{toString:r(function(){return "Symbol ("+a(this).__description__+")"}),valueOf:r(function(){return a(this)})}),c(f.prototype,f.toPrimitive,r("",function(){var k=a(this);return ie(k)==="symbol"?k:k.toString()})),c(f.prototype,f.toStringTag,r("c","Symbol")),c(b.prototype,f.toStringTag,r("c",f.prototype[f.toStringTag])),c(b.prototype,f.toPrimitive,r("c",f.prototype[f.toPrimitive]));}),Fb=B(function(e,t){t.exports=Ab()()?ci().Symbol:Tb();}),Rb=B(function(e,t){var r=Object.prototype.toString,a=r.call((function(){return arguments})());t.exports=function(n){return r.call(n)===a};}),Ib=B(function(e,t){var r=Object.prototype.toString,a=RegExp.prototype.test.bind(/^[object [A-Za-z0-9]*Function]$/);t.exports=function(n){return typeof n=="function"&&a(r.call(n))};}),Lb=B(function(e,t){var r=Object.prototype.toString,a=r.call("");t.exports=function(n){return typeof n=="string"||n&&ie(n)==="object"&&(n instanceof String||r.call(n)===a)||false};}),Pb=B(function(e,t){var r=Fb().iterator,a=Rb(),n=Ib(),i=ca(),o=zr(),s=_a(),l=ua(),u=Lb(),c=Array.isArray,f=Function.prototype.call,b={configurable:true,enumerable:true,writable:true,value:null},A=Object.defineProperty;t.exports=function(k){var I=arguments[1],P=arguments[2],M,O,H,V,z,Y,te,oe,ve,re;if(k=Object(s(k)),l(I)&&o(I),!this||this===Array||!n(this)){if(!I){if(a(k))return z=k.length,z!==1?Array.apply(null,k):(V=new Array(1),V[0]=k[0],V);if(c(k)){for(V=new Array(z=k.length),O=0;O<z;++O)V[O]=k[O];return V}}V=[];}else M=this;if(!c(k)){if((ve=k[r])!==void 0){for(te=o(ve).call(k),M&&(V=new M),oe=te.next(),O=0;!oe.done;)re=I?f.call(I,P,oe.value,O):oe.value,M?(b.value=re,A(V,O,b)):V[O]=re,oe=te.next(),++O;z=O;}else if(u(k)){for(z=k.length,M&&(V=new M),O=0,H=0;O<z;++O)re=k[O],O+1<z&&(Y=re.charCodeAt(0),Y>=55296&&Y<=56319&&(re+=k[++O])),re=I?f.call(I,P,re,H):re,M?(b.value=re,A(V,H,b)):V[H]=re,++H;z=H;}}if(z===void 0)for(z=i(k.length),M&&(V=new M(z)),O=0;O<z;++O)re=I?f.call(I,P,k[O],O):k[O],M?(b.value=re,A(V,O,b)):V[O]=re;return M&&(b.value=null,V.length=z),V};}),Yo=B(function(e,t){t.exports=xb()()?Array.from:Pb();}),Mb=B(function(e,t){var r=Yo(),a=Array.isArray;t.exports=function(n){return a(n)?n:r(n)};}),Ob=B(function(e,t){var r=Mb(),a=ua(),n=zr(),i=Array.prototype.slice,o;o=function(l){return this.map(function(u,c){return u?u(l[c]):l[c]}).concat(i.call(l,this.length))},t.exports=function(s){return s=r(s),s.forEach(function(l){a(l)&&n(l);}),o.bind(s)};}),Nb=B(function(e,t){var r=zr();t.exports=function(a){var n;return typeof a=="function"?{set:a,get:a}:(n={get:r(a.get)},a.set!==void 0?(n.set=r(a.set),a.delete&&(n.delete=r(a.delete)),a.clear&&(n.clear=r(a.clear)),n):(n.set=n.get,n))};}),qb=B(function(e,t){var r=fb(),a=lc(),n=fa(),i=wb().methods,o=Ob(),s=Nb(),l=Function.prototype.apply,u=Function.prototype.call,c=Object.create,f=Object.defineProperties,b=i.on,A=i.emit;t.exports=function(k,I,P){var M=c(null),O,H,V,z,Y,te,oe,ve,re,ue,pe,be,Fe,qe,Ee;return I!==false?H=I:isNaN(k.length)?H=1:H=k.length,P.normalizer&&(ue=s(P.normalizer),V=ue.get,z=ue.set,Y=ue.delete,te=ue.clear),P.resolvers!=null&&(Ee=o(P.resolvers)),V?qe=a(function(Pe){var de,Te,U=arguments;if(Ee&&(U=Ee(U)),de=V(U),de!==null&&hasOwnProperty.call(M,de))return pe&&O.emit("get",de,U,this),M[de];if(U.length===1?Te=u.call(k,this,U[0]):Te=l.call(k,this,U),de===null){if(de=V(U),de!==null)throw r("Circular invocation","CIRCULAR_INVOCATION");de=z(U);}else if(hasOwnProperty.call(M,de))throw r("Circular invocation","CIRCULAR_INVOCATION");return M[de]=Te,be&&O.emit("set",de,null,Te),Te},H):I===0?qe=function(){var de;if(hasOwnProperty.call(M,"data"))return pe&&O.emit("get","data",arguments,this),M.data;if(arguments.length?de=l.call(k,this,arguments):de=u.call(k,this),hasOwnProperty.call(M,"data"))throw r("Circular invocation","CIRCULAR_INVOCATION");return M.data=de,be&&O.emit("set","data",null,de),de}:qe=function(de){var Te,U=arguments,we;if(Ee&&(U=Ee(arguments)),we=String(U[0]),hasOwnProperty.call(M,we))return pe&&O.emit("get",we,U,this),M[we];if(U.length===1?Te=u.call(k,this,U[0]):Te=l.call(k,this,U),hasOwnProperty.call(M,we))throw r("Circular invocation","CIRCULAR_INVOCATION");return M[we]=Te,be&&O.emit("set",we,null,Te),Te},O={original:k,memoized:qe,profileName:P.profileName,get:function(de){return Ee&&(de=Ee(de)),V?V(de):String(de[0])},has:function(de){return hasOwnProperty.call(M,de)},delete:function(de){var Te;hasOwnProperty.call(M,de)&&(Y&&Y(de),Te=M[de],delete M[de],Fe&&O.emit("delete",de,Te));},clear:function(){var de=M;te&&te(),M=c(null),O.emit("clear",de);},on:function(de,Te){return de==="get"?pe=true:de==="set"?be=true:de==="delete"&&(Fe=true),b.call(this,de,Te)},emit:A,updateEnv:function(){k=O.original;}},V?oe=a(function(Pe){var de,Te=arguments;Ee&&(Te=Ee(Te)),de=V(Te),de!==null&&O.delete(de);},H):I===0?oe=function(){return O.delete("data")}:oe=function(de){return Ee&&(de=Ee(arguments)[0]),O.delete(de)},ve=a(function(){var Pe,de=arguments;return I===0?M.data:(Ee&&(de=Ee(de)),V?Pe=V(de):Pe=String(de[0]),M[Pe])}),re=a(function(){var Pe,de=arguments;return I===0?O.has("data"):(Ee&&(de=Ee(de)),V?Pe=V(de):Pe=String(de[0]),Pe===null?false:O.has(Pe))}),f(qe,{__memoized__:n(true),delete:n(oe),clear:n(O.clear),_get:n(ve),_has:n(re)}),O};}),Bb=B(function(e,t){var r=zr(),a=ui(),n=da(),i=qb(),o=ic();t.exports=function s(l){var u,c,f;if(r(l),u=Object(arguments[1]),u.async&&u.promise)throw new Error("Options 'async' and 'promise' cannot be used together");return hasOwnProperty.call(l,"__memoized__")&&!u.force?l:(c=o(u.length,l.length,u.async&&n.async),f=i(l,c,u),a(n,function(b,A){u[A]&&b(u[A],f,u);}),s.__profiler__&&s.__profiler__(f),f.updateEnv(),f.memoized)};}),Hb=B(function(e,t){t.exports=function(r){var a,n,i=r.length;if(!i)return "";for(a=String(r[n=0]);--i;)a+=""+r[++n];return a};}),Vb=B(function(e,t){t.exports=function(r){return r?function(a){for(var n=String(a[0]),i=0,o=r;--o;)n+=""+a[++i];return n}:function(){return ""}};}),jb=B(function(e,t){t.exports=function(){var r=Number.isNaN;return typeof r!="function"?false:!r({})&&r(NaN)&&!r(34)};}),$b=B(function(e,t){t.exports=function(r){return r!==r};}),zb=B(function(e,t){t.exports=jb()()?Number.isNaN:$b();}),Ko=B(function(e,t){var r=zb(),a=ca(),n=_a(),i=Array.prototype.indexOf,o=Object.prototype.hasOwnProperty,s=Math.abs,l=Math.floor;t.exports=function(u){var c,f,b,A;if(!r(u))return i.apply(this,arguments);for(f=a(n(this).length),b=arguments[1],isNaN(b)?b=0:b>=0?b=l(b):b=a(this.length)-l(s(b)),c=b;c<f;++c)if(o.call(this,c)&&(A=this[c],r(A)))return c;return -1};}),Gb=B(function(e,t){var r=Ko(),a=Object.create;t.exports=function(){var n=0,i=[],o=a(null);return {get:function(l){var u=0,c=i,f,b=l.length;if(b===0)return c[b]||null;if(c=c[b]){for(;u<b-1;){if(f=r.call(c[0],l[u]),f===-1)return null;c=c[1][f],++u;}return f=r.call(c[0],l[u]),f===-1?null:c[1][f]||null}return null},set:function(l){var u=0,c=i,f,b=l.length;if(b===0)c[b]=++n;else {for(c[b]||(c[b]=[[],[]]),c=c[b];u<b-1;)f=r.call(c[0],l[u]),f===-1&&(f=c[0].push(l[u])-1,c[1].push([[],[]])),c=c[1][f],++u;f=r.call(c[0],l[u]),f===-1&&(f=c[0].push(l[u])-1),c[1][f]=++n;}return o[n]=l,n},delete:function(l){var u=0,c=i,f,b=o[l],A=b.length,k=[];if(A===0)delete c[A];else if(c=c[A]){for(;u<A-1;){if(f=r.call(c[0],b[u]),f===-1)return;k.push(c,f),c=c[1][f],++u;}if(f=r.call(c[0],b[u]),f===-1)return;for(l=c[1][f],c[0].splice(f,1),c[1].splice(f,1);!c[0].length&&k.length;)f=k.pop(),c=k.pop(),c[0].splice(f,1),c[1].splice(f,1);}delete o[l];},clear:function(){i=[],o=a(null);}}};}),Wb=B(function(e,t){var r=Ko();t.exports=function(){var a=0,n=[],i=[];return {get:function(s){var l=r.call(n,s[0]);return l===-1?null:i[l]},set:function(s){return n.push(s[0]),i.push(++a),a},delete:function(s){var l=r.call(i,s);l!==-1&&(n.splice(l,1),i.splice(l,1));},clear:function(){n=[],i=[];}}};}),Ub=B(function(e,t){var r=Ko(),a=Object.create;t.exports=function(n){var i=0,o=[[],[]],s=a(null);return {get:function(u){for(var c=0,f=o,b;c<n-1;){if(b=r.call(f[0],u[c]),b===-1)return null;f=f[1][b],++c;}return b=r.call(f[0],u[c]),b===-1?null:f[1][b]||null},set:function(u){for(var c=0,f=o,b;c<n-1;)b=r.call(f[0],u[c]),b===-1&&(b=f[0].push(u[c])-1,f[1].push([[],[]])),f=f[1][b],++c;return b=r.call(f[0],u[c]),b===-1&&(b=f[0].push(u[c])-1),f[1][b]=++i,s[i]=u,i},delete:function(u){for(var c=0,f=o,b,A=[],k=s[u];c<n-1;){if(b=r.call(f[0],k[c]),b===-1)return;A.push(f,b),f=f[1][b],++c;}if(b=r.call(f[0],k[c]),b!==-1){for(u=f[1][b],f[0].splice(b,1),f[1].splice(b,1);!f[0].length&&A.length;)b=A.pop(),f=A.pop(),f[0].splice(b,1),f[1].splice(b,1);delete s[u];}},clear:function(){o=[[],[]],s=a(null);}}};}),dc=B(function(e,t){var r=zr(),a=ui(),n=Function.prototype.call;t.exports=function(i,o){var s={},l=arguments[2];return r(o),a(i,function(u,c,f,b){s[c]=n.call(o,l,u,c,f,b);}),s};}),Jo=B(function(e,t){var r=function(i){if(typeof i!="function")throw new TypeError(i+" is not a function");return i},a=function(i){var o=m.createTextNode(""),s,l,u=0;return new i(function(){var c;if(s)l&&(s=l.concat(s));else {if(!l)return;s=l;}if(l=s,s=null,typeof l=="function"){c=l,l=null,c();return}for(o.data=u=++u%2;l;)c=l.shift(),l.length||(l=null),c();}).observe(o,{characterData:true}),function(c){if(r(c),s){typeof s=="function"?s=[s,c]:s.push(c);return}s=c,o.data=u=++u%2;}};t.exports=(function(){if((typeof process>"u"?"undefined":ie(process))==="object"&&process&&typeof process.nextTick=="function")return process.nextTick;if(typeof queueMicrotask=="function")return function(n){queueMicrotask(r(n));};if((typeof m>"u"?"undefined":ie(m))==="object"&&m){if(typeof MutationObserver=="function")return a(MutationObserver);if(typeof WebKitMutationObserver=="function")return a(WebKitMutationObserver)}return typeof setImmediate=="function"?function(n){setImmediate(r(n));}:typeof setTimeout=="function"||(typeof setTimeout>"u"?"undefined":ie(setTimeout))==="object"?function(n){setTimeout(r(n),0);}:null})();}),Xb=B(function(){var e=Yo(),t=dc(),r=sc(),a=lc(),n=Jo(),i=Array.prototype.slice,o=Function.prototype.apply,s=Object.create;da().async=function(l,u){var c=s(null),f=s(null),b=u.memoized,A=u.original,k,I,P;u.memoized=a(function(M){var O=arguments,H=O[O.length-1];return typeof H=="function"&&(k=H,O=i.call(O,0,-1)),b.apply(I=this,P=O)},b);try{r(u.memoized,b);}catch{}u.on("get",function(M){var O,H,V;if(k){if(c[M]){typeof c[M]=="function"?c[M]=[c[M],k]:c[M].push(k),k=null;return}O=k,H=I,V=P,k=I=P=null,n(function(){var z;hasOwnProperty.call(f,M)?(z=f[M],u.emit("getasync",M,V,H),o.call(O,z.context,z.args)):(k=O,I=H,P=V,b.apply(H,V));});}}),u.original=function(){var M,O,H,V;return k?(M=e(arguments),O=function z(Y){var te,oe,ve=z.id;if(ve==null){n(o.bind(z,this,arguments));return}if(delete z.id,te=c[ve],delete c[ve],!!te)return oe=e(arguments),u.has(ve)&&(Y?u.delete(ve):(f[ve]={context:this,args:oe},u.emit("setasync",ve,typeof te=="function"?1:te.length))),typeof te=="function"?V=o.call(te,this,oe):te.forEach(function(re){V=o.call(re,this,oe);},this),V},H=k,k=I=P=null,M.push(O),V=o.call(A,this,M),O.cb=H,k=O,V):o.call(A,this,arguments)},u.on("set",function(M){if(!k){u.delete(M);return}c[M]?typeof c[M]=="function"?c[M]=[c[M],k.cb]:c[M].push(k.cb):c[M]=k.cb,delete k.cb,k.id=M,k=null;}),u.on("delete",function(M){var O;hasOwnProperty.call(c,M)||f[M]&&(O=f[M],delete f[M],u.emit("deleteasync",M,i.call(O.args,1)));}),u.on("clear",function(){var M=f;f=s(null),u.emit("clearasync",t(M,function(O){return i.call(O.args,1)}));});};}),Yb=B(function(e,t){var r=Array.prototype.forEach,a=Object.create;t.exports=function(n){var i=a(null);return r.call(arguments,function(o){i[o]=true;}),i};}),fc=B(function(e,t){t.exports=function(r){return typeof r=="function"};}),Kb=B(function(e,t){var r=fc();t.exports=function(a){try{return a&&r(a.toString)?a.toString():String(a)}catch{throw new TypeError("Passed argument cannot be stringifed")}};}),Jb=B(function(e,t){var r=_a(),a=Kb();t.exports=function(n){return a(r(n))};}),Zb=B(function(e,t){var r=fc();t.exports=function(a){try{return a&&r(a.toString)?a.toString():String(a)}catch{return "<Non-coercible to string value>"}};}),Qb=B(function(e,t){var r=Zb(),a=/[\n\r\u2028\u2029]/g;t.exports=function(n){var i=r(n);return i.length>100&&(i=i.slice(0,99)+"\u2026"),i=i.replace(a,function(o){return JSON.stringify(o).slice(1,-1)}),i};}),pc=B(function(e,t){t.exports=r,t.exports.default=r;function r(a){return !!a&&(ie(a)==="object"||typeof a=="function")&&typeof a.then=="function"}}),ey=B(function(){var e=dc(),t=Yb(),r=Jb(),a=Qb(),n=pc(),i=Jo(),o=Object.create,s=t("then","then:finally","done","done:finally");da().promise=function(l,u){var c=o(null),f=o(null),b=o(null);if(l===true)l=null;else if(l=r(l),!s[l])throw new TypeError("'"+a(l)+"' is not valid promise mode");u.on("set",function(A,k,I){var P=false;if(!n(I)){f[A]=I,u.emit("setasync",A,1);return}c[A]=1,b[A]=I;var M=function(Y){var te=c[A];if(P)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)
364
+ Consider to rely on 'then' or 'done' mode instead.`);te&&(delete c[A],f[A]=Y,u.emit("setasync",A,te));},O=function(){P=true,c[A]&&(delete c[A],delete b[A],u.delete(A));},H=l;if(H||(H="then"),H==="then"){var V=function(){i(O);};I=I.then(function(z){i(M.bind(this,z));},V),typeof I.finally=="function"&&I.finally(V);}else if(H==="done"){if(typeof I.done!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done' mode");I.done(M,O);}else if(H==="done:finally"){if(typeof I.done!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done:finally' mode");if(typeof I.finally!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'finally' in 'done:finally' mode");I.done(M),I.finally(O);}}),u.on("get",function(A,k,I){var P;if(c[A]){++c[A];return}P=b[A];var M=function(){u.emit("getasync",A,k,I);};n(P)?typeof P.done=="function"?P.done(M):P.then(function(){i(M);}):M();}),u.on("delete",function(A){if(delete b[A],c[A]){delete c[A];return}if(hasOwnProperty.call(f,A)){var k=f[A];delete f[A],u.emit("deleteasync",A,[k]);}}),u.on("clear",function(){var A=f;f=o(null),c=o(null),b=o(null),u.emit("clearasync",e(A,function(k){return [k]}));});};}),ty=B(function(){var e=zr(),t=ui(),r=da(),a=Function.prototype.apply;r.dispose=function(n,i,o){var s;if(e(n),o.async&&r.async||o.promise&&r.promise){i.on("deleteasync",s=function(u,c){a.call(n,null,c);}),i.on("clearasync",function(l){t(l,function(u,c){s(c,u);});});return}i.on("delete",s=function(u,c){n(c);}),i.on("clear",function(l){t(l,function(u,c){s(c,u);});});};}),ry=B(function(e,t){t.exports=2147483647;}),ay=B(function(e,t){var r=ca(),a=ry();t.exports=function(n){if(n=r(n),n>a)throw new TypeError(n+" exceeds maximum possible timeout");return n};}),ny=B(function(){var e=Yo(),t=ui(),r=Jo(),a=pc(),n=ay(),i=da(),o=Function.prototype,s=Math.max,l=Math.min,u=Object.create;i.maxAge=function(c,f,b){var A,k,I,P;c=n(c),c&&(A=u(null),k=b.async&&i.async||b.promise&&i.promise?"async":"",f.on("set"+k,function(M){A[M]=setTimeout(function(){f.delete(M);},c),typeof A[M].unref=="function"&&A[M].unref(),P&&(P[M]&&P[M]!=="nextTick"&&clearTimeout(P[M]),P[M]=setTimeout(function(){delete P[M];},I),typeof P[M].unref=="function"&&P[M].unref());}),f.on("delete"+k,function(M){clearTimeout(A[M]),delete A[M],P&&(P[M]!=="nextTick"&&clearTimeout(P[M]),delete P[M]);}),b.preFetch&&(b.preFetch===true||isNaN(b.preFetch)?I=.333:I=s(l(Number(b.preFetch),1),0),I&&(P={},I=(1-I)*c,f.on("get"+k,function(M,O,H){P[M]||(P[M]="nextTick",r(function(){var V;P[M]==="nextTick"&&(delete P[M],f.delete(M),b.async&&(O=e(O),O.push(o)),V=f.memoized.apply(H,O),b.promise&&a(V)&&(typeof V.done=="function"?V.done(o,o):V.then(o,o)));}));}))),f.on("clear"+k,function(){t(A,function(M){clearTimeout(M);}),A={},P&&(t(P,function(M){M!=="nextTick"&&clearTimeout(M);}),P={});}));};}),iy=B(function(e,t){var r=ca(),a=Object.create,n=Object.prototype.hasOwnProperty;t.exports=function(i){var o=0,s=1,l=a(null),u=a(null),c=0,f;return i=r(i),{hit:function(A){var k=u[A],I=++c;if(l[I]=A,u[A]=I,!k)return ++o,o<=i?void 0:(A=l[s],f(A),A);if(delete l[k],s===k)for(;!n.call(l,++s););},delete:f=function(A){var k=u[A];if(k&&(delete l[k],delete u[A],--o,s===k)){if(!o){c=0,s=1;return}for(;!n.call(l,++s););}},clear:function(){o=0,s=1,l=a(null),u=a(null),c=0;}}};}),oy=B(function(){var e=ca(),t=iy(),r=da();r.max=function(a,n,i){var o,s,l;a=e(a),a&&(s=t(a),o=i.async&&r.async||i.promise&&r.promise?"async":"",n.on("set"+o,l=function(c){c=s.hit(c),c!==void 0&&n.delete(c);}),n.on("get"+o,l),n.on("delete"+o,s.delete),n.on("clear"+o,s.clear));};}),sy=B(function(){var e=fa(),t=da(),r=Object.create,a=Object.defineProperties;t.refCounter=function(n,i,o){var s,l;s=r(null),l=o.async&&t.async||o.promise&&t.promise?"async":"",i.on("set"+l,function(u,c){s[u]=c||1;}),i.on("get"+l,function(u){++s[u];}),i.on("delete"+l,function(u){delete s[u];}),i.on("clear"+l,function(){s={};}),a(i.memoized,{deleteRef:e(function(){var u=i.get(arguments);return u===null||!s[u]?null:--s[u]?false:(i.delete(u),true)}),getRefCount:e(function(){var u=i.get(arguments);return u===null||!s[u]?0:s[u]})});};}),ly=B(function(e,t){var r=nc(),a=ic(),n=Bb();t.exports=function(i){var o=r(arguments[1]),s;return o.normalizer||(s=o.length=a(o.length,i.length,o.async),s!==0&&(o.primitive?s===false?o.normalizer=Hb():s>1&&(o.normalizer=Vb()(s)):s===false?o.normalizer=Gb()():s===1?o.normalizer=Wb()():o.normalizer=Ub()(s))),o.async&&Xb(),o.promise&&ey(),o.dispose&&ty(),o.maxAge&&ny(),o.max&&oy(),o.refCounter&&sy(),n(i,o)};}),uy=[{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"}],mr={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"])};uy.forEach(function(e){var t=e.name,r=e.value,a=e.priority,n=e.group;mr[t]=r,mr[t+"_PRIO"]=a,mr[t+"_GROUP"]=n,mr.results[a]=r,mr.resultGroups[a]=n,mr.resultGroupMap[r]=n;}),Object.freeze(mr.results),Object.freeze(mr.resultGroups),Object.freeze(mr.resultGroupMap),Object.freeze(mr);var je=mr;function cy(){(typeof console>"u"?"undefined":ie(console))==="object"&&console.log&&Function.prototype.apply.call(console.log,console,arguments);}var pa=cy,dy=/[\t\r\n\f]/g,fy=(function(){function e(){ft(this,e),this.parent=void 0;}return vt(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 a=this.attr("class");if(!a)return false;var n=" "+r+" ";return (" "+a+" ").replace(dy," ").indexOf(n)>=0}}])})(),Rt=fy,Zo={};dr(Zo,{DqElement:function(){return sr},RuleError:function(){return go},aggregate:function(){return di},aggregateChecks:function(){return gc},aggregateNodeResults:function(){return vc},aggregateResult:function(){return bc},areStylesSet:function(){return yy},assert:function(){return Qe},checkHelper:function(){return Cs},clone:function(){return Mr},closest:function(){return Kt},collectResultsFromFrames:function(){return lf},contains:function(){return Or},convertSelector:function(){return Li},cssParser:function(){return Vd},deepMerge:function(){return Bs},escapeSelector:function(){return yt},extendMetaData:function(){return Hs},filterHtmlAttrs:function(){return _m},finalizeRuleResult:function(){return rn},findBy:function(){return Dn},getAllChecks:function(){return qi},getAncestry:function(){return Ii},getBaseLang:function(){return xa},getCheckMessage:function(){return q2},getCheckOption:function(){return uo},getElementSource:function(){return Bd},getEnvironmentData:function(){return ra},getFlattenedTree:function(){return kl},getFrameContexts:function(){return tA},getFriendlyUriEnd:function(){return xc},getNodeAttributes:function(){return on},getNodeFromTree:function(){return ze},getPreloadConfig:function(){return ym},getRootNode:function(){return _n},getRule:function(){return am},getScroll:function(){return Br},getScrollState:function(){return nA},getSelector:function(){return As},getSelectorData:function(){return Ri},getShadowSelector:function(){return xs},getStandards:function(){return iA},getStyleSheetFactory:function(){return om},getXpath:function(){return qd},injectStyle:function(){return lA},isArrayLike:function(){return Ll},isContextObject:function(){return Pl},isContextProp:function(){return fo},isContextSpec:function(){return sm},isHidden:function(){return uA},isHtmlElement:function(){return Ol},isLabelledFramesSelector:function(){return Ml},isLabelledShadowDomSelector:function(){return po},isNodeInContext:function(){return Nl},isShadowRoot:function(){return Hi},isValidLang:function(){return bo},isXHTML:function(){return hn},matchAncestry:function(){return ql},matches:function(){return ks},matchesExpression:function(){return Sa},matchesSelector:function(){return Aa},memoize:function(){return lt},mergeResults:function(){return Bi},nodeLookup:function(){return Ze},nodeSerializer:function(){return lr},nodeSorter:function(){return Bl},objectHasOwn:function(){return Sr},parseCrossOriginStylesheet:function(){return Vl},parseSameOriginStylesheet:function(){return cm},parseStylesheet:function(){return Hl},parseTabindex:function(){return kr},performanceTimer:function(){return tt},pollyfillElementsFromPoint:function(){return dm},preload:function(){return vm},preloadCssom:function(){return pm},preloadMedia:function(){return gm},processMessage:function(){return Il},publishMetaData:function(){return mo},querySelectorAll:function(){return er},querySelectorAllFilter:function(){return Tr},queue:function(){return _r},respondable:function(){return vr},ruleShouldRun:function(){return Dm},select:function(){return jl},sendCommandToFrame:function(){return af},serializeError:function(){return ho},setScrollState:function(){return jA},shadowSelect:function(){return $A},shadowSelectAll:function(){return $l},shouldPreload:function(){return bm},toArray:function(){return wc},tokenList:function(){return jt},uniqueArray:function(){return qn},uuid:function(){return Uw},validInputTypes:function(){return vo},validLangs:function(){return km}});function py(e,t,r){t=t.slice(),r&&t.push(r);var a=t.map(function(n){return e.indexOf(n)}).sort();return e[a.pop()]}var di=py,my=je.CANTTELL_PRIO,hy=je.FAIL_PRIO,fi=[];fi[je.PASS_PRIO]=true,fi[je.CANTTELL_PRIO]=null,fi[je.FAIL_PRIO]=false;var mc=["any","all","none"];function hc(e,t){return mc.reduce(function(r,a){return r[a]=(e[a]||[]).map(function(n){return t(n,a)}),r},{})}function gy(e){var t=Object.assign({},e);hc(t,function(n,i){var o=typeof n.result>"u"?-1:fi.indexOf(n.result);n.priority=o!==-1?o:je.CANTTELL_PRIO,i==="none"&&(n.priority===je.PASS_PRIO?n.priority=je.FAIL_PRIO:n.priority===je.FAIL_PRIO&&(n.priority=je.PASS_PRIO));});var r={all:t.all.reduce(function(n,i){return Math.max(n,i.priority)},0),none:t.none.reduce(function(n,i){return Math.max(n,i.priority)},0),any:t.any.reduce(function(n,i){return Math.min(n,i.priority)},4)%4};t.priority=Math.max(r.all,r.none,r.any);var a=[];return mc.forEach(function(n){t[n]=t[n].filter(function(i){return i.priority===t.priority&&i.priority===r[n]}),t[n].forEach(function(i){return a.push(i.impact)});}),[my,hy].includes(t.priority)?t.impact=di(je.impact,a):t.impact=null,hc(t,function(n){delete n.result,delete n.priority;}),t.result=je.results[t.priority],delete t.priority,t}var gc=gy;function rn(e){var t=h._audit.rules.find(function(r){var a=r.id;return a===e.id});return t&&t.impact&&e.nodes.forEach(function(r){["any","all","none"].forEach(function(a){(r[a]||[]).forEach(function(n){n.impact=t.impact;});});}),Object.assign(e,vc(e.nodes)),delete e.nodes,e}function vy(e){var t={};if(e=e.map(function(i){if(i.any&&i.all&&i.none)return gc(i);if(Array.isArray(i.node))return rn(i);throw new TypeError("Invalid Result type")}),e&&e.length){var r=e.map(function(i){return i.result});t.result=di(je.results,r,t.result);}else t.result="inapplicable";je.resultGroups.forEach(function(i){return t[i]=[]}),e.forEach(function(i){var o=je.resultGroupMap[i.result];t[o].push(i);});var a=je.FAIL_GROUP;if(t[a].length===0&&(a=je.CANTTELL_GROUP),t[a].length>0){var n=t[a].map(function(i){return i.impact});t.impact=di(je.impact,n)||null;}else t.impact=null;return t}var vc=vy;function Qo(e,t,r){var a=Object.assign({},t);a.nodes=(a[r]||[]).concat(),je.resultGroups.forEach(function(n){delete a[n];}),e[r].push(a);}function by(e){var t={};return je.resultGroups.forEach(function(r){return t[r]=[]}),e.forEach(function(r){r.error?Qo(t,r,je.CANTTELL_GROUP):r.result===je.NA?Qo(t,r,je.NA_GROUP):je.resultGroups.forEach(function(a){Array.isArray(r[a])&&r[a].length>0&&Qo(t,r,a);});}),t}var bc=by;function yc(e,t,r){var a=p.getComputedStyle(e,null);if(!a)return false;for(var n=0;n<t.length;++n){var i=t[n];if(a.getPropertyValue(i.property)===i.value)return true}return !e.parentNode||e.nodeName.toUpperCase()===r.toUpperCase()?false:yc(e.parentNode,t,r)}var yy=yc;function wy(e,t){if(!e)throw new Error(t)}var Qe=wy;function xy(e){return Array.prototype.slice.call(e)}var wc=xy;function Dy(e){for(var t=String(e),r=t.length,a=-1,n,i="",o=t.charCodeAt(0);++a<r;){if(n=t.charCodeAt(a),n==0){i+="\uFFFD";continue}if(n>=1&&n<=31||n==127||a==0&&n>=48&&n<=57||a==1&&n>=48&&n<=57&&o==45){i+="\\"+n.toString(16)+" ";continue}if(a==0&&r==1&&n==45){i+="\\"+t.charAt(a);continue}if(n>=128||n==45||n==95||n>=48&&n<=57||n>=65&&n<=90||n>=97&&n<=122){i+=t.charAt(a);continue}i+="\\"+t.charAt(a);}return i}var yt=Dy;function _y(){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 an(e,t){return [e.substring(0,t),e.substring(t)]}function nn(e){return e.replace(/\s+$/,"")}function Ay(e){var t=e,r="",a="",n="",i="",o="",s="";if(e.includes("#")){var l=an(e,e.indexOf("#")),u=ge(l,2);e=u[0],s=u[1];}if(e.includes("?")){var c=an(e,e.indexOf("?")),f=ge(c,2);e=f[0],o=f[1];}if(e.includes("://")){var b=e.split("://"),A=ge(b,2);r=A[0],e=A[1];var k=an(e,e.indexOf("/")),I=ge(k,2);a=I[0],e=I[1];}else if(e.substr(0,2)==="//"){e=e.substr(2);var P=an(e,e.indexOf("/")),M=ge(P,2);a=M[0],e=M[1];}if(a.substr(0,4)==="www."&&(a=a.substr(4)),a&&a.includes(":")){var O=an(a,a.indexOf(":")),H=ge(O,2);a=H[0],n=H[1];}return i=e,{original:t,protocol:r,domain:a,port:n,path:i,query:o,hash:s}}function Ey(){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,a=t.maxLength,n=a===void 0?25:a,i=Ay(e),o=i.path,s=i.domain,l=i.hash,u=o.substr(o.substr(0,o.length-2).lastIndexOf("/")+1);if(l)return u&&(u+l).length<=n?nn(u+l):u.length<2&&l.length>2&&l.length<=n?nn(l):void 0;if(s&&s.length<n&&o.length<=1||o==="/"+u&&s&&r&&s!==r&&(s+o).length<=n)return nn(s+o);var c=u.lastIndexOf(".");if((c===-1||c>1)&&(c!==-1||u.length>2)&&u.length<=n&&!u.match(/index(\.[a-zA-Z]{2-4})?/)&&!_y(u))return nn(u)}}var xc=Ey;function Cy(e){return e.attributes instanceof p.NamedNodeMap?e.attributes:e.cloneNode(false).attributes}var on=Cy,Sy=(function(){var e;function t(r){var a=["matches","matchesSelector","mozMatchesSelector","webkitMatchesSelector","msMatchesSelector"],n=a.length,i,o;for(i=0;i<n;i++)if(o=a[i],r[o])return o}return function(r,a){return (!e||!r[e])&&(e=t(r)),r[e]?r[e](a):false}})(),Aa=Sy,Dc={};dr(Dc,{ArrayFrom:function(){return Id.default},Colorjs:function(){return ot},CssSelectorParser:function(){return _c.CssSelectorParser},doT:function(){return Gr.default},emojiRegexText:function(){return es},memoize:function(){return Ac.default}});var ky=wr(Ug()),Ty=wr(Xg());wr(Yg());var Fy=wr(uv()),Ry=wr(wv()),Iy=wr(rc());"hasOwn"in Object||(Object.hasOwn=Fy.default),"values"in Object||(Object.values=Ry.default),"Promise"in p||ky.default.polyfill(),"Uint32Array"in p||(p.Uint32Array=Ty.Uint32Array),p.Uint32Array&&("some"in p.Uint32Array.prototype||Object.defineProperty(p.Uint32Array.prototype,"some",{value:Array.prototype.some}),"reduce"in p.Uint32Array.prototype||Object.defineProperty(p.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 a=arguments[r];if(a!=null)for(var n in a)a.hasOwnProperty(n)&&(t[n]=a[n]);}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),a=r.length>>>0,n=arguments[1],i,o=0;o<a;o++)if(i=r[o],t.call(n,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 a=Object(this),n=a.length>>>0,i,o=0;o<n;o++)if(i=a[o],t.call(r,i,o,a))return o;return -1}}),Array.prototype.includes||Object.defineProperty(Array.prototype,"includes",{value:function(t){var r=Object(this),a=parseInt(r.length,10)||0;if(a===0)return false;var n=parseInt(arguments[1],10)||0,i;n>=0?i=n:(i=a+n,i<0&&(i=0));for(var o;i<a;){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),a=r.length>>>0,n=arguments.length>=2?arguments[1]:void 0,i=0;i<a;i++)if(i in r&&t.call(n,r[i],i,r))return true;return false}}),Array.from||(Array.from=Iy.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,a){return Array.isArray(a)?r.push.apply(r,e.call(a,t-1)):r.push(a),r},[]):Array.prototype.slice.call(this)},writable:true}),p.Node&&!("isConnected"in p.Node.prototype)&&Object.defineProperty(p.Node.prototype,"isConnected",{get:function(){return !this.ownerDocument||!(this.ownerDocument.compareDocumentPosition(this)&this.DOCUMENT_POSITION_DISCONNECTED)}});var _c=wr(Zv()),Gr=wr(Qv()),es=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},Ac=wr(ly());function _t(e,t){var r=e.length;Array.isArray(e[0])||(e=[e]),Array.isArray(t[0])||(t=t.map(function(o){return [o]}));var a=t[0].length,n=t[0].map(function(o,s){return t.map(function(l){return l[s]})}),i=e.map(function(o){return n.map(function(s){var l=0;if(!Array.isArray(o)){var u=Ke(s),c;try{for(u.s();!(c=u.n()).done;){var f=c.value;l+=o*f;}}catch(A){u.e(A);}finally{u.f();}return l}for(var b=0;b<o.length;b++)l+=o[b]*(s[b]||0);return l})});return r===1&&(i=i[0]),a===1?i.map(function(o){return o[0]}):i}function sn(e){return Wr(e)==="string"}function Wr(e){var t=Object.prototype.toString.call(e);return (t.match(/^\[object\s+(.*?)\]$/)[1]||"").toLowerCase()}function pi(e,t){e=+e,t=+t;var r=(Math.floor(e)+"").length;if(t>r)return +e.toFixed(t-r);var a=Math.pow(10,r-t);return Math.round(e/a)*a}function Ec(e){if(e){e=e.trim();var t=/^([a-z]+)\((.+?)\)$/i,r=/^-?[\d.]+$/,a=e.match(t);if(a){var n=[];return a[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),n.push(o);}),{name:a[1].toLowerCase(),rawName:a[1],rawArgs:a[2],args:n}}}}function Cc(e){return e[e.length-1]}function mi(e,t,r){return isNaN(e)?t:isNaN(t)?e:e+(t-e)*r}function Sc(e,t,r){return (r-e)/(t-e)}function ts(e,t,r){return mi(t[0],t[1],Sc(e[0],e[1],r))}function kc(e){return e.map(function(t){return t.split("|").map(function(r){r=r.trim();var a=r.match(/^(<[a-z]+>)\[(-?[.\d]+),\s*(-?[.\d]+)\]?$/);if(a){var n=new String(a[1]);return n.range=[+a[2],+a[3]],n}return r})})}var Ly=Object.freeze({__proto__:null,isString:sn,type:Wr,toPrecision:pi,parseFunction:Ec,last:Cc,interpolate:mi,interpolateInv:Sc,mapRange:ts,parseCoordGrammar:kc,multiplyMatrices:_t}),Py=(function(){function e(){ft(this,e);}return vt(e,[{key:"add",value:function(r,a,n){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]||[],a&&this[i][n?"unshift":"push"](a);},this);}},{key:"run",value:function(r,a){this[r]=this[r]||[],this[r].forEach(function(n){n.call(a&&a.context?a.context:a,a);});}}])})(),Ur=new Py,Dr={gamut_mapping:"lch.c",precision:5,deltaE:"76"},hr={D50:[.3457/.3585,1,(1-.3457-.3585)/.3585],D65:[.3127/.329,1,(1-.3127-.329)/.329]};function rs(e){return Array.isArray(e)?e:hr[e]}function hi(e,t,r){var a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};if(e=rs(e),t=rs(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 n={W1:e,W2:t,XYZ:r,options:a};if(Ur.run("chromatic-adaptation-start",n),n.M||(n.W1===hr.D65&&n.W2===hr.D50?n.M=[[1.0479298208405488,.022946793341019088,-0.05019222954313557],[.029627815688159344,.990434484573249,-0.01707382502938514],[-0.009243058152591178,.015055144896577895,.7518742899580008]]:n.W1===hr.D50&&n.W2===hr.D65&&(n.M=[[.9554734527042182,-0.023098536874261423,.0632593086610217],[-0.028369706963208136,1.0099954580058226,.021041398966943008],[.012314001688319899,-0.020507696433477912,1.3303659366080753]])),Ur.run("chromatic-adaptation-end",n),n.M)return _t(n.M,n.XYZ);throw new TypeError("Only Bradford CAT with white points D50 and D65 supported for now.")}var My=75e-6,gr=(X=new WeakSet,ee=new WeakMap,(function(){function e(t){var r,a,n,i,o,s,l;ft(this,e),Ka(this,X),cr(this,ee,void 0),this.id=t.id,this.name=t.name,this.base=t.base?gr.get(t.base):null,this.aliases=t.aliases,this.base&&(this.fromBase=t.fromBase,this.toBase=t.toBase);var u=(r=t.coords)!==null&&r!==void 0?r:this.base.coords;this.coords=u;var c=(a=(n=t.white)!==null&&n!==void 0?n:this.base.white)!==null&&a!==void 0?a:"D65";this.white=rs(c),this.formats=(i=t.formats)!==null&&i!==void 0?i:{};for(var f in this.formats){var b=this.formats[f];b.type||(b.type="function"),b.name||(b.name=f);}t.cssId&&!((o=this.formats.functions)!==null&&o!==void 0&&o.color)?(this.formats.color={id:t.cssId},Object.defineProperty(this,"cssId",{value:t.cssId})):(s=this.formats)!==null&&s!==void 0&&s.color&&!((l=this.formats)!==null&&l!==void 0&&l.color.id)&&(this.formats.color.id=this.id),this.referred=t.referred,Mt(ee,this,Ir(X,this,Oy).call(this).reverse()),Ur.run("colorspace-init-end",this);}return vt(e,[{key:"inGamut",value:function(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=a.epsilon,i=n===void 0?My:n;if(this.isPolar)return r=this.toBase(r),this.base.inGamut(r,{epsilon:i});var o=Object.values(this.coords);return r.every(function(s,l){var u=o[l];if(u.type!=="angle"&&u.range){if(Number.isNaN(s))return true;var c=ge(u.range,2),f=c[0],b=c[1];return (f===void 0||s>=f-i)&&(b===void 0||s<=b+i)}return true})}},{key:"cssId",get:function(){var r;return ((r=this.formats.functions)===null||r===void 0||(r=r.color)===null||r===void 0?void 0:r.id)||this.id}},{key:"isPolar",get:function(){for(var r in this.coords)if(this.coords[r].type==="angle")return true;return false}},{key:"getFormat",value:function(r){if(ie(r)==="object")return r=Ir(X,this,Tc).call(this,r),r;var a;return r==="default"?a=Object.values(this.formats)[0]:a=this.formats[r],a?(a=Ir(X,this,Tc).call(this,a),a):null}},{key:"to",value:function(r,a){if(arguments.length===1){var n=[r.space,r.coords];r=n[0],a=n[1];}if(r=gr.get(r),this===r)return a;a=a.map(function(b){return Number.isNaN(b)?0:b});for(var i=$t(ee,this),o=$t(ee,r),s,l,u=0;u<i.length&&i[u]===o[u];u++)s=i[u],l=u;if(!s)throw new Error("Cannot convert between color spaces ".concat(this," and ").concat(r,": no connection space was found"));for(var c=i.length-1;c>l;c--)a=i[c].toBase(a);for(var f=l+1;f<o.length;f++)a=o[f].fromBase(a);return a}},{key:"from",value:function(r,a){if(arguments.length===1){var n=[r.space,r.coords];r=n[0],a=n[1];}return r=gr.get(r),r.to(this,a)}},{key:"toString",value:function(){return "".concat(this.name," (").concat(this.id,")")}},{key:"getMinCoords",value:function(){var r=[];for(var a in this.coords){var n,i=this.coords[a],o=i.range||i.refRange;r.push((n=o?.min)!==null&&n!==void 0?n:0);}return r}}],[{key:"all",get:function(){return ke(new Set(Object.values(gr.registry)))}},{key:"register",value:function(r,a){if(arguments.length===1&&(a=arguments[0],r=a.id),a=this.get(a),this.registry[r]&&this.registry[r]!==a)throw new Error("Duplicate color space registration: '".concat(r,"'"));if(this.registry[r]=a,arguments.length===1&&a.aliases){var n=Ke(a.aliases),i;try{for(n.s();!(i=n.n()).done;){var o=i.value;this.register(o,a);}}catch(s){n.e(s);}finally{n.f();}}return a}},{key:"get",value:function(r){if(!r||r instanceof gr)return r;var a=Wr(r);if(a==="string"){var n=gr.registry[r.toLowerCase()];if(!n)throw new TypeError('No color space found with id = "'.concat(r,'"'));return n}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 gr.get.apply(gr,o);throw new TypeError("".concat(r," is not a valid color space"))}},{key:"resolveCoord",value:function(r,a){var n=Wr(r),i,o;if(n==="string")if(r.includes(".")){var s=r.split("."),l=ge(s,2);i=l[0],o=l[1];}else i=void 0,o=r;else if(Array.isArray(r)){var u=ge(r,2);i=u[0],o=u[1];}else i=r.space,o=r.coordId;if(i=gr.get(i),i||(i=a),!i)throw new TypeError("Cannot resolve coordinate reference ".concat(r,": No color space specified and relative references are not allowed here"));if(n=Wr(o),n==="number"||n==="string"&&o>=0){var c=Object.entries(i.coords)[o];if(c)return Re({space:i,id:c[0],index:o},c[1])}i=gr.get(i);var f=o.toLowerCase(),b=0;for(var A in i.coords){var k,I=i.coords[A];if(A.toLowerCase()===f||((k=I.name)===null||k===void 0?void 0:k.toLowerCase())===f)return Re({space:i,id:A,index:b},I);b++;}throw new TypeError('No "'.concat(o,'" coordinate found in ').concat(i.name,". Its coordinates are: ").concat(Object.keys(i.coords).join(", ")))}}])})());function Tc(e){if(e.coords&&!e.coordGrammar){e.type||(e.type="function"),e.name||(e.name="color"),e.coordGrammar=kc(e.coords);var t=Object.entries(this.coords).map(function(r,a){var n=ge(r,2);n[0];var o=n[1],s=e.coordGrammar[a][0],l=o.range||o.refRange,u=s.range,c="";return s=="<percentage>"?(u=[0,100],c="%"):s=="<angle>"&&(c="deg"),{fromRange:l,toRange:u,suffix:c}});e.serializeCoords=function(r,a){return r.map(function(n,i){var o=t[i],s=o.fromRange,l=o.toRange,u=o.suffix;return s&&l&&(n=ts(s,l,n)),n=pi(n,a),u&&(n+=u),n})};}return e}function Oy(){for(var e=[this],t=this;t=t.base;)e.push(t);return e}var Le=gr;Lu(Le,"registry",{}),Lu(Le,"DEFAULT_FORMAT",{type:"functions",name:"color"});var nr=new Le({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"]}),Ut=(function(e){function t(r){var a,n;if(ft(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=nr),r.toXYZ_M&&r.fromXYZ_M){var i,o;(i=r.toBase)!==null&&i!==void 0||(r.toBase=function(s){var l=_t(r.toXYZ_M,s);return n.white!==n.base.white&&(l=hi(n.white,n.base.white,l)),l}),(o=r.fromBase)!==null&&o!==void 0||(r.fromBase=function(s){return s=hi(n.base.white,n.white,s),_t(r.fromXYZ_M,s)});}return (a=r.referred)!==null&&a!==void 0||(r.referred="display"),n=me(this,t,[r])}return Me(t,e),vt(t)})(Le);function Fc(e){var t,r={str:(t=String(e))===null||t===void 0?void 0:t.trim()};if(Ur.run("parse-start",r),r.color)return r.color;if(r.parsed=Ec(r.str),r.parsed){var a=r.parsed.name;if(a==="color"){var n=r.parsed.args.shift(),i=r.parsed.rawArgs.indexOf("/")>0?r.parsed.args.pop():1,o=Ke(Le.all),s;try{var l=function(){var ve=s.value,re=ve.getFormat("color");if(re){var ue;if(n===re.id||(ue=re.ids)!==null&&ue!==void 0&&ue.includes(n)){var pe=Object.keys(ve.coords).length,be=Array(pe).fill(0);return be.forEach(function(Fe,qe){return be[qe]=r.parsed.args[qe]||0}),{v:{spaceId:ve.id,coords:be,alpha:i}}}}},u;for(o.s();!(s=o.n()).done;)if(u=l(),u)return u.v}catch(oe){o.e(oe);}finally{o.f();}var c="";if(n in Le.registry){var f,b=(f=Le.registry[n].formats)===null||f===void 0||(f=f.functions)===null||f===void 0||(f=f.color)===null||f===void 0?void 0:f.id;b&&(c="Did you mean color(".concat(b,")?"));}throw new TypeError("Cannot parse color(".concat(n,"). ")+(c||"Missing a plugin?"))}else {var A=Ke(Le.all),k;try{var I=function(){var ve=k.value,re=ve.getFormat(a);if(re&&re.type==="function"){var ue=1;(re.lastAlpha||Cc(r.parsed.args).alpha)&&(ue=r.parsed.args.pop());var pe=r.parsed.args;return re.coordGrammar&&Object.entries(ve.coords).forEach(function(be,Fe){var qe,Ee=ge(be,2),Pe=Ee[0],de=Ee[1],Te=re.coordGrammar[Fe],U=(qe=pe[Fe])===null||qe===void 0?void 0:qe.type;if(Te=Te.find(function(Ne){return Ne==U}),!Te){var we=de.name||Pe;throw new TypeError("".concat(U," not allowed for ").concat(we," in ").concat(a,"()"))}var le=Te.range;U==="<percentage>"&&(le||(le=[0,1]));var xe=de.range||de.refRange;le&&xe&&(pe[Fe]=ts(le,xe,pe[Fe]));}),{v:{spaceId:ve.id,coords:pe,alpha:ue}}}},P;for(A.s();!(k=A.n()).done;)if(P=I(),P)return P.v}catch(oe){A.e(oe);}finally{A.f();}}}else {var M=Ke(Le.all),O;try{for(M.s();!(O=M.n()).done;){var H=O.value;for(var V in H.formats){var z=H.formats[V];if(z.type==="custom"&&!(z.test&&!z.test(r.str))){var Y=z.parse(r.str);if(Y){var te;return (te=Y.alpha)!==null&&te!==void 0||(Y.alpha=1),Y}}}}}catch(oe){M.e(oe);}finally{M.f();}}throw new TypeError("Could not parse ".concat(e," as a color. Missing a plugin?"))}function rt(e){if(!e)throw new TypeError("Empty color reference");sn(e)&&(e=Fc(e));var t=e.space||e.spaceId;return t instanceof Le||(e.space=Le.get(t)),e.alpha===void 0&&(e.alpha=1),e}function ln(e,t){return t=Le.get(t),t.from(e)}function ir(e,t){var r=Le.resolveCoord(t,e.space),a=r.space,n=r.index,i=ln(e,a);return i[n]}function Rc(e,t,r){return t=Le.get(t),e.coords=t.to(e.space,r),e}function Xr(e,t,r){if(e=rt(e),arguments.length===2&&Wr(arguments[1])==="object"){var a=arguments[1];for(var n in a)Xr(e,n,a[n]);}else {typeof r=="function"&&(r=r(ir(e,t)));var i=Le.resolveCoord(t,e.space),o=i.space,s=i.index,l=ln(e,o);l[s]=r,Rc(e,o,l);}return e}var as=new Le({id:"xyz-d50",name:"XYZ D50",white:"D50",base:nr,fromBase:function(t){return hi(nr.white,"D50",t)},toBase:function(t){return hi("D50",nr.white,t)},formats:{color:{}}}),Ny=216/24389,Ic=24/116,gi=24389/27,ns=hr.D50,Yt=new Le({id:"lab",name:"Lab",coords:{l:{refRange:[0,100],name:"L"},a:{refRange:[-125,125]},b:{refRange:[-125,125]}},white:ns,base:as,fromBase:function(t){var r=t.map(function(n,i){return n/ns[i]}),a=r.map(function(n){return n>Ny?Math.cbrt(n):(gi*n+16)/116});return [116*a[1]-16,500*(a[0]-a[1]),200*(a[1]-a[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 a=[r[0]>Ic?Math.pow(r[0],3):(116*r[0]-16)/gi,t[0]>8?Math.pow((t[0]+16)/116,3):t[0]/gi,r[2]>Ic?Math.pow(r[2],3):(116*r[2]-16)/gi];return a.map(function(n,i){return n*ns[i]})},formats:{lab:{coords:["<number> | <percentage>","<number>","<number>"]}}});function vi(e){return (e%360+360)%360}function qy(e,t){if(e==="raw")return t;var r=t.map(vi),a=ge(r,2),n=a[0],i=a[1],o=i-n;return e==="increasing"?o<0&&(i+=360):e==="decreasing"?o>0&&(n+=360):e==="longer"?-180<o&&o<180&&(o>0?i+=360:n+=360):e==="shorter"&&(o>180?n+=360:o<-180&&(i+=360)),[n,i]}var un=new Le({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:Yt,fromBase:function(t){var r=ge(t,3),a=r[0],n=r[1],i=r[2],o,s=.02;return Math.abs(n)<s&&Math.abs(i)<s?o=NaN:o=Math.atan2(i,n)*180/Math.PI,[a,Math.sqrt(Math.pow(n,2)+Math.pow(i,2)),vi(o)]},toBase:function(t){var r=ge(t,3),a=r[0],n=r[1],i=r[2];return n<0&&(n=0),isNaN(i)&&(i=0),[a,n*Math.cos(i*Math.PI/180),n*Math.sin(i*Math.PI/180)]},formats:{lch:{coords:["<number> | <percentage>","<number>","<number> | <angle>"]}}}),Lc=Math.pow(25,7),bi=Math.PI,Pc=180/bi,Ea=bi/180;function is(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=r.kL,n=a===void 0?1:a,i=r.kC,o=i===void 0?1:i,s=r.kH,l=s===void 0?1:s,u=Yt.from(e),c=ge(u,3),f=c[0],b=c[1],A=c[2],k=un.from(Yt,[f,b,A])[1],I=Yt.from(t),P=ge(I,3),M=P[0],O=P[1],H=P[2],V=un.from(Yt,[M,O,H])[1];k<0&&(k=0),V<0&&(V=0);var z=(k+V)/2,Y=Math.pow(z,7),te=.5*(1-Math.sqrt(Y/(Y+Lc))),oe=(1+te)*b,ve=(1+te)*O,re=Math.sqrt(Math.pow(oe,2)+Math.pow(A,2)),ue=Math.sqrt(Math.pow(ve,2)+Math.pow(H,2)),pe=oe===0&&A===0?0:Math.atan2(A,oe),be=ve===0&&H===0?0:Math.atan2(H,ve);pe<0&&(pe+=2*bi),be<0&&(be+=2*bi),pe*=Pc,be*=Pc;var Fe=M-f,qe=ue-re,Ee=be-pe,Pe=pe+be,de=Math.abs(Ee),Te;re*ue===0?Te=0:de<=180?Te=Ee:Ee>180?Te=Ee-360:Ee<-180?Te=Ee+360:console.log("the unthinkable has happened");var U=2*Math.sqrt(ue*re)*Math.sin(Te*Ea/2),we=(f+M)/2,le=(re+ue)/2,xe=Math.pow(le,7),Ne;re*ue===0?Ne=Pe:de<=180?Ne=Pe/2:Pe<360?Ne=(Pe+360)/2:Ne=(Pe-360)/2;var Ae=Math.pow(we-50,2),Se=1+.015*Ae/Math.sqrt(20+Ae),Ye=1+.045*le,at=1;at-=.17*Math.cos((Ne-30)*Ea),at+=.24*Math.cos(2*Ne*Ea),at+=.32*Math.cos((3*Ne+6)*Ea),at-=.2*Math.cos((4*Ne-63)*Ea);var st=1+.015*le*at,wt=30*Math.exp(-1*Math.pow((Ne-275)/25,2)),Ct=2*Math.sqrt(xe/(xe+Lc)),Et=-1*Math.sin(2*wt*Ea)*Ct,ct=Math.pow(Fe/(n*Se),2);return ct+=Math.pow(qe/(o*Ye),2),ct+=Math.pow(U/(l*st),2),ct+=Et*(qe/(o*Ye))*(U/(l*st)),Math.sqrt(ct)}var By=75e-6;function cn(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e.space,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=r.epsilon,n=a===void 0?By:a;e=rt(e),t=Le.get(t);var i=e.coords;return t!==e.space&&(i=t.from(e)),t.inGamut(i,{epsilon:n})}function dn(e){return {space:e.space,coords:e.coords.slice(),alpha:e.alpha}}function Yr(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.method,a=r===void 0?Dr.gamut_mapping:r,n=t.space,i=n===void 0?e.space:n;if(sn(arguments[1])&&(i=arguments[1]),i=Le.get(i),cn(e,i,{epsilon:0}))return e;var o=or(e,i);if(a!=="clip"&&!cn(e,i)){var s=Yr(dn(o),{method:"clip",space:i});if(is(e,s)>2){for(var l=Le.resolveCoord(a),u=l.space,c=l.id,f=or(o,u),b=l.range||l.refRange,A=b[0],k=.01,I=A,P=ir(f,c);P-I>k;){var M=dn(f);M=Yr(M,{space:i,method:"clip"});var O=is(f,M);O-2<k?I=ir(f,c):P=ir(f,c),Xr(f,c,(I+P)/2);}o=or(f,i);}else o=s;}if(a==="clip"||!cn(o,i,{epsilon:0})){var H=Object.values(i.coords).map(function(V){return V.range||[]});o.coords=o.coords.map(function(V,z){var Y=ge(H[z],2),te=Y[0],oe=Y[1];return te!==void 0&&(V=Math.max(te,V)),oe!==void 0&&(V=Math.min(V,oe)),V});}return i!==e.space&&(o=or(o,e.space)),e.coords=o.coords,e}Yr.returns="color";function or(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=r.inGamut;e=rt(e),t=Le.get(t);var n=t.from(e),i={space:t,coords:n,alpha:e.alpha};return a&&(i=Yr(i)),i}or.returns="color";function yi(e){var t,r,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=a.precision,i=n===void 0?Dr.precision:n,o=a.format,s=o===void 0?"default":o,l=a.inGamut,u=l===void 0?true:l,c=he(a,v),f;e=rt(e);var b=s;s=(t=(r=e.space.getFormat(s))!==null&&r!==void 0?r:e.space.getFormat("default"))!==null&&t!==void 0?t:Le.DEFAULT_FORMAT,u||(u=s.toGamut);var A=e.coords;if(A=A.map(function(V){return V||0}),u&&!cn(e)&&(A=Yr(dn(e),u===true?void 0:u).coords),s.type==="custom")if(c.precision=i,s.serialize)f=s.serialize(A,e.alpha,c);else throw new TypeError("format ".concat(b," can only be used to parse colors, not for serialization"));else {var k=s.name||"color";s.serializeCoords?A=s.serializeCoords(A,i):i!==null&&(A=A.map(function(V){return pi(V,i)}));var I=ke(A);if(k==="color"){var P,M=s.id||((P=s.ids)===null||P===void 0?void 0:P[0])||e.space.id;I.unshift(M);}var O=e.alpha;i!==null&&(O=pi(O,i));var H=e.alpha<1&&!s.noAlpha?"".concat(s.commas?",":" /"," ").concat(O):"";f="".concat(k,"(").concat(I.join(s.commas?", ":" ")).concat(H,")");}return f}var Hy=[[.6369580483012914,.14461690358620832,.1688809751641721],[.2627002120112671,.6779980715188708,.05930171646986196],[0,.028072693049087428,1.060985057710791]],Vy=[[1.716651187971268,-0.355670783776392,-0.25336628137366],[-0.666684351832489,1.616481236634939,.0157685458139111],[.017639857445311,-0.042770613257809,.942103121235474]],wi=new Ut({id:"rec2020-linear",name:"Linear REC.2020",white:"D65",toXYZ_M:Hy,fromXYZ_M:Vy,formats:{color:{}}}),xi=1.09929682680944,Mc=.018053968510807,Oc=new Ut({id:"rec2020",name:"REC.2020",base:wi,toBase:function(t){return t.map(function(r){return r<Mc*4.5?r/4.5:Math.pow((r+xi-1)/xi,1/.45)})},fromBase:function(t){return t.map(function(r){return r>=Mc?xi*Math.pow(r,.45)-(xi-1):4.5*r})},formats:{color:{}}}),jy=[[.4865709486482162,.26566769316909306,.1982172852343625],[.2289745640697488,.6917385218365064,.079286914093745],[0,.04511338185890264,1.043944368900976]],$y=[[2.493496911941425,-0.9313836179191239,-0.40271078445071684],[-0.8294889695615747,1.7626640603183463,.023624685841943577],[.03584583024378447,-0.07617238926804182,.9568845240076872]],Nc=new Ut({id:"p3-linear",name:"Linear P3",white:"D65",toXYZ_M:jy,fromXYZ_M:$y}),zy=[[.41239079926595934,.357584339383878,.1804807884018343],[.21263900587151027,.715168678767756,.07219231536073371],[.01933081871559182,.11919477979462598,.9505321522496607]],Gy=[[3.2409699419045226,-1.537383177570094,-0.4986107602930034],[-0.9692436362808796,1.8759675015077202,.04155505740717559],[.05563007969699366,-0.20397695888897652,1.0569715142428786]],qc=new Ut({id:"srgb-linear",name:"Linear sRGB",white:"D65",toXYZ_M:zy,fromXYZ_M:Gy,formats:{color:{}}}),Bc={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]},Hc=Array(3).fill("<percentage> | <number>[0, 255]"),Vc=Array(3).fill("<number>[0, 255]"),fn=new Ut({id:"srgb",name:"sRGB",base:qc,fromBase:function(t){return t.map(function(r){var a=r<0?-1:1,n=r*a;return n>.0031308?a*(1.055*Math.pow(n,1/2.4)-.055):12.92*r})},toBase:function(t){return t.map(function(r){var a=r<0?-1:1,n=r*a;return n<.04045?r/12.92:a*Math.pow((n+.055)/1.055,2.4)})},formats:{rgb:{coords:Hc},rgb_number:{name:"rgb",commas:true,coords:Vc,noAlpha:true},color:{},rgba:{coords:Hc,commas:true,lastAlpha:true},rgba_number:{name:"rgba",commas:true,coords:Vc},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(a){r.push(parseInt(a,16)/255);}),{spaceId:"srgb",coords:r.slice(0,3),alpha:r.slice(3)[0]}},serialize:function(t,r){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=a.collapse,i=n===void 0?true:n;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=Bc.black,r.alpha=0):r.coords=Bc[t],r.coords)return r}}}}),jc=new Ut({id:"p3",name:"P3",base:Nc,fromBase:fn.fromBase,toBase:fn.toBase,formats:{color:{id:"display-p3"}}});if(Dr.display_space=fn,typeof CSS<"u"&&(ce=CSS)!==null&&ce!==void 0&&ce.supports)for(var os=0,$c=[Yt,Oc,jc];os<$c.length;os++){var ss=$c[os],Wy=ss.getMinCoords(),Uy={space:ss,coords:Wy,alpha:1},Xy=yi(Uy);if(CSS.supports("color",Xy)){Dr.display_space=ss;break}}function Yy(e){var t,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=r.space,n=a===void 0?Dr.display_space:a,i=he(r,y),o=yi(e,i);if(typeof CSS>"u"||(t=CSS)!==null&&t!==void 0&&t.supports("color",o)||!Dr.display_space)o=new String(o),o.color=e;else {var s=or(e,n);o=new String(yi(s,i)),o.color=s;}return o}function zc(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"lab";r=Le.get(r);var a=r.from(e),n=r.from(t);return Math.sqrt(a.reduce(function(i,o,s){var l=n[s];return isNaN(o)||isNaN(l)?i:i+Math.pow(l-o,2)},0))}function Ky(e,t){return e=rt(e),t=rt(t),e.space===t.space&&e.alpha===t.alpha&&e.coords.every(function(r,a){return r===t.coords[a]})}function Kr(e){return ir(e,[nr,"y"])}function Gc(e,t){Xr(e,[nr,"y"],t);}function Jy(e){Object.defineProperty(e.prototype,"luminance",{get:function(){return Kr(this)},set:function(r){Gc(this,r);}});}var Zy=Object.freeze({__proto__:null,getLuminance:Kr,setLuminance:Gc,register:Jy});function Qy(e,t){e=rt(e),t=rt(t);var r=Math.max(Kr(e),0),a=Math.max(Kr(t),0);if(a>r){var n=[a,r];r=n[0],a=n[1];}return (r+.05)/(a+.05)}var e0=.56,t0=.57,r0=.62,a0=.65,Wc=.022,n0=1.414,i0=.1,o0=5e-4,s0=1.14,Uc=.027,l0=1.14;function Xc(e){return e>=Wc?e:e+Math.pow(Wc-e,n0)}function Ca(e){var t=e<0?-1:1,r=Math.abs(e);return t*Math.pow(r,2.4)}function u0(e,t){t=rt(t),e=rt(e);var r,a,n,i,o,s;t=or(t,"srgb");var l=ge(t.coords,3);i=l[0],o=l[1],s=l[2];var u=Ca(i)*.2126729+Ca(o)*.7151522+Ca(s)*.072175;e=or(e,"srgb");var c=ge(e.coords,3);i=c[0],o=c[1],s=c[2];var f=Ca(i)*.2126729+Ca(o)*.7151522+Ca(s)*.072175,b=Xc(u),A=Xc(f),k=A>b;return Math.abs(A-b)<o0?a=0:k?(r=Math.pow(A,e0)-Math.pow(b,t0),a=r*s0):(r=Math.pow(A,a0)-Math.pow(b,r0),a=r*l0),Math.abs(a)<i0?n=0:a>0?n=a-Uc:n=a+Uc,n*100}function c0(e,t){e=rt(e),t=rt(t);var r=Math.max(Kr(e),0),a=Math.max(Kr(t),0);if(a>r){var n=[a,r];r=n[0],a=n[1];}var i=r+a;return i===0?0:(r-a)/i}var d0=5e4;function f0(e,t){e=rt(e),t=rt(t);var r=Math.max(Kr(e),0),a=Math.max(Kr(t),0);if(a>r){var n=[a,r];r=n[0],a=n[1];}return a===0?d0:(r-a)/a}function p0(e,t){e=rt(e),t=rt(t);var r=ir(e,[Yt,"l"]),a=ir(t,[Yt,"l"]);return Math.abs(r-a)}var m0=216/24389,Yc=24/116,Di=24389/27,ls=hr.D65,us=new Le({id:"lab-d65",name:"Lab D65",coords:{l:{refRange:[0,100],name:"L"},a:{refRange:[-125,125]},b:{refRange:[-125,125]}},white:ls,base:nr,fromBase:function(t){var r=t.map(function(n,i){return n/ls[i]}),a=r.map(function(n){return n>m0?Math.cbrt(n):(Di*n+16)/116});return [116*a[1]-16,500*(a[0]-a[1]),200*(a[1]-a[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 a=[r[0]>Yc?Math.pow(r[0],3):(116*r[0]-16)/Di,t[0]>8?Math.pow((t[0]+16)/116,3):t[0]/Di,r[2]>Yc?Math.pow(r[2],3):(116*r[2]-16)/Di];return a.map(function(n,i){return n*ls[i]})},formats:{"lab-d65":{coords:["<number> | <percentage>","<number>","<number>"]}}}),cs=Math.pow(5,.5)*.5+.5;function h0(e,t){e=rt(e),t=rt(t);var r=ir(e,[us,"l"]),a=ir(t,[us,"l"]),n=Math.abs(Math.pow(r,cs)-Math.pow(a,cs)),i=Math.pow(n,1/cs)*Math.SQRT2-40;return i<7.5?0:i}var _i=Object.freeze({__proto__:null,contrastWCAG21:Qy,contrastAPCA:u0,contrastMichelson:c0,contrastWeber:f0,contrastLstar:p0,contrastDeltaPhi:h0});function g0(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};sn(r)&&(r={algorithm:r});var a=r,n=a.algorithm,i=he(a,D);if(!n){var o=Object.keys(_i).map(function(l){return l.replace(/^contrast/,"")}).join(", ");throw new TypeError("contrast() function needs a contrast algorithm. Please specify one of: ".concat(o))}e=rt(e),t=rt(t);for(var s in _i)if("contrast"+n.toLowerCase()===s.toLowerCase())return _i[s](e,t,i);throw new TypeError("Unknown contrast algorithm: ".concat(n))}function Kc(e){var t=ln(e,nr),r=ge(t,3),a=r[0],n=r[1],i=r[2],o=a+15*n+3*i;return [4*a/o,9*n/o]}function Jc(e){var t=ln(e,nr),r=ge(t,3),a=r[0],n=r[1],i=r[2],o=a+n+i;return [a/o,n/o]}function v0(e){Object.defineProperty(e.prototype,"uv",{get:function(){return Kc(this)}}),Object.defineProperty(e.prototype,"xy",{get:function(){return Jc(this)}});}var b0=Object.freeze({__proto__:null,uv:Kc,xy:Jc,register:v0});function y0(e,t){return zc(e,t,"lab")}var w0=Math.PI,Zc=w0/180;function x0(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=r.l,n=a===void 0?2:a,i=r.c,o=i===void 0?1:i,s=Yt.from(e),l=ge(s,3),u=l[0],c=l[1],f=l[2],b=un.from(Yt,[u,c,f]),A=ge(b,3),k=A[1],I=A[2],P=Yt.from(t),M=ge(P,3),O=M[0],H=M[1],V=M[2],z=un.from(Yt,[O,H,V])[1];k<0&&(k=0),z<0&&(z=0);var Y=u-O,te=k-z,oe=c-H,ve=f-V,re=Math.pow(oe,2)+Math.pow(ve,2)-Math.pow(te,2),ue=.511;u>=16&&(ue=.040975*u/(1+.01765*u));var pe=.0638*k/(1+.0131*k)+.638,be;Number.isNaN(I)&&(I=0),I>=164&&I<=345?be=.56+Math.abs(.2*Math.cos((I+168)*Zc)):be=.36+Math.abs(.4*Math.cos((I+35)*Zc));var Fe=Math.pow(k,4),qe=Math.sqrt(Fe/(Fe+1900)),Ee=pe*(qe*be+1-qe),Pe=Math.pow(Y/(n*ue),2);return Pe+=Math.pow(te/(o*pe),2),Pe+=re/Math.pow(Ee,2),Math.sqrt(Pe)}var Qc=203,ds=new Le({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:nr,fromBase:function(t){return t.map(function(r){return Math.max(r*Qc,0)})},toBase:function(t){return t.map(function(r){return Math.max(r/Qc,0)})}}),Ai=1.15,Ei=.66,ed=2610/Math.pow(2,14),D0=Math.pow(2,14)/2610,td=3424/Math.pow(2,12),rd=2413/Math.pow(2,7),ad=2392/Math.pow(2,7),_0=1.7*2523/Math.pow(2,5),nd=Math.pow(2,5)/(1.7*2523),Ci=-0.56,fs=16295499532821565e-27,A0=[[.41478972,.579999,.014648],[-0.20151,1.120649,.0531008],[-0.0166008,.2648,.6684799]],E0=[[1.9242264357876067,-1.0047923125953657,.037651404030618],[.35031676209499907,.7264811939316552,-0.06538442294808501],[-0.09098281098284752,-0.3127282905230739,1.5227665613052603]],C0=[[.5,.5,0],[3.524,-4.066708,.542708],[.199076,1.096799,-1.295875]],S0=[[1,.1386050432715393,.05804731615611886],[.9999999999999999,-0.1386050432715393,-0.05804731615611886],[.9999999999999998,-0.09601924202631895,-0.8118918960560388]],id=new Le({id:"jzazbz",name:"Jzazbz",coords:{jz:{refRange:[0,1],name:"Jz"},az:{refRange:[-0.5,.5]},bz:{refRange:[-0.5,.5]}},base:ds,fromBase:function(t){var r=ge(t,3),a=r[0],n=r[1],i=r[2],o=Ai*a-(Ai-1)*i,s=Ei*n-(Ei-1)*a,l=_t(A0,[o,s,i]),u=l.map(function(P){var M=td+rd*Math.pow(P/1e4,ed),O=1+ad*Math.pow(P/1e4,ed);return Math.pow(M/O,_0)}),c=_t(C0,u),f=ge(c,3),b=f[0],A=f[1],k=f[2],I=(1+Ci)*b/(1+Ci*b)-fs;return [I,A,k]},toBase:function(t){var r=ge(t,3),a=r[0],n=r[1],i=r[2],o=(a+fs)/(1+Ci-Ci*(a+fs)),s=_t(S0,[o,n,i]),l=s.map(function(P){var M=td-Math.pow(P,nd),O=ad*Math.pow(P,nd)-rd,H=1e4*Math.pow(M/O,D0);return H}),u=_t(E0,l),c=ge(u,3),f=c[0],b=c[1],A=c[2],k=(f+(Ai-1)*A)/Ai,I=(b+(Ei-1)*k)/Ei;return [k,I,A]},formats:{color:{}}}),ps=new Le({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:id,fromBase:function(t){var r=ge(t,3),a=r[0],n=r[1],i=r[2],o,s=2e-4;return Math.abs(n)<s&&Math.abs(i)<s?o=NaN:o=Math.atan2(i,n)*180/Math.PI,[a,Math.sqrt(Math.pow(n,2)+Math.pow(i,2)),vi(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 k0(e,t){var r=ps.from(e),a=ge(r,3),n=a[0],i=a[1],o=a[2],s=ps.from(t),l=ge(s,3),u=l[0],c=l[1],f=l[2],b=n-u,A=i-c;Number.isNaN(o)&&Number.isNaN(f)?(o=0,f=0):Number.isNaN(o)?o=f:Number.isNaN(f)&&(f=o);var k=o-f,I=2*Math.sqrt(i*c)*Math.sin(k/2*(Math.PI/180));return Math.sqrt(Math.pow(b,2)+Math.pow(A,2)+Math.pow(I,2))}var od=3424/4096,sd=2413/128,ld=2392/128,ud=2610/16384,T0=2523/32,F0=16384/2610,cd=32/2523,R0=[[.3592,.6976,-0.0358],[-0.1922,1.1004,.0755],[.007,.0749,.8434]],I0=[[2048/4096,2048/4096,0],[6610/4096,-13613/4096,7003/4096],[17933/4096,-17390/4096,-543/4096]],L0=[[.9999888965628402,.008605050147287059,.11103437159861648],[1.00001110343716,-0.008605050147287059,-0.11103437159861648],[1.0000320633910054,.56004913547279,-0.3206339100541203]],P0=[[2.0701800566956137,-1.326456876103021,.20661600684785517],[.3649882500326575,.6804673628522352,-0.04542175307585323],[-0.04959554223893211,-0.04942116118675749,1.1879959417328034]],ms=new Le({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:ds,fromBase:function(t){var r=_t(R0,t);return M0(r)},toBase:function(t){var r=O0(t);return _t(P0,r)},formats:{color:{}}});function M0(e){var t=e.map(function(r){var a=od+sd*Math.pow(r/1e4,ud),n=1+ld*Math.pow(r/1e4,ud);return Math.pow(a/n,T0)});return _t(I0,t)}function O0(e){var t=_t(L0,e),r=t.map(function(a){var n=Math.max(Math.pow(a,cd)-od,0),i=sd-ld*Math.pow(a,cd);return 1e4*Math.pow(n/i,F0)});return r}function N0(e,t){var r=ms.from(e),a=ge(r,3),n=a[0],i=a[1],o=a[2],s=ms.from(t),l=ge(s,3),u=l[0],c=l[1],f=l[2];return 720*Math.sqrt(Math.pow(n-u,2)+.25*Math.pow(i-c,2)+Math.pow(o-f,2))}var q0=[[.8190224432164319,.3619062562801221,-0.12887378261216414],[.0329836671980271,.9292868468965546,.03614466816999844],[.048177199566046255,.26423952494422764,.6335478258136937]],B0=[[1.2268798733741557,-0.5578149965554813,.28139105017721583],[-0.04057576262431372,1.1122868293970594,-0.07171106666151701],[-0.07637294974672142,-0.4214933239627914,1.5869240244272418]],H0=[[.2104542553,.793617785,-0.0040720468],[1.9779984951,-2.428592205,.4505937099],[.0259040371,.7827717662,-0.808675766]],V0=[[.9999999984505198,.39633779217376786,.2158037580607588],[1.0000000088817609,-0.10556134232365635,-0.06385417477170591],[1.0000000546724108,-0.08948418209496575,-1.2914855378640917]],Si=new Le({id:"oklab",name:"OKLab",coords:{l:{refRange:[0,1],name:"L"},a:{refRange:[-0.4,.4]},b:{refRange:[-0.4,.4]}},white:"D65",base:nr,fromBase:function(t){var r=_t(q0,t),a=r.map(function(n){return Math.cbrt(n)});return _t(H0,a)},toBase:function(t){var r=_t(V0,t),a=r.map(function(n){return Math.pow(n,3)});return _t(B0,a)},formats:{oklab:{coords:["<number> | <percentage>","<number>","<number>"]}}});function j0(e,t){var r=Si.from(e),a=ge(r,3),n=a[0],i=a[1],o=a[2],s=Si.from(t),l=ge(s,3),u=l[0],c=l[1],f=l[2],b=n-u,A=i-c,k=o-f;return Math.sqrt(Math.pow(b,2)+Math.pow(A,2)+Math.pow(k,2))}var hs=Object.freeze({__proto__:null,deltaE76:y0,deltaECMC:x0,deltaE2000:is,deltaEJz:k0,deltaEITP:N0,deltaEOK:j0});function pn(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};sn(r)&&(r={method:r});var a=r,n=a.method,i=n===void 0?Dr.deltaE:n,o=he(a,F);e=rt(e),t=rt(t);for(var s in hs)if("deltae"+i.toLowerCase()===s.toLowerCase())return hs[s](e,t,o);throw new TypeError("Unknown deltaE method: ".concat(i))}function $0(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:.25,r=Le.get("oklch","lch"),a=[r,"l"];return Xr(e,a,function(n){return n*(1+t)})}function z0(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:.25,r=Le.get("oklch","lch"),a=[r,"l"];return Xr(e,a,function(n){return n*(1-t)})}var G0=Object.freeze({__proto__:null,lighten:$0,darken:z0});function dd(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:.5,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},n=[rt(e),rt(t)];if(e=n[0],t=n[1],Wr(r)==="object"){var i=[.5,r];r=i[0],a=i[1];}var o=a,s=o.space,l=o.outputSpace,u=o.premultiplied,c=mn(e,t,{space:s,outputSpace:l,premultiplied:u});return c(r)}function fd(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a;if(gs(e)){a=e,r=t;var n=ge(a.rangeArgs.colors,2);e=n[0],t=n[1];}var i=r,o=i.maxDeltaE,s=i.deltaEMethod,l=i.steps,u=l===void 0?2:l,c=i.maxSteps,f=c===void 0?1e3:c,b=he(i,S);if(!a){var A=[rt(e),rt(t)];e=A[0],t=A[1],a=mn(e,t,b);}var k=pn(e,t),I=o>0?Math.max(u,Math.ceil(k/o)+1):u,P=[];if(f!==void 0&&(I=Math.min(I,f)),I===1)P=[{p:.5,color:a(.5)}];else {var M=1/(I-1);P=Array.from({length:I},function(oe,ve){var re=ve*M;return {p:re,color:a(re)}});}if(o>0)for(var O=P.reduce(function(oe,ve,re){if(re===0)return 0;var ue=pn(ve.color,P[re-1].color,s);return Math.max(oe,ue)},0);O>o;){O=0;for(var H=1;H<P.length&&P.length<f;H++){var V=P[H-1],z=P[H],Y=(z.p+V.p)/2,te=a(Y);O=Math.max(O,pn(te,V.color),pn(te,z.color)),P.splice(H,0,{p:Y,color:a(Y)}),H++;}}return P=P.map(function(oe){return oe.color}),P}function mn(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(gs(e)){var a=e,n=t;return mn.apply(void 0,ke(a.rangeArgs.colors).concat([Re({},a.rangeArgs.options,n)]))}var i=r.space,o=r.outputSpace,s=r.progression,l=r.premultiplied;e=rt(e),t=rt(t),e=dn(e),t=dn(t);var u={colors:[e,t],options:r};if(i?i=Le.get(i):i=Le.registry[Dr.interpolationSpace]||e.space,o=o?Le.get(o):i,e=or(e,i),t=or(t,i),e=Yr(e),t=Yr(t),i.coords.h&&i.coords.h.type==="angle"){var c=r.hue=r.hue||"shorter",f=[i,"h"],b=[ir(e,f),ir(t,f)],A=b[0],k=b[1],I=qy(c,[A,k]),P=ge(I,2);A=P[0],k=P[1],Xr(e,f,A),Xr(t,f,k);}return l&&(e.coords=e.coords.map(function(M){return M*e.alpha}),t.coords=t.coords.map(function(M){return M*t.alpha})),Object.assign(function(M){M=s?s(M):M;var O=e.coords.map(function(z,Y){var te=t.coords[Y];return mi(z,te,M)}),H=mi(e.alpha,t.alpha,M),V={space:i,coords:O,alpha:H};return l&&(V.coords=V.coords.map(function(z){return z/H})),o!==i&&(V=or(V,o)),V},{rangeArgs:u})}function gs(e){return Wr(e)==="function"&&!!e.rangeArgs}Dr.interpolationSpace="lab";function W0(e){e.defineFunction("mix",dd,{returns:"color"}),e.defineFunction("range",mn,{returns:"function<color>"}),e.defineFunction("steps",fd,{returns:"array<color>"});}var U0=Object.freeze({__proto__:null,mix:dd,steps:fd,range:mn,isRange:gs,register:W0}),pd=new Le({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:fn,fromBase:function(t){var r=Math.max.apply(Math,ke(t)),a=Math.min.apply(Math,ke(t)),n=ge(t,3),i=n[0],o=n[1],s=n[2],l=NaN,u=0,c=(a+r)/2,f=r-a;if(f!==0){switch(u=c===0||c===1?0:(r-c)/Math.min(c,1-c),r){case i:l=(o-s)/f+(o<s?6:0);break;case o:l=(s-i)/f+2;break;case s:l=(i-o)/f+4;}l=l*60;}return [l,u*100,c*100]},toBase:function(t){var r=ge(t,3),a=r[0],n=r[1],i=r[2];a=a%360,a<0&&(a+=360),n/=100,i/=100;function o(s){var l=(s+a/30)%12,u=n*Math.min(i,1-i);return i-u*Math.max(-1,Math.min(l-3,9-l,1))}return [o(0),o(8),o(4)]},formats:{hsl:{toGamut:true,coords:["<number> | <angle>","<percentage>","<percentage>"]},hsla:{coords:["<number> | <angle>","<percentage>","<percentage>"],commas:true,lastAlpha:true}}}),md=new Le({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:pd,fromBase:function(t){var r=ge(t,3),a=r[0],n=r[1],i=r[2];n/=100,i/=100;var o=i+n*Math.min(i,1-i);return [a,o===0?0:200*(1-i/o),100*o]},toBase:function(t){var r=ge(t,3),a=r[0],n=r[1],i=r[2];n/=100,i/=100;var o=i*(1-n/2);return [a,o===0||o===1?0:(i-o)/Math.min(o,1-o)*100,o*100]},formats:{color:{toGamut:true}}}),X0=new Le({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:md,fromBase:function(t){var r=ge(t,3),a=r[0],n=r[1],i=r[2];return [a,i*(100-n)/100,100-i]},toBase:function(t){var r=ge(t,3),a=r[0],n=r[1],i=r[2];n/=100,i/=100;var o=n+i;if(o>=1){var s=n/o;return [a,0,s*100]}var l=1-i,u=l===0?0:1-n/l;return [a,u*100,l*100]},formats:{hwb:{toGamut:true,coords:["<number> | <angle>","<percentage>","<percentage>"]}}}),Y0=[[.5766690429101305,.1855582379065463,.1882286462349947],[.29734497525053605,.6273635662554661,.07529145849399788],[.02703136138641234,.07068885253582723,.9913375368376388]],K0=[[2.0415879038107465,-0.5650069742788596,-0.34473135077832956],[-0.9692436362808795,1.8759675015077202,.04155505740717557],[.013444280632031142,-0.11836239223101838,1.0151749943912054]],hd=new Ut({id:"a98rgb-linear",name:"Linear Adobe\xAE 98 RGB compatible",white:"D65",toXYZ_M:Y0,fromXYZ_M:K0}),J0=new Ut({id:"a98rgb",name:"Adobe\xAE 98 RGB compatible",base:hd,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"}}}),Z0=[[.7977604896723027,.13518583717574031,.0313493495815248],[.2880711282292934,.7118432178101014,8565396060525902e-20],[0,0,.8251046025104601]],Q0=[[1.3457989731028281,-0.25558010007997534,-0.05110628506753401],[-0.5446224939028347,1.5082327413132781,.02053603239147973],[0,0,1.2119675456389454]],gd=new Ut({id:"prophoto-linear",name:"Linear ProPhoto",white:"D50",base:as,toXYZ_M:Z0,fromXYZ_M:Q0}),ew=1/512,tw=16/512,rw=new Ut({id:"prophoto",name:"ProPhoto",base:gd,toBase:function(t){return t.map(function(r){return r<tw?r/16:Math.pow(r,1.8)})},fromBase:function(t){return t.map(function(r){return r>=ew?Math.pow(r,1/1.8):16*r})},formats:{color:{id:"prophoto-rgb"}}}),aw=new Le({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:Si,fromBase:function(t){var r=ge(t,3),a=r[0],n=r[1],i=r[2],o,s=2e-4;return Math.abs(n)<s&&Math.abs(i)<s?o=NaN:o=Math.atan2(i,n)*180/Math.PI,[a,Math.sqrt(Math.pow(n,2)+Math.pow(i,2)),vi(o)]},toBase:function(t){var r=ge(t,3),a=r[0],n=r[1],i=r[2],o,s;return isNaN(i)?(o=0,s=0):(o=n*Math.cos(i*Math.PI/180),s=n*Math.sin(i*Math.PI/180)),[a,o,s]},formats:{oklch:{coords:["<number> | <percentage>","<number>","<number> | <angle>"]}}}),vd=203,bd=2610/Math.pow(2,14),nw=Math.pow(2,14)/2610,iw=2523/Math.pow(2,5),yd=Math.pow(2,5)/2523,wd=3424/Math.pow(2,12),xd=2413/Math.pow(2,7),Dd=2392/Math.pow(2,7),ow=new Ut({id:"rec2100pq",name:"REC.2100-PQ",base:wi,toBase:function(t){return t.map(function(r){var a=Math.pow(Math.max(Math.pow(r,yd)-wd,0)/(xd-Dd*Math.pow(r,yd)),nw);return a*1e4/vd})},fromBase:function(t){return t.map(function(r){var a=Math.max(r*vd/1e4,0),n=wd+xd*Math.pow(a,bd),i=1+Dd*Math.pow(a,bd);return Math.pow(n/i,iw)})},formats:{color:{id:"rec2100-pq"}}}),_d=.17883277,Ad=.28466892,Ed=.55991073,vs=3.7743,sw=new Ut({id:"rec2100hlg",cssid:"rec2100-hlg",name:"REC.2100-HLG",referred:"scene",base:wi,toBase:function(t){return t.map(function(r){return r<=.5?Math.pow(r,2)/3*vs:Math.exp((r-Ed)/_d+Ad)/12*vs})},fromBase:function(t){return t.map(function(r){return r/=vs,r<=1/12?Math.sqrt(3*r):_d*Math.log(12*r-Ad)+Ed})},formats:{color:{id:"rec2100-hlg"}}}),Cd={};Ur.add("chromatic-adaptation-start",function(e){e.options.method&&(e.M=Sd(e.W1,e.W2,e.options.method));}),Ur.add("chromatic-adaptation-end",function(e){e.M||(e.M=Sd(e.W1,e.W2,e.options.method));});function ki(e){var t=e.id;e.toCone_M;e.fromCone_M;Cd[t]=arguments[0];}function Sd(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"Bradford",a=Cd[r],n=_t(a.toCone_M,e),i=ge(n,3),o=i[0],s=i[1],l=i[2],u=_t(a.toCone_M,t),c=ge(u,3),f=c[0],b=c[1],A=c[2],k=[[f/o,0,0],[0,b/s,0],[0,0,A/l]],I=_t(k,a.toCone_M),P=_t(a.fromCone_M,I);return P}ki({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]]}),ki({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]]}),ki({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]]}),ki({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(hr,{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]}),hr.ACES=[.32168/.33767,1,(1-.32168-.33767)/.33767];var lw=[[.6624541811085053,.13400420645643313,.1561876870049078],[.27222871678091454,.6740817658111484,.05368951740793705],[-0.005574649490394108,.004060733528982826,1.0103391003129971]],uw=[[1.6410233796943257,-0.32480329418479,-0.23642469523761225],[-0.6636628587229829,1.6153315916573379,.016756347685530137],[.011721894328375376,-0.008284441996237409,.9883948585390215]],kd=new Ut({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:hr.ACES,toXYZ_M:lw,fromXYZ_M:uw,formats:{color:{}}}),Ti=Math.pow(2,-16),bs=-0.35828683,Fi=(Math.log2(65504)+9.72)/17.52,cw=new Ut({id:"acescc",name:"ACEScc",coords:{r:{range:[bs,Fi],name:"Red"},g:{range:[bs,Fi],name:"Green"},b:{range:[bs,Fi],name:"Blue"}},referred:"scene",base:kd,toBase:function(t){var r=-0.3013698630136986;return t.map(function(a){return a<=r?(Math.pow(2,a*17.52-9.72)-Ti)*2:a<Fi?Math.pow(2,a*17.52-9.72):65504})},fromBase:function(t){return t.map(function(r){return r<=0?(Math.log2(Ti)+9.72)/17.52:r<Ti?(Math.log2(Ti+r*.5)+9.72)/17.52:(Math.log2(r)+9.72)/17.52})},formats:{color:{}}}),Td=Object.freeze({__proto__:null,XYZ_D65:nr,XYZ_D50:as,XYZ_ABS_D65:ds,Lab_D65:us,Lab:Yt,LCH:un,sRGB_Linear:qc,sRGB:fn,HSL:pd,HWB:X0,HSV:md,P3_Linear:Nc,P3:jc,A98RGB_Linear:hd,A98RGB:J0,ProPhoto_Linear:gd,ProPhoto:rw,REC_2020_Linear:wi,REC_2020:Oc,OKLab:Si,OKLCH:aw,Jzazbz:id,JzCzHz:ps,ICTCP:ms,REC_2100_PQ:ow,REC_2100_HLG:sw,ACEScg:kd,ACEScc:cw}),ot=(De=new WeakMap,(function(){function e(){var t=this;ft(this,e),cr(this,De,void 0);for(var r,a=arguments.length,n=new Array(a),i=0;i<a;i++)n[i]=arguments[i];n.length===1&&(r=rt(n[0]));var o,s,l;r?(o=r.space||r.spaceId,s=r.coords,l=r.alpha):(o=n[0],s=n[1],l=n[2]),Mt(De,this,Le.get(o)),this.coords=s?s.slice():[0,0,0],this.alpha=l<1?l:1;for(var u=0;u<this.coords.length;u++)this.coords[u]==="NaN"&&(this.coords[u]=NaN);var c=function(A){Object.defineProperty(t,A,{get:function(){return t.get(A)},set:function(I){return t.set(A,I)}});};for(var f in $t(De,this).coords)c(f);}return vt(e,[{key:"space",get:function(){return $t(De,this)}},{key:"spaceId",get:function(){return $t(De,this).id}},{key:"clone",value:function(){return new ot(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,a=new Array(r),n=0;n<r;n++)a[n]=arguments[n];var i=Yy.apply(void 0,[this].concat(a));return i.color=new ot(i.color),i}}],[{key:"get",value:function(r){if(r instanceof ot)return r;for(var a=arguments.length,n=new Array(a>1?a-1:0),i=1;i<a;i++)n[i-1]=arguments[i];return _e(ot,[r].concat(n))}},{key:"defineFunction",value:function(r,a){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:a,i=n.instance,o=i===void 0?true:i,s=n.returns,l=function(){var c=a.apply(void 0,arguments);if(s==="color")c=ot.get(c);else if(s==="function<color>"){var f=c;c=function(){var A=f.apply(void 0,arguments);return ot.get(A)},Object.assign(c,f);}else s==="array<color>"&&(c=c.map(function(b){return ot.get(b)}));return c};r in ot||(ot[r]=l),o&&(ot.prototype[r]=function(){for(var u=arguments.length,c=new Array(u),f=0;f<u;f++)c[f]=arguments[f];return l.apply(void 0,[this].concat(c))});}},{key:"defineFunctions",value:function(r){for(var a in r)ot.defineFunction(a,r[a],r[a]);}},{key:"extend",value:function(r){if(r.register)r.register(ot);else for(var a in r)ot.defineFunction(a,r[a]);}}])})());ot.defineFunctions({get:ir,getAll:ln,set:Xr,setAll:Rc,to:or,equals:Ky,inGamut:cn,toGamut:Yr,distance:zc,toString:yi}),Object.assign(ot,{util:Ly,hooks:Ur,WHITES:hr,Space:Le,spaces:Le.registry,parse:Fc,defaults:Dr});for(var ys=0,Fd=Object.keys(Td);ys<Fd.length;ys++){var dw=Fd[ys];Le.register(Td[dw]);}for(var Rd in Le.registry)ws(Rd,Le.registry[Rd]);Ur.add("colorspace-init-end",function(e){var t;ws(e.id,e),(t=e.aliases)===null||t===void 0||t.forEach(function(r){ws(r,e);});});function ws(e,t){Object.keys(t.coords),Object.values(t.coords).map(function(a){return a.name});var r=e.replace(/-/g,"_");Object.defineProperty(ot.prototype,r,{get:function(){var n=this,i=this.getAll(e);return typeof Proxy>"u"?i:new Proxy(i,{has:function(s,l){try{return Le.resolveCoord([t,l]),!0}catch{}return Reflect.has(s,l)},get:function(s,l,u){if(l&&ie(l)!=="symbol"&&!(l in s)){var c=Le.resolveCoord([t,l]),f=c.index;if(f>=0)return s[f]}return Reflect.get(s,l,u)},set:function(s,l,u,c){if(l&&ie(l)!=="symbol"&&!(l in s)||l>=0){var f=Le.resolveCoord([t,l]),b=f.index;if(b>=0)return s[b]=u,n.setAll(e,s),true}return Reflect.set(s,l,u,c)}})},set:function(n){this.setAll(e,n);},configurable:true,enumerable:true});}ot.extend(hs),ot.extend({deltaE:pn}),ot.extend(G0),ot.extend({contrast:g0}),ot.extend(b0),ot.extend(Zy),ot.extend(U0),ot.extend(_i);var Id=wr(rc());Gr.default.templateSettings.strip=false,h._memoizedFns=[];function fw(e){var t=(0, Ac.default)(e);return h._memoizedFns.push(t),t}var lt=fw,pw=lt(function(e){return e!=null&&e.createElement?e.createElement("A").localName==="A":false}),hn=pw;function xs(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!t)return "";var a=t.getRootNode&&t.getRootNode()||m;if(a.nodeType!==11)return e(t,r,a);for(var n=[];a.nodeType===11;){if(!a.host)return "";n.unshift({elm:t,doc:a}),t=a.host,a=t.getRootNode();}return n.unshift({elm:t,doc:a}),n.map(function(i){return e(i.elm,r,i.doc)})}var mw=["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"],hw=31,gw=/([\\"])/g,vw=/(\r\n|\r|\n)/g;function Ds(e){return e.replace(gw,"\\$1").replace(vw,"\\a ")}function Ld(e,t){var r=t.name,a;if(r.indexOf("href")!==-1||r.indexOf("src")!==-1){var n=xc(e.getAttribute(r));n?a=yt(t.name)+'$="'+Ds(n)+'"':a=yt(t.name)+'="'+Ds(e.getAttribute(r))+'"';}else a=yt(r)+'="'+Ds(t.value)+'"';return a}function _s(e,t){return e.count<t.count?-1:e.count===t.count?0:1}function Pd(e){return !mw.includes(e.name)&&e.name.indexOf(":")===-1&&(!e.value||e.value.length<hw)}function Ri(e){var t={classes:{},tags:{},attributes:{}};e=Array.isArray(e)?e:[e];for(var r=e.slice(),a=[],n=function(){var o=r.pop(),s=o.actualNode;if(s.querySelectorAll){var l=s.nodeName;t.tags[l]?t.tags[l]++:t.tags[l]=1,s.classList&&Array.from(s.classList).forEach(function(u){var c=yt(u);t.classes[c]?t.classes[c]++:t.classes[c]=1;}),s.hasAttributes()&&Array.from(on(s)).filter(Pd).forEach(function(u){var c=Ld(s,u);c&&(t.attributes[c]?t.attributes[c]++:t.attributes[c]=1);});}for(o.children.length&&(a.push(r),r=o.children.slice());!r.length&&a.length;)r=a.pop();};r.length;)n();return t}function bw(e,t){var r=[],a=t.classes,n=t.tags;return e.classList&&Array.from(e.classList).forEach(function(i){var o=yt(i);a[o]<n[e.nodeName]&&r.push({name:o,count:a[o],species:"class"});}),r.sort(_s)}function yw(e,t){var r=e.parentNode&&Array.from(e.parentNode.children||"")||[],a=r.find(function(i){return i!==e&&Aa(i,t)});if(a){var n=1+r.indexOf(e);return ":nth-child("+n+")"}else return ""}function ww(e){if(e.getAttribute("id")){var t=e.getRootNode&&e.getRootNode()||m,r="#"+yt(e.getAttribute("id")||"");if(!r.match(/player_uid_/)&&t.querySelectorAll(r).length===1)return r}}function Md(e){var t=hn(m);return yt(t?e.localName:e.nodeName.toLowerCase())}function xw(e,t){var r=[],a=t.attributes,n=t.tags;return e.hasAttributes()&&Array.from(on(e)).filter(Pd).forEach(function(i){var o=Ld(e,i);o&&a[o]<n[e.nodeName]&&r.push({name:o,count:a[o],species:"attribute"});}),r.sort(_s)}function Dw(e,t){var r="",a,n=bw(e,t),i=xw(e,t);return n.length&&n[0].count===1?a=[n[0]]:i.length&&i[0].count===1?(a=[i[0]],r=Md(e)):(a=n.concat(i),a.sort(_s),a=a.slice(0,3),a.some(function(o){return o.species==="class"})?a.sort(function(o,s){return o.species!==s.species&&o.species==="class"?-1:o.species===s.species?0:1}):r=Md(e)),r+=a.reduce(function(o,s){switch(s.species){case "class":return o+"."+s.name;case "attribute":return o+"["+s.name+"]"}return o},"")}function _w(e,t,r){if(!h._selectorData)throw new Error("Expect axe._selectorData to be set up");var a=t.toRoot,n=a===void 0?false:a,i,o;do{var s=ww(e);s||(s=Dw(e,h._selectorData),s+=yw(e,s)),i?i=s+" > "+i:i=s,!o||o.length>je.selectorSimilarFilterLimit?o=Ew(r,i):o=o.filter(function(l){return Aa(l,i)}),e=e.parentElement;}while((o.length>1||n)&&e&&e.nodeType!==11);return o.length===1?i:i.indexOf(" > ")!==-1?":root"+i.substring(i.indexOf(" > ")):":root"}function Aw(e,t){return xs(_w,e,t)}var As=lt(Aw),Ew=lt(function(e,t){return Array.from(e.querySelectorAll(t))});function Od(e){var t=e.nodeName.toLowerCase(),r=e.parentElement,a=e.parentNode,n="";if(t!=="head"&&t!=="body"&&a?.children.length>1){var i=Array.prototype.indexOf.call(a.children,e)+1;n=":nth-child(".concat(i,")");}return r?Od(r)+" > "+t+n:t+n}function Ii(e,t){return xs(Od,e,t)}function Nd(e,t){var r,a;if(!e)return [];if(!t&&e.nodeType===9)return t=[{str:"html"}],t;if(t=t||[],e.parentNode&&e.parentNode!==e&&(t=Nd(e.parentNode,t)),e.previousSibling){a=1,r=e.previousSibling;do r.nodeType===1&&r.nodeName===e.nodeName&&a++,r=r.previousSibling;while(r);a===1&&(a=null);}else if(e.nextSibling){r=e.nextSibling;do r.nodeType===1&&r.nodeName===e.nodeName?(a=1,r=null):(a=null,r=r.previousSibling);while(r)}if(e.nodeType===1){var n={};n.str=e.nodeName.toLowerCase();var i=e.getAttribute&&yt(e.getAttribute("id"));i&&e.ownerDocument.querySelectorAll("#"+i).length===1&&(n.id=e.getAttribute("id")),a>1&&(n.count=a),t.push(n);}return t}function Cw(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 Sw(e){var t=Nd(e);return Cw(t)}var qd=Sw,gn={},kw={set:function(t,r){Tw(t),gn[t]=r;},get:function(t,r){if(Fw(r),t in gn)return gn[t];if(typeof r=="function"){var a=r();return Qe(a!==void 0,"Cache creator function should not return undefined"),this.set(t,a),gn[t]}},clear:function(){gn={};}};function Tw(e){Qe(typeof e=="string","key must be a string, "+ie(e)+" given"),Qe(e!=="","key must not be empty");}function Fw(e){Qe(typeof e=="function"||typeof e>"u","creator must be a function or undefined, "+ie(e)+" given");}var Ve=kw;function Rw(e,t){var r=t||e;return Ve.get("nodeMap")?Ve.get("nodeMap").get(r):null}var ze=Rw;function Bd(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.maxLength,a=r===void 0?300:r,n=t.attrLimit,i=n===void 0?20:n;if(!e)return "";if(e.nodeType!==1){var o,s=(o=e.nodeValue)!==null&&o!==void 0?o:"";return Es(s,a)}var l=Iw(e);return l.length>a?Lw(e,{maxLength:a,attrLimit:i}):l}function Iw(e){var t=e.outerHTML;return !t&&typeof p.XMLSerializer=="function"&&(t=new p.XMLSerializer().serializeToString(e)),t||""}function Lw(e,t){var r=t.maxLength,a=t.attrLimit,n=hn(e.ownerDocument||m)?e.nodeName:e.nodeName.toLowerCase(),i=Array.from(on(e)).map(function(k){var I=k.name,P=k.value;return {name:I,value:P}}),o=i.reduce(function(k,I){var P=I.name,M=I.value;return k+P.length+M.length+4},0);2+n.length+o>r&&i.forEach(function(k){k.name=Es(k.name,a),k.value=Es(k.value,a);});var s="<".concat(n),l=">",u=" ...>",c=Ke(i),f;try{for(c.s();!(f=c.n()).done;){var b=f.value,A=" ".concat(b.name,'="').concat(b.value,'"');if(s.length+A.length>r-u.length){l=u;continue}s+=A;}}catch(k){c.e(k);}finally{c.f();}return s+l}function Es(e,t){return e.length<=t?e:e.substring(0,t)+"..."}var Hd="DqElm.RunOptions",ma=lt(function(t,r,a){var n,i;if(r??(r=null),a??(a={}),!r){var o;r=(o=Ve.get(Hd))!==null&&o!==void 0?o:{};}if(this.spec=a,t instanceof Rt?(this._virtualNode=t,this._element=t.actualNode):(this._element=t,this._virtualNode=ze(t)),this.fromFrame=((n=this.spec.selector)===null||n===void 0?void 0:n.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,!h._audit.noHtml){var s;this.source=(s=this.spec.source)!==null&&s!==void 0?s:Bd(this._element);}return this});ma.prototype={get selector(){return this.spec.selector||[As(this.element,this._options)]},get ancestry(){return this.spec.ancestry||[Ii(this.element)]},get xpath(){return this.spec.xpath||[qd(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}},ma.fromFrame=function(t,r,a){var n=ma.mergeSpecs(t,a);return new ma(a.element,r,n)},ma.mergeSpecs=function(t,r){return Re({},t,{selector:[].concat(ke(r.selector),ke(t.selector)),ancestry:[].concat(ke(r.ancestry),ke(t.ancestry)),xpath:[].concat(ke(r.xpath),ke(t.xpath)),nodeIndexes:[].concat(ke(r.nodeIndexes),ke(t.nodeIndexes)),fromFrame:true})},ma.setRunOptions=function(t){var r=t.elementRef,a=t.absolutePaths;Ve.set(Hd,{elementRef:r,absolutePaths:a});};var sr=ma;function Pw(e,t,r,a){return {isAsync:false,async:function(){return this.isAsync=true,function(i){i instanceof Error?a(i):(e.result=i,r(e));}},data:function(i){e.data=i;},relatedNodes:function(i){p.Node&&(i instanceof p.Node||i instanceof Rt?i=[i]:i=wc(i),e.relatedNodes=[],i.forEach(function(o){if(o instanceof Rt&&(o=o.actualNode),o instanceof p.Node){var s=new sr(o);e.relatedNodes.push(s);}}));}}}var Cs=Pw;function Mr(e){return Ss(e,new Map)}function Ss(e,t){var r,a;if(e===null||ie(e)!=="object"||(r=p)!==null&&r!==void 0&&r.Node&&e instanceof p.Node||(a=p)!==null&&a!==void 0&&a.HTMLCollection&&e instanceof p.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 n=[];return t.set(e,n),e.forEach(function(s){n.push(Ss(s,t));}),n}var i={};t.set(e,i);for(var o in e)i[o]=Ss(e[o],t);return i}var vn=new _c.CssSelectorParser;vn.registerSelectorPseudos("not"),vn.registerSelectorPseudos("is"),vn.registerNestingOperators(">"),vn.registerAttrEqualityMods("^","$","*","~");var Vd=vn;function ks(e,t){var r=Li(t);return r.some(function(a){return Sa(e,a)})}function Mw(e,t){return e.props.nodeType===1&&(t.tag==="*"||e.props.nodeName===t.tag)}function Ow(e,t){return !t.classes||t.classes.every(function(r){return e.hasClass(r.value)})}function Nw(e,t){return !t.attributes||t.attributes.every(function(r){var a=e.attr(r.key);return a!==null&&r.test(a)})}function qw(e,t){return !t.id||e.props.id===t.id}function Bw(e,t){return !!(!t.pseudos||t.pseudos.every(function(r){if(r.name==="not")return !r.expressions.some(function(a){return Sa(e,a)});if(r.name==="is")return r.expressions.some(function(a){return Sa(e,a)});throw new Error("the pseudo selector "+r.name+" has not yet been implemented")}))}function jd(e,t){return Mw(e,t)&&Ow(e,t)&&Nw(e,t)&&qw(e,t)&&Bw(e,t)}var bn=(function(){var e=/(?=[\-\[\]{}()*+?.\\\^$|,#\s])/g,t="\\";return function(r){return r.replace(e,t)}})(),Ts=/\\/g;function Hw(e){if(e)return e.map(function(t){var r=t.name.replace(Ts,""),a=(t.value||"").replace(Ts,""),n,i;switch(t.operator){case "^=":i=new RegExp("^"+bn(a));break;case "$=":i=new RegExp(bn(a)+"$");break;case "~=":i=new RegExp("(^|\\s)"+bn(a)+"(\\s|$)");break;case "|=":i=new RegExp("^"+bn(a)+"(-|$)");break;case "=":n=function(s){return a===s};break;case "*=":n=function(s){return s&&s.includes(a)};break;case "!=":n=function(s){return a!==s};break;default:n=function(s){return s!==null};}return a===""&&/^[*$^]=$/.test(t.operator)&&(n=function(){return false}),n||(n=function(s){return s&&i.test(s)}),{key:r,value:a,type:typeof t.value>"u"?"attrExist":"attrValue",test:n}})}function Vw(e){if(e)return e.map(function(t){return t=t.replace(Ts,""),{value:t,regexp:new RegExp("(^|\\s)"+bn(t)+"(\\s|$)")}})}function jw(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=$d(r)),{name:t.name,expressions:r,value:t.value}})}function $d(e){return e.map(function(t){for(var r=[],a=t.rule;a;)r.push({tag:a.tagName?a.tagName.toLowerCase():"*",combinator:a.nestingOperator?a.nestingOperator:" ",id:a.id,attributes:Hw(a.attrs),classes:Vw(a.classNames),pseudos:jw(a.pseudos)}),a=a.rule;return r})}function Li(e){var t=Vd.parse(e);return t=t.selectors?t.selectors:[t],$d(t)}function zd(e,t,r,a){if(!e)return false;for(var n=Array.isArray(t),i=n?t[r]:t,o=jd(e,i);!o&&a&&e.parent;)e=e.parent,o=jd(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&&zd(e.parent,t,r-1,i.combinator===" ");}return o}function Sa(e,t,r){return zd(e,t,t.length-1,r)}function $w(e,t){for(;e;){if(ks(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 Kt=$w;function Pi(){}function Fs(e){if(typeof e!="function")throw new TypeError("Queue methods require functions as arguments")}function zw(){var e=[],t=0,r=0,a=Pi,n=false,i,o=function(A){i=A,setTimeout(function(){i!=null&&pa("Uncaught error (of queue)",i);},1);},s=o;function l(b){return function(A){e[b]=A,r-=1,!r&&a!==Pi&&(n=true,a(e));}}function u(b){return a=Pi,s(b),e}function c(){for(var b=e.length;t<b;t++){var A=e[t];try{A.call(null,l(t),u);}catch(k){u(k);}}}var f={defer:function(A){if(ie(A)==="object"&&A.then&&A.catch){var k=A;A=function(P,M){k.then(P).catch(M);};}if(Fs(A),i===void 0){if(n)throw new Error("Queue already completed");return e.push(A),++r,c(),f}},then:function(A){if(Fs(A),a!==Pi)throw new Error("queue `then` already set");return i||(a=A,r||(n=true,a(e))),f},catch:function(A){if(Fs(A),s!==o)throw new Error("queue `catch` already set");return i?(A(i),i=null):s=A,f},abort:u};return f}var _r=zw,ka,Ta,Rs=p.crypto||p.msCrypto;if(!Ta&&Rs&&Rs.getRandomValues){var Gd=new Uint8Array(16);Ta=function(){return Rs.getRandomValues(Gd),Gd};}if(!Ta){var Wd=new Array(16);Ta=function(){for(var t=0,r;t<16;t++)(t&3)===0&&(r=Math.random()*4294967296),Wd[t]=r>>>((t&3)<<3)&255;return Wd};}for(var Ud=typeof p.Buffer=="function"?p.Buffer:Array,Is=[],Xd={},Fa=0;Fa<256;Fa++)Is[Fa]=(Fa+256).toString(16).substr(1),Xd[Is[Fa]]=Fa;function Gw(e,t,r){var a=t&&r||0,n=0;for(t=t||[],e.toLowerCase().replace(/[0-9a-f]{2}/g,function(i){n<16&&(t[a+n++]=Xd[i]);});n<16;)t[a+n++]=0;return t}function Ls(e,t){var r=t||0,a=Is;return a[e[r++]]+a[e[r++]]+a[e[r++]]+a[e[r++]]+"-"+a[e[r++]]+a[e[r++]]+"-"+a[e[r++]]+a[e[r++]]+"-"+a[e[r++]]+a[e[r++]]+"-"+a[e[r++]]+a[e[r++]]+a[e[r++]]+a[e[r++]]+a[e[r++]]+a[e[r++]]}var Jr=Ta(),Ww=[Jr[0]|1,Jr[1],Jr[2],Jr[3],Jr[4],Jr[5]],Yd=(Jr[6]<<8|Jr[7])&16383,Ps=0,Ms=0;function Kd(e,t,r){var a=t&&r||0,n=t||[];e=e||{};var i=e.clockseq!=null?e.clockseq:Yd,o=e.msecs!=null?e.msecs:new Date().getTime(),s=e.nsecs!=null?e.nsecs:Ms+1,l=o-Ps+(s-Ms)/1e4;if(l<0&&e.clockseq==null&&(i=i+1&16383),(l<0||o>Ps)&&e.nsecs==null&&(s=0),s>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");Ps=o,Ms=s,Yd=i,o+=122192928e5;var u=((o&268435455)*1e4+s)%4294967296;n[a++]=u>>>24&255,n[a++]=u>>>16&255,n[a++]=u>>>8&255,n[a++]=u&255;var c=o/4294967296*1e4&268435455;n[a++]=c>>>8&255,n[a++]=c&255,n[a++]=c>>>24&15|16,n[a++]=c>>>16&255,n[a++]=i>>>8|128,n[a++]=i&255;for(var f=e.node||Ww,b=0;b<6;b++)n[a+b]=f[b];return t||Ls(n)}function ha(e,t,r){var a=t&&r||0;typeof e=="string"&&(t=e=="binary"?new Ud(16):null,e=null),e=e||{};var n=e.random||(e.rng||Ta)();if(n[6]=n[6]&15|64,n[8]=n[8]&63|128,t)for(var i=0;i<16;i++)t[a+i]=n[i];return t||Ls(n)}ka=ha,ka.v1=Kd,ka.v4=ha,ka.parse=Gw,ka.unparse=Ls,ka.BufferClass=Ud,h._uuid=Kd();var Uw=ha,Xw=Object.freeze(["EvalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"]);function Yw(e){var t=e.topic,r=e.channelId,a=e.message,n=e.messageId,i=e.keepalive,o={channelId:r,topic:t,messageId:n,keepalive:!!i,source:Jd()};return a instanceof Error?o.error={name:a.name,message:a.message,stack:a.stack}:o.payload=a,JSON.stringify(o)}function Kw(e){var t;try{t=JSON.parse(e);}catch{return}if(Jw(t)){var r=t,a=r.topic,n=r.channelId,i=r.messageId,o=r.keepalive,s=ie(t.error)==="object"?Zw(t.error):t.payload;return {topic:a,message:s,messageId:i,channelId:n,keepalive:!!o}}}function Jw(e){return e!==null&&ie(e)==="object"&&typeof e.channelId=="string"&&e.source===Jd()}function Zw(e){var t=e.message||"Unknown error occurred",r=Xw.includes(e.name)?e.name:"Error",a=p[r]||Error;return e.stack&&(t+=`
365
+ `+e.stack.replace(e.message,"")),new a(t)}function Jd(){var e="axeAPI",t="";return typeof h<"u"&&h._audit&&h._audit.application&&(e=h._audit.application),typeof h<"u"&&(t=h.version),e+"."+t}function Os(e){Qd(e),Qe(p.parent===e,"Source of the response must be the parent window.");}function Zd(e){Qd(e),Qe(e.parent===p,"Respondable target must be a frame in the current window");}function Qd(e){Qe(p!==e,"Messages can not be sent to the same window.");}var yn={};function Qw(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:true;Qe(!Object.prototype.hasOwnProperty.call(yn,e),"A replyHandler already exists for this message channel."),yn[e]={replyHandler:t,sendToParent:r};}function ex(e){return Object.prototype.hasOwnProperty.call(yn,e)?yn[e]:void 0}function tx(e){delete yn[e];}var Mi=[];function Ns(){var e="".concat(ha(),":").concat(ha());return Mi.includes(e)?Ns():(Mi.push(e),e)}function rx(e){return Mi.includes(e)?false:(Mi.push(e),true)}function qs(e,t,r,a){if(r?Os(e):Zd(e),t.message instanceof Error&&!r)return h.log(t.message),false;var n=Yw(Re({messageId:Ns()},t)),i=h._audit.allowedOrigins;return !i||!i.length?false:(typeof a=="function"&&Qw(t.channelId,a,r),i.forEach(function(o){try{e.postMessage(n,o);}catch(s){throw s instanceof e.DOMException?new Error('allowedOrigins value "'.concat(o,'" is not a valid origin')):s}}),true)}function ax(e,t,r){if(!e.parent!==p)return h.log(t);try{qs(e,{topic:null,channelId:r,message:t,messageId:Ns(),keepalive:!0},!0);}catch(a){return h.log(a)}}function ef(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:true;return function(n,i,o){var s={channelId:t,message:n,keepalive:i};qs(e,s,r,o);}}function nx(e){var t=h._audit.allowedOrigins;return t&&t.includes("*")||t.includes(e)}function ix(e,t){var r=e.origin,a=e.data,n=e.source;try{var i=Kw(a)||{},o=i.channelId,s=i.message,l=i.messageId;if(!nx(r)||!rx(l))return;if(s instanceof Error&&n.parent!==p)return h.log(s),!1;try{if(i.topic){var u=ef(n,o);Os(n),t(i,u);}else ox(n,i);}catch(c){ax(n,c,o);}}catch(c){return h.log(c),false}}function ox(e,t){var r=t.channelId,a=t.message,n=t.keepalive,i=ex(r)||{},o=i.replyHandler,s=i.sendToParent;if(o){s?Os(e):Zd(e);var l=ef(e,r,s);!n&&r&&tx(r);try{o(a,n,l);}catch(u){h.log(u),l(u,n);}}}var sx={open:function(t){if(typeof p.addEventListener=="function"){var r=function(n){ix(n,t);};return p.addEventListener("message",r,false),function(){p.removeEventListener("message",r,false);}}},post:function(t,r,a){return typeof p.addEventListener!="function"?false:qs(t,r,false,a)}};function tf(e){e.updateMessenger(sx);}var Oi,rf,Ni={};function vr(e,t,r,a,n){var i={topic:t,message:r,channelId:"".concat(ha(),":").concat(ha()),keepalive:a};return rf(e,i,n)}function lx(e,t){var r=e.topic,a=e.message,n=e.keepalive,i=Object.prototype.hasOwnProperty.call(Ni,r)?Ni[r]:void 0;if(i)try{i(a,n,t);}catch(o){h.log(o),t(o,n);}}vr.updateMessenger=function(t){var r=t.open,a=t.post;Qe(typeof r=="function","open callback must be a function"),Qe(typeof a=="function","post callback must be a function"),Oi&&Oi();var n=r(lx);n?(Qe(typeof n=="function","open callback must return a cleanup function"),Oi=n):Oi=null,rf=a;},vr.subscribe=function(t,r){Qe(typeof r=="function","Subscriber callback must be a function"),Qe(!Object.prototype.hasOwnProperty.call(Ni,t),"Topic ".concat(t," is already registered to.")),Ni[t]=r;},vr.isInFrame=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:p;return !!t.frameElement},tf(vr);function af(e,t,r,a){var n,i,o=e.contentWindow,s=(n=(i=t.options)===null||i===void 0?void 0:i.pingWaitTime)!==null&&n!==void 0?n:500;if(!o){pa("Frame does not have a content window",e),r(null);return}if(s===0){nf(e,t,r,a);return}var l=setTimeout(function(){l=setTimeout(function(){t.debug?a(of("No response from frame",e)):r(null);},0);},s);vr(o,"axe.ping",null,void 0,function(){clearTimeout(l),nf(e,t,r,a);});}function nf(e,t,r,a){var n,i,o=(n=(i=t.options)===null||i===void 0?void 0:i.frameWaitTime)!==null&&n!==void 0?n:6e4,s=e.contentWindow,l=setTimeout(function(){a(of("Axe in frame timed out",e));},o);vr(s,"axe.start",t,void 0,function(u){clearTimeout(l),u instanceof Error?a(u):r(u);});}function of(e,t){var r;return h._tree&&(r=As(t)),new Error(e+": "+(r||t))}var wn=null,xn={update:function(t){Qe(ie(t)==="object","serializer must be an object"),wn=t;},toSpec:function(t){return xn.dqElmToSpec(new sr(t))},dqElmToSpec:function(t,r){var a;return t instanceof sr?(r&&(t=ux(t,r)),typeof((a=wn)===null||a===void 0?void 0:a.toSpec)=="function"?wn.toSpec(t):t.toJSON()):t},mergeSpecs:function(t,r){var a;return typeof((a=wn)===null||a===void 0?void 0:a.mergeSpecs)=="function"?wn.mergeSpecs(t,r):sr.mergeSpecs(t,r)},mapRawResults:function(t){return t.map(function(r){return Re({},r,{nodes:xn.mapRawNodeResults(r.nodes)})})},mapRawNodeResults:function(t){return t?.map(function(r){var a=r.node,n=he(r,w);n.node=xn.dqElmToSpec(a);for(var i=0,o=["any","all","none"];i<o.length;i++){var s=o[i];n[s]=n[s].map(function(l){var u=l.relatedNodes,c=he(l,T);return c.relatedNodes=u.map(xn.dqElmToSpec),c});}return n})}},lr=xn;function ux(e,t){var r=e.fromFrame,a=t.ancestry,n=t.xpath,i=t.selectors!==false||r;return e=new sr(e.element,t,{source:e.source,nodeIndexes:e.nodeIndexes,selector:i?e.selector:[":root"],ancestry:a?e.ancestry:[":root"],xpath:n?e.xpath:"/"}),e.fromFrame=r,e}function cx(e){var t=[];return t.concat(e.any||[]).concat(e.all||[]).concat(e.none||[])}var qi=cx;function dx(e,t,r){if(Array.isArray(e))return e.find(function(a){return a!==null&&ie(a)==="object"&&Object.hasOwn(a,t)&&a[t]===r})}var Dn=dx;function fx(e,t,r){e.forEach(function(a){a.node=lr.mergeSpecs(a.node,r);var n=qi(a);n.forEach(function(i){i.relatedNodes=i.relatedNodes.map(function(o){return lr.mergeSpecs(o,r)});});});}function px(e,t){for(var r=t[0].node,a,n=0;n<e.length;n++){a=e[n].node;var i=sf(a.nodeIndexes,r.nodeIndexes);if(i>0||i===0&&r.selector.length<a.selector.length){e.splice.apply(e,[n,0].concat(ke(t)));return}}e.push.apply(e,ke(t));}function mx(e){return !e||!e.results?null:Array.isArray(e.results)?e.results.length?e.results:null:[e.results]}function hx(e,t){var r=[];return e.forEach(function(a){var n=mx(a);if(!(!n||!n.length)){var i=gx(a);n.forEach(function(o){o.nodes&&i&&fx(o.nodes,t,i);var s=Dn(r,"id",o.id);if(!s)r.push(o);else if(o.nodes.length&&px(s.nodes,o.nodes),o.error){var l;(l=s.error)!==null&&l!==void 0||(s.error=o.error);}});}}),r.forEach(function(a){a.nodes&&a.nodes.sort(function(n,i){return sf(n.node.nodeIndexes,i.node.nodeIndexes)});}),r}function sf(){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),a=0;a<r;a++){var n=e?.[a],i=t?.[a];if(typeof n!="number"||isNaN(n))return a===0?1:-1;if(typeof i!="number"||isNaN(i))return a===0?-1:1;if(n!==i)return n-i}return 0}var Bi=hx;function gx(e){return e.frameElement?lr.toSpec(e.frameElement):e.frameSpec?e.frameSpec:null}function lf(e,t,r,a,n,i){t=Re({},t,{elementRef:false});var o=_r(),s=e.frames;s.forEach(function(l){var u=l.node,c=he(l,E);o.defer(function(f,b){var A={options:t,command:r,parameter:a,context:c};function k(I){return f(I?{results:I,frameElement:u}:null)}af(u,A,k,b);});}),o.then(function(l){n(Bi(l,t));}).catch(i);}function Or(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 uf(){for(var e={},t=arguments.length,r=new Array(t),a=0;a<t;a++)r[a]=arguments[a];return r.forEach(function(n){if(!(!n||ie(n)!=="object"||Array.isArray(n)))for(var i=0,o=Object.keys(n);i<o.length;i++){var s=o[i];!e.hasOwnProperty(s)||ie(n[s])!=="object"||Array.isArray(e[s])?e[s]=n[s]:e[s]=uf(e[s],n[s]);}}),e}var Bs=uf;function vx(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 Hs=vx,bx=["article","aside","blockquote","body","div","footer","h1","h2","h3","h4","h5","h6","header","main","nav","p","section","span"];function yx(e){if(e.shadowRoot){var t=e.nodeName.toLowerCase();if(bx.includes(t)||/^[a-z][a-z0-9_.-]*-[a-z0-9_.-]*$/.test(t))return true}return false}var Hi=yx,Vs={};dr(Vs,{createGrid:function(){return Cn},findElmsInContext:function(){return cf},findNearbyElms:function(){return Xi},findUp:function(){return Ia},findUpVirtual:function(){return Ra},focusDisabled:function(){return Js},getComposedParent:function(){return It},getElementByReference:function(){return Qs},getElementCoordinates:function(){return zs},getElementStack:function(){return Gf},getModalDialog:function(){return Hf},getNodeGrid:function(){return Ui},getOverflowHiddenAncestors:function(){return An},getRootNode:function(){return Nt},getScrollOffset:function(){return Ef},getTabbableElements:function(){return Wf},getTargetRects:function(){return Ki},getTargetSize:function(){return Uf},getTextElementStack:function(){return vl},getViewportSize:function(){return Vi},getVisibleChildTextRects:function(){return gl},hasContent:function(){return ao},hasContentVirtual:function(){return Pn},hasLangText:function(){return yl},idrefs:function(){return Ar},insertedIntoFocusOrder:function(){return Op},isCurrentPageLink:function(){return Zs},isFixedPosition:function(){return ji},isFocusable:function(){return At},isHTML5:function(){return Bp},isHiddenForEveryone:function(){return Zr},isHiddenWithCSS:function(){return W_},isInTabOrder:function(){return ur},isInTextBlock:function(){return wl},isInert:function(){return Yi},isModalOpen:function(){return Mn},isMultiline:function(){return Vp},isNativelyFocusable:function(){return rl},isNode:function(){return r2},isOffscreen:function(){return $i},isOpaque:function(){return f2},isSkipLink:function(){return _l},isVisible:function(){return b2},isVisibleOnScreen:function(){return Jt},isVisibleToScreenReaders:function(){return pt},isVisualContent:function(){return bl},reduceToElementsBelowFloating:function(){return jp},shadowElementsFromPoint:function(){return x2},urlPropsFromAttribute:function(){return S2},visuallyContains:function(){return $p},visuallyOverlaps:function(){return Al},visuallySort:function(){return el}});function wx(e){var t=e.getRootNode&&e.getRootNode()||m;return t===e&&(t=m),t}var _n=wx,Nt=_n;function xx(e){var t=e.context,r=e.value,a=e.attr,n=e.elm,i=n===void 0?"":n,o,s=yt(r);return t.nodeType===9||t.nodeType===11?o=t:o=Nt(t),Array.from(o.querySelectorAll(i+"["+a+"="+s+"]"))}var cf=xx;function Dx(e,t){var r;if(r=e.actualNode,!e.shadowId&&typeof e.actualNode.closest=="function"){var a=e.actualNode.closest(t);return a||null}do r=r.assignedSlot?r.assignedSlot:r.parentNode,r&&r.nodeType===11&&(r=r.host);while(r&&!Aa(r,t)&&r!==m.documentElement);return !r||!Aa(r,t)?null:r}var Ra=Dx;function _x(e,t){return Ra(ze(e),t)}var Ia=_x;function js(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 df=lt(function(t){var r=[];if(!t)return r;var a=t.getComputedStylePropertyValue("overflow");return a==="hidden"&&r.push(t),r.concat(df(t.parent))}),An=df,Ax=/rect\s*\(([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px\s*\)/,Ex=/(\w+)\((\d+)/;function ff(e){return ["style","script","noscript","template"].includes(e.props.nodeName)}function pf(e){return e.props.nodeName==="area"?false:e.getComputedStylePropertyValue("display")==="none"}function mf(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.isAncestor;return !r&&["hidden","collapse"].includes(e.getComputedStylePropertyValue("visibility"))}function hf(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.isAncestor;return !!r&&e.getComputedStylePropertyValue("content-visibility")==="hidden"}function gf(e){return e.attr("aria-hidden")==="true"}function vf(e){return e.getComputedStylePropertyValue("opacity")==="0"}function bf(e){var t=Br(e.actualNode),r=parseInt(e.getComputedStylePropertyValue("height")),a=parseInt(e.getComputedStylePropertyValue("width"));return !!t&&(r===0||a===0)}function yf(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.isAncestor;if(r)return false;var a=e.getComputedStylePropertyValue("position");if(a==="fixed")return false;var n=An(e);if(!n.length)return false;var i=e.boundingClientRect;return n.some(function(o){if(a==="absolute"&&!Cx(e,o)&&o.getComputedStylePropertyValue("position")==="static")return false;var s=o.boundingClientRect;return s.width<2||s.height<2?true:!js(i,s)})}function wf(e){var t=e.getComputedStylePropertyValue("clip").match(Ax),r=e.getComputedStylePropertyValue("clip-path").match(Ex);if(t&&t.length===5){var a=e.getComputedStylePropertyValue("position");if(["fixed","absolute"].includes(a))return t[3]-t[1]<=0&&t[2]-t[4]<=0}if(r){var n=r[1],i=parseInt(r[2],10);switch(n){case "inset":return i>=50;case "circle":return i===0;}}return false}function $s(e,t){var r=Kt(e,"map");if(!r)return true;var a=r.attr("name");if(!a)return true;var n=_n(e.actualNode);if(!n||n.nodeType!==9)return true;var i=er(h._tree,'img[usemap="#'.concat(yt(a),'"]'));return !i||!i.length?true:i.some(function(o){return !t(o)})}function xf(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(a){return a.props.nodeName==="summary"});if(r===e)return false}return !e.parent.hasAttr("open")}function Cx(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 Sx=[pf,mf,hf,xf];function Zr(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.skipAncestors,a=t.isAncestor,n=a===void 0?false:a;return e=Ze(e).vNode,r?Df(e,n):_f(e,n)}var Df=lt(function(t,r){return ff(t)?true:t.actualNode?!!(Sx.some(function(a){return a(t,{isAncestor:r})})||!t.actualNode.isConnected):false}),_f=lt(function(t,r){return Df(t,r)?true:t.parent?_f(t.parent,true):false});function Af(e){if(e.assignedSlot)return Af(e.assignedSlot);if(e.parentNode){var t=e.parentNode;if(t.nodeType===1)return t;if(t.host)return t.host}return null}var It=Af;function kx(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 Ef=kx;function Tx(e){var t=Ef(m),r=t.left,a=t.top,n=e.getBoundingClientRect();return {top:n.top+a,right:n.right+r,bottom:n.bottom+a,left:n.left+r,width:n.right-n.left,height:n.bottom-n.top}}var zs=Tx;function Fx(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 a=t.body;return {width:a.clientWidth,height:a.clientHeight}}var Vi=Fx;function ji(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.skipAncestors,a=Ze(e),n=a.vNode;return n?r?Cf(n):Sf(n):false}var Cf=lt(function(t){return t.getComputedStylePropertyValue("position")==="fixed"}),Sf=lt(function(t){return Cf(t)?true:t.parent?Sf(t.parent):false});function Rx(e,t){for(e=It(e);e&&e.nodeName.toLowerCase()!=="html";){if(e.scrollTop&&(t+=e.scrollTop,t>=0))return false;e=It(e);}return true}function Ix(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.isAncestor;if(r)return false;var a=Ze(e),n=a.domNode;if(n){var i=m.documentElement,o=p.getComputedStyle(n),s=p.getComputedStyle(m.body||i).getPropertyValue("direction"),l=ji(n),u=l?n.getBoundingClientRect():zs(n);if(u.top===0&&u.bottom===0||u.left===0&&u.right===0)return false;if(u.bottom<=0&&(Rx(n,u.bottom)||o.position==="absolute"))return true;var c=Vi(p);if(l&&u.top>=c.height)return true;var f=Math.max(i.scrollWidth,c.width);return !!((l||s==="rtl")&&u.left>=f||(l||s==="ltr")&&u.right<=0)}}var $i=Ix,Lx=[vf,bf,yf,wf,$i];function Jt(e){return e=Ze(e).vNode,Gs(e)}var Gs=lt(function(t,r){return t.actualNode&&t.props.nodeName==="area"?!$s(t,Gs):Zr(t,{skipAncestors:true,isAncestor:r})||t.actualNode&&Lx.some(function(a){return a(t,{isAncestor:r})})?false:t.parent?Gs(t.parent,true):true});function Ws(e,t){var r=Math.min(e.top,t.top),a=Math.max(e.right,t.right),n=Math.max(e.bottom,t.bottom),i=Math.min(e.left,t.left);return new p.DOMRect(i,r,a-i,n-r)}function zi(e,t){var r=e.x,a=e.y,n=t.top,i=t.right,o=t.bottom,s=t.left;return a>=n&&r<=i&&a<=o&&r>=s}var kf={};dr(kf,{getBoundingRect:function(){return Ws},getIntersectionRect:function(){return Gi},getOffset:function(){return Ff},getRectCenter:function(){return En},hasVisualOverlap:function(){return Us},isPointInRect:function(){return zi},rectHasMinimumSize:function(){return Nr},rectsOverlap:function(){return js},splitRects:function(){return Xs}});function Gi(e,t){var r=Math.max(e.left,t.left),a=Math.min(e.right,t.right),n=Math.max(e.top,t.top),i=Math.min(e.bottom,t.bottom);return r>=a||n>=i?null:new p.DOMRect(r,n,a-r,i-n)}function En(e){var t=e.left,r=e.top,a=e.width,n=e.height;return new p.DOMPoint(t+a/2,r+n/2)}var Tf=.05;function Nr(e,t){var r=t.width,a=t.height;return r+Tf>=e&&a+Tf>=e}function Ff(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:12,a=Ki(e),n=Ki(t);return !a.length||!n.length?null:a.reduce(function(i,o){var s=En(o),l=Ke(n),u;try{for(l.s();!(u=l.n()).done;){var c=u.value;if(zi(s,c))return 0;var f=Px(s,c),b=Rf(s,f);i=Math.min(i,b);}}catch(M){l.e(M);}finally{l.f();}var A=Uf(t);if(Nr(r*2,A))return i;var k=n.reduce(Ws),I=En(k),P=Rf(s,I)-r;return Math.max(0,Math.min(i,P))},1/0)}function Px(e,t){var r,a;return e.x<t.left?r=t.left:e.x>t.right?r=t.right:r=e.x,e.y<t.top?a=t.top:e.y>t.bottom?a=t.bottom:a=e.y,{x:r,y:a}}function Rf(e,t){return Math.hypot(e.x-t.x,e.y-t.y)}function Us(e,t){var r=e.boundingClientRect,a=t.boundingClientRect;return r.left>=a.right||r.right<=a.left||r.top>=a.bottom||r.bottom<=a.top?false:el(e,t)>0}function Xs(e,t){var r=Array.isArray(e)?e:[e],a=Ke(t),n;try{var i=function(){var s=n.value;if(r=r.reduce(function(l,u){return l.concat(Mx(u,s))},[]),r.length>4e3)throw new Error("splitRects: Too many rects")};for(a.s();!(n=a.n()).done;)i();}catch(o){a.e(o);}finally{a.f();}return r}function Mx(e,t){var r=e.top,a=e.left,n=e.bottom,i=e.right,o=r<t.bottom&&n>t.top,s=a<t.right&&i>t.left,l=[];if(Wi(t.top,r,n)&&s&&l.push({top:r,left:a,bottom:t.top,right:i}),Wi(t.right,a,i)&&o&&l.push({top:r,left:t.right,bottom:n,right:i}),Wi(t.bottom,r,n)&&s&&l.push({top:t.bottom,right:i,bottom:n,left:a}),Wi(t.left,a,i)&&o&&l.push({top:r,left:a,bottom:n,right:t.left}),l.length===0){if(Nx(e,t))return [];l.push(e);}return l.map(Ox)}var Wi=function(t,r,a){return t>r&&t<a};function Ox(e){return new p.DOMRect(e.left,e.top,e.right-e.left,e.bottom-e.top)}function Nx(e,t){return e.top>=t.top&&e.left>=t.left&&e.bottom<=t.bottom&&e.right<=t.right}var If=0,qx=.1,Lf=.2,Pf=.3,Ys=0;function Cn(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:m.body,t=arguments.length>1?arguments[1]:void 0,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(Ve.get("gridCreated")&&!r)return je.gridSize;if(Ve.set("gridCreated",true),!r){var a=ze(m.documentElement);if(a||(a=new El(m.documentElement)),Ys=0,a._stackingOrder=[Nf(If,Ys++,null)],t??(t=new Ks),qf(t,a),Br(a.actualNode)){var n=new Ks(a);a._subGrid=n;}}for(var i=m.createTreeWalker(e,p.NodeFilter.SHOW_ELEMENT,null,false),o=r?i.nextNode():i.currentNode;o;){var s=ze(o);s&&s.parent?r=s.parent:o.assignedSlot?r=ze(o.assignedSlot):o.parentElement?r=ze(o.parentElement):o.parentNode&&ze(o.parentNode)&&(r=ze(o.parentNode)),s||(s=new h.VirtualNode(o,r)),s._stackingOrder=Bx(s,r,Ys++);var l=jx(s,r),u=l?l._subGrid:t;if(Br(s.actualNode)){var c=new Ks(s);s._subGrid=c;}var f=s.boundingClientRect;f.width!==0&&f.height!==0&&Jt(o)&&qf(u,s),Hi(o)&&Cn(o.shadowRoot,u,s),o=i.nextNode();}return je.gridSize}function Mf(e,t){var r=e.getComputedStylePropertyValue("position"),a=e.getComputedStylePropertyValue("z-index");if(r==="fixed"||r==="sticky"||a!=="auto"&&r!=="static"||e.getComputedStylePropertyValue("opacity")!=="1")return true;var n=e.getComputedStylePropertyValue("-webkit-transform")||e.getComputedStylePropertyValue("-ms-transform")||e.getComputedStylePropertyValue("transform")||"none";if(n!=="none")return true;var i=e.getComputedStylePropertyValue("mix-blend-mode");if(i&&i!=="normal")return true;var o=e.getComputedStylePropertyValue("filter");if(o&&o!=="none")return true;var s=e.getComputedStylePropertyValue("perspective");if(s&&s!=="none")return true;var l=e.getComputedStylePropertyValue("clip-path");if(l&&l!=="none")return true;var u=e.getComputedStylePropertyValue("-webkit-mask")||e.getComputedStylePropertyValue("mask")||"none";if(u!=="none")return true;var c=e.getComputedStylePropertyValue("-webkit-mask-image")||e.getComputedStylePropertyValue("mask-image")||"none";if(c!=="none")return true;var f=e.getComputedStylePropertyValue("-webkit-mask-border")||e.getComputedStylePropertyValue("mask-border")||"none";if(f!=="none"||e.getComputedStylePropertyValue("isolation")==="isolate")return true;var b=e.getComputedStylePropertyValue("will-change");if(b==="transform"||b==="opacity"||e.getComputedStylePropertyValue("-webkit-overflow-scrolling")==="touch")return true;var A=e.getComputedStylePropertyValue("contain");return !!(["layout","paint","strict","content"].includes(A)||a!=="auto"&&Of(t))}function Of(e){if(!e)return false;var t=e.getComputedStylePropertyValue("display");return ["flex","inline-flex","grid","inline-grid"].includes(t)}function Bx(e,t,r){var a=t._stackingOrder.slice();if(Mf(e,t)){var n=a.findIndex(function(o){var s=o.stackLevel;return [If,Lf,Pf].includes(s)});n!==-1&&a.splice(n,a.length-n);}var i=Hx(e,t);return i!==null&&a.push(Nf(i,r,e)),a}function Nf(e,t,r){return {stackLevel:e,treeOrder:t,vNode:r}}function Hx(e,t){var r=Vx(e,t);return ["auto","0"].includes(r)?e.getComputedStylePropertyValue("position")!=="static"?Pf:e.getComputedStylePropertyValue("float")!=="none"?Lf:Mf(e,t)?qx:null:parseInt(r)}function Vx(e,t){var r=e.getComputedStylePropertyValue("position");return r==="static"&&!Of(t)?"auto":e.getComputedStylePropertyValue("z-index")}function jx(e,t){for(var r=null,a=[e];t;){if(Br(t.actualNode)){r=t;break}if(t._scrollRegionParent){r=t._scrollRegionParent;break}a.push(t),t=ze(t.actualNode.parentElement||t.actualNode.parentNode);}return a.forEach(function(n){return n._scrollRegionParent=r}),r}function qf(e,t){var r=An(t);t.clientRects.forEach(function(a){var n,i=r.reduce(function(s,l){return s&&Gi(s,l.boundingClientRect)},a);if(i){(n=t._grid)!==null&&n!==void 0||(t._grid=e);var o=e.getGridPositionOfRect(i);e.loopGridPosition(o,function(s){s.includes(t)||s.push(t);});}});}var Ks=(function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;ft(this,e),this.container=t,this.cells=[];}return vt(e,[{key:"toGridIndex",value:function(r){return Math.floor(r/je.gridSize)}},{key:"getCellFromPoint",value:function(r){var a,n,i=r.x,o=r.y;Qe(this.boundaries,"Grid does not have cells added");var s=this.toGridIndex(o),l=this.toGridIndex(i);Qe(zi({y:s,x:l},this.boundaries),"Element midpoint exceeds the grid bounds");var u=(a=this.cells[s-this.cells._negativeIndex])!==null&&a!==void 0?a:[];return (n=u[l-u._negativeIndex])!==null&&n!==void 0?n:[]}},{key:"loopGridPosition",value:function(r,a){var n=r,i=n.left,o=n.right,s=n.top,l=n.bottom;this.boundaries&&(r=Ws(this.boundaries,r)),this.boundaries=r,Bf(this.cells,s,l,function(u,c){Bf(u,i,o,function(f,b){a(f,{row:c,col:b});});});}},{key:"getGridPositionOfRect",value:function(r){var a=r.top,n=r.right,i=r.bottom,o=r.left,s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return a=this.toGridIndex(a-s),n=this.toGridIndex(n+s-1),i=this.toGridIndex(i+s-1),o=this.toGridIndex(o-s),new p.DOMRect(o,a,n-o,i-a)}}])})();function Bf(e,t,r,a){var n;if((n=e._negativeIndex)!==null&&n!==void 0||(e._negativeIndex=0),t<e._negativeIndex){for(var i=0;i<e._negativeIndex-t;i++)e.splice(0,0,[]);e._negativeIndex=t;}for(var o=t-e._negativeIndex,s=r-e._negativeIndex,l=o;l<=s;l++){var u,c;(c=e[u=l])!==null&&c!==void 0||(e[u]=[]),a(e[l],l+e._negativeIndex);}}function Ui(e){Cn();var t=Ze(e),r=t.vNode;return r._grid}function Xi(e){var t,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,a=Ui(e);if(!(a!=null&&(t=a.cells)!==null&&t!==void 0&&t.length))return [];var n=e.boundingClientRect,i=ji(e),o=a.getGridPositionOfRect(n,r),s=[];return a.loopGridPosition(o,function(l){var u=Ke(l),c;try{for(u.s();!(c=u.n()).done;){var f=c.value;f&&f!==e&&!s.includes(f)&&i===ji(f)&&s.push(f);}}catch(b){u.e(b);}finally{u.f();}}),s}var $x=lt(function(){var t;if(!h._tree)return null;var r=Tr(h._tree[0],"dialog[open]",function(n){var i=n.boundingClientRect,o=m.elementsFromPoint(i.left+1,i.top+1);return o.includes(n.actualNode)&&Jt(n)});if(!r.length)return null;var a=r.find(function(n){var i=n.boundingClientRect,o=m.elementsFromPoint(i.left-10,i.top-10);return o.includes(n.actualNode)});return a||((t=r.find(function(n){var i,o=(i=zx(n))!==null&&i!==void 0?i:{},s=o.vNode,l=o.rect;if(!s)return false;var u=m.elementsFromPoint(l.left+1,l.top+1);return !u.includes(s.actualNode)}))!==null&&t!==void 0?t:null)}),Hf=$x;function zx(e){Cn();var t=h._tree[0]._grid,r=new p.DOMRect(0,0,p.innerWidth,p.innerHeight);if(t)for(var a=0;a<t.cells.length;a++){var n=t.cells[a];if(n)for(var i=0;i<n.length;i++){var o=n[i];if(o)for(var s=0;s<o.length;s++){var l=o[s],u=l.boundingClientRect,c=Gi(u,r);if(l.props.nodeName!=="html"&&l!==e&&l.getComputedStylePropertyValue("pointer-events")!=="none"&&c)return {vNode:l,rect:c}}}}}function Yi(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.skipAncestors,a=t.isAncestor;return r?Vf(e,a):jf(e,a)}var Vf=lt(function(t,r){if(t.hasAttr("inert"))return true;if(!r&&t.actualNode){var a=Hf();if(a&&!Or(a,t))return true}return false}),jf=lt(function(t,r){return Vf(t,r)?true:t.parent?jf(t.parent,true):false}),Gx=["button","command","fieldset","keygen","optgroup","option","select","textarea","input"];function Wx(e){return Gx.includes(e)}function Ux(e){var t=Ze(e),r=t.vNode;if(Wx(r.props.nodeName)&&r.hasAttr("disabled")||Yi(r))return true;for(var a=r.parent,n=[],i=false;a&&a.shadowId===r.shadowId&&!i&&(n.push(a),a.props.nodeName!=="legend");){if(a._inDisabledFieldset!==void 0){i=a._inDisabledFieldset;break}a.props.nodeName==="fieldset"&&a.hasAttr("disabled")&&(i=true),a=a.parent;}return n.forEach(function(o){return o._inDisabledFieldset=i}),i?true:r.props.nodeName!=="area"&&r.actualNode?Zr(r):false}var Js=Ux,Xx=/^\/\#/,Yx=/^#[!/]/;function Zs(e){var t,r=e.getAttribute("href");if(!r||r==="#")return false;if(Xx.test(r))return true;var a=e.hash,n=e.protocol,i=e.hostname,o=e.port,s=e.pathname;if(Yx.test(a))return false;if(r.charAt(0)==="#")return true;if(typeof((t=p.location)===null||t===void 0?void 0:t.origin)!="string"||p.location.origin.indexOf("://")===-1)return null;var l=p.location.origin+p.location.pathname,u;return i?u="".concat(n,"//").concat(i).concat(o?":".concat(o):""):u=p.location.origin,s?u+=(s[0]!=="/"?"/":"")+s:u+=p.location.pathname,u===l}function Kx(e,t){var r=e.getAttribute(t);if(!r||t==="href"&&!Zs(e))return null;r.indexOf("#")!==-1&&(r=decodeURIComponent(r.substr(r.indexOf("#")+1)));var a=m.getElementById(r);return a||(a=m.getElementsByName(r),a.length?a[0]:null)}var Qs=Kx;function el(e,t){Cn();for(var r=Math.max(e._stackingOrder.length,t._stackingOrder.length),a=0;a<r;a++){if(typeof t._stackingOrder[a]>"u")return -1;if(typeof e._stackingOrder[a]>"u"||t._stackingOrder[a].stackLevel>e._stackingOrder[a].stackLevel)return 1;if(t._stackingOrder[a].stackLevel<e._stackingOrder[a].stackLevel)return -1;if(t._stackingOrder[a].treeOrder!==e._stackingOrder[a].treeOrder)return t._stackingOrder[a].treeOrder-e._stackingOrder[a].treeOrder}var n=e.actualNode,i=t.actualNode;if(n.getRootNode&&n.getRootNode()!==i.getRootNode()){for(var o=[];n;)o.push({root:n.getRootNode(),node:n}),n=n.getRootNode().host;for(;i&&!o.find(function(P){return P.root===i.getRootNode()});)i=i.getRootNode().host;if(n=o.find(function(P){return P.root===i.getRootNode()}).node,n===i)return e.actualNode.getRootNode()!==n.getRootNode()?-1:1}var s=p.Node,l=s.DOCUMENT_POSITION_FOLLOWING,u=s.DOCUMENT_POSITION_CONTAINS,c=s.DOCUMENT_POSITION_CONTAINED_BY,f=n.compareDocumentPosition(i),b=f&l?1:-1,A=f&u||f&c,k=$f(e),I=$f(t);return k===I||A?b:I-k}function $f(e){return e.getComputedStylePropertyValue("display").indexOf("inline")!==-1?2:zf(e)?1:0}function zf(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=zf(e.parent);return e._isFloated=r,r}function tl(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:false,a=En(t),n=e.getCellFromPoint(a)||[],i=Math.floor(a.x),o=Math.floor(a.y),s=n.filter(function(u){return u.clientRects.some(function(c){var f=c.left,b=c.top;return i<Math.floor(f+c.width)&&i>=Math.floor(f)&&o<Math.floor(b+c.height)&&o>=Math.floor(b)})}),l=e.container;return l&&(s=tl(l._grid,l.boundingClientRect,true).concat(s)),r||(s=s.sort(el).map(function(u){return u.actualNode}).concat(m.documentElement).filter(function(u,c,f){return f.indexOf(u)===c})),s}function Jx(e){var t=Ui(e);if(!t)return [];var r=ze(e).boundingClientRect;return tl(t,r)}var Gf=Jx;function Zx(e){var t=er(e,"*"),r=t.filter(function(a){var n=a.isFocusable,i=kr(a.actualNode.getAttribute("tabindex"));return i!==null?n&&i>=0:n});return r}var Wf=Zx;function Qx(e){var t=Ze(e),r=t.vNode;if(!r||Js(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 !er(r,"summary").length}return false}var rl=Qx;function At(e){var t=Ze(e),r=t.vNode;if(r.props.nodeType!==1||Js(r))return false;if(rl(r))return true;var a=kr(r.attr("tabindex"));return a!==null}function ur(e){var t=Ze(e),r=t.vNode;if(r.props.nodeType!==1)return false;var a=kr(r.attr("tabindex"));return a<=-1?false:At(r)}var Ki=lt(eD);function eD(e){var t=e.getComputedStylePropertyValue("display"),r=t==="inline"?e.clientRects:[e.boundingClientRect],a=Xi(e).filter(function(i){return Us(e,i)&&i.getComputedStylePropertyValue("pointer-events")!=="none"&&!tD(e,i)});if(!a.length)return r;var n=a.map(function(i){var o=i.getComputedStylePropertyValue("display");return o==="inline"?i.clientRects:i.boundingClientRect}).flat(1/0);return Xs(r,n)}function tD(e,t){return Or(e,t)&&!ur(t)}var Uf=lt(rD);function rD(e,t){var r=Ki(e);return aD(r,t)}function aD(e,t){return e.reduce(function(r,a){var n=Nr(t,r),i=Nr(t,a);if(n!==i)return n?r:a;var o=r.width*r.height,s=a.width*a.height;return o>s?r:a})}var Sn={};dr(Sn,{accessibleText:function(){return ga},accessibleTextVirtual:function(){return Lt},autocomplete:function(){return ba},formControlValue:function(){return Ap},formControlValueMethods:function(){return cl},hasUnicode:function(){return pl},isHumanInterpretable:function(){return hl},isIconLigature:function(){return ml},isValidAutocomplete:function(){return Rp},label:function(){return L_},labelText:function(){return dl},labelVirtual:function(){return to},nativeElementType:function(){return M_},nativeTextAlternative:function(){return Cp},nativeTextMethods:function(){return Ep},removeUnicode:function(){return Ln},sanitize:function(){return Oe},subtreeText:function(){return ta},titleText:function(){return Zi},unsupported:function(){return mp},visible:function(){return Ip},visibleTextNodes:function(){return O_},visibleVirtual:function(){return Cr}});function nD(e,t){e=e.actualNode||e;try{var r=Nt(e),a=[],n=e.getAttribute(t);if(n){n=jt(n);for(var i=0;i<n.length;i++)a.push(r.getElementById(n[i]));}return a}catch{throw new TypeError("Cannot resolve id references for non-DOM nodes")}}var Ar=nD;function iD(e,t){var r=ze(e);return Lt(r,t)}var ga=iD;function oD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=Ze(e),a=r.vNode;if(a?.props.nodeType!==1||a.props.nodeType!==1||t.inLabelledByContext||t.inControlContext||!a.attr("aria-labelledby"))return "";var n=Ar(a,"aria-labelledby").filter(function(i){return i});return n.reduce(function(i,o){var s=ga(o,Re({inLabelledByContext:true,startNode:t.startNode||a},t));return i?"".concat(i," ").concat(s):s},"")}var kn=oD;function Tn(e){var t=Ze(e),r=t.vNode;return r?.props.nodeType!==1?"":r.attr("aria-label")||""}var sD={"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}},Xf=sD,lD={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"]}},Yf=lD,uD={"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"]}},cD=uD,dD={"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}},fD=dD,pD={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"]}},mD=pD,hD={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]},gD=hD,Kf={ariaAttrs:Xf,ariaRoles:Re({},Yf,cD,fD),htmlElms:mD,cssColors:gD},La=Re({},Kf);function vD(e){Object.keys(La).forEach(function(t){e[t]&&(La[t]=Bs(La[t],e[t]));});}function bD(){Object.keys(La).forEach(function(e){La[e]=Kf[e];});}var et=La;function yD(e){var t=et.ariaRoles[e];return t?!!t.unsupported:false}var al=yD;function wD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.allowAbstract,a=t.flagUnsupported,n=a===void 0?false:a,i=et.ariaRoles[e],o=al(e);return !i||n&&o?false:r?true:i.type!=="abstract"}var Fn=wD;function xD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.fallback,a=t.abstracts,n=t.dpub;if(e=e instanceof Rt?e:ze(e),e.props.nodeType!==1)return null;var i=(e.attr("role")||"").trim().toLowerCase(),o=r?jt(i):[i],s=o.find(function(l){return !n&&l.substr(0,4)==="doc-"?false:Fn(l,{allowAbstract:a})});return s||null}var We=xD;function DD(e){return Object.keys(et.htmlElms).filter(function(t){var r=et.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 nl=DD;function _D(){return Ve.get("globalAriaAttrs",function(){return Object.keys(et.ariaAttrs).filter(function(e){return et.ariaAttrs[e].global})})}var Qr=_D;function AD(e){for(var t=[],r=e.rows,a=0,n=r.length;a<n;a++){var i=r[a].cells;t[a]=t[a]||[];for(var o=0,s=0,l=i.length;s<l;s++)for(var u=0;u<i[s].colSpan;u++){for(var c=i[s].getAttribute("rowspan"),f=parseInt(c)===0||i[s].rowspan===0?r.length:i[s].rowSpan,b=0;b<f;b++){for(t[a+b]=t[a+b]||[];t[a+b][o];)o++;t[a+b][o]=i[s];}o++;}}return t}var qr=lt(AD);function ED(e,t){var r,a;for(t||(t=qr(Ia(e,"table"))),r=0;r<t.length;r++)if(t[r]&&(a=t[r].indexOf(e),a!==-1))return {x:a,y:r}}var Ji=lt(ED);function il(e){var t=Ze(e),r=t.vNode,a=t.domNode,n=r.attr("scope"),i=We(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(n==="col"||n==="row")return n;if(r.props.nodeName!=="th")return false;if(!r.actualNode)return "auto";var o=qr(Ia(a,"table")),s=Ji(a,o),l=o[s.y].every(function(c){return c.nodeName.toUpperCase()==="TH"});if(l)return "col";var u=o.map(function(c){return c[s.x]}).every(function(c){return c&&c.nodeName.toUpperCase()==="TH"});return u?"row":"auto"}function CD(e){return ["col","auto"].indexOf(il(e))!==-1}var Pa=CD;function SD(e){return ["row","auto"].includes(il(e))}var Ma=SD;function kD(e){return e?e.replace(/\r\n/g,`
366
+ `).replace(/\u00A0/g," ").replace(/[\s]{2,}/g," ").trim():""}var Oe=kD,Jf=function(){return Ve.get("sectioningContentSelector",function(){return nl("sectioning").map(function(t){return "".concat(t,":not([role])")}).join(", ")+" , [role=article], [role=complementary], [role=navigation], [role=region]"})},Zf=function(){return Ve.get("sectioningContentPlusMainSelector",function(){return Jf()+" , main:not([role]), [role=main]"})};function ol(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.checkTitle,a=r===void 0?false:r;return !!(Oe(kn(e))||Oe(Tn(e))||a&&e?.props.nodeType===1&&Oe(e.attr("title")))}var TD={a:function(t){return t.hasAttr("href")?"link":null},area:function(t){return t.hasAttr("href")?"link":null},article:"article",aside:function(t){return Kt(t.parent,Jf())&&!ol(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=Kt(t,Zf());return r?null:"contentinfo"},form:function(t){return ol(t)?"form":null},h1:"heading",h2:"heading",h3:"heading",h4:"heading",h5:"heading",h6:"heading",header:function(t){var r=Kt(t,Zf());return r?null:"banner"},hr:"separator",img:function(t){var r=t.hasAttr("alt")&&!t.attr("alt"),a=Qr().find(function(n){return t.hasAttr(n)});return r&&!a&&!At(t)?"presentation":"img"},input:function(t){var r;if(t.hasAttr("list")){var a=Ar(t.actualNode,"list").filter(function(n){return !!n})[0];r=a&&a.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 ol(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=Kt(t,"table"),a=We(r);return ["grid","treegrid"].includes(a)?"gridcell":"cell"},textarea:"textbox",tfoot:"rowgroup",th:function(t){if(Pa(t))return "columnheader";if(Ma(t))return "rowheader"},thead:"rowgroup",tr:"row",ul:"list"},sl=TD;function FD(e,t){var r=ie(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 a=t.substring(1,t.length-1);return new RegExp(a).test(e)}}return t===e}var va=FD;function RD(e,t){return va(!!Lt(e),t)}var Qf=RD;function ID(e,t){var r=ie(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(a){return va(e(a),t[a])})}var ll=ID;function LD(e,t){return e=Ze(e).vNode,ll(function(r){return e.attr(r)},t)}var ep=LD;function tp(e,t){return !!t(e)}function PD(e,t){return va(We(e),t)}var rp=PD;function MD(e,t){return va(Er(e),t)}var ap=MD;function OD(e,t){return e=Ze(e).vNode,va(e.props.nodeName,t)}var np=OD;function ND(e,t){return e=Ze(e).vNode,ll(function(r){return e.props[r]},t)}var ip=ND;function qD(e,t){return va($e(e),t)}var op=qD,sp={hasAccessibleName:Qf,attributes:ep,condition:tp,explicitRole:rp,implicitRole:ap,nodeName:np,properties:ip,semanticRole:op};function lp(e,t){return e=Ze(e).vNode,Array.isArray(t)?t.some(function(r){return lp(e,r)}):typeof t=="string"?ks(e,t):Object.keys(t).every(function(r){if(!sp[r])throw new Error('Unknown matcher type "'.concat(r,'"'));var a=sp[r],n=t[r];return a(e,n)})}var up=lp;function BD(e,t){return up(e,t)}var Zt=BD;Zt.hasAccessibleName=Qf,Zt.attributes=ep,Zt.condition=tp,Zt.explicitRole=rp,Zt.fromDefinition=up,Zt.fromFunction=ll,Zt.fromPrimative=va,Zt.implicitRole=ap,Zt.nodeName=np,Zt.properties=ip,Zt.semanticRole=op;var Rn=Zt;function HD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.noMatchAccessibleName,a=r===void 0?false:r,n=et.htmlElms[e.props.nodeName];if(!n)return {};if(!n.variant)return n;var i=n.variant,o=he(n,_);for(var s in i)if(!(!i.hasOwnProperty(s)||s==="default")){for(var l=i[s],u=l.matches,c=he(l,C),f=Array.isArray(u)?u:[u],b=0;b<f.length&&a;b++)if(f[b].hasOwnProperty("hasAccessibleName"))return n;if(Rn(e,u))for(var A in c)c.hasOwnProperty(A)&&(o[A]=c[A]);}for(var k in i.default)i.default.hasOwnProperty(k)&&typeof o[k]>"u"&&(o[k]=i.default[k]);return o}var ea=HD;function VD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.chromium,a=e instanceof Rt?e:ze(e);if(e=a.actualNode,!a)throw new ReferenceError("Cannot get implicit role of a node outside the current scope.");var n=a.props.nodeName,i=sl[n];if(!i&&r){var o=ea(a),s=o.chromiumRole;return s||null}return typeof i=="function"?i(a):i||null}var Er=VD,jD={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 cp(e,t){var r=jD[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 a=We(e.parent,t);return ["none","presentation"].includes(a)&&!fp(e.parent)?a:a?null:cp(e.parent,t)}function dp(e,t){var r=t.chromium,a=he(t,R),n=Er(e,{chromium:r});if(!n)return null;var i=cp(e,a);return i||n}function fp(e){var t=Qr().some(function(r){return e.hasAttr(r)});return t||At(e)}function $D(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.noImplicit,a=he(t,L),n=Ze(e),i=n.vNode;if(i.props.nodeType!==1)return null;var o=We(i,a);return o?["presentation","none"].includes(o)&&fp(i)?r?null:dp(i,a):o:r?null:dp(i,a)}function zD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.noPresentational,a=he(t,N),n=$D(e,a);return r&&["presentation","none"].includes(n)?null:n}var $e=zD,GD=["iframe"];function WD(e){var t=Ze(e),r=t.vNode;return r.props.nodeType!==1||!e.hasAttr("title")||!Zt(r,GD)&&["none","presentation"].includes($e(r))?"":r.attr("title")}var Zi=WD;function UD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.strict;if(e=e instanceof Rt?e:ze(e),e.props.nodeType!==1)return false;var a=$e(e),n=et.ariaRoles[a];return n&&n.nameFromContent?true:r?false:!n||["presentation","none"].includes(a)}var pp=UD;function XD(e){var t=e.actualNode,r=e.children;if(!r)throw new Error("getOwnedVirtual requires a virtual node");if(e.hasAttr("aria-owns")){var a=Ar(t,"aria-owns").filter(function(o){return !!o}).map(function(o){return h.utils.getNodeFromTree(o)}),n=a.filter(function(o,s){return a.indexOf(o)===s}),i=r.filter(function(o){return !n.includes(o)});return [].concat(ke(i),ke(n))}return ke(r)}var In=XD,mp={accessibleNameFromFieldValue:["progressbar"]};function pt(e){return e=Ze(e).vNode,ul(e)}var ul=lt(function(t,r){return gf(t)||Yi(t,{skipAncestors:true,isAncestor:r})?false:t.actualNode&&t.props.nodeName==="area"?!$s(t,ul):Zr(t,{skipAncestors:true,isAncestor:r})?false:t.parent?ul(t.parent,true):true});function hp(e,t,r){var a=Ze(e),n=a.vNode,i=t?pt:Jt,o=!e.actualNode||e.actualNode&&i(e),s=n.children.map(function(l){var u=l.props,c=u.nodeType,f=u.nodeValue;if(c===3){if(f&&o)return f}else if(!r)return hp(l,t)}).join("");return Oe(s)}var Cr=hp,YD=["button","checkbox","color","file","hidden","image","password","radio","reset","submit"];function KD(e){e=e instanceof Rt?e:ze(e);var t=e.props.nodeName;return t==="textarea"||t==="input"&&!YD.includes((e.attr("type")||"").toLowerCase())}var gp=KD;function JD(e){e=e instanceof Rt?e:ze(e);var t=e.props.nodeName;return t==="select"}var vp=JD;function ZD(e){var t=We(e);return t==="textbox"}var bp=ZD;function QD(e){var t=We(e);return t==="listbox"}var yp=QD;function e_(e){var t=We(e);return t==="combobox"}var wp=e_,t_=["progressbar","scrollbar","slider","spinbutton"];function r_(e){var t=We(e);return t_.includes(t)}var xp=r_,Dp=["textbox","progressbar","scrollbar","slider","spinbutton","combobox","listbox"],cl={nativeTextboxValue:n_,nativeSelectValue:i_,ariaTextboxValue:o_,ariaListboxValue:_p,ariaComboboxValue:s_,ariaRangeValue:l_};function a_(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=e.actualNode,a=mp.accessibleNameFromFieldValue||[],n=$e(e);if(t.startNode===e||!Dp.includes(n)||a.includes(n))return "";var i=Object.keys(cl).map(function(s){return cl[s]}),o=i.reduce(function(s,l){return s||l(e,t)},"");return t.debug&&pa(o||"{empty-value}",r,t),o}function n_(e){var t=Ze(e),r=t.vNode;return gp(r)&&r.props.value||""}function i_(e){var t=Ze(e),r=t.vNode;if(!vp(r))return "";var a=er(r,"option"),n=a.filter(function(i){return i.props.selected});return n.length||n.push(a[0]),n.map(function(i){return Cr(i)}).join(" ")||""}function o_(e){var t=Ze(e),r=t.vNode,a=t.domNode;return bp(r)?!a||a&&!Zr(a)?Cr(r,true):a.textContent:""}function _p(e,t){var r=Ze(e),a=r.vNode;if(!yp(a))return "";var n=In(a).filter(function(i){return $e(i)==="option"&&i.attr("aria-selected")==="true"});return n.length===0?"":Lt(n[0],t)}function s_(e,t){var r=Ze(e),a=r.vNode;if(!wp(a))return "";var n=In(a).filter(function(i){return $e(i)==="listbox"})[0];return n?_p(n,t):""}function l_(e){var t=Ze(e),r=t.vNode;if(!xp(r)||!r.hasAttr("aria-valuenow"))return "";var a=+r.attr("aria-valuenow");return isNaN(a)?"0":String(a)}var Ap=a_;function u_(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=Lt.alreadyProcessed;t.startNode=t.startNode||e;var a=t,n=a.strict,i=a.inControlContext,o=a.inLabelledByContext,s=$e(e),l=ea(e,{noMatchAccessibleName:true}),u=l.contentTypes;if(r(e,t)||e.props.nodeType!==1||u!=null&&u.includes("embedded")||Dp.includes(s)||!t.subtreeDescendant&&!t.inLabelledByContext&&!pp(e,{strict:n}))return "";if(!n){var c=!i&&!o;t=Re({subtreeDescendant:c},t);}return In(e).reduce(function(f,b){return d_(f,b,t)},"")}var c_=nl("phrasing").concat(["#text"]);function d_(e,t,r){var a=t.props.nodeName,n=Lt(t,r);return n?(c_.includes(a)||(n[0]!==" "&&(n+=" "),e&&e[e.length-1]!==" "&&(n=" "+n)),e+n):e}var ta=u_;function f_(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=Lt.alreadyProcessed;if(t.inControlContext||t.inLabelledByContext||r(e,t))return "";t.startNode||(t.startNode=e);var a=Re({inControlContext:true},t),n=p_(e),i=Kt(e,"label"),o;return i?(o=[].concat(ke(n),[i.actualNode]),o.sort(Bl)):o=n,o.map(function(s){return ga(s,a)}).filter(function(s){return s!==""}).join(" ")}function p_(e){if(!e.attr("id"))return [];if(!e.actualNode)throw new TypeError("Cannot resolve explicit label reference for non-DOM nodes");return cf({elm:"label",attr:"for",value:e.attr("id"),context:e.actualNode})}var dl=f_,m_={submit:"Submit",image:"Submit",reset:"Reset",button:""},h_={valueText:function(t){return t.props.value||""},buttonDefaultText:function(t){return m_[t.props.type]||""},tableCaptionText:Qi.bind(null,"caption"),figureText:Qi.bind(null,"figcaption"),svgTitleText:Qi.bind(null,"title"),fieldsetLegendText:Qi.bind(null,"legend"),altText:fl.bind(null,"alt"),tableSummaryText:fl.bind(null,"summary"),titleText:Zi,subtreeText:ta,labelText:dl,singleSpace:function(){return " "},placeholderText:fl.bind(null,"placeholder")};function fl(e,t){return t.attr(e)||""}function Qi(e,t,r){var a=t.actualNode;e=e.toLowerCase();var n=[e,a.nodeName.toLowerCase()].join(","),i=a.querySelector(n);return !i||i.nodeName.toLowerCase()!==e?"":ga(i,r)}var Ep=h_;function Cp(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=e.actualNode;if(e.props.nodeType!==1||["presentation","none"].includes($e(e)))return "";var a=g_(e),n=a.reduce(function(i,o){return i||o(e,t)},"");return t.debug&&h.log(n||"{empty-value}",r,t),n}function g_(e){var t=ea(e,{noMatchAccessibleName:true}),r=t.namingMethods||[];return r.map(function(a){return Ep[a]})}function Sp(){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 kp(){return /[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&\xa3\xa2\xa5\xa7\u20ac()*+,\-.\/:;<=>?@\[\]^_`{|}~\xb1]/g}function Tp(){return /[\uDB80-\uDBBF][\uDC00-\uDFFF]/g}function Fp(){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 v_(e,t){var r=t.emoji,a=t.nonBmp,n=t.punctuations,i=false;return r&&(i||(i=es().test(e))),a&&(i||(i=Sp().test(e)||Tp().test(e)||Fp().test(e))),n&&(i||(i=kp().test(e))),i}var pl=v_;function ml(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:.15,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:3,a=e.actualNode.nodeValue.trim();if(!Oe(a)||pl(a,{emoji:true,nonBmp:true}))return false;var n=Ve.get("canvasContext",function(){return m.createElement("canvas").getContext("2d",{willReadFrequently:true})}),i=n.canvas,o=Ve.get("fonts",function(){return {}}),s=p.getComputedStyle(e.parent.actualNode),l=s.getPropertyValue("font-family");o[l]||(o[l]={occurrences:0,numLigatures:0});var u=o[l];if(u.occurrences>=r){if(u.numLigatures/u.occurrences===1)return true;if(u.numLigatures===0)return false}u.occurrences++;var c=30,f="".concat(c,"px ").concat(l);n.font=f;var b=a.charAt(0),A=n.measureText(b).width;if(A===0)return u.numLigatures++,true;if(A<30){var k=30/A;A*=k,c*=k,f="".concat(c,"px ").concat(l);}i.width=A,i.height=c,n.font=f,n.textAlign="left",n.textBaseline="top",n.fillText(b,0,0);var I=new Uint32Array(n.getImageData(0,0,A,c).data.buffer);if(!I.some(function(Y){return Y}))return u.numLigatures++,true;n.clearRect(0,0,A,c),n.fillText(a,0,0);var P=new Uint32Array(n.getImageData(0,0,A,c).data.buffer),M=I.reduce(function(Y,te,oe){return te===0&&P[oe]===0||te!==0&&P[oe]!==0?Y:++Y},0),O=a.split("").reduce(function(Y,te){return Y+n.measureText(te).width},0),H=n.measureText(a).width,V=M/I.length,z=1-H/O;return V>=t&&z>=t?(u.numLigatures++,true):false}function Lt(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(t=x_(e,t),y_(e,t)||w_(e,t))return "";var r=[kn,Tn,Cp,Ap,ta,b_,Zi],a=r.reduce(function(n,i){return t.startNode===e&&(n=Oe(n)),n!==""?n:i(e,t)},"");return t.debug&&h.log(a||"{empty-value}",e.actualNode,t),a}function b_(e){return e.props.nodeType!==3?"":e.props.nodeValue}function y_(e,t){return !e||e.props.nodeType!==1||t.includeHidden?false:!pt(e)}function w_(e,t){var r,a=t.ignoreIconLigature,n=t.pixelThreshold,i=(r=t.occurrenceThreshold)!==null&&r!==void 0?r:t.occuranceThreshold;return e.props.nodeType!==3||!a?false:ml(e,n,i)}function x_(e,t){return t.startNode||(t=Re({startNode:e},t)),e.props.nodeType===1&&t.inLabelledByContext&&t.includeHidden===void 0&&(t=Re({includeHidden:!pt(e)},t)),t}Lt.alreadyProcessed=function(t,r){return r.processed=r.processed||[],r.processed.includes(t)?true:(r.processed.push(t),false)};function D_(e,t){var r=t.emoji,a=t.nonBmp,n=t.punctuations;return r&&(e=e.replace(es(),"")),a&&(e=e.replace(Sp(),"").replace(Tp(),"").replace(Fp(),"")),n&&(e=e.replace(kp(),"")),e}var Ln=D_;function __(e){return A_(e)||E_(e)||C_(e)||S_(e)?0:1}function A_(e){return Oe(e).length===0}function E_(e){return e.length===1&&e.match(/\D/)}function C_(e){var t=["aa","abc"];return t.includes(e.toLowerCase())}function S_(e){var t=Ln(e,{emoji:true,nonBmp:true,punctuations:true});return !Oe(t)}var hl=__,ba={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 k_(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.looseTyped,a=r===void 0?false:r,n=t.stateTerms,i=n===void 0?[]:n,o=t.locations,s=o===void 0?[]:o,l=t.qualifiers,u=l===void 0?[]:l,c=t.standaloneTerms,f=c===void 0?[]:c,b=t.qualifiedTerms,A=b===void 0?[]:b,k=t.ignoredValues,I=k===void 0?[]:k;if(e=e.toLowerCase().trim(),i=i.concat(ba.stateTerms),i.includes(e)||e==="")return true;u=u.concat(ba.qualifiers),s=s.concat(ba.locations),f=f.concat(ba.standaloneTerms),A=A.concat(ba.qualifiedTerms);var P=e.split(/\s+/g);if(P[P.length-1]==="webauthn"&&(P.pop(),P.length===0)||!a&&(P[0].length>8&&P[0].substr(0,8)==="section-"&&P.shift(),s.includes(P[0])&&P.shift(),u.includes(P[0])&&(P.shift(),f=[]),P.length!==1))return false;var M=P[P.length-1];if(!I.includes(M))return f.includes(M)||A.includes(M)}var Rp=k_;function T_(e){var t,r;return e.attr("aria-labelledby")&&(t=Ar(e.actualNode,"aria-labelledby"),r=t.map(function(a){var n=ze(a);return n?Cr(n):""}).join(" ").trim(),r)||(r=e.attr("aria-label"),r&&(r=Oe(r),r))?r:null}var eo=T_;function F_(e,t,r){return e=ze(e),Cr(e,t,r)}var Ip=F_;function R_(e){var t,r,a;if(r=eo(e),r)return r;if(e.attr("id")){if(!e.actualNode)throw new TypeError("Cannot resolve explicit label reference for non-DOM nodes");var n=yt(e.attr("id"));if(a=Nt(e.actualNode),t=a.querySelector('label[for="'+n+'"]'),r=t&&Ip(t,true),r)return r}return t=Kt(e,"label"),r=t&&Cr(t,true),r||null}var to=R_;function I_(e){return e=ze(e),to(e)}var L_=I_,P_=[{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"]}],M_=P_;function Lp(e){var t=Jt(e),r=[];return e.children.forEach(function(a){a.actualNode.nodeType===3?t&&r.push(a):r=r.concat(Lp(a));}),r}var O_=Lp,N_=lt(function(t){var r=ze(t),a=r.boundingClientRect,n=[],i=An(r);return t.childNodes.forEach(function(o){if(!(o.nodeType!==3||Oe(o.nodeValue)==="")){var s=q_(o);B_(s,a)||n.push.apply(n,ke(Pp(s,i)));}}),n.length?n:Pp([a],i)}),gl=N_;function q_(e){var t=m.createRange();return t.selectNodeContents(e),Array.from(t.getClientRects())}function B_(e,t){return e.some(function(r){var a=En(r);return !zi(a,t)})}function Pp(e,t){var r=[];return e.forEach(function(a){if(!(a.width<1||a.height<1)){var n=t.reduce(function(i,o){return i&&Gi(i,o.boundingClientRect)},a);n&&r.push(n);}}),r}function H_(e){var t=Ui(e);if(!t)return [];var r=gl(e);return r.map(function(a){return tl(t,a)})}var vl=H_,V_=["checkbox","img","meter","progressbar","scrollbar","radio","slider","spinbutton","textbox"];function j_(e){var t=Ze(e),r=t.vNode,a=h.commons.aria.getExplicitRole(r);if(a)return V_.indexOf(a)!==-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 bl=j_,$_=["head","title","template","script","style","iframe","object","video","audio","noscript"];function ro(e){return $_.includes(e.props.nodeName)?false:e.children.some(function(t){var r=t.props;return r.nodeType===3&&r.nodeValue.trim()})}function Mp(e,t,r){return ro(e)||bl(e.actualNode)||!r&&!!eo(e)||!t&&e.children.some(function(a){return a.actualNode.nodeType===1&&Mp(a)})}var Pn=Mp;function z_(e,t,r){return e=ze(e),Pn(e,t,r)}var ao=z_;function yl(e){return typeof e.children>"u"||ro(e)?true:e.props.nodeType===1&&bl(e)?!!h.commons.text.accessibleTextVirtual(e):e.children.some(function(t){return !t.attr("lang")&&yl(t)&&!Zr(t)})}function G_(e){var t=kr(e.getAttribute("tabindex"));return t>-1&&At(e)&&!rl(e)}var Op=G_;function Np(e,t){var r=Ze(e),a=r.vNode,n=r.domNode;return a?(a._isHiddenWithCSS===void 0&&(a._isHiddenWithCSS=qp(n,t)),a._isHiddenWithCSS):qp(n,t)}function qp(e,t){if(e.nodeType===9||(e.nodeType===11&&(e=e.host),["STYLE","SCRIPT"].includes(e.nodeName.toUpperCase())))return false;var r=p.getComputedStyle(e,null);if(!r)throw new Error("Style does not exist for the given element.");var a=r.getPropertyValue("display");if(a==="none")return true;var n=["hidden","collapse"],i=r.getPropertyValue("visibility");if(n.includes(i)&&!t||n.includes(i)&&t&&n.includes(t))return true;var o=It(e);return o&&!n.includes(i)?Np(o,i):false}var W_=Np;function U_(e){var t=e.doctype;return t===null?false:t.name==="html"&&!t.publicId&&!t.systemId}var Bp=U_;function X_(e){var t;(e instanceof Rt||(t=p)!==null&&t!==void 0&&t.Node&&e instanceof p.Node)&&(e=h.commons.aria.getRole(e));var r=et.ariaRoles[e];return r?.type||null}var br=X_,Y_=["block","list-item","table","flex","grid"],K_=["inline-block","inline-flex","inline-grid"];function J_(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.noLengthCompare,a=t.includeInlineBlock,n=a===void 0?false:a,i=Ze(e),o=i.vNode,s=i.domNode;if(xl(s)||!n&&Z_(o))return false;var l=Q_(s),u="",c="",f=0;return Hp(l,function(b){if(b===l.actualNode)return true;if(f===2)return false;if(b.nodeType===3&&(u+=b.nodeValue),b.nodeType===1){var A=(b.nodeName||"").toUpperCase();b===s&&(f=1);var k=xl(b);if((k||["BR","HR"].includes(A))&&(f===0?(u="",c=""):f=2),k||b.style.display==="none"||b.style.overflow==="hidden"||!["",null,"none"].includes(b.style.float)||!["",null,"relative"].includes(b.style.position))return false;if(br(b)==="widget")return c+=b.textContent,false}}),u=Oe(u),r?u.length!==0:(c=Oe(c),u.length>c.length)}var wl=J_;function xl(e){var t=Ze(e),r=t.vNode,a=r.getComputedStylePropertyValue("display");return Y_.includes(a)||a.substr(0,6)==="table-"}function Z_(e){var t=e.getComputedStylePropertyValue("display");return K_.includes(t)}function Hp(e,t){t(e.actualNode)!==false&&e.children.forEach(function(r){return Hp(r,t)});}function Q_(e){for(var t=It(e);t&&!xl(t);)t=It(t);return ze(t)}function e2(e){e=e||{};var t=e.modalPercent||.75;if(Ve.get("isModalOpen"))return Ve.get("isModalOpen");var r=Tr(h._tree[0],"dialog, [role=dialog], [aria-modal=true]",Jt);if(r.length)return Ve.set("isModalOpen",true),true;for(var a=Vi(p),n=a.width*t,i=a.height*t,o=(a.width-n)/2,s=(a.height-i)/2,l=[{x:o,y:s},{x:a.width-o,y:s},{x:a.width/2,y:a.height/2},{x:o,y:a.height-s},{x:a.width-o,y:a.height-s}],u=l.map(function(A){return Array.from(m.elementsFromPoint(A.x,A.y))}),c=function(){var k=u[b].find(function(I){var P=p.getComputedStyle(I);return parseInt(P.width,10)>=n&&parseInt(P.height,10)>=i&&P.getPropertyValue("pointer-events")!=="none"&&(P.position==="absolute"||P.position==="fixed")});if(k&&u.every(function(I){return I.includes(k)}))return Ve.set("isModalOpen",true),{v:true}},f,b=0;b<u.length;b++)if(f=c(),f)return f.v;Ve.set("isModalOpen",void 0);}var Mn=e2;function Vp(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 a=0,n=0,i=Ke(r.getClientRects()),o;try{for(i.s();!(o=i.n()).done;){var s=o.value;if(!(s.height<=t))if(a>s.top+t)a=Math.max(a,s.bottom);else if(n===0)a=s.bottom,n++;else return !0}}catch(l){i.e(l);}finally{i.f();}return false}function t2(e){return e instanceof p.Node}var r2=t2,Dl="color.incompleteData",a2={set:function(t,r){if(typeof t!="string")throw new Error("Incomplete data: key must be a string");var a=Ve.get(Dl,function(){return {}});return r&&(a[t]=r),a[t]},get:function(t){var r=Ve.get(Dl);return r?.[t]},clear:function(){Ve.set(Dl,{});}},ut=a2;function n2(e,t){var r=["IMG","CANVAS","OBJECT","IFRAME","VIDEO","SVG"],a=e.nodeName.toUpperCase();if(r.includes(a))return ut.set("bgColor","imgNode"),true;t=t||p.getComputedStyle(e);var n=t.getPropertyValue("background-image"),i=n!=="none";if(i){var o=/gradient/.test(n);ut.set("bgColor",o?"bgGradient":"bgImage");}return i}var no=n2,i2=/^#[0-9a-f]{3,8}$/i,o2=/hsl\(\s*([-\d.]+)(rad|turn)/,On=(it=new WeakMap,Dt=new WeakMap,Ot=new WeakMap,rr=new WeakMap,Ft=new WeakMap,Vt=new WeakMap,Ja=new WeakSet,(function(){function e(t,r,a){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(ft(this,e),Ka(this,Ja),cr(this,it,void 0),cr(this,Dt,void 0),cr(this,Ot,void 0),cr(this,rr,void 0),cr(this,Ft,void 0),cr(this,Vt,void 0),t instanceof On){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=a,this.alpha=n;}return vt(e,[{key:"r",get:function(){return $t(it,this)},set:function(r){Mt(it,this,r),Mt(rr,this,Math.round(Oa(r,0,1)*255));}},{key:"g",get:function(){return $t(Dt,this)},set:function(r){Mt(Dt,this,r),Mt(Ft,this,Math.round(Oa(r,0,1)*255));}},{key:"b",get:function(){return $t(Ot,this)},set:function(r){Mt(Ot,this,r),Mt(Vt,this,Math.round(Oa(r,0,1)*255));}},{key:"red",get:function(){return $t(rr,this)},set:function(r){Mt(it,this,r/255),Mt(rr,this,Oa(r,0,255));}},{key:"green",get:function(){return $t(Ft,this)},set:function(r){Mt(Dt,this,r/255),Mt(Ft,this,Oa(r,0,255));}},{key:"blue",get:function(){return $t(Vt,this)},set:function(r){Mt(Ot,this,r/255),Mt(Vt,this,Oa(r,0,255));}},{key:"toHexString",value:function(){var r=Math.round(this.red).toString(16),a=Math.round(this.green).toString(16),n=Math.round(this.blue).toString(16);return "#"+(this.red>15.5?r:"0"+r)+(this.green>15.5?a:"0"+a)+(this.blue>15.5?n:"0"+n)}},{key:"toJSON",value:function(){var r=this.red,a=this.green,n=this.blue,i=this.alpha;return {red:r,green:a,blue:n,alpha:i}}},{key:"parseString",value:function(r){r=r.replace(o2,function(i,o,s){var l=o+s;switch(s){case "rad":return i.replace(l,l2(o));case "turn":return i.replace(l,u2(o))}});try{var a;"Prototype"in p&&"Version"in p.Prototype&&(a=Array.from,Array.from=Id.default);var n=new ot(r).toGamut({space:"srgb",method:"clip"}).to("srgb");a&&(Array.from=a,a=null),this.r=n.r,this.g=n.g,this.b=n.b,this.alpha=+n.alpha;}catch{throw ut.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(i2)||[6,8].includes(r.length)||this.parseString(r);}},{key:"parseColorFnString",value:function(r){this.parseString(r);}},{key:"getRelativeLuminance",value:function(){var r=this.r,a=this.g,n=this.b,i=r<=.04045?r/12.92:Math.pow((r+.055)/1.055,2.4),o=a<=.04045?a/12.92:Math.pow((a+.055)/1.055,2.4),s=n<=.04045?n/12.92:Math.pow((n+.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 a=r-this.getLuminosity();return Ir(Ja,this,s2).call(this,a).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 a=new On(this),n=[{name:"r",value:a.r},{name:"g",value:a.g},{name:"b",value:a.b}],i=n.sort(function(c,f){return c.value-f.value}),o=ge(i,3),s=o[0],l=o[1],u=o[2];return u.value>s.value?(l.value=(l.value-s.value)*r/(u.value-s.value),u.value=r):l.value=u.value=0,s.value=0,a[u.name]=u.value,a[s.name]=s.value,a[l.name]=l.value,a}},{key:"clip",value:function(){var r=new On(this),a=r.getLuminosity(),n=Math.min(r.r,r.g,r.b),i=Math.max(r.r,r.g,r.b);return n<0&&(r.r=a+(r.r-a)*a/(a-n),r.g=a+(r.g-a)*a/(a-n),r.b=a+(r.b-a)*a/(a-n)),i>1&&(r.r=a+(r.r-a)*(1-a)/(i-a),r.g=a+(r.g-a)*(1-a)/(i-a),r.b=a+(r.b-a)*(1-a)/(i-a)),r}}])})());function s2(e){var t=new On(this);return t.r+=e,t.g+=e,t.b+=e,t}var mt=On;function Oa(e,t,r){return Math.min(Math.max(t,e),r)}function l2(e){return e*180/Math.PI}function u2(e){return e*360}function c2(e){var t=new mt;if(t.parseString(e.getPropertyValue("background-color")),t.alpha!==0){var r=e.getPropertyValue("opacity");t.alpha=t.alpha*r;}return t}var ya=c2;function d2(e){var t=p.getComputedStyle(e);return no(e,t)||ya(t).alpha===1}var f2=d2;function _l(e){if(!e.href)return false;var t=Ve.get("firstPageLink",p2);return t?e.compareDocumentPosition(t.actualNode)===e.DOCUMENT_POSITION_FOLLOWING:true}function p2(){var e;return p.location.origin?e=er(h._tree,'a[href]:not([href^="javascript:"])').find(function(t){return !Zs(t.actualNode)}):e=er(h._tree,'a:not([href^="#"]):not([href^="/#"]):not([href^="javascript:"])')[0],e||null}var m2=/rect\s*\(([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px\s*\)/,h2=/(\w+)\((\d+)/;function g2(e){var t=e.getPropertyValue("clip").match(m2),r=e.getPropertyValue("clip-path").match(h2);if(t&&t.length===5){var a=e.getPropertyValue("position");if(["fixed","absolute"].includes(a))return t[3]-t[1]<=0&&t[2]-t[4]<=0}if(r){var n=r[1],i=parseInt(r[2],10);switch(n){case "inset":return i>=50;case "circle":return i===0;}}return false}function v2(e,t,r){var a=Ia(e,"map");if(!a)return false;var n=a.getAttribute("name");if(!n)return false;var i=Nt(e);if(!i||i.nodeType!==9)return false;var o=er(h._tree,'img[usemap="#'.concat(yt(n),'"]'));return !o||!o.length?false:o.some(function(s){var l=s.actualNode;return io(l,t,r)})}function io(e,t,r){var a;if(!e)throw new TypeError("Cannot determine if element is visible for non-DOM nodes");var n=e instanceof Rt?e:ze(e);e=n?n.actualNode:e;var i="_isVisible"+(t?"ScreenReader":""),o=(a=p.Node)!==null&&a!==void 0?a:{},s=o.DOCUMENT_NODE,l=o.DOCUMENT_FRAGMENT_NODE,u=n?n.props.nodeType:e.nodeType,c=n?n.props.nodeName:e.nodeName.toLowerCase();if(n&&typeof n[i]<"u")return n[i];if(u===s)return true;if(["style","script","noscript","template"].includes(c))return false;if(e&&u===l&&(e=e.host),t){var f=n?n.attr("aria-hidden"):e.getAttribute("aria-hidden");if(f==="true")return false}if(!e){var b=n.parent,A=true;return b&&(A=io(b,t,true)),n&&(n[i]=A),A}var k=p.getComputedStyle(e,null);if(k===null)return false;if(c==="area")return v2(e,t,r);if(k.getPropertyValue("display")==="none")return false;var I=parseInt(k.getPropertyValue("height")),P=parseInt(k.getPropertyValue("width")),M=Br(e),O=M&&I===0,H=M&&P===0,V=k.getPropertyValue("position")==="absolute"&&(I<2||P<2)&&k.getPropertyValue("overflow")==="hidden";if(!t&&(g2(k)||k.getPropertyValue("opacity")==="0"||O||H||V)||!r&&(k.getPropertyValue("visibility")==="hidden"||!t&&$i(e)))return false;var z=e.assignedSlot?e.assignedSlot:e.parentNode,Y=false;return z&&(Y=io(z,t,true)),n&&(n[i]=Y),Y}var b2=io;function y2(e,t){for(var r=["fixed","sticky"],a=[],n=false,i=0;i<e.length;++i){var o=e[i];o===t&&(n=true);var s=p.getComputedStyle(o);if(!n&&r.indexOf(s.position)!==-1){a=[];continue}a.push(o);}return a}var jp=y2;function $p(e,t){var r=zp(t);do{var a=zp(e);if(a===r||a===t)return w2(e,t);e=a;}while(e);return false}function zp(e){for(var t=ze(e),r=t.parent;r;){if(Br(r.actualNode))return r.actualNode;r=r.parent;}}function w2(e,t){var r=p.getComputedStyle(t),a=r.getPropertyValue("overflow");if(r.getPropertyValue("display")==="inline")return true;var n=Array.from(e.getClientRects()),i=t.getBoundingClientRect(),o={left:i.left,top:i.top,width:i.width,height:i.height};return (["scroll","auto"].includes(a)||t instanceof p.HTMLHtmlElement)&&(o.width=t.scrollWidth,o.height=t.scrollHeight),n.length===1&&a==="hidden"&&r.getPropertyValue("white-space")==="nowrap"&&(n[0]=o),n.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 Gp(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:m,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;if(a>999)throw new Error("Infinite loop detected");return Array.from(r.elementsFromPoint(e,t)||[]).filter(function(n){return Nt(n)===r}).reduce(function(n,i){if(Hi(i)){var o=Gp(e,t,i.shadowRoot,a+1);n=n.concat(o),n.length&&$p(n[0],i)&&n.push(i);}else n.push(i);return n},[])}var x2=Gp;function D2(e,t){if(e.hasAttribute(t)){var r=e.nodeName.toUpperCase(),a=e;(!["A","AREA"].includes(r)||e.ownerSVGElement)&&(a=m.createElement("a"),a.href=e.getAttribute(t));var n=["https:","ftps:"].includes(a.protocol)?a.protocol.replace(/s:$/,":"):a.protocol,i=/^\//.test(a.pathname)?a.pathname:"/".concat(a.pathname),o=A2(i),s=o.pathname,l=o.filename;return {protocol:n,hostname:a.hostname,port:_2(a.port),pathname:/\/$/.test(s)?s:"".concat(s,"/"),search:E2(a.search),hash:C2(a.hash),filename:l}}}function _2(e){var t=["443","80"];return t.includes(e)?"":e}function A2(e){var t=e.split("/").pop();return !t||t.indexOf(".")===-1?{pathname:e,filename:""}:{pathname:e.replace(t,""),filename:/index./.test(t)?"":t}}function E2(e){var t={};if(!e||!e.length)return t;var r=e.substring(1).split("&");if(!r||!r.length)return t;for(var a=0;a<r.length;a++){var n=r[a],i=n.split("="),o=ge(i,2),s=o[0],l=o[1],u=l===void 0?"":l;t[decodeURIComponent(s)]=decodeURIComponent(u);}return t}function C2(e){if(!e)return "";var t=/#!?\/?/g,r=e.match(t);if(!r)return "";var a=ge(r,1),n=a[0];return n==="#"?"":e}var S2=D2;function k2(e,t){var r=t.getBoundingClientRect(),a=r.top,n=r.left,i={top:a-t.scrollTop,bottom:a-t.scrollTop+t.scrollHeight,left:n-t.scrollLeft,right:n-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=p.getComputedStyle(t);return e.left>r.right||e.top>r.bottom?o.overflow==="scroll"||o.overflow==="auto"||t instanceof p.HTMLBodyElement||t instanceof p.HTMLHtmlElement:true}var Al=k2,Wp=0,T2=(function(e){function t(r,a,n){var i;if(ft(this,t),i=me(this,t),i.shadowId=n,i.children=[],i.actualNode=r,i.parent=a,a||(Wp=0),i.nodeIndex=Wp++,i._isHidden=null,i._cache={},i._isXHTML=hn(r.ownerDocument),r.nodeName.toLowerCase()==="input"){var o=r.getAttribute("type");o=i._isXHTML?o:(o||"").toLowerCase(),vo().includes(o)||(o="text"),i._type=o;}return Ve.get("nodeMap")&&Ve.get("nodeMap").set(r,i),i}return Me(t,e),vt(t,[{key:"props",get:function(){if(!this._cache.hasOwnProperty("props")){var a=this.actualNode,n=a.nodeType,i=a.nodeName,o=a.id,s=a.nodeValue;this._cache.props={nodeType:n,nodeName:this._isXHTML?i:i.toLowerCase(),id:o,type:this._type,nodeValue:s},n===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(a){return typeof this.actualNode.getAttribute!="function"?null:this.actualNode.getAttribute(a)}},{key:"hasAttr",value:function(a){return typeof this.actualNode.hasAttribute!="function"?false:this.actualNode.hasAttribute(a)}},{key:"attrNames",get:function(){if(!this._cache.hasOwnProperty("attrNames")){var a;this.actualNode.attributes instanceof p.NamedNodeMap?a=this.actualNode.attributes:a=this.actualNode.cloneNode(false).attributes,this._cache.attrNames=Array.from(a).map(function(n){return n.name});}return this._cache.attrNames}},{key:"getComputedStylePropertyValue",value:function(a){var n="computedStyle_"+a;return this._cache.hasOwnProperty(n)||(this._cache.hasOwnProperty("computedStyle")||(this._cache.computedStyle=p.getComputedStyle(this.actualNode)),this._cache[n]=this._cache.computedStyle.getPropertyValue(a)),this._cache[n]}},{key:"isFocusable",get:function(){return this._cache.hasOwnProperty("isFocusable")||(this._cache.isFocusable=At(this.actualNode)),this._cache.isFocusable}},{key:"tabbableElements",get:function(){return this._cache.hasOwnProperty("tabbableElements")||(this._cache.tabbableElements=Wf(this)),this._cache.tabbableElements}},{key:"clientRects",get:function(){return this._cache.hasOwnProperty("clientRects")||(this._cache.clientRects=Array.from(this.actualNode.getClientRects()).filter(function(a){return a.width>0})),this._cache.clientRects}},{key:"boundingClientRect",get:function(){return this._cache.hasOwnProperty("boundingClientRect")||(this._cache.boundingClientRect=this.actualNode.getBoundingClientRect()),this._cache.boundingClientRect}}])})(Rt),El=T2;function F2(e){return (e||"").trim().replace(/\s{2,}/g," ").split(" ")}var jt=F2,wa=" [idsMap]";function Up(e,t,r){var a=e[0]._selectorMap;if(a){for(var n=e[0].shadowId,i=0;i<t.length;i++)if(t[i].length>1&&t[i].some(function(l){return Xp(l)}))return;var o=new Set;t.forEach(function(l){var u,c=R2(l,a,n);c==null||(u=c.nodes)===null||u===void 0||u.forEach(function(f){c.isComplexSelector&&!Sa(f,l)||o.add(f);});});var s=[];return o.forEach(function(l){return s.push(l)}),r&&(s=s.filter(r)),s.sort(function(l,u){return l.nodeIndex-u.nodeIndex})}}function R2(e,t,r){var a=e[e.length-1],n=null,i=e.length>1||!!a.pseudos||!!a.classes;if(Xp(a))n=t["*"];else {if(a.id){var o;if(!t[wa]||!Object.hasOwn(t[wa],a.id)||!((o=t[wa][a.id])!==null&&o!==void 0&&o.length))return;n=t[wa][a.id].filter(function(I){return I.shadowId===r});}if(a.tag&&a.tag!=="*"){var s;if(!((s=t[a.tag])!==null&&s!==void 0&&s.length))return;var l=t[a.tag];n=n?Cl(l,n):l;}if(a.classes){var u;if(!((u=t["[class]"])!==null&&u!==void 0&&u.length))return;var c=t["[class]"];n=n?Cl(c,n):c;}if(a.attributes)for(var f=0;f<a.attributes.length;f++){var b,A=a.attributes[f];if(A.type==="attrValue"&&(i=true),!((b=t["[".concat(A.key,"]")])!==null&&b!==void 0&&b.length))return;var k=t["[".concat(A.key,"]")];n=n?Cl(k,n):k;}}return {nodes:n,isComplexSelector:i}}function Xp(e){return e.tag==="*"&&!e.attributes&&!e.id&&!e.classes}function Cl(e,t){return e.filter(function(r){return t.includes(r)})}function oo(e,t,r){Object.hasOwn(r,e)||(r[e]=[]),r[e].push(t);}function Yp(e,t){e.props.nodeType===1&&(oo(e.props.nodeName,e,t),oo("*",e,t),e.attrNames.forEach(function(r){r==="id"&&(t[wa]=t[wa]||{},jt(e.attr(r)).forEach(function(a){oo(a,e,t[wa]);})),oo("[".concat(r,"]"),e,t);}));}var Sl;function kl(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:m.documentElement,t=arguments.length>1?arguments[1]:void 0;Sl=false;var r={};Ve.set("nodeMap",new WeakMap),Ve.set("selectorMap",r);var a=Kp(e,t,null);return a[0]._selectorMap=r,a[0]._hasShadowRoot=Sl,a}function I2(e){var t=[];for(e=e.firstChild;e;)t.push(e),e=e.nextSibling;return t}function Tl(e,t,r){var a=new El(e,t,r);return Yp(a,Ve.get("selectorMap")),a}function so(e,t,r){var a=[];return e.forEach(function(n){var i=Kp(n,r,t);i&&a.push.apply(a,ke(i));}),a}function Kp(e,t,r){var a,n;e.documentElement&&(e=e.documentElement);var i=e.nodeName.toLowerCase();if(Hi(e))return Sl=true,a=Tl(e,r,t),t="a"+Math.random().toString().substring(2),n=Array.from(e.shadowRoot.childNodes),a.children=so(n,a,t),[a];if(i==="content"&&typeof e.getDistributedNodes=="function")return n=Array.from(e.getDistributedNodes()),so(n,r,t);if(i==="slot"&&typeof e.assignedNodes=="function"){n=Array.from(e.assignedNodes()),n.length||(n=I2(e));p.getComputedStyle(e);return so(n,r,t)}if(e.nodeType===m.ELEMENT_NODE)return a=Tl(e,r,t),n=Array.from(e.childNodes),a.children=so(n,a,t),[a];if(e.nodeType===m.TEXT_NODE)return [Tl(e,r)]}function L2(e){return e?e.trim().split("-")[0].toLowerCase():""}var xa=L2;function P2(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 a=h._audit.data.failureSummaries[r];if(a&&typeof a.failureMessage=="function")return a.failureMessage(t[r].map(function(n){return n.message||""}))}}).filter(function(r){return r!==void 0}).join(`
367
367
 
368
- `)}var _l=A2;function Al(){var e=m._audit.data.incompleteFallbackMessage;return typeof e=="function"&&(e=e()),typeof e!="string"?"":e}var jp=He.resultGroups;function Pn(e,t){var r=m.utils.aggregateResult(e);return jp.forEach(function(a){t.resultTypes&&!t.resultTypes.includes(a)&&(r[a]||[]).forEach(function(n){Array.isArray(n.nodes)&&n.nodes.length>0&&(n.nodes=[n.nodes[0]]);}),r[a]=(r[a]||[]).map(function(n){return n=Object.assign({},n),Array.isArray(n.nodes)&&n.nodes.length>0&&(n.nodes=n.nodes.map(function(i){if(ae(i.node)==="object"){var o=$p(i.node,t);Object.assign(i,o);}return delete i.result,delete i.node,E2(i,t),i})),jp.forEach(function(i){return delete n[i]}),delete n.pageLevel,delete n.result,n});}),r}function E2(e,t){["any","all","none"].forEach(function(r){Array.isArray(e[r])&&e[r].filter(function(a){return Array.isArray(a.relatedNodes)}).forEach(function(a){a.relatedNodes=a.relatedNodes.map(function(n){return $p(n,t)});});});}function $p(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;e=or.dqElmToSpec(e,t);var r={};if(m._audit.noHtml)r.html=null;else {var a;r.html=(a=e.source)!==null&&a!==void 0?a:"Undefined";}if(t.elementRef&&!e.fromFrame){var n;r.element=(n=e.element)!==null&&n!==void 0?n: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 C2=/\$\{\s?data\s?\}/g;function oo(e,t){if(typeof t=="string")return e.replace(C2,t);for(var r in t)if(t.hasOwnProperty(r)){var a=new RegExp("\\${\\s?data\\."+r+"\\s?}","g"),n=typeof t[r]>"u"?"":String(t[r]);e=e.replace(a,n);}return e}function zp(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 oo(r,t)}return oo(e,t)}if(typeof e=="string")return oo(e,t);if(typeof t=="string"){var a=e[t];return oo(a,t)}var n=e.default||Al();return t&&t.messageKey&&e[t.messageKey]&&(n=e[t.messageKey]),zp(n,t)}}var El=zp;function S2(e,t,r){var a=m._audit.data.checks[e];if(!a)throw new Error("Cannot get message for unknown check: ".concat(e,"."));if(!a.messages[t])throw new Error('Check "'.concat(e,'"" does not have a "').concat(t,'" message.'));return El(a.messages[t],r)}var k2=S2;function T2(e,t,r){var a=((r.rules&&r.rules[t]||{}).checks||{})[e.id],n=(r.checks||{})[e.id],i=e.enabled,o=e.options;return n&&(n.hasOwnProperty("enabled")&&(i=n.enabled),n.hasOwnProperty("options")&&(o=n.options)),a&&(a.hasOwnProperty("enabled")&&(i=a.enabled),a.hasOwnProperty("options")&&(o=a.options)),{enabled:i,options:o,absolutePaths:r.absolutePaths}}var so=T2;function ta(){var e,t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:p;return t&&ae(t)==="object"?t:ae(r)!=="object"?{}:{testEngine:{name:"axe-core",version:m.version},testRunner:{name:m._audit.brand},testEnvironment:F2(r),timestamp:new Date().toISOString(),url:(e=r.location)===null||e===void 0?void 0:e.href}}function F2(e){if(!e.navigator||ae(e.navigator)!=="object")return {};var t=e.navigator,r=e.innerHeight,a=e.innerWidth,n=R2(e)||{},i=n.angle,o=n.type;return {userAgent:t.userAgent,windowWidth:a,windowHeight:r,orientationAngle:i,orientationType:o}}function R2(e){var t=e.screen;return t.orientation||t.msOrientation||t.mozOrientation}function Gp(e,t){var r=t.focusable,a=t.page;return {node:e,include:[],exclude:[],initiator:false,focusable:r&&I2(e),size:L2(e),page:a}}function I2(e){var t=Cr(e.getAttribute("tabindex"));return t===null||t>=0}function L2(e){var t=parseInt(e.getAttribute("width"),10),r=parseInt(e.getAttribute("height"),10);if(isNaN(t)||isNaN(r)){var a=e.getBoundingClientRect();t=isNaN(t)?a.width:t,r=isNaN(r)?a.height:r;}return {width:t,height:r}}function P2(e){if(Sl(e)){var t=" must be used inside include or exclude. It should not be on the same object.";ra(!Er(e,"fromFrames"),"fromFrames"+t),ra(!Er(e,"fromShadowDom"),"fromShadowDom"+t);}else if(uo(e))e={include:e,exclude:[]};else return {include:[h],exclude:[]};var r=Wp(e.include);r.length===0&&r.push(h);var a=Wp(e.exclude);return {include:r,exclude:a}}function Wp(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=[];Cl(e)||(e=[e]);for(var r=0;r<e.length;r++){var a=M2(e[r]);a&&t.push(a);}return t}function M2(e){return e instanceof p.Node?e:typeof e=="string"?[e]:(kl(e)?(N2(e),e=e.fromFrames):co(e)&&(e=[e]),O2(e))}function O2(e){if(Array.isArray(e)){var t=[],r=Ge(e),a;try{for(r.s();!(a=r.n()).done;){var n=a.value;if(co(n)&&(q2(n),n=n.fromShadowDom),typeof n!="string"&&!B2(n))return;t.push(n);}}catch(i){r.e(i);}finally{r.f();}return t}}function N2(e){ra(Array.isArray(e.fromFrames),"fromFrames property must be an array"),ra(e.fromFrames.every(function(t){return !Er(t,"fromFrames")}),"Invalid context; fromFrames selector must be appended, rather than nested"),ra(!Er(e,"fromShadowDom"),"fromFrames and fromShadowDom cannot be used on the same object");}function q2(e){ra(Array.isArray(e.fromShadowDom),"fromShadowDom property must be an array"),ra(e.fromShadowDom.every(function(t){return !Er(t,"fromFrames")}),"shadow selector must be inside fromFrame instead"),ra(e.fromShadowDom.every(function(t){return !Er(t,"fromShadowDom")}),"fromShadowDom selector must be appended, rather than nested");}function B2(e){return Array.isArray(e)&&e.every(function(t){return typeof t=="string"})}function ra(e,t){Qe(e,"Invalid context; ".concat(t,`
369
- See: https://github.com/dequelabs/axe-core/blob/master/doc/context.md`));}function Up(e,t){for(var r=[],a=0,n=e[t].length;a<n;a++){var i=e[t][a];if(i instanceof p.Node)if(i.documentElement instanceof p.Node)r.push(e.flatTree[0]);else if(i.host instanceof p.Node){var o=Array.from(i.children).map(function(l){return je(l)});r.push.apply(r,_e(o));}else r.push(je(i));else if(i&&i.length)if(i.length>1)H2(e,t,i);else {var s=Ol(i[0]);r.push.apply(r,_e(s.map(function(l){return je(l)})));}}return r.filter(function(l){return l})}function H2(e,t,r){e.frames=e.frames||[];var a=r.shift(),n=Ol(a);n.forEach(function(i){var o=e.frames.find(function(s){return s.node===i});o||(o=Gp(i,e),e.frames.push(o)),o[t].push(r);});}function lo(e,t){var r,a,n,i,o=this;e=Ir(e),this.frames=[],this.page=typeof((r=e)===null||r===void 0?void 0:r.page)=="boolean"?e.page:void 0,this.initiator=typeof((a=e)===null||a===void 0?void 0:a.initiator)=="boolean"?e.initiator:true,this.focusable=typeof((n=e)===null||n===void 0?void 0:n.focusable)=="boolean"?e.focusable:true,this.size=ae((i=e)===null||i===void 0?void 0:i.size)==="object"?e.size:{},e=P2(e),this.flatTree=t??xl(z2(e)),this.exclude=e.exclude,this.include=e.include,this.include=Up(this,"include"),this.exclude=Up(this,"exclude"),Ml("frame, iframe",this).forEach(function(s){Fl(s,o)&&V2(o,s.actualNode);}),typeof this.page>"u"&&(this.page=j2(this),this.frames.forEach(function(s){s.page=o.page;})),$2(this),Array.isArray(this.include)||(this.include=Array.from(this.include)),this.include.sort(Il);}function V2(e,t){!pt(t)||yn(e.frames,"node",t)||e.frames.push(Gp(t,e));}function j2(e){var t=e.include;return t.length===1&&t[0].actualNode===h.documentElement}function $2(e){if(e.include.length===0&&e.frames.length===0){var t=hr.isInFrame()?"frame":"page";throw new Error("No elements found for include in "+t+" Context")}}function z2(e){for(var t=e.include,r=e.exclude,a=Array.from(t).concat(Array.from(r)),n=0;n<a.length;n++){var i=a[n];if(i instanceof p.Element)return i.ownerDocument.documentElement;if(i instanceof p.Document)return i.documentElement}return h.documentElement}function G2(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(t.iframes===false)return [];var r=new lo(e),a=r.frames;return a.map(function(n){var i=n.node,o=Ce(n,$);o.initiator=false;var s=Fi(i);return {frameSelector:s,frameContext:o}})}function Xp(e){var t=m._audit.rules.find(function(r){var a=r.id;return a===e});if(!t)throw new Error("Cannot find rule by id: ".concat(e));return t}function W2(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,r=e.scrollWidth>e.clientWidth+t,a=e.scrollHeight>e.clientHeight+t;if(r||a){var n=p.getComputedStyle(e),i=Yp(n,"overflow-x"),o=Yp(n,"overflow-y");if(r&&i||a&&o)return {elm:e,top:e.scrollTop,left:e.scrollLeft}}}function Yp(e,t){var r=e.getPropertyValue(t);return ["scroll","auto"].includes(r)}var Or=ut(W2);function Kp(e){return Array.from(e.children||e.childNodes||[]).reduce(function(t,r){var a=Or(r);return a&&t.push(a),t.concat(Kp(r))},[])}function U2(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:p,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(Kp(h.body))}var X2=U2;function Y2(){return Ir(et)}function K2(e){if(!e)throw new Error("axe.utils.getStyleSheetFactory should be invoked with an argument");return function(t){var r=t.data,a=t.isCrossOrigin,n=a===void 0?false:a,i=t.shadowId,o=t.root,s=t.priority,l=t.isLink,u=l===void 0?false:l,c=e.createElement("style");if(u){var d=e.createTextNode('@import "'.concat(r.href,'"'));c.appendChild(d);}else c.appendChild(e.createTextNode(r));return e.head.appendChild(c),{sheet:c.sheet,isCrossOrigin:n,shadowId:i,root:o,priority:s}}}var Jp=K2,Jt;function J2(e){if(Jt&&Jt.parentNode)return Jt.styleSheet===void 0?Jt.appendChild(h.createTextNode(e)):Jt.styleSheet.cssText+=e,Jt;if(e){var t=h.head||h.getElementsByTagName("head")[0];return Jt=h.createElement("style"),Jt.type="text/css",Jt.styleSheet===void 0?Jt.appendChild(h.createTextNode(e)):Jt.styleSheet.cssText=e,t.appendChild(Jt),Jt}}var Z2=J2;function Cl(e){return !!e&&ae(e)==="object"&&typeof e.length=="number"&&!(e instanceof p.Node)}function Er(e,t){return !e||ae(e)!=="object"?false:Object.prototype.hasOwnProperty.call(e,t)}function Zp(e){return Sl(e)||uo(e)}function Sl(e){return ["include","exclude"].some(function(t){return Er(e,t)&&uo(e[t])})}function uo(e){return typeof e=="string"||e instanceof p.Node||kl(e)||co(e)||Cl(e)}function kl(e){return Er(e,"fromFrames")}function co(e){return Er(e,"fromShadowDom")}function Qp(e,t){var r=je(e);if(e.nodeType===9)return false;if(e.nodeType===11&&(e=e.host),r&&r._isHidden!==null)return r._isHidden;var a=p.getComputedStyle(e,null);if(!a||!e.parentNode||a.getPropertyValue("display")==="none"||!t&&a.getPropertyValue("visibility")==="hidden"||e.getAttribute("aria-hidden")==="true")return true;var n=e.assignedSlot?e.assignedSlot:e.parentNode,i=Qp(n,true);return r&&(r._isHidden=i),i}var Q2=Qp;function eA(e){var t,r,a=(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:!!et.htmlElms[a]}var Tl=eA;function Fl(e,t){var r=t.include,a=r===void 0?[]:r,n=t.exclude,i=n===void 0?[]:n,o=a.filter(function(c){return Lr(c,e)});if(o.length===0)return false;var s=i.filter(function(c){return Lr(c,e)});if(s.length===0)return true;var l=em(o),u=em(s);return Lr(u,l)}function em(e){var t,r=Ge(e),a;try{for(r.s();!(a=r.n()).done;){var n=a.value;(!t||!Lr(n,t))&&(t=n);}}catch(i){r.e(i);}finally{r.f();}return t}function Rl(e,t){return e.length!==t.length?false:e.every(function(r,a){var n=t[a];return Array.isArray(r)?r.length!==n.length?false:r.every(function(i,o){return n[o]===i}):r===n})}function tA(e,t){return e=e.actualNode||e,t=t.actualNode||t,e===t?0:e.compareDocumentPosition(t)&4?-1:1}var Il=tA;function Je(e){return e instanceof Ft?{vNode:e,domNode:e.actualNode}:{vNode:je(e),domNode:e}}function rA(e,t,r,a){var n=arguments.length>4&&arguments[4]!==void 0?arguments[4]:false,i=Array.from(e.cssRules);if(!i)return Promise.resolve();var o=i.filter(function(c){return c.type===3});if(!o.length)return Promise.resolve({isCrossOrigin:n,priority:r,root:t.rootNode,shadowId:t.shadowId,sheet:e});var s=o.filter(function(c){return c.href}).map(function(c){return c.href}).filter(function(c){return !a.includes(c)}),l=s.map(function(c,d){var g=[].concat(_e(r),[d]),D=/^https?:\/\/|^\/\//i.test(c);return Pl(c,t,g,a,D)}),u=i.filter(function(c){return c.type!==3});return u.length&&l.push(Promise.resolve(t.convertDataToStylesheet({data:u.map(function(c){return c.cssText}).join(),isCrossOrigin:n,priority:r,root:t.rootNode,shadowId:t.shadowId}))),Promise.all(l)}var tm=rA;function aA(e,t,r,a){var n=arguments.length>4&&arguments[4]!==void 0?arguments[4]:false,i=nA(e);return i?tm(e,t,r,a,n):Pl(e.href,t,r,a,true)}function nA(e){try{var t=e.cssRules;return !(!t&&e.href)}catch{return false}}var Ll=aA;function iA(e,t,r,a,n){return a.push(e),new Promise(function(i,o){var s=new p.XMLHttpRequest;s.open("GET",e),s.timeout=He.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:n,priority:r,root:t.rootNode,shadowId:t.shadowId});return Ll(o.sheet,t,r,a,o.isCrossOrigin)})}var Pl=iA;function oA(e){if(typeof e!="string")return null;var t=e.trim().match(/^([-+]?\d+)/);return t?Number(t[1]):null}var Cr=oA,sA=(function(){function e(){if(p.performance&&p.performance)return p.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(n){var i;(i=p.performance)!==null&&i!==void 0&&i.mark&&p.performance.mark(n);},measure:function(n,i,o){var s,l=arguments.length>3&&arguments[3]!==void 0?arguments[3]:false;if((s=p.performance)!==null&&s!==void 0&&s.measure){try{p.performance.measure(n,i,o);}catch(u){this._log(u);}l||this.clearMark(i,o);}},logMeasures:function(n){var i=this,o,s,l=function(R){return Array.isArray(R)?R[R.length-1]:R},u=function(R){i._log("Measure "+R.name+" took "+R.duration+"ms");};if(!(!((o=p.performance)!==null&&o!==void 0&&o.getEntriesByType)||!((s=p.performance)!==null&&s!==void 0&&s.getEntriesByName))){var c=l(p.performance.getEntriesByName("mark_axe_start"))||l(p.performance.getEntriesByName("mark_audit_start"));if(!c){this._log("Axe must be started before using performanceTimer");return}for(var d=p.performance.getEntriesByType("measure").filter(function(C){return C.startTime>=c.startTime}),g=0;g<d.length;++g){var D=d[g];if(D.name===n){u(D);return}else n||u(D);}}},timeElapsed:function(){var n=e();return n-t},clearMark:function(){var n;if((n=p.performance)!==null&&n!==void 0&&n.clearMarks){for(var i=arguments.length,o=new Array(i),s=0;s<i;s++)o[s]=arguments[s];for(var l=0,u=o;l<u.length;l++){var c=u[l];p.performance.clearMarks(c);}}},reset:function(){t=e();},_log:function(n){fa(n);}}})(),rt=sA;function rm(){if(h.elementsFromPoint)return h.elementsFromPoint;if(h.msElementsFromPoint)return h.msElementsFromPoint;var e=(function(){var n=h.createElement("x");return n.style.cssText="pointer-events:auto",n.style.pointerEvents==="auto"})(),t=e?"pointer-events":"visibility",r=e?"none":"hidden",a=h.createElement("style");return a.innerHTML=e?"* { pointer-events: all }":"* { visibility: visible }",function(n,i){var o,s,l,u=[],c=[];for(h.head.appendChild(a);(o=h.elementFromPoint(n,i))&&u.indexOf(o)===-1;)u.push(o),c.push({value:o.style.getPropertyValue(t),priority:o.style.getPropertyPriority(t)}),o.style.setProperty(t,r,"important");for(u.indexOf(h.documentElement)<u.length-1&&(u.splice(u.indexOf(h.documentElement),1),u.push(h.documentElement)),s=c.length;l=c[--s];)u[s].style.setProperty(t,l.value?l.value:"",l.priority);return h.head.removeChild(a),u}}typeof p.addEventListener=="function"&&(h.elementsFromPoint=rm());function lA(e,t){return e.concat(t).filter(function(r,a,n){return n.indexOf(r)===a})}var Mn=lA;function am(e,t,r,a,n){var i=n||{};return i.vNodes=e,i.vNodesIndex=0,i.anyLevel=t,i.thisLevel=r,i.parentShadowId=a,i}function uA(e,t,r){for(var a=Be.get("qsa.recycledLocalVariables",function(){return []}),n=[],i=Array.isArray(e)?e:[e],o=am(i,t,null,e[0].shadowId,a.pop()),s=[];o.vNodesIndex<o.vNodes.length;){for(var l,u,c=o.vNodes[o.vNodesIndex++],d=null,g=null,D=(((l=o.anyLevel)===null||l===void 0?void 0:l.length)||0)+(((u=o.thisLevel)===null||u===void 0?void 0:u.length)||0),C=false,R=0;R<D;R++){var I,P,M,q=R<(((I=o.anyLevel)===null||I===void 0?void 0:I.length)||0)?o.anyLevel[R]:o.thisLevel[R-(((P=o.anyLevel)===null||P===void 0?void 0:P.length)||0)];if((!q[0].id||c.shadowId===o.parentShadowId)&&Ca(c,q[0]))if(q.length===1)!C&&(!r||r(c))&&(s.push(c),C=true);else {var B=q.slice(1);if([" ",">"].includes(B[0].combinator)===false)throw new Error("axe.utils.querySelectorAll does not support the combinator: "+q[1].combinator);B[0].combinator===">"?(d=d||[]).push(B):(g=g||[]).push(B);}(!q[0].id||c.shadowId===o.parentShadowId)&&(M=o.anyLevel)!==null&&M!==void 0&&M.includes(q)&&(g=g||[]).push(q);}for(c.children&&c.children.length&&(n.push(o),o=am(c.children,g,d,c.shadowId,a.pop()));o.vNodesIndex===o.vNodes.length&&n.length;)a.push(o),o=n.pop();}return s}function cA(e,t,r){e=Array.isArray(e)?e:[e];var a=Ri(t),n=qp(e,a,r);return n||uA(e,a,r)}var Sr=cA;function dA(e){var t=e.treeRoot,r=t===void 0?m._tree[0]:t,a=fA(r);if(!a.length)return Promise.resolve();var n=h.implementation.createHTMLDocument("Dynamic document for loading cssom"),i=Jp(n);return pA(a,i).then(function(o){return im(o)})}var nm=dA;function fA(e){var t=[],r=Sr(e,"*",function(a){return t.includes(a.shadowId)?false:(t.push(a.shadowId),true)}).map(function(a){return {shadowId:a.shadowId,rootNode:wn(a.actualNode)}});return Mn(r,[])}function pA(e,t){var r=[];return e.forEach(function(a,n){var i=a.rootNode,o=a.shadowId,s=mA(i,o,t);if(!s)return Promise.all(r);var l=n+1,u={rootNode:i,shadowId:o,convertDataToStylesheet:t,rootIndex:l},c=[],d=Promise.all(s.map(function(g,D){var C=[l,D];return Ll(g,u,C,c)}));r.push(d);}),Promise.all(r)}function im(e){return e.reduce(function(t,r){return Array.isArray(r)?t.concat(im(r)):t.concat(r)},[])}function mA(e,t,r){var a;return e.nodeType===11&&t?a=hA(e,r):a=gA(e),bA(a)}function hA(e,t){return Array.from(e.children).filter(vA).reduce(function(r,a){var n=a.nodeName.toUpperCase(),i=n==="STYLE"?a.textContent:a,o=n==="LINK",s=t({data:i,isLink:o,root:e});return s.sheet&&r.push(s.sheet),r},[])}function gA(e){return Array.from(e.styleSheets).filter(function(t){return t.media?om(t.media.mediaText):false})}function vA(e){var t=e.nodeName.toUpperCase(),r=e.getAttribute("href"),a=e.getAttribute("rel"),n=t==="LINK"&&r&&a&&e.rel.toUpperCase().includes("STYLESHEET"),i=t==="STYLE";return i||n&&om(e.media)}function om(e){return e?!e.toUpperCase().includes("PRINT"):true}function bA(e){var t=[];return e.filter(function(r){return r.href?t.includes(r.href)?false:(t.push(r.href),true):true})}function yA(e){var t=e.treeRoot,r=t===void 0?m._tree[0]:t,a=Sr(r,"video[autoplay], audio[autoplay]",function(n){var i=n.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(a.map(function(n){var i=n.actualNode;return wA(i)}))}var sm=yA;function wA(e){return new Promise(function(t){e.readyState>0&&t(e);function r(){e.removeEventListener("loadedmetadata",r),t(e);}e.addEventListener("loadedmetadata",r);})}function lm(e){var t={cssom:nm,media:sm};return um(e)?new Promise(function(r,a){var n=cm(e),i=n.assets,o=n.timeout,s=setTimeout(function(){return a(new Error("Preload assets timed out."))},o);Promise.all(i.map(function(l){return t[l](e).then(function(u){return me({},l,u)})})).then(function(l){var u=l.reduce(function(c,d){return Te({},c,d)},{});clearTimeout(s),r(u);}).catch(function(l){clearTimeout(s),a(l);});}):Promise.resolve()}function xA(e){return ae(e)==="object"&&Array.isArray(e.assets)}function um(e){return !e||e.preload===void 0||e.preload===null?true:typeof e.preload=="boolean"?e.preload:xA(e.preload)}function cm(e){var t=He.preload,r=t.assets,a=t.timeout,n={assets:r,timeout:a};if(!e.preload||typeof e.preload=="boolean")return n;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 n.assets=Mn(e.preload.assets.map(function(o){return o.toLowerCase()}),[]),e.preload.timeout&&typeof e.preload.timeout=="number"&&!isNaN(e.preload.timeout)&&(n.timeout=e.preload.timeout),n}function fo(e){var t=m._audit.data.checks||{},r=m._audit.data.rules||{},a=yn(m._audit.rules,"id",e.id)||{};e.tags=Ir(a.tags||[]);var n=dm(t,true,a),i=dm(t,false,a);e.nodes.forEach(function(o){o.any.forEach(n),o.all.forEach(n),o.none.forEach(i);}),Ls(e,Ir(r[e.id]||{}));}function DA(e,t){function r(n){return n.incomplete&&n.incomplete.default?n.incomplete.default:Al()}if(e&&e.missingData)try{var a=t.incomplete[e.missingData[0].reason];if(!a)throw new Error;return a}catch{return typeof e.missingData=="string"?t.incomplete[e.missingData]:r(t)}else return e&&e.messageKey?t.incomplete[e.messageKey]:r(t)}function dm(e,t,r){return function(a){var n=e[a.id]||{},i=n.messages||{},o=Object.assign({},n);delete o.messages,!r.reviewOnFail&&a.result===void 0?(ae(i.incomplete)==="object"&&!Array.isArray(a.data)&&(o.message=DA(a.data,i)),o.message||(o.message=i.incomplete)):o.message=a.result===t?i.pass:i.fail,typeof o.message!="function"&&(o.message=El(o.message,a.data)),Ls(a,o);}}function _A(e,t){return Sr(e,t)}var Zt=_A;function fm(e,t){var r,a,n=m._audit&&m._audit.tagExclude?m._audit.tagExclude:[];t.hasOwnProperty("include")||t.hasOwnProperty("exclude")?(r=t.include||[],r=Array.isArray(r)?r:[r],a=t.exclude||[],a=Array.isArray(a)?a:[a],a=a.concat(n.filter(function(o){return r.indexOf(o)===-1}))):(r=Array.isArray(t)?t:[t],a=n.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?a.every(function(o){return e.tags.indexOf(o)===-1}):false}function AA(e,t,r){var a=r.runOnly||{},n=(r.rules||{})[e.id];return e.pageLevel&&!t.page?false:a.type==="rule"?a.values.indexOf(e.id)!==-1:n&&typeof n.enabled=="boolean"?n.enabled:a.type==="tag"&&a.values?fm(e,a.values):fm(e,[])}var pm=AA;function mm(e,t){if(!t)return e;var r=e.cloneNode(false),a=rn(r);if(r.nodeType===1){var n=r.outerHTML;r=Be.get(n,function(){return hm(r,a,e,t)});}else r=hm(r,a,e,t);return Array.from(e.childNodes).forEach(function(i){r.appendChild(mm(i,t));}),r}function hm(e,t,r,a){return t&&(e=h.createElement(e.nodeName),Array.from(t).forEach(function(n){EA(r,n.name,a)||e.setAttribute(n.name,n.value);})),e}function EA(e,t,r){return typeof r[t]>"u"?false:r[t]===true?true:_a(e,r[t])}function Ml(e,t){var r=[],a;if(m._selectCache)for(var n=0,i=m._selectCache.length;n<i;n++){var o=m._selectCache[n];if(o.selector===e)return o.result}for(var s=CA(t.include),l=SA(t),u=0;u<s.length;u++){a=s[u];var c=Sr(a,e,l);r=kA(r,c);}return m._selectCache&&m._selectCache.push({selector:e,result:r}),r}function CA(e){return e.reduce(function(t,r){return (!t.length||!Lr(t[t.length-1],r))&&t.push(r),t},[])}function SA(e){return !e.exclude||e.exclude.length===0?null:function(t){return Fl(t,e)}}function kA(e,t){if(e.length===0)return t;if(e.length<t.length){var r=e;e=t,t=r;}for(var a=0,n=t.length;a<n;a++)e.includes(t[a])||e.push(t[a]);return e}function po(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;if(ae(e)!=="object"||e===null)return {message:String(e)};var r={},a=Ge(He.serializableErrorProps),n;try{for(a.s();!(n=a.n()).done;){var i=n.value;["string","number","boolean"].includes(ae(e[i]))&&(r[i]=e[i]);}}catch(o){a.e(o);}finally{a.f();}return e.cause&&(r.cause=t<10?po(e.cause,t+1):"..."),r}var TA=(function(e){function t(r){var a,n,i=r.error,o=r.ruleId,s=r.method,l=r.errorNode;return gt(this,t),n=ke(this,t),n.name=(a=i.name)!==null&&a!==void 0?a:"RuleError",n.message=i.message,n.stack=i.stack,i.cause&&(n.cause=po(i.cause)),o&&(n.ruleId=o,n.message+=" Skipping ".concat(n.ruleId," rule.")),s&&(n.method=s),l&&(n.errorNode=l),n}return Le(t,e),tt(t)})(ie(Error)),mo=TA;function FA(e,t,r){if(e===p)return e.scroll(r,t);e.scrollTop=t,e.scrollLeft=r;}function RA(e){e.forEach(function(t){var r=t.elm,a=t.top,n=t.left;return FA(r,a,n)});}var IA=RA;function LA(e){var t=Array.isArray(e)?_e(e):[e];return gm(t,h)}function gm(e,t){var r=e.shift(),a=r?t.querySelector(r):null;return e.length===0?a:a!=null&&a.shadowRoot?gm(e,a.shadowRoot):null}function Ol(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:h,r=Array.isArray(e)?_e(e):[e];return e.length===0?[]:vm(r,t)}function vm(e,t){var r=te(e),a=r[0],n=Kn(r).slice(1),i=t.querySelectorAll(a);if(n.length===0)return Array.from(i);var o=[],s=Ge(i),l;try{for(s.s();!(l=s.n()).done;){var u=l.value;u!=null&&u.shadowRoot&&o.push.apply(o,_e(vm(n,u.shadowRoot)));}}catch(c){s.e(c);}finally{s.f();}return o}function PA(){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 ho=PA,bm=[,[,[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,,,,,,1,1,1,1,,,1,1,1,,1,,1,,1,1],[1,1,1,,1,1,,1,1,1,,1,,,1,1,1,,,1,1,1,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,,,,1,1,1,,1,1,1,1,1,1,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1],[,1,,,,,,1,,1,,,,,1,,1,,,1,1,1,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,,1,1,1,1,,,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,,,1,,,,1,1,1,1,,1,,1,,1,,,,,,1],[1,,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,,1,,1,,,,,1,,1,1,1,1,1,,,,1,1,1,1],[,1,1,1,1,1,,1,1,1,,1,,1,1,1,,,1,1,1,1,1,1,1,1],[,,1,,,1,,1,,,,1,1,1,,,,,,,,,,,1],[1,1,1,1,1,1,,1,1,1,,1,1,,1,1,1,1,1,1,1,1,,,1,1,1],[1,1,1,1,1,,,1,,,1,,,1,1,1,,,,,1,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,,1,1,,1,1,1,1,1,1,1,,1],[,1,,1,1,1,,1,1,,1,,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,,,1,1,1,,,1,1,,,,,,1,1],[1,1,1,,,,,1,,,,1,1,,1,,,,,,1,,,,,1],[,1,,,1,,,1,,,,,,1],[,1,,1,,,,1,,,,1],[1,,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,,1,,,1,1,1,1],[,1,1,1,1,1,,,1,,,1,,1,1,,1,,1,,,,,1,,1],[,1,,,,1,,,1,1,,1,,1,1,1,1,,1,1,,,1,,,1],[,1,1,,,,,,1,,,,1,1,1,1,,1,1,1,1,1,1,,1,1,1],[,1,,1,1,1,,,1,1,1,1,1,1,,1,,,,1,1,1,,1,,1],[,1,,1,,1,,1,,1,,1,1,1,1,1,,,1,1,1],[,1,1,1,,,,1,1,1,,1,1,,,1,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1],[,1,1,1,,1,1,1,,1,,,,,1,1,1,,,1,,1,,,1,1],[,,,,1,,,,,,,,,,,,,,,,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,,1,1,,,,1,1,1,1,1,,,1,1,1,,,,1,1],[1,1,1,1,,,,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,,,,,,,1,,,,,,,1],[,1,1,,1,1,,1,,,,,,,,,,,,,1],[,,,,,,,,1],[1,1,1,,,,,,,,,,,,,1],[,,,,,,,,1,,,1,,,1,1,,,,,1]],[,[1,1,,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,,1,1,1,1,,1,1,,1,1,1,1,1,1,1,,1,1,1,1,,1],[,,,1,,,,,,,,,,,,,,,1],[,1,,,1,1,,1,,1,1,,,,1,1,,,1,1,,,,1],[1,,,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1,,,1,,,,1],,[,1,1,1,1,1,,1,1,1,,1,1,,1,1,,,1,1,1,1,,1,1,,1],[,1,,,1,,,1,,1,,,1,1,1,1,,,1,1,,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,,,1,1,1,1,1,1,1,,,1,,,1,,1],[,1,,,,,,1,,,,1,1,,,,,,1,1,,,,,1],[,,,,,,,1,,,,1,,1,1],[,1,1,1,1,1,1,1,,,,1,1,1,1,1,,,1,1,,1,1,1,1,1],[,1,,,1,1,,1,,1,1,1,,,1,1,,,1,,1,1,1,1,,1],[,1,1,1,,1,1,,1,1,,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1],[,,,,,,,,,,,,,,,,1],,[,1,1,1,1,1,,1,1,1,,,1,,1,1,,1,1,1,1,1,,1,,1],[,,1,,,1,,,1,1,,1,1,,1,1,,1,,,,,,,,,1],[,1,1,,1,,,,1,1,,1,,1,1,1,1,,1,1,1,1,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[1,1],[,1,,,,,,,,,,1,1,,,,,,1,1,,1,,1,,1,1],,[,1,1,,1,,,1,,1,,,,1,1,1,,,1,,,1,,,,1],[1,1,,,1,1,,1,,,,,1,,1]],[,[,1],[,,,1,,,,1,,,,1,,,,1,,,1,,,1],[,,,,,,,,,,,,,,,,,,1,1,,,,,,1],,[1,,,,,1],[,1,,,,1,,,,1],[,1,,,,,,,,,,,1,1,,1,,,,,,,,,1,1],[,,,,,,,,,,,,,,,,,,,1,,1],[,,,,,,,,,,,,,,,,1,,,,1,,1],[,1],[,1,,1,,1,,1,,1,,1,1,1,,1,1,,1,,,,,,,1],[1,,,,,1,,,1,1,,1,,1,,1,1,,,,,1,,,1],[,1,1,,,1,,1,,1,,1,,1,1,1,1,1,,1,,1,,1,1,1,1],[1,1,1,1,1,,1,,1,,,,1,1,1,1,,1,1,,,1,1,1,1],[1,,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,1],,[,1,,,,,,1,1,1,,1,,,,1,,,1,1,1,,,1],[1,,,,,1,,1,1,1,,1,1,1,1,1,,1,,1,,1,,,1,1],[1,,1,1,,,,,1,,,,,,1,1,,,1,1,1,1,,,1,,1],[1,,,,1,,,,,,,,,,,,,1],[,,,,,1,,,1,,,,,,1],[,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,,1],[,1,,,,,,,,,,,,,,1],[,1,,,,1]],[,[1,1,1,,1,,1,1,1,1,1,1,1,1,1,,1,,1,,1,1,,,1,1,1],[,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1],,[,,,,,,,,,,,,,,,,,,1],[1,,,,,,,,,1,,,,1],[,,,,,,,,,,,,,,,,,,1],,[1,1,,,,1,1,,,,,,1,,,,1,,1,,1,1,,1],[1],[,,,,,,,,,,,1,,,,,,,,,,,1],[,1,,,,,,,1,1,,,1,,1,,,,1,,,,,,,1],[,,,,,,,,,,,,,,,,1,,,,,1],[,,1,,,,,1,,1],[1,,,,1,,,,,1,,,,1,1,,,,1,1,,,,,1],[,,,,,1],[,,,,,,,,,,,,,,,,,,,1],[1,,,1,1,,,,,,,1,,1,,1,1,1,1,1,1],[,,,,,1,,,,,,,1,,,,,,,1],,[,,1,1,1,1,1,,1,1,1,,,1,1,,,1,1,,1,1,1,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,,,,1],,[1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[,,,1,1,1,1,,,,,,1,,1,,,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,,,,1,,1,,,1,1,1,1,1],[,,,,,,,,,,,1,,,,,,,,,1,,,,1],[,1,1,,1,1,,1,,,,1,1,,1,1,,,1,,1,1,,1],[,1,,1,,1,,,1,,,1,1,,1,1,,,1,1,1],[,1,1,1,1,1,,1,1,1,,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,,,,,,,,,1,,1,,1,1,,,,1,,,1],[,1,,,1,1,,,,,,,,,1,1,1,,,,,1],[1,,1,1,1,,,,1,1,1,1,1,,,1,,,1,,,1,,1,,1],[,1,1,,1,1,,1,1,,,,1,1,1,,,1,1,,,1,1,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,,1,1,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,,1],[,1,,,,,,,,1,,,,,1,,,,1,,,1],[,1,1,1,1,,,1,1,1,1,1,,1,,1,,1,1,1,1,1,1,1,1,1,1],[,,,,,1,,1,,,,,1,1,1,1,1,,,1,,,,1],[,1,,,,,,,,1,,,,,,,,,,,,1],[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,,1,,1,1,,,,1,,1,1,1,1,1,,1,1,,,,,,1],[,1,1,1,1,1,1,1,,1,1,,,1,1,,,,1,,1,1,,1,1],[,,,,,,,,,,,,,,,,,,,,,,,,1],[,1,1,,1,1,1,1,,1,,,1,1,1,1,,,1,,,,,,,1,1],[,1,,,,,,,,1,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1],[,1,1,,,,,,,,,,,,1,1,,,,,,1],[,1,,,,,,,1],[,,,,,,,,,,,,,,1,,,,,1,,,,,,1],[1,1,,,1,,,1,1,1,,,,1],,[,,,,,,,,,,,,,1,,,,,,,,,,1],[,,,,,,,,,1,,,,,,,,,1,,,,,,,1],[1,1,1,,1,,1,1,1,1,1,1,1,1,,1,,,1,,1,,,1,1],[,,,,,,,,,1],[,1,,,,1,,,1,,,1,,,1,,,,,1],[,1,1,,1,1,,,,,,,,,,,,,,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,,,1,1,,1,1,1,1,,,1,1,1,,,,1,,1],[1,1,1,1,1,1,,,1,1,1,1,1,1,,1,1,,1,1,1,,1,1,,1,1],[,,,,,,,,,,,,,,,1,,,,1],,[1,1,,1,,1,,,,,,1,,1,,1,1,,1,,1,1,,1,1,,1],[,,1,,,,,,1,,,,1,,1,,,,,1],[1,,,,,,,,,1,,,,,,1,,,,1,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,,,1,,1,,,,,,1,,,1,,,,,,,,1],[,1,,1,,,,,,,,,,,,1],,[1,1,,,,,,,,,,,,,,,,,,,,,,1,1],[1]],[,[1,,,,,,,,,1,,,,,1,,1,,1],[,1,1,,1,1,,1,1,1,,,1,1,1,,,,1,,,1,,,,1],[,1,,,,,,,1,,,,1,,,,,,1],[1,1,1,1,1,1,,,,1,,,,,,,,,1,1,1,1],[1],[,1,1,,,1,1,,,,,1,,1,,,,,,,,1,,,,1],[1,,1,,,1,,1,,,,,1,1,1,1,,,,1,,,,1],[,,1,,,,,,,1,,,,,,,1,,,,,,,1],[1,,,,,,,,,,,,,,1,,,,1],[,,,1,,1,,,,,1,,,,1,1,,,,1],[1,,,,,1,,,1,1,,1,1,,,1,1,,1,1,1,,1,1,1,,1],[,1,1,,,,,1,,1,,1,1,1,,1,1,,,1,,1,1,1],[,1,,,,1,,,,1,,,1,,1,1,,,1,1,1,,,,,1],[1,,1,1,,1,,1,1,,1,,1,1,1,1,1,,,1,1,,,,,,1],[1,,,,,,,,,,,,,,,,,,1,,,1,,1],[,,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,,,,1,,1],[,1,,,,1,,,1,1,,1,,,1,1,,,1,,,1,,,1,1],[1,1,,1,1,1,,1,1,1,,1,,1,1,1,,,1,,1,1,1],[1,,1,1,1,1,,,,1,,1,1,1,,1,,,1,1,1,,1,1,1,1,1],[1,,,,,,,,,,,,,1],[,,1,,,,,,,,,,,,,,,,,,,,1],[1,,,,,,,,,,,1,,1,,1,,,,1],[,,,1,,,,,,,,,1],[,1,,,,,,,,,,,,,,1,,,,,,,,,1],[,,,,,,,,1,1,,,,1,,,,,1,,,,,,,,1]],[,[1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,,1,1,1,1,1,,,1,1,1],[,,,,,1,,,,1,1,1,,1,1,1,,,1,,1,1,,1],[,,,,,,,,,,,,,,,,,,,1,1],[,1,,,,,,1,,,,,,,,,,,,,1],[,,1,,,1,,1,1,1,,1,1,,1,,,,1,,1,1],,[,,1,,,1,,,,,,1,,,,1],[,,,,,,,,,1,,,,,,,,,,1],[1,1,1,1,1,1,,1,1,1,,,1,1,,1,,1,,,1,1,1,,,1],[,,,,,1,,,,,,,,,,,,,1],[,1,,,,,,,,,,,,1,,1,1,,1,1,,1],[,,,,,1,,,,,,,,,,,,,,1],[,1,1,1,1,,,,,1,,,1,,1,,,,1,1,,,,1,1],[,1,,,1,,,1,,1,1,,1,,,,,,,1],[,,1,,1,,,1,,,,,,,,,,,1,1,,,,1],[,1,,,,,,,,,,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,1,,,,,,,,,,,,,,,,1,,1,1],[,,,,,,,,,,,,1],,[,1,1,1,1,,,,1,1,,1,1,1,1,1,1,,1,1,1,1,,1,,1],[1,,,,1,,,,,,,,,,1],[1,,,,,,,,,1],,[,1,,,,1,,,,,,,,,,,,,,,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,,,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,,1,1,1,,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,,,1,1,1,,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1,,1,1,1,1],[1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,,,1,1,1,1,,1,,,,1,1,,,1,1,,1],[,1,1,,1,,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,,,,,,,,,,1],[1,1,1,,,,,1,1,1,,1,1,1,1,1,,1,1,1,1,1,,,,,1],[,1,,,,,,,1,1,,,1,1,1,,1,,,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,1],[,1,,,,1,,,,1,,,1,,,,1,,,,,,,1,1],[,1,1,1,1,1,,,1,1,1,,1,1,1,1,,,1,1,1,1,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1],[1,1,1,,1,,,1,1,1,1,,1,1,1,1,,,,1,,1,,1,,,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,,1,1,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,,1,,1,,1,,1,,1,1,1,1,1,,,1,,1,,1,,,,1],[,1,1,1,1,1,,1,1,1,,,1,1,1,1,1,,1,1,1,,1,1,,1],[1,,,1,,,,1,1,1,,,,,1,1,,,,1,,1],[1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,,,,,,,,1,,1,1,,,,,,,1,,1],[,1,,,,1,,1,1,,,,1,1,,1,,,,1,1,1,,1],[,,,,,,,,,,,,,1],[,1,,,,,,1,,,,,,,1],[,,,,,,,,1,,,,1,,1,,,,,,,,,,,,1]],[,[,1,1,,1,1,1,1,,1,1,1,,1,1,,1,1,,1,1,1,1,1,1,,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,1,,,1,,,,,,,,1,,,,,,1,,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,,1,1,1,,1,1,1,1,,,1,1,1,1,,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,,1,,1,,1,,1,1,1,1,1,1,1,,1,1,,,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1],[,1,1,,,,,1,1,1,,,1,,1,1,,,,1,,1,,,1,1],[,,,,,,,1,,,,1,1,1,1,1,,1,,,1,,,,,1],[1,1,1,1,,1,1,1,,1,,1,1,1,1,,1,,1,,1,1,,,1,,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,1,1,,1,,1,1,1,,1,,1,1,,1,1,,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,,,,,,,1,,,,,1,,1],[,1,1,1,,1,,1,,1,,,,1,,1,,,1,,,,,1,1,1],[,1,,,1,1,,1,,1,,1,1,1,1,1,,1,1,,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,,,1,,1,,1,,,,,1,1,,1,,,,1,1]],[,[,1,,1,,,,,,,,1,,,,,,,1,,,,1],[,,,,,,,,,1,,1,1,1,,1,,,1,,1,1],[1,1,,,,,,,1,,,,,1,,1,,,,,,1],[,1,,,,,,,,,,1,,,,,,,,,1,1],,[,,,,,,,,,,,,,,,1,,,,1,,1],[,,1,1,,1,,1,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,,,1,1],[,1,,,,1,,,,,,,,,1],[1,,1,1,,,,1,,,,,,,,,1,,,1,,,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,,1,1,,1,1,,1,,1],[,1,,,1,1,,,,,,1,,1,,1,,,1,,1,1],[1,1,1,1,,1,,1,,1,,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,,,1,,1,,1,1,1,,,1,1,1,,1,1,1,1,,1,1],[,,,,1,,,1,,,,,,,1,,,,1,1],[,1,,,,,,,,,,1,,1,,1,,,,,1,,,,,1],,[1,1,,1,,1,,1,1,,,,,,1,1,,,1,1,1,1,1,1,1,1,1],[1,1,,1,,,,,,1,,,,,1,1,1,,,,1,1,,,1],[,1,1,,1,1,,,,1,,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1],[,1,1,,,1,,,,1,,,,1,1],[,,,,1],[,,,,,,,,,1,,,1],,[,,1,,1,,,,,,,,,1,,,,,,,,,,,,1],[,,,,,,,,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,1,,1,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,,,,,1],[,1,,1,,,,,,1,,,,,1,1,,,,,1,1],[,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,,,1,,1,1,1],[,1,,,,1,,,,,,,1],[,1,,,1,,,1,,1,,1,1,,1,,,,,1,,1,,,,1,1],[,1,,,1,,,1,1,1,1,1,1,1,1,1,,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1],[,,,,,,,,,,,,,,,,,,,,1],[,1,1,1,,,,1,1,,,,,,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,1,1,1,1,1,1,1,,1,,1,1,1,1,1,,1,1,,1,1,1,1,1],[,1,,,,1,,,,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,1,,,,,,,,,,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,,1,1,1,,1,1,1,,,1,1,1,1,1,1,1,1,1,1,,1,,1],[1,1,,,,,,,1,1,,,,,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,,1,1,1,,1,,1,1,1,1,,1,1,,1,1,1,1],,[,1,1,,,,,1,,1,,,,1,1,1,,,1,,,,,1],[,,,,,,,,,,,,,1],[,,,,,1,,,,,,,,1,1,,,,,1,,1,,,1,1],[,,,,,1,,,1,,,,,,1]],[,[,1],,,,,,,,,,,,,,,,,,,,[1,1,1,1,1,,1,1,1,1,,1,1,1,1,,1,1,1,1,,,1,1,1,1,1],[,1,,1,,1,,,1,1,1,,1,1,1,1,1,,,1,,,,1,,1,1],[,1,,1,,1,,,1,,,,,1,,,,,,1,1],[,1,,1,,,,,1,,,,1,,1,1,1,1,1,1,1,1,,1],[,1,,,,,,,,,,,,,,,1]],[,[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,,,,,,,,,1,1,,,,1],[,,,,,,1],[,,1],[,1,1,,,1,,1,,1,1,,1,1,1,,,,1,1,1,,,,,1],,[,1,,,,1,,,,,,1,,,1,,,,1,1,,1],[,,,,,,,1,,,,,,,,,1],[,1,1,,,1,1,,,,,,1,1,1,,,,1,,1,1],[,,,,,,,1,,1,,,,,,,,,,1],[,1,1,,,,,,1,1,,,,1,,,,,,,1,,,1],,[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,1,,,1,,,,,1,,1,,1,,1,,,,,1],[1,1,1,1,1,1,1,1,,,,,1,1,,1,1,,1,,,1,,1],[,,,,,,,,,,,,,,1,,,,,,1],,[,,,,,,,,,1,,,,1,,1,,,,,1],[,,1,,,,,,,1,,1,1,1,1,,,,,,,,,1],[,,,1,,,,,1,,,,,1,,,,,,1,,,,1],[1,,1,1,,1,1,1,1,1,,1,,,,1,1,1,,,1,1,,,,1,1],,[1,1,,,,,,,,,,1,1,1,,1,,,1],[,,,,1,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,1,,,,,1,,1],[,,,,,,,,1]],[,[1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,,1,1,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,,1,,,1,,,,,,,,1,,,,,,1,,,,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,,,,1,1,1,1,1,1,,1,1,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1],[,,1,1,1,1,,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,,,,,,,1,,1,1,,1,1,1,,1,1,1,1,1,,,1],[1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,1,1,,1,,1,,1,1,1,1,1,,1,,1,1,1,1,,1,1,1,1,1],[1,1,1,1,,1,,,,,,1,,1,,,,,1,1,,,,,1],[1,,1,1,,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,1,,1,,1,,,,1,1,1,1,1,,,1,1,,1,,1],[,1,1,1,1,,,,,1,,1,1,1,1,1,,,1,1,,,,1,1,1],[,1,1,1,1,1,,1,,,,,1,,1,,1,,,1,,,1,1,,1]],[,[1,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,,,,,,1,,,,,1,1,,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,,,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,,1,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,,,,,,1,,1,1,,1,1,1,1,1,,,1,,1,,1],[1,1,1,,1,1,1,1,,,,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,,1,,,,,,,,,,1,1,1,1,1,1,1,,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,,,1,1,,,,1,,1,1,1,1,1,,,,1,1,1,,1,1,1],[1,1,1,1,1,1,1,1,1,,,,1,1,1,1,1,1,1,,1,1,,1,1,1],[,1,1,1,,1,,1,1,1,1,,,1,1,1,,1,1,1,1,1,,,1,1],[1,1,,,,1,,,1,1,1,,1,,1,,1,,1,1,1,1,1,,1,1,1],[,1,,,,,,,1,,1,,1,1,1,1,,,,,,,,,1]],[,[,,,,,,,,,,,,,1,1,,,,1],[,1,,,,,,,,1,,,1,,,,,,1,,,1,,,,1],,[,1,,,,1,,1,,1,1,,1,1,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,1],[1,1,1,,,1,,,1,,,,,,1,1,,,,,,,,,,1],[,1,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1,,,1],[,,,,,,,,,1],[1,1,,,,,,1,1,1,,1,1,,,,1,1,,1,,1,1,1,,1],[,1,1,1,,1,1,,,1,,1,1,1,1,,,,,,,1,,1,,1],[,1,1,1,1,,,1,,1,,,,1,1,1,1,,1,1,,1],[,1,,,1,1,,1,,1,,1,,1,1,,1,,1,,,1,,,1,,1],[,,,,,,,,,,,1,,,1],[,,,,,,,,,1,,,,,,,,,,,,,1],,[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1],[,1,,,,,,,1,1,,1,,,,,1,,,1,,1],[,1,,,,1,,,1,,,,,,,,1,,1,,,1],[,,,,,,,,,,,,,1,1,,,,1,,,1],[,,,,,1,,,1,,,,1],[,1],,[,1],[1,,,,,,,,,,,,,,1,,,,,1]],[,[,1,,,,1,1,1,1,1,1,,1,1,1,1,1,,1,1,,1,1,,,1],[,,1,,,,,,,,,1],,,[1,,,1,1,,,,,,,,1,1,,1,1,,1],,[,,,,,,,,,,,,,,,,,,1,,1],,[1,,,1,1,,1,1,,,,,1,,1,,,,,1,1,,1],[,,,,,,,,,,,1],[,1,,,,,,,,1,1,1,1,1,1,1,1,,,,1,1,,,,,1],[,,,,,,,,,,,,,,,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,,1,1,1,1,1,1],[,,,,,,,,,,,1,,1,,,1],[1,,,,,,,,,,,,,,,,,,1,,1],,,[,1,,,,,,,,,,,,,,1,,,,1,1],[,,,,,,,,,1,,,1,,1,,,,,,,,1],[,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,1,1,,,,,,1],,[,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,,1,1,,1,1,1,1,1,1,,,1,1,1,1,1,,1,1],[,1,,,,,,,,1],[,,,,1,,,1,,,1,1,,,,,,,,,1,1,,,,1],[,1,,1,1,,,1,1,1,,,,1,1,1,1,,1,1,1,1,,1],[,,,,,,,1],[,1,1,,,,,1,,1,,,,,,1,,,,,,1,,1,,1],[,1,,,,,,1,,,,1,,,,,,,,,,1],[,,1,1,,1,1,1,1,1,1,1,1,1,1,,,,1,,1,1,1,1,,1],[,1,,,,,,,,1],[,1,1,,1,,,,,,,,1,,,,,,1,,,1,,1,,1],[,1,,1,,1,,1,1,1,,1,1,1,,1,,,1,1,,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,,,,1,1,1,,,,1,1,,,1,1],[,,1,1,1,1,,1,,1,,1,,1,1,1,1,,,,,1,,1,,1],[1,1,1,1,1,1,1,1,,1,,1,,1,1,1,,,1,1,,,,1,,1],[,,,1],,[,1,1,,1,,,1,1,1,,1,1,1,1,1,1,,1,1,,1,1,1,1,1,1],[,1,,,,,,1,,1,,1,,,,,,,1,1,,1,1],[,,1,,,,1,,1,1,,1,,1,,,,,,,,,,1],[,1,1,,1,,,,1,,,,1,1,1,,,,1,,1,1,1,,1,1],,[,1,1,,,,,,,,,,,,,1,,,1,,,,,1],[,1,,,,,,,,,,,,,,,,,,,,,,1],[,1,1,,,,,,,1,,,,1,1,,,,1,,,,,,,1]],[,[,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[,1,1,1,1,1,,1,,1,1,,,1,1,1,1,,1,,,,,1,1,1],[,,1,1,,1,,1,1,,,,1,1,1,1,,,1,,1,1,1,1,,1],[,1,,1,,,,,,,,1,,1,,1,,1,,,,,,,,1],[,,1,,1,,,1,,,,,1,1,,,1,,1,1,1,1],[,1],[,1,1,,1,,1,1,,1,,,1,1,1,,,,1,,,1,,1],[1,1,,1,1,1,,,,,,,,1,,,,,1,,1,1,1],[,1,1,,,,,,,1,,,1,,1,,1,,1,1,,,1,,,1],[,,1,,,,,,,,,,,,,,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,,1,,,,,1,1,1,,,1,,1,,,,1],[,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,1,1,1,1,1,,1,1,1,,1,1,1,1,1,,,,1,1],[,,,1,1,,,1,,1,,1,,1,1,1,1,,1,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,,,,,,,,,,,,,,,,1],[,1,1,,1,1,,1,,1,,,,1,1,,,1,1,,1,1,,1],[,1,1,1,1,1,,,1,1,1,,1,1,1,1,1,1,1,1,,1,1,,,1],[,1,1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,,1,,,1,,,1,,1,1,1,1,1,,1,,1,1],[,,,,,1,,,,1,,,,,1,1,,,,1],[,1,,1,1,1,,1,,,1,1,1,,,1,,,1,,1,,,1],[,,1,,,,,,,,,1,,1,,,,,1,,1],[,1,1,,,,,,,,1,1,1,,,,,,,,1,,,,,1],[,,,,,,,,1,,,,,1,,,1]],[,[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,,,1,1,1,1,1,1,1,1,,,,,,,,,1,1],[,,,,,,,,1,,,,1,,1,,1,,1],[,1,,,1,1,,1,,,,1,,,,,,,,1],[,1,,1,,1,,,,1,1,,1,,1,,,,1,1,1,1,1,,,1],,[,1,,,,,,,,1,,,1,1,,,1,,1,1,,1,,1],[,1,,,1,,,,,,,,1,,,,,,,1],[1,1,,,,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1],,[,1,,,,,,1,1,1,,1,1,1,1,1,,,1,,1,1,,,,1],[,1,1,,,1,,1,,1,,,1,1,1,1,,,1,,,1,,,,1],[,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,,,1,,1],[,1,1,,1,1,,1,1,,,1,1,,1,1,,1,,1,,1],[1,,1,,,,,1,,1,,1,1,1,1,,,,,1,1,,,,1,1],[,1,1,,,,,1,1,,,1,,1,1,1,1,,,,,,,,,,1],,[,1,1,,,1,,,,1,,1,1,1,1,1,,,,1,,,,1,,1],[,,,1,1,,,1,,,,,1,1,1,1,1,,1,1,,,,,,1],[,1,,,,,,,,,,,1,,,,1,,,,,,,1,,1],[,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,,1,1,,1,1,1,1],[,1,,,,,,,,,,,,,,,,,,,1],[,1,,,,,,1,,,,,1,,1,,,1,1,,1,1,,1],[,1,,,,,,1,,,,,1,1,,,,,,,,1,,,,1],[,,,,,,,,,,,,,,,,,,1,,,1,,,,,1],[,,,,,,,1,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,,1,,,,,,,1,,,,,,,,1,1,,1],[,1,,,1,,,,1],[,,,,,,,,,,1],[,1,,,,,,1,1,,,,,1,1],,[,1,1,,,,,,1,,,,,1,1,,,,1],[1,,1,,1,,,,,1,,,,,1,,,,,,,,,1,1],[,1,1,,,,,,,,,1,1,1,1,,,,1,,,,,1,,,1],,[,1,1,,1,,,1,1,,,1,,,1,1,1,,1,,1,1,1,,,,1],[,1,,,,1,,,,,1,,,1,1,,,1,,1,,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,1,1,,1,,,,1,,,,,,,,1],[,,,1,,,,,1,,,,,1,,1,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,,1],[,1,,,,,,1,,,,,,,1,1,1,,,1],[,1,,,,,,,,,,1,1,1,,,,,1,,,1],[,,,,,1,,1,,,,,1,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 MA(e){for(var t=bm;e.length<3;)e+="`";for(var r=0;r<=e.length-1;r++){var a=e.charCodeAt(r)-96;if(t=t[a],!t)return false}return true}function ym(e){e=Array.isArray(e)?e:bm;var t=[];return e.forEach(function(r,a){var n=String.fromCharCode(a+96).replace("`","");Array.isArray(r)?t=t.concat(ym(r).map(function(i){return n+i})):t.push(n);}),t}var go=MA,OA=(function(e){function t(r){var a;return gt(this,t),a=ke(this,t),a._props=qA(r),a._attrs=BA(r),a}return Le(t,e),tt(t,[{key:"props",get:function(){return this._props}},{key:"attr",value:function(a){var n;return (n=this._attrs[a])!==null&&n!==void 0?n:null}},{key:"hasAttr",value:function(a){return this._attrs[a]!==void 0}},{key:"attrNames",get:function(){return Object.keys(this._attrs)}}])})(Ft),Nl={"#cdata-section":2,"#text":3,"#comment":8,"#document":9,"#document-fragment":11},wm={},NA=Object.keys(Nl);NA.forEach(function(e){wm[Nl[e]]=e;});function qA(e){var t,r,a,n=(t=e.nodeName)!==null&&t!==void 0?t:wm[e.nodeType],i=(r=(a=e.nodeType)!==null&&a!==void 0?a:Nl[e.nodeName])!==null&&r!==void 0?r:1;Qe(typeof i=="number","nodeType has to be a number, got '".concat(i,"'")),Qe(typeof n=="string","nodeName has to be a string, got '".concat(n,"'")),n=n.toLowerCase();var o=null;n==="input"&&(o=(e.type||e.attributes&&e.attributes.type||"").toLowerCase(),ho().includes(o)||(o="text"));var s=Te({},e,{nodeType:i,nodeName:n});return o&&(s.type=o),delete s.attributes,Object.freeze(s)}function BA(e){var t=e.attributes,r=t===void 0?{}:t,a={htmlFor:"for",className:"class"};return Object.keys(r).reduce(function(n,i){var o=r[i];if(Qe(ae(o)!=="object"||o===null,"expects attributes not to be an object, '".concat(i,"' was")),o!==void 0){var s=a[i]||i;n[s]=o!==null?String(o):null;}return n},{})}var xm=OA;function HA(e,t){if(e=e||function(){},t=t||m.log,!m._audit)throw new Error("No audit configured");var r=m.utils.queue(),a=[];Object.keys(m.plugins).forEach(function(i){r.defer(function(o){var s=function(u){a.push(u),o();};try{m.plugins[i].cleanup(o,s);}catch(l){s(l);}});});var n=m.utils.getFlattenedTree(h.body);m.utils.querySelectorAll(n,"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){a.length===0?e(i):t(a);}).catch(t);}var Dm=HA,On={},_m;function Am(e){return On.hasOwnProperty(e)}function ql(e){return typeof e=="string"&&On[e]?On[e]:typeof e=="function"?e:_m}function VA(e,t,r){On[e]=t,r&&(_m=t);}function jA(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 a=r.split("-"),n=le(a,2),i=n[0],o=n[1],s=i.split(".").map(Number),l=le(s,3),u=l[0],c=l[1],d=l[2],g=m.version.split("-"),D=le(g,2),C=D[0],R=D[1],I=C.split(".").map(Number),P=le(I,3),M=P[0],q=P[1],B=P[2];if(u!==M||q<c||q===c&&B<d||u===M&&c===q&&d===B&&o&&o!==R)throw new Error("Configured version ".concat(r," is not compatible with current axe version ").concat(m.version))}if(e.reporter&&(typeof e.reporter=="function"||Am(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(X){if(!X.id)throw new TypeError("Configured check ".concat(JSON.stringify(X)," is invalid. Checks must be an object with at least an id property"));t.addCheck(X);});}var V=[];if(e.rules){if(!Array.isArray(e.rules))throw new TypeError("Rules property must be an array");e.rules.forEach(function(X){if(!X.id)throw new TypeError("Configured rule ".concat(JSON.stringify(X)," is invalid. Rules must be an object with at least an id property"));V.push(X.id),t.addRule(X);});}if(e.disableOtherRules&&t.rules.forEach(function(X){V.includes(X.id)===false&&(X.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&&sD(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(He.allOrigins,'" instead'));t.setAllowedOrigins(e.allowedOrigins);}}var $A=jA;function zA(e){hr.updateMessenger(e);}function GA(e){e=e||[];var t=e.length?m._audit.rules.filter(function(a){return !!e.filter(function(n){return a.tags.indexOf(n)!==-1}).length}):m._audit.rules,r=m._audit.data.rules||{};return t.map(function(a){var n=r[a.id]||{};return {ruleId:a.id,description:n.description,help:n.help,helpUrl:n.helpUrl,tags:a.tags,actIds:a.actIds}})}var WA=GA;function UA(e,t,r){var a=["SCRIPT","HEAD","TITLE","NOSCRIPT","STYLE","TEMPLATE"];if(!a.includes(e.nodeName.toUpperCase())&&Rn(r)){var n=p.getComputedStyle(e);if(n.getPropertyValue("display")==="none")return;if(n.getPropertyValue("visibility")==="hidden"){var i=Rt(e),o=i&&p.getComputedStyle(i);if(!o||o.getPropertyValue("visibility")!=="hidden")return}}return true}var XA=UA,Em={};ur(Em,{getAllCells:function(){return Bl},getCellPosition:function(){return Yi},getHeaders:function(){return vo},getScope:function(){return Zs},isColumnHeader:function(){return La},isDataCell:function(){return Sm},isDataTable:function(){return bo},isHeader:function(){return eE},isRowHeader:function(){return Pa},toArray:function(){return Mr},toGrid:function(){return Mr},traverse:function(){return Hl}});function YA(e){var t,r,a,n,i=[];for(t=0,a=e.rows.length;t<a;t++)for(r=0,n=e.rows[t].cells.length;r<n;r++)i.push(e.rows[t].cells[r]);return i}var Bl=YA;function Cm(e,t,r){for(var a=e==="row"?"_rowHeaders":"_colHeaders",n=e==="row"?Pa:La,i=r[t.y][t.x],o=i.colSpan-1,s=i.getAttribute("rowspan"),l=parseInt(s)===0||i.rowspan===0?r.length:i.rowSpan,u=l-1,c=t.y+u,d=t.x+o,g=e==="row"?t.y:0,D=e==="row"?0:t.x,C,R=[],I=c;I>=g&&!C;I--)for(var P=d;P>=D;P--){var M=r[I]?r[I][P]:void 0;if(M){var q=m.utils.getNodeFromTree(M);if(q[a]){C=q[a];break}R.push(M);}}return C=(C||[]).concat(R.filter(n)),R.forEach(function(B){var V=m.utils.getNodeFromTree(B);V[a]=C;}),C}function KA(e,t){if(e.getAttribute("headers")){var r=Dr(e,"headers");if(r.filter(function(o){return o}).length)return r}t||(t=Mr(Ra(e,"table")));var a=Yi(e,t),n=Cm("row",a,t),i=Cm("col",a,t);return [].concat(n,i).reverse()}var vo=KA;function JA(e){if(!e.children.length&&!e.textContent.trim())return false;var t=We(e);return t?["cell","gridcell"].includes(t):e.nodeName.toUpperCase()==="TD"}var Sm=JA;function ZA(e){var t=We(e);if((t==="presentation"||t==="none")&&!Dt(e))return false;if(e.getAttribute("contenteditable")==="true"||Ra(e,'[contenteditable="true"]')||t==="grid"||t==="treegrid"||t==="table"||gr(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,a=e.children.length;r<a;r++)if(e.children[r].nodeName.toUpperCase()==="COLGROUP")return true;for(var n=0,i=e.rows.length,o,s,l=false,u=0;u<i;u++){o=e.rows[u];for(var c=0,d=o.cells.length;c<d;c++){if(s=o.cells[c],s.nodeName.toUpperCase()==="TH"||(!l&&(s.offsetWidth!==s.clientWidth||s.offsetHeight!==s.clientHeight)&&(l=true),s.getAttribute("scope")||s.getAttribute("headers")||s.getAttribute("abbr"))||["columnheader","rowheader"].includes(We(s))||s.children.length===1&&s.children[0].nodeName.toUpperCase()==="ABBR")return true;n++;}}if(e.getElementsByTagName("table").length||i<2)return false;var g=e.rows[Math.ceil(i/2)];if(g.cells.length===1&&g.cells[0].colSpan===1)return false;if(g.cells.length>=5||l)return true;for(var D,C,R=0;R<i;R++){if(o=e.rows[R],D&&D!==p.getComputedStyle(o).getPropertyValue("background-color")||(D=p.getComputedStyle(o).getPropertyValue("background-color"),C&&C!==p.getComputedStyle(o).getPropertyValue("background-image")))return true;C=p.getComputedStyle(o).getPropertyValue("background-image");}return i>=20?true:!(Ns(e).width>Bi(p).width*.95||n<10||e.querySelector("object, embed, iframe, applet"))}var bo=ZA;function QA(e){if(La(e)||Pa(e))return true;if(e.getAttribute("id")){var t=vt(e.getAttribute("id"));return !!h.querySelector('[headers~="'.concat(t,'"]'))}return false}var eE=QA;function km(e,t,r,a){var n,i=r[t.y]?r[t.y][t.x]:void 0;return i?typeof a=="function"&&(n=a(i,t,r),n===true)?[i]:(n=km(e,{x:t.x+e.x,y:t.y+e.y},r,a),n.unshift(i),n):[]}function tE(e,t,r,a){if(Array.isArray(t)&&(a=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 km(e,{x:t.x+e.x,y:t.y+e.y},r,a)}var Hl=tE,Tm={};ur(Tm,{allowedAttr:function(){return Fm},arialabelText:function(){return Cn},arialabelledbyText:function(){return En},getAccessibleRefs:function(){return Vl},getElementUnallowedRoles:function(){return Lm},getExplicitRole:function(){return We},getImplicitRole:function(){return _r},getOwnedVirtual:function(){return Tn},getRole:function(){return Ve},getRoleType:function(){return gr},getRolesByType:function(){return pE},getRolesWithNameFromContents:function(){return gE},implicitNodes:function(){return bE},implicitRole:function(){return _r},isAccessibleRef:function(){return yo},isAriaRoleAllowedOnElement:function(){return Im},isComboboxPopup:function(){return $l},isUnsupportedRole:function(){return Ks},isValidRole:function(){return Sn},label:function(){return Nm},labelVirtual:function(){return Zi},lookupTable:function(){return Mm},namedFromContents:function(){return np},requiredAttr:function(){return qm},requiredContext:function(){return zl},requiredOwned:function(){return Gl},validateAttr:function(){return wo},validateAttrValue:function(){return Bm}});function rE(e){var t=et.ariaRoles[e],r=_e(Zr());return t&&(t.allowedAttrs&&r.push.apply(r,_e(t.allowedAttrs)),t.requiredAttrs&&r.push.apply(r,_e(t.requiredAttrs))),r}var Fm=rE,aE=/^idrefs?$/;function Rm(e,t,r){if(e.hasAttribute){if(e.nodeName.toUpperCase()==="LABEL"&&e.hasAttribute("for")){var a=e.getAttribute("for");t.has(a)?t.get(a).push(e):t.set(a,[e]);}for(var n=0;n<r.length;++n){var i=r[n],o=Pe(e.getAttribute(i)||"");if(o){var s=Ge(Ht(o)),l;try{for(s.s();!(l=s.n()).done;){var u=l.value;t.has(u)?t.get(u).push(e):t.set(u,[e]);}}catch(d){s.e(d);}finally{s.f();}}}}for(var c=0;c<e.childNodes.length;c++)e.childNodes[c].nodeType===1&&Rm(e.childNodes[c],t,r);}function nE(e){var t;e=e.actualNode||e;var r=Mt(e);r=r.documentElement||r;var a=Be.get("idRefsByRoot",function(){return new Map}),n=a.get(r);if(!n){n=new Map,a.set(r,n);var i=Object.keys(et.ariaAttrs).filter(function(o){var s=et.ariaAttrs[o].type;return aE.test(s)});Rm(r,n,i);}return (t=n.get(e.id))!==null&&t!==void 0?t:[]}var Vl=nE;function iE(e,t){var r=e instanceof Ft?e:je(e),a=_r(r),n=Qr(r);return Array.isArray(n.allowedRoles)?n.allowedRoles.includes(t):t===a?false:!!n.allowedRoles}var Im=iE,oE=["doc-backlink","doc-biblioentry","doc-biblioref","doc-cover","doc-endnote","doc-glossref","doc-noteref"],sE={header:"banner",footer:"contentinfo"};function lE(e){var t=[];if(!e)return t;if(e.hasAttr("role")){var r=Ht(e.attr("role").toLowerCase());t=t.concat(r);}return t.filter(function(a){return Sn(a)})}function uE(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:true,r=Je(e),a=r.vNode;if(!Tl(a))return [];var n=a.props.nodeName,i=_r(a)||sE[n],o=lE(a);return o.filter(function(s){return !cE(s,a,t,i)})}function cE(e,t,r,a){return r&&e===a?true:oE.includes(e)&&gr(e)!==a?false:Im(t,e)}var Lm=uE;function dE(e){return Object.keys(et.ariaRoles).filter(function(t){return et.ariaRoles[t].type===e})}var Oa=dE;function fE(e){return Oa(e)}var pE=fE;function mE(){return Be.get("ariaRolesNameFromContent",function(){return Object.keys(et.ariaRoles).filter(function(e){return et.ariaRoles[e].nameFromContent})})}var jl=mE;function hE(){return jl()}var gE=hE,Pm=function(t){return t===null},Ot=function(t){return t!==null},Nr={};Nr.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}},Nr.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"],Nr.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:Ot}}]},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:Ot}}]},"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:Ot}}]},"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:Ot}}]},"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:Ot}}]},"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:Ot}}]},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:Ot}}]},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:Ot}}]},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:Ot}}]},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:Ot}}]},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:Ot}}]},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:Ot}}]},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:Ot}}]},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:Ot}}]},widget:{type:"abstract",unsupported:false},window:{nameFrom:["author"],type:"abstract",unsupported:false}},Nr.implicitHtmlRole=el,Nr.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:Ot}},{nodeName:"input",properties:{type:["color","data","datatime","file","hidden","month","number","password","range","reset","submit","time","week"]}},{nodeName:"link",attributes:{href:Ot}},{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"]}],Nr.elementsAllowedAnyRole=[{nodeName:"a",attributes:{href:Pm}},{nodeName:"img",attributes:{alt:Pm}},{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"]}],Nr.evaluateRoleForElement={A:function(t){var r=t.node,a=t.out;return r.namespaceURI==="http://www.w3.org/2000/svg"?true:r.href.length?a:true},AREA:function(t){var r=t.node;return !r.href},BUTTON:function(t){var r=t.node,a=t.role,n=t.out;return r.getAttribute("type")==="menu"?a==="menuitem":n},IMG:function(t){var r=t.node,a=t.role,n=t.out;switch(r.alt){case null:return n;case "":return a==="presentation"||a==="none";default:return a!=="presentation"&&a!=="none"}},INPUT:function(t){var r=t.node,a=t.role,n=t.out;switch(r.type){case "button":case "image":return n;case "checkbox":return a==="button"&&r.hasAttribute("aria-pressed")?true:n;case "radio":return a==="menuitemradio";case "text":return a==="combobox"||a==="searchbox"||a==="spinbutton";case "tel":return a==="combobox"||a==="spinbutton";case "url":case "search":case "email":return a==="combobox";default:return false}},LI:function(t){var r=t.node,a=t.out,n=m.utils.matchesSelector(r,"ol li, ul li");return n?a:true},MENU:function(t){var r=t.node;return r.getAttribute("type")!=="context"},OPTION:function(t){var r=t.node,a=m.utils.matchesSelector(r,"select > option, datalist > option, optgroup > option");return !a},SELECT:function(t){var r=t.node,a=t.role;return !r.multiple&&r.size<=1&&a==="menu"},SVG:function(t){var r=t.node,a=t.out;return r.parentNode&&r.parentNode.namespaceURI==="http://www.w3.org/2000/svg"?true:a}},Nr.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 Mm=Nr;function vE(e){var t=null,r=Mm.role[e];return r&&r.implicit&&(t=Ir(r.implicit)),t}var bE=vE;function yE(e){return !!Vl(e).length}var yo=yE;function $l(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.popupRoles,a=Ve(e);if(r??(r=Bf["aria-haspopup"].values),!r.includes(a))return false;var n=wE(e);if(Om(n))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=wn(e.actualNode),s=o.querySelectorAll('[aria-owns~="'.concat(i,`"][role~="combobox"]:not(select),
370
- [aria-controls~="`).concat(i,'"][role~="combobox"]:not(select)'));return Array.from(s).some(Om)}var Om=function(t){return t&&Ve(t)==="combobox"};function wE(e){for(;e=e.parent;)if(Ve(e,{noPresentational:true})!==null)return e;return null}function xE(e){return e=je(e),Zi(e)}var Nm=xE;function DE(e){var t=et.ariaRoles[e];return !t||!Array.isArray(t.requiredAttrs)?[]:_e(t.requiredAttrs)}var qm=DE;function _E(e){var t=et.ariaRoles[e];return !t||!Array.isArray(t.requiredContext)?null:_e(t.requiredContext)}var zl=_E;function AE(e){var t=et.ariaRoles[e];return !t||!Array.isArray(t.requiredOwned)?null:_e(t.requiredOwned)}var Gl=AE;function EE(e,t){e=e instanceof Ft?e:je(e);var r,a,n=e.attr(t),i=et.ariaAttrs[t];if(!i||i.allowEmpty&&(!n||n.trim()===""))return true;switch(i.type){case "boolean":return ["true","false"].includes(n.toLowerCase());case "nmtoken":return typeof n=="string"&&i.values.includes(n.toLowerCase());case "nmtokens":return a=Ht(n),a.reduce(function(l,u){return l&&i.values.includes(u)},a.length!==0);case "idref":try{var o=Mt(e.actualNode);return !!(n&&o.getElementById(n))}catch{throw new TypeError("Cannot resolve id references for partial DOM")}case "idrefs":return Dr(e,t).some(function(l){return !!l});case "string":return n.trim()!=="";case "decimal":return r=n.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(n)&&parseInt(n)>=s}}var Bm=EE;function CE(e){var t=et.ariaAttrs[e];return !!t}var wo=CE;function SE(e){var t=Bl(e),r=this,a=[];t.forEach(function(s){var l=s.getAttribute("headers");l&&(a=a.concat(l.split(/\s+/)));var u=s.getAttribute("aria-labelledby");u&&(a=a.concat(u.split(/\s+/)));});var n=t.filter(function(s){return Pe(s.textContent)===""?false:s.nodeName.toUpperCase()==="TH"||["rowheader","columnheader"].indexOf(We(s))!==-1}),i=Mr(e),o=true;return n.forEach(function(s){if(!(s.getAttribute("id")&&a.includes(s.getAttribute("id")))){var l=Yi(s,i),u=false;La(s)&&(u=Hl("down",l,i).find(function(c){return !La(c)&&vo(c,i).includes(s)})),!u&&Pa(s)&&(u=Hl("right",l,i).find(function(c){return !Pa(c)&&vo(c,i).includes(s)})),u||r.relatedNodes(s),o=o&&u;}}),o?true:void 0}var kE=SE,Nn=["cell-header-not-in-table","cell-header-not-th","header-refs-self","empty-hdrs"],Hm=Nn[0],Vm=Nn[1],jm=Nn[2],Wl=Nn[3];function TE(e){for(var t=[],r={},a=0;a<e.rows.length;a++)for(var n=e.rows[a],i=0;i<n.cells.length;i++){var o=n.cells[i];t.push(o);var s=o.getAttribute("id");s&&(r[s]=Ve(o));}var l=me(me(me(me({},jm,new Set),Hm,new Set),Vm,new Set),Wl,new Set);t.forEach(function(g){if(!(!g.hasAttribute("headers")||!pt(g))){var D=g.getAttribute("headers").trim();if(!D){l[Wl].add(g);return}var C=g.getAttribute("id"),R=Ht(D);R.forEach(function(I){C&&I===C?l[jm].add(g):r[I]?["columnheader","rowheader"].includes(r[I])||l[Vm].add(g):l[Hm].add(g);});}});var u=Ge(Nn),c;try{for(u.s();!(c=u.n()).done;){var d=c.value;if(l[d].size>0)return this.relatedNodes(_e(l[d])),d===Wl?void 0:(this.data({messageKey:d}),!1)}}catch(g){u.e(g);}finally{u.f();}return true}function FE(e){var t=[],r=Bl(e),a=Mr(e);return r.forEach(function(n){if(to(n)&&Sm(n)&&!Nm(n)){var i=vo(n,a).some(function(o){return o!==null&&!!to(o)});i||t.push(n);}}),t.length?(this.relatedNodes(t),false):true}var RE=FE;function IE(e,t){var r=e.getAttribute("scope").toLowerCase();return t.values.indexOf(r)!==-1}var LE=IE,PE=ME;function ME(e,t,r){if(r.children!==void 0){var a=r.attr("summary"),n=r.children.find(OE),i=n?Pe(ea(n)):false;return !i||!a?false:Pe(a).toLowerCase()===Pe(i).toLowerCase()}}function OE(e){return e.props.nodeName==="caption"}function NE(e){return Fp(h)?e.nodeName.toUpperCase()==="TH":true}var qE=NE;function BE(e){var t=Mr(e),r=t[0];return t.length<=1||r.length<=1||e.rows.length<=1?true:r.reduce(function(a,n,i){return a||n!==r[i+1]&&r[i+1]!==void 0},false)}var HE=BE;function VE(e,t,r){if(r.children){var a=r.children.find(function(i){var o=i.props;return o.nodeName==="title"});if(!a)return this.data({messageKey:"noTitle"}),false;try{var n=ea(a,{includeHidden:!0}).trim();if(n==="")return this.data({messageKey:"emptyTitle"}),!1}catch{return}return true}}var jE=VE,$m={};ur($m,{getAriaRolesByType:function(){return Oa},getAriaRolesSupportingNameFromContent:function(){return jl},getElementSpec:function(){return Qr},getElementsByContentType:function(){return Js},getGlobalAriaAttrs:function(){return Zr},implicitHtmlRoles:function(){return el}});function $E(e,t,r){var a=We(r);if(["presentation","none"].includes(a)&&["iframe","frame"].includes(r.props.nodeName)&&r.hasAttr("title"))return this.data({messageKey:"iframe",nodeName:r.props.nodeName}),false;var n=Ve(r);if(["presentation","none"].includes(n))return this.data({role:n}),true;if(!["presentation","none"].includes(a))return false;var i=Zr().some(function(l){return r.hasAttr(l)}),o=Dt(r),s;return i&&!o?s="globalAria":!i&&o?s="focusable":s="both",this.data({messageKey:s,role:n}),false}function zE(e,t,r){var a=r.props.nodeName,n=(r.attr("type")||"").toLowerCase(),i=r.attr("value");return i&&this.data({messageKey:"has-label"}),a==="input"&&["submit","reset"].includes(n)?i===null:false}var GE=zE;function WE(e){return Yt(e)}var UE=WE;function XE(e,t){var r=t.cssProperty,a=t.absoluteValues,n=t.minValue,i=t.maxValue,o=t.normalValue,s=o===void 0?0:o,l=t.noImportant,u=t.multiLineOnly;if(!l&&e.style.getPropertyPriority(r)!=="important"||u&&!Ip(e))return true;var c={};typeof n=="number"&&(c.minValue=n),typeof i=="number"&&(c.maxValue=i);var d=e.style.getPropertyValue(r);if(["inherit","unset","revert","revert-layer"].includes(d))return this.data(Te({value:d},c)),true;var g=YE(e,{absoluteValues:a,cssProperty:r,normalValue:s});if(this.data(Te({value:g},c)),typeof g=="number")return (typeof n!="number"||g>=n)&&(typeof i!="number"||g<=i)}function YE(e,t){var r=t.cssProperty,a=t.absoluteValues,n=t.normalValue,i=p.getComputedStyle(e),o=i.getPropertyValue(r);if(o==="normal")return n;var s=parseFloat(o);if(a)return s;var l=parseFloat(i.getPropertyValue("font-size")),u=Math.round(s/l*100)/100;return isNaN(u)?o:u}function KE(e,t,r){var a=r.props.nodeName;return ["img","input","area"].includes(a)?r.hasAttr("alt"):false}var JE=KE;function ZE(){}var QE=ZE;function eC(){var e=h.title;return !!Pe(e)}var tC=eC;function rC(e,t){var r=t.cssProperties.filter(function(a){if(e.style.getPropertyPriority(a)==="important")return a});return r.length>0?(this.data(r),false):true}var aC=rC;function nC(e,t,r){try{return !!Pe(En(r))}catch{return}}var iC=nC;function oC(e,t,r){return !!Pe(Cn(r))}var sC=oC;function lC(e){var t=e.getAttribute("id").trim();if(!t)return true;var r=Mt(e),a=Array.from(r.querySelectorAll('[id="'.concat(vt(t),'"]'))).filter(function(n){return n!==e});return a.length&&this.relatedNodes(a),this.data(t),a.length===0}var uC=lC;function cC(e){var t=[];return e.filter(function(r){return t.indexOf(r.data)===-1?(t.push(r.data),true):false})}var dC=cC;function fC(e,t,r){var a=Pe(r.attr("title")).toLowerCase();return this.data(a),true}var pC=fC;function mC(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 hC=mC;function gC(e){var t=Ws(e,"href");return t?pt(t)||void 0:false}var vC=gC,bC=["alert","log","status"];function yC(e,t,r){this.data({isIframe:["iframe","frame"].includes(r.props.nodeName)});var a=Be.get("regionlessNodes",function(){return wC(t)});return !a.includes(r)}function wC(e){var t=zm(m._tree[0],e).map(function(r){for(;r.parent&&!r.parent._hasRegionDescendant&&r.parent.actualNode!==h.body;)r=r.parent;return r}).filter(function(r,a,n){return n.indexOf(r)===a});return t}function zm(e,t){var r=e.actualNode;if(Ve(e)==="button"||DC(e,t)||["iframe","frame"].includes(e.props.nodeName)||gl(e.actualNode)&&Ws(e.actualNode,"href")||!pt(r)){for(var a=e;a;)a._hasRegionDescendant=true,a=a.parent;return ["iframe","frame"].includes(e.props.nodeName)?[e]:[]}else return r!==h.body&&to(r,true)&&!xC(e)?[e]:e.children.filter(function(n){var i=n.actualNode;return i.nodeType===1}).map(function(n){return zm(n,t)}).reduce(function(n,i){return n.concat(i)},[])}function xC(e){return ["none","presentation"].includes(Ve(e))&&!eo(e)}function DC(e,t){var r=e.actualNode,a=Ve(e),n=(r.getAttribute("aria-live")||"").toLowerCase().trim(),i=Oa("landmark");return !!(["assertive","polite"].includes(n)||bC.includes(a)||i.includes(a)||t.regionMatcher&&kn(e,t.regionMatcher))}function _C(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 a=r.node.ancestry.slice(0,-1),n=Ge(t),i;try{for(n.s();!(i=n.n()).done;){var o=i.value;if(Rl(a,o.node.ancestry)){r.result=o.result;break}}}catch(s){n.e(s);}finally{n.f();}}}),t.forEach(function(r){r.result||(r.result=true);}),e}var AC=_C;function EC(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 CC(e){for(var t=e,r=e.textContent.trim(),a=r;a===r&&t!==void 0;){var n=-1;if(e=t,e.children.length===0)return e;do n++,a=e.children[n].textContent.trim();while(a===""&&n+1<e.children.length);t=e.children[n];}return e}function Ul(e){var t=p.getComputedStyle(CC(e));return {fontWeight:EC(t.getPropertyValue("font-weight")),fontSize:parseInt(t.getPropertyValue("font-size")),isItalic:t.getPropertyValue("font-style")==="italic"}}function Gm(e,t,r){return r.reduce(function(a,n){return a||(!n.size||e.fontSize/n.size>t.fontSize)&&(!n.weight||e.fontWeight-n.weight>t.fontWeight)&&(!n.italic||e.isItalic&&!t.isItalic)},false)}function SC(e,t,r){var a=Array.from(e.parentNode.children),n=a.indexOf(e);t=t||{};var i=t.margins||[],o=a.slice(n+1).find(function(I){return I.nodeName.toUpperCase()==="P"}),s=a.slice(0,n).reverse().find(function(I){return I.nodeName.toUpperCase()==="P"}),l=Ul(e),u=o?Ul(o):null,c=s?Ul(s):null,d=t.passLength,g=t.failLength,D=e.textContent.trim().length,C=o?.textContent.trim().length;if(D>C*d||!u||!Gm(l,u,i))return true;var R=Fa(r,"blockquote");if(!(R&&R.nodeName.toUpperCase()==="BLOCKQUOTE")&&!(c&&!Gm(l,c,i))&&!(D>C*g))return false}var kC=SC,TC=/[;,\s]/,FC=/^[0-9.]+$/;function RC(e,t,r){var a=t||{},n=a.minDelay,i=a.maxDelay,o=(r.attr("content")||"").trim(),s=o.split(TC),l=le(s,1),u=l[0];if(!u.match(FC))return true;var c=parseFloat(u);return this.data({redirectDelay:c}),typeof n=="number"&&c<=t.minDelay||typeof i=="number"&&c>t.maxDelay}function IC(e,t,r){var a=Zt(r,"a[href]");return a.some(function(n){return /^#[^/!]/.test(n.attr("href"))})}var LC=IC,Wm={};ur(Wm,{aria:function(){return Tm},color:function(){return Um},dom:function(){return Ps},forms:function(){return i1},matches:function(){return kn},math:function(){return yf},standards:function(){return $m},table:function(){return Em},text:function(){return An},utils:function(){return Go}});var Um={};ur(Um,{Color:function(){return mt},centerPointOfRect:function(){return MC},elementHasImage:function(){return ro},elementIsDistinct:function(){return Ym},filteredRectStack:function(){return BC},flattenColors:function(){return kr},flattenShadowColors:function(){return Yl},getBackgroundColor:function(){return Bn},getBackgroundStack:function(){return Kl},getContrast:function(){return Na},getForegroundColor:function(){return _o},getOwnBackgroundColor:function(){return ba},getRectStack:function(){return Km},getStackingContext:function(){return Zl},getStrokeColorsFromShadows:function(){return Jl},getTextShadowColors:function(){return Do},hasValidContrastRatio:function(){return sS},incompleteData:function(){return ct},parseTextShadows:function(){return Qm},stackingContextToColor:function(){return qn}});function PC(e){if(!(e.left>p.innerWidth)&&!(e.top>p.innerHeight)){var t=Math.min(Math.ceil(e.left+e.width/2),p.innerWidth-1),r=Math.min(Math.ceil(e.top+e.height/2),p.innerHeight-1);return {x:t,y:r}}}var MC=PC;function Xm(e){return e.getPropertyValue("font-family").split(/[,;]/g).map(function(t){return t.trim().toLowerCase()})}function OC(e,t){var r=p.getComputedStyle(e);if(r.getPropertyValue("background-image")!=="none")return true;var a=["border-bottom","border-top","outline"].reduce(function(s,l){var u=new mt;return u.parseString(r.getPropertyValue(l+"-color")),s||r.getPropertyValue(l+"-style")!=="none"&&parseFloat(r.getPropertyValue(l+"-width"))>0&&u.alpha!==0},false);if(a)return true;var n=p.getComputedStyle(t);if(Xm(r)[0]!==Xm(n)[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)!==n.getPropertyValue(l)},false),o=r.getPropertyValue("text-decoration");return o.split(" ").length<3&&(i=i||o!==n.getPropertyValue("text-decoration")),i}var Ym=OC;function NC(e){var t=Of(e),r=cl(e);return !r||r.length<=1?[t]:r.some(function(a){return a===void 0})?null:(r.splice(0,0,t),r)}var Km=NC;function qC(e){var t=Km(e);if(t&&t.length===1)return t[0];if(t&&t.length>1){var r=t.shift(),a;return t.forEach(function(n,i){if(i!==0){var o=t[i-1],s=t[i];a=o.every(function(l,u){return l===s[u]})||r.includes(e);}}),a?t[0]:(ct.set("bgColor","elmPartiallyObscuring"),null)}return ct.set("bgColor","outsideViewport"),null}var BC=qC,HC=["hue","saturation","color","luminosity"],Jm={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 a=t<=.25?((16*t-12)*t+4)*t:Math.sqrt(t);return t+(2*r-1)*(a-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 kr(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"normal",a=jC(t,e,r),n=Xl(e.red,e.alpha,t.red,t.alpha,a.r*255),i=Xl(e.green,e.alpha,t.green,t.alpha,a.g*255),o=Xl(e.blue,e.alpha,t.blue,t.alpha,a.b*255),s=VC(e.alpha+t.alpha*(1-e.alpha),0,1);if(s===0)return new mt(n,i,o,s);var l=Math.round(n/s),u=Math.round(i/s),c=Math.round(o/s);return new mt(l,u,c,s)}function Xl(e,t,r,a,n){return t*(1-a)*e+t*a*n+(1-t)*a*r}function VC(e,t,r){return Math.min(Math.max(t,e),r)}function jC(e,t,r){if(HC.includes(r))return Jm[r](e,t);var a=new mt;return ["r","g","b"].forEach(function(n){a[n]=Jm[r](e[n],t[n]);}),a}function Yl(e,t){var r=e.alpha,a=(1-r)*t.red+r*e.red,n=(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 mt(a,n,i,o)}function Kl(e){for(var t=cl(e).map(function(n){return n=Lp(n,e),n=$C(n),n}),r=0;r<t.length;r++){var a=t[r];if(a[0]!==e)return ct.set("bgColor","bgOverlap"),null;if(r!==0&&!zC(a,t[0]))return ct.set("bgColor","elmPartiallyObscuring"),null}return t[0]||null}function $C(e){var t=e.indexOf(h.body),r=e,a=ba(p.getComputedStyle(h.documentElement));if(t>1&&a.alpha===0&&!ro(h.documentElement)){t>1&&(r.splice(t,1),r.push(h.body));var n=r.indexOf(h.documentElement);n>0&&(r.splice(n,1),r.push(h.documentElement));}return r}function zC(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 GC=.54,xo=.5,WC=1.5,Zm=["top","right","bottom","left"];function Jl(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.ignoreEdgeCount,a=r===void 0?false:r,n=UC(e),i=Object.entries(n).map(function(o){var s=le(o,2),l=s[0],u=s[1],c=Zm.filter(function(d){return u[d].length!==0}).length;return {colorStr:l,sides:u,edgeCount:c}});return !a&&i.some(function(o){var s=o.edgeCount;return s>1&&s<4})?null:i.map(XC).filter(function(o){return o!==null})}function UC(e){var t={},r=Ge(e),a;try{for(r.s();!(a=r.n()).done;){var n,i=a.value,o=i.colorStr,s=i.pixels;(n=t[o])!==null&&n!==void 0||(t[o]={top:[],right:[],bottom:[],left:[]});var l=t[o],u=le(s,2),c=u[0],d=u[1];c>xo?l.right.push(c):-c>xo&&l.left.push(-c),d>xo?l.bottom.push(d):-d>xo&&l.top.push(-d);}}catch(g){r.e(g);}finally{r.f();}return t}function XC(e){var t=e.colorStr,r=e.sides,a=e.edgeCount;if(a!==4)return null;var n=new mt;n.parseString(t);var i=0,o=true;return Zm.forEach(function(s){i+=r[s].length/4,o&&(o=r[s].every(function(l){return l>WC}));}),o||(n.alpha=1-Math.pow(GC,i)),n}function Qm(e){var t={pixels:[]},r=e.trim(),a=[t];if(!r)return [];for(;r;){var n=r.match(/^[a-z]+(\([^)]+\))?/i)||r.match(/^#[0-9a-f]+/i),i=r.match(/^([0-9.-]+)px/i)||r.match(/^(0)/);if(n)Qe(!t.colorStr,"Multiple colors identified in text-shadow: ".concat(e)),r=r.replace(n[0],"").trim(),t.colorStr=n[0];else if(i){Qe(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]===",")Qe(t.pixels.length>=2,"Missing pixel value in text-shadow: ".concat(e)),t={pixels:[]},a.push(t),r=r.substr(1).trim();else throw new Error("Unable to process text-shadows: ".concat(r))}return a.forEach(function(s){var l=s.pixels;l.length===2&&l.push(0);}),a}function Do(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.minRatio,a=t.maxRatio,n=t.ignoreEdgeCount,i=[],o=p.getComputedStyle(e),s=o.getPropertyValue("text-shadow");if(s==="none")return i;var l=o.getPropertyValue("font-size"),u=parseInt(l);Qe(isNaN(u)===false,"Unable to determine font-size value ".concat(l));var c=[],d=Qm(s),g=Ge(d),D;try{for(g.s();!(D=g.n()).done;){var C=D.value,R=C.colorStr||o.getPropertyValue("color"),I=le(C.pixels,3),P=I[0],M=I[1],q=I[2],B=q===void 0?0:q;if(!(a&&B>=u*a)){if(r&&B<u*r){c.push({colorStr:R,pixels:C.pixels});continue}if(c.length>0){var V=Jl(c,{ignoreEdgeCount:n});if(V===null)return null;i.push.apply(i,_e(V)),c.splice(0,c.length);}var X=YC({colorStr:R,offsetX:P,offsetY:M,blurRadius:B,fontSize:u});i.push(X);}}}catch(ne){g.e(ne);}finally{g.f();}if(c.length>0){var Q=Jl(c,{ignoreEdgeCount:n});if(Q===null)return null;i.push.apply(i,_e(Q));}return i}function YC(e){var t=e.colorStr,r=e.offsetX,a=e.offsetY,n=e.blurRadius,i=e.fontSize;if(r>n||a>n)return new mt(0,0,0,0);var o=new mt;return o.parseString(t),o.alpha*=KC(n,i),o}function KC(e,t){if(e===0)return 1;var r=e/t;return .185/(r+.4)}function Zl(e,t){var r=je(e);if(r._stackingContext)return r._stackingContext;var a=[],n=new Map;return t=t??Kl(e),t.forEach(function(i){var o,s=je(i),l=QC(s),u=s._stackingOrder.filter(function(g){var D=g.vNode;return !!D});u.forEach(function(g,D){var C,R=g.vNode,I=(C=u[D-1])===null||C===void 0?void 0:C.vNode,P=t1(n,R,I);D===0&&!n.get(R)&&a.unshift(P),n.set(R,P);});var c=(o=u[u.length-1])===null||o===void 0?void 0:o.vNode,d=t1(n,s,c);u.length||a.unshift(d),d.bgColor=l;}),r._stackingContext=a,a}function qn(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 a=e.descendants.reduce(JC,e1()),n=kr(a,e.bgColor,e.descendants[0].blendMode);return n.alpha*=e.opacity,{color:n,blendMode:e.blendMode}}function JC(e,t){var r;e instanceof mt?r=e:r=qn(e).color;var a=qn(t).color;return kr(a,r,t.blendMode)}function e1(e,t){var r;return {vNode:e,ancestor:t,opacity:parseFloat((r=e?.getComputedStylePropertyValue("opacity"))!==null&&r!==void 0?r:1),bgColor:new mt(0,0,0,0),blendMode:ZC(e?.getComputedStylePropertyValue("mix-blend-mode")),descendants:[]}}function ZC(e){return e||void 0}function t1(e,t,r){var a,n=e.get(r),i=(a=e.get(t))!==null&&a!==void 0?a:e1(t,n);return n&&r!==t&&!n.descendants.includes(i)&&n.descendants.unshift(i),i}function QC(e){var t=new mt;return t.parseString(e.getComputedStylePropertyValue("background-color")),t}function Bn(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:.1,a=je(e),n=a._cache.getBackgroundColor;if(n)return t.push.apply(t,_e(n.bgElms)),ct.set("bgColor",n.incompleteData),n.bgColor;var i=eS(e,t,r);return a._cache.getBackgroundColor={bgColor:i,bgElms:t,incompleteData:ct.get("bgColor")},i}function eS(e,t,r){var a,n,i=Kl(e);if(!i)return null;var o=ul(e),s=(a=Do(e,{minRatio:r,ignoreEdgeCount:true}))!==null&&a!==void 0?a:[];s.length&&(s=[{color:s.reduce(Yl)}]);for(var l=0;l<i.length;l++){var u=i[l],c=p.getComputedStyle(u);if(ro(u,c))return t.push(u),null;var d=void 0;try{if(d=ba(c),d.alpha===0)continue}catch(R){if(R&&ct.get("colorParse"))return null;throw R}if(c.getPropertyValue("display")!=="inline"&&!r1(u,o))return t.push(u),ct.set("bgColor","elmPartiallyObscured"),null;if(t.push(u),d.alpha===1)break}var g=Zl(e,i);s=g.map(qn).concat(s);var D=tS(e,i.includes(h.body));if((n=s).unshift.apply(n,_e(D)),s.length===0)return new mt(255,255,255,1);var C=s.reduce(function(R,I){return kr(I.color,R.color instanceof mt?R.color:R,I.blendMode)});return kr(C.color instanceof mt?C.color:C,new mt(255,255,255,1))}function r1(e,t){t=Array.isArray(t)?t:[t];var r=e.getBoundingClientRect(),a=r.right,n=r.bottom,i=p.getComputedStyle(e),o=i.getPropertyValue("overflow"),s=parseInt(i.getPropertyValue("padding-left"),10),l=parseInt(i.getPropertyValue("padding-right"),10),u=parseInt(i.getPropertyValue("padding-top"),10),c=parseInt(i.getPropertyValue("padding-bottom"),10);return (["scroll","auto"].includes(o)||e instanceof p.HTMLHtmlElement)&&(a=r.left+e.scrollWidth+s+l,n=r.top+e.scrollHeight+u+c),t.every(function(d){return d.top>=r.top&&d.bottom<=n&&d.left>=r.left&&d.right<=a})}function a1(e){return e||void 0}function tS(e,t){var r=[];if(!t){var a=h.documentElement,n=h.body,i=p.getComputedStyle(a),o=p.getComputedStyle(n),s=ba(i),l=ba(o),u=l.alpha!==0&&r1(n,e.getBoundingClientRect());(l.alpha!==0&&s.alpha===0||u&&l.alpha!==1)&&r.unshift({color:l,blendMode:a1(o.getPropertyValue("mix-blend-mode"))}),s.alpha!==0&&(!u||u&&l.alpha!==1)&&r.unshift({color:s,blendMode:a1(i.getPropertyValue("mix-blend-mode"))});}return r}function rS(e,t){if(!t||!e)return null;t.alpha<1&&(t=kr(t,e));var r=e.getRelativeLuminance(),a=t.getRelativeLuminance();return (Math.max(a,r)+.05)/(Math.min(a,r)+.05)}var Na=rS;function _o(e,t,r){var a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},n=p.getComputedStyle(e),i=[function(){return nS(n,a)},function(){return aS(n)},function(){return Do(e,{minRatio:0})}],o=[];try{for(var s=0,l=i;s<l.length;s++){var u=l[s],c=u();if(c&&(o=o.concat(c),c.alpha===1))break}}catch(R){if(R&&ct.get("colorParse"))return null;throw R}var d=o.reduce(function(R,I){return kr(R,I)});if(r??(r=Bn(e,[])),r===null){var g=ct.get("bgColor");return ct.set("fgColor",g),null}var D=Zl(e),C=n1(D,e);return kr(iS(d,C,D),new mt(255,255,255,1))}function aS(e){return new mt().parseString(e.getPropertyValue("-webkit-text-fill-color")||e.getPropertyValue("color"))}function nS(e,t){var r=t.textStrokeEmMin,a=r===void 0?0:r,n=parseFloat(e.getPropertyValue("-webkit-text-stroke-width"));if(n===0)return null;var i=e.getPropertyValue("font-size"),o=n/parseFloat(i);if(isNaN(o)||o<a)return null;var s=e.getPropertyValue("-webkit-text-stroke-color");return new mt().parseString(s)}function iS(e,t,r){for(;t;){var a;if(t.opacity===1&&t.ancestor){t=t.ancestor;continue}e.alpha*=t.opacity;var n=((a=t.ancestor)===null||a===void 0?void 0:a.descendants)||r;t.opacity!==1&&(n=n.slice(0,n.indexOf(t)));var i=n.map(qn);if(!i.length){t=t.ancestor;continue}var o=i.reduce(function(s,l){return kr(l.color,s.color instanceof mt?s.color:s)},{color:new mt(0,0,0,0),blendMode:"normal"});e=kr(e,o),t=t.ancestor;}return e}function n1(e,t){var r=Ge(e),a;try{for(r.s();!(a=r.n()).done;){var n,i=a.value;if(((n=i.vNode)===null||n===void 0?void 0:n.actualNode)===t)return i;var o=n1(i.descendants,t);if(o)return o}}catch(s){r.e(s);}finally{r.f();}}function oS(e,t,r,a){var n=Na(e,t),i=a&&Math.ceil(r*72)/96<14||!a&&Math.ceil(r*72)/96<18,o=i?4.5:3;return {isValid:n>o,contrastRatio:n,expectedContrastRatio:o}}var sS=oS,i1={};ur(i1,{isAriaCombobox:function(){return dp},isAriaListbox:function(){return cp},isAriaRange:function(){return fp},isAriaTextbox:function(){return up},isDisabled:function(){return Hn},isNativeSelect:function(){return lp},isNativeTextbox:function(){return sp}});var lS=["fieldset","button","select","input","textarea"];function o1(e){var t=e._isDisabled;if(typeof t=="boolean")return t;var r=e.props.nodeName,a=e.attr("aria-disabled");return lS.includes(r)&&e.hasAttr("disabled")?t=true:a?t=a.toLowerCase()==="true":e.parent?t=o1(e.parent):t=false,e._isDisabled=t,t}var Hn=o1;function uS(e,t,r){var a=An.accessibleTextVirtual(r),n=An.sanitize(An.removeUnicode(a,{emoji:true,nonBmp:true,punctuations:true})).toLowerCase();if(n){var i={name:n,urlProps:Ps.urlPropsFromAttribute(e,"href")};return this.data(i),this.relatedNodes([e]),true}}var cS=uS;function s1(e,t){if(!e||!t)return false;var r=Object.getOwnPropertyNames(e),a=Object.getOwnPropertyNames(t);if(r.length!==a.length)return false;var n=r.every(function(i){var o=e[i],s=t[i];return ae(o)!==ae(s)?false:ae(o)==="object"||ae(s)==="object"?s1(o,s):o===s});return n}function dS(e){if(e.length<2)return e;for(var t=e.filter(function(o){var s=o.result;return s!==void 0}),r=[],a={},n=function(s){var l,u=t[s],c=u.data,d=c.name,g=c.urlProps;if(a[d])return 1;var D=t.filter(function(R,I){var P=R.data;return P.name===d&&I!==s}),C=D.every(function(R){var I=R.data;return s1(I.urlProps,g)});D.length&&!C&&(u.result=void 0),u.relatedNodes=[],(l=u.relatedNodes).push.apply(l,_e(D.map(function(R){return R.relatedNodes[0]}))),a[d]=D,r.push(u);},i=0;i<t.length;i++)n(i);return r}var fS=dS;function pS(e){var t=Ve(e),r=t&&t.includes("heading"),a=e.attr("aria-level"),n=parseInt(a,10),i=e.props.nodeName.match(/h(\d)/)||[],o=le(i,2),s=o[1];return r?s&&!a?parseInt(s,10):isNaN(n)||n<1?s?parseInt(s,10):2:n||-1:-1}function mS(){var e=Be.get("headingOrder");if(e)return true;var t="h1, h2, h3, h4, h5, h6, [role=heading], iframe, frame",r=Sr(m._tree[0],t,pt);return e=r.map(function(a){return {ancestry:[Fi(a.actualNode)],level:pS(a)}}),this.data({headingOrder:e}),Be.set("headingOrder",r),true}var hS=mS;function gS(e){var t=bS(e);return e.forEach(function(r){r.result=vS(r,t);}),e}function vS(e,t){var r,a,n,i,o=l1(t,e.node.ancestry),s=(r=(a=t[o])===null||a===void 0?void 0:a.level)!==null&&r!==void 0?r:-1,l=(n=(i=t[o-1])===null||i===void 0?void 0:i.level)!==null&&n!==void 0?n:-1;if(o===0)return true;if(s!==-1)return s-l<=1}function bS(e){e=_e(e),e.sort(function(r,a){var n=r.node,i=a.node;return n.ancestry.length-i.ancestry.length});var t=e.reduce(yS,[]);return t.filter(function(r){var a=r.level;return a!==-1})}function yS(e,t){var r,a=(r=t.data)===null||r===void 0?void 0:r.headingOrder,n=u1(t.node.ancestry,1);if(!a)return e;var i=a.map(function(s){return xS(s,n)}),o=wS(e,n);return o===-1?e.push.apply(e,_e(i)):e.splice.apply(e,[o,0].concat(_e(i))),e}function wS(e,t){for(;t.length;){var r=l1(e,t);if(r!==-1)return r;t=u1(t,1);}return -1}function l1(e,t){return e.findIndex(function(r){return Rl(r.ancestry,t)})}function xS(e,t){var r=t.concat(e.ancestry);return Te({},e,{ancestry:r})}function u1(e,t){return e.slice(0,e.length-t)}function DS(e,t,r){var a=t?.minSize||24,n=r.boundingClientRect;if(Pr(a*10,n))return this.data({messageKey:"large",minSize:a}),true;var i=Pr.bind(null,a),o=Wi(r),s=_S(r,o),l=AS(r,o),u=l.fullyObscuringElms,c=l.partialObscuringElms;if(s.length&&(u.length||!i(n))){this.data({minSize:a,messageKey:"contentOverflow"}),this.relatedNodes(Vn(s));return}if(u.length)return this.relatedNodes(Vn(u)),this.data({messageKey:"obscured"}),true;var d=sr(r)?false:void 0;if(!i(n))return this.data(Te({minSize:a},Ao(n))),d;var g=SS(c);if(!g.length)return this.data(Te({minSize:a},Ao(n))),true;var D=ES(r,g,a);if(!D){this.data({minSize:a,messageKey:"tooManyRects"});return}if(!i(D)){if(s.length){this.data({minSize:a,messageKey:"contentOverflow"}),this.relatedNodes(Vn(s));return}var C=g.every(sr),R="partiallyObscured".concat(C?"":"NonTabbable");return this.data(Te({messageKey:R,minSize:a},Ao(D))),this.relatedNodes(Vn(g)),C?d:void 0}return this.data(Te({minSize:a},Ao(D||n))),this.relatedNodes(Vn(g)),true}function _S(e,t){return t.filter(function(r){return !c1(r,e)&&d1(e,r)})}function AS(e,t){var r=[],a=[],n=Ge(t),i;try{for(n.s();!(i=n.n()).done;){var o=i.value;!d1(e,o)&&Hs(e,o)&&kS(o)!=="none"&&(c1(e,o)?r.push(o):a.push(o));}}catch(s){n.e(s);}finally{n.f();}return {fullyObscuringElms:r,partialObscuringElms:a}}function ES(e,t,r){var a=e.boundingClientRect,n=t.map(function(o){var s=o.getComputedStylePropertyValue("display");return s==="inline"?o.clientRects:o.boundingClientRect}).flat(1/0),i;try{i=Vs(a,n);}catch{return null}return CS(i,r)}function CS(e,t){return e.reduce(function(r,a){var n=Pr(t,r),i=Pr(t,a);if(n!==i)return n?r:a;var o=r.width*r.height,s=a.width*a.height;return o>s?r:a})}function SS(e){return e.filter(function(t){return gr(t)==="widget"&&Dt(t)})}function c1(e,t){var r=e.boundingClientRect,a=t.boundingClientRect;return r.top>=a.top&&r.left>=a.left&&r.bottom<=a.bottom&&r.right<=a.right}function kS(e){return e.getComputedStylePropertyValue("pointer-events")}function Ao(e){return {width:Math.round(e.width*10)/10,height:Math.round(e.height*10)/10}}function d1(e,t){return Lr(e,t)&&!sr(t)}function Vn(e){return e.map(function(t){var r=t.actualNode;return r})}var TS=.05;function FS(e,t,r){var a=t?.minOffset||24;if(Pr(a*10,r.boundingClientRect))return this.data({messageKey:"large",minOffset:a}),true;var n=[],i=a,o=Ge(Wi(r,a)),s;try{for(o.s();!(s=o.n()).done;){var l=s.value;if(!(gr(l)!=="widget"||!Dt(l))){var u=null;try{u=xf(r,l,a/2);}catch(c){if(c.message.startsWith("splitRects")){this.data({messageKey:"tooManyRects",closestOffset:0,minOffset:a});return}throw c}u!==null&&(u=RS(u)*2,!(u+TS>=a)&&(i=Math.min(i,u),n.push(l)));}}}catch(c){o.e(c);}finally{o.f();}if(n.length===0)return this.data({closestOffset:i,minOffset:a}),true;if(this.relatedNodes(n.map(function(c){var d=c.actualNode;return d})),!n.some(sr)){this.data({messageKey:"nonTabbableNeighbor",closestOffset:i,minOffset:a});return}return this.data({closestOffset:i,minOffset:a}),sr(r)?false:void 0}function RS(e){return Math.round(e*10)/10}function IS(e,t,r){var a=t||{},n=a.scaleMinimum,i=n===void 0?2:n,o=a.lowerBound,s=o===void 0?false:o,l=r.attr("content")||"";if(!l)return true;var u=l.split(/[;,]/).reduce(function(d,g){var D=g.trim();if(!D)return d;var C=D.split("="),R=le(C,2),I=R[0],P=R[1];if(!I||!P)return d;var M=I.toLowerCase().trim(),q=P.toLowerCase().trim();return M==="maximum-scale"&&q==="yes"&&(q=1),M==="maximum-scale"&&parseFloat(q)<0||(d[M]=q),d},{});if(s&&u["maximum-scale"]&&parseFloat(u["maximum-scale"])<s)return true;if(!s&&u["user-scalable"]==="no")return this.data("user-scalable=no"),false;var c=parseFloat(u["user-scalable"]);return !s&&u["user-scalable"]&&(c||c===0)&&c>-1&&c<1?(this.data("user-scalable"),false):u["maximum-scale"]&&parseFloat(u["maximum-scale"])<i?(this.data("maximum-scale"),false):true}var LS=IS;function PS(e,t,r,a){var n=a||{},i=n.cssom,o=i===void 0?void 0:i,s=t||{},l=s.degreeThreshold,u=l===void 0?0:l;if(!o||!o.length)return;for(var c=false,d=[],g=I(o),D=function(){var ue=R[C],pe=g[ue],ge=pe.root,Se=pe.rules,Oe=Se.filter(P);if(!Oe.length)return 1;Oe.forEach(function(xe){var Re=xe.cssRules;Array.from(Re).forEach(function(de){var Ee=M(de);if(Ee&&de.selectorText.toUpperCase()!=="HTML"){var G=Array.from(ge.querySelectorAll(de.selectorText))||[];d=d.concat(G);}c=c||Ee;});});},C=0,R=Object.keys(g);C<R.length;C++)D();if(!c)return true;return d.length&&this.relatedNodes(d),false;function I(ee){return ee.reduce(function(ue,pe){var ge=pe.sheet,Se=pe.root,Oe=pe.shadowId,xe=Oe||"topDocument";if(ue[xe]||(ue[xe]={root:Se,rules:[]}),!ge||!ge.cssRules)return ue;var Re=Array.from(ge.cssRules);return ue[xe].rules=ue[xe].rules.concat(Re),ue},{})}function P(ee){var ue=ee.type,pe=ee.cssText;return ue!==4?false:/orientation:\s*landscape/i.test(pe)||/orientation:\s*portrait/i.test(pe)}function M(ee){var ue=ee.selectorText,pe=ee.style;if(!ue||pe.length<=0)return false;var ge=pe.transform||pe.webkitTransform||pe.msTransform||false;if(!ge&&!pe.rotate)return false;var Se=q(ge),Oe=B("rotate",pe.rotate),xe=Se+Oe;return !xe||(xe=Math.abs(xe),Math.abs(xe-180)%180<=u)?false:Math.abs(xe-90)%90<=u}function q(ee){if(!ee)return 0;var ue=ee.match(/(rotate|rotateZ|rotate3d|matrix|matrix3d)\(([^)]+)\)(?!.*(rotate|rotateZ|rotate3d|matrix|matrix3d))/);if(!ue)return 0;var pe=le(ue,3),ge=pe[1],Se=pe[2];return B(ge,Se)}function B(ee,ue){switch(ee){case "rotate":case "rotateZ":return V(ue);case "rotate3d":var pe=ue.split(",").map(function(xe){return xe.trim()}),ge=le(pe,4),Se=ge[2],Oe=ge[3];return parseInt(Se)===0?void 0:V(Oe);case "matrix":case "matrix3d":return X(ue);default:return 0}}function V(ee){var ue=ee.match(/(deg|grad|rad|turn)/)||[],pe=le(ue,1),ge=pe[0];if(!ge)return 0;var Se=parseFloat(ee.replace(ge,""));switch(ge){case "rad":return Q(Se);case "grad":return ne(Se);case "turn":return he(Se);default:return parseInt(Se)}}function X(ee){var ue=ee.split(",");if(ue.length<=6){var pe=le(ue,2),ge=pe[0],Se=pe[1],Oe=Math.atan2(parseFloat(Se),parseFloat(ge));return Q(Oe)}var xe=parseFloat(ue[8]),Re=Math.asin(xe),de=Math.cos(Re),Ee=Math.acos(parseFloat(ue[0])/de);return Q(Ee)}function Q(ee){return Math.round(ee*(180/Math.PI))}function ne(ee){return ee=ee%400,ee<0&&(ee+=400),Math.round(ee/400*360)}function he(ee){return Math.round(360/(1/ee))}}var MS=PS;function OS(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 a=t.allowedDuration,n=a===void 0?3:a,i=o(e);if(i<=n)return true;if(!r)return false;return true;function o(u){if(!u.currentSrc)return 0;var c=s(u.currentSrc);return c?c.length===1?Math.abs(u.duration-c[0]):Math.abs(c[1]-c[0]):Math.abs(u.duration-(u.currentTime||0))}function s(u){var c=u.match(/#t=(.*)/);if(c){var d=le(c,2),g=d[1],D=g.split(",");return D.map(function(C){return /:/.test(C)?l(C):parseFloat(C)})}}function l(u){for(var c=u.split(":"),d=0,g=1;c.length>0;)d+=g*parseInt(c.pop(),10),g*=60;return parseFloat(d)}}var NS=OS;function qS(e,t){return t.isViolation?false:void 0}var BS=qS,f1=" > ";function HS(e){var t={};return e.filter(function(r){var a=r.node.ancestry[r.node.ancestry.length-1]!=="html";if(a){var n=r.node.ancestry.flat(1/0).join(f1);return t[n]=r,true}var i=r.node.ancestry.slice(0,r.node.ancestry.length-1).flat(1/0).join(f1);return t[i]&&(t[i].result=true),false})}var VS=HS;function jS(e,t,r){var a=Zt(r,"track"),n=a.some(function(i){return (i.attr("kind")||"").toLowerCase()==="captions"});return n?false:void 0}var $S=jS;function zS(e,t,r){var a=r.children;if(!a||!a.length)return false;for(var n=false,i=false,o,s=0;s<a.length;s++){if(o=a[s].props.nodeName.toUpperCase(),o==="DT"&&(n=true),n&&o==="DD")return false;o==="DD"&&(i=true);}return n||i}var GS=zS;function WS(e,t,r){var a=false,n=false,i=true,o=[],s=[],l=[];return r.children.forEach(function(u){var c=u.actualNode;if(c.nodeType===3&&c.nodeValue.trim()!==""){a=true;return}if(!(c.nodeType!==1||!pt(c))){i=false;var d=c.nodeName.toUpperCase()==="LI",g=Ve(u),D=g==="listitem";!d&&!D&&o.push(c),d&&!D&&(s.push(c),l.includes(g)||l.push(g)),D&&(n=true);}}),a||o.length?(this.relatedNodes(o),true):i||n?false:(this.relatedNodes(s),this.data({messageKey:"roleNotValid",roles:l.join(", ")}),true)}var US=WS;function XS(e,t,r){var a=["definition","term","list"],n={badNodes:[],hasNonEmptyTextNode:false},i=r.children.reduce(function(s,l){var u=l.actualNode;return u.nodeName.toUpperCase()==="DIV"&&Ve(u)===null?s.concat(l.children):s.concat(l)},[]),o=i.reduce(function(s,l){var u=l.actualNode,c=u.nodeName.toUpperCase();if(u.nodeType===1&&pt(u)){var d=We(u);(c!=="DT"&&c!=="DD"||d)&&(a.includes(d)||s.badNodes.push(u));}else u.nodeType===3&&u.nodeValue.trim()!==""&&(s.hasNonEmptyTextNode=true);return s},n);return o.badNodes.length&&this.relatedNodes(o.badNodes),!!o.badNodes.length||o.hasNonEmptyTextNode}function YS(e,t,r){var a=r.parent;if(a){var n=a.props.nodeName,i=We(a);return ["presentation","none","list"].includes(i)?true:i&&Sn(i)?(this.data({messageKey:"roleNotValid"}),false):["ul","ol","menu"].includes(n)}}function KS(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,a=[],n=[];if(r.children){for(var i=p1(r.children);i.length;){var o,s=i.shift(),l=s.vChild,u=s.nested;if(t.divGroups&&!u&&ZS(l)){if(!l.children)return;var c=p1(l.children,true);i.push.apply(i,_e(c));continue}var d=JS(l,u,t);d&&(n.includes(d)||n.push(d),(l==null||(o=l.actualNode)===null||o===void 0?void 0:o.nodeType)===1&&a.push(l.actualNode));}return n.length===0?false:(this.data({values:n.join(", ")}),this.relatedNodes(a),true)}}function JS(e,t,r){var a=r.validRoles,n=a===void 0?[]:a,i=r.validNodeNames,o=i===void 0?[]:i,s=e.props,l=s.nodeName,u=s.nodeType,c=s.nodeValue,d=t?"div > ":"";if(u===3&&c.trim()!=="")return d+"#text";if(u!==1||!pt(e))return false;var g=We(e);return g?n.includes(g)?false:d+"[role=".concat(g,"]"):o.includes(l)?false:d+l}function ZS(e){return e.props.nodeName==="div"&&We(e)===null}function p1(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:false;return e.map(function(r){return {vChild:r,nested:t}})}function QS(e){var t=Rt(e),r=t.nodeName.toUpperCase(),a=We(t);return r==="DIV"&&["presentation","none",null].includes(a)&&(t=Rt(t),r=t.nodeName.toUpperCase(),a=We(t)),r!=="DL"?false:!!(!a||["presentation","none","list"].includes(a))}var ek=QS;function tk(e,t,r){var a=wa(r.attr("lang")),n=wa(r.attr("xml:lang"));return a===n}var rk=tk;function ak(e,t,r){var a=[];return t.attributes.forEach(function(n){var i=r.attr(n);if(typeof i=="string"){var o=wa(i),s=t.value?!t.value.map(wa).includes(o):!go(o);(o!==""&&s||i!==""&&!Pe(i))&&a.push(n+'="'+r.attr(n)+'"');}}),!a.length||r.props.nodeName!=="html"&&!fl(r)?false:(this.data(a),true)}var nk=ak;function Ql(e){return (e||"").trim()!==""}function ik(e,t,r){var a=typeof h<"u"?fn(h):false;if(t.attributes.includes("xml:lang")&&t.attributes.includes("lang")&&Ql(r.attr("xml:lang"))&&!Ql(r.attr("lang"))&&!a)return this.data({messageKey:"noXHTML"}),false;var n=t.attributes.some(function(i){return Ql(r.attr(i))});return n?true:(this.data({messageKey:"noLang"}),false)}var ok=ik;function sk(e,t,r){var a=Ve(e),n=It(r);return n=n?n.toLowerCase():null,this.data({role:a,accessibleText:n}),this.relatedNodes([e]),true}var lk=sk;function uk(e){var t=[];return e.filter(function(r){var a=function(o){return r.data.role===o.data.role&&r.data.accessibleText===o.data.accessibleText},n=t.find(a);return n?(n.result=false,n.relatedNodes.push(r.relatedNodes[0]),false):(t.push(r),r.relatedNodes=[],true)})}var ck=uk;function dk(e,t,r){var a=Qi(r),n=Ki(r),i=r.attr("aria-describedby");return !a&&!!(n||i)}var fk=dk;function pk(e){var t=vt(e.getAttribute("id")),r=e.parentNode,a=Mt(e);a=a.documentElement||a;var n=Array.from(a.querySelectorAll('label[for="'.concat(t,'"]')));for(n.length&&(n=n.filter(function(s){return !Jr(s)}));r;)r.nodeName.toUpperCase()==="LABEL"&&n.indexOf(r)===-1&&n.push(r),r=r.parentNode;if(this.relatedNodes(n),n.length>1){var i=n.filter(function(s){return pt(s)});if(i.length>1)return;var o=Dr(e,"aria-labelledby");return o.includes(i[0])?false:void 0}return false}var mk=pk;function hk(e,t){var r=m1(t),a=m1(e);return !r||!a?false:r.includes(a)}function m1(e){var t=Fn(e,{emoji:true,nonBmp:true,punctuations:true});return Pe(t)}function gk(e,t,r){var a,n=t?.pixelThreshold,i=(a=t?.occurrenceThreshold)!==null&&a!==void 0?a:t?.occuranceThreshold,o=ha(e).toLowerCase(),s=Pe(ea(r,{subtreeDescendant:true,ignoreIconLigature:true,pixelThreshold:n,occurrenceThreshold:i})).toLowerCase();if(!s)return true;if(!(ll(o)<1||ll(s)<1))return hk(s,o)}var vk=gk;function bk(e,t,r){try{var a=Xt(r,"label");if(a){var n=Pe(It(a,{inControlContext:!0,startNode:r}));return a.actualNode&&this.relatedNodes([a.actualNode]),this.data({implicitLabel:n}),!!n}return !1}catch{return}}var yk=bk;function wk(e,t,r){if(r.hasAttr("id")){if(!r.actualNode)return;var a=Mt(e),n=vt(e.getAttribute("id")),i=a.querySelector('label[for="'.concat(n,'"]'));if(i&&!pt(i)){var o;try{o=It(r).trim();}catch{return}var s=o==="";return s}}return false}var xk=wk;function Dk(e,t,r){var a=Qi(r),n=e.getAttribute("title");if(!a)return false;if(!n&&(n="",e.getAttribute("aria-describedby"))){var i=Dr(e,"aria-describedby");n=i.map(function(o){return o?ha(o):""}).join("");}return Pe(n)===Pe(a)}var _k=Dk;function Ak(e,t,r){var a=this;if(!r.attr("id"))return false;if(r.actualNode){var n=Mt(r.actualNode),i=vt(r.attr("id")),o=Array.from(n.querySelectorAll('label[for="'.concat(i,'"]')));if(this.relatedNodes(o),!o.length)return false;try{return o.some(function(s){if(Yt(s)){var l=Pe(ha(s,{inControlContext:!0,startNode:r}));return a.data({explicitLabel:l}),!!l}else return !0})}catch{return}}}var Ek=Ak;function Ck(e,t,r){if(["none","presentation"].includes(Ve(r)))return false;var a=Xt(r,t.parentSelector);if(!a)return false;var n=Ar(a,true).toLowerCase();return n===""?false:n===It(r).toLowerCase()}var Sk=Ck;function kk(e,t,r){var a=r.attr("alt"),n=/^\s+$/;return typeof a=="string"&&n.test(a)}var Tk=kk;function Fk(e,t,r){var a=Cr(r.attr("tabindex"));return a===null||a<=0}var Rk=Fk;function Ik(e,t,r){if(r.children)try{var a=h1(r);if(!a.length)return !0;var n=a.filter(Lk);return n.length>0?(this.data({messageKey:"notHidden"}),this.relatedNodes(n)):this.relatedNodes(a),!1}catch{return}}function h1(e){if(!e.children){if(e.props.nodeType===1)throw new Error("Cannot determine children");return []}var t=[];return e.children.forEach(function(r){gr(r)==="widget"&&Dt(r)?t.push(r):t.push.apply(t,_e(h1(r)));}),t}function Lk(e){var t=Cr(e.attr("tabindex"));return t!==null&&t<0}function Pk(e){var t=Oa("landmark"),r=Rt(e),a=Ve(e);for(this.data({role:a});r;){var n=We(r);if(!n&&r.nodeName.toUpperCase()!=="FORM"&&(n=_r(r)),n&&t.includes(n)&&!(n==="main"&&a==="complementary"))return false;r=Rt(r);}return true}var Mk=Pk;function Ok(e,t,r){if(r.children)try{return !r.children.some(function(a){return g1(a)})}catch{return}}function g1(e){if(sr(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 g1(t)})}function Nk(e,t,r){var a=["button","fieldset","input","select","textarea"],n=r.tabbableElements;if(!n||!n.length)return true;var i=n.filter(function(o){return !a.includes(o.props.nodeName)});return this.relatedNodes(i.map(function(o){return o.actualNode})),i.length===0||In()?true:i.every(function(o){var s=o.getComputedStylePropertyValue("pointer-events"),l=parseInt(o.getComputedStylePropertyValue("width")),u=parseInt(o.getComputedStylePropertyValue("height"));return o.actualNode.onfocus||(l===0||u===0)&&s==="none"})?void 0:false}var qk=Nk;function Bk(e,t,r){if(!sr(r))return false;try{return !It(r)}catch{return}}var Hk=Bk;function Vk(e,t,r){var a=r.tabbableElements.map(function(n){var i=n.actualNode;return i});if(!a||!a.length)return true;if(In()){this.relatedNodes(a);return}return true}var jk=Vk;function $k(e,t,r){if(r.hasAttr("contenteditable")&&a(r))return true;return sr(r);function a(n){var i=n.attr("contenteditable");if(i==="true"||i==="")return true;if(i==="false")return false;var o=Xt(r.parent,"[contenteditable]");return o?a(o):false}}var zk=$k;function Gk(e,t,r){var a=["button","fieldset","input","select","textarea"],n=r.tabbableElements;if(!n||!n.length)return true;var i=n.filter(function(o){return a.includes(o.props.nodeName)});return this.relatedNodes(i.map(function(o){return o.actualNode})),i.length===0||In()?true:i.every(function(o){var s=o.getComputedStylePropertyValue("pointer-events"),l=parseInt(o.getComputedStylePropertyValue("width")),u=parseInt(o.getComputedStylePropertyValue("height"));return o.actualNode.onfocus||(l===0||u===0)&&s==="none"})?void 0:false}var Wk=Gk;function Uk(e,t,r){var a=r.tabbableElements;if(!a)return false;var n=a.filter(function(i){return i!==r});return n.length>0}var Xk=Uk;function Yk(e,t,r){return Jr(r)||(this.data(r.attr("accesskey")),this.relatedNodes([e])),true}var Kk=Yk;function Jk(e){var t={};return e.filter(function(r){if(!r.data)return false;var a=r.data.toUpperCase();return t[a]?(t[a].relatedNodes.push(r.relatedNodes[0]),false):(t[a]=r,r.relatedNodes=[],true)}).map(function(r){return r.result=!!r.relatedNodes.length,r})}var Zk=Jk;function Qk(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 a="page-no-duplicate;"+t.selector;if(Be.get(a)){this.data("ignored");return}Be.set(a,true);var n=Sr(m._tree[0],t.selector,function(i){return pt(i)});return typeof t.nativeScopeFilter=="string"&&(n=n.filter(function(i){return i.actualNode.hasAttribute("role")||!Fa(i,t.nativeScopeFilter)})),typeof t.role=="string"&&(n=n.filter(function(i){return Ve(i)===t.role})),this.relatedNodes(n.filter(function(i){return i!==r}).map(function(i){return i.actualNode})),n.length<=1}var e5=Qk;function t5(e){return e.filter(function(t){return t.data!=="ignored"})}var r5=t5;function a5(e,t,r){return kn(r,t.matcher)}var n5=a5;function i5(e,t,r){try{return Pe(ea(r))!==""}catch{return}}function o5(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&&In())return true;var a=Sr(r,t.selector,function(n){return pt(n)});return this.relatedNodes(a.map(function(n){return n.actualNode})),a.length>0}var s5=o5;function l5(e){var t=e.some(function(r){return r.result===true});return t&&e.forEach(function(r){r.result=true;}),e}var u5=l5;function c5(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 a=r.attr(t.attribute),n=!Pe(a);return n?(this.data({messageKey:"emptyAttr"}),false):true}var d5=c5;function f5(e,t,r){var a=r.attr("autocomplete")||"";return Dp(a,t)}var p5=f5;function m5(e,t,r){if(r.props.nodeName!=="input")return true;var a=["text","search","number","tel"],n=["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":a,"cc-exp":["text","search","month","tel"],"cc-exp-month":a,"cc-exp-year":a,"cc-csc":a,"transaction-amount":a,"bday-day":a,"bday-month":a,"bday-year":a,"new-password":["text","search","password"],"current-password":["text","search","password"],url:n,photo:n,impp:n};ae(t)==="object"&&Object.keys(t).forEach(function(d){i[d]||(i[d]=[]),i[d]=i[d].concat(t[d]);});var o=r.attr("autocomplete"),s=o.split(/\s+/g).map(function(d){return d.toLowerCase()}),l=s[s.length-1];if(va.stateTerms.includes(l))return true;var u=i[l],c=r.hasAttr("type")?Pe(r.attr("type")).toLowerCase():"text";return c=ho().includes(c)?c:"text",typeof u>"u"?c==="text":u.includes(c)}var h5=m5,g5=["block","list-item","table","flex","grid","inline-block"];function v5(e){if(v1(e))return false;for(var t=Rt(e);t&&t.nodeType===1&&!v1(t);)t=Rt(t);if(t){if(this.relatedNodes([t]),Ym(e,t))return true;if(b5(e)){this.data({messageKey:"pseudoContent"});return}return false}}function v1(e){var t=p.getComputedStyle(e).getPropertyValue("display");return g5.indexOf(t)!==-1||t.substr(0,6)==="table-"}function b5(e){for(var t=0,r=["before","after"];t<r.length;t++){var a=r[t],n=p.getComputedStyle(e,":".concat(a)),i=n.getPropertyValue("content");if(i!=="none")return true}return false}function b1(e,t){var r=e.getRelativeLuminance(),a=t.getRelativeLuminance();return (Math.max(r,a)+.05)/(Math.min(r,a)+.05)}var y5=["block","list-item","table","flex","grid","inline-block"];function y1(e){var t=p.getComputedStyle(e).getPropertyValue("display");return y5.indexOf(t)!==-1||t.substr(0,6)==="table-"}function w5(e,t){var r=t.requiredContrastRatio,a=t.allowSameColor;if(y1(e))return false;for(var n=Rt(e);n&&n.nodeType===1&&!y1(n);)n=Rt(n);if(n){this.relatedNodes([n]);var i=_o(e),o=_o(n),s=Bn(e),l=Bn(n),u=i&&o?b1(i,o):void 0;if(u&&(u=Math.floor(u*100)/100),u&&u>=r)return true;var c=s&&l?b1(s,l):void 0;if(c&&(c=Math.floor(c*100)/100),c&&c>=r)return true;if(!c){var d,g=(d=ct.get("bgColor"))!==null&&d!==void 0?d:"bgContrast";this.data({messageKey:g}),ct.clear();return}if(u)return a&&u===1&&c===1?true:u===1&&c>1?(this.data({messageKey:"bgContrast",contrastRatio:c,requiredContrastRatio:r,nodeBackgroundColor:s?s.toHexString():void 0,parentBackgroundColor:l?l.toHexString():void 0}),false):(this.data({messageKey:"fgContrast",contrastRatio:u,requiredContrastRatio:r,nodeColor:i?i.toHexString():void 0,parentColor:o?o.toHexString():void 0}),false)}}var x5=w5;function D5(e,t,r){var a=t.ignoreUnicode,n=t.ignoreLength,i=t.ignorePseudo,o=t.boldValue,s=t.boldTextPt,l=t.largeTextPt,u=t.contrastRatio,c=t.shadowOutlineEmMax,d=t.pseudoSizeThreshold;if(!Yt(e))return this.data({messageKey:"hidden"}),true;var g=Ar(r,false,true);if(a&&A5(g)){this.data({messageKey:"nonBmp"});return}var D=p.getComputedStyle(e),C=parseFloat(D.getPropertyValue("font-size")),R=D.getPropertyValue("font-weight"),I=parseFloat(R)>=o||R==="bold",P=Math.ceil(C*72)/96,M=I&&P<s||!I&&P<l,q=M?u.normal:u.large,B=q.expected,V=q.minThreshold,X=q.maxThreshold,Q=_5(r,{ignorePseudo:i,pseudoSizeThreshold:d});if(Q){this.data({fontSize:"".concat((C*72/96).toFixed(1),"pt (").concat(C,"px)"),fontWeight:I?"bold":"normal",messageKey:"pseudoContent",expectedContrastRatio:B+":1"}),this.relatedNodes(Q.actualNode);return}var ne=Do(e,{minRatio:.001,maxRatio:c});if(ne===null){this.data({messageKey:"complexTextShadows"});return}var he=[],ee=Bn(e,he,c),ue=_o(e,false,ee,t),pe=null,ge=null,Se=null;if(ne.length===0)pe=Na(ee,ue);else if(ue&&ee){Se=[].concat(_e(ne),[ee]).reduce(Yl);var Oe=Na(ee,ue),xe=Na(ee,Se),Re=Na(Se,ue);pe=Math.max(Oe,xe,Re),pe!==Oe&&(ge=xe>Re?"shadowOnBgColor":"fgOnShadowColor");}var de=pe>B;if(typeof V=="number"&&(typeof pe!="number"||pe<V)||typeof X=="number"&&(typeof pe!="number"||pe>X))return this.data({contrastRatio:pe}),true;var Ee=Math.floor(pe*100)/100,G,ve;ee===null?ct.get("colorParse")?(G="colorParse",ve=ct.get("colorParse")):G=ct.get("bgColor"):de||(G=ge),ue===null&&ct.get("colorParse")&&(G="colorParse",ve=ct.get("colorParse"));var se=Ee===1,be=g.length===1;if(se?G=ct.set("bgColor","equalRatio"):!de&&be&&!n&&(G="shortTextContent"),this.data({fgColor:ue?ue.toHexString():void 0,bgColor:ee?ee.toHexString():void 0,contrastRatio:Ee,fontSize:"".concat((C*72/96).toFixed(1),"pt (").concat(C,"px)"),fontWeight:I?"bold":"normal",messageKey:G,expectedContrastRatio:B+":1",shadowColor:Se?Se.toHexString():void 0,colorParse:ve}),ue===null||ee===null||se||be&&!n&&!de){G=null,ct.clear(),this.relatedNodes(he);return}return de||this.relatedNodes(he),de}function _5(e,t){var r=t.pseudoSizeThreshold,a=r===void 0?.25:r,n=t.ignorePseudo,i=n===void 0?false:n;if(!i){var o=e.boundingClientRect,s=o.width*o.height*a;do{var l=w1(e.actualNode,":before"),u=w1(e.actualNode,":after");if(l+u>s)return e}while(e=e.parent)}}var w1=ut(function(t,r){var a=p.getComputedStyle(t,r),n=function(l,u){return a.getPropertyValue(l)===u};if(n("content","none")||n("display","none")||n("visibility","hidden")||n("position","absolute")===false||ba(a).alpha===0&&n("background-image","none"))return 0;var i=x1(a.getPropertyValue("width")),o=x1(a.getPropertyValue("height"));return i.unit!=="px"||o.unit!=="px"?i.value===0||o.value===0?0:1/0:i.value*o.value});function A5(e){var t={nonBmp:true},r=ol(e,t),a=Pe(Fn(e,t))==="";return r&&a}function x1(e){var t=/^([0-9.]+)([a-z]+)$/i,r=e.match(t)||[],a=le(r,3),n=a[1],i=n===void 0?"":n,o=a[2],s=o===void 0?"":o;return {value:parseFloat(i),unit:s.toLowerCase()}}var E5={ARTICLE:true,ASIDE:true,NAV:true,SECTION:true},C5={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 S5(e){var t=e.nodeName.toUpperCase();return E5[t]||false}function k5(e,t){var r=We(e);return r&&(C5[r]||t.roles.includes(r))||false}function T5(e,t){return k5(e,t)||S5(e)}var F5=T5;function R5(e,t,r){var a=Ve(r,{dpub:true,fallback:true}),n=Ks(a);return n&&this.data(a),n}var I5=R5;function L5(e,t,r){var a=Ve(r,{noImplicit:true});this.data(a);var n,i;try{n=Pe(nl(r)).toLowerCase(),i=Pe(It(r)).toLowerCase();}catch{return}if(!i&&!n)return false;if(!(!i&&n)&&i.includes(n))return false}var P5=L5;function M5(e,t,r){return Dt(r)}var O5=M5;function N5(e,t,r){var a=Ht(r.attr("role")),n=a.every(function(i){return !Sn(i.toLowerCase(),{allowAbstract:true})});return n?(this.data(a),true):false}var q5=N5;function B5(e,t,r){var a=We(r);if(a===null)return false;var n=gr(a);return n==="widget"||n==="composite"}var H5=B5;function V5(e,t,r){var a=Zr().filter(function(n){return r.hasAttr(n)});return this.data(a),a.length>0}var j5=V5;function $5(e,t){var r=_r(e);return !r&&t.length===2&&t.includes("none")&&t.includes("presentation")}function z5(e,t,r){var a=Ht(r.attr("role"));return a.length<=1?false:$5(r,a)?void 0:true}var G5=z5;function W5(e,t,r){var a=Ve(r,{dpub:true,fallback:true}),n=et.ariaRoles[a];return n!=null&&n.deprecated?(this.data(a),true):false}function U5(e,t,r){var a,n=(a=r.attr("aria-brailleroledescription"))!==null&&a!==void 0?a:"";if(Pe(n)==="")return true;var i=r.attr("aria-roledescription");return typeof i!="string"?(this.data({messageKey:"noRoleDescription"}),false):Pe(i)===""?(this.data({messageKey:"emptyRoleDescription"}),false):true}function X5(e,t,r){var a,n=(a=r.attr("aria-braillelabel"))!==null&&a!==void 0?a:"";if(!n.trim())return true;try{return Pe(It(r))!==""}catch{return}}function Y5(e,t,r){t=Array.isArray(t.value)?t.value:[];var a="",n="",i=[],o=/^aria-/,s=["aria-errormessage"],l={"aria-controls":function(){var c=["false",null].includes(r.attr("aria-haspopup"))===false;return c&&(a='aria-controls="'.concat(r.attr("aria-controls"),'"'),n="controlsWithinPopup"),r.attr("aria-expanded")!=="false"&&r.attr("aria-selected")!=="false"&&c===false},"aria-current":function(c){c||(a='aria-current="'.concat(r.attr("aria-current"),'"'),n="ariaCurrent");},"aria-owns":function(){return r.attr("aria-expanded")!=="false"},"aria-describedby":function(c){c||(a='aria-describedby="'.concat(r.attr("aria-describedby"),'"'),n=m._tree&&m._tree[0]._hasShadowRoot?"noIdShadow":"noId");},"aria-labelledby":function(c){c||(a='aria-labelledby="'.concat(r.attr("aria-labelledby"),'"'),n=m._tree&&m._tree[0]._hasShadowRoot?"noIdShadow":"noId");}};if(r.attrNames.forEach(function(u){if(!(s.includes(u)||t.includes(u)||!o.test(u))){var c,d=r.attr(u);try{c=Bm(r,u);}catch{a="".concat(u,'="').concat(d,'"'),n="idrefs";return}(!l[u]||l[u](c))&&!c&&(d===""&&!K5(u)?(a=u,n="empty"):i.push("".concat(u,'="').concat(d,'"')));}}),i.length)return this.data(i),false;if(a){this.data({messageKey:n,needsReview:a});return}return true}function K5(e){var t;return ((t=et.ariaAttrs[e])===null||t===void 0?void 0:t.type)==="string"}function J5(e,t,r){t=Array.isArray(t.value)?t.value:[];var a=[],n=/^aria-/;return r.attrNames.forEach(function(i){t.indexOf(i)===-1&&n.test(i)&&!wo(i)&&a.push(i);}),a.length?(this.data(a),false):true}var Z5=J5;function Q5(e,t,r){var a=r.attrNames.filter(function(n){var i=et.ariaAttrs[n];if(!wo(n))return false;var o=i.unsupported;return ae(o)!=="object"?!!o:!kn(e,o.exceptions)});return a.length?(this.data(a),true):false}var eT=Q5;function tT(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,a=Ve(r),n=t.supportedRoles||[];if(n.includes(a))return true;if(!(a&&a!=="presentation"&&a!=="none"))return false}var rT=tT;function D1(e,t,r,a){var n=We(e);if(r||(r=zl(n)),!r)return null;for(var i=r.includes("group"),o=a?e:e.parent;o;){var s=Ve(o,{noPresentational:true});if(!s)o=o.parent;else if(s==="group"&&i)t.includes(n)&&r.push(n),r=r.filter(function(l){return l!=="group"}),o=o.parent;else return r.includes(s)?null:r}return r}function aT(e){for(var t=[],r=null;e;){if(e.getAttribute("id")){var a=vt(e.getAttribute("id")),n=Mt(e);r=n.querySelector("[aria-owns~=".concat(a,"]")),r&&t.push(r);}e=e.parentElement;}return t.length?t:null}function nT(e,t,r){var a=t&&Array.isArray(t.ownGroupRoles)?t.ownGroupRoles:[],n=D1(r,a);if(!n)return true;var i=aT(e);if(i){for(var o=0,s=i.length;o<s;o++)if(n=D1(je(i[o]),a,n,true),!n)return true}return this.data(n),false}var iT=nT;function oT(e,t,r){var a=t&&Array.isArray(t.reviewEmpty)?t.reviewEmpty:[],n=We(r,{dpub:true}),i=Gl(n);if(i===null)return true;var o=sT(r,i),s=o.filter(function(u){var c=u.role,d=u.vNode;return d.props.nodeType===1&&!i.includes(c)});if(s.length){this.relatedNodes(s.map(function(u){var c=u.vNode;return c}));var l=r.attr("aria-busy")==="true"?"aria-busy-fail":"unallowed";return this.data({messageKey:l,values:s.map(function(u){var c=u.vNode,d=u.attr;return cT(c,d)}).filter(function(u,c,d){return d.indexOf(u)===c}).join(", ")}),false}if(lT(i,o))return true;if(r.attr("aria-busy")==="true")return this.data({messageKey:"aria-busy"}),true;if(this.data(i),!(a.includes(n)&&!o.some(dT)))return false}function sT(e,t){for(var r,a=[],n=Tn(e),i=function(){if(r.props.nodeType===3&&a.push({vNode:r,role:null}),r.props.nodeType!==1||!pt(r))return 1;var s=Ve(r,{noPresentational:true}),l=uT(r),u=!!l||Dt(r);if(!s&&!u||["group","rowgroup"].includes(s)&&t.some(function(d){return d===s}))n.push.apply(n,_e(r.children));else if(s||u){var c=l||"tabindex";a.push({role:s,attr:c,vNode:r});}};r=n.shift();)i();return a}function lT(e,t){return t.some(function(r){var a=r.role;return a&&e.includes(a)})}function uT(e){return Zr().find(function(t){return e.hasAttr(t)})}function cT(e,t){var r=e.props,a=r.nodeName,n=r.nodeType;if(n===3)return "#text";var i=We(e,{dpub:true});return i?"[role=".concat(i,"]"):t?a+"[".concat(t,"]"):a}function dT(e){var t=e.vNode;return t.props.nodeType===3?t.props.nodeValue.trim().length>0:Rn(t,false,true)}function fT(e){var t,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=arguments.length>2?arguments[2]:void 0,n=We(a),i=a.attrNames,o=qm(n);if(Array.isArray(r[n])&&(o=Mn(r[n],o)),!n||!i.length||!o.length||pT(a,n)||hT(a,n)||n==="slider"&&(t=a.attr("aria-valuetext"))!==null&&t!==void 0&&t.trim())return true;var s=Qr(a),l=o.filter(function(u){return !a.attr(u)&&!mT(s,u)});return l.length?(this.data(l),false):true}function pT(e,t){return t==="separator"&&!Dt(e)}function mT(e,t){var r;return ((r=e.implicitAttrs)===null||r===void 0?void 0:r[t])!==void 0}function hT(e,t){return t==="combobox"&&e.attr("aria-expanded")==="false"}function gT(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,a=t?.elementsAllowedAriaLabel||[],n=r.props.nodeName,i=Ve(r,{chromium:true,fallback:true}),o=vT(r,i,n,a),s=o.filter(function(c){return r.attrNames.includes(c)?Pe(r.attr(c))!=="":false});if(s.length===0)return false;var l=i!==null?"hasRole":"noRole";l+=s.length>1?"Plural":"Singular",this.data({role:i,nodeName:n,messageKey:l,prohibited:s});var u=ea(r,{subtreeDescendant:true});if(Pe(u)==="")return true}function vT(e,t,r,a){var n=et.ariaRoles[t];return n?n.prohibitedAttrs||[]:t||a.includes(r)||_1(e)==="widget"?[]:["aria-label","aria-labelledby"]}var _1=ut(function(t){if(t){var r=Ve(t,{noPresentational:true,chromium:true});return r?gr(r):_1(t.parent)}});function bT(e,t,r){var a=r.attr("aria-level"),n=parseInt(a,10);if(!(n>6))return true}var yT=bT;function wT(e,t,r){return r.attr("aria-hidden")!=="true"}var xT=wT;function DT(e,t,r){t=Array.isArray(t)?t:[];var a=r.attr("aria-errormessage"),n=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 et.ariaAttrs["aria-errormessage"].allowEmpty;var u=Ht(l);if(u.length>1)return this.data({messageKey:"unsupported",values:u}),false;var c;try{c=l&&Dr(r,"aria-errormessage")[0];}catch{this.data({messageKey:"idrefs",values:u});return}if(c){if(!pt(c))return this.data({messageKey:"hidden",values:u}),false;var d=Ht(r.attr("aria-describedby"));return We(c)==="alert"||c.getAttribute("aria-live")==="assertive"||c.getAttribute("aria-live")==="polite"||u.some(function(g){return d.includes(g)})}}return t.indexOf(a)===-1&&n?(this.data(Ht(a)),s.call(this,a)):true}function A1(e){var t,r,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=a.invalidTableRowAttrs,i=arguments.length>2?arguments[2]:void 0,o=(t=n==null||(r=n.filter)===null||r===void 0?void 0:r.call(n,function(c){return i.hasAttr(c)}))!==null&&t!==void 0?t:[];if(o.length===0)return true;var s=_T(i),l=s&&Ve(s);if(!l||l==="treegrid")return true;var u="row".concat(o.length>1?"Plural":"Singular");return this.data({messageKey:u,invalidAttrs:o,ownerRole:l}),false}function _T(e){if(e.parent){var t='table:not([role]), [role~="treegrid"], [role~="table"], [role~="grid"]';return Xt(e,t)}}function E1(e,t,r){var a=r.props,n=a.nodeName,i=a.type,o=ET(r.attr("aria-checked"));if(n!=="input"||i!=="checkbox"||!o)return true;var s=AT(r);return o===s?true:(this.data({messageKey:"checkbox",checkState:s}),false)}function AT(e){return e.props.indeterminate?"mixed":e.props.checked?"true":"false"}function ET(e){return e?(e=e.toLowerCase(),["mixed","true"].includes(e)?e:"false"):""}var C1={row:A1,checkbox:E1};function CT(e,t,r){var a=Ve(r);return C1[a]?C1[a].call(this,e,t,r):true}function ST(e,t,r){return r.attr("aria-busy")==="true"}function kT(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,a=t.allowImplicit,n=a===void 0?true:a,i=t.ignoredTags,o=i===void 0?[]:i,s=r.props.nodeName;if(o.map(function(u){return u.toLowerCase()}).includes(s))return true;var l=Lm(r,n);return l.length?(this.data(l),pt(r)?false:void 0):true}var TT=kT;function FT(e,t,r){var a=[],n=Ve(r),i=Fm(n);Array.isArray(t[n])&&(i=Mn(t[n].concat(i)));var o=Ge(r.attrNames),s;try{for(o.s();!(s=o.n()).done;){var l=s.value;wo(l)&&!i.includes(l)&&!RT(l,r.attr(l),r)&&a.push(l);}}catch(u){o.e(u);}finally{o.f();}if(!a.length)return true;if(this.data(a.map(function(u){return u+'="'+r.attr(u)+'"'})),!(!n&&!Tl(r)&&!Dt(r)))return false}function RT(e,t,r){return !!(e==="aria-required"&&t==="false"||e==="aria-multiline"&&t==="false"&&r.hasAttr("contenteditable"))}function IT(e,t,r){var a=Qr(r);if(!a.allowedAriaAttrs)return true;var n=We(r);if(n)return true;var i=a.allowedAriaAttrs,o=Zr(),s=[],l=Ge(r.attrNames),u;try{for(l.s();!(u=l.n()).done;){var c=u.value;o.includes(c)&&!i.includes(c)&&s.push(c);}}catch(g){l.e(g);}finally{l.f();}if(!s.length)return true;var d=s.length>1?"plural":"singular";return this.data({messageKey:d,nodeName:r.props.nodeName,values:s.map(function(g){return g+'="'+r.attr(g)+'"'}).join(", ")}),false}function LT(e,t,r){var a=Ht(r.attr("role")).filter(function(n){return gr(n)==="abstract"});return a.length>0?(this.data(a),true):false}var PT=LT;function MT(e){var t=wa(e.getAttribute("lang")),r=wa(e.getAttribute("xml:lang"));return go(t)&&go(r)}var OT=MT;function NT(e){return e.ownerDocument.defaultView.self===e.ownerDocument.defaultView.top}var qT=NT;function BT(e,t){try{var r=t.props.nodeName;return r==="svg"?!0:!!Xt(t,"svg")}catch{return false}}var eu=BT;function HT(e,t){return VT.every(function(r){return r(e,t)})}var VT=[function(e,t){return S1(t)},function(e,t){return jT(t)},function(e,t){return !eu(e,t)},function(e,t){return Dt(t)},function(e,t){return sr(t)||!$T(t)},function(e){return !pl(e,{noLengthCompare:true,includeInlineBlock:true})}];function S1(e){return gr(e)==="widget"}function jT(e){return e.props.nodeName!=="area"}var $T=ut(function e(t){return t!=null&&t.parent?S1(t.parent)&&sr(t.parent)?true:e(t.parent):false});function zT(e,t){var r=Ve(t);return ["treegrid","grid","table"].includes(r)}function GT(e,t){var r=t.parent;if(r.props.nodeName!=="details"||WT(t))return false;var a=r.children.find(function(n){return n.props.nodeName==="summary"});return a===t}function WT(e){var t,r=(t=e.actualNode)===null||t===void 0?void 0:t.parentElement;return r&&r!==e.parent.actualNode}function UT(e){return gl(e)&&Vi(e)}var XT=UT;function YT(e,t){return Or(e,13)!==void 0&&$l(t)===false&&KT(t)}function KT(e){var t=e.boundingClientRect;return Zt(e,"*").some(function(r){if(!Rn(r,true,true))return false;var a=[];if(eo(r)){var n;(n=a).push.apply(n,_e(JT(r)));}else a=[r.boundingClientRect];return a.some(function(i){return i.left<t.left||i.right>t.right||i.top<t.top||i.bottom>t.bottom})})}function JT(e){var t=h.createRange();return t.selectNodeContents(e.actualNode),Array.from(t.getClientRects())}function ZT(e,t){return _r(t,{chromiumRoles:true})!==null}var QT=ZT;function eF(e){var t=Array.from(e.parentNode.childNodes),r=e.textContent.trim(),a=/[.!?:;](?![.!?:;])/g;if(r.length===0||(r.match(a)||[]).length>=2)return false;var n=t.slice(t.indexOf(e)+1).filter(function(i){return i.nodeName.toUpperCase()==="P"&&i.textContent.trim()!==""});return n.length!==0}var tF=eF;function rF(e,t){var r=We(t);if(!r||["none","presentation"].includes(r))return true;var a=Hf[r]||{},n=a.accessibleNameRequired;return !!(n||Dt(t))}var k1=rF,aF=function(t,r){return [k1,nF].every(function(a){return a(t,r)})};function nF(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 iF(e,t){return t.props.nodeName!=="html"}var oF=iF;function sF(e,t){return !t.attr("role")}var lF=sF;function uF(e,t){var r=Cr(t.attr("tabindex"));return r===null||r>=0}var cF=uF;function dF(e,t){var r=Qr(t),a=r.namingMethods;return !(a&&a.length!==0||We(t)==="combobox"&&Zt(t,'input:not([type="hidden"])').length||$l(t,{popupRoles:["listbox"]}))}var fF=dF;function pF(e,t){return !(!t.hasAttr("role")||!t.attr("role").trim())}var mF=pF;function hF(e){return !(!e.currentSrc||e.hasAttribute("paused")||e.hasAttribute("muted"))}var gF=hF;function vF(e,t){var r=Ve(t);return r?!!et.ariaRoles[r].childrenPresentational:false}var bF=vF;function yF(e){var t=Pe(e.innerText),r=We(e);return r&&r!=="link"||!t||!Yt(e)?false:pl(e)}var wF=yF;function xF(e){return !bo(e)&&!Dt(e)}var DF=xF;function _F(e,t){return AF(t)&&pt(t)}function AF(e){var t=Oa("landmark"),r=Ve(e);if(!r)return false;var a=e.props.nodeName;if(a==="section"||a==="form"){var n=It(e);return !!n}return t.indexOf(r)>=0||r==="region"}function EF(e,t){var r="article, aside, main, nav, section";return e.hasAttribute("role")||!Fa(t,r)}var CF=EF;function SF(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 kF=SF;function TF(e,t){var r=Ve(e);if(!r)return false;var a=Oa("widget"),n=a.includes(r);if(!n)return false;var i=jl();return !(!i.includes(r)||!Pe(Cn(t))&&!Pe(En(e))||!Pe(Ar(t)))}var FF=TF;function RF(e,t){return Yt(t)}function IF(e){return Yt(e)}function LF(e,t,r){return r.initiator}var T1=LF;function PF(e){return Sp(e)}var MF=PF;function OF(e,t){var r=!!It(t);if(!r)return false;var a=Ve(e);return !(a&&a!=="link")}var NF=OF;function qF(e,t){return !eu(e,t)}var BF=qF;function HF(e,t){return Ve(t)==="heading"}function VF(e,t){return _r(t,{chromium:true})!==null}var jF=VF;function $F(e){var t=e.getAttribute("title");return !!Pe(t)}var zF=$F;function GF(e,t,r){var a,n;return !r.initiator&&!r.focusable&&((a=r.size)===null||a===void 0?void 0:a.width)*((n=r.size)===null||n===void 0?void 0:n.height)>1}var WF=GF;function UF(e){var t=e.getAttribute("id").trim(),r='*[id="'.concat(vt(t),'"]'),a=Array.from(Mt(e).querySelectorAll(r));return !yo(e)&&a.every(function(n){return !Dt(n)})}var XF=UF;function YF(e){return yo(e)}var KF=YF;function JF(e){var t=e.getAttribute("id").trim(),r='*[id="'.concat(vt(t),'"]'),a=Array.from(Mt(e).querySelectorAll(r));return !yo(e)&&a.some(Dt)}var ZF=JF;function QF(e){return bo(e)}var e3=QF;function t3(e){if(bo(e)){var t=Mr(e);return t.length>=3&&t[0].length>=3&&t[1].length>=3&&t[2].length>=3}return false}var r3=t3;function a3(e,t){var r=t.props,a=r.nodeName,n=r.type;if(a==="option"||a==="select"&&!e.options.length)return false;var i=["hidden","range","color","checkbox","radio","image"];if(a==="input"&&i.includes(n)||Hn(t)||Ui(t))return false;var o=["input","select","textarea"];if(o.includes(a)){var s=p.getComputedStyle(e),l=parseInt(s.getPropertyValue("text-indent"),10);if(l){var u=e.getBoundingClientRect();if(u={top:u.top,bottom:u.bottom,left:u.left+l,right:u.right+l},!vl(u,e))return false}return true}var c=Fa(t,"label");if(a==="label"||c){var d=c||e,g=c?je(c):t;if(d.htmlFor){var D=Mt(d),C=D.getElementById(d.htmlFor),R=C&&je(C);if(R&&Hn(R))return false}var I='input:not([type="hidden"],[type="image"],[type="button"],[type="submit"],[type="reset"]), select, textarea',P=Zt(g,I)[0];if(P&&Hn(P))return false}for(var M=[],q=t;q;){if(q.props.id){var B=Vl(q).filter(function(ue){return Ht(ue.getAttribute("aria-labelledby")||"").includes(q.props.id)}).map(function(ue){return je(ue)});M.push.apply(M,_e(B));}q=q.parent;}if(M.length>0&&M.every(Hn)||!o3(t)||!parseFloat(t.getComputedStylePropertyValue("font-size")))return false;for(var V=h.createRange(),X=t.children,Q=0;Q<X.length;Q++){var ne=X[Q];ne.actualNode.nodeType===3&&Pe(ne.actualNode.nodeValue)!==""&&V.selectNodeContents(ne.actualNode);}var he=Array.from(V.getClientRects()),ee=xn(t);return he.some(function(ue){var pe=vl(ue,e);if(!ee.length)return pe;var ge=ee.some(function(Se){return Ms(ue,Se.boundingClientRect)});return pe&&ge})}var n3=a3,i3={emoji:true,nonBmp:false,punctuations:true};function o3(e){var t=Ar(e,false,true);return t===""||Fn(t,i3)===""?false:e.children.some(function(r){return r.props.nodeName==="#text"&&!sl(r)})}function s3(e,t,r){return T1(e,t,r)?!!e.querySelector("a[href]"):true}var l3=s3;function u3(e,t){var r=t.attr("autocomplete");if(!r||Pe(r)==="")return false;var a=t.props.nodeName;if(["textarea","input","select"].includes(a)===false)return false;var n=t.attr("aria-readonly")||"false";if(t.hasAttr("readonly")||n.toLowerCase()==="true")return false;var i=["submit","reset","button","hidden"];if(a==="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=We(t),l=Cr(t.attr("tabindex"));if(l<0&&t.hasAttr("role")){var u=et.ariaRoles[s];if(u===void 0||u.type!=="widget")return false}return !(l<0&&t.actualNode&&!Yt(t)&&!pt(t))}var c3=u3;function d3(e,t){var r=We(t);return !!zl(r)}var f3=d3;function p3(e,t){var r=We(t,{dpub:true});return !!Gl(r)}var m3=p3;function F1(e){return e?e.getAttribute("aria-hidden")==="true"?false:F1(Rt(e)):true}function h3(e){return F1(Rt(e))}var g3=h3;function v3(e,t){var r=/^aria-/;return t.attrNames.some(function(a){return r.test(a)})}var b3=v3;function y3(e,t){return We(t,{dpub:true,fallback:true})!==null}var w3=y3;function x3(e,t){var r=/^aria-/,a=t.attrNames;if(a.length){for(var n=0,i=a.length;n<i;n++)if(r.test(a[n]))return true}return false}var D3=x3,_3={"abstractrole-evaluate":PT,"accesskeys-after":Zk,"accesskeys-evaluate":Kk,"alt-space-value-evaluate":Tk,"aria-allowed-attr-elm-evaluate":IT,"aria-allowed-attr-evaluate":FT,"aria-allowed-attr-matches":D3,"aria-allowed-role-evaluate":TT,"aria-allowed-role-matches":w3,"aria-busy-evaluate":ST,"aria-conditional-attr-evaluate":CT,"aria-conditional-checkbox-attr-evaluate":E1,"aria-conditional-row-attr-evaluate":A1,"aria-errormessage-evaluate":DT,"aria-has-attr-matches":b3,"aria-hidden-body-evaluate":xT,"aria-hidden-focus-matches":g3,"aria-label-evaluate":sC,"aria-labelledby-evaluate":iC,"aria-level-evaluate":yT,"aria-prohibited-attr-evaluate":gT,"aria-required-attr-evaluate":fT,"aria-required-children-evaluate":oT,"aria-required-children-matches":m3,"aria-required-parent-evaluate":iT,"aria-required-parent-matches":f3,"aria-roledescription-evaluate":rT,"aria-unsupported-attr-evaluate":eT,"aria-valid-attr-evaluate":Z5,"aria-valid-attr-value-evaluate":Y5,"attr-non-space-content-evaluate":d5,"autocomplete-appropriate-evaluate":h5,"autocomplete-matches":c3,"autocomplete-valid-evaluate":p5,"avoid-inline-spacing-evaluate":aC,"braille-label-equivalent-evaluate":X5,"braille-roledescription-equivalent-evaluate":U5,"bypass-matches":l3,"caption-evaluate":$S,"caption-faked-evaluate":HE,"color-contrast-evaluate":D5,"color-contrast-matches":n3,"css-orientation-lock-evaluate":MS,"data-table-large-matches":r3,"data-table-matches":e3,"deprecatedrole-evaluate":W5,"dlitem-evaluate":ek,"doc-has-title-evaluate":tC,"duplicate-id-active-matches":ZF,"duplicate-id-after":dC,"duplicate-id-aria-matches":KF,"duplicate-id-evaluate":uC,"duplicate-id-misc-matches":XF,"duplicate-img-label-evaluate":Sk,"exists-evaluate":QE,"explicit-evaluate":Ek,"fallbackrole-evaluate":G5,"focusable-content-evaluate":Xk,"focusable-disabled-evaluate":Wk,"focusable-element-evaluate":zk,"focusable-modal-open-evaluate":jk,"focusable-no-name-evaluate":Hk,"focusable-not-tabbable-evaluate":qk,"frame-focusable-content-evaluate":Ok,"frame-focusable-content-matches":WF,"frame-tested-after":VS,"frame-tested-evaluate":BS,"frame-title-has-text-matches":zF,"has-alt-evaluate":JE,"has-descendant-after":u5,"has-descendant-evaluate":s5,"has-global-aria-attribute-evaluate":j5,"has-implicit-chromium-role-matches":jF,"has-lang-evaluate":ok,"has-text-content-evaluate":i5,"has-widget-role-evaluate":H5,"heading-matches":HF,"heading-order-after":gS,"heading-order-evaluate":hS,"help-same-as-label-evaluate":_k,"hidden-content-evaluate":XA,"hidden-explicit-label-evaluate":xk,"html-namespace-matches":BF,"html5-scope-evaluate":qE,"identical-links-same-purpose-after":fS,"identical-links-same-purpose-evaluate":cS,"identical-links-same-purpose-matches":NF,"implicit-evaluate":yk,"inline-style-property-evaluate":XE,"inserted-into-focus-order-matches":MF,"internal-link-present-evaluate":LC,"invalid-children-evaluate":KS,"invalidrole-evaluate":q5,"is-element-focusable-evaluate":O5,"is-initiator-matches":T1,"is-on-screen-evaluate":UE,"is-visible-matches":IF,"is-visible-on-screen-matches":RF,"label-content-name-mismatch-evaluate":vk,"label-content-name-mismatch-matches":FF,"label-matches":kF,"landmark-has-body-context-matches":CF,"landmark-is-top-level-evaluate":Mk,"landmark-is-unique-after":ck,"landmark-is-unique-evaluate":lk,"landmark-unique-matches":_F,"layout-table-matches":DF,"link-in-text-block-evaluate":x5,"link-in-text-block-matches":wF,"link-in-text-block-style-evaluate":v5,"listitem-evaluate":YS,"matches-definition-evaluate":n5,"meta-refresh-evaluate":RC,"meta-viewport-scale-evaluate":LS,"multiple-label-evaluate":mk,"nested-interactive-matches":bF,"no-autoplay-audio-evaluate":NS,"no-autoplay-audio-matches":gF,"no-empty-role-matches":mF,"no-explicit-name-required-matches":k1,"no-focusable-content-evaluate":Ik,"no-implicit-explicit-label-evaluate":P5,"no-naming-method-matches":fF,"no-negative-tabindex-matches":cF,"no-role-matches":lF,"non-empty-if-present-evaluate":GE,"not-html-matches":oF,"object-is-loaded-matches":aF,"only-dlitems-evaluate":XS,"only-listitems-evaluate":US,"p-as-heading-evaluate":kC,"p-as-heading-matches":tF,"page-no-duplicate-after":r5,"page-no-duplicate-evaluate":e5,"presentation-role-conflict-matches":QT,"presentational-role-evaluate":$E,"region-after":AC,"region-evaluate":yC,"same-caption-summary-evaluate":PE,"scope-value-evaluate":LE,"scrollable-region-focusable-matches":YT,"skip-link-evaluate":vC,"skip-link-matches":XT,"structured-dlitems-evaluate":GS,"summary-interactive-matches":GT,"svg-namespace-matches":eu,"svg-non-empty-title-evaluate":jE,"tabindex-evaluate":Rk,"table-or-grid-role-matches":zT,"target-offset-evaluate":FS,"target-size-evaluate":DS,"td-has-header-evaluate":RE,"td-headers-attr-evaluate":TE,"th-has-data-cells-evaluate":kE,"title-only-evaluate":fk,"unique-frame-title-after":hC,"unique-frame-title-evaluate":pC,"unsupportedrole-evaluate":I5,"valid-lang-evaluate":nk,"valid-scrollable-semantics-evaluate":F5,"widget-not-inline-matches":HT,"window-is-top-matches":qT,"xml-lang-mismatch-evaluate":rk,"xml-lang-mismatch-matches":OT},Eo=_3;function A3(e){this.id=e.id,this.data=null,this.relatedNodes=[],this.result=null;}var tu=A3;function ru(e){if(typeof e=="string"){if(Eo[e])return Eo[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 R1(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return (Array.isArray(e)||ae(e)!=="object")&&(e={value:e}),e}function qa(e){e&&(this.id=e.id,this.configure(e));}qa.prototype.enabled=true,qa.prototype.run=function(t,r,a,n,i){r=r||{};var o=r.hasOwnProperty("enabled")?r.enabled:this.enabled,s=this.getOptions(r.options);if(o){var l=new tu(this),u=ys(l,r,n,i),c;try{c=this.evaluate.call(u,t.actualNode,s,t,a);}catch(d){t&&t.actualNode&&(d.errorNode=or.toSpec(t)),i(d);return}u.isAsync||(l.result=c,n(l));}else n(null);},qa.prototype.runSync=function(t,r,a){r=r||{};var n=r,i=n.enabled,o=i===void 0?this.enabled:i;if(!o)return null;var s=this.getOptions(r.options),l=new tu(this),u=ys(l);u.async=function(){throw new Error("Cannot run async check while in a synchronous run")};var c;try{c=this.evaluate.call(u,t.actualNode,s,t,a);}catch(d){throw t&&t.actualNode&&(d.errorNode=or.toSpec(t)),d}return l.result=c,l},qa.prototype.configure=function(t){var r=this;(!t.evaluate||Eo[t.evaluate])&&(this._internalCheck=true),t.hasOwnProperty("enabled")&&(this.enabled=t.enabled),t.hasOwnProperty("options")&&(this._internalCheck?this.options=R1(t.options):this.options=t.options),["evaluate","after"].filter(function(a){return t.hasOwnProperty(a)}).forEach(function(a){return r[a]=ru(t[a])});},qa.prototype.getOptions=function(t){return this._internalCheck?Is(this.options,R1(t||{})):t||this.options};var I1=qa;function E3(e){this.id=e.id,this.result=He.NA,this.pageLevel=e.pageLevel,this.impact=null,this.nodes=[];}var Co=E3;function $t(e,t){this._audit=t,this.id=e.id,this.selector=e.selector||"*",e.impact&&(Qe(He.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=ru(e.matches));}$t.prototype.matches=function(){return true},$t.prototype.gather=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a="mark_gather_start_"+this.id,n="mark_gather_end_"+this.id,i="mark_isVisibleToScreenReaders_start_"+this.id,o="mark_isVisibleToScreenReaders_end_"+this.id;r.performanceTimer&&rt.mark(a);var s=Ml(this.selector,t);return this.excludeHidden&&(r.performanceTimer&&rt.mark(i),s=s.filter(function(l){return pt(l)}),r.performanceTimer&&(rt.mark(o),rt.measure("rule_"+this.id+"#gather_axe.utils.isVisibleToScreenReaders",i,o))),r.performanceTimer&&(rt.mark(n),rt.measure("rule_"+this.id+"#gather",a,n)),s},$t.prototype.runChecks=function(t,r,a,n,i,o){var s=this,l=xr();this[t].forEach(function(u){var c=s._audit.checks[u.id||u],d=so(c,s.id,a);l.defer(function(g,D){c.run(r,d,n,g,function(C){D(new mo({ruleId:s.id,method:"".concat(c.id,"#evaluate"),errorNode:new ir(r),error:C}));});});}),l.then(function(u){u=u.filter(function(c){return c}),i({type:t,results:u});}).catch(o);},$t.prototype.runChecksSync=function(t,r,a,n){var i=this,o=[];return this[t].forEach(function(s){var l=i._audit.checks[s.id||s],u=so(l,i.id,a);o.push(l.runSync(r,u,n));}),o=o.filter(function(s){return s}),{type:t,results:o}},$t.prototype.run=function(t){var r=this,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0;a.performanceTimer&&this._trackPerformance();var o=xr(),s=new Co(this),l;try{l=this.gatherAndMatchNodes(t,a);}catch(u){i(u);return}a.performanceTimer&&this._logGatherPerformance(l),l.forEach(function(u){o.defer(function(c,d){var g=xr();["any","all","none"].forEach(function(D){g.defer(function(C,R){r.runChecks(D,u,a,t,C,R);});}),g.then(function(D){var C=L1(D);C&&(C.node=new ir(u),s.nodes.push(C),r.reviewOnFail&&(["any","all"].forEach(function(R){C[R].forEach(function(I){I.result===false&&(I.result=void 0);});}),C.none.forEach(function(R){R.result===true&&(R.result=void 0);}))),c();}).catch(function(D){return d(D)});});}),o.then(function(){a.performanceTimer&&r._logRulePerformance(),setTimeout(function(){n(s);},0);}).catch(function(u){a.performanceTimer&&r._logRulePerformance(),i(u);});},$t.prototype.runSync=function(t){var r=this,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};a.performanceTimer&&this._trackPerformance();var n=new Co(this),i=this.gatherAndMatchNodes(t,a);return a.performanceTimer&&this._logGatherPerformance(i),i.forEach(function(o){var s=[];["any","all","none"].forEach(function(u){s.push(r.runChecksSync(u,o,a,t));});var l=L1(s);l&&(l.node=o.actualNode?new ir(o):null,n.nodes.push(l),r.reviewOnFail&&(["any","all"].forEach(function(u){l[u].forEach(function(c){c.result===false&&(c.result=void 0);});}),l.none.forEach(function(u){u.result===true&&(u.result=void 0);})));}),a.performanceTimer&&this._logRulePerformance(),n},$t.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;},$t.prototype._logGatherPerformance=function(t){fa("gather for ".concat(this.id," (").concat(t.length," nodes): ").concat(rt.timeElapsed(),"ms")),rt.mark(this._markChecksStart);},$t.prototype._logRulePerformance=function(){rt.mark(this._markChecksEnd),rt.mark(this._markEnd),rt.measure("runchecks_"+this.id,this._markChecksStart,this._markChecksEnd),rt.measure("rule_"+this.id,this._markStart,this._markEnd);};function L1(e){if(e.length){var t=false,r={};return e.forEach(function(a){var n=a.results.filter(function(i){return i});r[a.type]=n,n.length&&(t=true);}),t?r:null}}$t.prototype.gatherAndMatchNodes=function(t,r){var a=this,n="mark_matches_start_"+this.id,i="mark_matches_end_"+this.id,o=this.gather(t,r);return r.performanceTimer&&rt.mark(n),o=o.filter(function(s){try{return a.matches(s.actualNode,s,t)}catch(l){throw new mo({ruleId:a.id,method:"#matches",errorNode:new ir(s),error:l})}}),r.performanceTimer&&(rt.mark(i),rt.measure("rule_"+this.id+"#matches",n,i)),o};function C3(e){return Oi(e).map(function(t){var r=e._audit.checks[t.id||t];return r&&typeof r.after=="function"?r:null}).filter(Boolean)}function S3(e,t){var r=[];return e.forEach(function(a){var n=Oi(a);n.forEach(function(i){i.id===t&&(i.node=a.node,r.push(i));});}),r}function k3(e){return e.filter(function(t){return t.filtered!==true})}function T3(e){var t=["any","all","none"],r=e.nodes.filter(function(a){var n=0;return t.forEach(function(i){a[i]=k3(a[i]),n+=a[i].length;}),n>0});return e.pageLevel&&r.length&&(r=[r.reduce(function(a,n){if(a)return t.forEach(function(i){a[i].push.apply(a[i],n[i]);}),a})]),r}$t.prototype.after=function(t,r){var a=this,n=C3(this);return n.forEach(function(i){var o=S3(t.nodes,i.id),s=so(i,a.id,r),l;try{l=i.after(o,s.options);}catch(c){var u;throw new mo({ruleId:a.id,method:"".concat(i.id,"#after"),errorNode:(u=t.nodes)===null||u===void 0||(u=u[0])===null||u===void 0?void 0:u.node,error:c})}a.reviewOnFail&&l.forEach(function(c){var d=(a.any.includes(c.id)||a.all.includes(c.id))&&c.result===false,g=a.none.includes(c.id)&&c.result===true;(d||g)&&(c.result=void 0);}),o.forEach(function(c){delete c.node,l.indexOf(c)===-1&&(c.filtered=true);});}),t.nodes=T3(t),t},$t.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=ru(t.matches)),t.impact&&(Qe(He.impact.includes(t.impact),"Impact ".concat(t.impact," is not a valid impact")),this.impact=t.impact);};var Ba=/\{\{.+?\}\}/g,F3=(function(){function e(t){gt(this,e),this.lang="en",this.defaultConfig=t,this.standards=et,this._init(),this._defaultLocale=null;}return tt(e,[{key:"_setDefaultLocale",value:function(){if(!this._defaultLocale){for(var r={checks:{},rules:{},failureSummaries:{},incompleteFallbackMessage:"",lang:this.lang},a=Object.keys(this.data.checks),n=0;n<a.length;n++){var i=a[n],o=this.data.checks[i],s=o.messages,l=s.pass,u=s.fail,c=s.incomplete;r.checks[i]={pass:l,fail:u,incomplete:c};}for(var d=Object.keys(this.data.rules),g=0;g<d.length;g++){var D=d[g],C=this.data.rules[D],R=C.description,I=C.help;r.rules[D]={description:R,help:I};}for(var P=Object.keys(this.data.failureSummaries),M=0;M<P.length;M++){var q=P[M],B=this.data.failureSummaries[q],V=B.failureMessage;r.failureSummaries[q]={failureMessage:V};}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 a=Object.keys(r),n=0;n<a.length;n++){var i=a[n];if(!this.data.checks[i])throw new Error('Locale provided for unknown check: "'.concat(i,'"'));this.data.checks[i]=I3(this.data.checks[i],r[i]);}}},{key:"_applyRuleLocale",value:function(r){for(var a=Object.keys(r),n=0;n<a.length;n++){var i=a[n];if(!this.data.rules[i])throw new Error('Locale provided for unknown rule: "'.concat(i,'"'));this.data.rules[i]=L3(this.data.rules[i],r[i]);}}},{key:"_applyFailureSummaries",value:function(r){for(var a=Object.keys(r),n=0;n<a.length;n++){var i=a[n];if(!this.data.failureSummaries[i])throw new Error('Locale provided for unknown failureMessage: "'.concat(i,'"'));this.data.failureSummaries[i]=P3(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=M3(this.data.incompleteFallbackMessage,r.incompleteFallbackMessage)),r.lang&&(this.lang=r.lang);}},{key:"setAllowedOrigins",value:function(r){var a=M1();this.allowedOrigins=[];var n=Ge(r),i;try{for(n.s();!(i=n.n()).done;){var o=i.value;if(o===He.allOrigins){this.allowedOrigins=["*"];return}else o!==He.sameOrigin?this.allowedOrigins.push(o):a&&this.allowedOrigins.push(a);}}catch(s){n.e(s);}finally{n.f();}}},{key:"_init",value:function(){var r=R3(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,O1(r.rules,this,"addRule"),O1(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 a=this.getRule(r.id);a?a.configure(r):this.rules.push(new $t(r,this));}},{key:"addCheck",value:function(r){var a=r.metadata;ae(a)==="object"&&(this.data.checks[r.id]=a,ae(a.messages)==="object"&&Object.keys(a.messages).filter(function(n){return a.messages.hasOwnProperty(n)&&typeof a.messages[n]=="string"}).forEach(function(n){a.messages[n].indexOf("function")===0&&(a.messages[n]=new Function("return "+a.messages[n]+";")());})),this.checks[r.id]?this.checks[r.id].configure(r):this.checks[r.id]=new I1(r);}},{key:"run",value:function(r,a,n,i){this.normalizeOptions(a),ir.setRunOptions(a),m._selectCache=[];var o=O3(this.rules,r,a),s=o.now,l=o.later,u=xr();s.forEach(function(g){u.defer(N1(g,r,a));});var c=xr();l.length&&c.defer(function(g){lm(a).then(function(D){return g(D)}).catch(function(D){console.warn("Couldn't load preload assets: ",D),g(void 0);});});var d=xr();d.defer(u),d.defer(c),d.then(function(g){var D=g.pop();if(D&&D.length){var C=D[0];C&&(r=Te({},r,C));}var R=g[0];if(!l.length){m._selectCache=void 0,n(R.filter(function(P){return !!P}));return}var I=xr();l.forEach(function(P){var M=N1(P,r,a);I.defer(M);}),I.then(function(P){m._selectCache=void 0,n(R.concat(P).filter(function(M){return !!M}));}).catch(i);}).catch(i);}},{key:"after",value:function(r,a){var n=this.rules;return r.map(function(i){if(i.error)return i;var o=yn(n,"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,a)}catch(s){if(a.debug)throw s;return q1(o,s)}})}},{key:"getRule",value:function(r){return this.rules.find(function(a){return a.id===r})}},{key:"normalizeOptions",value:function(r){var a=this,n=[],i=[];if(a.rules.forEach(function(c){i.push(c.id),c.tags.forEach(function(d){n.includes(d)||n.push(d);});}),["object","string"].includes(ae(r.runOnly))){if(typeof r.runOnly=="string"&&(r.runOnly=[r.runOnly]),Array.isArray(r.runOnly)){var o=r.runOnly.find(function(c){return n.includes(c)}),s=r.runOnly.find(function(c){return i.includes(c)});if(o&&s)throw new Error("runOnly cannot be both rules and tags");s?r.runOnly={type:"rule",values:r.runOnly}:r.runOnly={type:"tag",values:r.runOnly};}var l=r.runOnly;if(l.value&&!l.values&&(l.values=l.value,delete l.value),!Array.isArray(l.values)||l.values.length===0)throw new Error("runOnly.values must be a non-empty array");if(["rule","rules"].includes(l.type))l.type="rule",l.values.forEach(function(c){if(!i.includes(c))throw new Error("unknown rule `"+c+"` in options.runOnly")});else if(["tag","tags",void 0].includes(l.type)){l.type="tag";var u=l.values.filter(function(c){return !n.includes(c)&&!/wcag2[1-3]a{1,3}/.test(c)});u.length!==0&&m.log("Could not find tags `"+u.join("`, `")+"`");}else throw new Error("Unknown runOnly type '".concat(l.type,"'"))}return ae(r.rules)==="object"&&Object.keys(r.rules).forEach(function(c){if(!i.includes(c))throw new Error("unknown rule `"+c+"` in options.rules")}),r}},{key:"setBranding",value:function(r){var a={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(a);}},{key:"_constructHelpUrls",value:function(){var r=this,a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,n=(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"||a&&o.helpUrl===B1(a,i.id,n))&&(o.helpUrl=B1(r,i.id,n));});}},{key:"resetRulesAndChecks",value:function(){this._init(),this._resetLocale();}}])})(),P1=F3;function M1(){if(p.origin&&p.origin!=="null")return p.origin;if(p.location&&p.location.origin&&p.location.origin!=="null")return p.location.origin}function R3(e){var t;if(e?(t=Ir(e),t.commons=e.commons):t={},t.reporter=t.reporter||null,t.noHtml=t.noHtml||false,!t.allowedOrigins){var r=M1();t.allowedOrigins=r?[r]:[];}return t.rules=t.rules||[],t.checks=t.checks||[],t.data=Te({checks:{},rules:{}},t.data),t}function O1(e,t,r){var a,n;for(a=0,n=e.length;a<n;a++)t[r](e[a]);}var I3=function(t,r){var a=r.pass,n=r.fail;return typeof a=="string"&&Ba.test(a)&&(a=zr.default.compile(a)),typeof n=="string"&&Ba.test(n)&&(n=zr.default.compile(n)),Te({},t,{messages:{pass:a||t.messages.pass,fail:n||t.messages.fail,incomplete:ae(t.messages.incomplete)==="object"?Te({},t.messages.incomplete,r.incomplete):r.incomplete}})},L3=function(t,r){var a=r.help,n=r.description;return typeof a=="string"&&Ba.test(a)&&(a=zr.default.compile(a)),typeof n=="string"&&Ba.test(n)&&(n=zr.default.compile(n)),Te({},t,{help:a||t.help,description:n||t.description})},P3=function(t,r){var a=r.failureMessage;return typeof a=="string"&&Ba.test(a)&&(a=zr.default.compile(a)),Te({},t,{failureMessage:a||t.failureMessage})},M3=function(t,r){return typeof r=="string"&&Ba.test(r)&&(r=zr.default.compile(r)),r||t};function O3(e,t,r){var a={now:[],later:[]},n=e.reduce(function(i,o){return pm(o,t,r)?o.preload?(i.later.push(o),i):(i.now.push(o),i):i},a);return n}function N1(e,t,r){return r.performanceTimer&&rt.mark("mark_rule_start_"+e.id),function(a,n){e.run(t,r,function(i){return a(i)},function(i){r.debug?n(i):a(q1(e,i));});}}function q1(e,t){var r=t.errorNode,a=po(t),n=[{id:"error-occurred",result:void 0,data:a,relatedNodes:[]}],i=r||new ir(h.documentElement);return Object.assign(new Co(e),{error:a,result:He.CANTTELL,nodes:[{any:[],all:[],none:n,node:i}]})}function B1(e,t,r){var a=e.brand,n=e.application,i=e.lang;return He.helpUrlBase+a+"/"+(r||m.version.substring(0,m.version.lastIndexOf(".")))+"/"+t+"?application="+encodeURIComponent(n)+(i&&i!=="en"?"&lang="+encodeURIComponent(i):"")}function H1(e){var t=p&&"Node"in p&&"NodeList"in p,r=!!h;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||(Be.set("globalDocumentSet",true),h=e.ownerDocument),t||(Be.set("globalWindowSet",true),p=h.defaultView);}}function N3(){Be.get("globalDocumentSet")&&(Be.set("globalDocumentSet",false),h=null),Be.get("globalWindowSet")&&(Be.set("globalWindowSet",false),p=null);}function q3(){N3(),m._memoizedFns.forEach(function(e){return e.clear()}),Be.clear(),m._tree=void 0,m._selectorData=void 0,m._selectCache=void 0;}var aa=q3;function V1(e,t,r,a){try{e=new lo(e),m._tree=e.flatTree,m._selectorData=Ti(e.flatTree);}catch(o){return aa(),a(o)}var n=xr(),i=m._audit;t.performanceTimer&&rt.auditStart(),e.frames.length&&t.iframes!==false&&n.defer(function(o,s){Zd(e,t,"rules",null,o,s);}),n.defer(function(o,s){i.run(e,t,o,s);}),n.then(function(o){try{t.performanceTimer&&rt.auditEnd();var s=Ni(o.map(function(l){return {results:l}}));e.initiator&&(t.performanceTimer&&rt.mark("auditAfterStart"),s=i.after(s,t),t.performanceTimer&&(rt.mark("auditAfterEnd"),rt.measure("audit.after","auditAfterStart","auditAfterEnd"),rt.logMeasures("audit.after")),s.forEach(fo),s=s.map(Qa));try{r(s,aa);}catch(l){aa(),fa(l);}}catch(l){aa(),a(l);}}).catch(function(o){aa(),a(o);});}function B3(e){m._audit=new P1(e);}function H3(e,t,r){var a=r,n=function(l){l instanceof Error||(l=new Error(l)),r(l);},i=e&&e.context||{};i.hasOwnProperty("include")&&!i.include.length&&(i.include=[h]);var o=e&&e.options||{};switch(e.command){case "rules":return V1(i,o,function(s,l){s=or.mapRawResults(s),a(s),l();},n);case "cleanup-plugin":return Dm(a,n);default:if(m._audit&&m._audit.commands&&m._audit.commands[e.command])return m._audit.commands[e.command](e,r)}}p.top!==p&&(hr.subscribe("axe.start",H3),hr.subscribe("axe.ping",function(e,t,r){r({axe:true});}));function jn(e){this._run=e.run,this._collect=e.collect,this._registry={},e.commands.forEach(function(t){m._audit.registerCommand(t);});}jn.prototype.run=function(){return this._run.apply(this,arguments)},jn.prototype.collect=function(){return this._collect.apply(this,arguments)},jn.prototype.cleanup=function(t){var r=m.utils.queue(),a=this;Object.keys(this._registry).forEach(function(n){r.defer(function(i){a._registry[n].cleanup(i);});}),r.then(t);},jn.prototype.add=function(t){this._registry[t.id]=t;};function V3(e){m.plugins[e.id]=new jn(e);}var j3=V3;function $3(){var e=m._audit;if(!e)throw new Error("No audit configured");e.resetRulesAndChecks(),lD();}var z3=$3;function G3(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 Ft||(t=new xm(t));var a=Xp(e);if(!a)throw new Error("unknown rule `"+e+"`");a=Object.create(a,{excludeHidden:{value:false}});var n={initiator:true,include:[t],exclude:[],frames:[],page:false,focusable:true,size:{},flatTree:[]},i=a.runSync(n,r);fo(i),Qa(i);var o=uc([i]);return o.violations.forEach(function(s){return s.nodes.forEach(function(l){l.failureSummary=_l(l);})}),Te({},ta(),o,{toolOptions:r})}function j1(e){var t,r,a,n=le(e,3),i=n[0],o=n[1],s=n[2],l=new TypeError("axe.run arguments are invalid");if(!Zp(i)){if(s!==void 0)throw l;s=o,o=i,i=h;}if(ae(o)!=="object"){if(s!==void 0)throw l;s=o,o={};}if(typeof s!="function"&&s!==void 0)throw l;return o=Ir(o),o.reporter=(t=(r=o.reporter)!==null&&r!==void 0?r:(a=m._audit)===null||a===void 0?void 0:a.reporter)!==null&&t!==void 0?t:"v1",{context:i,options:o,callback:s}}var au=function(){};function W3(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];H1(t[0]);var a=j1(t),n=a.context,i=a.options,o=a.callback,s=o===void 0?au:o,l=U3(s),u=l.thenable,c=l.resolve,d=l.reject;try{Qe(m._audit,"No audit configured"),Qe(!m._running,"Axe is already running. Use `await axe.run()` to wait for the previous run to finish before starting a new run.");}catch(C){return Y3(C,s)}m._running=true,i.performanceTimer&&rt.start();function g(C,R){var I=function(q){i.performanceTimer&&(rt.mark("reporterEnd"),rt.measure("reporter","reporterStart","reporterEnd"),rt.logMeasures("reporter"),rt.end()),m._running=false,R();try{c(q);}catch(B){m.log(B);}},P=function(q){m._running=false,R();try{d(q);}catch(B){m.log(B);}};try{i.performanceTimer&&rt.mark("reporterStart"),X3(C,i,I,P);}catch(M){P(M);}}function D(C){i.performanceTimer&&rt.end(),m._running=false,s(C),d(C);}return m._runRules(n,i,g,D),u}function U3(e){var t,r,a;return typeof Promise=="function"&&e===au?t=new Promise(function(n,i){r=i,a=n;}):(a=function(i){return e(null,i)},r=function(i){return e(i)}),{thenable:t,reject:r,resolve:a}}function X3(e,t,r,a){var n=ql(t.reporter),i=n(e,t,r,a);i!==void 0&&r(i);}function Y3(e,t){if(typeof t=="function"&&t!==au){t(e.message);return}throw e}function K3(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var a=j1(t),n=a.options,i=a.context;Qe(m._audit,"Axe is not configured. Audit is missing."),Qe(!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 lo(i,m._tree);return m._tree=o.flatTree,m._selectorData=Ti(o.flatTree),m._running=true,n.elementRef=false,new Promise(function(s,l){m._audit.run(o,n,s,l);}).then(function(s){s=or.mapRawResults(s);var l=o.frames.map(function(c){var d=c.node;return or.toSpec(d)}),u;return o.initiator&&(u=ta()),m._running=false,aa(),{results:s,frames:l,environmentData:u}}).catch(function(s){return m._running=false,aa(),Promise.reject(s)})}function J3(e){var t,r,a,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};n=Ir(n);var i=e.find(function(l){return l.environmentData})||{},o=i.environmentData;m._audit.normalizeOptions(n),n.reporter=(t=(r=n.reporter)!==null&&r!==void 0?r:(a=m._audit)===null||a===void 0?void 0:a.reporter)!==null&&t!==void 0?t:"v1",Z3(e);var s=Ni(e);return s=m._audit.after(s,n),s.forEach(fo),s=s.map(Qa),eR(s,Te({environmentData:o},n))}function Z3(e){var t=[],r=Ge(e),a;try{for(r.s();!(a=r.n()).done;){var n=a.value,i=t.shift();if(n){n.frameSpec=i??null;var o=Q3(n);t.unshift.apply(t,_e(o));}}}catch(s){r.e(s);}finally{r.f();}}function Q3(e){var t=e.frames,r=e.frameSpec;return r?t.map(function(a){return or.mergeSpecs(a,r)}):t}function eR(e,t){return new Promise(function(r,a){var n=ql(t.reporter);n(e,t,r,a);})}function tR(e){if(m._tree)throw new Error("Axe is already setup. Call `axe.teardown()` before calling `axe.setup` again.");return e&&ae(e.documentElement)==="object"&&ae(e.defaultView)==="object"&&(e=e.documentElement),H1(e),m._tree=xl(e),m._selectorData=Ti(m._tree),m._tree[0]}var rR=tR,aR=function(t,r,a){console.warn('"na" reporter will be deprecated in axe v4.0. Use the "v2" reporter instead.'),typeof r=="function"&&(a=r,r={});var n=r,i=n.environmentData,o=Ce(n,z);a(Te({},ta(i),{toolOptions:o},Pn(t,r)));},nR=aR,iR=function(t,r,a){typeof r=="function"&&(a=r,r={});var n=r,i=n.environmentData,o=Ce(n,K);r.resultTypes=["violations"];var s=Pn(t,r),l=s.violations;a(Te({},ta(i),{toolOptions:o,violations:l}));},oR=iR,sR=function(t,r,a){if(typeof r=="function"&&(a=r,r={}),!t||!Array.isArray(t))return a(t);var n=t.map(function(i){for(var o=Te({},i),s=["passes","violations","incomplete","inapplicable"],l=0,u=s;l<u.length;l++){var c=u[l];o[c]=or.mapRawNodeResults(o[c]);}return o});a(n);},$1=sR,lR=function(t,r,a){typeof r=="function"&&(a=r,r={});var n=r,i=n.environmentData,o=Ce(n,j);$1(t,o,function(s){var l=ta(i);a({raw:s,env:l});});},uR=lR,cR=function(t,r,a){typeof r=="function"&&(a=r,r={});var n=r,i=n.environmentData,o=Ce(n,W),s=Pn(t,r),l=function(c){c.nodes.forEach(function(d){d.failureSummary=_l(d);});};s.incomplete.forEach(l),s.violations.forEach(l),a(Te({},ta(i),{toolOptions:o},s));},dR=cR,fR=function(t,r,a){typeof r=="function"&&(a=r,r={});var n=r,i=n.environmentData,o=Ce(n,Z),s=Pn(t,r);a(Te({},ta(i),{toolOptions:o},s));},pR=fR,mR={base:{Audit:P1,CheckResult:tu,Check:I1,Context:lo,RuleResult:Co,Rule:$t,metadataFunctionMap:Eo},public:{reporters:On},helpers:{failureSummary:_l,incompleteFallbackMessage:Al,processAggregate:Pn},utils:{setDefaultFrameMessenger:Wd,cacheNodeSelectors:Hp,getNodesMatchingExpression:qp,convertSelector:Ri},commons:{dom:{nativelyHidden:rf,displayHidden:af,visibilityHidden:nf,contentVisibiltyHidden:of,ariaHidden:sf,opacityHidden:lf,scrollHidden:uf,overflowHidden:cf,clipHidden:df,areaHidden:Os,detailsHidden:ff}}},hR=mR;m._thisWillBeDeletedDoNotUse=hR,m.constants=He,m.log=fa,m.AbstractVirtualNode=Ft,m.SerialVirtualNode=xm,m.VirtualNode=bl,m._cache=Be,m.imports=pc,m.cleanup=Dm,m.configure=$A,m.frameMessenger=zA,m.getRules=WA,m._load=B3,m.plugins={},m.registerPlugin=j3,m.hasReporter=Am,m.getReporter=ql,m.addReporter=VA,m.reset=z3,m._runRules=V1,m.runVirtualRule=G3,m.run=W3,m.setup=rR,m.teardown=aa,m.runPartial=K3,m.finishRun=J3,m.commons=Wm,m.utils=Go,m.addReporter("na",nR),m.addReporter("no-passes",oR),m.addReporter("rawEnv",uR),m.addReporter("raw",$1),m.addReporter("v1",dR),m.addReporter("v2",pR,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(J){var ce="Fix any of the following:",ye=J;if(ye)for(var ot,wt=-1,Pt=ye.length-1;wt<Pt;)ot=ye[wt+=1],ce+=`
371
- `+ot.split(`
368
+ `)}var Fl=P2;function Rl(){var e=h._audit.data.incompleteFallbackMessage;return typeof e=="function"&&(e=e()),typeof e!="string"?"":e}var Jp=je.resultGroups;function Nn(e,t){var r=h.utils.aggregateResult(e);return Jp.forEach(function(a){t.resultTypes&&!t.resultTypes.includes(a)&&(r[a]||[]).forEach(function(n){Array.isArray(n.nodes)&&n.nodes.length>0&&(n.nodes=[n.nodes[0]]);}),r[a]=(r[a]||[]).map(function(n){return n=Object.assign({},n),Array.isArray(n.nodes)&&n.nodes.length>0&&(n.nodes=n.nodes.map(function(i){if(ie(i.node)==="object"){var o=Zp(i.node,t);Object.assign(i,o);}return delete i.result,delete i.node,M2(i,t),i})),Jp.forEach(function(i){return delete n[i]}),delete n.pageLevel,delete n.result,n});}),r}function M2(e,t){["any","all","none"].forEach(function(r){Array.isArray(e[r])&&e[r].filter(function(a){return Array.isArray(a.relatedNodes)}).forEach(function(a){a.relatedNodes=a.relatedNodes.map(function(n){return Zp(n,t)});});});}function Zp(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;e=lr.dqElmToSpec(e,t);var r={};if(h._audit.noHtml)r.html=null;else {var a;r.html=(a=e.source)!==null&&a!==void 0?a:"Undefined";}if(t.elementRef&&!e.fromFrame){var n;r.element=(n=e.element)!==null&&n!==void 0?n: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 O2=/\$\{\s?data\s?\}/g;function lo(e,t){if(typeof t=="string")return e.replace(O2,t);for(var r in t)if(t.hasOwnProperty(r)){var a=new RegExp("\\${\\s?data\\."+r+"\\s?}","g"),n=typeof t[r]>"u"?"":String(t[r]);e=e.replace(a,n);}return e}function Qp(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 lo(r,t)}return lo(e,t)}if(typeof e=="string")return lo(e,t);if(typeof t=="string"){var a=e[t];return lo(a,t)}var n=e.default||Rl();return t&&t.messageKey&&e[t.messageKey]&&(n=e[t.messageKey]),Qp(n,t)}}var Il=Qp;function N2(e,t,r){var a=h._audit.data.checks[e];if(!a)throw new Error("Cannot get message for unknown check: ".concat(e,"."));if(!a.messages[t])throw new Error('Check "'.concat(e,'"" does not have a "').concat(t,'" message.'));return Il(a.messages[t],r)}var q2=N2;function B2(e,t,r){var a=((r.rules&&r.rules[t]||{}).checks||{})[e.id],n=(r.checks||{})[e.id],i=e.enabled,o=e.options;return n&&(n.hasOwnProperty("enabled")&&(i=n.enabled),n.hasOwnProperty("options")&&(o=n.options)),a&&(a.hasOwnProperty("enabled")&&(i=a.enabled),a.hasOwnProperty("options")&&(o=a.options)),{enabled:i,options:o,absolutePaths:r.absolutePaths}}var uo=B2;function ra(){var e,t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:p;return t&&ie(t)==="object"?t:ie(r)!=="object"?{}:{testEngine:{name:"axe-core",version:h.version},testRunner:{name:h._audit.brand},testEnvironment:H2(r),timestamp:new Date().toISOString(),url:(e=r.location)===null||e===void 0?void 0:e.href}}function H2(e){if(!e.navigator||ie(e.navigator)!=="object")return {};var t=e.navigator,r=e.innerHeight,a=e.innerWidth,n=V2(e)||{},i=n.angle,o=n.type;return {userAgent:t.userAgent,windowWidth:a,windowHeight:r,orientationAngle:i,orientationType:o}}function V2(e){var t=e.screen;return t.orientation||t.msOrientation||t.mozOrientation}function em(e,t){var r=t.focusable,a=t.page;return {node:e,include:[],exclude:[],initiator:false,focusable:r&&j2(e),size:$2(e),page:a}}function j2(e){var t=kr(e.getAttribute("tabindex"));return t===null||t>=0}function $2(e){var t=parseInt(e.getAttribute("width"),10),r=parseInt(e.getAttribute("height"),10);if(isNaN(t)||isNaN(r)){var a=e.getBoundingClientRect();t=isNaN(t)?a.width:t,r=isNaN(r)?a.height:r;}return {width:t,height:r}}function z2(e){if(Pl(e)){var t=" must be used inside include or exclude. It should not be on the same object.";aa(!Sr(e,"fromFrames"),"fromFrames"+t),aa(!Sr(e,"fromShadowDom"),"fromShadowDom"+t);}else if(fo(e))e={include:e,exclude:[]};else return {include:[m],exclude:[]};var r=tm(e.include);r.length===0&&r.push(m);var a=tm(e.exclude);return {include:r,exclude:a}}function tm(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=[];Ll(e)||(e=[e]);for(var r=0;r<e.length;r++){var a=G2(e[r]);a&&t.push(a);}return t}function G2(e){return e instanceof p.Node?e:typeof e=="string"?[e]:(Ml(e)?(U2(e),e=e.fromFrames):po(e)&&(e=[e]),W2(e))}function W2(e){if(Array.isArray(e)){var t=[],r=Ke(e),a;try{for(r.s();!(a=r.n()).done;){var n=a.value;if(po(n)&&(X2(n),n=n.fromShadowDom),typeof n!="string"&&!Y2(n))return;t.push(n);}}catch(i){r.e(i);}finally{r.f();}return t}}function U2(e){aa(Array.isArray(e.fromFrames),"fromFrames property must be an array"),aa(e.fromFrames.every(function(t){return !Sr(t,"fromFrames")}),"Invalid context; fromFrames selector must be appended, rather than nested"),aa(!Sr(e,"fromShadowDom"),"fromFrames and fromShadowDom cannot be used on the same object");}function X2(e){aa(Array.isArray(e.fromShadowDom),"fromShadowDom property must be an array"),aa(e.fromShadowDom.every(function(t){return !Sr(t,"fromFrames")}),"shadow selector must be inside fromFrame instead"),aa(e.fromShadowDom.every(function(t){return !Sr(t,"fromShadowDom")}),"fromShadowDom selector must be appended, rather than nested");}function Y2(e){return Array.isArray(e)&&e.every(function(t){return typeof t=="string"})}function aa(e,t){Qe(e,"Invalid context; ".concat(t,`
369
+ See: https://github.com/dequelabs/axe-core/blob/master/doc/context.md`));}function rm(e,t){for(var r=[],a=0,n=e[t].length;a<n;a++){var i=e[t][a];if(i instanceof p.Node)if(i.documentElement instanceof p.Node)r.push(e.flatTree[0]);else if(i.host instanceof p.Node){var o=Array.from(i.children).map(function(l){return ze(l)});r.push.apply(r,ke(o));}else r.push(ze(i));else if(i&&i.length)if(i.length>1)K2(e,t,i);else {var s=$l(i[0]);r.push.apply(r,ke(s.map(function(l){return ze(l)})));}}return r.filter(function(l){return l})}function K2(e,t,r){e.frames=e.frames||[];var a=r.shift(),n=$l(a);n.forEach(function(i){var o=e.frames.find(function(s){return s.node===i});o||(o=em(i,e),e.frames.push(o)),o[t].push(r);});}function co(e,t){var r,a,n,i,o=this;e=Mr(e),this.frames=[],this.page=typeof((r=e)===null||r===void 0?void 0:r.page)=="boolean"?e.page:void 0,this.initiator=typeof((a=e)===null||a===void 0?void 0:a.initiator)=="boolean"?e.initiator:true,this.focusable=typeof((n=e)===null||n===void 0?void 0:n.focusable)=="boolean"?e.focusable:true,this.size=ie((i=e)===null||i===void 0?void 0:i.size)==="object"?e.size:{},e=z2(e),this.flatTree=t??kl(eA(e)),this.exclude=e.exclude,this.include=e.include,this.include=rm(this,"include"),this.exclude=rm(this,"exclude"),jl("frame, iframe",this).forEach(function(s){Nl(s,o)&&J2(o,s.actualNode);}),typeof this.page>"u"&&(this.page=Z2(this),this.frames.forEach(function(s){s.page=o.page;})),Q2(this),Array.isArray(this.include)||(this.include=Array.from(this.include)),this.include.sort(Bl);}function J2(e,t){!pt(t)||Dn(e.frames,"node",t)||e.frames.push(em(t,e));}function Z2(e){var t=e.include;return t.length===1&&t[0].actualNode===m.documentElement}function Q2(e){if(e.include.length===0&&e.frames.length===0){var t=vr.isInFrame()?"frame":"page";throw new Error("No elements found for include in "+t+" Context")}}function eA(e){for(var t=e.include,r=e.exclude,a=Array.from(t).concat(Array.from(r)),n=0;n<a.length;n++){var i=a[n];if(i instanceof p.Element)return i.ownerDocument.documentElement;if(i instanceof p.Document)return i.documentElement}return m.documentElement}function tA(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(t.iframes===false)return [];var r=new co(e),a=r.frames;return a.map(function(n){var i=n.node,o=he(n,$);o.initiator=false;var s=Ii(i);return {frameSelector:s,frameContext:o}})}function am(e){var t=h._audit.rules.find(function(r){var a=r.id;return a===e});if(!t)throw new Error("Cannot find rule by id: ".concat(e));return t}function rA(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,r=e.scrollWidth>e.clientWidth+t,a=e.scrollHeight>e.clientHeight+t;if(r||a){var n=p.getComputedStyle(e),i=nm(n,"overflow-x"),o=nm(n,"overflow-y");if(r&&i||a&&o)return {elm:e,top:e.scrollTop,left:e.scrollLeft}}}function nm(e,t){var r=e.getPropertyValue(t);return ["scroll","auto"].includes(r)}var Br=lt(rA);function im(e){return Array.from(e.children||e.childNodes||[]).reduce(function(t,r){var a=Br(r);return a&&t.push(a),t.concat(im(r))},[])}function aA(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:p,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(im(m.body))}var nA=aA;function iA(){return Mr(et)}function oA(e){if(!e)throw new Error("axe.utils.getStyleSheetFactory should be invoked with an argument");return function(t){var r=t.data,a=t.isCrossOrigin,n=a===void 0?false:a,i=t.shadowId,o=t.root,s=t.priority,l=t.isLink,u=l===void 0?false:l,c=e.createElement("style");if(u){var f=e.createTextNode('@import "'.concat(r.href,'"'));c.appendChild(f);}else c.appendChild(e.createTextNode(r));return e.head.appendChild(c),{sheet:c.sheet,isCrossOrigin:n,shadowId:i,root:o,priority:s}}}var om=oA,Qt;function sA(e){if(Qt&&Qt.parentNode)return Qt.styleSheet===void 0?Qt.appendChild(m.createTextNode(e)):Qt.styleSheet.cssText+=e,Qt;if(e){var t=m.head||m.getElementsByTagName("head")[0];return Qt=m.createElement("style"),Qt.type="text/css",Qt.styleSheet===void 0?Qt.appendChild(m.createTextNode(e)):Qt.styleSheet.cssText=e,t.appendChild(Qt),Qt}}var lA=sA;function Ll(e){return !!e&&ie(e)==="object"&&typeof e.length=="number"&&!(e instanceof p.Node)}function Sr(e,t){return !e||ie(e)!=="object"?false:Object.prototype.hasOwnProperty.call(e,t)}function sm(e){return Pl(e)||fo(e)}function Pl(e){return ["include","exclude"].some(function(t){return Sr(e,t)&&fo(e[t])})}function fo(e){return typeof e=="string"||e instanceof p.Node||Ml(e)||po(e)||Ll(e)}function Ml(e){return Sr(e,"fromFrames")}function po(e){return Sr(e,"fromShadowDom")}function lm(e,t){var r=ze(e);if(e.nodeType===9)return false;if(e.nodeType===11&&(e=e.host),r&&r._isHidden!==null)return r._isHidden;var a=p.getComputedStyle(e,null);if(!a||!e.parentNode||a.getPropertyValue("display")==="none"||!t&&a.getPropertyValue("visibility")==="hidden"||e.getAttribute("aria-hidden")==="true")return true;var n=e.assignedSlot?e.assignedSlot:e.parentNode,i=lm(n,true);return r&&(r._isHidden=i),i}var uA=lm;function cA(e){var t,r,a=(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:!!et.htmlElms[a]}var Ol=cA;function Nl(e,t){var r=t.include,a=r===void 0?[]:r,n=t.exclude,i=n===void 0?[]:n,o=a.filter(function(c){return Or(c,e)});if(o.length===0)return false;var s=i.filter(function(c){return Or(c,e)});if(s.length===0)return true;var l=um(o),u=um(s);return Or(u,l)}function um(e){var t,r=Ke(e),a;try{for(r.s();!(a=r.n()).done;){var n=a.value;(!t||!Or(n,t))&&(t=n);}}catch(i){r.e(i);}finally{r.f();}return t}function ql(e,t){return e.length!==t.length?false:e.every(function(r,a){var n=t[a];return Array.isArray(r)?r.length!==n.length?false:r.every(function(i,o){return n[o]===i}):r===n})}function dA(e,t){return e=e.actualNode||e,t=t.actualNode||t,e===t?0:e.compareDocumentPosition(t)&4?-1:1}var Bl=dA;function Ze(e){return e instanceof Rt?{vNode:e,domNode:e.actualNode}:{vNode:ze(e),domNode:e}}function fA(e,t,r,a){var n=arguments.length>4&&arguments[4]!==void 0?arguments[4]:false,i=Array.from(e.cssRules);if(!i)return Promise.resolve();var o=i.filter(function(c){return c.type===3});if(!o.length)return Promise.resolve({isCrossOrigin:n,priority:r,root:t.rootNode,shadowId:t.shadowId,sheet:e});var s=o.filter(function(c){return c.href}).map(function(c){return c.href}).filter(function(c){return !a.includes(c)}),l=s.map(function(c,f){var b=[].concat(ke(r),[f]),A=/^https?:\/\/|^\/\//i.test(c);return Vl(c,t,b,a,A)}),u=i.filter(function(c){return c.type!==3});return u.length&&l.push(Promise.resolve(t.convertDataToStylesheet({data:u.map(function(c){return c.cssText}).join(),isCrossOrigin:n,priority:r,root:t.rootNode,shadowId:t.shadowId}))),Promise.all(l)}var cm=fA;function pA(e,t,r,a){var n=arguments.length>4&&arguments[4]!==void 0?arguments[4]:false,i=mA(e);return i?cm(e,t,r,a,n):Vl(e.href,t,r,a,true)}function mA(e){try{var t=e.cssRules;return !(!t&&e.href)}catch{return false}}var Hl=pA;function hA(e,t,r,a,n){return a.push(e),new Promise(function(i,o){var s=new p.XMLHttpRequest;s.open("GET",e),s.timeout=je.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:n,priority:r,root:t.rootNode,shadowId:t.shadowId});return Hl(o.sheet,t,r,a,o.isCrossOrigin)})}var Vl=hA;function gA(e){if(typeof e!="string")return null;var t=e.trim().match(/^([-+]?\d+)/);return t?Number(t[1]):null}var kr=gA,vA=(function(){function e(){if(p.performance&&p.performance)return p.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(n){var i;(i=p.performance)!==null&&i!==void 0&&i.mark&&p.performance.mark(n);},measure:function(n,i,o){var s,l=arguments.length>3&&arguments[3]!==void 0?arguments[3]:false;if((s=p.performance)!==null&&s!==void 0&&s.measure){try{p.performance.measure(n,i,o);}catch(u){this._log(u);}l||this.clearMark(i,o);}},logMeasures:function(n){var i=this,o,s,l=function(I){return Array.isArray(I)?I[I.length-1]:I},u=function(I){i._log("Measure "+I.name+" took "+I.duration+"ms");};if(!(!((o=p.performance)!==null&&o!==void 0&&o.getEntriesByType)||!((s=p.performance)!==null&&s!==void 0&&s.getEntriesByName))){var c=l(p.performance.getEntriesByName("mark_axe_start"))||l(p.performance.getEntriesByName("mark_audit_start"));if(!c){this._log("Axe must be started before using performanceTimer");return}for(var f=p.performance.getEntriesByType("measure").filter(function(k){return k.startTime>=c.startTime}),b=0;b<f.length;++b){var A=f[b];if(A.name===n){u(A);return}else n||u(A);}}},timeElapsed:function(){var n=e();return n-t},clearMark:function(){var n;if((n=p.performance)!==null&&n!==void 0&&n.clearMarks){for(var i=arguments.length,o=new Array(i),s=0;s<i;s++)o[s]=arguments[s];for(var l=0,u=o;l<u.length;l++){var c=u[l];p.performance.clearMarks(c);}}},reset:function(){t=e();},_log:function(n){pa(n);}}})(),tt=vA;function dm(){if(m.elementsFromPoint)return m.elementsFromPoint;if(m.msElementsFromPoint)return m.msElementsFromPoint;var e=(function(){var n=m.createElement("x");return n.style.cssText="pointer-events:auto",n.style.pointerEvents==="auto"})(),t=e?"pointer-events":"visibility",r=e?"none":"hidden",a=m.createElement("style");return a.innerHTML=e?"* { pointer-events: all }":"* { visibility: visible }",function(n,i){var o,s,l,u=[],c=[];for(m.head.appendChild(a);(o=m.elementFromPoint(n,i))&&u.indexOf(o)===-1;)u.push(o),c.push({value:o.style.getPropertyValue(t),priority:o.style.getPropertyPriority(t)}),o.style.setProperty(t,r,"important");for(u.indexOf(m.documentElement)<u.length-1&&(u.splice(u.indexOf(m.documentElement),1),u.push(m.documentElement)),s=c.length;l=c[--s];)u[s].style.setProperty(t,l.value?l.value:"",l.priority);return m.head.removeChild(a),u}}typeof p.addEventListener=="function"&&(m.elementsFromPoint=dm());function bA(e,t){return e.concat(t).filter(function(r,a,n){return n.indexOf(r)===a})}var qn=bA;function fm(e,t,r,a,n){var i=n||{};return i.vNodes=e,i.vNodesIndex=0,i.anyLevel=t,i.thisLevel=r,i.parentShadowId=a,i}function yA(e,t,r){for(var a=Ve.get("qsa.recycledLocalVariables",function(){return []}),n=[],i=Array.isArray(e)?e:[e],o=fm(i,t,null,e[0].shadowId,a.pop()),s=[];o.vNodesIndex<o.vNodes.length;){for(var l,u,c=o.vNodes[o.vNodesIndex++],f=null,b=null,A=(((l=o.anyLevel)===null||l===void 0?void 0:l.length)||0)+(((u=o.thisLevel)===null||u===void 0?void 0:u.length)||0),k=false,I=0;I<A;I++){var P,M,O,H=I<(((P=o.anyLevel)===null||P===void 0?void 0:P.length)||0)?o.anyLevel[I]:o.thisLevel[I-(((M=o.anyLevel)===null||M===void 0?void 0:M.length)||0)];if((!H[0].id||c.shadowId===o.parentShadowId)&&Sa(c,H[0]))if(H.length===1)!k&&(!r||r(c))&&(s.push(c),k=true);else {var V=H.slice(1);if([" ",">"].includes(V[0].combinator)===false)throw new Error("axe.utils.querySelectorAll does not support the combinator: "+H[1].combinator);V[0].combinator===">"?(f=f||[]).push(V):(b=b||[]).push(V);}(!H[0].id||c.shadowId===o.parentShadowId)&&(O=o.anyLevel)!==null&&O!==void 0&&O.includes(H)&&(b=b||[]).push(H);}for(c.children&&c.children.length&&(n.push(o),o=fm(c.children,b,f,c.shadowId,a.pop()));o.vNodesIndex===o.vNodes.length&&n.length;)a.push(o),o=n.pop();}return s}function wA(e,t,r){e=Array.isArray(e)?e:[e];var a=Li(t),n=Up(e,a,r);return n||yA(e,a,r)}var Tr=wA;function xA(e){var t=e.treeRoot,r=t===void 0?h._tree[0]:t,a=DA(r);if(!a.length)return Promise.resolve();var n=m.implementation.createHTMLDocument("Dynamic document for loading cssom"),i=om(n);return _A(a,i).then(function(o){return mm(o)})}var pm=xA;function DA(e){var t=[],r=Tr(e,"*",function(a){return t.includes(a.shadowId)?false:(t.push(a.shadowId),true)}).map(function(a){return {shadowId:a.shadowId,rootNode:_n(a.actualNode)}});return qn(r,[])}function _A(e,t){var r=[];return e.forEach(function(a,n){var i=a.rootNode,o=a.shadowId,s=AA(i,o,t);if(!s)return Promise.all(r);var l=n+1,u={rootNode:i,shadowId:o,convertDataToStylesheet:t,rootIndex:l},c=[],f=Promise.all(s.map(function(b,A){var k=[l,A];return Hl(b,u,k,c)}));r.push(f);}),Promise.all(r)}function mm(e){return e.reduce(function(t,r){return Array.isArray(r)?t.concat(mm(r)):t.concat(r)},[])}function AA(e,t,r){var a;return e.nodeType===11&&t?a=EA(e,r):a=CA(e),kA(a)}function EA(e,t){return Array.from(e.children).filter(SA).reduce(function(r,a){var n=a.nodeName.toUpperCase(),i=n==="STYLE"?a.textContent:a,o=n==="LINK",s=t({data:i,isLink:o,root:e});return s.sheet&&r.push(s.sheet),r},[])}function CA(e){return Array.from(e.styleSheets).filter(function(t){return t.media?hm(t.media.mediaText):false})}function SA(e){var t=e.nodeName.toUpperCase(),r=e.getAttribute("href"),a=e.getAttribute("rel"),n=t==="LINK"&&r&&a&&e.rel.toUpperCase().includes("STYLESHEET"),i=t==="STYLE";return i||n&&hm(e.media)}function hm(e){return e?!e.toUpperCase().includes("PRINT"):true}function kA(e){var t=[];return e.filter(function(r){return r.href?t.includes(r.href)?false:(t.push(r.href),true):true})}function TA(e){var t=e.treeRoot,r=t===void 0?h._tree[0]:t,a=Tr(r,"video[autoplay], audio[autoplay]",function(n){var i=n.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(a.map(function(n){var i=n.actualNode;return FA(i)}))}var gm=TA;function FA(e){return new Promise(function(t){e.readyState>0&&t(e);function r(){e.removeEventListener("loadedmetadata",r),t(e);}e.addEventListener("loadedmetadata",r);})}function vm(e){var t={cssom:pm,media:gm};return bm(e)?new Promise(function(r,a){var n=ym(e),i=n.assets,o=n.timeout,s=setTimeout(function(){return a(new Error("Preload assets timed out."))},o);Promise.all(i.map(function(l){return t[l](e).then(function(u){return ne({},l,u)})})).then(function(l){var u=l.reduce(function(c,f){return Re({},c,f)},{});clearTimeout(s),r(u);}).catch(function(l){clearTimeout(s),a(l);});}):Promise.resolve()}function RA(e){return ie(e)==="object"&&Array.isArray(e.assets)}function bm(e){return !e||e.preload===void 0||e.preload===null?true:typeof e.preload=="boolean"?e.preload:RA(e.preload)}function ym(e){var t=je.preload,r=t.assets,a=t.timeout,n={assets:r,timeout:a};if(!e.preload||typeof e.preload=="boolean")return n;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 n.assets=qn(e.preload.assets.map(function(o){return o.toLowerCase()}),[]),e.preload.timeout&&typeof e.preload.timeout=="number"&&!isNaN(e.preload.timeout)&&(n.timeout=e.preload.timeout),n}function mo(e){var t=h._audit.data.checks||{},r=h._audit.data.rules||{},a=Dn(h._audit.rules,"id",e.id)||{};e.tags=Mr(a.tags||[]);var n=wm(t,true,a),i=wm(t,false,a);e.nodes.forEach(function(o){o.any.forEach(n),o.all.forEach(n),o.none.forEach(i);}),Hs(e,Mr(r[e.id]||{}));}function IA(e,t){function r(n){return n.incomplete&&n.incomplete.default?n.incomplete.default:Rl()}if(e&&e.missingData)try{var a=t.incomplete[e.missingData[0].reason];if(!a)throw new Error;return a}catch{return typeof e.missingData=="string"?t.incomplete[e.missingData]:r(t)}else return e&&e.messageKey?t.incomplete[e.messageKey]:r(t)}function wm(e,t,r){return function(a){var n=e[a.id]||{},i=n.messages||{},o=Object.assign({},n);delete o.messages,!r.reviewOnFail&&a.result===void 0?(ie(i.incomplete)==="object"&&!Array.isArray(a.data)&&(o.message=IA(a.data,i)),o.message||(o.message=i.incomplete)):o.message=a.result===t?i.pass:i.fail,typeof o.message!="function"&&(o.message=Il(o.message,a.data)),Hs(a,o);}}function LA(e,t){return Tr(e,t)}var er=LA;function xm(e,t){var r,a,n=h._audit&&h._audit.tagExclude?h._audit.tagExclude:[];t.hasOwnProperty("include")||t.hasOwnProperty("exclude")?(r=t.include||[],r=Array.isArray(r)?r:[r],a=t.exclude||[],a=Array.isArray(a)?a:[a],a=a.concat(n.filter(function(o){return r.indexOf(o)===-1}))):(r=Array.isArray(t)?t:[t],a=n.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?a.every(function(o){return e.tags.indexOf(o)===-1}):false}function PA(e,t,r){var a=r.runOnly||{},n=(r.rules||{})[e.id];return e.pageLevel&&!t.page?false:a.type==="rule"?a.values.indexOf(e.id)!==-1:n&&typeof n.enabled=="boolean"?n.enabled:a.type==="tag"&&a.values?xm(e,a.values):xm(e,[])}var Dm=PA;function _m(e,t){if(!t)return e;var r=e.cloneNode(false),a=on(r);if(r.nodeType===1){var n=r.outerHTML;r=Ve.get(n,function(){return Am(r,a,e,t)});}else r=Am(r,a,e,t);return Array.from(e.childNodes).forEach(function(i){r.appendChild(_m(i,t));}),r}function Am(e,t,r,a){return t&&(e=m.createElement(e.nodeName),Array.from(t).forEach(function(n){MA(r,n.name,a)||e.setAttribute(n.name,n.value);})),e}function MA(e,t,r){return typeof r[t]>"u"?false:r[t]===true?true:Aa(e,r[t])}function jl(e,t){var r=[],a;if(h._selectCache)for(var n=0,i=h._selectCache.length;n<i;n++){var o=h._selectCache[n];if(o.selector===e)return o.result}for(var s=OA(t.include),l=NA(t),u=0;u<s.length;u++){a=s[u];var c=Tr(a,e,l);r=qA(r,c);}return h._selectCache&&h._selectCache.push({selector:e,result:r}),r}function OA(e){return e.reduce(function(t,r){return (!t.length||!Or(t[t.length-1],r))&&t.push(r),t},[])}function NA(e){return !e.exclude||e.exclude.length===0?null:function(t){return Nl(t,e)}}function qA(e,t){if(e.length===0)return t;if(e.length<t.length){var r=e;e=t,t=r;}for(var a=0,n=t.length;a<n;a++)e.includes(t[a])||e.push(t[a]);return e}function ho(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;if(ie(e)!=="object"||e===null)return {message:String(e)};var r={},a=Ke(je.serializableErrorProps),n;try{for(a.s();!(n=a.n()).done;){var i=n.value;["string","number","boolean"].includes(ie(e[i]))&&(r[i]=e[i]);}}catch(o){a.e(o);}finally{a.f();}return e.cause&&(r.cause=t<10?ho(e.cause,t+1):"..."),r}var BA=(function(e){function t(r){var a,n,i=r.error,o=r.ruleId,s=r.method,l=r.errorNode;return ft(this,t),n=me(this,t),n.name=(a=i.name)!==null&&a!==void 0?a:"RuleError",n.message=i.message,n.stack=i.stack,i.cause&&(n.cause=ho(i.cause)),o&&(n.ruleId=o,n.message+=" Skipping ".concat(n.ruleId," rule.")),s&&(n.method=s),l&&(n.errorNode=l),n}return Me(t,e),vt(t)})(Q(Error)),go=BA;function HA(e,t,r){if(e===p)return e.scroll(r,t);e.scrollTop=t,e.scrollLeft=r;}function VA(e){e.forEach(function(t){var r=t.elm,a=t.top,n=t.left;return HA(r,a,n)});}var jA=VA;function $A(e){var t=Array.isArray(e)?ke(e):[e];return Em(t,m)}function Em(e,t){var r=e.shift(),a=r?t.querySelector(r):null;return e.length===0?a:a!=null&&a.shadowRoot?Em(e,a.shadowRoot):null}function $l(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:m,r=Array.isArray(e)?ke(e):[e];return e.length===0?[]:Cm(r,t)}function Cm(e,t){var r=Z(e),a=r[0],n=Zn(r).slice(1),i=t.querySelectorAll(a);if(n.length===0)return Array.from(i);var o=[],s=Ke(i),l;try{for(s.s();!(l=s.n()).done;){var u=l.value;u!=null&&u.shadowRoot&&o.push.apply(o,ke(Cm(n,u.shadowRoot)));}}catch(c){s.e(c);}finally{s.f();}return o}function zA(){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 vo=zA,Sm=[,[,[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,,,,,,1,1,1,1,,,1,1,1,,1,,1,,1,1],[1,1,1,,1,1,,1,1,1,,1,,,1,1,1,,,1,1,1,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,,,,1,1,1,,1,1,1,1,1,1,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1],[,1,,,,,,1,,1,,,,,1,,1,,,1,1,1,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,,1,1,1,1,,,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,,,1,,,,1,1,1,1,,1,,1,,1,,,,,,1],[1,,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,,1,,1,,,,,1,,1,1,1,1,1,,,,1,1,1,1],[,1,1,1,1,1,,1,1,1,,1,,1,1,1,,,1,1,1,1,1,1,1,1],[,,1,,,1,,1,,,,1,1,1,,,,,,,,,,,1],[1,1,1,1,1,1,,1,1,1,,1,1,,1,1,1,1,1,1,1,1,,,1,1,1],[1,1,1,1,1,,,1,,,1,,,1,1,1,,,,,1,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,,1,1,,1,1,1,1,1,1,1,,1],[,1,,1,1,1,,1,1,,1,,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,,,1,1,1,,,1,1,,,,,,1,1],[1,1,1,,,,,1,,,,1,1,,1,,,,,,1,,,,,1],[,1,,,1,,,1,,,,,,1],[,1,,1,,,,1,,,,1],[1,,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,,1,,,1,1,1,1],[,1,1,1,1,1,,,1,,,1,,1,1,,1,,1,,,,,1,,1],[,1,,,,1,,,1,1,,1,,1,1,1,1,,1,1,,,1,,,1],[,1,1,,,,,,1,,,,1,1,1,1,,1,1,1,1,1,1,,1,1,1],[,1,,1,1,1,,,1,1,1,1,1,1,,1,,,,1,1,1,,1,,1],[,1,,1,,1,,1,,1,,1,1,1,1,1,,,1,1,1],[,1,1,1,,,,1,1,1,,1,1,,,1,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1],[,1,1,1,,1,1,1,,1,,,,,1,1,1,,,1,,1,,,1,1],[,,,,1,,,,,,,,,,,,,,,,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,,1,1,,,,1,1,1,1,1,,,1,1,1,,,,1,1],[1,1,1,1,,,,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,,,,,,,1,,,,,,,1],[,1,1,,1,1,,1,,,,,,,,,,,,,1],[,,,,,,,,1],[1,1,1,,,,,,,,,,,,,1],[,,,,,,,,1,,,1,,,1,1,,,,,1]],[,[1,1,,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,,1,1,1,1,,1,1,,1,1,1,1,1,1,1,,1,1,1,1,,1],[,,,1,,,,,,,,,,,,,,,1],[,1,,,1,1,,1,,1,1,,,,1,1,,,1,1,,,,1],[1,,,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1,,,1,,,,1],,[,1,1,1,1,1,,1,1,1,,1,1,,1,1,,,1,1,1,1,,1,1,,1],[,1,,,1,,,1,,1,,,1,1,1,1,,,1,1,,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,,,1,1,1,1,1,1,1,,,1,,,1,,1],[,1,,,,,,1,,,,1,1,,,,,,1,1,,,,,1],[,,,,,,,1,,,,1,,1,1],[,1,1,1,1,1,1,1,,,,1,1,1,1,1,,,1,1,,1,1,1,1,1],[,1,,,1,1,,1,,1,1,1,,,1,1,,,1,,1,1,1,1,,1],[,1,1,1,,1,1,,1,1,,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1],[,,,,,,,,,,,,,,,,1],,[,1,1,1,1,1,,1,1,1,,,1,,1,1,,1,1,1,1,1,,1,,1],[,,1,,,1,,,1,1,,1,1,,1,1,,1,,,,,,,,,1],[,1,1,,1,,,,1,1,,1,,1,1,1,1,,1,1,1,1,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[1,1],[,1,,,,,,,,,,1,1,,,,,,1,1,,1,,1,,1,1],,[,1,1,,1,,,1,,1,,,,1,1,1,,,1,,,1,,,,1],[1,1,,,1,1,,1,,,,,1,,1]],[,[,1],[,,,1,,,,1,,,,1,,,,1,,,1,,,1],[,,,,,,,,,,,,,,,,,,1,1,,,,,,1],,[1,,,,,1],[,1,,,,1,,,,1],[,1,,,,,,,,,,,1,1,,1,,,,,,,,,1,1],[,,,,,,,,,,,,,,,,,,,1,,1],[,,,,,,,,,,,,,,,,1,,,,1,,1],[,1],[,1,,1,,1,,1,,1,,1,1,1,,1,1,,1,,,,,,,1],[1,,,,,1,,,1,1,,1,,1,,1,1,,,,,1,,,1],[,1,1,,,1,,1,,1,,1,,1,1,1,1,1,,1,,1,,1,1,1,1],[1,1,1,1,1,,1,,1,,,,1,1,1,1,,1,1,,,1,1,1,1],[1,,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,1],,[,1,,,,,,1,1,1,,1,,,,1,,,1,1,1,,,1],[1,,,,,1,,1,1,1,,1,1,1,1,1,,1,,1,,1,,,1,1],[1,,1,1,,,,,1,,,,,,1,1,,,1,1,1,1,,,1,,1],[1,,,,1,,,,,,,,,,,,,1],[,,,,,1,,,1,,,,,,1],[,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,,1],[,1,,,,,,,,,,,,,,1],[,1,,,,1]],[,[1,1,1,,1,,1,1,1,1,1,1,1,1,1,,1,,1,,1,1,,,1,1,1],[,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1],,[,,,,,,,,,,,,,,,,,,1],[1,,,,,,,,,1,,,,1],[,,,,,,,,,,,,,,,,,,1],,[1,1,,,,1,1,,,,,,1,,,,1,,1,,1,1,,1],[1],[,,,,,,,,,,,1,,,,,,,,,,,1],[,1,,,,,,,1,1,,,1,,1,,,,1,,,,,,,1],[,,,,,,,,,,,,,,,,1,,,,,1],[,,1,,,,,1,,1],[1,,,,1,,,,,1,,,,1,1,,,,1,1,,,,,1],[,,,,,1],[,,,,,,,,,,,,,,,,,,,1],[1,,,1,1,,,,,,,1,,1,,1,1,1,1,1,1],[,,,,,1,,,,,,,1,,,,,,,1],,[,,1,1,1,1,1,,1,1,1,,,1,1,,,1,1,,1,1,1,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,,,,1],,[1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[,,,1,1,1,1,,,,,,1,,1,,,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,,,,1,,1,,,1,1,1,1,1],[,,,,,,,,,,,1,,,,,,,,,1,,,,1],[,1,1,,1,1,,1,,,,1,1,,1,1,,,1,,1,1,,1],[,1,,1,,1,,,1,,,1,1,,1,1,,,1,1,1],[,1,1,1,1,1,,1,1,1,,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,,,,,,,,,1,,1,,1,1,,,,1,,,1],[,1,,,1,1,,,,,,,,,1,1,1,,,,,1],[1,,1,1,1,,,,1,1,1,1,1,,,1,,,1,,,1,,1,,1],[,1,1,,1,1,,1,1,,,,1,1,1,,,1,1,,,1,1,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,,1,1,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,,1],[,1,,,,,,,,1,,,,,1,,,,1,,,1],[,1,1,1,1,,,1,1,1,1,1,,1,,1,,1,1,1,1,1,1,1,1,1,1],[,,,,,1,,1,,,,,1,1,1,1,1,,,1,,,,1],[,1,,,,,,,,1,,,,,,,,,,,,1],[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,,1,,1,1,,,,1,,1,1,1,1,1,,1,1,,,,,,1],[,1,1,1,1,1,1,1,,1,1,,,1,1,,,,1,,1,1,,1,1],[,,,,,,,,,,,,,,,,,,,,,,,,1],[,1,1,,1,1,1,1,,1,,,1,1,1,1,,,1,,,,,,,1,1],[,1,,,,,,,,1,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1],[,1,1,,,,,,,,,,,,1,1,,,,,,1],[,1,,,,,,,1],[,,,,,,,,,,,,,,1,,,,,1,,,,,,1],[1,1,,,1,,,1,1,1,,,,1],,[,,,,,,,,,,,,,1,,,,,,,,,,1],[,,,,,,,,,1,,,,,,,,,1,,,,,,,1],[1,1,1,,1,,1,1,1,1,1,1,1,1,,1,,,1,,1,,,1,1],[,,,,,,,,,1],[,1,,,,1,,,1,,,1,,,1,,,,,1],[,1,1,,1,1,,,,,,,,,,,,,,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,,,1,1,,1,1,1,1,,,1,1,1,,,,1,,1],[1,1,1,1,1,1,,,1,1,1,1,1,1,,1,1,,1,1,1,,1,1,,1,1],[,,,,,,,,,,,,,,,1,,,,1],,[1,1,,1,,1,,,,,,1,,1,,1,1,,1,,1,1,,1,1,,1],[,,1,,,,,,1,,,,1,,1,,,,,1],[1,,,,,,,,,1,,,,,,1,,,,1,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,,,1,,1,,,,,,1,,,1,,,,,,,,1],[,1,,1,,,,,,,,,,,,1],,[1,1,,,,,,,,,,,,,,,,,,,,,,1,1],[1]],[,[1,,,,,,,,,1,,,,,1,,1,,1],[,1,1,,1,1,,1,1,1,,,1,1,1,,,,1,,,1,,,,1],[,1,,,,,,,1,,,,1,,,,,,1],[1,1,1,1,1,1,,,,1,,,,,,,,,1,1,1,1],[1],[,1,1,,,1,1,,,,,1,,1,,,,,,,,1,,,,1],[1,,1,,,1,,1,,,,,1,1,1,1,,,,1,,,,1],[,,1,,,,,,,1,,,,,,,1,,,,,,,1],[1,,,,,,,,,,,,,,1,,,,1],[,,,1,,1,,,,,1,,,,1,1,,,,1],[1,,,,,1,,,1,1,,1,1,,,1,1,,1,1,1,,1,1,1,,1],[,1,1,,,,,1,,1,,1,1,1,,1,1,,,1,,1,1,1],[,1,,,,1,,,,1,,,1,,1,1,,,1,1,1,,,,,1],[1,,1,1,,1,,1,1,,1,,1,1,1,1,1,,,1,1,,,,,,1],[1,,,,,,,,,,,,,,,,,,1,,,1,,1],[,,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,,,,1,,1],[,1,,,,1,,,1,1,,1,,,1,1,,,1,,,1,,,1,1],[1,1,,1,1,1,,1,1,1,,1,,1,1,1,,,1,,1,1,1],[1,,1,1,1,1,,,,1,,1,1,1,,1,,,1,1,1,,1,1,1,1,1],[1,,,,,,,,,,,,,1],[,,1,,,,,,,,,,,,,,,,,,,,1],[1,,,,,,,,,,,1,,1,,1,,,,1],[,,,1,,,,,,,,,1],[,1,,,,,,,,,,,,,,1,,,,,,,,,1],[,,,,,,,,1,1,,,,1,,,,,1,,,,,,,,1]],[,[1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,,1,1,1,1,1,,,1,1,1],[,,,,,1,,,,1,1,1,,1,1,1,,,1,,1,1,,1],[,,,,,,,,,,,,,,,,,,,1,1],[,1,,,,,,1,,,,,,,,,,,,,1],[,,1,,,1,,1,1,1,,1,1,,1,,,,1,,1,1],,[,,1,,,1,,,,,,1,,,,1],[,,,,,,,,,1,,,,,,,,,,1],[1,1,1,1,1,1,,1,1,1,,,1,1,,1,,1,,,1,1,1,,,1],[,,,,,1,,,,,,,,,,,,,1],[,1,,,,,,,,,,,,1,,1,1,,1,1,,1],[,,,,,1,,,,,,,,,,,,,,1],[,1,1,1,1,,,,,1,,,1,,1,,,,1,1,,,,1,1],[,1,,,1,,,1,,1,1,,1,,,,,,,1],[,,1,,1,,,1,,,,,,,,,,,1,1,,,,1],[,1,,,,,,,,,,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,1,,,,,,,,,,,,,,,,1,,1,1],[,,,,,,,,,,,,1],,[,1,1,1,1,,,,1,1,,1,1,1,1,1,1,,1,1,1,1,,1,,1],[1,,,,1,,,,,,,,,,1],[1,,,,,,,,,1],,[,1,,,,1,,,,,,,,,,,,,,,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,,,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,,1,1,1,,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,,,1,1,1,,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1,,1,1,1,1],[1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,,,1,1,1,1,,1,,,,1,1,,,1,1,,1],[,1,1,,1,,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,,,,,,,,,,1],[1,1,1,,,,,1,1,1,,1,1,1,1,1,,1,1,1,1,1,,,,,1],[,1,,,,,,,1,1,,,1,1,1,,1,,,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,1],[,1,,,,1,,,,1,,,1,,,,1,,,,,,,1,1],[,1,1,1,1,1,,,1,1,1,,1,1,1,1,,,1,1,1,1,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1],[1,1,1,,1,,,1,1,1,1,,1,1,1,1,,,,1,,1,,1,,,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,,1,1,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,,1,,1,,1,,1,,1,1,1,1,1,,,1,,1,,1,,,,1],[,1,1,1,1,1,,1,1,1,,,1,1,1,1,1,,1,1,1,,1,1,,1],[1,,,1,,,,1,1,1,,,,,1,1,,,,1,,1],[1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,,,,,,,,1,,1,1,,,,,,,1,,1],[,1,,,,1,,1,1,,,,1,1,,1,,,,1,1,1,,1],[,,,,,,,,,,,,,1],[,1,,,,,,1,,,,,,,1],[,,,,,,,,1,,,,1,,1,,,,,,,,,,,,1]],[,[,1,1,,1,1,1,1,,1,1,1,,1,1,,1,1,,1,1,1,1,1,1,,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,1,,,1,,,,,,,,1,,,,,,1,,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,,1,1,1,,1,1,1,1,,,1,1,1,1,,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,,1,,1,,1,,1,1,1,1,1,1,1,,1,1,,,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1],[,1,1,,,,,1,1,1,,,1,,1,1,,,,1,,1,,,1,1],[,,,,,,,1,,,,1,1,1,1,1,,1,,,1,,,,,1],[1,1,1,1,,1,1,1,,1,,1,1,1,1,,1,,1,,1,1,,,1,,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,1,1,,1,,1,1,1,,1,,1,1,,1,1,,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,,,,,,,1,,,,,1,,1],[,1,1,1,,1,,1,,1,,,,1,,1,,,1,,,,,1,1,1],[,1,,,1,1,,1,,1,,1,1,1,1,1,,1,1,,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,,,1,,1,,1,,,,,1,1,,1,,,,1,1]],[,[,1,,1,,,,,,,,1,,,,,,,1,,,,1],[,,,,,,,,,1,,1,1,1,,1,,,1,,1,1],[1,1,,,,,,,1,,,,,1,,1,,,,,,1],[,1,,,,,,,,,,1,,,,,,,,,1,1],,[,,,,,,,,,,,,,,,1,,,,1,,1],[,,1,1,,1,,1,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,,,1,1],[,1,,,,1,,,,,,,,,1],[1,,1,1,,,,1,,,,,,,,,1,,,1,,,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,,1,1,,1,1,,1,,1],[,1,,,1,1,,,,,,1,,1,,1,,,1,,1,1],[1,1,1,1,,1,,1,,1,,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,,,1,,1,,1,1,1,,,1,1,1,,1,1,1,1,,1,1],[,,,,1,,,1,,,,,,,1,,,,1,1],[,1,,,,,,,,,,1,,1,,1,,,,,1,,,,,1],,[1,1,,1,,1,,1,1,,,,,,1,1,,,1,1,1,1,1,1,1,1,1],[1,1,,1,,,,,,1,,,,,1,1,1,,,,1,1,,,1],[,1,1,,1,1,,,,1,,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1],[,1,1,,,1,,,,1,,,,1,1],[,,,,1],[,,,,,,,,,1,,,1],,[,,1,,1,,,,,,,,,1,,,,,,,,,,,,1],[,,,,,,,,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,1,,1,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,,,,,1],[,1,,1,,,,,,1,,,,,1,1,,,,,1,1],[,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,,,1,,1,1,1],[,1,,,,1,,,,,,,1],[,1,,,1,,,1,,1,,1,1,,1,,,,,1,,1,,,,1,1],[,1,,,1,,,1,1,1,1,1,1,1,1,1,,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1],[,,,,,,,,,,,,,,,,,,,,1],[,1,1,1,,,,1,1,,,,,,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,1,1,1,1,1,1,1,,1,,1,1,1,1,1,,1,1,,1,1,1,1,1],[,1,,,,1,,,,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,1,,,,,,,,,,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,,1,1,1,,1,1,1,,,1,1,1,1,1,1,1,1,1,1,,1,,1],[1,1,,,,,,,1,1,,,,,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,,1,1,1,,1,,1,1,1,1,,1,1,,1,1,1,1],,[,1,1,,,,,1,,1,,,,1,1,1,,,1,,,,,1],[,,,,,,,,,,,,,1],[,,,,,1,,,,,,,,1,1,,,,,1,,1,,,1,1],[,,,,,1,,,1,,,,,,1]],[,[,1],,,,,,,,,,,,,,,,,,,,[1,1,1,1,1,,1,1,1,1,,1,1,1,1,,1,1,1,1,,,1,1,1,1,1],[,1,,1,,1,,,1,1,1,,1,1,1,1,1,,,1,,,,1,,1,1],[,1,,1,,1,,,1,,,,,1,,,,,,1,1],[,1,,1,,,,,1,,,,1,,1,1,1,1,1,1,1,1,,1],[,1,,,,,,,,,,,,,,,1]],[,[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,,,,,,,,,1,1,,,,1],[,,,,,,1],[,,1],[,1,1,,,1,,1,,1,1,,1,1,1,,,,1,1,1,,,,,1],,[,1,,,,1,,,,,,1,,,1,,,,1,1,,1],[,,,,,,,1,,,,,,,,,1],[,1,1,,,1,1,,,,,,1,1,1,,,,1,,1,1],[,,,,,,,1,,1,,,,,,,,,,1],[,1,1,,,,,,1,1,,,,1,,,,,,,1,,,1],,[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,1,,,1,,,,,1,,1,,1,,1,,,,,1],[1,1,1,1,1,1,1,1,,,,,1,1,,1,1,,1,,,1,,1],[,,,,,,,,,,,,,,1,,,,,,1],,[,,,,,,,,,1,,,,1,,1,,,,,1],[,,1,,,,,,,1,,1,1,1,1,,,,,,,,,1],[,,,1,,,,,1,,,,,1,,,,,,1,,,,1],[1,,1,1,,1,1,1,1,1,,1,,,,1,1,1,,,1,1,,,,1,1],,[1,1,,,,,,,,,,1,1,1,,1,,,1],[,,,,1,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,1,,,,,1,,1],[,,,,,,,,1]],[,[1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,,1,1,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,,1,,,1,,,,,,,,1,,,,,,1,,,,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,,,,1,1,1,1,1,1,,1,1,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1],[,,1,1,1,1,,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,,,,,,,1,,1,1,,1,1,1,,1,1,1,1,1,,,1],[1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,1,1,,1,,1,,1,1,1,1,1,,1,,1,1,1,1,,1,1,1,1,1],[1,1,1,1,,1,,,,,,1,,1,,,,,1,1,,,,,1],[1,,1,1,,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,1,,1,,1,,,,1,1,1,1,1,,,1,1,,1,,1],[,1,1,1,1,,,,,1,,1,1,1,1,1,,,1,1,,,,1,1,1],[,1,1,1,1,1,,1,,,,,1,,1,,1,,,1,,,1,1,,1]],[,[1,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,,,,,,1,,,,,1,1,,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,,,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,,1,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,,,,,,1,,1,1,,1,1,1,1,1,,,1,,1,,1],[1,1,1,,1,1,1,1,,,,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,,1,,,,,,,,,,1,1,1,1,1,1,1,,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,,,1,1,,,,1,,1,1,1,1,1,,,,1,1,1,,1,1,1],[1,1,1,1,1,1,1,1,1,,,,1,1,1,1,1,1,1,,1,1,,1,1,1],[,1,1,1,,1,,1,1,1,1,,,1,1,1,,1,1,1,1,1,,,1,1],[1,1,,,,1,,,1,1,1,,1,,1,,1,,1,1,1,1,1,,1,1,1],[,1,,,,,,,1,,1,,1,1,1,1,,,,,,,,,1]],[,[,,,,,,,,,,,,,1,1,,,,1],[,1,,,,,,,,1,,,1,,,,,,1,,,1,,,,1],,[,1,,,,1,,1,,1,1,,1,1,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,1],[1,1,1,,,1,,,1,,,,,,1,1,,,,,,,,,,1],[,1,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1,,,1],[,,,,,,,,,1],[1,1,,,,,,1,1,1,,1,1,,,,1,1,,1,,1,1,1,,1],[,1,1,1,,1,1,,,1,,1,1,1,1,,,,,,,1,,1,,1],[,1,1,1,1,,,1,,1,,,,1,1,1,1,,1,1,,1],[,1,,,1,1,,1,,1,,1,,1,1,,1,,1,,,1,,,1,,1],[,,,,,,,,,,,1,,,1],[,,,,,,,,,1,,,,,,,,,,,,,1],,[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1],[,1,,,,,,,1,1,,1,,,,,1,,,1,,1],[,1,,,,1,,,1,,,,,,,,1,,1,,,1],[,,,,,,,,,,,,,1,1,,,,1,,,1],[,,,,,1,,,1,,,,1],[,1],,[,1],[1,,,,,,,,,,,,,,1,,,,,1]],[,[,1,,,,1,1,1,1,1,1,,1,1,1,1,1,,1,1,,1,1,,,1],[,,1,,,,,,,,,1],,,[1,,,1,1,,,,,,,,1,1,,1,1,,1],,[,,,,,,,,,,,,,,,,,,1,,1],,[1,,,1,1,,1,1,,,,,1,,1,,,,,1,1,,1],[,,,,,,,,,,,1],[,1,,,,,,,,1,1,1,1,1,1,1,1,,,,1,1,,,,,1],[,,,,,,,,,,,,,,,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,,1,1,1,1,1,1],[,,,,,,,,,,,1,,1,,,1],[1,,,,,,,,,,,,,,,,,,1,,1],,,[,1,,,,,,,,,,,,,,1,,,,1,1],[,,,,,,,,,1,,,1,,1,,,,,,,,1],[,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,1,1,,,,,,1],,[,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,,1,1,,1,1,1,1,1,1,,,1,1,1,1,1,,1,1],[,1,,,,,,,,1],[,,,,1,,,1,,,1,1,,,,,,,,,1,1,,,,1],[,1,,1,1,,,1,1,1,,,,1,1,1,1,,1,1,1,1,,1],[,,,,,,,1],[,1,1,,,,,1,,1,,,,,,1,,,,,,1,,1,,1],[,1,,,,,,1,,,,1,,,,,,,,,,1],[,,1,1,,1,1,1,1,1,1,1,1,1,1,,,,1,,1,1,1,1,,1],[,1,,,,,,,,1],[,1,1,,1,,,,,,,,1,,,,,,1,,,1,,1,,1],[,1,,1,,1,,1,1,1,,1,1,1,,1,,,1,1,,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,,,,1,1,1,,,,1,1,,,1,1],[,,1,1,1,1,,1,,1,,1,,1,1,1,1,,,,,1,,1,,1],[1,1,1,1,1,1,1,1,,1,,1,,1,1,1,,,1,1,,,,1,,1],[,,,1],,[,1,1,,1,,,1,1,1,,1,1,1,1,1,1,,1,1,,1,1,1,1,1,1],[,1,,,,,,1,,1,,1,,,,,,,1,1,,1,1],[,,1,,,,1,,1,1,,1,,1,,,,,,,,,,1],[,1,1,,1,,,,1,,,,1,1,1,,,,1,,1,1,1,,1,1],,[,1,1,,,,,,,,,,,,,1,,,1,,,,,1],[,1,,,,,,,,,,,,,,,,,,,,,,1],[,1,1,,,,,,,1,,,,1,1,,,,1,,,,,,,1]],[,[,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[,1,1,1,1,1,,1,,1,1,,,1,1,1,1,,1,,,,,1,1,1],[,,1,1,,1,,1,1,,,,1,1,1,1,,,1,,1,1,1,1,,1],[,1,,1,,,,,,,,1,,1,,1,,1,,,,,,,,1],[,,1,,1,,,1,,,,,1,1,,,1,,1,1,1,1],[,1],[,1,1,,1,,1,1,,1,,,1,1,1,,,,1,,,1,,1],[1,1,,1,1,1,,,,,,,,1,,,,,1,,1,1,1],[,1,1,,,,,,,1,,,1,,1,,1,,1,1,,,1,,,1],[,,1,,,,,,,,,,,,,,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,,1,,,,,1,1,1,,,1,,1,,,,1],[,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,1,1,1,1,1,,1,1,1,,1,1,1,1,1,,,,1,1],[,,,1,1,,,1,,1,,1,,1,1,1,1,,1,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,,,,,,,,,,,,,,,,1],[,1,1,,1,1,,1,,1,,,,1,1,,,1,1,,1,1,,1],[,1,1,1,1,1,,,1,1,1,,1,1,1,1,1,1,1,1,,1,1,,,1],[,1,1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,,1,,,1,,,1,,1,1,1,1,1,,1,,1,1],[,,,,,1,,,,1,,,,,1,1,,,,1],[,1,,1,1,1,,1,,,1,1,1,,,1,,,1,,1,,,1],[,,1,,,,,,,,,1,,1,,,,,1,,1],[,1,1,,,,,,,,1,1,1,,,,,,,,1,,,,,1],[,,,,,,,,1,,,,,1,,,1]],[,[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,,,1,1,1,1,1,1,1,1,,,,,,,,,1,1],[,,,,,,,,1,,,,1,,1,,1,,1],[,1,,,1,1,,1,,,,1,,,,,,,,1],[,1,,1,,1,,,,1,1,,1,,1,,,,1,1,1,1,1,,,1],,[,1,,,,,,,,1,,,1,1,,,1,,1,1,,1,,1],[,1,,,1,,,,,,,,1,,,,,,,1],[1,1,,,,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1],,[,1,,,,,,1,1,1,,1,1,1,1,1,,,1,,1,1,,,,1],[,1,1,,,1,,1,,1,,,1,1,1,1,,,1,,,1,,,,1],[,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,,,1,,1],[,1,1,,1,1,,1,1,,,1,1,,1,1,,1,,1,,1],[1,,1,,,,,1,,1,,1,1,1,1,,,,,1,1,,,,1,1],[,1,1,,,,,1,1,,,1,,1,1,1,1,,,,,,,,,,1],,[,1,1,,,1,,,,1,,1,1,1,1,1,,,,1,,,,1,,1],[,,,1,1,,,1,,,,,1,1,1,1,1,,1,1,,,,,,1],[,1,,,,,,,,,,,1,,,,1,,,,,,,1,,1],[,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,,1,1,,1,1,1,1],[,1,,,,,,,,,,,,,,,,,,,1],[,1,,,,,,1,,,,,1,,1,,,1,1,,1,1,,1],[,1,,,,,,1,,,,,1,1,,,,,,,,1,,,,1],[,,,,,,,,,,,,,,,,,,1,,,1,,,,,1],[,,,,,,,1,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,,1,,,,,,,1,,,,,,,,1,1,,1],[,1,,,1,,,,1],[,,,,,,,,,,1],[,1,,,,,,1,1,,,,,1,1],,[,1,1,,,,,,1,,,,,1,1,,,,1],[1,,1,,1,,,,,1,,,,,1,,,,,,,,,1,1],[,1,1,,,,,,,,,1,1,1,1,,,,1,,,,,1,,,1],,[,1,1,,1,,,1,1,,,1,,,1,1,1,,1,,1,1,1,,,,1],[,1,,,,1,,,,,1,,,1,1,,,1,,1,,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,1,1,,1,,,,1,,,,,,,,1],[,,,1,,,,,1,,,,,1,,1,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,,1],[,1,,,,,,1,,,,,,,1,1,1,,,1],[,1,,,,,,,,,,1,1,1,,,,,1,,,1],[,,,,,1,,1,,,,,1,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 GA(e){for(var t=Sm;e.length<3;)e+="`";for(var r=0;r<=e.length-1;r++){var a=e.charCodeAt(r)-96;if(t=t[a],!t)return false}return true}function km(e){e=Array.isArray(e)?e:Sm;var t=[];return e.forEach(function(r,a){var n=String.fromCharCode(a+96).replace("`","");Array.isArray(r)?t=t.concat(km(r).map(function(i){return n+i})):t.push(n);}),t}var bo=GA,WA=(function(e){function t(r){var a;return ft(this,t),a=me(this,t),a._props=XA(r),a._attrs=YA(r),a}return Me(t,e),vt(t,[{key:"props",get:function(){return this._props}},{key:"attr",value:function(a){var n;return (n=this._attrs[a])!==null&&n!==void 0?n:null}},{key:"hasAttr",value:function(a){return this._attrs[a]!==void 0}},{key:"attrNames",get:function(){return Object.keys(this._attrs)}}])})(Rt),zl={"#cdata-section":2,"#text":3,"#comment":8,"#document":9,"#document-fragment":11},Tm={},UA=Object.keys(zl);UA.forEach(function(e){Tm[zl[e]]=e;});function XA(e){var t,r,a,n=(t=e.nodeName)!==null&&t!==void 0?t:Tm[e.nodeType],i=(r=(a=e.nodeType)!==null&&a!==void 0?a:zl[e.nodeName])!==null&&r!==void 0?r:1;Qe(typeof i=="number","nodeType has to be a number, got '".concat(i,"'")),Qe(typeof n=="string","nodeName has to be a string, got '".concat(n,"'")),n=n.toLowerCase();var o=null;n==="input"&&(o=(e.type||e.attributes&&e.attributes.type||"").toLowerCase(),vo().includes(o)||(o="text"));var s=Re({},e,{nodeType:i,nodeName:n});return o&&(s.type=o),delete s.attributes,Object.freeze(s)}function YA(e){var t=e.attributes,r=t===void 0?{}:t,a={htmlFor:"for",className:"class"};return Object.keys(r).reduce(function(n,i){var o=r[i];if(Qe(ie(o)!=="object"||o===null,"expects attributes not to be an object, '".concat(i,"' was")),o!==void 0){var s=a[i]||i;n[s]=o!==null?String(o):null;}return n},{})}var Fm=WA;function KA(e,t){if(e=e||function(){},t=t||h.log,!h._audit)throw new Error("No audit configured");var r=h.utils.queue(),a=[];Object.keys(h.plugins).forEach(function(i){r.defer(function(o){var s=function(u){a.push(u),o();};try{h.plugins[i].cleanup(o,s);}catch(l){s(l);}});});var n=h.utils.getFlattenedTree(m.body);h.utils.querySelectorAll(n,"iframe, frame").forEach(function(i){r.defer(function(o,s){return h.utils.sendCommandToFrame(i.actualNode,{command:"cleanup-plugin"},o,s)});}),r.then(function(i){a.length===0?e(i):t(a);}).catch(t);}var Rm=KA,Bn={},Im;function Lm(e){return Bn.hasOwnProperty(e)}function Gl(e){return typeof e=="string"&&Bn[e]?Bn[e]:typeof e=="function"?e:Im}function JA(e,t,r){Bn[e]=t,r&&(Im=t);}function ZA(e){var t=h._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 a=r.split("-"),n=ge(a,2),i=n[0],o=n[1],s=i.split(".").map(Number),l=ge(s,3),u=l[0],c=l[1],f=l[2],b=h.version.split("-"),A=ge(b,2),k=A[0],I=A[1],P=k.split(".").map(Number),M=ge(P,3),O=M[0],H=M[1],V=M[2];if(u!==O||H<c||H===c&&V<f||u===O&&c===H&&f===V&&o&&o!==I)throw new Error("Configured version ".concat(r," is not compatible with current axe version ").concat(h.version))}if(e.reporter&&(typeof e.reporter=="function"||Lm(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(Y){if(!Y.id)throw new TypeError("Configured check ".concat(JSON.stringify(Y)," is invalid. Checks must be an object with at least an id property"));t.addCheck(Y);});}var z=[];if(e.rules){if(!Array.isArray(e.rules))throw new TypeError("Rules property must be an array");e.rules.forEach(function(Y){if(!Y.id)throw new TypeError("Configured rule ".concat(JSON.stringify(Y)," is invalid. Rules must be an object with at least an id property"));z.push(Y.id),t.addRule(Y);});}if(e.disableOtherRules&&t.rules.forEach(function(Y){z.includes(Y.id)===false&&(Y.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&&vD(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(je.allOrigins,'" instead'));t.setAllowedOrigins(e.allowedOrigins);}}var QA=ZA;function eE(e){vr.updateMessenger(e);}function tE(e){e=e||[];var t=e.length?h._audit.rules.filter(function(a){return !!e.filter(function(n){return a.tags.indexOf(n)!==-1}).length}):h._audit.rules,r=h._audit.data.rules||{};return t.map(function(a){var n=r[a.id]||{};return {ruleId:a.id,description:n.description,help:n.help,helpUrl:n.helpUrl,tags:a.tags,actIds:a.actIds}})}var rE=tE;function aE(e,t,r){var a=["SCRIPT","HEAD","TITLE","NOSCRIPT","STYLE","TEMPLATE"];if(!a.includes(e.nodeName.toUpperCase())&&Pn(r)){var n=p.getComputedStyle(e);if(n.getPropertyValue("display")==="none")return;if(n.getPropertyValue("visibility")==="hidden"){var i=It(e),o=i&&p.getComputedStyle(i);if(!o||o.getPropertyValue("visibility")!=="hidden")return}}return true}var nE=aE,Pm={};dr(Pm,{getAllCells:function(){return Wl},getCellPosition:function(){return Ji},getHeaders:function(){return yo},getScope:function(){return il},isColumnHeader:function(){return Pa},isDataCell:function(){return Om},isDataTable:function(){return wo},isHeader:function(){return cE},isRowHeader:function(){return Ma},toArray:function(){return qr},toGrid:function(){return qr},traverse:function(){return Ul}});function iE(e){var t,r,a,n,i=[];for(t=0,a=e.rows.length;t<a;t++)for(r=0,n=e.rows[t].cells.length;r<n;r++)i.push(e.rows[t].cells[r]);return i}var Wl=iE;function Mm(e,t,r){for(var a=e==="row"?"_rowHeaders":"_colHeaders",n=e==="row"?Ma:Pa,i=r[t.y][t.x],o=i.colSpan-1,s=i.getAttribute("rowspan"),l=parseInt(s)===0||i.rowspan===0?r.length:i.rowSpan,u=l-1,c=t.y+u,f=t.x+o,b=e==="row"?t.y:0,A=e==="row"?0:t.x,k,I=[],P=c;P>=b&&!k;P--)for(var M=f;M>=A;M--){var O=r[P]?r[P][M]:void 0;if(O){var H=h.utils.getNodeFromTree(O);if(H[a]){k=H[a];break}I.push(O);}}return k=(k||[]).concat(I.filter(n)),I.forEach(function(V){var z=h.utils.getNodeFromTree(V);z[a]=k;}),k}function oE(e,t){if(e.getAttribute("headers")){var r=Ar(e,"headers");if(r.filter(function(o){return o}).length)return r}t||(t=qr(Ia(e,"table")));var a=Ji(e,t),n=Mm("row",a,t),i=Mm("col",a,t);return [].concat(n,i).reverse()}var yo=oE;function sE(e){if(!e.children.length&&!e.textContent.trim())return false;var t=We(e);return t?["cell","gridcell"].includes(t):e.nodeName.toUpperCase()==="TD"}var Om=sE;function lE(e){var t=We(e);if((t==="presentation"||t==="none")&&!At(e))return false;if(e.getAttribute("contenteditable")==="true"||Ia(e,'[contenteditable="true"]')||t==="grid"||t==="treegrid"||t==="table"||br(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,a=e.children.length;r<a;r++)if(e.children[r].nodeName.toUpperCase()==="COLGROUP")return true;for(var n=0,i=e.rows.length,o,s,l=false,u=0;u<i;u++){o=e.rows[u];for(var c=0,f=o.cells.length;c<f;c++){if(s=o.cells[c],s.nodeName.toUpperCase()==="TH"||(!l&&(s.offsetWidth!==s.clientWidth||s.offsetHeight!==s.clientHeight)&&(l=true),s.getAttribute("scope")||s.getAttribute("headers")||s.getAttribute("abbr"))||["columnheader","rowheader"].includes(We(s))||s.children.length===1&&s.children[0].nodeName.toUpperCase()==="ABBR")return true;n++;}}if(e.getElementsByTagName("table").length||i<2)return false;var b=e.rows[Math.ceil(i/2)];if(b.cells.length===1&&b.cells[0].colSpan===1)return false;if(b.cells.length>=5||l)return true;for(var A,k,I=0;I<i;I++){if(o=e.rows[I],A&&A!==p.getComputedStyle(o).getPropertyValue("background-color")||(A=p.getComputedStyle(o).getPropertyValue("background-color"),k&&k!==p.getComputedStyle(o).getPropertyValue("background-image")))return true;k=p.getComputedStyle(o).getPropertyValue("background-image");}return i>=20?true:!(zs(e).width>Vi(p).width*.95||n<10||e.querySelector("object, embed, iframe, applet"))}var wo=lE;function uE(e){if(Pa(e)||Ma(e))return true;if(e.getAttribute("id")){var t=yt(e.getAttribute("id"));return !!m.querySelector('[headers~="'.concat(t,'"]'))}return false}var cE=uE;function Nm(e,t,r,a){var n,i=r[t.y]?r[t.y][t.x]:void 0;return i?typeof a=="function"&&(n=a(i,t,r),n===true)?[i]:(n=Nm(e,{x:t.x+e.x,y:t.y+e.y},r,a),n.unshift(i),n):[]}function dE(e,t,r,a){if(Array.isArray(t)&&(a=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 Nm(e,{x:t.x+e.x,y:t.y+e.y},r,a)}var Ul=dE,qm={};dr(qm,{allowedAttr:function(){return Bm},arialabelText:function(){return Tn},arialabelledbyText:function(){return kn},getAccessibleRefs:function(){return Xl},getElementUnallowedRoles:function(){return jm},getExplicitRole:function(){return We},getImplicitRole:function(){return Er},getOwnedVirtual:function(){return In},getRole:function(){return $e},getRoleType:function(){return br},getRolesByType:function(){return _E},getRolesWithNameFromContents:function(){return CE},implicitNodes:function(){return kE},implicitRole:function(){return Er},isAccessibleRef:function(){return xo},isAriaRoleAllowedOnElement:function(){return Vm},isComboboxPopup:function(){return Kl},isUnsupportedRole:function(){return al},isValidRole:function(){return Fn},label:function(){return Wm},labelVirtual:function(){return eo},lookupTable:function(){return zm},namedFromContents:function(){return pp},requiredAttr:function(){return Um},requiredContext:function(){return Jl},requiredOwned:function(){return Zl},validateAttr:function(){return Do},validateAttrValue:function(){return Xm}});function fE(e){var t=et.ariaRoles[e],r=ke(Qr());return t&&(t.allowedAttrs&&r.push.apply(r,ke(t.allowedAttrs)),t.requiredAttrs&&r.push.apply(r,ke(t.requiredAttrs))),r}var Bm=fE,pE=/^idrefs?$/;function Hm(e,t,r){if(e.hasAttribute){if(e.nodeName.toUpperCase()==="LABEL"&&e.hasAttribute("for")){var a=e.getAttribute("for");t.has(a)?t.get(a).push(e):t.set(a,[e]);}for(var n=0;n<r.length;++n){var i=r[n],o=Oe(e.getAttribute(i)||"");if(o){var s=Ke(jt(o)),l;try{for(s.s();!(l=s.n()).done;){var u=l.value;t.has(u)?t.get(u).push(e):t.set(u,[e]);}}catch(f){s.e(f);}finally{s.f();}}}}for(var c=0;c<e.childNodes.length;c++)e.childNodes[c].nodeType===1&&Hm(e.childNodes[c],t,r);}function mE(e){var t;e=e.actualNode||e;var r=Nt(e);r=r.documentElement||r;var a=Ve.get("idRefsByRoot",function(){return new Map}),n=a.get(r);if(!n){n=new Map,a.set(r,n);var i=Object.keys(et.ariaAttrs).filter(function(o){var s=et.ariaAttrs[o].type;return pE.test(s)});Hm(r,n,i);}return (t=n.get(e.id))!==null&&t!==void 0?t:[]}var Xl=mE;function hE(e,t){var r=e instanceof Rt?e:ze(e),a=Er(r),n=ea(r);return Array.isArray(n.allowedRoles)?n.allowedRoles.includes(t):t===a?false:!!n.allowedRoles}var Vm=hE,gE=["doc-backlink","doc-biblioentry","doc-biblioref","doc-cover","doc-endnote","doc-glossref","doc-noteref"],vE={header:"banner",footer:"contentinfo"};function bE(e){var t=[];if(!e)return t;if(e.hasAttr("role")){var r=jt(e.attr("role").toLowerCase());t=t.concat(r);}return t.filter(function(a){return Fn(a)})}function yE(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:true,r=Ze(e),a=r.vNode;if(!Ol(a))return [];var n=a.props.nodeName,i=Er(a)||vE[n],o=bE(a);return o.filter(function(s){return !wE(s,a,t,i)})}function wE(e,t,r,a){return r&&e===a?true:gE.includes(e)&&br(e)!==a?false:Vm(t,e)}var jm=yE;function xE(e){return Object.keys(et.ariaRoles).filter(function(t){return et.ariaRoles[t].type===e})}var Na=xE;function DE(e){return Na(e)}var _E=DE;function AE(){return Ve.get("ariaRolesNameFromContent",function(){return Object.keys(et.ariaRoles).filter(function(e){return et.ariaRoles[e].nameFromContent})})}var Yl=AE;function EE(){return Yl()}var CE=EE,$m=function(t){return t===null},qt=function(t){return t!==null},Hr={};Hr.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}},Hr.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"],Hr.role={alert:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:["section"]},alertdialog:{type:"widget",attributes:{allowed:["aria-expanded","aria-modal","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:["dialog","section"]},application:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage","aria-activedescendant"]},owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:["article","audio","embed","iframe","object","section","svg","video"]},article:{type:"structure",attributes:{allowed:["aria-expanded","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["article"],unsupported:false},banner:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["header"],unsupported:false,allowedElements:["section"]},button:{type:"widget",attributes:{allowed:["aria-expanded","aria-pressed","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["button",'input[type="button"]','input[type="image"]','input[type="reset"]','input[type="submit"]',"summary"],unsupported:false,allowedElements:[{nodeName:"a",attributes:{href:qt}}]},cell:{type:"structure",attributes:{allowed:["aria-colindex","aria-colspan","aria-rowindex","aria-rowspan","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["row"],implicit:["td","th"],unsupported:false},checkbox:{type:"widget",attributes:{allowed:["aria-checked","aria-required","aria-readonly","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:['input[type="checkbox"]'],unsupported:false,allowedElements:["button"]},columnheader:{type:"structure",attributes:{allowed:["aria-colindex","aria-colspan","aria-expanded","aria-rowindex","aria-rowspan","aria-required","aria-readonly","aria-selected","aria-sort","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["row"],implicit:["th"],unsupported:false},combobox:{type:"composite",attributes:{allowed:["aria-autocomplete","aria-required","aria-activedescendant","aria-orientation","aria-errormessage"],required:["aria-expanded"]},owned:{all:["listbox","tree","grid","dialog","textbox"]},nameFrom:["author"],context:null,unsupported:false,allowedElements:[{nodeName:"input",properties:{type:["text","search","tel","url","email"]}}]},command:{nameFrom:["author"],type:"abstract",unsupported:false},complementary:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["aside"],unsupported:false,allowedElements:["section"]},composite:{nameFrom:["author"],type:"abstract",unsupported:false},contentinfo:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["footer"],unsupported:false,allowedElements:["section"]},definition:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["dd","dfn"],unsupported:false},dialog:{type:"widget",attributes:{allowed:["aria-expanded","aria-modal","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["dialog"],unsupported:false,allowedElements:["section"]},directory:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:false,allowedElements:["ol","ul"]},document:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["body"],unsupported:false,allowedElements:["article","embed","iframe","object","section","svg"]},"doc-abstract":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-acknowledgments":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-afterword":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-appendix":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-backlink":{type:"link",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:false,allowedElements:[{nodeName:"a",attributes:{href:qt}}]},"doc-biblioentry":{type:"listitem",attributes:{allowed:["aria-expanded","aria-level","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author"],context:["doc-bibliography"],unsupported:false,allowedElements:["li"]},"doc-bibliography":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:{one:["doc-biblioentry"]},nameFrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-biblioref":{type:"link",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:false,allowedElements:[{nodeName:"a",attributes:{href:qt}}]},"doc-chapter":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-colophon":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-conclusion":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-cover":{type:"img",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false},"doc-credit":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-credits":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-dedication":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-endnote":{type:"listitem",attributes:{allowed:["aria-expanded","aria-level","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,namefrom:["author"],context:["doc-endnotes"],unsupported:false,allowedElements:["li"]},"doc-endnotes":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:{one:["doc-endnote"]},namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-epigraph":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false},"doc-epilogue":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-errata":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-example":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["aside","section"]},"doc-footnote":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["aside","footer","header"]},"doc-foreword":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-glossary":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:["term","definition"],namefrom:["author"],context:null,unsupported:false,allowedElements:["dl"]},"doc-glossref":{type:"link",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author","contents"],context:null,unsupported:false,allowedElements:[{nodeName:"a",attributes:{href:qt}}]},"doc-index":{type:"navigation",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["nav","section"]},"doc-introduction":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-noteref":{type:"link",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author","contents"],context:null,unsupported:false,allowedElements:[{nodeName:"a",attributes:{href:qt}}]},"doc-notice":{type:"note",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-pagebreak":{type:"separator",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["hr"]},"doc-pagelist":{type:"navigation",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["nav","section"]},"doc-part":{type:"landmark",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-preface":{type:"landmark",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-prologue":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-pullquote":{type:"none",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["aside","section"]},"doc-qna":{type:"section",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-subtitle":{type:"sectionhead",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:{nodeName:["h1","h2","h3","h4","h5","h6"]}},"doc-tip":{type:"note",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["aside"]},"doc-toc":{type:"navigation",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["nav","section"]},feed:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:{one:["article"]},nameFrom:["author"],context:null,unsupported:false,allowedElements:["article","aside","section"]},figure:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["figure"],unsupported:false},form:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["form"],unsupported:false},grid:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-colcount","aria-level","aria-multiselectable","aria-readonly","aria-rowcount","aria-errormessage"]},owned:{one:["rowgroup","row"]},nameFrom:["author"],context:null,implicit:["table"],unsupported:false},gridcell:{type:"widget",attributes:{allowed:["aria-colindex","aria-colspan","aria-expanded","aria-rowindex","aria-rowspan","aria-selected","aria-readonly","aria-required","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["row"],implicit:["td","th"],unsupported:false},group:{type:"structure",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["details","optgroup"],unsupported:false,allowedElements:["dl","figcaption","fieldset","figure","footer","header","ol","ul"]},heading:{type:"structure",attributes:{required:["aria-level"],allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["h1","h2","h3","h4","h5","h6"],unsupported:false},img:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["img"],unsupported:false,allowedElements:["embed","iframe","object","svg"]},input:{nameFrom:["author"],type:"abstract",unsupported:false},landmark:{nameFrom:["author"],type:"abstract",unsupported:false},link:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["a[href]","area[href]"],unsupported:false,allowedElements:["button",{nodeName:"input",properties:{type:["image","button"]}}]},list:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:{all:["listitem"]},nameFrom:["author"],context:null,implicit:["ol","ul","dl"],unsupported:false},listbox:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-multiselectable","aria-readonly","aria-required","aria-expanded","aria-orientation","aria-errormessage"]},owned:{all:["option"]},nameFrom:["author"],context:null,implicit:["select"],unsupported:false,allowedElements:["ol","ul"]},listitem:{type:"structure",attributes:{allowed:["aria-level","aria-posinset","aria-setsize","aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["list"],implicit:["li","dt"],unsupported:false},log:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:["section"]},main:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["main"],unsupported:false,allowedElements:["article","section"]},marquee:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:["section"]},math:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["math"],unsupported:false},menu:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-orientation","aria-errormessage"]},owned:{one:["menuitem","menuitemradio","menuitemcheckbox"]},nameFrom:["author"],context:null,implicit:['menu[type="context"]'],unsupported:false,allowedElements:["ol","ul"]},menubar:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-orientation","aria-errormessage"]},owned:{one:["menuitem","menuitemradio","menuitemcheckbox"]},nameFrom:["author"],context:null,unsupported:false,allowedElements:["ol","ul"]},menuitem:{type:"widget",attributes:{allowed:["aria-posinset","aria-setsize","aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["menu","menubar"],implicit:['menuitem[type="command"]'],unsupported:false,allowedElements:["button","li",{nodeName:"iput",properties:{type:["image","button"]}},{nodeName:"a",attributes:{href:qt}}]},menuitemcheckbox:{type:"widget",attributes:{allowed:["aria-checked","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["menu","menubar"],implicit:['menuitem[type="checkbox"]'],unsupported:false,allowedElements:[{nodeName:["button","li"]},{nodeName:"input",properties:{type:["checkbox","image","button"]}},{nodeName:"a",attributes:{href:qt}}]},menuitemradio:{type:"widget",attributes:{allowed:["aria-checked","aria-selected","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["menu","menubar"],implicit:['menuitem[type="radio"]'],unsupported:false,allowedElements:[{nodeName:["button","li"]},{nodeName:"input",properties:{type:["image","button","radio"]}},{nodeName:"a",attributes:{href:qt}}]},navigation:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["nav"],unsupported:false,allowedElements:["section"]},none:{type:"structure",attributes:null,owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:[{nodeName:["article","aside","dl","embed","figcaption","fieldset","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","iframe","li","ol","section","ul"]},{nodeName:"img",attributes:{alt:qt}}]},note:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:["aside"]},option:{type:"widget",attributes:{allowed:["aria-selected","aria-posinset","aria-setsize","aria-checked","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["listbox"],implicit:["option"],unsupported:false,allowedElements:[{nodeName:["button","li"]},{nodeName:"input",properties:{type:["checkbox","button"]}},{nodeName:"a",attributes:{href:qt}}]},presentation:{type:"structure",attributes:null,owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:[{nodeName:["article","aside","dl","embed","figcaption","fieldset","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","iframe","li","ol","section","ul"]},{nodeName:"img",attributes:{alt:qt}}]},progressbar:{type:"widget",attributes:{allowed:["aria-valuetext","aria-valuenow","aria-valuemax","aria-valuemin","aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["progress"],unsupported:false},radio:{type:"widget",attributes:{allowed:["aria-selected","aria-posinset","aria-setsize","aria-required","aria-errormessage","aria-checked"]},owned:null,nameFrom:["author","contents"],context:null,implicit:['input[type="radio"]'],unsupported:false,allowedElements:[{nodeName:["button","li"]},{nodeName:"input",properties:{type:["image","button"]}}]},radiogroup:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-required","aria-expanded","aria-readonly","aria-errormessage","aria-orientation"]},owned:{all:["radio"]},nameFrom:["author"],context:null,unsupported:false,allowedElements:{nodeName:["ol","ul","fieldset"]}},range:{nameFrom:["author"],type:"abstract",unsupported:false},region:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["section[aria-label]","section[aria-labelledby]","section[title]"],unsupported:false,allowedElements:{nodeName:["article","aside"]}},roletype:{type:"abstract",unsupported:false},row:{type:"structure",attributes:{allowed:["aria-activedescendant","aria-colindex","aria-expanded","aria-level","aria-selected","aria-rowindex","aria-errormessage"]},owned:{one:["cell","columnheader","rowheader","gridcell"]},nameFrom:["author","contents"],context:["rowgroup","grid","treegrid","table"],implicit:["tr"],unsupported:false},rowgroup:{type:"structure",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-errormessage"]},owned:{all:["row"]},nameFrom:["author","contents"],context:["grid","table","treegrid"],implicit:["tbody","thead","tfoot"],unsupported:false},rowheader:{type:"structure",attributes:{allowed:["aria-colindex","aria-colspan","aria-expanded","aria-rowindex","aria-rowspan","aria-required","aria-readonly","aria-selected","aria-sort","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["row"],implicit:["th"],unsupported:false},scrollbar:{type:"widget",attributes:{required:["aria-controls","aria-valuenow"],allowed:["aria-valuetext","aria-orientation","aria-errormessage","aria-valuemax","aria-valuemin"]},owned:null,nameFrom:["author"],context:null,unsupported:false},search:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:{nodeName:["aside","form","section"]}},searchbox:{type:"widget",attributes:{allowed:["aria-activedescendant","aria-autocomplete","aria-multiline","aria-readonly","aria-required","aria-placeholder","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:['input[type="search"]'],unsupported:false,allowedElements:{nodeName:"input",properties:{type:"text"}}},section:{nameFrom:["author","contents"],type:"abstract",unsupported:false},sectionhead:{nameFrom:["author","contents"],type:"abstract",unsupported:false},select:{nameFrom:["author"],type:"abstract",unsupported:false},separator:{type:"structure",attributes:{allowed:["aria-expanded","aria-orientation","aria-valuenow","aria-valuemax","aria-valuemin","aria-valuetext","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["hr"],unsupported:false,allowedElements:["li"]},slider:{type:"widget",attributes:{allowed:["aria-valuetext","aria-orientation","aria-readonly","aria-errormessage","aria-valuemax","aria-valuemin"],required:["aria-valuenow"]},owned:null,nameFrom:["author"],context:null,implicit:['input[type="range"]'],unsupported:false},spinbutton:{type:"widget",attributes:{allowed:["aria-valuetext","aria-required","aria-readonly","aria-errormessage","aria-valuemax","aria-valuemin"],required:["aria-valuenow"]},owned:null,nameFrom:["author"],context:null,implicit:['input[type="number"]'],unsupported:false,allowedElements:{nodeName:"input",properties:{type:["text","tel"]}}},status:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["output"],unsupported:false,allowedElements:["section"]},structure:{type:"abstract",unsupported:false},switch:{type:"widget",attributes:{allowed:["aria-errormessage"],required:["aria-checked"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:false,allowedElements:["button",{nodeName:"input",properties:{type:["checkbox","image","button"]}},{nodeName:"a",attributes:{href:qt}}]},tab:{type:"widget",attributes:{allowed:["aria-selected","aria-expanded","aria-setsize","aria-posinset","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["tablist"],unsupported:false,allowedElements:[{nodeName:["button","h1","h2","h3","h4","h5","h6","li"]},{nodeName:"input",properties:{type:"button"}},{nodeName:"a",attributes:{href:qt}}]},table:{type:"structure",attributes:{allowed:["aria-colcount","aria-rowcount","aria-errormessage"]},owned:{one:["rowgroup","row"]},nameFrom:["author","contents"],context:null,implicit:["table"],unsupported:false},tablist:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-level","aria-multiselectable","aria-orientation","aria-errormessage"]},owned:{all:["tab"]},nameFrom:["author"],context:null,unsupported:false,allowedElements:["ol","ul"]},tabpanel:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:["section"]},term:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["dt"],unsupported:false},textbox:{type:"widget",attributes:{allowed:["aria-activedescendant","aria-autocomplete","aria-multiline","aria-readonly","aria-required","aria-placeholder","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:['input[type="text"]','input[type="email"]','input[type="password"]','input[type="tel"]','input[type="url"]',"input:not([type])","textarea"],unsupported:false},timer:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:false},toolbar:{type:"structure",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-orientation","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:['menu[type="toolbar"]'],unsupported:false,allowedElements:["ol","ul"]},tooltip:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:false},tree:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-multiselectable","aria-required","aria-expanded","aria-orientation","aria-errormessage"]},owned:{all:["treeitem"]},nameFrom:["author"],context:null,unsupported:false,allowedElements:["ol","ul"]},treegrid:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-colcount","aria-expanded","aria-level","aria-multiselectable","aria-readonly","aria-required","aria-rowcount","aria-orientation","aria-errormessage"]},owned:{one:["rowgroup","row"]},nameFrom:["author"],context:null,unsupported:false},treeitem:{type:"widget",attributes:{allowed:["aria-checked","aria-selected","aria-expanded","aria-level","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["group","tree"],unsupported:false,allowedElements:["li",{nodeName:"a",attributes:{href:qt}}]},widget:{type:"abstract",unsupported:false},window:{nameFrom:["author"],type:"abstract",unsupported:false}},Hr.implicitHtmlRole=sl,Hr.elementsAllowedNoRole=[{nodeName:["base","body","caption","col","colgroup","datalist","dd","details","dt","head","html","keygen","label","legend","main","map","math","meta","meter","noscript","optgroup","param","picture","progress","script","source","style","template","textarea","title","track"]},{nodeName:"area",attributes:{href:qt}},{nodeName:"input",properties:{type:["color","data","datatime","file","hidden","month","number","password","range","reset","submit","time","week"]}},{nodeName:"link",attributes:{href:qt}},{nodeName:"menu",attributes:{type:"context"}},{nodeName:"menuitem",attributes:{type:["command","checkbox","radio"]}},{nodeName:"select",condition:function(t){return t instanceof h.AbstractVirtualNode||(t=h.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"]}],Hr.elementsAllowedAnyRole=[{nodeName:"a",attributes:{href:$m}},{nodeName:"img",attributes:{alt:$m}},{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"]}],Hr.evaluateRoleForElement={A:function(t){var r=t.node,a=t.out;return r.namespaceURI==="http://www.w3.org/2000/svg"?true:r.href.length?a:true},AREA:function(t){var r=t.node;return !r.href},BUTTON:function(t){var r=t.node,a=t.role,n=t.out;return r.getAttribute("type")==="menu"?a==="menuitem":n},IMG:function(t){var r=t.node,a=t.role,n=t.out;switch(r.alt){case null:return n;case "":return a==="presentation"||a==="none";default:return a!=="presentation"&&a!=="none"}},INPUT:function(t){var r=t.node,a=t.role,n=t.out;switch(r.type){case "button":case "image":return n;case "checkbox":return a==="button"&&r.hasAttribute("aria-pressed")?true:n;case "radio":return a==="menuitemradio";case "text":return a==="combobox"||a==="searchbox"||a==="spinbutton";case "tel":return a==="combobox"||a==="spinbutton";case "url":case "search":case "email":return a==="combobox";default:return false}},LI:function(t){var r=t.node,a=t.out,n=h.utils.matchesSelector(r,"ol li, ul li");return n?a:true},MENU:function(t){var r=t.node;return r.getAttribute("type")!=="context"},OPTION:function(t){var r=t.node,a=h.utils.matchesSelector(r,"select > option, datalist > option, optgroup > option");return !a},SELECT:function(t){var r=t.node,a=t.role;return !r.multiple&&r.size<=1&&a==="menu"},SVG:function(t){var r=t.node,a=t.out;return r.parentNode&&r.parentNode.namespaceURI==="http://www.w3.org/2000/svg"?true:a}},Hr.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 zm=Hr;function SE(e){var t=null,r=zm.role[e];return r&&r.implicit&&(t=Mr(r.implicit)),t}var kE=SE;function TE(e){return !!Xl(e).length}var xo=TE;function Kl(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.popupRoles,a=$e(e);if(r??(r=Xf["aria-haspopup"].values),!r.includes(a))return false;var n=FE(e);if(Gm(n))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=_n(e.actualNode),s=o.querySelectorAll('[aria-owns~="'.concat(i,`"][role~="combobox"]:not(select),
370
+ [aria-controls~="`).concat(i,'"][role~="combobox"]:not(select)'));return Array.from(s).some(Gm)}var Gm=function(t){return t&&$e(t)==="combobox"};function FE(e){for(;e=e.parent;)if($e(e,{noPresentational:true})!==null)return e;return null}function RE(e){return e=ze(e),eo(e)}var Wm=RE;function IE(e){var t=et.ariaRoles[e];return !t||!Array.isArray(t.requiredAttrs)?[]:ke(t.requiredAttrs)}var Um=IE;function LE(e){var t=et.ariaRoles[e];return !t||!Array.isArray(t.requiredContext)?null:ke(t.requiredContext)}var Jl=LE;function PE(e){var t=et.ariaRoles[e];return !t||!Array.isArray(t.requiredOwned)?null:ke(t.requiredOwned)}var Zl=PE;function ME(e,t){e=e instanceof Rt?e:ze(e);var r,a,n=e.attr(t),i=et.ariaAttrs[t];if(!i||i.allowEmpty&&(!n||n.trim()===""))return true;switch(i.type){case "boolean":return ["true","false"].includes(n.toLowerCase());case "nmtoken":return typeof n=="string"&&i.values.includes(n.toLowerCase());case "nmtokens":return a=jt(n),a.reduce(function(l,u){return l&&i.values.includes(u)},a.length!==0);case "idref":try{var o=Nt(e.actualNode);return !!(n&&o.getElementById(n))}catch{throw new TypeError("Cannot resolve id references for partial DOM")}case "idrefs":return Ar(e,t).some(function(l){return !!l});case "string":return n.trim()!=="";case "decimal":return r=n.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(n)&&parseInt(n)>=s}}var Xm=ME;function OE(e){var t=et.ariaAttrs[e];return !!t}var Do=OE;function NE(e){var t=Wl(e),r=this,a=[];t.forEach(function(s){var l=s.getAttribute("headers");l&&(a=a.concat(l.split(/\s+/)));var u=s.getAttribute("aria-labelledby");u&&(a=a.concat(u.split(/\s+/)));});var n=t.filter(function(s){return Oe(s.textContent)===""?false:s.nodeName.toUpperCase()==="TH"||["rowheader","columnheader"].indexOf(We(s))!==-1}),i=qr(e),o=true;return n.forEach(function(s){if(!(s.getAttribute("id")&&a.includes(s.getAttribute("id")))){var l=Ji(s,i),u=false;Pa(s)&&(u=Ul("down",l,i).find(function(c){return !Pa(c)&&yo(c,i).includes(s)})),!u&&Ma(s)&&(u=Ul("right",l,i).find(function(c){return !Ma(c)&&yo(c,i).includes(s)})),u||r.relatedNodes(s),o=o&&u;}}),o?true:void 0}var qE=NE,Hn=["cell-header-not-in-table","cell-header-not-th","header-refs-self","empty-hdrs"],Ym=Hn[0],Km=Hn[1],Jm=Hn[2],Ql=Hn[3];function BE(e){for(var t=[],r={},a=0;a<e.rows.length;a++)for(var n=e.rows[a],i=0;i<n.cells.length;i++){var o=n.cells[i];t.push(o);var s=o.getAttribute("id");s&&(r[s]=$e(o));}var l=ne(ne(ne(ne({},Jm,new Set),Ym,new Set),Km,new Set),Ql,new Set);t.forEach(function(b){if(!(!b.hasAttribute("headers")||!pt(b))){var A=b.getAttribute("headers").trim();if(!A){l[Ql].add(b);return}var k=b.getAttribute("id"),I=jt(A);I.forEach(function(P){k&&P===k?l[Jm].add(b):r[P]?["columnheader","rowheader"].includes(r[P])||l[Km].add(b):l[Ym].add(b);});}});var u=Ke(Hn),c;try{for(u.s();!(c=u.n()).done;){var f=c.value;if(l[f].size>0)return this.relatedNodes(ke(l[f])),f===Ql?void 0:(this.data({messageKey:f}),!1)}}catch(b){u.e(b);}finally{u.f();}return true}function HE(e){var t=[],r=Wl(e),a=qr(e);return r.forEach(function(n){if(ao(n)&&Om(n)&&!Wm(n)){var i=yo(n,a).some(function(o){return o!==null&&!!ao(o)});i||t.push(n);}}),t.length?(this.relatedNodes(t),false):true}var VE=HE;function jE(e,t){var r=e.getAttribute("scope").toLowerCase();return t.values.indexOf(r)!==-1}var $E=jE,zE=GE;function GE(e,t,r){if(r.children!==void 0){var a=r.attr("summary"),n=r.children.find(WE),i=n?Oe(ta(n)):false;return !i||!a?false:Oe(a).toLowerCase()===Oe(i).toLowerCase()}}function WE(e){return e.props.nodeName==="caption"}function UE(e){return Bp(m)?e.nodeName.toUpperCase()==="TH":true}var XE=UE;function YE(e){var t=qr(e),r=t[0];return t.length<=1||r.length<=1||e.rows.length<=1?true:r.reduce(function(a,n,i){return a||n!==r[i+1]&&r[i+1]!==void 0},false)}var KE=YE;function JE(e,t,r){if(r.children){var a=r.children.find(function(i){var o=i.props;return o.nodeName==="title"});if(!a)return this.data({messageKey:"noTitle"}),false;try{var n=ta(a,{includeHidden:!0}).trim();if(n==="")return this.data({messageKey:"emptyTitle"}),!1}catch{return}return true}}var ZE=JE,Zm={};dr(Zm,{getAriaRolesByType:function(){return Na},getAriaRolesSupportingNameFromContent:function(){return Yl},getElementSpec:function(){return ea},getElementsByContentType:function(){return nl},getGlobalAriaAttrs:function(){return Qr},implicitHtmlRoles:function(){return sl}});function QE(e,t,r){var a=We(r);if(["presentation","none"].includes(a)&&["iframe","frame"].includes(r.props.nodeName)&&r.hasAttr("title"))return this.data({messageKey:"iframe",nodeName:r.props.nodeName}),false;var n=$e(r);if(["presentation","none"].includes(n))return this.data({role:n}),true;if(!["presentation","none"].includes(a))return false;var i=Qr().some(function(l){return r.hasAttr(l)}),o=At(r),s;return i&&!o?s="globalAria":!i&&o?s="focusable":s="both",this.data({messageKey:s,role:n}),false}function eC(e,t,r){var a=r.props.nodeName,n=(r.attr("type")||"").toLowerCase(),i=r.attr("value");return i&&this.data({messageKey:"has-label"}),a==="input"&&["submit","reset"].includes(n)?i===null:false}var tC=eC;function rC(e){return Jt(e)}var aC=rC;function nC(e,t){var r=t.cssProperty,a=t.absoluteValues,n=t.minValue,i=t.maxValue,o=t.normalValue,s=o===void 0?0:o,l=t.noImportant,u=t.multiLineOnly;if(!l&&e.style.getPropertyPriority(r)!=="important"||u&&!Vp(e))return true;var c={};typeof n=="number"&&(c.minValue=n),typeof i=="number"&&(c.maxValue=i);var f=e.style.getPropertyValue(r);if(["inherit","unset","revert","revert-layer"].includes(f))return this.data(Re({value:f},c)),true;var b=iC(e,{absoluteValues:a,cssProperty:r,normalValue:s});if(this.data(Re({value:b},c)),typeof b=="number")return (typeof n!="number"||b>=n)&&(typeof i!="number"||b<=i)}function iC(e,t){var r=t.cssProperty,a=t.absoluteValues,n=t.normalValue,i=p.getComputedStyle(e),o=i.getPropertyValue(r);if(o==="normal")return n;var s=parseFloat(o);if(a)return s;var l=parseFloat(i.getPropertyValue("font-size")),u=Math.round(s/l*100)/100;return isNaN(u)?o:u}function oC(e,t,r){var a=r.props.nodeName;return ["img","input","area"].includes(a)?r.hasAttr("alt"):false}var sC=oC;function lC(){}var uC=lC;function cC(){var e=m.title;return !!Oe(e)}var dC=cC;function fC(e,t){var r=t.cssProperties.filter(function(a){if(e.style.getPropertyPriority(a)==="important")return a});return r.length>0?(this.data(r),false):true}var pC=fC;function mC(e,t,r){try{return !!Oe(kn(r))}catch{return}}var hC=mC;function gC(e,t,r){return !!Oe(Tn(r))}var vC=gC;function bC(e){var t=e.getAttribute("id").trim();if(!t)return true;var r=Nt(e),a=Array.from(r.querySelectorAll('[id="'.concat(yt(t),'"]'))).filter(function(n){return n!==e});return a.length&&this.relatedNodes(a),this.data(t),a.length===0}var yC=bC;function wC(e){var t=[];return e.filter(function(r){return t.indexOf(r.data)===-1?(t.push(r.data),true):false})}var xC=wC;function DC(e,t,r){var a=Oe(r.attr("title")).toLowerCase();return this.data(a),true}var _C=DC;function AC(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 EC=AC;function CC(e){var t=Qs(e,"href");return t?pt(t)||void 0:false}var SC=CC,kC=["alert","log","status"];function TC(e,t,r){this.data({isIframe:["iframe","frame"].includes(r.props.nodeName)});var a=Ve.get("regionlessNodes",function(){return FC(t)});return !a.includes(r)}function FC(e){var t=Qm(h._tree[0],e).map(function(r){for(;r.parent&&!r.parent._hasRegionDescendant&&r.parent.actualNode!==m.body;)r=r.parent;return r}).filter(function(r,a,n){return n.indexOf(r)===a});return t}function Qm(e,t){var r=e.actualNode;if($e(e)==="button"||IC(e,t)||["iframe","frame"].includes(e.props.nodeName)||_l(e.actualNode)&&Qs(e.actualNode,"href")||!pt(r)){for(var a=e;a;)a._hasRegionDescendant=true,a=a.parent;return ["iframe","frame"].includes(e.props.nodeName)?[e]:[]}else return r!==m.body&&ao(r,true)&&!RC(e)?[e]:e.children.filter(function(n){var i=n.actualNode;return i.nodeType===1}).map(function(n){return Qm(n,t)}).reduce(function(n,i){return n.concat(i)},[])}function RC(e){return ["none","presentation"].includes($e(e))&&!ro(e)}function IC(e,t){var r=e.actualNode,a=$e(e),n=(r.getAttribute("aria-live")||"").toLowerCase().trim(),i=Na("landmark");return !!(["assertive","polite"].includes(n)||kC.includes(a)||i.includes(a)||t.regionMatcher&&Rn(e,t.regionMatcher))}function LC(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 a=r.node.ancestry.slice(0,-1),n=Ke(t),i;try{for(n.s();!(i=n.n()).done;){var o=i.value;if(ql(a,o.node.ancestry)){r.result=o.result;break}}}catch(s){n.e(s);}finally{n.f();}}}),t.forEach(function(r){r.result||(r.result=true);}),e}var PC=LC;function MC(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 OC(e){for(var t=e,r=e.textContent.trim(),a=r;a===r&&t!==void 0;){var n=-1;if(e=t,e.children.length===0)return e;do n++,a=e.children[n].textContent.trim();while(a===""&&n+1<e.children.length);t=e.children[n];}return e}function eu(e){var t=p.getComputedStyle(OC(e));return {fontWeight:MC(t.getPropertyValue("font-weight")),fontSize:parseInt(t.getPropertyValue("font-size")),isItalic:t.getPropertyValue("font-style")==="italic"}}function e1(e,t,r){return r.reduce(function(a,n){return a||(!n.size||e.fontSize/n.size>t.fontSize)&&(!n.weight||e.fontWeight-n.weight>t.fontWeight)&&(!n.italic||e.isItalic&&!t.isItalic)},false)}function NC(e,t,r){var a=Array.from(e.parentNode.children),n=a.indexOf(e);t=t||{};var i=t.margins||[],o=a.slice(n+1).find(function(P){return P.nodeName.toUpperCase()==="P"}),s=a.slice(0,n).reverse().find(function(P){return P.nodeName.toUpperCase()==="P"}),l=eu(e),u=o?eu(o):null,c=s?eu(s):null,f=t.passLength,b=t.failLength,A=e.textContent.trim().length,k=o?.textContent.trim().length;if(A>k*f||!u||!e1(l,u,i))return true;var I=Ra(r,"blockquote");if(!(I&&I.nodeName.toUpperCase()==="BLOCKQUOTE")&&!(c&&!e1(l,c,i))&&!(A>k*b))return false}var qC=NC,BC=/[;,\s]/,HC=/^[0-9.]+$/;function VC(e,t,r){var a=t||{},n=a.minDelay,i=a.maxDelay,o=(r.attr("content")||"").trim(),s=o.split(BC),l=ge(s,1),u=l[0];if(!u.match(HC))return true;var c=parseFloat(u);return this.data({redirectDelay:c}),typeof n=="number"&&c<=t.minDelay||typeof i=="number"&&c>t.maxDelay}function jC(e,t,r){var a=er(r,"a[href]");return a.some(function(n){return /^#[^/!]/.test(n.attr("href"))})}var $C=jC,t1={};dr(t1,{aria:function(){return qm},color:function(){return r1},dom:function(){return Vs},forms:function(){return m1},matches:function(){return Rn},math:function(){return kf},standards:function(){return Zm},table:function(){return Pm},text:function(){return Sn},utils:function(){return Zo}});var r1={};dr(r1,{Color:function(){return mt},centerPointOfRect:function(){return GC},elementHasImage:function(){return no},elementIsDistinct:function(){return n1},filteredRectStack:function(){return YC},flattenColors:function(){return Fr},flattenShadowColors:function(){return ru},getBackgroundColor:function(){return jn},getBackgroundStack:function(){return au},getContrast:function(){return qa},getForegroundColor:function(){return Eo},getOwnBackgroundColor:function(){return ya},getRectStack:function(){return i1},getStackingContext:function(){return iu},getStrokeColorsFromShadows:function(){return nu},getTextShadowColors:function(){return Ao},hasValidContrastRatio:function(){return vS},incompleteData:function(){return ut},parseTextShadows:function(){return l1},stackingContextToColor:function(){return Vn}});function zC(e){if(!(e.left>p.innerWidth)&&!(e.top>p.innerHeight)){var t=Math.min(Math.ceil(e.left+e.width/2),p.innerWidth-1),r=Math.min(Math.ceil(e.top+e.height/2),p.innerHeight-1);return {x:t,y:r}}}var GC=zC;function a1(e){return e.getPropertyValue("font-family").split(/[,;]/g).map(function(t){return t.trim().toLowerCase()})}function WC(e,t){var r=p.getComputedStyle(e);if(r.getPropertyValue("background-image")!=="none")return true;var a=["border-bottom","border-top","outline"].reduce(function(s,l){var u=new mt;return u.parseString(r.getPropertyValue(l+"-color")),s||r.getPropertyValue(l+"-style")!=="none"&&parseFloat(r.getPropertyValue(l+"-width"))>0&&u.alpha!==0},false);if(a)return true;var n=p.getComputedStyle(t);if(a1(r)[0]!==a1(n)[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)!==n.getPropertyValue(l)},false),o=r.getPropertyValue("text-decoration");return o.split(" ").length<3&&(i=i||o!==n.getPropertyValue("text-decoration")),i}var n1=WC;function UC(e){var t=Gf(e),r=vl(e);return !r||r.length<=1?[t]:r.some(function(a){return a===void 0})?null:(r.splice(0,0,t),r)}var i1=UC;function XC(e){var t=i1(e);if(t&&t.length===1)return t[0];if(t&&t.length>1){var r=t.shift(),a;return t.forEach(function(n,i){if(i!==0){var o=t[i-1],s=t[i];a=o.every(function(l,u){return l===s[u]})||r.includes(e);}}),a?t[0]:(ut.set("bgColor","elmPartiallyObscuring"),null)}return ut.set("bgColor","outsideViewport"),null}var YC=XC,KC=["hue","saturation","color","luminosity"],o1={normal:function(t,r){return r},multiply:function(t,r){return r*t},screen:function(t,r){return t+r-t*r},overlay:function(t,r){return this["hard-light"](r,t)},darken:function(t,r){return Math.min(t,r)},lighten:function(t,r){return Math.max(t,r)},"color-dodge":function(t,r){return t===0?0:r===1?1:Math.min(1,t/(1-r))},"color-burn":function(t,r){return t===1?1:r===0?0:1-Math.min(1,(1-t)/r)},"hard-light":function(t,r){return r<=.5?this.multiply(t,2*r):this.screen(t,2*r-1)},"soft-light":function(t,r){if(r<=.5)return t-(1-2*r)*t*(1-t);var a=t<=.25?((16*t-12)*t+4)*t:Math.sqrt(t);return t+(2*r-1)*(a-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 Fr(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"normal",a=ZC(t,e,r),n=tu(e.red,e.alpha,t.red,t.alpha,a.r*255),i=tu(e.green,e.alpha,t.green,t.alpha,a.g*255),o=tu(e.blue,e.alpha,t.blue,t.alpha,a.b*255),s=JC(e.alpha+t.alpha*(1-e.alpha),0,1);if(s===0)return new mt(n,i,o,s);var l=Math.round(n/s),u=Math.round(i/s),c=Math.round(o/s);return new mt(l,u,c,s)}function tu(e,t,r,a,n){return t*(1-a)*e+t*a*n+(1-t)*a*r}function JC(e,t,r){return Math.min(Math.max(t,e),r)}function ZC(e,t,r){if(KC.includes(r))return o1[r](e,t);var a=new mt;return ["r","g","b"].forEach(function(n){a[n]=o1[r](e[n],t[n]);}),a}function ru(e,t){var r=e.alpha,a=(1-r)*t.red+r*e.red,n=(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 mt(a,n,i,o)}function au(e){for(var t=vl(e).map(function(n){return n=jp(n,e),n=QC(n),n}),r=0;r<t.length;r++){var a=t[r];if(a[0]!==e)return ut.set("bgColor","bgOverlap"),null;if(r!==0&&!eS(a,t[0]))return ut.set("bgColor","elmPartiallyObscuring"),null}return t[0]||null}function QC(e){var t=e.indexOf(m.body),r=e,a=ya(p.getComputedStyle(m.documentElement));if(t>1&&a.alpha===0&&!no(m.documentElement)){t>1&&(r.splice(t,1),r.push(m.body));var n=r.indexOf(m.documentElement);n>0&&(r.splice(n,1),r.push(m.documentElement));}return r}function eS(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 tS=.54,_o=.5,rS=1.5,s1=["top","right","bottom","left"];function nu(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.ignoreEdgeCount,a=r===void 0?false:r,n=aS(e),i=Object.entries(n).map(function(o){var s=ge(o,2),l=s[0],u=s[1],c=s1.filter(function(f){return u[f].length!==0}).length;return {colorStr:l,sides:u,edgeCount:c}});return !a&&i.some(function(o){var s=o.edgeCount;return s>1&&s<4})?null:i.map(nS).filter(function(o){return o!==null})}function aS(e){var t={},r=Ke(e),a;try{for(r.s();!(a=r.n()).done;){var n,i=a.value,o=i.colorStr,s=i.pixels;(n=t[o])!==null&&n!==void 0||(t[o]={top:[],right:[],bottom:[],left:[]});var l=t[o],u=ge(s,2),c=u[0],f=u[1];c>_o?l.right.push(c):-c>_o&&l.left.push(-c),f>_o?l.bottom.push(f):-f>_o&&l.top.push(-f);}}catch(b){r.e(b);}finally{r.f();}return t}function nS(e){var t=e.colorStr,r=e.sides,a=e.edgeCount;if(a!==4)return null;var n=new mt;n.parseString(t);var i=0,o=true;return s1.forEach(function(s){i+=r[s].length/4,o&&(o=r[s].every(function(l){return l>rS}));}),o||(n.alpha=1-Math.pow(tS,i)),n}function l1(e){var t={pixels:[]},r=e.trim(),a=[t];if(!r)return [];for(;r;){var n=r.match(/^[a-z]+(\([^)]+\))?/i)||r.match(/^#[0-9a-f]+/i),i=r.match(/^([0-9.-]+)px/i)||r.match(/^(0)/);if(n)Qe(!t.colorStr,"Multiple colors identified in text-shadow: ".concat(e)),r=r.replace(n[0],"").trim(),t.colorStr=n[0];else if(i){Qe(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]===",")Qe(t.pixels.length>=2,"Missing pixel value in text-shadow: ".concat(e)),t={pixels:[]},a.push(t),r=r.substr(1).trim();else throw new Error("Unable to process text-shadows: ".concat(r))}return a.forEach(function(s){var l=s.pixels;l.length===2&&l.push(0);}),a}function Ao(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.minRatio,a=t.maxRatio,n=t.ignoreEdgeCount,i=[],o=p.getComputedStyle(e),s=o.getPropertyValue("text-shadow");if(s==="none")return i;var l=o.getPropertyValue("font-size"),u=parseInt(l);Qe(isNaN(u)===false,"Unable to determine font-size value ".concat(l));var c=[],f=l1(s),b=Ke(f),A;try{for(b.s();!(A=b.n()).done;){var k=A.value,I=k.colorStr||o.getPropertyValue("color"),P=ge(k.pixels,3),M=P[0],O=P[1],H=P[2],V=H===void 0?0:H;if(!(a&&V>=u*a)){if(r&&V<u*r){c.push({colorStr:I,pixels:k.pixels});continue}if(c.length>0){var z=nu(c,{ignoreEdgeCount:n});if(z===null)return null;i.push.apply(i,ke(z)),c.splice(0,c.length);}var Y=iS({colorStr:I,offsetX:M,offsetY:O,blurRadius:V,fontSize:u});i.push(Y);}}}catch(oe){b.e(oe);}finally{b.f();}if(c.length>0){var te=nu(c,{ignoreEdgeCount:n});if(te===null)return null;i.push.apply(i,ke(te));}return i}function iS(e){var t=e.colorStr,r=e.offsetX,a=e.offsetY,n=e.blurRadius,i=e.fontSize;if(r>n||a>n)return new mt(0,0,0,0);var o=new mt;return o.parseString(t),o.alpha*=oS(n,i),o}function oS(e,t){if(e===0)return 1;var r=e/t;return .185/(r+.4)}function iu(e,t){var r=ze(e);if(r._stackingContext)return r._stackingContext;var a=[],n=new Map;return t=t??au(e),t.forEach(function(i){var o,s=ze(i),l=uS(s),u=s._stackingOrder.filter(function(b){var A=b.vNode;return !!A});u.forEach(function(b,A){var k,I=b.vNode,P=(k=u[A-1])===null||k===void 0?void 0:k.vNode,M=c1(n,I,P);A===0&&!n.get(I)&&a.unshift(M),n.set(I,M);});var c=(o=u[u.length-1])===null||o===void 0?void 0:o.vNode,f=c1(n,s,c);u.length||a.unshift(f),f.bgColor=l;}),r._stackingContext=a,a}function Vn(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 a=e.descendants.reduce(sS,u1()),n=Fr(a,e.bgColor,e.descendants[0].blendMode);return n.alpha*=e.opacity,{color:n,blendMode:e.blendMode}}function sS(e,t){var r;e instanceof mt?r=e:r=Vn(e).color;var a=Vn(t).color;return Fr(a,r,t.blendMode)}function u1(e,t){var r;return {vNode:e,ancestor:t,opacity:parseFloat((r=e?.getComputedStylePropertyValue("opacity"))!==null&&r!==void 0?r:1),bgColor:new mt(0,0,0,0),blendMode:lS(e?.getComputedStylePropertyValue("mix-blend-mode")),descendants:[]}}function lS(e){return e||void 0}function c1(e,t,r){var a,n=e.get(r),i=(a=e.get(t))!==null&&a!==void 0?a:u1(t,n);return n&&r!==t&&!n.descendants.includes(i)&&n.descendants.unshift(i),i}function uS(e){var t=new mt;return t.parseString(e.getComputedStylePropertyValue("background-color")),t}function jn(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:.1,a=ze(e),n=a._cache.getBackgroundColor;if(n)return t.push.apply(t,ke(n.bgElms)),ut.set("bgColor",n.incompleteData),n.bgColor;var i=cS(e,t,r);return a._cache.getBackgroundColor={bgColor:i,bgElms:t,incompleteData:ut.get("bgColor")},i}function cS(e,t,r){var a,n,i=au(e);if(!i)return null;var o=gl(e),s=(a=Ao(e,{minRatio:r,ignoreEdgeCount:true}))!==null&&a!==void 0?a:[];s.length&&(s=[{color:s.reduce(ru)}]);for(var l=0;l<i.length;l++){var u=i[l],c=p.getComputedStyle(u);if(no(u,c))return t.push(u),null;var f=void 0;try{if(f=ya(c),f.alpha===0)continue}catch(I){if(I&&ut.get("colorParse"))return null;throw I}if(c.getPropertyValue("display")!=="inline"&&!d1(u,o))return t.push(u),ut.set("bgColor","elmPartiallyObscured"),null;if(t.push(u),f.alpha===1)break}var b=iu(e,i);s=b.map(Vn).concat(s);var A=dS(e,i.includes(m.body));if((n=s).unshift.apply(n,ke(A)),s.length===0)return new mt(255,255,255,1);var k=s.reduce(function(I,P){return Fr(P.color,I.color instanceof mt?I.color:I,P.blendMode)});return Fr(k.color instanceof mt?k.color:k,new mt(255,255,255,1))}function d1(e,t){t=Array.isArray(t)?t:[t];var r=e.getBoundingClientRect(),a=r.right,n=r.bottom,i=p.getComputedStyle(e),o=i.getPropertyValue("overflow"),s=parseInt(i.getPropertyValue("padding-left"),10),l=parseInt(i.getPropertyValue("padding-right"),10),u=parseInt(i.getPropertyValue("padding-top"),10),c=parseInt(i.getPropertyValue("padding-bottom"),10);return (["scroll","auto"].includes(o)||e instanceof p.HTMLHtmlElement)&&(a=r.left+e.scrollWidth+s+l,n=r.top+e.scrollHeight+u+c),t.every(function(f){return f.top>=r.top&&f.bottom<=n&&f.left>=r.left&&f.right<=a})}function f1(e){return e||void 0}function dS(e,t){var r=[];if(!t){var a=m.documentElement,n=m.body,i=p.getComputedStyle(a),o=p.getComputedStyle(n),s=ya(i),l=ya(o),u=l.alpha!==0&&d1(n,e.getBoundingClientRect());(l.alpha!==0&&s.alpha===0||u&&l.alpha!==1)&&r.unshift({color:l,blendMode:f1(o.getPropertyValue("mix-blend-mode"))}),s.alpha!==0&&(!u||u&&l.alpha!==1)&&r.unshift({color:s,blendMode:f1(i.getPropertyValue("mix-blend-mode"))});}return r}function fS(e,t){if(!t||!e)return null;t.alpha<1&&(t=Fr(t,e));var r=e.getRelativeLuminance(),a=t.getRelativeLuminance();return (Math.max(a,r)+.05)/(Math.min(a,r)+.05)}var qa=fS;function Eo(e,t,r){var a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},n=p.getComputedStyle(e),i=[function(){return mS(n,a)},function(){return pS(n)},function(){return Ao(e,{minRatio:0})}],o=[];try{for(var s=0,l=i;s<l.length;s++){var u=l[s],c=u();if(c&&(o=o.concat(c),c.alpha===1))break}}catch(I){if(I&&ut.get("colorParse"))return null;throw I}var f=o.reduce(function(I,P){return Fr(I,P)});if(r??(r=jn(e,[])),r===null){var b=ut.get("bgColor");return ut.set("fgColor",b),null}var A=iu(e),k=p1(A,e);return Fr(hS(f,k,A),new mt(255,255,255,1))}function pS(e){return new mt().parseString(e.getPropertyValue("-webkit-text-fill-color")||e.getPropertyValue("color"))}function mS(e,t){var r=t.textStrokeEmMin,a=r===void 0?0:r,n=parseFloat(e.getPropertyValue("-webkit-text-stroke-width"));if(n===0)return null;var i=e.getPropertyValue("font-size"),o=n/parseFloat(i);if(isNaN(o)||o<a)return null;var s=e.getPropertyValue("-webkit-text-stroke-color");return new mt().parseString(s)}function hS(e,t,r){for(;t;){var a;if(t.opacity===1&&t.ancestor){t=t.ancestor;continue}e.alpha*=t.opacity;var n=((a=t.ancestor)===null||a===void 0?void 0:a.descendants)||r;t.opacity!==1&&(n=n.slice(0,n.indexOf(t)));var i=n.map(Vn);if(!i.length){t=t.ancestor;continue}var o=i.reduce(function(s,l){return Fr(l.color,s.color instanceof mt?s.color:s)},{color:new mt(0,0,0,0),blendMode:"normal"});e=Fr(e,o),t=t.ancestor;}return e}function p1(e,t){var r=Ke(e),a;try{for(r.s();!(a=r.n()).done;){var n,i=a.value;if(((n=i.vNode)===null||n===void 0?void 0:n.actualNode)===t)return i;var o=p1(i.descendants,t);if(o)return o}}catch(s){r.e(s);}finally{r.f();}}function gS(e,t,r,a){var n=qa(e,t),i=a&&Math.ceil(r*72)/96<14||!a&&Math.ceil(r*72)/96<18,o=i?4.5:3;return {isValid:n>o,contrastRatio:n,expectedContrastRatio:o}}var vS=gS,m1={};dr(m1,{isAriaCombobox:function(){return wp},isAriaListbox:function(){return yp},isAriaRange:function(){return xp},isAriaTextbox:function(){return bp},isDisabled:function(){return $n},isNativeSelect:function(){return vp},isNativeTextbox:function(){return gp}});var bS=["fieldset","button","select","input","textarea"];function h1(e){var t=e._isDisabled;if(typeof t=="boolean")return t;var r=e.props.nodeName,a=e.attr("aria-disabled");return bS.includes(r)&&e.hasAttr("disabled")?t=true:a?t=a.toLowerCase()==="true":e.parent?t=h1(e.parent):t=false,e._isDisabled=t,t}var $n=h1;function yS(e,t,r){var a=Sn.accessibleTextVirtual(r),n=Sn.sanitize(Sn.removeUnicode(a,{emoji:true,nonBmp:true,punctuations:true})).toLowerCase();if(n){var i={name:n,urlProps:Vs.urlPropsFromAttribute(e,"href")};return this.data(i),this.relatedNodes([e]),true}}var wS=yS;function g1(e,t){if(!e||!t)return false;var r=Object.getOwnPropertyNames(e),a=Object.getOwnPropertyNames(t);if(r.length!==a.length)return false;var n=r.every(function(i){var o=e[i],s=t[i];return ie(o)!==ie(s)?false:ie(o)==="object"||ie(s)==="object"?g1(o,s):o===s});return n}function xS(e){if(e.length<2)return e;for(var t=e.filter(function(o){var s=o.result;return s!==void 0}),r=[],a={},n=function(s){var l,u=t[s],c=u.data,f=c.name,b=c.urlProps;if(a[f])return 1;var A=t.filter(function(I,P){var M=I.data;return M.name===f&&P!==s}),k=A.every(function(I){var P=I.data;return g1(P.urlProps,b)});A.length&&!k&&(u.result=void 0),u.relatedNodes=[],(l=u.relatedNodes).push.apply(l,ke(A.map(function(I){return I.relatedNodes[0]}))),a[f]=A,r.push(u);},i=0;i<t.length;i++)n(i);return r}var DS=xS;function _S(e){var t=$e(e),r=t&&t.includes("heading"),a=e.attr("aria-level"),n=parseInt(a,10),i=e.props.nodeName.match(/h(\d)/)||[],o=ge(i,2),s=o[1];return r?s&&!a?parseInt(s,10):isNaN(n)||n<1?s?parseInt(s,10):2:n||-1:-1}function AS(){var e=Ve.get("headingOrder");if(e)return true;var t="h1, h2, h3, h4, h5, h6, [role=heading], iframe, frame",r=Tr(h._tree[0],t,pt);return e=r.map(function(a){return {ancestry:[Ii(a.actualNode)],level:_S(a)}}),this.data({headingOrder:e}),Ve.set("headingOrder",r),true}var ES=AS;function CS(e){var t=kS(e);return e.forEach(function(r){r.result=SS(r,t);}),e}function SS(e,t){var r,a,n,i,o=v1(t,e.node.ancestry),s=(r=(a=t[o])===null||a===void 0?void 0:a.level)!==null&&r!==void 0?r:-1,l=(n=(i=t[o-1])===null||i===void 0?void 0:i.level)!==null&&n!==void 0?n:-1;if(o===0)return true;if(s!==-1)return s-l<=1}function kS(e){e=ke(e),e.sort(function(r,a){var n=r.node,i=a.node;return n.ancestry.length-i.ancestry.length});var t=e.reduce(TS,[]);return t.filter(function(r){var a=r.level;return a!==-1})}function TS(e,t){var r,a=(r=t.data)===null||r===void 0?void 0:r.headingOrder,n=b1(t.node.ancestry,1);if(!a)return e;var i=a.map(function(s){return RS(s,n)}),o=FS(e,n);return o===-1?e.push.apply(e,ke(i)):e.splice.apply(e,[o,0].concat(ke(i))),e}function FS(e,t){for(;t.length;){var r=v1(e,t);if(r!==-1)return r;t=b1(t,1);}return -1}function v1(e,t){return e.findIndex(function(r){return ql(r.ancestry,t)})}function RS(e,t){var r=t.concat(e.ancestry);return Re({},e,{ancestry:r})}function b1(e,t){return e.slice(0,e.length-t)}function IS(e,t,r){var a=t?.minSize||24,n=r.boundingClientRect;if(Nr(a*10,n))return this.data({messageKey:"large",minSize:a}),true;var i=Nr.bind(null,a),o=Xi(r),s=LS(r,o),l=PS(r,o),u=l.fullyObscuringElms,c=l.partialObscuringElms;if(s.length&&(u.length||!i(n))){this.data({minSize:a,messageKey:"contentOverflow"}),this.relatedNodes(zn(s));return}if(u.length)return this.relatedNodes(zn(u)),this.data({messageKey:"obscured"}),true;var f=ur(r)?false:void 0;if(!i(n))return this.data(Re({minSize:a},Co(n))),f;var b=NS(c);if(!b.length)return this.data(Re({minSize:a},Co(n))),true;var A=MS(r,b,a);if(!A){this.data({minSize:a,messageKey:"tooManyRects"});return}if(!i(A)){if(s.length){this.data({minSize:a,messageKey:"contentOverflow"}),this.relatedNodes(zn(s));return}var k=b.every(ur),I="partiallyObscured".concat(k?"":"NonTabbable");return this.data(Re({messageKey:I,minSize:a},Co(A))),this.relatedNodes(zn(b)),k?f:void 0}return this.data(Re({minSize:a},Co(A||n))),this.relatedNodes(zn(b)),true}function LS(e,t){return t.filter(function(r){return !y1(r,e)&&w1(e,r)})}function PS(e,t){var r=[],a=[],n=Ke(t),i;try{for(n.s();!(i=n.n()).done;){var o=i.value;!w1(e,o)&&Us(e,o)&&qS(o)!=="none"&&(y1(e,o)?r.push(o):a.push(o));}}catch(s){n.e(s);}finally{n.f();}return {fullyObscuringElms:r,partialObscuringElms:a}}function MS(e,t,r){var a=e.boundingClientRect,n=t.map(function(o){var s=o.getComputedStylePropertyValue("display");return s==="inline"?o.clientRects:o.boundingClientRect}).flat(1/0),i;try{i=Xs(a,n);}catch{return null}return OS(i,r)}function OS(e,t){return e.reduce(function(r,a){var n=Nr(t,r),i=Nr(t,a);if(n!==i)return n?r:a;var o=r.width*r.height,s=a.width*a.height;return o>s?r:a})}function NS(e){return e.filter(function(t){return br(t)==="widget"&&At(t)})}function y1(e,t){var r=e.boundingClientRect,a=t.boundingClientRect;return r.top>=a.top&&r.left>=a.left&&r.bottom<=a.bottom&&r.right<=a.right}function qS(e){return e.getComputedStylePropertyValue("pointer-events")}function Co(e){return {width:Math.round(e.width*10)/10,height:Math.round(e.height*10)/10}}function w1(e,t){return Or(e,t)&&!ur(t)}function zn(e){return e.map(function(t){var r=t.actualNode;return r})}var BS=.05;function HS(e,t,r){var a=t?.minOffset||24;if(Nr(a*10,r.boundingClientRect))return this.data({messageKey:"large",minOffset:a}),true;var n=[],i=a,o=Ke(Xi(r,a)),s;try{for(o.s();!(s=o.n()).done;){var l=s.value;if(!(br(l)!=="widget"||!At(l))){var u=null;try{u=Ff(r,l,a/2);}catch(c){if(c.message.startsWith("splitRects")){this.data({messageKey:"tooManyRects",closestOffset:0,minOffset:a});return}throw c}u!==null&&(u=VS(u)*2,!(u+BS>=a)&&(i=Math.min(i,u),n.push(l)));}}}catch(c){o.e(c);}finally{o.f();}if(n.length===0)return this.data({closestOffset:i,minOffset:a}),true;if(this.relatedNodes(n.map(function(c){var f=c.actualNode;return f})),!n.some(ur)){this.data({messageKey:"nonTabbableNeighbor",closestOffset:i,minOffset:a});return}return this.data({closestOffset:i,minOffset:a}),ur(r)?false:void 0}function VS(e){return Math.round(e*10)/10}function jS(e,t,r){var a=t||{},n=a.scaleMinimum,i=n===void 0?2:n,o=a.lowerBound,s=o===void 0?false:o,l=r.attr("content")||"";if(!l)return true;var u=l.split(/[;,]/).reduce(function(f,b){var A=b.trim();if(!A)return f;var k=A.split("="),I=ge(k,2),P=I[0],M=I[1];if(!P||!M)return f;var O=P.toLowerCase().trim(),H=M.toLowerCase().trim();return O==="maximum-scale"&&H==="yes"&&(H=1),O==="maximum-scale"&&parseFloat(H)<0||(f[O]=H),f},{});if(s&&u["maximum-scale"]&&parseFloat(u["maximum-scale"])<s)return true;if(!s&&u["user-scalable"]==="no")return this.data("user-scalable=no"),false;var c=parseFloat(u["user-scalable"]);return !s&&u["user-scalable"]&&(c||c===0)&&c>-1&&c<1?(this.data("user-scalable"),false):u["maximum-scale"]&&parseFloat(u["maximum-scale"])<i?(this.data("maximum-scale"),false):true}var $S=jS;function zS(e,t,r,a){var n=a||{},i=n.cssom,o=i===void 0?void 0:i,s=t||{},l=s.degreeThreshold,u=l===void 0?0:l;if(!o||!o.length)return;for(var c=false,f=[],b=P(o),A=function(){var ue=I[k],pe=b[ue],be=pe.root,Fe=pe.rules,qe=Fe.filter(M);if(!qe.length)return 1;qe.forEach(function(Ee){var Pe=Ee.cssRules;Array.from(Pe).forEach(function(de){var Te=O(de);if(Te&&de.selectorText.toUpperCase()!=="HTML"){var U=Array.from(be.querySelectorAll(de.selectorText))||[];f=f.concat(U);}c=c||Te;});});},k=0,I=Object.keys(b);k<I.length;k++)A();if(!c)return true;return f.length&&this.relatedNodes(f),false;function P(re){return re.reduce(function(ue,pe){var be=pe.sheet,Fe=pe.root,qe=pe.shadowId,Ee=qe||"topDocument";if(ue[Ee]||(ue[Ee]={root:Fe,rules:[]}),!be||!be.cssRules)return ue;var Pe=Array.from(be.cssRules);return ue[Ee].rules=ue[Ee].rules.concat(Pe),ue},{})}function M(re){var ue=re.type,pe=re.cssText;return ue!==4?false:/orientation:\s*landscape/i.test(pe)||/orientation:\s*portrait/i.test(pe)}function O(re){var ue=re.selectorText,pe=re.style;if(!ue||pe.length<=0)return false;var be=pe.transform||pe.webkitTransform||pe.msTransform||false;if(!be&&!pe.rotate)return false;var Fe=H(be),qe=V("rotate",pe.rotate),Ee=Fe+qe;return !Ee||(Ee=Math.abs(Ee),Math.abs(Ee-180)%180<=u)?false:Math.abs(Ee-90)%90<=u}function H(re){if(!re)return 0;var ue=re.match(/(rotate|rotateZ|rotate3d|matrix|matrix3d)\(([^)]+)\)(?!.*(rotate|rotateZ|rotate3d|matrix|matrix3d))/);if(!ue)return 0;var pe=ge(ue,3),be=pe[1],Fe=pe[2];return V(be,Fe)}function V(re,ue){switch(re){case "rotate":case "rotateZ":return z(ue);case "rotate3d":var pe=ue.split(",").map(function(Ee){return Ee.trim()}),be=ge(pe,4),Fe=be[2],qe=be[3];return parseInt(Fe)===0?void 0:z(qe);case "matrix":case "matrix3d":return Y(ue);default:return 0}}function z(re){var ue=re.match(/(deg|grad|rad|turn)/)||[],pe=ge(ue,1),be=pe[0];if(!be)return 0;var Fe=parseFloat(re.replace(be,""));switch(be){case "rad":return te(Fe);case "grad":return oe(Fe);case "turn":return ve(Fe);default:return parseInt(Fe)}}function Y(re){var ue=re.split(",");if(ue.length<=6){var pe=ge(ue,2),be=pe[0],Fe=pe[1],qe=Math.atan2(parseFloat(Fe),parseFloat(be));return te(qe)}var Ee=parseFloat(ue[8]),Pe=Math.asin(Ee),de=Math.cos(Pe),Te=Math.acos(parseFloat(ue[0])/de);return te(Te)}function te(re){return Math.round(re*(180/Math.PI))}function oe(re){return re=re%400,re<0&&(re+=400),Math.round(re/400*360)}function ve(re){return Math.round(360/(1/re))}}var GS=zS;function WS(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 a=t.allowedDuration,n=a===void 0?3:a,i=o(e);if(i<=n)return true;if(!r)return false;return true;function o(u){if(!u.currentSrc)return 0;var c=s(u.currentSrc);return c?c.length===1?Math.abs(u.duration-c[0]):Math.abs(c[1]-c[0]):Math.abs(u.duration-(u.currentTime||0))}function s(u){var c=u.match(/#t=(.*)/);if(c){var f=ge(c,2),b=f[1],A=b.split(",");return A.map(function(k){return /:/.test(k)?l(k):parseFloat(k)})}}function l(u){for(var c=u.split(":"),f=0,b=1;c.length>0;)f+=b*parseInt(c.pop(),10),b*=60;return parseFloat(f)}}var US=WS;function XS(e,t){return t.isViolation?false:void 0}var YS=XS,x1=" > ";function KS(e){var t={};return e.filter(function(r){var a=r.node.ancestry[r.node.ancestry.length-1]!=="html";if(a){var n=r.node.ancestry.flat(1/0).join(x1);return t[n]=r,true}var i=r.node.ancestry.slice(0,r.node.ancestry.length-1).flat(1/0).join(x1);return t[i]&&(t[i].result=true),false})}var JS=KS;function ZS(e,t,r){var a=er(r,"track"),n=a.some(function(i){return (i.attr("kind")||"").toLowerCase()==="captions"});return n?false:void 0}var QS=ZS;function ek(e,t,r){var a=r.children;if(!a||!a.length)return false;for(var n=false,i=false,o,s=0;s<a.length;s++){if(o=a[s].props.nodeName.toUpperCase(),o==="DT"&&(n=true),n&&o==="DD")return false;o==="DD"&&(i=true);}return n||i}var tk=ek;function rk(e,t,r){var a=false,n=false,i=true,o=[],s=[],l=[];return r.children.forEach(function(u){var c=u.actualNode;if(c.nodeType===3&&c.nodeValue.trim()!==""){a=true;return}if(!(c.nodeType!==1||!pt(c))){i=false;var f=c.nodeName.toUpperCase()==="LI",b=$e(u),A=b==="listitem";!f&&!A&&o.push(c),f&&!A&&(s.push(c),l.includes(b)||l.push(b)),A&&(n=true);}}),a||o.length?(this.relatedNodes(o),true):i||n?false:(this.relatedNodes(s),this.data({messageKey:"roleNotValid",roles:l.join(", ")}),true)}var ak=rk;function nk(e,t,r){var a=["definition","term","list"],n={badNodes:[],hasNonEmptyTextNode:false},i=r.children.reduce(function(s,l){var u=l.actualNode;return u.nodeName.toUpperCase()==="DIV"&&$e(u)===null?s.concat(l.children):s.concat(l)},[]),o=i.reduce(function(s,l){var u=l.actualNode,c=u.nodeName.toUpperCase();if(u.nodeType===1&&pt(u)){var f=We(u);(c!=="DT"&&c!=="DD"||f)&&(a.includes(f)||s.badNodes.push(u));}else u.nodeType===3&&u.nodeValue.trim()!==""&&(s.hasNonEmptyTextNode=true);return s},n);return o.badNodes.length&&this.relatedNodes(o.badNodes),!!o.badNodes.length||o.hasNonEmptyTextNode}function ik(e,t,r){var a=r.parent;if(a){var n=a.props.nodeName,i=We(a);return ["presentation","none","list"].includes(i)?true:i&&Fn(i)?(this.data({messageKey:"roleNotValid"}),false):["ul","ol","menu"].includes(n)}}function ok(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,a=[],n=[];if(r.children){for(var i=D1(r.children);i.length;){var o,s=i.shift(),l=s.vChild,u=s.nested;if(t.divGroups&&!u&&lk(l)){if(!l.children)return;var c=D1(l.children,true);i.push.apply(i,ke(c));continue}var f=sk(l,u,t);f&&(n.includes(f)||n.push(f),(l==null||(o=l.actualNode)===null||o===void 0?void 0:o.nodeType)===1&&a.push(l.actualNode));}return n.length===0?false:(this.data({values:n.join(", ")}),this.relatedNodes(a),true)}}function sk(e,t,r){var a=r.validRoles,n=a===void 0?[]:a,i=r.validNodeNames,o=i===void 0?[]:i,s=e.props,l=s.nodeName,u=s.nodeType,c=s.nodeValue,f=t?"div > ":"";if(u===3&&c.trim()!=="")return f+"#text";if(u!==1||!pt(e))return false;var b=We(e);return b?n.includes(b)?false:f+"[role=".concat(b,"]"):o.includes(l)?false:f+l}function lk(e){return e.props.nodeName==="div"&&We(e)===null}function D1(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:false;return e.map(function(r){return {vChild:r,nested:t}})}function uk(e){var t=It(e),r=t.nodeName.toUpperCase(),a=We(t);return r==="DIV"&&["presentation","none",null].includes(a)&&(t=It(t),r=t.nodeName.toUpperCase(),a=We(t)),r!=="DL"?false:!!(!a||["presentation","none","list"].includes(a))}var ck=uk;function dk(e,t,r){var a=xa(r.attr("lang")),n=xa(r.attr("xml:lang"));return a===n}var fk=dk;function pk(e,t,r){var a=[];return t.attributes.forEach(function(n){var i=r.attr(n);if(typeof i=="string"){var o=xa(i),s=t.value?!t.value.map(xa).includes(o):!bo(o);(o!==""&&s||i!==""&&!Oe(i))&&a.push(n+'="'+r.attr(n)+'"');}}),!a.length||r.props.nodeName!=="html"&&!yl(r)?false:(this.data(a),true)}var mk=pk;function ou(e){return (e||"").trim()!==""}function hk(e,t,r){var a=typeof m<"u"?hn(m):false;if(t.attributes.includes("xml:lang")&&t.attributes.includes("lang")&&ou(r.attr("xml:lang"))&&!ou(r.attr("lang"))&&!a)return this.data({messageKey:"noXHTML"}),false;var n=t.attributes.some(function(i){return ou(r.attr(i))});return n?true:(this.data({messageKey:"noLang"}),false)}var gk=hk;function vk(e,t,r){var a=$e(e),n=Lt(r);return n=n?n.toLowerCase():null,this.data({role:a,accessibleText:n}),this.relatedNodes([e]),true}var bk=vk;function yk(e){var t=[];return e.filter(function(r){var a=function(o){return r.data.role===o.data.role&&r.data.accessibleText===o.data.accessibleText},n=t.find(a);return n?(n.result=false,n.relatedNodes.push(r.relatedNodes[0]),false):(t.push(r),r.relatedNodes=[],true)})}var wk=yk;function xk(e,t,r){var a=to(r),n=Zi(r),i=r.attr("aria-describedby");return !a&&!!(n||i)}var Dk=xk;function _k(e){var t=yt(e.getAttribute("id")),r=e.parentNode,a=Nt(e);a=a.documentElement||a;var n=Array.from(a.querySelectorAll('label[for="'.concat(t,'"]')));for(n.length&&(n=n.filter(function(s){return !Zr(s)}));r;)r.nodeName.toUpperCase()==="LABEL"&&n.indexOf(r)===-1&&n.push(r),r=r.parentNode;if(this.relatedNodes(n),n.length>1){var i=n.filter(function(s){return pt(s)});if(i.length>1)return;var o=Ar(e,"aria-labelledby");return o.includes(i[0])?false:void 0}return false}var Ak=_k;function Ek(e,t){var r=_1(t),a=_1(e);return !r||!a?false:r.includes(a)}function _1(e){var t=Ln(e,{emoji:true,nonBmp:true,punctuations:true});return Oe(t)}function Ck(e,t,r){var a,n=t?.pixelThreshold,i=(a=t?.occurrenceThreshold)!==null&&a!==void 0?a:t?.occuranceThreshold,o=ga(e).toLowerCase(),s=Oe(ta(r,{subtreeDescendant:true,ignoreIconLigature:true,pixelThreshold:n,occurrenceThreshold:i})).toLowerCase();if(!s)return true;if(!(hl(o)<1||hl(s)<1))return Ek(s,o)}var Sk=Ck;function kk(e,t,r){try{var a=Kt(r,"label");if(a){var n=Oe(Lt(a,{inControlContext:!0,startNode:r}));return a.actualNode&&this.relatedNodes([a.actualNode]),this.data({implicitLabel:n}),!!n}return !1}catch{return}}var Tk=kk;function Fk(e,t,r){if(r.hasAttr("id")){if(!r.actualNode)return;var a=Nt(e),n=yt(e.getAttribute("id")),i=a.querySelector('label[for="'.concat(n,'"]'));if(i&&!pt(i)){var o;try{o=Lt(r).trim();}catch{return}var s=o==="";return s}}return false}var Rk=Fk;function Ik(e,t,r){var a=to(r),n=e.getAttribute("title");if(!a)return false;if(!n&&(n="",e.getAttribute("aria-describedby"))){var i=Ar(e,"aria-describedby");n=i.map(function(o){return o?ga(o):""}).join("");}return Oe(n)===Oe(a)}var Lk=Ik;function Pk(e,t,r){var a=this;if(!r.attr("id"))return false;if(r.actualNode){var n=Nt(r.actualNode),i=yt(r.attr("id")),o=Array.from(n.querySelectorAll('label[for="'.concat(i,'"]')));if(this.relatedNodes(o),!o.length)return false;try{return o.some(function(s){if(Jt(s)){var l=Oe(ga(s,{inControlContext:!0,startNode:r}));return a.data({explicitLabel:l}),!!l}else return !0})}catch{return}}}var Mk=Pk;function Ok(e,t,r){if(["none","presentation"].includes($e(r)))return false;var a=Kt(r,t.parentSelector);if(!a)return false;var n=Cr(a,true).toLowerCase();return n===""?false:n===Lt(r).toLowerCase()}var Nk=Ok;function qk(e,t,r){var a=r.attr("alt"),n=/^\s+$/;return typeof a=="string"&&n.test(a)}var Bk=qk;function Hk(e,t,r){var a=kr(r.attr("tabindex"));return a===null||a<=0}var Vk=Hk;function jk(e,t,r){if(r.children)try{var a=A1(r);if(!a.length)return !0;var n=a.filter($k);return n.length>0?(this.data({messageKey:"notHidden"}),this.relatedNodes(n)):this.relatedNodes(a),!1}catch{return}}function A1(e){if(!e.children){if(e.props.nodeType===1)throw new Error("Cannot determine children");return []}var t=[];return e.children.forEach(function(r){br(r)==="widget"&&At(r)?t.push(r):t.push.apply(t,ke(A1(r)));}),t}function $k(e){var t=kr(e.attr("tabindex"));return t!==null&&t<0}function zk(e){var t=Na("landmark"),r=It(e),a=$e(e);for(this.data({role:a});r;){var n=We(r);if(!n&&r.nodeName.toUpperCase()!=="FORM"&&(n=Er(r)),n&&t.includes(n)&&!(n==="main"&&a==="complementary"))return false;r=It(r);}return true}var Gk=zk;function Wk(e,t,r){if(r.children)try{return !r.children.some(function(a){return E1(a)})}catch{return}}function E1(e){if(ur(e))return true;if(!e.children){if(e.props.nodeType===1)throw new Error("Cannot determine children");return false}return e.children.some(function(t){return E1(t)})}function Uk(e,t,r){var a=["button","fieldset","input","select","textarea"],n=r.tabbableElements;if(!n||!n.length)return true;var i=n.filter(function(o){return !a.includes(o.props.nodeName)});return this.relatedNodes(i.map(function(o){return o.actualNode})),i.length===0||Mn()?true:i.every(function(o){var s=o.getComputedStylePropertyValue("pointer-events"),l=parseInt(o.getComputedStylePropertyValue("width")),u=parseInt(o.getComputedStylePropertyValue("height"));return o.actualNode.onfocus||(l===0||u===0)&&s==="none"})?void 0:false}var Xk=Uk;function Yk(e,t,r){if(!ur(r))return false;try{return !Lt(r)}catch{return}}var Kk=Yk;function Jk(e,t,r){var a=r.tabbableElements.map(function(n){var i=n.actualNode;return i});if(!a||!a.length)return true;if(Mn()){this.relatedNodes(a);return}return true}var Zk=Jk;function Qk(e,t,r){if(r.hasAttr("contenteditable")&&a(r))return true;return ur(r);function a(n){var i=n.attr("contenteditable");if(i==="true"||i==="")return true;if(i==="false")return false;var o=Kt(r.parent,"[contenteditable]");return o?a(o):false}}var e5=Qk;function t5(e,t,r){var a=["button","fieldset","input","select","textarea"],n=r.tabbableElements;if(!n||!n.length)return true;var i=n.filter(function(o){return a.includes(o.props.nodeName)});return this.relatedNodes(i.map(function(o){return o.actualNode})),i.length===0||Mn()?true:i.every(function(o){var s=o.getComputedStylePropertyValue("pointer-events"),l=parseInt(o.getComputedStylePropertyValue("width")),u=parseInt(o.getComputedStylePropertyValue("height"));return o.actualNode.onfocus||(l===0||u===0)&&s==="none"})?void 0:false}var r5=t5;function a5(e,t,r){var a=r.tabbableElements;if(!a)return false;var n=a.filter(function(i){return i!==r});return n.length>0}var n5=a5;function i5(e,t,r){return Zr(r)||(this.data(r.attr("accesskey")),this.relatedNodes([e])),true}var o5=i5;function s5(e){var t={};return e.filter(function(r){if(!r.data)return false;var a=r.data.toUpperCase();return t[a]?(t[a].relatedNodes.push(r.relatedNodes[0]),false):(t[a]=r,r.relatedNodes=[],true)}).map(function(r){return r.result=!!r.relatedNodes.length,r})}var l5=s5;function u5(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 a="page-no-duplicate;"+t.selector;if(Ve.get(a)){this.data("ignored");return}Ve.set(a,true);var n=Tr(h._tree[0],t.selector,function(i){return pt(i)});return typeof t.nativeScopeFilter=="string"&&(n=n.filter(function(i){return i.actualNode.hasAttribute("role")||!Ra(i,t.nativeScopeFilter)})),typeof t.role=="string"&&(n=n.filter(function(i){return $e(i)===t.role})),this.relatedNodes(n.filter(function(i){return i!==r}).map(function(i){return i.actualNode})),n.length<=1}var c5=u5;function d5(e){return e.filter(function(t){return t.data!=="ignored"})}var f5=d5;function p5(e,t,r){return Rn(r,t.matcher)}var m5=p5;function h5(e,t,r){try{return Oe(ta(r))!==""}catch{return}}function g5(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&&Mn())return true;var a=Tr(r,t.selector,function(n){return pt(n)});return this.relatedNodes(a.map(function(n){return n.actualNode})),a.length>0}var v5=g5;function b5(e){var t=e.some(function(r){return r.result===true});return t&&e.forEach(function(r){r.result=true;}),e}var y5=b5;function w5(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 a=r.attr(t.attribute),n=!Oe(a);return n?(this.data({messageKey:"emptyAttr"}),false):true}var x5=w5;function D5(e,t,r){var a=r.attr("autocomplete")||"";return Rp(a,t)}var _5=D5;function A5(e,t,r){if(r.props.nodeName!=="input")return true;var a=["text","search","number","tel"],n=["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":a,"cc-exp":["text","search","month","tel"],"cc-exp-month":a,"cc-exp-year":a,"cc-csc":a,"transaction-amount":a,"bday-day":a,"bday-month":a,"bday-year":a,"new-password":["text","search","password"],"current-password":["text","search","password"],url:n,photo:n,impp:n};ie(t)==="object"&&Object.keys(t).forEach(function(f){i[f]||(i[f]=[]),i[f]=i[f].concat(t[f]);});var o=r.attr("autocomplete"),s=o.split(/\s+/g).map(function(f){return f.toLowerCase()}),l=s[s.length-1];if(ba.stateTerms.includes(l))return true;var u=i[l],c=r.hasAttr("type")?Oe(r.attr("type")).toLowerCase():"text";return c=vo().includes(c)?c:"text",typeof u>"u"?c==="text":u.includes(c)}var E5=A5,C5=["block","list-item","table","flex","grid","inline-block"];function S5(e){if(C1(e))return false;for(var t=It(e);t&&t.nodeType===1&&!C1(t);)t=It(t);if(t){if(this.relatedNodes([t]),n1(e,t))return true;if(k5(e)){this.data({messageKey:"pseudoContent"});return}return false}}function C1(e){var t=p.getComputedStyle(e).getPropertyValue("display");return C5.indexOf(t)!==-1||t.substr(0,6)==="table-"}function k5(e){for(var t=0,r=["before","after"];t<r.length;t++){var a=r[t],n=p.getComputedStyle(e,":".concat(a)),i=n.getPropertyValue("content");if(i!=="none")return true}return false}function S1(e,t){var r=e.getRelativeLuminance(),a=t.getRelativeLuminance();return (Math.max(r,a)+.05)/(Math.min(r,a)+.05)}var T5=["block","list-item","table","flex","grid","inline-block"];function k1(e){var t=p.getComputedStyle(e).getPropertyValue("display");return T5.indexOf(t)!==-1||t.substr(0,6)==="table-"}function F5(e,t){var r=t.requiredContrastRatio,a=t.allowSameColor;if(k1(e))return false;for(var n=It(e);n&&n.nodeType===1&&!k1(n);)n=It(n);if(n){this.relatedNodes([n]);var i=Eo(e),o=Eo(n),s=jn(e),l=jn(n),u=i&&o?S1(i,o):void 0;if(u&&(u=Math.floor(u*100)/100),u&&u>=r)return true;var c=s&&l?S1(s,l):void 0;if(c&&(c=Math.floor(c*100)/100),c&&c>=r)return true;if(!c){var f,b=(f=ut.get("bgColor"))!==null&&f!==void 0?f:"bgContrast";this.data({messageKey:b}),ut.clear();return}if(u)return a&&u===1&&c===1?true:u===1&&c>1?(this.data({messageKey:"bgContrast",contrastRatio:c,requiredContrastRatio:r,nodeBackgroundColor:s?s.toHexString():void 0,parentBackgroundColor:l?l.toHexString():void 0}),false):(this.data({messageKey:"fgContrast",contrastRatio:u,requiredContrastRatio:r,nodeColor:i?i.toHexString():void 0,parentColor:o?o.toHexString():void 0}),false)}}var R5=F5;function I5(e,t,r){var a=t.ignoreUnicode,n=t.ignoreLength,i=t.ignorePseudo,o=t.boldValue,s=t.boldTextPt,l=t.largeTextPt,u=t.contrastRatio,c=t.shadowOutlineEmMax,f=t.pseudoSizeThreshold;if(!Jt(e))return this.data({messageKey:"hidden"}),true;var b=Cr(r,false,true);if(a&&P5(b)){this.data({messageKey:"nonBmp"});return}var A=p.getComputedStyle(e),k=parseFloat(A.getPropertyValue("font-size")),I=A.getPropertyValue("font-weight"),P=parseFloat(I)>=o||I==="bold",M=Math.ceil(k*72)/96,O=P&&M<s||!P&&M<l,H=O?u.normal:u.large,V=H.expected,z=H.minThreshold,Y=H.maxThreshold,te=L5(r,{ignorePseudo:i,pseudoSizeThreshold:f});if(te){this.data({fontSize:"".concat((k*72/96).toFixed(1),"pt (").concat(k,"px)"),fontWeight:P?"bold":"normal",messageKey:"pseudoContent",expectedContrastRatio:V+":1"}),this.relatedNodes(te.actualNode);return}var oe=Ao(e,{minRatio:.001,maxRatio:c});if(oe===null){this.data({messageKey:"complexTextShadows"});return}var ve=[],re=jn(e,ve,c),ue=Eo(e,false,re,t),pe=null,be=null,Fe=null;if(oe.length===0)pe=qa(re,ue);else if(ue&&re){Fe=[].concat(ke(oe),[re]).reduce(ru);var qe=qa(re,ue),Ee=qa(re,Fe),Pe=qa(Fe,ue);pe=Math.max(qe,Ee,Pe),pe!==qe&&(be=Ee>Pe?"shadowOnBgColor":"fgOnShadowColor");}var de=pe>V;if(typeof z=="number"&&(typeof pe!="number"||pe<z)||typeof Y=="number"&&(typeof pe!="number"||pe>Y))return this.data({contrastRatio:pe}),true;var Te=Math.floor(pe*100)/100,U,we;re===null?ut.get("colorParse")?(U="colorParse",we=ut.get("colorParse")):U=ut.get("bgColor"):de||(U=be),ue===null&&ut.get("colorParse")&&(U="colorParse",we=ut.get("colorParse"));var le=Te===1,xe=b.length===1;if(le?U=ut.set("bgColor","equalRatio"):!de&&xe&&!n&&(U="shortTextContent"),this.data({fgColor:ue?ue.toHexString():void 0,bgColor:re?re.toHexString():void 0,contrastRatio:Te,fontSize:"".concat((k*72/96).toFixed(1),"pt (").concat(k,"px)"),fontWeight:P?"bold":"normal",messageKey:U,expectedContrastRatio:V+":1",shadowColor:Fe?Fe.toHexString():void 0,colorParse:we}),ue===null||re===null||le||xe&&!n&&!de){U=null,ut.clear(),this.relatedNodes(ve);return}return de||this.relatedNodes(ve),de}function L5(e,t){var r=t.pseudoSizeThreshold,a=r===void 0?.25:r,n=t.ignorePseudo,i=n===void 0?false:n;if(!i){var o=e.boundingClientRect,s=o.width*o.height*a;do{var l=T1(e.actualNode,":before"),u=T1(e.actualNode,":after");if(l+u>s)return e}while(e=e.parent)}}var T1=lt(function(t,r){var a=p.getComputedStyle(t,r),n=function(l,u){return a.getPropertyValue(l)===u};if(n("content","none")||n("display","none")||n("visibility","hidden")||n("position","absolute")===false||ya(a).alpha===0&&n("background-image","none"))return 0;var i=F1(a.getPropertyValue("width")),o=F1(a.getPropertyValue("height"));return i.unit!=="px"||o.unit!=="px"?i.value===0||o.value===0?0:1/0:i.value*o.value});function P5(e){var t={nonBmp:true},r=pl(e,t),a=Oe(Ln(e,t))==="";return r&&a}function F1(e){var t=/^([0-9.]+)([a-z]+)$/i,r=e.match(t)||[],a=ge(r,3),n=a[1],i=n===void 0?"":n,o=a[2],s=o===void 0?"":o;return {value:parseFloat(i),unit:s.toLowerCase()}}var M5={ARTICLE:true,ASIDE:true,NAV:true,SECTION:true},O5={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 N5(e){var t=e.nodeName.toUpperCase();return M5[t]||false}function q5(e,t){var r=We(e);return r&&(O5[r]||t.roles.includes(r))||false}function B5(e,t){return q5(e,t)||N5(e)}var H5=B5;function V5(e,t,r){var a=$e(r,{dpub:true,fallback:true}),n=al(a);return n&&this.data(a),n}var j5=V5;function $5(e,t,r){var a=$e(r,{noImplicit:true});this.data(a);var n,i;try{n=Oe(dl(r)).toLowerCase(),i=Oe(Lt(r)).toLowerCase();}catch{return}if(!i&&!n)return false;if(!(!i&&n)&&i.includes(n))return false}var z5=$5;function G5(e,t,r){return At(r)}var W5=G5;function U5(e,t,r){var a=jt(r.attr("role")),n=a.every(function(i){return !Fn(i.toLowerCase(),{allowAbstract:true})});return n?(this.data(a),true):false}var X5=U5;function Y5(e,t,r){var a=We(r);if(a===null)return false;var n=br(a);return n==="widget"||n==="composite"}var K5=Y5;function J5(e,t,r){var a=Qr().filter(function(n){return r.hasAttr(n)});return this.data(a),a.length>0}var Z5=J5;function Q5(e,t){var r=Er(e);return !r&&t.length===2&&t.includes("none")&&t.includes("presentation")}function eT(e,t,r){var a=jt(r.attr("role"));return a.length<=1?false:Q5(r,a)?void 0:true}var tT=eT;function rT(e,t,r){var a=$e(r,{dpub:true,fallback:true}),n=et.ariaRoles[a];return n!=null&&n.deprecated?(this.data(a),true):false}function aT(e,t,r){var a,n=(a=r.attr("aria-brailleroledescription"))!==null&&a!==void 0?a:"";if(Oe(n)==="")return true;var i=r.attr("aria-roledescription");return typeof i!="string"?(this.data({messageKey:"noRoleDescription"}),false):Oe(i)===""?(this.data({messageKey:"emptyRoleDescription"}),false):true}function nT(e,t,r){var a,n=(a=r.attr("aria-braillelabel"))!==null&&a!==void 0?a:"";if(!n.trim())return true;try{return Oe(Lt(r))!==""}catch{return}}function iT(e,t,r){t=Array.isArray(t.value)?t.value:[];var a="",n="",i=[],o=/^aria-/,s=["aria-errormessage"],l={"aria-controls":function(){var c=["false",null].includes(r.attr("aria-haspopup"))===false;return c&&(a='aria-controls="'.concat(r.attr("aria-controls"),'"'),n="controlsWithinPopup"),r.attr("aria-expanded")!=="false"&&r.attr("aria-selected")!=="false"&&c===false},"aria-current":function(c){c||(a='aria-current="'.concat(r.attr("aria-current"),'"'),n="ariaCurrent");},"aria-owns":function(){return r.attr("aria-expanded")!=="false"},"aria-describedby":function(c){c||(a='aria-describedby="'.concat(r.attr("aria-describedby"),'"'),n=h._tree&&h._tree[0]._hasShadowRoot?"noIdShadow":"noId");},"aria-labelledby":function(c){c||(a='aria-labelledby="'.concat(r.attr("aria-labelledby"),'"'),n=h._tree&&h._tree[0]._hasShadowRoot?"noIdShadow":"noId");}};if(r.attrNames.forEach(function(u){if(!(s.includes(u)||t.includes(u)||!o.test(u))){var c,f=r.attr(u);try{c=Xm(r,u);}catch{a="".concat(u,'="').concat(f,'"'),n="idrefs";return}(!l[u]||l[u](c))&&!c&&(f===""&&!oT(u)?(a=u,n="empty"):i.push("".concat(u,'="').concat(f,'"')));}}),i.length)return this.data(i),false;if(a){this.data({messageKey:n,needsReview:a});return}return true}function oT(e){var t;return ((t=et.ariaAttrs[e])===null||t===void 0?void 0:t.type)==="string"}function sT(e,t,r){t=Array.isArray(t.value)?t.value:[];var a=[],n=/^aria-/;return r.attrNames.forEach(function(i){t.indexOf(i)===-1&&n.test(i)&&!Do(i)&&a.push(i);}),a.length?(this.data(a),false):true}var lT=sT;function uT(e,t,r){var a=r.attrNames.filter(function(n){var i=et.ariaAttrs[n];if(!Do(n))return false;var o=i.unsupported;return ie(o)!=="object"?!!o:!Rn(e,o.exceptions)});return a.length?(this.data(a),true):false}var cT=uT;function dT(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,a=$e(r),n=t.supportedRoles||[];if(n.includes(a))return true;if(!(a&&a!=="presentation"&&a!=="none"))return false}var fT=dT;function R1(e,t,r,a){var n=We(e);if(r||(r=Jl(n)),!r)return null;for(var i=r.includes("group"),o=a?e:e.parent;o;){var s=$e(o,{noPresentational:true});if(!s)o=o.parent;else if(s==="group"&&i)t.includes(n)&&r.push(n),r=r.filter(function(l){return l!=="group"}),o=o.parent;else return r.includes(s)?null:r}return r}function pT(e){for(var t=[],r=null;e;){if(e.getAttribute("id")){var a=yt(e.getAttribute("id")),n=Nt(e);r=n.querySelector("[aria-owns~=".concat(a,"]")),r&&t.push(r);}e=e.parentElement;}return t.length?t:null}function mT(e,t,r){var a=t&&Array.isArray(t.ownGroupRoles)?t.ownGroupRoles:[],n=R1(r,a);if(!n)return true;var i=pT(e);if(i){for(var o=0,s=i.length;o<s;o++)if(n=R1(ze(i[o]),a,n,true),!n)return true}return this.data(n),false}var hT=mT;function gT(e,t,r){var a=t&&Array.isArray(t.reviewEmpty)?t.reviewEmpty:[],n=We(r,{dpub:true}),i=Zl(n);if(i===null)return true;var o=vT(r,i),s=o.filter(function(u){var c=u.role,f=u.vNode;return f.props.nodeType===1&&!i.includes(c)});if(s.length){this.relatedNodes(s.map(function(u){var c=u.vNode;return c}));var l=r.attr("aria-busy")==="true"?"aria-busy-fail":"unallowed";return this.data({messageKey:l,values:s.map(function(u){var c=u.vNode,f=u.attr;return wT(c,f)}).filter(function(u,c,f){return f.indexOf(u)===c}).join(", ")}),false}if(bT(i,o))return true;if(r.attr("aria-busy")==="true")return this.data({messageKey:"aria-busy"}),true;if(this.data(i),!(a.includes(n)&&!o.some(xT)))return false}function vT(e,t){for(var r,a=[],n=In(e),i=function(){if(r.props.nodeType===3&&a.push({vNode:r,role:null}),r.props.nodeType!==1||!pt(r))return 1;var s=$e(r,{noPresentational:true}),l=yT(r),u=!!l||At(r);if(!s&&!u||["group","rowgroup"].includes(s)&&t.some(function(f){return f===s}))n.push.apply(n,ke(r.children));else if(s||u){var c=l||"tabindex";a.push({role:s,attr:c,vNode:r});}};r=n.shift();)i();return a}function bT(e,t){return t.some(function(r){var a=r.role;return a&&e.includes(a)})}function yT(e){return Qr().find(function(t){return e.hasAttr(t)})}function wT(e,t){var r=e.props,a=r.nodeName,n=r.nodeType;if(n===3)return "#text";var i=We(e,{dpub:true});return i?"[role=".concat(i,"]"):t?a+"[".concat(t,"]"):a}function xT(e){var t=e.vNode;return t.props.nodeType===3?t.props.nodeValue.trim().length>0:Pn(t,false,true)}function DT(e){var t,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=arguments.length>2?arguments[2]:void 0,n=We(a),i=a.attrNames,o=Um(n);if(Array.isArray(r[n])&&(o=qn(r[n],o)),!n||!i.length||!o.length||_T(a,n)||ET(a,n)||n==="slider"&&(t=a.attr("aria-valuetext"))!==null&&t!==void 0&&t.trim())return true;var s=ea(a),l=o.filter(function(u){return !a.attr(u)&&!AT(s,u)});return l.length?(this.data(l),false):true}function _T(e,t){return t==="separator"&&!At(e)}function AT(e,t){var r;return ((r=e.implicitAttrs)===null||r===void 0?void 0:r[t])!==void 0}function ET(e,t){return t==="combobox"&&e.attr("aria-expanded")==="false"}function CT(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,a=t?.elementsAllowedAriaLabel||[],n=r.props.nodeName,i=$e(r,{chromium:true,fallback:true}),o=ST(r,i,n,a),s=o.filter(function(c){return r.attrNames.includes(c)?Oe(r.attr(c))!=="":false});if(s.length===0)return false;var l=i!==null?"hasRole":"noRole";l+=s.length>1?"Plural":"Singular",this.data({role:i,nodeName:n,messageKey:l,prohibited:s});var u=ta(r,{subtreeDescendant:true});if(Oe(u)==="")return true}function ST(e,t,r,a){var n=et.ariaRoles[t];return n?n.prohibitedAttrs||[]:t||a.includes(r)||I1(e)==="widget"?[]:["aria-label","aria-labelledby"]}var I1=lt(function(t){if(t){var r=$e(t,{noPresentational:true,chromium:true});return r?br(r):I1(t.parent)}});function kT(e,t,r){var a=r.attr("aria-level"),n=parseInt(a,10);if(!(n>6))return true}var TT=kT;function FT(e,t,r){return r.attr("aria-hidden")!=="true"}var RT=FT;function IT(e,t,r){t=Array.isArray(t)?t:[];var a=r.attr("aria-errormessage"),n=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 et.ariaAttrs["aria-errormessage"].allowEmpty;var u=jt(l);if(u.length>1)return this.data({messageKey:"unsupported",values:u}),false;var c;try{c=l&&Ar(r,"aria-errormessage")[0];}catch{this.data({messageKey:"idrefs",values:u});return}if(c){if(!pt(c))return this.data({messageKey:"hidden",values:u}),false;var f=jt(r.attr("aria-describedby"));return We(c)==="alert"||c.getAttribute("aria-live")==="assertive"||c.getAttribute("aria-live")==="polite"||u.some(function(b){return f.includes(b)})}}return t.indexOf(a)===-1&&n?(this.data(jt(a)),s.call(this,a)):true}function L1(e){var t,r,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=a.invalidTableRowAttrs,i=arguments.length>2?arguments[2]:void 0,o=(t=n==null||(r=n.filter)===null||r===void 0?void 0:r.call(n,function(c){return i.hasAttr(c)}))!==null&&t!==void 0?t:[];if(o.length===0)return true;var s=LT(i),l=s&&$e(s);if(!l||l==="treegrid")return true;var u="row".concat(o.length>1?"Plural":"Singular");return this.data({messageKey:u,invalidAttrs:o,ownerRole:l}),false}function LT(e){if(e.parent){var t='table:not([role]), [role~="treegrid"], [role~="table"], [role~="grid"]';return Kt(e,t)}}function P1(e,t,r){var a=r.props,n=a.nodeName,i=a.type,o=MT(r.attr("aria-checked"));if(n!=="input"||i!=="checkbox"||!o)return true;var s=PT(r);return o===s?true:(this.data({messageKey:"checkbox",checkState:s}),false)}function PT(e){return e.props.indeterminate?"mixed":e.props.checked?"true":"false"}function MT(e){return e?(e=e.toLowerCase(),["mixed","true"].includes(e)?e:"false"):""}var M1={row:L1,checkbox:P1};function OT(e,t,r){var a=$e(r);return M1[a]?M1[a].call(this,e,t,r):true}function NT(e,t,r){return r.attr("aria-busy")==="true"}function qT(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,a=t.allowImplicit,n=a===void 0?true:a,i=t.ignoredTags,o=i===void 0?[]:i,s=r.props.nodeName;if(o.map(function(u){return u.toLowerCase()}).includes(s))return true;var l=jm(r,n);return l.length?(this.data(l),pt(r)?false:void 0):true}var BT=qT;function HT(e,t,r){var a=[],n=$e(r),i=Bm(n);Array.isArray(t[n])&&(i=qn(t[n].concat(i)));var o=Ke(r.attrNames),s;try{for(o.s();!(s=o.n()).done;){var l=s.value;Do(l)&&!i.includes(l)&&!VT(l,r.attr(l),r)&&a.push(l);}}catch(u){o.e(u);}finally{o.f();}if(!a.length)return true;if(this.data(a.map(function(u){return u+'="'+r.attr(u)+'"'})),!(!n&&!Ol(r)&&!At(r)))return false}function VT(e,t,r){return !!(e==="aria-required"&&t==="false"||e==="aria-multiline"&&t==="false"&&r.hasAttr("contenteditable"))}function jT(e,t,r){var a=ea(r);if(!a.allowedAriaAttrs)return true;var n=We(r);if(n)return true;var i=a.allowedAriaAttrs,o=Qr(),s=[],l=Ke(r.attrNames),u;try{for(l.s();!(u=l.n()).done;){var c=u.value;o.includes(c)&&!i.includes(c)&&s.push(c);}}catch(b){l.e(b);}finally{l.f();}if(!s.length)return true;var f=s.length>1?"plural":"singular";return this.data({messageKey:f,nodeName:r.props.nodeName,values:s.map(function(b){return b+'="'+r.attr(b)+'"'}).join(", ")}),false}function $T(e,t,r){var a=jt(r.attr("role")).filter(function(n){return br(n)==="abstract"});return a.length>0?(this.data(a),true):false}var zT=$T;function GT(e){var t=xa(e.getAttribute("lang")),r=xa(e.getAttribute("xml:lang"));return bo(t)&&bo(r)}var WT=GT;function UT(e){return e.ownerDocument.defaultView.self===e.ownerDocument.defaultView.top}var XT=UT;function YT(e,t){try{var r=t.props.nodeName;return r==="svg"?!0:!!Kt(t,"svg")}catch{return false}}var su=YT;function KT(e,t){return JT.every(function(r){return r(e,t)})}var JT=[function(e,t){return O1(t)},function(e,t){return ZT(t)},function(e,t){return !su(e,t)},function(e,t){return At(t)},function(e,t){return ur(t)||!QT(t)},function(e){return !wl(e,{noLengthCompare:true,includeInlineBlock:true})}];function O1(e){return br(e)==="widget"}function ZT(e){return e.props.nodeName!=="area"}var QT=lt(function e(t){return t!=null&&t.parent?O1(t.parent)&&ur(t.parent)?true:e(t.parent):false});function eF(e,t){var r=$e(t);return ["treegrid","grid","table"].includes(r)}function tF(e,t){var r=t.parent;if(r.props.nodeName!=="details"||rF(t))return false;var a=r.children.find(function(n){return n.props.nodeName==="summary"});return a===t}function rF(e){var t,r=(t=e.actualNode)===null||t===void 0?void 0:t.parentElement;return r&&r!==e.parent.actualNode}function aF(e){return _l(e)&&$i(e)}var nF=aF;function iF(e,t){return Br(e,13)!==void 0&&Kl(t)===false&&oF(t)}function oF(e){var t=e.boundingClientRect;return er(e,"*").some(function(r){if(!Pn(r,true,true))return false;var a=[];if(ro(r)){var n;(n=a).push.apply(n,ke(sF(r)));}else a=[r.boundingClientRect];return a.some(function(i){return i.left<t.left||i.right>t.right||i.top<t.top||i.bottom>t.bottom})})}function sF(e){var t=m.createRange();return t.selectNodeContents(e.actualNode),Array.from(t.getClientRects())}function lF(e,t){return Er(t,{chromiumRoles:true})!==null}var uF=lF;function cF(e){var t=Array.from(e.parentNode.childNodes),r=e.textContent.trim(),a=/[.!?:;](?![.!?:;])/g;if(r.length===0||(r.match(a)||[]).length>=2)return false;var n=t.slice(t.indexOf(e)+1).filter(function(i){return i.nodeName.toUpperCase()==="P"&&i.textContent.trim()!==""});return n.length!==0}var dF=cF;function fF(e,t){var r=We(t);if(!r||["none","presentation"].includes(r))return true;var a=Yf[r]||{},n=a.accessibleNameRequired;return !!(n||At(t))}var N1=fF,pF=function(t,r){return [N1,mF].every(function(a){return a(t,r)})};function mF(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 hF(e,t){return t.props.nodeName!=="html"}var gF=hF;function vF(e,t){return !t.attr("role")}var bF=vF;function yF(e,t){var r=kr(t.attr("tabindex"));return r===null||r>=0}var wF=yF;function xF(e,t){var r=ea(t),a=r.namingMethods;return !(a&&a.length!==0||We(t)==="combobox"&&er(t,'input:not([type="hidden"])').length||Kl(t,{popupRoles:["listbox"]}))}var DF=xF;function _F(e,t){return !(!t.hasAttr("role")||!t.attr("role").trim())}var AF=_F;function EF(e){return !(!e.currentSrc||e.hasAttribute("paused")||e.hasAttribute("muted"))}var CF=EF;function SF(e,t){var r=$e(t);return r?!!et.ariaRoles[r].childrenPresentational:false}var kF=SF;function TF(e){var t=Oe(e.innerText),r=We(e);return r&&r!=="link"||!t||!Jt(e)?false:wl(e)}var FF=TF;function RF(e){return !wo(e)&&!At(e)}var IF=RF;function LF(e,t){return PF(t)&&pt(t)}function PF(e){var t=Na("landmark"),r=$e(e);if(!r)return false;var a=e.props.nodeName;if(a==="section"||a==="form"){var n=Lt(e);return !!n}return t.indexOf(r)>=0||r==="region"}function MF(e,t){var r="article, aside, main, nav, section";return e.hasAttribute("role")||!Ra(t,r)}var OF=MF;function NF(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 qF=NF;function BF(e,t){var r=$e(e);if(!r)return false;var a=Na("widget"),n=a.includes(r);if(!n)return false;var i=Yl();return !(!i.includes(r)||!Oe(Tn(t))&&!Oe(kn(e))||!Oe(Cr(t)))}var HF=BF;function VF(e,t){return Jt(t)}function jF(e){return Jt(e)}function $F(e,t,r){return r.initiator}var q1=$F;function zF(e){return Op(e)}var GF=zF;function WF(e,t){var r=!!Lt(t);if(!r)return false;var a=$e(e);return !(a&&a!=="link")}var UF=WF;function XF(e,t){return !su(e,t)}var YF=XF;function KF(e,t){return $e(t)==="heading"}function JF(e,t){return Er(t,{chromium:true})!==null}var ZF=JF;function QF(e){var t=e.getAttribute("title");return !!Oe(t)}var e3=QF;function t3(e,t,r){var a,n;return !r.initiator&&!r.focusable&&((a=r.size)===null||a===void 0?void 0:a.width)*((n=r.size)===null||n===void 0?void 0:n.height)>1}var r3=t3;function a3(e){var t=e.getAttribute("id").trim(),r='*[id="'.concat(yt(t),'"]'),a=Array.from(Nt(e).querySelectorAll(r));return !xo(e)&&a.every(function(n){return !At(n)})}var n3=a3;function i3(e){return xo(e)}var o3=i3;function s3(e){var t=e.getAttribute("id").trim(),r='*[id="'.concat(yt(t),'"]'),a=Array.from(Nt(e).querySelectorAll(r));return !xo(e)&&a.some(At)}var l3=s3;function u3(e){return wo(e)}var c3=u3;function d3(e){if(wo(e)){var t=qr(e);return t.length>=3&&t[0].length>=3&&t[1].length>=3&&t[2].length>=3}return false}var f3=d3;function p3(e,t){var r=t.props,a=r.nodeName,n=r.type;if(a==="option"||a==="select"&&!e.options.length)return false;var i=["hidden","range","color","checkbox","radio","image"];if(a==="input"&&i.includes(n)||$n(t)||Yi(t))return false;var o=["input","select","textarea"];if(o.includes(a)){var s=p.getComputedStyle(e),l=parseInt(s.getPropertyValue("text-indent"),10);if(l){var u=e.getBoundingClientRect();if(u={top:u.top,bottom:u.bottom,left:u.left+l,right:u.right+l},!Al(u,e))return false}return true}var c=Ra(t,"label");if(a==="label"||c){var f=c||e,b=c?ze(c):t;if(f.htmlFor){var A=Nt(f),k=A.getElementById(f.htmlFor),I=k&&ze(k);if(I&&$n(I))return false}var P='input:not([type="hidden"],[type="image"],[type="button"],[type="submit"],[type="reset"]), select, textarea',M=er(b,P)[0];if(M&&$n(M))return false}for(var O=[],H=t;H;){if(H.props.id){var V=Xl(H).filter(function(ue){return jt(ue.getAttribute("aria-labelledby")||"").includes(H.props.id)}).map(function(ue){return ze(ue)});O.push.apply(O,ke(V));}H=H.parent;}if(O.length>0&&O.every($n)||!g3(t)||!parseFloat(t.getComputedStylePropertyValue("font-size")))return false;for(var z=m.createRange(),Y=t.children,te=0;te<Y.length;te++){var oe=Y[te];oe.actualNode.nodeType===3&&Oe(oe.actualNode.nodeValue)!==""&&z.selectNodeContents(oe.actualNode);}var ve=Array.from(z.getClientRects()),re=An(t);return ve.some(function(ue){var pe=Al(ue,e);if(!re.length)return pe;var be=re.some(function(Fe){return js(ue,Fe.boundingClientRect)});return pe&&be})}var m3=p3,h3={emoji:true,nonBmp:false,punctuations:true};function g3(e){var t=Cr(e,false,true);return t===""||Ln(t,h3)===""?false:e.children.some(function(r){return r.props.nodeName==="#text"&&!ml(r)})}function v3(e,t,r){return q1(e,t,r)?!!e.querySelector("a[href]"):true}var b3=v3;function y3(e,t){var r=t.attr("autocomplete");if(!r||Oe(r)==="")return false;var a=t.props.nodeName;if(["textarea","input","select"].includes(a)===false)return false;var n=t.attr("aria-readonly")||"false";if(t.hasAttr("readonly")||n.toLowerCase()==="true")return false;var i=["submit","reset","button","hidden"];if(a==="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=We(t),l=kr(t.attr("tabindex"));if(l<0&&t.hasAttr("role")){var u=et.ariaRoles[s];if(u===void 0||u.type!=="widget")return false}return !(l<0&&t.actualNode&&!Jt(t)&&!pt(t))}var w3=y3;function x3(e,t){var r=We(t);return !!Jl(r)}var D3=x3;function _3(e,t){var r=We(t,{dpub:true});return !!Zl(r)}var A3=_3;function B1(e){return e?e.getAttribute("aria-hidden")==="true"?false:B1(It(e)):true}function E3(e){return B1(It(e))}var C3=E3;function S3(e,t){var r=/^aria-/;return t.attrNames.some(function(a){return r.test(a)})}var k3=S3;function T3(e,t){return We(t,{dpub:true,fallback:true})!==null}var F3=T3;function R3(e,t){var r=/^aria-/,a=t.attrNames;if(a.length){for(var n=0,i=a.length;n<i;n++)if(r.test(a[n]))return true}return false}var I3=R3,L3={"abstractrole-evaluate":zT,"accesskeys-after":l5,"accesskeys-evaluate":o5,"alt-space-value-evaluate":Bk,"aria-allowed-attr-elm-evaluate":jT,"aria-allowed-attr-evaluate":HT,"aria-allowed-attr-matches":I3,"aria-allowed-role-evaluate":BT,"aria-allowed-role-matches":F3,"aria-busy-evaluate":NT,"aria-conditional-attr-evaluate":OT,"aria-conditional-checkbox-attr-evaluate":P1,"aria-conditional-row-attr-evaluate":L1,"aria-errormessage-evaluate":IT,"aria-has-attr-matches":k3,"aria-hidden-body-evaluate":RT,"aria-hidden-focus-matches":C3,"aria-label-evaluate":vC,"aria-labelledby-evaluate":hC,"aria-level-evaluate":TT,"aria-prohibited-attr-evaluate":CT,"aria-required-attr-evaluate":DT,"aria-required-children-evaluate":gT,"aria-required-children-matches":A3,"aria-required-parent-evaluate":hT,"aria-required-parent-matches":D3,"aria-roledescription-evaluate":fT,"aria-unsupported-attr-evaluate":cT,"aria-valid-attr-evaluate":lT,"aria-valid-attr-value-evaluate":iT,"attr-non-space-content-evaluate":x5,"autocomplete-appropriate-evaluate":E5,"autocomplete-matches":w3,"autocomplete-valid-evaluate":_5,"avoid-inline-spacing-evaluate":pC,"braille-label-equivalent-evaluate":nT,"braille-roledescription-equivalent-evaluate":aT,"bypass-matches":b3,"caption-evaluate":QS,"caption-faked-evaluate":KE,"color-contrast-evaluate":I5,"color-contrast-matches":m3,"css-orientation-lock-evaluate":GS,"data-table-large-matches":f3,"data-table-matches":c3,"deprecatedrole-evaluate":rT,"dlitem-evaluate":ck,"doc-has-title-evaluate":dC,"duplicate-id-active-matches":l3,"duplicate-id-after":xC,"duplicate-id-aria-matches":o3,"duplicate-id-evaluate":yC,"duplicate-id-misc-matches":n3,"duplicate-img-label-evaluate":Nk,"exists-evaluate":uC,"explicit-evaluate":Mk,"fallbackrole-evaluate":tT,"focusable-content-evaluate":n5,"focusable-disabled-evaluate":r5,"focusable-element-evaluate":e5,"focusable-modal-open-evaluate":Zk,"focusable-no-name-evaluate":Kk,"focusable-not-tabbable-evaluate":Xk,"frame-focusable-content-evaluate":Wk,"frame-focusable-content-matches":r3,"frame-tested-after":JS,"frame-tested-evaluate":YS,"frame-title-has-text-matches":e3,"has-alt-evaluate":sC,"has-descendant-after":y5,"has-descendant-evaluate":v5,"has-global-aria-attribute-evaluate":Z5,"has-implicit-chromium-role-matches":ZF,"has-lang-evaluate":gk,"has-text-content-evaluate":h5,"has-widget-role-evaluate":K5,"heading-matches":KF,"heading-order-after":CS,"heading-order-evaluate":ES,"help-same-as-label-evaluate":Lk,"hidden-content-evaluate":nE,"hidden-explicit-label-evaluate":Rk,"html-namespace-matches":YF,"html5-scope-evaluate":XE,"identical-links-same-purpose-after":DS,"identical-links-same-purpose-evaluate":wS,"identical-links-same-purpose-matches":UF,"implicit-evaluate":Tk,"inline-style-property-evaluate":nC,"inserted-into-focus-order-matches":GF,"internal-link-present-evaluate":$C,"invalid-children-evaluate":ok,"invalidrole-evaluate":X5,"is-element-focusable-evaluate":W5,"is-initiator-matches":q1,"is-on-screen-evaluate":aC,"is-visible-matches":jF,"is-visible-on-screen-matches":VF,"label-content-name-mismatch-evaluate":Sk,"label-content-name-mismatch-matches":HF,"label-matches":qF,"landmark-has-body-context-matches":OF,"landmark-is-top-level-evaluate":Gk,"landmark-is-unique-after":wk,"landmark-is-unique-evaluate":bk,"landmark-unique-matches":LF,"layout-table-matches":IF,"link-in-text-block-evaluate":R5,"link-in-text-block-matches":FF,"link-in-text-block-style-evaluate":S5,"listitem-evaluate":ik,"matches-definition-evaluate":m5,"meta-refresh-evaluate":VC,"meta-viewport-scale-evaluate":$S,"multiple-label-evaluate":Ak,"nested-interactive-matches":kF,"no-autoplay-audio-evaluate":US,"no-autoplay-audio-matches":CF,"no-empty-role-matches":AF,"no-explicit-name-required-matches":N1,"no-focusable-content-evaluate":jk,"no-implicit-explicit-label-evaluate":z5,"no-naming-method-matches":DF,"no-negative-tabindex-matches":wF,"no-role-matches":bF,"non-empty-if-present-evaluate":tC,"not-html-matches":gF,"object-is-loaded-matches":pF,"only-dlitems-evaluate":nk,"only-listitems-evaluate":ak,"p-as-heading-evaluate":qC,"p-as-heading-matches":dF,"page-no-duplicate-after":f5,"page-no-duplicate-evaluate":c5,"presentation-role-conflict-matches":uF,"presentational-role-evaluate":QE,"region-after":PC,"region-evaluate":TC,"same-caption-summary-evaluate":zE,"scope-value-evaluate":$E,"scrollable-region-focusable-matches":iF,"skip-link-evaluate":SC,"skip-link-matches":nF,"structured-dlitems-evaluate":tk,"summary-interactive-matches":tF,"svg-namespace-matches":su,"svg-non-empty-title-evaluate":ZE,"tabindex-evaluate":Vk,"table-or-grid-role-matches":eF,"target-offset-evaluate":HS,"target-size-evaluate":IS,"td-has-header-evaluate":VE,"td-headers-attr-evaluate":BE,"th-has-data-cells-evaluate":qE,"title-only-evaluate":Dk,"unique-frame-title-after":EC,"unique-frame-title-evaluate":_C,"unsupportedrole-evaluate":j5,"valid-lang-evaluate":mk,"valid-scrollable-semantics-evaluate":H5,"widget-not-inline-matches":KT,"window-is-top-matches":XT,"xml-lang-mismatch-evaluate":fk,"xml-lang-mismatch-matches":WT},So=L3;function P3(e){this.id=e.id,this.data=null,this.relatedNodes=[],this.result=null;}var lu=P3;function uu(e){if(typeof e=="string"){if(So[e])return So[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 H1(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return (Array.isArray(e)||ie(e)!=="object")&&(e={value:e}),e}function Ba(e){e&&(this.id=e.id,this.configure(e));}Ba.prototype.enabled=true,Ba.prototype.run=function(t,r,a,n,i){r=r||{};var o=r.hasOwnProperty("enabled")?r.enabled:this.enabled,s=this.getOptions(r.options);if(o){var l=new lu(this),u=Cs(l,r,n,i),c;try{c=this.evaluate.call(u,t.actualNode,s,t,a);}catch(f){t&&t.actualNode&&(f.errorNode=lr.toSpec(t)),i(f);return}u.isAsync||(l.result=c,n(l));}else n(null);},Ba.prototype.runSync=function(t,r,a){r=r||{};var n=r,i=n.enabled,o=i===void 0?this.enabled:i;if(!o)return null;var s=this.getOptions(r.options),l=new lu(this),u=Cs(l);u.async=function(){throw new Error("Cannot run async check while in a synchronous run")};var c;try{c=this.evaluate.call(u,t.actualNode,s,t,a);}catch(f){throw t&&t.actualNode&&(f.errorNode=lr.toSpec(t)),f}return l.result=c,l},Ba.prototype.configure=function(t){var r=this;(!t.evaluate||So[t.evaluate])&&(this._internalCheck=true),t.hasOwnProperty("enabled")&&(this.enabled=t.enabled),t.hasOwnProperty("options")&&(this._internalCheck?this.options=H1(t.options):this.options=t.options),["evaluate","after"].filter(function(a){return t.hasOwnProperty(a)}).forEach(function(a){return r[a]=uu(t[a])});},Ba.prototype.getOptions=function(t){return this._internalCheck?Bs(this.options,H1(t||{})):t||this.options};var V1=Ba;function M3(e){this.id=e.id,this.result=je.NA,this.pageLevel=e.pageLevel,this.impact=null,this.nodes=[];}var ko=M3;function Xt(e,t){this._audit=t,this.id=e.id,this.selector=e.selector||"*",e.impact&&(Qe(je.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=uu(e.matches));}Xt.prototype.matches=function(){return true},Xt.prototype.gather=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a="mark_gather_start_"+this.id,n="mark_gather_end_"+this.id,i="mark_isVisibleToScreenReaders_start_"+this.id,o="mark_isVisibleToScreenReaders_end_"+this.id;r.performanceTimer&&tt.mark(a);var s=jl(this.selector,t);return this.excludeHidden&&(r.performanceTimer&&tt.mark(i),s=s.filter(function(l){return pt(l)}),r.performanceTimer&&(tt.mark(o),tt.measure("rule_"+this.id+"#gather_axe.utils.isVisibleToScreenReaders",i,o))),r.performanceTimer&&(tt.mark(n),tt.measure("rule_"+this.id+"#gather",a,n)),s},Xt.prototype.runChecks=function(t,r,a,n,i,o){var s=this,l=_r();this[t].forEach(function(u){var c=s._audit.checks[u.id||u],f=uo(c,s.id,a);l.defer(function(b,A){c.run(r,f,n,b,function(k){A(new go({ruleId:s.id,method:"".concat(c.id,"#evaluate"),errorNode:new sr(r),error:k}));});});}),l.then(function(u){u=u.filter(function(c){return c}),i({type:t,results:u});}).catch(o);},Xt.prototype.runChecksSync=function(t,r,a,n){var i=this,o=[];return this[t].forEach(function(s){var l=i._audit.checks[s.id||s],u=uo(l,i.id,a);o.push(l.runSync(r,u,n));}),o=o.filter(function(s){return s}),{type:t,results:o}},Xt.prototype.run=function(t){var r=this,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0;a.performanceTimer&&this._trackPerformance();var o=_r(),s=new ko(this),l;try{l=this.gatherAndMatchNodes(t,a);}catch(u){i(u);return}a.performanceTimer&&this._logGatherPerformance(l),l.forEach(function(u){o.defer(function(c,f){var b=_r();["any","all","none"].forEach(function(A){b.defer(function(k,I){r.runChecks(A,u,a,t,k,I);});}),b.then(function(A){var k=j1(A);k&&(k.node=new sr(u),s.nodes.push(k),r.reviewOnFail&&(["any","all"].forEach(function(I){k[I].forEach(function(P){P.result===false&&(P.result=void 0);});}),k.none.forEach(function(I){I.result===true&&(I.result=void 0);}))),c();}).catch(function(A){return f(A)});});}),o.then(function(){a.performanceTimer&&r._logRulePerformance(),setTimeout(function(){n(s);},0);}).catch(function(u){a.performanceTimer&&r._logRulePerformance(),i(u);});},Xt.prototype.runSync=function(t){var r=this,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};a.performanceTimer&&this._trackPerformance();var n=new ko(this),i=this.gatherAndMatchNodes(t,a);return a.performanceTimer&&this._logGatherPerformance(i),i.forEach(function(o){var s=[];["any","all","none"].forEach(function(u){s.push(r.runChecksSync(u,o,a,t));});var l=j1(s);l&&(l.node=o.actualNode?new sr(o):null,n.nodes.push(l),r.reviewOnFail&&(["any","all"].forEach(function(u){l[u].forEach(function(c){c.result===false&&(c.result=void 0);});}),l.none.forEach(function(u){u.result===true&&(u.result=void 0);})));}),a.performanceTimer&&this._logRulePerformance(),n},Xt.prototype._trackPerformance=function(){this._markStart="mark_rule_start_"+this.id,this._markEnd="mark_rule_end_"+this.id,this._markChecksStart="mark_runchecks_start_"+this.id,this._markChecksEnd="mark_runchecks_end_"+this.id;},Xt.prototype._logGatherPerformance=function(t){pa("gather for ".concat(this.id," (").concat(t.length," nodes): ").concat(tt.timeElapsed(),"ms")),tt.mark(this._markChecksStart);},Xt.prototype._logRulePerformance=function(){tt.mark(this._markChecksEnd),tt.mark(this._markEnd),tt.measure("runchecks_"+this.id,this._markChecksStart,this._markChecksEnd),tt.measure("rule_"+this.id,this._markStart,this._markEnd);};function j1(e){if(e.length){var t=false,r={};return e.forEach(function(a){var n=a.results.filter(function(i){return i});r[a.type]=n,n.length&&(t=true);}),t?r:null}}Xt.prototype.gatherAndMatchNodes=function(t,r){var a=this,n="mark_matches_start_"+this.id,i="mark_matches_end_"+this.id,o=this.gather(t,r);return r.performanceTimer&&tt.mark(n),o=o.filter(function(s){try{return a.matches(s.actualNode,s,t)}catch(l){throw new go({ruleId:a.id,method:"#matches",errorNode:new sr(s),error:l})}}),r.performanceTimer&&(tt.mark(i),tt.measure("rule_"+this.id+"#matches",n,i)),o};function O3(e){return qi(e).map(function(t){var r=e._audit.checks[t.id||t];return r&&typeof r.after=="function"?r:null}).filter(Boolean)}function N3(e,t){var r=[];return e.forEach(function(a){var n=qi(a);n.forEach(function(i){i.id===t&&(i.node=a.node,r.push(i));});}),r}function q3(e){return e.filter(function(t){return t.filtered!==true})}function B3(e){var t=["any","all","none"],r=e.nodes.filter(function(a){var n=0;return t.forEach(function(i){a[i]=q3(a[i]),n+=a[i].length;}),n>0});return e.pageLevel&&r.length&&(r=[r.reduce(function(a,n){if(a)return t.forEach(function(i){a[i].push.apply(a[i],n[i]);}),a})]),r}Xt.prototype.after=function(t,r){var a=this,n=O3(this);return n.forEach(function(i){var o=N3(t.nodes,i.id),s=uo(i,a.id,r),l;try{l=i.after(o,s.options);}catch(c){var u;throw new go({ruleId:a.id,method:"".concat(i.id,"#after"),errorNode:(u=t.nodes)===null||u===void 0||(u=u[0])===null||u===void 0?void 0:u.node,error:c})}a.reviewOnFail&&l.forEach(function(c){var f=(a.any.includes(c.id)||a.all.includes(c.id))&&c.result===false,b=a.none.includes(c.id)&&c.result===true;(f||b)&&(c.result=void 0);}),o.forEach(function(c){delete c.node,l.indexOf(c)===-1&&(c.filtered=true);});}),t.nodes=B3(t),t},Xt.prototype.configure=function(t){t.hasOwnProperty("selector")&&(this.selector=t.selector),t.hasOwnProperty("excludeHidden")&&(this.excludeHidden=typeof t.excludeHidden=="boolean"?t.excludeHidden:true),t.hasOwnProperty("enabled")&&(this.enabled=typeof t.enabled=="boolean"?t.enabled:true),t.hasOwnProperty("pageLevel")&&(this.pageLevel=typeof t.pageLevel=="boolean"?t.pageLevel:false),t.hasOwnProperty("reviewOnFail")&&(this.reviewOnFail=typeof t.reviewOnFail=="boolean"?t.reviewOnFail:false),t.hasOwnProperty("any")&&(this.any=t.any),t.hasOwnProperty("all")&&(this.all=t.all),t.hasOwnProperty("none")&&(this.none=t.none),t.hasOwnProperty("tags")&&(this.tags=t.tags),t.hasOwnProperty("actIds")&&(this.actIds=t.actIds),t.hasOwnProperty("matches")&&(this.matches=uu(t.matches)),t.impact&&(Qe(je.impact.includes(t.impact),"Impact ".concat(t.impact," is not a valid impact")),this.impact=t.impact);};var Ha=/\{\{.+?\}\}/g,H3=(function(){function e(t){ft(this,e),this.lang="en",this.defaultConfig=t,this.standards=et,this._init(),this._defaultLocale=null;}return vt(e,[{key:"_setDefaultLocale",value:function(){if(!this._defaultLocale){for(var r={checks:{},rules:{},failureSummaries:{},incompleteFallbackMessage:"",lang:this.lang},a=Object.keys(this.data.checks),n=0;n<a.length;n++){var i=a[n],o=this.data.checks[i],s=o.messages,l=s.pass,u=s.fail,c=s.incomplete;r.checks[i]={pass:l,fail:u,incomplete:c};}for(var f=Object.keys(this.data.rules),b=0;b<f.length;b++){var A=f[b],k=this.data.rules[A],I=k.description,P=k.help;r.rules[A]={description:I,help:P};}for(var M=Object.keys(this.data.failureSummaries),O=0;O<M.length;O++){var H=M[O],V=this.data.failureSummaries[H],z=V.failureMessage;r.failureSummaries[H]={failureMessage:z};}r.incompleteFallbackMessage=this.data.incompleteFallbackMessage,this._defaultLocale=r;}}},{key:"_resetLocale",value:function(){var r=this._defaultLocale;r&&this.applyLocale(r);}},{key:"_applyCheckLocale",value:function(r){for(var a=Object.keys(r),n=0;n<a.length;n++){var i=a[n];if(!this.data.checks[i])throw new Error('Locale provided for unknown check: "'.concat(i,'"'));this.data.checks[i]=j3(this.data.checks[i],r[i]);}}},{key:"_applyRuleLocale",value:function(r){for(var a=Object.keys(r),n=0;n<a.length;n++){var i=a[n];if(!this.data.rules[i])throw new Error('Locale provided for unknown rule: "'.concat(i,'"'));this.data.rules[i]=$3(this.data.rules[i],r[i]);}}},{key:"_applyFailureSummaries",value:function(r){for(var a=Object.keys(r),n=0;n<a.length;n++){var i=a[n];if(!this.data.failureSummaries[i])throw new Error('Locale provided for unknown failureMessage: "'.concat(i,'"'));this.data.failureSummaries[i]=z3(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=G3(this.data.incompleteFallbackMessage,r.incompleteFallbackMessage)),r.lang&&(this.lang=r.lang);}},{key:"setAllowedOrigins",value:function(r){var a=z1();this.allowedOrigins=[];var n=Ke(r),i;try{for(n.s();!(i=n.n()).done;){var o=i.value;if(o===je.allOrigins){this.allowedOrigins=["*"];return}else o!==je.sameOrigin?this.allowedOrigins.push(o):a&&this.allowedOrigins.push(a);}}catch(s){n.e(s);}finally{n.f();}}},{key:"_init",value:function(){var r=V3(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,G1(r.rules,this,"addRule"),G1(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 a=this.getRule(r.id);a?a.configure(r):this.rules.push(new Xt(r,this));}},{key:"addCheck",value:function(r){var a=r.metadata;ie(a)==="object"&&(this.data.checks[r.id]=a,ie(a.messages)==="object"&&Object.keys(a.messages).filter(function(n){return a.messages.hasOwnProperty(n)&&typeof a.messages[n]=="string"}).forEach(function(n){a.messages[n].indexOf("function")===0&&(a.messages[n]=new Function("return "+a.messages[n]+";")());})),this.checks[r.id]?this.checks[r.id].configure(r):this.checks[r.id]=new V1(r);}},{key:"run",value:function(r,a,n,i){this.normalizeOptions(a),sr.setRunOptions(a),h._selectCache=[];var o=W3(this.rules,r,a),s=o.now,l=o.later,u=_r();s.forEach(function(b){u.defer(W1(b,r,a));});var c=_r();l.length&&c.defer(function(b){vm(a).then(function(A){return b(A)}).catch(function(A){console.warn("Couldn't load preload assets: ",A),b(void 0);});});var f=_r();f.defer(u),f.defer(c),f.then(function(b){var A=b.pop();if(A&&A.length){var k=A[0];k&&(r=Re({},r,k));}var I=b[0];if(!l.length){h._selectCache=void 0,n(I.filter(function(M){return !!M}));return}var P=_r();l.forEach(function(M){var O=W1(M,r,a);P.defer(O);}),P.then(function(M){h._selectCache=void 0,n(I.concat(M).filter(function(O){return !!O}));}).catch(i);}).catch(i);}},{key:"after",value:function(r,a){var n=this.rules;return r.map(function(i){if(i.error)return i;var o=Dn(n,"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,a)}catch(s){if(a.debug)throw s;return U1(o,s)}})}},{key:"getRule",value:function(r){return this.rules.find(function(a){return a.id===r})}},{key:"normalizeOptions",value:function(r){var a=this,n=[],i=[];if(a.rules.forEach(function(c){i.push(c.id),c.tags.forEach(function(f){n.includes(f)||n.push(f);});}),["object","string"].includes(ie(r.runOnly))){if(typeof r.runOnly=="string"&&(r.runOnly=[r.runOnly]),Array.isArray(r.runOnly)){var o=r.runOnly.find(function(c){return n.includes(c)}),s=r.runOnly.find(function(c){return i.includes(c)});if(o&&s)throw new Error("runOnly cannot be both rules and tags");s?r.runOnly={type:"rule",values:r.runOnly}:r.runOnly={type:"tag",values:r.runOnly};}var l=r.runOnly;if(l.value&&!l.values&&(l.values=l.value,delete l.value),!Array.isArray(l.values)||l.values.length===0)throw new Error("runOnly.values must be a non-empty array");if(["rule","rules"].includes(l.type))l.type="rule",l.values.forEach(function(c){if(!i.includes(c))throw new Error("unknown rule `"+c+"` in options.runOnly")});else if(["tag","tags",void 0].includes(l.type)){l.type="tag";var u=l.values.filter(function(c){return !n.includes(c)&&!/wcag2[1-3]a{1,3}/.test(c)});u.length!==0&&h.log("Could not find tags `"+u.join("`, `")+"`");}else throw new Error("Unknown runOnly type '".concat(l.type,"'"))}return ie(r.rules)==="object"&&Object.keys(r.rules).forEach(function(c){if(!i.includes(c))throw new Error("unknown rule `"+c+"` in options.rules")}),r}},{key:"setBranding",value:function(r){var a={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(a);}},{key:"_constructHelpUrls",value:function(){var r=this,a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,n=(h.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"||a&&o.helpUrl===X1(a,i.id,n))&&(o.helpUrl=X1(r,i.id,n));});}},{key:"resetRulesAndChecks",value:function(){this._init(),this._resetLocale();}}])})(),$1=H3;function z1(){if(p.origin&&p.origin!=="null")return p.origin;if(p.location&&p.location.origin&&p.location.origin!=="null")return p.location.origin}function V3(e){var t;if(e?(t=Mr(e),t.commons=e.commons):t={},t.reporter=t.reporter||null,t.noHtml=t.noHtml||false,!t.allowedOrigins){var r=z1();t.allowedOrigins=r?[r]:[];}return t.rules=t.rules||[],t.checks=t.checks||[],t.data=Re({checks:{},rules:{}},t.data),t}function G1(e,t,r){var a,n;for(a=0,n=e.length;a<n;a++)t[r](e[a]);}var j3=function(t,r){var a=r.pass,n=r.fail;return typeof a=="string"&&Ha.test(a)&&(a=Gr.default.compile(a)),typeof n=="string"&&Ha.test(n)&&(n=Gr.default.compile(n)),Re({},t,{messages:{pass:a||t.messages.pass,fail:n||t.messages.fail,incomplete:ie(t.messages.incomplete)==="object"?Re({},t.messages.incomplete,r.incomplete):r.incomplete}})},$3=function(t,r){var a=r.help,n=r.description;return typeof a=="string"&&Ha.test(a)&&(a=Gr.default.compile(a)),typeof n=="string"&&Ha.test(n)&&(n=Gr.default.compile(n)),Re({},t,{help:a||t.help,description:n||t.description})},z3=function(t,r){var a=r.failureMessage;return typeof a=="string"&&Ha.test(a)&&(a=Gr.default.compile(a)),Re({},t,{failureMessage:a||t.failureMessage})},G3=function(t,r){return typeof r=="string"&&Ha.test(r)&&(r=Gr.default.compile(r)),r||t};function W3(e,t,r){var a={now:[],later:[]},n=e.reduce(function(i,o){return Dm(o,t,r)?o.preload?(i.later.push(o),i):(i.now.push(o),i):i},a);return n}function W1(e,t,r){return r.performanceTimer&&tt.mark("mark_rule_start_"+e.id),function(a,n){e.run(t,r,function(i){return a(i)},function(i){r.debug?n(i):a(U1(e,i));});}}function U1(e,t){var r=t.errorNode,a=ho(t),n=[{id:"error-occurred",result:void 0,data:a,relatedNodes:[]}],i=r||new sr(m.documentElement);return Object.assign(new ko(e),{error:a,result:je.CANTTELL,nodes:[{any:[],all:[],none:n,node:i}]})}function X1(e,t,r){var a=e.brand,n=e.application,i=e.lang;return je.helpUrlBase+a+"/"+(r||h.version.substring(0,h.version.lastIndexOf(".")))+"/"+t+"?application="+encodeURIComponent(n)+(i&&i!=="en"?"&lang="+encodeURIComponent(i):"")}function Y1(e){var t=p&&"Node"in p&&"NodeList"in p,r=!!m;if(!(t&&r)){if(!e||!e.ownerDocument)throw new Error('Required "window" or "document" globals not defined and cannot be deduced from the context. Either set the globals before running or pass in a valid Element.');r||(Ve.set("globalDocumentSet",true),m=e.ownerDocument),t||(Ve.set("globalWindowSet",true),p=m.defaultView);}}function U3(){Ve.get("globalDocumentSet")&&(Ve.set("globalDocumentSet",false),m=null),Ve.get("globalWindowSet")&&(Ve.set("globalWindowSet",false),p=null);}function X3(){U3(),h._memoizedFns.forEach(function(e){return e.clear()}),Ve.clear(),h._tree=void 0,h._selectorData=void 0,h._selectCache=void 0;}var na=X3;function K1(e,t,r,a){try{e=new co(e),h._tree=e.flatTree,h._selectorData=Ri(e.flatTree);}catch(o){return na(),a(o)}var n=_r(),i=h._audit;t.performanceTimer&&tt.auditStart(),e.frames.length&&t.iframes!==false&&n.defer(function(o,s){lf(e,t,"rules",null,o,s);}),n.defer(function(o,s){i.run(e,t,o,s);}),n.then(function(o){try{t.performanceTimer&&tt.auditEnd();var s=Bi(o.map(function(l){return {results:l}}));e.initiator&&(t.performanceTimer&&tt.mark("auditAfterStart"),s=i.after(s,t),t.performanceTimer&&(tt.mark("auditAfterEnd"),tt.measure("audit.after","auditAfterStart","auditAfterEnd"),tt.logMeasures("audit.after")),s.forEach(mo),s=s.map(rn));try{r(s,na);}catch(l){na(),pa(l);}}catch(l){na(),a(l);}}).catch(function(o){na(),a(o);});}function Y3(e){h._audit=new $1(e);}function K3(e,t,r){var a=r,n=function(l){l instanceof Error||(l=new Error(l)),r(l);},i=e&&e.context||{};i.hasOwnProperty("include")&&!i.include.length&&(i.include=[m]);var o=e&&e.options||{};switch(e.command){case "rules":return K1(i,o,function(s,l){s=lr.mapRawResults(s),a(s),l();},n);case "cleanup-plugin":return Rm(a,n);default:if(h._audit&&h._audit.commands&&h._audit.commands[e.command])return h._audit.commands[e.command](e,r)}}p.top!==p&&(vr.subscribe("axe.start",K3),vr.subscribe("axe.ping",function(e,t,r){r({axe:true});}));function Gn(e){this._run=e.run,this._collect=e.collect,this._registry={},e.commands.forEach(function(t){h._audit.registerCommand(t);});}Gn.prototype.run=function(){return this._run.apply(this,arguments)},Gn.prototype.collect=function(){return this._collect.apply(this,arguments)},Gn.prototype.cleanup=function(t){var r=h.utils.queue(),a=this;Object.keys(this._registry).forEach(function(n){r.defer(function(i){a._registry[n].cleanup(i);});}),r.then(t);},Gn.prototype.add=function(t){this._registry[t.id]=t;};function J3(e){h.plugins[e.id]=new Gn(e);}var Z3=J3;function Q3(){var e=h._audit;if(!e)throw new Error("No audit configured");e.resetRulesAndChecks(),bD();}var eR=Q3;function tR(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};r.reporter=r.reporter||h._audit.reporter||"v1",h._selectorData={},t instanceof Rt||(t=new Fm(t));var a=am(e);if(!a)throw new Error("unknown rule `"+e+"`");a=Object.create(a,{excludeHidden:{value:false}});var n={initiator:true,include:[t],exclude:[],frames:[],page:false,focusable:true,size:{},flatTree:[]},i=a.runSync(n,r);mo(i),rn(i);var o=bc([i]);return o.violations.forEach(function(s){return s.nodes.forEach(function(l){l.failureSummary=Fl(l);})}),Re({},ra(),o,{toolOptions:r})}function J1(e){var t,r,a,n=ge(e,3),i=n[0],o=n[1],s=n[2],l=new TypeError("axe.run arguments are invalid");if(!sm(i)){if(s!==void 0)throw l;s=o,o=i,i=m;}if(ie(o)!=="object"){if(s!==void 0)throw l;s=o,o={};}if(typeof s!="function"&&s!==void 0)throw l;return o=Mr(o),o.reporter=(t=(r=o.reporter)!==null&&r!==void 0?r:(a=h._audit)===null||a===void 0?void 0:a.reporter)!==null&&t!==void 0?t:"v1",{context:i,options:o,callback:s}}var cu=function(){};function rR(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];Y1(t[0]);var a=J1(t),n=a.context,i=a.options,o=a.callback,s=o===void 0?cu:o,l=aR(s),u=l.thenable,c=l.resolve,f=l.reject;try{Qe(h._audit,"No audit configured"),Qe(!h._running,"Axe is already running. Use `await axe.run()` to wait for the previous run to finish before starting a new run.");}catch(k){return iR(k,s)}h._running=true,i.performanceTimer&&tt.start();function b(k,I){var P=function(H){i.performanceTimer&&(tt.mark("reporterEnd"),tt.measure("reporter","reporterStart","reporterEnd"),tt.logMeasures("reporter"),tt.end()),h._running=false,I();try{c(H);}catch(V){h.log(V);}},M=function(H){h._running=false,I();try{f(H);}catch(V){h.log(V);}};try{i.performanceTimer&&tt.mark("reporterStart"),nR(k,i,P,M);}catch(O){M(O);}}function A(k){i.performanceTimer&&tt.end(),h._running=false,s(k),f(k);}return h._runRules(n,i,b,A),u}function aR(e){var t,r,a;return typeof Promise=="function"&&e===cu?t=new Promise(function(n,i){r=i,a=n;}):(a=function(i){return e(null,i)},r=function(i){return e(i)}),{thenable:t,reject:r,resolve:a}}function nR(e,t,r,a){var n=Gl(t.reporter),i=n(e,t,r,a);i!==void 0&&r(i);}function iR(e,t){if(typeof t=="function"&&t!==cu){t(e.message);return}throw e}function oR(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var a=J1(t),n=a.options,i=a.context;Qe(h._audit,"Axe is not configured. Audit is missing."),Qe(!h._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 co(i,h._tree);return h._tree=o.flatTree,h._selectorData=Ri(o.flatTree),h._running=true,n.elementRef=false,new Promise(function(s,l){h._audit.run(o,n,s,l);}).then(function(s){s=lr.mapRawResults(s);var l=o.frames.map(function(c){var f=c.node;return lr.toSpec(f)}),u;return o.initiator&&(u=ra()),h._running=false,na(),{results:s,frames:l,environmentData:u}}).catch(function(s){return h._running=false,na(),Promise.reject(s)})}function sR(e){var t,r,a,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};n=Mr(n);var i=e.find(function(l){return l.environmentData})||{},o=i.environmentData;h._audit.normalizeOptions(n),n.reporter=(t=(r=n.reporter)!==null&&r!==void 0?r:(a=h._audit)===null||a===void 0?void 0:a.reporter)!==null&&t!==void 0?t:"v1",lR(e);var s=Bi(e);return s=h._audit.after(s,n),s.forEach(mo),s=s.map(rn),cR(s,Re({environmentData:o},n))}function lR(e){var t=[],r=Ke(e),a;try{for(r.s();!(a=r.n()).done;){var n=a.value,i=t.shift();if(n){n.frameSpec=i??null;var o=uR(n);t.unshift.apply(t,ke(o));}}}catch(s){r.e(s);}finally{r.f();}}function uR(e){var t=e.frames,r=e.frameSpec;return r?t.map(function(a){return lr.mergeSpecs(a,r)}):t}function cR(e,t){return new Promise(function(r,a){var n=Gl(t.reporter);n(e,t,r,a);})}function dR(e){if(h._tree)throw new Error("Axe is already setup. Call `axe.teardown()` before calling `axe.setup` again.");return e&&ie(e.documentElement)==="object"&&ie(e.defaultView)==="object"&&(e=e.documentElement),Y1(e),h._tree=kl(e),h._selectorData=Ri(h._tree),h._tree[0]}var fR=dR,pR=function(t,r,a){console.warn('"na" reporter will be deprecated in axe v4.0. Use the "v2" reporter instead.'),typeof r=="function"&&(a=r,r={});var n=r,i=n.environmentData,o=he(n,W);a(Re({},ra(i),{toolOptions:o},Nn(t,r)));},mR=pR,hR=function(t,r,a){typeof r=="function"&&(a=r,r={});var n=r,i=n.environmentData,o=he(n,G);r.resultTypes=["violations"];var s=Nn(t,r),l=s.violations;a(Re({},ra(i),{toolOptions:o,violations:l}));},gR=hR,vR=function(t,r,a){if(typeof r=="function"&&(a=r,r={}),!t||!Array.isArray(t))return a(t);var n=t.map(function(i){for(var o=Re({},i),s=["passes","violations","incomplete","inapplicable"],l=0,u=s;l<u.length;l++){var c=u[l];o[c]=lr.mapRawNodeResults(o[c]);}return o});a(n);},Z1=vR,bR=function(t,r,a){typeof r=="function"&&(a=r,r={});var n=r,i=n.environmentData,o=he(n,q);Z1(t,o,function(s){var l=ra(i);a({raw:s,env:l});});},yR=bR,wR=function(t,r,a){typeof r=="function"&&(a=r,r={});var n=r,i=n.environmentData,o=he(n,j),s=Nn(t,r),l=function(c){c.nodes.forEach(function(f){f.failureSummary=Fl(f);});};s.incomplete.forEach(l),s.violations.forEach(l),a(Re({},ra(i),{toolOptions:o},s));},xR=wR,DR=function(t,r,a){typeof r=="function"&&(a=r,r={});var n=r,i=n.environmentData,o=he(n,K),s=Nn(t,r);a(Re({},ra(i),{toolOptions:o},s));},_R=DR,AR={base:{Audit:$1,CheckResult:lu,Check:V1,Context:co,RuleResult:ko,Rule:Xt,metadataFunctionMap:So},public:{reporters:Bn},helpers:{failureSummary:Fl,incompleteFallbackMessage:Rl,processAggregate:Nn},utils:{setDefaultFrameMessenger:tf,cacheNodeSelectors:Yp,getNodesMatchingExpression:Up,convertSelector:Li},commons:{dom:{nativelyHidden:ff,displayHidden:pf,visibilityHidden:mf,contentVisibiltyHidden:hf,ariaHidden:gf,opacityHidden:vf,scrollHidden:bf,overflowHidden:yf,clipHidden:wf,areaHidden:$s,detailsHidden:xf}}},ER=AR;h._thisWillBeDeletedDoNotUse=ER,h.constants=je,h.log=pa,h.AbstractVirtualNode=Rt,h.SerialVirtualNode=Fm,h.VirtualNode=El,h._cache=Ve,h.imports=Dc,h.cleanup=Rm,h.configure=QA,h.frameMessenger=eE,h.getRules=rE,h._load=Y3,h.plugins={},h.registerPlugin=Z3,h.hasReporter=Lm,h.getReporter=Gl,h.addReporter=JA,h.reset=eR,h._runRules=K1,h.runVirtualRule=tR,h.run=rR,h.setup=fR,h.teardown=na,h.runPartial=oR,h.finishRun=sR,h.commons=t1,h.utils=Zo,h.addReporter("na",mR),h.addReporter("no-passes",gR),h.addReporter("rawEnv",yR),h.addReporter("raw",Z1),h.addReporter("v1",xR),h.addReporter("v2",_R,true);}))(),h._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(ee){var ce="Fix any of the following:",De=ee;if(De)for(var it,Dt=-1,Ot=De.length-1;Dt<Ot;)it=De[Dt+=1],ce+=`
371
+ `+it.split(`
372
372
  `).join(`
373
- `);return ce}},none:{failureMessage:function(J){var ce="Fix all of the following:",ye=J;if(ye)for(var ot,wt=-1,Pt=ye.length-1;wt<Pt;)ot=ye[wt+=1],ce+=`
374
- `+ot.split(`
373
+ `);return ce}},none:{failureMessage:function(ee){var ce="Fix all of the following:",De=ee;if(De)for(var it,Dt=-1,Ot=De.length-1;Dt<Ot;)it=De[Dt+=1],ce+=`
374
+ `+it.split(`
375
375
  `).join(`
376
- `);return ce}}},incompleteFallbackMessage:"axe couldn't tell the reason. Time to break out the element inspector!"},rules:[{id:"accesskeys",impact:"serious",selector:"[accesskey]",excludeHidden:false,tags:["cat.keyboard","best-practice"],all:[],any:[],none:["accesskeys"]},{id:"area-alt",impact:"critical",selector:"map area[href]",excludeHidden:false,tags:["cat.text-alternatives","wcag2a","wcag244","wcag412","section508","section508.22.a","TTv5","TT6.a","EN-301-549","EN-9.2.4.4","EN-9.4.1.2","ACT","RGAAv4","RGAA-1.1.2"],actIds:["c487ae"],all:[],any:[{options:{attribute:"alt"},id:"non-empty-alt"},"aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-allowed-attr",impact:"critical",matches:"aria-allowed-attr-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["5c01ea"],all:[{options:{validTreeRowAttrs:["aria-posinset","aria-setsize","aria-expanded","aria-level"]},id:"aria-allowed-attr"},"aria-allowed-attr-elm"],any:[],none:["aria-unsupported-attr"]},{id:"aria-allowed-role",impact:"minor",excludeHidden:false,selector:"[role]",matches:"aria-allowed-role-matches",tags:["cat.aria","best-practice"],all:[],any:[{options:{allowImplicit:true,ignoredTags:[]},id:"aria-allowed-role"}],none:[]},{id:"aria-braille-equivalent",reviewOnFail:true,impact:"serious",selector:"[aria-brailleroledescription], [aria-braillelabel]",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2"],all:["braille-roledescription-equivalent","braille-label-equivalent"],any:[],none:[]},{id:"aria-command-name",impact:"serious",selector:'[role="link"], [role="button"], [role="menuitem"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag412","TTv5","TT6.a","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-11.9.1"],actIds:["97a4e1"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-conditional-attr",impact:"serious",matches:"aria-allowed-attr-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["5c01ea"],all:[{options:{invalidTableRowAttrs:["aria-posinset","aria-setsize","aria-expanded","aria-level"]},id:"aria-conditional-attr"}],any:[],none:[]},{id:"aria-deprecated-role",impact:"minor",selector:"[role]",matches:"no-empty-role-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["674b10"],all:[],any:[],none:["deprecatedrole"]},{id:"aria-dialog-name",impact:"serious",selector:'[role="dialog"], [role="alertdialog"]',matches:"no-naming-method-matches",tags:["cat.aria","best-practice"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-hidden-body",impact:"critical",selector:"body",excludeHidden:false,matches:"is-initiator-matches",tags:["cat.aria","wcag2a","wcag131","wcag412","EN-301-549","EN-9.1.3.1","EN-9.4.1.2","RGAAv4","RGAA-10.8.1"],all:[],any:["aria-hidden-body"],none:[]},{id:"aria-hidden-focus",impact:"serious",selector:'[aria-hidden="true"]',matches:"aria-hidden-focus-matches",excludeHidden:false,tags:["cat.name-role-value","wcag2a","wcag412","TTv5","TT6.a","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-10.8.1"],actIds:["6cfa84"],all:["focusable-modal-open","focusable-disabled","focusable-not-tabbable"],any:[],none:[]},{id:"aria-input-field-name",impact:"serious",selector:'[role="combobox"], [role="listbox"], [role="searchbox"], [role="slider"], [role="spinbutton"], [role="textbox"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag412","TTv5","TT5.c","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-11.1.1"],actIds:["e086e5"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:["no-implicit-explicit-label"]},{id:"aria-meter-name",impact:"serious",selector:'[role="meter"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag111","EN-301-549","EN-9.1.1.1","RGAAv4","RGAA-11.1.1"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-progressbar-name",impact:"serious",selector:'[role="progressbar"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag111","EN-301-549","EN-9.1.1.1","RGAAv4","RGAA-11.1.1"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-prohibited-attr",impact:"serious",matches:"aria-allowed-attr-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["5c01ea"],all:[],any:[],none:[{options:{elementsAllowedAriaLabel:["applet","input"]},id:"aria-prohibited-attr"}]},{id:"aria-required-attr",impact:"critical",selector:"[role]",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["4e8ab6"],all:[],any:["aria-required-attr"],none:[]},{id:"aria-required-children",impact:"critical",selector:"[role]",matches:"aria-required-children-matches",tags:["cat.aria","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.3.1"],actIds:["bc4a75","ff89c9"],all:[],any:[{options:{reviewEmpty:["doc-bibliography","doc-endnotes","grid","list","listbox","menu","menubar","table","tablist","tree","treegrid","rowgroup"]},id:"aria-required-children"}],none:[]},{id:"aria-required-parent",impact:"critical",selector:"[role]",matches:"aria-required-parent-matches",tags:["cat.aria","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.3.1"],actIds:["ff89c9"],all:[],any:[{options:{ownGroupRoles:["listitem","treeitem"]},id:"aria-required-parent"}],none:[]},{id:"aria-roledescription",impact:"serious",selector:"[aria-roledescription]",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","deprecated"],enabled:false,all:[],any:[{options:{supportedRoles:["button","img","checkbox","radio","combobox","menuitemcheckbox","menuitemradio"]},id:"aria-roledescription"}],none:[]},{id:"aria-roles",impact:"critical",selector:"[role]",matches:"no-empty-role-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["674b10"],all:[],any:[],none:["invalidrole","abstractrole","unsupportedrole"]},{id:"aria-text",impact:"serious",selector:"[role=text]",tags:["cat.aria","best-practice"],all:[],any:["no-focusable-content"],none:[]},{id:"aria-toggle-field-name",impact:"serious",selector:'[role="checkbox"], [role="menuitemcheckbox"], [role="menuitemradio"], [role="radio"], [role="switch"], [role="option"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag412","TTv5","TT5.c","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-7.1.1"],actIds:["e086e5"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:["no-implicit-explicit-label"]},{id:"aria-tooltip-name",impact:"serious",selector:'[role="tooltip"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-treeitem-name",impact:"serious",selector:'[role="treeitem"]',matches:"no-naming-method-matches",tags:["cat.aria","best-practice"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-valid-attr-value",impact:"critical",matches:"aria-has-attr-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["6a7281"],all:[{options:[],id:"aria-valid-attr-value"},"aria-errormessage","aria-level"],any:[],none:[]},{id:"aria-valid-attr",impact:"critical",matches:"aria-has-attr-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["5f99a7"],all:[],any:[{options:[],id:"aria-valid-attr"}],none:[]},{id:"audio-caption",impact:"critical",selector:"audio",enabled:false,excludeHidden:false,tags:["cat.time-and-media","wcag2a","wcag121","EN-301-549","EN-9.1.2.1","section508","section508.22.a","deprecated"],actIds:["2eb176","afb423"],all:[],any:[],none:["caption"]},{id:"autocomplete-valid",impact:"serious",matches:"autocomplete-matches",tags:["cat.forms","wcag21aa","wcag135","EN-301-549","EN-9.1.3.5","ACT","RGAAv4","RGAA-11.13.1"],actIds:["73f2c2"],all:[{options:{stateTerms:["none","false","true","disabled","enabled","undefined","null","xoff","xon"],ignoredValues:["text","pronouns","gender","message","content"]},id:"autocomplete-valid"}],any:[],none:[]},{id:"avoid-inline-spacing",impact:"serious",selector:"[style]",matches:"is-visible-on-screen-matches",tags:["cat.structure","wcag21aa","wcag1412","EN-301-549","EN-9.1.4.12","ACT"],actIds:["24afc2","9e45ec","78fd32"],all:[{options:{cssProperty:"letter-spacing",minValue:.12},id:"important-letter-spacing"},{options:{cssProperty:"word-spacing",minValue:.16},id:"important-word-spacing"},{options:{multiLineOnly:true,cssProperty:"line-height",minValue:1.5,normalValue:1},id:"important-line-height"}],any:[],none:[]},{id:"blink",impact:"serious",selector:"blink",excludeHidden:false,tags:["cat.time-and-media","wcag2a","wcag222","section508","section508.22.j","TTv5","TT2.b","EN-301-549","EN-9.2.2.2","RGAAv4","RGAA-13.8.1"],all:[],any:[],none:["is-on-screen"]},{id:"button-name",impact:"critical",selector:"button",matches:"no-explicit-name-required-matches",tags:["cat.name-role-value","wcag2a","wcag412","section508","section508.22.a","TTv5","TT6.a","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-11.9.1"],actIds:["97a4e1","m6b1q3"],all:[],any:["button-has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"implicit-label","explicit-label","presentational-role"],none:[]},{id:"bypass",impact:"serious",selector:"html:not(html *)",pageLevel:true,matches:"bypass-matches",reviewOnFail:true,tags:["cat.keyboard","wcag2a","wcag241","section508","section508.22.o","TTv5","TT9.a","EN-301-549","EN-9.2.4.1","RGAAv4","RGAA-12.7.1"],actIds:["cf77f2","047fe0","b40fd1","3e12e1","ye5d6e"],all:[],any:["internal-link-present",{options:{selector:":is(h1, h2, h3, h4, h5, h6):not([role]), [role=heading]"},id:"header-present"},{options:{selector:"main, [role=main]"},id:"landmark"}],none:[]},{id:"color-contrast-enhanced",impact:"serious",matches:"color-contrast-matches",excludeHidden:false,enabled:false,tags:["cat.color","wcag2aaa","wcag146","ACT"],actIds:["09o5cg"],all:[],any:[{options:{ignoreUnicode:true,ignoreLength:false,ignorePseudo:false,boldValue:700,boldTextPt:14,largeTextPt:18,contrastRatio:{normal:{expected:7,minThreshold:4.5},large:{expected:4.5,minThreshold:3}},pseudoSizeThreshold:.25,shadowOutlineEmMax:.1,textStrokeEmMin:.03},id:"color-contrast-enhanced"}],none:[]},{id:"color-contrast",impact:"serious",matches:"color-contrast-matches",excludeHidden:false,tags:["cat.color","wcag2aa","wcag143","TTv5","TT13.c","EN-301-549","EN-9.1.4.3","ACT","RGAAv4","RGAA-3.2.1"],actIds:["afw4f7","09o5cg"],all:[],any:[{options:{ignoreUnicode:true,ignoreLength:false,ignorePseudo:false,boldValue:700,boldTextPt:14,largeTextPt:18,contrastRatio:{normal:{expected:4.5},large:{expected:3}},pseudoSizeThreshold:.25,shadowOutlineEmMax:.2,textStrokeEmMin:.03},id:"color-contrast"}],none:[]},{id:"css-orientation-lock",impact:"serious",selector:"html:not(html *)",tags:["cat.structure","wcag134","wcag21aa","EN-301-549","EN-9.1.3.4","RGAAv4","RGAA-13.9.1","experimental"],actIds:["b33eff"],all:[{options:{degreeThreshold:2},id:"css-orientation-lock"}],any:[],none:[],preload:true},{id:"definition-list",impact:"serious",selector:"dl",matches:"no-role-matches",tags:["cat.structure","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.3.3"],all:[],any:[],none:["structured-dlitems",{options:{validRoles:["definition","term","listitem"],validNodeNames:["dt","dd"],divGroups:true},id:"only-dlitems"}]},{id:"dlitem",impact:"serious",selector:"dd, dt",matches:"no-role-matches",tags:["cat.structure","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.3.3"],all:[],any:["dlitem"],none:[]},{id:"document-title",impact:"serious",selector:"html:not(html *)",matches:"is-initiator-matches",tags:["cat.text-alternatives","wcag2a","wcag242","TTv5","TT12.a","EN-301-549","EN-9.2.4.2","ACT","RGAAv4","RGAA-8.5.1"],actIds:["2779a5"],all:[],any:["doc-has-title"],none:[]},{id:"duplicate-id-active",impact:"serious",selector:"[id]",matches:"duplicate-id-active-matches",excludeHidden:false,tags:["cat.parsing","wcag2a-obsolete","wcag411","deprecated"],enabled:false,actIds:["3ea0c8"],all:[],any:["duplicate-id-active"],none:[]},{id:"duplicate-id-aria",impact:"critical",selector:"[id]",matches:"duplicate-id-aria-matches",excludeHidden:false,tags:["cat.parsing","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-8.2.1"],reviewOnFail:true,actIds:["3ea0c8"],all:[],any:["duplicate-id-aria"],none:[]},{id:"duplicate-id",impact:"minor",selector:"[id]",matches:"duplicate-id-misc-matches",excludeHidden:false,tags:["cat.parsing","wcag2a-obsolete","wcag411","deprecated"],enabled:false,actIds:["3ea0c8"],all:[],any:["duplicate-id"],none:[]},{id:"empty-heading",impact:"minor",selector:'h1, h2, h3, h4, h5, h6, [role="heading"]',matches:"heading-matches",tags:["cat.name-role-value","best-practice"],actIds:["ffd0e9"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"empty-table-header",impact:"minor",selector:'th:not([role]), [role="rowheader"], [role="columnheader"]',tags:["cat.name-role-value","best-practice"],all:[],any:["has-visible-text"],none:[]},{id:"focus-order-semantics",impact:"minor",selector:"div, h1, h2, h3, h4, h5, h6, [role=heading], p, span",matches:"inserted-into-focus-order-matches",tags:["cat.keyboard","best-practice","RGAAv4","RGAA-12.8.1","experimental"],all:[],any:[{options:[],id:"has-widget-role"},{options:{roles:["tooltip"]},id:"valid-scrollable-semantics"}],none:[]},{id:"form-field-multiple-labels",impact:"moderate",selector:"input, select, textarea",matches:"label-matches",tags:["cat.forms","wcag2a","wcag332","TTv5","TT5.c","EN-301-549","EN-9.3.3.2","RGAAv4","RGAA-11.2.1"],all:[],any:[],none:["multiple-label"]},{id:"frame-focusable-content",impact:"serious",selector:"html:not(html *)",matches:"frame-focusable-content-matches",tags:["cat.keyboard","wcag2a","wcag211","TTv5","TT4.a","EN-301-549","EN-9.2.1.1","RGAAv4","RGAA-7.3.2"],actIds:["akn7bn"],all:[],any:["frame-focusable-content"],none:[]},{id:"frame-tested",impact:"critical",selector:"html:not(html *), frame, iframe",tags:["cat.structure","best-practice","review-item"],all:[{options:{isViolation:false},id:"frame-tested"}],any:[],none:[]},{id:"frame-title-unique",impact:"serious",selector:"frame[title], iframe[title]",matches:"frame-title-has-text-matches",tags:["cat.text-alternatives","wcag2a","wcag412","TTv5","TT12.d","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-2.2.1"],actIds:["4b1c6c"],all:[],any:[],none:["unique-frame-title"],reviewOnFail:true},{id:"frame-title",impact:"serious",selector:"frame, iframe",matches:"no-negative-tabindex-matches",tags:["cat.text-alternatives","wcag2a","wcag412","section508","section508.22.i","TTv5","TT12.d","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-2.1.1"],actIds:["cae760"],all:[],any:[{options:{attribute:"title"},id:"non-empty-title"},"aria-label","aria-labelledby","presentational-role"],none:[]},{id:"heading-order",impact:"moderate",selector:"h1, h2, h3, h4, h5, h6, [role=heading]",matches:"heading-matches",tags:["cat.semantics","best-practice"],all:[],any:["heading-order"],none:[]},{id:"hidden-content",impact:"minor",selector:"*",excludeHidden:false,tags:["cat.structure","best-practice","experimental","review-item"],all:[],any:["hidden-content"],none:[]},{id:"html-has-lang",impact:"serious",selector:"html:not(html *)",matches:"is-initiator-matches",tags:["cat.language","wcag2a","wcag311","TTv5","TT11.a","EN-301-549","EN-9.3.1.1","ACT","RGAAv4","RGAA-8.3.1"],actIds:["b5c3f8"],all:[],any:[{options:{attributes:["lang","xml:lang"]},id:"has-lang"}],none:[]},{id:"html-lang-valid",impact:"serious",selector:'html[lang]:not([lang=""]):not(html *), html[xml\\:lang]:not([xml\\:lang=""]):not(html *)',tags:["cat.language","wcag2a","wcag311","TTv5","TT11.a","EN-301-549","EN-9.3.1.1","ACT","RGAAv4","RGAA-8.4.1"],actIds:["bf051a"],all:[],any:[],none:[{options:{attributes:["lang","xml:lang"]},id:"valid-lang"}]},{id:"html-xml-lang-mismatch",impact:"moderate",selector:"html[lang][xml\\:lang]:not(html *)",matches:"xml-lang-mismatch-matches",tags:["cat.language","wcag2a","wcag311","EN-301-549","EN-9.3.1.1","ACT","RGAAv4","RGAA-8.3.1"],actIds:["5b7ae0"],all:["xml-lang-mismatch"],any:[],none:[]},{id:"identical-links-same-purpose",impact:"minor",selector:'a[href], area[href], [role="link"]',excludeHidden:false,enabled:false,matches:"identical-links-same-purpose-matches",tags:["cat.semantics","wcag2aaa","wcag249"],actIds:["b20e66"],all:["identical-links-same-purpose"],any:[],none:[]},{id:"image-alt",impact:"critical",selector:"img",matches:"no-explicit-name-required-matches",tags:["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a","TTv5","TT7.a","TT7.b","EN-301-549","EN-9.1.1.1","ACT","RGAAv4","RGAA-1.1.1"],actIds:["23a2a8"],all:[],any:["has-alt","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"presentational-role"],none:["alt-space-value"]},{id:"image-redundant-alt",impact:"minor",selector:"img",tags:["cat.text-alternatives","best-practice"],all:[],any:[],none:[{options:{parentSelector:"button, [role=button], a[href], p, li, td, th"},id:"duplicate-img-label"}]},{id:"input-button-name",impact:"critical",selector:'input[type="button"], input[type="submit"], input[type="reset"]',matches:"no-explicit-name-required-matches",tags:["cat.name-role-value","wcag2a","wcag412","section508","section508.22.a","TTv5","TT5.c","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-11.9.1"],actIds:["97a4e1"],all:[],any:["non-empty-if-present",{options:{attribute:"value"},id:"non-empty-value"},"aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"implicit-label","explicit-label","presentational-role"],none:[]},{id:"input-image-alt",impact:"critical",selector:'input[type="image"]',matches:"no-explicit-name-required-matches",tags:["cat.text-alternatives","wcag2a","wcag111","wcag412","section508","section508.22.a","TTv5","TT7.a","EN-301-549","EN-9.1.1.1","EN-9.4.1.2","ACT","RGAAv4","RGAA-1.1.3"],actIds:["59796f"],all:[],any:[{options:{attribute:"alt"},id:"non-empty-alt"},"aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"implicit-label","explicit-label"],none:[]},{id:"label-content-name-mismatch",impact:"serious",matches:"label-content-name-mismatch-matches",tags:["cat.semantics","wcag21a","wcag253","EN-301-549","EN-9.2.5.3","RGAAv4","RGAA-6.1.5","experimental"],actIds:["2ee8b8"],all:[],any:[{options:{pixelThreshold:.1,occurrenceThreshold:3},id:"label-content-name-mismatch"}],none:[]},{id:"label-title-only",impact:"serious",selector:"input, select, textarea",matches:"label-matches",tags:["cat.forms","best-practice"],all:[],any:[],none:["title-only"]},{id:"label",impact:"critical",selector:"input, textarea",matches:"label-matches",tags:["cat.forms","wcag2a","wcag412","section508","section508.22.n","TTv5","TT5.c","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-11.1.1"],actIds:["e086e5"],all:[],any:["implicit-label","explicit-label","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},{options:{attribute:"placeholder"},id:"non-empty-placeholder"},"presentational-role"],none:["hidden-explicit-label"]},{id:"landmark-banner-is-top-level",impact:"moderate",selector:"header:not([role]), [role=banner]",matches:"landmark-has-body-context-matches",tags:["cat.semantics","best-practice"],all:[],any:["landmark-is-top-level"],none:[]},{id:"landmark-complementary-is-top-level",impact:"moderate",selector:"aside:not([role]), [role=complementary]",tags:["cat.semantics","best-practice"],all:[],any:["landmark-is-top-level"],none:[]},{id:"landmark-contentinfo-is-top-level",impact:"moderate",selector:"footer:not([role]), [role=contentinfo]",matches:"landmark-has-body-context-matches",tags:["cat.semantics","best-practice"],all:[],any:["landmark-is-top-level"],none:[]},{id:"landmark-main-is-top-level",impact:"moderate",selector:"main:not([role]), [role=main]",tags:["cat.semantics","best-practice"],all:[],any:["landmark-is-top-level"],none:[]},{id:"landmark-no-duplicate-banner",impact:"moderate",selector:"header:not([role]), [role=banner]",tags:["cat.semantics","best-practice"],all:[],any:[{options:{selector:"header:not([role]), [role=banner]",role:"banner"},id:"page-no-duplicate-banner"}],none:[]},{id:"landmark-no-duplicate-contentinfo",impact:"moderate",selector:"footer:not([role]), [role=contentinfo]",tags:["cat.semantics","best-practice"],all:[],any:[{options:{selector:"footer:not([role]), [role=contentinfo]",role:"contentinfo"},id:"page-no-duplicate-contentinfo"}],none:[]},{id:"landmark-no-duplicate-main",impact:"moderate",selector:"main:not([role]), [role=main]",tags:["cat.semantics","best-practice"],all:[],any:[{options:{selector:"main:not([role]), [role='main']"},id:"page-no-duplicate-main"}],none:[]},{id:"landmark-one-main",impact:"moderate",selector:"html:not(html *)",tags:["cat.semantics","best-practice"],all:[{options:{selector:"main:not([role]), [role='main']",passForModal:true},id:"page-has-main"}],any:[],none:[]},{id:"landmark-unique",impact:"moderate",selector:"[role=banner], [role=complementary], [role=contentinfo], [role=main], [role=navigation], [role=region], [role=search], [role=form], form, footer, header, aside, main, nav, section",tags:["cat.semantics","best-practice"],matches:"landmark-unique-matches",all:[],any:["landmark-is-unique"],none:[]},{id:"link-in-text-block",impact:"serious",selector:"a[href], [role=link]",matches:"link-in-text-block-matches",excludeHidden:false,tags:["cat.color","wcag2a","wcag141","TTv5","TT13.a","EN-301-549","EN-9.1.4.1","RGAAv4","RGAA-10.6.1"],all:[],any:[{options:{requiredContrastRatio:3,allowSameColor:true},id:"link-in-text-block"},"link-in-text-block-style"],none:[]},{id:"link-name",impact:"serious",selector:"a[href]",tags:["cat.name-role-value","wcag2a","wcag244","wcag412","section508","section508.22.a","TTv5","TT6.a","EN-301-549","EN-9.2.4.4","EN-9.4.1.2","ACT","RGAAv4","RGAA-6.2.1"],actIds:["c487ae"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:["focusable-no-name"]},{id:"list",impact:"serious",selector:"ul, ol",matches:"no-role-matches",tags:["cat.structure","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.3.1"],all:[],any:[],none:[{options:{validRoles:["listitem"],validNodeNames:["li"]},id:"only-listitems"}]},{id:"listitem",impact:"serious",selector:"li",matches:"no-role-matches",tags:["cat.structure","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.3.1"],all:[],any:["listitem"],none:[]},{id:"marquee",impact:"serious",selector:"marquee",excludeHidden:false,tags:["cat.parsing","wcag2a","wcag222","TTv5","TT2.b","EN-301-549","EN-9.2.2.2","RGAAv4","RGAA-13.8.1"],all:[],any:[],none:["is-on-screen"]},{id:"meta-refresh-no-exceptions",impact:"minor",selector:'meta[http-equiv="refresh"][content]',excludeHidden:false,enabled:false,tags:["cat.time-and-media","wcag2aaa","wcag224","wcag325"],actIds:["bisz58"],all:[],any:[{options:{minDelay:72e3,maxDelay:false},id:"meta-refresh-no-exceptions"}],none:[]},{id:"meta-refresh",impact:"critical",selector:'meta[http-equiv="refresh"][content]',excludeHidden:false,tags:["cat.time-and-media","wcag2a","wcag221","TTv5","TT8.a","EN-301-549","EN-9.2.2.1","RGAAv4","RGAA-13.1.2"],actIds:["bc659a","bisz58"],all:[],any:[{options:{minDelay:0,maxDelay:72e3},id:"meta-refresh"}],none:[]},{id:"meta-viewport-large",impact:"minor",selector:'meta[name="viewport"]',matches:"is-initiator-matches",excludeHidden:false,tags:["cat.sensory-and-visual-cues","best-practice"],all:[],any:[{options:{scaleMinimum:5,lowerBound:2},id:"meta-viewport-large"}],none:[]},{id:"meta-viewport",impact:"moderate",selector:'meta[name="viewport"]',matches:"is-initiator-matches",excludeHidden:false,tags:["cat.sensory-and-visual-cues","wcag2aa","wcag144","EN-301-549","EN-9.1.4.4","ACT","RGAAv4","RGAA-10.4.2"],actIds:["b4f0c3"],all:[],any:[{options:{scaleMinimum:2},id:"meta-viewport"}],none:[]},{id:"nested-interactive",impact:"serious",matches:"nested-interactive-matches",tags:["cat.keyboard","wcag2a","wcag412","TTv5","TT6.a","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["307n5z"],all:[],any:["no-focusable-content"],none:[]},{id:"no-autoplay-audio",impact:"moderate",excludeHidden:false,selector:"audio[autoplay], video[autoplay]",matches:"no-autoplay-audio-matches",reviewOnFail:true,tags:["cat.time-and-media","wcag2a","wcag142","TTv5","TT2.a","EN-301-549","EN-9.1.4.2","ACT","RGAAv4","RGAA-4.10.1"],actIds:["80f0bf"],preload:true,all:[{options:{allowedDuration:3},id:"no-autoplay-audio"}],any:[],none:[]},{id:"object-alt",impact:"serious",selector:"object[data]",matches:"object-is-loaded-matches",tags:["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a","EN-301-549","EN-9.1.1.1","RGAAv4","RGAA-1.1.6"],actIds:["8fc3b6"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"presentational-role"],none:[]},{id:"p-as-heading",impact:"serious",selector:"p",matches:"p-as-heading-matches",tags:["cat.semantics","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.1.3","experimental"],all:[{options:{margins:[{weight:150,italic:true},{weight:150,size:1.15},{italic:true,size:1.15},{size:1.4}],passLength:1,failLength:.5},id:"p-as-heading"}],any:[],none:[]},{id:"page-has-heading-one",impact:"moderate",selector:"html:not(html *)",tags:["cat.semantics","best-practice"],all:[{options:{selector:"h1:not([role], [aria-level]), :is(h1, h2, h3, h4, h5, h6):not([role])[aria-level=1], [role=heading][aria-level=1]",passForModal:true},id:"page-has-heading-one"}],any:[],none:[]},{id:"presentation-role-conflict",impact:"minor",selector:`img[alt=''], [role="none"], [role="presentation"]`,matches:"has-implicit-chromium-role-matches",tags:["cat.aria","best-practice","ACT"],actIds:["46ca7f"],all:[],any:[],none:["is-element-focusable","has-global-aria-attribute"]},{id:"region",impact:"moderate",selector:"body *",tags:["cat.keyboard","best-practice","RGAAv4","RGAA-9.2.1"],all:[],any:[{options:{regionMatcher:"dialog, [role=dialog], [role=alertdialog], svg"},id:"region"}],none:[]},{id:"role-img-alt",impact:"serious",selector:"[role='img']:not(img, area, input, object)",matches:"html-namespace-matches",tags:["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a","TTv5","TT7.a","EN-301-549","EN-9.1.1.1","ACT","RGAAv4","RGAA-1.1.1"],actIds:["23a2a8"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"scope-attr-valid",impact:"moderate",selector:"td[scope], th[scope]",tags:["cat.tables","best-practice"],all:["html5-scope",{options:{values:["row","col","rowgroup","colgroup"]},id:"scope-value"}],any:[],none:[]},{id:"scrollable-region-focusable",impact:"serious",selector:"*:not(select,textarea)",matches:"scrollable-region-focusable-matches",tags:["cat.keyboard","wcag2a","wcag211","wcag213","TTv5","TT4.a","EN-301-549","EN-9.2.1.1","EN-9.2.1.3","RGAAv4","RGAA-7.3.2"],actIds:["0ssw9k"],all:[],any:["focusable-content","focusable-element"],none:[]},{id:"select-name",impact:"critical",selector:"select",tags:["cat.forms","wcag2a","wcag412","section508","section508.22.n","TTv5","TT5.c","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-11.1.1"],actIds:["e086e5"],all:[],any:["implicit-label","explicit-label","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"presentational-role"],none:["hidden-explicit-label"]},{id:"server-side-image-map",impact:"minor",selector:"img[ismap]",tags:["cat.text-alternatives","wcag2a","wcag211","section508","section508.22.f","TTv5","TT4.a","EN-301-549","EN-9.2.1.1","RGAAv4","RGAA-1.1.4"],all:[],any:[],none:["exists"]},{id:"skip-link",impact:"moderate",selector:'a[href^="#"], a[href^="/#"]',matches:"skip-link-matches",tags:["cat.keyboard","best-practice","RGAAv4","RGAA-12.7.1"],all:[],any:["skip-link"],none:[]},{id:"summary-name",impact:"serious",selector:"summary",matches:"summary-interactive-matches",tags:["cat.name-role-value","wcag2a","wcag412","section508","section508.22.a","TTv5","TT6.a","EN-301-549","EN-9.4.1.2"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"svg-img-alt",impact:"serious",selector:'[role="img"], [role="graphics-symbol"], svg[role="graphics-document"]',matches:"svg-namespace-matches",tags:["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a","TTv5","TT7.a","EN-301-549","EN-9.1.1.1","ACT","RGAAv4","RGAA-1.1.5"],actIds:["7d6734"],all:[],any:["svg-non-empty-title","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"tabindex",impact:"serious",selector:"[tabindex]",tags:["cat.keyboard","best-practice"],all:[],any:["tabindex"],none:[]},{id:"table-duplicate-name",impact:"minor",selector:"table",tags:["cat.tables","best-practice","RGAAv4","RGAA-5.2.1"],all:[],any:[],none:["same-caption-summary"]},{id:"table-fake-caption",impact:"serious",selector:"table",matches:"data-table-matches",tags:["cat.tables","experimental","wcag2a","wcag131","section508","section508.22.g","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-5.4.1"],all:["caption-faked"],any:[],none:[]},{id:"target-size",impact:"serious",selector:"*",enabled:false,matches:"widget-not-inline-matches",tags:["cat.sensory-and-visual-cues","wcag22aa","wcag258"],all:[],any:[{options:{minSize:24},id:"target-size"},{options:{minOffset:24},id:"target-offset"}],none:[]},{id:"td-has-header",impact:"critical",selector:"table",matches:"data-table-large-matches",tags:["cat.tables","experimental","wcag2a","wcag131","section508","section508.22.g","TTv5","TT14.b","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-5.7.4"],all:["td-has-header"],any:[],none:[]},{id:"td-headers-attr",impact:"serious",selector:"table",matches:"table-or-grid-role-matches",tags:["cat.tables","wcag2a","wcag131","section508","section508.22.g","TTv5","TT14.b","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-5.7.4"],actIds:["a25f45"],all:["td-headers-attr"],any:[],none:[]},{id:"th-has-data-cells",impact:"serious",selector:"table",matches:"data-table-matches",tags:["cat.tables","wcag2a","wcag131","section508","section508.22.g","TTv5","TT14.b","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-5.7.1"],actIds:["d0f69e"],all:["th-has-data-cells"],any:[],none:[]},{id:"valid-lang",impact:"serious",selector:"[lang]:not(html), [xml\\:lang]:not(html)",tags:["cat.language","wcag2aa","wcag312","TTv5","TT11.b","EN-301-549","EN-9.3.1.2","ACT","RGAAv4","RGAA-8.8.1"],actIds:["de46e4"],all:[],any:[],none:[{options:{attributes:["lang","xml:lang"]},id:"valid-lang"}]},{id:"video-caption",impact:"critical",selector:"video",tags:["cat.text-alternatives","wcag2a","wcag122","section508","section508.22.a","TTv5","TT17.a","EN-301-549","EN-9.1.2.2","RGAAv4","RGAA-4.3.1"],actIds:["eac66b"],all:[],any:[],none:["caption"]}],checks:[{id:"abstractrole",evaluate:"abstractrole-evaluate"},{id:"aria-allowed-attr-elm",evaluate:"aria-allowed-attr-elm-evaluate"},{id:"aria-allowed-attr",evaluate:"aria-allowed-attr-evaluate",options:{validTreeRowAttrs:["aria-posinset","aria-setsize","aria-expanded","aria-level"]}},{id:"aria-allowed-role",evaluate:"aria-allowed-role-evaluate",options:{allowImplicit:true,ignoredTags:[]}},{id:"aria-busy",evaluate:"aria-busy-evaluate",deprecated:true},{id:"aria-conditional-attr",evaluate:"aria-conditional-attr-evaluate",options:{invalidTableRowAttrs:["aria-posinset","aria-setsize","aria-expanded","aria-level"]}},{id:"aria-errormessage",evaluate:"aria-errormessage-evaluate"},{id:"aria-hidden-body",evaluate:"aria-hidden-body-evaluate"},{id:"aria-level",evaluate:"aria-level-evaluate"},{id:"aria-prohibited-attr",evaluate:"aria-prohibited-attr-evaluate",options:{elementsAllowedAriaLabel:["applet","input"]}},{id:"aria-required-attr",evaluate:"aria-required-attr-evaluate"},{id:"aria-required-children",evaluate:"aria-required-children-evaluate",options:{reviewEmpty:["doc-bibliography","doc-endnotes","grid","list","listbox","menu","menubar","table","tablist","tree","treegrid","rowgroup"]}},{id:"aria-required-parent",evaluate:"aria-required-parent-evaluate",options:{ownGroupRoles:["listitem","treeitem"]}},{id:"aria-roledescription",evaluate:"aria-roledescription-evaluate",options:{supportedRoles:["button","img","checkbox","radio","combobox","menuitemcheckbox","menuitemradio"]}},{id:"aria-unsupported-attr",evaluate:"aria-unsupported-attr-evaluate"},{id:"aria-valid-attr-value",evaluate:"aria-valid-attr-value-evaluate",options:[]},{id:"aria-valid-attr",evaluate:"aria-valid-attr-evaluate",options:[]},{id:"braille-label-equivalent",evaluate:"braille-label-equivalent-evaluate"},{id:"braille-roledescription-equivalent",evaluate:"braille-roledescription-equivalent-evaluate"},{id:"deprecatedrole",evaluate:"deprecatedrole-evaluate"},{id:"fallbackrole",evaluate:"fallbackrole-evaluate"},{id:"has-global-aria-attribute",evaluate:"has-global-aria-attribute-evaluate"},{id:"has-widget-role",evaluate:"has-widget-role-evaluate",options:[]},{id:"invalidrole",evaluate:"invalidrole-evaluate"},{id:"is-element-focusable",evaluate:"is-element-focusable-evaluate"},{id:"no-implicit-explicit-label",evaluate:"no-implicit-explicit-label-evaluate"},{id:"unsupportedrole",evaluate:"unsupportedrole-evaluate"},{id:"valid-scrollable-semantics",evaluate:"valid-scrollable-semantics-evaluate",options:{roles:["tooltip"]}},{id:"color-contrast-enhanced",evaluate:"color-contrast-evaluate",options:{ignoreUnicode:true,ignoreLength:false,ignorePseudo:false,boldValue:700,boldTextPt:14,largeTextPt:18,contrastRatio:{normal:{expected:7,minThreshold:4.5},large:{expected:4.5,minThreshold:3}},pseudoSizeThreshold:.25,shadowOutlineEmMax:.1,textStrokeEmMin:.03}},{id:"color-contrast",evaluate:"color-contrast-evaluate",options:{ignoreUnicode:true,ignoreLength:false,ignorePseudo:false,boldValue:700,boldTextPt:14,largeTextPt:18,contrastRatio:{normal:{expected:4.5},large:{expected:3}},pseudoSizeThreshold:.25,shadowOutlineEmMax:.2,textStrokeEmMin:.03}},{id:"link-in-text-block-style",evaluate:"link-in-text-block-style-evaluate"},{id:"link-in-text-block",evaluate:"link-in-text-block-evaluate",options:{requiredContrastRatio:3,allowSameColor:true}},{id:"autocomplete-appropriate",evaluate:"autocomplete-appropriate-evaluate",deprecated:true},{id:"autocomplete-valid",evaluate:"autocomplete-valid-evaluate",options:{stateTerms:["none","false","true","disabled","enabled","undefined","null","xoff","xon"],ignoredValues:["text","pronouns","gender","message","content"]}},{id:"accesskeys",evaluate:"accesskeys-evaluate",after:"accesskeys-after"},{id:"focusable-content",evaluate:"focusable-content-evaluate"},{id:"focusable-disabled",evaluate:"focusable-disabled-evaluate"},{id:"focusable-element",evaluate:"focusable-element-evaluate"},{id:"focusable-modal-open",evaluate:"focusable-modal-open-evaluate"},{id:"focusable-no-name",evaluate:"focusable-no-name-evaluate"},{id:"focusable-not-tabbable",evaluate:"focusable-not-tabbable-evaluate"},{id:"frame-focusable-content",evaluate:"frame-focusable-content-evaluate"},{id:"landmark-is-top-level",evaluate:"landmark-is-top-level-evaluate"},{id:"no-focusable-content",evaluate:"no-focusable-content-evaluate"},{id:"page-has-heading-one",evaluate:"has-descendant-evaluate",after:"has-descendant-after",options:{selector:"h1:not([role], [aria-level]), :is(h1, h2, h3, h4, h5, h6):not([role])[aria-level=1], [role=heading][aria-level=1]",passForModal:true}},{id:"page-has-main",evaluate:"has-descendant-evaluate",after:"has-descendant-after",options:{selector:"main:not([role]), [role='main']",passForModal:true}},{id:"page-no-duplicate-banner",evaluate:"page-no-duplicate-evaluate",after:"page-no-duplicate-after",options:{selector:"header:not([role]), [role=banner]",role:"banner"}},{id:"page-no-duplicate-contentinfo",evaluate:"page-no-duplicate-evaluate",after:"page-no-duplicate-after",options:{selector:"footer:not([role]), [role=contentinfo]",role:"contentinfo"}},{id:"page-no-duplicate-main",evaluate:"page-no-duplicate-evaluate",after:"page-no-duplicate-after",options:{selector:"main:not([role]), [role='main']"}},{id:"tabindex",evaluate:"tabindex-evaluate"},{id:"alt-space-value",evaluate:"alt-space-value-evaluate"},{id:"duplicate-img-label",evaluate:"duplicate-img-label-evaluate",options:{parentSelector:"button, [role=button], a[href], p, li, td, th"}},{id:"explicit-label",evaluate:"explicit-evaluate"},{id:"help-same-as-label",evaluate:"help-same-as-label-evaluate"},{id:"hidden-explicit-label",evaluate:"hidden-explicit-label-evaluate"},{id:"implicit-label",evaluate:"implicit-evaluate"},{id:"label-content-name-mismatch",evaluate:"label-content-name-mismatch-evaluate",options:{pixelThreshold:.1,occurrenceThreshold:3}},{id:"multiple-label",evaluate:"multiple-label-evaluate"},{id:"title-only",evaluate:"title-only-evaluate"},{id:"landmark-is-unique",evaluate:"landmark-is-unique-evaluate",after:"landmark-is-unique-after"},{id:"has-lang",evaluate:"has-lang-evaluate",options:{attributes:["lang","xml:lang"]}},{id:"valid-lang",evaluate:"valid-lang-evaluate",options:{attributes:["lang","xml:lang"]}},{id:"xml-lang-mismatch",evaluate:"xml-lang-mismatch-evaluate"},{id:"dlitem",evaluate:"dlitem-evaluate"},{id:"listitem",evaluate:"listitem-evaluate"},{id:"only-dlitems",evaluate:"invalid-children-evaluate",options:{validRoles:["definition","term","listitem"],validNodeNames:["dt","dd"],divGroups:true}},{id:"only-listitems",evaluate:"invalid-children-evaluate",options:{validRoles:["listitem"],validNodeNames:["li"]}},{id:"structured-dlitems",evaluate:"structured-dlitems-evaluate"},{id:"caption",evaluate:"caption-evaluate"},{id:"frame-tested",evaluate:"frame-tested-evaluate",after:"frame-tested-after",options:{isViolation:false}},{id:"no-autoplay-audio",evaluate:"no-autoplay-audio-evaluate",options:{allowedDuration:3}},{id:"css-orientation-lock",evaluate:"css-orientation-lock-evaluate",options:{degreeThreshold:2}},{id:"meta-viewport-large",evaluate:"meta-viewport-scale-evaluate",options:{scaleMinimum:5,lowerBound:2}},{id:"meta-viewport",evaluate:"meta-viewport-scale-evaluate",options:{scaleMinimum:2}},{id:"target-offset",evaluate:"target-offset-evaluate",options:{minOffset:24}},{id:"target-size",evaluate:"target-size-evaluate",options:{minSize:24}},{id:"header-present",evaluate:"has-descendant-evaluate",after:"has-descendant-after",options:{selector:":is(h1, h2, h3, h4, h5, h6):not([role]), [role=heading]"}},{id:"heading-order",evaluate:"heading-order-evaluate",after:"heading-order-after"},{id:"identical-links-same-purpose",evaluate:"identical-links-same-purpose-evaluate",after:"identical-links-same-purpose-after"},{id:"internal-link-present",evaluate:"internal-link-present-evaluate"},{id:"landmark",evaluate:"has-descendant-evaluate",options:{selector:"main, [role=main]"}},{id:"meta-refresh-no-exceptions",evaluate:"meta-refresh-evaluate",options:{minDelay:72e3,maxDelay:false}},{id:"meta-refresh",evaluate:"meta-refresh-evaluate",options:{minDelay:0,maxDelay:72e3}},{id:"p-as-heading",evaluate:"p-as-heading-evaluate",options:{margins:[{weight:150,italic:true},{weight:150,size:1.15},{italic:true,size:1.15},{size:1.4}],passLength:1,failLength:.5}},{id:"region",evaluate:"region-evaluate",after:"region-after",options:{regionMatcher:"dialog, [role=dialog], [role=alertdialog], svg"}},{id:"skip-link",evaluate:"skip-link-evaluate"},{id:"unique-frame-title",evaluate:"unique-frame-title-evaluate",after:"unique-frame-title-after"},{id:"duplicate-id-active",evaluate:"duplicate-id-evaluate",after:"duplicate-id-after"},{id:"duplicate-id-aria",evaluate:"duplicate-id-evaluate",after:"duplicate-id-after"},{id:"duplicate-id",evaluate:"duplicate-id-evaluate",after:"duplicate-id-after"},{id:"aria-label",evaluate:"aria-label-evaluate"},{id:"aria-labelledby",evaluate:"aria-labelledby-evaluate"},{id:"avoid-inline-spacing",evaluate:"avoid-inline-spacing-evaluate",options:{cssProperties:["line-height","letter-spacing","word-spacing"]}},{id:"button-has-visible-text",evaluate:"has-text-content-evaluate"},{id:"doc-has-title",evaluate:"doc-has-title-evaluate"},{id:"error-occurred",evaluate:"exists-evaluate"},{id:"exists",evaluate:"exists-evaluate"},{id:"has-alt",evaluate:"has-alt-evaluate"},{id:"has-visible-text",evaluate:"has-text-content-evaluate"},{id:"important-letter-spacing",evaluate:"inline-style-property-evaluate",options:{cssProperty:"letter-spacing",minValue:.12}},{id:"important-line-height",evaluate:"inline-style-property-evaluate",options:{multiLineOnly:true,cssProperty:"line-height",minValue:1.5,normalValue:1}},{id:"important-word-spacing",evaluate:"inline-style-property-evaluate",options:{cssProperty:"word-spacing",minValue:.16}},{id:"is-on-screen",evaluate:"is-on-screen-evaluate"},{id:"non-empty-alt",evaluate:"attr-non-space-content-evaluate",options:{attribute:"alt"}},{id:"non-empty-if-present",evaluate:"non-empty-if-present-evaluate"},{id:"non-empty-placeholder",evaluate:"attr-non-space-content-evaluate",options:{attribute:"placeholder"}},{id:"non-empty-title",evaluate:"attr-non-space-content-evaluate",options:{attribute:"title"}},{id:"non-empty-value",evaluate:"attr-non-space-content-evaluate",options:{attribute:"value"}},{id:"presentational-role",evaluate:"presentational-role-evaluate"},{id:"role-none",evaluate:"matches-definition-evaluate",deprecated:true,options:{matcher:{attributes:{role:"none"}}}},{id:"role-presentation",evaluate:"matches-definition-evaluate",deprecated:true,options:{matcher:{attributes:{role:"presentation"}}}},{id:"svg-non-empty-title",evaluate:"svg-non-empty-title-evaluate"},{id:"caption-faked",evaluate:"caption-faked-evaluate"},{id:"html5-scope",evaluate:"html5-scope-evaluate"},{id:"same-caption-summary",evaluate:"same-caption-summary-evaluate"},{id:"scope-value",evaluate:"scope-value-evaluate",options:{values:["row","col","rowgroup","colgroup"]}},{id:"td-has-header",evaluate:"td-has-header-evaluate"},{id:"td-headers-attr",evaluate:"td-headers-attr-evaluate"},{id:"th-has-data-cells",evaluate:"th-has-data-cells-evaluate"},{id:"hidden-content",evaluate:"hidden-content-evaluate"}]});})(typeof window=="object"?window:ig);});var hg={};Br(hg,{dismissModals:()=>mg});async function mg(f){await f.evaluate(p=>{for(let y of p){let h=document.querySelectorAll(y);for(let m of h)if(m.offsetParent!==null){m.click();return}}},aL),await new Promise(p=>setTimeout(p,500));}var aL,vu=qr(()=>{aL=['[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 ko={};Br(ko,{pruneHiddenIframeIssues:()=>sL,pruneInvisibleContrast:()=>oL,waitForRenderSettle:()=>nL});async function nL(f,p=4e3){let y=Date.now()+p;try{await f.waitForLoadState?.("load",{timeout:Math.min(p/2,2e3)});}catch{}let h="";for(;Date.now()<y;){let m;try{m=await f.evaluate(()=>{let w=typeof document.getAnimations=="function"?document.getAnimations():[],v=0;for(let x of w){if(x.playState!=="running")continue;let _;try{_=x.effect?.getComputedTiming?.().iterations;}catch{_=void 0;}_!==1/0&&v++;}let b="",A=document.body?document.body.querySelectorAll('[style*="opacity"]'):[],k=Math.min(A.length,50);for(let x=0;x<k;x++)b+=getComputedStyle(A[x]).opacity+",";return v+"|"+b});}catch{return}if(m.indexOf("0|")===0&&m===h)return;h=m,await new Promise(w=>setTimeout(w,150));}}function gg(f){return iL.has(f.wcag)||/contrast/i.test(f.type||"")}async function oL(f,p){let y=Array.from(new Set(p.filter(w=>gg(w)&&w.selector).map(w=>w.selector))).slice(0,100);if(y.length===0)return p;let h;try{h=await f.evaluate(w=>{let v=[];for(let b of w){let A=null;try{A=document.querySelector(b);}catch{continue}if(!A)continue;let k=getComputedStyle(A),x=A.getBoundingClientRect(),_=k.clipPath&&k.clipPath!=="none"&&/inset\(\s*(?:50|100)%/.test(k.clipPath)||/rect\(\s*0(?:px)?\s*,?\s*0(?:px)?\s*,?\s*0(?:px)?\s*,?\s*0(?:px)?\s*\)/.test(k.clip||""),T=x.width<=1||x.height<=1;(_||T)&&v.push(b);}return v},y);}catch{return p}if(h.length===0)return p;let m=new Set(h);return p.filter(w=>!(gg(w)&&m.has(w.selector)))}async function sL(f,p){let y=Array.from(new Set(p.filter(w=>w.selector).map(w=>w.selector))).slice(0,200);if(y.length===0)return p;let h;try{h=await f.evaluate(w=>{let v=[];for(let b of w){let A=null;try{A=document.querySelector(b);}catch{continue}if(!A||A.tagName!=="IFRAME")continue;let k=getComputedStyle(A),x=A.getClientRects().length===0||k.visibility==="hidden"||k.visibility==="collapse",_=(A.getAttribute("src")||"").trim().toLowerCase().indexOf("javascript:")===0;(x||_)&&v.push(b);}return v},y);}catch{return p}if(h.length===0)return p;let m=new Set(h);return p.filter(w=>!m.has(w.selector))}var iL,To=qr(()=>{iL=new Set(["1.4.3","1.4.6","1.4.11"]);});var wg={};Br(wg,{htmlcsTypeFromCode:()=>bg,runHtmlcs:()=>uL});async function uL(f,p="WCAG2AA"){try{await f.addScriptTag({content:`
376
+ `);return ce}}},incompleteFallbackMessage:"axe couldn't tell the reason. Time to break out the element inspector!"},rules:[{id:"accesskeys",impact:"serious",selector:"[accesskey]",excludeHidden:false,tags:["cat.keyboard","best-practice"],all:[],any:[],none:["accesskeys"]},{id:"area-alt",impact:"critical",selector:"map area[href]",excludeHidden:false,tags:["cat.text-alternatives","wcag2a","wcag244","wcag412","section508","section508.22.a","TTv5","TT6.a","EN-301-549","EN-9.2.4.4","EN-9.4.1.2","ACT","RGAAv4","RGAA-1.1.2"],actIds:["c487ae"],all:[],any:[{options:{attribute:"alt"},id:"non-empty-alt"},"aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-allowed-attr",impact:"critical",matches:"aria-allowed-attr-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["5c01ea"],all:[{options:{validTreeRowAttrs:["aria-posinset","aria-setsize","aria-expanded","aria-level"]},id:"aria-allowed-attr"},"aria-allowed-attr-elm"],any:[],none:["aria-unsupported-attr"]},{id:"aria-allowed-role",impact:"minor",excludeHidden:false,selector:"[role]",matches:"aria-allowed-role-matches",tags:["cat.aria","best-practice"],all:[],any:[{options:{allowImplicit:true,ignoredTags:[]},id:"aria-allowed-role"}],none:[]},{id:"aria-braille-equivalent",reviewOnFail:true,impact:"serious",selector:"[aria-brailleroledescription], [aria-braillelabel]",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2"],all:["braille-roledescription-equivalent","braille-label-equivalent"],any:[],none:[]},{id:"aria-command-name",impact:"serious",selector:'[role="link"], [role="button"], [role="menuitem"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag412","TTv5","TT6.a","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-11.9.1"],actIds:["97a4e1"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-conditional-attr",impact:"serious",matches:"aria-allowed-attr-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["5c01ea"],all:[{options:{invalidTableRowAttrs:["aria-posinset","aria-setsize","aria-expanded","aria-level"]},id:"aria-conditional-attr"}],any:[],none:[]},{id:"aria-deprecated-role",impact:"minor",selector:"[role]",matches:"no-empty-role-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["674b10"],all:[],any:[],none:["deprecatedrole"]},{id:"aria-dialog-name",impact:"serious",selector:'[role="dialog"], [role="alertdialog"]',matches:"no-naming-method-matches",tags:["cat.aria","best-practice"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-hidden-body",impact:"critical",selector:"body",excludeHidden:false,matches:"is-initiator-matches",tags:["cat.aria","wcag2a","wcag131","wcag412","EN-301-549","EN-9.1.3.1","EN-9.4.1.2","RGAAv4","RGAA-10.8.1"],all:[],any:["aria-hidden-body"],none:[]},{id:"aria-hidden-focus",impact:"serious",selector:'[aria-hidden="true"]',matches:"aria-hidden-focus-matches",excludeHidden:false,tags:["cat.name-role-value","wcag2a","wcag412","TTv5","TT6.a","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-10.8.1"],actIds:["6cfa84"],all:["focusable-modal-open","focusable-disabled","focusable-not-tabbable"],any:[],none:[]},{id:"aria-input-field-name",impact:"serious",selector:'[role="combobox"], [role="listbox"], [role="searchbox"], [role="slider"], [role="spinbutton"], [role="textbox"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag412","TTv5","TT5.c","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-11.1.1"],actIds:["e086e5"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:["no-implicit-explicit-label"]},{id:"aria-meter-name",impact:"serious",selector:'[role="meter"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag111","EN-301-549","EN-9.1.1.1","RGAAv4","RGAA-11.1.1"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-progressbar-name",impact:"serious",selector:'[role="progressbar"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag111","EN-301-549","EN-9.1.1.1","RGAAv4","RGAA-11.1.1"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-prohibited-attr",impact:"serious",matches:"aria-allowed-attr-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["5c01ea"],all:[],any:[],none:[{options:{elementsAllowedAriaLabel:["applet","input"]},id:"aria-prohibited-attr"}]},{id:"aria-required-attr",impact:"critical",selector:"[role]",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["4e8ab6"],all:[],any:["aria-required-attr"],none:[]},{id:"aria-required-children",impact:"critical",selector:"[role]",matches:"aria-required-children-matches",tags:["cat.aria","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.3.1"],actIds:["bc4a75","ff89c9"],all:[],any:[{options:{reviewEmpty:["doc-bibliography","doc-endnotes","grid","list","listbox","menu","menubar","table","tablist","tree","treegrid","rowgroup"]},id:"aria-required-children"}],none:[]},{id:"aria-required-parent",impact:"critical",selector:"[role]",matches:"aria-required-parent-matches",tags:["cat.aria","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.3.1"],actIds:["ff89c9"],all:[],any:[{options:{ownGroupRoles:["listitem","treeitem"]},id:"aria-required-parent"}],none:[]},{id:"aria-roledescription",impact:"serious",selector:"[aria-roledescription]",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","deprecated"],enabled:false,all:[],any:[{options:{supportedRoles:["button","img","checkbox","radio","combobox","menuitemcheckbox","menuitemradio"]},id:"aria-roledescription"}],none:[]},{id:"aria-roles",impact:"critical",selector:"[role]",matches:"no-empty-role-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["674b10"],all:[],any:[],none:["invalidrole","abstractrole","unsupportedrole"]},{id:"aria-text",impact:"serious",selector:"[role=text]",tags:["cat.aria","best-practice"],all:[],any:["no-focusable-content"],none:[]},{id:"aria-toggle-field-name",impact:"serious",selector:'[role="checkbox"], [role="menuitemcheckbox"], [role="menuitemradio"], [role="radio"], [role="switch"], [role="option"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag412","TTv5","TT5.c","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-7.1.1"],actIds:["e086e5"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:["no-implicit-explicit-label"]},{id:"aria-tooltip-name",impact:"serious",selector:'[role="tooltip"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-treeitem-name",impact:"serious",selector:'[role="treeitem"]',matches:"no-naming-method-matches",tags:["cat.aria","best-practice"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-valid-attr-value",impact:"critical",matches:"aria-has-attr-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["6a7281"],all:[{options:[],id:"aria-valid-attr-value"},"aria-errormessage","aria-level"],any:[],none:[]},{id:"aria-valid-attr",impact:"critical",matches:"aria-has-attr-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["5f99a7"],all:[],any:[{options:[],id:"aria-valid-attr"}],none:[]},{id:"audio-caption",impact:"critical",selector:"audio",enabled:false,excludeHidden:false,tags:["cat.time-and-media","wcag2a","wcag121","EN-301-549","EN-9.1.2.1","section508","section508.22.a","deprecated"],actIds:["2eb176","afb423"],all:[],any:[],none:["caption"]},{id:"autocomplete-valid",impact:"serious",matches:"autocomplete-matches",tags:["cat.forms","wcag21aa","wcag135","EN-301-549","EN-9.1.3.5","ACT","RGAAv4","RGAA-11.13.1"],actIds:["73f2c2"],all:[{options:{stateTerms:["none","false","true","disabled","enabled","undefined","null","xoff","xon"],ignoredValues:["text","pronouns","gender","message","content"]},id:"autocomplete-valid"}],any:[],none:[]},{id:"avoid-inline-spacing",impact:"serious",selector:"[style]",matches:"is-visible-on-screen-matches",tags:["cat.structure","wcag21aa","wcag1412","EN-301-549","EN-9.1.4.12","ACT"],actIds:["24afc2","9e45ec","78fd32"],all:[{options:{cssProperty:"letter-spacing",minValue:.12},id:"important-letter-spacing"},{options:{cssProperty:"word-spacing",minValue:.16},id:"important-word-spacing"},{options:{multiLineOnly:true,cssProperty:"line-height",minValue:1.5,normalValue:1},id:"important-line-height"}],any:[],none:[]},{id:"blink",impact:"serious",selector:"blink",excludeHidden:false,tags:["cat.time-and-media","wcag2a","wcag222","section508","section508.22.j","TTv5","TT2.b","EN-301-549","EN-9.2.2.2","RGAAv4","RGAA-13.8.1"],all:[],any:[],none:["is-on-screen"]},{id:"button-name",impact:"critical",selector:"button",matches:"no-explicit-name-required-matches",tags:["cat.name-role-value","wcag2a","wcag412","section508","section508.22.a","TTv5","TT6.a","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-11.9.1"],actIds:["97a4e1","m6b1q3"],all:[],any:["button-has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"implicit-label","explicit-label","presentational-role"],none:[]},{id:"bypass",impact:"serious",selector:"html:not(html *)",pageLevel:true,matches:"bypass-matches",reviewOnFail:true,tags:["cat.keyboard","wcag2a","wcag241","section508","section508.22.o","TTv5","TT9.a","EN-301-549","EN-9.2.4.1","RGAAv4","RGAA-12.7.1"],actIds:["cf77f2","047fe0","b40fd1","3e12e1","ye5d6e"],all:[],any:["internal-link-present",{options:{selector:":is(h1, h2, h3, h4, h5, h6):not([role]), [role=heading]"},id:"header-present"},{options:{selector:"main, [role=main]"},id:"landmark"}],none:[]},{id:"color-contrast-enhanced",impact:"serious",matches:"color-contrast-matches",excludeHidden:false,enabled:false,tags:["cat.color","wcag2aaa","wcag146","ACT"],actIds:["09o5cg"],all:[],any:[{options:{ignoreUnicode:true,ignoreLength:false,ignorePseudo:false,boldValue:700,boldTextPt:14,largeTextPt:18,contrastRatio:{normal:{expected:7,minThreshold:4.5},large:{expected:4.5,minThreshold:3}},pseudoSizeThreshold:.25,shadowOutlineEmMax:.1,textStrokeEmMin:.03},id:"color-contrast-enhanced"}],none:[]},{id:"color-contrast",impact:"serious",matches:"color-contrast-matches",excludeHidden:false,tags:["cat.color","wcag2aa","wcag143","TTv5","TT13.c","EN-301-549","EN-9.1.4.3","ACT","RGAAv4","RGAA-3.2.1"],actIds:["afw4f7","09o5cg"],all:[],any:[{options:{ignoreUnicode:true,ignoreLength:false,ignorePseudo:false,boldValue:700,boldTextPt:14,largeTextPt:18,contrastRatio:{normal:{expected:4.5},large:{expected:3}},pseudoSizeThreshold:.25,shadowOutlineEmMax:.2,textStrokeEmMin:.03},id:"color-contrast"}],none:[]},{id:"css-orientation-lock",impact:"serious",selector:"html:not(html *)",tags:["cat.structure","wcag134","wcag21aa","EN-301-549","EN-9.1.3.4","RGAAv4","RGAA-13.9.1","experimental"],actIds:["b33eff"],all:[{options:{degreeThreshold:2},id:"css-orientation-lock"}],any:[],none:[],preload:true},{id:"definition-list",impact:"serious",selector:"dl",matches:"no-role-matches",tags:["cat.structure","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.3.3"],all:[],any:[],none:["structured-dlitems",{options:{validRoles:["definition","term","listitem"],validNodeNames:["dt","dd"],divGroups:true},id:"only-dlitems"}]},{id:"dlitem",impact:"serious",selector:"dd, dt",matches:"no-role-matches",tags:["cat.structure","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.3.3"],all:[],any:["dlitem"],none:[]},{id:"document-title",impact:"serious",selector:"html:not(html *)",matches:"is-initiator-matches",tags:["cat.text-alternatives","wcag2a","wcag242","TTv5","TT12.a","EN-301-549","EN-9.2.4.2","ACT","RGAAv4","RGAA-8.5.1"],actIds:["2779a5"],all:[],any:["doc-has-title"],none:[]},{id:"duplicate-id-active",impact:"serious",selector:"[id]",matches:"duplicate-id-active-matches",excludeHidden:false,tags:["cat.parsing","wcag2a-obsolete","wcag411","deprecated"],enabled:false,actIds:["3ea0c8"],all:[],any:["duplicate-id-active"],none:[]},{id:"duplicate-id-aria",impact:"critical",selector:"[id]",matches:"duplicate-id-aria-matches",excludeHidden:false,tags:["cat.parsing","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-8.2.1"],reviewOnFail:true,actIds:["3ea0c8"],all:[],any:["duplicate-id-aria"],none:[]},{id:"duplicate-id",impact:"minor",selector:"[id]",matches:"duplicate-id-misc-matches",excludeHidden:false,tags:["cat.parsing","wcag2a-obsolete","wcag411","deprecated"],enabled:false,actIds:["3ea0c8"],all:[],any:["duplicate-id"],none:[]},{id:"empty-heading",impact:"minor",selector:'h1, h2, h3, h4, h5, h6, [role="heading"]',matches:"heading-matches",tags:["cat.name-role-value","best-practice"],actIds:["ffd0e9"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"empty-table-header",impact:"minor",selector:'th:not([role]), [role="rowheader"], [role="columnheader"]',tags:["cat.name-role-value","best-practice"],all:[],any:["has-visible-text"],none:[]},{id:"focus-order-semantics",impact:"minor",selector:"div, h1, h2, h3, h4, h5, h6, [role=heading], p, span",matches:"inserted-into-focus-order-matches",tags:["cat.keyboard","best-practice","RGAAv4","RGAA-12.8.1","experimental"],all:[],any:[{options:[],id:"has-widget-role"},{options:{roles:["tooltip"]},id:"valid-scrollable-semantics"}],none:[]},{id:"form-field-multiple-labels",impact:"moderate",selector:"input, select, textarea",matches:"label-matches",tags:["cat.forms","wcag2a","wcag332","TTv5","TT5.c","EN-301-549","EN-9.3.3.2","RGAAv4","RGAA-11.2.1"],all:[],any:[],none:["multiple-label"]},{id:"frame-focusable-content",impact:"serious",selector:"html:not(html *)",matches:"frame-focusable-content-matches",tags:["cat.keyboard","wcag2a","wcag211","TTv5","TT4.a","EN-301-549","EN-9.2.1.1","RGAAv4","RGAA-7.3.2"],actIds:["akn7bn"],all:[],any:["frame-focusable-content"],none:[]},{id:"frame-tested",impact:"critical",selector:"html:not(html *), frame, iframe",tags:["cat.structure","best-practice","review-item"],all:[{options:{isViolation:false},id:"frame-tested"}],any:[],none:[]},{id:"frame-title-unique",impact:"serious",selector:"frame[title], iframe[title]",matches:"frame-title-has-text-matches",tags:["cat.text-alternatives","wcag2a","wcag412","TTv5","TT12.d","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-2.2.1"],actIds:["4b1c6c"],all:[],any:[],none:["unique-frame-title"],reviewOnFail:true},{id:"frame-title",impact:"serious",selector:"frame, iframe",matches:"no-negative-tabindex-matches",tags:["cat.text-alternatives","wcag2a","wcag412","section508","section508.22.i","TTv5","TT12.d","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-2.1.1"],actIds:["cae760"],all:[],any:[{options:{attribute:"title"},id:"non-empty-title"},"aria-label","aria-labelledby","presentational-role"],none:[]},{id:"heading-order",impact:"moderate",selector:"h1, h2, h3, h4, h5, h6, [role=heading]",matches:"heading-matches",tags:["cat.semantics","best-practice"],all:[],any:["heading-order"],none:[]},{id:"hidden-content",impact:"minor",selector:"*",excludeHidden:false,tags:["cat.structure","best-practice","experimental","review-item"],all:[],any:["hidden-content"],none:[]},{id:"html-has-lang",impact:"serious",selector:"html:not(html *)",matches:"is-initiator-matches",tags:["cat.language","wcag2a","wcag311","TTv5","TT11.a","EN-301-549","EN-9.3.1.1","ACT","RGAAv4","RGAA-8.3.1"],actIds:["b5c3f8"],all:[],any:[{options:{attributes:["lang","xml:lang"]},id:"has-lang"}],none:[]},{id:"html-lang-valid",impact:"serious",selector:'html[lang]:not([lang=""]):not(html *), html[xml\\:lang]:not([xml\\:lang=""]):not(html *)',tags:["cat.language","wcag2a","wcag311","TTv5","TT11.a","EN-301-549","EN-9.3.1.1","ACT","RGAAv4","RGAA-8.4.1"],actIds:["bf051a"],all:[],any:[],none:[{options:{attributes:["lang","xml:lang"]},id:"valid-lang"}]},{id:"html-xml-lang-mismatch",impact:"moderate",selector:"html[lang][xml\\:lang]:not(html *)",matches:"xml-lang-mismatch-matches",tags:["cat.language","wcag2a","wcag311","EN-301-549","EN-9.3.1.1","ACT","RGAAv4","RGAA-8.3.1"],actIds:["5b7ae0"],all:["xml-lang-mismatch"],any:[],none:[]},{id:"identical-links-same-purpose",impact:"minor",selector:'a[href], area[href], [role="link"]',excludeHidden:false,enabled:false,matches:"identical-links-same-purpose-matches",tags:["cat.semantics","wcag2aaa","wcag249"],actIds:["b20e66"],all:["identical-links-same-purpose"],any:[],none:[]},{id:"image-alt",impact:"critical",selector:"img",matches:"no-explicit-name-required-matches",tags:["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a","TTv5","TT7.a","TT7.b","EN-301-549","EN-9.1.1.1","ACT","RGAAv4","RGAA-1.1.1"],actIds:["23a2a8"],all:[],any:["has-alt","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"presentational-role"],none:["alt-space-value"]},{id:"image-redundant-alt",impact:"minor",selector:"img",tags:["cat.text-alternatives","best-practice"],all:[],any:[],none:[{options:{parentSelector:"button, [role=button], a[href], p, li, td, th"},id:"duplicate-img-label"}]},{id:"input-button-name",impact:"critical",selector:'input[type="button"], input[type="submit"], input[type="reset"]',matches:"no-explicit-name-required-matches",tags:["cat.name-role-value","wcag2a","wcag412","section508","section508.22.a","TTv5","TT5.c","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-11.9.1"],actIds:["97a4e1"],all:[],any:["non-empty-if-present",{options:{attribute:"value"},id:"non-empty-value"},"aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"implicit-label","explicit-label","presentational-role"],none:[]},{id:"input-image-alt",impact:"critical",selector:'input[type="image"]',matches:"no-explicit-name-required-matches",tags:["cat.text-alternatives","wcag2a","wcag111","wcag412","section508","section508.22.a","TTv5","TT7.a","EN-301-549","EN-9.1.1.1","EN-9.4.1.2","ACT","RGAAv4","RGAA-1.1.3"],actIds:["59796f"],all:[],any:[{options:{attribute:"alt"},id:"non-empty-alt"},"aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"implicit-label","explicit-label"],none:[]},{id:"label-content-name-mismatch",impact:"serious",matches:"label-content-name-mismatch-matches",tags:["cat.semantics","wcag21a","wcag253","EN-301-549","EN-9.2.5.3","RGAAv4","RGAA-6.1.5","experimental"],actIds:["2ee8b8"],all:[],any:[{options:{pixelThreshold:.1,occurrenceThreshold:3},id:"label-content-name-mismatch"}],none:[]},{id:"label-title-only",impact:"serious",selector:"input, select, textarea",matches:"label-matches",tags:["cat.forms","best-practice"],all:[],any:[],none:["title-only"]},{id:"label",impact:"critical",selector:"input, textarea",matches:"label-matches",tags:["cat.forms","wcag2a","wcag412","section508","section508.22.n","TTv5","TT5.c","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-11.1.1"],actIds:["e086e5"],all:[],any:["implicit-label","explicit-label","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},{options:{attribute:"placeholder"},id:"non-empty-placeholder"},"presentational-role"],none:["hidden-explicit-label"]},{id:"landmark-banner-is-top-level",impact:"moderate",selector:"header:not([role]), [role=banner]",matches:"landmark-has-body-context-matches",tags:["cat.semantics","best-practice"],all:[],any:["landmark-is-top-level"],none:[]},{id:"landmark-complementary-is-top-level",impact:"moderate",selector:"aside:not([role]), [role=complementary]",tags:["cat.semantics","best-practice"],all:[],any:["landmark-is-top-level"],none:[]},{id:"landmark-contentinfo-is-top-level",impact:"moderate",selector:"footer:not([role]), [role=contentinfo]",matches:"landmark-has-body-context-matches",tags:["cat.semantics","best-practice"],all:[],any:["landmark-is-top-level"],none:[]},{id:"landmark-main-is-top-level",impact:"moderate",selector:"main:not([role]), [role=main]",tags:["cat.semantics","best-practice"],all:[],any:["landmark-is-top-level"],none:[]},{id:"landmark-no-duplicate-banner",impact:"moderate",selector:"header:not([role]), [role=banner]",tags:["cat.semantics","best-practice"],all:[],any:[{options:{selector:"header:not([role]), [role=banner]",role:"banner"},id:"page-no-duplicate-banner"}],none:[]},{id:"landmark-no-duplicate-contentinfo",impact:"moderate",selector:"footer:not([role]), [role=contentinfo]",tags:["cat.semantics","best-practice"],all:[],any:[{options:{selector:"footer:not([role]), [role=contentinfo]",role:"contentinfo"},id:"page-no-duplicate-contentinfo"}],none:[]},{id:"landmark-no-duplicate-main",impact:"moderate",selector:"main:not([role]), [role=main]",tags:["cat.semantics","best-practice"],all:[],any:[{options:{selector:"main:not([role]), [role='main']"},id:"page-no-duplicate-main"}],none:[]},{id:"landmark-one-main",impact:"moderate",selector:"html:not(html *)",tags:["cat.semantics","best-practice"],all:[{options:{selector:"main:not([role]), [role='main']",passForModal:true},id:"page-has-main"}],any:[],none:[]},{id:"landmark-unique",impact:"moderate",selector:"[role=banner], [role=complementary], [role=contentinfo], [role=main], [role=navigation], [role=region], [role=search], [role=form], form, footer, header, aside, main, nav, section",tags:["cat.semantics","best-practice"],matches:"landmark-unique-matches",all:[],any:["landmark-is-unique"],none:[]},{id:"link-in-text-block",impact:"serious",selector:"a[href], [role=link]",matches:"link-in-text-block-matches",excludeHidden:false,tags:["cat.color","wcag2a","wcag141","TTv5","TT13.a","EN-301-549","EN-9.1.4.1","RGAAv4","RGAA-10.6.1"],all:[],any:[{options:{requiredContrastRatio:3,allowSameColor:true},id:"link-in-text-block"},"link-in-text-block-style"],none:[]},{id:"link-name",impact:"serious",selector:"a[href]",tags:["cat.name-role-value","wcag2a","wcag244","wcag412","section508","section508.22.a","TTv5","TT6.a","EN-301-549","EN-9.2.4.4","EN-9.4.1.2","ACT","RGAAv4","RGAA-6.2.1"],actIds:["c487ae"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:["focusable-no-name"]},{id:"list",impact:"serious",selector:"ul, ol",matches:"no-role-matches",tags:["cat.structure","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.3.1"],all:[],any:[],none:[{options:{validRoles:["listitem"],validNodeNames:["li"]},id:"only-listitems"}]},{id:"listitem",impact:"serious",selector:"li",matches:"no-role-matches",tags:["cat.structure","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.3.1"],all:[],any:["listitem"],none:[]},{id:"marquee",impact:"serious",selector:"marquee",excludeHidden:false,tags:["cat.parsing","wcag2a","wcag222","TTv5","TT2.b","EN-301-549","EN-9.2.2.2","RGAAv4","RGAA-13.8.1"],all:[],any:[],none:["is-on-screen"]},{id:"meta-refresh-no-exceptions",impact:"minor",selector:'meta[http-equiv="refresh"][content]',excludeHidden:false,enabled:false,tags:["cat.time-and-media","wcag2aaa","wcag224","wcag325"],actIds:["bisz58"],all:[],any:[{options:{minDelay:72e3,maxDelay:false},id:"meta-refresh-no-exceptions"}],none:[]},{id:"meta-refresh",impact:"critical",selector:'meta[http-equiv="refresh"][content]',excludeHidden:false,tags:["cat.time-and-media","wcag2a","wcag221","TTv5","TT8.a","EN-301-549","EN-9.2.2.1","RGAAv4","RGAA-13.1.2"],actIds:["bc659a","bisz58"],all:[],any:[{options:{minDelay:0,maxDelay:72e3},id:"meta-refresh"}],none:[]},{id:"meta-viewport-large",impact:"minor",selector:'meta[name="viewport"]',matches:"is-initiator-matches",excludeHidden:false,tags:["cat.sensory-and-visual-cues","best-practice"],all:[],any:[{options:{scaleMinimum:5,lowerBound:2},id:"meta-viewport-large"}],none:[]},{id:"meta-viewport",impact:"moderate",selector:'meta[name="viewport"]',matches:"is-initiator-matches",excludeHidden:false,tags:["cat.sensory-and-visual-cues","wcag2aa","wcag144","EN-301-549","EN-9.1.4.4","ACT","RGAAv4","RGAA-10.4.2"],actIds:["b4f0c3"],all:[],any:[{options:{scaleMinimum:2},id:"meta-viewport"}],none:[]},{id:"nested-interactive",impact:"serious",matches:"nested-interactive-matches",tags:["cat.keyboard","wcag2a","wcag412","TTv5","TT6.a","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["307n5z"],all:[],any:["no-focusable-content"],none:[]},{id:"no-autoplay-audio",impact:"moderate",excludeHidden:false,selector:"audio[autoplay], video[autoplay]",matches:"no-autoplay-audio-matches",reviewOnFail:true,tags:["cat.time-and-media","wcag2a","wcag142","TTv5","TT2.a","EN-301-549","EN-9.1.4.2","ACT","RGAAv4","RGAA-4.10.1"],actIds:["80f0bf"],preload:true,all:[{options:{allowedDuration:3},id:"no-autoplay-audio"}],any:[],none:[]},{id:"object-alt",impact:"serious",selector:"object[data]",matches:"object-is-loaded-matches",tags:["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a","EN-301-549","EN-9.1.1.1","RGAAv4","RGAA-1.1.6"],actIds:["8fc3b6"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"presentational-role"],none:[]},{id:"p-as-heading",impact:"serious",selector:"p",matches:"p-as-heading-matches",tags:["cat.semantics","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.1.3","experimental"],all:[{options:{margins:[{weight:150,italic:true},{weight:150,size:1.15},{italic:true,size:1.15},{size:1.4}],passLength:1,failLength:.5},id:"p-as-heading"}],any:[],none:[]},{id:"page-has-heading-one",impact:"moderate",selector:"html:not(html *)",tags:["cat.semantics","best-practice"],all:[{options:{selector:"h1:not([role], [aria-level]), :is(h1, h2, h3, h4, h5, h6):not([role])[aria-level=1], [role=heading][aria-level=1]",passForModal:true},id:"page-has-heading-one"}],any:[],none:[]},{id:"presentation-role-conflict",impact:"minor",selector:`img[alt=''], [role="none"], [role="presentation"]`,matches:"has-implicit-chromium-role-matches",tags:["cat.aria","best-practice","ACT"],actIds:["46ca7f"],all:[],any:[],none:["is-element-focusable","has-global-aria-attribute"]},{id:"region",impact:"moderate",selector:"body *",tags:["cat.keyboard","best-practice","RGAAv4","RGAA-9.2.1"],all:[],any:[{options:{regionMatcher:"dialog, [role=dialog], [role=alertdialog], svg"},id:"region"}],none:[]},{id:"role-img-alt",impact:"serious",selector:"[role='img']:not(img, area, input, object)",matches:"html-namespace-matches",tags:["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a","TTv5","TT7.a","EN-301-549","EN-9.1.1.1","ACT","RGAAv4","RGAA-1.1.1"],actIds:["23a2a8"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"scope-attr-valid",impact:"moderate",selector:"td[scope], th[scope]",tags:["cat.tables","best-practice"],all:["html5-scope",{options:{values:["row","col","rowgroup","colgroup"]},id:"scope-value"}],any:[],none:[]},{id:"scrollable-region-focusable",impact:"serious",selector:"*:not(select,textarea)",matches:"scrollable-region-focusable-matches",tags:["cat.keyboard","wcag2a","wcag211","wcag213","TTv5","TT4.a","EN-301-549","EN-9.2.1.1","EN-9.2.1.3","RGAAv4","RGAA-7.3.2"],actIds:["0ssw9k"],all:[],any:["focusable-content","focusable-element"],none:[]},{id:"select-name",impact:"critical",selector:"select",tags:["cat.forms","wcag2a","wcag412","section508","section508.22.n","TTv5","TT5.c","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-11.1.1"],actIds:["e086e5"],all:[],any:["implicit-label","explicit-label","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"presentational-role"],none:["hidden-explicit-label"]},{id:"server-side-image-map",impact:"minor",selector:"img[ismap]",tags:["cat.text-alternatives","wcag2a","wcag211","section508","section508.22.f","TTv5","TT4.a","EN-301-549","EN-9.2.1.1","RGAAv4","RGAA-1.1.4"],all:[],any:[],none:["exists"]},{id:"skip-link",impact:"moderate",selector:'a[href^="#"], a[href^="/#"]',matches:"skip-link-matches",tags:["cat.keyboard","best-practice","RGAAv4","RGAA-12.7.1"],all:[],any:["skip-link"],none:[]},{id:"summary-name",impact:"serious",selector:"summary",matches:"summary-interactive-matches",tags:["cat.name-role-value","wcag2a","wcag412","section508","section508.22.a","TTv5","TT6.a","EN-301-549","EN-9.4.1.2"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"svg-img-alt",impact:"serious",selector:'[role="img"], [role="graphics-symbol"], svg[role="graphics-document"]',matches:"svg-namespace-matches",tags:["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a","TTv5","TT7.a","EN-301-549","EN-9.1.1.1","ACT","RGAAv4","RGAA-1.1.5"],actIds:["7d6734"],all:[],any:["svg-non-empty-title","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"tabindex",impact:"serious",selector:"[tabindex]",tags:["cat.keyboard","best-practice"],all:[],any:["tabindex"],none:[]},{id:"table-duplicate-name",impact:"minor",selector:"table",tags:["cat.tables","best-practice","RGAAv4","RGAA-5.2.1"],all:[],any:[],none:["same-caption-summary"]},{id:"table-fake-caption",impact:"serious",selector:"table",matches:"data-table-matches",tags:["cat.tables","experimental","wcag2a","wcag131","section508","section508.22.g","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-5.4.1"],all:["caption-faked"],any:[],none:[]},{id:"target-size",impact:"serious",selector:"*",enabled:false,matches:"widget-not-inline-matches",tags:["cat.sensory-and-visual-cues","wcag22aa","wcag258"],all:[],any:[{options:{minSize:24},id:"target-size"},{options:{minOffset:24},id:"target-offset"}],none:[]},{id:"td-has-header",impact:"critical",selector:"table",matches:"data-table-large-matches",tags:["cat.tables","experimental","wcag2a","wcag131","section508","section508.22.g","TTv5","TT14.b","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-5.7.4"],all:["td-has-header"],any:[],none:[]},{id:"td-headers-attr",impact:"serious",selector:"table",matches:"table-or-grid-role-matches",tags:["cat.tables","wcag2a","wcag131","section508","section508.22.g","TTv5","TT14.b","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-5.7.4"],actIds:["a25f45"],all:["td-headers-attr"],any:[],none:[]},{id:"th-has-data-cells",impact:"serious",selector:"table",matches:"data-table-matches",tags:["cat.tables","wcag2a","wcag131","section508","section508.22.g","TTv5","TT14.b","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-5.7.1"],actIds:["d0f69e"],all:["th-has-data-cells"],any:[],none:[]},{id:"valid-lang",impact:"serious",selector:"[lang]:not(html), [xml\\:lang]:not(html)",tags:["cat.language","wcag2aa","wcag312","TTv5","TT11.b","EN-301-549","EN-9.3.1.2","ACT","RGAAv4","RGAA-8.8.1"],actIds:["de46e4"],all:[],any:[],none:[{options:{attributes:["lang","xml:lang"]},id:"valid-lang"}]},{id:"video-caption",impact:"critical",selector:"video",tags:["cat.text-alternatives","wcag2a","wcag122","section508","section508.22.a","TTv5","TT17.a","EN-301-549","EN-9.1.2.2","RGAAv4","RGAA-4.3.1"],actIds:["eac66b"],all:[],any:[],none:["caption"]}],checks:[{id:"abstractrole",evaluate:"abstractrole-evaluate"},{id:"aria-allowed-attr-elm",evaluate:"aria-allowed-attr-elm-evaluate"},{id:"aria-allowed-attr",evaluate:"aria-allowed-attr-evaluate",options:{validTreeRowAttrs:["aria-posinset","aria-setsize","aria-expanded","aria-level"]}},{id:"aria-allowed-role",evaluate:"aria-allowed-role-evaluate",options:{allowImplicit:true,ignoredTags:[]}},{id:"aria-busy",evaluate:"aria-busy-evaluate",deprecated:true},{id:"aria-conditional-attr",evaluate:"aria-conditional-attr-evaluate",options:{invalidTableRowAttrs:["aria-posinset","aria-setsize","aria-expanded","aria-level"]}},{id:"aria-errormessage",evaluate:"aria-errormessage-evaluate"},{id:"aria-hidden-body",evaluate:"aria-hidden-body-evaluate"},{id:"aria-level",evaluate:"aria-level-evaluate"},{id:"aria-prohibited-attr",evaluate:"aria-prohibited-attr-evaluate",options:{elementsAllowedAriaLabel:["applet","input"]}},{id:"aria-required-attr",evaluate:"aria-required-attr-evaluate"},{id:"aria-required-children",evaluate:"aria-required-children-evaluate",options:{reviewEmpty:["doc-bibliography","doc-endnotes","grid","list","listbox","menu","menubar","table","tablist","tree","treegrid","rowgroup"]}},{id:"aria-required-parent",evaluate:"aria-required-parent-evaluate",options:{ownGroupRoles:["listitem","treeitem"]}},{id:"aria-roledescription",evaluate:"aria-roledescription-evaluate",options:{supportedRoles:["button","img","checkbox","radio","combobox","menuitemcheckbox","menuitemradio"]}},{id:"aria-unsupported-attr",evaluate:"aria-unsupported-attr-evaluate"},{id:"aria-valid-attr-value",evaluate:"aria-valid-attr-value-evaluate",options:[]},{id:"aria-valid-attr",evaluate:"aria-valid-attr-evaluate",options:[]},{id:"braille-label-equivalent",evaluate:"braille-label-equivalent-evaluate"},{id:"braille-roledescription-equivalent",evaluate:"braille-roledescription-equivalent-evaluate"},{id:"deprecatedrole",evaluate:"deprecatedrole-evaluate"},{id:"fallbackrole",evaluate:"fallbackrole-evaluate"},{id:"has-global-aria-attribute",evaluate:"has-global-aria-attribute-evaluate"},{id:"has-widget-role",evaluate:"has-widget-role-evaluate",options:[]},{id:"invalidrole",evaluate:"invalidrole-evaluate"},{id:"is-element-focusable",evaluate:"is-element-focusable-evaluate"},{id:"no-implicit-explicit-label",evaluate:"no-implicit-explicit-label-evaluate"},{id:"unsupportedrole",evaluate:"unsupportedrole-evaluate"},{id:"valid-scrollable-semantics",evaluate:"valid-scrollable-semantics-evaluate",options:{roles:["tooltip"]}},{id:"color-contrast-enhanced",evaluate:"color-contrast-evaluate",options:{ignoreUnicode:true,ignoreLength:false,ignorePseudo:false,boldValue:700,boldTextPt:14,largeTextPt:18,contrastRatio:{normal:{expected:7,minThreshold:4.5},large:{expected:4.5,minThreshold:3}},pseudoSizeThreshold:.25,shadowOutlineEmMax:.1,textStrokeEmMin:.03}},{id:"color-contrast",evaluate:"color-contrast-evaluate",options:{ignoreUnicode:true,ignoreLength:false,ignorePseudo:false,boldValue:700,boldTextPt:14,largeTextPt:18,contrastRatio:{normal:{expected:4.5},large:{expected:3}},pseudoSizeThreshold:.25,shadowOutlineEmMax:.2,textStrokeEmMin:.03}},{id:"link-in-text-block-style",evaluate:"link-in-text-block-style-evaluate"},{id:"link-in-text-block",evaluate:"link-in-text-block-evaluate",options:{requiredContrastRatio:3,allowSameColor:true}},{id:"autocomplete-appropriate",evaluate:"autocomplete-appropriate-evaluate",deprecated:true},{id:"autocomplete-valid",evaluate:"autocomplete-valid-evaluate",options:{stateTerms:["none","false","true","disabled","enabled","undefined","null","xoff","xon"],ignoredValues:["text","pronouns","gender","message","content"]}},{id:"accesskeys",evaluate:"accesskeys-evaluate",after:"accesskeys-after"},{id:"focusable-content",evaluate:"focusable-content-evaluate"},{id:"focusable-disabled",evaluate:"focusable-disabled-evaluate"},{id:"focusable-element",evaluate:"focusable-element-evaluate"},{id:"focusable-modal-open",evaluate:"focusable-modal-open-evaluate"},{id:"focusable-no-name",evaluate:"focusable-no-name-evaluate"},{id:"focusable-not-tabbable",evaluate:"focusable-not-tabbable-evaluate"},{id:"frame-focusable-content",evaluate:"frame-focusable-content-evaluate"},{id:"landmark-is-top-level",evaluate:"landmark-is-top-level-evaluate"},{id:"no-focusable-content",evaluate:"no-focusable-content-evaluate"},{id:"page-has-heading-one",evaluate:"has-descendant-evaluate",after:"has-descendant-after",options:{selector:"h1:not([role], [aria-level]), :is(h1, h2, h3, h4, h5, h6):not([role])[aria-level=1], [role=heading][aria-level=1]",passForModal:true}},{id:"page-has-main",evaluate:"has-descendant-evaluate",after:"has-descendant-after",options:{selector:"main:not([role]), [role='main']",passForModal:true}},{id:"page-no-duplicate-banner",evaluate:"page-no-duplicate-evaluate",after:"page-no-duplicate-after",options:{selector:"header:not([role]), [role=banner]",role:"banner"}},{id:"page-no-duplicate-contentinfo",evaluate:"page-no-duplicate-evaluate",after:"page-no-duplicate-after",options:{selector:"footer:not([role]), [role=contentinfo]",role:"contentinfo"}},{id:"page-no-duplicate-main",evaluate:"page-no-duplicate-evaluate",after:"page-no-duplicate-after",options:{selector:"main:not([role]), [role='main']"}},{id:"tabindex",evaluate:"tabindex-evaluate"},{id:"alt-space-value",evaluate:"alt-space-value-evaluate"},{id:"duplicate-img-label",evaluate:"duplicate-img-label-evaluate",options:{parentSelector:"button, [role=button], a[href], p, li, td, th"}},{id:"explicit-label",evaluate:"explicit-evaluate"},{id:"help-same-as-label",evaluate:"help-same-as-label-evaluate"},{id:"hidden-explicit-label",evaluate:"hidden-explicit-label-evaluate"},{id:"implicit-label",evaluate:"implicit-evaluate"},{id:"label-content-name-mismatch",evaluate:"label-content-name-mismatch-evaluate",options:{pixelThreshold:.1,occurrenceThreshold:3}},{id:"multiple-label",evaluate:"multiple-label-evaluate"},{id:"title-only",evaluate:"title-only-evaluate"},{id:"landmark-is-unique",evaluate:"landmark-is-unique-evaluate",after:"landmark-is-unique-after"},{id:"has-lang",evaluate:"has-lang-evaluate",options:{attributes:["lang","xml:lang"]}},{id:"valid-lang",evaluate:"valid-lang-evaluate",options:{attributes:["lang","xml:lang"]}},{id:"xml-lang-mismatch",evaluate:"xml-lang-mismatch-evaluate"},{id:"dlitem",evaluate:"dlitem-evaluate"},{id:"listitem",evaluate:"listitem-evaluate"},{id:"only-dlitems",evaluate:"invalid-children-evaluate",options:{validRoles:["definition","term","listitem"],validNodeNames:["dt","dd"],divGroups:true}},{id:"only-listitems",evaluate:"invalid-children-evaluate",options:{validRoles:["listitem"],validNodeNames:["li"]}},{id:"structured-dlitems",evaluate:"structured-dlitems-evaluate"},{id:"caption",evaluate:"caption-evaluate"},{id:"frame-tested",evaluate:"frame-tested-evaluate",after:"frame-tested-after",options:{isViolation:false}},{id:"no-autoplay-audio",evaluate:"no-autoplay-audio-evaluate",options:{allowedDuration:3}},{id:"css-orientation-lock",evaluate:"css-orientation-lock-evaluate",options:{degreeThreshold:2}},{id:"meta-viewport-large",evaluate:"meta-viewport-scale-evaluate",options:{scaleMinimum:5,lowerBound:2}},{id:"meta-viewport",evaluate:"meta-viewport-scale-evaluate",options:{scaleMinimum:2}},{id:"target-offset",evaluate:"target-offset-evaluate",options:{minOffset:24}},{id:"target-size",evaluate:"target-size-evaluate",options:{minSize:24}},{id:"header-present",evaluate:"has-descendant-evaluate",after:"has-descendant-after",options:{selector:":is(h1, h2, h3, h4, h5, h6):not([role]), [role=heading]"}},{id:"heading-order",evaluate:"heading-order-evaluate",after:"heading-order-after"},{id:"identical-links-same-purpose",evaluate:"identical-links-same-purpose-evaluate",after:"identical-links-same-purpose-after"},{id:"internal-link-present",evaluate:"internal-link-present-evaluate"},{id:"landmark",evaluate:"has-descendant-evaluate",options:{selector:"main, [role=main]"}},{id:"meta-refresh-no-exceptions",evaluate:"meta-refresh-evaluate",options:{minDelay:72e3,maxDelay:false}},{id:"meta-refresh",evaluate:"meta-refresh-evaluate",options:{minDelay:0,maxDelay:72e3}},{id:"p-as-heading",evaluate:"p-as-heading-evaluate",options:{margins:[{weight:150,italic:true},{weight:150,size:1.15},{italic:true,size:1.15},{size:1.4}],passLength:1,failLength:.5}},{id:"region",evaluate:"region-evaluate",after:"region-after",options:{regionMatcher:"dialog, [role=dialog], [role=alertdialog], svg"}},{id:"skip-link",evaluate:"skip-link-evaluate"},{id:"unique-frame-title",evaluate:"unique-frame-title-evaluate",after:"unique-frame-title-after"},{id:"duplicate-id-active",evaluate:"duplicate-id-evaluate",after:"duplicate-id-after"},{id:"duplicate-id-aria",evaluate:"duplicate-id-evaluate",after:"duplicate-id-after"},{id:"duplicate-id",evaluate:"duplicate-id-evaluate",after:"duplicate-id-after"},{id:"aria-label",evaluate:"aria-label-evaluate"},{id:"aria-labelledby",evaluate:"aria-labelledby-evaluate"},{id:"avoid-inline-spacing",evaluate:"avoid-inline-spacing-evaluate",options:{cssProperties:["line-height","letter-spacing","word-spacing"]}},{id:"button-has-visible-text",evaluate:"has-text-content-evaluate"},{id:"doc-has-title",evaluate:"doc-has-title-evaluate"},{id:"error-occurred",evaluate:"exists-evaluate"},{id:"exists",evaluate:"exists-evaluate"},{id:"has-alt",evaluate:"has-alt-evaluate"},{id:"has-visible-text",evaluate:"has-text-content-evaluate"},{id:"important-letter-spacing",evaluate:"inline-style-property-evaluate",options:{cssProperty:"letter-spacing",minValue:.12}},{id:"important-line-height",evaluate:"inline-style-property-evaluate",options:{multiLineOnly:true,cssProperty:"line-height",minValue:1.5,normalValue:1}},{id:"important-word-spacing",evaluate:"inline-style-property-evaluate",options:{cssProperty:"word-spacing",minValue:.16}},{id:"is-on-screen",evaluate:"is-on-screen-evaluate"},{id:"non-empty-alt",evaluate:"attr-non-space-content-evaluate",options:{attribute:"alt"}},{id:"non-empty-if-present",evaluate:"non-empty-if-present-evaluate"},{id:"non-empty-placeholder",evaluate:"attr-non-space-content-evaluate",options:{attribute:"placeholder"}},{id:"non-empty-title",evaluate:"attr-non-space-content-evaluate",options:{attribute:"title"}},{id:"non-empty-value",evaluate:"attr-non-space-content-evaluate",options:{attribute:"value"}},{id:"presentational-role",evaluate:"presentational-role-evaluate"},{id:"role-none",evaluate:"matches-definition-evaluate",deprecated:true,options:{matcher:{attributes:{role:"none"}}}},{id:"role-presentation",evaluate:"matches-definition-evaluate",deprecated:true,options:{matcher:{attributes:{role:"presentation"}}}},{id:"svg-non-empty-title",evaluate:"svg-non-empty-title-evaluate"},{id:"caption-faked",evaluate:"caption-faked-evaluate"},{id:"html5-scope",evaluate:"html5-scope-evaluate"},{id:"same-caption-summary",evaluate:"same-caption-summary-evaluate"},{id:"scope-value",evaluate:"scope-value-evaluate",options:{values:["row","col","rowgroup","colgroup"]}},{id:"td-has-header",evaluate:"td-has-header-evaluate"},{id:"td-headers-attr",evaluate:"td-headers-attr-evaluate"},{id:"th-has-data-cells",evaluate:"th-has-data-cells-evaluate"},{id:"hidden-content",evaluate:"hidden-content-evaluate"}]});})(typeof window=="object"?window:pg);});function Dg(d,p){return p==="AAA"&&!d.includes("wcag2aaa")?[...d,"wcag2aaa"]:d}function Ga(d){return _g[d]??"AA"}function Ag(d){let p=String(d.wcag||"").split(/[,\s]+/).filter(m=>/^\d+\.\d+\.\d+$/.test(m));if(p.length===0)return d.level??"AA";let g="AAA";for(let m of p)Yn[Ga(m)]<Yn[g]&&(g=Ga(m));return g}function xu(d,p="AA"){let g=Yn[p]??Yn.AA;return d.filter(m=>Yn[Ag(m)]<=g)}function Eg(d){let p=mL.has(d.issueType)?"minor":d.needsAI?"serious":"moderate",g=d.attribute==="style",m=d.attribute.startsWith("data-"),h=g&&d.fixValue?hL(d.fixValue):d.fixValue;return {id:`wa-${d.issueType}-${Jn(d.selector)}`,source:"webability",type:d.issueType,wcag:d.wcag,level:Ga(d.wcag),impact:p,message:gL(d,h,m),selector:d.selector,html:d.outerHtml,...d.needsReview?{confidence:"needs_review"}:{},...d.reviewReason?{reviewReason:d.reviewReason}:{},fix:{attribute:d.attribute,currentValue:d.currentValue,suggestedValue:h,needsManualReview:d.needsAI||g||m||!!d.needsReview||!!d.manualFix}}}function hL(d){let p=d.trim();if(!p)return "";let g=p.endsWith(";"),h=p.split(";").map(x=>{let y=x.toLowerCase().lastIndexOf("!important");return y===-1?x.trim():x.slice(0,y).trim()}).filter(x=>x.length>0);return h.length===0?"":h.join(";")+(g?";":"")}function gL(d,p,g){if(d.message)return d.message;let m=d.issueType.replace(/_/g," "),h=p??d.fixValue;return g?h?`${m}: ${h}`:d.currentValue?`${m}: ${d.currentValue}`:`${m}: flagged for manual review`:h?`${m}: set ${d.attribute}="${h}"`:d.currentValue?`${m}: ${d.attribute} is "${d.currentValue}"`:`${m}: missing ${d.attribute}`}function Kn(d){return Array.isArray(d)?d.flat(1/0).filter(g=>typeof g=="string").join(" >>> "):typeof d=="string"?d:""}function Jn(d){let p=0;for(let g=0;g<d.length;g++)p=(p<<5)-p+d.charCodeAt(g)|0;return Math.abs(p).toString(36)}function Du(d){return d==="critical"||d==="serious"||d==="moderate"||d==="minor"?d:"moderate"}function _u(d,p=[]){return {total:d.length,critical:d.filter(g=>g.impact==="critical").length,serious:d.filter(g=>g.impact==="serious").length,moderate:d.filter(g=>g.impact==="moderate").length,minor:d.filter(g=>g.impact==="minor").length,incomplete:0}}function Au(d){let p=d.find(m=>/^wcag\d{3,4}$/.test(m));if(!p)return "";let g=p.replace("wcag","");return g.length===3?`${g[0]}.${g[1]}.${g[2]}`:g.length===4?`${g[0]}.${g[1]}.${g.slice(2)}`:""}function Eu(d){return d.includes("wcag2aaa")?"AAA":d.includes("wcag2aa")||d.includes("wcag21aa")||d.includes("wcag22aa")?"AA":"A"}var wu,_g,Yn,mL,Ro=Rr(()=>{wu=["wcag2a","wcag2aa","wcag21aa","wcag22aa"];_g={"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.1":"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"};Yn={A:1,AA:2,AAA:3};mL=new Set(["new_window_link","external_link_warning","download_link_warning"]);});var Sg={};Vr(Sg,{dismissModals:()=>Cg});async function Cg(d){await d.evaluate(p=>{for(let g of p){let m=document.querySelectorAll(g);for(let h of m)if(h.offsetParent!==null){h.click();return}}},vL),await new Promise(p=>setTimeout(p,500));}var vL,Cu=Rr(()=>{vL=['[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 Io={};Vr(Io,{pruneHiddenIframeIssues:()=>xL,pruneInvisibleContrast:()=>wL,waitForRenderSettle:()=>bL});async function bL(d,p=4e3){let g=Date.now()+p;try{await d.waitForLoadState?.("load",{timeout:Math.min(p/2,2e3)});}catch{}let m="";for(;Date.now()<g;){let h;try{h=await d.evaluate(()=>{let x=typeof document.getAnimations=="function"?document.getAnimations():[],v=0;for(let S of x){if(S.playState!=="running")continue;let w;try{w=S.effect?.getComputedTiming?.().iterations;}catch{w=void 0;}w!==1/0&&v++;}let y="",D=document.body?document.body.querySelectorAll('[style*="opacity"]'):[],F=Math.min(D.length,50);for(let S=0;S<F;S++)y+=getComputedStyle(D[S]).opacity+",";return v+"|"+y});}catch{return}if(h.indexOf("0|")===0&&h===m)return;m=h,await new Promise(x=>setTimeout(x,150));}}function kg(d){return yL.has(d.wcag)||/contrast/i.test(d.type||"")}async function wL(d,p){let g=Array.from(new Set(p.filter(v=>kg(v)&&v.selector).map(v=>v.selector))).slice(0,100);if(g.length===0)return p;let m;try{m=await d.evaluate(v=>{let y=[],D={},F=Math.max(document.documentElement.scrollWidth,window.innerWidth),S=Math.max(document.documentElement.scrollHeight,window.innerHeight),w=T=>{let E=T.match(/rgba?\(([^)]+)\)/);if(!E)return !1;let _=E[1].split(/[ ,/]+/).filter(Boolean);return _.length<4||parseFloat(_[3])>=.95};for(let T of v){let E=null;try{E=document.querySelector(T);}catch{continue}if(!E)continue;let _=getComputedStyle(E),C=E.getBoundingClientRect(),R=_.clipPath&&_.clipPath!=="none"&&/inset\(\s*(?:50|100)%/.test(_.clipPath)||/rect\(\s*0(?:px)?\s*,?\s*0(?:px)?\s*,?\s*0(?:px)?\s*,?\s*0(?:px)?\s*\)/.test(_.clip||""),L=C.width<=1||C.height<=1,N=window.scrollX,$=window.scrollY,W=C.right+N<=0||C.bottom+$<=0||C.left+N>=F||C.top+$>=S,G=!1;if(W)for(let ne=E.parentElement;ne&&ne!==document.body&&ne!==document.documentElement;ne=ne.parentElement){let _e=getComputedStyle(ne);if(_e.overflowX!=="visible"||_e.overflowY!=="visible"||_e.transform&&_e.transform!=="none"){G=!0;break}}if(W&&G){D[T]="text is outside the visible page inside a scrolling / clipped container \u2014 check contrast where it is shown";continue}if(R||L||W){y.push(T);continue}let q=E,j=!1;for(;q&&q!==document.documentElement;){if(parseFloat(getComputedStyle(q).opacity)===0){j=!0;break}q=q.parentElement;}if(j){D[T]="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 K=C.left+C.width/2,Z=C.top+C.height/2,Q=E,ae=!1;for(let ne=0;Q&&Q!==document.body&&ne<8;ne++){let _e=getComputedStyle(Q);if(w(_e.backgroundColor)||_e.backgroundImage&&_e.backgroundImage!=="none")break;let he=Q.querySelectorAll("video, canvas, img, picture");for(let Ie=0;Ie<he.length;Ie++){let me=he[Ie];if(me.contains(E)||E.contains(me))continue;let ye=me.getBoundingClientRect();if(ye.width>0&&ye.height>0&&K>=ye.left&&K<=ye.right&&Z>=ye.top&&Z<=ye.bottom){ae=!0;break}}if(ae)break;Q=Q.parentElement;}ae&&(D[T]="text sits over a video or image \u2014 the background behind the glyphs cannot be measured from CSS");}return {hidden:y,review:D}},g);}catch{return p}let h=new Set(m.hidden),x=[];for(let v of p){if(!kg(v)){x.push(v);continue}if(h.has(v.selector))continue;let y=m.review[v.selector];x.push(y&&v.confidence!=="needs_review"?{...v,confidence:"needs_review",reviewReason:y,...v.fix?{fix:{...v.fix,needsManualReview:true}}:{}}:v);}return x}async function xL(d,p){let g=Array.from(new Set(p.filter(x=>x.selector).map(x=>x.selector))).slice(0,200);if(g.length===0)return p;let m;try{m=await d.evaluate(x=>{let v=[];for(let y of x){let D=null;try{D=document.querySelector(y);}catch{continue}if(!D||D.tagName!=="IFRAME")continue;let F=getComputedStyle(D),S=D.getClientRects().length===0||F.visibility==="hidden"||F.visibility==="collapse",w=(D.getAttribute("src")||"").trim().toLowerCase().indexOf("javascript:")===0;(S||w)&&v.push(y);}return v},g);}catch{return p}if(m.length===0)return p;let h=new Set(m);return p.filter(x=>!h.has(x.selector))}var yL,Lo=Rr(()=>{yL=new Set(["1.4.3","1.4.6","1.4.11"]);});var Ig={};Vr(Ig,{htmlcsTypeFromCode:()=>Fg,runHtmlcs:()=>_L});async function _L(d,p="WCAG2AA"){try{await d.addScriptTag({content:`
377
377
  window.__htmlcsLoaded = false;
378
378
  window.__htmlcsResults = [];
379
- `});try{let{UNIQUE_SELECTOR_JS:m}=await Promise.resolve().then(()=>(lu(),su));await f.addScriptTag({content:`if(typeof __name==='undefined'){var __name=function(t,v){return t};var __defProp=Object.defineProperty;}
380
- `+m});}catch{}let y=f;return y.addScriptTag&&await y.addScriptTag({url:lL}).catch(()=>{}),await new Promise(m=>setTimeout(m,1e3)),(await f.evaluate(m=>new Promise(w=>{let v=window;if(!v.HTMLCS){w([]);return}v.HTMLCS.process(m,document,()=>{let A=v.HTMLCS.getMessages().filter(k=>k.type===1).slice(0,50).map(k=>{let x="";try{if(k.element&&k.element.tagName){let _=k.element,T=window.uniqueSel;typeof T=="function"?x=T(_):x=_.className&&typeof _.className=="string"&&_.className.trim()?`${_.tagName.toLowerCase()}.${_.className.trim().split(/\s+/)[0]}`:_.tagName.toLowerCase();}}catch{}return {type:k.type,code:k.code||"",msg:k.msg||"",element:k.element?.outerHTML?.slice(0,150)||"",selector:x}});w(A);});}),p)).map((m,w)=>{let v=yg(m.code);return {id:`htmlcs-${w}-${cL(m.selector)}`,source:"webability",type:bg(m.code),wcag:v,level:"AA",impact:"moderate",message:m.msg.slice(0,200),selector:m.selector,html:m.element}})}catch{return []}}function bg(f){let p=yg(f);if(p&&vg[p])return vg[p];let y=f.split("."),h=y.findIndex(v=>/^\d+_\d+_\d+$/.test(v));return (h>=0?y.slice(h+1):y).join("_").toLowerCase().replace(/[^a-z0-9_]+/g,"_").replace(/^_+|_+$/g,"")||"htmlcs_rule"}function yg(f){let p=f.match(/Guideline(\d+)_(\d+)\.(\d+)_(\d+)_(\d+)/);if(p)return `${p[3]}.${p[4]}.${p[5]}`;let y=f.match(/(\d+)_(\d+)_(\d+)/);return y?`${y[1]}.${y[2]}.${y[3]}`:""}function cL(f){let p=0;for(let y=0;y<f.length;y++)p=(p<<5)-p+f.charCodeAt(y)|0;return Math.abs(p).toString(36)}var lL,vg,xg=qr(()=>{lL="https://squizlabs.github.io/HTML_CodeSniffer/build/HTMLCS.js";vg={"1.4.3":"contrast_insufficient"};});var bu={};Br(bu,{dedupeByElementIdentity:()=>pL,deduplicateIssues:()=>dL});function dL(f){let p=new Map,y=[...f].sort((h,m)=>{let w={webability:0,"axe-core":1,"deep-analysis":2},v=w[h.source]??3,b=w[m.source]??3;return v-b});for(let h of y){let m=fL(h);p.has(m)?!p.get(m).fix?.suggestedValue&&h.fix?.suggestedValue&&p.set(m,h):p.set(m,h);}return Array.from(p.values())}function fL(f){let p=f.selector.replace(/:focus-visible$/,"").replace(/:focus$/,"").replace(/\[data-[^\]]+\]/g,"").trim(),y=f.wcag||"";return p&&y?`${p}::${y}`:`${f.type}::${p||f.id}`}async function pL(f,p){if(p.length<2)return p;let y=Array.from(new Set(p.map(k=>k.selector).filter(Boolean))),h;try{h=await f.evaluate(k=>{let x=Array.from(document.querySelectorAll("*")),_=new Map;x.forEach((S,E)=>_.set(S,E));let T={};for(let S of k){let E=null;try{E=document.querySelector(S);}catch{}if(!E){let F=S.replace(/:(?:focus-visible|focus-within|focus|hover|active)$/,"");if(F!==S)try{E=document.querySelector(F);}catch{}}E&&(T[S]=_.get(E));}return T},y);}catch{return p}let m={webability:0,"axe-core":1,"deep-analysis":2},w=[...p].sort((k,x)=>(m[k.source]??3)-(m[x.source]??3)),v=new Map,b=[];for(let k of w){let x=h[k.selector];if(x===void 0){b.push(k);continue}let _=`${x}::${k.wcag||k.type}`,T=v.get(_);T?!T.fix?.suggestedValue&&k.fix?.suggestedValue&&v.set(_,k):v.set(_,k);}let A=new Set([...v.values(),...b]);return p.filter(k=>A.has(k))}var yu=qr(()=>{});var Dg={};Br(Dg,{scopeIssuesToRoot:()=>mL});async function mL(f,p,y){let h=Array.from(new Set(p.map(w=>w.selector).filter(Boolean))),m;try{m=await f.evaluate(({rootSel:w,sels:v})=>{let b=x=>{try{let T=document.querySelector(x);if(T)return T}catch{}let _=x.replace(/:(?:focus-visible|focus-within|focus|hover|active)$/,"");if(_!==x)try{return document.querySelector(_)}catch{return null}return null},A=null;try{A=document.querySelector(w);}catch{return {invalid:!0,matched:!1,within:{}}}if(!A)return {invalid:!1,matched:!1,within:{}};let k={};for(let x of v){let _=b(x);k[x]=_?_===A||A.contains(_):!0;}return {invalid:!1,matched:!0,within:k}},{rootSel:y,sels:h});}catch{return {issues:p,warning:`scope:evaluate-failed (${y}) \u2014 results unfiltered`}}return m.invalid?{issues:p,warning:`scope:invalid-selector (${y}) \u2014 results unfiltered`}:m.matched?{issues:p.filter(w=>w.selector?m.within[w.selector]===true:true)}:{issues:[],warning:`scope:root-miss (${y} matched nothing \u2014 empty result)`}}var _g=qr(()=>{});var AR={weak_button_name:"4.1.2",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",weak_skip_link:"2.4.1",missing_button_role:"4.1.2",missing_semantic_role:"4.1.2",missing_landmark:"1.3.1",heading_skip:"1.3.1",svg_missing_name:"1.1.1",aria_hidden_focusable:"4.1.2",adjacent_redundant_link:"2.4.4",contrast_insufficient:"1.4.3",non_text_contrast_insufficient:"1.4.11",target_too_small:"2.5.8",focus_not_visible:"2.4.7",empty_link:"2.4.4",unlabeled_button:"4.1.2",missing_label:"1.3.1",decorative_icon:"1.1.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",duplicate_id:"4.1.1",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",broken_anchor:"2.4.1",placeholder_link:"2.4.4",missing_pattern_title:"3.3.2",missing_autocomplete:"1.3.5",missing_media_controls:"2.2.2",unsafe_autoplay:"1.4.2",invalid_aria_role:"4.1.2",zoom_restriction:"1.4.4",missing_button_type:"3.2.2",link_consistency:"3.2.4",semantic_emphasis:"1.3.1",keyboard_trap:"2.1.1",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",nested_landmark:"1.3.1",combobox_name_missing:"4.1.2",landmark_duplicate_unlabeled:"1.3.1",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",missing_required_indicator:"3.3.2",background_image_unlabeled:"1.1.1",missing_h1:"1.3.1",multiple_h1:"1.3.1",empty_heading:"1.3.1",javascript_link:"2.1.1",broken_aria_reference:"4.1.2",main_content_hidden:"4.1.2",scrollable_not_focusable:"2.1.1",meaningful_sequence:"1.3.2",sensory_characteristic:"1.3.3",orientation_lock:"1.3.4",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",insufficient_navigation:"2.4.5",inconsistent_navigation:"3.2.3"},$n={mobile:{width:375,height:667},tablet:{width:768,height:1024},desktop:{width:1280,height:720}};var ER=()=>{let f="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye]",y=[],h=new Set;function m(b){let A=(b.textContent||"").trim().replace(/\s+/g,""),k=b.querySelector("img, svg, picture")!==null,x=b.querySelector("i[class], span[class]")!==null;if(A.length>0&&!k&&!x)return false;if(k){let _=b.querySelectorAll("img"),T="";_.forEach(F=>{T+=(F.getAttribute("alt")||"").trim();});let S=A.replace(/\s+/g,""),E=T.replace(/\s+/g,"");return S===""||S===E}return false}function w(b){let A=b.nextElementSibling;for(;A;){if(isVisible(A))return A;A=A.nextElementSibling;}return null}return document.querySelectorAll("a[href]").forEach(b=>{if(y.length>=50||b.closest(f)||!isVisible(b)||h.has(b))return;let A=b.getAttribute("href");if(!A||A==="#")return;let k=w(b);if(!k||k.tagName!=="A"||k.getAttribute("href")!==A||h.has(k)||b.getAttribute("aria-hidden")==="true"||k.getAttribute("aria-hidden")==="true")return;let _=m(b),T=m(k);if(!_&&!T)return;let S=_?b:k,E=_?k:b;h.add(S),h.add(E);let F=uniqueSel(S),L=S.outerHTML.slice(0,300),O=(E.textContent||"").trim().slice(0,80);y.push({selector:F,attribute:"aria-hidden",currentValue:"",issueType:"adjacent_redundant_link",wcag:"2.4.4",context:JSON.stringify({href:A,imageLink:true,adjacentLinkText:O,suggestion:'Add aria-hidden="true" and tabindex="-1" to the image-only link'}),needsAI:false,fixValue:"true",outerHtml:L}),y.push({selector:F,attribute:"tabindex",currentValue:"",issueType:"adjacent_redundant_link",wcag:"2.4.4",context:JSON.stringify({supplementary:"Remove from tab order alongside aria-hidden",href:A}),needsAI:false,fixValue:"-1",outerHtml:L});}),y},z1={name:"adjacentLinks",cap:50,async detect(f){return f.evaluate(ER)}};var CR=()=>{let f="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=ae-exclude],[id*=ae_app],[id*=ae_],[class*=EquallyAI]",p='.slick-cloned,.slick-clone,.swiper-slide-duplicate,.owl-item.cloned,[data-slick-index^="-"],[data-swiper-slide-index]:not([data-swiper-slide-index=""])',y=["[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(","),h=new Set(["A","BUTTON","INPUT","SELECT","TEXTAREA"]),m=50,w=[],v=new Set;function b(x){let _=x,T=0;for(;_&&_.nodeType===1&&_!==document.body&&T<20;){try{let S=getComputedStyle(_);if(S.display==="none"||S.visibility==="hidden"||S.visibility==="collapse")return !0}catch{}_=_.parentElement,T++;}return false}function A(x){let _=x.tagName,T=x.getAttribute("tabindex");if(T!==null){let S=parseInt(T,10);if(!isNaN(S)&&S>=0)return true;if(!isNaN(S)&&S<0)return false}return h.has(_)?!(_==="A"&&!x.hasAttribute("href")||x.hasAttribute("disabled")):false}return document.querySelectorAll('[aria-hidden="true"]').forEach(x=>{if(w.length>=m||x.closest(f)||x.closest(p)||x.closest(y)||x.matches(y))return;let _=[];if(A(x)&&_.push(x),x.querySelectorAll("a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]").forEach(S=>{A(S)&&_.push(S);}),_.length!==0)for(let S of _){if(w.length>=m)return;let E=uniqueSel(S),F=E+"\0tabindex";if(v.has(F))continue;v.add(F);let L=b(S);w.push({selector:E,attribute:"tabindex",currentValue:S.getAttribute("tabindex")||"",issueType:"aria_hidden_focusable",wcag:"4.1.2",context:JSON.stringify({tag:S.tagName.toLowerCase(),parentHidden:x.tagName.toLowerCase(),collapsed:L,suggestion:L?"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.":'Add tabindex="-1" to the focusable child so it cannot be tabbed into while parent is aria-hidden'}),needsAI:false,fixValue:"-1",...L?{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.'}:{},outerHtml:(S.outerHTML||"").slice(0,300)});}}),w},G1={name:"ariaHiddenFocusable",cap:50,async detect(f){return f.evaluate(CR)}};var SR=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",y=[],h=new Set,m=[{regex:/\btoast\b/i,ariaLive:"polite",role:"status"},{regex:/\bsnackbar\b/i,ariaLive:"polite",role:"status"},{regex:/error[-_]message|error[-_]msg|form[-_]error|validation[-_]error/i,ariaLive:"assertive",role:"alert"},{regex:/success[-_]message|success[-_]msg/i,ariaLive:"polite",role:"status"},{regex:/alert[-_]message|alert[-_]banner/i,ariaLive:"assertive",role:"alert"},{regex:/flash[-_]message|flash[-_]notice/i,ariaLive:"polite",role:"status"},{regex:/cart[-_]count|cart[-_]badge|cart[-_]quantity/i,ariaLive:"polite",role:"status"},{regex:/loading[-_]spinner|loading[-_]indicator/i,ariaLive:"polite",role:"status"},{regex:/search[-_]results?[-_]count/i,ariaLive:"polite",role:"status"},{regex:/\blive[-_]region\b/i,ariaLive:"polite",role:"status"},{regex:/notification[-_](bar|area|container|popup|wrapper)/i,ariaLive:"polite",role:"status"},{regex:/status[-_]message/i,ariaLive:"polite",role:"status"}];function w(v){if(!(v.textContent||"").trim())return true;let A=getComputedStyle(v);return !!(A.display==="none"||A.visibility==="hidden"||A.opacity==="0"||A.maxHeight==="0px"||A.height==="0px"||v.hasAttribute("data-bind")||v.hasAttribute("v-if")||v.hasAttribute("v-show")||v.hasAttribute("ng-if")||v.hasAttribute("ng-show")||v.hasAttribute(":class")||v.hasAttribute("x-show")||v.hasAttribute("x-if")||v.hasAttribute("aria-atomic"))}for(let v of m){if(y.length>=50)break;let b=document.querySelectorAll("*");for(let A of b){if(y.length>=50)break;if(h.has(A)||A.closest(f))continue;let k=A.className&&typeof A.className=="string"?A.className:"",x=A.getAttribute("id")||"";if(!v.regex.test(k)&&!v.regex.test(x)||A.getAttribute("aria-live"))continue;let _=A.getAttribute("role")||"";if(["alert","status","log","timer","marquee"].includes(_)||!/\btoast\b|\bsnackbar\b|error[-_]|success[-_]|alert[-_]|flash[-_]/i.test(k+" "+x)&&!w(A))continue;h.add(A);let S=uniqueSel(A),E=v.regex.test(k)?"class":"id",F=E==="class"?k.slice(0,60):x;y.push({selector:S,attribute:"aria-live",currentValue:"",issueType:"aria_live",wcag:"4.1.3",context:E+": "+F+" | pattern: "+v.regex.source,needsAI:false,fixValue:v.ariaLive});}}return y},W1={name:"ariaLive",cap:50,async detect(f){return f.evaluate(SR)}};var kR=()=>{let f="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=ae-exclude],[id*=ae_app],[id*=ae_],[class*=EquallyAI]",y=[],h=new Set,m=["aria-labelledby","aria-describedby"];return document.querySelectorAll("[aria-labelledby],[aria-describedby]").forEach(b=>{if(!(y.length>=50)&&!b.closest(f)&&isVisible(b)&&!isHiddenFromAT(b)&&!b.getAttribute("aria-live")&&!b.closest("[aria-live]")&&!b.closest("template"))for(let A of m){let k=b.getAttribute(A);if(!k||!k.trim())continue;let x=k.trim().split(/\s+/).filter($=>$.length>0);if(x.length===0||!x.every($=>!document.getElementById($)))continue;let T=b.getAttribute("aria-label");if(T&&T.trim())continue;let S=getAccessibleName(b);if(S&&S.trim())continue;let E=uniqueSel(b),F=E+"\0"+A;if(h.has(F))continue;h.add(F);let{nearbyHeading:L,parentTag:O,parentRole:H}=getNearbyContext(b);y.push({selector:E,attribute:"aria-label",currentValue:"",issueType:"broken_aria_reference",wcag:"4.1.2",context:JSON.stringify({tag:b.tagName.toLowerCase(),brokenAttr:A,brokenIds:x,nearbyHeading:L,parentTag:O,parentRole:H,suggestion:`All IDs in ${A}="${k}" are missing from the DOM. Element has no accessible name. Generate an aria-label.`}),needsAI:true,outerHtml:(b.outerHTML||"").slice(0,300)});}}),y},U1={name:"brokenAriaReferences",cap:50,async detect(f){return f.evaluate(kR)}};var TR=()=>{let p=[],y=["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"],h=document.querySelectorAll("button");for(let m of h){if(p.length>=50)break;let w=m;if(isWidget(w)||w.hasAttribute("type")||!w.closest("form"))continue;let v=(w.textContent||"").trim().slice(0,60),b=(w.getAttribute("aria-label")||"").trim().slice(0,60),A=v||b||"(no label)",k=A.toLowerCase();y.some(_=>k.includes(_))||p.push({selector:uniqueSel(w),attribute:"type",currentValue:"",issueType:"missing_button_type",wcag:"3.2.2",context:"button inside <form> missing type attribute \u2014 defaults to submit | label: "+A,needsAI:false,fixValue:"button",outerHtml:(w.outerHTML||"").slice(0,300)});}return p},X1={name:"buttonType",cap:50,async detect(f){return f.evaluate(TR)}};var FR=()=>{let p=[],y=document.querySelectorAll("video, audio");for(let h of Array.from(y)){if(p.length>=20)break;if(isWidget(h)||typeof isVisible=="function"&&!isVisible(h)||h.error)continue;let m=h.tagName==="VIDEO";if(m){let F=h.hasAttribute("muted")||h.muted,L=h.hasAttribute("autoplay"),O=h.hasAttribute("controls"),H=h.hasAttribute("loop");if(F&&L&&H&&!O)continue}let w=h.querySelectorAll("track"),v=false;for(let F of Array.from(w)){let L=(F.getAttribute("kind")||"").toLowerCase();if(L==="captions"||L==="subtitles"){v=true;break}}if(v)continue;let b=h.currentSrc||h.getAttribute("src")||"";if(b||(b=h.querySelector("source")?.getAttribute("src")||""),!b)continue;let A=b.toLowerCase();if(A.startsWith("blob:")||A.startsWith("data:")||A.startsWith("about:")||A.startsWith("javascript:")||A.endsWith(".m3u8")||A.includes(".m3u8?")||A.endsWith(".mpd")||A.includes(".mpd?"))continue;let k=b;try{k=new URL(b,location.href).toString();}catch{continue}let x=typeof uniqueSel=="function"?uniqueSel(h):"",_=h.getAttribute("title")||h.getAttribute("aria-label")||"",T=typeof getNearbyContext=="function"?getNearbyContext(h):{parentTag:h.tagName.toLowerCase(),nearbyHeading:""},S=[];S.push("media: "+h.tagName.toLowerCase()),S.push("src: "+k.slice(0,200)),_&&S.push("title: "+_.slice(0,80)),T.nearbyHeading&&S.push("heading: "+T.nearbyHeading),S.push("parent: "+T.parentTag);let E=m;p.push({selector:x,attribute:"data-needs-captions",currentValue:"",issueType:"missing_captions",wcag:"1.2.2",context:S.join(" | "),needsAI:true,...E?{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:k,outerHtml:(h.outerHTML||"").slice(0,300)});}return p},Y1={name:"captions",cap:20,async detect(f){return f.evaluate(FR)}};var RR=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",y=[],h="p, li, blockquote, article, section, main, div",m=document.querySelectorAll("a[href]");for(let w of Array.from(m)){if(y.length>=40)break;if(w.closest(f)||w.closest('nav, header, footer, aside, [role="navigation"], [role="banner"], [role="contentinfo"]')||typeof isVisible=="function"&&!isVisible(w))continue;let v=w.closest(h);if(!v)continue;let b=(v.textContent||"").trim(),A=(w.textContent||"").trim();if(!A||b.length<A.length+20||w.querySelector("img, svg, [class*=icon], [class*=arrow]"))continue;let k=getComputedStyle(w),x=getComputedStyle(v);if((k.textDecorationLine||k.textDecoration||"").includes("underline")||(()=>{let $=document.createTreeWalker(w,NodeFilter.SHOW_TEXT),z,K=false;for(;z=$.nextNode();){if(!/[\p{L}\p{N}]/u.test(z.textContent||""))continue;K=true;let j=false;for(let W=z.parentElement;W&&W!==w;W=W.parentElement){let Z=getComputedStyle(W),te=(Z.textDecorationColor||"").replace(/\s/g,"");if((Z.textDecorationLine||"").includes("underline")&&te!=="transparent"&&!/^rgba\([^)]*,0(?:\.0+)?\)$/.test(te)){j=true;break}let ie=(Z.borderBottomColor||"").replace(/\s/g,""),re=ie==="transparent"||/^rgba\([^)]*,0(?:\.0+)?\)$/.test(ie);if((Z.borderBottomStyle||"none")!=="none"&&parseFloat(Z.borderBottomWidth||"0")>0&&!re){j=true;break}}if(!j)return false}return K})())continue;let S=parseInt(k.fontWeight||"400",10),E=parseInt(x.fontWeight||"400",10);if(Number.isFinite(S)&&Number.isFinite(E)&&S-E>=300||(k.borderBottomStyle||"none")!=="none"&&(k.borderBottomWidth||"0px")!=="0px"||k.color===x.color)continue;let L=typeof uniqueSel=="function"?uniqueSel(w):"",O=typeof getNearbyContext=="function"?getNearbyContext(w):{parentTag:w.tagName.toLowerCase(),nearbyHeading:""},H=[];H.push("link: "+A.slice(0,40)),H.push("color: "+k.color),H.push("parent-color: "+x.color),O.nearbyHeading&&H.push("heading: "+O.nearbyHeading),H.push("parent: "+O.parentTag),y.push({selector:L,attribute:"style",currentValue:k.textDecoration||"",issueType:"color_only_link",wcag:"1.4.1",context:H.join(" | "),needsAI:false,fixValue:"text-decoration: underline !important;",outerHtml:(w.outerHTML||"").slice(0,300)});}return y},K1={name:"colorOnly",cap:40,async detect(f){return f.evaluate(RR)}};var IR=()=>{let f="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye]",y=[],h=['[role="combobox"]',"input[list]","input[aria-autocomplete]","select"].join(",");return document.querySelectorAll(h).forEach(w=>{if(y.length>=30||w.closest(f)||typeof isVisible=="function"&&!isVisible(w)||w.getAttribute("aria-hidden")==="true"||w.disabled||w.getAttribute("type")==="hidden"||(w.getAttribute("aria-label")||"").trim())return;let v=w.getAttribute("aria-labelledby");if(v){let F=false;for(let L of v.split(/\s+/)){let O=document.getElementById(L);if(O&&(O.textContent||"").trim()){F=true;break}}if(F)return}let b=w.getAttribute("id");if(b){let F=document.querySelector('label[for="'+CSS.escape(b)+'"]');if(F&&(F.textContent||"").trim())return}let A=w.closest("label");if(A&&(A.textContent||"").trim()||(w.getAttribute("title")||"").trim())return;let k=typeof uniqueSel=="function"?uniqueSel(w):"",x=typeof getNearbyContext=="function"?getNearbyContext(w):{parentTag:w.tagName.toLowerCase(),nearbyHeading:""},_=(w.getAttribute("placeholder")||"").trim(),T=w.getAttribute("name")||"",S=w.getAttribute("role")||w.tagName.toLowerCase(),E=[];E.push("role: "+S),_&&E.push("placeholder: "+_.slice(0,40)),T&&E.push("name: "+T),x.nearbyHeading&&E.push("heading: "+x.nearbyHeading),E.push("parent: "+x.parentTag),y.push({selector:k,attribute:"aria-label",currentValue:"",issueType:"combobox_name_missing",wcag:"4.1.2",context:E.join(" | "),needsAI:true,outerHtml:(w.outerHTML||"").slice(0,300)});}),y},J1={name:"comboboxName",cap:30,async detect(f){return f.evaluate(IR)}};var LR=()=>{let p=[],y=S=>typeof parseCssColor=="function"?parseCssColor(S):null,h=(S,E,F)=>typeof relLuminance=="function"?relLuminance(S,E,F):0,m=(S,E)=>typeof contrastRatio=="function"?contrastRatio(S,E):1;function w(S){let E=String(S.backgroundImage||"none");if(E==="none")return false;if(/gradient\(/i.test(E))return true;if(!/url\(/i.test(E))return false;let F=String(S.backgroundRepeat||"").toLowerCase(),L=String(S.backgroundSize||"").toLowerCase(),O=F.split(",").map($=>$.trim()).some($=>$!==""&&$!=="no-repeat"),H=/cover|contain|100%/.test(L);return O||H}function v(S){let E=S,F=0;for(;E&&E!==document.documentElement&&F<12;){let L=getComputedStyle(E);if(w(L))return null;let O=y(L.backgroundColor||"");if(O&&O[3]>.5)return [O[0],O[1],O[2]];E=E.parentElement,F++;}return [255,255,255]}function b(S,E,F){return "#"+[S,E,F].map(L=>{let O=Math.max(0,Math.min(255,Math.round(L))).toString(16);return O.length===1?"0"+O:O}).join("")}function A(S,E,F){let O=h(E[0],E[1],E[2])>.5,H=0,$=1,z=null;for(let K=0;K<20;K++){let j=(H+$)/2,W=O?[S[0]*(1-j),S[1]*(1-j),S[2]*(1-j)]:[S[0]+(255-S[0])*j,S[1]+(255-S[1])*j,S[2]+(255-S[2])*j];m(W,E)>=F?(z=[Math.round(W[0]),Math.round(W[1]),Math.round(W[2])],$=j):H=j;}return z}let k=document.createTreeWalker(document.body,4),x=new Set,_=[],T=k.nextNode();for(;T;){if((T.textContent||"").trim().length>=2){let E=T.parentElement;E&&!x.has(E)&&(x.add(E),_.push(E));}T=k.nextNode();}for(let S of _){if(p.length>=30)break;if(isWidget(S)||isHiddenFromAT(S)||!isVisible(S))continue;let E=getComputedStyle(S),F=y(E.color||"");if(!F)continue;if(F[3]<.5){let Ie=E.webkitBackgroundClip||E.backgroundClip||"",Ce=E.backgroundImage||"";if(String(Ie).includes("text")&&/gradient\(/i.test(Ce)){let qe=Array.from(S.childNodes).filter(ke=>ke.nodeType===3).map(ke=>(ke.textContent||"").trim()).join("");qe&&p.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(qe.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 L=v(S),O=parseFloat(E.fontSize||"16"),H=parseInt(E.fontWeight||"400",10),z=O>=24||O>=18.66&&H>=700?3:4.5,K=Array.from(S.childNodes).filter(Ie=>Ie.nodeType===3).map(Ie=>(Ie.textContent||"").trim()).join("");if(!K)continue;let j=b(F[0],F[1],F[2]),W=uniqueSel(S);if(L===null){p.push({selector:W,attribute:"style",currentValue:j,message:"contrast: text "+j+" on a gradient or image background \u2014 the ratio cannot be computed from CSS; check it meets "+z+":1 where the background is lightest/darkest",issueType:"contrast_insufficient",wcag:"1.4.3",context:"fg="+j+" bg=<gradient-or-image> needs="+z+" text="+JSON.stringify(K.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=m([F[0],F[1],F[2]],L);if(Z>=z)continue;let te=A([F[0],F[1],F[2]],L,z);if(!te)continue;let ie=b(te[0],te[1],te[2]),re=b(L[0],L[1],L[2]),me="color:"+ie+" !important;";p.push({selector:W,attribute:"style",currentValue:j,message:"contrast: "+j+" on "+re+" is "+Z.toFixed(2)+":1, needs "+z+":1 \u2014 e.g. color "+ie,issueType:"contrast_insufficient",wcag:"1.4.3",context:"fg="+j+" bg="+re+" ratio="+Z.toFixed(2)+" needs="+z+" text="+JSON.stringify(K.slice(0,40)),needsAI:false,fixValue:me,outerHtml:S.outerHTML.slice(0,200)});}return p},Z1={name:"contrast",cap:30,async detect(f){return f.evaluate(LR)}};var PR=()=>{let f="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye]",y=[],h=document.querySelectorAll("marquee, blink");for(let A of Array.from(h)){if(y.length>=30)break;if(A.closest(f))continue;let k=typeof uniqueSel=="function"?uniqueSel(A):A.tagName.toLowerCase();y.push({selector:k,attribute:"aria-hidden",currentValue:A.getAttribute("aria-hidden")||"",issueType:"motion_uncontrollable",wcag:"2.2.2",context:`deprecated ${A.tagName.toLowerCase()} element \u2014 uncontrollable motion`,needsAI:false,needsReview:true,reviewReason:`Deprecated ${A.tagName.toLowerCase()} usually contains real content; WCAG 2.2.2 needs a pause/stop control, not aria-hidden which would hide the content from assistive tech.`,fixValue:"true",outerHtml:(A.outerHTML||"").slice(0,300)});}let m=document.querySelectorAll('img[src*=".gif" i], img[src$=".gif" i]');for(let A of Array.from(m)){if(y.length>=30)break;if(A.closest(f))continue;let k=A.getAttribute("src")||"";if(!/\.gif(\?|#|$)/i.test(k)||typeof isVisible=="function"&&!isVisible(A))continue;let x=A.getBoundingClientRect();if(x.width<=40&&x.height<=40)continue;let _=typeof uniqueSel=="function"?uniqueSel(A):"img";y.push({selector:_,attribute:"data-asw-motion-review",currentValue:"",issueType:"animated_gif_no_pause",wcag:"2.2.2",context:`animated GIF without pause control: ${k.split("/").pop()?.slice(0,60)||k.slice(-60)}`,needsAI:true,outerHtml:(A.outerHTML||"").slice(0,300)});}let w=document.querySelectorAll('meta[http-equiv="refresh"], meta[http-equiv="Refresh"], meta[http-equiv="REFRESH"]');for(let A of Array.from(w)){if(y.length>=30)break;let k=(A.getAttribute("content")||"").trim(),x=parseInt((k.split(/[;,]/)[0]||"").trim(),10);!Number.isFinite(x)||x<=0||y.push({selector:`meta[http-equiv="refresh"][content*="${k.slice(0,20)}"]`,attribute:"data-auto-refresh",currentValue:k,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,needsReview:true,reviewReason:`Auto-refresh via <meta http-equiv="refresh"> is not mechanically auto-fixable. Remove the meta tag, or replace it with an on-page control that lets users turn off, adjust, or extend the ${x}s time limit before it triggers.`,outerHtml:(A.outerHTML||"").slice(0,200)});}try{let A=!1,k=!1;for(let x of Array.from(document.styleSheets)){let _=null;try{_=x.cssRules;}catch{continue}if(_)for(let T of Array.from(_)){let S=T.cssText||"";if(/animation[^;]*\binfinite\b/i.test(S)&&/(keyframes|animation-name)/i.test(S+" "+(T.name||""))&&(A=!0),/prefers-reduced-motion[^{]*\(\s*reduce\s*\)/i.test(S)&&(k=!0),T.cssRules)for(let E of Array.from(T.cssRules)){let F=E.cssText||"";/animation[^;]*\binfinite\b/i.test(F)&&(A=!0);}}}A&&!k&&y.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 v=/\b(flash(ing)?|blink(ing)?|strobe)\b/i,b=document.querySelectorAll('[class*="flash" i], [class*="blink" i], [class*="strobe" i]');for(let A of Array.from(b)){if(y.length>=30)break;if(A.closest(f)||A.tagName==="BODY"||A.tagName==="HTML")continue;let k=A.className&&typeof A.className=="string"?A.className:"";if(!v.test(k)||typeof isVisible=="function"&&!isVisible(A))continue;let _=getComputedStyle(A).animationDuration,T=9999;if(_){let E=parseFloat(_);Number.isFinite(E)&&(T=/ms/i.test(_)?E:E*1e3);}if(T>333)continue;let S=typeof uniqueSel=="function"?uniqueSel(A):"";y.push({selector:S,attribute:"data-flashing-review",currentValue:"",issueType:"flashing_content",wcag:"2.3.1",context:`class matches flash/blink/strobe with ${T}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:(A.outerHTML||"").slice(0,300)});}return y},Q1={name:"cssAnimations",cap:30,async detect(f){return f.evaluate(PR)}};var MR=()=>{let p=[];function y(v){let b=(v.getAttribute("role")||"").toLowerCase();return b==="presentation"||b==="none"||(v.getAttribute("class")||"").toLowerCase().indexOf("layout")!==-1}function h(v){if(!v)return 0;let b=v.querySelectorAll("th, td"),A=0;for(let k=0;k<b.length;k++){let x=parseInt(b[k].getAttribute("colspan")||"1",10);A+=isNaN(x)||x<1?1:x;}return A}function m(v){let b=v.querySelectorAll("tr"),A=[];for(let k=0;k<b.length;k++){let x=b[k];x.closest("table")===v&&A.push(x);}return A}let w=document.querySelectorAll("table");for(let v=0;v<w.length&&!(p.length>=30);v++){let b=w[v];if(isWidget(b)||!isVisible(b)||y(b))continue;let A=m(b);if(A.length<=1)continue;let k=A[0],x=h(k);if(x<=1)continue;let _=uniqueSel(b),T=getNearbyContext(b),S=null,E=b.querySelectorAll("caption");for(let te=0;te<E.length;te++)if(E[te].closest("table")===b){S=E[te];break}let F=S?(S.textContent||"").trim():"",L=(b.getAttribute("aria-label")||"").trim(),O=(b.getAttribute("title")||"").trim(),H=b.getAttribute("aria-labelledby"),$="";if(H){let te=H.split(/\s+/);for(let ie=0;ie<te.length;ie++){let re=document.getElementById(te[ie]);re&&($+=" "+(re.textContent||""));}$=$.trim();}(!S||!F)&&!(L||$||O)&&p.length<30&&p.push({selector:_,attribute:"caption",currentValue:"",issueType:"missing_table_caption",wcag:"1.3.1",context:JSON.stringify({reason:S?"empty <caption>":"no <caption> element",rows:A.length,cols:x,nearbyHeading:T.nearbyHeading,parentTag:T.parentTag}),needsAI:true,outerHtml:(b.outerHTML||"").slice(0,300)});let K=null,j=b.querySelectorAll("thead");for(let te=0;te<j.length;te++)if(j[te].closest("table")===b){K=j[te];break}if(K&&K.querySelector("tr")!==null||p.length<30&&p.push({selector:_,attribute:"thead",currentValue:K?"empty":"",issueType:"missing_table_header",wcag:"1.3.1",context:JSON.stringify({reason:K?"<thead> has no <tr>":"no <thead> element",rows:A.length,cols:x,nearbyHeading:T.nearbyHeading}),needsAI:false,fixValue:"wrap-first-row",outerHtml:(b.outerHTML||"").slice(0,300)}),x>2){let te=k.querySelectorAll("th, td"),ie=te.length>0;for(let re=0;re<te.length;re++)if((te[re].tagName||"").toLowerCase()!=="td"){ie=false;break}if(ie)for(let re=0;re<te.length&&!(p.length>=30);re++){let me=te[re],Ie=uniqueSel(me),Ce=(me.textContent||"").trim().slice(0,60);p.push({selector:Ie,attribute:"role",currentValue:me.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:Ce,colIndex:re,nearbyHeading:T.nearbyHeading}),needsAI:false,fixValue:"columnheader",outerHtml:(me.outerHTML||"").slice(0,300)});}}let Z=b.querySelectorAll("th");for(let te=0;te<Z.length&&!(p.length>=30);te++){let ie=Z[te];if(ie.closest("table")!==b)continue;let re=(ie.getAttribute("scope")||"").trim().toLowerCase();if(re==="col"||re==="row"||re==="colgroup"||re==="rowgroup")continue;let me=ie.closest("tr"),Ie=ie.closest("thead")!==null,Ce=false;me&&A.length>0&&A[0]===me&&(Ce=true);let qe=false;if(me){let Ze=me.querySelectorAll("th, td");Ze.length>0&&Ze[0]===ie&&(qe=true);}let ke="col";Ie||Ce?ke="col":qe&&(ke="row");let ze=uniqueSel(ie),Ke=(ie.textContent||"").trim().slice(0,60);p.push({selector:ze,attribute:"scope",currentValue:re,issueType:"missing_table_scope",wcag:"1.3.1",context:JSON.stringify({reason:"<th> missing scope attribute",inferred:ke,inThead:Ie,firstRow:Ce,firstCol:qe,headerText:Ke}),needsAI:false,fixValue:ke,outerHtml:(ie.outerHTML||"").slice(0,300)});}}return p},eh={name:"dataTables",cap:30,async detect(f){return f.evaluate(MR)}};var OR=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI], [id*=ae_], [class*=ae-exclude]",y=[],h='a[href], button, input, select, textarea, summary, label, iframe, audio[controls], video[controls], [contenteditable=""], [contenteditable="true"], [tabindex]:not([tabindex="-1"]), [role="button"], [role="link"], [role="menuitem"], [role="menuitemcheckbox"], [role="menuitemradio"], [role="tab"], [role="option"], [role="checkbox"], [role="radio"], [role="switch"], [role="combobox"], [role="textbox"], [role="searchbox"], [role="slider"], [role="spinbutton"]',m=S=>{try{return !!(S.querySelector&&S.querySelector(h))}catch{return false}},w=new Set(["fa","fas","far","fab","fal","fad","material-icons","material-symbols","bi","glyphicon"]),v=["fa-","bi-","icon-","icofont-","dashicons-","heroicon","feather-","lucide-"],b=["spinner","loading","spin","loader","pulse"],A=document.querySelectorAll('i, span[class*="icon"], span[class*="fa-"], span[class*="bi-"], span[class*="material"]');for(let S of A){if(y.length>=50)break;if(S.closest(f)||isHiddenFromAT(S)||!isVisible(S))continue;let E=S.className&&typeof S.className=="string"?S.className.toLowerCase():"";if(!E.split(/\s+/).filter(Boolean).some(z=>w.has(z)||v.some(K=>z.startsWith(K)))||S.closest(h)||m(S)||Array.from(S.children).some(z=>/[\p{L}\p{N}]/u.test(z.textContent||"")))continue;let H=b.some(z=>E.includes(z)),$=uniqueSel(S);y.push({selector:$,attribute:"aria-hidden",currentValue:"",issueType:"decorative_icon",wcag:"1.1.1",context:H?"spinner/loader icon":"icon classes: "+E.slice(0,80),needsAI:false,fixValue:"true",outerHtml:S.outerHTML.slice(0,300)});}let k=document.querySelectorAll("svg");for(let S of k){if(y.length>=50)break;if(S.closest(f)||isHiddenFromAT(S)||!isVisible(S)||S.closest(h)||m(S))continue;let E=S.getAttribute("aria-label")||"",F=S.getAttribute("aria-labelledby")||"",L=S.querySelector("title"),O=L?(L.textContent||"").trim():"",H=S.getAttribute("role");if(E.trim()||F.trim()||O||H==="img")continue;let $=S.getBoundingClientRect(),z=$.width<=16&&$.height<=16,K=S.parentElement?(S.parentElement.textContent||"").trim().replace(/\s+/g," "):"",j=$.width<=4||$.height<=4,W=S.getAttribute("preserveAspectRatio")==="none";if(!z&&K.length<=3&&!j&&!W)continue;let Z=uniqueSel(S);y.push({selector:Z,attribute:"aria-hidden",currentValue:"",issueType:"decorative_icon",wcag:"1.1.1",context:"decorative SVG without title or aria-label",needsAI:false,fixValue:"true",outerHtml:S.outerHTML.slice(0,300)});}let x=S=>S.indexOf(":")!==-1?false:/^(?:[a-z0-9]+[-_])*(?:disabled|inactive)$/i.test(S),_=document.querySelectorAll('[class*="disabled"], [class*="inactive"], [aria-disabled="true"]');for(let S of _){if(y.length>=50)break;if(S.closest(f)||isHiddenFromAT(S))continue;let E=S.tagName.toLowerCase();if(!(E==="a"||E==="button"||E==="input"||E==="select"||E==="textarea"||S.getAttribute("role")==="button"||S.getAttribute("role")==="link"||S.getAttribute("role")==="tab")||S.hasAttribute("disabled"))continue;let L=S.className&&typeof S.className=="string"?S.className:"",O=L.split(/\s+/).some(x),H=S.getAttribute("aria-disabled")==="true",$=getComputedStyle(S).pointerEvents==="none";if(!H&&!(O&&$))continue;let z=S.getAttribute("tabindex")!=="-1"||m(S),K=uniqueSel(S);y.push({selector:K,attribute:"aria-hidden",currentValue:"",issueType:"decorative_icon",wcag:"1.1.1",context:"disabled/inactive element still exposed to assistive technology: "+L.toLowerCase().slice(0,60),needsAI:false,fixValue:"true",...z?{needsReview:true,reviewReason:"element is still keyboard-focusable; aria-hidden would create a hidden focusable element \u2014 remove it from the tab order first or confirm intent"}:{},outerHtml:S.outerHTML.slice(0,300)});}let T=document.querySelectorAll('[class*="visuallyHidden"], [class*="visually-hidden"], [class*="sr-only"], [class*="screenreader"]');for(let S of T){if(y.length>=50)break;if(S.closest(f)||isHiddenFromAT(S))continue;let E=S.querySelectorAll('a[href], button, input, select, textarea, [tabindex]:not([tabindex="-1"])');if(E.length===0)continue;let F=uniqueSel(S);y.push({selector:F,attribute:"aria-hidden",currentValue:"",issueType:"decorative_icon",wcag:"1.1.1",context:"sr-only/visually-hidden container with "+E.length+" focusable children (keyboard trap risk)",needsAI:false,fixValue:"true",needsReview:true,reviewReason:"container has "+E.length+' keyboard-focusable descendant(s); aria-hidden="true" alone would create hidden focusables \u2014 also set tabindex="-1" on those children or confirm intent',outerHtml:S.outerHTML.slice(0,300)});}return y},th={name:"decorativeIcons",cap:50,async detect(f){return f.evaluate(OR)}};var NR=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",y=[],h=new Map,m=document.querySelectorAll("[id]");for(let w of m){if(w.closest(f))continue;let v=(w.getAttribute("id")||"").trim();if(!v)continue;let b=h.get(v);b?b.push(w):h.set(v,[w]);}for(let[w,v]of h)if(!(v.length<=1)){if(y.length<50){let b=v[0];y.push({selector:typeof uniqueSel=="function"?uniqueSel(b):b.tagName.toLowerCase(),attribute:"id",currentValue:w,issueType:"duplicate_id",wcag:"4.1.1",context:'id "'+w+'" is shared by '+v.length+" elements; this is the canonical first occurrence (kept \u2014 references resolve here). Later occurrences carry rename fixes.",needsAI:false,needsReview:true,reviewReason:"first occurrence of a duplicated id \u2014 shown for completeness; renaming it would break references, so the fix targets the later occurrences",outerHtml:(b.outerHTML||"").slice(0,300)});}for(let b=1;b<v.length&&!(y.length>=50);b++){let A=v[b],k=b+1,x=w+"-"+k,_=A.tagName.toLowerCase(),T=A.parentElement,S=_;if(T){let E=Array.from(T.children).filter(L=>L.tagName===A.tagName);if(E.length>1){let L=E.indexOf(A)+1;S=_+":nth-of-type("+L+")";}let F=T.tagName.toLowerCase();if(T.id&&T.id!==w)S="#"+CSS.escape(T.id)+" > "+S;else {let L=T.parentElement;if(L){let O=Array.from(L.children).filter(H=>H.tagName===T.tagName);if(O.length>1){let H=O.indexOf(T)+1;S=F+":nth-of-type("+H+") > "+S;}else S=F+" > "+S;}}}y.push({selector:S,attribute:"id",currentValue:w,issueType:"duplicate_id",wcag:"4.1.1",context:"duplicate #"+k+' of id="'+w+'" | tag: <'+_+">",needsAI:false,fixValue:x});}}return y},rh={name:"duplicateIds",cap:50,async detect(f){return f.evaluate(NR)}};var qR=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",p=/^[^\p{L}\p{N}\s]*$/u,y=/^[\s\u00A0\u2000-\u200F\u2028-\u202F]*$/,m=[],w=document.querySelectorAll("a");for(let v of w){if(m.length>=50)break;if(v.closest(f)||v.getAttribute("aria-hidden")==="true"||v.getAttribute("role")==="presentation"||v.closest('[aria-hidden="true"]')||!isVisible(v))continue;let b=getAccessibleName(v);if(b&&b.length>0&&!y.test(b)&&!p.test(b))continue;let A=v.querySelectorAll("img[alt]"),k="";for(let z of A){let K=(z.getAttribute("alt")||"").trim();K&&(k+=K+" ");}if(k.trim())continue;let x=v.getAttribute("aria-labelledby");if(x&&typeof __resolveIdRefs=="function"&&__resolveIdRefs(x))continue;let _=uniqueSel(v),T=v.getAttribute("href")||"",S=(v.textContent||"").trim(),E=getNearbyContext(v),F="";S&&y.test(S)?F="[whitespace only]":S&&p.test(S)&&(F=S);let L="",O=true;if(T&&T!=="#"&&!T.startsWith("javascript:")){if(T.startsWith("mailto:")){let z=T.slice(7).split("?")[0];z&&z.includes("@")&&(L="Email "+z,O=false);}else if(T.startsWith("tel:")){let z=T.slice(4);try{z=decodeURIComponent(z);}catch{}z=z.replace(/^\+/,"").trim(),z&&(L="Call "+z,O=false);}}let H=[];v.closest("nav")&&H.push("inside nav"),E.nearbyHeading&&H.push("heading: "+E.nearbyHeading),T&&H.push("href: "+T.slice(0,120)),H.push("parent: "+E.parentTag);let $={selector:_,attribute:"aria-label",currentValue:F,issueType:"empty_link",wcag:"2.4.4",context:H.join(" | "),needsAI:O,outerHtml:v.outerHTML.slice(0,300)};!O&&L&&($.fixValue=L),m.push($);}return m},ah={name:"emptyLinks",cap:50,async detect(f){return f.evaluate(qR)}};var BR=()=>{let p=[],y=new Set;function h(x){return (x||"").trim()}function m(x){let _=h(x.getAttribute("aria-label")||"");if(_)return _;let T=x.getAttribute("aria-labelledby");if(T){let E=T.split(/\s+/),F="";for(let L=0;L<E.length;L++){let O=document.getElementById(E[L]);O&&(F+=" "+(O.textContent||""));}if(h(F))return h(F)}let S=h(x.getAttribute("title")||"");return S||""}let w=document.querySelectorAll("fieldset");for(let x=0;x<w.length&&!(p.length>=30);x++){let _=w[x];if(isWidget(_)||!isVisible(_)||isHiddenFromAT(_))continue;if(m(_)){y.add(_);continue}let T=null,S=_.querySelectorAll("legend");for(let $=0;$<S.length;$++)if(S[$].closest("fieldset")===_){T=S[$];break}let E=T!==null,F=T?h(T.textContent||""):"";if(E&&F){y.add(_);continue}let L=getNearbyContext(_),O=_.querySelectorAll("input, select, textarea"),H=uniqueSel(_);p.push({selector:H,attribute:"aria-label",currentValue:"",issueType:"missing_fieldset_legend",wcag:"1.3.1",context:JSON.stringify({reason:E?"fieldset has empty <legend>":"fieldset missing <legend>",controlCount:O.length,nearbyHeading:L.nearbyHeading,parentTag:L.parentTag}),needsAI:true,outerHtml:(_.outerHTML||"").slice(0,300)}),y.add(_);}let v=document.querySelectorAll('[role="group"], [role="radiogroup"]');for(let x=0;x<v.length&&!(p.length>=30);x++){let _=v[x];if(isWidget(_)||!isVisible(_)||isHiddenFromAT(_)||y.has(_))continue;if(m(_)){y.add(_);continue}let T=_.getAttribute("role")||"",S=getNearbyContext(_),E=_.querySelectorAll("input, select, textarea"),F=uniqueSel(_);p.push({selector:F,attribute:"aria-label",currentValue:"",issueType:"missing_fieldset_legend",wcag:"1.3.1",context:JSON.stringify({reason:'role="'+T+'" container without accessible name',role:T,controlCount:E.length,nearbyHeading:S.nearbyHeading,parentTag:S.parentTag}),needsAI:true,outerHtml:(_.outerHTML||"").slice(0,300)}),y.add(_);}let b={},A=document.querySelectorAll('input[type="radio"], input[type="checkbox"]');for(let x=0;x<A.length;x++){let _=A[x];if(isWidget(_)||!isVisible(_)||isHiddenFromAT(_))continue;let T=_.getAttribute("name")||"";if(!T)continue;let S=_.closest("form"),E=S?S.getAttribute("id")||S.getAttribute("action")||S.tagName:"no-form",F=(_.getAttribute("type")||"").toLowerCase(),L=E+"::"+F+"::"+T;b[L]||(b[L]=[]),b[L].push(_);}let k=Object.keys(b);for(let x=0;x<k.length&&!(p.length>=30);x++){let _=b[k[x]];if(_.length<3)continue;let T=_[0],S=T.closest('fieldset, [role="group"], [role="radiogroup"]'),E=false;if(S){E=true;for(let z=1;z<_.length;z++)if(!S.contains(_[z])){E=false;break}}if(E&&S)continue;let F=T.parentElement;for(;F&&F!==document.body;){let z=true;for(let K=1;K<_.length;K++)if(!F.contains(_[K])){z=false;break}if(z)break;F=F.parentElement;}if(!F||F===document.body||y.has(F))continue;let L=(T.getAttribute("type")||"").toLowerCase(),O=T.getAttribute("name")||"",H=getNearbyContext(T),$=uniqueSel(F);p.push({selector:$,attribute:"role",currentValue:F.getAttribute("role")||"",issueType:"missing_fieldset_legend",wcag:"1.3.1",context:JSON.stringify({reason:"unwrapped "+L+" group ("+_.length+' inputs share name="'+O+'")',inputType:L,inputCount:_.length,name:O,nearbyHeading:H.nearbyHeading,parentTag:H.parentTag}),needsAI:false,fixValue:L==="radio"?"radiogroup":"group",outerHtml:(F.outerHTML||"").slice(0,300)}),y.add(F);}return p},nh={name:"fieldsetLegend",cap:30,async detect(f){return f.evaluate(BR)}};var HR=()=>{let f=[],p=document.querySelectorAll('header, nav, div, [class*="header"], [class*="navbar"], [class*="sticky"], [role="banner"]'),y=0;for(let h of Array.from(p)){let m=getComputedStyle(h);if(m.display==="none"||m.visibility==="hidden"||m.position!=="sticky"&&m.position!=="fixed")continue;let w=h.getBoundingClientRect();if(w.top>50||w.bottom<=0)continue;let v=Math.round(w.height);v<40||v>240||v>y&&(y=v);}if(y>0){let h=window.scrollX,m=window.scrollY,w=0,v=0;try{let A=[],k=new Set;document.querySelectorAll('a[href^="#"]').forEach(x=>{let _=x.getAttribute("href").slice(1);if(!_)return;let T=document.getElementById(_);T&&!k.has(T)&&(k.add(T),A.push(T));});for(let x of A){if(v>=8)break;let _=getComputedStyle(x);if(_.display==="none"||_.visibility==="hidden")continue;v++,x.scrollIntoView({block:"start"});let T=x.getBoundingClientRect(),S=Math.max(T.height,1);Math.max(0,Math.min(T.bottom,y)-Math.max(T.top,0))/Math.min(S,y)>=.5&&w++;}}catch{}try{window.scrollTo(h,m);}catch{}let b=`scroll-margin-top: ${y+8}px; scroll-padding-top: ${y+8}px;`;v>0&&w>0?f.push({selector:"html",attribute:"style",currentValue:"",issueType:"focus_obscured_by_sticky",wcag:"2.4.11",context:`sticky header height: ${y}px \u2014 ${w}/${v} in-page anchor targets land under it on jump`,needsAI:false,fixValue:b}):v===0&&f.push({selector:"html",attribute:"style",currentValue:"",issueType:"focus_obscured_by_sticky",wcag:"2.4.11",context:`sticky header height: ${y}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:b});}return f},ih={name:"focusObscured",async detect(f){return f.evaluate(HR)}};var oh={name:"focusVisible",cap:40,async detect(f){let p=typeof f.keyboard?.press=="function";if(p)try{await f.keyboard.press("Tab");}catch{}return f.evaluate(y=>{let m=[],w=["a[href]","button",'input:not([type="hidden"])',"select","textarea",'[role="button"]','[role="link"]','[role="menuitem"]','[role="tab"]','[tabindex]:not([tabindex="-1"])'].join(","),v=document.querySelectorAll(w),b=document.activeElement;for(let A of v){if(m.length>=40)break;if(typeof isWidget=="function"&&isWidget(A)||typeof isHiddenFromAT=="function"&&isHiddenFromAT(A)||typeof isVisible=="function"&&!isVisible(A)||!A.offsetParent&&A.tagName!=="BODY")continue;let k=getComputedStyle(A),x=k.outline,_=k.outlineWidth,T=k.outlineStyle,S=k.boxShadow,E=k.border,F=k.backgroundColor;try{A.focus({preventScroll:!0});}catch{continue}if(document.activeElement!==A)continue;let L=getComputedStyle(A),O=L.outline,H=(L.outlineStyle||"").toLowerCase(),$=parseFloat(L.outlineWidth||"0"),z=L.boxShadow,K=L.border,j=L.backgroundColor,W=O!==x,Z=H!=="none"&&H!=="hidden"&&$>0;if(W&&Z||z!==S&&z!=="none"&&z!==""||K!==E||j!==F||parseFloat(_)>0&&T!=="none")continue;let Ie=typeof uniqueSel=="function"?uniqueSel(A):A.tagName.toLowerCase();m.push({selector:Ie+":focus-visible",attribute:"style",currentValue:T+" "+_,issueType:"focus_not_visible",wcag:"2.4.7",context:`${A.tagName.toLowerCase()} has no visible focus indicator \u2014 outline, box-shadow, border, and background all unchanged on focus`,needsAI:false,fixValue:"outline: 2px solid #2563eb !important;outline-offset: 2px !important;",outerHtml:A.outerHTML.slice(0,200),...y?{}:{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{b?b.focus({preventScroll:!0}):document.activeElement?.blur();}catch{}return m},p)}};var VR=()=>{let p=[],y=["new","register","signup","sign-up","sign_up","create","change","reset"],h=["confirm","verify","retype","re-type","repeat","again"];function m(x){if(!x)return false;let _=" "+((x.id||"")+" "+(x.className||"")+" "+(x.getAttribute("name")||"")+" "+(x.getAttribute("action")||"")).toLowerCase()+" ";for(let T=0;T<y.length;T++)if(_.indexOf(y[T])!==-1)return true;return false}function w(x){let _=((x.getAttribute("name")||"")+" "+(x.getAttribute("id")||"")+" "+(x.getAttribute("placeholder")||"")+" "+(x.getAttribute("aria-label")||"")).toLowerCase();for(let T=0;T<h.length;T++)if(_.indexOf(h[T])!==-1)return true;return false}let v=document.querySelectorAll("input[pattern]");for(let x of v){if(p.length>=30)break;let _=x;if(isWidget(_)||isHiddenFromAT(_)||!isVisible(_)||(_.getAttribute("title")||"").trim()||(_.getAttribute("aria-describedby")||"").trim())continue;let E=uniqueSel(_),F=(_.getAttribute("pattern")||"").slice(0,80),L=_.getAttribute("name")||"",O=_.getAttribute("placeholder")||"";p.push({selector:E,attribute:"title",currentValue:"",issueType:"missing_pattern_title",wcag:"3.3.2",context:"pattern: "+F+" | name: "+L+" | placeholder: "+O,needsAI:true,outerHtml:(_.outerHTML||"").slice(0,300)});}let b=document.querySelectorAll('input[type="password"], input[type="Password"]');for(let x of b){if(p.length>=30)break;let _=x;if(isWidget(_)||isHiddenFromAT(_)||!isVisible(_))continue;let T=(_.getAttribute("autocomplete")||"").trim().toLowerCase();if(w(_)){if(T==="new-password")continue;let O=uniqueSel(_);p.push({selector:O,attribute:"autocomplete",currentValue:T,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(T)continue;let E=_.form||_.closest("form"),F=m(E),L=uniqueSel(_);p.push({selector:L,attribute:"autocomplete",currentValue:"",issueType:"missing_autocomplete",wcag:"1.3.5",context:(F?"new/signup/change password form":"login form")+" | name: "+(_.getAttribute("name")||"")+" | id: "+(_.getAttribute("id")||""),needsAI:false,fixValue:F?"new-password":"current-password",outerHtml:(_.outerHTML||"").slice(0,300)});}let A=document.querySelectorAll("form"),k=/\*|\brequired\b|\bmandatory\b/i;for(let x of A){if(p.length>=30)break;let _=x;if(isWidget(_)||!isVisible(_))continue;let T=_.querySelectorAll("input[required], select[required], textarea[required]");if(!T.length)continue;let S=0;for(let H of T)isVisible(H)&&S++;if(S===0)continue;let E=_.querySelectorAll('input:not([type="hidden"]):not([type="submit"]):not([type="button"]), select, textarea'),F=0;for(let H of E)isVisible(H)&&F++;if(S>=F||(_.getAttribute("data-asw-required-hint")||"").trim())continue;let L=(_.textContent||"").trim();if(k.test(L))continue;let O=uniqueSel(_);p.push({selector:O,attribute:"data-asw-required-hint",currentValue:"",issueType:"missing_required_indicator",wcag:"3.3.2",context:`form has ${S} required input(s) but no visible "*" / "required" / "mandatory" marker`,needsAI:true,outerHtml:(_.outerHTML||"").slice(0,300)});}return p},sh={name:"formAttributes",cap:30,async detect(f){return f.evaluate(VR)}};var jR=()=>{let p=[],y=Array.from(document.querySelectorAll('h1, h2, h3, h4, h5, h6, [role="heading"]')).filter(v=>{if(isWidget(v)||v.getAttribute("aria-hidden")==="true"||v.closest('[aria-hidden="true"]')||v.getClientRects().length===0)return false;let b=getComputedStyle(v).visibility;return !(b==="hidden"||b==="collapse")});if(y.length===0)return p;let h='main, header, footer, aside, nav, section, article, [role="main"], [role="banner"], [role="contentinfo"], [role="complementary"], [role="navigation"], [role="region"], [role="dialog"]',m=new Map,w=0;for(let v of y){if(p.length>=50)break;let b;if(v.getAttribute("role")==="heading"){let E=v.getAttribute("aria-level");b=E?parseInt(E,10):2;}else b=parseInt(v.tagName.charAt(1),10);if(isNaN(b)||b<1||b>6)continue;let k=v.closest(h)||document.body,x=m.get(k)??0,_=uniqueSel(v),T=(v.textContent||"").trim().slice(0,80),S=v.outerHTML.slice(0,300);if(b===1&&(w++,w>1&&(p.push({selector:_,attribute:"data-multiple-h1",currentValue:"1",issueType:"multiple_h1",wcag:"1.3.1",context:JSON.stringify({headingText:T,h1Number:w,suggestion:"Demote to h2 \u2014 only one h1 per page (retag the element; aria-level is ignored on native headings)"}),needsAI:false,outerHtml:S}),b=2)),x>0&&b>x+1){let E=x+1;p.push({selector:_,attribute:"data-heading-skip",currentValue:String(b),issueType:"heading_skip",wcag:"1.3.1",context:JSON.stringify({reason:"level_skip",headingText:T,currentLevel:b,previousLevel:x,expectedLevel:E,suggestion:"Should be h"+E+" (was h"+b+", previous was h"+x+") \u2014 retag the element"}),needsAI:false,needsReview:true,reviewReason:"level skips need a human retag \u2014 aria-level is ignored on native headings and never clears on rescan",outerHtml:S});}m.set(k,b);}return p},lh={name:"headingHierarchy",cap:50,async detect(f){return f.evaluate(jR)}};var $R=()=>{let f="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=EquallyAI],[id*=ae_],[class*=ae-exclude],[id*=goog-gt],[class*=goog-te]",y=[],h=new Set;function m(w){let v=w,b=0;for(;v&&v!==document.body&&b<6;){if(v.getAttribute("aria-hidden")==="true")return true;v=v.parentElement,b++;}return false}return document.querySelectorAll('[aria-disabled=true]:not([tabindex="-1"]), .disabled:not([tabindex="-1"])').forEach(w=>{if(y.length>=50||w.closest(f)||!w.matches("a[href], button, [role=button]")||m(w))return;let v=getComputedStyle(w);if(v.display==="none"||v.visibility==="hidden")return;let b=uniqueSel(w);h.has(b)||(h.add(b),y.push({selector:b,attribute:"tabindex",currentValue:w.getAttribute("tabindex")||"",issueType:"decorative_icon",wcag:"4.1.2",context:"disabled element still keyboard-focusable",needsAI:false,fixValue:"-1",needsReview:true,reviewReason:'element is aria-disabled/.disabled but still tabbable; removing it from the tab order changes keyboard behavior \u2014 confirm the control should be unreachable before applying tabindex="-1"'}));}),document.querySelectorAll("iframe").forEach(w=>{if(y.length>=50||w.closest(f)||m(w))return;let v=getComputedStyle(w),b=parseInt(v.width)||0,A=parseInt(v.height)||0;if((b===0||A===0)&&w.getAttribute("aria-hidden")!=="true"){let k=uniqueSel(w);if(h.has(k))return;h.add(k),y.push({selector:k,attribute:"aria-hidden",currentValue:"",issueType:"decorative_icon",wcag:"4.1.2",context:"zero-size iframe without aria-hidden",needsAI:false,fixValue:"true"});}}),y},uh={name:"hiddenInteractive",cap:50,async detect(f){return f.evaluate($R)}};var zR=()=>{let f=document.documentElement;return f?(f.getAttribute("lang")||"").trim()?[]:[{selector:"html",attribute:"lang",currentValue:"",issueType:"missing_semantic_role",wcag:"3.1.1",context:"Document language not declared",needsAI:false,fixValue:"en"}]:[]},ch={name:"htmlLang",async detect(f){return f.evaluate(zR)}};var GR=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",y=[],h=[{pattern:"youtube",title:"YouTube video"},{pattern:"youtu.be",title:"YouTube video"},{pattern:"vimeo",title:"Vimeo video"},{pattern:"google.com/maps",title:"Google Maps"},{pattern:"pay.google.com",title:"Google Pay"},{pattern:"recaptcha",title:"reCAPTCHA verification"},{pattern:"facebook",title:"Facebook widget"},{pattern:"twitter",title:"Twitter widget"},{pattern:"x.com",title:"Twitter widget"},{pattern:"instagram",title:"Instagram widget"},{pattern:"calendly",title:"Scheduling widget"}],m=/^(iframe|embed|widget|frame|content|untitled)$/i,w=document.querySelectorAll("iframe");for(let v of w){if(y.length>=50)break;if(v.closest(f))continue;let b=(v.getAttribute("aria-hidden")||"").trim(),A=(v.getAttribute("role")||"").trim().toLowerCase();if(b==="true"||A==="presentation")continue;let k=getComputedStyle(v);if(v.getClientRects().length===0||k.visibility==="hidden"||k.visibility==="collapse"||(v.getAttribute("src")||"").trim().toLowerCase().indexOf("javascript:")===0)continue;let x=(v.getAttribute("title")||"").trim(),_=x.length===0,T=!_&&(x.length<3||m.test(x));if(!_&&!T)continue;let S=(v.getAttribute("src")||"").toLowerCase(),E=uniqueSel(v),F=getNearbyContext(v),L="src: "+S.slice(0,120)+(F.nearbyHeading?" | heading: "+F.nearbyHeading:""),O=false;for(let H of h)if(S.includes(H.pattern)){y.push({selector:E,attribute:"title",currentValue:x,issueType:"missing_label",wcag:"4.1.2",context:L,needsAI:false,fixValue:H.title,outerHtml:v.outerHTML.slice(0,300)}),O=true;break}!O&&_&&y.push({selector:E,attribute:"title",currentValue:x,issueType:"missing_label",wcag:"4.1.2",context:L,needsAI:true,outerHtml:v.outerHTML.slice(0,300)});}return y},dh={name:"iframeTitle",cap:50,async detect(f){return f.evaluate(GR)}};var WR=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",p=["hidden","submit","button","reset","image","checkbox","radio","file","range","color"],h=[],m={email:"email",tel:"tel",password:"current-password"},w=[{pattern:"organization",autocomplete:"organization"},{pattern:"telephone",autocomplete:"tel"},{pattern:"first-name",autocomplete:"given-name"},{pattern:"first_name",autocomplete:"given-name"},{pattern:"last-name",autocomplete:"family-name"},{pattern:"last_name",autocomplete:"family-name"},{pattern:"firstname",autocomplete:"given-name"},{pattern:"postcode",autocomplete:"postal-code"},{pattern:"birthday",autocomplete:"bday"},{pattern:"lastname",autocomplete:"family-name"},{pattern:"province",autocomplete:"address-level1"},{pattern:"username",autocomplete:"username"},{pattern:"website",autocomplete:"url"},{pattern:"address",autocomplete:"street-address"},{pattern:"company",autocomplete:"organization"},{pattern:"country",autocomplete:"country"},{pattern:"mobile",autocomplete:"tel"},{pattern:"postal",autocomplete:"postal-code"},{pattern:"street",autocomplete:"street-address"},{pattern:"e-mail",autocomplete:"email"},{pattern:"email",autocomplete:"email"},{pattern:"phone",autocomplete:"tel"},{pattern:"state",autocomplete:"address-level1"},{pattern:"fname",autocomplete:"given-name"},{pattern:"lname",autocomplete:"family-name"},{pattern:"city",autocomplete:"address-level2"},{pattern:"bday",autocomplete:"bday"},{pattern:"name",autocomplete:"name"},{pattern:"zip",autocomplete:"postal-code"},{pattern:"url",autocomplete:"url"}],v=document.querySelectorAll("input, select, textarea");for(let b of v){if(h.length>=50)break;if(b.closest(f))continue;let A=b,k=(A.getAttribute("type")||"text").toLowerCase();if(p.includes(k)||A.getAttribute("autocomplete")||!isVisible(A))continue;let x="";if(m[k]&&(x=m[k]),!x){let T=(A.getAttribute("name")||"").toLowerCase(),S=(A.getAttribute("id")||"").toLowerCase(),E=(A.getAttribute("placeholder")||"").toLowerCase(),F=T+" "+S+" "+E;for(let L of w)if(F.includes(L.pattern)){x=L.autocomplete;break}}if(!x)continue;let _=uniqueSel(A);h.push({selector:_,attribute:"autocomplete",currentValue:"",issueType:"identify_input_purpose",wcag:"1.3.5",context:"type: "+k+" | name: "+(A.getAttribute("name")||"")+" | id: "+(A.getAttribute("id")||""),needsAI:false,fixValue:x});}return h},fh={name:"inputPurpose",cap:50,async detect(f){return f.evaluate(WR)}};var UR=()=>{let p=[],y={alert:true,alertdialog:true,application:true,article:true,banner:true,blockquote:true,button:true,caption:true,cell:true,checkbox:true,code:true,columnheader:true,combobox:true,command:true,comment:true,complementary:true,composite:true,contentinfo:true,definition:true,deletion:true,dialog:true,directory:true,document:true,emphasis:true,feed:true,figure:true,form:true,generic:true,grid:true,gridcell:true,group:true,heading:true,img:true,input:true,insertion:true,landmark:true,link:true,list:true,listbox:true,listitem:true,log:true,main:true,marquee:true,math:true,menu:true,menubar:true,menuitem:true,menuitemcheckbox:true,menuitemradio:true,meter:true,navigation:true,none:true,note:true,option:true,paragraph:true,presentation:true,progressbar:true,radio:true,radiogroup:true,range:true,region:true,roletype:true,row:true,rowgroup:true,rowheader:true,scrollbar:true,search:true,searchbox:true,section:true,sectionhead:true,select:true,separator:true,slider:true,spinbutton:true,status:true,strong:true,structure:true,subscript:true,suggestion:true,superscript:true,switch:true,tab:true,table:true,tablist:true,tabpanel:true,term:true,textbox:true,time:true,timer:true,toolbar:true,tooltip:true,tree:true,treegrid:true,treeitem:true,widget:true,window:true},h=document.querySelectorAll("[role]");for(let m of h){if(p.length>=20)break;let w=m;if(isWidget(w))continue;let v=(w.getAttribute("role")||"").trim().toLowerCase();if(!v)continue;let b=v.split(/\s+/).filter(Boolean);if(b.length===0)continue;let A=true,k="";for(let x=0;x<b.length;x++)if(!y[b[x]]){A=false,k=b[x];break}A||p.push({selector:uniqueSel(w),attribute:"remove_attribute",currentValue:v,issueType:"invalid_aria_role",wcag:"4.1.2",context:'invalid ARIA role: "'+k+'" \u2014 removing',needsAI:false,fixValue:"role",outerHtml:(w.outerHTML||"").slice(0,300)});}return p},ph={name:"invalidAriaRole",cap:20,async detect(f){return f.evaluate(UR)}};var XR=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",y=[],h=['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(v){let b=v.getBoundingClientRect();if(b.width===0&&b.height===0)return false;let A=-window.scrollX,k=-window.scrollY,x=document.documentElement,_=getComputedStyle(v).position;if(_==="fixed")return false;let T=_==="absolute";for(let S=v.parentElement;S&&S!==document.body&&S!==x;S=S.parentElement){let E=getComputedStyle(S);if(T){if(E.position==="static")continue;T=false;}if(/auto|scroll/.test(E.overflowX+" "+E.overflowY))return false;let F=E.overflowX==="hidden"||E.overflowX==="clip",L=E.overflowY==="hidden"||E.overflowY==="clip";if(!F&&!L)continue;let O=S.getBoundingClientRect();if(F&&(b.right<=O.left||b.left>=O.right)||L&&(b.bottom<=O.top||b.top>=O.bottom))return true;if(_=E.position,_==="fixed")return false;_==="absolute"&&(T=true);}return b.right<=A||b.bottom<=k||b.left>=A+x.scrollWidth||b.top>=k+x.scrollHeight}let w=document.querySelectorAll(h);for(let v of w){if(y.length>=30)break;if(v.closest(f)||!v.hasAttribute("tabindex"))continue;let b=v.getAttribute("tabindex")||"",A=parseInt(b,10);if(!Number.isFinite(A)||A===0||v.getAttribute("aria-disabled")==="true"||v.getAttribute("aria-hidden")==="true"||v.closest('[aria-hidden="true"]')||v.closest("[hidden]"))continue;let k=v.closest('[role="dialog"],[role="alertdialog"],dialog,[role="menu"],[role="listbox"]');if(k&&!(k.hasAttribute("open")||k.getAttribute("aria-modal")==="true"||k.getAttribute("aria-hidden")!=="true")||typeof isVisible=="function"&&!isVisible(v)||A<0&&m(v))continue;let x=(v.getAttribute("role")||"").toLowerCase();if(A<0&&v.closest('[role="tablist"],[role="menu"],[role="menubar"],[role="listbox"],[role="tree"],[role="treegrid"],[role="grid"],[role="radiogroup"],[role="toolbar"]'))continue;let T=typeof uniqueSel=="function"?uniqueSel(v):"",S=typeof getNearbyContext=="function"?getNearbyContext(v):{parentTag:v.tagName.toLowerCase(),nearbyHeading:""},E,F;A<0?(E="keyboard_trap",F="2.1.1"):(E="focus_order_disruption",F="2.4.3");let L=[];L.push("tabindex: "+A),L.push("tag: "+v.tagName.toLowerCase()),x&&L.push("role: "+x),S.nearbyHeading&&L.push("heading: "+S.nearbyHeading),L.push("parent: "+S.parentTag),y.push({selector:T,attribute:"tabindex",currentValue:String(A),issueType:E,wcag:F,context:L.join(" | "),needsAI:false,fixValue:"0",outerHtml:(v.outerHTML||"").slice(0,300)});}return y},mh={name:"keyboardTrap",cap:30,async detect(f){return f.evaluate(XR)}};var YR=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",y=[],m=document.querySelectorAll('button, a[href], [role="button"], [role="link"], input[type="submit"], input[type="button"]');for(let w of Array.from(m)){if(y.length>=40)break;if(w.closest(f)||typeof isVisible=="function"&&!isVisible(w))continue;let v="",b=[],A=[];try{let ie=/(?:^|[\s_-])(?:icon|material-icons|material-symbols(?:-\w+)?|fa|fas|far|fab|fal|glyphicon|dashicons)(?:[\s_-]|$)/i,re=/icon|awesome|glyph|material symbols|dashicons/i,me=!1;try{me=re.test(getComputedStyle(w).fontFamily||"");}catch{}let Ie=document.createTreeWalker(w,NodeFilter.SHOW_TEXT),Ce;for(;Ce=Ie.nextNode();){let Ke=Ce.parentElement;if(!Ke)continue;let Ze=(Ce.textContent||"").trim();if(!Ze||Ke===w&&me)continue;let Ye=!1,Le=!1;for(let Ue=Ke;Ue&&Ue!==w;Ue=Ue.parentElement){if(Ue.tagName==="KBD"&&(Le=!0),Ue.getAttribute("aria-hidden")==="true"){Ye=!0;break}if(ie.test(Ue.className||"")||ie.test(Ue.id||"")){Ye=!0;break}try{let Te=getComputedStyle(Ue);if(Te.display==="none"||Te.visibility==="hidden"){Ye=!0;break}if(parseFloat(Te.opacity||"1")===0){Ye=!0;break}if(re.test(Te.fontFamily||"")){Ye=!0;break}}catch{}}!Ye&&/[\p{L}\p{N}]/u.test(Ze)&&A.push({text:Ze,kbd:Le});}let qe=0,ke=A.length;for(;qe<ke&&A[qe].kbd;)qe++;for(;ke>qe&&A[ke-1].kbd;)ke--;let ze=qe<ke?A.slice(qe,ke):A;for(let Ke of ze)b.push(Ke.text);v=b.join(" ").trim().toLowerCase();}catch{v=((w.innerText!=null?w.innerText:w.textContent)||"").trim().toLowerCase();}if(!v||!/[\p{L}\p{N}]/u.test(v)||/^\p{L}$/u.test(v))continue;let x=/[\p{L}\p{N}\p{M}]/u,_=(w.getAttribute("aria-label")||"").trim().toLowerCase();if(!_){let ie=w.getAttribute("aria-labelledby");ie&&(_=(typeof __resolveIdRefs=="function"?__resolveIdRefs(ie):"").toLowerCase());}if(!_)continue;let T=v.replace(/\s+/g," ").normalize("NFC"),S=_.replace(/\s+/g," ").normalize("NFC"),E=/[\p{Script=Han}\p{Script=Hiragana}\p{Script=Katakana}\p{Script=Hangul}\p{Script=Thai}\p{Script=Lao}\p{Script=Khmer}\p{Script=Myanmar}]/u,F=(ie,re)=>!ie||!x.test(ie)||E.test(ie)||E.test(re),L=(ie,re)=>{if(re<=0)return "";let me=ie.charCodeAt(re-1);return me>=56320&&me<=57343&&re>=2?ie.slice(re-2,re):ie.charAt(re-1)},O=(ie,re)=>{let me=ie.codePointAt(re);return me===void 0?"":String.fromCodePoint(me)},H=T.substring(0,40),$=T.length>=40,z=O(H,0),K=L(H,H.length),j=false;for(let ie=0;!j;){let re=S.indexOf(H,ie);if(re<0)break;F(L(S,re),z)&&($||F(O(S,re+H.length),K))&&(j=true),ie=re+1;}if(j)continue;if(b.length>1){let ie=true,re=0;for(let me of b){let Ie=me.replace(/\s+/g," ").trim().normalize("NFC").toLowerCase();if(!Ie)continue;let Ce=Ie.slice(0,40),qe=-1;for(let ke=re;;){let ze=S.indexOf(Ce,ke);if(ze<0)break;let Ke=F(L(S,ze),O(Ce,0)),Ze=Ce.length>=40||F(O(S,ze+Ce.length),L(Ce,Ce.length));if(Ke&&Ze){qe=ze;break}ke=ze+1;}if(qe<0){ie=false;break}re=qe+Ce.length;}if(ie)continue}let W=typeof uniqueSel=="function"?uniqueSel(w):"",Z=typeof getNearbyContext=="function"?getNearbyContext(w):{parentTag:w.tagName.toLowerCase(),nearbyHeading:""},te=[];te.push("visible: "+v.slice(0,40)),te.push("aria-label: "+_.slice(0,60)),Z.nearbyHeading&&te.push("heading: "+Z.nearbyHeading),te.push("parent: "+Z.parentTag),y.push({selector:W,attribute:"aria-label",currentValue:_,issueType:"label_in_name",wcag:"2.5.3",context:te.join(" | "),needsAI:true,outerHtml:(w.outerHTML||"").slice(0,300)});}return y},hh={name:"labelInName",cap:40,async detect(f){return f.evaluate(YR)}};var KR=()=>{function f(x){let _=x.closest("section,article,div,nav,main,aside,header,footer"),T=_?_.querySelector("h1,h2,h3,h4,h5,h6"):null;return T?(T.textContent||"").trim().slice(0,80):""}let p="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=EquallyAI],[id*=ae_],[class*=ae-exclude]",y=50,h=[];document.querySelector('main, [role="main"]')||h.push({selector:"body",attribute:"role",currentValue:"",issueType:"missing_landmark",wcag:"1.3.1",context:JSON.stringify({reason:'page has no <main> or [role="main"] landmark'}),needsAI:true,outerHtml:""});let w=document.querySelectorAll("div, section, ul, ol");for(let x of w){if(h.length>=y)break;if(x.closest(p)||!isVisible(x)||isHiddenFromAT(x)||x.tagName.toLowerCase()==="nav")continue;let _=x.getAttribute("role");if(_&&_!=="navigation")continue;let T=(x.className&&typeof x.className=="string"?x.className:"").toLowerCase(),S=(x.id||"").toLowerCase();if(!(T.includes("nav")||T.includes("menu")||T.includes("navigation")||S.includes("nav")||S.includes("menu")||S.includes("navigation"))||x.closest('nav, [role="navigation"]'))continue;let F=Array.from(x.querySelectorAll('nav, [role="navigation"]')).filter(K=>isVisible(K)&&!isHiddenFromAT(K)),L=Array.from(x.querySelectorAll("a[href]")).filter(K=>!F.some(j=>j.contains(K)));if(L.length<3)continue;let O=x.closest('header, [role="banner"], footer, [role="contentinfo"]'),$=!!O&&Array.from(O.querySelectorAll('nav, [role="navigation"]')).some(K=>!x.contains(K)&&isVisible(K)&&!isHiddenFromAT(K))||F.length>0,z=uniqueSel(x);h.push({selector:z,attribute:"role",currentValue:"",issueType:"missing_landmark",wcag:"1.3.1",context:JSON.stringify({tag:x.tagName.toLowerCase(),reason:'navigation-like container missing role="navigation"',linkCount:L.length,classes:T.slice(0,80)}),needsAI:false,fixValue:"navigation",...$?{needsReview:true,reviewReason:F.length>0?"this container already holds a navigation landmark \u2014 confirm the links outside it are a separate navigation block before adding a second one":"this header/footer region already has a navigation landmark \u2014 confirm these links are a separate navigation block before adding a second one"}:{},outerHtml:x.outerHTML.slice(0,300)});}let v=document.querySelectorAll('aside, [role="complementary"]'),b=Array.from(v).filter(x=>!x.closest(p)&&isVisible(x)&&!isHiddenFromAT(x));if(b.length>1)for(let x of b){if(h.length>=y)break;let _=x.getAttribute("aria-label")||"",T=x.getAttribute("aria-labelledby")||"",S=x.getAttribute("title")||"";if(_.trim()||T.trim()||S.trim())continue;let E=f(x),F=uniqueSel(x);h.push({selector:F,attribute:"aria-label",currentValue:"",issueType:"missing_landmark",wcag:"1.3.1",context:JSON.stringify({tag:x.tagName.toLowerCase(),reason:"multiple complementary landmarks without distinguishing labels",totalAsides:v.length,nearbyHeading:E}),needsAI:true,outerHtml:x.outerHTML.slice(0,300)});}let A=document.querySelectorAll('nav, [role="navigation"]'),k=Array.from(A).filter(x=>!x.closest(p)&&isVisible(x)&&!isHiddenFromAT(x));if(k.length>1)for(let x of k){if(h.length>=y)break;let _=x.getAttribute("aria-label")||"",T=x.getAttribute("aria-labelledby")||"",S=x.getAttribute("title")||"";if(_.trim()||T.trim()||S.trim())continue;let E=f(x),F=uniqueSel(x);h.push({selector:F,attribute:"aria-label",currentValue:"",issueType:"missing_landmark",wcag:"1.3.1",context:JSON.stringify({tag:x.tagName.toLowerCase(),reason:"multiple nav landmarks without distinguishing labels",totalNavs:A.length,nearbyHeading:E}),needsAI:true,outerHtml:x.outerHTML.slice(0,300)});}return h},gh={name:"landmarkRoles",cap:50,async detect(f){return f.evaluate(KR)}};var JR=()=>{let f="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=EquallyAI]",y=["click here","click","here","read more","more","link","this","go","info","details","learn more","see more","view","open","tap"],h=[];function m(x){if(!x)return "";let _=x.split("#")[0];return _.length>1&&_.charAt(_.length-1)==="/"&&(_=_.substring(0,_.length-1)),_}function w(x){let _=(x.getAttribute("aria-label")||"").trim();return _||(x.textContent||"").trim().replace(/\s+/g," ")}function v(x){return !!x.closest('nav, [role="navigation"], [role="menubar"], [class*=breadcrumb], [aria-label*="breadcrumb" i]')}let b={},A=document.querySelectorAll("a[href]");for(let x=0;x<A.length;x++){let _=A[x];if(_.closest(f)||_.getAttribute("aria-hidden")==="true"||!isVisible(_))continue;let T=_.getAttribute("href")||"";if(!T)continue;let S=T.toLowerCase();if(S.charAt(0)==="#"||S.indexOf("javascript:")===0||S.indexOf("mailto:")===0||S.indexOf("tel:")===0)continue;let E=_.href||T,F=m(E);if(!F||v(_))continue;let L=(_.textContent||"").trim(),O=!!_.querySelector("img, svg, picture");if(!L&&O)continue;let H=w(_);if(!H)continue;let $=H.toLowerCase();$===S||$===E.toLowerCase()||(b[F]||(b[F]=[]),b[F].push(_));}let k=Object.keys(b);for(let x=0;x<k.length&&!(h.length>=30);x++){let _=b[k[x]];if(!_||_.length<2)continue;let T={},S="";for(let O=0;O<_.length;O++){let H=w(_[O]),$=H.toLowerCase();T[$]=true,H.length>S.length&&(S=H);}if(Object.keys(T).length<2)continue;let F=S.toLowerCase().trim();if(F.length<5)continue;let L=false;for(let O=0;O<y.length;O++)if(F===y[O]){L=true;break}if(!L)for(let O=0;O<_.length&&!(h.length>=30);O++){let H=_[O],$=w(H);if($.toLowerCase()===F)continue;let z=uniqueSel(H);h.push({selector:z,attribute:"aria-label",currentValue:$,issueType:"link_consistency",wcag:"3.2.4",context:"Same href as "+_.length+' link(s) on this page with different text (e.g. "'+S.slice(0,80)+'"). If these labels also differ across pages, unify the VISIBLE text \u2014 do not mask it with aria-label.',needsAI:false,needsReview:true,reviewReason:"WCAG 3.2.4 is a cross-page criterion; same-page label variation may be intentional and cannot be auto-verified from one page",outerHtml:H.outerHTML.slice(0,300)});}}return h},vh={name:"linkConsistency",cap:30,async detect(f){return f.evaluate(JR)}};var ZR=()=>{let p=[],y=[".pdf",".doc",".docx",".xls",".xlsx",".zip",".csv",".ppt",".pptx",".txt",".rtf",".epub"],h={".pdf":"PDF",".doc":"Word document",".docx":"Word document",".xls":"Excel spreadsheet",".xlsx":"Excel spreadsheet",".zip":"ZIP archive",".csv":"CSV file",".ppt":"PowerPoint",".pptx":"PowerPoint",".txt":"text file",".rtf":"RTF document",".epub":"EPUB file"},m="";try{m=window.location&&window.location.hostname||"";}catch{m="";}m=(m||"").toLowerCase();function w(E,F){if(!E||!F)return false;if(E===F||E.endsWith("."+F)||F.endsWith("."+E))return true;let L=O=>{let H=O.split(".");if(H.length<=2)return O;let $=H[H.length-1],z=H[H.length-2],K=["co","com","net","org","ac","gov","edu"],j=$.length===2&&K.indexOf(z)>=0?3:2;return H.slice(-j).join(".")};return L(E)===L(F)}function v(E){return E.indexOf("www.")===0?E.slice(4):E}function b(E){if(!E)return "";let F=E.toLowerCase();if(F.charAt(0)==="#"||F.charAt(0)==="/"||F.charAt(0)==="?"||F.indexOf("javascript:")===0||F.indexOf("mailto:")===0||F.indexOf("tel:")===0)return "";try{return (new window.URL(E,window.location.href).hostname||"").toLowerCase()}catch{return ""}}function A(E){if(!E)return "";let F=E,L=F.indexOf("?");L>=0&&(F=F.slice(0,L));let O=F.indexOf("#");O>=0&&(F=F.slice(0,O)),F=F.toLowerCase();for(let H=0;H<y.length;H++){let $=y[H];if(F.length>=$.length&&F.slice(F.length-$.length)===$)return $}return ""}function k(E){let F=[],L=(E.getAttribute("aria-label")||"").trim();L&&F.push(L);let O=(E.getAttribute("title")||"").trim();O&&F.push(O);let H=E.getAttribute("aria-labelledby");if(H)try{let $=typeof __resolveIdRefs=="function"?__resolveIdRefs(H):"";$&&F.push($);}catch{}return F.push((E.textContent||"").trim()),F.join(" ").toLowerCase()}function x(E,F,L){let O="";try{typeof getAccessibleName=="function"&&(O=(getAccessibleName(E)||"").trim());}catch{}let H=(F||L||O||E.textContent||"").replace(/\s+/g," ").trim();return H||(E.getAttribute("href")||"").trim().replace(/^https?:\/\//i,"").replace(/\/+$/,"")}function _(E,F){let O=200-F.length;O<8&&(O=8);let H=E;if(H.length>O){let $=H.slice(0,O),z=$.lastIndexOf(" ");z>O*.6&&($=$.slice(0,z)),H=$.replace(/[\s…,;:.\-]+$/,"")+"\u2026";}return (H+F).slice(0,200)}let T=document.querySelectorAll("a"),S=T.length;for(let E=0;E<S&&!(p.length>=50);E++){let F=T[E];if(!F||isWidget(F)||F.getAttribute("aria-hidden")==="true")continue;try{if(F.closest&&F.closest('[aria-hidden="true"]'))continue}catch{}if(!isVisible(F))continue;let L=F.getAttribute("href");if(L==null)continue;let O=String(L).trim();if(!O)continue;let H=O.toLowerCase(),$=k(F),z=(F.getAttribute("rel")||"").toLowerCase(),K=uniqueSel(F),j=(F.textContent||"").trim().slice(0,80),W=(F.getAttribute("target")||"").toLowerCase(),Z=(F.outerHTML||"").slice(0,300),te=O==="#",ie=H.indexOf("javascript:")===0;if((te||ie)&&(F.getAttribute("role")||"").toLowerCase()!=="button"){let ke=F.hasAttribute&&F.hasAttribute("onclick"),ze=F.hasAttribute&&(F.hasAttribute("data-action")||F.hasAttribute("data-click")||F.hasAttribute("data-toggle")||F.hasAttribute("data-target")),Ke=typeof F.onclick=="function",Ze=ke||ze||Ke,Ye=[];Ye.push("href: "+O),j&&Ye.push("text: "+j),Ye.push(Ze?"has click handler (should be <button> or role=button)":"dead link \u2014 remove or replace with navigation");let Le='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"]',Ue=_e=>{if(getComputedStyle(_e).visibility==="hidden")return false;for(let vr=_e;vr&&vr.nodeType===1;vr=vr.parentElement)if(getComputedStyle(vr).display==="none")return false;return true},Te=Array.prototype.some.call(F.querySelectorAll(Le),_e=>Ue(_e)&&!isHiddenFromAT(_e));Ze&&!Te&&p.push({selector:K,attribute:"role",currentValue:O,issueType:"placeholder_link",wcag:"2.4.4",context:Ye.join(" | "),needsAI:false,fixValue:"button",outerHtml:Z});continue}if(O.charAt(0)==="#"&&O.length>1){let qe=O.slice(1),ke=qe;try{ke=decodeURIComponent(qe);}catch{ke=qe;}let ze=null;try{ze=document.getElementById(ke);}catch{ze=null;}if(!ze)try{ze=document.querySelector('[name="'+ke.replace(/"/g,'\\"')+'"]');}catch{ze=null;}continue}let re=A(H);if(re){let qe=F.hasAttribute&&F.hasAttribute("download"),ke=(h[re]||re).toLowerCase(),ze=$.indexOf(re)>=0||$.indexOf(ke)>=0||$.indexOf("download")>=0;if(!qe&&!ze){let Ke=x(F,(F.getAttribute("aria-label")||"").trim(),""),Ze=_(Ke," ("+(h[re]||re)+" download)");p.push({selector:K,attribute:"aria-label",currentValue:(F.getAttribute("aria-label")||"").trim(),issueType:"download_link_warning",wcag:"3.2.5",context:"download link \u2014 "+re+" | href: "+O.slice(0,120),needsAI:false,fixValue:Ze,outerHtml:Z});continue}}let me=b(O),Ie=H.indexOf("http://")===0||H.indexOf("https://")===0||H.indexOf("//")===0,Ce=!!me&&!!m&&!w(v(me),v(m));if(W==="_blank"){let qe=z.indexOf("noopener")>=0||z.indexOf("noreferrer")>=0,ke=$.indexOf("new window")>=0||$.indexOf("new tab")>=0||$.indexOf("opens in")>=0;if(!ke){let ze=(F.getAttribute("aria-label")||"").trim(),Ke="",Ze=F.getAttribute("aria-labelledby")||"";if(!ze&&Ze)try{typeof __resolveIdRefs=="function"&&(Ke=(__resolveIdRefs(Ze)||"").trim());}catch{}let Ye=x(F,ze,Ke),Le=_(Ye," (opens in new window)"),Ue=[];qe||Ue.push("missing rel=noopener"),ke||Ue.push('missing "new window" hint'),Ue.push("href: "+O.slice(0,120)),p.push({selector:K,attribute:"aria-label",currentValue:(F.getAttribute("aria-label")||"").trim(),issueType:"new_window_link",wcag:"3.2.5",context:Ue.join(" | "),needsAI:false,fixValue:Le,outerHtml:Z});continue}}if(Ce&&Ie){let qe=z.indexOf("external")>=0,ke=$.indexOf("external")>=0||$.indexOf("opens in")>=0||$.indexOf("new window")>=0||$.indexOf("new tab")>=0;if(!qe&&!ke){let ze=(F.getAttribute("aria-label")||"").trim(),Ke="",Ze=F.getAttribute("aria-labelledby")||"";if(!ze&&Ze)try{typeof __resolveIdRefs=="function"&&(Ke=(__resolveIdRefs(Ze)||"").trim());}catch{}let Ye=x(F,ze,Ke),Le=_(Ye," (external link)");p.push({selector:K,attribute:"aria-label",currentValue:(F.getAttribute("aria-label")||"").trim(),issueType:"external_link_warning",wcag:"3.2.5",context:"external: "+me+" (page: "+m+") | href: "+O.slice(0,120),needsAI:false,fixValue:Le,outerHtml:Z});}}}return p},bh={name:"linkWarnings",cap:50,async detect(f){return f.evaluate(ZR)}};var QR=()=>{let f="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=ae-exclude],[id*=ae_app],[id*=ae_],[class*=EquallyAI]",y=[],h=new Set,m=document.querySelectorAll('main, [role="main"]'),w=[];return m.forEach(v=>{let b=getComputedStyle(v);b.display!=="none"&&b.visibility!=="hidden"&&w.push(v);}),m.forEach(v=>{if(y.length>=10||v.closest(f)||v.getAttribute("aria-hidden")!=="true")return;let b=getComputedStyle(v);if(b.display==="none"||b.visibility==="hidden"||v.closest('[role="dialog"]')||v.closest('[role="alertdialog"]')||v.closest("dialog")||w.some(_=>_!==v&&_.getAttribute("aria-hidden")!=="true"))return;let k=v.parentElement;for(;k&&k!==document.body&&k!==document.documentElement;){if(k.getAttribute("aria-hidden")==="true")return;k=k.parentElement;}let x=uniqueSel(v);h.has(x)||(h.add(x),y.push({selector:x,attribute:"aria-hidden",currentValue:"true",issueType:"main_content_hidden",wcag:"4.1.2",context:JSON.stringify({tag:v.tagName.toLowerCase(),role:v.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:(v.outerHTML||"").slice(0,300)}));}),y},yh={name:"mainContentHidden",cap:10,async detect(f){return f.evaluate(QR)}};var eI=()=>{let p=[];function y(v){return !!(!v||isWidget(v)||(v.getAttribute("aria-hidden")||"").trim().toLowerCase()==="true")}function h(v){return (v.outerHTML||"").slice(0,300)}let m=document.querySelectorAll("video");for(let v of m){if(p.length>=10)break;let b=v;if(y(b))continue;let A=b.hasAttribute("controls"),k=b.hasAttribute("autoplay"),x=b.hasAttribute("muted"),_=typeof isVisible=="function"?isVisible(b):true;if(!A&&_&&(p.push({selector:uniqueSel(b),attribute:"controls",currentValue:"",issueType:"missing_media_controls",wcag:"2.2.2",context:"video element missing player controls",needsAI:false,fixValue:"",outerHtml:h(b)}),p.length>=10))break;k&&!x&&p.push({selector:uniqueSel(b),attribute:"muted",currentValue:"",issueType:"unsafe_autoplay",wcag:"1.4.2",context:"video autoplays with sound \u2014 add muted",needsAI:false,fixValue:"",outerHtml:h(b)});}let w=document.querySelectorAll("audio");for(let v of w){if(p.length>=10)break;let b=v;if(y(b))continue;let A=b.hasAttribute("controls"),k=b.hasAttribute("autoplay");if(!A&&(p.push({selector:uniqueSel(b),attribute:"controls",currentValue:"",issueType:"missing_media_controls",wcag:"2.2.2",context:"audio element missing player controls",needsAI:false,fixValue:"",outerHtml:h(b)}),p.length>=10))break;k&&p.push({selector:uniqueSel(b),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:h(b)});}return p},wh={name:"mediaControls",cap:10,async detect(f){return f.evaluate(eI)}};var tI=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",y=[],h=/^(image|photo|img|picture|pic|untitled|banner|hero|\d{1,2})$/i,m=/^(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,w=document.querySelectorAll("img");for(let v of w){if(y.length>=50)break;if(v.closest(f))continue;let b=v.getAttribute("src")||"",A=v.getAttribute("alt");if(b.startsWith("data:"))continue;let k=v.naturalWidth||v.width,x=v.naturalHeight||v.height;if(k<=3&&x<=3&&k>0&&x>0||k<=2&&x<=2)continue;let _=v.getBoundingClientRect();if(_.width<=2&&_.height<=2||!isVisible(v)||v.getAttribute("role")==="presentation"||v.getAttribute("role")==="none"||v.getAttribute("aria-hidden")==="true"||v.closest('[aria-hidden="true"]'))continue;let T=(v.getAttribute("aria-label")||"").trim(),S=(v.getAttribute("aria-labelledby")||"").trim();if(T||S)continue;let E=v.getBoundingClientRect(),F=E.width>0&&E.width<=30&&E.height<=30,L=!!v.closest('a, button, [role="button"], [role="link"]');if(F&&!L&&A===null){let K=uniqueSel(v);y.push({selector:K,attribute:"aria-hidden",currentValue:"",issueType:"decorative_icon",wcag:"1.1.1",context:"small icon ("+Math.round(E.width)+"x"+Math.round(E.height)+"px) \u2014 likely decorative",needsAI:false,fixValue:"true"});continue}if(A===null){let K=uniqueSel(v),j=getNearbyContext(v),W=[],Z=v.closest("figure");if(Z){let re=Z.querySelector("figcaption");re&&W.push("figcaption: "+(re.textContent||"").trim().slice(0,80));}j.nearbyHeading&&W.push("heading: "+j.nearbyHeading);let te=v.closest("a");if(te){let re=te.getAttribute("href")||"",me=(te.textContent||"").trim().replace(/\s+/g," ");me&&W.push("link text: "+me.slice(0,60)),re&&W.push("link href: "+re.slice(0,80));}b&&W.push("src: "+b.slice(0,120)),W.push("parent: "+j.parentTag);let ie=b;try{ie=new URL(b,document.baseURI).href;}catch{}y.push({selector:K,attribute:"alt",currentValue:"",issueType:"missing_alt",wcag:"1.1.1",context:W.join(" | "),needsAI:true,imageSrc:ie,outerHtml:v.outerHTML.slice(0,300)});continue}let O=(A||"").trim();if(O==="")continue;let H=/\.(jpg|jpeg|png|gif|webp|svg|bmp|ico)$/i.test(O),$=h.test(O),z=m.test(O);if(H||$||z){let K=uniqueSel(v),j=getNearbyContext(v),W=[];j.nearbyHeading&&W.push("heading: "+j.nearbyHeading),b&&W.push("src: "+b.slice(0,120)),W.push("parent: "+j.parentTag);let Z=b;try{Z=new URL(b,document.baseURI).href;}catch{}y.push({selector:K,attribute:"alt",currentValue:O,issueType:"missing_alt",wcag:"1.1.1",context:W.join(" | "),needsAI:true,imageSrc:Z,outerHtml:v.outerHTML.slice(0,300)});}}return y},xh={name:"missingAlt",cap:50,async detect(f){return f.evaluate(tI)}};var rI=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",p=["hidden","submit","button","reset","image"],y=["wpnonce","_token","csrf","nonce","captcha"],m=[],w=document.querySelectorAll("input, select, textarea");for(let v of w){if(m.length>=50)break;if(v.closest(f))continue;let b=v,A=b.getAttribute("type")||b.tagName.toLowerCase();if(p.includes(A.toLowerCase())||!isVisible(b)||b.closest('[id*="goog-gt"],[class*="goog-te"],[id*="recaptcha"],[class*="intercom"],[class*="drift-"],[class*="crisp-"],[class*="tawk-"]')||getComputedStyle(b).display==="none")continue;let _=b.getAttribute("id")||"",T=b.getAttribute("name")||"",S=(_+" "+T).toLowerCase();if(y.some(K=>S.includes(K)))continue;let E=false;if(_){let K=document.querySelector('label[for="'+CSS.escape(_)+'"]');K&&(K.textContent||"").trim()&&(E=true);}if(!E){let K=b.closest("label");K&&(K.textContent||"").trim()&&(E=true);}if(!E&&(b.getAttribute("aria-label")||"").trim()&&(E=true),!E){let K=b.getAttribute("aria-labelledby");K&&typeof __resolveIdRefs=="function"&&__resolveIdRefs(K)&&(E=true);}if(!E&&(b.getAttribute("title")||"").trim()&&(E=true),E)continue;let F=uniqueSel(b),L=getNearbyContext(b),O=(b.getAttribute("placeholder")||"").trim(),H=b.closest("form"),$=H&&(H.getAttribute("id")||H.getAttribute("action"))||"",z=[];O&&z.push("placeholder: "+O),T&&z.push("name: "+T),A&&z.push("type: "+A),$&&z.push("form: "+$.slice(0,60)),L.nearbyHeading&&z.push("heading: "+L.nearbyHeading),z.push("parent: "+L.parentTag),m.push({selector:F,attribute:"aria-label",currentValue:"",issueType:"missing_label",wcag:"1.3.1",context:z.join(" | "),needsAI:true,outerHtml:b.outerHTML.slice(0,300)});}return m},Dh={name:"missingLabels",cap:50,async detect(f){return f.evaluate(rI)}};var aI=()=>{let f="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=EquallyAI],[id*=ae_],[class*=ae-exclude]",p='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"]',y=["onclick","data-action","ng-click","@click","v-on:click"],h=E=>{if(getComputedStyle(E).visibility==="hidden")return false;for(let F=E;F&&F.nodeType===1;F=F.parentElement)if(getComputedStyle(F).display==="none")return false;return true},m=E=>Array.prototype.some.call(E.querySelectorAll("a:not([href])"),F=>h(F)&&!isHiddenFromAT(F)&&y.some(L=>F.hasAttribute(L))),w=E=>Array.prototype.some.call(E.querySelectorAll(p),F=>h(F)&&!isHiddenFromAT(F)),b=[];return document.querySelectorAll("div[onclick], span[onclick]").forEach(E=>{if(b.length>=50||E.closest(f)||!isVisible(E)||isHiddenFromAT(E)||w(E)||m(E))return;let F=E.getAttribute("role");if(F==="button"||F==="link"||F==="tab"||F==="menuitem"||F==="checkbox"||F==="radio")return;let L=uniqueSel(E),O=E.outerHTML.slice(0,300);b.push({selector:L,attribute:"role",currentValue:F||"",issueType:"missing_button_role",wcag:"4.1.2",context:JSON.stringify({tag:E.tagName.toLowerCase(),hasOnclick:true,currentTabindex:E.getAttribute("tabindex")}),needsAI:false,fixValue:"button",outerHtml:O}),E.getAttribute("tabindex")===null&&b.push({selector:L,attribute:"tabindex",currentValue:"",issueType:"missing_button_role",wcag:"4.1.2",context:JSON.stringify({tag:E.tagName.toLowerCase(),supplementary:'tabindex needed alongside role="button"'}),needsAI:false,fixValue:"0",outerHtml:O});}),document.querySelectorAll('a:not([href]), a[href=""], a[href="#"], a[href="javascript:void(0)"], a[href="javascript:;"]').forEach(E=>{if(b.length>=50||E.closest(f)||!isVisible(E)||isHiddenFromAT(E)||E.getAttribute("role"))return;let L=E.hasAttribute("onclick"),O=E.getAttribute("data-action")||E.getAttribute("ng-click")||E.getAttribute("@click")||E.getAttribute("v-on:click");if(!L&&!O||w(E))return;let H=uniqueSel(E),$=E.outerHTML.slice(0,300);b.push({selector:H,attribute:"role",currentValue:"",issueType:"missing_button_role",wcag:"4.1.2",context:JSON.stringify({tag:"a",href:E.getAttribute("href")||"",hasOnclick:L}),needsAI:false,fixValue:"button",outerHtml:$});}),document.querySelectorAll('a[href^="#"]:not([href="#"]), a[href^="javascript:"]').forEach(E=>{if(b.length>=50||E.closest(f)||!isVisible(E)||isHiddenFromAT(E)||E.getAttribute("role"))return;let L=E.getAttribute("href")||"",O=false;if(L.startsWith("#")&&L.length>1){if(L.charAt(1)==="/")return;let K=L.slice(1);if(document.getElementById(K))return;try{if(document.querySelector('[name="'+CSS.escape(K)+'"]'))return}catch{}O=true;}let H=L.startsWith("javascript:")||E.hasAttribute("onclick")||E.getAttribute("data-action")||E.getAttribute("ng-click")||E.getAttribute("@click")||E.getAttribute("v-on:click")||E.hasAttribute("aria-haspopup")||E.hasAttribute("aria-expanded")||E.hasAttribute("aria-controls"),$=O&&!H;if(w(E))return;let z=uniqueSel(E);b.push({selector:z,attribute:"role",currentValue:"",issueType:"missing_button_role",wcag:"4.1.2",context:JSON.stringify({tag:"a",href:L,reason:"non-navigating link acting as button"}),needsAI:false,fixValue:"button",outerHtml:E.outerHTML.slice(0,300),...$?{needsReview:true,reviewReason:"fragment href has no matching target and no click-behavior evidence \u2014 may be a dead link, not a button"}:{}});}),document.querySelectorAll("nav, ol, ul").forEach(E=>{if(b.length>=50||E.closest(f)||!isVisible(E)||isHiddenFromAT(E))return;let F=(E.className&&typeof E.className=="string"?E.className:"").toLowerCase(),L=(E.id||"").toLowerCase();if(!F.includes("breadcrumb")&&!F.includes("crumb")&&!L.includes("breadcrumb")&&!L.includes("crumb"))return;let O=E.querySelectorAll("a");if(O.length<2)return;let H=(E.getAttribute("aria-label")||"").toLowerCase(),$=E.getAttribute("role");if(H.includes("breadcrumb")||H.includes("crumb")||$==="navigation"&&H)return;let z=uniqueSel(E);b.push({selector:z,attribute:"aria-label",currentValue:H,issueType:"missing_semantic_role",wcag:"4.1.2",context:JSON.stringify({tag:E.tagName.toLowerCase(),reason:"breadcrumb navigation missing aria-label",linkCount:O.length}),needsAI:false,fixValue:"Breadcrumb",outerHtml:E.outerHTML.slice(0,300)});}),document.querySelectorAll("form, section, div").forEach(E=>{if(b.length>=50||E.closest(f)||!isVisible(E)||isHiddenFromAT(E))return;let F=(E.className&&typeof E.className=="string"?E.className:"").toLowerCase(),L=(E.id||"").toLowerCase();if(!F.includes("search")&&!L.includes("search")||!E.querySelector('input[type="search"], input[type="text"], input[name*="search"], input[placeholder*="earch"]'))return;let H=E.getAttribute("role");if(H==="search"||E.closest('[role="search"]')||E.querySelector('[role="search"]')||Array.prototype.some.call(E.querySelectorAll("form, section, div"),K=>{let j=(K.className&&typeof K.className=="string"?K.className:"").toLowerCase(),W=(K.id||"").toLowerCase();return !j.includes("search")&&!W.includes("search")||K.getAttribute("role")==="search"?false:!!K.querySelector('input[type="search"], input[type="text"], input[name*="search"], input[placeholder*="earch"]')}))return;let z=uniqueSel(E);b.push({selector:z,attribute:"role",currentValue:H||"",issueType:"missing_semantic_role",wcag:"4.1.2",context:JSON.stringify({tag:E.tagName.toLowerCase(),reason:'search section missing role="search"'}),needsAI:false,fixValue:"search",outerHtml:E.outerHTML.slice(0,300)});}),document.querySelectorAll('[role="menu"], [role="menubar"]').forEach(E=>{if(E.closest(f))return;let F=E.getAttribute("role")||"menu",L=Array.from(E.querySelectorAll("a")).filter(H=>{if(!isVisible(H)||isHiddenFromAT(H))return false;let $=H.getAttribute("role");return $!=="menuitem"&&$!=="menuitemcheckbox"&&$!=="menuitemradio"});if(L.length===0)return;let O=uniqueSel(E);b.push({selector:O,attribute:"role",currentValue:F,issueType:"missing_semantic_role",wcag:"4.1.2",context:JSON.stringify({tag:E.tagName.toLowerCase(),reason:`${L.length} link(s) inside role="${F}" without menuitem roles`,sample:L.slice(0,3).map(H=>(H.textContent||"").trim().slice(0,40))}),message:`container role="${F}" holds ${L.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:E.outerHTML.slice(0,300)});}),b},_h={name:"missingRoles",cap:50,async detect(f){return f.evaluate(aI)}};var nI=()=>{let f="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye]",y=[],h={navigation:'nav, [role="navigation"]',complementary:'aside, [role="complementary"]',search:'[role="search"]',region:'[role="region"]'},m=w=>{let v=k=>{let x=k.tagName.toLowerCase(),_=k.parentElement;if(!_)return x;let T=Array.from(_.children).filter(S=>S.tagName===k.tagName);return T.length>1?`${x}:nth-of-type(${T.indexOf(k)+1})`:x},b=[],A=w;for(;A&&A!==document.body&&A!==document.documentElement;)b.unshift(v(A)),A=A.parentElement;return b.length?b.join(" > "):w.tagName.toLowerCase()};for(let[w,v]of Object.entries(h)){let b=Array.from(document.querySelectorAll(v));b=b.filter(A=>!A.closest(f)),b=b.filter(A=>typeof isVisible=="function"?isVisible(A):true),b=b.filter(A=>A.getAttribute("aria-hidden")!=="true"),!(b.length<2)&&b.forEach(A=>{if(y.length>=30||(A.getAttribute("aria-label")||"").trim()||(A.getAttribute("title")||"").trim())return;let k=A.getAttribute("aria-labelledby");if(k&&typeof __resolveIdRefs=="function"&&__resolveIdRefs(k))return;let x=typeof uniqueSel=="function"?uniqueSel(A):m(A),_=typeof getNearbyContext=="function"?getNearbyContext(A):{nearbyHeading:""},T=A.querySelector("h1, h2, h3, h4, h5, h6"),S=T?(T.textContent||"").trim().slice(0,60):"";y.push({selector:x,attribute:"aria-label",currentValue:"",issueType:"landmark_duplicate_unlabeled",wcag:"1.3.1",context:`type: ${w} | total: ${b.length} | inner-heading: ${S} | nearby: ${_.nearbyHeading||""}`,needsAI:true,outerHtml:(A.outerHTML||"").slice(0,300)});});}return y},Ah={name:"multipleLandmarks",cap:30,async detect(f){return f.evaluate(nI)}};var iI=()=>{let f="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye]",y=[],h={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,w]of Object.entries(h))document.querySelectorAll(w).forEach(b=>{if(y.length>=30||b.closest(f)||typeof isVisible=="function"&&!isVisible(b))return;let A=b.parentElement,k=null;for(;A&&A!==document.body;){if(A.matches(w)){k=A;break}A=A.parentElement;}if((m==="banner"||m==="contentinfo")&&b.closest("article, section, aside, main, nav")||!k||b.getAttribute("aria-label")?.trim()||b.getAttribute("aria-labelledby")?.trim())return;let x=typeof uniqueSel=="function"?uniqueSel(b):"",_=typeof getNearbyContext=="function"?getNearbyContext(b):{nearbyHeading:""};y.push({selector:x,attribute:"role",currentValue:b.getAttribute("role")||b.tagName.toLowerCase(),issueType:"nested_landmark",wcag:"1.3.1",context:`nested-in: ${m} | tag: ${b.tagName.toLowerCase()} | heading: ${_.nearbyHeading||""}`,needsAI:false,fixValue:"generic",outerHtml:(b.outerHTML||"").slice(0,300)});});return y},Eh={name:"nestedLandmarks",cap:30,async detect(f){return f.evaluate(iI)}};var oI=()=>{let p=[],y=x=>typeof parseCssColor=="function"?parseCssColor(x):null,h=(x,_,T)=>typeof relLuminance=="function"?relLuminance(x,_,T):0,w=(x,_)=>typeof contrastRatio=="function"?contrastRatio(x,_):1;function v(x){let _=x.parentElement,T=0;for(;_&&_!==document.documentElement&&T<6;){let S=getComputedStyle(_).backgroundColor||"",E=y(S);if(E&&E[3]>.5)return [E[0],E[1],E[2]];_=_.parentElement,T++;}return [255,255,255]}function b(x,_,T){return "#"+[x,_,T].map(S=>{let E=Math.max(0,Math.min(255,Math.round(S))).toString(16);return E.length===1?"0"+E:E}).join("")}function A(x,_,T){let E=h(_[0],_[1],_[2])>.5,F=0,L=1,O=null;for(let H=0;H<20;H++){let $=(F+L)/2,z=E?[x[0]*(1-$),x[1]*(1-$),x[2]*(1-$)]:[x[0]+(255-x[0])*$,x[1]+(255-x[1])*$,x[2]+(255-x[2])*$];w(z,_)>=T?(O=[Math.round(z[0]),Math.round(z[1]),Math.round(z[2])],L=$):F=$;}return O}let k=document.querySelectorAll('input:not([type="hidden"]), select, textarea, button, [role="button"], [role="checkbox"], [role="radio"], [role="switch"]');for(let x of k){if(p.length>=30)break;if(isWidget(x)||isHiddenFromAT(x)||!isVisible(x))continue;let _=getComputedStyle(x),T=v(x),S=y(_.backgroundColor||""),E=y(_.borderTopColor||""),F=parseFloat(_.borderTopWidth||"0"),L=(_.borderTopStyle||"").toLowerCase(),O=F>0&&L!=="none"&&L!=="hidden",H=x.tagName.toLowerCase(),$=H==="input"||H==="select"||H==="textarea",z=O&&E&&E[3]>.5?w([E[0],E[1],E[2]],T):null,K=S&&S[3]>.5?w([S[0],S[1],S[2]],T):null,j=z===null&&K===null?null:Math.max(z??0,K??0),W=null,Z=false,te="";if($)j!==null?(W=j,j<3&&(Z=true)):(Z=true,W=1);else {let Ye=false,Le=document.createTreeWalker(x,4),Ue=Le.nextNode();for(;Ue;){if((Ue.textContent||"").trim()&&Ue.parentElement&&isVisible(Ue.parentElement)){Ye=true;break}Ue=Le.nextNode();}if(Ye)continue;let _e=Array.from(x.querySelectorAll('img, svg, picture, canvas, i[class], [class*="icon"]')),vr=new Map,Un=le=>{let At=le.getBoundingClientRect();if(At.width*At.height===0)return "absent";let Gt=parseFloat(getComputedStyle(x).opacity||"1");for(let Wt=le;Wt&&Wt!==x;Wt=Wt.parentElement){let gt=getComputedStyle(Wt);if(gt.display==="none")return "absent";if(gt.visibility==="hidden"||parseFloat(gt.opacity||"1")===0)return "hidden-at-rest";Gt*=parseFloat(gt.opacity||"1");}return vr.set(le,Gt),"painted"},Xn=_e.map(Un),lr=_e.filter((le,At)=>Xn[At]==="painted"),ia=lr.length>0,Ua=!ia&&Xn.includes("hidden-at-rest"),zt=le=>{let At=(le.tagName||"").toLowerCase();if(At==="img"||At==="picture"||At==="canvas"||At==="svg"&&le.querySelector("image, foreignObject, linearGradient, radialGradient, pattern"))return null;let Gt=[];if(At==="svg"){let gt=le.querySelector("path, circle, rect, polygon, polyline, line, ellipse, use, text");for(let Qt of [gt,le]){if(!Qt)continue;let tt=getComputedStyle(Qt),Vr=1;for(let Ge=Qt;Ge&&Ge!==le;Ge=Ge.parentElement||Ge.parentNode)Vr*=parseFloat(getComputedStyle(Ge).opacity||"1");let oa=Ge=>Number.isFinite(parseFloat(Ge))?parseFloat(Ge):1;if(tt.fill&&tt.fill!=="none"&&!tt.fill.startsWith("url")&&Gt.push({color:tt.fill,alpha:Vr*oa(tt.fillOpacity)}),tt.stroke&&tt.stroke!=="none"&&!tt.stroke.startsWith("url")&&parseFloat(tt.strokeWidth||"0")>0&&Gt.push({color:tt.stroke,alpha:Vr*oa(tt.strokeOpacity)}),Gt.length)break}}else ((le.textContent||"").trim()||getComputedStyle(le,"::before").content!=="none")&&Gt.push({color:getComputedStyle(le).color,alpha:1});let Wt=null;for(let gt of Gt){let Qt=y(gt.color);if(!Qt)continue;let tt=Qt[3]*gt.alpha*(vr.get(le)??1),Vr=[Qt[0]*tt+T[0]*(1-tt),Qt[1]*tt+T[1]*(1-tt),Qt[2]*tt+T[2]*(1-tt)],oa=w(Vr,T);(Wt===null||oa>Wt)&&(Wt=oa);}return Wt};if(ia&&lr.map(zt).some(At=>At!==null&&At>=3))continue;let kt=false,Tr=_.position;if((Tr==="absolute"||Tr==="fixed")&&x.parentElement){let le=x.getBoundingClientRect(),At=x.parentElement.getBoundingClientRect(),Gt=At.width*At.height;Gt>0&&le.width*le.height/Gt>=.85&&(kt=true);}if(ia||kt||Ua){if(Z=true,W=O&&E&&E[3]>.5?w([E[0],E[1],E[2]],T):1,W>=3)continue;te=ia?"control is identified by an image or icon \u2014 verify the graphic itself has 3:1 contrast against its surroundings":Ua?"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 j!==null?(W=j,j<3&&(Z=true)):(Z=true,W=1);}if(!Z)continue;let ie=E&&E[3]>.5?[E[0],E[1],E[2]]:S&&S[3]>.5?[S[0],S[1],S[2]]:[128,128,128],re=A(ie,T,3);if(!re)continue;let me=b(re[0],re[1],re[2]),Ie=b(T[0],T[1],T[2]),Ce="border: 1px solid "+me+" !important;",qe=uniqueSel(x),ke=x.tagName.toLowerCase(),ze=j===null&&!O?"invisible (no border, no fill: 1.00:1)":W?W.toFixed(2)+":1":"not measurable",Ke=ke==="input"||ke==="select"||ke==="textarea"?ke+" field":ke,Ze=te?"non-text contrast: "+Ke+" boundary is "+ze+" against "+Ie+" (needs 3:1) \u2014 "+te:"non-text contrast: "+Ke+" boundary (border and fill) is "+ze+" against "+Ie+", needs 3:1 \u2014 e.g. border-color "+me;p.push({selector:qe,message:Ze,attribute:"style",currentValue:W?W.toFixed(2):"?",issueType:"non_text_contrast_insufficient",wcag:"1.4.11",context:ke+" bg="+Ie+" ratio="+(W?W.toFixed(2):"?")+" needs=3",needsAI:false,...te?{needsReview:true,reviewReason:te}:{fixValue:Ce},outerHtml:x.outerHTML.slice(0,200)});}return p},Ch={name:"nonTextContrast",cap:30,async detect(f){return f.evaluate(oI)}};var sI=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",y=[],h=/location\s*[=.]|location\s*\.\s*href|\.submit\s*\(|window\s*\.\s*open|history\s*\.\s*(push|replace)/i,m=document.querySelectorAll("[onfocus]");for(let w of Array.from(m)){if(y.length>=20)break;if(w.closest(f))continue;let v=w.getAttribute("onfocus")||"";if(!v||!h.test(v))continue;let b=typeof uniqueSel=="function"?uniqueSel(w):"",A=typeof getNearbyContext=="function"?getNearbyContext(w):{parentTag:w.tagName.toLowerCase(),nearbyHeading:""},k=[];k.push("tag: "+w.tagName.toLowerCase()),k.push("onfocus: "+v.slice(0,100)),A.nearbyHeading&&k.push("heading: "+A.nearbyHeading),k.push("parent: "+A.parentTag),y.push({selector:b,attribute:"onfocus",currentValue:v.slice(0,200),issueType:"onfocus_context_change",wcag:"3.2.1",context:k.join(" | "),needsAI:true,outerHtml:(w.outerHTML||"").slice(0,300)});}return y},Sh={name:"onFocus",cap:20,async detect(f){return f.evaluate(sI)}};var lI=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",y=[],h={navigation:["nav"],main:["main"],banner:["header"],contentinfo:["footer"],complementary:["aside"],button:["button"],link:["a"],form:["form"],search:["search"],article:["article"],region:["section"],heading:["h1","h2","h3","h4","h5","h6"],list:["ul","ol"],listitem:["li"],img:["img"],table:["table"],row:["tr"],cell:["td"],columnheader:["th"]},m=document.querySelectorAll("[role]");for(let w of m){if(y.length>=50)break;if(w.closest(f))continue;let v=(w.getAttribute("role")||"").trim().toLowerCase();if(!v)continue;let b=w.tagName.toLowerCase(),A=h[v];if(!A||!A.includes(b)||v==="link"&&b==="a"&&!w.hasAttribute("href")||(v==="banner"||v==="contentinfo")&&w.closest("article, section, aside, main, nav")||(v==="region"&&b==="section"||v==="form"&&b==="form")&&!((w.getAttribute("aria-label")||"").trim()||(w.getAttribute("aria-labelledby")||"").trim()||(w.getAttribute("title")||"").trim())||v==="complementary"&&b==="aside"&&w.parentElement&&w.parentElement.closest("article, section, aside, main, nav")&&!((w.getAttribute("aria-label")||"").trim()||(w.getAttribute("aria-labelledby")||"").trim()||(w.getAttribute("title")||"").trim())||(v==="list"||v==="listitem")&&(b==="ul"||b==="ol"||b==="li")&&getComputedStyle(w).listStyleType==="none")continue;let k=uniqueSel(w);y.push({selector:k,attribute:"remove_attribute",currentValue:v,issueType:"redundant_role",wcag:"4.1.2",context:"tag: <"+b+'> already has implicit role "'+v+'"',needsAI:false,fixValue:"role"});}return y},kh={name:"redundantRoles",cap:50,async detect(f){return f.evaluate(lI)}};var uI=()=>{let f="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=ae-exclude],[id*=ae_app],[id*=ae_],[class*=EquallyAI]",h=[],m=new Set,w=new Set(["dialog","alertdialog","menu","menubar","listbox","tree","grid","treegrid","tabpanel","application","toolbar","combobox"]);return document.querySelectorAll("div, section, article, aside, pre, code, ul, ol, nav, blockquote").forEach(b=>{if(h.length>=30||b.closest(f))return;let A=b.tagName;if(A==="BODY"||A==="HTML"||!isVisible(b)||isHiddenFromAT(b)||b.hasAttribute("tabindex"))return;let k=b.getAttribute("role");if(k&&w.has(k))return;let x=getComputedStyle(b),_=x.overflowY,T=x.overflowX,S=_==="auto"||_==="scroll",E=T==="auto"||T==="scroll";if(!S&&!E)return;let F=S&&b.scrollHeight-b.clientHeight>50,L=E&&b.scrollWidth-b.clientWidth>50;if(!F&&!L||b.querySelectorAll('a[href], button:not([disabled]), input:not([disabled]):not([type=hidden]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])').length>0)return;let H=uniqueSel(b);if(m.has(H))return;m.add(H);let{nearbyHeading:$}=getNearbyContext(b),z="";if($)z=$;else {let W=(typeof b.className=="string"?b.className:"").toLowerCase(),Z=(b.id||"").toLowerCase();W.includes("code")||W.includes("snippet")||A==="PRE"||A==="CODE"?z="Code block":W.includes("terms")||W.includes("tos")||W.includes("legal")?z="Terms and conditions":W.includes("chat")||W.includes("message")?z="Chat messages":W.includes("table")||W.includes("data")?z="Data table":Z?z=Z.replace(/[-_]/g," "):z="Scrollable content";}let K=(b.outerHTML||"").slice(0,300);h.push({selector:H,attribute:"tabindex",currentValue:"",issueType:"scrollable_not_focusable",wcag:"2.1.1",context:JSON.stringify({tag:A.toLowerCase(),overflowY:S?_:void 0,overflowX:E?T:void 0,scrollHeight:b.scrollHeight,clientHeight:b.clientHeight,scrollWidth:b.scrollWidth,clientWidth:b.clientWidth,suggestion:'Add tabindex="0" so keyboard users can scroll this container'}),needsAI:false,fixValue:"0",outerHtml:K}),k||h.push({selector:H,attribute:"role",currentValue:"",issueType:"missing_semantic_role",wcag:"2.1.1",context:JSON.stringify({tag:A.toLowerCase(),supplementary:'role="region" needed alongside tabindex="0" for screen reader announcement'}),needsAI:false,fixValue:"region",outerHtml:K}),b.getAttribute("aria-label")||b.getAttribute("aria-labelledby")||h.push({selector:H,attribute:"aria-label",currentValue:"",issueType:"missing_landmark",wcag:"2.1.1",context:JSON.stringify({tag:A.toLowerCase(),labelHint:z,supplementary:"aria-label needed so screen readers announce the scrollable region"}),needsAI:true,outerHtml:K});}),h},Th={name:"scrollableFocus",cap:30,async detect(f){return f.evaluate(uI)}};var cI=()=>{let f="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=EquallyAI]",y=["fa-","fa ","fas ","far ","fab ","fal ","fad ","material-icons","material-symbols","bi-","bi ","icon-","glyphicon","icofont-","dashicons-","heroicon","feather-","lucide-"],h=[],m=document.querySelectorAll("b, i");for(let w=0;w<m.length&&!(h.length>=30);w++){let v=m[w];if(v.closest(f)||v.getAttribute("aria-hidden")==="true"||v.parentElement&&v.parentElement.closest("strong, em"))continue;let b=v.className&&typeof v.className=="string"?v.className.toLowerCase():"";if(b){let T=false;for(let S=0;S<y.length;S++)if(b.indexOf(y[S])!==-1){T=true;break}if(T)continue}let A=(v.textContent||"").trim();if(!A)continue;let k=v.tagName.toLowerCase(),x=k==="b"?"strong":"em",_=uniqueSel(v);h.push({selector:_,attribute:"tagName",currentValue:k,fixValue:x,issueType:"semantic_emphasis",wcag:"1.3.1",context:"<"+k+'> used for "'+A.slice(0,60)+'". Replace with <'+x+"> so assistive tech conveys the emphasis.",needsAI:false,outerHtml:v.outerHTML.slice(0,300)});}return h},Fh={name:"semanticEmphasis",cap:30,async detect(f){return f.evaluate(cI)}};var dI=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",p=[],y=['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"]'],h=false;for(let x of y){let _=document.querySelector(x);if(_&&!_.closest(f)){h=true;break}}if(!h){let x=document.querySelectorAll('a[href^="#"]');for(let _ of x){if(_.closest(f))continue;let T=(_.textContent||"").toLowerCase();if(T.includes("skip")&&(T.includes("main")||T.includes("content")||T.includes("nav"))){h=true;break}}}if(h)return p;let m="",w=document.querySelector('main[id], [role="main"][id]');if(w&&w.getAttribute("id"))m=w.getAttribute("id");else {let x=document.querySelector("h1[id]");if(x&&x.getAttribute("id"))m=x.getAttribute("id");else {let _=["main-content","maincontent","main","content","skip-content"];for(let T of _)if(document.getElementById(T)){m=T;break}}}let v=m==="",b=m||"main-content",k="<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="#'+b+'" class="wa-skip-link">Skip to main content</a>';return p.push({selector:"body",attribute:"prepend",currentValue:"",issueType:"skip_link",wcag:"2.4.1",context:v?'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 #"+b,needsAI:false,fixValue:k,...v?{needsReview:true,reviewReason:'No element with a referenceable id was found for the skip-link target. Add id="main-content" to the <main> landmark (or point the link at a real anchor) before applying this fix.'}:{}}),p},Rh={name:"skipLink",async detect(f){return f.evaluate(dI)}};var fI=()=>{let y=[],h=document.querySelectorAll("*"),m=0;for(let w of Array.from(h)){if(m++>5e3||y.length>=20)break;if(w.closest("[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye]")||typeof isVisible=="function"&&!isVisible(w))continue;let b=getComputedStyle(w).backgroundImage||"";if(!b||b==="none"||!b.includes("url("))continue;let A=b.match(/url\((['"]?)(.*?)\1\)/);if(!A)continue;let k=A[2];if(!k||k.startsWith("data:")&&k.length<256)continue;let x=w.getBoundingClientRect();if(x.width<32||x.height<32)continue;let _=w.tagName.toLowerCase(),T=w.getAttribute("role")||"",S=_==="a"||_==="button"||T==="button"||T==="link"||w.closest("a,button,[role=button],[role=link]")!==null,E=(w.textContent||"").trim().length>0,F=!!w.getAttribute("aria-label"),L=!!w.getAttribute("aria-labelledby"),O=!!w.getAttribute("title"),H=!!w.querySelector('img[alt]:not([alt=""])');if(F||L||O||H||E||!S)continue;let $=w.closest("a,button,[role=button],[role=link]");if($&&$!==w){let W=($.textContent||"").trim(),Z=$.getAttribute("aria-label")||$.getAttribute("title")||"",te=$.getAttribute("aria-labelledby"),ie=!!$.querySelector('img[alt]:not([alt=""])');if(W||Z.trim()||te||ie)continue}let z=k;try{z=new URL(k,location.href).toString();}catch{continue}let K=typeof uniqueSel=="function"?uniqueSel(w):"",j=typeof getNearbyContext=="function"?getNearbyContext(w):{parentTag:_,nearbyHeading:""};y.push({selector:K,attribute:"aria-label",currentValue:"",issueType:"background_image_unlabeled",wcag:"1.1.1",context:`bg: ${z.slice(0,140)} | tag: ${_} | role: ${T||"(none)"} | parent: ${j.parentTag}${j.nearbyHeading?" | heading: "+j.nearbyHeading:""}`,needsAI:true,imageSrc:z,outerHtml:(w.outerHTML||"").slice(0,300)});}return y},Ih={name:"backgroundImages",cap:20,async detect(f){return f.evaluate(fI)}},pI=()=>{let f=[],p=Array.from(document.querySelectorAll("h1")),y=p.filter(h=>{if(h.getAttribute("aria-hidden")==="true"||h.closest('[aria-hidden="true"]')||h.getClientRects().length===0)return false;let m=getComputedStyle(h).visibility;return m==="hidden"||m==="collapse"?false:(h.textContent||"").trim().length>0});if(y.length===0)f.push({selector:"body",attribute:"data-missing-h1",currentValue:"",issueType:"missing_h1",wcag:"1.3.1",context:`Page has ${p.length} <h1> element(s) total but 0 visible+non-empty`,needsAI:false,outerHtml:"<body>"});else if(y.length>1)for(let h=1;h<y.length&&h<5;h++){let m=y[h],w=typeof uniqueSel=="function"?uniqueSel(m):"";f.push({selector:w,attribute:"data-multiple-h1",currentValue:"",issueType:"multiple_h1",wcag:"1.3.1",context:`${y.length} <h1> elements on page. Text: ${JSON.stringify((m.textContent||"").slice(0,80))}`,needsAI:false,outerHtml:(m.outerHTML||"").slice(0,200)});}return f},Lh={name:"h1Presence",async detect(f){return f.evaluate(pI)}},mI=()=>{let p=[],y=document.querySelectorAll("h1, h2, h3, h4, h5, h6, [role=heading]");for(let h of Array.from(y)){if(p.length>=15)break;if(h.closest("[class*=asw-], [class*=userway], [class*=acsb]")||typeof isVisible=="function"&&!isVisible(h)||(h.textContent||"").trim().length>0)continue;let w=h.getAttribute("aria-label");if(w&&w.trim()||h.getAttribute("aria-labelledby")||h.getAttribute("aria-hidden")==="true")continue;let v=typeof uniqueSel=="function"?uniqueSel(h):"";p.push({selector:v,attribute:"aria-hidden",currentValue:"",issueType:"empty_heading",wcag:"1.3.1",context:`Empty heading: ${h.tagName.toLowerCase()}`,needsAI:false,needsReview:true,reviewReason:"Empty heading may be a layout anchor populated by JS after load; hiding it from assistive tech could suppress real content.",fixValue:"true",outerHtml:(h.outerHTML||"").slice(0,200)});}return p},Ph={cap:15,name:"emptyHeadings",async detect(f){return f.evaluate(mI)}},hI=()=>{let p=[],y=document.querySelectorAll('a[href^="javascript:"], a[href^="JAVASCRIPT:"]');for(let h of Array.from(y)){if(p.length>=15)break;if(h.closest("[class*=asw-], [class*=userway], [class*=acsb]")||typeof isVisible=="function"&&!isVisible(h))continue;let m=(h.getAttribute("role")||"").toLowerCase();if(m==="button")continue;let w=(h.textContent||"").trim();if(!w)continue;let v=typeof uniqueSel=="function"?uniqueSel(h):"";p.push({selector:v,attribute:"role",currentValue:m||"",issueType:"javascript_link",wcag:"2.1.1",context:`<a href="javascript:..."> text: ${JSON.stringify(w.slice(0,60))}`,needsAI:false,fixValue:"button",outerHtml:(h.outerHTML||"").slice(0,200)});}return p},Mh={cap:15,name:"javascriptLinks",async detect(f){return f.evaluate(hI)}};var gI=()=>{let f="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye]",y=[];return document.querySelectorAll("svg").forEach(m=>{if(y.length>=50||m.closest(f)||!isVisible(m)||m.getAttribute("aria-hidden")==="true")return;let v=m.getAttribute("role");if(v==="presentation"||v==="none"||m.closest('[aria-hidden="true"]'))return;let b=m.getAttribute("aria-label")||"",A=m.getAttribute("aria-labelledby")||"",k=m.querySelector("title"),x=k?(k.textContent||"").trim():"";if(b.trim()||A.trim()||x)return;let _=m.getBoundingClientRect(),T=_.width<=16&&_.height<=16;if(_.width<=4||_.height<=4||m.getAttribute("preserveAspectRatio")==="none")return;let S=m.closest('a, button, [role="button"], [role="link"], [onclick]');if(S){if(S.getAttribute("aria-label")?.trim()||S.getAttribute("aria-labelledby")?.trim())return;let Z=getAccessibleName(S),te=S.cloneNode(true);te.querySelectorAll("svg").forEach(re=>re.remove());let ie=(te.textContent||"").trim().replace(/\s+/g," ");if(Z&&ie.length>0)return}else {if(T)return;let Z=m.parentElement;if(Z&&(Z.textContent||"").trim().replace(/\s+/g," ").length>3)return}let E=uniqueSel(m),F=getNearbyContext(S||m),L=S&&S.getAttribute("href")||"",O=(S||m).outerHTML.slice(0,300),H=m.getAttribute("class")||"",$=m.getAttribute("data-icon")||"",z=S||m,K=z&&z!==m&&z.getAttribute("class")||"",j=typeof lookupIconLabel=="function"?lookupIconLabel(String(H),$,"")||lookupIconLabel(String(K),"",""):null,W=S?uniqueSel(S):E;y.push({selector:W,attribute:"aria-label",currentValue:"",issueType:"svg_missing_name",wcag:"1.1.1",context:JSON.stringify({parentTag:(S||m).tagName?(S||m).tagName.toLowerCase():"svg",href:L,nearbyHeading:F.nearbyHeading,parentRole:F.parentRole,svgClasses:H,iconLib:j||void 0,suggestion:"Add aria-label to the parent interactive element or <title> inside SVG"}),needsAI:!j,fixValue:j||void 0,outerHtml:O});}),y},Oh={name:"svgNames",cap:50,async detect(f){return f.evaluate(gI)}};var vI=()=>{let y=[],h=["a[href]","button",'input[type="button"]','input[type="submit"]','input[type="reset"]','input[type="checkbox"]','input[type="radio"]','[role="button"]','[role="link"]','[role="checkbox"]','[role="radio"]','[role="menuitem"]','[role="tab"]','[role="switch"]',"[onclick]"].join(","),m=h;function w(A,k){let x=Array.from(A.getClientRects()).filter(E=>E.height>0);if(!x.length)return false;let _=document.createTreeWalker(k,NodeFilter.SHOW_TEXT),T,S=0;for(;(T=_.nextNode())&&S<400;){S++;let E=T.parentElement;if(!E||A.contains(T)||!/[\p{L}\p{N}]{2,}/u.test(T.textContent||"")||E.closest(m))continue;let F=document.createRange();F.selectNodeContents(T);for(let L of Array.from(F.getClientRects()))if(!(L.width===0||L.height===0)){for(let O of x)if(Math.min(O.bottom,L.bottom)-Math.max(O.top,L.top)>Math.min(O.height,L.height)/2)return true}}return false}let v=document.querySelectorAll(h),b=[];for(let A of v){if(typeof isWidget=="function"&&isWidget(A)||typeof isHiddenFromAT=="function"&&isHiddenFromAT(A)||typeof isVisible=="function"&&!isVisible(A)||!A.offsetParent&&A.tagName!=="BODY")continue;let k=A.getBoundingClientRect();k.width===0&&k.height===0||b.push({el:A,rect:k});}for(let{el:A,rect:k}of b){if(y.length>=50)break;let x=k.width,_=k.height;if(x>=24&&_>=24)continue;let T=A.parentElement;if(T&&getComputedStyle(A).display==="inline"){if(Array.from(T.childNodes).some(Z=>Z.nodeType===3&&(Z.textContent||"").trim().length>3))continue;let W=T;for(;W&&W!==document.body&&getComputedStyle(W).display.startsWith("inline");)W=W.parentElement;if(W&&w(A,W))continue}let S=false,E=k.left+k.width/2,F=k.top+k.height/2;for(let j of b){if(j.el===A||j.el.contains(A)||A.contains(j.el))continue;if(j.rect.width<24||j.rect.height<24){let Z=j.rect.left+j.rect.width/2,te=j.rect.top+j.rect.height/2;if(Math.hypot(E-Z,F-te)<24){S=true;break}}else {let Z=Math.max(j.rect.left-E,0,E-j.rect.right),te=Math.max(j.rect.top-F,0,F-j.rect.bottom);if(Math.hypot(Z,te)<12){S=true;break}}}if(!S&&x>=1&&_>=1)continue;let O=Math.max(0,24-_),$=Math.ceil(O/2),z=[];z.push("min-width:24px"),z.push("min-height:24px"),z.push("display:inline-block"),z.push("box-sizing:border-box"),$>0&&z.push("padding-top:"+$+"px"),$>0&&z.push("padding-bottom:"+$+"px");let K=typeof uniqueSel=="function"?uniqueSel(A):A.tagName.toLowerCase();y.push({selector:K,attribute:"style",currentValue:Math.round(x)+"x"+Math.round(_)+"px",issueType:"target_too_small",wcag:"2.5.8",context:`${A.tagName.toLowerCase()} is ${Math.round(x)}x${Math.round(_)}px with adjacent targets \u2014 minimum 24x24px or sufficient spacing required`,needsAI:false,fixValue:z.join(";")+";",outerHtml:A.outerHTML.slice(0,200)});}return y},Nh={name:"targetSize",cap:50,async detect(f){return f.evaluate(vI)}};var bI=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",y=[],h=/(line-height|letter-spacing|word-spacing)\s*:[^;!]*!important/i,m=document.querySelectorAll('[style*="important" i]');for(let w of Array.from(m)){if(y.length>=30)break;if(w.closest(f))continue;let v=w.getAttribute("style")||"";if(!h.test(v))continue;let b=[];/line-height\s*:[^;!]*!important/i.test(v)&&b.push("line-height"),/letter-spacing\s*:[^;!]*!important/i.test(v)&&b.push("letter-spacing"),/word-spacing\s*:[^;!]*!important/i.test(v)&&b.push("word-spacing");let A=typeof uniqueSel=="function"?uniqueSel(w):"",k=typeof getNearbyContext=="function"?getNearbyContext(w):{parentTag:w.tagName.toLowerCase(),nearbyHeading:""},x=[];x.push("blocked: "+b.join(",")),x.push("tag: "+w.tagName.toLowerCase()),k.nearbyHeading&&x.push("heading: "+k.nearbyHeading),x.push("parent: "+k.parentTag),y.push({selector:A,attribute:"style",currentValue:v.slice(0,200),issueType:"text_spacing_blocked",wcag:"1.4.12",context:x.join(" | "),needsAI:true,outerHtml:(w.outerHTML||"").slice(0,300)});}return y},qh={name:"textSpacing",cap:30,async detect(f){return f.evaluate(bI)}};var yI=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",y=[],h=document.querySelectorAll('button, input[type="submit"], input[type="button"], input[type="reset"], [role="button"]');for(let m of h){if(y.length>=50)break;if(m.closest(f)||!isVisible(m))continue;let w=m,v=(w.getAttribute("aria-label")||"").trim(),b=w.getAttribute("aria-labelledby"),A=(w.getAttribute("title")||"").trim(),k=(w.getAttribute("value")||"").trim(),x=(w.textContent||"").trim().replace(/\s+/g," "),_="";b&&(_=typeof __resolveIdRefs=="function"?__resolveIdRefs(b):"");let T=w.querySelector('img[alt]:not([alt=""])'),S=w.querySelector("svg title"),E=w.querySelector("svg[aria-label]");if(!!(v||_||A||k||x||T||S||E))continue;let L=uniqueSel(w),O=getNearbyContext(w),H=w.closest("form"),$=H&&(H.getAttribute("id")||H.getAttribute("name"))||"",z=w.className||"",K=w.querySelector('i, svg, span[class*="icon"]'),j=K&&K.className||"",W=K&&K.getAttribute("data-icon")||"",Z=K?(K.textContent||"").trim():"",te=typeof lookupIconLabel=="function"?lookupIconLabel(String(j),W,Z):null,ie=!te&&typeof lookupIconLabel=="function"?lookupIconLabel(String(z),"",""):null,re=te||ie,me=[];$&&me.push("form: "+$),O.nearbyHeading&&me.push("heading: "+O.nearbyHeading),j&&me.push("icon: "+String(j).slice(0,80)),z&&me.push("class: "+String(z).slice(0,80)),me.push("parent: "+O.parentTag),re&&me.push("icon-lib: "+re),y.push({selector:L,attribute:"aria-label",currentValue:"",issueType:"unlabeled_button",wcag:"4.1.2",context:me.join(" | "),needsAI:!re,fixValue:re||void 0,outerHtml:w.outerHTML.slice(0,300)});}return y},Bh={name:"unlabeledButtons",cap:50,async detect(f){return f.evaluate(yI)}};var wI=()=>{let f=new Set(ALWAYS_VAGUE_WORDS),p=new Set(CONTEXT_VAGUE_WORDS),y={};function h(j,W){if(isWidget(j)||!isVisible(j))return;let Z=getAccessibleName(j);if(!Z)return;let te=(W?"b:":"a:")+Z.toLowerCase().trim();y[te]=(y[te]||0)+1;}document.querySelectorAll('button, [role="button"], input[type="button"], input[type="submit"]').forEach(j=>h(j,true)),document.querySelectorAll("a[href]").forEach(j=>h(j,false));let m=isIconClassToken,w=/[\u4e00-\u9fff\u3040-\u30ff\uac00-\ud7af]/;function v(j,W){return w.test(j)?1:W}let b=50,A=[];function k(j){if((j.textContent||"").trim().replace(/\s+/g," ").length>0)return false;let Z=j.querySelectorAll("i, span, em");for(let te of Z)if((typeof te.className=="string"?te.className:"").split(/\s+/).some(m))return true;return false}function x(j){let W=j.className||"";return typeof W!="string"?false:W.split(/\s+/).some(m)}function _(j,W){if(A.length>=b||isWidget(j)||!isVisible(j))return;let Z=getAccessibleName(j);if(!Z)return;let te=Z.toLowerCase().trim(),ie=false,re=Z.length>=2&&/^[A-Z][A-Z0-9]+$/.test(Z.trim()),me=!W&&/^[[(]?\d{1,4}[\])]?$/.test(Z.trim());if(Z.length<v(Z,3)&&!re&&!me)ie=true;else if(f.has(te))ie=true;else if(p.has(te)&&(y[(W?"b:":"a:")+te]||0)>=2){let ze=(j.getAttribute("aria-label")||"").trim().toLowerCase(),Ke=!!j.getAttribute("aria-labelledby")||!!ze&&ze!==te,Ze=j.querySelector&&j.querySelector('.sr-only, .visually-hidden, [class*="sr-only"], [class*="visually-hidden"], [class*="screen-reader"]'),Ye=Ze?(Ze.textContent||"").trim().toLowerCase():"";!Ke&&!(Ze&&Ye!==te)&&(ie=true);}else (k(j)||x(j)&&Z.length===0)&&(j.getAttribute("aria-label")||j.getAttribute("aria-labelledby")||j.querySelector&&j.querySelector('.sr-only, .visually-hidden, [class*="sr-only"], [class*="visually-hidden"]')||(ie=true));if(!ie)return;let Ie=getNearbyContext(j),Ce=uniqueSel(j),qe=j.getAttribute("href")||"",ke=j.outerHTML.slice(0,300);A.push({selector:Ce,attribute:"aria-label",currentValue:(j.getAttribute("aria-label")||"").trim(),message:(W?"weak button name: ":"weak link name: ")+(j.getAttribute("aria-label")||j.getAttribute("aria-labelledby")?`"${Z}" is too generic for a control \u2014 add distinguishing context`:`text "${Z}" is too generic for a control \u2014 add distinguishing context`),issueType:W?"weak_button_name":"weak_link_name",wcag:W?"4.1.2":"2.4.4",context:JSON.stringify({currentText:Z,href:qe,nearbyHeading:Ie.nearbyHeading,parentTag:Ie.parentTag,parentRole:Ie.parentRole,cardText:Ie.cardText||"",imgAlt:Ie.imgAlt||""}),needsAI:true,outerHtml:ke});}document.querySelectorAll('button, [role="button"], input[type="button"], input[type="submit"]').forEach(j=>_(j,true)),document.querySelectorAll("a[href]").forEach(j=>_(j,false));let T=/^(untitled(?:\s+document)?|new\s+page|new\s+document|home|page\s*\d*|document|untitled)$/i,S=/^(iframe|embed|widget|frame|content|untitled)$/i,E=/^(skip|go|→|\->|main|content)$/i,F=new Set(["section","title","heading","headings","page","content","chapter","part","article","document","intro","untitled","test","lorem","tbd","todo","draft","sample","example","welcome","hello","hi","home"]);function L(j){return !!(!j||j.getAttribute("aria-hidden")==="true"||j.closest('[aria-hidden="true"]'))}function O(j,W,Z,te,ie,re){if(A.length>=b)return;let me=uniqueSel(j),Ie=(j.outerHTML||"").slice(0,300);A.push({selector:me,attribute:W,currentValue:Z,issueType:te,wcag:ie,context:JSON.stringify(re),needsAI:true,outerHtml:Ie});}let H=document.querySelectorAll("h1,h2,h3,h4,h5,h6");for(let j=0;j<H.length&&!(A.length>=b);j++){let W=H[j];if(!W||isWidget(W)||L(W)||!isVisible(W))continue;let Z=getAccessibleName(W);if(!Z)continue;let te=Z.toLowerCase().trim(),ie=te.split(/\s+/).filter(Boolean),re=false;if((Z.length<v(Z,3)||ie.length===1&&(f.has(te)||F.has(te))||/^page\s*\d+$/i.test(te)||/^section\s*\d+$/i.test(te)||/^chapter\s*\d+$/i.test(te)||/^[^\p{L}\p{N}]+$/u.test(Z))&&(re=true),!re)continue;let me=getNearbyContext(W);O(W,"textContent",Z,"weak_heading","2.4.6",{currentText:Z,tag:W.tagName.toLowerCase(),nearbyHeading:me.nearbyHeading,parentTag:me.parentTag,parentRole:me.parentRole});}let $=document.querySelectorAll("iframe");for(let j=0;j<$.length&&!(A.length>=b);j++){let W=$[j];if(!W||isWidget(W)||L(W))continue;let Z=getComputedStyle(W);if(W.getClientRects().length===0||Z.visibility==="hidden"||Z.visibility==="collapse"||(W.getAttribute("src")||"").trim().toLowerCase().indexOf("javascript:")===0)continue;let te=(W.getAttribute("title")||"").trim();if(!te)continue;let ie=te.toLowerCase(),re=false;if((te.length<v(te,3)||S.test(ie)||f.has(ie))&&(re=true),!re)continue;let me=(W.getAttribute("src")||"").slice(0,120),Ie=getNearbyContext(W);O(W,"title",te,"weak_iframe_title","4.1.2",{currentTitle:te,src:me,nearbyHeading:Ie.nearbyHeading,parentTag:Ie.parentTag});}if(A.length<b){let j=document.querySelector("head > title, title"),W=(document.title||"").trim();if(j&&W){let Z=W.toLowerCase(),te=false;(W.length<v(W,5)||T.test(Z)||/^untitled/i.test(W))&&(te=true),te&&A.push({selector:"title",attribute:"textContent",currentValue:W,issueType:"weak_page_title",wcag:"2.4.2",context:JSON.stringify({currentTitle:W,hostname:typeof location<"u"&&location&&location.hostname||"",pathname:typeof location<"u"&&location&&location.pathname||""}),needsAI:true,outerHtml:(j.outerHTML||"").slice(0,300)});}}let z=document.querySelectorAll("svg");for(let j=0;j<z.length&&!(A.length>=b);j++){let W=z[j];if(!W||isWidget(W)||L(W)||W.getAttribute("role")==="presentation"||W.getAttribute("role")==="none"||!isVisible(W))continue;let Z=W.querySelector("title"),te=Z?(Z.textContent||"").trim():"",ie=(W.getAttribute("aria-label")||"").trim(),re=ie||te;if(!re)continue;let me=re.toLowerCase(),Ie=false;if((re.length<v(re,3)||f.has(me)||/^(icon|svg|image|graphic|logo)$/i.test(re))&&(Ie=true),!Ie)continue;let Ce=W.closest('a, button, [role="button"], [role="link"]'),qe=getNearbyContext(W);O(W,ie?"aria-label":"title",re,"weak_svg_name","1.1.1",{currentName:re,svgClasses:W.getAttribute("class")||"",parentTag:Ce?Ce.tagName.toLowerCase():qe.parentTag,parentHref:Ce&&Ce.getAttribute("href")||"",nearbyHeading:qe.nearbyHeading});}let K=document.querySelectorAll('a[href="#main"], a[href="#main-content"], a[href="#content"], a[href="#skip"], a[href="#maincontent"], a.skip-link, a.skip-nav, a.skip-to-content, a.skiplink, a.skip-navigation, [class*="skip-link"], [class*="skip-nav"]');for(let j=0;j<K.length&&!(A.length>=b);j++){let W=K[j];if(!W||isWidget(W)||L(W))continue;let Z=getAccessibleName(W);if(!Z)continue;let te=Z.toLowerCase().trim(),ie=false;if((Z.length<v(Z,4)||E.test(te)||te==="skip"||te==="skip link"||te==="jump")&&(ie=true),!ie)continue;let re=W.getAttribute("href")||"";A.push({selector:uniqueSel(W),attribute:"textContent",currentValue:Z,issueType:"weak_skip_link",wcag:"2.4.1",context:JSON.stringify({currentText:Z,href:re}),needsAI:false,fixValue:"Skip to main content",outerHtml:(W.outerHTML||"").slice(0,300)});}return A},Hh={name:"weakNames",cap:50,async detect(f){return f.evaluate(wI)}};var xI=()=>{let p=[],y=document.querySelector('meta[name="viewport"]');if(y){let m=(y.getAttribute("content")||"").trim(),w=m.toLowerCase(),v=false,b=[];(w.indexOf("user-scalable=no")>=0||w.indexOf("user-scalable=0")>=0)&&(v=true,b.push("user-scalable=no blocks pinch-zoom"));let A=w.match(/maximum-scale\s*=\s*([\d.]+)/);A&&parseFloat(A[1])<2&&(v=true,b.push("maximum-scale="+A[1]+" (<2)")),v&&p.push({selector:'meta[name="viewport"]',attribute:"content",currentValue:m,issueType:"zoom_restriction",wcag:"1.4.4",context:"viewport blocks zoom: "+b.join(" | "),needsAI:false,fixValue:"width=device-width, initial-scale=1"});}let h=[{el:document.documentElement,selector:"html"},{el:document.body,selector:"body"}];for(let m=0;m<h.length&&!(p.length>=5);m++){let w=h[m];if(w.el)try{let b=(getComputedStyle(w.el).getPropertyValue("touch-action")||"").trim().toLowerCase();(b==="none"||b==="pinch-zoom")&&p.push({selector:w.selector,attribute:"style",currentValue:"touch-action: "+b,issueType:"zoom_restriction",wcag:"1.4.4",context:"CSS touch-action: "+b+" on <"+w.selector+"> prevents pinch-zoom",needsAI:!1,fixValue:"touch-action: manipulation !important;"});}catch{}}return p},Vh={name:"zoomUnlock",cap:5,async detect(f){return f.evaluate(xI)}};var DI=()=>{let f=[],p=document.querySelectorAll('main *, [role="main"] *, body > div *'),y=new Set,h=Math.min(p.length,200);for(let m=0;m<h;m++){let w=p[m];if(y.has(w)||!w.offsetParent)continue;y.add(w);let v=getComputedStyle(w),b=parseInt(v.order||"0",10),A=v.position;if(b>=3){let k=w.getBoundingClientRect();if(k.width>0&&k.height>0){let x=(w.textContent?.trim().length||0)>10,_=!!w.querySelector("a, button, input, select, textarea");(x||_)&&f.push({selector:typeof uniqueSel=="function"?uniqueSel(w):w.tagName.toLowerCase(),attribute:"data-sequence-review",currentValue:`CSS order: ${b}`,issueType:"meaningful_sequence",wcag:"1.3.2",context:`Element uses CSS order:${b} \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(A==="absolute"){if(!!!w.querySelector("a, button, input, select, textarea"))continue;let x=w.parentElement;if(!x||x.children.length<=2)continue;let _=w.getBoundingClientRect(),T=x.getBoundingClientRect();(_.top<T.top-100||_.left<T.left-300)&&f.push({selector:typeof uniqueSel=="function"?uniqueSel(w):w.tagName.toLowerCase(),attribute:"data-sequence-review",currentValue:`position: ${A}, displaced ${Math.round(Math.abs(_.top-T.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 f},jh={name:"meaningfulSequence",async detect(f){return f.evaluate(DI)}};var $h={name:"sensoryCharacteristics",async detect(f){let p=await f.evaluate(()=>{let h=[],m=document.querySelectorAll('p, li, td, label, span, div, a, button, h1, h2, h3, h4, h5, h6, figcaption, [role="alert"], [role="status"]'),w=Math.min(m.length,300);for(let v=0;v<w;v++){let b=m[v];if(!b.offsetParent||b.children.length>3)continue;let A=b.textContent?.trim()||"";A.length<15||A.length>300||/click|tap|press|select|choose|find|look|see|drag|scroll|hover|go to|navigate/i.test(A)&&h.push({text:A,selector:typeof uniqueSel=="function"?uniqueSel(b):b.tagName.toLowerCase()});}return h.slice(0,20)});if(p.length===0)return [];let y=[];for(let{text:h,selector:m}of p){h.toLowerCase();let v=/\b(round|square|circular|triangular|arrow-shaped)\b.*\b(button|icon|element|thing)\b/i.test(h)&&!/\b(submit|cancel|close|menu|search|delete|edit|save|back|next|previous|home)\b/i.test(h),b=/\b(on the|to the|in the)\s+(left|right|top|bottom|upper|lower|above|below|sidebar)\b/i.test(h)&&!/\b(navigation|menu|header|footer|sidebar menu|breadcrumb)\b/i.test(h)&&/\b(click|tap|press|select|find)\b/i.test(h),A=/\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(h)&&!/\b(submit|cancel|close|delete|save|success|error|warning|danger)\b/i.test(h),k=/\b(large|small|big|tiny|narrow|wide)\s+(button|link|icon|box|area)\b/i.test(h)&&/\b(click|tap|press|select|find)\b/i.test(h);if(v||b||A||k){let x=v?"shape":b?"position":A?"color":"size";y.push({selector:m,attribute:"data-sensory-review",currentValue:h.slice(0,100),issueType:"sensory_characteristic",wcag:"1.3.3",context:`Instruction relies on ${x} alone: "${h.slice(0,80)}". Provide a non-sensory way to identify the referenced element (e.g., by name, label, or function).`,needsAI:true});}}return y}};var _I=()=>{let f=[];for(let p of document.styleSheets)try{for(let y of p.cssRules)if(y instanceof CSSMediaRule){let h=y.conditionText||y.media?.mediaText||"";if(/orientation\s*:\s*(portrait|landscape)/i.test(h))for(let m of y.cssRules){let w=m.cssText||"";/display\s*:\s*none|visibility\s*:\s*hidden|transform\s*:\s*rotate/i.test(w)&&f.push({selector:"html",attribute:"data-orientation-lock",currentValue:h,issueType:"orientation_lock",wcag:"1.3.4",context:`CSS media query "${h}" hides or rotates content. Content must not be restricted to a single orientation.`,needsAI:!1,fixValue:"Remove orientation-dependent display:none/visibility:hidden rules"});}}}catch{}return f},zh={name:"orientation",async detect(f){return f.evaluate(_I)}};var AI=()=>{let f=[],p=document.querySelectorAll("img");for(let y of p){if(!y.offsetParent||y.width<50||y.height<20||y.complete&&y.naturalWidth===0)continue;let h=y.src||y.getAttribute("data-src")||"",m=h.indexOf(","),w=(h.toLowerCase().startsWith("data:")&&m!==-1?h.slice(0,m):h).toLowerCase(),v=y.getAttribute("alt")||"",b=y.getAttribute("role")||"";if(y.getAttribute("aria-hidden")==="true"||!!y.closest('[aria-hidden="true"]')||b==="presentation"||b==="none"||y.hasAttribute("alt")&&v.trim()==="")continue;let k=y.width>200&&y.height<80&&y.height>15,x=/banner|header|logo-text|title|heading|cta|promo|offer|button.*\.(?:png|jpg|gif|webp)/i.test(w);if(!(x||k)||/(?:^|\/)(?:img|dsc|dscn|dcim|pict)[-_]?\d|photo|gallery/i.test(w)&&!x)continue;let T=y.closest("a[href]"),S=(()=>{if(!T)return false;let K=T.getAttribute("href")||"";if(K==="/"||K==="")return true;try{let j=new URL(T.href,location.href);return j.origin!==location.origin?!1:!!(j.pathname.replace(/\/+$/,"")===""||/^\/(?:index|home|default)(?:\.\w+)?$/i.test(j.pathname)||/^\/[a-z]{2}(?:-[a-z]{2})?(?:\.\w+)?$/i.test(j.pathname))}catch{return false}})();if(S&&(T.textContent||"").trim().length===0)continue;let F="";if(T&&!S&&(T.textContent||"").trim().length===0)try{let K=new URL(T.href,location.href),j=v.trim().split(/\s+/).filter(Boolean);if(K.origin!==location.origin&&/^https?:$/.test(K.protocol)&&j.length>0&&j.length<=4&&v.trim().length<=40){let W=me=>me.toLowerCase().normalize("NFKD").replace(/[^\p{L}\p{N}]/gu,""),Z=W(v),te=K.hostname.toLowerCase().split(".").filter(me=>me&&me!=="www"),ie=(te.length>1?te.slice(0,-1):te).map(W).filter(Boolean);F=Z.length>=3&&(Z===W(te.join(""))||Z===ie.join("")||ie.some(me=>Z===me||me.length>=5&&Z.startsWith(me)))?"exempt":"review";}}catch{}let L=!!y.closest('header, [role="banner"], footer, [role="contentinfo"]'),O=y.height>0&&y.height<=120,H=L&&O,$=/logo|brand|wordmark|hero|banner-?(?:img|image)?|footer|marketing|promo|cover|screenshot|dashboard/i,z=H||$.test(w)||$.test(y.className)||$.test(y.id||"");w.includes("icon")||w.includes("avatar")||w.includes("emoji")||f.push({selector:typeof uniqueSel=="function"?uniqueSel(y):"img",attribute:"data-image-of-text",currentValue:w.split("/").pop()?.slice(0,60)||"",issueType:"image_of_text",wcag:"1.4.5",context:`Image may contain text (${y.width}x${y.height}px, alt="${v.slice(0,40)}"). Use real text with CSS styling instead.`,needsAI:true,imageSrc:y.src,...z||F?{needsReview:true,reviewReason:H?"small graphic in the header/footer landmark \u2014 likely a logo, wordmark, or brand signature, which are exempt under WCAG 1.4.5 (logotypes)":F==="exempt"?"image is the only content of a link to another site and its alt names that site \u2014 likely the partner/sponsor logo, exempt under WCAG 1.4.5 (logotypes); confirm the image holds only the brand name":F==="review"?"image is the only content of a link to another site and its alt is a short name \u2014 likely a partner/sponsor logo, exempt under WCAG 1.4.5 (logotypes)":"filename suggests marketing/brand imagery; logos and brand collateral are exempt under WCAG 1.4.5"}:{}});}return f},Gh={name:"imagesOfText",async detect(f){return f.evaluate(AI)}};var Wh={name:"reflow",async detect(f){let p=f;if(!p.setViewport)return [];let y=p.viewport?.()??{width:1280,height:720},h=y.width??1280,m=y.height??720;try{return await p.setViewport({width:320,height:m}),await new Promise(v=>setTimeout(v,500)),await f.evaluate(v=>{let b=[],A=document.querySelectorAll("body *"),k=Math.min(A.length,500);for(let x=0;x<k;x++){let _=A[x];if(!_.offsetParent)continue;let T=_.tagName.toLowerCase();if(T==="script"||T==="style"||T==="noscript")continue;let S=_.getBoundingClientRect();S.right>v+5&&S.width>v*1.1&&b.push({selector:typeof uniqueSel=="function"?uniqueSel(_):T,attribute:"style",currentValue:`${Math.round(S.width)}px wide at ${v}px viewport`,issueType:"reflow_overflow",wcag:"1.4.10",context:`Element is ${Math.round(S.width)}px wide and overflows the ${v}px viewport by ${Math.round(S.right-v)}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>v+10&&b.push({selector:"html",attribute:"data-reflow",currentValue:`scrollWidth ${document.documentElement.scrollWidth}px at ${v}px viewport`,issueType:"reflow_overflow",wcag:"1.4.10",context:`Page has horizontal scrollbar at ${v}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"}),b},320)}finally{await p.setViewport({width:h,height:m}).catch(()=>{});}}};var EI=()=>{let f=[],p=document.querySelectorAll("video");for(let m of p){if(m.autoplay&&!m.muted&&f.push({selector:typeof uniqueSel=="function"?uniqueSel(m):"video",attribute:"muted",currentValue:"autoplay without muted",issueType:"unsafe_autoplay",wcag:"1.4.2",context:"Video autoplays with sound. Either mute by default, provide a mechanism to pause, or limit to 3 seconds.",needsAI:false,fixValue:"true"}),!(m.offsetParent!==null&&getComputedStyle(m).display!=="none"))continue;let v=m.getBoundingClientRect();if(v.width===0&&v.height===0||m.error||m.muted&&m.autoplay&&m.loop&&!m.hasAttribute("controls"))continue;let b=m.querySelectorAll("track"),A=Array.from(b).find(T=>T.kind==="captions"||T.kind==="subtitles"),k=Array.from(b).find(T=>T.kind==="descriptions");m.src||m.querySelector("source")?.src||"";let _=typeof uniqueSel=="function"?uniqueSel(m):"video";A||f.push({selector:_,attribute:"data-captions-missing",currentValue:"",issueType:"missing_captions",wcag:"1.2.2",context:'Video element has no <track kind="captions">. Provide synchronized captions for all prerecorded audio content. Add: <track kind="captions" src="captions.vtt" srclang="en" label="English">',needsAI:false,fixValue:'Add <track kind="captions" src="captions.vtt" srclang="en" label="English" default>',needsReview:true,reviewReason:"cannot verify an audio track in-page \u2014 confirm the video has speech content before adding captions (silent videos need none)"}),k||f.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});}let y=document.querySelectorAll("audio");for(let m of y){let w=typeof uniqueSel=="function"?uniqueSel(m):"audio";m.closest("figure, div, section")?.querySelector('a[href*="transcript"], [class*="transcript"]')||f.push({selector:w,attribute:"data-transcript-missing",currentValue:"",issueType:"missing_transcript",wcag:"1.2.1",context:"Audio element has no associated transcript. Provide a text transcript for all prerecorded audio-only content.",needsAI:true}),m.autoplay&&!m.muted&&f.push({selector:w,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"});}let h=document.querySelectorAll("iframe");for(let m of h){let w=(m.src||"").toLowerCase();if(!w.includes("youtube")&&!w.includes("vimeo")&&!w.includes("dailymotion")&&!w.includes("wistia")||!m.offsetParent||getComputedStyle(m).display==="none")continue;let v=m.getBoundingClientRect();if(v.width===0&&v.height===0)continue;let b=typeof uniqueSel=="function"?uniqueSel(m):"iframe";m.closest("figure, div, section, article")?.querySelector('a[href*="transcript"], [class*="transcript"], [id*="transcript"]')||f.push({selector:b,attribute:"data-video-transcript",currentValue:"",issueType:"missing_captions",wcag:"1.2.2",context:`Embedded video player detected (${w.split("/").slice(0,4).join("/")}). Verify captions are enabled in the player settings. Provide a transcript link near the video for users who can't access the player.`,needsAI:true});}return f},Uh={name:"mediaAlternatives",cap:50,async detect(f){return (await f.evaluate(EI)).slice(0,50)}};var CI=()=>{let f=[],p=document.querySelector('meta[http-equiv="refresh"]');if(p){let L=p.getAttribute("content")||"",O=parseInt(L,10);!isNaN(O)&&O>0&&O<72e3&&f.push({selector:`meta[http-equiv="refresh"][content*="${L.trim().slice(0,20)}"]`,attribute:"data-auto-refresh",currentValue:L,issueType:"auto_refresh",wcag:"2.2.1",context:`Page auto-refreshes after ${O}s. Users must be able to turn off, adjust, or extend time limits (WCAG 2.2.1).`,needsAI:false,needsReview:true,reviewReason:`Auto-refresh via <meta http-equiv="refresh"> is not mechanically auto-fixable. Remove the meta tag, or replace it with an on-page control that lets users turn off, adjust, or extend the ${O}s time limit before it triggers.`});}let y=document.querySelectorAll("[accesskey]");for(let L of y){let O=L.getAttribute("accesskey")||"";if(O.length===1){let H=typeof uniqueSel=="function"?uniqueSel(L):L.tagName.toLowerCase();f.push({selector:H,attribute:"accesskey",currentValue:O,issueType:"character_key_shortcut",wcag:"2.1.4",context:`Single character accesskey "${O}". 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 h=document.querySelectorAll("select");for(let L of h){let O=L.hasAttribute("onchange"),H=L.getAttribute("onchange")||"";if(O&&/submit|location|href|navigate|window\./i.test(H)){let $=typeof uniqueSel=="function"?uniqueSel(L):"select";f.push({selector:$,attribute:"onchange",currentValue:H.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 L of m)if(!(L.hasAttribute("onclick")||L.hasAttribute("onkeydown")||L.hasAttribute("onkeyup"))){let H=typeof uniqueSel=="function"?uniqueSel(L):L.tagName.toLowerCase();f.push({selector:H,attribute:"data-pointer-gesture",currentValue:"touch/gesture handler without keyboard alternative",issueType:"pointer_gesture",wcag:"2.5.1",context:"Element has touch/gesture handler but no keyboard or click alternative. All multipoint/path-based gestures must have single-pointer alternatives.",needsAI:true});}let w=document.querySelectorAll("[onmousedown]");for(let L of w){let O=L.hasAttribute("onmouseup"),H=L.tagName.toLowerCase();if(!O&&H!=="a"&&H!=="button"&&H!=="input"){let $=typeof uniqueSel=="function"?uniqueSel(L):H;f.push({selector:$,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 v=document.querySelectorAll("script:not([src])");for(let L of v){let O=L.textContent||"";if(/devicemotion|deviceorientation|accelerometer|gyroscope/i.test(O)){f.push({selector:"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 b=document.querySelectorAll("form"),A='input:not([type="hidden"]):not([type="submit"]):not([type="button"]):not([type="reset"]):not([type="image"]), select, textarea',k=/\bcc-|card.?(?:number|num|no\b)|cardnumber|\bcvv|\bcvc|\bcsc\b|security.?code|\bexpir|\biban\b|routing|account.?(?:number|no\b)|sort.?code|\bbilling\b|transaction-(?:amount|currency)/i,x=/card|payment/i,_=/\b(?:pay|buy|purchase|donate|subscribe and pay|place (?:your |my )?order|complete (?:order|purchase|payment)|confirm (?:order|purchase|payment)|check ?out)\b/i,T=/\b(?:delete|remove|close|deactivate|cancel|terminate)\b[^.]{0,30}\b(?:account|profile|subscription|membership|data|records?)\b/i,S=/\b(?:e-?)?sign\b(?![\s\u00a0-]*(?:up|in|on|out)\b)|\bagree and (?:submit|continue|sign)\b/i,E=/\b(?:save|update|change)\b/i,F=/e-?mail|name|phone|tel\b|zip|postal|company|organi[sz]ation|country/i;for(let L of b){let O=Array.from(L.querySelectorAll(A)),H=Le=>[Le.getAttribute("name"),Le.id,Le.getAttribute("autocomplete"),Le.getAttribute("placeholder"),Le.getAttribute("aria-label")].join(" "),$=Array.from(L.querySelectorAll('button, input[type="submit"], input[type="image"]')).filter(Le=>Le.tagName!=="BUTTON"||!Le.getAttribute("type")||(Le.getAttribute("type")||"").toLowerCase()==="submit").map(Le=>(Le.getAttribute("value")||"")+" "+(Le.textContent||"")+" "+(Le.getAttribute("aria-label")||"")).join(" . "),z=O.some(Le=>k.test(H(Le)))||Array.from(L.querySelectorAll("iframe")).some(Le=>x.test((Le.getAttribute("title")||"")+" "+(Le.getAttribute("name")||""))),K=O.some(Le=>/signature/i.test(H(Le))),j=z||_.test($),W=T.test($),Z=K||S.test($),te=O.length>0&&O.some(Le=>(Le.getAttribute("type")||"").toLowerCase()==="email"||/e-?mail/i.test(H(Le)))&&O.every(Le=>{let Ue=Le.tagName.toLowerCase()==="input"?(Le.getAttribute("type")||"text").toLowerCase():Le.tagName.toLowerCase();return Ue==="email"||Ue==="checkbox"||Ue==="tel"?true:Ue==="text"||Ue==="search"?F.test(H(Le)+" "+(Le.closest("label")?.textContent||"")):false}),ie=(L.textContent||"").toLowerCase(),re=/payment|credit card|billing|purchase|\border\b|checkout|bank|account number/i.test(ie),me=/\bagree|terms|contract|binding|signature|consent|waiver/i.test(ie),Ie=/delete.*account|remove.*data|cancel.*account/i.test(ie),Ce=j||W||Z,qe=te&&(E.test($)||Ie),ke=!Ce&&(!te&&(re||me||Ie)||qe);if(!Ce&&!ke)continue;let ze=!!L.querySelector('[type="checkbox"][required], [class*="confirm"], [id*="confirm"], [name*="confirm"]'),Ke=!!L.querySelector('[class*="review"], [class*="summary"], [id*="review"]');if(ze||Ke)continue;let Ze=typeof uniqueSel=="function"?uniqueSel(L):"form",Ye=Ce?j?"financial":W?"data-deletion":"legal":qe?Ie?"data-deletion":"data-modification":re?"financial":me?"legal":"data-deletion";f.push({selector:Ze,attribute:"data-error-prevention",currentValue:Ye,issueType:"error_prevention_missing",wcag:"3.3.4",context:`${Ye.charAt(0).toUpperCase()+Ye.slice(1)} form lacks a confirmation/review step. For ${Ye} transactions, provide: (1) a review step before submission, (2) ability to check/correct input, or (3) ability to reverse the submission.`,needsAI:true,...ke?{needsReview:true,reviewReason:qe&&Ie?"form text is about deleting an account or data and its submit is generic \u2014 confirm whether submitting it deletes stored user data":qe?"form saves contact/account details \u2014 confirm whether submitting it changes stored user data that cannot be reviewed or reversed":`form text mentions ${Ye} topics but its controls show no ${Ye} transaction (no payment fields, pay/order/delete submit, or signature) \u2014 confirm whether submitting it commits the user`}:{}});}return f},Xh={name:"timingAndInput",async detect(f){return f.evaluate(CI)}};var SI=()=>{let f=[],p=!!document.querySelector('nav, [role="navigation"]'),y=!!document.querySelector('input[type="search"], [role="search"], form[action*="search"], input[name="s"], input[name="q"], input[placeholder*="search" i]'),h=!!document.querySelector('a[href*="sitemap"], a[href*="site-map"]'),m=!!document.querySelector('[class*="breadcrumb" i], [role="breadcrumb"], nav[aria-label*="breadcrumb" i], ol[class*="breadcrumb" i]'),w=!!document.querySelector('[class*="table-of-contents" i], [class*="toc" i], [id*="toc"]'),v=[p,y,h,m,w].filter(Boolean).length;if(v<2&&document.querySelectorAll("a[href]").length>20){let x=[];y||x.push("search"),h||x.push("sitemap link"),m||x.push("breadcrumbs"),f.push({selector:"body",attribute:"data-multiple-ways",currentValue:`${v} navigation method(s)`,issueType:"insufficient_navigation",wcag:"2.4.5",context:`Page has ${v} way(s) to navigate. WCAG requires multiple ways to locate pages (e.g., navigation + search, or navigation + sitemap). Consider adding: ${x.join(", ")}.`,needsAI:false,fixValue:`Add ${x[0]||"additional navigation method"}`});}let b=document.querySelectorAll('nav, [role="navigation"]');for(let x of b){if(!x.offsetParent||x.closest('footer, aside, [role="contentinfo"], [role="complementary"]')||x.parentElement?.closest('nav, [role="navigation"]'))continue;let _=x.getBoundingClientRect();if(_.top<=window.innerHeight)continue;let T=typeof uniqueSel=="function"?uniqueSel(x):"nav";f.push({selector:T,attribute:"data-nav-position",currentValue:`top: ${Math.round(_.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 A=document.querySelectorAll('[class*="blink" i], [class*="flash" i], [class*="strobe" i], blink, marquee');for(let x of A){if(!x.offsetParent)continue;let _=typeof uniqueSel=="function"?uniqueSel(x):x.tagName.toLowerCase();f.push({selector:_,attribute:"data-flashing",currentValue:x.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 k=document.querySelectorAll('img[src*=".gif"]');for(let x of k){if(!x.offsetParent||x.width<25||x.height<25)continue;let _=x.getBoundingClientRect();if(_.width>100&&_.height>100){let T=typeof uniqueSel=="function"?uniqueSel(x):"img";f.push({selector:T,attribute:"data-animated-gif",currentValue:(x.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 f},Yh={name:"navigationAndWayfinding",async detect(f){return f.evaluate(SI)}};var Kh={name:"flashDetection",async detect(f){let p=[];if(!f.screenshot)return p;let h=await f.evaluate(()=>{let x=document.documentElement.style.getPropertyValue("--wa-animations-frozen")==="1";if(x){let _=document.querySelectorAll("*");for(let T of _)T.style.removeProperty("animation-play-state"),T.style.removeProperty("transition");}return x}),m=8,w=120,v=9,b=3,A=[];for(let k=0;k<m;k++){let x=await f.evaluate(_=>{let T=window.innerWidth,S=window.innerHeight,E=3,F=3,L=[];for(let O=0;O<F;O++)for(let H=0;H<E;H++){let $=Math.floor((H+.5)*(T/E)),z=Math.floor((O+.5)*(S/F)),K=document.elementFromPoint($,z);if(!K){L.push(0);continue}let W=getComputedStyle(K).backgroundColor||"rgba(0,0,0,0)",Z=typeof parseCssColor=="function"?parseCssColor(W):null;if(!Z){L.push(0);continue}let te=.2126*Z[0]+.7152*Z[1]+.0722*Z[2];L.push(te);}return L},v);A.push(x),k<m-1&&await new Promise(_=>setTimeout(_,w));}h&&await f.evaluate(()=>{let k=document.querySelectorAll("*");for(let x of k)x.style.setProperty("animation-play-state","paused","important"),x.style.setProperty("transition","none","important");});for(let k=0;k<v;k++){let x=0,_=A[0][k],T=null;for(let F=1;F<m;F++){let L=A[F][k];if(Math.abs(L-_)>25){let H=L>_?"up":"down";T&&H!==T&&x++,T=H;}_=L;}let S=m*w/1e3,E=x/S;if(E>=b){let F=k%3,L=Math.floor(k/3);p.push({selector:"body",attribute:"data-flash-detected",currentValue:`${E.toFixed(1)} flashes/sec in region (${F},${L})`,issueType:"flashing_content",wcag:"2.3.1",context:`Content flashes ${E.toFixed(1)} times/second in screen region (row ${L}, col ${F}). 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 p}};var Jh={name:"reducedMotion",async detect(f){let p=[],y=await f.evaluate(()=>{let h=false,m=false;for(let v of document.styleSheets)try{for(let b of v.cssRules){let A=b.cssText||"";/animation|transition|@keyframes/i.test(A)&&!/prefers-reduced-motion/.test(A)&&(h=!0),b instanceof CSSMediaRule&&/prefers-reduced-motion/i.test(b.conditionText||b.media?.mediaText||"")&&(m=!0);}}catch{}let w=document.querySelectorAll('[class*="animate"], [class*="slide"], [class*="fade"], [class*="bounce"], [class*="spin"], [class*="pulse"]');return w.length>0&&(h=true),{hasAnimations:h,hasReducedMotionQuery:m,animatedCount:w.length}});return y.hasAnimations&&!y.hasReducedMotionQuery&&p.push({selector:"html",attribute:"data-reduced-motion",currentValue:`${y.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; } }"}),p}};var $I=[Hh,_h,lh,Oh,G1,z1,gh,dh,uh,ch,Nh,Z1,Ch,ah,Bh,Dh,nh,th,Rh,W1,xh,fh,kh,rh,eh,bh,sh,wh,ph,mh,Vh,X1,vh,Fh,Y1,K1,hh,Sh,qh,Eh,J1,Ah,Q1,Ih,Lh,Ph,Mh,U1,yh,Th,jh,$h,zh,Gh,Wh,Uh,Xh,Yh,Kh,Jh];async function cu(f,p,y,h){let m=p??[];try{let{UNIQUE_SELECTOR_JS:T,IS_VISIBLE_JS:S,ACCESSIBLE_NAME_JS:E,WIDGET_SKIP_JS:F,IS_HIDDEN_FROM_AT_JS:L,IS_TRACKING_PIXEL_JS:O,NEARBY_CONTEXT_JS:H}=await Promise.resolve().then(()=>(lu(),su)),{ICON_LABELS_JS:$}=await Promise.resolve().then(()=>(Qh(),Zh)),{COLOR_MATH_JS:z}=await Promise.resolve().then(()=>(tg(),eg)),j=`if(typeof __name==='undefined'){var __name=function(t,v){return t};var __defProp=Object.defineProperty;}
381
- `+[T,S,E,F,L,O,H,$,z].join(`
382
- `);try{await f.addScriptTag({content:j});}catch{await f.evaluate(`(0,eval)(${JSON.stringify(j)})`);}}catch(T){console.warn("[webability] helper injection failed:",T.message),(y??[]).push("color:kernel-injection-failed");}let w=[];try{let{detectPlatform:T,applyPlatformTemplates:S}=await Promise.resolve().then(()=>(ag(),rg)),E=await T(f);w=await S(f,E);}catch{}let v=await Promise.allSettled($I.map(async T=>{try{let S=await T.detect(f);return T.cap&&S.length>=T.cap&&m.push({detector:T.name,cap:T.cap}),S}catch{return []}})),b=[];h?.skipFocusMutating&&(y??[]).push("focus:mutating-detectors-skipped (live-tab scan; focus visibility and focus obscured were not checked)");for(let T of h?.skipFocusMutating?[]:[oh,ih])try{let S=await T.detect(f);T.cap&&S.length>=T.cap&&m.push({detector:T.name,cap:T.cap}),b=b.concat(S);}catch{}let A=[...v.flatMap(T=>T.status==="fulfilled"?T.value:[]),...b],k=[...w,...A],x=GI(k),_=["wp-ada-compliance","webability-widget","webability-a11y","asw-","userway","acsb","audioeye","equallyai"];return x.filter(T=>{let S=T.selector.toLowerCase();return S.trim()?!_.some(E=>S.includes(E)):false})}async function zI(f){try{return await f.evaluate(()=>{let p=getComputedStyle(document.documentElement),y={};for(let A of p)A.startsWith("--")&&/color|bg|background|text|primary|secondary|accent/i.test(A)&&(y[A]=p.getPropertyValue(A).trim());let h={},m={},w=document.querySelectorAll("body *:not(script):not(style):not(noscript)"),v=Math.min(w.length,500);for(let A=0;A<v;A++){let k=getComputedStyle(w[A]);if(k.display==="none"||k.visibility==="hidden")continue;let x=k.backgroundColor,_=k.color;x&&x!=="rgba(0, 0, 0, 0)"&&(h[x]=(h[x]||0)+1),_&&(m[_]=(m[_]||0)+1);}let b=A=>Object.entries(A).sort((k,x)=>x[1]-k[1]).slice(0,8).map(([k,x])=>({color:k,count:x}));return {cssVars:y,topBgColors:b(h),topTextColors:b(m)}})}catch{return {cssVars:{},topBgColors:[],topTextColors:[]}}}function GI(f){let p=new Set;return f.filter(y=>{let h=`${y.selector}::${y.issueType}`;return p.has(h)?false:(p.add(h),true)})}var ng="1.4.0";async function du(f,p){try{let{AxeBuilder:y}=await import('@axe-core/playwright');return await new y({page:f}).withTags(p).analyze()}catch{return WI(f,p)}}async function WI(f,p){let y=await Promise.resolve().then(()=>_R(og())),h=y.source??y.default?.source;if(!h)throw new Error("axe-core source unavailable");return await f.addScriptTag({content:h}),await f.evaluate(w=>new Promise((v,b)=>{let A=window;if(!A.axe)return b(new Error("axe-core not loaded"));A.axe.run(document,{runOnly:{type:"tag",values:w},resultTypes:["violations","incomplete"]}).then(v).catch(b);}),p)}function UI(f){if(f.confidence==="needs_review")return {...f,confidence:"needs_review"};let p=XI(f);return p?{...f,confidence:"needs_review",reviewReason:p}:{...f,confidence:"high"}}function lg(f){let p=[],y=[];for(let h of f){let m=UI(h);m.confidence==="needs_review"?y.push(m):p.push(m);}return {highConfidence:p,needsReview:y}}function XI(f){let p=(f.type||"").toLowerCase(),y=f.wcag||"",h=f.html||"",m=(f.message||"").toLowerCase();if((p==="contrast_insufficient"||p==="color-contrast"||y==="1.4.3"||y==="1.4.11")&&YI(h))return "background uses gradient or image \u2014 contrast cannot be reliably computed";if(p==="image_of_text"||y==="1.4.5"){let w=sg(h,"src").toLowerCase();w.startsWith("data:")&&(w=w.split(",")[0]);let v=sg(h,"alt").toLowerCase();if(/\b(logo|brand|wordmark|hero|banner|footer|marketing|promo|cover)\b/.test(w))return "filename pattern suggests marketing/brand imagery, exempt under WCAG 1.4.5";if(v.length>0&&/\b(logo|brand|product screenshot|dashboard)\b/.test(v))return "alt text suggests branded imagery, exempt under WCAG 1.4.5"}return (p==="inconsistent_navigation"||m.includes("inconsistent navigation"))&&(/<footer/i.test(h)||/<aside/i.test(h))?"nav lives inside footer/aside \u2014 position variance is expected":""}function YI(f){return /background(-image)?\s*:\s*(?:linear-gradient|radial-gradient|conic-gradient|url\()/i.test(f)}function sg(f,p){let y=new RegExp(`\\b${p}\\s*=\\s*"([^"]*)"`,"i"),h=f.match(y);return h?h[1]:""}function dg(){let f=m=>{let w=m.getBoundingClientRect();if(w.width===0||w.height===0)return false;let v=window.getComputedStyle(m);return v.visibility!=="hidden"&&v.display!=="none"&&v.opacity!=="0"},p=Array.from(document.querySelectorAll('input[type="password"]')),y=Array.from(document.querySelectorAll('button, input[type="submit"], a[role="button"]')).filter(f).map(m=>(m.value||m.textContent||"").trim().toLowerCase()).filter(m=>m.length>0&&m.length<40),h=Array.from(document.querySelectorAll("button, a")).filter(f).filter(m=>/sign in with|continue with|log in with/i.test(m.textContent||"")).length;return {passwordFields:p.length,visiblePasswordFields:p.filter(f).length,submitLabels:y,oauthButtons:h,formCount:document.querySelectorAll("form").length,bodyTextLength:(document.body?.innerText||"").trim().length,headingText:(document.querySelector("h1, h2")?.textContent||"").trim().slice(0,120).toLowerCase()}}var KI=/\b(log ?in|sign ?in|sign ?on|authenticate)\b/,JI=/\b(log ?in|sign ?in|sign ?on|authentication|welcome back|access denied|unauthori[sz]ed)\b/;function ug(f){try{let p=new URL(f).pathname.toLowerCase();return /(^|\/)(login|signin|sign-in|log-in|auth|sso|session\/new|users\/sign_in)(\/|$)/.test(p)}catch{return false}}function fg(f,p,y){if(ug(p))return null;let h=cg(p)!==cg(y),m=f.submitLabels.some(_=>KI.test(_)),w=JI.test(f.headingText),v=ug(y),b=[];v&&b.push("url"),m&&b.push("submit"),w&&b.push("heading"),h&&b.push("redirected");let A=f.visiblePasswordFields>0,k=f.oauthButtons>0&&f.bodyTextLength<600&&f.formCount<=1;if(!A&&!k||b.length<2)return null;let x=`${A?"password-field":"oauth-only"}+${b.join("+")}`;return {reason:`Scan did not reach the requested page \u2014 it landed on a sign-in page at ${y}. 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:y}}function cg(f){try{let p=new URL(f);return `${p.origin}${p.pathname.replace(/\/+$/,"")}`.toLowerCase()}catch{return f.toLowerCase()}}var fu=["wcag2a","wcag2aa","wcag21aa","wcag22aa"],ZI={"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.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.3.1":"A","3.3.2":"A","4.1.1":"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","4.1.3":"AA","1.2.6":"AAA","1.2.7":"AAA","1.2.8":"AAA","1.2.9":"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":"AA","2.4.8":"AAA","2.4.9":"AAA","2.4.10":"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"};function QI(f){return ZI[f]??"AA"}var eL=new Set(["new_window_link","external_link_warning","download_link_warning"]);function pg(f){let p=eL.has(f.issueType)?"minor":f.needsAI?"serious":"moderate",y=f.attribute==="style",h=f.attribute.startsWith("data-"),m=y&&f.fixValue?tL(f.fixValue):f.fixValue;return {id:`wa-${f.issueType}-${Wn(f.selector)}`,source:"webability",type:f.issueType,wcag:f.wcag,level:QI(f.wcag),impact:p,message:rL(f,m,h),selector:f.selector,html:f.outerHtml,...f.needsReview?{confidence:"needs_review"}:{},...f.reviewReason?{reviewReason:f.reviewReason}:{},fix:{attribute:f.attribute,currentValue:f.currentValue,suggestedValue:m,needsManualReview:f.needsAI||y||h||!!f.needsReview}}}function tL(f){let p=f.trim();if(!p)return "";let y=p.endsWith(";"),m=p.split(";").map(w=>{let b=w.toLowerCase().lastIndexOf("!important");return b===-1?w.trim():w.slice(0,b).trim()}).filter(w=>w.length>0);return m.length===0?"":m.join(";")+(y?";":"")}function rL(f,p,y){if(f.message)return f.message;let h=f.issueType.replace(/_/g," "),m=p??f.fixValue;return y?m?`${h}: ${m}`:f.currentValue?`${h}: ${f.currentValue}`:`${h}: flagged for manual review`:m?`${h}: set ${f.attribute}="${m}"`:f.currentValue?`${h}: ${f.attribute} is "${f.currentValue}"`:`${h}: missing ${f.attribute}`}function Gn(f){return Array.isArray(f)?f.flat(1/0).filter(y=>typeof y=="string").join(" >>> "):typeof f=="string"?f:""}function Wn(f){let p=0;for(let y=0;y<f.length;y++)p=(p<<5)-p+f.charCodeAt(y)|0;return Math.abs(p).toString(36)}function pu(f){return f==="critical"||f==="serious"||f==="moderate"||f==="minor"?f:"moderate"}function mu(f,p){return {total:f.length,critical:f.filter(y=>y.impact==="critical").length,serious:f.filter(y=>y.impact==="serious").length,moderate:f.filter(y=>y.impact==="moderate").length,minor:f.filter(y=>y.impact==="minor").length,incomplete:p.length}}function hu(f){let p=f.find(h=>/^wcag\d{3,4}$/.test(h));if(!p)return "";let y=p.replace("wcag","");return y.length===3?`${y[0]}.${y[1]}.${y[2]}`:y.length===4?`${y[0]}.${y[1]}.${y.slice(2)}`:""}function gu(f){return f.includes("wcag2aaa")?"AAA":f.includes("wcag2aa")||f.includes("wcag21aa")||f.includes("wcag22aa")?"AA":"A"}async function hL(f){try{return await f.evaluate(()=>{let p=(document.title||"").toLowerCase(),y=[["just a moment","Cloudflare"],["attention required","Cloudflare"],["checking your browser","Cloudflare"],["access to this page has been denied","PerimeterX/HUMAN"],["please verify you are a human","PerimeterX/HUMAN"],["verify you are human","bot-challenge"],["are you a robot","bot-challenge"],["you have been blocked","bot-challenge"],["request unsuccessful","Imperva/Incapsula"],["human verification","bot-challenge"],["additional security check is required","bot-challenge"]];for(let[w,v]of y)if(p.includes(w))return {vendor:v,signal:`title:"${document.title}"`,needsCorroboration:!1};let h=[["#cf-chl-widget","Cloudflare"],["#challenge-running","Cloudflare"],["#cf-challenge-running","Cloudflare"],[".cf-browser-verification","Cloudflare"],["#cf-please-wait","Cloudflare"],["div.cf-error-details","Cloudflare"],["#px-captcha","PerimeterX/HUMAN"],["#distilCaptchaForm","Distil"],["form#challenge-form","bot-challenge"]];for(let[w,v]of h)if(document.querySelector(w))return {vendor:v,signal:`marker:${w}`,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[w,v]of m)if(p.includes(w))return {vendor:v,signal:`title:"${document.title}"`,needsCorroboration:!0};return null})}catch{return null}}async function gL(f){try{return await f.evaluate(()=>{let p=document.querySelectorAll("body *").length;if(p>250)return null;let y=['[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 y)try{if(document.querySelector(m))return {signal:`marker:${m}`,elements:p}}catch{}let h=(document.title||"").toLowerCase();return h.includes("captcha")||h.includes("security check")||h.includes("bot verification")?{signal:`title:"${document.title}"`,elements:p}:null})}catch{return null}}async function vL(f,p){let y=await hL(f),h=typeof p=="number"&&p>=400,m=y&&(!y.needsCorroboration||h)?y:null;if(!m&&!h)return null;let w=[];return m&&w.push(`served a ${m.vendor} bot-challenge / interstitial page`),h&&w.push(`main document returned HTTP ${p}`),{reason:`Scan did not reach the real page \u2014 the target ${w.join(" and ")}. The returned issue list reflects the challenge/error page, not the intended site.`,...m?{vendor:m.vendor}:{},...typeof p=="number"?{status:p}:{},...m?{signal:m.signal}:h?{signal:`status:${p}`}:{}}}async function bL(f,p){let y=typeof f=="string",h={wcagTags:fu,includeAxe:true,deep:false,dismissModals:y,...p},m,w,v,b;if(y){v=f.startsWith("http")?f:`https://${f}`;let A=typeof h.viewport=="string"?$n[h.viewport]??$n.desktop:h.viewport??$n.desktop;w=await(await import('playwright')).chromium.launch({headless:h.browser?.headless??true}),m=await(await w.newContext({viewport:A})).newPage();let _=await m.goto(v,{waitUntil:"domcontentloaded",timeout:h.browser?.timeout??3e4});b=typeof _?.status=="function"?_.status():void 0;}else m=f,v=m.url(),b=h.mainStatus;if(h.dismissModals)try{let{dismissModals:A}=await Promise.resolve().then(()=>(vu(),hg));await A(m);}catch{}if(h.settle!==false)try{let{waitForRenderSettle:A}=await Promise.resolve().then(()=>(To(),ko));await A(m,typeof h.settle=="number"?h.settle:void 0);}catch{}try{try{let $=await m.evaluate(dg),z=fg($,v,typeof m.url=="function"?m.url():v);if(z)return {url:v,timestamp:new Date().toISOString(),blocked:{reason:z.reason,signal:`auth-wall:${z.signal}`,...typeof b=="number"?{status:b}:{}},issues:[],incomplete:[],summary:{total:0,critical:0,serious:0,moderate:0,minor:0,incomplete:0}}}catch{}let A=await vL(m,b);if(A)return {url:v,timestamp:new Date().toISOString(),blocked:A,issues:[],incomplete:[],summary:{total:0,critical:0,serious:0,moderate:0,minor:0,incomplete:0}};let k=[],x=[],_=[],T=await gL(m);T&&_.push(`challenge:suspected-interstitial (${T.signal}; ${T.elements} elements) \u2014 this looks like a bot-challenge/CAPTCHA page, not the real site; results may be invalid`);let S=await cu(m,x,_);if(k.push(...S.map(pg)),h.includeAxe)try{let $=await du(m,h.wcagTags??fu);for(let z of $.violations)for(let K of z.nodes)k.push({id:`axe-${z.id}-${Wn(Gn(K.target))}`,source:"axe-core",type:z.id,wcag:hu(z.tags),level:gu(z.tags),impact:pu(z.impact),message:z.help,selector:Gn(K.target),html:K.html?.slice(0,300)});for(let z of $.incomplete??[])for(let K of z.nodes)k.push({id:`axe-incomplete-${z.id}-${Wn(Gn(K.target))}`,source:"axe-core",type:z.id,wcag:hu(z.tags),level:gu(z.tags),impact:pu(z.impact),message:z.help,selector:Gn(K.target),html:K.html?.slice(0,300),confidence:"needs_review",reviewReason:"axe-core flagged this as needing human review"});}catch{}try{let{runHtmlcs:$}=await Promise.resolve().then(()=>(xg(),wg)),z=await $(m);k.push(...z);}catch{}let{deduplicateIssues:E}=await Promise.resolve().then(()=>(yu(),bu)),F=E(k);try{let{pruneInvisibleContrast:$}=await Promise.resolve().then(()=>(To(),ko));F=await $(m,F);}catch{}try{let{pruneHiddenIframeIssues:$}=await Promise.resolve().then(()=>(To(),ko));F=await $(m,F);}catch{}try{let{dedupeByElementIdentity:$}=await Promise.resolve().then(()=>(yu(),bu));F=await $(m,F);}catch{}if(h.deep&&h.deepApiKey)try{let $=await yL(v,F,h);F.push(...$);}catch{}if(h.rootSelector)try{let{scopeIssuesToRoot:$}=await Promise.resolve().then(()=>(_g(),Dg)),z=await $(m,F,h.rootSelector);F=z.issues,z.warning&&_.push(z.warning);}catch{}let{highConfidence:L,needsReview:O}=lg(F),H={url:v,timestamp:new Date().toISOString(),engine:ng,issues:L,incomplete:O,...x.length?{truncated:x}:{},..._.length?{engineWarnings:_}:{},summary:mu(L,O)};if(h.review!==!1&&h.deepApiKey)try{H=await wL(H,h);}catch{}return H}finally{w&&await w.close();}}async function yL(f,p,y){let h=y.deepApiUrl||"https://api.webability.io",m=await fetch(`${h}/cli/deep-scan`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`Bearer ${y.deepApiKey}`},body:JSON.stringify({url:f,standardIssues:p.slice(0,30).map(({source:v,...b})=>b)})});return m.ok?((await m.json()).issues??[]).map((v,b)=>({id:`deep-${b}-${Wn(v.selector||v.element||"")}`,source:"deep-analysis",type:`wcag-${v.wcag}`,wcag:v.wcag,level:"AA",impact:v.severity==="High"?"critical":v.severity==="Medium"?"serious":"moderate",message:v.message,selector:v.selector||v.element||""})):[]}function Ag(f){let p=f.fix?.attribute??"";return !!f.fix?.needsManualReview&&p!=="style"&&!p.startsWith("data-")}async function wL(f,p){let y=p.deepApiUrl||"https://api.webability.io",h=f.issues.filter(Ag);if(h.length===0)return f;try{let m=await fetch(`${y}/review-findings`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`Bearer ${p.deepApiKey}`},body:JSON.stringify({url:f.url,issues:h.slice(0,30).map(({source:A,...k})=>k)})});if(!m.ok)return f;let w=await m.json();if(!w.confirmed_ids)return f;let v=new Set(w.confirmed_ids),b=f.issues.filter(A=>!Ag(A)||v.has(A.id));return {...f,issues:b,summary:mu(b,f.incomplete)}}catch{return f}}vu();function xL(f){let p={critical:"#dc2626",serious:"#ea580c",moderate:"#ca8a04",minor:"#6b7280"},y=f.issues.map(h=>`
379
+ `});try{let{UNIQUE_SELECTOR_JS:h}=await Promise.resolve().then(()=>(hu(),mu));await d.addScriptTag({content:`if(typeof __name==='undefined'){var __name=function(t,v){return t};var __defProp=Object.defineProperty;}
380
+ `+h});}catch{}let g=d;return g.addScriptTag&&await g.addScriptTag({url:DL}).catch(()=>{}),await new Promise(h=>setTimeout(h,1e3)),(await d.evaluate(h=>new Promise(x=>{let v=window;if(!v.HTMLCS){x([]);return}v.HTMLCS.process(h,document,()=>{let y=v.HTMLCS.getMessages(),D=S=>{let w=S.element;if(!w||!w.getAttribute)return !1;let T=String(S.code||"");if(/NoSuchID/.test(T)){let E=w.getAttribute("href")||"";return /^#[\/!]/.test(E)}if(/\.H30\.2$/.test(T)){let E=w.closest&&w.closest("a")||w;return (E.getAttribute("aria-label")||"").trim()?!0:(E.getAttribute("aria-labelledby")||"").split(/\s+/).filter(Boolean).some(C=>((document.getElementById(C)||{}).textContent||"").trim().length>0)}return !1},F=y.filter(S=>S.type===1).filter(S=>!D(S)).slice(0,50).map(S=>{let w="";try{if(S.element&&S.element.tagName){let T=S.element,E=window.uniqueSel;typeof E=="function"?w=E(T):w=T.className&&typeof T.className=="string"&&T.className.trim()?`${T.tagName.toLowerCase()}.${T.className.trim().split(/\s+/)[0]}`:T.tagName.toLowerCase();}}catch{}return {type:S.type,code:S.code||"",msg:S.msg||"",element:S.element?.outerHTML?.slice(0,150)||"",selector:w}});x(F);});}),p)).map((h,x)=>{let v=Rg(h.code);return {id:`htmlcs-${x}-${AL(h.selector)}`,source:"webability",type:Fg(h.code),wcag:v,level:Ga(v),impact:"moderate",message:h.msg.slice(0,200),selector:h.selector,html:h.element}})}catch{return []}}function Fg(d){let p=Rg(d);if(p&&Tg[p])return Tg[p];let g=d.split("."),m=g.findIndex(v=>/^\d+_\d+_\d+$/.test(v));return (m>=0?g.slice(m+1):g).join("_").toLowerCase().replace(/[^a-z0-9_]+/g,"_").replace(/^_+|_+$/g,"")||"htmlcs_rule"}function Rg(d){let p=d.match(/Guideline(\d+)_(\d+)\.(\d+)_(\d+)_(\d+)/);if(p)return `${p[3]}.${p[4]}.${p[5]}`;let g=d.match(/(\d+)_(\d+)_(\d+)/);return g?`${g[1]}.${g[2]}.${g[3]}`:""}function AL(d){let p=0;for(let g=0;g<d.length;g++)p=(p<<5)-p+d.charCodeAt(g)|0;return Math.abs(p).toString(36)}var DL,Tg,Lg=Rr(()=>{Ro();DL="https://squizlabs.github.io/HTML_CodeSniffer/build/HTMLCS.js";Tg={"1.4.3":"contrast_insufficient"};});var Po={};Vr(Po,{dedupeByElementIdentity:()=>SL,deduplicateIssues:()=>EL});function EL(d){let p=new Map,g=[...d].sort((m,h)=>{let x={webability:0,"axe-core":1,"deep-analysis":2},v=x[m.source]??3,y=x[h.source]??3;return v-y});for(let m of g){let h=CL(m);p.has(h)?!p.get(h).fix?.suggestedValue&&m.fix?.suggestedValue&&p.set(h,m):p.set(h,m);}return Array.from(p.values())}function CL(d){let p=d.selector.replace(/:focus-visible$/,"").replace(/:focus$/,"").replace(/\[data-[^\]]+\]/g,"").trim(),g=d.wcag||"";return p&&g?`${p}::${g}`:`${d.type}::${p||d.id}`}async function SL(d,p){if(p.length<2)return p;let g=Array.from(new Set(p.map(F=>F.selector).filter(Boolean))),m;try{m=await d.evaluate(F=>{let S=Array.from(document.querySelectorAll("*")),w=new Map;S.forEach((E,_)=>w.set(E,_));let T={};for(let E of F){let _=null;try{_=document.querySelector(E);}catch{}if(!_){let C=E.replace(/:(?:focus-visible|focus-within|focus|hover|active)$/,"");if(C!==E)try{_=document.querySelector(C);}catch{}}_&&(T[E]=w.get(_));}return T},g);}catch{return p}let h={webability:0,"axe-core":1,"deep-analysis":2},x=[...p].sort((F,S)=>(h[F.source]??3)-(h[S.source]??3)),v=new Map,y=[];for(let F of x){let S=m[F.selector];if(S===void 0){y.push(F);continue}let w=`${S}::${F.wcag||F.type}`,T=v.get(w);T?!T.fix?.suggestedValue&&F.fix?.suggestedValue&&v.set(w,F):v.set(w,F);}let D=new Set([...v.values(),...y]);return p.filter(F=>D.has(F))}var Mo=Rr(()=>{});var Su={};Vr(Su,{scopeIssuesToRoot:()=>kL});async function kL(d,p,g){let m=Array.from(new Set(p.map(x=>x.selector).filter(Boolean))),h;try{h=await d.evaluate(({rootSel:x,sels:v})=>{let y=S=>{try{let T=document.querySelector(S);if(T)return T}catch{}let w=S.replace(/:(?:focus-visible|focus-within|focus|hover|active)$/,"");if(w!==S)try{return document.querySelector(w)}catch{return null}return null},D=null;try{D=document.querySelector(x);}catch{return {invalid:!0,matched:!1,within:{}}}if(!D)return {invalid:!1,matched:!1,within:{}};let F={};for(let S of v){let w=y(S);F[S]=w?w===D||D.contains(w):!0;}return {invalid:!1,matched:!0,within:F}},{rootSel:g,sels:m});}catch{return {issues:p,warning:`scope:evaluate-failed (${g}) \u2014 results unfiltered`}}return h.invalid?{issues:p,warning:`scope:invalid-selector (${g}) \u2014 results unfiltered`}:h.matched?{issues:p.filter(x=>x.selector?h.within[x.selector]===true:true)}:{issues:[],warning:`scope:root-miss (${g} matched nothing \u2014 empty result)`}}var ku=Rr(()=>{});var PR={weak_button_name:"4.1.2",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",weak_skip_link:"2.4.1",missing_button_role:"4.1.2",missing_semantic_role:"4.1.2",missing_landmark:"1.3.1",heading_skip:"1.3.1",svg_missing_name:"1.1.1",aria_hidden_focusable:"4.1.2",adjacent_redundant_link:"2.4.4",contrast_insufficient:"1.4.3",non_text_contrast_insufficient:"1.4.11",target_too_small:"2.5.8",focus_not_visible:"2.4.7",empty_link:"2.4.4",unlabeled_button:"4.1.2",missing_label:"1.3.1",decorative_icon:"1.1.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",duplicate_id:"4.1.1",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",broken_anchor:"2.4.1",placeholder_link:"2.4.4",missing_pattern_title:"3.3.2",missing_autocomplete:"1.3.5",missing_media_controls:"2.2.2",unsafe_autoplay:"1.4.2",invalid_aria_role:"4.1.2",zoom_restriction:"1.4.4",missing_button_type:"3.2.2",link_consistency:"3.2.4",semantic_emphasis:"1.3.1",keyboard_trap:"2.1.1",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",nested_landmark:"1.3.1",combobox_name_missing:"4.1.2",landmark_duplicate_unlabeled:"1.3.1",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",missing_required_indicator:"3.3.2",background_image_unlabeled:"1.1.1",missing_h1:"1.3.1",multiple_h1:"1.3.1",empty_heading:"1.3.1",javascript_link:"2.1.1",broken_aria_reference:"4.1.2",main_content_hidden:"4.1.2",scrollable_not_focusable:"2.1.1",meaningful_sequence:"1.3.2",sensory_characteristic:"1.3.3",orientation_lock:"1.3.4",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",insufficient_navigation:"2.4.5",inconsistent_navigation:"3.2.3"},Wn={mobile:{width:375,height:667},tablet:{width:768,height:1024},desktop:{width:1280,height:720}};var MR=()=>{let d="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye]",g=[],m=new Set;function h(y){let D=(y.textContent||"").trim().replace(/\s+/g,""),F=y.querySelector("img, svg, picture")!==null,S=y.querySelector("i[class], span[class]")!==null;if(D.length>0&&!F&&!S)return false;if(F){let w=y.querySelectorAll("img"),T="";w.forEach(C=>{T+=(C.getAttribute("alt")||"").trim();});let E=D.replace(/\s+/g,""),_=T.replace(/\s+/g,"");return E===""||E===_}return false}function x(y){let D=y.nextElementSibling;for(;D;){if(isVisible(D))return D;D=D.nextElementSibling;}return null}return document.querySelectorAll("a[href]").forEach(y=>{if(g.length>=50||y.closest(d)||!isVisible(y)||m.has(y))return;let D=y.getAttribute("href");if(!D||D==="#")return;let F=x(y);if(!F||F.tagName!=="A"||F.getAttribute("href")!==D||m.has(F)||y.getAttribute("aria-hidden")==="true"||F.getAttribute("aria-hidden")==="true")return;let w=h(y),T=h(F);if(!w&&!T)return;let E=w?y:F,_=w?F:y;m.add(E),m.add(_);let C=uniqueSel(E),R=E.outerHTML.slice(0,300),L=(_.textContent||"").trim().slice(0,80);g.push({selector:C,attribute:"aria-hidden",currentValue:"",issueType:"adjacent_redundant_link",wcag:"2.4.4",context:JSON.stringify({href:D,imageLink:true,adjacentLinkText:L,suggestion:'Add aria-hidden="true" and tabindex="-1" to the image-only link'}),needsAI:false,fixValue:"true",outerHtml:R}),g.push({selector:C,attribute:"tabindex",currentValue:"",issueType:"adjacent_redundant_link",wcag:"2.4.4",context:JSON.stringify({supplementary:"Remove from tab order alongside aria-hidden",href:D}),needsAI:false,fixValue:"-1",outerHtml:R});}),g},Q1={name:"adjacentLinks",cap:50,async detect(d){return d.evaluate(MR)}};var OR=()=>{let d="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=ae-exclude],[id*=ae_app],[id*=ae_],[class*=EquallyAI]",p='.slick-cloned,.slick-clone,.swiper-slide-duplicate,.owl-item.cloned,[data-slick-index^="-"],[data-swiper-slide-index]:not([data-swiper-slide-index=""])',g=["[aria-expanded]",'[class*="dropdown" i]','[class*="submenu" i]','[class*="sub-menu" i]','[class*="collapse" i]','[class*="accordion" i]','[class*="megamenu" i]','[class*="mega-menu" i]','[class*="flyout" i]','[class*="fsNav" i]','[role="menu"]','[role="menubar"]','[role="tablist"]','[role="tab"]',"nav"].join(","),m=new Set(["A","BUTTON","INPUT","SELECT","TEXTAREA"]),h=50,x=[],v=new Set;function y(S){let w=S,T=0;for(;w&&w.nodeType===1&&w!==document.body&&T<20;){try{let E=getComputedStyle(w);if(E.display==="none"||E.visibility==="hidden"||E.visibility==="collapse")return !0}catch{}w=w.parentElement,T++;}return false}function D(S){let w=S.tagName,T=S.getAttribute("tabindex");if(T!==null){let E=parseInt(T,10);if(!isNaN(E)&&E>=0)return true;if(!isNaN(E)&&E<0)return false}return m.has(w)?!(w==="A"&&!S.hasAttribute("href")||S.hasAttribute("disabled")):false}return document.querySelectorAll('[aria-hidden="true"]').forEach(S=>{if(x.length>=h||S.closest(d)||S.closest(p)||S.closest(g)||S.matches(g))return;let w=[];if(D(S)&&w.push(S),S.querySelectorAll("a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]").forEach(E=>{D(E)&&w.push(E);}),w.length!==0)for(let E of w){if(x.length>=h)return;let _=uniqueSel(E),C=_+"\0tabindex";if(v.has(C))continue;v.add(C);let R=y(E);x.push({selector:_,attribute:"tabindex",currentValue:E.getAttribute("tabindex")||"",issueType:"aria_hidden_focusable",wcag:"4.1.2",context:JSON.stringify({tag:E.tagName.toLowerCase(),parentHidden:S.tagName.toLowerCase(),collapsed:R,suggestion:R?"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.":'Add tabindex="-1" to the focusable child so it cannot be tabbed into while parent is aria-hidden'}),needsAI:false,fixValue:"-1",...R?{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.'}:{},outerHtml:(E.outerHTML||"").slice(0,300)});}}),x},eh={name:"ariaHiddenFocusable",cap:50,async detect(d){return d.evaluate(OR)}};var NR=()=>{let d="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",g=[],m=new Set,h=[{regex:/\btoast\b/i,ariaLive:"polite",role:"status"},{regex:/\bsnackbar\b/i,ariaLive:"polite",role:"status"},{regex:/error[-_]message|error[-_]msg|form[-_]error|validation[-_]error/i,ariaLive:"assertive",role:"alert"},{regex:/success[-_]message|success[-_]msg/i,ariaLive:"polite",role:"status"},{regex:/alert[-_]message|alert[-_]banner/i,ariaLive:"assertive",role:"alert"},{regex:/flash[-_]message|flash[-_]notice/i,ariaLive:"polite",role:"status"},{regex:/cart[-_]count|cart[-_]badge|cart[-_]quantity/i,ariaLive:"polite",role:"status"},{regex:/loading[-_]spinner|loading[-_]indicator/i,ariaLive:"polite",role:"status"},{regex:/search[-_]results?[-_]count/i,ariaLive:"polite",role:"status"},{regex:/\blive[-_]region\b/i,ariaLive:"polite",role:"status"},{regex:/notification[-_](bar|area|container|popup|wrapper)/i,ariaLive:"polite",role:"status"},{regex:/status[-_]message/i,ariaLive:"polite",role:"status"}];function x(v){if(!(v.textContent||"").trim())return true;let D=getComputedStyle(v);return !!(D.display==="none"||D.visibility==="hidden"||D.opacity==="0"||D.maxHeight==="0px"||D.height==="0px"||v.hasAttribute("data-bind")||v.hasAttribute("v-if")||v.hasAttribute("v-show")||v.hasAttribute("ng-if")||v.hasAttribute("ng-show")||v.hasAttribute(":class")||v.hasAttribute("x-show")||v.hasAttribute("x-if")||v.hasAttribute("aria-atomic"))}for(let v of h){if(g.length>=50)break;let y=document.querySelectorAll("*");for(let D of y){if(g.length>=50)break;if(m.has(D)||D.closest(d))continue;let F=D.className&&typeof D.className=="string"?D.className:"",S=D.getAttribute("id")||"";if(!v.regex.test(F)&&!v.regex.test(S)||D.getAttribute("aria-live"))continue;let w=D.getAttribute("role")||"";if(["alert","status","log","timer","marquee"].includes(w)||!/\btoast\b|\bsnackbar\b|error[-_]|success[-_]|alert[-_]|flash[-_]/i.test(F+" "+S)&&!x(D))continue;m.add(D);let E=uniqueSel(D),_=v.regex.test(F)?"class":"id",C=_==="class"?F.slice(0,60):S;g.push({selector:E,attribute:"aria-live",currentValue:"",issueType:"aria_live",wcag:"4.1.3",context:_+": "+C+" | pattern: "+v.regex.source,needsAI:false,fixValue:v.ariaLive});}}return g},th={name:"ariaLive",cap:50,async detect(d){return d.evaluate(NR)}};var qR=()=>{let d="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=ae-exclude],[id*=ae_app],[id*=ae_],[class*=EquallyAI]",g=[],m=new Set,h=["aria-labelledby","aria-describedby"];return document.querySelectorAll("[aria-labelledby],[aria-describedby]").forEach(y=>{if(!(g.length>=50)&&!y.closest(d)&&isVisible(y)&&!isHiddenFromAT(y)&&!y.getAttribute("aria-live")&&!y.closest("[aria-live]")&&!y.closest("template"))for(let D of h){let F=y.getAttribute(D);if(!F||!F.trim())continue;let S=F.trim().split(/\s+/).filter($=>$.length>0);if(S.length===0||!S.every($=>!document.getElementById($)))continue;let T=y.getAttribute("aria-label");if(T&&T.trim())continue;let E=getAccessibleName(y);if(E&&E.trim())continue;let _=uniqueSel(y),C=_+"\0"+D;if(m.has(C))continue;m.add(C);let{nearbyHeading:R,parentTag:L,parentRole:N}=getNearbyContext(y);g.push({selector:_,attribute:"aria-label",currentValue:"",issueType:"broken_aria_reference",wcag:"4.1.2",context:JSON.stringify({tag:y.tagName.toLowerCase(),brokenAttr:D,brokenIds:S,nearbyHeading:R,parentTag:L,parentRole:N,suggestion:`All IDs in ${D}="${F}" are missing from the DOM. Element has no accessible name. Generate an aria-label.`}),needsAI:true,outerHtml:(y.outerHTML||"").slice(0,300)});}}),g},rh={name:"brokenAriaReferences",cap:50,async detect(d){return d.evaluate(qR)}};var BR=()=>{let p=[],g=["submit","send","login","log in","sign in","sign up","register","subscribe","save","order","purchase","checkout","pay","book","apply","enroll","confirm","join","create account","get started","schedule","place order","buy","donate","search","find","go"],m=document.querySelectorAll("button");for(let h of m){if(p.length>=50)break;let x=h;if(isWidget(x)||x.hasAttribute("type")||!x.closest("form"))continue;let v=(x.textContent||"").trim().slice(0,60),y=(x.getAttribute("aria-label")||"").trim().slice(0,60),D=v||y||"(no label)",F=D.toLowerCase();g.some(w=>F.includes(w))||p.push({selector:uniqueSel(x),attribute:"type",currentValue:"",issueType:"missing_button_type",wcag:"3.2.2",context:"button inside <form> missing type attribute \u2014 defaults to submit | label: "+D,needsAI:false,fixValue:"button",outerHtml:(x.outerHTML||"").slice(0,300)});}return p},ah={name:"buttonType",cap:50,async detect(d){return d.evaluate(BR)}};var HR=()=>{let p=[],g=document.querySelectorAll("video, audio");for(let m of Array.from(g)){if(p.length>=20)break;if(isWidget(m)||typeof isVisible=="function"&&!isVisible(m)||m.error)continue;let h=m.tagName==="VIDEO";if(h){let C=m.hasAttribute("muted")||m.muted,R=m.hasAttribute("controls"),L=m.hasAttribute("loop")||m.loop,N=/mute|unmute|sound|volume|audio|play|pause/i,$=!!m.parentElement?.querySelector('button, [role="button"]')||!!m.id&&!!document.querySelector('[aria-controls~="'+m.id.replace(/"/g,"")+'"]');for(let W=m.parentElement?.parentElement||null,G=0;W&&!$&&G<3;W=W.parentElement,G++)$=Array.from(W.querySelectorAll('button, [role="button"]')).some(q=>N.test((q.getAttribute("aria-label")||"")+" "+(q.getAttribute("title")||"")+" "+(q.textContent||"")));if(C&&L&&!R&&!$)continue}let x=m.querySelectorAll("track"),v=false;for(let C of Array.from(x)){let R=(C.getAttribute("kind")||"").toLowerCase();if(R==="captions"||R==="subtitles"){v=true;break}}if(v)continue;let y=m.currentSrc||m.getAttribute("src")||"";if(y||(y=m.querySelector("source")?.getAttribute("src")||""),!y)continue;let D=y.toLowerCase();if(D.startsWith("blob:")||D.startsWith("data:")||D.startsWith("about:")||D.startsWith("javascript:")||D.endsWith(".m3u8")||D.includes(".m3u8?")||D.endsWith(".mpd")||D.includes(".mpd?"))continue;let F=y;try{F=new URL(y,location.href).toString();}catch{continue}let S=typeof uniqueSel=="function"?uniqueSel(m):"",w=m.getAttribute("title")||m.getAttribute("aria-label")||"",T=typeof getNearbyContext=="function"?getNearbyContext(m):{parentTag:m.tagName.toLowerCase(),nearbyHeading:""},E=[];E.push("media: "+m.tagName.toLowerCase()),E.push("src: "+F.slice(0,200)),w&&E.push("title: "+w.slice(0,80)),T.nearbyHeading&&E.push("heading: "+T.nearbyHeading),E.push("parent: "+T.parentTag);let _=h;p.push({selector:S,attribute:"data-needs-captions",currentValue:"",issueType:"missing_captions",wcag:"1.2.2",context:E.join(" | "),needsAI:true,..._?{needsReview:true,reviewReason:"cannot verify an audio track in-page \u2014 confirm the video has speech content before transcribing (silent videos need no captions)"}:{},imageSrc:F,outerHtml:(m.outerHTML||"").slice(0,300)});}return p},nh={name:"captions",cap:20,async detect(d){return d.evaluate(HR)}};var VR=()=>{let d="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",g=[],m="p, li, blockquote, article, section, main, div",h=document.querySelectorAll("a[href]");for(let x of Array.from(h)){if(g.length>=40)break;if(x.closest(d)||x.closest('nav, header, footer, aside, [role="navigation"], [role="banner"], [role="contentinfo"]')||typeof isVisible=="function"&&!isVisible(x))continue;let v=x.closest(m);if(!v)continue;let y=(v.textContent||"").trim(),D=(x.textContent||"").trim();if(!D||y.length<D.length+20||x.querySelector("img, svg, [class*=icon], [class*=arrow]"))continue;let F=getComputedStyle(x),S=getComputedStyle(v);if((F.textDecorationLine||F.textDecoration||"").includes("underline")||(()=>{let $=document.createTreeWalker(x,NodeFilter.SHOW_TEXT),W,G=false;for(;W=$.nextNode();){if(!/[\p{L}\p{N}]/u.test(W.textContent||""))continue;G=true;let q=false;for(let j=W.parentElement;j&&j!==x;j=j.parentElement){let K=getComputedStyle(j),Z=(K.textDecorationColor||"").replace(/\s/g,"");if((K.textDecorationLine||"").includes("underline")&&Z!=="transparent"&&!/^rgba\([^)]*,0(?:\.0+)?\)$/.test(Z)){q=true;break}let Q=(K.borderBottomColor||"").replace(/\s/g,""),ae=Q==="transparent"||/^rgba\([^)]*,0(?:\.0+)?\)$/.test(Q);if((K.borderBottomStyle||"none")!=="none"&&parseFloat(K.borderBottomWidth||"0")>0&&!ae){q=true;break}}if(!q)return false}return G})())continue;let E=parseInt(F.fontWeight||"400",10),_=parseInt(S.fontWeight||"400",10);if(Number.isFinite(E)&&Number.isFinite(_)&&E-_>=300||(F.borderBottomStyle||"none")!=="none"&&(F.borderBottomWidth||"0px")!=="0px"||F.color===S.color)continue;let R=typeof uniqueSel=="function"?uniqueSel(x):"",L=typeof getNearbyContext=="function"?getNearbyContext(x):{parentTag:x.tagName.toLowerCase(),nearbyHeading:""},N=[];N.push("link: "+D.slice(0,40)),N.push("color: "+F.color),N.push("parent-color: "+S.color),L.nearbyHeading&&N.push("heading: "+L.nearbyHeading),N.push("parent: "+L.parentTag),g.push({selector:R,attribute:"style",currentValue:F.textDecoration||"",issueType:"color_only_link",wcag:"1.4.1",context:N.join(" | "),needsAI:false,fixValue:"text-decoration: underline !important;",outerHtml:(x.outerHTML||"").slice(0,300)});}return g},ih={name:"colorOnly",cap:40,async detect(d){return d.evaluate(VR)}};var jR=()=>{let d="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye]",g=[],m=['[role="combobox"]',"input[list]","input[aria-autocomplete]","select"].join(",");return document.querySelectorAll(m).forEach(x=>{if(g.length>=30||x.closest(d)||typeof isVisible=="function"&&!isVisible(x)||x.getAttribute("aria-hidden")==="true"||x.disabled||x.getAttribute("type")==="hidden"||(x.getAttribute("aria-label")||"").trim())return;let v=x.getAttribute("aria-labelledby");if(v){let C=false;for(let R of v.split(/\s+/)){let L=document.getElementById(R);if(L&&(L.textContent||"").trim()){C=true;break}}if(C)return}let y=x.getAttribute("id");if(y){let C=document.querySelector('label[for="'+CSS.escape(y)+'"]');if(C&&(C.textContent||"").trim())return}let D=x.closest("label");if(D&&(D.textContent||"").trim()||(x.getAttribute("title")||"").trim())return;let F=typeof uniqueSel=="function"?uniqueSel(x):"",S=typeof getNearbyContext=="function"?getNearbyContext(x):{parentTag:x.tagName.toLowerCase(),nearbyHeading:""},w=(x.getAttribute("placeholder")||"").trim(),T=x.getAttribute("name")||"",E=x.getAttribute("role")||x.tagName.toLowerCase(),_=[];_.push("role: "+E),w&&_.push("placeholder: "+w.slice(0,40)),T&&_.push("name: "+T),S.nearbyHeading&&_.push("heading: "+S.nearbyHeading),_.push("parent: "+S.parentTag),g.push({selector:F,attribute:"aria-label",currentValue:"",issueType:"combobox_name_missing",wcag:"4.1.2",context:_.join(" | "),needsAI:true,outerHtml:(x.outerHTML||"").slice(0,300)});}),g},oh={name:"comboboxName",cap:30,async detect(d){return d.evaluate(jR)}};var $R=()=>{let p=[],g=_=>typeof parseCssColor=="function"?parseCssColor(_):null,m=(_,C,R)=>typeof relLuminance=="function"?relLuminance(_,C,R):0,h=(_,C)=>typeof contrastRatio=="function"?contrastRatio(_,C):1;function x(_){let C=String(_.backgroundImage||"none");if(C==="none")return false;if(/gradient\(/i.test(C))return true;if(!/url\(/i.test(C))return false;let R=String(_.backgroundRepeat||"").toLowerCase(),L=String(_.backgroundSize||"").toLowerCase(),N=R.split(",").map(W=>W.trim()).some(W=>W!==""&&W!=="no-repeat"),$=/cover|contain|100%/.test(L);return N||$}function v(_){let C=document.documentElement,R=_,L=0;for(;R&&R!==C&&L<12;){let q=getComputedStyle(R);if(x(q))return null;let j=g(q.backgroundColor||"");if(j&&j[3]>.5)return [j[0],j[1],j[2]];R=R.parentElement,L++;}let N=document.body;if(R&&R!==C&&N&&N.contains(R)){let q=getComputedStyle(N);if(x(q))return null;let j=g(q.backgroundColor||"");if(j&&j[3]>.5)return [j[0],j[1],j[2]]}let $=getComputedStyle(C);if(x($))return null;let W=g($.backgroundColor||""),G=W?Math.min(W[3],1):0;return !W||G<=0?[255,255,255]:[Math.round(W[0]*G+255*(1-G)),Math.round(W[1]*G+255*(1-G)),Math.round(W[2]*G+255*(1-G))]}function y(_,C,R){return "#"+[_,C,R].map(L=>{let N=Math.max(0,Math.min(255,Math.round(L))).toString(16);return N.length===1?"0"+N:N}).join("")}function D(_,C,R){let L=m(C[0],C[1],C[2])>.5;return F(_,C,R,L)||F(_,C,R,!L)}function F(_,C,R,L){let N=0,$=1,W=null;for(let G=0;G<20;G++){let q=(N+$)/2,j=L?[_[0]*(1-q),_[1]*(1-q),_[2]*(1-q)]:[_[0]+(255-_[0])*q,_[1]+(255-_[1])*q,_[2]+(255-_[2])*q],K=[Math.round(j[0]),Math.round(j[1]),Math.round(j[2])];h(K,C)>=R?(W=K,$=q):N=q;}return W}let S=document.createTreeWalker(document.body,4),w=new Set,T=[],E=S.nextNode();for(;E;){if((E.textContent||"").trim().length>=2){let C=E.parentElement;C&&!w.has(C)&&(w.add(C),T.push(C));}E=S.nextNode();}for(let _ of T){if(p.length>=30)break;if(isWidget(_)||isHiddenFromAT(_)||!isVisible(_))continue;let C=getComputedStyle(_),R=g(C.color||"");if(!R)continue;if(R[3]<.5){let he=C.webkitBackgroundClip||C.backgroundClip||"",Ie=C.backgroundImage||"";if(String(he).includes("text")&&/gradient\(/i.test(Ie)){let me=Array.from(_.childNodes).filter(ye=>ye.nodeType===3).map(ye=>(ye.textContent||"").trim()).join("");me&&p.push({selector:uniqueSel(_),attribute:"style",currentValue:"gradient-clipped text",message:"contrast: gradient-clipped text \u2014 the glyph colour varies across the gradient, so the ratio cannot be computed; check the lightest stop meets 4.5:1",issueType:"contrast_insufficient",wcag:"1.4.3",context:"background-clip:text gradient text \u2014 glyph color varies across the gradient; contrast cannot be computed from CSS. text="+JSON.stringify(me.slice(0,40)),needsAI:true,needsReview:true,reviewReason:"gradient-clipped text \u2014 verify the lightest gradient stop still meets 4.5:1 against the surrounding background",outerHtml:_.outerHTML.slice(0,200)});}continue}let L=v(_),N=parseFloat(C.fontSize||"16"),$=parseInt(C.fontWeight||"400",10),G=N>=24||N>=18.66&&$>=700?3:4.5,q=Array.from(_.childNodes).filter(he=>he.nodeType===3).map(he=>(he.textContent||"").trim()).join("");if(!q)continue;let j=y(R[0],R[1],R[2]),K=uniqueSel(_);if(L===null){p.push({selector:K,attribute:"style",currentValue:j,message:"contrast: text "+j+" on a gradient or image background \u2014 the ratio cannot be computed from CSS; check it meets "+G+":1 where the background is lightest/darkest",issueType:"contrast_insufficient",wcag:"1.4.3",context:"fg="+j+" bg=<gradient-or-image> needs="+G+" text="+JSON.stringify(q.slice(0,40)),needsAI:true,needsReview:true,reviewReason:"background uses gradient or image \u2014 contrast cannot be reliably computed",outerHtml:_.outerHTML.slice(0,200)});continue}let Z=h([R[0],R[1],R[2]],L);if(Z>=G)continue;let Q=D([R[0],R[1],R[2]],L,G);if(!Q)continue;let ae=y(Q[0],Q[1],Q[2]),ne=y(L[0],L[1],L[2]),_e="color:"+ae+" !important;";p.push({selector:K,attribute:"style",currentValue:j,message:"contrast: "+j+" on "+ne+" is "+Z.toFixed(2)+":1, needs "+G+":1 \u2014 e.g. color "+ae,issueType:"contrast_insufficient",wcag:"1.4.3",context:"fg="+j+" bg="+ne+" ratio="+Z.toFixed(2)+" needs="+G+" text="+JSON.stringify(q.slice(0,40)),needsAI:false,fixValue:_e,outerHtml:_.outerHTML.slice(0,200)});}return p},sh={name:"contrast",cap:30,async detect(d){return d.evaluate($R)}};var zR=()=>{let d="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye]",g=[],m=document.querySelectorAll("marquee, blink");for(let D of Array.from(m)){if(g.length>=30)break;if(D.closest(d))continue;let F=typeof uniqueSel=="function"?uniqueSel(D):D.tagName.toLowerCase();g.push({selector:F,attribute:"aria-hidden",currentValue:D.getAttribute("aria-hidden")||"",issueType:"motion_uncontrollable",wcag:"2.2.2",context:`deprecated ${D.tagName.toLowerCase()} element \u2014 uncontrollable motion`,needsAI:false,manualFix:true,fixValue:"true",outerHtml:(D.outerHTML||"").slice(0,300)});}let h=document.querySelectorAll('img[src*=".gif" i], img[src$=".gif" i]');for(let D of Array.from(h)){if(g.length>=30)break;if(D.closest(d))continue;let F=D.getAttribute("src")||"";if(!/\.gif(\?|#|$)/i.test(F)||typeof isVisible=="function"&&!isVisible(D))continue;let S=D.getBoundingClientRect();if(S.width<=40&&S.height<=40)continue;let w=typeof uniqueSel=="function"?uniqueSel(D):"img";g.push({selector:w,attribute:"data-asw-motion-review",currentValue:"",issueType:"animated_gif_no_pause",wcag:"2.2.2",context:`animated GIF without pause control: ${F.split("/").pop()?.slice(0,60)||F.slice(-60)}`,needsAI:true,outerHtml:(D.outerHTML||"").slice(0,300)});}let x=document.querySelectorAll('meta[http-equiv="refresh"], meta[http-equiv="Refresh"], meta[http-equiv="REFRESH"]');for(let D of Array.from(x)){if(g.length>=30)break;let F=(D.getAttribute("content")||"").trim(),S=parseInt((F.split(/[;,]/)[0]||"").trim(),10);!Number.isFinite(S)||S<=0||g.push({selector:`meta[http-equiv="refresh"][content*="${F.slice(0,20)}"]`,attribute:"data-auto-refresh",currentValue:F,issueType:"auto_refresh",wcag:"2.2.1",context:`auto-refresh every ${S}s \u2014 interrupts screen reader users mid-sentence (WCAG 2.2.1)`,needsAI:false,manualFix:true,outerHtml:(D.outerHTML||"").slice(0,200)});}try{let D=!1,F=!1;for(let S of Array.from(document.styleSheets)){let w=null;try{w=S.cssRules;}catch{continue}if(w)for(let T of Array.from(w)){let E=T.cssText||"";if(/animation[^;]*\binfinite\b/i.test(E)&&/(keyframes|animation-name)/i.test(E+" "+(T.name||""))&&(D=!0),/prefers-reduced-motion[^{]*\(\s*reduce\s*\)/i.test(E)&&(F=!0),T.cssRules)for(let _ of Array.from(T.cssRules)){let C=_.cssText||"";/animation[^;]*\binfinite\b/i.test(C)&&(D=!0);}}}D&&!F&&g.push({selector:"html",attribute:"data-asw-motion-review",currentValue:"",issueType:"motion_without_reduced_motion",wcag:"2.3.3",context:"infinite CSS animation detected without @media (prefers-reduced-motion: reduce) override",needsAI:!0,outerHtml:""});}catch{}let v=/\b(flash(ing)?|blink(ing)?|strobe)\b/i,y=document.querySelectorAll('[class*="flash" i], [class*="blink" i], [class*="strobe" i]');for(let D of Array.from(y)){if(g.length>=30)break;if(D.closest(d)||D.tagName==="BODY"||D.tagName==="HTML")continue;let F=D.className&&typeof D.className=="string"?D.className:"";if(!v.test(F)||typeof isVisible=="function"&&!isVisible(D))continue;let w=getComputedStyle(D).animationDuration,T=9999;if(w){let _=parseFloat(w);Number.isFinite(_)&&(T=/ms/i.test(w)?_:_*1e3);}if(T>333)continue;let E=typeof uniqueSel=="function"?uniqueSel(D):"";g.push({selector:E,attribute:"data-flashing-review",currentValue:"",issueType:"flashing_content",wcag:"2.3.1",context:`class matches flash/blink/strobe with ${T}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:(D.outerHTML||"").slice(0,300)});}return g},lh={name:"cssAnimations",cap:30,async detect(d){return d.evaluate(zR)}};var GR=()=>{let p=[];function g(v){let y=(v.getAttribute("role")||"").toLowerCase();return y==="presentation"||y==="none"||(v.getAttribute("class")||"").toLowerCase().indexOf("layout")!==-1}function m(v){if(!v)return 0;let y=v.querySelectorAll("th, td"),D=0;for(let F=0;F<y.length;F++){let S=parseInt(y[F].getAttribute("colspan")||"1",10);D+=isNaN(S)||S<1?1:S;}return D}function h(v){let y=v.querySelectorAll("tr"),D=[];for(let F=0;F<y.length;F++){let S=y[F];S.closest("table")===v&&D.push(S);}return D}let x=document.querySelectorAll("table");for(let v=0;v<x.length&&!(p.length>=30);v++){let y=x[v];if(isWidget(y)||!isVisible(y)||g(y))continue;let D=h(y);if(D.length<=1)continue;let F=D[0],S=m(F);if(S<=1)continue;let w=uniqueSel(y),T=getNearbyContext(y),E=y.querySelectorAll("img, svg, picture").length>=2;if(E&&!(y.textContent||"").trim()){if(y.querySelector("input, select, textarea, button")&&(E=false),E&&y.querySelector("th, thead, caption, [scope], [headers]")&&(E=false),E){let Q=Array.from(y.querySelectorAll("img")).map(ae=>(ae.getAttribute("alt")||"").trim().toLowerCase()).filter(Boolean);new Set(Q).size<Q.length&&(E=false);}}else if(E){let Q=y.querySelectorAll("td, th"),ae=0;for(let ne=0;ne<Q.length&&E;ne++){let _e=Q[ne];if(_e.closest("table")!==y)continue;let he=(_e.textContent||"").trim(),Ie=!!_e.querySelector("img, svg, picture");if(!he&&!Ie)continue;ae++;let me=_e.querySelectorAll("a[href]");E=_e.tagName==="TD"&&me.length===1&&Ie&&(me[0].textContent||"").trim()===he;}ae<2&&(E=false);}if(E){p.push({selector:w,attribute:"role",currentValue:y.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:D.length,cols:S,nearbyHeading:T.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:(y.outerHTML||"").slice(0,300)});continue}let _=null,C=y.querySelectorAll("caption");for(let Q=0;Q<C.length;Q++)if(C[Q].closest("table")===y){_=C[Q];break}let R=_?(_.textContent||"").trim():"",L=(y.getAttribute("aria-label")||"").trim(),N=(y.getAttribute("title")||"").trim(),$=y.getAttribute("aria-labelledby"),W="";if($){let Q=$.split(/\s+/);for(let ae=0;ae<Q.length;ae++){let ne=document.getElementById(Q[ae]);ne&&(W+=" "+(ne.textContent||""));}W=W.trim();}(!_||!R)&&!(L||W||N)&&p.length<30&&p.push({selector:w,attribute:"caption",currentValue:"",issueType:"missing_table_caption",wcag:"1.3.1",context:JSON.stringify({reason:_?"empty <caption>":"no <caption> element",rows:D.length,cols:S,nearbyHeading:T.nearbyHeading,parentTag:T.parentTag}),needsAI:true,outerHtml:(y.outerHTML||"").slice(0,300)});let q=null,j=y.querySelectorAll("thead");for(let Q=0;Q<j.length;Q++)if(j[Q].closest("table")===y){q=j[Q];break}if(q&&q.querySelector("tr")!==null||p.length<30&&p.push({selector:w,attribute:"thead",currentValue:q?"empty":"",issueType:"missing_table_header",wcag:"1.3.1",context:JSON.stringify({reason:q?"<thead> has no <tr>":"no <thead> element",rows:D.length,cols:S,nearbyHeading:T.nearbyHeading}),needsAI:false,fixValue:"wrap-first-row",outerHtml:(y.outerHTML||"").slice(0,300)}),S>2){let Q=F.querySelectorAll("th, td"),ae=Q.length>0;for(let ne=0;ne<Q.length;ne++)if((Q[ne].tagName||"").toLowerCase()!=="td"){ae=false;break}if(ae)for(let ne=0;ne<Q.length&&!(p.length>=30);ne++){let _e=Q[ne],he=uniqueSel(_e),Ie=(_e.textContent||"").trim().slice(0,60);p.push({selector:he,attribute:"role",currentValue:_e.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:Ie,colIndex:ne,nearbyHeading:T.nearbyHeading}),needsAI:false,fixValue:"columnheader",outerHtml:(_e.outerHTML||"").slice(0,300)});}}let Z=y.querySelectorAll("th");for(let Q=0;Q<Z.length&&!(p.length>=30);Q++){let ae=Z[Q];if(ae.closest("table")!==y)continue;let ne=(ae.getAttribute("scope")||"").trim().toLowerCase();if(ne==="col"||ne==="row"||ne==="colgroup"||ne==="rowgroup")continue;let _e=ae.closest("tr"),he=ae.closest("thead")!==null,Ie=false;_e&&D.length>0&&D[0]===_e&&(Ie=true);let me=false;if(_e){let He=_e.querySelectorAll("th, td");He.length>0&&He[0]===ae&&(me=true);}let ye="col";he||Ie?ye="col":me&&(ye="row");let Ue=uniqueSel(ae),Xe=(ae.textContent||"").trim().slice(0,60);p.push({selector:Ue,attribute:"scope",currentValue:ne,issueType:"missing_table_scope",wcag:"1.3.1",context:JSON.stringify({reason:"<th> missing scope attribute",inferred:ye,inThead:he,firstRow:Ie,firstCol:me,headerText:Xe}),needsAI:false,fixValue:ye,outerHtml:(ae.outerHTML||"").slice(0,300)});}}return p},uh={name:"dataTables",cap:30,async detect(d){return d.evaluate(GR)}};var WR=()=>{let d="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI], [id*=ae_], [class*=ae-exclude]",g=[],m='a[href], button, input, select, textarea, summary, label, iframe, audio[controls], video[controls], [contenteditable=""], [contenteditable="true"], [tabindex]:not([tabindex="-1"]), [role="button"], [role="link"], [role="menuitem"], [role="menuitemcheckbox"], [role="menuitemradio"], [role="tab"], [role="option"], [role="checkbox"], [role="radio"], [role="switch"], [role="combobox"], [role="textbox"], [role="searchbox"], [role="slider"], [role="spinbutton"]',h=E=>{try{return !!(E.querySelector&&E.querySelector(m))}catch{return false}},x=new Set(["fa","fas","far","fab","fal","fad","material-icons","material-symbols","bi","glyphicon"]),v=["fa-","bi-","icon-","icofont-","dashicons-","heroicon","feather-","lucide-"],y=["spinner","loading","spin","loader","pulse"],D=document.querySelectorAll('i, span[class*="icon"], span[class*="fa-"], span[class*="bi-"], span[class*="material"]');for(let E of D){if(g.length>=50)break;if(E.closest(d)||isHiddenFromAT(E)||!isVisible(E))continue;let _=E.className&&typeof E.className=="string"?E.className.toLowerCase():"";if(!_.split(/\s+/).filter(Boolean).some(W=>x.has(W)||v.some(G=>W.startsWith(G)))||E.closest(m)||h(E)||Array.from(E.children).some(W=>/[\p{L}\p{N}]/u.test(W.textContent||"")))continue;let N=y.some(W=>_.includes(W)),$=uniqueSel(E);g.push({selector:$,attribute:"aria-hidden",currentValue:"",issueType:"decorative_icon",wcag:"1.1.1",context:N?"spinner/loader icon":"icon classes: "+_.slice(0,80),needsAI:false,fixValue:"true",outerHtml:E.outerHTML.slice(0,300)});}let F=document.querySelectorAll("svg");for(let E of F){if(g.length>=50)break;if(E.closest(d)||isHiddenFromAT(E)||!isVisible(E)||E.closest(m)||h(E))continue;let _=E.getAttribute("aria-label")||"",C=E.getAttribute("aria-labelledby")||"",R=E.querySelector("title"),L=R?(R.textContent||"").trim():"",N=E.getAttribute("role");if(_.trim()||C.trim()||L||N==="img")continue;let $=E.getBoundingClientRect(),W=$.width<=16&&$.height<=16,G=E.parentElement?(E.parentElement.textContent||"").trim().replace(/\s+/g," "):"",q=$.width<=4||$.height<=4,j=E.getAttribute("preserveAspectRatio")==="none";if(!W&&G.length<=3&&!q&&!j)continue;let K=uniqueSel(E);g.push({selector:K,attribute:"aria-hidden",currentValue:"",issueType:"decorative_icon",wcag:"1.1.1",context:"decorative SVG without title or aria-label",needsAI:false,fixValue:"true",outerHtml:E.outerHTML.slice(0,300)});}let S=E=>E.indexOf(":")!==-1?false:/^(?:[a-z0-9]+[-_])*(?:disabled|inactive)$/i.test(E),w=document.querySelectorAll('[class*="disabled"], [class*="inactive"], [aria-disabled="true"]');for(let E of w){if(g.length>=50)break;if(E.closest(d)||isHiddenFromAT(E))continue;let _=E.tagName.toLowerCase();if(!(_==="a"||_==="button"||_==="input"||_==="select"||_==="textarea"||E.getAttribute("role")==="button"||E.getAttribute("role")==="link"||E.getAttribute("role")==="tab")||E.hasAttribute("disabled"))continue;let R=E.className&&typeof E.className=="string"?E.className:"",L=R.split(/\s+/).some(S),N=E.getAttribute("aria-disabled")==="true",$=getComputedStyle(E).pointerEvents==="none";if(!N&&!(L&&$))continue;let W=E.getAttribute("tabindex")!=="-1"||h(E),G=uniqueSel(E);g.push({selector:G,attribute:"aria-hidden",currentValue:"",issueType:"decorative_icon",wcag:"1.1.1",context:"disabled/inactive element still exposed to assistive technology: "+R.toLowerCase().slice(0,60),needsAI:false,fixValue:"true",...W?{needsReview:true,reviewReason:"element is still keyboard-focusable; aria-hidden would create a hidden focusable element \u2014 remove it from the tab order first or confirm intent"}:{},outerHtml:E.outerHTML.slice(0,300)});}let T=document.querySelectorAll('[class*="visuallyHidden"], [class*="visually-hidden"], [class*="sr-only"], [class*="screenreader"]');for(let E of T){if(g.length>=50)break;if(E.closest(d)||isHiddenFromAT(E))continue;let _=E.querySelectorAll('a[href], button, input, select, textarea, [tabindex]:not([tabindex="-1"])');if(_.length===0)continue;let C=uniqueSel(E);g.push({selector:C,attribute:"aria-hidden",currentValue:"",issueType:"decorative_icon",wcag:"1.1.1",context:"sr-only/visually-hidden container with "+_.length+" focusable children (keyboard trap risk)",needsAI:false,fixValue:"true",needsReview:true,reviewReason:"container has "+_.length+' keyboard-focusable descendant(s); aria-hidden="true" alone would create hidden focusables \u2014 also set tabindex="-1" on those children or confirm intent',outerHtml:E.outerHTML.slice(0,300)});}return g},ch={name:"decorativeIcons",cap:50,async detect(d){return d.evaluate(WR)}};var UR=()=>{let d="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",g=[],m=new Map,h=document.querySelectorAll("[id]");for(let x of h){if(x.closest(d))continue;let v=(x.getAttribute("id")||"").trim();if(!v)continue;let y=m.get(v);y?y.push(x):m.set(v,[x]);}for(let[x,v]of m)if(!(v.length<=1)){if(g.length<50){let y=v[0];g.push({selector:typeof uniqueSel=="function"?uniqueSel(y):y.tagName.toLowerCase(),attribute:"id",currentValue:x,issueType:"duplicate_id",wcag:"4.1.1",context:'id "'+x+'" is shared by '+v.length+" elements; this is the canonical first occurrence (kept \u2014 references resolve here). Later occurrences carry rename fixes.",needsAI:false,needsReview:true,reviewReason:"first occurrence of a duplicated id \u2014 shown for completeness; renaming it would break references, so the fix targets the later occurrences",outerHtml:(y.outerHTML||"").slice(0,300)});}for(let y=1;y<v.length&&!(g.length>=50);y++){let D=v[y],F=y+1,S=x+"-"+F,w=D.tagName.toLowerCase(),T=D.parentElement,E=w;if(T){let _=Array.from(T.children).filter(R=>R.tagName===D.tagName);if(_.length>1){let R=_.indexOf(D)+1;E=w+":nth-of-type("+R+")";}let C=T.tagName.toLowerCase();if(T.id&&T.id!==x)E="#"+CSS.escape(T.id)+" > "+E;else {let R=T.parentElement;if(R){let L=Array.from(R.children).filter(N=>N.tagName===T.tagName);if(L.length>1){let N=L.indexOf(T)+1;E=C+":nth-of-type("+N+") > "+E;}else E=C+" > "+E;}}}g.push({selector:E,attribute:"id",currentValue:x,issueType:"duplicate_id",wcag:"4.1.1",context:"duplicate #"+F+' of id="'+x+'" | tag: <'+w+">",needsAI:false,fixValue:S});}}return g},dh={name:"duplicateIds",cap:50,async detect(d){return d.evaluate(UR)}};var XR=()=>{let d="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",p=/^[^\p{L}\p{N}\s]*$/u,g=/^[\s\u00A0\u2000-\u200F\u2028-\u202F]*$/,h=[],x=document.querySelectorAll("a");for(let v of x){if(h.length>=50)break;if(v.closest(d)||v.getAttribute("aria-hidden")==="true"||v.getAttribute("role")==="presentation"||v.closest('[aria-hidden="true"]')||!isVisible(v))continue;let y=getAccessibleName(v);if(y&&y.length>0&&!g.test(y)&&!p.test(y))continue;let D=v.querySelectorAll("img[alt]"),F="";for(let W of D){let G=(W.getAttribute("alt")||"").trim();G&&(F+=G+" ");}if(F.trim())continue;let S=v.getAttribute("aria-labelledby");if(S&&typeof __resolveIdRefs=="function"&&__resolveIdRefs(S))continue;let w=uniqueSel(v),T=v.getAttribute("href")||"",E=(v.textContent||"").trim(),_=getNearbyContext(v),C="";E&&g.test(E)?C="[whitespace only]":E&&p.test(E)&&(C=E);let R="",L=true;if(T&&T!=="#"&&!T.startsWith("javascript:")){if(T.startsWith("mailto:")){let W=T.slice(7).split("?")[0];W&&W.includes("@")&&(R="Email "+W,L=false);}else if(T.startsWith("tel:")){let W=T.slice(4);try{W=decodeURIComponent(W);}catch{}W=W.replace(/^\+/,"").trim(),W&&(R="Call "+W,L=false);}}let N=[];v.closest("nav")&&N.push("inside nav"),_.nearbyHeading&&N.push("heading: "+_.nearbyHeading),T&&N.push("href: "+T.slice(0,120)),N.push("parent: "+_.parentTag);let $={selector:w,attribute:"aria-label",currentValue:C,issueType:"empty_link",wcag:"2.4.4",context:N.join(" | "),needsAI:L,outerHtml:v.outerHTML.slice(0,300)};!L&&R&&($.fixValue=R),h.push($);}return h},fh={name:"emptyLinks",cap:50,async detect(d){return d.evaluate(XR)}};var YR=()=>{let p=[],g=new Set;function m(S){return (S||"").trim()}function h(S){let w=m(S.getAttribute("aria-label")||"");if(w)return w;let T=S.getAttribute("aria-labelledby");if(T){let _=T.split(/\s+/),C="";for(let R=0;R<_.length;R++){let L=document.getElementById(_[R]);L&&(C+=" "+(L.textContent||""));}if(m(C))return m(C)}let E=m(S.getAttribute("title")||"");return E||""}let x=document.querySelectorAll("fieldset");for(let S=0;S<x.length&&!(p.length>=30);S++){let w=x[S];if(isWidget(w)||!isVisible(w)||isHiddenFromAT(w))continue;if(h(w)){g.add(w);continue}let T=null,E=w.querySelectorAll("legend");for(let $=0;$<E.length;$++)if(E[$].closest("fieldset")===w){T=E[$];break}let _=T!==null,C=T?m(T.textContent||""):"";if(_&&C){g.add(w);continue}let R=getNearbyContext(w),L=w.querySelectorAll("input, select, textarea"),N=uniqueSel(w);p.push({selector:N,attribute:"aria-label",currentValue:"",issueType:"missing_fieldset_legend",wcag:"1.3.1",context:JSON.stringify({reason:_?"fieldset has empty <legend>":"fieldset missing <legend>",controlCount:L.length,nearbyHeading:R.nearbyHeading,parentTag:R.parentTag}),needsAI:true,outerHtml:(w.outerHTML||"").slice(0,300)}),g.add(w);}let v=document.querySelectorAll('[role="group"], [role="radiogroup"]');for(let S=0;S<v.length&&!(p.length>=30);S++){let w=v[S];if(isWidget(w)||!isVisible(w)||isHiddenFromAT(w)||g.has(w))continue;if(h(w)){g.add(w);continue}let T=w.getAttribute("role")||"",E=getNearbyContext(w),_=w.querySelectorAll("input, select, textarea");if(T==="group"&&w.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 C=uniqueSel(w);p.push({selector:C,attribute:"aria-label",currentValue:"",issueType:"missing_fieldset_legend",wcag:"1.3.1",context:JSON.stringify({reason:'role="'+T+'" container without accessible name',role:T,controlCount:_.length,nearbyHeading:E.nearbyHeading,parentTag:E.parentTag}),needsAI:true,outerHtml:(w.outerHTML||"").slice(0,300)}),g.add(w);}let y={},D=document.querySelectorAll('input[type="radio"], input[type="checkbox"]');for(let S=0;S<D.length;S++){let w=D[S];if(isWidget(w)||!isVisible(w)||isHiddenFromAT(w))continue;let T=w.getAttribute("name")||"";if(!T)continue;let E=w.closest("form"),_=E?E.getAttribute("id")||E.getAttribute("action")||E.tagName:"no-form",C=(w.getAttribute("type")||"").toLowerCase(),R=_+"::"+C+"::"+T;y[R]||(y[R]=[]),y[R].push(w);}let F=Object.keys(y);for(let S=0;S<F.length&&!(p.length>=30);S++){let w=y[F[S]];if(w.length<3)continue;let T=w[0],E=T.closest('fieldset, [role="group"], [role="radiogroup"]'),_=false;if(E){_=true;for(let W=1;W<w.length;W++)if(!E.contains(w[W])){_=false;break}}if(_&&E)continue;let C=T.parentElement;for(;C&&C!==document.body;){let W=true;for(let G=1;G<w.length;G++)if(!C.contains(w[G])){W=false;break}if(W)break;C=C.parentElement;}if(!C||C===document.body||g.has(C))continue;let R=(T.getAttribute("type")||"").toLowerCase(),L=T.getAttribute("name")||"",N=getNearbyContext(T),$=uniqueSel(C);p.push({selector:$,attribute:"role",currentValue:C.getAttribute("role")||"",issueType:"missing_fieldset_legend",wcag:"1.3.1",context:JSON.stringify({reason:"unwrapped "+R+" group ("+w.length+' inputs share name="'+L+'")',inputType:R,inputCount:w.length,name:L,nearbyHeading:N.nearbyHeading,parentTag:N.parentTag}),needsAI:false,fixValue:R==="radio"?"radiogroup":"group",outerHtml:(C.outerHTML||"").slice(0,300)}),g.add(C);}return p},ph={name:"fieldsetLegend",cap:30,async detect(d){return d.evaluate(YR)}};var KR=()=>{let d=[],p=document.querySelectorAll('header, nav, div, [class*="header"], [class*="navbar"], [class*="sticky"], [role="banner"]'),g=0;for(let m of Array.from(p)){let h=getComputedStyle(m);if(h.display==="none"||h.visibility==="hidden"||h.position!=="sticky"&&h.position!=="fixed")continue;let x=m.getBoundingClientRect();if(x.top>50||x.bottom<=0)continue;let v=Math.round(x.height);v<40||v>240||v>g&&(g=v);}if(g>0){let m=window.scrollX,h=window.scrollY,x=0,v=0;try{let D=[],F=new Set;document.querySelectorAll('a[href^="#"]').forEach(S=>{let w=S.getAttribute("href").slice(1);if(!w)return;let T=document.getElementById(w);T&&!F.has(T)&&(F.add(T),D.push(T));});for(let S of D){if(v>=8)break;let w=getComputedStyle(S);if(w.display==="none"||w.visibility==="hidden")continue;v++,S.scrollIntoView({block:"start"});let T=S.getBoundingClientRect(),E=Math.max(T.height,1);Math.max(0,Math.min(T.bottom,g)-Math.max(T.top,0))/Math.min(E,g)>=.5&&x++;}}catch{}try{window.scrollTo(m,h);}catch{}let y=`scroll-margin-top: ${g+8}px; scroll-padding-top: ${g+8}px;`;v>0&&x>0?d.push({selector:"html",attribute:"style",currentValue:"",issueType:"focus_obscured_by_sticky",wcag:"2.4.11",context:`sticky header height: ${g}px \u2014 ${x}/${v} in-page anchor targets land under it on jump`,needsAI:false,fixValue:y}):v===0&&d.push({selector:"html",attribute:"style",currentValue:"",issueType:"focus_obscured_by_sticky",wcag:"2.4.11",context:`sticky header height: ${g}px \u2014 no in-page anchor targets available to verify obscuring behaviorally`,needsAI:false,needsReview:true,reviewReason:"sticky top bar present; could not verify focus/jump obscuring automatically \u2014 check skip-link and anchor landing positions, or set scroll-padding-top preventively",fixValue:y});}return d},mh={name:"focusObscured",async detect(d){return d.evaluate(KR)}};var hh={name:"focusVisible",cap:40,async detect(d){let p=typeof d.keyboard?.press=="function";if(p)try{await d.keyboard.press("Tab");}catch{}return d.evaluate(g=>{let h=[],x=["a[href]","button",'input:not([type="hidden"])',"select","textarea",'[role="button"]','[role="link"]','[role="menuitem"]','[role="tab"]','[tabindex]:not([tabindex="-1"])'].join(","),v=document.querySelectorAll(x),y=document.activeElement;for(let D of v){if(h.length>=40)break;if(typeof isWidget=="function"&&isWidget(D)||typeof isHiddenFromAT=="function"&&isHiddenFromAT(D)||typeof isVisible=="function"&&!isVisible(D)||!D.offsetParent&&D.tagName!=="BODY")continue;let F=getComputedStyle(D),S=F.outline,w=F.outlineWidth,T=F.outlineStyle,E=F.boxShadow,_=F.border,C=F.backgroundColor;try{D.focus({preventScroll:!0});}catch{continue}if(document.activeElement!==D)continue;let R=getComputedStyle(D),L=R.outline,N=(R.outlineStyle||"").toLowerCase(),$=parseFloat(R.outlineWidth||"0"),W=R.boxShadow,G=R.border,q=R.backgroundColor,j=L!==S,K=N!=="none"&&N!=="hidden"&&$>0;if(j&&K||W!==E&&W!=="none"&&W!==""||G!==_||q!==C||parseFloat(w)>0&&T!=="none")continue;let _e=typeof uniqueSel=="function"?uniqueSel(D):D.tagName.toLowerCase();h.push({selector:_e+":focus-visible",attribute:"style",currentValue:T+" "+w,issueType:"focus_not_visible",wcag:"2.4.7",context:`${D.tagName.toLowerCase()} has no visible focus indicator \u2014 outline, box-shadow, border, and background all unchanged on focus`,needsAI:false,fixValue:"outline: 2px solid #2563eb !important;outline-offset: 2px !important;",outerHtml:D.outerHTML.slice(0,200),...g?{}:{needsReview:true,reviewReason:"Focus indicator could not be verified with a real keyboard event; may use a keyboard-only (:focus-visible) pattern \u2014 verify by tabbing to it."}});}try{y?y.focus({preventScroll:!0}):document.activeElement?.blur();}catch{}return h},p)}};var JR=()=>{let p=[],g=["new","register","signup","sign-up","sign_up","create","change","reset"],m=["confirm","verify","retype","re-type","repeat","again"];function h(S){if(!S)return false;let w=" "+((S.id||"")+" "+(S.className||"")+" "+(S.getAttribute("name")||"")+" "+(S.getAttribute("action")||"")).toLowerCase()+" ";for(let T=0;T<g.length;T++)if(w.indexOf(g[T])!==-1)return true;return false}function x(S){let w=((S.getAttribute("name")||"")+" "+(S.getAttribute("id")||"")+" "+(S.getAttribute("placeholder")||"")+" "+(S.getAttribute("aria-label")||"")).toLowerCase();for(let T=0;T<m.length;T++)if(w.indexOf(m[T])!==-1)return true;return false}let v=document.querySelectorAll("input[pattern]");for(let S of v){if(p.length>=30)break;let w=S;if(isWidget(w)||isHiddenFromAT(w)||!isVisible(w)||(w.getAttribute("title")||"").trim()||(w.getAttribute("aria-describedby")||"").trim())continue;let _=uniqueSel(w),C=(w.getAttribute("pattern")||"").slice(0,80),R=w.getAttribute("name")||"",L=w.getAttribute("placeholder")||"";p.push({selector:_,attribute:"title",currentValue:"",issueType:"missing_pattern_title",wcag:"3.3.2",context:"pattern: "+C+" | name: "+R+" | placeholder: "+L,needsAI:true,outerHtml:(w.outerHTML||"").slice(0,300)});}let y=document.querySelectorAll('input[type="password"], input[type="Password"]');for(let S of y){if(p.length>=30)break;let w=S;if(isWidget(w)||isHiddenFromAT(w)||!isVisible(w))continue;let T=(w.getAttribute("autocomplete")||"").trim().toLowerCase();if(x(w)){if(T==="new-password")continue;let L=uniqueSel(w);p.push({selector:L,attribute:"autocomplete",currentValue:T,issueType:"missing_autocomplete",wcag:"1.3.5",context:"confirm password field | name: "+(w.getAttribute("name")||"")+" | id: "+(w.getAttribute("id")||""),needsAI:false,fixValue:"new-password",outerHtml:(w.outerHTML||"").slice(0,300)});continue}if(T)continue;let _=w.form||w.closest("form"),C=h(_),R=uniqueSel(w);p.push({selector:R,attribute:"autocomplete",currentValue:"",issueType:"missing_autocomplete",wcag:"1.3.5",context:(C?"new/signup/change password form":"login form")+" | name: "+(w.getAttribute("name")||"")+" | id: "+(w.getAttribute("id")||""),needsAI:false,fixValue:C?"new-password":"current-password",outerHtml:(w.outerHTML||"").slice(0,300)});}let D=document.querySelectorAll("form"),F=/\*|\brequired\b|\bmandatory\b/i;for(let S of D){if(p.length>=30)break;let w=S;if(isWidget(w)||!isVisible(w))continue;let T=w.querySelectorAll("input[required], select[required], textarea[required]");if(!T.length)continue;let E=0;for(let N of T)isVisible(N)&&E++;if(E===0)continue;let _=w.querySelectorAll('input:not([type="hidden"]):not([type="submit"]):not([type="button"]), select, textarea'),C=0;for(let N of _)isVisible(N)&&C++;if(E>=C||(w.getAttribute("data-asw-required-hint")||"").trim())continue;let R=(w.textContent||"").trim();if(F.test(R))continue;let L=uniqueSel(w);p.push({selector:L,attribute:"data-asw-required-hint",currentValue:"",issueType:"missing_required_indicator",wcag:"3.3.2",context:`form has ${E} required input(s) but no visible "*" / "required" / "mandatory" marker`,needsAI:true,outerHtml:(w.outerHTML||"").slice(0,300)});}return p},gh={name:"formAttributes",cap:30,async detect(d){return d.evaluate(JR)}};var ZR=()=>{let p=[],g=Array.from(document.querySelectorAll('h1, h2, h3, h4, h5, h6, [role="heading"]')).filter(v=>{if(isWidget(v)||v.getAttribute("aria-hidden")==="true"||v.closest('[aria-hidden="true"]')||v.getClientRects().length===0)return false;let y=getComputedStyle(v).visibility;return !(y==="hidden"||y==="collapse")});if(g.length===0)return p;let m='main, header, footer, aside, nav, section, article, [role="main"], [role="banner"], [role="contentinfo"], [role="complementary"], [role="navigation"], [role="region"], [role="dialog"]',h=new Map,x=0;for(let v of g){if(p.length>=50)break;let y;if(v.getAttribute("role")==="heading"){let _=v.getAttribute("aria-level");y=_?parseInt(_,10):2;}else y=parseInt(v.tagName.charAt(1),10);if(isNaN(y)||y<1||y>6)continue;let F=v.closest(m)||document.body,S=h.get(F)??0,w=uniqueSel(v),T=(v.textContent||"").trim().slice(0,80),E=v.outerHTML.slice(0,300);if(y===1&&(x++,x>1&&(p.push({selector:w,attribute:"data-multiple-h1",currentValue:"1",issueType:"multiple_h1",wcag:"1.3.1",context:JSON.stringify({headingText:T,h1Number:x,suggestion:"Demote to h2 \u2014 only one h1 per page (retag the element; aria-level is ignored on native headings)"}),needsAI:false,outerHtml:E}),y=2)),S>0&&y>S+1){let _=S+1;p.push({selector:w,attribute:"data-heading-skip",currentValue:String(y),issueType:"heading_skip",wcag:"1.3.1",context:JSON.stringify({reason:"level_skip",headingText:T,currentLevel:y,previousLevel:S,expectedLevel:_,suggestion:"Should be h"+_+" (was h"+y+", previous was h"+S+") \u2014 retag the element"}),needsAI:false,needsReview:true,reviewReason:"level skips need a human retag \u2014 aria-level is ignored on native headings and never clears on rescan",outerHtml:E});}h.set(F,y);}return p},vh={name:"headingHierarchy",cap:50,async detect(d){return d.evaluate(ZR)}};var QR=()=>{let d="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=EquallyAI],[id*=ae_],[class*=ae-exclude],[id*=goog-gt],[class*=goog-te]",g=[],m=new Set;function h(x){let v=x,y=0;for(;v&&v!==document.body&&y<6;){if(v.getAttribute("aria-hidden")==="true")return true;v=v.parentElement,y++;}return false}return document.querySelectorAll('[aria-disabled=true]:not([tabindex="-1"]), .disabled:not([tabindex="-1"])').forEach(x=>{if(g.length>=50||x.closest(d)||!x.matches("a[href], button, [role=button]")||h(x))return;let v=getComputedStyle(x);if(v.display==="none"||v.visibility==="hidden")return;let y=uniqueSel(x);m.has(y)||(m.add(y),g.push({selector:y,attribute:"tabindex",currentValue:x.getAttribute("tabindex")||"",issueType:"decorative_icon",wcag:"4.1.2",context:"disabled element still keyboard-focusable",needsAI:false,fixValue:"-1",needsReview:true,reviewReason:'element is aria-disabled/.disabled but still tabbable; removing it from the tab order changes keyboard behavior \u2014 confirm the control should be unreachable before applying tabindex="-1"'}));}),document.querySelectorAll("iframe").forEach(x=>{if(g.length>=50||x.closest(d)||h(x))return;let v=getComputedStyle(x),y=parseInt(v.width)||0,D=parseInt(v.height)||0;if((y===0||D===0)&&x.getAttribute("aria-hidden")!=="true"){let F=uniqueSel(x);if(m.has(F))return;m.add(F),g.push({selector:F,attribute:"aria-hidden",currentValue:"",issueType:"decorative_icon",wcag:"4.1.2",context:"zero-size iframe without aria-hidden",needsAI:false,fixValue:"true"});}}),g},bh={name:"hiddenInteractive",cap:50,async detect(d){return d.evaluate(QR)}};var eI=()=>{let d=document.documentElement;return d?(d.getAttribute("lang")||"").trim()?[]:[{selector:"html",attribute:"lang",currentValue:"",issueType:"missing_semantic_role",wcag:"3.1.1",context:"Document language not declared",needsAI:false,fixValue:"en"}]:[]},yh={name:"htmlLang",async detect(d){return d.evaluate(eI)}};var tI=()=>{let d="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",g=[],m=[{pattern:"youtube",title:"YouTube video"},{pattern:"youtu.be",title:"YouTube video"},{pattern:"vimeo",title:"Vimeo video"},{pattern:"google.com/maps",title:"Google Maps"},{pattern:"pay.google.com",title:"Google Pay"},{pattern:"recaptcha",title:"reCAPTCHA verification"},{pattern:"facebook",title:"Facebook widget"},{pattern:"twitter",title:"Twitter widget"},{pattern:"x.com",title:"Twitter widget"},{pattern:"instagram",title:"Instagram widget"},{pattern:"calendly",title:"Scheduling widget"}],h=/^(iframe|embed|widget|frame|content|untitled)$/i,x=document.querySelectorAll("iframe");for(let v of x){if(g.length>=50)break;if(v.closest(d))continue;let y=(v.getAttribute("aria-hidden")||"").trim(),D=(v.getAttribute("role")||"").trim().toLowerCase();if(y==="true"||D==="presentation")continue;let F=getComputedStyle(v);if(v.getClientRects().length===0||F.visibility==="hidden"||F.visibility==="collapse"||(v.getAttribute("src")||"").trim().toLowerCase().indexOf("javascript:")===0)continue;let S=(v.getAttribute("title")||"").trim(),w=S.length===0,T=!w&&(S.length<3||h.test(S));if(!w&&!T)continue;let E=(v.getAttribute("src")||"").toLowerCase(),_=uniqueSel(v),C=getNearbyContext(v),R="src: "+E.slice(0,120)+(C.nearbyHeading?" | heading: "+C.nearbyHeading:""),L=false;for(let N of m)if(E.includes(N.pattern)){g.push({selector:_,attribute:"title",currentValue:S,issueType:"missing_label",wcag:"4.1.2",context:R,needsAI:false,fixValue:N.title,outerHtml:v.outerHTML.slice(0,300)}),L=true;break}!L&&w&&g.push({selector:_,attribute:"title",currentValue:S,issueType:"missing_label",wcag:"4.1.2",context:R,needsAI:true,outerHtml:v.outerHTML.slice(0,300)});}return g},wh={name:"iframeTitle",cap:50,async detect(d){return d.evaluate(tI)}};var rI=()=>{let d="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",p=["hidden","submit","button","reset","image","checkbox","radio","file","range","color"],m=[],h={email:"email",tel:"tel",password:"current-password"},x=[{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"}],v=document.querySelectorAll("input, select, textarea");for(let y of v){if(m.length>=50)break;if(y.closest(d))continue;let D=y,F=(D.getAttribute("type")||"text").toLowerCase();if(p.includes(F)||D.getAttribute("autocomplete")||!isVisible(D))continue;let S="";if(h[F]&&(S=h[F]),!S){let T=(D.getAttribute("name")||"").toLowerCase(),E=(D.getAttribute("id")||"").toLowerCase(),_=(D.getAttribute("placeholder")||"").toLowerCase(),C=T+" "+E+" "+_;for(let R of x)if(C.includes(R.pattern)){S=R.autocomplete;break}}if(!S)continue;let w=uniqueSel(D);m.push({selector:w,attribute:"autocomplete",currentValue:"",issueType:"identify_input_purpose",wcag:"1.3.5",context:"type: "+F+" | name: "+(D.getAttribute("name")||"")+" | id: "+(D.getAttribute("id")||""),needsAI:false,fixValue:S});}return m},xh={name:"inputPurpose",cap:50,async detect(d){return d.evaluate(rI)}};var aI=()=>{let p=[],g={alert:true,alertdialog:true,application:true,article:true,banner:true,blockquote:true,button:true,caption:true,cell:true,checkbox:true,code:true,columnheader:true,combobox:true,command:true,comment:true,complementary:true,composite:true,contentinfo:true,definition:true,deletion:true,dialog:true,directory:true,document:true,emphasis:true,feed:true,figure:true,form:true,generic:true,grid:true,gridcell:true,group:true,heading:true,img:true,input:true,insertion:true,landmark:true,link:true,list:true,listbox:true,listitem:true,log:true,main:true,marquee:true,math:true,menu:true,menubar:true,menuitem:true,menuitemcheckbox:true,menuitemradio:true,meter:true,navigation:true,none:true,note:true,option:true,paragraph:true,presentation:true,progressbar:true,radio:true,radiogroup:true,range:true,region:true,roletype:true,row:true,rowgroup:true,rowheader:true,scrollbar:true,search:true,searchbox:true,section:true,sectionhead:true,select:true,separator:true,slider:true,spinbutton:true,status:true,strong:true,structure:true,subscript:true,suggestion:true,superscript:true,switch:true,tab:true,table:true,tablist:true,tabpanel:true,term:true,textbox:true,time:true,timer:true,toolbar:true,tooltip:true,tree:true,treegrid:true,treeitem:true,widget:true,window:true},m=document.querySelectorAll("[role]");for(let h of m){if(p.length>=20)break;let x=h;if(isWidget(x))continue;let v=(x.getAttribute("role")||"").trim().toLowerCase();if(!v)continue;let y=v.split(/\s+/).filter(Boolean);if(y.length===0)continue;let D=true,F="";for(let S=0;S<y.length;S++)if(!g[y[S]]){D=false,F=y[S];break}D||p.push({selector:uniqueSel(x),attribute:"remove_attribute",currentValue:v,issueType:"invalid_aria_role",wcag:"4.1.2",context:'invalid ARIA role: "'+F+'" \u2014 removing',needsAI:false,fixValue:"role",outerHtml:(x.outerHTML||"").slice(0,300)});}return p},Dh={name:"invalidAriaRole",cap:20,async detect(d){return d.evaluate(aI)}};var nI=()=>{let d="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",g=[],m=['a[href]:not([href=""])',"button:not([disabled])",'input:not([type="hidden"]):not([disabled])',"select:not([disabled])","textarea:not([disabled])",'[role="button"]:not([aria-disabled="true"])','[role="link"]:not([aria-disabled="true"])','[role="menuitem"]:not([aria-disabled="true"])','[role="tab"]:not([aria-disabled="true"])','[role="checkbox"]:not([aria-disabled="true"])','[role="radio"]:not([aria-disabled="true"])'].join(",");function h(v){let y=v.getBoundingClientRect();if(y.width===0&&y.height===0)return false;let D=-window.scrollX,F=-window.scrollY,S=document.documentElement,w=getComputedStyle(v).position;if(w==="fixed")return false;let T=w==="absolute";for(let E=v.parentElement;E&&E!==document.body&&E!==S;E=E.parentElement){let _=getComputedStyle(E);if(T){if(_.position==="static")continue;T=false;}if(/auto|scroll/.test(_.overflowX+" "+_.overflowY))return false;let C=_.overflowX==="hidden"||_.overflowX==="clip",R=_.overflowY==="hidden"||_.overflowY==="clip";if(!C&&!R)continue;let L=E.getBoundingClientRect();if(C&&(y.right<=L.left||y.left>=L.right)||R&&(y.bottom<=L.top||y.top>=L.bottom))return true;if(w=_.position,w==="fixed")return false;w==="absolute"&&(T=true);}return y.right<=D||y.bottom<=F||y.left>=D+S.scrollWidth||y.top>=F+S.scrollHeight}let x=document.querySelectorAll(m);for(let v of x){if(g.length>=30)break;if(v.closest(d)||!v.hasAttribute("tabindex"))continue;let y=v.getAttribute("tabindex")||"",D=parseInt(y,10);if(!Number.isFinite(D)||D===0||v.getAttribute("aria-disabled")==="true"||v.getAttribute("aria-hidden")==="true"||v.closest('[aria-hidden="true"]')||v.closest("[hidden]"))continue;let F=v.closest('[role="dialog"],[role="alertdialog"],dialog,[role="menu"],[role="listbox"]');if(F&&!(F.hasAttribute("open")||F.getAttribute("aria-modal")==="true"||F.getAttribute("aria-hidden")!=="true")||typeof isVisible=="function"&&!isVisible(v)||D<0&&h(v))continue;let S=(v.getAttribute("role")||"").toLowerCase();if(D<0&&v.closest('[role="tablist"],[role="menu"],[role="menubar"],[role="listbox"],[role="tree"],[role="treegrid"],[role="grid"],[role="radiogroup"],[role="toolbar"]'))continue;let T=typeof uniqueSel=="function"?uniqueSel(v):"",E=typeof getNearbyContext=="function"?getNearbyContext(v):{parentTag:v.tagName.toLowerCase(),nearbyHeading:""},_,C;D<0?(_="keyboard_trap",C="2.1.1"):(_="focus_order_disruption",C="2.4.3");let R=[];R.push("tabindex: "+D),R.push("tag: "+v.tagName.toLowerCase()),S&&R.push("role: "+S),E.nearbyHeading&&R.push("heading: "+E.nearbyHeading),R.push("parent: "+E.parentTag),g.push({selector:T,attribute:"tabindex",currentValue:String(D),issueType:_,wcag:C,context:R.join(" | "),needsAI:false,fixValue:"0",outerHtml:(v.outerHTML||"").slice(0,300)});}return g},_h={name:"keyboardTrap",cap:30,async detect(d){return d.evaluate(nI)}};var iI=()=>{let d="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",g=[],h=document.querySelectorAll('button, a[href], [role="button"], [role="link"], input[type="submit"], input[type="button"]');for(let x of Array.from(h)){if(g.length>=40)break;if(x.closest(d)||typeof isVisible=="function"&&!isVisible(x))continue;let v="",y=[],D=[];try{let Q=/(?:^|[\s_-])(?:icon|material-icons|material-symbols(?:-\w+)?|fa|fas|far|fab|fal|glyphicon|dashicons)(?:[\s_-]|$)/i,ae=/icon|awesome|glyph|material symbols|dashicons/i,ne=!1;try{ne=ae.test(getComputedStyle(x).fontFamily||"");}catch{}let _e=document.createTreeWalker(x,NodeFilter.SHOW_TEXT),he;for(;he=_e.nextNode();){let Ue=he.parentElement;if(!Ue)continue;let Xe=(he.textContent||"").trim();if(!Xe||Ue===x&&ne)continue;let He=!1,Me=!1;for(let Je=Ue;Je&&Je!==x;Je=Je.parentElement){if(Je.tagName==="KBD"&&(Me=!0),Je.getAttribute("aria-hidden")==="true"){He=!0;break}if(Q.test(Je.className||"")||Q.test(Je.id||"")){He=!0;break}try{let Re=getComputedStyle(Je);if(Re.display==="none"||Re.visibility==="hidden"){He=!0;break}if(parseFloat(Re.opacity||"1")===0){He=!0;break}if(ae.test(Re.fontFamily||"")){He=!0;break}}catch{}}!He&&/[\p{L}\p{N}]/u.test(Xe)&&D.push({text:Xe,kbd:Me});}let Ie=0,me=D.length;for(;Ie<me&&D[Ie].kbd;)Ie++;for(;me>Ie&&D[me-1].kbd;)me--;let ye=Ie<me?D.slice(Ie,me):D;for(let Ue of ye)y.push(Ue.text);v=y.join(" ").trim().toLowerCase();}catch{v=((x.innerText!=null?x.innerText:x.textContent)||"").trim().toLowerCase();}if(!v||!/[\p{L}\p{N}]/u.test(v)||/^\p{L}$/u.test(v))continue;let S=/[\p{L}\p{N}\p{M}]/u,w=(x.getAttribute("aria-label")||"").trim().toLowerCase();if(!w){let Q=x.getAttribute("aria-labelledby");Q&&(w=(typeof __resolveIdRefs=="function"?__resolveIdRefs(Q):"").toLowerCase());}if(!w)continue;let T=v.replace(/\s+/g," ").normalize("NFC"),E=w.replace(/\s+/g," ").normalize("NFC"),_=/[\p{Script=Han}\p{Script=Hiragana}\p{Script=Katakana}\p{Script=Hangul}\p{Script=Thai}\p{Script=Lao}\p{Script=Khmer}\p{Script=Myanmar}]/u,C=(Q,ae)=>!Q||!S.test(Q)||_.test(Q)||_.test(ae),R=(Q,ae)=>{if(ae<=0)return "";let ne=Q.charCodeAt(ae-1);return ne>=56320&&ne<=57343&&ae>=2?Q.slice(ae-2,ae):Q.charAt(ae-1)},L=(Q,ae)=>{let ne=Q.codePointAt(ae);return ne===void 0?"":String.fromCodePoint(ne)},N=T.substring(0,40),$=T.length>=40,W=L(N,0),G=R(N,N.length),q=false;for(let Q=0;!q;){let ae=E.indexOf(N,Q);if(ae<0)break;C(R(E,ae),W)&&($||C(L(E,ae+N.length),G))&&(q=true),Q=ae+1;}if(q)continue;if(y.length>1){let Q=true,ae=0;for(let ne of y){let _e=ne.replace(/\s+/g," ").trim().normalize("NFC").toLowerCase();if(!_e)continue;let he=_e.slice(0,40),Ie=-1;for(let me=ae;;){let ye=E.indexOf(he,me);if(ye<0)break;let Ue=C(R(E,ye),L(he,0)),Xe=he.length>=40||C(L(E,ye+he.length),R(he,he.length));if(Ue&&Xe){Ie=ye;break}me=ye+1;}if(Ie<0){Q=false;break}ae=Ie+he.length;}if(Q)continue}let j=typeof uniqueSel=="function"?uniqueSel(x):"",K=typeof getNearbyContext=="function"?getNearbyContext(x):{parentTag:x.tagName.toLowerCase(),nearbyHeading:""},Z=[];Z.push("visible: "+v.slice(0,40)),Z.push("aria-label: "+w.slice(0,60)),K.nearbyHeading&&Z.push("heading: "+K.nearbyHeading),Z.push("parent: "+K.parentTag),g.push({selector:j,attribute:"aria-label",currentValue:w,issueType:"label_in_name",wcag:"2.5.3",context:Z.join(" | "),needsAI:true,outerHtml:(x.outerHTML||"").slice(0,300)});}return g},Ah={name:"labelInName",cap:40,async detect(d){return d.evaluate(iI)}};var oI=()=>{function d(S){let w=S.closest("section,article,div,nav,main,aside,header,footer"),T=w?w.querySelector("h1,h2,h3,h4,h5,h6"):null;return T?(T.textContent||"").trim().slice(0,80):""}let p="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=EquallyAI],[id*=ae_],[class*=ae-exclude]",g=50,m=[];document.querySelector('main, [role="main"]')||m.push({selector:"body",attribute:"role",currentValue:"",issueType:"missing_landmark",wcag:"1.3.1",context:JSON.stringify({reason:'page has no <main> or [role="main"] landmark'}),needsAI:true,outerHtml:""});let x=document.querySelectorAll("div, section, ul, ol");for(let S of x){if(m.length>=g)break;if(S.closest(p)||!isVisible(S)||isHiddenFromAT(S)||S.tagName.toLowerCase()==="nav")continue;let w=S.getAttribute("role");if(w&&w!=="navigation")continue;let T=(S.className&&typeof S.className=="string"?S.className:"").toLowerCase(),E=(S.id||"").toLowerCase();if(!(T.includes("nav")||T.includes("menu")||T.includes("navigation")||E.includes("nav")||E.includes("menu")||E.includes("navigation"))||S.closest('nav, [role="navigation"]'))continue;let C=Array.from(S.querySelectorAll('nav, [role="navigation"]')).filter(G=>isVisible(G)&&!isHiddenFromAT(G)),R=Array.from(S.querySelectorAll("a[href]")).filter(G=>!C.some(q=>q.contains(G)));if(R.length<3)continue;let L=S.closest('header, [role="banner"], footer, [role="contentinfo"]'),$=!!L&&Array.from(L.querySelectorAll('nav, [role="navigation"]')).some(G=>!S.contains(G)&&isVisible(G)&&!isHiddenFromAT(G))||C.length>0,W=uniqueSel(S);m.push({selector:W,attribute:"role",currentValue:"",issueType:"missing_landmark",wcag:"1.3.1",context:JSON.stringify({tag:S.tagName.toLowerCase(),reason:'navigation-like container missing role="navigation"',linkCount:R.length,classes:T.slice(0,80)}),needsAI:false,fixValue:"navigation",...$?{needsReview:true,reviewReason:C.length>0?"this container already holds a navigation landmark \u2014 confirm the links outside it are a separate navigation block before adding a second one":"this header/footer region already has a navigation landmark \u2014 confirm these links are a separate navigation block before adding a second one"}:{},outerHtml:S.outerHTML.slice(0,300)});}let v=document.querySelectorAll('aside, [role="complementary"]'),y=Array.from(v).filter(S=>!S.closest(p)&&isVisible(S)&&!isHiddenFromAT(S));if(y.length>1)for(let S of y){if(m.length>=g)break;let w=S.getAttribute("aria-label")||"",T=S.getAttribute("aria-labelledby")||"",E=S.getAttribute("title")||"";if(w.trim()||T.trim()||E.trim())continue;let _=d(S),C=uniqueSel(S);m.push({selector:C,attribute:"aria-label",currentValue:"",issueType:"missing_landmark",wcag:"1.3.1",context:JSON.stringify({tag:S.tagName.toLowerCase(),reason:"multiple complementary landmarks without distinguishing labels",totalAsides:v.length,nearbyHeading:_}),needsAI:true,outerHtml:S.outerHTML.slice(0,300)});}let D=document.querySelectorAll('nav, [role="navigation"]'),F=Array.from(D).filter(S=>!S.closest(p)&&isVisible(S)&&!isHiddenFromAT(S));if(F.length>1)for(let S of F){if(m.length>=g)break;let w=S.getAttribute("aria-label")||"",T=S.getAttribute("aria-labelledby")||"",E=S.getAttribute("title")||"";if(w.trim()||T.trim()||E.trim())continue;let _=d(S),C=uniqueSel(S);m.push({selector:C,attribute:"aria-label",currentValue:"",issueType:"missing_landmark",wcag:"1.3.1",context:JSON.stringify({tag:S.tagName.toLowerCase(),reason:"multiple nav landmarks without distinguishing labels",totalNavs:D.length,nearbyHeading:_}),needsAI:true,outerHtml:S.outerHTML.slice(0,300)});}return m},Eh={name:"landmarkRoles",cap:50,async detect(d){return d.evaluate(oI)}};var sI=()=>{let d="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=EquallyAI]",g=["click here","click","here","read more","more","link","this","go","info","details","learn more","see more","view","open","tap"],m=[];function h(S){if(!S)return "";let w=S.split("#")[0];return w.length>1&&w.charAt(w.length-1)==="/"&&(w=w.substring(0,w.length-1)),w}function x(S){let w=(S.getAttribute("aria-label")||"").trim();return w||(S.textContent||"").trim().replace(/\s+/g," ")}function v(S){return !!S.closest('nav, [role="navigation"], [role="menubar"], [class*=breadcrumb], [aria-label*="breadcrumb" i]')}let y={},D=document.querySelectorAll("a[href]");for(let S=0;S<D.length;S++){let w=D[S];if(w.closest(d)||w.getAttribute("aria-hidden")==="true"||!isVisible(w))continue;let T=w.getAttribute("href")||"";if(!T)continue;let E=T.toLowerCase();if(E.charAt(0)==="#"||E.indexOf("javascript:")===0||E.indexOf("mailto:")===0||E.indexOf("tel:")===0)continue;let _=w.href||T,C=h(_);if(!C||v(w))continue;let R=(w.textContent||"").trim(),L=!!w.querySelector("img, svg, picture");if(!R&&L)continue;let N=x(w);if(!N)continue;let $=N.toLowerCase();$===E||$===_.toLowerCase()||(y[C]||(y[C]=[]),y[C].push(w));}let F=Object.keys(y);for(let S=0;S<F.length&&!(m.length>=30);S++){let w=y[F[S]];if(!w||w.length<2)continue;let T={},E="";for(let L=0;L<w.length;L++){let N=x(w[L]),$=N.toLowerCase();T[$]=true,N.length>E.length&&(E=N);}if(Object.keys(T).length<2)continue;let C=E.toLowerCase().trim();if(C.length<5)continue;let R=false;for(let L=0;L<g.length;L++)if(C===g[L]){R=true;break}if(!R)for(let L=0;L<w.length&&!(m.length>=30);L++){let N=w[L],$=x(N);if($.toLowerCase()===C)continue;let W=uniqueSel(N);m.push({selector:W,attribute:"aria-label",currentValue:$,issueType:"link_consistency",wcag:"3.2.4",context:"Same href as "+w.length+' link(s) on this page with different text (e.g. "'+E.slice(0,80)+'"). If these labels also differ across pages, unify the VISIBLE text \u2014 do not mask it with aria-label.',needsAI:false,needsReview:true,reviewReason:"WCAG 3.2.4 is a cross-page criterion; same-page label variation may be intentional and cannot be auto-verified from one page",outerHtml:N.outerHTML.slice(0,300)});}}return m},Ch={name:"linkConsistency",cap:30,async detect(d){return d.evaluate(sI)}};var lI=()=>{let p=[],g=[".pdf",".doc",".docx",".xls",".xlsx",".zip",".csv",".ppt",".pptx",".txt",".rtf",".epub"],m={".pdf":"PDF",".doc":"Word document",".docx":"Word document",".xls":"Excel spreadsheet",".xlsx":"Excel spreadsheet",".zip":"ZIP archive",".csv":"CSV file",".ppt":"PowerPoint",".pptx":"PowerPoint",".txt":"text file",".rtf":"RTF document",".epub":"EPUB file"},h="";try{h=window.location&&window.location.hostname||"";}catch{h="";}h=(h||"").toLowerCase();function x(_,C){if(!_||!C)return false;if(_===C||_.endsWith("."+C)||C.endsWith("."+_))return true;let R=L=>{let N=L.split(".");if(N.length<=2)return L;let $=N[N.length-1],W=N[N.length-2],G=["co","com","net","org","ac","gov","edu"],q=$.length===2&&G.indexOf(W)>=0?3:2;return N.slice(-q).join(".")};return R(_)===R(C)}function v(_){return _.indexOf("www.")===0?_.slice(4):_}function y(_){if(!_)return "";let C=_.toLowerCase();if(C.charAt(0)==="#"||C.charAt(0)==="/"||C.charAt(0)==="?"||C.indexOf("javascript:")===0||C.indexOf("mailto:")===0||C.indexOf("tel:")===0)return "";try{return (new window.URL(_,window.location.href).hostname||"").toLowerCase()}catch{return ""}}function D(_){if(!_)return "";let C=_,R=C.indexOf("?");R>=0&&(C=C.slice(0,R));let L=C.indexOf("#");L>=0&&(C=C.slice(0,L)),C=C.toLowerCase();for(let N=0;N<g.length;N++){let $=g[N];if(C.length>=$.length&&C.slice(C.length-$.length)===$)return $}return ""}function F(_){let C=[],R=(_.getAttribute("aria-label")||"").trim();R&&C.push(R);let L=(_.getAttribute("title")||"").trim();L&&C.push(L);let N=_.getAttribute("aria-labelledby");if(N)try{let $=typeof __resolveIdRefs=="function"?__resolveIdRefs(N):"";$&&C.push($);}catch{}return C.push((_.textContent||"").trim()),C.join(" ").toLowerCase()}function S(_,C,R){let L="";try{typeof getAccessibleName=="function"&&(L=(getAccessibleName(_)||"").trim());}catch{}let N=(C||R||L||_.textContent||"").replace(/\s+/g," ").trim();return N||(_.getAttribute("href")||"").trim().replace(/^https?:\/\//i,"").replace(/\/+$/,"")}function w(_,C){let L=200-C.length;L<8&&(L=8);let N=_;if(N.length>L){let $=N.slice(0,L),W=$.lastIndexOf(" ");W>L*.6&&($=$.slice(0,W)),N=$.replace(/[\s…,;:.\-]+$/,"")+"\u2026";}return (N+C).slice(0,200)}let T=document.querySelectorAll("a"),E=T.length;for(let _=0;_<E&&!(p.length>=50);_++){let C=T[_];if(!C||isWidget(C)||C.getAttribute("aria-hidden")==="true")continue;try{if(C.closest&&C.closest('[aria-hidden="true"]'))continue}catch{}if(!isVisible(C))continue;let R=C.getAttribute("href");if(R==null)continue;let L=String(R).trim();if(!L)continue;let N=L.toLowerCase(),$=F(C),W=(C.getAttribute("rel")||"").toLowerCase(),G=uniqueSel(C),q=(C.textContent||"").trim().slice(0,80),j=(C.getAttribute("target")||"").toLowerCase(),K=(C.outerHTML||"").slice(0,300),Z=L==="#",Q=N.indexOf("javascript:")===0;if((Z||Q)&&(C.getAttribute("role")||"").toLowerCase()!=="button"){let me=C.hasAttribute&&C.hasAttribute("onclick"),ye=C.hasAttribute&&(C.hasAttribute("data-action")||C.hasAttribute("data-click")||C.hasAttribute("data-toggle")||C.hasAttribute("data-target")),Ue=typeof C.onclick=="function",Xe=me||ye||Ue,He=[];He.push("href: "+L),q&&He.push("text: "+q),He.push(Xe?"has click handler (should be <button> or role=button)":"dead link \u2014 remove or replace with navigation");let Me='a[href], button, input:not([type="hidden"]), select, textarea, summary, [contenteditable]:not([contenteditable="false" i]), [role="button"], [role="link"], [role="checkbox"], [role="menuitem"], [role="tab"], [role="switch"], [role="option"], [role="radio"], [role="combobox"], [role="slider"], [role="textbox"]',Je=ke=>{if(getComputedStyle(ke).visibility==="hidden")return false;for(let yr=ke;yr&&yr.nodeType===1;yr=yr.parentElement)if(getComputedStyle(yr).display==="none")return false;return true},Re=Array.prototype.some.call(C.querySelectorAll(Me),ke=>Je(ke)&&!isHiddenFromAT(ke));Xe&&!Re&&p.push({selector:G,attribute:"role",currentValue:L,issueType:"placeholder_link",wcag:"2.4.4",context:He.join(" | "),needsAI:false,fixValue:"button",outerHtml:K});continue}if(L.charAt(0)==="#"&&L.length>1){let Ie=L.slice(1),me=Ie;try{me=decodeURIComponent(Ie);}catch{me=Ie;}let ye=null;try{ye=document.getElementById(me);}catch{ye=null;}if(!ye)try{ye=document.querySelector('[name="'+me.replace(/"/g,'\\"')+'"]');}catch{ye=null;}continue}let ae=D(N);if(ae){let Ie=C.hasAttribute&&C.hasAttribute("download"),me=(m[ae]||ae).toLowerCase(),ye=$.indexOf(ae)>=0||$.indexOf(me)>=0||$.indexOf("download")>=0;if(!Ie&&!ye){let Ue=S(C,(C.getAttribute("aria-label")||"").trim(),""),Xe=w(Ue," ("+(m[ae]||ae)+" download)");p.push({selector:G,attribute:"aria-label",currentValue:(C.getAttribute("aria-label")||"").trim(),issueType:"download_link_warning",wcag:"3.2.5",context:"download link \u2014 "+ae+" | href: "+L.slice(0,120),needsAI:false,fixValue:Xe,outerHtml:K});continue}}let ne=y(L),_e=N.indexOf("http://")===0||N.indexOf("https://")===0||N.indexOf("//")===0,he=!!ne&&!!h&&!x(v(ne),v(h));if(j==="_blank"){let Ie=W.indexOf("noopener")>=0||W.indexOf("noreferrer")>=0,me=$.indexOf("new window")>=0||$.indexOf("new tab")>=0||$.indexOf("opens in")>=0;if(!me){let ye=(C.getAttribute("aria-label")||"").trim(),Ue="",Xe=C.getAttribute("aria-labelledby")||"";if(!ye&&Xe)try{typeof __resolveIdRefs=="function"&&(Ue=(__resolveIdRefs(Xe)||"").trim());}catch{}let He=S(C,ye,Ue),Me=w(He," (opens in new window)"),Je=[];Ie||Je.push("missing rel=noopener"),me||Je.push('missing "new window" hint'),Je.push("href: "+L.slice(0,120)),p.push({selector:G,attribute:"aria-label",currentValue:(C.getAttribute("aria-label")||"").trim(),issueType:"new_window_link",wcag:"3.2.5",context:Je.join(" | "),needsAI:false,fixValue:Me,outerHtml:K});continue}}if(he&&_e){let Ie=W.indexOf("external")>=0,me=$.indexOf("external")>=0||$.indexOf("opens in")>=0||$.indexOf("new window")>=0||$.indexOf("new tab")>=0;if(!Ie&&!me){let ye=(C.getAttribute("aria-label")||"").trim(),Ue="",Xe=C.getAttribute("aria-labelledby")||"";if(!ye&&Xe)try{typeof __resolveIdRefs=="function"&&(Ue=(__resolveIdRefs(Xe)||"").trim());}catch{}let He=S(C,ye,Ue),Me=w(He," (external link)");p.push({selector:G,attribute:"aria-label",currentValue:(C.getAttribute("aria-label")||"").trim(),issueType:"external_link_warning",wcag:"3.2.5",context:"external: "+ne+" (page: "+h+") | href: "+L.slice(0,120),needsAI:false,fixValue:Me,outerHtml:K});}}}return p},Sh={name:"linkWarnings",cap:50,async detect(d){return d.evaluate(lI)}};var uI=()=>{let d="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=ae-exclude],[id*=ae_app],[id*=ae_],[class*=EquallyAI]",g=[],m=new Set,h=document.querySelectorAll('main, [role="main"]'),x=[];return h.forEach(v=>{let y=getComputedStyle(v);y.display!=="none"&&y.visibility!=="hidden"&&x.push(v);}),h.forEach(v=>{if(g.length>=10||v.closest(d)||v.getAttribute("aria-hidden")!=="true")return;let y=getComputedStyle(v);if(y.display==="none"||y.visibility==="hidden"||v.closest('[role="dialog"]')||v.closest('[role="alertdialog"]')||v.closest("dialog")||x.some(w=>w!==v&&w.getAttribute("aria-hidden")!=="true"))return;let F=v.parentElement;for(;F&&F!==document.body&&F!==document.documentElement;){if(F.getAttribute("aria-hidden")==="true")return;F=F.parentElement;}let S=uniqueSel(v);m.has(S)||(m.add(S),g.push({selector:S,attribute:"aria-hidden",currentValue:"true",issueType:"main_content_hidden",wcag:"4.1.2",context:JSON.stringify({tag:v.tagName.toLowerCase(),role:v.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:(v.outerHTML||"").slice(0,300)}));}),g},kh={name:"mainContentHidden",cap:10,async detect(d){return d.evaluate(uI)}};var cI=()=>{let p=[];function g(v){return !!(!v||isWidget(v)||(v.getAttribute("aria-hidden")||"").trim().toLowerCase()==="true")}function m(v){return (v.outerHTML||"").slice(0,300)}let h=document.querySelectorAll("video");for(let v of h){if(p.length>=10)break;let y=v;if(g(y))continue;let D=y.hasAttribute("controls"),F=y.hasAttribute("autoplay"),S=y.hasAttribute("muted"),w=typeof isVisible=="function"?isVisible(y):true;if(!D&&w&&(p.push({selector:uniqueSel(y),attribute:"controls",currentValue:"",issueType:"missing_media_controls",wcag:"2.2.2",context:"video element missing player controls",needsAI:false,fixValue:"",outerHtml:m(y)}),p.length>=10))break;F&&!S&&p.push({selector:uniqueSel(y),attribute:"muted",currentValue:"",issueType:"unsafe_autoplay",wcag:"1.4.2",context:"video autoplays with sound \u2014 add muted",needsAI:false,fixValue:"",outerHtml:m(y)});}let x=document.querySelectorAll("audio");for(let v of x){if(p.length>=10)break;let y=v;if(g(y))continue;let D=y.hasAttribute("controls"),F=y.hasAttribute("autoplay");if(!D&&(p.push({selector:uniqueSel(y),attribute:"controls",currentValue:"",issueType:"missing_media_controls",wcag:"2.2.2",context:"audio element missing player controls",needsAI:false,fixValue:"",outerHtml:m(y)}),p.length>=10))break;F&&p.push({selector:uniqueSel(y),attribute:"remove_attribute",currentValue:"autoplay",issueType:"unsafe_autoplay",wcag:"1.4.2",context:"audio element autoplays \u2014 remove autoplay attribute",needsAI:false,fixValue:"autoplay",outerHtml:m(y)});}return p},Th={name:"mediaControls",cap:10,async detect(d){return d.evaluate(cI)}};var dI=()=>{let d="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",g=[],m=/^(image|photo|img|picture|pic|untitled|banner|hero|\d{1,2})$/i,h=/^(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,x=document.querySelectorAll("img");for(let v of x){if(g.length>=50)break;if(v.closest(d))continue;let y=v.getAttribute("src")||"",D=v.getAttribute("alt");if(y.startsWith("data:"))continue;let F=v.naturalWidth||v.width,S=v.naturalHeight||v.height;if(F<=3&&S<=3&&F>0&&S>0||F<=2&&S<=2)continue;let w=v.getBoundingClientRect();if(w.width<=2&&w.height<=2||!isVisible(v)||v.getAttribute("role")==="presentation"||v.getAttribute("role")==="none"||v.getAttribute("aria-hidden")==="true"||v.closest('[aria-hidden="true"]'))continue;let T=(v.getAttribute("aria-label")||"").trim(),E=(v.getAttribute("aria-labelledby")||"").trim();if(T||E)continue;let _=v.getBoundingClientRect(),C=_.width>0&&_.width<=30&&_.height<=30,R=!!v.closest('a, button, [role="button"], [role="link"]');if(C&&!R&&D===null){let G=uniqueSel(v);g.push({selector:G,attribute:"aria-hidden",currentValue:"",issueType:"decorative_icon",wcag:"1.1.1",context:"small icon ("+Math.round(_.width)+"x"+Math.round(_.height)+"px) \u2014 likely decorative",needsAI:false,fixValue:"true"});continue}if(D===null){let G=uniqueSel(v),q=getNearbyContext(v),j=[],K=v.closest("figure");if(K){let ae=K.querySelector("figcaption");ae&&j.push("figcaption: "+(ae.textContent||"").trim().slice(0,80));}q.nearbyHeading&&j.push("heading: "+q.nearbyHeading);let Z=v.closest("a");if(Z){let ae=Z.getAttribute("href")||"",ne=(Z.textContent||"").trim().replace(/\s+/g," ");ne&&j.push("link text: "+ne.slice(0,60)),ae&&j.push("link href: "+ae.slice(0,80));}y&&j.push("src: "+y.slice(0,120)),j.push("parent: "+q.parentTag);let Q=y;try{Q=new URL(y,document.baseURI).href;}catch{}g.push({selector:G,attribute:"alt",currentValue:"",issueType:"missing_alt",wcag:"1.1.1",context:j.join(" | "),needsAI:true,imageSrc:Q,outerHtml:v.outerHTML.slice(0,300)});continue}let L=(D||"").trim();if(L==="")continue;let N=/\.(jpg|jpeg|png|gif|webp|svg|bmp|ico)$/i.test(L),$=m.test(L),W=h.test(L);if(N||$||W){let G=uniqueSel(v),q=getNearbyContext(v),j=[];q.nearbyHeading&&j.push("heading: "+q.nearbyHeading),y&&j.push("src: "+y.slice(0,120)),j.push("parent: "+q.parentTag);let K=y;try{K=new URL(y,document.baseURI).href;}catch{}g.push({selector:G,attribute:"alt",currentValue:L,issueType:"missing_alt",wcag:"1.1.1",context:j.join(" | "),needsAI:true,imageSrc:K,outerHtml:v.outerHTML.slice(0,300)});}}return g},Fh={name:"missingAlt",cap:50,async detect(d){return d.evaluate(dI)}};var fI=()=>{let d="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",p=["hidden","submit","button","reset","image"],g=["wpnonce","_token","csrf","nonce","captcha"],h=[],x=document.querySelectorAll("input, select, textarea");for(let v of x){if(h.length>=50)break;if(v.closest(d))continue;let y=v,D=y.getAttribute("type")||y.tagName.toLowerCase();if(p.includes(D.toLowerCase())||!isVisible(y)||y.closest('[id*="goog-gt"],[class*="goog-te"],[id*="recaptcha"],[class*="intercom"],[class*="drift-"],[class*="crisp-"],[class*="tawk-"]')||getComputedStyle(y).display==="none")continue;let w=y.getAttribute("id")||"",T=y.getAttribute("name")||"",E=(w+" "+T).toLowerCase();if(g.some(G=>E.includes(G)))continue;let _=false;if(w){let G=document.querySelector('label[for="'+CSS.escape(w)+'"]');G&&(G.textContent||"").trim()&&(_=true);}if(!_){let G=y.closest("label");G&&(G.textContent||"").trim()&&(_=true);}if(!_&&(y.getAttribute("aria-label")||"").trim()&&(_=true),!_){let G=y.getAttribute("aria-labelledby");G&&typeof __resolveIdRefs=="function"&&__resolveIdRefs(G)&&(_=true);}if(!_&&(y.getAttribute("title")||"").trim()&&(_=true),_)continue;let C=uniqueSel(y),R=getNearbyContext(y),L=(y.getAttribute("placeholder")||"").trim(),N=y.closest("form"),$=N&&(N.getAttribute("id")||N.getAttribute("action"))||"",W=[];L&&W.push("placeholder: "+L),T&&W.push("name: "+T),D&&W.push("type: "+D),$&&W.push("form: "+$.slice(0,60)),R.nearbyHeading&&W.push("heading: "+R.nearbyHeading),W.push("parent: "+R.parentTag),h.push({selector:C,attribute:"aria-label",currentValue:"",issueType:"missing_label",wcag:"1.3.1",context:W.join(" | "),needsAI:true,outerHtml:y.outerHTML.slice(0,300)});}return h},Rh={name:"missingLabels",cap:50,async detect(d){return d.evaluate(fI)}};var pI=()=>{let d="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=EquallyAI],[id*=ae_],[class*=ae-exclude]",p='a[href], button, input:not([type="hidden"]), select, textarea, summary, [contenteditable]:not([contenteditable="false" i]), [role="button"], [role="link"], [role="checkbox"], [role="menuitem"], [role="tab"], [role="switch"], [role="option"], [role="radio"], [role="combobox"], [role="slider"], [role="textbox"]',g=["onclick","data-action","ng-click","@click","v-on:click"],m=_=>{if(getComputedStyle(_).visibility==="hidden")return false;for(let C=_;C&&C.nodeType===1;C=C.parentElement)if(getComputedStyle(C).display==="none")return false;return true},h=_=>Array.prototype.some.call(_.querySelectorAll("a:not([href])"),C=>m(C)&&!isHiddenFromAT(C)&&g.some(R=>C.hasAttribute(R))),x=_=>Array.prototype.some.call(_.querySelectorAll(p),C=>m(C)&&!isHiddenFromAT(C)),y=[];return document.querySelectorAll("div[onclick], span[onclick]").forEach(_=>{if(y.length>=50||_.closest(d)||!isVisible(_)||isHiddenFromAT(_)||x(_)||h(_))return;let C=_.getAttribute("role");if(C==="button"||C==="link"||C==="tab"||C==="menuitem"||C==="checkbox"||C==="radio")return;let R=uniqueSel(_),L=_.outerHTML.slice(0,300);y.push({selector:R,attribute:"role",currentValue:C||"",issueType:"missing_button_role",wcag:"4.1.2",context:JSON.stringify({tag:_.tagName.toLowerCase(),hasOnclick:true,currentTabindex:_.getAttribute("tabindex")}),needsAI:false,fixValue:"button",outerHtml:L}),_.getAttribute("tabindex")===null&&y.push({selector:R,attribute:"tabindex",currentValue:"",issueType:"missing_button_role",wcag:"4.1.2",context:JSON.stringify({tag:_.tagName.toLowerCase(),supplementary:'tabindex needed alongside role="button"'}),needsAI:false,fixValue:"0",outerHtml:L});}),document.querySelectorAll('a:not([href]), a[href=""], a[href="#"], a[href="javascript:void(0)"], a[href="javascript:;"]').forEach(_=>{if(y.length>=50||_.closest(d)||!isVisible(_)||isHiddenFromAT(_)||_.getAttribute("role"))return;let R=_.hasAttribute("onclick"),L=_.getAttribute("data-action")||_.getAttribute("ng-click")||_.getAttribute("@click")||_.getAttribute("v-on:click");if(!R&&!L||x(_))return;let N=uniqueSel(_),$=_.outerHTML.slice(0,300);y.push({selector:N,attribute:"role",currentValue:"",issueType:"missing_button_role",wcag:"4.1.2",context:JSON.stringify({tag:"a",href:_.getAttribute("href")||"",hasOnclick:R}),needsAI:false,fixValue:"button",outerHtml:$});}),document.querySelectorAll('a[href^="#"]:not([href="#"]), a[href^="javascript:"]').forEach(_=>{if(y.length>=50||_.closest(d)||!isVisible(_)||isHiddenFromAT(_)||_.getAttribute("role"))return;let R=_.getAttribute("href")||"",L=false;if(R.startsWith("#")&&R.length>1){if(R.charAt(1)==="/")return;let G=R.slice(1);if(document.getElementById(G))return;try{if(document.querySelector('[name="'+CSS.escape(G)+'"]'))return}catch{}L=true;}let N=R.startsWith("javascript:")||_.hasAttribute("onclick")||_.getAttribute("data-action")||_.getAttribute("ng-click")||_.getAttribute("@click")||_.getAttribute("v-on:click")||_.hasAttribute("aria-haspopup")||_.hasAttribute("aria-expanded")||_.hasAttribute("aria-controls"),$=L&&!N;if(x(_))return;let W=uniqueSel(_);y.push({selector:W,attribute:"role",currentValue:"",issueType:"missing_button_role",wcag:"4.1.2",context:JSON.stringify({tag:"a",href:R,reason:"non-navigating link acting as button"}),needsAI:false,fixValue:"button",outerHtml:_.outerHTML.slice(0,300),...$?{needsReview:true,reviewReason:"fragment href has no matching target and no click-behavior evidence \u2014 may be a dead link, not a button"}:{}});}),document.querySelectorAll("nav, ol, ul").forEach(_=>{if(y.length>=50||_.closest(d)||!isVisible(_)||isHiddenFromAT(_))return;let C=(_.className&&typeof _.className=="string"?_.className:"").toLowerCase(),R=(_.id||"").toLowerCase();if(!C.includes("breadcrumb")&&!C.includes("crumb")&&!R.includes("breadcrumb")&&!R.includes("crumb"))return;let L=_.querySelectorAll("a");if(L.length<2)return;let N=(_.getAttribute("aria-label")||"").toLowerCase(),$=_.getAttribute("role");if(N.includes("breadcrumb")||N.includes("crumb")||$==="navigation"&&N)return;let W=uniqueSel(_);y.push({selector:W,attribute:"aria-label",currentValue:N,issueType:"missing_semantic_role",wcag:"4.1.2",context:JSON.stringify({tag:_.tagName.toLowerCase(),reason:"breadcrumb navigation missing aria-label",linkCount:L.length}),needsAI:false,fixValue:"Breadcrumb",outerHtml:_.outerHTML.slice(0,300)});}),document.querySelectorAll("form, section, div").forEach(_=>{if(y.length>=50||_.closest(d)||!isVisible(_)||isHiddenFromAT(_))return;let C=(_.className&&typeof _.className=="string"?_.className:"").toLowerCase(),R=(_.id||"").toLowerCase();if(!C.includes("search")&&!R.includes("search")||!_.querySelector('input[type="search"], input[type="text"], input[name*="search"], input[placeholder*="earch"]'))return;let N=_.getAttribute("role");if(N==="search"||_.closest('[role="search"]')||_.querySelector('[role="search"]')||Array.prototype.some.call(_.querySelectorAll("form, section, div"),G=>{let q=(G.className&&typeof G.className=="string"?G.className:"").toLowerCase(),j=(G.id||"").toLowerCase();return !q.includes("search")&&!j.includes("search")||G.getAttribute("role")==="search"?false:!!G.querySelector('input[type="search"], input[type="text"], input[name*="search"], input[placeholder*="earch"]')}))return;let W=uniqueSel(_);y.push({selector:W,attribute:"role",currentValue:N||"",issueType:"missing_semantic_role",wcag:"4.1.2",context:JSON.stringify({tag:_.tagName.toLowerCase(),reason:'search section missing role="search"'}),needsAI:false,fixValue:"search",outerHtml:_.outerHTML.slice(0,300)});}),document.querySelectorAll('[role="menu"], [role="menubar"]').forEach(_=>{if(_.closest(d))return;let C=_.getAttribute("role")||"menu",R=Array.from(_.querySelectorAll("a")).filter(N=>{if(!isVisible(N)||isHiddenFromAT(N))return false;let $=N.getAttribute("role");return $!=="menuitem"&&$!=="menuitemcheckbox"&&$!=="menuitemradio"});if(R.length===0)return;let L=uniqueSel(_);y.push({selector:L,attribute:"role",currentValue:C,issueType:"missing_semantic_role",wcag:"4.1.2",context:JSON.stringify({tag:_.tagName.toLowerCase(),reason:`${R.length} link(s) inside role="${C}" without menuitem roles`,sample:R.slice(0,3).map(N=>(N.textContent||"").trim().slice(0,40))}),message:`container role="${C}" holds ${R.length} link(s) without menuitem roles \u2014 for site navigation use a nav list instead (role="menu" requires the full menu pattern: menuitem children plus arrow-key handling)`,needsAI:false,needsReview:true,reviewReason:'Adding role="menuitem" to plain navigation links is invalid ARIA when the menu pattern is not implemented. Prefer removing role="menu"/"menubar" from site navigation; keep it only for application menus built to the APG menu pattern.',outerHtml:_.outerHTML.slice(0,300)});}),y},Ih={name:"missingRoles",cap:50,async detect(d){return d.evaluate(pI)}};var mI=()=>{let d="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye]",g=[],m={navigation:'nav, [role="navigation"]',complementary:'aside, [role="complementary"]',search:'[role="search"]',region:'[role="region"]'},h=x=>{let v=F=>{let S=F.tagName.toLowerCase(),w=F.parentElement;if(!w)return S;let T=Array.from(w.children).filter(E=>E.tagName===F.tagName);return T.length>1?`${S}:nth-of-type(${T.indexOf(F)+1})`:S},y=[],D=x;for(;D&&D!==document.body&&D!==document.documentElement;)y.unshift(v(D)),D=D.parentElement;return y.length?y.join(" > "):x.tagName.toLowerCase()};for(let[x,v]of Object.entries(m)){let y=Array.from(document.querySelectorAll(v));y=y.filter(D=>!D.closest(d)),y=y.filter(D=>typeof isVisible=="function"?isVisible(D):true),y=y.filter(D=>D.getAttribute("aria-hidden")!=="true"),!(y.length<2)&&y.forEach(D=>{if(g.length>=30||(D.getAttribute("aria-label")||"").trim()||(D.getAttribute("title")||"").trim())return;let F=D.getAttribute("aria-labelledby");if(F&&typeof __resolveIdRefs=="function"&&__resolveIdRefs(F))return;let S=typeof uniqueSel=="function"?uniqueSel(D):h(D),w=typeof getNearbyContext=="function"?getNearbyContext(D):{nearbyHeading:""},T=D.querySelector("h1, h2, h3, h4, h5, h6"),E=T?(T.textContent||"").trim().slice(0,60):"";g.push({selector:S,attribute:"aria-label",currentValue:"",issueType:"landmark_duplicate_unlabeled",wcag:"1.3.1",context:`type: ${x} | total: ${y.length} | inner-heading: ${E} | nearby: ${w.nearbyHeading||""}`,needsAI:true,outerHtml:(D.outerHTML||"").slice(0,300)});});}return g},Lh={name:"multipleLandmarks",cap:30,async detect(d){return d.evaluate(mI)}};var hI=()=>{let d="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye]",g=[],m={main:'main, [role="main"]',navigation:'nav, [role="navigation"]',banner:'header, [role="banner"]',contentinfo:'footer, [role="contentinfo"]',complementary:'aside, [role="complementary"]',search:'[role="search"]'};for(let[h,x]of Object.entries(m))document.querySelectorAll(x).forEach(y=>{if(g.length>=30||y.closest(d)||typeof isVisible=="function"&&!isVisible(y))return;let D=y.parentElement,F=null;for(;D&&D!==document.body;){if(D.matches(x)){F=D;break}D=D.parentElement;}if((h==="banner"||h==="contentinfo")&&y.closest("article, section, aside, main, nav")||!F||y.getAttribute("aria-label")?.trim()||y.getAttribute("aria-labelledby")?.trim())return;let S=typeof uniqueSel=="function"?uniqueSel(y):"",w=typeof getNearbyContext=="function"?getNearbyContext(y):{nearbyHeading:""};g.push({selector:S,attribute:"role",currentValue:y.getAttribute("role")||y.tagName.toLowerCase(),issueType:"nested_landmark",wcag:"1.3.1",context:`nested-in: ${h} | tag: ${y.tagName.toLowerCase()} | heading: ${w.nearbyHeading||""}`,needsAI:false,fixValue:"generic",outerHtml:(y.outerHTML||"").slice(0,300)});});return g},Ph={name:"nestedLandmarks",cap:30,async detect(d){return d.evaluate(hI)}};var gI=()=>{let p=[],g=w=>typeof parseCssColor=="function"?parseCssColor(w):null,m=(w,T,E)=>typeof relLuminance=="function"?relLuminance(w,T,E):0,x=(w,T)=>typeof contrastRatio=="function"?contrastRatio(w,T):1;function v(w){let T=document.documentElement,E=w.parentElement,_=0;for(;E&&E!==T&&_<6;){let N=getComputedStyle(E).backgroundColor||"",$=g(N);if($&&$[3]>.5)return [$[0],$[1],$[2]];E=E.parentElement,_++;}let C=document.body;if(E&&E!==T&&C&&C.contains(E)){let N=g(getComputedStyle(C).backgroundColor||"");if(N&&N[3]>.5)return [N[0],N[1],N[2]]}let R=g(getComputedStyle(T).backgroundColor||""),L=R?Math.min(R[3],1):0;return !R||L<=0?[255,255,255]:[Math.round(R[0]*L+255*(1-L)),Math.round(R[1]*L+255*(1-L)),Math.round(R[2]*L+255*(1-L))]}function y(w,T,E){return "#"+[w,T,E].map(_=>{let C=Math.max(0,Math.min(255,Math.round(_))).toString(16);return C.length===1?"0"+C:C}).join("")}function D(w,T,E){let _=m(T[0],T[1],T[2])>.5;return F(w,T,E,_)||F(w,T,E,!_)}function F(w,T,E,_){let C=0,R=1,L=null;for(let N=0;N<20;N++){let $=(C+R)/2,W=_?[w[0]*(1-$),w[1]*(1-$),w[2]*(1-$)]:[w[0]+(255-w[0])*$,w[1]+(255-w[1])*$,w[2]+(255-w[2])*$],G=[Math.round(W[0]),Math.round(W[1]),Math.round(W[2])];x(G,T)>=E?(L=G,R=$):C=$;}return L}let S=document.querySelectorAll('input:not([type="hidden"]), select, textarea, button, [role="button"], [role="checkbox"], [role="radio"], [role="switch"]');for(let w of S){if(p.length>=30)break;if(isWidget(w)||isHiddenFromAT(w)||!isVisible(w))continue;let T=getComputedStyle(w),E=v(w),_=g(T.backgroundColor||""),C=g(T.borderTopColor||""),R=parseFloat(T.borderTopWidth||"0"),L=(T.borderTopStyle||"").toLowerCase(),N=R>0&&L!=="none"&&L!=="hidden",$=w.tagName.toLowerCase(),W=$==="input"||$==="select"||$==="textarea",G=N&&C&&C[3]>.5?x([C[0],C[1],C[2]],E):null,q=_&&_[3]>.5?x([_[0],_[1],_[2]],E):null,j=G===null&&q===null?null:Math.max(G??0,q??0),K=null,Z=false,Q="";if(W)j!==null?(K=j,j<3&&(Z=true)):(Z=true,K=1);else {let Me=false,Je=document.createTreeWalker(w,4),Re=Je.nextNode();for(;Re;){if((Re.textContent||"").trim()&&Re.parentElement&&isVisible(Re.parentElement)){Me=true;break}Re=Je.nextNode();}if(Me)continue;let yr=Array.from(w.querySelectorAll('img, svg, picture, canvas, i[class], [class*="icon"]')),Ya=new Map,qo=gt=>{let kt=gt.getBoundingClientRect();if(kt.width*kt.height===0)return "absent";let zt=parseFloat(getComputedStyle(w).opacity||"1");for(let ft=gt;ft&&ft!==w;ft=ft.parentElement){let tr=getComputedStyle(ft);if(tr.display==="none")return "absent";if(tr.visibility==="hidden"||parseFloat(tr.opacity||"1")===0)return "hidden-at-rest";zt*=parseFloat(tr.opacity||"1");}return Ya.set(gt,zt),"painted"},cr=yr.map(qo),Ka=yr.filter((gt,kt)=>cr[kt]==="painted"),oa=Ka.length>0,$t=!oa&&cr.includes("hidden-at-rest"),Mt=gt=>{let kt=(gt.tagName||"").toLowerCase();if(kt==="img"||kt==="picture"||kt==="canvas"||kt==="svg"&&gt.querySelector("image, foreignObject, linearGradient, radialGradient, pattern"))return null;let zt=[];if(kt==="svg"){let tr=gt.querySelector("path, circle, rect, polygon, polyline, line, ellipse, use, text");for(let vt of [tr,gt]){if(!vt)continue;let bt=getComputedStyle(vt),sa=1;for(let Gt=vt;Gt&&Gt!==gt;Gt=Gt.parentElement||Gt.parentNode)sa*=parseFloat(getComputedStyle(Gt).opacity||"1");let Ke=Gt=>Number.isFinite(parseFloat(Gt))?parseFloat(Gt):1;if(bt.fill&&bt.fill!=="none"&&!bt.fill.startsWith("url")&&zt.push({color:bt.fill,alpha:sa*Ke(bt.fillOpacity)}),bt.stroke&&bt.stroke!=="none"&&!bt.stroke.startsWith("url")&&parseFloat(bt.strokeWidth||"0")>0&&zt.push({color:bt.stroke,alpha:sa*Ke(bt.strokeOpacity)}),zt.length)break}}else ((gt.textContent||"").trim()||getComputedStyle(gt,"::before").content!=="none")&&zt.push({color:getComputedStyle(gt).color,alpha:1});let ft=null;for(let tr of zt){let vt=g(tr.color);if(!vt)continue;let bt=vt[3]*tr.alpha*(Ya.get(gt)??1),sa=[vt[0]*bt+E[0]*(1-bt),vt[1]*bt+E[1]*(1-bt),vt[2]*bt+E[2]*(1-bt)],Ke=x(sa,E);(ft===null||Ke>ft)&&(ft=Ke);}return ft};if(oa&&Ka.map(Mt).some(kt=>kt!==null&&kt>=3))continue;let Ir=false,ge=T.position;if((ge==="absolute"||ge==="fixed")&&w.parentElement){let gt=w.getBoundingClientRect(),kt=w.parentElement.getBoundingClientRect(),zt=kt.width*kt.height;zt>0&&gt.width*gt.height/zt>=.85&&(Ir=true);}if(oa||Ir||$t){if(Z=true,K=N&&C&&C[3]>.5?x([C[0],C[1],C[2]],E):1,K>=3)continue;Q=oa?"control is identified by an image or icon \u2014 verify the graphic itself has 3:1 contrast against its surroundings":$t?"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 j!==null?(K=j,j<3&&(Z=true)):(Z=true,K=1);}if(!Z)continue;let ae=C&&C[3]>.5?[C[0],C[1],C[2]]:_&&_[3]>.5?[_[0],_[1],_[2]]:[128,128,128],ne=D(ae,E,3);if(!ne)continue;let _e=y(ne[0],ne[1],ne[2]),he=y(E[0],E[1],E[2]),Ie="border: 1px solid "+_e+" !important;",me=uniqueSel(w),ye=w.tagName.toLowerCase(),Ue=j===null&&!N?"invisible (no border, no fill: 1.00:1)":K?K.toFixed(2)+":1":"not measurable",Xe=ye==="input"||ye==="select"||ye==="textarea"?ye+" field":ye,He=Q?"non-text contrast: "+Xe+" boundary is "+Ue+" against "+he+" (needs 3:1) \u2014 "+Q:"non-text contrast: "+Xe+" boundary (border and fill) is "+Ue+" against "+he+", needs 3:1 \u2014 e.g. border-color "+_e;p.push({selector:me,message:He,attribute:"style",currentValue:K?K.toFixed(2):"?",issueType:"non_text_contrast_insufficient",wcag:"1.4.11",context:ye+" bg="+he+" ratio="+(K?K.toFixed(2):"?")+" needs=3",needsAI:false,...Q?{needsReview:true,reviewReason:Q}:{fixValue:Ie},outerHtml:w.outerHTML.slice(0,200)});}return p},Mh={name:"nonTextContrast",cap:30,async detect(d){return d.evaluate(gI)}};var vI=()=>{let d="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",g=[],m=/location\s*[=.]|location\s*\.\s*href|\.submit\s*\(|window\s*\.\s*open|history\s*\.\s*(push|replace)/i,h=document.querySelectorAll("[onfocus]");for(let x of Array.from(h)){if(g.length>=20)break;if(x.closest(d))continue;let v=x.getAttribute("onfocus")||"";if(!v||!m.test(v))continue;let y=typeof uniqueSel=="function"?uniqueSel(x):"",D=typeof getNearbyContext=="function"?getNearbyContext(x):{parentTag:x.tagName.toLowerCase(),nearbyHeading:""},F=[];F.push("tag: "+x.tagName.toLowerCase()),F.push("onfocus: "+v.slice(0,100)),D.nearbyHeading&&F.push("heading: "+D.nearbyHeading),F.push("parent: "+D.parentTag),g.push({selector:y,attribute:"onfocus",currentValue:v.slice(0,200),issueType:"onfocus_context_change",wcag:"3.2.1",context:F.join(" | "),needsAI:true,outerHtml:(x.outerHTML||"").slice(0,300)});}return g},Oh={name:"onFocus",cap:20,async detect(d){return d.evaluate(vI)}};var bI=()=>{let d="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=ae-exclude],[id*=ae_app],[id*=ae_],[class*=EquallyAI]",m=[],h=new Set,x=new Set(["dialog","alertdialog","menu","menubar","listbox","tree","grid","treegrid","tabpanel","application","toolbar","combobox"]);return document.querySelectorAll("div, section, article, aside, pre, code, ul, ol, nav, blockquote").forEach(y=>{if(m.length>=30||y.closest(d))return;let D=y.tagName;if(D==="BODY"||D==="HTML"||!isVisible(y)||isHiddenFromAT(y)||y.hasAttribute("tabindex"))return;let F=y.getAttribute("role");if(F&&x.has(F))return;let S=getComputedStyle(y),w=S.overflowY,T=S.overflowX,E=w==="auto"||w==="scroll",_=T==="auto"||T==="scroll";if(!E&&!_)return;let C=E&&y.scrollHeight-y.clientHeight>50,R=_&&y.scrollWidth-y.clientWidth>50;if(!C&&!R||y.querySelectorAll('a[href], button:not([disabled]), input:not([disabled]):not([type=hidden]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])').length>0)return;let N=uniqueSel(y);if(h.has(N))return;h.add(N);let{nearbyHeading:$}=getNearbyContext(y),W="";if($)W=$;else {let j=(typeof y.className=="string"?y.className:"").toLowerCase(),K=(y.id||"").toLowerCase();j.includes("code")||j.includes("snippet")||D==="PRE"||D==="CODE"?W="Code block":j.includes("terms")||j.includes("tos")||j.includes("legal")?W="Terms and conditions":j.includes("chat")||j.includes("message")?W="Chat messages":j.includes("table")||j.includes("data")?W="Data table":K?W=K.replace(/[-_]/g," "):W="Scrollable content";}let G=(y.outerHTML||"").slice(0,300);m.push({selector:N,attribute:"tabindex",currentValue:"",issueType:"scrollable_not_focusable",wcag:"2.1.1",context:JSON.stringify({tag:D.toLowerCase(),overflowY:E?w:void 0,overflowX:_?T:void 0,scrollHeight:y.scrollHeight,clientHeight:y.clientHeight,scrollWidth:y.scrollWidth,clientWidth:y.clientWidth,suggestion:'Add tabindex="0" so keyboard users can scroll this container'}),needsAI:false,fixValue:"0",outerHtml:G}),F||m.push({selector:N,attribute:"role",currentValue:"",issueType:"missing_semantic_role",wcag:"2.1.1",context:JSON.stringify({tag:D.toLowerCase(),supplementary:'role="region" needed alongside tabindex="0" for screen reader announcement'}),needsAI:false,fixValue:"region",outerHtml:G}),y.getAttribute("aria-label")||y.getAttribute("aria-labelledby")||m.push({selector:N,attribute:"aria-label",currentValue:"",issueType:"missing_landmark",wcag:"2.1.1",context:JSON.stringify({tag:D.toLowerCase(),labelHint:W,supplementary:"aria-label needed so screen readers announce the scrollable region"}),needsAI:true,outerHtml:G});}),m},Nh={name:"scrollableFocus",cap:30,async detect(d){return d.evaluate(bI)}};var yI=()=>{let d="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=EquallyAI]",g=["fa-","fa ","fas ","far ","fab ","fal ","fad ","material-icons","material-symbols","bi-","bi ","icon-","glyphicon","icofont-","dashicons-","heroicon","feather-","lucide-"],m=[],h=document.querySelectorAll("b, i");for(let x=0;x<h.length&&!(m.length>=30);x++){let v=h[x];if(v.closest(d)||v.getAttribute("aria-hidden")==="true"||v.parentElement&&v.parentElement.closest("strong, em"))continue;let y=v.className&&typeof v.className=="string"?v.className.toLowerCase():"";if(y){let T=false;for(let E=0;E<g.length;E++)if(y.indexOf(g[E])!==-1){T=true;break}if(T)continue}let D=(v.textContent||"").trim();if(!D)continue;let F=v.tagName.toLowerCase(),S=F==="b"?"strong":"em",w=uniqueSel(v);m.push({selector:w,attribute:"tagName",currentValue:F,fixValue:S,issueType:"semantic_emphasis",wcag:"1.3.1",context:"<"+F+'> used for "'+D.slice(0,60)+'". Replace with <'+S+"> so assistive tech conveys the emphasis.",needsAI:false,outerHtml:v.outerHTML.slice(0,300)});}return m},qh={name:"semanticEmphasis",cap:30,async detect(d){return d.evaluate(yI)}};var wI=()=>{let d="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",p=[],g=['a[href="#main-content"]','a[href="#main"]','a[href="#content"]','a[href="#skip"]','a[href="#skip-content"]','a[href="#maincontent"]',"a.skip-link","a.skip-nav","a.skip-to-content","a.skiplink","a.skip-navigation",'[class*="skip-link"]','[class*="skip-nav"]'],m=false;for(let w of g){let T=document.querySelector(w);if(T&&!T.closest(d)){m=true;break}}if(!m){let w=document.querySelectorAll('a[href^="#"]');for(let T of w){if(T.closest(d))continue;let E=(T.textContent||"").toLowerCase();if(E.includes("skip")&&(E.includes("main")||E.includes("content")||E.includes("nav"))){m=true;break}}}if(m||Array.from(document.querySelectorAll('main, [role="main"]')).filter(w=>{let T=getComputedStyle(w);if(T.display==="none"||T.visibility==="hidden"||w.closest('[hidden], [aria-hidden="true"]'))return false;let E=w.getBoundingClientRect();return E.width>0&&E.height>0}).length===1)return p;let x="",v=document.querySelector('main[id], [role="main"][id]');if(v&&v.getAttribute("id"))x=v.getAttribute("id");else {let w=document.querySelector("h1[id]");if(w&&w.getAttribute("id"))x=w.getAttribute("id");else {let T=["main-content","maincontent","main","content","skip-content"];for(let E of T)if(document.getElementById(E)){x=E;break}}}let y=x==="",D=x||"main-content",S="<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="#'+D+'" class="wa-skip-link">Skip to main content</a>';return p.push({selector:"body",attribute:"prepend",currentValue:"",issueType:"skip_link",wcag:"2.4.1",context:y?'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 #"+D,needsAI:false,fixValue:S,...y?{manualFix:true}:{}}),p},Bh={name:"skipLink",async detect(d){return d.evaluate(wI)}};var xI=()=>{let g=[],m=document.querySelectorAll("*"),h=0;for(let x of Array.from(m)){if(h++>5e3||g.length>=20)break;if(x.closest("[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye]")||typeof isVisible=="function"&&!isVisible(x))continue;let y=getComputedStyle(x).backgroundImage||"";if(!y||y==="none"||!y.includes("url("))continue;let D=y.match(/url\((['"]?)(.*?)\1\)/);if(!D)continue;let F=D[2];if(!F||F.startsWith("data:")&&F.length<256)continue;let S=x.getBoundingClientRect();if(S.width<32||S.height<32)continue;let w=x.tagName.toLowerCase(),T=x.getAttribute("role")||"",E=w==="a"||w==="button"||T==="button"||T==="link"||x.closest("a,button,[role=button],[role=link]")!==null,_=(x.textContent||"").trim().length>0,C=!!x.getAttribute("aria-label"),R=!!x.getAttribute("aria-labelledby"),L=!!x.getAttribute("title"),N=!!x.querySelector('img[alt]:not([alt=""])');if(x.closest('[aria-hidden="true"]')){let j=x.closest("a[href]");if(!!j&&Array.from(document.querySelectorAll("a[href]")).some(Z=>Z!==j&&Z.href===j.href&&!Z.closest('[aria-hidden="true"]')))continue}if(C||R||L||N||_||!E)continue;let $=x.closest("a,button,[role=button],[role=link]");if($&&$!==x){let j=($.textContent||"").trim(),K=$.getAttribute("aria-label")||$.getAttribute("title")||"",Z=$.getAttribute("aria-labelledby"),Q=!!$.querySelector('img[alt]:not([alt=""])');if(j||K.trim()||Z||Q)continue}let W=F;try{W=new URL(F,location.href).toString();}catch{continue}let G=typeof uniqueSel=="function"?uniqueSel(x):"",q=typeof getNearbyContext=="function"?getNearbyContext(x):{parentTag:w,nearbyHeading:""};g.push({selector:G,attribute:"aria-label",currentValue:"",issueType:"background_image_unlabeled",wcag:"1.1.1",context:`bg: ${W.slice(0,140)} | tag: ${w} | role: ${T||"(none)"} | parent: ${q.parentTag}${q.nearbyHeading?" | heading: "+q.nearbyHeading:""}`,needsAI:true,imageSrc:W,outerHtml:(x.outerHTML||"").slice(0,300)});}return g},Hh={name:"backgroundImages",cap:20,async detect(d){return d.evaluate(xI)}},DI=()=>{let d=[],p=Array.from(document.querySelectorAll("h1")),g=p.filter(m=>{if(m.getAttribute("aria-hidden")==="true"||m.closest('[aria-hidden="true"]')||m.getClientRects().length===0)return false;let h=getComputedStyle(m).visibility;return h==="hidden"||h==="collapse"?false:(m.textContent||"").trim().length>0});if(g.length===0)d.push({selector:"body",attribute:"data-missing-h1",currentValue:"",issueType:"missing_h1",wcag:"1.3.1",context:`Page has ${p.length} <h1> element(s) total but 0 visible+non-empty`,needsAI:false,outerHtml:"<body>"});else if(g.length>1)for(let m=1;m<g.length&&m<5;m++){let h=g[m],x=typeof uniqueSel=="function"?uniqueSel(h):"";d.push({selector:x,attribute:"data-multiple-h1",currentValue:"",issueType:"multiple_h1",wcag:"1.3.1",context:`${g.length} <h1> elements on page. Text: ${JSON.stringify((h.textContent||"").slice(0,80))}`,needsAI:false,outerHtml:(h.outerHTML||"").slice(0,200)});}return d},Vh={name:"h1Presence",async detect(d){return d.evaluate(DI)}},_I=()=>{let p=[],g=document.querySelectorAll("h1, h2, h3, h4, h5, h6, [role=heading]");for(let m of Array.from(g)){if(p.length>=15)break;if(m.closest("[class*=asw-], [class*=userway], [class*=acsb]")||typeof isVisible=="function"&&!isVisible(m)||(m.textContent||"").trim().length>0)continue;let x=m.getAttribute("aria-label");if(x&&x.trim()||m.getAttribute("aria-labelledby")||m.getAttribute("aria-hidden")==="true")continue;let v=typeof uniqueSel=="function"?uniqueSel(m):"";p.push({selector:v,attribute:"aria-hidden",currentValue:"",issueType:"empty_heading",wcag:"1.3.1",context:`Empty heading: ${m.tagName.toLowerCase()}`,needsAI:false,needsReview:true,reviewReason:"Empty heading may be a layout anchor populated by JS after load; hiding it from assistive tech could suppress real content.",fixValue:"true",outerHtml:(m.outerHTML||"").slice(0,200)});}return p},jh={cap:15,name:"emptyHeadings",async detect(d){return d.evaluate(_I)}},AI=()=>{let p=[],g=document.querySelectorAll('a[href^="javascript:"], a[href^="JAVASCRIPT:"]');for(let m of Array.from(g)){if(p.length>=15)break;if(m.closest("[class*=asw-], [class*=userway], [class*=acsb]")||typeof isVisible=="function"&&!isVisible(m))continue;let h=(m.getAttribute("role")||"").toLowerCase();if(h==="button")continue;let x=(m.textContent||"").trim();if(!x)continue;let v=typeof uniqueSel=="function"?uniqueSel(m):"";p.push({selector:v,attribute:"role",currentValue:h||"",issueType:"javascript_link",wcag:"2.1.1",context:`<a href="javascript:..."> text: ${JSON.stringify(x.slice(0,60))}`,needsAI:false,fixValue:"button",outerHtml:(m.outerHTML||"").slice(0,200)});}return p},$h={cap:15,name:"javascriptLinks",async detect(d){return d.evaluate(AI)}};var EI=()=>{let d="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye]",g=[];return document.querySelectorAll("svg").forEach(h=>{if(g.length>=50||h.closest(d)||!isVisible(h)||h.getAttribute("aria-hidden")==="true")return;let v=h.getAttribute("role");if(v==="presentation"||v==="none"||h.closest('[aria-hidden="true"]'))return;let y=h.getAttribute("aria-label")||"",D=h.getAttribute("aria-labelledby")||"",F=h.querySelector("title"),S=F?(F.textContent||"").trim():"";if(y.trim()||D.trim()||S)return;let w=h.getBoundingClientRect(),T=w.width<=16&&w.height<=16;if(w.width<=4||w.height<=4||h.getAttribute("preserveAspectRatio")==="none")return;let E=h.closest('a, button, [role="button"], [role="link"], [onclick]');if(E){if(E.getAttribute("aria-label")?.trim()||E.getAttribute("aria-labelledby")?.trim())return;let K=getAccessibleName(E),Z=E.cloneNode(true);Z.querySelectorAll("svg").forEach(ae=>ae.remove());let Q=(Z.textContent||"").trim().replace(/\s+/g," ");if(K&&Q.length>0)return}else {if(T)return;let K=h.parentElement;if(K&&(K.textContent||"").trim().replace(/\s+/g," ").length>3)return}let _=uniqueSel(h),C=getNearbyContext(E||h),R=E&&E.getAttribute("href")||"",L=(E||h).outerHTML.slice(0,300),N=h.getAttribute("class")||"",$=h.getAttribute("data-icon")||"",W=E||h,G=W&&W!==h&&W.getAttribute("class")||"",q=typeof lookupIconLabel=="function"?lookupIconLabel(String(N),$,"")||lookupIconLabel(String(G),"",""):null,j=E?uniqueSel(E):_;g.push({selector:j,attribute:"aria-label",currentValue:"",issueType:"svg_missing_name",wcag:"1.1.1",context:JSON.stringify({parentTag:(E||h).tagName?(E||h).tagName.toLowerCase():"svg",href:R,nearbyHeading:C.nearbyHeading,parentRole:C.parentRole,svgClasses:N,iconLib:q||void 0,suggestion:"Add aria-label to the parent interactive element or <title> inside SVG"}),needsAI:!q,fixValue:q||void 0,outerHtml:L});}),g},zh={name:"svgNames",cap:50,async detect(d){return d.evaluate(EI)}};var CI=()=>{let g=[],m=["a[href]","button",'input[type="button"]','input[type="submit"]','input[type="reset"]','input[type="checkbox"]','input[type="radio"]','[role="button"]','[role="link"]','[role="checkbox"]','[role="radio"]','[role="menuitem"]','[role="tab"]','[role="switch"]',"[onclick]"].join(","),h=m;function x(D,F){let S=Array.from(D.getClientRects()).filter(_=>_.height>0);if(!S.length)return false;let w=document.createTreeWalker(F,NodeFilter.SHOW_TEXT),T,E=0;for(;(T=w.nextNode())&&E<400;){E++;let _=T.parentElement;if(!_||D.contains(T)||!/[\p{L}\p{N}]{2,}/u.test(T.textContent||"")||_.closest(h))continue;let C=document.createRange();C.selectNodeContents(T);for(let R of Array.from(C.getClientRects()))if(!(R.width===0||R.height===0)){for(let L of S)if(Math.min(L.bottom,R.bottom)-Math.max(L.top,R.top)>Math.min(L.height,R.height)/2)return true}}return false}let v=document.querySelectorAll(m),y=[];for(let D of v){if(typeof isWidget=="function"&&isWidget(D)||typeof isHiddenFromAT=="function"&&isHiddenFromAT(D)||typeof isVisible=="function"&&!isVisible(D)||!D.offsetParent&&D.tagName!=="BODY")continue;let F=D.getBoundingClientRect();F.width===0&&F.height===0||y.push({el:D,rect:F});}for(let{el:D,rect:F}of y){if(g.length>=50)break;let S=F.width,w=F.height;if(S>=24&&w>=24)continue;let T=D.parentElement;if(T&&getComputedStyle(D).display==="inline"){if(Array.from(T.childNodes).some(K=>K.nodeType===3&&(K.textContent||"").trim().length>3))continue;let j=T;for(;j&&j!==document.body&&getComputedStyle(j).display.startsWith("inline");)j=j.parentElement;if(j&&x(D,j))continue}let E=false,_=F.left+F.width/2,C=F.top+F.height/2;for(let q of y){if(q.el===D||q.el.contains(D)||D.contains(q.el))continue;if(q.rect.width<24||q.rect.height<24){let K=q.rect.left+q.rect.width/2,Z=q.rect.top+q.rect.height/2;if(Math.hypot(_-K,C-Z)<24){E=true;break}}else {let K=Math.max(q.rect.left-_,0,_-q.rect.right),Z=Math.max(q.rect.top-C,0,C-q.rect.bottom);if(Math.hypot(K,Z)<12){E=true;break}}}if(!E&&S>=1&&w>=1)continue;let L=Math.max(0,24-w),$=Math.ceil(L/2),W=[];W.push("min-width:24px"),W.push("min-height:24px"),W.push("display:inline-block"),W.push("box-sizing:border-box"),$>0&&W.push("padding-top:"+$+"px"),$>0&&W.push("padding-bottom:"+$+"px");let G=typeof uniqueSel=="function"?uniqueSel(D):D.tagName.toLowerCase();g.push({selector:G,attribute:"style",currentValue:Math.round(S)+"x"+Math.round(w)+"px",issueType:"target_too_small",wcag:"2.5.8",context:`${D.tagName.toLowerCase()} is ${Math.round(S)}x${Math.round(w)}px with adjacent targets \u2014 minimum 24x24px or sufficient spacing required`,needsAI:false,fixValue:W.join(";")+";",outerHtml:D.outerHTML.slice(0,200)});}return g},Gh={name:"targetSize",cap:50,async detect(d){return d.evaluate(CI)}};var SI=()=>{let d="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",g=[],m=/(line-height|letter-spacing|word-spacing)\s*:[^;!]*!important/i,h=document.querySelectorAll('[style*="important" i]');for(let x of Array.from(h)){if(g.length>=30)break;if(x.closest(d))continue;let v=x.getAttribute("style")||"";if(!m.test(v))continue;let y=[];/line-height\s*:[^;!]*!important/i.test(v)&&y.push("line-height"),/letter-spacing\s*:[^;!]*!important/i.test(v)&&y.push("letter-spacing"),/word-spacing\s*:[^;!]*!important/i.test(v)&&y.push("word-spacing");let D=typeof uniqueSel=="function"?uniqueSel(x):"",F=typeof getNearbyContext=="function"?getNearbyContext(x):{parentTag:x.tagName.toLowerCase(),nearbyHeading:""},S=[];S.push("blocked: "+y.join(",")),S.push("tag: "+x.tagName.toLowerCase()),F.nearbyHeading&&S.push("heading: "+F.nearbyHeading),S.push("parent: "+F.parentTag),g.push({selector:D,attribute:"style",currentValue:v.slice(0,200),issueType:"text_spacing_blocked",wcag:"1.4.12",context:S.join(" | "),needsAI:true,outerHtml:(x.outerHTML||"").slice(0,300)});}return g},Wh={name:"textSpacing",cap:30,async detect(d){return d.evaluate(SI)}};var kI=()=>{let d="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",g=[],m=document.querySelectorAll('button, input[type="submit"], input[type="button"], input[type="reset"], [role="button"]');for(let h of m){if(g.length>=50)break;if(h.closest(d)||!isVisible(h))continue;let x=h,v=(x.getAttribute("aria-label")||"").trim(),y=x.getAttribute("aria-labelledby"),D=(x.getAttribute("title")||"").trim(),F=(x.getAttribute("value")||"").trim(),S=(x.textContent||"").trim().replace(/\s+/g," "),w="";y&&(w=typeof __resolveIdRefs=="function"?__resolveIdRefs(y):"");let T=x.querySelector('img[alt]:not([alt=""])'),E=x.querySelector("svg title"),_=x.querySelector("svg[aria-label]");if(!!(v||w||D||F||S||T||E||_))continue;let R=uniqueSel(x),L=getNearbyContext(x),N=x.closest("form"),$=N&&(N.getAttribute("id")||N.getAttribute("name"))||"",W=x.className||"",G=x.querySelector('i, svg, span[class*="icon"]'),q=G&&G.className||"",j=G&&G.getAttribute("data-icon")||"",K=G?(G.textContent||"").trim():"",Z=typeof lookupIconLabel=="function"?lookupIconLabel(String(q),j,K):null,Q=!Z&&typeof lookupIconLabel=="function"?lookupIconLabel(String(W),"",""):null,ae=Z||Q,ne=[];$&&ne.push("form: "+$),L.nearbyHeading&&ne.push("heading: "+L.nearbyHeading),q&&ne.push("icon: "+String(q).slice(0,80)),W&&ne.push("class: "+String(W).slice(0,80)),ne.push("parent: "+L.parentTag),ae&&ne.push("icon-lib: "+ae),g.push({selector:R,attribute:"aria-label",currentValue:"",issueType:"unlabeled_button",wcag:"4.1.2",context:ne.join(" | "),needsAI:!ae,fixValue:ae||void 0,outerHtml:x.outerHTML.slice(0,300)});}return g},Uh={name:"unlabeledButtons",cap:50,async detect(d){return d.evaluate(kI)}};var TI=()=>{let d=new Set(ALWAYS_VAGUE_WORDS),p=new Set(CONTEXT_VAGUE_WORDS),g={};function m(q,j){if(isWidget(q)||!isVisible(q))return;let K=getAccessibleName(q);if(!K)return;let Z=(j?"b:":"a:")+K.toLowerCase().trim();g[Z]=(g[Z]||0)+1;}document.querySelectorAll('button, [role="button"], input[type="button"], input[type="submit"]').forEach(q=>m(q,true)),document.querySelectorAll("a[href]").forEach(q=>m(q,false));let h=isIconClassToken,x=/[\u4e00-\u9fff\u3040-\u30ff\uac00-\ud7af]/;function v(q,j){return x.test(q)?1:j}let y=50,D=[];function F(q){if((q.textContent||"").trim().replace(/\s+/g," ").length>0)return false;let K=q.querySelectorAll("i, span, em");for(let Z of K)if((typeof Z.className=="string"?Z.className:"").split(/\s+/).some(h))return true;return false}function S(q){let j=q.className||"";return typeof j!="string"?false:j.split(/\s+/).some(h)}function w(q,j){if(D.length>=y||isWidget(q)||!isVisible(q))return;let K=getAccessibleName(q);if(!K)return;let Z=K.toLowerCase().trim(),Q=false,ae=K.length>=2&&/^[A-Z][A-Z0-9]+$/.test(K.trim()),ne=!j&&/^[[(]?\d{1,4}[\])]?$/.test(K.trim());if(K.length<v(K,3)&&!ae&&!ne)Q=true;else if(d.has(Z))Q=true;else if(p.has(Z)&&(g[(j?"b:":"a:")+Z]||0)>=2){let ye=(q.getAttribute("aria-label")||"").trim().toLowerCase(),Ue=!!q.getAttribute("aria-labelledby")||!!ye&&ye!==Z,Xe=q.querySelector&&q.querySelector('.sr-only, .visually-hidden, [class*="sr-only"], [class*="visually-hidden"], [class*="screen-reader"]'),He=Xe?(Xe.textContent||"").trim().toLowerCase():"";!Ue&&!(Xe&&He!==Z)&&(Q=true);}else (F(q)||S(q)&&K.length===0)&&(q.getAttribute("aria-label")||q.getAttribute("aria-labelledby")||q.querySelector&&q.querySelector('.sr-only, .visually-hidden, [class*="sr-only"], [class*="visually-hidden"]')||(Q=true));if(!Q)return;let _e=getNearbyContext(q),he=uniqueSel(q),Ie=q.getAttribute("href")||"",me=q.outerHTML.slice(0,300);D.push({selector:he,attribute:"aria-label",currentValue:(q.getAttribute("aria-label")||"").trim(),message:(j?"weak button name: ":"weak link name: ")+(q.getAttribute("aria-label")||q.getAttribute("aria-labelledby")?`"${K}" is too generic for a control \u2014 add distinguishing context`:`text "${K}" is too generic for a control \u2014 add distinguishing context`),issueType:j?"weak_button_name":"weak_link_name",wcag:j?"4.1.2":"2.4.4",context:JSON.stringify({currentText:K,href:Ie,nearbyHeading:_e.nearbyHeading,parentTag:_e.parentTag,parentRole:_e.parentRole,cardText:_e.cardText||"",imgAlt:_e.imgAlt||""}),needsAI:true,outerHtml:me});}document.querySelectorAll('button, [role="button"], input[type="button"], input[type="submit"]').forEach(q=>w(q,true)),document.querySelectorAll("a[href]").forEach(q=>w(q,false));let T=/^(untitled(?:\s+document)?|new\s+page|new\s+document|home|page\s*\d*|document|untitled)$/i,E=/^(iframe|embed|widget|frame|content|untitled)$/i,_=/^(skip|go|→|\->|main|content)$/i,C=new Set(["section","title","heading","headings","page","content","chapter","part","article","document","intro","untitled","test","lorem","tbd","todo","draft","sample","example","welcome","hello","hi","home"]);function R(q){return !!(!q||q.getAttribute("aria-hidden")==="true"||q.closest('[aria-hidden="true"]'))}function L(q,j,K,Z,Q,ae){if(D.length>=y)return;let ne=uniqueSel(q),_e=(q.outerHTML||"").slice(0,300);D.push({selector:ne,attribute:j,currentValue:K,issueType:Z,wcag:Q,context:JSON.stringify(ae),needsAI:true,outerHtml:_e});}let N=document.querySelectorAll("h1,h2,h3,h4,h5,h6");for(let q=0;q<N.length&&!(D.length>=y);q++){let j=N[q];if(!j||isWidget(j)||R(j)||!isVisible(j))continue;let K=getAccessibleName(j);if(!K)continue;let Z=K.toLowerCase().trim(),Q=Z.split(/\s+/).filter(Boolean),ae=false;if((K.length<v(K,3)||Q.length===1&&(d.has(Z)||C.has(Z))||/^page\s*\d+$/i.test(Z)||/^section\s*\d+$/i.test(Z)||/^chapter\s*\d+$/i.test(Z)||/^[^\p{L}\p{N}]+$/u.test(K))&&(ae=true),!ae)continue;let ne=getNearbyContext(j);L(j,"textContent",K,"weak_heading","2.4.6",{currentText:K,tag:j.tagName.toLowerCase(),nearbyHeading:ne.nearbyHeading,parentTag:ne.parentTag,parentRole:ne.parentRole});}let $=document.querySelectorAll("iframe");for(let q=0;q<$.length&&!(D.length>=y);q++){let j=$[q];if(!j||isWidget(j)||R(j))continue;let K=getComputedStyle(j);if(j.getClientRects().length===0||K.visibility==="hidden"||K.visibility==="collapse"||(j.getAttribute("src")||"").trim().toLowerCase().indexOf("javascript:")===0)continue;let Z=(j.getAttribute("title")||"").trim();if(!Z)continue;let Q=Z.toLowerCase(),ae=false;if((Z.length<v(Z,3)||E.test(Q)||d.has(Q))&&(ae=true),!ae)continue;let ne=(j.getAttribute("src")||"").slice(0,120),_e=getNearbyContext(j);L(j,"title",Z,"weak_iframe_title","4.1.2",{currentTitle:Z,src:ne,nearbyHeading:_e.nearbyHeading,parentTag:_e.parentTag});}if(D.length<y){let q=document.querySelector("head > title, title"),j=(document.title||"").trim();if(q&&j){let K=j.toLowerCase(),Z=false;(j.length<v(j,5)||T.test(K)||/^untitled/i.test(j))&&(Z=true),Z&&D.push({selector:"title",attribute:"textContent",currentValue:j,issueType:"weak_page_title",wcag:"2.4.2",context:JSON.stringify({currentTitle:j,hostname:typeof location<"u"&&location&&location.hostname||"",pathname:typeof location<"u"&&location&&location.pathname||""}),needsAI:true,outerHtml:(q.outerHTML||"").slice(0,300)});}}let W=document.querySelectorAll("svg");for(let q=0;q<W.length&&!(D.length>=y);q++){let j=W[q];if(!j||isWidget(j)||R(j)||j.getAttribute("role")==="presentation"||j.getAttribute("role")==="none"||!isVisible(j))continue;let K=j.querySelector("title"),Z=K?(K.textContent||"").trim():"",Q=(j.getAttribute("aria-label")||"").trim(),ae=Q||Z;if(!ae)continue;let ne=ae.toLowerCase(),_e=false;if((ae.length<v(ae,3)||d.has(ne)||/^(icon|svg|image|graphic|logo)$/i.test(ae))&&(_e=true),!_e)continue;let he=j.closest('a, button, [role="button"], [role="link"]'),Ie=getNearbyContext(j);L(j,Q?"aria-label":"title",ae,"weak_svg_name","1.1.1",{currentName:ae,svgClasses:j.getAttribute("class")||"",parentTag:he?he.tagName.toLowerCase():Ie.parentTag,parentHref:he&&he.getAttribute("href")||"",nearbyHeading:Ie.nearbyHeading});}let G=document.querySelectorAll('a[href="#main"], a[href="#main-content"], a[href="#content"], a[href="#skip"], a[href="#maincontent"], a.skip-link, a.skip-nav, a.skip-to-content, a.skiplink, a.skip-navigation, [class*="skip-link"], [class*="skip-nav"]');for(let q=0;q<G.length&&!(D.length>=y);q++){let j=G[q];if(!j||isWidget(j)||R(j))continue;let K=getAccessibleName(j);if(!K)continue;let Z=K.toLowerCase().trim(),Q=false;if((K.length<v(K,4)||_.test(Z)||Z==="skip"||Z==="skip link"||Z==="jump")&&(Q=true),!Q)continue;let ae=j.getAttribute("href")||"";D.push({selector:uniqueSel(j),attribute:"textContent",currentValue:K,issueType:"weak_skip_link",wcag:"2.4.1",context:JSON.stringify({currentText:K,href:ae}),needsAI:false,fixValue:"Skip to main content",outerHtml:(j.outerHTML||"").slice(0,300)});}return D},Xh={name:"weakNames",cap:50,async detect(d){return d.evaluate(TI)}};var FI=()=>{let p=[],g=document.querySelector('meta[name="viewport"]');if(g){let h=(g.getAttribute("content")||"").trim(),x=h.toLowerCase(),v=false,y=[];(x.indexOf("user-scalable=no")>=0||x.indexOf("user-scalable=0")>=0)&&(v=true,y.push("user-scalable=no blocks pinch-zoom"));let D=x.match(/maximum-scale\s*=\s*([\d.]+)/);D&&parseFloat(D[1])<2&&(v=true,y.push("maximum-scale="+D[1]+" (<2)")),v&&p.push({selector:'meta[name="viewport"]',attribute:"content",currentValue:h,issueType:"zoom_restriction",wcag:"1.4.4",context:"viewport blocks zoom: "+y.join(" | "),needsAI:false,fixValue:"width=device-width, initial-scale=1"});}let m=[{el:document.documentElement,selector:"html"},{el:document.body,selector:"body"}];for(let h=0;h<m.length&&!(p.length>=5);h++){let x=m[h];if(x.el)try{let y=(getComputedStyle(x.el).getPropertyValue("touch-action")||"").trim().toLowerCase();(y==="none"||y==="pinch-zoom")&&p.push({selector:x.selector,attribute:"style",currentValue:"touch-action: "+y,issueType:"zoom_restriction",wcag:"1.4.4",context:"CSS touch-action: "+y+" on <"+x.selector+"> prevents pinch-zoom",needsAI:!1,fixValue:"touch-action: manipulation !important;"});}catch{}}return p},Yh={name:"zoomUnlock",cap:5,async detect(d){return d.evaluate(FI)}};var RI=()=>{let d=[],p=document.querySelectorAll('main *, [role="main"] *, body > div *'),g=new Set,m=Math.min(p.length,200);for(let h=0;h<m;h++){let x=p[h];if(g.has(x)||!x.offsetParent)continue;g.add(x);let v=getComputedStyle(x),y=parseInt(v.order||"0",10),D=v.position;if(y>=3){let F=x.getBoundingClientRect();if(F.width>0&&F.height>0){let S=(x.textContent?.trim().length||0)>10,w=!!x.querySelector("a, button, input, select, textarea");(S||w)&&d.push({selector:typeof uniqueSel=="function"?uniqueSel(x):x.tagName.toLowerCase(),attribute:"data-sequence-review",currentValue:`CSS order: ${y}`,issueType:"meaningful_sequence",wcag:"1.3.2",context:`Element uses CSS order:${y} \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(D==="absolute"){if(!!!x.querySelector("a, button, input, select, textarea"))continue;let S=x.parentElement;if(!S||S.children.length<=2)continue;let w=x.getBoundingClientRect(),T=S.getBoundingClientRect();(w.top<T.top-100||w.left<T.left-300)&&d.push({selector:typeof uniqueSel=="function"?uniqueSel(x):x.tagName.toLowerCase(),attribute:"data-sequence-review",currentValue:`position: ${D}, displaced ${Math.round(Math.abs(w.top-T.top))}px`,issueType:"meaningful_sequence",wcag:"1.3.2",context:"Interactive content is absolutely positioned far from its DOM location. Screen readers and keyboard users will encounter it in a different order than visual users.",needsAI:true});}}return d},Kh={name:"meaningfulSequence",async detect(d){return d.evaluate(RI)}};var Jh={name:"sensoryCharacteristics",async detect(d){let p=await d.evaluate(()=>{let m=[],h=document.querySelectorAll('p, li, td, label, span, div, a, button, h1, h2, h3, h4, h5, h6, figcaption, [role="alert"], [role="status"]'),x=Math.min(h.length,300);for(let v=0;v<x;v++){let y=h[v];if(!y.offsetParent||y.children.length>3)continue;let D=y.textContent?.trim()||"";D.length<15||D.length>300||/click|tap|press|select|choose|find|look|see|drag|scroll|hover|go to|navigate/i.test(D)&&m.push({text:D,selector:typeof uniqueSel=="function"?uniqueSel(y):y.tagName.toLowerCase()});}return m.slice(0,20)});if(p.length===0)return [];let g=[];for(let{text:m,selector:h}of p){m.toLowerCase();let v=/\b(round|square|circular|triangular|arrow-shaped)\b.*\b(button|icon|element|thing)\b/i.test(m)&&!/\b(submit|cancel|close|menu|search|delete|edit|save|back|next|previous|home)\b/i.test(m),y=/\b(on the|to the|in the)\s+(left|right|top|bottom|upper|lower|above|below|sidebar)\b/i.test(m)&&!/\b(navigation|menu|header|footer|sidebar menu|breadcrumb)\b/i.test(m)&&/\b(click|tap|press|select|find)\b/i.test(m),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(m)&&!/\b(submit|cancel|close|delete|save|success|error|warning|danger)\b/i.test(m),F=/\b(large|small|big|tiny|narrow|wide)\s+(button|link|icon|box|area)\b/i.test(m)&&/\b(click|tap|press|select|find)\b/i.test(m);if(v||y||D||F){let S=v?"shape":y?"position":D?"color":"size";g.push({selector:h,attribute:"data-sensory-review",currentValue:m.slice(0,100),issueType:"sensory_characteristic",wcag:"1.3.3",context:`Instruction relies on ${S} alone: "${m.slice(0,80)}". Provide a non-sensory way to identify the referenced element (e.g., by name, label, or function).`,needsAI:true});}}return g}};var II=()=>{let d=[];for(let p of document.styleSheets)try{for(let g of p.cssRules)if(g instanceof CSSMediaRule){let m=g.conditionText||g.media?.mediaText||"";if(/orientation\s*:\s*(portrait|landscape)/i.test(m))for(let h of g.cssRules){let x=h.cssText||"";/display\s*:\s*none|visibility\s*:\s*hidden|transform\s*:\s*rotate/i.test(x)&&d.push({selector:"html",attribute:"data-orientation-lock",currentValue:m,issueType:"orientation_lock",wcag:"1.3.4",context:`CSS media query "${m}" hides or rotates content. Content must not be restricted to a single orientation.`,needsAI:!1,fixValue:"Remove orientation-dependent display:none/visibility:hidden rules"});}}}catch{}return d},Zh={name:"orientation",async detect(d){return d.evaluate(II)}};var LI=()=>{let d=[],p=document.querySelectorAll("img");for(let g of p){if(!g.offsetParent||g.width<50||g.height<20||g.complete&&g.naturalWidth===0)continue;let m=g.src||g.getAttribute("data-src")||"",h=m.indexOf(","),x=(m.toLowerCase().startsWith("data:")&&h!==-1?m.slice(0,h):m).toLowerCase(),v=g.getAttribute("alt")||"",y=g.getAttribute("role")||"";if(g.getAttribute("aria-hidden")==="true"||!!g.closest('[aria-hidden="true"]')||y==="presentation"||y==="none"||g.hasAttribute("alt")&&v.trim()==="")continue;let F=g.width>200&&g.height<80&&g.height>15,S=/banner|header|logo-text|title|heading|cta|promo|offer|button.*\.(?:png|jpg|gif|webp)/i.test(x);if(!(S||F)||/(?:^|\/)(?:img|dsc|dscn|dcim|pict)[-_]?\d|photo|gallery/i.test(x)&&!S)continue;let T=g.closest("a[href]"),E=(()=>{if(!T)return false;let G=T.getAttribute("href")||"";if(G==="/"||G==="")return true;try{let q=new URL(T.href,location.href);return q.origin!==location.origin?!1:!!(q.pathname.replace(/\/+$/,"")===""||/^\/(?:index|home|default)(?:\.\w+)?$/i.test(q.pathname)||/^\/[a-z]{2}(?:-[a-z]{2})?(?:\.\w+)?$/i.test(q.pathname))}catch{return false}})();if(E&&(T.textContent||"").trim().length===0)continue;let C="";if(T&&!E&&(T.textContent||"").trim().length===0)try{let G=new URL(T.href,location.href),q=v.trim().split(/\s+/).filter(Boolean);if(G.origin!==location.origin&&/^https?:$/.test(G.protocol)&&q.length>0&&q.length<=4&&v.trim().length<=40){let j=ne=>ne.toLowerCase().normalize("NFKD").replace(/[^\p{L}\p{N}]/gu,""),K=j(v),Z=G.hostname.toLowerCase().split(".").filter(ne=>ne&&ne!=="www"),Q=(Z.length>1?Z.slice(0,-1):Z).map(j).filter(Boolean);C=K.length>=3&&(K===j(Z.join(""))||K===Q.join("")||Q.some(ne=>K===ne||ne.length>=5&&K.startsWith(ne)))?"exempt":"review";}}catch{}let R=!!g.closest('header, [role="banner"], footer, [role="contentinfo"]'),L=g.height>0&&g.height<=120,N=R&&L,$=/logo|brand|wordmark|hero|banner-?(?:img|image)?|footer|marketing|promo|cover|screenshot|dashboard/i,W=N||$.test(x)||$.test(g.className)||$.test(g.id||"");x.includes("icon")||x.includes("avatar")||x.includes("emoji")||d.push({selector:typeof uniqueSel=="function"?uniqueSel(g):"img",attribute:"data-image-of-text",currentValue:x.split("/").pop()?.slice(0,60)||"",issueType:"image_of_text",wcag:"1.4.5",context:`Image may contain text (${g.width}x${g.height}px, alt="${v.slice(0,40)}"). Use real text with CSS styling instead.`,needsAI:true,imageSrc:g.src,...W||C?{needsReview:true,reviewReason:N?"small graphic in the header/footer landmark \u2014 likely a logo, wordmark, or brand signature, which are exempt under WCAG 1.4.5 (logotypes)":C==="exempt"?"image is the only content of a link to another site and its alt names that site \u2014 likely the partner/sponsor logo, exempt under WCAG 1.4.5 (logotypes); confirm the image holds only the brand name":C==="review"?"image is the only content of a link to another site and its alt is a short name \u2014 likely a partner/sponsor logo, exempt under WCAG 1.4.5 (logotypes)":"filename suggests marketing/brand imagery; logos and brand collateral are exempt under WCAG 1.4.5"}:{}});}return d},Qh={name:"imagesOfText",async detect(d){return d.evaluate(LI)}};var eg={name:"reflow",async detect(d){let p=d;if(!p.setViewport)return [];let g=p.viewport?.()??{width:1280,height:720},m=g.width??1280,h=g.height??720;try{return await p.setViewport({width:320,height:h}),await new Promise(v=>setTimeout(v,500)),await d.evaluate(v=>{let y=[],D=document.querySelectorAll("body *"),F=Math.min(D.length,500);for(let S=0;S<F;S++){let w=D[S];if(!w.offsetParent)continue;let T=w.tagName.toLowerCase();if(T==="script"||T==="style"||T==="noscript")continue;let E=w.getBoundingClientRect();E.right>v+5&&E.width>v*1.1&&y.push({selector:typeof uniqueSel=="function"?uniqueSel(w):T,attribute:"style",currentValue:`${Math.round(E.width)}px wide at ${v}px viewport`,issueType:"reflow_overflow",wcag:"1.4.10",context:`Element is ${Math.round(E.width)}px wide and overflows the ${v}px viewport by ${Math.round(E.right-v)}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>v+10&&y.push({selector:"html",attribute:"data-reflow",currentValue:`scrollWidth ${document.documentElement.scrollWidth}px at ${v}px viewport`,issueType:"reflow_overflow",wcag:"1.4.10",context:`Page has horizontal scrollbar at ${v}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"}),y},320)}finally{await p.setViewport({width:m,height:h}).catch(()=>{});}}};var PI=()=>{let d=[],p=document.querySelectorAll("video");for(let m of p){if(m.autoplay&&!m.muted&&d.push({selector:typeof uniqueSel=="function"?uniqueSel(m):"video",attribute:"muted",currentValue:"autoplay without muted",issueType:"unsafe_autoplay",wcag:"1.4.2",context:"Video autoplays with sound. Either mute by default, provide a mechanism to pause, or limit to 3 seconds.",needsAI:false,fixValue:"true"}),!(m.offsetParent!==null&&getComputedStyle(m).display!=="none"))continue;let x=m.getBoundingClientRect();if(x.width===0&&x.height===0||m.error)continue;let v=/mute|unmute|sound|volume|audio|play|pause/i,y=!!m.parentElement?.querySelector('button, [role="button"]')||!!m.id&&!!document.querySelector('[aria-controls~="'+m.id.replace(/"/g,"")+'"]');for(let E=m.parentElement?.parentElement||null,_=0;E&&!y&&_<3;E=E.parentElement,_++)y=Array.from(E.querySelectorAll('button, [role="button"]')).some(C=>v.test((C.getAttribute("aria-label")||"")+" "+(C.getAttribute("title")||"")+" "+(C.textContent||"")));if((m.muted||m.hasAttribute("muted"))&&(m.loop||m.hasAttribute("loop"))&&!m.hasAttribute("controls")&&!y)continue;let D=m.querySelectorAll("track"),F=Array.from(D).find(E=>E.kind==="captions"||E.kind==="subtitles"),S=Array.from(D).find(E=>E.kind==="descriptions");m.src||m.querySelector("source")?.src||"";let T=typeof uniqueSel=="function"?uniqueSel(m):"video";F||d.push({selector:T,attribute:"data-captions-missing",currentValue:"",issueType:"missing_captions",wcag:"1.2.2",context:'Video element has no <track kind="captions">. Provide synchronized captions for all prerecorded audio content. Add: <track kind="captions" src="captions.vtt" srclang="en" label="English">',needsAI:false,fixValue:'Add <track kind="captions" src="captions.vtt" srclang="en" label="English" default>',needsReview:true,reviewReason:"cannot verify an audio track in-page \u2014 confirm the video has speech content before adding captions (silent videos need none)"}),S||d.push({selector:T,attribute:"data-audio-description",currentValue:"",issueType:"missing_audio_description",wcag:"1.2.5",context:"Video has no audio description track. For prerecorded video with meaningful visual content not described in the audio, provide an audio description track or a text transcript.",needsAI:true,needsReview:true,reviewReason:"needs a human to judge whether the video shows information its audio does not describe"});}let g=document.querySelectorAll("audio");for(let m of g){let h=typeof uniqueSel=="function"?uniqueSel(m):"audio";m.closest("figure, div, section")?.querySelector('a[href*="transcript"], [class*="transcript"]')||d.push({selector:h,attribute:"data-transcript-missing",currentValue:"",issueType:"missing_transcript",wcag:"1.2.1",context:"Audio element has no associated transcript. Provide a text transcript for all prerecorded audio-only content.",needsAI:true}),m.autoplay&&!m.muted&&d.push({selector:h,attribute:"muted",currentValue:"autoplay without muted",issueType:"unsafe_autoplay",wcag:"1.4.2",context:"Audio autoplays with sound. Provide a way to pause/stop/mute, or limit to 3 seconds.",needsAI:false,fixValue:"true"});}return d},tg={name:"mediaAlternatives",cap:50,async detect(d){return (await d.evaluate(PI)).slice(0,50)}};var MI=()=>{let d=[],p=document.querySelector('meta[http-equiv="refresh"]');if(p){let R=p.getAttribute("content")||"",L=parseInt(R,10);!isNaN(L)&&L>0&&L<72e3&&d.push({selector:`meta[http-equiv="refresh"][content*="${R.trim().slice(0,20)}"]`,attribute:"data-auto-refresh",currentValue:R,issueType:"auto_refresh",wcag:"2.2.1",context:`Page auto-refreshes after ${L}s. Users must be able to turn off, adjust, or extend time limits (WCAG 2.2.1).`,needsAI:false,manualFix:true});}let g=document.querySelectorAll("[accesskey]");for(let R of g){let L=R.getAttribute("accesskey")||"";if(L.length===1){let N=typeof uniqueSel=="function"?uniqueSel(R):R.tagName.toLowerCase();d.push({selector:N,attribute:"accesskey",currentValue:L,issueType:"character_key_shortcut",wcag:"2.1.4",context:`Single character accesskey "${L}". Must allow users to remap or disable single-character shortcuts. Consider using modifier key combinations instead.`,needsAI:false,fixValue:"Provide a mechanism to remap or turn off the shortcut, or use modifier keys"});}}let m=document.querySelectorAll("select");for(let R of m){let L=R.hasAttribute("onchange"),N=R.getAttribute("onchange")||"";if(L&&/submit|location|href|navigate|window\./i.test(N)){let $=typeof uniqueSel=="function"?uniqueSel(R):"select";d.push({selector:$,attribute:"onchange",currentValue:N.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 h=document.querySelectorAll("[ontouchstart], [ontouchmove], [ongesturestart], [ongesturechange]");for(let R of h)if(!(R.hasAttribute("onclick")||R.hasAttribute("onkeydown")||R.hasAttribute("onkeyup"))){let N=typeof uniqueSel=="function"?uniqueSel(R):R.tagName.toLowerCase();d.push({selector:N,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 x=document.querySelectorAll("[onmousedown]");for(let R of x){let L=R.hasAttribute("onmouseup"),N=R.tagName.toLowerCase();if(!L&&N!=="a"&&N!=="button"&&N!=="input"){let $=typeof uniqueSel=="function"?uniqueSel(R):N;d.push({selector:$,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 v=document.querySelectorAll("script:not([src])");for(let R of v){let L=R.textContent||"";if(/devicemotion|deviceorientation|accelerometer|gyroscope/i.test(L)){d.push({selector:"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 y=document.querySelectorAll("form"),D='input:not([type="hidden"]):not([type="submit"]):not([type="button"]):not([type="reset"]):not([type="image"]), select, textarea',F=/\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,S=/card|payment/i,w=/\b(?:pay|buy|purchase|donate|subscribe and pay|place (?:your |my )?order|complete (?:order|purchase|payment)|confirm (?:order|purchase|payment)|check ?out)\b/i,T=/\b(?:delete|remove|close|deactivate|cancel|terminate)\b[^.]{0,30}\b(?:account|profile|subscription|membership|data|records?)\b/i,E=/\b(?:e-?)?sign\b(?![\s\u00a0-]*(?:up|in|on|out)\b)|\bagree and (?:submit|continue|sign)\b/i,_=/\b(?:save|update|change)\b/i,C=/e-?mail|name|phone|tel\b|zip|postal|company|organi[sz]ation|country/i;for(let R of y){let L=Array.from(R.querySelectorAll(D)),N=Me=>[Me.getAttribute("name"),Me.id,Me.getAttribute("autocomplete"),Me.getAttribute("placeholder"),Me.getAttribute("aria-label")].join(" "),$=Array.from(R.querySelectorAll('button, input[type="submit"], input[type="image"]')).filter(Me=>Me.tagName!=="BUTTON"||!Me.getAttribute("type")||(Me.getAttribute("type")||"").toLowerCase()==="submit").map(Me=>(Me.getAttribute("value")||"")+" "+(Me.textContent||"")+" "+(Me.getAttribute("aria-label")||"")).join(" . "),W=L.some(Me=>F.test(N(Me)))||Array.from(R.querySelectorAll("iframe")).some(Me=>S.test((Me.getAttribute("title")||"")+" "+(Me.getAttribute("name")||""))),G=L.some(Me=>/signature/i.test(N(Me))),q=W||w.test($),j=T.test($),K=G||E.test($),Z=L.length>0&&L.some(Me=>(Me.getAttribute("type")||"").toLowerCase()==="email"||/e-?mail/i.test(N(Me)))&&L.every(Me=>{let Je=Me.tagName.toLowerCase()==="input"?(Me.getAttribute("type")||"text").toLowerCase():Me.tagName.toLowerCase();return Je==="email"||Je==="checkbox"||Je==="tel"?true:Je==="text"||Je==="search"?C.test(N(Me)+" "+(Me.closest("label")?.textContent||"")):false}),Q=(R.textContent||"").toLowerCase(),ae=/payment|credit card|billing|purchase|\border\b|checkout|bank|account number/i.test(Q),ne=/\bagree|terms|contract|binding|signature|consent|waiver/i.test(Q),_e=/delete.*account|remove.*data|cancel.*account/i.test(Q),he=q||j||K,Ie=Z&&(_.test($)||_e),me=!he&&(!Z&&(ae||ne||_e)||Ie);if(!he&&!me)continue;let ye=!!R.querySelector('[type="checkbox"][required], [class*="confirm"], [id*="confirm"], [name*="confirm"]'),Ue=!!R.querySelector('[class*="review"], [class*="summary"], [id*="review"]');if(ye||Ue)continue;let Xe=typeof uniqueSel=="function"?uniqueSel(R):"form",He=he?q?"financial":j?"data-deletion":"legal":Ie?_e?"data-deletion":"data-modification":ae?"financial":ne?"legal":"data-deletion";d.push({selector:Xe,attribute:"data-error-prevention",currentValue:He,issueType:"error_prevention_missing",wcag:"3.3.4",context:`${He.charAt(0).toUpperCase()+He.slice(1)} form lacks a confirmation/review step. For ${He} transactions, provide: (1) a review step before submission, (2) ability to check/correct input, or (3) ability to reverse the submission.`,needsAI:true,...me?{needsReview:true,reviewReason:Ie&&_e?"form text is about deleting an account or data and its submit is generic \u2014 confirm whether submitting it deletes stored user data":Ie?"form saves contact/account details \u2014 confirm whether submitting it changes stored user data that cannot be reviewed or reversed":`form text mentions ${He} topics but its controls show no ${He} transaction (no payment fields, pay/order/delete submit, or signature) \u2014 confirm whether submitting it commits the user`}:{}});}return d},rg={name:"timingAndInput",async detect(d){return d.evaluate(MI)}};var OI=()=>{let d=[],p=C=>C.replace(/\/$/,"").replace(/\.html?$/,""),g=p(location.pathname),m=new Set;for(let C of Array.from(document.querySelectorAll("a[href]"))){let R;try{R=new URL(C.getAttribute("href")||"",location.href);}catch{continue}R.origin!==location.origin||p(R.pathname)===g||/\.(pdf|zip|docx?|xlsx?|pptx?|png|jpe?g|gif|svg|mp4|mp3)$/i.test(R.pathname)||m.add(p(R.pathname));}let h=5,x=!!document.querySelector('nav, [role="navigation"]')||m.size>=h,y=Array.from(document.querySelectorAll('button, a[href], [role="button"], [role="link"], [role="searchbox"], [role="combobox"]')).some(C=>{let R=C.cloneNode(true);return R.querySelectorAll("kbd").forEach(N=>N.remove()),[C.getAttribute("aria-label")||"",C.getAttribute("title")||"",R.textContent||""].some(N=>/^\s*(quick\s+|site\s+)?search(\s*(\u2026|\.\.\.)|\s+(docs|documentation|the site|this site))?\s*$/i.test(N))})||!!document.querySelector('input[type="search"], [role="search"], search, form[action*="search"], input[name="s"], input[name="q"], input[placeholder*="search" i]'),D=!!document.querySelector('a[href*="sitemap"], a[href*="site-map"]'),F=!!document.querySelector('[class*="breadcrumb" i], [role="breadcrumb"], nav[aria-label*="breadcrumb" i], ol[class*="breadcrumb" i]'),S=!!document.querySelector('[class*="table-of-contents" i], [class*="toc" i], [id*="toc"]'),w=[x,y,D,F,S].filter(Boolean).length;if(w<2&&document.querySelectorAll("a[href]").length>20){let C=[];y||C.push("search"),D||C.push("sitemap link"),F||C.push("breadcrumbs");let R=m.size<h;d.push({selector:"body",attribute:"data-multiple-ways",currentValue:`${w} navigation method(s)`,issueType:"insufficient_navigation",wcag:"2.4.5",context:`Page has ${w} way(s) to navigate and links to ${m.size} other page(s) on this site. WCAG requires multiple ways to locate pages in a set (e.g., navigation + search, or navigation + sitemap). Consider adding: ${C.join(", ")}.`,needsAI:false,fixValue:`Add ${C[0]||"additional navigation method"}`,...R?{needsReview:true,reviewReason:`links to only ${m.size} other page(s) on this site \u2014 may be a single-page site, which 2.4.5 (a set of pages) does not cover`}:{}});}let T=document.querySelectorAll('nav, [role="navigation"]');for(let C of T){if(!C.offsetParent||C.closest('footer, aside, [role="contentinfo"], [role="complementary"]')||C.parentElement?.closest('nav, [role="navigation"]'))continue;let R=C.getBoundingClientRect();if(R.top<=window.innerHeight)continue;let L=typeof uniqueSel=="function"?uniqueSel(C):"nav";d.push({selector:L,attribute:"data-nav-position",currentValue:`top: ${Math.round(R.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 E=document.querySelectorAll('[class*="blink" i], [class*="flash" i], [class*="strobe" i], blink, marquee');for(let C of E){if(!C.offsetParent)continue;let R=C.getBoundingClientRect();if(R.width<1||R.height<1||!(C.textContent||"").trim()&&!C.querySelector("img, svg, video, canvas, picture")&&getComputedStyle(C).backgroundImage==="none")continue;let L=typeof uniqueSel=="function"?uniqueSel(C):C.tagName.toLowerCase();d.push({selector:L,attribute:"data-flashing",currentValue:C.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 _=document.querySelectorAll('img[src*=".gif"]');for(let C of _){if(!C.offsetParent||C.width<25||C.height<25)continue;let R=C.getBoundingClientRect();if(R.width>100&&R.height>100){let L=typeof uniqueSel=="function"?uniqueSel(C):"img";d.push({selector:L,attribute:"data-animated-gif",currentValue:(C.src||"").split("/").pop()?.slice(0,40)||"",issueType:"animated_gif_no_pause",wcag:"2.2.2",context:"Animated GIF detected. If this GIF is animated and loops continuously, provide a pause mechanism. Also verify it does not flash more than 3 times per second (WCAG 2.3.1).",needsAI:true});}}return d},ag={name:"navigationAndWayfinding",async detect(d){return d.evaluate(OI)}};var ng={name:"flashDetection",async detect(d){let p=[];if(!d.screenshot)return p;let m=await d.evaluate(()=>{let S=document.documentElement.style.getPropertyValue("--wa-animations-frozen")==="1";if(S){let w=document.querySelectorAll("*");for(let T of w)T.style.removeProperty("animation-play-state"),T.style.removeProperty("transition");}return S}),h=8,x=120,v=9,y=3,D=[];for(let F=0;F<h;F++){let S=await d.evaluate(w=>{let T=window.innerWidth,E=window.innerHeight,_=3,C=3,R=[];for(let L=0;L<C;L++)for(let N=0;N<_;N++){let $=Math.floor((N+.5)*(T/_)),W=Math.floor((L+.5)*(E/C)),G=document.elementFromPoint($,W);if(!G){R.push(0);continue}let j=getComputedStyle(G).backgroundColor||"rgba(0,0,0,0)",K=typeof parseCssColor=="function"?parseCssColor(j):null;if(!K){R.push(0);continue}let Z=.2126*K[0]+.7152*K[1]+.0722*K[2];R.push(Z);}return R},v);D.push(S),F<h-1&&await new Promise(w=>setTimeout(w,x));}m&&await d.evaluate(()=>{let F=document.querySelectorAll("*");for(let S of F)S.style.setProperty("animation-play-state","paused","important"),S.style.setProperty("transition","none","important");});for(let F=0;F<v;F++){let S=0,w=D[0][F],T=null;for(let C=1;C<h;C++){let R=D[C][F];if(Math.abs(R-w)>25){let N=R>w?"up":"down";T&&N!==T&&S++,T=N;}w=R;}let E=h*x/1e3,_=S/E;if(_>=y){let C=F%3,R=Math.floor(F/3);p.push({selector:"body",attribute:"data-flash-detected",currentValue:`${_.toFixed(1)} flashes/sec in region (${C},${R})`,issueType:"flashing_content",wcag:"2.3.1",context:`Content flashes ${_.toFixed(1)} times/second in screen region (row ${R}, col ${C}). 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 p}};var ig={name:"reducedMotion",async detect(d){let p=[],g=await d.evaluate(()=>{let m=false,h=false;for(let v of document.styleSheets)try{for(let y of v.cssRules){let D=y.cssText||"";/animation|transition|@keyframes/i.test(D)&&!/prefers-reduced-motion/.test(D)&&(m=!0),y instanceof CSSMediaRule&&/prefers-reduced-motion/i.test(y.conditionText||y.media?.mediaText||"")&&(h=!0);}}catch{}let x=document.querySelectorAll('[class*="animate"], [class*="slide"], [class*="fade"], [class*="bounce"], [class*="spin"], [class*="pulse"]');return x.length>0&&(m=true),{hasAnimations:m,hasReducedMotionQuery:h,animatedCount:x.length}});return g.hasAnimations&&!g.hasReducedMotionQuery&&p.push({selector:"html",attribute:"data-reduced-motion",currentValue:`${g.animatedCount} animated elements, no @media (prefers-reduced-motion) query`,issueType:"motion_without_reduced_motion",wcag:"2.3.3",context:'Page has animations/transitions but no @media (prefers-reduced-motion: reduce) query. Users who set "Reduce motion" in their OS settings will still see all animations. Add: @media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } }',needsAI:false,fixValue:"@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } }"}),p}};var ZI=[Xh,Ih,vh,zh,eh,Q1,Eh,wh,bh,yh,Gh,sh,Mh,fh,Uh,Rh,ph,ch,Bh,th,Fh,xh,dh,uh,Sh,gh,Th,Dh,_h,Yh,ah,Ch,qh,nh,ih,Ah,Oh,Wh,Ph,oh,Lh,lh,Hh,Vh,jh,$h,rh,kh,Nh,Kh,Jh,Zh,Qh,eg,tg,rg,ag,ng,ig];async function vu(d,p,g,m){let h=p??[];try{let{UNIQUE_SELECTOR_JS:T,IS_VISIBLE_JS:E,ACCESSIBLE_NAME_JS:_,WIDGET_SKIP_JS:C,IS_HIDDEN_FROM_AT_JS:R,IS_TRACKING_PIXEL_JS:L,NEARBY_CONTEXT_JS:N}=await Promise.resolve().then(()=>(hu(),mu)),{ICON_LABELS_JS:$}=await Promise.resolve().then(()=>(sg(),og)),{COLOR_MATH_JS:W}=await Promise.resolve().then(()=>(ug(),lg)),q=`if(typeof __name==='undefined'){var __name=function(t,v){return t};var __defProp=Object.defineProperty;}
381
+ `+[T,E,_,C,R,L,N,$,W].join(`
382
+ `);try{await d.addScriptTag({content:q});}catch{await d.evaluate(`(0,eval)(${JSON.stringify(q)})`);}}catch(T){console.warn("[webability] helper injection failed:",T.message),(g??[]).push("color:kernel-injection-failed");}let x=[];try{let{detectPlatform:T,applyPlatformTemplates:E}=await Promise.resolve().then(()=>(dg(),cg)),_=await T(d);x=await E(d,_);}catch{}let v=await Promise.allSettled(ZI.map(async T=>{try{let E=await T.detect(d);return T.cap&&E.length>=T.cap&&h.push({detector:T.name,cap:T.cap}),E}catch{return []}})),y=[];m?.skipFocusMutating&&(g??[]).push("focus:mutating-detectors-skipped (live-tab scan; focus visibility and focus obscured were not checked)");for(let T of m?.skipFocusMutating?[]:[hh,mh])try{let E=await T.detect(d);T.cap&&E.length>=T.cap&&h.push({detector:T.name,cap:T.cap}),y=y.concat(E);}catch{}let D=[...v.flatMap(T=>T.status==="fulfilled"?T.value:[]),...y],F=[...x,...D],S=eL(F),w=["wp-ada-compliance","webability-widget","webability-a11y","asw-","userway","acsb","audioeye","equallyai"];return S.filter(T=>{let E=T.selector.toLowerCase();return E.trim()?!w.some(_=>E.includes(_)):false})}async function QI(d){try{return await d.evaluate(()=>{let p=getComputedStyle(document.documentElement),g={};for(let D of p)D.startsWith("--")&&/color|bg|background|text|primary|secondary|accent/i.test(D)&&(g[D]=p.getPropertyValue(D).trim());let m={},h={},x=document.querySelectorAll("body *:not(script):not(style):not(noscript)"),v=Math.min(x.length,500);for(let D=0;D<v;D++){let F=getComputedStyle(x[D]);if(F.display==="none"||F.visibility==="hidden")continue;let S=F.backgroundColor,w=F.color;S&&S!=="rgba(0, 0, 0, 0)"&&(m[S]=(m[S]||0)+1),w&&(h[w]=(h[w]||0)+1);}let y=D=>Object.entries(D).sort((F,S)=>S[1]-F[1]).slice(0,8).map(([F,S])=>({color:F,count:S}));return {cssVars:g,topBgColors:y(m),topTextColors:y(h)}})}catch{return {cssVars:{},topBgColors:[],topTextColors:[]}}}function eL(d){let p=new Set;return d.filter(g=>{let m=`${g.selector}::${g.issueType}`;return p.has(m)?false:(p.add(m),true)})}var fg="1.7.0";async function bu(d,p){try{let{AxeBuilder:g}=await import('@axe-core/playwright');return await new g({page:d}).withTags(p).analyze()}catch{return tL(d,p)}}async function tL(d,p){let g=await Promise.resolve().then(()=>LR(mg())),m=g.source??g.default?.source;if(!m)throw new Error("axe-core source unavailable");return await d.addScriptTag({content:m}),await d.evaluate(x=>new Promise((v,y)=>{let D=window;if(!D.axe)return y(new Error("axe-core not loaded"));D.axe.run(document,{runOnly:{type:"tag",values:x},resultTypes:["violations","incomplete"]}).then(v).catch(y);}),p)}function yu(d){let p=[],g=[];for(let m of d)m.confidence==="needs_review"||aL(m)?g.push(m):p.push(rL(m));return {verdicts:p,undecided:g}}function rL(d){if(d.confidence===void 0&&d.reviewReason===void 0)return d;let{confidence:p,reviewReason:g,...m}=d;return m}function aL(d){let p=(d.type||"").toLowerCase(),g=d.wcag||"",m=d.html||"",h=(d.message||"").toLowerCase();if((p==="contrast_insufficient"||p==="color-contrast"||g==="1.4.3"||g==="1.4.11")&&nL(m))return "background uses gradient or image";if(p==="image_of_text"||g==="1.4.5"){let x=hg(m,"src").toLowerCase();x.startsWith("data:")&&(x=x.split(",")[0]);let v=hg(m,"alt").toLowerCase();if(/\b(logo|brand|wordmark|hero|banner|footer|marketing|promo|cover)\b/.test(x))return "brand imagery";if(v.length>0&&/\b(logo|brand|product screenshot|dashboard)\b/.test(v))return "branded imagery"}return (p==="inconsistent_navigation"||h.includes("inconsistent navigation"))&&(/<footer/i.test(m)||/<aside/i.test(m))?"footer/aside nav":""}function nL(d){return /background(-image)?\s*:\s*(?:linear-gradient|radial-gradient|conic-gradient|url\()/i.test(d)}function hg(d,p){let g=new RegExp(`\\b${p}\\s*=\\s*"([^"]*)"`,"i"),m=d.match(g);return m?m[1]:""}var iL=new Set(["bgImage","bgGradient","bgOverlap","elmPartiallyObscured","elmPartiallyObscuring"]),oL="*,*::before,*::after{color:transparent!important;-webkit-text-fill-color:transparent!important;text-shadow:none!important;text-decoration-color:transparent!important;caret-color:transparent!important}";function sL(d){let{selectors:p,maxBoxes:g,maxW:m,maxH:h,maxArea:x}=d,v=document.documentElement.scrollWidth,y=document.documentElement.scrollHeight,D=document.createElement("canvas");D.width=D.height=1;let F=D.getContext("2d",{willReadFrequently:true}),S=R=>{try{F.clearRect(0,0,1,1),F.fillStyle="#000",F.fillStyle=R,F.fillRect(0,0,1,1);let L=F.getImageData(0,0,1,1).data;return [L[0],L[1],L[2],L[3]]}catch{return null}},w={},T=document.querySelectorAll("video,canvas,iframe,embed,object");if(T.length>200){for(let R of p)w[R]=null;return w}let E=Array.from(T).map(R=>R.getBoundingClientRect()),_=window.scrollX,C=window.scrollY;for(let R of p){w[R]=null;let L=null;try{L=document.querySelector(R);}catch{continue}if(!L)continue;let N=getComputedStyle(L);if(N.visibility!=="visible"||N.display==="none"||N.webkitBackgroundClip==="text"||N.backgroundClip==="text")continue;let $=false,W=0;for(let me=L;me;me=me.parentElement){if(++W>64){$=true;break}let ye=getComputedStyle(me);parseFloat(ye.opacity)<1&&($=true),(ye.transform!=="none"||ye.mixBlendMode!=="normal"||ye.filter!=="none")&&($=true);}if($)continue;let G=S(N.color);if(!G||G[3]<255)continue;let q=parseFloat(N.fontSize),j=parseInt(N.fontWeight,10)>=700,K=q>=24||j&&q>=18.66,Z=[],Q=L.getBoundingClientRect();if(Q.height>h*g||Q.width>m*2)continue;let ae=document.createTreeWalker(L,NodeFilter.SHOW_TEXT),ne,_e=0,he=false;for(;!he&&(ne=ae.nextNode());){if(++_e>50){he=true;break}if(ne.parentElement!==L)continue;let me=ne.textContent||"";if(me.length>2e3){he=true;break}if(!me.trim())continue;let ye=document.createRange();ye.selectNodeContents(ne);let Ue=ye.getClientRects();if(Ue.length>g){he=true;break}for(let Xe=0;Xe<Ue.length;Xe++){let He=Ue[Xe];if(!(He.width<2||He.height<2)&&(Z.push({x:Math.round(He.left+_),y:Math.round(He.top+C),w:Math.max(1,Math.round(He.width)),h:Math.max(1,Math.round(He.height))}),Z.length>g)){he=true;break}}}he||Z.length===0||Z.length>g||Z.some(me=>me.w>m||me.h>h||me.w*me.h>x||me.x<0||me.y<0||me.x+me.w>v||me.y+me.h>y)||Z.some(me=>E.some(ye=>me.x<ye.right+_&&me.x+me.w>ye.left+_&&me.y<ye.bottom+C&&me.y+me.h>ye.top+C))||(w[R]={fg:`rgb(${G[0]},${G[1]},${G[2]})`,threshold:K?3:4.5,boxes:Z});}return w}async function lL(d){let{b64:p,fg:g}=d,m=atob(p),h=new Uint8Array(m.length);for(let R=0;R<m.length;R++)h[R]=m.charCodeAt(R);let x=await createImageBitmap(new Blob([h],{type:"image/png"})),v=document.createElement("canvas");v.width=x.width,v.height=x.height;let y=v.getContext("2d",{willReadFrequently:true});y.drawImage(x,0,0);let D=y.getImageData(0,0,v.width,v.height).data,F=R=>{let L=R/255;return L<=.03928?L/12.92:Math.pow((L+.055)/1.055,2.4)},S=(R,L,N)=>.2126*F(R)+.7152*F(L)+.0722*F(N),w=g.match(/\d+/g).map(Number),T=S(w[0],w[1],w[2]),E=Math.max(1,Math.floor(Math.sqrt(v.width*v.height/1500))),_=0,C=0;for(let R=0;R<v.height;R+=E)for(let L=0;L<v.width;L+=E){let N=(R*v.width+L)*4;if(D[N+3]<255)continue;let $=S(D[N],D[N+1],D[N+2]),W=Math.max(T,$),G=Math.min(T,$),q=(W+.05)/(G+.05);q>_&&(_=q),C++;}return C===0?-1:_}var Fo=class extends Error{};function Xn(d,p){let g=p-Date.now();if(g<=0)return Promise.reject(new Fo("pixel pass deadline"));let m,h=new Promise((x,v)=>{m=setTimeout(()=>v(new Fo("pixel pass deadline")),g);});return Promise.race([d,h]).finally(()=>clearTimeout(m))}async function uL(d,p){let g=d.screenshot;if(typeof g!="function"||p.length===0)return [];let m=Array.from(new Set(p)).slice(0,60),h=[],x=false,v=Date.now()+8e3;try{await Xn(d.evaluate("if(typeof globalThis.__name==='undefined'){globalThis.__name=function(t){return t}}"),v);let y=await Xn(d.evaluate(sL,{selectors:m,maxBoxes:3,maxW:1200,maxH:300,maxArea:2e5}),v);await Xn(d.evaluate(F=>{let S=document.createElement("style");S.setAttribute("data-wa-contrast-probe",""),S.textContent=F,document.documentElement.appendChild(S);},oL),v),x=!0;let D=0;for(let F of m){let S=y[F];if(!S)continue;if(Date.now()>v||D+S.boxes.length>120)break;let w=0,T=!0;for(let E of S.boxes){D++;let _=await Xn(g.call(d,{clip:{x:E.x,y:E.y,width:E.w,height:E.h},fullPage:!0,type:"png",animations:"disabled"}),v),C=typeof Buffer<"u"?Buffer.from(_).toString("base64"):"",R=await Xn(d.evaluate(lL,{b64:C,fg:S.fg}),v);if(R<0){T=!1;break}R>w&&(w=R);}T&&h.push({selector:F,fail:w<S.threshold*.97,bestRatio:w,threshold:S.threshold,fg:S.fg});}}catch(y){process.env.WA_DEBUG_PIXELS&&console.error("pixel judge failed",y);}finally{if(x)try{await Promise.race([d.evaluate(()=>document.querySelectorAll("style[data-wa-contrast-probe]").forEach(y=>y.remove())),new Promise(y=>setTimeout(y,1e3))]);}catch{}}return h}function cL(d,p){let{confidence:g,reviewReason:m,...h}=d;return {...h,id:d.id.replace("axe-incomplete-","axe-"),impact:"serious",message:`contrast: ${p.fg} text on its rendered background is at best ${p.bestRatio.toFixed(2)}:1 (measured from pixels, every background pixel behind the text fails), needs ${p.threshold}:1`}}async function gg(d,p,g){let m=p.filter(D=>D.wcag!=="1.4.3"||!D.selector?false:D.source==="axe-core"?iL.has(g.get(D.id)??""):D.type==="contrast_insufficient"&&/gradient or image/.test(D.reviewReason??""));if(m.length===0)return [];let h=await uL(d,m.map(D=>D.selector));process.env.WA_DEBUG_PIXELS&&console.error(`pixel judge: ${m.length} candidates, ${h.length} measured, ${h.filter(D=>D.fail).length} fail`);let x=new Map(h.filter(D=>D.fail).map(D=>[D.selector,D])),v=[],y=new Set;for(let D of m){let F=x.get(D.selector);!F||y.has(D.selector)||(y.add(D.selector),v.push(cL(D,F)));}return v}async function dL(d){let p=_=>({verdict:"drop",why:_}),g=null;try{g=document.querySelector(d.selector);}catch{return p("bad selector")}if(!g||g.tagName!=="VIDEO")return p("not a video");let m=getComputedStyle(g),h=g.getBoundingClientRect();if(m.display==="none"||m.visibility==="hidden"||g.closest("[hidden]")||h.width<100||h.height<50)return p("not visible/large enough");if(g.error)return p("failed load");let x=g.currentSrc||g.getAttribute("src")||g.querySelector("source")?.getAttribute("src")||"";if(!x||/^(blob|data|about|javascript):/i.test(x)||/\.(m3u8|mpd)(\?|$)/i.test(x))return p("no direct src / MSE");let v=g.hasAttribute("muted")||g.muted,y=g.hasAttribute("controls"),D=g.hasAttribute("autoplay")||g.autoplay,F=g.hasAttribute("loop")||g.loop,S=y||D&&!v;if(!S){let _=/play|pause|mute|unmute|sound|volume/i;for(let C=g.parentElement,R=0;C&&R<3&&!S;C=C.parentElement,R++)S=Array.from(C.querySelectorAll('button, [role="button"]')).some(L=>_.test((L.getAttribute("aria-label")||"")+" "+(L.getAttribute("title")||"")+" "+(L.textContent||"")));}if(!S)return p("not user-playable");if(v&&F&&!y)return p("decorative loop");if(g.hasAttribute("muted")&&!y&&!D)return p("muted");if(Number.isFinite(g.duration)&&g.duration>0&&g.duration<5)return p("under 5s");await new Promise(_=>setTimeout(_,2e3));for(let _ of Array.from(g.querySelectorAll("track"))){let C=(_.getAttribute("kind")||"subtitles").toLowerCase();if((C==="captions"||C==="subtitles")&&_.getAttribute("src"))return p("has caption track")}let w=g.textTracks;for(let _=0;w&&_<w.length;_++)if(w[_].kind==="captions"||w[_].kind==="subtitles")return p("has text track");let T=g,E=null;if(typeof T.mozHasAudio=="boolean"?E=T.mozHasAudio:T.audioTracks&&typeof T.audioTracks.length=="number"&&(E=T.audioTracks.length>0?true:null),E===null&&typeof T.webkitAudioDecodedByteCount=="number"&&T.webkitAudioDecodedByteCount>0&&(E=true),E===null)try{let _=new AbortController,C=setTimeout(()=>_.abort(),d.fetchMs),R=await fetch(x,{headers:{Range:"bytes=0-"+(d.rangeBytes-1)},signal:_.signal}),L=new Uint8Array(d.rangeBytes),N=0,$=R.body?R.body.getReader():null;if($)try{for(;N<d.rangeBytes;){let{done:q,value:j}=await $.read();if(q||!j)break;let K=Math.min(j.length,d.rangeBytes-N);L.set(j.subarray(0,K),N),N+=K;}}finally{try{await $.cancel();}catch{}}clearTimeout(C);let W=(q,j=0)=>{e:for(let K=j;K<=N-q.length;K++){for(let Z=0;Z<q.length;Z++)if(L[K+Z]!==q[Z])continue e;return K}return -1},G=q=>Array.from(q).map(j=>j.charCodeAt(0));W(G("ftyp"))>=0&&W(G("moov"))>=0?E=W(G("hdlr"))>=0&&W(G("soun"))>=0:L[0]===26&&L[1]===69&&L[2]===223&&L[3]===163&&W([22,84,174,107])>=0&&(E=W([131,129,2])>=0);}catch{E=null;}return E!==true?p(E===false?"silent":"audio unknowable"):{verdict:"violation"}}async function vg(d,p){let g=p.filter(x=>x.type==="missing_captions"&&/^<video\b/i.test(x.html??"")&&x.selector).slice(0,10);if(g.length===0)return [];let m=[],h=Date.now()+1e4;try{await d.evaluate("if(typeof globalThis.__name==='undefined'){globalThis.__name=function(t){return t}}");for(let x of g){if(Date.now()>h)break;let v=h-Date.now(),y,D=await Promise.race([d.evaluate(dL,{selector:x.selector,rangeBytes:1048576,fetchMs:4e3}),new Promise(F=>{y=setTimeout(()=>F(null),v);})]).finally(()=>y&&clearTimeout(y));if(!D)break;if(D.verdict==="violation"){let{confidence:F,reviewReason:S,...w}=x;m.push({...w,id:x.id.replace("axe-incomplete-","axe-"),message:"video has an audio track, can be played by the user, and has no captions or subtitles track (WCAG 1.2.2)"});}}}catch{}return m}function wg(){let d=h=>{let x=h.getBoundingClientRect();if(x.width===0||x.height===0)return false;let v=window.getComputedStyle(h);return v.visibility!=="hidden"&&v.display!=="none"&&v.opacity!=="0"},p=Array.from(document.querySelectorAll('input[type="password"]')),g=Array.from(document.querySelectorAll('button, input[type="submit"], a[role="button"]')).filter(d).map(h=>(h.value||h.textContent||"").trim().toLowerCase()).filter(h=>h.length>0&&h.length<40),m=Array.from(document.querySelectorAll("button, a")).filter(d).filter(h=>/sign in with|continue with|log in with/i.test(h.textContent||"")).length;return {passwordFields:p.length,visiblePasswordFields:p.filter(d).length,submitLabels:g,oauthButtons:m,formCount:document.querySelectorAll("form").length,bodyTextLength:(document.body?.innerText||"").trim().length,headingText:(document.querySelector("h1, h2")?.textContent||"").trim().slice(0,120).toLowerCase()}}var fL=/\b(log ?in|sign ?in|sign ?on|authenticate)\b/,pL=/\b(log ?in|sign ?in|sign ?on|authentication|welcome back|access denied|unauthori[sz]ed)\b/;function bg(d){try{let p=new URL(d).pathname.toLowerCase();return /(^|\/)(login|signin|sign-in|log-in|auth|sso|session\/new|users\/sign_in)(\/|$)/.test(p)}catch{return false}}function xg(d,p,g){if(bg(p))return null;let m=yg(p)!==yg(g),h=d.submitLabels.some(w=>fL.test(w)),x=pL.test(d.headingText),v=bg(g),y=[];v&&y.push("url"),h&&y.push("submit"),x&&y.push("heading"),m&&y.push("redirected");let D=d.visiblePasswordFields>0,F=d.oauthButtons>0&&d.bodyTextLength<600&&d.formCount<=1;if(!D&&!F||y.length<2)return null;let S=`${D?"password-field":"oauth-only"}+${y.join("+")}`;return {reason:`Scan did not reach the requested page \u2014 it landed on a sign-in page at ${g}. The findings would describe the login screen, not the intended page. Configure site authentication for this site, or scan a page that does not require a session.`,signal:S,finalUrl:g}}function yg(d){try{let p=new URL(d);return `${p.origin}${p.pathname.replace(/\/+$/,"")}`.toLowerCase()}catch{return d.toLowerCase()}}Ro();async function TL(d){try{return await d.evaluate(()=>{let p=(document.title||"").toLowerCase(),g=[["just a moment","Cloudflare"],["attention required","Cloudflare"],["checking your browser","Cloudflare"],["access to this page has been denied","PerimeterX/HUMAN"],["please verify you are a human","PerimeterX/HUMAN"],["verify you are human","bot-challenge"],["are you a robot","bot-challenge"],["you have been blocked","bot-challenge"],["request unsuccessful","Imperva/Incapsula"],["human verification","bot-challenge"],["additional security check is required","bot-challenge"]];for(let[x,v]of g)if(p.includes(x))return {vendor:v,signal:`title:"${document.title}"`,needsCorroboration:!1};let m=[["#cf-chl-widget","Cloudflare"],["#challenge-running","Cloudflare"],["#cf-challenge-running","Cloudflare"],[".cf-browser-verification","Cloudflare"],["#cf-please-wait","Cloudflare"],["div.cf-error-details","Cloudflare"],["#px-captcha","PerimeterX/HUMAN"],["#distilCaptchaForm","Distil"],["form#challenge-form","bot-challenge"]];for(let[x,v]of m)if(document.querySelector(x))return {vendor:v,signal:`marker:${x}`,needsCorroboration:!1};if(window._cf_chl_opt)return {vendor:"Cloudflare",signal:"marker:window._cf_chl_opt",needsCorroboration:!1};let h=[["please wait...","Cloudflare"],["access denied","bot-challenge"]];for(let[x,v]of h)if(p.includes(x))return {vendor:v,signal:`title:"${document.title}"`,needsCorroboration:!0};return null})}catch{return null}}async function FL(d){try{return await d.evaluate(()=>{let p=document.querySelectorAll("body *").length;if(p>250)return null;let g=['[id*="captcha" i]','[class*="captcha" i]','img[src*="captcha" i]','iframe[src*="recaptcha" i]','iframe[src*="hcaptcha" i]','iframe[src*="turnstile" i]','[name*="captcha" i]'];for(let h of g)try{if(document.querySelector(h))return {signal:`marker:${h}`,elements:p}}catch{}let m=(document.title||"").toLowerCase();return m.includes("captcha")||m.includes("security check")||m.includes("bot verification")?{signal:`title:"${document.title}"`,elements:p}:null})}catch{return null}}async function RL(d,p){let g=await TL(d),m=typeof p=="number"&&p>=400,h=g&&(!g.needsCorroboration||m)?g:null;if(!h&&!m)return null;let x=[];return h&&x.push(`served a ${h.vendor} bot-challenge / interstitial page`),m&&x.push(`main document returned HTTP ${p}`),{reason:`Scan did not reach the real page \u2014 the target ${x.join(" and ")}. The returned issue list reflects the challenge/error page, not the intended site.`,...h?{vendor:h.vendor}:{},...typeof p=="number"?{status:p}:{},...h?{signal:h.signal}:m?{signal:`status:${p}`}:{}}}async function IL(d,p){let g=typeof d=="string",m={wcagTags:wu,includeAxe:true,deep:false,dismissModals:g,...p},h,x,v,y;if(g){v=d.startsWith("http")?d:`https://${d}`;let D=typeof m.viewport=="string"?Wn[m.viewport]??Wn.desktop:m.viewport??Wn.desktop;x=await(await import('playwright')).chromium.launch({headless:m.browser?.headless??true}),h=await(await x.newContext({viewport:D})).newPage();let w=await h.goto(v,{waitUntil:"domcontentloaded",timeout:m.browser?.timeout??3e4});y=typeof w?.status=="function"?w.status():void 0;}else h=d,v=h.url(),y=m.mainStatus;if(m.dismissModals)try{let{dismissModals:D}=await Promise.resolve().then(()=>(Cu(),Sg));await D(h);}catch{}if(m.settle!==false)try{let{waitForRenderSettle:D}=await Promise.resolve().then(()=>(Lo(),Io));await D(h,typeof m.settle=="number"?m.settle:void 0);}catch{}try{try{let G=await h.evaluate(wg),q=xg(G,v,typeof h.url=="function"?h.url():v);if(q)return {url:v,timestamp:new Date().toISOString(),blocked:{reason:q.reason,signal:`auth-wall:${q.signal}`,...typeof y=="number"?{status:y}:{}},issues:[],incomplete:[],summary:{total:0,critical:0,serious:0,moderate:0,minor:0,incomplete:0}}}catch{}let D=await RL(h,y);if(D)return {url:v,timestamp:new Date().toISOString(),blocked:D,issues:[],incomplete:[],summary:{total:0,critical:0,serious:0,moderate:0,minor:0,incomplete:0}};let F=[],S=new Map,w=[],T=[],E=await FL(h);E&&T.push(`challenge:suspected-interstitial (${E.signal}; ${E.elements} elements) \u2014 this looks like a bot-challenge/CAPTCHA page, not the real site; results may be invalid`);let _=await vu(h,w,T);if(F.push(..._.map(Eg)),m.includeAxe)try{let G=await bu(h,Dg(m.wcagTags??wu,m.level));for(let q of G.violations)for(let j of q.nodes)F.push({id:`axe-${q.id}-${Jn(Kn(j.target))}`,source:"axe-core",type:q.id,wcag:Au(q.tags),level:Eu(q.tags),impact:Du(q.impact),message:q.help,selector:Kn(j.target),html:j.html?.slice(0,300)});for(let q of G.incomplete??[])for(let j of q.nodes){let K=`axe-incomplete-${q.id}-${Jn(Kn(j.target))}`,Z=j.any?.[0]?.data?.messageKey;Z&&S.set(K,Z),F.push({id:K,source:"axe-core",type:q.id,wcag:Au(q.tags),level:Eu(q.tags),impact:Du(q.impact),message:q.help,selector:Kn(j.target),html:j.html?.slice(0,300),confidence:"needs_review",reviewReason:"axe-core flagged this as needing human review"});}}catch{}try{let{runHtmlcs:G}=await Promise.resolve().then(()=>(Lg(),Ig)),q=await G(h);F.push(...q);}catch{}let{deduplicateIssues:C}=await Promise.resolve().then(()=>(Mo(),Po)),R=yu(F),L=C(R.verdicts);try{let{pruneInvisibleContrast:G}=await Promise.resolve().then(()=>(Lo(),Io));L=await G(h,L);}catch{}try{let{pruneHiddenIframeIssues:G}=await Promise.resolve().then(()=>(Lo(),Io));L=await G(h,L);}catch{}try{let{dedupeByElementIdentity:G}=await Promise.resolve().then(()=>(Mo(),Po));L=await G(h,L);}catch{}if(m.deep&&m.deepApiKey)try{let G=await LL(v,L,m);L.push(...G);}catch{}if(m.rootSelector)try{let{scopeIssuesToRoot:G}=await Promise.resolve().then(()=>(ku(),Su)),q=await G(h,L,m.rootSelector);L=q.issues,q.warning&&T.push(q.warning);}catch{}L=xu(L,m.level??"AA");let N=yu(L),$=N.verdicts;try{let G=[...R.undecided,...N.undecided];if(m.rootSelector){let{scopeIssuesToRoot:Z}=await Promise.resolve().then(()=>(ku(),Su));G=(await Z(h,G,m.rootSelector)).issues;}let q=await gg(h,G,S),j=await vg(h,G),K=[...q,...j];if(K.length){let{deduplicateIssues:Z}=await Promise.resolve().then(()=>(Mo(),Po));$=Z([...$,...K]);}}catch{}let W={url:v,timestamp:new Date().toISOString(),engine:fg,issues:$,incomplete:[],...w.length?{truncated:w}:{},...T.length?{engineWarnings:T}:{},summary:_u($)};if(m.review!==!1&&m.deepApiKey)try{W=await PL(W,m);}catch{}return W}finally{x&&await x.close();}}async function LL(d,p,g){let m=g.deepApiUrl||"https://api.webability.io",h=await fetch(`${m}/cli/deep-scan`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`Bearer ${g.deepApiKey}`},body:JSON.stringify({url:d,standardIssues:p.slice(0,30).map(({source:v,...y})=>y)})});return h.ok?((await h.json()).issues??[]).map((v,y)=>({id:`deep-${y}-${Jn(v.selector||v.element||"")}`,source:"deep-analysis",type:`wcag-${v.wcag}`,wcag:v.wcag,level:"AA",impact:v.severity==="High"?"critical":v.severity==="Medium"?"serious":"moderate",message:v.message,selector:v.selector||v.element||""})):[]}function Pg(d){let p=d.fix?.attribute??"";return !!d.fix?.needsManualReview&&p!=="style"&&!p.startsWith("data-")}async function PL(d,p){let g=p.deepApiUrl||"https://api.webability.io",m=d.issues.filter(Pg);if(m.length===0)return d;try{let h=await fetch(`${g}/review-findings`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`Bearer ${p.deepApiKey}`},body:JSON.stringify({url:d.url,issues:m.slice(0,30).map(({source:D,...F})=>F)})});if(!h.ok)return d;let x=await h.json();if(!x.confirmed_ids)return d;let v=new Set(x.confirmed_ids),y=d.issues.filter(D=>!Pg(D)||v.has(D.id));return {...d,issues:y,summary:_u(y)}}catch{return d}}Ro();Cu();function ML(d){let p={critical:"#dc2626",serious:"#ea580c",moderate:"#ca8a04",minor:"#6b7280"},g=d.issues.map(m=>`
383
383
  <tr>
384
- <td><span class="badge" style="background:${p[h.impact]||"#6b7280"}">${h.impact}</span></td>
385
- <td>${za(h.wcag)}</td>
386
- <td>${za(h.message)}</td>
387
- <td><code>${za(h.selector)}</code></td>
388
- <td>${h.fix?.suggestedValue?`<code>${za(h.fix.suggestedValue.slice(0,80))}</code>`:'<span class="muted">Manual review</span>'}</td>
384
+ <td><span class="badge" style="background:${p[m.impact]||"#6b7280"}">${m.impact}</span></td>
385
+ <td>${Wa(m.wcag)}</td>
386
+ <td>${Wa(m.message)}</td>
387
+ <td><code>${Wa(m.selector)}</code></td>
388
+ <td>${m.fix?.suggestedValue?`<code>${Wa(m.fix.suggestedValue.slice(0,80))}</code>`:'<span class="muted">Manual review</span>'}</td>
389
389
  </tr>`).join("");return `<!DOCTYPE html>
390
390
  <html lang="en">
391
391
  <head>
392
392
  <meta charset="utf-8">
393
393
  <meta name="viewport" content="width=device-width,initial-scale=1">
394
- <title>Accessibility Report \u2014 ${za(f.url)}</title>
394
+ <title>Accessibility Report \u2014 ${Wa(d.url)}</title>
395
395
  <style>
396
396
  * { margin:0; padding:0; box-sizing:border-box; }
397
397
  body { font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif; background:#f8fafc; color:#1e293b; padding:2rem; }
@@ -417,22 +417,22 @@ See: https://github.com/dequelabs/axe-core/blob/master/doc/context.md`));}functi
417
417
  <body>
418
418
  <div class="container">
419
419
  <h1>Accessibility Report</h1>
420
- <p class="meta">${za(f.url)} &middot; ${new Date(f.timestamp).toLocaleString()}</p>
420
+ <p class="meta">${Wa(d.url)} &middot; ${new Date(d.timestamp).toLocaleString()}</p>
421
421
  <div class="summary">
422
- <div class="stat"><div class="num">${f.summary.total}</div><div class="label">Total Issues</div></div>
423
- <div class="stat critical"><div class="num">${f.summary.critical}</div><div class="label">Critical</div></div>
424
- <div class="stat serious"><div class="num">${f.summary.serious}</div><div class="label">Serious</div></div>
425
- <div class="stat moderate"><div class="num">${f.summary.moderate}</div><div class="label">Moderate</div></div>
422
+ <div class="stat"><div class="num">${d.summary.total}</div><div class="label">Total Issues</div></div>
423
+ <div class="stat critical"><div class="num">${d.summary.critical}</div><div class="label">Critical</div></div>
424
+ <div class="stat serious"><div class="num">${d.summary.serious}</div><div class="label">Serious</div></div>
425
+ <div class="stat moderate"><div class="num">${d.summary.moderate}</div><div class="label">Moderate</div></div>
426
426
  </div>
427
427
  <table>
428
428
  <thead><tr><th>Severity</th><th>WCAG</th><th>Issue</th><th>Element</th><th>Fix</th></tr></thead>
429
- <tbody>${y}</tbody>
429
+ <tbody>${g}</tbody>
430
430
  </table>
431
431
  <p class="footer">Generated by WebAbility</p>
432
432
  </div>
433
433
  </body>
434
- </html>`}function za(f){return f.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;")}async function Eg(f){return f.evaluate(()=>{let p=document.documentElement.outerHTML,y=Array.from(document.querySelectorAll("[class]")).slice(0,200).map(S=>S.className).join(" "),h=/\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=y.match(h)||[],w=Math.min(m.length/10,1),v=/\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,b=y.match(v)||[],A=Math.min(b.length/5,1),k=/\b(Mui[A-Z]|MuiButton|MuiTypography|MuiPaper|css-[a-z0-9]{5,}|makeStyles)\b/g,x=(y+" "+p.slice(0,5e3)).match(k)||[],_=Math.min(x.length/5,1),T=!!document.querySelector("style[data-tw]")||p.includes("tailwindcss")||y.includes("antialiased");return w>.3||T?{framework:"tailwind",version:(document.documentElement.style.cssText||"").includes("oklch")||!!document.querySelector('[class*="text-[oklch"]')?"4":"3",confidence:Math.max(w,T?.8:0)}:A>.3?{framework:"bootstrap",confidence:A}:_>.3?{framework:"mui",confidence:_}:{framework:"plain-css",confidence:.5}})}function DL(f){f=f.replace("#",""),f.length===3&&(f=f[0]+f[0]+f[1]+f[1]+f[2]+f[2]);let p=parseInt(f,16);return [p>>16&255,p>>8&255,p&255]}function _L(f,p,y){return "#"+[f,p,y].map(h=>Math.round(h).toString(16).padStart(2,"0")).join("")}function wu(f){let p=f/255;return p<=.03928?p/12.92:Math.pow((p+.055)/1.055,2.4)}function Ga(f,p,y){return .2126*wu(f)+.7152*wu(p)+.0722*wu(y)}function xu(f,p){let y=Math.max(f,p),h=Math.min(f,p);return (y+.05)/(h+.05)}function Hr(f){if(f.startsWith("#"))return DL(f);let p=f.match(/rgba?\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)/);return p?[parseInt(p[1]),parseInt(p[2]),parseInt(p[3])]:null}function na(f,p){let y=Hr(f),h=Hr(p);return !y||!h?0:xu(Ga(...y),Ga(...h))}function Wa(f,p,y=4.5){let h=Hr(f),m=Hr(p);if(!h||!m)return null;let w=Ga(...m),v=xu(Ga(...h),w);if(v>=y)return null;let A=Ga(...h)>w,k=0,x=1,_=h;for(let E=0;E<20;E++){let F=(k+x)/2,L=A?[h[0]*(1-F),h[1]*(1-F),h[2]*(1-F)]:[h[0]+(255-h[0])*F,h[1]+(255-h[1])*F,h[2]+(255-h[2])*F],O=Ga(L[0],L[1],L[2]);xu(O,w)>=y?(_=L,x=F):k=F;}let T=_L(_[0],_[1],_[2]),S=na(T,p);return {currentColor:f,suggestedColor:T,currentRatio:Math.round(v*100)/100,suggestedRatio:Math.round(S*100)/100,requiredRatio:y,bgColor:p}}var Fo={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 Cg(f,p){let y=Hr(f),h=Hr(p);return !y||!h?1/0:Math.sqrt((y[0]-h[0])**2+(y[1]-h[1])**2+(y[2]-h[2])**2)}function Du(f,p="text"){let y=null,h=1/0;for(let[m,w]of Object.entries(Fo))for(let[v,b]of Object.entries(w)){let A=Cg(f.toLowerCase(),b);A<h&&(h=A,y=`${p}-${m}-${v}`);}return h<30?y:null}function Ro(f,p,y=4.5,h="text"){let m=Du(f,h),w=na(f,p);if(w>=y)return null;let v="gray",A=1/0;for(let[E,F]of Object.entries(Fo))for(let[L,O]of Object.entries(F)){let H=Cg(f.toLowerCase(),O);H<A&&(A=H,v=E,L);}let k=Object.entries(Fo[v]||Fo.gray),x=Hr(p);if(!x)return null;let T=(x[0]+x[1]+x[2])/3>128?k.sort((E,F)=>parseInt(F[0])-parseInt(E[0])):k.sort((E,F)=>parseInt(E[0])-parseInt(F[0]));for(let[E,F]of T){let L=na(F,p);if(L>=y)return {currentClass:m,suggestedClass:`${h}-${v}-${E}`,currentHex:f,suggestedHex:F,currentRatio:Math.round(w*100)/100,suggestedRatio:Math.round(L*100)/100,requiredRatio:y}}let S=Wa(f,p,y);return S?{currentClass:m,suggestedClass:Du(S.suggestedColor,h)||`${h}-[${S.suggestedColor}]`,currentHex:f,suggestedHex:S.suggestedColor,currentRatio:S.currentRatio,suggestedRatio:S.suggestedRatio,requiredRatio:y}:null}function Sg(f,p,y,h,m){let w=`https://www.w3.org/WAI/WCAG21/Understanding/${f.wcag.replace(/\./g,"")}`;if(f.type==="contrast_insufficient"||f.type==="color-contrast")return CL(f,p,y,h,m,w);if(f.type==="non_text_contrast_insufficient")return SL(f,p,y,w);if(f.type==="focus_not_visible")return kL(f,p,w);if(f.type==="missing_alt")return {issue:f,problem:"Image has no alt text \u2014 screen readers skip it entirely.",fix:p==="tailwind"?'Add alt="description" to the <img>. For decorative images, use alt="" (empty).':'Add alt="description" to the <img>. For decorative images, use alt="" and role="presentation".',wcagLink:w};if(f.type==="target_too_small"){let _=f.fix?.currentValue||"unknown";return {issue:f,problem:`Touch target is ${_} \u2014 minimum 24x24px required (WCAG 2.5.8).`,fix:p==="tailwind"?"Add min-h-[44px] min-w-[44px] p-2 to the element for comfortable tap targets.":"Add min-height: 44px; min-width: 44px; padding: 8px; to the element.",before:p==="tailwind"&&y?y:void 0,after:p==="tailwind"&&y?y+" min-h-[44px] min-w-[44px]":void 0,wcagLink:w}}if(f.type==="decorative_icon")return {issue:f,problem:"SVG/icon is announced by screen readers but has no meaningful content.",fix:`Add aria-hidden="true" to the SVG element \u2014 it's decorative.`,before:"<svg ...",after:'<svg aria-hidden="true" ...',wcagLink:w};if(f.type==="heading_skip")return {issue:f,problem:"Heading hierarchy skips a level \u2014 confuses screen reader navigation.",fix:"Use sequential heading levels (h1 \u2192 h2 \u2192 h3). Don't skip from h2 to h4.",wcagLink:w};if(f.type==="missing_label")return {issue:f,problem:"Form input has no label \u2014 screen readers can't identify what to enter.",fix:p==="tailwind"?'Add a <label htmlFor="id"> or aria-label="description" to the input.':'Add a <label for="id"> element or aria-label attribute.',wcagLink:w};if(f.type==="skip_link")return {issue:f,problem:"Page has no skip navigation link \u2014 keyboard users must tab through the entire header on every page.",fix:'Add a visually-hidden skip link as the first focusable element: <a href="#main-content" class="sr-only focus:not-sr-only">Skip to content</a>',wcagLink:w};if(f.type==="motion_without_reduced_motion")return {issue:f,problem:'Page has animations but no @media (prefers-reduced-motion) query. Users who set "Reduce motion" in OS settings still see all animations.',fix:p==="tailwind"?"Use Tailwind's motion-safe: and motion-reduce: variants, or add @media (prefers-reduced-motion: reduce) to globals.css.":"Add @media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } }",wcagLink:w};if(f.type==="weak_link_name"||f.type==="weak_button_name"){let _=f.fix?.currentValue||"",T=f.type==="weak_button_name"?"button":"link",S=T==="button"?"what it does":"where it goes",E=`aria-label "" doesn't say ${S}.`;return {issue:f,problem:_?`aria-label "${_u(_,Math.max(12,AL-E.length))}" doesn't say ${S}.`:`This ${T}'s name doesn't tell users ${S}.`,fix:T==="button"?"Use text that names the action, or add an aria-label that does.":"Use text that names the destination, or add an aria-label that does.",wcagLink:w}}if(f.type==="svg_missing_name")return {issue:f,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)
435
- <svg aria-label="Search icon" ... (meaningful)`,wcagLink:w};if(f.type==="new_window_link")return {issue:f,problem:"Link opens in a new tab without warning \u2014 disorienting for screen reader users.",fix:'Add "(opens in new tab)" to the link text or aria-label.',wcagLink:w};if(f.type==="missing_required_indicator")return {issue:f,problem:"Required form field has no visual indicator \u2014 users don't know it's mandatory.",fix:'Add aria-required="true" and a visual asterisk (*) to the label.',wcagLink:w};if(f.type==="redundant_role")return {issue:f,problem:"Element has a redundant ARIA role matching its implicit HTML role.",fix:'Remove the role attribute \u2014 <nav> already implies role="navigation".',wcagLink:w};if(f.type==="duplicate_id")return {issue:f,problem:"Multiple elements share the same ID \u2014 breaks label associations and ARIA references.",fix:"Make each id unique across the page.",wcagLink:w};if(f.type==="insufficient_navigation")return {issue:f,problem:"Page has only one way to navigate \u2014 WCAG requires multiple (e.g., nav + search, or nav + sitemap).",fix:"Add a search input, sitemap link, or breadcrumbs alongside the main navigation.",wcagLink:w};if(f.type==="image_of_text")return {issue:f,problem:"Image appears to contain text \u2014 text in images can't be resized, translated, or read by screen readers.",fix:"Replace the image with real text styled with CSS. Exception: logos are exempt.",wcagLink:w};if(f.type==="focus_obscured_by_sticky")return {issue:f,problem:"Sticky header may obscure focused elements when tabbing \u2014 users can't see where focus is.",fix:p==="tailwind"?"Add scroll-pt-20 to the html element, or scroll-padding-top: 80px to account for the sticky header height.":"Add scroll-padding-top: 80px to html { } in your CSS.",wcagLink:w};if(f.type==="missing_media_controls")return {issue:f,problem:"Video/audio element has no visible controls \u2014 users can't pause, stop, or adjust volume.",fix:"Add the controls attribute to <video> or <audio>, or implement custom accessible controls with proper ARIA.",wcagLink:w};if(f.type==="multiple_h1")return {issue:f,problem:"Page has multiple <h1> elements \u2014 should have exactly one.",fix:"Keep one <h1> for the main page title. Change others to <h2>.",wcagLink:w};let v=f.message.replace(/: set .*/,"").replace(/: missing .*/,""),b=v!==f.message.replace(/: set .*/,""),A=/^(missing|empty|no)\b/i.test(v),k=(f.fix?.attribute??"").startsWith("data-"),x="Manual step: ";return {issue:f,problem:b&&!A?`${v} is missing`:v,fix:k&&f.fix?.suggestedValue?`${x}${_u(f.fix.suggestedValue,kg-x.length)}`:f.fix?.suggestedValue&&!f.fix.suggestedValue.includes("!important")?`Set ${f.fix.attribute}="${_u(f.fix.suggestedValue,EL(f.fix.attribute))}"`:`Review this element for WCAG ${f.wcag} compliance.`,wcagLink:w}}var AL=72,kg=70;function EL(f){return Math.max(12,kg-f.length-7)}function _u(f,p){if(f.length<=p)return f;let y=f.slice(0,p-1),h=y.lastIndexOf(" ");return (h>p/2?y.slice(0,h):y)+"\u2026"}function CL(f,p,y,h,m,w=""){let v=h||f.fix?.currentValue||"",b=m||"#ffffff";v&&b?na(v,b):0;let k=4.5;if(p==="tailwind"&&v&&b){let _=Ro(v,b,k);if(_)return {issue:f,problem:`Contrast ratio ${_.currentRatio}:1 \u2014 needs ${k}:1 for WCAG AA.`,fix:_.currentClass?`Change ${_.currentClass} \u2192 ${_.suggestedClass}`:`Use ${_.suggestedClass} (${_.suggestedHex})`,before:_.currentClass||void 0,after:_.suggestedClass,contrast:{current:_.currentRatio,required:k,suggested:_.suggestedRatio,fgColor:v,bgColor:b,suggestedColor:_.suggestedHex},wcagLink:w}}let x=v&&b?Wa(v,b,k):null;return x?{issue:f,problem:`Contrast ratio ${x.currentRatio}:1 \u2014 needs ${k}:1 for WCAG AA.`,fix:`Change color from ${x.currentColor} to ${x.suggestedColor}`,contrast:{current:x.currentRatio,required:k,suggested:x.suggestedRatio,fgColor:v,bgColor:b,suggestedColor:x.suggestedColor},wcagLink:w}:{issue:f,problem:"Text contrast is below WCAG AA minimum.",fix:"Darken the text color or lighten the background to achieve at least 4.5:1 contrast ratio.",wcagLink:w}}function SL(f,p,y,h=""){return {issue:f,problem:"Non-text element (border, icon, UI component) has contrast below 3:1 against its background.",fix:p==="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:h}}function kL(f,p,y=""){return {issue:f,problem:"Element has no visible focus indicator \u2014 keyboard users can't see where they are.",fix:p==="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:p==="tailwind"?'className="..."':void 0,after:p==="tailwind"?'className="... focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:ring-offset-2"':void 0,wcagLink:y}}/*! Bundled license information:
434
+ </html>`}function Wa(d){return d.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;")}async function Mg(d){return d.evaluate(()=>{let p=document.documentElement.outerHTML,g=Array.from(document.querySelectorAll("[class]")).slice(0,200).map(E=>E.className).join(" "),m=/\b(text-(?:gray|slate|zinc|neutral|stone|red|orange|amber|yellow|green|emerald|teal|cyan|sky|blue|indigo|violet|purple|fuchsia|pink|rose)-\d{2,3}|bg-(?:gray|slate|blue|red|green)-\d{2,3}|flex|grid|p-\d|m-\d|rounded|shadow|border-\[|text-\[|w-\d|h-\d)\b/g,h=g.match(m)||[],x=Math.min(h.length/10,1),v=/\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,y=g.match(v)||[],D=Math.min(y.length/5,1),F=/\b(Mui[A-Z]|MuiButton|MuiTypography|MuiPaper|css-[a-z0-9]{5,}|makeStyles)\b/g,S=(g+" "+p.slice(0,5e3)).match(F)||[],w=Math.min(S.length/5,1),T=!!document.querySelector("style[data-tw]")||p.includes("tailwindcss")||g.includes("antialiased");return x>.3||T?{framework:"tailwind",version:(document.documentElement.style.cssText||"").includes("oklch")||!!document.querySelector('[class*="text-[oklch"]')?"4":"3",confidence:Math.max(x,T?.8:0)}:D>.3?{framework:"bootstrap",confidence:D}:w>.3?{framework:"mui",confidence:w}:{framework:"plain-css",confidence:.5}})}function OL(d){d=d.replace("#",""),d.length===3&&(d=d[0]+d[0]+d[1]+d[1]+d[2]+d[2]);let p=parseInt(d,16);return [p>>16&255,p>>8&255,p&255]}function NL(d,p,g){return "#"+[d,p,g].map(m=>Math.round(m).toString(16).padStart(2,"0")).join("")}function Tu(d){let p=d/255;return p<=.03928?p/12.92:Math.pow((p+.055)/1.055,2.4)}function Ua(d,p,g){return .2126*Tu(d)+.7152*Tu(p)+.0722*Tu(g)}function Fu(d,p){let g=Math.max(d,p),m=Math.min(d,p);return (g+.05)/(m+.05)}function jr(d){if(d.startsWith("#"))return OL(d);let p=d.match(/rgba?\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)/);return p?[parseInt(p[1]),parseInt(p[2]),parseInt(p[3])]:null}function ia(d,p){let g=jr(d),m=jr(p);return !g||!m?0:Fu(Ua(...g),Ua(...m))}function Xa(d,p,g=4.5){let m=jr(d),h=jr(p);if(!m||!h)return null;let x=Ua(...h),v=Fu(Ua(...m),x);if(v>=g)return null;let D=Ua(...m)>x,F=0,S=1,w=m;for(let _=0;_<20;_++){let C=(F+S)/2,R=D?[m[0]*(1-C),m[1]*(1-C),m[2]*(1-C)]:[m[0]+(255-m[0])*C,m[1]+(255-m[1])*C,m[2]+(255-m[2])*C],L=Ua(R[0],R[1],R[2]);Fu(L,x)>=g?(w=R,S=C):F=C;}let T=NL(w[0],w[1],w[2]),E=ia(T,p);return {currentColor:d,suggestedColor:T,currentRatio:Math.round(v*100)/100,suggestedRatio:Math.round(E*100)/100,requiredRatio:g,bgColor:p}}var Oo={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 Og(d,p){let g=jr(d),m=jr(p);return !g||!m?1/0:Math.sqrt((g[0]-m[0])**2+(g[1]-m[1])**2+(g[2]-m[2])**2)}function Ru(d,p="text"){let g=null,m=1/0;for(let[h,x]of Object.entries(Oo))for(let[v,y]of Object.entries(x)){let D=Og(d.toLowerCase(),y);D<m&&(m=D,g=`${p}-${h}-${v}`);}return m<30?g:null}function No(d,p,g=4.5,m="text"){let h=Ru(d,m),x=ia(d,p);if(x>=g)return null;let v="gray",D=1/0;for(let[_,C]of Object.entries(Oo))for(let[R,L]of Object.entries(C)){let N=Og(d.toLowerCase(),L);N<D&&(D=N,v=_,R);}let F=Object.entries(Oo[v]||Oo.gray),S=jr(p);if(!S)return null;let T=(S[0]+S[1]+S[2])/3>128?F.sort((_,C)=>parseInt(C[0])-parseInt(_[0])):F.sort((_,C)=>parseInt(_[0])-parseInt(C[0]));for(let[_,C]of T){let R=ia(C,p);if(R>=g)return {currentClass:h,suggestedClass:`${m}-${v}-${_}`,currentHex:d,suggestedHex:C,currentRatio:Math.round(x*100)/100,suggestedRatio:Math.round(R*100)/100,requiredRatio:g}}let E=Xa(d,p,g);return E?{currentClass:h,suggestedClass:Ru(E.suggestedColor,m)||`${m}-[${E.suggestedColor}]`,currentHex:d,suggestedHex:E.suggestedColor,currentRatio:E.currentRatio,suggestedRatio:E.suggestedRatio,requiredRatio:g}:null}function Ng(d,p,g,m,h){let x=`https://www.w3.org/WAI/WCAG21/Understanding/${d.wcag.replace(/\./g,"")}`;if(d.type==="contrast_insufficient"||d.type==="color-contrast")return HL(d,p,g,m,h,x);if(d.type==="non_text_contrast_insufficient")return VL(d,p,g,x);if(d.type==="focus_not_visible")return jL(d,p,x);if(d.type==="missing_alt")return {issue:d,problem:"Image has no alt text \u2014 screen readers skip it entirely.",fix:p==="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:x};if(d.type==="target_too_small"){let w=d.fix?.currentValue||"unknown";return {issue:d,problem:`Touch target is ${w} \u2014 minimum 24x24px required (WCAG 2.5.8).`,fix:p==="tailwind"?"Add min-h-[44px] min-w-[44px] p-2 to the element for comfortable tap targets.":"Add min-height: 44px; min-width: 44px; padding: 8px; to the element.",before:p==="tailwind"&&g?g:void 0,after:p==="tailwind"&&g?g+" min-h-[44px] min-w-[44px]":void 0,wcagLink:x}}if(d.type==="decorative_icon")return {issue:d,problem:"SVG/icon is announced by screen readers but has no meaningful content.",fix:`Add aria-hidden="true" to the SVG element \u2014 it's decorative.`,before:"<svg ...",after:'<svg aria-hidden="true" ...',wcagLink:x};if(d.type==="heading_skip")return {issue:d,problem:"Heading hierarchy skips a level \u2014 confuses screen reader navigation.",fix:"Use sequential heading levels (h1 \u2192 h2 \u2192 h3). Don't skip from h2 to h4.",wcagLink:x};if(d.type==="missing_label")return {issue:d,problem:"Form input has no label \u2014 screen readers can't identify what to enter.",fix:p==="tailwind"?'Add a <label htmlFor="id"> or aria-label="description" to the input.':'Add a <label for="id"> element or aria-label attribute.',wcagLink:x};if(d.type==="skip_link")return {issue:d,problem:"Page has no skip navigation link \u2014 keyboard users must tab through the entire header on every page.",fix:'Add a visually-hidden skip link as the first focusable element: <a href="#main-content" class="sr-only focus:not-sr-only">Skip to content</a>',wcagLink:x};if(d.type==="motion_without_reduced_motion")return {issue:d,problem:'Page has animations but no @media (prefers-reduced-motion) query. Users who set "Reduce motion" in OS settings still see all animations.',fix:p==="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:x};if(d.type==="weak_link_name"||d.type==="weak_button_name"){let w=d.fix?.currentValue||"",T=d.type==="weak_button_name"?"button":"link",E=T==="button"?"what it does":"where it goes",_=`aria-label "" doesn't say ${E}.`;return {issue:d,problem:w?`aria-label "${Iu(w,Math.max(12,qL-_.length))}" doesn't say ${E}.`:`This ${T}'s name doesn't tell users ${E}.`,fix:T==="button"?"Use text that names the action, or add an aria-label that does.":"Use text that names the destination, or add an aria-label that does.",wcagLink:x}}if(d.type==="svg_missing_name")return {issue:d,problem:'SVG has no accessible name \u2014 screen readers announce it as "image" with no description.',fix:'If decorative: add aria-hidden="true". If meaningful: add aria-label="description" or <title> inside the SVG.',before:"<svg ...",after:`<svg aria-hidden="true" ... (decorative)
435
+ <svg aria-label="Search icon" ... (meaningful)`,wcagLink:x};if(d.type==="new_window_link")return {issue:d,problem:"Link opens in a new tab without warning \u2014 disorienting for screen reader users.",fix:'Add "(opens in new tab)" to the link text or aria-label.',wcagLink:x};if(d.type==="missing_required_indicator")return {issue:d,problem:"Required form field has no visual indicator \u2014 users don't know it's mandatory.",fix:'Add aria-required="true" and a visual asterisk (*) to the label.',wcagLink:x};if(d.type==="redundant_role")return {issue:d,problem:"Element has a redundant ARIA role matching its implicit HTML role.",fix:'Remove the role attribute \u2014 <nav> already implies role="navigation".',wcagLink:x};if(d.type==="duplicate_id")return {issue:d,problem:"Multiple elements share the same ID \u2014 breaks label associations and ARIA references.",fix:"Make each id unique across the page.",wcagLink:x};if(d.type==="insufficient_navigation")return {issue:d,problem:"Page has only one way to navigate \u2014 WCAG requires multiple (e.g., nav + search, or nav + sitemap).",fix:"Add a search input, sitemap link, or breadcrumbs alongside the main navigation.",wcagLink:x};if(d.type==="image_of_text")return {issue:d,problem:"Image appears to contain text \u2014 text in images can't be resized, translated, or read by screen readers.",fix:"Replace the image with real text styled with CSS. Exception: logos are exempt.",wcagLink:x};if(d.type==="focus_obscured_by_sticky")return {issue:d,problem:"Sticky header may obscure focused elements when tabbing \u2014 users can't see where focus is.",fix:p==="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:x};if(d.type==="missing_media_controls")return {issue:d,problem:"Video/audio element has no visible controls \u2014 users can't pause, stop, or adjust volume.",fix:"Add the controls attribute to <video> or <audio>, or implement custom accessible controls with proper ARIA.",wcagLink:x};if(d.type==="multiple_h1")return {issue:d,problem:"Page has multiple <h1> elements \u2014 should have exactly one.",fix:"Keep one <h1> for the main page title. Change others to <h2>.",wcagLink:x};let v=d.message.replace(/: set .*/,"").replace(/: missing .*/,""),y=v!==d.message.replace(/: set .*/,""),D=/^(missing|empty|no)\b/i.test(v),F=(d.fix?.attribute??"").startsWith("data-"),S="Manual step: ";return {issue:d,problem:y&&!D?`${v} is missing`:v,fix:F&&d.fix?.suggestedValue?`${S}${Iu(d.fix.suggestedValue,qg-S.length)}`:d.fix?.suggestedValue&&!d.fix.suggestedValue.includes("!important")?`Set ${d.fix.attribute}="${Iu(d.fix.suggestedValue,BL(d.fix.attribute))}"`:`Review this element for WCAG ${d.wcag} compliance.`,wcagLink:x}}var qL=72,qg=70;function BL(d){return Math.max(12,qg-d.length-7)}function Iu(d,p){if(d.length<=p)return d;let g=d.slice(0,p-1),m=g.lastIndexOf(" ");return (m>p/2?g.slice(0,m):g)+"\u2026"}function HL(d,p,g,m,h,x=""){let v=m||d.fix?.currentValue||"",y=h||"#ffffff";v&&y?ia(v,y):0;let F=4.5;if(p==="tailwind"&&v&&y){let w=No(v,y,F);if(w)return {issue:d,problem:`Contrast ratio ${w.currentRatio}:1 \u2014 needs ${F}:1 for WCAG AA.`,fix:w.currentClass?`Change ${w.currentClass} \u2192 ${w.suggestedClass}`:`Use ${w.suggestedClass} (${w.suggestedHex})`,before:w.currentClass||void 0,after:w.suggestedClass,contrast:{current:w.currentRatio,required:F,suggested:w.suggestedRatio,fgColor:v,bgColor:y,suggestedColor:w.suggestedHex},wcagLink:x}}let S=v&&y?Xa(v,y,F):null;return S?{issue:d,problem:`Contrast ratio ${S.currentRatio}:1 \u2014 needs ${F}:1 for WCAG AA.`,fix:`Change color from ${S.currentColor} to ${S.suggestedColor}`,contrast:{current:S.currentRatio,required:F,suggested:S.suggestedRatio,fgColor:v,bgColor:y,suggestedColor:S.suggestedColor},wcagLink:x}:{issue:d,problem:"Text contrast is below WCAG AA minimum.",fix:"Darken the text color or lighten the background to achieve at least 4.5:1 contrast ratio.",wcagLink:x}}function VL(d,p,g,m=""){return {issue:d,problem:"Non-text element (border, icon, UI component) has contrast below 3:1 against its background.",fix:p==="tailwind"?"Use a darker border color \u2014 e.g., border-gray-400 instead of border-gray-200. Non-text elements need 3:1 contrast.":"Darken the border/outline color to achieve at least 3:1 contrast against the background.",wcagLink:m}}function jL(d,p,g=""){return {issue:d,problem:"Element has no visible focus indicator \u2014 keyboard users can't see where they are.",fix:p==="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:p==="tailwind"?'className="..."':void 0,after:p==="tailwind"?'className="... focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:ring-offset-2"':void 0,wcagLink:g}}/*! Bundled license information:
436
436
 
437
437
  axe-core/axe.js:
438
438
  (*! axe v4.11.3
@@ -446,4 +446,4 @@ axe-core/axe.js:
446
446
  * distribute or in any file that contains substantial portions of this source
447
447
  * code.
448
448
  *)
449
- */export{$n as VIEWPORT_SIZES,AR as WCAG_BY_ISSUE,Eg as detectFramework,mg as dismissModals,zI as extractSiteTheme,Sg as generateDevSuggestion,na as getContrastRatio,du as runAxe,cu as runDetectors,bL as scan,Wa as solveContrast,Ro as suggestTailwindFix,xL as toHtmlReport};
449
+ */export{Wn as VIEWPORT_SIZES,PR as WCAG_BY_ISSUE,_g as WCAG_LEVEL_MAP,Mg as detectFramework,Cg as dismissModals,QI as extractSiteTheme,Ng as generateDevSuggestion,ia as getContrastRatio,Ga as getWcagLevel,Ag as issueLevel,bu as runAxe,vu as runDetectors,IL as scan,Xa as solveContrast,No as suggestTailwindFix,ML as toHtmlReport,xu as withinLevel};