/*! For license information please see userbar.js.LICENSE.txt */ (()=>{var e,t={312:(e,t,r)=>{"use strict";var n=r(8609),a=r.n(n),o=r(2891),i=r(2178),u=r(1319);const s={id:"extractor",extract(e,t){const r=document.querySelector(e.targetElement)||document.body,n=r?.innerText||"",a=r?.innerHTML||"";t({lang:document.documentElement.lang||"en",innerText:n,innerHTML:a})}};var l=r(9104),c=r(2223),d=r(2277);class p extends HTMLElement{connectedCallback(){const e=document.querySelector("#wagtail-userbar-template");if(!e)return;const t=this.attachShadow({mode:"open"});t.appendChild(e.content.firstElementChild.cloneNode(!0)),e.remove();const r=t.querySelector("[data-wagtail-userbar]"),n=r?.querySelector("[data-wagtail-userbar-trigger]"),a=r?.querySelector("[role=menu]");if(!r||!n||!a)return;const o=this.inCrossOriginIframe;this.origin=o&&r.getAttribute("data-wagtail-userbar-origin")||window.location.origin;const i=a.querySelectorAll("li"),u="w-userbar--active";this.trigger=n,r.style.display="none";const s=e=>{r.classList.add(u),n.setAttribute("aria-expanded","true"),a.addEventListener("click",D,!1),window.addEventListener("click",h,!1),r.addEventListener("keydown",m,!1),e&&a.querySelector("a[href],\n button:not([disabled]),\n input:not([disabled])")&&setTimeout(()=>{p()},300)},l=()=>{r.classList.remove(u),n.setAttribute("aria-expanded","false"),a.addEventListener("click",D,!1),window.removeEventListener("click",h,!1),r.removeEventListener("keydown",m,!1)},c=()=>{i.forEach(e=>{e.firstElementChild.tabIndex=-1})},d=e=>{c(),e.tabIndex=0,setTimeout(()=>{e.focus()},100)},p=()=>{i.length>0&&d(i[0].firstElementChild)},f=()=>{i.length>0&&d(i[i.length-1].firstElementChild)},m=e=>{if("true"===n.getAttribute("aria-expanded")){if("Escape"===e.key)return l(),n&&(setTimeout(()=>n.focus(),300),c()),!1;if(t.activeElement&&t.activeElement.closest(".w-userbar-nav"))switch(e.key){case"ArrowDown":return e.preventDefault(),i.forEach((e,r)=>{e.firstElementChild===t.activeElement&&(r+1{e.firstElementChild===t.activeElement&&(r>0?d(i[r-1].firstElementChild):f())}),!1;case"Home":return e.preventDefault(),p(),!1;case"End":return e.preventDefault(),f(),!1}}return!0},D=e=>{e.stopPropagation()},h=()=>{l()};n.addEventListener("click",e=>{e.stopPropagation(),r.classList.contains(u)?l():s(!0)},!1),window.addEventListener("pageshow",l,!1),r.addEventListener("keydown",e=>{if(n===document.activeElement&&"false"===n.getAttribute("aria-expanded"))switch(e.key){case"ArrowUp":e.preventDefault(),s(!1),setTimeout(()=>f(),300);break;case"ArrowDown":e.preventDefault(),s(!1),setTimeout(()=>p(),300)}}),a.addEventListener("focusout",e=>{e.relatedTarget&&!e.relatedTarget.closest(".w-userbar-nav")&&(c(),l())}),c(),this.handleMessage=this.handleMessage.bind(this),this.onWindowLoad=this.onWindowLoad.bind(this),o&&window.addEventListener("message",this.handleMessage),"complete"===document.readyState?this.onWindowLoad():window.addEventListener("load",this.onWindowLoad)}async onWindowLoad(){this.postMessage({type:"w-preview:request-scroll",origin:window.location.origin}),await this.initializeAxe()}async initializeAxe(){if(this.axeConfig=(0,i.$R)(this.shadowRoot),!this.shadowRoot||!this.axeConfig)return;a().configure((0,i.ip)(this.axeConfig.spec)),a().registerPlugin(u.$),a().plugins.wagtailPreview.add(s);const e=o.Application.start(this.shadowRoot.firstElementChild);e.register("w-dialog",l.v),e.register("w-teleport",c.I);const t=new Promise(e=>{this.shadowRoot?.addEventListener("w-dialog:ready",({detail:t})=>{const{body:r,dialog:n}=t;e({body:r,dialog:n})},{once:!0,passive:!0})}),{dialog:r,body:n}=await t;this.dialog=r,this.dialogBody=n;const d=this.shadowRoot.getElementById("accessibility-trigger");d?.addEventListener("click",()=>{this.dialog.shown?this.dialog.hide():this.dialog.show()}),await this.runAxe()}async runAxe(){if(!this.shadowRoot)return;const e=this.shadowRoot.querySelector("#accessibility-results"),t=this.shadowRoot.querySelector("#w-a11y-result-row-template"),r=this.shadowRoot.querySelector("#w-a11y-result-outline-template");if(!(this.axeConfig&&e&&t&&r))return;const{results:n,a11yErrorsNumber:a}=await(0,i.lc)(this.axeConfig);if(this.trigger.querySelector("[data-w-userbar-axe-count]")?.remove(),n.violations.length){const e=document.createElement("span");e.textContent=String(a),e.classList.add("w-userbar-axe-count"),e.setAttribute("data-w-userbar-axe-count",String(a)),this.trigger.appendChild(e)}this.shadowRoot.querySelectorAll("[data-a11y-result-count]").forEach(e=>{e.textContent=String(a)||"0",e.classList.toggle("has-errors",n.violations.length>0)}),(0,i.ZG)(this.dialogBody,n,this.axeConfig,t,t=>{const n=document.querySelector(t),a=this.shadowRoot?.querySelector("[data-a11y-result-outline-container]");a?.firstElementChild&&a.removeChild(a.firstElementChild),a?.appendChild(r.content.cloneNode(!0));const o=this.shadowRoot?.querySelector("[data-a11y-result-outline]");if(!(this.shadowRoot&&n&&o&&a))return;const i=()=>{const e=n.getBoundingClientRect();o.style.cssText=`\n top: ${e.height<5?e.top+window.scrollY-2.5+"px":`${e.top+window.scrollY}px`};\n left: ${e.width<5?e.left+window.scrollX-2.5+"px":`${e.left+window.scrollX}px`};\n width: ${Math.max(e.width,5)}px;\n height: ${Math.max(e.height,5)}px;\n position: absolute;\n z-index: 129;\n outline: 1px solid #CD4444;\n box-shadow: 0px 0px 12px 1px #FF0000;\n pointer-events: none;\n `};i(),window.addEventListener("resize",i),n.style.scrollMargin="6.25rem",n.scrollIntoView(),n.focus(),e.addEventListener("hide",()=>{o.style.cssText="",window.removeEventListener("resize",i)})}),this.postAxeReady()}get inCrossOriginIframe(){try{return!window.top?.origin}catch{return!0}}postMessage(e){window.top!==window&&window.top?.postMessage({wagtail:e},this.origin)}postAxeReady(){this.postMessage({type:"w-userbar:axe-ready"})}handleMessage(e){const t=(0,d.j)(e);if(t)switch(t.type){case"w-preview:get-scroll-position":this.postMessage({type:"w-preview:set-scroll-position",x:window.scrollX,y:window.scrollY,origin:window.location.origin});break;case"w-preview:set-scroll-position":window.scrollTo({top:t.y,left:t.x,behavior:"instant"})}}disconnectedCallback(){this.inCrossOriginIframe&&window.removeEventListener("message",this.handleMessage)}}customElements.define("wagtail-userbar",p)},8609:function(e,t,r){var n,a;e=r.nmd(e),function o(i){var u=i,s=i.document;function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}var c=c||{};function d(e){this.name="SupportError",this.cause=e.cause,this.message="`".concat(e.cause,"` - feature unsupported in your environment."),e.ruleId&&(this.ruleId=e.ruleId,this.message+=" Skipping ".concat(this.ruleId," rule.")),this.stack=(new Error).stack}c.version="4.10.3",void 0===(a=function(){return c}.apply(t,[]))||(e.exports=a),"object"===l(e)&&e.exports&&"function"==typeof o.toString&&(c.source="("+o.toString()+')(typeof window === "object" ? window : this);',e.exports=c),"function"==typeof i.getComputedStyle&&(i.axe=c),d.prototype=Object.create(Error.prototype),d.prototype.constructor=d;var p=["node"],f=["relatedNodes"],m=["node"],D=["variant"],h=["matches"],g=["chromium"],v=["noImplicit"],b=["noPresentational"],y=["precision","format","inGamut"],F=["space"],w=["algorithm"],E=["method"],C=["maxDeltaE","deltaEMethod","steps","maxSteps"],x=["node"],A=["environmentData"],k=["environmentData"],N=["environmentData"],B=["environmentData"],T=["environmentData"];function R(e,t,r){return t=O(t),function(e,t){if(t&&("object"==l(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,S()?Reflect.construct(t,r||[],O(e).constructor):t.apply(e,r))}function S(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(S=function(){return!!e})()}function O(e){return O=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},O(e)}function _(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&M(e,t)}function M(e,t){return M=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},M(e,t)}function P(e,t,r){L(e,t),t.set(e,r)}function I(e,t){L(e,t),t.add(e)}function L(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function j(e,t){return e.get(z(e,t))}function q(e,t,r){return e.set(z(e,t),r),r}function z(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}function V(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.includes(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,u=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return i=e.done,e},e:function(e){u=!0,o=e},f:function(){try{i||null==r.return||r.return()}finally{if(u)throw o}}}}function ee(e,t){if(e){if("string"==typeof e)return te(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?te(e,t):void 0}}function te(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r0?1:-1}}),Fe=pe(function(e,t){"use strict";t.exports=be()()?Math.sign:ye()}),we=pe(function(e,t){"use strict";var r=Fe(),n=Math.abs,a=Math.floor;t.exports=function(e){return isNaN(e)?0:0!==(e=Number(e))&&isFinite(e)?r(e)*a(n(e)):e}}),Ee=pe(function(e,t){"use strict";var r=we(),n=Math.max;t.exports=function(e){return n(0,r(e))}}),Ce=pe(function(e,t){"use strict";var r=Ee();t.exports=function(e,t,n){var a;return isNaN(e)?(a=t)>=0?n&&a?a-1:a:1:!1!==e&&r(e)}}),xe=pe(function(e,t){"use strict";t.exports=function(e){if("function"!=typeof e)throw new TypeError(e+" is not a function");return e}}),Ae=pe(function(e,t){"use strict";var r=ge();t.exports=function(e){if(!r(e))throw new TypeError("Cannot use null or undefined");return e}}),ke=pe(function(e,t){"use strict";var r=xe(),n=Ae(),a=Function.prototype.bind,o=Function.prototype.call,i=Object.keys,u=Object.prototype.propertyIsEnumerable;t.exports=function(e,t){return function(s,l){var c,d=arguments[2],p=arguments[3];return s=Object(n(s)),r(l),c=i(s),p&&c.sort("function"==typeof p?a.call(p,s):void 0),"function"!=typeof e&&(e=c[e]),o.call(e,c,function(e,r){return u.call(s,e)?o.call(l,d,s[e],e,s,r):t})}}}),Ne=pe(function(e,t){"use strict";t.exports=ke()("forEach")}),Be=pe(function(){}),Te=pe(function(e,t){"use strict";t.exports=function(){var e,t=Object.assign;return"function"==typeof t&&(t(e={foo:"raz"},{bar:"dwa"},{trzy:"trzy"}),e.foo+e.bar+e.trzy==="razdwatrzy")}}),Re=pe(function(e,t){"use strict";t.exports=function(){try{return Object.keys("primitive"),!0}catch(e){return!1}}}),Se=pe(function(e,t){"use strict";var r=ge(),n=Object.keys;t.exports=function(e){return n(r(e)?Object(e):e)}}),Oe=pe(function(e,t){"use strict";t.exports=Re()()?Object.keys:Se()}),_e=pe(function(e,t){"use strict";var r=Oe(),n=Ae(),a=Math.max;t.exports=function(e,t){var o,i,u,s=a(arguments.length,2);for(e=Object(n(e)),u=function(r){try{e[r]=t[r]}catch(e){o||(o=e)}},i=1;i-1}}),We=pe(function(e,t){"use strict";t.exports=Ue()()?String.prototype.contains:Ge()}),Ye=pe(function(e,t){"use strict";var r=qe(),n=He(),a=Me(),o=ve(),i=We(),u=t.exports=function(e,t){var n,u,s,l,c;return arguments.length<2||"string"!=typeof e?(l=t,t=e,e=null):l=arguments[2],r(e)?(n=i.call(e,"c"),u=i.call(e,"e"),s=i.call(e,"w")):(n=s=!0,u=!1),c={value:t,configurable:n,enumerable:u,writable:s},l?a(o(l),c):c};u.gs=function(e,t,u){var s,l,c,d;return"string"!=typeof e?(c=u,u=t,t=e,e=null):c=arguments[3],r(t)?n(t)?r(u)?n(u)||(c=u,u=void 0):u=void 0:(c=t,t=u=void 0):t=void 0,r(e)?(s=i.call(e,"c"),l=i.call(e,"e")):(s=!0,l=!1),d={get:t,set:u,configurable:s,enumerable:l},c?a(o(c),d):d}}),Ke=pe(function(e,t){"use strict";var r,n,a,o,i,u,s,c=Ye(),d=xe(),p=Function.prototype.apply,f=Function.prototype.call,m=Object.create,D=Object.defineProperty,h=Object.defineProperties,g=Object.prototype.hasOwnProperty,v={configurable:!0,enumerable:!1,writable:!0};n=function(e,t){var n,o;return d(t),o=this,r.call(this,e,n=function(){a.call(o,e,n),p.call(t,this,arguments)}),n.__eeOnceListener__=t,this},a=function(e,t){var r,n,a,o;if(d(t),!g.call(this,"__ee__"))return this;if(!(r=this.__ee__)[e])return this;if(n=r[e],"object"===l(n))for(o=0;a=n[o];++o)a!==t&&a.__eeOnceListener__!==t||(2===n.length?r[e]=n[o?0:1]:n.splice(o,1));else n!==t&&n.__eeOnceListener__!==t||delete r[e];return this},o=function(e){var t,r,n,a,o;if(g.call(this,"__ee__")&&(a=this.__ee__[e]))if("object"===l(a)){for(r=arguments.length,o=new Array(r-1),t=1;t=55296&&v<=56319&&(w+=e[++m]),w=E?d.call(E,C,w,D):w,t?(p.value=w,f(h,D,p)):h[D]=w,++D;g=D}if(void 0===g)for(g=o(e.length),t&&(h=new t(g)),m=0;m=0?s(c):n(this.length)-s(u(c));t"}}}),Mt=pe(function(e,t){"use strict";var r=_t(),n=/[\n\r\u2028\u2029]/g;t.exports=function(e){var t=r(e);return t.length>100&&(t=t.slice(0,99)+"…"),t.replace(n,function(e){return JSON.stringify(e).slice(1,-1)})}}),Pt=pe(function(e,t){function r(e){return!!e&&("object"===l(e)||"function"==typeof e)&&"function"==typeof e.then}t.exports=r,t.exports.default=r}),It=pe(function(){"use strict";var e=kt(),t=Tt(),r=Ot(),n=Mt(),a=Pt(),o=Nt(),i=Object.create,u=t("then","then:finally","done","done:finally");Be().promise=function(t,s){var l=i(null),c=i(null),d=i(null);if(!0===t)t=null;else if(t=r(t),!u[t])throw new TypeError("'"+n(t)+"' is not valid promise mode");s.on("set",function(e,r,n){var i=!1;if(!a(n))return c[e]=n,void s.emit("setasync",e,1);l[e]=1,d[e]=n;var u=function(t){var r=l[e];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)\nConsider to rely on 'then' or 'done' mode instead.");r&&(delete l[e],c[e]=t,s.emit("setasync",e,r))},p=function(){i=!0,l[e]&&(delete l[e],delete d[e],s.delete(e))},f=t;if(f||(f="then"),"then"===f){var m=function(){o(p)};"function"==typeof(n=n.then(function(e){o(u.bind(this,e))},m)).finally&&n.finally(m)}else if("done"===f){if("function"!=typeof n.done)throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done' mode");n.done(u,p)}else if("done:finally"===f){if("function"!=typeof n.done)throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done:finally' mode");if("function"!=typeof n.finally)throw new Error("Memoizee error: Retrieved promise does not implement 'finally' in 'done:finally' mode");n.done(u),n.finally(p)}}),s.on("get",function(e,t,r){var n;if(l[e])++l[e];else{n=d[e];var i=function(){s.emit("getasync",e,t,r)};a(n)?"function"==typeof n.done?n.done(i):n.then(function(){o(i)}):i()}}),s.on("delete",function(e){if(delete d[e],l[e])delete l[e];else if(hasOwnProperty.call(c,e)){var t=c[e];delete c[e],s.emit("deleteasync",e,[t])}}),s.on("clear",function(){var t=c;c=i(null),l=i(null),d=i(null),s.emit("clearasync",e(t,function(e){return[e]}))})}}),Lt=pe(function(){"use strict";var e=xe(),t=Ne(),r=Be(),n=Function.prototype.apply;r.dispose=function(a,o,i){var u;if(e(a),i.async&&r.async||i.promise&&r.promise)return o.on("deleteasync",u=function(e,t){n.call(a,null,t)}),void o.on("clearasync",function(e){t(e,function(e,t){u(t,e)})});o.on("delete",u=function(e,t){a(t)}),o.on("clear",function(e){t(e,function(e,t){u(t,e)})})}}),jt=pe(function(e,t){"use strict";t.exports=2147483647}),qt=pe(function(e,t){"use strict";var r=Ee(),n=jt();t.exports=function(e){if((e=r(e))>n)throw new TypeError(e+" exceeds maximum possible timeout");return e}}),zt=pe(function(){"use strict";var e=pt(),t=Ne(),r=Nt(),n=Pt(),a=qt(),o=Be(),i=Function.prototype,u=Math.max,s=Math.min,l=Object.create;o.maxAge=function(c,d,p){var f,m,D,h;(c=a(c))&&(f=l(null),m=p.async&&o.async||p.promise&&o.promise?"async":"",d.on("set"+m,function(e){f[e]=setTimeout(function(){d.delete(e)},c),"function"==typeof f[e].unref&&f[e].unref(),h&&(h[e]&&"nextTick"!==h[e]&&clearTimeout(h[e]),h[e]=setTimeout(function(){delete h[e]},D),"function"==typeof h[e].unref&&h[e].unref())}),d.on("delete"+m,function(e){clearTimeout(f[e]),delete f[e],h&&("nextTick"!==h[e]&&clearTimeout(h[e]),delete h[e])}),p.preFetch&&(D=!0===p.preFetch||isNaN(p.preFetch)?.333:u(s(Number(p.preFetch),1),0))&&(h={},D=(1-D)*c,d.on("get"+m,function(t,a,o){h[t]||(h[t]="nextTick",r(function(){var r;"nextTick"===h[t]&&(delete h[t],d.delete(t),p.async&&(a=e(a)).push(i),r=d.memoized.apply(o,a),p.promise&&n(r)&&("function"==typeof r.done?r.done(i,i):r.then(i,i)))}))})),d.on("clear"+m,function(){t(f,function(e){clearTimeout(e)}),f={},h&&(t(h,function(e){"nextTick"!==e&&clearTimeout(e)}),h={})}))}}),Vt=pe(function(e,t){"use strict";var r=Ee(),n=Object.create,a=Object.prototype.hasOwnProperty;t.exports=function(e){var t,o=0,i=1,u=n(null),s=n(null),l=0;return e=r(e),{hit:function(r){var n=s[r],c=++l;if(u[c]=r,s[r]=c,!n){if(++o<=e)return;return r=u[i],t(r),r}if(delete u[n],i===n)for(;!a.call(u,++i););},delete:t=function(e){var t=s[e];if(t&&(delete u[t],delete s[e],--o,i===t)){if(!o)return l=0,void(i=1);for(;!a.call(u,++i););}},clear:function(){o=0,i=1,u=n(null),s=n(null),l=0}}}}),$t=pe(function(){"use strict";var e=Ee(),t=Vt(),r=Be();r.max=function(n,a,o){var i,u,s;(n=e(n))&&(u=t(n),i=o.async&&r.async||o.promise&&r.promise?"async":"",a.on("set"+i,s=function(e){void 0!==(e=u.hit(e))&&a.delete(e)}),a.on("get"+i,s),a.on("delete"+i,u.delete),a.on("clear"+i,u.clear))}}),Ht=pe(function(){"use strict";var e=Ye(),t=Be(),r=Object.create,n=Object.defineProperties;t.refCounter=function(a,o,i){var u,s;u=r(null),s=i.async&&t.async||i.promise&&t.promise?"async":"",o.on("set"+s,function(e,t){u[e]=t||1}),o.on("get"+s,function(e){++u[e]}),o.on("delete"+s,function(e){delete u[e]}),o.on("clear"+s,function(){u={}}),n(o.memoized,{deleteRef:e(function(){var e=o.get(arguments);return null===e?null:u[e]?! --u[e]&&(o.delete(e),!0):null}),getRefCount:e(function(){var e=o.get(arguments);return null===e?0:u[e]?u[e]:0})})}}),Ut=pe(function(e,t){"use strict";var r=ve(),n=Ce(),a=gt();t.exports=function(e){var t,o=r(arguments[1]);return o.normalizer||0!==(t=o.length=n(o.length,e.length,o.async))&&(o.primitive?!1===t?o.normalizer=vt():t>1&&(o.normalizer=bt()(t)):o.normalizer=!1===t?Ct()():1===t?xt()():At()(t)),o.async&&Bt(),o.promise&&It(),o.dispose&&Lt(),o.maxAge&&zt(),o.max&&$t(),o.refCounter&&Ht(),a(e,o)}}),Gt=pe(function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isIdentStart=function(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"||"-"===e||"_"===e},e.isIdent=function(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"||e>="0"&&e<="9"||"-"===e||"_"===e},e.isHex=function(e){return e>="a"&&e<="f"||e>="A"&&e<="F"||e>="0"&&e<="9"},e.escapeIdentifier=function(t){for(var r=t.length,n="",a=0;a="A"&&o<="Z"||o>="a"&&o<="z"||0!==a&&o>="0"&&o<="9")n+=o;else{var i=o.charCodeAt(0);if(55296==(63488&i)){var u=t.charCodeAt(a++);if(55296!=(64512&i)||56320!=(64512&u))throw Error("UCS-2(decode): illegal sequence");i=((1023&i)<<10)+(1023&u)+65536}n+="\\"+i.toString(16)+" "}a++}return n},e.escapeStr=function(t){for(var r,n=t.length,a="",o=0;o":!0,"?":!0,"@":!0,"[":!0,"\\":!0,"]":!0,"^":!0,"`":!0,"{":!0,"|":!0,"}":!0,"~":!0},e.strReplacementsRev={"\n":"\\n","\r":"\\r","\t":"\\t","\f":"\\f","\v":"\\v"},e.singleQuoteEscapeChars={n:"\n",r:"\r",t:"\t",f:"\f","\\":"\\","'":"'"},e.doubleQuotesEscapeChars={n:"\n",r:"\r",t:"\t",f:"\f","\\":"\\",'"':'"'}}),Wt=pe(function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=Gt();e.parseCssSelector=function(e,r,n,a,o,i){var u=e.length,s="";function l(n,a){var o="";for(r++,s=e.charAt(r);r=u)throw Error("Expected symbol but end of file reached.");if(s=e.charAt(r),t.identSpecialChars[s])n+=s;else{if(t.isHex(s)){var a=s;for(r++,s=e.charAt(r);t.isHex(s);)a+=s,r++,s=e.charAt(r);" "===s&&(r++,s=e.charAt(r)),n+=String.fromCharCode(parseInt(a,16));continue}n+=s}}r++,s=e.charAt(r)}return n}function d(){s=e.charAt(r);for(var t=!1;" "===s||"\t"===s||"\n"===s||"\r"===s||"\f"===s;)t=!0,r++,s=e.charAt(r);return t}function p(){var t=f();if(!t)return null;var n=t;for(s=e.charAt(r);","===s;){if(r++,d(),"selectors"!==n.type&&(n={type:"selectors",selectors:[t]}),!(t=f()))throw Error('Rule expected after ",".');n.selectors.push(t)}return n}function f(){d();var t={type:"ruleSet"},n=m();if(!n)return null;for(var a=t;n&&(n.type="rule",a.rule=n,a=n,d(),s=e.charAt(r),!(r>=u||","===s||")"===s));)if(o[s]){var i=s;if(r++,d(),!(n=m()))throw Error('Rule expected after "'+i+'".');n.nestingOperator=i}else(n=m())&&(n.nestingOperator=null);return t}function m(){for(var o=null;r=u)throw Error('Expected "=" but end of file reached.');if("="!==s)throw Error('Expected "=" but "'+s+'" found.');f.operator=m+"=",r++,d();var D="";if(f.valueType="string",'"'===s)D=l('"',t.doubleQuotesEscapeChars);else if("'"===s)D=l("'",t.singleQuoteEscapeChars);else if(i&&"$"===s)r++,D=c(),f.valueType="substitute";else{for(;r=u)throw Error('Expected "]" but end of file reached.');if("]"!==s)throw Error('Expected "]" but "'+s+'" found.');r++,f.value=D}((o=o||{}).attrs=o.attrs||[]).push(f)}else{if(":"!==s)break;r++;var h=c(),g={name:h};if("("===s){r++;var v="";if(d(),"selector"===n[h])g.valueType="selector",v=p();else{if(g.valueType=n[h]||"string",'"'===s)v=l('"',t.doubleQuotesEscapeChars);else if("'"===s)v=l("'",t.singleQuoteEscapeChars);else if(i&&"$"===s)r++,v=c(),g.valueType="substitute";else{for(;r=u)throw Error('Expected ")" but end of file reached.');if(")"!==s)throw Error('Expected ")" but "'+s+'" found.');r++,g.value=v}((o=o||{}).pseudos=o.pseudos||[]).push(g)}return o}return function(){var t=p();if(r>>0}}),a=Math.LN2,o=Math.abs,i=Math.floor,u=Math.log,s=Math.min,c=Math.pow,d=Math.round;function p(e,t,r){return er?r:e}var f,m=Object.getOwnPropertyNames||function(e){if(e!==Object(e))throw new TypeError("Object.getOwnPropertyNames called on non-object");var t,r=[];for(t in e)n.HasOwnProperty(e,t)&&r.push(t);return r};function D(e){if(m&&f){var t,r=m(e);for(t=0;t>r}function g(e,t){var r=32-t;return e<>>r}function v(e){return[255&e]}function b(e){return h(e[0],8)}function y(e){return[255&e]}function F(e){return g(e[0],8)}function w(e){return[(e=d(Number(e)))<0?0:e>255?255:255&e]}function E(e){return[e>>8&255,255&e]}function C(e){return h(e[0]<<8|e[1],16)}function x(e){return[e>>8&255,255&e]}function A(e){return g(e[0]<<8|e[1],16)}function k(e){return[e>>24&255,e>>16&255,e>>8&255,255&e]}function N(e){return h(e[0]<<24|e[1]<<16|e[2]<<8|e[3],32)}function B(e){return[e>>24&255,e>>16&255,e>>8&255,255&e]}function T(e){return g(e[0]<<24|e[1]<<16|e[2]<<8|e[3],32)}function R(e,t,r){var n,l,d,p,f,m,D,h=(1<.5||t%2?t+1:t}for(e!=e?(l=(1<=c(2,1-h)?(l=s(i(u(e)/a),1023),(d=g(e/c(2,l)*c(2,r)))/c(2,r)>=2&&(l+=1,d=1),l>h?(l=(1<>=1;return p.reverse(),i=p.join(""),u=(1<0?s*c(2,l-u)*(1+d/c(2,r)):0!==d?s*c(2,-(u-1))*(d/c(2,r)):s<0?-0:0}function O(e){return S(e,11,52)}function _(e){return R(e,11,52)}function M(e){return S(e,8,23)}function P(e){return R(e,8,23)}f=Object.defineProperty&&function(){try{return Object.defineProperty({},"x",{}),!0}catch(e){return!1}}()?Object.defineProperty:function(e,t,r){if(!e===Object(e))throw new TypeError("Object.defineProperty called on non-object");return n.HasProperty(r,"get")&&Object.prototype.__defineGetter__&&Object.prototype.__defineGetter__.call(e,t,r.get),n.HasProperty(r,"set")&&Object.prototype.__defineSetter__&&Object.prototype.__defineSetter__.call(e,t,r.set),n.HasProperty(r,"value")&&(e[t]=r.value),e},function(){function t(e){if((e=n.ToInt32(e))<0)throw new RangeError("ArrayBuffer size is not a small enough positive integer");var t;for(this.byteLength=e,this._bytes=[],this._bytes.length=e,t=0;tthis.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=n.ToUint32(a),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 for(u=arguments[0],this.length=n.ToUint32(u.length),this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new t(this.byteLength),this.byteOffset=0,s=0;s1e5)throw new RangeError("Array too large for polyfill");var t;for(t=0;t=this.length)){for(var t=[],r=0,a=this.byteOffset+e*this.BYTES_PER_ELEMENT;rthis.length)throw new RangeError("Offset plus length of array is out of range");if(d=this.byteOffset+o*this.BYTES_PER_ELEMENT,p=r.length*this.BYTES_PER_ELEMENT,r.buffer===this.buffer){for(f=[],u=0,s=r.byteOffset;uthis.length)throw new RangeError("Offset plus length of array is out of range");for(u=0;uthis.buffer.byteLength)throw new RangeError("byteOffset out of range");if(this.byteLength=arguments.length<3?this.buffer.byteLength-this.byteOffset:n.ToUint32(a),this.byteOffset+this.byteLength>this.buffer.byteLength)throw new RangeError("byteOffset and length reference an area beyond the end of the buffer");D(this)}function i(r){return function(o,i){if((o=n.ToUint32(o))+r.BYTES_PER_ELEMENT>this.byteLength)throw new RangeError("Array index out of range");o+=this.byteOffset;var u,s=new e.Uint8Array(this.buffer,o,r.BYTES_PER_ELEMENT),l=[];for(u=0;uthis.byteLength)throw new RangeError("Array index out of range");var s,l=new r([i]),c=new e.Uint8Array(l.buffer),d=[];for(s=0;s0)throw new TypeError("WeakMap iterable is not supported")}function r(e,r){if(!a(e)||!t.call(e,"_id"))throw new TypeError(r+" method called on incompatible receiver "+l(e))}function o(){return Math.random().toString().substring(2)}return n(e.prototype,"delete",function(e){if(r(this,"delete"),!a(e))return!1;var t=e[this._id];return!(!t||t[0]!==e||(delete e[this._id],0))}),n(e.prototype,"get",function(e){if(r(this,"get"),a(e)){var t=e[this._id];return t&&t[0]===e?t[1]:void 0}}),n(e.prototype,"has",function(e){if(r(this,"has"),!a(e))return!1;var t=e[this._id];return!(!t||t[0]!==e)}),n(e.prototype,"set",function(e,t){if(r(this,"set"),!a(e))throw new TypeError("Invalid value used as weak map key");var o=e[this._id];return o&&o[0]===e?(o[1]=t,this):(n(e,this._id,[e,t]),this)}),n(e,"_polyfill",!0),e}()}function a(e){return Object(e)===e}}("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:void 0!==i?i:void 0!==u?u:e)}),Qt=pe(function(e,t){"use strict";var r=function(e){return e&&e.Math===Math&&e};t.exports=r("object"==("undefined"==typeof globalThis?"undefined":l(globalThis))&&globalThis)||r("object"==(void 0===i?"undefined":l(i))&&i)||r("object"==("undefined"==typeof self?"undefined":l(self))&&self)||r("object"==(void 0===u?"undefined":l(u))&&u)||function(){return this}()||e||Function("return this")()}),er=pe(function(e,t){"use strict";t.exports=function(e){try{return!!e()}catch(e){return!0}}}),tr=pe(function(e,t){"use strict";var r=er();t.exports=!r(function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})}),rr=pe(function(e,t){"use strict";var r=tr(),n=Function.prototype,a=n.apply,o=n.call;t.exports="object"==("undefined"==typeof Reflect?"undefined":l(Reflect))&&Reflect.apply||(r?o.bind(a):function(){return o.apply(a,arguments)})}),nr=pe(function(e,t){"use strict";var r=tr(),n=Function.prototype,a=n.call,o=r&&n.bind.bind(a,a);t.exports=r?o:function(e){return function(){return a.apply(e,arguments)}}}),ar=pe(function(e,t){"use strict";var r=nr(),n=r({}.toString),a=r("".slice);t.exports=function(e){return a(n(e),8,-1)}}),or=pe(function(e,t){"use strict";var r=ar(),n=nr();t.exports=function(e){if("Function"===r(e))return n(e)}}),ir=pe(function(e,t){"use strict";var r="object"==(void 0===s?"undefined":l(s))&&s.all,n=void 0===r&&void 0!==r;t.exports={all:r,IS_HTMLDDA:n}}),ur=pe(function(e,t){"use strict";var r=ir(),n=r.all;t.exports=r.IS_HTMLDDA?function(e){return"function"==typeof e||e===n}:function(e){return"function"==typeof e}}),sr=pe(function(e,t){"use strict";var r=er();t.exports=!r(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})}),lr=pe(function(e,t){"use strict";var r=tr(),n=Function.prototype.call;t.exports=r?n.bind(n):function(){return n.apply(n,arguments)}}),cr=pe(function(e){"use strict";var t={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,n=r&&!t.call({1:2},1);e.f=n?function(e){var t=r(this,e);return!!t&&t.enumerable}:t}),dr=pe(function(e,t){"use strict";t.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}}),pr=pe(function(e,t){"use strict";var r=nr(),n=er(),a=ar(),o=Object,i=r("".split);t.exports=n(function(){return!o("z").propertyIsEnumerable(0)})?function(e){return"String"===a(e)?i(e,""):o(e)}:o}),fr=pe(function(e,t){"use strict";t.exports=function(e){return null==e}}),mr=pe(function(e,t){"use strict";var r=fr(),n=TypeError;t.exports=function(e){if(r(e))throw new n("Can't call method on "+e);return e}}),Dr=pe(function(e,t){"use strict";var r=pr(),n=mr();t.exports=function(e){return r(n(e))}}),hr=pe(function(e,t){"use strict";var r=ur(),n=ir(),a=n.all;t.exports=n.IS_HTMLDDA?function(e){return"object"==l(e)?null!==e:r(e)||e===a}:function(e){return"object"==l(e)?null!==e:r(e)}}),gr=pe(function(e,t){"use strict";t.exports={}}),vr=pe(function(e,t){"use strict";var r=gr(),n=Qt(),a=ur(),o=function(e){return a(e)?e:void 0};t.exports=function(e,t){return arguments.length<2?o(r[e])||o(n[e]):r[e]&&r[e][t]||n[e]&&n[e][t]}}),br=pe(function(e,t){"use strict";var r=nr();t.exports=r({}.isPrototypeOf)}),yr=pe(function(e,t){"use strict";t.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""}),Fr=pe(function(e,t){"use strict";var r,n,a=Qt(),o=yr(),i=a.process,u=a.Deno,s=i&&i.versions||u&&u.version,l=s&&s.v8;l&&(n=(r=l.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!n&&o&&(!(r=o.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=o.match(/Chrome\/(\d+)/))&&(n=+r[1]),t.exports=n}),wr=pe(function(e,t){"use strict";var r=Fr(),n=er(),a=Qt().String;t.exports=!!Object.getOwnPropertySymbols&&!n(function(){var e=Symbol("symbol detection");return!a(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41})}),Er=pe(function(e,t){"use strict";var r=wr();t.exports=r&&!Symbol.sham&&"symbol"==l(Symbol.iterator)}),Cr=pe(function(e,t){"use strict";var r=vr(),n=ur(),a=br(),o=Er(),i=Object;t.exports=o?function(e){return"symbol"==l(e)}:function(e){var t=r("Symbol");return n(t)&&a(t.prototype,i(e))}}),xr=pe(function(e,t){"use strict";var r=String;t.exports=function(e){try{return r(e)}catch(e){return"Object"}}}),Ar=pe(function(e,t){"use strict";var r=ur(),n=xr(),a=TypeError;t.exports=function(e){if(r(e))return e;throw new a(n(e)+" is not a function")}}),kr=pe(function(e,t){"use strict";var r=Ar(),n=fr();t.exports=function(e,t){var a=e[t];return n(a)?void 0:r(a)}}),Nr=pe(function(e,t){"use strict";var r=lr(),n=ur(),a=hr(),o=TypeError;t.exports=function(e,t){var i,u;if("string"===t&&n(i=e.toString)&&!a(u=r(i,e)))return u;if(n(i=e.valueOf)&&!a(u=r(i,e)))return u;if("string"!==t&&n(i=e.toString)&&!a(u=r(i,e)))return u;throw new o("Can't convert object to primitive value")}}),Br=pe(function(e,t){"use strict";t.exports=!0}),Tr=pe(function(e,t){"use strict";var r=Qt(),n=Object.defineProperty;t.exports=function(e,t){try{n(r,e,{value:t,configurable:!0,writable:!0})}catch(n){r[e]=t}return t}}),Rr=pe(function(e,t){"use strict";var r=Qt(),n=Tr(),a="__core-js_shared__",o=r[a]||n(a,{});t.exports=o}),Sr=pe(function(e,t){"use strict";var r=Br(),n=Rr();(t.exports=function(e,t){return n[e]||(n[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.33.0",mode:r?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.33.0/LICENSE",source:"https://github.com/zloirock/core-js"})}),Or=pe(function(e,t){"use strict";var r=mr(),n=Object;t.exports=function(e){return n(r(e))}}),_r=pe(function(e,t){"use strict";var r=nr(),n=Or(),a=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(e,t){return a(n(e),t)}}),Mr=pe(function(e,t){"use strict";var r=nr(),n=0,a=Math.random(),o=r(1..toString);t.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+o(++n+a,36)}}),Pr=pe(function(e,t){"use strict";var r=Qt(),n=Sr(),a=_r(),o=Mr(),i=wr(),u=Er(),s=r.Symbol,l=n("wks"),c=u?s.for||s:s&&s.withoutSetter||o;t.exports=function(e){return a(l,e)||(l[e]=i&&a(s,e)?s[e]:c("Symbol."+e)),l[e]}}),Ir=pe(function(e,t){"use strict";var r=lr(),n=hr(),a=Cr(),o=kr(),i=Nr(),u=Pr(),s=TypeError,l=u("toPrimitive");t.exports=function(e,t){if(!n(e)||a(e))return e;var u,c=o(e,l);if(c){if(void 0===t&&(t="default"),u=r(c,e,t),!n(u)||a(u))return u;throw new s("Can't convert object to primitive value")}return void 0===t&&(t="number"),i(e,t)}}),Lr=pe(function(e,t){"use strict";var r=Ir(),n=Cr();t.exports=function(e){var t=r(e,"string");return n(t)?t:t+""}}),jr=pe(function(e,t){"use strict";var r=Qt(),n=hr(),a=r.document,o=n(a)&&n(a.createElement);t.exports=function(e){return o?a.createElement(e):{}}}),qr=pe(function(e,t){"use strict";var r=sr(),n=er(),a=jr();t.exports=!r&&!n(function(){return 7!==Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a})}),zr=pe(function(e){"use strict";var t=sr(),r=lr(),n=cr(),a=dr(),o=Dr(),i=Lr(),u=_r(),s=qr(),l=Object.getOwnPropertyDescriptor;e.f=t?l:function(e,t){if(e=o(e),t=i(t),s)try{return l(e,t)}catch(e){}if(u(e,t))return a(!r(n.f,e,t),e[t])}}),Vr=pe(function(e,t){"use strict";var r=er(),n=ur(),a=/#|\.prototype\./,o=function(e,t){var a=u[i(e)];return a===l||a!==s&&(n(t)?r(t):!!t)},i=o.normalize=function(e){return String(e).replace(a,".").toLowerCase()},u=o.data={},s=o.NATIVE="N",l=o.POLYFILL="P";t.exports=o}),$r=pe(function(e,t){"use strict";var r=or(),n=Ar(),a=tr(),o=r(r.bind);t.exports=function(e,t){return n(e),void 0===t?e:a?o(e,t):function(){return e.apply(t,arguments)}}}),Hr=pe(function(e,t){"use strict";var r=sr(),n=er();t.exports=r&&n(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})}),Ur=pe(function(e,t){"use strict";var r=hr(),n=String,a=TypeError;t.exports=function(e){if(r(e))return e;throw new a(n(e)+" is not an object")}}),Gr=pe(function(e){"use strict";var t=sr(),r=qr(),n=Hr(),a=Ur(),o=Lr(),i=TypeError,u=Object.defineProperty,s=Object.getOwnPropertyDescriptor,l="enumerable",c="configurable",d="writable";e.f=t?n?function(e,t,r){if(a(e),t=o(t),a(r),"function"==typeof e&&"prototype"===t&&"value"in r&&d in r&&!r[d]){var n=s(e,t);n&&n[d]&&(e[t]=r.value,r={configurable:c in r?r[c]:n[c],enumerable:l in r?r[l]:n[l],writable:!1})}return u(e,t,r)}:u:function(e,t,n){if(a(e),t=o(t),a(n),r)try{return u(e,t,n)}catch(e){}if("get"in n||"set"in n)throw new i("Accessors not supported");return"value"in n&&(e[t]=n.value),e}}),Wr=pe(function(e,t){"use strict";var r=sr(),n=Gr(),a=dr();t.exports=r?function(e,t,r){return n.f(e,t,a(1,r))}:function(e,t,r){return e[t]=r,e}}),Yr=pe(function(e,t){"use strict";var r=Qt(),n=rr(),a=or(),o=ur(),i=zr().f,u=Vr(),s=gr(),c=$r(),d=Wr(),p=_r(),f=function(e){var t=function(r,a,o){if(this instanceof t){switch(arguments.length){case 0:return new e;case 1:return new e(r);case 2:return new e(r,a)}return new e(r,a,o)}return n(e,this,arguments)};return t.prototype=e.prototype,t};t.exports=function(e,t){var n,m,D,h,g,v,b,y,F,w=e.target,E=e.global,C=e.stat,x=e.proto,A=E?r:C?r[w]:(r[w]||{}).prototype,k=E?s:s[w]||d(s,w,{})[w],N=k.prototype;for(h in t)m=!(n=u(E?h:w+(C?".":"#")+h,e.forced))&&A&&p(A,h),v=k[h],m&&(b=e.dontCallGetSet?(F=i(A,h))&&F.value:A[h]),g=m&&b?b:t[h],m&&l(v)==l(g)||(y=e.bind&&m?c(g,r):e.wrap&&m?f(g):x&&o(g)?a(g):g,(e.sham||g&&g.sham||v&&v.sham)&&d(y,"sham",!0),d(k,h,y),x&&(p(s,D=w+"Prototype")||d(s,D,{}),d(s[D],h,g),e.real&&N&&(n||!N[h])&&d(N,h,g)))}}),Kr=pe(function(){"use strict";Yr()({target:"Object",stat:!0},{hasOwn:_r()})}),Xr=pe(function(e,t){"use strict";Kr();var r=gr();t.exports=r.Object.hasOwn}),Zr=pe(function(e,t){"use strict";var r=Xr();t.exports=r}),Jr=pe(function(e,t){"use strict";var r=Zr();t.exports=r}),Qr=pe(function(e,t){"use strict";var r=Sr(),n=Mr(),a=r("keys");t.exports=function(e){return a[e]||(a[e]=n(e))}}),en=pe(function(e,t){"use strict";var r=er();t.exports=!r(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})}),tn=pe(function(e,t){"use strict";var r=_r(),n=ur(),a=Or(),o=Qr(),i=en(),u=o("IE_PROTO"),s=Object,l=s.prototype;t.exports=i?s.getPrototypeOf:function(e){var t=a(e);if(r(t,u))return t[u];var o=t.constructor;return n(o)&&t instanceof o?o.prototype:t instanceof s?l:null}}),rn=pe(function(e,t){"use strict";var r=Math.ceil,n=Math.floor;t.exports=Math.trunc||function(e){var t=+e;return(t>0?n:r)(t)}}),nn=pe(function(e,t){"use strict";var r=rn();t.exports=function(e){var t=+e;return t!=t||0===t?0:r(t)}}),an=pe(function(e,t){"use strict";var r=nn(),n=Math.max,a=Math.min;t.exports=function(e,t){var o=r(e);return o<0?n(o+t,0):a(o,t)}}),on=pe(function(e,t){"use strict";var r=nn(),n=Math.min;t.exports=function(e){return e>0?n(r(e),9007199254740991):0}}),un=pe(function(e,t){"use strict";var r=on();t.exports=function(e){return r(e.length)}}),sn=pe(function(e,t){"use strict";var r=Dr(),n=an(),a=un(),o=function(e){return function(t,o,i){var u,s=r(t),l=a(s),c=n(i,l);if(e&&o!=o){for(;l>c;)if((u=s[c++])!=u)return!0}else for(;l>c;c++)if((e||c in s)&&s[c]===o)return e||c||0;return!e&&-1}};t.exports={includes:o(!0),indexOf:o(!1)}}),ln=pe(function(e,t){"use strict";t.exports={}}),cn=pe(function(e,t){"use strict";var r=nr(),n=_r(),a=Dr(),o=sn().indexOf,i=ln(),u=r([].push);t.exports=function(e,t){var r,s=a(e),l=0,c=[];for(r in s)!n(i,r)&&n(s,r)&&u(c,r);for(;t.length>l;)n(s,r=t[l++])&&(~o(c,r)||u(c,r));return c}}),dn=pe(function(e,t){"use strict";t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]}),pn=pe(function(e,t){"use strict";var r=cn(),n=dn();t.exports=Object.keys||function(e){return r(e,n)}}),fn=pe(function(e,t){"use strict";var r=sr(),n=er(),a=nr(),o=tn(),i=pn(),u=Dr(),s=a(cr().f),l=a([].push),c=r&&n(function(){var e=Object.create(null);return e[2]=2,!s(e,2)}),d=function(e){return function(t){for(var n,a=u(t),d=i(a),p=c&&null===o(a),f=d.length,m=0,D=[];f>m;)n=d[m++],r&&!(p?n in a:s(a,n))||l(D,e?[n,a[n]]:a[n]);return D}};t.exports={entries:d(!0),values:d(!1)}}),mn=pe(function(){"use strict";var e=Yr(),t=fn().values;e({target:"Object",stat:!0},{values:function(e){return t(e)}})}),Dn=pe(function(e,t){"use strict";mn();var r=gr();t.exports=r.Object.values}),hn=pe(function(e,t){"use strict";var r=Dn();t.exports=r}),gn=pe(function(e,t){"use strict";var r=hn();t.exports=r}),vn=pe(function(e,t){"use strict";var r={};r[Pr()("toStringTag")]="z",t.exports="[object z]"===String(r)}),bn=pe(function(e,t){"use strict";var r=vn(),n=ur(),a=ar(),o=Pr()("toStringTag"),i=Object,u="Arguments"===a(function(){return arguments}());t.exports=r?a:function(e){var t,r,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=i(e),o))?r:u?a(t):"Object"===(s=a(t))&&n(t.callee)?"Arguments":s}}),yn=pe(function(e,t){"use strict";var r=bn(),n=String;t.exports=function(e){if("Symbol"===r(e))throw new TypeError("Cannot convert a Symbol value to a string");return n(e)}}),Fn=pe(function(e,t){"use strict";var r=nr(),n=nn(),a=yn(),o=mr(),i=r("".charAt),u=r("".charCodeAt),s=r("".slice),l=function(e){return function(t,r){var l,c,d=a(o(t)),p=n(r),f=d.length;return p<0||p>=f?e?"":void 0:(l=u(d,p))<55296||l>56319||p+1===f||(c=u(d,p+1))<56320||c>57343?e?i(d,p):l:e?s(d,p,p+2):c-56320+(l-55296<<10)+65536}};t.exports={codeAt:l(!1),charAt:l(!0)}}),wn=pe(function(e,t){"use strict";var r=Qt(),n=ur(),a=r.WeakMap;t.exports=n(a)&&/native code/.test(String(a))}),En=pe(function(e,t){"use strict";var r,n,a,o,i,u=wn(),s=Qt(),l=hr(),c=Wr(),d=_r(),p=Rr(),f=Qr(),m=ln(),D="Object already initialized",h=s.TypeError,g=s.WeakMap;u||p.state?((o=p.state||(p.state=new g)).get=o.get,o.has=o.has,o.set=o.set,r=function(e,t){if(o.has(e))throw new h(D);return t.facade=e,o.set(e,t),t},n=function(e){return o.get(e)||{}},a=function(e){return o.has(e)}):(m[i=f("state")]=!0,r=function(e,t){if(d(e,i))throw new h(D);return t.facade=e,c(e,i,t),t},n=function(e){return d(e,i)?e[i]:{}},a=function(e){return d(e,i)}),t.exports={set:r,get:n,has:a,enforce:function(e){return a(e)?n(e):r(e,{})},getterFor:function(e){return function(t){var r;if(!l(t)||(r=n(t)).type!==e)throw new h("Incompatible receiver, "+e+" required");return r}}}}),Cn=pe(function(e,t){"use strict";var r=sr(),n=_r(),a=Function.prototype,o=r&&Object.getOwnPropertyDescriptor,i=n(a,"name"),u=i&&"something"===function(){}.name,s=i&&(!r||r&&o(a,"name").configurable);t.exports={EXISTS:i,PROPER:u,CONFIGURABLE:s}}),xn=pe(function(e){"use strict";var t=sr(),r=Hr(),n=Gr(),a=Ur(),o=Dr(),i=pn();e.f=t&&!r?Object.defineProperties:function(e,t){a(e);for(var r,u=o(t),s=i(t),l=s.length,c=0;l>c;)n.f(e,r=s[c++],u[r]);return e}}),An=pe(function(e,t){"use strict";var r=vr();t.exports=r("document","documentElement")}),kn=pe(function(e,t){"use strict";var r,n=Ur(),a=xn(),o=dn(),i=ln(),u=An(),l=jr(),c=Qr(),d="prototype",p="script",f=c("IE_PROTO"),m=function(){},D=function(e){return"<"+p+">"+e+""},h=function(e){e.write(D("")),e.close();var t=e.parentWindow.Object;return e=null,t},g=function(){try{r=new ActiveXObject("htmlfile")}catch(e){}var e,t,n;g=void 0!==s?s.domain&&r?h(r):(t=l("iframe"),n="java"+p+":",t.style.display="none",u.appendChild(t),t.src=String(n),(e=t.contentWindow.document).open(),e.write(D("document.F=Object")),e.close(),e.F):h(r);for(var a=o.length;a--;)delete g[d][o[a]];return g()};i[f]=!0,t.exports=Object.create||function(e,t){var r;return null!==e?(m[d]=n(e),r=new m,m[d]=null,r[f]=e):r=g(),void 0===t?r:a.f(r,t)}}),Nn=pe(function(e,t){"use strict";var r=Wr();t.exports=function(e,t,n,a){return a&&a.enumerable?e[t]=n:r(e,t,n),e}}),Bn=pe(function(e,t){"use strict";var r,n,a,o=er(),i=ur(),u=hr(),s=kn(),l=tn(),c=Nn(),d=Pr(),p=Br(),f=d("iterator"),m=!1;[].keys&&("next"in(a=[].keys())?(n=l(l(a)))!==Object.prototype&&(r=n):m=!0),!u(r)||o(function(){var e={};return r[f].call(e)!==e})?r={}:p&&(r=s(r)),i(r[f])||c(r,f,function(){return this}),t.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:m}}),Tn=pe(function(e,t){"use strict";var r=vn(),n=bn();t.exports=r?{}.toString:function(){return"[object "+n(this)+"]"}}),Rn=pe(function(e,t){"use strict";var r=vn(),n=Gr().f,a=Wr(),o=_r(),i=Tn(),u=Pr()("toStringTag");t.exports=function(e,t,s,l){if(e){var c=s?e:e.prototype;o(c,u)||n(c,u,{configurable:!0,value:t}),l&&!r&&a(c,"toString",i)}}}),Sn=pe(function(e,t){"use strict";t.exports={}}),On=pe(function(e,t){"use strict";var r=Bn().IteratorPrototype,n=kn(),a=dr(),o=Rn(),i=Sn(),u=function(){return this};t.exports=function(e,t,s,l){var c=t+" Iterator";return e.prototype=n(r,{next:a(+!l,s)}),o(e,c,!1,!0),i[c]=u,e}}),_n=pe(function(e,t){"use strict";var r=nr(),n=Ar();t.exports=function(e,t,a){try{return r(n(Object.getOwnPropertyDescriptor(e,t)[a]))}catch(e){}}}),Mn=pe(function(e,t){"use strict";var r=ur(),n=String,a=TypeError;t.exports=function(e){if("object"==l(e)||r(e))return e;throw new a("Can't set "+n(e)+" as a prototype")}}),Pn=pe(function(e,t){"use strict";var r=_n(),n=Ur(),a=Mn();t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,o={};try{(e=r(Object.prototype,"__proto__","set"))(o,[]),t=o instanceof Array}catch(e){}return function(r,o){return n(r),a(o),t?e(r,o):r.__proto__=o,r}}():void 0)}),In=pe(function(e,t){"use strict";var r=Yr(),n=lr(),a=Br(),o=Cn(),i=ur(),u=On(),s=tn(),l=Pn(),c=Rn(),d=Wr(),p=Nn(),f=Pr(),m=Sn(),D=Bn(),h=o.PROPER,g=o.CONFIGURABLE,v=D.IteratorPrototype,b=D.BUGGY_SAFARI_ITERATORS,y=f("iterator"),F="keys",w="values",E="entries",C=function(){return this};t.exports=function(e,t,o,f,D,x,A){u(o,t,f);var k,N,B,T=function(e){if(e===D&&M)return M;if(!b&&e&&e in O)return O[e];switch(e){case F:case w:case E:return function(){return new o(this,e)}}return function(){return new o(this)}},R=t+" Iterator",S=!1,O=e.prototype,_=O[y]||O["@@iterator"]||D&&O[D],M=!b&&_||T(D),P="Array"===t&&O.entries||_;if(P&&(k=s(P.call(new e)))!==Object.prototype&&k.next&&(a||s(k)===v||(l?l(k,v):i(k[y])||p(k,y,C)),c(k,R,!0,!0),a&&(m[R]=C)),h&&D===w&&_&&_.name!==w&&(!a&&g?d(O,"name",w):(S=!0,M=function(){return n(_,this)})),D)if(N={values:T(w),keys:x?M:T(F),entries:T(E)},A)for(B in N)(b||S||!(B in O))&&p(O,B,N[B]);else r({target:t,proto:!0,forced:b||S},N);return a&&!A||O[y]===M||p(O,y,M,{name:D}),m[t]=M,N}}),Ln=pe(function(e,t){"use strict";t.exports=function(e,t){return{value:e,done:t}}}),jn=pe(function(){"use strict";var e=Fn().charAt,t=yn(),r=En(),n=In(),a=Ln(),o="String Iterator",i=r.set,u=r.getterFor(o);n(String,"String",function(e){i(this,{type:o,string:t(e),index:0})},function(){var t,r=u(this),n=r.string,o=r.index;return o>=n.length?a(void 0,!0):(t=e(n,o),r.index+=t.length,a(t,!1))})}),qn=pe(function(e,t){"use strict";var r=lr(),n=Ur(),a=kr();t.exports=function(e,t,o){var i,u;n(e);try{if(!(i=a(e,"return"))){if("throw"===t)throw o;return o}i=r(i,e)}catch(e){u=!0,i=e}if("throw"===t)throw o;if(u)throw i;return n(i),o}}),zn=pe(function(e,t){"use strict";var r=Ur(),n=qn();t.exports=function(e,t,a,o){try{return o?t(r(a)[0],a[1]):t(a)}catch(t){n(e,"throw",t)}}}),Vn=pe(function(e,t){"use strict";var r=Pr(),n=Sn(),a=r("iterator"),o=Array.prototype;t.exports=function(e){return void 0!==e&&(n.Array===e||o[a]===e)}}),$n=pe(function(e,t){"use strict";var r=nr(),n=ur(),a=Rr(),o=r(Function.toString);n(a.inspectSource)||(a.inspectSource=function(e){return o(e)}),t.exports=a.inspectSource}),Hn=pe(function(e,t){"use strict";var r=nr(),n=er(),a=ur(),o=bn(),i=vr(),u=$n(),s=function(){},l=[],c=i("Reflect","construct"),d=/^\s*(?:class|function)\b/,p=r(d.exec),f=!d.test(s),m=function(e){if(!a(e))return!1;try{return c(s,l,e),!0}catch(e){return!1}},D=function(e){if(!a(e))return!1;switch(o(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return f||!!p(d,u(e))}catch(e){return!0}};D.sham=!0,t.exports=!c||n(function(){var e;return m(m.call)||!m(Object)||!m(function(){e=!0})||e})?D:m}),Un=pe(function(e,t){"use strict";var r=Lr(),n=Gr(),a=dr();t.exports=function(e,t,o){var i=r(t);i in e?n.f(e,i,a(0,o)):e[i]=o}}),Gn=pe(function(e,t){"use strict";var r=bn(),n=kr(),a=fr(),o=Sn(),i=Pr()("iterator");t.exports=function(e){if(!a(e))return n(e,i)||n(e,"@@iterator")||o[r(e)]}}),Wn=pe(function(e,t){"use strict";var r=lr(),n=Ar(),a=Ur(),o=xr(),i=Gn(),u=TypeError;t.exports=function(e,t){var s=arguments.length<2?i(e):t;if(n(s))return a(r(s,e));throw new u(o(e)+" is not iterable")}}),Yn=pe(function(e,t){"use strict";var r=$r(),n=lr(),a=Or(),o=zn(),i=Vn(),u=Hn(),s=un(),l=Un(),c=Wn(),d=Gn(),p=Array;t.exports=function(e){var t=a(e),f=u(this),m=arguments.length,D=m>1?arguments[1]:void 0,h=void 0!==D;h&&(D=r(D,m>2?arguments[2]:void 0));var g,v,b,y,F,w,E=d(t),C=0;if(!E||this===p&&i(E))for(g=s(t),v=f?new this(g):p(g);g>C;C++)w=h?D(t[C],C):t[C],l(v,C,w);else for(F=(y=c(t,E)).next,v=f?new this:[];!(b=n(F,y)).done;C++)w=h?o(y,D,[b.value,C],!0):b.value,l(v,C,w);return v.length=C,v}}),Kn=pe(function(e,t){"use strict";var r,n,a=Pr()("iterator"),o=!1;try{r=0,(n={next:function(){return{done:!!r++}},return:function(){o=!0}})[a]=function(){return this},Array.from(n,function(){throw 2})}catch(e){}t.exports=function(e,t){try{if(!t&&!o)return!1}catch(e){return!1}var r=!1;try{var n={};n[a]=function(){return{next:function(){return{done:r=!0}}}},e(n)}catch(e){}return r}}),Xn=pe(function(){"use strict";var e=Yr(),t=Yn();e({target:"Array",stat:!0,forced:!Kn()(function(e){Array.from(e)})},{from:t})}),Zn=pe(function(e,t){"use strict";jn(),Xn();var r=gr();t.exports=r.Array.from}),Jn=pe(function(e,t){"use strict";var r=Zn();t.exports=r}),Qn=pe(function(e,t){"use strict";var r=Jn();t.exports=r}),ea=pe(function(e,t){!function(){"use strict";var n={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:!0,append:!0,selfcontained:!1,doNotSkipEncoded:!1},template:void 0,compile:void 0,log:!0};!function(){if("object"!==("undefined"==typeof globalThis?"undefined":l(globalThis)))try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__}catch(e){i.globalThis=function(){if("undefined"!=typeof self)return self;if(void 0!==i)return i;if(void 0!==u)return u;if(void 0!==this)return this;throw new Error("Unable to locate global `this`")}()}}(),n.encodeHTMLSource=function(e){var t={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"},r=e?/[&<>"'\/]/g:/&(?!#?\w+;)|<|>|"|'|\//g;return function(e){return e?e.toString().replace(r,function(e){return t[e]||e}):""}},void 0!==t&&t.exports?t.exports=n:void 0===(a=function(){return n}.call(e,r,e,t))||(t.exports=a);var o={append:{start:"'+(",end:")+'",startencode:"'+encodeHTML("},split:{start:"';out+=(",end:");out+='",startencode:"';out+=encodeHTML("}},s=/$^/;function c(e,t,r){return("string"==typeof t?t:t.toString()).replace(e.define||s,function(t,n,a,o){return 0===n.indexOf("def.")&&(n=n.substring(4)),n in r||(":"===a?(e.defineParams&&o.replace(e.defineParams,function(e,t,a){r[n]={arg:t,text:a}}),n in r||(r[n]=o)):new Function("def","def['"+n+"']="+o)(r)),""}).replace(e.use||s,function(t,n){e.useParams&&(n=n.replace(e.useParams,function(e,t,n,a){if(r[n]&&r[n].arg&&a){var o=(n+":"+a).replace(/'|\\/g,"_");return r.__exp=r.__exp||{},r.__exp[o]=r[n].text.replace(new RegExp("(^|[^\\w$])"+r[n].arg+"([^\\w$])","g"),"$1"+a+"$2"),t+"def.__exp['"+o+"']"}}));var a=new Function("def","return "+n)(r);return a?c(e,a,r):a})}function d(e){return e.replace(/\\('|\\)/g,"$1").replace(/[\r\t\n]/g," ")}n.template=function(e,t,r){var a,i,u=(t=t||n.templateSettings).append?o.append:o.split,l=0,p=t.use||t.define?c(t,e,r||{}):e;p=("var out='"+(t.strip?p.replace(/(^|\r|\n)\t* +| +\t*(\r|\n|$)/g," ").replace(/\r|\n|\t|\/\*[\s\S]*?\*\//g,""):p).replace(/'|\\/g,"\\$&").replace(t.interpolate||s,function(e,t){return u.start+d(t)+u.end}).replace(t.encode||s,function(e,t){return a=!0,u.startencode+d(t)+u.end}).replace(t.conditional||s,function(e,t,r){return t?r?"';}else if("+d(r)+"){out+='":"';}else{out+='":r?"';if("+d(r)+"){out+='":"';}out+='"}).replace(t.iterate||s,function(e,t,r,n){return t?(l+=1,i=n||"i"+l,t=d(t),"';var arr"+l+"="+t+";if(arr"+l+"){var "+r+","+i+"=-1,l"+l+"=arr"+l+".length-1;while("+i+"",sameOrigin:""};[{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"}].forEach(function(e){var t=e.name,r=e.value,n=e.priority,a=e.group;ta[t]=r,ta[t+"_PRIO"]=n,ta[t+"_GROUP"]=a,ta.results[n]=r,ta.resultGroups[n]=a,ta.resultGroupMap[r]=a}),Object.freeze(ta.results),Object.freeze(ta.resultGroups),Object.freeze(ta.resultGroupMap),Object.freeze(ta);var ra=ta,na=function(){"object"===("undefined"==typeof console?"undefined":l(console))&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},aa=/[\t\r\n\f]/g,oa=Z(function e(){K(this,e),this.parent=void 0},[{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(e){var t=this.attr("class");if(!t)return!1;var r=" "+e+" ";return(" "+t+" ").replace(aa," ").indexOf(r)>=0}}]),ia={};fe(ia,{DqElement:function(){return ao},aggregate:function(){return ua},aggregateChecks:function(){return fa},aggregateNodeResults:function(){return Da},aggregateResult:function(){return ga},areStylesSet:function(){return va},assert:function(){return ba},checkHelper:function(){return oo},clone:function(){return io},closest:function(){return Eo},collectResultsFromFrames:function(){return bi},contains:function(){return yi},convertSelector:function(){return yo},cssParser:function(){return lo},deepMerge:function(){return Fi},escapeSelector:function(){return Fa},extendMetaData:function(){return wi},filterHtmlAttrs:function(){return gD},finalizeRuleResult:function(){return ma},findBy:function(){return hi},getAllChecks:function(){return Di},getAncestry:function(){return Ka},getBaseLang:function(){return tm},getCheckMessage:function(){return cm},getCheckOption:function(){return dm},getEnvironmentData:function(){return pm},getFlattenedTree:function(){return Jf},getFrameContexts:function(){return xm},getFriendlyUriEnd:function(){return xa},getNodeAttributes:function(){return Aa},getNodeFromTree:function(){return to},getPreloadConfig:function(){return dD},getRootNode:function(){return Ai},getRule:function(){return Am},getScroll:function(){return Nm},getScrollState:function(){return Tm},getSelector:function(){return Ga},getSelectorData:function(){return qa},getShadowSelector:function(){return Ra},getStandards:function(){return Rm},getStyleSheetFactory:function(){return Om},getXpath:function(){return Za},injectStyle:function(){return _m},isArrayLike:function(){return Mm},isContextObject:function(){return Lm},isContextProp:function(){return jm},isContextSpec:function(){return Im},isHidden:function(){return Vm},isHtmlElement:function(){return $m},isLabelledFramesSelector:function(){return qm},isLabelledShadowDomSelector:function(){return zm},isNodeInContext:function(){return Hm},isShadowRoot:function(){return Ci},isValidLang:function(){return BD},isXHTML:function(){return Ta},matchAncestry:function(){return Gm},matches:function(){return co},matchesExpression:function(){return wo},matchesSelector:function(){return ka},memoize:function(){return Ba},mergeResults:function(){return vi},nodeLookup:function(){return Ym},nodeSerializer:function(){return mi},nodeSorter:function(){return Wm},objectHasOwn:function(){return Pm},parseCrossOriginStylesheet:function(){return Zm},parseSameOriginStylesheet:function(){return Km},parseStylesheet:function(){return Xm},parseTabindex:function(){return Jm},performanceTimer:function(){return Qm},pollyfillElementsFromPoint:function(){return eD},preload:function(){return lD},preloadCssom:function(){return aD},preloadMedia:function(){return sD},processMessage:function(){return lm},publishMetaData:function(){return pD},querySelectorAll:function(){return mD},querySelectorAllFilter:function(){return nD},queue:function(){return No},respondable:function(){return ui},ruleShouldRun:function(){return hD},select:function(){return bD},sendCommandToFrame:function(){return li},setScrollState:function(){return FD},shadowSelect:function(){return wD},shadowSelectAll:function(){return CD},shouldPreload:function(){return cD},toArray:function(){return ya},tokenList:function(){return Uf},uniqueArray:function(){return tD},uuid:function(){return Ho},validInputTypes:function(){return AD},validLangs:function(){return ND}});var ua=function(e,t,r){t=t.slice(),r&&t.push(r);var n=t.map(function(t){return e.indexOf(t)}).sort();return e[n.pop()]},sa=ra.CANTTELL_PRIO,la=ra.FAIL_PRIO,ca=[];ca[ra.PASS_PRIO]=!0,ca[ra.CANTTELL_PRIO]=null,ca[ra.FAIL_PRIO]=!1;var da=["any","all","none"];function pa(e,t){return da.reduce(function(r,n){return r[n]=(e[n]||[]).map(function(e){return t(e,n)}),r},{})}var fa=function(e){var t=Object.assign({},e);pa(t,function(e,t){var r=void 0===e.result?-1:ca.indexOf(e.result);e.priority=-1!==r?r:ra.CANTTELL_PRIO,"none"===t&&(e.priority===ra.PASS_PRIO?e.priority=ra.FAIL_PRIO:e.priority===ra.FAIL_PRIO&&(e.priority=ra.PASS_PRIO))});var r={all:t.all.reduce(function(e,t){return Math.max(e,t.priority)},0),none:t.none.reduce(function(e,t){return Math.max(e,t.priority)},0),any:t.any.reduce(function(e,t){return Math.min(e,t.priority)},4)%4};t.priority=Math.max(r.all,r.none,r.any);var n=[];return da.forEach(function(e){t[e]=t[e].filter(function(n){return n.priority===t.priority&&n.priority===r[e]}),t[e].forEach(function(e){return n.push(e.impact)})}),[sa,la].includes(t.priority)?t.impact=ua(ra.impact,n):t.impact=null,pa(t,function(e){delete e.result,delete e.priority}),t.result=ra.results[t.priority],delete t.priority,t};function ma(e){var t=c._audit.rules.find(function(t){return t.id===e.id});return t&&t.impact&&e.nodes.forEach(function(e){["any","all","none"].forEach(function(r){(e[r]||[]).forEach(function(e){e.impact=t.impact})})}),Object.assign(e,Da(e.nodes)),delete e.nodes,e}var Da=function(e){var t={};if((e=e.map(function(e){if(e.any&&e.all&&e.none)return fa(e);if(Array.isArray(e.node))return ma(e);throw new TypeError("Invalid Result type")}))&&e.length){var r=e.map(function(e){return e.result});t.result=ua(ra.results,r,t.result)}else t.result="inapplicable";ra.resultGroups.forEach(function(e){return t[e]=[]}),e.forEach(function(e){var r=ra.resultGroupMap[e.result];t[r].push(e)});var n=ra.FAIL_GROUP;if(0===t[n].length&&(n=ra.CANTTELL_GROUP),t[n].length>0){var a=t[n].map(function(e){return e.impact});t.impact=ua(ra.impact,a)||null}else t.impact=null;return t};function ha(e,t,r){var n=Object.assign({},t);n.nodes=(n[r]||[]).concat(),ra.resultGroups.forEach(function(e){delete n[e]}),e[r].push(n)}var ga=function(e){var t={};return ra.resultGroups.forEach(function(e){return t[e]=[]}),e.forEach(function(e){e.error?ha(t,e,ra.CANTTELL_GROUP):e.result===ra.NA?ha(t,e,ra.NA_GROUP):ra.resultGroups.forEach(function(r){Array.isArray(e[r])&&e[r].length>0&&ha(t,e,r)})}),t},va=function e(t,r,n){var a=i.getComputedStyle(t,null);if(!a)return!1;for(var o=0;o=1&&t<=31||127==t||0==a&&t>=48&&t<=57||1==a&&t>=48&&t<=57&&45==i?"\\"+t.toString(16)+" ":0==a&&1==n&&45==t||!(t>=128||45==t||95==t||t>=48&&t<=57||t>=65&&t<=90||t>=97&&t<=122)?"\\"+r.charAt(a):r.charAt(a):o+="�";return o};function wa(e,t){return[e.substring(0,t),e.substring(t)]}function Ea(e){return e.replace(/\s+$/,"")}var Ca,xa=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(e.length<=1||"data:"===e.substr(0,5)||"javascript:"===e.substr(0,11)||e.includes("?"))){var r=t.currentDomain,n=t.maxLength,a=void 0===n?25:n,o=function(e){var t=e,r="",n="",a="",o="",i="";if(e.includes("#")){var u=G(wa(e,e.indexOf("#")),2);e=u[0],i=u[1]}if(e.includes("?")){var s=G(wa(e,e.indexOf("?")),2);e=s[0],o=s[1]}if(e.includes("://")){var l=G(e.split("://"),2);r=l[0];var c=G(wa(e=l[1],e.indexOf("/")),2);n=c[0],e=c[1]}else if("//"===e.substr(0,2)){var d=G(wa(e=e.substr(2),e.indexOf("/")),2);n=d[0],e=d[1]}if("www."===n.substr(0,4)&&(n=n.substr(4)),n&&n.includes(":")){var p=G(wa(n,n.indexOf(":")),2);n=p[0],a=p[1]}return{original:t,protocol:r,domain:n,port:a,path:e,query:o,hash:i}}(e),i=o.path,u=o.domain,s=o.hash,l=i.substr(i.substr(0,i.length-2).lastIndexOf("/")+1);if(s)return l&&(l+s).length<=a?Ea(l+s):l.length<2&&s.length>2&&s.length<=a?Ea(s):void 0;if(u&&u.length1)&&(-1!==c||l.length>2)&&l.length<=a&&!l.match(/index(\.[a-zA-Z]{2-4})?/)&&!function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return 0!==e.length&&(e.match(/[0-9]/g)||"").length>=e.length/2}(l)?Ea(l):void 0}},Aa=function(e){return e.attributes instanceof i.NamedNodeMap?e.attributes:e.cloneNode(!1).attributes},ka=function(e,t){return Ca&&e[Ca]||(Ca=function(e){var t,r,n=["matches","matchesSelector","mozMatchesSelector","webkitMatchesSelector","msMatchesSelector"],a=n.length;for(t=0;t2&&void 0!==arguments[2]?arguments[2]:{};if(!t)return"";var n=t.getRootNode&&t.getRootNode()||s;if(11!==n.nodeType)return e(t,r,n);for(var a=[];11===n.nodeType;){if(!n.host)return"";a.unshift({elm:t,doc:n}),n=(t=n.host).getRootNode()}return a.unshift({elm:t,doc:n}),a.map(function(t){return e(t.elm,r,t.doc)})}var Sa=["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"],Oa=31,_a=/([\\"])/g,Ma=/(\r\n|\r|\n)/g;function Pa(e){return e.replace(_a,"\\$1").replace(Ma,"\\a ")}function Ia(e,t){var r,n=t.name;if(-1!==n.indexOf("href")||-1!==n.indexOf("src")){var a=xa(e.getAttribute(n));r=a?Fa(t.name)+'$="'+Pa(a)+'"':Fa(t.name)+'="'+Pa(e.getAttribute(n))+'"'}else r=Fa(n)+'="'+Pa(t.value)+'"';return r}function La(e,t){return e.count "+n:u,a=!a||a.length>ra.selectorSimilarFilterLimit?Wa(r,n):a.filter(function(e){return ka(e,n)}),e=e.parentElement}while((a.length>1||i)&&e&&11!==e.nodeType);return 1===a.length?n:-1!==n.indexOf(" > ")?":root"+n.substring(n.indexOf(" > ")):":root"}var Ga=Ba(function(e,t){return Ra(Ua,e,t)}),Wa=Ba(function(e,t){return Array.from(e.querySelectorAll(t))});function Ya(e){var t=e.nodeName.toLowerCase(),r=e.parentElement,n=e.parentNode,a="";if("head"!==t&&"body"!==t&&(null==n?void 0:n.children.length)>1){var o=Array.prototype.indexOf.call(n.children,e)+1;a=":nth-child(".concat(o,")")}return r?Ya(r)+" > "+t+a:t+a}function Ka(e,t){return Ra(Ya,e,t)}function Xa(e,t){var r,n;if(!e)return[];if(!t&&9===e.nodeType)return[{str:"html"}];if(t=t||[],e.parentNode&&e.parentNode!==e&&(t=Xa(e.parentNode,t)),e.previousSibling){n=1,r=e.previousSibling;do{1===r.nodeType&&r.nodeName===e.nodeName&&n++,r=r.previousSibling}while(r);1===n&&(n=null)}else if(e.nextSibling){r=e.nextSibling;do{1===r.nodeType&&r.nodeName===e.nodeName?(n=1,r=null):(n=null,r=r.previousSibling)}while(r)}if(1===e.nodeType){var a={};a.str=e.nodeName.toLowerCase();var o=e.getAttribute&&Fa(e.getAttribute("id"));o&&1===e.ownerDocument.querySelectorAll("#"+o).length&&(a.id=e.getAttribute("id")),n>1&&(a.count=n),t.push(a)}return t}var Za=function(e){return Xa(e).reduce(function(e,t){return t.id?"/".concat(t.str,"[@id='").concat(t.id,"']"):e+"/".concat(t.str)+(t.count>0?"[".concat(t.count,"]"):"")},"")},Ja={},Qa={set:function(e,t){!function(e){ba("string"==typeof e,"key must be a string, "+l(e)+" given"),ba(""!==e,"key must not be empty")}(e),Ja[e]=t},get:function(e,t){if(function(e){ba("function"==typeof e||void 0===e,"creator must be a function or undefined, "+l(e)+" given")}(t),e in Ja)return Ja[e];if("function"==typeof t){var r=t();return ba(void 0!==r,"Cache creator function should not return undefined"),this.set(e,r),Ja[e]}},clear:function(){Ja={}}},eo=Qa,to=function(e,t){var r=t||e;return eo.get("nodeMap")?eo.get("nodeMap").get(r):null},ro="DqElm.RunOptions",no=Ba(function(e,t,r){var n,a,o,u,s,l;return null!==(n=t)&&void 0!==n||(t=null),null!==(a=r)&&void 0!==a||(r={}),t||(t=null!==(s=eo.get(ro))&&void 0!==s?s:{}),this.spec=r,e instanceof oa?(this._virtualNode=e,this._element=e.actualNode):(this._element=e,this._virtualNode=to(e)),this.fromFrame=(null===(o=this.spec.selector)||void 0===o?void 0:o.length)>1,this._includeElementInJson=t.elementRef,t.absolutePaths&&(this._options={toRoot:!0}),this.nodeIndexes=[],Array.isArray(this.spec.nodeIndexes)?this.nodeIndexes=this.spec.nodeIndexes:"number"==typeof(null===(u=this._virtualNode)||void 0===u?void 0:u.nodeIndex)&&(this.nodeIndexes=[this._virtualNode.nodeIndex]),this.source=null,c._audit.noHtml||(this.source=null!==(l=this.spec.source)&&void 0!==l?l:function(e){if(null==e||!e.outerHTML)return"";var t=e.outerHTML;return t||"function"!=typeof i.XMLSerializer||(t=(new i.XMLSerializer).serializeToString(e)),function(e,t){if(t=t||300,e.length>t){var r=e.indexOf(">");e=e.substring(0,r+1)}return e}(t||"")}(this._element)),this});no.prototype={get selector(){return this.spec.selector||[Ga(this.element,this._options)]},get ancestry(){return this.spec.ancestry||[Ka(this.element)]},get xpath(){return this.spec.xpath||[Za(this.element)]},get element(){return this._element},toJSON:function(){var e={selector:this.selector,source:this.source,xpath:this.xpath,ancestry:this.ancestry,nodeIndexes:this.nodeIndexes,fromFrame:this.fromFrame};return this._includeElementInJson&&(e.element=this._element),e}},no.fromFrame=function(e,t,r){var n=no.mergeSpecs(e,r);return new no(r.element,t,n)},no.mergeSpecs=function(e,t){return U({},e,{selector:[].concat($(t.selector),$(e.selector)),ancestry:[].concat($(t.ancestry),$(e.ancestry)),xpath:[].concat($(t.xpath),$(e.xpath)),nodeIndexes:[].concat($(t.nodeIndexes),$(e.nodeIndexes)),fromFrame:!0})},no.setRunOptions=function(e){var t=e.elementRef,r=e.absolutePaths;eo.set(ro,{elementRef:t,absolutePaths:r})};var ao=no,oo=function(e,t,r,n){return{isAsync:!1,async:function(){return this.isAsync=!0,function(t){t instanceof Error==0?(e.result=t,r(e)):n(t)}},data:function(t){e.data=t},relatedNodes:function(t){i.Node&&(t=t instanceof i.Node||t instanceof oa?[t]:ya(t),e.relatedNodes=[],t.forEach(function(t){if(t instanceof oa&&(t=t.actualNode),t instanceof i.Node){var r=new ao(t);e.relatedNodes.push(r)}}))}}};function io(e){return uo(e,new Map)}function uo(e,t){var r,n;if(null===e||"object"!==l(e))return e;if(null!==(r=i)&&void 0!==r&&r.Node&&e instanceof i.Node||null!==(n=i)&&void 0!==n&&n.HTMLCollection&&e instanceof i.HTMLCollection||"nodeName"in e&&"nodeType"in e&&"ownerDocument"in e)return e;if(t.has(e))return t.get(e);if(Array.isArray(e)){var a=[];return t.set(e,a),e.forEach(function(e){a.push(uo(e,t))}),a}var o={};for(var u in t.set(e,o),e)o[u]=uo(e[u],t);return o}var so=new(me(Kt()).CssSelectorParser);so.registerSelectorPseudos("not"),so.registerSelectorPseudos("is"),so.registerNestingOperators(">"),so.registerAttrEqualityMods("^","$","*","~");var lo=so;function co(e,t){return yo(t).some(function(t){return wo(e,t)})}function po(e,t){return function(e,t){return 1===e.props.nodeType&&("*"===t.tag||e.props.nodeName===t.tag)}(e,t)&&function(e,t){return!t.classes||t.classes.every(function(t){return e.hasClass(t.value)})}(e,t)&&function(e,t){return!t.attributes||t.attributes.every(function(t){var r=e.attr(t.key);return null!==r&&t.test(r)})}(e,t)&&function(e,t){return!t.id||e.props.id===t.id}(e,t)&&(r=e,!((n=t).pseudos&&!n.pseudos.every(function(e){if("not"===e.name)return!e.expressions.some(function(e){return wo(r,e)});if("is"===e.name)return e.expressions.some(function(e){return wo(r,e)});throw new Error("the pseudo selector "+e.name+" has not yet been implemented")})));var r,n}var fo,mo=(fo=/(?=[\-\[\]{}()*+?.\\\^$|,#\s])/g,function(e){return e.replace(fo,"\\")}),Do=/\\/g;function ho(e){if(e)return e.map(function(e){var t,r,n=e.name.replace(Do,""),a=(e.value||"").replace(Do,"");switch(e.operator){case"^=":r=new RegExp("^"+mo(a));break;case"$=":r=new RegExp(mo(a)+"$");break;case"~=":r=new RegExp("(^|\\s)"+mo(a)+"(\\s|$)");break;case"|=":r=new RegExp("^"+mo(a)+"(-|$)");break;case"=":t=function(e){return a===e};break;case"*=":t=function(e){return e&&e.includes(a)};break;case"!=":t=function(e){return a!==e};break;default:t=function(e){return null!==e}}return""===a&&/^[*$^]=$/.test(e.operator)&&(t=function(){return!1}),t||(t=function(e){return e&&r.test(e)}),{key:n,value:a,type:void 0===e.value?"attrExist":"attrValue",test:t}})}function go(e){if(e)return e.map(function(e){return{value:e=e.replace(Do,""),regexp:new RegExp("(^|\\s)"+mo(e)+"(\\s|$)")}})}function vo(e){if(e)return e.map(function(e){var t;return["is","not"].includes(e.name)&&(t=bo(t=(t=e.value).selectors?t.selectors:[t])),{name:e.name,expressions:t,value:e.value}})}function bo(e){return e.map(function(e){for(var t=[],r=e.rule;r;)t.push({tag:r.tagName?r.tagName.toLowerCase():"*",combinator:r.nestingOperator?r.nestingOperator:" ",id:r.id,attributes:ho(r.attrs),classes:go(r.classNames),pseudos:vo(r.pseudos)}),r=r.rule;return t})}function yo(e){var t=lo.parse(e);return bo(t=t.selectors?t.selectors:[t])}function Fo(e,t,r,n){if(!e)return!1;for(var a=Array.isArray(t)?t[r]:t,o=po(e,a);!o&&n&&e.parent;)o=po(e=e.parent,a);if(r>0){if(!1===[" ",">"].includes(a.combinator))throw new Error("axe.utils.matchesExpression does not support the combinator: "+a.combinator);o=o&&Fo(e.parent,t,r-1," "===a.combinator)}return o}function wo(e,t,r){return Fo(e,t,t.length-1,r)}var Eo=function(e,t){for(;e;){if(co(e,t))return e;if(void 0===e.parent)throw new TypeError("Cannot resolve parent for non-DOM nodes");e=e.parent}return null};function Co(){}function xo(e){if("function"!=typeof e)throw new TypeError("Queue methods require functions as arguments")}var Ao,ko,No=function(){var e,t=[],r=0,n=0,a=Co,o=!1,i=function(t){e=t,setTimeout(function(){null!=e&&na("Uncaught error (of queue)",e)},1)},u=i;function s(e){return function(r){t[e]=r,(n-=1)||a===Co||(o=!0,a(t))}}function c(e){return a=Co,u(e),t}var d={defer:function(a){if("object"===l(a)&&a.then&&a.catch){var i=a;a=function(e,t){i.then(e).catch(t)}}if(xo(a),void 0===e){if(o)throw new Error("Queue already completed");return t.push(a),++n,function(){for(var e=t.length;r>>((3&t)<<3)&255;return Ro}}for(var So="function"==typeof i.Buffer?i.Buffer:Array,Oo=[],_o={},Mo=0;Mo<256;Mo++)Oo[Mo]=(Mo+256).toString(16).substr(1),_o[Oo[Mo]]=Mo;function Po(e,t){var r=t||0,n=Oo;return n[e[r++]]+n[e[r++]]+n[e[r++]]+n[e[r++]]+"-"+n[e[r++]]+n[e[r++]]+"-"+n[e[r++]]+n[e[r++]]+"-"+n[e[r++]]+n[e[r++]]+"-"+n[e[r++]]+n[e[r++]]+n[e[r++]]+n[e[r++]]+n[e[r++]]+n[e[r++]]}var Io=ko(),Lo=[1|Io[0],Io[1],Io[2],Io[3],Io[4],Io[5]],jo=16383&(Io[6]<<8|Io[7]),qo=0,zo=0;function Vo(e,t,r){var n=t&&r||0,a=t||[],o=null!=(e=e||{}).clockseq?e.clockseq:jo,i=null!=e.msecs?e.msecs:(new Date).getTime(),u=null!=e.nsecs?e.nsecs:zo+1,s=i-qo+(u-zo)/1e4;if(s<0&&null==e.clockseq&&(o=o+1&16383),(s<0||i>qo)&&null==e.nsecs&&(u=0),u>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");qo=i,zo=u,jo=o;var l=(1e4*(268435455&(i+=122192928e5))+u)%4294967296;a[n++]=l>>>24&255,a[n++]=l>>>16&255,a[n++]=l>>>8&255,a[n++]=255&l;var c=i/4294967296*1e4&268435455;a[n++]=c>>>8&255,a[n++]=255&c,a[n++]=c>>>24&15|16,a[n++]=c>>>16&255,a[n++]=o>>>8|128,a[n++]=255&o;for(var d=e.node||Lo,p=0;p<6;p++)a[n+p]=d[p];return t||Po(a)}function $o(e,t,r){var n=t&&r||0;"string"==typeof e&&(t="binary"==e?new So(16):null,e=null);var a=(e=e||{}).random||(e.rng||ko)();if(a[6]=15&a[6]|64,a[8]=63&a[8]|128,t)for(var o=0;o<16;o++)t[n+o]=a[o];return t||Po(a)}(Ao=$o).v1=Vo,Ao.v4=$o,Ao.parse=function(e,t,r){var n=t&&r||0,a=0;for(t=t||[],e.toLowerCase().replace(/[0-9a-f]{2}/g,function(e){a<16&&(t[n+a++]=_o[e])});a<16;)t[n+a++]=0;return t},Ao.unparse=Po,Ao.BufferClass=So,c._uuid=Vo();var Ho=$o,Uo=Object.freeze(["EvalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"]);function Go(){var e="axeAPI",t="";return void 0!==c&&c._audit&&c._audit.application&&(e=c._audit.application),void 0!==c&&(t=c.version),e+"."+t}function Wo(e){Ko(e),ba(i.parent===e,"Source of the response must be the parent window.")}function Yo(e){Ko(e),ba(e.parent===i,"Respondable target must be a frame in the current window")}function Ko(e){ba(i!==e,"Messages can not be sent to the same window.")}var Xo={},Zo=[];function Jo(){var e="".concat($o(),":").concat($o());return Zo.includes(e)?Jo():(Zo.push(e),e)}function Qo(e,t,r,n){if(r?Wo(e):Yo(e),t.message instanceof Error&&!r)return c.log(t.message),!1;var a=function(e){var t=e.topic,r=e.channelId,n=e.message,a={channelId:r,topic:t,messageId:e.messageId,keepalive:!!e.keepalive,source:Go()};return n instanceof Error?a.error={name:n.name,message:n.message,stack:n.stack}:a.payload=n,JSON.stringify(a)}(U({messageId:Jo()},t)),o=c._audit.allowedOrigins;return!(!o||!o.length||("function"==typeof n&&function(e,t){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];ba(!Xo[e],"A replyHandler already exists for this message channel."),Xo[e]={replyHandler:t,sendToParent:r}}(t.channelId,n,r),o.forEach(function(t){try{e.postMessage(a,t)}catch(r){if(r instanceof e.DOMException)throw new Error('allowedOrigins value "'.concat(t,'" is not a valid origin'));throw r}}),0))}function ei(e,t){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return function(n,a,o){Qo(e,{channelId:t,message:n,keepalive:a},r,o)}}function ti(e,t){var r,n=e.origin,a=e.data,o=e.source;try{var u=function(e){var t,r,n,a,o;try{t=JSON.parse(e)}catch(e){return}if(null!==(u=t)&&"object"===l(u)&&"string"==typeof u.channelId&&u.source===Go()){var u,s=t,c=s.topic,d=s.channelId,p=s.messageId,f=s.keepalive;return{topic:c,message:"object"===l(t.error)?(r=t.error,n=r.message||"Unknown error occurred",a=Uo.includes(r.name)?r.name:"Error",o=i[a]||Error,r.stack&&(n+="\n"+r.stack.replace(r.message,"")),new o(n)):t.payload,messageId:p,channelId:d,keepalive:!!f}}}(a)||{},s=u.channelId,d=u.message,p=u.messageId;if(!function(e){var t=c._audit.allowedOrigins;return t&&t.includes("*")||t.includes(e)}(n)||(r=p,Zo.includes(r)||(Zo.push(r),0)))return;if(d instanceof Error&&o.parent!==i)return c.log(d),!1;try{if(u.topic){var f=ei(o,s);Wo(o),t(u,f)}else!function(e,t){var r=t.channelId,n=t.message,a=t.keepalive,o=function(e){return Xo[e]}(r)||{},i=o.replyHandler,u=o.sendToParent;if(i){u?Wo(e):Yo(e);var s=ei(e,r,u);!a&&r&&function(e){delete Xo[e]}(r);try{i(n,a,s)}catch(e){c.log(e),s(e,a)}}}(o,u)}catch(e){!function(e,t,r){if(!e.parent!==i)return c.log(t);try{Qo(e,{topic:null,channelId:r,message:t,messageId:Jo(),keepalive:!0},!0)}catch(e){return c.log(e)}}(o,e,s)}}catch(e){return c.log(e),!1}}var ri,ni,ai={open:function(e){if("function"==typeof i.addEventListener){var t=function(t){ti(t,e)};return i.addEventListener("message",t,!1),function(){i.removeEventListener("message",t,!1)}}},post:function(e,t,r){return"function"==typeof i.addEventListener&&Qo(e,t,!1,r)}};function oi(e){e.updateMessenger(ai)}var ii={};function ui(e,t,r,n,a){var o={topic:t,message:r,channelId:"".concat($o(),":").concat($o()),keepalive:n};return ni(e,o,a)}function si(e,t){var r=e.topic,n=e.message,a=e.keepalive,o=ii[r];if(o)try{o(n,a,t)}catch(e){c.log(e),t(e,a)}}function li(e,t,r,n){var a,o,i=e.contentWindow,u=null!==(a=null===(o=t.options)||void 0===o?void 0:o.pingWaitTime)&&void 0!==a?a:500;if(!i)return na("Frame does not have a content window",e),void r(null);if(0!==u){var s=setTimeout(function(){s=setTimeout(function(){t.debug?n(di("No response from frame",e)):r(null)},0)},u);ui(i,"axe.ping",null,void 0,function(){clearTimeout(s),ci(e,t,r,n)})}else ci(e,t,r,n)}function ci(e,t,r,n){var a,o,i=null!==(a=null===(o=t.options)||void 0===o?void 0:o.frameWaitTime)&&void 0!==a?a:6e4,u=e.contentWindow,s=setTimeout(function(){n(di("Axe in frame timed out",e))},i);ui(u,"axe.start",t,void 0,function(e){clearTimeout(s),e instanceof Error==0?r(e):n(e)})}function di(e,t){var r;return c._tree&&(r=Ga(t)),new Error(e+": "+(r||t))}ui.updateMessenger=function(e){var t=e.open,r=e.post;ba("function"==typeof t,"open callback must be a function"),ba("function"==typeof r,"post callback must be a function"),ri&&ri();var n=t(si);n?(ba("function"==typeof n,"open callback must return a cleanup function"),ri=n):ri=null,ni=r},ui.subscribe=function(e,t){ba("function"==typeof t,"Subscriber callback must be a function"),ba(!ii[e],"Topic ".concat(e," is already registered to.")),ii[e]=t},ui.isInFrame=function(){return!!(arguments.length>0&&void 0!==arguments[0]?arguments[0]:i).frameElement},oi(ui);var pi=null,fi={update:function(e){ba("object"===l(e),"serializer must be an object"),pi=e},toSpec:function(e){return fi.dqElmToSpec(new ao(e))},dqElmToSpec:function(e,t){var r;return e instanceof ao==0?e:(t&&(e=function(e,t){var r=e.fromFrame,n=t.ancestry,a=t.xpath,o=!1!==t.selectors||r;return(e=new ao(e.element,t,{source:e.source,nodeIndexes:e.nodeIndexes,selector:o?e.selector:[":root"],ancestry:n?e.ancestry:[":root"],xpath:a?e.xpath:"/"})).fromFrame=r,e}(e,t)),"function"==typeof(null===(r=pi)||void 0===r?void 0:r.toSpec)?pi.toSpec(e):e.toJSON())},mergeSpecs:function(e,t){var r;return"function"==typeof(null===(r=pi)||void 0===r?void 0:r.mergeSpecs)?pi.mergeSpecs(e,t):ao.mergeSpecs(e,t)},mapRawResults:function(e){return e.map(function(e){return U({},e,{nodes:fi.mapRawNodeResults(e.nodes)})})},mapRawNodeResults:function(e){return null==e?void 0:e.map(function(e){var t=e.node,r=V(e,p);r.node=fi.dqElmToSpec(t);for(var n=0,a=["any","all","none"];n0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=Math.max(null==e?void 0:e.length,null==t?void 0:t.length),n=0;n0||0===o&&n.selector.length(0|t.left)&&(0|e.top)<(0|t.bottom)&&(0|e.bottom)>(0|t.top)}var Si=Ba(function(e){var t=[];return e?("hidden"===e.getComputedStylePropertyValue("overflow")&&t.push(e),t.concat(Si(e.parent))):t}),Oi=Si,_i=/rect\s*\(([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px\s*\)/,Mi=/(\w+)\((\d+)/;function Pi(e){return["style","script","noscript","template"].includes(e.props.nodeName)}function Ii(e){return"area"!==e.props.nodeName&&"none"===e.getComputedStylePropertyValue("display")}function Li(e){return!(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).isAncestor&&["hidden","collapse"].includes(e.getComputedStylePropertyValue("visibility"))}function ji(e){return!!(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).isAncestor&&"hidden"===e.getComputedStylePropertyValue("content-visibility")}function qi(e){return"true"===e.attr("aria-hidden")}function zi(e){return"0"===e.getComputedStylePropertyValue("opacity")}function Vi(e){var t=Nm(e.actualNode),r=parseInt(e.getComputedStylePropertyValue("height")),n=parseInt(e.getComputedStylePropertyValue("width"));return!!t&&(0===r||0===n)}function $i(e){if((arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).isAncestor)return!1;var t=e.getComputedStylePropertyValue("position");if("fixed"===t)return!1;var r=Oi(e);if(!r.length)return!1;var n=e.boundingClientRect;return r.some(function(r){if("absolute"===t&&!function(e,t){for(var r=e.parent;r&&r!==t;){if(["relative","sticky"].includes(r.getComputedStylePropertyValue("position")))return!0;r=r.parent}return!1}(e,r)&&"static"===r.getComputedStylePropertyValue("position"))return!1;var a=r.boundingClientRect;return a.width<2||a.height<2||!Ri(n,a)})}function Hi(e){var t=e.getComputedStylePropertyValue("clip").match(_i),r=e.getComputedStylePropertyValue("clip-path").match(Mi);if(t&&5===t.length){var n=e.getComputedStylePropertyValue("position");if(["fixed","absolute"].includes(n))return t[3]-t[1]<=0&&t[2]-t[4]<=0}if(r){var a=r[1],o=parseInt(r[2],10);switch(a){case"inset":return o>=50;case"circle":return 0===o}}return!1}function Ui(e,t){var r=Eo(e,"map");if(!r)return!0;var n=r.attr("name");if(!n)return!0;var a=Ai(e.actualNode);if(!a||9!==a.nodeType)return!0;var o=mD(c._tree,'img[usemap="#'.concat(Fa(n),'"]'));return!o||!o.length||o.some(function(e){return!t(e)})}function Gi(e){var t;return"details"===(null===(t=e.parent)||void 0===t?void 0:t.props.nodeName)&&(("summary"!==e.props.nodeName||e.parent.children.find(function(e){return"summary"===e.props.nodeName})!==e)&&!e.parent.hasAttr("open"))}var Wi=[Ii,Li,ji,Gi];function Yi(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.skipAncestors,n=t.isAncestor,a=void 0!==n&&n;return e=Ym(e).vNode,r?Ki(e,a):Xi(e,a)}var Ki=Ba(function(e,t){return!(!Pi(e)&&(!e.actualNode||!Wi.some(function(r){return r(e,{isAncestor:t})})&&e.actualNode.isConnected))}),Xi=Ba(function(e,t){return!!Ki(e,t)||!!e.parent&&Xi(e.parent,!0)}),Zi=function e(t){if(t.assignedSlot)return e(t.assignedSlot);if(t.parentNode){var r=t.parentNode;if(1===r.nodeType)return r;if(r.host)return r.host}return null},Ji=function(e){if(!e.nodeType&&e.document&&(e=e.document),9===e.nodeType){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}},Qi=function(e){var t=Ji(s),r=t.left,n=t.top,a=e.getBoundingClientRect();return{top:a.top+n,right:a.right+r,bottom:a.bottom+n,left:a.left+r,width:a.right-a.left,height:a.bottom-a.top}},eu=function(e){var t=e.document,r=t.documentElement;if(e.innerWidth)return{width:e.innerWidth,height:e.innerHeight};if(r)return{width:r.clientWidth,height:r.clientHeight};var n=t.body;return{width:n.clientWidth,height:n.clientHeight}},tu=function(e){if((arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).isAncestor)return!1;var t=Ym(e).domNode;if(t){var r,n=s.documentElement,a=i.getComputedStyle(t),o=i.getComputedStyle(s.body||n).getPropertyValue("direction"),u=Qi(t);if(u.bottom<0&&(function(e,t){for(e=Zi(e);e&&"html"!==e.nodeName.toLowerCase();){if(e.scrollTop&&(t+=e.scrollTop)>=0)return!1;e=Zi(e)}return!0}(t,u.bottom)||"absolute"===a.position))return!0;if(0===u.left&&0===u.right)return!1;if("ltr"===o){if(u.right<=0)return!0}else if(r=Math.max(n.scrollWidth,eu(i).width),u.left>=r)return!0;return!1}},ru=[zi,Vi,$i,Hi,tu];function nu(e){return e=Ym(e).vNode,au(e)}var au=Ba(function(e,t){return e.actualNode&&"area"===e.props.nodeName?!Ui(e,au):!Yi(e,{skipAncestors:!0,isAncestor:t})&&(!e.actualNode||!ru.some(function(r){return r(e,{isAncestor:t})}))&&(!e.parent||au(e.parent,!0))});function ou(e,t){var r=Math.min(e.top,t.top),n=Math.max(e.right,t.right),a=Math.max(e.bottom,t.bottom),o=Math.min(e.left,t.left);return new i.DOMRect(o,r,n-o,a-r)}function iu(e,t){var r=e.x,n=e.y,a=t.top,o=t.right,i=t.bottom,u=t.left;return n>=a&&r<=o&&n<=i&&r>=u}var uu={};function su(e,t){var r=Math.max(e.left,t.left),n=Math.min(e.right,t.right),a=Math.max(e.top,t.top),o=Math.min(e.bottom,t.bottom);return r>=n||a>=o?null:new i.DOMRect(r,a,n-r,o-a)}function lu(e){var t=e.left,r=e.top,n=e.width,a=e.height;return new i.DOMPoint(t+n/2,r+a/2)}fe(uu,{getBoundingRect:function(){return ou},getIntersectionRect:function(){return su},getOffset:function(){return pu},getRectCenter:function(){return lu},hasVisualOverlap:function(){return Du},isPointInRect:function(){return iu},rectHasMinimumSize:function(){return du},rectsOverlap:function(){return Ri},splitRects:function(){return hu}});var cu=.05;function du(e,t){var r=t.width,n=t.height;return r+cu>=e&&n+cu>=e}function pu(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:12,n=es(e),a=es(t);if(!n.length||!a.length)return null;var o,i=lu(n.reduce(ou)),u=1/0,s=Q(a);try{for(s.s();!(o=s.n()).done;){var l=o.value;if(iu(i,l))return 0;var c=mu(i,fu(i,l));u=Math.min(u,c)}}catch(e){s.e(e)}finally{s.f()}if(du(2*r,ts(t)))return u;var d=mu(i,lu(a.reduce(ou)))-r;return Math.max(0,Math.min(u,d))}function fu(e,t){return{x:e.xt.right?t.right:e.x,y:e.yt.bottom?t.bottom:e.y}}function mu(e,t){return Math.hypot(e.x-t.x,e.y-t.y)}function Du(e,t){var r=e.boundingClientRect,n=t.boundingClientRect;return!(r.left>=n.right||r.right<=n.left||r.top>=n.bottom||r.bottom<=n.top)&&Uu(e,t)>0}function hu(e,t){var r,n=[e],a=Q(t);try{var o=function(){var e=r.value;if((n=n.reduce(function(t,r){return t.concat(function(e,t){var r,n,a=e.top,o=e.left,i=e.bottom,u=e.right,s=at.top,l=ot.left,c=[];if(gu(t.top,a,i)&&l&&c.push({top:a,left:o,bottom:t.top,right:u}),gu(t.right,o,u)&&s&&c.push({top:a,left:t.right,bottom:i,right:u}),gu(t.bottom,a,i)&&l&&c.push({top:t.bottom,right:u,bottom:i,left:o}),gu(t.left,o,u)&&s&&c.push({top:a,left:o,bottom:i,right:t.left}),0===c.length){if(n=t,(r=e).top>=n.top&&r.left>=n.left&&r.bottom<=n.bottom&&r.right<=n.right)return[];c.push(e)}return c.map(vu)}(r,e))},[])).length>4e3)throw new Error("splitRects: Too many rects")};for(a.s();!(r=a.n()).done;)o()}catch(e){a.e(e)}finally{a.f()}return n}var gu=function(e,t,r){return e>t&&e0&&void 0!==arguments[0]?arguments[0]:s.body,t=arguments.length>1?arguments[1]:void 0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(eo.get("gridCreated")&&!r)return ra.gridSize;if(eo.set("gridCreated",!0),!r){var n,a=to(s.documentElement);if(a||(a=new Hf(s.documentElement)),Eu=0,a._stackingOrder=[Nu(bu,Eu++,null)],null!==(n=t)&&void 0!==n||(t=new Ru),Tu(t,a),Nm(a.actualNode)){var o=new Ru(a);a._subGrid=o}}for(var u=s.createTreeWalker(e,i.NodeFilter.SHOW_ELEMENT,null,!1),l=r?u.nextNode():u.currentNode;l;){var d=to(l);d&&d.parent?r=d.parent:l.assignedSlot?r=to(l.assignedSlot):l.parentElement?r=to(l.parentElement):l.parentNode&&to(l.parentNode)&&(r=to(l.parentNode)),d||(d=new c.VirtualNode(l,r)),d._stackingOrder=ku(d,r,Eu++);var p=Bu(d,r),f=p?p._subGrid:t;if(Nm(d.actualNode)){var m=new Ru(d);d._subGrid=m}var D=d.boundingClientRect;0!==D.width&&0!==D.height&&nu(l)&&Tu(f,d),Ci(l)&&Cu(l.shadowRoot,f,d),l=u.nextNode()}return ra.gridSize}function xu(e,t){var r=e.getComputedStylePropertyValue("position"),n=e.getComputedStylePropertyValue("z-index");if("fixed"===r||"sticky"===r)return!0;if("auto"!==n&&"static"!==r)return!0;if("1"!==e.getComputedStylePropertyValue("opacity"))return!0;if("none"!==(e.getComputedStylePropertyValue("-webkit-transform")||e.getComputedStylePropertyValue("-ms-transform")||e.getComputedStylePropertyValue("transform")||"none"))return!0;var a=e.getComputedStylePropertyValue("mix-blend-mode");if(a&&"normal"!==a)return!0;var o=e.getComputedStylePropertyValue("filter");if(o&&"none"!==o)return!0;var i=e.getComputedStylePropertyValue("perspective");if(i&&"none"!==i)return!0;var u=e.getComputedStylePropertyValue("clip-path");if(u&&"none"!==u)return!0;if("none"!==(e.getComputedStylePropertyValue("-webkit-mask")||e.getComputedStylePropertyValue("mask")||"none"))return!0;if("none"!==(e.getComputedStylePropertyValue("-webkit-mask-image")||e.getComputedStylePropertyValue("mask-image")||"none"))return!0;if("none"!==(e.getComputedStylePropertyValue("-webkit-mask-border")||e.getComputedStylePropertyValue("mask-border")||"none"))return!0;if("isolate"===e.getComputedStylePropertyValue("isolation"))return!0;var s=e.getComputedStylePropertyValue("will-change");if("transform"===s||"opacity"===s)return!0;if("touch"===e.getComputedStylePropertyValue("-webkit-overflow-scrolling"))return!0;var l=e.getComputedStylePropertyValue("contain");return!!["layout","paint","strict","content"].includes(l)||!("auto"===n||!Au(t))}function Au(e){if(!e)return!1;var t=e.getComputedStylePropertyValue("display");return["flex","inline-flex","grid","inline-grid"].includes(t)}function ku(e,t,r){var n=t._stackingOrder.slice();if(xu(e,t)){var a=n.findIndex(function(e){var t=e.stackLevel;return[bu,Fu,wu].includes(t)});-1!==a&&n.splice(a,n.length-a)}var o=function(e,t){var r=function(e,t){return"static"!==e.getComputedStylePropertyValue("position")||Au(t)?e.getComputedStylePropertyValue("z-index"):"auto"}(e,t);return["auto","0"].includes(r)?"static"!==e.getComputedStylePropertyValue("position")?wu:"none"!==e.getComputedStylePropertyValue("float")?Fu:xu(e,t)?yu:null:parseInt(r)}(e,t);return null!==o&&n.push(Nu(o,r,e)),n}function Nu(e,t,r){return{stackLevel:e,treeOrder:t,vNode:r}}function Bu(e,t){for(var r=null,n=[e];t;){if(Nm(t.actualNode)){r=t;break}if(t._scrollRegionParent){r=t._scrollRegionParent;break}n.push(t),t=to(t.actualNode.parentElement||t.actualNode.parentNode)}return n.forEach(function(e){return e._scrollRegionParent=r}),r}function Tu(e,t){var r=Oi(t);t.clientRects.forEach(function(n){var a,o=r.reduce(function(e,t){return e&&su(e,t.boundingClientRect)},n);if(o){null!==(a=t._grid)&&void 0!==a||(t._grid=e);var i=e.getGridPositionOfRect(o);e.loopGridPosition(i,function(e){e.includes(t)||e.push(t)})}})}var Ru=Z(function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;K(this,e),this.container=t,this.cells=[]},[{key:"toGridIndex",value:function(e){return Math.floor(e/ra.gridSize)}},{key:"getCellFromPoint",value:function(e){var t,r,n=e.x,a=e.y;ba(this.boundaries,"Grid does not have cells added");var o=this.toGridIndex(a),i=this.toGridIndex(n);ba(iu({y:o,x:i},this.boundaries),"Element midpoint exceeds the grid bounds");var u=null!==(t=this.cells[o-this.cells._negativeIndex])&&void 0!==t?t:[];return null!==(r=u[i-u._negativeIndex])&&void 0!==r?r:[]}},{key:"loopGridPosition",value:function(e,t){var r=e,n=r.left,a=r.right,o=r.top,i=r.bottom;this.boundaries&&(e=ou(this.boundaries,e)),this.boundaries=e,Su(this.cells,o,i,function(e,r){Su(e,n,a,function(e,n){t(e,{row:r,col:n})})})}},{key:"getGridPositionOfRect",value:function(e){var t=e.top,r=e.right,n=e.bottom,a=e.left,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return t=this.toGridIndex(t-o),r=this.toGridIndex(r+o-1),n=this.toGridIndex(n+o-1),a=this.toGridIndex(a-o),new i.DOMRect(a,t,r-a,n-t)}}]);function Su(e,t,r,n){var a;if(null!==(a=e._negativeIndex)&&void 0!==a||(e._negativeIndex=0),t1&&void 0!==arguments[1]?arguments[1]:0;if(Cu(),null===(t=e._grid)||void 0===t||null===(t=t.cells)||void 0===t||!t.length)return[];var n=e.boundingClientRect,a=e._grid,o=_u(e),i=a.getGridPositionOfRect(n,r),u=[];return a.loopGridPosition(i,function(t){var r,n=Q(t);try{for(n.s();!(r=n.n()).done;){var a=r.value;a&&a!==e&&!u.includes(a)&&o===_u(a)&&u.push(a)}}catch(e){n.e(e)}finally{n.f()}}),u}var _u=Ba(function(e){return!!e&&("fixed"===e.getComputedStylePropertyValue("position")||_u(e.parent))}),Mu=Ba(function(){var e;if(!c._tree)return null;var t=nD(c._tree[0],"dialog[open]",function(e){var t=e.boundingClientRect;return s.elementsFromPoint(t.left+1,t.top+1).includes(e.actualNode)&&nu(e)});return t.length?t.find(function(e){var t=e.boundingClientRect;return s.elementsFromPoint(t.left-10,t.top-10).includes(e.actualNode)})||(null!==(e=t.find(function(e){var t,r=null!==(t=function(e){Cu();var t=c._tree[0]._grid,r=new i.DOMRect(0,0,i.innerWidth,i.innerHeight);if(t)for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{},r=t.skipAncestors,n=t.isAncestor;return r?Iu(e,n):Lu(e,n)}var Iu=Ba(function(e,t){if(e.hasAttr("inert"))return!0;if(!t&&e.actualNode){var r=Mu();if(r&&!yi(r,e))return!0}return!1}),Lu=Ba(function(e,t){return!!Iu(e,t)||!!e.parent&&Lu(e.parent,!0)}),ju=["button","command","fieldset","keygen","optgroup","option","select","textarea","input"],qu=function(e){var t,r=Ym(e).vNode;if(t=r.props.nodeName,ju.includes(t)&&r.hasAttr("disabled")||Pu(r))return!0;for(var n=r.parent,a=[],o=!1;n&&n.shadowId===r.shadowId&&!o&&(a.push(n),"legend"!==n.props.nodeName);){if(void 0!==n._inDisabledFieldset){o=n._inDisabledFieldset;break}"fieldset"===n.props.nodeName&&n.hasAttr("disabled")&&(o=!0),n=n.parent}return a.forEach(function(e){return e._inDisabledFieldset=o}),!!o||"area"!==r.props.nodeName&&!!r.actualNode&&Yi(r)},zu=/^\/\#/,Vu=/^#[!/]/;function $u(e){var t,r=e.getAttribute("href");if(!r||"#"===r)return!1;if(zu.test(r))return!0;var n=e.hash,a=e.protocol,o=e.hostname,u=e.port,s=e.pathname;if(Vu.test(n))return!1;if("#"===r.charAt(0))return!0;if("string"!=typeof(null===(t=i.location)||void 0===t?void 0:t.origin)||-1===i.location.origin.indexOf("://"))return null;var l,c=i.location.origin+i.location.pathname;return l=o?"".concat(a,"//").concat(o).concat(u?":".concat(u):""):i.location.origin,(l+=s?("/"!==s[0]?"/":"")+s:i.location.pathname)===c}var Hu=function(e,t){var r=e.getAttribute(t);if(!r)return null;if("href"===t&&!$u(e))return null;-1!==r.indexOf("#")&&(r=decodeURIComponent(r.substr(r.indexOf("#")+1)));var n=s.getElementById(r);return n||((n=s.getElementsByName(r)).length?n[0]:null)};function Uu(e,t){Cu();for(var r=Math.max(e._stackingOrder.length,t._stackingOrder.length),n=0;ne._stackingOrder[n].stackLevel)return 1;if(t._stackingOrder[n].stackLevel2&&void 0!==arguments[2]&&arguments[2],n=lu(t),a=e.getCellFromPoint(n)||[],o=Math.floor(n.x),i=Math.floor(n.y),u=a.filter(function(e){return e.clientRects.some(function(e){var t=e.left,r=e.top;return o=Math.floor(t)&&i=Math.floor(r)})}),l=e.container;return l&&(u=Yu(l._grid,l.boundingClientRect,!0).concat(u)),r||(u=u.sort(Uu).map(function(e){return e.actualNode}).concat(s.documentElement).filter(function(e,t,r){return r.indexOf(e)===t})),u}var Ku=function(e){Cu();var t=to(e),r=t._grid;return r?Yu(r,t.boundingClientRect):[]},Xu=function(e){return mD(e,"*").filter(function(e){var t=e.isFocusable,r=Jm(e.actualNode.getAttribute("tabindex"));return null!==r?t&&r>=0:t})},Zu=function(e){var t=Ym(e).vNode;if(!t||qu(t))return!1;switch(t.props.nodeName){case"a":case"area":if(t.hasAttr("href"))return!0;break;case"input":return"hidden"!==t.props.type;case"textarea":case"select":case"summary":case"button":return!0;case"details":return!mD(t,"summary").length}return!1};function Ju(e){var t=Ym(e).vNode;return!(1!==t.props.nodeType||qu(t)||!Zu(t)&&null===Jm(t.attr("tabindex")))}function Qu(e){var t=Ym(e).vNode;return 1===t.props.nodeType&&!(Jm(t.attr("tabindex"))<=-1)&&Ju(t)}var es=Ba(function(e){var t=e.boundingClientRect,r=Ou(e).filter(function(t){return Du(e,t)&&"none"!==t.getComputedStylePropertyValue("pointer-events")&&!function(e,t){return yi(e,t)&&!Qu(t)}(e,t)});return r.length?hu(t,r.map(function(e){return e.boundingClientRect})):[t]}),ts=Ba(function(e,t){return function(e,t){return e.reduce(function(e,r){var n=du(t,e);return n!==du(t,r)?n?e:r:e.width*e.height>r.width*r.height?e:r})}(es(e),t)}),rs={};fe(rs,{accessibleText:function(){return as},accessibleTextVirtual:function(){return xl},autocomplete:function(){return Bl},formControlValue:function(){return fl},formControlValueMethods:function(){return dl},hasUnicode:function(){return El},isHumanInterpretable:function(){return Nl},isIconLigature:function(){return Cl},isValidAutocomplete:function(){return Tl},label:function(){return _l},labelText:function(){return hl},labelVirtual:function(){return Ol},nativeElementType:function(){return Ml},nativeTextAlternative:function(){return Fl},nativeTextMethods:function(){return yl},removeUnicode:function(){return kl},sanitize:function(){return ws},subtreeText:function(){return Dl},titleText:function(){return Ks},unsupported:function(){return Js},visible:function(){return Sl},visibleTextNodes:function(){return Pl},visibleVirtual:function(){return tl}});var ns=function(e,t){e=e.actualNode||e;try{var r=ki(e),n=[],a=e.getAttribute(t);if(a){a=Uf(a);for(var o=0;o1&&void 0!==arguments[1]?arguments[1]:{},r=Ym(e).vNode;return 1!==(null==r?void 0:r.props.nodeType)||1!==r.props.nodeType||t.inLabelledByContext||t.inControlContext||!r.attr("aria-labelledby")?"":ns(r,"aria-labelledby").filter(function(e){return e}).reduce(function(e,n){var a=as(n,U({inLabelledByContext:!0,startNode:t.startNode||r},t));return e?"".concat(e," ").concat(a):a},"")};function is(e){var t=Ym(e).vNode;return 1!==(null==t?void 0:t.props.nodeType)?"":t.attr("aria-label")||""}var us={"aria-activedescendant":{type:"idref",allowEmpty:!0},"aria-atomic":{type:"boolean",global:!0},"aria-autocomplete":{type:"nmtoken",values:["inline","list","both","none"]},"aria-braillelabel":{type:"string",allowEmpty:!0,global:!0},"aria-brailleroledescription":{type:"string",allowEmpty:!0,global:!0},"aria-busy":{type:"boolean",global:!0},"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:!0,global:!0},"aria-current":{type:"nmtoken",allowEmpty:!0,values:["page","step","location","date","time","true","false"],global:!0},"aria-describedby":{type:"idrefs",allowEmpty:!0,global:!0},"aria-description":{type:"string",allowEmpty:!0,global:!0},"aria-details":{type:"idref",allowEmpty:!0,global:!0},"aria-disabled":{type:"boolean",global:!0},"aria-dropeffect":{type:"nmtokens",values:["copy","execute","link","move","none","popup"],global:!0},"aria-errormessage":{type:"idref",allowEmpty:!0,global:!0},"aria-expanded":{type:"nmtoken",values:["true","false","undefined"]},"aria-flowto":{type:"idrefs",allowEmpty:!0,global:!0},"aria-grabbed":{type:"nmtoken",values:["true","false","undefined"],global:!0},"aria-haspopup":{type:"nmtoken",allowEmpty:!0,values:["true","false","menu","listbox","tree","grid","dialog"],global:!0},"aria-hidden":{type:"nmtoken",values:["true","false","undefined"],global:!0},"aria-invalid":{type:"nmtoken",values:["grammar","false","spelling","true"],global:!0},"aria-keyshortcuts":{type:"string",allowEmpty:!0,global:!0},"aria-label":{type:"string",allowEmpty:!0,global:!0},"aria-labelledby":{type:"idrefs",allowEmpty:!0,global:!0},"aria-level":{type:"int",minValue:1},"aria-live":{type:"nmtoken",values:["assertive","off","polite"],global:!0},"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:!0,global:!0},"aria-placeholder":{type:"string",allowEmpty:!0},"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:!0},"aria-required":{type:"boolean"},"aria-roledescription":{type:"string",allowEmpty:!0,global:!0},"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:!0}},ss={alert:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"]},alertdialog:{type:"window",allowedAttrs:["aria-expanded","aria-modal"],superclassRole:["alert","dialog"],accessibleNameRequired:!0},application:{type:"landmark",allowedAttrs:["aria-activedescendant","aria-expanded"],superclassRole:["structure"],accessibleNameRequired:!0},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:!0,nameFromContent:!0,childrenPresentational:!0},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:!0},checkbox:{type:"widget",requiredAttrs:["aria-checked"],allowedAttrs:["aria-readonly","aria-expanded","aria-required"],superclassRole:["input"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},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:!1,nameFromContent:!0},combobox:{type:"widget",requiredAttrs:["aria-expanded","aria-controls"],allowedAttrs:["aria-owns","aria-autocomplete","aria-readonly","aria-required","aria-activedescendant","aria-orientation"],superclassRole:["select"],accessibleNameRequired:!0},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:!0},directory:{type:"structure",deprecated:!0,allowedAttrs:["aria-expanded"],superclassRole:["list"],nameFromContent:!0},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:!0},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:!1},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:!0},group:{type:"structure",allowedAttrs:["aria-activedescendant","aria-expanded"],superclassRole:["section"]},heading:{type:"structure",requiredAttrs:["aria-level"],allowedAttrs:["aria-expanded"],superclassRole:["sectionhead"],accessibleNameRequired:!1,nameFromContent:!0},img:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],accessibleNameRequired:!0,childrenPresentational:!0},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:!0,nameFromContent:!0},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:!0},listitem:{type:"structure",requiredContext:["list"],allowedAttrs:["aria-level","aria-posinset","aria-setsize","aria-expanded"],superclassRole:["section"],nameFromContent:!0},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:!0},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:!0,nameFromContent:!0},menuitemcheckbox:{type:"widget",requiredContext:["menu","menubar","group"],requiredAttrs:["aria-checked"],allowedAttrs:["aria-expanded","aria-posinset","aria-readonly","aria-setsize"],superclassRole:["checkbox","menuitem"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},menuitemradio:{type:"widget",requiredContext:["menu","menubar","group"],requiredAttrs:["aria-checked"],allowedAttrs:["aria-expanded","aria-posinset","aria-readonly","aria-setsize"],superclassRole:["menuitemcheckbox","radio"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},meter:{type:"structure",requiredAttrs:["aria-valuenow"],allowedAttrs:["aria-valuemax","aria-valuemin","aria-valuetext"],superclassRole:["range"],accessibleNameRequired:!0,childrenPresentational:!0},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:!0,nameFromContent:!0,childrenPresentational:!0},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:!0,childrenPresentational:!0},radio:{type:"widget",requiredAttrs:["aria-checked"],allowedAttrs:["aria-posinset","aria-setsize","aria-required"],superclassRole:["input"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},radiogroup:{type:"composite",allowedAttrs:["aria-readonly","aria-required","aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["select"],accessibleNameRequired:!1},range:{type:"abstract",superclassRole:["widget"]},region:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"],accessibleNameRequired:!1},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:!0},rowgroup:{type:"structure",requiredContext:["grid","table","treegrid"],requiredOwned:["row"],superclassRole:["structure"],nameFromContent:!0},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:!1,nameFromContent:!0},scrollbar:{type:"widget",requiredAttrs:["aria-valuenow"],allowedAttrs:["aria-controls","aria-orientation","aria-valuemax","aria-valuemin","aria-valuetext"],superclassRole:["range"],childrenPresentational:!0},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:!0},section:{type:"abstract",superclassRole:["structure"],nameFromContent:!0},sectionhead:{type:"abstract",superclassRole:["structure"],nameFromContent:!0},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:!0},slider:{type:"widget",requiredAttrs:["aria-valuenow"],allowedAttrs:["aria-valuemax","aria-valuemin","aria-orientation","aria-readonly","aria-required","aria-valuetext"],superclassRole:["input","range"],accessibleNameRequired:!0,childrenPresentational:!0},spinbutton:{type:"widget",allowedAttrs:["aria-valuemax","aria-valuemin","aria-readonly","aria-required","aria-activedescendant","aria-valuetext","aria-valuenow"],superclassRole:["composite","input","range"],accessibleNameRequired:!0},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:!0,nameFromContent:!0,childrenPresentational:!0},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:!0,childrenPresentational:!0},table:{type:"structure",requiredOwned:["rowgroup","row"],allowedAttrs:["aria-colcount","aria-rowcount","aria-expanded"],superclassRole:["section"],accessibleNameRequired:!1,nameFromContent:!0},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:!1},term:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],nameFromContent:!0},text:{type:"structure",superclassRole:["section"],nameFromContent:!0},textbox:{type:"widget",allowedAttrs:["aria-activedescendant","aria-autocomplete","aria-multiline","aria-placeholder","aria-readonly","aria-required"],superclassRole:["input"],accessibleNameRequired:!0},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:!0},tooltip:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],nameFromContent:!0},tree:{type:"composite",requiredOwned:["group","treeitem"],allowedAttrs:["aria-multiselectable","aria-required","aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["select"],accessibleNameRequired:!1},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:!1},treeitem:{type:"widget",requiredContext:["group","tree"],allowedAttrs:["aria-checked","aria-expanded","aria-level","aria-posinset","aria-selected","aria-setsize"],superclassRole:["listitem","option"],accessibleNameRequired:!0,nameFromContent:!0},widget:{type:"abstract",superclassRole:["roletype"]},window:{type:"abstract",superclassRole:["roletype"]}},ls={ariaAttrs:us,ariaRoles:U({},ss,{"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:!0,superclassRole:["link"]},"doc-biblioentry":{type:"listitem",allowedAttrs:["aria-expanded","aria-level","aria-posinset","aria-setsize"],superclassRole:["listitem"],deprecated:!0},"doc-bibliography":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-biblioref":{type:"link",allowedAttrs:["aria-expanded"],nameFromContent:!0,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:!0},"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:!0,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:!0,superclassRole:["link"]},"doc-notice":{type:"note",allowedAttrs:["aria-expanded"],superclassRole:["note"]},"doc-pagebreak":{type:"separator",allowedAttrs:["aria-expanded","aria-orientation"],superclassRole:["separator"],childrenPresentational:!0},"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"]}},{"graphics-document":{type:"structure",superclassRole:["document"],accessibleNameRequired:!0},"graphics-object":{type:"structure",superclassRole:["group"],nameFromContent:!0},"graphics-symbol":{type:"structure",superclassRole:["img"],accessibleNameRequired:!0,childrenPresentational:!0}}),htmlElms:{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:!0}}},abbr:{contentTypes:["phrasing","flow"],allowedRoles:!0},address:{contentTypes:["flow"],allowedRoles:!0},area:{variant:{href:{matches:"[href]",allowedRoles:!1},default:{allowedRoles:["button","link"]}},contentTypes:["phrasing","flow"],namingMethods:["altText"]},article:{contentTypes:["sectioning","flow"],allowedRoles:["feed","presentation","none","document","application","main","region"],shadowRoot:!0},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:!0},base:{allowedRoles:!1,noAriaAttrs:!0},bdi:{contentTypes:["phrasing","flow"],allowedRoles:!0},bdo:{contentTypes:["phrasing","flow"],allowedRoles:!0},blockquote:{contentTypes:["flow"],allowedRoles:!0,shadowRoot:!0},body:{allowedRoles:!1,shadowRoot:!0},br:{contentTypes:["phrasing","flow"],allowedRoles:["presentation","none"],namingMethods:["titleText","singleSpace"]},button:{contentTypes:["interactive","phrasing","flow"],allowedRoles:["checkbox","combobox","gridcell","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","separator","slider","switch","tab","treeitem"],namingMethods:["subtreeText"]},canvas:{allowedRoles:!0,contentTypes:["embedded","phrasing","flow"],chromiumRole:"Canvas"},caption:{allowedRoles:!1},cite:{contentTypes:["phrasing","flow"],allowedRoles:!0},code:{contentTypes:["phrasing","flow"],allowedRoles:!0},col:{allowedRoles:!1,noAriaAttrs:!0},colgroup:{allowedRoles:!1,noAriaAttrs:!0},data:{contentTypes:["phrasing","flow"],allowedRoles:!0},datalist:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0,implicitAttrs:{"aria-multiselectable":"false"}},dd:{allowedRoles:!1},del:{contentTypes:["phrasing","flow"],allowedRoles:!0},dfn:{contentTypes:["phrasing","flow"],allowedRoles:!0},details:{contentTypes:["interactive","flow"],allowedRoles:!1},dialog:{contentTypes:["flow"],allowedRoles:["alertdialog"]},div:{contentTypes:["flow"],allowedRoles:!0,shadowRoot:!0},dl:{contentTypes:["flow"],allowedRoles:["group","list","presentation","none"],chromiumRole:"DescriptionList"},dt:{allowedRoles:["listitem"]},em:{contentTypes:["phrasing","flow"],allowedRoles:!0},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:!0,namingMethods:["figureText","titleText"]},footer:{contentTypes:["flow"],allowedRoles:["group","none","presentation","doc-footnote"],shadowRoot:!0},form:{contentTypes:["flow"],allowedRoles:["form","search","none","presentation"]},h1:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:!0,implicitAttrs:{"aria-level":"1"}},h2:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:!0,implicitAttrs:{"aria-level":"2"}},h3:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:!0,implicitAttrs:{"aria-level":"3"}},h4:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:!0,implicitAttrs:{"aria-level":"4"}},h5:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:!0,implicitAttrs:{"aria-level":"5"}},h6:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:!0,implicitAttrs:{"aria-level":"6"}},head:{allowedRoles:!1,noAriaAttrs:!0},header:{contentTypes:["flow"],allowedRoles:["group","none","presentation","doc-footnote"],shadowRoot:!0},hgroup:{contentTypes:["heading","flow"],allowedRoles:!0},hr:{contentTypes:["flow"],allowedRoles:["none","presentation","doc-pagebreak"],namingMethods:["titleText","singleSpace"]},html:{allowedRoles:!1,noAriaAttrs:!0},i:{contentTypes:["phrasing","flow"],allowedRoles:!0},iframe:{contentTypes:["interactive","embedded","phrasing","flow"],allowedRoles:["application","document","img","none","presentation"],chromiumRole:"Iframe"},img:{variant:{nonEmptyAlt:{matches:[{attributes:{alt:"/.+/"}},{hasAccessibleName:!0}],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:!1},hidden:{matches:{properties:{type:"hidden"}},contentTypes:["flow"],allowedRoles:!1,noAriaAttrs:!0},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:!1},default:{contentTypes:["interactive","flow"],allowedRoles:["combobox","searchbox","spinbutton"],implicitAttrs:{"aria-valuenow":""},namingMethods:["labelText","placeholderText"]}}},ins:{contentTypes:["phrasing","flow"],allowedRoles:!0},kbd:{contentTypes:["phrasing","flow"],allowedRoles:!0},label:{contentTypes:["interactive","phrasing","flow"],allowedRoles:!1,chromiumRole:"Label"},legend:{allowedRoles:!1},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:!1,noAriaAttrs:!0},main:{contentTypes:["flow"],allowedRoles:!1,shadowRoot:!0},map:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},math:{contentTypes:["embedded","phrasing","flow"],allowedRoles:!1},mark:{contentTypes:["phrasing","flow"],allowedRoles:!0},menu:{contentTypes:["flow"],allowedRoles:["directory","group","listbox","menu","menubar","none","presentation","radiogroup","tablist","toolbar","tree"]},meta:{variant:{itemprop:{matches:"[itemprop]",contentTypes:["phrasing","flow"]}},allowedRoles:!1,noAriaAttrs:!0},meter:{contentTypes:["phrasing","flow"],allowedRoles:!1,chromiumRole:"progressbar"},nav:{contentTypes:["sectioning","flow"],allowedRoles:["doc-index","doc-pagelist","doc-toc","menu","menubar","none","presentation","tablist"],shadowRoot:!0},noscript:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},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:!1},option:{allowedRoles:!1,implicitAttrs:{"aria-selected":"false"}},output:{contentTypes:["phrasing","flow"],allowedRoles:!0,namingMethods:["subtreeText"]},p:{contentTypes:["flow"],allowedRoles:!0,shadowRoot:!0},param:{allowedRoles:!1,noAriaAttrs:!0},picture:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},pre:{contentTypes:["flow"],allowedRoles:!0},progress:{contentTypes:["phrasing","flow"],allowedRoles:!1,implicitAttrs:{"aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":"0"}},q:{contentTypes:["phrasing","flow"],allowedRoles:!0},rp:{allowedRoles:!0},rt:{allowedRoles:!0},ruby:{contentTypes:["phrasing","flow"],allowedRoles:!0},s:{contentTypes:["phrasing","flow"],allowedRoles:!0},samp:{contentTypes:["phrasing","flow"],allowedRoles:!0},script:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},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:!0},select:{variant:{combobox:{matches:{attributes:{multiple:null,size:[null,"1"]}},allowedRoles:["menu"]},default:{allowedRoles:!1}},contentTypes:["interactive","phrasing","flow"],implicitAttrs:{"aria-valuenow":""},namingMethods:["labelText"]},slot:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},small:{contentTypes:["phrasing","flow"],allowedRoles:!0},source:{allowedRoles:!1,noAriaAttrs:!0},span:{contentTypes:["phrasing","flow"],allowedRoles:!0,shadowRoot:!0},strong:{contentTypes:["phrasing","flow"],allowedRoles:!0},style:{allowedRoles:!1,noAriaAttrs:!0},svg:{contentTypes:["embedded","phrasing","flow"],allowedRoles:!0,chromiumRole:"SVGRoot",namingMethods:["svgTitleText"]},sub:{contentTypes:["phrasing","flow"],allowedRoles:!0},summary:{allowedRoles:!1,namingMethods:["subtreeText"]},sup:{contentTypes:["phrasing","flow"],allowedRoles:!0},table:{contentTypes:["flow"],allowedRoles:!0,namingMethods:["tableCaptionText","tableSummaryText"]},tbody:{allowedRoles:!0},template:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},textarea:{contentTypes:["interactive","phrasing","flow"],allowedRoles:!1,implicitAttrs:{"aria-valuenow":"","aria-multiline":"true"},namingMethods:["labelText","placeholderText"]},tfoot:{allowedRoles:!0},thead:{allowedRoles:!0},time:{contentTypes:["phrasing","flow"],allowedRoles:!0},title:{allowedRoles:!1,noAriaAttrs:!0},td:{allowedRoles:!0},th:{allowedRoles:!0},tr:{allowedRoles:!0},track:{allowedRoles:!1,noAriaAttrs:!0},u:{contentTypes:["phrasing","flow"],allowedRoles:!0},ul:{contentTypes:["flow"],allowedRoles:["directory","group","listbox","menu","menubar","none","presentation","radiogroup","tablist","toolbar","tree"]},var:{contentTypes:["phrasing","flow"],allowedRoles:!0},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"]}},cssColors:{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]}},cs=U({},ls),ds=cs,ps=function(e){var t=ds.ariaRoles[e];return!!t&&!!t.unsupported},fs=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.allowAbstract,n=t.flagUnsupported,a=void 0!==n&&n,o=ds.ariaRoles[e],i=ps(e);return!(!o||a&&i||!r&&"abstract"===o.type)},ms=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.fallback,n=t.abstracts,a=t.dpub;if(1!==(e=e instanceof oa?e:to(e)).props.nodeType)return null;var o=(e.attr("role")||"").trim().toLowerCase();return(r?Uf(o):[o]).find(function(e){return!(!a&&"doc-"===e.substr(0,4))&&fs(e,{allowAbstract:n})})||null},Ds=function(e){return Object.keys(ds.htmlElms).filter(function(t){var r=ds.htmlElms[t];return r.contentTypes?r.contentTypes.includes(e):!!r.variant&&!(!r.variant.default||!r.variant.default.contentTypes)&&r.variant.default.contentTypes.includes(e)})},hs=function(){return eo.get("globalAriaAttrs",function(){return Object.keys(ds.ariaAttrs).filter(function(e){return ds.ariaAttrs[e].global})})},gs=Ba(function(e){for(var t=[],r=e.rows,n=0,a=r.length;n1&&void 0!==arguments[1]?arguments[1]:{}).checkTitle,r=void 0!==t&&t;return!!(ws(os(e))||ws(is(e))||r&&1===(null==e?void 0:e.props.nodeType)&&ws(e.attr("title")))}var As={a:function(e){return e.hasAttr("href")?"link":null},area:function(e){return e.hasAttr("href")?"link":null},article:"article",aside:function(e){return Eo(e.parent,Es())&&!xs(e,{checkTitle:!0})?null:"complementary"},body:"document",button:"button",datalist:"listbox",dd:"definition",dfn:"term",details:"group",dialog:"dialog",dt:"term",fieldset:"group",figure:"figure",footer:function(e){return Eo(e,Cs())?null:"contentinfo"},form:function(e){return xs(e)?"form":null},h1:"heading",h2:"heading",h3:"heading",h4:"heading",h5:"heading",h6:"heading",header:function(e){return Eo(e,Cs())?null:"banner"},hr:"separator",img:function(e){var t=e.hasAttr("alt")&&!e.attr("alt"),r=hs().find(function(t){return e.hasAttr(t)});return!t||r||Ju(e)?"img":"presentation"},input:function(e){var t;if(e.hasAttr("list")){var r=ns(e.actualNode,"list").filter(function(e){return!!e})[0];t=r&&"datalist"===r.nodeName.toLowerCase()}switch(e.props.type){case"checkbox":return"checkbox";case"number":return"spinbutton";case"radio":return"radio";case"range":return"slider";case"search":return t?"combobox":"searchbox";case"button":case"image":case"reset":case"submit":return"button";case"text":case"tel":case"url":case"email":case"":return t?"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(e){return xs(e)?"region":null},select:function(e){return e.hasAttr("multiple")||parseInt(e.attr("size"))>1?"listbox":"combobox"},summary:"button",table:"table",tbody:"rowgroup",td:function(e){var t=Eo(e,"table"),r=ms(t);return["grid","treegrid"].includes(r)?"gridcell":"cell"},textarea:"textbox",tfoot:"rowgroup",th:function(e){return ys(e)?"columnheader":Fs(e)?"rowheader":void 0},thead:"rowgroup",tr:"row",ul:"list"},ks=function(e,t){var r=l(t);if(Array.isArray(t)&&void 0!==e)return t.includes(e);if("function"===r)return!!t(e);if(null!=e){if(t instanceof RegExp)return t.test(e);if(/^\/.*\/$/.test(t)){var n=t.substring(1,t.length-1);return new RegExp(n).test(e)}}return t===e},Ns=function(e,t){return ks(!!xl(e),t)},Bs=function(e,t){if("object"!==l(t)||Array.isArray(t)||t instanceof RegExp)throw new Error("Expect matcher to be an object");return Object.keys(t).every(function(r){return ks(e(r),t[r])})},Ts=function(e,t){return e=Ym(e).vNode,Bs(function(t){return e.attr(t)},t)};function Rs(e,t){return!!t(e)}var Ss=function(e,t){return ks(ms(e),t)},Os=function(e,t){return ks(Vs(e),t)},_s=function(e,t){return e=Ym(e).vNode,ks(e.props.nodeName,t)},Ms=function(e,t){return e=Ym(e).vNode,Bs(function(t){return e.props[t]},t)},Ps=function(e,t){return ks(Ws(e),t)},Is={hasAccessibleName:Ns,attributes:Ts,condition:Rs,explicitRole:Ss,implicitRole:Os,nodeName:_s,properties:Ms,semanticRole:Ps},Ls=function e(t,r){return t=Ym(t).vNode,Array.isArray(r)?r.some(function(r){return e(t,r)}):"string"==typeof r?co(t,r):Object.keys(r).every(function(e){if(!Is[e])throw new Error('Unknown matcher type "'.concat(e,'"'));var n=Is[e],a=r[e];return n(t,a)})},js=function(e,t){return Ls(e,t)};js.hasAccessibleName=Ns,js.attributes=Ts,js.condition=Rs,js.explicitRole=Ss,js.fromDefinition=Ls,js.fromFunction=Bs,js.fromPrimative=ks,js.implicitRole=Os,js.nodeName=_s,js.properties=Ms,js.semanticRole=Ps;var qs=js,zs=function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).noMatchAccessibleName,r=void 0!==t&&t,n=ds.htmlElms[e.props.nodeName];if(!n)return{};if(!n.variant)return n;var a=n.variant,o=V(n,D);for(var i in a)if(a.hasOwnProperty(i)&&"default"!==i){for(var u=a[i],s=u.matches,l=V(u,h),c=Array.isArray(s)?s:[s],d=0;d1&&void 0!==arguments[1]?arguments[1]:{}).chromium,r=e instanceof oa?e:to(e);if(e=r.actualNode,!r)throw new ReferenceError("Cannot get implicit role of a node outside the current scope.");var n=r.props.nodeName,a=As[n];return!a&&t?zs(r).chromiumRole||null:"function"==typeof a?a(r):a||null},$s={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 Hs(e,t){var r=$s[e.props.nodeName];if(!r)return null;if(!e.parent){if(!e.actualNode)return null;throw new ReferenceError("Cannot determine role presentational inheritance of a required parent outside the current scope.")}if(!r.includes(e.parent.props.nodeName))return null;var n=ms(e.parent,t);return["none","presentation"].includes(n)&&!Gs(e.parent)?n:n?null:Hs(e.parent,t)}function Us(e,t){var r=t.chromium,n=V(t,g),a=Vs(e,{chromium:r});return a?Hs(e,n)||a:null}function Gs(e){return hs().some(function(t){return e.hasAttr(t)})||Ju(e)}var Ws=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.noPresentational,n=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.noImplicit,n=V(t,v),a=Ym(e).vNode;if(1!==a.props.nodeType)return null;var o=ms(a,n);return o?["presentation","none"].includes(o)&&Gs(a)?r?null:Us(a,n):o:r?null:Us(a,n)}(e,V(t,b));return r&&["presentation","none"].includes(n)?null:n},Ys=["iframe"],Ks=function(e){var t=Ym(e).vNode;return 1===t.props.nodeType&&e.hasAttr("title")?!js(t,Ys)&&["none","presentation"].includes(Ws(t))?"":t.attr("title"):""},Xs=function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).strict;if(1!==(e=e instanceof oa?e:to(e)).props.nodeType)return!1;var r=Ws(e),n=ds.ariaRoles[r];return!(!n||!n.nameFromContent)||!t&&(!n||["presentation","none"].includes(r))},Zs=function(e){var t=e.actualNode,r=e.children;if(!r)throw new Error("getOwnedVirtual requires a virtual node");if(e.hasAttr("aria-owns")){var n=ns(t,"aria-owns").filter(function(e){return!!e}).map(function(e){return c.utils.getNodeFromTree(e)});return[].concat($(r),$(n))}return $(r)},Js={accessibleNameFromFieldValue:["progressbar"]};function Qs(e){return e=Ym(e).vNode,el(e)}var el=Ba(function(e,t){return!qi(e)&&!Pu(e,{skipAncestors:!0,isAncestor:t})&&(e.actualNode&&"area"===e.props.nodeName?!Ui(e,el):!Yi(e,{skipAncestors:!0,isAncestor:t})&&(!e.parent||el(e.parent,!0)))}),tl=function e(t,r,n){var a=Ym(t).vNode,o=r?Qs:nu,i=!t.actualNode||t.actualNode&&o(t),u=a.children.map(function(t){var a=t.props,o=a.nodeType,u=a.nodeValue;if(3===o){if(u&&i)return u}else if(!n)return e(t,r)}).join("");return ws(u)},rl=["button","checkbox","color","file","hidden","image","password","radio","reset","submit"],nl=function(e){var t=(e=e instanceof oa?e:to(e)).props.nodeName;return"textarea"===t||"input"===t&&!rl.includes((e.attr("type")||"").toLowerCase())},al=function(e){return"select"===(e=e instanceof oa?e:to(e)).props.nodeName},ol=function(e){return"textbox"===ms(e)},il=function(e){return"listbox"===ms(e)},ul=function(e){return"combobox"===ms(e)},sl=["progressbar","scrollbar","slider","spinbutton"],ll=function(e){var t=ms(e);return sl.includes(t)},cl=["textbox","progressbar","scrollbar","slider","spinbutton","combobox","listbox"],dl={nativeTextboxValue:function(e){var t=Ym(e).vNode;return nl(t)&&t.props.value||""},nativeSelectValue:function(e){var t=Ym(e).vNode;if(!al(t))return"";var r=mD(t,"option"),n=r.filter(function(e){return e.props.selected});return n.length||n.push(r[0]),n.map(function(e){return tl(e)}).join(" ")||""},ariaTextboxValue:function(e){var t=Ym(e),r=t.vNode,n=t.domNode;return ol(r)?!n||n&&!Yi(n)?tl(r,!0):n.textContent:""},ariaListboxValue:pl,ariaComboboxValue:function(e,t){var r=Ym(e).vNode;if(!ul(r))return"";var n=Zs(r).filter(function(e){return"listbox"===Ws(e)})[0];return n?pl(n,t):""},ariaRangeValue:function(e){var t=Ym(e).vNode;if(!ll(t)||!t.hasAttr("aria-valuenow"))return"";var r=+t.attr("aria-valuenow");return isNaN(r)?"0":String(r)}};function pl(e,t){var r=Ym(e).vNode;if(!il(r))return"";var n=Zs(r).filter(function(e){return"option"===Ws(e)&&"true"===e.attr("aria-selected")});return 0===n.length?"":xl(n[0],t)}var fl=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.actualNode,n=Js.accessibleNameFromFieldValue||[],a=Ws(e);if(t.startNode===e||!cl.includes(a)||n.includes(a))return"";var o=Object.keys(dl).map(function(e){return dl[e]}).reduce(function(r,n){return r||n(e,t)},"");return t.debug&&na(o||"{empty-value}",r,t),o},ml=Ds("phrasing").concat(["#text"]),Dl=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=xl.alreadyProcessed;t.startNode=t.startNode||e;var n=t,a=n.strict,o=n.inControlContext,i=n.inLabelledByContext,u=Ws(e),s=zs(e,{noMatchAccessibleName:!0}).contentTypes;return r(e,t)||1!==e.props.nodeType||null!=s&&s.includes("embedded")||cl.includes(u)?"":t.subtreeDescendant||t.inLabelledByContext||Xs(e,{strict:a})?(a||(t=U({subtreeDescendant:!o&&!i},t)),Zs(e).reduce(function(e,r){return function(e,t,r){var n=t.props.nodeName,a=xl(t,r);return a?(ml.includes(n)||(" "!==a[0]&&(a+=" "),e&&" "!==e[e.length-1]&&(a=" "+a)),e+a):e}(e,r,t)},"")):""},hl=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=xl.alreadyProcessed;if(t.inControlContext||t.inLabelledByContext||r(e,t))return"";t.startNode||(t.startNode=e);var n,a=U({inControlContext:!0},t),o=function(e){if(!e.attr("id"))return[];if(!e.actualNode)throw new TypeError("Cannot resolve explicit label reference for non-DOM nodes");return Ni({elm:"label",attr:"for",value:e.attr("id"),context:e.actualNode})}(e),i=Eo(e,"label");return i?(n=[].concat($(o),[i.actualNode])).sort(Wm):n=o,n.map(function(e){return as(e,a)}).filter(function(e){return""!==e}).join(" ")},gl={submit:"Submit",image:"Submit",reset:"Reset",button:""};function vl(e,t){return t.attr(e)||""}function bl(e,t,r){var n=t.actualNode,a=[e=e.toLowerCase(),n.nodeName.toLowerCase()].join(","),o=n.querySelector(a);return o&&o.nodeName.toLowerCase()===e?as(o,r):""}var yl={valueText:function(e){return e.props.value||""},buttonDefaultText:function(e){return gl[e.props.type]||""},tableCaptionText:bl.bind(null,"caption"),figureText:bl.bind(null,"figcaption"),svgTitleText:bl.bind(null,"title"),fieldsetLegendText:bl.bind(null,"legend"),altText:vl.bind(null,"alt"),tableSummaryText:vl.bind(null,"summary"),titleText:Ks,subtreeText:Dl,labelText:hl,singleSpace:function(){return" "},placeholderText:vl.bind(null,"placeholder")};function Fl(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.actualNode;if(1!==e.props.nodeType||["presentation","none"].includes(Ws(e)))return"";var n=function(e){return(zs(e,{noMatchAccessibleName:!0}).namingMethods||[]).map(function(e){return yl[e]})}(e),a=n.reduce(function(r,n){return r||n(e,t)},"");return t.debug&&c.log(a||"{empty-value}",r,t),a}var wl=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))?|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?(?:\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\uDC70\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-\uDED7\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]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\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]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\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]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\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]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\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]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\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]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\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]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\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]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\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]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\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]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\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\uDD3D\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-\uDE89\uDE8F-\uDEC2\uDEC6\uDECE-\uDEDC\uDEDF-\uDEE9]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\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]|\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]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\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]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\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]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\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]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\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]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\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},El=function(e,t){var r=t.emoji,n=t.nonBmp,a=t.punctuations,o=!1;return r&&(o||(o=/[#*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\u23F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200D[\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-\uDED7\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]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\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]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\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]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\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]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\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]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\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]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\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]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\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]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\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]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\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]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\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\uDD3D\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-\uDE89\uDE8F-\uDEC2\uDEC6\uDECE-\uDEDC\uDEDF-\uDEE9]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\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]|\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]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\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]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\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]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\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]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\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]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\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.test(e))),n&&(o||(o=/[\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.test(e)||/[\uDB80-\uDBBF][\uDC00-\uDFFF]/g.test(e)||/[\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.test(e))),a&&(o||(o=/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&\xa3\xa2\xa5\xa7\u20ac()*+,\-.\/:;<=>?@\[\]^_`{|}~\xb1]/g.test(e))),o};function Cl(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.15,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:3,n=e.actualNode.nodeValue.trim();if(!ws(n)||El(n,{emoji:!0,nonBmp:!0}))return!1;var a=eo.get("canvasContext",function(){return s.createElement("canvas").getContext("2d",{willReadFrequently:!0})}),o=a.canvas,u=eo.get("fonts",function(){return{}}),l=i.getComputedStyle(e.parent.actualNode).getPropertyValue("font-family");u[l]||(u[l]={occurrences:0,numLigatures:0});var c=u[l];if(c.occurrences>=r){if(c.numLigatures/c.occurrences===1)return!0;if(0===c.numLigatures)return!1}c.occurrences++;var d=30,p="".concat(d,"px ").concat(l);a.font=p;var f=n.charAt(0),m=a.measureText(f).width;if(0===m)return c.numLigatures++,!0;if(m<30){var D=30/m;m*=D,p="".concat(d*=D,"px ").concat(l)}o.width=m,o.height=d,a.font=p,a.textAlign="left",a.textBaseline="top",a.fillText(f,0,0);var h=new Uint32Array(a.getImageData(0,0,m,d).data.buffer);if(!h.some(function(e){return e}))return c.numLigatures++,!0;a.clearRect(0,0,m,d),a.fillText(n,0,0);var g=new Uint32Array(a.getImageData(0,0,m,d).data.buffer),v=h.reduce(function(e,t,r){return 0===t&&0===g[r]||0!==t&&0!==g[r]?e:++e},0),b=n.split("").reduce(function(e,t){return e+a.measureText(t).width},0),y=a.measureText(n).width;return v/h.length>=t&&1-y/b>=t&&(c.numLigatures++,!0)}function xl(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(t=function(e,t){return t.startNode||(t=U({startNode:e},t)),1===e.props.nodeType&&t.inLabelledByContext&&void 0===t.includeHidden&&(t=U({includeHidden:!Qs(e)},t)),t}(e,t),function(e,t){return!!e&&(1===e.props.nodeType&&!t.includeHidden&&!Qs(e))}(e,t))return"";if(function(e,t){var r,n=t.ignoreIconLigature,a=t.pixelThreshold,o=null!==(r=t.occurrenceThreshold)&&void 0!==r?r:t.occuranceThreshold;return!(3!==e.props.nodeType||!n)&&Cl(e,a,o)}(e,t))return"";var r=[os,is,Fl,fl,Dl,Al,Ks].reduce(function(r,n){return t.startNode===e&&(r=ws(r)),""!==r?r:n(e,t)},"");return t.debug&&c.log(r||"{empty-value}",e.actualNode,t),r}function Al(e){return 3!==e.props.nodeType?"":e.props.nodeValue}xl.alreadyProcessed=function(e,t){return t.processed=t.processed||[],!!t.processed.includes(e)||(t.processed.push(e),!1)};var kl=function(e,t){var r=t.emoji,n=t.nonBmp,a=t.punctuations;return r&&(e=e.replace(/[#*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\u26A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FE0F?)?|[\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-\uDED7\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]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\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]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\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]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\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]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\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]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\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]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\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]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\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]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\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]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\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]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\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\uDD3D\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-\uDE89\uDE8F-\uDEC2\uDEC6\uDECE-\uDEDC\uDEDF-\uDEE9]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\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]|\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]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\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]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\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]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\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]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\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]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\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,"")),n&&(e=e.replace(/[\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,"").replace(/[\uDB80-\uDBBF][\uDC00-\uDFFF]/g,"").replace(/[\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,"")),a&&(e=e.replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&\xa3\xa2\xa5\xa7\u20ac()*+,\-.\/:;<=>?@\[\]^_`{|}~\xb1]/g,"")),e},Nl=function(e){return function(e){return 0===ws(e).length}(e)||function(e){return 1===e.length&&e.match(/\D/)}(e)||function(e){return["aa","abc"].includes(e.toLowerCase())}(e)||function(e){var t=kl(e,{emoji:!0,nonBmp:!0,punctuations:!0});return!ws(t)}(e)?0:1},Bl={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"]},Tl=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.looseTyped,n=void 0!==r&&r,a=t.stateTerms,o=void 0===a?[]:a,i=t.locations,u=void 0===i?[]:i,s=t.qualifiers,l=void 0===s?[]:s,c=t.standaloneTerms,d=void 0===c?[]:c,p=t.qualifiedTerms,f=void 0===p?[]:p,m=t.ignoredValues,D=void 0===m?[]:m;if(e=e.toLowerCase().trim(),(o=o.concat(Bl.stateTerms)).includes(e)||""===e)return!0;l=l.concat(Bl.qualifiers),u=u.concat(Bl.locations),d=d.concat(Bl.standaloneTerms),f=f.concat(Bl.qualifiedTerms);var h=e.split(/\s+/g);if("webauthn"===h[h.length-1]&&(h.pop(),0===h.length))return!1;if(!n&&(h[0].length>8&&"section-"===h[0].substr(0,8)&&h.shift(),u.includes(h[0])&&h.shift(),l.includes(h[0])&&(h.shift(),d=[]),1!==h.length))return!1;var g=h[h.length-1];return D.includes(g)?void 0:d.includes(g)||f.includes(g)},Rl=function(e){var t;return e.attr("aria-labelledby")&&(t=ns(e.actualNode,"aria-labelledby").map(function(e){var t=to(e);return t?tl(t):""}).join(" ").trim())||(t=e.attr("aria-label"))&&(t=ws(t))?t:null},Sl=function(e,t,r){return e=to(e),tl(e,t,r)},Ol=function(e){var t,r;if(r=Rl(e))return r;if(e.attr("id")){if(!e.actualNode)throw new TypeError("Cannot resolve explicit label reference for non-DOM nodes");var n=Fa(e.attr("id"));if(r=(t=ki(e.actualNode).querySelector('label[for="'+n+'"]'))&&Sl(t,!0))return r}return(r=(t=Eo(e,"label"))&&tl(t,!0))||null},_l=function(e){return e=to(e),Ol(e)},Ml=[{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"]}],Pl=function e(t){var r=nu(t),n=[];return t.children.forEach(function(t){3===t.actualNode.nodeType?r&&n.push(t):n=n.concat(e(t))}),n},Il=Ba(function(e){var t=to(e),r=t.boundingClientRect,n=[],a=Oi(t);return e.childNodes.forEach(function(e){if(3===e.nodeType&&""!==ws(e.nodeValue)){var t=function(e){var t=s.createRange();return t.selectNodeContents(e),Array.from(t.getClientRects())}(e);(function(e,t){return e.some(function(e){return!iu(lu(e),t)})})(t,r)||n.push.apply(n,$(Ll(t,a)))}}),n.length?n:Ll([r],a)});function Ll(e,t){var r=[];return e.forEach(function(e){if(!(e.width<1||e.height<1)){var n=t.reduce(function(e,t){return e&&su(e,t.boundingClientRect)},e);n&&r.push(n)}}),r}var jl=function(e){Cu();var t=to(e)._grid;return t?Il(e).map(function(e){return Yu(t,e)}):[]},ql=["checkbox","img","meter","progressbar","scrollbar","radio","slider","spinbutton","textbox"],zl=function(e){var t=Ym(e).vNode,r=c.commons.aria.getExplicitRole(t);if(r)return-1!==ql.indexOf(r);switch(t.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!0;case"input":return"hidden"!==t.props.type;default:return!1}},Vl=["head","title","template","script","style","iframe","object","video","audio","noscript"];function $l(e){return!Vl.includes(e.props.nodeName)&&e.children.some(function(e){var t=e.props;return 3===t.nodeType&&t.nodeValue.trim()})}var Hl=function e(t,r,n){return $l(t)||zl(t.actualNode)||!n&&!!Rl(t)||!r&&t.children.some(function(t){return 1===t.actualNode.nodeType&&e(t)})},Ul=function(e,t,r){return e=to(e),Hl(e,t,r)};function Gl(e){return!(void 0!==e.children&&!$l(e))||(1===e.props.nodeType&&zl(e)?!!c.commons.text.accessibleTextVirtual(e):e.children.some(function(e){return!e.attr("lang")&&Gl(e)&&!Yi(e)}))}var Wl=function(e){return Jm(e.getAttribute("tabindex"))>-1&&Ju(e)&&!Zu(e)};function Yl(e,t){var r=Ym(e),n=r.vNode,a=r.domNode;return n?(void 0===n._isHiddenWithCSS&&(n._isHiddenWithCSS=Kl(a,t)),n._isHiddenWithCSS):Kl(a,t)}function Kl(e,t){if(9===e.nodeType)return!1;if(11===e.nodeType&&(e=e.host),["STYLE","SCRIPT"].includes(e.nodeName.toUpperCase()))return!1;var r=i.getComputedStyle(e,null);if(!r)throw new Error("Style does not exist for the given element.");if("none"===r.getPropertyValue("display"))return!0;var n=["hidden","collapse"],a=r.getPropertyValue("visibility");if(n.includes(a)&&!t)return!0;if(n.includes(a)&&t&&n.includes(t))return!0;var o=Zi(e);return!(!o||n.includes(a))&&Yl(o,a)}var Xl=Yl,Zl=function(e){var t=e.doctype;return null!==t&&"html"===t.name&&!t.publicId&&!t.systemId},Jl=function(e){var t;(e instanceof oa||null!==(t=i)&&void 0!==t&&t.Node&&e instanceof i.Node)&&(e=c.commons.aria.getRole(e));var r=ds.ariaRoles[e];return(null==r?void 0:r.type)||null};function Ql(e,t){!1!==t(e.actualNode)&&e.children.forEach(function(e){return Ql(e,t)})}var ec=["block","list-item","table","flex","grid","inline-block"];function tc(e){var t=i.getComputedStyle(e).getPropertyValue("display");return ec.includes(t)||"table-"===t.substr(0,6)}var rc=function(e,t){if(tc(e))return!1;var r=function(e){for(var t=Zi(e);t&&!tc(t);)t=Zi(t);return to(t)}(e),n="",a="",o=0;return Ql(r,function(t){if(2===o)return!1;if(3===t.nodeType&&(n+=t.nodeValue),1===t.nodeType){var r=(t.nodeName||"").toUpperCase();if(t===e&&(o=1),["BR","HR"].includes(r))0===o?(n="",a=""):o=2;else{if("none"===t.style.display||"hidden"===t.style.overflow||!["",null,"none"].includes(t.style.float)||!["",null,"relative"].includes(t.style.position))return!1;if("widget"===Jl(t))return a+=t.textContent,!1}}}),n=ws(n),null!=t&&t.noLengthCompare?0!==n.length:(a=ws(a),n.length>a.length)},nc=function(e){var t=(e=e||{}).modalPercent||.75;if(eo.get("isModalOpen"))return eo.get("isModalOpen");if(nD(c._tree[0],"dialog, [role=dialog], [aria-modal=true]",nu).length)return eo.set("isModalOpen",!0),!0;for(var r,n=eu(i),a=n.width*t,o=n.height*t,u=(n.width-a)/2,l=(n.height-o)/2,d=[{x:u,y:l},{x:n.width-u,y:l},{x:n.width/2,y:n.height/2},{x:u,y:n.height-l},{x:n.width-u,y:n.height-l}].map(function(e){return Array.from(s.elementsFromPoint(e.x,e.y))}),p=function(){var e=d[f].find(function(e){var t=i.getComputedStyle(e);return parseInt(t.width,10)>=a&&parseInt(t.height,10)>=o&&"none"!==t.getPropertyValue("pointer-events")&&("absolute"===t.position||"fixed"===t.position)});if(e&&d.every(function(t){return t.includes(e)}))return eo.set("isModalOpen",!0),{v:!0}},f=0;f1&&void 0!==arguments[1]?arguments[1]:2,r=e.ownerDocument.createRange();r.setStart(e,0),r.setEnd(e,e.childNodes.length);var n,a=0,o=0,i=Q(r.getClientRects());try{for(i.s();!(n=i.n()).done;){var u=n.value;if(!(u.height<=t))if(a>u.top+t)a=Math.max(a,u.bottom);else{if(0!==o)return!0;a=u.bottom,o++}}}catch(e){i.e(e)}finally{i.f()}return!1}var oc=function(e){return e instanceof i.Node},ic="color.incompleteData",uc={set:function(e,t){if("string"!=typeof e)throw new Error("Incomplete data: key must be a string");var r=eo.get(ic,function(){return{}});return t&&(r[e]=t),r[e]},get:function(e){var t=eo.get(ic);return null==t?void 0:t[e]},clear:function(){eo.set(ic,{})}},sc=uc,lc=function(e,t){var r=e.nodeName.toUpperCase();if(["IMG","CANVAS","OBJECT","IFRAME","VIDEO","SVG"].includes(r))return sc.set("bgColor","imgNode"),!0;var n=(t=t||i.getComputedStyle(e)).getPropertyValue("background-image"),a="none"!==n;if(a){var o=/gradient/.test(n);sc.set("bgColor",o?"bgGradient":"bgImage")}return a},cc={};fe(cc,{ArrayFrom:function(){return vf.default},Colorjs:function(){return pf},CssSelectorParser:function(){return hc.CssSelectorParser},doT:function(){return gc.default},emojiRegexText:function(){return wl},memoize:function(){return vc.default}});var dc=me(Xt()),pc=me(Zt()),fc=(me(Jt()),me(Jr())),mc=me(gn()),Dc=me(Qn());"hasOwn"in Object||(Object.hasOwn=fc.default),"values"in Object||(Object.values=mc.default),"Promise"in i||dc.default.polyfill(),"Uint32Array"in i||(i.Uint32Array=pc.Uint32Array),i.Uint32Array&&("some"in i.Uint32Array.prototype||Object.defineProperty(i.Uint32Array.prototype,"some",{value:Array.prototype.some}),"reduce"in i.Uint32Array.prototype||Object.defineProperty(i.Uint32Array.prototype,"reduce",{value:Array.prototype.reduce})),"function"!=typeof Object.assign&&(Object.assign=function(e){if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(e),r=1;r>>0,a=arguments[1],o=0;o>>0,o=0;o=0?n=o:(n=r+o)<0&&(n=0);n>>0,n=arguments.length>=2?arguments[1]:void 0,a=0;athis.length)&&-1!==this.indexOf(e,t)}),Array.prototype.flat||Object.defineProperty(Array.prototype,"flat",{configurable:!0,value:function e(){var t=isNaN(arguments[0])?1:Number(arguments[0]);return t?Array.prototype.reduce.call(this,function(r,n){return Array.isArray(n)?r.push.apply(r,e.call(n,t-1)):r.push(n),r},[]):Array.prototype.slice.call(this)},writable:!0}),i.Node&&!("isConnected"in i.Node.prototype)&&Object.defineProperty(i.Node.prototype,"isConnected",{get:function(){return!(this.ownerDocument&&this.ownerDocument.compareDocumentPosition(this)&this.DOCUMENT_POSITION_DISCONNECTED)}});var hc=me(Kt()),gc=me(ea()),vc=me(Ut());function bc(e,t){var r=e.length;Array.isArray(e[0])||(e=[e]),Array.isArray(t[0])||(t=t.map(function(e){return[e]}));var n=t[0].length,a=t[0].map(function(e,r){return t.map(function(e){return e[r]})}),o=e.map(function(e){return a.map(function(t){var r=0;if(!Array.isArray(e)){var n,a=Q(t);try{for(a.s();!(n=a.n()).done;){var o=n.value;r+=e*o}}catch(e){a.e(e)}finally{a.f()}return r}for(var i=0;ir)return+e.toFixed(t-r);var n=Math.pow(10,r-t);return Math.round(e/n)*n}function Ec(e){if(e){e=e.trim();var t=/^-?[\d.]+$/,r=e.match(/^([a-z]+)\((.+?)\)$/i);if(r){var n=[];return r[2].replace(/\/?\s*([-\w.]+(?:%|deg)?)/g,function(e,r){/%$/.test(r)?(r=new Number(r.slice(0,-1)/100)).type="":/deg$/.test(r)?((r=new Number(+r.slice(0,-3))).type="",r.unit="deg"):t.test(r)&&((r=new Number(r)).type=""),e.startsWith("/")&&((r=r instanceof Number?r:new Number(r)).alpha=!0),n.push(r)}),{name:r[1].toLowerCase(),rawName:r[1],rawArgs:r[2],args:n}}}}function Cc(e){return e[e.length-1]}function xc(e,t,r){return isNaN(e)?t:isNaN(t)?e:e+(t-e)*r}function Ac(e,t,r){return(r-e)/(t-e)}function kc(e,t,r){return xc(t[0],t[1],Ac(e[0],e[1],r))}function Nc(e){return e.map(function(e){return e.split("|").map(function(e){var t=(e=e.trim()).match(/^(<[a-z]+>)\[(-?[.\d]+),\s*(-?[.\d]+)\]?$/);if(t){var r=new String(t[1]);return r.range=[+t[2],+t[3]],r}return e})})}var Bc=Object.freeze({__proto__:null,isString:yc,type:Fc,toPrecision:wc,parseFunction:Ec,last:Cc,interpolate:xc,interpolateInv:Ac,mapRange:kc,parseCoordGrammar:Nc,multiplyMatrices:bc}),Tc=Z(function e(){K(this,e)},[{key:"add",value:function(e,t,r){if("string"==typeof arguments[0])(Array.isArray(e)?e:[e]).forEach(function(e){this[e]=this[e]||[],t&&this[e][r?"unshift":"push"](t)},this);else for(var e in arguments[0])this.add(e,arguments[0][e],arguments[1])}},{key:"run",value:function(e,t){this[e]=this[e]||[],this[e].forEach(function(e){e.call(t&&t.context?t.context:t,t)})}}]),Rc=new Tc,Sc={gamut_mapping:"lch.c",precision:5,deltaE:"76"},Oc={D50:[.3457/.3585,1,.2958/.3585],D65:[.3127/.329,1,.3583/.329]};function _c(e){return Array.isArray(e)?e:Oc[e]}function Mc(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(e=_c(e),t=_c(t),!e||!t)throw new TypeError("Missing white point to convert ".concat(e?"":"from").concat(e||t?"":"/").concat(t?"":"to"));if(e===t)return r;var a={W1:e,W2:t,XYZ:r,options:n};if(Rc.run("chromatic-adaptation-start",a),a.M||(a.W1===Oc.D65&&a.W2===Oc.D50?a.M=[[1.0479298208405488,.022946793341019088,-.05019222954313557],[.029627815688159344,.990434484573249,-.01707382502938514],[-.009243058152591178,.015055144896577895,.7518742899580008]]:a.W1===Oc.D50&&a.W2===Oc.D65&&(a.M=[[.9554734527042182,-.023098536874261423,.0632593086610217],[-.028369706963208136,1.0099954580058226,.021041398966943008],[.012314001688319899,-.020507696433477912,1.3303659366080753]])),Rc.run("chromatic-adaptation-end",a),a.M)return bc(a.M,a.XYZ);throw new TypeError("Only Bradford CAT with white points D50 and D65 supported for now.")}var Pc=(e=new WeakSet,t=new WeakMap,Z(function r(n){var a,o,i,u,s,l,c;K(this,r),I(this,e),P(this,t,void 0),this.id=n.id,this.name=n.name,this.base=n.base?Pc.get(n.base):null,this.aliases=n.aliases,this.base&&(this.fromBase=n.fromBase,this.toBase=n.toBase);var d=null!==(a=n.coords)&&void 0!==a?a:this.base.coords;this.coords=d;var p=null!==(o=null!==(i=n.white)&&void 0!==i?i:this.base.white)&&void 0!==o?o:"D65";for(var f in this.white=_c(p),this.formats=null!==(u=n.formats)&&void 0!==u?u:{},this.formats){var m=this.formats[f];m.type||(m.type="function"),m.name||(m.name=f)}!n.cssId||null!==(s=this.formats.functions)&&void 0!==s&&s.color?null===(l=this.formats)||void 0===l||!l.color||null!==(c=this.formats)&&void 0!==c&&c.color.id||(this.formats.color.id=this.id):(this.formats.color={id:n.cssId},Object.defineProperty(this,"cssId",{value:n.cssId})),this.referred=n.referred,q(t,this,z(e,this,Lc).call(this).reverse()),Rc.run("colorspace-init-end",this)},[{key:"inGamut",value:function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).epsilon,r=void 0===t?75e-6:t;if(this.isPolar)return e=this.toBase(e),this.base.inGamut(e,{epsilon:r});var n=Object.values(this.coords);return e.every(function(e,t){var a=n[t];if("angle"!==a.type&&a.range){if(Number.isNaN(e))return!0;var o=G(a.range,2),i=o[0],u=o[1];return(void 0===i||e>=i-r)&&(void 0===u||e<=u+r)}return!0})}},{key:"cssId",get:function(){var e;return(null===(e=this.formats.functions)||void 0===e||null===(e=e.color)||void 0===e?void 0:e.id)||this.id}},{key:"isPolar",get:function(){for(var e in this.coords)if("angle"===this.coords[e].type)return!0;return!1}},{key:"getFormat",value:function(t){return"object"===l(t)?t=z(e,this,Ic).call(this,t):(r="default"===t?Object.values(this.formats)[0]:this.formats[t])?r=z(e,this,Ic).call(this,r):null;var r}},{key:"to",value:function(e,r){if(1===arguments.length){var n=[e.space,e.coords];e=n[0],r=n[1]}if(this===(e=Pc.get(e)))return r;r=r.map(function(e){return Number.isNaN(e)?0:e});for(var a,o,i=j(t,this),u=j(t,e),s=0;so;l--)r=i[l].toBase(r);for(var c=o+1;c1?r-1:0),a=1;a=0){var u=Object.entries(r.coords)[n];if(u)return U({space:r,id:u[0],index:n},u[1])}r=Pc.get(r);var s=n.toLowerCase(),l=0;for(var c in r.coords){var d,p=r.coords[c];if(c.toLowerCase()===s||(null===(d=p.name)||void 0===d?void 0:d.toLowerCase())===s)return U({space:r,id:c,index:l},p);l++}throw new TypeError('No "'.concat(n,'" coordinate found in ').concat(r.name,". Its coordinates are: ").concat(Object.keys(r.coords).join(", ")))}}]));function Ic(e){if(e.coords&&!e.coordGrammar){e.type||(e.type="function"),e.name||(e.name="color"),e.coordGrammar=Nc(e.coords);var t=Object.entries(this.coords).map(function(t,r){var n=G(t,2),a=(n[0],n[1]),o=e.coordGrammar[r][0],i=a.range||a.refRange,u=o.range,s="";return""==o?(u=[0,100],s="%"):""==o&&(s="deg"),{fromRange:i,toRange:u,suffix:s}});e.serializeCoords=function(e,r){return e.map(function(e,n){var a=t[n],o=a.fromRange,i=a.toRange,u=a.suffix;return o&&i&&(e=kc(o,i,e)),e=wc(e,r),u&&(e+=u),e})}}return e}function Lc(){for(var e=[this],t=this;t=t.base;)e.push(t);return e}var jc=Pc;De(jc,"registry",{}),De(jc,"DEFAULT_FORMAT",{type:"functions",name:"color"});var qc=new jc({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"]}),zc=function(e){function t(e){var r,n,a,o;return K(this,t),e.coords||(e.coords={r:{range:[0,1],name:"Red"},g:{range:[0,1],name:"Green"},b:{range:[0,1],name:"Blue"}}),e.base||(e.base=qc),e.toXYZ_M&&e.fromXYZ_M&&(null!==(a=e.toBase)&&void 0!==a||(e.toBase=function(t){var r=bc(e.toXYZ_M,t);return n.white!==n.base.white&&(r=Mc(n.white,n.base.white,r)),r}),null!==(o=e.fromBase)&&void 0!==o||(e.fromBase=function(t){return t=Mc(n.base.white,n.white,t),bc(e.fromXYZ_M,t)})),null!==(r=e.referred)&&void 0!==r||(e.referred="display"),n=R(this,t,[e])}return _(t,e),Z(t)}(jc);function Vc(e){var t,r={str:null===(t=String(e))||void 0===t?void 0:t.trim()};if(Rc.run("parse-start",r),r.color)return r.color;if(r.parsed=Ec(r.str),r.parsed){var n=r.parsed.name;if("color"===n){var a,o=r.parsed.args.shift(),i=r.parsed.rawArgs.indexOf("/")>0?r.parsed.args.pop():1,u=Q(jc.all);try{var s,l=function(){var e,t=a.value,n=t.getFormat("color");if(n&&(o===n.id||null!==(e=n.ids)&&void 0!==e&&e.includes(o))){var u=Object.keys(t.coords).length,s=Array(u).fill(0);return s.forEach(function(e,t){return s[t]=r.parsed.args[t]||0}),{v:{spaceId:t.id,coords:s,alpha:i}}}};for(u.s();!(a=u.n()).done;)if(s=l())return s.v}catch(e){u.e(e)}finally{u.f()}var c="";if(o in jc.registry){var d,p=null===(d=jc.registry[o].formats)||void 0===d||null===(d=d.functions)||void 0===d||null===(d=d.color)||void 0===d?void 0:d.id;p&&(c="Did you mean color(".concat(p,")?"))}throw new TypeError("Cannot parse color(".concat(o,"). ")+(c||"Missing a plugin?"))}var f,m=Q(jc.all);try{var D,h=function(){var e=f.value,t=e.getFormat(n);if(t&&"function"===t.type){var a=1;(t.lastAlpha||Cc(r.parsed.args).alpha)&&(a=r.parsed.args.pop());var o=r.parsed.args;return t.coordGrammar&&Object.entries(e.coords).forEach(function(e,r){var a,i=G(e,2),u=i[0],s=i[1],l=t.coordGrammar[r],c=null===(a=o[r])||void 0===a?void 0:a.type;if(!(l=l.find(function(e){return e==c}))){var d=s.name||u;throw new TypeError("".concat(c," not allowed for ").concat(d," in ").concat(n,"()"))}var p=l.range;""===c&&(p||(p=[0,1]));var f=s.range||s.refRange;p&&f&&(o[r]=kc(p,f,o[r]))}),{v:{spaceId:e.id,coords:o,alpha:a}}}};for(m.s();!(f=m.n()).done;)if(D=h())return D.v}catch(e){m.e(e)}finally{m.f()}}else{var g,v=Q(jc.all);try{for(v.s();!(g=v.n()).done;){var b=g.value;for(var y in b.formats){var F=b.formats[y];if("custom"===F.type&&(!F.test||F.test(r.str))){var w,E=F.parse(r.str);if(E)return null!==(w=E.alpha)&&void 0!==w||(E.alpha=1),E}}}}catch(e){v.e(e)}finally{v.f()}}throw new TypeError("Could not parse ".concat(e," as a color. Missing a plugin?"))}function $c(e){if(!e)throw new TypeError("Empty color reference");yc(e)&&(e=Vc(e));var t=e.space||e.spaceId;return t instanceof jc||(e.space=jc.get(t)),void 0===e.alpha&&(e.alpha=1),e}function Hc(e,t){return(t=jc.get(t)).from(e)}function Uc(e,t){var r=jc.resolveCoord(t,e.space),n=r.space,a=r.index;return Hc(e,n)[a]}function Gc(e,t,r){return t=jc.get(t),e.coords=t.to(e.space,r),e}function Wc(e,t,r){if(e=$c(e),2===arguments.length&&"object"===Fc(arguments[1])){var n=arguments[1];for(var a in n)Wc(e,a,n[a])}else{"function"==typeof r&&(r=r(Uc(e,t)));var o=jc.resolveCoord(t,e.space),i=o.space,u=o.index,s=Hc(e,i);s[u]=r,Gc(e,i,s)}return e}var Yc=new jc({id:"xyz-d50",name:"XYZ D50",white:"D50",base:qc,fromBase:function(e){return Mc(qc.white,"D50",e)},toBase:function(e){return Mc("D50",qc.white,e)},formats:{color:{}}}),Kc=216/24389,Xc=24/116,Zc=24389/27,Jc=Oc.D50,Qc=new jc({id:"lab",name:"Lab",coords:{l:{refRange:[0,100],name:"L"},a:{refRange:[-125,125]},b:{refRange:[-125,125]}},white:Jc,base:Yc,fromBase:function(e){var t=e.map(function(e,t){return e/Jc[t]}),r=t.map(function(e){return e>Kc?Math.cbrt(e):(Zc*e+16)/116});return[116*r[1]-16,500*(r[0]-r[1]),200*(r[1]-r[2])]},toBase:function(e){var t=[];return t[1]=(e[0]+16)/116,t[0]=e[1]/500+t[1],t[2]=t[1]-e[2]/200,[t[0]>Xc?Math.pow(t[0],3):(116*t[0]-16)/Zc,e[0]>8?Math.pow((e[0]+16)/116,3):e[0]/Zc,t[2]>Xc?Math.pow(t[2],3):(116*t[2]-16)/Zc].map(function(e,t){return e*Jc[t]})},formats:{lab:{coords:[" | ","",""]}}});function ed(e){return(e%360+360)%360}var td=new jc({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:Qc,fromBase:function(e){var t,r=G(e,3),n=r[0],a=r[1],o=r[2];return t=Math.abs(a)<.02&&Math.abs(o)<.02?NaN:180*Math.atan2(o,a)/Math.PI,[n,Math.sqrt(Math.pow(a,2)+Math.pow(o,2)),ed(t)]},toBase:function(e){var t=G(e,3),r=t[0],n=t[1],a=t[2];return n<0&&(n=0),isNaN(a)&&(a=0),[r,n*Math.cos(a*Math.PI/180),n*Math.sin(a*Math.PI/180)]},formats:{lch:{coords:[" | ",""," | "]}}}),rd=Math.pow(25,7),nd=Math.PI,ad=180/nd,od=nd/180;function id(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=r.kL,a=void 0===n?1:n,o=r.kC,i=void 0===o?1:o,u=r.kH,s=void 0===u?1:u,l=G(Qc.from(e),3),c=l[0],d=l[1],p=l[2],f=td.from(Qc,[c,d,p])[1],m=G(Qc.from(t),3),D=m[0],h=m[1],g=m[2],v=td.from(Qc,[D,h,g])[1];f<0&&(f=0),v<0&&(v=0);var b=(f+v)/2,y=Math.pow(b,7),F=.5*(1-Math.sqrt(y/(y+rd))),w=(1+F)*d,E=(1+F)*h,C=Math.sqrt(Math.pow(w,2)+Math.pow(p,2)),x=Math.sqrt(Math.pow(E,2)+Math.pow(g,2)),A=0===w&&0===p?0:Math.atan2(p,w),k=0===E&&0===g?0:Math.atan2(g,E);A<0&&(A+=2*nd),k<0&&(k+=2*nd);var N,B=D-c,T=x-C,R=(k*=ad)-(A*=ad),S=A+k,O=Math.abs(R);C*x===0?N=0:O<=180?N=R:R>180?N=R-360:R<-180?N=R+360:console.log("the unthinkable has happened");var _,M=2*Math.sqrt(x*C)*Math.sin(N*od/2),P=(c+D)/2,I=(C+x)/2,L=Math.pow(I,7);_=C*x===0?S:O<=180?S/2:S<360?(S+360)/2:(S-360)/2;var j=Math.pow(P-50,2),q=1+.015*j/Math.sqrt(20+j),z=1+.045*I,V=1;V-=.17*Math.cos((_-30)*od),V+=.24*Math.cos(2*_*od),V+=.32*Math.cos((3*_+6)*od);var $=1+.015*I*(V-=.2*Math.cos((4*_-63)*od)),H=30*Math.exp(-1*Math.pow((_-275)/25,2)),U=2*Math.sqrt(L/(L+rd)),W=-1*Math.sin(2*H*od)*U,Y=Math.pow(B/(a*q),2);return Y+=Math.pow(T/(i*z),2),Y+=Math.pow(M/(s*$),2),Y+=W*(T/(i*z))*(M/(s*$)),Math.sqrt(Y)}function ud(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.space,r=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).epsilon,n=void 0===r?75e-6:r;e=$c(e),t=jc.get(t);var a=e.coords;return t!==e.space&&(a=t.from(e)),t.inGamut(a,{epsilon:n})}function sd(e){return{space:e.space,coords:e.coords.slice(),alpha:e.alpha}}function ld(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.method,n=void 0===r?Sc.gamut_mapping:r,a=t.space,o=void 0===a?e.space:a;if(yc(arguments[1])&&(o=arguments[1]),ud(e,o=jc.get(o),{epsilon:0}))return e;var i=cd(e,o);if("clip"!==n&&!ud(e,o)){var u=ld(sd(i),{method:"clip",space:o});if(id(e,u)>2){for(var s=jc.resolveCoord(n),l=s.space,c=s.id,d=cd(i,l),p=(s.range||s.refRange)[0],f=Uc(d,c);f-p>.01;){var m=sd(d);id(d,m=ld(m,{space:o,method:"clip"}))-2<.01?p=Uc(d,c):f=Uc(d,c),Wc(d,c,(p+f)/2)}i=cd(d,o)}else i=u}if("clip"===n||!ud(i,o,{epsilon:0})){var D=Object.values(o.coords).map(function(e){return e.range||[]});i.coords=i.coords.map(function(e,t){var r=G(D[t],2),n=r[0],a=r[1];return void 0!==n&&(e=Math.max(n,e)),void 0!==a&&(e=Math.min(e,a)),e})}return o!==e.space&&(i=cd(i,e.space)),e.coords=i.coords,e}function cd(e,t){var r=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).inGamut;e=$c(e);var n=(t=jc.get(t)).from(e),a={space:t,coords:n,alpha:e.alpha};return r&&(a=ld(a)),a}function dd(e){var t,r,n,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=a.precision,i=void 0===o?Sc.precision:o,u=a.format,s=void 0===u?"default":u,l=a.inGamut,c=void 0===l||l,d=V(a,y),p=s;s=null!==(t=null!==(r=(e=$c(e)).space.getFormat(s))&&void 0!==r?r:e.space.getFormat("default"))&&void 0!==t?t:jc.DEFAULT_FORMAT,c||(c=s.toGamut);var f=e.coords;if(f=f.map(function(e){return e||0}),c&&!ud(e)&&(f=ld(sd(e),!0===c?void 0:c).coords),"custom"===s.type){if(d.precision=i,!s.serialize)throw new TypeError("format ".concat(p," can only be used to parse colors, not for serialization"));n=s.serialize(f,e.alpha,d)}else{var m=s.name||"color";s.serializeCoords?f=s.serializeCoords(f,i):null!==i&&(f=f.map(function(e){return wc(e,i)}));var D=$(f);if("color"===m){var h,g=s.id||(null===(h=s.ids)||void 0===h?void 0:h[0])||e.space.id;D.unshift(g)}var v=e.alpha;null!==i&&(v=wc(v,i));var b=e.alpha<1&&!s.noAlpha?"".concat(s.commas?",":" /"," ").concat(v):"";n="".concat(m,"(").concat(D.join(s.commas?", ":" ")).concat(b,")")}return n}ld.returns="color",cd.returns="color";var pd=new zc({id:"rec2020-linear",name:"Linear REC.2020",white:"D65",toXYZ_M:[[.6369580483012914,.14461690358620832,.1688809751641721],[.2627002120112671,.6779980715188708,.05930171646986196],[0,.028072693049087428,1.060985057710791]],fromXYZ_M:[[1.716651187971268,-.355670783776392,-.25336628137366],[-.666684351832489,1.616481236634939,.0157685458139111],[.017639857445311,-.042770613257809,.942103121235474]],formats:{color:{}}}),fd=1.09929682680944,md=.018053968510807,Dd=new zc({id:"rec2020",name:"REC.2020",base:pd,toBase:function(e){return e.map(function(e){return e<4.5*md?e/4.5:Math.pow((e+fd-1)/fd,1/.45)})},fromBase:function(e){return e.map(function(e){return e>=md?fd*Math.pow(e,.45)-(fd-1):4.5*e})},formats:{color:{}}}),hd=new zc({id:"p3-linear",name:"Linear P3",white:"D65",toXYZ_M:[[.4865709486482162,.26566769316909306,.1982172852343625],[.2289745640697488,.6917385218365064,.079286914093745],[0,.04511338185890264,1.043944368900976]],fromXYZ_M:[[2.493496911941425,-.9313836179191239,-.40271078445071684],[-.8294889695615747,1.7626640603183463,.023624685841943577],[.03584583024378447,-.07617238926804182,.9568845240076872]]}),gd=new zc({id:"srgb-linear",name:"Linear sRGB",white:"D65",toXYZ_M:[[.41239079926595934,.357584339383878,.1804807884018343],[.21263900587151027,.715168678767756,.07219231536073371],[.01933081871559182,.11919477979462598,.9505321522496607]],fromXYZ_M:[[3.2409699419045226,-1.537383177570094,-.4986107602930034],[-.9692436362808796,1.8759675015077202,.04155505740717559],[.05563007969699366,-.20397695888897652,1.0569715142428786]],formats:{color:{}}}),vd={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:[.6,50/255,.8],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,.6],lightslategrey:[119/255,136/255,.6],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:[.4,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,.8],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:[.4,.2,.6],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]},bd=Array(3).fill(" | [0, 255]"),yd=Array(3).fill("[0, 255]"),Fd=new zc({id:"srgb",name:"sRGB",base:gd,fromBase:function(e){return e.map(function(e){var t=e<0?-1:1,r=e*t;return r>.0031308?t*(1.055*Math.pow(r,1/2.4)-.055):12.92*e})},toBase:function(e){return e.map(function(e){var t=e<0?-1:1,r=e*t;return r<.04045?e/12.92:t*Math.pow((r+.055)/1.055,2.4)})},formats:{rgb:{coords:bd},rgb_number:{name:"rgb",commas:!0,coords:yd,noAlpha:!0},color:{},rgba:{coords:bd,commas:!0,lastAlpha:!0},rgba_number:{name:"rgba",commas:!0,coords:yd},hex:{type:"custom",toGamut:!0,test:function(e){return/^#([a-f0-9]{3,4}){1,2}$/i.test(e)},parse:function(e){e.length<=5&&(e=e.replace(/[a-f0-9]/gi,"$&$&"));var t=[];return e.replace(/[a-f0-9]{2}/gi,function(e){t.push(parseInt(e,16)/255)}),{spaceId:"srgb",coords:t.slice(0,3),alpha:t.slice(3)[0]}},serialize:function(e,t){var r=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).collapse,n=void 0===r||r;t<1&&e.push(t),e=e.map(function(e){return Math.round(255*e)});var a=n&&e.every(function(e){return e%17==0});return"#"+e.map(function(e){return a?(e/17).toString(16):e.toString(16).padStart(2,"0")}).join("")}},keyword:{type:"custom",test:function(e){return/^[a-z]+$/i.test(e)},parse:function(e){var t={spaceId:"srgb",coords:null,alpha:1};if("transparent"===(e=e.toLowerCase())?(t.coords=vd.black,t.alpha=0):t.coords=vd[e],t.coords)return t}}}}),wd=new zc({id:"p3",name:"P3",base:hd,fromBase:Fd.fromBase,toBase:Fd.toBase,formats:{color:{id:"display-p3"}}});if(Sc.display_space=Fd,"undefined"!=typeof CSS&&null!==(o=CSS)&&void 0!==o&&o.supports)for(var Ed=0,Cd=[Qc,Dd,wd];Ed1&&void 0!==arguments[1]?arguments[1]:{},n=r.space,a=void 0===n?Sc.display_space:n,o=V(r,F),i=dd(e,o);if("undefined"==typeof CSS||null!==(t=CSS)&&void 0!==t&&t.supports("color",i)||!Sc.display_space)(i=new String(i)).color=e;else{var u=cd(e,a);(i=new String(dd(u,o))).color=u}return i}function Bd(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"lab",n=(r=jc.get(r)).from(e),a=r.from(t);return Math.sqrt(n.reduce(function(e,t,r){var n=a[r];return isNaN(t)||isNaN(n)?e:e+Math.pow(n-t,2)},0))}function Td(e){return Uc(e,[qc,"y"])}function Rd(e,t){Wc(e,[qc,"y"],t)}var Sd=Object.freeze({__proto__:null,getLuminance:Td,setLuminance:Rd,register:function(e){Object.defineProperty(e.prototype,"luminance",{get:function(){return Td(this)},set:function(e){Rd(this,e)}})}});function Od(e){return e>=.022?e:e+Math.pow(.022-e,1.414)}function _d(e){var t=e<0?-1:1,r=Math.abs(e);return t*Math.pow(r,2.4)}var Md=216/24389,Pd=24/116,Id=24389/27,Ld=Oc.D65,jd=new jc({id:"lab-d65",name:"Lab D65",coords:{l:{refRange:[0,100],name:"L"},a:{refRange:[-125,125]},b:{refRange:[-125,125]}},white:Ld,base:qc,fromBase:function(e){var t=e.map(function(e,t){return e/Ld[t]}),r=t.map(function(e){return e>Md?Math.cbrt(e):(Id*e+16)/116});return[116*r[1]-16,500*(r[0]-r[1]),200*(r[1]-r[2])]},toBase:function(e){var t=[];return t[1]=(e[0]+16)/116,t[0]=e[1]/500+t[1],t[2]=t[1]-e[2]/200,[t[0]>Pd?Math.pow(t[0],3):(116*t[0]-16)/Id,e[0]>8?Math.pow((e[0]+16)/116,3):e[0]/Id,t[2]>Pd?Math.pow(t[2],3):(116*t[2]-16)/Id].map(function(e,t){return e*Ld[t]})},formats:{"lab-d65":{coords:[" | ","",""]}}}),qd=.5*Math.pow(5,.5)+.5,zd=Object.freeze({__proto__:null,contrastWCAG21:function(e,t){e=$c(e),t=$c(t);var r=Math.max(Td(e),0),n=Math.max(Td(t),0);if(n>r){var a=[n,r];r=a[0],n=a[1]}return(r+.05)/(n+.05)},contrastAPCA:function(e,t){var r,n,a,o;t=$c(t),e=$c(e);var i=G((t=cd(t,"srgb")).coords,3);n=i[0],a=i[1],o=i[2];var u=.2126729*_d(n)+.7151522*_d(a)+.072175*_d(o),s=G((e=cd(e,"srgb")).coords,3);n=s[0],a=s[1],o=s[2];var l=.2126729*_d(n)+.7151522*_d(a)+.072175*_d(o),c=Od(u),d=Od(l),p=d>c;return r=Math.abs(d-c)<5e-4?0:p?1.14*(Math.pow(d,.56)-Math.pow(c,.57)):1.14*(Math.pow(d,.65)-Math.pow(c,.62)),100*(Math.abs(r)<.1?0:r>0?r-.027:r+.027)},contrastMichelson:function(e,t){e=$c(e),t=$c(t);var r=Math.max(Td(e),0),n=Math.max(Td(t),0);if(n>r){var a=[n,r];r=a[0],n=a[1]}var o=r+n;return 0===o?0:(r-n)/o},contrastWeber:function(e,t){e=$c(e),t=$c(t);var r=Math.max(Td(e),0),n=Math.max(Td(t),0);if(n>r){var a=[n,r];r=a[0],n=a[1]}return 0===n?5e4:(r-n)/n},contrastLstar:function(e,t){e=$c(e),t=$c(t);var r=Uc(e,[Qc,"l"]),n=Uc(t,[Qc,"l"]);return Math.abs(r-n)},contrastDeltaPhi:function(e,t){e=$c(e),t=$c(t);var r=Uc(e,[jd,"l"]),n=Uc(t,[jd,"l"]),a=Math.abs(Math.pow(r,qd)-Math.pow(n,qd)),o=Math.pow(a,1/qd)*Math.SQRT2-40;return o<7.5?0:o}});function Vd(e){var t=G(Hc(e,qc),3),r=t[0],n=t[1],a=r+15*n+3*t[2];return[4*r/a,9*n/a]}function $d(e){var t=G(Hc(e,qc),3),r=t[0],n=t[1],a=r+n+t[2];return[r/a,n/a]}var Hd=Object.freeze({__proto__:null,uv:Vd,xy:$d,register:function(e){Object.defineProperty(e.prototype,"uv",{get:function(){return Vd(this)}}),Object.defineProperty(e.prototype,"xy",{get:function(){return $d(this)}})}}),Ud=Math.PI/180,Gd=new jc({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:qc,fromBase:function(e){return e.map(function(e){return Math.max(203*e,0)})},toBase:function(e){return e.map(function(e){return Math.max(e/203,0)})}}),Wd=1.15,Yd=.66,Kd=2610/Math.pow(2,14),Xd=Math.pow(2,14)/2610,Zd=3424/Math.pow(2,12),Jd=2413/Math.pow(2,7),Qd=2392/Math.pow(2,7),ep=1.7*2523/Math.pow(2,5),tp=Math.pow(2,5)/(1.7*2523),rp=-.56,np=16295499532821565e-27,ap=[[.41478972,.579999,.014648],[-.20151,1.120649,.0531008],[-.0166008,.2648,.6684799]],op=[[1.9242264357876067,-1.0047923125953657,.037651404030618],[.35031676209499907,.7264811939316552,-.06538442294808501],[-.09098281098284752,-.3127282905230739,1.5227665613052603]],ip=[[.5,.5,0],[3.524,-4.066708,.542708],[.199076,1.096799,-1.295875]],up=[[1,.1386050432715393,.05804731615611886],[.9999999999999999,-.1386050432715393,-.05804731615611886],[.9999999999999998,-.09601924202631895,-.8118918960560388]],sp=new jc({id:"jzazbz",name:"Jzazbz",coords:{jz:{refRange:[0,1],name:"Jz"},az:{refRange:[-.5,.5]},bz:{refRange:[-.5,.5]}},base:Gd,fromBase:function(e){var t=G(e,3),r=t[0],n=t[1],a=t[2],o=bc(ap,[Wd*r-(Wd-1)*a,Yd*n-(Yd-1)*r,a]).map(function(e){var t=Zd+Jd*Math.pow(e/1e4,Kd),r=1+Qd*Math.pow(e/1e4,Kd);return Math.pow(t/r,ep)}),i=G(bc(ip,o),3),u=i[0],s=i[1],l=i[2];return[(1+rp)*u/(1+rp*u)-np,s,l]},toBase:function(e){var t=G(e,3),r=t[0],n=t[1],a=t[2],o=bc(up,[(r+np)/(1+rp-rp*(r+np)),n,a]).map(function(e){var t=Zd-Math.pow(e,tp),r=Qd*Math.pow(e,tp)-Jd;return 1e4*Math.pow(t/r,Xd)}),i=G(bc(op,o),3),u=i[0],s=i[1],l=i[2],c=(u+(Wd-1)*l)/Wd;return[c,(s+(Yd-1)*c)/Yd,l]},formats:{color:{}}}),lp=new jc({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:sp,fromBase:function(e){var t,r=G(e,3),n=r[0],a=r[1],o=r[2],i=2e-4;return t=Math.abs(a) | ","",""]}}}),Ap=Object.freeze({__proto__:null,deltaE76:function(e,t){return Bd(e,t,"lab")},deltaECMC:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=r.l,a=void 0===n?2:n,o=r.c,i=void 0===o?1:o,u=G(Qc.from(e),3),s=u[0],l=u[1],c=u[2],d=G(td.from(Qc,[s,l,c]),3),p=d[1],f=d[2],m=G(Qc.from(t),3),D=m[0],h=m[1],g=m[2],v=td.from(Qc,[D,h,g])[1];p<0&&(p=0),v<0&&(v=0);var b=s-D,y=p-v,F=l-h,w=c-g,E=Math.pow(F,2)+Math.pow(w,2)-Math.pow(y,2),C=.511;s>=16&&(C=.040975*s/(1+.01765*s));var x,A=.0638*p/(1+.0131*p)+.638;Number.isNaN(f)&&(f=0),x=f>=164&&f<=345?.56+Math.abs(.2*Math.cos((f+168)*Ud)):.36+Math.abs(.4*Math.cos((f+35)*Ud));var k=Math.pow(p,4),N=Math.sqrt(k/(k+1900)),B=A*(N*x+1-N),T=Math.pow(b/(a*C),2);return T+=Math.pow(y/(i*A),2),T+=E/Math.pow(B,2),Math.sqrt(T)},deltaE2000:id,deltaEJz:function(e,t){var r=G(lp.from(e),3),n=r[0],a=r[1],o=r[2],i=G(lp.from(t),3),u=i[0],s=i[1],l=i[2],c=n-u,d=a-s;Number.isNaN(o)&&Number.isNaN(l)?(o=0,l=0):Number.isNaN(o)?o=l:Number.isNaN(l)&&(l=o);var p=o-l,f=2*Math.sqrt(a*s)*Math.sin(p/2*(Math.PI/180));return Math.sqrt(Math.pow(c,2)+Math.pow(d,2)+Math.pow(f,2))},deltaEITP:function(e,t){var r=G(yp.from(e),3),n=r[0],a=r[1],o=r[2],i=G(yp.from(t),3),u=i[0],s=i[1],l=i[2];return 720*Math.sqrt(Math.pow(n-u,2)+.25*Math.pow(a-s,2)+Math.pow(o-l,2))},deltaEOK:function(e,t){var r=G(xp.from(e),3),n=r[0],a=r[1],o=r[2],i=G(xp.from(t),3),u=n-i[0],s=a-i[1],l=o-i[2];return Math.sqrt(Math.pow(u,2)+Math.pow(s,2)+Math.pow(l,2))}});function kp(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};yc(r)&&(r={method:r});var n=r,a=n.method,o=void 0===a?Sc.deltaE:a,i=V(n,E);for(var u in e=$c(e),t=$c(t),Ap)if("deltae"+o.toLowerCase()===u.toLowerCase())return Ap[u](e,t,i);throw new TypeError("Unknown deltaE method: ".concat(o))}var Np=Object.freeze({__proto__:null,lighten:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.25;return Wc(e,[jc.get("oklch","lch"),"l"],function(e){return e*(1+t)})},darken:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.25;return Wc(e,[jc.get("oklch","lch"),"l"],function(e){return e*(1-t)})}});function Bp(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:.5,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=[$c(e),$c(t)];if(e=a[0],t=a[1],"object"===Fc(r)){var o=[.5,r];r=o[0],n=o[1]}var i=n;return Rp(e,t,{space:i.space,outputSpace:i.outputSpace,premultiplied:i.premultiplied})(r)}function Tp(e,t){var r,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(Sp(e)){n=t;var a=G((r=e).rangeArgs.colors,2);e=a[0],t=a[1]}var o=n,i=o.maxDeltaE,u=o.deltaEMethod,s=o.steps,l=void 0===s?2:s,c=o.maxSteps,d=void 0===c?1e3:c,p=V(o,C);if(!r){var f=[$c(e),$c(t)];r=Rp(e=f[0],t=f[1],p)}var m=kp(e,t),D=i>0?Math.max(l,Math.ceil(m/i)+1):l,h=[];if(void 0!==d&&(D=Math.min(D,d)),1===D)h=[{p:.5,color:r(.5)}];else{var g=1/(D-1);h=Array.from({length:D},function(e,t){var n=t*g;return{p:n,color:r(n)}})}if(i>0)for(var v=h.reduce(function(e,t,r){if(0===r)return 0;var n=kp(t.color,h[r-1].color,u);return Math.max(e,n)},0);v>i;){v=0;for(var b=1;b2&&void 0!==arguments[2]?arguments[2]:{};if(Sp(e)){var n=e,a=t;return Rp.apply(void 0,$(n.rangeArgs.colors).concat([U({},n.rangeArgs.options,a)]))}var o=r.space,i=r.outputSpace,u=r.progression,s=r.premultiplied;e=$c(e),t=$c(t),e=sd(e),t=sd(t);var l={colors:[e,t],options:r};if(o=o?jc.get(o):jc.registry[Sc.interpolationSpace]||e.space,i=i?jc.get(i):o,e=cd(e,o),t=cd(t,o),e=ld(e),t=ld(t),o.coords.h&&"angle"===o.coords.h.type){var c=r.hue=r.hue||"shorter",d=[o,"h"],p=[Uc(e,d),Uc(t,d)],f=p[0],m=p[1],D=function(e,t){if("raw"===e)return t;var r=G(t.map(ed),2),n=r[0],a=r[1],o=a-n;return"increasing"===e?o<0&&(a+=360):"decreasing"===e?o>0&&(n+=360):"longer"===e?-1800?a+=360:n+=360):"shorter"===e&&(o>180?n+=360:o<-180&&(a+=360)),[n,a]}(c,[f,m]),h=G(D,2);f=h[0],m=h[1],Wc(e,d,f),Wc(t,d,m)}return s&&(e.coords=e.coords.map(function(t){return t*e.alpha}),t.coords=t.coords.map(function(e){return e*t.alpha})),Object.assign(function(r){r=u?u(r):r;var n=e.coords.map(function(e,n){return xc(e,t.coords[n],r)}),a=xc(e.alpha,t.alpha,r),l={space:o,coords:n,alpha:a};return s&&(l.coords=l.coords.map(function(e){return e/a})),i!==o&&(l=cd(l,i)),l},{rangeArgs:l})}function Sp(e){return"function"===Fc(e)&&!!e.rangeArgs}Sc.interpolationSpace="lab";var Op=Object.freeze({__proto__:null,mix:Bp,steps:Tp,range:Rp,isRange:Sp,register:function(e){e.defineFunction("mix",Bp,{returns:"color"}),e.defineFunction("range",Rp,{returns:"function"}),e.defineFunction("steps",Tp,{returns:"array"})}}),_p=new jc({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:Fd,fromBase:function(e){var t=Math.max.apply(Math,$(e)),r=Math.min.apply(Math,$(e)),n=G(e,3),a=n[0],o=n[1],i=n[2],u=NaN,s=0,l=(r+t)/2,c=t-r;if(0!==c){switch(s=0===l||1===l?0:(t-l)/Math.min(l,1-l),t){case a:u=(o-i)/c+(o | ","",""]},hsla:{coords:[" | ","",""],commas:!0,lastAlpha:!0}}}),Mp=new jc({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:_p,fromBase:function(e){var t=G(e,3),r=t[0],n=t[1],a=t[2],o=(a/=100)+(n/=100)*Math.min(a,1-a);return[r,0===o?0:200*(1-a/o),100*o]},toBase:function(e){var t=G(e,3),r=t[0],n=t[1],a=t[2],o=(a/=100)*(1-(n/=100)/2);return[r,0===o||1===o?0:(a-o)/Math.min(o,1-o)*100,100*o]},formats:{color:{toGamut:!0}}}),Pp=new jc({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:Mp,fromBase:function(e){var t=G(e,3),r=t[0],n=t[1],a=t[2];return[r,a*(100-n)/100,100-a]},toBase:function(e){var t=G(e,3),r=t[0],n=t[1],a=t[2],o=(n/=100)+(a/=100);if(o>=1)return[r,0,n/o*100];var i=1-a;return[r,100*(0===i?0:1-n/i),100*i]},formats:{hwb:{toGamut:!0,coords:[" | ","",""]}}}),Ip=new zc({id:"a98rgb-linear",name:"Linear Adobe® 98 RGB compatible",white:"D65",toXYZ_M:[[.5766690429101305,.1855582379065463,.1882286462349947],[.29734497525053605,.6273635662554661,.07529145849399788],[.02703136138641234,.07068885253582723,.9913375368376388]],fromXYZ_M:[[2.0415879038107465,-.5650069742788596,-.34473135077832956],[-.9692436362808795,1.8759675015077202,.04155505740717557],[.013444280632031142,-.11836239223101838,1.0151749943912054]]}),Lp=new zc({id:"a98rgb",name:"Adobe® 98 RGB compatible",base:Ip,toBase:function(e){return e.map(function(e){return Math.pow(Math.abs(e),563/256)*Math.sign(e)})},fromBase:function(e){return e.map(function(e){return Math.pow(Math.abs(e),256/563)*Math.sign(e)})},formats:{color:{id:"a98-rgb"}}}),jp=new zc({id:"prophoto-linear",name:"Linear ProPhoto",white:"D50",base:Yc,toXYZ_M:[[.7977604896723027,.13518583717574031,.0313493495815248],[.2880711282292934,.7118432178101014,8565396060525902e-20],[0,0,.8251046025104601]],fromXYZ_M:[[1.3457989731028281,-.25558010007997534,-.05110628506753401],[-.5446224939028347,1.5082327413132781,.02053603239147973],[0,0,1.2119675456389454]]}),qp=1/512,zp=new zc({id:"prophoto",name:"ProPhoto",base:jp,toBase:function(e){return e.map(function(e){return e<.03125?e/16:Math.pow(e,1.8)})},fromBase:function(e){return e.map(function(e){return e>=qp?Math.pow(e,1/1.8):16*e})},formats:{color:{id:"prophoto-rgb"}}}),Vp=new jc({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:xp,fromBase:function(e){var t,r=G(e,3),n=r[0],a=r[1],o=r[2],i=2e-4;return t=Math.abs(a) | ",""," | "]}}}),$p=2610/Math.pow(2,14),Hp=Math.pow(2,14)/2610,Up=2523/Math.pow(2,5),Gp=Math.pow(2,5)/2523,Wp=3424/Math.pow(2,12),Yp=2413/Math.pow(2,7),Kp=2392/Math.pow(2,7),Xp=new zc({id:"rec2100pq",name:"REC.2100-PQ",base:pd,toBase:function(e){return e.map(function(e){return 1e4*Math.pow(Math.max(Math.pow(e,Gp)-Wp,0)/(Yp-Kp*Math.pow(e,Gp)),Hp)/203})},fromBase:function(e){return e.map(function(e){var t=Math.max(203*e/1e4,0),r=Wp+Yp*Math.pow(t,$p),n=1+Kp*Math.pow(t,$p);return Math.pow(r/n,Up)})},formats:{color:{id:"rec2100-pq"}}}),Zp=.17883277,Jp=.28466892,Qp=.55991073,ef=3.7743,tf=new zc({id:"rec2100hlg",cssid:"rec2100-hlg",name:"REC.2100-HLG",referred:"scene",base:pd,toBase:function(e){return e.map(function(e){return e<=.5?Math.pow(e,2)/3*ef:Math.exp((e-Qp)/Zp+Jp)/12*ef})},fromBase:function(e){return e.map(function(e){return(e/=ef)<=1/12?Math.sqrt(3*e):Zp*Math.log(12*e-Jp)+Qp})},formats:{color:{id:"rec2100-hlg"}}}),rf={};function nf(e){var t=e.id;e.toCone_M,e.fromCone_M,rf[t]=arguments[0]}function af(e,t){var r=rf[arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Bradford"],n=G(bc(r.toCone_M,e),3),a=n[0],o=n[1],i=n[2],u=G(bc(r.toCone_M,t),3),s=bc([[u[0]/a,0,0],[0,u[1]/o,0],[0,0,u[2]/i]],r.toCone_M);return bc(r.fromCone_M,s)}Rc.add("chromatic-adaptation-start",function(e){e.options.method&&(e.M=af(e.W1,e.W2,e.options.method))}),Rc.add("chromatic-adaptation-end",function(e){e.M||(e.M=af(e.W1,e.W2,e.options.method))}),nf({id:"von Kries",toCone_M:[[.40024,.7076,-.08081],[-.2263,1.16532,.0457],[0,0,.91822]],fromCone_M:[[1.8599364,-1.1293816,.2198974],[.3611914,.6388125,-64e-7],[0,0,1.0890636]]}),nf({id:"Bradford",toCone_M:[[.8951,.2664,-.1614],[-.7502,1.7135,.0367],[.0389,-.0685,1.0296]],fromCone_M:[[.9869929,-.1470543,.1599627],[.4323053,.5183603,.0492912],[-.0085287,.0400428,.9684867]]}),nf({id:"CAT02",toCone_M:[[.7328,.4296,-.1624],[-.7036,1.6975,.0061],[.003,.0136,.9834]],fromCone_M:[[1.0961238,-.278869,.1827452],[.454369,.4735332,.0720978],[-.0096276,-.005698,1.0153256]]}),nf({id:"CAT16",toCone_M:[[.401288,.650173,-.051461],[-.250268,1.204414,.045854],[-.002079,.048952,.953127]],fromCone_M:[[1.862067855087233,-1.011254630531685,.1491867754444518],[.3875265432361372,.6214474419314753,-.008973985167612518],[-.01584149884933386,-.03412293802851557,1.04996443687785]]}),Object.assign(Oc,{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]}),Oc.ACES=[.32168/.33767,1,.34065/.33767];var of=new zc({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:Oc.ACES,toXYZ_M:[[.6624541811085053,.13400420645643313,.1561876870049078],[.27222871678091454,.6740817658111484,.05368951740793705],[-.005574649490394108,.004060733528982826,1.0103391003129971]],fromXYZ_M:[[1.6410233796943257,-.32480329418479,-.23642469523761225],[-.6636628587229829,1.6153315916573379,.016756347685530137],[.011721894328375376,-.008284441996237409,.9883948585390215]],formats:{color:{}}}),uf=Math.pow(2,-16),sf=-.35828683,lf=(Math.log2(65504)+9.72)/17.52,cf=new zc({id:"acescc",name:"ACEScc",coords:{r:{range:[sf,lf],name:"Red"},g:{range:[sf,lf],name:"Green"},b:{range:[sf,lf],name:"Blue"}},referred:"scene",base:of,toBase:function(e){return e.map(function(e){return e<=-.3013698630136986?2*(Math.pow(2,17.52*e-9.72)-uf):e1?t-1:0),n=1;n2&&void 0!==arguments[2]?arguments[2]:t,n=r.instance,a=void 0===n||n,o=r.returns,i=function(){var e=t.apply(void 0,arguments);if("color"===o)e=pf.get(e);else if("function"===o){var r=e;e=function(){var e=r.apply(void 0,arguments);return pf.get(e)},Object.assign(e,r)}else"array"===o&&(e=e.map(function(e){return pf.get(e)}));return e};e in pf||(pf[e]=i),a&&(pf.prototype[e]=function(){for(var e=arguments.length,t=new Array(e),r=0;r=0)return e[a]}return Reflect.get(e,r,n)},set:function(n,a,o,i){if(a&&"symbol"!==l(a)&&!(a in n)||a>=0){var u=jc.resolveCoord([t,a]).index;if(u>=0)return n[u]=o,r.setAll(e,n),!0}return Reflect.set(n,a,o,i)}})},set:function(t){this.setAll(e,t)},configurable:!0,enumerable:!0})}Rc.add("colorspace-init-end",function(e){var t;gf(e.id,e),null===(t=e.aliases)||void 0===t||t.forEach(function(t){gf(t,e)})}),pf.extend(Ap),pf.extend({deltaE:kp}),pf.extend(Np),pf.extend({contrast:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};yc(r)&&(r={algorithm:r});var n=r,a=n.algorithm,o=V(n,w);if(!a){var i=Object.keys(zd).map(function(e){return e.replace(/^contrast/,"")}).join(", ");throw new TypeError("contrast() function needs a contrast algorithm. Please specify one of: ".concat(i))}for(var u in e=$c(e),t=$c(t),zd)if("contrast"+a.toLowerCase()===u.toLowerCase())return zd[u](e,t,o);throw new TypeError("Unknown contrast algorithm: ".concat(a))}}),pf.extend(Hd),pf.extend(Sd),pf.extend(Op),pf.extend(zd);var vf=me(Qn());gc.default.templateSettings.strip=!1;var bf=/^#[0-9a-f]{3,8}$/i,yf=/hsl\(\s*([-\d.]+)(rad|turn)/,Ff=(L=new WeakMap,X=new WeakMap,te=new WeakMap,re=new WeakMap,ne=new WeakMap,ae=new WeakMap,oe=new WeakSet,Z(function e(t,r,n){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;if(K(this,e),I(this,oe),P(this,L,void 0),P(this,X,void 0),P(this,te,void 0),P(this,re,void 0),P(this,ne,void 0),P(this,ae,void 0),t instanceof Ff){var o=t.r,i=t.g,u=t.b;return this.r=o,this.g=i,this.b=u,void(this.alpha=t.alpha)}this.red=t,this.green=r,this.blue=n,this.alpha=a},[{key:"r",get:function(){return j(L,this)},set:function(e){q(L,this,e),q(re,this,Math.round(255*Cf(e,0,1)))}},{key:"g",get:function(){return j(X,this)},set:function(e){q(X,this,e),q(ne,this,Math.round(255*Cf(e,0,1)))}},{key:"b",get:function(){return j(te,this)},set:function(e){q(te,this,e),q(ae,this,Math.round(255*Cf(e,0,1)))}},{key:"red",get:function(){return j(re,this)},set:function(e){q(L,this,e/255),q(re,this,Cf(e,0,255))}},{key:"green",get:function(){return j(ne,this)},set:function(e){q(X,this,e/255),q(ne,this,Cf(e,0,255))}},{key:"blue",get:function(){return j(ae,this)},set:function(e){q(te,this,e/255),q(ae,this,Cf(e,0,255))}},{key:"toHexString",value:function(){var e=Math.round(this.red).toString(16),t=Math.round(this.green).toString(16),r=Math.round(this.blue).toString(16);return"#"+(this.red>15.5?e:"0"+e)+(this.green>15.5?t:"0"+t)+(this.blue>15.5?r:"0"+r)}},{key:"toJSON",value:function(){return{red:this.red,green:this.green,blue:this.blue,alpha:this.alpha}}},{key:"parseString",value:function(e){e=e.replace(yf,function(e,t,r){var n=t+r;switch(r){case"rad":return e.replace(n,180*t/Math.PI);case"turn":return e.replace(n,360*t)}});try{var t;"Prototype"in i&&"Version"in i.Prototype&&(t=Array.from,Array.from=vf.default);var r=new pf(e).to("srgb");t&&(Array.from=t,t=null),this.r=r.r,this.g=r.g,this.b=r.b,this.alpha=+r.alpha}catch(t){throw new Error('Unable to parse color "'.concat(e,'"'))}return this}},{key:"parseRgbString",value:function(e){this.parseString(e)}},{key:"parseHexString",value:function(e){e.match(bf)&&![6,8].includes(e.length)&&this.parseString(e)}},{key:"parseColorFnString",value:function(e){this.parseString(e)}},{key:"getRelativeLuminance",value:function(){var e=this.r,t=this.g,r=this.b;return.2126*(e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.0722*(r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4))}},{key:"getLuminosity",value:function(){return.3*this.r+.59*this.g+.11*this.b}},{key:"setLuminosity",value:function(e){var t=e-this.getLuminosity();return z(oe,this,wf).call(this,t).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(e){var t=new Ff(this),r=G([{name:"r",value:t.r},{name:"g",value:t.g},{name:"b",value:t.b}].sort(function(e,t){return e.value-t.value}),3),n=r[0],a=r[1],o=r[2];return o.value>n.value?(a.value=(a.value-n.value)*e/(o.value-n.value),o.value=e):a.value=o.value=0,n.value=0,t[o.name]=o.value,t[n.name]=n.value,t[a.name]=a.value,t}},{key:"clip",value:function(){var e=new Ff(this),t=e.getLuminosity(),r=Math.min(e.r,e.g,e.b),n=Math.max(e.r,e.g,e.b);return r<0&&(e.r=t+(e.r-t)*t/(t-r),e.g=t+(e.g-t)*t/(t-r),e.b=t+(e.b-t)*t/(t-r)),n>1&&(e.r=t+(e.r-t)*(1-t)/(n-t),e.g=t+(e.g-t)*(1-t)/(n-t),e.b=t+(e.b-t)*(1-t)/(n-t)),e}}]));function wf(e){var t=new Ff(this);return t.r+=e,t.g+=e,t.b+=e,t}var Ef=Ff;function Cf(e,t,r){return Math.min(Math.max(t,e),r)}var xf=function(e){var t=new Ef;if(t.parseString(e.getPropertyValue("background-color")),0!==t.alpha){var r=e.getPropertyValue("opacity");t.alpha=t.alpha*r}return t},Af=function(e){var t=i.getComputedStyle(e);return lc(e,t)||1===xf(t).alpha};function kf(e){if(!e.href)return!1;var t=eo.get("firstPageLink",Nf);return!t||e.compareDocumentPosition(t.actualNode)===e.DOCUMENT_POSITION_FOLLOWING}function Nf(){return(i.location.origin?mD(c._tree,'a[href]:not([href^="javascript:"])').find(function(e){return!$u(e.actualNode)}):mD(c._tree,'a:not([href^="#"]):not([href^="/#"]):not([href^="javascript:"])')[0])||null}var Bf=/rect\s*\(([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px\s*\)/,Tf=/(\w+)\((\d+)/;var Rf=function e(t,r,n){var a;if(!t)throw new TypeError("Cannot determine if element is visible for non-DOM nodes");var o=t instanceof oa?t:to(t);t=o?o.actualNode:t;var u="_isVisible"+(r?"ScreenReader":""),s=null!==(a=i.Node)&&void 0!==a?a:{},l=s.DOCUMENT_NODE,d=s.DOCUMENT_FRAGMENT_NODE,p=o?o.props.nodeType:t.nodeType,f=o?o.props.nodeName:t.nodeName.toLowerCase();if(o&&void 0!==o[u])return o[u];if(p===l)return!0;if(["style","script","noscript","template"].includes(f))return!1;if(t&&p===d&&(t=t.host),r&&"true"===(o?o.attr("aria-hidden"):t.getAttribute("aria-hidden")))return!1;if(!t){var m=o.parent,D=!0;return m&&(D=e(m,r,!0)),o&&(o[u]=D),D}var h=i.getComputedStyle(t,null);if(null===h)return!1;if("area"===f)return function(t,r,n){var a=Ti(t,"map");if(!a)return!1;var o=a.getAttribute("name");if(!o)return!1;var i=ki(t);if(!i||9!==i.nodeType)return!1;var u=mD(c._tree,'img[usemap="#'.concat(Fa(o),'"]'));return!(!u||!u.length)&&u.some(function(t){return e(t.actualNode,r,n)})}(t,r,n);if("none"===h.getPropertyValue("display"))return!1;var g=parseInt(h.getPropertyValue("height")),v=parseInt(h.getPropertyValue("width")),b=Nm(t),y=b&&0===g,F=b&&0===v,w="absolute"===h.getPropertyValue("position")&&(g<2||v<2)&&"hidden"===h.getPropertyValue("overflow");if(!r&&(function(e){var t=e.getPropertyValue("clip").match(Bf),r=e.getPropertyValue("clip-path").match(Tf);if(t&&5===t.length){var n=e.getPropertyValue("position");if(["fixed","absolute"].includes(n))return t[3]-t[1]<=0&&t[2]-t[4]<=0}if(r){var a=r[1],o=parseInt(r[2],10);switch(a){case"inset":return o>=50;case"circle":return 0===o}}return!1}(h)||"0"===h.getPropertyValue("opacity")||y||F||w))return!1;if(!n&&("hidden"===h.getPropertyValue("visibility")||!r&&tu(t)))return!1;var E=t.assignedSlot?t.assignedSlot:t.parentNode,C=!1;return E&&(C=e(E,r,!0)),o&&(o[u]=C),C},Sf=function(e,t){for(var r=["fixed","sticky"],n=[],a=!1,o=0;oMath.ceil(u.left+u.width)||Math.floor(e.top+e.height)>Math.ceil(u.top+u.height))})}var Pf=function e(t,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:s,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;if(a>999)throw new Error("Infinite loop detected");return Array.from(n.elementsFromPoint(t,r)||[]).filter(function(e){return ki(e)===n}).reduce(function(n,o){if(Ci(o)){var i=e(t,r,o.shadowRoot,a+1);(n=n.concat(i)).length&&Of(n[0],o)&&n.push(o)}else n.push(o);return n},[])};function If(e){var t={};if(!e||!e.length)return t;var r=e.substring(1).split("&");if(!r||!r.length)return t;for(var n=0;nl&&e.left>r.right||e.top>u&&e.top>r.bottom||e.rightr.right||e.top>r.bottom)||"scroll"===c.overflow||"auto"===c.overflow||t instanceof i.HTMLBodyElement||t instanceof i.HTMLHtmlElement},Vf=0,$f=function(e){function t(e,r,n){var a;if(K(this,t),(a=R(this,t)).shadowId=n,a.children=[],a.actualNode=e,a.parent=r,r||(Vf=0),a.nodeIndex=Vf++,a._isHidden=null,a._cache={},a._isXHTML=Ta(e.ownerDocument),"input"===e.nodeName.toLowerCase()){var o=e.getAttribute("type");o=a._isXHTML?o:(o||"").toLowerCase(),AD().includes(o)||(o="text"),a._type=o}return eo.get("nodeMap")&&eo.get("nodeMap").set(e,a),a}return _(t,e),Z(t,[{key:"props",get:function(){if(!this._cache.hasOwnProperty("props")){var e=this.actualNode,t=e.nodeType,r=e.nodeName,n=e.id,a=e.nodeValue;this._cache.props={nodeType:t,nodeName:this._isXHTML?r:r.toLowerCase(),id:n,type:this._type,nodeValue:a},1===t&&(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(e){return"function"!=typeof this.actualNode.getAttribute?null:this.actualNode.getAttribute(e)}},{key:"hasAttr",value:function(e){return"function"==typeof this.actualNode.hasAttribute&&this.actualNode.hasAttribute(e)}},{key:"attrNames",get:function(){var e;return this._cache.hasOwnProperty("attrNames")||(e=this.actualNode.attributes instanceof i.NamedNodeMap?this.actualNode.attributes:this.actualNode.cloneNode(!1).attributes,this._cache.attrNames=Array.from(e).map(function(e){return e.name})),this._cache.attrNames}},{key:"getComputedStylePropertyValue",value:function(e){var t="computedStyle_"+e;return this._cache.hasOwnProperty(t)||(this._cache.hasOwnProperty("computedStyle")||(this._cache.computedStyle=i.getComputedStyle(this.actualNode)),this._cache[t]=this._cache.computedStyle.getPropertyValue(e)),this._cache[t]}},{key:"isFocusable",get:function(){return this._cache.hasOwnProperty("isFocusable")||(this._cache.isFocusable=Ju(this.actualNode)),this._cache.isFocusable}},{key:"tabbableElements",get:function(){return this._cache.hasOwnProperty("tabbableElements")||(this._cache.tabbableElements=Xu(this)),this._cache.tabbableElements}},{key:"clientRects",get:function(){return this._cache.hasOwnProperty("clientRects")||(this._cache.clientRects=Array.from(this.actualNode.getClientRects()).filter(function(e){return e.width>0})),this._cache.clientRects}},{key:"boundingClientRect",get:function(){return this._cache.hasOwnProperty("boundingClientRect")||(this._cache.boundingClientRect=this.actualNode.getBoundingClientRect()),this._cache.boundingClientRect}}])}(oa),Hf=$f,Uf=function(e){return(e||"").trim().replace(/\s{2,}/g," ").split(" ")},Gf=" [idsMap]";function Wf(e,t,r){var n=e[0]._selectorMap;if(n){for(var a=e[0].shadowId,o=0;o1&&t[o].some(function(e){return Yf(e)}))return;var i=new Set;t.forEach(function(e){var t,r=function(e,t,r){var n=e[e.length-1],a=null,o=e.length>1||!!n.pseudos||!!n.classes;if(Yf(n))a=t["*"];else{if(n.id){var i;if(!t[Gf]||!Object.hasOwn(t[Gf],n.id)||null===(i=t[Gf][n.id])||void 0===i||!i.length)return;a=t[Gf][n.id].filter(function(e){return e.shadowId===r})}if(n.tag&&"*"!==n.tag){var u;if(null===(u=t[n.tag])||void 0===u||!u.length)return;var s=t[n.tag];a=a?Kf(s,a):s}if(n.classes){var l;if(null===(l=t["[class]"])||void 0===l||!l.length)return;var c=t["[class]"];a=a?Kf(c,a):c}if(n.attributes)for(var d=0;d0&&void 0!==arguments[0]?arguments[0]:s.documentElement,t=arguments.length>1?arguments[1]:void 0;jf=!1;var r={};eo.set("nodeMap",new WeakMap),eo.set("selectorMap",r);var n=em(e,t,null);return n[0]._selectorMap=r,n[0]._hasShadowRoot=jf,n}function Qf(e,t,r){var n=new Hf(e,t,r);return Zf(n,eo.get("selectorMap")),n}function em(e,t,r){var n,a;function o(e,r,n){var a=em(r,t,n);return a&&(e=e.concat(a)),e}e.documentElement&&(e=e.documentElement);var u=e.nodeName.toLowerCase();return Ci(e)?(jf=!0,n=Qf(e,r,t),t="a"+Math.random().toString().substring(2),a=Array.from(e.shadowRoot.childNodes),n.children=a.reduce(function(e,t){return o(e,t,n)},[]),[n]):"content"===u&&"function"==typeof e.getDistributedNodes?(a=Array.from(e.getDistributedNodes())).reduce(function(e,t){return o(e,t,r)},[]):"slot"===u&&"function"==typeof e.assignedNodes?((a=Array.from(e.assignedNodes())).length||(a=function(e){var t=[];for(e=e.firstChild;e;)t.push(e),e=e.nextSibling;return t}(e)),i.getComputedStyle(e),a.reduce(function(e,t){return o(e,t,r)},[])):1===e.nodeType?(n=Qf(e,r,t),a=Array.from(e.childNodes),n.children=a.reduce(function(e,t){return o(e,t,n)},[]),[n]):3===e.nodeType?[Qf(e,r)]:void 0}var tm=function(e){return e?e.trim().split("-")[0].toLowerCase():""},rm=function(e){var t={};return t.none=e.none.concat(e.all),t.any=e.any,Object.keys(t).map(function(e){if(t[e].length){var r=c._audit.data.failureSummaries[e];return r&&"function"==typeof r.failureMessage?r.failureMessage(t[e].map(function(e){return e.message||""})):void 0}}).filter(function(e){return void 0!==e}).join("\n\n")};function nm(){var e=c._audit.data.incompleteFallbackMessage;return"function"==typeof e&&(e=e()),"string"!=typeof e?"":e}var am=ra.resultGroups;function om(e,t){var r=c.utils.aggregateResult(e);return am.forEach(function(e){t.resultTypes&&!t.resultTypes.includes(e)&&(r[e]||[]).forEach(function(e){Array.isArray(e.nodes)&&e.nodes.length>0&&(e.nodes=[e.nodes[0]])}),r[e]=(r[e]||[]).map(function(e){return e=Object.assign({},e),Array.isArray(e.nodes)&&e.nodes.length>0&&(e.nodes=e.nodes.map(function(e){if("object"===l(e.node)){var r=im(e.node,t);Object.assign(e,r)}return delete e.result,delete e.node,function(e,t){["any","all","none"].forEach(function(r){Array.isArray(e[r])&&e[r].filter(function(e){return Array.isArray(e.relatedNodes)}).forEach(function(e){e.relatedNodes=e.relatedNodes.map(function(e){return im(e,t)})})})}(e,t),e})),am.forEach(function(t){return delete e[t]}),delete e.pageLevel,delete e.result,e})}),r}function im(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;e=mi.dqElmToSpec(e,t);var r,n,a,o,i,u={};return c._audit.noHtml?u.html=null:u.html=null!==(r=e.source)&&void 0!==r?r:"Undefined",t.elementRef&&!e.fromFrame&&(u.element=null!==(n=e.element)&&void 0!==n?n:null),(!1!==t.selectors||e.fromFrame)&&(u.target=null!==(a=e.selector)&&void 0!==a?a:[":root"]),t.ancestry&&(u.ancestry=null!==(o=e.ancestry)&&void 0!==o?o:[":root"]),t.xpath&&(u.xpath=null!==(i=e.xpath)&&void 0!==i?i:["/"]),u}var um=/\$\{\s?data\s?\}/g;function sm(e,t){if("string"==typeof t)return e.replace(um,t);for(var r in t)if(t.hasOwnProperty(r)){var n=new RegExp("\\${\\s?data\\."+r+"\\s?}","g"),a=void 0===t[r]?"":String(t[r]);e=e.replace(n,a)}return e}var lm=function e(t,r){if(t){if(Array.isArray(r))return r.values=r.join(", "),"string"==typeof t.singular&&"string"==typeof t.plural?sm(1===r.length?t.singular:t.plural,r):sm(t,r);if("string"==typeof t)return sm(t,r);if("string"==typeof r)return sm(t[r],r);var n=t.default||nm();return r&&r.messageKey&&t[r.messageKey]&&(n=t[r.messageKey]),e(n,r)}},cm=function(e,t,r){var n=c._audit.data.checks[e];if(!n)throw new Error("Cannot get message for unknown check: ".concat(e,"."));if(!n.messages[t])throw new Error('Check "'.concat(e,'"" does not have a "').concat(t,'" message.'));return lm(n.messages[t],r)},dm=function(e,t,r){var n=((r.rules&&r.rules[t]||{}).checks||{})[e.id],a=(r.checks||{})[e.id],o=e.enabled,i=e.options;return a&&(a.hasOwnProperty("enabled")&&(o=a.enabled),a.hasOwnProperty("options")&&(i=a.options)),n&&(n.hasOwnProperty("enabled")&&(o=n.enabled),n.hasOwnProperty("options")&&(i=n.options)),{enabled:o,options:i,absolutePaths:r.absolutePaths}};function pm(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;return t&&"object"===l(t)?t:"object"!==l(r)?{}:{testEngine:{name:"axe-core",version:c.version},testRunner:{name:c._audit.brand},testEnvironment:fm(r),timestamp:(new Date).toISOString(),url:null===(e=r.location)||void 0===e?void 0:e.href}}function fm(e){if(!e.navigator||"object"!==l(e.navigator))return{};var t,r=e.navigator,n=e.innerHeight,a=e.innerWidth,o=(t=e.screen).orientation||t.msOrientation||t.mozOrientation||{},i=o.angle,u=o.type;return{userAgent:r.userAgent,windowWidth:a,windowHeight:n,orientationAngle:i,orientationType:u}}function mm(e,t){var r=t.focusable,n=t.page;return{node:e,include:[],exclude:[],initiator:!1,focusable:r&&Dm(e),size:hm(e),page:n}}function Dm(e){var t=Jm(e.getAttribute("tabindex"));return null===t||t>=0}function hm(e){var t=parseInt(e.getAttribute("width"),10),r=parseInt(e.getAttribute("height"),10);if(isNaN(t)||isNaN(r)){var n=e.getBoundingClientRect();t=isNaN(t)?n.width:t,r=isNaN(r)?n.height:r}return{width:t,height:r}}function gm(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=[];Mm(e)||(e=[e]);for(var r=0;r1)Em(e,t,o);else{var u=CD(o[0]);r.push.apply(r,$(u.map(function(e){return to(e)})))}}return r.filter(function(e){return e})}function Em(e,t,r){e.frames=e.frames||[],CD(r.shift()).forEach(function(n){var a=e.frames.find(function(e){return e.node===n});a||(a=mm(n,e),e.frames.push(a)),a[t].push(r)})}function Cm(e,t){var r,n,a,o,u,c=this;e=io(e),this.frames=[],this.page="boolean"==typeof(null===(r=e)||void 0===r?void 0:r.page)?e.page:void 0,this.initiator="boolean"!=typeof(null===(n=e)||void 0===n?void 0:n.initiator)||e.initiator,this.focusable="boolean"!=typeof(null===(a=e)||void 0===a?void 0:a.focusable)||e.focusable,this.size="object"===l(null===(o=e)||void 0===o?void 0:o.size)?e.size:{},e=function(e){if(Lm(e)){var t=" must be used inside include or exclude. It should not be on the same object.";Fm(!Pm(e,"fromFrames"),"fromFrames"+t),Fm(!Pm(e,"fromShadowDom"),"fromShadowDom"+t)}else{if(!jm(e))return{include:[s],exclude:[]};e={include:e,exclude:[]}}var r=gm(e.include);return 0===r.length&&r.push(s),{include:r,exclude:gm(e.exclude)}}(e),this.flatTree=null!=t?t:Jf(function(e){for(var t=e.include,r=e.exclude,n=Array.from(t).concat(Array.from(r)),a=0;a1&&void 0!==arguments[1]?arguments[1]:{}).iframes?[]:new Cm(e).frames.map(function(e){var t=e.node,r=V(e,x);return r.initiator=!1,{frameSelector:Ka(t),frameContext:r}})}function Am(e){var t=c._audit.rules.find(function(t){return t.id===e});if(!t)throw new Error("Cannot find rule by id: ".concat(e));return t}function km(e,t){var r=e.getPropertyValue(t);return["scroll","auto"].includes(r)}var Nm=Ba(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=e.scrollWidth>e.clientWidth+t,n=e.scrollHeight>e.clientHeight+t;if(r||n){var a=i.getComputedStyle(e),o=km(a,"overflow-x"),u=km(a,"overflow-y");return r&&o||n&&u?{elm:e,top:e.scrollTop,left:e.scrollLeft}:void 0}});function Bm(e){return Array.from(e.children||e.childNodes||[]).reduce(function(e,t){var r=Nm(t);return r&&e.push(r),e.concat(Bm(t))},[])}var Tm=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i,t=e.document.documentElement;return[void 0!==e.pageXOffset?{elm:e,top:e.pageYOffset,left:e.pageXOffset}:{elm:t,top:t.scrollTop,left:t.scrollLeft}].concat(Bm(s.body))};function Rm(){return io(ds)}var Sm,Om=function(e){if(!e)throw new Error("axe.utils.getStyleSheetFactory should be invoked with an argument");return function(t){var r=t.data,n=t.isCrossOrigin,a=void 0!==n&&n,o=t.shadowId,i=t.root,u=t.priority,s=t.isLink,l=void 0!==s&&s,c=e.createElement("style");if(l){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:a,shadowId:o,root:i,priority:u}}},_m=function(e){if(Sm&&Sm.parentNode)return void 0===Sm.styleSheet?Sm.appendChild(s.createTextNode(e)):Sm.styleSheet.cssText+=e,Sm;if(e){var t=s.head||s.getElementsByTagName("head")[0];return(Sm=s.createElement("style")).type="text/css",void 0===Sm.styleSheet?Sm.appendChild(s.createTextNode(e)):Sm.styleSheet.cssText=e,t.appendChild(Sm),Sm}};function Mm(e){return!!e&&"object"===l(e)&&"number"==typeof e.length&&e instanceof i.Node==0}function Pm(e,t){return!(!e||"object"!==l(e))&&Object.prototype.hasOwnProperty.call(e,t)}function Im(e){return Lm(e)||jm(e)}function Lm(e){return["include","exclude"].some(function(t){return Pm(e,t)&&jm(e[t])})}function jm(e){return"string"==typeof e||e instanceof i.Node||qm(e)||zm(e)||Mm(e)}function qm(e){return Pm(e,"fromFrames")}function zm(e){return Pm(e,"fromShadowDom")}var Vm=function e(t,r){var n=to(t);if(9===t.nodeType)return!1;if(11===t.nodeType&&(t=t.host),n&&null!==n._isHidden)return n._isHidden;var a=i.getComputedStyle(t,null);if(!a||!t.parentNode||"none"===a.getPropertyValue("display")||!r&&"hidden"===a.getPropertyValue("visibility")||"true"===t.getAttribute("aria-hidden"))return!0;var o=e(t.assignedSlot?t.assignedSlot:t.parentNode,!0);return n&&(n._isHidden=o),o},$m=function(e){var t,r,n=null!==(t=null===(r=e.props)||void 0===r?void 0:r.nodeName)&&void 0!==t?t:e.nodeName.toLowerCase();return"http://www.w3.org/2000/svg"!==e.namespaceURI&&!!ds.htmlElms[n]};function Hm(e,t){var r=t.include,n=void 0===r?[]:r,a=t.exclude,o=void 0===a?[]:a,i=n.filter(function(t){return yi(t,e)});if(0===i.length)return!1;var u=o.filter(function(t){return yi(t,e)});if(0===u.length)return!0;var s=Um(i);return yi(Um(u),s)}function Um(e){var t,r,n=Q(e);try{for(n.s();!(r=n.n()).done;){var a=r.value;t&&yi(a,t)||(t=a)}}catch(e){n.e(e)}finally{n.f()}return t}function Gm(e,t){return e.length===t.length&&e.every(function(e,r){var n=t[r];return Array.isArray(e)?e.length===n.length&&e.every(function(e,t){return n[t]===e}):e===n})}var Wm=function(e,t){return(e=e.actualNode||e)===(t=t.actualNode||t)?0:4&e.compareDocumentPosition(t)?-1:1};function Ym(e){return e instanceof oa?{vNode:e,domNode:e.actualNode}:{vNode:to(e),domNode:e}}var Km=function(e,t,r,n){var a=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o=Array.from(e.cssRules);if(!o)return Promise.resolve();var i=o.filter(function(e){return 3===e.type});if(!i.length)return Promise.resolve({isCrossOrigin:a,priority:r,root:t.rootNode,shadowId:t.shadowId,sheet:e});var u=i.filter(function(e){return e.href}).map(function(e){return e.href}).filter(function(e){return!n.includes(e)}).map(function(e,a){var o=[].concat($(r),[a]),i=/^https?:\/\/|^\/\//i.test(e);return Zm(e,t,o,n,i)}),s=o.filter(function(e){return 3!==e.type});return s.length?(u.push(Promise.resolve(t.convertDataToStylesheet({data:s.map(function(e){return e.cssText}).join(),isCrossOrigin:a,priority:r,root:t.rootNode,shadowId:t.shadowId}))),Promise.all(u)):Promise.all(u)},Xm=function(e,t,r,n){var a=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return function(e){try{return!(!e.cssRules&&e.href)}catch(e){return!1}}(e)?Km(e,t,r,n,a):Zm(e.href,t,r,n,!0)},Zm=function(e,t,r,n,a){return n.push(e),new Promise(function(t,r){var n=new i.XMLHttpRequest;n.open("GET",e),n.timeout=ra.preload.timeout,n.addEventListener("error",r),n.addEventListener("timeout",r),n.addEventListener("loadend",function(e){if(e.loaded&&n.responseText)return t(n.responseText);r(n.responseText)}),n.send()}).then(function(e){var o=t.convertDataToStylesheet({data:e,isCrossOrigin:a,priority:r,root:t.rootNode,shadowId:t.shadowId});return Xm(o.sheet,t,r,n,o.isCrossOrigin)})},Jm=function(e){if("string"!=typeof e)return null;var t=e.trim().match(/^([-+]?\d+)/);return t?Number(t[1]):null},Qm=function(){function e(){if(i.performance&&i.performance)return i.performance.now()}var t=null,r=e();return{start:function(){this.mark("mark_axe_start")},end:function(){this.mark("mark_axe_end"),this.measure("axe","mark_axe_start","mark_axe_end"),this.logMeasures("axe")},auditStart:function(){this.mark("mark_audit_start")},auditEnd:function(){this.mark("mark_audit_end"),this.measure("audit_start_to_end","mark_audit_start","mark_audit_end"),this.logMeasures()},mark:function(e){i.performance&&void 0!==i.performance.mark&&i.performance.mark(e)},measure:function(e,t,r){i.performance&&void 0!==i.performance.measure&&i.performance.measure(e,t,r)},logMeasures:function(e){function t(e){na("Measure "+e.name+" took "+e.duration+"ms")}if(i.performance&&void 0!==i.performance.getEntriesByType)for(var r=i.performance.getEntriesByName("mark_axe_start")[0],n=i.performance.getEntriesByType("measure").filter(function(e){return e.startTime>=r.startTime}),a=0;a"].includes(b[0].combinator))throw new Error("axe.utils.querySelectorAll does not support the combinator: "+v[1].combinator);">"===b[0].combinator?(c=c||[]).push(b):(d=d||[]).push(b)}v[0].id&&l.shadowId!==o.parentShadowId||null===(g=o.anyLevel)||void 0===g||!g.includes(v)||(d=d||[]).push(v)}for(l.children&&l.children.length&&(a.push(o),o=rD(l.children,d,c,l.shadowId,n.pop()));o.vNodesIndex===o.vNodes.length&&a.length;)n.push(o),o=a.pop()}return i}(e,n,r)},aD=function(e){var t=e.treeRoot,r=function(e){var t=[],r=nD(e,"*",function(e){return!t.includes(e.shadowId)&&(t.push(e.shadowId),!0)}).map(function(e){return{shadowId:e.shadowId,rootNode:Ai(e.actualNode)}});return tD(r,[])}(void 0===t?c._tree[0]:t);if(!r.length)return Promise.resolve();var n=s.implementation.createHTMLDocument("Dynamic document for loading cssom");return function(e,t){var r=[];return e.forEach(function(e,n){var a=e.rootNode,o=e.shadowId,i=function(e,t,r){var n;return n=11===e.nodeType&&t?function(e,t){return Array.from(e.children).filter(iD).reduce(function(r,n){var a=n.nodeName.toUpperCase(),o="STYLE"===a?n.textContent:n,i=t({data:o,isLink:"LINK"===a,root:e});return i.sheet&&r.push(i.sheet),r},[])}(e,r):function(e){return Array.from(e.styleSheets).filter(function(e){return!!e.media&&uD(e.media.mediaText)})}(e),function(e){var t=[];return e.filter(function(e){return!e.href||!t.includes(e.href)&&(t.push(e.href),!0)})}(n)}(a,o,t);if(!i)return Promise.all(r);var u=n+1,s={rootNode:a,shadowId:o,convertDataToStylesheet:t,rootIndex:u},l=[],c=Promise.all(i.map(function(e,t){return Xm(e,s,[u,t],l)}));r.push(c)}),Promise.all(r)}(r,Om(n)).then(function(e){return oD(e)})};function oD(e){return e.reduce(function(e,t){return Array.isArray(t)?e.concat(oD(t)):e.concat(t)},[])}function iD(e){var t=e.nodeName.toUpperCase(),r=e.getAttribute("href"),n=e.getAttribute("rel"),a="LINK"===t&&r&&n&&e.rel.toUpperCase().includes("STYLESHEET");return"STYLE"===t||a&&uD(e.media)}function uD(e){return!e||!e.toUpperCase().includes("PRINT")}var sD=function(e){var t=e.treeRoot,r=void 0===t?c._tree[0]:t,n=nD(r,"video[autoplay], audio[autoplay]",function(e){var t=e.actualNode;return!("none"===t.preload&&0===t.readyState&&t.networkState!==t.NETWORK_LOADING||t.hasAttribute("paused")||t.hasAttribute("muted")||(t.hasAttribute("src")?!t.getAttribute("src"):Array.from(t.getElementsByTagName("source")).filter(function(e){return!!e.getAttribute("src")}).length<=0))});return Promise.all(n.map(function(e){var t,r=e.actualNode;return t=r,new Promise(function(e){t.readyState>0&&e(t),t.addEventListener("loadedmetadata",function r(){t.removeEventListener("loadedmetadata",r),e(t)})})}))};function lD(e){var t={cssom:aD,media:sD};return cD(e)?new Promise(function(r,n){var a=dD(e),o=a.assets,i=a.timeout,u=setTimeout(function(){return n(new Error("Preload assets timed out."))},i);Promise.all(o.map(function(r){return t[r](e).then(function(e){return t={},a=e,(n=J(n=r))in t?Object.defineProperty(t,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[n]=a,t;var t,n,a})})).then(function(e){var t=e.reduce(function(e,t){return U({},e,t)},{});clearTimeout(u),r(t)}).catch(function(e){clearTimeout(u),n(e)})}):Promise.resolve()}function cD(e){return!e||void 0===e.preload||null===e.preload||("boolean"==typeof e.preload?e.preload:(t=e.preload,"object"===l(t)&&Array.isArray(t.assets)));var t}function dD(e){var t=ra.preload,r=t.assets,n=t.timeout,a={assets:r,timeout:n};if(!e.preload)return a;if("boolean"==typeof e.preload)return a;if(!e.preload.assets.every(function(e){return r.includes(e.toLowerCase())}))throw new Error("Requested assets, not supported. Supported assets are: ".concat(r.join(", "),"."));return a.assets=tD(e.preload.assets.map(function(e){return e.toLowerCase()}),[]),e.preload.timeout&&"number"==typeof e.preload.timeout&&!isNaN(e.preload.timeout)&&(a.timeout=e.preload.timeout),a}function pD(e){var t=c._audit.data.checks||{},r=c._audit.data.rules||{},n=hi(c._audit.rules,"id",e.id)||{};e.tags=io(n.tags||[]);var a=fD(t,!0,n),o=fD(t,!1,n);e.nodes.forEach(function(e){e.any.forEach(a),e.all.forEach(a),e.none.forEach(o)}),wi(e,io(r[e.id]||{}))}function fD(e,t,r){return function(n){var a=e[n.id]||{},o=a.messages||{},i=Object.assign({},a);delete i.messages,r.reviewOnFail||void 0!==n.result?i.message=n.result===t?o.pass:o.fail:("object"!==l(o.incomplete)||Array.isArray(n.data)||(i.message=function(e,t){function r(e){return e.incomplete&&e.incomplete.default?e.incomplete.default:nm()}if(!e||!e.missingData)return e&&e.messageKey?t.incomplete[e.messageKey]:r(t);try{var n=t.incomplete[e.missingData[0].reason];if(!n)throw new Error;return n}catch(n){return"string"==typeof e.missingData?t.incomplete[e.missingData]:r(t)}}(n.data,o)),i.message||(i.message=o.incomplete)),"function"!=typeof i.message&&(i.message=lm(i.message,n.data)),wi(n,i)}}var mD=function(e,t){return nD(e,t)};function DD(e,t){var r,n,a=c._audit&&c._audit.tagExclude?c._audit.tagExclude:[];return t.hasOwnProperty("include")||t.hasOwnProperty("exclude")?(r=t.include||[],r=Array.isArray(r)?r:[r],n=t.exclude||[],n=(n=Array.isArray(n)?n:[n]).concat(a.filter(function(e){return-1===r.indexOf(e)}))):(r=Array.isArray(t)?t:[t],n=a.filter(function(e){return-1===r.indexOf(e)})),!!(r.some(function(t){return-1!==e.tags.indexOf(t)})||0===r.length&&!1!==e.enabled)&&n.every(function(t){return-1===e.tags.indexOf(t)})}var hD=function(e,t,r){var n=r.runOnly||{},a=(r.rules||{})[e.id];return!(e.pageLevel&&!t.page)&&("rule"===n.type?-1!==n.values.indexOf(e.id):a&&"boolean"==typeof a.enabled?a.enabled:"tag"===n.type&&n.values?DD(e,n.values):DD(e,[]))};function gD(e,t){if(!t)return e;var r=e.cloneNode(!1),n=Aa(r);if(1===r.nodeType){var a=r.outerHTML;r=eo.get(a,function(){return vD(r,n,e,t)})}else r=vD(r,n,e,t);return Array.from(e.childNodes).forEach(function(e){r.appendChild(gD(e,t))}),r}function vD(e,t,r,n){return t?(e=s.createElement(e.nodeName),Array.from(t).forEach(function(t){(function(e,t,r){return void 0!==r[t]&&(!0===r[t]||ka(e,r[t]))})(r,t.name,n)||e.setAttribute(t.name,t.value)}),e):e}function bD(e,t){var r,n=[];if(c._selectCache)for(var a=0,o=c._selectCache.length;a1&&void 0!==arguments[1]?arguments[1]:s,r=Array.isArray(e)?$(e):[e];return 0===e.length?[]:xD(r,t)}function xD(e,t){var r,n=Y(r=e)||H(r)||ee(r)||W(),a=n[0],o=n.slice(1),i=t.querySelectorAll(a);if(0===o.length)return Array.from(i);var u,s=[],l=Q(i);try{for(l.s();!(u=l.n()).done;){var c=u.value;null!=c&&c.shadowRoot&&s.push.apply(s,$(xD(o,c.shadowRoot)))}}catch(e){l.e(e)}finally{l.f()}return s}var AD=function(){return["hidden","text","search","tel","url","email","password","date","month","week","time","datetime-local","number","range","color","checkbox","radio","file","submit","image","reset","button"]},kD=[,[,[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,,,,,,1,1,1,1,,,1,1,1,,1,,1,,1,1],[1,1,1,,1,1,,1,1,1,,1,,,1,1,1,,,1,1,1,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,,,,1,1,1,,1,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,1]]];function ND(e){e=Array.isArray(e)?e:kD;var t=[];return e.forEach(function(e,r){var n=String.fromCharCode(r+96).replace("`","");Array.isArray(e)?t=t.concat(ND(e).map(function(e){return n+e})):t.push(n)}),t}var BD=function(e){for(var t=kD;e.length<3;)e+="`";for(var r=0;r<=e.length-1;r++)if(!(t=t[e.charCodeAt(r)-96]))return!1;return!0},TD=function(e){function t(e){var r,n,a,o;return K(this,t),(r=R(this,t))._props=function(e){var t,r,n,a=null!==(t=e.nodeName)&&void 0!==t?t:SD[e.nodeType],o=null!==(r=null!==(n=e.nodeType)&&void 0!==n?n:RD[e.nodeName])&&void 0!==r?r:1;ba("number"==typeof o,"nodeType has to be a number, got '".concat(o,"'")),ba("string"==typeof a,"nodeName has to be a string, got '".concat(a,"'"));var i=null;"input"===(a=a.toLowerCase())&&(i=(e.type||e.attributes&&e.attributes.type||"").toLowerCase(),AD().includes(i)||(i="text"));var u=U({},e,{nodeType:o,nodeName:a});return i&&(u.type=i),delete u.attributes,Object.freeze(u)}(e),r._attrs=(n=e.attributes,a=void 0===n?{}:n,o={htmlFor:"for",className:"class"},Object.keys(a).reduce(function(e,t){var r=a[t];return ba("object"!==l(r)||null===r,"expects attributes not to be an object, '".concat(t,"' was")),void 0!==r&&(e[o[t]||t]=null!==r?String(r):null),e},{})),r}return _(t,e),Z(t,[{key:"props",get:function(){return this._props}},{key:"attr",value:function(e){var t;return null!==(t=this._attrs[e])&&void 0!==t?t:null}},{key:"hasAttr",value:function(e){return void 0!==this._attrs[e]}},{key:"attrNames",get:function(){return Object.keys(this._attrs)}}])}(oa),RD={"#cdata-section":2,"#text":3,"#comment":8,"#document":9,"#document-fragment":11},SD={};Object.keys(RD).forEach(function(e){SD[RD[e]]=e});var OD,_D=TD,MD=function(e,t){if(e=e||function(){},t=t||c.log,!c._audit)throw new Error("No audit configured");var r=c.utils.queue(),n=[];Object.keys(c.plugins).forEach(function(e){r.defer(function(t){var r=function(e){n.push(e),t()};try{c.plugins[e].cleanup(t,r)}catch(e){r(e)}})});var a=c.utils.getFlattenedTree(s.body);c.utils.querySelectorAll(a,"iframe, frame").forEach(function(e){r.defer(function(t,r){return c.utils.sendCommandToFrame(e.actualNode,{command:"cleanup-plugin"},t,r)})}),r.then(function(r){0===n.length?e(r):t(n)}).catch(t)},PD={};function ID(e){return PD.hasOwnProperty(e)}function LD(e){return"string"==typeof e&&PD[e]?PD[e]:"function"==typeof e?e:OD}var jD={};fe(jD,{getAllCells:function(){return qD},getCellPosition:function(){return vs},getHeaders:function(){return VD},getScope:function(){return bs},isColumnHeader:function(){return ys},isDataCell:function(){return $D},isDataTable:function(){return HD},isHeader:function(){return UD},isRowHeader:function(){return Fs},toArray:function(){return gs},toGrid:function(){return gs},traverse:function(){return WD}});var qD=function(e){var t,r,n,a,o=[];for(t=0,n=e.rows.length;t=f&&!n;h--)for(var g=p;g>=m;g--){var v=r[h]?r[h][g]:void 0;if(v){var b=c.utils.getNodeFromTree(v);if(b[a]){n=b[a];break}D.push(v)}}return n=(n||[]).concat(D.filter(o)),D.forEach(function(e){c.utils.getNodeFromTree(e)[a]=n}),n}var VD=function(e,t){if(e.getAttribute("headers")){var r=ns(e,"headers");if(r.filter(function(e){return e}).length)return r}t||(t=gs(Ti(e,"table")));var n=vs(e,t),a=zD("row",n,t),o=zD("col",n,t);return[].concat(a,o).reverse()},$D=function(e){if(!e.children.length&&!e.textContent.trim())return!1;var t=e.getAttribute("role");return fs(t)?["cell","gridcell"].includes(t):"TD"===e.nodeName.toUpperCase()},HD=function(e){var t=(e.getAttribute("role")||"").toLowerCase();if(("presentation"===t||"none"===t)&&!Ju(e))return!1;if("true"===e.getAttribute("contenteditable")||Ti(e,'[contenteditable="true"]'))return!0;if("grid"===t||"treegrid"===t||"table"===t)return!0;if("landmark"===Jl(t))return!0;if("0"===e.getAttribute("datatable"))return!1;if(e.getAttribute("summary"))return!0;if(e.tHead||e.tFoot||e.caption)return!0;for(var r=0,n=e.children.length;r=5)return!0;if(l)return!0;for(var h=0;h=20||!(Qi(e).width>.95*eu(i).width)&&!(u<10)&&!e.querySelector("object, embed, iframe, applet")},UD=function(e){if(ys(e)||Fs(e))return!0;if(e.getAttribute("id")){var t=Fa(e.getAttribute("id"));return!!s.querySelector('[headers~="'.concat(t,'"]'))}return!1};function GD(e,t,r,n){var a,o=r[t.y]?r[t.y][t.x]:void 0;return o?"function"==typeof n&&!0===(a=n(o,t,r))?[o]:((a=GD(e,{x:t.x+e.x,y:t.y+e.y},r,n)).unshift(o),a):[]}var WD=function(e,t,r,n){if(Array.isArray(t)&&(n=r,r=t,t={x:0,y:0}),"string"==typeof e)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}}return GD(e,{x:t.x+e.x,y:t.y+e.y},r,n)},YD={};fe(YD,{allowedAttr:function(){return KD},arialabelText:function(){return is},arialabelledbyText:function(){return os},getAccessibleRefs:function(){return JD},getElementUnallowedRoles:function(){return rh},getExplicitRole:function(){return ms},getImplicitRole:function(){return Vs},getOwnedVirtual:function(){return Zs},getRole:function(){return Ws},getRoleType:function(){return Jl},getRolesByType:function(){return ah},getRolesWithNameFromContents:function(){return ih},implicitNodes:function(){return dh},implicitRole:function(){return Vs},isAccessibleRef:function(){return ph},isAriaRoleAllowedOnElement:function(){return QD},isComboboxPopup:function(){return fh},isUnsupportedRole:function(){return ps},isValidRole:function(){return fs},label:function(){return Dh},labelVirtual:function(){return Rl},lookupTable:function(){return ch},namedFromContents:function(){return Xs},requiredAttr:function(){return hh},requiredContext:function(){return gh},requiredOwned:function(){return vh},validateAttr:function(){return yh},validateAttrValue:function(){return bh}});var KD=function(e){var t=ds.ariaRoles[e],r=$(hs());return t?(t.allowedAttrs&&r.push.apply(r,$(t.allowedAttrs)),t.requiredAttrs&&r.push.apply(r,$(t.requiredAttrs)),r):r},XD=/^idrefs?$/;function ZD(e,t,r){if(e.hasAttribute){if("LABEL"===e.nodeName.toUpperCase()&&e.hasAttribute("for")){var n=e.getAttribute("for");t.has(n)?t.get(n).push(e):t.set(n,[e])}for(var a=0;a1&&void 0!==arguments[1])||arguments[1],r=Ym(e).vNode;if(!$m(r))return[];var n=r.props.nodeName,a=Vs(r)||th[n];return function(e){var t=[];if(!e)return t;if(e.hasAttr("role")){var r=Uf(e.attr("role").toLowerCase());t=t.concat(r)}return t.filter(function(e){return fs(e)})}(r).filter(function(e){return!function(e,t,r,n){return!(!r||e!==n)||(!eh.includes(e)||Jl(e)===n)&&QD(t,e)}(e,r,t,a)})},nh=function(e){return Object.keys(ds.ariaRoles).filter(function(t){return ds.ariaRoles[t].type===e})},ah=function(e){return nh(e)},oh=function(){return eo.get("ariaRolesNameFromContent",function(){return Object.keys(ds.ariaRoles).filter(function(e){return ds.ariaRoles[e].nameFromContent})})},ih=function(){return oh()},uh=function(e){return null===e},sh=function(e){return null!==e},lh={attributes:{"aria-activedescendant":{type:"idref",allowEmpty:!0,unsupported:!1},"aria-atomic":{type:"boolean",values:["true","false"],unsupported:!1},"aria-autocomplete":{type:"nmtoken",values:["inline","list","both","none"],unsupported:!1},"aria-busy":{type:"boolean",values:["true","false"],unsupported:!1},"aria-checked":{type:"nmtoken",values:["true","false","mixed","undefined"],unsupported:!1},"aria-colcount":{type:"int",unsupported:!1},"aria-colindex":{type:"int",unsupported:!1},"aria-colspan":{type:"int",unsupported:!1},"aria-controls":{type:"idrefs",allowEmpty:!0,unsupported:!1},"aria-current":{type:"nmtoken",allowEmpty:!0,values:["page","step","location","date","time","true","false"],unsupported:!1},"aria-describedby":{type:"idrefs",allowEmpty:!0,unsupported:!1},"aria-describedat":{unsupported:!0,unstandardized:!0},"aria-details":{type:"idref",allowEmpty:!0,unsupported:!1},"aria-disabled":{type:"boolean",values:["true","false"],unsupported:!1},"aria-dropeffect":{type:"nmtokens",values:["copy","move","reference","execute","popup","none"],unsupported:!1},"aria-errormessage":{type:"idref",allowEmpty:!0,unsupported:!1},"aria-expanded":{type:"nmtoken",values:["true","false","undefined"],unsupported:!1},"aria-flowto":{type:"idrefs",allowEmpty:!0,unsupported:!1},"aria-grabbed":{type:"nmtoken",values:["true","false","undefined"],unsupported:!1},"aria-haspopup":{type:"nmtoken",allowEmpty:!0,values:["true","false","menu","listbox","tree","grid","dialog"],unsupported:!1},"aria-hidden":{type:"boolean",values:["true","false"],unsupported:!1},"aria-invalid":{type:"nmtoken",allowEmpty:!0,values:["true","false","spelling","grammar"],unsupported:!1},"aria-keyshortcuts":{type:"string",allowEmpty:!0,unsupported:!1},"aria-label":{type:"string",allowEmpty:!0,unsupported:!1},"aria-labelledby":{type:"idrefs",allowEmpty:!0,unsupported:!1},"aria-level":{type:"int",unsupported:!1},"aria-live":{type:"nmtoken",values:["off","polite","assertive"],unsupported:!1},"aria-modal":{type:"boolean",values:["true","false"],unsupported:!1},"aria-multiline":{type:"boolean",values:["true","false"],unsupported:!1},"aria-multiselectable":{type:"boolean",values:["true","false"],unsupported:!1},"aria-orientation":{type:"nmtoken",values:["horizontal","vertical"],unsupported:!1},"aria-owns":{type:"idrefs",allowEmpty:!0,unsupported:!1},"aria-placeholder":{type:"string",allowEmpty:!0,unsupported:!1},"aria-posinset":{type:"int",unsupported:!1},"aria-pressed":{type:"nmtoken",values:["true","false","mixed","undefined"],unsupported:!1},"aria-readonly":{type:"boolean",values:["true","false"],unsupported:!1},"aria-relevant":{type:"nmtokens",values:["additions","removals","text","all"],unsupported:!1},"aria-required":{type:"boolean",values:["true","false"],unsupported:!1},"aria-roledescription":{type:"string",allowEmpty:!0,unsupported:!1},"aria-rowcount":{type:"int",unsupported:!1},"aria-rowindex":{type:"int",unsupported:!1},"aria-rowspan":{type:"int",unsupported:!1},"aria-selected":{type:"nmtoken",values:["true","false","undefined"],unsupported:!1},"aria-setsize":{type:"int",unsupported:!1},"aria-sort":{type:"nmtoken",values:["ascending","descending","other","none"],unsupported:!1},"aria-valuemax":{type:"decimal",unsupported:!1},"aria-valuemin":{type:"decimal",unsupported:!1},"aria-valuenow":{type:"decimal",unsupported:!1},"aria-valuetext":{type:"string",unsupported:!1}},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"]};lh.role={alert:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},alertdialog:{type:"widget",attributes:{allowed:["aria-expanded","aria-modal","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["dialog","section"]},application:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage","aria-activedescendant"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,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:!1},banner:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["header"],unsupported:!1,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:!1,allowedElements:[{nodeName:"a",attributes:{href:sh}}]},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:!1},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:!1,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:!1},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:!1,allowedElements:[{nodeName:"input",properties:{type:["text","search","tel","url","email"]}}]},command:{nameFrom:["author"],type:"abstract",unsupported:!1},complementary:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["aside"],unsupported:!1,allowedElements:["section"]},composite:{nameFrom:["author"],type:"abstract",unsupported:!1},contentinfo:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["footer"],unsupported:!1,allowedElements:["section"]},definition:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["dd","dfn"],unsupported:!1},dialog:{type:"widget",attributes:{allowed:["aria-expanded","aria-modal","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["dialog"],unsupported:!1,allowedElements:["section"]},directory:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:!1,allowedElements:["ol","ul"]},document:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["body"],unsupported:!1,allowedElements:["article","embed","iframe","object","section","svg"]},"doc-abstract":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-acknowledgments":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-afterword":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-appendix":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-backlink":{type:"link",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:!1,allowedElements:[{nodeName:"a",attributes:{href:sh}}]},"doc-biblioentry":{type:"listitem",attributes:{allowed:["aria-expanded","aria-level","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author"],context:["doc-bibliography"],unsupported:!1,allowedElements:["li"]},"doc-bibliography":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:{one:["doc-biblioentry"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-biblioref":{type:"link",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:!1,allowedElements:[{nodeName:"a",attributes:{href:sh}}]},"doc-chapter":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-colophon":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-conclusion":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-cover":{type:"img",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1},"doc-credit":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-credits":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-dedication":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,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:!1,allowedElements:["li"]},"doc-endnotes":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:{one:["doc-endnote"]},namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-epigraph":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1},"doc-epilogue":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-errata":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-example":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["aside","section"]},"doc-footnote":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["aside","footer","header"]},"doc-foreword":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-glossary":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:["term","definition"],namefrom:["author"],context:null,unsupported:!1,allowedElements:["dl"]},"doc-glossref":{type:"link",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author","contents"],context:null,unsupported:!1,allowedElements:[{nodeName:"a",attributes:{href:sh}}]},"doc-index":{type:"navigation",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["nav","section"]},"doc-introduction":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-noteref":{type:"link",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author","contents"],context:null,unsupported:!1,allowedElements:[{nodeName:"a",attributes:{href:sh}}]},"doc-notice":{type:"note",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-pagebreak":{type:"separator",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["hr"]},"doc-pagelist":{type:"navigation",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["nav","section"]},"doc-part":{type:"landmark",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-preface":{type:"landmark",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-prologue":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-pullquote":{type:"none",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["aside","section"]},"doc-qna":{type:"section",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-subtitle":{type:"sectionhead",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:{nodeName:["h1","h2","h3","h4","h5","h6"]}},"doc-tip":{type:"note",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["aside"]},"doc-toc":{type:"navigation",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["nav","section"]},feed:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:{one:["article"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:["article","aside","section"]},figure:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["figure"],unsupported:!1},form:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["form"],unsupported:!1},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:!1},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:!1},group:{type:"structure",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["details","optgroup"],unsupported:!1,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:!1},img:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["img"],unsupported:!1,allowedElements:["embed","iframe","object","svg"]},input:{nameFrom:["author"],type:"abstract",unsupported:!1},landmark:{nameFrom:["author"],type:"abstract",unsupported:!1},link:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["a[href]","area[href]"],unsupported:!1,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:!1},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:!1,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:!1},log:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},main:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["main"],unsupported:!1,allowedElements:["article","section"]},marquee:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},math:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["math"],unsupported:!1},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:!1,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:!1,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:!1,allowedElements:["button","li",{nodeName:"iput",properties:{type:["image","button"]}},{nodeName:"a",attributes:{href:sh}}]},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:!1,allowedElements:[{nodeName:["button","li"]},{nodeName:"input",properties:{type:["checkbox","image","button"]}},{nodeName:"a",attributes:{href:sh}}]},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:!1,allowedElements:[{nodeName:["button","li"]},{nodeName:"input",properties:{type:["image","button","radio"]}},{nodeName:"a",attributes:{href:sh}}]},navigation:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["nav"],unsupported:!1,allowedElements:["section"]},none:{type:"structure",attributes:null,owned:null,nameFrom:["author"],context:null,unsupported:!1,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:sh}}]},note:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,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:!1,allowedElements:[{nodeName:["button","li"]},{nodeName:"input",properties:{type:["checkbox","button"]}},{nodeName:"a",attributes:{href:sh}}]},presentation:{type:"structure",attributes:null,owned:null,nameFrom:["author"],context:null,unsupported:!1,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:sh}}]},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:!1},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:!1,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:!1,allowedElements:{nodeName:["ol","ul","fieldset"]}},range:{nameFrom:["author"],type:"abstract",unsupported:!1},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:!1,allowedElements:{nodeName:["article","aside"]}},roletype:{type:"abstract",unsupported:!1},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:!1},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:!1},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:!1},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:!1},search:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,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:!1,allowedElements:{nodeName:"input",properties:{type:"text"}}},section:{nameFrom:["author","contents"],type:"abstract",unsupported:!1},sectionhead:{nameFrom:["author","contents"],type:"abstract",unsupported:!1},select:{nameFrom:["author"],type:"abstract",unsupported:!1},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:!1,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:!1},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:!1,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:!1,allowedElements:["section"]},structure:{type:"abstract",unsupported:!1},switch:{type:"widget",attributes:{allowed:["aria-errormessage"],required:["aria-checked"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:!1,allowedElements:["button",{nodeName:"input",properties:{type:["checkbox","image","button"]}},{nodeName:"a",attributes:{href:sh}}]},tab:{type:"widget",attributes:{allowed:["aria-selected","aria-expanded","aria-setsize","aria-posinset","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["tablist"],unsupported:!1,allowedElements:[{nodeName:["button","h1","h2","h3","h4","h5","h6","li"]},{nodeName:"input",properties:{type:"button"}},{nodeName:"a",attributes:{href:sh}}]},table:{type:"structure",attributes:{allowed:["aria-colcount","aria-rowcount","aria-errormessage"]},owned:{one:["rowgroup","row"]},nameFrom:["author","contents"],context:null,implicit:["table"],unsupported:!1},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:!1,allowedElements:["ol","ul"]},tabpanel:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},term:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["dt"],unsupported:!1},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:!1},timer:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1},toolbar:{type:"structure",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-orientation","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:['menu[type="toolbar"]'],unsupported:!1,allowedElements:["ol","ul"]},tooltip:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:!1},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:!1,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:!1},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:!1,allowedElements:["li",{nodeName:"a",attributes:{href:sh}}]},widget:{type:"abstract",unsupported:!1},window:{nameFrom:["author"],type:"abstract",unsupported:!1}},lh.implicitHtmlRole=As,lh.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:sh}},{nodeName:"input",properties:{type:["color","data","datatime","file","hidden","month","number","password","range","reset","submit","time","week"]}},{nodeName:"link",attributes:{href:sh}},{nodeName:"menu",attributes:{type:"context"}},{nodeName:"menuitem",attributes:{type:["command","checkbox","radio"]}},{nodeName:"select",condition:function(e){return e instanceof c.AbstractVirtualNode||(e=c.utils.getNodeFromTree(e)),Number(e.attr("size"))>1},properties:{multiple:!0}},{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"]}],lh.elementsAllowedAnyRole=[{nodeName:"a",attributes:{href:uh}},{nodeName:"img",attributes:{alt:uh}},{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"]}],lh.evaluateRoleForElement={A:function(e){var t=e.node,r=e.out;return"http://www.w3.org/2000/svg"===t.namespaceURI||!t.href.length||r},AREA:function(e){return!e.node.href},BUTTON:function(e){var t=e.node,r=e.role,n=e.out;return"menu"===t.getAttribute("type")?"menuitem"===r:n},IMG:function(e){var t=e.node,r=e.role,n=e.out;switch(t.alt){case null:return n;case"":return"presentation"===r||"none"===r;default:return"presentation"!==r&&"none"!==r}},INPUT:function(e){var t=e.node,r=e.role,n=e.out;switch(t.type){case"button":case"image":return n;case"checkbox":return!("button"!==r||!t.hasAttribute("aria-pressed"))||n;case"radio":return"menuitemradio"===r;case"text":return"combobox"===r||"searchbox"===r||"spinbutton"===r;case"tel":return"combobox"===r||"spinbutton"===r;case"url":case"search":case"email":return"combobox"===r;default:return!1}},LI:function(e){var t=e.node,r=e.out;return!c.utils.matchesSelector(t,"ol li, ul li")||r},MENU:function(e){return"context"!==e.node.getAttribute("type")},OPTION:function(e){var t=e.node;return!c.utils.matchesSelector(t,"select > option, datalist > option, optgroup > option")},SELECT:function(e){var t=e.node,r=e.role;return!t.multiple&&t.size<=1&&"menu"===r},SVG:function(e){var t=e.node,r=e.out;return!(!t.parentNode||"http://www.w3.org/2000/svg"!==t.parentNode.namespaceURI)||r}},lh.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 ch=lh,dh=function(e){var t=null,r=ch.role[e];return r&&r.implicit&&(t=io(r.implicit)),t},ph=function(e){return!!JD(e).length};function fh(e){var t,r=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).popupRoles,n=Ws(e);if(null!==(t=r)&&void 0!==t||(r=us["aria-haspopup"].values),!r.includes(n))return!1;var a=function(e){for(;e=e.parent;)if(null!==Ws(e,{noPresentational:!0}))return e;return null}(e);if(mh(a))return!0;var o=e.props.id;if(!o)return!1;if(!e.actualNode)throw new Error("Unable to determine combobox popup without an actualNode");var i=Ai(e.actualNode).querySelectorAll('[aria-owns~="'.concat(o,'"][role~="combobox"]:not(select),\n [aria-controls~="').concat(o,'"][role~="combobox"]:not(select)'));return Array.from(i).some(mh)}var mh=function(e){return e&&"combobox"===Ws(e)},Dh=function(e){return e=to(e),Rl(e)},hh=function(e){var t=ds.ariaRoles[e];return t&&Array.isArray(t.requiredAttrs)?$(t.requiredAttrs):[]},gh=function(e){var t=ds.ariaRoles[e];return t&&Array.isArray(t.requiredContext)?$(t.requiredContext):null},vh=function(e){var t=ds.ariaRoles[e];return t&&Array.isArray(t.requiredOwned)?$(t.requiredOwned):null},bh=function(e,t){var r,n,a=(e=e instanceof oa?e:to(e)).attr(t),o=ds.ariaAttrs[t];if(!o)return!0;if(o.allowEmpty&&(!a||""===a.trim()))return!0;switch(o.type){case"boolean":return["true","false"].includes(a.toLowerCase());case"nmtoken":return"string"==typeof a&&o.values.includes(a.toLowerCase());case"nmtokens":return(n=Uf(a)).reduce(function(e,t){return e&&o.values.includes(t)},0!==n.length);case"idref":try{var i=ki(e.actualNode);return!(!a||!i.getElementById(a))}catch(e){throw new TypeError("Cannot resolve id references for partial DOM")}case"idrefs":return ns(e,t).some(function(e){return!!e});case"string":return""!==a.trim();case"decimal":return!(!(r=a.match(/^[-+]?([0-9]*)\.?([0-9]*)$/))||!r[1]&&!r[2]);case"int":var u=void 0!==o.minValue?o.minValue:-1/0;return/^[-+]?[0-9]+$/.test(a)&&parseInt(a)>=u}},yh=function(e){return!!ds.ariaAttrs[e]};function Fh(e){return"caption"===e.props.nodeName}var wh={};fe(wh,{getAriaRolesByType:function(){return nh},getAriaRolesSupportingNameFromContent:function(){return oh},getElementSpec:function(){return zs},getElementsByContentType:function(){return Ds},getGlobalAriaAttrs:function(){return hs},implicitHtmlRoles:function(){return As}});var Eh=["alert","log","status"];function Ch(e,t){var r=e.actualNode;if("button"===Ws(e)||function(e,t){var r=e.actualNode,n=Ws(e),a=(r.getAttribute("aria-live")||"").toLowerCase().trim(),o=nh("landmark");return!(!["assertive","polite"].includes(a)&&!Eh.includes(n))||(!!o.includes(n)||!(!t.regionMatcher||!qs(e,t.regionMatcher)))}(e,t)||["iframe","frame"].includes(e.props.nodeName)||kf(e.actualNode)&&Hu(e.actualNode,"href")||!Qs(r)){for(var n=e;n;)n._hasRegionDescendant=!0,n=n.parent;return["iframe","frame"].includes(e.props.nodeName)?[e]:[]}return r!==s.body&&Ul(r,!0)&&!function(e){return["none","presentation"].includes(Ws(e))&&!$l(e)}(e)?[e]:e.children.filter(function(e){return 1===e.actualNode.nodeType}).map(function(e){return Ch(e,t)}).reduce(function(e,t){return e.concat(t)},[])}function xh(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 Ah(e){var t=i.getComputedStyle(function(e){for(var t=e,r=e.textContent.trim(),n=r;n===r&&void 0!==t;){var a=-1;if(0===(e=t).children.length)return e;do{a++,n=e.children[a].textContent.trim()}while(""===n&&a+1t.fontSize)&&(!n.weight||e.fontWeight-n.weight>t.fontWeight)&&(!n.italic||e.isItalic&&!t.isItalic)},!1)}var Nh=/[;,\s]/,Bh=/^[0-9.]+$/,Th={};fe(Th,{aria:function(){return YD},color:function(){return Rh},dom:function(){return xi},forms:function(){return dg},matches:function(){return qs},math:function(){return uu},standards:function(){return wh},table:function(){return jD},text:function(){return rs},utils:function(){return ia}});var Rh={};fe(Rh,{Color:function(){return Ef},centerPointOfRect:function(){return Sh},elementHasImage:function(){return lc},elementIsDistinct:function(){return _h},filteredRectStack:function(){return Ph},flattenColors:function(){return jh},flattenShadowColors:function(){return zh},getBackgroundColor:function(){return ag},getBackgroundStack:function(){return Vh},getContrast:function(){return ug},getForegroundColor:function(){return sg},getOwnBackgroundColor:function(){return xf},getRectStack:function(){return Mh},getStackingContext:function(){return Qh},getStrokeColorsFromShadows:function(){return Yh},getTextShadowColors:function(){return Zh},hasValidContrastRatio:function(){return cg},incompleteData:function(){return sc},parseTextShadows:function(){return Xh},stackingContextToColor:function(){return eg}});var Sh=function(e){if(!(e.left>i.innerWidth||e.top>i.innerHeight))return{x:Math.min(Math.ceil(e.left+e.width/2),i.innerWidth-1),y:Math.min(Math.ceil(e.top+e.height/2),i.innerHeight-1)}};function Oh(e){return e.getPropertyValue("font-family").split(/[,;]/g).map(function(e){return e.trim().toLowerCase()})}var _h=function(e,t){var r=i.getComputedStyle(e);if("none"!==r.getPropertyValue("background-image"))return!0;if(["border-bottom","border-top","outline"].reduce(function(e,t){var n=new Ef;return n.parseString(r.getPropertyValue(t+"-color")),e||"none"!==r.getPropertyValue(t+"-style")&&parseFloat(r.getPropertyValue(t+"-width"))>0&&0!==n.alpha},!1))return!0;var n=i.getComputedStyle(t);if(Oh(r)[0]!==Oh(n)[0])return!0;var a=["text-decoration-line","text-decoration-style","font-weight","font-style","font-size"].reduce(function(e,t){return e||r.getPropertyValue(t)!==n.getPropertyValue(t)},!1),o=r.getPropertyValue("text-decoration");return o.split(" ").length<3&&(a=a||o!==n.getPropertyValue("text-decoration")),a},Mh=function(e){var t=Ku(e),r=jl(e);return!r||r.length<=1?[t]:r.some(function(e){return void 0===e})?null:(r.splice(0,0,t),r)},Ph=function(e){var t=Mh(e);if(t&&1===t.length)return t[0];if(t&&t.length>1){var r,n=t.shift();return t.forEach(function(a,o){if(0!==o){var i=t[o-1],u=t[o];r=i.every(function(e,t){return e===u[t]})||n.includes(e)}}),r?t[0]:(sc.set("bgColor","elmPartiallyObscuring"),null)}return sc.set("bgColor","outsideViewport"),null},Ih=["hue","saturation","color","luminosity"],Lh={normal:function(e,t){return t},multiply:function(e,t){return t*e},screen:function(e,t){return e+t-e*t},overlay:function(e,t){return this["hard-light"](t,e)},darken:function(e,t){return Math.min(e,t)},lighten:function(e,t){return Math.max(e,t)},"color-dodge":function(e,t){return 0===e?0:1===t?1:Math.min(1,e/(1-t))},"color-burn":function(e,t){return 1===e?1:0===t?0:1-Math.min(1,(1-e)/t)},"hard-light":function(e,t){return t<=.5?this.multiply(e,2*t):this.screen(e,2*t-1)},"soft-light":function(e,t){return t<=.5?e-(1-2*t)*e*(1-e):e+(2*t-1)*((e<=.25?((16*e-12)*e+4)*e:Math.sqrt(e))-e)},difference:function(e,t){return Math.abs(e-t)},exclusion:function(e,t){return e+t-2*e*t},hue:function(e,t){return t.setSaturation(e.getSaturation()).setLuminosity(e.getLuminosity())},saturation:function(e,t){return e.setSaturation(t.getSaturation()).setLuminosity(e.getLuminosity())},color:function(e,t){return t.setLuminosity(e.getLuminosity())},luminosity:function(e,t){return e.setLuminosity(t.getLuminosity())}};function jh(e,t){var r,n=function(e,t,r){if(Ih.includes(r))return Lh[r](e,t);var n=new Ef;return["r","g","b"].forEach(function(a){n[a]=Lh[r](e[a],t[a])}),n}(t,e,arguments.length>2&&void 0!==arguments[2]?arguments[2]:"normal"),a=qh(e.red,e.alpha,t.red,t.alpha,255*n.r),o=qh(e.green,e.alpha,t.green,t.alpha,255*n.g),i=qh(e.blue,e.alpha,t.blue,t.alpha,255*n.b),u=(r=e.alpha+t.alpha*(1-e.alpha),Math.min(Math.max(0,r),1));if(0===u)return new Ef(a,o,i,u);var s=Math.round(a/u),l=Math.round(o/u),c=Math.round(i/u);return new Ef(s,l,c,u)}function qh(e,t,r,n,a){return t*(1-n)*e+t*n*a+(1-t)*n*r}function zh(e,t){var r=e.alpha,n=(1-r)*t.red+r*e.red,a=(1-r)*t.green+r*e.green,o=(1-r)*t.blue+r*e.blue,i=e.alpha+t.alpha*(1-e.alpha);return new Ef(n,a,o,i)}function Vh(e){for(var t=jl(e).map(function(t){return function(e){var t=e.indexOf(s.body),r=e,n=xf(i.getComputedStyle(s.documentElement));if(t>1&&0===n.alpha&&!lc(s.documentElement)){t>1&&(r.splice(t,1),r.push(s.body));var a=r.indexOf(s.documentElement);a>0&&(r.splice(a,1),r.push(s.documentElement))}return r}(t=Sf(t,e))}),r=0;r1&&void 0!==arguments[1]?arguments[1]:{}).ignoreEdgeCount,r=void 0!==t&&t,n=function(e){var t,r={},n=Q(e);try{for(n.s();!(t=n.n()).done;){var a,o=t.value,i=o.colorStr,u=o.pixels;null!==(a=r[i])&&void 0!==a||(r[i]={top:[],right:[],bottom:[],left:[]});var s=r[i],l=G(u,2),c=l[0],d=l[1];c>Uh?s.right.push(c):-c>Uh&&s.left.push(-c),d>Uh?s.bottom.push(d):-d>Uh&&s.top.push(-d)}}catch(e){n.e(e)}finally{n.f()}return r}(e),a=Object.entries(n).map(function(e){var t=G(e,2),r=t[0],n=t[1],a=Wh.filter(function(e){return 0!==n[e].length}).length;return{colorStr:r,sides:n,edgeCount:a}});return!r&&a.some(function(e){var t=e.edgeCount;return t>1&&t<4})?null:a.map(Kh).filter(function(e){return null!==e})}function Kh(e){var t=e.colorStr,r=e.sides;if(4!==e.edgeCount)return null;var n=new Ef;n.parseString(t);var a=0,o=!0;return Wh.forEach(function(e){a+=r[e].length/4,o&&(o=r[e].every(function(e){return e>Gh}))}),o||(n.alpha=1-Math.pow(Hh,a)),n}function Xh(e){var t={pixels:[]},r=e.trim(),n=[t];if(!r)return[];for(;r;){var a=r.match(/^[a-z]+(\([^)]+\))?/i)||r.match(/^#[0-9a-f]+/i),o=r.match(/^([0-9.-]+)px/i)||r.match(/^(0)/);if(a)ba(!t.colorStr,"Multiple colors identified in text-shadow: ".concat(e)),r=r.replace(a[0],"").trim(),t.colorStr=a[0];else if(o){ba(t.pixels.length<3,"Too many pixel units in text-shadow: ".concat(e)),r=r.replace(o[0],"").trim();var i=parseFloat(("."===o[1][0]?"0":"")+o[1]);t.pixels.push(i)}else{if(","!==r[0])throw new Error("Unable to process text-shadows: ".concat(r));ba(t.pixels.length>=2,"Missing pixel value in text-shadow: ".concat(e)),t={pixels:[]},n.push(t),r=r.substr(1).trim()}}return n.forEach(function(e){var t=e.pixels;2===t.length&&t.push(0)}),n}function Zh(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.minRatio,n=t.maxRatio,a=t.ignoreEdgeCount,o=[],u=i.getComputedStyle(e),s=u.getPropertyValue("text-shadow");if("none"===s)return o;var l=u.getPropertyValue("font-size"),c=parseInt(l);ba(!1===isNaN(c),"Unable to determine font-size value ".concat(l));var d,p=[],f=Q(Xh(s));try{for(f.s();!(d=f.n()).done;){var m=d.value,D=m.colorStr||u.getPropertyValue("color"),h=G(m.pixels,3),g=h[0],v=h[1],b=h[2],y=void 0===b?0:b;if(!(n&&y>=c*n))if(r&&y0){var F=Yh(p,{ignoreEdgeCount:a});if(null===F)return null;o.push.apply(o,$(F)),p.splice(0,p.length)}var w=Jh({colorStr:D,offsetX:g,offsetY:v,blurRadius:y,fontSize:c});o.push(w)}}}catch(e){f.e(e)}finally{f.f()}if(p.length>0){var E=Yh(p,{ignoreEdgeCount:a});if(null===E)return null;o.push.apply(o,$(E))}return o}function Jh(e){var t=e.colorStr,r=e.offsetX,n=e.offsetY,a=e.blurRadius,o=e.fontSize;if(r>a||n>a)return new Ef(0,0,0,0);var i=new Ef;return i.parseString(t),i.alpha*=function(e,t){return 0===e?1:.185/(e/t+.4)}(a,o),i}function Qh(e,t){var r,n=to(e);if(n._stackingContext)return n._stackingContext;var a=[],o=new Map;return(t=null!==(r=t)&&void 0!==r?r:Vh(e)).forEach(function(e){var t,r=to(e),n=function(e){var t=new Ef;return t.parseString(e.getComputedStylePropertyValue("background-color")),t}(r),i=r._stackingOrder.filter(function(e){return!!e.vNode});i.forEach(function(e,t){var r,n=e.vNode,u=null===(r=i[t-1])||void 0===r?void 0:r.vNode,s=ng(o,n,u);0!==t||o.get(n)||a.unshift(s),o.set(n,s)});var u=null===(t=i[i.length-1])||void 0===t?void 0:t.vNode,s=ng(o,r,u);i.length||a.unshift(s),s.bgColor=n}),n._stackingContext=a,a}function eg(e){var t;if(null===(t=e.descendants)||void 0===t||!t.length){var r=e.bgColor;return r.alpha*=e.opacity,{color:r,blendMode:e.blendMode}}var n=jh(e.descendants.reduce(tg,rg()),e.bgColor,e.descendants[0].blendMode);return n.alpha*=e.opacity,{color:n,blendMode:e.blendMode}}function tg(e,t){var r;return r=e instanceof Ef?e:eg(e).color,jh(eg(t).color,r,t.blendMode)}function rg(e,t){var r,n;return{vNode:e,ancestor:t,opacity:parseFloat(null!==(r=null==e?void 0:e.getComputedStylePropertyValue("opacity"))&&void 0!==r?r:1),bgColor:new Ef(0,0,0,0),blendMode:(n=null==e?void 0:e.getComputedStylePropertyValue("mix-blend-mode"),n||void 0),descendants:[]}}function ng(e,t,r){var n,a=e.get(r),o=null!==(n=e.get(t))&&void 0!==n?n:rg(t,a);return a&&r!==t&&!a.descendants.includes(o)&&a.descendants.unshift(o),o}function ag(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:.1,n=to(e),a=n._cache.getBackgroundColor;if(a)return t.push.apply(t,$(a.bgElms)),sc.set("bgColor",a.incompleteData),a.bgColor;var o=function(e,t,r){var n,a,o=Vh(e);if(!o)return null;var u=Il(e),l=null!==(n=Zh(e,{minRatio:r,ignoreEdgeCount:!0}))&&void 0!==n?n:[];l.length&&(l=[{color:l.reduce(zh)}]);for(var c=0;c=r.top&&e.bottom<=a&&e.left>=r.left&&e.right<=n})}function ig(e){return e||void 0}var ug=function(e,t){if(!t||!e)return null;t.alpha<1&&(t=jh(t,e));var r=e.getRelativeLuminance(),n=t.getRelativeLuminance();return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)};function sg(e,t,r){for(var n,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=i.getComputedStyle(e),u=[function(){return function(e,t){var r=t.textStrokeEmMin,n=void 0===r?0:r,a=parseFloat(e.getPropertyValue("-webkit-text-stroke-width"));if(0===a)return null;var o=e.getPropertyValue("font-size"),i=a/parseFloat(o);if(isNaN(i)||io,contrastRatio:a,expectedContrastRatio:o}},dg={};fe(dg,{isAriaCombobox:function(){return ul},isAriaListbox:function(){return il},isAriaRange:function(){return ll},isAriaTextbox:function(){return ol},isDisabled:function(){return fg},isNativeSelect:function(){return al},isNativeTextbox:function(){return nl}});var pg=["fieldset","button","select","input","textarea"],fg=function e(t){var r=t._isDisabled;if("boolean"==typeof r)return r;var n=t.props.nodeName,a=t.attr("aria-disabled");return r=!(!pg.includes(n)||!t.hasAttr("disabled"))||(a?"true"===a.toLowerCase():!!t.parent&&e(t.parent)),t._isDisabled=r,r};function mg(e,t){if(!e||!t)return!1;var r=Object.getOwnPropertyNames(e),n=Object.getOwnPropertyNames(t);return r.length===n.length&&r.every(function(r){var n=e[r],a=t[r];return l(n)===l(a)&&("object"===l(n)||"object"===l(a)?mg(n,a):n===a)})}function Dg(e){var t=Ws(e),r=t&&t.includes("heading"),n=e.attr("aria-level"),a=parseInt(n,10),o=G(e.props.nodeName.match(/h(\d)/)||[],2)[1];return r?o&&!n?parseInt(o,10):isNaN(a)||a<1?o?parseInt(o,10):2:a||-1:-1}function hg(e,t){var r,n=null===(r=t.data)||void 0===r?void 0:r.headingOrder,a=vg(t.node.ancestry,1);if(!n)return e;var o=n.map(function(e){return function(e,t){return U({},e,{ancestry:t.concat(e.ancestry)})}(e,a)}),i=function(e,t){for(;t.length;){var r=gg(e,t);if(-1!==r)return r;t=vg(t,1)}return-1}(e,a);return-1===i?e.push.apply(e,$(o)):e.splice.apply(e,[i,0].concat($(o))),e}function gg(e,t){return e.findIndex(function(e){return Gm(e.ancestry,t)})}function vg(e,t){return e.slice(0,e.length-t)}function bg(e,t){var r=e.boundingClientRect,n=t.boundingClientRect;return r.top>=n.top&&r.left>=n.left&&r.bottom<=n.bottom&&r.right<=n.right}function yg(e){return e.getComputedStylePropertyValue("pointer-events")}function Fg(e){return{width:Math.round(10*e.width)/10,height:Math.round(10*e.height)/10}}function wg(e,t){return yi(e,t)&&!Qu(t)}function Eg(e){return e.map(function(e){return e.actualNode})}function Cg(e){return Math.round(10*e)/10}function xg(e,t,r){var n=r.validRoles,a=void 0===n?[]:n,o=r.validNodeNames,i=void 0===o?[]:o,u=e.props,s=u.nodeName,l=u.nodeType,c=u.nodeValue,d=t?"div > ":"";if(3===l&&""!==c.trim())return d+"#text";if(1!==l||!Qs(e))return!1;var p=ms(e);return p?!a.includes(p)&&d+"[role=".concat(p,"]"):!i.includes(s)&&d+s}function Ag(e){return"div"===e.props.nodeName&&null===ms(e)}function kg(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e.map(function(e){return{vChild:e,nested:t}})}function Ng(e){return""!==(e||"").trim()}function Bg(e){var t=kl(e,{emoji:!0,nonBmp:!0,punctuations:!0});return ws(t)}function Tg(e){if(!e.children){if(1===e.props.nodeType)throw new Error("Cannot determine children");return[]}var t=[];return e.children.forEach(function(e){"widget"===Jl(e)&&Ju(e)?t.push(e):t.push.apply(t,$(Tg(e)))}),t}function Rg(e){var t=Jm(e.attr("tabindex"));return null!==t&&t<0}function Sg(e){if(Qu(e))return!0;if(!e.children){if(1===e.props.nodeType)throw new Error("Cannot determine children");return!1}return e.children.some(function(e){return Sg(e)})}var Og=["block","list-item","table","flex","grid","inline-block"];function _g(e){var t=i.getComputedStyle(e).getPropertyValue("display");return-1!==Og.indexOf(t)||"table-"===t.substr(0,6)}function Mg(e,t){var r=e.getRelativeLuminance(),n=t.getRelativeLuminance();return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}var Pg=["block","list-item","table","flex","grid","inline-block"];function Ig(e){var t=i.getComputedStyle(e).getPropertyValue("display");return-1!==Pg.indexOf(t)||"table-"===t.substr(0,6)}var Lg=Ba(function(e,t){var r=i.getComputedStyle(e,t),n=function(e,t){return r.getPropertyValue(e)===t};if(n("content","none")||n("display","none")||n("visibility","hidden")||!1===n("position","absolute"))return 0;if(0===xf(r).alpha&&n("background-image","none"))return 0;var a=jg(r.getPropertyValue("width")),o=jg(r.getPropertyValue("height"));return"px"!==a.unit||"px"!==o.unit?0===a.value||0===o.value?0:1/0:a.value*o.value});function jg(e){var t=G(e.match(/^([0-9.]+)([a-z]+)$/i)||[],3),r=t[1],n=void 0===r?"":r,a=t[2],o=void 0===a?"":a;return{value:parseFloat(n),unit:o.toLowerCase()}}var qg={ARTICLE:!0,ASIDE:!0,NAV:!0,SECTION:!0},zg={alert:!0,alertdialog:!0,application:!0,article:!0,banner:!1,complementary:!0,contentinfo:!0,dialog:!0,form:!0,log:!0,main:!0,navigation:!0,region:!0,search:!1,status:!0,tabpanel:!0};function Vg(e,t,r,n){var a=ms(e);if(r||(r=gh(a)),!r)return null;for(var o=r.includes("group"),i=n?e:e.parent;i;){var u=Ws(i,{noPresentational:!0});if(u){if("group"!==u||!o)return r.includes(u)?null:r;t.includes(a)&&r.push(a),r=r.filter(function(e){return"group"!==e}),i=i.parent}else i=i.parent}return r}function $g(e){var t=e.vNode;return 3===t.props.nodeType?t.props.nodeValue.trim().length>0:Hl(t,!1,!0)}var Hg=Ba(function(e){if(e){var t=Ws(e,{noPresentational:!0,chromium:!0});return t?Jl(t):Hg(e.parent)}});function Ug(e){var t,r,n=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).invalidTableRowAttrs,a=arguments.length>2?arguments[2]:void 0,o=null!==(t=null==n||null===(r=n.filter)||void 0===r?void 0:r.call(n,function(e){return a.hasAttr(e)}))&&void 0!==t?t:[];if(0===o.length)return!0;var i=function(e){if(e.parent)return Eo(e,'table:not([role]), [role~="treegrid"], [role~="table"], [role~="grid"]')}(a),u=i&&Ws(i);if(!u||"treegrid"===u)return!0;var s="row".concat(o.length>1?"Plural":"Singular");return this.data({messageKey:s,invalidAttrs:o,ownerRole:u}),!1}function Gg(e,t,r){var n,a=r.props,o=a.nodeName,i=a.type,u=(n=r.attr("aria-checked"))?(n=n.toLowerCase(),["mixed","true"].includes(n)?n:"false"):"";if("input"!==o||"checkbox"!==i||!u)return!0;var s,l=(s=r).props.indeterminate?"mixed":s.props.checked?"true":"false";return u===l||(this.data({messageKey:"checkbox",checkState:l}),!1)}var Wg={row:Ug,checkbox:Gg};function Yg(e,t,r){return"aria-required"===e&&"false"===t||!("aria-multiline"!==e||"false"!==t||!r.hasAttr("contenteditable"))}var Kg=function(e,t){try{return"svg"===t.props.nodeName||!!Eo(t,"svg")}catch(e){return!1}},Xg=[function(e,t){return Zg(t)},function(e,t){return function(e){return"area"!==e.props.nodeName}(t)},function(e,t){return!Kg(0,t)},function(e,t){return Ju(t)},function(e,t){return Qu(t)||!Jg(t)},function(e){return!rc(e,{noLengthCompare:!0})}];function Zg(e){return"widget"===Jl(e)}var Jg=Ba(function e(t){return!(null==t||!t.parent)&&(!(!Zg(t.parent)||!Qu(t.parent))||e(t.parent))}),Qg=function(e,t){var r=ms(t);return!(r&&!["none","presentation"].includes(r)&&!(ss[r]||{}).accessibleNameRequired&&!Ju(t))};function ev(e){var t;if(null==e||null===(t=e.ownerDocument)||void 0===t||!t.createRange)return!0;var r=e.ownerDocument.createRange();return r.setStart(e,0),r.setEnd(e,e.childNodes.length),0===r.getClientRects().length}var tv=function(e,t,r){return r.initiator},rv={emoji:!0,nonBmp:!1,punctuations:!0};function nv(e){return!e||"true"!==e.getAttribute("aria-hidden")&&nv(Zi(e))}var av={"abstractrole-evaluate":function(e,t,r){var n=Uf(r.attr("role")).filter(function(e){return"abstract"===Jl(e)});return n.length>0&&(this.data(n),!0)},"accesskeys-after":function(e){var t={};return e.filter(function(e){if(!e.data)return!1;var r=e.data.toUpperCase();return t[r]?(t[r].relatedNodes.push(e.relatedNodes[0]),!1):(t[r]=e,e.relatedNodes=[],!0)}).map(function(e){return e.result=!!e.relatedNodes.length,e})},"accesskeys-evaluate":function(e,t,r){return Yi(r)||(this.data(r.attr("accesskey")),this.relatedNodes([e])),!0},"alt-space-value-evaluate":function(e,t,r){var n=r.attr("alt");return"string"==typeof n&&/^\s+$/.test(n)},"aria-allowed-attr-evaluate":function(e,t,r){var n=[],a=Ws(r),o=KD(a);Array.isArray(t[a])&&(o=tD(t[a].concat(o)));var i,u=Q(r.attrNames);try{for(u.s();!(i=u.n()).done;){var s=i.value;!yh(s)||o.includes(s)||Yg(s,r.attr(s),r)||n.push(s)}}catch(e){u.e(e)}finally{u.f()}return!n.length||(this.data(n.map(function(e){return e+'="'+r.attr(e)+'"'})),!(a||$m(r)||Ju(r))&&void 0)},"aria-allowed-attr-matches":function(e,t){var r=/^aria-/,n=t.attrNames;if(n.length)for(var a=0,o=n.length;a1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=t.allowImplicit,a=void 0===n||n,o=t.ignoredTags,i=void 0===o?[]:o,u=r.props.nodeName;if(i.map(function(e){return e.toLowerCase()}).includes(u))return!0;var s=rh(r,a);if(s.length){if(this.data(s),!Qs(r))return;return!1}return!0},"aria-allowed-role-matches":function(e,t){return null!==ms(t,{dpub:!0,fallback:!0})},"aria-busy-evaluate":function(e,t,r){return"true"===r.attr("aria-busy")},"aria-conditional-attr-evaluate":function(e,t,r){var n=Ws(r);return!Wg[n]||Wg[n].call(this,e,t,r)},"aria-conditional-checkbox-attr-evaluate":Gg,"aria-conditional-row-attr-evaluate":Ug,"aria-errormessage-evaluate":function(e,t,r){t=Array.isArray(t)?t:[];var n=r.attr("aria-errormessage"),a=r.hasAttr("aria-errormessage"),o=r.attr("aria-invalid");return!r.hasAttr("aria-invalid")||"false"===o||-1!==t.indexOf(n)||!a||(this.data(Uf(n)),function(e){if(""===e.trim())return ds.ariaAttrs["aria-errormessage"].allowEmpty;var t;try{t=e&&ns(r,"aria-errormessage")[0]}catch(t){return void this.data({messageKey:"idrefs",values:Uf(e)})}return t?Qs(t)?"alert"===t.getAttribute("role")||"assertive"===t.getAttribute("aria-live")||"polite"===t.getAttribute("aria-live")||Uf(r.attr("aria-describedby")).indexOf(e)>-1:(this.data({messageKey:"hidden",values:Uf(e)}),!1):void 0}.call(this,n))},"aria-has-attr-matches":function(e,t){var r=/^aria-/;return t.attrNames.some(function(e){return r.test(e)})},"aria-hidden-body-evaluate":function(e,t,r){return"true"!==r.attr("aria-hidden")},"aria-hidden-focus-matches":function(e){return nv(Zi(e))},"aria-label-evaluate":function(e,t,r){return!!ws(is(r))},"aria-labelledby-evaluate":function(e,t,r){try{return!!ws(os(r))}catch(e){return}},"aria-level-evaluate":function(e,t,r){var n=r.attr("aria-level");if(!(parseInt(n,10)>6))return!0},"aria-prohibited-attr-evaluate":function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=(null==t?void 0:t.elementsAllowedAriaLabel)||[],a=r.props.nodeName,o=Ws(r,{chromium:!0}),i=function(e,t,r,n){var a=ds.ariaRoles[t];return a?a.prohibitedAttrs||[]:t||n.includes(r)||"widget"===Hg(e)?[]:["aria-label","aria-labelledby"]}(r,o,a,n).filter(function(e){return!!r.attrNames.includes(e)&&""!==ws(r.attr(e))});if(0===i.length)return!1;var u=r.hasAttr("role")?"hasRole":"noRole";u+=i.length>1?"Plural":"Singular",this.data({role:o,nodeName:a,messageKey:u,prohibited:i});var s=Dl(r,{subtreeDescendant:!0});return""===ws(s)||void 0},"aria-required-attr-evaluate":function(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,a=ms(n),o=n.attrNames,i=hh(a);if(Array.isArray(r[a])&&(i=tD(r[a],i)),!a||!o.length||!i.length)return!0;if(function(e,t){return"separator"===t&&!Ju(e)}(n,a)||function(e,t){return"combobox"===t&&"false"===e.attr("aria-expanded")}(n,a))return!0;if("slider"===a&&null!==(t=n.attr("aria-valuetext"))&&void 0!==t&&t.trim())return!0;var u=zs(n),s=i.filter(function(e){return!n.attr(e)&&!function(e,t){var r;return void 0!==(null===(r=e.implicitAttrs)||void 0===r?void 0:r[t])}(u,e)});return!s.length||(this.data(s),!1)},"aria-required-children-evaluate":function(e,t,r){var n=t&&Array.isArray(t.reviewEmpty)?t.reviewEmpty:[],a=ms(r,{dpub:!0}),o=vh(a);if(null===o)return!0;var i=function(e,t){for(var r,n=[],a=Zs(e),o=function(){if(3===r.props.nodeType&&n.push({vNode:r,role:null}),1!==r.props.nodeType||!Qs(r))return 1;var e=Ws(r,{noPresentational:!0}),o=function(e){return hs().find(function(t){return e.hasAttr(t)})}(r),i=!!o||Ju(r);if(!e&&!i||["group","rowgroup"].includes(e)&&t.some(function(t){return t===e}))a.push.apply(a,$(r.children));else if(e||i){var u=o||"tabindex";n.push({role:e,attr:u,vNode:r})}};r=a.shift();)o();return n}(r,o),u=i.filter(function(e){var t=e.role;return 1===e.vNode.props.nodeType&&!o.includes(t)});return u.length?(this.relatedNodes(u.map(function(e){return e.vNode})),this.data({messageKey:"unallowed",values:u.map(function(e){return function(e,t){var r=e.props,n=r.nodeName;if(3===r.nodeType)return"#text";var a=ms(e,{dpub:!0});return a?"[role=".concat(a,"]"):t?n+"[".concat(t,"]"):n}(e.vNode,e.attr)}).filter(function(e,t,r){return r.indexOf(e)===t}).join(", ")}),!1):!!function(e,t){return t.some(function(t){var r=t.role;return r&&e.includes(r)})}(o,i)||("true"===r.attr("aria-busy")?(this.data({messageKey:"aria-busy"}),!0):(this.data(o),!(!n.includes(a)||i.some($g))&&void 0))},"aria-required-children-matches":function(e,t){var r=ms(t,{dpub:!0});return!!vh(r)},"aria-required-parent-evaluate":function(e,t,r){var n=t&&Array.isArray(t.ownGroupRoles)?t.ownGroupRoles:[],a=Vg(r,n);if(!a)return!0;var o=function(e){for(var t=[],r=null;e;){if(e.getAttribute("id")){var n=Fa(e.getAttribute("id"));(r=ki(e).querySelector("[aria-owns~=".concat(n,"]")))&&t.push(r)}e=e.parentElement}return t.length?t:null}(e);if(o)for(var i=0,u=o.length;i1&&void 0!==arguments[1]?arguments[1]:{},r=Ws(arguments.length>2?arguments[2]:void 0);return!!(t.supportedRoles||[]).includes(r)||!(!r||"presentation"===r||"none"===r)&&void 0},"aria-unsupported-attr-evaluate":function(e,t,r){var n=r.attrNames.filter(function(t){var r=ds.ariaAttrs[t];if(!yh(t))return!1;var n=r.unsupported;return"object"!==l(n)?!!n:!qs(e,n.exceptions)});return!!n.length&&(this.data(n),!0)},"aria-valid-attr-evaluate":function(e,t,r){t=Array.isArray(t.value)?t.value:[];var n=[],a=/^aria-/;return r.attrNames.forEach(function(e){-1===t.indexOf(e)&&a.test(e)&&!yh(e)&&n.push(e)}),!n.length||(this.data(n),!1)},"aria-valid-attr-value-evaluate":function(e,t,r){t=Array.isArray(t.value)?t.value:[];var n="",a="",o=[],i=/^aria-/,u=["aria-errormessage"],s={"aria-controls":function(){var e=!1===["false",null].includes(r.attr("aria-haspopup"));return e&&(n='aria-controls="'.concat(r.attr("aria-controls"),'"'),a="controlsWithinPopup"),"false"!==r.attr("aria-expanded")&&"false"!==r.attr("aria-selected")&&!1===e},"aria-current":function(e){e||(n='aria-current="'.concat(r.attr("aria-current"),'"'),a="ariaCurrent")},"aria-owns":function(){return"false"!==r.attr("aria-expanded")},"aria-describedby":function(e){e||(n='aria-describedby="'.concat(r.attr("aria-describedby"),'"'),a=c._tree&&c._tree[0]._hasShadowRoot?"noIdShadow":"noId")},"aria-labelledby":function(e){e||(n='aria-labelledby="'.concat(r.attr("aria-labelledby"),'"'),a=c._tree&&c._tree[0]._hasShadowRoot?"noIdShadow":"noId")}};return r.attrNames.forEach(function(e){if(!u.includes(e)&&!t.includes(e)&&i.test(e)){var l,c=r.attr(e);try{l=bh(r,e)}catch(t){return n="".concat(e,'="').concat(c,'"'),void(a="idrefs")}s[e]&&!s[e](l)||l||(""!==c||function(e){var t;return"string"===(null===(t=ds.ariaAttrs[e])||void 0===t?void 0:t.type)}(e)?o.push("".concat(e,'="').concat(c,'"')):(n=e,a="empty"))}}),o.length?(this.data(o),!1):!n||void this.data({messageKey:a,needsReview:n})},"attr-non-space-content-evaluate":function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0;if(!t.attribute||"string"!=typeof t.attribute)throw new TypeError("attr-non-space-content requires options.attribute to be a string");if(!r.hasAttr(t.attribute))return this.data({messageKey:"noAttr"}),!1;var n=r.attr(t.attribute);return!!ws(n)||(this.data({messageKey:"emptyAttr"}),!1)},"autocomplete-appropriate-evaluate":function(e,t,r){if("input"!==r.props.nodeName)return!0;var n=["text","search","number","tel"],a=["text","search","url"],o={bday:["text","search","date"],email:["text","search","email"],username:["text","search","email"],"street-address":["text"],tel:["text","search","tel"],"tel-country-code":["text","search","tel"],"tel-national":["text","search","tel"],"tel-area-code":["text","search","tel"],"tel-local":["text","search","tel"],"tel-local-prefix":["text","search","tel"],"tel-local-suffix":["text","search","tel"],"tel-extension":["text","search","tel"],"cc-number":n,"cc-exp":["text","search","month","tel"],"cc-exp-month":n,"cc-exp-year":n,"cc-csc":n,"transaction-amount":n,"bday-day":n,"bday-month":n,"bday-year":n,"new-password":["text","search","password"],"current-password":["text","search","password"],url:a,photo:a,impp:a};"object"===l(t)&&Object.keys(t).forEach(function(e){o[e]||(o[e]=[]),o[e]=o[e].concat(t[e])});var i=r.attr("autocomplete").split(/\s+/g).map(function(e){return e.toLowerCase()}),u=i[i.length-1];if(Bl.stateTerms.includes(u))return!0;var s=o[u],c=r.hasAttr("type")?ws(r.attr("type")).toLowerCase():"text";return c=AD().includes(c)?c:"text",void 0===s?"text"===c:s.includes(c)},"autocomplete-matches":function(e,t){var r=t.attr("autocomplete");if(!r||""===ws(r))return!1;var n=t.props.nodeName;if(!1===["textarea","input","select"].includes(n))return!1;if("input"===n&&["submit","reset","button","hidden"].includes(t.props.type))return!1;var a=t.attr("aria-disabled")||"false";if(t.hasAttr("disabled")||"true"===a.toLowerCase())return!1;var o=t.attr("role"),i=Jm(t.attr("tabindex"));if(i<0&&o){var u=ds.ariaRoles[o];if(void 0===u||"widget"!==u.type)return!1}return!(i<0&&t.actualNode&&!nu(t)&&!Qs(t))},"autocomplete-valid-evaluate":function(e,t,r){var n=r.attr("autocomplete")||"";return Tl(n,t)},"avoid-inline-spacing-evaluate":function(e,t){var r=t.cssProperties.filter(function(t){if("important"===e.style.getPropertyPriority(t))return t});return!(r.length>0&&(this.data(r),1))},"braille-label-equivalent-evaluate":function(e,t,r){var n;if(!(null!==(n=r.attr("aria-braillelabel"))&&void 0!==n?n:"").trim())return!0;try{return""!==ws(xl(r))}catch(e){return}},"braille-roledescription-equivalent-evaluate":function(e,t,r){var n,a=null!==(n=r.attr("aria-brailleroledescription"))&&void 0!==n?n:"";if(""===ws(a))return!0;var o=r.attr("aria-roledescription");return"string"!=typeof o?(this.data({messageKey:"noRoleDescription"}),!1):""!==ws(o)||(this.data({messageKey:"emptyRoleDescription"}),!1)},"bypass-matches":function(e,t,r){return!tv(0,0,r)||!!e.querySelector("a[href]")},"caption-evaluate":function(e,t,r){return!mD(r,"track").some(function(e){return"captions"===(e.attr("kind")||"").toLowerCase()})&&void 0},"caption-faked-evaluate":function(e){var t=gs(e),r=t[0];return t.length<=1||r.length<=1||e.rows.length<=1||r.reduce(function(e,t,n){return e||t!==r[n+1]&&void 0!==r[n+1]},!1)},"color-contrast-evaluate":function(e,t,r){var n=t.ignoreUnicode,a=t.ignoreLength,o=t.ignorePseudo,u=t.boldValue,s=t.boldTextPt,l=t.largeTextPt,c=t.contrastRatio,d=t.shadowOutlineEmMax,p=t.pseudoSizeThreshold;if(!nu(e))return this.data({messageKey:"hidden"}),!0;var f=tl(r,!1,!0);if(n&&function(e){var t={nonBmp:!0},r=El(e,t),n=""===ws(kl(e,t));return r&&n}(f))this.data({messageKey:"nonBmp"});else{var m=i.getComputedStyle(e),D=parseFloat(m.getPropertyValue("font-size")),h=m.getPropertyValue("font-weight"),g=parseFloat(h)>=u||"bold"===h,v=Math.ceil(72*D)/96,b=g&&vi)return e}while(e=e.parent)}}(r,{ignorePseudo:o,pseudoSizeThreshold:p});if(E)return this.data({fontSize:"".concat((72*D/96).toFixed(1),"pt (").concat(D,"px)"),fontWeight:g?"bold":"normal",messageKey:"pseudoContent",expectedContrastRatio:y+":1"}),void this.relatedNodes(E.actualNode);var C=Zh(e,{minRatio:.001,maxRatio:d});if(null!==C){var x=[],A=ag(e,x,d),k=sg(e,!1,A,t),N=null,B=null,T=null;if(0===C.length)N=ug(A,k);else if(k&&A){T=[].concat($(C),[A]).reduce(zh);var R=ug(A,k),S=ug(A,T),O=ug(T,k);(N=Math.max(R,S,O))!==R&&(B=S>O?"shadowOnBgColor":"fgOnShadowColor")}var _=N>y;if("number"==typeof F&&("number"!=typeof N||Nw))return this.data({contrastRatio:N}),!0;var M,P=Math.floor(100*N)/100;null===A?M=sc.get("bgColor"):_||(M=B);var I=1===P,L=1===f.length;return I?M=sc.set("bgColor","equalRatio"):_||!L||a||(M="shortTextContent"),this.data({fgColor:k?k.toHexString():void 0,bgColor:A?A.toHexString():void 0,contrastRatio:P,fontSize:"".concat((72*D/96).toFixed(1),"pt (").concat(D,"px)"),fontWeight:g?"bold":"normal",messageKey:M,expectedContrastRatio:y+":1",shadowColor:T?T.toHexString():void 0}),null===k||null===A||I||L&&!a&&!_?(M=null,sc.clear(),void this.relatedNodes(x)):(_||this.relatedNodes(x),_)}this.data({messageKey:"complexTextShadows"})}},"color-contrast-matches":function(e,t){var r=t.props,n=r.nodeName,a=r.type;if("option"===n)return!1;if("select"===n&&!e.options.length)return!1;if("input"===n&&["hidden","range","color","checkbox","radio","image"].includes(a))return!1;if(fg(t)||Pu(t))return!1;if(["input","select","textarea"].includes(n)){var o=i.getComputedStyle(e),u=parseInt(o.getPropertyValue("text-indent"),10);if(u){var l=e.getBoundingClientRect();if(l={top:l.top,bottom:l.bottom,left:l.left+u,right:l.right+u},!zf(l,e))return!1}return!0}var c=Bi(t,"label");if("label"===n||c){var d=c||e,p=c?to(c):t;if(d.htmlFor){var f=ki(d).getElementById(d.htmlFor),m=f&&to(f);if(m&&fg(m))return!1}var D=mD(p,'input:not([type="hidden"],[type="image"],[type="button"],[type="submit"],[type="reset"]), select, textarea')[0];if(D&&fg(D))return!1}for(var h=[],g=t;g;){if(g.props.id){var v=JD(g).filter(function(e){return Uf(e.getAttribute("aria-labelledby")||"").includes(g.props.id)}).map(function(e){return to(e)});h.push.apply(h,$(v))}g=g.parent}if(h.length>0&&h.every(fg))return!1;if(!function(e){var t=tl(e,!1,!0);return""!==t&&""!==kl(t,rv)&&e.children.some(function(e){return"#text"===e.props.nodeName&&!Cl(e)})}(t))return!1;for(var b=s.createRange(),y=t.children,F=0;F=3&&t[0].length>=3&&t[1].length>=3&&t[2].length>=3}return!1},"data-table-matches":function(e){return HD(e)},"deprecatedrole-evaluate":function(e,t,r){var n=Ws(r,{dpub:!0,fallback:!0}),a=ds.ariaRoles[n];return!(null==a||!a.deprecated||(this.data(n),0))},"dlitem-evaluate":function(e){var t=Zi(e),r=t.nodeName.toUpperCase(),n=ms(t);return"DIV"===r&&["presentation","none",null].includes(n)&&(r=(t=Zi(t)).nodeName.toUpperCase(),n=ms(t)),"DL"===r&&!(n&&!["presentation","none","list"].includes(n))},"doc-has-title-evaluate":function(){var e=s.title;return!!ws(e)},"duplicate-id-active-matches":function(e){var t=e.getAttribute("id").trim(),r='*[id="'.concat(Fa(t),'"]'),n=Array.from(ki(e).querySelectorAll(r));return!ph(e)&&n.some(Ju)},"duplicate-id-after":function(e){var t=[];return e.filter(function(e){return-1===t.indexOf(e.data)&&(t.push(e.data),!0)})},"duplicate-id-aria-matches":function(e){return ph(e)},"duplicate-id-evaluate":function(e){var t=e.getAttribute("id").trim();if(!t)return!0;var r=ki(e),n=Array.from(r.querySelectorAll('[id="'.concat(Fa(t),'"]'))).filter(function(t){return t!==e});return n.length&&this.relatedNodes(n),this.data(t),0===n.length},"duplicate-id-misc-matches":function(e){var t=e.getAttribute("id").trim(),r='*[id="'.concat(Fa(t),'"]'),n=Array.from(ki(e).querySelectorAll(r));return!ph(e)&&n.every(function(e){return!Ju(e)})},"duplicate-img-label-evaluate":function(e,t,r){if(["none","presentation"].includes(Ws(r)))return!1;var n=Eo(r,t.parentSelector);if(!n)return!1;var a=tl(n,!0).toLowerCase();return""!==a&&a===xl(r).toLowerCase()},"exists-evaluate":function(){},"explicit-evaluate":function(e,t,r){var n=this;if(!r.attr("id"))return!1;if(r.actualNode){var a=ki(r.actualNode),o=Fa(r.attr("id")),i=Array.from(a.querySelectorAll('label[for="'.concat(o,'"]')));if(this.relatedNodes(i),!i.length)return!1;try{return i.some(function(e){if(nu(e)){var t=ws(as(e,{inControlContext:!0,startNode:r}));return n.data({explicitLabel:t}),!!t}return!0})}catch(e){return}}},"fallbackrole-evaluate":function(e,t,r){var n=Uf(r.attr("role"));return!(n.length<=1)&&(!function(e,t){return!Vs(e)&&2===t.length&&t.includes("none")&&t.includes("presentation")}(r,n)||void 0)},"focusable-content-evaluate":function(e,t,r){var n=r.tabbableElements;return!!n&&n.filter(function(e){return e!==r}).length>0},"focusable-disabled-evaluate":function(e,t,r){var n=["button","fieldset","input","select","textarea"],a=r.tabbableElements;if(!a||!a.length)return!0;var o=a.filter(function(e){return n.includes(e.props.nodeName)});return this.relatedNodes(o.map(function(e){return e.actualNode})),!(0!==o.length&&!nc())||!!o.every(function(e){var t=e.getComputedStylePropertyValue("pointer-events"),r=parseInt(e.getComputedStylePropertyValue("width")),n=parseInt(e.getComputedStylePropertyValue("height"));return e.actualNode.onfocus||(0===r||0===n)&&"none"===t})&&void 0},"focusable-element-evaluate":function(e,t,r){return!(!r.hasAttr("contenteditable")||!function e(t){var n=t.attr("contenteditable");if("true"===n||""===n)return!0;if("false"===n)return!1;var a=Eo(r.parent,"[contenteditable]");return!!a&&e(a)}(r))||Qu(r)},"focusable-modal-open-evaluate":function(e,t,r){var n=r.tabbableElements.map(function(e){return e.actualNode});return!n||!n.length||!nc()||void this.relatedNodes(n)},"focusable-no-name-evaluate":function(e,t,r){if(!Qu(r))return!1;try{return!xl(r)}catch(e){return}},"focusable-not-tabbable-evaluate":function(e,t,r){var n=["button","fieldset","input","select","textarea"],a=r.tabbableElements;if(!a||!a.length)return!0;var o=a.filter(function(e){return!n.includes(e.props.nodeName)});return this.relatedNodes(o.map(function(e){return e.actualNode})),!(0!==o.length&&!nc())||!!o.every(function(e){var t=e.getComputedStylePropertyValue("pointer-events"),r=parseInt(e.getComputedStylePropertyValue("width")),n=parseInt(e.getComputedStylePropertyValue("height"));return e.actualNode.onfocus||(0===r||0===n)&&"none"===t})&&void 0},"frame-focusable-content-evaluate":function(e,t,r){if(r.children)try{return!r.children.some(function(e){return Sg(e)})}catch(e){return}},"frame-focusable-content-matches":function(e,t,r){var n,a;return!r.initiator&&!r.focusable&&(null===(n=r.size)||void 0===n?void 0:n.width)*(null===(a=r.size)||void 0===a?void 0:a.height)>1},"frame-tested-after":function(e){var t={};return e.filter(function(e){if("html"!==e.node.ancestry[e.node.ancestry.length-1]){var r=e.node.ancestry.flat(1/0).join(" > ");return t[r]=e,!0}var n=e.node.ancestry.slice(0,e.node.ancestry.length-1).flat(1/0).join(" > ");return t[n]&&(t[n].result=!0),!1})},"frame-tested-evaluate":function(e,t){return!t.isViolation&&void 0},"frame-title-has-text-matches":function(e){var t=e.getAttribute("title");return!!ws(t)},"has-alt-evaluate":function(e,t,r){var n=r.props.nodeName;return!!["img","input","area"].includes(n)&&r.hasAttr("alt")},"has-descendant-after":function(e){return e.some(function(e){return!0===e.result})&&e.forEach(function(e){e.result=!0}),e},"has-descendant-evaluate":function(e,t,r){if(!t||!t.selector||"string"!=typeof t.selector)throw new TypeError("has-descendant requires options.selector to be a string");if(t.passForModal&&nc())return!0;var n=nD(r,t.selector,function(e){return Qs(e)});return this.relatedNodes(n.map(function(e){return e.actualNode})),n.length>0},"has-global-aria-attribute-evaluate":function(e,t,r){var n=hs().filter(function(e){return r.hasAttr(e)});return this.data(n),n.length>0},"has-implicit-chromium-role-matches":function(e,t){return null!==Vs(t,{chromium:!0})},"has-lang-evaluate":function(e,t,r){var n=void 0!==s&&Ta(s);return t.attributes.includes("xml:lang")&&t.attributes.includes("lang")&&Ng(r.attr("xml:lang"))&&!Ng(r.attr("lang"))&&!n?(this.data({messageKey:"noXHTML"}),!1):!!t.attributes.some(function(e){return Ng(r.attr(e))})||(this.data({messageKey:"noLang"}),!1)},"has-text-content-evaluate":function(e,t,r){try{return""!==ws(Dl(r))}catch(e){return}},"has-widget-role-evaluate":function(e){var t=e.getAttribute("role");if(null===t)return!1;var r=Jl(t);return"widget"===r||"composite"===r},"heading-matches":function(e,t){return"heading"===Ws(t)},"heading-order-after":function(e){var t=function(e){return(e=$(e)).sort(function(e,t){var r=e.node,n=t.node;return r.ancestry.length-n.ancestry.length}),e.reduce(hg,[]).filter(function(e){return-1!==e.level})}(e);return e.forEach(function(e){e.result=function(e,t){var r,n,a,o,i=gg(t,e.node.ancestry),u=null!==(r=null===(n=t[i])||void 0===n?void 0:n.level)&&void 0!==r?r:-1,s=null!==(a=null===(o=t[i-1])||void 0===o?void 0:o.level)&&void 0!==a?a:-1;return 0===i||(-1!==u?u-s<=1:void 0)}(e,t)}),e},"heading-order-evaluate":function(){var e=eo.get("headingOrder");if(e)return!0;var t=nD(c._tree[0],"h1, h2, h3, h4, h5, h6, [role=heading], iframe, frame",Qs);return e=t.map(function(e){return{ancestry:[Ka(e.actualNode)],level:Dg(e)}}),this.data({headingOrder:e}),eo.set("headingOrder",t),!0},"help-same-as-label-evaluate":function(e,t,r){var n=Ol(r),a=e.getAttribute("title");return!!n&&(a||(a="",e.getAttribute("aria-describedby")&&(a=ns(e,"aria-describedby").map(function(e){return e?as(e):""}).join(""))),ws(a)===ws(n))},"hidden-content-evaluate":function(e,t,r){if(!["SCRIPT","HEAD","TITLE","NOSCRIPT","STYLE","TEMPLATE"].includes(e.nodeName.toUpperCase())&&Hl(r)){var n=i.getComputedStyle(e);if("none"===n.getPropertyValue("display"))return;if("hidden"===n.getPropertyValue("visibility")){var a=Zi(e),o=a&&i.getComputedStyle(a);if(!o||"hidden"!==o.getPropertyValue("visibility"))return}}return!0},"hidden-explicit-label-evaluate":function(e,t,r){if(r.hasAttr("id")){if(!r.actualNode)return;var n=ki(e),a=Fa(e.getAttribute("id")),o=n.querySelector('label[for="'.concat(a,'"]'));if(o&&!Qs(o)){var i;try{i=xl(r).trim()}catch(e){return}return""===i}}return!1},"html-namespace-matches":function(e,t){return!Kg(0,t)},"html5-scope-evaluate":function(e){return!Zl(s)||"TH"===e.nodeName.toUpperCase()},"identical-links-same-purpose-after":function(e){if(e.length<2)return e;for(var t=e.filter(function(e){return void 0!==e.result}),r=[],n={},a=function(e){var a,o=t[e],i=o.data,u=i.name,s=i.urlProps;if(n[u])return 1;var l=t.filter(function(t,r){return t.data.name===u&&r!==e}),c=l.every(function(e){return mg(e.data.urlProps,s)});l.length&&!c&&(o.result=void 0),o.relatedNodes=[],(a=o.relatedNodes).push.apply(a,$(l.map(function(e){return e.relatedNodes[0]}))),n[u]=l,r.push(o)},o=0;o=a)&&("number"!=typeof o||f<=o):void 0},"inserted-into-focus-order-matches":function(e){return Wl(e)},"internal-link-present-evaluate":function(e,t,r){return mD(r,"a[href]").some(function(e){return/^#[^/!]/.test(e.attr("href"))})},"invalid-children-evaluate":function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=[],a=[];if(r.children){for(var o=kg(r.children);o.length;){var i,u=o.shift(),s=u.vChild,l=u.nested;if(t.divGroups&&!l&&Ag(s)){if(!s.children)return;var c=kg(s.children,!0);o.push.apply(o,$(c))}else{var d=xg(s,l,t);d&&(a.includes(d)||a.push(d),1===(null==s||null===(i=s.actualNode)||void 0===i?void 0:i.nodeType)&&n.push(s.actualNode))}}return 0!==a.length&&(this.data({values:a.join(", ")}),this.relatedNodes(n),!0)}},"invalidrole-evaluate":function(e,t,r){var n=Uf(r.attr("role"));return!!n.every(function(e){return!fs(e.toLowerCase(),{allowAbstract:!0})})&&(this.data(n),!0)},"is-element-focusable-evaluate":function(e,t,r){return Ju(r)},"is-initiator-matches":tv,"is-on-screen-evaluate":function(e){return nu(e)},"is-visible-matches":function(e){return nu(e)},"is-visible-on-screen-matches":function(e,t){return nu(t)},"label-content-name-mismatch-evaluate":function(e,t,r){var n,a,o,i,u=null==t?void 0:t.pixelThreshold,s=null!==(n=null==t?void 0:t.occurrenceThreshold)&&void 0!==n?n:null==t?void 0:t.occuranceThreshold,l=as(e).toLowerCase(),c=ws(Dl(r,{subtreeDescendant:!0,ignoreIconLigature:!0,pixelThreshold:u,occurrenceThreshold:s})).toLowerCase();return!c||(Nl(l)<1||Nl(c)<1?void 0:(a=c,o=Bg(l),i=Bg(a),!(!o||!i)&&o.includes(i)))},"label-content-name-mismatch-matches":function(e,t){var r=Ws(e);return!!(r&&nh("widget").includes(r)&&oh().includes(r)&&(ws(is(t))||ws(os(e)))&&ws(tl(t)))},"label-matches":function(e,t){if("input"!==t.props.nodeName||!1===t.hasAttr("type"))return!0;var r=t.attr("type").toLowerCase();return!1===["hidden","image","button","submit","reset"].includes(r)},"landmark-has-body-context-matches":function(e,t){return e.hasAttribute("role")||!Bi(t,"article, aside, main, nav, section")},"landmark-is-top-level-evaluate":function(e){var t=nh("landmark"),r=Zi(e),n=Ws(e);for(this.data({role:n});r;){var a=r.getAttribute("role");if(a||"FORM"===r.nodeName.toUpperCase()||(a=Vs(r)),a&&t.includes(a)&&("main"!==a||"complementary"!==n))return!1;r=Zi(r)}return!0},"landmark-is-unique-after":function(e){var t=[];return e.filter(function(e){var r=t.find(function(t){return e.data.role===t.data.role&&e.data.accessibleText===t.data.accessibleText});return r?(r.result=!1,r.relatedNodes.push(e.relatedNodes[0]),!1):(t.push(e),e.relatedNodes=[],!0)})},"landmark-is-unique-evaluate":function(e,t,r){var n=Ws(e),a=xl(r);return a=a?a.toLowerCase():null,this.data({role:n,accessibleText:a}),this.relatedNodes([e]),!0},"landmark-unique-matches":function(e,t){return function(e){var t=nh("landmark"),r=Ws(e);if(!r)return!1;var n=e.props.nodeName;return"section"===n||"form"===n?!!xl(e):t.indexOf(r)>=0||"region"===r}(t)&&Qs(t)},"layout-table-matches":function(e){return!HD(e)&&!Ju(e)},"link-in-text-block-evaluate":function(e,t){var r=t.requiredContrastRatio,n=t.allowSameColor;if(Ig(e))return!1;for(var a=Zi(e);a&&1===a.nodeType&&!Ig(a);)a=Zi(a);if(a){this.relatedNodes([a]);var o=sg(e),i=sg(a),u=ag(e),s=ag(a),l=o&&i?Mg(o,i):void 0;if(l&&(l=Math.floor(100*l)/100),l&&l>=r)return!0;var c=u&&s?Mg(u,s):void 0;if(c&&(c=Math.floor(100*c)/100),c&&c>=r)return!0;if(!c){var d,p=null!==(d=sc.get("bgColor"))&&void 0!==d?d:"bgContrast";return this.data({messageKey:p}),void sc.clear()}if(l)return!(!n||1!==l||1!==c)||(1===l&&c>1?(this.data({messageKey:"bgContrast",contrastRatio:c,requiredContrastRatio:r,nodeBackgroundColor:u?u.toHexString():void 0,parentBackgroundColor:s?s.toHexString():void 0}),!1):(this.data({messageKey:"fgContrast",contrastRatio:l,requiredContrastRatio:r,nodeColor:o?o.toHexString():void 0,parentColor:i?i.toHexString():void 0}),!1))}},"link-in-text-block-matches":function(e){var t=ws(e.innerText),r=e.getAttribute("role");return(!r||"link"===r)&&!!t&&!!nu(e)&&rc(e)},"link-in-text-block-style-evaluate":function(e){if(_g(e))return!1;for(var t=Zi(e);t&&1===t.nodeType&&!_g(t);)t=Zi(t);if(t){if(this.relatedNodes([t]),_h(e,t))return!0;if(!function(e){for(var t=0,r=["before","after"];tt.maxDelay},"meta-viewport-scale-evaluate":function(e,t,r){var n=t||{},a=n.scaleMinimum,o=void 0===a?2:a,i=n.lowerBound,u=void 0!==i&&i,s=r.attr("content")||"";if(!s)return!0;var l=s.split(/[;,]/).reduce(function(e,t){var r=t.trim();if(!r)return e;var n=G(r.split("="),2),a=n[0],o=n[1];if(!a||!o)return e;var i=a.toLowerCase().trim(),u=o.toLowerCase().trim();return"maximum-scale"===i&&"yes"===u&&(u=1),"maximum-scale"===i&&parseFloat(u)<0||(e[i]=u),e},{});if(u&&l["maximum-scale"]&&parseFloat(l["maximum-scale"])-1&&c<1?(this.data("user-scalable"),!1):!(l["maximum-scale"]&&parseFloat(l["maximum-scale"])1){var o=a.filter(function(e){return Qs(e)});if(o.length>1)return;return!ns(e,"aria-labelledby").includes(o[0])&&void 0}return!1},"nested-interactive-matches":function(e,t){var r=Ws(t);return!!r&&!!ds.ariaRoles[r].childrenPresentational},"no-autoplay-audio-evaluate":function(e,t){var r=e.hasAttribute("controls");if(e.hasAttribute("loop"))return r;if(e.duration){var n=t.allowedDuration,a=void 0===n?3:n;return function(e){if(!e.currentSrc)return 0;var t=function(e){var t=e.match(/#t=(.*)/);if(t)return G(t,2)[1].split(",").map(function(e){return/:/.test(e)?function(e){for(var t=e.split(":"),r=0,n=1;t.length>0;)r+=n*parseInt(t.pop(),10),n*=60;return parseFloat(r)}(e):parseFloat(e)})}(e.currentSrc);return t?1===t.length?Math.abs(e.duration-t[0]):Math.abs(t[1]-t[0]):Math.abs(e.duration-(e.currentTime||0))}(e)<=a||!!r}console.warn("axe.utils.preloadMedia did not load metadata")},"no-autoplay-audio-matches":function(e){return!!e.currentSrc&&!e.hasAttribute("paused")&&!e.hasAttribute("muted")},"no-empty-role-matches":function(e,t){return!!t.hasAttr("role")&&!!t.attr("role").trim()},"no-explicit-name-required-matches":Qg,"no-focusable-content-evaluate":function(e,t,r){if(r.children)try{var n=Tg(r);if(!n.length)return!0;var a=n.filter(Rg);return a.length>0?(this.data({messageKey:"notHidden"}),this.relatedNodes(a)):this.relatedNodes(n),!1}catch(e){return}},"no-implicit-explicit-label-evaluate":function(e,t,r){var n,a,o=Ws(r,{noImplicit:!0});this.data(o);try{n=ws(hl(r)).toLowerCase(),a=ws(xl(r)).toLowerCase()}catch(e){return}return!(!a&&!n)&&!((a||!n)&&a.includes(n))&&void 0},"no-naming-method-matches":function(e,t){var r=zs(t).namingMethods;return!(r&&0!==r.length||"combobox"===ms(t)&&mD(t,'input:not([type="hidden"])').length||fh(t,{popupRoles:["listbox"]}))},"no-negative-tabindex-matches":function(e,t){var r=Jm(t.attr("tabindex"));return null===r||r>=0},"no-role-matches":function(e,t){return!t.attr("role")},"non-empty-if-present-evaluate":function(e,t,r){var n=r.props.nodeName,a=(r.attr("type")||"").toLowerCase(),o=r.attr("value");return o&&this.data({messageKey:"has-label"}),!("input"!==n||!["submit","reset"].includes(a))&&null===o},"not-html-matches":function(e,t){return"html"!==t.props.nodeName},"object-is-loaded-matches":function(e,t){return[Qg,ev].every(function(r){return r(e,t)})},"only-dlitems-evaluate":function(e,t,r){var n=["definition","term","list"],a=r.children.reduce(function(e,t){var r=t.actualNode;return"DIV"===r.nodeName.toUpperCase()&&null===Ws(r)?e.concat(t.children):e.concat(t)},[]).reduce(function(e,t){var r=t.actualNode,a=r.nodeName.toUpperCase();if(1===r.nodeType&&Qs(r)){var o=ms(r);("DT"!==a&&"DD"!==a||o)&&(n.includes(o)||e.badNodes.push(r))}else 3===r.nodeType&&""!==r.nodeValue.trim()&&(e.hasNonEmptyTextNode=!0);return e},{badNodes:[],hasNonEmptyTextNode:!1});return a.badNodes.length&&this.relatedNodes(a.badNodes),!!a.badNodes.length||a.hasNonEmptyTextNode},"only-listitems-evaluate":function(e,t,r){var n=!1,a=!1,o=!0,i=[],u=[],s=[];return r.children.forEach(function(e){var t=e.actualNode;if(3!==t.nodeType||""===t.nodeValue.trim()){if(1===t.nodeType&&Qs(t)){o=!1;var r="LI"===t.nodeName.toUpperCase(),l=Ws(e),c="listitem"===l;r||c||i.push(t),r&&!c&&(u.push(t),s.includes(l)||s.push(l)),c&&(a=!0)}}else n=!0}),n||i.length?(this.relatedNodes(i),!0):!o&&!a&&(this.relatedNodes(u),this.data({messageKey:"roleNotValid",roles:s.join(", ")}),!0)},"p-as-heading-evaluate":function(e,t,r){var n=Array.from(e.parentNode.children),a=n.indexOf(e),o=(t=t||{}).margins||[],i=n.slice(a+1).find(function(e){return"P"===e.nodeName.toUpperCase()}),u=n.slice(0,a).reverse().find(function(e){return"P"===e.nodeName.toUpperCase()}),s=Ah(e),l=i?Ah(i):null,c=u?Ah(u):null,d=t.passLength,p=t.failLength,f=e.textContent.trim().length,m=null==i?void 0:i.textContent.trim().length;if(f>m*d)return!0;if(!l||!kh(s,l,o))return!0;var D=Bi(r,"blockquote");return!!(D&&"BLOCKQUOTE"===D.nodeName.toUpperCase()||c&&!kh(s,c,o)||f>m*p)&&void 0},"p-as-heading-matches":function(e){var t=Array.from(e.parentNode.childNodes),r=e.textContent.trim();return!(0===r.length||(r.match(/[.!?:;](?![.!?:;])/g)||[]).length>=2)&&0!==t.slice(t.indexOf(e)+1).filter(function(e){return"P"===e.nodeName.toUpperCase()&&""!==e.textContent.trim()}).length},"page-no-duplicate-after":function(e){return e.filter(function(e){return"ignored"!==e.data})},"page-no-duplicate-evaluate":function(e,t,r){if(!t||!t.selector||"string"!=typeof t.selector)throw new TypeError("page-no-duplicate requires options.selector to be a string");var n="page-no-duplicate;"+t.selector;if(!eo.get(n)){eo.set(n,!0);var a=nD(c._tree[0],t.selector,function(e){return Qs(e)});return"string"==typeof t.nativeScopeFilter&&(a=a.filter(function(e){return e.actualNode.hasAttribute("role")||!Bi(e,t.nativeScopeFilter)})),"string"==typeof t.role&&(a=a.filter(function(e){return Ws(e)===t.role})),this.relatedNodes(a.filter(function(e){return e!==r}).map(function(e){return e.actualNode})),a.length<=1}this.data("ignored")},"presentation-role-conflict-matches":function(e,t){return null!==Vs(t,{chromiumRoles:!0})},"presentational-role-evaluate":function(e,t,r){var n=ms(r);if(["presentation","none"].includes(n)&&["iframe","frame"].includes(r.props.nodeName)&&r.hasAttr("title"))return this.data({messageKey:"iframe",nodeName:r.props.nodeName}),!1;var a=Ws(r);if(["presentation","none"].includes(a))return this.data({role:a}),!0;if(!["presentation","none"].includes(n))return!1;var o,i=hs().some(function(e){return r.hasAttr(e)}),u=Ju(r);return o=i&&!u?"globalAria":!i&&u?"focusable":"both",this.data({messageKey:o,role:a}),!1},"region-after":function(e){var t=e.filter(function(e){return e.data.isIframe});return e.forEach(function(e){if(!e.result&&1!==e.node.ancestry.length){var r,n=e.node.ancestry.slice(0,-1),a=Q(t);try{for(a.s();!(r=a.n()).done;){var o=r.value;if(Gm(n,o.node.ancestry)){e.result=o.result;break}}}catch(e){a.e(e)}finally{a.f()}}}),t.forEach(function(e){e.result||(e.result=!0)}),e},"region-evaluate":function(e,t,r){return this.data({isIframe:["iframe","frame"].includes(r.props.nodeName)}),!eo.get("regionlessNodes",function(){return function(e){return Ch(c._tree[0],e).map(function(e){for(;e.parent&&!e.parent._hasRegionDescendant&&e.parent.actualNode!==s.body;)e=e.parent;return e}).filter(function(e,t,r){return r.indexOf(e)===t})}(t)}).includes(r)},"same-caption-summary-evaluate":function(e,t,r){if(void 0!==r.children){var n=r.attr("summary"),a=r.children.find(Fh),o=!!a&&ws(Dl(a));return!(!o||!n)&&ws(n).toLowerCase()===ws(o).toLowerCase()}},"scope-value-evaluate":function(e,t){var r=e.getAttribute("scope").toLowerCase();return-1!==t.values.indexOf(r)},"scrollable-region-focusable-matches":function(e,t){return void 0!==Nm(e,13)&&!1===fh(t)&&mD(t,"*").some(function(e){return Hl(e,!0,!0)})},"skip-link-evaluate":function(e){var t=Hu(e,"href");return!!t&&(Qs(t)||void 0)},"skip-link-matches":function(e){return kf(e)&&tu(e)},"structured-dlitems-evaluate":function(e,t,r){var n=r.children;if(!n||!n.length)return!1;for(var a,o=!1,i=!1,u=0;u=n||(i=Math.min(i,l),o.push(s)))}}}catch(e){u.e(e)}finally{u.f()}return 0===o.length?(this.data({closestOffset:i,minOffset:n}),!0):(this.relatedNodes(o.map(function(e){return e.actualNode})),o.some(Qu)?(this.data({closestOffset:i,minOffset:n}),!Qu(r)&&void 0):void this.data({messageKey:"nonTabbableNeighbor",closestOffset:i,minOffset:n}))},"target-size-evaluate":function(e,t,r){var n=(null==t?void 0:t.minSize)||24,a=r.boundingClientRect;if(du(10*n,a))return this.data({messageKey:"large",minSize:n}),!0;var o=du.bind(null,n),i=Ou(r),u=function(e,t){return t.filter(function(t){return!bg(t,e)&&wg(e,t)})}(r,i),s=function(e,t){var r,n=[],a=[],o=Q(t);try{for(o.s();!(r=o.n()).done;){var i=r.value;!wg(e,i)&&Du(e,i)&&"none"!==yg(i)&&(bg(e,i)?n.push(i):a.push(i))}}catch(e){o.e(e)}finally{o.f()}return{fullyObscuringElms:n,partialObscuringElms:a}}(r,i),l=s.fullyObscuringElms,c=s.partialObscuringElms;if(u.length&&(l.length||!o(a)))return this.data({minSize:n,messageKey:"contentOverflow"}),void this.relatedNodes(Eg(u));if(l.length)return this.relatedNodes(Eg(l)),this.data({messageKey:"obscured"}),!0;var d=!Qu(r)&&void 0;if(!o(a))return this.data(U({minSize:n},Fg(a))),d;var p=c.filter(function(e){return"widget"===Jl(e)&&Ju(e)});if(!p.length)return this.data(U({minSize:n},Fg(a))),!0;var f=function(e,t){var r,n=e.boundingClientRect,a=t.map(function(e){return e.boundingClientRect});try{r=hu(n,a)}catch(e){return null}return function(e,t){return e.reduce(function(e,r){var n=du(t,e);return n!==du(t,r)?n?e:r:e.width*e.height>r.width*r.height?e:r})}(r)}(r,p);if(f){if(!o(f)){if(u.length)return this.data({minSize:n,messageKey:"contentOverflow"}),void this.relatedNodes(Eg(u));var m=p.every(Qu),D="partiallyObscured".concat(m?"":"NonTabbable");return this.data(U({messageKey:D,minSize:n},Fg(f))),this.relatedNodes(Eg(p)),m?d:void 0}return this.data(U({minSize:n},Fg(f||a))),this.relatedNodes(Eg(p)),!0}this.data({minSize:n,messageKey:"tooManyRects"})},"td-has-header-evaluate":function(e){var t=[],r=qD(e),n=gs(e);return r.forEach(function(e){Ul(e)&&$D(e)&&!Dh(e)&&(VD(e,n).some(function(e){return null!==e&&!!Ul(e)})||t.push(e))}),!t.length||(this.relatedNodes(t),!1)},"td-headers-attr-evaluate":function(e){for(var t=[],r=[],n=[],a=0;a0?(this.relatedNodes(n),!1):!r.length||void this.relatedNodes(r)},"th-has-data-cells-evaluate":function(e){var t=qD(e),r=this,n=[];t.forEach(function(e){var t=e.getAttribute("headers");t&&(n=n.concat(t.split(/\s+/)));var r=e.getAttribute("aria-labelledby");r&&(n=n.concat(r.split(/\s+/)))});var a=t.filter(function(e){return""!==ws(e.textContent)&&("TH"===e.nodeName.toUpperCase()||-1!==["rowheader","columnheader"].indexOf(e.getAttribute("role")))}),o=gs(e),i=!0;return a.forEach(function(e){if(!e.getAttribute("id")||!n.includes(e.getAttribute("id"))){var t=vs(e,o),a=!1;ys(e)&&(a=WD("down",t,o).find(function(t){return!ys(t)&&VD(t,o).includes(e)})),!a&&Fs(e)&&(a=WD("right",t,o).find(function(t){return!Fs(t)&&VD(t,o).includes(e)})),a||r.relatedNodes(e),i=i&&a}}),!!i||void 0},"title-only-evaluate":function(e,t,r){var n=Ol(r),a=Ks(r),o=r.attr("aria-describedby");return!(n||!a&&!o)},"unique-frame-title-after":function(e){var t={};return e.forEach(function(e){t[e.data]=void 0!==t[e.data]?++t[e.data]:0}),e.forEach(function(e){e.result=!!t[e.data]}),e},"unique-frame-title-evaluate":function(e,t,r){var n=ws(r.attr("title")).toLowerCase();return this.data(n),!0},"unsupportedrole-evaluate":function(e,t,r){var n=Ws(r,{dpub:!0,fallback:!0}),a=ps(n);return a&&this.data(n),a},"valid-lang-evaluate":function(e,t,r){var n=[];return t.attributes.forEach(function(e){var a=r.attr(e);if("string"==typeof a){var o=tm(a),i=t.value?!t.value.map(tm).includes(o):!BD(o);(""!==o&&i||""!==a&&!ws(a))&&n.push(e+'="'+r.attr(e)+'"')}}),!(!n.length||"html"!==r.props.nodeName&&!Gl(r)||(this.data(n),0))},"valid-scrollable-semantics-evaluate":function(e,t){return function(e,t){var r=ms(e);return r&&(zg[r]||t.roles.includes(r))||!1}(e,t)||function(e){var t=e.nodeName.toUpperCase();return qg[t]||!1}(e)},"widget-not-inline-matches":function(e,t){return Xg.every(function(r){return r(e,t)})},"window-is-top-matches":function(e){return e.ownerDocument.defaultView.self===e.ownerDocument.defaultView.top},"xml-lang-mismatch-evaluate":function(e,t,r){return tm(r.attr("lang"))===tm(r.attr("xml:lang"))},"xml-lang-mismatch-matches":function(e){var t=tm(e.getAttribute("lang")),r=tm(e.getAttribute("xml:lang"));return BD(t)&&BD(r)}},ov=av,iv=function(e){this.id=e.id,this.data=null,this.relatedNodes=[],this.result=null};function uv(e){if("string"==typeof e){if(ov[e])return ov[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 sv(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(Array.isArray(e)||"object"!==l(e))&&(e={value:e}),e}function lv(e){e&&(this.id=e.id,this.configure(e))}lv.prototype.enabled=!0,lv.prototype.run=function(e,t,r,n,a){var o=(t=t||{}).hasOwnProperty("enabled")?t.enabled:this.enabled,i=this.getOptions(t.options);if(o){var u,s=new iv(this),l=oo(s,t,n,a);try{u=this.evaluate.call(l,e.actualNode,i,e,r)}catch(t){return e&&e.actualNode&&(t.errorNode=mi.toSpec(e)),void a(t)}l.isAsync||(s.result=u,n(s))}else n(null)},lv.prototype.runSync=function(e,t,r){var n=(t=t||{}).enabled;if(!(void 0===n?this.enabled:n))return null;var a,o=this.getOptions(t.options),i=new iv(this),u=oo(i,t);u.async=function(){throw new Error("Cannot run async check while in a synchronous run")};try{a=this.evaluate.call(u,e.actualNode,o,e,r)}catch(t){throw e&&e.actualNode&&(t.errorNode=mi.toSpec(e)),t}return i.result=a,i},lv.prototype.configure=function(e){var t=this;e.evaluate&&!ov[e.evaluate]||(this._internalCheck=!0),e.hasOwnProperty("enabled")&&(this.enabled=e.enabled),e.hasOwnProperty("options")&&(this._internalCheck?this.options=sv(e.options):this.options=e.options),["evaluate","after"].filter(function(t){return e.hasOwnProperty(t)}).forEach(function(r){return t[r]=uv(e[r])})},lv.prototype.getOptions=function(e){return this._internalCheck?Fi(this.options,sv(e||{})):e||this.options};var cv=lv,dv=function(e){this.id=e.id,this.result=ra.NA,this.pageLevel=e.pageLevel,this.impact=null,this.nodes=[]};function pv(e,t){this._audit=t,this.id=e.id,this.selector=e.selector||"*",e.impact&&(ba(ra.impact.includes(e.impact),"Impact ".concat(e.impact," is not a valid impact")),this.impact=e.impact),this.excludeHidden="boolean"!=typeof e.excludeHidden||e.excludeHidden,this.enabled="boolean"!=typeof e.enabled||e.enabled,this.pageLevel="boolean"==typeof e.pageLevel&&e.pageLevel,this.reviewOnFail="boolean"==typeof e.reviewOnFail&&e.reviewOnFail,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=uv(e.matches))}function fv(e){if(e.length){var t=!1,r={};return e.forEach(function(e){var n=e.results.filter(function(e){return e});r[e.type]=n,n.length&&(t=!0)}),t?r:null}}pv.prototype.matches=function(){return!0},pv.prototype.gather=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r="mark_gather_start_"+this.id,n="mark_gather_end_"+this.id,a="mark_isVisibleToScreenReaders_start_"+this.id,o="mark_isVisibleToScreenReaders_end_"+this.id;t.performanceTimer&&Qm.mark(r);var i=bD(this.selector,e);return this.excludeHidden&&(t.performanceTimer&&Qm.mark(a),i=i.filter(function(e){return Qs(e)}),t.performanceTimer&&(Qm.mark(o),Qm.measure("rule_"+this.id+"#gather_axe.utils.isVisibleToScreenReaders",a,o))),t.performanceTimer&&(Qm.mark(n),Qm.measure("rule_"+this.id+"#gather",r,n)),i},pv.prototype.runChecks=function(e,t,r,n,a,o){var i=this,u=No();this[e].forEach(function(e){var a=i._audit.checks[e.id||e],o=dm(a,i.id,r);u.defer(function(e,r){a.run(t,o,n,e,r)})}),u.then(function(t){t=t.filter(function(e){return e}),a({type:e,results:t})}).catch(o)},pv.prototype.runChecksSync=function(e,t,r,n){var a=this,o=[];return this[e].forEach(function(e){var i=a._audit.checks[e.id||e],u=dm(i,a.id,r);o.push(i.runSync(t,u,n))}),{type:e,results:o=o.filter(function(e){return e})}},pv.prototype.run=function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,a=arguments.length>3?arguments[3]:void 0;r.performanceTimer&&this._trackPerformance();var o,i=No(),u=new dv(this);try{o=this.gatherAndMatchNodes(e,r)}catch(e){return void a(new d({cause:e,ruleId:this.id}))}r.performanceTimer&&this._logGatherPerformance(o),o.forEach(function(n){i.defer(function(a,o){var i=No();["any","all","none"].forEach(function(a){i.defer(function(o,i){t.runChecks(a,n,r,e,o,i)})}),i.then(function(e){var r=fv(e);r&&(r.node=new ao(n),u.nodes.push(r),t.reviewOnFail&&(["any","all"].forEach(function(e){r[e].forEach(function(e){!1===e.result&&(e.result=void 0)})}),r.none.forEach(function(e){!0===e.result&&(e.result=void 0)}))),a()}).catch(function(e){return o(e)})})}),i.then(function(){r.performanceTimer&&t._logRulePerformance(),setTimeout(function(){n(u)},0)}).catch(function(e){r.performanceTimer&&t._logRulePerformance(),a(e)})},pv.prototype.runSync=function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};r.performanceTimer&&this._trackPerformance();var n,a=new dv(this);try{n=this.gatherAndMatchNodes(e,r)}catch(e){throw new d({cause:e,ruleId:this.id})}return r.performanceTimer&&this._logGatherPerformance(n),n.forEach(function(n){var o=[];["any","all","none"].forEach(function(a){o.push(t.runChecksSync(a,n,r,e))});var i=fv(o);i&&(i.node=n.actualNode?new ao(n):null,a.nodes.push(i),t.reviewOnFail&&(["any","all"].forEach(function(e){i[e].forEach(function(e){!1===e.result&&(e.result=void 0)})}),i.none.forEach(function(e){!0===e.result&&(e.result=void 0)})))}),r.performanceTimer&&this._logRulePerformance(),a},pv.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},pv.prototype._logGatherPerformance=function(e){na("gather (",e.length,"):",Qm.timeElapsed()+"ms"),Qm.mark(this._markChecksStart)},pv.prototype._logRulePerformance=function(){Qm.mark(this._markChecksEnd),Qm.mark(this._markEnd),Qm.measure("runchecks_"+this.id,this._markChecksStart,this._markChecksEnd),Qm.measure("rule_"+this.id,this._markStart,this._markEnd)},pv.prototype.gatherAndMatchNodes=function(e,t){var r=this,n="mark_matches_start_"+this.id,a="mark_matches_end_"+this.id,o=this.gather(e,t);return t.performanceTimer&&Qm.mark(n),o=o.filter(function(t){return r.matches(t.actualNode,t,e)}),t.performanceTimer&&(Qm.mark(a),Qm.measure("rule_"+this.id+"#matches",n,a)),o},pv.prototype.after=function(e,t){var r,n=this,a=Di(r=this).map(function(e){var t=r._audit.checks[e.id||e];return t&&"function"==typeof t.after?t:null}).filter(Boolean),o=this.id;return a.forEach(function(r){var a,i,u,s=(a=e.nodes,i=r.id,u=[],a.forEach(function(e){Di(e).forEach(function(t){t.id===i&&(t.node=e.node,u.push(t))})}),u),l=dm(r,o,t),c=r.after(s,l.options);n.reviewOnFail&&c.forEach(function(e){var t=(n.any.includes(e.id)||n.all.includes(e.id))&&!1===e.result,r=n.none.includes(e.id)&&!0===e.result;(t||r)&&(e.result=void 0)}),s.forEach(function(e){delete e.node,-1===c.indexOf(e)&&(e.filtered=!0)})}),e.nodes=function(e){var t=["any","all","none"],r=e.nodes.filter(function(e){var r=0;return t.forEach(function(t){e[t]=e[t].filter(function(e){return!0!==e.filtered}),r+=e[t].length}),r>0});return e.pageLevel&&r.length&&(r=[r.reduce(function(e,r){if(e)return t.forEach(function(t){e[t].push.apply(e[t],r[t])}),e})]),r}(e),e},pv.prototype.configure=function(e){e.hasOwnProperty("selector")&&(this.selector=e.selector),e.hasOwnProperty("excludeHidden")&&(this.excludeHidden="boolean"!=typeof e.excludeHidden||e.excludeHidden),e.hasOwnProperty("enabled")&&(this.enabled="boolean"!=typeof e.enabled||e.enabled),e.hasOwnProperty("pageLevel")&&(this.pageLevel="boolean"==typeof e.pageLevel&&e.pageLevel),e.hasOwnProperty("reviewOnFail")&&(this.reviewOnFail="boolean"==typeof e.reviewOnFail&&e.reviewOnFail),e.hasOwnProperty("any")&&(this.any=e.any),e.hasOwnProperty("all")&&(this.all=e.all),e.hasOwnProperty("none")&&(this.none=e.none),e.hasOwnProperty("tags")&&(this.tags=e.tags),e.hasOwnProperty("actIds")&&(this.actIds=e.actIds),e.hasOwnProperty("matches")&&(this.matches=uv(e.matches)),e.impact&&(ba(ra.impact.includes(e.impact),"Impact ".concat(e.impact," is not a valid impact")),this.impact=e.impact)};var mv=me(ea()),Dv=/\{\{.+?\}\}/g,hv=Z(function e(t){K(this,e),this.lang="en",this.defaultConfig=t,this.standards=ds,this._init(),this._defaultLocale=null},[{key:"_setDefaultLocale",value:function(){if(!this._defaultLocale){for(var e={checks:{},rules:{},failureSummaries:{},incompleteFallbackMessage:"",lang:this.lang},t=Object.keys(this.data.checks),r=0;r0&&void 0!==arguments[0]?arguments[0]:null,r=(c.version.match(/^[1-9][0-9]*\.[0-9]+/)||["x.y"])[0];this.rules.forEach(function(n){e.data.rules[n.id]||(e.data.rules[n.id]={});var a=e.data.rules[n.id];("string"!=typeof a.helpUrl||t&&a.helpUrl===xv(t,n.id,r))&&(a.helpUrl=xv(e,n.id,r))})}},{key:"resetRulesAndChecks",value:function(){this._init(),this._resetLocale()}}]),gv=hv;function vv(){return i.origin&&"null"!==i.origin?i.origin:i.location&&i.location.origin&&"null"!==i.location.origin?i.location.origin:void 0}function bv(e,t,r){var n,a;for(n=0,a=e.length;n2&&void 0!==arguments[2]?arguments[2]:{};r.reporter=r.reporter||c._audit.reporter||"v1",c._selectorData={},t instanceof oa||(t=new _D(t));var n=Am(e);if(!n)throw new Error("unknown rule `"+e+"`");var a={initiator:!0,include:[t],exclude:[],frames:[],page:!1,focusable:!0,size:{},flatTree:[]},o=(n=Object.create(n,{excludeHidden:{value:!1}})).runSync(a,r);pD(o),ma(o);var i=ga([o]);return i.violations.forEach(function(e){return e.nodes.forEach(function(e){e.failureSummary=rm(e)})}),U({},pm(),i,{toolOptions:r})},c.run=function(){for(var e=arguments.length,t=new Array(e),r=0;r1&&void 0!==arguments[1]?arguments[1]:{};a=io(a);var o=(e.find(function(e){return e.environmentData})||{}).environmentData;c._audit.normalizeOptions(a),a.reporter=null!==(t=null!==(r=a.reporter)&&void 0!==r?r:null===(n=c._audit)||void 0===n?void 0:n.reporter)&&void 0!==t?t:"v1",function(e){var t,r=[],n=Q(e);try{for(n.s();!(t=n.n()).done;){var a=t.value,o=r.shift();if(a){a.frameSpec=null!=o?o:null;var i=Sv(a);r.unshift.apply(r,$(i))}}}catch(e){n.e(e)}finally{n.f()}}(e);var i=vi(e);return(i=c._audit.after(i,a)).forEach(pD),function(e,t){return new Promise(function(r,n){LD(t.reporter)(e,t,r,n)})}(i=i.map(ma),U({environmentData:o},a))},c.commons=Th,c.utils=ia,c.addReporter("na",function(e,t,r){console.warn('"na" reporter will be deprecated in axe v4.0. Use the "v2" reporter instead.'),"function"==typeof t&&(r=t,t={});var n=t,a=n.environmentData,o=V(n,A);r(U({},pm(a),{toolOptions:o},om(e,t)))}),c.addReporter("no-passes",function(e,t,r){"function"==typeof t&&(r=t,t={});var n=t,a=n.environmentData,o=V(n,k);t.resultTypes=["violations"];var i=om(e,t).violations;r(U({},pm(a),{toolOptions:o,violations:i}))}),c.addReporter("rawEnv",function(e,t,r){"function"==typeof t&&(r=t,t={});var n=t,a=n.environmentData,o=V(n,N);Ov(e,o,function(e){var t=pm(a);r({raw:e,env:t})})}),c.addReporter("raw",Ov),c.addReporter("v1",function(e,t,r){"function"==typeof t&&(r=t,t={});var n=t,a=n.environmentData,o=V(n,B),i=om(e,t),u=function(e){e.nodes.forEach(function(e){e.failureSummary=rm(e)})};i.incomplete.forEach(u),i.violations.forEach(u),r(U({},pm(a),{toolOptions:o},i))}),c.addReporter("v2",function(e,t,r){"function"==typeof t&&(r=t,t={});var n=t,a=n.environmentData,o=V(n,T),i=om(e,t);r(U({},pm(a),{toolOptions:o},i))},!0)}(),c._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 elements of image maps have alternative text",help:"Active 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