@webability/core 1.3.1 → 1.5.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/README.md +54 -2
- package/dist/dom.cjs +25 -25
- package/dist/dom.d.cts +1 -1
- package/dist/dom.d.ts +1 -1
- package/dist/dom.js +25 -25
- package/dist/index.cjs +41 -41
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +41 -41
- package/dist/playwright.cjs +396 -0
- package/dist/playwright.d.cts +20 -0
- package/dist/playwright.d.ts +20 -0
- package/dist/playwright.js +396 -0
- package/dist/{types-10iqML3X.d.cts → types-C6Lhzod6.d.cts} +10 -1
- package/dist/{types-10iqML3X.d.ts → types-C6Lhzod6.d.ts} +10 -1
- package/package.json +18 -13
|
@@ -0,0 +1,396 @@
|
|
|
1
|
+
'use strict';var a3=Object.create;var eu=Object.defineProperty;var n3=Object.getOwnPropertyDescriptor;var i3=Object.getOwnPropertyNames;var o3=Object.getPrototypeOf,s3=Object.prototype.hasOwnProperty;var qr=(h,p)=>()=>(h&&(p=h(h=0)),p);var l3=(h,p)=>()=>(p||h((p={exports:{}}).exports,p),p.exports),Br=(h,p)=>{for(var w in p)eu(h,w,{get:p[w],enumerable:true});},u3=(h,p,w,v)=>{if(p&&typeof p=="object"||typeof p=="function")for(let f of i3(p))!s3.call(h,f)&&f!==w&&eu(h,f,{get:()=>p[f],enumerable:!(v=n3(p,f))||v.enumerable});return h};var c3=(h,p,w)=>(w=h!=null?a3(o3(h)):{},u3(eu(w,"default",{value:h,enumerable:true}),h));var tu={};Br(tu,{ACCESSIBLE_NAME_JS:()=>gI,IS_HIDDEN_FROM_AT_JS:()=>bI,IS_TRACKING_PIXEL_JS:()=>yI,IS_VISIBLE_JS:()=>hI,NEARBY_CONTEXT_JS:()=>wI,UNIQUE_SELECTOR_JS:()=>mI,WIDGET_SKIP_JS:()=>vI});var mI,hI,gI,vI,bI,yI,wI,ru=qr(()=>{mI=`
|
|
2
|
+
function __isUnique(sel) {
|
|
3
|
+
try { return document.querySelectorAll(sel).length === 1; } catch { return false; }
|
|
4
|
+
}
|
|
5
|
+
function __isGeneratedId(id) {
|
|
6
|
+
// STRUCTURAL classifier, not a vendor blocklist (regex enumeration loses
|
|
7
|
+
// to variety \u2014 DEV-835 follow-up). Tuned against a labeled prod corpus:
|
|
8
|
+
// 339 known-generated vs 1123 approved ids. Any change to this function
|
|
9
|
+
// is gated by core/src/__tests__/generated-id-classifier.test.ts.
|
|
10
|
+
if (!id) return true;
|
|
11
|
+
// framework structural forms (definitive)
|
|
12
|
+
if (/^_?[Rr]_[a-z0-9]+_/.test(id)) return true; // React 18 useId SSR (+ -form-item etc.)
|
|
13
|
+
if (/^:[Rr][0-9a-z]+:/.test(id) || /^\xAB[Rr][0-9a-z]+\xBB/.test(id)) return true; // useId client (18/19)
|
|
14
|
+
if (/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i.test(id)) return true; // uuid
|
|
15
|
+
if (/^[\\w-]*(react|gatsby|root|__next|hash|uuid)[\\w-]*$/i.test(id)) return true; // legacy fast path
|
|
16
|
+
if (/^(radix|headlessui|mui|mantine|cdk|ng|ember|downshift|react-select|react-aria|floating-ui)[-_:]/i.test(id)) return true;
|
|
17
|
+
if (/[0-9a-f]{16,}/i.test(id)) return true; // long hex hash anywhere (md5/sha/objectid)
|
|
18
|
+
// general structure over delimiter tokens
|
|
19
|
+
var tokens = id.split(/[-_:.]/).filter(Boolean);
|
|
20
|
+
var hasWordToken = tokens.some(function (t) {
|
|
21
|
+
var letters = (t.match(/[a-z]/gi) || []).length;
|
|
22
|
+
var vowels = (t.match(/[aeiou]/gi) || []).length;
|
|
23
|
+
return letters >= 4 && vowels >= 1 && !/\\d/.test(t);
|
|
24
|
+
});
|
|
25
|
+
for (var i = 0; i < tokens.length; i++) {
|
|
26
|
+
var t = tokens[i];
|
|
27
|
+
// bare timestamp-scale counter \u2014 unless a word-like token anchors
|
|
28
|
+
// authored naming (Shopify Slide-template--174\u2026__main-258\u2026 is stable)
|
|
29
|
+
if (!hasWordToken && /^\\d{7,}$/.test(t)) return true;
|
|
30
|
+
if (/^[0-9a-f]{13}$/i.test(t) && /[a-f]/i.test(t) && /\\d/.test(t)) return true; // PHP uniqid() hex
|
|
31
|
+
if (t.length >= 7 && /\\d/.test(t) && /[a-z]/i.test(t)) {
|
|
32
|
+
var vw = (t.match(/[aeiou]/gi) || []).length;
|
|
33
|
+
var lt = (t.match(/[a-z]/gi) || []).length;
|
|
34
|
+
if (lt >= 4 && vw / lt < 0.2) return true; // vowel-starved base36 hash
|
|
35
|
+
if ((t.match(/\\d[a-z]|[a-z]\\d/gi) || []).length >= 4) return true; // heavy interleave
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
return false;
|
|
39
|
+
}
|
|
40
|
+
function __cleanClasses(el) {
|
|
41
|
+
if (!el.classList || !el.classList.length) return [];
|
|
42
|
+
var out = [];
|
|
43
|
+
for (var i = 0; i < el.classList.length && out.length < 3; i++) {
|
|
44
|
+
var c = el.classList[i];
|
|
45
|
+
// Skip generated/utility classes that change between builds
|
|
46
|
+
if (!c) continue;
|
|
47
|
+
if (/^(active|open|focus|hover|disabled|selected|hidden|sr-only|css-[a-z0-9]{4,}|jss[0-9]+|sc-[a-z0-9]+|[a-z]+-[a-f0-9]{6,}|_\\d|chakra-|MuiBox-|MuiButton-)$/i.test(c)) continue;
|
|
48
|
+
if (/^[a-z][a-z0-9_-]{1,40}$/i.test(c)) out.push(c);
|
|
49
|
+
}
|
|
50
|
+
return out;
|
|
51
|
+
}
|
|
52
|
+
function __tagWithClass(el) {
|
|
53
|
+
var tag = el.tagName.toLowerCase();
|
|
54
|
+
var cls = __cleanClasses(el);
|
|
55
|
+
return cls.length ? tag + '.' + cls.map(function(c){return CSS.escape(c);}).join('.') : tag;
|
|
56
|
+
}
|
|
57
|
+
function __nthSelector(el) {
|
|
58
|
+
var tag = el.tagName.toLowerCase();
|
|
59
|
+
if (!el.parentElement) return tag;
|
|
60
|
+
var sibs = Array.from(el.parentElement.children).filter(function(s){return s.tagName === el.tagName;});
|
|
61
|
+
if (sibs.length === 1) return tag;
|
|
62
|
+
return tag + ':nth-of-type(' + (sibs.indexOf(el) + 1) + ')';
|
|
63
|
+
}
|
|
64
|
+
// Guaranteed-unique positional path, anchored ALL THE WAY to <body>. Every
|
|
65
|
+
// segment uniquely picks one direct child within its parent (nth-of-type when
|
|
66
|
+
// it has same-tag siblings, bare tag otherwise), so the full chain resolves to
|
|
67
|
+
// exactly one node. Deliberately NOT capped in depth and NOT truncated: the
|
|
68
|
+
// capped/head-truncating fallbacks below can start mid-tree or lose the
|
|
69
|
+
// disambiguating leaf, producing a selector that matches several sibling
|
|
70
|
+
// subtrees (the non-unique-selector defect). This is only used when the
|
|
71
|
+
// preferred stable selector fails a uniqueness check, so it stays rare.
|
|
72
|
+
function __fullPath(el) {
|
|
73
|
+
var parts = [];
|
|
74
|
+
var cur = el;
|
|
75
|
+
while (cur && cur !== document.body && cur !== document.documentElement) {
|
|
76
|
+
parts.unshift(__nthSelector(cur));
|
|
77
|
+
cur = cur.parentElement;
|
|
78
|
+
}
|
|
79
|
+
return parts.join(' > ');
|
|
80
|
+
}
|
|
81
|
+
function uniqueSel(el) {
|
|
82
|
+
if (!el || el === document.body || el === document.documentElement) return 'body';
|
|
83
|
+
|
|
84
|
+
// 1. Real id wins immediately if it's actually unique on the document.
|
|
85
|
+
// Skip machine-generated ids (React useId, radix, uuid, counters) \u2014
|
|
86
|
+
// they change on every render/deploy and produce phantom selectors.
|
|
87
|
+
if (el.id && !__isGeneratedId(el.id)) {
|
|
88
|
+
var idSel = '#' + CSS.escape(el.id);
|
|
89
|
+
if (__isUnique(idSel)) return idSel;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
// 2. Test-friendly data attributes \u2014 these are stable across renders by
|
|
93
|
+
// convention. data-testid, data-cy, data-qa, data-test, data-component.
|
|
94
|
+
var dataAttrs = ['data-testid','data-cy','data-qa','data-test','data-component','data-id','data-key'];
|
|
95
|
+
for (var i = 0; i < dataAttrs.length; i++) {
|
|
96
|
+
var v = el.getAttribute(dataAttrs[i]);
|
|
97
|
+
if (v && v.length < 60) {
|
|
98
|
+
var dSel = el.tagName.toLowerCase() + '[' + dataAttrs[i] + '="' + CSS.escape(v) + '"]';
|
|
99
|
+
if (__isUnique(dSel)) return dSel;
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
// 3. Tag + class combination if globally unique.
|
|
104
|
+
var tagClass = __tagWithClass(el);
|
|
105
|
+
if (tagClass.indexOf('.') !== -1 && __isUnique(tagClass)) return tagClass;
|
|
106
|
+
|
|
107
|
+
// 4. Anchor from nearest ancestor with a stable handle (id or unique class),
|
|
108
|
+
// descend using child class-or-nth selectors. This produces selectors
|
|
109
|
+
// that survive small DOM shifts because the anchor is fixed.
|
|
110
|
+
var ancestors = [];
|
|
111
|
+
var anchor = null;
|
|
112
|
+
var cur = el;
|
|
113
|
+
while (cur && cur !== document.body && cur !== document.documentElement) {
|
|
114
|
+
if (cur.id && !__isGeneratedId(cur.id)) {
|
|
115
|
+
var aSel = '#' + CSS.escape(cur.id);
|
|
116
|
+
if (__isUnique(aSel)) { anchor = aSel; break; }
|
|
117
|
+
}
|
|
118
|
+
var atc = __tagWithClass(cur);
|
|
119
|
+
if (atc.indexOf('.') !== -1 && __isUnique(atc)) { anchor = atc; break; }
|
|
120
|
+
ancestors.unshift(cur);
|
|
121
|
+
cur = cur.parentElement;
|
|
122
|
+
if (ancestors.length > 6) break;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
var descend = ancestors.map(function(node) {
|
|
126
|
+
var tc = __tagWithClass(node);
|
|
127
|
+
if (tc.indexOf('.') !== -1 && node.parentElement) {
|
|
128
|
+
var sameTagClass = node.parentElement.querySelectorAll(':scope > ' + tc);
|
|
129
|
+
if (sameTagClass.length === 1) return '> ' + tc;
|
|
130
|
+
}
|
|
131
|
+
return '> ' + __nthSelector(node);
|
|
132
|
+
}).join(' ');
|
|
133
|
+
|
|
134
|
+
var candidate = '';
|
|
135
|
+
if (anchor && descend) candidate = (anchor + ' ' + descend).slice(0, 200);
|
|
136
|
+
else if (anchor) candidate = anchor;
|
|
137
|
+
// Only trust the stable selector if it actually resolves to ONE node. The
|
|
138
|
+
// anchor is verified unique, but the 200-char slice can drop the
|
|
139
|
+
// disambiguating tail and leave a selector that matches several elements \u2014
|
|
140
|
+
// the non-unique-selector defect (duplicate suggestions collapsing onto one
|
|
141
|
+
// shared selector). Verify before returning.
|
|
142
|
+
if (candidate && __isUnique(candidate)) return candidate;
|
|
143
|
+
|
|
144
|
+
// 5. Guaranteed-unique positional path from <body>. Preferred over the old
|
|
145
|
+
// 6-level-capped/truncated fallback because those could return a
|
|
146
|
+
// non-unique path; only reached when the stable selector above is
|
|
147
|
+
// missing or non-unique.
|
|
148
|
+
var full = __fullPath(el);
|
|
149
|
+
if (full && __isUnique(full)) return full;
|
|
150
|
+
|
|
151
|
+
// Absolute last resort: return the best we have rather than an empty string
|
|
152
|
+
// (an empty selector is unactionable downstream).
|
|
153
|
+
return candidate || full || __tagWithClass(el);
|
|
154
|
+
}
|
|
155
|
+
`,hI=`
|
|
156
|
+
function isVisible(el) {
|
|
157
|
+
if (!el) return false;
|
|
158
|
+
const s = getComputedStyle(el);
|
|
159
|
+
if (s.display === 'none' || s.visibility === 'hidden') return false;
|
|
160
|
+
const opacity = parseFloat(s.opacity);
|
|
161
|
+
if (!isNaN(opacity) && opacity < 0.1) return false;
|
|
162
|
+
if (!isNaN(opacity) && opacity < 0.5) {
|
|
163
|
+
// Pre-animation: low opacity + transform that isn't the identity matrix
|
|
164
|
+
// (matrix(1, 0, 0, 1, 0, 0) or 'none') = element is mid-fade-in.
|
|
165
|
+
var t = s.transform || '';
|
|
166
|
+
if (t && t !== 'none' && t !== 'matrix(1, 0, 0, 1, 0, 0)') return false;
|
|
167
|
+
}
|
|
168
|
+
const r = el.getBoundingClientRect();
|
|
169
|
+
// sr-only / visually-hidden pattern: 1x1 (or collapsed) box, usually with
|
|
170
|
+
// clip/clip-path. AT can read it, sighted users cannot \u2014 for visual
|
|
171
|
+
// checks (contrast, icons, target size) it is NOT visible.
|
|
172
|
+
if (r.width <= 1 || r.height <= 1) return false;
|
|
173
|
+
var cp = s.clipPath || '';
|
|
174
|
+
if (cp !== 'none' && /inset\\(\\s*(?:50|100)%/.test(cp)) return false;
|
|
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
|
+
return true;
|
|
177
|
+
}
|
|
178
|
+
`,gI=`
|
|
179
|
+
// aria-labelledby/-describedby take SPACE-SEPARATED idref lists; resolving
|
|
180
|
+
// the whole attribute with getElementById silently failed on multi-ID
|
|
181
|
+
// references (bug existed in 7 copies across detectors \u2014 now one kernel).
|
|
182
|
+
function __resolveIdRefs(idrefs) {
|
|
183
|
+
if (!idrefs) return '';
|
|
184
|
+
var parts = [];
|
|
185
|
+
var ids = String(idrefs).trim().split(/\\s+/);
|
|
186
|
+
for (var i = 0; i < ids.length; i++) {
|
|
187
|
+
var ref = document.getElementById(ids[i]);
|
|
188
|
+
if (ref) {
|
|
189
|
+
var t = (ref.textContent || '').trim();
|
|
190
|
+
if (t) parts.push(t);
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
return parts.join(' ').replace(/\\s+/g, ' ').trim();
|
|
194
|
+
}
|
|
195
|
+
function getAccessibleName(el) {
|
|
196
|
+
// 1. aria-labelledby (full idref-list resolution)
|
|
197
|
+
var fromRefs = __resolveIdRefs(el.getAttribute('aria-labelledby'));
|
|
198
|
+
if (fromRefs) return fromRefs;
|
|
199
|
+
// 2. aria-label
|
|
200
|
+
var ariaLabel = el.getAttribute('aria-label') || '';
|
|
201
|
+
if (ariaLabel.trim()) return ariaLabel.trim();
|
|
202
|
+
// 3. native label association for form controls
|
|
203
|
+
var tag = el.tagName ? el.tagName.toLowerCase() : '';
|
|
204
|
+
if (tag === 'input' || tag === 'select' || tag === 'textarea') {
|
|
205
|
+
if (el.id) {
|
|
206
|
+
try {
|
|
207
|
+
var lbl = document.querySelector('label[for="' + CSS.escape(el.id) + '"]');
|
|
208
|
+
if (lbl && (lbl.textContent || '').trim()) return (lbl.textContent || '').trim().replace(/\\s+/g, ' ');
|
|
209
|
+
} catch (e) { /* invalid id chars */ }
|
|
210
|
+
}
|
|
211
|
+
var wrap = el.closest ? el.closest('label') : null;
|
|
212
|
+
if (wrap && (wrap.textContent || '').trim()) return (wrap.textContent || '').trim().replace(/\\s+/g, ' ');
|
|
213
|
+
}
|
|
214
|
+
// 4. name from content, including descendant img alt / svg title
|
|
215
|
+
var content = (el.textContent || '').trim().replace(/\\s+/g, ' ');
|
|
216
|
+
if (!content && el.querySelector) {
|
|
217
|
+
var img = el.querySelector('img[alt]:not([alt=""])');
|
|
218
|
+
if (img) content = (img.getAttribute('alt') || '').trim();
|
|
219
|
+
if (!content) {
|
|
220
|
+
var svgTitle = el.querySelector('svg > title');
|
|
221
|
+
if (svgTitle) content = (svgTitle.textContent || '').trim();
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
if (content) return content;
|
|
225
|
+
// 5. title attribute fallback
|
|
226
|
+
var title = el.getAttribute('title') || '';
|
|
227
|
+
return title.trim();
|
|
228
|
+
}
|
|
229
|
+
`,vI=`
|
|
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
|
+
function isWidget(el) {
|
|
232
|
+
if (!el) return false;
|
|
233
|
+
return el.closest(WIDGET_SKIP) !== null;
|
|
234
|
+
}
|
|
235
|
+
`,bI=`
|
|
236
|
+
function isHiddenFromAT(el) {
|
|
237
|
+
if (!el) return false;
|
|
238
|
+
if (el.getAttribute('aria-hidden') === 'true') return true;
|
|
239
|
+
if (el.getAttribute('role') === 'presentation' || el.getAttribute('role') === 'none') return true;
|
|
240
|
+
// Check ancestors \u2014 cap at 6 levels to match the Python analyzer's
|
|
241
|
+
// parent-walk behavior (links.py hierarchy_level < 3 + margin). Prevents
|
|
242
|
+
// pathological walks on deeply-nested pages with 20+ wrapper divs.
|
|
243
|
+
let cur = el.parentElement;
|
|
244
|
+
let depth = 0;
|
|
245
|
+
while (cur && cur !== document.body && depth < 6) {
|
|
246
|
+
if (cur.getAttribute('aria-hidden') === 'true') return true;
|
|
247
|
+
cur = cur.parentElement;
|
|
248
|
+
depth++;
|
|
249
|
+
}
|
|
250
|
+
return false;
|
|
251
|
+
}
|
|
252
|
+
`,yI=`
|
|
253
|
+
function isTrackingPixel(img) {
|
|
254
|
+
const w = img.naturalWidth || img.width || 0;
|
|
255
|
+
const h = img.naturalHeight || img.height || 0;
|
|
256
|
+
if (w <= 2 && h <= 2) return true;
|
|
257
|
+
const rect = img.getBoundingClientRect();
|
|
258
|
+
if (rect.width <= 2 && rect.height <= 2) return true;
|
|
259
|
+
const src = (img.src || '').toLowerCase();
|
|
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
|
+
return false;
|
|
262
|
+
}
|
|
263
|
+
`,wI=`
|
|
264
|
+
function getNearbyContext(el) {
|
|
265
|
+
// Walk up to the nearest semantic container
|
|
266
|
+
var container = el.closest('article,section,li,.card,[class*=card],[class*=post],[class*=item],[class*=product],[class*=entry]');
|
|
267
|
+
if (!container) container = el.closest('div,nav,main,aside,header,footer');
|
|
268
|
+
var h = container ? container.querySelector('h1,h2,h3,h4,h5,h6') : null;
|
|
269
|
+
var hText = h ? (h.textContent || '').trim().slice(0, 80) : '';
|
|
270
|
+
var parent = el.parentElement;
|
|
271
|
+
var parentTag = parent ? parent.tagName.toLowerCase() : '';
|
|
272
|
+
var parentRole = parent ? (parent.getAttribute('role') || '') : '';
|
|
273
|
+
|
|
274
|
+
// Grab sibling/card text for richer AI context
|
|
275
|
+
var cardText = '';
|
|
276
|
+
if (container) {
|
|
277
|
+
var p = container.querySelector('p,.description,.excerpt,[class*=desc],[class*=summary]');
|
|
278
|
+
if (p) cardText = (p.textContent || '').trim().slice(0, 120);
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
// Check for an associated image alt (common in product/post cards)
|
|
282
|
+
var imgAlt = '';
|
|
283
|
+
if (container) {
|
|
284
|
+
var img = container.querySelector('img[alt]:not([alt=""])');
|
|
285
|
+
if (img) imgAlt = (img.getAttribute('alt') || '').trim().slice(0, 60);
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
return { nearbyHeading: hText, parentTag: parentTag, parentRole: parentRole, cardText: cardText, imgAlt: imgAlt };
|
|
289
|
+
}
|
|
290
|
+
`;});var Bh={};Br(Bh,{ICON_LABELS_JS:()=>AI,ICON_LABELS_JSON:()=>_I,lookupIconLabel:()=>DI});function DI(h,p="",w=""){let v=[];if(h)for(let f of h.split(/\s+/)){if(!f)continue;let x=f.toLowerCase().replace(xI,"").replace(/^icon-/,"");x&&x!==f.toLowerCase()&&v.push(x);}if(p&&v.push(p.toLowerCase().trim()),w){let f=w.trim().toLowerCase();f.length<30&&/^[a-z_-]+$/.test(f)&&v.push(f.replace(/_/g,"-"));}for(let f of v)if(Ha[f])return Ha[f];for(let f of v)for(let x of f.split("-"))if(Ha[x])return Ha[x];return null}var Ha,xI,_I,AI,Hh=qr(()=>{Ha={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"},xI=/^(fa|fas|far|fab|fal|fad|fass|bi|bi-icon|material-icons|material-symbols|ion|ionicon|feather|lucide|dashicons|glyphicon|icofont|heroicon)-/;_I=JSON.stringify(Ha),AI=`
|
|
291
|
+
var __ICON_LABELS = ${JSON.stringify(Ha)};
|
|
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
|
+
function lookupIconLabel(classString, dataIcon, textContent) {
|
|
294
|
+
var parts = [];
|
|
295
|
+
if (classString) {
|
|
296
|
+
var tokens = classString.split(/\\s+/);
|
|
297
|
+
for (var i = 0; i < tokens.length; i++) {
|
|
298
|
+
var cls = tokens[i];
|
|
299
|
+
if (!cls) continue;
|
|
300
|
+
var stripped = cls.toLowerCase().replace(__ICON_PREFIX_STRIP, '').replace(/^icon-/, '');
|
|
301
|
+
if (stripped && stripped !== cls.toLowerCase()) parts.push(stripped);
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
if (dataIcon) parts.push(dataIcon.toLowerCase().trim());
|
|
305
|
+
if (textContent) {
|
|
306
|
+
var t = textContent.trim().toLowerCase();
|
|
307
|
+
if (t.length < 30 && /^[a-z_-]+$/.test(t)) parts.push(t.replace(/_/g, '-'));
|
|
308
|
+
}
|
|
309
|
+
for (var j = 0; j < parts.length; j++) {
|
|
310
|
+
if (__ICON_LABELS[parts[j]]) return __ICON_LABELS[parts[j]];
|
|
311
|
+
}
|
|
312
|
+
for (var k = 0; k < parts.length; k++) {
|
|
313
|
+
var subs = parts[k].split('-');
|
|
314
|
+
for (var m = 0; m < subs.length; m++) {
|
|
315
|
+
if (__ICON_LABELS[subs[m]]) return __ICON_LABELS[subs[m]];
|
|
316
|
+
}
|
|
317
|
+
}
|
|
318
|
+
return null;
|
|
319
|
+
}
|
|
320
|
+
`;});var Vh={};Br(Vh,{COLOR_MATH_JS:()=>EI});var EI,jh=qr(()=>{EI=`
|
|
321
|
+
var __colorCtx;
|
|
322
|
+
function parseCssColor(str) {
|
|
323
|
+
if (!str) return null;
|
|
324
|
+
var m = str.match(/rgba?\\(\\s*(\\d+)\\s*,\\s*(\\d+)\\s*,\\s*(\\d+)\\s*(?:,\\s*([\\d.]+))?\\s*\\)/);
|
|
325
|
+
if (m) return [parseInt(m[1], 10), parseInt(m[2], 10), parseInt(m[3], 10), m[4] ? parseFloat(m[4]) : 1];
|
|
326
|
+
if (str === 'transparent' || str === 'none') return [0, 0, 0, 0];
|
|
327
|
+
try {
|
|
328
|
+
if (__colorCtx === undefined) {
|
|
329
|
+
var c = document.createElement('canvas');
|
|
330
|
+
c.width = 1; c.height = 1;
|
|
331
|
+
__colorCtx = c.getContext('2d', { willReadFrequently: true });
|
|
332
|
+
}
|
|
333
|
+
if (!__colorCtx) return null;
|
|
334
|
+
__colorCtx.clearRect(0, 0, 1, 1);
|
|
335
|
+
__colorCtx.fillStyle = '#000000';
|
|
336
|
+
__colorCtx.fillStyle = str; // invalid values keep the previous fillStyle
|
|
337
|
+
__colorCtx.fillRect(0, 0, 1, 1);
|
|
338
|
+
var d = __colorCtx.getImageData(0, 0, 1, 1).data;
|
|
339
|
+
return [d[0], d[1], d[2], d[3] / 255];
|
|
340
|
+
} catch (e) {
|
|
341
|
+
return null;
|
|
342
|
+
}
|
|
343
|
+
}
|
|
344
|
+
function relLuminance(r, g, b) {
|
|
345
|
+
var f = function (v) {
|
|
346
|
+
var x = v / 255;
|
|
347
|
+
return x <= 0.03928 ? x / 12.92 : Math.pow((x + 0.055) / 1.055, 2.4);
|
|
348
|
+
};
|
|
349
|
+
return 0.2126 * f(r) + 0.7152 * f(g) + 0.0722 * f(b);
|
|
350
|
+
}
|
|
351
|
+
function contrastRatio(fg, bg) {
|
|
352
|
+
var l1 = relLuminance(fg[0], fg[1], fg[2]);
|
|
353
|
+
var l2 = relLuminance(bg[0], bg[1], bg[2]);
|
|
354
|
+
var hi = Math.max(l1, l2), lo = Math.min(l1, l2);
|
|
355
|
+
return (hi + 0.05) / (lo + 0.05);
|
|
356
|
+
}
|
|
357
|
+
`;});var $h={};Br($h,{applyPlatformTemplates:()=>kI,detectPlatform:()=>SI,isAriaHiddenSafeForTemplate:()=>au});function au(h){let p=h.trim().split(/[\s>~+]+/),v=p[p.length-1].trim().match(/^([a-zA-Z][a-zA-Z0-9-]*)/);if(!v)return true;let f=v[1].toLowerCase();return f==="body"||f==="html"?false:!new Set(["a","button","input","select","textarea"]).has(f)}function CI(){if(Va)return Va;try{let h=globalThis.process,p=h?.getBuiltinModule?.("fs"),w=h?.getBuiltinModule?.("path");if(!p||!w)throw new Error("fs unavailable");let v=p.readFileSync(w.join(__dirname,"platformTemplates.json"),"utf-8");return Va=JSON.parse(v),Va}catch{return Va={},Va}}async function SI(h){return h.evaluate(()=>{let p=[],w=document.documentElement.outerHTML.slice(0,5e4).toLowerCase(),f=(document.querySelector('meta[name="generator"]')?.getAttribute("content")||"").toLowerCase();return (w.includes("shopify")||w.includes("cdn.shopify.com")||window.Shopify)&&p.push("shopify"),(f.includes("wordpress")||w.includes("wp-content")||w.includes("wp-includes"))&&p.push("wordpress"),(w.includes("civicplus")||w.includes("civicalerts")||w.includes("cpslider")||document.querySelector(".cpSlider, #breadCrumbs, .rcPrev, .rcNext"))&&p.push("civicplus"),(w.includes("finalsite")||document.querySelector(".fsHeader, .fsCalendar, .fsPanelGroup, #fsPoweredByFinalsite"))&&p.push("finalsite"),(w.includes("dealersocket")||w.includes("dealer.com")||document.querySelector(".ddc-tracking, .inventory-listing-default, .vlp-refine"))&&p.push("dealer"),(w.includes("wix.com")||w.includes("wixsite.com"))&&p.push("wix"),(w.includes("squarespace")||f.includes("squarespace"))&&p.push("squarespace"),(w.includes("webflow")||f.includes("webflow"))&&p.push("webflow"),p.push("universal"),p.push("universal_iframe"),p})}async function kI(h,p,w="scan"){let v=CI(),f=[];for(let g of p)v[g]&&f.push(...v[g]);return f.length?w==="manifest"?f.filter(g=>g.attribute==="aria-hidden"&&g.value==="true"?au(g.selector):true).map(g=>({selector:g.selector,attribute:g.attribute,currentValue:"",issueType:g.attribute==="alt"?"missing_alt":g.attribute==="aria-label"?"missing_label":"missing_semantic_role",wcag:g.attribute==="alt"?"1.1.1":"4.1.2",context:`platform:${g.platform} (template)`,needsAI:false,fixValue:g.value})):(await h.evaluate(g=>{let b=[];for(let _ of g)try{let R=document.querySelectorAll(_.selector);if(R.length>0){let D=!1;for(let A of R){let T=A.getAttribute(_.attribute)||"";if(_.attribute==="alt"&&A.getAttribute("alt")===null)D=!0;else if(_.attribute==="alt"&&T===""&&_.value==="")D=!0;else if(_.attribute==="aria-label"&&!T)D=!0;else if(_.attribute==="title"&&!T)D=!0;else if(_.attribute==="role"&&T!==_.value)D=!0;else if(_.attribute==="aria-level"&&!A.getAttribute("aria-level"))D=!0;else if(_.attribute==="aria-hidden"&&A.getAttribute("aria-hidden")!=="true"){let S=A.tagName.toLowerCase(),E=S==="a"&&A.hasAttribute("href")||S==="button"||S==="input"||S==="select"||S==="textarea"||Number(A.getAttribute("tabindex")??-1)>=0;S!=="body"&&S!=="html"&&!E&&(D=!0);}if(D)break}D&&b.push({selector:_.selector,attribute:_.attribute,value:_.value,platform:_.platform,matchCount:R.length});}}catch{}return b},f.filter(g=>!(g.attribute==="aria-hidden"&&g.value==="true")||au(g.selector)).map(g=>({selector:g.selector,attribute:g.attribute,value:g.value,platform:g.platform})))).map(g=>({selector:g.selector,attribute:g.attribute,currentValue:"",issueType:g.attribute==="alt"?"missing_alt":g.attribute==="aria-label"?"missing_label":"missing_semantic_role",wcag:g.attribute==="alt"?"1.1.1":"4.1.2",context:`platform:${g.platform} (${g.matchCount} elements)`,needsAI:false,fixValue:g.value})):[]}var Va,zh=qr(()=>{Va=null;});var Xh=l3((Uh,qn)=>{(function h(p){var w=p,v=p.document,f=f||{};f.version="4.11.3",typeof define=="function"&&define.amd&&define("axe-core",[],function(){return f}),(typeof qn>"u"?"undefined":ae(qn))==="object"&&qn.exports&&typeof h.toString=="function"&&(f.source="("+h.toString()+')(typeof window === "object" ? window : this);',qn.exports=f),typeof p.getComputedStyle=="function"&&(p.axe=f);var g=["precision","format","inGamut"],b=["space"],_=["algorithm"],R=["method"],D=["maxDeltaE","deltaEMethod","steps","maxSteps"],A=["node"],T=["relatedNodes"],S=["node"],E=["variant"],F=["matches"],P=["chromium"],M=["noImplicit"],H=["noPresentational"],$=["node"],z=["environmentData"],K=["environmentData"],j=["environmentData"],W=["environmentData"],Z=["environmentData"];function te(U){return Wt(U)||jn(U)||zn(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=Hr(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 $n(U)||jn(U)||zn(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 jn(U){if(typeof Symbol<"u"&&U[Symbol.iterator]!=null||U["@@iterator"]!=null)return Array.from(U)}function $n(U){if(Array.isArray(U))return Gn(U)}function lr(U,J,ce){ja(U,J),J.set(U,ce);}function aa(U,J){ja(U,J),J.add(U);}function ja(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)||zn(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($a){Bt=true,ot=$a;}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,Hr(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 Hr(U){var J=na(U,"string");return ae(J)=="symbol"?J:J+""}function na(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=zn(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 zn(U,J){if(U){if(typeof U=="string")return Gn(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)?Gn(U,J):void 0}}function Gn(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,$a){var gg=Object.create,za=Object.defineProperty,vg=Object.getPrototypeOf,bg=Object.prototype.hasOwnProperty,yg=Object.getOwnPropertyNames,wg=Object.getOwnPropertyDescriptor,xg=function(t,r,a){return r in t?za(t,r,{enumerable:true,configurable:true,writable:true,value:a}):t[r]=a},Dg=function(t){return za(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)za(t,a,{get:r[a],enumerable:true});},_g=function(t,r,a){if(r&&ae(r)==="object"||typeof r=="function"){var n=Ge(yg(r)),i;try{var o=function(){var l=i.value;!bg.call(t,l)&&l!=="default"&&za(t,l,{get:function(){return r[l]},enumerable:!(a=wg(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 _g(Dg(za(t!=null?gg(vg(t)):{},"default",t&&t.__esModule&&"default"in t?{get:function(){return t.default},enumerable:true}:{value:t,enumerable:true})),t)},du=function(t,r,a){return xg(t,ae(r)!=="symbol"?r+"":r,a),a},Ag=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 m=typeof p<"u"?p:void 0,y=m||{},C=y.MutationObserver||y.WebKitMutationObserver,k=typeof self>"u"&&typeof process<"u"&&{}.toString.call(process)==="[object process]",I=typeof Uint8ClampedArray<"u"&&typeof importScripts<"u"&&typeof MessageChannel<"u";function L(){return function(){return process.nextTick(Q)}}function O(){return typeof s<"u"?function(){s(Q);}:V()}function q(){var Y=0,oe=new C(Q),fe=v.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,O()}catch{return V()}}var he=void 0;k?he=L():C?he=q():I?he=B():m===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,Me=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===Me?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 Oe(Y){Y._onerror&&Y._onerror(Y._result),nt(Y);}function we(Y,oe){Y._state===Se&&(Y._result=oe,Y._state=Me,Y._subscribers.length!==0&&u(nt,Y));}function Ae(Y,oe){Y._state===Se&&(Y._state=xe,Y._result=oe,u(Oe,Y));}function Xe(Y,oe,fe,De){var Ne=Y._subscribers,$e=Ne.length;Y._onerror=null,Ne[$e]=oe,Ne[$e+Me]=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,Ba=true;if(Ne){try{$e=fe(De);}catch(Do){Ba=false,St=Do;}if(oe===$e){Ae(oe,de());return}}else $e=De;oe._state!==Se||(Ne&&Ba?be(oe,$e):Ba===false?Ae(oe,St):Y===Me?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 qa(){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,qa());}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,Ba=void 0,Do=false;try{St=fe.then;}catch(Ql){Do=true,Ba=Ql;}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 Zl=new Ne(ge);Do?Ae(Zl,Ba):se(Zl,fe,St),this._willSettleAt(Zl,De);}else this._willSettleAt(new Ne(function(Ql){return Ql(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(Me,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 w<"u")Y=w;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});}),Eg=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,Oe){return Oe in be},HasOwnProperty:function(be,Oe){return ve.call(be,Oe)},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},m;Object.defineProperty&&(function(){try{return Object.defineProperty({},"x",{}),!0}catch{return false}})()?m=Object.defineProperty:m=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 y(G){if(d&&m){var ve=d(G),se;for(se=0;se<ve.length;se+=1)m(G,ve[se],{value:G[ve[se]],writable:false,enumerable:false,configurable:false});}}function C(G){if(!m)return;if(G.length>t)throw new RangeError("Array too large for polyfill");function ve(be){m(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 k(G,ve){var se=32-ve;return G<<se>>se}function I(G,ve){var se=32-ve;return G<<se>>>se}function L(G){return [G&255]}function O(G){return k(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 k(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 k(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,Oe,we,Ae,Xe,nt,lt,bt;function Et(_t){var dt=i(_t),qa=_t-dt;return qa<.5?dt:qa>.5||dt%2?dt+1:dt}for(G!==G?(we=(1<<ve)-1,Ae=l(2,se-1),Oe=0):G===1/0||G===-1/0?(we=(1<<ve)-1,Ae=0,Oe=G<0?1:0):G===0?(we=0,Ae=0,Oe=1/G===-1/0?1:0):(Oe=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(Oe?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 Me(G,ve,se){var be=[],Oe,we,Ae,Xe,nt,lt,bt,Et;for(Oe=G.length;Oe;Oe-=1)for(Ae=G[Oe-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 Me(G,11,52)}function Re(G){return Se(G,11,52)}function de(G){return Me(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;y(this);}e.ArrayBuffer=e.ArrayBuffer||G;function ve(){}function se(_t,dt,qa){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,y(this),C(this);},Lt.prototype=new ve,Lt.prototype.BYTES_PER_ELEMENT=_t,Lt.prototype._pack=dt,Lt.prototype._unpack=qa,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,L,O),Oe=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||Oe,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");y(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&<.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 Oe(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=Oe(e.Uint8Array),se.prototype.setInt8=Oe(e.Int8Array),se.prototype.setUint16=Oe(e.Uint16Array),se.prototype.setInt16=Oe(e.Int16Array),se.prototype.setUint32=Oe(e.Uint32Array),se.prototype.setInt32=Oe(e.Int32Array),se.prototype.setFloat32=Oe(e.Float32Array),se.prototype.setFloat64=Oe(e.Float64Array),e.DataView=e.DataView||se;})();}),Cg=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 m=c[this._id];return m&&m[0]===c?(m[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 w<"u"?w: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 w>"u"?"undefined":ae(w))=="object"&&w)||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}};}),Wn=N(function(e,t){var r=dr();t.exports=!r(function(){var a=function(){}.bind();return typeof a!="function"||a.hasOwnProperty("prototype")});}),Sg=N(function(e,t){var r=Wn(),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=Wn(),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)}};}),Un=N(function(e,t){var r=tr(),a=r({}.toString),n=r("".slice);t.exports=function(i){return n(a(i),8,-1)};}),fu=N(function(e,t){var r=Un(),a=tr();t.exports=function(n){if(r(n)==="Function")return a(n)};}),Vt=N(function(e,t){var r=(typeof v>"u"?"undefined":ae(v))=="object"&&v.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});}),ia=N(function(e,t){var r=Wn(),a=Function.prototype.call;t.exports=r?a.bind(a):function(){return a.apply(a,arguments)};}),pu=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;}),Xn=N(function(e,t){t.exports=function(r,a){return {enumerable:!(r&1),configurable:!(r&2),writable:!(r&4),value:a}};}),kg=N(function(e,t){var r=tr(),a=dr(),n=Un(),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;}),Co=N(function(e,t){t.exports=function(r){return r==null};}),Yn=N(function(e,t){var r=Co(),a=TypeError;t.exports=function(n){if(r(n))throw new a("Can't call method on "+n);return n};}),Ga=N(function(e,t){var r=kg(),a=Yn();t.exports=function(n){return r(a(n))};}),Vr=N(function(e,t){var r=Vt();t.exports=function(a){return ae(a)=="object"?a!==null:r(a)};}),Wa=N(function(e,t){t.exports={};}),So=N(function(e,t){var r=Wa(),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]};}),Tg=N(function(e,t){var r=tr();t.exports=r({}.isPrototypeOf);}),Fg=N(function(e,t){var r=cr(),a=r.navigator,n=a&&a.userAgent;t.exports=n?String(n):"";}),Rg=N(function(e,t){var r=cr(),a=Fg(),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;}),mu=N(function(e,t){var r=Rg(),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});}),hu=N(function(e,t){var r=mu();t.exports=r&&!Symbol.sham&&ae(Symbol.iterator)=="symbol";}),gu=N(function(e,t){var r=So(),a=Vt(),n=Tg(),i=hu(),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))};}),vu=N(function(e,t){var r=String;t.exports=function(a){try{return r(a)}catch{return "Object"}};}),Kn=N(function(e,t){var r=Vt(),a=vu(),n=TypeError;t.exports=function(i){if(r(i))return i;throw new n(a(i)+" is not a function")};}),ko=N(function(e,t){var r=Kn(),a=Co();t.exports=function(n,i){var o=n[i];return a(o)?void 0:r(o)};}),Ig=N(function(e,t){var r=ia(),a=Vt(),n=Vr(),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")};}),To=N(function(e,t){t.exports=true;}),Lg=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};}),Jn=N(function(e,t){var r=To(),a=cr(),n=Lg(),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"});}),bu=N(function(e,t){var r=Jn();t.exports=function(a,n){return r[a]||(r[a]=n||{})};}),Fo=N(function(e,t){var r=Yn(),a=Object;t.exports=function(n){return a(r(n))};}),Fr=N(function(e,t){var r=tr(),a=Fo(),n=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(o,s){return n(a(o),s)};}),yu=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=bu(),n=Fr(),i=yu(),o=mu(),s=hu(),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]};}),Pg=N(function(e,t){var r=ia(),a=Vr(),n=gu(),i=ko(),o=Ig(),s=Rr(),l=TypeError,u=s("toPrimitive");t.exports=function(c,d){if(!a(c)||n(c))return c;var m=i(c,u),y;if(m){if(d===void 0&&(d="default"),y=r(m,c,d),!a(y)||n(y))return y;throw new l("Can't convert object to primitive value")}return d===void 0&&(d="number"),o(c,d)};}),wu=N(function(e,t){var r=Pg(),a=gu();t.exports=function(n){var i=r(n,"string");return a(i)?i:i+""};}),xu=N(function(e,t){var r=cr(),a=Vr(),n=r.document,i=a(n)&&a(n.createElement);t.exports=function(o){return i?n.createElement(o):{}};}),Du=N(function(e,t){var r=yr(),a=dr(),n=xu();t.exports=!r&&!a(function(){return Object.defineProperty(n("div"),"a",{get:function(){return 7}}).a!==7});}),Og=N(function(e){var t=yr(),r=ia(),a=pu(),n=Xn(),i=Ga(),o=wu(),s=Fr(),l=Du(),u=Object.getOwnPropertyDescriptor;e.f=t?u:function(d,m){if(d=i(d),m=o(m),l)try{return u(d,m)}catch{}if(s(d,m))return n(!r(a.f,d,m),d[m])};}),Mg=N(function(e,t){var r=dr(),a=Vt(),n=/#|\.prototype\./,i=function(d,m){var y=s[o(d)];return y===u?true:y===l?false:a(m)?r(m):!!m},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;}),_u=N(function(e,t){var r=fu(),a=Kn(),n=Wn(),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)}};}),Au=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});}),ya=N(function(e,t){var r=Vr(),a=String,n=TypeError;t.exports=function(i){if(r(i))return i;throw new n(a(i)+" is not an object")};}),Zn=N(function(e){var t=yr(),r=Du(),a=Au(),n=ya(),i=wu(),o=TypeError,s=Object.defineProperty,l=Object.getOwnPropertyDescriptor,u="enumerable",c="configurable",d="writable";e.f=t?a?function(y,C,k){if(n(y),C=i(C),n(k),typeof y=="function"&&C==="prototype"&&"value"in k&&d in k&&!k[d]){var I=l(y,C);I&&I[d]&&(y[C]=k.value,k={configurable:c in k?k[c]:I[c],enumerable:u in k?k[u]:I[u],writable:false});}return s(y,C,k)}:s:function(y,C,k){if(n(y),C=i(C),n(k),r)try{return s(y,C,k)}catch{}if("get"in k||"set"in k)throw new o("Accessors not supported");return "value"in k&&(y[C]=k.value),y};}),Ua=N(function(e,t){var r=yr(),a=Zn(),n=Xn();t.exports=r?function(i,o,s){return a.f(i,o,n(1,s))}:function(i,o,s){return i[o]=s,i};}),Qn=N(function(e,t){var r=cr(),a=Sg(),n=fu(),i=Vt(),o=Og().f,s=Mg(),l=Wa(),u=_u(),c=Ua(),d=Fr();Jn();var m=function(C){var k=function(L,O,q){if(this instanceof k){switch(arguments.length){case 0:return new C;case 1:return new C(L);case 2:return new C(L,O)}return new C(L,O,q)}return a(C,this,arguments)};return k.prototype=C.prototype,k};t.exports=function(y,C){var k=y.target,I=y.global,L=y.stat,O=y.proto,q=I?r:L?r[k]:r[k]&&r[k].prototype,B=I?l:l[k]||c(l,k,{})[k],V=B.prototype,X,Q,ne,he,ee,ue,pe,ge,Se;for(he in C)X=s(I?he:k+(L?".":"#")+he,y.forced),Q=!X&&q&&d(q,he),ue=B[he],Q&&(y.dontCallGetSet?(Se=o(q,he),pe=Se&&Se.value):pe=q[he]),ee=Q&&pe?pe:C[he],!(!X&&!O&&ae(ue)==ae(ee))&&(y.bind&&Q?ge=u(ee,r):y.wrap&&Q?ge=m(ee):O&&i(ee)?ge=n(ee):ge=ee,(y.sham||ee&&ee.sham||ue&&ue.sham)&&c(ge,"sham",true),c(B,he,ge),O&&(ne=k+"Prototype",d(l,ne)||c(l,ne,{}),c(l[ne],he,ee),y.real&&V&&(X||!V[he])&&c(V,he,ee)));};}),Ng=N(function(){var e=Qn(),t=Fr();e({target:"Object",stat:true},{hasOwn:t});}),qg=N(function(e,t){Ng();var r=Wa();t.exports=r.Object.hasOwn;}),Bg=N(function(e,t){var r=qg();t.exports=r;}),Hg=N(function(e,t){var r=Bg();t.exports=r;}),Ro=N(function(e,t){var r=bu(),a=yu(),n=r("keys");t.exports=function(i){return n[i]||(n[i]=a(i))};}),Vg=N(function(e,t){var r=dr();t.exports=!r(function(){function a(){}return a.prototype.constructor=null,Object.getPrototypeOf(new a)!==a.prototype});}),Io=N(function(e,t){var r=Fr(),a=Vt(),n=Fo(),i=Ro(),o=Vg(),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 m=d.constructor;return a(m)&&d instanceof m?m.prototype:d instanceof l?u:null};}),jg=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)};}),Lo=N(function(e,t){var r=jg();t.exports=function(a){var n=+a;return n!==n||n===0?0:r(n)};}),$g=N(function(e,t){var r=Lo(),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)};}),zg=N(function(e,t){var r=Lo(),a=Math.min;t.exports=function(n){var i=r(n);return i>0?a(i,9007199254740991):0};}),Eu=N(function(e,t){var r=zg();t.exports=function(a){return r(a.length)};}),Gg=N(function(e,t){var r=Ga(),a=$g(),n=Eu(),i=function(s){return function(l,u,c){var d=r(l),m=n(d);if(m===0)return !s&&-1;var y=a(c,m),C;if(s&&u!==u){for(;m>y;)if(C=d[y++],C!==C)return true}else for(;m>y;y++)if((s||y in d)&&d[y]===u)return s||y||0;return !s&&-1}};t.exports={includes:i(true),indexOf:i(false)};}),Po=N(function(e,t){t.exports={};}),Wg=N(function(e,t){var r=tr(),a=Fr(),n=Ga(),i=Gg().indexOf,o=Po(),s=r([].push);t.exports=function(l,u){var c=n(l),d=0,m=[],y;for(y in c)!a(o,y)&&a(c,y)&&s(m,y);for(;u.length>d;)a(c,y=u[d++])&&(~i(m,y)||s(m,y));return m};}),Cu=N(function(e,t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"];}),Su=N(function(e,t){var r=Wg(),a=Cu();t.exports=Object.keys||function(i){return r(i,a)};}),Ug=N(function(e,t){var r=yr(),a=dr(),n=tr(),i=Io(),o=Su(),s=Ga(),l=pu().f,u=n(l),c=n([].push),d=r&&a(function(){var y=Object.create(null);return y[2]=2,!u(y,2)}),m=function(C){return function(k){for(var I=s(k),L=o(I),O=d&&i(I)===null,q=L.length,B=0,V=[],X;q>B;)X=L[B++],(!r||(O?X in I:u(I,X)))&&c(V,C?[X,I[X]]:I[X]);return V}};t.exports={entries:m(true),values:m(false)};}),Xg=N(function(){var e=Qn(),t=Ug().values;e({target:"Object",stat:true},{values:function(a){return t(a)}});}),Yg=N(function(e,t){Xg();var r=Wa();t.exports=r.Object.values;}),Kg=N(function(e,t){var r=Yg();t.exports=r;}),Jg=N(function(e,t){var r=Kg();t.exports=r;}),Oo=N(function(e,t){var r=Rr(),a=r("toStringTag"),n={};n[a]="z",t.exports=String(n)==="[object z]";}),ei=N(function(e,t){var r=Oo(),a=Vt(),n=Un(),i=Rr(),o=i("toStringTag"),s=Object,l=n((function(){return arguments})())==="Arguments",u=function(d,m){try{return d[m]}catch{}};t.exports=r?n:function(c){var d,m,y;return c===void 0?"Undefined":c===null?"Null":typeof(m=u(d=s(c),o))=="string"?m:l?n(d):(y=n(d))==="Object"&&a(d.callee)?"Arguments":y};}),ku=N(function(e,t){var r=ei(),a=String;t.exports=function(n){if(r(n)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return a(n)};}),Zg=N(function(e,t){var r=tr(),a=Lo(),n=ku(),i=Yn(),o=r("".charAt),s=r("".charCodeAt),l=r("".slice),u=function(d){return function(m,y){var C=n(i(m)),k=a(y),I=C.length,L,O;return k<0||k>=I?d?"":void 0:(L=s(C,k),L<55296||L>56319||k+1===I||(O=s(C,k+1))<56320||O>57343?d?o(C,k):L:d?l(C,k,k+2):(L-55296<<10)+(O-56320)+65536)}};t.exports={codeAt:u(false),charAt:u(true)};}),Qg=N(function(e,t){var r=cr(),a=Vt(),n=r.WeakMap;t.exports=a(n)&&/native code/.test(String(n));}),ev=N(function(e,t){var r=Qg(),a=cr(),n=Vr(),i=Ua(),o=Fr(),s=Jn(),l=Ro(),u=Po(),c="Object already initialized",d=a.TypeError,m=a.WeakMap,y,C,k,I=function(V){return k(V)?C(V):y(V,{})},L=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?(O=s.state||(s.state=new m),O.get=O.get,O.has=O.has,O.set=O.set,y=function(V,X){if(O.has(V))throw new d(c);return X.facade=V,O.set(V,X),X},C=function(V){return O.get(V)||{}},k=function(V){return O.has(V)}):(q=l("state"),u[q]=true,y=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]:{}},k=function(V){return o(V,q)});var O,q;t.exports={set:y,get:C,has:k,enforce:I,getterFor:L};}),tv=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};}),rv=N(function(e){var t=yr(),r=Au(),a=Zn(),n=ya(),i=Ga(),o=Su();e.f=t&&!r?Object.defineProperties:function(l,u){n(l);for(var c=i(u),d=o(u),m=d.length,y=0,C;m>y;)a.f(l,C=d[y++],c[C]);return l};}),av=N(function(e,t){var r=So();t.exports=r("document","documentElement");}),Tu=N(function(e,t){var r=ya(),a=rv(),n=Cu(),i=Po(),o=av(),s=xu(),l=Ro(),u=">",c="<",d="prototype",m="script",y=l("IE_PROTO"),C=function(){},k=function(V){return c+m+u+V+c+"/"+m+u},I=function(V){V.write(k("")),V.close();var X=V.parentWindow.Object;return V=null,X},L=function(){var V=s("iframe"),X="java"+m+":",Q;return V.style.display="none",o.appendChild(V),V.src=String(X),Q=V.contentWindow.document,Q.open(),Q.write(k("document.F=Object")),Q.close(),Q.F},O,q=function(){try{O=new ActiveXObject("htmlfile");}catch{}q=typeof v<"u"?v.domain&&O?I(O):L():I(O);for(var V=n.length;V--;)delete q[d][n[V]];return q()};i[y]=true,t.exports=Object.create||function(V,X){var Q;return V!==null?(C[d]=r(V),Q=new C,C[d]=null,Q[y]=V):Q=q(),X===void 0?Q:a.f(Q,X)};}),Fu=N(function(e,t){var r=Ua();t.exports=function(a,n,i,o){return o&&o.enumerable?a[n]=i:r(a,n,i),a};}),Ru=N(function(e,t){var r=dr(),a=Vt(),n=Vr(),i=Tu(),o=Io(),s=Fu(),l=Rr(),u=To(),c=l("iterator"),d=false,m,y,C;[].keys&&(C=[].keys(),"next"in C?(y=o(o(C)),y!==Object.prototype&&(m=y)):d=true);var k=!n(m)||r(function(){var I={};return m[c].call(I)!==I});k?m={}:u&&(m=i(m)),a(m[c])||s(m,c,function(){return this}),t.exports={IteratorPrototype:m,BUGGY_SAFARI_ITERATORS:d};}),nv=N(function(e,t){var r=Oo(),a=ei();t.exports=r?{}.toString:function(){return "[object "+a(this)+"]"};}),Iu=N(function(e,t){var r=Oo(),a=Zn().f,n=Ua(),i=Fr(),o=nv(),s=Rr(),l=s("toStringTag");t.exports=function(u,c,d,m){var y=d?u:u&&u.prototype;y&&(i(y,l)||a(y,l,{configurable:true,value:c}),m&&!r&&n(y,"toString",o));};}),ti=N(function(e,t){t.exports={};}),iv=N(function(e,t){var r=Ru().IteratorPrototype,a=Tu(),n=Xn(),i=Iu(),o=ti(),s=function(){return this};t.exports=function(l,u,c,d){var m=u+" Iterator";return l.prototype=a(r,{next:n(+!d,c)}),i(l,m,false,true),o[m]=s,l};}),ov=N(function(e,t){var r=tr(),a=Kn();t.exports=function(n,i,o){try{return r(a(Object.getOwnPropertyDescriptor(n,i)[o]))}catch{}};}),sv=N(function(e,t){var r=Vr();t.exports=function(a){return r(a)||a===null};}),lv=N(function(e,t){var r=sv(),a=String,n=TypeError;t.exports=function(i){if(r(i))return i;throw new n("Can't set "+a(i)+" as a prototype")};}),uv=N(function(e,t){var r=ov(),a=Vr(),n=Yn(),i=lv();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);}),cv=N(function(e,t){var r=Qn(),a=ia(),n=To(),i=tv(),o=Vt(),s=iv(),l=Io(),u=uv(),c=Iu(),d=Ua(),m=Fu(),y=Rr(),C=ti(),k=Ru(),I=i.PROPER,L=i.CONFIGURABLE,O=k.IteratorPrototype,q=k.BUGGY_SAFARI_ITERATORS,B=y("iterator"),V="keys",X="values",Q="entries",ne=function(){return this};t.exports=function(he,ee,ue,pe,ge,Se,Me){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,Oe,we;if(se&&(be=l(se.call(new he)),be!==Object.prototype&&be.next&&(!n&&l(be)!==O&&(u?u(be,O):o(be[B])||m(be,B,ne)),c(be,Re,true,true),n&&(C[Re]=ne))),I&&ge===X&&G&&G.name!==X&&(!n&&L?d(Ee,"name",X):(de=true,ve=function(){return a(G,this)})),ge)if(Oe={values:xe(X),keys:Se?ve:xe(V),entries:xe(Q)},Me)for(we in Oe)(q||de||!(we in Ee))&&m(Ee,we,Oe[we]);else r({target:ee,proto:true,forced:q||de},Oe);return (!n||Me)&&Ee[B]!==ve&&m(Ee,B,ve,{name:ge}),C[ee]=ve,Oe};}),dv=N(function(e,t){t.exports=function(r,a){return {value:r,done:a}};}),fv=N(function(){var e=Zg().charAt,t=ku(),r=ev(),a=cv(),n=dv(),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,m;return d>=c.length?n(void 0,true):(m=e(c,d),u.index+=m.length,n(m,false))});}),pv=N(function(e,t){var r=ia(),a=ya(),n=ko();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};}),mv=N(function(e,t){var r=ya(),a=pv();t.exports=function(n,i,o,s){try{return s?i(r(o)[0],o[1]):i(o)}catch(l){a(n,"throw",l);}};}),hv=N(function(e,t){var r=Rr(),a=ti(),n=r("iterator"),i=Array.prototype;t.exports=function(o){return o!==void 0&&(a.Array===o||i[n]===o)};}),gv=N(function(e,t){var r=tr(),a=Vt(),n=Jn(),i=r(Function.toString);a(n.inspectSource)||(n.inspectSource=function(o){return i(o)}),t.exports=n.inspectSource;}),vv=N(function(e,t){var r=tr(),a=dr(),n=Vt(),i=ei(),o=So(),s=gv(),l=function(){},u=o("Reflect","construct"),c=/^\s*(?:class|function)\b/,d=r(c.exec),m=!c.test(l),y=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 m||!!d(c,s(I))}catch{return true}};C.sham=true,t.exports=!u||a(function(){var k;return y(y.call)||!y(Object)||!y(function(){k=true;})||k})?C:y;}),bv=N(function(e,t){var r=yr(),a=Zn(),n=Xn();t.exports=function(i,o,s){r?a.f(i,o,n(0,s)):i[o]=s;};}),yv=N(function(e,t){var r=Un();t.exports=Array.isArray||function(n){return r(n)==="Array"};}),wv=N(function(e,t){var r=yr(),a=yv(),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};}),Lu=N(function(e,t){var r=ei(),a=ko(),n=Co(),i=ti(),o=Rr(),s=o("iterator");t.exports=function(l){if(!n(l))return a(l,s)||a(l,"@@iterator")||i[r(l)]};}),xv=N(function(e,t){var r=ia(),a=Kn(),n=ya(),i=vu(),o=Lu(),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")};}),Dv=N(function(e,t){var r=_u(),a=ia(),n=Fo(),i=mv(),o=hv(),s=vv(),l=Eu(),u=bv(),c=wv(),d=xv(),m=Lu(),y=Array;t.exports=function(k){var I=n(k),L=s(this),O=arguments.length,q=O>1?arguments[1]:void 0,B=q!==void 0;B&&(q=r(q,O>2?arguments[2]:void 0));var V=m(I),X=0,Q,ne,he,ee,ue,pe;if(V&&!(this===y&&o(V)))for(ne=L?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=L?new this(Q):y(Q);Q>X;X++)pe=B?q(I[X],X):I[X],u(ne,X,pe);return c(ne,X),ne};}),_v=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};}),Av=N(function(){var e=Qn(),t=Dv(),r=_v(),a=!r(function(n){Array.from(n);});e({target:"Array",stat:true,forced:a},{from:t});}),Ev=N(function(e,t){fv(),Av();var r=Wa();t.exports=r.Array.from;}),Cv=N(function(e,t){var r=Ev();t.exports=r;}),Pu=N(function(e,t){var r=Cv();t.exports=r;}),Ou=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 m=o.charCodeAt(u++);if((d&64512)!==55296||(m&64512)!==56320)throw Error("UCS-2(decode): illegal sequence");d=((d&1023)<<10)+(m&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:`
|
|
361
|
+
`,r:"\r",t:" ",f:"\f","\\":"\\","'":"'"},e.doubleQuotesEscapeChars={n:`
|
|
362
|
+
`,r:"\r",t:" ",f:"\f","\\":"\\",'"':'"'};}),Sv=N(function(e){Object.defineProperty(e,"__esModule",{value:true});var t=Ou();function r(a,n,i,o,s,l){var u=a.length,c="";function d(O,q){var B="";for(n++,c=a.charAt(n);n<u;){if(c===O)return n++,B;if(c==="\\"){n++,c=a.charAt(n);var V=void 0;if(c===O)B+=O;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 m(){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 q=c;for(n++,c=a.charAt(n);t.isHex(c);)q+=c,n++,c=a.charAt(n);c===" "&&(n++,c=a.charAt(n)),O+=String.fromCharCode(parseInt(q,16));continue}else O+=c;}else return O;n++,c=a.charAt(n);}return O}function y(){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 C(){var O=k();if(n<u)throw Error('Rule expected but "'+a.charAt(n)+'" found.');return O}function k(){var O=I();if(!O)return null;var q=O;for(c=a.charAt(n);c===",";){if(n++,y(),q.type!=="selectors"&&(q={type:"selectors",selectors:[O]}),O=I(),!O)throw Error('Rule expected after ",".');q.selectors.push(O);}return q}function I(){y();var O={type:"ruleSet"},q=L();if(!q)return null;for(var B=O;q&&(q.type="rule",B.rule=q,B=q,y(),c=a.charAt(n),!(n>=u||c===","||c===")"));)if(s[c]){var V=c;if(n++,y(),q=L(),!q)throw Error('Rule expected after "'+V+'".');q.nestingOperator=V;}else q=L(),q&&(q.nestingOperator=null);return O}function L(){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=m();else if(c===".")n++,O=O||{},(O.classNames=O.classNames||[]).push(m());else if(c==="#")n++,(O=O||{}).id=m();else if(c==="["){n++,y();var q={name:m()};if(y(),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++,y();var V="";if(q.valueType="string",c==='"')V=d('"',t.doubleQuotesEscapeChars);else if(c==="'")V=d("'",t.singleQuoteEscapeChars);else if(l&&c==="$")n++,V=m(),q.valueType="substitute";else {for(;n<u&&c!=="]";)V+=c,n++,c=a.charAt(n);V=V.trim();}if(y(),n>=u)throw Error('Expected "]" but end of file reached.');if(c!=="]")throw Error('Expected "]" but "'+c+'" found.');n++,q.value=V;}O=O||{},(O.attrs=O.attrs||[]).push(q);}else if(c===":"){n++;var X=m(),Q={name:X};if(c==="("){n++;var ne="";if(y(),i[X]==="selector")Q.valueType="selector",ne=k();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=m(),Q.valueType="substitute";else {for(;n<u&&c!==")";)ne+=c,n++,c=a.charAt(n);ne=ne.trim();}y();}if(n>=u)throw Error('Expected ")" but end of file reached.');if(c!==")")throw Error('Expected ")" but "'+c+'" found.');n++,Q.value=ne;}O=O||{},(O.pseudos=O.pseudos||[]).push(Q);}else break;return O}return C()}e.parseCssSelector=r;}),kv=N(function(e){Object.defineProperty(e,"__esModule",{value:true});var t=Ou();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;}),Tv=N(function(e){Object.defineProperty(e,"__esModule",{value:true});var t=Sv(),r=kv(),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;}),Fv=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 w<"u")return w;if(typeof this<"u")return this;throw new Error("Unable to locate global `this`")})();}}))(),r.encodeHTMLSource=function(s){var l={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"},u=s?/[&<>"'\/]/g:/&(?!#?\w+;)|<|>|"|'|\//g;return function(c){return c?c.toString().replace(u,function(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,m,y){return d.indexOf("def.")===0&&(d=d.substring(4)),d in u||(m===":"?(s.defineParams&&y.replace(s.defineParams,function(C,k,I){u[d]={arg:k,text:I};}),d in u||(u[d]=y)):new Function("def","def['"+d+"']="+y)(u)),""}).replace(s.use||n,function(c,d){s.useParams&&(d=d.replace(s.useParams,function(y,C,k,I){if(u[k]&&u[k].arg&&I){var L=(k+":"+I).replace(/'|\\/g,"_");return u.__exp=u.__exp||{},u.__exp[L]=u[k].text.replace(new RegExp("(^|[^\\w$])"+u[k].arg+"([^\\w$])","g"),"$1"+I+"$2"),C+"def.__exp['"+L+"']"}}));var m=new Function("def","return "+d)(u);return m&&i(s,m,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,m=0,y,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(k,I){return c.start+o(I)+c.end}).replace(l.encode||n,function(k,I){return d=true,c.startencode+o(I)+c.end}).replace(l.conditional||n,function(k,I,L){return I?L?"';}else if("+o(L)+"){out+='":"';}else{out+='":L?"';if("+o(L)+"){out+='":"';}out+='"}).replace(l.iterate||n,function(k,I,L,O){return I?(m+=1,y=O||"i"+m,I=o(I),"';var arr"+m+"="+I+";if(arr"+m+"){var "+L+","+y+"=-1,l"+m+"=arr"+m+".length-1;while("+y+"<l"+m+"){"+L+"=arr"+m+"["+y+"+=1];out+='"):"';} } out+='"}).replace(l.evaluate||n,function(k,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(k){throw typeof console<"u"&&console.log("Could not create a template function: "+C),k}},r.compile=function(s,l){return r.template(s,null,l)};})();}),Rv=N(function(e,t){t.exports=function(){};}),oa=N(function(e,t){var r=Rv()();t.exports=function(a){return a!==r&&a!==null};}),Mu=N(function(e,t){var r=oa(),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};}),Iv=N(function(e,t){t.exports=function(){var r=Math.sign;return typeof r!="function"?false:r(10)===1&&r(-20)===-1};}),Lv=N(function(e,t){t.exports=function(r){return r=Number(r),isNaN(r)||r===0?r:r>0?1:-1};}),Pv=N(function(e,t){t.exports=Iv()()?Math.sign:Lv();}),Ov=N(function(e,t){var r=Pv(),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)))};}),sa=N(function(e,t){var r=Ov(),a=Math.max;t.exports=function(n){return a(0,r(n))};}),Nu=N(function(e,t){var r=sa();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)};}),jr=N(function(e,t){t.exports=function(r){if(typeof r!="function")throw new TypeError(r+" is not a function");return r};}),wa=N(function(e,t){var r=oa();t.exports=function(a){if(!r(a))throw new TypeError("Cannot use null or undefined");return a};}),Mv=N(function(e,t){var r=jr(),a=wa(),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 m,y=arguments[2],C=arguments[3];return c=Object(a(c)),r(d),m=o(c),C&&m.sort(typeof C=="function"?n.call(C,c):void 0),typeof l!="function"&&(l=m[l]),i.call(l,m,function(k,I){return s.call(c,k)?i.call(d,y,c[k],k,c,I):u})}};}),ri=N(function(e,t){t.exports=Mv()("forEach");}),la=N(function(){}),Nv=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")};}),qv=N(function(e,t){t.exports=function(){try{return Object.keys("primitive"),!0}catch{return false}};}),Bv=N(function(e,t){var r=oa(),a=Object.keys;t.exports=function(n){return a(r(n)?Object(n):n)};}),Hv=N(function(e,t){t.exports=qv()()?Object.keys:Bv();}),Vv=N(function(e,t){var r=Hv(),a=wa(),n=Math.max;t.exports=function(i,o){var s,l,u=n(arguments.length,2),c;for(i=Object(a(i)),c=function(m){try{i[m]=o[m];}catch(y){s||(s=y);}},l=1;l<u;++l)o=arguments[l],r(o).forEach(c);if(s!==void 0)throw s;return i};}),qu=N(function(e,t){t.exports=Nv()()?Object.assign:Vv();}),jv=N(function(e,t){var r=oa(),a={function:true,object:true};t.exports=function(n){return r(n)&&a[ae(n)]||false};}),$v=N(function(e,t){var r=qu(),a=jv(),n=oa(),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};}),Bu=N(function(e,t){var r=wa(),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(m){u=m;}}),typeof o=="function"&&o(c).forEach(function(d){try{a(s,d,n(l,d));}catch(m){u=m;}}),u!==void 0)throw u;return s};}),Hu=N(function(e,t){var r=sa(),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=Bu(),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});}),Vu=N(function(e,t){var r=void 0;t.exports=function(a){return a!==r&&a!==null};}),zv=N(function(e,t){var r=Vu(),a={object:true,function:true,undefined:true};t.exports=function(n){return r(n)?hasOwnProperty.call(a,ae(n)):false};}),Gv=N(function(e,t){var r=zv();t.exports=function(a){if(!r(a))return false;try{return a.constructor?a.constructor.prototype===a:!1}catch{return false}};}),Wv=N(function(e,t){var r=Gv();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)};}),Uv=N(function(e,t){var r=Wv(),a=/^\s*class[\s{/}]/,n=Function.prototype.toString;t.exports=function(i){return !(!r(i)||a.test(n.call(i)))};}),Xv=N(function(e,t){var r="razdwatrzy";t.exports=function(){return typeof r.contains!="function"?false:r.contains("dwa")===true&&r.contains("foo")===false};}),Yv=N(function(e,t){var r=String.prototype.indexOf;t.exports=function(a){return r.call(this,a,arguments[1])>-1};}),Kv=N(function(e,t){t.exports=Xv()()?String.prototype.contains:Yv();}),ua=N(function(e,t){var r=Vu(),a=Uv(),n=qu(),i=Mu(),o=Kv(),s=t.exports=function(l,u){var c,d,m,y,C;return arguments.length<2||typeof l!="string"?(y=u,u=l,l=null):y=arguments[2],r(l)?(c=o.call(l,"c"),d=o.call(l,"e"),m=o.call(l,"w")):(c=m=true,d=false),C={value:u,configurable:c,enumerable:d,writable:m},y?n(i(y),C):C};s.gs=function(l,u,c){var d,m,y,C;return typeof l!="string"?(y=c,c=u,u=l,l=null):y=arguments[3],r(u)?a(u)?r(c)?a(c)||(y=c,c=void 0):c=void 0:(y=u,u=c=void 0):u=void 0,r(l)?(d=o.call(l,"c"),m=o.call(l,"e")):(d=true,m=false),C={get:u,set:c,configurable:d,enumerable:m},y?n(i(y),C):C};}),Jv=N(function(e,t){var r=ua(),a=jr(),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,m,y,C,k,I,L;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},m=function(q,B){var V,X;return a(B),X=this,d.call(this,q,V=function(){y.call(X,q,V),n.call(B,this,arguments);}),V.__eeOnceListener__=B,this},y=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);}},k={on:d,once:m,off:y,emit:C},I={on:r(d),once:r(m),off:r(y),emit:r(C)},L=l({},I),t.exports=e=function(q){return q==null?o(L):l(Object(q),I)},e.methods=k;}),Zv=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"))};}),Qv=N(function(e,t){t.exports=function(){return (typeof globalThis>"u"?"undefined":ae(globalThis))!=="object"||!globalThis?false:globalThis.Array===Array};}),eb=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__;}})();}),ai=N(function(e,t){t.exports=Qv()()?globalThis:eb();}),tb=N(function(e,t){var r=ai(),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)])};}),rb=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};}),ju=N(function(e,t){var r=rb();t.exports=function(a){if(!r(a))throw new TypeError(a+" is not a symbol");return a};}),ab=N(function(e,t){var r=ua(),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};}),nb=N(function(e,t){var r=ua(),a=ai().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"))})};}),ib=N(function(e,t){var r=ua(),a=ju(),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})})};}),ob=N(function(e,t){var r=ua(),a=ju(),n=ai().Symbol,i=ab(),o=nb(),s=ib(),l=Object.create,u=Object.defineProperties,c=Object.defineProperty,d,m,y;if(typeof n=="function")try{String(n()),y=!0;}catch{}else n=null;m=function(k){if(this instanceof m)throw new TypeError("Symbol is not a constructor");return d(k)},t.exports=d=function C(k){var I;if(this instanceof C)throw new TypeError("Symbol is not a constructor");return y?n(k):(I=l(m.prototype),k=k===void 0?"":String(k),u(I,{__description__:r("",k),__name__:r("",i(k))}))},o(d),s(d),u(m.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(m.prototype,d.toStringTag,r("c",d.prototype[d.toStringTag])),c(m.prototype,d.toPrimitive,r("c",d.prototype[d.toPrimitive]));}),sb=N(function(e,t){t.exports=tb()()?ai().Symbol:ob();}),lb=N(function(e,t){var r=Object.prototype.toString,a=r.call((function(){return arguments})());t.exports=function(n){return r.call(n)===a};}),ub=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))};}),cb=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};}),db=N(function(e,t){var r=sb().iterator,a=lb(),n=ub(),i=sa(),o=jr(),s=wa(),l=oa(),u=cb(),c=Array.isArray,d=Function.prototype.call,m={configurable:true,enumerable:true,writable:true,value:null},y=Object.defineProperty;t.exports=function(C){var k=arguments[1],I=arguments[2],L,O,q,B,V,X,Q,ne,he,ee;if(C=Object(s(C)),l(k)&&o(k),!this||this===Array||!n(this)){if(!k){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),O=0;O<V;++O)B[O]=C[O];return B}}B=[];}else L=this;if(!c(C)){if((he=C[r])!==void 0){for(Q=o(he).call(C),L&&(B=new L),ne=Q.next(),O=0;!ne.done;)ee=k?d.call(k,I,ne.value,O):ne.value,L?(m.value=ee,y(B,O,m)):B[O]=ee,ne=Q.next(),++O;V=O;}else if(u(C)){for(V=C.length,L&&(B=new L),O=0,q=0;O<V;++O)ee=C[O],O+1<V&&(X=ee.charCodeAt(0),X>=55296&&X<=56319&&(ee+=C[++O])),ee=k?d.call(k,I,ee,q):ee,L?(m.value=ee,y(B,q,m)):B[q]=ee,++q;V=q;}}if(V===void 0)for(V=i(C.length),L&&(B=new L(V)),O=0;O<V;++O)ee=k?d.call(k,I,C[O],O):C[O],L?(m.value=ee,y(B,O,m)):B[O]=ee;return L&&(m.value=null,B.length=V),B};}),Mo=N(function(e,t){t.exports=Zv()()?Array.from:db();}),fb=N(function(e,t){var r=Mo(),a=Array.isArray;t.exports=function(n){return a(n)?n:r(n)};}),pb=N(function(e,t){var r=fb(),a=oa(),n=jr(),i=Array.prototype.slice,o;o=function(l){return this.map(function(u,c){return u?u(l[c]):l[c]}).concat(i.call(l,this.length))},t.exports=function(s){return s=r(s),s.forEach(function(l){a(l)&&n(l);}),o.bind(s)};}),mb=N(function(e,t){var r=jr();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))};}),hb=N(function(e,t){var r=$v(),a=Hu(),n=ua(),i=Jv().methods,o=pb(),s=mb(),l=Function.prototype.apply,u=Function.prototype.call,c=Object.create,d=Object.defineProperties,m=i.on,y=i.emit;t.exports=function(C,k,I){var L=c(null),O,q,B,V,X,Q,ne,he,ee,ue,pe,ge,Se,Me,xe;return k!==false?q=k: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?Me=a(function(Re){var de,Ee,G=arguments;if(xe&&(G=xe(G)),de=B(G),de!==null&&hasOwnProperty.call(L,de))return pe&&O.emit("get",de,G,this),L[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(L,de))throw r("Circular invocation","CIRCULAR_INVOCATION");return L[de]=Ee,ge&&O.emit("set",de,null,Ee),Ee},q):k===0?Me=function(){var de;if(hasOwnProperty.call(L,"data"))return pe&&O.emit("get","data",arguments,this),L.data;if(arguments.length?de=l.call(C,this,arguments):de=u.call(C,this),hasOwnProperty.call(L,"data"))throw r("Circular invocation","CIRCULAR_INVOCATION");return L.data=de,ge&&O.emit("set","data",null,de),de}:Me=function(de){var Ee,G=arguments,ve;if(xe&&(G=xe(arguments)),ve=String(G[0]),hasOwnProperty.call(L,ve))return pe&&O.emit("get",ve,G,this),L[ve];if(G.length===1?Ee=u.call(C,this,G[0]):Ee=l.call(C,this,G),hasOwnProperty.call(L,ve))throw r("Circular invocation","CIRCULAR_INVOCATION");return L[ve]=Ee,ge&&O.emit("set",ve,null,Ee),Ee},O={original:C,memoized:Me,profileName:I.profileName,get:function(de){return xe&&(de=xe(de)),B?B(de):String(de[0])},has:function(de){return hasOwnProperty.call(L,de)},delete:function(de){var Ee;hasOwnProperty.call(L,de)&&(X&&X(de),Ee=L[de],delete L[de],Se&&O.emit("delete",de,Ee));},clear:function(){var de=L;Q&&Q(),L=c(null),O.emit("clear",de);},on:function(de,Ee){return de==="get"?pe=true:de==="set"?ge=true:de==="delete"&&(Se=true),m.call(this,de,Ee)},emit:y,updateEnv:function(){C=O.original;}},B?ne=a(function(Re){var de,Ee=arguments;xe&&(Ee=xe(Ee)),de=B(Ee),de!==null&&O.delete(de);},q):k===0?ne=function(){return O.delete("data")}:ne=function(de){return xe&&(de=xe(arguments)[0]),O.delete(de)},he=a(function(){var Re,de=arguments;return k===0?L.data:(xe&&(de=xe(de)),B?Re=B(de):Re=String(de[0]),L[Re])}),ee=a(function(){var Re,de=arguments;return k===0?O.has("data"):(xe&&(de=xe(de)),B?Re=B(de):Re=String(de[0]),Re===null?false:O.has(Re))}),d(Me,{__memoized__:n(true),delete:n(ne),clear:n(O.clear),_get:n(he),_has:n(ee)}),O};}),gb=N(function(e,t){var r=jr(),a=ri(),n=la(),i=hb(),o=Nu();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(m,y){u[y]&&m(u[y],d,u);}),s.__profiler__&&s.__profiler__(d),d.updateEnv(),d.memoized)};}),vb=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};}),bb=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 ""}};}),yb=N(function(e,t){t.exports=function(){var r=Number.isNaN;return typeof r!="function"?false:!r({})&&r(NaN)&&!r(34)};}),wb=N(function(e,t){t.exports=function(r){return r!==r};}),xb=N(function(e,t){t.exports=yb()()?Number.isNaN:wb();}),No=N(function(e,t){var r=xb(),a=sa(),n=wa(),i=Array.prototype.indexOf,o=Object.prototype.hasOwnProperty,s=Math.abs,l=Math.floor;t.exports=function(u){var c,d,m,y;if(!r(u))return i.apply(this,arguments);for(d=a(n(this).length),m=arguments[1],isNaN(m)?m=0:m>=0?m=l(m):m=a(this.length)-l(s(m)),c=m;c<d;++c)if(o.call(this,c)&&(y=this[c],r(y)))return c;return -1};}),Db=N(function(e,t){var r=No(),a=Object.create;t.exports=function(){var n=0,i=[],o=a(null);return {get:function(l){var u=0,c=i,d,m=l.length;if(m===0)return c[m]||null;if(c=c[m]){for(;u<m-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,m=l.length;if(m===0)c[m]=++n;else {for(c[m]||(c[m]=[[],[]]),c=c[m];u<m-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,m=o[l],y=m.length,C=[];if(y===0)delete c[y];else if(c=c[y]){for(;u<y-1;){if(d=r.call(c[0],m[u]),d===-1)return;C.push(c,d),c=c[1][d],++u;}if(d=r.call(c[0],m[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);}}};}),_b=N(function(e,t){var r=No();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=[];}}};}),Ab=N(function(e,t){var r=No(),a=Object.create;t.exports=function(n){var i=0,o=[[],[]],s=a(null);return {get:function(u){for(var c=0,d=o,m;c<n-1;){if(m=r.call(d[0],u[c]),m===-1)return null;d=d[1][m],++c;}return m=r.call(d[0],u[c]),m===-1?null:d[1][m]||null},set:function(u){for(var c=0,d=o,m;c<n-1;)m=r.call(d[0],u[c]),m===-1&&(m=d[0].push(u[c])-1,d[1].push([[],[]])),d=d[1][m],++c;return m=r.call(d[0],u[c]),m===-1&&(m=d[0].push(u[c])-1),d[1][m]=++i,s[i]=u,i},delete:function(u){for(var c=0,d=o,m,y=[],C=s[u];c<n-1;){if(m=r.call(d[0],C[c]),m===-1)return;y.push(d,m),d=d[1][m],++c;}if(m=r.call(d[0],C[c]),m!==-1){for(u=d[1][m],d[0].splice(m,1),d[1].splice(m,1);!d[0].length&&y.length;)m=y.pop(),d=y.pop(),d[0].splice(m,1),d[1].splice(m,1);delete s[u];}},clear:function(){o=[[],[]],s=a(null);}}};}),$u=N(function(e,t){var r=jr(),a=ri(),n=Function.prototype.call;t.exports=function(i,o){var s={},l=arguments[2];return r(o),a(i,function(u,c,d,m){s[c]=n.call(o,l,u,c,d,m);}),s};}),qo=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=v.createTextNode(""),s,l,u=0;return new i(function(){var c;if(s)l&&(s=l.concat(s));else {if(!l)return;s=l;}if(l=s,s=null,typeof l=="function"){c=l,l=null,c();return}for(o.data=u=++u%2;l;)c=l.shift(),l.length||(l=null),c();}).observe(o,{characterData:true}),function(c){if(r(c),s){typeof s=="function"?s=[s,c]:s.push(c);return}s=c,o.data=u=++u%2;}};t.exports=(function(){if((typeof process>"u"?"undefined":ae(process))==="object"&&process&&typeof process.nextTick=="function")return process.nextTick;if(typeof queueMicrotask=="function")return function(n){queueMicrotask(r(n));};if((typeof v>"u"?"undefined":ae(v))==="object"&&v){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})();}),Eb=N(function(){var e=Mo(),t=$u(),r=Bu(),a=Hu(),n=qo(),i=Array.prototype.slice,o=Function.prototype.apply,s=Object.create;la().async=function(l,u){var c=s(null),d=s(null),m=u.memoized,y=u.original,C,k,I;u.memoized=a(function(L){var O=arguments,q=O[O.length-1];return typeof q=="function"&&(C=q,O=i.call(O,0,-1)),m.apply(k=this,I=O)},m);try{r(u.memoized,m);}catch{}u.on("get",function(L){var O,q,B;if(C){if(c[L]){typeof c[L]=="function"?c[L]=[c[L],C]:c[L].push(C),C=null;return}O=C,q=k,B=I,C=k=I=null,n(function(){var V;hasOwnProperty.call(d,L)?(V=d[L],u.emit("getasync",L,B,q),o.call(O,V.context,V.args)):(C=O,k=q,I=B,m.apply(q,B));});}}),u.original=function(){var L,O,q,B;return C?(L=e(arguments),O=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=k=I=null,L.push(O),B=o.call(y,this,L),O.cb=q,C=O,B):o.call(y,this,arguments)},u.on("set",function(L){if(!C){u.delete(L);return}c[L]?typeof c[L]=="function"?c[L]=[c[L],C.cb]:c[L].push(C.cb):c[L]=C.cb,delete C.cb,C.id=L,C=null;}),u.on("delete",function(L){var O;hasOwnProperty.call(c,L)||d[L]&&(O=d[L],delete d[L],u.emit("deleteasync",L,i.call(O.args,1)));}),u.on("clear",function(){var L=d;d=s(null),u.emit("clearasync",t(L,function(O){return i.call(O.args,1)}));});};}),Cb=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};}),zu=N(function(e,t){t.exports=function(r){return typeof r=="function"};}),Sb=N(function(e,t){var r=zu();t.exports=function(a){try{return a&&r(a.toString)?a.toString():String(a)}catch{throw new TypeError("Passed argument cannot be stringifed")}};}),kb=N(function(e,t){var r=wa(),a=Sb();t.exports=function(n){return a(r(n))};}),Tb=N(function(e,t){var r=zu();t.exports=function(a){try{return a&&r(a.toString)?a.toString():String(a)}catch{return "<Non-coercible to string value>"}};}),Fb=N(function(e,t){var r=Tb(),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};}),Gu=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"}}),Rb=N(function(){var e=$u(),t=Cb(),r=kb(),a=Fb(),n=Gu(),i=qo(),o=Object.create,s=t("then","then:finally","done","done:finally");la().promise=function(l,u){var c=o(null),d=o(null),m=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(y,C,k){var I=false;if(!n(k)){d[y]=k,u.emit("setasync",y,1);return}c[y]=1,m[y]=k;var L=function(X){var Q=c[y];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[y],d[y]=X,u.emit("setasync",y,Q));},O=function(){I=true,c[y]&&(delete c[y],delete m[y],u.delete(y));},q=l;if(q||(q="then"),q==="then"){var B=function(){i(O);};k=k.then(function(V){i(L.bind(this,V));},B),typeof k.finally=="function"&&k.finally(B);}else if(q==="done"){if(typeof k.done!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done' mode");k.done(L,O);}else if(q==="done:finally"){if(typeof k.done!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done:finally' mode");if(typeof k.finally!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'finally' in 'done:finally' mode");k.done(L),k.finally(O);}}),u.on("get",function(y,C,k){var I;if(c[y]){++c[y];return}I=m[y];var L=function(){u.emit("getasync",y,C,k);};n(I)?typeof I.done=="function"?I.done(L):I.then(function(){i(L);}):L();}),u.on("delete",function(y){if(delete m[y],c[y]){delete c[y];return}if(hasOwnProperty.call(d,y)){var C=d[y];delete d[y],u.emit("deleteasync",y,[C]);}}),u.on("clear",function(){var y=d;d=o(null),c=o(null),m=o(null),u.emit("clearasync",e(y,function(C){return [C]}));});};}),Ib=N(function(){var e=jr(),t=ri(),r=la(),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);});});};}),Lb=N(function(e,t){t.exports=2147483647;}),Pb=N(function(e,t){var r=sa(),a=Lb();t.exports=function(n){if(n=r(n),n>a)throw new TypeError(n+" exceeds maximum possible timeout");return n};}),Ob=N(function(){var e=Mo(),t=ri(),r=qo(),a=Gu(),n=Pb(),i=la(),o=Function.prototype,s=Math.max,l=Math.min,u=Object.create;i.maxAge=function(c,d,m){var y,C,k,I;c=n(c),c&&(y=u(null),C=m.async&&i.async||m.promise&&i.promise?"async":"",d.on("set"+C,function(L){y[L]=setTimeout(function(){d.delete(L);},c),typeof y[L].unref=="function"&&y[L].unref(),I&&(I[L]&&I[L]!=="nextTick"&&clearTimeout(I[L]),I[L]=setTimeout(function(){delete I[L];},k),typeof I[L].unref=="function"&&I[L].unref());}),d.on("delete"+C,function(L){clearTimeout(y[L]),delete y[L],I&&(I[L]!=="nextTick"&&clearTimeout(I[L]),delete I[L]);}),m.preFetch&&(m.preFetch===true||isNaN(m.preFetch)?k=.333:k=s(l(Number(m.preFetch),1),0),k&&(I={},k=(1-k)*c,d.on("get"+C,function(L,O,q){I[L]||(I[L]="nextTick",r(function(){var B;I[L]==="nextTick"&&(delete I[L],d.delete(L),m.async&&(O=e(O),O.push(o)),B=d.memoized.apply(q,O),m.promise&&a(B)&&(typeof B.done=="function"?B.done(o,o):B.then(o,o)));}));}))),d.on("clear"+C,function(){t(y,function(L){clearTimeout(L);}),y={},I&&(t(I,function(L){L!=="nextTick"&&clearTimeout(L);}),I={});}));};}),Mb=N(function(e,t){var r=sa(),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(y){var C=u[y],k=++c;if(l[k]=y,u[y]=k,!C)return ++o,o<=i?void 0:(y=l[s],d(y),y);if(delete l[C],s===C)for(;!n.call(l,++s););},delete:d=function(y){var C=u[y];if(C&&(delete l[C],delete u[y],--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;}}};}),Nb=N(function(){var e=sa(),t=Mb(),r=la();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));};}),qb=N(function(){var e=ua(),t=la(),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]})});};}),Bb=N(function(e,t){var r=Mu(),a=Nu(),n=gb();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=vb():s>1&&(o.normalizer=bb()(s)):s===false?o.normalizer=Db()():s===1?o.normalizer=_b()():o.normalizer=Ab()(s))),o.async&&Eb(),o.promise&&Rb(),o.dispose&&Ib(),o.maxAge&&Ob(),o.max&&Nb(),o.refCounter&&qb(),n(i,o)};}),Hb=[{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"])};Hb.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 Vb(){(typeof console>"u"?"undefined":ae(console))==="object"&&console.log&&Function.prototype.apply.call(console.log,console,arguments);}var ca=Vb,jb=/[\t\r\n\f]/g,$b=(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(jb," ").indexOf(n)>=0}}])})(),Ft=$b,Bo={};ur(Bo,{DqElement:function(){return ir},RuleError:function(){return lo},aggregate:function(){return ni},aggregateChecks:function(){return Xu},aggregateNodeResults:function(){return Yu},aggregateResult:function(){return Ku},areStylesSet:function(){return Kb},assert:function(){return Qe},checkHelper:function(){return ps},clone:function(){return Ir},closest:function(){return Xt},collectResultsFromFrames:function(){return Bd},contains:function(){return Lr},convertSelector:function(){return Ci},cssParser:function(){return yd},deepMerge:function(){return Cs},escapeSelector:function(){return vt},extendMetaData:function(){return Ss},filterHtmlAttrs:function(){return tm},finalizeRuleResult:function(){return Xa},findBy:function(){return mn},getAllChecks:function(){return Ri},getAncestry:function(){return Ei},getBaseLang:function(){return ba},getCheckMessage:function(){return h2},getCheckOption:function(){return ro},getElementSource:function(){return vd},getEnvironmentData:function(){return ea},getFlattenedTree:function(){return hl},getFrameContexts:function(){return I2},getFriendlyUriEnd:function(){return Qu},getNodeAttributes:function(){return Ja},getNodeFromTree:function(){return je},getPreloadConfig:function(){return Jp},getRootNode:function(){return hn},getRule:function(){return Op},getScroll:function(){return Mr},getScrollState:function(){return O2},getSelector:function(){return ds},getSelectorData:function(){return Ai},getShadowSelector:function(){return ls},getStandards:function(){return M2},getStyleSheetFactory:function(){return qp},getXpath:function(){return gd},injectStyle:function(){return B2},isArrayLike:function(){return wl},isContextObject:function(){return xl},isContextProp:function(){return no},isContextSpec:function(){return Bp},isHidden:function(){return H2},isHtmlElement:function(){return _l},isLabelledFramesSelector:function(){return Dl},isLabelledShadowDomSelector:function(){return io},isNodeInContext:function(){return Al},isShadowRoot:function(){return Li},isValidLang:function(){return co},isXHTML:function(){return sn},matchAncestry:function(){return El},matches:function(){return hs},matchesExpression:function(){return Aa},matchesSelector:function(){return xa},memoize:function(){return ut},mergeResults:function(){return Ii},nodeLookup:function(){return Je},nodeSerializer:function(){return or},nodeSorter:function(){return Cl},objectHasOwn:function(){return Er},parseCrossOriginStylesheet:function(){return kl},parseSameOriginStylesheet:function(){return jp},parseStylesheet:function(){return Sl},parseTabindex:function(){return Cr},performanceTimer:function(){return rt},pollyfillElementsFromPoint:function(){return $p},preload:function(){return Yp},preloadCssom:function(){return Gp},preloadMedia:function(){return Xp},processMessage:function(){return yl},publishMetaData:function(){return oo},querySelectorAll:function(){return Zt},querySelectorAllFilter:function(){return Sr},queue:function(){return xr},respondable:function(){return hr},ruleShouldRun:function(){return em},select:function(){return Tl},sendCommandToFrame:function(){return Od},serializeError:function(){return so},setScrollState:function(){return yA},shadowSelect:function(){return wA},shadowSelectAll:function(){return Fl},shouldPreload:function(){return Kp},toArray:function(){return Zu},tokenList:function(){return Ht},uniqueArray:function(){return Fn},uuid:function(){return Aw},validInputTypes:function(){return uo},validLangs:function(){return om}});function zb(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 ni=zb,Gb=He.CANTTELL_PRIO,Wb=He.FAIL_PRIO,ii=[];ii[He.PASS_PRIO]=true,ii[He.CANTTELL_PRIO]=null,ii[He.FAIL_PRIO]=false;var Wu=["any","all","none"];function Uu(e,t){return Wu.reduce(function(r,a){return r[a]=(e[a]||[]).map(function(n){return t(n,a)}),r},{})}function Ub(e){var t=Object.assign({},e);Uu(t,function(n,i){var o=typeof n.result>"u"?-1:ii.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 Wu.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)});}),[Gb,Wb].includes(t.priority)?t.impact=ni(He.impact,a):t.impact=null,Uu(t,function(n){delete n.result,delete n.priority;}),t.result=He.results[t.priority],delete t.priority,t}var Xu=Ub;function Xa(e){var t=f._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,Yu(e.nodes)),delete e.nodes,e}function Xb(e){var t={};if(e=e.map(function(i){if(i.any&&i.all&&i.none)return Xu(i);if(Array.isArray(i.node))return Xa(i);throw new TypeError("Invalid Result type")}),e&&e.length){var r=e.map(function(i){return i.result});t.result=ni(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=ni(He.impact,n)||null;}else t.impact=null;return t}var Yu=Xb;function Ho(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 Yb(e){var t={};return He.resultGroups.forEach(function(r){return t[r]=[]}),e.forEach(function(r){r.error?Ho(t,r,He.CANTTELL_GROUP):r.result===He.NA?Ho(t,r,He.NA_GROUP):He.resultGroups.forEach(function(a){Array.isArray(r[a])&&r[a].length>0&&Ho(t,r,a);});}),t}var Ku=Yb;function Ju(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:Ju(e.parentNode,t,r)}var Kb=Ju;function Jb(e,t){if(!e)throw new Error(t)}var Qe=Jb;function Zb(e){return Array.prototype.slice.call(e)}var Zu=Zb;function Qb(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=Qb;function ey(){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 Ya(e,t){return [e.substring(0,t),e.substring(t)]}function Ka(e){return e.replace(/\s+$/,"")}function ty(e){var t=e,r="",a="",n="",i="",o="",s="";if(e.includes("#")){var l=Ya(e,e.indexOf("#")),u=le(l,2);e=u[0],s=u[1];}if(e.includes("?")){var c=Ya(e,e.indexOf("?")),d=le(c,2);e=d[0],o=d[1];}if(e.includes("://")){var m=e.split("://"),y=le(m,2);r=y[0],e=y[1];var C=Ya(e,e.indexOf("/")),k=le(C,2);a=k[0],e=k[1];}else if(e.substr(0,2)==="//"){e=e.substr(2);var I=Ya(e,e.indexOf("/")),L=le(I,2);a=L[0],e=L[1];}if(a.substr(0,4)==="www."&&(a=a.substr(4)),a&&a.includes(":")){var O=Ya(a,a.indexOf(":")),q=le(O,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 ry(){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=ty(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?Ka(u+l):u.length<2&&l.length>2&&l.length<=n?Ka(l):void 0;if(s&&s.length<n&&o.length<=1||o==="/"+u&&s&&r&&s!==r&&(s+o).length<=n)return Ka(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})?/)&&!ey(u))return Ka(u)}}var Qu=ry;function ay(e){return e.attributes instanceof p.NamedNodeMap?e.attributes:e.cloneNode(false).attributes}var Ja=ay,ny=(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}})(),xa=ny,ec={};ur(ec,{ArrayFrom:function(){return cd.default},Colorjs:function(){return st},CssSelectorParser:function(){return tc.CssSelectorParser},doT:function(){return $r.default},emojiRegexText:function(){return Vo},memoize:function(){return rc.default}});var iy=br(Ag()),oy=br(Eg());br(Cg());var sy=br(Hg()),ly=br(Jg()),uy=br(Pu());"hasOwn"in Object||(Object.hasOwn=sy.default),"values"in Object||(Object.values=ly.default),"Promise"in p||iy.default.polyfill(),"Uint32Array"in p||(p.Uint32Array=oy.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=uy.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 tc=br(Tv()),$r=br(Fv()),Vo=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},rc=br(Bb());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(y){u.e(y);}finally{u.f();}return l}for(var m=0;m<o.length;m++)l+=o[m]*(s[m]||0);return l})});return r===1&&(i=i[0]),a===1?i.map(function(o){return o[0]}):i}function Za(e){return zr(e)==="string"}function zr(e){var t=Object.prototype.toString.call(e);return (t.match(/^\[object\s+(.*?)\]$/)[1]||"").toLowerCase()}function oi(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 ac(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 nc(e){return e[e.length-1]}function si(e,t,r){return isNaN(e)?t:isNaN(t)?e:e+(t-e)*r}function ic(e,t,r){return (r-e)/(t-e)}function jo(e,t,r){return si(t[0],t[1],ic(e[0],e[1],r))}function oc(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 cy=Object.freeze({__proto__:null,isString:Za,type:zr,toPrecision:oi,parseFunction:ac,last:nc,interpolate:si,interpolateInv:ic,mapRange:jo,parseCoordGrammar:oc,multiplyMatrices:xt}),dy=(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);});}}])})(),Gr=new dy,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 $o(e){return Array.isArray(e)?e:pr[e]}function li(e,t,r){var a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};if(e=$o(e),t=$o(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(Gr.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]])),Gr.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 fy=75e-6,mr=(U=new WeakSet,J=new WeakMap,(function(){function e(t){var r,a,n,i,o,s,l;gt(this,e),aa(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=$o(c),this.formats=(i=t.formats)!==null&&i!==void 0?i:{};for(var d in this.formats){var m=this.formats[d];m.type||(m.type="function"),m.name||(m.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,py).call(this).reverse()),Gr.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?fy: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],m=c[1];return (d===void 0||s>=d-i)&&(m===void 0||s<=m+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,sc).call(this,r),r;var a;return r==="default"?a=Object.values(this.formats)[0]:a=this.formats[r],a?(a=Tr(U,this,sc).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(m){return Number.isNaN(m)?0:m});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=zr(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=zr(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=zr(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(),m=0;for(var y in i.coords){var C,k=i.coords[y];if(y.toLowerCase()===d||((C=k.name)===null||C===void 0?void 0:C.toLowerCase())===d)return Te({space:i,id:y,index:m},k);m++;}throw new TypeError('No "'.concat(o,'" coordinate found in ').concat(i.name,". Its coordinates are: ").concat(Object.keys(i.coords).join(", ")))}}])})());function sc(e){if(e.coords&&!e.coordGrammar){e.type||(e.type="function"),e.name||(e.name="color"),e.coordGrammar=oc(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=jo(s,l,n)),n=oi(n,a),u&&(n+=u),n})};}return e}function py(){for(var e=[this],t=this;t=t.base;)e.push(t);return e}var Fe=mr;du(Fe,"registry",{}),du(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=li(n.white,n.base.white,l)),l}),(o=r.fromBase)!==null&&o!==void 0||(r.fromBase=function(s){return s=li(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 lc(e){var t,r={str:(t=String(e))===null||t===void 0?void 0:t.trim()};if(Gr.run("parse-start",r),r.color)return r.color;if(r.parsed=ac(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,Me){return ge[Me]=r.parsed.args[Me]||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,m=(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;m&&(c="Did you mean color(".concat(m,")?"));}throw new TypeError("Cannot parse color(".concat(n,"). ")+(c||"Missing a plugin?"))}else {var y=Ge(Fe.all),C;try{var k=function(){var he=C.value,ee=he.getFormat(a);if(ee&&ee.type==="function"){var ue=1;(ee.lastAlpha||nc(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 Me,xe=le(ge,2),Re=xe[0],de=xe[1],Ee=ee.coordGrammar[Se],G=(Me=pe[Se])===null||Me===void 0?void 0:Me.type;if(Ee=Ee.find(function(Oe){return Oe==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]=jo(se,be,pe[Se]));}),{v:{spaceId:he.id,coords:pe,alpha:ue}}}},I;for(y.s();!(C=y.n()).done;)if(I=k(),I)return I.v}catch(ne){y.e(ne);}finally{y.f();}}}else {var L=Ge(Fe.all),O;try{for(L.s();!(O=L.n()).done;){var q=O.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){L.e(ne);}finally{L.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");Za(e)&&(e=lc(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 Qa(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=Qa(e,a);return i[n]}function uc(e,t,r){return t=Fe.get(t),e.coords=t.to(e.space,r),e}function Wr(e,t,r){if(e=at(e),arguments.length===2&&zr(arguments[1])==="object"){var a=arguments[1];for(var n in a)Wr(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=Qa(e,o);l[s]=r,uc(e,o,l);}return e}var zo=new Fe({id:"xyz-d50",name:"XYZ D50",white:"D50",base:rr,fromBase:function(t){return li(rr.white,"D50",t)},toBase:function(t){return li("D50",rr.white,t)},formats:{color:{}}}),my=216/24389,cc=24/116,ui=24389/27,Go=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:Go,base:zo,fromBase:function(t){var r=t.map(function(n,i){return n/Go[i]}),a=r.map(function(n){return n>my?Math.cbrt(n):(ui*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]>cc?Math.pow(r[0],3):(116*r[0]-16)/ui,t[0]>8?Math.pow((t[0]+16)/116,3):t[0]/ui,r[2]>cc?Math.pow(r[2],3):(116*r[2]-16)/ui];return a.map(function(n,i){return n*Go[i]})},formats:{lab:{coords:["<number> | <percentage>","<number>","<number>"]}}});function ci(e){return (e%360+360)%360}function hy(e,t){if(e==="raw")return t;var r=t.map(ci),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 en=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)),ci(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>"]}}}),dc=Math.pow(25,7),di=Math.PI,fc=180/di,Da=di/180;function Wo(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],m=c[1],y=c[2],C=en.from(Ut,[d,m,y])[1],k=Ut.from(t),I=le(k,3),L=I[0],O=I[1],q=I[2],B=en.from(Ut,[L,O,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+dc))),ne=(1+Q)*m,he=(1+Q)*O,ee=Math.sqrt(Math.pow(ne,2)+Math.pow(y,2)),ue=Math.sqrt(Math.pow(he,2)+Math.pow(q,2)),pe=ne===0&&y===0?0:Math.atan2(y,ne),ge=he===0&&q===0?0:Math.atan2(q,he);pe<0&&(pe+=2*di),ge<0&&(ge+=2*di),pe*=fc,ge*=fc;var Se=L-d,Me=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*Da/2),ve=(d+L)/2,se=(ee+ue)/2,be=Math.pow(se,7),Oe;ee*ue===0?Oe=Re:de<=180?Oe=Re/2:Re<360?Oe=(Re+360)/2:Oe=(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((Oe-30)*Da),nt+=.24*Math.cos(2*Oe*Da),nt+=.32*Math.cos((3*Oe+6)*Da),nt-=.2*Math.cos((4*Oe-63)*Da);var lt=1+.015*se*nt,bt=30*Math.exp(-1*Math.pow((Oe-275)/25,2)),Et=2*Math.sqrt(be/(be+dc)),_t=-1*Math.sin(2*bt*Da)*Et,dt=Math.pow(Se/(n*Ae),2);return dt+=Math.pow(Me/(o*Xe),2),dt+=Math.pow(G/(l*lt),2),dt+=_t*(Me/(o*Xe))*(G/(l*lt)),Math.sqrt(dt)}var gy=75e-6;function tn(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?gy: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 rn(e){return {space:e.space,coords:e.coords.slice(),alpha:e.alpha}}function Ur(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(Za(arguments[1])&&(i=arguments[1]),i=Fe.get(i),tn(e,i,{epsilon:0}))return e;var o=nr(e,i);if(a!=="clip"&&!tn(e,i)){var s=Ur(rn(o),{method:"clip",space:i});if(Wo(e,s)>2){for(var l=Fe.resolveCoord(a),u=l.space,c=l.id,d=nr(o,u),m=l.range||l.refRange,y=m[0],C=.01,k=y,I=ar(d,c);I-k>C;){var L=rn(d);L=Ur(L,{space:i,method:"clip"});var O=Wo(d,L);O-2<C?k=ar(d,c):I=ar(d,c),Wr(d,c,(k+I)/2);}o=nr(d,i);}else o=s;}if(a==="clip"||!tn(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}Ur.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=Ur(i)),i}nr.returns="color";function fi(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,g),d;e=at(e);var m=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 y=e.coords;if(y=y.map(function(B){return B||0}),u&&!tn(e)&&(y=Ur(rn(e),u===true?void 0:u).coords),s.type==="custom")if(c.precision=i,s.serialize)d=s.serialize(y,e.alpha,c);else throw new TypeError("format ".concat(m," can only be used to parse colors, not for serialization"));else {var C=s.name||"color";s.serializeCoords?y=s.serializeCoords(y,i):i!==null&&(y=y.map(function(B){return oi(B,i)}));var k=_e(y);if(C==="color"){var I,L=s.id||((I=s.ids)===null||I===void 0?void 0:I[0])||e.space.id;k.unshift(L);}var O=e.alpha;i!==null&&(O=oi(O,i));var q=e.alpha<1&&!s.noAlpha?"".concat(s.commas?",":" /"," ").concat(O):"";d="".concat(C,"(").concat(k.join(s.commas?", ":" ")).concat(q,")");}return d}var vy=[[.6369580483012914,.14461690358620832,.1688809751641721],[.2627002120112671,.6779980715188708,.05930171646986196],[0,.028072693049087428,1.060985057710791]],by=[[1.716651187971268,-0.355670783776392,-0.25336628137366],[-0.666684351832489,1.616481236634939,.0157685458139111],[.017639857445311,-0.042770613257809,.942103121235474]],pi=new jt({id:"rec2020-linear",name:"Linear REC.2020",white:"D65",toXYZ_M:vy,fromXYZ_M:by,formats:{color:{}}}),mi=1.09929682680944,pc=.018053968510807,mc=new jt({id:"rec2020",name:"REC.2020",base:pi,toBase:function(t){return t.map(function(r){return r<pc*4.5?r/4.5:Math.pow((r+mi-1)/mi,1/.45)})},fromBase:function(t){return t.map(function(r){return r>=pc?mi*Math.pow(r,.45)-(mi-1):4.5*r})},formats:{color:{}}}),yy=[[.4865709486482162,.26566769316909306,.1982172852343625],[.2289745640697488,.6917385218365064,.079286914093745],[0,.04511338185890264,1.043944368900976]],wy=[[2.493496911941425,-0.9313836179191239,-0.40271078445071684],[-0.8294889695615747,1.7626640603183463,.023624685841943577],[.03584583024378447,-0.07617238926804182,.9568845240076872]],hc=new jt({id:"p3-linear",name:"Linear P3",white:"D65",toXYZ_M:yy,fromXYZ_M:wy}),xy=[[.41239079926595934,.357584339383878,.1804807884018343],[.21263900587151027,.715168678767756,.07219231536073371],[.01933081871559182,.11919477979462598,.9505321522496607]],Dy=[[3.2409699419045226,-1.537383177570094,-0.4986107602930034],[-0.9692436362808796,1.8759675015077202,.04155505740717559],[.05563007969699366,-0.20397695888897652,1.0569715142428786]],gc=new jt({id:"srgb-linear",name:"Linear sRGB",white:"D65",toXYZ_M:xy,fromXYZ_M:Dy,formats:{color:{}}}),vc={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]},bc=Array(3).fill("<percentage> | <number>[0, 255]"),yc=Array(3).fill("<number>[0, 255]"),an=new jt({id:"srgb",name:"sRGB",base:gc,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:bc},rgb_number:{name:"rgb",commas:true,coords:yc,noAlpha:true},color:{},rgba:{coords:bc,commas:true,lastAlpha:true},rgba_number:{name:"rgba",commas:true,coords:yc},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=vc.black,r.alpha=0):r.coords=vc[t],r.coords)return r}}}}),wc=new jt({id:"p3",name:"P3",base:hc,fromBase:an.fromBase,toBase:an.toBase,formats:{color:{id:"display-p3"}}});if(wr.display_space=an,typeof CSS<"u"&&(ce=CSS)!==null&&ce!==void 0&&ce.supports)for(var Uo=0,xc=[Ut,mc,wc];Uo<xc.length;Uo++){var Xo=xc[Uo],_y=Xo.getMinCoords(),Ay={space:Xo,coords:_y,alpha:1},Ey=fi(Ay);if(CSS.supports("color",Ey)){wr.display_space=Xo;break}}function Cy(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=fi(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(fi(s,i)),o.color=s;}return o}function Dc(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 Sy(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 Xr(e){return ar(e,[rr,"y"])}function _c(e,t){Wr(e,[rr,"y"],t);}function ky(e){Object.defineProperty(e.prototype,"luminance",{get:function(){return Xr(this)},set:function(r){_c(this,r);}});}var Ty=Object.freeze({__proto__:null,getLuminance:Xr,setLuminance:_c,register:ky});function Fy(e,t){e=at(e),t=at(t);var r=Math.max(Xr(e),0),a=Math.max(Xr(t),0);if(a>r){var n=[a,r];r=n[0],a=n[1];}return (r+.05)/(a+.05)}var Ry=.56,Iy=.57,Ly=.62,Py=.65,Ac=.022,Oy=1.414,My=.1,Ny=5e-4,qy=1.14,Ec=.027,By=1.14;function Cc(e){return e>=Ac?e:e+Math.pow(Ac-e,Oy)}function _a(e){var t=e<0?-1:1,r=Math.abs(e);return t*Math.pow(r,2.4)}function Hy(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=_a(i)*.2126729+_a(o)*.7151522+_a(s)*.072175;e=nr(e,"srgb");var c=le(e.coords,3);i=c[0],o=c[1],s=c[2];var d=_a(i)*.2126729+_a(o)*.7151522+_a(s)*.072175,m=Cc(u),y=Cc(d),C=y>m;return Math.abs(y-m)<Ny?a=0:C?(r=Math.pow(y,Ry)-Math.pow(m,Iy),a=r*qy):(r=Math.pow(y,Py)-Math.pow(m,Ly),a=r*By),Math.abs(a)<My?n=0:a>0?n=a-Ec:n=a+Ec,n*100}function Vy(e,t){e=at(e),t=at(t);var r=Math.max(Xr(e),0),a=Math.max(Xr(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 jy=5e4;function $y(e,t){e=at(e),t=at(t);var r=Math.max(Xr(e),0),a=Math.max(Xr(t),0);if(a>r){var n=[a,r];r=n[0],a=n[1];}return a===0?jy:(r-a)/a}function zy(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 Gy=216/24389,Sc=24/116,hi=24389/27,Yo=pr.D65,Ko=new Fe({id:"lab-d65",name:"Lab D65",coords:{l:{refRange:[0,100],name:"L"},a:{refRange:[-125,125]},b:{refRange:[-125,125]}},white:Yo,base:rr,fromBase:function(t){var r=t.map(function(n,i){return n/Yo[i]}),a=r.map(function(n){return n>Gy?Math.cbrt(n):(hi*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]>Sc?Math.pow(r[0],3):(116*r[0]-16)/hi,t[0]>8?Math.pow((t[0]+16)/116,3):t[0]/hi,r[2]>Sc?Math.pow(r[2],3):(116*r[2]-16)/hi];return a.map(function(n,i){return n*Yo[i]})},formats:{"lab-d65":{coords:["<number> | <percentage>","<number>","<number>"]}}}),Jo=Math.pow(5,.5)*.5+.5;function Wy(e,t){e=at(e),t=at(t);var r=ar(e,[Ko,"l"]),a=ar(t,[Ko,"l"]),n=Math.abs(Math.pow(r,Jo)-Math.pow(a,Jo)),i=Math.pow(n,1/Jo)*Math.SQRT2-40;return i<7.5?0:i}var gi=Object.freeze({__proto__:null,contrastWCAG21:Fy,contrastAPCA:Hy,contrastMichelson:Vy,contrastWeber:$y,contrastLstar:zy,contrastDeltaPhi:Wy});function Uy(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};Za(r)&&(r={algorithm:r});var a=r,n=a.algorithm,i=Ce(a,_);if(!n){var o=Object.keys(gi).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 gi)if("contrast"+n.toLowerCase()===s.toLowerCase())return gi[s](e,t,i);throw new TypeError("Unknown contrast algorithm: ".concat(n))}function kc(e){var t=Qa(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 Tc(e){var t=Qa(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 Xy(e){Object.defineProperty(e.prototype,"uv",{get:function(){return kc(this)}}),Object.defineProperty(e.prototype,"xy",{get:function(){return Tc(this)}});}var Yy=Object.freeze({__proto__:null,uv:kc,xy:Tc,register:Xy});function Ky(e,t){return Dc(e,t,"lab")}var Jy=Math.PI,Fc=Jy/180;function Zy(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],m=en.from(Ut,[u,c,d]),y=le(m,3),C=y[1],k=y[2],I=Ut.from(t),L=le(I,3),O=L[0],q=L[1],B=L[2],V=en.from(Ut,[O,q,B])[1];C<0&&(C=0),V<0&&(V=0);var X=u-O,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(k)&&(k=0),k>=164&&k<=345?ge=.56+Math.abs(.2*Math.cos((k+168)*Fc)):ge=.36+Math.abs(.4*Math.cos((k+35)*Fc));var Se=Math.pow(C,4),Me=Math.sqrt(Se/(Se+1900)),xe=pe*(Me*ge+1-Me),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 Rc=203,Zo=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*Rc,0)})},toBase:function(t){return t.map(function(r){return Math.max(r/Rc,0)})}}),vi=1.15,bi=.66,Ic=2610/Math.pow(2,14),Qy=Math.pow(2,14)/2610,Lc=3424/Math.pow(2,12),Pc=2413/Math.pow(2,7),Oc=2392/Math.pow(2,7),e0=1.7*2523/Math.pow(2,5),Mc=Math.pow(2,5)/(1.7*2523),yi=-0.56,Qo=16295499532821565e-27,t0=[[.41478972,.579999,.014648],[-0.20151,1.120649,.0531008],[-0.0166008,.2648,.6684799]],r0=[[1.9242264357876067,-1.0047923125953657,.037651404030618],[.35031676209499907,.7264811939316552,-0.06538442294808501],[-0.09098281098284752,-0.3127282905230739,1.5227665613052603]],a0=[[.5,.5,0],[3.524,-4.066708,.542708],[.199076,1.096799,-1.295875]],n0=[[1,.1386050432715393,.05804731615611886],[.9999999999999999,-0.1386050432715393,-0.05804731615611886],[.9999999999999998,-0.09601924202631895,-0.8118918960560388]],Nc=new Fe({id:"jzazbz",name:"Jzazbz",coords:{jz:{refRange:[0,1],name:"Jz"},az:{refRange:[-0.5,.5]},bz:{refRange:[-0.5,.5]}},base:Zo,fromBase:function(t){var r=le(t,3),a=r[0],n=r[1],i=r[2],o=vi*a-(vi-1)*i,s=bi*n-(bi-1)*a,l=xt(t0,[o,s,i]),u=l.map(function(I){var L=Lc+Pc*Math.pow(I/1e4,Ic),O=1+Oc*Math.pow(I/1e4,Ic);return Math.pow(L/O,e0)}),c=xt(a0,u),d=le(c,3),m=d[0],y=d[1],C=d[2],k=(1+yi)*m/(1+yi*m)-Qo;return [k,y,C]},toBase:function(t){var r=le(t,3),a=r[0],n=r[1],i=r[2],o=(a+Qo)/(1+yi-yi*(a+Qo)),s=xt(n0,[o,n,i]),l=s.map(function(I){var L=Lc-Math.pow(I,Mc),O=Oc*Math.pow(I,Mc)-Pc,q=1e4*Math.pow(L/O,Qy);return q}),u=xt(r0,l),c=le(u,3),d=c[0],m=c[1],y=c[2],C=(d+(vi-1)*y)/vi,k=(m+(bi-1)*C)/bi;return [C,k,y]},formats:{color:{}}}),es=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:Nc,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)),ci(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 i0(e,t){var r=es.from(e),a=le(r,3),n=a[0],i=a[1],o=a[2],s=es.from(t),l=le(s,3),u=l[0],c=l[1],d=l[2],m=n-u,y=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,k=2*Math.sqrt(i*c)*Math.sin(C/2*(Math.PI/180));return Math.sqrt(Math.pow(m,2)+Math.pow(y,2)+Math.pow(k,2))}var qc=3424/4096,Bc=2413/128,Hc=2392/128,Vc=2610/16384,o0=2523/32,s0=16384/2610,jc=32/2523,l0=[[.3592,.6976,-0.0358],[-0.1922,1.1004,.0755],[.007,.0749,.8434]],u0=[[2048/4096,2048/4096,0],[6610/4096,-13613/4096,7003/4096],[17933/4096,-17390/4096,-543/4096]],c0=[[.9999888965628402,.008605050147287059,.11103437159861648],[1.00001110343716,-0.008605050147287059,-0.11103437159861648],[1.0000320633910054,.56004913547279,-0.3206339100541203]],d0=[[2.0701800566956137,-1.326456876103021,.20661600684785517],[.3649882500326575,.6804673628522352,-0.04542175307585323],[-0.04959554223893211,-0.04942116118675749,1.1879959417328034]],ts=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:Zo,fromBase:function(t){var r=xt(l0,t);return f0(r)},toBase:function(t){var r=p0(t);return xt(d0,r)},formats:{color:{}}});function f0(e){var t=e.map(function(r){var a=qc+Bc*Math.pow(r/1e4,Vc),n=1+Hc*Math.pow(r/1e4,Vc);return Math.pow(a/n,o0)});return xt(u0,t)}function p0(e){var t=xt(c0,e),r=t.map(function(a){var n=Math.max(Math.pow(a,jc)-qc,0),i=Bc-Hc*Math.pow(a,jc);return 1e4*Math.pow(n/i,s0)});return r}function m0(e,t){var r=ts.from(e),a=le(r,3),n=a[0],i=a[1],o=a[2],s=ts.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 h0=[[.8190224432164319,.3619062562801221,-0.12887378261216414],[.0329836671980271,.9292868468965546,.03614466816999844],[.048177199566046255,.26423952494422764,.6335478258136937]],g0=[[1.2268798733741557,-0.5578149965554813,.28139105017721583],[-0.04057576262431372,1.1122868293970594,-0.07171106666151701],[-0.07637294974672142,-0.4214933239627914,1.5869240244272418]],v0=[[.2104542553,.793617785,-0.0040720468],[1.9779984951,-2.428592205,.4505937099],[.0259040371,.7827717662,-0.808675766]],b0=[[.9999999984505198,.39633779217376786,.2158037580607588],[1.0000000088817609,-0.10556134232365635,-0.06385417477170591],[1.0000000546724108,-0.08948418209496575,-1.2914855378640917]],wi=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(h0,t),a=r.map(function(n){return Math.cbrt(n)});return xt(v0,a)},toBase:function(t){var r=xt(b0,t),a=r.map(function(n){return Math.pow(n,3)});return xt(g0,a)},formats:{oklab:{coords:["<number> | <percentage>","<number>","<number>"]}}});function y0(e,t){var r=wi.from(e),a=le(r,3),n=a[0],i=a[1],o=a[2],s=wi.from(t),l=le(s,3),u=l[0],c=l[1],d=l[2],m=n-u,y=i-c,C=o-d;return Math.sqrt(Math.pow(m,2)+Math.pow(y,2)+Math.pow(C,2))}var rs=Object.freeze({__proto__:null,deltaE76:Ky,deltaECMC:Zy,deltaE2000:Wo,deltaEJz:i0,deltaEITP:m0,deltaEOK:y0});function nn(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};Za(r)&&(r={method:r});var a=r,n=a.method,i=n===void 0?wr.deltaE:n,o=Ce(a,R);e=at(e),t=at(t);for(var s in rs)if("deltae"+i.toLowerCase()===s.toLowerCase())return rs[s](e,t,o);throw new TypeError("Unknown deltaE method: ".concat(i))}function w0(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:.25,r=Fe.get("oklch","lch"),a=[r,"l"];return Wr(e,a,function(n){return n*(1+t)})}function x0(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:.25,r=Fe.get("oklch","lch"),a=[r,"l"];return Wr(e,a,function(n){return n*(1-t)})}var D0=Object.freeze({__proto__:null,lighten:w0,darken:x0});function $c(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],zr(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=on(e,t,{space:s,outputSpace:l,premultiplied:u});return c(r)}function zc(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a;if(as(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,m=Ce(i,D);if(!a){var y=[at(e),at(t)];e=y[0],t=y[1],a=on(e,t,m);}var C=nn(e,t),k=o>0?Math.max(u,Math.ceil(C/o)+1):u,I=[];if(d!==void 0&&(k=Math.min(k,d)),k===1)I=[{p:.5,color:a(.5)}];else {var L=1/(k-1);I=Array.from({length:k},function(ne,he){var ee=he*L;return {p:ee,color:a(ee)}});}if(o>0)for(var O=I.reduce(function(ne,he,ee){if(ee===0)return 0;var ue=nn(he.color,I[ee-1].color,s);return Math.max(ne,ue)},0);O>o;){O=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);O=Math.max(O,nn(Q,B.color),nn(Q,V.color)),I.splice(q,0,{p:X,color:a(X)}),q++;}}return I=I.map(function(ne){return ne.color}),I}function on(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(as(e)){var a=e,n=t;return on.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=rn(e),t=rn(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=Ur(e),t=Ur(t),i.coords.h&&i.coords.h.type==="angle"){var c=r.hue=r.hue||"shorter",d=[i,"h"],m=[ar(e,d),ar(t,d)],y=m[0],C=m[1],k=hy(c,[y,C]),I=le(k,2);y=I[0],C=I[1],Wr(e,d,y),Wr(t,d,C);}return l&&(e.coords=e.coords.map(function(L){return L*e.alpha}),t.coords=t.coords.map(function(L){return L*t.alpha})),Object.assign(function(L){L=s?s(L):L;var O=e.coords.map(function(V,X){var Q=t.coords[X];return si(V,Q,L)}),q=si(e.alpha,t.alpha,L),B={space:i,coords:O,alpha:q};return l&&(B.coords=B.coords.map(function(V){return V/q})),o!==i&&(B=nr(B,o)),B},{rangeArgs:u})}function as(e){return zr(e)==="function"&&!!e.rangeArgs}wr.interpolationSpace="lab";function _0(e){e.defineFunction("mix",$c,{returns:"color"}),e.defineFunction("range",on,{returns:"function<color>"}),e.defineFunction("steps",zc,{returns:"array<color>"});}var A0=Object.freeze({__proto__:null,mix:$c,steps:zc,range:on,isRange:as,register:_0}),Gc=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:an,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}}}),Wc=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:Gc,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}}}),E0=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:Wc,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>"]}}}),C0=[[.5766690429101305,.1855582379065463,.1882286462349947],[.29734497525053605,.6273635662554661,.07529145849399788],[.02703136138641234,.07068885253582723,.9913375368376388]],S0=[[2.0415879038107465,-0.5650069742788596,-0.34473135077832956],[-0.9692436362808795,1.8759675015077202,.04155505740717557],[.013444280632031142,-0.11836239223101838,1.0151749943912054]],Uc=new jt({id:"a98rgb-linear",name:"Linear Adobe\xAE 98 RGB compatible",white:"D65",toXYZ_M:C0,fromXYZ_M:S0}),k0=new jt({id:"a98rgb",name:"Adobe\xAE 98 RGB compatible",base:Uc,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"}}}),T0=[[.7977604896723027,.13518583717574031,.0313493495815248],[.2880711282292934,.7118432178101014,8565396060525902e-20],[0,0,.8251046025104601]],F0=[[1.3457989731028281,-0.25558010007997534,-0.05110628506753401],[-0.5446224939028347,1.5082327413132781,.02053603239147973],[0,0,1.2119675456389454]],Xc=new jt({id:"prophoto-linear",name:"Linear ProPhoto",white:"D50",base:zo,toXYZ_M:T0,fromXYZ_M:F0}),R0=1/512,I0=16/512,L0=new jt({id:"prophoto",name:"ProPhoto",base:Xc,toBase:function(t){return t.map(function(r){return r<I0?r/16:Math.pow(r,1.8)})},fromBase:function(t){return t.map(function(r){return r>=R0?Math.pow(r,1/1.8):16*r})},formats:{color:{id:"prophoto-rgb"}}}),P0=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:wi,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)),ci(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>"]}}}),Yc=203,Kc=2610/Math.pow(2,14),O0=Math.pow(2,14)/2610,M0=2523/Math.pow(2,5),Jc=Math.pow(2,5)/2523,Zc=3424/Math.pow(2,12),Qc=2413/Math.pow(2,7),ed=2392/Math.pow(2,7),N0=new jt({id:"rec2100pq",name:"REC.2100-PQ",base:pi,toBase:function(t){return t.map(function(r){var a=Math.pow(Math.max(Math.pow(r,Jc)-Zc,0)/(Qc-ed*Math.pow(r,Jc)),O0);return a*1e4/Yc})},fromBase:function(t){return t.map(function(r){var a=Math.max(r*Yc/1e4,0),n=Zc+Qc*Math.pow(a,Kc),i=1+ed*Math.pow(a,Kc);return Math.pow(n/i,M0)})},formats:{color:{id:"rec2100-pq"}}}),td=.17883277,rd=.28466892,ad=.55991073,ns=3.7743,q0=new jt({id:"rec2100hlg",cssid:"rec2100-hlg",name:"REC.2100-HLG",referred:"scene",base:pi,toBase:function(t){return t.map(function(r){return r<=.5?Math.pow(r,2)/3*ns:Math.exp((r-ad)/td+rd)/12*ns})},fromBase:function(t){return t.map(function(r){return r/=ns,r<=1/12?Math.sqrt(3*r):td*Math.log(12*r-rd)+ad})},formats:{color:{id:"rec2100-hlg"}}}),nd={};Gr.add("chromatic-adaptation-start",function(e){e.options.method&&(e.M=id(e.W1,e.W2,e.options.method));}),Gr.add("chromatic-adaptation-end",function(e){e.M||(e.M=id(e.W1,e.W2,e.options.method));});function xi(e){var t=e.id;e.toCone_M;e.fromCone_M;nd[t]=arguments[0];}function id(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"Bradford",a=nd[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],m=c[1],y=c[2],C=[[d/o,0,0],[0,m/s,0],[0,0,y/l]],k=xt(C,a.toCone_M),I=xt(a.fromCone_M,k);return I}xi({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]]}),xi({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]]}),xi({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]]}),xi({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 B0=[[.6624541811085053,.13400420645643313,.1561876870049078],[.27222871678091454,.6740817658111484,.05368951740793705],[-0.005574649490394108,.004060733528982826,1.0103391003129971]],H0=[[1.6410233796943257,-0.32480329418479,-0.23642469523761225],[-0.6636628587229829,1.6153315916573379,.016756347685530137],[.011721894328375376,-0.008284441996237409,.9883948585390215]],od=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:B0,fromXYZ_M:H0,formats:{color:{}}}),Di=Math.pow(2,-16),is=-0.35828683,_i=(Math.log2(65504)+9.72)/17.52,V0=new jt({id:"acescc",name:"ACEScc",coords:{r:{range:[is,_i],name:"Red"},g:{range:[is,_i],name:"Green"},b:{range:[is,_i],name:"Blue"}},referred:"scene",base:od,toBase:function(t){var r=-0.3013698630136986;return t.map(function(a){return a<=r?(Math.pow(2,a*17.52-9.72)-Di)*2:a<_i?Math.pow(2,a*17.52-9.72):65504})},fromBase:function(t){return t.map(function(r){return r<=0?(Math.log2(Di)+9.72)/17.52:r<Di?(Math.log2(Di+r*.5)+9.72)/17.52:(Math.log2(r)+9.72)/17.52})},formats:{color:{}}}),sd=Object.freeze({__proto__:null,XYZ_D65:rr,XYZ_D50:zo,XYZ_ABS_D65:Zo,Lab_D65:Ko,Lab:Ut,LCH:en,sRGB_Linear:gc,sRGB:an,HSL:Gc,HWB:E0,HSV:Wc,P3_Linear:hc,P3:wc,A98RGB_Linear:Uc,A98RGB:k0,ProPhoto_Linear:Xc,ProPhoto:L0,REC_2020_Linear:pi,REC_2020:mc,OKLab:wi,OKLCH:P0,Jzazbz:Nc,JzCzHz:es,ICTCP:ts,REC_2100_PQ:N0,REC_2100_HLG:q0,ACEScg:od,ACEScc:V0}),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(y){Object.defineProperty(t,y,{get:function(){return t.get(y)},set:function(k){return t.set(y,k)}});};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=Cy.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 y=d.apply(void 0,arguments);return st.get(y)},Object.assign(c,d);}else s==="array<color>"&&(c=c.map(function(m){return st.get(m)}));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:Qa,set:Wr,setAll:uc,to:nr,equals:Sy,inGamut:tn,toGamut:Ur,distance:Dc,toString:fi}),Object.assign(st,{util:cy,hooks:Gr,WHITES:pr,Space:Fe,spaces:Fe.registry,parse:lc,defaults:wr});for(var os=0,ld=Object.keys(sd);os<ld.length;os++){var j0=ld[os];Fe.register(sd[j0]);}for(var ud in Fe.registry)ss(ud,Fe.registry[ud]);Gr.add("colorspace-init-end",function(e){var t;ss(e.id,e),(t=e.aliases)===null||t===void 0||t.forEach(function(r){ss(r,e);});});function ss(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]),m=d.index;if(m>=0)return s[m]=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(rs),st.extend({deltaE:nn}),st.extend(D0),st.extend({contrast:Uy}),st.extend(Yy),st.extend(Ty),st.extend(A0),st.extend(gi);var cd=br(Pu());$r.default.templateSettings.strip=false,f._memoizedFns=[];function $0(e){var t=(0, rc.default)(e);return f._memoizedFns.push(t),t}var ut=$0,z0=ut(function(e){return e!=null&&e.createElement?e.createElement("A").localName==="A":false}),sn=z0;function ls(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!t)return "";var a=t.getRootNode&&t.getRootNode()||v;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 G0=["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"],W0=31,U0=/([\\"])/g,X0=/(\r\n|\r|\n)/g;function us(e){return e.replace(U0,"\\$1").replace(X0,"\\a ")}function dd(e,t){var r=t.name,a;if(r.indexOf("href")!==-1||r.indexOf("src")!==-1){var n=Qu(e.getAttribute(r));n?a=vt(t.name)+'$="'+us(n)+'"':a=vt(t.name)+'="'+us(e.getAttribute(r))+'"';}else a=vt(r)+'="'+us(t.value)+'"';return a}function cs(e,t){return e.count<t.count?-1:e.count===t.count?0:1}function fd(e){return !G0.includes(e.name)&&e.name.indexOf(":")===-1&&(!e.value||e.value.length<W0)}function Ai(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(Ja(s)).filter(fd).forEach(function(u){var c=dd(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 Y0(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(cs)}function K0(e,t){var r=e.parentNode&&Array.from(e.parentNode.children||"")||[],a=r.find(function(i){return i!==e&&xa(i,t)});if(a){var n=1+r.indexOf(e);return ":nth-child("+n+")"}else return ""}function J0(e){if(e.getAttribute("id")){var t=e.getRootNode&&e.getRootNode()||v,r="#"+vt(e.getAttribute("id")||"");if(!r.match(/player_uid_/)&&t.querySelectorAll(r).length===1)return r}}function pd(e){var t=sn(v);return vt(t?e.localName:e.nodeName.toLowerCase())}function Z0(e,t){var r=[],a=t.attributes,n=t.tags;return e.hasAttributes()&&Array.from(Ja(e)).filter(fd).forEach(function(i){var o=dd(e,i);o&&a[o]<n[e.nodeName]&&r.push({name:o,count:a[o],species:"attribute"});}),r.sort(cs)}function Q0(e,t){var r="",a,n=Y0(e,t),i=Z0(e,t);return n.length&&n[0].count===1?a=[n[0]]:i.length&&i[0].count===1?(a=[i[0]],r=pd(e)):(a=n.concat(i),a.sort(cs),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=pd(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 ew(e,t,r){if(!f._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=J0(e);s||(s=Q0(e,f._selectorData),s+=K0(e,s)),i?i=s+" > "+i:i=s,!o||o.length>He.selectorSimilarFilterLimit?o=rw(r,i):o=o.filter(function(l){return xa(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 tw(e,t){return ls(ew,e,t)}var ds=ut(tw),rw=ut(function(e,t){return Array.from(e.querySelectorAll(t))});function md(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?md(r)+" > "+t+n:t+n}function Ei(e,t){return ls(md,e,t)}function hd(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=hd(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 aw(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 nw(e){var t=hd(e);return aw(t)}var gd=nw,ln={},iw={set:function(t,r){ow(t),ln[t]=r;},get:function(t,r){if(sw(r),t in ln)return ln[t];if(typeof r=="function"){var a=r();return Qe(a!==void 0,"Cache creator function should not return undefined"),this.set(t,a),ln[t]}},clear:function(){ln={};}};function ow(e){Qe(typeof e=="string","key must be a string, "+ae(e)+" given"),Qe(e!=="","key must not be empty");}function sw(e){Qe(typeof e=="function"||typeof e>"u","creator must be a function or undefined, "+ae(e)+" given");}var Be=iw;function lw(e,t){var r=t||e;return Be.get("nodeMap")?Be.get("nodeMap").get(r):null}var je=lw;function vd(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 fs(s,a)}var l=uw(e);return l.length>a?cw(e,{maxLength:a,attrLimit:i}):l}function uw(e){var t=e.outerHTML;return !t&&typeof p.XMLSerializer=="function"&&(t=new p.XMLSerializer().serializeToString(e)),t||""}function cw(e,t){var r=t.maxLength,a=t.attrLimit,n=sn(e.ownerDocument||v)?e.nodeName:e.nodeName.toLowerCase(),i=Array.from(Ja(e)).map(function(C){var k=C.name,I=C.value;return {name:k,value:I}}),o=i.reduce(function(C,k){var I=k.name,L=k.value;return C+I.length+L.length+4},0);2+n.length+o>r&&i.forEach(function(C){C.name=fs(C.name,a),C.value=fs(C.value,a);});var s="<".concat(n),l=">",u=" ...>",c=Ge(i),d;try{for(c.s();!(d=c.n()).done;){var m=d.value,y=" ".concat(m.name,'="').concat(m.value,'"');if(s.length+y.length>r-u.length){l=u;continue}s+=y;}}catch(C){c.e(C);}finally{c.f();}return s+l}function fs(e,t){return e.length<=t?e:e.substring(0,t)+"..."}var bd="DqElm.RunOptions",da=ut(function(t,r,a){var n,i;if(r??(r=null),a??(a={}),!r){var o;r=(o=Be.get(bd))!==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,!f._audit.noHtml){var s;this.source=(s=this.spec.source)!==null&&s!==void 0?s:vd(this._element);}return this});da.prototype={get selector(){return this.spec.selector||[ds(this.element,this._options)]},get ancestry(){return this.spec.ancestry||[Ei(this.element)]},get xpath(){return this.spec.xpath||[gd(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}},da.fromFrame=function(t,r,a){var n=da.mergeSpecs(t,a);return new da(a.element,r,n)},da.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})},da.setRunOptions=function(t){var r=t.elementRef,a=t.absolutePaths;Be.set(bd,{elementRef:r,absolutePaths:a});};var ir=da;function dw(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=Zu(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 ps=dw;function Ir(e){return ms(e,new Map)}function ms(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(ms(s,t));}),n}var i={};t.set(e,i);for(var o in e)i[o]=ms(e[o],t);return i}var un=new tc.CssSelectorParser;un.registerSelectorPseudos("not"),un.registerSelectorPseudos("is"),un.registerNestingOperators(">"),un.registerAttrEqualityMods("^","$","*","~");var yd=un;function hs(e,t){var r=Ci(t);return r.some(function(a){return Aa(e,a)})}function fw(e,t){return e.props.nodeType===1&&(t.tag==="*"||e.props.nodeName===t.tag)}function pw(e,t){return !t.classes||t.classes.every(function(r){return e.hasClass(r.value)})}function mw(e,t){return !t.attributes||t.attributes.every(function(r){var a=e.attr(r.key);return a!==null&&r.test(a)})}function hw(e,t){return !t.id||e.props.id===t.id}function gw(e,t){return !!(!t.pseudos||t.pseudos.every(function(r){if(r.name==="not")return !r.expressions.some(function(a){return Aa(e,a)});if(r.name==="is")return r.expressions.some(function(a){return Aa(e,a)});throw new Error("the pseudo selector "+r.name+" has not yet been implemented")}))}function wd(e,t){return fw(e,t)&&pw(e,t)&&mw(e,t)&&hw(e,t)&&gw(e,t)}var cn=(function(){var e=/(?=[\-\[\]{}()*+?.\\\^$|,#\s])/g,t="\\";return function(r){return r.replace(e,t)}})(),gs=/\\/g;function vw(e){if(e)return e.map(function(t){var r=t.name.replace(gs,""),a=(t.value||"").replace(gs,""),n,i;switch(t.operator){case "^=":i=new RegExp("^"+cn(a));break;case "$=":i=new RegExp(cn(a)+"$");break;case "~=":i=new RegExp("(^|\\s)"+cn(a)+"(\\s|$)");break;case "|=":i=new RegExp("^"+cn(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 bw(e){if(e)return e.map(function(t){return t=t.replace(gs,""),{value:t,regexp:new RegExp("(^|\\s)"+cn(t)+"(\\s|$)")}})}function yw(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=xd(r)),{name:t.name,expressions:r,value:t.value}})}function xd(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:vw(a.attrs),classes:bw(a.classNames),pseudos:yw(a.pseudos)}),a=a.rule;return r})}function Ci(e){var t=yd.parse(e);return t=t.selectors?t.selectors:[t],xd(t)}function Dd(e,t,r,a){if(!e)return false;for(var n=Array.isArray(t),i=n?t[r]:t,o=wd(e,i);!o&&a&&e.parent;)e=e.parent,o=wd(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&&Dd(e.parent,t,r-1,i.combinator===" ");}return o}function Aa(e,t,r){return Dd(e,t,t.length-1,r)}function ww(e,t){for(;e;){if(hs(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=ww;function Si(){}function vs(e){if(typeof e!="function")throw new TypeError("Queue methods require functions as arguments")}function xw(){var e=[],t=0,r=0,a=Si,n=false,i,o=function(y){i=y,setTimeout(function(){i!=null&&ca("Uncaught error (of queue)",i);},1);},s=o;function l(m){return function(y){e[m]=y,r-=1,!r&&a!==Si&&(n=true,a(e));}}function u(m){return a=Si,s(m),e}function c(){for(var m=e.length;t<m;t++){var y=e[t];try{y.call(null,l(t),u);}catch(C){u(C);}}}var d={defer:function(y){if(ae(y)==="object"&&y.then&&y.catch){var C=y;y=function(I,L){C.then(I).catch(L);};}if(vs(y),i===void 0){if(n)throw new Error("Queue already completed");return e.push(y),++r,c(),d}},then:function(y){if(vs(y),a!==Si)throw new Error("queue `then` already set");return i||(a=y,r||(n=true,a(e))),d},catch:function(y){if(vs(y),s!==o)throw new Error("queue `catch` already set");return i?(y(i),i=null):s=y,d},abort:u};return d}var xr=xw,Ea,Ca,bs=p.crypto||p.msCrypto;if(!Ca&&bs&&bs.getRandomValues){var _d=new Uint8Array(16);Ca=function(){return bs.getRandomValues(_d),_d};}if(!Ca){var Ad=new Array(16);Ca=function(){for(var t=0,r;t<16;t++)(t&3)===0&&(r=Math.random()*4294967296),Ad[t]=r>>>((t&3)<<3)&255;return Ad};}for(var Ed=typeof p.Buffer=="function"?p.Buffer:Array,ys=[],Cd={},Sa=0;Sa<256;Sa++)ys[Sa]=(Sa+256).toString(16).substr(1),Cd[ys[Sa]]=Sa;function Dw(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++]=Cd[i]);});n<16;)t[a+n++]=0;return t}function ws(e,t){var r=t||0,a=ys;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 Yr=Ca(),_w=[Yr[0]|1,Yr[1],Yr[2],Yr[3],Yr[4],Yr[5]],Sd=(Yr[6]<<8|Yr[7])&16383,xs=0,Ds=0;function kd(e,t,r){var a=t&&r||0,n=t||[];e=e||{};var i=e.clockseq!=null?e.clockseq:Sd,o=e.msecs!=null?e.msecs:new Date().getTime(),s=e.nsecs!=null?e.nsecs:Ds+1,l=o-xs+(s-Ds)/1e4;if(l<0&&e.clockseq==null&&(i=i+1&16383),(l<0||o>xs)&&e.nsecs==null&&(s=0),s>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");xs=o,Ds=s,Sd=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||_w,m=0;m<6;m++)n[a+m]=d[m];return t||ws(n)}function fa(e,t,r){var a=t&&r||0;typeof e=="string"&&(t=e=="binary"?new Ed(16):null,e=null),e=e||{};var n=e.random||(e.rng||Ca)();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||ws(n)}Ea=fa,Ea.v1=kd,Ea.v4=fa,Ea.parse=Dw,Ea.unparse=ws,Ea.BufferClass=Ed,f._uuid=kd();var Aw=fa,Ew=Object.freeze(["EvalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"]);function Cw(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:Td()};return a instanceof Error?o.error={name:a.name,message:a.message,stack:a.stack}:o.payload=a,JSON.stringify(o)}function Sw(e){var t;try{t=JSON.parse(e);}catch{return}if(kw(t)){var r=t,a=r.topic,n=r.channelId,i=r.messageId,o=r.keepalive,s=ae(t.error)==="object"?Tw(t.error):t.payload;return {topic:a,message:s,messageId:i,channelId:n,keepalive:!!o}}}function kw(e){return e!==null&&ae(e)==="object"&&typeof e.channelId=="string"&&e.source===Td()}function Tw(e){var t=e.message||"Unknown error occurred",r=Ew.includes(e.name)?e.name:"Error",a=p[r]||Error;return e.stack&&(t+=`
|
|
365
|
+
`+e.stack.replace(e.message,"")),new a(t)}function Td(){var e="axeAPI",t="";return typeof f<"u"&&f._audit&&f._audit.application&&(e=f._audit.application),typeof f<"u"&&(t=f.version),e+"."+t}function _s(e){Rd(e),Qe(p.parent===e,"Source of the response must be the parent window.");}function Fd(e){Rd(e),Qe(e.parent===p,"Respondable target must be a frame in the current window");}function Rd(e){Qe(p!==e,"Messages can not be sent to the same window.");}var dn={};function Fw(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:true;Qe(!Object.prototype.hasOwnProperty.call(dn,e),"A replyHandler already exists for this message channel."),dn[e]={replyHandler:t,sendToParent:r};}function Rw(e){return Object.prototype.hasOwnProperty.call(dn,e)?dn[e]:void 0}function Iw(e){delete dn[e];}var ki=[];function As(){var e="".concat(fa(),":").concat(fa());return ki.includes(e)?As():(ki.push(e),e)}function Lw(e){return ki.includes(e)?false:(ki.push(e),true)}function Es(e,t,r,a){if(r?_s(e):Fd(e),t.message instanceof Error&&!r)return f.log(t.message),false;var n=Cw(Te({messageId:As()},t)),i=f._audit.allowedOrigins;return !i||!i.length?false:(typeof a=="function"&&Fw(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 Pw(e,t,r){if(!e.parent!==p)return f.log(t);try{Es(e,{topic:null,channelId:r,message:t,messageId:As(),keepalive:!0},!0);}catch(a){return f.log(a)}}function Id(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};Es(e,s,r,o);}}function Ow(e){var t=f._audit.allowedOrigins;return t&&t.includes("*")||t.includes(e)}function Mw(e,t){var r=e.origin,a=e.data,n=e.source;try{var i=Sw(a)||{},o=i.channelId,s=i.message,l=i.messageId;if(!Ow(r)||!Lw(l))return;if(s instanceof Error&&n.parent!==p)return f.log(s),!1;try{if(i.topic){var u=Id(n,o);_s(n),t(i,u);}else Nw(n,i);}catch(c){Pw(n,c,o);}}catch(c){return f.log(c),false}}function Nw(e,t){var r=t.channelId,a=t.message,n=t.keepalive,i=Rw(r)||{},o=i.replyHandler,s=i.sendToParent;if(o){s?_s(e):Fd(e);var l=Id(e,r,s);!n&&r&&Iw(r);try{o(a,n,l);}catch(u){f.log(u),l(u,n);}}}var qw={open:function(t){if(typeof p.addEventListener=="function"){var r=function(n){Mw(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:Es(t,r,false,a)}};function Ld(e){e.updateMessenger(qw);}var Ti,Pd,Fi={};function hr(e,t,r,a,n){var i={topic:t,message:r,channelId:"".concat(fa(),":").concat(fa()),keepalive:a};return Pd(e,i,n)}function Bw(e,t){var r=e.topic,a=e.message,n=e.keepalive,i=Object.prototype.hasOwnProperty.call(Fi,r)?Fi[r]:void 0;if(i)try{i(a,n,t);}catch(o){f.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"),Ti&&Ti();var n=r(Bw);n?(Qe(typeof n=="function","open callback must return a cleanup function"),Ti=n):Ti=null,Pd=a;},hr.subscribe=function(t,r){Qe(typeof r=="function","Subscriber callback must be a function"),Qe(!Object.prototype.hasOwnProperty.call(Fi,t),"Topic ".concat(t," is already registered to.")),Fi[t]=r;},hr.isInFrame=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:p;return !!t.frameElement},Ld(hr);function Od(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){ca("Frame does not have a content window",e),r(null);return}if(s===0){Md(e,t,r,a);return}var l=setTimeout(function(){l=setTimeout(function(){t.debug?a(Nd("No response from frame",e)):r(null);},0);},s);hr(o,"axe.ping",null,void 0,function(){clearTimeout(l),Md(e,t,r,a);});}function Md(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(Nd("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 Nd(e,t){var r;return f._tree&&(r=ds(t)),new Error(e+": "+(r||t))}var fn=null,pn={update:function(t){Qe(ae(t)==="object","serializer must be an object"),fn=t;},toSpec:function(t){return pn.dqElmToSpec(new ir(t))},dqElmToSpec:function(t,r){var a;return t instanceof ir?(r&&(t=Hw(t,r)),typeof((a=fn)===null||a===void 0?void 0:a.toSpec)=="function"?fn.toSpec(t):t.toJSON()):t},mergeSpecs:function(t,r){var a;return typeof((a=fn)===null||a===void 0?void 0:a.mergeSpecs)=="function"?fn.mergeSpecs(t,r):ir.mergeSpecs(t,r)},mapRawResults:function(t){return t.map(function(r){return Te({},r,{nodes:pn.mapRawNodeResults(r.nodes)})})},mapRawNodeResults:function(t){return t?.map(function(r){var a=r.node,n=Ce(r,A);n.node=pn.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(pn.dqElmToSpec),c});}return n})}},or=pn;function Hw(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 Vw(e){var t=[];return t.concat(e.any||[]).concat(e.all||[]).concat(e.none||[])}var Ri=Vw;function jw(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 mn=jw;function $w(e,t,r){e.forEach(function(a){a.node=or.mergeSpecs(a.node,r);var n=Ri(a);n.forEach(function(i){i.relatedNodes=i.relatedNodes.map(function(o){return or.mergeSpecs(o,r)});});});}function zw(e,t){for(var r=t[0].node,a,n=0;n<e.length;n++){a=e[n].node;var i=qd(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 Gw(e){return !e||!e.results?null:Array.isArray(e.results)?e.results.length?e.results:null:[e.results]}function Ww(e,t){var r=[];return e.forEach(function(a){var n=Gw(a);if(!(!n||!n.length)){var i=Uw(a);n.forEach(function(o){o.nodes&&i&&$w(o.nodes,t,i);var s=mn(r,"id",o.id);if(!s)r.push(o);else if(o.nodes.length&&zw(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 qd(n.node.nodeIndexes,i.node.nodeIndexes)});}),r}function qd(){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 Ii=Ww;function Uw(e){return e.frameElement?or.toSpec(e.frameElement):e.frameSpec?e.frameSpec:null}function Bd(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,m){var y={options:t,command:r,parameter:a,context:c};function C(k){return d(k?{results:k,frameElement:u}:null)}Od(u,y,C,m);});}),o.then(function(l){n(Ii(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 Hd(){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]=Hd(e[s],n[s]);}}),e}var Cs=Hd;function Xw(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 Ss=Xw,Yw=["article","aside","blockquote","body","div","footer","h1","h2","h3","h4","h5","h6","header","main","nav","p","section","span"];function Kw(e){if(e.shadowRoot){var t=e.nodeName.toLowerCase();if(Yw.includes(t)||/^[a-z][a-z0-9_.-]*-[a-z0-9_.-]*$/.test(t))return true}return false}var Li=Kw,ks={};ur(ks,{createGrid:function(){return bn},findElmsInContext:function(){return Vd},findNearbyElms:function(){return Vi},findUp:function(){return Ta},findUpVirtual:function(){return ka},focusDisabled:function(){return qs},getComposedParent:function(){return Rt},getElementByReference:function(){return Hs},getElementCoordinates:function(){return Rs},getElementStack:function(){return _f},getModalDialog:function(){return bf},getNodeGrid:function(){return Hi},getOverflowHiddenAncestors:function(){return gn},getRootNode:function(){return Ot},getScrollOffset:function(){return rf},getTabbableElements:function(){return Af},getTargetRects:function(){return $i},getTargetSize:function(){return Ef},getTextElementStack:function(){return nl},getViewportSize:function(){return Pi},getVisibleChildTextRects:function(){return al},hasContent:function(){return Ki},hasContentVirtual:function(){return Cn},hasLangText:function(){return ol},idrefs:function(){return Dr},insertedIntoFocusOrder:function(){return mp},isCurrentPageLink:function(){return Bs},isFixedPosition:function(){return Oi},isFocusable:function(){return Dt},isHTML5:function(){return vp},isHiddenForEveryone:function(){return Kr},isHiddenWithCSS:function(){return __},isInTabOrder:function(){return sr},isInTextBlock:function(){return sl},isInert:function(){return ji},isModalOpen:function(){return Sn},isMultiline:function(){return yp},isNativelyFocusable:function(){return $s},isNode:function(){return L_},isOffscreen:function(){return Mi},isOpaque:function(){return $_},isSkipLink:function(){return cl},isVisible:function(){return Y_},isVisibleOnScreen:function(){return Yt},isVisibleToScreenReaders:function(){return pt},isVisualContent:function(){return il},reduceToElementsBelowFloating:function(){return wp},shadowElementsFromPoint:function(){return Z_},urlPropsFromAttribute:function(){return n2},visuallyContains:function(){return xp},visuallyOverlaps:function(){return dl},visuallySort:function(){return Vs}});function Jw(e){var t=e.getRootNode&&e.getRootNode()||v;return t===e&&(t=v),t}var hn=Jw,Ot=hn;function Zw(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=Ot(t),Array.from(o.querySelectorAll(i+"["+a+"="+s+"]"))}var Vd=Zw;function Qw(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&&!xa(r,t)&&r!==v.documentElement);return !r||!xa(r,t)?null:r}var ka=Qw;function ex(e,t){return ka(je(e),t)}var Ta=ex;function Ts(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 jd=ut(function(t){var r=[];if(!t)return r;var a=t.getComputedStylePropertyValue("overflow");return a==="hidden"&&r.push(t),r.concat(jd(t.parent))}),gn=jd,tx=/rect\s*\(([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px\s*\)/,rx=/(\w+)\((\d+)/;function $d(e){return ["style","script","noscript","template"].includes(e.props.nodeName)}function zd(e){return e.props.nodeName==="area"?false:e.getComputedStylePropertyValue("display")==="none"}function Gd(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.isAncestor;return !r&&["hidden","collapse"].includes(e.getComputedStylePropertyValue("visibility"))}function Wd(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.isAncestor;return !!r&&e.getComputedStylePropertyValue("content-visibility")==="hidden"}function Ud(e){return e.attr("aria-hidden")==="true"}function Xd(e){return e.getComputedStylePropertyValue("opacity")==="0"}function Yd(e){var t=Mr(e.actualNode),r=parseInt(e.getComputedStylePropertyValue("height")),a=parseInt(e.getComputedStylePropertyValue("width"));return !!t&&(r===0||a===0)}function Kd(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=gn(e);if(!n.length)return false;var i=e.boundingClientRect;return n.some(function(o){if(a==="absolute"&&!ax(e,o)&&o.getComputedStylePropertyValue("position")==="static")return false;var s=o.boundingClientRect;return s.width<2||s.height<2?true:!Ts(i,s)})}function Jd(e){var t=e.getComputedStylePropertyValue("clip").match(tx),r=e.getComputedStylePropertyValue("clip-path").match(rx);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 Fs(e,t){var r=Xt(e,"map");if(!r)return true;var a=r.attr("name");if(!a)return true;var n=hn(e.actualNode);if(!n||n.nodeType!==9)return true;var i=Zt(f._tree,'img[usemap="#'.concat(vt(a),'"]'));return !i||!i.length?true:i.some(function(o){return !t(o)})}function Zd(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 ax(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 nx=[zd,Gd,Wd,Zd];function Kr(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?Qd(e,n):ef(e,n)}var Qd=ut(function(t,r){return $d(t)?true:t.actualNode?!!(nx.some(function(a){return a(t,{isAncestor:r})})||!t.actualNode.isConnected):false}),ef=ut(function(t,r){return Qd(t,r)?true:t.parent?ef(t.parent,true):false});function tf(e){if(e.assignedSlot)return tf(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=tf;function ix(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 rf=ix;function ox(e){var t=rf(v),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 Rs=ox;function sx(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 Pi=sx;function Oi(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.skipAncestors,a=Je(e),n=a.vNode;return n?r?af(n):nf(n):false}var af=ut(function(t){return t.getComputedStylePropertyValue("position")==="fixed"}),nf=ut(function(t){return af(t)?true:t.parent?nf(t.parent):false});function lx(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 ux(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=v.documentElement,o=p.getComputedStyle(n),s=p.getComputedStyle(v.body||i).getPropertyValue("direction"),l=Oi(n),u=l?n.getBoundingClientRect():Rs(n);if(u.top===0&&u.bottom===0||u.left===0&&u.right===0)return false;if(u.bottom<=0&&(lx(n,u.bottom)||o.position==="absolute"))return true;var c=Pi(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 Mi=ux,cx=[Xd,Yd,Kd,Jd,Mi];function Yt(e){return e=Je(e).vNode,Is(e)}var Is=ut(function(t,r){return t.actualNode&&t.props.nodeName==="area"?!Fs(t,Is):Kr(t,{skipAncestors:true,isAncestor:r})||t.actualNode&&cx.some(function(a){return a(t,{isAncestor:r})})?false:t.parent?Is(t.parent,true):true});function Ls(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 Ni(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 of={};ur(of,{getBoundingRect:function(){return Ls},getIntersectionRect:function(){return qi},getOffset:function(){return lf},getRectCenter:function(){return vn},hasVisualOverlap:function(){return Ps},isPointInRect:function(){return Ni},rectHasMinimumSize:function(){return Pr},rectsOverlap:function(){return Ts},splitRects:function(){return Os}});function qi(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 vn(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 sf=.05;function Pr(e,t){var r=t.width,a=t.height;return r+sf>=e&&a+sf>=e}function lf(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:12,a=$i(e),n=$i(t);return !a.length||!n.length?null:a.reduce(function(i,o){var s=vn(o),l=Ge(n),u;try{for(l.s();!(u=l.n()).done;){var c=u.value;if(Ni(s,c))return 0;var d=dx(s,c),m=uf(s,d);i=Math.min(i,m);}}catch(L){l.e(L);}finally{l.f();}var y=Ef(t);if(Pr(r*2,y))return i;var C=n.reduce(Ls),k=vn(C),I=uf(s,k)-r;return Math.max(0,Math.min(i,I))},1/0)}function dx(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 uf(e,t){return Math.hypot(e.x-t.x,e.y-t.y)}function Ps(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:Vs(e,t)>0}function Os(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(fx(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 fx(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(Bi(t.top,r,n)&&s&&l.push({top:r,left:a,bottom:t.top,right:i}),Bi(t.right,a,i)&&o&&l.push({top:r,left:t.right,bottom:n,right:i}),Bi(t.bottom,r,n)&&s&&l.push({top:t.bottom,right:i,bottom:n,left:a}),Bi(t.left,a,i)&&o&&l.push({top:r,left:a,bottom:n,right:t.left}),l.length===0){if(mx(e,t))return [];l.push(e);}return l.map(px)}var Bi=function(t,r,a){return t>r&&t<a};function px(e){return new p.DOMRect(e.left,e.top,e.right-e.left,e.bottom-e.top)}function mx(e,t){return e.top>=t.top&&e.left>=t.left&&e.bottom<=t.bottom&&e.right<=t.right}var cf=0,hx=.1,df=.2,ff=.3,Ms=0;function bn(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:v.body,t=arguments.length>1?arguments[1]:void 0,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(Be.get("gridCreated")&&!r)return He.gridSize;if(Be.set("gridCreated",true),!r){var a=je(v.documentElement);if(a||(a=new fl(v.documentElement)),Ms=0,a._stackingOrder=[hf(cf,Ms++,null)],t??(t=new Ns),gf(t,a),Mr(a.actualNode)){var n=new Ns(a);a._subGrid=n;}}for(var i=v.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 f.VirtualNode(o,r)),s._stackingOrder=gx(s,r,Ms++);var l=yx(s,r),u=l?l._subGrid:t;if(Mr(s.actualNode)){var c=new Ns(s);s._subGrid=c;}var d=s.boundingClientRect;d.width!==0&&d.height!==0&&Yt(o)&&gf(u,s),Li(o)&&bn(o.shadowRoot,u,s),o=i.nextNode();}return He.gridSize}function pf(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 m=e.getComputedStylePropertyValue("will-change");if(m==="transform"||m==="opacity"||e.getComputedStylePropertyValue("-webkit-overflow-scrolling")==="touch")return true;var y=e.getComputedStylePropertyValue("contain");return !!(["layout","paint","strict","content"].includes(y)||a!=="auto"&&mf(t))}function mf(e){if(!e)return false;var t=e.getComputedStylePropertyValue("display");return ["flex","inline-flex","grid","inline-grid"].includes(t)}function gx(e,t,r){var a=t._stackingOrder.slice();if(pf(e,t)){var n=a.findIndex(function(o){var s=o.stackLevel;return [cf,df,ff].includes(s)});n!==-1&&a.splice(n,a.length-n);}var i=vx(e,t);return i!==null&&a.push(hf(i,r,e)),a}function hf(e,t,r){return {stackLevel:e,treeOrder:t,vNode:r}}function vx(e,t){var r=bx(e,t);return ["auto","0"].includes(r)?e.getComputedStylePropertyValue("position")!=="static"?ff:e.getComputedStylePropertyValue("float")!=="none"?df:pf(e,t)?hx:null:parseInt(r)}function bx(e,t){var r=e.getComputedStylePropertyValue("position");return r==="static"&&!mf(t)?"auto":e.getComputedStylePropertyValue("z-index")}function yx(e,t){for(var r=null,a=[e];t;){if(Mr(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 gf(e,t){var r=gn(t);t.clientRects.forEach(function(a){var n,i=r.reduce(function(s,l){return s&&qi(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 Ns=(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(Ni({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=Ls(this.boundaries,r)),this.boundaries=r,vf(this.cells,s,l,function(u,c){vf(u,i,o,function(d,m){a(d,{row:c,col:m});});});}},{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 vf(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 Hi(e){bn();var t=Je(e),r=t.vNode;return r._grid}function Vi(e){var t,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,a=Hi(e);if(!(a!=null&&(t=a.cells)!==null&&t!==void 0&&t.length))return [];var n=e.boundingClientRect,i=Oi(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===Oi(d)&&s.push(d);}}catch(m){u.e(m);}finally{u.f();}}),s}var wx=ut(function(){var t;if(!f._tree)return null;var r=Sr(f._tree[0],"dialog[open]",function(n){var i=n.boundingClientRect,o=v.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=v.elementsFromPoint(i.left-10,i.top-10);return o.includes(n.actualNode)});return a||((t=r.find(function(n){var i,o=(i=xx(n))!==null&&i!==void 0?i:{},s=o.vNode,l=o.rect;if(!s)return false;var u=v.elementsFromPoint(l.left+1,l.top+1);return !u.includes(s.actualNode)}))!==null&&t!==void 0?t:null)}),bf=wx;function xx(e){bn();var t=f._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=qi(u,r);if(l.props.nodeName!=="html"&&l!==e&&l.getComputedStylePropertyValue("pointer-events")!=="none"&&c)return {vNode:l,rect:c}}}}}function ji(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.skipAncestors,a=t.isAncestor;return r?yf(e,a):wf(e,a)}var yf=ut(function(t,r){if(t.hasAttr("inert"))return true;if(!r&&t.actualNode){var a=bf();if(a&&!Lr(a,t))return true}return false}),wf=ut(function(t,r){return yf(t,r)?true:t.parent?wf(t.parent,true):false}),Dx=["button","command","fieldset","keygen","optgroup","option","select","textarea","input"];function _x(e){return Dx.includes(e)}function Ax(e){var t=Je(e),r=t.vNode;if(_x(r.props.nodeName)&&r.hasAttr("disabled")||ji(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?Kr(r):false}var qs=Ax,Ex=/^\/\#/,Cx=/^#[!/]/;function Bs(e){var t,r=e.getAttribute("href");if(!r||r==="#")return false;if(Ex.test(r))return true;var a=e.hash,n=e.protocol,i=e.hostname,o=e.port,s=e.pathname;if(Cx.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 Sx(e,t){var r=e.getAttribute(t);if(!r||t==="href"&&!Bs(e))return null;r.indexOf("#")!==-1&&(r=decodeURIComponent(r.substr(r.indexOf("#")+1)));var a=v.getElementById(r);return a||(a=v.getElementsByName(r),a.length?a[0]:null)}var Hs=Sx;function Vs(e,t){bn();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),m=d&l?1:-1,y=d&u||d&c,C=xf(e),k=xf(t);return C===k||y?m:k-C}function xf(e){return e.getComputedStylePropertyValue("display").indexOf("inline")!==-1?2:Df(e)?1:0}function Df(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=Df(e.parent);return e._isFloated=r,r}function js(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:false,a=vn(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,m=c.top;return i<Math.floor(d+c.width)&&i>=Math.floor(d)&&o<Math.floor(m+c.height)&&o>=Math.floor(m)})}),l=e.container;return l&&(s=js(l._grid,l.boundingClientRect,true).concat(s)),r||(s=s.sort(Vs).map(function(u){return u.actualNode}).concat(v.documentElement).filter(function(u,c,d){return d.indexOf(u)===c})),s}function kx(e){var t=Hi(e);if(!t)return [];var r=je(e).boundingClientRect;return js(t,r)}var _f=kx;function Tx(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 Af=Tx;function Fx(e){var t=Je(e),r=t.vNode;if(!r||qs(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 $s=Fx;function Dt(e){var t=Je(e),r=t.vNode;if(r.props.nodeType!==1||qs(r))return false;if($s(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 $i=ut(Rx);function Rx(e){var t=e.getComputedStylePropertyValue("display"),r=t==="inline"?e.clientRects:[e.boundingClientRect],a=Vi(e).filter(function(i){return Ps(e,i)&&i.getComputedStylePropertyValue("pointer-events")!=="none"&&!Ix(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 Os(r,n)}function Ix(e,t){return Lr(e,t)&&!sr(t)}var Ef=ut(Lx);function Lx(e,t){var r=$i(e);return Px(r,t)}function Px(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 yn={};ur(yn,{accessibleText:function(){return pa},accessibleTextVirtual:function(){return It},autocomplete:function(){return ha},formControlValue:function(){return rp},formControlValueMethods:function(){return Js},hasUnicode:function(){return el},isHumanInterpretable:function(){return rl},isIconLigature:function(){return tl},isValidAutocomplete:function(){return up},label:function(){return c_},labelText:function(){return Zs},labelVirtual:function(){return Xi},nativeElementType:function(){return f_},nativeTextAlternative:function(){return np},nativeTextMethods:function(){return ap},removeUnicode:function(){return En},sanitize:function(){return Pe},subtreeText:function(){return Qr},titleText:function(){return Gi},unsupported:function(){return Wf},visible:function(){return cp},visibleTextNodes:function(){return p_},visibleVirtual:function(){return Ar}});function Ox(e,t){e=e.actualNode||e;try{var r=Ot(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=Ox;function Mx(e,t){var r=je(e);return It(r,t)}var pa=Mx;function Nx(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=pa(o,Te({inLabelledByContext:true,startNode:t.startNode||a},t));return i?"".concat(i," ").concat(s):s},"")}var wn=Nx;function xn(e){var t=Je(e),r=t.vNode;return r?.props.nodeType!==1?"":r.attr("aria-label")||""}var qx={"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}},Cf=qx,Bx={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"]}},Sf=Bx,Hx={"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"]}},Vx=Hx,jx={"graphics-document":{type:"structure",superclassRole:["document"],accessibleNameRequired:true},"graphics-object":{type:"structure",superclassRole:["group"],nameFromContent:true},"graphics-symbol":{type:"structure",superclassRole:["img"],accessibleNameRequired:true,childrenPresentational:true}},$x=jx,zx={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"]}},Gx=zx,Wx={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]},Ux=Wx,kf={ariaAttrs:Cf,ariaRoles:Te({},Sf,Vx,$x),htmlElms:Gx,cssColors:Ux},Fa=Te({},kf);function Xx(e){Object.keys(Fa).forEach(function(t){e[t]&&(Fa[t]=Cs(Fa[t],e[t]));});}function Yx(){Object.keys(Fa).forEach(function(e){Fa[e]=kf[e];});}var et=Fa;function Kx(e){var t=et.ariaRoles[e];return t?!!t.unsupported:false}var zs=Kx;function Jx(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=zs(e);return !i||n&&o?false:r?true:i.type!=="abstract"}var Dn=Jx;function Zx(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:Dn(l,{allowAbstract:a})});return s||null}var We=Zx;function Qx(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 Gs=Qx;function eD(){return Be.get("globalAriaAttrs",function(){return Object.keys(et.ariaAttrs).filter(function(e){return et.ariaAttrs[e].global})})}var Jr=eD;function tD(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,m=0;m<d;m++){for(t[a+m]=t[a+m]||[];t[a+m][o];)o++;t[a+m][o]=i[s];}o++;}}return t}var Or=ut(tD);function rD(e,t){var r,a;for(t||(t=Or(Ta(e,"table"))),r=0;r<t.length;r++)if(t[r]&&(a=t[r].indexOf(e),a!==-1))return {x:a,y:r}}var zi=ut(rD);function Ws(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=Or(Ta(a,"table")),s=zi(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 aD(e){return ["col","auto"].indexOf(Ws(e))!==-1}var Ra=aD;function nD(e){return ["row","auto"].includes(Ws(e))}var Ia=nD;function iD(e){return e?e.replace(/\r\n/g,`
|
|
366
|
+
`).replace(/\u00A0/g," ").replace(/[\s]{2,}/g," ").trim():""}var Pe=iD,Tf=function(){return Be.get("sectioningContentSelector",function(){return Gs("sectioning").map(function(t){return "".concat(t,":not([role])")}).join(", ")+" , [role=article], [role=complementary], [role=navigation], [role=region]"})},Ff=function(){return Be.get("sectioningContentPlusMainSelector",function(){return Tf()+" , main:not([role]), [role=main]"})};function Us(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.checkTitle,a=r===void 0?false:r;return !!(Pe(wn(e))||Pe(xn(e))||a&&e?.props.nodeType===1&&Pe(e.attr("title")))}var oD={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,Tf())&&!Us(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,Ff());return r?null:"contentinfo"},form:function(t){return Us(t)?"form":null},h1:"heading",h2:"heading",h3:"heading",h4:"heading",h5:"heading",h6:"heading",header:function(t){var r=Xt(t,Ff());return r?null:"banner"},hr:"separator",img:function(t){var r=t.hasAttr("alt")&&!t.attr("alt"),a=Jr().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 Us(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(Ra(t))return "columnheader";if(Ia(t))return "rowheader"},thead:"rowgroup",tr:"row",ul:"list"},Xs=oD;function sD(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 ma=sD;function lD(e,t){return ma(!!It(e),t)}var Rf=lD;function uD(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 ma(e(a),t[a])})}var Ys=uD;function cD(e,t){return e=Je(e).vNode,Ys(function(r){return e.attr(r)},t)}var If=cD;function Lf(e,t){return !!t(e)}function dD(e,t){return ma(We(e),t)}var Pf=dD;function fD(e,t){return ma(_r(e),t)}var Of=fD;function pD(e,t){return e=Je(e).vNode,ma(e.props.nodeName,t)}var Mf=pD;function mD(e,t){return e=Je(e).vNode,Ys(function(r){return e.props[r]},t)}var Nf=mD;function hD(e,t){return ma(Ve(e),t)}var qf=hD,Bf={hasAccessibleName:Rf,attributes:If,condition:Lf,explicitRole:Pf,implicitRole:Of,nodeName:Mf,properties:Nf,semanticRole:qf};function Hf(e,t){return e=Je(e).vNode,Array.isArray(t)?t.some(function(r){return Hf(e,r)}):typeof t=="string"?hs(e,t):Object.keys(t).every(function(r){if(!Bf[r])throw new Error('Unknown matcher type "'.concat(r,'"'));var a=Bf[r],n=t[r];return a(e,n)})}var Vf=Hf;function gD(e,t){return Vf(e,t)}var Kt=gD;Kt.hasAccessibleName=Rf,Kt.attributes=If,Kt.condition=Lf,Kt.explicitRole=Pf,Kt.fromDefinition=Vf,Kt.fromFunction=Ys,Kt.fromPrimative=ma,Kt.implicitRole=Of,Kt.nodeName=Mf,Kt.properties=Nf,Kt.semanticRole=qf;var _n=Kt;function vD(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],m=0;m<d.length&&a;m++)if(d[m].hasOwnProperty("hasAccessibleName"))return n;if(_n(e,u))for(var y in c)c.hasOwnProperty(y)&&(o[y]=c[y]);}for(var C in i.default)i.default.hasOwnProperty(C)&&typeof o[C]>"u"&&(o[C]=i.default[C]);return o}var Zr=vD;function bD(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=Xs[n];if(!i&&r){var o=Zr(a),s=o.chromiumRole;return s||null}return typeof i=="function"?i(a):i||null}var _r=bD,yD={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 jf(e,t){var r=yD[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)&&!zf(e.parent)?a:a?null:jf(e.parent,t)}function $f(e,t){var r=t.chromium,a=Ce(t,P),n=_r(e,{chromium:r});if(!n)return null;var i=jf(e,a);return i||n}function zf(e){var t=Jr().some(function(r){return e.hasAttr(r)});return t||Dt(e)}function wD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.noImplicit,a=Ce(t,M),n=Je(e),i=n.vNode;if(i.props.nodeType!==1)return null;var o=We(i,a);return o?["presentation","none"].includes(o)&&zf(i)?r?null:$f(i,a):o:r?null:$f(i,a)}function xD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.noPresentational,a=Ce(t,H),n=wD(e,a);return r&&["presentation","none"].includes(n)?null:n}var Ve=xD,DD=["iframe"];function _D(e){var t=Je(e),r=t.vNode;return r.props.nodeType!==1||!e.hasAttr("title")||!Kt(r,DD)&&["none","presentation"].includes(Ve(r))?"":r.attr("title")}var Gi=_D;function AD(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 Gf=AD;function ED(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 f.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 An=ED,Wf={accessibleNameFromFieldValue:["progressbar"]};function pt(e){return e=Je(e).vNode,Ks(e)}var Ks=ut(function(t,r){return Ud(t)||ji(t,{skipAncestors:true,isAncestor:r})?false:t.actualNode&&t.props.nodeName==="area"?!Fs(t,Ks):Kr(t,{skipAncestors:true,isAncestor:r})?false:t.parent?Ks(t.parent,true):true});function Uf(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 Uf(l,t)}).join("");return Pe(s)}var Ar=Uf,CD=["button","checkbox","color","file","hidden","image","password","radio","reset","submit"];function SD(e){e=e instanceof Ft?e:je(e);var t=e.props.nodeName;return t==="textarea"||t==="input"&&!CD.includes((e.attr("type")||"").toLowerCase())}var Xf=SD;function kD(e){e=e instanceof Ft?e:je(e);var t=e.props.nodeName;return t==="select"}var Yf=kD;function TD(e){var t=We(e);return t==="textbox"}var Kf=TD;function FD(e){var t=We(e);return t==="listbox"}var Jf=FD;function RD(e){var t=We(e);return t==="combobox"}var Zf=RD,ID=["progressbar","scrollbar","slider","spinbutton"];function LD(e){var t=We(e);return ID.includes(t)}var Qf=LD,ep=["textbox","progressbar","scrollbar","slider","spinbutton","combobox","listbox"],Js={nativeTextboxValue:OD,nativeSelectValue:MD,ariaTextboxValue:ND,ariaListboxValue:tp,ariaComboboxValue:qD,ariaRangeValue:BD};function PD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=e.actualNode,a=Wf.accessibleNameFromFieldValue||[],n=Ve(e);if(t.startNode===e||!ep.includes(n)||a.includes(n))return "";var i=Object.keys(Js).map(function(s){return Js[s]}),o=i.reduce(function(s,l){return s||l(e,t)},"");return t.debug&&ca(o||"{empty-value}",r,t),o}function OD(e){var t=Je(e),r=t.vNode;return Xf(r)&&r.props.value||""}function MD(e){var t=Je(e),r=t.vNode;if(!Yf(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 ND(e){var t=Je(e),r=t.vNode,a=t.domNode;return Kf(r)?!a||a&&!Kr(a)?Ar(r,true):a.textContent:""}function tp(e,t){var r=Je(e),a=r.vNode;if(!Jf(a))return "";var n=An(a).filter(function(i){return Ve(i)==="option"&&i.attr("aria-selected")==="true"});return n.length===0?"":It(n[0],t)}function qD(e,t){var r=Je(e),a=r.vNode;if(!Zf(a))return "";var n=An(a).filter(function(i){return Ve(i)==="listbox"})[0];return n?tp(n,t):""}function BD(e){var t=Je(e),r=t.vNode;if(!Qf(r)||!r.hasAttr("aria-valuenow"))return "";var a=+r.attr("aria-valuenow");return isNaN(a)?"0":String(a)}var rp=PD;function HD(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=Zr(e,{noMatchAccessibleName:true}),u=l.contentTypes;if(r(e,t)||e.props.nodeType!==1||u!=null&&u.includes("embedded")||ep.includes(s)||!t.subtreeDescendant&&!t.inLabelledByContext&&!Gf(e,{strict:n}))return "";if(!n){var c=!i&&!o;t=Te({subtreeDescendant:c},t);}return An(e).reduce(function(d,m){return jD(d,m,t)},"")}var VD=Gs("phrasing").concat(["#text"]);function jD(e,t,r){var a=t.props.nodeName,n=It(t,r);return n?(VD.includes(a)||(n[0]!==" "&&(n+=" "),e&&e[e.length-1]!==" "&&(n=" "+n)),e+n):e}var Qr=HD;function $D(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=zD(e),i=Xt(e,"label"),o;return i?(o=[].concat(_e(n),[i.actualNode]),o.sort(Cl)):o=n,o.map(function(s){return pa(s,a)}).filter(function(s){return s!==""}).join(" ")}function zD(e){if(!e.attr("id"))return [];if(!e.actualNode)throw new TypeError("Cannot resolve explicit label reference for non-DOM nodes");return Vd({elm:"label",attr:"for",value:e.attr("id"),context:e.actualNode})}var Zs=$D,GD={submit:"Submit",image:"Submit",reset:"Reset",button:""},WD={valueText:function(t){return t.props.value||""},buttonDefaultText:function(t){return GD[t.props.type]||""},tableCaptionText:Wi.bind(null,"caption"),figureText:Wi.bind(null,"figcaption"),svgTitleText:Wi.bind(null,"title"),fieldsetLegendText:Wi.bind(null,"legend"),altText:Qs.bind(null,"alt"),tableSummaryText:Qs.bind(null,"summary"),titleText:Gi,subtreeText:Qr,labelText:Zs,singleSpace:function(){return " "},placeholderText:Qs.bind(null,"placeholder")};function Qs(e,t){return t.attr(e)||""}function Wi(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?"":pa(i,r)}var ap=WD;function np(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=UD(e),n=a.reduce(function(i,o){return i||o(e,t)},"");return t.debug&&f.log(n||"{empty-value}",r,t),n}function UD(e){var t=Zr(e,{noMatchAccessibleName:true}),r=t.namingMethods||[];return r.map(function(a){return ap[a]})}function ip(){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 op(){return /[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&\xa3\xa2\xa5\xa7\u20ac()*+,\-.\/:;<=>?@\[\]^_`{|}~\xb1]/g}function sp(){return /[\uDB80-\uDBBF][\uDC00-\uDFFF]/g}function lp(){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 XD(e,t){var r=t.emoji,a=t.nonBmp,n=t.punctuations,i=false;return r&&(i||(i=Vo().test(e))),a&&(i||(i=ip().test(e)||sp().test(e)||lp().test(e))),n&&(i||(i=op().test(e))),i}var el=XD;function tl(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)||el(a,{emoji:true,nonBmp:true}))return false;var n=Be.get("canvasContext",function(){return v.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 m=a.charAt(0),y=n.measureText(m).width;if(y===0)return u.numLigatures++,true;if(y<30){var C=30/y;y*=C,c*=C,d="".concat(c,"px ").concat(l);}i.width=y,i.height=c,n.font=d,n.textAlign="left",n.textBaseline="top",n.fillText(m,0,0);var k=new Uint32Array(n.getImageData(0,0,y,c).data.buffer);if(!k.some(function(X){return X}))return u.numLigatures++,true;n.clearRect(0,0,y,c),n.fillText(a,0,0);var I=new Uint32Array(n.getImageData(0,0,y,c).data.buffer),L=k.reduce(function(X,Q,ne){return Q===0&&I[ne]===0||Q!==0&&I[ne]!==0?X:++X},0),O=a.split("").reduce(function(X,Q){return X+n.measureText(Q).width},0),q=n.measureText(a).width,B=L/k.length,V=1-q/O;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=ZD(e,t),KD(e,t)||JD(e,t))return "";var r=[wn,xn,np,rp,Qr,YD,Gi],a=r.reduce(function(n,i){return t.startNode===e&&(n=Pe(n)),n!==""?n:i(e,t)},"");return t.debug&&f.log(a||"{empty-value}",e.actualNode,t),a}function YD(e){return e.props.nodeType!==3?"":e.props.nodeValue}function KD(e,t){return !e||e.props.nodeType!==1||t.includeHidden?false:!pt(e)}function JD(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:tl(e,n,i)}function ZD(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 QD(e,t){var r=t.emoji,a=t.nonBmp,n=t.punctuations;return r&&(e=e.replace(Vo(),"")),a&&(e=e.replace(ip(),"").replace(sp(),"").replace(lp(),"")),n&&(e=e.replace(op(),"")),e}var En=QD;function e_(e){return t_(e)||r_(e)||a_(e)||n_(e)?0:1}function t_(e){return Pe(e).length===0}function r_(e){return e.length===1&&e.match(/\D/)}function a_(e){var t=["aa","abc"];return t.includes(e.toLowerCase())}function n_(e){var t=En(e,{emoji:true,nonBmp:true,punctuations:true});return !Pe(t)}var rl=e_,ha={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 i_(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,m=t.qualifiedTerms,y=m===void 0?[]:m,C=t.ignoredValues,k=C===void 0?[]:C;if(e=e.toLowerCase().trim(),i=i.concat(ha.stateTerms),i.includes(e)||e==="")return true;u=u.concat(ha.qualifiers),s=s.concat(ha.locations),d=d.concat(ha.standaloneTerms),y=y.concat(ha.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 L=I[I.length-1];if(!k.includes(L))return d.includes(L)||y.includes(L)}var up=i_;function o_(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 Ui=o_;function s_(e,t,r){return e=je(e),Ar(e,t,r)}var cp=s_;function l_(e){var t,r,a;if(r=Ui(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=Ot(e.actualNode),t=a.querySelector('label[for="'+n+'"]'),r=t&&cp(t,true),r)return r}return t=Xt(e,"label"),r=t&&Ar(t,true),r||null}var Xi=l_;function u_(e){return e=je(e),Xi(e)}var c_=u_,d_=[{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"]}],f_=d_;function dp(e){var t=Yt(e),r=[];return e.children.forEach(function(a){a.actualNode.nodeType===3?t&&r.push(a):r=r.concat(dp(a));}),r}var p_=dp,m_=ut(function(t){var r=je(t),a=r.boundingClientRect,n=[],i=gn(r);return t.childNodes.forEach(function(o){if(!(o.nodeType!==3||Pe(o.nodeValue)==="")){var s=h_(o);g_(s,a)||n.push.apply(n,_e(fp(s,i)));}}),n.length?n:fp([a],i)}),al=m_;function h_(e){var t=v.createRange();return t.selectNodeContents(e),Array.from(t.getClientRects())}function g_(e,t){return e.some(function(r){var a=vn(r);return !Ni(a,t)})}function fp(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&&qi(i,o.boundingClientRect)},a);n&&r.push(n);}}),r}function v_(e){var t=Hi(e);if(!t)return [];var r=al(e);return r.map(function(a){return js(t,a)})}var nl=v_,b_=["checkbox","img","meter","progressbar","scrollbar","radio","slider","spinbutton","textbox"];function y_(e){var t=Je(e),r=t.vNode,a=f.commons.aria.getExplicitRole(r);if(a)return b_.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 il=y_,w_=["head","title","template","script","style","iframe","object","video","audio","noscript"];function Yi(e){return w_.includes(e.props.nodeName)?false:e.children.some(function(t){var r=t.props;return r.nodeType===3&&r.nodeValue.trim()})}function pp(e,t,r){return Yi(e)||il(e.actualNode)||!r&&!!Ui(e)||!t&&e.children.some(function(a){return a.actualNode.nodeType===1&&pp(a)})}var Cn=pp;function x_(e,t,r){return e=je(e),Cn(e,t,r)}var Ki=x_;function ol(e){return typeof e.children>"u"||Yi(e)?true:e.props.nodeType===1&&il(e)?!!f.commons.text.accessibleTextVirtual(e):e.children.some(function(t){return !t.attr("lang")&&ol(t)&&!Kr(t)})}function D_(e){var t=Cr(e.getAttribute("tabindex"));return t>-1&&Dt(e)&&!$s(e)}var mp=D_;function hp(e,t){var r=Je(e),a=r.vNode,n=r.domNode;return a?(a._isHiddenWithCSS===void 0&&(a._isHiddenWithCSS=gp(n,t)),a._isHiddenWithCSS):gp(n,t)}function gp(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)?hp(o,i):false}var __=hp;function A_(e){var t=e.doctype;return t===null?false:t.name==="html"&&!t.publicId&&!t.systemId}var vp=A_;function E_(e){var t;(e instanceof Ft||(t=p)!==null&&t!==void 0&&t.Node&&e instanceof p.Node)&&(e=f.commons.aria.getRole(e));var r=et.ariaRoles[e];return r?.type||null}var gr=E_,C_=["block","list-item","table","flex","grid"],S_=["inline-block","inline-flex","inline-grid"];function k_(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(ll(s)||!n&&T_(o))return false;var l=F_(s),u="",c="",d=0;return bp(l,function(m){if(m===l.actualNode)return true;if(d===2)return false;if(m.nodeType===3&&(u+=m.nodeValue),m.nodeType===1){var y=(m.nodeName||"").toUpperCase();m===s&&(d=1);var C=ll(m);if((C||["BR","HR"].includes(y))&&(d===0?(u="",c=""):d=2),C||m.style.display==="none"||m.style.overflow==="hidden"||!["",null,"none"].includes(m.style.float)||!["",null,"relative"].includes(m.style.position))return false;if(gr(m)==="widget")return c+=m.textContent,false}}),u=Pe(u),r?u.length!==0:(c=Pe(c),u.length>c.length)}var sl=k_;function ll(e){var t=Je(e),r=t.vNode,a=r.getComputedStylePropertyValue("display");return C_.includes(a)||a.substr(0,6)==="table-"}function T_(e){var t=e.getComputedStylePropertyValue("display");return S_.includes(t)}function bp(e,t){t(e.actualNode)!==false&&e.children.forEach(function(r){return bp(r,t)});}function F_(e){for(var t=Rt(e);t&&!ll(t);)t=Rt(t);return je(t)}function R_(e){e=e||{};var t=e.modalPercent||.75;if(Be.get("isModalOpen"))return Be.get("isModalOpen");var r=Sr(f._tree[0],"dialog, [role=dialog], [aria-modal=true]",Yt);if(r.length)return Be.set("isModalOpen",true),true;for(var a=Pi(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(y){return Array.from(v.elementsFromPoint(y.x,y.y))}),c=function(){var C=u[m].find(function(k){var I=p.getComputedStyle(k);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(k){return k.includes(C)}))return Be.set("isModalOpen",true),{v:true}},d,m=0;m<u.length;m++)if(d=c(),d)return d.v;Be.set("isModalOpen",void 0);}var Sn=R_;function yp(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 I_(e){return e instanceof p.Node}var L_=I_,ul="color.incompleteData",P_={set:function(t,r){if(typeof t!="string")throw new Error("Incomplete data: key must be a string");var a=Be.get(ul,function(){return {}});return r&&(a[t]=r),a[t]},get:function(t){var r=Be.get(ul);return r?.[t]},clear:function(){Be.set(ul,{});}},ct=P_;function O_(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 Ji=O_,M_=/^#[0-9a-f]{3,8}$/i,N_=/hsl\(\s*([-\d.]+)(rad|turn)/,kn=(ot=new WeakMap,wt=new WeakMap,Pt=new WeakMap,er=new WeakMap,Tt=new WeakMap,Bt=new WeakMap,$a=new WeakSet,(function(){function e(t,r,a){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(gt(this,e),aa(this,$a),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 kn){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(La(r,0,1)*255));}},{key:"g",get:function(){return zt(wt,this)},set:function(r){kt(wt,this,r),kt(Tt,this,Math.round(La(r,0,1)*255));}},{key:"b",get:function(){return zt(Pt,this)},set:function(r){kt(Pt,this,r),kt(Bt,this,Math.round(La(r,0,1)*255));}},{key:"red",get:function(){return zt(er,this)},set:function(r){kt(ot,this,r/255),kt(er,this,La(r,0,255));}},{key:"green",get:function(){return zt(Tt,this)},set:function(r){kt(wt,this,r/255),kt(Tt,this,La(r,0,255));}},{key:"blue",get:function(){return zt(Bt,this)},set:function(r){kt(Pt,this,r/255),kt(Bt,this,La(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(N_,function(i,o,s){var l=o+s;switch(s){case "rad":return i.replace(l,B_(o));case "turn":return i.replace(l,H_(o))}});try{var a;"Prototype"in p&&"Version"in p.Prototype&&(a=Array.from,Array.from=cd.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(M_)||[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($a,this,q_).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 kn(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 kn(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 q_(e){var t=new kn(this);return t.r+=e,t.g+=e,t.b+=e,t}var mt=kn;function La(e,t,r){return Math.min(Math.max(t,e),r)}function B_(e){return e*180/Math.PI}function H_(e){return e*360}function V_(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 ga=V_;function j_(e){var t=p.getComputedStyle(e);return Ji(e,t)||ga(t).alpha===1}var $_=j_;function cl(e){if(!e.href)return false;var t=Be.get("firstPageLink",z_);return t?e.compareDocumentPosition(t.actualNode)===e.DOCUMENT_POSITION_FOLLOWING:true}function z_(){var e;return p.location.origin?e=Zt(f._tree,'a[href]:not([href^="javascript:"])').find(function(t){return !Bs(t.actualNode)}):e=Zt(f._tree,'a:not([href^="#"]):not([href^="/#"]):not([href^="javascript:"])')[0],e||null}var G_=/rect\s*\(([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px\s*\)/,W_=/(\w+)\((\d+)/;function U_(e){var t=e.getPropertyValue("clip").match(G_),r=e.getPropertyValue("clip-path").match(W_);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 X_(e,t,r){var a=Ta(e,"map");if(!a)return false;var n=a.getAttribute("name");if(!n)return false;var i=Ot(e);if(!i||i.nodeType!==9)return false;var o=Zt(f._tree,'img[usemap="#'.concat(vt(n),'"]'));return !o||!o.length?false:o.some(function(s){var l=s.actualNode;return Zi(l,t,r)})}function Zi(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 m=n.parent,y=true;return m&&(y=Zi(m,t,true)),n&&(n[i]=y),y}var C=p.getComputedStyle(e,null);if(C===null)return false;if(c==="area")return X_(e,t,r);if(C.getPropertyValue("display")==="none")return false;var k=parseInt(C.getPropertyValue("height")),I=parseInt(C.getPropertyValue("width")),L=Mr(e),O=L&&k===0,q=L&&I===0,B=C.getPropertyValue("position")==="absolute"&&(k<2||I<2)&&C.getPropertyValue("overflow")==="hidden";if(!t&&(U_(C)||C.getPropertyValue("opacity")==="0"||O||q||B)||!r&&(C.getPropertyValue("visibility")==="hidden"||!t&&Mi(e)))return false;var V=e.assignedSlot?e.assignedSlot:e.parentNode,X=false;return V&&(X=Zi(V,t,true)),n&&(n[i]=X),X}var Y_=Zi;function K_(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 wp=K_;function xp(e,t){var r=Dp(t);do{var a=Dp(e);if(a===r||a===t)return J_(e,t);e=a;}while(e);return false}function Dp(e){for(var t=je(e),r=t.parent;r;){if(Mr(r.actualNode))return r.actualNode;r=r.parent;}}function J_(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 _p(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:v,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 Ot(n)===r}).reduce(function(n,i){if(Li(i)){var o=_p(e,t,i.shadowRoot,a+1);n=n.concat(o),n.length&&xp(n[0],i)&&n.push(i);}else n.push(i);return n},[])}var Z_=_p;function Q_(e,t){if(e.hasAttribute(t)){var r=e.nodeName.toUpperCase(),a=e;(!["A","AREA"].includes(r)||e.ownerSVGElement)&&(a=v.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=t2(i),s=o.pathname,l=o.filename;return {protocol:n,hostname:a.hostname,port:e2(a.port),pathname:/\/$/.test(s)?s:"".concat(s,"/"),search:r2(a.search),hash:a2(a.hash),filename:l}}}function e2(e){var t=["443","80"];return t.includes(e)?"":e}function t2(e){var t=e.split("/").pop();return !t||t.indexOf(".")===-1?{pathname:e,filename:""}:{pathname:e.replace(t,""),filename:/index./.test(t)?"":t}}function r2(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 a2(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 n2=Q_;function i2(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 dl=i2,Ap=0,o2=(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||(Ap=0),i.nodeIndex=Ap++,i._isHidden=null,i._cache={},i._isXHTML=sn(r.ownerDocument),r.nodeName.toLowerCase()==="input"){var o=r.getAttribute("type");o=i._isXHTML?o:(o||"").toLowerCase(),uo().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=Af(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),fl=o2;function s2(e){return (e||"").trim().replace(/\s{2,}/g," ").split(" ")}var Ht=s2,va=" [idsMap]";function Ep(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 Cp(l)}))return;var o=new Set;t.forEach(function(l){var u,c=l2(l,a,n);c==null||(u=c.nodes)===null||u===void 0||u.forEach(function(d){c.isComplexSelector&&!Aa(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 l2(e,t,r){var a=e[e.length-1],n=null,i=e.length>1||!!a.pseudos||!!a.classes;if(Cp(a))n=t["*"];else {if(a.id){var o;if(!t[va]||!Object.hasOwn(t[va],a.id)||!((o=t[va][a.id])!==null&&o!==void 0&&o.length))return;n=t[va][a.id].filter(function(k){return k.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?pl(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?pl(c,n):c;}if(a.attributes)for(var d=0;d<a.attributes.length;d++){var m,y=a.attributes[d];if(y.type==="attrValue"&&(i=true),!((m=t["[".concat(y.key,"]")])!==null&&m!==void 0&&m.length))return;var C=t["[".concat(y.key,"]")];n=n?pl(C,n):C;}}return {nodes:n,isComplexSelector:i}}function Cp(e){return e.tag==="*"&&!e.attributes&&!e.id&&!e.classes}function pl(e,t){return e.filter(function(r){return t.includes(r)})}function Qi(e,t,r){Object.hasOwn(r,e)||(r[e]=[]),r[e].push(t);}function Sp(e,t){e.props.nodeType===1&&(Qi(e.props.nodeName,e,t),Qi("*",e,t),e.attrNames.forEach(function(r){r==="id"&&(t[va]=t[va]||{},Ht(e.attr(r)).forEach(function(a){Qi(a,e,t[va]);})),Qi("[".concat(r,"]"),e,t);}));}var ml;function hl(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:v.documentElement,t=arguments.length>1?arguments[1]:void 0;ml=false;var r={};Be.set("nodeMap",new WeakMap),Be.set("selectorMap",r);var a=kp(e,t,null);return a[0]._selectorMap=r,a[0]._hasShadowRoot=ml,a}function u2(e){var t=[];for(e=e.firstChild;e;)t.push(e),e=e.nextSibling;return t}function gl(e,t,r){var a=new fl(e,t,r);return Sp(a,Be.get("selectorMap")),a}function eo(e,t,r){var a=[];return e.forEach(function(n){var i=kp(n,r,t);i&&a.push.apply(a,_e(i));}),a}function kp(e,t,r){var a,n;e.documentElement&&(e=e.documentElement);var i=e.nodeName.toLowerCase();if(Li(e))return ml=true,a=gl(e,r,t),t="a"+Math.random().toString().substring(2),n=Array.from(e.shadowRoot.childNodes),a.children=eo(n,a,t),[a];if(i==="content"&&typeof e.getDistributedNodes=="function")return n=Array.from(e.getDistributedNodes()),eo(n,r,t);if(i==="slot"&&typeof e.assignedNodes=="function"){n=Array.from(e.assignedNodes()),n.length||(n=u2(e));p.getComputedStyle(e);return eo(n,r,t)}if(e.nodeType===v.ELEMENT_NODE)return a=gl(e,r,t),n=Array.from(e.childNodes),a.children=eo(n,a,t),[a];if(e.nodeType===v.TEXT_NODE)return [gl(e,r)]}function c2(e){return e?e.trim().split("-")[0].toLowerCase():""}var ba=c2;function d2(e){var t={};return t.none=e.none.concat(e.all),t.any=e.any,Object.keys(t).map(function(r){if(t[r].length){var a=f._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
|
+
|
|
368
|
+
`)}var vl=d2;function bl(){var e=f._audit.data.incompleteFallbackMessage;return typeof e=="function"&&(e=e()),typeof e!="string"?"":e}var Tp=He.resultGroups;function Tn(e,t){var r=f.utils.aggregateResult(e);return Tp.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=Fp(i.node,t);Object.assign(i,o);}return delete i.result,delete i.node,f2(i,t),i})),Tp.forEach(function(i){return delete n[i]}),delete n.pageLevel,delete n.result,n});}),r}function f2(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 Fp(n,t)});});});}function Fp(){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(f._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 p2=/\$\{\s?data\s?\}/g;function to(e,t){if(typeof t=="string")return e.replace(p2,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 Rp(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 to(r,t)}return to(e,t)}if(typeof e=="string")return to(e,t);if(typeof t=="string"){var a=e[t];return to(a,t)}var n=e.default||bl();return t&&t.messageKey&&e[t.messageKey]&&(n=e[t.messageKey]),Rp(n,t)}}var yl=Rp;function m2(e,t,r){var a=f._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 yl(a.messages[t],r)}var h2=m2;function g2(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 ro=g2;function ea(){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:f.version},testRunner:{name:f._audit.brand},testEnvironment:v2(r),timestamp:new Date().toISOString(),url:(e=r.location)===null||e===void 0?void 0:e.href}}function v2(e){if(!e.navigator||ae(e.navigator)!=="object")return {};var t=e.navigator,r=e.innerHeight,a=e.innerWidth,n=b2(e)||{},i=n.angle,o=n.type;return {userAgent:t.userAgent,windowWidth:a,windowHeight:r,orientationAngle:i,orientationType:o}}function b2(e){var t=e.screen;return t.orientation||t.msOrientation||t.mozOrientation}function Ip(e,t){var r=t.focusable,a=t.page;return {node:e,include:[],exclude:[],initiator:false,focusable:r&&y2(e),size:w2(e),page:a}}function y2(e){var t=Cr(e.getAttribute("tabindex"));return t===null||t>=0}function w2(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 x2(e){if(xl(e)){var t=" must be used inside include or exclude. It should not be on the same object.";ta(!Er(e,"fromFrames"),"fromFrames"+t),ta(!Er(e,"fromShadowDom"),"fromShadowDom"+t);}else if(no(e))e={include:e,exclude:[]};else return {include:[v],exclude:[]};var r=Lp(e.include);r.length===0&&r.push(v);var a=Lp(e.exclude);return {include:r,exclude:a}}function Lp(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=[];wl(e)||(e=[e]);for(var r=0;r<e.length;r++){var a=D2(e[r]);a&&t.push(a);}return t}function D2(e){return e instanceof p.Node?e:typeof e=="string"?[e]:(Dl(e)?(A2(e),e=e.fromFrames):io(e)&&(e=[e]),_2(e))}function _2(e){if(Array.isArray(e)){var t=[],r=Ge(e),a;try{for(r.s();!(a=r.n()).done;){var n=a.value;if(io(n)&&(E2(n),n=n.fromShadowDom),typeof n!="string"&&!C2(n))return;t.push(n);}}catch(i){r.e(i);}finally{r.f();}return t}}function A2(e){ta(Array.isArray(e.fromFrames),"fromFrames property must be an array"),ta(e.fromFrames.every(function(t){return !Er(t,"fromFrames")}),"Invalid context; fromFrames selector must be appended, rather than nested"),ta(!Er(e,"fromShadowDom"),"fromFrames and fromShadowDom cannot be used on the same object");}function E2(e){ta(Array.isArray(e.fromShadowDom),"fromShadowDom property must be an array"),ta(e.fromShadowDom.every(function(t){return !Er(t,"fromFrames")}),"shadow selector must be inside fromFrame instead"),ta(e.fromShadowDom.every(function(t){return !Er(t,"fromShadowDom")}),"fromShadowDom selector must be appended, rather than nested");}function C2(e){return Array.isArray(e)&&e.every(function(t){return typeof t=="string"})}function ta(e,t){Qe(e,"Invalid context; ".concat(t,`
|
|
369
|
+
See: https://github.com/dequelabs/axe-core/blob/master/doc/context.md`));}function Pp(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)S2(e,t,i);else {var s=Fl(i[0]);r.push.apply(r,_e(s.map(function(l){return je(l)})));}}return r.filter(function(l){return l})}function S2(e,t,r){e.frames=e.frames||[];var a=r.shift(),n=Fl(a);n.forEach(function(i){var o=e.frames.find(function(s){return s.node===i});o||(o=Ip(i,e),e.frames.push(o)),o[t].push(r);});}function ao(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=x2(e),this.flatTree=t??hl(R2(e)),this.exclude=e.exclude,this.include=e.include,this.include=Pp(this,"include"),this.exclude=Pp(this,"exclude"),Tl("frame, iframe",this).forEach(function(s){Al(s,o)&&k2(o,s.actualNode);}),typeof this.page>"u"&&(this.page=T2(this),this.frames.forEach(function(s){s.page=o.page;})),F2(this),Array.isArray(this.include)||(this.include=Array.from(this.include)),this.include.sort(Cl);}function k2(e,t){!pt(t)||mn(e.frames,"node",t)||e.frames.push(Ip(t,e));}function T2(e){var t=e.include;return t.length===1&&t[0].actualNode===v.documentElement}function F2(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 R2(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 v.documentElement}function I2(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(t.iframes===false)return [];var r=new ao(e),a=r.frames;return a.map(function(n){var i=n.node,o=Ce(n,$);o.initiator=false;var s=Ei(i);return {frameSelector:s,frameContext:o}})}function Op(e){var t=f._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 L2(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=Mp(n,"overflow-x"),o=Mp(n,"overflow-y");if(r&&i||a&&o)return {elm:e,top:e.scrollTop,left:e.scrollLeft}}}function Mp(e,t){var r=e.getPropertyValue(t);return ["scroll","auto"].includes(r)}var Mr=ut(L2);function Np(e){return Array.from(e.children||e.childNodes||[]).reduce(function(t,r){var a=Mr(r);return a&&t.push(a),t.concat(Np(r))},[])}function P2(){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(Np(v.body))}var O2=P2;function M2(){return Ir(et)}function N2(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 qp=N2,Jt;function q2(e){if(Jt&&Jt.parentNode)return Jt.styleSheet===void 0?Jt.appendChild(v.createTextNode(e)):Jt.styleSheet.cssText+=e,Jt;if(e){var t=v.head||v.getElementsByTagName("head")[0];return Jt=v.createElement("style"),Jt.type="text/css",Jt.styleSheet===void 0?Jt.appendChild(v.createTextNode(e)):Jt.styleSheet.cssText=e,t.appendChild(Jt),Jt}}var B2=q2;function wl(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 Bp(e){return xl(e)||no(e)}function xl(e){return ["include","exclude"].some(function(t){return Er(e,t)&&no(e[t])})}function no(e){return typeof e=="string"||e instanceof p.Node||Dl(e)||io(e)||wl(e)}function Dl(e){return Er(e,"fromFrames")}function io(e){return Er(e,"fromShadowDom")}function Hp(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=Hp(n,true);return r&&(r._isHidden=i),i}var H2=Hp;function V2(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 _l=V2;function Al(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=Vp(o),u=Vp(s);return Lr(u,l)}function Vp(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 El(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 j2(e,t){return e=e.actualNode||e,t=t.actualNode||t,e===t?0:e.compareDocumentPosition(t)&4?-1:1}var Cl=j2;function Je(e){return e instanceof Ft?{vNode:e,domNode:e.actualNode}:{vNode:je(e),domNode:e}}function $2(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 m=[].concat(_e(r),[d]),y=/^https?:\/\/|^\/\//i.test(c);return kl(c,t,m,a,y)}),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 jp=$2;function z2(e,t,r,a){var n=arguments.length>4&&arguments[4]!==void 0?arguments[4]:false,i=G2(e);return i?jp(e,t,r,a,n):kl(e.href,t,r,a,true)}function G2(e){try{var t=e.cssRules;return !(!t&&e.href)}catch{return false}}var Sl=z2;function W2(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 Sl(o.sheet,t,r,a,o.isCrossOrigin)})}var kl=W2;function U2(e){if(typeof e!="string")return null;var t=e.trim().match(/^([-+]?\d+)/);return t?Number(t[1]):null}var Cr=U2,X2=(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(k){return Array.isArray(k)?k[k.length-1]:k},u=function(k){i._log("Measure "+k.name+" took "+k.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}),m=0;m<d.length;++m){var y=d[m];if(y.name===n){u(y);return}else n||u(y);}}},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){ca(n);}}})(),rt=X2;function $p(){if(v.elementsFromPoint)return v.elementsFromPoint;if(v.msElementsFromPoint)return v.msElementsFromPoint;var e=(function(){var n=v.createElement("x");return n.style.cssText="pointer-events:auto",n.style.pointerEvents==="auto"})(),t=e?"pointer-events":"visibility",r=e?"none":"hidden",a=v.createElement("style");return a.innerHTML=e?"* { pointer-events: all }":"* { visibility: visible }",function(n,i){var o,s,l,u=[],c=[];for(v.head.appendChild(a);(o=v.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(v.documentElement)<u.length-1&&(u.splice(u.indexOf(v.documentElement),1),u.push(v.documentElement)),s=c.length;l=c[--s];)u[s].style.setProperty(t,l.value?l.value:"",l.priority);return v.head.removeChild(a),u}}typeof p.addEventListener=="function"&&(v.elementsFromPoint=$p());function Y2(e,t){return e.concat(t).filter(function(r,a,n){return n.indexOf(r)===a})}var Fn=Y2;function zp(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 K2(e,t,r){for(var a=Be.get("qsa.recycledLocalVariables",function(){return []}),n=[],i=Array.isArray(e)?e:[e],o=zp(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,m=null,y=(((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,k=0;k<y;k++){var I,L,O,q=k<(((I=o.anyLevel)===null||I===void 0?void 0:I.length)||0)?o.anyLevel[k]:o.thisLevel[k-(((L=o.anyLevel)===null||L===void 0?void 0:L.length)||0)];if((!q[0].id||c.shadowId===o.parentShadowId)&&Aa(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):(m=m||[]).push(B);}(!q[0].id||c.shadowId===o.parentShadowId)&&(O=o.anyLevel)!==null&&O!==void 0&&O.includes(q)&&(m=m||[]).push(q);}for(c.children&&c.children.length&&(n.push(o),o=zp(c.children,m,d,c.shadowId,a.pop()));o.vNodesIndex===o.vNodes.length&&n.length;)a.push(o),o=n.pop();}return s}function J2(e,t,r){e=Array.isArray(e)?e:[e];var a=Ci(t),n=Ep(e,a,r);return n||K2(e,a,r)}var Sr=J2;function Z2(e){var t=e.treeRoot,r=t===void 0?f._tree[0]:t,a=Q2(r);if(!a.length)return Promise.resolve();var n=v.implementation.createHTMLDocument("Dynamic document for loading cssom"),i=qp(n);return eA(a,i).then(function(o){return Wp(o)})}var Gp=Z2;function Q2(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:hn(a.actualNode)}});return Fn(r,[])}function eA(e,t){var r=[];return e.forEach(function(a,n){var i=a.rootNode,o=a.shadowId,s=tA(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(m,y){var C=[l,y];return Sl(m,u,C,c)}));r.push(d);}),Promise.all(r)}function Wp(e){return e.reduce(function(t,r){return Array.isArray(r)?t.concat(Wp(r)):t.concat(r)},[])}function tA(e,t,r){var a;return e.nodeType===11&&t?a=rA(e,r):a=aA(e),iA(a)}function rA(e,t){return Array.from(e.children).filter(nA).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 aA(e){return Array.from(e.styleSheets).filter(function(t){return t.media?Up(t.media.mediaText):false})}function nA(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&&Up(e.media)}function Up(e){return e?!e.toUpperCase().includes("PRINT"):true}function iA(e){var t=[];return e.filter(function(r){return r.href?t.includes(r.href)?false:(t.push(r.href),true):true})}function oA(e){var t=e.treeRoot,r=t===void 0?f._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 sA(i)}))}var Xp=oA;function sA(e){return new Promise(function(t){e.readyState>0&&t(e);function r(){e.removeEventListener("loadedmetadata",r),t(e);}e.addEventListener("loadedmetadata",r);})}function Yp(e){var t={cssom:Gp,media:Xp};return Kp(e)?new Promise(function(r,a){var n=Jp(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 lA(e){return ae(e)==="object"&&Array.isArray(e.assets)}function Kp(e){return !e||e.preload===void 0||e.preload===null?true:typeof e.preload=="boolean"?e.preload:lA(e.preload)}function Jp(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=Fn(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 oo(e){var t=f._audit.data.checks||{},r=f._audit.data.rules||{},a=mn(f._audit.rules,"id",e.id)||{};e.tags=Ir(a.tags||[]);var n=Zp(t,true,a),i=Zp(t,false,a);e.nodes.forEach(function(o){o.any.forEach(n),o.all.forEach(n),o.none.forEach(i);}),Ss(e,Ir(r[e.id]||{}));}function uA(e,t){function r(n){return n.incomplete&&n.incomplete.default?n.incomplete.default:bl()}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 Zp(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=uA(a.data,i)),o.message||(o.message=i.incomplete)):o.message=a.result===t?i.pass:i.fail,typeof o.message!="function"&&(o.message=yl(o.message,a.data)),Ss(a,o);}}function cA(e,t){return Sr(e,t)}var Zt=cA;function Qp(e,t){var r,a,n=f._audit&&f._audit.tagExclude?f._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 dA(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?Qp(e,a.values):Qp(e,[])}var em=dA;function tm(e,t){if(!t)return e;var r=e.cloneNode(false),a=Ja(r);if(r.nodeType===1){var n=r.outerHTML;r=Be.get(n,function(){return rm(r,a,e,t)});}else r=rm(r,a,e,t);return Array.from(e.childNodes).forEach(function(i){r.appendChild(tm(i,t));}),r}function rm(e,t,r,a){return t&&(e=v.createElement(e.nodeName),Array.from(t).forEach(function(n){fA(r,n.name,a)||e.setAttribute(n.name,n.value);})),e}function fA(e,t,r){return typeof r[t]>"u"?false:r[t]===true?true:xa(e,r[t])}function Tl(e,t){var r=[],a;if(f._selectCache)for(var n=0,i=f._selectCache.length;n<i;n++){var o=f._selectCache[n];if(o.selector===e)return o.result}for(var s=pA(t.include),l=mA(t),u=0;u<s.length;u++){a=s[u];var c=Sr(a,e,l);r=hA(r,c);}return f._selectCache&&f._selectCache.push({selector:e,result:r}),r}function pA(e){return e.reduce(function(t,r){return (!t.length||!Lr(t[t.length-1],r))&&t.push(r),t},[])}function mA(e){return !e.exclude||e.exclude.length===0?null:function(t){return Al(t,e)}}function hA(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 so(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?so(e.cause,t+1):"..."),r}var gA=(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=so(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)),lo=gA;function vA(e,t,r){if(e===p)return e.scroll(r,t);e.scrollTop=t,e.scrollLeft=r;}function bA(e){e.forEach(function(t){var r=t.elm,a=t.top,n=t.left;return vA(r,a,n)});}var yA=bA;function wA(e){var t=Array.isArray(e)?_e(e):[e];return am(t,v)}function am(e,t){var r=e.shift(),a=r?t.querySelector(r):null;return e.length===0?a:a!=null&&a.shadowRoot?am(e,a.shadowRoot):null}function Fl(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:v,r=Array.isArray(e)?_e(e):[e];return e.length===0?[]:nm(r,t)}function nm(e,t){var r=te(e),a=r[0],n=Gn(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(nm(n,u.shadowRoot)));}}catch(c){s.e(c);}finally{s.f();}return o}function xA(){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 uo=xA,im=[,[,[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,,,,,,1,1,1,1,,,1,1,1,,1,,1,,1,1],[1,1,1,,1,1,,1,1,1,,1,,,1,1,1,,,1,1,1,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,,,,1,1,1,,1,1,1,1,1,1,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1],[,1,,,,,,1,,1,,,,,1,,1,,,1,1,1,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,,1,1,1,1,,,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,,,1,,,,1,1,1,1,,1,,1,,1,,,,,,1],[1,,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,,1,,1,,,,,1,,1,1,1,1,1,,,,1,1,1,1],[,1,1,1,1,1,,1,1,1,,1,,1,1,1,,,1,1,1,1,1,1,1,1],[,,1,,,1,,1,,,,1,1,1,,,,,,,,,,,1],[1,1,1,1,1,1,,1,1,1,,1,1,,1,1,1,1,1,1,1,1,,,1,1,1],[1,1,1,1,1,,,1,,,1,,,1,1,1,,,,,1,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,,1,1,,1,1,1,1,1,1,1,,1],[,1,,1,1,1,,1,1,,1,,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,,,1,1,1,,,1,1,,,,,,1,1],[1,1,1,,,,,1,,,,1,1,,1,,,,,,1,,,,,1],[,1,,,1,,,1,,,,,,1],[,1,,1,,,,1,,,,1],[1,,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,,1,,,1,1,1,1],[,1,1,1,1,1,,,1,,,1,,1,1,,1,,1,,,,,1,,1],[,1,,,,1,,,1,1,,1,,1,1,1,1,,1,1,,,1,,,1],[,1,1,,,,,,1,,,,1,1,1,1,,1,1,1,1,1,1,,1,1,1],[,1,,1,1,1,,,1,1,1,1,1,1,,1,,,,1,1,1,,1,,1],[,1,,1,,1,,1,,1,,1,1,1,1,1,,,1,1,1],[,1,1,1,,,,1,1,1,,1,1,,,1,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1],[,1,1,1,,1,1,1,,1,,,,,1,1,1,,,1,,1,,,1,1],[,,,,1,,,,,,,,,,,,,,,,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,,1,1,,,,1,1,1,1,1,,,1,1,1,,,,1,1],[1,1,1,1,,,,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,,,,,,,1,,,,,,,1],[,1,1,,1,1,,1,,,,,,,,,,,,,1],[,,,,,,,,1],[1,1,1,,,,,,,,,,,,,1],[,,,,,,,,1,,,1,,,1,1,,,,,1]],[,[1,1,,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,,1,1,1,1,,1,1,,1,1,1,1,1,1,1,,1,1,1,1,,1],[,,,1,,,,,,,,,,,,,,,1],[,1,,,1,1,,1,,1,1,,,,1,1,,,1,1,,,,1],[1,,,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1,,,1,,,,1],,[,1,1,1,1,1,,1,1,1,,1,1,,1,1,,,1,1,1,1,,1,1,,1],[,1,,,1,,,1,,1,,,1,1,1,1,,,1,1,,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,,,1,1,1,1,1,1,1,,,1,,,1,,1],[,1,,,,,,1,,,,1,1,,,,,,1,1,,,,,1],[,,,,,,,1,,,,1,,1,1],[,1,1,1,1,1,1,1,,,,1,1,1,1,1,,,1,1,,1,1,1,1,1],[,1,,,1,1,,1,,1,1,1,,,1,1,,,1,,1,1,1,1,,1],[,1,1,1,,1,1,,1,1,,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1],[,,,,,,,,,,,,,,,,1],,[,1,1,1,1,1,,1,1,1,,,1,,1,1,,1,1,1,1,1,,1,,1],[,,1,,,1,,,1,1,,1,1,,1,1,,1,,,,,,,,,1],[,1,1,,1,,,,1,1,,1,,1,1,1,1,,1,1,1,1,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[1,1],[,1,,,,,,,,,,1,1,,,,,,1,1,,1,,1,,1,1],,[,1,1,,1,,,1,,1,,,,1,1,1,,,1,,,1,,,,1],[1,1,,,1,1,,1,,,,,1,,1]],[,[,1],[,,,1,,,,1,,,,1,,,,1,,,1,,,1],[,,,,,,,,,,,,,,,,,,1,1,,,,,,1],,[1,,,,,1],[,1,,,,1,,,,1],[,1,,,,,,,,,,,1,1,,1,,,,,,,,,1,1],[,,,,,,,,,,,,,,,,,,,1,,1],[,,,,,,,,,,,,,,,,1,,,,1,,1],[,1],[,1,,1,,1,,1,,1,,1,1,1,,1,1,,1,,,,,,,1],[1,,,,,1,,,1,1,,1,,1,,1,1,,,,,1,,,1],[,1,1,,,1,,1,,1,,1,,1,1,1,1,1,,1,,1,,1,1,1,1],[1,1,1,1,1,,1,,1,,,,1,1,1,1,,1,1,,,1,1,1,1],[1,,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,1],,[,1,,,,,,1,1,1,,1,,,,1,,,1,1,1,,,1],[1,,,,,1,,1,1,1,,1,1,1,1,1,,1,,1,,1,,,1,1],[1,,1,1,,,,,1,,,,,,1,1,,,1,1,1,1,,,1,,1],[1,,,,1,,,,,,,,,,,,,1],[,,,,,1,,,1,,,,,,1],[,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,,1],[,1,,,,,,,,,,,,,,1],[,1,,,,1]],[,[1,1,1,,1,,1,1,1,1,1,1,1,1,1,,1,,1,,1,1,,,1,1,1],[,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1],,[,,,,,,,,,,,,,,,,,,1],[1,,,,,,,,,1,,,,1],[,,,,,,,,,,,,,,,,,,1],,[1,1,,,,1,1,,,,,,1,,,,1,,1,,1,1,,1],[1],[,,,,,,,,,,,1,,,,,,,,,,,1],[,1,,,,,,,1,1,,,1,,1,,,,1,,,,,,,1],[,,,,,,,,,,,,,,,,1,,,,,1],[,,1,,,,,1,,1],[1,,,,1,,,,,1,,,,1,1,,,,1,1,,,,,1],[,,,,,1],[,,,,,,,,,,,,,,,,,,,1],[1,,,1,1,,,,,,,1,,1,,1,1,1,1,1,1],[,,,,,1,,,,,,,1,,,,,,,1],,[,,1,1,1,1,1,,1,1,1,,,1,1,,,1,1,,1,1,1,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,,,,1],,[1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[,,,1,1,1,1,,,,,,1,,1,,,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,,,,1,,1,,,1,1,1,1,1],[,,,,,,,,,,,1,,,,,,,,,1,,,,1],[,1,1,,1,1,,1,,,,1,1,,1,1,,,1,,1,1,,1],[,1,,1,,1,,,1,,,1,1,,1,1,,,1,1,1],[,1,1,1,1,1,,1,1,1,,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,,,,,,,,,1,,1,,1,1,,,,1,,,1],[,1,,,1,1,,,,,,,,,1,1,1,,,,,1],[1,,1,1,1,,,,1,1,1,1,1,,,1,,,1,,,1,,1,,1],[,1,1,,1,1,,1,1,,,,1,1,1,,,1,1,,,1,1,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,,1,1,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,,1],[,1,,,,,,,,1,,,,,1,,,,1,,,1],[,1,1,1,1,,,1,1,1,1,1,,1,,1,,1,1,1,1,1,1,1,1,1,1],[,,,,,1,,1,,,,,1,1,1,1,1,,,1,,,,1],[,1,,,,,,,,1,,,,,,,,,,,,1],[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,,1,,1,1,,,,1,,1,1,1,1,1,,1,1,,,,,,1],[,1,1,1,1,1,1,1,,1,1,,,1,1,,,,1,,1,1,,1,1],[,,,,,,,,,,,,,,,,,,,,,,,,1],[,1,1,,1,1,1,1,,1,,,1,1,1,1,,,1,,,,,,,1,1],[,1,,,,,,,,1,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1],[,1,1,,,,,,,,,,,,1,1,,,,,,1],[,1,,,,,,,1],[,,,,,,,,,,,,,,1,,,,,1,,,,,,1],[1,1,,,1,,,1,1,1,,,,1],,[,,,,,,,,,,,,,1,,,,,,,,,,1],[,,,,,,,,,1,,,,,,,,,1,,,,,,,1],[1,1,1,,1,,1,1,1,1,1,1,1,1,,1,,,1,,1,,,1,1],[,,,,,,,,,1],[,1,,,,1,,,1,,,1,,,1,,,,,1],[,1,1,,1,1,,,,,,,,,,,,,,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,,,1,1,,1,1,1,1,,,1,1,1,,,,1,,1],[1,1,1,1,1,1,,,1,1,1,1,1,1,,1,1,,1,1,1,,1,1,,1,1],[,,,,,,,,,,,,,,,1,,,,1],,[1,1,,1,,1,,,,,,1,,1,,1,1,,1,,1,1,,1,1,,1],[,,1,,,,,,1,,,,1,,1,,,,,1],[1,,,,,,,,,1,,,,,,1,,,,1,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,,,1,,1,,,,,,1,,,1,,,,,,,,1],[,1,,1,,,,,,,,,,,,1],,[1,1,,,,,,,,,,,,,,,,,,,,,,1,1],[1]],[,[1,,,,,,,,,1,,,,,1,,1,,1],[,1,1,,1,1,,1,1,1,,,1,1,1,,,,1,,,1,,,,1],[,1,,,,,,,1,,,,1,,,,,,1],[1,1,1,1,1,1,,,,1,,,,,,,,,1,1,1,1],[1],[,1,1,,,1,1,,,,,1,,1,,,,,,,,1,,,,1],[1,,1,,,1,,1,,,,,1,1,1,1,,,,1,,,,1],[,,1,,,,,,,1,,,,,,,1,,,,,,,1],[1,,,,,,,,,,,,,,1,,,,1],[,,,1,,1,,,,,1,,,,1,1,,,,1],[1,,,,,1,,,1,1,,1,1,,,1,1,,1,1,1,,1,1,1,,1],[,1,1,,,,,1,,1,,1,1,1,,1,1,,,1,,1,1,1],[,1,,,,1,,,,1,,,1,,1,1,,,1,1,1,,,,,1],[1,,1,1,,1,,1,1,,1,,1,1,1,1,1,,,1,1,,,,,,1],[1,,,,,,,,,,,,,,,,,,1,,,1,,1],[,,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,,,,1,,1],[,1,,,,1,,,1,1,,1,,,1,1,,,1,,,1,,,1,1],[1,1,,1,1,1,,1,1,1,,1,,1,1,1,,,1,,1,1,1],[1,,1,1,1,1,,,,1,,1,1,1,,1,,,1,1,1,,1,1,1,1,1],[1,,,,,,,,,,,,,1],[,,1,,,,,,,,,,,,,,,,,,,,1],[1,,,,,,,,,,,1,,1,,1,,,,1],[,,,1,,,,,,,,,1],[,1,,,,,,,,,,,,,,1,,,,,,,,,1],[,,,,,,,,1,1,,,,1,,,,,1,,,,,,,,1]],[,[1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,,1,1,1,1,1,,,1,1,1],[,,,,,1,,,,1,1,1,,1,1,1,,,1,,1,1,,1],[,,,,,,,,,,,,,,,,,,,1,1],[,1,,,,,,1,,,,,,,,,,,,,1],[,,1,,,1,,1,1,1,,1,1,,1,,,,1,,1,1],,[,,1,,,1,,,,,,1,,,,1],[,,,,,,,,,1,,,,,,,,,,1],[1,1,1,1,1,1,,1,1,1,,,1,1,,1,,1,,,1,1,1,,,1],[,,,,,1,,,,,,,,,,,,,1],[,1,,,,,,,,,,,,1,,1,1,,1,1,,1],[,,,,,1,,,,,,,,,,,,,,1],[,1,1,1,1,,,,,1,,,1,,1,,,,1,1,,,,1,1],[,1,,,1,,,1,,1,1,,1,,,,,,,1],[,,1,,1,,,1,,,,,,,,,,,1,1,,,,1],[,1,,,,,,,,,,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,1,,,,,,,,,,,,,,,,1,,1,1],[,,,,,,,,,,,,1],,[,1,1,1,1,,,,1,1,,1,1,1,1,1,1,,1,1,1,1,,1,,1],[1,,,,1,,,,,,,,,,1],[1,,,,,,,,,1],,[,1,,,,1,,,,,,,,,,,,,,,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,,,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,,1,1,1,,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,,,1,1,1,,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1,,1,1,1,1],[1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,,,1,1,1,1,,1,,,,1,1,,,1,1,,1],[,1,1,,1,,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,,,,,,,,,,1],[1,1,1,,,,,1,1,1,,1,1,1,1,1,,1,1,1,1,1,,,,,1],[,1,,,,,,,1,1,,,1,1,1,,1,,,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,1],[,1,,,,1,,,,1,,,1,,,,1,,,,,,,1,1],[,1,1,1,1,1,,,1,1,1,,1,1,1,1,,,1,1,1,1,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1],[1,1,1,,1,,,1,1,1,1,,1,1,1,1,,,,1,,1,,1,,,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,,1,1,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,,1,,1,,1,,1,,1,1,1,1,1,,,1,,1,,1,,,,1],[,1,1,1,1,1,,1,1,1,,,1,1,1,1,1,,1,1,1,,1,1,,1],[1,,,1,,,,1,1,1,,,,,1,1,,,,1,,1],[1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,,,,,,,,1,,1,1,,,,,,,1,,1],[,1,,,,1,,1,1,,,,1,1,,1,,,,1,1,1,,1],[,,,,,,,,,,,,,1],[,1,,,,,,1,,,,,,,1],[,,,,,,,,1,,,,1,,1,,,,,,,,,,,,1]],[,[,1,1,,1,1,1,1,,1,1,1,,1,1,,1,1,,1,1,1,1,1,1,,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,1,,,1,,,,,,,,1,,,,,,1,,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,,1,1,1,,1,1,1,1,,,1,1,1,1,,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,,1,,1,,1,,1,1,1,1,1,1,1,,1,1,,,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1],[,1,1,,,,,1,1,1,,,1,,1,1,,,,1,,1,,,1,1],[,,,,,,,1,,,,1,1,1,1,1,,1,,,1,,,,,1],[1,1,1,1,,1,1,1,,1,,1,1,1,1,,1,,1,,1,1,,,1,,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,1,1,,1,,1,1,1,,1,,1,1,,1,1,,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,,,,,,,1,,,,,1,,1],[,1,1,1,,1,,1,,1,,,,1,,1,,,1,,,,,1,1,1],[,1,,,1,1,,1,,1,,1,1,1,1,1,,1,1,,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,,,1,,1,,1,,,,,1,1,,1,,,,1,1]],[,[,1,,1,,,,,,,,1,,,,,,,1,,,,1],[,,,,,,,,,1,,1,1,1,,1,,,1,,1,1],[1,1,,,,,,,1,,,,,1,,1,,,,,,1],[,1,,,,,,,,,,1,,,,,,,,,1,1],,[,,,,,,,,,,,,,,,1,,,,1,,1],[,,1,1,,1,,1,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,,,1,1],[,1,,,,1,,,,,,,,,1],[1,,1,1,,,,1,,,,,,,,,1,,,1,,,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,,1,1,,1,1,,1,,1],[,1,,,1,1,,,,,,1,,1,,1,,,1,,1,1],[1,1,1,1,,1,,1,,1,,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,,,1,,1,,1,1,1,,,1,1,1,,1,1,1,1,,1,1],[,,,,1,,,1,,,,,,,1,,,,1,1],[,1,,,,,,,,,,1,,1,,1,,,,,1,,,,,1],,[1,1,,1,,1,,1,1,,,,,,1,1,,,1,1,1,1,1,1,1,1,1],[1,1,,1,,,,,,1,,,,,1,1,1,,,,1,1,,,1],[,1,1,,1,1,,,,1,,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1],[,1,1,,,1,,,,1,,,,1,1],[,,,,1],[,,,,,,,,,1,,,1],,[,,1,,1,,,,,,,,,1,,,,,,,,,,,,1],[,,,,,,,,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,1,,1,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,,,,,1],[,1,,1,,,,,,1,,,,,1,1,,,,,1,1],[,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,,,1,,1,1,1],[,1,,,,1,,,,,,,1],[,1,,,1,,,1,,1,,1,1,,1,,,,,1,,1,,,,1,1],[,1,,,1,,,1,1,1,1,1,1,1,1,1,,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1],[,,,,,,,,,,,,,,,,,,,,1],[,1,1,1,,,,1,1,,,,,,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,1,1,1,1,1,1,1,,1,,1,1,1,1,1,,1,1,,1,1,1,1,1],[,1,,,,1,,,,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,1,,,,,,,,,,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,,1,1,1,,1,1,1,,,1,1,1,1,1,1,1,1,1,1,,1,,1],[1,1,,,,,,,1,1,,,,,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,,1,1,1,,1,,1,1,1,1,,1,1,,1,1,1,1],,[,1,1,,,,,1,,1,,,,1,1,1,,,1,,,,,1],[,,,,,,,,,,,,,1],[,,,,,1,,,,,,,,1,1,,,,,1,,1,,,1,1],[,,,,,1,,,1,,,,,,1]],[,[,1],,,,,,,,,,,,,,,,,,,,[1,1,1,1,1,,1,1,1,1,,1,1,1,1,,1,1,1,1,,,1,1,1,1,1],[,1,,1,,1,,,1,1,1,,1,1,1,1,1,,,1,,,,1,,1,1],[,1,,1,,1,,,1,,,,,1,,,,,,1,1],[,1,,1,,,,,1,,,,1,,1,1,1,1,1,1,1,1,,1],[,1,,,,,,,,,,,,,,,1]],[,[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,,,,,,,,,1,1,,,,1],[,,,,,,1],[,,1],[,1,1,,,1,,1,,1,1,,1,1,1,,,,1,1,1,,,,,1],,[,1,,,,1,,,,,,1,,,1,,,,1,1,,1],[,,,,,,,1,,,,,,,,,1],[,1,1,,,1,1,,,,,,1,1,1,,,,1,,1,1],[,,,,,,,1,,1,,,,,,,,,,1],[,1,1,,,,,,1,1,,,,1,,,,,,,1,,,1],,[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,1,,,1,,,,,1,,1,,1,,1,,,,,1],[1,1,1,1,1,1,1,1,,,,,1,1,,1,1,,1,,,1,,1],[,,,,,,,,,,,,,,1,,,,,,1],,[,,,,,,,,,1,,,,1,,1,,,,,1],[,,1,,,,,,,1,,1,1,1,1,,,,,,,,,1],[,,,1,,,,,1,,,,,1,,,,,,1,,,,1],[1,,1,1,,1,1,1,1,1,,1,,,,1,1,1,,,1,1,,,,1,1],,[1,1,,,,,,,,,,1,1,1,,1,,,1],[,,,,1,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,1,,,,,1,,1],[,,,,,,,,1]],[,[1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,,1,1,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,,1,,,1,,,,,,,,1,,,,,,1,,,,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,,,,1,1,1,1,1,1,,1,1,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1],[,,1,1,1,1,,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,,,,,,,1,,1,1,,1,1,1,,1,1,1,1,1,,,1],[1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,1,1,,1,,1,,1,1,1,1,1,,1,,1,1,1,1,,1,1,1,1,1],[1,1,1,1,,1,,,,,,1,,1,,,,,1,1,,,,,1],[1,,1,1,,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,1,,1,,1,,,,1,1,1,1,1,,,1,1,,1,,1],[,1,1,1,1,,,,,1,,1,1,1,1,1,,,1,1,,,,1,1,1],[,1,1,1,1,1,,1,,,,,1,,1,,1,,,1,,,1,1,,1]],[,[1,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,,,,,,1,,,,,1,1,,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,,,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,,1,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,,,,,,1,,1,1,,1,1,1,1,1,,,1,,1,,1],[1,1,1,,1,1,1,1,,,,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,,1,,,,,,,,,,1,1,1,1,1,1,1,,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,,,1,1,,,,1,,1,1,1,1,1,,,,1,1,1,,1,1,1],[1,1,1,1,1,1,1,1,1,,,,1,1,1,1,1,1,1,,1,1,,1,1,1],[,1,1,1,,1,,1,1,1,1,,,1,1,1,,1,1,1,1,1,,,1,1],[1,1,,,,1,,,1,1,1,,1,,1,,1,,1,1,1,1,1,,1,1,1],[,1,,,,,,,1,,1,,1,1,1,1,,,,,,,,,1]],[,[,,,,,,,,,,,,,1,1,,,,1],[,1,,,,,,,,1,,,1,,,,,,1,,,1,,,,1],,[,1,,,,1,,1,,1,1,,1,1,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,1],[1,1,1,,,1,,,1,,,,,,1,1,,,,,,,,,,1],[,1,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1,,,1],[,,,,,,,,,1],[1,1,,,,,,1,1,1,,1,1,,,,1,1,,1,,1,1,1,,1],[,1,1,1,,1,1,,,1,,1,1,1,1,,,,,,,1,,1,,1],[,1,1,1,1,,,1,,1,,,,1,1,1,1,,1,1,,1],[,1,,,1,1,,1,,1,,1,,1,1,,1,,1,,,1,,,1,,1],[,,,,,,,,,,,1,,,1],[,,,,,,,,,1,,,,,,,,,,,,,1],,[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1],[,1,,,,,,,1,1,,1,,,,,1,,,1,,1],[,1,,,,1,,,1,,,,,,,,1,,1,,,1],[,,,,,,,,,,,,,1,1,,,,1,,,1],[,,,,,1,,,1,,,,1],[,1],,[,1],[1,,,,,,,,,,,,,,1,,,,,1]],[,[,1,,,,1,1,1,1,1,1,,1,1,1,1,1,,1,1,,1,1,,,1],[,,1,,,,,,,,,1],,,[1,,,1,1,,,,,,,,1,1,,1,1,,1],,[,,,,,,,,,,,,,,,,,,1,,1],,[1,,,1,1,,1,1,,,,,1,,1,,,,,1,1,,1],[,,,,,,,,,,,1],[,1,,,,,,,,1,1,1,1,1,1,1,1,,,,1,1,,,,,1],[,,,,,,,,,,,,,,,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,,1,1,1,1,1,1],[,,,,,,,,,,,1,,1,,,1],[1,,,,,,,,,,,,,,,,,,1,,1],,,[,1,,,,,,,,,,,,,,1,,,,1,1],[,,,,,,,,,1,,,1,,1,,,,,,,,1],[,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,1,1,,,,,,1],,[,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,,1,1,,1,1,1,1,1,1,,,1,1,1,1,1,,1,1],[,1,,,,,,,,1],[,,,,1,,,1,,,1,1,,,,,,,,,1,1,,,,1],[,1,,1,1,,,1,1,1,,,,1,1,1,1,,1,1,1,1,,1],[,,,,,,,1],[,1,1,,,,,1,,1,,,,,,1,,,,,,1,,1,,1],[,1,,,,,,1,,,,1,,,,,,,,,,1],[,,1,1,,1,1,1,1,1,1,1,1,1,1,,,,1,,1,1,1,1,,1],[,1,,,,,,,,1],[,1,1,,1,,,,,,,,1,,,,,,1,,,1,,1,,1],[,1,,1,,1,,1,1,1,,1,1,1,,1,,,1,1,,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,,,,1,1,1,,,,1,1,,,1,1],[,,1,1,1,1,,1,,1,,1,,1,1,1,1,,,,,1,,1,,1],[1,1,1,1,1,1,1,1,,1,,1,,1,1,1,,,1,1,,,,1,,1],[,,,1],,[,1,1,,1,,,1,1,1,,1,1,1,1,1,1,,1,1,,1,1,1,1,1,1],[,1,,,,,,1,,1,,1,,,,,,,1,1,,1,1],[,,1,,,,1,,1,1,,1,,1,,,,,,,,,,1],[,1,1,,1,,,,1,,,,1,1,1,,,,1,,1,1,1,,1,1],,[,1,1,,,,,,,,,,,,,1,,,1,,,,,1],[,1,,,,,,,,,,,,,,,,,,,,,,1],[,1,1,,,,,,,1,,,,1,1,,,,1,,,,,,,1]],[,[,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[,1,1,1,1,1,,1,,1,1,,,1,1,1,1,,1,,,,,1,1,1],[,,1,1,,1,,1,1,,,,1,1,1,1,,,1,,1,1,1,1,,1],[,1,,1,,,,,,,,1,,1,,1,,1,,,,,,,,1],[,,1,,1,,,1,,,,,1,1,,,1,,1,1,1,1],[,1],[,1,1,,1,,1,1,,1,,,1,1,1,,,,1,,,1,,1],[1,1,,1,1,1,,,,,,,,1,,,,,1,,1,1,1],[,1,1,,,,,,,1,,,1,,1,,1,,1,1,,,1,,,1],[,,1,,,,,,,,,,,,,,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,,1,,,,,1,1,1,,,1,,1,,,,1],[,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,1,1,1,1,1,,1,1,1,,1,1,1,1,1,,,,1,1],[,,,1,1,,,1,,1,,1,,1,1,1,1,,1,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,,,,,,,,,,,,,,,,1],[,1,1,,1,1,,1,,1,,,,1,1,,,1,1,,1,1,,1],[,1,1,1,1,1,,,1,1,1,,1,1,1,1,1,1,1,1,,1,1,,,1],[,1,1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,,1,,,1,,,1,,1,1,1,1,1,,1,,1,1],[,,,,,1,,,,1,,,,,1,1,,,,1],[,1,,1,1,1,,1,,,1,1,1,,,1,,,1,,1,,,1],[,,1,,,,,,,,,1,,1,,,,,1,,1],[,1,1,,,,,,,,1,1,1,,,,,,,,1,,,,,1],[,,,,,,,,1,,,,,1,,,1]],[,[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,,,1,1,1,1,1,1,1,1,,,,,,,,,1,1],[,,,,,,,,1,,,,1,,1,,1,,1],[,1,,,1,1,,1,,,,1,,,,,,,,1],[,1,,1,,1,,,,1,1,,1,,1,,,,1,1,1,1,1,,,1],,[,1,,,,,,,,1,,,1,1,,,1,,1,1,,1,,1],[,1,,,1,,,,,,,,1,,,,,,,1],[1,1,,,,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1],,[,1,,,,,,1,1,1,,1,1,1,1,1,,,1,,1,1,,,,1],[,1,1,,,1,,1,,1,,,1,1,1,1,,,1,,,1,,,,1],[,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,,,1,,1],[,1,1,,1,1,,1,1,,,1,1,,1,1,,1,,1,,1],[1,,1,,,,,1,,1,,1,1,1,1,,,,,1,1,,,,1,1],[,1,1,,,,,1,1,,,1,,1,1,1,1,,,,,,,,,,1],,[,1,1,,,1,,,,1,,1,1,1,1,1,,,,1,,,,1,,1],[,,,1,1,,,1,,,,,1,1,1,1,1,,1,1,,,,,,1],[,1,,,,,,,,,,,1,,,,1,,,,,,,1,,1],[,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,,1,1,,1,1,1,1],[,1,,,,,,,,,,,,,,,,,,,1],[,1,,,,,,1,,,,,1,,1,,,1,1,,1,1,,1],[,1,,,,,,1,,,,,1,1,,,,,,,,1,,,,1],[,,,,,,,,,,,,,,,,,,1,,,1,,,,,1],[,,,,,,,1,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,,1,,,,,,,1,,,,,,,,1,1,,1],[,1,,,1,,,,1],[,,,,,,,,,,1],[,1,,,,,,1,1,,,,,1,1],,[,1,1,,,,,,1,,,,,1,1,,,,1],[1,,1,,1,,,,,1,,,,,1,,,,,,,,,1,1],[,1,1,,,,,,,,,1,1,1,1,,,,1,,,,,1,,,1],,[,1,1,,1,,,1,1,,,1,,,1,1,1,,1,,1,1,1,,,,1],[,1,,,,1,,,,,1,,,1,1,,,1,,1,,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,1,1,,1,,,,1,,,,,,,,1],[,,,1,,,,,1,,,,,1,,1,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,,1],[,1,,,,,,1,,,,,,,1,1,1,,,1],[,1,,,,,,,,,,1,1,1,,,,,1,,,1],[,,,,,1,,1,,,,,1,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 DA(e){for(var t=im;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 om(e){e=Array.isArray(e)?e:im;var t=[];return e.forEach(function(r,a){var n=String.fromCharCode(a+96).replace("`","");Array.isArray(r)?t=t.concat(om(r).map(function(i){return n+i})):t.push(n);}),t}var co=DA,_A=(function(e){function t(r){var a;return gt(this,t),a=ke(this,t),a._props=EA(r),a._attrs=CA(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),Rl={"#cdata-section":2,"#text":3,"#comment":8,"#document":9,"#document-fragment":11},sm={},AA=Object.keys(Rl);AA.forEach(function(e){sm[Rl[e]]=e;});function EA(e){var t,r,a,n=(t=e.nodeName)!==null&&t!==void 0?t:sm[e.nodeType],i=(r=(a=e.nodeType)!==null&&a!==void 0?a:Rl[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(),uo().includes(o)||(o="text"));var s=Te({},e,{nodeType:i,nodeName:n});return o&&(s.type=o),delete s.attributes,Object.freeze(s)}function CA(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 lm=_A;function SA(e,t){if(e=e||function(){},t=t||f.log,!f._audit)throw new Error("No audit configured");var r=f.utils.queue(),a=[];Object.keys(f.plugins).forEach(function(i){r.defer(function(o){var s=function(u){a.push(u),o();};try{f.plugins[i].cleanup(o,s);}catch(l){s(l);}});});var n=f.utils.getFlattenedTree(v.body);f.utils.querySelectorAll(n,"iframe, frame").forEach(function(i){r.defer(function(o,s){return f.utils.sendCommandToFrame(i.actualNode,{command:"cleanup-plugin"},o,s)});}),r.then(function(i){a.length===0?e(i):t(a);}).catch(t);}var um=SA,Rn={},cm;function dm(e){return Rn.hasOwnProperty(e)}function Il(e){return typeof e=="string"&&Rn[e]?Rn[e]:typeof e=="function"?e:cm}function kA(e,t,r){Rn[e]=t,r&&(cm=t);}function TA(e){var t=f._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],m=f.version.split("-"),y=le(m,2),C=y[0],k=y[1],I=C.split(".").map(Number),L=le(I,3),O=L[0],q=L[1],B=L[2];if(u!==O||q<c||q===c&&B<d||u===O&&c===q&&d===B&&o&&o!==k)throw new Error("Configured version ".concat(r," is not compatible with current axe version ").concat(f.version))}if(e.reporter&&(typeof e.reporter=="function"||dm(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&&Xx(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 FA=TA;function RA(e){hr.updateMessenger(e);}function IA(e){e=e||[];var t=e.length?f._audit.rules.filter(function(a){return !!e.filter(function(n){return a.tags.indexOf(n)!==-1}).length}):f._audit.rules,r=f._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 LA=IA;function PA(e,t,r){var a=["SCRIPT","HEAD","TITLE","NOSCRIPT","STYLE","TEMPLATE"];if(!a.includes(e.nodeName.toUpperCase())&&Cn(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 OA=PA,fm={};ur(fm,{getAllCells:function(){return Ll},getCellPosition:function(){return zi},getHeaders:function(){return fo},getScope:function(){return Ws},isColumnHeader:function(){return Ra},isDataCell:function(){return mm},isDataTable:function(){return po},isHeader:function(){return VA},isRowHeader:function(){return Ia},toArray:function(){return Or},toGrid:function(){return Or},traverse:function(){return Pl}});function MA(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 Ll=MA;function pm(e,t,r){for(var a=e==="row"?"_rowHeaders":"_colHeaders",n=e==="row"?Ia:Ra,i=r[t.y][t.x],o=i.colSpan-1,s=i.getAttribute("rowspan"),l=parseInt(s)===0||i.rowspan===0?r.length:i.rowSpan,u=l-1,c=t.y+u,d=t.x+o,m=e==="row"?t.y:0,y=e==="row"?0:t.x,C,k=[],I=c;I>=m&&!C;I--)for(var L=d;L>=y;L--){var O=r[I]?r[I][L]:void 0;if(O){var q=f.utils.getNodeFromTree(O);if(q[a]){C=q[a];break}k.push(O);}}return C=(C||[]).concat(k.filter(n)),k.forEach(function(B){var V=f.utils.getNodeFromTree(B);V[a]=C;}),C}function NA(e,t){if(e.getAttribute("headers")){var r=Dr(e,"headers");if(r.filter(function(o){return o}).length)return r}t||(t=Or(Ta(e,"table")));var a=zi(e,t),n=pm("row",a,t),i=pm("col",a,t);return [].concat(n,i).reverse()}var fo=NA;function qA(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 mm=qA;function BA(e){var t=We(e);if((t==="presentation"||t==="none")&&!Dt(e))return false;if(e.getAttribute("contenteditable")==="true"||Ta(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 m=e.rows[Math.ceil(i/2)];if(m.cells.length===1&&m.cells[0].colSpan===1)return false;if(m.cells.length>=5||l)return true;for(var y,C,k=0;k<i;k++){if(o=e.rows[k],y&&y!==p.getComputedStyle(o).getPropertyValue("background-color")||(y=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:!(Rs(e).width>Pi(p).width*.95||n<10||e.querySelector("object, embed, iframe, applet"))}var po=BA;function HA(e){if(Ra(e)||Ia(e))return true;if(e.getAttribute("id")){var t=vt(e.getAttribute("id"));return !!v.querySelector('[headers~="'.concat(t,'"]'))}return false}var VA=HA;function hm(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=hm(e,{x:t.x+e.x,y:t.y+e.y},r,a),n.unshift(i),n):[]}function jA(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 hm(e,{x:t.x+e.x,y:t.y+e.y},r,a)}var Pl=jA,gm={};ur(gm,{allowedAttr:function(){return vm},arialabelText:function(){return xn},arialabelledbyText:function(){return wn},getAccessibleRefs:function(){return Ol},getElementUnallowedRoles:function(){return wm},getExplicitRole:function(){return We},getImplicitRole:function(){return _r},getOwnedVirtual:function(){return An},getRole:function(){return Ve},getRoleType:function(){return gr},getRolesByType:function(){return eE},getRolesWithNameFromContents:function(){return aE},implicitNodes:function(){return iE},implicitRole:function(){return _r},isAccessibleRef:function(){return mo},isAriaRoleAllowedOnElement:function(){return ym},isComboboxPopup:function(){return Nl},isUnsupportedRole:function(){return zs},isValidRole:function(){return Dn},label:function(){return Am},labelVirtual:function(){return Ui},lookupTable:function(){return Dm},namedFromContents:function(){return Gf},requiredAttr:function(){return Em},requiredContext:function(){return ql},requiredOwned:function(){return Bl},validateAttr:function(){return ho},validateAttrValue:function(){return Cm}});function $A(e){var t=et.ariaRoles[e],r=_e(Jr());return t&&(t.allowedAttrs&&r.push.apply(r,_e(t.allowedAttrs)),t.requiredAttrs&&r.push.apply(r,_e(t.requiredAttrs))),r}var vm=$A,zA=/^idrefs?$/;function bm(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&&bm(e.childNodes[c],t,r);}function GA(e){var t;e=e.actualNode||e;var r=Ot(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 zA.test(s)});bm(r,n,i);}return (t=n.get(e.id))!==null&&t!==void 0?t:[]}var Ol=GA;function WA(e,t){var r=e instanceof Ft?e:je(e),a=_r(r),n=Zr(r);return Array.isArray(n.allowedRoles)?n.allowedRoles.includes(t):t===a?false:!!n.allowedRoles}var ym=WA,UA=["doc-backlink","doc-biblioentry","doc-biblioref","doc-cover","doc-endnote","doc-glossref","doc-noteref"],XA={header:"banner",footer:"contentinfo"};function YA(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 Dn(a)})}function KA(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:true,r=Je(e),a=r.vNode;if(!_l(a))return [];var n=a.props.nodeName,i=_r(a)||XA[n],o=YA(a);return o.filter(function(s){return !JA(s,a,t,i)})}function JA(e,t,r,a){return r&&e===a?true:UA.includes(e)&&gr(e)!==a?false:ym(t,e)}var wm=KA;function ZA(e){return Object.keys(et.ariaRoles).filter(function(t){return et.ariaRoles[t].type===e})}var Pa=ZA;function QA(e){return Pa(e)}var eE=QA;function tE(){return Be.get("ariaRolesNameFromContent",function(){return Object.keys(et.ariaRoles).filter(function(e){return et.ariaRoles[e].nameFromContent})})}var Ml=tE;function rE(){return Ml()}var aE=rE,xm=function(t){return t===null},Mt=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:Mt}}]},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:Mt}}]},"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:Mt}}]},"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:Mt}}]},"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:Mt}}]},"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:Mt}}]},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:Mt}}]},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:Mt}}]},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:Mt}}]},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:Mt}}]},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:Mt}}]},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:Mt}}]},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:Mt}}]},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:Mt}}]},widget:{type:"abstract",unsupported:false},window:{nameFrom:["author"],type:"abstract",unsupported:false}},Nr.implicitHtmlRole=Xs,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:Mt}},{nodeName:"input",properties:{type:["color","data","datatime","file","hidden","month","number","password","range","reset","submit","time","week"]}},{nodeName:"link",attributes:{href:Mt}},{nodeName:"menu",attributes:{type:"context"}},{nodeName:"menuitem",attributes:{type:["command","checkbox","radio"]}},{nodeName:"select",condition:function(t){return t instanceof f.AbstractVirtualNode||(t=f.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:xm}},{nodeName:"img",attributes:{alt:xm}},{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=f.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=f.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 Dm=Nr;function nE(e){var t=null,r=Dm.role[e];return r&&r.implicit&&(t=Ir(r.implicit)),t}var iE=nE;function oE(e){return !!Ol(e).length}var mo=oE;function Nl(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.popupRoles,a=Ve(e);if(r??(r=Cf["aria-haspopup"].values),!r.includes(a))return false;var n=sE(e);if(_m(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=hn(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(_m)}var _m=function(t){return t&&Ve(t)==="combobox"};function sE(e){for(;e=e.parent;)if(Ve(e,{noPresentational:true})!==null)return e;return null}function lE(e){return e=je(e),Ui(e)}var Am=lE;function uE(e){var t=et.ariaRoles[e];return !t||!Array.isArray(t.requiredAttrs)?[]:_e(t.requiredAttrs)}var Em=uE;function cE(e){var t=et.ariaRoles[e];return !t||!Array.isArray(t.requiredContext)?null:_e(t.requiredContext)}var ql=cE;function dE(e){var t=et.ariaRoles[e];return !t||!Array.isArray(t.requiredOwned)?null:_e(t.requiredOwned)}var Bl=dE;function fE(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=Ot(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 Cm=fE;function pE(e){var t=et.ariaAttrs[e];return !!t}var ho=pE;function mE(e){var t=Ll(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=Or(e),o=true;return n.forEach(function(s){if(!(s.getAttribute("id")&&a.includes(s.getAttribute("id")))){var l=zi(s,i),u=false;Ra(s)&&(u=Pl("down",l,i).find(function(c){return !Ra(c)&&fo(c,i).includes(s)})),!u&&Ia(s)&&(u=Pl("right",l,i).find(function(c){return !Ia(c)&&fo(c,i).includes(s)})),u||r.relatedNodes(s),o=o&&u;}}),o?true:void 0}var hE=mE,In=["cell-header-not-in-table","cell-header-not-th","header-refs-self","empty-hdrs"],Sm=In[0],km=In[1],Tm=In[2],Hl=In[3];function gE(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({},Tm,new Set),Sm,new Set),km,new Set),Hl,new Set);t.forEach(function(m){if(!(!m.hasAttribute("headers")||!pt(m))){var y=m.getAttribute("headers").trim();if(!y){l[Hl].add(m);return}var C=m.getAttribute("id"),k=Ht(y);k.forEach(function(I){C&&I===C?l[Tm].add(m):r[I]?["columnheader","rowheader"].includes(r[I])||l[km].add(m):l[Sm].add(m);});}});var u=Ge(In),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===Hl?void 0:(this.data({messageKey:d}),!1)}}catch(m){u.e(m);}finally{u.f();}return true}function vE(e){var t=[],r=Ll(e),a=Or(e);return r.forEach(function(n){if(Ki(n)&&mm(n)&&!Am(n)){var i=fo(n,a).some(function(o){return o!==null&&!!Ki(o)});i||t.push(n);}}),t.length?(this.relatedNodes(t),false):true}var bE=vE;function yE(e,t){var r=e.getAttribute("scope").toLowerCase();return t.values.indexOf(r)!==-1}var wE=yE,xE=DE;function DE(e,t,r){if(r.children!==void 0){var a=r.attr("summary"),n=r.children.find(_E),i=n?Pe(Qr(n)):false;return !i||!a?false:Pe(a).toLowerCase()===Pe(i).toLowerCase()}}function _E(e){return e.props.nodeName==="caption"}function AE(e){return vp(v)?e.nodeName.toUpperCase()==="TH":true}var EE=AE;function CE(e){var t=Or(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 SE=CE;function kE(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=Qr(a,{includeHidden:!0}).trim();if(n==="")return this.data({messageKey:"emptyTitle"}),!1}catch{return}return true}}var TE=kE,Fm={};ur(Fm,{getAriaRolesByType:function(){return Pa},getAriaRolesSupportingNameFromContent:function(){return Ml},getElementSpec:function(){return Zr},getElementsByContentType:function(){return Gs},getGlobalAriaAttrs:function(){return Jr},implicitHtmlRoles:function(){return Xs}});function FE(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=Jr().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 RE(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 IE=RE;function LE(e){return Yt(e)}var PE=LE;function OE(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&&!yp(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 m=ME(e,{absoluteValues:a,cssProperty:r,normalValue:s});if(this.data(Te({value:m},c)),typeof m=="number")return (typeof n!="number"||m>=n)&&(typeof i!="number"||m<=i)}function ME(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 NE(e,t,r){var a=r.props.nodeName;return ["img","input","area"].includes(a)?r.hasAttr("alt"):false}var qE=NE;function BE(){}var HE=BE;function VE(){var e=v.title;return !!Pe(e)}var jE=VE;function $E(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 zE=$E;function GE(e,t,r){try{return !!Pe(wn(r))}catch{return}}var WE=GE;function UE(e,t,r){return !!Pe(xn(r))}var XE=UE;function YE(e){var t=e.getAttribute("id").trim();if(!t)return true;var r=Ot(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 KE=YE;function JE(e){var t=[];return e.filter(function(r){return t.indexOf(r.data)===-1?(t.push(r.data),true):false})}var ZE=JE;function QE(e,t,r){var a=Pe(r.attr("title")).toLowerCase();return this.data(a),true}var eC=QE;function tC(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 rC=tC;function aC(e){var t=Hs(e,"href");return t?pt(t)||void 0:false}var nC=aC,iC=["alert","log","status"];function oC(e,t,r){this.data({isIframe:["iframe","frame"].includes(r.props.nodeName)});var a=Be.get("regionlessNodes",function(){return sC(t)});return !a.includes(r)}function sC(e){var t=Rm(f._tree[0],e).map(function(r){for(;r.parent&&!r.parent._hasRegionDescendant&&r.parent.actualNode!==v.body;)r=r.parent;return r}).filter(function(r,a,n){return n.indexOf(r)===a});return t}function Rm(e,t){var r=e.actualNode;if(Ve(e)==="button"||uC(e,t)||["iframe","frame"].includes(e.props.nodeName)||cl(e.actualNode)&&Hs(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!==v.body&&Ki(r,true)&&!lC(e)?[e]:e.children.filter(function(n){var i=n.actualNode;return i.nodeType===1}).map(function(n){return Rm(n,t)}).reduce(function(n,i){return n.concat(i)},[])}function lC(e){return ["none","presentation"].includes(Ve(e))&&!Yi(e)}function uC(e,t){var r=e.actualNode,a=Ve(e),n=(r.getAttribute("aria-live")||"").toLowerCase().trim(),i=Pa("landmark");return !!(["assertive","polite"].includes(n)||iC.includes(a)||i.includes(a)||t.regionMatcher&&_n(e,t.regionMatcher))}function cC(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(El(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 dC=cC;function fC(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 pC(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 Vl(e){var t=p.getComputedStyle(pC(e));return {fontWeight:fC(t.getPropertyValue("font-weight")),fontSize:parseInt(t.getPropertyValue("font-size")),isItalic:t.getPropertyValue("font-style")==="italic"}}function Im(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 mC(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=Vl(e),u=o?Vl(o):null,c=s?Vl(s):null,d=t.passLength,m=t.failLength,y=e.textContent.trim().length,C=o?.textContent.trim().length;if(y>C*d||!u||!Im(l,u,i))return true;var k=ka(r,"blockquote");if(!(k&&k.nodeName.toUpperCase()==="BLOCKQUOTE")&&!(c&&!Im(l,c,i))&&!(y>C*m))return false}var hC=mC,gC=/[;,\s]/,vC=/^[0-9.]+$/;function bC(e,t,r){var a=t||{},n=a.minDelay,i=a.maxDelay,o=(r.attr("content")||"").trim(),s=o.split(gC),l=le(s,1),u=l[0];if(!u.match(vC))return true;var c=parseFloat(u);return this.data({redirectDelay:c}),typeof n=="number"&&c<=t.minDelay||typeof i=="number"&&c>t.maxDelay}function yC(e,t,r){var a=Zt(r,"a[href]");return a.some(function(n){return /^#[^/!]/.test(n.attr("href"))})}var wC=yC,Lm={};ur(Lm,{aria:function(){return gm},color:function(){return Pm},dom:function(){return ks},forms:function(){return Wm},matches:function(){return _n},math:function(){return of},standards:function(){return Fm},table:function(){return fm},text:function(){return yn},utils:function(){return Bo}});var Pm={};ur(Pm,{Color:function(){return mt},centerPointOfRect:function(){return DC},elementHasImage:function(){return Ji},elementIsDistinct:function(){return Mm},filteredRectStack:function(){return CC},flattenColors:function(){return kr},flattenShadowColors:function(){return $l},getBackgroundColor:function(){return Pn},getBackgroundStack:function(){return zl},getContrast:function(){return Oa},getForegroundColor:function(){return bo},getOwnBackgroundColor:function(){return ga},getRectStack:function(){return Nm},getStackingContext:function(){return Wl},getStrokeColorsFromShadows:function(){return Gl},getTextShadowColors:function(){return vo},hasValidContrastRatio:function(){return XC},incompleteData:function(){return ct},parseTextShadows:function(){return Hm},stackingContextToColor:function(){return Ln}});function xC(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 DC=xC;function Om(e){return e.getPropertyValue("font-family").split(/[,;]/g).map(function(t){return t.trim().toLowerCase()})}function _C(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(Om(r)[0]!==Om(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 Mm=_C;function AC(e){var t=_f(e),r=nl(e);return !r||r.length<=1?[t]:r.some(function(a){return a===void 0})?null:(r.splice(0,0,t),r)}var Nm=AC;function EC(e){var t=Nm(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 CC=EC,SC=["hue","saturation","color","luminosity"],qm={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=TC(t,e,r),n=jl(e.red,e.alpha,t.red,t.alpha,a.r*255),i=jl(e.green,e.alpha,t.green,t.alpha,a.g*255),o=jl(e.blue,e.alpha,t.blue,t.alpha,a.b*255),s=kC(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 jl(e,t,r,a,n){return t*(1-a)*e+t*a*n+(1-t)*a*r}function kC(e,t,r){return Math.min(Math.max(t,e),r)}function TC(e,t,r){if(SC.includes(r))return qm[r](e,t);var a=new mt;return ["r","g","b"].forEach(function(n){a[n]=qm[r](e[n],t[n]);}),a}function $l(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 zl(e){for(var t=nl(e).map(function(n){return n=wp(n,e),n=FC(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&&!RC(a,t[0]))return ct.set("bgColor","elmPartiallyObscuring"),null}return t[0]||null}function FC(e){var t=e.indexOf(v.body),r=e,a=ga(p.getComputedStyle(v.documentElement));if(t>1&&a.alpha===0&&!Ji(v.documentElement)){t>1&&(r.splice(t,1),r.push(v.body));var n=r.indexOf(v.documentElement);n>0&&(r.splice(n,1),r.push(v.documentElement));}return r}function RC(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 IC=.54,go=.5,LC=1.5,Bm=["top","right","bottom","left"];function Gl(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.ignoreEdgeCount,a=r===void 0?false:r,n=PC(e),i=Object.entries(n).map(function(o){var s=le(o,2),l=s[0],u=s[1],c=Bm.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(OC).filter(function(o){return o!==null})}function PC(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>go?l.right.push(c):-c>go&&l.left.push(-c),d>go?l.bottom.push(d):-d>go&&l.top.push(-d);}}catch(m){r.e(m);}finally{r.f();}return t}function OC(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 Bm.forEach(function(s){i+=r[s].length/4,o&&(o=r[s].every(function(l){return l>LC}));}),o||(n.alpha=1-Math.pow(IC,i)),n}function Hm(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 vo(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=Hm(s),m=Ge(d),y;try{for(m.s();!(y=m.n()).done;){var C=y.value,k=C.colorStr||o.getPropertyValue("color"),I=le(C.pixels,3),L=I[0],O=I[1],q=I[2],B=q===void 0?0:q;if(!(a&&B>=u*a)){if(r&&B<u*r){c.push({colorStr:k,pixels:C.pixels});continue}if(c.length>0){var V=Gl(c,{ignoreEdgeCount:n});if(V===null)return null;i.push.apply(i,_e(V)),c.splice(0,c.length);}var X=MC({colorStr:k,offsetX:L,offsetY:O,blurRadius:B,fontSize:u});i.push(X);}}}catch(ne){m.e(ne);}finally{m.f();}if(c.length>0){var Q=Gl(c,{ignoreEdgeCount:n});if(Q===null)return null;i.push.apply(i,_e(Q));}return i}function MC(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*=NC(n,i),o}function NC(e,t){if(e===0)return 1;var r=e/t;return .185/(r+.4)}function Wl(e,t){var r=je(e);if(r._stackingContext)return r._stackingContext;var a=[],n=new Map;return t=t??zl(e),t.forEach(function(i){var o,s=je(i),l=HC(s),u=s._stackingOrder.filter(function(m){var y=m.vNode;return !!y});u.forEach(function(m,y){var C,k=m.vNode,I=(C=u[y-1])===null||C===void 0?void 0:C.vNode,L=jm(n,k,I);y===0&&!n.get(k)&&a.unshift(L),n.set(k,L);});var c=(o=u[u.length-1])===null||o===void 0?void 0:o.vNode,d=jm(n,s,c);u.length||a.unshift(d),d.bgColor=l;}),r._stackingContext=a,a}function Ln(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(qC,Vm()),n=kr(a,e.bgColor,e.descendants[0].blendMode);return n.alpha*=e.opacity,{color:n,blendMode:e.blendMode}}function qC(e,t){var r;e instanceof mt?r=e:r=Ln(e).color;var a=Ln(t).color;return kr(a,r,t.blendMode)}function Vm(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:BC(e?.getComputedStylePropertyValue("mix-blend-mode")),descendants:[]}}function BC(e){return e||void 0}function jm(e,t,r){var a,n=e.get(r),i=(a=e.get(t))!==null&&a!==void 0?a:Vm(t,n);return n&&r!==t&&!n.descendants.includes(i)&&n.descendants.unshift(i),i}function HC(e){var t=new mt;return t.parseString(e.getComputedStylePropertyValue("background-color")),t}function Pn(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=VC(e,t,r);return a._cache.getBackgroundColor={bgColor:i,bgElms:t,incompleteData:ct.get("bgColor")},i}function VC(e,t,r){var a,n,i=zl(e);if(!i)return null;var o=al(e),s=(a=vo(e,{minRatio:r,ignoreEdgeCount:true}))!==null&&a!==void 0?a:[];s.length&&(s=[{color:s.reduce($l)}]);for(var l=0;l<i.length;l++){var u=i[l],c=p.getComputedStyle(u);if(Ji(u,c))return t.push(u),null;var d=void 0;try{if(d=ga(c),d.alpha===0)continue}catch(k){if(k&&ct.get("colorParse"))return null;throw k}if(c.getPropertyValue("display")!=="inline"&&!$m(u,o))return t.push(u),ct.set("bgColor","elmPartiallyObscured"),null;if(t.push(u),d.alpha===1)break}var m=Wl(e,i);s=m.map(Ln).concat(s);var y=jC(e,i.includes(v.body));if((n=s).unshift.apply(n,_e(y)),s.length===0)return new mt(255,255,255,1);var C=s.reduce(function(k,I){return kr(I.color,k.color instanceof mt?k.color:k,I.blendMode)});return kr(C.color instanceof mt?C.color:C,new mt(255,255,255,1))}function $m(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 zm(e){return e||void 0}function jC(e,t){var r=[];if(!t){var a=v.documentElement,n=v.body,i=p.getComputedStyle(a),o=p.getComputedStyle(n),s=ga(i),l=ga(o),u=l.alpha!==0&&$m(n,e.getBoundingClientRect());(l.alpha!==0&&s.alpha===0||u&&l.alpha!==1)&&r.unshift({color:l,blendMode:zm(o.getPropertyValue("mix-blend-mode"))}),s.alpha!==0&&(!u||u&&l.alpha!==1)&&r.unshift({color:s,blendMode:zm(i.getPropertyValue("mix-blend-mode"))});}return r}function $C(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 Oa=$C;function bo(e,t,r){var a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},n=p.getComputedStyle(e),i=[function(){return GC(n,a)},function(){return zC(n)},function(){return vo(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(k){if(k&&ct.get("colorParse"))return null;throw k}var d=o.reduce(function(k,I){return kr(k,I)});if(r??(r=Pn(e,[])),r===null){var m=ct.get("bgColor");return ct.set("fgColor",m),null}var y=Wl(e),C=Gm(y,e);return kr(WC(d,C,y),new mt(255,255,255,1))}function zC(e){return new mt().parseString(e.getPropertyValue("-webkit-text-fill-color")||e.getPropertyValue("color"))}function GC(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 WC(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(Ln);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 Gm(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=Gm(i.descendants,t);if(o)return o}}catch(s){r.e(s);}finally{r.f();}}function UC(e,t,r,a){var n=Oa(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 XC=UC,Wm={};ur(Wm,{isAriaCombobox:function(){return Zf},isAriaListbox:function(){return Jf},isAriaRange:function(){return Qf},isAriaTextbox:function(){return Kf},isDisabled:function(){return On},isNativeSelect:function(){return Yf},isNativeTextbox:function(){return Xf}});var YC=["fieldset","button","select","input","textarea"];function Um(e){var t=e._isDisabled;if(typeof t=="boolean")return t;var r=e.props.nodeName,a=e.attr("aria-disabled");return YC.includes(r)&&e.hasAttr("disabled")?t=true:a?t=a.toLowerCase()==="true":e.parent?t=Um(e.parent):t=false,e._isDisabled=t,t}var On=Um;function KC(e,t,r){var a=yn.accessibleTextVirtual(r),n=yn.sanitize(yn.removeUnicode(a,{emoji:true,nonBmp:true,punctuations:true})).toLowerCase();if(n){var i={name:n,urlProps:ks.urlPropsFromAttribute(e,"href")};return this.data(i),this.relatedNodes([e]),true}}var JC=KC;function Xm(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"?Xm(o,s):o===s});return n}function ZC(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,m=c.urlProps;if(a[d])return 1;var y=t.filter(function(k,I){var L=k.data;return L.name===d&&I!==s}),C=y.every(function(k){var I=k.data;return Xm(I.urlProps,m)});y.length&&!C&&(u.result=void 0),u.relatedNodes=[],(l=u.relatedNodes).push.apply(l,_e(y.map(function(k){return k.relatedNodes[0]}))),a[d]=y,r.push(u);},i=0;i<t.length;i++)n(i);return r}var QC=ZC;function eS(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 tS(){var e=Be.get("headingOrder");if(e)return true;var t="h1, h2, h3, h4, h5, h6, [role=heading], iframe, frame",r=Sr(f._tree[0],t,pt);return e=r.map(function(a){return {ancestry:[Ei(a.actualNode)],level:eS(a)}}),this.data({headingOrder:e}),Be.set("headingOrder",r),true}var rS=tS;function aS(e){var t=iS(e);return e.forEach(function(r){r.result=nS(r,t);}),e}function nS(e,t){var r,a,n,i,o=Ym(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 iS(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(oS,[]);return t.filter(function(r){var a=r.level;return a!==-1})}function oS(e,t){var r,a=(r=t.data)===null||r===void 0?void 0:r.headingOrder,n=Km(t.node.ancestry,1);if(!a)return e;var i=a.map(function(s){return lS(s,n)}),o=sS(e,n);return o===-1?e.push.apply(e,_e(i)):e.splice.apply(e,[o,0].concat(_e(i))),e}function sS(e,t){for(;t.length;){var r=Ym(e,t);if(r!==-1)return r;t=Km(t,1);}return -1}function Ym(e,t){return e.findIndex(function(r){return El(r.ancestry,t)})}function lS(e,t){var r=t.concat(e.ancestry);return Te({},e,{ancestry:r})}function Km(e,t){return e.slice(0,e.length-t)}function uS(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=Vi(r),s=cS(r,o),l=dS(r,o),u=l.fullyObscuringElms,c=l.partialObscuringElms;if(s.length&&(u.length||!i(n))){this.data({minSize:a,messageKey:"contentOverflow"}),this.relatedNodes(Mn(s));return}if(u.length)return this.relatedNodes(Mn(u)),this.data({messageKey:"obscured"}),true;var d=sr(r)?false:void 0;if(!i(n))return this.data(Te({minSize:a},yo(n))),d;var m=mS(c);if(!m.length)return this.data(Te({minSize:a},yo(n))),true;var y=fS(r,m,a);if(!y){this.data({minSize:a,messageKey:"tooManyRects"});return}if(!i(y)){if(s.length){this.data({minSize:a,messageKey:"contentOverflow"}),this.relatedNodes(Mn(s));return}var C=m.every(sr),k="partiallyObscured".concat(C?"":"NonTabbable");return this.data(Te({messageKey:k,minSize:a},yo(y))),this.relatedNodes(Mn(m)),C?d:void 0}return this.data(Te({minSize:a},yo(y||n))),this.relatedNodes(Mn(m)),true}function cS(e,t){return t.filter(function(r){return !Jm(r,e)&&Zm(e,r)})}function dS(e,t){var r=[],a=[],n=Ge(t),i;try{for(n.s();!(i=n.n()).done;){var o=i.value;!Zm(e,o)&&Ps(e,o)&&hS(o)!=="none"&&(Jm(e,o)?r.push(o):a.push(o));}}catch(s){n.e(s);}finally{n.f();}return {fullyObscuringElms:r,partialObscuringElms:a}}function fS(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=Os(a,n);}catch{return null}return pS(i,r)}function pS(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 mS(e){return e.filter(function(t){return gr(t)==="widget"&&Dt(t)})}function Jm(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 hS(e){return e.getComputedStylePropertyValue("pointer-events")}function yo(e){return {width:Math.round(e.width*10)/10,height:Math.round(e.height*10)/10}}function Zm(e,t){return Lr(e,t)&&!sr(t)}function Mn(e){return e.map(function(t){var r=t.actualNode;return r})}var gS=.05;function vS(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(Vi(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=lf(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=bS(u)*2,!(u+gS>=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 bS(e){return Math.round(e*10)/10}function yS(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,m){var y=m.trim();if(!y)return d;var C=y.split("="),k=le(C,2),I=k[0],L=k[1];if(!I||!L)return d;var O=I.toLowerCase().trim(),q=L.toLowerCase().trim();return O==="maximum-scale"&&q==="yes"&&(q=1),O==="maximum-scale"&&parseFloat(q)<0||(d[O]=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 wS=yS;function xS(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=[],m=I(o),y=function(){var ue=k[C],pe=m[ue],ge=pe.root,Se=pe.rules,Me=Se.filter(L);if(!Me.length)return 1;Me.forEach(function(xe){var Re=xe.cssRules;Array.from(Re).forEach(function(de){var Ee=O(de);if(Ee&&de.selectorText.toUpperCase()!=="HTML"){var G=Array.from(ge.querySelectorAll(de.selectorText))||[];d=d.concat(G);}c=c||Ee;});});},C=0,k=Object.keys(m);C<k.length;C++)y();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,Me=pe.shadowId,xe=Me||"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 L(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 O(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),Me=B("rotate",pe.rotate),xe=Se+Me;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],Me=ge[3];return parseInt(Se)===0?void 0:V(Me);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],Me=Math.atan2(parseFloat(Se),parseFloat(ge));return Q(Me)}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 DS=xS;function _S(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),m=d[1],y=m.split(",");return y.map(function(C){return /:/.test(C)?l(C):parseFloat(C)})}}function l(u){for(var c=u.split(":"),d=0,m=1;c.length>0;)d+=m*parseInt(c.pop(),10),m*=60;return parseFloat(d)}}var AS=_S;function ES(e,t){return t.isViolation?false:void 0}var CS=ES,Qm=" > ";function SS(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(Qm);return t[n]=r,true}var i=r.node.ancestry.slice(0,r.node.ancestry.length-1).flat(1/0).join(Qm);return t[i]&&(t[i].result=true),false})}var kS=SS;function TS(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 FS=TS;function RS(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 IS=RS;function LS(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",m=Ve(u),y=m==="listitem";!d&&!y&&o.push(c),d&&!y&&(s.push(c),l.includes(m)||l.push(m)),y&&(n=true);}}),a||o.length?(this.relatedNodes(o),true):i||n?false:(this.relatedNodes(s),this.data({messageKey:"roleNotValid",roles:l.join(", ")}),true)}var PS=LS;function OS(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 MS(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&&Dn(i)?(this.data({messageKey:"roleNotValid"}),false):["ul","ol","menu"].includes(n)}}function NS(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=e1(r.children);i.length;){var o,s=i.shift(),l=s.vChild,u=s.nested;if(t.divGroups&&!u&&BS(l)){if(!l.children)return;var c=e1(l.children,true);i.push.apply(i,_e(c));continue}var d=qS(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 qS(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 m=We(e);return m?n.includes(m)?false:d+"[role=".concat(m,"]"):o.includes(l)?false:d+l}function BS(e){return e.props.nodeName==="div"&&We(e)===null}function e1(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:false;return e.map(function(r){return {vChild:r,nested:t}})}function HS(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 VS=HS;function jS(e,t,r){var a=ba(r.attr("lang")),n=ba(r.attr("xml:lang"));return a===n}var $S=jS;function zS(e,t,r){var a=[];return t.attributes.forEach(function(n){var i=r.attr(n);if(typeof i=="string"){var o=ba(i),s=t.value?!t.value.map(ba).includes(o):!co(o);(o!==""&&s||i!==""&&!Pe(i))&&a.push(n+'="'+r.attr(n)+'"');}}),!a.length||r.props.nodeName!=="html"&&!ol(r)?false:(this.data(a),true)}var GS=zS;function Ul(e){return (e||"").trim()!==""}function WS(e,t,r){var a=typeof v<"u"?sn(v):false;if(t.attributes.includes("xml:lang")&&t.attributes.includes("lang")&&Ul(r.attr("xml:lang"))&&!Ul(r.attr("lang"))&&!a)return this.data({messageKey:"noXHTML"}),false;var n=t.attributes.some(function(i){return Ul(r.attr(i))});return n?true:(this.data({messageKey:"noLang"}),false)}var US=WS;function XS(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 YS=XS;function KS(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 JS=KS;function ZS(e,t,r){var a=Xi(r),n=Gi(r),i=r.attr("aria-describedby");return !a&&!!(n||i)}var QS=ZS;function ek(e){var t=vt(e.getAttribute("id")),r=e.parentNode,a=Ot(e);a=a.documentElement||a;var n=Array.from(a.querySelectorAll('label[for="'.concat(t,'"]')));for(n.length&&(n=n.filter(function(s){return !Kr(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 tk=ek;function rk(e,t){var r=t1(t),a=t1(e);return !r||!a?false:r.includes(a)}function t1(e){var t=En(e,{emoji:true,nonBmp:true,punctuations:true});return Pe(t)}function ak(e,t,r){var a,n=t?.pixelThreshold,i=(a=t?.occurrenceThreshold)!==null&&a!==void 0?a:t?.occuranceThreshold,o=pa(e).toLowerCase(),s=Pe(Qr(r,{subtreeDescendant:true,ignoreIconLigature:true,pixelThreshold:n,occurrenceThreshold:i})).toLowerCase();if(!s)return true;if(!(rl(o)<1||rl(s)<1))return rk(s,o)}var nk=ak;function ik(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 ok=ik;function sk(e,t,r){if(r.hasAttr("id")){if(!r.actualNode)return;var a=Ot(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 lk=sk;function uk(e,t,r){var a=Xi(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?pa(o):""}).join("");}return Pe(n)===Pe(a)}var ck=uk;function dk(e,t,r){var a=this;if(!r.attr("id"))return false;if(r.actualNode){var n=Ot(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(pa(s,{inControlContext:!0,startNode:r}));return a.data({explicitLabel:l}),!!l}else return !0})}catch{return}}}var fk=dk;function pk(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 mk=pk;function hk(e,t,r){var a=r.attr("alt"),n=/^\s+$/;return typeof a=="string"&&n.test(a)}var gk=hk;function vk(e,t,r){var a=Cr(r.attr("tabindex"));return a===null||a<=0}var bk=vk;function yk(e,t,r){if(r.children)try{var a=r1(r);if(!a.length)return !0;var n=a.filter(wk);return n.length>0?(this.data({messageKey:"notHidden"}),this.relatedNodes(n)):this.relatedNodes(a),!1}catch{return}}function r1(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(r1(r)));}),t}function wk(e){var t=Cr(e.attr("tabindex"));return t!==null&&t<0}function xk(e){var t=Pa("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 Dk=xk;function _k(e,t,r){if(r.children)try{return !r.children.some(function(a){return a1(a)})}catch{return}}function a1(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 a1(t)})}function Ak(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||Sn()?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 Ek=Ak;function Ck(e,t,r){if(!sr(r))return false;try{return !It(r)}catch{return}}var Sk=Ck;function kk(e,t,r){var a=r.tabbableElements.map(function(n){var i=n.actualNode;return i});if(!a||!a.length)return true;if(Sn()){this.relatedNodes(a);return}return true}var Tk=kk;function Fk(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 Rk=Fk;function Ik(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||Sn()?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 Lk=Ik;function Pk(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 Ok=Pk;function Mk(e,t,r){return Kr(r)||(this.data(r.attr("accesskey")),this.relatedNodes([e])),true}var Nk=Mk;function qk(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 Bk=qk;function Hk(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(f._tree[0],t.selector,function(i){return pt(i)});return typeof t.nativeScopeFilter=="string"&&(n=n.filter(function(i){return i.actualNode.hasAttribute("role")||!ka(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 Vk=Hk;function jk(e){return e.filter(function(t){return t.data!=="ignored"})}var $k=jk;function zk(e,t,r){return _n(r,t.matcher)}var Gk=zk;function Wk(e,t,r){try{return Pe(Qr(r))!==""}catch{return}}function Uk(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&&Sn())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 Xk=Uk;function Yk(e){var t=e.some(function(r){return r.result===true});return t&&e.forEach(function(r){r.result=true;}),e}var Kk=Yk;function Jk(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 Zk=Jk;function Qk(e,t,r){var a=r.attr("autocomplete")||"";return up(a,t)}var eT=Qk;function tT(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(ha.stateTerms.includes(l))return true;var u=i[l],c=r.hasAttr("type")?Pe(r.attr("type")).toLowerCase():"text";return c=uo().includes(c)?c:"text",typeof u>"u"?c==="text":u.includes(c)}var rT=tT,aT=["block","list-item","table","flex","grid","inline-block"];function nT(e){if(n1(e))return false;for(var t=Rt(e);t&&t.nodeType===1&&!n1(t);)t=Rt(t);if(t){if(this.relatedNodes([t]),Mm(e,t))return true;if(iT(e)){this.data({messageKey:"pseudoContent"});return}return false}}function n1(e){var t=p.getComputedStyle(e).getPropertyValue("display");return aT.indexOf(t)!==-1||t.substr(0,6)==="table-"}function iT(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 i1(e,t){var r=e.getRelativeLuminance(),a=t.getRelativeLuminance();return (Math.max(r,a)+.05)/(Math.min(r,a)+.05)}var oT=["block","list-item","table","flex","grid","inline-block"];function o1(e){var t=p.getComputedStyle(e).getPropertyValue("display");return oT.indexOf(t)!==-1||t.substr(0,6)==="table-"}function sT(e,t){var r=t.requiredContrastRatio,a=t.allowSameColor;if(o1(e))return false;for(var n=Rt(e);n&&n.nodeType===1&&!o1(n);)n=Rt(n);if(n){this.relatedNodes([n]);var i=bo(e),o=bo(n),s=Pn(e),l=Pn(n),u=i&&o?i1(i,o):void 0;if(u&&(u=Math.floor(u*100)/100),u&&u>=r)return true;var c=s&&l?i1(s,l):void 0;if(c&&(c=Math.floor(c*100)/100),c&&c>=r)return true;if(!c){var d,m=(d=ct.get("bgColor"))!==null&&d!==void 0?d:"bgContrast";this.data({messageKey:m}),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 lT=sT;function uT(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 m=Ar(r,false,true);if(a&&dT(m)){this.data({messageKey:"nonBmp"});return}var y=p.getComputedStyle(e),C=parseFloat(y.getPropertyValue("font-size")),k=y.getPropertyValue("font-weight"),I=parseFloat(k)>=o||k==="bold",L=Math.ceil(C*72)/96,O=I&&L<s||!I&&L<l,q=O?u.normal:u.large,B=q.expected,V=q.minThreshold,X=q.maxThreshold,Q=cT(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=vo(e,{minRatio:.001,maxRatio:c});if(ne===null){this.data({messageKey:"complexTextShadows"});return}var he=[],ee=Pn(e,he,c),ue=bo(e,false,ee,t),pe=null,ge=null,Se=null;if(ne.length===0)pe=Oa(ee,ue);else if(ue&&ee){Se=[].concat(_e(ne),[ee]).reduce($l);var Me=Oa(ee,ue),xe=Oa(ee,Se),Re=Oa(Se,ue);pe=Math.max(Me,xe,Re),pe!==Me&&(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=m.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 cT(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=s1(e.actualNode,":before"),u=s1(e.actualNode,":after");if(l+u>s)return e}while(e=e.parent)}}var s1=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||ga(a).alpha===0&&n("background-image","none"))return 0;var i=l1(a.getPropertyValue("width")),o=l1(a.getPropertyValue("height"));return i.unit!=="px"||o.unit!=="px"?i.value===0||o.value===0?0:1/0:i.value*o.value});function dT(e){var t={nonBmp:true},r=el(e,t),a=Pe(En(e,t))==="";return r&&a}function l1(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 fT={ARTICLE:true,ASIDE:true,NAV:true,SECTION:true},pT={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 mT(e){var t=e.nodeName.toUpperCase();return fT[t]||false}function hT(e,t){var r=We(e);return r&&(pT[r]||t.roles.includes(r))||false}function gT(e,t){return hT(e,t)||mT(e)}var vT=gT;function bT(e,t,r){var a=Ve(r,{dpub:true,fallback:true}),n=zs(a);return n&&this.data(a),n}var yT=bT;function wT(e,t,r){var a=Ve(r,{noImplicit:true});this.data(a);var n,i;try{n=Pe(Zs(r)).toLowerCase(),i=Pe(It(r)).toLowerCase();}catch{return}if(!i&&!n)return false;if(!(!i&&n)&&i.includes(n))return false}var xT=wT;function DT(e,t,r){return Dt(r)}var _T=DT;function AT(e,t,r){var a=Ht(r.attr("role")),n=a.every(function(i){return !Dn(i.toLowerCase(),{allowAbstract:true})});return n?(this.data(a),true):false}var ET=AT;function CT(e,t,r){var a=We(r);if(a===null)return false;var n=gr(a);return n==="widget"||n==="composite"}var ST=CT;function kT(e,t,r){var a=Jr().filter(function(n){return r.hasAttr(n)});return this.data(a),a.length>0}var TT=kT;function FT(e,t){var r=_r(e);return !r&&t.length===2&&t.includes("none")&&t.includes("presentation")}function RT(e,t,r){var a=Ht(r.attr("role"));return a.length<=1?false:FT(r,a)?void 0:true}var IT=RT;function LT(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 PT(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 OT(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 MT(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=f._tree&&f._tree[0]._hasShadowRoot?"noIdShadow":"noId");},"aria-labelledby":function(c){c||(a='aria-labelledby="'.concat(r.attr("aria-labelledby"),'"'),n=f._tree&&f._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=Cm(r,u);}catch{a="".concat(u,'="').concat(d,'"'),n="idrefs";return}(!l[u]||l[u](c))&&!c&&(d===""&&!NT(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 NT(e){var t;return ((t=et.ariaAttrs[e])===null||t===void 0?void 0:t.type)==="string"}function qT(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)&&!ho(i)&&a.push(i);}),a.length?(this.data(a),false):true}var BT=qT;function HT(e,t,r){var a=r.attrNames.filter(function(n){var i=et.ariaAttrs[n];if(!ho(n))return false;var o=i.unsupported;return ae(o)!=="object"?!!o:!_n(e,o.exceptions)});return a.length?(this.data(a),true):false}var VT=HT;function jT(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 $T=jT;function u1(e,t,r,a){var n=We(e);if(r||(r=ql(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 zT(e){for(var t=[],r=null;e;){if(e.getAttribute("id")){var a=vt(e.getAttribute("id")),n=Ot(e);r=n.querySelector("[aria-owns~=".concat(a,"]")),r&&t.push(r);}e=e.parentElement;}return t.length?t:null}function GT(e,t,r){var a=t&&Array.isArray(t.ownGroupRoles)?t.ownGroupRoles:[],n=u1(r,a);if(!n)return true;var i=zT(e);if(i){for(var o=0,s=i.length;o<s;o++)if(n=u1(je(i[o]),a,n,true),!n)return true}return this.data(n),false}var WT=GT;function UT(e,t,r){var a=t&&Array.isArray(t.reviewEmpty)?t.reviewEmpty:[],n=We(r,{dpub:true}),i=Bl(n);if(i===null)return true;var o=XT(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 JT(c,d)}).filter(function(u,c,d){return d.indexOf(u)===c}).join(", ")}),false}if(YT(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(ZT)))return false}function XT(e,t){for(var r,a=[],n=An(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=KT(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 YT(e,t){return t.some(function(r){var a=r.role;return a&&e.includes(a)})}function KT(e){return Jr().find(function(t){return e.hasAttr(t)})}function JT(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 ZT(e){var t=e.vNode;return t.props.nodeType===3?t.props.nodeValue.trim().length>0:Cn(t,false,true)}function QT(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=Em(n);if(Array.isArray(r[n])&&(o=Fn(r[n],o)),!n||!i.length||!o.length||e5(a,n)||r5(a,n)||n==="slider"&&(t=a.attr("aria-valuetext"))!==null&&t!==void 0&&t.trim())return true;var s=Zr(a),l=o.filter(function(u){return !a.attr(u)&&!t5(s,u)});return l.length?(this.data(l),false):true}function e5(e,t){return t==="separator"&&!Dt(e)}function t5(e,t){var r;return ((r=e.implicitAttrs)===null||r===void 0?void 0:r[t])!==void 0}function r5(e,t){return t==="combobox"&&e.attr("aria-expanded")==="false"}function a5(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=n5(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=Qr(r,{subtreeDescendant:true});if(Pe(u)==="")return true}function n5(e,t,r,a){var n=et.ariaRoles[t];return n?n.prohibitedAttrs||[]:t||a.includes(r)||c1(e)==="widget"?[]:["aria-label","aria-labelledby"]}var c1=ut(function(t){if(t){var r=Ve(t,{noPresentational:true,chromium:true});return r?gr(r):c1(t.parent)}});function i5(e,t,r){var a=r.attr("aria-level"),n=parseInt(a,10);if(!(n>6))return true}var o5=i5;function s5(e,t,r){return r.attr("aria-hidden")!=="true"}var l5=s5;function u5(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(m){return d.includes(m)})}}return t.indexOf(a)===-1&&n?(this.data(Ht(a)),s.call(this,a)):true}function d1(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=c5(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 c5(e){if(e.parent){var t='table:not([role]), [role~="treegrid"], [role~="table"], [role~="grid"]';return Xt(e,t)}}function f1(e,t,r){var a=r.props,n=a.nodeName,i=a.type,o=f5(r.attr("aria-checked"));if(n!=="input"||i!=="checkbox"||!o)return true;var s=d5(r);return o===s?true:(this.data({messageKey:"checkbox",checkState:s}),false)}function d5(e){return e.props.indeterminate?"mixed":e.props.checked?"true":"false"}function f5(e){return e?(e=e.toLowerCase(),["mixed","true"].includes(e)?e:"false"):""}var p1={row:d1,checkbox:f1};function p5(e,t,r){var a=Ve(r);return p1[a]?p1[a].call(this,e,t,r):true}function m5(e,t,r){return r.attr("aria-busy")==="true"}function h5(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=wm(r,n);return l.length?(this.data(l),pt(r)?false:void 0):true}var g5=h5;function v5(e,t,r){var a=[],n=Ve(r),i=vm(n);Array.isArray(t[n])&&(i=Fn(t[n].concat(i)));var o=Ge(r.attrNames),s;try{for(o.s();!(s=o.n()).done;){var l=s.value;ho(l)&&!i.includes(l)&&!b5(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&&!_l(r)&&!Dt(r)))return false}function b5(e,t,r){return !!(e==="aria-required"&&t==="false"||e==="aria-multiline"&&t==="false"&&r.hasAttr("contenteditable"))}function y5(e,t,r){var a=Zr(r);if(!a.allowedAriaAttrs)return true;var n=We(r);if(n)return true;var i=a.allowedAriaAttrs,o=Jr(),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(m){l.e(m);}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(m){return m+'="'+r.attr(m)+'"'}).join(", ")}),false}function w5(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 x5=w5;function D5(e){var t=ba(e.getAttribute("lang")),r=ba(e.getAttribute("xml:lang"));return co(t)&&co(r)}var _5=D5;function A5(e){return e.ownerDocument.defaultView.self===e.ownerDocument.defaultView.top}var E5=A5;function C5(e,t){try{var r=t.props.nodeName;return r==="svg"?!0:!!Xt(t,"svg")}catch{return false}}var Xl=C5;function S5(e,t){return k5.every(function(r){return r(e,t)})}var k5=[function(e,t){return m1(t)},function(e,t){return T5(t)},function(e,t){return !Xl(e,t)},function(e,t){return Dt(t)},function(e,t){return sr(t)||!F5(t)},function(e){return !sl(e,{noLengthCompare:true,includeInlineBlock:true})}];function m1(e){return gr(e)==="widget"}function T5(e){return e.props.nodeName!=="area"}var F5=ut(function e(t){return t!=null&&t.parent?m1(t.parent)&&sr(t.parent)?true:e(t.parent):false});function R5(e,t){var r=Ve(t);return ["treegrid","grid","table"].includes(r)}function I5(e,t){var r=t.parent;if(r.props.nodeName!=="details"||L5(t))return false;var a=r.children.find(function(n){return n.props.nodeName==="summary"});return a===t}function L5(e){var t,r=(t=e.actualNode)===null||t===void 0?void 0:t.parentElement;return r&&r!==e.parent.actualNode}function P5(e){return cl(e)&&Mi(e)}var O5=P5;function M5(e,t){return Mr(e,13)!==void 0&&Nl(t)===false&&N5(t)}function N5(e){var t=e.boundingClientRect;return Zt(e,"*").some(function(r){if(!Cn(r,true,true))return false;var a=[];if(Yi(r)){var n;(n=a).push.apply(n,_e(q5(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 q5(e){var t=v.createRange();return t.selectNodeContents(e.actualNode),Array.from(t.getClientRects())}function B5(e,t){return _r(t,{chromiumRoles:true})!==null}var H5=B5;function V5(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 j5=V5;function $5(e,t){var r=We(t);if(!r||["none","presentation"].includes(r))return true;var a=Sf[r]||{},n=a.accessibleNameRequired;return !!(n||Dt(t))}var h1=$5,z5=function(t,r){return [h1,G5].every(function(a){return a(t,r)})};function G5(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 W5(e,t){return t.props.nodeName!=="html"}var U5=W5;function X5(e,t){return !t.attr("role")}var Y5=X5;function K5(e,t){var r=Cr(t.attr("tabindex"));return r===null||r>=0}var J5=K5;function Z5(e,t){var r=Zr(t),a=r.namingMethods;return !(a&&a.length!==0||We(t)==="combobox"&&Zt(t,'input:not([type="hidden"])').length||Nl(t,{popupRoles:["listbox"]}))}var Q5=Z5;function eF(e,t){return !(!t.hasAttr("role")||!t.attr("role").trim())}var tF=eF;function rF(e){return !(!e.currentSrc||e.hasAttribute("paused")||e.hasAttribute("muted"))}var aF=rF;function nF(e,t){var r=Ve(t);return r?!!et.ariaRoles[r].childrenPresentational:false}var iF=nF;function oF(e){var t=Pe(e.innerText),r=We(e);return r&&r!=="link"||!t||!Yt(e)?false:sl(e)}var sF=oF;function lF(e){return !po(e)&&!Dt(e)}var uF=lF;function cF(e,t){return dF(t)&&pt(t)}function dF(e){var t=Pa("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 fF(e,t){var r="article, aside, main, nav, section";return e.hasAttribute("role")||!ka(t,r)}var pF=fF;function mF(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 hF=mF;function gF(e,t){var r=Ve(e);if(!r)return false;var a=Pa("widget"),n=a.includes(r);if(!n)return false;var i=Ml();return !(!i.includes(r)||!Pe(xn(t))&&!Pe(wn(e))||!Pe(Ar(t)))}var vF=gF;function bF(e,t){return Yt(t)}function yF(e){return Yt(e)}function wF(e,t,r){return r.initiator}var g1=wF;function xF(e){return mp(e)}var DF=xF;function _F(e,t){var r=!!It(t);if(!r)return false;var a=Ve(e);return !(a&&a!=="link")}var AF=_F;function EF(e,t){return !Xl(e,t)}var CF=EF;function SF(e,t){return Ve(t)==="heading"}function kF(e,t){return _r(t,{chromium:true})!==null}var TF=kF;function FF(e){var t=e.getAttribute("title");return !!Pe(t)}var RF=FF;function IF(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 LF=IF;function PF(e){var t=e.getAttribute("id").trim(),r='*[id="'.concat(vt(t),'"]'),a=Array.from(Ot(e).querySelectorAll(r));return !mo(e)&&a.every(function(n){return !Dt(n)})}var OF=PF;function MF(e){return mo(e)}var NF=MF;function qF(e){var t=e.getAttribute("id").trim(),r='*[id="'.concat(vt(t),'"]'),a=Array.from(Ot(e).querySelectorAll(r));return !mo(e)&&a.some(Dt)}var BF=qF;function HF(e){return po(e)}var VF=HF;function jF(e){if(po(e)){var t=Or(e);return t.length>=3&&t[0].length>=3&&t[1].length>=3&&t[2].length>=3}return false}var $F=jF;function zF(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)||On(t)||ji(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},!dl(u,e))return false}return true}var c=ka(t,"label");if(a==="label"||c){var d=c||e,m=c?je(c):t;if(d.htmlFor){var y=Ot(d),C=y.getElementById(d.htmlFor),k=C&&je(C);if(k&&On(k))return false}var I='input:not([type="hidden"],[type="image"],[type="button"],[type="submit"],[type="reset"]), select, textarea',L=Zt(m,I)[0];if(L&&On(L))return false}for(var O=[],q=t;q;){if(q.props.id){var B=Ol(q).filter(function(ue){return Ht(ue.getAttribute("aria-labelledby")||"").includes(q.props.id)}).map(function(ue){return je(ue)});O.push.apply(O,_e(B));}q=q.parent;}if(O.length>0&&O.every(On)||!UF(t)||!parseFloat(t.getComputedStylePropertyValue("font-size")))return false;for(var V=v.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=gn(t);return he.some(function(ue){var pe=dl(ue,e);if(!ee.length)return pe;var ge=ee.some(function(Se){return Ts(ue,Se.boundingClientRect)});return pe&&ge})}var GF=zF,WF={emoji:true,nonBmp:false,punctuations:true};function UF(e){var t=Ar(e,false,true);return t===""||En(t,WF)===""?false:e.children.some(function(r){return r.props.nodeName==="#text"&&!tl(r)})}function XF(e,t,r){return g1(e,t,r)?!!e.querySelector("a[href]"):true}var YF=XF;function KF(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 JF=KF;function ZF(e,t){var r=We(t);return !!ql(r)}var QF=ZF;function eR(e,t){var r=We(t,{dpub:true});return !!Bl(r)}var tR=eR;function v1(e){return e?e.getAttribute("aria-hidden")==="true"?false:v1(Rt(e)):true}function rR(e){return v1(Rt(e))}var aR=rR;function nR(e,t){var r=/^aria-/;return t.attrNames.some(function(a){return r.test(a)})}var iR=nR;function oR(e,t){return We(t,{dpub:true,fallback:true})!==null}var sR=oR;function lR(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 uR=lR,cR={"abstractrole-evaluate":x5,"accesskeys-after":Bk,"accesskeys-evaluate":Nk,"alt-space-value-evaluate":gk,"aria-allowed-attr-elm-evaluate":y5,"aria-allowed-attr-evaluate":v5,"aria-allowed-attr-matches":uR,"aria-allowed-role-evaluate":g5,"aria-allowed-role-matches":sR,"aria-busy-evaluate":m5,"aria-conditional-attr-evaluate":p5,"aria-conditional-checkbox-attr-evaluate":f1,"aria-conditional-row-attr-evaluate":d1,"aria-errormessage-evaluate":u5,"aria-has-attr-matches":iR,"aria-hidden-body-evaluate":l5,"aria-hidden-focus-matches":aR,"aria-label-evaluate":XE,"aria-labelledby-evaluate":WE,"aria-level-evaluate":o5,"aria-prohibited-attr-evaluate":a5,"aria-required-attr-evaluate":QT,"aria-required-children-evaluate":UT,"aria-required-children-matches":tR,"aria-required-parent-evaluate":WT,"aria-required-parent-matches":QF,"aria-roledescription-evaluate":$T,"aria-unsupported-attr-evaluate":VT,"aria-valid-attr-evaluate":BT,"aria-valid-attr-value-evaluate":MT,"attr-non-space-content-evaluate":Zk,"autocomplete-appropriate-evaluate":rT,"autocomplete-matches":JF,"autocomplete-valid-evaluate":eT,"avoid-inline-spacing-evaluate":zE,"braille-label-equivalent-evaluate":OT,"braille-roledescription-equivalent-evaluate":PT,"bypass-matches":YF,"caption-evaluate":FS,"caption-faked-evaluate":SE,"color-contrast-evaluate":uT,"color-contrast-matches":GF,"css-orientation-lock-evaluate":DS,"data-table-large-matches":$F,"data-table-matches":VF,"deprecatedrole-evaluate":LT,"dlitem-evaluate":VS,"doc-has-title-evaluate":jE,"duplicate-id-active-matches":BF,"duplicate-id-after":ZE,"duplicate-id-aria-matches":NF,"duplicate-id-evaluate":KE,"duplicate-id-misc-matches":OF,"duplicate-img-label-evaluate":mk,"exists-evaluate":HE,"explicit-evaluate":fk,"fallbackrole-evaluate":IT,"focusable-content-evaluate":Ok,"focusable-disabled-evaluate":Lk,"focusable-element-evaluate":Rk,"focusable-modal-open-evaluate":Tk,"focusable-no-name-evaluate":Sk,"focusable-not-tabbable-evaluate":Ek,"frame-focusable-content-evaluate":_k,"frame-focusable-content-matches":LF,"frame-tested-after":kS,"frame-tested-evaluate":CS,"frame-title-has-text-matches":RF,"has-alt-evaluate":qE,"has-descendant-after":Kk,"has-descendant-evaluate":Xk,"has-global-aria-attribute-evaluate":TT,"has-implicit-chromium-role-matches":TF,"has-lang-evaluate":US,"has-text-content-evaluate":Wk,"has-widget-role-evaluate":ST,"heading-matches":SF,"heading-order-after":aS,"heading-order-evaluate":rS,"help-same-as-label-evaluate":ck,"hidden-content-evaluate":OA,"hidden-explicit-label-evaluate":lk,"html-namespace-matches":CF,"html5-scope-evaluate":EE,"identical-links-same-purpose-after":QC,"identical-links-same-purpose-evaluate":JC,"identical-links-same-purpose-matches":AF,"implicit-evaluate":ok,"inline-style-property-evaluate":OE,"inserted-into-focus-order-matches":DF,"internal-link-present-evaluate":wC,"invalid-children-evaluate":NS,"invalidrole-evaluate":ET,"is-element-focusable-evaluate":_T,"is-initiator-matches":g1,"is-on-screen-evaluate":PE,"is-visible-matches":yF,"is-visible-on-screen-matches":bF,"label-content-name-mismatch-evaluate":nk,"label-content-name-mismatch-matches":vF,"label-matches":hF,"landmark-has-body-context-matches":pF,"landmark-is-top-level-evaluate":Dk,"landmark-is-unique-after":JS,"landmark-is-unique-evaluate":YS,"landmark-unique-matches":cF,"layout-table-matches":uF,"link-in-text-block-evaluate":lT,"link-in-text-block-matches":sF,"link-in-text-block-style-evaluate":nT,"listitem-evaluate":MS,"matches-definition-evaluate":Gk,"meta-refresh-evaluate":bC,"meta-viewport-scale-evaluate":wS,"multiple-label-evaluate":tk,"nested-interactive-matches":iF,"no-autoplay-audio-evaluate":AS,"no-autoplay-audio-matches":aF,"no-empty-role-matches":tF,"no-explicit-name-required-matches":h1,"no-focusable-content-evaluate":yk,"no-implicit-explicit-label-evaluate":xT,"no-naming-method-matches":Q5,"no-negative-tabindex-matches":J5,"no-role-matches":Y5,"non-empty-if-present-evaluate":IE,"not-html-matches":U5,"object-is-loaded-matches":z5,"only-dlitems-evaluate":OS,"only-listitems-evaluate":PS,"p-as-heading-evaluate":hC,"p-as-heading-matches":j5,"page-no-duplicate-after":$k,"page-no-duplicate-evaluate":Vk,"presentation-role-conflict-matches":H5,"presentational-role-evaluate":FE,"region-after":dC,"region-evaluate":oC,"same-caption-summary-evaluate":xE,"scope-value-evaluate":wE,"scrollable-region-focusable-matches":M5,"skip-link-evaluate":nC,"skip-link-matches":O5,"structured-dlitems-evaluate":IS,"summary-interactive-matches":I5,"svg-namespace-matches":Xl,"svg-non-empty-title-evaluate":TE,"tabindex-evaluate":bk,"table-or-grid-role-matches":R5,"target-offset-evaluate":vS,"target-size-evaluate":uS,"td-has-header-evaluate":bE,"td-headers-attr-evaluate":gE,"th-has-data-cells-evaluate":hE,"title-only-evaluate":QS,"unique-frame-title-after":rC,"unique-frame-title-evaluate":eC,"unsupportedrole-evaluate":yT,"valid-lang-evaluate":GS,"valid-scrollable-semantics-evaluate":vT,"widget-not-inline-matches":S5,"window-is-top-matches":E5,"xml-lang-mismatch-evaluate":$S,"xml-lang-mismatch-matches":_5},wo=cR;function dR(e){this.id=e.id,this.data=null,this.relatedNodes=[],this.result=null;}var Yl=dR;function Kl(e){if(typeof e=="string"){if(wo[e])return wo[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 b1(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return (Array.isArray(e)||ae(e)!=="object")&&(e={value:e}),e}function Ma(e){e&&(this.id=e.id,this.configure(e));}Ma.prototype.enabled=true,Ma.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 Yl(this),u=ps(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);},Ma.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 Yl(this),u=ps(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},Ma.prototype.configure=function(t){var r=this;(!t.evaluate||wo[t.evaluate])&&(this._internalCheck=true),t.hasOwnProperty("enabled")&&(this.enabled=t.enabled),t.hasOwnProperty("options")&&(this._internalCheck?this.options=b1(t.options):this.options=t.options),["evaluate","after"].filter(function(a){return t.hasOwnProperty(a)}).forEach(function(a){return r[a]=Kl(t[a])});},Ma.prototype.getOptions=function(t){return this._internalCheck?Cs(this.options,b1(t||{})):t||this.options};var y1=Ma;function fR(e){this.id=e.id,this.result=He.NA,this.pageLevel=e.pageLevel,this.impact=null,this.nodes=[];}var xo=fR;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=Kl(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=Tl(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=ro(c,s.id,a);l.defer(function(m,y){c.run(r,d,n,m,function(C){y(new lo({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=ro(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 xo(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 m=xr();["any","all","none"].forEach(function(y){m.defer(function(C,k){r.runChecks(y,u,a,t,C,k);});}),m.then(function(y){var C=w1(y);C&&(C.node=new ir(u),s.nodes.push(C),r.reviewOnFail&&(["any","all"].forEach(function(k){C[k].forEach(function(I){I.result===false&&(I.result=void 0);});}),C.none.forEach(function(k){k.result===true&&(k.result=void 0);}))),c();}).catch(function(y){return d(y)});});}),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 xo(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=w1(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){ca("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 w1(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 lo({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 pR(e){return Ri(e).map(function(t){var r=e._audit.checks[t.id||t];return r&&typeof r.after=="function"?r:null}).filter(Boolean)}function mR(e,t){var r=[];return e.forEach(function(a){var n=Ri(a);n.forEach(function(i){i.id===t&&(i.node=a.node,r.push(i));});}),r}function hR(e){return e.filter(function(t){return t.filtered!==true})}function gR(e){var t=["any","all","none"],r=e.nodes.filter(function(a){var n=0;return t.forEach(function(i){a[i]=hR(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=pR(this);return n.forEach(function(i){var o=mR(t.nodes,i.id),s=ro(i,a.id,r),l;try{l=i.after(o,s.options);}catch(c){var u;throw new lo({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,m=a.none.includes(c.id)&&c.result===true;(d||m)&&(c.result=void 0);}),o.forEach(function(c){delete c.node,l.indexOf(c)===-1&&(c.filtered=true);});}),t.nodes=gR(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=Kl(t.matches)),t.impact&&(Qe(He.impact.includes(t.impact),"Impact ".concat(t.impact," is not a valid impact")),this.impact=t.impact);};var Na=/\{\{.+?\}\}/g,vR=(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),m=0;m<d.length;m++){var y=d[m],C=this.data.rules[y],k=C.description,I=C.help;r.rules[y]={description:k,help:I};}for(var L=Object.keys(this.data.failureSummaries),O=0;O<L.length;O++){var q=L[O],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]=yR(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]=wR(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]=xR(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=DR(this.data.incompleteFallbackMessage,r.incompleteFallbackMessage)),r.lang&&(this.lang=r.lang);}},{key:"setAllowedOrigins",value:function(r){var a=D1();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=bR(this.defaultConfig);this.lang=r.lang||"en",this.reporter=r.reporter,this.commands={},this.rules=[],this.checks={},this.brand="axe",this.application="axeAPI",this.tagExclude=["experimental","deprecated"],this.noHtml=r.noHtml,this.allowedOrigins=r.allowedOrigins,_1(r.rules,this,"addRule"),_1(r.checks,this,"addCheck"),this.data={},this.data.checks=r.data&&r.data.checks||{},this.data.rules=r.data&&r.data.rules||{},this.data.failureSummaries=r.data&&r.data.failureSummaries||{},this.data.incompleteFallbackMessage=r.data&&r.data.incompleteFallbackMessage||"",this._constructHelpUrls();}},{key:"registerCommand",value:function(r){this.commands[r.id]=r.callback;}},{key:"addRule",value:function(r){r.metadata&&(this.data.rules[r.id]=r.metadata);var 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 y1(r);}},{key:"run",value:function(r,a,n,i){this.normalizeOptions(a),ir.setRunOptions(a),f._selectCache=[];var o=_R(this.rules,r,a),s=o.now,l=o.later,u=xr();s.forEach(function(m){u.defer(A1(m,r,a));});var c=xr();l.length&&c.defer(function(m){Yp(a).then(function(y){return m(y)}).catch(function(y){console.warn("Couldn't load preload assets: ",y),m(void 0);});});var d=xr();d.defer(u),d.defer(c),d.then(function(m){var y=m.pop();if(y&&y.length){var C=y[0];C&&(r=Te({},r,C));}var k=m[0];if(!l.length){f._selectCache=void 0,n(k.filter(function(L){return !!L}));return}var I=xr();l.forEach(function(L){var O=A1(L,r,a);I.defer(O);}),I.then(function(L){f._selectCache=void 0,n(k.concat(L).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=mn(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 E1(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&&f.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=(f.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===C1(a,i.id,n))&&(o.helpUrl=C1(r,i.id,n));});}},{key:"resetRulesAndChecks",value:function(){this._init(),this._resetLocale();}}])})(),x1=vR;function D1(){if(p.origin&&p.origin!=="null")return p.origin;if(p.location&&p.location.origin&&p.location.origin!=="null")return p.location.origin}function bR(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=D1();t.allowedOrigins=r?[r]:[];}return t.rules=t.rules||[],t.checks=t.checks||[],t.data=Te({checks:{},rules:{}},t.data),t}function _1(e,t,r){var a,n;for(a=0,n=e.length;a<n;a++)t[r](e[a]);}var yR=function(t,r){var a=r.pass,n=r.fail;return typeof a=="string"&&Na.test(a)&&(a=$r.default.compile(a)),typeof n=="string"&&Na.test(n)&&(n=$r.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}})},wR=function(t,r){var a=r.help,n=r.description;return typeof a=="string"&&Na.test(a)&&(a=$r.default.compile(a)),typeof n=="string"&&Na.test(n)&&(n=$r.default.compile(n)),Te({},t,{help:a||t.help,description:n||t.description})},xR=function(t,r){var a=r.failureMessage;return typeof a=="string"&&Na.test(a)&&(a=$r.default.compile(a)),Te({},t,{failureMessage:a||t.failureMessage})},DR=function(t,r){return typeof r=="string"&&Na.test(r)&&(r=$r.default.compile(r)),r||t};function _R(e,t,r){var a={now:[],later:[]},n=e.reduce(function(i,o){return em(o,t,r)?o.preload?(i.later.push(o),i):(i.now.push(o),i):i},a);return n}function A1(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(E1(e,i));});}}function E1(e,t){var r=t.errorNode,a=so(t),n=[{id:"error-occurred",result:void 0,data:a,relatedNodes:[]}],i=r||new ir(v.documentElement);return Object.assign(new xo(e),{error:a,result:He.CANTTELL,nodes:[{any:[],all:[],none:n,node:i}]})}function C1(e,t,r){var a=e.brand,n=e.application,i=e.lang;return He.helpUrlBase+a+"/"+(r||f.version.substring(0,f.version.lastIndexOf(".")))+"/"+t+"?application="+encodeURIComponent(n)+(i&&i!=="en"?"&lang="+encodeURIComponent(i):"")}function S1(e){var t=p&&"Node"in p&&"NodeList"in p,r=!!v;if(!(t&&r)){if(!e||!e.ownerDocument)throw new Error('Required "window" or "document" globals not defined and cannot be deduced from the context. Either set the globals before running or pass in a valid Element.');r||(Be.set("globalDocumentSet",true),v=e.ownerDocument),t||(Be.set("globalWindowSet",true),p=v.defaultView);}}function AR(){Be.get("globalDocumentSet")&&(Be.set("globalDocumentSet",false),v=null),Be.get("globalWindowSet")&&(Be.set("globalWindowSet",false),p=null);}function ER(){AR(),f._memoizedFns.forEach(function(e){return e.clear()}),Be.clear(),f._tree=void 0,f._selectorData=void 0,f._selectCache=void 0;}var ra=ER;function k1(e,t,r,a){try{e=new ao(e),f._tree=e.flatTree,f._selectorData=Ai(e.flatTree);}catch(o){return ra(),a(o)}var n=xr(),i=f._audit;t.performanceTimer&&rt.auditStart(),e.frames.length&&t.iframes!==false&&n.defer(function(o,s){Bd(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=Ii(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(oo),s=s.map(Xa));try{r(s,ra);}catch(l){ra(),ca(l);}}catch(l){ra(),a(l);}}).catch(function(o){ra(),a(o);});}function CR(e){f._audit=new x1(e);}function SR(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=[v]);var o=e&&e.options||{};switch(e.command){case "rules":return k1(i,o,function(s,l){s=or.mapRawResults(s),a(s),l();},n);case "cleanup-plugin":return um(a,n);default:if(f._audit&&f._audit.commands&&f._audit.commands[e.command])return f._audit.commands[e.command](e,r)}}p.top!==p&&(hr.subscribe("axe.start",SR),hr.subscribe("axe.ping",function(e,t,r){r({axe:true});}));function Nn(e){this._run=e.run,this._collect=e.collect,this._registry={},e.commands.forEach(function(t){f._audit.registerCommand(t);});}Nn.prototype.run=function(){return this._run.apply(this,arguments)},Nn.prototype.collect=function(){return this._collect.apply(this,arguments)},Nn.prototype.cleanup=function(t){var r=f.utils.queue(),a=this;Object.keys(this._registry).forEach(function(n){r.defer(function(i){a._registry[n].cleanup(i);});}),r.then(t);},Nn.prototype.add=function(t){this._registry[t.id]=t;};function kR(e){f.plugins[e.id]=new Nn(e);}var TR=kR;function FR(){var e=f._audit;if(!e)throw new Error("No audit configured");e.resetRulesAndChecks(),Yx();}var RR=FR;function IR(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};r.reporter=r.reporter||f._audit.reporter||"v1",f._selectorData={},t instanceof Ft||(t=new lm(t));var a=Op(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);oo(i),Xa(i);var o=Ku([i]);return o.violations.forEach(function(s){return s.nodes.forEach(function(l){l.failureSummary=vl(l);})}),Te({},ea(),o,{toolOptions:r})}function T1(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(!Bp(i)){if(s!==void 0)throw l;s=o,o=i,i=v;}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=f._audit)===null||a===void 0?void 0:a.reporter)!==null&&t!==void 0?t:"v1",{context:i,options:o,callback:s}}var Jl=function(){};function LR(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];S1(t[0]);var a=T1(t),n=a.context,i=a.options,o=a.callback,s=o===void 0?Jl:o,l=PR(s),u=l.thenable,c=l.resolve,d=l.reject;try{Qe(f._audit,"No audit configured"),Qe(!f._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 MR(C,s)}f._running=true,i.performanceTimer&&rt.start();function m(C,k){var I=function(q){i.performanceTimer&&(rt.mark("reporterEnd"),rt.measure("reporter","reporterStart","reporterEnd"),rt.logMeasures("reporter"),rt.end()),f._running=false,k();try{c(q);}catch(B){f.log(B);}},L=function(q){f._running=false,k();try{d(q);}catch(B){f.log(B);}};try{i.performanceTimer&&rt.mark("reporterStart"),OR(C,i,I,L);}catch(O){L(O);}}function y(C){i.performanceTimer&&rt.end(),f._running=false,s(C),d(C);}return f._runRules(n,i,m,y),u}function PR(e){var t,r,a;return typeof Promise=="function"&&e===Jl?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 OR(e,t,r,a){var n=Il(t.reporter),i=n(e,t,r,a);i!==void 0&&r(i);}function MR(e,t){if(typeof t=="function"&&t!==Jl){t(e.message);return}throw e}function NR(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var a=T1(t),n=a.options,i=a.context;Qe(f._audit,"Axe is not configured. Audit is missing."),Qe(!f._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 ao(i,f._tree);return f._tree=o.flatTree,f._selectorData=Ai(o.flatTree),f._running=true,n.elementRef=false,new Promise(function(s,l){f._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=ea()),f._running=false,ra(),{results:s,frames:l,environmentData:u}}).catch(function(s){return f._running=false,ra(),Promise.reject(s)})}function qR(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;f._audit.normalizeOptions(n),n.reporter=(t=(r=n.reporter)!==null&&r!==void 0?r:(a=f._audit)===null||a===void 0?void 0:a.reporter)!==null&&t!==void 0?t:"v1",BR(e);var s=Ii(e);return s=f._audit.after(s,n),s.forEach(oo),s=s.map(Xa),VR(s,Te({environmentData:o},n))}function BR(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=HR(n);t.unshift.apply(t,_e(o));}}}catch(s){r.e(s);}finally{r.f();}}function HR(e){var t=e.frames,r=e.frameSpec;return r?t.map(function(a){return or.mergeSpecs(a,r)}):t}function VR(e,t){return new Promise(function(r,a){var n=Il(t.reporter);n(e,t,r,a);})}function jR(e){if(f._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),S1(e),f._tree=hl(e),f._selectorData=Ai(f._tree),f._tree[0]}var $R=jR,zR=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({},ea(i),{toolOptions:o},Tn(t,r)));},GR=zR,WR=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=Tn(t,r),l=s.violations;a(Te({},ea(i),{toolOptions:o,violations:l}));},UR=WR,XR=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);},F1=XR,YR=function(t,r,a){typeof r=="function"&&(a=r,r={});var n=r,i=n.environmentData,o=Ce(n,j);F1(t,o,function(s){var l=ea(i);a({raw:s,env:l});});},KR=YR,JR=function(t,r,a){typeof r=="function"&&(a=r,r={});var n=r,i=n.environmentData,o=Ce(n,W),s=Tn(t,r),l=function(c){c.nodes.forEach(function(d){d.failureSummary=vl(d);});};s.incomplete.forEach(l),s.violations.forEach(l),a(Te({},ea(i),{toolOptions:o},s));},ZR=JR,QR=function(t,r,a){typeof r=="function"&&(a=r,r={});var n=r,i=n.environmentData,o=Ce(n,Z),s=Tn(t,r);a(Te({},ea(i),{toolOptions:o},s));},e3=QR,t3={base:{Audit:x1,CheckResult:Yl,Check:y1,Context:ao,RuleResult:xo,Rule:$t,metadataFunctionMap:wo},public:{reporters:Rn},helpers:{failureSummary:vl,incompleteFallbackMessage:bl,processAggregate:Tn},utils:{setDefaultFrameMessenger:Ld,cacheNodeSelectors:Sp,getNodesMatchingExpression:Ep,convertSelector:Ci},commons:{dom:{nativelyHidden:$d,displayHidden:zd,visibilityHidden:Gd,contentVisibiltyHidden:Wd,ariaHidden:Ud,opacityHidden:Xd,scrollHidden:Yd,overflowHidden:Kd,clipHidden:Jd,areaHidden:Fs,detailsHidden:Zd}}},r3=t3;f._thisWillBeDeletedDoNotUse=r3,f.constants=He,f.log=ca,f.AbstractVirtualNode=Ft,f.SerialVirtualNode=lm,f.VirtualNode=fl,f._cache=Be,f.imports=ec,f.cleanup=um,f.configure=FA,f.frameMessenger=RA,f.getRules=LA,f._load=CR,f.plugins={},f.registerPlugin=TR,f.hasReporter=dm,f.getReporter=Il,f.addReporter=kA,f.reset=RR,f._runRules=k1,f.runVirtualRule=IR,f.run=LR,f.setup=$R,f.teardown=ra,f.runPartial=NR,f.finishRun=qR,f.commons=Lm,f.utils=Bo,f.addReporter("na",GR),f.addReporter("no-passes",UR),f.addReporter("rawEnv",KR),f.addReporter("raw",F1),f.addReporter("v1",ZR),f.addReporter("v2",e3,true);}))(),f._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(`
|
|
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(`
|
|
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:Uh);});var ag={};Br(ag,{dismissModals:()=>$I});async function $I(h){await h.evaluate(p=>{for(let w of p){let v=document.querySelectorAll(w);for(let f of v)if(f.offsetParent!==null){f.click();return}}},jI),await new Promise(p=>setTimeout(p,500));}var jI,ng=qr(()=>{jI=['[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 Ao={};Br(Ao,{pruneHiddenIframeIssues:()=>UI,pruneInvisibleContrast:()=>WI,waitForRenderSettle:()=>zI});async function zI(h,p=4e3){let w=Date.now()+p;try{await h.waitForLoadState?.("load",{timeout:Math.min(p/2,2e3)});}catch{}let v="";for(;Date.now()<w;){let f;try{f=await h.evaluate(()=>{let x=typeof document.getAnimations=="function"?document.getAnimations():[],g=0;for(let D of x){if(D.playState!=="running")continue;let A;try{A=D.effect?.getComputedTiming?.().iterations;}catch{A=void 0;}A!==1/0&&g++;}let b="",_=document.body?document.body.querySelectorAll('[style*="opacity"]'):[],R=Math.min(_.length,50);for(let D=0;D<R;D++)b+=getComputedStyle(_[D]).opacity+",";return g+"|"+b});}catch{return}if(f.indexOf("0|")===0&&f===v)return;v=f,await new Promise(x=>setTimeout(x,150));}}function ig(h){return GI.has(h.wcag)||/contrast/i.test(h.type||"")}async function WI(h,p){let w=Array.from(new Set(p.filter(x=>ig(x)&&x.selector).map(x=>x.selector))).slice(0,100);if(w.length===0)return p;let v;try{v=await h.evaluate(x=>{let g=[];for(let b of x){let _=null;try{_=document.querySelector(b);}catch{continue}if(!_)continue;let R=getComputedStyle(_),D=_.getBoundingClientRect(),A=R.clipPath&&R.clipPath!=="none"&&/inset\(\s*(?:50|100)%/.test(R.clipPath)||/rect\(\s*0(?:px)?\s*,?\s*0(?:px)?\s*,?\s*0(?:px)?\s*,?\s*0(?:px)?\s*\)/.test(R.clip||""),T=D.width<=1||D.height<=1;(A||T)&&g.push(b);}return g},w);}catch{return p}if(v.length===0)return p;let f=new Set(v);return p.filter(x=>!(ig(x)&&f.has(x.selector)))}async function UI(h,p){let w=Array.from(new Set(p.filter(x=>x.selector).map(x=>x.selector))).slice(0,200);if(w.length===0)return p;let v;try{v=await h.evaluate(x=>{let g=[];for(let b of x){let _=null;try{_=document.querySelector(b);}catch{continue}if(!_||_.tagName!=="IFRAME")continue;let R=getComputedStyle(_),D=_.getClientRects().length===0||R.visibility==="hidden"||R.visibility==="collapse",A=(_.getAttribute("src")||"").trim().toLowerCase().indexOf("javascript:")===0;(D||A)&&g.push(b);}return g},w);}catch{return p}if(v.length===0)return p;let f=new Set(v);return p.filter(x=>!f.has(x.selector))}var GI,Eo=qr(()=>{GI=new Set(["1.4.3","1.4.6","1.4.11"]);});var ug={};Br(ug,{htmlcsTypeFromCode:()=>sg,runHtmlcs:()=>YI});async function YI(h,p="WCAG2AA"){try{await h.addScriptTag({content:`
|
|
377
|
+
window.__htmlcsLoaded = false;
|
|
378
|
+
window.__htmlcsResults = [];
|
|
379
|
+
`});try{let{UNIQUE_SELECTOR_JS:f}=await Promise.resolve().then(()=>(ru(),tu));await h.addScriptTag({content:`if(typeof __name==='undefined'){var __name=function(t,v){return t};var __defProp=Object.defineProperty;}
|
|
380
|
+
`+f});}catch{}let w=h;return w.addScriptTag&&await w.addScriptTag({url:XI}).catch(()=>{}),await new Promise(f=>setTimeout(f,1e3)),(await h.evaluate(f=>new Promise(x=>{let g=window;if(!g.HTMLCS){x([]);return}g.HTMLCS.process(f,document,()=>{let _=g.HTMLCS.getMessages().filter(R=>R.type===1).slice(0,50).map(R=>{let D="";try{if(R.element&&R.element.tagName){let A=R.element,T=window.uniqueSel;typeof T=="function"?D=T(A):D=A.className&&typeof A.className=="string"&&A.className.trim()?`${A.tagName.toLowerCase()}.${A.className.trim().split(/\s+/)[0]}`:A.tagName.toLowerCase();}}catch{}return {type:R.type,code:R.code||"",msg:R.msg||"",element:R.element?.outerHTML?.slice(0,150)||"",selector:D}});x(_);});}),p)).map((f,x)=>{let g=lg(f.code);return {id:`htmlcs-${x}-${KI(f.selector)}`,source:"webability",type:sg(f.code),wcag:g,level:"AA",impact:"moderate",message:f.msg.slice(0,200),selector:f.selector,html:f.element}})}catch{return []}}function sg(h){let p=lg(h);if(p&&og[p])return og[p];let w=h.split("."),v=w.findIndex(g=>/^\d+_\d+_\d+$/.test(g));return (v>=0?w.slice(v+1):w).join("_").toLowerCase().replace(/[^a-z0-9_]+/g,"_").replace(/^_+|_+$/g,"")||"htmlcs_rule"}function lg(h){let p=h.match(/Guideline(\d+)_(\d+)\.(\d+)_(\d+)_(\d+)/);if(p)return `${p[3]}.${p[4]}.${p[5]}`;let w=h.match(/(\d+)_(\d+)_(\d+)/);return w?`${w[1]}.${w[2]}.${w[3]}`:""}function KI(h){let p=0;for(let w=0;w<h.length;w++)p=(p<<5)-p+h.charCodeAt(w)|0;return Math.abs(p).toString(36)}var XI,og,cg=qr(()=>{XI="https://squizlabs.github.io/HTML_CodeSniffer/build/HTMLCS.js";og={"1.4.3":"contrast_insufficient"};});var uu={};Br(uu,{dedupeByElementIdentity:()=>QI,deduplicateIssues:()=>JI});function JI(h){let p=new Map,w=[...h].sort((v,f)=>{let x={webability:0,"axe-core":1,"deep-analysis":2},g=x[v.source]??3,b=x[f.source]??3;return g-b});for(let v of w){let f=ZI(v);p.has(f)?!p.get(f).fix?.suggestedValue&&v.fix?.suggestedValue&&p.set(f,v):p.set(f,v);}return Array.from(p.values())}function ZI(h){let p=h.selector.replace(/:focus-visible$/,"").replace(/:focus$/,"").replace(/\[data-[^\]]+\]/g,"").trim(),w=h.wcag||"";return p&&w?`${p}::${w}`:`${h.type}::${p||h.id}`}async function QI(h,p){if(p.length<2)return p;let w=Array.from(new Set(p.map(R=>R.selector).filter(Boolean))),v;try{v=await h.evaluate(R=>{let D=Array.from(document.querySelectorAll("*")),A=new Map;D.forEach((S,E)=>A.set(S,E));let T={};for(let S of R){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]=A.get(E));}return T},w);}catch{return p}let f={webability:0,"axe-core":1,"deep-analysis":2},x=[...p].sort((R,D)=>(f[R.source]??3)-(f[D.source]??3)),g=new Map,b=[];for(let R of x){let D=v[R.selector];if(D===void 0){b.push(R);continue}let A=`${D}::${R.wcag||R.type}`,T=g.get(A);T?!T.fix?.suggestedValue&&R.fix?.suggestedValue&&g.set(A,R):g.set(A,R);}let _=new Set([...g.values(),...b]);return p.filter(R=>_.has(R))}var cu=qr(()=>{});var dg={};Br(dg,{scopeIssuesToRoot:()=>eL});async function eL(h,p,w){let v=Array.from(new Set(p.map(x=>x.selector).filter(Boolean))),f;try{f=await h.evaluate(({rootSel:x,sels:g})=>{let b=D=>{try{let T=document.querySelector(D);if(T)return T}catch{}let A=D.replace(/:(?:focus-visible|focus-within|focus|hover|active)$/,"");if(A!==D)try{return document.querySelector(A)}catch{return null}return null},_=null;try{_=document.querySelector(x);}catch{return {invalid:!0,matched:!1,within:{}}}if(!_)return {invalid:!1,matched:!1,within:{}};let R={};for(let D of g){let A=b(D);R[D]=A?A===_||_.contains(A):!0;}return {invalid:!1,matched:!0,within:R}},{rootSel:w,sels:v});}catch{return {issues:p,warning:`scope:evaluate-failed (${w}) \u2014 results unfiltered`}}return f.invalid?{issues:p,warning:`scope:invalid-selector (${w}) \u2014 results unfiltered`}:f.matched?{issues:p.filter(x=>x.selector?f.within[x.selector]===true:true)}:{issues:[],warning:`scope:root-miss (${w} matched nothing \u2014 empty result)`}}var fg=qr(()=>{});var _o={mobile:{width:375,height:667},tablet:{width:768,height:1024},desktop:{width:1280,height:720}};var d3=()=>{let h="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye]",w=[],v=new Set;function f(b){let _=(b.textContent||"").trim().replace(/\s+/g,""),R=b.querySelector("img, svg, picture")!==null,D=b.querySelector("i[class], span[class]")!==null;if(_.length>0&&!R&&!D)return false;if(R){let A=b.querySelectorAll("img"),T="";A.forEach(F=>{T+=(F.getAttribute("alt")||"").trim();});let S=_.replace(/\s+/g,""),E=T.replace(/\s+/g,"");return S===""||S===E}return false}function x(b){let _=b.nextElementSibling;for(;_;){if(isVisible(_))return _;_=_.nextElementSibling;}return null}return document.querySelectorAll("a[href]").forEach(b=>{if(w.length>=50||b.closest(h)||!isVisible(b)||v.has(b))return;let _=b.getAttribute("href");if(!_||_==="#")return;let R=x(b);if(!R||R.tagName!=="A"||R.getAttribute("href")!==_||v.has(R)||b.getAttribute("aria-hidden")==="true"||R.getAttribute("aria-hidden")==="true")return;let A=f(b),T=f(R);if(!A&&!T)return;let S=A?b:R,E=A?R:b;v.add(S),v.add(E);let F=uniqueSel(S),P=S.outerHTML.slice(0,300),M=(E.textContent||"").trim().slice(0,80);w.push({selector:F,attribute:"aria-hidden",currentValue:"",issueType:"adjacent_redundant_link",wcag:"2.4.4",context:JSON.stringify({href:_,imageLink:true,adjacentLinkText:M,suggestion:'Add aria-hidden="true" and tabindex="-1" to the image-only link'}),needsAI:false,fixValue:"true",outerHtml:P}),w.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:_}),needsAI:false,fixValue:"-1",outerHtml:P});}),w},R1={name:"adjacentLinks",cap:50,async detect(h){return h.evaluate(d3)}};var f3=()=>{let h="[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=""])',w=["[aria-expanded]",'[class*="dropdown" i]','[class*="submenu" i]','[class*="sub-menu" i]','[class*="collapse" i]','[class*="accordion" i]','[class*="megamenu" i]','[class*="mega-menu" i]','[class*="flyout" i]','[class*="fsNav" i]','[role="menu"]','[role="menubar"]','[role="tablist"]','[role="tab"]',"nav"].join(","),v=new Set(["A","BUTTON","INPUT","SELECT","TEXTAREA"]),f=50,x=[],g=new Set;function b(D){let A=D,T=0;for(;A&&A.nodeType===1&&A!==document.body&&T<20;){try{let S=getComputedStyle(A);if(S.display==="none"||S.visibility==="hidden"||S.visibility==="collapse")return !0}catch{}A=A.parentElement,T++;}return false}function _(D){let A=D.tagName,T=D.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 v.has(A)?!(A==="A"&&!D.hasAttribute("href")||D.hasAttribute("disabled")):false}return document.querySelectorAll('[aria-hidden="true"]').forEach(D=>{if(x.length>=f||D.closest(h)||D.closest(p)||D.closest(w)||D.matches(w))return;let A=[];if(_(D)&&A.push(D),D.querySelectorAll("a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]").forEach(S=>{_(S)&&A.push(S);}),A.length!==0)for(let S of A){if(x.length>=f)return;let E=uniqueSel(S),F=E+"\0tabindex";if(g.has(F))continue;g.add(F);let P=b(S);x.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:D.tagName.toLowerCase(),collapsed:P,suggestion:P?"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",...P?{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)});}}),x},I1={name:"ariaHiddenFocusable",cap:50,async detect(h){return h.evaluate(f3)}};var p3=()=>{let h="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",w=[],v=new Set,f=[{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(g){if(!(g.textContent||"").trim())return true;let _=getComputedStyle(g);return !!(_.display==="none"||_.visibility==="hidden"||_.opacity==="0"||_.maxHeight==="0px"||_.height==="0px"||g.hasAttribute("data-bind")||g.hasAttribute("v-if")||g.hasAttribute("v-show")||g.hasAttribute("ng-if")||g.hasAttribute("ng-show")||g.hasAttribute(":class")||g.hasAttribute("x-show")||g.hasAttribute("x-if")||g.hasAttribute("aria-atomic"))}for(let g of f){if(w.length>=50)break;let b=document.querySelectorAll("*");for(let _ of b){if(w.length>=50)break;if(v.has(_)||_.closest(h))continue;let R=_.className&&typeof _.className=="string"?_.className:"",D=_.getAttribute("id")||"";if(!g.regex.test(R)&&!g.regex.test(D)||_.getAttribute("aria-live"))continue;let A=_.getAttribute("role")||"";if(["alert","status","log","timer","marquee"].includes(A)||!/\btoast\b|\bsnackbar\b|error[-_]|success[-_]|alert[-_]|flash[-_]/i.test(R+" "+D)&&!x(_))continue;v.add(_);let S=uniqueSel(_),E=g.regex.test(R)?"class":"id",F=E==="class"?R.slice(0,60):D;w.push({selector:S,attribute:"aria-live",currentValue:"",issueType:"aria_live",wcag:"4.1.3",context:E+": "+F+" | pattern: "+g.regex.source,needsAI:false,fixValue:g.ariaLive});}}return w},L1={name:"ariaLive",cap:50,async detect(h){return h.evaluate(p3)}};var m3=()=>{let h="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=ae-exclude],[id*=ae_app],[id*=ae_],[class*=EquallyAI]",w=[],v=new Set,f=["aria-labelledby","aria-describedby"];return document.querySelectorAll("[aria-labelledby],[aria-describedby]").forEach(b=>{if(!(w.length>=50)&&!b.closest(h)&&isVisible(b)&&!isHiddenFromAT(b)&&!b.getAttribute("aria-live")&&!b.closest("[aria-live]")&&!b.closest("template"))for(let _ of f){let R=b.getAttribute(_);if(!R||!R.trim())continue;let D=R.trim().split(/\s+/).filter($=>$.length>0);if(D.length===0||!D.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"+_;if(v.has(F))continue;v.add(F);let{nearbyHeading:P,parentTag:M,parentRole:H}=getNearbyContext(b);w.push({selector:E,attribute:"aria-label",currentValue:"",issueType:"broken_aria_reference",wcag:"4.1.2",context:JSON.stringify({tag:b.tagName.toLowerCase(),brokenAttr:_,brokenIds:D,nearbyHeading:P,parentTag:M,parentRole:H,suggestion:`All IDs in ${_}="${R}" are missing from the DOM. Element has no accessible name. Generate an aria-label.`}),needsAI:true,outerHtml:(b.outerHTML||"").slice(0,300)});}}),w},P1={name:"brokenAriaReferences",cap:50,async detect(h){return h.evaluate(m3)}};var h3=()=>{let p=[],w=["submit","send","login","log in","sign in","sign up","register","subscribe","save","order","purchase","checkout","pay","book","apply","enroll","confirm","join","create account","get started","schedule","place order","buy","donate","search","find","go"],v=document.querySelectorAll("button");for(let f of v){if(p.length>=50)break;let x=f;if(isWidget(x)||x.hasAttribute("type")||!x.closest("form"))continue;let g=(x.textContent||"").trim().slice(0,60),b=(x.getAttribute("aria-label")||"").trim().slice(0,60),_=g||b||"(no label)",R=_.toLowerCase();w.some(A=>R.includes(A))||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: "+_,needsAI:false,fixValue:"button",outerHtml:(x.outerHTML||"").slice(0,300)});}return p},O1={name:"buttonType",cap:50,async detect(h){return h.evaluate(h3)}};var g3=()=>{let p=[],w=document.querySelectorAll("video, audio");for(let v of Array.from(w)){if(p.length>=20)break;if(isWidget(v)||typeof isVisible=="function"&&!isVisible(v)||v.error)continue;let f=v.tagName==="VIDEO";if(f){let F=v.hasAttribute("muted")||v.muted,P=v.hasAttribute("autoplay"),M=v.hasAttribute("controls"),H=v.hasAttribute("loop");if(F&&P&&H&&!M)continue}let x=v.querySelectorAll("track"),g=false;for(let F of Array.from(x)){let P=(F.getAttribute("kind")||"").toLowerCase();if(P==="captions"||P==="subtitles"){g=true;break}}if(g)continue;let b=v.currentSrc||v.getAttribute("src")||"";if(b||(b=v.querySelector("source")?.getAttribute("src")||""),!b)continue;let _=b.toLowerCase();if(_.startsWith("blob:")||_.startsWith("data:")||_.startsWith("about:")||_.startsWith("javascript:")||_.endsWith(".m3u8")||_.includes(".m3u8?")||_.endsWith(".mpd")||_.includes(".mpd?"))continue;let R=b;try{R=new URL(b,location.href).toString();}catch{continue}let D=typeof uniqueSel=="function"?uniqueSel(v):"",A=v.getAttribute("title")||v.getAttribute("aria-label")||"",T=typeof getNearbyContext=="function"?getNearbyContext(v):{parentTag:v.tagName.toLowerCase(),nearbyHeading:""},S=[];S.push("media: "+v.tagName.toLowerCase()),S.push("src: "+R.slice(0,200)),A&&S.push("title: "+A.slice(0,80)),T.nearbyHeading&&S.push("heading: "+T.nearbyHeading),S.push("parent: "+T.parentTag);let E=f;p.push({selector:D,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:R,outerHtml:(v.outerHTML||"").slice(0,300)});}return p},M1={name:"captions",cap:20,async detect(h){return h.evaluate(g3)}};var v3=()=>{let h="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",w=[],v="p, li, blockquote, article, section, main, div",f=document.querySelectorAll("a[href]");for(let x of Array.from(f)){if(w.length>=40)break;if(x.closest(h)||x.closest('nav, header, footer, aside, [role="navigation"], [role="banner"], [role="contentinfo"]')||typeof isVisible=="function"&&!isVisible(x))continue;let g=x.closest(v);if(!g)continue;let b=(g.textContent||"").trim(),_=(x.textContent||"").trim();if(!_||b.length<_.length+20||x.querySelector("img, svg, [class*=icon], [class*=arrow]"))continue;let R=getComputedStyle(x),D=getComputedStyle(g);if((R.textDecorationLine||R.textDecoration||"").includes("underline")||(()=>{let $=document.createTreeWalker(x,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!==x;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(R.fontWeight||"400",10),E=parseInt(D.fontWeight||"400",10);if(Number.isFinite(S)&&Number.isFinite(E)&&S-E>=300||(R.borderBottomStyle||"none")!=="none"&&(R.borderBottomWidth||"0px")!=="0px"||R.color===D.color)continue;let P=typeof uniqueSel=="function"?uniqueSel(x):"",M=typeof getNearbyContext=="function"?getNearbyContext(x):{parentTag:x.tagName.toLowerCase(),nearbyHeading:""},H=[];H.push("link: "+_.slice(0,40)),H.push("color: "+R.color),H.push("parent-color: "+D.color),M.nearbyHeading&&H.push("heading: "+M.nearbyHeading),H.push("parent: "+M.parentTag),w.push({selector:P,attribute:"style",currentValue:R.textDecoration||"",issueType:"color_only_link",wcag:"1.4.1",context:H.join(" | "),needsAI:false,fixValue:"text-decoration: underline !important;",outerHtml:(x.outerHTML||"").slice(0,300)});}return w},N1={name:"colorOnly",cap:40,async detect(h){return h.evaluate(v3)}};var b3=()=>{let h="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye]",w=[],v=['[role="combobox"]',"input[list]","input[aria-autocomplete]","select"].join(",");return document.querySelectorAll(v).forEach(x=>{if(w.length>=30||x.closest(h)||typeof isVisible=="function"&&!isVisible(x)||x.getAttribute("aria-hidden")==="true"||x.disabled||x.getAttribute("type")==="hidden"||(x.getAttribute("aria-label")||"").trim())return;let g=x.getAttribute("aria-labelledby");if(g){let F=false;for(let P of g.split(/\s+/)){let M=document.getElementById(P);if(M&&(M.textContent||"").trim()){F=true;break}}if(F)return}let b=x.getAttribute("id");if(b){let F=document.querySelector('label[for="'+CSS.escape(b)+'"]');if(F&&(F.textContent||"").trim())return}let _=x.closest("label");if(_&&(_.textContent||"").trim()||(x.getAttribute("title")||"").trim())return;let R=typeof uniqueSel=="function"?uniqueSel(x):"",D=typeof getNearbyContext=="function"?getNearbyContext(x):{parentTag:x.tagName.toLowerCase(),nearbyHeading:""},A=(x.getAttribute("placeholder")||"").trim(),T=x.getAttribute("name")||"",S=x.getAttribute("role")||x.tagName.toLowerCase(),E=[];E.push("role: "+S),A&&E.push("placeholder: "+A.slice(0,40)),T&&E.push("name: "+T),D.nearbyHeading&&E.push("heading: "+D.nearbyHeading),E.push("parent: "+D.parentTag),w.push({selector:R,attribute:"aria-label",currentValue:"",issueType:"combobox_name_missing",wcag:"4.1.2",context:E.join(" | "),needsAI:true,outerHtml:(x.outerHTML||"").slice(0,300)});}),w},q1={name:"comboboxName",cap:30,async detect(h){return h.evaluate(b3)}};var y3=()=>{let p=[],w=S=>typeof parseCssColor=="function"?parseCssColor(S):null,v=(S,E,F)=>typeof relLuminance=="function"?relLuminance(S,E,F):0,f=(S,E)=>typeof contrastRatio=="function"?contrastRatio(S,E):1;function x(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(),P=String(S.backgroundSize||"").toLowerCase(),M=F.split(",").map($=>$.trim()).some($=>$!==""&&$!=="no-repeat"),H=/cover|contain|100%/.test(P);return M||H}function g(S){let E=S,F=0;for(;E&&E!==document.documentElement&&F<12;){let P=getComputedStyle(E);if(x(P))return null;let M=w(P.backgroundColor||"");if(M&&M[3]>.5)return [M[0],M[1],M[2]];E=E.parentElement,F++;}return [255,255,255]}function b(S,E,F){return "#"+[S,E,F].map(P=>{let M=Math.max(0,Math.min(255,Math.round(P))).toString(16);return M.length===1?"0"+M:M}).join("")}function _(S,E,F){let M=v(E[0],E[1],E[2])>.5,H=0,$=1,z=null;for(let K=0;K<20;K++){let j=(H+$)/2,W=M?[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];f(W,E)>=F?(z=[Math.round(W[0]),Math.round(W[1]),Math.round(W[2])],$=j):H=j;}return z}let R=document.createTreeWalker(document.body,4),D=new Set,A=[],T=R.nextNode();for(;T;){if((T.textContent||"").trim().length>=2){let E=T.parentElement;E&&!D.has(E)&&(D.add(E),A.push(E));}T=R.nextNode();}for(let S of A){if(p.length>=30)break;if(isWidget(S)||isHiddenFromAT(S)||!isVisible(S))continue;let E=getComputedStyle(S),F=w(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 P=g(S),M=parseFloat(E.fontSize||"16"),H=parseInt(E.fontWeight||"400",10),z=M>=24||M>=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(P===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=f([F[0],F[1],F[2]],P);if(Z>=z)continue;let te=_([F[0],F[1],F[2]],P,z);if(!te)continue;let ie=b(te[0],te[1],te[2]),re=b(P[0],P[1],P[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},B1={name:"contrast",cap:30,async detect(h){return h.evaluate(y3)}};var w3=()=>{let h="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye]",w=[],v=document.querySelectorAll("marquee, blink");for(let _ of Array.from(v)){if(w.length>=30)break;if(_.closest(h))continue;let R=typeof uniqueSel=="function"?uniqueSel(_):_.tagName.toLowerCase();w.push({selector:R,attribute:"aria-hidden",currentValue:_.getAttribute("aria-hidden")||"",issueType:"motion_uncontrollable",wcag:"2.2.2",context:`deprecated ${_.tagName.toLowerCase()} element \u2014 uncontrollable motion`,needsAI:false,needsReview:true,reviewReason:`Deprecated ${_.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:(_.outerHTML||"").slice(0,300)});}let f=document.querySelectorAll('img[src*=".gif" i], img[src$=".gif" i]');for(let _ of Array.from(f)){if(w.length>=30)break;if(_.closest(h))continue;let R=_.getAttribute("src")||"";if(!/\.gif(\?|#|$)/i.test(R)||typeof isVisible=="function"&&!isVisible(_))continue;let D=_.getBoundingClientRect();if(D.width<=40&&D.height<=40)continue;let A=typeof uniqueSel=="function"?uniqueSel(_):"img";w.push({selector:A,attribute:"data-asw-motion-review",currentValue:"",issueType:"animated_gif_no_pause",wcag:"2.2.2",context:`animated GIF without pause control: ${R.split("/").pop()?.slice(0,60)||R.slice(-60)}`,needsAI:true,outerHtml:(_.outerHTML||"").slice(0,300)});}let x=document.querySelectorAll('meta[http-equiv="refresh"], meta[http-equiv="Refresh"], meta[http-equiv="REFRESH"]');for(let _ of Array.from(x)){if(w.length>=30)break;let R=(_.getAttribute("content")||"").trim(),D=parseInt((R.split(/[;,]/)[0]||"").trim(),10);!Number.isFinite(D)||D<=0||w.push({selector:`meta[http-equiv="refresh"][content*="${R.slice(0,20)}"]`,attribute:"data-auto-refresh",currentValue:R,issueType:"auto_refresh",wcag:"2.2.1",context:`auto-refresh every ${D}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 ${D}s time limit before it triggers.`,outerHtml:(_.outerHTML||"").slice(0,200)});}try{let _=!1,R=!1;for(let D of Array.from(document.styleSheets)){let A=null;try{A=D.cssRules;}catch{continue}if(A)for(let T of Array.from(A)){let S=T.cssText||"";if(/animation[^;]*\binfinite\b/i.test(S)&&/(keyframes|animation-name)/i.test(S+" "+(T.name||""))&&(_=!0),/prefers-reduced-motion[^{]*\(\s*reduce\s*\)/i.test(S)&&(R=!0),T.cssRules)for(let E of Array.from(T.cssRules)){let F=E.cssText||"";/animation[^;]*\binfinite\b/i.test(F)&&(_=!0);}}}_&&!R&&w.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 g=/\b(flash(ing)?|blink(ing)?|strobe)\b/i,b=document.querySelectorAll('[class*="flash" i], [class*="blink" i], [class*="strobe" i]');for(let _ of Array.from(b)){if(w.length>=30)break;if(_.closest(h)||_.tagName==="BODY"||_.tagName==="HTML")continue;let R=_.className&&typeof _.className=="string"?_.className:"";if(!g.test(R)||typeof isVisible=="function"&&!isVisible(_))continue;let A=getComputedStyle(_).animationDuration,T=9999;if(A){let E=parseFloat(A);Number.isFinite(E)&&(T=/ms/i.test(A)?E:E*1e3);}if(T>333)continue;let S=typeof uniqueSel=="function"?uniqueSel(_):"";w.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:(_.outerHTML||"").slice(0,300)});}return w},H1={name:"cssAnimations",cap:30,async detect(h){return h.evaluate(w3)}};var x3=()=>{let p=[];function w(g){let b=(g.getAttribute("role")||"").toLowerCase();return b==="presentation"||b==="none"||(g.getAttribute("class")||"").toLowerCase().indexOf("layout")!==-1}function v(g){if(!g)return 0;let b=g.querySelectorAll("th, td"),_=0;for(let R=0;R<b.length;R++){let D=parseInt(b[R].getAttribute("colspan")||"1",10);_+=isNaN(D)||D<1?1:D;}return _}function f(g){let b=g.querySelectorAll("tr"),_=[];for(let R=0;R<b.length;R++){let D=b[R];D.closest("table")===g&&_.push(D);}return _}let x=document.querySelectorAll("table");for(let g=0;g<x.length&&!(p.length>=30);g++){let b=x[g];if(isWidget(b)||!isVisible(b)||w(b))continue;let _=f(b);if(_.length<=1)continue;let R=_[0],D=v(R);if(D<=1)continue;let A=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():"",P=(b.getAttribute("aria-label")||"").trim(),M=(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)&&!(P||$||M)&&p.length<30&&p.push({selector:A,attribute:"caption",currentValue:"",issueType:"missing_table_caption",wcag:"1.3.1",context:JSON.stringify({reason:S?"empty <caption>":"no <caption> element",rows:_.length,cols:D,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:A,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:_.length,cols:D,nearbyHeading:T.nearbyHeading}),needsAI:false,fixValue:"wrap-first-row",outerHtml:(b.outerHTML||"").slice(0,300)}),D>2){let te=R.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&&_.length>0&&_[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},V1={name:"dataTables",cap:30,async detect(h){return h.evaluate(x3)}};var D3=()=>{let h="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI], [id*=ae_], [class*=ae-exclude]",w=[],v='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"]',f=S=>{try{return !!(S.querySelector&&S.querySelector(v))}catch{return false}},x=new Set(["fa","fas","far","fab","fal","fad","material-icons","material-symbols","bi","glyphicon"]),g=["fa-","bi-","icon-","icofont-","dashicons-","heroicon","feather-","lucide-"],b=["spinner","loading","spin","loader","pulse"],_=document.querySelectorAll('i, span[class*="icon"], span[class*="fa-"], span[class*="bi-"], span[class*="material"]');for(let S of _){if(w.length>=50)break;if(S.closest(h)||isHiddenFromAT(S)||!isVisible(S))continue;let E=S.className&&typeof S.className=="string"?S.className.toLowerCase():"";if(!E.split(/\s+/).filter(Boolean).some(z=>x.has(z)||g.some(K=>z.startsWith(K)))||S.closest(v)||f(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);w.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 R=document.querySelectorAll("svg");for(let S of R){if(w.length>=50)break;if(S.closest(h)||isHiddenFromAT(S)||!isVisible(S)||S.closest(v)||f(S))continue;let E=S.getAttribute("aria-label")||"",F=S.getAttribute("aria-labelledby")||"",P=S.querySelector("title"),M=P?(P.textContent||"").trim():"",H=S.getAttribute("role");if(E.trim()||F.trim()||M||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);w.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 D=S=>S.indexOf(":")!==-1?false:/^(?:[a-z0-9]+[-_])*(?:disabled|inactive)$/i.test(S),A=document.querySelectorAll('[class*="disabled"], [class*="inactive"], [aria-disabled="true"]');for(let S of A){if(w.length>=50)break;if(S.closest(h)||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 P=S.className&&typeof S.className=="string"?S.className:"",M=P.split(/\s+/).some(D),H=S.getAttribute("aria-disabled")==="true",$=getComputedStyle(S).pointerEvents==="none";if(!H&&!(M&&$))continue;let z=S.getAttribute("tabindex")!=="-1"||f(S),K=uniqueSel(S);w.push({selector:K,attribute:"aria-hidden",currentValue:"",issueType:"decorative_icon",wcag:"1.1.1",context:"disabled/inactive element still exposed to assistive technology: "+P.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(w.length>=50)break;if(S.closest(h)||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);w.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 w},j1={name:"decorativeIcons",cap:50,async detect(h){return h.evaluate(D3)}};var _3=()=>{let h="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",w=[],v=new Map,f=document.querySelectorAll("[id]");for(let x of f){if(x.closest(h))continue;let g=(x.getAttribute("id")||"").trim();if(!g)continue;let b=v.get(g);b?b.push(x):v.set(g,[x]);}for(let[x,g]of v)if(!(g.length<=1)){if(w.length<50){let b=g[0];w.push({selector:typeof uniqueSel=="function"?uniqueSel(b):b.tagName.toLowerCase(),attribute:"id",currentValue:x,issueType:"duplicate_id",wcag:"4.1.1",context:'id "'+x+'" is shared by '+g.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<g.length&&!(w.length>=50);b++){let _=g[b],R=b+1,D=x+"-"+R,A=_.tagName.toLowerCase(),T=_.parentElement,S=A;if(T){let E=Array.from(T.children).filter(P=>P.tagName===_.tagName);if(E.length>1){let P=E.indexOf(_)+1;S=A+":nth-of-type("+P+")";}let F=T.tagName.toLowerCase();if(T.id&&T.id!==x)S="#"+CSS.escape(T.id)+" > "+S;else {let P=T.parentElement;if(P){let M=Array.from(P.children).filter(H=>H.tagName===T.tagName);if(M.length>1){let H=M.indexOf(T)+1;S=F+":nth-of-type("+H+") > "+S;}else S=F+" > "+S;}}}w.push({selector:S,attribute:"id",currentValue:x,issueType:"duplicate_id",wcag:"4.1.1",context:"duplicate #"+R+' of id="'+x+'" | tag: <'+A+">",needsAI:false,fixValue:D});}}return w},$1={name:"duplicateIds",cap:50,async detect(h){return h.evaluate(_3)}};var A3=()=>{let h="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",p=/^[^\p{L}\p{N}\s]*$/u,w=/^[\s\u00A0\u2000-\u200F\u2028-\u202F]*$/,f=[],x=document.querySelectorAll("a");for(let g of x){if(f.length>=50)break;if(g.closest(h)||g.getAttribute("aria-hidden")==="true"||g.getAttribute("role")==="presentation"||g.closest('[aria-hidden="true"]')||!isVisible(g))continue;let b=getAccessibleName(g);if(b&&b.length>0&&!w.test(b)&&!p.test(b))continue;let _=g.querySelectorAll("img[alt]"),R="";for(let z of _){let K=(z.getAttribute("alt")||"").trim();K&&(R+=K+" ");}if(R.trim())continue;let D=g.getAttribute("aria-labelledby");if(D&&typeof __resolveIdRefs=="function"&&__resolveIdRefs(D))continue;let A=uniqueSel(g),T=g.getAttribute("href")||"",S=(g.textContent||"").trim(),E=getNearbyContext(g),F="";S&&w.test(S)?F="[whitespace only]":S&&p.test(S)&&(F=S);let P="",M=true;if(T&&T!=="#"&&!T.startsWith("javascript:")){if(T.startsWith("mailto:")){let z=T.slice(7).split("?")[0];z&&z.includes("@")&&(P="Email "+z,M=false);}else if(T.startsWith("tel:")){let z=T.slice(4);try{z=decodeURIComponent(z);}catch{}z=z.replace(/^\+/,"").trim(),z&&(P="Call "+z,M=false);}}let H=[];g.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:A,attribute:"aria-label",currentValue:F,issueType:"empty_link",wcag:"2.4.4",context:H.join(" | "),needsAI:M,outerHtml:g.outerHTML.slice(0,300)};!M&&P&&($.fixValue=P),f.push($);}return f},z1={name:"emptyLinks",cap:50,async detect(h){return h.evaluate(A3)}};var E3=()=>{let p=[],w=new Set;function v(D){return (D||"").trim()}function f(D){let A=v(D.getAttribute("aria-label")||"");if(A)return A;let T=D.getAttribute("aria-labelledby");if(T){let E=T.split(/\s+/),F="";for(let P=0;P<E.length;P++){let M=document.getElementById(E[P]);M&&(F+=" "+(M.textContent||""));}if(v(F))return v(F)}let S=v(D.getAttribute("title")||"");return S||""}let x=document.querySelectorAll("fieldset");for(let D=0;D<x.length&&!(p.length>=30);D++){let A=x[D];if(isWidget(A)||!isVisible(A)||isHiddenFromAT(A))continue;if(f(A)){w.add(A);continue}let T=null,S=A.querySelectorAll("legend");for(let $=0;$<S.length;$++)if(S[$].closest("fieldset")===A){T=S[$];break}let E=T!==null,F=T?v(T.textContent||""):"";if(E&&F){w.add(A);continue}let P=getNearbyContext(A),M=A.querySelectorAll("input, select, textarea"),H=uniqueSel(A);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:M.length,nearbyHeading:P.nearbyHeading,parentTag:P.parentTag}),needsAI:true,outerHtml:(A.outerHTML||"").slice(0,300)}),w.add(A);}let g=document.querySelectorAll('[role="group"], [role="radiogroup"]');for(let D=0;D<g.length&&!(p.length>=30);D++){let A=g[D];if(isWidget(A)||!isVisible(A)||isHiddenFromAT(A)||w.has(A))continue;if(f(A)){w.add(A);continue}let T=A.getAttribute("role")||"",S=getNearbyContext(A),E=A.querySelectorAll("input, select, textarea"),F=uniqueSel(A);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:(A.outerHTML||"").slice(0,300)}),w.add(A);}let b={},_=document.querySelectorAll('input[type="radio"], input[type="checkbox"]');for(let D=0;D<_.length;D++){let A=_[D];if(isWidget(A)||!isVisible(A)||isHiddenFromAT(A))continue;let T=A.getAttribute("name")||"";if(!T)continue;let S=A.closest("form"),E=S?S.getAttribute("id")||S.getAttribute("action")||S.tagName:"no-form",F=(A.getAttribute("type")||"").toLowerCase(),P=E+"::"+F+"::"+T;b[P]||(b[P]=[]),b[P].push(A);}let R=Object.keys(b);for(let D=0;D<R.length&&!(p.length>=30);D++){let A=b[R[D]];if(A.length<3)continue;let T=A[0],S=T.closest('fieldset, [role="group"], [role="radiogroup"]'),E=false;if(S){E=true;for(let z=1;z<A.length;z++)if(!S.contains(A[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<A.length;K++)if(!F.contains(A[K])){z=false;break}if(z)break;F=F.parentElement;}if(!F||F===document.body||w.has(F))continue;let P=(T.getAttribute("type")||"").toLowerCase(),M=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 "+P+" group ("+A.length+' inputs share name="'+M+'")',inputType:P,inputCount:A.length,name:M,nearbyHeading:H.nearbyHeading,parentTag:H.parentTag}),needsAI:false,fixValue:P==="radio"?"radiogroup":"group",outerHtml:(F.outerHTML||"").slice(0,300)}),w.add(F);}return p},G1={name:"fieldsetLegend",cap:30,async detect(h){return h.evaluate(E3)}};var C3=()=>{let h=[],p=document.querySelectorAll('header, nav, div, [class*="header"], [class*="navbar"], [class*="sticky"], [role="banner"]'),w=0;for(let v of Array.from(p)){let f=getComputedStyle(v);if(f.display==="none"||f.visibility==="hidden"||f.position!=="sticky"&&f.position!=="fixed")continue;let x=v.getBoundingClientRect();if(x.top>50||x.bottom<=0)continue;let g=Math.round(x.height);g<40||g>240||g>w&&(w=g);}if(w>0){let v=window.scrollX,f=window.scrollY,x=0,g=0;try{let _=[],R=new Set;document.querySelectorAll('a[href^="#"]').forEach(D=>{let A=D.getAttribute("href").slice(1);if(!A)return;let T=document.getElementById(A);T&&!R.has(T)&&(R.add(T),_.push(T));});for(let D of _){if(g>=8)break;let A=getComputedStyle(D);if(A.display==="none"||A.visibility==="hidden")continue;g++,D.scrollIntoView({block:"start"});let T=D.getBoundingClientRect(),S=Math.max(T.height,1);Math.max(0,Math.min(T.bottom,w)-Math.max(T.top,0))/Math.min(S,w)>=.5&&x++;}}catch{}try{window.scrollTo(v,f);}catch{}let b=`scroll-margin-top: ${w+8}px; scroll-padding-top: ${w+8}px;`;g>0&&x>0?h.push({selector:"html",attribute:"style",currentValue:"",issueType:"focus_obscured_by_sticky",wcag:"2.4.11",context:`sticky header height: ${w}px \u2014 ${x}/${g} in-page anchor targets land under it on jump`,needsAI:false,fixValue:b}):g===0&&h.push({selector:"html",attribute:"style",currentValue:"",issueType:"focus_obscured_by_sticky",wcag:"2.4.11",context:`sticky header height: ${w}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 h},W1={name:"focusObscured",async detect(h){return h.evaluate(C3)}};var U1={name:"focusVisible",cap:40,async detect(h){let p=typeof h.keyboard?.press=="function";if(p)try{await h.keyboard.press("Tab");}catch{}return h.evaluate(w=>{let f=[],x=["a[href]","button",'input:not([type="hidden"])',"select","textarea",'[role="button"]','[role="link"]','[role="menuitem"]','[role="tab"]','[tabindex]:not([tabindex="-1"])'].join(","),g=document.querySelectorAll(x),b=document.activeElement;for(let _ of g){if(f.length>=40)break;if(typeof isWidget=="function"&&isWidget(_)||typeof isHiddenFromAT=="function"&&isHiddenFromAT(_)||typeof isVisible=="function"&&!isVisible(_)||!_.offsetParent&&_.tagName!=="BODY")continue;let R=getComputedStyle(_),D=R.outline,A=R.outlineWidth,T=R.outlineStyle,S=R.boxShadow,E=R.border,F=R.backgroundColor;try{_.focus({preventScroll:!0});}catch{continue}if(document.activeElement!==_)continue;let P=getComputedStyle(_),M=P.outline,H=(P.outlineStyle||"").toLowerCase(),$=parseFloat(P.outlineWidth||"0"),z=P.boxShadow,K=P.border,j=P.backgroundColor,W=M!==D,Z=H!=="none"&&H!=="hidden"&&$>0;if(W&&Z||z!==S&&z!=="none"&&z!==""||K!==E||j!==F||parseFloat(A)>0&&T!=="none")continue;let Ie=typeof uniqueSel=="function"?uniqueSel(_):_.tagName.toLowerCase();f.push({selector:Ie+":focus-visible",attribute:"style",currentValue:T+" "+A,issueType:"focus_not_visible",wcag:"2.4.7",context:`${_.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:_.outerHTML.slice(0,200),...w?{}:{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 f},p)}};var S3=()=>{let p=[],w=["new","register","signup","sign-up","sign_up","create","change","reset"],v=["confirm","verify","retype","re-type","repeat","again"];function f(D){if(!D)return false;let A=" "+((D.id||"")+" "+(D.className||"")+" "+(D.getAttribute("name")||"")+" "+(D.getAttribute("action")||"")).toLowerCase()+" ";for(let T=0;T<w.length;T++)if(A.indexOf(w[T])!==-1)return true;return false}function x(D){let A=((D.getAttribute("name")||"")+" "+(D.getAttribute("id")||"")+" "+(D.getAttribute("placeholder")||"")+" "+(D.getAttribute("aria-label")||"")).toLowerCase();for(let T=0;T<v.length;T++)if(A.indexOf(v[T])!==-1)return true;return false}let g=document.querySelectorAll("input[pattern]");for(let D of g){if(p.length>=30)break;let A=D;if(isWidget(A)||isHiddenFromAT(A)||!isVisible(A)||(A.getAttribute("title")||"").trim()||(A.getAttribute("aria-describedby")||"").trim())continue;let E=uniqueSel(A),F=(A.getAttribute("pattern")||"").slice(0,80),P=A.getAttribute("name")||"",M=A.getAttribute("placeholder")||"";p.push({selector:E,attribute:"title",currentValue:"",issueType:"missing_pattern_title",wcag:"3.3.2",context:"pattern: "+F+" | name: "+P+" | placeholder: "+M,needsAI:true,outerHtml:(A.outerHTML||"").slice(0,300)});}let b=document.querySelectorAll('input[type="password"], input[type="Password"]');for(let D of b){if(p.length>=30)break;let A=D;if(isWidget(A)||isHiddenFromAT(A)||!isVisible(A))continue;let T=(A.getAttribute("autocomplete")||"").trim().toLowerCase();if(x(A)){if(T==="new-password")continue;let M=uniqueSel(A);p.push({selector:M,attribute:"autocomplete",currentValue:T,issueType:"missing_autocomplete",wcag:"1.3.5",context:"confirm password field | name: "+(A.getAttribute("name")||"")+" | id: "+(A.getAttribute("id")||""),needsAI:false,fixValue:"new-password",outerHtml:(A.outerHTML||"").slice(0,300)});continue}if(T)continue;let E=A.form||A.closest("form"),F=f(E),P=uniqueSel(A);p.push({selector:P,attribute:"autocomplete",currentValue:"",issueType:"missing_autocomplete",wcag:"1.3.5",context:(F?"new/signup/change password form":"login form")+" | name: "+(A.getAttribute("name")||"")+" | id: "+(A.getAttribute("id")||""),needsAI:false,fixValue:F?"new-password":"current-password",outerHtml:(A.outerHTML||"").slice(0,300)});}let _=document.querySelectorAll("form"),R=/\*|\brequired\b|\bmandatory\b/i;for(let D of _){if(p.length>=30)break;let A=D;if(isWidget(A)||!isVisible(A))continue;let T=A.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=A.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||(A.getAttribute("data-asw-required-hint")||"").trim())continue;let P=(A.textContent||"").trim();if(R.test(P))continue;let M=uniqueSel(A);p.push({selector:M,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:(A.outerHTML||"").slice(0,300)});}return p},X1={name:"formAttributes",cap:30,async detect(h){return h.evaluate(S3)}};var k3=()=>{let p=[],w=Array.from(document.querySelectorAll('h1, h2, h3, h4, h5, h6, [role="heading"]')).filter(g=>{if(isWidget(g)||g.getAttribute("aria-hidden")==="true"||g.closest('[aria-hidden="true"]')||g.getClientRects().length===0)return false;let b=getComputedStyle(g).visibility;return !(b==="hidden"||b==="collapse")});if(w.length===0)return p;let v='main, header, footer, aside, nav, section, article, [role="main"], [role="banner"], [role="contentinfo"], [role="complementary"], [role="navigation"], [role="region"], [role="dialog"]',f=new Map,x=0;for(let g of w){if(p.length>=50)break;let b;if(g.getAttribute("role")==="heading"){let E=g.getAttribute("aria-level");b=E?parseInt(E,10):2;}else b=parseInt(g.tagName.charAt(1),10);if(isNaN(b)||b<1||b>6)continue;let R=g.closest(v)||document.body,D=f.get(R)??0,A=uniqueSel(g),T=(g.textContent||"").trim().slice(0,80),S=g.outerHTML.slice(0,300);if(b===1&&(x++,x>1&&(p.push({selector:A,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:S}),b=2)),D>0&&b>D+1){let E=D+1;p.push({selector:A,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:D,expectedLevel:E,suggestion:"Should be h"+E+" (was h"+b+", previous was h"+D+") \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});}f.set(R,b);}return p},Y1={name:"headingHierarchy",cap:50,async detect(h){return h.evaluate(k3)}};var T3=()=>{let h="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=EquallyAI],[id*=ae_],[class*=ae-exclude],[id*=goog-gt],[class*=goog-te]",w=[],v=new Set;function f(x){let g=x,b=0;for(;g&&g!==document.body&&b<6;){if(g.getAttribute("aria-hidden")==="true")return true;g=g.parentElement,b++;}return false}return document.querySelectorAll('[aria-disabled=true]:not([tabindex="-1"]), .disabled:not([tabindex="-1"])').forEach(x=>{if(w.length>=50||x.closest(h)||!x.matches("a[href], button, [role=button]")||f(x))return;let g=getComputedStyle(x);if(g.display==="none"||g.visibility==="hidden")return;let b=uniqueSel(x);v.has(b)||(v.add(b),w.push({selector:b,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(w.length>=50||x.closest(h)||f(x))return;let g=getComputedStyle(x),b=parseInt(g.width)||0,_=parseInt(g.height)||0;if((b===0||_===0)&&x.getAttribute("aria-hidden")!=="true"){let R=uniqueSel(x);if(v.has(R))return;v.add(R),w.push({selector:R,attribute:"aria-hidden",currentValue:"",issueType:"decorative_icon",wcag:"4.1.2",context:"zero-size iframe without aria-hidden",needsAI:false,fixValue:"true"});}}),w},K1={name:"hiddenInteractive",cap:50,async detect(h){return h.evaluate(T3)}};var F3=()=>{let h=document.documentElement;return h?(h.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"}]:[]},J1={name:"htmlLang",async detect(h){return h.evaluate(F3)}};var R3=()=>{let h="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",w=[],v=[{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"}],f=/^(iframe|embed|widget|frame|content|untitled)$/i,x=document.querySelectorAll("iframe");for(let g of x){if(w.length>=50)break;if(g.closest(h))continue;let b=(g.getAttribute("aria-hidden")||"").trim(),_=(g.getAttribute("role")||"").trim().toLowerCase();if(b==="true"||_==="presentation")continue;let R=getComputedStyle(g);if(g.getClientRects().length===0||R.visibility==="hidden"||R.visibility==="collapse"||(g.getAttribute("src")||"").trim().toLowerCase().indexOf("javascript:")===0)continue;let D=(g.getAttribute("title")||"").trim(),A=D.length===0,T=!A&&(D.length<3||f.test(D));if(!A&&!T)continue;let S=(g.getAttribute("src")||"").toLowerCase(),E=uniqueSel(g),F=getNearbyContext(g),P="src: "+S.slice(0,120)+(F.nearbyHeading?" | heading: "+F.nearbyHeading:""),M=false;for(let H of v)if(S.includes(H.pattern)){w.push({selector:E,attribute:"title",currentValue:D,issueType:"missing_label",wcag:"4.1.2",context:P,needsAI:false,fixValue:H.title,outerHtml:g.outerHTML.slice(0,300)}),M=true;break}!M&&A&&w.push({selector:E,attribute:"title",currentValue:D,issueType:"missing_label",wcag:"4.1.2",context:P,needsAI:true,outerHtml:g.outerHTML.slice(0,300)});}return w},Z1={name:"iframeTitle",cap:50,async detect(h){return h.evaluate(R3)}};var I3=()=>{let h="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",p=["hidden","submit","button","reset","image","checkbox","radio","file","range","color"],v=[],f={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"}],g=document.querySelectorAll("input, select, textarea");for(let b of g){if(v.length>=50)break;if(b.closest(h))continue;let _=b,R=(_.getAttribute("type")||"text").toLowerCase();if(p.includes(R)||_.getAttribute("autocomplete")||!isVisible(_))continue;let D="";if(f[R]&&(D=f[R]),!D){let T=(_.getAttribute("name")||"").toLowerCase(),S=(_.getAttribute("id")||"").toLowerCase(),E=(_.getAttribute("placeholder")||"").toLowerCase(),F=T+" "+S+" "+E;for(let P of x)if(F.includes(P.pattern)){D=P.autocomplete;break}}if(!D)continue;let A=uniqueSel(_);v.push({selector:A,attribute:"autocomplete",currentValue:"",issueType:"identify_input_purpose",wcag:"1.3.5",context:"type: "+R+" | name: "+(_.getAttribute("name")||"")+" | id: "+(_.getAttribute("id")||""),needsAI:false,fixValue:D});}return v},Q1={name:"inputPurpose",cap:50,async detect(h){return h.evaluate(I3)}};var L3=()=>{let p=[],w={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},v=document.querySelectorAll("[role]");for(let f of v){if(p.length>=20)break;let x=f;if(isWidget(x))continue;let g=(x.getAttribute("role")||"").trim().toLowerCase();if(!g)continue;let b=g.split(/\s+/).filter(Boolean);if(b.length===0)continue;let _=true,R="";for(let D=0;D<b.length;D++)if(!w[b[D]]){_=false,R=b[D];break}_||p.push({selector:uniqueSel(x),attribute:"remove_attribute",currentValue:g,issueType:"invalid_aria_role",wcag:"4.1.2",context:'invalid ARIA role: "'+R+'" \u2014 removing',needsAI:false,fixValue:"role",outerHtml:(x.outerHTML||"").slice(0,300)});}return p},eh={name:"invalidAriaRole",cap:20,async detect(h){return h.evaluate(L3)}};var P3=()=>{let h="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",w=[],v=['a[href]:not([href=""])',"button:not([disabled])",'input:not([type="hidden"]):not([disabled])',"select:not([disabled])","textarea:not([disabled])",'[role="button"]:not([aria-disabled="true"])','[role="link"]:not([aria-disabled="true"])','[role="menuitem"]:not([aria-disabled="true"])','[role="tab"]:not([aria-disabled="true"])','[role="checkbox"]:not([aria-disabled="true"])','[role="radio"]:not([aria-disabled="true"])'].join(",");function f(g){let b=g.getBoundingClientRect();if(b.width===0&&b.height===0)return false;let _=-window.scrollX,R=-window.scrollY,D=document.documentElement,A=getComputedStyle(g).position;if(A==="fixed")return false;let T=A==="absolute";for(let S=g.parentElement;S&&S!==document.body&&S!==D;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",P=E.overflowY==="hidden"||E.overflowY==="clip";if(!F&&!P)continue;let M=S.getBoundingClientRect();if(F&&(b.right<=M.left||b.left>=M.right)||P&&(b.bottom<=M.top||b.top>=M.bottom))return true;if(A=E.position,A==="fixed")return false;A==="absolute"&&(T=true);}return b.right<=_||b.bottom<=R||b.left>=_+D.scrollWidth||b.top>=R+D.scrollHeight}let x=document.querySelectorAll(v);for(let g of x){if(w.length>=30)break;if(g.closest(h)||!g.hasAttribute("tabindex"))continue;let b=g.getAttribute("tabindex")||"",_=parseInt(b,10);if(!Number.isFinite(_)||_===0||g.getAttribute("aria-disabled")==="true"||g.getAttribute("aria-hidden")==="true"||g.closest('[aria-hidden="true"]')||g.closest("[hidden]"))continue;let R=g.closest('[role="dialog"],[role="alertdialog"],dialog,[role="menu"],[role="listbox"]');if(R&&!(R.hasAttribute("open")||R.getAttribute("aria-modal")==="true"||R.getAttribute("aria-hidden")!=="true")||typeof isVisible=="function"&&!isVisible(g)||_<0&&f(g))continue;let D=(g.getAttribute("role")||"").toLowerCase();if(_<0&&g.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(g):"",S=typeof getNearbyContext=="function"?getNearbyContext(g):{parentTag:g.tagName.toLowerCase(),nearbyHeading:""},E,F;_<0?(E="keyboard_trap",F="2.1.1"):(E="focus_order_disruption",F="2.4.3");let P=[];P.push("tabindex: "+_),P.push("tag: "+g.tagName.toLowerCase()),D&&P.push("role: "+D),S.nearbyHeading&&P.push("heading: "+S.nearbyHeading),P.push("parent: "+S.parentTag),w.push({selector:T,attribute:"tabindex",currentValue:String(_),issueType:E,wcag:F,context:P.join(" | "),needsAI:false,fixValue:"0",outerHtml:(g.outerHTML||"").slice(0,300)});}return w},th={name:"keyboardTrap",cap:30,async detect(h){return h.evaluate(P3)}};var O3=()=>{let h="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",w=[],f=document.querySelectorAll('button, a[href], [role="button"], [role="link"], input[type="submit"], input[type="button"]');for(let x of Array.from(f)){if(w.length>=40)break;if(x.closest(h)||typeof isVisible=="function"&&!isVisible(x))continue;let g="",b=[],_=[];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(x).fontFamily||"");}catch{}let Ie=document.createTreeWalker(x,NodeFilter.SHOW_TEXT),Ce;for(;Ce=Ie.nextNode();){let Ke=Ce.parentElement;if(!Ke)continue;let Ze=(Ce.textContent||"").trim();if(!Ze||Ke===x&&me)continue;let Ye=!1,Le=!1;for(let Ue=Ke;Ue&&Ue!==x;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)&&_.push({text:Ze,kbd:Le});}let qe=0,ke=_.length;for(;qe<ke&&_[qe].kbd;)qe++;for(;ke>qe&&_[ke-1].kbd;)ke--;let ze=qe<ke?_.slice(qe,ke):_;for(let Ke of ze)b.push(Ke.text);g=b.join(" ").trim().toLowerCase();}catch{g=((x.innerText!=null?x.innerText:x.textContent)||"").trim().toLowerCase();}if(!g||!/[\p{L}\p{N}]/u.test(g)||/^\p{L}$/u.test(g))continue;let D=/[\p{L}\p{N}\p{M}]/u,A=(x.getAttribute("aria-label")||"").trim().toLowerCase();if(!A){let ie=x.getAttribute("aria-labelledby");ie&&(A=(typeof __resolveIdRefs=="function"?__resolveIdRefs(ie):"").toLowerCase());}if(!A)continue;let T=g.replace(/\s+/g," ").normalize("NFC"),S=A.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||!D.test(ie)||E.test(ie)||E.test(re),P=(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)},M=(ie,re)=>{let me=ie.codePointAt(re);return me===void 0?"":String.fromCodePoint(me)},H=T.substring(0,40),$=T.length>=40,z=M(H,0),K=P(H,H.length),j=false;for(let ie=0;!j;){let re=S.indexOf(H,ie);if(re<0)break;F(P(S,re),z)&&($||F(M(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(P(S,ze),M(Ce,0)),Ze=Ce.length>=40||F(M(S,ze+Ce.length),P(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(x):"",Z=typeof getNearbyContext=="function"?getNearbyContext(x):{parentTag:x.tagName.toLowerCase(),nearbyHeading:""},te=[];te.push("visible: "+g.slice(0,40)),te.push("aria-label: "+A.slice(0,60)),Z.nearbyHeading&&te.push("heading: "+Z.nearbyHeading),te.push("parent: "+Z.parentTag),w.push({selector:W,attribute:"aria-label",currentValue:A,issueType:"label_in_name",wcag:"2.5.3",context:te.join(" | "),needsAI:true,outerHtml:(x.outerHTML||"").slice(0,300)});}return w},rh={name:"labelInName",cap:40,async detect(h){return h.evaluate(O3)}};var M3=()=>{function h(D){let A=D.closest("section,article,div,nav,main,aside,header,footer"),T=A?A.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]",w=50,v=[];document.querySelector('main, [role="main"]')||v.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 D of x){if(v.length>=w)break;if(D.closest(p)||!isVisible(D)||isHiddenFromAT(D)||D.tagName.toLowerCase()==="nav")continue;let A=D.getAttribute("role");if(A&&A!=="navigation")continue;let T=(D.className&&typeof D.className=="string"?D.className:"").toLowerCase(),S=(D.id||"").toLowerCase();if(!(T.includes("nav")||T.includes("menu")||T.includes("navigation")||S.includes("nav")||S.includes("menu")||S.includes("navigation"))||D.closest('nav, [role="navigation"]'))continue;let F=Array.from(D.querySelectorAll('nav, [role="navigation"]')).filter(K=>isVisible(K)&&!isHiddenFromAT(K)),P=Array.from(D.querySelectorAll("a[href]")).filter(K=>!F.some(j=>j.contains(K)));if(P.length<3)continue;let M=D.closest('header, [role="banner"], footer, [role="contentinfo"]'),$=!!M&&Array.from(M.querySelectorAll('nav, [role="navigation"]')).some(K=>!D.contains(K)&&isVisible(K)&&!isHiddenFromAT(K))||F.length>0,z=uniqueSel(D);v.push({selector:z,attribute:"role",currentValue:"",issueType:"missing_landmark",wcag:"1.3.1",context:JSON.stringify({tag:D.tagName.toLowerCase(),reason:'navigation-like container missing role="navigation"',linkCount:P.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:D.outerHTML.slice(0,300)});}let g=document.querySelectorAll('aside, [role="complementary"]'),b=Array.from(g).filter(D=>!D.closest(p)&&isVisible(D)&&!isHiddenFromAT(D));if(b.length>1)for(let D of b){if(v.length>=w)break;let A=D.getAttribute("aria-label")||"",T=D.getAttribute("aria-labelledby")||"",S=D.getAttribute("title")||"";if(A.trim()||T.trim()||S.trim())continue;let E=h(D),F=uniqueSel(D);v.push({selector:F,attribute:"aria-label",currentValue:"",issueType:"missing_landmark",wcag:"1.3.1",context:JSON.stringify({tag:D.tagName.toLowerCase(),reason:"multiple complementary landmarks without distinguishing labels",totalAsides:g.length,nearbyHeading:E}),needsAI:true,outerHtml:D.outerHTML.slice(0,300)});}let _=document.querySelectorAll('nav, [role="navigation"]'),R=Array.from(_).filter(D=>!D.closest(p)&&isVisible(D)&&!isHiddenFromAT(D));if(R.length>1)for(let D of R){if(v.length>=w)break;let A=D.getAttribute("aria-label")||"",T=D.getAttribute("aria-labelledby")||"",S=D.getAttribute("title")||"";if(A.trim()||T.trim()||S.trim())continue;let E=h(D),F=uniqueSel(D);v.push({selector:F,attribute:"aria-label",currentValue:"",issueType:"missing_landmark",wcag:"1.3.1",context:JSON.stringify({tag:D.tagName.toLowerCase(),reason:"multiple nav landmarks without distinguishing labels",totalNavs:_.length,nearbyHeading:E}),needsAI:true,outerHtml:D.outerHTML.slice(0,300)});}return v},ah={name:"landmarkRoles",cap:50,async detect(h){return h.evaluate(M3)}};var N3=()=>{let h="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=EquallyAI]",w=["click here","click","here","read more","more","link","this","go","info","details","learn more","see more","view","open","tap"],v=[];function f(D){if(!D)return "";let A=D.split("#")[0];return A.length>1&&A.charAt(A.length-1)==="/"&&(A=A.substring(0,A.length-1)),A}function x(D){let A=(D.getAttribute("aria-label")||"").trim();return A||(D.textContent||"").trim().replace(/\s+/g," ")}function g(D){return !!D.closest('nav, [role="navigation"], [role="menubar"], [class*=breadcrumb], [aria-label*="breadcrumb" i]')}let b={},_=document.querySelectorAll("a[href]");for(let D=0;D<_.length;D++){let A=_[D];if(A.closest(h)||A.getAttribute("aria-hidden")==="true"||!isVisible(A))continue;let T=A.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=A.href||T,F=f(E);if(!F||g(A))continue;let P=(A.textContent||"").trim(),M=!!A.querySelector("img, svg, picture");if(!P&&M)continue;let H=x(A);if(!H)continue;let $=H.toLowerCase();$===S||$===E.toLowerCase()||(b[F]||(b[F]=[]),b[F].push(A));}let R=Object.keys(b);for(let D=0;D<R.length&&!(v.length>=30);D++){let A=b[R[D]];if(!A||A.length<2)continue;let T={},S="";for(let M=0;M<A.length;M++){let H=x(A[M]),$=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 P=false;for(let M=0;M<w.length;M++)if(F===w[M]){P=true;break}if(!P)for(let M=0;M<A.length&&!(v.length>=30);M++){let H=A[M],$=x(H);if($.toLowerCase()===F)continue;let z=uniqueSel(H);v.push({selector:z,attribute:"aria-label",currentValue:$,issueType:"link_consistency",wcag:"3.2.4",context:"Same href as "+A.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 v},nh={name:"linkConsistency",cap:30,async detect(h){return h.evaluate(N3)}};var q3=()=>{let p=[],w=[".pdf",".doc",".docx",".xls",".xlsx",".zip",".csv",".ppt",".pptx",".txt",".rtf",".epub"],v={".pdf":"PDF",".doc":"Word document",".docx":"Word document",".xls":"Excel spreadsheet",".xlsx":"Excel spreadsheet",".zip":"ZIP archive",".csv":"CSV file",".ppt":"PowerPoint",".pptx":"PowerPoint",".txt":"text file",".rtf":"RTF document",".epub":"EPUB file"},f="";try{f=window.location&&window.location.hostname||"";}catch{f="";}f=(f||"").toLowerCase();function x(E,F){if(!E||!F)return false;if(E===F||E.endsWith("."+F)||F.endsWith("."+E))return true;let P=M=>{let H=M.split(".");if(H.length<=2)return M;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 P(E)===P(F)}function g(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 _(E){if(!E)return "";let F=E,P=F.indexOf("?");P>=0&&(F=F.slice(0,P));let M=F.indexOf("#");M>=0&&(F=F.slice(0,M)),F=F.toLowerCase();for(let H=0;H<w.length;H++){let $=w[H];if(F.length>=$.length&&F.slice(F.length-$.length)===$)return $}return ""}function R(E){let F=[],P=(E.getAttribute("aria-label")||"").trim();P&&F.push(P);let M=(E.getAttribute("title")||"").trim();M&&F.push(M);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 D(E,F,P){let M="";try{typeof getAccessibleName=="function"&&(M=(getAccessibleName(E)||"").trim());}catch{}let H=(F||P||M||E.textContent||"").replace(/\s+/g," ").trim();return H||(E.getAttribute("href")||"").trim().replace(/^https?:\/\//i,"").replace(/\/+$/,"")}function A(E,F){let M=200-F.length;M<8&&(M=8);let H=E;if(H.length>M){let $=H.slice(0,M),z=$.lastIndexOf(" ");z>M*.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 P=F.getAttribute("href");if(P==null)continue;let M=String(P).trim();if(!M)continue;let H=M.toLowerCase(),$=R(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=M==="#",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: "+M),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:M,issueType:"placeholder_link",wcag:"2.4.4",context:Ye.join(" | "),needsAI:false,fixValue:"button",outerHtml:Z});continue}if(M.charAt(0)==="#"&&M.length>1){let qe=M.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=_(H);if(re){let qe=F.hasAttribute&&F.hasAttribute("download"),ke=(v[re]||re).toLowerCase(),ze=$.indexOf(re)>=0||$.indexOf(ke)>=0||$.indexOf("download")>=0;if(!qe&&!ze){let Ke=D(F,(F.getAttribute("aria-label")||"").trim(),""),Ze=A(Ke," ("+(v[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: "+M.slice(0,120),needsAI:false,fixValue:Ze,outerHtml:Z});continue}}let me=b(M),Ie=H.indexOf("http://")===0||H.indexOf("https://")===0||H.indexOf("//")===0,Ce=!!me&&!!f&&!x(g(me),g(f));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=D(F,ze,Ke),Le=A(Ye," (opens in new window)"),Ue=[];qe||Ue.push("missing rel=noopener"),ke||Ue.push('missing "new window" hint'),Ue.push("href: "+M.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=D(F,ze,Ke),Le=A(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: "+f+") | href: "+M.slice(0,120),needsAI:false,fixValue:Le,outerHtml:Z});}}}return p},ih={name:"linkWarnings",cap:50,async detect(h){return h.evaluate(q3)}};var B3=()=>{let h="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=ae-exclude],[id*=ae_app],[id*=ae_],[class*=EquallyAI]",w=[],v=new Set,f=document.querySelectorAll('main, [role="main"]'),x=[];return f.forEach(g=>{let b=getComputedStyle(g);b.display!=="none"&&b.visibility!=="hidden"&&x.push(g);}),f.forEach(g=>{if(w.length>=10||g.closest(h)||g.getAttribute("aria-hidden")!=="true")return;let b=getComputedStyle(g);if(b.display==="none"||b.visibility==="hidden"||g.closest('[role="dialog"]')||g.closest('[role="alertdialog"]')||g.closest("dialog")||x.some(A=>A!==g&&A.getAttribute("aria-hidden")!=="true"))return;let R=g.parentElement;for(;R&&R!==document.body&&R!==document.documentElement;){if(R.getAttribute("aria-hidden")==="true")return;R=R.parentElement;}let D=uniqueSel(g);v.has(D)||(v.add(D),w.push({selector:D,attribute:"aria-hidden",currentValue:"true",issueType:"main_content_hidden",wcag:"4.1.2",context:JSON.stringify({tag:g.tagName.toLowerCase(),role:g.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:(g.outerHTML||"").slice(0,300)}));}),w},oh={name:"mainContentHidden",cap:10,async detect(h){return h.evaluate(B3)}};var H3=()=>{let p=[];function w(g){return !!(!g||isWidget(g)||(g.getAttribute("aria-hidden")||"").trim().toLowerCase()==="true")}function v(g){return (g.outerHTML||"").slice(0,300)}let f=document.querySelectorAll("video");for(let g of f){if(p.length>=10)break;let b=g;if(w(b))continue;let _=b.hasAttribute("controls"),R=b.hasAttribute("autoplay"),D=b.hasAttribute("muted"),A=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:v(b)}),p.length>=10))break;R&&!D&&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:v(b)});}let x=document.querySelectorAll("audio");for(let g of x){if(p.length>=10)break;let b=g;if(w(b))continue;let _=b.hasAttribute("controls"),R=b.hasAttribute("autoplay");if(!_&&(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:v(b)}),p.length>=10))break;R&&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:v(b)});}return p},sh={name:"mediaControls",cap:10,async detect(h){return h.evaluate(H3)}};var V3=()=>{let h="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",w=[],v=/^(image|photo|img|picture|pic|untitled|banner|hero|\d{1,2})$/i,f=/^(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 g of x){if(w.length>=50)break;if(g.closest(h))continue;let b=g.getAttribute("src")||"",_=g.getAttribute("alt");if(b.startsWith("data:"))continue;let R=g.naturalWidth||g.width,D=g.naturalHeight||g.height;if(R<=3&&D<=3&&R>0&&D>0||R<=2&&D<=2)continue;let A=g.getBoundingClientRect();if(A.width<=2&&A.height<=2||!isVisible(g)||g.getAttribute("role")==="presentation"||g.getAttribute("role")==="none"||g.getAttribute("aria-hidden")==="true"||g.closest('[aria-hidden="true"]'))continue;let T=(g.getAttribute("aria-label")||"").trim(),S=(g.getAttribute("aria-labelledby")||"").trim();if(T||S)continue;let E=g.getBoundingClientRect(),F=E.width>0&&E.width<=30&&E.height<=30,P=!!g.closest('a, button, [role="button"], [role="link"]');if(F&&!P&&_===null){let K=uniqueSel(g);w.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(_===null){let K=uniqueSel(g),j=getNearbyContext(g),W=[],Z=g.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=g.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{}w.push({selector:K,attribute:"alt",currentValue:"",issueType:"missing_alt",wcag:"1.1.1",context:W.join(" | "),needsAI:true,imageSrc:ie,outerHtml:g.outerHTML.slice(0,300)});continue}let M=(_||"").trim();if(M==="")continue;let H=/\.(jpg|jpeg|png|gif|webp|svg|bmp|ico)$/i.test(M),$=v.test(M),z=f.test(M);if(H||$||z){let K=uniqueSel(g),j=getNearbyContext(g),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{}w.push({selector:K,attribute:"alt",currentValue:M,issueType:"missing_alt",wcag:"1.1.1",context:W.join(" | "),needsAI:true,imageSrc:Z,outerHtml:g.outerHTML.slice(0,300)});}}return w},lh={name:"missingAlt",cap:50,async detect(h){return h.evaluate(V3)}};var j3=()=>{let h="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",p=["hidden","submit","button","reset","image"],w=["wpnonce","_token","csrf","nonce","captcha"],f=[],x=document.querySelectorAll("input, select, textarea");for(let g of x){if(f.length>=50)break;if(g.closest(h))continue;let b=g,_=b.getAttribute("type")||b.tagName.toLowerCase();if(p.includes(_.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 A=b.getAttribute("id")||"",T=b.getAttribute("name")||"",S=(A+" "+T).toLowerCase();if(w.some(K=>S.includes(K)))continue;let E=false;if(A){let K=document.querySelector('label[for="'+CSS.escape(A)+'"]');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),P=getNearbyContext(b),M=(b.getAttribute("placeholder")||"").trim(),H=b.closest("form"),$=H&&(H.getAttribute("id")||H.getAttribute("action"))||"",z=[];M&&z.push("placeholder: "+M),T&&z.push("name: "+T),_&&z.push("type: "+_),$&&z.push("form: "+$.slice(0,60)),P.nearbyHeading&&z.push("heading: "+P.nearbyHeading),z.push("parent: "+P.parentTag),f.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 f},uh={name:"missingLabels",cap:50,async detect(h){return h.evaluate(j3)}};var $3=()=>{let h="[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"]',w=["onclick","data-action","ng-click","@click","v-on:click"],v=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},f=E=>Array.prototype.some.call(E.querySelectorAll("a:not([href])"),F=>v(F)&&!isHiddenFromAT(F)&&w.some(P=>F.hasAttribute(P))),x=E=>Array.prototype.some.call(E.querySelectorAll(p),F=>v(F)&&!isHiddenFromAT(F)),b=[];return document.querySelectorAll("div[onclick], span[onclick]").forEach(E=>{if(b.length>=50||E.closest(h)||!isVisible(E)||isHiddenFromAT(E)||x(E)||f(E))return;let F=E.getAttribute("role");if(F==="button"||F==="link"||F==="tab"||F==="menuitem"||F==="checkbox"||F==="radio")return;let P=uniqueSel(E),M=E.outerHTML.slice(0,300);b.push({selector:P,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:M}),E.getAttribute("tabindex")===null&&b.push({selector:P,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:M});}),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(h)||!isVisible(E)||isHiddenFromAT(E)||E.getAttribute("role"))return;let P=E.hasAttribute("onclick"),M=E.getAttribute("data-action")||E.getAttribute("ng-click")||E.getAttribute("@click")||E.getAttribute("v-on:click");if(!P&&!M||x(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:P}),needsAI:false,fixValue:"button",outerHtml:$});}),document.querySelectorAll('a[href^="#"]:not([href="#"]), a[href^="javascript:"]').forEach(E=>{if(b.length>=50||E.closest(h)||!isVisible(E)||isHiddenFromAT(E)||E.getAttribute("role"))return;let P=E.getAttribute("href")||"",M=false;if(P.startsWith("#")&&P.length>1){if(P.charAt(1)==="/")return;let K=P.slice(1);if(document.getElementById(K))return;try{if(document.querySelector('[name="'+CSS.escape(K)+'"]'))return}catch{}M=true;}let H=P.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"),$=M&&!H;if(x(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:P,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(h)||!isVisible(E)||isHiddenFromAT(E))return;let F=(E.className&&typeof E.className=="string"?E.className:"").toLowerCase(),P=(E.id||"").toLowerCase();if(!F.includes("breadcrumb")&&!F.includes("crumb")&&!P.includes("breadcrumb")&&!P.includes("crumb"))return;let M=E.querySelectorAll("a");if(M.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:M.length}),needsAI:false,fixValue:"Breadcrumb",outerHtml:E.outerHTML.slice(0,300)});}),document.querySelectorAll("form, section, div").forEach(E=>{if(b.length>=50||E.closest(h)||!isVisible(E)||isHiddenFromAT(E))return;let F=(E.className&&typeof E.className=="string"?E.className:"").toLowerCase(),P=(E.id||"").toLowerCase();if(!F.includes("search")&&!P.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(h))return;let F=E.getAttribute("role")||"menu",P=Array.from(E.querySelectorAll("a")).filter(H=>{if(!isVisible(H)||isHiddenFromAT(H))return false;let $=H.getAttribute("role");return $!=="menuitem"&&$!=="menuitemcheckbox"&&$!=="menuitemradio"});if(P.length===0)return;let M=uniqueSel(E);b.push({selector:M,attribute:"role",currentValue:F,issueType:"missing_semantic_role",wcag:"4.1.2",context:JSON.stringify({tag:E.tagName.toLowerCase(),reason:`${P.length} link(s) inside role="${F}" without menuitem roles`,sample:P.slice(0,3).map(H=>(H.textContent||"").trim().slice(0,40))}),message:`container role="${F}" holds ${P.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},ch={name:"missingRoles",cap:50,async detect(h){return h.evaluate($3)}};var z3=()=>{let h="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye]",w=[],v={navigation:'nav, [role="navigation"]',complementary:'aside, [role="complementary"]',search:'[role="search"]',region:'[role="region"]'},f=x=>{let g=R=>{let D=R.tagName.toLowerCase(),A=R.parentElement;if(!A)return D;let T=Array.from(A.children).filter(S=>S.tagName===R.tagName);return T.length>1?`${D}:nth-of-type(${T.indexOf(R)+1})`:D},b=[],_=x;for(;_&&_!==document.body&&_!==document.documentElement;)b.unshift(g(_)),_=_.parentElement;return b.length?b.join(" > "):x.tagName.toLowerCase()};for(let[x,g]of Object.entries(v)){let b=Array.from(document.querySelectorAll(g));b=b.filter(_=>!_.closest(h)),b=b.filter(_=>typeof isVisible=="function"?isVisible(_):true),b=b.filter(_=>_.getAttribute("aria-hidden")!=="true"),!(b.length<2)&&b.forEach(_=>{if(w.length>=30||(_.getAttribute("aria-label")||"").trim()||(_.getAttribute("title")||"").trim())return;let R=_.getAttribute("aria-labelledby");if(R&&typeof __resolveIdRefs=="function"&&__resolveIdRefs(R))return;let D=typeof uniqueSel=="function"?uniqueSel(_):f(_),A=typeof getNearbyContext=="function"?getNearbyContext(_):{nearbyHeading:""},T=_.querySelector("h1, h2, h3, h4, h5, h6"),S=T?(T.textContent||"").trim().slice(0,60):"";w.push({selector:D,attribute:"aria-label",currentValue:"",issueType:"landmark_duplicate_unlabeled",wcag:"1.3.1",context:`type: ${x} | total: ${b.length} | inner-heading: ${S} | nearby: ${A.nearbyHeading||""}`,needsAI:true,outerHtml:(_.outerHTML||"").slice(0,300)});});}return w},dh={name:"multipleLandmarks",cap:30,async detect(h){return h.evaluate(z3)}};var G3=()=>{let h="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye]",w=[],v={main:'main, [role="main"]',navigation:'nav, [role="navigation"]',banner:'header, [role="banner"]',contentinfo:'footer, [role="contentinfo"]',complementary:'aside, [role="complementary"]',search:'[role="search"]'};for(let[f,x]of Object.entries(v))document.querySelectorAll(x).forEach(b=>{if(w.length>=30||b.closest(h)||typeof isVisible=="function"&&!isVisible(b))return;let _=b.parentElement,R=null;for(;_&&_!==document.body;){if(_.matches(x)){R=_;break}_=_.parentElement;}if((f==="banner"||f==="contentinfo")&&b.closest("article, section, aside, main, nav")||!R||b.getAttribute("aria-label")?.trim()||b.getAttribute("aria-labelledby")?.trim())return;let D=typeof uniqueSel=="function"?uniqueSel(b):"",A=typeof getNearbyContext=="function"?getNearbyContext(b):{nearbyHeading:""};w.push({selector:D,attribute:"role",currentValue:b.getAttribute("role")||b.tagName.toLowerCase(),issueType:"nested_landmark",wcag:"1.3.1",context:`nested-in: ${f} | tag: ${b.tagName.toLowerCase()} | heading: ${A.nearbyHeading||""}`,needsAI:false,fixValue:"generic",outerHtml:(b.outerHTML||"").slice(0,300)});});return w},fh={name:"nestedLandmarks",cap:30,async detect(h){return h.evaluate(G3)}};var W3=()=>{let p=[],w=D=>typeof parseCssColor=="function"?parseCssColor(D):null,v=(D,A,T)=>typeof relLuminance=="function"?relLuminance(D,A,T):0,x=(D,A)=>typeof contrastRatio=="function"?contrastRatio(D,A):1;function g(D){let A=D.parentElement,T=0;for(;A&&A!==document.documentElement&&T<6;){let S=getComputedStyle(A).backgroundColor||"",E=w(S);if(E&&E[3]>.5)return [E[0],E[1],E[2]];A=A.parentElement,T++;}return [255,255,255]}function b(D,A,T){return "#"+[D,A,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 _(D,A,T){let E=v(A[0],A[1],A[2])>.5,F=0,P=1,M=null;for(let H=0;H<20;H++){let $=(F+P)/2,z=E?[D[0]*(1-$),D[1]*(1-$),D[2]*(1-$)]:[D[0]+(255-D[0])*$,D[1]+(255-D[1])*$,D[2]+(255-D[2])*$];x(z,A)>=T?(M=[Math.round(z[0]),Math.round(z[1]),Math.round(z[2])],P=$):F=$;}return M}let R=document.querySelectorAll('input:not([type="hidden"]), select, textarea, button, [role="button"], [role="checkbox"], [role="radio"], [role="switch"]');for(let D of R){if(p.length>=30)break;if(isWidget(D)||isHiddenFromAT(D)||!isVisible(D))continue;let A=getComputedStyle(D),T=g(D),S=w(A.backgroundColor||""),E=w(A.borderTopColor||""),F=parseFloat(A.borderTopWidth||"0"),P=(A.borderTopStyle||"").toLowerCase(),M=F>0&&P!=="none"&&P!=="hidden",H=D.tagName.toLowerCase(),$=H==="input"||H==="select"||H==="textarea",z=M&&E&&E[3]>.5?x([E[0],E[1],E[2]],T):null,K=S&&S[3]>.5?x([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(D,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(D.querySelectorAll('img, svg, picture, canvas, i[class], [class*="icon"]')),vr=new Map,jn=le=>{let At=le.getBoundingClientRect();if(At.width*At.height===0)return "absent";let Gt=parseFloat(getComputedStyle(D).opacity||"1");for(let Wt=le;Wt&&Wt!==D;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"},$n=_e.map(jn),lr=_e.filter((le,At)=>$n[At]==="painted"),aa=lr.length>0,ja=!aa&&$n.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),Hr=1;for(let Ge=Qt;Ge&&Ge!==le;Ge=Ge.parentElement||Ge.parentNode)Hr*=parseFloat(getComputedStyle(Ge).opacity||"1");let na=Ge=>Number.isFinite(parseFloat(Ge))?parseFloat(Ge):1;if(tt.fill&&tt.fill!=="none"&&!tt.fill.startsWith("url")&&Gt.push({color:tt.fill,alpha:Hr*na(tt.fillOpacity)}),tt.stroke&&tt.stroke!=="none"&&!tt.stroke.startsWith("url")&&parseFloat(tt.strokeWidth||"0")>0&&Gt.push({color:tt.stroke,alpha:Hr*na(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=w(gt.color);if(!Qt)continue;let tt=Qt[3]*gt.alpha*(vr.get(le)??1),Hr=[Qt[0]*tt+T[0]*(1-tt),Qt[1]*tt+T[1]*(1-tt),Qt[2]*tt+T[2]*(1-tt)],na=x(Hr,T);(Wt===null||na>Wt)&&(Wt=na);}return Wt};if(aa&&lr.map(zt).some(At=>At!==null&&At>=3))continue;let kt=false,Tr=A.position;if((Tr==="absolute"||Tr==="fixed")&&D.parentElement){let le=D.getBoundingClientRect(),At=D.parentElement.getBoundingClientRect(),Gt=At.width*At.height;Gt>0&&le.width*le.height/Gt>=.85&&(kt=true);}if(aa||kt||ja){if(Z=true,W=M&&E&&E[3]>.5?x([E[0],E[1],E[2]],T):1,W>=3)continue;te=aa?"control is identified by an image or icon \u2014 verify the graphic itself has 3:1 contrast against its surroundings":ja?"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=_(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(D),ke=D.tagName.toLowerCase(),ze=j===null&&!M?"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:D.outerHTML.slice(0,200)});}return p},ph={name:"nonTextContrast",cap:30,async detect(h){return h.evaluate(W3)}};var U3=()=>{let h="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",w=[],v=/location\s*[=.]|location\s*\.\s*href|\.submit\s*\(|window\s*\.\s*open|history\s*\.\s*(push|replace)/i,f=document.querySelectorAll("[onfocus]");for(let x of Array.from(f)){if(w.length>=20)break;if(x.closest(h))continue;let g=x.getAttribute("onfocus")||"";if(!g||!v.test(g))continue;let b=typeof uniqueSel=="function"?uniqueSel(x):"",_=typeof getNearbyContext=="function"?getNearbyContext(x):{parentTag:x.tagName.toLowerCase(),nearbyHeading:""},R=[];R.push("tag: "+x.tagName.toLowerCase()),R.push("onfocus: "+g.slice(0,100)),_.nearbyHeading&&R.push("heading: "+_.nearbyHeading),R.push("parent: "+_.parentTag),w.push({selector:b,attribute:"onfocus",currentValue:g.slice(0,200),issueType:"onfocus_context_change",wcag:"3.2.1",context:R.join(" | "),needsAI:true,outerHtml:(x.outerHTML||"").slice(0,300)});}return w},mh={name:"onFocus",cap:20,async detect(h){return h.evaluate(U3)}};var X3=()=>{let h="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",w=[],v={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"]},f=document.querySelectorAll("[role]");for(let x of f){if(w.length>=50)break;if(x.closest(h))continue;let g=(x.getAttribute("role")||"").trim().toLowerCase();if(!g)continue;let b=x.tagName.toLowerCase(),_=v[g];if(!_||!_.includes(b)||g==="link"&&b==="a"&&!x.hasAttribute("href")||(g==="banner"||g==="contentinfo")&&x.closest("article, section, aside, main, nav")||(g==="region"&&b==="section"||g==="form"&&b==="form")&&!((x.getAttribute("aria-label")||"").trim()||(x.getAttribute("aria-labelledby")||"").trim()||(x.getAttribute("title")||"").trim())||g==="complementary"&&b==="aside"&&x.parentElement&&x.parentElement.closest("article, section, aside, main, nav")&&!((x.getAttribute("aria-label")||"").trim()||(x.getAttribute("aria-labelledby")||"").trim()||(x.getAttribute("title")||"").trim())||(g==="list"||g==="listitem")&&(b==="ul"||b==="ol"||b==="li")&&getComputedStyle(x).listStyleType==="none")continue;let R=uniqueSel(x);w.push({selector:R,attribute:"remove_attribute",currentValue:g,issueType:"redundant_role",wcag:"4.1.2",context:"tag: <"+b+'> already has implicit role "'+g+'"',needsAI:false,fixValue:"role"});}return w},hh={name:"redundantRoles",cap:50,async detect(h){return h.evaluate(X3)}};var Y3=()=>{let h="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=ae-exclude],[id*=ae_app],[id*=ae_],[class*=EquallyAI]",v=[],f=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(b=>{if(v.length>=30||b.closest(h))return;let _=b.tagName;if(_==="BODY"||_==="HTML"||!isVisible(b)||isHiddenFromAT(b)||b.hasAttribute("tabindex"))return;let R=b.getAttribute("role");if(R&&x.has(R))return;let D=getComputedStyle(b),A=D.overflowY,T=D.overflowX,S=A==="auto"||A==="scroll",E=T==="auto"||T==="scroll";if(!S&&!E)return;let F=S&&b.scrollHeight-b.clientHeight>50,P=E&&b.scrollWidth-b.clientWidth>50;if(!F&&!P||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(f.has(H))return;f.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")||_==="PRE"||_==="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);v.push({selector:H,attribute:"tabindex",currentValue:"",issueType:"scrollable_not_focusable",wcag:"2.1.1",context:JSON.stringify({tag:_.toLowerCase(),overflowY:S?A: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}),R||v.push({selector:H,attribute:"role",currentValue:"",issueType:"missing_semantic_role",wcag:"2.1.1",context:JSON.stringify({tag:_.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")||v.push({selector:H,attribute:"aria-label",currentValue:"",issueType:"missing_landmark",wcag:"2.1.1",context:JSON.stringify({tag:_.toLowerCase(),labelHint:z,supplementary:"aria-label needed so screen readers announce the scrollable region"}),needsAI:true,outerHtml:K});}),v},gh={name:"scrollableFocus",cap:30,async detect(h){return h.evaluate(Y3)}};var K3=()=>{let h="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=EquallyAI]",w=["fa-","fa ","fas ","far ","fab ","fal ","fad ","material-icons","material-symbols","bi-","bi ","icon-","glyphicon","icofont-","dashicons-","heroicon","feather-","lucide-"],v=[],f=document.querySelectorAll("b, i");for(let x=0;x<f.length&&!(v.length>=30);x++){let g=f[x];if(g.closest(h)||g.getAttribute("aria-hidden")==="true"||g.parentElement&&g.parentElement.closest("strong, em"))continue;let b=g.className&&typeof g.className=="string"?g.className.toLowerCase():"";if(b){let T=false;for(let S=0;S<w.length;S++)if(b.indexOf(w[S])!==-1){T=true;break}if(T)continue}let _=(g.textContent||"").trim();if(!_)continue;let R=g.tagName.toLowerCase(),D=R==="b"?"strong":"em",A=uniqueSel(g);v.push({selector:A,attribute:"tagName",currentValue:R,fixValue:D,issueType:"semantic_emphasis",wcag:"1.3.1",context:"<"+R+'> used for "'+_.slice(0,60)+'". Replace with <'+D+"> so assistive tech conveys the emphasis.",needsAI:false,outerHtml:g.outerHTML.slice(0,300)});}return v},vh={name:"semanticEmphasis",cap:30,async detect(h){return h.evaluate(K3)}};var J3=()=>{let h="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",p=[],w=['a[href="#main-content"]','a[href="#main"]','a[href="#content"]','a[href="#skip"]','a[href="#skip-content"]','a[href="#maincontent"]',"a.skip-link","a.skip-nav","a.skip-to-content","a.skiplink","a.skip-navigation",'[class*="skip-link"]','[class*="skip-nav"]'],v=false;for(let D of w){let A=document.querySelector(D);if(A&&!A.closest(h)){v=true;break}}if(!v){let D=document.querySelectorAll('a[href^="#"]');for(let A of D){if(A.closest(h))continue;let T=(A.textContent||"").toLowerCase();if(T.includes("skip")&&(T.includes("main")||T.includes("content")||T.includes("nav"))){v=true;break}}}if(v)return p;let f="",x=document.querySelector('main[id], [role="main"][id]');if(x&&x.getAttribute("id"))f=x.getAttribute("id");else {let D=document.querySelector("h1[id]");if(D&&D.getAttribute("id"))f=D.getAttribute("id");else {let A=["main-content","maincontent","main","content","skip-content"];for(let T of A)if(document.getElementById(T)){f=T;break}}}let g=f==="",b=f||"main-content",R="<style>.wa-skip-link{position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden;z-index:999999;padding:8px 16px;background:#000;color:#fff;font-size:14px;text-decoration:none;border-radius:0 0 4px 0;}.wa-skip-link:focus{position:fixed;left:8px;top:8px;width:auto;height:auto;overflow:visible;outline:2px solid #fff;outline-offset:2px;}</style>"+'<a href="#'+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:g?'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:R,...g?{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},bh={name:"skipLink",async detect(h){return h.evaluate(J3)}};var Z3=()=>{let w=[],v=document.querySelectorAll("*"),f=0;for(let x of Array.from(v)){if(f++>5e3||w.length>=20)break;if(x.closest("[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye]")||typeof isVisible=="function"&&!isVisible(x))continue;let b=getComputedStyle(x).backgroundImage||"";if(!b||b==="none"||!b.includes("url("))continue;let _=b.match(/url\((['"]?)(.*?)\1\)/);if(!_)continue;let R=_[2];if(!R||R.startsWith("data:")&&R.length<256)continue;let D=x.getBoundingClientRect();if(D.width<32||D.height<32)continue;let A=x.tagName.toLowerCase(),T=x.getAttribute("role")||"",S=A==="a"||A==="button"||T==="button"||T==="link"||x.closest("a,button,[role=button],[role=link]")!==null,E=(x.textContent||"").trim().length>0,F=!!x.getAttribute("aria-label"),P=!!x.getAttribute("aria-labelledby"),M=!!x.getAttribute("title"),H=!!x.querySelector('img[alt]:not([alt=""])');if(F||P||M||H||E||!S)continue;let $=x.closest("a,button,[role=button],[role=link]");if($&&$!==x){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=R;try{z=new URL(R,location.href).toString();}catch{continue}let K=typeof uniqueSel=="function"?uniqueSel(x):"",j=typeof getNearbyContext=="function"?getNearbyContext(x):{parentTag:A,nearbyHeading:""};w.push({selector:K,attribute:"aria-label",currentValue:"",issueType:"background_image_unlabeled",wcag:"1.1.1",context:`bg: ${z.slice(0,140)} | tag: ${A} | role: ${T||"(none)"} | parent: ${j.parentTag}${j.nearbyHeading?" | heading: "+j.nearbyHeading:""}`,needsAI:true,imageSrc:z,outerHtml:(x.outerHTML||"").slice(0,300)});}return w},yh={name:"backgroundImages",cap:20,async detect(h){return h.evaluate(Z3)}},Q3=()=>{let h=[],p=Array.from(document.querySelectorAll("h1")),w=p.filter(v=>{if(v.getAttribute("aria-hidden")==="true"||v.closest('[aria-hidden="true"]')||v.getClientRects().length===0)return false;let f=getComputedStyle(v).visibility;return f==="hidden"||f==="collapse"?false:(v.textContent||"").trim().length>0});if(w.length===0)h.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(w.length>1)for(let v=1;v<w.length&&v<5;v++){let f=w[v],x=typeof uniqueSel=="function"?uniqueSel(f):"";h.push({selector:x,attribute:"data-multiple-h1",currentValue:"",issueType:"multiple_h1",wcag:"1.3.1",context:`${w.length} <h1> elements on page. Text: ${JSON.stringify((f.textContent||"").slice(0,80))}`,needsAI:false,outerHtml:(f.outerHTML||"").slice(0,200)});}return h},wh={name:"h1Presence",async detect(h){return h.evaluate(Q3)}},eI=()=>{let p=[],w=document.querySelectorAll("h1, h2, h3, h4, h5, h6, [role=heading]");for(let v of Array.from(w)){if(p.length>=15)break;if(v.closest("[class*=asw-], [class*=userway], [class*=acsb]")||typeof isVisible=="function"&&!isVisible(v)||(v.textContent||"").trim().length>0)continue;let x=v.getAttribute("aria-label");if(x&&x.trim()||v.getAttribute("aria-labelledby")||v.getAttribute("aria-hidden")==="true")continue;let g=typeof uniqueSel=="function"?uniqueSel(v):"";p.push({selector:g,attribute:"aria-hidden",currentValue:"",issueType:"empty_heading",wcag:"1.3.1",context:`Empty heading: ${v.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:(v.outerHTML||"").slice(0,200)});}return p},xh={cap:15,name:"emptyHeadings",async detect(h){return h.evaluate(eI)}},tI=()=>{let p=[],w=document.querySelectorAll('a[href^="javascript:"], a[href^="JAVASCRIPT:"]');for(let v of Array.from(w)){if(p.length>=15)break;if(v.closest("[class*=asw-], [class*=userway], [class*=acsb]")||typeof isVisible=="function"&&!isVisible(v))continue;let f=(v.getAttribute("role")||"").toLowerCase();if(f==="button")continue;let x=(v.textContent||"").trim();if(!x)continue;let g=typeof uniqueSel=="function"?uniqueSel(v):"";p.push({selector:g,attribute:"role",currentValue:f||"",issueType:"javascript_link",wcag:"2.1.1",context:`<a href="javascript:..."> text: ${JSON.stringify(x.slice(0,60))}`,needsAI:false,fixValue:"button",outerHtml:(v.outerHTML||"").slice(0,200)});}return p},Dh={cap:15,name:"javascriptLinks",async detect(h){return h.evaluate(tI)}};var rI=()=>{let h="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye]",w=[];return document.querySelectorAll("svg").forEach(f=>{if(w.length>=50||f.closest(h)||!isVisible(f)||f.getAttribute("aria-hidden")==="true")return;let g=f.getAttribute("role");if(g==="presentation"||g==="none"||f.closest('[aria-hidden="true"]'))return;let b=f.getAttribute("aria-label")||"",_=f.getAttribute("aria-labelledby")||"",R=f.querySelector("title"),D=R?(R.textContent||"").trim():"";if(b.trim()||_.trim()||D)return;let A=f.getBoundingClientRect(),T=A.width<=16&&A.height<=16;if(A.width<=4||A.height<=4||f.getAttribute("preserveAspectRatio")==="none")return;let S=f.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=f.parentElement;if(Z&&(Z.textContent||"").trim().replace(/\s+/g," ").length>3)return}let E=uniqueSel(f),F=getNearbyContext(S||f),P=S&&S.getAttribute("href")||"",M=(S||f).outerHTML.slice(0,300),H=f.getAttribute("class")||"",$=f.getAttribute("data-icon")||"",z=S||f,K=z&&z!==f&&z.getAttribute("class")||"",j=typeof lookupIconLabel=="function"?lookupIconLabel(String(H),$,"")||lookupIconLabel(String(K),"",""):null,W=S?uniqueSel(S):E;w.push({selector:W,attribute:"aria-label",currentValue:"",issueType:"svg_missing_name",wcag:"1.1.1",context:JSON.stringify({parentTag:(S||f).tagName?(S||f).tagName.toLowerCase():"svg",href:P,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:M});}),w},_h={name:"svgNames",cap:50,async detect(h){return h.evaluate(rI)}};var aI=()=>{let w=[],v=["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(","),f=v;function x(_,R){let D=Array.from(_.getClientRects()).filter(E=>E.height>0);if(!D.length)return false;let A=document.createTreeWalker(R,NodeFilter.SHOW_TEXT),T,S=0;for(;(T=A.nextNode())&&S<400;){S++;let E=T.parentElement;if(!E||_.contains(T)||!/[\p{L}\p{N}]{2,}/u.test(T.textContent||"")||E.closest(f))continue;let F=document.createRange();F.selectNodeContents(T);for(let P of Array.from(F.getClientRects()))if(!(P.width===0||P.height===0)){for(let M of D)if(Math.min(M.bottom,P.bottom)-Math.max(M.top,P.top)>Math.min(M.height,P.height)/2)return true}}return false}let g=document.querySelectorAll(v),b=[];for(let _ of g){if(typeof isWidget=="function"&&isWidget(_)||typeof isHiddenFromAT=="function"&&isHiddenFromAT(_)||typeof isVisible=="function"&&!isVisible(_)||!_.offsetParent&&_.tagName!=="BODY")continue;let R=_.getBoundingClientRect();R.width===0&&R.height===0||b.push({el:_,rect:R});}for(let{el:_,rect:R}of b){if(w.length>=50)break;let D=R.width,A=R.height;if(D>=24&&A>=24)continue;let T=_.parentElement;if(T&&getComputedStyle(_).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&&x(_,W))continue}let S=false,E=R.left+R.width/2,F=R.top+R.height/2;for(let j of b){if(j.el===_||j.el.contains(_)||_.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&&D>=1&&A>=1)continue;let M=Math.max(0,24-A),$=Math.ceil(M/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(_):_.tagName.toLowerCase();w.push({selector:K,attribute:"style",currentValue:Math.round(D)+"x"+Math.round(A)+"px",issueType:"target_too_small",wcag:"2.5.8",context:`${_.tagName.toLowerCase()} is ${Math.round(D)}x${Math.round(A)}px with adjacent targets \u2014 minimum 24x24px or sufficient spacing required`,needsAI:false,fixValue:z.join(";")+";",outerHtml:_.outerHTML.slice(0,200)});}return w},Ah={name:"targetSize",cap:50,async detect(h){return h.evaluate(aI)}};var nI=()=>{let h="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",w=[],v=/(line-height|letter-spacing|word-spacing)\s*:[^;!]*!important/i,f=document.querySelectorAll('[style*="important" i]');for(let x of Array.from(f)){if(w.length>=30)break;if(x.closest(h))continue;let g=x.getAttribute("style")||"";if(!v.test(g))continue;let b=[];/line-height\s*:[^;!]*!important/i.test(g)&&b.push("line-height"),/letter-spacing\s*:[^;!]*!important/i.test(g)&&b.push("letter-spacing"),/word-spacing\s*:[^;!]*!important/i.test(g)&&b.push("word-spacing");let _=typeof uniqueSel=="function"?uniqueSel(x):"",R=typeof getNearbyContext=="function"?getNearbyContext(x):{parentTag:x.tagName.toLowerCase(),nearbyHeading:""},D=[];D.push("blocked: "+b.join(",")),D.push("tag: "+x.tagName.toLowerCase()),R.nearbyHeading&&D.push("heading: "+R.nearbyHeading),D.push("parent: "+R.parentTag),w.push({selector:_,attribute:"style",currentValue:g.slice(0,200),issueType:"text_spacing_blocked",wcag:"1.4.12",context:D.join(" | "),needsAI:true,outerHtml:(x.outerHTML||"").slice(0,300)});}return w},Eh={name:"textSpacing",cap:30,async detect(h){return h.evaluate(nI)}};var iI=()=>{let h="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",w=[],v=document.querySelectorAll('button, input[type="submit"], input[type="button"], input[type="reset"], [role="button"]');for(let f of v){if(w.length>=50)break;if(f.closest(h)||!isVisible(f))continue;let x=f,g=(x.getAttribute("aria-label")||"").trim(),b=x.getAttribute("aria-labelledby"),_=(x.getAttribute("title")||"").trim(),R=(x.getAttribute("value")||"").trim(),D=(x.textContent||"").trim().replace(/\s+/g," "),A="";b&&(A=typeof __resolveIdRefs=="function"?__resolveIdRefs(b):"");let T=x.querySelector('img[alt]:not([alt=""])'),S=x.querySelector("svg title"),E=x.querySelector("svg[aria-label]");if(!!(g||A||_||R||D||T||S||E))continue;let P=uniqueSel(x),M=getNearbyContext(x),H=x.closest("form"),$=H&&(H.getAttribute("id")||H.getAttribute("name"))||"",z=x.className||"",K=x.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: "+$),M.nearbyHeading&&me.push("heading: "+M.nearbyHeading),j&&me.push("icon: "+String(j).slice(0,80)),z&&me.push("class: "+String(z).slice(0,80)),me.push("parent: "+M.parentTag),re&&me.push("icon-lib: "+re),w.push({selector:P,attribute:"aria-label",currentValue:"",issueType:"unlabeled_button",wcag:"4.1.2",context:me.join(" | "),needsAI:!re,fixValue:re||void 0,outerHtml:x.outerHTML.slice(0,300)});}return w},Ch={name:"unlabeledButtons",cap:50,async detect(h){return h.evaluate(iI)}};var oI=()=>{let h=new Set(ALWAYS_VAGUE_WORDS),p=new Set(CONTEXT_VAGUE_WORDS),w={};function v(j,W){if(isWidget(j)||!isVisible(j))return;let Z=getAccessibleName(j);if(!Z)return;let te=(W?"b:":"a:")+Z.toLowerCase().trim();w[te]=(w[te]||0)+1;}document.querySelectorAll('button, [role="button"], input[type="button"], input[type="submit"]').forEach(j=>v(j,true)),document.querySelectorAll("a[href]").forEach(j=>v(j,false));let f=isIconClassToken,x=/[\u4e00-\u9fff\u3040-\u30ff\uac00-\ud7af]/;function g(j,W){return x.test(j)?1:W}let b=50,_=[];function R(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(f))return true;return false}function D(j){let W=j.className||"";return typeof W!="string"?false:W.split(/\s+/).some(f)}function A(j,W){if(_.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<g(Z,3)&&!re&&!me)ie=true;else if(h.has(te))ie=true;else if(p.has(te)&&(w[(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 (R(j)||D(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);_.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=>A(j,true)),document.querySelectorAll("a[href]").forEach(j=>A(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 P(j){return !!(!j||j.getAttribute("aria-hidden")==="true"||j.closest('[aria-hidden="true"]'))}function M(j,W,Z,te,ie,re){if(_.length>=b)return;let me=uniqueSel(j),Ie=(j.outerHTML||"").slice(0,300);_.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&&!(_.length>=b);j++){let W=H[j];if(!W||isWidget(W)||P(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<g(Z,3)||ie.length===1&&(h.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);M(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&&!(_.length>=b);j++){let W=$[j];if(!W||isWidget(W)||P(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<g(te,3)||S.test(ie)||h.has(ie))&&(re=true),!re)continue;let me=(W.getAttribute("src")||"").slice(0,120),Ie=getNearbyContext(W);M(W,"title",te,"weak_iframe_title","4.1.2",{currentTitle:te,src:me,nearbyHeading:Ie.nearbyHeading,parentTag:Ie.parentTag});}if(_.length<b){let j=document.querySelector("head > title, title"),W=(document.title||"").trim();if(j&&W){let Z=W.toLowerCase(),te=false;(W.length<g(W,5)||T.test(Z)||/^untitled/i.test(W))&&(te=true),te&&_.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&&!(_.length>=b);j++){let W=z[j];if(!W||isWidget(W)||P(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<g(re,3)||h.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);M(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&&!(_.length>=b);j++){let W=K[j];if(!W||isWidget(W)||P(W))continue;let Z=getAccessibleName(W);if(!Z)continue;let te=Z.toLowerCase().trim(),ie=false;if((Z.length<g(Z,4)||E.test(te)||te==="skip"||te==="skip link"||te==="jump")&&(ie=true),!ie)continue;let re=W.getAttribute("href")||"";_.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 _},Sh={name:"weakNames",cap:50,async detect(h){return h.evaluate(oI)}};var sI=()=>{let p=[],w=document.querySelector('meta[name="viewport"]');if(w){let f=(w.getAttribute("content")||"").trim(),x=f.toLowerCase(),g=false,b=[];(x.indexOf("user-scalable=no")>=0||x.indexOf("user-scalable=0")>=0)&&(g=true,b.push("user-scalable=no blocks pinch-zoom"));let _=x.match(/maximum-scale\s*=\s*([\d.]+)/);_&&parseFloat(_[1])<2&&(g=true,b.push("maximum-scale="+_[1]+" (<2)")),g&&p.push({selector:'meta[name="viewport"]',attribute:"content",currentValue:f,issueType:"zoom_restriction",wcag:"1.4.4",context:"viewport blocks zoom: "+b.join(" | "),needsAI:false,fixValue:"width=device-width, initial-scale=1"});}let v=[{el:document.documentElement,selector:"html"},{el:document.body,selector:"body"}];for(let f=0;f<v.length&&!(p.length>=5);f++){let x=v[f];if(x.el)try{let b=(getComputedStyle(x.el).getPropertyValue("touch-action")||"").trim().toLowerCase();(b==="none"||b==="pinch-zoom")&&p.push({selector:x.selector,attribute:"style",currentValue:"touch-action: "+b,issueType:"zoom_restriction",wcag:"1.4.4",context:"CSS touch-action: "+b+" on <"+x.selector+"> prevents pinch-zoom",needsAI:!1,fixValue:"touch-action: manipulation !important;"});}catch{}}return p},kh={name:"zoomUnlock",cap:5,async detect(h){return h.evaluate(sI)}};var lI=()=>{let h=[],p=document.querySelectorAll('main *, [role="main"] *, body > div *'),w=new Set,v=Math.min(p.length,200);for(let f=0;f<v;f++){let x=p[f];if(w.has(x)||!x.offsetParent)continue;w.add(x);let g=getComputedStyle(x),b=parseInt(g.order||"0",10),_=g.position;if(b>=3){let R=x.getBoundingClientRect();if(R.width>0&&R.height>0){let D=(x.textContent?.trim().length||0)>10,A=!!x.querySelector("a, button, input, select, textarea");(D||A)&&h.push({selector:typeof uniqueSel=="function"?uniqueSel(x):x.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(_==="absolute"){if(!!!x.querySelector("a, button, input, select, textarea"))continue;let D=x.parentElement;if(!D||D.children.length<=2)continue;let A=x.getBoundingClientRect(),T=D.getBoundingClientRect();(A.top<T.top-100||A.left<T.left-300)&&h.push({selector:typeof uniqueSel=="function"?uniqueSel(x):x.tagName.toLowerCase(),attribute:"data-sequence-review",currentValue:`position: ${_}, displaced ${Math.round(Math.abs(A.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 h},Th={name:"meaningfulSequence",async detect(h){return h.evaluate(lI)}};var Fh={name:"sensoryCharacteristics",async detect(h){let p=await h.evaluate(()=>{let v=[],f=document.querySelectorAll('p, li, td, label, span, div, a, button, h1, h2, h3, h4, h5, h6, figcaption, [role="alert"], [role="status"]'),x=Math.min(f.length,300);for(let g=0;g<x;g++){let b=f[g];if(!b.offsetParent||b.children.length>3)continue;let _=b.textContent?.trim()||"";_.length<15||_.length>300||/click|tap|press|select|choose|find|look|see|drag|scroll|hover|go to|navigate/i.test(_)&&v.push({text:_,selector:typeof uniqueSel=="function"?uniqueSel(b):b.tagName.toLowerCase()});}return v.slice(0,20)});if(p.length===0)return [];let w=[];for(let{text:v,selector:f}of p){v.toLowerCase();let g=/\b(round|square|circular|triangular|arrow-shaped)\b.*\b(button|icon|element|thing)\b/i.test(v)&&!/\b(submit|cancel|close|menu|search|delete|edit|save|back|next|previous|home)\b/i.test(v),b=/\b(on the|to the|in the)\s+(left|right|top|bottom|upper|lower|above|below|sidebar)\b/i.test(v)&&!/\b(navigation|menu|header|footer|sidebar menu|breadcrumb)\b/i.test(v)&&/\b(click|tap|press|select|find)\b/i.test(v),_=/\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(v)&&!/\b(submit|cancel|close|delete|save|success|error|warning|danger)\b/i.test(v),R=/\b(large|small|big|tiny|narrow|wide)\s+(button|link|icon|box|area)\b/i.test(v)&&/\b(click|tap|press|select|find)\b/i.test(v);if(g||b||_||R){let D=g?"shape":b?"position":_?"color":"size";w.push({selector:f,attribute:"data-sensory-review",currentValue:v.slice(0,100),issueType:"sensory_characteristic",wcag:"1.3.3",context:`Instruction relies on ${D} alone: "${v.slice(0,80)}". Provide a non-sensory way to identify the referenced element (e.g., by name, label, or function).`,needsAI:true});}}return w}};var uI=()=>{let h=[];for(let p of document.styleSheets)try{for(let w of p.cssRules)if(w instanceof CSSMediaRule){let v=w.conditionText||w.media?.mediaText||"";if(/orientation\s*:\s*(portrait|landscape)/i.test(v))for(let f of w.cssRules){let x=f.cssText||"";/display\s*:\s*none|visibility\s*:\s*hidden|transform\s*:\s*rotate/i.test(x)&&h.push({selector:"html",attribute:"data-orientation-lock",currentValue:v,issueType:"orientation_lock",wcag:"1.3.4",context:`CSS media query "${v}" 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 h},Rh={name:"orientation",async detect(h){return h.evaluate(uI)}};var cI=()=>{let h=[],p=document.querySelectorAll("img");for(let w of p){if(!w.offsetParent||w.width<50||w.height<20||w.complete&&w.naturalWidth===0)continue;let v=w.src||w.getAttribute("data-src")||"",f=v.indexOf(","),x=(v.toLowerCase().startsWith("data:")&&f!==-1?v.slice(0,f):v).toLowerCase(),g=w.getAttribute("alt")||"",b=w.getAttribute("role")||"";if(w.getAttribute("aria-hidden")==="true"||!!w.closest('[aria-hidden="true"]')||b==="presentation"||b==="none"||w.hasAttribute("alt")&&g.trim()==="")continue;let R=w.width>200&&w.height<80&&w.height>15,D=/banner|header|logo-text|title|heading|cta|promo|offer|button.*\.(?:png|jpg|gif|webp)/i.test(x);if(!(D||R)||/(?:^|\/)(?:img|dsc|dscn|dcim|pict)[-_]?\d|photo|gallery/i.test(x)&&!D)continue;let T=w.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=g.trim().split(/\s+/).filter(Boolean);if(K.origin!==location.origin&&/^https?:$/.test(K.protocol)&&j.length>0&&j.length<=4&&g.trim().length<=40){let W=me=>me.toLowerCase().normalize("NFKD").replace(/[^\p{L}\p{N}]/gu,""),Z=W(g),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 P=!!w.closest('header, [role="banner"], footer, [role="contentinfo"]'),M=w.height>0&&w.height<=120,H=P&&M,$=/logo|brand|wordmark|hero|banner-?(?:img|image)?|footer|marketing|promo|cover|screenshot|dashboard/i,z=H||$.test(x)||$.test(w.className)||$.test(w.id||"");x.includes("icon")||x.includes("avatar")||x.includes("emoji")||h.push({selector:typeof uniqueSel=="function"?uniqueSel(w):"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 (${w.width}x${w.height}px, alt="${g.slice(0,40)}"). Use real text with CSS styling instead.`,needsAI:true,imageSrc:w.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 h},Ih={name:"imagesOfText",async detect(h){return h.evaluate(cI)}};var Lh={name:"reflow",async detect(h){let p=h;if(!p.setViewport)return [];let w=p.viewport?.()??{width:1280,height:720},v=w.width??1280,f=w.height??720;try{return await p.setViewport({width:320,height:f}),await new Promise(g=>setTimeout(g,500)),await h.evaluate(g=>{let b=[],_=document.querySelectorAll("body *"),R=Math.min(_.length,500);for(let D=0;D<R;D++){let A=_[D];if(!A.offsetParent)continue;let T=A.tagName.toLowerCase();if(T==="script"||T==="style"||T==="noscript")continue;let S=A.getBoundingClientRect();S.right>g+5&&S.width>g*1.1&&b.push({selector:typeof uniqueSel=="function"?uniqueSel(A):T,attribute:"style",currentValue:`${Math.round(S.width)}px wide at ${g}px viewport`,issueType:"reflow_overflow",wcag:"1.4.10",context:`Element is ${Math.round(S.width)}px wide and overflows the ${g}px viewport by ${Math.round(S.right-g)}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>g+10&&b.push({selector:"html",attribute:"data-reflow",currentValue:`scrollWidth ${document.documentElement.scrollWidth}px at ${g}px viewport`,issueType:"reflow_overflow",wcag:"1.4.10",context:`Page has horizontal scrollbar at ${g}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:v,height:f}).catch(()=>{});}}};var dI=()=>{let h=[],p=document.querySelectorAll("video");for(let f of p){if(f.autoplay&&!f.muted&&h.push({selector:typeof uniqueSel=="function"?uniqueSel(f):"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"}),!(f.offsetParent!==null&&getComputedStyle(f).display!=="none"))continue;let g=f.getBoundingClientRect();if(g.width===0&&g.height===0||f.error||f.muted&&f.autoplay&&f.loop&&!f.hasAttribute("controls"))continue;let b=f.querySelectorAll("track"),_=Array.from(b).find(T=>T.kind==="captions"||T.kind==="subtitles"),R=Array.from(b).find(T=>T.kind==="descriptions");f.src||f.querySelector("source")?.src||"";let A=typeof uniqueSel=="function"?uniqueSel(f):"video";_||h.push({selector:A,attribute:"data-captions-missing",currentValue:"",issueType:"missing_captions",wcag:"1.2.2",context:'Video element has no <track kind="captions">. Provide synchronized captions for all prerecorded audio content. Add: <track kind="captions" src="captions.vtt" srclang="en" label="English">',needsAI:false,fixValue:'Add <track kind="captions" src="captions.vtt" srclang="en" label="English" default>',needsReview:true,reviewReason:"cannot verify an audio track in-page \u2014 confirm the video has speech content before adding captions (silent videos need none)"}),R||h.push({selector:A,attribute:"data-audio-description",currentValue:"",issueType:"missing_audio_description",wcag:"1.2.5",context:"Video has no audio description track. For prerecorded video with meaningful visual content not described in the audio, provide an audio description track or a text transcript.",needsAI:true});}let w=document.querySelectorAll("audio");for(let f of w){let x=typeof uniqueSel=="function"?uniqueSel(f):"audio";f.closest("figure, div, section")?.querySelector('a[href*="transcript"], [class*="transcript"]')||h.push({selector:x,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}),f.autoplay&&!f.muted&&h.push({selector:x,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 v=document.querySelectorAll("iframe");for(let f of v){let x=(f.src||"").toLowerCase();if(!x.includes("youtube")&&!x.includes("vimeo")&&!x.includes("dailymotion")&&!x.includes("wistia")||!f.offsetParent||getComputedStyle(f).display==="none")continue;let g=f.getBoundingClientRect();if(g.width===0&&g.height===0)continue;let b=typeof uniqueSel=="function"?uniqueSel(f):"iframe";f.closest("figure, div, section, article")?.querySelector('a[href*="transcript"], [class*="transcript"], [id*="transcript"]')||h.push({selector:b,attribute:"data-video-transcript",currentValue:"",issueType:"missing_captions",wcag:"1.2.2",context:`Embedded video player detected (${x.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 h},Ph={name:"mediaAlternatives",cap:50,async detect(h){return (await h.evaluate(dI)).slice(0,50)}};var fI=()=>{let h=[],p=document.querySelector('meta[http-equiv="refresh"]');if(p){let P=p.getAttribute("content")||"",M=parseInt(P,10);!isNaN(M)&&M>0&&M<72e3&&h.push({selector:`meta[http-equiv="refresh"][content*="${P.trim().slice(0,20)}"]`,attribute:"data-auto-refresh",currentValue:P,issueType:"auto_refresh",wcag:"2.2.1",context:`Page auto-refreshes after ${M}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 ${M}s time limit before it triggers.`});}let w=document.querySelectorAll("[accesskey]");for(let P of w){let M=P.getAttribute("accesskey")||"";if(M.length===1){let H=typeof uniqueSel=="function"?uniqueSel(P):P.tagName.toLowerCase();h.push({selector:H,attribute:"accesskey",currentValue:M,issueType:"character_key_shortcut",wcag:"2.1.4",context:`Single character accesskey "${M}". Must allow users to remap or disable single-character shortcuts. Consider using modifier key combinations instead.`,needsAI:false,fixValue:"Provide a mechanism to remap or turn off the shortcut, or use modifier keys"});}}let v=document.querySelectorAll("select");for(let P of v){let M=P.hasAttribute("onchange"),H=P.getAttribute("onchange")||"";if(M&&/submit|location|href|navigate|window\./i.test(H)){let $=typeof uniqueSel=="function"?uniqueSel(P):"select";h.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 f=document.querySelectorAll("[ontouchstart], [ontouchmove], [ongesturestart], [ongesturechange]");for(let P of f)if(!(P.hasAttribute("onclick")||P.hasAttribute("onkeydown")||P.hasAttribute("onkeyup"))){let H=typeof uniqueSel=="function"?uniqueSel(P):P.tagName.toLowerCase();h.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 x=document.querySelectorAll("[onmousedown]");for(let P of x){let M=P.hasAttribute("onmouseup"),H=P.tagName.toLowerCase();if(!M&&H!=="a"&&H!=="button"&&H!=="input"){let $=typeof uniqueSel=="function"?uniqueSel(P):H;h.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 g=document.querySelectorAll("script:not([src])");for(let P of g){let M=P.textContent||"";if(/devicemotion|deviceorientation|accelerometer|gyroscope/i.test(M)){h.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"),_='input:not([type="hidden"]):not([type="submit"]):not([type="button"]):not([type="reset"]):not([type="image"]), select, textarea',R=/\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,D=/card|payment/i,A=/\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 P of b){let M=Array.from(P.querySelectorAll(_)),H=Le=>[Le.getAttribute("name"),Le.id,Le.getAttribute("autocomplete"),Le.getAttribute("placeholder"),Le.getAttribute("aria-label")].join(" "),$=Array.from(P.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=M.some(Le=>R.test(H(Le)))||Array.from(P.querySelectorAll("iframe")).some(Le=>D.test((Le.getAttribute("title")||"")+" "+(Le.getAttribute("name")||""))),K=M.some(Le=>/signature/i.test(H(Le))),j=z||A.test($),W=T.test($),Z=K||S.test($),te=M.length>0&&M.some(Le=>(Le.getAttribute("type")||"").toLowerCase()==="email"||/e-?mail/i.test(H(Le)))&&M.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=(P.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=!!P.querySelector('[type="checkbox"][required], [class*="confirm"], [id*="confirm"], [name*="confirm"]'),Ke=!!P.querySelector('[class*="review"], [class*="summary"], [id*="review"]');if(ze||Ke)continue;let Ze=typeof uniqueSel=="function"?uniqueSel(P):"form",Ye=Ce?j?"financial":W?"data-deletion":"legal":qe?Ie?"data-deletion":"data-modification":re?"financial":me?"legal":"data-deletion";h.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 h},Oh={name:"timingAndInput",async detect(h){return h.evaluate(fI)}};var pI=()=>{let h=[],p=!!document.querySelector('nav, [role="navigation"]'),w=!!document.querySelector('input[type="search"], [role="search"], form[action*="search"], input[name="s"], input[name="q"], input[placeholder*="search" i]'),v=!!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]'),x=!!document.querySelector('[class*="table-of-contents" i], [class*="toc" i], [id*="toc"]'),g=[p,w,v,f,x].filter(Boolean).length;if(g<2&&document.querySelectorAll("a[href]").length>20){let D=[];w||D.push("search"),v||D.push("sitemap link"),f||D.push("breadcrumbs"),h.push({selector:"body",attribute:"data-multiple-ways",currentValue:`${g} navigation method(s)`,issueType:"insufficient_navigation",wcag:"2.4.5",context:`Page has ${g} way(s) to navigate. WCAG requires multiple ways to locate pages (e.g., navigation + search, or navigation + sitemap). Consider adding: ${D.join(", ")}.`,needsAI:false,fixValue:`Add ${D[0]||"additional navigation method"}`});}let b=document.querySelectorAll('nav, [role="navigation"]');for(let D of b){if(!D.offsetParent||D.closest('footer, aside, [role="contentinfo"], [role="complementary"]')||D.parentElement?.closest('nav, [role="navigation"]'))continue;let A=D.getBoundingClientRect();if(A.top<=window.innerHeight)continue;let T=typeof uniqueSel=="function"?uniqueSel(D):"nav";h.push({selector:T,attribute:"data-nav-position",currentValue:`top: ${Math.round(A.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 _=document.querySelectorAll('[class*="blink" i], [class*="flash" i], [class*="strobe" i], blink, marquee');for(let D of _){if(!D.offsetParent)continue;let A=typeof uniqueSel=="function"?uniqueSel(D):D.tagName.toLowerCase();h.push({selector:A,attribute:"data-flashing",currentValue:D.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 R=document.querySelectorAll('img[src*=".gif"]');for(let D of R){if(!D.offsetParent||D.width<25||D.height<25)continue;let A=D.getBoundingClientRect();if(A.width>100&&A.height>100){let T=typeof uniqueSel=="function"?uniqueSel(D):"img";h.push({selector:T,attribute:"data-animated-gif",currentValue:(D.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 h},Mh={name:"navigationAndWayfinding",async detect(h){return h.evaluate(pI)}};var Nh={name:"flashDetection",async detect(h){let p=[];if(!h.screenshot)return p;let v=await h.evaluate(()=>{let D=document.documentElement.style.getPropertyValue("--wa-animations-frozen")==="1";if(D){let A=document.querySelectorAll("*");for(let T of A)T.style.removeProperty("animation-play-state"),T.style.removeProperty("transition");}return D}),f=8,x=120,g=9,b=3,_=[];for(let R=0;R<f;R++){let D=await h.evaluate(A=>{let T=window.innerWidth,S=window.innerHeight,E=3,F=3,P=[];for(let M=0;M<F;M++)for(let H=0;H<E;H++){let $=Math.floor((H+.5)*(T/E)),z=Math.floor((M+.5)*(S/F)),K=document.elementFromPoint($,z);if(!K){P.push(0);continue}let W=getComputedStyle(K).backgroundColor||"rgba(0,0,0,0)",Z=typeof parseCssColor=="function"?parseCssColor(W):null;if(!Z){P.push(0);continue}let te=.2126*Z[0]+.7152*Z[1]+.0722*Z[2];P.push(te);}return P},g);_.push(D),R<f-1&&await new Promise(A=>setTimeout(A,x));}v&&await h.evaluate(()=>{let R=document.querySelectorAll("*");for(let D of R)D.style.setProperty("animation-play-state","paused","important"),D.style.setProperty("transition","none","important");});for(let R=0;R<g;R++){let D=0,A=_[0][R],T=null;for(let F=1;F<f;F++){let P=_[F][R];if(Math.abs(P-A)>25){let H=P>A?"up":"down";T&&H!==T&&D++,T=H;}A=P;}let S=f*x/1e3,E=D/S;if(E>=b){let F=R%3,P=Math.floor(R/3);p.push({selector:"body",attribute:"data-flash-detected",currentValue:`${E.toFixed(1)} flashes/sec in region (${F},${P})`,issueType:"flashing_content",wcag:"2.3.1",context:`Content flashes ${E.toFixed(1)} times/second in screen region (row ${P}, 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 qh={name:"reducedMotion",async detect(h){let p=[],w=await h.evaluate(()=>{let v=false,f=false;for(let g of document.styleSheets)try{for(let b of g.cssRules){let _=b.cssText||"";/animation|transition|@keyframes/i.test(_)&&!/prefers-reduced-motion/.test(_)&&(v=!0),b instanceof CSSMediaRule&&/prefers-reduced-motion/i.test(b.conditionText||b.media?.mediaText||"")&&(f=!0);}}catch{}let x=document.querySelectorAll('[class*="animate"], [class*="slide"], [class*="fade"], [class*="bounce"], [class*="spin"], [class*="pulse"]');return x.length>0&&(v=true),{hasAnimations:v,hasReducedMotionQuery:f,animatedCount:x.length}});return w.hasAnimations&&!w.hasReducedMotionQuery&&p.push({selector:"html",attribute:"data-reduced-motion",currentValue:`${w.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 TI=[Sh,ch,Y1,_h,I1,R1,ah,Z1,K1,J1,Ah,B1,ph,z1,Ch,uh,G1,j1,bh,L1,lh,Q1,hh,$1,V1,ih,X1,sh,eh,th,kh,O1,nh,vh,M1,N1,rh,mh,Eh,fh,q1,dh,H1,yh,wh,xh,Dh,P1,oh,gh,Th,Fh,Rh,Ih,Lh,Ph,Oh,Mh,Nh,qh];async function Gh(h,p,w,v){let f=p??[];try{let{UNIQUE_SELECTOR_JS:T,IS_VISIBLE_JS:S,ACCESSIBLE_NAME_JS:E,WIDGET_SKIP_JS:F,IS_HIDDEN_FROM_AT_JS:P,IS_TRACKING_PIXEL_JS:M,NEARBY_CONTEXT_JS:H}=await Promise.resolve().then(()=>(ru(),tu)),{ICON_LABELS_JS:$}=await Promise.resolve().then(()=>(Hh(),Bh)),{COLOR_MATH_JS:z}=await Promise.resolve().then(()=>(jh(),Vh)),j=`if(typeof __name==='undefined'){var __name=function(t,v){return t};var __defProp=Object.defineProperty;}
|
|
381
|
+
`+[T,S,E,F,P,M,H,$,z].join(`
|
|
382
|
+
`);try{await h.addScriptTag({content:j});}catch{await h.evaluate(`(0,eval)(${JSON.stringify(j)})`);}}catch(T){console.warn("[webability] helper injection failed:",T.message),(w??[]).push("color:kernel-injection-failed");}let x=[];try{let{detectPlatform:T,applyPlatformTemplates:S}=await Promise.resolve().then(()=>(zh(),$h)),E=await T(h);x=await S(h,E);}catch{}let g=await Promise.allSettled(TI.map(async T=>{try{let S=await T.detect(h);return T.cap&&S.length>=T.cap&&f.push({detector:T.name,cap:T.cap}),S}catch{return []}})),b=[];for(let T of [U1,W1])try{let S=await T.detect(h);T.cap&&S.length>=T.cap&&f.push({detector:T.name,cap:T.cap}),b=b.concat(S);}catch{}let _=[...g.flatMap(T=>T.status==="fulfilled"?T.value:[]),...b],R=[...x,..._],D=FI(R),A=["wp-ada-compliance","webability-widget","webability-a11y","asw-","userway","acsb","audioeye","equallyai"];return D.filter(T=>{let S=T.selector.toLowerCase();return S.trim()?!A.some(E=>S.includes(E)):false})}function FI(h){let p=new Set;return h.filter(w=>{let v=`${w.selector}::${w.issueType}`;return p.has(v)?false:(p.add(v),true)})}var Wh="1.4.0";async function Yh(h,p){try{let{AxeBuilder:w}=await import('@axe-core/playwright');return await new w({page:h}).withTags(p).analyze()}catch{return RI(h,p)}}async function RI(h,p){let w=await Promise.resolve().then(()=>c3(Xh())),v=w.source??w.default?.source;if(!v)throw new Error("axe-core source unavailable");return await h.addScriptTag({content:v}),await h.evaluate(x=>new Promise((g,b)=>{let _=window;if(!_.axe)return b(new Error("axe-core not loaded"));_.axe.run(document,{runOnly:{type:"tag",values:x},resultTypes:["violations","incomplete"]}).then(g).catch(b);}),p)}function II(h){if(h.confidence==="needs_review")return {...h,confidence:"needs_review"};let p=LI(h);return p?{...h,confidence:"needs_review",reviewReason:p}:{...h,confidence:"high"}}function Jh(h){let p=[],w=[];for(let v of h){let f=II(v);f.confidence==="needs_review"?w.push(f):p.push(f);}return {highConfidence:p,needsReview:w}}function LI(h){let p=(h.type||"").toLowerCase(),w=h.wcag||"",v=h.html||"",f=(h.message||"").toLowerCase();if((p==="contrast_insufficient"||p==="color-contrast"||w==="1.4.3"||w==="1.4.11")&&PI(v))return "background uses gradient or image \u2014 contrast cannot be reliably computed";if(p==="image_of_text"||w==="1.4.5"){let x=Kh(v,"src").toLowerCase();x.startsWith("data:")&&(x=x.split(",")[0]);let g=Kh(v,"alt").toLowerCase();if(/\b(logo|brand|wordmark|hero|banner|footer|marketing|promo|cover)\b/.test(x))return "filename pattern suggests marketing/brand imagery, exempt under WCAG 1.4.5";if(g.length>0&&/\b(logo|brand|product screenshot|dashboard)\b/.test(g))return "alt text suggests branded imagery, exempt under WCAG 1.4.5"}return (p==="inconsistent_navigation"||f.includes("inconsistent navigation"))&&(/<footer/i.test(v)||/<aside/i.test(v))?"nav lives inside footer/aside \u2014 position variance is expected":""}function PI(h){return /background(-image)?\s*:\s*(?:linear-gradient|radial-gradient|conic-gradient|url\()/i.test(h)}function Kh(h,p){let w=new RegExp(`\\b${p}\\s*=\\s*"([^"]*)"`,"i"),v=h.match(w);return v?v[1]:""}function eg(){let h=f=>{let x=f.getBoundingClientRect();if(x.width===0||x.height===0)return false;let g=window.getComputedStyle(f);return g.visibility!=="hidden"&&g.display!=="none"&&g.opacity!=="0"},p=Array.from(document.querySelectorAll('input[type="password"]')),w=Array.from(document.querySelectorAll('button, input[type="submit"], a[role="button"]')).filter(h).map(f=>(f.value||f.textContent||"").trim().toLowerCase()).filter(f=>f.length>0&&f.length<40),v=Array.from(document.querySelectorAll("button, a")).filter(h).filter(f=>/sign in with|continue with|log in with/i.test(f.textContent||"")).length;return {passwordFields:p.length,visiblePasswordFields:p.filter(h).length,submitLabels:w,oauthButtons:v,formCount:document.querySelectorAll("form").length,bodyTextLength:(document.body?.innerText||"").trim().length,headingText:(document.querySelector("h1, h2")?.textContent||"").trim().slice(0,120).toLowerCase()}}var OI=/\b(log ?in|sign ?in|sign ?on|authenticate)\b/,MI=/\b(log ?in|sign ?in|sign ?on|authentication|welcome back|access denied|unauthori[sz]ed)\b/;function Zh(h){try{let p=new URL(h).pathname.toLowerCase();return /(^|\/)(login|signin|sign-in|log-in|auth|sso|session\/new|users\/sign_in)(\/|$)/.test(p)}catch{return false}}function tg(h,p,w){if(Zh(p))return null;let v=Qh(p)!==Qh(w),f=h.submitLabels.some(A=>OI.test(A)),x=MI.test(h.headingText),g=Zh(w),b=[];g&&b.push("url"),f&&b.push("submit"),x&&b.push("heading"),v&&b.push("redirected");let _=h.visiblePasswordFields>0,R=h.oauthButtons>0&&h.bodyTextLength<600&&h.formCount<=1;if(!_&&!R||b.length<2)return null;let D=`${_?"password-field":"oauth-only"}+${b.join("+")}`;return {reason:`Scan did not reach the requested page \u2014 it landed on a sign-in page at ${w}. 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:D,finalUrl:w}}function Qh(h){try{let p=new URL(h);return `${p.origin}${p.pathname.replace(/\/+$/,"")}`.toLowerCase()}catch{return h.toLowerCase()}}var nu=["wcag2a","wcag2aa","wcag21aa","wcag22aa"],NI={"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(h){return NI[h]??"AA"}var BI=new Set(["new_window_link","external_link_warning","download_link_warning"]);function rg(h){let p=BI.has(h.issueType)?"minor":h.needsAI?"serious":"moderate",w=h.attribute==="style",v=h.attribute.startsWith("data-"),f=w&&h.fixValue?HI(h.fixValue):h.fixValue;return {id:`wa-${h.issueType}-${Hn(h.selector)}`,source:"webability",type:h.issueType,wcag:h.wcag,level:qI(h.wcag),impact:p,message:VI(h,f,v),selector:h.selector,html:h.outerHtml,...h.needsReview?{confidence:"needs_review"}:{},...h.reviewReason?{reviewReason:h.reviewReason}:{},fix:{attribute:h.attribute,currentValue:h.currentValue,suggestedValue:f,needsManualReview:h.needsAI||w||v||!!h.needsReview}}}function HI(h){let p=h.trim();if(!p)return "";let w=p.endsWith(";"),f=p.split(";").map(x=>{let b=x.toLowerCase().lastIndexOf("!important");return b===-1?x.trim():x.slice(0,b).trim()}).filter(x=>x.length>0);return f.length===0?"":f.join(";")+(w?";":"")}function VI(h,p,w){if(h.message)return h.message;let v=h.issueType.replace(/_/g," "),f=p??h.fixValue;return w?f?`${v}: ${f}`:h.currentValue?`${v}: ${h.currentValue}`:`${v}: flagged for manual review`:f?`${v}: set ${h.attribute}="${f}"`:h.currentValue?`${v}: ${h.attribute} is "${h.currentValue}"`:`${v}: missing ${h.attribute}`}function Bn(h){return Array.isArray(h)?h.flat(1/0).filter(w=>typeof w=="string").join(" >>> "):typeof h=="string"?h:""}function Hn(h){let p=0;for(let w=0;w<h.length;w++)p=(p<<5)-p+h.charCodeAt(w)|0;return Math.abs(p).toString(36)}function iu(h){return h==="critical"||h==="serious"||h==="moderate"||h==="minor"?h:"moderate"}function ou(h,p){return {total:h.length,critical:h.filter(w=>w.impact==="critical").length,serious:h.filter(w=>w.impact==="serious").length,moderate:h.filter(w=>w.impact==="moderate").length,minor:h.filter(w=>w.impact==="minor").length,incomplete:p.length}}function su(h){let p=h.find(v=>/^wcag\d{3,4}$/.test(v));if(!p)return "";let w=p.replace("wcag","");return w.length===3?`${w[0]}.${w[1]}.${w[2]}`:w.length===4?`${w[0]}.${w[1]}.${w.slice(2)}`:""}function lu(h){return h.includes("wcag2aaa")?"AAA":h.includes("wcag2aa")||h.includes("wcag21aa")||h.includes("wcag22aa")?"AA":"A"}async function tL(h){try{return await h.evaluate(()=>{let p=(document.title||"").toLowerCase(),w=[["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,g]of w)if(p.includes(x))return {vendor:g,signal:`title:"${document.title}"`,needsCorroboration:!1};let v=[["#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,g]of v)if(document.querySelector(x))return {vendor:g,signal:`marker:${x}`,needsCorroboration:!1};if(window._cf_chl_opt)return {vendor:"Cloudflare",signal:"marker:window._cf_chl_opt",needsCorroboration:!1};let f=[["please wait...","Cloudflare"],["access denied","bot-challenge"]];for(let[x,g]of f)if(p.includes(x))return {vendor:g,signal:`title:"${document.title}"`,needsCorroboration:!0};return null})}catch{return null}}async function rL(h){try{return await h.evaluate(()=>{let p=document.querySelectorAll("body *").length;if(p>250)return null;let w=['[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 f of w)try{if(document.querySelector(f))return {signal:`marker:${f}`,elements:p}}catch{}let v=(document.title||"").toLowerCase();return v.includes("captcha")||v.includes("security check")||v.includes("bot verification")?{signal:`title:"${document.title}"`,elements:p}:null})}catch{return null}}async function aL(h,p){let w=await tL(h),v=typeof p=="number"&&p>=400,f=w&&(!w.needsCorroboration||v)?w:null;if(!f&&!v)return null;let x=[];return f&&x.push(`served a ${f.vendor} bot-challenge / interstitial page`),v&&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.`,...f?{vendor:f.vendor}:{},...typeof p=="number"?{status:p}:{},...f?{signal:f.signal}:v?{signal:`status:${p}`}:{}}}async function Vn(h,p){let w=typeof h=="string",v={wcagTags:nu,includeAxe:true,deep:false,dismissModals:w,...p},f,x,g,b;if(w){g=h.startsWith("http")?h:`https://${h}`;let _=typeof v.viewport=="string"?_o[v.viewport]??_o.desktop:v.viewport??_o.desktop;x=await(await import('playwright')).chromium.launch({headless:v.browser?.headless??true}),f=await(await x.newContext({viewport:_})).newPage();let A=await f.goto(g,{waitUntil:"domcontentloaded",timeout:v.browser?.timeout??3e4});b=typeof A?.status=="function"?A.status():void 0;}else f=h,g=f.url(),b=v.mainStatus;if(v.dismissModals)try{let{dismissModals:_}=await Promise.resolve().then(()=>(ng(),ag));await _(f);}catch{}if(v.settle!==false)try{let{waitForRenderSettle:_}=await Promise.resolve().then(()=>(Eo(),Ao));await _(f,typeof v.settle=="number"?v.settle:void 0);}catch{}try{try{let $=await f.evaluate(eg),z=tg($,g,typeof f.url=="function"?f.url():g);if(z)return {url:g,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 _=await aL(f,b);if(_)return {url:g,timestamp:new Date().toISOString(),blocked:_,issues:[],incomplete:[],summary:{total:0,critical:0,serious:0,moderate:0,minor:0,incomplete:0}};let R=[],D=[],A=[],T=await rL(f);T&&A.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 Gh(f,D,A);if(R.push(...S.map(rg)),v.includeAxe)try{let $=await Yh(f,v.wcagTags??nu);for(let z of $.violations)for(let K of z.nodes)R.push({id:`axe-${z.id}-${Hn(Bn(K.target))}`,source:"axe-core",type:z.id,wcag:su(z.tags),level:lu(z.tags),impact:iu(z.impact),message:z.help,selector:Bn(K.target),html:K.html?.slice(0,300)});for(let z of $.incomplete??[])for(let K of z.nodes)R.push({id:`axe-incomplete-${z.id}-${Hn(Bn(K.target))}`,source:"axe-core",type:z.id,wcag:su(z.tags),level:lu(z.tags),impact:iu(z.impact),message:z.help,selector:Bn(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(()=>(cg(),ug)),z=await $(f);R.push(...z);}catch{}let{deduplicateIssues:E}=await Promise.resolve().then(()=>(cu(),uu)),F=E(R);try{let{pruneInvisibleContrast:$}=await Promise.resolve().then(()=>(Eo(),Ao));F=await $(f,F);}catch{}try{let{pruneHiddenIframeIssues:$}=await Promise.resolve().then(()=>(Eo(),Ao));F=await $(f,F);}catch{}try{let{dedupeByElementIdentity:$}=await Promise.resolve().then(()=>(cu(),uu));F=await $(f,F);}catch{}if(v.deep&&v.deepApiKey)try{let $=await nL(g,F,v);F.push(...$);}catch{}if(v.rootSelector)try{let{scopeIssuesToRoot:$}=await Promise.resolve().then(()=>(fg(),dg)),z=await $(f,F,v.rootSelector);F=z.issues,z.warning&&A.push(z.warning);}catch{}let{highConfidence:P,needsReview:M}=Jh(F),H={url:g,timestamp:new Date().toISOString(),engine:Wh,issues:P,incomplete:M,...D.length?{truncated:D}:{},...A.length?{engineWarnings:A}:{},summary:ou(P,M)};if(v.review!==!1&&v.deepApiKey)try{H=await iL(H,v);}catch{}return H}finally{x&&await x.close();}}async function nL(h,p,w){let v=w.deepApiUrl||"https://api.webability.io",f=await fetch(`${v}/cli/deep-scan`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`Bearer ${w.deepApiKey}`},body:JSON.stringify({url:h,standardIssues:p.slice(0,30).map(({source:g,...b})=>b)})});return f.ok?((await f.json()).issues??[]).map((g,b)=>({id:`deep-${b}-${Hn(g.selector||g.element||"")}`,source:"deep-analysis",type:`wcag-${g.wcag}`,wcag:g.wcag,level:"AA",impact:g.severity==="High"?"critical":g.severity==="Medium"?"serious":"moderate",message:g.message,selector:g.selector||g.element||""})):[]}function pg(h){let p=h.fix?.attribute??"";return !!h.fix?.needsManualReview&&p!=="style"&&!p.startsWith("data-")}async function iL(h,p){let w=p.deepApiUrl||"https://api.webability.io",v=h.issues.filter(pg);if(v.length===0)return h;try{let f=await fetch(`${w}/review-findings`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`Bearer ${p.deepApiKey}`},body:JSON.stringify({url:h.url,issues:v.slice(0,30).map(({source:_,...R})=>R)})});if(!f.ok)return h;let x=await f.json();if(!x.confirmed_ids)return h;let g=new Set(x.confirmed_ids),b=h.issues.filter(_=>!pg(_)||g.has(_.id));return {...h,issues:b,summary:ou(b,h.incomplete)}}catch{return h}}function hg(h){return {...h,issues:h.issues.map(({source:p,...w})=>w)}}async function oL(h,p){return hg(await Vn(h,{...p,dismissModals:false}))}var mg=class{page;options;snapshots=[];observer=false;constructor(p,w){this.page=p,this.options=w??{};}async analyze(p){return oL(this.page,{...this.options,...p})}async start(p){this.snapshots=[],this.observer=true;let w={...this.options,...p},v=await Vn(this.page,{...w,dismissModals:false});this.snapshots.push(v),await this.page.exposeFunction("__webabilityOnMutation",async()=>{if(this.observer)try{let f=await Vn(this.page,{...w,dismissModals:!1});this.snapshots.push(f);}catch{}}),await this.page.evaluate(()=>{let f=new MutationObserver(()=>{window.__webabilityOnMutation?.();});f.observe(document.body,{childList:true,subtree:true}),window.__webabilityObserver=f;});}async stop(){this.observer=false,await this.page.evaluate(()=>{window.__webabilityObserver?.disconnect();}).catch(()=>{});let p=await Vn(this.page,{...this.options,dismissModals:false});this.snapshots.push(p);let w=new Map;for(let x of this.snapshots)for(let g of x.issues)w.set(g.id,g);let v=Array.from(w.values()),f={url:p.url,timestamp:p.timestamp,issues:v,incomplete:[],summary:{total:v.length,critical:v.filter(x=>x.impact==="critical").length,serious:v.filter(x=>x.impact==="serious").length,moderate:v.filter(x=>x.impact==="moderate").length,minor:v.filter(x=>x.impact==="minor").length,incomplete:0}};return this.snapshots=[],hg(f)}};/*! Bundled license information:
|
|
383
|
+
|
|
384
|
+
axe-core/axe.js:
|
|
385
|
+
(*! axe v4.11.3
|
|
386
|
+
* Copyright (c) 2015 - 2026 Deque Systems, Inc.
|
|
387
|
+
*
|
|
388
|
+
* Your use of this Source Code Form is subject to the terms of the Mozilla Public
|
|
389
|
+
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
390
|
+
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
391
|
+
*
|
|
392
|
+
* This entire copyright notice must appear in every copy of this file you
|
|
393
|
+
* distribute or in any file that contains substantial portions of this source
|
|
394
|
+
* code.
|
|
395
|
+
*)
|
|
396
|
+
*/exports.WebAbility=mg;exports.a11yCheck=oL;
|